@smg-automotive/components 25.10.0-gallery-header-v3-migrate.1 → 25.10.0-migrate-discrete-slider.1

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.
Files changed (57) hide show
  1. package/dist/cjs/components/discreteSlider/index.d.ts +14 -0
  2. package/dist/cjs/components/discreteSlider/index.d.ts.map +1 -0
  3. package/dist/cjs/components/index.d.ts +2 -1
  4. package/dist/cjs/components/index.d.ts.map +1 -1
  5. package/dist/cjs/components/menu/index.d.ts +21 -0
  6. package/dist/cjs/components/menu/index.d.ts.map +1 -0
  7. package/dist/cjs/index.js +180 -82
  8. package/dist/cjs/index.js.map +1 -1
  9. package/dist/cjs/themes/shared/index.d.ts +2 -1
  10. package/dist/cjs/themes/shared/index.d.ts.map +1 -1
  11. package/dist/cjs/themes/shared/slotRecipes/index.d.ts +2 -1
  12. package/dist/cjs/themes/shared/slotRecipes/index.d.ts.map +1 -1
  13. package/dist/cjs/themes/shared/slotRecipes/menu.d.ts +2 -0
  14. package/dist/cjs/themes/shared/slotRecipes/menu.d.ts.map +1 -0
  15. package/dist/cjs/themes/shared/slotRecipes/slider.d.ts +2 -0
  16. package/dist/cjs/themes/shared/slotRecipes/slider.d.ts.map +1 -0
  17. package/dist/esm/components/discreteSlider/index.d.ts +14 -0
  18. package/dist/esm/components/discreteSlider/index.d.ts.map +1 -0
  19. package/dist/esm/components/discreteSlider/index.js +46 -0
  20. package/dist/esm/components/discreteSlider/index.js.map +1 -0
  21. package/dist/esm/components/index.d.ts +2 -1
  22. package/dist/esm/components/index.d.ts.map +1 -1
  23. package/dist/esm/components/menu/index.d.ts +21 -0
  24. package/dist/esm/components/menu/index.d.ts.map +1 -0
  25. package/dist/esm/components/{galleryHeader → menu}/index.js +23 -30
  26. package/dist/esm/components/menu/index.js.map +1 -0
  27. package/dist/esm/components/themeProvider/index.js +2 -1
  28. package/dist/esm/components/themeProvider/index.js.map +1 -1
  29. package/dist/esm/index.js +4 -2
  30. package/dist/esm/index.js.map +1 -1
  31. package/dist/esm/themes/shared/index.d.ts +2 -1
  32. package/dist/esm/themes/shared/index.d.ts.map +1 -1
  33. package/dist/esm/themes/shared/slotRecipes/index.d.ts +2 -1
  34. package/dist/esm/themes/shared/slotRecipes/index.d.ts.map +1 -1
  35. package/dist/esm/themes/shared/slotRecipes/index.js +4 -2
  36. package/dist/esm/themes/shared/slotRecipes/index.js.map +1 -1
  37. package/dist/esm/themes/shared/slotRecipes/menu.d.ts +2 -0
  38. package/dist/esm/themes/shared/slotRecipes/menu.d.ts.map +1 -0
  39. package/dist/esm/themes/shared/slotRecipes/menu.js +64 -0
  40. package/dist/esm/themes/shared/slotRecipes/menu.js.map +1 -0
  41. package/dist/esm/themes/shared/slotRecipes/slider.d.ts +2 -0
  42. package/dist/esm/themes/shared/slotRecipes/slider.d.ts.map +1 -0
  43. package/dist/esm/themes/shared/slotRecipes/slider.js +54 -0
  44. package/dist/esm/themes/shared/slotRecipes/slider.js.map +1 -0
  45. package/dist/index.d.ts +41 -18
  46. package/package.json +1 -1
  47. package/dist/cjs/components/galleryHeader/index.d.ts +0 -10
  48. package/dist/cjs/components/galleryHeader/index.d.ts.map +0 -1
  49. package/dist/cjs/themes/shared/slotRecipes/galleryHeader.d.ts +0 -2
  50. package/dist/cjs/themes/shared/slotRecipes/galleryHeader.d.ts.map +0 -1
  51. package/dist/esm/components/galleryHeader/index.d.ts +0 -10
  52. package/dist/esm/components/galleryHeader/index.d.ts.map +0 -1
  53. package/dist/esm/components/galleryHeader/index.js.map +0 -1
  54. package/dist/esm/themes/shared/slotRecipes/galleryHeader.d.ts +0 -2
  55. package/dist/esm/themes/shared/slotRecipes/galleryHeader.d.ts.map +0 -1
  56. package/dist/esm/themes/shared/slotRecipes/galleryHeader.js +0 -54
  57. package/dist/esm/themes/shared/slotRecipes/galleryHeader.js.map +0 -1
@@ -306,7 +306,6 @@ export declare const getSharedConfig: () => {
306
306
  };
