@commercetools/nimbus 0.0.0-canary-20251015171040 → 0.0.0-canary-20251015182814

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 (185) hide show
  1. package/dist/accordion.d.ts +26 -11
  2. package/dist/alert.d.ts +54 -28
  3. package/dist/avatar.d.ts +17 -19
  4. package/dist/badge.d.ts +16 -17
  5. package/dist/button.d.ts +23 -16
  6. package/dist/calendar.d.ts +0 -4
  7. package/dist/card.d.ts +18 -18
  8. package/dist/checkbox.d.ts +14 -9
  9. package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -1
  10. package/dist/chunks/accordion-CKDnNkVv.es.js.map +1 -1
  11. package/dist/chunks/alert-CPHjPe4-.cjs.js.map +1 -1
  12. package/dist/chunks/alert-lNg0Rz2w.es.js.map +1 -1
  13. package/dist/chunks/{avatar-BfEMp9g8.es.js → avatar-CTiSGVoD.es.js} +4 -2
  14. package/dist/chunks/avatar-CTiSGVoD.es.js.map +1 -0
  15. package/dist/chunks/avatar-_o-uSXYy.cjs.js.map +1 -1
  16. package/dist/chunks/{badge-JEfh4EDj.es.js → badge-Csn5glEd.es.js} +4 -2
  17. package/dist/chunks/badge-Csn5glEd.es.js.map +1 -0
  18. package/dist/chunks/badge-mMpNb3Qj.cjs.js.map +1 -1
  19. package/dist/chunks/button-B5OOW-2z.cjs.js.map +1 -1
  20. package/dist/chunks/button-IZUJaJku.es.js.map +1 -1
  21. package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +1 -1
  22. package/dist/chunks/calendar-lD6G93R9.es.js.map +1 -1
  23. package/dist/chunks/card-BB_1xrND.es.js.map +1 -1
  24. package/dist/chunks/card-BPEsGx1J.cjs.js.map +1 -1
  25. package/dist/chunks/{checkbox-DII0AOBy.es.js → checkbox-BB-WJdal.es.js} +2 -8
  26. package/dist/chunks/{checkbox-DII0AOBy.es.js.map → checkbox-BB-WJdal.es.js.map} +1 -1
  27. package/dist/chunks/checkbox-Dod-yTj4.cjs.js.map +1 -1
  28. package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +1 -1
  29. package/dist/chunks/collapsible-motion-CSrKjF8X.es.js.map +1 -1
  30. package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +1 -1
  31. package/dist/chunks/{combobox-CxEeal66.es.js → combobox-D_7gr3DY.es.js} +2 -2
  32. package/dist/chunks/{combobox-CxEeal66.es.js.map → combobox-D_7gr3DY.es.js.map} +1 -1
  33. package/dist/chunks/data-table-C51WU0Cc.cjs.js.map +1 -1
  34. package/dist/chunks/{data-table-BGCmY93Q.es.js → data-table-ClMivKY1.es.js} +5 -8
  35. package/dist/chunks/{data-table-BGCmY93Q.es.js.map → data-table-ClMivKY1.es.js.map} +1 -1
  36. package/dist/chunks/date-input-Cap8-3zj.es.js.map +1 -1
  37. package/dist/chunks/date-input-DvOM0DLT.cjs.js.map +1 -1
  38. package/dist/chunks/date-picker-CZAoPNsT.cjs.js.map +1 -1
  39. package/dist/chunks/date-picker-ChZ8H-MT.es.js.map +1 -1
  40. package/dist/chunks/date-range-picker-DGWMdcAN.es.js.map +1 -1
  41. package/dist/chunks/date-range-picker-iENzosfN.cjs.js.map +1 -1
  42. package/dist/chunks/{draggable-list-Dv372xXb.es.js → draggable-list-s43baxoM.es.js} +2 -2
  43. package/dist/chunks/{draggable-list-Dv372xXb.es.js.map → draggable-list-s43baxoM.es.js.map} +1 -1
  44. package/dist/chunks/{field-errors-CHxHaB5C.es.js → field-errors-ClQprmQz.es.js} +1 -6
  45. package/dist/chunks/field-errors-ClQprmQz.es.js.map +1 -0
  46. package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +1 -1
  47. package/dist/chunks/group-BqUFlw5R.cjs.js.map +1 -1
  48. package/dist/chunks/group-CWADf2vF.es.js.map +1 -1
  49. package/dist/chunks/{icon-V6yr3oou.es.js → icon-CenxuChf.es.js} +2 -4
  50. package/dist/chunks/icon-CenxuChf.es.js.map +1 -0
  51. package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -1
  52. package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +1 -1
  53. package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -1
  54. package/dist/chunks/link-BEhlSTUU.es.js.map +1 -1
  55. package/dist/chunks/link-DpU4rPCp.cjs.js.map +1 -1
  56. package/dist/chunks/loading-spinner-BiVTAfmp.es.js.map +1 -1
  57. package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js.map +1 -1
  58. package/dist/chunks/{localized-field-D4R1lSbz.es.js → localized-field-D3G0Uy7Z.es.js} +6 -6
  59. package/dist/chunks/{localized-field-D4R1lSbz.es.js.map → localized-field-D3G0Uy7Z.es.js.map} +1 -1
  60. package/dist/chunks/{menu-BkPvV5Ey.es.js → menu-D-vE6ZpM.es.js} +3 -6
  61. package/dist/chunks/menu-D-vE6ZpM.es.js.map +1 -0
  62. package/dist/chunks/menu-DIepV2KZ.cjs.js.map +1 -1
  63. package/dist/chunks/{money-input-jPYw0Jyg.es.js → money-input-sk0Slpeu.es.js} +2 -2
  64. package/dist/chunks/{money-input-jPYw0Jyg.es.js.map → money-input-sk0Slpeu.es.js.map} +1 -1
  65. package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js.map +1 -1
  66. package/dist/chunks/multiline-text-input-CilSJJaO.es.js.map +1 -1
  67. package/dist/chunks/{password-input-Bf_SPzLj.es.js → password-input-6MO4I-2j.es.js} +2 -2
  68. package/dist/chunks/{password-input-Bf_SPzLj.es.js.map → password-input-6MO4I-2j.es.js.map} +1 -1
  69. package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -1
  70. package/dist/chunks/{popover-DF0ppmkw.es.js → popover-DNaC7CwB.es.js} +2 -4
  71. package/dist/chunks/popover-DNaC7CwB.es.js.map +1 -0
  72. package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js.map +1 -1
  73. package/dist/chunks/progress-bar-DwuOjOcH.es.js.map +1 -1
  74. package/dist/chunks/range-calendar-DBpl6y5i.es.js.map +1 -1
  75. package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -1
  76. package/dist/chunks/{rich-text-input-D7DcSuhr.es.js → rich-text-input-BC8CBVio.es.js} +5 -5
  77. package/dist/chunks/rich-text-input-BC8CBVio.es.js.map +1 -0
  78. package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js.map +1 -1
  79. package/dist/chunks/search-input-BefkmgPy.cjs.js.map +1 -1
  80. package/dist/chunks/search-input-DJy2NHYW.es.js.map +1 -1
  81. package/dist/chunks/separator-CvRn_J0r.cjs.js.map +1 -1
  82. package/dist/chunks/{separator-B0qxXI4c.es.js → separator-DJGUFG-o.es.js} +2 -4
  83. package/dist/chunks/separator-DJGUFG-o.es.js.map +1 -0
  84. package/dist/chunks/split-button-BO52sL7h.cjs.js.map +1 -1
  85. package/dist/chunks/{split-button-yfUsgbxF.es.js → split-button-BxyZmuNi.es.js} +3 -3
  86. package/dist/chunks/split-button-BxyZmuNi.es.js.map +1 -0
  87. package/dist/chunks/{switch-Df_0twKu.es.js → switch-01hEhL9A.es.js} +2 -14
  88. package/dist/chunks/switch-01hEhL9A.es.js.map +1 -0
  89. package/dist/chunks/switch-CdLhBEPq.cjs.js.map +1 -1
  90. package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +1 -1
  91. package/dist/chunks/{tabs-BCLrKRoZ.es.js → tabs-Dhte-RCe.es.js} +2 -8
  92. package/dist/chunks/{tabs-BCLrKRoZ.es.js.map → tabs-Dhte-RCe.es.js.map} +1 -1
  93. package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -1
  94. package/dist/chunks/{tag-group-B-eOhltn.es.js → tag-group-D2dgXSsV.es.js} +3 -9
  95. package/dist/chunks/{tag-group-B-eOhltn.es.js.map → tag-group-D2dgXSsV.es.js.map} +1 -1
  96. package/dist/chunks/text-input-CSAODlCw.es.js.map +1 -1
  97. package/dist/chunks/text-input-DZdkCbdd.cjs.js.map +1 -1
  98. package/dist/chunks/time-input--a_qv-Jk.es.js.map +1 -1
  99. package/dist/chunks/time-input-zXykDANk.cjs.js.map +1 -1
  100. package/dist/chunks/toggle-button-DxMZsem4.cjs.js.map +1 -1
  101. package/dist/chunks/toggle-button-awb1jBf8.es.js.map +1 -1
  102. package/dist/chunks/toolbar-DV0l5MqA.cjs.js.map +1 -1
  103. package/dist/chunks/{toolbar-BDatiEYj.es.js → toolbar-Dduysqqi.es.js} +4 -2
  104. package/dist/chunks/toolbar-Dduysqqi.es.js.map +1 -0
  105. package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -1
  106. package/dist/chunks/{tooltip-CHm25f4m.es.js → tooltip-sgakxhiy.es.js} +2 -4
  107. package/dist/chunks/{tooltip-CHm25f4m.es.js.map → tooltip-sgakxhiy.es.js.map} +1 -1
  108. package/dist/collapsible-motion.d.ts +55 -42
  109. package/dist/combobox.d.ts +45 -25
  110. package/dist/components/avatar.es.js +1 -1
  111. package/dist/components/badge.es.js +1 -1
  112. package/dist/components/checkbox.es.js +1 -1
  113. package/dist/components/combobox.es.js +1 -1
  114. package/dist/components/data-table.es.js +1 -1
  115. package/dist/components/draggable-list.es.js +1 -1
  116. package/dist/components/field-errors.es.js +1 -1
  117. package/dist/components/icon.es.js +1 -1
  118. package/dist/components/localized-field.es.js +1 -1
  119. package/dist/components/money-input.es.js +1 -1
  120. package/dist/components/password-input.es.js +1 -1
  121. package/dist/components/popover.es.js +1 -1
  122. package/dist/components/rich-text-input.es.js +1 -1
  123. package/dist/components/separator.es.js +1 -1
  124. package/dist/components/split-button.es.js +1 -1
  125. package/dist/components/switch.es.js +1 -1
  126. package/dist/components/tabs.es.js +1 -1
  127. package/dist/components/tag-group.es.js +1 -1
  128. package/dist/components/toolbar.es.js +1 -1
  129. package/dist/components/tooltip.es.js +1 -1
  130. package/dist/components.d.ts +31 -20
  131. package/dist/data-table.d.ts +4 -24
  132. package/dist/date-input.d.ts +10 -35
  133. package/dist/date-picker.d.ts +13 -66
  134. package/dist/date-range-picker.d.ts +10 -21
  135. package/dist/dialog.d.ts +31 -20
  136. package/dist/draggable-list.d.ts +35 -11
  137. package/dist/drawer.d.ts +45 -36
  138. package/dist/field-errors.d.ts +33 -25
  139. package/dist/form-field.d.ts +32 -12
  140. package/dist/group.d.ts +8 -12
  141. package/dist/icon-button.d.ts +29 -20
  142. package/dist/icon-toggle-button.d.ts +21 -16
  143. package/dist/icon.d.ts +0 -19
  144. package/dist/index.d.ts +31 -20
  145. package/dist/index.es.js +21 -21
  146. package/dist/inline-svg.d.ts +2 -21
  147. package/dist/link.d.ts +14 -24
  148. package/dist/loading-spinner.d.ts +13 -22
  149. package/dist/localized-field.d.ts +2 -5
  150. package/dist/money-input.d.ts +4 -0
  151. package/dist/multiline-text-input.d.ts +21 -7
  152. package/dist/nimbus-provider.d.ts +20 -8
  153. package/dist/number-input.d.ts +13 -2
  154. package/dist/pagination.d.ts +33 -9
  155. package/dist/password-input.d.ts +16 -10
  156. package/dist/popover.d.ts +3 -3
  157. package/dist/progress-bar.d.ts +21 -22
  158. package/dist/radio-input.d.ts +8 -3
  159. package/dist/range-calendar.d.ts +0 -7
  160. package/dist/scoped-search-input.d.ts +29 -92
  161. package/dist/search-input.d.ts +14 -10
  162. package/dist/select.d.ts +25 -9
  163. package/dist/separator.d.ts +10 -27
  164. package/dist/split-button.d.ts +23 -16
  165. package/dist/switch.d.ts +6 -11
  166. package/dist/tabs.d.ts +12 -13
  167. package/dist/tag-group.d.ts +4 -10
  168. package/dist/text-input.d.ts +19 -8
  169. package/dist/time-input.d.ts +8 -38
  170. package/dist/toggle-button-group.d.ts +9 -10
  171. package/dist/toggle-button.d.ts +15 -15
  172. package/dist/toolbar.d.ts +5 -11
  173. package/dist/tooltip.d.ts +23 -28
  174. package/package.json +5 -5
  175. package/dist/chunks/avatar-BfEMp9g8.es.js.map +0 -1
  176. package/dist/chunks/badge-JEfh4EDj.es.js.map +0 -1
  177. package/dist/chunks/field-errors-CHxHaB5C.es.js.map +0 -1
  178. package/dist/chunks/icon-V6yr3oou.es.js.map +0 -1
  179. package/dist/chunks/menu-BkPvV5Ey.es.js.map +0 -1
  180. package/dist/chunks/popover-DF0ppmkw.es.js.map +0 -1
  181. package/dist/chunks/rich-text-input-D7DcSuhr.es.js.map +0 -1
  182. package/dist/chunks/separator-B0qxXI4c.es.js.map +0 -1
  183. package/dist/chunks/split-button-yfUsgbxF.es.js.map +0 -1
  184. package/dist/chunks/switch-Df_0twKu.es.js.map +0 -1
  185. package/dist/chunks/toolbar-BDatiEYj.es.js.map +0 -1
