dgz-ui 1.4.7 → 1.4.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 (140) hide show
  1. package/dist/breadcrumb/index.cjs.js +1 -1
  2. package/dist/breadcrumb/index.es.js +1 -1
  3. package/dist/calendar/index.cjs.js +1 -1
  4. package/dist/calendar/index.es.js +1 -1
  5. package/dist/carousel/index.cjs.js +3 -3
  6. package/dist/carousel/index.cjs.js.map +1 -1
  7. package/dist/carousel/index.es.js +341 -340
  8. package/dist/carousel/index.es.js.map +1 -1
  9. package/dist/chunks/alert-dialog-CI_hZyxN.es.js.map +1 -1
  10. package/dist/chunks/alert-dialog-CYT3LDhH.cjs.js.map +1 -1
  11. package/dist/chunks/breadcrumb-BtO0mD2u.es.js +82 -0
  12. package/dist/chunks/breadcrumb-BtO0mD2u.es.js.map +1 -0
  13. package/dist/chunks/breadcrumb-DKVYizoh.cjs.js +2 -0
  14. package/dist/chunks/breadcrumb-DKVYizoh.cjs.js.map +1 -0
  15. package/dist/chunks/card-B87RYuvO.es.js.map +1 -1
  16. package/dist/chunks/card-Dokrjefn.cjs.js.map +1 -1
  17. package/dist/chunks/collapsible-CBOSWBKB.cjs.js.map +1 -1
  18. package/dist/chunks/collapsible-Ddd6kxXS.es.js.map +1 -1
  19. package/dist/chunks/dialog-Cb_DS5IV.es.js +105 -0
  20. package/dist/chunks/dialog-Cb_DS5IV.es.js.map +1 -0
  21. package/dist/chunks/dialog-pRz31cHo.cjs.js +2 -0
  22. package/dist/chunks/dialog-pRz31cHo.cjs.js.map +1 -0
  23. package/dist/chunks/dropdown-menu-BNURsvIJ.cjs.js.map +1 -1
  24. package/dist/chunks/dropdown-menu-CJTcrFP2.es.js.map +1 -1
  25. package/dist/chunks/pagination-CJiUbpUN.cjs.js +2 -0
  26. package/dist/chunks/pagination-CJiUbpUN.cjs.js.map +1 -0
  27. package/dist/chunks/pagination-aJ9Z0Ux9.es.js +113 -0
  28. package/dist/chunks/pagination-aJ9Z0Ux9.es.js.map +1 -0
  29. package/dist/chunks/popover-ChtTV2vy.es.js.map +1 -1
  30. package/dist/chunks/popover-cRDGBSyg.cjs.js.map +1 -1
  31. package/dist/chunks/scroll-area-sLp4wPce.cjs.js.map +1 -1
  32. package/dist/chunks/scroll-area-x2hiTYmL.es.js.map +1 -1
  33. package/dist/chunks/separator-DndNTVv8.es.js.map +1 -1
  34. package/dist/chunks/separator-uzP1VAwc.cjs.js.map +1 -1
  35. package/dist/chunks/sheet-BXSDa9XT.cjs.js +2 -0
  36. package/dist/chunks/sheet-BXSDa9XT.cjs.js.map +1 -0
  37. package/dist/chunks/{sheet-to_YuZ1x.es.js → sheet-hwgCcvpv.es.js} +35 -33
  38. package/dist/chunks/sheet-hwgCcvpv.es.js.map +1 -0
  39. package/dist/chunks/skeleton-DV_2OytH.es.js.map +1 -1
  40. package/dist/chunks/skeleton-ZHnXbbz7.cjs.js.map +1 -1
  41. package/dist/chunks/table-C-g7CjMt.cjs.js.map +1 -1
  42. package/dist/chunks/table-QbNlEa1M.es.js.map +1 -1
  43. package/dist/chunks/tabs-BNEY7wMF.cjs.js.map +1 -1
  44. package/dist/chunks/tabs-DUuliV4A.es.js.map +1 -1
  45. package/dist/chunks/textarea-C2I19p_j.cjs.js.map +1 -1
  46. package/dist/chunks/textarea-D9gE4ALW.es.js.map +1 -1
  47. package/dist/chunks/{timepicker-tBjjq8Ap.es.js → timepicker-BdDhd6Ax.es.js} +99 -99
  48. package/dist/chunks/{timepicker-tBjjq8Ap.es.js.map → timepicker-BdDhd6Ax.es.js.map} +1 -1
  49. package/dist/chunks/{timepicker-Ba47st2A.cjs.js → timepicker-C67I2BIy.cjs.js} +3 -3
  50. package/dist/chunks/{timepicker-Ba47st2A.cjs.js.map → timepicker-C67I2BIy.cjs.js.map} +1 -1
  51. package/dist/chunks/tooltip-DD-snel0.cjs.js.map +1 -1
  52. package/dist/chunks/tooltip-DHg9332v.es.js.map +1 -1
  53. package/dist/dialog/index.cjs.js +1 -1
  54. package/dist/dialog/index.es.js +1 -1
  55. package/dist/index.cjs.js +1 -1
  56. package/dist/index.es.js +5 -5
  57. package/dist/pagination/index.cjs.js +1 -1
  58. package/dist/pagination/index.es.js +1 -1
  59. package/dist/progress/index.cjs.js.map +1 -1
  60. package/dist/progress/index.es.js.map +1 -1
  61. package/dist/sheet/index.cjs.js +1 -1
  62. package/dist/sheet/index.es.js +1 -1
  63. package/dist/styles.css +1 -1
  64. package/dist/types/stories/Button.d.ts +15 -0
  65. package/dist/types/stories/Button.d.ts.map +1 -0
  66. package/dist/types/stories/Button.stories.d.ts +24 -0
  67. package/dist/types/stories/Button.stories.d.ts.map +1 -0
  68. package/dist/types/stories/Header.d.ts +12 -0
  69. package/dist/types/stories/Header.d.ts.map +1 -0
  70. package/dist/types/stories/Header.stories.d.ts +19 -0
  71. package/dist/types/stories/Header.stories.d.ts.map +1 -0
  72. package/dist/types/stories/Page.d.ts +3 -0
  73. package/dist/types/stories/Page.d.ts.map +1 -0
  74. package/dist/types/stories/Page.stories.d.ts +13 -0
  75. package/dist/types/stories/Page.stories.d.ts.map +1 -0
  76. package/dist/types/types/element-data.type.d.ts +4 -0
  77. package/dist/types/types/element-data.type.d.ts.map +1 -1
  78. package/dist/types/ui/alert-dialog/alert-dialog.d.ts +8 -0
  79. package/dist/types/ui/alert-dialog/alert-dialog.d.ts.map +1 -1
  80. package/dist/types/ui/breadcrumb/breadcrumb.d.ts +6 -4
  81. package/dist/types/ui/breadcrumb/breadcrumb.d.ts.map +1 -1
  82. package/dist/types/ui/calendar/datepicker.d.ts +1 -1
  83. package/dist/types/ui/calendar/datepicker.d.ts.map +1 -1
  84. package/dist/types/ui/calendar/timepicker.d.ts +5 -2
  85. package/dist/types/ui/calendar/timepicker.d.ts.map +1 -1
  86. package/dist/types/ui/card/card.d.ts +8 -0
  87. package/dist/types/ui/card/card.d.ts.map +1 -1
  88. package/dist/types/ui/carousel/carousel.d.ts +53 -0
  89. package/dist/types/ui/carousel/carousel.d.ts.map +1 -1
  90. package/dist/types/ui/collapsible/collapsible.d.ts +3 -0
  91. package/dist/types/ui/collapsible/collapsible.d.ts.map +1 -1
  92. package/dist/types/ui/dialog/dialog.d.ts +19 -0
  93. package/dist/types/ui/dialog/dialog.d.ts.map +1 -1
  94. package/dist/types/ui/dropdown/dropdown-menu.d.ts +18 -0
  95. package/dist/types/ui/dropdown/dropdown-menu.d.ts.map +1 -1
  96. package/dist/types/ui/form/checkbox.d.ts +3 -1
  97. package/dist/types/ui/form/checkbox.d.ts.map +1 -1
  98. package/dist/types/ui/form/input.d.ts +13 -0
  99. package/dist/types/ui/form/input.d.ts.map +1 -1
  100. package/dist/types/ui/form/label.d.ts +1 -1
  101. package/dist/types/ui/form/radio-group.d.ts +2 -1
  102. package/dist/types/ui/form/radio-group.d.ts.map +1 -1
  103. package/dist/types/ui/form/select.d.ts +43 -0
  104. package/dist/types/ui/form/select.d.ts.map +1 -1
  105. package/dist/types/ui/form/switch.d.ts +3 -1
  106. package/dist/types/ui/form/switch.d.ts.map +1 -1
  107. package/dist/types/ui/form/textarea.d.ts +1 -0
  108. package/dist/types/ui/form/textarea.d.ts.map +1 -1
  109. package/dist/types/ui/pagination/pagination.d.ts +7 -7
  110. package/dist/types/ui/pagination/pagination.d.ts.map +1 -1
  111. package/dist/types/ui/popover/popover.d.ts +3 -1
  112. package/dist/types/ui/popover/popover.d.ts.map +1 -1
  113. package/dist/types/ui/progress/progress.d.ts +1 -1
  114. package/dist/types/ui/scroll-area/scroll-area.d.ts +2 -2
  115. package/dist/types/ui/separator/separator.d.ts +1 -1
  116. package/dist/types/ui/sheet/sheet.d.ts.map +1 -1
  117. package/dist/types/ui/skeleton/skeleton.d.ts +1 -0
  118. package/dist/types/ui/skeleton/skeleton.d.ts.map +1 -1
  119. package/dist/types/ui/tab/tabs.d.ts +3 -1
  120. package/dist/types/ui/tab/tabs.d.ts.map +1 -1
  121. package/dist/types/ui/table/table.d.ts +8 -0
  122. package/dist/types/ui/table/table.d.ts.map +1 -1
  123. package/dist/types/ui/tooltip/tooltip.d.ts +1 -0
  124. package/dist/types/ui/tooltip/tooltip.d.ts.map +1 -1
  125. package/package.json +17 -3
  126. package/dist/chunks/breadcrumb-D-Wgwp2Z.es.js +0 -78
  127. package/dist/chunks/breadcrumb-D-Wgwp2Z.es.js.map +0 -1
  128. package/dist/chunks/breadcrumb-RLwumNZG.cjs.js +0 -2
  129. package/dist/chunks/breadcrumb-RLwumNZG.cjs.js.map +0 -1
  130. package/dist/chunks/dialog-B3q0NLcE.es.js +0 -101
  131. package/dist/chunks/dialog-B3q0NLcE.es.js.map +0 -1
  132. package/dist/chunks/dialog-OejLEg29.cjs.js +0 -2
  133. package/dist/chunks/dialog-OejLEg29.cjs.js.map +0 -1
  134. package/dist/chunks/pagination-CLm98Oot.es.js +0 -103
  135. package/dist/chunks/pagination-CLm98Oot.es.js.map +0 -1
  136. package/dist/chunks/pagination-DsZd3LTv.cjs.js +0 -2
  137. package/dist/chunks/pagination-DsZd3LTv.cjs.js.map +0 -1
  138. package/dist/chunks/sheet-DvcqCxaD.cjs.js +0 -2
  139. package/dist/chunks/sheet-DvcqCxaD.cjs.js.map +0 -1
  140. package/dist/chunks/sheet-to_YuZ1x.es.js.map +0 -1