307
307
  };
308
308
  }>;
309
- galleryHeader: import("@chakra-ui/react").SlotRecipeDefinition<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer", import("@chakra-ui/react").SlotRecipeVariantRecord<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer">>;
310
309
  list: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "item" | "itemLabel" | "itemValue", {
311
310
  size: {
312
311
  md: {
@@ -1917,7 +1916,9 @@ export declare const getSharedConfig: () => {
1917
1916
  };
1918
1917
  };
1919
1918
  }>;
1919
+ slider: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "control" | "thumb" | "track" | "range" | "markerGroup", import("@chakra-ui/react").SlotRecipeVariantRecord<"root" | "control" | "thumb" | "track" | "range" | "markerGroup">>;
1920
1920
  pagination: import("@chakra-ui/react").SlotRecipeDefinition<"paginationContainer" | "paginationButton" | "dots", import("@chakra-ui/react").SlotRecipeVariantRecord<"paginationContainer" | "paginationButton" | "dots">>;
1921
+ menu: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "item", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "item">>;
1921
1922
  };
1922
1923
  tokens: {
1923
1924
  zIndex: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/shared/index.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;CA6B1B,CAAC;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -107,7 +107,6 @@ export declare const slotRecipes: {
107
107
  };
108
108
  };
109
109
  }>;
110
- galleryHeader: import("@chakra-ui/react").SlotRecipeDefinition<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer", import("@chakra-ui/react").SlotRecipeVariantRecord<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer">>;
111
110
  list: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "item" | "itemLabel" | "itemValue", {
112
111
  size: {
113
112
  md: {
@@ -1718,6 +1717,8 @@ export declare const slotRecipes: {
1718
1717
  };
1719
1718
  };
1720
1719
  }>;
1720
+ slider: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "control" | "thumb" | "track" | "range" | "markerGroup", import("@chakra-ui/react").SlotRecipeVariantRecord<"root" | "control" | "thumb" | "track" | "range" | "markerGroup">>;
1721
1721
  pagination: import("@chakra-ui/react").SlotRecipeDefinition<"paginationContainer" | "paginationButton" | "dots", import("@chakra-ui/react").SlotRecipeVariantRecord<"paginationContainer" | "paginationButton" | "dots">>;
1722
+ menu: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "item", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "item">>;
1722
1723
  };
1723
1724
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/index.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const menuRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "item", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "item">>;
2
+ //# sourceMappingURL=menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/menu.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,UAAU,qKAQrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const sliderSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "control" | "thumb" | "track" | "range" | "markerGroup", import("@chakra-ui/react").SlotRecipeVariantRecord<"root" | "control" | "thumb" | "track" | "range" | "markerGroup">>;
2
+ //# sourceMappingURL=slider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/slider.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yOAgD3B,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React, { ReactNode } from 'react';
2
+ export type DiscreteSliderMark<T> = {
3
+ stepValue?: number;
4
+ label: ReactNode;
5
+ value: T;
6
+ };
7
+ export type DiscreteSliderProps<T> = {
8
+ applyIndentation?: boolean;
9
+ marks: DiscreteSliderMark<T>[];
10
+ value: T;
11
+ onValueChanged: (arg: T) => void;
12
+ };
13
+ export declare const DiscreteSlider: <T>({ marks, applyIndentation, onValueChanged, value, }: DiscreteSliderProps<T>) => React.JSX.Element;
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/discreteSlider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMzC,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,CAAC,CAAC;CACV,CAAC;AAEF,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/B,KAAK,EAAE,CAAC,CAAC;IACT,cAAc,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;CAClC,CAAC;AA2BF,eAAO,MAAM,cAAc,GAAI,CAAC,EAAG,qDAKhC,mBAAmB,CAAC,CAAC,CAAC,sBA8CxB,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { __assign } from '../../node_modules/tslib/tslib.es6.js';
2
+ import React from 'react';
3
+ import { Slider } from '@chakra-ui/react';
4
+
5
+ var emptyItemOffset = 0;
6
+ var firstItemOffset = 1;
7
+ var getItemOffset = function (applyIndentation) {
8
+ return applyIndentation ? firstItemOffset : emptyItemOffset;
9
+ };
10
+ var getSliderStepValue = function (marks, applyIndentation, value) {
11
+ var selectedMarkIndex = marks.findIndex(function (mark) { return mark.value === value; });
12
+ if (selectedMarkIndex < emptyItemOffset) {
13
+ return getItemOffset(applyIndentation);
14
+ }
15
+ return selectedMarkIndex + getItemOffset(applyIndentation);
16
+ };
17
+ var getSliderMarks = function (marks, applyIndentation) {
18
+ return marks.map(function (mark, index) { return (__assign(__assign({}, mark), { stepValue: index + getItemOffset(applyIndentation) })); });
19
+ };
20
+ var DiscreteSlider = function (_a) {
21
+ var marks = _a.marks, _b = _a.applyIndentation, applyIndentation = _b === void 0 ? true : _b, onValueChanged = _a.onValueChanged, value = _a.value;
22
+ var sliderStepValue = getSliderStepValue(marks, applyIndentation, value);
23
+ var sliderMarks = getSliderMarks(marks, applyIndentation);
24
+ var handleOnChange = function (newStepValue) {
25
+ var _a;
26
+ if (applyIndentation && newStepValue < firstItemOffset)
27
+ return;
28
+ var newSliderMark = (_a = sliderMarks.find(function (mark) { return mark.stepValue === newStepValue; })) === null || _a === void 0 ? void 0 : _a.value;
29
+ onValueChanged(newSliderMark);
30
+ };
31
+ return (React.createElement(Slider.Root, { step: 1, max: sliderMarks.length - 1 + getItemOffset(applyIndentation), value: [sliderStepValue], onValueChange: function (details) { var _a; return handleOnChange((_a = details.value[0]) !== null && _a !== void 0 ? _a : sliderStepValue); } },
32
+ React.createElement(Slider.Control, null,
33
+ React.createElement(Slider.Track, null,
34
+ React.createElement(Slider.Range, null)),
35
+ React.createElement(Slider.Thumbs, null),
36
+ React.createElement(Slider.MarkerGroup, null, sliderMarks.map(function (_a, index) {
37
+ var stepValue = _a.stepValue, label = _a.label;
38
+ return (React.createElement(Slider.Marker, { key: index, value: stepValue, style: {
39
+ pointerEvents: 'all',
40
+ fontWeight: sliderStepValue === stepValue ? 'bold' : 'normal',
41
+ } }, label));
42
+ })))));
43
+ };
44
+
45
+ export { DiscreteSlider };
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/discreteSlider/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;AAGA,IAAM,eAAe,GAAG,CAAC;AACzB,IAAM,eAAe,GAAG,CAAC;AAezB,IAAM,aAAa,GAAG,UAAC,gBAAyB,EAAA;IAC9C,OAAO,gBAAgB,GAAG,eAAe,GAAG,e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Aa,EAAE,KAAK;wBACpB,UAAU,EAAE,eAAe,KAAK,SAAS,GAAG,MAAM,GAAG,QAAQ;qBAC9D,EAAA,EAEA,KAAK,CACQ;AAVgC,YAAA,CAWjD,CAAC,CACiB,CACN,CACL;AAElB;;;;"}
@@ -18,7 +18,6 @@ export * from './energyLabel';
18
18
  export * from './errorPage';
