themelia-ui 2.0.0 → 2.0.1
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/.agents/skills/themelia-ui/references/components/INDEX.json +1 -2
- package/.agents/skills/themelia-ui/references/components/base--qr-code.md +2 -2
- package/.agents/skills/themelia-ui/references/components/base--typography.md +1 -1
- package/.agents/skills/themelia-ui/references/components/features--schema-form.md +1 -1
- package/.agents/skills/themelia-ui/references/components/features--theme-tweaker.md +3 -2
- package/.agents/skills/themelia-ui/references/components/theming.md +3 -2
- package/.agents/skills/themelia-ui/references/components/ui-provider.md +1 -0
- package/.agents/skills/themelia-ui/references/migration.md +16 -1
- package/.agents/skills/themelia-ui/references/theming.md +1 -1
- package/CHANGELOG.md +52 -0
- package/README.md +1 -1
- package/dist/{accordion-DLW9FGTP.js → accordion-B4zNzH7s.js} +3 -4
- package/dist/accordion-VazE3cHZ.cjs +1 -0
- package/dist/{action-menu-DqQX1_H8.js → action-menu-BrMchcyt.js} +4 -4
- package/dist/{action-menu-BFDQbOMx.cjs → action-menu-CO6DZ2xa.cjs} +1 -1
- package/dist/admin/patterns/access.cjs +1 -1
- package/dist/admin/patterns/access.js +9 -9
- package/dist/admin/patterns/commerce.cjs +1 -1
- package/dist/admin/patterns/commerce.js +20 -19
- package/dist/{alert-dialog-BPePUOHx.cjs → alert-dialog-ByJw3YGj.cjs} +1 -1
- package/dist/{alert-dialog-DzqaOiE5.js → alert-dialog-ZHkE0QEz.js} +1 -1
- package/dist/{avatar-2v-o_zEv.js → avatar-C30TNJoy.js} +1 -1
- package/dist/{avatar-Cdw0zuGn.cjs → avatar-b2IaEzda.cjs} +1 -1
- package/dist/base/accordion.cjs +1 -1
- package/dist/base/accordion.js +1 -1
- package/dist/base/action-menu.cjs +1 -1
- package/dist/base/action-menu.js +1 -1
- package/dist/base/alert-dialog.cjs +1 -1
- package/dist/base/alert-dialog.js +1 -1
- package/dist/base/avatar.cjs +1 -1
- package/dist/base/avatar.js +1 -1
- package/dist/base/batch-action-bar.cjs +1 -1
- package/dist/base/batch-action-bar.js +1 -1
- package/dist/base/buttons.cjs +1 -1
- package/dist/base/buttons.js +1 -1
- package/dist/base/cards.cjs +1 -1
- package/dist/base/cards.js +1 -1
- package/dist/base/carousel.cjs +1 -1
- package/dist/base/carousel.js +1 -1
- package/dist/base/choice-inputs.cjs +1 -1
- package/dist/base/choice-inputs.js +1 -1
- package/dist/base/combobox.cjs +1 -1
- package/dist/base/combobox.js +1 -1
- package/dist/base/command.cjs +1 -1
- package/dist/base/command.js +1 -1
- package/dist/base/context-menu.cjs +1 -1
- package/dist/base/context-menu.js +2 -2
- package/dist/base/copyable.cjs +1 -1
- package/dist/base/copyable.js +1 -1
- package/dist/base/date-pickers.cjs +1 -1
- package/dist/base/date-pickers.js +1 -1
- package/dist/base/dialog.cjs +1 -1
- package/dist/base/dialog.js +1 -1
- package/dist/base/display.cjs +1 -1
- package/dist/base/display.js +1 -1
- package/dist/base/dropdown-menu.cjs +1 -1
- package/dist/base/dropdown-menu.js +1 -1
- package/dist/base/feedback.cjs +1 -1
- package/dist/base/feedback.js +1 -1
- package/dist/base/forms-numeric.cjs +1 -1
- package/dist/base/forms-numeric.js +1 -1
- package/dist/base/forms.cjs +1 -1
- package/dist/base/forms.js +1 -1
- package/dist/base/hover-card.cjs +1 -1
- package/dist/base/hover-card.js +1 -1
- package/dist/base/input-group.cjs +1 -1
- package/dist/base/input-group.js +1 -1
- package/dist/base/item.cjs +1 -1
- package/dist/base/item.js +1 -1
- package/dist/base/label.cjs +1 -1
- package/dist/base/label.js +1 -1
- package/dist/base/navigation-menu.cjs +1 -1
- package/dist/base/navigation-menu.js +1 -1
- package/dist/base/navigation.cjs +1 -1
- package/dist/base/navigation.js +1 -1
- package/dist/base/otp-input.cjs +1 -1
- package/dist/base/otp-input.js +1 -1
- package/dist/base/overlay.cjs +1 -1
- package/dist/base/overlay.js +1 -1
- package/dist/base/popover-menu.cjs +1 -1
- package/dist/base/popover-menu.js +1 -1
- package/dist/base/popover.cjs +1 -1
- package/dist/base/popover.js +1 -1
- package/dist/base/qr-code.cjs +1 -1
- package/dist/base/qr-code.js +47 -43
- package/dist/base/repeaters.cjs +1 -1
- package/dist/base/repeaters.js +1 -1
- package/dist/base/sheet.cjs +1 -1
- package/dist/base/sheet.js +1 -1
- package/dist/base/sidebar.cjs +1 -1
- package/dist/base/sidebar.js +1 -1
- package/dist/base/skeleton.cjs +1 -1
- package/dist/base/skeleton.js +1 -1
- package/dist/base/table.cjs +1 -1
- package/dist/base/table.js +1 -1
- package/dist/base/timeline.cjs +1 -1
- package/dist/base/timeline.js +1 -1
- package/dist/base/toaster.cjs +1 -1
- package/dist/base/toaster.js +1 -1
- package/dist/base/toolbar.cjs +1 -1
- package/dist/base/toolbar.js +1 -1
- package/dist/base/tooltip.cjs +1 -1
- package/dist/base/tooltip.js +1 -1
- package/dist/base/typography.cjs +1 -1
- package/dist/base/typography.js +1 -1
- package/dist/base/upload.cjs +1 -1
- package/dist/base/upload.js +1 -1
- package/dist/base/value-inputs.cjs +1 -1
- package/dist/base/value-inputs.js +1 -1
- package/dist/{batch-action-bar-Cvnz248b.cjs → batch-action-bar-BMIiHBU8.cjs} +1 -1
- package/dist/{batch-action-bar-BRCopWlT.js → batch-action-bar-CAIjntVw.js} +2 -2
- package/dist/{buttons-CMsvnL6-.cjs → buttons-Dwl42fIr.cjs} +1 -1
- package/dist/{buttons-Corm-KHK.js → buttons-riLAPVQV.js} +4 -3
- package/dist/{cards-CEtNjl6A.js → cards-CcwLsQQS.js} +8 -9
- package/dist/cards-DQPevRTY.cjs +1 -0
- package/dist/{choice-inputs-Ca9PoQwa.js → choice-inputs-BjZYCdzk.js} +7 -7
- package/dist/{choice-inputs-CySnLjfA.cjs → choice-inputs-C8LMAkh8.cjs} +1 -1
- package/dist/combobox-bDQg27j0.cjs +1 -0
- package/dist/{combobox-Dl1xWnR7.js → combobox-exdUS4qj.js} +8 -9
- package/dist/{command-DWZf3CPI.js → command-Dv84KSRv.js} +3 -3
- package/dist/{command-BSvB58XI.cjs → command-Geb5eIzu.cjs} +1 -1
- package/dist/{comments-CVD4jB9V.cjs → comments-CV9tvSAi.cjs} +1 -1
- package/dist/{comments-CIZ1L-DR.js → comments-CqdhAH1O.js} +485 -491
- package/dist/components/base/buttons/button.d.cts +1 -1
- package/dist/components/base/buttons/button.d.ts +1 -1
- package/dist/components/base/qr-code/qr-code.d.cts +2 -2
- package/dist/components/base/qr-code/qr-code.d.ts +2 -2
- package/dist/components/base/typography/rich-text/rich-text.d.cts +1 -0
- package/dist/components/base/typography/rich-text/rich-text.d.ts +1 -0
- package/dist/{copyable-Bbd_Tsxc.cjs → copyable-CMhsv_91.cjs} +1 -1
- package/dist/{copyable-CRdTLtmK.js → copyable-uzkCHMzl.js} +3 -3
- package/dist/core.css +1 -1
- package/dist/css/access.css +1 -1
- package/dist/css/accordion.css +1 -1
- package/dist/css/action-menu.css +1 -1
- package/dist/css/activities.css +1 -1
- package/dist/css/ai-chat.css +1 -1
- package/dist/css/analytics.css +1 -1
- package/dist/css/app-shell.css +1 -1
- package/dist/css/async-preview.css +1 -1
- package/dist/css/auth.css +1 -1
- package/dist/css/avatar.css +1 -1
- package/dist/css/badge.css +1 -1
- package/dist/css/batch-action-bar.css +1 -1
- package/dist/css/buttons.css +1 -1
- package/dist/css/cards.css +1 -1
- package/dist/css/carousel.css +1 -1
- package/dist/css/chart.css +1 -1
- package/dist/css/choice-inputs.css +1 -1
- package/dist/css/combobox.css +1 -1
- package/dist/css/combobox2.css +1 -1
- package/dist/css/command.css +1 -1
- package/dist/css/comments.css +1 -1
- package/dist/css/commerce.css +1 -1
- package/dist/css/copyable.css +1 -1
- package/dist/css/data-view.css +1 -1
- package/dist/css/date-pickers.css +1 -1
- package/dist/css/display.css +1 -1
- package/dist/css/dropdown-menu.css +1 -1
- package/dist/css/event-calendar.css +1 -1
- package/dist/css/feedback.css +1 -1
- package/dist/css/filters.css +1 -1
- package/dist/css/forms.css +1 -1
- package/dist/css/global-search.css +1 -1
- package/dist/css/header.css +1 -1
- package/dist/css/hover-card.css +1 -1
- package/dist/css/input-group.css +1 -1
- package/dist/css/item.css +1 -1
- package/dist/css/kanban.css +1 -1
- package/dist/css/label.css +1 -1
- package/dist/css/map.css +1 -1
- package/dist/css/media-library.css +1 -1
- package/dist/css/mentions.css +1 -1
- package/dist/css/navigation-menu.css +1 -1
- package/dist/css/navigation.css +1 -1
- package/dist/css/navigation2.css +1 -1
- package/dist/css/overlay.css +1 -1
- package/dist/css/popover-menu.css +1 -1
- package/dist/css/popover.css +1 -1
- package/dist/css/products.css +1 -1
- package/dist/css/qr-code.css +1 -1
- package/dist/css/repeaters.css +1 -1
- package/dist/css/resource-assignment.css +1 -1
- package/dist/css/resource.css +1 -1
- package/dist/css/rich-text-editor.css +1 -1
- package/dist/css/schema-form.css +1 -1
- package/dist/css/sidebar2.css +1 -1
- package/dist/css/skeleton.css +1 -1
- package/dist/css/styles.css +1 -1
- package/dist/css/sync.css +1 -1
- package/dist/css/table.css +1 -1
- package/dist/css/table2.css +1 -1
- package/dist/css/text-inputs.css +1 -1
- package/dist/css/theme-tweaker.css +1 -1
- package/dist/css/timeline.css +1 -1
- package/dist/css/toaster.css +1 -1
- package/dist/css/toggle.css +1 -1
- package/dist/css/toolbar.css +1 -1
- package/dist/css/tooltip.css +1 -1
- package/dist/css/typography.css +1 -1
- package/dist/css/upload.css +1 -1
- package/dist/css/value-inputs.css +1 -1
- package/dist/css/workspace.css +1 -1
- package/dist/{date-pickers-Dy9BVNnb.js → date-pickers-1_Ah7qWO.js} +5 -5
- package/dist/{date-pickers-C6rE7fLo.cjs → date-pickers-DejXe5oe.cjs} +1 -1
- package/dist/{dialog-CLwUz8Gb.js → dialog-CXugTX8t.js} +1 -1
- package/dist/{dialog-Bf7tBRkZ.cjs → dialog-DZ9_m_qc.cjs} +1 -1
- package/dist/display-CFj87iEn.cjs +1 -0
- package/dist/{display-DVhYS75K.js → display-Dehpw83R.js} +6 -5
- package/dist/{dropdown-menu-CIXxWTpw.js → dropdown-menu-BdgB__AC.js} +1 -1
- package/dist/{dropdown-menu-0OW7zJto.cjs → dropdown-menu-DCf_EqVG.cjs} +1 -1
- package/dist/features/actions.cjs +1 -1
- package/dist/features/actions.js +1 -1
- package/dist/features/activities.cjs +1 -1
- package/dist/features/activities.js +361 -363
- package/dist/features/ai-chat.cjs +2 -2
- package/dist/features/ai-chat.js +11 -10
- package/dist/features/async-preview.cjs +1 -1
- package/dist/features/async-preview.js +4 -4
- package/dist/features/combobox.cjs +1 -1
- package/dist/features/combobox.js +5 -5
- package/dist/features/comments.cjs +1 -1
- package/dist/features/comments.js +1 -1
- package/dist/features/data-view.cjs +1 -1
- package/dist/features/data-view.js +6 -6
- package/dist/features/event-calendar.cjs +1 -1
- package/dist/features/event-calendar.js +10 -10
- package/dist/features/filters.cjs +1 -1
- package/dist/features/filters.js +1 -1
- package/dist/features/global-search.cjs +1 -1
- package/dist/features/global-search.js +8 -8
- package/dist/features/kanban.cjs +1 -1
- package/dist/features/kanban.js +4 -5
- package/dist/features/map.cjs +1 -1
- package/dist/features/map.js +318 -317
- package/dist/features/media-library.cjs +1 -1
- package/dist/features/media-library.js +751 -771
- package/dist/features/mentions.cjs +1 -1
- package/dist/features/mentions.js +1 -1
- package/dist/features/overlays.cjs +1 -1
- package/dist/features/overlays.js +1 -1
- package/dist/features/products.cjs +1 -1
- package/dist/features/products.js +15 -15
- package/dist/features/resource-assignment.cjs +1 -1
- package/dist/features/resource-assignment.js +6 -6
- package/dist/features/resource.cjs +1 -1
- package/dist/features/resource.js +6 -6
- package/dist/features/rich-text-editor.cjs +1 -1
- package/dist/features/rich-text-editor.js +1 -1
- package/dist/features/schema-form.cjs +1 -1
- package/dist/features/schema-form.css +1 -1
- package/dist/features/schema-form.js +207 -223
- package/dist/features/sync.cjs +1 -1
- package/dist/features/sync.js +3 -3
- package/dist/features/table.cjs +1 -1
- package/dist/features/table.js +1 -1
- package/dist/features/theme-tweaker.cjs +2 -2
- package/dist/features/theme-tweaker.js +105 -124
- package/dist/{feedback-BmquisO3.js → feedback-C8QtkdHc.js} +3 -3
- package/dist/feedback-IpUFKqgv.cjs +1 -0
- package/dist/{filters-BD0zRwCE.js → filters-BMKZHnBA.js} +22 -17
- package/dist/filters-Ct07D74Q.cjs +1 -0
- package/dist/{forms-zF9SP3Ai.js → forms-C-d0-GML.js} +5 -7
- package/dist/forms-mJ0fjWEl.cjs +1 -0
- package/dist/{forms-numeric-B1cqc9Vn.cjs → forms-numeric-B7TRpwvH.cjs} +1 -1
- package/dist/{forms-numeric-DzxBaEg1.js → forms-numeric-MKOgf5BF.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/{input-group-Bnc24cRI.cjs → input-group-HplgNyti.cjs} +1 -1
- package/dist/{input-group-CTSiVEGd.js → input-group-xFaO6qrB.js} +2 -2
- package/dist/{item-Cye3hJmr.cjs → item-BxPJsxh2.cjs} +1 -1
- package/dist/{item-OVu-oGxQ.js → item-C7Wfarcx.js} +2 -2
- package/dist/{label-Cr4NpRvn.cjs → label-B8WTGCTZ.cjs} +1 -1
- package/dist/{label-DYJT1uER.js → label-DumoMDm6.js} +1 -1
- package/dist/layout/app-shell.cjs +1 -1
- package/dist/layout/app-shell.js +1 -1
- package/dist/layout/auth.cjs +1 -1
- package/dist/layout/auth.js +4 -2
- package/dist/layout/header.cjs +1 -1
- package/dist/layout/header.js +10 -10
- package/dist/layout/navigation.cjs +1 -1
- package/dist/layout/navigation.js +1 -1
- package/dist/layout/page.cjs +1 -1
- package/dist/layout/page.js +4 -4
- package/dist/layout/settings.cjs +1 -1
- package/dist/layout/settings.js +2 -2
- package/dist/layout/sidebar.cjs +1 -1
- package/dist/layout/sidebar.js +7 -7
- package/dist/layout/workspace.cjs +1 -1
- package/dist/layout/workspace.js +6 -7
- package/dist/lib/theming/recipes.d.cts +5 -2
- package/dist/lib/theming/recipes.d.ts +5 -2
- package/dist/lib/ui-provider/types.d.cts +4 -1
- package/dist/lib/ui-provider/types.d.ts +4 -1
- package/dist/{mentions-DbQAE-Ug.cjs → mentions-Ckm9Ct-r.cjs} +1 -1
- package/dist/{mentions-BU1sDupC.js → mentions-D_b-yVXN.js} +5 -5
- package/dist/{navigation-D00jGH59.js → navigation-COnv0B1H.js} +6 -5
- package/dist/navigation-D_hEWZYv.cjs +1 -0
- package/dist/{navigation-BRv9Xerv.js → navigation-DwNUlszz.js} +17 -15
- package/dist/navigation-UfUJU2LC.cjs +1 -0
- package/dist/{overlay-Bdri8Z7E.js → overlay-A5bE-8n5.js} +2 -2
- package/dist/{overlay-D1wEvshK.cjs → overlay-BtQz_AN3.cjs} +1 -1
- package/dist/{overlays-CaBkEKRc.js → overlays-DX9ux-XL.js} +7 -7
- package/dist/{overlays-BnWOasE6.cjs → overlays-MmLNLV9f.cjs} +1 -1
- package/dist/patterns/analytics.cjs +1 -1
- package/dist/patterns/analytics.js +41 -44
- package/dist/patterns/onboarding.cjs +1 -1
- package/dist/patterns/onboarding.js +4 -4
- package/dist/patterns/timelines.cjs +1 -1
- package/dist/patterns/timelines.js +1 -1
- package/dist/{popover-Dt8IXXKy.js → popover-CM1nxkAM.js} +2 -2
- package/dist/{popover-menu-BeNyDDo1.js → popover-menu-BCs5CLkw.js} +4 -4
- package/dist/{popover-menu-Cm10om_m.cjs → popover-menu-DcDdf9H2.cjs} +1 -1
- package/dist/{popover-BUebuMJK.cjs → popover-rLMSEj5V.cjs} +1 -1
- package/dist/{primitives-B2aeaudR.js → primitives-BnXNg-Kr.js} +2 -2
- package/dist/{primitives-BP7kGVYZ.cjs → primitives-kywiHMJE.cjs} +1 -1
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.js +1 -1
- package/dist/{repeaters-BIvKI1CQ.cjs → repeaters-B4dnWxUE.cjs} +1 -1
- package/dist/{repeaters-C43GWEE_.js → repeaters-B4oohPvd.js} +4 -4
- package/dist/{rich-text-editor-CqqHeJDp.cjs → rich-text-editor-7GYD-4Qq.cjs} +1 -1
- package/dist/{rich-text-editor-CVo4FB26.js → rich-text-editor-CgsfAGMo.js} +3 -3
- package/dist/{sheet-BP2BmI-Z.js → sheet-3sbsGFus.js} +2 -2
- package/dist/{sheet-FA8TfP1E.cjs → sheet-B4_LNS7m.cjs} +1 -1
- package/dist/{sidebar-C-TSBDj5.cjs → sidebar--uZUOGHE.cjs} +1 -1
- package/dist/{sidebar-DOmsOhCp.js → sidebar-BMgoyRxy.js} +10 -9
- package/dist/{skeleton-vN_fsg7X.js → skeleton-Bxqw8kwa.js} +1 -1
- package/dist/{skeleton-3RdcmQ7K.cjs → skeleton-DeuQS4AK.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/SCOPES.md +28 -9
- package/dist/styles/TOKENS.md +165 -9
- package/dist/styles/index.css +0 -1
- package/dist/styles/map.css +14 -8
- package/dist/styles/mentions.css +37 -44
- package/dist/styles/tailwind.css +2 -1
- package/dist/styles/themes/default.css +16 -14
- package/dist/styles/theming/colors.css +28 -22
- package/dist/styles/theming/feedback.css +0 -1
- package/dist/styles/theming/focus.css +15 -8
- package/dist/styles/theming/motion.css +8 -5
- package/dist/styles/theming/overlay.css +7 -0
- package/dist/styles/theming/sizing.css +8 -4
- package/dist/styles/theming/text.css +3 -1
- package/dist/styles/theming/typography.css +3 -0
- package/dist/styles/tokens/components.css +1 -1
- package/dist/styles/tokens/states.css +4 -4
- package/dist/{table-B9zwmrtt.cjs → table-3abrkeib.cjs} +1 -1
- package/dist/{table-CzsDKBR2.js → table-BXL7IP5P.js} +1 -1
- package/dist/{table-CaFQyjTz.cjs → table-CXRnlkV5.cjs} +1 -1
- package/dist/{table-CtUahid0.js → table-DszexXEh.js} +14 -14
- package/dist/tailwind.css +2 -1
- package/dist/{theming-B52zPV1p.cjs → theming-8U04chn7.cjs} +1 -1
- package/dist/{theming-y5FKH_La.js → theming-D6KRU7hO.js} +9 -9
- package/dist/theming.cjs +1 -1
- package/dist/theming.js +1 -1
- package/dist/{timeline-B3f7rEXh.cjs → timeline-CzAIDLzd.cjs} +1 -1
- package/dist/{timeline-DskNs3lw.js → timeline-ptWoY2GY.js} +2 -2
- package/dist/{timelines-wlcL01Rf.js → timelines-BquC31uF.js} +4 -4
- package/dist/{timelines-DJdBmWPj.cjs → timelines-DLsQhK72.cjs} +1 -1
- package/dist/{toaster-D3Fsaf3I.cjs → toaster-BVTOrAb5.cjs} +1 -1
- package/dist/{toaster-CaTwpule.js → toaster-DOBJDiXt.js} +1 -1
- package/dist/tokens.json +8 -7
- package/dist/{toolbar-CvUhAFhi.js → toolbar-3GLSD7Fi.js} +1 -1
- package/dist/{toolbar-Bap7y244.cjs → toolbar-aZKjtFDt.cjs} +1 -1
- package/dist/{tooltip-Dewu4Ynm.cjs → tooltip-CEcUVmor.cjs} +1 -1
- package/dist/{tooltip-B82dN7Oy.js → tooltip-DksScngC.js} +1 -1
- package/dist/{typography-B8Iurhy1.js → typography-BkxEiwQ1.js} +1 -1
- package/dist/{typography-LMez-POJ.cjs → typography-Cf5zEv4y.cjs} +1 -1
- package/dist/ui-provider-DI1VxMDT.cjs +1 -0
- package/dist/{ui-provider-BzyJxcKH.js → ui-provider-gNDv-ZRY.js} +4 -1
- package/dist/ui-provider.cjs +1 -1
- package/dist/ui-provider.js +1 -1
- package/dist/{upload-5tzkI0NC.cjs → upload-Bg8tyH5a.cjs} +1 -1
- package/dist/{upload-BL8HIPbS.js → upload-wTBh4QQx.js} +4 -4
- package/dist/{value-inputs-DzErolfh.cjs → value-inputs-B6ZURTUl.cjs} +1 -1
- package/dist/{value-inputs-DQGHd7k8.js → value-inputs-DnQKmVqW.js} +4 -4
- package/docs/generated/component-index.json +1 -2
- package/docs/generated/components/base--qr-code.md +2 -2
- package/docs/generated/components/base--typography.md +1 -1
- package/docs/generated/components/features--schema-form.md +1 -1
- package/docs/generated/components/features--theme-tweaker.md +3 -2
- package/docs/generated/components/theming.md +3 -2
- package/docs/generated/components/ui-provider.md +1 -0
- package/docs/generated/migration-codemod.json +28 -3
- package/docs/generated/migration.md +72 -3
- package/docs/generated/profiles.md +1 -1
- package/docs/learn/migration.md +16 -1
- package/docs/learn/theming.md +1 -1
- package/package.json +1 -1
- package/src/styles/SCOPES.md +28 -9
- package/src/styles/TOKENS.md +165 -9
- package/dist/accordion-BH9vNfdb.cjs +0 -1
- package/dist/cards-CO5LHALb.cjs +0 -1
- package/dist/combobox-CTUFSblt.cjs +0 -1
- package/dist/display-BUiiuPS9.cjs +0 -1
- package/dist/feedback-Da53xAUT.cjs +0 -1
- package/dist/filters-B8dkhzan.cjs +0 -1
- package/dist/forms-BEQN1X5A.cjs +0 -1
- package/dist/navigation-BaIANCwE.cjs +0 -1
- package/dist/navigation-BmZabEfZ.cjs +0 -1
- package/dist/styles/theming/mentions.css +0 -33
- package/dist/ui-provider-B3v22pQY.cjs +0 -1
package/dist/base/popover.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../popover-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../popover-rLMSEj5V.cjs");exports.Popover=e.t,exports.PopoverAnchor=e.n,exports.PopoverContent=e.r,exports.PopoverDescription=e.i,exports.PopoverFooter=e.a,exports.PopoverHeader=e.o,exports.PopoverTitle=e.s,exports.PopoverTrigger=e.c;
|
package/dist/base/popover.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../core.css";
|
|
3
|
-
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../popover-
|
|
3
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../popover-CM1nxkAM.js";
|
|
4
4
|
export { s as Popover, r as PopoverAnchor, a as PopoverContent, n as PopoverDescription, e as PopoverFooter, i as PopoverHeader, o as PopoverTitle, t as PopoverTrigger };
|
package/dist/base/qr-code.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../rolldown-runtime-BocRIvOZ.cjs"),t=require("../strings-BiKL6k6b.cjs");let
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../rolldown-runtime-BocRIvOZ.cjs"),t=require("../ui-provider-DI1VxMDT.cjs"),n=require("../strings-BiKL6k6b.cjs");let r=require("react");r=e.t(r,1);let i=require("react/jsx-runtime"),a=require("culori"),o=require("qrcode");o=e.t(o,1);let s=require("clsx");var c={generating:`Generating…`,failed:`Could not generate a code for this value.`,label:e=>`QR code for ${e}`},l={root:`qr-code__root___d545q`,placeholder:`qr-code__placeholder___ejGaW`,symbol:`qr-code__symbol___qcxKs`};function u(e,t){let n=e.trim();if(!n)return t;if(/^#[0-9a-f]{3,8}$/i.test(n))return n;try{let e=(0,a.parse)(n);return e?(0,a.formatHex)(e)??t:t}catch{return t}}var d=(0,r.forwardRef)(function({value:e,foreground:a,background:d,robustness:f=`M`,placeholder:p,strings:m,emptyState:h=null,label:g,className:_,...v},y){let b=n.t(c,m),{colorScheme:x}=t.l(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(y,()=>S.current);let[C,w]=(0,r.useState)(null),[T,E]=(0,r.useState)(!1),D=String(e??``).trim()===``,[O,k]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let e=new MutationObserver(()=>k(e=>e+1));e.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`,`data-theme`]});let t=typeof window.matchMedia==`function`?window.matchMedia(`(prefers-color-scheme: dark)`):null,n=()=>k(e=>e+1);return t?.addEventListener(`change`,n),()=>{e.disconnect(),t?.removeEventListener(`change`,n)}},[]),(0,r.useEffect)(()=>{let t=String(e??``).trim();if(!t)return;let n=!0;return(async()=>{try{let e=getComputedStyle(S.current??document.documentElement),r=u(a??e.getPropertyValue(`--qr-foreground`),`#000000`),i=u(d??e.getPropertyValue(`--qr-background`),`#ffffff`),s=await o.default.toString(t,{type:`svg`,color:{dark:r,light:i},errorCorrectionLevel:f,margin:0});if(!n)return;w(s),E(!1)}catch{if(!n)return;w(null),E(!0)}})(),()=>{n=!1}},[e,a,d,f,O,x]),D&&!h?null:(0,i.jsx)(`div`,{ref:S,className:(0,s.clsx)(`qr-code--component`,l.root,_),...v,children:D?(0,i.jsx)(`div`,{className:l.placeholder,children:h}):C?(0,i.jsx)(`div`,{role:`img`,"aria-label":g??b.label(e),className:l.symbol,dangerouslySetInnerHTML:{__html:C}}):(0,i.jsx)(`div`,{className:l.placeholder,children:T?b.failed:p??b.generating})})});exports.QRCode=d,exports.defaultQRCodeStrings=c;
|
package/dist/base/qr-code.js
CHANGED
|
@@ -2,93 +2,97 @@
|
|
|
2
2
|
import "../core.css";
|
|
3
3
|
import "../css/qr-code.css";
|
|
4
4
|
import { t as e } from "../cx--CBrhWH0.js";
|
|
5
|
-
import { t } from "../
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
5
|
+
import { l as t } from "../ui-provider-gNDv-ZRY.js";
|
|
6
|
+
import { t as n } from "../strings-Co9_qArR.js";
|
|
7
|
+
import { forwardRef as r, useEffect as i, useImperativeHandle as a, useRef as o, useState as s } from "react";
|
|
8
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
9
|
+
import { formatHex as l, parse as u } from "culori";
|
|
10
|
+
import d from "qrcode";
|
|
10
11
|
//#region src/components/base/qr-code/qr-code.strings.ts
|
|
11
|
-
var
|
|
12
|
+
var f = {
|
|
12
13
|
generating: "Generating…",
|
|
13
14
|
failed: "Could not generate a code for this value.",
|
|
14
15
|
label: (e) => `QR code for ${e}`
|
|
15
|
-
},
|
|
16
|
+
}, p = {
|
|
16
17
|
root: "qr-code__root___d545q",
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
placeholder: "qr-code__placeholder___ejGaW",
|
|
19
|
+
symbol: "qr-code__symbol___qcxKs"
|
|
19
20
|
};
|
|
20
21
|
//#endregion
|
|
21
22
|
//#region src/components/base/qr-code/qr-code.tsx
|
|
22
|
-
function
|
|
23
|
+
function m(e, t) {
|
|
23
24
|
let n = e.trim();
|
|
24
25
|
if (!n) return t;
|
|
25
26
|
if (/^#[0-9a-f]{3,8}$/i.test(n)) return n;
|
|
26
27
|
try {
|
|
27
|
-
let e =
|
|
28
|
-
return e ?
|
|
28
|
+
let e = u(n);
|
|
29
|
+
return e ? l(e) ?? t : t;
|
|
29
30
|
} catch {
|
|
30
31
|
return t;
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
|
-
var
|
|
34
|
-
let
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
var h = r(function({ value: r, foreground: l, background: u, robustness: h = "M", placeholder: g, strings: _, emptyState: v = null, label: y, className: b, ...x }, S) {
|
|
35
|
+
let C = n(f, _), { colorScheme: w } = t(), T = o(null);
|
|
36
|
+
a(S, () => T.current);
|
|
37
|
+
let [E, D] = s(null), [O, k] = s(!1), A = String(r ?? "").trim() === "", [j, M] = s(0);
|
|
38
|
+
return i(() => {
|
|
39
|
+
let e = new MutationObserver(() => M((e) => e + 1));
|
|
37
40
|
e.observe(document.documentElement, {
|
|
38
41
|
attributes: !0,
|
|
39
42
|
attributeFilter: ["class", "data-theme"]
|
|
40
43
|
});
|
|
41
|
-
let t = typeof window.matchMedia == "function" ? window.matchMedia("(prefers-color-scheme: dark)") : null, n = () =>
|
|
44
|
+
let t = typeof window.matchMedia == "function" ? window.matchMedia("(prefers-color-scheme: dark)") : null, n = () => M((e) => e + 1);
|
|
42
45
|
return t?.addEventListener("change", n), () => {
|
|
43
46
|
e.disconnect(), t?.removeEventListener("change", n);
|
|
44
47
|
};
|
|
45
|
-
}, []),
|
|
46
|
-
let e = String(
|
|
48
|
+
}, []), i(() => {
|
|
49
|
+
let e = String(r ?? "").trim();
|
|
47
50
|
if (!e) return;
|
|
48
51
|
let t = !0;
|
|
49
52
|
return (async () => {
|
|
50
53
|
try {
|
|
51
|
-
let n = getComputedStyle(document.documentElement), r =
|
|
54
|
+
let n = getComputedStyle(T.current ?? document.documentElement), r = m(l ?? n.getPropertyValue("--qr-foreground"), "#000000"), i = m(u ?? n.getPropertyValue("--qr-background"), "#ffffff"), a = await d.toString(e, {
|
|
52
55
|
type: "svg",
|
|
53
56
|
color: {
|
|
54
57
|
dark: r,
|
|
55
58
|
light: i
|
|
56
59
|
},
|
|
57
|
-
errorCorrectionLevel:
|
|
60
|
+
errorCorrectionLevel: h,
|
|
58
61
|
margin: 0
|
|
59
62
|
});
|
|
60
63
|
if (!t) return;
|
|
61
|
-
|
|
64
|
+
D(a), k(!1);
|
|
62
65
|
} catch {
|
|
63
66
|
if (!t) return;
|
|
64
|
-
|
|
67
|
+
D(null), k(!0);
|
|
65
68
|
}
|
|
66
69
|
})(), () => {
|
|
67
70
|
t = !1;
|
|
68
71
|
};
|
|
69
72
|
}, [
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
73
|
+
r,
|
|
74
|
+
l,
|
|
75
|
+
u,
|
|
76
|
+
h,
|
|
77
|
+
j,
|
|
78
|
+
w
|
|
79
|
+
]), A && !v ? null : /* @__PURE__ */ c("div", {
|
|
80
|
+
ref: T,
|
|
81
|
+
className: e("qr-code--component", p.root, b),
|
|
82
|
+
...x,
|
|
83
|
+
children: A ? /* @__PURE__ */ c("div", {
|
|
84
|
+
className: p.placeholder,
|
|
85
|
+
children: v
|
|
86
|
+
}) : E ? /* @__PURE__ */ c("div", {
|
|
83
87
|
role: "img",
|
|
84
|
-
"aria-label":
|
|
85
|
-
className:
|
|
86
|
-
dangerouslySetInnerHTML: { __html:
|
|
87
|
-
}) : /* @__PURE__ */
|
|
88
|
-
className:
|
|
89
|
-
children:
|
|
88
|
+
"aria-label": y ?? C.label(r),
|
|
89
|
+
className: p.symbol,
|
|
90
|
+
dangerouslySetInnerHTML: { __html: E }
|
|
91
|
+
}) : /* @__PURE__ */ c("div", {
|
|
92
|
+
className: p.placeholder,
|
|
93
|
+
children: O ? C.failed : g ?? C.generating
|
|
90
94
|
})
|
|
91
95
|
});
|
|
92
96
|
});
|
|
93
97
|
//#endregion
|
|
94
|
-
export {
|
|
98
|
+
export { h as QRCode, f as defaultQRCodeStrings };
|
package/dist/base/repeaters.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../repeaters-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../repeaters-B4dnWxUE.cjs");exports.KeyValueEditor=e.a,exports.LocalizedObjectField=e.r,exports.LocalizedStringField=e.i,exports.LocalizedStringRepeater=e.n,exports.ObjectRepeater=e.t,exports.Repeater=e.s,exports.StringRepeater=e.o,exports.defaultKeyValueEditorStrings=e.c,exports.defaultObjectRepeaterStrings=e.l,exports.defaultRepeaterStrings=e.u;
|
package/dist/base/repeaters.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../core.css";
|
|
3
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../repeaters-
|
|
3
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../repeaters-B4oohPvd.js";
|
|
4
4
|
export { e as KeyValueEditor, o as LocalizedObjectField, n as LocalizedStringField, i as LocalizedStringRepeater, c as ObjectRepeater, s as Repeater, a as StringRepeater, t as defaultKeyValueEditorStrings, r as defaultObjectRepeaterStrings, l as defaultRepeaterStrings };
|
package/dist/base/sheet.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../sheet-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../sheet-B4_LNS7m.cjs");exports.SheetContent=e.t;
|
package/dist/base/sheet.js
CHANGED
package/dist/base/sidebar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../sidebar
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../sidebar--uZUOGHE.cjs");exports.Sidebar=e.t,exports.SidebarContent=e.n,exports.SidebarFooter=e.r,exports.SidebarGroup=e.i,exports.SidebarGroupAction=e.a,exports.SidebarGroupContent=e.o,exports.SidebarGroupLabel=e.s,exports.SidebarHeader=e.c,exports.SidebarInput=e.l,exports.SidebarInset=e.u,exports.SidebarMenu=e.d,exports.SidebarMenuAction=e.f,exports.SidebarMenuBadge=e.p,exports.SidebarMenuButton=e.m,exports.SidebarMenuItem=e.h,exports.SidebarMenuSkeleton=e.g,exports.SidebarMenuSub=e._,exports.SidebarMenuSubButton=e.v,exports.SidebarMenuSubItem=e.y,exports.SidebarProvider=e.C,exports.SidebarRail=e.b,exports.SidebarSeparator=e.x,exports.SidebarTrigger=e.S,exports.defaultSidebarStrings=e.w,exports.useOptionalSidebar=e.T,exports.useSidebar=e.E;
|
package/dist/base/sidebar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../core.css";
|
|
3
|
-
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "../sidebar-
|
|
3
|
+
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "../sidebar-BMgoyRxy.js";
|
|
4
4
|
export { b as Sidebar, h as SidebarContent, v as SidebarFooter, f as SidebarGroup, a as SidebarGroupAction, g as SidebarGroupContent, y as SidebarGroupLabel, s as SidebarHeader, p as SidebarInput, x as SidebarInset, c as SidebarMenu, l as SidebarMenuAction, _ as SidebarMenuBadge, m as SidebarMenuButton, d as SidebarMenuItem, u as SidebarMenuSkeleton, i as SidebarMenuSub, S as SidebarMenuSubButton, T as SidebarMenuSubItem, e as SidebarProvider, o as SidebarRail, w as SidebarSeparator, n as SidebarTrigger, C as defaultSidebarStrings, r as useOptionalSidebar, t as useSidebar };
|
package/dist/base/skeleton.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../skeleton-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../skeleton-DeuQS4AK.cjs");exports.ContentSkeleton=e.t,exports.PageSkeleton=e.n,exports.Skeleton=e.o,exports.TableSkeleton=e.r,exports.TwoColumnPageSkeleton=e.i,exports.defaultSkeletonStrings=e.a;
|
package/dist/base/skeleton.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../core.css";
|
|
3
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../skeleton-
|
|
3
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../skeleton-Bxqw8kwa.js";
|
|
4
4
|
export { a as ContentSkeleton, n as PageSkeleton, r as Skeleton, i as TableSkeleton, t as TwoColumnPageSkeleton, e as defaultSkeletonStrings };
|
package/dist/base/table.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../table-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../table-3abrkeib.cjs");exports.Table=e.t,exports.TableBody=e.n,exports.TableCaption=e.r,exports.TableCell=e.i,exports.TableEmpty=e.a,exports.TableFooter=e.o,exports.TableHead=e.s,exports.TableHeader=e.c,exports.TableRow=e.l,exports.defaultTableStrings=e.u;
|
package/dist/base/table.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../core.css";
|
|
3
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../table-
|
|
3
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../table-BXL7IP5P.js";
|
|
4
4
|
export { c as Table, i as TableBody, o as TableCaption, n as TableCell, e as TableEmpty, a as TableFooter, s as TableHead, t as TableHeader, r as TableRow, l as defaultTableStrings };
|
package/dist/base/timeline.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../timeline-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../timeline-CzAIDLzd.cjs");exports.Stepper=e.t,exports.Timeline=e.r,exports.defaultStepperStrings=e.n;
|
package/dist/base/timeline.js
CHANGED
package/dist/base/toaster.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../toaster-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../toaster-BVTOrAb5.cjs");exports.Toaster=e.t,exports.createToastStore=e.r,exports.defaultToasterStrings=e.n,exports.dismissToast=e.i,exports.toast=e.a;
|
package/dist/base/toaster.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../core.css";
|
|
3
|
-
import { a as e, i as t, n, r, t as i } from "../toaster-
|
|
3
|
+
import { a as e, i as t, n, r, t as i } from "../toaster-DOBJDiXt.js";
|
|
4
4
|
export { i as Toaster, r as createToastStore, n as defaultToasterStrings, t as dismissToast, e as toast };
|
package/dist/base/toolbar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../toolbar-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../toolbar-aZKjtFDt.cjs");exports.Toolbar=e.t,exports.ToolbarButton=e.n,exports.ToolbarGroup=e.r,exports.ToolbarInput=e.i,exports.ToolbarLink=e.a,exports.ToolbarSeparator=e.o;
|
package/dist/base/toolbar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../core.css";
|
|
3
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../toolbar-
|
|
3
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../toolbar-3GLSD7Fi.js";
|
|
4
4
|
export { a as Toolbar, n as ToolbarButton, i as ToolbarGroup, t as ToolbarInput, e as ToolbarLink, r as ToolbarSeparator };
|
package/dist/base/tooltip.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../tooltip-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../tooltip-CEcUVmor.cjs");exports.Tooltip=e.t,exports.TooltipContent=e.n,exports.TooltipProvider=e.r,exports.TooltipTrigger=e.i;
|
package/dist/base/tooltip.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../core.css";
|
|
3
|
-
import { i as e, n as t, r as n, t as r } from "../tooltip-
|
|
3
|
+
import { i as e, n as t, r as n, t as r } from "../tooltip-DksScngC.js";
|
|
4
4
|
export { r as Tooltip, t as TooltipContent, n as TooltipProvider, e as TooltipTrigger };
|
package/dist/base/typography.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../typography-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../typography-Cf5zEv4y.cjs");exports.DisplayLabel=e.i,exports.Heading=e.a,exports.RichText=e.t,exports.Text=e.o,exports.TextLink=e.r;
|
package/dist/base/typography.js
CHANGED
package/dist/base/upload.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../upload-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../upload-Bg8tyH5a.cjs");exports.AvatarUpload=e.a,exports.Dropzone=e.l,exports.FilePickerInput=e.t,exports.FileUpload=e.s,exports.ImageUpload=e.o,exports.MediaGallery=e.n,exports.PreviewImage=e.y,exports.UploadProgressList=e.r,exports.UploadTray=e.i,exports.defaultAvatarUploadStrings=e.d,exports.defaultDropzoneStrings=e.f,exports.defaultFilePickerStrings=e.p,exports.defaultFileUploadStrings=e.v,exports.defaultImageUploadStrings=e.m,exports.defaultMediaGalleryStrings=e.h,exports.defaultUploadProgressListStrings=e.g,exports.defaultUploadTrayStrings=e._,exports.useFileDropTarget=e.u,exports.validateFileSelection=e.c;
|
package/dist/base/upload.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../core.css";
|
|
3
|
-
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _, y as v } from "../upload-
|
|
3
|
+
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _, y as v } from "../upload-wTBh4QQx.js";
|
|
4
4
|
export { t as AvatarUpload, c as Dropzone, h as FilePickerInput, m as FileUpload, d as ImageUpload, u as MediaGallery, v as PreviewImage, p as UploadProgressList, s as UploadTray, r as defaultAvatarUploadStrings, i as defaultDropzoneStrings, f as defaultFilePickerStrings, _ as defaultFileUploadStrings, l as defaultImageUploadStrings, o as defaultMediaGalleryStrings, a as defaultUploadProgressListStrings, e as defaultUploadTrayStrings, g as useFileDropTarget, n as validateFileSelection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../value-inputs-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../value-inputs-B6ZURTUl.cjs");exports.COUNTRY_PREFIX_MAP=e.r,exports.ColorInput=e.o,exports.DEFAULT_COUNTRY_PREFIXES=e.i,exports.DateTimeInput=e.t,exports.PhoneInput=e.n,exports.Slider=e.c,exports.SliderField=e.l,exports.TagsInput=e.s,exports.defaultColorInputStrings=e.u,exports.defaultPhoneInputStrings=e.d,exports.defaultSliderStrings=e.f,exports.defaultTagsInputStrings=e.p,exports.normalizeCountryPrefix=e.a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../core.css";
|
|
3
|
-
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../value-inputs-
|
|
3
|
+
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../value-inputs-DnQKmVqW.js";
|
|
4
4
|
export { l as COUNTRY_PREFIX_MAP, s as ColorInput, i as DEFAULT_COUNTRY_PREFIXES, d as DateTimeInput, o as PhoneInput, t as Slider, a as SliderField, u as TagsInput, f as defaultColorInputStrings, n as defaultPhoneInputStrings, r as defaultSliderStrings, c as defaultTagsInputStrings, e as normalizeCountryPrefix };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./typography-
|
|
1
|
+
const e=require("./typography-Cf5zEv4y.cjs"),t=require("./buttons-Dwl42fIr.cjs");let n=require("react/jsx-runtime"),r=require("clsx");var i={summary:(e,t)=>t===void 0?`${e} selected`:`${e} of ${t} selected`,clear:`Clear`,label:`Batch actions`},a={root:`batch-action-bar__root___YBMGk`,summary:`batch-action-bar__summary___eMFi8`,actions:`batch-action-bar__actions___YBAi7`,floating:`batch-action-bar__floating___xbP9S`,inline:`batch-action-bar__inline___vydi4`};function o({selectedCount:o,totalCount:s,onClear:c,placement:l=`floating`,strings:u,children:d,className:f}){let p={...i,...u};return o<=0?null:(0,n.jsxs)(`div`,{role:`region`,"aria-label":p.label,"data-slot":`batch-action-bar`,"data-placement":l,className:(0,r.clsx)(`batch-action-bar--component`,a.root,a[l],f),children:[(0,n.jsx)(e.o,{size:`sm`,className:(0,r.clsx)(`batch-action-bar--summary`,a.summary),children:p.summary(o,s)}),(0,n.jsxs)(`div`,{className:(0,r.clsx)(`batch-action-bar--actions`,a.actions),children:[d,c?(0,n.jsx)(t.c,{type:`button`,tone:`neutral`,buttonStyle:`ghost`,onClick:c,children:p.clear}):null]})]})}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./css/batch-action-bar.css";
|
|
2
2
|
import { t as e } from "./cx--CBrhWH0.js";
|
|
3
|
-
import { o as t } from "./typography-
|
|
4
|
-
import { c as n } from "./buttons-
|
|
3
|
+
import { o as t } from "./typography-BkxEiwQ1.js";
|
|
4
|
+
import { c as n } from "./buttons-riLAPVQV.js";
|
|
5
5
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/base/batch-action-bar/batch-action-bar.strings.ts
|
|
7
7
|
var a = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./rolldown-runtime-BocRIvOZ.cjs"),t=require("./cvm-CHrYqf6y.cjs"),n=require("./typography-
|
|
1
|
+
const e=require("./rolldown-runtime-BocRIvOZ.cjs"),t=require("./cvm-CHrYqf6y.cjs"),n=require("./typography-Cf5zEv4y.cjs"),r=require("./slot-B-qWS3Ng.cjs"),i=require("./ui-provider-DI1VxMDT.cjs"),a=require("./tooltip-CEcUVmor.cjs");let o=require("react");o=e.t(o,1);let s=require("react/jsx-runtime"),c=require("react-dom"),l=require("clsx");var u={root:`button__root___sSlE7`,iconOnly:`button__iconOnly___Npa51`,fullWidth:`button__fullWidth___xO5Nj`,label:`button__label___xfnCf`,loadingLabel:`button__loadingLabel___ItbpA`,textButton:`button__textButton___VY8pV`},d={toneNeutral:`button-tones__tone-neutral___LcpCK`,styleSolid:`button-tones__style-solid___kPRlW`,styleOutline:`button-tones__style-outline___9R6Dd`,styleGhost:`button-tones__style-ghost___xZa7O`,tonePrimary:`button-tones__tone-primary___0Tr0X`,toneSecondary:`button-tones__tone-secondary___y0vxa`,toneInfo:`button-tones__tone-info___z-B3Z`,toneSuccess:`button-tones__tone-success___c5nsC`,toneWarning:`button-tones__tone-warning___qKcU6`,toneDestructive:`button-tones__tone-destructive___NRrm4`},f={neutral:d.toneNeutral,primary:d.tonePrimary,secondary:d.toneSecondary,info:d.toneInfo,success:d.toneSuccess,warning:d.toneWarning,destructive:d.toneDestructive},p={solid:d.styleSolid,outline:d.styleOutline,ghost:d.styleGhost},m={tone:`primary`,buttonStyle:`solid`},h=t.t(u.root,{variants:{iconOnly:{true:u.iconOnly,false:void 0},fullWidth:{true:u.fullWidth,false:void 0}}});function g({tone:e,buttonStyle:t,iconOnly:n=!1,fullWidth:a=!1,loading:c=!1,render:d,className:g,disabled:_,children:v,onClick:y,...b}){let x=(0,s.jsx)(`span`,{className:c?u.loadingLabel:u.label,children:v}),S=d?v==null?d:o.cloneElement(d,void 0,x):x,C=i.n(`button`,m),w=e??C.tone,T=t??C.buttonStyle,E=d!==void 0,D=E?r.t:`button`,O=c||E&&!!_;return(0,s.jsx)(D,{"data-slot":`button`,"data-tone":w,"data-style":T,"data-loading":c?``:void 0,type:E?void 0:`button`,disabled:E?void 0:_,"aria-disabled":O||b[`aria-disabled`]||void 0,"aria-busy":c||void 0,onClick:e=>{if(O){e.preventDefault();return}y?.(e)},className:(0,l.clsx)(`button--component`,h({iconOnly:n,fullWidth:a}),f[w],p[T],g),...b,children:S})}var _={root:`button-group__root___c8rNi`,groupSeparator:`button-group__groupSeparator___uLRaf`,vertical:`button-group__vertical___RC5l7`,groupText:`button-group__groupText___5FS2f`,groupSeparatorVertical:`button-group__groupSeparatorVertical___CyWO5`};function v({orientation:e=`horizontal`,className:t,...n}){return(0,s.jsx)(`div`,{role:`group`,"data-slot":`button-group`,"data-orientation":e,className:(0,l.clsx)(`button-group--component`,_.root,e===`vertical`&&_.vertical,t),...n})}function y({className:e,...t}){return(0,s.jsx)(n.o,{tag:`span`,size:`inherit`,type:`secondary`,"data-slot":`button-group-text`,className:(0,l.clsx)(`button-group-text--component`,_.groupText,e),...t})}function b({orientation:e=`horizontal`,className:t,...n}){return(0,s.jsx)(`div`,{role:`separator`,"aria-orientation":e===`vertical`?`horizontal`:`vertical`,"data-slot":`button-group-separator`,className:(0,l.clsx)(`button-group-separator--component`,_.groupSeparator,e===`vertical`&&_.groupSeparatorVertical,t),...n})}var x=o.forwardRef(function({tone:e=`primary`,className:t,...n},r){return(0,s.jsx)(g,{ref:r,tone:e,buttonStyle:`ghost`,"data-slot":`text-button`,className:(0,l.clsx)(`text-button--component`,u.textButton,t),...n})}),S={loading:`Working…`},C=o.forwardRef(function({loading:e,handlesLoading:t,onClick:r,strings:i,children:a,...l},u){let d={...S,...i},[f,p]=o.useState(!1),m=o.useRef(!0);o.useEffect(()=>()=>{m.current=!1},[]);let{pending:h}=(0,c.useFormStatus)(),_=l.type===`submit`,v=e!==void 0,y=v?e:f||_&&h;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g,{ref:u,loading:y,"aria-busy":y?!0:void 0,onClick:async e=>{let t=r?.(e);if(!(!t||typeof t.then!=`function`)){v||p(!0);try{await t}finally{!v&&m.current&&p(!1)}}},...l,children:a}),(0,s.jsx)(`span`,{"data-slot":`loader-button-status`,className:`sr-only`,role:`status`,"aria-live":`polite`,"aria-atomic":`true`,children:(0,s.jsx)(n.o,{tag:`span`,children:y?d.loading:``})})]})}),w=o.forwardRef(function({tooltip:e,side:t=`top`,children:n,...r},i){return(0,s.jsxs)(a.t,{children:[(0,s.jsx)(a.i,{render:(0,s.jsx)(g,{ref:i,"aria-label":r[`aria-label`]??(typeof n==`string`||typeof n==`number`?void 0:e),...r,children:n})}),(0,s.jsx)(a.n,{side:t,children:e})]})});Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return w}});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./css/buttons.css";
|
|
2
2
|
import { t as e } from "./cvm-DtsCA8iZ.js";
|
|
3
3
|
import { t } from "./cx--CBrhWH0.js";
|
|
4
|
-
import { o as n } from "./typography-
|
|
4
|
+
import { o as n } from "./typography-BkxEiwQ1.js";
|
|
5
5
|
import { t as r } from "./slot-2Jf4M2nC.js";
|
|
6
|
-
import { n as i } from "./ui-provider-
|
|
7
|
-
import { i as a, n as o, t as s } from "./tooltip-
|
|
6
|
+
import { n as i } from "./ui-provider-gNDv-ZRY.js";
|
|
7
|
+
import { i as a, n as o, t as s } from "./tooltip-DksScngC.js";
|
|
8
8
|
import * as c from "react";
|
|
9
9
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
10
10
|
import { useFormStatus as f } from "react-dom";
|
|
@@ -102,6 +102,7 @@ function S({ className: e, ...r }) {
|
|
|
102
102
|
return /* @__PURE__ */ u(n, {
|
|
103
103
|
tag: "span",
|
|
104
104
|
size: "inherit",
|
|
105
|
+
type: "secondary",
|
|
105
106
|
"data-slot": "button-group-text",
|
|
106
107
|
className: t("button-group-text--component", b.groupText, e),
|
|
107
108
|
...r
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./css/cards.css";
|
|
2
2
|
import { t as e } from "./cvm-DtsCA8iZ.js";
|
|
3
3
|
import { t } from "./cx--CBrhWH0.js";
|
|
4
|
-
import { o as n } from "./typography-
|
|
5
|
-
import { _ as r, h as i } from "./feedback-
|
|
6
|
-
import { n as a } from "./ui-provider-
|
|
7
|
-
import { c as o } from "./buttons-
|
|
8
|
-
import { i as s, n as c, t as l } from "./tooltip-
|
|
9
|
-
import { n as u } from "./action-menu-
|
|
4
|
+
import { o as n } from "./typography-BkxEiwQ1.js";
|
|
5
|
+
import { _ as r, h as i } from "./feedback-C8QtkdHc.js";
|
|
6
|
+
import { n as a } from "./ui-provider-gNDv-ZRY.js";
|
|
7
|
+
import { c as o } from "./buttons-riLAPVQV.js";
|
|
8
|
+
import { i as s, n as c, t as l } from "./tooltip-DksScngC.js";
|
|
9
|
+
import { n as u } from "./action-menu-BrMchcyt.js";
|
|
10
10
|
import { o as d } from "./structure-D0WGQAP3.js";
|
|
11
|
-
import { t as f } from "./skeleton-
|
|
11
|
+
import { t as f } from "./skeleton-Bxqw8kwa.js";
|
|
12
12
|
import { ChevronDownIcon as p, ChevronUpIcon as m, InfoIcon as h } from "lucide-react";
|
|
13
13
|
import * as g from "react";
|
|
14
14
|
import { isValidElement as _ } from "react";
|
|
@@ -34,7 +34,6 @@ var x = {
|
|
|
34
34
|
alert: "cards__alert___8unK8",
|
|
35
35
|
content: "cards__content___F3drw",
|
|
36
36
|
footerDivider: "cards__footerDivider___zv3P9",
|
|
37
|
-
footerText: "cards__footerText___Wggfv",
|
|
38
37
|
collapsible: "cards__collapsible___cwhUq",
|
|
39
38
|
expanded: "cards__expanded___7Pcuy",
|
|
40
39
|
expandToggle: "cards__expandToggle___t1PT_",
|
|
@@ -73,6 +72,7 @@ function C({ icon: e, title: r, titleSuffix: i, tooltip: a, tooltipLabel: o = "M
|
|
|
73
72
|
}) : /* @__PURE__ */ y(n, {
|
|
74
73
|
tag: "span",
|
|
75
74
|
size: "inherit",
|
|
75
|
+
weight: "semibold",
|
|
76
76
|
className: t("card--title", x.title),
|
|
77
77
|
children: r
|
|
78
78
|
})),
|
|
@@ -124,7 +124,6 @@ function T({ divider: e, text: r, className: i, children: a, ...o }) {
|
|
|
124
124
|
children: [!!r && /* @__PURE__ */ y(n, {
|
|
125
125
|
type: "secondary",
|
|
126
126
|
size: "xs",
|
|
127
|
-
className: x.footerText,
|
|
128
127
|
children: r
|
|
129
128
|
}), a]
|
|
130
129
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-BocRIvOZ.cjs"),t=require("./cvm-CHrYqf6y.cjs"),n=require("./typography-Cf5zEv4y.cjs"),r=require("./feedback-IpUFKqgv.cjs"),i=require("./ui-provider-DI1VxMDT.cjs"),a=require("./buttons-Dwl42fIr.cjs"),o=require("./tooltip-CEcUVmor.cjs"),s=require("./action-menu-CO6DZ2xa.cjs"),c=require("./structure-CXTLV2t8.cjs"),l=require("./skeleton-DeuQS4AK.cjs");let u=require("lucide-react"),d=require("react");d=e.t(d,1);let f=require("react/jsx-runtime"),p=require("clsx");var m={root:`cards__root___Bbycm`,surfaceCard:`cards__surfaceCard___J9n4m`,surfaceFramed:`cards__surfaceFramed___oxziZ`,media:`cards__media___LvxvX`,footer:`cards__footer___sEgwh`,primaryAction:`cards__primaryAction___yY7c5`,surfaceFlat:`cards__surfaceFlat___k6njT`,surfaceBordered:`cards__surfaceBordered___8CZR0`,header:`cards__header___Q8mxA`,headerDivider:`cards__headerDivider___CQW3-`,titleRow:`cards__titleRow___4RWYS`,icon:`cards__icon___A_FPk`,title:`cards__title___60rJi`,titleInfo:`cards__titleInfo___QnNKA`,titleSuffix:`cards__titleSuffix___PDKRB`,headerControls:`cards__headerControls___-CrJR`,description:`cards__description___m5dQ8`,alert:`cards__alert___8unK8`,content:`cards__content___F3drw`,footerDivider:`cards__footerDivider___zv3P9`,collapsible:`cards__collapsible___cwhUq`,expanded:`cards__expanded___7Pcuy`,expandToggle:`cards__expandToggle___t1PT_`,actionStrip:`cards__actionStrip___KrPkt`,actionStripSeparated:`cards__actionStripSeparated___lM8Va`,actionStripEnd:`cards__actionStripEnd___xVro_`,actionStripBetween:`cards__actionStripBetween___hPtwH`,actionStripFullPrimary:`cards__actionStripFullPrimary___ztzOG`},h={tooltip:`More information`,actions:`More actions`,expand:`Show more`,collapse:`Show less`};function g({icon:e,title:t,titleSuffix:r,tooltip:i,tooltipLabel:a=`More information`,description:s,headerStart:l,headerEnd:d,headerAction:h,divider:g,titleLevel:_,className:v,...y}){let b=_?`h${_}`:null;return(0,f.jsxs)(c.o,{gap:`xs`,"data-slot":`card-header`,className:(0,p.clsx)(`card--header`,m.header,g&&m.headerDivider,v),...y,children:[l,(0,f.jsxs)(`div`,{className:m.titleRow,children:[!!e&&(0,f.jsx)(`span`,{className:m.icon,children:e}),!!t&&(b?(0,f.jsx)(b,{className:(0,p.clsx)(`card--title`,m.title),children:t}):(0,f.jsx)(n.o,{tag:`span`,size:`inherit`,weight:`semibold`,className:(0,p.clsx)(`card--title`,m.title),children:t})),!!r&&(0,f.jsx)(`span`,{className:m.titleSuffix,children:r}),!!i&&(0,f.jsxs)(o.t,{children:[(0,f.jsx)(o.i,{render:(0,f.jsx)(`button`,{type:`button`,"data-hit-area":!0,className:m.titleInfo,"aria-label":a}),children:(0,f.jsx)(u.InfoIcon,{"aria-hidden":!0})}),(0,f.jsx)(o.n,{children:i})]}),!!(d||h)&&(0,f.jsxs)(`span`,{className:m.headerControls,children:[d,h]})]}),!!s&&(0,f.jsx)(n.o,{type:`secondary`,className:(0,p.clsx)(`card--description`,m.description),children:s})]})}function _({className:e,...t}){return(0,f.jsx)(`div`,{"data-slot":`card-content`,className:(0,p.clsx)(`card--content`,m.content,e),...t})}function v({divider:e,text:t,className:r,children:i,...a}){return(0,f.jsxs)(c.o,{direction:`horizontal`,align:`center`,wrap:!0,gap:`md`,"data-slot":`card-footer`,className:(0,p.clsx)(`card--footer`,m.footer,e&&m.footerDivider,r),...a,children:[!!t&&(0,f.jsx)(n.o,{type:`secondary`,size:`xs`,children:t}),i]})}var y={surface:`framed`,headerDivider:!1},b=t.t(m.root,{variants:{surface:{card:m.surfaceCard,framed:m.surfaceFramed,flat:m.surfaceFlat,bordered:m.surfaceBordered}}});function x({icon:e,title:t,titleSuffix:n,tooltip:o,description:c,surface:l,titleLevel:x,media:S,headerStart:C,headerEnd:w,headerAction:T,actions:E,alert:D,alertTone:O=`neutral`,contentTop:k,contentBottom:A,footerText:j,footerSlot:M,headerDivider:ee,footerDivider:te,expandable:N=!1,expanded:P,defaultExpanded:F=!1,onExpandedChange:I,strings:L,className:R,children:z,...B}){let V={...h,...L},H=i.n(`card`,y),U=l??H.surface,W=ee??H.headerDivider,[G,ne]=d.useState(F),K=P!==void 0,q=K?P:G,re=()=>{let e=!q;K||ne(e),I?.(e)},J=N!==!1&&N!==void 0,Y=typeof N==`object`?N.collapsedMaxHeight:void 0,X=d.Children.toArray(z),Z=X.filter(e=>d.isValidElement(e)&&e.type===v),Q=Z.length>0?X.filter(e=>!Z.includes(e)):z,ie=Z.length>0?Q.length>0:!!z,ae=!!(e||t||n||o||c||C||w||T||E?.length),$=!!(ie||k||A),oe=!!(j||M),se=$&&(0,f.jsxs)(_,{className:(0,p.clsx)(J&&m.collapsible,J&&q&&m.expanded),style:Y===void 0?void 0:{"--card-collapsed-height":typeof Y==`number`?`${Y}px`:Y},children:[k,Q,A]});return(0,f.jsxs)(`div`,{"data-slot":`card`,"data-surface":U,className:(0,p.clsx)(`card--component`,b({surface:U}),R),...B,children:[!!S&&(0,f.jsx)(`div`,{className:(0,p.clsx)(`card--media`,m.media),children:S}),ae&&(0,f.jsx)(g,{titleLevel:x,icon:e,title:t,titleSuffix:n,tooltip:o,tooltipLabel:V.tooltip,description:c,headerStart:C,headerEnd:w,headerAction:(0,f.jsxs)(f.Fragment,{children:[T,!!E?.length&&(0,f.jsx)(s.n,{actions:E,strings:{trigger:V.actions}})]}),divider:W}),!!D&&(0,f.jsx)(`div`,{className:(0,p.clsx)(`card--alert`,m.alert),children:typeof D==`string`?(0,f.jsx)(r.h,{tone:O,children:(0,f.jsx)(r._,{children:D})}):D}),se,J&&$&&(0,f.jsx)(`div`,{className:m.expandToggle,children:(0,f.jsxs)(a.c,{tone:`neutral`,buttonStyle:`ghost`,onClick:re,"aria-expanded":q,children:[q?(0,f.jsx)(u.ChevronUpIcon,{}):(0,f.jsx)(u.ChevronDownIcon,{}),q?V.collapse:V.expand]})}),oe&&(0,f.jsx)(v,{divider:te,text:j,children:M}),Z]})}function S(e){return e?(0,d.isValidElement)(e)?e:typeof e==`function`||typeof e==`object`&&e&&`$$typeof`in e?(0,f.jsx)(e,{"aria-hidden":!0}):e:null}function C({actions:e,separator:t=!1,align:n=`start`,fullWidthPrimary:r=!1,renderLink:i,className:o,...s}){let c=e.filter(e=>e.visible!==!1);return c.length===0?null:(0,f.jsx)(`div`,{className:(0,p.clsx)(`card-action-strip--component`,m.actionStrip,t&&m.actionStripSeparated,n===`end`&&m.actionStripEnd,n===`between`&&m.actionStripBetween,r&&m.actionStripFullPrimary,o),...s,children:c.map((e,t)=>{let n=(0,f.jsxs)(f.Fragment,{children:[S(e.icon),e.label]}),r=e.buttonStyle===`link`?`ghost`:e.buttonStyle??(t===0?`solid`:`outline`);if(e.href&&!e.disabled){let o=e.href;return(0,f.jsx)(a.c,{render:i?i({href:o,children:n,external:e.external}):(0,f.jsx)(`a`,{href:o,target:e.target,rel:e.rel,children:n}),tone:e.tone??`primary`,buttonStyle:r},e.id??t)}return(0,f.jsx)(a.c,{tone:e.tone??`primary`,buttonStyle:r,disabled:e.disabled,onClick:e.onClick,children:n},e.id??t)})})}function w({label:e,className:t,...n}){return(0,f.jsx)(`a`,{"aria-label":e,className:(0,p.clsx)(`card-primary-action--component`,m.primaryAction,t),...n})}function T({surface:e,showHeader:t=!0,lines:n=3,label:r,className:i,...a}){return(0,f.jsx)(x,{surface:e,className:(0,p.clsx)(`card-skeleton--component`,i),...a,children:(0,f.jsx)(l.t,{lines:n,showTitle:t,label:r})})}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return T}});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./css/choice-inputs.css";
|
|
2
2
|
import { t as e } from "./cx--CBrhWH0.js";
|
|
3
|
-
import { o as t } from "./typography-
|
|
4
|
-
import { u as n } from "./ui-provider-
|
|
5
|
-
import { i as r, n as i, t as a } from "./tooltip-
|
|
6
|
-
import { d as o } from "./display-
|
|
3
|
+
import { o as t } from "./typography-BkxEiwQ1.js";
|
|
4
|
+
import { u as n } from "./ui-provider-gNDv-ZRY.js";
|
|
5
|
+
import { i as r, n as i, t as a } from "./tooltip-DksScngC.js";
|
|
6
|
+
import { d as o } from "./display-Dehpw83R.js";
|
|
7
7
|
import { o as s } from "./structure-D0WGQAP3.js";
|
|
8
|
-
import { t as c } from "./label-
|
|
8
|
+
import { t as c } from "./label-DumoMDm6.js";
|
|
9
9
|
import { CheckIcon as l, ChevronDownIcon as u, ChevronUpIcon as d, CircleCheckIcon as f, CircleIcon as p, InfoIcon as m, MinusIcon as h } from "lucide-react";
|
|
10
10
|
import * as g from "react";
|
|
11
11
|
import { forwardRef as _, isValidElement as v, useCallback as y, useId as b, useMemo as x, useRef as S, useState as C } from "react";
|
|
@@ -18,11 +18,11 @@ var A = {
|
|
|
18
18
|
control: "choice__control___NmimT",
|
|
19
19
|
label: "choice__label___G8WMe",
|
|
20
20
|
input: "choice__input___q7iK1",
|
|
21
|
+
radio: "choice__radio___qIw7K",
|
|
21
22
|
checkbox: "choice__checkbox___2CV9G",
|
|
22
23
|
mark: "choice__mark___dfDSJ",
|
|
23
24
|
checkMark: "choice__checkMark___kQ_oh",
|
|
24
25
|
dashMark: "choice__dashMark___7GQqG",
|
|
25
|
-
radio: "choice__radio___qIw7K",
|
|
26
26
|
dot: "choice__dot___IOV2q",
|
|
27
27
|
switch: "choice__switch___ZejHh",
|
|
28
28
|
thumb: "choice__thumb___s06gp",
|
|
@@ -32,6 +32,7 @@ var A = {
|
|
|
32
32
|
columns3: "choice__columns3___5dA4V",
|
|
33
33
|
columns4: "choice__columns4___qs3Z0",
|
|
34
34
|
card: "choice__card___pQotQ",
|
|
35
|
+
switchCard: "choice__switchCard___MSJcJ",
|
|
35
36
|
cardMark: "choice__cardMark___BNtV9",
|
|
36
37
|
cardIcon: "choice__cardIcon___FHnbH",
|
|
37
38
|
list: "choice__list___SPpSu",
|
|
@@ -44,7 +45,6 @@ var A = {
|
|
|
44
45
|
pillFullWidth: "choice__pillFullWidth___3MFR0",
|
|
45
46
|
row: "choice__row___1a0NE",
|
|
46
47
|
rowDisabled: "choice__rowDisabled___EKWak",
|
|
47
|
-
switchCard: "choice__switchCard___MSJcJ",
|
|
48
48
|
switchCardIcon: "choice__switchCardIcon___iADoS",
|
|
49
49
|
rowText: "choice__rowText___nA6jl",
|
|
50
50
|
rowControl: "choice__rowControl___27GaB",
|