@smg-automotive/components 27.4.0 → 27.4.1-components-fix-chakra-typegen.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.
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  const { createSystem, defaultBaseConfig, mergeConfigs, } = require('@chakra-ui/react');
4
- const { autoScout24Config, motoScout24Config } = require('../cjs/themes.js');
4
+ const { autoScout24Config, motoScout24Config } = require('../cjs/themes.cjs');
5
5
  module.exports = createSystem(defaultBaseConfig, mergeConfigs(autoScout24Config, motoScout24Config), { preflight: true });
@@ -1 +1 @@
1
- {"version":3,"file":"chakraTypegenTheme.d.ts","sourceRoot":"","sources":["../../src/lib/cli/chakraTypegenTheme.ts"],"names":[],"mappings":"AAAA,QAAA,MACE,YAAY,OACZ,iBAAiB,OACjB,YAAY,KACiB,CAAC;AAEhC,QAAA,MAAQ,iBAAiB,OAAE,iBAAiB,KAAgC,CAAC"}
1
+ {"version":3,"file":"chakraTypegenTheme.d.ts","sourceRoot":"","sources":["../../src/lib/cli/chakraTypegenTheme.ts"],"names":[],"mappings":"AAAA,QAAA,MACE,YAAY,OACZ,iBAAiB,OACjB,YAAY,KACiB,CAAC;AAEhC,QAAA,MAAQ,iBAAiB,OAAE,iBAAiB,KAAiC,CAAC"}
package/dist/index.d.mts CHANGED
@@ -52,7 +52,7 @@ declare const useDebouncedOnChange: ({ onChange, onBlur, debounce, }: {
52
52
 
53
53
  declare const useToken: (scale: string, token: string[], fallback?: string[]) => string[];
54
54
 
55
- declare const alertRecipe: _chakra_ui_react.SlotRecipeDefinition<"title" | "content" | "root" | "indicator" | "description" | "toastClose", {
55
+ declare const alertRecipe: _chakra_ui_react.SlotRecipeDefinition<"indicator" | "content" | "title" | "description" | "root" | "toastClose", {
56
56
  status: {
57
57
  info: {
58
58
  root: {
@@ -160,7 +160,7 @@ declare const useDisclosure: (options?: UseDisclosureOptions) => {
160
160
  onOpen: () => void;
161
161
  };
162
162
 
163
- declare const accordionRecipe: _chakra_ui_react.SlotRecipeDefinition<"content" | "indicator" | "body" | "button" | "item", {
163
+ declare const accordionRecipe: _chakra_ui_react.SlotRecipeDefinition<"item" | "button" | "indicator" | "content" | "body", {
164
164
  variant: {
165
165
  light: {
166
166
  item: {
@@ -414,7 +414,7 @@ declare const Button: React__default.ForwardRefExoticComponent<Omit<UnifiedButto
414
414
  isLoading?: boolean;
415
415
  } & React__default.RefAttributes<HTMLButtonElement>>;
416
416
 
417
- declare const checkboxRecipe: _chakra_ui_react.SlotRecipeDefinition<"content" | "root" | "label" | "control", {
417
+ declare const checkboxRecipe: _chakra_ui_react.SlotRecipeDefinition<"content" | "label" | "root" | "control", {
418
418
  variant: {
419
419
  alignCenter: {
420
420
  root: {
@@ -458,7 +458,7 @@ type CheckboxProps = CheckboxVariantProps & {
458
458
  onChange?: (details: CheckboxCheckedChangeDetails) => void;
459
459
  };
460
460
 
461
- declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<CheckboxProps, "onChange" | "disabled" | "checked" | "invalid"> & {
461
+ declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<CheckboxProps, "disabled" | "checked" | "onChange" | "invalid"> & {
462
462
  isChecked?: boolean;
463
463
  isDisabled?: boolean;
464
464
  isInvalid?: boolean;
@@ -516,7 +516,7 @@ declare const Chip: FC<PropsWithChildren<ChipProps>>;
516
516
  type Props$p = SeparatorProps;
517
517
  declare const Divider: FC<Props$p>;
518
518
 
519
- declare const fieldSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "button" | "label" | "errorText" | "helperText" | "labelRoot" | "requiredIndicator" | "tooltipWrapper" | "tooltipIcon", {
519
+ declare const fieldSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"button" | "label" | "root" | "errorText" | "helperText" | "labelRoot" | "requiredIndicator" | "tooltipWrapper" | "tooltipIcon", {
520
520
  size: {
521
521
  sm: {
522
522
  label: {
@@ -1068,7 +1068,7 @@ type AdapterProps<NFrom extends string, NTo extends string> = DistributiveOmit<R
1068
1068
  };
1069
1069
  declare function RangeFilterInputWithSlider<NFrom extends string, NTo extends string>(props: AdapterProps<NFrom, NTo>): React__default.JSX.Element;
1070
1070
 
1071
- declare const selectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "indicator" | "field", {
1071
+ declare const selectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"indicator" | "root" | "field", {
1072
1072
  variant: {
1073
1073
  outline: {
1074
1074
  field: _chakra_ui_react.SystemStyleObject;
@@ -1531,7 +1531,7 @@ interface DrawerProps extends Omit<DrawerRootProps, 'open' | 'onOpenChange'> {
1531
1531
  }
1532
1532
  declare const Drawer: FC<PropsWithChildren<DrawerProps>>;
1533
1533
 
1534
- declare const energyLabelRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "text" | "triangle" | "textWrapper", {
1534
+ declare const energyLabelRecipe: _chakra_ui_react.SlotRecipeDefinition<"text" | "root" | "triangle" | "textWrapper", {
1535
1535
  efficiency: {
1536
1536
  A: {
1537
1537
  root: {
@@ -2604,7 +2604,7 @@ interface ProgressProps {
2604
2604
  }
2605
2605
  declare const Progress: FC<ProgressProps>;
2606
2606
 
2607
- declare const radioRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "indicator" | "label" | "item" | "control", {
2607
+ declare const radioRecipe: _chakra_ui_react.SlotRecipeDefinition<"item" | "indicator" | "label" | "root" | "control", {
2608
2608
  variant: {
2609
2609
  fontRegular: {
2610
2610
  root: {};
@@ -2706,7 +2706,7 @@ type RatingProps = RatingVariantProps & {
2706
2706
  };
2707
2707
  declare const Rating: FC<RatingProps>;
2708
2708
 
2709
- declare const sectionRecipe: _chakra_ui_react.SlotRecipeDefinition<"title" | "root" | "text" | "imageContainer" | "textContainer", {
2709
+ declare const sectionRecipe: _chakra_ui_react.SlotRecipeDefinition<"title" | "text" | "root" | "imageContainer" | "textContainer", {
2710
2710
  variant: {
2711
2711
  hero: {
2712
2712
  title: {
package/dist/index.d.ts CHANGED
@@ -52,7 +52,7 @@ declare const useDebouncedOnChange: ({ onChange, onBlur, debounce, }: {
52
52
 
53
53
  declare const useToken: (scale: string, token: string[], fallback?: string[]) => string[];
54
54
 
55
- declare const alertRecipe: _chakra_ui_react.SlotRecipeDefinition<"title" | "content" | "root" | "indicator" | "description" | "toastClose", {
55
+ declare const alertRecipe: _chakra_ui_react.SlotRecipeDefinition<"indicator" | "content" | "title" | "description" | "root" | "toastClose", {
56
56
  status: {
57
57
  info: {
58
58
  root: {
@@ -160,7 +160,7 @@ declare const useDisclosure: (options?: UseDisclosureOptions) => {
160
160
  onOpen: () => void;
161
161
  };
162
162
 
163
- declare const accordionRecipe: _chakra_ui_react.SlotRecipeDefinition<"content" | "indicator" | "body" | "button" | "item", {
163
+ declare const accordionRecipe: _chakra_ui_react.SlotRecipeDefinition<"item" | "button" | "indicator" | "content" | "body", {
164
164
  variant: {
165
165
  light: {
166
166
  item: {
@@ -414,7 +414,7 @@ declare const Button: React__default.ForwardRefExoticComponent<Omit<UnifiedButto
414
414
  isLoading?: boolean;
415
415
  } & React__default.RefAttributes<HTMLButtonElement>>;
416
416
 
417
- declare const checkboxRecipe: _chakra_ui_react.SlotRecipeDefinition<"content" | "root" | "label" | "control", {
417
+ declare const checkboxRecipe: _chakra_ui_react.SlotRecipeDefinition<"content" | "label" | "root" | "control", {
418
418
  variant: {
419
419
  alignCenter: {
420
420
  root: {
@@ -458,7 +458,7 @@ type CheckboxProps = CheckboxVariantProps & {
458
458
  onChange?: (details: CheckboxCheckedChangeDetails) => void;
459
459
  };
460
460
 
461
- declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<CheckboxProps, "onChange" | "disabled" | "checked" | "invalid"> & {
461
+ declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<CheckboxProps, "disabled" | "checked" | "onChange" | "invalid"> & {
462
462
  isChecked?: boolean;
463
463
  isDisabled?: boolean;
464
464
  isInvalid?: boolean;
@@ -516,7 +516,7 @@ declare const Chip: FC<PropsWithChildren<ChipProps>>;
516
516
  type Props$p = SeparatorProps;
517
517
  declare const Divider: FC<Props$p>;
518
518
 
519
- declare const fieldSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "button" | "label" | "errorText" | "helperText" | "labelRoot" | "requiredIndicator" | "tooltipWrapper" | "tooltipIcon", {
519
+ declare const fieldSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"button" | "label" | "root" | "errorText" | "helperText" | "labelRoot" | "requiredIndicator" | "tooltipWrapper" | "tooltipIcon", {
520
520
  size: {
521
521
  sm: {
522
522
  label: {
@@ -1068,7 +1068,7 @@ type AdapterProps<NFrom extends string, NTo extends string> = DistributiveOmit<R
1068
1068
  };
1069
1069
  declare function RangeFilterInputWithSlider<NFrom extends string, NTo extends string>(props: AdapterProps<NFrom, NTo>): React__default.JSX.Element;
1070
1070
 
1071
- declare const selectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "indicator" | "field", {
1071
+ declare const selectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"indicator" | "root" | "field", {
1072
1072
  variant: {
1073
1073
  outline: {
1074
1074
  field: _chakra_ui_react.SystemStyleObject;
@@ -1531,7 +1531,7 @@ interface DrawerProps extends Omit<DrawerRootProps, 'open' | 'onOpenChange'> {
1531
1531
  }
1532
1532
  declare const Drawer: FC<PropsWithChildren<DrawerProps>>;
1533
1533
 
1534
- declare const energyLabelRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "text" | "triangle" | "textWrapper", {
1534
+ declare const energyLabelRecipe: _chakra_ui_react.SlotRecipeDefinition<"text" | "root" | "triangle" | "textWrapper", {
1535
1535
  efficiency: {
1536
1536
  A: {
1537
1537
  root: {
@@ -2604,7 +2604,7 @@ interface ProgressProps {
2604
2604
  }
2605
2605
  declare const Progress: FC<ProgressProps>;
2606
2606
 
2607
- declare const radioRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "indicator" | "label" | "item" | "control", {
2607
+ declare const radioRecipe: _chakra_ui_react.SlotRecipeDefinition<"item" | "indicator" | "label" | "root" | "control", {
2608
2608
  variant: {
2609
2609
  fontRegular: {
2610
2610
  root: {};
@@ -2706,7 +2706,7 @@ type RatingProps = RatingVariantProps & {
2706
2706
  };
2707
2707
  declare const Rating: FC<RatingProps>;
2708
2708
 
2709
- declare const sectionRecipe: _chakra_ui_react.SlotRecipeDefinition<"title" | "root" | "text" | "imageContainer" | "textContainer", {
2709
+ declare const sectionRecipe: _chakra_ui_react.SlotRecipeDefinition<"title" | "text" | "root" | "imageContainer" | "textContainer", {
2710
2710
  variant: {
2711
2711
  hero: {
2712
2712
  title: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smg-automotive/components",
3
- "version": "27.4.0",
3
+ "version": "27.4.1-components-fix-chakra-typegen.1",
4
4
  "description": "SMG Automotive components library",
5
5
  "type": "commonjs",
6
6
  "exports": {