@commercetools/nimbus 0.0.0-canary-20251015173928 → 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.
- package/dist/accordion.d.ts +26 -11
- package/dist/alert.d.ts +54 -28
- package/dist/avatar.d.ts +17 -19
- package/dist/badge.d.ts +16 -17
- package/dist/button.d.ts +23 -16
- package/dist/calendar.d.ts +0 -4
- package/dist/card.d.ts +18 -18
- package/dist/checkbox.d.ts +14 -9
- package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -1
- package/dist/chunks/accordion-CKDnNkVv.es.js.map +1 -1
- package/dist/chunks/alert-CPHjPe4-.cjs.js.map +1 -1
- package/dist/chunks/alert-lNg0Rz2w.es.js.map +1 -1
- package/dist/chunks/{avatar-BfEMp9g8.es.js → avatar-CTiSGVoD.es.js} +4 -2
- package/dist/chunks/avatar-CTiSGVoD.es.js.map +1 -0
- package/dist/chunks/avatar-_o-uSXYy.cjs.js.map +1 -1
- package/dist/chunks/{badge-JEfh4EDj.es.js → badge-Csn5glEd.es.js} +4 -2
- package/dist/chunks/badge-Csn5glEd.es.js.map +1 -0
- package/dist/chunks/badge-mMpNb3Qj.cjs.js.map +1 -1
- package/dist/chunks/button-B5OOW-2z.cjs.js.map +1 -1
- package/dist/chunks/button-IZUJaJku.es.js.map +1 -1
- package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +1 -1
- package/dist/chunks/calendar-lD6G93R9.es.js.map +1 -1
- package/dist/chunks/card-BB_1xrND.es.js.map +1 -1
- package/dist/chunks/card-BPEsGx1J.cjs.js.map +1 -1
- package/dist/chunks/{checkbox-DII0AOBy.es.js → checkbox-BB-WJdal.es.js} +2 -8
- package/dist/chunks/{checkbox-DII0AOBy.es.js.map → checkbox-BB-WJdal.es.js.map} +1 -1
- package/dist/chunks/checkbox-Dod-yTj4.cjs.js.map +1 -1
- package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +1 -1
- package/dist/chunks/collapsible-motion-CSrKjF8X.es.js.map +1 -1
- package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +1 -1
- package/dist/chunks/{combobox-CxEeal66.es.js → combobox-D_7gr3DY.es.js} +2 -2
- package/dist/chunks/{combobox-CxEeal66.es.js.map → combobox-D_7gr3DY.es.js.map} +1 -1
- package/dist/chunks/data-table-C51WU0Cc.cjs.js.map +1 -1
- package/dist/chunks/{data-table-BGCmY93Q.es.js → data-table-ClMivKY1.es.js} +5 -8
- package/dist/chunks/{data-table-BGCmY93Q.es.js.map → data-table-ClMivKY1.es.js.map} +1 -1
- package/dist/chunks/date-input-Cap8-3zj.es.js.map +1 -1
- package/dist/chunks/date-input-DvOM0DLT.cjs.js.map +1 -1
- package/dist/chunks/date-picker-CZAoPNsT.cjs.js.map +1 -1
- package/dist/chunks/date-picker-ChZ8H-MT.es.js.map +1 -1
- package/dist/chunks/date-range-picker-DGWMdcAN.es.js.map +1 -1
- package/dist/chunks/date-range-picker-iENzosfN.cjs.js.map +1 -1
- package/dist/chunks/{draggable-list-Dv372xXb.es.js → draggable-list-s43baxoM.es.js} +2 -2
- package/dist/chunks/{draggable-list-Dv372xXb.es.js.map → draggable-list-s43baxoM.es.js.map} +1 -1
- package/dist/chunks/{field-errors-CHxHaB5C.es.js → field-errors-ClQprmQz.es.js} +1 -6
- package/dist/chunks/field-errors-ClQprmQz.es.js.map +1 -0
- package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +1 -1
- package/dist/chunks/group-BqUFlw5R.cjs.js.map +1 -1
- package/dist/chunks/group-CWADf2vF.es.js.map +1 -1
- package/dist/chunks/{icon-V6yr3oou.es.js → icon-CenxuChf.es.js} +2 -4
- package/dist/chunks/icon-CenxuChf.es.js.map +1 -0
- package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -1
- package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +1 -1
- package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -1
- package/dist/chunks/link-BEhlSTUU.es.js.map +1 -1
- package/dist/chunks/link-DpU4rPCp.cjs.js.map +1 -1
- package/dist/chunks/loading-spinner-BiVTAfmp.es.js.map +1 -1
- package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js.map +1 -1
- package/dist/chunks/{localized-field-D4R1lSbz.es.js → localized-field-D3G0Uy7Z.es.js} +6 -6
- package/dist/chunks/{localized-field-D4R1lSbz.es.js.map → localized-field-D3G0Uy7Z.es.js.map} +1 -1
- package/dist/chunks/{menu-BkPvV5Ey.es.js → menu-D-vE6ZpM.es.js} +3 -6
- package/dist/chunks/menu-D-vE6ZpM.es.js.map +1 -0
- package/dist/chunks/menu-DIepV2KZ.cjs.js.map +1 -1
- package/dist/chunks/{money-input-jPYw0Jyg.es.js → money-input-sk0Slpeu.es.js} +2 -2
- package/dist/chunks/{money-input-jPYw0Jyg.es.js.map → money-input-sk0Slpeu.es.js.map} +1 -1
- package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js.map +1 -1
- package/dist/chunks/multiline-text-input-CilSJJaO.es.js.map +1 -1
- package/dist/chunks/{password-input-Bf_SPzLj.es.js → password-input-6MO4I-2j.es.js} +2 -2
- package/dist/chunks/{password-input-Bf_SPzLj.es.js.map → password-input-6MO4I-2j.es.js.map} +1 -1
- package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -1
- package/dist/chunks/{popover-DF0ppmkw.es.js → popover-DNaC7CwB.es.js} +2 -4
- package/dist/chunks/popover-DNaC7CwB.es.js.map +1 -0
- package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js.map +1 -1
- package/dist/chunks/progress-bar-DwuOjOcH.es.js.map +1 -1
- package/dist/chunks/range-calendar-DBpl6y5i.es.js.map +1 -1
- package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -1
- package/dist/chunks/{rich-text-input-D7DcSuhr.es.js → rich-text-input-BC8CBVio.es.js} +5 -5
- package/dist/chunks/rich-text-input-BC8CBVio.es.js.map +1 -0
- package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js.map +1 -1
- package/dist/chunks/search-input-BefkmgPy.cjs.js.map +1 -1
- package/dist/chunks/search-input-DJy2NHYW.es.js.map +1 -1
- package/dist/chunks/separator-CvRn_J0r.cjs.js.map +1 -1
- package/dist/chunks/{separator-B0qxXI4c.es.js → separator-DJGUFG-o.es.js} +2 -4
- package/dist/chunks/separator-DJGUFG-o.es.js.map +1 -0
- package/dist/chunks/split-button-BO52sL7h.cjs.js.map +1 -1
- package/dist/chunks/{split-button-yfUsgbxF.es.js → split-button-BxyZmuNi.es.js} +3 -3
- package/dist/chunks/split-button-BxyZmuNi.es.js.map +1 -0
- package/dist/chunks/{switch-Df_0twKu.es.js → switch-01hEhL9A.es.js} +2 -14
- package/dist/chunks/switch-01hEhL9A.es.js.map +1 -0
- package/dist/chunks/switch-CdLhBEPq.cjs.js.map +1 -1
- package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +1 -1
- package/dist/chunks/{tabs-BCLrKRoZ.es.js → tabs-Dhte-RCe.es.js} +2 -8
- package/dist/chunks/{tabs-BCLrKRoZ.es.js.map → tabs-Dhte-RCe.es.js.map} +1 -1
- package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -1
- package/dist/chunks/{tag-group-B-eOhltn.es.js → tag-group-D2dgXSsV.es.js} +3 -9
- package/dist/chunks/{tag-group-B-eOhltn.es.js.map → tag-group-D2dgXSsV.es.js.map} +1 -1
- package/dist/chunks/text-input-CSAODlCw.es.js.map +1 -1
- package/dist/chunks/text-input-DZdkCbdd.cjs.js.map +1 -1
- package/dist/chunks/time-input--a_qv-Jk.es.js.map +1 -1
- package/dist/chunks/time-input-zXykDANk.cjs.js.map +1 -1
- package/dist/chunks/toggle-button-DxMZsem4.cjs.js.map +1 -1
- package/dist/chunks/toggle-button-awb1jBf8.es.js.map +1 -1
- package/dist/chunks/toolbar-DV0l5MqA.cjs.js.map +1 -1
- package/dist/chunks/{toolbar-BDatiEYj.es.js → toolbar-Dduysqqi.es.js} +4 -2
- package/dist/chunks/toolbar-Dduysqqi.es.js.map +1 -0
- package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -1
- package/dist/chunks/{tooltip-CHm25f4m.es.js → tooltip-sgakxhiy.es.js} +2 -4
- package/dist/chunks/{tooltip-CHm25f4m.es.js.map → tooltip-sgakxhiy.es.js.map} +1 -1
- package/dist/collapsible-motion.d.ts +55 -42
- package/dist/combobox.d.ts +45 -25
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/draggable-list.es.js +1 -1
- package/dist/components/field-errors.es.js +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabs.es.js +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.es.js +1 -1
- package/dist/components.d.ts +31 -20
- package/dist/data-table.d.ts +4 -24
- package/dist/date-input.d.ts +10 -35
- package/dist/date-picker.d.ts +13 -66
- package/dist/date-range-picker.d.ts +10 -21
- package/dist/dialog.d.ts +31 -20
- package/dist/draggable-list.d.ts +35 -11
- package/dist/drawer.d.ts +45 -36
- package/dist/field-errors.d.ts +33 -25
- package/dist/form-field.d.ts +32 -12
- package/dist/group.d.ts +8 -12
- package/dist/icon-button.d.ts +29 -20
- package/dist/icon-toggle-button.d.ts +21 -16
- package/dist/icon.d.ts +0 -19
- package/dist/index.d.ts +31 -20
- package/dist/index.es.js +21 -21
- package/dist/inline-svg.d.ts +2 -21
- package/dist/link.d.ts +14 -24
- package/dist/loading-spinner.d.ts +13 -22
- package/dist/localized-field.d.ts +2 -5
- package/dist/money-input.d.ts +4 -0
- package/dist/multiline-text-input.d.ts +21 -7
- package/dist/nimbus-provider.d.ts +20 -8
- package/dist/number-input.d.ts +13 -2
- package/dist/pagination.d.ts +33 -9
- package/dist/password-input.d.ts +16 -10
- package/dist/popover.d.ts +3 -3
- package/dist/progress-bar.d.ts +21 -22
- package/dist/radio-input.d.ts +8 -3
- package/dist/range-calendar.d.ts +0 -7
- package/dist/scoped-search-input.d.ts +29 -92
- package/dist/search-input.d.ts +14 -10
- package/dist/select.d.ts +25 -9
- package/dist/separator.d.ts +10 -27
- package/dist/split-button.d.ts +23 -16
- package/dist/switch.d.ts +6 -11
- package/dist/tabs.d.ts +12 -13
- package/dist/tag-group.d.ts +4 -10
- package/dist/text-input.d.ts +19 -8
- package/dist/time-input.d.ts +8 -38
- package/dist/toggle-button-group.d.ts +9 -10
- package/dist/toggle-button.d.ts +15 -15
- package/dist/toolbar.d.ts +5 -11
- package/dist/tooltip.d.ts +23 -28
- package/package.json +5 -5
- package/dist/chunks/avatar-BfEMp9g8.es.js.map +0 -1
- package/dist/chunks/badge-JEfh4EDj.es.js.map +0 -1
- package/dist/chunks/field-errors-CHxHaB5C.es.js.map +0 -1
- package/dist/chunks/icon-V6yr3oou.es.js.map +0 -1
- package/dist/chunks/menu-BkPvV5Ey.es.js.map +0 -1
- package/dist/chunks/popover-DF0ppmkw.es.js.map +0 -1
- package/dist/chunks/rich-text-input-D7DcSuhr.es.js.map +0 -1
- package/dist/chunks/separator-B0qxXI4c.es.js.map +0 -1
- package/dist/chunks/split-button-yfUsgbxF.es.js.map +0 -1
- package/dist/chunks/switch-Df_0twKu.es.js.map +0 -1
- 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-
|
|
3
|
-
import { R as Ie } from "./chunks/rich-text-input-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
55
|
-
import { T as ir } from "./chunks/tag-group-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
70
|
-
import { L as ca } from "./chunks/localized-field-
|
|
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",
|
package/dist/inline-svg.d.ts
CHANGED
|
@@ -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
|
|
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
|
/**
|
package/dist/money-input.d.ts
CHANGED
|
@@ -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
|
|
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
|
-
*
|
|
25
|
-
*
|
|
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
|
|
30
|
-
* @default
|
|
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
|
|
35
|
-
*
|
|
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
|
-
*
|
|
18
|
-
* Expects a [BCP47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) (e.g., 'en-US', 'de-DE', 'fr-FR')
|
|
19
|
-
*
|
|
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
|
-
*
|
|
24
|
-
* When provided, all
|
|
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;
|
package/dist/number-input.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
package/dist/pagination.d.ts
CHANGED
|
@@ -14,23 +14,47 @@ export declare const Pagination: {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
export declare type PaginationProps = {
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Total number of items across all pages
|
|
19
|
+
*/
|
|
18
20
|
totalItems: number;
|
|
19
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Current active page number (1-based indexing)
|
|
23
|
+
* @default 1
|
|
24
|
+
*/
|
|
20
25
|
currentPage?: number;
|
|
21
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Number of items to display per page
|
|
28
|
+
* @default 10
|
|
29
|
+
*/
|
|
22
30
|
pageSize?: number;
|
|
23
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Available page size options for user selection
|
|
33
|
+
* @default [10, 20, 50, 100]
|
|
34
|
+
*/
|
|
24
35
|
pageSizeOptions?: number[];
|
|
25
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Callback fired when the page number changes
|
|
38
|
+
*/
|
|
26
39
|
onPageChange?: (page: number) => void;
|
|
27
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Callback fired when the page size changes
|
|
42
|
+
*/
|
|
28
43
|
onPageSizeChange?: (pageSize: number) => void;
|
|
29
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* Custom aria-label for the pagination navigation
|
|
46
|
+
* @default "Pagination navigation"
|
|
47
|
+
*/
|
|
30
48
|
"aria-label"?: string;
|
|
31
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Whether to show page number input for direct navigation
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
32
53
|
enablePageInput?: boolean;
|
|
33
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Whether to show page size selector dropdown
|
|
56
|
+
* @default false
|
|
57
|
+
*/
|
|
34
58
|
enablePageSizeSelector?: boolean;
|
|
35
59
|
};
|
|
36
60
|
|
package/dist/password-input.d.ts
CHANGED
|
@@ -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<
|
|
20
|
+
declare type TextInputProps = Omit<TextInputRootSlotProps, keyof TextFieldProps | "as" | "asChild"> & Omit<TextFieldProps, "ref"> & {
|
|
26
21
|
/**
|
|
27
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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 &
|
|
19
|
+
export declare type PopoverProps = PopoverProps_2 & PopoverRootSlotProps;
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
declare type PopoverRecipeProps = RecipeProps<"popover"> & UnstyledProp;
|
|
22
22
|
|
|
23
|
-
export declare type
|
|
23
|
+
export declare type PopoverRootSlotProps = HTMLChakraProps<"div", PopoverRecipeProps>;
|
|
24
24
|
|
|
25
25
|
export { }
|
|
26
26
|
|
package/dist/progress-bar.d.ts
CHANGED
|
@@ -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?:
|
|
45
|
+
formatOptions?: ProgressBarRootSlotProps["formatOptions"];
|
|
55
46
|
};
|
|
56
47
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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
|
};
|