@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DatePickerProps } from "./DatePicker-
|
|
1
|
+
import { r as DatePickerProps } from "./DatePicker-1LJ2LqST.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DateRangePickerProps } from "./DateRangePicker-
|
|
1
|
+
import { r as DateRangePickerProps } from "./DateRangePicker-Dfptit_Z.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DateTimePickerProps } from "./DateTimePicker-
|
|
1
|
+
import { r as DateTimePickerProps } from "./DateTimePicker-DpsfukpQ.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
2
|
+
//#region src/components/inputs/DateTime/shared/datePickerInput.cva.ts
|
|
3
|
+
const datePickerInputContentRowDefinition = UIOverrides.defineConfig({
|
|
4
|
+
base: ["flex items-center gap-input-gap-input-text-to-elements"],
|
|
5
|
+
config: {
|
|
6
|
+
variants: { size: {
|
|
7
|
+
small: "",
|
|
8
|
+
default: ""
|
|
9
|
+
} },
|
|
10
|
+
defaultVariants: { size: "default" }
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { datePickerInputContentRowDefinition as t };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
|
|
2
2
|
import { t as ChevronUp } from "./chevron-up-D_Gqpb5M.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import { t as Typography } from "./Typography-
|
|
4
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
5
5
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
6
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
7
|
-
import { u as getPlaceholder } from "./staticDateTimeSegments-
|
|
6
|
+
import { t as useBreakpoint } from "./useBreakpoint-DQoMN-BG.js";
|
|
7
|
+
import { u as getPlaceholder } from "./staticDateTimeSegments-BWea3HAt.js";
|
|
8
8
|
import { useEffect, useRef } from "react";
|
|
9
9
|
import { c } from "react/compiler-runtime";
|
|
10
|
-
import { Time } from "@internationalized/date";
|
|
11
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { Time } from "@internationalized/date";
|
|
12
12
|
import { useDateSegment, useLocale, useTimeField } from "react-aria";
|
|
13
13
|
import { useTimeFieldState } from "@react-stately/datepicker";
|
|
14
14
|
//#region src/hooks/useLongPressRepeat.ts
|
|
@@ -148,9 +148,8 @@ const TimeSegmentInput = ({ segment, state, autoFocus }) => {
|
|
|
148
148
|
ref,
|
|
149
149
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
150
150
|
as: "span",
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
className: "text-text-default-2",
|
|
151
|
+
size: "small",
|
|
152
|
+
className: "text-surface-default-foreground font-bold",
|
|
154
153
|
children: segment.text
|
|
155
154
|
})
|
|
156
155
|
});
|
|
@@ -160,7 +159,7 @@ const TimeSegmentInput = ({ segment, state, autoFocus }) => {
|
|
|
160
159
|
children: /* @__PURE__ */ jsx("div", {
|
|
161
160
|
ref,
|
|
162
161
|
...isDesktop && segmentProps,
|
|
163
|
-
className: clsx("w-11 rounded-input-rounding-default bg-
|
|
162
|
+
className: clsx("w-11 rounded-input-rounding-default bg-surface-default-popover py-input-height-small text-center", "font-body font-bold text-surface-default-popover-foreground", "border border-border-default-input border-solid", "not-focus-within:hover:border-state-border-default-input/hover not-focus-within:hover:bg-state-surface-default-popover/hover not-focus-within:hover:text-state-surface-default-popover-foreground/hover", "focus-within:border-interactive-ring focus-within:bg-surface-default-background focus-within:text-surface-default-card-foreground focus-within:outline-none"),
|
|
164
163
|
children: getPlaceholder(segment) ?? segment.text
|
|
165
164
|
})
|
|
166
165
|
});
|
|
@@ -195,9 +194,8 @@ const TimeSegmentButton = ({ segment, state, type }) => {
|
|
|
195
194
|
className: "flex shrink-0",
|
|
196
195
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
197
196
|
as: "span",
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
className: "invisible text-text-default-2",
|
|
197
|
+
size: "small",
|
|
198
|
+
className: "invisible text-surface-default-foreground font-bold",
|
|
201
199
|
"aria-hidden": true,
|
|
202
200
|
children: segment.text
|
|
203
201
|
})
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as cva, t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
2
2
|
//#region src/components/overlays/Dialog/dialog.cva.ts
|
|
3
3
|
const dialogContentDefinition = UIOverrides.defineConfig({
|
|
4
4
|
base: [
|
|
5
5
|
"relative flex flex-col items-center gap-modal-gap-content px-modal-side-mobile py-modal-height-mobile md:px-modal-side-desktop md:py-modal-height-desktop",
|
|
6
6
|
"w-fit max-w-full [&>*]:max-w-full",
|
|
7
|
-
"border-
|
|
7
|
+
"border-border-default-subtle bg-surface-default-card text-surface-default-card-foreground outline-none",
|
|
8
8
|
"pointer-events-auto"
|
|
9
9
|
],
|
|
10
10
|
config: {
|
|
@@ -17,7 +17,7 @@ const dialogContentDefinition = UIOverrides.defineConfig({
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
const dialogOverlayDefinition = UIOverrides.defineConfig({
|
|
20
|
-
base: ["fixed inset-0 z-modal flex h-(--visual-viewport-height) w-screen overflow-y-auto bg-support-overlay"],
|
|
20
|
+
base: ["fixed inset-0 z-modal flex h-(--visual-viewport-height) w-screen overflow-y-auto bg-support-overlay", "transition-opacity duration-200 ease-out starting:opacity-0 entering:opacity-0 exiting:opacity-0 exiting:duration-150 motion-reduce:transition-none"],
|
|
21
21
|
config: {
|
|
22
22
|
variants: { aside: {
|
|
23
23
|
left: "p-0",
|
|
@@ -34,7 +34,7 @@ const dialogMainDefinition = UIOverrides.defineConfig({
|
|
|
34
34
|
variants: { aside: {
|
|
35
35
|
left: "entering:animate-drawer-enter-left exiting:animate-drawer-exit-left justify-start",
|
|
36
36
|
right: "entering:animate-drawer-enter-right exiting:animate-drawer-exit-right justify-end",
|
|
37
|
-
center: "justify-center"
|
|
37
|
+
center: ["justify-center", "transition-[opacity,scale] duration-200 ease-out starting:scale-96 starting:opacity-0 entering:scale-96 entering:opacity-0 exiting:scale-96 exiting:opacity-0 exiting:duration-150 motion-reduce:transition-none"]
|
|
38
38
|
} },
|
|
39
39
|
defaultVariants: { aside: "center" }
|
|
40
40
|
}
|
|
@@ -1,260 +1,5 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-RFvaQYzD.js";
|
|
2
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
4
|
-
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
5
|
-
import { t as Spinner } from "./Spinner-owSXOEzg.js";
|
|
6
|
-
import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
|
|
7
|
-
import { t as Button } from "./Button-CcZBqoQp.js";
|
|
8
2
|
import $ahdqC$react, { cloneElement, isValidElement, useEffect, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
|
|
9
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
//#region src/components/status/Toast/toast.cva.ts
|
|
11
|
-
const toastContainerDefinition = UIOverrides.defineConfig({
|
|
12
|
-
base: ["m-toast-gap-margin-mobile w-auto gap-toast-gap-margin-mobile p-0 md:m-toast-gap-margin-desktop md:gap-toast-gap-margin-desktop"],
|
|
13
|
-
config: { variants: { position: {
|
|
14
|
-
"bottom-right": "right-0 bottom-0",
|
|
15
|
-
"bottom-left": "bottom-0 left-0",
|
|
16
|
-
"top-right": "top-0 right-0",
|
|
17
|
-
"top-left": "top-0 left-0",
|
|
18
|
-
"bottom-center": "bottom-0",
|
|
19
|
-
"top-center": "top-0"
|
|
20
|
-
} } }
|
|
21
|
-
});
|
|
22
|
-
const toastWrapper = clsx("m-0! min-h-0! w-auto! max-w-toast bg-transparent! p-0! shadow-none!");
|
|
23
|
-
const toastDefinition = UIOverrides.defineConfig({
|
|
24
|
-
base: ["m-0 inline-flex w-auto flex-col items-center overflow-hidden rounded-toast-rounding-default shadow-4 md:flex-row"],
|
|
25
|
-
config: {
|
|
26
|
-
variants: {
|
|
27
|
-
variant: {
|
|
28
|
-
outlined: "border bg-elevation-fill-default-1 text-text-default-1",
|
|
29
|
-
contained: "text-text-inverted-1"
|
|
30
|
-
},
|
|
31
|
-
color: {
|
|
32
|
-
neutral: "",
|
|
33
|
-
success: "",
|
|
34
|
-
warning: "",
|
|
35
|
-
error: ""
|
|
36
|
-
},
|
|
37
|
-
position: {
|
|
38
|
-
"bottom-right": "",
|
|
39
|
-
"bottom-left": "",
|
|
40
|
-
"bottom-center": "",
|
|
41
|
-
"top-right": "",
|
|
42
|
-
"top-left": "",
|
|
43
|
-
"top-center": ""
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
compoundVariants: [
|
|
47
|
-
{
|
|
48
|
-
variant: "outlined",
|
|
49
|
-
color: "neutral",
|
|
50
|
-
className: "border-elevation-outline-default-1"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
variant: "outlined",
|
|
54
|
-
color: "success",
|
|
55
|
-
className: "border-elevation-outline-success-1"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
variant: "outlined",
|
|
59
|
-
color: "warning",
|
|
60
|
-
className: "border-elevation-outline-warning-1"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
variant: "outlined",
|
|
64
|
-
color: "error",
|
|
65
|
-
className: "border-elevation-outline-error-1"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
variant: "contained",
|
|
69
|
-
color: "neutral",
|
|
70
|
-
className: "bg-elevation-fill-inverted-1"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
variant: "contained",
|
|
74
|
-
color: "success",
|
|
75
|
-
className: "bg-elevation-fill-success-1"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
variant: "contained",
|
|
79
|
-
color: "warning",
|
|
80
|
-
className: "bg-elevation-fill-warning-1"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
variant: "contained",
|
|
84
|
-
color: "error",
|
|
85
|
-
className: "bg-elevation-fill-error-1"
|
|
86
|
-
}
|
|
87
|
-
],
|
|
88
|
-
defaultVariants: {
|
|
89
|
-
variant: "outlined",
|
|
90
|
-
color: "neutral"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
const buttonColorVariant = compoundMapper({
|
|
95
|
-
compoundVariants: [
|
|
96
|
-
{
|
|
97
|
-
variant: "outlined",
|
|
98
|
-
color: "neutral",
|
|
99
|
-
value: { color: "secondary" }
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
variant: "outlined",
|
|
103
|
-
color: "success",
|
|
104
|
-
value: { color: "success" }
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
variant: "outlined",
|
|
108
|
-
color: "warning",
|
|
109
|
-
value: { color: "warning" }
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
variant: "outlined",
|
|
113
|
-
color: "error",
|
|
114
|
-
value: { color: "error" }
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
variant: "contained",
|
|
118
|
-
color: "neutral",
|
|
119
|
-
value: {
|
|
120
|
-
color: "primary",
|
|
121
|
-
inverted: true
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
variant: "contained",
|
|
126
|
-
color: "success",
|
|
127
|
-
value: {
|
|
128
|
-
color: "success",
|
|
129
|
-
inverted: true
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
variant: "contained",
|
|
134
|
-
color: "warning",
|
|
135
|
-
value: {
|
|
136
|
-
color: "warning",
|
|
137
|
-
inverted: true
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
variant: "contained",
|
|
142
|
-
color: "error",
|
|
143
|
-
value: {
|
|
144
|
-
color: "error",
|
|
145
|
-
inverted: true
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
defaultVariants: {
|
|
150
|
-
variant: "outlined",
|
|
151
|
-
color: "neutral"
|
|
152
|
-
},
|
|
153
|
-
default: { color: "secondary" }
|
|
154
|
-
});
|
|
155
|
-
const statusIconDefinition = UIOverrides.defineConfig({
|
|
156
|
-
base: ["size-6 shrink-0"],
|
|
157
|
-
config: {
|
|
158
|
-
variants: {
|
|
159
|
-
variant: {
|
|
160
|
-
outlined: "",
|
|
161
|
-
contained: "text-text-inverted-1"
|
|
162
|
-
},
|
|
163
|
-
color: {
|
|
164
|
-
neutral: "",
|
|
165
|
-
success: "",
|
|
166
|
-
warning: "",
|
|
167
|
-
error: ""
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
compoundVariants: [
|
|
171
|
-
{
|
|
172
|
-
variant: "outlined",
|
|
173
|
-
color: "neutral",
|
|
174
|
-
className: "text-text-default-2"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
variant: "outlined",
|
|
178
|
-
color: "success",
|
|
179
|
-
className: "text-text-success-1"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
variant: "outlined",
|
|
183
|
-
color: "warning",
|
|
184
|
-
className: "text-text-warning-1"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
variant: "outlined",
|
|
188
|
-
color: "error",
|
|
189
|
-
className: "text-text-error-1"
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
defaultVariants: {
|
|
193
|
-
variant: "outlined",
|
|
194
|
-
color: "neutral"
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
const statusSeparatorDefinition = UIOverrides.defineConfig({
|
|
199
|
-
base: ["h-px shrink-0 self-stretch md:h-auto md:w-px"],
|
|
200
|
-
config: {
|
|
201
|
-
variants: {
|
|
202
|
-
variant: {
|
|
203
|
-
outlined: "",
|
|
204
|
-
contained: "hidden"
|
|
205
|
-
},
|
|
206
|
-
color: {
|
|
207
|
-
neutral: "bg-elevation-outline-default-1",
|
|
208
|
-
success: "bg-elevation-outline-success-1",
|
|
209
|
-
warning: "bg-elevation-outline-warning-1",
|
|
210
|
-
error: "bg-elevation-outline-error-1"
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
defaultVariants: { color: "neutral" }
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
|
-
//#endregion
|
|
217
|
-
//#region src/components/status/Toast/Toast.tsx
|
|
218
|
-
const Toast = ({ text, isLoading = false, actions = [], icon: Icon, ...props }) => {
|
|
219
|
-
const uiConfig = UIConfig.useConfig();
|
|
220
|
-
const { variant = uiConfig.toast.variant, ...restProps } = props;
|
|
221
|
-
const toastCva = UIOverrides.useCva("toast.cva", toastDefinition);
|
|
222
|
-
const buttonColor = UIOverrides.useMapper("toast.buttonColor", buttonColorVariant);
|
|
223
|
-
const iconCva = UIOverrides.useCva("status.iconCva", statusIconDefinition);
|
|
224
|
-
const separatorCva = UIOverrides.useCva("status.separatorCva", statusSeparatorDefinition);
|
|
225
|
-
const variantProps = {
|
|
226
|
-
variant,
|
|
227
|
-
...restProps
|
|
228
|
-
};
|
|
229
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
230
|
-
className: toastCva(variantProps),
|
|
231
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
232
|
-
className: "flex items-start gap-toast-gap-icon-to-text px-toast-side-default py-toast-height-content",
|
|
233
|
-
children: [
|
|
234
|
-
isLoading && /* @__PURE__ */ jsx(Spinner, {
|
|
235
|
-
size: "default",
|
|
236
|
-
className: "shrink-0"
|
|
237
|
-
}),
|
|
238
|
-
!isLoading && Icon && /* @__PURE__ */ jsx(Icon, { className: iconCva(variantProps) }),
|
|
239
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
240
|
-
size: "label-2",
|
|
241
|
-
children: text
|
|
242
|
-
})
|
|
243
|
-
]
|
|
244
|
-
}), actions.length > 0 && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", { className: separatorCva(variantProps) }), /* @__PURE__ */ jsx("div", {
|
|
245
|
-
className: "flex w-full shrink-0 flex-wrap items-center justify-end gap-toast-gap-action px-toast-side-default py-toast-height-actions-mobile md:w-auto md:justify-center md:py-toast-height-actions-desktop",
|
|
246
|
-
children: actions.map(({ text: buttonText, onPress }) => /* @__PURE__ */ jsx(Button, {
|
|
247
|
-
onPress,
|
|
248
|
-
...buttonColor(variantProps),
|
|
249
|
-
variant: "text",
|
|
250
|
-
size: "none",
|
|
251
|
-
width: "hug",
|
|
252
|
-
children: buttonText
|
|
253
|
-
}, buttonText))
|
|
254
|
-
})] })]
|
|
255
|
-
});
|
|
256
|
-
};
|
|
257
|
-
//#endregion
|
|
258
3
|
//#region ../../node_modules/.bun/react-toastify@11.1.0+67f6792bdf102c28/node_modules/react-toastify/dist/index.mjs
|
|
259
4
|
var L = (t) => typeof t == "number" && !isNaN(t);
|
|
260
5
|
var N = (t) => typeof t == "string";
|
|
@@ -1737,4 +1482,4 @@ function xo(t) {
|
|
|
1737
1482
|
return Rt(Mt, t.nonce), $ahdqC$react.createElement(dt, { ...t });
|
|
1738
1483
|
}
|
|
1739
1484
|
//#endregion
|
|
1740
|
-
export {
|
|
1485
|
+
export { y as n, xo as t };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
2
|
+
//#region src/components/DropdownMenu/dropdownMenu.cva.ts
|
|
3
|
+
const dropdownMenuDefinition = UIOverrides.defineConfig({
|
|
4
|
+
base: ["outline-none"],
|
|
5
|
+
config: {
|
|
6
|
+
variants: { isMobile: {
|
|
7
|
+
true: [],
|
|
8
|
+
false: []
|
|
9
|
+
} },
|
|
10
|
+
defaultVariants: { isMobile: false }
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
const menuItemDefinition = UIOverrides.defineConfig({
|
|
14
|
+
base: [
|
|
15
|
+
"flex cursor-pointer items-center justify-between gap-list-gap-icon-to-label px-list-side-item-left py-list-height-item has-submenu:pr-list-side-item-right",
|
|
16
|
+
"border-b border-b-border-default-subtle outline-none last:border-b-0",
|
|
17
|
+
"bg-surface-default-card text-surface-default-foreground",
|
|
18
|
+
"disabled:cursor-default disabled:text-state-surface-default-foreground/disabled",
|
|
19
|
+
"not-disabled:not-open:not-focus-visible:hover:bg-state-interactive-subtle-secondary-background/hover not-disabled:not-open:not-focus-visible:hover:text-state-surface-default-foreground/hover",
|
|
20
|
+
"open:cursor-default not-disabled:open:bg-interactive-primary-background not-disabled:open:text-interactive-primary-foreground",
|
|
21
|
+
"not-disabled:not-open:focus-visible:bg-state-interactive-subtle-secondary-background/focus not-disabled:not-open:focus-visible:text-state-surface-default-foreground/focus focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-interactive-ring"
|
|
22
|
+
],
|
|
23
|
+
config: {
|
|
24
|
+
variants: { isMobile: {
|
|
25
|
+
true: ["justify-start! w-full font-body font-bold"],
|
|
26
|
+
false: []
|
|
27
|
+
} },
|
|
28
|
+
defaultVariants: { isMobile: false }
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
const menuPopoverDefinition = UIOverrides.defineConfig({ base: ["pt-2 outline-none"] });
|
|
32
|
+
const menuPopoverWrapperDefinition = UIOverrides.defineConfig({ base: ["overflow-hidden rounded-list-rounding-dropdown border border-border-default-subtle bg-surface-default-card shadow-5 outline-none"] });
|
|
33
|
+
//#endregion
|
|
34
|
+
export { menuPopoverWrapperDefinition as i, menuItemDefinition as n, menuPopoverDefinition as r, dropdownMenuDefinition as t };
|