@wello-dev/core 1.0.8 → 1.0.9

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 (123) hide show
  1. package/README.md +709 -425
  2. package/dist/{chunk-NGXT7GNE.js → chunk-3WEM43GB.js} +3 -3
  3. package/dist/{chunk-7EINGVGG.js → chunk-55HC4KD7.js} +2 -2
  4. package/dist/{chunk-EYNM2DF5.js → chunk-5DBGHVG2.js} +3 -3
  5. package/dist/{chunk-HIYHBWWU.js → chunk-5NRRPIJU.js} +2 -2
  6. package/dist/{chunk-JHBUYAOW.js → chunk-7ERRBV4L.js} +3 -3
  7. package/dist/{chunk-7S7RIVCI.js → chunk-A6YBE2SX.js} +3 -3
  8. package/dist/{chunk-7S7RIVCI.js.map → chunk-A6YBE2SX.js.map} +1 -1
  9. package/dist/{chunk-UYKK6PVB.js → chunk-ATEUNLBO.js} +2 -2
  10. package/dist/{chunk-O6A7IBIW.js → chunk-BESKNEWG.js} +2 -2
  11. package/dist/{chunk-BVUV3Y3X.js → chunk-C3KE4QQD.js} +1 -1
  12. package/dist/chunk-C3KE4QQD.js.map +1 -0
  13. package/dist/{chunk-ECFQDEFL.js → chunk-CJBB6IC3.js} +2 -2
  14. package/dist/chunk-CJBB6IC3.js.map +1 -0
  15. package/dist/{chunk-7KIXQ2XG.js → chunk-E2ETAAGS.js} +1 -1
  16. package/dist/chunk-E2ETAAGS.js.map +1 -0
  17. package/dist/{chunk-N54W2U6W.js → chunk-ET7LVQGA.js} +6 -6
  18. package/dist/chunk-ET7LVQGA.js.map +1 -0
  19. package/dist/{chunk-NOYSHU5U.js → chunk-H5UAFA55.js} +1 -1
  20. package/dist/chunk-H5UAFA55.js.map +1 -0
  21. package/dist/{chunk-MO6GW5AX.js → chunk-HD2SIRFG.js} +3 -3
  22. package/dist/chunk-HD2SIRFG.js.map +1 -0
  23. package/dist/{chunk-2TFJ4SMR.js → chunk-I2WCQBUT.js} +1 -1
  24. package/dist/chunk-I2WCQBUT.js.map +1 -0
  25. package/dist/{chunk-EJ7ZXISQ.js → chunk-JMVSECPD.js} +4 -4
  26. package/dist/{chunk-MWWNTAPV.js → chunk-LDWBA55Q.js} +8 -8
  27. package/dist/chunk-LDWBA55Q.js.map +1 -0
  28. package/dist/{chunk-JJXJXOZ7.js → chunk-LMLSYKLQ.js} +1 -1
  29. package/dist/chunk-LMLSYKLQ.js.map +1 -0
  30. package/dist/{chunk-XPSIP4MN.js → chunk-M4WVOCOX.js} +3 -3
  31. package/dist/chunk-M4WVOCOX.js.map +1 -0
  32. package/dist/{chunk-OHP4OBN2.js → chunk-NEJBDVBN.js} +3 -3
  33. package/dist/chunk-NEJBDVBN.js.map +1 -0
  34. package/dist/{chunk-E2765LHX.js → chunk-ODF3HUKP.js} +1 -1
  35. package/dist/chunk-ODF3HUKP.js.map +1 -0
  36. package/dist/{chunk-RW2ATREO.js → chunk-Q3DHR5EU.js} +2 -2
  37. package/dist/{chunk-ZJHKJGKJ.js → chunk-QBWFQBVX.js} +4 -4
  38. package/dist/{chunk-BMKZFNPD.js → chunk-R4M6UTX2.js} +2 -2
  39. package/dist/chunk-R4M6UTX2.js.map +1 -0
  40. package/dist/{chunk-CGR72YL6.js → chunk-S43JDQR4.js} +2 -2
  41. package/dist/chunk-S43JDQR4.js.map +1 -0
  42. package/dist/{chunk-K3B2RENY.js → chunk-SHOHRD77.js} +2 -2
  43. package/dist/{chunk-TIVOXLDX.js → chunk-UYDFCGB5.js} +1 -1
  44. package/dist/chunk-UYDFCGB5.js.map +1 -0
  45. package/dist/{chunk-HBBXBVK6.js → chunk-WXMOPGIU.js} +3 -3
  46. package/dist/chunk-WXMOPGIU.js.map +1 -0
  47. package/dist/{chunk-GSLJSEUI.js → chunk-YJDMT4LX.js} +1 -1
  48. package/dist/chunk-YJDMT4LX.js.map +1 -0
  49. package/dist/{chunk-652ZEQV7.js → chunk-Z4QS4UEM.js} +7 -7
  50. package/dist/chunk-Z4QS4UEM.js.map +1 -0
  51. package/dist/{chunk-ESMDK5GY.js → chunk-ZGXRYG45.js} +2 -2
  52. package/dist/components/Breadcrumbs/Breadcrumbs.js +1 -1
  53. package/dist/components/Button/Button.js +1 -1
  54. package/dist/components/Checkbox/Checkbox.js +2 -2
  55. package/dist/components/ColorPicker/ColorInput.js +5 -5
  56. package/dist/components/Combobox/Combobox.js +4 -4
  57. package/dist/components/Combobox/Pill.js +2 -2
  58. package/dist/components/Combobox/Select.js +7 -7
  59. package/dist/components/Combobox/TagsInput.js +8 -8
  60. package/dist/components/Dialog/Dialog.js +2 -2
  61. package/dist/components/Dropzone/Dropzone.js +5 -5
  62. package/dist/components/Field/Field.js +2 -2
  63. package/dist/components/Input/Input.js +1 -1
  64. package/dist/components/Menu/Menu.js +4 -4
  65. package/dist/components/Modal/Drawer.js +3 -3
  66. package/dist/components/Modal/Modal.js +3 -3
  67. package/dist/components/Modal/ModalBase.js +2 -2
  68. package/dist/components/NumberFormatter/NumberFormatter.js +1 -1
  69. package/dist/components/PhoneInput/PhoneInput.js +8 -8
  70. package/dist/components/PinInput/PinInput.js +1 -1
  71. package/dist/components/Popover/Popover.js +3 -3
  72. package/dist/components/Portal/Portal.js +1 -1
  73. package/dist/components/Tabs/Tabs.js +1 -1
  74. package/dist/components/TextInput/TextInput.js +3 -3
  75. package/dist/components/ThemeToggle/ThemeToggle.js +3 -3
  76. package/dist/components/Tooltip/Tooltip.js +3 -3
  77. package/dist/{shadcn → compound}/Command.js +8 -8
  78. package/dist/{shadcn → compound}/Dialog.js +7 -7
  79. package/dist/{shadcn → compound}/Floating.js +7 -7
  80. package/dist/{shadcn → compound}/Parts.js +2 -2
  81. package/dist/{shadcn → compound}/shared.js +1 -1
  82. package/dist/index.cjs +8 -8
  83. package/dist/index.cjs.map +1 -1
  84. package/dist/index.d.cts +19 -19
  85. package/dist/index.d.ts +19 -19
  86. package/dist/index.js +57 -57
  87. package/dist/styles.css +3765 -3763
  88. package/package.json +78 -78
  89. package/dist/chunk-2TFJ4SMR.js.map +0 -1
  90. package/dist/chunk-652ZEQV7.js.map +0 -1
  91. package/dist/chunk-7KIXQ2XG.js.map +0 -1
  92. package/dist/chunk-BMKZFNPD.js.map +0 -1
  93. package/dist/chunk-BVUV3Y3X.js.map +0 -1
  94. package/dist/chunk-CGR72YL6.js.map +0 -1
  95. package/dist/chunk-E2765LHX.js.map +0 -1
  96. package/dist/chunk-ECFQDEFL.js.map +0 -1
  97. package/dist/chunk-GSLJSEUI.js.map +0 -1
  98. package/dist/chunk-HBBXBVK6.js.map +0 -1
  99. package/dist/chunk-JJXJXOZ7.js.map +0 -1
  100. package/dist/chunk-MO6GW5AX.js.map +0 -1
  101. package/dist/chunk-MWWNTAPV.js.map +0 -1
  102. package/dist/chunk-N54W2U6W.js.map +0 -1
  103. package/dist/chunk-NOYSHU5U.js.map +0 -1
  104. package/dist/chunk-OHP4OBN2.js.map +0 -1
  105. package/dist/chunk-TIVOXLDX.js.map +0 -1
  106. package/dist/chunk-XPSIP4MN.js.map +0 -1
  107. /package/dist/{chunk-NGXT7GNE.js.map → chunk-3WEM43GB.js.map} +0 -0
  108. /package/dist/{chunk-7EINGVGG.js.map → chunk-55HC4KD7.js.map} +0 -0
  109. /package/dist/{chunk-EYNM2DF5.js.map → chunk-5DBGHVG2.js.map} +0 -0
  110. /package/dist/{chunk-HIYHBWWU.js.map → chunk-5NRRPIJU.js.map} +0 -0
  111. /package/dist/{chunk-JHBUYAOW.js.map → chunk-7ERRBV4L.js.map} +0 -0
  112. /package/dist/{chunk-UYKK6PVB.js.map → chunk-ATEUNLBO.js.map} +0 -0
  113. /package/dist/{chunk-O6A7IBIW.js.map → chunk-BESKNEWG.js.map} +0 -0
  114. /package/dist/{chunk-EJ7ZXISQ.js.map → chunk-JMVSECPD.js.map} +0 -0
  115. /package/dist/{chunk-RW2ATREO.js.map → chunk-Q3DHR5EU.js.map} +0 -0
  116. /package/dist/{chunk-ZJHKJGKJ.js.map → chunk-QBWFQBVX.js.map} +0 -0
  117. /package/dist/{chunk-K3B2RENY.js.map → chunk-SHOHRD77.js.map} +0 -0
  118. /package/dist/{chunk-ESMDK5GY.js.map → chunk-ZGXRYG45.js.map} +0 -0
  119. /package/dist/{shadcn → compound}/Command.js.map +0 -0
  120. /package/dist/{shadcn → compound}/Dialog.js.map +0 -0
  121. /package/dist/{shadcn → compound}/Floating.js.map +0 -0
  122. /package/dist/{shadcn → compound}/Parts.js.map +0 -0
  123. /package/dist/{shadcn → compound}/shared.js.map +0 -0
