@scbt-ecom/ui 0.170.1 → 0.170.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/widgets/seoHeader/SeoHeader.js +1 -1
- package/dist/lib/widgets/seoHeader/SeoHeader.js.map +1 -1
- package/dist/lib/widgets/seoHeader/hooks/useCategoryReducer/types.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoryTabs.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoryTabs.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/Menu.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/Menu.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/MenuItem.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/MenuItem.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/lib/widgets/seoHeader/hooks/useCategoryReducer/types.d.ts +2 -2
- package/dist/types/lib/widgets/seoHeader/model/types.d.ts +1 -1
- package/dist/types/lib/widgets/seoHeader/ui/desktop/CategoryTabs.d.ts +1 -1
- package/dist/types/lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.d.ts +2 -2
- package/dist/types/lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.d.ts +1 -1
- package/dist/types/lib/widgets/seoHeader/ui/mobile/menu/Menu.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ export declare enum CategoryActionType {
|
|
|
4
4
|
CURRENT = "current"
|
|
5
5
|
}
|
|
6
6
|
export type CategoryStore = {
|
|
7
|
-
root: Category;
|
|
8
|
-
current: Category;
|
|
7
|
+
root: Category | undefined;
|
|
8
|
+
current: Category | undefined;
|
|
9
9
|
};
|
|
10
10
|
export type CategoryAction = {
|
|
11
11
|
type: CategoryActionType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Category } from '../../model';
|
|
2
2
|
type CategoryTabsProps = {
|
|
3
|
-
categories: Category[];
|
|
3
|
+
categories: Category[] | undefined;
|
|
4
4
|
};
|
|
5
5
|
declare const InnerComponent: ({ categories }: CategoryTabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare const CategoryTabs: typeof InnerComponent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Category } from '../../../model';
|
|
2
|
-
type RootTabProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
2
|
+
type RootTabProps = React.HTMLAttributes<HTMLDivElement | HTMLAnchorElement> & {
|
|
3
3
|
category: Category;
|
|
4
|
-
selectedCategory: Category;
|
|
4
|
+
selectedCategory: Category | undefined;
|
|
5
5
|
onCurrentCategoryChange: (category: Category) => void;
|
|
6
6
|
onRootCategoryChange: (category: Category) => void;
|
|
7
7
|
active: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { motion } from 'framer-motion';
|
|
2
2
|
import { Category } from '../../../../../model';
|
|
3
3
|
type TabContentProps = React.ComponentProps<typeof motion.div> & {
|
|
4
|
-
categories: Category[];
|
|
4
|
+
categories: Category[] | undefined;
|
|
5
5
|
};
|
|
6
6
|
export declare const TabContent: ({ categories, ...props }: TabContentProps) => import('react').ReactPortal;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { motion } from 'framer-motion';
|
|
2
2
|
import { Category, SeoHeaderHelpers } from '../../../model';
|
|
3
3
|
export type MenuProps = React.ComponentProps<typeof motion.div> & {
|
|
4
|
-
categories: Category[];
|
|
4
|
+
categories: Category[] | undefined;
|
|
5
5
|
helpers: SeoHeaderHelpers[];
|
|
6
6
|
phone: string;
|
|
7
7
|
};
|