19
19
  export * from './flex';
20
20
  export * from './fullHeight';
21
- export * from './galleryHeader';
22
21
  export * from './grid';
23
22
  export * from './heading';
24
23
  export * from './icons';
@@ -27,6 +26,7 @@ export * from './layout';
27
26
  export * from './link';
28
27
  export * from './list';
29
28
  export * from './chip';
29
+ export * from './menu';
30
30
  export * from './missingImage';
31
31
  export * from './mobileOnlyAccordion';
32
32
  export * from './navigation/footer';
@@ -47,5 +47,6 @@ export * from './themeProvider';
47
47
  export * from './vehicleReference';
48
48
  export * from './rangeFilterInput';
49
49
  export * from './topVehicleSharedBadge';
50
+ export * from './discreteSlider';
50
51
  export * from './formControlSection';
51
52
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAA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AAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { FC, JSX, ReactElement } from 'react';
2
+ import { MenuRootProps, MenuTriggerProps } from '@chakra-ui/react';
3
+ interface MenuItem {
4
+ text: JSX.Element | string;
5
+ value: string;
6
+ onClick: () => void;
7
+ }
8
+ export interface MenuProps {
9
+ title: string | ReactElement;
10
+ items: MenuItem[];
11
+ fontWeightTitle?: MenuTriggerProps['fontWeight'];
12
+ offset?: [number, number];
13
+ menuColor?: MenuTriggerProps['color'];
14
+ showChevron?: boolean;
15
+ icon?: ReactElement;
16
+ iconSpacing?: MenuTriggerProps['gap'];
17
+ placement?: Exclude<MenuRootProps['positioning'], undefined>['placement'];
18
+ }
19
+ export declare const Menu: FC<MenuProps>;
20
+ export {};
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAEL,aAAa,EACb,gBAAgB,EAGjB,MAAM,kBAAkB,CAAC;AAI1B,UAAU,QAAQ;IAChB,IAAI,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,GAAG,YAAY,CAAC;IAC7B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,eAAe,CAAC,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;IACjD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACtC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,WAAW,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC;CAC3E;AAED,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CA0D9B,CAAC"}
@@ -1,7 +1,6 @@
1
+ import { __assign } from '../../node_modules/tslib/tslib.es6.js';
1
2
  import React from 'react';
