Skip to content

Commit

Permalink
rename hooks and update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Assem-Hafez committed Apr 6, 2024
1 parent 88cdd04 commit 4955a53
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/useStyletronClasses";
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/use-styletron-classes";

const cssStylesObj = {
spinnerContainer: (theme) => ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client";
import useStyletronClasses from "@/hooks/useStyletronClasses";
import useStyletronClasses from "@/hooks/use-styletron-classes";
import { Spinner, SIZE, type SpinnerProps } from "baseui/spinner";
import { cssStyles } from "./section-loading-indicator.styles";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/useStyletronClasses";
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/use-styletron-classes";
import { Theme } from "baseui";
import type { FormControlOverrides } from "baseui/form-control/types";
import type { InputOverrides } from "baseui/input/types";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { FormControl } from 'baseui/form-control';
import domainPageQueryParamsConfig from "../domains-page-query-params";
import usePageQueryParams from "@/hooks/use-page-query-params/use-page-query-params";
import { Delete, Filter, Search, } from "baseui/icon";
import useStyletronClasses from "@/hooks/useStyletronClasses";
import useStyletronClasses from "@/hooks/use-styletron-classes";
import { cssStyles, overrides } from "./domains-page-filters.styles";
import { Button } from "baseui/button";
import { useMemo, useState } from "react";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/useStyletronClasses";
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/use-styletron-classes";

const cssStylesObj = {
titleContainer: (theme) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { LabelLarge } from 'baseui/typography';
import { Cell, Grid } from "baseui/layout-grid";

import useStyletronClasses from "@/hooks/useStyletronClasses";
import useStyletronClasses from "@/hooks/use-styletron-classes";
import { cssStyles } from "./domains-page-title.styles";
import { ReactNode } from 'react';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/useStyletronClasses";
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/use-styletron-classes";

const cssStylesObj = {
clustersLinks: (theme) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';
import type { DomainData, SortingOrder } from '@/containers/domains-page/domains-page.types';
import TableLink from '@/containers/domains-page/domains-table-link/domains-table-link';

import useStyletronClasses from '@/hooks/useStyletronClasses';
import useStyletronClasses from '@/hooks/use-styletron-classes';
import { cssStyles } from './domains-table-cluster-cell.styles';


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/useStyletronClasses";
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/use-styletron-classes";

const cssStylesObj = {
domainNameCell: (theme) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import cadenceIcon from '@/assets/cadence-logo.svg';
import type { DomainData } from '@/containers/domains-page/domains-page.types';
import TableLink from '@/containers/domains-page/domains-table-link/domains-table-link';

import useStyletronClasses from '@/hooks/useStyletronClasses';
import useStyletronClasses from '@/hooks/use-styletron-classes';
import { cssStyles } from './domains-table-domain-name-cell.styles';


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/useStyletronClasses";
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/use-styletron-classes";

const cssStylesObj = {
tableContainer: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Cell, Grid } from 'baseui/layout-grid';
import Table from '@/layout/table';
import usePageQueryParams from '@/hooks/use-page-query-params/use-page-query-params';
import sortBy, { SortByReturnValue, toggleSortOrder } from '@/utils/sort-by';
import useStyletronClasses from '@/hooks/useStyletronClasses';
import useStyletronClasses from '@/hooks/use-styletron-classes';
import DomainTableEndMessage from '@/containers/domains-page/domains-table-end-message/domains-table-end-message';
import domainPageQueryParamsConfig from '../domains-page-query-params';

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/layout/app-nav-bar/app-nav-bar.styles.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/useStyletronClasses";
import type { StyletronCSSObject, StyletronCSSObjectOf } from "@/hooks/use-styletron-classes";

const cssStylesObj = {
titleIcon: {
Expand Down
2 changes: 1 addition & 1 deletion src/layout/app-nav-bar/app-nav-bar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client"
import useStyletronClasses from '@/hooks/useStyletronClasses';
import useStyletronClasses from '@/hooks/use-styletron-classes';
import { AppNavBar as BaseAppNavBar } from 'baseui/app-nav-bar';
import { cssStyles } from './app-nav-bar.styles';

Expand Down

0 comments on commit 4955a53

Please sign in to comment.