@cerberus-design/react 0.19.2 → 0.20.0
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/build/legacy/_tsup-dts-rollup.d.cts +242 -11
- package/build/legacy/components/accordion/index.cjs +23 -11
- package/build/legacy/components/accordion/index.cjs.map +1 -1
- package/build/legacy/components/accordion/item-group.cjs +23 -11
- package/build/legacy/components/accordion/item-group.cjs.map +1 -1
- package/build/legacy/components/accordion/item-indicator.cjs +23 -11
- package/build/legacy/components/accordion/item-indicator.cjs.map +1 -1
- package/build/legacy/components/accordion/parts.cjs +23 -11
- package/build/legacy/components/accordion/parts.cjs.map +1 -1
- package/build/legacy/components/accordion/primitives.cjs +23 -11
- package/build/legacy/components/accordion/primitives.cjs.map +1 -1
- package/build/legacy/components/admonition/admonition.cjs +23 -11
- package/build/legacy/components/admonition/admonition.cjs.map +1 -1
- package/build/legacy/components/admonition/index.cjs +23 -11
- package/build/legacy/components/admonition/index.cjs.map +1 -1
- package/build/legacy/components/admonition/match-avatar.cjs +23 -11
- package/build/legacy/components/admonition/match-avatar.cjs.map +1 -1
- package/build/legacy/components/admonition/parts.cjs +23 -11
- package/build/legacy/components/admonition/parts.cjs.map +1 -1
- package/build/legacy/components/admonition/primitives.cjs +23 -11
- package/build/legacy/components/admonition/primitives.cjs.map +1 -1
- package/build/legacy/components/avatar/avatar.cjs +23 -11
- package/build/legacy/components/avatar/avatar.cjs.map +1 -1
- package/build/legacy/components/avatar/index.cjs +23 -11
- package/build/legacy/components/avatar/index.cjs.map +1 -1
- package/build/legacy/components/avatar/parts.cjs +23 -11
- package/build/legacy/components/avatar/parts.cjs.map +1 -1
- package/build/legacy/components/avatar/primitives.cjs +23 -11
- package/build/legacy/components/avatar/primitives.cjs.map +1 -1
- package/build/legacy/components/button/button.cjs +23 -11
- package/build/legacy/components/button/button.cjs.map +1 -1
- package/build/legacy/components/button/index.cjs +23 -11
- package/build/legacy/components/button/index.cjs.map +1 -1
- package/build/legacy/components/button/parts.cjs +23 -11
- package/build/legacy/components/button/parts.cjs.map +1 -1
- package/build/legacy/components/button/primitives.cjs +23 -11
- package/build/legacy/components/button/primitives.cjs.map +1 -1
- package/build/legacy/components/carousel/carousel.cjs +239 -0
- package/build/legacy/components/carousel/carousel.cjs.map +1 -0
- package/build/legacy/components/carousel/carousel.d.cts +2 -0
- package/build/legacy/components/carousel/index.cjs +257 -0
- package/build/legacy/components/carousel/index.cjs.map +1 -0
- package/build/legacy/components/carousel/index.d.cts +19 -0
- package/build/legacy/components/carousel/parts.cjs +198 -0
- package/build/legacy/components/carousel/parts.cjs.map +1 -0
- package/build/legacy/components/carousel/parts.d.cts +1 -0
- package/build/legacy/components/carousel/primitives.cjs +198 -0
- package/build/legacy/components/carousel/primitives.cjs.map +1 -0
- package/build/legacy/components/carousel/primitives.d.cts +16 -0
- package/build/legacy/components/checkbox/checkbox-icon.cjs +23 -11
- package/build/legacy/components/checkbox/checkbox-icon.cjs.map +1 -1
- package/build/legacy/components/checkbox/checkbox.cjs +23 -11
- package/build/legacy/components/checkbox/checkbox.cjs.map +1 -1
- package/build/legacy/components/checkbox/index.cjs +23 -11
- package/build/legacy/components/checkbox/index.cjs.map +1 -1
- package/build/legacy/components/checkbox/parts.cjs +23 -11
- package/build/legacy/components/checkbox/parts.cjs.map +1 -1
- package/build/legacy/components/checkbox/primitives.cjs +23 -11
- package/build/legacy/components/checkbox/primitives.cjs.map +1 -1
- package/build/legacy/components/circular-progress/circular-progress.cjs +23 -11
- package/build/legacy/components/circular-progress/circular-progress.cjs.map +1 -1
- package/build/legacy/components/circular-progress/index.cjs +23 -11
- package/build/legacy/components/circular-progress/index.cjs.map +1 -1
- package/build/legacy/components/circular-progress/primitives.cjs +23 -11
- package/build/legacy/components/circular-progress/primitives.cjs.map +1 -1
- package/build/legacy/components/combobox/combobox.cjs +23 -11
- package/build/legacy/components/combobox/combobox.cjs.map +1 -1
- package/build/legacy/components/combobox/index.cjs +23 -11
- package/build/legacy/components/combobox/index.cjs.map +1 -1
- package/build/legacy/components/combobox/item-group.cjs +23 -11
- package/build/legacy/components/combobox/item-group.cjs.map +1 -1
- package/build/legacy/components/combobox/item.cjs +23 -11
- package/build/legacy/components/combobox/item.cjs.map +1 -1
- package/build/legacy/components/combobox/parts.cjs +23 -11
- package/build/legacy/components/combobox/parts.cjs.map +1 -1
- package/build/legacy/components/combobox/primitives.cjs +23 -11
- package/build/legacy/components/combobox/primitives.cjs.map +1 -1
- package/build/legacy/components/combobox/use-stateful-collection.cjs +23 -11
- package/build/legacy/components/combobox/use-stateful-collection.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/index.cjs +23 -11
- package/build/legacy/components/cta-dialog/index.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/provider.cjs +23 -11
- package/build/legacy/components/cta-dialog/provider.cjs.map +1 -1
- package/build/legacy/components/cta-dialog/trigger-item.cjs +23 -11
- package/build/legacy/components/cta-dialog/trigger-item.cjs.map +1 -1
- package/build/legacy/components/date-picker/calendar.cjs +23 -11
- package/build/legacy/components/date-picker/calendar.cjs.map +1 -1
- package/build/legacy/components/date-picker/content.cjs +23 -11
- package/build/legacy/components/date-picker/content.cjs.map +1 -1
- package/build/legacy/components/date-picker/date-picker.cjs +23 -11
- package/build/legacy/components/date-picker/date-picker.cjs.map +1 -1
- package/build/legacy/components/date-picker/day-view.cjs +23 -11
- package/build/legacy/components/date-picker/day-view.cjs.map +1 -1
- package/build/legacy/components/date-picker/index.cjs +23 -11
- package/build/legacy/components/date-picker/index.cjs.map +1 -1
- package/build/legacy/components/date-picker/input.cjs +23 -11
- package/build/legacy/components/date-picker/input.cjs.map +1 -1
- package/build/legacy/components/date-picker/month-view.cjs +23 -11
- package/build/legacy/components/date-picker/month-view.cjs.map +1 -1
- package/build/legacy/components/date-picker/parts.cjs +23 -11
- package/build/legacy/components/date-picker/parts.cjs.map +1 -1
- package/build/legacy/components/date-picker/primitives.cjs +23 -11
- package/build/legacy/components/date-picker/primitives.cjs.map +1 -1
- package/build/legacy/components/date-picker/range-input.cjs +23 -11
- package/build/legacy/components/date-picker/range-input.cjs.map +1 -1
- package/build/legacy/components/date-picker/trigger.cjs +23 -11
- package/build/legacy/components/date-picker/trigger.cjs.map +1 -1
- package/build/legacy/components/date-picker/view-control-group.cjs +23 -11
- package/build/legacy/components/date-picker/view-control-group.cjs.map +1 -1
- package/build/legacy/components/date-picker/year-view.cjs +23 -11
- package/build/legacy/components/date-picker/year-view.cjs.map +1 -1
- package/build/legacy/components/deprecated/Label.cjs +23 -11
- package/build/legacy/components/deprecated/Label.cjs.map +1 -1
- package/build/legacy/components/dialog/close-icon-trigger.cjs +23 -11
- package/build/legacy/components/dialog/close-icon-trigger.cjs.map +1 -1
- package/build/legacy/components/dialog/dialog.cjs +23 -11
- package/build/legacy/components/dialog/dialog.cjs.map +1 -1
- package/build/legacy/components/dialog/index.cjs +23 -11
- package/build/legacy/components/dialog/index.cjs.map +1 -1
- package/build/legacy/components/dialog/parts.cjs +23 -11
- package/build/legacy/components/dialog/parts.cjs.map +1 -1
- package/build/legacy/components/dialog/primitives.cjs +23 -11
- package/build/legacy/components/dialog/primitives.cjs.map +1 -1
- package/build/legacy/components/field/field.cjs +23 -11
- package/build/legacy/components/field/field.cjs.map +1 -1
- package/build/legacy/components/field/helper-text.cjs +23 -11
- package/build/legacy/components/field/helper-text.cjs.map +1 -1
- package/build/legacy/components/field/index.cjs +23 -11
- package/build/legacy/components/field/index.cjs.map +1 -1
- package/build/legacy/components/field/input.cjs +23 -11
- package/build/legacy/components/field/input.cjs.map +1 -1
- package/build/legacy/components/field/parts.cjs +23 -11
- package/build/legacy/components/field/parts.cjs.map +1 -1
- package/build/legacy/components/field/primitives.cjs +23 -11
- package/build/legacy/components/field/primitives.cjs.map +1 -1
- package/build/legacy/components/fieldset/fieldset.cjs +23 -11
- package/build/legacy/components/fieldset/fieldset.cjs.map +1 -1
- package/build/legacy/components/fieldset/index.cjs +23 -11
- package/build/legacy/components/fieldset/index.cjs.map +1 -1
- package/build/legacy/components/fieldset/parts.cjs +23 -11
- package/build/legacy/components/fieldset/parts.cjs.map +1 -1
- package/build/legacy/components/fieldset/primitives.cjs +23 -11
- package/build/legacy/components/fieldset/primitives.cjs.map +1 -1
- package/build/legacy/components/file-upload/file-status.cjs +23 -11
- package/build/legacy/components/file-upload/file-status.cjs.map +1 -1
- package/build/legacy/components/file-upload/file-uploader.cjs +23 -11
- package/build/legacy/components/file-upload/file-uploader.cjs.map +1 -1
- package/build/legacy/components/file-upload/index.cjs +23 -11
- package/build/legacy/components/file-upload/index.cjs.map +1 -1
- package/build/legacy/components/icon-button/button.cjs +23 -11
- package/build/legacy/components/icon-button/button.cjs.map +1 -1
- package/build/legacy/components/icon-button/index.cjs +23 -11
- package/build/legacy/components/icon-button/index.cjs.map +1 -1
- package/build/legacy/components/icon-button/primitives.cjs +23 -11
- package/build/legacy/components/icon-button/primitives.cjs.map +1 -1
- package/build/legacy/components/menu/index.cjs +23 -11
- package/build/legacy/components/menu/index.cjs.map +1 -1
- package/build/legacy/components/menu/menu.cjs +23 -11
- package/build/legacy/components/menu/menu.cjs.map +1 -1
- package/build/legacy/components/menu/primitives.cjs +23 -11
- package/build/legacy/components/menu/primitives.cjs.map +1 -1
- package/build/legacy/components/notifications/center.cjs +23 -11
- package/build/legacy/components/notifications/center.cjs.map +1 -1
- package/build/legacy/components/notifications/close-trigger.cjs +23 -11
- package/build/legacy/components/notifications/close-trigger.cjs.map +1 -1
- package/build/legacy/components/notifications/index.cjs +23 -11
- package/build/legacy/components/notifications/index.cjs.map +1 -1
- package/build/legacy/components/notifications/parts.cjs +23 -11
- package/build/legacy/components/notifications/parts.cjs.map +1 -1
- package/build/legacy/components/notifications/primitives.cjs +23 -11
- package/build/legacy/components/notifications/primitives.cjs.map +1 -1
- package/build/legacy/components/progress/index.cjs +23 -11
- package/build/legacy/components/progress/index.cjs.map +1 -1
- package/build/legacy/components/progress/primitives.cjs +23 -11
- package/build/legacy/components/progress/primitives.cjs.map +1 -1
- package/build/legacy/components/progress/progress-bar.cjs +23 -11
- package/build/legacy/components/progress/progress-bar.cjs.map +1 -1
- package/build/legacy/components/radio/index.cjs +23 -11
- package/build/legacy/components/radio/index.cjs.map +1 -1
- package/build/legacy/components/radio/parts.cjs +23 -11
- package/build/legacy/components/radio/parts.cjs.map +1 -1
- package/build/legacy/components/radio/primitives.cjs +23 -11
- package/build/legacy/components/radio/primitives.cjs.map +1 -1
- package/build/legacy/components/radio/radio.cjs +23 -11
- package/build/legacy/components/radio/radio.cjs.map +1 -1
- package/build/legacy/components/rating/index.cjs +23 -11
- package/build/legacy/components/rating/index.cjs.map +1 -1
- package/build/legacy/components/rating/parts.cjs +23 -11
- package/build/legacy/components/rating/parts.cjs.map +1 -1
- package/build/legacy/components/rating/primitives.cjs +23 -11
- package/build/legacy/components/rating/primitives.cjs.map +1 -1
- package/build/legacy/components/rating/rating.cjs +23 -11
- package/build/legacy/components/rating/rating.cjs.map +1 -1
- package/build/legacy/components/select/index.cjs +23 -11
- package/build/legacy/components/select/index.cjs.map +1 -1
- package/build/legacy/components/select/option-group.cjs +23 -11
- package/build/legacy/components/select/option-group.cjs.map +1 -1
- package/build/legacy/components/select/option.cjs +23 -11
- package/build/legacy/components/select/option.cjs.map +1 -1
- package/build/legacy/components/select/parts.cjs +23 -11
- package/build/legacy/components/select/parts.cjs.map +1 -1
- package/build/legacy/components/select/primitives.cjs +23 -11
- package/build/legacy/components/select/primitives.cjs.map +1 -1
- package/build/legacy/components/select/select.cjs +23 -11
- package/build/legacy/components/select/select.cjs.map +1 -1
- package/build/legacy/components/switch/index.cjs +23 -11
- package/build/legacy/components/switch/index.cjs.map +1 -1
- package/build/legacy/components/switch/parts.cjs +23 -11
- package/build/legacy/components/switch/parts.cjs.map +1 -1
- package/build/legacy/components/switch/primitives.cjs +23 -11
- package/build/legacy/components/switch/primitives.cjs.map +1 -1
- package/build/legacy/components/switch/switch.cjs +23 -11
- package/build/legacy/components/switch/switch.cjs.map +1 -1
- package/build/legacy/components/table/index.cjs +23 -11
- package/build/legacy/components/table/index.cjs.map +1 -1
- package/build/legacy/components/table/parts.cjs +23 -11
- package/build/legacy/components/table/parts.cjs.map +1 -1
- package/build/legacy/components/table/primitives.cjs +23 -11
- package/build/legacy/components/table/primitives.cjs.map +1 -1
- package/build/legacy/components/table/table.cjs +23 -11
- package/build/legacy/components/table/table.cjs.map +1 -1
- package/build/legacy/components/tabs/index.cjs +23 -11
- package/build/legacy/components/tabs/index.cjs.map +1 -1
- package/build/legacy/components/tabs/parts.cjs +23 -11
- package/build/legacy/components/tabs/parts.cjs.map +1 -1
- package/build/legacy/components/tabs/primitives.cjs +23 -11
- package/build/legacy/components/tabs/primitives.cjs.map +1 -1
- package/build/legacy/components/tabs/tabs.cjs +23 -11
- package/build/legacy/components/tabs/tabs.cjs.map +1 -1
- package/build/legacy/components/tag/index.cjs +23 -11
- package/build/legacy/components/tag/index.cjs.map +1 -1
- package/build/legacy/components/tag/tag.cjs +23 -11
- package/build/legacy/components/tag/tag.cjs.map +1 -1
- package/build/legacy/components/theme/index.cjs +23 -11
- package/build/legacy/components/theme/index.cjs.map +1 -1
- package/build/legacy/components/theme/theme.cjs +23 -11
- package/build/legacy/components/theme/theme.cjs.map +1 -1
- package/build/legacy/components/toggle/index.cjs +23 -11
- package/build/legacy/components/toggle/index.cjs.map +1 -1
- package/build/legacy/components/toggle/parts.cjs +23 -11
- package/build/legacy/components/toggle/parts.cjs.map +1 -1
- package/build/legacy/components/toggle/primitives.cjs +23 -11
- package/build/legacy/components/toggle/primitives.cjs.map +1 -1
- package/build/legacy/components/tooltip/index.cjs +23 -11
- package/build/legacy/components/tooltip/index.cjs.map +1 -1
- package/build/legacy/components/tooltip/parts.cjs +23 -11
- package/build/legacy/components/tooltip/parts.cjs.map +1 -1
- package/build/legacy/components/tooltip/primitives.cjs +23 -11
- package/build/legacy/components/tooltip/primitives.cjs.map +1 -1
- package/build/legacy/components/tooltip/tooltip.cjs +23 -11
- package/build/legacy/components/tooltip/tooltip.cjs.map +1 -1
- package/build/legacy/context/confirm-modal.cjs +23 -11
- package/build/legacy/context/confirm-modal.cjs.map +1 -1
- package/build/legacy/context/field.cjs +23 -11
- package/build/legacy/context/field.cjs.map +1 -1
- package/build/legacy/context/prompt-modal.cjs +23 -11
- package/build/legacy/context/prompt-modal.cjs.map +1 -1
- package/build/legacy/index.cjs +513 -429
- package/build/legacy/index.cjs.map +1 -1
- package/build/legacy/index.d.cts +19 -0
- package/build/legacy/system/factory.cjs +23 -11
- package/build/legacy/system/factory.cjs.map +1 -1
- package/build/legacy/system/index.cjs +23 -11
- package/build/legacy/system/index.cjs.map +1 -1
- package/build/legacy/system/primitive-factory.cjs +23 -11
- package/build/legacy/system/primitive-factory.cjs.map +1 -1
- package/build/modern/_tsup-dts-rollup.d.ts +242 -11
- package/build/modern/{chunk-KHU3YTLM.js → chunk-236F7MCH.js} +2 -2
- package/build/modern/{chunk-BS4V2YJV.js → chunk-2D6BHWPB.js} +3 -3
- package/build/modern/{chunk-IWJCQ4BM.js → chunk-2KVC3OJ3.js} +3 -3
- package/build/modern/{chunk-UHS2TNFC.js → chunk-2UQWJSA6.js} +2 -2
- package/build/modern/{chunk-2VVJATIW.js → chunk-2Z7IKMZC.js} +7 -7
- package/build/modern/{chunk-YAZIBTA2.js → chunk-3NPWHL5X.js} +2 -2
- package/build/modern/{chunk-S7HDNFJJ.js → chunk-3UIV3HMB.js} +2 -2
- package/build/modern/{chunk-WK7TUQIS.js → chunk-3X6VM5FS.js} +2 -2
- package/build/modern/{chunk-Y7UXAFII.js → chunk-3Z6W4ZFA.js} +2 -2
- package/build/modern/{chunk-YMFUEQ2A.js → chunk-45ZTZUCD.js} +3 -3
- package/build/modern/{chunk-7MWSOSOY.js → chunk-4O26WCRC.js} +2 -2
- package/build/modern/{chunk-ZGJDFQN2.js → chunk-4O64W4BA.js} +2 -2
- package/build/modern/{chunk-X6KB5LWU.js → chunk-4SOUI4NF.js} +2 -2
- package/build/modern/{chunk-77QDH2Q5.js → chunk-5B6LMHY2.js} +2 -2
- package/build/modern/{chunk-GLH23RDO.js → chunk-5L5PT37R.js} +2 -2
- package/build/modern/{chunk-ZFEGJR5E.js → chunk-5RLQNM73.js} +2 -2
- package/build/modern/{chunk-262PENBL.js → chunk-6LU43Z4K.js} +3 -3
- package/build/modern/{chunk-AHYFFHUW.js → chunk-76VTLS7X.js} +2 -2
- package/build/modern/{chunk-H6ZGH4VM.js → chunk-7B2ZHSH3.js} +2 -2
- package/build/modern/{chunk-X34MYQKI.js → chunk-7JNOY5MW.js} +2 -2
- package/build/modern/{chunk-FIVEPZ5F.js → chunk-7UKNQ4RD.js} +2 -2
- package/build/modern/{chunk-ABMK5P66.js → chunk-AOLWIMWV.js} +2 -2
- package/build/modern/{chunk-OG74JDYL.js → chunk-AQNXQVXP.js} +2 -2
- package/build/modern/{chunk-4ZQUC4DA.js → chunk-BHZN6P2K.js} +2 -2
- package/build/modern/{chunk-33OXE7IJ.js → chunk-BKPIKVU2.js} +24 -12
- package/build/modern/chunk-BKPIKVU2.js.map +1 -0
- package/build/modern/{chunk-ROWT3E5K.js → chunk-BSJM5VYB.js} +2 -2
- package/build/modern/{chunk-PI7MKQ62.js → chunk-BSZVMBX7.js} +2 -2
- package/build/modern/{chunk-HUKQPIDV.js → chunk-BXDQ5AXV.js} +2 -2
- package/build/modern/{chunk-W7WPVM34.js → chunk-C7XAB665.js} +3 -3
- package/build/modern/{chunk-H7N6M7VO.js → chunk-CHEYITRR.js} +2 -2
- package/build/modern/{chunk-CKCGLHLS.js → chunk-CONG7TGJ.js} +9 -9
- package/build/modern/{chunk-6KGRHE3J.js → chunk-D7BCQ2CQ.js} +2 -2
- package/build/modern/{chunk-7GT7UUCB.js → chunk-DH7SFE2R.js} +2 -2
- package/build/modern/{chunk-6KIXF4ES.js → chunk-EQ3X7KQ3.js} +2 -2
- package/build/modern/{chunk-BGJIAA5F.js → chunk-ET3UY6GV.js} +2 -2
- package/build/modern/{chunk-27RTYRM7.js → chunk-EZJMTWXK.js} +2 -2
- package/build/modern/{chunk-VB7T2YYD.js → chunk-FSX64HPK.js} +3 -3
- package/build/modern/{chunk-JBAE2B2H.js → chunk-FVADFCAE.js} +2 -2
- package/build/modern/{chunk-5W6HMI2G.js → chunk-GFFIJGQC.js} +2 -2
- package/build/modern/{chunk-LVA6QLLM.js → chunk-GTAIWUFQ.js} +2 -2
- package/build/modern/{chunk-7LNGA4BX.js → chunk-GZYLYTAG.js} +2 -2
- package/build/modern/{chunk-UZHBWTSE.js → chunk-HCH5I26B.js} +2 -2
- package/build/modern/{chunk-6XO2RTIJ.js → chunk-HMUQEMV2.js} +2 -2
- package/build/modern/{chunk-TJXWSSHO.js → chunk-HYEFRC5Z.js} +2 -2
- package/build/modern/{chunk-FL3J7LTC.js → chunk-INQZQMLL.js} +2 -2
- package/build/modern/{chunk-PGINYK2P.js → chunk-IOX43IGB.js} +2 -2
- package/build/modern/{chunk-KDIDKP2L.js → chunk-IRJITAGE.js} +2 -2
- package/build/modern/{chunk-RMLBOGDE.js → chunk-IVQCMXV6.js} +3 -3
- package/build/modern/{chunk-ZUC3X6GQ.js → chunk-IYF5FS6N.js} +2 -2
- package/build/modern/{chunk-TIKG6U4Y.js → chunk-JIEN2PM7.js} +2 -2
- package/build/modern/{chunk-T3U6K34Y.js → chunk-JUSH26RO.js} +2 -2
- package/build/modern/{chunk-VQIBX475.js → chunk-JVAGLLOA.js} +2 -2
- package/build/modern/{chunk-5UZUXCMO.js → chunk-K3NML67W.js} +2 -2
- package/build/modern/{chunk-MPVUVQCJ.js → chunk-K3YEOS6O.js} +2 -2
- package/build/modern/{chunk-KELIM5A3.js → chunk-KITDXURN.js} +2 -2
- package/build/modern/{chunk-NC7AHNAS.js → chunk-KJYNKQX4.js} +6 -6
- package/build/modern/{chunk-BFE2SHZO.js → chunk-KZVCQNZI.js} +3 -3
- package/build/modern/{chunk-KUF4UUC7.js → chunk-L4KBNOWP.js} +2 -2
- package/build/modern/{chunk-KF3WIC2Y.js → chunk-LO6YTNOP.js} +2 -2
- package/build/modern/{chunk-Q6FTLT7K.js → chunk-LOJBIVY4.js} +2 -2
- package/build/modern/{chunk-CBJ5A5BD.js → chunk-LY6ULD43.js} +6 -6
- package/build/modern/{chunk-Q3NDU44T.js → chunk-MMNUVODK.js} +2 -2
- package/build/modern/{chunk-NLZGGXMB.js → chunk-MVHFBVDA.js} +2 -2
- package/build/modern/{chunk-6P2JY52I.js → chunk-N5D6HNGL.js} +2 -2
- package/build/modern/{chunk-L4CKWLXL.js → chunk-NHM5IWBE.js} +2 -2
- package/build/modern/{chunk-EMLKVTGD.js → chunk-O4W2BVE7.js} +3 -3
- package/build/modern/{chunk-CI7JYXUR.js → chunk-OG644D7M.js} +3 -3
- package/build/modern/{chunk-P3J5P524.js → chunk-OX3NA6DQ.js} +2 -2
- package/build/modern/{chunk-HJYVIRNA.js → chunk-OYTEXDS6.js} +5 -5
- package/build/modern/{chunk-XZ2FNMMC.js → chunk-OZTYYWIX.js} +2 -2
- package/build/modern/{chunk-IX5QZCM4.js → chunk-P6JC32U3.js} +2 -2
- package/build/modern/chunk-PH3GZIQE.js +39 -0
- package/build/modern/chunk-PH3GZIQE.js.map +1 -0
- package/build/modern/{chunk-CYK3ZJIX.js → chunk-PZELEMIY.js} +2 -2
- package/build/modern/{chunk-BGZTC53N.js → chunk-RI3WN6XL.js} +2 -2
- package/build/modern/chunk-RJTFRZAL.js +32 -0
- package/build/modern/chunk-RJTFRZAL.js.map +1 -0
- package/build/modern/{chunk-ETYXG2J2.js → chunk-RS6DS6RS.js} +2 -2
- package/build/modern/{chunk-OSUFAZAK.js → chunk-RT4W6GBB.js} +2 -2
- package/build/modern/{chunk-XMFTL6KG.js → chunk-SFS5ILWG.js} +2 -2
- package/build/modern/{chunk-7GVDVLCR.js → chunk-SITE2UML.js} +2 -2
- package/build/modern/{chunk-XB4HMXOQ.js → chunk-SKOX5PJI.js} +3 -3
- package/build/modern/{chunk-A6NEZNGY.js → chunk-SP7TSFMZ.js} +2 -2
- package/build/modern/{chunk-J37VR33H.js → chunk-TIQO4VNE.js} +2 -2
- package/build/modern/{chunk-2UD72VLC.js → chunk-TJSHJF6G.js} +2 -2
- package/build/modern/{chunk-RKKI3J6R.js → chunk-TKHDOZWN.js} +2 -2
- package/build/modern/{chunk-46QXBKGK.js → chunk-UZZ26IWW.js} +6 -6
- package/build/modern/{chunk-U2ZT7UDW.js → chunk-V5TUC5AS.js} +2 -2
- package/build/modern/{chunk-QV5JHBHO.js → chunk-VQUJGCZW.js} +2 -2
- package/build/modern/chunk-VVZOWCNQ.js +27 -0
- package/build/modern/chunk-VVZOWCNQ.js.map +1 -0
- package/build/modern/{chunk-WC6SOU2F.js → chunk-VYJAPLLO.js} +2 -2
- package/build/modern/{chunk-RCXKKQQA.js → chunk-WGWEAB2Q.js} +2 -2
- package/build/modern/{chunk-GBV7MIBU.js → chunk-X24O5DTP.js} +4 -4
- package/build/modern/{chunk-5WT5BM3V.js → chunk-YJRAJNYI.js} +3 -3
- package/build/modern/{chunk-X6WOC4RF.js → chunk-YR6G66UT.js} +3 -3
- package/build/modern/chunk-YUAUGU3G.js +1 -0
- package/build/modern/chunk-YUAUGU3G.js.map +1 -0
- package/build/modern/{chunk-BT6FMOKM.js → chunk-YWPXLHUO.js} +2 -2
- package/build/modern/{chunk-QHPJ2C76.js → chunk-YZG7BNVB.js} +2 -2
- package/build/modern/{chunk-LMEGBPKK.js → chunk-Z5DHBMQF.js} +2 -2
- package/build/modern/{chunk-2SBNSYYC.js → chunk-ZFONE65Q.js} +2 -2
- package/build/modern/{chunk-ADOFKGU3.js → chunk-ZFVQQJIQ.js} +2 -2
- package/build/modern/{chunk-LNDQW46A.js → chunk-ZZ4JETME.js} +2 -2
- package/build/modern/components/accordion/index.js +7 -7
- package/build/modern/components/accordion/item-group.js +7 -7
- package/build/modern/components/accordion/item-indicator.js +6 -6
- package/build/modern/components/accordion/parts.js +5 -5
- package/build/modern/components/accordion/primitives.js +4 -4
- package/build/modern/components/admonition/admonition.js +10 -10
- package/build/modern/components/admonition/index.js +10 -10
- package/build/modern/components/admonition/match-avatar.js +7 -7
- package/build/modern/components/admonition/parts.js +5 -5
- package/build/modern/components/admonition/primitives.js +4 -4
- package/build/modern/components/avatar/avatar.js +6 -6
- package/build/modern/components/avatar/index.js +6 -6
- package/build/modern/components/avatar/parts.js +5 -5
- package/build/modern/components/avatar/primitives.js +4 -4
- package/build/modern/components/button/button.js +5 -5
- package/build/modern/components/button/index.js +6 -6
- package/build/modern/components/button/parts.js +6 -6
- package/build/modern/components/button/primitives.js +4 -4
- package/build/modern/components/carousel/carousel.d.ts +2 -0
- package/build/modern/components/carousel/carousel.js +15 -0
- package/build/modern/components/carousel/carousel.js.map +1 -0
- package/build/modern/components/carousel/index.d.ts +19 -0
- package/build/modern/components/carousel/index.js +36 -0
- package/build/modern/components/carousel/index.js.map +1 -0
- package/build/modern/components/carousel/parts.d.ts +1 -0
- package/build/modern/components/carousel/parts.js +12 -0
- package/build/modern/components/carousel/parts.js.map +1 -0
- package/build/modern/components/carousel/primitives.d.ts +16 -0
- package/build/modern/components/carousel/primitives.js +25 -0
- package/build/modern/components/carousel/primitives.js.map +1 -0
- package/build/modern/components/checkbox/checkbox-icon.js +6 -6
- package/build/modern/components/checkbox/checkbox.js +7 -7
- package/build/modern/components/checkbox/index.js +7 -7
- package/build/modern/components/checkbox/parts.js +5 -5
- package/build/modern/components/checkbox/primitives.js +4 -4
- package/build/modern/components/circular-progress/circular-progress.js +5 -5
- package/build/modern/components/circular-progress/index.js +5 -5
- package/build/modern/components/circular-progress/primitives.js +4 -4
- package/build/modern/components/combobox/combobox.js +6 -6
- package/build/modern/components/combobox/index.js +14 -14
- package/build/modern/components/combobox/item-group.js +6 -6
- package/build/modern/components/combobox/item.js +6 -6
- package/build/modern/components/combobox/parts.js +5 -5
- package/build/modern/components/combobox/primitives.js +4 -4
- package/build/modern/components/combobox/use-stateful-collection.js +5 -5
- package/build/modern/components/cta-dialog/index.js +18 -18
- package/build/modern/components/cta-dialog/provider.js +17 -17
- package/build/modern/components/cta-dialog/trigger-item.js +6 -6
- package/build/modern/components/date-picker/calendar.js +15 -15
- package/build/modern/components/date-picker/content.js +6 -6
- package/build/modern/components/date-picker/date-picker.js +6 -6
- package/build/modern/components/date-picker/day-view.js +11 -11
- package/build/modern/components/date-picker/index.js +23 -23
- package/build/modern/components/date-picker/input.js +9 -9
- package/build/modern/components/date-picker/month-view.js +11 -11
- package/build/modern/components/date-picker/parts.js +5 -5
- package/build/modern/components/date-picker/primitives.js +4 -4
- package/build/modern/components/date-picker/range-input.js +9 -9
- package/build/modern/components/date-picker/trigger.js +8 -8
- package/build/modern/components/date-picker/view-control-group.js +10 -10
- package/build/modern/components/date-picker/year-view.js +11 -11
- package/build/modern/components/deprecated/Label.js +8 -8
- package/build/modern/components/dialog/close-icon-trigger.js +7 -7
- package/build/modern/components/dialog/dialog.js +5 -5
- package/build/modern/components/dialog/index.js +11 -11
- package/build/modern/components/dialog/parts.js +5 -5
- package/build/modern/components/dialog/primitives.js +4 -4
- package/build/modern/components/field/field.js +6 -6
- package/build/modern/components/field/helper-text.js +5 -5
- package/build/modern/components/field/index.js +9 -9
- package/build/modern/components/field/input.js +4 -4
- package/build/modern/components/field/parts.js +5 -5
- package/build/modern/components/field/primitives.js +4 -4
- package/build/modern/components/fieldset/fieldset.js +6 -6
- package/build/modern/components/fieldset/index.js +6 -6
- package/build/modern/components/fieldset/parts.js +5 -5
- package/build/modern/components/fieldset/primitives.js +4 -4
- package/build/modern/components/file-upload/file-status.js +15 -15
- package/build/modern/components/file-upload/file-uploader.js +7 -7
- package/build/modern/components/file-upload/index.js +16 -16
- package/build/modern/components/icon-button/button.js +5 -5
- package/build/modern/components/icon-button/index.js +5 -5
- package/build/modern/components/icon-button/primitives.js +4 -4
- package/build/modern/components/menu/index.js +5 -5
- package/build/modern/components/menu/menu.js +5 -5
- package/build/modern/components/menu/primitives.js +4 -4
- package/build/modern/components/notifications/center.js +9 -9
- package/build/modern/components/notifications/close-trigger.js +6 -6
- package/build/modern/components/notifications/index.js +10 -10
- package/build/modern/components/notifications/parts.js +5 -5
- package/build/modern/components/notifications/primitives.js +4 -4
- package/build/modern/components/progress/index.js +5 -5
- package/build/modern/components/progress/primitives.js +4 -4
- package/build/modern/components/progress/progress-bar.js +5 -5
- package/build/modern/components/radio/index.js +8 -8
- package/build/modern/components/radio/parts.js +5 -5
- package/build/modern/components/radio/primitives.js +4 -4
- package/build/modern/components/radio/radio.js +5 -5
- package/build/modern/components/rating/index.js +6 -6
- package/build/modern/components/rating/parts.js +5 -5
- package/build/modern/components/rating/primitives.js +4 -4
- package/build/modern/components/rating/rating.js +6 -6
- package/build/modern/components/select/index.js +10 -10
- package/build/modern/components/select/option-group.js +5 -5
- package/build/modern/components/select/option.js +6 -6
- package/build/modern/components/select/parts.js +5 -5
- package/build/modern/components/select/primitives.js +4 -4
- package/build/modern/components/select/select.js +6 -6
- package/build/modern/components/switch/index.js +6 -6
- package/build/modern/components/switch/parts.js +5 -5
- package/build/modern/components/switch/primitives.js +4 -4
- package/build/modern/components/switch/switch.js +6 -6
- package/build/modern/components/table/index.js +6 -6
- package/build/modern/components/table/parts.js +5 -5
- package/build/modern/components/table/primitives.js +4 -4
- package/build/modern/components/table/table.js +5 -5
- package/build/modern/components/tabs/index.js +6 -6
- package/build/modern/components/tabs/parts.js +5 -5
- package/build/modern/components/tabs/primitives.js +4 -4
- package/build/modern/components/tabs/tabs.js +6 -6
- package/build/modern/components/tag/index.js +6 -6
- package/build/modern/components/tag/tag.js +6 -6
- package/build/modern/components/theme/index.js +4 -4
- package/build/modern/components/theme/theme.js +4 -4
- package/build/modern/components/toggle/index.js +5 -5
- package/build/modern/components/toggle/parts.js +5 -5
- package/build/modern/components/toggle/primitives.js +4 -4
- package/build/modern/components/tooltip/index.js +6 -6
- package/build/modern/components/tooltip/parts.js +5 -5
- package/build/modern/components/tooltip/primitives.js +4 -4
- package/build/modern/components/tooltip/tooltip.js +6 -6
- package/build/modern/context/confirm-modal.js +15 -15
- package/build/modern/context/field.js +4 -4
- package/build/modern/context/prompt-modal.js +19 -19
- package/build/modern/index.d.ts +19 -0
- package/build/modern/index.js +214 -187
- package/build/modern/index.js.map +1 -1
- package/build/modern/system/factory.js +2 -2
- package/build/modern/system/index.js +3 -3
- package/build/modern/system/primitive-factory.js +1 -1
- package/package.json +6 -6
- package/src/components/carousel/carousel.tsx +55 -0
- package/src/components/carousel/index.ts +3 -0
- package/src/components/carousel/parts.ts +71 -0
- package/src/components/carousel/primitives.ts +58 -0
- package/src/index.ts +1 -0
- package/src/system/primitive-factory.tsx +33 -18
- package/build/modern/chunk-33OXE7IJ.js.map +0 -1
- /package/build/modern/{chunk-KHU3YTLM.js.map → chunk-236F7MCH.js.map} +0 -0
- /package/build/modern/{chunk-BS4V2YJV.js.map → chunk-2D6BHWPB.js.map} +0 -0
- /package/build/modern/{chunk-IWJCQ4BM.js.map → chunk-2KVC3OJ3.js.map} +0 -0
- /package/build/modern/{chunk-UHS2TNFC.js.map → chunk-2UQWJSA6.js.map} +0 -0
- /package/build/modern/{chunk-2VVJATIW.js.map → chunk-2Z7IKMZC.js.map} +0 -0
- /package/build/modern/{chunk-YAZIBTA2.js.map → chunk-3NPWHL5X.js.map} +0 -0
- /package/build/modern/{chunk-S7HDNFJJ.js.map → chunk-3UIV3HMB.js.map} +0 -0
- /package/build/modern/{chunk-WK7TUQIS.js.map → chunk-3X6VM5FS.js.map} +0 -0
- /package/build/modern/{chunk-Y7UXAFII.js.map → chunk-3Z6W4ZFA.js.map} +0 -0
- /package/build/modern/{chunk-YMFUEQ2A.js.map → chunk-45ZTZUCD.js.map} +0 -0
- /package/build/modern/{chunk-7MWSOSOY.js.map → chunk-4O26WCRC.js.map} +0 -0
- /package/build/modern/{chunk-ZGJDFQN2.js.map → chunk-4O64W4BA.js.map} +0 -0
- /package/build/modern/{chunk-X6KB5LWU.js.map → chunk-4SOUI4NF.js.map} +0 -0
- /package/build/modern/{chunk-77QDH2Q5.js.map → chunk-5B6LMHY2.js.map} +0 -0
- /package/build/modern/{chunk-GLH23RDO.js.map → chunk-5L5PT37R.js.map} +0 -0
- /package/build/modern/{chunk-ZFEGJR5E.js.map → chunk-5RLQNM73.js.map} +0 -0
- /package/build/modern/{chunk-262PENBL.js.map → chunk-6LU43Z4K.js.map} +0 -0
- /package/build/modern/{chunk-AHYFFHUW.js.map → chunk-76VTLS7X.js.map} +0 -0
- /package/build/modern/{chunk-H6ZGH4VM.js.map → chunk-7B2ZHSH3.js.map} +0 -0
- /package/build/modern/{chunk-X34MYQKI.js.map → chunk-7JNOY5MW.js.map} +0 -0
- /package/build/modern/{chunk-FIVEPZ5F.js.map → chunk-7UKNQ4RD.js.map} +0 -0
- /package/build/modern/{chunk-ABMK5P66.js.map → chunk-AOLWIMWV.js.map} +0 -0
- /package/build/modern/{chunk-OG74JDYL.js.map → chunk-AQNXQVXP.js.map} +0 -0
- /package/build/modern/{chunk-4ZQUC4DA.js.map → chunk-BHZN6P2K.js.map} +0 -0
- /package/build/modern/{chunk-ROWT3E5K.js.map → chunk-BSJM5VYB.js.map} +0 -0
- /package/build/modern/{chunk-PI7MKQ62.js.map → chunk-BSZVMBX7.js.map} +0 -0
- /package/build/modern/{chunk-HUKQPIDV.js.map → chunk-BXDQ5AXV.js.map} +0 -0
- /package/build/modern/{chunk-W7WPVM34.js.map → chunk-C7XAB665.js.map} +0 -0
- /package/build/modern/{chunk-H7N6M7VO.js.map → chunk-CHEYITRR.js.map} +0 -0
- /package/build/modern/{chunk-CKCGLHLS.js.map → chunk-CONG7TGJ.js.map} +0 -0
- /package/build/modern/{chunk-6KGRHE3J.js.map → chunk-D7BCQ2CQ.js.map} +0 -0
- /package/build/modern/{chunk-7GT7UUCB.js.map → chunk-DH7SFE2R.js.map} +0 -0
- /package/build/modern/{chunk-6KIXF4ES.js.map → chunk-EQ3X7KQ3.js.map} +0 -0
- /package/build/modern/{chunk-BGJIAA5F.js.map → chunk-ET3UY6GV.js.map} +0 -0
- /package/build/modern/{chunk-27RTYRM7.js.map → chunk-EZJMTWXK.js.map} +0 -0
- /package/build/modern/{chunk-VB7T2YYD.js.map → chunk-FSX64HPK.js.map} +0 -0
- /package/build/modern/{chunk-JBAE2B2H.js.map → chunk-FVADFCAE.js.map} +0 -0
- /package/build/modern/{chunk-5W6HMI2G.js.map → chunk-GFFIJGQC.js.map} +0 -0
- /package/build/modern/{chunk-LVA6QLLM.js.map → chunk-GTAIWUFQ.js.map} +0 -0
- /package/build/modern/{chunk-7LNGA4BX.js.map → chunk-GZYLYTAG.js.map} +0 -0
- /package/build/modern/{chunk-UZHBWTSE.js.map → chunk-HCH5I26B.js.map} +0 -0
- /package/build/modern/{chunk-6XO2RTIJ.js.map → chunk-HMUQEMV2.js.map} +0 -0
- /package/build/modern/{chunk-TJXWSSHO.js.map → chunk-HYEFRC5Z.js.map} +0 -0
- /package/build/modern/{chunk-FL3J7LTC.js.map → chunk-INQZQMLL.js.map} +0 -0
- /package/build/modern/{chunk-PGINYK2P.js.map → chunk-IOX43IGB.js.map} +0 -0
- /package/build/modern/{chunk-KDIDKP2L.js.map → chunk-IRJITAGE.js.map} +0 -0
- /package/build/modern/{chunk-RMLBOGDE.js.map → chunk-IVQCMXV6.js.map} +0 -0
- /package/build/modern/{chunk-ZUC3X6GQ.js.map → chunk-IYF5FS6N.js.map} +0 -0
- /package/build/modern/{chunk-TIKG6U4Y.js.map → chunk-JIEN2PM7.js.map} +0 -0
- /package/build/modern/{chunk-T3U6K34Y.js.map → chunk-JUSH26RO.js.map} +0 -0
- /package/build/modern/{chunk-VQIBX475.js.map → chunk-JVAGLLOA.js.map} +0 -0
- /package/build/modern/{chunk-5UZUXCMO.js.map → chunk-K3NML67W.js.map} +0 -0
- /package/build/modern/{chunk-MPVUVQCJ.js.map → chunk-K3YEOS6O.js.map} +0 -0
- /package/build/modern/{chunk-KELIM5A3.js.map → chunk-KITDXURN.js.map} +0 -0
- /package/build/modern/{chunk-NC7AHNAS.js.map → chunk-KJYNKQX4.js.map} +0 -0
- /package/build/modern/{chunk-BFE2SHZO.js.map → chunk-KZVCQNZI.js.map} +0 -0
- /package/build/modern/{chunk-KUF4UUC7.js.map → chunk-L4KBNOWP.js.map} +0 -0
- /package/build/modern/{chunk-KF3WIC2Y.js.map → chunk-LO6YTNOP.js.map} +0 -0
- /package/build/modern/{chunk-Q6FTLT7K.js.map → chunk-LOJBIVY4.js.map} +0 -0
- /package/build/modern/{chunk-CBJ5A5BD.js.map → chunk-LY6ULD43.js.map} +0 -0
- /package/build/modern/{chunk-Q3NDU44T.js.map → chunk-MMNUVODK.js.map} +0 -0
- /package/build/modern/{chunk-NLZGGXMB.js.map → chunk-MVHFBVDA.js.map} +0 -0
- /package/build/modern/{chunk-6P2JY52I.js.map → chunk-N5D6HNGL.js.map} +0 -0
- /package/build/modern/{chunk-L4CKWLXL.js.map → chunk-NHM5IWBE.js.map} +0 -0
- /package/build/modern/{chunk-EMLKVTGD.js.map → chunk-O4W2BVE7.js.map} +0 -0
- /package/build/modern/{chunk-CI7JYXUR.js.map → chunk-OG644D7M.js.map} +0 -0
- /package/build/modern/{chunk-P3J5P524.js.map → chunk-OX3NA6DQ.js.map} +0 -0
- /package/build/modern/{chunk-HJYVIRNA.js.map → chunk-OYTEXDS6.js.map} +0 -0
- /package/build/modern/{chunk-XZ2FNMMC.js.map → chunk-OZTYYWIX.js.map} +0 -0
- /package/build/modern/{chunk-IX5QZCM4.js.map → chunk-P6JC32U3.js.map} +0 -0
- /package/build/modern/{chunk-CYK3ZJIX.js.map → chunk-PZELEMIY.js.map} +0 -0
- /package/build/modern/{chunk-BGZTC53N.js.map → chunk-RI3WN6XL.js.map} +0 -0
- /package/build/modern/{chunk-ETYXG2J2.js.map → chunk-RS6DS6RS.js.map} +0 -0
- /package/build/modern/{chunk-OSUFAZAK.js.map → chunk-RT4W6GBB.js.map} +0 -0
- /package/build/modern/{chunk-XMFTL6KG.js.map → chunk-SFS5ILWG.js.map} +0 -0
- /package/build/modern/{chunk-7GVDVLCR.js.map → chunk-SITE2UML.js.map} +0 -0
- /package/build/modern/{chunk-XB4HMXOQ.js.map → chunk-SKOX5PJI.js.map} +0 -0
- /package/build/modern/{chunk-A6NEZNGY.js.map → chunk-SP7TSFMZ.js.map} +0 -0
- /package/build/modern/{chunk-J37VR33H.js.map → chunk-TIQO4VNE.js.map} +0 -0
- /package/build/modern/{chunk-2UD72VLC.js.map → chunk-TJSHJF6G.js.map} +0 -0
- /package/build/modern/{chunk-RKKI3J6R.js.map → chunk-TKHDOZWN.js.map} +0 -0
- /package/build/modern/{chunk-46QXBKGK.js.map → chunk-UZZ26IWW.js.map} +0 -0
- /package/build/modern/{chunk-U2ZT7UDW.js.map → chunk-V5TUC5AS.js.map} +0 -0
- /package/build/modern/{chunk-QV5JHBHO.js.map → chunk-VQUJGCZW.js.map} +0 -0
- /package/build/modern/{chunk-WC6SOU2F.js.map → chunk-VYJAPLLO.js.map} +0 -0
- /package/build/modern/{chunk-RCXKKQQA.js.map → chunk-WGWEAB2Q.js.map} +0 -0
- /package/build/modern/{chunk-GBV7MIBU.js.map → chunk-X24O5DTP.js.map} +0 -0
- /package/build/modern/{chunk-5WT5BM3V.js.map → chunk-YJRAJNYI.js.map} +0 -0
- /package/build/modern/{chunk-X6WOC4RF.js.map → chunk-YR6G66UT.js.map} +0 -0
- /package/build/modern/{chunk-BT6FMOKM.js.map → chunk-YWPXLHUO.js.map} +0 -0
- /package/build/modern/{chunk-QHPJ2C76.js.map → chunk-YZG7BNVB.js.map} +0 -0
- /package/build/modern/{chunk-LMEGBPKK.js.map → chunk-Z5DHBMQF.js.map} +0 -0
- /package/build/modern/{chunk-2SBNSYYC.js.map → chunk-ZFONE65Q.js.map} +0 -0
- /package/build/modern/{chunk-ADOFKGU3.js.map → chunk-ZFVQQJIQ.js.map} +0 -0
- /package/build/modern/{chunk-LNDQW46A.js.map → chunk-ZZ4JETME.js.map} +0 -0
package/build/legacy/index.cjs
CHANGED
|
@@ -49,6 +49,16 @@ __export(index_exports, {
|
|
|
49
49
|
CTAModal: () => CTAModal,
|
|
50
50
|
CalendarDate: () => import_date.CalendarDate,
|
|
51
51
|
Caption: () => Caption,
|
|
52
|
+
Carousel: () => Carousel2,
|
|
53
|
+
CarouselControl: () => CarouselControl,
|
|
54
|
+
CarouselIndicator: () => CarouselIndicator,
|
|
55
|
+
CarouselIndicatorGroup: () => CarouselIndicatorGroup,
|
|
56
|
+
CarouselItem: () => CarouselItem,
|
|
57
|
+
CarouselItemGroup: () => CarouselItemGroup,
|
|
58
|
+
CarouselNextTrigger: () => CarouselNextTrigger,
|
|
59
|
+
CarouselParts: () => CarouselParts,
|
|
60
|
+
CarouselPrevTrigger: () => CarouselPrevTrigger,
|
|
61
|
+
CarouselRoot: () => CarouselRoot,
|
|
52
62
|
CerberusProvider: () => CerberusProvider,
|
|
53
63
|
Checkbox: () => Checkbox2,
|
|
54
64
|
CheckboxControl: () => CheckboxControl,
|
|
@@ -423,23 +433,28 @@ var CerberusPrimitive = class {
|
|
|
423
433
|
/**
|
|
424
434
|
* Creates a Cerberus component with bare features and no recipe.
|
|
425
435
|
* @param Component - The React component to enhance with Cerberus features.
|
|
436
|
+
* Can be a string or a component reference.
|
|
426
437
|
* @returns A new React component that applies Cerberus features to the
|
|
427
438
|
* original component.
|
|
439
|
+
*
|
|
428
440
|
* @example
|
|
429
|
-
* ```
|
|
430
|
-
* const { withNoRecipe } = createCerberusPrimitive(
|
|
431
|
-
* const Button = withNoRecipe(
|
|
441
|
+
* ```ts
|
|
442
|
+
* const { withNoRecipe } = createCerberusPrimitive(buttonRecipe)
|
|
443
|
+
* const Button = withNoRecipe('button')
|
|
432
444
|
* ```
|
|
433
445
|
*/
|
|
434
446
|
__publicField(this, "withNoRecipe", (Component, options) => {
|
|
435
447
|
const { defaultProps } = options || {};
|
|
436
|
-
|
|
448
|
+
const El = Component;
|
|
437
449
|
const CerbComponent = (props) => {
|
|
438
450
|
const { css: customCss, className, ...nativeProps } = props;
|
|
439
451
|
const styles = this.hasStyles((0, import_css3.cx)(className, (0, import_css3.css)(customCss)));
|
|
440
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
452
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(El, { ...defaultProps, ...styles, ...nativeProps });
|
|
441
453
|
};
|
|
442
|
-
|
|
454
|
+
if (this.validateComponent(El)) {
|
|
455
|
+
const ElName = typeof El === "string" ? El : El.displayName || El.name;
|
|
456
|
+
CerbComponent.displayName = ElName;
|
|
457
|
+
}
|
|
443
458
|
return CerbComponent;
|
|
444
459
|
});
|
|
445
460
|
/**
|
|
@@ -451,8 +466,8 @@ var CerberusPrimitive = class {
|
|
|
451
466
|
*/
|
|
452
467
|
__publicField(this, "withRecipe", (Component, options) => {
|
|
453
468
|
const { defaultProps } = options || {};
|
|
469
|
+
const El = Component;
|
|
454
470
|
const recipe = this.recipe;
|
|
455
|
-
this.validateComponent(Component);
|
|
456
471
|
const CerbComponent = (internalProps) => {
|
|
457
472
|
const {
|
|
458
473
|
css: customCss,
|
|
@@ -470,7 +485,10 @@ var CerberusPrimitive = class {
|
|
|
470
485
|
}
|
|
471
486
|
);
|
|
472
487
|
};
|
|
473
|
-
|
|
488
|
+
if (this.validateComponent(El)) {
|
|
489
|
+
const ElName = typeof El === "string" ? El : El.displayName || El.name;
|
|
490
|
+
CerbComponent.displayName = ElName;
|
|
491
|
+
}
|
|
474
492
|
return CerbComponent;
|
|
475
493
|
});
|
|
476
494
|
/**
|
|
@@ -487,8 +505,8 @@ var CerberusPrimitive = class {
|
|
|
487
505
|
*/
|
|
488
506
|
__publicField(this, "withSlotRecipe", (Component, slot, options) => {
|
|
489
507
|
const { defaultProps } = options || {};
|
|
508
|
+
const El = Component;
|
|
490
509
|
const recipe = this.recipe;
|
|
491
|
-
this.validateComponent(Component);
|
|
492
510
|
const CerbComponent = (internalProps) => {
|
|
493
511
|
const {
|
|
494
512
|
css: customCss,
|
|
@@ -507,7 +525,10 @@ var CerberusPrimitive = class {
|
|
|
507
525
|
}
|
|
508
526
|
);
|
|
509
527
|
};
|
|
510
|
-
|
|
528
|
+
if (this.validateComponent(El)) {
|
|
529
|
+
const ElName = typeof El === "string" ? El : El.displayName || El.name;
|
|
530
|
+
CerbComponent.displayName = ElName;
|
|
531
|
+
}
|
|
511
532
|
return CerbComponent;
|
|
512
533
|
});
|
|
513
534
|
this.recipe = recipe ?? null;
|
|
@@ -522,8 +543,9 @@ var CerberusPrimitive = class {
|
|
|
522
543
|
}
|
|
523
544
|
validateComponent(Component) {
|
|
524
545
|
if (typeof Component !== "function" && typeof Component !== "object") {
|
|
525
|
-
|
|
546
|
+
return false;
|
|
526
547
|
}
|
|
548
|
+
return true;
|
|
527
549
|
}
|
|
528
550
|
};
|
|
529
551
|
|
|
@@ -1480,9 +1502,71 @@ var ButtonParts = {
|
|
|
1480
1502
|
Icon: ButtonIcon
|
|
1481
1503
|
};
|
|
1482
1504
|
|
|
1505
|
+
// src/components/carousel/primitives.ts
|
|
1506
|
+
var import_carousel = require("@ark-ui/react/carousel");
|
|
1507
|
+
var import_recipes13 = require("styled-system/recipes");
|
|
1508
|
+
var { withSlotRecipe: withSlotRecipe5 } = createCerberusPrimitive(import_recipes13.carousel);
|
|
1509
|
+
var CarouselRoot = withSlotRecipe5(import_carousel.Carousel.Root, "root");
|
|
1510
|
+
var CarouselControl = withSlotRecipe5(import_carousel.Carousel.Control, "control");
|
|
1511
|
+
var CarouselPrevTrigger = withSlotRecipe5(
|
|
1512
|
+
import_carousel.Carousel.PrevTrigger,
|
|
1513
|
+
"prevTrigger"
|
|
1514
|
+
);
|
|
1515
|
+
var CarouselNextTrigger = withSlotRecipe5(
|
|
1516
|
+
import_carousel.Carousel.NextTrigger,
|
|
1517
|
+
"nextTrigger"
|
|
1518
|
+
);
|
|
1519
|
+
var CarouselIndicatorGroup = withSlotRecipe5(
|
|
1520
|
+
import_carousel.Carousel.IndicatorGroup,
|
|
1521
|
+
"indicatorGroup"
|
|
1522
|
+
);
|
|
1523
|
+
var CarouselIndicator = withSlotRecipe5(import_carousel.Carousel.Indicator, "indicator");
|
|
1524
|
+
var CarouselItemGroup = withSlotRecipe5(import_carousel.Carousel.ItemGroup, "itemGroup");
|
|
1525
|
+
var CarouselItem = withSlotRecipe5(import_carousel.Carousel.Item, "item");
|
|
1526
|
+
|
|
1527
|
+
// src/components/carousel/parts.ts
|
|
1528
|
+
var CarouselParts = {
|
|
1529
|
+
Root: CarouselRoot,
|
|
1530
|
+
Control: CarouselControl,
|
|
1531
|
+
PrevTrigger: CarouselPrevTrigger,
|
|
1532
|
+
NextTrigger: CarouselNextTrigger,
|
|
1533
|
+
IndicatorGroup: CarouselIndicatorGroup,
|
|
1534
|
+
Indicator: CarouselIndicator,
|
|
1535
|
+
ItemGroup: CarouselItemGroup,
|
|
1536
|
+
Item: CarouselItem
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
// src/components/for/for.tsx
|
|
1540
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1541
|
+
function For(props) {
|
|
1542
|
+
var _a;
|
|
1543
|
+
if (!props.each || !props.each.length) {
|
|
1544
|
+
return props.fallback || null;
|
|
1545
|
+
}
|
|
1546
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_jsx_runtime28.Fragment, { children: (_a = props.each) == null ? void 0 : _a.map(props.children) });
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
// src/components/carousel/carousel.tsx
|
|
1550
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1551
|
+
function CarouselEl(props) {
|
|
1552
|
+
const { showIndicators = false, children, ...rootProps } = props;
|
|
1553
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(CarouselParts.Root, { ...rootProps, children: [
|
|
1554
|
+
children,
|
|
1555
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Show, { when: showIndicators, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(CarouselParts.IndicatorGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(For, { each: Array.from({ length: props.slideCount ?? 0 }), children: (_, idx) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(CarouselParts.Indicator, { index: idx }, idx) }) }) })
|
|
1556
|
+
] });
|
|
1557
|
+
}
|
|
1558
|
+
var Carousel2 = {
|
|
1559
|
+
Root: CarouselEl,
|
|
1560
|
+
ItemGroup: CarouselParts.ItemGroup,
|
|
1561
|
+
Item: CarouselParts.Item,
|
|
1562
|
+
Control: CarouselParts.Control,
|
|
1563
|
+
PrevTrigger: CarouselParts.PrevTrigger,
|
|
1564
|
+
NextTrigger: CarouselParts.NextTrigger
|
|
1565
|
+
};
|
|
1566
|
+
|
|
1483
1567
|
// src/components/text/text.tsx
|
|
1484
1568
|
var import_jsx3 = require("styled-system/jsx");
|
|
1485
|
-
var
|
|
1569
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1486
1570
|
function Text(props) {
|
|
1487
1571
|
const { as = "p", ...pandaJSXProps } = props;
|
|
1488
1572
|
const cache2 = {
|
|
@@ -1500,35 +1584,35 @@ function Text(props) {
|
|
|
1500
1584
|
};
|
|
1501
1585
|
if (as in cache2) {
|
|
1502
1586
|
const Component = cache2[as];
|
|
1503
|
-
return /* @__PURE__ */ (0,
|
|
1587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Component, { ...pandaJSXProps });
|
|
1504
1588
|
}
|
|
1505
|
-
return /* @__PURE__ */ (0,
|
|
1589
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx3.P, { ...pandaJSXProps });
|
|
1506
1590
|
}
|
|
1507
1591
|
|
|
1508
1592
|
// src/components/checkbox/primitives.tsx
|
|
1509
1593
|
var import_react12 = require("@ark-ui/react");
|
|
1510
|
-
var
|
|
1511
|
-
var { withSlotRecipe:
|
|
1512
|
-
var CheckboxRoot =
|
|
1594
|
+
var import_recipes14 = require("styled-system/recipes");
|
|
1595
|
+
var { withSlotRecipe: withSlotRecipe6, withNoRecipe: withNoRecipe3 } = createCerberusPrimitive(import_recipes14.checkbox);
|
|
1596
|
+
var CheckboxRoot = withSlotRecipe6(
|
|
1513
1597
|
import_react12.Checkbox.Root,
|
|
1514
1598
|
"root"
|
|
1515
1599
|
);
|
|
1516
|
-
var CheckboxLabel =
|
|
1600
|
+
var CheckboxLabel = withSlotRecipe6(
|
|
1517
1601
|
import_react12.Checkbox.Label,
|
|
1518
1602
|
"label"
|
|
1519
1603
|
);
|
|
1520
|
-
var CheckboxControl =
|
|
1604
|
+
var CheckboxControl = withSlotRecipe6(
|
|
1521
1605
|
import_react12.Checkbox.Control,
|
|
1522
1606
|
"control"
|
|
1523
1607
|
);
|
|
1524
|
-
var CheckboxIndicator =
|
|
1608
|
+
var CheckboxIndicator = withSlotRecipe6(
|
|
1525
1609
|
import_react12.Checkbox.Indicator,
|
|
1526
1610
|
"indicator"
|
|
1527
1611
|
);
|
|
1528
1612
|
var CheckboxHiddenInput = withNoRecipe3(
|
|
1529
1613
|
import_react12.Checkbox.HiddenInput
|
|
1530
1614
|
);
|
|
1531
|
-
var CheckboxGroup =
|
|
1615
|
+
var CheckboxGroup = withSlotRecipe6(
|
|
1532
1616
|
import_react12.Checkbox.Group,
|
|
1533
1617
|
"group"
|
|
1534
1618
|
);
|
|
@@ -1544,67 +1628,67 @@ var CheckboxParts = {
|
|
|
1544
1628
|
};
|
|
1545
1629
|
|
|
1546
1630
|
// src/components/checkbox/checkbox-icon.tsx
|
|
1547
|
-
var
|
|
1631
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1548
1632
|
function CheckboxIcon(props) {
|
|
1549
1633
|
const { icons } = useCerberusContext();
|
|
1550
1634
|
const { checkbox: CheckIcon, indeterminate: IndeterminateIcon2 } = icons;
|
|
1551
|
-
return /* @__PURE__ */ (0,
|
|
1635
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CheckboxParts.Indicator, { indeterminate: props.indeterminate, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Show, { when: props.indeterminate, fallback: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CheckIcon, {}), children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(IndeterminateIcon2, {}) }) });
|
|
1552
1636
|
}
|
|
1553
1637
|
|
|
1554
1638
|
// src/components/checkbox/checkbox.tsx
|
|
1555
|
-
var
|
|
1639
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1556
1640
|
function Checkbox2(props) {
|
|
1557
1641
|
const { size, children, ...rootProps } = props;
|
|
1558
|
-
return /* @__PURE__ */ (0,
|
|
1559
|
-
/* @__PURE__ */ (0,
|
|
1560
|
-
/* @__PURE__ */ (0,
|
|
1642
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(CheckboxParts.Root, { ...rootProps, children: [
|
|
1643
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CheckboxParts.Control, { size, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CheckboxIcon, { indeterminate: rootProps.checked === "indeterminate" }) }),
|
|
1644
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(CheckboxParts.Label, { size, children: [
|
|
1561
1645
|
children,
|
|
1562
|
-
/* @__PURE__ */ (0,
|
|
1646
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Show, { when: props.required, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { as: "span", "data-part": "required-indicator", children: "(required)" }) })
|
|
1563
1647
|
] }),
|
|
1564
|
-
/* @__PURE__ */ (0,
|
|
1648
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CheckboxParts.HiddenInput, {})
|
|
1565
1649
|
] });
|
|
1566
1650
|
}
|
|
1567
1651
|
|
|
1568
1652
|
// src/components/circular-progress/primitives.ts
|
|
1569
1653
|
var import_progress = require("@ark-ui/react/progress");
|
|
1570
1654
|
var import_factory5 = require("@ark-ui/react/factory");
|
|
1571
|
-
var
|
|
1572
|
-
var { withSlotRecipe:
|
|
1573
|
-
var CircularProgressRoot =
|
|
1655
|
+
var import_recipes15 = require("styled-system/recipes");
|
|
1656
|
+
var { withSlotRecipe: withSlotRecipe7 } = createCerberusPrimitive(import_recipes15.circularProgress);
|
|
1657
|
+
var CircularProgressRoot = withSlotRecipe7(
|
|
1574
1658
|
import_progress.Progress.Root,
|
|
1575
1659
|
"root"
|
|
1576
1660
|
);
|
|
1577
|
-
var CircularProgressLabel =
|
|
1661
|
+
var CircularProgressLabel = withSlotRecipe7(
|
|
1578
1662
|
import_progress.Progress.Label,
|
|
1579
1663
|
"label"
|
|
1580
1664
|
);
|
|
1581
|
-
var CircularProgressValueText =
|
|
1665
|
+
var CircularProgressValueText = withSlotRecipe7(
|
|
1582
1666
|
import_progress.Progress.ValueText,
|
|
1583
1667
|
"valueText"
|
|
1584
1668
|
);
|
|
1585
|
-
var CircularProgressCircle =
|
|
1586
|
-
var CircularProgressCircleTrack =
|
|
1669
|
+
var CircularProgressCircle = withSlotRecipe7(import_progress.Progress.Circle, "circle");
|
|
1670
|
+
var CircularProgressCircleTrack = withSlotRecipe7(
|
|
1587
1671
|
import_progress.Progress.CircleTrack,
|
|
1588
1672
|
"circleTrack"
|
|
1589
1673
|
);
|
|
1590
|
-
var CircularProgressCircleRange =
|
|
1674
|
+
var CircularProgressCircleRange = withSlotRecipe7(
|
|
1591
1675
|
import_progress.Progress.CircleRange,
|
|
1592
1676
|
"circleRange"
|
|
1593
1677
|
);
|
|
1594
|
-
var CircularProgressInfoGroup =
|
|
1678
|
+
var CircularProgressInfoGroup = withSlotRecipe7(import_factory5.ark.div, "infoGroup");
|
|
1595
1679
|
|
|
1596
1680
|
// src/components/circular-progress/circular-progress.tsx
|
|
1597
|
-
var
|
|
1681
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1598
1682
|
function CircularProgress(props) {
|
|
1599
1683
|
const { label: label4, ...rootProps } = props;
|
|
1600
|
-
return /* @__PURE__ */ (0,
|
|
1601
|
-
/* @__PURE__ */ (0,
|
|
1602
|
-
/* @__PURE__ */ (0,
|
|
1603
|
-
/* @__PURE__ */ (0,
|
|
1684
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(CircularProgressRoot, { ...rootProps, children: [
|
|
1685
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(CircularProgressCircle, { children: [
|
|
1686
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CircularProgressCircleTrack, {}),
|
|
1687
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CircularProgressCircleRange, {})
|
|
1604
1688
|
] }),
|
|
1605
|
-
/* @__PURE__ */ (0,
|
|
1606
|
-
/* @__PURE__ */ (0,
|
|
1607
|
-
/* @__PURE__ */ (0,
|
|
1689
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(CircularProgressInfoGroup, { children: [
|
|
1690
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CircularProgressValueText, {}),
|
|
1691
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CircularProgressLabel, { children: label4 ?? "Done" })
|
|
1608
1692
|
] })
|
|
1609
1693
|
] });
|
|
1610
1694
|
}
|
|
@@ -1612,61 +1696,61 @@ function CircularProgress(props) {
|
|
|
1612
1696
|
// src/components/combobox/primitives.tsx
|
|
1613
1697
|
var import_combobox = require("@ark-ui/react/combobox");
|
|
1614
1698
|
var import_factory6 = require("@ark-ui/react/factory");
|
|
1615
|
-
var
|
|
1616
|
-
var { withSlotRecipe:
|
|
1617
|
-
var ComboboxRoot =
|
|
1699
|
+
var import_recipes16 = require("styled-system/recipes");
|
|
1700
|
+
var { withSlotRecipe: withSlotRecipe8 } = createCerberusPrimitive(import_recipes16.combobox);
|
|
1701
|
+
var ComboboxRoot = withSlotRecipe8(
|
|
1618
1702
|
import_combobox.Combobox.Root,
|
|
1619
1703
|
"root"
|
|
1620
1704
|
);
|
|
1621
|
-
var ComboboxLabel =
|
|
1705
|
+
var ComboboxLabel = withSlotRecipe8(
|
|
1622
1706
|
import_combobox.Combobox.Label,
|
|
1623
1707
|
"label"
|
|
1624
1708
|
);
|
|
1625
|
-
var ComboboxControl =
|
|
1709
|
+
var ComboboxControl = withSlotRecipe8(
|
|
1626
1710
|
import_combobox.Combobox.Control,
|
|
1627
1711
|
"control"
|
|
1628
1712
|
);
|
|
1629
|
-
var ComboboxInput =
|
|
1713
|
+
var ComboboxInput = withSlotRecipe8(
|
|
1630
1714
|
import_combobox.Combobox.Input,
|
|
1631
1715
|
"input"
|
|
1632
1716
|
);
|
|
1633
|
-
var ComboboxTrigger =
|
|
1717
|
+
var ComboboxTrigger = withSlotRecipe8(
|
|
1634
1718
|
import_combobox.Combobox.Trigger,
|
|
1635
1719
|
"trigger"
|
|
1636
1720
|
);
|
|
1637
|
-
var ComboboxClearTrigger =
|
|
1721
|
+
var ComboboxClearTrigger = withSlotRecipe8(
|
|
1638
1722
|
import_combobox.Combobox.ClearTrigger,
|
|
1639
1723
|
"clearTrigger"
|
|
1640
1724
|
);
|
|
1641
|
-
var ComboboxPositioner =
|
|
1725
|
+
var ComboboxPositioner = withSlotRecipe8(
|
|
1642
1726
|
import_combobox.Combobox.Positioner,
|
|
1643
1727
|
"positioner"
|
|
1644
1728
|
);
|
|
1645
|
-
var ComboboxContent =
|
|
1729
|
+
var ComboboxContent = withSlotRecipe8(
|
|
1646
1730
|
import_combobox.Combobox.Content,
|
|
1647
1731
|
"content"
|
|
1648
1732
|
);
|
|
1649
|
-
var ComboboxItemGroup =
|
|
1733
|
+
var ComboboxItemGroup = withSlotRecipe8(
|
|
1650
1734
|
import_combobox.Combobox.ItemGroup,
|
|
1651
1735
|
"itemGroup"
|
|
1652
1736
|
);
|
|
1653
|
-
var ComboboxItemGroupLabel =
|
|
1737
|
+
var ComboboxItemGroupLabel = withSlotRecipe8(
|
|
1654
1738
|
import_combobox.Combobox.ItemGroupLabel,
|
|
1655
1739
|
"itemGroupLabel"
|
|
1656
1740
|
);
|
|
1657
|
-
var ComboboxItem =
|
|
1741
|
+
var ComboboxItem = withSlotRecipe8(
|
|
1658
1742
|
import_combobox.Combobox.Item,
|
|
1659
1743
|
"item"
|
|
1660
1744
|
);
|
|
1661
|
-
var ComboboxItemText =
|
|
1745
|
+
var ComboboxItemText = withSlotRecipe8(
|
|
1662
1746
|
import_combobox.Combobox.ItemText,
|
|
1663
1747
|
"itemText"
|
|
1664
1748
|
);
|
|
1665
|
-
var ComboboxItemIndicator =
|
|
1749
|
+
var ComboboxItemIndicator = withSlotRecipe8(
|
|
1666
1750
|
import_combobox.Combobox.ItemIndicator,
|
|
1667
1751
|
"itemIndicator"
|
|
1668
1752
|
);
|
|
1669
|
-
var ComboboxStartIcon =
|
|
1753
|
+
var ComboboxStartIcon = withSlotRecipe8(
|
|
1670
1754
|
import_factory6.ark.span,
|
|
1671
1755
|
"startIcon"
|
|
1672
1756
|
);
|
|
@@ -1694,7 +1778,7 @@ var import_react13 = require("@ark-ui/react");
|
|
|
1694
1778
|
var Portal = import_react13.Portal;
|
|
1695
1779
|
|
|
1696
1780
|
// src/components/combobox/combobox.tsx
|
|
1697
|
-
var
|
|
1781
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1698
1782
|
function Combobox2(props) {
|
|
1699
1783
|
const [{ startIcon, label: label4, ...elProps }, rootProps] = splitProps(props, [
|
|
1700
1784
|
"label",
|
|
@@ -1705,40 +1789,40 @@ function Combobox2(props) {
|
|
|
1705
1789
|
const { icons } = useCerberusContext();
|
|
1706
1790
|
const { selectArrow: SelectArrow, close: CloseIcon } = icons;
|
|
1707
1791
|
const hasStartIcon = Boolean(startIcon);
|
|
1708
|
-
return /* @__PURE__ */ (0,
|
|
1709
|
-
/* @__PURE__ */ (0,
|
|
1710
|
-
/* @__PURE__ */ (0,
|
|
1711
|
-
/* @__PURE__ */ (0,
|
|
1712
|
-
/* @__PURE__ */ (0,
|
|
1792
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(ComboboxParts.Root, { ...rootProps, children: [
|
|
1793
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Show, { when: label4, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ComboboxParts.Label, { children: label4 }) }),
|
|
1794
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(ComboboxParts.Control, { children: [
|
|
1795
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Show, { when: hasStartIcon, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ComboboxStartIcon, { children: startIcon }) }),
|
|
1796
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1713
1797
|
ComboboxParts.Input,
|
|
1714
1798
|
{
|
|
1715
1799
|
...hasStartIcon && { "data-has": "start-indicator" }
|
|
1716
1800
|
}
|
|
1717
1801
|
),
|
|
1718
|
-
/* @__PURE__ */ (0,
|
|
1719
|
-
/* @__PURE__ */ (0,
|
|
1802
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ComboboxParts.ClearTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CloseIcon, {}) }),
|
|
1803
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ComboboxParts.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectArrow, {}) })
|
|
1720
1804
|
] }),
|
|
1721
|
-
/* @__PURE__ */ (0,
|
|
1805
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Portal, { container: elProps.container, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ComboboxParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ComboboxParts.Content, { size: rootProps.size, children: elProps.children }) }) })
|
|
1722
1806
|
] });
|
|
1723
1807
|
}
|
|
1724
1808
|
|
|
1725
1809
|
// src/components/combobox/item.tsx
|
|
1726
|
-
var
|
|
1810
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1727
1811
|
function ComboItemWithIndicator(props) {
|
|
1728
1812
|
const { icons } = useCerberusContext();
|
|
1729
1813
|
const { selectChecked: CheckedIcon } = icons;
|
|
1730
|
-
return /* @__PURE__ */ (0,
|
|
1731
|
-
/* @__PURE__ */ (0,
|
|
1814
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(ComboboxParts.Item, { ...props, children: [
|
|
1815
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ComboboxParts.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CheckedIcon, {}) }),
|
|
1732
1816
|
props.children
|
|
1733
1817
|
] });
|
|
1734
1818
|
}
|
|
1735
1819
|
|
|
1736
1820
|
// src/components/combobox/item-group.tsx
|
|
1737
|
-
var
|
|
1821
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1738
1822
|
function ComboItemGroup(props) {
|
|
1739
1823
|
const { label: label4, children, ...groupProps } = props;
|
|
1740
|
-
return /* @__PURE__ */ (0,
|
|
1741
|
-
/* @__PURE__ */ (0,
|
|
1824
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(ComboboxParts.ItemGroup, { ...groupProps, children: [
|
|
1825
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ComboboxParts.ItemGroupLabel, { children: label4 }),
|
|
1742
1826
|
children
|
|
1743
1827
|
] });
|
|
1744
1828
|
}
|
|
@@ -1748,46 +1832,46 @@ var import_react14 = require("react");
|
|
|
1748
1832
|
|
|
1749
1833
|
// src/components/select/primitives.tsx
|
|
1750
1834
|
var import_select = require("@ark-ui/react/select");
|
|
1751
|
-
var
|
|
1752
|
-
var { withSlotRecipe:
|
|
1753
|
-
var SelectRoot =
|
|
1754
|
-
var SelectLabel =
|
|
1835
|
+
var import_recipes17 = require("styled-system/recipes");
|
|
1836
|
+
var { withSlotRecipe: withSlotRecipe9, withNoRecipe: withNoRecipe4 } = createCerberusPrimitive(import_recipes17.select);
|
|
1837
|
+
var SelectRoot = withSlotRecipe9(import_select.Select.Root, "root");
|
|
1838
|
+
var SelectLabel = withSlotRecipe9(
|
|
1755
1839
|
import_select.Select.Label,
|
|
1756
1840
|
"label"
|
|
1757
1841
|
);
|
|
1758
1842
|
var SelectControl = withNoRecipe4(import_select.Select.Control);
|
|
1759
|
-
var SelectTrigger =
|
|
1843
|
+
var SelectTrigger = withSlotRecipe9(
|
|
1760
1844
|
import_select.Select.Trigger,
|
|
1761
1845
|
"trigger"
|
|
1762
1846
|
);
|
|
1763
1847
|
var SelectValueText = withNoRecipe4(
|
|
1764
1848
|
import_select.Select.ValueText
|
|
1765
1849
|
);
|
|
1766
|
-
var SelectIndicator =
|
|
1850
|
+
var SelectIndicator = withSlotRecipe9(
|
|
1767
1851
|
import_select.Select.Indicator,
|
|
1768
1852
|
"indicator"
|
|
1769
1853
|
);
|
|
1770
1854
|
var SelectClearTrigger = withNoRecipe4(
|
|
1771
1855
|
import_select.Select.ClearTrigger
|
|
1772
1856
|
);
|
|
1773
|
-
var SelectPositioner =
|
|
1857
|
+
var SelectPositioner = withSlotRecipe9(
|
|
1774
1858
|
import_select.Select.Positioner,
|
|
1775
1859
|
"positioner"
|
|
1776
1860
|
);
|
|
1777
|
-
var SelectContent =
|
|
1861
|
+
var SelectContent = withSlotRecipe9(
|
|
1778
1862
|
import_select.Select.Content,
|
|
1779
1863
|
"content"
|
|
1780
1864
|
);
|
|
1781
1865
|
var SelectItemGroup = withNoRecipe4(
|
|
1782
1866
|
import_select.Select.ItemGroup
|
|
1783
1867
|
);
|
|
1784
|
-
var SelectItemGroupLabel =
|
|
1868
|
+
var SelectItemGroupLabel = withSlotRecipe9(
|
|
1785
1869
|
import_select.Select.ItemGroupLabel,
|
|
1786
1870
|
"itemGroupLabel"
|
|
1787
1871
|
);
|
|
1788
|
-
var SelectItem =
|
|
1872
|
+
var SelectItem = withSlotRecipe9(import_select.Select.Item, "item");
|
|
1789
1873
|
var SelectItemText = withNoRecipe4(import_select.Select.ItemText);
|
|
1790
|
-
var SelectItemIndicator =
|
|
1874
|
+
var SelectItemIndicator = withSlotRecipe9(
|
|
1791
1875
|
import_select.Select.ItemIndicator,
|
|
1792
1876
|
"itemIndicator"
|
|
1793
1877
|
);
|
|
@@ -1833,28 +1917,18 @@ function useStatefulCollection(initialItems = []) {
|
|
|
1833
1917
|
var import_react16 = require("react");
|
|
1834
1918
|
var import_jsx4 = require("styled-system/jsx");
|
|
1835
1919
|
|
|
1836
|
-
// src/components/for/for.tsx
|
|
1837
|
-
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1838
|
-
function For(props) {
|
|
1839
|
-
var _a;
|
|
1840
|
-
if (!props.each || !props.each.length) {
|
|
1841
|
-
return props.fallback || null;
|
|
1842
|
-
}
|
|
1843
|
-
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_jsx_runtime35.Fragment, { children: (_a = props.each) == null ? void 0 : _a.map(props.children) });
|
|
1844
|
-
}
|
|
1845
|
-
|
|
1846
1920
|
// src/components/dialog/primitives.tsx
|
|
1847
1921
|
var import_dialog = require("@ark-ui/react/dialog");
|
|
1848
|
-
var
|
|
1849
|
-
var { withSlotRecipe:
|
|
1922
|
+
var import_recipes18 = require("styled-system/recipes");
|
|
1923
|
+
var { withSlotRecipe: withSlotRecipe10, withNoRecipe: withNoRecipe5 } = createCerberusPrimitive(import_recipes18.dialog);
|
|
1850
1924
|
var DialogRoot = withNoRecipe5(import_dialog.Dialog.Root);
|
|
1851
1925
|
var DialogProvider = DialogRoot;
|
|
1852
|
-
var DialogTrigger =
|
|
1853
|
-
var DialogBackdrop =
|
|
1854
|
-
var DialogPositioner =
|
|
1855
|
-
var DialogContent =
|
|
1856
|
-
var DialogHeading =
|
|
1857
|
-
var DialogDescription =
|
|
1926
|
+
var DialogTrigger = withSlotRecipe10(import_dialog.Dialog.Trigger, "trigger");
|
|
1927
|
+
var DialogBackdrop = withSlotRecipe10(import_dialog.Dialog.Backdrop, "backdrop");
|
|
1928
|
+
var DialogPositioner = withSlotRecipe10(import_dialog.Dialog.Positioner, "positioner");
|
|
1929
|
+
var DialogContent = withSlotRecipe10(import_dialog.Dialog.Content, "content");
|
|
1930
|
+
var DialogHeading = withSlotRecipe10(import_dialog.Dialog.Title, "title");
|
|
1931
|
+
var DialogDescription = withSlotRecipe10(
|
|
1858
1932
|
import_dialog.Dialog.Description,
|
|
1859
1933
|
"description"
|
|
1860
1934
|
);
|
|
@@ -1874,39 +1948,39 @@ var DialogParts = {
|
|
|
1874
1948
|
|
|
1875
1949
|
// src/components/icon-button/primitives.ts
|
|
1876
1950
|
var import_factory7 = require("@ark-ui/react/factory");
|
|
1877
|
-
var
|
|
1878
|
-
var { withRecipe: withRecipe2 } = createCerberusPrimitive(
|
|
1951
|
+
var import_recipes19 = require("styled-system/recipes");
|
|
1952
|
+
var { withRecipe: withRecipe2 } = createCerberusPrimitive(import_recipes19.iconButton);
|
|
1879
1953
|
var IconButtonRoot = withRecipe2(import_factory7.ark.button);
|
|
1880
1954
|
|
|
1881
1955
|
// src/components/icon-button/button.tsx
|
|
1882
|
-
var
|
|
1956
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1883
1957
|
function IconButton(props) {
|
|
1884
1958
|
const { ariaLabel, ...rootProps } = props;
|
|
1885
|
-
return /* @__PURE__ */ (0,
|
|
1959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(IconButtonRoot, { ...rootProps, "aria-label": ariaLabel ?? "Icon Button" });
|
|
1886
1960
|
}
|
|
1887
1961
|
|
|
1888
1962
|
// src/components/dialog/close-icon-trigger.tsx
|
|
1889
|
-
var
|
|
1963
|
+
var import_recipes20 = require("styled-system/recipes");
|
|
1890
1964
|
var import_css12 = require("styled-system/css");
|
|
1891
|
-
var
|
|
1965
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1892
1966
|
function DialogCloseIconTrigger(props) {
|
|
1893
|
-
const styles = (0,
|
|
1967
|
+
const styles = (0, import_recipes20.dialog)();
|
|
1894
1968
|
const { icons } = useCerberusContext();
|
|
1895
1969
|
const { close: CloseIcon } = icons;
|
|
1896
|
-
return /* @__PURE__ */ (0,
|
|
1970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1897
1971
|
DialogCloseTrigger,
|
|
1898
1972
|
{
|
|
1899
1973
|
...props,
|
|
1900
1974
|
className: (0, import_css12.cx)(styles.closeTrigger, props.className),
|
|
1901
1975
|
asChild: true,
|
|
1902
|
-
children: /* @__PURE__ */ (0,
|
|
1976
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1903
1977
|
IconButton,
|
|
1904
1978
|
{
|
|
1905
1979
|
ariaLabel: "Close dialog",
|
|
1906
1980
|
palette: "action",
|
|
1907
1981
|
size: "lg",
|
|
1908
1982
|
usage: "ghost",
|
|
1909
|
-
children: /* @__PURE__ */ (0,
|
|
1983
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CloseIcon, {})
|
|
1910
1984
|
}
|
|
1911
1985
|
)
|
|
1912
1986
|
}
|
|
@@ -1914,11 +1988,11 @@ function DialogCloseIconTrigger(props) {
|
|
|
1914
1988
|
}
|
|
1915
1989
|
|
|
1916
1990
|
// src/components/dialog/dialog.tsx
|
|
1917
|
-
var
|
|
1991
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1918
1992
|
function Dialog2(props) {
|
|
1919
|
-
return /* @__PURE__ */ (0,
|
|
1920
|
-
/* @__PURE__ */ (0,
|
|
1921
|
-
/* @__PURE__ */ (0,
|
|
1993
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Portal, { children: [
|
|
1994
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(DialogBackdrop, {}),
|
|
1995
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(DialogPositioner, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(DialogContent, { ...props }) })
|
|
1922
1996
|
] });
|
|
1923
1997
|
}
|
|
1924
1998
|
|
|
@@ -1929,16 +2003,16 @@ var CTAModalContext = (0, import_react15.createContext)(null);
|
|
|
1929
2003
|
// src/components/cta-dialog/trigger-item.tsx
|
|
1930
2004
|
var import_css13 = require("styled-system/css");
|
|
1931
2005
|
var import_factory8 = require("@ark-ui/react/factory");
|
|
1932
|
-
var
|
|
1933
|
-
var
|
|
2006
|
+
var import_recipes21 = require("styled-system/recipes");
|
|
2007
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1934
2008
|
function TriggerItem(props) {
|
|
1935
2009
|
const { asChild, children, ...buttonProps } = props;
|
|
1936
2010
|
if (asChild) {
|
|
1937
|
-
return /* @__PURE__ */ (0,
|
|
2011
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1938
2012
|
import_factory8.ark.div,
|
|
1939
2013
|
{
|
|
1940
2014
|
className: (0, import_css13.cx)(
|
|
1941
|
-
(0,
|
|
2015
|
+
(0, import_recipes21.button)({
|
|
1942
2016
|
shape: "rounded",
|
|
1943
2017
|
usage: "ghost"
|
|
1944
2018
|
}),
|
|
@@ -1951,7 +2025,7 @@ function TriggerItem(props) {
|
|
|
1951
2025
|
}
|
|
1952
2026
|
);
|
|
1953
2027
|
}
|
|
1954
|
-
return /* @__PURE__ */ (0,
|
|
2028
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1955
2029
|
Button,
|
|
1956
2030
|
{
|
|
1957
2031
|
...buttonProps,
|
|
@@ -1966,7 +2040,7 @@ function TriggerItem(props) {
|
|
|
1966
2040
|
}
|
|
1967
2041
|
|
|
1968
2042
|
// src/components/cta-dialog/provider.tsx
|
|
1969
|
-
var
|
|
2043
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1970
2044
|
function CTAModal(props) {
|
|
1971
2045
|
const [open, setOpen] = (0, import_react16.useState)(false);
|
|
1972
2046
|
const [content, setContent] = (0, import_react16.useState)(null);
|
|
@@ -1997,9 +2071,9 @@ function CTAModal(props) {
|
|
|
1997
2071
|
}),
|
|
1998
2072
|
[handleShow]
|
|
1999
2073
|
);
|
|
2000
|
-
return /* @__PURE__ */ (0,
|
|
2074
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(CTAModalContext.Provider, { value, children: [
|
|
2001
2075
|
props.children,
|
|
2002
|
-
/* @__PURE__ */ (0,
|
|
2076
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2003
2077
|
Dialog2,
|
|
2004
2078
|
{
|
|
2005
2079
|
size: "sm",
|
|
@@ -2007,34 +2081,34 @@ function CTAModal(props) {
|
|
|
2007
2081
|
"--dialog-content-min-h": "auto"
|
|
2008
2082
|
},
|
|
2009
2083
|
children: [
|
|
2010
|
-
/* @__PURE__ */ (0,
|
|
2011
|
-
/* @__PURE__ */ (0,
|
|
2012
|
-
/* @__PURE__ */ (0,
|
|
2013
|
-
/* @__PURE__ */ (0,
|
|
2084
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DialogCloseIconTrigger, {}),
|
|
2085
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx4.VStack, { gap: "xl", w: "full", children: [
|
|
2086
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx4.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx4.VStack, { gap: "lg", w: "full", children: [
|
|
2087
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2014
2088
|
Avatar2,
|
|
2015
2089
|
{
|
|
2016
2090
|
gradient: "charon-light",
|
|
2017
|
-
fallback: /* @__PURE__ */ (0,
|
|
2091
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2018
2092
|
Show,
|
|
2019
2093
|
{
|
|
2020
2094
|
when: confirmIcon,
|
|
2021
|
-
fallback: /* @__PURE__ */ (0,
|
|
2095
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(FallbackIcon, { size: 24 }),
|
|
2022
2096
|
children: confirmIcon
|
|
2023
2097
|
}
|
|
2024
2098
|
)
|
|
2025
2099
|
}
|
|
2026
2100
|
),
|
|
2027
|
-
/* @__PURE__ */ (0,
|
|
2028
|
-
/* @__PURE__ */ (0,
|
|
2101
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
|
|
2102
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
|
|
2029
2103
|
] }) }),
|
|
2030
|
-
/* @__PURE__ */ (0,
|
|
2104
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx4.HStack, { gap: "md", w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(For, { each: content == null ? void 0 : content.actions._actions, children: (action, index) => {
|
|
2031
2105
|
var _a;
|
|
2032
|
-
return /* @__PURE__ */ (0,
|
|
2106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2033
2107
|
Show,
|
|
2034
2108
|
{
|
|
2035
2109
|
when: ((_a = content == null ? void 0 : content.actions) == null ? void 0 : _a.type) === "btnAction",
|
|
2036
|
-
fallback: /* @__PURE__ */ (0,
|
|
2037
|
-
children: /* @__PURE__ */ (0,
|
|
2110
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TriggerItem, { asChild: true, children: action }),
|
|
2111
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TriggerItem, { "data-index": index, onClick: handleActionClick, children: action == null ? void 0 : action.text })
|
|
2038
2112
|
},
|
|
2039
2113
|
index
|
|
2040
2114
|
);
|
|
@@ -2074,31 +2148,31 @@ function createCTAModalActions(providedActions) {
|
|
|
2074
2148
|
|
|
2075
2149
|
// src/components/date-picker/primitives.tsx
|
|
2076
2150
|
var import_date_picker = require("@ark-ui/react/date-picker");
|
|
2077
|
-
var
|
|
2078
|
-
var { withSlotRecipe:
|
|
2079
|
-
var DatePickerLabel =
|
|
2080
|
-
var DatePickerControl =
|
|
2081
|
-
var DatePickerInputEl =
|
|
2082
|
-
var DatePickerTrigger =
|
|
2083
|
-
var DatePickerContent =
|
|
2084
|
-
var DatePickerViewControl =
|
|
2151
|
+
var import_recipes22 = require("styled-system/recipes");
|
|
2152
|
+
var { withSlotRecipe: withSlotRecipe11, withNoRecipe: withNoRecipe6 } = createCerberusPrimitive(import_recipes22.datePicker);
|
|
2153
|
+
var DatePickerLabel = withSlotRecipe11(import_date_picker.DatePicker.Label, "label");
|
|
2154
|
+
var DatePickerControl = withSlotRecipe11(import_date_picker.DatePicker.Control, "control");
|
|
2155
|
+
var DatePickerInputEl = withSlotRecipe11(import_date_picker.DatePicker.Input, "input");
|
|
2156
|
+
var DatePickerTrigger = withSlotRecipe11(import_date_picker.DatePicker.Trigger, "trigger");
|
|
2157
|
+
var DatePickerContent = withSlotRecipe11(import_date_picker.DatePicker.Content, "content");
|
|
2158
|
+
var DatePickerViewControl = withSlotRecipe11(
|
|
2085
2159
|
import_date_picker.DatePicker.Control,
|
|
2086
2160
|
"viewControl"
|
|
2087
2161
|
);
|
|
2088
|
-
var DatePickerRangeText =
|
|
2162
|
+
var DatePickerRangeText = withSlotRecipe11(
|
|
2089
2163
|
import_date_picker.DatePicker.RangeText,
|
|
2090
2164
|
"rangeText"
|
|
2091
2165
|
);
|
|
2092
|
-
var DatePickerTable =
|
|
2093
|
-
var DatePickerTableHeader =
|
|
2166
|
+
var DatePickerTable = withSlotRecipe11(import_date_picker.DatePicker.Table, "table");
|
|
2167
|
+
var DatePickerTableHeader = withSlotRecipe11(
|
|
2094
2168
|
import_date_picker.DatePicker.TableHeader,
|
|
2095
2169
|
"tableHeader"
|
|
2096
2170
|
);
|
|
2097
|
-
var DatePickerTableCell =
|
|
2171
|
+
var DatePickerTableCell = withSlotRecipe11(
|
|
2098
2172
|
import_date_picker.DatePicker.TableCell,
|
|
2099
2173
|
"tableCell"
|
|
2100
2174
|
);
|
|
2101
|
-
var DatePickerTableCellTrigger =
|
|
2175
|
+
var DatePickerTableCellTrigger = withSlotRecipe11(
|
|
2102
2176
|
import_date_picker.DatePicker.TableCellTrigger,
|
|
2103
2177
|
"tableCellTrigger"
|
|
2104
2178
|
);
|
|
@@ -2145,9 +2219,9 @@ var DatePickerParts = {
|
|
|
2145
2219
|
};
|
|
2146
2220
|
|
|
2147
2221
|
// src/components/date-picker/date-picker.tsx
|
|
2148
|
-
var
|
|
2222
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
2149
2223
|
function DatePicker2(props) {
|
|
2150
|
-
return /* @__PURE__ */ (0,
|
|
2224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2151
2225
|
DatePickerParts.Root,
|
|
2152
2226
|
{
|
|
2153
2227
|
...props,
|
|
@@ -2159,19 +2233,19 @@ function DatePicker2(props) {
|
|
|
2159
2233
|
}
|
|
2160
2234
|
|
|
2161
2235
|
// src/components/date-picker/trigger.tsx
|
|
2162
|
-
var
|
|
2236
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
2163
2237
|
function DatePickerTrigger2(props) {
|
|
2164
2238
|
const { icons } = useCerberusContext();
|
|
2165
2239
|
const { calendar: CalendarIcon } = icons;
|
|
2166
|
-
return /* @__PURE__ */ (0,
|
|
2240
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(DatePickerParts.Trigger, { ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(IconButton, { ariaLabel: "Open calendar", size: "sm", usage: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CalendarIcon, {}) }) });
|
|
2167
2241
|
}
|
|
2168
2242
|
|
|
2169
2243
|
// src/components/date-picker/input.tsx
|
|
2170
|
-
var
|
|
2244
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
2171
2245
|
function DatePickerInput(props) {
|
|
2172
|
-
return /* @__PURE__ */ (0,
|
|
2173
|
-
/* @__PURE__ */ (0,
|
|
2174
|
-
/* @__PURE__ */ (0,
|
|
2246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(DatePickerParts.Control, { children: [
|
|
2247
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(DatePickerTrigger2, {}),
|
|
2248
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2175
2249
|
DatePickerParts.Input,
|
|
2176
2250
|
{
|
|
2177
2251
|
...props,
|
|
@@ -2183,11 +2257,11 @@ function DatePickerInput(props) {
|
|
|
2183
2257
|
}
|
|
2184
2258
|
|
|
2185
2259
|
// src/components/date-picker/range-input.tsx
|
|
2186
|
-
var
|
|
2260
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
2187
2261
|
function RangePickerInput(props) {
|
|
2188
|
-
return /* @__PURE__ */ (0,
|
|
2189
|
-
/* @__PURE__ */ (0,
|
|
2190
|
-
/* @__PURE__ */ (0,
|
|
2262
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(DatePickerParts.Control, { "data-range": true, children: [
|
|
2263
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DatePickerTrigger2, {}),
|
|
2264
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2191
2265
|
DatePickerParts.Input,
|
|
2192
2266
|
{
|
|
2193
2267
|
...props,
|
|
@@ -2197,7 +2271,7 @@ function RangePickerInput(props) {
|
|
|
2197
2271
|
index: 0
|
|
2198
2272
|
}
|
|
2199
2273
|
),
|
|
2200
|
-
/* @__PURE__ */ (0,
|
|
2274
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2201
2275
|
DatePickerParts.Input,
|
|
2202
2276
|
{
|
|
2203
2277
|
...props,
|
|
@@ -2212,21 +2286,21 @@ function RangePickerInput(props) {
|
|
|
2212
2286
|
}
|
|
2213
2287
|
|
|
2214
2288
|
// src/components/date-picker/content.tsx
|
|
2215
|
-
var
|
|
2289
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
2216
2290
|
function DatePickerContent2(props) {
|
|
2217
2291
|
const { withModal, container, ...contentProps } = props;
|
|
2218
|
-
return /* @__PURE__ */ (0,
|
|
2292
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Portal, { disabled: withModal ?? false, container, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(DatePickerParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(DatePickerParts.Content, { ...contentProps }) }) });
|
|
2219
2293
|
}
|
|
2220
2294
|
|
|
2221
2295
|
// src/components/date-picker/view-control-group.tsx
|
|
2222
2296
|
var import_css14 = require("styled-system/css");
|
|
2223
|
-
var
|
|
2297
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
2224
2298
|
function DatePickerViewControlGroup(props) {
|
|
2225
2299
|
const { icons } = useCerberusContext();
|
|
2226
2300
|
const { calendarPrev: PrevIcon, calendarNext: NextIcon } = icons;
|
|
2227
|
-
return /* @__PURE__ */ (0,
|
|
2228
|
-
/* @__PURE__ */ (0,
|
|
2229
|
-
/* @__PURE__ */ (0,
|
|
2301
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(DatePickerParts.ViewControl, { ...props, children: [
|
|
2302
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DatePickerParts.PrevTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(IconButton, { ariaLabel: "Previous", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(PrevIcon, {}) }) }),
|
|
2303
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DatePickerParts.ViewTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2230
2304
|
Button,
|
|
2231
2305
|
{
|
|
2232
2306
|
className: (0, import_css14.css)({
|
|
@@ -2236,15 +2310,15 @@ function DatePickerViewControlGroup(props) {
|
|
|
2236
2310
|
shape: "rounded",
|
|
2237
2311
|
size: "sm",
|
|
2238
2312
|
usage: "ghost",
|
|
2239
|
-
children: /* @__PURE__ */ (0,
|
|
2313
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DatePickerParts.RangeText, {})
|
|
2240
2314
|
}
|
|
2241
2315
|
) }),
|
|
2242
|
-
/* @__PURE__ */ (0,
|
|
2316
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DatePickerParts.NextTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(IconButton, { ariaLabel: "Next", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(NextIcon, {}) }) })
|
|
2243
2317
|
] });
|
|
2244
2318
|
}
|
|
2245
2319
|
|
|
2246
2320
|
// src/components/date-picker/day-view.tsx
|
|
2247
|
-
var
|
|
2321
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
2248
2322
|
function DatePickerDayView(props) {
|
|
2249
2323
|
function isToday(date) {
|
|
2250
2324
|
const today2 = /* @__PURE__ */ new Date();
|
|
@@ -2262,11 +2336,11 @@ function DatePickerDayView(props) {
|
|
|
2262
2336
|
if (isPastDay(date)) return "past";
|
|
2263
2337
|
return "future";
|
|
2264
2338
|
}
|
|
2265
|
-
return /* @__PURE__ */ (0,
|
|
2266
|
-
/* @__PURE__ */ (0,
|
|
2267
|
-
/* @__PURE__ */ (0,
|
|
2268
|
-
/* @__PURE__ */ (0,
|
|
2269
|
-
/* @__PURE__ */ (0,
|
|
2339
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.View, { ...props, view: "day", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.Context, { children: (datePickerData) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
|
|
2340
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerViewControlGroup, {}),
|
|
2341
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(DatePickerParts.Table, { children: [
|
|
2342
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.TableRow, { children: datePickerData.weekDays.map((weekDay, id) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.TableHeader, { children: weekDay.narrow }, id)) }) }),
|
|
2343
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.TableBody, { children: datePickerData.weeks.map((week, id) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.TableRow, { children: week.map((day, id2) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.TableCell, { value: day, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2270
2344
|
DatePickerParts.TableCellTrigger,
|
|
2271
2345
|
{
|
|
2272
2346
|
"data-date": getDayValue(day),
|
|
@@ -2278,30 +2352,30 @@ function DatePickerDayView(props) {
|
|
|
2278
2352
|
}
|
|
2279
2353
|
|
|
2280
2354
|
// src/components/date-picker/month-view.tsx
|
|
2281
|
-
var
|
|
2355
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
2282
2356
|
function DatePickerMonthView(props) {
|
|
2283
|
-
return /* @__PURE__ */ (0,
|
|
2284
|
-
/* @__PURE__ */ (0,
|
|
2285
|
-
/* @__PURE__ */ (0,
|
|
2357
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.View, { ...props, view: "month", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.Context, { children: (datePicker2) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
|
|
2358
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerViewControlGroup, {}),
|
|
2359
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.Table, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.TableBody, { children: datePicker2.getMonthsGrid({ columns: 4, format: "short" }).map((months, id) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.TableRow, { children: months.map((month, id2) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.TableCell, { value: month.value, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.TableCellTrigger, { children: month.label }) }, id2)) }, id)) }) })
|
|
2286
2360
|
] }) }) });
|
|
2287
2361
|
}
|
|
2288
2362
|
|
|
2289
2363
|
// src/components/date-picker/year-view.tsx
|
|
2290
|
-
var
|
|
2364
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
2291
2365
|
function DatePickerYearView(props) {
|
|
2292
|
-
return /* @__PURE__ */ (0,
|
|
2293
|
-
/* @__PURE__ */ (0,
|
|
2294
|
-
/* @__PURE__ */ (0,
|
|
2366
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.View, { ...props, view: "year", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.Context, { children: (datePicker2) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
|
|
2367
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerViewControlGroup, {}),
|
|
2368
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.Table, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.TableBody, { children: datePicker2.getYearsGrid({ columns: 4 }).map((years, id) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.TableRow, { children: years.map((year, id2) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.TableCell, { value: year.value, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.TableCellTrigger, { children: year.label }) }, id2)) }, id)) }) })
|
|
2295
2369
|
] }) }) });
|
|
2296
2370
|
}
|
|
2297
2371
|
|
|
2298
2372
|
// src/components/date-picker/calendar.tsx
|
|
2299
|
-
var
|
|
2373
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
2300
2374
|
function DatePickerCalendar(props) {
|
|
2301
|
-
return /* @__PURE__ */ (0,
|
|
2302
|
-
/* @__PURE__ */ (0,
|
|
2303
|
-
/* @__PURE__ */ (0,
|
|
2304
|
-
/* @__PURE__ */ (0,
|
|
2375
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DatePickerContent2, { ...props, children: [
|
|
2376
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerDayView, {}),
|
|
2377
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerMonthView, { view: "month" }),
|
|
2378
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerYearView, { view: "year" })
|
|
2305
2379
|
] });
|
|
2306
2380
|
}
|
|
2307
2381
|
|
|
@@ -2311,10 +2385,10 @@ var import_date = require("@internationalized/date");
|
|
|
2311
2385
|
|
|
2312
2386
|
// src/context/feature-flags.tsx
|
|
2313
2387
|
var import_react17 = require("react");
|
|
2314
|
-
var
|
|
2388
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
2315
2389
|
var FeatureFlagContext = (0, import_react17.createContext)(null);
|
|
2316
2390
|
function FeatureFlags(props) {
|
|
2317
|
-
return /* @__PURE__ */ (0,
|
|
2391
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(FeatureFlagContext.Provider, { value: props.flags, children: props.children });
|
|
2318
2392
|
}
|
|
2319
2393
|
function useFeatureFlags(key) {
|
|
2320
2394
|
const context = (0, import_react17.useContext)(FeatureFlagContext);
|
|
@@ -2327,29 +2401,29 @@ function useFeatureFlags(key) {
|
|
|
2327
2401
|
}
|
|
2328
2402
|
|
|
2329
2403
|
// src/components/feature-flag/feature-flag.tsx
|
|
2330
|
-
var
|
|
2404
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2331
2405
|
function FeatureFlag(props) {
|
|
2332
2406
|
const showContent = useFeatureFlags(props.flag);
|
|
2333
|
-
return /* @__PURE__ */ (0,
|
|
2407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Show, { when: showContent, children: props.children });
|
|
2334
2408
|
}
|
|
2335
2409
|
|
|
2336
2410
|
// src/components/fieldset/primitives.tsx
|
|
2337
2411
|
var import_fieldset = require("@ark-ui/react/fieldset");
|
|
2338
|
-
var
|
|
2339
|
-
var { withSlotRecipe:
|
|
2340
|
-
var FieldsetRoot =
|
|
2412
|
+
var import_recipes23 = require("styled-system/recipes");
|
|
2413
|
+
var { withSlotRecipe: withSlotRecipe12 } = createCerberusPrimitive(import_recipes23.fieldset);
|
|
2414
|
+
var FieldsetRoot = withSlotRecipe12(
|
|
2341
2415
|
import_fieldset.Fieldset.Root,
|
|
2342
2416
|
"root"
|
|
2343
2417
|
);
|
|
2344
|
-
var FieldsetLegend =
|
|
2418
|
+
var FieldsetLegend = withSlotRecipe12(
|
|
2345
2419
|
import_fieldset.Fieldset.Legend,
|
|
2346
2420
|
"legend"
|
|
2347
2421
|
);
|
|
2348
|
-
var FieldsetHelperText =
|
|
2422
|
+
var FieldsetHelperText = withSlotRecipe12(
|
|
2349
2423
|
import_fieldset.Fieldset.HelperText,
|
|
2350
2424
|
"helperText"
|
|
2351
2425
|
);
|
|
2352
|
-
var FieldsetErrorText =
|
|
2426
|
+
var FieldsetErrorText = withSlotRecipe12(
|
|
2353
2427
|
import_fieldset.Fieldset.ErrorText,
|
|
2354
2428
|
"errorText"
|
|
2355
2429
|
);
|
|
@@ -2363,32 +2437,32 @@ var FieldsetParts = {
|
|
|
2363
2437
|
};
|
|
2364
2438
|
|
|
2365
2439
|
// src/components/fieldset/fieldset.tsx
|
|
2366
|
-
var
|
|
2440
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2367
2441
|
function Fieldset2(props) {
|
|
2368
2442
|
const [fieldsetProps, { usage }, rootProps] = splitProps(
|
|
2369
2443
|
props,
|
|
2370
2444
|
["legend", "helperText", "errorText", "children"],
|
|
2371
2445
|
["usage"]
|
|
2372
2446
|
);
|
|
2373
|
-
return /* @__PURE__ */ (0,
|
|
2374
|
-
/* @__PURE__ */ (0,
|
|
2375
|
-
/* @__PURE__ */ (0,
|
|
2447
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(FieldsetParts.Root, { ...rootProps, children: [
|
|
2448
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(FieldsetParts.Legend, { usage, children: fieldsetProps.legend }),
|
|
2449
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(FieldsetParts.HelperText, { usage, children: fieldsetProps.helperText }),
|
|
2376
2450
|
fieldsetProps.children,
|
|
2377
|
-
/* @__PURE__ */ (0,
|
|
2451
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(FieldsetParts.ErrorText, { children: fieldsetProps.errorText })
|
|
2378
2452
|
] });
|
|
2379
2453
|
}
|
|
2380
2454
|
|
|
2381
2455
|
// src/components/file-upload/file-status.tsx
|
|
2382
2456
|
var import_react18 = require("react");
|
|
2383
|
-
var
|
|
2457
|
+
var import_recipes25 = require("styled-system/recipes");
|
|
2384
2458
|
var import_css15 = require("styled-system/css");
|
|
2385
2459
|
var import_patterns3 = require("styled-system/patterns");
|
|
2386
2460
|
|
|
2387
2461
|
// src/components/progress/primitives.ts
|
|
2388
2462
|
var import_factory9 = require("@ark-ui/react/factory");
|
|
2389
|
-
var
|
|
2390
|
-
var { withSlotRecipe:
|
|
2391
|
-
var ProgressBarRoot =
|
|
2463
|
+
var import_recipes24 = require("styled-system/recipes");
|
|
2464
|
+
var { withSlotRecipe: withSlotRecipe13 } = createCerberusPrimitive(import_recipes24.progressBar);
|
|
2465
|
+
var ProgressBarRoot = withSlotRecipe13(
|
|
2392
2466
|
import_factory9.ark.div,
|
|
2393
2467
|
"root",
|
|
2394
2468
|
{
|
|
@@ -2399,26 +2473,26 @@ var ProgressBarRoot = withSlotRecipe12(
|
|
|
2399
2473
|
}
|
|
2400
2474
|
}
|
|
2401
2475
|
);
|
|
2402
|
-
var ProgressBarBar =
|
|
2476
|
+
var ProgressBarBar = withSlotRecipe13(
|
|
2403
2477
|
import_factory9.ark.div,
|
|
2404
2478
|
"bar"
|
|
2405
2479
|
);
|
|
2406
2480
|
|
|
2407
2481
|
// src/components/progress/progress-bar.tsx
|
|
2408
|
-
var
|
|
2482
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2409
2483
|
function ProgressBar(props) {
|
|
2410
2484
|
const { indeterminate, now, label: label4, ...nativeProps } = props;
|
|
2411
2485
|
const nowClamped = Math.min(100, Math.max(0, now || 0));
|
|
2412
2486
|
const width = {
|
|
2413
2487
|
width: indeterminate ? "50%" : `${nowClamped}%`
|
|
2414
2488
|
};
|
|
2415
|
-
return /* @__PURE__ */ (0,
|
|
2489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2416
2490
|
ProgressBarRoot,
|
|
2417
2491
|
{
|
|
2418
2492
|
...nativeProps,
|
|
2419
2493
|
"aria-label": label4,
|
|
2420
2494
|
"aria-valuenow": indeterminate ? 0 : nowClamped,
|
|
2421
|
-
children: /* @__PURE__ */ (0,
|
|
2495
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2422
2496
|
ProgressBarBar,
|
|
2423
2497
|
{
|
|
2424
2498
|
...indeterminate && { "data-state": "indeterminate" },
|
|
@@ -2431,7 +2505,7 @@ function ProgressBar(props) {
|
|
|
2431
2505
|
}
|
|
2432
2506
|
|
|
2433
2507
|
// src/components/file-upload/file-status.tsx
|
|
2434
|
-
var
|
|
2508
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2435
2509
|
var processStatus = /* @__PURE__ */ ((processStatus2) => {
|
|
2436
2510
|
processStatus2["TODO"] = "todo";
|
|
2437
2511
|
processStatus2["PROCESSING"] = "processing";
|
|
@@ -2447,15 +2521,15 @@ function FileStatus(props) {
|
|
|
2447
2521
|
const styles = (0, import_react18.useMemo)(() => {
|
|
2448
2522
|
switch (status) {
|
|
2449
2523
|
case "todo" /* TODO */:
|
|
2450
|
-
return (0,
|
|
2524
|
+
return (0, import_recipes25.fileStatus)({ status: "todo" });
|
|
2451
2525
|
case "processing" /* PROCESSING */:
|
|
2452
|
-
return (0,
|
|
2526
|
+
return (0, import_recipes25.fileStatus)({ status: "processing" });
|
|
2453
2527
|
case "done" /* DONE */:
|
|
2454
|
-
return (0,
|
|
2528
|
+
return (0, import_recipes25.fileStatus)({ status: "done" });
|
|
2455
2529
|
case "error" /* ERROR */:
|
|
2456
|
-
return (0,
|
|
2530
|
+
return (0, import_recipes25.fileStatus)({ status: "error" });
|
|
2457
2531
|
default:
|
|
2458
|
-
return (0,
|
|
2532
|
+
return (0, import_recipes25.fileStatus)();
|
|
2459
2533
|
}
|
|
2460
2534
|
}, [status]);
|
|
2461
2535
|
const handleClick = (0, import_react18.useCallback)(
|
|
@@ -2467,20 +2541,20 @@ function FileStatus(props) {
|
|
|
2467
2541
|
},
|
|
2468
2542
|
[onClick, status]
|
|
2469
2543
|
);
|
|
2470
|
-
return /* @__PURE__ */ (0,
|
|
2544
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2471
2545
|
"div",
|
|
2472
2546
|
{
|
|
2473
2547
|
...nativeProps,
|
|
2474
2548
|
className: (0, import_css15.cx)(nativeProps.className, styles.root, (0, import_patterns3.hstack)()),
|
|
2475
2549
|
children: [
|
|
2476
|
-
/* @__PURE__ */ (0,
|
|
2550
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2477
2551
|
Avatar2,
|
|
2478
2552
|
{
|
|
2479
2553
|
gradient: modalIconPalette,
|
|
2480
|
-
fallback: /* @__PURE__ */ (0,
|
|
2554
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(MatchFileStatusIcon, { size: 24, status })
|
|
2481
2555
|
}
|
|
2482
2556
|
),
|
|
2483
|
-
/* @__PURE__ */ (0,
|
|
2557
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2484
2558
|
"div",
|
|
2485
2559
|
{
|
|
2486
2560
|
className: (0, import_patterns3.vstack)({
|
|
@@ -2489,7 +2563,7 @@ function FileStatus(props) {
|
|
|
2489
2563
|
w: "full"
|
|
2490
2564
|
}),
|
|
2491
2565
|
children: [
|
|
2492
|
-
/* @__PURE__ */ (0,
|
|
2566
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2493
2567
|
"small",
|
|
2494
2568
|
{
|
|
2495
2569
|
className: (0, import_css15.css)({
|
|
@@ -2499,7 +2573,7 @@ function FileStatus(props) {
|
|
|
2499
2573
|
children: file
|
|
2500
2574
|
}
|
|
2501
2575
|
),
|
|
2502
|
-
/* @__PURE__ */ (0,
|
|
2576
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2503
2577
|
ProgressBar,
|
|
2504
2578
|
{
|
|
2505
2579
|
id: props.id,
|
|
@@ -2508,27 +2582,27 @@ function FileStatus(props) {
|
|
|
2508
2582
|
size: "sm"
|
|
2509
2583
|
}
|
|
2510
2584
|
),
|
|
2511
|
-
/* @__PURE__ */ (0,
|
|
2585
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Field3, { label: "", invalid: modalIconPalette === "hades-dark", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2512
2586
|
FieldHelperText,
|
|
2513
2587
|
{
|
|
2514
2588
|
className: (0, import_css15.css)({
|
|
2515
2589
|
color: "page.text.100"
|
|
2516
2590
|
}),
|
|
2517
2591
|
id: `help:${file}`,
|
|
2518
|
-
children: /* @__PURE__ */ (0,
|
|
2592
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(MatchFileStatusText, { status, now })
|
|
2519
2593
|
}
|
|
2520
2594
|
) })
|
|
2521
2595
|
]
|
|
2522
2596
|
}
|
|
2523
2597
|
),
|
|
2524
|
-
/* @__PURE__ */ (0,
|
|
2598
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2525
2599
|
IconButton,
|
|
2526
2600
|
{
|
|
2527
2601
|
ariaLabel: actionLabel,
|
|
2528
2602
|
onClick: handleClick,
|
|
2529
2603
|
palette,
|
|
2530
2604
|
size: "sm",
|
|
2531
|
-
children: /* @__PURE__ */ (0,
|
|
2605
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(MatchStatusAction, { status })
|
|
2532
2606
|
}
|
|
2533
2607
|
)
|
|
2534
2608
|
]
|
|
@@ -2545,13 +2619,13 @@ function MatchFileStatusIcon(props) {
|
|
|
2545
2619
|
} = icons;
|
|
2546
2620
|
switch (props.status) {
|
|
2547
2621
|
case "todo" /* TODO */:
|
|
2548
|
-
return /* @__PURE__ */ (0,
|
|
2622
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(TodoIcon, { size: props.size });
|
|
2549
2623
|
case "processing" /* PROCESSING */:
|
|
2550
|
-
return /* @__PURE__ */ (0,
|
|
2624
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(FileUploaderIcon, { size: props.size });
|
|
2551
2625
|
case "done" /* DONE */:
|
|
2552
|
-
return /* @__PURE__ */ (0,
|
|
2626
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(DoneIcon, { size: props.size });
|
|
2553
2627
|
case "error" /* ERROR */:
|
|
2554
|
-
return /* @__PURE__ */ (0,
|
|
2628
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InvalidIcon, { size: props.size });
|
|
2555
2629
|
default:
|
|
2556
2630
|
throw new Error("Unknown status");
|
|
2557
2631
|
}
|
|
@@ -2576,11 +2650,11 @@ function MatchStatusAction(props) {
|
|
|
2576
2650
|
switch (props.status) {
|
|
2577
2651
|
case "todo" /* TODO */:
|
|
2578
2652
|
case "processing" /* PROCESSING */:
|
|
2579
|
-
return /* @__PURE__ */ (0,
|
|
2653
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CloseIcon, {});
|
|
2580
2654
|
case "error" /* ERROR */:
|
|
2581
|
-
return /* @__PURE__ */ (0,
|
|
2655
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(RedoIcon, {});
|
|
2582
2656
|
case "done" /* DONE */:
|
|
2583
|
-
return /* @__PURE__ */ (0,
|
|
2657
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(TrashIcon, {});
|
|
2584
2658
|
default:
|
|
2585
2659
|
throw new Error("Invalid status");
|
|
2586
2660
|
}
|
|
@@ -2628,14 +2702,14 @@ function getModalIconPalette(status) {
|
|
|
2628
2702
|
// src/components/file-upload/file-uploader.tsx
|
|
2629
2703
|
var import_css16 = require("styled-system/css");
|
|
2630
2704
|
var import_patterns4 = require("styled-system/patterns");
|
|
2631
|
-
var
|
|
2632
|
-
var
|
|
2705
|
+
var import_recipes26 = require("styled-system/recipes");
|
|
2706
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2633
2707
|
function FileUploader(props) {
|
|
2634
2708
|
var _a;
|
|
2635
2709
|
const { icons } = useCerberusContext();
|
|
2636
|
-
const styles = (0,
|
|
2710
|
+
const styles = (0, import_recipes26.fileUploader)();
|
|
2637
2711
|
const { waitingFileUploader: Icon } = icons;
|
|
2638
|
-
return /* @__PURE__ */ (0,
|
|
2712
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2639
2713
|
"div",
|
|
2640
2714
|
{
|
|
2641
2715
|
...props.disabled ? { "aria-disabled": true } : {},
|
|
@@ -2646,8 +2720,8 @@ function FileUploader(props) {
|
|
|
2646
2720
|
styles.container
|
|
2647
2721
|
),
|
|
2648
2722
|
children: [
|
|
2649
|
-
/* @__PURE__ */ (0,
|
|
2650
|
-
/* @__PURE__ */ (0,
|
|
2723
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Avatar2, { gradient: "charon-light", fallback: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, {}) }) }),
|
|
2724
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2651
2725
|
"label",
|
|
2652
2726
|
{
|
|
2653
2727
|
className: (0, import_css16.cx)(
|
|
@@ -2658,12 +2732,12 @@ function FileUploader(props) {
|
|
|
2658
2732
|
),
|
|
2659
2733
|
htmlFor: props.name,
|
|
2660
2734
|
children: [
|
|
2661
|
-
/* @__PURE__ */ (0,
|
|
2735
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Show, { when: props.heading, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: styles.heading, children: props.heading }) }),
|
|
2662
2736
|
"Import ",
|
|
2663
2737
|
(_a = props.accept) == null ? void 0 : _a.replace(",", ", "),
|
|
2664
2738
|
" files",
|
|
2665
|
-
/* @__PURE__ */ (0,
|
|
2666
|
-
/* @__PURE__ */ (0,
|
|
2739
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: styles.description, children: "Click to select files" }),
|
|
2740
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2667
2741
|
"input",
|
|
2668
2742
|
{
|
|
2669
2743
|
...props,
|
|
@@ -2681,9 +2755,9 @@ function FileUploader(props) {
|
|
|
2681
2755
|
|
|
2682
2756
|
// src/components/menu/primitives.ts
|
|
2683
2757
|
var import_react19 = require("@ark-ui/react");
|
|
2684
|
-
var
|
|
2685
|
-
var { withSlotRecipe:
|
|
2686
|
-
var MenuRoot =
|
|
2758
|
+
var import_recipes27 = require("styled-system/recipes");
|
|
2759
|
+
var { withSlotRecipe: withSlotRecipe14, withNoRecipe: withNoRecipe7 } = createCerberusPrimitive(import_recipes27.menu);
|
|
2760
|
+
var MenuRoot = withSlotRecipe14(import_react19.Menu.Root, "root");
|
|
2687
2761
|
var MenuTriggerEl = withNoRecipe7(import_react19.Menu.Trigger);
|
|
2688
2762
|
var MenuTriggerItem = withNoRecipe7(
|
|
2689
2763
|
import_react19.Menu.TriggerItem
|
|
@@ -2692,31 +2766,31 @@ var MenuIndicator = withNoRecipe7(import_react19.Menu.Indicator);
|
|
|
2692
2766
|
var MenuPositioner = withNoRecipe7(
|
|
2693
2767
|
import_react19.Menu.Positioner
|
|
2694
2768
|
);
|
|
2695
|
-
var MenuContentEl =
|
|
2769
|
+
var MenuContentEl = withSlotRecipe14(
|
|
2696
2770
|
import_react19.Menu.Content,
|
|
2697
2771
|
"content"
|
|
2698
2772
|
);
|
|
2699
|
-
var MenuItemEl =
|
|
2773
|
+
var MenuItemEl = withSlotRecipe14(import_react19.Menu.Item, "item");
|
|
2700
2774
|
var MenuItemGroupEl = withNoRecipe7(
|
|
2701
2775
|
import_react19.Menu.ItemGroup
|
|
2702
2776
|
);
|
|
2703
|
-
var MenuItemGroupLabelEl =
|
|
2777
|
+
var MenuItemGroupLabelEl = withSlotRecipe14(
|
|
2704
2778
|
import_react19.Menu.ItemGroupLabel,
|
|
2705
2779
|
"itemGroupLabel"
|
|
2706
2780
|
);
|
|
2707
|
-
var MenuSeparatorEl =
|
|
2781
|
+
var MenuSeparatorEl = withSlotRecipe14(
|
|
2708
2782
|
import_react19.Menu.Separator,
|
|
2709
2783
|
"separator"
|
|
2710
2784
|
);
|
|
2711
2785
|
|
|
2712
2786
|
// src/components/menu/menu.tsx
|
|
2713
|
-
var
|
|
2787
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2714
2788
|
var Menu = MenuRoot;
|
|
2715
2789
|
function MenuTrigger(props) {
|
|
2716
|
-
return /* @__PURE__ */ (0,
|
|
2790
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(MenuTriggerEl, { ...props, asChild: true });
|
|
2717
2791
|
}
|
|
2718
2792
|
function MenuContent(props) {
|
|
2719
|
-
return /* @__PURE__ */ (0,
|
|
2793
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(MenuPositioner, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(MenuContentEl, { ...props }) });
|
|
2720
2794
|
}
|
|
2721
2795
|
var MenuItem = MenuItemEl;
|
|
2722
2796
|
var MenuItemGroup = MenuItemGroupEl;
|
|
@@ -2725,23 +2799,23 @@ var MenuSeparator = MenuSeparatorEl;
|
|
|
2725
2799
|
|
|
2726
2800
|
// src/components/notifications/primitives.tsx
|
|
2727
2801
|
var import_toast = require("@ark-ui/react/toast");
|
|
2728
|
-
var
|
|
2729
|
-
var { withSlotRecipe:
|
|
2802
|
+
var import_recipes28 = require("styled-system/recipes");
|
|
2803
|
+
var { withSlotRecipe: withSlotRecipe15 } = createCerberusPrimitive(import_recipes28.toast);
|
|
2730
2804
|
var NotificationProvider = import_toast.Toaster;
|
|
2731
|
-
var NotificationRoot =
|
|
2805
|
+
var NotificationRoot = withSlotRecipe15(
|
|
2732
2806
|
import_toast.Toast.Root,
|
|
2733
2807
|
"root"
|
|
2734
2808
|
);
|
|
2735
|
-
var NotificationHeading =
|
|
2809
|
+
var NotificationHeading = withSlotRecipe15(
|
|
2736
2810
|
import_toast.Toast.Title,
|
|
2737
2811
|
"title"
|
|
2738
2812
|
);
|
|
2739
|
-
var NotificationDescription =
|
|
2740
|
-
var NotificationCloseTrigger =
|
|
2813
|
+
var NotificationDescription = withSlotRecipe15(import_toast.Toast.Description, "description");
|
|
2814
|
+
var NotificationCloseTrigger = withSlotRecipe15(
|
|
2741
2815
|
import_toast.Toast.CloseTrigger,
|
|
2742
2816
|
"closeTrigger"
|
|
2743
2817
|
);
|
|
2744
|
-
var NotificationActionTrigger =
|
|
2818
|
+
var NotificationActionTrigger = withSlotRecipe15(
|
|
2745
2819
|
import_toast.Toast.ActionTrigger,
|
|
2746
2820
|
"actionTrigger"
|
|
2747
2821
|
);
|
|
@@ -2761,49 +2835,49 @@ var import_jsx5 = require("styled-system/jsx");
|
|
|
2761
2835
|
|
|
2762
2836
|
// src/components/notifications/match-icon.tsx
|
|
2763
2837
|
var import_factory10 = require("@ark-ui/react/factory");
|
|
2764
|
-
var
|
|
2765
|
-
var
|
|
2838
|
+
var import_recipes29 = require("styled-system/recipes");
|
|
2839
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2766
2840
|
function MatchNotificationIcon(props) {
|
|
2767
2841
|
const { icons } = useCerberusContext();
|
|
2768
2842
|
const type = props.type || "info";
|
|
2769
|
-
const styles = (0,
|
|
2843
|
+
const styles = (0, import_recipes29.toast)();
|
|
2770
2844
|
const key = `${type}Notification`;
|
|
2771
2845
|
const Icon = icons[key] || ToastLoadingIcon;
|
|
2772
|
-
return /* @__PURE__ */ (0,
|
|
2846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_factory10.ark.div, { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, {}) });
|
|
2773
2847
|
}
|
|
2774
2848
|
function ToastLoadingIcon() {
|
|
2775
|
-
return /* @__PURE__ */ (0,
|
|
2849
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Spinner, { size: "1rem" });
|
|
2776
2850
|
}
|
|
2777
2851
|
|
|
2778
2852
|
// src/components/notifications/close-trigger.tsx
|
|
2779
|
-
var
|
|
2853
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2780
2854
|
function ToastCloseTrigger(props) {
|
|
2781
2855
|
const { icons } = useCerberusContext();
|
|
2782
2856
|
const { close: CloseIcon } = icons;
|
|
2783
|
-
return /* @__PURE__ */ (0,
|
|
2857
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(NotificationParts.CloseTrigger, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(CloseIcon, {}) });
|
|
2784
2858
|
}
|
|
2785
2859
|
|
|
2786
2860
|
// src/components/notifications/center.tsx
|
|
2787
|
-
var
|
|
2861
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2788
2862
|
var toaster = (0, import_toast2.createToaster)({
|
|
2789
2863
|
gap: 16,
|
|
2790
2864
|
overlap: true,
|
|
2791
2865
|
placement: "top-end"
|
|
2792
2866
|
});
|
|
2793
2867
|
function NotificationCenter() {
|
|
2794
|
-
return /* @__PURE__ */ (0,
|
|
2868
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_toast2.Toaster, { toaster, children: (toast3) => {
|
|
2795
2869
|
var _a;
|
|
2796
|
-
return /* @__PURE__ */ (0,
|
|
2797
|
-
/* @__PURE__ */ (0,
|
|
2870
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(NotificationParts.Root, { children: [
|
|
2871
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2798
2872
|
MatchNotificationIcon,
|
|
2799
2873
|
{
|
|
2800
2874
|
type: toast3.type
|
|
2801
2875
|
}
|
|
2802
2876
|
),
|
|
2803
|
-
/* @__PURE__ */ (0,
|
|
2804
|
-
/* @__PURE__ */ (0,
|
|
2805
|
-
/* @__PURE__ */ (0,
|
|
2806
|
-
/* @__PURE__ */ (0,
|
|
2877
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx5.Box, { flex: "1", paddingBlock: "sm", children: [
|
|
2878
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(NotificationParts.Heading, { children: toast3.title }),
|
|
2879
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(NotificationParts.Description, { children: toast3.description }),
|
|
2880
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Show, { when: toast3.action, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(NotificationParts.ActionTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2807
2881
|
Button,
|
|
2808
2882
|
{
|
|
2809
2883
|
palette: toast3.type,
|
|
@@ -2813,7 +2887,7 @@ function NotificationCenter() {
|
|
|
2813
2887
|
}
|
|
2814
2888
|
) }) })
|
|
2815
2889
|
] }),
|
|
2816
|
-
/* @__PURE__ */ (0,
|
|
2890
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ToastCloseTrigger, {})
|
|
2817
2891
|
] }, toast3.id);
|
|
2818
2892
|
} });
|
|
2819
2893
|
}
|
|
@@ -2831,29 +2905,29 @@ function useNotificationCenter() {
|
|
|
2831
2905
|
|
|
2832
2906
|
// src/components/radio/primitives.tsx
|
|
2833
2907
|
var import_radio_group = require("@ark-ui/react/radio-group");
|
|
2834
|
-
var
|
|
2835
|
-
var { withSlotRecipe:
|
|
2836
|
-
var RadioGroupRoot =
|
|
2908
|
+
var import_recipes30 = require("styled-system/recipes");
|
|
2909
|
+
var { withSlotRecipe: withSlotRecipe16 } = createCerberusPrimitive(import_recipes30.radioGroup);
|
|
2910
|
+
var RadioGroupRoot = withSlotRecipe16(
|
|
2837
2911
|
import_radio_group.RadioGroup.Root,
|
|
2838
2912
|
"root"
|
|
2839
2913
|
);
|
|
2840
|
-
var RadioGroupLabel =
|
|
2914
|
+
var RadioGroupLabel = withSlotRecipe16(
|
|
2841
2915
|
import_radio_group.RadioGroup.Label,
|
|
2842
2916
|
"label"
|
|
2843
2917
|
);
|
|
2844
|
-
var RadioGroupIndicator =
|
|
2918
|
+
var RadioGroupIndicator = withSlotRecipe16(
|
|
2845
2919
|
import_radio_group.RadioGroup.Indicator,
|
|
2846
2920
|
"indicator"
|
|
2847
2921
|
);
|
|
2848
|
-
var RadioGroupItem =
|
|
2922
|
+
var RadioGroupItem = withSlotRecipe16(
|
|
2849
2923
|
import_radio_group.RadioGroup.Item,
|
|
2850
2924
|
"item"
|
|
2851
2925
|
);
|
|
2852
|
-
var RadioGroupItemText =
|
|
2926
|
+
var RadioGroupItemText = withSlotRecipe16(
|
|
2853
2927
|
import_radio_group.RadioGroup.ItemText,
|
|
2854
2928
|
"itemText"
|
|
2855
2929
|
);
|
|
2856
|
-
var RadioGroupItemControl =
|
|
2930
|
+
var RadioGroupItemControl = withSlotRecipe16(
|
|
2857
2931
|
import_radio_group.RadioGroup.ItemControl,
|
|
2858
2932
|
"itemControl"
|
|
2859
2933
|
);
|
|
@@ -2872,34 +2946,34 @@ var RadioParts = {
|
|
|
2872
2946
|
};
|
|
2873
2947
|
|
|
2874
2948
|
// src/components/radio/radio.tsx
|
|
2875
|
-
var
|
|
2949
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2876
2950
|
function Radio(props) {
|
|
2877
2951
|
const { size, children, ...groupProps } = props;
|
|
2878
|
-
return /* @__PURE__ */ (0,
|
|
2879
|
-
/* @__PURE__ */ (0,
|
|
2880
|
-
/* @__PURE__ */ (0,
|
|
2881
|
-
/* @__PURE__ */ (0,
|
|
2952
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(RadioGroupItem, { ...groupProps, children: [
|
|
2953
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(RadioGroupItemControl, { size }),
|
|
2954
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(RadioGroupItemText, { size, children }),
|
|
2955
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(RadioGroupItemHiddenInput, {})
|
|
2882
2956
|
] });
|
|
2883
2957
|
}
|
|
2884
2958
|
|
|
2885
2959
|
// src/components/rating/primitives.tsx
|
|
2886
2960
|
var import_rating_group = require("@ark-ui/react/rating-group");
|
|
2887
|
-
var
|
|
2888
|
-
var { withSlotRecipe:
|
|
2889
|
-
var RatingRoot =
|
|
2961
|
+
var import_recipes31 = require("styled-system/recipes");
|
|
2962
|
+
var { withSlotRecipe: withSlotRecipe17 } = createCerberusPrimitive(import_recipes31.ratingGroup);
|
|
2963
|
+
var RatingRoot = withSlotRecipe17(
|
|
2890
2964
|
import_rating_group.RatingGroup.Root,
|
|
2891
2965
|
"root"
|
|
2892
2966
|
);
|
|
2893
|
-
var RatingLabel =
|
|
2967
|
+
var RatingLabel = withSlotRecipe17(
|
|
2894
2968
|
import_rating_group.RatingGroup.Label,
|
|
2895
2969
|
"label"
|
|
2896
2970
|
);
|
|
2897
|
-
var RatingControl =
|
|
2971
|
+
var RatingControl = withSlotRecipe17(
|
|
2898
2972
|
import_rating_group.RatingGroup.Control,
|
|
2899
2973
|
"control"
|
|
2900
2974
|
);
|
|
2901
2975
|
var RatingContext = import_rating_group.RatingGroup.Context;
|
|
2902
|
-
var RatingItem =
|
|
2976
|
+
var RatingItem = withSlotRecipe17(
|
|
2903
2977
|
import_rating_group.RatingGroup.Item,
|
|
2904
2978
|
"item"
|
|
2905
2979
|
);
|
|
@@ -2918,21 +2992,21 @@ var RatingParts = {
|
|
|
2918
2992
|
};
|
|
2919
2993
|
|
|
2920
2994
|
// src/components/rating/rating.tsx
|
|
2921
|
-
var
|
|
2995
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2922
2996
|
function Rating(props) {
|
|
2923
2997
|
const [{ label: label4 }, styleProps, rootProps] = splitProps(
|
|
2924
2998
|
props,
|
|
2925
2999
|
["label"],
|
|
2926
3000
|
["orientation", "palette", "size"]
|
|
2927
3001
|
);
|
|
2928
|
-
return /* @__PURE__ */ (0,
|
|
2929
|
-
/* @__PURE__ */ (0,
|
|
2930
|
-
/* @__PURE__ */ (0,
|
|
3002
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(RatingParts.Root, { ...styleProps, ...rootProps, children: [
|
|
3003
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Show, { when: label4, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(RatingParts.Label, { children: label4 }) }),
|
|
3004
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(RatingParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(RatingParts.Context, { children: (context) => context.items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2931
3005
|
RatingParts.Item,
|
|
2932
3006
|
{
|
|
2933
3007
|
index: item,
|
|
2934
3008
|
palette: styleProps.palette,
|
|
2935
|
-
children: /* @__PURE__ */ (0,
|
|
3009
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(RatingParts.ItemContext, { children: rootProps.children })
|
|
2936
3010
|
},
|
|
2937
3011
|
item
|
|
2938
3012
|
)) }) })
|
|
@@ -2960,33 +3034,33 @@ var SelectParts = {
|
|
|
2960
3034
|
|
|
2961
3035
|
// src/components/select/select.tsx
|
|
2962
3036
|
var import_jsx6 = require("styled-system/jsx");
|
|
2963
|
-
var
|
|
3037
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2964
3038
|
function Select2(props) {
|
|
2965
3039
|
const { collection, container, placeholder, ...rootProps } = props;
|
|
2966
3040
|
const { icons } = useCerberusContext();
|
|
2967
3041
|
const { selectArrow: SelectArrow, invalid: InvalidIcon } = icons;
|
|
2968
|
-
return /* @__PURE__ */ (0,
|
|
2969
|
-
/* @__PURE__ */ (0,
|
|
2970
|
-
/* @__PURE__ */ (0,
|
|
2971
|
-
/* @__PURE__ */ (0,
|
|
2972
|
-
/* @__PURE__ */ (0,
|
|
2973
|
-
/* @__PURE__ */ (0,
|
|
3042
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(SelectParts.Root, { collection, ...rootProps, children: [
|
|
3043
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SelectParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(SelectParts.Trigger, { children: [
|
|
3044
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SelectParts.ValueText, { placeholder }),
|
|
3045
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx6.HStack, { children: [
|
|
3046
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Show, { when: props.invalid, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InvalidIcon, { "data-part": "invalid-icon" }) }),
|
|
3047
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SelectParts.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SelectArrow, {}) })
|
|
2974
3048
|
] })
|
|
2975
3049
|
] }) }),
|
|
2976
|
-
/* @__PURE__ */ (0,
|
|
2977
|
-
/* @__PURE__ */ (0,
|
|
3050
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Portal, { container, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SelectParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SelectParts.Content, { size: rootProps.size, children: props.children }) }) }),
|
|
3051
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SelectParts.HiddenSelect, {})
|
|
2978
3052
|
] });
|
|
2979
3053
|
}
|
|
2980
3054
|
|
|
2981
3055
|
// src/components/select/option.tsx
|
|
2982
|
-
var
|
|
3056
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2983
3057
|
function Option(props) {
|
|
2984
3058
|
const { item, ...itemProps } = props;
|
|
2985
3059
|
const { icons } = useCerberusContext();
|
|
2986
3060
|
const { selectChecked: CheckedIcon } = icons;
|
|
2987
|
-
return /* @__PURE__ */ (0,
|
|
2988
|
-
/* @__PURE__ */ (0,
|
|
2989
|
-
/* @__PURE__ */ (0,
|
|
3061
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(SelectParts.Item, { ...itemProps, item, children: [
|
|
3062
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(SelectParts.ItemText, { children: item == null ? void 0 : item.label }),
|
|
3063
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(SelectParts.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CheckedIcon, {}) })
|
|
2990
3064
|
] });
|
|
2991
3065
|
}
|
|
2992
3066
|
|
|
@@ -2996,18 +3070,18 @@ var OptionGroupLabel = SelectItemGroupLabel;
|
|
|
2996
3070
|
|
|
2997
3071
|
// src/components/switch/primitives.tsx
|
|
2998
3072
|
var import_switch = require("@ark-ui/react/switch");
|
|
2999
|
-
var
|
|
3000
|
-
var { withSlotRecipe:
|
|
3001
|
-
var SwitchRoot =
|
|
3002
|
-
var SwitchLabel =
|
|
3073
|
+
var import_recipes32 = require("styled-system/recipes");
|
|
3074
|
+
var { withSlotRecipe: withSlotRecipe18, withNoRecipe: withNoRecipe8 } = createCerberusPrimitive(import_recipes32.switchRecipe);
|
|
3075
|
+
var SwitchRoot = withSlotRecipe18(import_switch.Switch.Root, "root");
|
|
3076
|
+
var SwitchLabel = withSlotRecipe18(
|
|
3003
3077
|
import_switch.Switch.Label,
|
|
3004
3078
|
"label"
|
|
3005
3079
|
);
|
|
3006
|
-
var SwitchControl =
|
|
3080
|
+
var SwitchControl = withSlotRecipe18(
|
|
3007
3081
|
import_switch.Switch.Control,
|
|
3008
3082
|
"control"
|
|
3009
3083
|
);
|
|
3010
|
-
var SwitchThumb =
|
|
3084
|
+
var SwitchThumb = withSlotRecipe18(
|
|
3011
3085
|
import_switch.Switch.Thumb,
|
|
3012
3086
|
"thumb"
|
|
3013
3087
|
);
|
|
@@ -3025,83 +3099,83 @@ var SwitchParts = {
|
|
|
3025
3099
|
};
|
|
3026
3100
|
|
|
3027
3101
|
// src/components/switch/switch-indicator.tsx
|
|
3028
|
-
var
|
|
3102
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
3029
3103
|
function SwitchIndicator() {
|
|
3030
3104
|
const { icons } = useCerberusContext();
|
|
3031
3105
|
const { toggleChecked: CheckIcon } = icons;
|
|
3032
|
-
return /* @__PURE__ */ (0,
|
|
3106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CheckIcon, {});
|
|
3033
3107
|
}
|
|
3034
3108
|
|
|
3035
3109
|
// src/components/switch/switch.tsx
|
|
3036
|
-
var
|
|
3110
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
3037
3111
|
function Switch2(props) {
|
|
3038
3112
|
const { children, ...rootProps } = props;
|
|
3039
|
-
return /* @__PURE__ */ (0,
|
|
3040
|
-
/* @__PURE__ */ (0,
|
|
3041
|
-
/* @__PURE__ */ (0,
|
|
3042
|
-
/* @__PURE__ */ (0,
|
|
3113
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(SwitchParts.Root, { ...rootProps, children: [
|
|
3114
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(SwitchParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(SwitchParts.Thumb, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(SwitchIndicator, {}) }) }),
|
|
3115
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(SwitchParts.Label, { children }),
|
|
3116
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(SwitchParts.HiddenInput, {})
|
|
3043
3117
|
] });
|
|
3044
3118
|
}
|
|
3045
3119
|
|
|
3046
3120
|
// src/components/table/primitives.tsx
|
|
3047
3121
|
var import_factory11 = require("@ark-ui/react/factory");
|
|
3048
|
-
var
|
|
3049
|
-
var { withSlotRecipe:
|
|
3050
|
-
var TableRoot =
|
|
3122
|
+
var import_recipes33 = require("styled-system/recipes");
|
|
3123
|
+
var { withSlotRecipe: withSlotRecipe19 } = createCerberusPrimitive(import_recipes33.table);
|
|
3124
|
+
var TableRoot = withSlotRecipe19(import_factory11.ark.div, "root", {
|
|
3051
3125
|
defaultProps: {
|
|
3052
3126
|
"data-scope": "table",
|
|
3053
3127
|
"data-part": "root"
|
|
3054
3128
|
}
|
|
3055
3129
|
});
|
|
3056
|
-
var TableEl =
|
|
3130
|
+
var TableEl = withSlotRecipe19(import_factory11.ark.table, "table", {
|
|
3057
3131
|
defaultProps: {
|
|
3058
3132
|
"data-scope": "table",
|
|
3059
3133
|
"data-part": "table"
|
|
3060
3134
|
}
|
|
3061
3135
|
});
|
|
3062
|
-
var Caption =
|
|
3136
|
+
var Caption = withSlotRecipe19(import_factory11.ark.caption, "caption", {
|
|
3063
3137
|
defaultProps: {
|
|
3064
3138
|
"data-scope": "table",
|
|
3065
3139
|
"data-part": "caption"
|
|
3066
3140
|
}
|
|
3067
3141
|
});
|
|
3068
|
-
var Thead =
|
|
3142
|
+
var Thead = withSlotRecipe19(import_factory11.ark.thead, "thead", {
|
|
3069
3143
|
defaultProps: {
|
|
3070
3144
|
"data-scope": "table",
|
|
3071
3145
|
"data-part": "header"
|
|
3072
3146
|
}
|
|
3073
3147
|
});
|
|
3074
|
-
var Th =
|
|
3148
|
+
var Th = withSlotRecipe19(import_factory11.ark.th, "th", {
|
|
3075
3149
|
defaultProps: {
|
|
3076
3150
|
"data-scope": "table",
|
|
3077
3151
|
"data-part": "header-col"
|
|
3078
3152
|
}
|
|
3079
3153
|
});
|
|
3080
|
-
var Tbody =
|
|
3154
|
+
var Tbody = withSlotRecipe19(import_factory11.ark.tbody, "tbody", {
|
|
3081
3155
|
defaultProps: {
|
|
3082
3156
|
"data-scope": "table",
|
|
3083
3157
|
"data-part": "body"
|
|
3084
3158
|
}
|
|
3085
3159
|
});
|
|
3086
|
-
var Tr =
|
|
3160
|
+
var Tr = withSlotRecipe19(import_factory11.ark.tr, "tr", {
|
|
3087
3161
|
defaultProps: {
|
|
3088
3162
|
"data-scope": "table",
|
|
3089
3163
|
"data-part": "row"
|
|
3090
3164
|
}
|
|
3091
3165
|
});
|
|
3092
|
-
var Td =
|
|
3166
|
+
var Td = withSlotRecipe19(import_factory11.ark.td, "td", {
|
|
3093
3167
|
defaultProps: {
|
|
3094
3168
|
"data-scope": "table",
|
|
3095
3169
|
"data-part": "cell"
|
|
3096
3170
|
}
|
|
3097
3171
|
});
|
|
3098
|
-
var Tfoot =
|
|
3172
|
+
var Tfoot = withSlotRecipe19(import_factory11.ark.tfoot, "tfoot", {
|
|
3099
3173
|
defaultProps: {
|
|
3100
3174
|
"data-scope": "table",
|
|
3101
3175
|
"data-part": "footer"
|
|
3102
3176
|
}
|
|
3103
3177
|
});
|
|
3104
|
-
var TableTrigger =
|
|
3178
|
+
var TableTrigger = withSlotRecipe19(
|
|
3105
3179
|
import_factory11.ark.button,
|
|
3106
3180
|
"trigger",
|
|
3107
3181
|
{
|
|
@@ -3127,11 +3201,11 @@ var TableParts = {
|
|
|
3127
3201
|
};
|
|
3128
3202
|
|
|
3129
3203
|
// src/components/table/table.tsx
|
|
3130
|
-
var
|
|
3204
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3131
3205
|
function TableRootEl(props) {
|
|
3132
3206
|
const { sticky, caption, ...rootProps } = props;
|
|
3133
|
-
return /* @__PURE__ */ (0,
|
|
3134
|
-
/* @__PURE__ */ (0,
|
|
3207
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(TableRoot, { ...rootProps, "data-sticky": sticky ?? false, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(TableEl, { children: [
|
|
3208
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Show, { when: caption, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Caption, { children: caption }) }),
|
|
3135
3209
|
rootProps.children
|
|
3136
3210
|
] }) });
|
|
3137
3211
|
}
|
|
@@ -3149,19 +3223,19 @@ var Table = {
|
|
|
3149
3223
|
|
|
3150
3224
|
// src/components/tabs/primitives.tsx
|
|
3151
3225
|
var import_tabs = require("@ark-ui/react/tabs");
|
|
3152
|
-
var
|
|
3153
|
-
var { withSlotRecipe:
|
|
3154
|
-
var TabsRoot =
|
|
3155
|
-
var TabsList =
|
|
3156
|
-
var TabsTrigger =
|
|
3226
|
+
var import_recipes34 = require("styled-system/recipes");
|
|
3227
|
+
var { withSlotRecipe: withSlotRecipe20 } = createCerberusPrimitive(import_recipes34.tabs);
|
|
3228
|
+
var TabsRoot = withSlotRecipe20(import_tabs.Tabs.Root, "root");
|
|
3229
|
+
var TabsList = withSlotRecipe20(import_tabs.Tabs.List, "list");
|
|
3230
|
+
var TabsTrigger = withSlotRecipe20(
|
|
3157
3231
|
import_tabs.Tabs.Trigger,
|
|
3158
3232
|
"trigger"
|
|
3159
3233
|
);
|
|
3160
|
-
var TabsContent =
|
|
3234
|
+
var TabsContent = withSlotRecipe20(
|
|
3161
3235
|
import_tabs.Tabs.Content,
|
|
3162
3236
|
"content"
|
|
3163
3237
|
);
|
|
3164
|
-
var TabsIndicator =
|
|
3238
|
+
var TabsIndicator = withSlotRecipe20(
|
|
3165
3239
|
import_tabs.Tabs.Indicator,
|
|
3166
3240
|
"indicator"
|
|
3167
3241
|
);
|
|
@@ -3176,12 +3250,12 @@ var TabsParts = {
|
|
|
3176
3250
|
};
|
|
3177
3251
|
|
|
3178
3252
|
// src/components/tabs/tabs.tsx
|
|
3179
|
-
var
|
|
3253
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3180
3254
|
function TabsList2(props) {
|
|
3181
3255
|
const { children, ...listProps } = props;
|
|
3182
|
-
return /* @__PURE__ */ (0,
|
|
3256
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(TabsParts.List, { ...listProps, children: [
|
|
3183
3257
|
children,
|
|
3184
|
-
/* @__PURE__ */ (0,
|
|
3258
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(TabsParts.Indicator, {})
|
|
3185
3259
|
] });
|
|
3186
3260
|
}
|
|
3187
3261
|
var Tabs2 = {
|
|
@@ -3194,8 +3268,8 @@ var Tabs2 = {
|
|
|
3194
3268
|
// src/components/tag/tag.tsx
|
|
3195
3269
|
var import_factory12 = require("@ark-ui/react/factory");
|
|
3196
3270
|
var import_css17 = require("styled-system/css");
|
|
3197
|
-
var
|
|
3198
|
-
var
|
|
3271
|
+
var import_recipes35 = require("styled-system/recipes");
|
|
3272
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3199
3273
|
function Tag(props) {
|
|
3200
3274
|
const { shape: initShape, gradient, onClick, usage, ...nativeProps } = props;
|
|
3201
3275
|
const palette = (props == null ? void 0 : props.palette) ?? "page";
|
|
@@ -3204,13 +3278,13 @@ function Tag(props) {
|
|
|
3204
3278
|
const closableStyles = isClosable ? closableCss : "";
|
|
3205
3279
|
const { icons } = useCerberusContext();
|
|
3206
3280
|
const { close: Close } = icons;
|
|
3207
|
-
return /* @__PURE__ */ (0,
|
|
3281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
3208
3282
|
import_factory12.ark.span,
|
|
3209
3283
|
{
|
|
3210
3284
|
...nativeProps,
|
|
3211
3285
|
className: (0, import_css17.cx)(
|
|
3212
3286
|
nativeProps.className,
|
|
3213
|
-
(0,
|
|
3287
|
+
(0, import_recipes35.tag)({
|
|
3214
3288
|
gradient,
|
|
3215
3289
|
palette,
|
|
3216
3290
|
shape,
|
|
@@ -3220,7 +3294,7 @@ function Tag(props) {
|
|
|
3220
3294
|
),
|
|
3221
3295
|
children: [
|
|
3222
3296
|
props.children,
|
|
3223
|
-
/* @__PURE__ */ (0,
|
|
3297
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3224
3298
|
IconButton,
|
|
3225
3299
|
{
|
|
3226
3300
|
ariaLabel: "Close",
|
|
@@ -3228,7 +3302,7 @@ function Tag(props) {
|
|
|
3228
3302
|
palette: "action",
|
|
3229
3303
|
usage: "filled",
|
|
3230
3304
|
size: "sm",
|
|
3231
|
-
children: /* @__PURE__ */ (0,
|
|
3305
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Close, {})
|
|
3232
3306
|
}
|
|
3233
3307
|
) })
|
|
3234
3308
|
]
|
|
@@ -3242,12 +3316,12 @@ var closableCss = (0, import_css17.css)({
|
|
|
3242
3316
|
});
|
|
3243
3317
|
|
|
3244
3318
|
// src/components/theme/theme.tsx
|
|
3245
|
-
var
|
|
3319
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3246
3320
|
function Theme(props) {
|
|
3247
3321
|
const { mode, theme, ...nativeProps } = props;
|
|
3248
3322
|
const colorMode = mode || "light";
|
|
3249
3323
|
const themeName = theme || "cerberus";
|
|
3250
|
-
return /* @__PURE__ */ (0,
|
|
3324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3251
3325
|
cerberus.div,
|
|
3252
3326
|
{
|
|
3253
3327
|
...nativeProps,
|
|
@@ -3274,29 +3348,29 @@ var ToggleParts = {
|
|
|
3274
3348
|
|
|
3275
3349
|
// src/components/tooltip/primitives.ts
|
|
3276
3350
|
var import_tooltip = require("@ark-ui/react/tooltip");
|
|
3277
|
-
var
|
|
3278
|
-
var { withSlotRecipe:
|
|
3279
|
-
var TooltipRoot =
|
|
3351
|
+
var import_recipes36 = require("styled-system/recipes");
|
|
3352
|
+
var { withSlotRecipe: withSlotRecipe21 } = createCerberusPrimitive(import_recipes36.tooltip);
|
|
3353
|
+
var TooltipRoot = withSlotRecipe21(
|
|
3280
3354
|
import_tooltip.Tooltip.Root,
|
|
3281
3355
|
"root"
|
|
3282
3356
|
);
|
|
3283
|
-
var TooltipTrigger =
|
|
3357
|
+
var TooltipTrigger = withSlotRecipe21(
|
|
3284
3358
|
import_tooltip.Tooltip.Trigger,
|
|
3285
3359
|
"trigger"
|
|
3286
3360
|
);
|
|
3287
|
-
var TooltipPositioner =
|
|
3361
|
+
var TooltipPositioner = withSlotRecipe21(
|
|
3288
3362
|
import_tooltip.Tooltip.Positioner,
|
|
3289
3363
|
"positioner"
|
|
3290
3364
|
);
|
|
3291
|
-
var TooltipContent =
|
|
3365
|
+
var TooltipContent = withSlotRecipe21(
|
|
3292
3366
|
import_tooltip.Tooltip.Content,
|
|
3293
3367
|
"content"
|
|
3294
3368
|
);
|
|
3295
|
-
var TooltipArrow =
|
|
3369
|
+
var TooltipArrow = withSlotRecipe21(
|
|
3296
3370
|
import_tooltip.Tooltip.Arrow,
|
|
3297
3371
|
"arrow"
|
|
3298
3372
|
);
|
|
3299
|
-
var TooltipArrowTip =
|
|
3373
|
+
var TooltipArrowTip = withSlotRecipe21(
|
|
3300
3374
|
import_tooltip.Tooltip.ArrowTip,
|
|
3301
3375
|
"arrowTip"
|
|
3302
3376
|
);
|
|
@@ -3312,16 +3386,16 @@ var TooltipParts = {
|
|
|
3312
3386
|
};
|
|
3313
3387
|
|
|
3314
3388
|
// src/components/tooltip/tooltip.tsx
|
|
3315
|
-
var
|
|
3389
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3316
3390
|
function Tooltip2(props) {
|
|
3317
3391
|
const { content, children, ...rootProps } = props;
|
|
3318
3392
|
const position = {
|
|
3319
3393
|
placement: props.positioning || "top"
|
|
3320
3394
|
};
|
|
3321
|
-
return /* @__PURE__ */ (0,
|
|
3322
|
-
/* @__PURE__ */ (0,
|
|
3323
|
-
/* @__PURE__ */ (0,
|
|
3324
|
-
/* @__PURE__ */ (0,
|
|
3395
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(TooltipParts.Root, { openDelay: 400, positioning: position, ...rootProps, children: [
|
|
3396
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(TooltipParts.Trigger, { asChild: true, children }),
|
|
3397
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(TooltipParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(TooltipParts.Content, { children: [
|
|
3398
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(TooltipParts.Arrow, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(TooltipParts.ArrowTip, {}) }),
|
|
3325
3399
|
content
|
|
3326
3400
|
] }) })
|
|
3327
3401
|
] });
|
|
@@ -3331,7 +3405,7 @@ function Tooltip2(props) {
|
|
|
3331
3405
|
var import_react20 = require("react");
|
|
3332
3406
|
var import_css18 = require("styled-system/css");
|
|
3333
3407
|
var import_jsx7 = require("styled-system/jsx");
|
|
3334
|
-
var
|
|
3408
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3335
3409
|
var ConfirmModalContext = (0, import_react20.createContext)(null);
|
|
3336
3410
|
function ConfirmModal(props) {
|
|
3337
3411
|
const [open, setOpen] = (0, import_react20.useState)(false);
|
|
@@ -3383,16 +3457,16 @@ function ConfirmModal(props) {
|
|
|
3383
3457
|
}),
|
|
3384
3458
|
[handleShow]
|
|
3385
3459
|
);
|
|
3386
|
-
return /* @__PURE__ */ (0,
|
|
3460
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(ConfirmModalContext.Provider, { value, children: [
|
|
3387
3461
|
props.children,
|
|
3388
|
-
/* @__PURE__ */ (0,
|
|
3462
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(DialogProvider, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3389
3463
|
Dialog2,
|
|
3390
3464
|
{
|
|
3391
3465
|
size: "sm",
|
|
3392
3466
|
style: {
|
|
3393
3467
|
"--dialog-content-min-h": "auto"
|
|
3394
3468
|
},
|
|
3395
|
-
children: /* @__PURE__ */ (0,
|
|
3469
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3396
3470
|
import_jsx7.VStack,
|
|
3397
3471
|
{
|
|
3398
3472
|
alignItems: "flex-start",
|
|
@@ -3400,39 +3474,39 @@ function ConfirmModal(props) {
|
|
|
3400
3474
|
justify: "space-between",
|
|
3401
3475
|
w: "full",
|
|
3402
3476
|
children: [
|
|
3403
|
-
/* @__PURE__ */ (0,
|
|
3477
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3404
3478
|
import_jsx7.HStack,
|
|
3405
3479
|
{
|
|
3406
3480
|
alignSelf: "center",
|
|
3407
3481
|
justify: "center",
|
|
3408
3482
|
paddingBlockEnd: "md",
|
|
3409
3483
|
w: "full",
|
|
3410
|
-
children: /* @__PURE__ */ (0,
|
|
3484
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3411
3485
|
Show,
|
|
3412
3486
|
{
|
|
3413
3487
|
when: palette === "danger",
|
|
3414
|
-
fallback: /* @__PURE__ */ (0,
|
|
3488
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3415
3489
|
Avatar2,
|
|
3416
3490
|
{
|
|
3417
3491
|
gradient: "charon-light",
|
|
3418
|
-
fallback: /* @__PURE__ */ (0,
|
|
3492
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ConfirmIcon, { size: 24 })
|
|
3419
3493
|
}
|
|
3420
3494
|
),
|
|
3421
|
-
children: /* @__PURE__ */ (0,
|
|
3495
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3422
3496
|
Avatar2,
|
|
3423
3497
|
{
|
|
3424
3498
|
gradient: "hades-dark",
|
|
3425
|
-
fallback: /* @__PURE__ */ (0,
|
|
3499
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ConfirmIcon, { size: 24 })
|
|
3426
3500
|
}
|
|
3427
3501
|
)
|
|
3428
3502
|
}
|
|
3429
3503
|
)
|
|
3430
3504
|
}
|
|
3431
3505
|
),
|
|
3432
|
-
/* @__PURE__ */ (0,
|
|
3433
|
-
/* @__PURE__ */ (0,
|
|
3434
|
-
/* @__PURE__ */ (0,
|
|
3435
|
-
/* @__PURE__ */ (0,
|
|
3506
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
|
|
3507
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Show, { when: content == null ? void 0 : content.description, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(DialogDescription, { children: content == null ? void 0 : content.description }) }),
|
|
3508
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_jsx7.HStack, { gap: "md", pt: "md", w: "full", children: [
|
|
3509
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3436
3510
|
Button,
|
|
3437
3511
|
{
|
|
3438
3512
|
autoFocus: true,
|
|
@@ -3446,7 +3520,7 @@ function ConfirmModal(props) {
|
|
|
3446
3520
|
children: content == null ? void 0 : content.actionText
|
|
3447
3521
|
}
|
|
3448
3522
|
),
|
|
3449
|
-
/* @__PURE__ */ (0,
|
|
3523
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3450
3524
|
Button,
|
|
3451
3525
|
{
|
|
3452
3526
|
className: (0, import_css18.css)({
|
|
@@ -3483,7 +3557,7 @@ var import_dialog4 = require("@ark-ui/react/dialog");
|
|
|
3483
3557
|
var import_jsx8 = require("styled-system/jsx");
|
|
3484
3558
|
var import_css19 = require("styled-system/css");
|
|
3485
3559
|
var import_patterns5 = require("styled-system/patterns");
|
|
3486
|
-
var
|
|
3560
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3487
3561
|
var PromptModalContext = (0, import_react21.createContext)(null);
|
|
3488
3562
|
function PromptModal(props) {
|
|
3489
3563
|
const resolveRef = (0, import_react21.useRef)(null);
|
|
@@ -3530,16 +3604,16 @@ function PromptModal(props) {
|
|
|
3530
3604
|
}),
|
|
3531
3605
|
[handleShow]
|
|
3532
3606
|
);
|
|
3533
|
-
return /* @__PURE__ */ (0,
|
|
3607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(PromptModalContext.Provider, { value, children: [
|
|
3534
3608
|
props.children,
|
|
3535
|
-
/* @__PURE__ */ (0,
|
|
3609
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3536
3610
|
Dialog2,
|
|
3537
3611
|
{
|
|
3538
3612
|
size: "sm",
|
|
3539
3613
|
style: {
|
|
3540
3614
|
"--dialog-content-min-h": "auto"
|
|
3541
3615
|
},
|
|
3542
|
-
children: /* @__PURE__ */ (0,
|
|
3616
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
3543
3617
|
import_jsx8.VStack,
|
|
3544
3618
|
{
|
|
3545
3619
|
alignItems: "flex-start",
|
|
@@ -3547,46 +3621,46 @@ function PromptModal(props) {
|
|
|
3547
3621
|
justify: "space-between",
|
|
3548
3622
|
w: "full",
|
|
3549
3623
|
children: [
|
|
3550
|
-
/* @__PURE__ */ (0,
|
|
3624
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3551
3625
|
import_jsx8.HStack,
|
|
3552
3626
|
{
|
|
3553
3627
|
alignSelf: "center",
|
|
3554
3628
|
justify: "center",
|
|
3555
3629
|
paddingBlockEnd: "md",
|
|
3556
3630
|
w: "full",
|
|
3557
|
-
children: /* @__PURE__ */ (0,
|
|
3631
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3558
3632
|
Show,
|
|
3559
3633
|
{
|
|
3560
3634
|
when: palette === "danger",
|
|
3561
|
-
fallback: /* @__PURE__ */ (0,
|
|
3635
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3562
3636
|
Avatar2,
|
|
3563
3637
|
{
|
|
3564
3638
|
gradient: "charon-light",
|
|
3565
|
-
fallback: /* @__PURE__ */ (0,
|
|
3639
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(PromptIcon, { size: 24 })
|
|
3566
3640
|
}
|
|
3567
3641
|
),
|
|
3568
|
-
children: /* @__PURE__ */ (0,
|
|
3642
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3569
3643
|
Avatar2,
|
|
3570
3644
|
{
|
|
3571
3645
|
gradient: "hades-dark",
|
|
3572
|
-
fallback: /* @__PURE__ */ (0,
|
|
3646
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(PromptIcon, { size: 24 })
|
|
3573
3647
|
}
|
|
3574
3648
|
)
|
|
3575
3649
|
}
|
|
3576
3650
|
)
|
|
3577
3651
|
}
|
|
3578
3652
|
),
|
|
3579
|
-
/* @__PURE__ */ (0,
|
|
3580
|
-
/* @__PURE__ */ (0,
|
|
3581
|
-
/* @__PURE__ */ (0,
|
|
3653
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
|
|
3654
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(DialogDescription, { children: content == null ? void 0 : content.description }),
|
|
3655
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3582
3656
|
import_jsx8.VStack,
|
|
3583
3657
|
{
|
|
3584
3658
|
alignItems: "flex-start",
|
|
3585
3659
|
marginBlockStart: "md",
|
|
3586
3660
|
marginBlockEnd: "lg",
|
|
3587
3661
|
w: "full",
|
|
3588
|
-
children: /* @__PURE__ */ (0,
|
|
3589
|
-
/* @__PURE__ */ (0,
|
|
3662
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(FieldRoot, { invalid: !isValid, children: [
|
|
3663
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
3590
3664
|
FieldLabel,
|
|
3591
3665
|
{
|
|
3592
3666
|
className: (0, import_patterns5.hstack)({
|
|
@@ -3598,17 +3672,17 @@ function PromptModal(props) {
|
|
|
3598
3672
|
}),
|
|
3599
3673
|
children: [
|
|
3600
3674
|
"Type",
|
|
3601
|
-
/* @__PURE__ */ (0,
|
|
3675
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Text, { as: "strong", textTransform: "uppercase", children: content == null ? void 0 : content.key }),
|
|
3602
3676
|
"to confirm"
|
|
3603
3677
|
]
|
|
3604
3678
|
}
|
|
3605
3679
|
),
|
|
3606
|
-
/* @__PURE__ */ (0,
|
|
3680
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Input, { name: "confirm", onChange: handleChange, type: "text" })
|
|
3607
3681
|
] })
|
|
3608
3682
|
}
|
|
3609
3683
|
),
|
|
3610
|
-
/* @__PURE__ */ (0,
|
|
3611
|
-
/* @__PURE__ */ (0,
|
|
3684
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx8.HStack, { gap: "md", justify: "stretch", w: "full", children: [
|
|
3685
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3612
3686
|
Button,
|
|
3613
3687
|
{
|
|
3614
3688
|
autoFocus: true,
|
|
@@ -3623,7 +3697,7 @@ function PromptModal(props) {
|
|
|
3623
3697
|
children: content == null ? void 0 : content.actionText
|
|
3624
3698
|
}
|
|
3625
3699
|
),
|
|
3626
|
-
/* @__PURE__ */ (0,
|
|
3700
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_dialog4.DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3627
3701
|
Button,
|
|
3628
3702
|
{
|
|
3629
3703
|
className: (0, import_css19.css)({
|
|
@@ -3719,7 +3793,7 @@ function useTheme(defaultTheme = "cerberus", defaultColorMode = "light", options
|
|
|
3719
3793
|
}
|
|
3720
3794
|
|
|
3721
3795
|
// src/context/theme.tsx
|
|
3722
|
-
var
|
|
3796
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3723
3797
|
var ThemeContext = (0, import_react23.createContext)(
|
|
3724
3798
|
null
|
|
3725
3799
|
);
|
|
@@ -3729,7 +3803,7 @@ function ThemeProvider(props) {
|
|
|
3729
3803
|
updateMode: props.updateMode,
|
|
3730
3804
|
updateTheme: props.updateTheme
|
|
3731
3805
|
});
|
|
3732
|
-
return /* @__PURE__ */ (0,
|
|
3806
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ThemeContext.Provider, { value: state, children: props.children });
|
|
3733
3807
|
}
|
|
3734
3808
|
function useThemeContext() {
|
|
3735
3809
|
const context = (0, import_react23.useContext)(ThemeContext);
|
|
@@ -3774,9 +3848,9 @@ function rootColorsReducer(state, action) {
|
|
|
3774
3848
|
}
|
|
3775
3849
|
|
|
3776
3850
|
// src/config/icons/checkbox.icons.tsx
|
|
3777
|
-
var
|
|
3851
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3778
3852
|
function CheckmarkIcon() {
|
|
3779
|
-
return /* @__PURE__ */ (0,
|
|
3853
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3780
3854
|
"svg",
|
|
3781
3855
|
{
|
|
3782
3856
|
"aria-hidden": "true",
|
|
@@ -3784,7 +3858,7 @@ function CheckmarkIcon() {
|
|
|
3784
3858
|
fill: "none",
|
|
3785
3859
|
role: "img",
|
|
3786
3860
|
viewBox: "0 0 24 24",
|
|
3787
|
-
children: /* @__PURE__ */ (0,
|
|
3861
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3788
3862
|
"path",
|
|
3789
3863
|
{
|
|
3790
3864
|
fill: "currentColor",
|
|
@@ -3795,7 +3869,7 @@ function CheckmarkIcon() {
|
|
|
3795
3869
|
);
|
|
3796
3870
|
}
|
|
3797
3871
|
function IndeterminateIcon() {
|
|
3798
|
-
return /* @__PURE__ */ (0,
|
|
3872
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3799
3873
|
"svg",
|
|
3800
3874
|
{
|
|
3801
3875
|
"aria-hidden": "true",
|
|
@@ -3803,15 +3877,15 @@ function IndeterminateIcon() {
|
|
|
3803
3877
|
role: "img",
|
|
3804
3878
|
fill: "none",
|
|
3805
3879
|
viewBox: "0 0 24 24",
|
|
3806
|
-
children: /* @__PURE__ */ (0,
|
|
3880
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("path", { fill: "currentColor", d: "M4 11h16v2.667H4z" })
|
|
3807
3881
|
}
|
|
3808
3882
|
);
|
|
3809
3883
|
}
|
|
3810
3884
|
|
|
3811
3885
|
// src/components/AnimatingUploadIcon.tsx
|
|
3812
|
-
var
|
|
3886
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3813
3887
|
function AnimatingUploadIcon(props) {
|
|
3814
|
-
return /* @__PURE__ */ (0,
|
|
3888
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3815
3889
|
"svg",
|
|
3816
3890
|
{
|
|
3817
3891
|
"aria-hidden": "true",
|
|
@@ -3819,7 +3893,7 @@ function AnimatingUploadIcon(props) {
|
|
|
3819
3893
|
width: props.size ?? "1em",
|
|
3820
3894
|
height: props.size ?? "1em",
|
|
3821
3895
|
viewBox: "0 0 24 24",
|
|
3822
|
-
children: /* @__PURE__ */ (0,
|
|
3896
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
3823
3897
|
"g",
|
|
3824
3898
|
{
|
|
3825
3899
|
fill: "none",
|
|
@@ -3828,14 +3902,14 @@ function AnimatingUploadIcon(props) {
|
|
|
3828
3902
|
strokeLinejoin: "round",
|
|
3829
3903
|
strokeWidth: 1.5,
|
|
3830
3904
|
children: [
|
|
3831
|
-
/* @__PURE__ */ (0,
|
|
3905
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3832
3906
|
"path",
|
|
3833
3907
|
{
|
|
3834
3908
|
"data-name": "animating-trail",
|
|
3835
3909
|
strokeDasharray: "2 4",
|
|
3836
3910
|
strokeDashoffset: 6,
|
|
3837
3911
|
d: "M12 21c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9",
|
|
3838
|
-
children: /* @__PURE__ */ (0,
|
|
3912
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3839
3913
|
"animate",
|
|
3840
3914
|
{
|
|
3841
3915
|
attributeName: "stroke-dashoffset",
|
|
@@ -3846,14 +3920,14 @@ function AnimatingUploadIcon(props) {
|
|
|
3846
3920
|
)
|
|
3847
3921
|
}
|
|
3848
3922
|
),
|
|
3849
|
-
/* @__PURE__ */ (0,
|
|
3923
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3850
3924
|
"path",
|
|
3851
3925
|
{
|
|
3852
3926
|
"data-name": "half-circle",
|
|
3853
3927
|
strokeDasharray: 32,
|
|
3854
3928
|
strokeDashoffset: 32,
|
|
3855
3929
|
d: "M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9",
|
|
3856
|
-
children: /* @__PURE__ */ (0,
|
|
3930
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3857
3931
|
"animate",
|
|
3858
3932
|
{
|
|
3859
3933
|
fill: "freeze",
|
|
@@ -3865,7 +3939,7 @@ function AnimatingUploadIcon(props) {
|
|
|
3865
3939
|
)
|
|
3866
3940
|
}
|
|
3867
3941
|
),
|
|
3868
|
-
/* @__PURE__ */ (0,
|
|
3942
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3869
3943
|
"svg",
|
|
3870
3944
|
{
|
|
3871
3945
|
"aria-hidden": "true",
|
|
@@ -3875,7 +3949,7 @@ function AnimatingUploadIcon(props) {
|
|
|
3875
3949
|
x: "27%",
|
|
3876
3950
|
y: "27%",
|
|
3877
3951
|
viewBox: "0 0 24 24",
|
|
3878
|
-
children: /* @__PURE__ */ (0,
|
|
3952
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3879
3953
|
"polygon",
|
|
3880
3954
|
{
|
|
3881
3955
|
fill: "currentColor",
|
|
@@ -3883,7 +3957,7 @@ function AnimatingUploadIcon(props) {
|
|
|
3883
3957
|
strokeWidth: 0.8,
|
|
3884
3958
|
opacity: "1",
|
|
3885
3959
|
points: "3.7,6.7 7.5,2.9 7.5,15 8.5,15 8.5,2.9 12.3,6.7 13,6 8,1 3,6 ",
|
|
3886
|
-
children: /* @__PURE__ */ (0,
|
|
3960
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3887
3961
|
"animate",
|
|
3888
3962
|
{
|
|
3889
3963
|
fill: "freeze",
|
|
@@ -3952,6 +4026,16 @@ __reExport(index_exports, require("@dnd-kit/core"), module.exports);
|
|
|
3952
4026
|
CTAModal,
|
|
3953
4027
|
CalendarDate,
|
|
3954
4028
|
Caption,
|
|
4029
|
+
Carousel,
|
|
4030
|
+
CarouselControl,
|
|
4031
|
+
CarouselIndicator,
|
|
4032
|
+
CarouselIndicatorGroup,
|
|
4033
|
+
CarouselItem,
|
|
4034
|
+
CarouselItemGroup,
|
|
4035
|
+
CarouselNextTrigger,
|
|
4036
|
+
CarouselParts,
|
|
4037
|
+
CarouselPrevTrigger,
|
|
4038
|
+
CarouselRoot,
|
|
3955
4039
|
CerberusProvider,
|
|
3956
4040
|
Checkbox,
|
|
3957
4041
|
CheckboxControl,
|