2
- import { I18nContext } from '@smg-automotive/i18n-pkg';
3
- import { useSlotRecipe, Box } from '@chakra-ui/react';
4
- import { TranslationProvider } from '../translationProvider/index.js';
3
+ import { useSlotRecipe, Menu as Menu$1, Portal } from '@chakra-ui/react';
5
4
  import '../icons/AdvancedSearchIcon.js';
6
5
  import '../icons/ArrowCircleIcon.js';
7
6
  import '../icons/ArrowDiagonalIcon.js';
@@ -26,7 +25,7 @@ import '../icons/CheckmarkIcon.js';
26
25
  import '../icons/CheckmarkCircleIcon.js';
27
26
  import '../icons/CheckShieldIcon.js';
28
27
  import '../icons/ChevronDownLargeIcon.js';
29
- import '../icons/ChevronDownSmallIcon.js';
28
+ import { ChevronDownSmallIcon } from '../icons/ChevronDownSmallIcon.js';
30
29
  import '../icons/ChevronLeftLargeIcon.js';
31
30
  import '../icons/ChevronLeftSmallIcon.js';
32
31
  import '../icons/ChevronRightLargeIcon.js';
@@ -34,7 +33,7 @@ import '../icons/ChevronRightSmallIcon.js';
34
33
  import '../icons/ChevronRightTinyIcon.js';
35
34
  import '../icons/ChevronUpLargeIcon.js';
36
35
  import '../icons/ChevronUpSmallIcon.js';
37
- import { CloseIcon } from '../icons/CloseIcon.js';
36
+ import '../icons/CloseIcon.js';
38
37
  import '../icons/CompareIcon.js';
39
38
  import '../icons/ConsumptionIcon.js';
40
39
  import '../icons/CreditIcon.js';
@@ -168,33 +167,27 @@ import '../icons/QualitySealIcon.js';
168
167
  import '../icons/ExpandIcon.js';
169
168
  import '../icons/CollapseIcon.js';
170
169
  import '../icons/ForwardIcon.js';
171
- import { SimpleGrid } from '../simpleGrid/index.js';
172
- import { Link } from '../link/index.js';
173
170
 
174
- var GalleryHeader = function (_a) {
175
- var currentSlide = _a.currentSlide, slidesCount = _a.slidesCount, onClose = _a.onClose, language = _a.language, children = _a.children;
176
- var recipe = useSlotRecipe({ key: 'galleryHeader' });
171
+ var Menu = function (_a) {
172
+ var title = _a.title, items = _a.items, _b = _a.fontWeightTitle, fontWeightTitle = _b === void 0 ? 'regular' : _b, _c = _a.offset, offset = _c === void 0 ? [8, 0] : _c, menuColor = _a.menuColor, _d = _a.showChevron, showChevron = _d === void 0 ? true : _d, icon = _a.icon, _e = _a.iconSpacing, iconSpacing = _e === void 0 ? 'sm' : _e, placement = _a.placement;
173
+ var recipe = useSlotRecipe({ key: 'menu' });
177
174
  var styles = recipe();
178
- return (React.createElement(TranslationProvider, { language: language, scopes: ['galleryHeader'] },
179
- React.createElement(I18nContext.Consumer, null, function (_a) {
180
- var t = _a.t;
181
- return (React.createElement(Box, { css: styles.container },
182
- React.createElement(Box, { css: styles.grid },
183
- React.createElement(SimpleGrid, { columns: {
184
- base: 2,
185
- md: 3,
186
- }, alignItems: "center" },
187
- React.createElement(Box, { hideBelow: "md", css: styles.childrenContainer }, children),
188
- React.createElement(Box, { css: styles.countContainer },
189
- React.createElement(Box, null, t('galleryHeader.imageCount', {
190
- x: currentSlide,
191
- of: slidesCount,
192
- }))),
193
- React.createElement(Box, { css: styles.closeContainer },
194
- React.createElement(Link, { "aria-label": "Close gallery", onClick: function () { return onClose(); } },
195
- React.createElement(CloseIcon, { color: "white" })))))));
196
- })));
175
+ var _f = offset[0], mainAxis = _f === void 0 ? 0 : _f, _g = offset[1], crossAxis = _g === void 0 ? 0 : _g;
176
+ return (React.createElement(Menu$1.Root, { positioning: { placement: placement, offset: { mainAxis: mainAxis, crossAxis: crossAxis } } },
177
+ React.createElement(Menu$1.Context, null, function (_a) {
178
+ var open = _a.open;
179
+ return (React.createElement(Menu$1.Trigger, { css: styles.trigger, gap: iconSpacing, fontWeight: fontWeightTitle, color: open ? 'blue.700' : menuColor },
180
+ icon,
181
+ title,
182
+ showChevron ? (React.createElement(ChevronDownSmallIcon, { transition: "transform", transform: open ? 'rotate(180deg)' : 'rotate(0deg)' })) : null));
183
+ }),
184
+ React.createElement(Portal, null,
185
+ React.createElement(Menu$1.Positioner, null,
186
+ React.createElement(Menu$1.Content, { css: styles.content }, items.map(function (_a) {
187
+ var onClick = _a.onClick, text = _a.text, value = _a.value;
188
+ return (React.createElement(Menu$1.Item, __assign({ key: "menuItem-".concat(value), value: value, onSelect: onClick, css: styles.item }, (menuColor && { color: menuColor })), text));
189
+ }))))));
197
190
  };
198
191
 
199
- export { GalleryHeader };
192
+ export { Menu };
200
193
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/menu/index.tsx"],"sourcesContent":[null],"names":["ChakraMenu"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BO,IAAM,IAAI,GAAkB,UAAC,EAUnC,EAAA;QATC,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,EAAA,GAAA,EAAA,CAAA,eAA2B,EAA3B,eAAe,GAAA,EAAA,KAAA,MAAA,GAAG,SAAS,KAAA,EAC3B,EAAA,GAAA,EAAA,CAAA,MAAe,EAAf,MAAM,GAAA,EAAA,KAAA,MAAA,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,GAAA,EAAA,EACf,SAAS,GAAA,EAAA,CAAA,SAAA,EACT,EAAA,GAAA,EAAA,CAAA,WAAkB,EAAlB,WAAW,GAAA,EAAA,KAAA,MAAA,GAAG,IAAI,KAAA,EAClB,IAAI,UAAA,EACJ,EAAA,GAAA,EAAA,CAAA,WAAkB,EAAlB,WAAW,GAAA,EAAA,KAAA,MAAA,GAAG,IAAI,GAAA,EAAA,EAClB,SAAS,GAAA,EAAA,CAAA,SAAA;IAET,IAAM,MAAM,GAAG,aAAa,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;AAC7C,IAAA,IAAM,MAAM,GAAG,MAAM,EAAE;AAChB,IAAA,IAAA,KAA+B,MAAM,CAAA,CAAA,CAAzB,EAAZ,QA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A,CAAA,aAAA,CAACA,MAAU,CAAC,IAAI,aACd,GAAG,EAAE,WAAA,CAAA,MAAA,CAAY,KAAK,CAAE,EACxB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,OAAO,EACjB,GAAG,EAAE,MAAM,CAAC,IAAI,EAAA,GACX,SAAS,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,IAErC,IAAI,CACW;AAEtB,gBAAA,CAAC,CAAC,CACiB,CACC,CACjB,CACO;AAEtB;;;;"}
@@ -24,6 +24,7 @@ import '../../themes/shared/slotRecipes/vehicleReference.js';
24
24
  import '../../themes/shared/slotRecipes/tooltip.js';