package/dist/index.d.cts CHANGED
@@ -898,7 +898,7 @@ type LoaderFactory = {
898
898
  */
899
899
  declare const Loader: PolymorphicComponent<LoaderFactory>;
900
900
 
901
- /** shadcn/ui names and the extended names; every one honours `color`. */
901
+ /** Common variant names and the extended names; every one honours `color`. */
902
902
  type ButtonVariant = "default" | "outline" | "secondary" | "ghost" | "destructive" | "success" | "warning" | "info" | "link" | "filled" | "light" | "subtle" | "transparent" | "white" | "gradient";
903
903
  type ButtonSize = "default" | WelloSize | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | `compact-${WelloSize}`;
904
904
  type ButtonStylesNames = "root" | "inner" | "loader" | "section" | "label";
@@ -948,7 +948,7 @@ type ButtonFactory = {
948
948
  };
949
949
  };
950
950
  /**
951
- * Button: the shadcn/ui API (`variant`, `size`, `asChild`) and the extended one (`color`,
951
+ * Button: the common API (`variant`, `size`, `asChild`) and the extended one (`color`,
952
952
  * `leftSection`, `loading`, `component`, Styles API). `color` works with every variant.
953
953
  *
954
954
  * @example
@@ -3687,7 +3687,7 @@ interface InputProps extends BoxProps, StylesApiProps<InputStylesNames, InputPro
3687
3687
  required?: boolean;
3688
3688
  /** Set aria-invalid / aria-describedby. Default: true */
