@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,80 @@
|
|
|
1
|
+
//#region src/app-canvas/route-model.d.ts
|
|
2
|
+
/** Structural TanStack Router contract; no router runtime is bundled with UI. */
|
|
3
|
+
interface CanvasRoute {
|
|
4
|
+
id?: string;
|
|
5
|
+
path?: string;
|
|
6
|
+
fullPath?: string;
|
|
7
|
+
children?: readonly CanvasRoute[] | object;
|
|
8
|
+
options?: {
|
|
9
|
+
id?: string;
|
|
10
|
+
path?: string;
|
|
11
|
+
component?: unknown;
|
|
12
|
+
lazyFn?: unknown;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
interface CanvasRouter {
|
|
16
|
+
routeTree: CanvasRoute;
|
|
17
|
+
routesById?: object;
|
|
18
|
+
}
|
|
19
|
+
interface CanvasRouteExample {
|
|
20
|
+
params?: Record<string, string>;
|
|
21
|
+
search?: Record<string, unknown>;
|
|
22
|
+
title?: string;
|
|
23
|
+
}
|
|
24
|
+
interface DiscoverCanvasPagesOptions {
|
|
25
|
+
examples?: Record<string, CanvasRouteExample>;
|
|
26
|
+
exclude?: string[];
|
|
27
|
+
excludePaths?: string[];
|
|
28
|
+
}
|
|
29
|
+
interface CanvasPage {
|
|
30
|
+
id: string;
|
|
31
|
+
title: string;
|
|
32
|
+
path: string;
|
|
33
|
+
href?: string;
|
|
34
|
+
parentId?: string;
|
|
35
|
+
missingParams: string[];
|
|
36
|
+
kind: "page" | "unresolved";
|
|
37
|
+
}
|
|
38
|
+
interface CanvasPosition {
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
}
|
|
42
|
+
interface CanvasPageLayout extends CanvasPage, CanvasPosition {
|
|
43
|
+
width: number;
|
|
44
|
+
height: number;
|
|
45
|
+
}
|
|
46
|
+
/** Catalog route destinations without executing loaders or needing every dynamic parameter. */
|
|
47
|
+
declare function discoverCanvasPages(router: CanvasRouter, options?: DiscoverCanvasPagesOptions): CanvasPage[];
|
|
48
|
+
/** Deterministic masonry placement. Full measured heights (including 20,000px pages) are never capped. */
|
|
49
|
+
declare function layoutCanvasPages(pages: readonly CanvasPage[], width: number, heights: Record<string, number>, positions?: Record<string, CanvasPosition>): CanvasPageLayout[];
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/app-canvas/AppCanvas.d.ts
|
|
52
|
+
interface CanvasBreakpoint {
|
|
53
|
+
id: string;
|
|
54
|
+
label: string;
|
|
55
|
+
width: number;
|
|
56
|
+
height: number;
|
|
57
|
+
}
|
|
58
|
+
declare const defaultCanvasBreakpoints: CanvasBreakpoint[];
|
|
59
|
+
interface AppCanvasProps {
|
|
60
|
+
router: CanvasRouter;
|
|
61
|
+
examples?: Record<string, CanvasRouteExample>;
|
|
62
|
+
exclude?: string[];
|
|
63
|
+
excludePaths?: string[];
|
|
64
|
+
breakpoints?: CanvasBreakpoint[];
|
|
65
|
+
storageKey?: string;
|
|
66
|
+
frameUrl?: (page: CanvasPage) => string;
|
|
67
|
+
}
|
|
68
|
+
/** Live route artboards. The camera transforms only the canvas, never the iframe viewport width. */
|
|
69
|
+
declare function AppCanvas({ router, examples, exclude, excludePaths, breakpoints, storageKey, frameUrl }: AppCanvasProps): import("react").JSX.Element;
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/app-canvas/AppCanvasPage.d.ts
|
|
72
|
+
declare const APP_CANVAS_PATH = "/_canvas";
|
|
73
|
+
interface AppCanvasPageProps extends AppCanvasProps {
|
|
74
|
+
/** Excluded from the catalog to prevent recursively rendering the canvas itself. */
|
|
75
|
+
canvasPath?: string;
|
|
76
|
+
}
|
|
77
|
+
/** Ready-made route page. Mount beneath the app's UIConfigurationProvider. */
|
|
78
|
+
declare function AppCanvasPage({ canvasPath, excludePaths, ...props }: AppCanvasPageProps): import("react").JSX.Element | null;
|
|
79
|
+
//#endregion
|
|
80
|
+
export { AppCanvasProps as a, CanvasPage as c, CanvasRouter as d, discoverCanvasPages as f, AppCanvas as i, CanvasPosition as l, AppCanvasPage as n, CanvasBreakpoint as o, layoutCanvasPages as p, AppCanvasPageProps as r, defaultCanvasBreakpoints as s, APP_CANVAS_PATH as t, CanvasRouteExample as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { n as GroupedSelectControlProps, o as SelectBaseProps, r as GroupedSelectProps, t as DefaultInitialSelectItem } from "./SelectBase-
|
|
2
|
+
import { n as GroupedSelectControlProps, o as SelectBaseProps, r as GroupedSelectProps, t as DefaultInitialSelectItem } from "./SelectBase-BkIhS9Dg.js";
|
|
3
3
|
import { s as OmitDiscriminatedUnion } from "./common-UBFya8WY.js";
|
|
4
4
|
import { ReactElement } from "react";
|
|
5
5
|
import { Key } from "react-aria-components";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { n as TypographyProps } from "./Typography-
|
|
3
|
-
import { Ref } from "react";
|
|
1
|
+
import { t as BadgeButtonVariants } from "./badgeButton.cva-B2bgCQP6.js";
|
|
2
|
+
import { n as TypographyProps } from "./Typography-XljT9s02.js";
|
|
3
|
+
import { FC, Ref, SVGProps } from "react";
|
|
4
4
|
import { ButtonProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/text/Badge/Badge.d.ts
|
|
6
|
-
interface BadgeProps extends
|
|
6
|
+
interface BadgeProps extends BadgeButtonVariants {
|
|
7
7
|
className?: string;
|
|
8
8
|
children: string;
|
|
9
9
|
/** Preferred spelling. `dismissable` remains supported. */
|
|
@@ -11,8 +11,10 @@ interface BadgeProps extends PillButtonVariants {
|
|
|
11
11
|
dismissable?: boolean;
|
|
12
12
|
isDisabled?: boolean;
|
|
13
13
|
disabled?: boolean;
|
|
14
|
+
/** Display the toggled appearance without making the badge interactive. */
|
|
15
|
+
isSelected?: boolean;
|
|
16
|
+
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
14
17
|
contentRef?: Ref<HTMLElement>;
|
|
15
|
-
textVariant?: TypographyProps["variant"];
|
|
16
18
|
textSize?: TypographyProps["size"];
|
|
17
19
|
/** Preferred callback name. */
|
|
18
20
|
onRemove?: () => void;
|
|
@@ -23,6 +25,6 @@ interface BadgeProps extends PillButtonVariants {
|
|
|
23
25
|
/** Compatibility callback for the historical button-like prop surface. */
|
|
24
26
|
onPress?: ButtonProps["onPress"];
|
|
25
27
|
}
|
|
26
|
-
declare const Badge: ({ className, children, dismissible, dismissable, isDisabled, disabled, onRemove, onDismiss, dismissButtonProps, excludeFromTabOrder, onPress, contentRef, variant,
|
|
28
|
+
declare const Badge: ({ className, children, dismissible, dismissable, isDisabled, disabled, isSelected, icon: Icon, onRemove, onDismiss, dismissButtonProps, excludeFromTabOrder, onPress, contentRef, variant, textSize: textSizeProp, ...appearanceProps }: BadgeProps) => import("react").JSX.Element;
|
|
27
29
|
//#endregion
|
|
28
30
|
export { BadgeProps as n, Badge as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { t as BadgeButtonVariants } from "./badgeButton.cva-B2bgCQP6.js";
|
|
2
|
+
import { t as ButtonContentVariantProps } from "./buttonContent.cva-DPIlROA9.js";
|
|
3
|
+
import { FC, ReactNode, Ref, SVGProps } from "react";
|
|
4
|
+
import { ButtonProps, ToggleButtonProps } from "react-aria-components";
|
|
5
|
+
//#region src/components/buttons/BadgeButton/BadgeButton.d.ts
|
|
6
|
+
interface BadgeButtonProps extends ButtonProps, Omit<ToggleButtonProps, keyof ButtonProps>, ButtonContentVariantProps, BadgeButtonVariants {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
dismissable?: boolean;
|
|
9
|
+
toggle?: boolean;
|
|
10
|
+
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
11
|
+
contentRef?: Ref<HTMLElement>;
|
|
12
|
+
}
|
|
13
|
+
declare const BadgeButton: ({ children, dismissable, toggle, icon, iconPosition, contentRef, ...props }: BadgeButtonProps) => import("react").JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { BadgeButtonProps as n, BadgeButton as t };
|
|
@@ -1,13 +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 X } from "./x-B6vfz8Ps.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import {
|
|
4
|
+
import { t as IconSlot } from "./IconSlot-DSK7qNxc.js";
|
|
5
|
+
import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "./Dialog-CKLkS00H.js";
|
|
5
6
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
6
|
-
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-
|
|
7
|
-
import { t as Typography } from "./Typography-
|
|
7
|
+
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-w60dVQcb.js";
|
|
8
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
8
9
|
import { a as $a8ea2faf2ebe4d2f$re_export$useResizeObserver, o as $a8ea2faf2ebe4d2f$re_export$useViewportSize } from "./import-BE0r63d8.js";
|
|
9
10
|
import "./i18n-CX2EjhJI.js";
|
|
10
|
-
import { n as useStateAndRef, t as DomUtils } from "./dom.utils-
|
|
11
|
+
import { n as useStateAndRef, t as DomUtils } from "./dom.utils-D1AopHx9.js";
|
|
11
12
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
12
13
|
import { c } from "react/compiler-runtime";
|
|
13
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -28,13 +29,13 @@ const BottomSheetHeader = (t0) => {
|
|
|
28
29
|
let t3;
|
|
29
30
|
if ($[2] !== dragControls || $[3] !== hideThumb || $[4] !== isDismissable) {
|
|
30
31
|
t3 = isDismissable && !hideThumb && /* @__PURE__ */ jsx("div", {
|
|
31
|
-
className: "flex shrink-0 cursor-grab touch-none justify-center px-list-side-title pt-list-height-title-top pb-2
|
|
32
|
+
className: "flex shrink-0 cursor-grab touch-none justify-center px-list-side-title pt-list-height-title-top pb-2.5",
|
|
32
33
|
onPointerDown: (e) => {
|
|
33
34
|
e.preventDefault();
|
|
34
35
|
dragControls?.start(e);
|
|
35
36
|
},
|
|
36
37
|
"aria-hidden": true,
|
|
37
|
-
children: /* @__PURE__ */ jsx("div", { className: "h-1 w-16 shrink-0 rounded-full bg-
|
|
38
|
+
children: /* @__PURE__ */ jsx("div", { className: "h-1 w-16 shrink-0 rounded-full bg-surface-default-popover" })
|
|
38
39
|
});
|
|
39
40
|
$[2] = dragControls;
|
|
40
41
|
$[3] = hideThumb;
|
|
@@ -46,15 +47,15 @@ const BottomSheetHeader = (t0) => {
|
|
|
46
47
|
t4 = !hideHeader && /* @__PURE__ */ jsxs("div", {
|
|
47
48
|
className: "flex justify-between px-list-side-title",
|
|
48
49
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
49
|
-
size: "
|
|
50
|
-
|
|
50
|
+
size: "small",
|
|
51
|
+
className: "font-bold",
|
|
51
52
|
...headerTypography,
|
|
52
53
|
children: label
|
|
53
54
|
}), onClose && isDismissable && /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
54
55
|
onPress: onClose,
|
|
55
56
|
"aria-label": t(_temp),
|
|
56
|
-
className: "-m-2 shrink-0 p-2 text-
|
|
57
|
-
children: /* @__PURE__ */ jsx(
|
|
57
|
+
className: "-m-2 shrink-0 p-2 text-surface-default-foreground focus-visible:outline-interactive-ring",
|
|
58
|
+
children: /* @__PURE__ */ jsx(IconSlot, { icon: X })
|
|
58
59
|
})]
|
|
59
60
|
});
|
|
60
61
|
$[6] = headerTypography;
|
|
@@ -257,7 +258,7 @@ const BottomSheetBase = ({ isOpen, onOpenChange, onStateChange, isDismissable =
|
|
|
257
258
|
className: clsx("shrink-0", height === "auto" && "grow")
|
|
258
259
|
}),
|
|
259
260
|
/* @__PURE__ */ jsxs("div", {
|
|
260
|
-
className: clsx("pointer-events-auto relative flex min-h-0 flex-col items-stretch rounded-t-xl bg-
|
|
261
|
+
className: clsx("pointer-events-auto relative flex min-h-0 flex-col items-stretch rounded-t-xl bg-surface-default-card", height === "full" && "flex-1"),
|
|
261
262
|
children: [
|
|
262
263
|
/* @__PURE__ */ jsx("div", {
|
|
263
264
|
className: clsx("absolute bottom-full left-0 w-full outline-none", isDismissable ? "h-0" : "h-screen"),
|
|
@@ -281,7 +282,7 @@ const BottomSheetBase = ({ isOpen, onOpenChange, onStateChange, isDismissable =
|
|
|
281
282
|
className: "shrink-0",
|
|
282
283
|
style: { height: `${footerHeight + (isScrollable ? 0 : sheetMarginBottom)}px` }
|
|
283
284
|
}),
|
|
284
|
-
/* @__PURE__ */ jsx("div", { className: "absolute top-full h-screen w-full bg-
|
|
285
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-full h-screen w-full bg-surface-default-card" })
|
|
285
286
|
]
|
|
286
287
|
}),
|
|
287
288
|
footer && /* @__PURE__ */ jsx(motion.div, {
|
|
@@ -289,7 +290,7 @@ const BottomSheetBase = ({ isOpen, onOpenChange, onStateChange, isDismissable =
|
|
|
289
290
|
initial: { opacity: 0 },
|
|
290
291
|
exit: { opacity: 0 },
|
|
291
292
|
ref: setFooterElement,
|
|
292
|
-
className: clsx("pointer-events-auto absolute z-overlay-above w-full bg-
|
|
293
|
+
className: clsx("pointer-events-auto absolute z-overlay-above w-full bg-surface-default-background", "top-[calc(100dvh-var(--bottom-sheet-keyboard-inset,0))] left-0 translate-y-[calc(-100%-var(--scroll-position,0))]"),
|
|
293
294
|
children: footer
|
|
294
295
|
})
|
|
295
296
|
] })
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as TypographyVariantProps } from "./typography.cva-
|
|
1
|
+
import { t as TypographyVariantProps } from "./typography.cva-D1JOEYl-.js";
|
|
2
2
|
import { ReactNode, RefObject } from "react";
|
|
3
3
|
//#region src/components/overlays/BottomSheet/BottomSheet.d.ts
|
|
4
4
|
type BottomSheetState = "closed" | "opening" | "opened" | "closing";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as BottomSheetProps } from "./BottomSheet-
|
|
1
|
+
import { t as BottomSheetProps } from "./BottomSheet-DbQuzfAB.js";
|
|
2
2
|
//#region src/components/overlays/BottomSheet/BottomSheet.lazy.d.ts
|
|
3
3
|
declare const BottomSheet: ({ isOpen, onOpenChange, trigger, ...props }: BottomSheetProps) => import("react").JSX.Element;
|
|
4
4
|
//#endregion
|
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import { t as DropdownMenuDesktop } from "./DropdownMenuDesktop-
|
|
1
|
+
import { t as DropdownMenuDesktop } from "./DropdownMenuDesktop-Cl9gZVq0.js";
|
|
2
2
|
import { t as ChevronRight } from "./chevron-right-3nKJR5Bb.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
+
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
5
|
+
import { t as IconSlot } from "./IconSlot-DSK7qNxc.js";
|
|
4
6
|
import { l as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-Czcqspm7.js";
|
|
5
|
-
import {
|
|
7
|
+
import { m as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5 } from "./Dialog-CKLkS00H.js";
|
|
6
8
|
import { n as $984a1fc08f87e4f3$export$e2509388b49734e7, t as $984a1fc08f87e4f3$export$a6c7ac8248d6e38a } from "./Link-FupWOW1f.js";
|
|
7
9
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
8
|
-
import { t as Tooltip } from "./Tooltip
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as Typography } from "./Typography-
|
|
10
|
+
import { t as Tooltip } from "./Tooltip-CpG1nz7Y.js";
|
|
11
|
+
import { a as breadcrumbsDefinition, i as breadcrumbSegmentDefinition, n as breadcrumbIconDefinition, r as breadcrumbItemDefinition, t as breadcrumbChevronDefinition } from "./breadcrumbs.cva-7zzdDhVR.js";
|
|
12
|
+
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
11
13
|
import { t as LinkContext } from "./link.context-J7aQtMOr.js";
|
|
12
14
|
import $ahdqC$react, { createContext, forwardRef, useContext, useLayoutEffect, useRef, useState } from "react";
|
|
13
15
|
import { c } from "react/compiler-runtime";
|
|
16
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
17
|
import { mergeProps } from "react-aria/mergeProps";
|
|
15
18
|
import { CollectionBuilder, createLeafComponent } from "react-aria/CollectionBuilder";
|
|
16
19
|
import { filterDOMProps } from "react-aria/filterDOMProps";
|
|
17
20
|
import { useBreadcrumbs } from "react-aria/useBreadcrumbs";
|
|
18
21
|
import { Collection } from "react-aria/Collection";
|
|
19
22
|
import { CollectionNode } from "react-aria/private/collections/BaseCollection";
|
|
20
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
21
23
|
//#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Breadcrumbs.mjs
|
|
22
24
|
const $65dbe90f868fa5f4$export$65596d3621b0a4a0 = /*#__PURE__*/ createContext(null);
|
|
23
25
|
const $65dbe90f868fa5f4$export$2dc68d50d56fbbd = /*#__PURE__*/ forwardRef(function Breadcrumbs(props, ref) {
|
|
@@ -73,31 +75,6 @@ const $65dbe90f868fa5f4$export$dabcc1ec9dd9d1cc = /*#__PURE__*/ createLeafCompon
|
|
|
73
75
|
}, /*#__PURE__*/ $ahdqC$react.createElement($984a1fc08f87e4f3$export$e2509388b49734e7.Provider, { value: linkProps }, renderProps.children));
|
|
74
76
|
});
|
|
75
77
|
//#endregion
|
|
76
|
-
//#region src/components/Breadcrumbs/breadcrumbs.cva.ts
|
|
77
|
-
const breadcrumbsDefinition = UIOverrides.defineConfig({ base: ["flex items-center gap-breadcrumbs-gap-segment-to-segment"] });
|
|
78
|
-
const breadcrumbSegmentDefinition = UIOverrides.defineConfig({ base: ["flex items-center gap-breadcrumbs-gap-segment-to-segment"] });
|
|
79
|
-
const breadcrumbChevronDefinition = UIOverrides.defineConfig({ base: ["size-6 shrink-0 text-interactive-text-secondary-idle"] });
|
|
80
|
-
const breadcrumbIconDefinition = UIOverrides.defineConfig({ base: ["size-4 shrink-0"] });
|
|
81
|
-
const breadcrumbItemDefinition = UIOverrides.defineConfig({
|
|
82
|
-
base: ["inline-flex cursor-pointer items-center gap-breadcrumbs-gap-icon-to-text whitespace-nowrap font-inter font-medium text-label-3 no-underline"],
|
|
83
|
-
config: {
|
|
84
|
-
variants: {
|
|
85
|
-
isCurrent: {
|
|
86
|
-
true: "text-interactive-text-primary-idle",
|
|
87
|
-
false: "text-interactive-text-secondary-idle hover:text-interactive-text-secondary-hover"
|
|
88
|
-
},
|
|
89
|
-
isEllipsis: {
|
|
90
|
-
true: "hover:text-interactive-text-primary-hover!",
|
|
91
|
-
false: ""
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
defaultVariants: {
|
|
95
|
-
isCurrent: false,
|
|
96
|
-
isEllipsis: false
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
//#endregion
|
|
101
78
|
//#region src/components/Breadcrumbs/Breadcrumbs.tsx
|
|
102
79
|
const Breadcrumbs = (t0) => {
|
|
103
80
|
const $ = c(58);
|
|
@@ -145,12 +122,11 @@ const Breadcrumbs = (t0) => {
|
|
|
145
122
|
t4 = (item, isCurrent, iconOnly_0) => /* @__PURE__ */ jsxs(LinkComponent, {
|
|
146
123
|
...item.link,
|
|
147
124
|
className: breadcrumbItem({ isCurrent }),
|
|
148
|
-
children: [item.icon && /* @__PURE__ */ jsx(
|
|
149
|
-
|
|
150
|
-
|
|
125
|
+
children: [item.icon && /* @__PURE__ */ jsx(IconSlot, {
|
|
126
|
+
icon: /* @__PURE__ */ jsx(item.icon, { "aria-label": item.label }),
|
|
127
|
+
className: breadcrumbIconCva({})
|
|
151
128
|
}), !iconOnly_0 && /* @__PURE__ */ jsx(Typography, {
|
|
152
|
-
|
|
153
|
-
size: "label-3",
|
|
129
|
+
size: "small",
|
|
154
130
|
children: item.label
|
|
155
131
|
})]
|
|
156
132
|
});
|
|
@@ -172,8 +148,7 @@ const Breadcrumbs = (t0) => {
|
|
|
172
148
|
isEllipsis: true
|
|
173
149
|
}),
|
|
174
150
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
175
|
-
|
|
176
|
-
size: "label-3",
|
|
151
|
+
size: "small",
|
|
177
152
|
children: "..."
|
|
178
153
|
})
|
|
179
154
|
})
|
|
@@ -211,7 +186,10 @@ const Breadcrumbs = (t0) => {
|
|
|
211
186
|
} else t9 = $[18];
|
|
212
187
|
let t10;
|
|
213
188
|
if ($[19] !== t9) {
|
|
214
|
-
t10 = /* @__PURE__ */ jsx(
|
|
189
|
+
t10 = /* @__PURE__ */ jsx(IconSlot, {
|
|
190
|
+
icon: ChevronRight,
|
|
191
|
+
className: t9
|
|
192
|
+
});
|
|
215
193
|
$[19] = t9;
|
|
216
194
|
$[20] = t10;
|
|
217
195
|
} else t10 = $[20];
|
|
@@ -243,7 +221,10 @@ const Breadcrumbs = (t0) => {
|
|
|
243
221
|
} else t14 = $[29];
|
|
244
222
|
let t15;
|
|
245
223
|
if ($[30] !== t14) {
|
|
246
|
-
t15 = /* @__PURE__ */ jsx(
|
|
224
|
+
t15 = /* @__PURE__ */ jsx(IconSlot, {
|
|
225
|
+
icon: ChevronRight,
|
|
226
|
+
className: t14
|
|
227
|
+
});
|
|
247
228
|
$[30] = t14;
|
|
248
229
|
$[31] = t15;
|
|
249
230
|
} else t15 = $[31];
|
|
@@ -308,7 +289,10 @@ const Breadcrumbs = (t0) => {
|
|
|
308
289
|
className: breadcrumbSegmentCva({}),
|
|
309
290
|
children: (t9) => {
|
|
310
291
|
const { isCurrent: isCurrent_0 } = t9;
|
|
311
|
-
return /* @__PURE__ */ jsxs(Fragment$1, { children: [renderBreadcrumbLink(item_1, isCurrent_0, iconOnly && item_1 === items[0]), !isCurrent_0 && /* @__PURE__ */ jsx(
|
|
292
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [renderBreadcrumbLink(item_1, isCurrent_0, iconOnly && item_1 === items[0]), !isCurrent_0 && /* @__PURE__ */ jsx(IconSlot, {
|
|
293
|
+
icon: ChevronRight,
|
|
294
|
+
className: breadcrumbChevronCva({})
|
|
295
|
+
})] });
|
|
312
296
|
}
|
|
313
297
|
});
|
|
314
298
|
$[46] = breadcrumbChevronCva;
|
|
@@ -348,4 +332,4 @@ function _temp2(i) {
|
|
|
348
332
|
return i.label;
|
|
349
333
|
}
|
|
350
334
|
//#endregion
|
|
351
|
-
export {
|
|
335
|
+
export { Breadcrumbs as t };
|