25
25
  import '../../themes/shared/slotRecipes/table.js';
26
26
  import '../../themes/shared/slotRecipes/switch.js';
27
+ import '../../themes/shared/slotRecipes/slider.js';
27
28
  import '../../themes/shared/slotRecipes/simpleHeader.js';
28
29
  import '../../themes/shared/slotRecipes/select.js';
29
30
  import '../../themes/shared/slotRecipes/section.js';
@@ -31,10 +32,10 @@ import '../../themes/shared/slotRecipes/radio.js';
31
32
  import '../../themes/shared/slotRecipes/popoverFilter.js';
32
33
  import '../../themes/shared/slotRecipes/pagination.js';
33
34
  import '../../themes/shared/slotRecipes/numberInput.js';
35
+ import '../../themes/shared/slotRecipes/menu.js';
34
36
  import '../../themes/shared/slotRecipes/markedText.js';
35
37
  import '../../themes/shared/slotRecipes/list.js';
36
38
  import '../../themes/shared/slotRecipes/input.js';
37
- import '../../themes/shared/slotRecipes/galleryHeader.js';
38
39
  import '../../themes/shared/slotRecipes/field.js';
39
40
  import '../../themes/shared/slotRecipes/energyLabel.js';
40
41
  import '../../themes/shared/slotRecipes/dialogFilter.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../src/components/themeProvider/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,IAAM,MAAM,IAAA,EAAA,GAAA,EAAA;AACV,IAAA,EAAA,CAAC,KAAK,CAAC,WAAW,CAAA,GAAG,iBAAiB;AACtC,IAAA,EAAA,CAAC,KAAK,CAAC,WAAW,CAAA,GAAG,iBAAiB;OACvC;AAEM,IAAM,aAAa,GAA8C,UAAC,EAGxE,EAAA;QAFC,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,KAAK,GAAA,EAAA,CAAA,KAAA;AAEL,IAAA,OAAO,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,EAAA,EAAG,QAAQ,CAAkB;AAC1E;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/themeProvider/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,IAAM,MAAM,IAAA,EAAA,GAAA,EAAA;AACV,IAAA,EAAA,CAAC,KAAK,CAAC,WAAW,CAAA,GAAG,iBAAiB;AACtC,IAAA,EAAA,CAAC,KAAK,CAAC,WAAW,CAAA,GAAG,iBAAiB;OACvC;AAEM,IAAM,aAAa,GAA8C,UAAC,EAGxE,EAAA;QAFC,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,KAAK,GAAA,EAAA,CAAA,KAAA;AAEL,IAAA,OAAO,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,EAAA,EAAG,QAAQ,CAAkB;AAC1E;;;;"}