package/dist/index.es.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { s as Ee } from "./chunks/index-CtB71yr7.es.js";
2
- import { g as z } from "./chunks/rich-text-input-D7DcSuhr.es.js";
3
- import { R as Ie } from "./chunks/rich-text-input-D7DcSuhr.es.js";
2
+ import { g as z } from "./chunks/rich-text-input-BC8CBVio.es.js";
3
+ import { R as Ie } from "./chunks/rich-text-input-BC8CBVio.es.js";
4
4
  import { useRef as T, useCallback as _, useContext as O, useLayoutEffect as $, useEffect as R, createContext as N, useState as H } from "react";
5
- import { A as Me } from "./chunks/avatar-BfEMp9g8.es.js";
5
+ import { A as Me } from "./chunks/avatar-CTiSGVoD.es.js";
6
6
  import { B as Ke } from "./chunks/box-DuBoAZvq.es.js";
7
7
  import { B as Be } from "./chunks/button-IZUJaJku.es.js";
8
8
  import { C as Ne } from "./chunks/code-Dl7u63Zn.es.js";
9
- import { C as qe, c as Ue, b as Ge, a as je } from "./chunks/combobox-CxEeal66.es.js";
9
+ import { C as qe, c as Ue, b as Ge, a as je } from "./chunks/combobox-D_7gr3DY.es.js";
10
10
  import { D as ze } from "./chunks/dialog-BwtIcIvd.es.js";
