@commercetools/nimbus 2.0.1-rc2 → 2.0.1-rc4
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/{DateField-B-4ymU5i.es.js → DateField-DmPAxSnT.es.js} +8 -8
- package/dist/chunks/{DateField-B-4ymU5i.es.js.map → DateField-DmPAxSnT.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-ByxT1sNF.es.js → DatePicker-D8m8YbnD.es.js} +6 -6
- package/dist/chunks/{DatePicker-ByxT1sNF.es.js.map → DatePicker-D8m8YbnD.es.js.map} +1 -1
- package/dist/chunks/{Heading-DFiVmZUR.es.js → Heading-lYSFVV4F.es.js} +2 -2
- package/dist/chunks/{Heading-DFiVmZUR.es.js.map → Heading-lYSFVV4F.es.js.map} +1 -1
- package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -1
- package/dist/chunks/accordion-CKDnNkVv.es.js.map +1 -1
- package/dist/chunks/{calendar-lD6G93R9.es.js → calendar-BkGJAIae.es.js} +3 -3
- package/dist/chunks/calendar-BkGJAIae.es.js.map +1 -0
- package/dist/chunks/calendar-V0KeNCQ3.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-D_7gr3DY.es.js.map +1 -1
- package/dist/chunks/{date-input-Do1wXp3t.es.js → date-input-B_EuP5sc.es.js} +2 -2
- package/dist/chunks/{date-input-Do1wXp3t.es.js.map → date-input-B_EuP5sc.es.js.map} +1 -1
- package/dist/chunks/{date-picker-ClYge74a.es.js → date-picker-DFpgLG1U.es.js} +6 -6
- package/dist/chunks/{date-picker-ClYge74a.es.js.map → date-picker-DFpgLG1U.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-KRcGUZW-.es.js → date-range-picker-DVuIeQQd.es.js} +6 -6
- package/dist/chunks/{date-range-picker-KRcGUZW-.es.js.map → date-range-picker-DVuIeQQd.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/kbd-BaeV_DL-.cjs.js.map +1 -1
- package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -1
- package/dist/chunks/menu-D-vE6ZpM.es.js.map +1 -1
- package/dist/chunks/menu-DIepV2KZ.cjs.js.map +1 -1
- package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -1
- package/dist/chunks/popover-DNaC7CwB.es.js.map +1 -1
- package/dist/chunks/{range-calendar-DBpl6y5i.es.js → range-calendar-D55DTDbA.es.js} +3 -3
- package/dist/chunks/range-calendar-D55DTDbA.es.js.map +1 -0
- package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -1
- package/dist/chunks/rich-text-input-BC8CBVio.es.js.map +1 -1
- package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.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-BxyZmuNi.es.js.map +1 -1
- package/dist/chunks/switch-01hEhL9A.es.js.map +1 -1
- package/dist/chunks/switch-CdLhBEPq.cjs.js.map +1 -1
- package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +1 -1
- package/dist/chunks/tabs-Dhte-RCe.es.js.map +1 -1
- package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -1
- package/dist/chunks/tag-group-D2dgXSsV.es.js.map +1 -1
- package/dist/chunks/{time-input-DDrB_c0M.es.js → time-input-CUEnTp-4.es.js} +2 -2
- package/dist/chunks/{time-input-DDrB_c0M.es.js.map → time-input-CUEnTp-4.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/{useDateFormatter-C4zVAL_K.es.js → useDateFormatter-4Wq50fMI.es.js} +3 -3
- package/dist/chunks/{useDateFormatter-C4zVAL_K.es.js.map → useDateFormatter-4Wq50fMI.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/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/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/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/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/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/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/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/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/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/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/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-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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 -347
- package/dist/index.es.js +196 -201
- 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/type-utils/index.d.ts +2 -0
- package/dist/type-utils/omit-props.d.ts +29 -0
- package/dist/type-utils/slot-types.d.ts +22 -0
- package/dist/utils/extractStyleProps.d.ts +6 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/noop.d.ts +12 -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/calendar-lD6G93R9.es.js.map +0 -1
- package/dist/chunks/range-calendar-DBpl6y5i.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
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { SlotRecipeProps } from '@chakra-ui/react';
|
|
4
|
-
import { TextFieldProps } from 'react-aria-components';
|
|
5
|
-
import { UnstyledProp } from '@chakra-ui/react';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* # Multiline Text Input
|
|
9
|
-
*
|
|
10
|
-
* A multiline text input component for capturing longer text content.
|
|
11
|
-
*
|
|
12
|
-
* @see {@link https://nimbus-documentation.vercel.app/components/forms/multiline-text-input}
|
|
13
|
-
*/
|
|
14
|
-
export declare const MultilineTextInput: {
|
|
15
|
-
(props: MultilineTextInputProps): JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export declare type MultilineTextInputLeadingElementSlotProps = HTMLChakraProps<"div", MultilineTextInputRecipeProps>;
|
|
20
|
-
|
|
21
|
-
export declare type MultilineTextInputProps = Omit<MultilineTextInputRootSlotProps, keyof TextFieldProps | "as" | "asChild"> & TextFieldProps & {
|
|
22
|
-
/**
|
|
23
|
-
* Ref forwarding to the textarea element
|
|
24
|
-
*/
|
|
25
|
-
ref?: React.Ref<HTMLTextAreaElement>;
|
|
26
|
-
/**
|
|
27
|
-
* Whether the textarea should automatically adjust its height based on content
|
|
28
|
-
* @default false
|
|
29
|
-
*/
|
|
30
|
-
autoGrow?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Number of visible text rows
|
|
33
|
-
* @default 3
|
|
34
|
-
*/
|
|
35
|
-
rows?: number;
|
|
36
|
-
/**
|
|
37
|
-
* Optional element to display at the start of the textarea
|
|
38
|
-
* Respects text direction (left in LTR, right in RTL)
|
|
39
|
-
*/
|
|
40
|
-
leadingElement?: React.ReactNode;
|
|
41
|
-
/**
|
|
42
|
-
* Placeholder text for the textarea
|
|
43
|
-
*/
|
|
44
|
-
placeholder?: string;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export declare type MultilineTextInputRecipeProps = {
|
|
48
|
-
/**
|
|
49
|
-
* Size variant of the multiline text input
|
|
50
|
-
* @default "md"
|
|
51
|
-
*/
|
|
52
|
-
size?: SlotRecipeProps<"multilineTextInput">["size"];
|
|
53
|
-
/**
|
|
54
|
-
* Visual style variant of the multiline text input
|
|
55
|
-
* @default "solid"
|
|
56
|
-
*/
|
|
57
|
-
variant?: SlotRecipeProps<"multilineTextInput">["variant"];
|
|
58
|
-
} & UnstyledProp;
|
|
59
|
-
|
|
60
|
-
export declare type MultilineTextInputRootSlotProps = HTMLChakraProps<"div", MultilineTextInputRecipeProps>;
|
|
61
|
-
|
|
62
|
-
export declare type MultilineTextInputTextAreaSlotProps = HTMLChakraProps<"textarea", MultilineTextInputRecipeProps>;
|
|
63
|
-
|
|
64
|
-
export { }
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
declare module "slate" {
|
|
68
|
-
interface CustomTypes {
|
|
69
|
-
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
70
|
-
Element: CustomElement;
|
|
71
|
-
Text: CustomText;
|
|
72
|
-
}
|
|
73
|
-
}
|
package/dist/number-input.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { AriaNumberFieldProps } from 'react-aria';
|
|
2
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
3
|
-
import { JSX } from 'react/jsx-runtime';
|
|
4
|
-
import { SlotRecipeProps } from '@chakra-ui/react';
|
|
5
|
-
import { UnstyledProp } from '@chakra-ui/react';
|
|
6
|
-
|
|
7
|
-
declare type ExcludedNumberInputProps = "asChild" | "onChange";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* # NumberInput
|
|
11
|
-
*
|
|
12
|
-
* A number input allows users to enter numerical values and adjust them incrementally.
|
|
13
|
-
* The locale for formatting comes from React Aria's I18nProvider context.
|
|
14
|
-
*/
|
|
15
|
-
export declare const NumberInput: {
|
|
16
|
-
(props: NumberInputProps): JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export declare type NumberInputProps = Omit<NumberInputRootSlotProps, keyof AriaNumberFieldProps | ExcludedNumberInputProps> & AriaNumberFieldProps & {
|
|
21
|
-
/**
|
|
22
|
-
* Ref forwarding to the input element
|
|
23
|
-
*/
|
|
24
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
25
|
-
/**
|
|
26
|
-
* Optional element to display at the start of the input
|
|
27
|
-
* Respects text direction (left in LTR, right in RTL)
|
|
28
|
-
*/
|
|
29
|
-
leadingElement?: React.ReactNode;
|
|
30
|
-
/**
|
|
31
|
-
* Optional element to display at the end of the input
|
|
32
|
-
* Respects text direction (right in LTR, left in RTL)
|
|
33
|
-
*/
|
|
34
|
-
trailingElement?: React.ReactNode;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
declare type NumberInputRecipeProps = {
|
|
38
|
-
/**
|
|
39
|
-
* Size variant of the number input
|
|
40
|
-
* @default "md"
|
|
41
|
-
*/
|
|
42
|
-
size?: SlotRecipeProps<"numberInput">["size"];
|
|
43
|
-
/**
|
|
44
|
-
* Visual style variant of the number input
|
|
45
|
-
* @default "solid"
|
|
46
|
-
*/
|
|
47
|
-
variant?: SlotRecipeProps<"numberInput">["variant"];
|
|
48
|
-
} & UnstyledProp;
|
|
49
|
-
|
|
50
|
-
declare type NumberInputRootSlotProps = HTMLChakraProps<"div", NumberInputRecipeProps> & {
|
|
51
|
-
name?: string;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export { }
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
declare module "slate" {
|
|
58
|
-
interface CustomTypes {
|
|
59
|
-
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
60
|
-
Element: CustomElement;
|
|
61
|
-
Text: CustomText;
|
|
62
|
-
}
|
|
63
|
-
}
|
package/dist/password-input.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { SlotRecipeProps } from '@chakra-ui/react';
|
|
4
|
-
import { TextFieldProps } from 'react-aria-components';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* # PasswordInput
|
|
8
|
-
*
|
|
9
|
-
* A password input is a text field that hides entered characters for secure password entry.
|
|
10
|
-
*
|
|
11
|
-
* @see {@link https://nimbus-documentation.vercel.app/components/inputs/passwordinput}
|
|
12
|
-
*/
|
|
13
|
-
export declare const PasswordInput: {
|
|
14
|
-
(props: PasswordInputProps): JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export declare type PasswordInputProps = Omit<TextInputProps, "type" | "trailingElement">;
|
|
19
|
-
|
|
20
|
-
declare type TextInputProps = Omit<TextInputRootSlotProps, keyof TextFieldProps | "as" | "asChild"> & Omit<TextFieldProps, "ref"> & {
|
|
21
|
-
/**
|
|
22
|
-
* Ref forwarding to the input element
|
|
23
|
-
*/
|
|
24
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
25
|
-
/**
|
|
26
|
-
* Optional element to display at the start of the input
|
|
27
|
-
* Respects text direction (left in LTR, right in RTL)
|
|
28
|
-
*/
|
|
29
|
-
leadingElement?: React.ReactNode;
|
|
30
|
-
/**
|
|
31
|
-
* Optional element to display at the end of the input
|
|
32
|
-
* Respects text direction (right in LTR, left in RTL)
|
|
33
|
-
*/
|
|
34
|
-
trailingElement?: React.ReactNode;
|
|
35
|
-
/**
|
|
36
|
-
* Placeholder text for the input
|
|
37
|
-
*/
|
|
38
|
-
placeholder?: string;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
declare type TextInputRecipeProps = {
|
|
42
|
-
/**
|
|
43
|
-
* Size variant of the text input
|
|
44
|
-
* @default "md"
|
|
45
|
-
*/
|
|
46
|
-
size?: SlotRecipeProps<"textInput">["size"];
|
|
47
|
-
/**
|
|
48
|
-
* Visual style variant of the text input
|
|
49
|
-
* @default "solid"
|
|
50
|
-
*/
|
|
51
|
-
variant?: SlotRecipeProps<"textInput">["variant"];
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
declare type TextInputRootSlotProps = HTMLChakraProps<"div", TextInputRecipeProps>;
|
|
55
|
-
|
|
56
|
-
export { }
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
declare module "slate" {
|
|
60
|
-
interface CustomTypes {
|
|
61
|
-
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
62
|
-
Element: CustomElement;
|
|
63
|
-
Text: CustomText;
|
|
64
|
-
}
|
|
65
|
-
}
|
package/dist/popover.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { PopoverProps as PopoverProps_2 } from 'react-aria-components';
|
|
4
|
-
import { RecipeProps } from '@chakra-ui/react';
|
|
5
|
-
import { UnstyledProp } from '@chakra-ui/react';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* # Popover
|
|
9
|
-
*
|
|
10
|
-
* A component that displays floating content in relation to a trigger element.
|
|
11
|
-
*
|
|
12
|
-
* Note this component is only used internally.
|
|
13
|
-
*/
|
|
14
|
-
export declare const Popover: {
|
|
15
|
-
(props: PopoverProps): JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export declare type PopoverProps = PopoverProps_2 & PopoverRootSlotProps;
|
|
20
|
-
|
|
21
|
-
declare type PopoverRecipeProps = RecipeProps<"popover"> & UnstyledProp;
|
|
22
|
-
|
|
23
|
-
export declare type PopoverRootSlotProps = HTMLChakraProps<"div", PopoverRecipeProps>;
|
|
24
|
-
|
|
25
|
-
export { }
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
declare module "slate" {
|
|
29
|
-
interface CustomTypes {
|
|
30
|
-
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
31
|
-
Element: CustomElement;
|
|
32
|
-
Text: CustomText;
|
|
33
|
-
}
|
|
34
|
-
}
|
package/dist/progress-bar.d.ts
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { AriaProgressBarProps } from 'react-aria';
|
|
2
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
3
|
-
import { JSX } from 'react/jsx-runtime';
|
|
4
|
-
import { SlotRecipeProps } from '@chakra-ui/react';
|
|
5
|
-
import { UnstyledProp } from '@chakra-ui/react';
|
|
6
|
-
|
|
7
|
-
declare type ExcludedProps = "css" | "unstyled" | "as" | "asChild";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* ProgressBar
|
|
11
|
-
* ============================================================
|
|
12
|
-
* Displays progress towards completion of a task or process
|
|
13
|
-
*
|
|
14
|
-
* Features:
|
|
15
|
-
*
|
|
16
|
-
* - Supports both determinate (with value) and indeterminate (loading) states
|
|
17
|
-
* - Two visual variants: solid (gradient) and contrast (monochromatic)
|
|
18
|
-
* - Three layouts: minimal, inline, and stacked
|
|
19
|
-
* - Configurable value formatting with internationalization support
|
|
20
|
-
* - Full accessibility support with ARIA attributes
|
|
21
|
-
* - Allows forwarding refs to the underlying DOM element
|
|
22
|
-
* - Accepts all native HTML div attributes
|
|
23
|
-
* - Supports variants, sizes, etc. configured in the recipe
|
|
24
|
-
* - Allows overriding styles by using style-props
|
|
25
|
-
*/
|
|
26
|
-
export declare const ProgressBar: {
|
|
27
|
-
(props: ProgressBarProps): JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export declare type ProgressBarFillSlotProps = HTMLChakraProps<"div">;
|
|
32
|
-
|
|
33
|
-
export declare type ProgressBarLabelSlotProps = HTMLChakraProps<"span">;
|
|
34
|
-
|
|
35
|
-
export declare type ProgressBarProps = Omit<ProgressBarRootSlotProps, ExcludedProps> & {
|
|
36
|
-
/**
|
|
37
|
-
* Ref forwarding to the root element
|
|
38
|
-
*/
|
|
39
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
40
|
-
/**
|
|
41
|
-
* Format options for the progress bar value display
|
|
42
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
|
|
43
|
-
* @default { style: "percent" }
|
|
44
|
-
*/
|
|
45
|
-
formatOptions?: ProgressBarRootSlotProps["formatOptions"];
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
declare type ProgressBarRecipeProps = {
|
|
49
|
-
/**
|
|
50
|
-
* Size variant of the progress bar
|
|
51
|
-
* @default "md"
|
|
52
|
-
*/
|
|
53
|
-
size?: SlotRecipeProps<"progressBar">["size"];
|
|
54
|
-
/**
|
|
55
|
-
* Whether the progress bar represents an active, ongoing process.
|
|
56
|
-
* Set to `true` for dynamic progress (e.g., file uploads, downloads).
|
|
57
|
-
* Set to `false` for static progress indicators (e.g., step 3 of 5 in a wizard).
|
|
58
|
-
* @default true
|
|
59
|
-
*/
|
|
60
|
-
isDynamic?: SlotRecipeProps<"progressBar">["isDynamic"];
|
|
61
|
-
/**
|
|
62
|
-
* Whether the progress is indeterminate (unknown duration)
|
|
63
|
-
* @default false
|
|
64
|
-
*/
|
|
65
|
-
isIndeterminate?: SlotRecipeProps<"progressBar">["isIndeterminate"];
|
|
66
|
-
/**
|
|
67
|
-
* Visual style variant of the progress bar
|
|
68
|
-
* @default "solid"
|
|
69
|
-
*/
|
|
70
|
-
variant?: SlotRecipeProps<"progressBar">["variant"];
|
|
71
|
-
/**
|
|
72
|
-
* Layout configuration for label and value positioning
|
|
73
|
-
* @default "stacked"
|
|
74
|
-
*/
|
|
75
|
-
layout?: SlotRecipeProps<"progressBar">["layout"];
|
|
76
|
-
} & UnstyledProp;
|
|
77
|
-
|
|
78
|
-
export declare type ProgressBarRootSlotProps = Omit<HTMLChakraProps<"div", ProgressBarRecipeProps>, "translate"> & Omit<ProgressBarRecipeProps, "isIndeterminate"> & AriaProgressBarProps & {
|
|
79
|
-
[key: `data-${string}`]: string;
|
|
80
|
-
translate?: "yes" | "no";
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
export declare type ProgressBarTrackSlotProps = HTMLChakraProps<"div">;
|
|
84
|
-
|
|
85
|
-
export declare type ProgressBarValueSlotProps = HTMLChakraProps<"span">;
|
|
86
|
-
|
|
87
|
-
export { }
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
declare module "slate" {
|
|
91
|
-
interface CustomTypes {
|
|
92
|
-
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
93
|
-
Element: CustomElement;
|
|
94
|
-
Text: CustomText;
|
|
95
|
-
}
|
|
96
|
-
}
|
package/dist/radio-input.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { RadioGroupProps } from 'react-aria-components';
|
|
4
|
-
import { RadioInputOptionProps as RadioInputOptionProps_2 } from './radio-input.types';
|
|
5
|
-
import { RadioInputRootProps as RadioInputRootProps_2 } from './radio-input.types';
|
|
6
|
-
import { RadioProps } from 'react-aria-components';
|
|
7
|
-
import { RecipeProps } from '@chakra-ui/react';
|
|
8
|
-
|
|
9
|
-
declare type RadioGroupPropsSubset = Omit<RadioGroupProps, "children" | "orientation"> & {
|
|
10
|
-
/** Radio options to display */
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const RadioInput: {
|
|
15
|
-
Root: {
|
|
16
|
-
(props: RadioInputRootProps_2): JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
Option: {
|
|
20
|
-
({ children, value, ...rest }: RadioInputOptionProps_2): JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export declare const _RadioInputOption: {
|
|
26
|
-
({ children, value, ...rest }: RadioInputOptionProps): JSX.Element;
|
|
27
|
-
displayName: string;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export declare type RadioInputOptionProps = RadioProps & Omit<RadioInputOptionSlotProps, keyof RadioProps>;
|
|
31
|
-
|
|
32
|
-
export declare type RadioInputOptionSlotProps = HTMLChakraProps<"span", RecipeProps<"option">>;
|
|
33
|
-
|
|
34
|
-
declare type RadioInputRecipeProps = {
|
|
35
|
-
/**
|
|
36
|
-
* Layout orientation for radio options
|
|
37
|
-
* @default "vertical"
|
|
38
|
-
*/
|
|
39
|
-
orientation?: RecipeProps<"radioInput">["orientation"];
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* # RadioInput
|
|
44
|
-
*
|
|
45
|
-
* A set of closely related, mutually exclusive or complementary actions that are important enough to be displayed directly in the interface for quick access.
|
|
46
|
-
*
|
|
47
|
-
* @see {@link https://nimbus-documentation.vercel.app/components/inputs/radio-input}
|
|
48
|
-
*/
|
|
49
|
-
export declare const _RadioInputRoot: {
|
|
50
|
-
(props: RadioInputRootProps): JSX.Element;
|
|
51
|
-
displayName: string;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export declare type RadioInputRootProps = Omit<RadioInputRootSlotProps, keyof RadioGroupPropsSubset> & RadioGroupPropsSubset;
|
|
55
|
-
|
|
56
|
-
export declare type RadioInputRootSlotProps = HTMLChakraProps<"div", RadioInputRecipeProps>;
|
|
57
|
-
|
|
58
|
-
export { }
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
declare module "slate" {
|
|
62
|
-
interface CustomTypes {
|
|
63
|
-
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
64
|
-
Element: CustomElement;
|
|
65
|
-
Text: CustomText;
|
|
66
|
-
}
|
|
67
|
-
}
|
package/dist/range-calendar.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { DateValue } from '@internationalized/date';
|
|
2
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
3
|
-
import { JSX } from 'react/jsx-runtime';
|
|
4
|
-
import { RangeCalendarProps as RangeCalendarProps_2 } from 'react-aria-components';
|
|
5
|
-
import { SlotRecipeProps } from '@chakra-ui/react';
|
|
6
|
-
|
|
7
|
-
declare type ExcludedProps = "as" | "style" | "createCalendar";
|
|
8
|
-
|
|
9
|
-
export declare const RangeCalendar: (props: RangeCalendarProps<DateValue>) => JSX.Element;
|
|
10
|
-
|
|
11
|
-
export declare type RangeCalendarCellSlotProps = HTMLChakraProps<"td">;
|
|
12
|
-
|
|
13
|
-
export declare type RangeCalendarGridBodySlotProps = HTMLChakraProps<"tbody">;
|
|
14
|
-
|
|
15
|
-
export declare type RangeCalendarGridHeaderSlotProps = HTMLChakraProps<"thead">;
|
|
16
|
-
|
|
17
|
-
export declare type RangeCalendarGridSlotProps = HTMLChakraProps<"table">;
|
|
18
|
-
|
|
19
|
-
export declare type RangeCalendarGridsSlotProps = HTMLChakraProps<"div">;
|
|
20
|
-
|
|
21
|
-
export declare type RangeCalendarHeaderCellSlotProps = HTMLChakraProps<"th">;
|
|
22
|
-
|
|
23
|
-
export declare type RangeCalendarHeaderSlotProps = HTMLChakraProps<"div">;
|
|
24
|
-
|
|
25
|
-
export declare type RangeCalendarMonthTitleSlotProps = HTMLChakraProps<"div">;
|
|
26
|
-
|
|
27
|
-
export declare type RangeCalendarProps<T extends DateValue> = Omit<RangeCalendarRootSlotProps, keyof RangeCalendarProps_2<DateValue> | ExcludedProps> & Omit<RangeCalendarProps_2<T>, ExcludedProps> & SlotRecipeProps<"rangeCalendar">;
|
|
28
|
-
|
|
29
|
-
declare type RangeCalendarRecipeProps = SlotRecipeProps<"rangeCalendar">;
|
|
30
|
-
|
|
31
|
-
export declare type RangeCalendarRootSlotProps = HTMLChakraProps<"div", RangeCalendarRecipeProps & RangeCalendarProps_2<DateValue>>;
|
|
32
|
-
|
|
33
|
-
export declare type RangeValue<T> = {
|
|
34
|
-
start: T;
|
|
35
|
-
end: T;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export { }
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
declare module "slate" {
|
|
42
|
-
interface CustomTypes {
|
|
43
|
-
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
44
|
-
Element: CustomElement;
|
|
45
|
-
Text: CustomText;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { FocusEventHandler } from 'react';
|
|
2
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
3
|
-
import { JSX } from 'react/jsx-runtime';
|
|
4
|
-
import { Ref } from 'react';
|
|
5
|
-
import { SlotRecipeProps } from '@chakra-ui/react';
|
|
6
|
-
import { UnstyledProp } from '@chakra-ui/react';
|
|
7
|
-
|
|
8
|
-
declare type DefaultExcludedProps = "css" | "asChild" | "as" | "onChange";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
RichTextInput - A rich text input component with formatting capabilities.
|
|
12
|
-
*/
|
|
13
|
-
export declare const RichTextInput: {
|
|
14
|
-
(props: RichTextInputProps): JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export declare type RichTextInputEditableSlotProps = HTMLChakraProps<"div">;
|
|
19
|
-
|
|
20
|
-
export declare type RichTextInputProps = Omit<RichTextInputRootSlotProps, DefaultExcludedProps | "children"> & {
|
|
21
|
-
/**
|
|
22
|
-
* The ref for the rich text input component
|
|
23
|
-
*/
|
|
24
|
-
ref?: Ref<HTMLDivElement>;
|
|
25
|
-
/**
|
|
26
|
-
* The HTML value of the rich text input
|
|
27
|
-
*/
|
|
28
|
-
value?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The default HTML value of the rich text input (uncontrolled)
|
|
31
|
-
*/
|
|
32
|
-
defaultValue?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Called when the value changes
|
|
35
|
-
*/
|
|
36
|
-
onChange?: (value: string) => void;
|
|
37
|
-
/**
|
|
38
|
-
* Called when the input is focused
|
|
39
|
-
*/
|
|
40
|
-
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
41
|
-
/**
|
|
42
|
-
* Called when the input is blurred
|
|
43
|
-
*/
|
|
44
|
-
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
45
|
-
/**
|
|
46
|
-
* Placeholder text to show when the editor is empty
|
|
47
|
-
*/
|
|
48
|
-
placeholder?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Whether the input is disabled
|
|
51
|
-
*/
|
|
52
|
-
isDisabled?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Whether the input is read-only
|
|
55
|
-
*/
|
|
56
|
-
isReadOnly?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Whether the input is in an invalid state
|
|
59
|
-
*/
|
|
60
|
-
isInvalid?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Whether to focus the input when it mounts
|
|
63
|
-
*/
|
|
64
|
-
autoFocus?: boolean;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
declare type RichTextInputRecipeProps = SlotRecipeProps<"richTextInput">;
|
|
68
|
-
|
|
69
|
-
export declare type RichTextInputRootSlotProps = HTMLChakraProps<"div", RichTextInputRecipeProps & UnstyledProp>;
|
|
70
|
-
|
|
71
|
-
export declare type RichTextInputToolbarSlotProps = HTMLChakraProps<"div">;
|
|
72
|
-
|
|
73
|
-
export { }
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
declare module "slate" {
|
|
77
|
-
interface CustomTypes {
|
|
78
|
-
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
79
|
-
Element: CustomElement;
|
|
80
|
-
Text: CustomText;
|
|
81
|
-
}
|
|
82
|
-
}
|
package/dist/search-input.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { SearchFieldProps } from 'react-aria-components';
|
|
4
|
-
import { SlotRecipeProps } from '@chakra-ui/react';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* # SearchInput
|
|
8
|
-
*
|
|
9
|
-
* A search input component that allows users to enter search queries with built-in
|
|
10
|
-
* clear functionality. Built on React Aria's SearchField for accessibility.
|
|
11
|
-
*/
|
|
12
|
-
export declare const SearchInput: {
|
|
13
|
-
(props: SearchInputProps): JSX.Element;
|
|
14
|
-
displayName: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export declare type SearchInputInputSlotProps = HTMLChakraProps<"input">;
|
|
18
|
-
|
|
19
|
-
export declare type SearchInputLeadingElementSlotProps = HTMLChakraProps<"div">;
|
|
20
|
-
|
|
21
|
-
export declare type SearchInputProps = Omit<SearchInputRootSlotProps, keyof SearchFieldProps | "as" | "asChild"> & Omit<SearchFieldProps, "ref"> & {
|
|
22
|
-
/**
|
|
23
|
-
* Ref forwarding to the input element
|
|
24
|
-
*/
|
|
25
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
26
|
-
/**
|
|
27
|
-
* Placeholder text for the search input
|
|
28
|
-
*/
|
|
29
|
-
placeholder?: string;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
declare type SearchInputRecipeProps = {
|
|
33
|
-
/**
|
|
34
|
-
* Size variant of the search input
|
|
35
|
-
* @default "md"
|
|
36
|
-
*/
|
|
37
|
-
size?: SlotRecipeProps<"searchInput">["size"];
|
|
38
|
-
/**
|
|
39
|
-
* Visual style variant of the search input
|
|
40
|
-
* @default "solid"
|
|
41
|
-
*/
|
|
42
|
-
variant?: SlotRecipeProps<"searchInput">["variant"];
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export declare type SearchInputRootSlotProps = HTMLChakraProps<"div", SearchInputRecipeProps>;
|
|
46
|
-
|
|
47
|
-
export { }
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
declare module "slate" {
|
|
51
|
-
interface CustomTypes {
|
|
52
|
-
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
53
|
-
Element: CustomElement;
|
|
54
|
-
Text: CustomText;
|
|
55
|
-
}
|
|
56
|
-
}
|