package/dist/esm/index.js CHANGED
@@ -23,6 +23,7 @@ import './themes/shared/slotRecipes/vehicleReference.js';
23
23
  import './themes/shared/slotRecipes/tooltip.js';
24
24
  import './themes/shared/slotRecipes/table.js';
25
25
  import './themes/shared/slotRecipes/switch.js';
26
+ import './themes/shared/slotRecipes/slider.js';
26
27
  import './themes/shared/slotRecipes/simpleHeader.js';
27
28
  import './themes/shared/slotRecipes/select.js';
28
29
  import './themes/shared/slotRecipes/section.js';
@@ -30,10 +31,10 @@ import './themes/shared/slotRecipes/radio.js';
30
31
  import './themes/shared/slotRecipes/popoverFilter.js';
31
32
  import './themes/shared/slotRecipes/pagination.js';
32
33
  import './themes/shared/slotRecipes/numberInput.js';
34
+ import './themes/shared/slotRecipes/menu.js';
33
35
  import './themes/shared/slotRecipes/markedText.js';
34
36
  import './themes/shared/slotRecipes/list.js';
35
37
  import './themes/shared/slotRecipes/input.js';
36
- import './themes/shared/slotRecipes/galleryHeader.js';
37
38
  import './themes/shared/slotRecipes/field.js';
38
39
  import './themes/shared/slotRecipes/energyLabel.js';
39
40
  import './themes/shared/slotRecipes/dialogFilter.js';
@@ -82,7 +83,6 @@ export { EnergyLabel } from './components/energyLabel/index.js';
82
83
  export { ErrorPage } from './components/errorPage/index.js';
83
84
  export { Flex } from './components/flex/index.js';
84
85
  export { FullHeight } from './components/fullHeight/index.js';
85
- export { GalleryHeader } from './components/galleryHeader/index.js';
86
86
  export { Grid, GridItem } from './components/grid/index.js';
87
87
  export { H1, H2, H3, H4, H5, H6 } from './components/heading/index.js';
88
88
  export { AdvancedSearchIcon } from './components/icons/AdvancedSearchIcon.js';
@@ -260,6 +260,7 @@ export { LayoutWithVehicleReference } from './components/layout/WithVehicleRefer
260
260
  export { Link } from './components/link/index.js';
261
261
  export { List, ListItem, ListRoot } from './components/list/index.js';
262
262
  export { Chip } from './components/chip/index.js';
263
+ export { Menu } from './components/menu/index.js';
263
264
  export { MissingImage } from './components/missingImage/index.js';
264
265
  export { MobileOnlyAccordion } from './components/mobileOnlyAccordion/index.js';
265
266
  export { Footer } from './components/navigation/footer/index.js';
@@ -280,6 +281,7 @@ export { ThemeProvider } from './components/themeProvider/index.js';
280
281
  export { VehicleReference } from './components/vehicleReference/index.js';
281
282
  export { RangeFilterInput } from './components/rangeFilterInput/index.js';
282
283
  export { TopVehicleSharedBadge } from './components/topVehicleSharedBadge/index.js';
284
+ export { DiscreteSlider } from './components/discreteSlider/index.js';
283
285
  export { FormControlSection } from './components/formControlSection/index.js';
284
286
  export { convertRemEmToPx } from './utilities/convertRemEmToPx.js';
285
287
  export { default as logger } from './lib/logger.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -306,7 +306,6 @@ export declare const getSharedConfig: () => {
306
306
  };
307
307
  };
308
308
  }>;
309
- galleryHeader: import("@chakra-ui/react").SlotRecipeDefinition<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer", import("@chakra-ui/react").SlotRecipeVariantRecord<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer">>;
310
309
  list: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "item" | "itemLabel" | "itemValue", {
311
310
  size: {
312
311
  md: {
@@ -1917,7 +1916,9 @@ export declare const getSharedConfig: () => {
1917
1916
  };
1918
1917
  };
1919
1918
  }>;
1919
+ slider: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "control" | "thumb" | "track" | "range" | "markerGroup", import("@chakra-ui/react").SlotRecipeVariantRecord<"root" | "control" | "thumb" | "track" | "range" | "markerGroup">>;
1920
1920
  pagination: import("@chakra-ui/react").SlotRecipeDefinition<"paginationContainer" | "paginationButton" | "dots", import("@chakra-ui/react").SlotRecipeVariantRecord<"paginationContainer" | "paginationButton" | "dots">>;
1921
+ menu: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "item", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "item">>;
1921
1922
  };
1922
1923
  tokens: {
1923
1924
  zIndex: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/shared/index.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B1B,CAAC;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -107,7 +107,6 @@ export declare const slotRecipes: {
107
107
  };
108
108
  };