11
- import { a as We, F as Xe } from "./chunks/field-errors-CHxHaB5C.es.js";
11
+ import { a as We, F as Xe } from "./chunks/field-errors-ClQprmQz.es.js";
12
12
  import { Flex as Ye } from "@chakra-ui/react/flex";
13
13
  import { G as Je } from "./chunks/group-CWADf2vF.es.js";
14
14
  import { H as tt } from "./chunks/heading-BtazVUd5.es.js";
@@ -18,15 +18,15 @@ import { I as it } from "./chunks/image-DRigLU80.es.js";
18
18
  import { K as lt } from "./chunks/kbd-CH9rYghB.es.js";
19
19
  import { L as dt } from "./chunks/link-BEhlSTUU.es.js";
20
20
  import { L as pt, c as mt, b as yt, a as gt } from "./chunks/list-Nz5KjWzs.es.js";
21
- import { D as xt, c as vt, b as Ct, a as ht } from "./chunks/draggable-list-Dv372xXb.es.js";
21
+ import { D as xt, c as vt, b as Ct, a as ht } from "./chunks/draggable-list-s43baxoM.es.js";
22
22
  import { S as wt } from "./chunks/simple-grid-DU5v66TG.es.js";
23
23
  import { Table as St } from "@chakra-ui/react/table";
24
24
  import { T as Lt } from "./chunks/text-BgiP8ZB6.es.js";
25
- import { b as Et, a as Rt, T as It } from "./chunks/tooltip-CHm25f4m.es.js";
25
+ import { b as Et, a as Rt, T as It } from "./chunks/tooltip-sgakxhiy.es.js";
26
26
  import { M as Mt } from "./chunks/make-element-focusable-C4jhHHl0.es.js";
27
27
  import { z as W } from "./chunks/nimbus-provider-BHNFDQ0f.es.js";
28
28
  import { N as Kt } from "./chunks/nimbus-provider-BHNFDQ0f.es.js";
29
- import { C as Bt } from "./chunks/checkbox-DII0AOBy.es.js";
29
+ import { C as Bt } from "./chunks/checkbox-BB-WJdal.es.js";
30
30
  import { C as Nt } from "./chunks/collapsible-motion-CSrKjF8X.es.js";
