@commercetools/nimbus 2.0.1-rc1 → 2.0.1-rc3
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/chunks/{Button-CrgZzRm9.es.js → Button-Dx3xzN8n.es.js} +2 -2
- package/dist/chunks/{Button-CrgZzRm9.es.js.map → Button-Dx3xzN8n.es.js.map} +1 -1
- package/dist/chunks/{DateField-qGypjFaJ.es.js → DateField-DZwn3cIj.es.js} +3 -3
- package/dist/chunks/{DateField-qGypjFaJ.es.js.map → DateField-DZwn3cIj.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-Dn0LNd7V.es.js → DatePicker-B2Nf_0Sq.es.js} +6 -6
- package/dist/chunks/{DatePicker-Dn0LNd7V.es.js.map → DatePicker-B2Nf_0Sq.es.js.map} +1 -1
- package/dist/chunks/{Dialog-B2hCMJnM.es.js → Dialog-Qpq4hk89.es.js} +6 -6
- package/dist/chunks/{Dialog-B2hCMJnM.es.js.map → Dialog-Qpq4hk89.es.js.map} +1 -1
- package/dist/chunks/{Header-B4V0zxSN.es.js → Header-DFcQWjkP.es.js} +3 -3
- package/dist/chunks/{Header-B4V0zxSN.es.js.map → Header-DFcQWjkP.es.js.map} +1 -1
- package/dist/chunks/{Heading-CfiWDgRZ.es.js → Heading-DFiVmZUR.es.js} +4 -4
- package/dist/chunks/{Heading-CfiWDgRZ.es.js.map → Heading-DFiVmZUR.es.js.map} +1 -1
- package/dist/chunks/{ListBox-DAcVFwWW.es.js → ListBox-_1Uk-5-7.es.js} +6 -6
- package/dist/chunks/{ListBox-DAcVFwWW.es.js.map → ListBox-_1Uk-5-7.es.js.map} +1 -1
- package/dist/chunks/{ListKeyboardDelegate-D-k0fIME.es.js → ListKeyboardDelegate-ByRdSpOe.es.js} +2 -2
- package/dist/chunks/{ListKeyboardDelegate-D-k0fIME.es.js.map → ListKeyboardDelegate-ByRdSpOe.es.js.map} +1 -1
- package/dist/chunks/{Modal-D91zBjIP.es.js → Modal-DZrVgGsJ.es.js} +3 -3
- package/dist/chunks/{Modal-D91zBjIP.es.js.map → Modal-DZrVgGsJ.es.js.map} +1 -1
- package/dist/chunks/{SelectionManager-2q7N4psD.es.js → SelectionManager-DMLLo5N3.es.js} +3 -3
- package/dist/chunks/{SelectionManager-2q7N4psD.es.js.map → SelectionManager-DMLLo5N3.es.js.map} +1 -1
- package/dist/chunks/{ToggleButton-Cj9AtHpY.es.js → ToggleButton-881iW8P_.es.js} +2 -2
- package/dist/chunks/{ToggleButton-Cj9AtHpY.es.js.map → ToggleButton-881iW8P_.es.js.map} +1 -1
- package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -1
- package/dist/chunks/{accordion-DSLccfDW.es.js → accordion-CKDnNkVv.es.js} +2 -2
- package/dist/chunks/accordion-CKDnNkVv.es.js.map +1 -0
- package/dist/chunks/{alert-Cz2mnKir.es.js → alert-lNg0Rz2w.es.js} +2 -2
- package/dist/chunks/{alert-Cz2mnKir.es.js.map → alert-lNg0Rz2w.es.js.map} +1 -1
- package/dist/chunks/{button-Cnui897Z.es.js → button-IZUJaJku.es.js} +3 -3
- package/dist/chunks/{button-Cnui897Z.es.js.map → button-IZUJaJku.es.js.map} +1 -1
- package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +1 -1
- package/dist/chunks/{calendar-BTdHdh7y.es.js → calendar-lD6G93R9.es.js} +5 -5
- package/dist/chunks/calendar-lD6G93R9.es.js.map +1 -0
- package/dist/chunks/{checkbox-Bm4Yqa_0.es.js → checkbox-BB-WJdal.es.js} +3 -3
- package/dist/chunks/{checkbox-Bm4Yqa_0.es.js.map → checkbox-BB-WJdal.es.js.map} +1 -1
- package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +1 -1
- package/dist/chunks/{collapsible-motion-OOUmjdKw.es.js → collapsible-motion-CSrKjF8X.es.js} +2 -2
- package/dist/chunks/collapsible-motion-CSrKjF8X.es.js.map +1 -0
- package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +1 -1
- package/dist/chunks/{combobox-Ch4VokC9.es.js → combobox-D_7gr3DY.es.js} +13 -13
- package/dist/chunks/{combobox-Ch4VokC9.es.js.map → combobox-D_7gr3DY.es.js.map} +1 -1
- package/dist/chunks/{data-table-DC369pb3.es.js → data-table-ClMivKY1.es.js} +8 -8
- package/dist/chunks/{data-table-DC369pb3.es.js.map → data-table-ClMivKY1.es.js.map} +1 -1
- package/dist/chunks/{date-input-KVuRsFzs.es.js → date-input-Cap8-3zj.es.js} +2 -2
- package/dist/chunks/{date-input-KVuRsFzs.es.js.map → date-input-Cap8-3zj.es.js.map} +1 -1
- package/dist/chunks/{date-picker-C304WfAN.es.js → date-picker-ChZ8H-MT.es.js} +9 -9
- package/dist/chunks/{date-picker-C304WfAN.es.js.map → date-picker-ChZ8H-MT.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-CkRgcwfm.es.js → date-range-picker-DGWMdcAN.es.js} +9 -9
- package/dist/chunks/{date-range-picker-CkRgcwfm.es.js.map → date-range-picker-DGWMdcAN.es.js.map} +1 -1
- package/dist/chunks/{dialog-gTeRW6GK.es.js → dialog-BwtIcIvd.es.js} +2 -2
- package/dist/chunks/{dialog-gTeRW6GK.es.js.map → dialog-BwtIcIvd.es.js.map} +1 -1
- package/dist/chunks/{dialog.title-B9cEUH8w.es.js → dialog.title-CP_ZeiK4.es.js} +5 -5
- package/dist/chunks/{dialog.title-B9cEUH8w.es.js.map → dialog.title-CP_ZeiK4.es.js.map} +1 -1
- package/dist/chunks/{draggable-list-BIJ7t5ou.es.js → draggable-list-s43baxoM.es.js} +11 -11
- package/dist/chunks/{draggable-list-BIJ7t5ou.es.js.map → draggable-list-s43baxoM.es.js.map} +1 -1
- package/dist/chunks/{drawer-DKF34Nfc.es.js → drawer-BJ4qvGnj.es.js} +5 -5
- package/dist/chunks/{drawer-DKF34Nfc.es.js.map → drawer-BJ4qvGnj.es.js.map} +1 -1
- package/dist/chunks/{form-field-cRZo4WSf.es.js → form-field-BYlpCXdY.es.js} +3 -3
- package/dist/chunks/{form-field-cRZo4WSf.es.js.map → form-field-BYlpCXdY.es.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-CenxuChf.es.js.map +1 -1
- package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -1
- package/dist/chunks/{icon-button-9Ni8-hO7.es.js → icon-button-DQS2apw-.es.js} +2 -2
- package/dist/chunks/{icon-button-9Ni8-hO7.es.js.map → icon-button-DQS2apw-.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-Db8CLmE5.es.js → icon-toggle-button-Bi-9Obfx.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-Db8CLmE5.es.js.map → icon-toggle-button-Bi-9Obfx.es.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-QwdgCWJd.es.js → link-BEhlSTUU.es.js} +3 -3
- package/dist/chunks/{link-QwdgCWJd.es.js.map → link-BEhlSTUU.es.js.map} +1 -1
- package/dist/chunks/{localized-field-pJSLdod5.es.js → localized-field-D3G0Uy7Z.es.js} +8 -8
- package/dist/chunks/{localized-field-pJSLdod5.es.js.map → localized-field-D3G0Uy7Z.es.js.map} +1 -1
- package/dist/chunks/{menu-4QTf2m-7.es.js → menu-D-vE6ZpM.es.js} +4 -4
- 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-BJpffXRR.es.js → money-input-sk0Slpeu.es.js} +3 -3
- package/dist/chunks/{money-input-BJpffXRR.es.js.map → money-input-sk0Slpeu.es.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-BfpEKy6w.es.js → nimbus-provider-BHNFDQ0f.es.js} +5 -5
- package/dist/chunks/{nimbus-provider-BfpEKy6w.es.js.map → nimbus-provider-BHNFDQ0f.es.js.map} +1 -1
- package/dist/chunks/{number-input-DXiwgboS.es.js → number-input-CktMxOdZ.es.js} +2 -2
- package/dist/chunks/{number-input-DXiwgboS.es.js.map → number-input-CktMxOdZ.es.js.map} +1 -1
- package/dist/chunks/{openLink-DT8XzqFh.es.js → openLink-CY66vjvW.es.js} +3 -3
- package/dist/chunks/{openLink-DT8XzqFh.es.js.map → openLink-CY66vjvW.es.js.map} +1 -1
- package/dist/chunks/{pagination-Sq1twv0k.es.js → pagination-Bcq69Nv3.es.js} +4 -4
- package/dist/chunks/{pagination-Sq1twv0k.es.js.map → pagination-Bcq69Nv3.es.js.map} +1 -1
- package/dist/chunks/{password-input-CBhC_e5Z.es.js → password-input-6MO4I-2j.es.js} +2 -2
- package/dist/chunks/{password-input-CBhC_e5Z.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-Cz6TnNt_.es.js → popover-DNaC7CwB.es.js} +2 -2
- package/dist/chunks/popover-DNaC7CwB.es.js.map +1 -0
- package/dist/chunks/{radio-input-DhqS9ipf.es.js → radio-input-4jw6HUjC.es.js} +2 -2
- package/dist/chunks/{radio-input-DhqS9ipf.es.js.map → radio-input-4jw6HUjC.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-RBEpLQJb.es.js → range-calendar-DBpl6y5i.es.js} +5 -5
- package/dist/chunks/range-calendar-DBpl6y5i.es.js.map +1 -0
- package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -1
- package/dist/chunks/{rich-text-input-CrjP71KM.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-DCpjVXVS.es.js → search-input-DJy2NHYW.es.js} +3 -3
- package/dist/chunks/{search-input-DCpjVXVS.es.js.map → search-input-DJy2NHYW.es.js.map} +1 -1
- package/dist/chunks/{select-xlqMXZuO.es.js → select-BmMhTBo-.es.js} +9 -9
- package/dist/chunks/{select-xlqMXZuO.es.js.map → select-BmMhTBo-.es.js.map} +1 -1
- package/dist/chunks/separator-CvRn_J0r.cjs.js.map +1 -1
- package/dist/chunks/separator-DJGUFG-o.es.js.map +1 -1
- package/dist/chunks/split-button-BO52sL7h.cjs.js.map +1 -1
- package/dist/chunks/{split-button-C5MmKuVW.es.js → split-button-BxyZmuNi.es.js} +4 -4
- package/dist/chunks/split-button-BxyZmuNi.es.js.map +1 -0
- package/dist/chunks/{switch-B5bEl91n.es.js → switch-01hEhL9A.es.js} +2 -2
- 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-DGzmzlun.es.js → tabs-Dhte-RCe.es.js} +4 -4
- package/dist/chunks/{tabs-DGzmzlun.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-pJFnuRoJ.es.js → tag-group-D2dgXSsV.es.js} +9 -9
- package/dist/chunks/{tag-group-pJFnuRoJ.es.js.map → tag-group-D2dgXSsV.es.js.map} +1 -1
- package/dist/chunks/{time-input-BUej1BjY.es.js → time-input--a_qv-Jk.es.js} +2 -2
- package/dist/chunks/{time-input-BUej1BjY.es.js.map → time-input--a_qv-Jk.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-CPzjUSI_.es.js → toggle-button-awb1jBf8.es.js} +2 -2
- package/dist/chunks/{toggle-button-CPzjUSI_.es.js.map → toggle-button-awb1jBf8.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-DOxjowig.es.js → toggle-button-group-Ce7ezOED.es.js} +2 -2
- package/dist/chunks/{toggle-button-group-DOxjowig.es.js.map → toggle-button-group-Ce7ezOED.es.js.map} +1 -1
- package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -1
- package/dist/chunks/tooltip-sgakxhiy.es.js.map +1 -1
- package/dist/chunks/{useButton-DkQVxdIF.es.js → useButton-_sJ3_8ha.es.js} +2 -2
- package/dist/chunks/{useButton-DkQVxdIF.es.js.map → useButton-_sJ3_8ha.es.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-BkKCXbud.es.js → useDateFormatter-C4zVAL_K.es.js} +2 -2
- package/dist/chunks/{useDateFormatter-BkKCXbud.es.js.map → useDateFormatter-C4zVAL_K.es.js.map} +1 -1
- package/dist/chunks/{useGridListItem-Cosrmt8g.es.js → useGridListItem--iMluO7K.es.js} +4 -4
- package/dist/chunks/{useGridListItem-Cosrmt8g.es.js.map → useGridListItem--iMluO7K.es.js.map} +1 -1
- package/dist/chunks/{useListState-CUO8Wibt.es.js → useListState-Cf8n791-.es.js} +2 -2
- package/dist/chunks/{useListState-CUO8Wibt.es.js.map → useListState-Cf8n791-.es.js.map} +1 -1
- package/dist/chunks/{usePress-Bxb2-xLP.es.js → usePress-Dc6amhnJ.es.js} +2 -2
- package/dist/chunks/{usePress-Bxb2-xLP.es.js.map → usePress-Dc6amhnJ.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-CnVWWOJD.es.js → useSingleSelectListState-DLY6K_dU.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-CnVWWOJD.es.js.map → useSingleSelectListState-DLY6K_dU.es.js.map} +1 -1
- package/dist/chunks/{useToggle-CUMQAGyE.es.js → useToggle-CKEhqMIa.es.js} +2 -2
- package/dist/chunks/{useToggle-CUMQAGyE.es.js.map → useToggle-CKEhqMIa.es.js.map} +1 -1
- package/dist/components/accordion/accordion.d.ts +13 -0
- package/dist/components/accordion/accordion.recipe.d.ts +36 -0
- package/dist/components/accordion/accordion.slots.d.ts +8 -0
- package/dist/components/accordion/accordion.types.d.ts +48 -0
- package/dist/components/accordion/components/accordion-content.d.ts +2 -0
- package/dist/components/accordion/components/accordion-header.d.ts +2 -0
- package/dist/components/accordion/components/accordion-item.d.ts +2 -0
- package/dist/components/accordion/components/accordion-root.d.ts +9 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert/alert.d.ts +30 -0
- package/dist/components/alert/alert.i18n.d.ts +7 -0
- package/dist/components/alert/alert.recipe.d.ts +40 -0
- package/dist/components/alert/alert.slots.d.ts +16 -0
- package/dist/components/alert/alert.types.d.ts +48 -0
- package/dist/components/alert/components/alert.actions.d.ts +5 -0
- package/dist/components/alert/components/alert.description.d.ts +5 -0
- package/dist/components/alert/components/alert.dismiss-button.d.ts +5 -0
- package/dist/components/alert/components/alert.root.d.ts +18 -0
- package/dist/components/alert/components/alert.title.d.ts +5 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert.es.js +1 -1
- package/dist/components/avatar/avatar.d.ts +5 -0
- package/dist/components/avatar/avatar.recipe.d.ts +19 -0
- package/dist/components/avatar/avatar.slots.d.ts +3 -0
- package/dist/{avatar.d.ts → components/avatar/avatar.types.d.ts} +42 -63
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/badge/badge.d.ts +12 -0
- package/dist/components/badge/badge.recipe.d.ts +41 -0
- package/dist/components/badge/badge.slots.d.ts +3 -0
- package/dist/components/badge/badge.types.d.ts +24 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/{box.d.ts → components/box/box.d.ts} +16 -30
- package/dist/components/box/index.d.ts +1 -0
- package/dist/components/button/button.d.ts +12 -0
- package/dist/components/button/button.recipe.d.ts +107 -0
- package/dist/components/button/button.slots.d.ts +11 -0
- package/dist/components/button/button.types.d.ts +36 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar/calendar.d.ts +10 -0
- package/dist/components/calendar/calendar.recipe.d.ts +1 -0
- package/dist/components/calendar/calendar.slots.d.ts +11 -0
- package/dist/components/calendar/calendar.types.d.ts +16 -0
- package/dist/components/calendar/components/calendar.custom-context.d.ts +3 -0
- package/dist/components/calendar/components/calendar.grids.d.ts +1 -0
- package/dist/components/calendar/components/calendar.header.d.ts +1 -0
- package/dist/components/calendar/index.d.ts +2 -0
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card/card.d.ts +18 -0
- package/dist/components/card/card.recipe.d.ts +52 -0
- package/dist/components/card/card.slots.d.ts +12 -0
- package/dist/components/card/card.types.d.ts +28 -0
- package/dist/components/card/components/card.content.d.ts +5 -0
- package/dist/components/card/components/card.header.d.ts +5 -0
- package/dist/components/card/components/card.root.d.ts +18 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/checkbox/checkbox.d.ts +12 -0
- package/dist/components/checkbox/checkbox.recipe.d.ts +27 -0
- package/dist/components/checkbox/checkbox.slots.d.ts +5 -0
- package/dist/components/checkbox/checkbox.types.d.ts +24 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/code/code.d.ts +10 -0
- package/dist/components/code/code.recipe.d.ts +48 -0
- package/dist/components/code/index.d.ts +1 -0
- package/dist/components/collapsible-motion/collapsible-motion.d.ts +10 -0
- package/dist/components/collapsible-motion/collapsible-motion.recipe.d.ts +1 -0
- package/dist/components/collapsible-motion/collapsible-motion.slots.d.ts +5 -0
- package/dist/components/collapsible-motion/collapsible-motion.types.d.ts +59 -0
- package/dist/components/collapsible-motion/components/collapsible-motion-content.d.ts +9 -0
- package/dist/components/collapsible-motion/components/collapsible-motion-context.d.ts +9 -0
- package/dist/components/collapsible-motion/components/collapsible-motion-root.d.ts +8 -0
- package/dist/components/collapsible-motion/components/collapsible-motion-trigger.d.ts +10 -0
- package/dist/components/collapsible-motion/index.d.ts +2 -0
- package/dist/components/collapsible-motion.es.js +1 -1
- package/dist/components/combobox/combobox.d.ts +18 -0
- package/dist/components/combobox/combobox.recipe.d.ts +96 -0
- package/dist/components/combobox/combobox.slots.d.ts +27 -0
- package/dist/components/combobox/combobox.types.d.ts +152 -0
- package/dist/components/combobox/components/combobox.leading-element.d.ts +11 -0
- package/dist/components/combobox/components/combobox.multi-select-button-group.d.ts +2 -0
- package/dist/components/combobox/components/combobox.multi-select-root.d.ts +2 -0
- package/dist/components/combobox/components/combobox.multi-select-tag-group.d.ts +2 -0
- package/dist/components/combobox/components/combobox.option-group.d.ts +6 -0
- package/dist/components/combobox/components/combobox.option.d.ts +5 -0
- package/dist/components/combobox/components/combobox.options.d.ts +5 -0
- package/dist/components/combobox/components/combobox.root.d.ts +12 -0
- package/dist/components/combobox/components/combobox.single-select-button-group.d.ts +2 -0
- package/dist/components/combobox/components/combobox.single-select-input.d.ts +2 -0
- package/dist/components/combobox/components/combobox.single-select-root.d.ts +2 -0
- package/dist/components/combobox/index.d.ts +2 -0
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.es.js +1 -1
- package/dist/components/data-table/components/data-table.body.d.ts +5 -0
- package/dist/components/data-table/components/data-table.cell.d.ts +2 -0
- package/dist/components/data-table/components/data-table.column.d.ts +2 -0
- package/dist/components/data-table/components/data-table.context.d.ts +3 -0
- package/dist/components/data-table/components/data-table.footer.d.ts +11 -0
- package/dist/components/data-table/components/data-table.header.d.ts +5 -0
- package/dist/components/data-table/components/data-table.root.d.ts +5 -0
- package/dist/components/data-table/components/data-table.row.d.ts +5 -0
- package/dist/components/data-table/components/data-table.table.d.ts +5 -0
- package/dist/components/data-table/data-table.d.ts +52 -0
- package/dist/components/data-table/data-table.recipe.d.ts +32 -0
- package/dist/components/data-table/data-table.slots.d.ts +21 -0
- package/dist/components/data-table/data-table.types.d.ts +154 -0
- package/dist/components/data-table/index.d.ts +2 -0
- package/dist/components/data-table/test-data.d.ts +58 -0
- package/dist/components/data-table/utils/rows.utils.d.ts +4 -0
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input/date-input.d.ts +12 -0
- package/dist/components/date-input/date-input.recipe.d.ts +71 -0
- package/dist/components/date-input/date-input.slots.d.ts +18 -0
- package/dist/components/date-input/date-input.types.d.ts +20 -0
- package/dist/components/date-input/index.d.ts +2 -0
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker/components/date-picker.custom-context.d.ts +3 -0
- package/dist/components/date-picker/components/date-picker.time-input.d.ts +2 -0
- package/dist/components/date-picker/date-picker.d.ts +12 -0
- package/dist/components/date-picker/date-picker.i18n.d.ts +33 -0
- package/dist/components/date-picker/date-picker.recipe.d.ts +14 -0
- package/dist/components/date-picker/date-picker.slots.d.ts +30 -0
- package/dist/components/date-picker/date-picker.types.d.ts +43 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker/components/date-range-picker.custom-context.d.ts +4 -0
- package/dist/components/date-range-picker/components/date-range-picker.time-input.d.ts +2 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts +11 -0
- package/dist/components/date-range-picker/date-range-picker.recipe.d.ts +34 -0
- package/dist/components/date-range-picker/date-range-picker.slots.d.ts +36 -0
- package/dist/components/date-range-picker/date-range-picker.types.d.ts +44 -0
- package/dist/components/date-range-picker/index.d.ts +2 -0
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/dialog/components/dialog.body.d.ts +5 -0
- package/dist/components/dialog/components/dialog.close-trigger.d.ts +5 -0
- package/dist/components/dialog/components/dialog.content.d.ts +5 -0
- package/dist/components/dialog/components/dialog.context.d.ts +19 -0
- package/dist/components/dialog/components/dialog.footer.d.ts +5 -0
- package/dist/components/dialog/components/dialog.header.d.ts +5 -0
- package/dist/components/dialog/components/dialog.root.d.ts +5 -0
- package/dist/components/dialog/components/dialog.title.d.ts +5 -0
- package/dist/components/dialog/components/dialog.trigger.d.ts +5 -0
- package/dist/components/dialog/components/index.d.ts +8 -0
- package/dist/components/dialog/dialog.d.ts +229 -0
- package/dist/components/dialog/dialog.i18n.d.ts +7 -0
- package/dist/components/dialog/dialog.recipe.d.ts +54 -0
- package/dist/components/dialog/dialog.slots.d.ts +28 -0
- package/dist/components/dialog/dialog.types.d.ts +189 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/draggable-list/components/draggable-list.field.d.ts +2 -0
- package/dist/components/draggable-list/components/draggable-list.item.d.ts +2 -0
- package/dist/components/draggable-list/components/draggable-list.root.d.ts +2 -0
- package/dist/components/draggable-list/draggable-list.d.ts +107 -0
- package/dist/components/draggable-list/draggable-list.i18n.d.ts +12 -0
- package/dist/components/draggable-list/draggable-list.recipe.d.ts +14 -0
- package/dist/components/draggable-list/draggable-list.slots.d.ts +6 -0
- package/dist/components/draggable-list/draggable-list.types.d.ts +141 -0
- package/dist/components/draggable-list/index.d.ts +2 -0
- package/dist/components/draggable-list/utils/draggable-list.test-data.d.ts +3 -0
- package/dist/components/draggable-list/utils/draggable-list.test-utils.d.ts +1 -0
- package/dist/components/draggable-list.es.js +1 -1
- package/dist/components/drawer/components/drawer.body.d.ts +5 -0
- package/dist/components/drawer/components/drawer.close-trigger.d.ts +5 -0
- package/dist/components/drawer/components/drawer.content.d.ts +5 -0
- package/dist/components/drawer/components/drawer.context.d.ts +19 -0
- package/dist/components/drawer/components/drawer.footer.d.ts +5 -0
- package/dist/components/drawer/components/drawer.header.d.ts +5 -0
- package/dist/components/drawer/components/drawer.root.d.ts +5 -0
- package/dist/components/drawer/components/drawer.title.d.ts +5 -0
- package/dist/components/drawer/components/drawer.trigger.d.ts +5 -0
- package/dist/components/drawer/components/index.d.ts +8 -0
- package/dist/components/drawer/drawer.d.ts +228 -0
- package/dist/components/drawer/drawer.i18n.d.ts +7 -0
- package/dist/components/drawer/drawer.recipe.d.ts +98 -0
- package/dist/components/drawer/drawer.slots.d.ts +21 -0
- package/dist/components/drawer/drawer.types.d.ts +175 -0
- package/dist/components/drawer/index.d.ts +3 -0
- package/dist/components/drawer.es.js +1 -1
- package/dist/components/field-errors/field-errors.d.ts +34 -0
- package/dist/components/field-errors/field-errors.i18n.d.ts +77 -0
- package/dist/components/field-errors/field-errors.recipe.d.ts +1 -0
- package/dist/components/field-errors/field-errors.slots.d.ts +6 -0
- package/dist/{field-errors.d.ts → components/field-errors/field-errors.types.d.ts} +95 -144
- package/dist/components/field-errors/index.d.ts +3 -0
- package/dist/components/flex/flex.d.ts +8 -0
- package/dist/components/flex/index.d.ts +1 -0
- package/dist/components/form-field/components/form-field.context.d.ts +22 -0
- package/dist/components/form-field/components/form-field.description.d.ts +2 -0
- package/dist/components/form-field/components/form-field.error.d.ts +2 -0
- package/dist/components/form-field/components/form-field.info-box.d.ts +9 -0
- package/dist/components/form-field/components/form-field.input.d.ts +2 -0
- package/dist/components/form-field/components/form-field.label.d.ts +2 -0
- package/dist/components/form-field/components/form-field.root.d.ts +9 -0
- package/dist/components/form-field/form-field.d.ts +17 -0
- package/dist/components/form-field/form-field.recipe.d.ts +49 -0
- package/dist/components/form-field/form-field.slots.d.ts +15 -0
- package/dist/components/form-field/form-field.types.d.ts +54 -0
- package/dist/components/form-field/index.d.ts +2 -0
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/grid/grid.d.ts +18 -0
- package/dist/components/grid/index.d.ts +1 -0
- package/dist/components/group/group.d.ts +2 -0
- package/dist/components/group/group.recipe.d.ts +5 -0
- package/dist/components/group/group.slots.d.ts +8 -0
- package/dist/components/group/group.types.d.ts +17 -0
- package/dist/components/group/index.d.ts +2 -0
- package/dist/{heading.d.ts → components/heading/heading.d.ts} +41 -55
- package/dist/components/heading/heading.recipe.d.ts +37 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/icon/icon.d.ts +12 -0
- package/dist/components/icon/icon.recipe.d.ts +29 -0
- package/dist/components/icon/icon.slots.d.ts +7 -0
- package/dist/components/icon/icon.types.d.ts +29 -0
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/icon-button/icon-button.d.ts +12 -0
- package/dist/components/icon-button/icon-button.types.d.ts +11 -0
- package/dist/components/icon-button/index.d.ts +2 -0
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button/icon-toggle-button.d.ts +12 -0
- package/dist/components/icon-toggle-button/icon-toggle-button.types.d.ts +11 -0
- package/dist/components/icon-toggle-button/index.d.ts +2 -0
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/image/image.d.ts +13 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/index.d.ts +65 -0
- package/dist/components/inline-svg/constants/index.d.ts +1 -0
- package/dist/{constants.d.ts → components/inline-svg/constants/sanitization.constants.d.ts} +8 -20
- package/dist/components/inline-svg/hooks/index.d.ts +1 -0
- package/dist/{hooks.d.ts → components/inline-svg/hooks/use-inline-svg.d.ts} +10 -21
- package/dist/components/inline-svg/index.d.ts +2 -0
- package/dist/components/inline-svg/inline-svg.d.ts +23 -0
- package/dist/components/inline-svg/inline-svg.slots.d.ts +22 -0
- package/dist/components/inline-svg/inline-svg.types.d.ts +12 -0
- package/dist/components/inline-svg/utils/index.d.ts +1 -0
- package/dist/{utils.d.ts → components/inline-svg/utils/sanitize-svg.d.ts} +32 -44
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/kbd.d.ts +15 -0
- package/dist/components/kbd/kbd.recipe.d.ts +1 -0
- package/dist/components/kbd/kbd.slots.d.ts +19 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/link.d.ts +12 -0
- package/dist/components/link/link.recipe.d.ts +28 -0
- package/dist/components/link/link.slots.d.ts +8 -0
- package/dist/components/link/link.types.d.ts +27 -0
- package/dist/components/link.es.js +1 -1
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/list.d.ts +18 -0
- package/dist/components/list/list.recipe.d.ts +38 -0
- package/dist/components/loading-spinner/index.d.ts +2 -0
- package/dist/components/loading-spinner/loading-spinner.d.ts +12 -0
- package/dist/components/loading-spinner/loading-spinner.i18n.d.ts +8 -0
- package/dist/components/loading-spinner/loading-spinner.recipe.d.ts +36 -0
- package/dist/components/loading-spinner/loading-spinner.slots.d.ts +6 -0
- package/dist/components/loading-spinner/loading-spinner.types.d.ts +24 -0
- package/dist/components/localized-field/components/localized-field.locale-field.d.ts +2 -0
- package/dist/components/localized-field/components/localized-field.root.d.ts +2 -0
- package/dist/components/localized-field/index.d.ts +2 -0
- package/dist/components/localized-field/localized-field.d.ts +17 -0
- package/dist/components/localized-field/localized-field.i18n.d.ts +33 -0
- package/dist/components/localized-field/localized-field.recipe.d.ts +22 -0
- package/dist/components/localized-field/localized-field.slots.d.ts +19 -0
- package/dist/components/localized-field/localized-field.types.d.ts +188 -0
- package/dist/components/localized-field/utils/localized-field.story-component.d.ts +39 -0
- package/dist/components/localized-field/utils/localized-field.utils.d.ts +34 -0
- package/dist/components/localized-field/utils/test-data.d.ts +340 -0
- package/dist/components/localized-field/utils/test-utils.d.ts +22 -0
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/menu/components/menu.content.d.ts +5 -0
- package/dist/components/menu/components/menu.context.d.ts +5 -0
- package/dist/components/menu/components/menu.item.d.ts +5 -0
- package/dist/components/menu/components/menu.root.d.ts +5 -0
- package/dist/components/menu/components/menu.section-context.d.ts +5 -0
- package/dist/components/menu/components/menu.section-label.d.ts +8 -0
- package/dist/components/menu/components/menu.section.d.ts +5 -0
- package/dist/components/menu/components/menu.submenu-trigger.d.ts +5 -0
- package/dist/components/menu/components/menu.submenu.d.ts +5 -0
- package/dist/components/menu/components/menu.trigger.d.ts +5 -0
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/menu.d.ts +39 -0
- package/dist/components/menu/menu.recipe.d.ts +5 -0
- package/dist/components/menu/menu.slots.d.ts +10 -0
- package/dist/components/menu/menu.types.d.ts +62 -0
- package/dist/components/money-input/index.d.ts +2 -0
- package/dist/components/money-input/money-input.d.ts +77 -0
- package/dist/components/money-input/money-input.i18n.d.ts +18 -0
- package/dist/components/money-input/money-input.recipe.d.ts +40 -0
- package/dist/components/money-input/money-input.slots.d.ts +8 -0
- package/dist/components/money-input/money-input.types.d.ts +102 -0
- package/dist/{money-input.d.ts → components/money-input/utils/currencies.d.ts} +666 -879
- package/dist/components/money-input/utils/index.d.ts +2 -0
- package/dist/components/money-input/utils/parsing-utilities.d.ts +22 -0
- package/dist/components/money-input/utils/static-methods.d.ts +6 -0
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/multiline-text-input/hooks/index.d.ts +1 -0
- package/dist/components/multiline-text-input/hooks/use-autogrow.d.ts +16 -0
- package/dist/components/multiline-text-input/index.d.ts +2 -0
- package/dist/components/multiline-text-input/multiline-text-input.d.ts +12 -0
- package/dist/components/multiline-text-input/multiline-text-input.recipe.d.ts +64 -0
- package/dist/components/multiline-text-input/multiline-text-input.slots.d.ts +16 -0
- package/dist/components/multiline-text-input/multiline-text-input.types.d.ts +42 -0
- package/dist/components/nimbus-provider/components/nimbus-provider.color-mode-provider.d.ts +2 -0
- package/dist/components/nimbus-provider/index.d.ts +2 -0
- package/dist/components/nimbus-provider/nimbus-provider.d.ts +9 -0
- package/dist/{nimbus-provider.d.ts → components/nimbus-provider/nimbus-provider.types.d.ts} +92 -119
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input/index.d.ts +2 -0
- package/dist/components/number-input/number-input.d.ts +11 -0
- package/dist/components/number-input/number-input.i18n.d.ts +13 -0
- package/dist/components/number-input/number-input.recipe.d.ts +113 -0
- package/dist/components/number-input/number-input.slots.d.ts +42 -0
- package/dist/components/number-input/number-input.types.d.ts +40 -0
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/pagination/hooks/use-pagination.d.ts +72 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/pagination.d.ts +13 -0
- package/dist/{pagination.d.ts → components/pagination/pagination.types.d.ts} +44 -70
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/password-input/index.d.ts +2 -0
- package/dist/components/password-input/password-input.d.ts +12 -0
- package/dist/components/password-input/password-input.i18n.d.ts +13 -0
- package/dist/components/password-input/password-input.types.d.ts +2 -0
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/popover.d.ts +12 -0
- package/dist/components/popover/popover.recipe.d.ts +5 -0
- package/dist/components/popover/popover.slots.d.ts +4 -0
- package/dist/components/popover/popover.types.d.ts +6 -0
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar/index.d.ts +2 -0
- package/dist/components/progress-bar/progress-bar.d.ts +22 -0
- package/dist/components/progress-bar/progress-bar.recipe.d.ts +91 -0
- package/dist/components/progress-bar/progress-bar.slots.d.ts +20 -0
- package/dist/components/progress-bar/progress-bar.types.d.ts +53 -0
- package/dist/components/radio-input/components/radio-input.option.d.ts +5 -0
- package/dist/components/radio-input/components/radio-input.root.d.ts +12 -0
- package/dist/components/radio-input/index.d.ts +2 -0
- package/dist/components/radio-input/radio-input.d.ts +13 -0
- package/dist/components/radio-input/radio-input.recipe.d.ts +21 -0
- package/dist/components/radio-input/radio-input.slots.d.ts +6 -0
- package/dist/components/radio-input/radio-input.types.d.ts +18 -0
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar/components/range-calendar.custom-context.d.ts +3 -0
- package/dist/components/range-calendar/components/range-calendar.grids.d.ts +1 -0
- package/dist/components/range-calendar/components/range-calendar.header.d.ts +1 -0
- package/dist/components/range-calendar/index.d.ts +2 -0
- package/dist/components/range-calendar/range-calendar.d.ts +3 -0
- package/dist/components/range-calendar/range-calendar.recipe.d.ts +1 -0
- package/dist/components/range-calendar/range-calendar.slots.d.ts +11 -0
- package/dist/components/range-calendar/range-calendar.types.d.ts +20 -0
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input/components/formatting-menu.d.ts +4 -0
- package/dist/components/rich-text-input/components/rich-text-editor.d.ts +25 -0
- package/dist/components/rich-text-input/components/rich-text-toolbar.d.ts +7 -0
- package/dist/components/rich-text-input/constants/editor-constants.d.ts +65 -0
- package/dist/components/rich-text-input/constants/index.d.ts +2 -0
- package/dist/components/rich-text-input/constants/text-styles.d.ts +32 -0
- package/dist/components/rich-text-input/hooks/index.d.ts +4 -0
- package/dist/components/rich-text-input/hooks/use-formatting-state.d.ts +10 -0
- package/dist/components/rich-text-input/hooks/use-keyboard-shortcuts.d.ts +7 -0
- package/dist/components/rich-text-input/hooks/use-preserved-selection.d.ts +11 -0
- package/dist/components/rich-text-input/hooks/use-toolbar-state.d.ts +15 -0
- package/dist/components/rich-text-input/index.d.ts +2 -0
- package/dist/components/rich-text-input/rich-text-input.d.ts +8 -0
- package/dist/components/rich-text-input/rich-text-input.recipe.d.ts +1 -0
- package/dist/components/rich-text-input/rich-text-input.slots.d.ts +5 -0
- package/dist/components/rich-text-input/rich-text-input.types.d.ts +54 -0
- package/dist/components/rich-text-input/utils/html-serialization.d.ts +4 -0
- package/dist/components/rich-text-input/utils/index.d.ts +5 -0
- package/dist/components/rich-text-input/utils/is-empty.d.ts +4 -0
- package/dist/components/rich-text-input/utils/slate-helpers.d.ts +19 -0
- package/dist/components/rich-text-input/utils/text-style-utils.d.ts +33 -0
- package/dist/components/rich-text-input/utils/types.d.ts +28 -0
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/scoped-search-input/index.d.ts +2 -0
- package/dist/components/scoped-search-input/scoped-search-input.d.ts +6 -0
- package/dist/components/scoped-search-input/scoped-search-input.i18n.d.ts +23 -0
- package/dist/components/scoped-search-input/scoped-search-input.recipe.d.ts +6 -0
- package/dist/components/scoped-search-input/scoped-search-input.slots.d.ts +6 -0
- package/dist/{scoped-search-input.d.ts → components/scoped-search-input/scoped-search-input.types.d.ts} +72 -94
- package/dist/components/scoped-search-input/utils/helpers.d.ts +5 -0
- package/dist/components/scoped-search-input.es.js +2 -2
- package/dist/components/search-input/index.d.ts +2 -0
- package/dist/components/search-input/search-input.d.ts +11 -0
- package/dist/components/search-input/search-input.i18n.d.ts +8 -0
- package/dist/components/search-input/search-input.recipe.d.ts +44 -0
- package/dist/components/search-input/search-input.slots.d.ts +12 -0
- package/dist/components/search-input/search-input.types.d.ts +28 -0
- package/dist/components/search-input.es.js +1 -1
- package/dist/components/select/components/select.clear-button.d.ts +4 -0
- package/dist/components/select/components/select.option-group.d.ts +7 -0
- package/dist/components/select/components/select.option.d.ts +5 -0
- package/dist/components/select/components/select.options.d.ts +7 -0
- package/dist/components/select/components/select.root.d.ts +12 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/select.d.ts +135 -0
- package/dist/components/select/select.i18n.d.ts +8 -0
- package/dist/components/select/select.recipe.d.ts +69 -0
- package/dist/components/select/select.slots.d.ts +16 -0
- package/dist/components/select/select.types.d.ts +59 -0
- package/dist/components/select.es.js +1 -1
- package/dist/components/separator/index.d.ts +2 -0
- package/dist/components/separator/separator.d.ts +19 -0
- package/dist/components/separator/separator.recipe.d.ts +16 -0
- package/dist/components/separator/separator.slots.d.ts +3 -0
- package/dist/components/separator/separator.types.d.ts +14 -0
- package/dist/components/simple-grid/index.d.ts +1 -0
- package/dist/components/simple-grid/simple-grid.d.ts +18 -0
- package/dist/components/spacer/index.d.ts +2 -0
- package/dist/components/spacer/spacer.d.ts +17 -0
- package/dist/components/spacer/spacer.types.d.ts +11 -0
- package/dist/components/split-button/index.d.ts +2 -0
- package/dist/components/split-button/split-button.d.ts +18 -0
- package/dist/components/split-button/split-button.recipe.d.ts +21 -0
- package/dist/components/split-button/split-button.slots.d.ts +6 -0
- package/dist/components/split-button/split-button.types.d.ts +26 -0
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/stack/index.d.ts +1 -0
- package/dist/components/stack/stack.d.ts +16 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/switch.d.ts +12 -0
- package/dist/components/switch/switch.recipe.d.ts +32 -0
- package/dist/components/switch/switch.slots.d.ts +6 -0
- package/dist/components/switch/switch.types.d.ts +19 -0
- package/dist/components/switch.es.js +1 -1
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/table.d.ts +8 -0
- package/dist/components/table/table.recipe.d.ts +121 -0
- package/dist/components/tabs/components/tabs.list.d.ts +10 -0
- package/dist/components/tabs/components/tabs.panel.d.ts +7 -0
- package/dist/components/tabs/components/tabs.panels.d.ts +10 -0
- package/dist/components/tabs/components/tabs.root.d.ts +12 -0
- package/dist/components/tabs/components/tabs.tab.d.ts +10 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/tabs.d.ts +31 -0
- package/dist/components/tabs/tabs.recipe.d.ts +67 -0
- package/dist/components/tabs/tabs.slots.d.ts +58 -0
- package/dist/components/tabs/tabs.types.d.ts +112 -0
- package/dist/components/tabs.es.js +1 -1
- package/dist/components/tag-group/components/tag-group.root.d.ts +9 -0
- package/dist/components/tag-group/components/tag-group.tag-list.d.ts +6 -0
- package/dist/components/tag-group/components/tag-group.tag.d.ts +2 -0
- package/dist/components/tag-group/index.d.ts +2 -0
- package/dist/components/tag-group/tag-group.d.ts +14 -0
- package/dist/components/tag-group/tag-group.recipe.d.ts +29 -0
- package/dist/components/tag-group/tag-group.slots.d.ts +7 -0
- package/dist/components/tag-group/tag-group.types.d.ts +27 -0
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/text.d.ts +16 -0
- package/dist/components/text-input/index.d.ts +2 -0
- package/dist/components/text-input/text-input.d.ts +12 -0
- package/dist/components/text-input/text-input.recipe.d.ts +54 -0
- package/dist/components/text-input/text-input.slots.d.ts +13 -0
- package/dist/components/text-input/text-input.types.d.ts +39 -0
- package/dist/components/time-input/index.d.ts +2 -0
- package/dist/components/time-input/time-input.d.ts +10 -0
- package/dist/components/time-input/time-input.recipe.d.ts +67 -0
- package/dist/components/time-input/time-input.slots.d.ts +24 -0
- package/dist/components/time-input/time-input.types.d.ts +21 -0
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button/index.d.ts +2 -0
- package/dist/components/toggle-button/toggle-button.d.ts +13 -0
- package/dist/components/toggle-button/toggle-button.recipe.d.ts +95 -0
- package/dist/components/toggle-button/toggle-button.slots.d.ts +17 -0
- package/dist/components/toggle-button/toggle-button.types.d.ts +28 -0
- package/dist/components/toggle-button-group/components/toggle-button-group.button.d.ts +2 -0
- package/dist/components/toggle-button-group/components/toggle-button-group.root.d.ts +9 -0
- package/dist/components/toggle-button-group/index.d.ts +2 -0
- package/dist/components/toggle-button-group/toggle-button-group.d.ts +12 -0
- package/dist/components/toggle-button-group/toggle-button-group.recipe.d.ts +54 -0
- package/dist/components/toggle-button-group/toggle-button-group.slots.d.ts +3 -0
- package/dist/components/toggle-button-group/toggle-button-group.types.d.ts +32 -0
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar/index.d.ts +2 -0
- package/dist/components/toolbar/toolbar.d.ts +2 -0
- package/dist/components/toolbar/toolbar.recipe.d.ts +34 -0
- package/dist/components/toolbar/toolbar.slots.d.ts +11 -0
- package/dist/components/toolbar/toolbar.types.d.ts +20 -0
- package/dist/components/tooltip/components/tooltip.content.d.ts +21 -0
- package/dist/components/tooltip/components/tooltip.root.d.ts +12 -0
- package/dist/components/tooltip/index.d.ts +3 -0
- package/dist/components/tooltip/make-element-focusable.d.ts +32 -0
- package/dist/components/tooltip/tooltip.d.ts +7 -0
- package/dist/components/tooltip/tooltip.recipe.d.ts +5 -0
- package/dist/components/tooltip/tooltip.slots.d.ts +7 -0
- package/dist/components/tooltip/tooltip.types.d.ts +9 -0
- package/dist/components/utils/index.d.ts +4 -0
- package/dist/components/utils/type-helpers.d.ts +29 -0
- package/dist/components/visually-hidden/index.d.ts +1 -0
- package/dist/components/visually-hidden/visually-hidden.d.ts +17 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/use-color-mode/index.d.ts +1 -0
- package/dist/hooks/use-color-mode/use-color-mode.d.ts +31 -0
- package/dist/hooks/use-color-mode-value/index.d.ts +1 -0
- package/dist/hooks/use-color-mode-value/use-color-mode-value.d.ts +10 -0
- package/dist/hooks/use-color-scheme/index.d.ts +1 -0
- package/dist/hooks/use-color-scheme/use-color-scheme.d.ts +15 -0
- package/dist/hooks/use-copy-to-clipboard/index.d.ts +1 -0
- package/dist/hooks/use-copy-to-clipboard/use-copy-to-clipboard.d.ts +1 -0
- package/dist/hooks/use-hotkeys/index.d.ts +1 -0
- package/dist/hooks/use-hotkeys/use-hotkeys.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -313
- package/dist/index.es.js +203 -198
- package/dist/index.es.js.map +1 -1
- package/dist/theme/animation-styles.d.ts +4 -0
- package/dist/theme/breakpoints.d.ts +5 -0
- package/dist/theme/conditions.d.ts +16 -0
- package/dist/theme/global-css.d.ts +1 -0
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/keyframes.d.ts +207 -0
- package/dist/theme/layer-styles.d.ts +4 -0
- package/dist/theme/recipes/index.d.ts +490 -0
- package/dist/theme/semantic-tokens/colors.d.ts +12478 -0
- package/dist/theme/semantic-tokens/index.d.ts +6262 -0
- package/dist/theme/semantic-tokens/radii.d.ts +1 -0
- package/dist/theme/semantic-tokens/shadows.d.ts +20 -0
- package/dist/theme/slot-recipes/index.d.ts +1489 -0
- package/dist/theme/text-styles.d.ts +4 -0
- package/dist/theme/tokens/animations.d.ts +14 -0
- package/dist/theme/tokens/aspect-ratios.d.ts +20 -0
- package/dist/theme/tokens/blurs.d.ts +26 -0
- package/dist/theme/tokens/borders.d.ts +14 -0
- package/dist/theme/tokens/colors.d.ts +168 -0
- package/dist/theme/tokens/cursor.d.ts +26 -0
- package/dist/theme/tokens/durations.d.ts +29 -0
- package/dist/theme/tokens/easings.d.ts +17 -0
- package/dist/theme/tokens/font-sizes.d.ts +44 -0
- package/dist/theme/tokens/font-weights.d.ts +29 -0
- package/dist/theme/tokens/fonts.d.ts +11 -0
- package/dist/theme/tokens/index.d.ts +1642 -0
- package/dist/theme/tokens/letter-spacings.d.ts +3 -0
- package/dist/theme/tokens/line-heights.d.ts +80 -0
- package/dist/theme/tokens/radii.d.ts +29 -0
- package/dist/theme/tokens/sizes.d.ts +278 -0
- package/dist/theme/tokens/spacing.d.ts +74 -0
- package/dist/theme/tokens/z-index.d.ts +41 -0
- package/dist/utils/extractStyleProps.d.ts +6 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/noop.d.ts +12 -0
- package/dist/utils/slot-types.d.ts +22 -0
- package/package.json +1 -1
- package/dist/accordion.d.ts +0 -135
- package/dist/alert.d.ts +0 -172
- package/dist/badge.d.ts +0 -52
- package/dist/button.d.ts +0 -64
- package/dist/calendar.d.ts +0 -50
- package/dist/card.d.ts +0 -88
- package/dist/checkbox.d.ts +0 -54
- package/dist/chunks/accordion-DSLccfDW.es.js.map +0 -1
- package/dist/chunks/calendar-BTdHdh7y.es.js.map +0 -1
- package/dist/chunks/collapsible-motion-OOUmjdKw.es.js.map +0 -1
- package/dist/chunks/menu-4QTf2m-7.es.js.map +0 -1
- package/dist/chunks/popover-Cz6TnNt_.es.js.map +0 -1
- package/dist/chunks/range-calendar-RBEpLQJb.es.js.map +0 -1
- package/dist/chunks/rich-text-input-CrjP71KM.es.js.map +0 -1
- package/dist/chunks/split-button-C5MmKuVW.es.js.map +0 -1
- package/dist/chunks/switch-B5bEl91n.es.js.map +0 -1
- package/dist/code.d.ts +0 -25
- package/dist/collapsible-motion.d.ts +0 -125
- package/dist/combobox.d.ts +0 -236
- package/dist/components.d.ts +0 -299
- package/dist/data-table.d.ts +0 -302
- package/dist/date-input.d.ts +0 -51
- package/dist/date-picker.d.ts +0 -92
- package/dist/date-range-picker.d.ts +0 -73
- package/dist/dialog.d.ts +0 -499
- package/dist/draggable-list.d.ts +0 -331
- package/dist/drawer.d.ts +0 -590
- package/dist/flex.d.ts +0 -14
- package/dist/form-field.d.ts +0 -118
- package/dist/grid.d.ts +0 -35
- package/dist/group.d.ts +0 -38
- package/dist/icon-button.d.ts +0 -75
- package/dist/icon-toggle-button.d.ts +0 -67
- package/dist/icon.d.ts +0 -58
- package/dist/image.d.ts +0 -28
- package/dist/inline-svg.d.ts +0 -81
- package/dist/kbd.d.ts +0 -29
- package/dist/link.d.ts +0 -56
- package/dist/list.d.ts +0 -35
- package/dist/loading-spinner.d.ts +0 -53
- package/dist/localized-field.d.ts +0 -935
- package/dist/multiline-text-input.d.ts +0 -73
- package/dist/number-input.d.ts +0 -63
- package/dist/password-input.d.ts +0 -65
- package/dist/popover.d.ts +0 -34
- package/dist/progress-bar.d.ts +0 -96
- package/dist/radio-input.d.ts +0 -67
- package/dist/range-calendar.d.ts +0 -47
- package/dist/rich-text-input.d.ts +0 -82
- package/dist/search-input.d.ts +0 -56
- package/dist/select.d.ts +0 -246
- package/dist/separator.d.ts +0 -49
- package/dist/setup-jsdom-polyfills.d.ts +0 -10
- package/dist/simple-grid.d.ts +0 -35
- package/dist/spacer.d.ts +0 -41
- package/dist/split-button.d.ts +0 -99
- package/dist/stack.d.ts +0 -30
- package/dist/switch.d.ts +0 -44
- package/dist/table.d.ts +0 -14
- package/dist/tabs.d.ts +0 -213
- package/dist/tag-group.d.ts +0 -75
- package/dist/text-input.d.ts +0 -69
- package/dist/text.d.ts +0 -31
- package/dist/time-input.d.ts +0 -51
- package/dist/toggle-button-group.d.ts +0 -76
- package/dist/toggle-button.d.ts +0 -57
- package/dist/toolbar.d.ts +0 -40
- package/dist/tooltip.d.ts +0 -131
- package/dist/visually-hidden.d.ts +0 -31
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { ReactNode, FocusEvent } from 'react';
|
|
2
|
+
import { TValue, TCustomEvent, TCurrencyCode } from '../money-input';
|
|
3
|
+
import { HTMLChakraProps, SlotRecipeProps } from '@chakra-ui/react';
|
|
4
|
+
type LocalizedFieldRecipeProps = {
|
|
5
|
+
/** Size variant of the localized field */
|
|
6
|
+
size?: SlotRecipeProps<"localizedField">["size"];
|
|
7
|
+
/** Input type variant (text, multiLine, richText, money) */
|
|
8
|
+
type?: SlotRecipeProps<"localizedField">["type"];
|
|
9
|
+
};
|
|
10
|
+
export type LocalizedFieldRootSlotProps = HTMLChakraProps<"fieldset", LocalizedFieldRecipeProps>;
|
|
11
|
+
export type LocalizedFieldLabelSlotProps = HTMLChakraProps<"label">;
|
|
12
|
+
export type LocalizedFieldInfoDialogSlotProps = HTMLChakraProps<"div">;
|
|
13
|
+
export type LocalizedFieldFieldsContainerSlotProps = HTMLChakraProps<"div">;
|
|
14
|
+
export type LocalizedFieldDescriptionSlotProps = HTMLChakraProps<"div">;
|
|
15
|
+
export type LocalizedFieldErrorSlotProps = HTMLChakraProps<"div">;
|
|
16
|
+
export type LocalizedFieldToggleButtonContainerSlotProps = HTMLChakraProps<"div">;
|
|
17
|
+
export type LocalizedFieldLocaleFieldRootSlotProps = HTMLChakraProps<"div">;
|
|
18
|
+
export type LocalizedFieldLocaleFieldLabelSlotProps = HTMLChakraProps<"div">;
|
|
19
|
+
export type LocalizedFieldLocaleFieldInputSlotProps = HTMLChakraProps<"div">;
|
|
20
|
+
type LocalizedFieldRecipeVariantProps = {
|
|
21
|
+
size?: "md" | "sm";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Object that contains the translation of a string for each locale.
|
|
25
|
+
* Used to define values for "text", "multiLine", and "richText" input types.
|
|
26
|
+
* The locale is specified as the key, and the string is specified as the value, e.g.:
|
|
27
|
+
* { ['en-US']: 'hello', ['zh-Hans']: '你好’ }
|
|
28
|
+
*/
|
|
29
|
+
export type LocalizedString = {
|
|
30
|
+
[locale: string]: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Object that contains a currency value for each currency.
|
|
34
|
+
* Used to define values for "money" input type
|
|
35
|
+
* The currency code is specified as the key,
|
|
36
|
+
* and an object containing the amount and currencyCode is specified as the value, e.g.:
|
|
37
|
+
* {
|
|
38
|
+
* EUR: {
|
|
39
|
+
* amount: '12.00'
|
|
40
|
+
* currencyCode: 'EUR'
|
|
41
|
+
* },
|
|
42
|
+
* USD: {
|
|
43
|
+
* amount: '10.00'
|
|
44
|
+
* currencyCode: 'USD'
|
|
45
|
+
* },
|
|
46
|
+
* }
|
|
47
|
+
*/
|
|
48
|
+
export type LocalizedCurrency = {
|
|
49
|
+
[currencyCode: string]: TValue | undefined;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Object that maps field data to a specific locale.
|
|
53
|
+
* The locale is specified as the key, and the data is specified as the value, e.g.:
|
|
54
|
+
* { ['en-US']: 'hello', ['zh-Hans']: '你好’ }
|
|
55
|
+
*/
|
|
56
|
+
export type LocaleFieldData = Record<string, ReactNode>;
|
|
57
|
+
/**
|
|
58
|
+
* Standardized change event for localized fields to ensure cross browser consistency
|
|
59
|
+
*/
|
|
60
|
+
export type LocalizedFieldChangeEvent = {
|
|
61
|
+
target: {
|
|
62
|
+
id?: string;
|
|
63
|
+
name?: string;
|
|
64
|
+
locale?: string;
|
|
65
|
+
currency?: TCurrencyCode;
|
|
66
|
+
value: TCustomEvent["target"]["value"];
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export type LocalizedFieldProps = LocalizedFieldRecipeVariantProps & Omit<LocalizedFieldRootSlotProps, "onChange" | "onBlur" | "onFocus" | "size"> & {
|
|
70
|
+
/**
|
|
71
|
+
* Type of input displayed in locale fields
|
|
72
|
+
* default: 'text'
|
|
73
|
+
*/
|
|
74
|
+
type?: "text" | "multiLine" | "richText" | "money";
|
|
75
|
+
/**
|
|
76
|
+
* HTML `id` property for field group.
|
|
77
|
+
* Each locale field's `id` will be suffixed with its' locale, e.g.:
|
|
78
|
+
* `${id}.${lang}` i.e. `foo.en`
|
|
79
|
+
*/
|
|
80
|
+
id?: string;
|
|
81
|
+
/**
|
|
82
|
+
* HTML `name` property for field group.
|
|
83
|
+
* Each locale field's `name` will be suffixed with its' locale, e.g.:
|
|
84
|
+
* `${name}.${lang}` i.e. `foo.en`
|
|
85
|
+
*/
|
|
86
|
+
name?: string;
|
|
87
|
+
/** Locale or currency whose input field is displayed when field group is collapsed */
|
|
88
|
+
defaultLocaleOrCurrency: string | TCurrencyCode;
|
|
89
|
+
/** Input values for each locale or currency */
|
|
90
|
+
valuesByLocaleOrCurrency: LocalizedString | LocalizedCurrency;
|
|
91
|
+
/** Input placeholders for each locale or currency */
|
|
92
|
+
placeholdersByLocaleOrCurrency?: LocalizedString;
|
|
93
|
+
/** Field decriptions for each locale or currency */
|
|
94
|
+
descriptionsByLocaleOrCurrency?: LocaleFieldData;
|
|
95
|
+
/** Field warnings for each locale or currency */
|
|
96
|
+
warningsByLocaleOrCurrency?: LocaleFieldData;
|
|
97
|
+
/** Field errors for each locale or currency */
|
|
98
|
+
errorsByLocaleOrCurrency?: LocaleFieldData;
|
|
99
|
+
/**
|
|
100
|
+
* Label for field group (all locales).
|
|
101
|
+
* If a label is not provided, you must provide an `aria-label`
|
|
102
|
+
*/
|
|
103
|
+
label?: ReactNode;
|
|
104
|
+
/** Hint/help tooltip (infoBox) for field group (all locales) */
|
|
105
|
+
hint?: ReactNode;
|
|
106
|
+
/** Description for field group (all locales) */
|
|
107
|
+
description?: ReactNode;
|
|
108
|
+
/** Warning for field group (all locales) */
|
|
109
|
+
warning?: ReactNode;
|
|
110
|
+
/**
|
|
111
|
+
* For compatibility with UI Kit FieldWarnings
|
|
112
|
+
* A map of warnings. Warning messages for known warnings are rendered automatically.
|
|
113
|
+
* <br/>
|
|
114
|
+
* Unknown warnings will be forwarded to renderWarning.
|
|
115
|
+
*/
|
|
116
|
+
warnings?: Record<string, boolean>;
|
|
117
|
+
/**
|
|
118
|
+
* For compatibility with UI Kit FieldWarnings
|
|
119
|
+
* Called with custom warnings, as renderWarning(key, warning). This function can return a message which will be wrapped in a WarningMessage.
|
|
120
|
+
* <br />
|
|
121
|
+
* It can also return null to show no warning.
|
|
122
|
+
*/
|
|
123
|
+
renderWarning?: (key: string, warning?: boolean) => ReactNode;
|
|
124
|
+
/** Error for field group (all locales) */
|
|
125
|
+
error?: ReactNode;
|
|
126
|
+
/**
|
|
127
|
+
* For compatibility with UI Kit FieldErrors
|
|
128
|
+
* A map of errors. Error messages for known errors are rendered automatically.
|
|
129
|
+
* <br />
|
|
130
|
+
* Unknown errors will be forwarded to `renderError`
|
|
131
|
+
*/
|
|
132
|
+
errors?: Record<string, boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* For compatibility with UI Kit FieldErrors
|
|
135
|
+
* Called with custom errors. This function can return a message which will be wrapped in an ErrorMessage. It can also return null to show no error.
|
|
136
|
+
*/
|
|
137
|
+
renderError?: (key: string, error?: boolean) => ReactNode;
|
|
138
|
+
/**
|
|
139
|
+
* Indicates whether the field was touched.
|
|
140
|
+
* Errors will only be shown when the field was touched.
|
|
141
|
+
*/
|
|
142
|
+
touched?: boolean;
|
|
143
|
+
/** True if the field is a required field */
|
|
144
|
+
isRequired?: boolean;
|
|
145
|
+
/** True if the field is disabled */
|
|
146
|
+
isDisabled?: boolean;
|
|
147
|
+
/** True if the field is read only */
|
|
148
|
+
isReadOnly?: boolean;
|
|
149
|
+
/** Change handler for each locale's input */
|
|
150
|
+
onChange: (e: LocalizedFieldChangeEvent) => void;
|
|
151
|
+
/** Blur handler for each locale's input */
|
|
152
|
+
onBlur?: (e: FocusEvent<Element, Element> | TCustomEvent, locale: string) => void;
|
|
153
|
+
/** Focus handler for each locale's input */
|
|
154
|
+
onFocus?: (e: FocusEvent<Element, Element> | TCustomEvent, locale: string) => void;
|
|
155
|
+
/**
|
|
156
|
+
* Controls whether field group is expanded on mount.
|
|
157
|
+
* Default: `false` (closed)
|
|
158
|
+
*/
|
|
159
|
+
defaultExpanded?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* Controls whether all locale or currency input fields should be displayed.
|
|
162
|
+
* Removes show/hide toggle controls and displays all locales if `true`.
|
|
163
|
+
* Default: `false`
|
|
164
|
+
*/
|
|
165
|
+
displayAllLocalesOrCurrencies?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* HTML `data-` attributes for locale fields.
|
|
168
|
+
* Each field's `data-` attribute will be suffixed with its' locale, e.g.:
|
|
169
|
+
* `${name}.${lang}` i.e. `foo.en`
|
|
170
|
+
*/
|
|
171
|
+
["data-test"]?: string;
|
|
172
|
+
["data-testid"]?: string;
|
|
173
|
+
["data-track-component"]?: string;
|
|
174
|
+
};
|
|
175
|
+
/** internal type for object containing all data for a single locale */
|
|
176
|
+
export type MergedLocaleFieldData = {
|
|
177
|
+
localeOrCurrency: string | TCurrencyCode;
|
|
178
|
+
inputValue: string | TValue | undefined;
|
|
179
|
+
placeholder?: string;
|
|
180
|
+
description?: ReactNode;
|
|
181
|
+
warning?: ReactNode;
|
|
182
|
+
error?: ReactNode;
|
|
183
|
+
autoFocus?: boolean;
|
|
184
|
+
};
|
|
185
|
+
export type LocalizedFieldLocaleFieldProps = LocalizedFieldRecipeVariantProps & MergedLocaleFieldData & Pick<LocalizedFieldProps, "onChange" | "onBlur" | "onFocus" | "id" | "name" | "label" | "touched" | "isRequired" | "isDisabled" | "isReadOnly" | "type" | "data-test" | "data-testid" | "data-track-component"> & {
|
|
186
|
+
isInvalid?: boolean;
|
|
187
|
+
};
|
|
188
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { LocalizedStoryData } from './test-data';
|
|
2
|
+
import { LocalizedFieldProps } from '../localized-field.types';
|
|
3
|
+
export type LocalizedFieldTypes = "text" | "multiLine" | "richText" | "money";
|
|
4
|
+
type FieldDisplayConfig = {
|
|
5
|
+
showDescription?: boolean;
|
|
6
|
+
showWarning?: boolean;
|
|
7
|
+
showError?: boolean;
|
|
8
|
+
showLocaleDescriptions?: boolean;
|
|
9
|
+
showLocaleWarnings?: boolean;
|
|
10
|
+
showLocaleErrors?: boolean;
|
|
11
|
+
};
|
|
12
|
+
type FieldTypeProps = {
|
|
13
|
+
fieldData: LocalizedStoryData;
|
|
14
|
+
fieldProps?: Partial<LocalizedFieldProps>;
|
|
15
|
+
} & FieldDisplayConfig;
|
|
16
|
+
type LocalizedFieldStoryComponentProps = {
|
|
17
|
+
/** Type of localized field to render, each type should have corresponding config object */
|
|
18
|
+
types: LocalizedFieldTypes[];
|
|
19
|
+
id?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
text?: FieldTypeProps;
|
|
22
|
+
multiLine?: FieldTypeProps;
|
|
23
|
+
richText?: FieldTypeProps;
|
|
24
|
+
money?: FieldTypeProps;
|
|
25
|
+
showControls?: boolean;
|
|
26
|
+
size?: LocalizedFieldProps["size"];
|
|
27
|
+
displayAllLocalesOrCurrencies?: LocalizedFieldProps["displayAllLocalesOrCurrencies"];
|
|
28
|
+
defaultExpanded?: LocalizedFieldProps["defaultExpanded"];
|
|
29
|
+
isRequired?: LocalizedFieldProps["isRequired"];
|
|
30
|
+
isDisabled?: LocalizedFieldProps["isDisabled"];
|
|
31
|
+
isReadOnly?: LocalizedFieldProps["isReadOnly"];
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Demo component that renders a LocalizedField with useReducer state management.
|
|
35
|
+
* This component is designed to be used in Storybook stories to showcase
|
|
36
|
+
* different types of localized fields with proper state handling.
|
|
37
|
+
*/
|
|
38
|
+
export declare function LocalizedFieldStoryComponent(props: LocalizedFieldStoryComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { TCurrencyCode, TValue, TMoneyValue, TFieldErrors } from '../..';
|
|
2
|
+
import { LocalizedString } from '../localized-field.types';
|
|
3
|
+
type LanguagesSplitByDefaultLocale = {
|
|
4
|
+
related: string[];
|
|
5
|
+
unrelated: string[];
|
|
6
|
+
};
|
|
7
|
+
type TouchedLocalizedString = {
|
|
8
|
+
[locale: string]: boolean;
|
|
9
|
+
};
|
|
10
|
+
type CustomFormikErrors<Values> = {
|
|
11
|
+
[K in keyof Values]?: TFieldErrors;
|
|
12
|
+
};
|
|
13
|
+
export declare const RequiredValueErrorMessage: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const getLocaleFieldAttribute: (fieldGroupAttr?: string, locale?: string) => string | undefined;
|
|
15
|
+
export declare const getLanguageForLocale: (locale: string) => string;
|
|
16
|
+
export declare const splitLanguages: (defaultLocale: string, locales: string[]) => LanguagesSplitByDefaultLocale;
|
|
17
|
+
export declare const sortLocalesByDefaultLocaleLanguage: (defaultLocale: string, allLocales: string[]) => string[];
|
|
18
|
+
export declare const sortCurrencies: (defaultCurrency: TCurrencyCode, allCurrencies: TCurrencyCode[]) => ("ADP" | "AED" | "AFA" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "ATS" | "AUD" | "AWG" | "AYM" | "AZM" | "AZN" | "BAM" | "BBD" | "BDT" | "BEF" | "BGL" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLF" | "CLP" | "CNY" | "COP" | "CRC" | "CSD" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "EEK" | "EGP" | "ERN" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GRD" | "GTQ" | "GWP" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LUF" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MGF" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MTL" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZM" | "MZN" | "NAD" | "NGN" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PTE" | "PYG" | "QAR" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "USS" | "UYU" | "UZS" | "VEB" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "YUM" | "ZAR" | "ZMK" | "ZMW" | "ZWD" | "ZWL" | "ZWN" | "ZWR")[];
|
|
19
|
+
export declare const getHasInvalidLocalizedFields: <TErrors extends object>(errors?: TErrors, defaultLocaleOrCurrency?: string) => boolean;
|
|
20
|
+
export declare const createLocalizedString: (locales: string[], existingLocalizedString: LocalizedString) => LocalizedString;
|
|
21
|
+
export declare const isEmpty: (localizedString?: LocalizedString) => boolean;
|
|
22
|
+
export declare const omitEmptyTranslations: <Translations extends LocalizedString>(localizedString: Translations) => LocalizedString;
|
|
23
|
+
export declare const isTouched: (touched?: TouchedLocalizedString) => boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Use this function to convert the Formik `errors` object type to
|
|
26
|
+
* our custom field errors type.
|
|
27
|
+
* This is primarly useful when using TypeScript.
|
|
28
|
+
*/
|
|
29
|
+
export declare function toFieldErrors<FormValues>(errors: unknown): CustomFormikErrors<FormValues>;
|
|
30
|
+
export declare const convertToMoneyValues: (values: TValue[], currency: string) => Array<TMoneyValue | null>;
|
|
31
|
+
export declare const parseMoneyValues: (moneyValues: TMoneyValue[] | undefined, locale: string) => Record<TCurrencyCode, TValue>;
|
|
32
|
+
export declare const getHighPrecisionCurrencies: (values: Record<TCurrencyCode, TValue>, locale: string) => TCurrencyCode[];
|
|
33
|
+
export declare const getEmptyCurrencies: (values: Record<TCurrencyCode, TValue>) => TCurrencyCode[];
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import { LocalizedString, LocalizedCurrency } from '../localized-field.types';
|
|
2
|
+
import { LocalizedFieldTypes } from './localized-field.story-component';
|
|
3
|
+
export type LocalizedStoryData = {
|
|
4
|
+
values: LocalizedString | LocalizedCurrency;
|
|
5
|
+
placeholders?: LocalizedString;
|
|
6
|
+
descriptions?: LocalizedString;
|
|
7
|
+
warnings?: LocalizedString;
|
|
8
|
+
errors?: LocalizedString;
|
|
9
|
+
};
|
|
10
|
+
export declare const allFieldTypes: LocalizedFieldTypes[];
|
|
11
|
+
export declare const baseWarningRenderer: (key: string) => "UI Kit/Formik legacy warning" | null;
|
|
12
|
+
export declare const baseErrorRenderer: (key: string) => "UI Kit/Formik legacy error" | null;
|
|
13
|
+
export declare const baseContextFields: {
|
|
14
|
+
label: string;
|
|
15
|
+
hint: string;
|
|
16
|
+
description: string;
|
|
17
|
+
warning: string;
|
|
18
|
+
warnings: {
|
|
19
|
+
custom: boolean;
|
|
20
|
+
};
|
|
21
|
+
renderWarning: (key: string) => "UI Kit/Formik legacy warning" | null;
|
|
22
|
+
error: string;
|
|
23
|
+
errors: {
|
|
24
|
+
custom: boolean;
|
|
25
|
+
};
|
|
26
|
+
renderError: (key: string) => "UI Kit/Formik legacy error" | null;
|
|
27
|
+
};
|
|
28
|
+
export declare const baseMoneyContextFields: {
|
|
29
|
+
label: string;
|
|
30
|
+
hint: string;
|
|
31
|
+
description: string;
|
|
32
|
+
warning: string;
|
|
33
|
+
warnings: {
|
|
34
|
+
custom: boolean;
|
|
35
|
+
};
|
|
36
|
+
renderWarning: (key: string) => "UI Kit/Formik legacy warning" | null;
|
|
37
|
+
error: string;
|
|
38
|
+
errors: {
|
|
39
|
+
custom: boolean;
|
|
40
|
+
};
|
|
41
|
+
renderError: (key: string) => "UI Kit/Formik legacy error" | null;
|
|
42
|
+
};
|
|
43
|
+
export declare const baseLocales: string[];
|
|
44
|
+
export declare const baseLocaleData: LocalizedStoryData;
|
|
45
|
+
export declare const baseCurrencies: string[];
|
|
46
|
+
export declare const baseCurrencyData: LocalizedStoryData;
|
|
47
|
+
export declare const baseStoryProps: {
|
|
48
|
+
id: string;
|
|
49
|
+
name: string;
|
|
50
|
+
types: LocalizedFieldTypes[];
|
|
51
|
+
text: {
|
|
52
|
+
fieldData: LocalizedStoryData;
|
|
53
|
+
fieldProps: {
|
|
54
|
+
label: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
multiLine: {
|
|
58
|
+
fieldData: LocalizedStoryData;
|
|
59
|
+
fieldProps: {
|
|
60
|
+
label: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
richText: {
|
|
64
|
+
fieldData: LocalizedStoryData;
|
|
65
|
+
fieldProps: {
|
|
66
|
+
label: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
money: {
|
|
70
|
+
fieldData: LocalizedStoryData;
|
|
71
|
+
fieldProps: {
|
|
72
|
+
label: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
export declare const emptyValuesStoryProps: {
|
|
77
|
+
id: string;
|
|
78
|
+
name: string;
|
|
79
|
+
types: LocalizedFieldTypes[];
|
|
80
|
+
text: {
|
|
81
|
+
fieldData: {
|
|
82
|
+
values: {
|
|
83
|
+
en: undefined;
|
|
84
|
+
"zh-Hans": undefined;
|
|
85
|
+
de: undefined;
|
|
86
|
+
};
|
|
87
|
+
placeholders?: LocalizedString;
|
|
88
|
+
descriptions?: LocalizedString;
|
|
89
|
+
warnings?: LocalizedString;
|
|
90
|
+
errors?: LocalizedString;
|
|
91
|
+
};
|
|
92
|
+
fieldProps: {
|
|
93
|
+
label: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
multiLine: {
|
|
97
|
+
fieldData: {
|
|
98
|
+
values: {
|
|
99
|
+
en: undefined;
|
|
100
|
+
"zh-Hans": undefined;
|
|
101
|
+
de: undefined;
|
|
102
|
+
};
|
|
103
|
+
placeholders?: LocalizedString;
|
|
104
|
+
descriptions?: LocalizedString;
|
|
105
|
+
warnings?: LocalizedString;
|
|
106
|
+
errors?: LocalizedString;
|
|
107
|
+
};
|
|
108
|
+
fieldProps: {
|
|
109
|
+
label: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
richText: {
|
|
113
|
+
fieldData: {
|
|
114
|
+
values: {
|
|
115
|
+
en: undefined;
|
|
116
|
+
"zh-Hans": undefined;
|
|
117
|
+
de: undefined;
|
|
118
|
+
};
|
|
119
|
+
placeholders?: LocalizedString;
|
|
120
|
+
descriptions?: LocalizedString;
|
|
121
|
+
warnings?: LocalizedString;
|
|
122
|
+
errors?: LocalizedString;
|
|
123
|
+
};
|
|
124
|
+
fieldProps: {
|
|
125
|
+
label: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
money: {
|
|
129
|
+
fieldData: {
|
|
130
|
+
values: {
|
|
131
|
+
USD: undefined;
|
|
132
|
+
CNY: undefined;
|
|
133
|
+
EUR: undefined;
|
|
134
|
+
};
|
|
135
|
+
placeholders?: LocalizedString;
|
|
136
|
+
descriptions?: LocalizedString;
|
|
137
|
+
warnings?: LocalizedString;
|
|
138
|
+
errors?: LocalizedString;
|
|
139
|
+
};
|
|
140
|
+
fieldProps: {
|
|
141
|
+
label: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
export declare const singleValueStoryProps: {
|
|
146
|
+
id: string;
|
|
147
|
+
name: string;
|
|
148
|
+
types: LocalizedFieldTypes[];
|
|
149
|
+
text: {
|
|
150
|
+
fieldData: {
|
|
151
|
+
values: {
|
|
152
|
+
en: string | import('../..').TValue | undefined;
|
|
153
|
+
};
|
|
154
|
+
placeholders?: LocalizedString;
|
|
155
|
+
descriptions?: LocalizedString;
|
|
156
|
+
warnings?: LocalizedString;
|
|
157
|
+
errors?: LocalizedString;
|
|
158
|
+
};
|
|
159
|
+
fieldProps: {
|
|
160
|
+
label: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
multiLine: {
|
|
164
|
+
fieldData: {
|
|
165
|
+
values: LocalizedString;
|
|
166
|
+
placeholders?: LocalizedString;
|
|
167
|
+
descriptions?: LocalizedString;
|
|
168
|
+
warnings?: LocalizedString;
|
|
169
|
+
errors?: LocalizedString;
|
|
170
|
+
};
|
|
171
|
+
fieldProps: {
|
|
172
|
+
label: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
richText: {
|
|
176
|
+
fieldData: {
|
|
177
|
+
values: {
|
|
178
|
+
en: string | import('../..').TValue | undefined;
|
|
179
|
+
};
|
|
180
|
+
placeholders?: LocalizedString;
|
|
181
|
+
descriptions?: LocalizedString;
|
|
182
|
+
warnings?: LocalizedString;
|
|
183
|
+
errors?: LocalizedString;
|
|
184
|
+
};
|
|
185
|
+
fieldProps: {
|
|
186
|
+
label: string;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
money: {
|
|
190
|
+
fieldData: {
|
|
191
|
+
values: LocalizedCurrency;
|
|
192
|
+
placeholders?: LocalizedString;
|
|
193
|
+
descriptions?: LocalizedString;
|
|
194
|
+
warnings?: LocalizedString;
|
|
195
|
+
errors?: LocalizedString;
|
|
196
|
+
};
|
|
197
|
+
fieldProps: {
|
|
198
|
+
label: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
export declare const hintStoryProps: {
|
|
203
|
+
id: string;
|
|
204
|
+
name: string;
|
|
205
|
+
types: LocalizedFieldTypes[];
|
|
206
|
+
text: {
|
|
207
|
+
fieldData: LocalizedStoryData;
|
|
208
|
+
fieldProps: {
|
|
209
|
+
label: string;
|
|
210
|
+
hint: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
multiLine: {
|
|
214
|
+
fieldData: LocalizedStoryData;
|
|
215
|
+
fieldProps: {
|
|
216
|
+
label: string;
|
|
217
|
+
hint: string;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
richText: {
|
|
221
|
+
fieldData: LocalizedStoryData;
|
|
222
|
+
fieldProps: {
|
|
223
|
+
label: string;
|
|
224
|
+
hint: string;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
money: {
|
|
228
|
+
fieldData: LocalizedStoryData;
|
|
229
|
+
fieldProps: {
|
|
230
|
+
label: string;
|
|
231
|
+
hint: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
export declare const descriptionsAndWarningsStoryProps: {
|
|
236
|
+
id: string;
|
|
237
|
+
name: string;
|
|
238
|
+
types: LocalizedFieldTypes[];
|
|
239
|
+
text: {
|
|
240
|
+
fieldData: LocalizedStoryData;
|
|
241
|
+
fieldProps: {
|
|
242
|
+
label: string;
|
|
243
|
+
description: string;
|
|
244
|
+
warning: string;
|
|
245
|
+
warnings: {
|
|
246
|
+
custom: boolean;
|
|
247
|
+
};
|
|
248
|
+
renderWarning: (key: string) => "UI Kit/Formik legacy warning" | null;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
multiLine: {
|
|
252
|
+
fieldData: LocalizedStoryData;
|
|
253
|
+
fieldProps: {
|
|
254
|
+
label: string;
|
|
255
|
+
description: string;
|
|
256
|
+
warning: string;
|
|
257
|
+
warnings: {
|
|
258
|
+
custom: boolean;
|
|
259
|
+
};
|
|
260
|
+
renderWarning: (key: string) => "UI Kit/Formik legacy warning" | null;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
richText: {
|
|
264
|
+
fieldData: LocalizedStoryData;
|
|
265
|
+
fieldProps: {
|
|
266
|
+
label: string;
|
|
267
|
+
description: string;
|
|
268
|
+
warning: string;
|
|
269
|
+
warnings: {
|
|
270
|
+
custom: boolean;
|
|
271
|
+
};
|
|
272
|
+
renderWarning: (key: string) => "UI Kit/Formik legacy warning" | null;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
money: {
|
|
276
|
+
fieldData: LocalizedStoryData;
|
|
277
|
+
fieldProps: {
|
|
278
|
+
label: string;
|
|
279
|
+
description: string;
|
|
280
|
+
warning: string;
|
|
281
|
+
warnings: {
|
|
282
|
+
custom: boolean;
|
|
283
|
+
};
|
|
284
|
+
renderWarning: (key: string) => "UI Kit/Formik legacy warning" | null;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
export declare const errorsAndValidationStoryProps: {
|
|
289
|
+
id: string;
|
|
290
|
+
name: string;
|
|
291
|
+
types: LocalizedFieldTypes[];
|
|
292
|
+
text: {
|
|
293
|
+
fieldData: LocalizedStoryData;
|
|
294
|
+
fieldProps: {
|
|
295
|
+
label: string;
|
|
296
|
+
description: string;
|
|
297
|
+
error: string;
|
|
298
|
+
errors: {
|
|
299
|
+
custom: boolean;
|
|
300
|
+
};
|
|
301
|
+
renderError: (key: string) => "UI Kit/Formik legacy error" | null;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
multiLine: {
|
|
305
|
+
fieldData: LocalizedStoryData;
|
|
306
|
+
fieldProps: {
|
|
307
|
+
label: string;
|
|
308
|
+
description: string;
|
|
309
|
+
error: string;
|
|
310
|
+
errors: {
|
|
311
|
+
custom: boolean;
|
|
312
|
+
};
|
|
313
|
+
renderError: (key: string) => "UI Kit/Formik legacy error" | null;
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
richText: {
|
|
317
|
+
fieldData: LocalizedStoryData;
|
|
318
|
+
fieldProps: {
|
|
319
|
+
label: string;
|
|
320
|
+
description: string;
|
|
321
|
+
error: string;
|
|
322
|
+
errors: {
|
|
323
|
+
custom: boolean;
|
|
324
|
+
};
|
|
325
|
+
renderError: (key: string) => "UI Kit/Formik legacy error" | null;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
money: {
|
|
329
|
+
fieldData: LocalizedStoryData;
|
|
330
|
+
fieldProps: {
|
|
331
|
+
label: string;
|
|
332
|
+
description: string;
|
|
333
|
+
error: string;
|
|
334
|
+
errors: {
|
|
335
|
+
custom: boolean;
|
|
336
|
+
};
|
|
337
|
+
renderError: (key: string) => "UI Kit/Formik legacy error" | null;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BoundFunctions, Queries } from '@testing-library/react';
|
|
2
|
+
export declare const withStableDocument: <T>(element: HTMLElement, operation: () => Promise<T>) => Promise<T>;
|
|
3
|
+
export declare const getFieldContainerForType: (canvas: BoundFunctions<Queries>, type: string) => Promise<HTMLElement>;
|
|
4
|
+
export declare const getExpandButtonForField: (field: HTMLElement, type: string) => Promise<HTMLElement>;
|
|
5
|
+
export declare const toggleExpandField: (field: HTMLElement, type: string) => Promise<void>;
|
|
6
|
+
export declare const getInputForLocaleField: (field: HTMLElement, localeOrCurrency: string) => Promise<HTMLElement>;
|
|
7
|
+
export declare const getRichTextContainerForLocaleField: (field: HTMLElement, localeOrCurrency: string) => Promise<HTMLElement>;
|
|
8
|
+
export declare const getRichTextInputForLocaleField: (field: HTMLElement, localeOrCurrency: string) => Promise<HTMLElement>;
|
|
9
|
+
export declare const checkFieldIsCollapsed: (field: HTMLElement, type: string, defaultLocaleOrCurrency: string) => Promise<void>;
|
|
10
|
+
export declare const checkFieldIsExpanded: (field: HTMLElement, type: string, supportedLocales: string[], defaultLocaleOrCurrency: string) => Promise<void>;
|
|
11
|
+
export declare const getUpdateValue: (localeOrCurrency: string) => string | undefined;
|
|
12
|
+
export declare const checkAndUpdateLocaleFieldValue: (field: HTMLElement, localeOrCurrency: string, currentValue: string, placeholderValue?: string, type?: string) => Promise<void>;
|
|
13
|
+
export declare const checkAndUpdateRichTextLocaleFieldValue: (field: HTMLElement, localeOrCurrency: string, currentValue: string) => Promise<void>;
|
|
14
|
+
export declare const toggleFieldContolCheckbox: (canvas: BoundFunctions<Queries>, type: string, control: string) => Promise<void>;
|
|
15
|
+
export declare const closeFieldControls: (canvas: BoundFunctions<Queries>, type: string) => Promise<void>;
|
|
16
|
+
export declare const checkFieldItemNotRendered: (field: HTMLElement, textValue: string) => Promise<void>;
|
|
17
|
+
export declare const checkFieldDetailsDialog: (field: HTMLElement, documentBody: HTMLElement, infoBoxValue: string) => Promise<void>;
|
|
18
|
+
export declare const checkFieldDescription: (field: HTMLElement, descriptionValue: string) => Promise<void>;
|
|
19
|
+
export declare const checkFieldError: (field: HTMLElement, errorValue: string) => Promise<void>;
|
|
20
|
+
export declare const checkLocaleFieldDescription: (field: HTMLElement, localeOrCurrency: string, descriptionValue: string, type?: string) => Promise<void>;
|
|
21
|
+
export declare const checkLocaleFieldError: (field: HTMLElement, localeOrCurrency: string, errorValue: string, type?: string) => Promise<void>;
|
|
22
|
+
export declare const checkAllFieldItemsNotRendered: (field: HTMLElement, legacyValue: string, baseValue?: string) => Promise<void>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MenuRootProps } from './../menu.types';
|
|
2
|
+
import { MenuTriggerProps as RaMenuTriggerProps } from 'react-aria-components';
|
|
3
|
+
export type MenuContextValue = Omit<MenuRootProps, keyof RaMenuTriggerProps | "children" | "trigger">;
|
|
4
|
+
export declare const MenuProvider: import('react').Provider<MenuContextValue | undefined>;
|
|
5
|
+
export declare const useMenuContext: () => MenuContextValue | undefined;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type MenuSectionContextValue = {
|
|
2
|
+
selectionMode?: "single" | "multiple" | "none";
|
|
3
|
+
};
|
|
4
|
+
export declare const MenuSectionProvider: import('react').Provider<MenuSectionContextValue | undefined>;
|
|
5
|
+
export declare const useMenuSectionContext: () => MenuSectionContextValue | undefined;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MenuSectionLabelProps } from '../menu.types';
|
|
2
|
+
/**
|
|
3
|
+
* Used in MenuSection for rendering the `label` property.
|
|
4
|
+
*/
|
|
5
|
+
export declare const MenuSectionLabel: {
|
|
6
|
+
({ children, ref, ...props }: MenuSectionLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|