3689
3689
  withAria?: boolean;
3690
- /** Merged into the input (shadcn: classes go on the field) */
3690
+ /** Merged into the input (classes go on the field itself) */
3691
3691
  className?: string;
3692
3692
  /** Keeps the red border off while `error` still shows. Default: true */
3693
3693
  withErrorStyles?: boolean;
@@ -3715,7 +3715,7 @@ declare const inputVarsResolver: (props: {
3715
3715
  "--input-right-section-width": string | undefined;
3716
3716
  };
3717
3717
  /**
3718
- * Styled field: works as a plain `<input>` (shadcn `Input`) and as the base of every
3718
+ * Styled field: works as a plain `<input>` and as the base of every
3719
3719
  * input component (sections, sizes, variants, error state).
3720
3720
  *
3721
3721
  * @example
@@ -3960,7 +3960,7 @@ declare const NumberInput: WelloComponent<{
3960
3960
  ref: HTMLInputElement;
3961
3961
  stylesNames: string;
3962
3962
  }>;
3963
- /** Same as NumberInput (shadcn-style name). */
3963
+ /** Same as NumberInput (alternative name). */
3964
3964
  declare const InputNumber: WelloComponent<{
3965
3965
  props: NumberInputProps;
3966
3966
  ref: HTMLInputElement;
@@ -4111,7 +4111,7 @@ interface CheckboxProps extends BoxProps, StylesApiProps<CheckboxStylesNames, Ch
4111
4111
  defaultChecked?: boolean;
4112
4112
  /** The input change event */
4113
4113
  onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
4114
- /** shadcn style: the new state */
4114
+ /** Called with the new state */
4115
4115
  onCheckedChange?: (checked: boolean) => void;
4116
4116
  /** Dash instead of the check */
4117
4117
  indeterminate?: boolean;
@@ -4166,7 +4166,7 @@ interface CheckboxGroupProps extends Omit<InputWrapperProps, "onChange"> {
4166
4166
  value?: string[];
4167
4167
  defaultValue?: string[];
4168
4168
  onChange?: (value: string[]) => void;
4169
- /** shadcn-style alias of onChange */
4169
+ /** Alias of onChange */
4170
4170
  onValueChange?: (value: string[]) => void;
4171
4171
  disabled?: boolean;
4172
4172
  children?: ReactNode;
@@ -4179,7 +4179,7 @@ declare const CheckboxGroup: WelloComponent<{
4179
4179
  interface RadioProps extends Omit<CheckboxProps, "indeterminate" | "icon" | "onCheckedChange" | "variant" | "iconColor" | "classNames" | "styles" | "vars" | "attributes">, StylesApiProps<CheckboxStylesNames, RadioProps> {
4180
4180
  /** Default: 'filled' */
4181
4181
  variant?: "filled" | "outline";
4182
- /** Label as children (shadcn RadioGroupItem) */
4182
+ /** Label as children (RadioGroupItem) */
4183
4183
  children?: ReactNode;
4184
4184
  }
4185
4185
  /**
@@ -4204,7 +4204,7 @@ interface RadioGroupProps extends Omit<InputWrapperProps, "onChange"> {
4204
4204
  defaultValue?: string | null;
4205
4205
  /** Gets the new value */
4206
4206
  onChange?: (value: string) => void;
4207
- /** shadcn style */
4207
+ /** Alias of onChange, called with the new value */
4208
4208
  onValueChange?: (value: string) => void;
4209
4209
  /** Shared name of the inputs. Default: generated */
4210
4210
  name?: string;
@@ -4218,7 +4218,7 @@ declare const RadioGroup: WelloComponent<{
4218
4218
  ref: HTMLDivElement;
4219
4219
  stylesNames: string;
4220
4220
  }>;
4221
- /** shadcn name: a Radio whose children are the label. */
4221
+ /** A Radio whose children are the label. */
4222
4222
  declare const RadioGroupItem: WelloComponent<{
4223
4223
  props: RadioProps;
4224
4224
  ref: HTMLInputElement;
@@ -4513,7 +4513,7 @@ declare const REGEXP_ONLY_DIGITS = "^\\d+$";
4513
4513
  declare const REGEXP_ONLY_CHARS = "^[a-zA-Z]+$";
4514
4514
  declare const REGEXP_ONLY_DIGITS_AND_CHARS = "^[a-zA-Z0-9]+$";
4515
4515
  /**
4516
- * shadcn-style OTP: lay out the cells with groups and separators.
4516
+ * OTP input built from parts: lay out the cells with groups and separators.
4517
4517
  *
4518
4518
  * @example
4519
4519
  * <InputOTP maxLength={6} pattern={REGEXP_ONLY_DIGITS} value={code} onChange={setCode}>
@@ -4940,7 +4940,7 @@ interface SingleSelectProps<T = any> extends SelectBaseProps<T> {
4940
4940
  defaultValue?: string | number | null;
4941
4941
  /** Value and its option */
4942
4942
  onChange?: (value: any, option: string | number | T | null) => void;
4943
- /** shadcn name: only when there is a value */
4943
+ /** Only when there is a value */
4944
4944
  onValueChange?: (value: string) => void;
4945
4945
  /** Clicking the chosen option again clears it. Default: true */
4946
4946
  allowDeselect?: boolean;
@@ -5449,7 +5449,7 @@ declare const Carousel: WelloComponent<{
5449
5449
  }>;
5450
5450
 
5451
5451
  type TabsStylesNames = "root" | "list" | "tab" | "tabLabel" | "tabSection" | "panel" | "indicator";
5452
- /** `default` (pill with sliding indicator, shadcn look), `line` (underline), `outline` and `pills` */
5452
+ /** `default` (pill with sliding indicator), `line` (underline), `outline` and `pills` */
5453
5453
  type TabsVariant = "default" | "line" | "outline" | "pills";
5454
5454
  interface TabsContextValue {
5455
5455
  value: string | null;
@@ -5472,7 +5472,7 @@ interface TabsProps extends BoxProps, StylesApiProps<TabsStylesNames, TabsProps>
5472
5472
  defaultValue?: string | null;
5473
5473
  /** Gets the new value */
5474
5474
  onChange?: (value: string | null) => void;
5475
- /** shadcn style */
5475
+ /** Called with the new value */
5476
5476
  onValueChange?: (value: string) => void;
5477
5477
  /** Default: 'horizontal' */
5478
5478
  orientation?: "horizontal" | "vertical";
@@ -5497,7 +5497,7 @@ interface TabsProps extends BoxProps, StylesApiProps<TabsStylesNames, TabsProps>
5497
5497
  children?: ReactNode;
5498
5498
  }
5499
5499
  /**
5500
- * Tabs. shadcn parts (TabsList / TabsTrigger / TabsContent with `onValueChange`) or the
5500
+ * Tabs. Composable parts (TabsList / TabsTrigger / TabsContent with `onValueChange`) or the
5501
5501
  * compound parts (Tabs.List / Tabs.Tab / Tabs.Panel with `onChange`).
5502
5502
  *
5503
5503
  * @example
@@ -5524,7 +5524,7 @@ interface TabsListProps extends BoxProps {
5524
5524
  grow?: boolean;
5525
5525
  /** `justify-content` of the tabs */
5526
5526
  justify?: React.CSSProperties["justifyContent"];
5527
- /** shadcn: list look (`default` pill or `line`) */
5527
+ /** List look (`default` pill or `line`) */
5528
5528
  variant?: TabsVariant;
5529
5529
  children?: ReactNode;
5530
5530
  className?: string;
@@ -5562,7 +5562,7 @@ declare const TabsPanel: WelloComponent<{
5562
5562
  ref: HTMLDivElement;
5563
5563
  stylesNames: "panel";
5564
5564
  }>;
5565
- /** shadcn names */
5565
+ /** Part names */
5566
5566
  declare const TabsTrigger: WelloComponent<{
5567
5567
  props: TabsTabProps;
5568
5568
  ref: HTMLButtonElement;
@@ -6111,7 +6111,7 @@ interface PopoverProps extends PopoverProps$1 {
6111
6111
  modal?: boolean;
6112
6112
  }
6113
6113
  /**
6114
- * Popover, shadcn style (`PopoverTrigger` / `PopoverContent` with side + align) or with
6114
+ * Popover, with composable parts (`PopoverTrigger` / `PopoverContent` with side + align) or with
6115
6115
  * `Popover.Target` / `Popover.Dropdown` and `position`.
6116
6116
  *
6117
6117
  * @example
@@ -6193,7 +6193,7 @@ declare namespace TooltipContent {
6193
6193
  var displayName: string;
6194
6194
  }
6195
6195
  /**
6196
- * Tooltip, shadcn style (TooltipTrigger + TooltipContent) or with a `label` prop.
6196
+ * Tooltip, with composable parts (TooltipTrigger + TooltipContent) or with a `label` prop.
6197
6197
  *
6198
6198
  * @example
6199
6199
  * <Tooltip>
package/dist/index.d.ts CHANGED
@@ -898,7 +898,7 @@ type LoaderFactory = {
898
898
  */
899
899
  declare const Loader: PolymorphicComponent<LoaderFactory>;
900
900
 
901
- /** shadcn/ui names and the extended names; every one honours `color`. */
901
+ /** Common variant names and the extended names; every one honours `color`. */
902
902
  type ButtonVariant = "default" | "outline" | "secondary" | "ghost" | "destructive" | "success" | "warning" | "info" | "link" | "filled" | "light" | "subtle" | "transparent" | "white" | "gradient";
903
903
  type ButtonSize = "default" | WelloSize | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | `compact-${WelloSize}`;
904
904
  type ButtonStylesNames = "root" | "inner" | "loader" | "section" | "label";
@@ -948,7 +948,7 @@ type ButtonFactory = {
948
948
  };
949
949
  };
950
950
  /**
951
- * Button: the shadcn/ui API (`variant`, `size`, `asChild`) and the extended one (`color`,
951
+ * Button: the common API (`variant`, `size`, `asChild`) and the extended one (`color`,
952
952
  * `leftSection`, `loading`, `component`, Styles API). `color` works with every variant.
953
953
  *
954
954
  * @example
@@ -3687,7 +3687,7 @@ interface InputProps extends BoxProps, StylesApiProps<InputStylesNames, InputPro
3687
3687
  required?: boolean;
3688
3688
  /** Set aria-invalid / aria-describedby. Default: true */
3689
3689
  withAria?: boolean;
3690
- /** Merged into the input (shadcn: classes go on the field) */
3690
+ /** Merged into the input (classes go on the field itself) */
3691
3691
  className?: string;
3692
3692
  /** Keeps the red border off while `error` still shows. Default: true */
3693
3693
  withErrorStyles?: boolean;
@@ -3715,7 +3715,7 @@ declare const inputVarsResolver: (props: {
3715
3715
  "--input-right-section-width": string | undefined;
3716
3716
  };
3717
3717
  /**
3718
- * Styled field: works as a plain `<input>` (shadcn `Input`) and as the base of every
3718
+ * Styled field: works as a plain `<input>` and as the base of every
3719
3719
  * input component (sections, sizes, variants, error state).
3720
3720
  *
3721
3721
  * @example
@@ -3960,7 +3960,7 @@ declare const NumberInput: WelloComponent<{
3960
3960
  ref: HTMLInputElement;
3961
3961
  stylesNames: string;
3962
3962
  }>;
3963
- /** Same as NumberInput (shadcn-style name). */
3963
+ /** Same as NumberInput (alternative name). */
3964
3964
  declare const InputNumber: WelloComponent<{
3965
3965
  props: NumberInputProps;
3966
3966
  ref: HTMLInputElement;
@@ -4111,7 +4111,7 @@ interface CheckboxProps extends BoxProps, StylesApiProps<CheckboxStylesNames, Ch
4111
4111
  defaultChecked?: boolean;
4112
4112
  /** The input change event */
4113
4113
  onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
4114
- /** shadcn style: the new state */
4114
+ /** Called with the new state */
4115
4115
  onCheckedChange?: (checked: boolean) => void;
4116
4116
  /** Dash instead of the check */
4117
4117
  indeterminate?: boolean;
@@ -4166,7 +4166,7 @@ interface CheckboxGroupProps extends Omit<InputWrapperProps, "onChange"> {
4166
4166
  value?: string[];
4167
4167
  defaultValue?: string[];
4168
4168
  onChange?: (value: string[]) => void;
4169
- /** shadcn-style alias of onChange */
4169
+ /** Alias of onChange */
4170
4170
  onValueChange?: (value: string[]) => void;
4171
4171
  disabled?: boolean;
4172
4172
  children?: ReactNode;
@@ -4179,7 +4179,7 @@ declare const CheckboxGroup: WelloComponent<{
4179
4179
  interface RadioProps extends Omit<CheckboxProps, "indeterminate" | "icon" | "onCheckedChange" | "variant" | "iconColor" | "classNames" | "styles" | "vars" | "attributes">, StylesApiProps<CheckboxStylesNames, RadioProps> {
4180
4180
  /** Default: 'filled' */
4181
4181
  variant?: "filled" | "outline";
4182
- /** Label as children (shadcn RadioGroupItem) */
4182
+ /** Label as children (RadioGroupItem) */
4183
4183
  children?: ReactNode;
4184
4184
  }
4185
4185
  /**
@@ -4204,7 +4204,7 @@ interface RadioGroupProps extends Omit<InputWrapperProps, "onChange"> {
4204
4204
  defaultValue?: string | null;
4205
4205
  /** Gets the new value */
4206
4206
  onChange?: (value: string) => void;
4207
- /** shadcn style */
4207
+ /** Alias of onChange, called with the new value */
4208
4208
  onValueChange?: (value: string) => void;
4209
4209
  /** Shared name of the inputs. Default: generated */
4210
4210
  name?: string;
@@ -4218,7 +4218,7 @@ declare const RadioGroup: WelloComponent<{
4218
4218
  ref: HTMLDivElement;
4219
4219
  stylesNames: string;
4220
4220
  }>;
4221
- /** shadcn name: a Radio whose children are the label. */
4221
+ /** A Radio whose children are the label. */
4222
4222
  declare const RadioGroupItem: WelloComponent<{
4223
4223
  props: RadioProps;
4224
4224
  ref: HTMLInputElement;
@@ -4513,7 +4513,7 @@ declare const REGEXP_ONLY_DIGITS = "^\\d+$";
4513
4513
  declare const REGEXP_ONLY_CHARS = "^[a-zA-Z]+$";
4514
4514
  declare const REGEXP_ONLY_DIGITS_AND_CHARS = "^[a-zA-Z0-9]+$";
4515
4515
  /**
4516
- * shadcn-style OTP: lay out the cells with groups and separators.
4516
+ * OTP input built from parts: lay out the cells with groups and separators.
4517
4517
  *
4518
4518
  * @example
4519
4519
  * <InputOTP maxLength={6} pattern={REGEXP_ONLY_DIGITS} value={code} onChange={setCode}>
@@ -4940,7 +4940,7 @@ interface SingleSelectProps<T = any> extends SelectBaseProps<T> {
4940
4940
  defaultValue?: string | number | null;
4941
4941
  /** Value and its option */
4942
4942
  onChange?: (value: any, option: string | number | T | null) => void;
4943
- /** shadcn name: only when there is a value */
4943
+ /** Only when there is a value */
4944
4944
  onValueChange?: (value: string) => void;
4945
4945
  /** Clicking the chosen option again clears it. Default: true */
4946
4946
  allowDeselect?: boolean;
@@ -5449,7 +5449,7 @@ declare const Carousel: WelloComponent<{
5449
5449
  }>;
5450
5450
 
5451
5451
  type TabsStylesNames = "root" | "list" | "tab" | "tabLabel" | "tabSection" | "panel" | "indicator";
5452
- /** `default` (pill with sliding indicator, shadcn look), `line` (underline), `outline` and `pills` */
5452
+ /** `default` (pill with sliding indicator), `line` (underline), `outline` and `pills` */
5453
5453
  type TabsVariant = "default" | "line" | "outline" | "pills";
5454
5454
  interface TabsContextValue {
5455
5455
  value: string | null;
@@ -5472,7 +5472,7 @@ interface TabsProps extends BoxProps, StylesApiProps<TabsStylesNames, TabsProps>
5472
5472
  defaultValue?: string | null;
5473
5473
  /** Gets the new value */
5474
5474
  onChange?: (value: string | null) => void;
5475
- /** shadcn style */
5475
+ /** Called with the new value */
5476
5476
  onValueChange?: (value: string) => void;
5477
5477
  /** Default: 'horizontal' */
5478
5478
  orientation?: "horizontal" | "vertical";
@@ -5497,7 +5497,7 @@ interface TabsProps extends BoxProps, StylesApiProps<TabsStylesNames, TabsProps>
5497
5497
  children?: ReactNode;
5498
5498
  }
5499
5499
  /**
5500
- * Tabs. shadcn parts (TabsList / TabsTrigger / TabsContent with `onValueChange`) or the
5500
+ * Tabs. Composable parts (TabsList / TabsTrigger / TabsContent with `onValueChange`) or the
5501
5501
  * compound parts (Tabs.List / Tabs.Tab / Tabs.Panel with `onChange`).
5502
5502
  *
5503
5503
  * @example
@@ -5524,7 +5524,7 @@ interface TabsListProps extends BoxProps {
5524
5524
  grow?: boolean;
5525
5525
  /** `justify-content` of the tabs */
5526
5526
  justify?: React.CSSProperties["justifyContent"];
5527
- /** shadcn: list look (`default` pill or `line`) */
5527
+ /** List look (`default` pill or `line`) */
5528
5528
  variant?: TabsVariant;
5529
5529
  children?: ReactNode;
5530
5530
  className?: string;
@@ -5562,7 +5562,7 @@ declare const TabsPanel: WelloComponent<{
5562
5562
  ref: HTMLDivElement;
5563
5563
  stylesNames: "panel";
5564
5564
  }>;
5565
- /** shadcn names */
5565
+ /** Part names */
5566
5566
  declare const TabsTrigger: WelloComponent<{
5567
5567
  props: TabsTabProps;
5568
5568
  ref: HTMLButtonElement;
@@ -6111,7 +6111,7 @@ interface PopoverProps extends PopoverProps$1 {
6111
6111
  modal?: boolean;
6112
6112
  }
6113
6113
  /**
6114
- * Popover, shadcn style (`PopoverTrigger` / `PopoverContent` with side + align) or with
6114
+ * Popover, with composable parts (`PopoverTrigger` / `PopoverContent` with side + align) or with
6115
6115
  * `Popover.Target` / `Popover.Dropdown` and `position`.
6116
6116
  *
6117
6117
  * @example
@@ -6193,7 +6193,7 @@ declare namespace TooltipContent {
6193
6193
  var displayName: string;
6194
6194
  }
6195
6195
  /**
6196
- * Tooltip, shadcn style (TooltipTrigger + TooltipContent) or with a `label` prop.
6196
+ * Tooltip, with composable parts (TooltipTrigger + TooltipContent) or with a `label` prop.
6197
6197
  *
6198
6198
  * @example
6199
6199
  * <Tooltip>
package/dist/index.js CHANGED
@@ -11,11 +11,11 @@ import {
11
11
  PasswordInput,
12
12
  TextInput,
13
13
  Textarea
14
- } from "./chunk-7S7RIVCI.js";
14
+ } from "./chunk-A6YBE2SX.js";
15
15
  import {
16
16
  ThemeToggle,
17
17
  ThemeToggleButton
18
- } from "./chunk-EJ7ZXISQ.js";
18
+ } from "./chunk-JMVSECPD.js";
19
19
  import {
20
20
  Timeline,
21
21
  TimelineItem
@@ -29,13 +29,13 @@ import {
29
29
  import {
30
30
  SimpleGrid
31
31
  } from "./chunk-QIS6W7Q6.js";
32
- import {
33
- Spoiler
34
- } from "./chunk-YTI5AZL4.js";
35
32
  import {
36
33
  RangeSlider,
37
34
  Slider
38
35
  } from "./chunk-CVIHRO4Q.js";
36
+ import {
37
+ Spoiler
38
+ } from "./chunk-YTI5AZL4.js";
39
39
  import {
40
40
  Stack
41
41
  } from "./chunk-E74HEMFS.js";
@@ -54,7 +54,7 @@ import {
54
54
  TabsTrigger,
55
55
  tabsListVariants,
56
56
  useTabsContext
57
- } from "./chunk-GSLJSEUI.js";
57
+ } from "./chunk-YJDMT4LX.js";
58
58
  import {
59
59
  Paper
60
60
  } from "./chunk-B3LVDQJU.js";
@@ -65,7 +65,7 @@ import {
65
65
  matchesPhoneStartingNumber,
66
66
  normalizeStartingNumber,
67
67
  resolvePhoneCountry
68
- } from "./chunk-EYNM2DF5.js";
68
+ } from "./chunk-5DBGHVG2.js";
69
69
  import {
70
70
  Skeleton
71
71
  } from "./chunk-TVOR2RGE.js";
@@ -78,7 +78,7 @@ import {
78
78
  REGEXP_ONLY_CHARS,
79
79
  REGEXP_ONLY_DIGITS,
80
80
  REGEXP_ONLY_DIGITS_AND_CHARS
81
- } from "./chunk-E2765LHX.js";
81
+ } from "./chunk-ODF3HUKP.js";
82
82
  import {
83
83
  Progress
84
84
  } from "./chunk-HESG7OWV.js";
@@ -99,7 +99,7 @@ import {
99
99
  import {
100
100
  NumberFormatter,
101
101
  formatNumber
102
- } from "./chunk-TIVOXLDX.js";
102
+ } from "./chunk-UYDFCGB5.js";
103
103
  import {
104
104
  DOTS,
105
105
  Pagination,
@@ -110,13 +110,13 @@ import {
110
110
  Grid,
111
111
  GridCol
112
112
  } from "./chunk-HSJ27BGL.js";
113
+ import {
114
+ Group
115
+ } from "./chunk-2A6MTZBO.js";
113
116
  import {
114
117
  BackgroundImage,
115
118
  Image
116
119
  } from "./chunk-L5MO7VKZ.js";
117
- import {
118
- Group
119
- } from "./chunk-2A6MTZBO.js";
120
120
  import {
121
121
  Indicator
122
122
  } from "./chunk-2GM6477D.js";
@@ -129,11 +129,11 @@ import {
129
129
  } from "./chunk-FR7TZXY3.js";
130
130
  import {
131
131
  Dialog
132
- } from "./chunk-K3B2RENY.js";
132
+ } from "./chunk-SHOHRD77.js";
133
133
  import {
134
134
  Dropzone,
135
135
  formatFileSize
136
- } from "./chunk-NGXT7GNE.js";
136
+ } from "./chunk-3WEM43GB.js";
137
137
  import {
138
138
  FileButton
139
139
  } from "./chunk-ZVXCVBC4.js";
@@ -142,7 +142,7 @@ import {
142
142
  } from "./chunk-BZ222ZYD.js";
143
143
  import {
144
144
  ColorInput
145
- } from "./chunk-XPSIP4MN.js";
145
+ } from "./chunk-M4WVOCOX.js";
146
146
  import {
147
147
  AlphaSlider,
148
148
  ColorPicker,
@@ -159,13 +159,13 @@ import {
159
159
  } from "./chunk-MWYGXAJQ.js";
160
160
  import {
161
161
  Select
162
- } from "./chunk-N54W2U6W.js";
162
+ } from "./chunk-ET7LVQGA.js";
163
163
  import {
164
164
  EmptyState
165
165
  } from "./chunk-DHAMBKCR.js";
166
166
  import {
167
167
  TagsInput
168
- } from "./chunk-ZJHKJGKJ.js";
168
+ } from "./chunk-QBWFQBVX.js";
169
169
  import {
170
170
  Field,
171
171
  FieldContent,
@@ -188,13 +188,13 @@ import {
188
188
  Label,
189
189
  labelVariants,
190
190
  toItem
191
- } from "./chunk-CGR72YL6.js";
191
+ } from "./chunk-S43JDQR4.js";
192
192
  import {
193
193
  Pill,
194
194
  PillGroup,
195
195
  PillsInput,
196
196
  PillsInputField
197
- } from "./chunk-UYKK6PVB.js";
197
+ } from "./chunk-ATEUNLBO.js";
198
198
  import {
199
199
  CheckIcon,
200
200
  Combobox,
@@ -211,7 +211,7 @@ import {
211
211
  ComboboxTarget,
212
212
  useCombobox,
213
213
  useComboboxContext
214
- } from "./chunk-HIYHBWWU.js";
214
+ } from "./chunk-5NRRPIJU.js";
215
215
  import {
216
216
  Container
217
217
  } from "./chunk-RJK6AQEW.js";
@@ -236,7 +236,7 @@ import {
236
236
  Switch,
237
237
  SwitchGroup,
238
238
  ToggleLabel
239
- } from "./chunk-ECFQDEFL.js";
239
+ } from "./chunk-CJBB6IC3.js";
240
240
  import {
241
241
  Input,
242
242
  InputBase,
@@ -249,7 +249,7 @@ import {
249
249
  inputVarsResolver,
250
250
  splitInputProps,
251
251
  useInputWrapperContext
252
- } from "./chunk-JJXJXOZ7.js";
252
+ } from "./chunk-LMLSYKLQ.js";
253
253
  import {
254
254
  Chip,
255
255
  ChipGroup,
@@ -263,15 +263,15 @@ import {
263
263
  Mark,
264
264
  highlighter
265
265
  } from "./chunk-ZMR3K4MX.js";
266
- import {
267
- Alert
268
- } from "./chunk-4L4RMGVI.js";
269
266
  import {
270
267
  Anchor
271
268
  } from "./chunk-DJR6BSCZ.js";
272
269
  import {
273
270
  Text
274
271
  } from "./chunk-3E3X5RLN.js";
272
+ import {
273
+ Alert
274
+ } from "./chunk-4L4RMGVI.js";
275
275
  import {
276
276
  Avatar,
277
277
  AvatarGroup,
@@ -280,6 +280,9 @@ import {
280
280
  import {
281
281
  Badge
282
282
  } from "./chunk-XAHR3DK7.js";
283
+ import {
284
+ Blockquote
285
+ } from "./chunk-QFN4MBT2.js";
283
286
  import {
284
287
  Breadcrumb,
285
288
  BreadcrumbEllipsis,
@@ -289,27 +292,10 @@ import {
289
292
  BreadcrumbPage,
290
293
  BreadcrumbSeparator,
291
294
  Breadcrumbs
292
- } from "./chunk-NOYSHU5U.js";
293
- import {
294
- Blockquote
295
- } from "./chunk-QFN4MBT2.js";
295
+ } from "./chunk-H5UAFA55.js";
296
296
  import {
297
297
  Burger
298
298
  } from "./chunk-GGRLDV5L.js";
299
- import "./chunk-G7EIISMY.js";
300
- import {
301
- buildViewTransitionCss,
302
- runViewTransition,
303
- useViewTransition
304
- } from "./chunk-B3KTN3DO.js";
305
- import {
306
- clearFetchCache,
307
- createApiClient,
308
- readListResponse,
309
- useApi,
310
- useEndpointLoaders,
311
- useFetch
312
- } from "./chunk-DCC7EE67.js";
313
299
  import {
314
300
  Command,
315
301
  CommandDialog,
@@ -320,7 +306,7 @@ import {
320
306
  CommandList,
321
307
  CommandSeparator,
322
308
  CommandShortcut
323
- } from "./chunk-HBBXBVK6.js";
309
+ } from "./chunk-WXMOPGIU.js";
324
310
  import {
325
311
  AlertDialog,
326
312
  AlertDialogAction,
@@ -349,15 +335,15 @@ import {
349
335
  SheetHeader,
350
336
  SheetTitle,
351
337
  SheetTrigger
352
- } from "./chunk-652ZEQV7.js";
338
+ } from "./chunk-Z4QS4UEM.js";
353
339
  import {
354
340
  Drawer,
355
341
  DrawerRoot
356
- } from "./chunk-O6A7IBIW.js";
342
+ } from "./chunk-BESKNEWG.js";
357
343
  import {
358
344
  Modal,
359
345
  ModalRoot
360
- } from "./chunk-7EINGVGG.js";
346
+ } from "./chunk-55HC4KD7.js";
361
347
  import {
362
348
  ModalBaseBody,
363
349
  ModalBaseCloseButton,
@@ -368,7 +354,7 @@ import {
368
354
  ModalBaseTitle,
369
355
  sizeValue,
370
356
  useModalContext
371
- } from "./chunk-ESMDK5GY.js";
357
+ } from "./chunk-ZGXRYG45.js";
372
358
  import {
373
359
  LoadingOverlay,
374
360
  Overlay
@@ -378,7 +364,7 @@ import {
378
364
  ButtonGroup,
379
365
  ButtonGroupSection,
380
366
  buttonVariants
381
- } from "./chunk-7KIXQ2XG.js";
367
+ } from "./chunk-E2ETAAGS.js";
382
368
  import {
383
369
  CloseButton,
384
370
  CloseIcon
@@ -418,10 +404,10 @@ import {
418
404
  TooltipContent,
419
405
  TooltipProvider,
420
406
  TooltipTrigger
421
- } from "./chunk-MWWNTAPV.js";
407
+ } from "./chunk-LDWBA55Q.js";
422
408
  import {
423
409
  TooltipFloating
424
- } from "./chunk-JHBUYAOW.js";
410
+ } from "./chunk-7ERRBV4L.js";
425
411
  import {
426
412
  Menu,
427
413
  MenuDivider,
@@ -429,18 +415,18 @@ import {
429
415
  MenuItem,
430
416
  MenuLabel,
431
417
  MenuTarget
432
- } from "./chunk-RW2ATREO.js";
418
+ } from "./chunk-Q3DHR5EU.js";
433
419
  import {
434
420
  PopoverDropdown,
435
421
  PopoverTarget,
436
422
  usePopoverContext
437
- } from "./chunk-OHP4OBN2.js";
438
- import "./chunk-BVUV3Y3X.js";
423
+ } from "./chunk-NEJBDVBN.js";
424
+ import "./chunk-C3KE4QQD.js";
439
425
  import "./chunk-AZ4WBNXD.js";
440
426
  import {
441
427
  OptionalPortal,
442
428
  Portal
443
- } from "./chunk-2TFJ4SMR.js";
429
+ } from "./chunk-I2WCQBUT.js";
444
430
  import {
445
431
  Transition,
446
432
  transitionStyles,
@@ -466,7 +452,7 @@ import {
466
452
  TableHead,
467
453
  TableHeader,
468
454
  TableRow
469
- } from "./chunk-MO6GW5AX.js";
455
+ } from "./chunk-HD2SIRFG.js";
470
456
  import {
471
457
  Table,
472
458
  TableCaption,
@@ -481,7 +467,21 @@ import {
481
467
  import {
482
468
  Divider
483
469
  } from "./chunk-TIZEUZHC.js";
484
- import "./chunk-BMKZFNPD.js";
470
+ import "./chunk-R4M6UTX2.js";
471
+ import "./chunk-G7EIISMY.js";
472
+ import {
473
+ buildViewTransitionCss,
474
+ runViewTransition,
475
+ useViewTransition
476
+ } from "./chunk-B3KTN3DO.js";
477
+ import {
478
+ clearFetchCache,
479
+ createApiClient,
480
+ readListResponse,
481
+ useApi,
482
+ useEndpointLoaders,
483
+ useFetch
484
+ } from "./chunk-DCC7EE67.js";
485
485
  import {
486
486
  Slot
487
487
  } from "./chunk-MYHAWRIV.js";