31
31
  import { S as qt } from "./chunks/stack-CoNreM7B.es.js";
32
32
  import { V as Gt } from "./chunks/visually-hidden-CVUszTlg.es.js";
@@ -34,25 +34,25 @@ import { T as Vt } from "./chunks/text-input-CSAODlCw.es.js";
34
34
  import { N as $t } from "./chunks/number-input-CktMxOdZ.es.js";
35
35
  import { G as Xt } from "./chunks/grid-De8qjf98.es.js";
36
36
  import { S as Yt, c as Zt, d as Jt, b as eo, a as to } from "./chunks/select-BmMhTBo-.es.js";
37
- import { S as ro } from "./chunks/separator-B0qxXI4c.es.js";
37
+ import { S as ro } from "./chunks/separator-DJGUFG-o.es.js";
38
38
  import { S as no } from "./chunks/spacer-pHklG6Ri.es.js";
39
39
  import { A as io, d as co, c as lo, e as uo, b as fo, a as po } from "./chunks/accordion-CKDnNkVv.es.js";
40
40
  import { A as yo, d as go, c as bo, e as xo, a as vo, b as Co } from "./chunks/alert-lNg0Rz2w.es.js";
41
- import { B as To } from "./chunks/badge-JEfh4EDj.es.js";
41
+ import { B as To } from "./chunks/badge-Csn5glEd.es.js";
42
42
  import { C as _o, c as So, b as Do, a as Lo } from "./chunks/card-BB_1xrND.es.js";
43
43
  import { F as Eo, d as Ro, e as Io, f as Ao, c as Mo, b as Fo, a as Ko } from "./chunks/form-field-BYlpCXdY.es.js";
44
- import { I as Bo } from "./chunks/icon-V6yr3oou.es.js";
44
+ import { I as Bo } from "./chunks/icon-CenxuChf.es.js";
45
45
  import { I as No } from "./chunks/inline-svg-CbSC6O5X.es.js";
46
46
  import { L as qo } from "./chunks/loading-spinner-BiVTAfmp.es.js";
47
- import { P as Go } from "./chunks/password-input-Bf_SPzLj.es.js";
47
+ import { P as Go } from "./chunks/password-input-6MO4I-2j.es.js";
48
48
  import { S as Vo } from "./chunks/search-input-DJy2NHYW.es.js";
49
- import { S as $o } from "./chunks/split-button-yfUsgbxF.es.js";
49
+ import { S as $o } from "./chunks/split-button-BxyZmuNi.es.js";
50
50
  import { T as Xo } from "./chunks/time-input--a_qv-Jk.es.js";
51
51
  import { M as Yo } from "./chunks/multiline-text-input-CilSJJaO.es.js";
52
- import { M as Jo } from "./chunks/money-input-jPYw0Jyg.es.js";
52
+ import { M as Jo } from "./chunks/money-input-sk0Slpeu.es.js";
53
53
  import { R as tr, b as or, a as rr } from "./chunks/radio-input-4jw6HUjC.es.js";
54
- import { S as nr } from "./chunks/switch-Df_0twKu.es.js";
55
- import { T as ir } from "./chunks/tag-group-B-eOhltn.es.js";
54
+ import { S as nr } from "./chunks/switch-01hEhL9A.es.js";
55
+ import { T as ir } from "./chunks/tag-group-D2dgXSsV.es.js";
56
56
  import { T as lr } from "./chunks/toggle-button-awb1jBf8.es.js";
57
57
  import { T as dr, b as fr, a as pr } from "./chunks/toggle-button-group-Ce7ezOED.es.js";
58
58
  import { D as yr } from "./chunks/date-input-Cap8-3zj.es.js";
@@ -60,14 +60,14 @@ import { C as br } from "./chunks/calendar-lD6G93R9.es.js";
60
60
  import { D as vr } from "./chunks/date-picker-ChZ8H-MT.es.js";
61
61
  import { P as hr } from "./chunks/progress-bar-DwuOjOcH.es.js";
62
62
  import { R as wr } from "./chunks/range-calendar-DBpl6y5i.es.js";
63
- import { M as Sr, c as Dr, d as Lr, a as kr, e as Er, g as Rr, f as Ir, b as Ar } from "./chunks/menu-BkPvV5Ey.es.js";
63
+ import { M as Sr, c as Dr, d as Lr, a as kr, e as Er, g as Rr, f as Ir, b as Ar } from "./chunks/menu-D-vE6ZpM.es.js";
64
64
  import { D as Fr } from "./chunks/date-range-picker-DGWMdcAN.es.js";
65
- import { T as Pr } from "./chunks/toolbar-BDatiEYj.es.js";
66
- import { D as Or, e as Nr, g as Hr, d as qr, i as Ur, h as Gr, c as jr, j as Vr, a as zr, f as $r, k as Wr, b as Xr } from "./chunks/data-table-BGCmY93Q.es.js";
65
+ import { T as Pr } from "./chunks/toolbar-Dduysqqi.es.js";
66
+ import { D as Or, e as Nr, g as Hr, d as qr, i as Ur, h as Gr, c as jr, j as Vr, a as zr, f as $r, k as Wr, b as Xr } from "./chunks/data-table-ClMivKY1.es.js";
67
67
  import { P as Yr } from "./chunks/pagination-Bcq69Nv3.es.js";
68
68
  import { D as Jr } from "./chunks/drawer-BJ4qvGnj.es.js";
69
- import { T as ta, c as oa, b as ra, e as aa, d as na, a as sa } from "./chunks/tabs-BCLrKRoZ.es.js";
70
- import { L as ca } from "./chunks/localized-field-D4R1lSbz.es.js";
69
+ import { T as ta, c as oa, b as ra, e as aa, d as na, a as sa } from "./chunks/tabs-Dhte-RCe.es.js";
70
+ import { L as ca } from "./chunks/localized-field-D3G0Uy7Z.es.js";
71
71
  import "react/jsx-runtime";
