@povio/ui 6.0.0-rc.12 → 6.0.0-rc.14
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/README.md +523 -42
- package/dist/{Accordion-ORBin0EZ.js → Accordion-BNHpv7Zj.js} +42 -42
- package/dist/{Accordion-Cup5eRZz.d.ts → Accordion-CR9oomZY.d.ts} +29 -17
- package/dist/Alert-xHGPLUpt.d.ts +36 -0
- package/dist/AlertDialog-CKcUZ6l9.d.ts +70 -0
- package/dist/Autocomplete-CkWTSFoj.d.ts +123 -0
- package/dist/Autocomplete-CrNDRxvg.js +319 -0
- package/dist/Badge-B25YEMEw.d.ts +67 -0
- package/dist/BottomSheet-CtcPZG82.d.ts +65 -0
- package/dist/{BottomSheet-CGipksM_.js → BottomSheet-tUXH3NjS.js} +9 -9
- package/dist/{BottomSheet.lazy-CuJMUeJP.d.ts → BottomSheet.lazy-DuwAJSaI.d.ts} +1 -1
- package/dist/{Breadcrumbs-CcB0oOF8.d.ts → Breadcrumbs-BrtRh_dX.d.ts} +6 -3
- package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-D8WXqOLN.js} +36 -20
- package/dist/{Button-BaODzvZd.js → Button-C1Jv1Plk.js} +1 -1
- package/dist/{Button-0SswSdDg.d.ts → Button-DDuk3hJ3.d.ts} +2 -2
- package/dist/{Button-C1YB5dOw.js → Button-DF6sbTuF.js} +3 -7
- package/dist/{ButtonBase-s-VV7oCa.js → ButtonBase-BYJz1JkH.js} +12 -20
- package/dist/ButtonBase-Bn_FT89h.d.ts +47 -0
- package/dist/{ButtonContent-Dztbuz3q.js → ButtonContent-2KsbdWRO.js} +5 -5
- package/dist/{Calendar-yaQubCWK.js → Calendar-DdneUEhM.js} +71 -35
- package/dist/{Calendar.lazy-DcVss9Bk.js → Calendar.lazy-BY0kLoYH.js} +7 -7
- package/dist/Checkbox-Bwl6MA-V.d.ts +49 -0
- package/dist/{Checkbox-Bjsbx-wK.js → Checkbox-E2bns_n0.js} +40 -14
- package/dist/CheckboxCheckmark-Beu8T1g9.js +42 -0
- package/dist/CheckboxGroup-0rzsn-bA.d.ts +52 -0
- package/dist/{CheckboxGroup-B3O3IUiu.js → CheckboxGroup-C7epIEpW.js} +75 -35
- package/dist/ColumnConfigContent-LNq-6Brf.js +1025 -0
- package/dist/ColumnListContent-Dzze5R7T.js +133 -0
- package/dist/DatePicker-B70SCKfT.d.ts +80 -0
- package/dist/{DatePicker-bme8zGBo.js → DatePicker-BU-34fCk.js} +117 -46
- package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-BCuz08Ws.d.ts} +3 -3
- package/dist/{DatePickerInput-C2881tvS.js → DatePickerInput-CMEJmZSQ.js} +41 -30
- package/dist/{DateRangePicker-Blg158JD.js → DateRangePicker-D0RtqeBM.js} +90 -162
- package/dist/DateRangePicker-jovxcWGk.d.ts +102 -0
- package/dist/{DateTimePicker-CdRFt8WM.js → DateTimePicker-Cbdt76CL.js} +94 -40
- package/dist/DateTimePicker-Cfi3ruFy.d.ts +83 -0
- package/dist/Dialog-BWNQjIgo.d.ts +66 -0
- package/dist/{Dialog-C9H9_BmK.js → Dialog-Bpwr1nuy.js} +15 -15
- package/dist/{Dialog-DN5703sy.js → Dialog-ebjPH22i.js} +23 -19
- package/dist/{Disclosure-BRSkMbZQ.js → Disclosure-D_aym2zh.js} +3 -3
- package/dist/Drawer-o018RqIt.d.ts +42 -0
- package/dist/DropdownMenu-3V-G7fZ7.d.ts +51 -0
- package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-C4WitobV.js} +33 -21
- package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-BM7659Sk.js} +14 -8
- package/dist/{FileInput-BUwtAF2-.js → FileInput-Bc_E1M1X.js} +76 -81
- package/dist/FileInput-CWRW7OzZ.d.ts +61 -0
- package/dist/{FileTrigger-DlryDp2T.js → FileTrigger-tGSUFrb2.js} +6 -6
- package/dist/FileUpload-DVnp9xxv.d.ts +181 -0
- package/dist/FileUpload-Dk6ZmgWF.js +1105 -0
- package/dist/{Form-CqF1SaVw.js → Form-4jZarkjk.js} +2 -2
- package/dist/FormField-BgiWLGjf.d.ts +70 -0
- package/dist/{FormField-dduTMkNH.js → FormField-DOZ7eXjA.js} +11 -11
- package/dist/{FormFieldError-BT4uxbKY.d.ts → FormFieldError-C7yOdjzQ.d.ts} +1 -0
- package/dist/FormFieldHeaderTooltip-DW9sqJWl.js +22 -0
- package/dist/{Heading-D4XFYv__.js → Heading-B9G3z6Es.js} +2 -2
- package/dist/HiddenFormValue-DZ2d9eoA.js +20 -0
- package/dist/IconButton-Bjjf5cQL.d.ts +24 -0
- package/dist/{IconSlot-CqNuZl0E.js → IconSlot-TAWTJ6iK.js} +2 -4
- package/dist/{InlineTooltipWrapper-CKTiFpZn.js → InlineTooltipWrapper-CcdpMJa6.js} +1 -1
- package/dist/{Input-BG0Xjw5X.js → Input-BkR3jkvt.js} +2 -2
- package/dist/{Input-CG5LQ0zs.js → Input-CvYyjMWx.js} +95 -60
- package/dist/Input-lppNS8wM.d.ts +56 -0
- package/dist/{InputContent-Fx2E4UXl.js → InputContent-B5YjsLDE.js} +15 -13
- package/dist/InputContent-Bgalf6R1.d.ts +39 -0
- package/dist/{Label-BGvF9vWx.js → Label-VTcaaLO8.js} +2 -2
- package/dist/{Link-Chux-Clm.js → Link-8zP_NC_c.js} +2 -2
- package/dist/Link-HJ4y-xiW.d.ts +15 -0
- package/dist/{ListBox-DhR5kojP.js → ListBox-Ck-B1Jae.js} +9 -9
- package/dist/{Modal-DcLWF9cB.js → Modal-xT-Wz5GH.js} +3 -3
- package/dist/{NumberField-DxuikBcr.js → NumberField-BXLzNb2T.js} +92 -63
- package/dist/NumberField-Q-4y3jpb.d.ts +41 -0
- package/dist/{NumberFormatter-DYarfm5F.js → NumberFormatter-D5csbNXm.js} +1 -1
- package/dist/{NumberRangeInput-8bOjNEnS.js → NumberRangeInput-BBzZCC54.js} +153 -102
- package/dist/NumberRangeInput-DuWOdSdU.d.ts +89 -0
- package/dist/{OverlayArrow-DF0jMwul.js → OverlayArrow-BptI-A_7.js} +2 -2
- package/dist/{PageHeader-DTfzf-dA.d.ts → PageHeader-jVaC3Z9L.d.ts} +6 -5
- package/dist/PasswordInput-DtTnGHRD.d.ts +16 -0
- package/dist/{PasswordInput.bound-Dfq5c3JQ.js → PasswordInput-U0QhNsMp.js} +6 -6
- package/dist/Popover-ClCEOP3e.d.ts +51 -0
- package/dist/Progress-DlXY0dv_.js +180 -0
- package/dist/Progress-VkkXbIh7.d.ts +26 -0
- package/dist/ProgressBar-mpNpV7ow.js +46 -0
- package/dist/{RadioGroup-IL4Y8XHO.js → RadioGroup-BPPJyA1s.js} +72 -32
- package/dist/RadioGroup-BbcrP56w.d.ts +52 -0
- package/dist/{RangeCalendar-DT63UD8K.js → RangeCalendar-DIVjIl0T.js} +12 -10
- package/dist/Select-D1qIWZCv.d.ts +248 -0
- package/dist/{Select-BM8PNrjC.js → Select-DlbVDCz8.js} +452 -191
- package/dist/{SelectListBox-BFSZxDSi.js → SelectListBox-CCr5YY86.js} +55 -43
- package/dist/{SelectionIndicator-C3hniBa2.js → SelectionIndicator-CvuKjZRP.js} +3 -3
- package/dist/{SharedElementTransition-CZ2bE7yo.js → SharedElementTransition-BkyYit3Q.js} +2 -2
- package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-CIpFJGOa.js} +283 -366
- package/dist/{SidebarWorkspaces-DDHJAdNH.d.ts → SidebarWorkspaces-DcwA_jv7.d.ts} +31 -17
- package/dist/Slider-CLViwkE1.d.ts +57 -0
- package/dist/{Slider-DCsCCPFx.js → Slider-_RsgBJcg.js} +72 -15
- package/dist/Spinner-GMEauCHv.d.ts +13 -0
- package/dist/SplitButton-BdP4xjFQ.d.ts +25 -0
- package/dist/{Stepper-Dyhxp0Tl.js → Stepper-D4z7JNsD.js} +116 -88
- package/dist/Stepper-DBb0qfla.d.ts +49 -0
- package/dist/{Switch-BfpSMMpv.js → Switch-Bi3_bUw1.js} +56 -14
- package/dist/Switch-DCxONL2Q.d.ts +42 -0
- package/dist/TableDnd-CG1yOlxh.js +238 -0
- package/dist/TableDragHandle-CXApnuUm.js +51 -0
- package/dist/{TabsFilters-DybNturW.js → TabsFilters-BPogry73.js} +46 -35
- package/dist/TabsFilters-CPfGBODw.d.ts +59 -0
- package/dist/Tag-xhcJOv_X.d.ts +26 -0
- package/dist/{Text-D72yc4S6.js → Text-D7Nqkw1l.js} +1 -1
- package/dist/TextArea-BYX9Kk_v.d.ts +33 -0
- package/dist/{TextArea-Blsip3ZC.js → TextArea-CuJS3-Nv.js} +62 -35
- package/dist/{TimePicker-4hV5zbgd.js → TimePicker-ByfjqkLp.js} +120 -56
- package/dist/TimePicker-UTo9C6gz.d.ts +64 -0
- package/dist/TimePickerForm-CaIHR0PV.js +532 -0
- package/dist/{ToastContainer-Dd0LPykL.js → ToastContainer-tr7Zxahc.js} +4 -4
- package/dist/{ToggleButton-HUZ8ij6i.d.ts → ToggleButton-BX8o7ECO.d.ts} +2 -2
- package/dist/{ToggleButton-P1z1pxzT.js → ToggleButton-D8BT67FO.js} +5 -5
- package/dist/ToggleGroup-18c-FZ_r.js +500 -0
- package/dist/ToggleGroup-UazUtgU1.d.ts +95 -0
- package/dist/{Tooltip-DRB6lo0U.js → Tooltip-Dl3sf8fq.js} +5 -5
- package/dist/Tooltip-FcJ29dhq.d.ts +33 -0
- package/dist/TooltipEllipsis-7QF00kXk.d.ts +21 -0
- package/dist/{TooltipWrapper-BSY31JMc.js → TooltipWrapper-bvNpM6ku.js} +6 -6
- package/dist/{Typography-DJojwiXV.d.ts → Typography-auHWN282.d.ts} +5 -1
- package/dist/{badgeButton.cva-t5PQOH4M.js → badge.cva-C9mE8CMf.js} +23 -24
- package/dist/{button.cva-Ciga0rdG.js → button.cva-C2aoXMh-.js} +10 -16
- package/dist/{buttonContent.cva-BapnODby.d.ts → buttonContent.cva-CeGnrjoA.d.ts} +2 -2
- package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
- package/dist/{checkbox.cva-aLJS7v4z.js → checkbox.cva-qU_q0lSX.js} +14 -14
- package/dist/columnConfig.cva-CERwSZRN.js +29 -0
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +2 -2
- package/dist/components/alert-dialog.js +174 -128
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +17 -15
- package/dist/components/autocomplete.d.ts +2 -2
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.d.ts +2 -2
- package/dist/components/badge.js +166 -81
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +25 -21
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +2 -2
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +4 -41
- package/dist/components/date-range-picker.js +4 -2
- package/dist/components/date-range-presets.d.ts +2 -0
- package/dist/components/date-range-presets.js +3 -0
- package/dist/components/date-time-picker.d.ts +2 -2
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.d.ts +1 -1
- package/dist/components/drawer.js +16 -80
- package/dist/components/dropdown-menu.d.ts +2 -3
- package/dist/components/dropdown-menu.js +2 -3
- package/dist/components/file-input.d.ts +2 -2
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload.d.ts +2 -3
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +3 -2
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +22 -25
- package/dist/components/icon-slot.d.ts +1 -2
- package/dist/components/icon-slot.js +2 -2
- package/dist/components/input-frame.d.ts +6 -10
- package/dist/components/input-frame.js +31 -28
- package/dist/components/input.d.ts +2 -2
- package/dist/components/input.js +2 -2
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/number-field.d.ts +2 -2
- package/dist/components/number-field.js +2 -2
- package/dist/components/number-range-input.d.ts +2 -2
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/page-header.d.ts +1 -1
- package/dist/components/page-header.js +5 -5
- package/dist/components/password-input.d.ts +2 -2
- package/dist/components/password-input.js +1 -22
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +105 -87
- package/dist/components/progress.d.ts +2 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +2 -2
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +71 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +15 -4
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/style-definitions.d.ts +3 -3
- package/dist/components/style-definitions.js +62 -20
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/tabs-filters.d.ts +1 -1
- package/dist/components/tabs-filters.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +50 -64
- package/dist/components/text-area.d.ts +2 -2
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.d.ts +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +3 -3
- package/dist/components/toast.js +4 -3
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle-group.d.ts +2 -2
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip-ellipsis.d.ts +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.d.ts +2 -2
- package/dist/components/use-toast.d.ts +2 -2
- package/dist/components/use-toast.js +1 -41
- package/dist/config/component-configuration.d.ts +2 -2
- package/dist/config/component-configuration.js +53 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/confirmation.js +1 -1
- package/dist/config/link-context.d.ts +3 -3
- package/dist/config/link-context.js +1 -1
- package/dist/config/resources.d.ts +1 -1
- package/dist/config/resources.js +1 -1
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-overrides.d.ts +1 -1
- package/dist/config/ui-router.d.ts +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/confirmation.context-C_-uADGJ.js +93 -0
- package/dist/confirmation.context-DkWyR2aT.d.ts +32 -0
- package/dist/{datePickerInput.cva-Du0Zn04v.js → datePickerInput.cva-CWkV2fut.js} +1 -1
- package/dist/dateRangePreset.utils-Bnb-rjTt.js +116 -0
- package/dist/{dialog.cva-BIpz6HcA.js → dialog.cva-BjVggO5l.js} +1 -1
- package/dist/{dist-DEZzXa0W.js → dist-CP6vV22I.js} +68 -39
- package/dist/{dom.utils-BPooTXtC.js → dom.utils-CqejLWIQ.js} +1 -1
- package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-BopsvbOy.js} +19 -7
- package/dist/{exports-BNrTn8Tj.js → exports-DeBGRThC.js} +3 -3
- package/dist/{file.utils-Crb-mIHs.d.ts → file.utils-DUADtzdt.d.ts} +3 -3
- package/dist/{file.utils-DqQxnuAm.js → file.utils-X6tkeWaz.js} +2 -6
- package/dist/fileInputButton.cva-gbqRUf1g.js +39 -0
- package/dist/{fileUpload.cva-BYzXGc9C.js → fileUpload.cva-SrF6v406.js} +3 -3
- package/dist/form-field-C735uXsi.d.ts +1 -0
- package/dist/form.binding-Brdjq2yr.js +161 -0
- package/dist/form.binding-DSXB2AOD.d.ts +127 -0
- package/dist/form.types-a2WVJDQX.d.ts +43 -0
- package/dist/formReset-CnZl_yze.js +35 -0
- package/dist/hints-B09_WDhL.d.ts +17 -0
- package/dist/hooks/use-async-list.d.ts +1 -1
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/hooks/use-breakpoint.d.ts +3 -0
- package/dist/hooks/use-breakpoint.js +2 -0
- package/dist/hooks/use-filters.d.ts +2 -2
- package/dist/hooks/use-filters.js +1 -1
- package/dist/{i18n-D8vXIoiq.js → i18n-DaIHnR2n.js} +123 -9
- package/dist/{i18n-DM-PUcxQ.d.ts → i18n-xXkHgzet.d.ts} +124 -4
- package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
- package/dist/{import-C7W0Wv2r.js → import-Cz8NlFqm.js} +40 -16
- package/dist/index.d.ts +66 -84
- package/dist/index.js +57 -92
- package/dist/{input.cva-DZii82eS.js → input.cva-mm1dnfKP.js} +27 -23
- package/dist/inputLayout-CIVpuUBq.js +7 -0
- package/dist/inputRow.clsx-BbcaXVta.js +6 -0
- package/dist/{intlStrings-Cu1YN1tA.js → intlStrings-ClpdCJmU.js} +35 -35
- package/dist/{isEqual-LFw0W5rU.js → isEqual-BdJdNr5O.js} +1 -1
- package/dist/{label.cva-DTfT6FrX.js → label.cva-DJ5Dmbz5.js} +7 -7
- package/dist/link.context-BxVK2yQ5.d.ts +20 -0
- package/dist/{link.context-TPjDtjw3.js → link.context-CD5h_b5O.js} +12 -11
- package/dist/link.cva-ZhpQz3P0.d.ts +2277 -0
- package/dist/{progress.cva-CsGaGVJ-.js → progress.cva-mkJxrrac.js} +2 -2
- package/dist/{radio.cva-DistaZtZ.js → radio.cva-Dt5N2ul2.js} +7 -7
- package/dist/rich-text-editor.d.ts +44 -2
- package/dist/rich-text-editor.js +733 -1
- package/dist/router.context-B6j_M4cN.js +151 -0
- package/dist/router.context-CSd9JYQ4.d.ts +33 -0
- package/dist/{selectDesktop.cva-DStkOdwm.js → selectDesktop.cva-30JAvtgB.js} +1 -1
- package/dist/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
- package/dist/sidebar.cva-BgxTCejU.js +150 -0
- package/dist/spinner.cva-j4kGmIWC.js +17 -0
- package/dist/{staticDateTimeSegments-CVuAhDDl.js → staticDateTimeSegments-BgUrcqXD.js} +379 -94
- package/dist/{status.cva-CYgi3Htz.js → status.cva-WLEqUAjH.js} +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/{table.cva-DkcsOmZG.js → table.cva-n9TO_vu1.js} +68 -17
- package/dist/tableCells.cva-Br0_kgRM.js +18 -0
- package/dist/tableColumnConfigStorage-Cciq8gVe.js +215 -0
- package/dist/tableVirtualStore-whSmFzTV.js +67 -0
- package/dist/tanstack/form.d.ts +3 -3
- package/dist/tanstack/form.js +3 -3
- package/dist/tanstack/table-context.d.ts +2 -0
- package/dist/tanstack/table-context.js +2 -0
- package/dist/tanstack/table-types.d.ts +55 -0
- package/dist/tanstack/table.d.ts +5 -3
- package/dist/tanstack/table.js +3 -2
- package/dist/tanstack-JB8VmS9j.js +73 -0
- package/dist/tanstack-cQOW9-Q2.d.ts +165 -0
- package/dist/tanstack-table-DdWYwCZM.d.ts +858 -0
- package/dist/tanstack-table-M1M26UQJ.js +5299 -0
- package/dist/tanstack.d.ts +66 -84
- package/dist/tanstack.js +57 -92
- package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-DusQwZw-.js} +13 -9
- package/dist/toast.runtime-ZN5q4T9X.js +25 -0
- package/dist/{toggleGroup.cva-CJ-3Ps7j.js → toggleGroup.cva-CvNS5QO1.js} +2 -2
- package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-NWmBJ2Hc.js} +72 -10
- package/dist/uiConfig.context-ykH4E2js.d.ts +19 -0
- package/dist/uiConfig.types-BsyPKepP.d.ts +291 -0
- package/dist/{uiOverrides.context-DHHzLSnq.d.ts → uiOverrides.context-C5Maic5Q.d.ts} +106 -0
- package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-DkIjhlce.js} +142 -37
- package/dist/useAsyncList-F-328rtE.d.ts +25 -0
- package/dist/useAutoFocus-K-bfNxa2.js +16 -0
- package/dist/useBreakpoint-BPrZNuNl.d.ts +9 -0
- package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-DtYSRweq.js} +6 -2
- package/dist/{useControlledState-CuU1VIh1.js → useControlledState-C1-Mt2i0.js} +1 -1
- package/dist/useDebounceCallback-C7YKfjXW.js +96 -0
- package/dist/useFilters-CybBXUAA.js +217 -0
- package/dist/useFilters-DrfBFNLw.d.ts +57 -0
- package/dist/useFormAutosave-BzCGqFqi.js +419 -0
- package/dist/{useFormAutosave-BBLm3Ujo.d.ts → useFormAutosave-ClMnzVE7.d.ts} +1 -1
- package/dist/{useIntersectionObserver-DFAhTsV0.js → useIntersectionObserver-B8msnQTR.js} +15 -3
- package/dist/{numberStatic.utils-BIyZuILs.js → useLiveNumberFieldState-npiqOvyB.js} +107 -6
- package/dist/useRemoveButton-zhlA1Pbc.js +98 -0
- package/dist/useResolveDateRangePreset-DOSzJR-N.d.ts +64 -0
- package/dist/useResolveDateRangePreset-k_h_XJBG.js +26 -0
- package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-4pieApqz.js} +1 -1
- package/dist/{useStaticInputHandoff-BN0fOerH.js → useStaticInputHandoff-DrNFrvD7.js} +6 -1
- package/dist/useTableVirtualizer-sFInQiH-.d.ts +162 -0
- package/dist/useToast-BHqkSByv.d.ts +78 -0
- package/dist/useToast-DgqC6Ta_.js +63 -0
- package/dist/utils/file.d.ts +1 -1
- package/dist/utils/file.js +1 -1
- package/dist/{utils-BkLF-JA3.js → utils-Q5Oc6oX2.js} +1 -1
- package/llms.txt +3201 -0
- package/package.json +22 -118
- package/MIGRATION.md +0 -655
- package/dist/Alert-D4X7OWiv.d.ts +0 -34
- package/dist/AlertDialog-DklLDjmw.d.ts +0 -26
- package/dist/Autocomplete-BgFz3kuR.d.ts +0 -23
- package/dist/Autocomplete-Bn13u0zu.js +0 -145
- package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +0 -9
- package/dist/Autocomplete.bound-Dwh__y-Z.js +0 -28
- package/dist/Badge-Db1ndK67.d.ts +0 -30
- package/dist/BadgeButton-BPhWDAnc.d.ts +0 -15
- package/dist/BottomSheet-BZmDJBR-.d.ts +0 -33
- package/dist/ButtonBase-CZuEy3Pk.d.ts +0 -32
- package/dist/Checkbox-w2j5hLOQ.d.ts +0 -27
- package/dist/Checkbox.bound-D2nBglJz.js +0 -33
- package/dist/Checkbox.bound-DD_RCjVm.d.ts +0 -9
- package/dist/CheckboxCheckmark-DWsYVZuu.js +0 -25
- package/dist/CheckboxGroup-BYI15Y09.d.ts +0 -30
- package/dist/CheckboxGroup.bound-DY0HKGSh.js +0 -32
- package/dist/CheckboxGroup.bound-QiJ-P0KR.d.ts +0 -9
- package/dist/ComboBox-ChsdI0lt.js +0 -212
- package/dist/DatePicker-QzfQf21b.d.ts +0 -56
- package/dist/DatePicker.bound-DoCAqhM4.d.ts +0 -9
- package/dist/DatePicker.bound-M2cjR37s.js +0 -36
- package/dist/DateRangePicker-32D4pWJg.d.ts +0 -97
- package/dist/DateRangePicker.bound-CVtoVsho.d.ts +0 -9
- package/dist/DateRangePicker.bound-CkIDsAUf.js +0 -35
- package/dist/DateTimePicker-BTRIUagV.d.ts +0 -55
- package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +0 -9
- package/dist/DateTimePicker.bound-nSCVUqd0.js +0 -32
- package/dist/Dialog-CO9xljD3.d.ts +0 -21
- package/dist/Drawer-D1cHiBFO.d.ts +0 -18
- package/dist/DropdownMenu-D_9z9ond.d.ts +0 -25
- package/dist/FileInput-BEaECoBS.d.ts +0 -75
- package/dist/FileInput.bound-C12mOKpg.js +0 -30
- package/dist/FileInput.bound-D2HuuqSb.d.ts +0 -8
- package/dist/FileUpload-BUTSqHVk.d.ts +0 -11
- package/dist/FileUpload-D7FMYm-k.js +0 -749
- package/dist/FileUpload.bound-CGQXb4iT.d.ts +0 -16
- package/dist/FileUpload.bound-DmkuulOi.js +0 -30
- package/dist/FileUploadContainer-Dzg5aXXZ.d.ts +0 -5
- package/dist/FormField-DGyCDxOp.d.ts +0 -42
- package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +0 -17
- package/dist/IconButton-shH_9wcl.d.ts +0 -25
- package/dist/Input-CTp_9mS9.d.ts +0 -34
- package/dist/Input.bound-B9a62ylL.d.ts +0 -9
- package/dist/Input.bound-DYoXyRGy.js +0 -31
- package/dist/InputContent-BCNkN4Fx.d.ts +0 -27
- package/dist/Link-PvYB_M-j.d.ts +0 -30
- package/dist/MenuItem-U3-pu1j5.d.ts +0 -6
- package/dist/NumberField-WXebfxjK.d.ts +0 -34
- package/dist/NumberField.bound-ChJnNyJS.js +0 -32
- package/dist/NumberField.bound-Dy0A5iVc.d.ts +0 -9
- package/dist/NumberRangeInput-BCKQaGpy.d.ts +0 -50
- package/dist/NumberRangeInput.bound-BF6P_ega.js +0 -32
- package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +0 -9
- package/dist/PasswordInput-EhQjYyJS.d.ts +0 -11
- package/dist/PasswordInput.bound-CK5GwKL4.d.ts +0 -9
- package/dist/Popover-D_t1XDPA.d.ts +0 -20
- package/dist/Progress-Ckfpi_-M.d.ts +0 -45
- package/dist/Progress-RiEGGxNG.js +0 -119
- package/dist/RadioGroup-6e-Z6jW8.d.ts +0 -26
- package/dist/RadioGroup.bound-BFWSq-on.js +0 -32
- package/dist/RadioGroup.bound-w3SZqSkH.d.ts +0 -9
- package/dist/RichTextEditor-DHhuBeT6.d.ts +0 -28
- package/dist/RichTextEditor-DfwVdm45.js +0 -651
- package/dist/Select-C34ENdjq.d.ts +0 -119
- package/dist/Select.bound--Az1Xwgm.js +0 -34
- package/dist/Select.bound-qOihchei.d.ts +0 -17
- package/dist/Slider-DRg8zKRM.d.ts +0 -23
- package/dist/Slider.bound-CByTXPTr.js +0 -31
- package/dist/Slider.bound-CaEF19um.d.ts +0 -9
- package/dist/Spinner-Cvy_6zgD.d.ts +0 -30
- package/dist/Spinner-DqjP06T1.js +0 -101
- package/dist/SplitButton-V1f2NWfh.d.ts +0 -15
- package/dist/Stepper-k91x_m-E.d.ts +0 -114
- package/dist/Switch-ELVPkPx0.d.ts +0 -24
- package/dist/Switch.bound-DeEdVvZV.d.ts +0 -9
- package/dist/Switch.bound-Dv0cHsMM.js +0 -33
- package/dist/TableDnd-CuHxANWh.js +0 -133
- package/dist/TableRowDetails-D8HFTghI.d.ts +0 -109
- package/dist/TabsFilters-DePddjCk.d.ts +0 -30
- package/dist/Tag-B2_ZiSE-.d.ts +0 -44
- package/dist/TextArea-iqUeB2QY.d.ts +0 -26
- package/dist/TextArea.bound-BJHyCogp.d.ts +0 -9
- package/dist/TextArea.bound-DeaskY6r.js +0 -28
- package/dist/TimePicker-BZ1ocsBX.d.ts +0 -45
- package/dist/TimePicker.bound-8DmjMXuE.d.ts +0 -9
- package/dist/TimePicker.bound-BFSXJvE_.js +0 -32
- package/dist/TimePickerForm-DD9VA_td.js +0 -225
- package/dist/Toast-D9pdadZ4.d.ts +0 -16
- package/dist/ToggleGroup-CrDoeLN0.js +0 -333
- package/dist/ToggleGroup-DvjnSinl.d.ts +0 -42
- package/dist/ToggleGroup.bound-B03ISHQ8.d.ts +0 -9
- package/dist/ToggleGroup.bound-DCnYwmBt.js +0 -67
- package/dist/Tooltip-B8DTURLQ.d.ts +0 -16
- package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +0 -11
- package/dist/badgeButton.cva-CBFIhr1S.d.ts +0 -41
- package/dist/button.cva-C8LGtNJ3.d.ts +0 -94
- package/dist/checkbox.cva-CCh_UlrC.d.ts +0 -76
- package/dist/components/badge-button.d.ts +0 -2
- package/dist/components/badge-button.js +0 -74
- package/dist/components/file-upload-container.d.ts +0 -3
- package/dist/components/file-upload-container.js +0 -15
- package/dist/confirmation.context-Bc2yEVp_.js +0 -114
- package/dist/confirmation.context-C_GDRn3a.d.ts +0 -23
- package/dist/fileUpload.types-C-ke21yY.d.ts +0 -110
- package/dist/form.binding-DOR5gIQf.js +0 -49
- package/dist/form.types-C8P4sznq.d.ts +0 -22
- package/dist/formFieldHelper.cva-DRmSyRZN.js +0 -14
- package/dist/iconSlot.cva-CLB5Tlsr.d.ts +0 -9
- package/dist/icons.d.ts +0 -4
- package/dist/icons.js +0 -3
- package/dist/input.cva-BjuHsDGy.d.ts +0 -80
- package/dist/inputLayout-KdAtunGk.js +0 -5
- package/dist/link.context-BCHn7NSy.d.ts +0 -12
- package/dist/radio.cva-D7M1hqLe.d.ts +0 -56
- package/dist/router.context-CtafjXV7.d.ts +0 -16
- package/dist/router.context-MckTbHw9.js +0 -63
- package/dist/routing.utils-DfxEt0_Y.js +0 -30
- package/dist/style-definitions-Dx6aFDiR.d.ts +0 -1038
- package/dist/switch.cva-r6vcS25Q.d.ts +0 -16
- package/dist/tanstack/autocomplete.d.ts +0 -3
- package/dist/tanstack/autocomplete.js +0 -2
- package/dist/tanstack/checkbox-group.d.ts +0 -3
- package/dist/tanstack/checkbox-group.js +0 -2
- package/dist/tanstack/checkbox.d.ts +0 -3
- package/dist/tanstack/checkbox.js +0 -2
- package/dist/tanstack/date-picker.d.ts +0 -3
- package/dist/tanstack/date-picker.js +0 -2
- package/dist/tanstack/date-range-picker.d.ts +0 -3
- package/dist/tanstack/date-range-picker.js +0 -2
- package/dist/tanstack/date-time-picker.d.ts +0 -3
- package/dist/tanstack/date-time-picker.js +0 -2
- package/dist/tanstack/file-input.d.ts +0 -3
- package/dist/tanstack/file-input.js +0 -2
- package/dist/tanstack/file-upload.d.ts +0 -4
- package/dist/tanstack/file-upload.js +0 -2
- package/dist/tanstack/input.d.ts +0 -3
- package/dist/tanstack/input.js +0 -2
- package/dist/tanstack/number-field.d.ts +0 -3
- package/dist/tanstack/number-field.js +0 -2
- package/dist/tanstack/number-range-input.d.ts +0 -3
- package/dist/tanstack/number-range-input.js +0 -2
- package/dist/tanstack/password-input.d.ts +0 -2
- package/dist/tanstack/password-input.js +0 -2
- package/dist/tanstack/radio-group.d.ts +0 -3
- package/dist/tanstack/radio-group.js +0 -2
- package/dist/tanstack/rich-text-editor.d.ts +0 -9
- package/dist/tanstack/rich-text-editor.js +0 -28
- package/dist/tanstack/select.d.ts +0 -3
- package/dist/tanstack/select.js +0 -2
- package/dist/tanstack/slider.d.ts +0 -3
- package/dist/tanstack/slider.js +0 -2
- package/dist/tanstack/switch.d.ts +0 -3
- package/dist/tanstack/switch.js +0 -2
- package/dist/tanstack/text-area.d.ts +0 -3
- package/dist/tanstack/text-area.js +0 -2
- package/dist/tanstack/time-picker.d.ts +0 -3
- package/dist/tanstack/time-picker.js +0 -2
- package/dist/tanstack/toggle-group.d.ts +0 -3
- package/dist/tanstack/toggle-group.js +0 -2
- package/dist/tanstack-Bgdv0qU1.js +0 -19
- package/dist/tanstack-wNbE6b-h.d.ts +0 -566
- package/dist/toast.cva-AmLw6Cf5.d.ts +0 -61
- package/dist/toast.runtime-Drd2IJ_j.js +0 -17
- package/dist/toastActivation.store-BELtcr76.js +0 -16
- package/dist/toggleGroup.cva-DA4U21gn.d.ts +0 -26
- package/dist/typography.cva-BCHlTHdM.d.ts +0 -36
- package/dist/uiConfig.context-BnCORTNm.d.ts +0 -132
- package/dist/useAsyncList-Cu-Y8If2.d.ts +0 -9
- package/dist/useFilters-BxRScJdn.d.ts +0 -11
- package/dist/useFilters-DMi94RZK.js +0 -190
- package/dist/useForm-Cb7KWLds.js +0 -217
- package/dist/useForm-I6z23FXf.d.ts +0 -51
- package/dist/useFormAutosave-BPGlChiY.js +0 -216
- package/dist/useTableColumnConfig-CXYgj5xi.js +0 -1906
- package/dist/useTableNav-BusSFEVC.d.ts +0 -197
- package/dist/useToast-DsA8CVoY.d.ts +0 -16
package/dist/Alert-D4X7OWiv.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-DHHzLSnq.js";
|
|
2
|
-
import "./style-definitions-Dx6aFDiR.js";
|
|
3
|
-
import { FC, ReactNode, SVGProps } from "react";
|
|
4
|
-
//#region src/components/status/Alert/alert.cva.d.ts
|
|
5
|
-
declare const alertDefinition: {
|
|
6
|
-
base: string[];
|
|
7
|
-
config: StyleMergeUtils.Config<{
|
|
8
|
-
readonly variant: {
|
|
9
|
-
readonly outlined: "";
|
|
10
|
-
readonly contained: "";
|
|
11
|
-
};
|
|
12
|
-
readonly color: {
|
|
13
|
-
readonly neutral: "";
|
|
14
|
-
readonly success: "";
|
|
15
|
-
readonly warning: "";
|
|
16
|
-
readonly error: "";
|
|
17
|
-
};
|
|
18
|
-
}>;
|
|
19
|
-
};
|
|
20
|
-
type AlertConfig = NonNullable<typeof alertDefinition.config>;
|
|
21
|
-
interface AlertVariantProps extends UIOverrides.VariantProps<AlertConfig> {}
|
|
22
|
-
//#endregion
|
|
23
|
-
//#region src/components/status/Alert/Alert.d.ts
|
|
24
|
-
interface AlertProps extends AlertVariantProps {
|
|
25
|
-
text: string;
|
|
26
|
-
isLoading?: boolean;
|
|
27
|
-
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
28
|
-
rightContent?: ReactNode;
|
|
29
|
-
hasSeparator?: boolean;
|
|
30
|
-
className?: string;
|
|
31
|
-
}
|
|
32
|
-
declare const Alert: ({ variant, color, text, isLoading, rightContent, hasSeparator, icon: Icon, className }: AlertProps) => import("react").JSX.Element;
|
|
33
|
-
//#endregion
|
|
34
|
-
export { AlertProps as n, alertDefinition as r, Alert as t };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { n as ButtonVariantProps } from "./button.cva-C8LGtNJ3.js";
|
|
2
|
-
import { n as DialogProps } from "./Dialog-CO9xljD3.js";
|
|
3
|
-
import { r as TypographyPropsCva } from "./Typography-DJojwiXV.js";
|
|
4
|
-
//#region src/components/overlays/AlertDialog/AlertDialog.d.ts
|
|
5
|
-
interface AlertDialogAction {
|
|
6
|
-
label: string;
|
|
7
|
-
onPress: () => void;
|
|
8
|
-
className?: string;
|
|
9
|
-
variant?: ButtonVariantProps["variant"];
|
|
10
|
-
color?: ButtonVariantProps["color"];
|
|
11
|
-
}
|
|
12
|
-
interface AlertDialogProps extends DialogProps {
|
|
13
|
-
heading: string;
|
|
14
|
-
description: string;
|
|
15
|
-
primaryAction: AlertDialogAction;
|
|
16
|
-
secondaryAction?: AlertDialogAction;
|
|
17
|
-
buttonSize?: ButtonVariantProps["size"];
|
|
18
|
-
textAlign?: "left" | "center" | "right";
|
|
19
|
-
titleTypography?: TypographyPropsCva;
|
|
20
|
-
titleClassName?: string;
|
|
21
|
-
descriptionTypography?: TypographyPropsCva;
|
|
22
|
-
descriptionClassName?: string;
|
|
23
|
-
}
|
|
24
|
-
declare const AlertDialog: ({ heading, description, primaryAction, secondaryAction, buttonSize, textAlign, dialogClassName, titleTypography, titleClassName, descriptionTypography, descriptionClassName, ...modalProps }: AlertDialogProps) => import("react").JSX.Element;
|
|
25
|
-
//#endregion
|
|
26
|
-
export { AlertDialogProps as n, AlertDialog as t };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { i as InputProps$1 } from "./Input-CTp_9mS9.js";
|
|
2
|
-
import { InputProps, Key } from "react-aria-components";
|
|
3
|
-
//#region src/components/inputs/Selection/Autocomplete/Autocomplete.d.ts
|
|
4
|
-
interface AutocompleteItem {
|
|
5
|
-
id: Key;
|
|
6
|
-
label: string;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
}
|
|
9
|
-
/** Text entry with optional suggestions. Values are text, never suggestion IDs. */
|
|
10
|
-
interface AutocompleteProps extends Omit<InputProps$1, "type" | "renderStaticInput" | "autoFocusOnMount" | "spellCheck" | "validationState"> {
|
|
11
|
-
field?: never;
|
|
12
|
-
items: AutocompleteItem[];
|
|
13
|
-
spellCheck?: InputProps["spellCheck"];
|
|
14
|
-
/** Disable local filtering when suggestions are already filtered by a server. */
|
|
15
|
-
isClientSearchDisabled?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare function AutocompleteInner({ items, ref, value, defaultValue, onChange, onBlur, isClientSearchDisabled, inputClassName, label, error: errorProp, errorMessage, helperText, className, tooltipText, isRequired: isRequiredProp, required, rightContent, headerClassName, errorClassName, isHeaderHidden, isDisabled: isDisabledProp, disabled, isReadOnly, isInvalid, validationBehavior, validate, isDirty, as: asProp, layout: layoutProp, hideLabel: hideLabelProp, variant: variantProp, size: sizeProp, isClearable: isClearableProp, isClearableIfDisabled, unit, isLoading, action, leadingIcon, trailingIcon, placeholder, ...rest }: AutocompleteProps): import("react").JSX.Element;
|
|
18
|
-
declare const AutocompleteComponent: (props: AutocompleteProps & {
|
|
19
|
-
field?: never;
|
|
20
|
-
}) => import("react").JSX.Element;
|
|
21
|
-
declare const Autocomplete: import("react").MemoExoticComponent<typeof AutocompleteComponent>;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { AutocompleteProps as a, AutocompleteItem as i, AutocompleteComponent as n, AutocompleteInner as r, Autocomplete as t };
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
|
-
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
-
import { l as $542a13ca2fa5b484$export$5b6b19405a83ff9d } from "./Dialog-C9H9_BmK.js";
|
|
4
|
-
import { t as $dbdc5e6e7ce01b4b$export$72b9695b8216309a } from "./ComboBox-ChsdI0lt.js";
|
|
5
|
-
import { n as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "./Input-BG0Xjw5X.js";
|
|
6
|
-
import { i as $928221da08ecbc62$export$a11e76429ed99b4, t as $928221da08ecbc62$export$41f133550aa26f48 } from "./ListBox-DhR5kojP.js";
|
|
7
|
-
import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
|
|
8
|
-
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
9
|
-
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
10
|
-
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
11
|
-
import { t as inputBaseDefinition } from "./input.cva-DZii82eS.js";
|
|
12
|
-
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
13
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-BSY31JMc.js";
|
|
14
|
-
import { t as popoverDefinition } from "./popover.cva-DAbfSma6.js";
|
|
15
|
-
import { t as InputContent } from "./InputContent-Fx2E4UXl.js";
|
|
16
|
-
import { t as selectListBoxItemDefinition } from "./selectItem.cva-B6vxey2R.js";
|
|
17
|
-
import { memo, useId, useRef, useState } from "react";
|
|
18
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
19
|
-
//#region src/components/inputs/Selection/Autocomplete/Autocomplete.tsx
|
|
20
|
-
function AutocompleteInner({ items, ref, value, defaultValue = "", onChange, onBlur, isClientSearchDisabled, inputClassName, label, error: errorProp, errorMessage, helperText, className, tooltipText, isRequired: isRequiredProp, required, rightContent, headerClassName, errorClassName, isHeaderHidden, isDisabled: isDisabledProp, disabled, isReadOnly, isInvalid, validationBehavior, validate, isDirty, as: asProp, layout: layoutProp, hideLabel: hideLabelProp, variant: variantProp, size: sizeProp, isClearable: isClearableProp, isClearableIfDisabled, unit, isLoading, action, leadingIcon, trailingIcon, placeholder, ...rest }) {
|
|
21
|
-
const ui = UIConfig.useConfig();
|
|
22
|
-
const isDisabled = isDisabledProp ?? disabled;
|
|
23
|
-
const isRequired = isRequiredProp ?? required;
|
|
24
|
-
const error = errorMessage ?? errorProp;
|
|
25
|
-
const generatedId = useId();
|
|
26
|
-
const inputId = rest.id ?? generatedId;
|
|
27
|
-
const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
|
|
28
|
-
const popoverCva = UIOverrides.useCva("popover.cva", popoverDefinition);
|
|
29
|
-
const itemCva = UIOverrides.useCva("select.listBoxItemCva", selectListBoxItemDefinition);
|
|
30
|
-
const [uncontrolledValue, setUncontrolledValue] = useState(defaultValue);
|
|
31
|
-
const inputValue = value ?? uncontrolledValue;
|
|
32
|
-
const inputRef = useRef(null);
|
|
33
|
-
const as = resolveInputLayout(layoutProp, asProp, ui.input.as);
|
|
34
|
-
const hideLabel = hideLabelProp ?? ui.input.hideLabel;
|
|
35
|
-
const variant = variantProp ?? ui.input.variant;
|
|
36
|
-
const size = sizeProp ?? ui.input.size;
|
|
37
|
-
const isClearable = isClearableProp ?? ui.input.isClearable;
|
|
38
|
-
const { describedBy, errorMessageId, helperTextId } = useFieldAccessibility({
|
|
39
|
-
describedBy: rest["aria-describedby"],
|
|
40
|
-
error,
|
|
41
|
-
helperText
|
|
42
|
-
});
|
|
43
|
-
const changeText = (text) => {
|
|
44
|
-
if (isReadOnly || isDisabled) return;
|
|
45
|
-
if (value === void 0) setUncontrolledValue(text);
|
|
46
|
-
onChange?.(text);
|
|
47
|
-
};
|
|
48
|
-
const fieldProps = {
|
|
49
|
-
label,
|
|
50
|
-
error,
|
|
51
|
-
helperText,
|
|
52
|
-
tooltipText,
|
|
53
|
-
isRequired,
|
|
54
|
-
rightContent,
|
|
55
|
-
headerClassName,
|
|
56
|
-
errorClassName,
|
|
57
|
-
isDisabled,
|
|
58
|
-
hideLabel,
|
|
59
|
-
errorMessageId,
|
|
60
|
-
helperTextId,
|
|
61
|
-
labelProps: { htmlFor: inputId },
|
|
62
|
-
isHeaderHidden: isHeaderHidden || as === "inline" || as === "filter" || as === "floating"
|
|
63
|
-
};
|
|
64
|
-
return /* @__PURE__ */ jsxs($dbdc5e6e7ce01b4b$export$72b9695b8216309a, {
|
|
65
|
-
allowsCustomValue: true,
|
|
66
|
-
defaultItems: items,
|
|
67
|
-
...isClientSearchDisabled ? { items } : {},
|
|
68
|
-
inputValue,
|
|
69
|
-
onInputChange: changeText,
|
|
70
|
-
isDisabled,
|
|
71
|
-
isReadOnly,
|
|
72
|
-
isRequired,
|
|
73
|
-
isInvalid: !!error || isInvalid,
|
|
74
|
-
validationBehavior,
|
|
75
|
-
validate: validate ? ({ inputValue }) => validate(inputValue) : void 0,
|
|
76
|
-
"aria-label": rest["aria-label"] ?? label,
|
|
77
|
-
className: clsx("group w-full", className),
|
|
78
|
-
children: [/* @__PURE__ */ jsx(TooltipWrapper, {
|
|
79
|
-
as,
|
|
80
|
-
error,
|
|
81
|
-
children: /* @__PURE__ */ jsx(FormField, {
|
|
82
|
-
...fieldProps,
|
|
83
|
-
as,
|
|
84
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
85
|
-
className: clsx("relative flex cursor-text has-disabled:cursor-default", inputBaseCva({
|
|
86
|
-
variant,
|
|
87
|
-
as
|
|
88
|
-
}), inputClassName),
|
|
89
|
-
"data-is-empty": !inputValue || void 0,
|
|
90
|
-
"data-is-disabled": isDisabled || void 0,
|
|
91
|
-
"data-is-required": isRequired || void 0,
|
|
92
|
-
children: /* @__PURE__ */ jsx(InputContent, {
|
|
93
|
-
inputRef,
|
|
94
|
-
isReadOnly,
|
|
95
|
-
unit,
|
|
96
|
-
isLoading,
|
|
97
|
-
isDisabled,
|
|
98
|
-
action,
|
|
99
|
-
leadingIcon,
|
|
100
|
-
trailingIcon,
|
|
101
|
-
isClearable: isClearable && !isReadOnly,
|
|
102
|
-
isClearableIfDisabled,
|
|
103
|
-
value: inputValue,
|
|
104
|
-
onChange: changeText,
|
|
105
|
-
headerProps: {
|
|
106
|
-
...fieldProps,
|
|
107
|
-
isHeaderHidden: hideLabel || isHeaderHidden
|
|
108
|
-
},
|
|
109
|
-
as,
|
|
110
|
-
size,
|
|
111
|
-
children: /* @__PURE__ */ jsx($41fb335299a4a39e$export$f5b8910cec6cf069, {
|
|
112
|
-
...rest,
|
|
113
|
-
id: inputId,
|
|
114
|
-
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, inputRef),
|
|
115
|
-
onBlur,
|
|
116
|
-
"aria-describedby": describedBy,
|
|
117
|
-
"aria-errormessage": errorMessageId,
|
|
118
|
-
placeholder: as === "floating" ? "\xA0" : placeholder,
|
|
119
|
-
"data-is-filled": !!inputValue || void 0,
|
|
120
|
-
"data-is-dirty": isDirty || void 0,
|
|
121
|
-
className: "min-w-0 w-full bg-transparent outline-none"
|
|
122
|
-
})
|
|
123
|
-
})
|
|
124
|
-
})
|
|
125
|
-
})
|
|
126
|
-
}), /* @__PURE__ */ jsx($542a13ca2fa5b484$export$5b6b19405a83ff9d, {
|
|
127
|
-
className: popoverCva({}),
|
|
128
|
-
style: { width: "var(--trigger-width)" },
|
|
129
|
-
children: /* @__PURE__ */ jsx($928221da08ecbc62$export$41f133550aa26f48, {
|
|
130
|
-
className: "max-h-72 overflow-auto outline-none",
|
|
131
|
-
children: (item) => /* @__PURE__ */ jsx($928221da08ecbc62$export$a11e76429ed99b4, {
|
|
132
|
-
id: item.id,
|
|
133
|
-
textValue: item.label,
|
|
134
|
-
isDisabled: item.isDisabled,
|
|
135
|
-
className: itemCva({ isSingle: true }),
|
|
136
|
-
children: item.label
|
|
137
|
-
})
|
|
138
|
-
})
|
|
139
|
-
})]
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
const AutocompleteComponent = (props) => /* @__PURE__ */ jsx(AutocompleteInner, { ...props });
|
|
143
|
-
const Autocomplete = memo(AutocompleteComponent);
|
|
144
|
-
//#endregion
|
|
145
|
-
export { AutocompleteInner as n, Autocomplete as t };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { a as AutocompleteProps$1 } from "./Autocomplete-BgFz3kuR.js";
|
|
2
|
-
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
|
-
//#region src/components/inputs/Selection/Autocomplete/Autocomplete.bound.d.ts
|
|
4
|
-
type ControlledAutocompleteProps<TFieldValues extends FieldValues> = FormControlProps<AutocompleteProps$1, TFieldValues>;
|
|
5
|
-
type AutocompleteProps<TFieldValues extends FieldValues = FieldValues> = ControlledAutocompleteProps<TFieldValues>;
|
|
6
|
-
declare function AutocompleteComponent<TFieldValues extends FieldValues>(props: ControlledAutocompleteProps<TFieldValues>): import("react").JSX.Element;
|
|
7
|
-
declare const Autocomplete: typeof AutocompleteComponent;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { AutocompleteProps as n, ControlledAutocompleteProps as r, Autocomplete as t };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
3
|
-
import { n as AutocompleteInner } from "./Autocomplete-Bn13u0zu.js";
|
|
4
|
-
import { memo } from "react";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/inputs/Selection/Autocomplete/Autocomplete.bound.tsx
|
|
7
|
-
function AutocompleteComponent(props) {
|
|
8
|
-
const { field, ref, ...innerProps } = props;
|
|
9
|
-
return /* @__PURE__ */ jsx(FieldController, {
|
|
10
|
-
control: field.form,
|
|
11
|
-
name: field.name,
|
|
12
|
-
onValueChange: field.onValueChange,
|
|
13
|
-
onBlur: field.onBlur,
|
|
14
|
-
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(AutocompleteInner, {
|
|
15
|
-
...innerProps,
|
|
16
|
-
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
17
|
-
value: field.value ?? "",
|
|
18
|
-
onChange: field.onChange,
|
|
19
|
-
onBlur: field.onBlur,
|
|
20
|
-
isDirty,
|
|
21
|
-
isDisabled: field.disabled || props.isDisabled,
|
|
22
|
-
error: props.error ?? error?.message
|
|
23
|
-
})
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
const Autocomplete = memo(AutocompleteComponent);
|
|
27
|
-
//#endregion
|
|
28
|
-
export { Autocomplete as t };
|
package/dist/Badge-Db1ndK67.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { t as BadgeButtonVariants } from "./badgeButton.cva-CBFIhr1S.js";
|
|
2
|
-
import { n as TypographyProps } from "./Typography-DJojwiXV.js";
|
|
3
|
-
import { FC, Ref, SVGProps } from "react";
|
|
4
|
-
import { ButtonProps } from "react-aria-components";
|
|
5
|
-
//#region src/components/text/Badge/Badge.d.ts
|
|
6
|
-
interface BadgeProps extends BadgeButtonVariants {
|
|
7
|
-
className?: string;
|
|
8
|
-
children: string;
|
|
9
|
-
/** Preferred spelling. `dismissable` remains supported. */
|
|
10
|
-
dismissible?: boolean;
|
|
11
|
-
dismissable?: boolean;
|
|
12
|
-
isDisabled?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
/** Display the toggled appearance without making the badge interactive. */
|
|
15
|
-
isSelected?: boolean;
|
|
16
|
-
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
17
|
-
contentRef?: Ref<HTMLElement>;
|
|
18
|
-
textSize?: TypographyProps["size"];
|
|
19
|
-
/** Preferred callback name. */
|
|
20
|
-
onRemove?: () => void;
|
|
21
|
-
onDismiss?: () => void;
|
|
22
|
-
/** Props applied to the actual dismiss button, when one is rendered. */
|
|
23
|
-
dismissButtonProps?: Omit<ButtonProps, "children" | "onPress">;
|
|
24
|
-
excludeFromTabOrder?: boolean;
|
|
25
|
-
/** Compatibility callback for the historical button-like prop surface. */
|
|
26
|
-
onPress?: ButtonProps["onPress"];
|
|
27
|
-
}
|
|
28
|
-
declare const Badge: ({ className, children, dismissible, dismissable, isDisabled, disabled, isSelected, icon: Icon, onRemove, onDismiss, dismissButtonProps, excludeFromTabOrder, onPress, contentRef, variant, textSize: textSizeProp, ...appearanceProps }: BadgeProps) => import("react").JSX.Element;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { BadgeProps as n, Badge as t };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as BadgeButtonVariants } from "./badgeButton.cva-CBFIhr1S.js";
|
|
2
|
-
import { t as ButtonContentVariantProps } from "./buttonContent.cva-BapnODby.js";
|
|
3
|
-
import { FC, ReactNode, Ref, SVGProps } from "react";
|
|
4
|
-
import { ButtonProps, ToggleButtonProps } from "react-aria-components";
|
|
5
|
-
//#region src/components/buttons/BadgeButton/BadgeButton.d.ts
|
|
6
|
-
interface BadgeButtonProps extends ButtonProps, Omit<ToggleButtonProps, keyof ButtonProps>, ButtonContentVariantProps, BadgeButtonVariants {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
dismissable?: boolean;
|
|
9
|
-
toggle?: boolean;
|
|
10
|
-
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
11
|
-
contentRef?: Ref<HTMLElement>;
|
|
12
|
-
}
|
|
13
|
-
declare const BadgeButton: ({ children, dismissable, toggle, icon, iconPosition, contentRef, ...props }: BadgeButtonProps) => import("react").JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { BadgeButtonProps as n, BadgeButton as t };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { t as TypographyVariantProps } from "./typography.cva-BCHlTHdM.js";
|
|
2
|
-
import { ReactNode, RefObject } from "react";
|
|
3
|
-
//#region src/components/overlays/BottomSheet/BottomSheet.d.ts
|
|
4
|
-
type BottomSheetState = "closed" | "opening" | "opened" | "closing";
|
|
5
|
-
interface BottomSheetBaseProps {
|
|
6
|
-
isOpen?: boolean;
|
|
7
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
8
|
-
onStateChange?: (state: BottomSheetState) => void;
|
|
9
|
-
isDismissable?: boolean;
|
|
10
|
-
isScrollable?: boolean;
|
|
11
|
-
hideHeader?: boolean;
|
|
12
|
-
hideThumb?: boolean;
|
|
13
|
-
height?: "auto" | "full";
|
|
14
|
-
label?: string;
|
|
15
|
-
portalContainerRef?: RefObject<HTMLElement>;
|
|
16
|
-
children: ReactNode | ((close: () => void) => ReactNode);
|
|
17
|
-
footer?: ReactNode;
|
|
18
|
-
sheetMarginTop?: number;
|
|
19
|
-
sheetMarginBottom?: number;
|
|
20
|
-
/** Min downward drag distance (px) to allow close on release. Increase to require a longer drag. */
|
|
21
|
-
closeDragThreshold?: number;
|
|
22
|
-
/** Min downward velocity to close on flick. Increase to require a more intentional swipe. */
|
|
23
|
-
closeVelocityThreshold?: number;
|
|
24
|
-
shouldCloseOnInteractOutside?: () => boolean;
|
|
25
|
-
containerClassName?: string;
|
|
26
|
-
overlayClassName?: string;
|
|
27
|
-
headerTypography?: TypographyVariantProps;
|
|
28
|
-
}
|
|
29
|
-
interface BottomSheetProps extends BottomSheetBaseProps {
|
|
30
|
-
trigger?: ReactNode;
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
export { BottomSheetProps as t };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { n as LinkNavigationProps } from "./Link-PvYB_M-j.js";
|
|
2
|
-
import { n as ButtonVariantProps } from "./button.cva-C8LGtNJ3.js";
|
|
3
|
-
import { t as ButtonContentVariantProps } from "./buttonContent.cva-BapnODby.js";
|
|
4
|
-
import { FC, ReactElement, ReactNode, Ref, SVGProps } from "react";
|
|
5
|
-
import { ButtonProps as ButtonProps$1, ToggleButtonProps as ToggleButtonProps$1 } from "react-aria-components";
|
|
6
|
-
//#region src/components/buttons/shared/ButtonBase.d.ts
|
|
7
|
-
type ButtonIconProps = {
|
|
8
|
-
icon?: FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
9
|
-
};
|
|
10
|
-
type ButtonAppearanceProps = Omit<ButtonVariantProps, "width"> & {
|
|
11
|
-
/** Standard boolean alternative to `width="fill"`. */
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
width?: ButtonVariantProps["width"];
|
|
14
|
-
};
|
|
15
|
-
type ButtonSharedProps = ButtonAppearanceProps & Omit<ButtonContentVariantProps, "size"> & ButtonIconProps & {
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
ref?: Ref<HTMLButtonElement | HTMLAnchorElement>;
|
|
18
|
-
isLoading?: boolean;
|
|
19
|
-
/** Standard alias for `isLoading`. */
|
|
20
|
-
loading?: boolean;
|
|
21
|
-
link?: LinkNavigationProps;
|
|
22
|
-
/** Prefer this positive form over `noDisableWhenLoading`. */
|
|
23
|
-
disableWhileLoading?: boolean;
|
|
24
|
-
noDisableWhenLoading?: boolean;
|
|
25
|
-
iconClassName?: string;
|
|
26
|
-
contentRef?: Ref<HTMLElement>;
|
|
27
|
-
/** Standard icon placement props. `icon` and `iconPosition` remain supported. */
|
|
28
|
-
startIcon?: FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
29
|
-
endIcon?: FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
30
|
-
};
|
|
31
|
-
//#endregion
|
|
32
|
-
export { ToggleButtonProps$1 as n, ButtonProps$1 as r, ButtonSharedProps as t };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { t as FormFieldErrorProps } from "./FormFieldError-BT4uxbKY.js";
|
|
2
|
-
import { t as CheckboxVariantProps } from "./checkbox.cva-CCh_UlrC.js";
|
|
3
|
-
import { ComponentType, ReactNode, Ref, SVGProps } from "react";
|
|
4
|
-
import { CheckboxProps } from "react-aria-components";
|
|
5
|
-
//#region src/components/inputs/Checkbox/Checkbox.d.ts
|
|
6
|
-
interface CheckboxBaseProps extends FormFieldErrorProps, CheckboxVariantProps, Omit<CheckboxProps, "className"> {
|
|
7
|
-
ref?: Ref<HTMLLabelElement>;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
hideLabel?: boolean;
|
|
10
|
-
hideError?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
fireBlurOnChange?: boolean;
|
|
13
|
-
selectedIcon?: ComponentType<SVGProps<SVGSVGElement>>;
|
|
14
|
-
indeterminateIcon?: ComponentType<SVGProps<SVGSVGElement>>;
|
|
15
|
-
isDirty?: boolean;
|
|
16
|
-
labelClassName?: string;
|
|
17
|
-
}
|
|
18
|
-
declare const CheckboxBase: (props: CheckboxBaseProps) => import("react").JSX.Element;
|
|
19
|
-
type CheckboxProps$1 = CheckboxBaseProps & {
|
|
20
|
-
field?: never;
|
|
21
|
-
};
|
|
22
|
-
declare const CheckboxComponent: (props: CheckboxProps$1 & {
|
|
23
|
-
field?: never;
|
|
24
|
-
}) => import("react").JSX.Element;
|
|
25
|
-
declare const Checkbox: import("react").MemoExoticComponent<typeof CheckboxComponent>;
|
|
26
|
-
//#endregion
|
|
27
|
-
export { CheckboxProps$1 as a, CheckboxComponent as i, CheckboxBase as n, CheckboxBaseProps as r, Checkbox as t };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { n as CheckboxBase } from "./Checkbox-Bjsbx-wK.js";
|
|
2
|
-
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
|
-
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
4
|
-
import { memo } from "react";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/inputs/Checkbox/Checkbox.bound.tsx
|
|
7
|
-
const CheckboxComponent = (props) => {
|
|
8
|
-
const { field, ref, ...innerProps } = props;
|
|
9
|
-
return /* @__PURE__ */ jsx(FieldController, {
|
|
10
|
-
control: field.form,
|
|
11
|
-
name: field.name,
|
|
12
|
-
onValueChange: field.onValueChange,
|
|
13
|
-
onBlur: field.onBlur,
|
|
14
|
-
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(CheckboxBase, {
|
|
15
|
-
...innerProps,
|
|
16
|
-
fireBlurOnChange: false,
|
|
17
|
-
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
18
|
-
isSelected: field.value ?? false,
|
|
19
|
-
onChange: (value) => {
|
|
20
|
-
field.onChange(value);
|
|
21
|
-
field.onValueCommit();
|
|
22
|
-
},
|
|
23
|
-
onBlur: field.onBlur,
|
|
24
|
-
name: field.name,
|
|
25
|
-
isDirty,
|
|
26
|
-
isDisabled: field.disabled || props.isDisabled,
|
|
27
|
-
error: props.error ?? error?.message
|
|
28
|
-
})
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
const Checkbox = memo(CheckboxComponent);
|
|
32
|
-
//#endregion
|
|
33
|
-
export { Checkbox as t };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { a as CheckboxProps$1 } from "./Checkbox-w2j5hLOQ.js";
|
|
2
|
-
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
|
-
//#region src/components/inputs/Checkbox/Checkbox.bound.d.ts
|
|
4
|
-
type ControlledCheckboxProps<TFieldValues extends FieldValues> = FormControlProps<CheckboxProps$1, TFieldValues, "isSelected">;
|
|
5
|
-
type CheckboxProps<TFieldValues extends FieldValues = FieldValues> = ControlledCheckboxProps<TFieldValues>;
|
|
6
|
-
declare const CheckboxComponent: <TFieldValues extends FieldValues>(props: ControlledCheckboxProps<TFieldValues>) => import("react").JSX.Element;
|
|
7
|
-
declare const Checkbox: typeof CheckboxComponent;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { CheckboxProps as n, ControlledCheckboxProps as r, Checkbox as t };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
2
|
-
import { i as checkboxDefinition, o as checkboxIconDefinition } from "./checkbox.cva-aLJS7v4z.js";
|
|
3
|
-
import { Check, Minus } from "lucide-react";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
//#region src/components/inputs/Checkbox/CheckboxCheckmark.tsx
|
|
6
|
-
const CheckboxCheckmark = ({ variant, className, selectedIcon: SelectedIcon = Check, indeterminateIcon: IndeterminateIcon = Minus, ...props }) => {
|
|
7
|
-
const checkboxCva = UIOverrides.useCva("checkbox.cva", checkboxDefinition);
|
|
8
|
-
const checkboxIconCva = UIOverrides.useCva("checkbox.iconCva", checkboxIconDefinition);
|
|
9
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
10
|
-
className: checkboxCva({
|
|
11
|
-
variant,
|
|
12
|
-
...props,
|
|
13
|
-
className
|
|
14
|
-
}),
|
|
15
|
-
children: [/* @__PURE__ */ jsx(SelectedIcon, { className: checkboxIconCva({
|
|
16
|
-
...props,
|
|
17
|
-
iconVariant: "selected"
|
|
18
|
-
}) }), /* @__PURE__ */ jsx(IndeterminateIcon, { className: checkboxIconCva({
|
|
19
|
-
...props,
|
|
20
|
-
iconVariant: "indeterminate"
|
|
21
|
-
}) })]
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
//#endregion
|
|
25
|
-
export { CheckboxCheckmark as t };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { n as FormFieldProps } from "./FormField-DGyCDxOp.js";
|
|
2
|
-
import { n as InputVariantProps } from "./input.cva-BjuHsDGy.js";
|
|
3
|
-
import { t as CheckboxVariantProps } from "./checkbox.cva-CCh_UlrC.js";
|
|
4
|
-
import { ReactElement, Ref } from "react";
|
|
5
|
-
import { CheckboxGroupProps } from "react-aria-components";
|
|
6
|
-
//#region src/components/inputs/Checkbox/CheckboxGroup.d.ts
|
|
7
|
-
interface CheckboxGroupBaseProps extends Omit<FormFieldProps, "variant">, CheckboxVariantProps, Omit<InputVariantProps, "variant">, Omit<CheckboxGroupProps, "children" | "className" | "defaultValue" | "label" | "onChange" | "value"> {
|
|
8
|
-
ref?: Ref<HTMLDivElement>;
|
|
9
|
-
options: {
|
|
10
|
-
label: string | ReactElement;
|
|
11
|
-
value: string;
|
|
12
|
-
}[];
|
|
13
|
-
allValue?: string[] | null;
|
|
14
|
-
value?: string[] | null;
|
|
15
|
-
defaultValue?: string[] | null;
|
|
16
|
-
onChange?: (value: string[] | null) => void;
|
|
17
|
-
isDirty?: boolean;
|
|
18
|
-
inputClassName?: string;
|
|
19
|
-
labelClassName?: string;
|
|
20
|
-
}
|
|
21
|
-
declare const CheckboxGroupBase: (props: CheckboxGroupBaseProps) => import("react").JSX.Element;
|
|
22
|
-
interface CheckboxGroupProps$1 extends CheckboxGroupBaseProps {
|
|
23
|
-
field?: never;
|
|
24
|
-
}
|
|
25
|
-
declare const CheckboxGroupComponent: (props: CheckboxGroupProps$1 & {
|
|
26
|
-
field?: never;
|
|
27
|
-
}) => import("react").JSX.Element;
|
|
28
|
-
declare const CheckboxGroup: import("react").MemoExoticComponent<typeof CheckboxGroupComponent>;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { CheckboxGroupProps$1 as i, CheckboxGroupBase as n, CheckboxGroupComponent as r, CheckboxGroup as t };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
3
|
-
import { n as CheckboxGroupBase } from "./CheckboxGroup-B3O3IUiu.js";
|
|
4
|
-
import { memo } from "react";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/inputs/Checkbox/CheckboxGroup.bound.tsx
|
|
7
|
-
const CheckboxGroupComponent = (props) => {
|
|
8
|
-
const { field, ref, ...innerProps } = props;
|
|
9
|
-
return /* @__PURE__ */ jsx(FieldController, {
|
|
10
|
-
control: field.form,
|
|
11
|
-
name: field.name,
|
|
12
|
-
onValueChange: field.onValueChange,
|
|
13
|
-
onBlur: field.onBlur,
|
|
14
|
-
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(CheckboxGroupBase, {
|
|
15
|
-
...innerProps,
|
|
16
|
-
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
17
|
-
value: field.value ?? [],
|
|
18
|
-
onChange: (value) => {
|
|
19
|
-
field.onChange(value);
|
|
20
|
-
field.onValueCommit();
|
|
21
|
-
},
|
|
22
|
-
onBlur: field.onBlur,
|
|
23
|
-
name: field.name,
|
|
24
|
-
isDirty,
|
|
25
|
-
isDisabled: field.disabled || props.isDisabled,
|
|
26
|
-
error: props.error ?? error?.message
|
|
27
|
-
})
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
const CheckboxGroup = memo(CheckboxGroupComponent);
|
|
31
|
-
//#endregion
|
|
32
|
-
export { CheckboxGroup as t };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { i as CheckboxGroupProps$1 } from "./CheckboxGroup-BYI15Y09.js";
|
|
2
|
-
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
3
|
-
//#region src/components/inputs/Checkbox/CheckboxGroup.bound.d.ts
|
|
4
|
-
type ControlledCheckboxGroupProps<TFieldValues extends FieldValues> = FormControlProps<CheckboxGroupProps$1, TFieldValues>;
|
|
5
|
-
type CheckboxGroupProps<TFieldValues extends FieldValues = FieldValues> = ControlledCheckboxGroupProps<TFieldValues>;
|
|
6
|
-
declare const CheckboxGroupComponent: <TFieldValues extends FieldValues>(props: ControlledCheckboxGroupProps<TFieldValues>) => import("react").JSX.Element;
|
|
7
|
-
declare const CheckboxGroup: typeof CheckboxGroupComponent;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { CheckboxGroupProps as n, ControlledCheckboxGroupProps as r, CheckboxGroup as t };
|