@povio/ui 4.0.3 → 5.0.0-rc.10
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/.rulesync/rules/ui-buttons-and-content.md +56 -0
- package/.rulesync/rules/ui-inputs-and-forms.md +62 -0
- package/.rulesync/rules/ui-overlays-navigation-and-styling.md +49 -0
- package/.rulesync/rules/ui-overview.md +33 -0
- package/README.md +128 -10
- package/dist/{Accordion-CB1F5YAY.js → Accordion-BzwO4_ml.js} +22 -140
- package/dist/{Alert-BALBsBrP.js → Alert-CnvEb1D_.js} +34 -30
- package/dist/{Alert-CbEhRaU5.d.ts → Alert-DfiJbKH0.d.ts} +4 -3
- package/dist/{AlertDialog-PjYM6lDo.d.ts → AlertDialog-OWTbR4km.d.ts} +3 -3
- package/dist/AppCanvasPage-BEER5hHp.js +2421 -0
- package/dist/AppCanvasPage-BIFYeEeS.d.ts +80 -0
- package/dist/{Autocomplete-DE2lQi5o.d.ts → Autocomplete-C6RRxImn.d.ts} +1 -1
- package/dist/{Badge-CjPpYa50.d.ts → Badge-CBNpj823.d.ts} +8 -6
- package/dist/BadgeButton-Ccgt3oGO.d.ts +15 -0
- package/dist/{BottomSheet-CVTF1wQe.js → BottomSheet-BXLE3161.js} +15 -14
- package/dist/{BottomSheet-CT0zuola.d.ts → BottomSheet-DbQuzfAB.d.ts} +1 -1
- package/dist/{BottomSheet.lazy-7AwnB4vS.d.ts → BottomSheet.lazy-D9LCEo7s.d.ts} +1 -1
- package/dist/{Breadcrumbs-D-3YEuem.d.ts → Breadcrumbs-CUV6CU8Q.d.ts} +1 -1
- package/dist/{Breadcrumbs-C-mZtdCc.js → Breadcrumbs-FF8hMfXd.js} +26 -42
- package/dist/Button-C5rv4Cr2.js +506 -0
- package/dist/{Button-DTNjsGx5.d.ts → Button-D-4qb0IR.d.ts} +3 -3
- package/dist/{ButtonContent-CohuJJzG.js → ButtonContent-c7lJayVQ.js} +12 -10
- package/dist/{Calendar-BYcN64W5.js → Calendar-DRHruqr_.js} +28 -20
- package/dist/{CheckContent-DzWpxKGq.js → CheckContent-D7sZPmzx.js} +4 -5
- package/dist/{Checkbox-DBV_Nxtq.js → Checkbox-D3f2Plbc.js} +6 -6
- package/dist/{Checkbox-CBybJbLm.d.ts → Checkbox-x2MuL477.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-DJue5Aej.js → CheckboxCheckmark-FwKjPVbV.js} +34 -55
- package/dist/{CheckboxGroup-4xoWgmxr.d.ts → CheckboxGroup-Dio2rvF5.d.ts} +3 -3
- package/dist/ComponentGallery-CMFrbwEN.js +3513 -0
- package/dist/{DatePicker-CjmXaZ9T.d.ts → DatePicker-1LJ2LqST.d.ts} +3 -3
- package/dist/{DatePicker-DGlMtlvy.js → DatePicker-xDEqzNJv.js} +12 -11
- package/dist/{DatePickerInput-Nj_rVUyU.js → DatePickerInput-B0fEeCOf.js} +27 -40
- package/dist/{DatePickerInput-CdCtVE9z.d.ts → DatePickerInput-ai4apf8B.d.ts} +3 -3
- package/dist/{DateRangePicker-D1kjkFfS.d.ts → DateRangePicker-Dfptit_Z.d.ts} +3 -3
- package/dist/{DateRangePicker-CE9XvAy9.js → DateRangePicker-DxuVhRaf.js} +25 -22
- package/dist/{DateTimePicker-CtUPjVp1.js → DateTimePicker-4N1Pka07.js} +11 -10
- package/dist/{DateTimePicker-CT_Pm3KB.d.ts → DateTimePicker-DpsfukpQ.d.ts} +3 -3
- package/dist/{Dialog-BE9BSDDl.js → Dialog-9manOgMA.js} +4 -4
- package/dist/{Dialog-CXoVeIkU.js → Dialog-CKLkS00H.js} +10 -2
- package/dist/{Dialog-DEbI_9S-.d.ts → Dialog-CW93T9X1.d.ts} +3 -2
- package/dist/{DropdownMenu-tuf1W-IL.js → DropdownMenu-5jmtgLXd.js} +8 -6
- package/dist/{DropdownMenu-CZQRzOBb.d.ts → DropdownMenu-JNpYT4-3.d.ts} +4 -3
- package/dist/{DropdownMenuDesktop-C9ttysuk.js → DropdownMenuDesktop-Cl9gZVq0.js} +9 -38
- package/dist/{FileInput-BUs7wL0_.js → FileInput-DUyc_sVu.js} +20 -22
- package/dist/{FileInput-CI8D_wf_.d.ts → FileInput-Dt3UDg2s.d.ts} +7 -6
- package/dist/{FileTrigger-CDXcQthK.js → FileTrigger-Cthk5_Wp.js} +1 -30
- package/dist/{FileUpload-BrnJdN3M.d.ts → FileUpload-BXlKtQ4L.d.ts} +1 -1
- package/dist/{FileUpload-C3HzeFeb.js → FileUpload-Cx98L1jz.js} +76 -173
- package/dist/{FileUploadContainer-CkBENy6n.d.ts → FileUploadContainer-BURZAS2M.d.ts} +1 -1
- package/dist/{Form-mzpVGNjX.d.ts → Form-DmcByQts.d.ts} +1 -1
- package/dist/{FormField-DTO2cbXC.js → FormField-9h3JAhaY.js} +40 -38
- package/dist/{FormField-DTDj3F0A.d.ts → FormField-C8_T6by9.d.ts} +1 -1
- package/dist/{FormFieldError-CFg0Wn3i.js → FormFieldError-DeOHHLo2.js} +3 -3
- package/dist/FormFieldHeaderTooltip-BV2Ju4oB.js +17 -0
- package/dist/{IconButton-CYazzM7I.d.ts → IconButton-D4thBurp.d.ts} +2 -2
- package/dist/IconSlot-DSK7qNxc.js +79 -0
- package/dist/{InlineIconButton-Rp5bXWcQ.d.ts → InlineIconButton-BeJCjl-q.d.ts} +2 -2
- package/dist/{InlineTooltipWrapper-Ct6zi24f.js → InlineTooltipWrapper-BpApaGXV.js} +3 -3
- package/dist/{Input-DSHFNEVl.d.ts → Input-CHD67H4o.d.ts} +3 -3
- package/dist/{InputContent-CvWm6GAv.d.ts → InputContent-B6CIQNnE.d.ts} +3 -3
- package/dist/{InputItem-DAunP0iy.js → InputItem-Cv19Hwnx.js} +11 -11
- package/dist/{Inputs-CHEDcuP0.d.ts → Inputs-C0sUmuPv.d.ts} +1 -1
- package/dist/{Inputs-_IqA6JRE.js → Inputs-D1aE_J9f.js} +1 -1
- package/dist/{Link-DS9-0Ijl.d.ts → Link-Ow9H7kNv.d.ts} +3 -2
- package/dist/{ListBox-B7DW1S7n.js → ListBox-CL8Ar4Q_.js} +5 -4
- package/dist/{MenuItem-CROWrE2A.d.ts → MenuItem-DHyqOqln.d.ts} +1 -1
- package/dist/{Modal-CoFt5PGP.js → Modal-w60dVQcb.js} +1 -1
- package/dist/{NumberField-BICDQ2gN.d.ts → NumberField-4SX3R6IR.d.ts} +3 -3
- package/dist/{NumberRangeInput-Bu-3Y0zf.js → NumberRangeInput-Bzfe-RlV.js} +8 -8
- package/dist/{NumberRangeInput-BlGXChNR.d.ts → NumberRangeInput-CKmLfgVD.d.ts} +2 -2
- package/dist/{Pagination-CumQED8X.d.ts → Pagination-CwQu5Py8.d.ts} +1 -1
- package/dist/{PaginationList-D79ApWLm.d.ts → PaginationList-DMRUGtf8.d.ts} +2 -2
- package/dist/{PaginationList-CmOJo2r2.js → PaginationList-DtvuP63b.js} +13 -21
- package/dist/{PasswordInput-BdrYD1D3.d.ts → PasswordInput-tLGcHS6H.d.ts} +1 -1
- package/dist/{Popover-C0_-TLl_.d.ts → Popover-BTHPteIh.d.ts} +2 -2
- package/dist/{Progress-_jkt2pQw.js → Progress-B3mY9rIP.js} +6 -7
- package/dist/{Progress-CYfDXJKs.d.ts → Progress-CjWOR38H.d.ts} +3 -2
- package/dist/{QuerySelect-Bpz-qI9h.d.ts → QuerySelect-CgfnA3d-.d.ts} +2 -2
- package/dist/{RadioGroup-WHWosz7K.d.ts → RadioGroup-CvmI9i_U.d.ts} +3 -3
- package/dist/{RadioGroup-DiF7ILto.js → RadioGroup-efBKgTYA.js} +21 -24
- package/dist/{RichTextEditor-eM9d2umr.js → RichTextEditor-Bd7F5D8f.js} +68 -141
- package/dist/{RichTextEditor-CbgjRfiU.d.ts → RichTextEditor-CsDZcgyf.d.ts} +1 -1
- package/dist/{Select-CyBtGHk9.js → Select-CgIhoWgk.js} +10 -15
- package/dist/{Select-wzB2aQ_X.d.ts → Select-DKBPfNUe.d.ts} +1 -1
- package/dist/{SelectBase-DefgAEzh.d.ts → SelectBase-BkIhS9Dg.d.ts} +3 -3
- package/dist/{Slider-CZMNmk6P.d.ts → Slider-BtUXzztJ.d.ts} +1 -1
- package/dist/{Slider-KkWtEm09.js → Slider-CMg0BXJO.js} +12 -12
- package/dist/{Spinner-owSXOEzg.js → Spinner-BeVTUzzx.js} +2 -2
- package/dist/{Spinner-BOgO9bS6.d.ts → Spinner-DbXeDOa2.d.ts} +3 -2
- package/dist/{SplitButton-BPZbQeYC.d.ts → SplitButton-D9ngY1rJ.d.ts} +3 -3
- package/dist/{Stepper-BbO9TlOM.js → Stepper-Cp5vbL5g.js} +9 -125
- package/dist/{Stepper-PcHlxDD5.d.ts → Stepper-TATlHZhQ.d.ts} +13 -12
- package/dist/{Switch-Cylpjatb.js → Switch-CqnGEdeD.js} +17 -25
- package/dist/{Switch-C0S5Juhf.d.ts → Switch-s_EPn0Jz.d.ts} +1 -1
- package/dist/Table-BN2_J_Ne.js +636 -0
- package/dist/Tag-AHfV_XSf.d.ts +44 -0
- package/dist/Tag-DPg5sL1Z.js +146 -0
- package/dist/{TextArea-CBWJ7w-p.d.ts → TextArea-D6kcAwGn.d.ts} +2 -2
- package/dist/{TextArea-DvqDGp4M.js → TextArea-uPffb457.js} +9 -9
- package/dist/{TextButton-D7e_YBLe.d.ts → TextButton-XUhV_1s0.d.ts} +4 -4
- package/dist/{TimePicker-WirUMDrH.js → TimePicker-DN-i98z5.js} +12 -12
- package/dist/{TimePicker-BZ4WrI5Z.d.ts → TimePicker-Dex9aU7D.d.ts} +2 -2
- package/dist/Toast-DtG3pA61.js +53 -0
- package/dist/{Toast-DIlYlUQk.d.ts → Toast-ruXqONDA.d.ts} +1 -1
- package/dist/{ToastContainer-8X5jGBe7.js → ToastContainer-qgpzMFD4.js} +4 -3
- package/dist/{ToggleButton-D4y2fLmN.d.ts → ToggleButton-7aP8Jb11.d.ts} +2 -2
- package/dist/{ToggleGroup-D9CFdM5-.d.ts → ToggleGroup-CRFDIPGZ.d.ts} +1 -1
- package/dist/{ToggleGroup-BK6Ka7WA.js → ToggleGroup-DmVPNWok.js} +27 -55
- package/dist/{Tooltip--PSxkQA3.js → Tooltip-CpG1nz7Y.js} +7 -49
- package/dist/{Tooltip-B-2AxyjP.d.ts → Tooltip-DHv6vAqW.d.ts} +10 -9
- package/dist/{TooltipWrapper-BVc_Aln-.js → TooltipWrapper-CDHFaUKZ.js} +5 -5
- package/dist/{Typography-AcUd9df8.js → Typography-LU4z2pR1.js} +2 -2
- package/dist/{Typography-BWmZd20e.d.ts → Typography-XljT9s02.d.ts} +1 -1
- package/dist/UIConfigurator-CTlq-hrG.js +6704 -0
- package/dist/accordion.cva-CL1bVscW.js +129 -0
- package/dist/{autocomplete-CaQSVRrw.d.ts → autocomplete-B-JuxTYN.d.ts} +2 -2
- package/dist/badgeButton.cva-B2bgCQP6.d.ts +41 -0
- package/dist/badgeButton.cva-CvN4CTx5.js +300 -0
- package/dist/breadcrumbs.cva-7zzdDhVR.js +27 -0
- package/dist/{button.cva-ChabF4Am.d.ts → button.cva-C7kEhgoA.d.ts} +15 -32
- package/dist/{buttonContent.cva-CP857foM.d.ts → buttonContent.cva-DPIlROA9.d.ts} +2 -2
- package/dist/{checkbox-D8CPWRlM.d.ts → checkbox-CRP4QRfP.d.ts} +1 -1
- package/dist/{checkbox-group-BuPUA_Qj.d.ts → checkbox-group-BI_RwIJ4.d.ts} +1 -1
- package/dist/{checkbox.cva-DwnPS5df.d.ts → checkbox.cva-DBqfmYHY.d.ts} +6 -7
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +7 -7
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +6 -5
- package/dist/components/badge-button.d.ts +2 -0
- package/dist/components/{pill-button.js → badge-button.js} +13 -12
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +56 -40
- 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 +1 -1
- package/dist/components/checkbox-group.js +6 -6
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- 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.js +4 -4
- package/dist/components/dropdown-menu.d.ts +2 -2
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/file-input.d.ts +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/icon-slot.d.ts +2 -0
- package/dist/components/icon-slot.js +2 -0
- package/dist/components/inline-icon-button.d.ts +1 -1
- package/dist/components/inline-icon-button.js +2 -2
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +7 -7
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +32 -1
- package/dist/components/number-field.d.ts +1 -1
- package/dist/components/number-field.js +7 -7
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +36 -33
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +6 -5
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/query-autocomplete.d.ts +2 -2
- package/dist/components/query-autocomplete.js +10 -5
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +3 -3
- package/dist/components/radio-group.d.ts +1 -1
- 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/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +3 -3
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-button.d.ts +1 -1
- package/dist/components/text-button.js +1 -2
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +2 -2
- package/dist/components/toast.js +2 -2
- 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.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/typography.js +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/components/use-toast.js +2 -2
- package/dist/config/app-canvas-tanstack.d.ts +23 -0
- package/dist/config/app-canvas-tanstack.js +62 -0
- package/dist/config/app-canvas.d.ts +12 -0
- package/dist/config/app-canvas.js +2 -0
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-configurator-theme.d.ts +2 -0
- package/dist/config/ui-configurator-theme.js +2 -0
- package/dist/config/ui-configurator-vite.d.ts +10 -0
- package/dist/config/ui-configurator-vite.js +174 -0
- package/dist/config/ui-configurator.d.ts +15 -0
- package/dist/config/ui-configurator.js +3 -0
- package/dist/config/ui-overrides.d.ts +1 -1
- package/dist/config/ui-overrides.js +1 -1
- package/dist/configuration.context-DP4p1cIe.d.ts +926 -0
- package/dist/{confirmation.context-fKfUTsLF.d.ts → confirmation.context-BOeEVczb.d.ts} +1 -1
- package/dist/{date-picker-MXt02b7Z.d.ts → date-picker-BhIA01qs.d.ts} +1 -1
- package/dist/{date-range-picker-BjT0t21q.d.ts → date-range-picker-BsuZ2h_3.d.ts} +1 -1
- package/dist/{date-time-picker-CMmIuZtT.d.ts → date-time-picker-Bi-qW6vO.d.ts} +1 -1
- package/dist/datePickerInput.cva-Cd7UUN61.js +14 -0
- package/dist/{datePickerValue.utils-1z4mwZZs.js → datePickerValue.utils-QWR2q5Vv.js} +9 -11
- package/dist/{dialog.cva-5qNq9YfM.js → dialog.cva-COhDZaVl.js} +4 -4
- package/dist/{dist-C6GfeeEC.js → dist-CAdwxJbe.js} +1 -256
- package/dist/{dom.utils-D3mELNBA.js → dom.utils-D1AopHx9.js} +1 -1
- package/dist/dropdownMenu.cva-DvEmX0bs.js +34 -0
- package/dist/{dynamicInputs-CQMTixlW.d.ts → dynamicInputs-DdcsSoYu.d.ts} +112 -111
- package/dist/{fieldAdapter-BYVPxvYi.js → fieldAdapter-DjYls12j.js} +1 -1
- package/dist/{file-input-D-46wS5j.d.ts → file-input-BTYsGgr7.d.ts} +1 -1
- package/dist/{file-upload-BG20Bhrn.d.ts → file-upload-CqGdt1Ue.d.ts} +2 -2
- package/dist/fileUpload.cva-ujmStxB1.js +42 -0
- package/dist/{fileUpload.types-xFzuCT_m.d.ts → fileUpload.types-rIGu4MgY.d.ts} +2 -2
- package/dist/iconSlot.cva-CnpFzAOR.d.ts +21 -0
- package/dist/icons.d.ts +2 -1
- package/dist/icons.js +2 -1
- package/dist/index.d.ts +87 -86
- package/dist/index.js +55 -44
- package/dist/info-iUmX3uDk.js +32 -0
- package/dist/{input-CKGPYwfB.d.ts → input-CqNMORk8.d.ts} +1 -1
- package/dist/{input.cva-ByFuAEIS.d.ts → input.cva-CQPV5gW7.d.ts} +6 -9
- package/dist/input.cva-CbMTwuQU.js +227 -0
- package/dist/{link.context-C5ZgwVM5.d.ts → link.context-D5qyz9Rf.d.ts} +1 -1
- package/dist/link.cva-DMTHZiJG.js +12 -0
- package/dist/{number-field-CyP6XgJh.d.ts → number-field-BcMnahI8.d.ts} +1 -1
- package/dist/{number-range-input-DMmlk7Bl.d.ts → number-range-input-CLfuacKv.d.ts} +1 -1
- package/dist/{password-input-BWpfQe0G.d.ts → password-input-BV1Amdc8.d.ts} +1 -1
- package/dist/popover.cva-Bhud1wnp.js +5 -0
- package/dist/popoverAnimation-DEZSvKP8.js +4 -0
- package/dist/{query-autocomplete-DV8fEkK2.d.ts → query-autocomplete-CJSJeSXW.d.ts} +2 -2
- package/dist/{query-select-BZ3-5WTu.d.ts → query-select-B-VLz1PW.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-Dm8Ttx4v.d.ts → queryAutocomplete.types-D2w1_hau.d.ts} +2 -2
- package/dist/{radio-group-CmUtsjqP.d.ts → radio-group-DZZdQMub.d.ts} +1 -1
- package/dist/{radio.cva-DAq2M13H.d.ts → radio.cva-DN9VQ3Kb.d.ts} +4 -3
- package/dist/rhf/autocomplete.d.ts +2 -2
- package/dist/rhf/autocomplete.js +1 -1
- package/dist/rhf/checkbox-group.d.ts +2 -2
- package/dist/rhf/checkbox-group.js +1 -1
- package/dist/rhf/checkbox.d.ts +2 -2
- package/dist/rhf/checkbox.js +2 -2
- package/dist/rhf/date-picker.d.ts +2 -2
- package/dist/rhf/date-picker.js +2 -2
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.js +2 -2
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.js +2 -2
- package/dist/rhf/file-input.d.ts +2 -2
- package/dist/rhf/file-input.js +2 -2
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/file-upload.js +2 -2
- package/dist/rhf/input.d.ts +2 -2
- package/dist/rhf/input.js +1 -1
- package/dist/rhf/inputs.d.ts +2 -2
- package/dist/rhf/number-field.d.ts +2 -2
- package/dist/rhf/number-field.js +1 -1
- package/dist/rhf/number-range-input.d.ts +2 -2
- package/dist/rhf/number-range-input.js +2 -2
- package/dist/rhf/password-input.d.ts +2 -2
- package/dist/rhf/password-input.js +1 -1
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-autocomplete.js +1 -1
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/query-select.js +1 -1
- package/dist/rhf/radio-group.d.ts +2 -2
- package/dist/rhf/radio-group.js +2 -2
- package/dist/rhf/rich-text-editor.d.ts +2 -2
- package/dist/rhf/rich-text-editor.js +2 -2
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/select.js +2 -2
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/slider.js +2 -2
- package/dist/rhf/switch.d.ts +2 -2
- package/dist/rhf/switch.js +2 -2
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-area.js +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/time-picker.js +2 -2
- package/dist/rhf/toggle-group.d.ts +2 -2
- package/dist/rhf/toggle-group.js +2 -2
- package/dist/{rhf-1_ZO8GhU.js → rhf-t348TCCL.js} +1 -1
- package/dist/rhf.d.ts +87 -86
- package/dist/rhf.js +55 -44
- package/dist/{rich-text-editor-Db3XWWFo.d.ts → rich-text-editor-Cp5dYHQI.d.ts} +1 -1
- package/dist/rich-text-editor.d.ts +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{select-DXGbGkZM.d.ts → select-FjDx5oe4.d.ts} +2 -2
- package/dist/selectDesktop.cva-CHAMxhfO.js +69 -0
- package/dist/{slider-JQh0ypfU.d.ts → slider-BVJiBswZ.d.ts} +1 -1
- package/dist/{staticDateTimeSegments-vP2f1woD.js → staticDateTimeSegments-BWea3HAt.js} +34 -33
- package/dist/{staticSelect.utils-DOt6f-ck.js → staticSelect.utils-BfTCi26B.js} +41 -92
- package/dist/stepper.cva-CZ0Kj-s7.js +116 -0
- package/dist/style-merge.util-zLimKwt6.d.ts +40 -0
- package/dist/styles/app-canvas.css +740 -0
- package/dist/styles/color-utilities.css +20 -0
- package/dist/styles/configurator.css +3280 -0
- package/dist/styles/editor.css +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/{switch-Lm3xl1rQ.d.ts → switch-C--iWnY8.d.ts} +1 -1
- package/dist/switch.cva-CWNzmdRc.d.ts +16 -0
- package/dist/table.cva-D5oQ-QvA.js +101 -0
- package/dist/tanstack/autocomplete.d.ts +1 -1
- package/dist/tanstack/checkbox-group.d.ts +1 -1
- package/dist/tanstack/checkbox.d.ts +1 -1
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.d.ts +1 -1
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-input.d.ts +1 -1
- package/dist/tanstack/file-input.js +1 -1
- package/dist/tanstack/file-upload.d.ts +2 -2
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +1 -1
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/input.d.ts +1 -1
- package/dist/tanstack/inputs.d.ts +3 -3
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-field.d.ts +1 -1
- package/dist/tanstack/number-range-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/query-select.d.ts +1 -1
- package/dist/tanstack/radio-group.d.ts +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/rich-text-editor.d.ts +1 -1
- package/dist/tanstack/rich-text-editor.js +1 -1
- package/dist/tanstack/select.d.ts +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/switch.d.ts +1 -1
- package/dist/tanstack/switch.js +1 -1
- package/dist/tanstack/table.d.ts +1 -1
- package/dist/tanstack/table.js +2 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle-group.d.ts +2 -2
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/tanstack.d.ts +71 -70
- package/dist/tanstack.js +66 -53
- package/dist/{text-area-I5MNcGp_.d.ts → text-area-DhSVRB6X.d.ts} +1 -1
- package/dist/theme-model-DtYPxNvH.js +406 -0
- package/dist/theme-model-T1zIdBg8.d.ts +12 -0
- package/dist/{time-picker-DdhW8GmD.d.ts → time-picker-DhnDKh97.d.ts} +1 -1
- package/dist/{toast.cva-LU7TGprV.d.ts → toast.cva-By5lvAfr.d.ts} +10 -9
- package/dist/toast.cva-C_L_RffH.js +163 -0
- package/dist/{toast.runtime-QMYrNvoQ.js → toast.runtime-cxex9e4E.js} +2 -1
- package/dist/{toggle-group-CPkKHm1t.d.ts → toggle-group-C1nMDOwz.d.ts} +1 -1
- package/dist/toggleGroup.cva-MbpaEBg1.js +35 -0
- package/dist/{toggleGroup.types-DD6uRI5G.d.ts → toggleGroup.types-Bp43zbSQ.d.ts} +2 -1
- package/dist/tooltip.cva-BIzlOXHH.js +48 -0
- package/dist/{tooltipWrapper.cva-CUu8pI-a.js → tooltipWrapper.cva-BBQ4ic3D.js} +1 -1
- package/dist/typography.cva-D1JOEYl-.d.ts +36 -0
- package/dist/typography.cva-iD15k56p.js +51 -0
- package/dist/{uiConfig.context-RFvaQYzD.js → uiConfig.context-BS3r_kTS.js} +12 -21
- package/dist/{uiConfig.context-CIoMqe1_.d.ts → uiConfig.context-BqKWd_MO.d.ts} +11 -12
- package/dist/{uiOverrides.context-Bfm2n-n8.js → uiOverrides.context-BTCH9y5a.js} +2 -2
- package/dist/{uiOverrides.context-C3xb4Ttq.d.ts → uiOverrides.context-DEp139He.d.ts} +11 -44
- package/dist/underline-66hmELxa.js +81 -0
- package/dist/upload-CXU83BJ4.js +30 -0
- package/dist/{useBreakpoint-3kpqzjoC.js → useBreakpoint-DQoMN-BG.js} +1 -1
- package/dist/{useFieldAccessibility-BTs_WC_5.js → useFieldAccessibility-B-bjtrNw.js} +18 -12
- package/dist/{useFormAutosave-BRlM0nmq.js → useFormAutosave-pmh35PXp.js} +2 -2
- package/dist/{useStaticInputHandoff-_stbpoX4.js → useStaticInputHandoff-B7DEm75m.js} +18 -16
- package/dist/useTableColumnConfig-6zn3zKl3.js +892 -0
- package/dist/{useTableNav-Tu8UZxHA.d.ts → useTableNav-Ckj5PBRk.d.ts} +9 -8
- package/dist/{useToast-NBGlVeFP.d.ts → useToast-yreVCUer.d.ts} +1 -1
- package/package.json +54 -6
- package/rulesync.jsonc +11 -0
- package/scripts/generate-rules.mjs +34 -0
- package/src/configurator/README.md +77 -0
- package/dist/Button-CcZBqoQp.js +0 -761
- package/dist/FormFieldHeaderTooltip-h6e5hq9V.js +0 -45
- package/dist/Link-C5YsZ4pr.js +0 -42
- package/dist/PillButton-CihEPQye.d.ts +0 -15
- package/dist/Tag-CgPeLVXM.d.ts +0 -44
- package/dist/Tag-DNuHvt6J.js +0 -148
- package/dist/components/pill-button.d.ts +0 -2
- package/dist/input.cva-KYGD4Bdz.js +0 -324
- package/dist/pillButton.cva-6tjADUQ6.js +0 -265
- package/dist/pillButton.cva-BVsxGnqF.d.ts +0 -36
- package/dist/popover.cva-CXha_UMQ.js +0 -5
- package/dist/switch.cva-BIioyegR.d.ts +0 -15
- package/dist/typography.cva-BI0FyIqm.js +0 -129
- package/dist/typography.cva-YaO6JLqU.d.ts +0 -51
- package/dist/useTableColumnConfig-CiAr7Dbi.js +0 -1627
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
|
+
import { cloneElement, isValidElement } from "react";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/shared/IconSlot/iconSlot.cva.ts
|
|
7
|
+
const iconSlotDefinition = UIOverrides.defineConfig({ base: ["inline-flex size-icons-size shrink-0 items-center justify-center", "[&>svg]:size-[calc(var(--icons-scale,0.8)*100%)] [&>svg]:shrink-0"] });
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/components/shared/IconSlot/IconSlot.tsx
|
|
10
|
+
/** Reserves the Figma icons-size token and centers a smaller SVG inside it. */
|
|
11
|
+
const IconSlot = (t0) => {
|
|
12
|
+
const $ = c(17);
|
|
13
|
+
const { icon, scale, iconClassName, className, style, ...props } = t0;
|
|
14
|
+
const slotCva = UIOverrides.useCva("iconSlot.cva", iconSlotDefinition);
|
|
15
|
+
if (isValidElement(icon) && icon.type === IconSlot) return cloneElement(icon, {
|
|
16
|
+
...props,
|
|
17
|
+
className: clsx(className, icon.props.className),
|
|
18
|
+
style: {
|
|
19
|
+
...style,
|
|
20
|
+
...icon.props.style
|
|
21
|
+
},
|
|
22
|
+
scale: icon.props.scale ?? scale,
|
|
23
|
+
iconClassName: clsx(iconClassName, icon.props.iconClassName)
|
|
24
|
+
});
|
|
25
|
+
let visual;
|
|
26
|
+
if (isValidElement(icon)) {
|
|
27
|
+
let t1;
|
|
28
|
+
if ($[0] !== icon || $[1] !== iconClassName) {
|
|
29
|
+
t1 = cloneElement(icon, { className: clsx(icon.props.className, iconClassName) });
|
|
30
|
+
$[0] = icon;
|
|
31
|
+
$[1] = iconClassName;
|
|
32
|
+
$[2] = t1;
|
|
33
|
+
} else t1 = $[2];
|
|
34
|
+
visual = t1;
|
|
35
|
+
} else {
|
|
36
|
+
const Icon = icon;
|
|
37
|
+
let t1;
|
|
38
|
+
if ($[3] !== Icon || $[4] !== iconClassName) {
|
|
39
|
+
t1 = /* @__PURE__ */ jsx(Icon, { className: iconClassName });
|
|
40
|
+
$[3] = Icon;
|
|
41
|
+
$[4] = iconClassName;
|
|
42
|
+
$[5] = t1;
|
|
43
|
+
} else t1 = $[5];
|
|
44
|
+
visual = t1;
|
|
45
|
+
}
|
|
46
|
+
let slotStyle;
|
|
47
|
+
if ($[6] !== scale || $[7] !== style) {
|
|
48
|
+
slotStyle = { ...style };
|
|
49
|
+
if (scale !== void 0) Object.assign(slotStyle, { "--icons-scale": scale });
|
|
50
|
+
$[6] = scale;
|
|
51
|
+
$[7] = style;
|
|
52
|
+
$[8] = slotStyle;
|
|
53
|
+
} else slotStyle = $[8];
|
|
54
|
+
let t1;
|
|
55
|
+
if ($[9] !== className || $[10] !== slotCva) {
|
|
56
|
+
t1 = slotCva({ className });
|
|
57
|
+
$[9] = className;
|
|
58
|
+
$[10] = slotCva;
|
|
59
|
+
$[11] = t1;
|
|
60
|
+
} else t1 = $[11];
|
|
61
|
+
let t2;
|
|
62
|
+
if ($[12] !== props || $[13] !== slotStyle || $[14] !== t1 || $[15] !== visual) {
|
|
63
|
+
t2 = /* @__PURE__ */ jsx("span", {
|
|
64
|
+
...props,
|
|
65
|
+
"data-icon-slot": "",
|
|
66
|
+
className: t1,
|
|
67
|
+
style: slotStyle,
|
|
68
|
+
children: visual
|
|
69
|
+
});
|
|
70
|
+
$[12] = props;
|
|
71
|
+
$[13] = slotStyle;
|
|
72
|
+
$[14] = t1;
|
|
73
|
+
$[15] = visual;
|
|
74
|
+
$[16] = t2;
|
|
75
|
+
} else t2 = $[16];
|
|
76
|
+
return t2;
|
|
77
|
+
};
|
|
78
|
+
//#endregion
|
|
79
|
+
export { iconSlotDefinition as n, IconSlot as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as LinkNavigationProps } from "./Link-
|
|
2
|
-
import { a as ButtonProps, n as ButtonAppearanceProps } from "./Button-
|
|
1
|
+
import { n as LinkNavigationProps } from "./Link-Ow9H7kNv.js";
|
|
2
|
+
import { a as ButtonProps, n as ButtonAppearanceProps } from "./Button-D-4qb0IR.js";
|
|
3
3
|
import { FC, ReactElement, RefObject, SVGProps } from "react";
|
|
4
4
|
//#region src/components/buttons/InlineIconButton/InlineIconButton.d.ts
|
|
5
5
|
interface InlineIconButtonProps extends Omit<ButtonProps, "children">, ButtonAppearanceProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva-
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
2
|
+
import { t as Tooltip } from "./Tooltip-CpG1nz7Y.js";
|
|
3
|
+
import { t as tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva-BBQ4ic3D.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/inputs/shared/InlineTooltipWrapper.tsx
|
|
6
6
|
const InlineTooltipWrapper = ({ children, error, triggerClassName, triggerTabIndex }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
5
|
-
import { t as InputContentProps } from "./InputContent-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-C8_T6by9.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-CQPV5gW7.js";
|
|
5
|
+
import { t as InputContentProps } from "./InputContent-B6CIQNnE.js";
|
|
6
6
|
import { Ref } from "react";
|
|
7
7
|
import { InputProps } from "react-aria-components";
|
|
8
8
|
import { AriaTextFieldProps } from "@react-aria/textfield";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as InlineIconButtonProps } from "./InlineIconButton-
|
|
2
|
-
import { r as FormFieldHeaderProps } from "./FormField-
|
|
3
|
-
import "./input.cva-
|
|
1
|
+
import { n as InlineIconButtonProps } from "./InlineIconButton-BeJCjl-q.js";
|
|
2
|
+
import { r as FormFieldHeaderProps } from "./FormField-C8_T6by9.js";
|
|
3
|
+
import "./input.cva-CQPV5gW7.js";
|
|
4
4
|
import { FC, FocusEvent, ReactElement, ReactNode, SVGProps } from "react";
|
|
5
5
|
//#region src/components/inputs/Input/shared/InputContent.d.ts
|
|
6
6
|
interface InputContentProps {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as PasswordInput } from "./PasswordInput-DYwUZ4-k.js";
|
|
2
|
-
import { t as Checkbox } from "./Checkbox-
|
|
3
|
-
import { t as Slider } from "./Slider-
|
|
4
|
-
import { t as Switch } from "./Switch-
|
|
5
|
-
import { t as TextArea } from "./TextArea-
|
|
2
|
+
import { t as Checkbox } from "./Checkbox-D3f2Plbc.js";
|
|
3
|
+
import { t as Slider } from "./Slider-CMg0BXJO.js";
|
|
4
|
+
import { t as Switch } from "./Switch-CqnGEdeD.js";
|
|
5
|
+
import { t as TextArea } from "./TextArea-uPffb457.js";
|
|
6
6
|
import { Input } from "./components/input.js";
|
|
7
7
|
import { Autocomplete } from "./components/autocomplete.js";
|
|
8
8
|
import { CheckboxGroup } from "./components/checkbox-group.js";
|
|
9
|
-
import { t as DateRangePicker } from "./DateRangePicker-
|
|
10
|
-
import { t as TimePicker } from "./TimePicker-
|
|
11
|
-
import { t as ToggleGroup } from "./ToggleGroup-
|
|
12
|
-
import { t as DatePicker } from "./DatePicker-
|
|
13
|
-
import { t as Select } from "./Select-
|
|
14
|
-
import { t as DateTimePicker } from "./DateTimePicker-
|
|
9
|
+
import { t as DateRangePicker } from "./DateRangePicker-DxuVhRaf.js";
|
|
10
|
+
import { t as TimePicker } from "./TimePicker-DN-i98z5.js";
|
|
11
|
+
import { t as ToggleGroup } from "./ToggleGroup-DmVPNWok.js";
|
|
12
|
+
import { t as DatePicker } from "./DatePicker-xDEqzNJv.js";
|
|
13
|
+
import { t as Select } from "./Select-CgIhoWgk.js";
|
|
14
|
+
import { t as DateTimePicker } from "./DateTimePicker-4N1Pka07.js";
|
|
15
15
|
import { NumberField } from "./components/number-field.js";
|
|
16
|
-
import { t as NumberRangeInput } from "./NumberRangeInput-
|
|
16
|
+
import { t as NumberRangeInput } from "./NumberRangeInput-Bzfe-RlV.js";
|
|
17
17
|
import { QueryAutocomplete } from "./components/query-autocomplete.js";
|
|
18
18
|
import { QuerySelect } from "./components/query-select.js";
|
|
19
19
|
import { useMemo } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as UIForm } from "./form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { l as InputDef } from "./dynamicInputs-
|
|
2
|
+
import { l as InputDef } from "./dynamicInputs-DdcsSoYu.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/components/inputs/Inputs/Inputs.d.ts
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as StyleMergeUtils } from "./style-merge.util-zLimKwt6.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DEp139He.js";
|
|
2
3
|
import { AnchorHTMLAttributes, PropsWithChildren } from "react";
|
|
3
4
|
import { LinkProps } from "react-aria-components";
|
|
4
5
|
//#region src/components/text/Link/link.cva.d.ts
|
|
@@ -6,7 +7,7 @@ declare const linkDefinition: {
|
|
|
6
7
|
base: string[];
|
|
7
8
|
config: StyleMergeUtils.Config<{
|
|
8
9
|
readonly variant: {
|
|
9
|
-
default: ["text-interactive-
|
|
10
|
+
default: ["text-interactive-primary-background focus-visible:outline-interactive-ring", "hover:text-state-interactive-primary-background/hover focus-visible:text-state-interactive-primary-background/focus active:text-state-interactive-primary-background/pressed"];
|
|
10
11
|
};
|
|
11
12
|
}>;
|
|
12
13
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czcqspm7.js";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as $4b38b5b75ecc6208$export$b0d3ecf7112093a7, f as $53e61d82d8b8611d$export$e0e4026c12a8bdbb, h as $263ab7fc0f95ccdb$export$d40e14dec8b060a8, m as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, u as $e28ab3efe3e87743$export$6615d83f6de245ce } from "./Dialog-CKLkS00H.js";
|
|
3
3
|
import { t as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-D2MPZ3sY.js";
|
|
4
4
|
import { t as $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementTransition-Da1c_cOO.js";
|
|
5
5
|
import { t as $91fe5e721c7f36c1$export$c9549807523555e0 } from "./SelectionIndicator-JblvLKCu.js";
|
|
6
6
|
import $ahdqC$react, { createContext, forwardRef, useCallback, useContext, useEffect, useMemo, useRef } from "react";
|
|
7
7
|
import { mergeProps } from "react-aria/mergeProps";
|
|
8
8
|
import { useObjectRef } from "react-aria/useObjectRef";
|
|
9
|
-
import { CollectionBuilder, createLeafComponent } from "react-aria/CollectionBuilder";
|
|
9
|
+
import { CollectionBuilder, createBranchComponent, createLeafComponent } from "react-aria/CollectionBuilder";
|
|
10
10
|
import { filterDOMProps } from "react-aria/filterDOMProps";
|
|
11
11
|
import { useFocusRing } from "react-aria/useFocusRing";
|
|
12
12
|
import { useHover } from "react-aria/useHover";
|
|
13
13
|
import { Collection } from "react-aria/Collection";
|
|
14
|
-
import { ItemNode, LoaderNode } from "react-aria/private/collections/BaseCollection";
|
|
14
|
+
import { ItemNode, LoaderNode, SectionNode } from "react-aria/private/collections/BaseCollection";
|
|
15
15
|
import { useLocale } from "react-aria/I18nProvider";
|
|
16
16
|
import { useListBox, useListBoxSection, useOption } from "react-aria/useListBox";
|
|
17
17
|
import { FocusScope } from "react-aria/FocusScope";
|
|
@@ -271,6 +271,7 @@ function $928221da08ecbc62$var$ListBoxSectionInner(props, ref, section, classNam
|
|
|
271
271
|
renderDropIndicator: $f9554a667e4f0374$export$971707d8a129a1f7(dragAndDropHooks, dropState)
|
|
272
272
|
})));
|
|
273
273
|
}
|
|
274
|
+
const $928221da08ecbc62$export$dca12b0bb56e4fc = /*#__PURE__*/ createBranchComponent(SectionNode, $928221da08ecbc62$var$ListBoxSectionInner);
|
|
274
275
|
const $928221da08ecbc62$export$a11e76429ed99b4 = /*#__PURE__*/ createLeafComponent(ItemNode, function ListBoxItem(props, forwardedRef, item) {
|
|
275
276
|
let ref = useObjectRef(forwardedRef);
|
|
276
277
|
let state = useContext($928221da08ecbc62$export$7c5906fe4f1f2af2);
|
|
@@ -415,4 +416,4 @@ createLeafComponent(LoaderNode, function ListBoxLoadingIndicator(props, ref, ite
|
|
|
415
416
|
}, renderProps.children)));
|
|
416
417
|
});
|
|
417
418
|
//#endregion
|
|
418
|
-
export { $928221da08ecbc62$export$a11e76429ed99b4 as i, $928221da08ecbc62$export$7c5906fe4f1f2af2 as n, $928221da08ecbc62$export$7ff8f37d2d81a48d as r, $928221da08ecbc62$export$41f133550aa26f48 as t };
|
|
419
|
+
export { $928221da08ecbc62$export$dca12b0bb56e4fc as a, $928221da08ecbc62$export$a11e76429ed99b4 as i, $928221da08ecbc62$export$7c5906fe4f1f2af2 as n, $928221da08ecbc62$export$7ff8f37d2d81a48d as r, $928221da08ecbc62$export$41f133550aa26f48 as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as MenuItem$1 } from "./DropdownMenu-
|
|
1
|
+
import { r as MenuItem$1 } from "./DropdownMenu-JNpYT4-3.js";
|
|
2
2
|
//#region src/components/DropdownMenu/MenuItem.d.ts
|
|
3
3
|
type MenuListItemProps = MenuItem$1;
|
|
4
4
|
declare const MenuItem: ({ label, content, children, className, ...item }: MenuListItemProps) => import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czcqspm7.js";
|
|
2
|
-
import { r as $f2ff30fde7b014be$export$d2f961adcb0afbe } from "./Dialog-
|
|
2
|
+
import { r as $f2ff30fde7b014be$export$d2f961adcb0afbe } from "./Dialog-CKLkS00H.js";
|
|
3
3
|
import $ahdqC$react, { createContext, forwardRef, useContext, useMemo, useRef } from "react";
|
|
4
4
|
import { mergeProps } from "react-aria/mergeProps";
|
|
5
5
|
import { mergeRefs } from "react-aria/mergeRefs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
5
|
-
import { t as InputContentProps } from "./InputContent-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-C8_T6by9.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-CQPV5gW7.js";
|
|
5
|
+
import { t as InputContentProps } from "./InputContent-B6CIQNnE.js";
|
|
6
6
|
import { FocusEvent, Ref } from "react";
|
|
7
7
|
import { NumberFieldProps } from "react-aria-components";
|
|
8
8
|
//#region src/components/inputs/Input/NumberField/NumberField.d.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
4
|
import { n as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "./Input-BsbLZDtC.js";
|
|
4
5
|
import { a as $a3be900807531178$re_export$useLocale } from "./exports-BNrTn8Tj.js";
|
|
5
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
6
6
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
7
7
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
8
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-
|
|
9
|
-
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
10
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
11
|
-
import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-
|
|
8
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-9h3JAhaY.js";
|
|
9
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-CbMTwuQU.js";
|
|
10
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-CDHFaUKZ.js";
|
|
11
|
+
import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-B7DEm75m.js";
|
|
12
12
|
import { n as $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c, t as getStaticNumberDisplayValue } from "./numberStatic.utils-BX50PSee.js";
|
|
13
13
|
import { t as IntlUtils } from "./intl.utils-zwAFoZ0U.js";
|
|
14
14
|
import { memo, useEffect, useRef, useState } from "react";
|
|
@@ -123,7 +123,7 @@ const NumberRangeField = ({ ref, as, className, inputClassName, minInputClassNam
|
|
|
123
123
|
className: minInputClassName
|
|
124
124
|
}),
|
|
125
125
|
/* @__PURE__ */ jsx("span", {
|
|
126
|
-
className: clsx("pointer-events-none shrink-0 select-none text-
|
|
126
|
+
className: clsx("pointer-events-none shrink-0 select-none text-small text-inherit"),
|
|
127
127
|
children: "-"
|
|
128
128
|
}),
|
|
129
129
|
/* @__PURE__ */ jsx(NumberRangeValueField, {
|
|
@@ -355,7 +355,7 @@ const NumberRangeInputInner = ({ renderStaticInput, isFormControlDisabled, ...pr
|
|
|
355
355
|
})]
|
|
356
356
|
}),
|
|
357
357
|
/* @__PURE__ */ jsx("span", {
|
|
358
|
-
className: "pointer-events-none shrink-0 select-none text-
|
|
358
|
+
className: "pointer-events-none shrink-0 select-none text-small text-inherit",
|
|
359
359
|
children: "-"
|
|
360
360
|
}),
|
|
361
361
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-C8_T6by9.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-CQPV5gW7.js";
|
|
5
5
|
import { FocusEvent, HTMLAttributes, Ref } from "react";
|
|
6
6
|
import { NumberFieldProps } from "react-aria-components";
|
|
7
7
|
//#region src/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PaginationListProps } from "./PaginationList-
|
|
1
|
+
import { n as PaginationListProps } from "./PaginationList-DMRUGtf8.js";
|
|
2
2
|
//#region src/components/shared/pagination/Pagination.d.ts
|
|
3
3
|
interface PaginationProps extends Omit<PaginationListProps, "totalPages"> {
|
|
4
4
|
totalItems: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ButtonProps } from "./Button-
|
|
1
|
+
import { i as ButtonProps } from "./Button-D-4qb0IR.js";
|
|
2
2
|
//#region src/components/shared/pagination/PaginationList.d.ts
|
|
3
3
|
interface PaginationListProps {
|
|
4
4
|
page: number;
|
|
@@ -7,7 +7,7 @@ interface PaginationListProps {
|
|
|
7
7
|
hideFirstLast?: boolean;
|
|
8
8
|
hidePrevNext?: boolean;
|
|
9
9
|
hideNumbers?: boolean;
|
|
10
|
-
size?:
|
|
10
|
+
size?: ButtonProps["size"];
|
|
11
11
|
color?: ButtonProps["color"];
|
|
12
12
|
variant?: ButtonProps["variant"];
|
|
13
13
|
className?: string;
|
|
@@ -2,31 +2,24 @@ import { t as ChevronLeft } from "./chevron-left-Dgo_b9wJ.js";
|
|
|
2
2
|
import { t as ChevronRight } from "./chevron-right-3nKJR5Bb.js";
|
|
3
3
|
import { n as ChevronsLeft, t as ChevronsRight } from "./chevrons-right-DJPPn2fD.js";
|
|
4
4
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
5
|
-
import {
|
|
6
|
-
import { t as Button } from "./Button-
|
|
5
|
+
import { r as cva } from "./uiOverrides.context-BTCH9y5a.js";
|
|
6
|
+
import { t as Button } from "./Button-C5rv4Cr2.js";
|
|
7
7
|
import "./i18n-CX2EjhJI.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/shared/pagination/minWidth.cva.ts
|
|
12
|
-
const minWidth = cva("", {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
const minWidth = cva("", {
|
|
13
|
+
defaultVariants: { size: "default" },
|
|
14
|
+
variants: { size: {
|
|
15
|
+
s: ["min-w-button-min-width-s"],
|
|
16
|
+
sm: ["min-w-button-min-width-s"],
|
|
17
|
+
default: ["min-w-button-min-width-m"],
|
|
18
|
+
none: ""
|
|
19
|
+
} }
|
|
20
|
+
});
|
|
19
21
|
//#endregion
|
|
20
22
|
//#region src/components/shared/pagination/PaginationList.tsx
|
|
21
|
-
const normalizeButtonSize = (size) => {
|
|
22
|
-
const standardSizeMap = {
|
|
23
|
-
sm: "s",
|
|
24
|
-
md: "m",
|
|
25
|
-
lg: "l"
|
|
26
|
-
};
|
|
27
|
-
if (size && size in standardSizeMap) return standardSizeMap[size];
|
|
28
|
-
if (size === "xs" || size === "s" || size === "m" || size === "l") return size;
|
|
29
|
-
};
|
|
30
23
|
const PaginationList = (t0) => {
|
|
31
24
|
const $ = c(61);
|
|
32
25
|
const { page, totalPages, size, color, variant, hideText, hideFirstLast, hidePrevNext, hideNumbers, className, onPageChange } = t0;
|
|
@@ -35,7 +28,6 @@ const PaginationList = (t0) => {
|
|
|
35
28
|
const isNextDisabled = page >= totalPages;
|
|
36
29
|
let t1;
|
|
37
30
|
if ($[0] !== color || $[1] !== onPageChange || $[2] !== page || $[3] !== size || $[4] !== totalPages || $[5] !== variant) {
|
|
38
|
-
const normalizedSize = normalizeButtonSize(size);
|
|
39
31
|
const pagesToShow = [];
|
|
40
32
|
pagesToShow.push(1);
|
|
41
33
|
if (page > 3) pagesToShow.push("ellipsis");
|
|
@@ -48,7 +40,7 @@ const PaginationList = (t0) => {
|
|
|
48
40
|
color,
|
|
49
41
|
size,
|
|
50
42
|
width: "fill",
|
|
51
|
-
className: clsx(minWidth({ size
|
|
43
|
+
className: clsx(minWidth({ size })),
|
|
52
44
|
children: "..."
|
|
53
45
|
}, `ellipsis-${index}`);
|
|
54
46
|
return /* @__PURE__ */ jsx(Button, {
|
|
@@ -57,7 +49,7 @@ const PaginationList = (t0) => {
|
|
|
57
49
|
variant,
|
|
58
50
|
color,
|
|
59
51
|
"data-selected": p === page ? true : void 0,
|
|
60
|
-
className: clsx(p.toString().length <= 2 && minWidth({ size
|
|
52
|
+
className: clsx(p.toString().length <= 2 && minWidth({ size })),
|
|
61
53
|
onPress: () => onPageChange?.(p),
|
|
62
54
|
children: p.toString()
|
|
63
55
|
}, `page-${p}`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { i as InputProps } from "./Input-
|
|
3
|
+
import { i as InputProps } from "./Input-CHD67H4o.js";
|
|
4
4
|
//#region src/components/inputs/Input/PasswordInput/PasswordInput.d.ts
|
|
5
5
|
interface PasswordInputProps extends Omit<InputProps, "type" | "action" | "trailingIcon" | "unit"> {}
|
|
6
6
|
type ControlledPasswordInputProps<TFieldValues extends FieldValues> = ControlProps<PasswordInputProps, TFieldValues>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as BottomSheetProps } from "./BottomSheet-
|
|
2
|
-
import "./BottomSheet.lazy-
|
|
1
|
+
import { t as BottomSheetProps } from "./BottomSheet-DbQuzfAB.js";
|
|
2
|
+
import "./BottomSheet.lazy-D9LCEo7s.js";
|
|
3
3
|
import { ReactElement, ReactNode } from "react";
|
|
4
4
|
import { PopoverProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/overlays/Popover/Popover.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as UIOverrides } from "./uiOverrides.context-
|
|
2
|
-
import { t as Typography } from "./Typography-
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
2
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/status/Progress/progress.cva.ts
|
|
@@ -20,13 +20,13 @@ const progressTrackDefinition = UIOverrides.defineConfig({
|
|
|
20
20
|
config: {
|
|
21
21
|
variants: { part: {
|
|
22
22
|
container: ["relative h-1 w-full"],
|
|
23
|
-
background: ["h-1 w-full shrink-0 rounded-xs bg-
|
|
23
|
+
background: ["h-1 w-full shrink-0 rounded-xs bg-surface-default-popover"]
|
|
24
24
|
} },
|
|
25
25
|
defaultVariants: { part: "container" }
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
const progressFillDefinition = UIOverrides.defineConfig({ base: ["absolute top-0 left-0 h-1 shrink-0 rounded-xs bg-interactive-
|
|
29
|
-
const progressValueDefinition = UIOverrides.defineConfig({ base: ["text-center text-
|
|
28
|
+
const progressFillDefinition = UIOverrides.defineConfig({ base: ["absolute top-0 left-0 h-1 shrink-0 rounded-xs bg-interactive-primary-background transition-all duration-300"] });
|
|
29
|
+
const progressValueDefinition = UIOverrides.defineConfig({ base: ["text-center text-surface-default-popover-foreground"] });
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/components/status/Progress/Progress.tsx
|
|
32
32
|
const Progress = (t0) => {
|
|
@@ -117,8 +117,7 @@ const Progress = (t0) => {
|
|
|
117
117
|
let t14;
|
|
118
118
|
if ($[25] !== progress || $[26] !== progressValueCva || $[27] !== valueLabel) {
|
|
119
119
|
t14 = valueLabel !== "none" && /* @__PURE__ */ jsxs(Typography, {
|
|
120
|
-
|
|
121
|
-
size: "label-2",
|
|
120
|
+
size: "small",
|
|
122
121
|
as: "span",
|
|
123
122
|
className: progressValueCva(),
|
|
124
123
|
children: [progress, "%"]
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as StyleMergeUtils } from "./style-merge.util-zLimKwt6.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DEp139He.js";
|
|
2
3
|
//#region src/components/status/Progress/progress.cva.d.ts
|
|
3
4
|
declare const progressDefinition: {
|
|
4
5
|
base: string[];
|
|
@@ -21,7 +22,7 @@ declare const progressTrackDefinition: {
|
|
|
21
22
|
config: StyleMergeUtils.Config<{
|
|
22
23
|
readonly part: {
|
|
23
24
|
container: ["relative h-1 w-full"];
|
|
24
|
-
background: ["h-1 w-full shrink-0 rounded-xs bg-
|
|
25
|
+
background: ["h-1 w-full shrink-0 rounded-xs bg-surface-default-popover"];
|
|
25
26
|
};
|
|
26
27
|
}>;
|
|
27
28
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { n as GroupedSelectControlProps, r as GroupedSelectProps, s as SelectItem, t as DefaultInitialSelectItem } from "./SelectBase-
|
|
2
|
+
import { n as GroupedSelectControlProps, r as GroupedSelectProps, s as SelectItem, t as DefaultInitialSelectItem } from "./SelectBase-BkIhS9Dg.js";
|
|
3
3
|
import { s as OmitDiscriminatedUnion } from "./common-UBFya8WY.js";
|
|
4
|
-
import { r as SelectProps } from "./Select-
|
|
4
|
+
import { r as SelectProps } from "./Select-DKBPfNUe.js";
|
|
5
5
|
import { Key } from "react-aria-components";
|
|
6
6
|
import { UseInfiniteQueryResult, UseQueryResult } from "@tanstack/react-query";
|
|
7
7
|
//#region src/components/inputs/Selection/shared/querySelect.utils.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
3
|
-
import { n as FormFieldProps } from "./FormField-
|
|
4
|
-
import { n as InputVariantProps } from "./input.cva-
|
|
5
|
-
import { t as RadioVariantProps } from "./radio.cva-
|
|
3
|
+
import { n as FormFieldProps } from "./FormField-C8_T6by9.js";
|
|
4
|
+
import { n as InputVariantProps } from "./input.cva-CQPV5gW7.js";
|
|
5
|
+
import { t as RadioVariantProps } from "./radio.cva-DN9VQ3Kb.js";
|
|
6
6
|
import { ReactElement, Ref } from "react";
|
|
7
7
|
import { RadioGroupProps } from "react-aria-components";
|
|
8
8
|
//#region src/components/inputs/RadioGroup/RadioGroup.d.ts
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
4
|
import { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czcqspm7.js";
|
|
4
5
|
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-B2-B-uFY.js";
|
|
5
6
|
import { t as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-D2MPZ3sY.js";
|
|
6
7
|
import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03, t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-DlQcyN1f.js";
|
|
7
8
|
import { t as $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementTransition-Da1c_cOO.js";
|
|
8
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
9
9
|
import { t as uiGroupOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
10
10
|
import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
|
|
11
11
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
|
|
12
12
|
import { t as FieldController } from "./form.binding-CG1RPv6o.js";
|
|
13
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-
|
|
14
|
-
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
15
|
-
import { t as CheckContent } from "./CheckContent-
|
|
13
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-9h3JAhaY.js";
|
|
14
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-CbMTwuQU.js";
|
|
15
|
+
import { t as CheckContent } from "./CheckContent-D7sZPmzx.js";
|
|
16
16
|
import $ahdqC$react, { createContext, forwardRef, memo, useContext, useMemo } from "react";
|
|
17
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
18
|
import { mergeProps } from "react-aria/mergeProps";
|
|
18
19
|
import { mergeRefs } from "react-aria/mergeRefs";
|
|
19
20
|
import { useObjectRef } from "react-aria/useObjectRef";
|
|
@@ -23,7 +24,6 @@ import { useHover } from "react-aria/useHover";
|
|
|
23
24
|
import { VisuallyHidden } from "react-aria/VisuallyHidden";
|
|
24
25
|
import { useRadio, useRadioGroup } from "react-aria/useRadioGroup";
|
|
25
26
|
import { useRadioGroupState } from "react-stately/useRadioGroupState";
|
|
26
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
27
27
|
import { useLabel } from "@react-aria/label";
|
|
28
28
|
//#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/RadioGroup.mjs
|
|
29
29
|
const $fe21c36db05242bb$export$a79eda4ff50e30b6 = /*#__PURE__*/ createContext(null);
|
|
@@ -147,25 +147,23 @@ const $fe21c36db05242bb$export$f4422ae58352e179 = /*#__PURE__*/ forwardRef(funct
|
|
|
147
147
|
const radioDefinition = UIOverrides.defineConfig({
|
|
148
148
|
base: [
|
|
149
149
|
"flex items-center justify-center border-2",
|
|
150
|
-
"relative size-3
|
|
150
|
+
"relative m-1.25 size-3.5 shrink-0 rounded-full",
|
|
151
151
|
"before:absolute before:hidden before:size-1 before:rounded-full",
|
|
152
152
|
uiGroupOutlineClass
|
|
153
153
|
],
|
|
154
154
|
config: {
|
|
155
155
|
variants: { variant: { default: [
|
|
156
|
-
"border-interactive-
|
|
157
|
-
"
|
|
158
|
-
"group-
|
|
159
|
-
"group-
|
|
160
|
-
"group-
|
|
161
|
-
"group-
|
|
162
|
-
"group-
|
|
163
|
-
"group-selected:
|
|
164
|
-
"group-
|
|
165
|
-
"group-
|
|
166
|
-
"
|
|
167
|
-
"group-hover:before:bg-interactive-contained-primary-on-hover",
|
|
168
|
-
"group-selected:before:block"
|
|
156
|
+
"border-interactive-primary-background bg-support-transparent-outline",
|
|
157
|
+
"before:bg-interactive-primary-foreground group-selected:before:block",
|
|
158
|
+
"group-focus-visible:outline-interactive-ring",
|
|
159
|
+
"group-not-disabled:group-invalid:border-border-destructive-base",
|
|
160
|
+
"group-disabled:border-state-interactive-primary-background/disabled",
|
|
161
|
+
"group-not-disabled:group-not-invalid:group-hover:border-state-interactive-primary-background/hover",
|
|
162
|
+
"group-not-disabled:group-not-invalid:group-pressed:border-state-interactive-primary-background/pressed",
|
|
163
|
+
"group-selected:bg-interactive-primary-background",
|
|
164
|
+
"group-selected:group-not-disabled:group-hover:bg-state-interactive-primary-background/hover",
|
|
165
|
+
"group-selected:group-not-disabled:group-pressed:bg-state-interactive-primary-background/pressed",
|
|
166
|
+
"group-selected:group-disabled:bg-state-interactive-primary-background/disabled"
|
|
169
167
|
] } },
|
|
170
168
|
defaultVariants: { variant: "default" }
|
|
171
169
|
}
|
|
@@ -218,11 +216,10 @@ const radioContentRowDefinition = UIOverrides.defineConfig({
|
|
|
218
216
|
});
|
|
219
217
|
const radioIndicatorClass = "group flex items-center gap-2";
|
|
220
218
|
const radioTypography = compoundMapper({ default: {
|
|
221
|
-
size: "
|
|
222
|
-
sizeMobile: "
|
|
223
|
-
variant: "default"
|
|
219
|
+
size: "large",
|
|
220
|
+
sizeMobile: "large"
|
|
224
221
|
} });
|
|
225
|
-
const radioContentClassName = compoundMapper({ default: "text-
|
|
222
|
+
const radioContentClassName = compoundMapper({ default: "text-surface-default-foreground" });
|
|
226
223
|
//#endregion
|
|
227
224
|
//#region src/components/inputs/RadioGroup/RadioGroup.tsx
|
|
228
225
|
const RadioGroupBase = (props) => {
|