72
72
  const q = ["shift", "alt", "meta", "mod", "ctrl", "control"], X = {
73
73
  esc: "escape",
@@ -4,11 +4,6 @@ import { RecipeProps } from '@chakra-ui/react';
4
4
  import { Ref } from 'react';
5
5
  import { UnstyledProp } from '@chakra-ui/react';
6
6
 
7
- /**
8
- * Main props interface for the Icon component.
9
- * Extends IconVariantProps to include both root props and variant props,
10
- * while adding support for React children.
11
- */
12
7
  declare type IconProps = IconVariantProps & {
13
8
  /**
14
9
  * Accepts only a single child - an icon-component or SVG html-element.
@@ -34,24 +29,10 @@ declare type IconProps = IconVariantProps & {
34
29
  slot?: string | null | undefined;
35
30
  };
36
31
 
37
- /**
38
- * Base recipe props interface that combines Chakra UI's recipe props
39
- * with the unstyled prop option for the svg element.
40
- */
41
32
  declare type IconRecipeProps = RecipeProps<"icon"> & UnstyledProp;
42
33
 
43
- /**
44
- * Root props interface that extends Chakra's HTML props with our recipe props.
45
- * This creates a complete set of props for the root element, combining
46
- * HTML attributes, Chakra's styling system, and our custom recipe props.
47
- */
48
34
  declare type IconRootSlotProps = HTMLChakraProps<"svg", IconRecipeProps>;
49
35
 
50
- /**
51
- * Combines the root props with Chakra UI's recipe variant props.
52
- * This allows the component to accept both structural props from Root
53
- * and styling variants from the recipe.
54
- */
55
36
  declare type IconVariantProps = Omit<IconRootSlotProps, keyof React.SVGProps<SVGSVGElement> | "css" | "unstyled" | "asChild" | "recipe">;
56
37
 
57
38
  /**
@@ -79,11 +60,11 @@ export declare const InlineSvg: {
79
60
 
80
61
  export declare type InlineSvgProps = Omit<IconProps, "children" | "as" | "asChild"> & {
81
62
  /**
82
- * SVG markup as a string to render
63
+ * SVG content as a string to be rendered inline
83
64
  */
84
65
  data: string;
85
66
  /**
86
- * Ref to the SVG element
67
+ * Ref forwarding to the SVG element
87
68
  */
88
69
  ref?: Ref<SVGSVGElement>;
89
70
  };
package/dist/link.d.ts CHANGED
@@ -16,41 +16,31 @@ export declare const Link: {
16
16
  displayName: string;
17
17
  };
18
18
 
19
- /**
20
- * Main props interface for the Link component.
21
- * Extends LinkVariantProps to include both root props and variant props,
22
- * while adding support for React children.
23
- */
24
19
  export declare type LinkProps = LinkVariantProps & {
20
+ /**
21
+ * Content to display inside the link
22
+ */
25
23
  children?: React.ReactNode;
24
+ /**
25
+ * Ref forwarding to the anchor element
26
+ */
26
27
  ref?: React.Ref<HTMLAnchorElement>;
27
28
  };
28
29
 
29
- /**
30
- * Base recipe props interface that combines Chakra UI's recipe props
31
- * with the unstyled prop option for the a element.
32
- */
33
30
  declare type LinkRecipeProps = {
31
+ /**
32
+ * Size variant of the link
33
+ */
34
34
  size?: RecipeProps<"link">["size"];
35
+ /**
36
+ * Font color variant of the link
37
+ */
35
38
  fontColor?: RecipeProps<"link">["fontColor"];
36
39
  } & UnstyledProp;
37
40
 
38
- /**
39
- * Root props interface that extends Chakra's HTML props with our recipe props.
40
- * This creates a complete set of props for the root element, combining
41
- * HTML attributes, Chakra's styling system, and our custom recipe props.
42
- */
43
- export declare type LinkRootProps = HTMLChakraProps<"a", LinkRecipeProps>;
41
+ export declare type LinkRootSlotProps = HTMLChakraProps<"a", LinkRecipeProps>;
44
42
 
45
- /**
46
- * Combines the root props with Chakra UI's recipe variant props.
47
- * This allows the component to accept both structural props from Root
48
- * and styling variants from the recipe.
49
- *
50
- * Differences between LinkRootProps and LinkVariantProps necessitate
51
- * the use of Omit and Pick to ensure the correct props are passed
52
- */
53
- declare type LinkVariantProps = Omit<LinkRootProps, "onFocus" | "onBlur" | "onClick"> & Pick<AriaLinkOptions, "onFocus" | "onBlur" | "onClick"> & {
43
+ declare type LinkVariantProps = Omit<LinkRootSlotProps, "onFocus" | "onBlur" | "onClick"> & Pick<AriaLinkOptions, "onFocus" | "onBlur" | "onClick"> & {
54
44
  [key: `data-${string}`]: string;
55
45
  };
56
46
 
@@ -15,38 +15,29 @@ export declare const LoadingSpinner: {
15
15
  displayName: string;
16
16
  };
17
17
 
18
- /**
19
- * Main props interface for the LoadingSpinner component.
20
- * Extends LoadingSpinnerVariantProps to include both root props and variant props,
21
- * while adding support for React children.
22
- */
23
18
  export declare type LoadingSpinnerProps = LoadingSpinnerVariantProps & {
19
+ /**
20
+ * Ref forwarding to the root element
21
+ */
24
22
  ref?: React.Ref<HTMLDivElement>;
25
23
  };
26
24
 
27
- /**
28
- * Base recipe props interface that combines Chakra UI's recipe props
29
- * with the unstyled prop option for the div element.
30
- */
31
25
  declare type LoadingSpinnerRecipeProps = {
26
+ /**
27
+ * Size variant of the loading spinner
28
+ * @default "sm"
29
+ */
32
30
  size?: RecipeProps<"loadingSpinner">["size"];
31
+ /**
32
+ * Color tone palette for the loading spinner
33
+ * @default "primary"
34
+ */
33
35
  tone?: RecipeProps<"loadingSpinner">["tone"];
34
36
  } & UnstyledProp;
35
37
 
36
- /**
37
- * Root props interface that extends Chakra's HTML props with our recipe props.
38
- * This creates a complete set of props for the root element, combining
39
- * HTML attributes, Chakra's styling system, and our custom recipe props.
40
- */
41
- export declare type LoadingSpinnerRootProps = Omit<HTMLChakraProps<"div", LoadingSpinnerRecipeProps>, "as" | "asChild">;
38
+ export declare type LoadingSpinnerRootSlotProps = Omit<HTMLChakraProps<"div", LoadingSpinnerRecipeProps>, "as" | "asChild">;
42
39
 
43
- /**
44
- * Combines the root props with Chakra UI's recipe variant props and Aria's progress bar props.
45
- *
46
- * This allows the component to accept both structural props from Root
47
- * and styling variants from the recipe.
48
- */
49
- declare type LoadingSpinnerVariantProps = LoadingSpinnerRootProps & {
40
+ declare type LoadingSpinnerVariantProps = LoadingSpinnerRootSlotProps & {
50
41
  [key: `data-${string}`]: string;
51
42
  };
52
43
 
@@ -864,12 +864,13 @@ export declare type LocalizedFieldProps = LocalizedFieldRecipeVariantProps & Omi
864
864
  };
865
865
 
866
866
  declare type LocalizedFieldRecipeProps = {
867
+ /** Size variant of the localized field */
867
868
  size?: SlotRecipeProps<"localizedField">["size"];
869
+ /** Input type variant (text, multiLine, richText, money) */
868
870
  type?: SlotRecipeProps<"localizedField">["type"];
869
871
  };
870
872
 
871
873
  declare type LocalizedFieldRecipeVariantProps = {
872
- /** Size variant */
873
874
  size?: "md" | "sm";
874
875
  };
875
876
 
@@ -908,10 +909,6 @@ declare type TCustomEvent = {
908
909
  };
909
910
  };
910
911
 
911
- /**
912
- * Error object type - compatible with UI-Kit FieldErrors
913
- * Only entries with truthy values will be rendered as errors
914
- */
915
912
  declare type TFieldErrors = Record<string, boolean>;
916
913
 
917
914
  /**
@@ -829,6 +829,10 @@ declare type MoneyInputProps = Omit<MoneyInputRootSlotProps, ExcludedSlotProps>
829
829
  };
830
830
 
831
831
  declare type MoneyInputRecipeProps = {
832
+ /**
833
+ * Size variant of the money input
834
+ * @default "md"
835
+ */
832
836
  size?: SlotRecipeProps<"moneyInput">["size"];
833
837
  };