109
109
  }>;
110
- galleryHeader: import("@chakra-ui/react").SlotRecipeDefinition<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer", import("@chakra-ui/react").SlotRecipeVariantRecord<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer">>;
111
110
  list: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "item" | "itemLabel" | "itemValue", {
112
111
  size: {
113
112
  md: {
@@ -1718,6 +1717,8 @@ export declare const slotRecipes: {
1718
1717
  };
1719
1718
  };
1720
1719
  }>;
1720
+ slider: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "control" | "thumb" | "track" | "range" | "markerGroup", import("@chakra-ui/react").SlotRecipeVariantRecord<"root" | "control" | "thumb" | "track" | "range" | "markerGroup">>;
1721
1721
  pagination: import("@chakra-ui/react").SlotRecipeDefinition<"paginationContainer" | "paginationButton" | "dots", import("@chakra-ui/react").SlotRecipeVariantRecord<"paginationContainer" | "paginationButton" | "dots">>;
1722
+ menu: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "item", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "item">>;
1722
1723
  };
1723
1724
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/index.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BvB,CAAC"}
@@ -2,6 +2,7 @@ import { vehicleReferenceRecipe } from './vehicleReference.js';
2
2
  import { tooltipSlotRecipe } from './tooltip.js';
3
3
  import { tableRecipe } from './table.js';
4
4
  import { switchRecipe } from './switch.js';
5
+ import { sliderSlotRecipe } from './slider.js';
5
6
  import { simpleHeaderRecipe } from './simpleHeader.js';
6
7
  import { selectSlotRecipe } from './select.js';
7
8
  import { sectionRecipe } from './section.js';
@@ -9,10 +10,10 @@ import { radioRecipe } from './radio.js';
9
10
  import { popoverFilterRecipe } from './popoverFilter.js';
10
11
  import { paginationRecipe } from './pagination.js';
11
12
  import { numberInputRecipe } from './numberInput.js';
13
+ import { menuRecipe } from './menu.js';
12
14
  import { markedTextRecipe } from './markedText.js';
13
15
  import { listRecipe } from './list.js';
14
16
  import { inputSlotRecipe } from './input.js';
15
- import { galleryHeaderRecipe } from './galleryHeader.js';
16
17
  import { fieldSlotRecipe } from './field.js';
17
18
  import { energyLabelRecipe } from './energyLabel.js';
18
19
  import { dialogFilterRecipe } from './dialogFilter.js';