@@ -3,17 +3,30 @@ import * as React from 'react';
3
3
  /**
4
4
  * Input style variants using CVA.
5
5
  * @property {'default'|'failure'} variant - Visual state of the input.
6
+ * @example
7
+ * ```tsx
8
+ * <Input variant="default" />
9
+ * <Input variant="failure" />
10
+ * ```
6
11
  */
7
12
  declare const inputVariants: (props?: ({
8
13
  variant?: "default" | "failure" | null | undefined;
9
14
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
10
15
  /**
11
16
  * Props for the Input component.
17
+ * @property {string} [className] - Additional CSS classes for the input.
18
+ * @property {string} [type='text'] - The type of the input (e.g., 'text', 'password', 'email').
19
+ * @property {'default'|'failure'} [variant='default'] - Visual state of the input, mapping to `inputVariants`.
12
20
  */
13
21
  export interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {
14
22
  }
15
23
  /**
16
24
  * Input - Text input with optional password visibility toggle.
25
+ * @returns {JSX.Element} The rendered Input component.
26
+ * @example
27
+ * ```tsx
28
+ * <Input placeholder="Enter your name" />
29
+ * ```
17
30
  */
18
31
  declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
19
32
  export { Input, inputVariants };
@@ -1 +1 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE;;;GAGG;AACH,QAAA,MAAM,aAAa;;8EAkBlB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,EACnC,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC;;GAEG;AACH,QAAA,MAAM,KAAK,kGAsCV,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE;;;;;;;;GAQG;AACH,QAAA,MAAM,aAAa;;8EAkBlB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,EACnC,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC;;;;;;;GAOG;AACH,QAAA,MAAM,KAAK,kGAsCV,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
@@ -3,7 +3,7 @@ import * as LabelPrimitive from '@radix-ui/react-label';
3
3
  import * as React from 'react';
4
4
  /**
5
5
  * Label - Accessible form label built on Radix Label.
6
- *
6
+ * @returns {JSX.Element} The rendered Label component.
7
7
  * @component
8
8
  */
9
9
  declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import('class-variance-authority/types').ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
@@ -6,12 +6,13 @@ import * as React from 'react';
6
6
  type RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
7
7
  /**
8
8
  * RadioGroup - Group of radio inputs that allows selecting a single option.
9
- *
9
+ * @returns {JSX.Element} The rendered RadioGroup component.
10
10
  * @component
11
11
  */
12
12
  declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
13
  /**
14
14
  * RadioGroupItem - Individual radio option used within RadioGroup.
15
+ * @returns {JSX.Element} The rendered RadioGroupItem component.
15
16
  */
16
17
  declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
17
18
  export { RadioGroup, RadioGroupItem, type RadioGroupProps };
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;GAEG;AACH,KAAK,eAAe,GAAG,KAAK,CAAC,wBAAwB,CACnD,OAAO,mBAAmB,CAAC,IAAI,CAChC,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,UAAU,+JAWd,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,cAAc,yKAkBlB,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,KAAK,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;GAEG;AACH,KAAK,eAAe,GAAG,KAAK,CAAC,wBAAwB,CACnD,OAAO,mBAAmB,CAAC,IAAI,CAChC,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,UAAU,+JAWd,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,cAAc,yKAkBlB,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,KAAK,eAAe,EAAE,CAAC"}
@@ -3,6 +3,24 @@ import * as SelectPrimitive from '@radix-ui/react-select';
3
3
  import * as React from 'react';
4
4
  /**
5
5
  * Select primitives built on Radix Select for accessible dropdowns.
6
+ * @example
7
+ * ```tsx
8
+ * <Select>
9
+ * <SelectTrigger className="w-[180px]">
10
+ * <SelectValue placeholder="Select a fruit" />
11
+ * </SelectTrigger>
12
+ * <SelectContent>
13
+ * <SelectGroup>
14
+ * <SelectLabel>Fruits</SelectLabel>
15
+ * <SelectItem value="apple">Apple</SelectItem>
16
+ * <SelectItem value="banana">Banana</SelectItem>
17
+ * <SelectItem value="blueberry">Blueberry</SelectItem>
18
+ * <SelectItem value="grapes">Grapes</SelectItem>
19
+ * <SelectItem value="pineapple">Pineapple</SelectItem>
20
+ * </SelectGroup>
21
+ * </SelectContent>
22
+ * </Select>
23
+ * ```
6
24
  */
7
25
  declare const Select: React.FC<SelectPrimitive.SelectProps>;
8
26
  declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -15,32 +33,45 @@ export type SelectTriggerProps = React.ComponentPropsWithoutRef<typeof SelectPri
15
33
  };
16
34
  /**
17
35
  * SelectTrigger - The trigger button for the Select.
36
+ * @returns {JSX.Element} The rendered SelectTrigger component.
37
+ * @example
38
+ * ```tsx
39
+ * <SelectTrigger className="w-[180px]">
40
+ * <SelectValue placeholder="Select a fruit" />
41
+ * </SelectTrigger>
42
+ * ```
18
43
  */
19
44
  declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
20
45
  variant?: "default" | "failure";
21
46
  } & React.RefAttributes<HTMLButtonElement>>;
22
47
  /**
23
48
  * SelectScrollUpButton - Scrolls the Select viewport up.
49
+ * @returns {JSX.Element} The rendered SelectScrollUpButton component.
24
50
  */
25
51
  declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
26
52
  /**
27
53
  * SelectScrollDownButton - Scrolls the Select viewport down.
54
+ * @returns {JSX.Element} The rendered SelectScrollDownButton component.
28
55
  */
29
56
  declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
57
  /**
31
58
  * SelectContent - Popup container for Select options.
59
+ * @returns {JSX.Element} The rendered SelectContent component.
32
60
  */
33
61
  declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
34
62
  /**
35
63
  * SelectLabel - Label for a group of Select items.
64
+ * @returns {JSX.Element} The rendered SelectLabel component.
36
65
  */
37
66
  declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
38
67
  /**
39
68
  * SelectItem - A single option row within the Select.
69
+ * @returns {JSX.Element} The rendered SelectItem component.
40
70
  */
41
71
  declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
42
72
  /**
43
73
  * SelectSeparator - Visual separator within the list of Select options.
74
+ * @returns {JSX.Element} The rendered SelectSeparator component.
44
75
  */
45
76
  declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
46
77
  export type VirtualizedSelectContentProps = Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>, 'children'> & {
@@ -48,6 +79,18 @@ export type VirtualizedSelectContentProps = Omit<React.ComponentPropsWithoutRef<
48
79
  maxHeight?: number;
49
80
  options: Option[];
50
81
  };
82
+ /**
83
+ * VirtualizedSelectContent - A virtualized popup container for Select options, optimized for large lists.
84
+ * Uses `react-window` for efficient rendering.
85
+ * @augments {React.ForwardRefExoticComponent<Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>, 'children'> & {itemHeight?: number;maxHeight?: number;options: Option[];} & React.RefAttributes<HTMLDivElement>>}
86
+ * @param {object} props - The props for the VirtualizedSelectContent component.
87
+ * @param {string} [props.className] - Additional CSS classes.
88
+ * @param {Option[]} props.options - The array of options to display in the select.
89
+ * @param {'popper' | 'item-aligned'} [props.position='popper'] - The positioning strategy for the content.
90
+ * @param {number} [props.itemHeight=35] - The height of each item in the virtualized list.
91
+ * @param {number} [props.maxHeight=300] - The maximum height of the virtualized list.
92
+ * @returns {JSX.Element} The rendered VirtualizedSelectContent component.
93
+ */
51
94
  declare const VirtualizedSelectContent: React.ForwardRefExoticComponent<Omit<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "children"> & {
52
95
  itemHeight?: number;
53
96
  maxHeight?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;GAEG;AACH,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,WAAW,yGAAwB,CAAC;AAE1C,QAAA,MAAM,WAAW,0GAAwB,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAC7D,OAAO,eAAe,CAAC,OAAO,CAC/B,GAAG;IACF,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,aAAa;cANP,SAAS,GAAG,SAAS;2CAyB/B,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,oBAAoB,qKAcxB,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,sBAAsB,uKAc1B,CAAC;AAIH;;GAEG;AACH,QAAA,MAAM,aAAa,8JA6BjB,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,WAAW,4JASf,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,UAAU,2JAoBd,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,eAAe,gKASnB,CAAC;AAGH,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAC9C,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,UAAU,CACX,GAAG;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,wBAAwB;iBALf,MAAM;gBACP,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AAC,EAC9D,UAAU,CACX,GAAG;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,wBAAwB;iBAjBf,MAAM;gBACP,MAAM;aACT,MAAM,EAAE;wCAkElB,CAAC;AAIF,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,EACX,wBAAwB,GACzB,CAAC"}
@@ -2,11 +2,13 @@ import * as SwitchPrimitives from '@radix-ui/react-switch';
2
2
  import * as React from 'react';
3
3
  /**
4
4
  * Props for the Switch component. Extends Radix Switch Root props.
5
+ * @property {boolean} [checked] - The checked state of the switch.
6
+ * @property {boolean} [disabled] - If true, the switch will be disabled.
5
7
  */
6
8
  export type SwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;
7
9
  /**
8
10
  * Switch - A toggle control for binary options.
9
- *
11
+ * @returns {JSX.Element} The rendered Switch component.
10
12
  * @component
11
13
  */
12
14
  declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,wBAAwB,CACtD,OAAO,gBAAgB,CAAC,IAAI,CAC7B,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,MAAM,8JAkBV,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,wBAAwB,CACtD,OAAO,gBAAgB,CAAC,IAAI,CAC7B,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,MAAM,8JAkBV,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -12,6 +12,7 @@ export type TextareaProps = React.ComponentProps<'textarea'> & VariantProps<type
12
12
  * @param {object} props - The properties for the component.
13
13
  * @param {string} [props.className] - Additional classes for the textarea.
14
14
  * @param {string} [props.variant] - The variant of the textarea.
15
+ * @returns {JSX.Element} The rendered Textarea component.
15
16
  */
16
17
  declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
17
18
  export { Textarea };
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAC1D,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AAErC;;;;;;;GAOG;AACH,QAAA,MAAM,QAAQ,wGAcb,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAC1D,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AAErC;;;;;;;;GAQG;AACH,QAAA,MAAM,QAAQ,wGAcb,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -2,7 +2,7 @@ import { ButtonProps } from '../button';
2
2
  import * as React from 'react';
3
3
  /**
4
4
  * Pagination - Navigation component for paginated content.
5
- *
5
+ * @returns {JSX.Element} The rendered Pagination component.
6
6
  * @param {object} props - The properties for the component.
7
7
  * @param {string} [props.className] - Additional classes for the pagination component.
8
8
  */
@@ -12,14 +12,14 @@ declare const Pagination: {
12
12
  };
13
13
  /**
14
14
  * PaginationContent - Wrapper list for pagination items.
15
- *
15
+ * @returns {JSX.Element} The rendered PaginationContent component.
16
16
  * @param {object} props - The properties for the component.
17
17
  * @param {string} [props.className] - Additional classes for the pagination content component.
18
18
  */
19
19
  declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
20
20
  /**
21
21
  * PaginationItem - List item wrapper.
22
- *
22
+ * @returns {JSX.Element} The rendered PaginationItem component.
23
23
  * @param {object} props - The properties for the component.
24
24
  * @param {string} [props.className] - Additional classes for the pagination item component.
25
25
  */
@@ -34,7 +34,7 @@ type PaginationLinkProps = {
34
34
  } & Pick<ButtonProps, 'size'> & React.ComponentProps<'a'>;
35
35
  /**
36
36
  * PaginationLink - A styled anchor used as a pagination control.
37
- *
37
+ * @returns {JSX.Element} The rendered PaginationLink component.
38
38
  * @param {object} props - The properties for the component.
39
39
  * @param {string} [props.className] - Additional classes for the pagination link component.
40
40
  * @param {boolean} [props.isActive] - Marks the current page.
@@ -46,7 +46,7 @@ declare const PaginationLink: {
46
46
  };
47
47
  /**
48
48
  * PaginationPrevious - Button to navigate to previous page.
49
- *
49
+ * @returns {JSX.Element} The rendered PaginationPrevious component.
50
50
  * @param {object} props - The properties for the component.
51
51
  * @param {string} [props.className] - Additional classes for the pagination previous component.
52
52
  */
@@ -56,7 +56,7 @@ declare const PaginationPrevious: {
56
56
  };
57
57
  /**
58
58
  * PaginationNext - Button to navigate to next page.
59
- *
59
+ * @returns {JSX.Element} The rendered PaginationNext component.
60
60
  * @param {object} props - The properties for the component.
61
61
  * @param {string} [props.className] - Additional classes for the pagination next component.
62
62
  */
@@ -66,7 +66,7 @@ declare const PaginationNext: {
66
66
  };
67
67
  /**
68
68
  * PaginationEllipsis - Non-interactive indicator for collapsed pages.
69
- *
69
+ * @returns {JSX.Element} The rendered PaginationEllipsis component.
70
70
  * @param {object} props - The properties for the component.
71
71
  * @param {string} [props.className] - Additional classes for the pagination ellipsis component.
72
72
  */
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../src/ui/pagination/pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,WAAW,CAAC;AAE7D;;;;;GAKG;AACH,QAAA,MAAM,UAAU;8BAA6B,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;;CAOvE,CAAC;AAGF;;;;;GAKG;AACH,QAAA,MAAM,iBAAiB,yKASrB,CAAC;AAGH;;;;;GAKG;AACH,QAAA,MAAM,cAAc,kKAKlB,CAAC;AAGH;;;;GAIG;AACH,KAAK,mBAAmB,GAAG;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAC3B,KAAK,CAAC,cAAc,CAAC,GAAG,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Ac,CAAC;;CAY7C,CAAC;AAGF;;;;;GAKG;AACH,QAAA,MAAM,cAAc;8BAGjB,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC;;CAY7C,CAAC;AAGF;;;;;GAKG;AACH,QAAA,MAAM,kBAAkB;8BAGrB,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC;;CAY9B,CAAC;AAGF,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBAAkB,GACnB,CAAC"}
@@ -8,7 +8,7 @@ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
8
8
  declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
9
9
  /**
10
10
  * PopoverContent - The floating panel that appears near the trigger.
11
- *
11
+ * @returns {JSX.Element} The rendered PopoverContent component.
12
12
  * @param {object} props - The properties for the component.
13
13
  * @param {string} [props.className] - Additional classes for the popover content.
14
14
  * @param {'start' | 'center' | 'end'} [props.align='center'] - The alignment of the popover content relative to the trigger.
@@ -18,6 +18,8 @@ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimit
18
18
  /**
19
19
  * Props aggregation for components that wrap Popover primitives.
20
20
  * Useful for high-level components needing to forward props to specific Popover parts.
21
+ * @property {React.ComponentPropsWithoutRef<typeof PopoverTrigger> & ElementDataType} [triggerProps] - Props for the PopoverTrigger component.
22
+ * @property {React.ComponentPropsWithoutRef<typeof PopoverContent> & ElementDataType} [contentProps] - Props for the PopoverContent component.
21
23
  */
22
24
  interface PopoverContainerProps {
23
25
  triggerProps?: React.ComponentPropsWithoutRef<typeof PopoverTrigger> & ElementDataType;
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../src/ui/popover/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,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'react';
3
3
  /**
4
4
  * Progress component - Displays an indicator showing the completion progress of a task.
5
5
  * Built on Radix UI Progress primitive.
6
- *
6
+ * @returns {JSX.Element} The rendered Progress component.
7
7
  * @param {object} props - The properties for the component.
8
8
  * @param {string} [props.className] - Additional CSS classes.
9
9
  * @param {number} [props.value] - The progress value (0-100).
@@ -2,7 +2,7 @@ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
2
2
  import * as React from 'react';
3
3
  /**
4
4
  * ScrollArea - Container providing custom scrollbars for overflowing content.
5
- *
5
+ * @returns {JSX.Element} The rendered ScrollArea component.
6
6
  * @param {object} props - The properties for the component.
7
7
  * @param {string} [props.className] - Additional classes for the scroll area.
8
8
  * @param {React.ReactNode} [props.children] - The content to be rendered inside the scroll area.
@@ -10,7 +10,7 @@ import * as React from 'react';
10
10
  declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
11
  /**
12
12
  * ScrollBar - Styled scrollbar that adapts to orientation.
13
- *
13
+ * @returns {JSX.Element} The rendered ScrollBar component.
14
14
  * @param {object} props - The properties for the component.
15
15
  * @param {string} [props.className] - Additional classes for the scrollbar.
16
16
  * @param {'vertical' | 'horizontal'} [props.orientation='vertical'] - The orientation of the scrollbar.
@@ -2,7 +2,7 @@ import * as SeparatorPrimitive from '@radix-ui/react-separator';
2
2
  import * as React from 'react';
3
3
  /**
4
4
  * Separator - Visual divider for groups of content.
5
- *
5
+ * @returns {JSX.Element} The rendered Separator component.
6
6
  * @param {object} props - The properties for the component.
7
7
  * @param {string} [props.className] - Additional classes for the separator.
8
8
  * @param {'horizontal' | 'vertical'} [props.orientation='horizontal'] - The orientation of the separator.
@@ -1 +1 @@
1
- {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../../src/ui/sheet/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,cAAc,MAAM,wB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CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,2CAWnD;AAED;;;;;GAKG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,WAAW,CAAC,2CAWzD;AAED,OAAO,EACL,KAAK,EACL,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,UAAU,EACV,YAAY,GACb,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Skeleton - Placeholder element to indicate loading content.
3
+ * @returns {JSX.Element} The rendered Skeleton component.
3
4
  * @param {string} [className] - Additional classes for the skeleton component.
4
5
  * @param {React.HTMLAttributes<HTMLDivElement>} [props] - Additional HTML attributes for the skeleton component.
5
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../src/ui/skeleton/skeleton.tsx"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,2CAOtC"}
1
+ {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../src/ui/skeleton/skeleton.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,2CAOtC"}
@@ -30,18 +30,20 @@ export interface TabsListProps extends ComponentPropsWithoutRef<typeof TabsPrimi
30
30
  /**
31
31
  * Displays a list of tab triggers with optional segmented, line, and scrollable variants.
32
32
  * When scrollable, left/right buttons appear when content overflows.
33
- *
33
+ * @returns {JSX.Element} The rendered TabsList component.
34
34
  * @component
35
35
  */
36
36
  declare const TabsList: import('react').ForwardRefExoticComponent<TabsListProps & import('react').RefAttributes<HTMLDivElement>>;
37
37
  /**
38
38
  * A single tab trigger/button.
39
39
  * Forwards refs to Radix Tabs.Trigger.
40
+ * @returns {JSX.Element} The rendered TabsTrigger component.
40
41
  */
41
42
  declare const TabsTrigger: import('react').ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
42
43
  /**
43
44
  * Content panel associated with a TabsTrigger.
44
45
  * Forwards refs to Radix Tabs.Content.
46
+ * @returns {JSX.Element} The rendered TabsContent component.
45
47
  */
46
48
  declare const TabsContent: import('react').ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
47
49
  export { Tabs, TabsContent, TabsList, TabsTrigger };
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/ui/tab/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EACL,KAAK,wBAAwB,EAO9B,MAAM,OAAO,CAAC;AAIf;;;GAGG;AACH,QAAA,MAAM,IAAI,oHAAqB,CAAC;AAEhC,QAAA,MAAM,gBAAgB;;;;8EAwBrB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,WAAW,aACf,SAAQ,wBAAwB,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,EACzD,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;;;;GAKG;AACH,QAAA,MAAM,QAAQ,0GAmIb,CAAC;AAGF;;;GAGG;AACH,QAAA,MAAM,WAAW,8LAcf,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,WAAW,wLAYf,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/ui/tab/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EACL,KAAK,wBAAwB,EAO9B,MAAM,OAAO,CAAC;AAIf;;;GAGG;AACH,QAAA,MAAM,IAAI,oHAAqB,CAAC;AAEhC,QAAA,MAAM,gBAAgB;;;;8EAwBrB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,WAAW,aACf,SAAQ,wBAAwB,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,EACzD,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;;;;GAKG;AACH,QAAA,MAAM,QAAQ,0GAmIb,CAAC;AAGF;;;;GAIG;AACH,QAAA,MAAM,WAAW,8LAcf,CAAC;AAGH;;;;GAIG;AACH,QAAA,MAAM,WAAW,wLAYf,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
@@ -1,34 +1,42 @@
1
1
  import { HTMLAttributes, TdHTMLAttributes, ThHTMLAttributes } from 'react';
2
2
  /**
3
3
  * Table - Semantic table container with default styling.
4
+ * @returns {JSX.Element} The rendered Table component.
4
5
  */
5
6
  declare const Table: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & import('react').RefAttributes<HTMLTableElement>>;
6
7
  /**
7
8
  * TableHeader - Wrapper for the thead element.
9
+ * @returns {JSX.Element} The rendered TableHeader component.
8
10
  */
9
11
  declare const TableHeader: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import('react').RefAttributes<HTMLTableSectionElement>>;
10
12
  /**
11
13
  * TableBody - Wrapper for the tbody element.
14
+ * @returns {JSX.Element} The rendered TableBody component.
12
15
  */
13
16
  declare const TableBody: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import('react').RefAttributes<HTMLTableSectionElement>>;
14
17
  /**
15
18
  * TableFooter - Wrapper for the tfoot element.
19
+ * @returns {JSX.Element} The rendered TableFooter component.
16
20
  */
17
21
  declare const TableFooter: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import('react').RefAttributes<HTMLTableSectionElement>>;
18
22
  /**
19
23
  * TableRow - Styled tr element.
24
+ * @returns {JSX.Element} The rendered TableRow component.
20
25
  */
21
26
  declare const TableRow: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & import('react').RefAttributes<HTMLTableRowElement>>;
22
27
  /**
23
28
  * TableHead - Styled th element.
29
+ * @returns {JSX.Element} The rendered TableHead component.
24
30
  */
25
31
  declare const TableHead: import('react').ForwardRefExoticComponent<ThHTMLAttributes<HTMLTableCellElement> & import('react').RefAttributes<HTMLTableCellElement>>;
26
32
  /**
27
33
  * TableCell - Styled td element.
34
+ * @returns {JSX.Element} The rendered TableCell component.
28
35
  */
29
36
  declare const TableCell: import('react').ForwardRefExoticComponent<TdHTMLAttributes<HTMLTableCellElement> & import('react').RefAttributes<HTMLTableCellElement>>;
30
37
  /**
31
38
  * TableCaption - Styled caption element.
39
+ * @returns {JSX.Element} The rendered TableCaption component.
32
40
  */
33
41
  declare const TableCaption: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & import('react').RefAttributes<HTMLTableCaptionElement>>;
34
42
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, };
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/ui/table/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,OAAO,CAAC;AAGf;;GAEG;AACH,QAAA,MAAM,KAAK,+HAQV,CAAC;AAGF;;GAEG;AACH,QAAA,MAAM,WAAW,6IAKf,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,SAAS,6IASb,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,WAAW,6IAYf,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,QAAQ,qIAYZ,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,SAAS,yIAYb,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,SAAS,yIASb,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,YAAY,6IAShB,CAAC;AAGH,OAAO,EACL,KAAK,EACL,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,GACT,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/ui/table/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,OAAO,CAAC;AAGf;;;GAGG;AACH,QAAA,MAAM,KAAK,+HAQV,CAAC;AAGF;;;GAGG;AACH,QAAA,MAAM,WAAW,6IAKf,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,SAAS,6IASb,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,WAAW,6IAYf,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,QAAQ,qIAYZ,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,SAAS,yIAYb,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,SAAS,yIASb,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,YAAY,6IAShB,CAAC;AAGH,OAAO,EACL,KAAK,EACL,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,GACT,CAAC"}
@@ -8,6 +8,7 @@ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
8
8
  declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
9
9
  /**
10
10
  * TooltipContent - The floating label content for tooltips.
11
+ * @returns {JSX.Element} The rendered TooltipContent component.
11
12
  */
12
13
  declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
14
  export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../src/ui/tooltip/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;GAEG;AACH,QAAA,MAAM,eAAe,iDAA4B,CAAC;AAElD,QAAA,MAAM,OAAO,yCAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,gHAA2B,CAAC;AAEhD;;GAEG;AACH,QAAA,MAAM,cAAc,gKAalB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../src/ui/tooltip/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;GAEG;AACH,QAAA,MAAM,eAAe,iDAA4B,CAAC;AAElD,QAAA,MAAM,OAAO,yCAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,gHAA2B,CAAC;AAEhD;;;GAGG;AACH,QAAA,MAAM,cAAc,gKAalB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dgz-ui",
3
- "version": "1.4.7",
3
+ "version": "1.4.9",
4
4
  "description": "Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript",
5
5
  "keywords": [
6
6
  "shadcn/ui",
@@ -254,6 +254,7 @@
254
254
  "scripts": {
255
255
  "build": "vite build",
256
256
  "build:test": "npm run build && npm link",
257
+ "build-storybook": "storybook build",
257
258
  "clean": "rm -rf dist",
258
259
  "dev": "vite",
259
260
  "format": "prettier . --write",
@@ -262,6 +263,7 @@
262
263
  "prepare": "husky",
263
264
  "prepublishOnly": "npm run clean && npm run build",
264
265
  "preview": "vite preview",
266
+ "storybook": "storybook dev -p 6006",
265
267
  "test": "vitest run",
266
268
  "typecheck": "tsc --noEmit"
267
269
  },
@@ -290,7 +292,9 @@
290
292
  "dayjs": "^1.11.19",
291
293
  "embla-carousel-react": "^8.6.0",
292
294
  "lucide-react": "^0.563.0",
295
+ "react": "^19.2.4",
293
296
  "react-day-picker": "^9.7.0",
297
+ "react-dom": "^19.2.4",
294
298
  "react-hook-form": "^7.71.1",
295
299
  "react-imask": "^7.6.1",
296
300
  "react-quill-new": "^3.7.0",
@@ -302,8 +306,13 @@
302
306
  "tailwindcss-animate": "^1.0.7"
303
307
  },
304
308
  "devDependencies": {
309
+ "@chromatic-com/storybook": "^5.0.1",
305
310
  "@eslint/js": "^9.25.0",
306
311
  "@rollup/plugin-typescript": "^12.1.2",
312
+ "@storybook/addon-a11y": "^10.2.8",
313
+ "@storybook/addon-docs": "^10.2.8",
314
+ "@storybook/addon-vitest": "^10.2.8",
315
+ "@storybook/react-vite": "^10.2.8",
307
316
  "@tailwindcss/vite": "^4.1.7",
308
317
  "@testing-library/jest-dom": "^6.6.3",
309
318
  "@testing-library/react": "^16.3.0",
@@ -312,19 +321,24 @@
312
321
  "@types/react-dom": "^19.1.5",
313
322
  "@types/react-window": "^1.8.8",
314
323
  "@vitejs/plugin-react": "^4.4.1",
324
+ "@vitest/browser": "^3.1.4",
325
+ "@vitest/coverage-v8": "^3.1.4",
315
326
  "eslint": "^9.25.0",
316
327
  "eslint-config-prettier": "^10.1.5",
317
328
  "eslint-plugin-react-hooks": "^5.2.0",
318
329
  "eslint-plugin-react-refresh": "^0.4.19",
330
+ "eslint-plugin-storybook": "^10.2.8",
319
331
  "globals": "^16.0.0",
320
332
  "husky": "^9.1.7",
321
333
  "jsdom": "^26.1.0",
322
334
  "knip": "^5.82.1",
335
+ "playwright": "^1.58.2",
323
336
  "prettier": "3.6.2",
324
337
  "prettier-plugin-organize-imports": "^4.3.0",
325
338
  "prettier-plugin-packagejson": "^3.0.0",
326
339
  "prettier-plugin-tailwindcss": "^0.6.14",
327
340
  "rollup-plugin-dts": "^6.2.1",
341
+ "storybook": "^10.2.8",
328
342
  "tslib": "^2.8.1",
329
343
  "tw-animate-css": "^1.3.0",
330
344
  "typescript": "~5.8.3",
@@ -335,8 +349,8 @@
335
349
  },
336
350
  "peerDependencies": {
337
351
  "i18next": "^25.8.0",
338
- "react": "^19.0.1",
339
- "react-dom": "^19.0.1",
352
+ "react": "^19.2.4",
353
+ "react-dom": "^19.2.4",
340
354
  "react-i18next": "^16.5.4"
341
355
  },
342
356
  "engines": {
@@ -1,78 +0,0 @@
1
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import { r as c } from "./index-Br4MVOGV.es.js";
3
- import * as m from "react";
4
- import { c as i } from "./index-D6dQK9i-.es.js";
5
- import { E as l } from "./ellipsis-9FjKj8zv.es.js";
6
- const o = m.forwardRef(({ ...a }, r) => /* @__PURE__ */ e("nav", { ref: r, "aria-label": "breadcrumb", ...a }));
7
- o.displayName = "Breadcrumb";
8
- const d = m.forwardRef(({ className: a, ...r }, s) => /* @__PURE__ */ e(
9
- "ol",
10
- {
11
- ref: s,
12
- className: i("flex flex-wrap items-center gap-1.5 break-words", a),
13
- ...r
14
- }
15
- ));
16
- d.displayName = "BreadcrumbList";
17
- const n = m.forwardRef(({ className: a, ...r }, s) => /* @__PURE__ */ e(
18
- "li",
19
- {
20
- ref: s,
21
- className: i("inline-flex items-center gap-1.5", a),
22
- ...r
23
- }
24
- ));
25
- n.displayName = "BreadcrumbItem";
26
- const p = m.forwardRef(({ className: a, ...r }, s) => /* @__PURE__ */ e(
27
- "span",
28
- {
29
- ref: s,
30
- role: "link",
31
- "aria-disabled": "true",
32
- "aria-current": "page",
33
- className: i("text-foreground font-normal", a),
34
- ...r
35
- }
36
- ));
37
- p.displayName = "BreadcrumbPage";
38
- const f = ({
39
- children: a,
40
- className: r,
41
- ...s
42
- }) => /* @__PURE__ */ e(
43
- "li",
44
- {
45
- role: "presentation",
46
- "aria-hidden": "true",
47
- className: i("text-secondary [&>svg]:size-4", r),
48
- ...s,
49
- children: a ?? /* @__PURE__ */ e(c, { size: 20 })
50
- }
51
- );
52
- f.displayName = "BreadcrumbSeparator";
53
- const u = ({
54
- className: a,
55
- ...r
56
- }) => /* @__PURE__ */ t(
57
- "span",
58
- {
59
- role: "presentation",
60
- "aria-hidden": "true",
61
- className: i("flex h-9 w-9 items-center justify-center", a),
62
- ...r,
63
- children: [
64
- /* @__PURE__ */ e(l, { className: "h-4 w-4" }),
65
- /* @__PURE__ */ e("span", { className: "sr-only", children: "More" })
66
- ]
67
- }
68
- );
69
- u.displayName = "BreadcrumbElipssis";
70
- export {
71
- o as B,
72
- u as a,
73
- n as b,
74
- d as c,
75
- p as d,
76
- f as e
77
- };
78
- //# sourceMappingURL=breadcrumb-D-Wgwp2Z.es.js.map