834
838
 
@@ -16,30 +16,44 @@ export declare const MultilineTextInput: {
16
16
  displayName: string;
17
17
  };
18
18
 
19
- export declare type MultilineTextInputLeadingElementProps = HTMLChakraProps<"div", MultilineTextInputRecipeProps>;
19
+ export declare type MultilineTextInputLeadingElementSlotProps = HTMLChakraProps<"div", MultilineTextInputRecipeProps>;
20
20
 
21
21
  export declare type MultilineTextInputProps = Omit<MultilineTextInputRootSlotProps, keyof TextFieldProps | "as" | "asChild"> & TextFieldProps & {
22
+ /**
23
+ * Ref forwarding to the textarea element
24
+ */
22
25
  ref?: React.Ref<HTMLTextAreaElement>;
23
26
  /**
24
- * When true, the textarea will automatically grow in height to fit its content.
25
- * This works in addition to the default draggable resize behavior.
27
+ * Whether the textarea should automatically adjust its height based on content
28
+ * @default false
26
29
  */
27
30
  autoGrow?: boolean;
28
31
  /**
29
- * Number of visible text lines for the control.
30
- * @default 1
32
+ * Number of visible text rows
33
+ * @default 3
31
34
  */
32
35
  rows?: number;
33
36
  /**
34
- * Optional element to display at the start of the input
35
- * Will respect text direction (left in LTR, right in RTL)
37
+ * Optional element to display at the start of the textarea
38
+ * Respects text direction (left in LTR, right in RTL)
36
39
  */
37
40
  leadingElement?: React.ReactNode;
41
+ /**
42
+ * Placeholder text for the textarea
43
+ */
38
44
  placeholder?: string;
39
45
  };
40
46
 
41
47
  export declare type MultilineTextInputRecipeProps = {
48
+ /**
49
+ * Size variant of the multiline text input
50
+ * @default "md"
51
+ */
42
52
  size?: SlotRecipeProps<"multilineTextInput">["size"];
53
+ /**
54
+ * Visual style variant of the multiline text input
55
+ * @default "solid"
56
+ */
43
57
  variant?: SlotRecipeProps<"multilineTextInput">["variant"];
44
58
  } & UnstyledProp;
45
59
 
@@ -1,6 +1,9 @@
1
1
  import { JSX } from 'react/jsx-runtime';
2
2
  import { ThemeProviderProps } from 'next-themes';
3
3
 
4
+ /**
5
+ * Color mode provider props inherited from next-themes
6
+ */
4
7
  export declare type ColorModeProviderProps = ThemeProviderProps;
5
8
 
6
9
  /**
@@ -12,22 +15,28 @@ export declare type ColorModeProviderProps = ThemeProviderProps;
12
15
  */
13
16
  export declare function NimbusProvider({ children, locale, router, ...props }: NimbusProviderProps): JSX.Element;
14
17
 