@@ -30,7 +31,6 @@ var slotRecipes = {
30
31
  breadcrumbs: breadcrumbsRecipe,
31
32
  card: cardRecipe,
32
33
  energyLabel: energyLabelRecipe,
33
- galleryHeader: galleryHeaderRecipe,
34
34
  list: listRecipe,
35
35
  markedText: markedTextRecipe,
36
36
  dialog: dialogRecipe,
@@ -49,7 +49,9 @@ var slotRecipes = {
49
49
  popoverFilter: popoverFilterRecipe,
50
50
  numberInput: numberInputRecipe,
51
51
  radio: radioRecipe,
52
+ slider: sliderSlotRecipe,
52
53
  pagination: paginationRecipe,
54
+ menu: menuRecipe,
53
55
  };
54
56
 
55
57
  export { slotRecipes };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../src/themes/shared/slotRecipes/index.ts"],"sourcesContent":[null],"names":["articleTeaser","accordion","breadcrumbs","card","energyLabel","galleryHeader","list","markedText","dialog","simpleHeader","table","vehicleReference","tooltip","field","section","checkbox","input","select","dialogFilter","alert","popoverFilter","numberInput","radio","pagination"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA0BO,IAAM,WAAW,GAAG;AACzB,IAAA,aAAa,EAAAA,mBAAA;AACb,IAAA,SAAS,EAAAC,eAAA;AACT,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,aAAa,EAAAC,mBAAA;AACb,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,UAAU,EAAAC,gBAAA;AACV,IAAA,MAAM,EAAAC,YAAA;AACN,IAAA,YAAY,EAAAC,kBAAA;AACZ,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,gBAAgB,EAAAC,sBAAA;AAChB,IAAA,OAAO,EAAAC,iBAAA;AACP,IAAA,KAAK,EAAAC,eAAA;AACL,IAAA,OAAO,EAAAC,aAAA;AACP,IAAA,QAAQ,EAAAC,cAAA;AACR,IAAA,MAAM,EAAE,YAAY;AACpB,IAAA,KAAK,EAAAC,eAAA;AACL,IAAA,MAAM,EAAAC,gBAAA;AACN,IAAA,YAAY,EAAAC,kBAAA;AACZ,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,aAAa,EAAAC,mBAAA;AACb,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,UAAU,EAAAC,gBAAA;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../src/themes/shared/slotRecipes/index.ts"],"sourcesContent":[null],"names":["articleTeaser","accordion","breadcrumbs","card","energyLabel","list","markedText","dialog","simpleHeader","table","vehicleReference","tooltip","field","section","checkbox","input","select","dialogFilter","alert","popoverFilter","numberInput","radio","slider","pagination","menu"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BO,IAAM,WAAW,GAAG;AACzB,IAAA,aAAa,EAAAA,mBAAA;AACb,IAAA,SAAS,EAAAC,eAAA;AACT,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,UAAU,EAAAC,gBAAA;AACV,IAAA,MAAM,EAAAC,YAAA;AACN,IAAA,YAAY,EAAAC,kBAAA;AACZ,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,gBAAgB,EAAAC,sBAAA;AAChB,IAAA,OAAO,EAAAC,iBAAA;AACP,IAAA,KAAK,EAAAC,eAAA;AACL,IAAA,OAAO,EAAAC,aAAA;AACP,IAAA,QAAQ,EAAAC,cAAA;AACR,IAAA,MAAM,EAAE,YAAY;AACpB,IAAA,KAAK,EAAAC,eAAA;AACL,IAAA,MAAM,EAAAC,gBAAA;AACN,IAAA,YAAY,EAAAC,kBAAA;AACZ,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,aAAa,EAAAC,mBAAA;AACb,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,MAAM,EAAAC,gBAAA;AACN,IAAA,UAAU,EAAAC,gBAAA;AACV,IAAA,IAAI,EAAAC,UAAA;;;;;"}
@@ -0,0 +1,2 @@
1
+ export declare const menuRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "item", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "item">>;
2
+ //# sourceMappingURL=menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/menu.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,UAAU,qKAQrB,CAAC"}
@@ -0,0 +1,64 @@
1
+ import { defineStyle, defineSlotRecipe } from '@chakra-ui/react';
2
+
3
+ var maximumScrollbarWidth = 20;
4
+ var content = defineStyle({
5
+ '--max-width': "calc(100vw - ".concat(maximumScrollbarWidth, "px)"),
6
+ bg: 'white',
7
+ boxShadow: 'sm',
8
+ color: 'inherit',
9
+ minW: '4xl',
10
+ maxW: 'var(--max-width)',
11
+ py: 'xxs',
12
+ zIndex: 'dropdown',
13
+ borderRadius: 'sm',
14
+ border: '1px',
15
+ borderColor: 'gray.200',
16
+ cursor: 'pointer',
17
+ _focusVisible: {
18
+ outline: 'none',
19
+ },
20
+ });
21
+ var item = defineStyle({
22
+ paddingY: 'md',
23
+ paddingX: 'lg',
24
+ cursor: 'pointer',
25
+ _focus: {
26
+ bg: 'gray.100',
27
+ },
28
+ _focusVisible: {
29
+ outline: 'none',
30
+ },
31
+ _active: {
32
+ bg: 'blue.100',
33
+ },
34
+ _expanded: {
35
+ bg: 'gray.100',
36
+ },
37
+ _hover: {
38
+ bg: 'gray.100',
39
+ },
40
+ _disabled: {
41
+ opacity: '40',
42
+ cursor: 'notAllowed',
43
+ },
44
+ });
45
+ var trigger = defineStyle({
46
+ display: 'inline-flex',
47
+ padding: '0',
48
+ cursor: 'pointer',
49
+ _focusVisible: {
50
+ outline: 'none',
51
+ },
52
+ });
53
+ var menuRecipe = defineSlotRecipe({
54
+ slots: ['content', 'item', 'trigger'],
55
+ className: 'chakra-menu',
56
+ base: {
57
+ content: content,
58
+ item: item,
59
+ trigger: trigger,
60
+ },
61
+ });
62
+
63
+ export { menuRecipe };
64
+ //# sourceMappingURL=menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.js","sources":["../../../../../../src/themes/shared/slotRecipes/menu.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA,IAAM,qBAAqB,GAAG,EAAE;AAEhC,IAAM,OAAO,GAAG,WAAW,CAAC;IAC1B,aAAa,EAAE,eAAA,CAAA,MAAA,CAAgB,qBAAqB,EAAA,KAAA,CAAK;AACzD,IAAA,EAAE,EAAE,OAAO;AACX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S,CAAC;AACrC,IAAA,SAAS,EAAE,aAAa;AACxB,IAAA,IAAI,EAAE;AACJ,QAAA,OAAO,EAAA,OAAA;AACP,QAAA,IAAI,EAAA,IAAA;AACJ,QAAA,OAAO,EAAA,OAAA;AACR,KAAA;AACF,CAAA;;;;"}
@@ -0,0 +1,2 @@
1
+ export declare const sliderSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "control" | "thumb" | "track" | "range" | "markerGroup", import("@chakra-ui/react").SlotRecipeVariantRecord<"root" | "control" | "thumb" | "track" | "range" | "markerGroup">>;
2
+ //# sourceMappingURL=slider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/slider.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yOAgD3B,CAAC"}