@citygross/components 0.15.2 → 0.15.4

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.
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
+ import type { TSideModalTab } from './SideModal.types';
2
3
  export declare type TSideModal = {
3
4
  background?: string;
4
5
  children?: React.ReactNode;
6
+ id?: TSideModalTab;
5
7
  isVisible?: boolean;
6
8
  maxHeight?: string;
7
9
  maxWidth?: string;
@@ -0,0 +1,10 @@
1
+ declare const SideModalTabs: {
2
+ readonly Cart: "cart";
3
+ readonly Filters: "filters";
4
+ readonly Login: "login";
5
+ readonly Menu: "menu";
6
+ readonly Register: "register";
7
+ readonly StoreSelector: "store-selector";
8
+ };
9
+ export declare type TSideModalTab = (typeof SideModalTabs)[keyof typeof SideModalTabs];
10
+ export {};
@@ -78,6 +78,7 @@ export * from './components/SearchSuggestionChip/SearchSuggestionChip';
78
78
  export * from './components/SelectButton/SelectButton';
79
79
  export * from './components/SkipTo/SkipTo';
80
80
  export * from './components/SideModal/SideModal';
81
+ export * from './components/SideModal/SideModal.types';
81
82
  export * from './components/SlideInOutContainer/SlideInOutContainer';
82
83
  export * from './components/Slider/Slider';
83
84
  export * from './components/Spacer/Spacer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citygross/components",
3
- "version": "0.15.2",
3
+ "version": "0.15.4",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "./build/cjs/components/src/index.js",
@@ -75,5 +75,5 @@
75
75
  "react-slick": "^0.30.1",
76
76
  "slick-carousel": "^1.8.1"
77
77
  },
78
- "gitHead": "fa7204318cd9fd20e99856bbbb042e2cb4c78a07"
78
+ "gitHead": "b68c8f066f7fecbd12ecd268959c3ef40b38e155"
79
79
  }