18
+ /**
19
+ * Main props for the NimbusProvider component
20
+ */
15
21
  export declare type NimbusProviderProps = ColorModeProviderProps & {
16
22
  /**
17
- * Optional locale for internationalization.
18
- * Expects a [BCP47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) (e.g., 'en-US', 'de-DE', 'fr-FR').
19
- * Defaults to the user's browser locale if not provided.
23
+ * Locale for internationalization support
24
+ * Expects a [BCP47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) (e.g., 'en-US', 'de-DE', 'fr-FR')
25
+ * @default User's browser locale
20
26
  */
21
27
  locale?: string;
22
28
  /**
23
- * Optional router configuration object for client-side navigation.
24
- * When provided, all nimbus components with href props will use client-side routing.
25
- * - `navigate`: Function to programmatically navigate to routes.
26
- * - `useHref`: Optional function to transform hrefs (useful for base paths).
29
+ * Router configuration for client-side navigation
30
+ * When provided, all Nimbus components with href props will use client-side routing
31
+ * - `navigate`: Function to programmatically navigate to routes
32
+ * - `useHref`: Optional function to transform hrefs (useful for base paths)
27
33
  */
28
34
  router?: NimbusRouterConfig | TypedNimbusRouterConfig;
29
35
  };
30
36
 
37
+ /**
38
+ * Router configuration type matching react-aria's expectations
39
+ */
31
40
  export declare type NimbusRouterConfig = {
32
41
  /**
33
42
  * Function to programmatically navigate to a new route.
@@ -57,7 +66,7 @@ export declare type NimbusRouterConfig = {
57
66
  };
58
67
 
59
68
  /**
60
- * TypeScript module augmentation for Nimbus router configuration.
69
+ * TypeScript module augmentation interface for Nimbus router configuration.
61
70
  *
62
71
  * This allows consumers to extend the router configuration types
63
72
  * to match their specific router framework, providing better type safety.
@@ -90,6 +99,9 @@ export declare type RouterOptions = NimbusRouterOptionsBase extends {
90
99
  routerOptions: any;
91
100
  } ? NimbusRouterOptionsBase["routerOptions"] : any;
92
101
 
102
+ /**
103
+ * Enhanced router configuration with proper typing
104
+ */
93
105
  export declare type TypedNimbusRouterConfig = {
94
106
  navigate: (href: string, routerOptions?: RouterOptions) => void;
95
107
  useHref?: (href: string) => string;
@@ -18,21 +18,32 @@ export declare const NumberInput: {
18
18
  };
19
19
 
20
20
  export declare type NumberInputProps = Omit<NumberInputRootSlotProps, keyof AriaNumberFieldProps | ExcludedNumberInputProps> & AriaNumberFieldProps & {
21
+ /**
22
+ * Ref forwarding to the input element
23
+ */
21
24
  ref?: React.Ref<HTMLInputElement>;
22
25
  /**
23
26
  * Optional element to display at the start of the input
24
- * Will respect text direction (left in LTR, right in RTL)
27
+ * Respects text direction (left in LTR, right in RTL)
25
28
  */
26
29
  leadingElement?: React.ReactNode;
27
30
  /**
28
31
  * Optional element to display at the end of the input
29
- * Will respect text direction (right in LTR, left in RTL)
32
+ * Respects text direction (right in LTR, left in RTL)
30
33
  */
31
34
  trailingElement?: React.ReactNode;
32
35
  };
33
36
 
34
37
  declare type NumberInputRecipeProps = {
38
+ /**
39
+ * Size variant of the number input
40
+ * @default "md"
41
+ */
35
42
  size?: SlotRecipeProps<"numberInput">["size"];
43
+ /**
44
+ * Visual style variant of the number input
45
+ * @default "solid"
46
+ */
36
47
  variant?: SlotRecipeProps<"numberInput">["variant"];
37
48
  } & UnstyledProp;
38
49
 
@@ -14,23 +14,47 @@ export declare const Pagination: {
14
14
  };
15
15
 
16
16
  export declare type PaginationProps = {
17
- /** Total number of items */
17
+ /**
18
+ * Total number of items across all pages
19
+ */
18
20
  totalItems: number;
19
- /** Current page (1-based) */
21
+ /**
22
+ * Current active page number (1-based indexing)
23
+ * @default 1
24
+ */
20
25
  currentPage?: number;
21
- /** Number of items per page */
26
+ /**
27
+ * Number of items to display per page
28
+ * @default 10
29
+ */
22
30
  pageSize?: number;
23
- /** Available page size options */
31
+ /**
32
+ * Available page size options for user selection
33
+ * @default [10, 20, 50, 100]
34
+ */
24
35
  pageSizeOptions?: number[];
25
- /** Callback when page changes */
36
+ /**
37
+ * Callback fired when the page number changes
38
+ */
26
39
  onPageChange?: (page: number) => void;
27
- /** Callback when page size changes */
40
+ /**
41
+ * Callback fired when the page size changes
42
+ */
28
43
  onPageSizeChange?: (pageSize: number) => void;
29
- /** Custom aria-label for the navigation */
44
+ /**
45
+ * Custom aria-label for the pagination navigation
46
+ * @default "Pagination navigation"
47
+ */
30
48
  "aria-label"?: string;
31
- /** Enables the page number input for direct page navigation */
49
+ /**
50
+ * Whether to show page number input for direct navigation
51
+ * @default false
52
+ */
32
53
  enablePageInput?: boolean;
33
- /** Enables the page size selector dropdown */
54
+ /**
55
+ * Whether to show page size selector dropdown
56
+ * @default false
57
+ */
34
58
  enablePageSizeSelector?: boolean;
35
59
  };
36
60
 
@@ -15,37 +15,43 @@ export declare const PasswordInput: {
15
15
  displayName: string;
16
16
  };
17
17
 
18
- /**
19
- * Type for PasswordInput component props
20
- * Extends TextInputProps but omits the type prop since it's controlled internally
21
- * We want to keep this as an explicit type to allow for future additions
22
- */
23
18
  export declare type PasswordInputProps = Omit<TextInputProps, "type" | "trailingElement">;
24
19
 
25
- declare type TextInputProps = Omit<TextInputRootProps, keyof TextFieldProps | "as" | "asChild"> & Omit<TextFieldProps, "ref"> & {
20
+ declare type TextInputProps = Omit<TextInputRootSlotProps, keyof TextFieldProps | "as" | "asChild"> & Omit<TextFieldProps, "ref"> & {
26
21
  /**
27
- * React ref to be forwarded to the input element
22
+ * Ref forwarding to the input element
28
23
  */
29
24
  ref?: React.Ref<HTMLInputElement>;
30
25
  /**
31
26
  * Optional element to display at the start of the input
32
- * Will respect text direction (left in LTR, right in RTL)
27
+ * Respects text direction (left in LTR, right in RTL)
33
28
  */
34
29
  leadingElement?: React.ReactNode;
35
30
  /**
36
31
  * Optional element to display at the end of the input
37
- * Will respect text direction (right in LTR, left in RTL)
32
+ * Respects text direction (right in LTR, left in RTL)
38
33
  */
39
34
  trailingElement?: React.ReactNode;
35
+ /**
36
+ * Placeholder text for the input
37
+ */
40
38
  placeholder?: string;
41
39
  };
42
40
 
43
41
  declare type TextInputRecipeProps = {
42
+ /**
43
+ * Size variant of the text input
44
+ * @default "md"
45
+ */
44
46
  size?: SlotRecipeProps<"textInput">["size"];
47
+ /**
48
+ * Visual style variant of the text input
49
+ * @default "solid"
50
+ */
45
51
  variant?: SlotRecipeProps<"textInput">["variant"];
46
52
  };
47
53
 
48
- declare type TextInputRootProps = HTMLChakraProps<"div", TextInputRecipeProps>;
54
+ declare type TextInputRootSlotProps = HTMLChakraProps<"div", TextInputRecipeProps>;
49
55
 
50
56
  export { }
51
57
 
package/dist/popover.d.ts CHANGED
@@ -16,11 +16,11 @@ export declare const Popover: {
16
16
  displayName: string;
17
17
  };
18
18
 
19
- export declare type PopoverProps = PopoverProps_2 & PopoverSlotProps;
19
+ export declare type PopoverProps = PopoverProps_2 & PopoverRootSlotProps;
20
20
 
21
- export declare type PopoverRecipeProps = RecipeProps<"popover"> & UnstyledProp;
21
+ declare type PopoverRecipeProps = RecipeProps<"popover"> & UnstyledProp;
22
22
 
23
- export declare type PopoverSlotProps = HTMLChakraProps<"div", PopoverRecipeProps>;
23
+ export declare type PopoverRootSlotProps = HTMLChakraProps<"div", PopoverRecipeProps>;
24
24
 
25
25
  export { }
26
26
 
@@ -4,10 +4,6 @@ import { JSX } from 'react/jsx-runtime';
4
4
  import { SlotRecipeProps } from '@chakra-ui/react';
5
5
  import { UnstyledProp } from '@chakra-ui/react';
6
6
 
7
- /**
8
- * Additional properties we want to exclude from the ProgressBar component.
9
- * These are chakra-ui props we don't want exposed.
10
- */
11
7
  declare type ExcludedProps = "css" | "unstyled" | "as" | "asChild";
12
8
 
13
9
  /**
@@ -36,29 +32,24 @@ export declare type ProgressBarFillSlotProps = HTMLChakraProps<"div">;
36
32
 
37
33
  export declare type ProgressBarLabelSlotProps = HTMLChakraProps<"span">;
38
34
 
39
- /**
40
- * Main props interface for the ProgressBar component.
41
- * Extends ProgressBarRootProps to include root props, variant props, and aria props,
42
- * while adding custom props for label display and formatting.
43
- */
44
- export declare type ProgressBarProps = Omit<ProgressBarRootProps, ExcludedProps> & {
35
+ export declare type ProgressBarProps = Omit<ProgressBarRootSlotProps, ExcludedProps> & {
45
36
  /**
46
37
  * Ref forwarding to the root element
47
38
  */
48
39
  ref?: React.Ref<HTMLDivElement>;
49
40
  /**
50
- * Format options for the progress bar.
41
+ * Format options for the progress bar value display
51
42
  * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
52
43
  * @default { style: "percent" }
53
44
  */
54
- formatOptions?: ProgressBarRootProps["formatOptions"];
45
+ formatOptions?: ProgressBarRootSlotProps["formatOptions"];
55
46
  };
56
47
 
57
- /**
58
- * Base recipe props type that combines Chakra UI's recipe props
59
- * with the unstyled prop option for the div element.
60
- */
61
- export declare type ProgressBarRecipeProps = {
48
+ declare type ProgressBarRecipeProps = {
49
+ /**
50
+ * Size variant of the progress bar
51
+ * @default "md"
52
+ */
62
53
  size?: SlotRecipeProps<"progressBar">["size"];
63
54
  /**
64
55
  * Whether the progress bar represents an active, ongoing process.
@@ -67,16 +58,24 @@ export declare type ProgressBarRecipeProps = {
67
58
  * @default true
68
59
  */
69
60
  isDynamic?: SlotRecipeProps<"progressBar">["isDynamic"];
61
+ /**
62
+ * Whether the progress is indeterminate (unknown duration)
63
+ * @default false
64
+ */
70
65
  isIndeterminate?: SlotRecipeProps<"progressBar">["isIndeterminate"];
66
+ /**
67
+ * Visual style variant of the progress bar
68
+ * @default "solid"
69
+ */
71
70
  variant?: SlotRecipeProps<"progressBar">["variant"];
71
+ /**
72
+ * Layout configuration for label and value positioning
73
+ * @default "stacked"
74
+ */
72
75
  layout?: SlotRecipeProps<"progressBar">["layout"];
73
76
  } & UnstyledProp;
74
77
 
75
- /**
76
- * Root props type that extends Chakra's HTML props with our recipe props,
77
- * aria props, and data attributes.
78
- */
79
- export declare type ProgressBarRootProps = Omit<HTMLChakraProps<"div", ProgressBarRecipeProps>, "translate"> & Omit<ProgressBarRecipeProps, "isIndeterminate"> & AriaProgressBarProps & {
78
+ export declare type ProgressBarRootSlotProps = Omit<HTMLChakraProps<"div", ProgressBarRecipeProps>, "translate"> & Omit<ProgressBarRecipeProps, "isIndeterminate"> & AriaProgressBarProps & {
80
79
  [key: `data-${string}`]: string;
81
80
  translate?: "yes" | "no";
82
81
  };