@womp/kookie-ui 0.25.0 → 0.25.2
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/components.css +19 -3
- package/dist/cjs/components/_internal/base-button.d.ts.map +1 -1
- package/dist/cjs/components/_internal/base-button.js +1 -1
- package/dist/cjs/components/_internal/base-button.js.map +4 -4
- package/dist/cjs/components/_internal/shell-bottom.js +1 -1
- package/dist/cjs/components/_internal/shell-bottom.js.map +3 -3
- package/dist/cjs/components/_internal/shell-inspector.d.ts.map +1 -1
- package/dist/cjs/components/_internal/shell-inspector.js +1 -1
- package/dist/cjs/components/_internal/shell-inspector.js.map +3 -3
- package/dist/cjs/components/_internal/shell-resizable.d.ts +6 -0
- package/dist/cjs/components/_internal/shell-resizable.d.ts.map +1 -1
- package/dist/cjs/components/_internal/shell-resizable.js +1 -1
- package/dist/cjs/components/_internal/shell-resizable.js.map +3 -3
- package/dist/cjs/components/_internal/shell-sidebar.d.ts.map +1 -1
- package/dist/cjs/components/_internal/shell-sidebar.js +1 -1
- package/dist/cjs/components/_internal/shell-sidebar.js.map +3 -3
- package/dist/cjs/components/accordion.js +1 -1
- package/dist/cjs/components/accordion.js.map +4 -4
- package/dist/cjs/components/alert-dialog.js +1 -1
- package/dist/cjs/components/alert-dialog.js.map +4 -4
- package/dist/cjs/components/avatar.js +1 -1
- package/dist/cjs/components/avatar.js.map +4 -4
- package/dist/cjs/components/button.js +1 -1
- package/dist/cjs/components/button.js.map +4 -4
- package/dist/cjs/components/card.js +1 -1
- package/dist/cjs/components/card.js.map +4 -4
- package/dist/cjs/components/chatbar.js +1 -1
- package/dist/cjs/components/chatbar.js.map +4 -4
- package/dist/cjs/components/checkbox-group.js +1 -1
- package/dist/cjs/components/checkbox-group.js.map +4 -4
- package/dist/cjs/components/checkbox.js +1 -1
- package/dist/cjs/components/checkbox.js.map +4 -4
- package/dist/cjs/components/chip.js +1 -1
- package/dist/cjs/components/chip.js.map +4 -4
- package/dist/cjs/components/combobox.js +1 -1
- package/dist/cjs/components/combobox.js.map +4 -4
- package/dist/cjs/components/context-menu.js +1 -1
- package/dist/cjs/components/context-menu.js.map +4 -4
- package/dist/cjs/components/dialog.js +1 -1
- package/dist/cjs/components/dialog.js.map +4 -4
- package/dist/cjs/components/dropdown-menu.js +1 -1
- package/dist/cjs/components/dropdown-menu.js.map +4 -4
- package/dist/cjs/components/index.js +2 -2
- package/dist/cjs/components/index.js.map +4 -4
- package/dist/cjs/components/message-scroller.js +1 -1
- package/dist/cjs/components/message-scroller.js.map +4 -4
- package/dist/cjs/components/navbar.js +1 -1
- package/dist/cjs/components/navbar.js.map +4 -4
- package/dist/cjs/components/notice.js +1 -1
- package/dist/cjs/components/notice.js.map +4 -4
- package/dist/cjs/components/popover.js +1 -1
- package/dist/cjs/components/popover.js.map +4 -4
- package/dist/cjs/components/radio-group.js +1 -1
- package/dist/cjs/components/radio-group.js.map +4 -4
- package/dist/cjs/components/radio.js +1 -1
- package/dist/cjs/components/radio.js.map +4 -4
- package/dist/cjs/components/segmented-control.js +1 -1
- package/dist/cjs/components/segmented-control.js.map +4 -4
- package/dist/cjs/components/select.js +1 -1
- package/dist/cjs/components/select.js.map +4 -4
- package/dist/cjs/components/sheet.js +1 -1
- package/dist/cjs/components/sheet.js.map +4 -4
- package/dist/cjs/components/shell.js +1 -1
- package/dist/cjs/components/shell.js.map +4 -4
- package/dist/cjs/components/sidebar.d.ts.map +1 -1
- package/dist/cjs/components/sidebar.js +1 -1
- package/dist/cjs/components/sidebar.js.map +4 -4
- package/dist/cjs/components/slider.js +1 -1
- package/dist/cjs/components/slider.js.map +4 -4
- package/dist/cjs/components/switch.js +1 -1
- package/dist/cjs/components/switch.js.map +4 -4
- package/dist/cjs/components/table.js +1 -1
- package/dist/cjs/components/table.js.map +4 -4
- package/dist/cjs/components/tabs.js +1 -1
- package/dist/cjs/components/tabs.js.map +4 -4
- package/dist/cjs/components/text-area.js +1 -1
- package/dist/cjs/components/text-area.js.map +4 -4
- package/dist/cjs/components/text-field.js +2 -2
- package/dist/cjs/components/text-field.js.map +4 -4
- package/dist/cjs/components/theme.js +1 -1
- package/dist/cjs/components/theme.js.map +4 -4
- package/dist/cjs/components/toggle.js +1 -1
- package/dist/cjs/components/toggle.js.map +4 -4
- package/dist/cjs/components/toolbar.d.ts.map +1 -1
- package/dist/cjs/components/toolbar.js +1 -1
- package/dist/cjs/components/toolbar.js.map +4 -4
- package/dist/cjs/components/tooltip.js +1 -1
- package/dist/cjs/components/tooltip.js.map +4 -4
- package/dist/cjs/helpers/index.d.ts +1 -0
- package/dist/cjs/helpers/index.d.ts.map +1 -1
- package/dist/cjs/helpers/index.js +4 -4
- package/dist/cjs/helpers/index.js.map +3 -3
- package/dist/cjs/helpers/theme-size.d.ts +8 -30
- package/dist/cjs/helpers/theme-size.d.ts.map +1 -1
- package/dist/cjs/helpers/theme-size.js +1 -1
- package/dist/cjs/helpers/theme-size.js.map +3 -3
- package/dist/cjs/hooks/theme-size.d.ts +32 -0
- package/dist/cjs/hooks/theme-size.d.ts.map +1 -0
- package/dist/cjs/hooks/theme-size.js +3 -0
- package/dist/cjs/hooks/theme-size.js.map +7 -0
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +4 -4
- package/dist/cjs/props/index.js +1 -1
- package/dist/cjs/props/index.js.map +4 -4
- package/dist/esm/chunk-3B25RLWX.js +3 -0
- package/dist/esm/chunk-3B25RLWX.js.map +7 -0
- package/dist/esm/{chunk-PF67GJ5D.js → chunk-3CY6H4TE.js} +2 -2
- package/dist/esm/chunk-3CY6H4TE.js.map +7 -0
- package/dist/esm/{chunk-2EXOL2BR.js → chunk-3L2MDOYC.js} +2 -2
- package/dist/esm/chunk-3L2MDOYC.js.map +7 -0
- package/dist/esm/{chunk-KNBSG2WA.js → chunk-5CFSNNYS.js} +2 -2
- package/dist/esm/chunk-5CFSNNYS.js.map +7 -0
- package/dist/esm/{chunk-4ABQ6CDI.js → chunk-5EBJOOXE.js} +2 -2
- package/dist/esm/chunk-5EBJOOXE.js.map +7 -0
- package/dist/esm/{chunk-E4EMG3RC.js → chunk-5L4DZ2D3.js} +2 -2
- package/dist/esm/chunk-5L4DZ2D3.js.map +7 -0
- package/dist/esm/chunk-5ON3XLRD.js +3 -0
- package/dist/esm/chunk-5ON3XLRD.js.map +7 -0
- package/dist/esm/{chunk-UZAS4PYM.js → chunk-5TJH35TF.js} +2 -2
- package/dist/esm/{chunk-GPQSC6GL.js → chunk-5XR5PTDR.js} +2 -2
- package/dist/esm/chunk-5XR5PTDR.js.map +7 -0
- package/dist/esm/{chunk-AOBY2OUZ.js → chunk-63MUJFVF.js} +2 -2
- package/dist/esm/chunk-63MUJFVF.js.map +7 -0
- package/dist/esm/chunk-6AUIIXXE.js +2 -0
- package/dist/esm/chunk-6AUIIXXE.js.map +7 -0
- package/dist/esm/{chunk-4Q5PUIDJ.js → chunk-6RJQ5LLP.js} +2 -2
- package/dist/esm/{chunk-YVZTQA2L.js → chunk-7B3XDZXZ.js} +2 -2
- package/dist/esm/chunk-7B3XDZXZ.js.map +7 -0
- package/dist/esm/{chunk-7IHBNDCE.js → chunk-7X7VWR3F.js} +2 -2
- package/dist/esm/chunk-7X7VWR3F.js.map +7 -0
- package/dist/esm/{chunk-45O3JZWQ.js → chunk-7XHE6TOA.js} +2 -2
- package/dist/esm/chunk-7XHE6TOA.js.map +7 -0
- package/dist/esm/chunk-AQ7VUGQQ.js +3 -0
- package/dist/esm/chunk-AQ7VUGQQ.js.map +7 -0
- package/dist/esm/{chunk-54HUG34P.js → chunk-BVFHJP5E.js} +2 -2
- package/dist/esm/chunk-BVFHJP5E.js.map +7 -0
- package/dist/esm/{chunk-CRCYUJMK.js → chunk-BXZSJKWA.js} +2 -2
- package/dist/esm/chunk-BXZSJKWA.js.map +7 -0
- package/dist/esm/{chunk-IQ2RMFOM.js → chunk-CQG4U5BR.js} +2 -2
- package/dist/esm/{chunk-YNCI5PY6.js → chunk-FPGBCCML.js} +2 -2
- package/dist/esm/chunk-FPGBCCML.js.map +7 -0
- package/dist/esm/{chunk-A7QRPXXB.js → chunk-HHSFAOIO.js} +2 -2
- package/dist/esm/chunk-HHSFAOIO.js.map +7 -0
- package/dist/esm/{chunk-NMQGDBLD.js → chunk-MQEWEAH5.js} +2 -2
- package/dist/esm/chunk-MQEWEAH5.js.map +7 -0
- package/dist/esm/{chunk-YIKLO2XL.js → chunk-N3QLHFHB.js} +2 -2
- package/dist/esm/chunk-N3QLHFHB.js.map +7 -0
- package/dist/esm/{chunk-LCG3JZ3C.js → chunk-N5H7C3PZ.js} +2 -2
- package/dist/esm/chunk-N5H7C3PZ.js.map +7 -0
- package/dist/esm/{chunk-N53NJCEM.js → chunk-OQWD63AI.js} +2 -2
- package/dist/esm/chunk-OQWD63AI.js.map +7 -0
- package/dist/esm/chunk-PCLO3ZZY.js +3 -0
- package/dist/esm/chunk-PCLO3ZZY.js.map +7 -0
- package/dist/esm/{chunk-2XZ7477Y.js → chunk-PZZJH2LR.js} +2 -2
- package/dist/esm/chunk-PZZJH2LR.js.map +7 -0
- package/dist/esm/chunk-QKCNGEX4.js +3 -0
- package/dist/esm/chunk-QKCNGEX4.js.map +7 -0
- package/dist/esm/{chunk-PPQ7URZL.js → chunk-R4PGFURL.js} +2 -2
- package/dist/esm/{chunk-UUQGOQ5H.js → chunk-RB5VHWAW.js} +2 -2
- package/dist/esm/chunk-RB5VHWAW.js.map +7 -0
- package/dist/esm/{chunk-AG2YETE6.js → chunk-VPRAXHLL.js} +2 -2
- package/dist/esm/chunk-VPRAXHLL.js.map +7 -0
- package/dist/esm/{chunk-7J7RPEPB.js → chunk-VRQEWMC6.js} +2 -2
- package/dist/esm/chunk-VRQEWMC6.js.map +7 -0
- package/dist/esm/{chunk-UFJGZUKK.js → chunk-W4MQ6TEK.js} +2 -2
- package/dist/esm/chunk-W4MQ6TEK.js.map +7 -0
- package/dist/esm/{chunk-3223MHQK.js → chunk-WJ4H2O2G.js} +2 -2
- package/dist/esm/chunk-WMODMXEU.js +3 -0
- package/dist/esm/chunk-WMODMXEU.js.map +7 -0
- package/dist/esm/{chunk-JZVLP2VF.js → chunk-XPVRXQSW.js} +2 -2
- package/dist/esm/chunk-XPVRXQSW.js.map +7 -0
- package/dist/esm/{chunk-BUZGRMDD.js → chunk-Y2BTPKK6.js} +2 -2
- package/dist/esm/chunk-YOSCUA6Z.js +3 -0
- package/dist/esm/chunk-YOSCUA6Z.js.map +7 -0
- package/dist/esm/{chunk-X272YV2E.js → chunk-Z563IAE3.js} +2 -2
- package/dist/esm/chunk-Z563IAE3.js.map +7 -0
- package/dist/esm/{chunk-GZ333J7L.js → chunk-ZDSY6CJL.js} +2 -2
- package/dist/esm/chunk-ZDSY6CJL.js.map +7 -0
- package/dist/esm/{chunk-ENAW44VE.js → chunk-ZYKJTNAT.js} +2 -2
- package/dist/esm/chunk-ZYKJTNAT.js.map +7 -0
- package/dist/esm/components/_internal/base-button.d.ts.map +1 -1
- package/dist/esm/components/_internal/base-button.js +1 -1
- package/dist/esm/components/_internal/shell-bottom.js +1 -1
- package/dist/esm/components/_internal/shell-inspector.d.ts.map +1 -1
- package/dist/esm/components/_internal/shell-inspector.js +1 -1
- package/dist/esm/components/_internal/shell-resizable.d.ts +6 -0
- package/dist/esm/components/_internal/shell-resizable.d.ts.map +1 -1
- package/dist/esm/components/_internal/shell-resizable.js +1 -1
- package/dist/esm/components/_internal/shell-sidebar.d.ts.map +1 -1
- package/dist/esm/components/_internal/shell-sidebar.js +1 -1
- package/dist/esm/components/accordion.js +1 -1
- package/dist/esm/components/alert-dialog.js +1 -1
- package/dist/esm/components/avatar.js +1 -1
- package/dist/esm/components/button.js +1 -1
- package/dist/esm/components/card.js +1 -1
- package/dist/esm/components/chatbar.js +1 -1
- package/dist/esm/components/checkbox-group.js +1 -1
- package/dist/esm/components/checkbox.js +1 -1
- package/dist/esm/components/chip.js +1 -1
- package/dist/esm/components/combobox.js +1 -1
- package/dist/esm/components/context-menu.js +1 -1
- package/dist/esm/components/dialog.js +1 -1
- package/dist/esm/components/dropdown-menu.js +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/message-scroller.js +1 -1
- package/dist/esm/components/navbar.js +1 -1
- package/dist/esm/components/notice.js +1 -1
- package/dist/esm/components/popover.js +1 -1
- package/dist/esm/components/radio-group.js +1 -1
- package/dist/esm/components/radio.js +1 -1
- package/dist/esm/components/segmented-control.js +1 -1
- package/dist/esm/components/select.js +1 -1
- package/dist/esm/components/sheet.js +1 -1
- package/dist/esm/components/shell.js +1 -1
- package/dist/esm/components/sidebar.d.ts.map +1 -1
- package/dist/esm/components/sidebar.js +1 -1
- package/dist/esm/components/slider.js +1 -1
- package/dist/esm/components/switch.js +1 -1
- package/dist/esm/components/table.js +1 -1
- package/dist/esm/components/tabs.js +1 -1
- package/dist/esm/components/text-area.js +1 -1
- package/dist/esm/components/text-field.js +1 -1
- package/dist/esm/components/theme.js +1 -1
- package/dist/esm/components/toggle.js +1 -1
- package/dist/esm/components/toolbar.d.ts.map +1 -1
- package/dist/esm/components/toolbar.js +1 -1
- package/dist/esm/components/tooltip.js +1 -1
- package/dist/esm/helpers/index.d.ts +1 -0
- package/dist/esm/helpers/index.d.ts.map +1 -1
- package/dist/esm/helpers/index.js +1 -1
- package/dist/esm/helpers/index.js.map +4 -4
- package/dist/esm/helpers/theme-size.d.ts +8 -30
- package/dist/esm/helpers/theme-size.d.ts.map +1 -1
- package/dist/esm/helpers/theme-size.js +1 -1
- package/dist/esm/hooks/theme-size.d.ts +32 -0
- package/dist/esm/hooks/theme-size.d.ts.map +1 -0
- package/dist/esm/hooks/theme-size.js +3 -0
- package/dist/esm/hooks/theme-size.js.map +7 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/props/font-family.prop.js +1 -1
- package/dist/esm/props/font-family.prop.js.map +4 -4
- package/dist/esm/props/index.js +1 -1
- package/dist/esm/props/index.js.map +4 -4
- package/package.json +1 -1
- package/src/components/_internal/base-button.tsx +56 -42
- package/src/components/_internal/shell-inspector.tsx +3 -1
- package/src/components/_internal/shell-resizable.tsx +13 -0
- package/src/components/_internal/shell-sidebar.tsx +3 -1
- package/src/components/accordion.tsx +1 -1
- package/src/components/alert-dialog.tsx +1 -1
- package/src/components/avatar.tsx +1 -1
- package/src/components/card.tsx +1 -1
- package/src/components/chatbar.tsx +1 -1
- package/src/components/checkbox-group.tsx +1 -1
- package/src/components/checkbox.tsx +1 -1
- package/src/components/combobox.tsx +1 -1
- package/src/components/context-menu.tsx +1 -1
- package/src/components/dialog.tsx +1 -1
- package/src/components/dropdown-menu.tsx +1 -1
- package/src/components/navbar.tsx +1 -1
- package/src/components/notice.tsx +1 -1
- package/src/components/popover.css +4 -2
- package/src/components/popover.tsx +1 -1
- package/src/components/radio-group.tsx +1 -1
- package/src/components/radio.tsx +1 -1
- package/src/components/segmented-control.tsx +1 -1
- package/src/components/select.tsx +1 -1
- package/src/components/sheet.css +4 -2
- package/src/components/sheet.tsx +1 -1
- package/src/components/shell.css +7 -2
- package/src/components/shell.tsx +1 -1
- package/src/components/sidebar.css +10 -0
- package/src/components/sidebar.tsx +16 -1
- package/src/components/slider.tsx +1 -1
- package/src/components/switch.tsx +1 -1
- package/src/components/table.tsx +1 -1
- package/src/components/tabs.tsx +1 -1
- package/src/components/text-area.tsx +1 -1
- package/src/components/text-field.tsx +1 -1
- package/src/components/theme.tsx +1 -1
- package/src/components/toolbar.tsx +17 -8
- package/src/helpers/index.ts +3 -0
- package/src/helpers/theme-size.ts +8 -46
- package/src/hooks/theme-size.ts +50 -0
- package/src/styles/tokens/color.css +3 -0
- package/styles.css +21 -3
- package/tokens/base.css +2 -0
- package/tokens.css +2 -0
- package/dist/esm/chunk-2EXOL2BR.js.map +0 -7
- package/dist/esm/chunk-2IUGM657.js +0 -3
- package/dist/esm/chunk-2IUGM657.js.map +0 -7
- package/dist/esm/chunk-2XZ7477Y.js.map +0 -7
- package/dist/esm/chunk-3WZLXGUE.js +0 -3
- package/dist/esm/chunk-3WZLXGUE.js.map +0 -7
- package/dist/esm/chunk-3YLYGKFB.js +0 -2
- package/dist/esm/chunk-3YLYGKFB.js.map +0 -7
- package/dist/esm/chunk-45O3JZWQ.js.map +0 -7
- package/dist/esm/chunk-4ABQ6CDI.js.map +0 -7
- package/dist/esm/chunk-54HUG34P.js.map +0 -7
- package/dist/esm/chunk-7IHBNDCE.js.map +0 -7
- package/dist/esm/chunk-7J7RPEPB.js.map +0 -7
- package/dist/esm/chunk-A7QRPXXB.js.map +0 -7
- package/dist/esm/chunk-AG2YETE6.js.map +0 -7
- package/dist/esm/chunk-AOBY2OUZ.js.map +0 -7
- package/dist/esm/chunk-CRCYUJMK.js.map +0 -7
- package/dist/esm/chunk-DI7RUMLO.js +0 -3
- package/dist/esm/chunk-DI7RUMLO.js.map +0 -7
- package/dist/esm/chunk-E4EMG3RC.js.map +0 -7
- package/dist/esm/chunk-ENAW44VE.js.map +0 -7
- package/dist/esm/chunk-EVCQ6TG5.js +0 -3
- package/dist/esm/chunk-EVCQ6TG5.js.map +0 -7
- package/dist/esm/chunk-G32GSPNO.js +0 -3
- package/dist/esm/chunk-G32GSPNO.js.map +0 -7
- package/dist/esm/chunk-GPQSC6GL.js.map +0 -7
- package/dist/esm/chunk-GZ333J7L.js.map +0 -7
- package/dist/esm/chunk-JIF77MRB.js +0 -3
- package/dist/esm/chunk-JIF77MRB.js.map +0 -7
- package/dist/esm/chunk-JZVLP2VF.js.map +0 -7
- package/dist/esm/chunk-KNBSG2WA.js.map +0 -7
- package/dist/esm/chunk-LB2HB4NG.js +0 -3
- package/dist/esm/chunk-LB2HB4NG.js.map +0 -7
- package/dist/esm/chunk-LCG3JZ3C.js.map +0 -7
- package/dist/esm/chunk-N53NJCEM.js.map +0 -7
- package/dist/esm/chunk-NMQGDBLD.js.map +0 -7
- package/dist/esm/chunk-PF67GJ5D.js.map +0 -7
- package/dist/esm/chunk-UFJGZUKK.js.map +0 -7
- package/dist/esm/chunk-UUQGOQ5H.js.map +0 -7
- package/dist/esm/chunk-VCV7RACK.js +0 -2
- package/dist/esm/chunk-VCV7RACK.js.map +0 -7
- package/dist/esm/chunk-X272YV2E.js.map +0 -7
- package/dist/esm/chunk-YIKLO2XL.js.map +0 -7
- package/dist/esm/chunk-YNCI5PY6.js.map +0 -7
- package/dist/esm/chunk-YVZTQA2L.js.map +0 -7
- /package/dist/esm/{chunk-UZAS4PYM.js.map → chunk-5TJH35TF.js.map} +0 -0
- /package/dist/esm/{chunk-4Q5PUIDJ.js.map → chunk-6RJQ5LLP.js.map} +0 -0
- /package/dist/esm/{chunk-IQ2RMFOM.js.map → chunk-CQG4U5BR.js.map} +0 -0
- /package/dist/esm/{chunk-PPQ7URZL.js.map → chunk-R4PGFURL.js.map} +0 -0
- /package/dist/esm/{chunk-3223MHQK.js.map → chunk-WJ4H2O2G.js.map} +0 -0
- /package/dist/esm/{chunk-BUZGRMDD.js.map → chunk-Y2BTPKK6.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
var o=["sans","mono","serif"],e={font:{type:"enum",className:"kui-r-ff",values:o}};export{e as fontFamilyPropDef};
|
|
2
2
|
//# sourceMappingURL=font-family.prop.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": [],
|
|
4
|
-
"sourcesContent": [],
|
|
5
|
-
"mappings": "",
|
|
6
|
-
"names": []
|
|
3
|
+
"sources": ["../../../src/props/font-family.prop.ts"],
|
|
4
|
+
"sourcesContent": ["import type { PropDef } from './prop-def.js';\n\nconst fontFamilies = ['sans', 'mono', 'serif'] as const;\n\nconst fontFamilyPropDef = {\n font: {\n type: 'enum',\n className: 'kui-r-ff',\n values: fontFamilies,\n },\n} satisfies {\n font: PropDef<(typeof fontFamilies)[number]>;\n};\n\nexport { fontFamilyPropDef };\n"],
|
|
5
|
+
"mappings": "AAEA,IAAMA,EAAe,CAAC,OAAQ,OAAQ,OAAO,EAEvCC,EAAoB,CACxB,KAAM,CACJ,KAAM,OACN,UAAW,WACX,OAAQD,CACV,CACF",
|
|
6
|
+
"names": ["fontFamilies", "fontFamilyPropDef"]
|
|
7
7
|
}
|
package/dist/esm/props/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as h,b as r}from"../chunk-KRJTW535.js";import{a as uo}from"../chunk-677CX2QF.js";import{a as y}from"../chunk-WTCZAUFY.js";import{a as p}from"../chunk-SBRPXQWH.js";import{a}from"../chunk-SJXV4BWZ.js";import{a as i}from"../chunk-N6KH2EOU.js";import{a as d}from"../chunk-VCV7RACK.js";import{a as P}from"../chunk-FJLYSZV3.js";import{a as fo}from"../chunk-IZXML75Y.js";import{a as t}from"../chunk-EKTVL6SS.js";import{a as D}from"../chunk-NUVUXNHF.js";import{a as m}from"../chunk-KEWNXANF.js";import{a as u}from"../chunk-P7VSZYG3.js";import{a as e}from"../chunk-NZJGC6ZW.js";import{a as l,b as x,c as o,d as c,e as f}from"../chunk-CUNKWFKA.js";import{a as no,b as n}from"../chunk-VS2ZWRGO.js";import{a as io}from"../chunk-YLDV2HKZ.js";import{a as po,b as ao}from"../chunk-WRWNN2NW.js";var R=["1","2","3","4"],z={...e,align:{type:"enum",className:"kui-r-align",values:["start","center"],default:"center"},size:{type:"enum",className:"kui-r-size",values:R,default:"2",responsive:!0},width:t.width,minWidth:t.minWidth,maxWidth:t.maxWidth,...D};var yo={...z};var W=["1","2","3","4","5","6","7","8","9"],S=["raised","solid","soft","surface","outline"],G=["cover","contain","fill","scale-down","none"],ho={...e,size:{type:"enum",className:"kui-r-size",values:W,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:S,default:"raised"},...f,...r,fallback:{type:"ReactNode",required:!0},status:{type:"enum",values:l,default:void 0},statusLabel:{type:"string",default:void 0},badge:{type:"ReactNode",default:void 0},fit:{type:"enum",className:"kui-r-fit",values:G,default:"cover",responsive:!0}};var F=["1","2","3","4","5","6","7","8","9"],Mo={...e,size:{type:"enum",className:"kui-r-size",values:F,responsive:!0},...i,...o,...n,...a,...p};var I=["div","span"],O=["none","inline","inline-block","block","contents"],Wo={as:{type:"enum",values:I,default:"div"},...e,display:{type:"enum",className:"kui-r-display",values:O,responsive:!0}};var A=["1","2","3","4"],B=["raised","solid","soft","surface","outline","ghost"],q={...e,size:{type:"enum",className:"kui-r-size",values:A,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:B,default:"solid"},...c,...r,loading:{type:"boolean",className:"kui-loading",default:!1},fullWidth:{type:"boolean",className:"kui-full-width",default:!1}};var L=["1","2","3","4"],J=["raised","surface","outline","ghost","soft"],Lo={...e,size:{type:"enum",className:"kui-r-size",values:L,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:J,default:"raised"}};var $=["1","2","3","4"],E=["raised","solid","soft","outline","surface"],b={size:{type:"enum",className:"kui-r-size",values:$,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:E,default:"raised"},...o};var Qo={...e,...b};var H=["1","2","3","4"],K=["raised","solid","soft","surface","outline","ghost"],or={...e,size:{type:"enum",className:"kui-r-size",values:H,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:K,default:"raised"},...f,...r};var Q=["1","2","3","4","5","6","7","8","9"],U=["solid","soft","outline","ghost"],fr={...e,size:{type:"enum",className:"kui-r-size",values:Q,responsive:!0},variant:{type:"enum",className:"kui-variant",values:U,default:"soft"},...i,...f,...n,...a,...p};var X=["1","2","3","4"],k=["cascade","drill-down"],w={size:{type:"enum",className:"kui-r-size",values:X,default:"2",responsive:!0},...o},Y={...w,submenuBehavior:{type:"enum",values:k,default:"cascade",responsive:!0}},v=w,C={...e,...o,shortcut:{type:"string"}},N={...o,shortcut:{type:"string"}},j={...o};var Z=["div","span"],_=["none","inline-flex","flex"],ee=["row","column","row-reverse","column-reverse"],oe=["start","center","end","baseline","stretch"],re=["start","center","end","between"],se=["nowrap","wrap","wrap-reverse"],V={as:{type:"enum",values:Z,default:"div"},...e,display:{type:"enum",className:"kui-r-display",values:_,responsive:!0},direction:{type:"enum",className:"kui-r-fd",values:ee,responsive:!0},align:{type:"enum",className:"kui-r-ai",values:oe,responsive:!0},justify:{type:"enum",className:"kui-r-jc",values:re,parseValue:te,responsive:!0},wrap:{type:"enum",className:"kui-r-fw",values:se,responsive:!0},...P};function te(s){return s==="between"?"space-between":s}var pe=["div","span"],ae=["none","inline-grid","grid"],ie=["1","2","3","4","5","6","7","8","9"],ne=["1","2","3","4","5","6","7","8","9"],fe=["row","column","dense","row-dense","column-dense"],ue=["start","center","end","baseline","stretch"],me=["start","center","end","between"],le=["start","center","end","baseline","between","around","evenly","stretch"],ce=["start","center","end","baseline","stretch"],de={as:{type:"enum",values:pe,default:"div"},...e,display:{type:"enum",className:"kui-r-display",values:ae,responsive:!0},areas:{type:"string",className:"kui-r-gta",customProperties:["--grid-template-areas"],responsive:!0},columns:{type:"enum | string",className:"kui-r-gtc",customProperties:["--grid-template-columns"],values:ie,parseValue:M,responsive:!0},rows:{type:"enum | string",className:"kui-r-gtr",customProperties:["--grid-template-rows"],values:ne,parseValue:M,responsive:!0},flow:{type:"enum",className:"kui-r-gaf",values:fe,responsive:!0},align:{type:"enum",className:"kui-r-ai",values:ue,responsive:!0},justify:{type:"enum",className:"kui-r-jc",values:me,parseValue:Pe,responsive:!0},alignContent:{type:"enum",className:"kui-r-ac",values:le,parseValue:De,responsive:!0},justifyItems:{type:"enum",className:"kui-r-ji",values:ce,responsive:!0},...P};function M(s){return de.columns.values.includes(s)?s:s?.match(/^\d+$/)?`repeat(${s}, minmax(0, 1fr))`:s}function Pe(s){return s==="between"?"space-between":s}function De(s){return s==="between"?"space-between":s==="around"?"space-around":s==="evenly"?"space-evenly":s}var ye=["h1","h2","h3","h4","h5","h6"],be=["1","2","3","4","5","6","7","8","9"],Wr={as:{type:"enum",values:ye,default:"h2"},...e,size:{type:"enum",className:"kui-r-size",values:be,default:"6",responsive:!0},...d,...i,...y,...m,...a,...p,...o,...n};var ve=["1","2","3","4","5","6","7","8","9"],ge=["raised","soft"],Fr={...e,size:{type:"enum",className:"kui-r-size",values:ve,responsive:!0},variant:{type:"enum",className:"kui-variant",values:ge,default:"raised"}};var xe=["1","2","3","4","5","6","7","8","9"],he=["auto","always","hover","none"],$r={...e,size:{type:"enum",className:"kui-r-size",values:xe,responsive:!0},...i,...m,...a,...p,underline:{type:"enum",className:"kui-underline",values:he,default:"auto"},...c};var ze=["1","2","3","4"],Ur={...e,size:{type:"enum",className:"kui-r-size",values:ze,default:"2",responsive:!0},width:t.width,minWidth:t.minWidth,maxWidth:{...t.maxWidth,default:"480px"},...D};var ke=["surface","soft","outline"],_r={variant:{type:"enum",className:"kui-variant",values:ke,default:"surface"},...o,...r,duration:{type:"string"}};var we=["1","2","3","4"],Ce=["raised","solid","soft","outline","surface"],g={size:{type:"enum",className:"kui-r-size",values:we,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:Ce,default:"raised"},...o};var Ne=["1","2","3","4"],je=g.variant.values,ns={...e,size:{type:"enum",className:"kui-r-size",values:Ne,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:je,default:"raised"},...o};var Ve=["vertical","horizontal","both"],ls={...e,...r,scrollbars:{type:"enum",values:Ve,default:"both"},fade:{type:"boolean",default:!1}};var Me=["1","2","3","4"],Te=["horizontal","vertical"],Ps={disabled:{type:"boolean",default:!1},size:{type:"enum",className:"kui-r-size",values:Me,default:"2",responsive:!0},orientation:{type:"enum",className:"kui-r-orientation",values:Te,default:"horizontal",responsive:!0},...r};var Re=["1","2","3","4"],vs={size:{type:"enum",className:"kui-r-size",values:Re,default:"2",responsive:!0}},We=["raised","surface","soft","outline","ghost"],gs={variant:{type:"enum",className:"kui-variant",values:We,default:"raised"},error:{type:"boolean"},loading:{type:"boolean"},disabled:{type:"boolean"},readOnly:{type:"boolean"},...o,...r,placeholder:{type:"ReactNode"}},xs={...o};var Se=["horizontal","vertical"],ks={orientation:{type:"enum",className:"kui-r-orientation",values:Se,default:"horizontal",responsive:!0},color:{...o.color,default:"gray"},decorative:{type:"boolean",default:!1},light:{type:"boolean",className:"kui-light",default:!1}};var Ge=["1","2","3","4"],Fe=["surface","soft","outline"],js={size:{type:"enum",className:"kui-r-size",values:Ge,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:Fe,default:"surface"},showTickLabels:{type:"boolean"},snapToTicks:{type:"boolean"},...o,...r};var Ms={loading:{type:"boolean",default:!0}};var Ie=["1","2","3","4"],Oe=["surface","soft","outline"],Ws={size:{type:"enum",className:"kui-r-size",values:Ie,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:Oe,default:"surface"},...o};var Ae=["1","2","3","4"],Be=["surface","ghost"],qe=["auto","fixed"],Is={size:{type:"enum",className:"kui-r-size",values:Ae,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:Be,default:"ghost"},layout:{type:"enum",className:"kui-r-tl",values:qe,responsive:!0}},Le=["start","center","end","baseline"],Os={align:{type:"enum",className:"kui-r-va",values:Le,parseValue:Je,responsive:!0}};function Je(s){return{baseline:"baseline",start:"top",center:"middle",end:"bottom"}[s]}var $e=["start","center","end"],As={justify:{type:"enum",className:"kui-r-ta",values:$e,responsive:!0},...t,...u};var Ee=["1","2","3","4"],He=["nowrap","wrap","wrap-reverse"],Ke=["start","center","end"],Qe={size:{type:"enum",className:"kui-r-size",values:Ee,default:"2",responsive:!0},wrap:{type:"enum",className:"kui-r-fw",values:He,responsive:!0},justify:{type:"enum",className:"kui-r-jc",values:Ke,responsive:!0},...o};var $s={...e},Es={...e};var Ue=["1","2","3","4"],Xe=["raised","surface","soft","outline","ghost"],Ye=["none","vertical","horizontal","both"],Xs={size:{type:"enum",className:"kui-r-size",values:Ue,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:Xe,default:"raised"},resize:{type:"enum",className:"kui-r-resize",values:Ye,responsive:!0},error:{type:"boolean",default:!1},errorMessage:{type:"string",default:void 0},required:{type:"boolean",default:!1},"aria-describedby":{type:"string",default:void 0},"aria-labelledby":{type:"string",default:void 0},...o,...r};var Ze=["1","2","3","4"],_e=["raised","surface","soft","ghost","outline"],rt={size:{type:"enum",className:"kui-r-size",values:Ze,default:"2",responsive:!0},variant:{type:"enum",className:"kui-variant",values:_e,default:"raised"},error:{type:"boolean",default:!1},errorMessage:{type:"string",default:void 0},required:{type:"boolean",default:!1},"aria-describedby":{type:"string",default:void 0},"aria-labelledby":{type:"string",default:void 0},...o,...r},eo=["left","right"],st={side:{type:"enum",values:eo},...o,gap:V.gap,px:u.px,pl:u.pl,pr:u.pr};var oo=["span","div","label","p"],ro=["1","2","3","4","5","6","7","8","9"],dt={as:{type:"enum",values:oo,default:"span"},...e,size:{type:"enum",className:"kui-r-size",values:ro,responsive:!0},...d,...i,...y,...m,...a,...p,...o,...n};var so=["inherit","light","dark"],T=["sans","mono","serif"],to=["1","2","3","4"],vt={...e,hasBackground:{type:"boolean",default:!0},appearance:{type:"enum",values:so,default:"inherit"},accentColor:{type:"enum",values:l,default:"gray"},grayColor:{type:"enum",values:x,default:"gray"},radius:{type:"enum",values:h,default:"full"},fontFamily:{type:"enum",values:T,default:"sans"},headingFontFamily:{type:"enum",values:T},size:{type:"enum",values:to,default:"2"}};var ht={content:{type:"ReactNode",required:!0},width:t.width,minWidth:t.minWidth,maxWidth:{...t.maxWidth,default:"360px"}};export{c as accentColorPropDef,l as accentColors,yo as alertDialogContentPropDefs,e as asChildPropDef,ho as avatarPropDefs,Mo as blockquotePropDefs,Wo as boxPropDefs,ao as breakpointSet,po as breakpoints,q as buttonPropDefs,Lo as cardPropDefs,Qo as checkboxGroupRootPropDefs,b as checkboxPropDefs,or as chipPropDefs,fr as codePropDefs,o as colorPropDef,N as contextMenuCheckboxItemPropDefs,v as contextMenuContentPropDefs,C as contextMenuItemPropDefs,j as contextMenuRadioItemPropDefs,v as contextMenuSubContentPropDefs,z as dialogContentPropDefs,N as dropdownMenuCheckboxItemPropDefs,Y as dropdownMenuContentPropDefs,C as dropdownMenuItemPropDefs,j as dropdownMenuRadioItemPropDefs,v as dropdownMenuSubContentPropDefs,no as emphases,n as emphasisPropDef,V as flexPropDefs,P as gapPropDefs,f as grayAccentColorPropDef,x as grayColors,de as gridPropDefs,Wr as headingPropDefs,D as heightPropDefs,Fr as kbdPropDefs,fo as layoutPropDefs,m as leadingTrimPropDef,$r as linkPropDefs,io as marginPropDefs,u as paddingPropDefs,Ur as popoverContentPropDefs,_r as progressPropDefs,h as radii,ns as radioGroupRootPropDefs,g as radioPropDefs,r as radiusPropDef,ls as scrollAreaPropDefs,Ps as segmentedControlRootPropDefs,xs as selectContentPropDefs,vs as selectRootPropDefs,gs as selectTriggerPropDefs,ks as separatorPropDefs,uo as shadowPropDefs,js as sliderPropDefs,Ms as spinnerPropDefs,k as submenuBehaviors,Ws as switchPropDefs,As as tableCellPropDefs,Is as tableRootPropDefs,Os as tableRowPropDefs,Es as tabsContentPropDefs,Qe as tabsListPropDefs,$s as tabsRootPropDefs,y as textAlignPropDef,Xs as textAreaPropDefs,rt as textFieldRootPropDefs,st as textFieldSlotPropDefs,dt as textPropDefs,p as textWrapPropDef,vt as themePropDefs,ht as tooltipPropDefs,a as truncatePropDef,i as weightPropDef,t as widthPropDefs};
|
|
1
|
+
import{a as l,b as n}from"../chunk-KRJTW535.js";import{a as q}from"../chunk-677CX2QF.js";import{a as s}from"../chunk-WTCZAUFY.js";import{a as u}from"../chunk-SBRPXQWH.js";import{a as v}from"../chunk-SJXV4BWZ.js";import{a as w}from"../chunk-N6KH2EOU.js";import{a as d}from"../chunk-FJLYSZV3.js";import{a as j}from"../chunk-IZXML75Y.js";import{a as i}from"../chunk-EKTVL6SS.js";import{a as g}from"../chunk-NUVUXNHF.js";import{a as k}from"../chunk-KEWNXANF.js";import{a as h}from"../chunk-P7VSZYG3.js";import{a as f}from"../chunk-NZJGC6ZW.js";import{a as m,b as p,c as t,d as x,e as a}from"../chunk-CUNKWFKA.js";import{a as b,b as c}from"../chunk-VS2ZWRGO.js";import{a as e}from"../chunk-YLDV2HKZ.js";import{a as o,b as r}from"../chunk-WRWNN2NW.js";export*from"../components/alert-dialog.props.js";export*from"../components/avatar.props.js";export*from"../components/blockquote.props.js";export*from"../components/box.props.js";export*from"../components/button.props.js";export*from"../components/card.props.js";export*from"../components/checkbox-group.props.js";export*from"../components/checkbox.props.js";export*from"../components/chip.props.js";export*from"../components/code.props.js";export*from"../components/context-menu.props.js";export*from"../components/dialog.props.js";export*from"../components/dropdown-menu.props.js";export*from"../components/flex.props.js";export*from"../components/grid.props.js";export*from"../components/heading.props.js";export*from"../components/kbd.props.js";export*from"../components/link.props.js";export*from"../components/popover.props.js";export*from"../components/progress.props.js";export*from"../components/radio.props.js";export*from"../components/radio-group.props.js";export*from"../components/scroll-area.props.js";export*from"../components/segmented-control.props.js";export*from"../components/select.props.js";export*from"../components/separator.props.js";export*from"../components/slider.props.js";export*from"../components/spinner.props.js";export*from"../components/switch.props.js";export*from"../components/table.props.js";export*from"../components/tabs.props.js";export*from"../components/text-area.props.js";export*from"../components/text-field.props.js";export*from"../components/text.props.js";export*from"../components/theme.props.js";export*from"../components/tooltip.props.js";export{x as accentColorPropDef,m as accentColors,f as asChildPropDef,r as breakpointSet,o as breakpoints,t as colorPropDef,b as emphases,c as emphasisPropDef,d as gapPropDefs,a as grayAccentColorPropDef,p as grayColors,g as heightPropDefs,j as layoutPropDefs,k as leadingTrimPropDef,e as marginPropDefs,h as paddingPropDefs,l as radii,n as radiusPropDef,q as shadowPropDefs,s as textAlignPropDef,u as textWrapPropDef,v as truncatePropDef,w as weightPropDef,i as widthPropDefs};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../src/
|
|
4
|
-
"sourcesContent": ["import { asChildPropDef } from '../props/as-child.prop.js';\nimport { widthPropDefs } from '../props/width.props.js';\nimport { heightPropDefs } from '../props/height.props.js';\n\nimport type { PropDef, GetPropDefTypes } from '../props/prop-def.js';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst alignValues = ['start', 'center'] as const;\nconst contentSizes = ['1', '2', '3', '4'] as const;\n\nconst dialogContentPropDefs = {\n ...asChildPropDef,\n align: {\n type: 'enum',\n className: 'kui-r-align',\n values: ['start', 'center'],\n default: 'center',\n },\n size: {\n type: 'enum',\n className: 'kui-r-size',\n values: contentSizes,\n default: '2',\n responsive: true,\n },\n width: widthPropDefs.width,\n minWidth: widthPropDefs.minWidth,\n // No default: the size's --overlay-w is the max width until a maxWidth is given.\n maxWidth: widthPropDefs.maxWidth,\n ...heightPropDefs,\n} satisfies {\n align: PropDef<(typeof alignValues)[number]>;\n size: PropDef<(typeof contentSizes)[number]>;\n width: PropDef<string>;\n minWidth: PropDef<string>;\n maxWidth: PropDef<string>;\n};\n\ntype DialogContentOwnProps = GetPropDefTypes<\n typeof dialogContentPropDefs & typeof asChildPropDef & typeof widthPropDefs\n>;\n\nexport { dialogContentPropDefs };\nexport type { DialogContentOwnProps };\n", "import { dialogContentPropDefs } from './dialog.props.js';\nimport type { PropDef, GetPropDefTypes } from '../props/prop-def.js';\n\nconst alertDialogContentPropDefs = {\n ...dialogContentPropDefs,\n} satisfies {\n align: PropDef<'start' | 'center'>;\n size: PropDef<'1' | '2' | '3' | '4'>;\n width: PropDef<string>;\n minWidth: PropDef<string>;\n maxWidth: PropDef<string>;\n};\n\ntype AlertDialogContentOwnProps = GetPropDefTypes<typeof alertDialogContentPropDefs>;\n\nexport { alertDialogContentPropDefs };\nexport type { AlertDialogContentOwnProps };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { grayAccentColorPropDef, accentColors } from '../props/color.prop.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const;\nconst variants = ['raised', 'solid', 'soft', 'surface', 'outline'] as const;\nconst objectFitValues = ['cover', 'contain', 'fill', 'scale-down', 'none'] as const;\n\nconst avatarPropDefs = {\n ...asChildPropDef,\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'raised' },\n ...grayAccentColorPropDef,\n ...radiusPropDef,\n fallback: { type: 'ReactNode', required: true },\n /**\n * Status indicator color. Renders a small colored dot at the bottom-right corner.\n * Cannot be used together with `badge`.\n */\n status: { type: 'enum', values: accentColors, default: undefined },\n /**\n * The words the status dot stands for, such as \"Online\". A screen reader reads them with the\n * avatar. Without it the dot is hidden from screen readers.\n */\n statusLabel: { type: 'string', default: undefined },\n /**\n * Custom badge content. Renders at the bottom-right corner.\n * Cannot be used together with `status`.\n */\n badge: { type: 'ReactNode', default: undefined },\n /**\n * Controls how the avatar image should be resized to fit its container.\n * Defaults to 'cover' which crops the image to fill the avatar.\n * Use 'contain' to show the full image without cropping.\n */\n fit: { type: 'enum', className: 'kui-r-fit', values: objectFitValues, default: 'cover', responsive: true },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n fallback: PropDef<React.ReactNode>;\n status: PropDef<(typeof accentColors)[number] | undefined>;\n statusLabel: PropDef<string | undefined>;\n badge: PropDef<React.ReactNode>;\n fit: PropDef<(typeof objectFitValues)[number]>;\n};\n\nexport { avatarPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { colorPropDef } from '../props/color.prop.js';\nimport { emphasisPropDef } from '../props/emphasis.prop.js';\nimport { textWrapPropDef } from '../props/text-wrap.prop.js';\nimport { truncatePropDef } from '../props/truncate.prop.js';\nimport { weightPropDef } from '../props/weight.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const;\n\nconst blockquotePropDefs = {\n ...asChildPropDef,\n size: {\n type: 'enum',\n className: 'kui-r-size',\n values: sizes,\n responsive: true,\n },\n ...weightPropDef,\n ...colorPropDef,\n ...emphasisPropDef,\n ...truncatePropDef,\n ...textWrapPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n};\n\nexport { blockquotePropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\n\nimport type { PropDef, GetPropDefTypes } from '../props/prop-def.js';\n\nconst as = ['div', 'span'] as const;\nconst displayValues = ['none', 'inline', 'inline-block', 'block', 'contents'] as const;\n\nconst boxPropDefs = {\n /**\n * Controls whether to render **div** or **span**\n *\n * @example\n * as=\"div\"\n * as=\"span\"\n */\n as: { type: 'enum', values: as, default: 'div' },\n ...asChildPropDef,\n /**\n * Sets the CSS **display** property.\n * Supports a subset of the corresponding CSS values and responsive objects.\n *\n * @example\n * display=\"inline-block\"\n * display={{ sm: 'none', lg: 'block' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/display\n */\n display: {\n type: 'enum',\n className: 'kui-r-display',\n values: displayValues,\n responsive: true,\n },\n} satisfies {\n as: PropDef<(typeof as)[number]>;\n display: PropDef<(typeof displayValues)[number]>;\n};\n\n// Use all of the imported prop defs to ensure that JSDoc works\ntype BoxOwnProps = GetPropDefTypes<typeof boxPropDefs & typeof asChildPropDef>;\n\nexport { boxPropDefs };\nexport type { BoxOwnProps };\n", "import { asChildPropDef } from '../../props/as-child.prop.js';\nimport { accentColorPropDef } from '../../props/color.prop.js';\nimport { radiusPropDef } from '../../props/radius.prop.js';\n\nimport type { PropDef } from '../../props/prop-def.js';\n\n/**\n * Available button sizes for responsive design\n * Size 1: 28px - Compact for toolbars and dense interfaces\n * Size 2: 32px - Standard for most interface contexts\n * Size 3: 40px - Large for important actions and mobile touch targets\n * Size 4: 48px - Extra large for hero sections and maximum impact\n */\nconst sizes = ['1', '2', '3', '4'] as const;\n\n/**\n * Available button variants for different visual contexts\n * - raised: lifted off its ground, with an edge and a shadow\n * - solid: Primary actions that should be noticed first (the default)\n * - soft: Content-heavy interfaces, natural integration\n * - surface: Elevated appearance with subtle depth\n * - outline: Secondary actions that support primary actions\n * - ghost: Utility functions that don't compete for attention\n */\nconst variants = ['raised', 'solid', 'soft', 'surface', 'outline', 'ghost'] as const;\n\n/**\n * Base button prop definitions that define the component's API\n * \n * These props are used by all button variants (Button and Toggle)\n * to ensure consistent behavior and styling across the design system.\n * \n * Key features:\n * - Responsive sizing with mobile-first approach\n * - Six visual variants for different interface contexts\n * - Comprehensive color system with semantic meanings\n * - Loading states with automatic accessibility\n * - Polymorphic rendering support via asChild\n * \n * @example\n * ```tsx\n * // Basic button with default props\n * <BaseButton>Click me</BaseButton>\n * \n * // Button with custom size and variant\n * <BaseButton size=\"3\" variant=\"solid\">Primary Action</BaseButton>\n * \n * // Button with loading state\n * <BaseButton loading>Processing...</BaseButton>\n * ```\n */\nconst baseButtonPropDefs = {\n ...asChildPropDef,\n /**\n * Button size for responsive design and interface density\n * Supports responsive objects: { initial: '1', sm: '2', md: '3', lg: '4' }\n */\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n /**\n * Visual variant that determines the button's appearance and context\n */\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'solid' },\n ...accentColorPropDef,\n ...radiusPropDef,\n /**\n * Loading state that shows a spinner and disables interaction\n * Automatically sets disabled=true and provides accessibility announcements\n */\n loading: { type: 'boolean', className: 'kui-loading', default: false },\n /**\n * Full width mode that expands the button to fill its container\n * Useful for mobile layouts and form submissions\n */\n fullWidth: { type: 'boolean', className: 'kui-full-width', default: false },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n loading: PropDef<boolean>;\n fullWidth: PropDef<boolean>;\n};\n\nexport { baseButtonPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['raised', 'surface', 'outline', 'ghost', 'soft'] as const;\n\nconst cardPropDefs = {\n ...asChildPropDef,\n /** Padding --surface-p-N and corner --radius-surface-N. Unset, it follows the Theme size. */\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'raised' },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n};\n\nexport { cardPropDefs };\n", "import { colorPropDef } from '../../props/color.prop.js';\n\nimport type { PropDef } from '../../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['raised', 'solid', 'soft', 'outline', 'surface'] as const;\n\nconst baseCheckboxPropDefs = {\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'raised' },\n ...colorPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n};\n\nexport { baseCheckboxPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { baseCheckboxPropDefs } from './_internal/base-checkbox.props.js';\n\nconst checkboxGroupRootPropDefs = {\n ...asChildPropDef,\n ...baseCheckboxPropDefs,\n};\n\nexport { checkboxGroupRootPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { grayAccentColorPropDef } from '../props/color.prop.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['raised', 'solid', 'soft', 'surface', 'outline', 'ghost'] as const;\n\nconst chipPropDefs = {\n ...asChildPropDef,\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'raised' },\n ...grayAccentColorPropDef,\n ...radiusPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n};\n\nexport { chipPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { grayAccentColorPropDef } from '../props/color.prop.js';\nimport { emphasisPropDef } from '../props/emphasis.prop.js';\nimport { textWrapPropDef } from '../props/text-wrap.prop.js';\nimport { truncatePropDef } from '../props/truncate.prop.js';\nimport { weightPropDef } from '../props/weight.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const;\nconst variants = ['solid', 'soft', 'outline', 'ghost'] as const;\n\nconst codePropDefs = {\n ...asChildPropDef,\n size: {\n type: 'enum',\n className: 'kui-r-size',\n values: sizes,\n responsive: true,\n },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'soft' },\n ...weightPropDef,\n ...grayAccentColorPropDef,\n ...emphasisPropDef,\n ...truncatePropDef,\n ...textWrapPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n};\n\nexport { codePropDefs };\n", "import { asChildPropDef } from '../../props/as-child.prop.js';\nimport { colorPropDef } from '../../props/color.prop.js';\n\nimport type { PropDef } from '../../props/prop-def.js';\n\nconst contentSizes = ['1', '2', '3', '4'] as const;\nconst submenuBehaviors = ['cascade', 'drill-down'] as const;\n\n// Base props shared between Content and SubContent\nconst baseMenuSharedPropDefs = {\n size: {\n type: 'enum',\n className: 'kui-r-size',\n values: contentSizes,\n default: '2',\n responsive: true,\n },\n ...colorPropDef,\n} satisfies {\n size: PropDef<(typeof contentSizes)[number]>;\n};\n\n// Content-specific props (includes submenuBehavior)\nconst baseMenuContentPropDefs = {\n ...baseMenuSharedPropDefs,\n /**\n * Controls how submenus behave.\n * - `cascade`: Default cascading behavior where submenus open to the side (portal-based)\n * - `drill-down`: Mobile-friendly behavior where submenus replace the content inline\n * Supports responsive values: `{ initial: 'drill-down', md: 'cascade' }`\n */\n submenuBehavior: {\n type: 'enum',\n values: submenuBehaviors,\n default: 'cascade',\n responsive: true,\n },\n} satisfies {\n size: PropDef<(typeof contentSizes)[number]>;\n submenuBehavior: PropDef<(typeof submenuBehaviors)[number]>;\n};\n\n// SubContent props (no submenuBehavior)\nconst baseMenuSubContentPropDefs = baseMenuSharedPropDefs;\n\nconst baseMenuItemPropDefs = {\n ...asChildPropDef,\n ...colorPropDef,\n shortcut: { type: 'string' },\n} satisfies {\n shortcut: PropDef<string>;\n};\n\nconst baseMenuCheckboxItemPropDefs = {\n ...colorPropDef,\n shortcut: { type: 'string' },\n} satisfies {\n shortcut: PropDef<string>;\n};\n\nconst baseMenuRadioItemPropDefs = {\n ...colorPropDef,\n};\n\nexport {\n baseMenuContentPropDefs,\n baseMenuSubContentPropDefs,\n baseMenuItemPropDefs,\n baseMenuCheckboxItemPropDefs,\n baseMenuRadioItemPropDefs,\n submenuBehaviors,\n};\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { gapPropDefs } from '../props/gap.props.js';\n\nimport type { PropDef, GetPropDefTypes } from '../props/prop-def.js';\n\nconst as = ['div', 'span'] as const;\nconst displayValues = ['none', 'inline-flex', 'flex'] as const;\nconst directionValues = ['row', 'column', 'row-reverse', 'column-reverse'] as const;\nconst alignValues = ['start', 'center', 'end', 'baseline', 'stretch'] as const;\nconst justifyValues = ['start', 'center', 'end', 'between'] as const;\nconst wrapValues = ['nowrap', 'wrap', 'wrap-reverse'] as const;\n\nconst flexPropDefs = {\n /**\n * Controls whether to render **div** or **span**\n *\n * @example\n * as=\"div\"\n * as=\"span\"\n */\n as: { type: 'enum', values: as, default: 'div' },\n ...asChildPropDef,\n /**\n * Sets the CSS **display** property.\n * Supports a subset of the corresponding CSS values and responsive objects.\n *\n * @example\n * display=\"inline-flex\"\n * display={{ sm: 'none', lg: 'flex' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/display\n */\n display: {\n type: 'enum',\n className: 'kui-r-display',\n values: displayValues,\n responsive: true,\n },\n /**\n * Sets the CSS **flex-direction** property.\n * Supports the corresponding CSS values and responsive objects.\n *\n * @example\n * direction=\"column\"\n * direction={{ sm: 'column', lg: 'row' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction\n */\n direction: {\n type: 'enum',\n className: 'kui-r-fd',\n values: directionValues,\n responsive: true,\n },\n /**\n * Sets the CSS **align-items** property.\n * Supports the corresponding CSS values and responsive objects.\n *\n * @example\n * align=\"center\"\n * align={{ sm: 'baseline', lg: 'center' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/align-items\n */\n align: {\n type: 'enum',\n className: 'kui-r-ai',\n values: alignValues,\n responsive: true,\n },\n /**\n * Sets the CSS **justify-content** property.\n * Supports a subset of the corresponding CSS values and responsive objects.\n *\n * @example\n * justify=\"between\"\n * justify={{ sm: 'start', lg: 'center' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content\n */\n justify: {\n type: 'enum',\n className: 'kui-r-jc',\n values: justifyValues,\n parseValue: parseJustifyValue,\n responsive: true,\n },\n /**\n * Sets the CSS **flex-wrap** property.\n * Supports the corresponding CSS values and responsive objects.\n *\n * @example\n * wrap=\"wrap\"\n * wrap={{ sm: 'wrap', lg: 'nowrap' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap\n */\n wrap: {\n type: 'enum',\n className: 'kui-r-fw',\n values: wrapValues,\n responsive: true,\n },\n ...gapPropDefs,\n} satisfies {\n as: PropDef<(typeof as)[number]>;\n display: PropDef<(typeof displayValues)[number]>;\n direction: PropDef<(typeof directionValues)[number]>;\n align: PropDef<(typeof alignValues)[number]>;\n justify: PropDef<(typeof justifyValues)[number]>;\n wrap: PropDef<(typeof wrapValues)[number]>;\n};\n\nfunction parseJustifyValue(value: string) {\n return value === 'between' ? 'space-between' : value;\n}\n\n// Use all of the imported prop defs to ensure that JSDoc works\ntype FlexOwnProps = GetPropDefTypes<\n typeof flexPropDefs & typeof gapPropDefs & typeof asChildPropDef\n>;\n\nexport { flexPropDefs };\nexport type { FlexOwnProps };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { gapPropDefs } from '../props/gap.props.js';\n\nimport type { PropDef, GetPropDefTypes } from '../props/prop-def.js';\n\nconst as = ['div', 'span'] as const;\nconst displayValues = ['none', 'inline-grid', 'grid'] as const;\nconst columnsValues = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const;\nconst rowsValues = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const;\nconst flowValues = ['row', 'column', 'dense', 'row-dense', 'column-dense'] as const;\nconst alignValues = ['start', 'center', 'end', 'baseline', 'stretch'] as const;\nconst justifyValues = ['start', 'center', 'end', 'between'] as const;\nconst alignContentValues = [\n 'start',\n 'center',\n 'end',\n 'baseline',\n 'between',\n 'around',\n 'evenly',\n 'stretch',\n] as const;\nconst justifyItemsValues = ['start', 'center', 'end', 'baseline', 'stretch'] as const;\n\nconst gridPropDefs = {\n /**\n * Controls whether to render **div** or **span**\n *\n * @example\n * as=\"div\"\n * as=\"span\"\n */\n as: { type: 'enum', values: as, default: 'div' },\n ...asChildPropDef,\n /**\n * Sets the CSS **display** property.\n * Supports a subset of the corresponding CSS values and responsive objects.\n *\n * @example\n * display=\"inline-grid\"\n * display={{ sm: 'none', lg: 'grid' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/display\n */\n display: {\n type: 'enum',\n className: 'kui-r-display',\n values: displayValues,\n responsive: true,\n },\n /**\n * Sets the CSS **grid-template** property.\n * Supports a subset of the corresponding CSS values and responsive objects.\n *\n * @example\n * template='\"header header\" \"sidebar content\"'\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas\n */\n areas: {\n type: 'string',\n className: 'kui-r-gta',\n customProperties: ['--grid-template-areas'],\n responsive: true,\n },\n /**\n * Sets the CSS **grid-template-columns** property.\n * Supports numeric string values, CSS strings and responsive objects.\n *\n * Use numeric string values to create grid columns of even size.\n *\n * @example\n * columns=\"3\"\n * columns=\"100px 1fr\"\n * columns={{ xs: '1', md: 'auto 1fr' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns\n */\n columns: {\n type: 'enum | string',\n className: 'kui-r-gtc',\n customProperties: ['--grid-template-columns'],\n values: columnsValues,\n parseValue: parseGridValue,\n responsive: true,\n },\n /**\n * Sets the CSS **grid-template-rows** property.\n * Supports numeric string values, CSS strings and responsive objects.\n *\n * Use numeric string values to create grid rows of even size.\n *\n * @example\n * rows=\"3\"\n * rows=\"100px 1fr\"\n * rows={{ xs: '1', md: 'auto 1fr' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows\n */\n rows: {\n type: 'enum | string',\n className: 'kui-r-gtr',\n customProperties: ['--grid-template-rows'],\n values: rowsValues,\n parseValue: parseGridValue,\n responsive: true,\n },\n /**\n * Sets the CSS **grid-auto-flow** property.\n * Supports the corresponding CSS values and responsive objects.\n *\n * @example\n * flow=\"column\"\n * flow={{ sm: 'column', lg: 'row' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow\n */\n flow: {\n type: 'enum',\n className: 'kui-r-gaf',\n values: flowValues,\n responsive: true,\n },\n /**\n * Sets the CSS **align-items** property.\n * Supports the corresponding CSS values and responsive objects.\n *\n * @example\n * align=\"center\"\n * align={{ sm: 'baseline', lg: 'center' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/align-items\n */\n align: {\n type: 'enum',\n className: 'kui-r-ai',\n values: alignValues,\n responsive: true,\n },\n /**\n * Sets the CSS **justify-content** property.\n * Supports a subset of the corresponding CSS values and responsive objects.\n *\n * @example\n * justify=\"between\"\n * justify={{ sm: 'start', lg: 'center' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content\n */\n justify: {\n type: 'enum',\n className: 'kui-r-jc',\n values: justifyValues,\n parseValue: parseJustifyValue,\n responsive: true,\n },\n /**\n * Sets the CSS **align-content** property.\n * Supports a subset of the corresponding CSS values and responsive objects.\n *\n * @example\n * alignContent=\"between\"\n * alignContent={{ sm: 'start', lg: 'center' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/align-content\n */\n alignContent: {\n type: 'enum',\n className: 'kui-r-ac',\n values: alignContentValues,\n parseValue: parseAlignContentValue,\n responsive: true,\n },\n /**\n * Sets the CSS **justify-items** property.\n * Supports a subset of the corresponding CSS values and responsive objects.\n *\n * @example\n * justifyItems=\"center\"\n * justifyItems={{ sm: 'start', lg: 'center' }}\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items\n */\n justifyItems: {\n type: 'enum',\n className: 'kui-r-ji',\n values: justifyItemsValues,\n responsive: true,\n },\n ...gapPropDefs,\n} satisfies {\n as: PropDef<(typeof as)[number]>;\n display: PropDef<(typeof displayValues)[number]>;\n areas: PropDef<string>;\n columns: PropDef<(typeof columnsValues)[number]>;\n rows: PropDef<(typeof rowsValues)[number]>;\n flow: PropDef<(typeof flowValues)[number]>;\n align: PropDef<(typeof alignValues)[number]>;\n justify: PropDef<(typeof justifyValues)[number]>;\n alignContent: PropDef<(typeof alignContentValues)[number]>;\n justifyItems: PropDef<(typeof justifyItemsValues)[number]>;\n};\n\nfunction parseGridValue(value: string): string {\n if ((gridPropDefs.columns.values as readonly string[]).includes(value)) {\n return value;\n }\n\n return value?.match(/^\\d+$/) ? `repeat(${value}, minmax(0, 1fr))` : value;\n}\n\nfunction parseJustifyValue(value: string) {\n return value === 'between' ? 'space-between' : value;\n}\n\nfunction parseAlignContentValue(value: string) {\n return value === 'between'\n ? 'space-between'\n : value === 'around'\n ? 'space-around'\n : value === 'evenly'\n ? 'space-evenly'\n : value;\n}\n\n// Use all of the imported prop defs to ensure that JSDoc works\ntype GridOwnProps = GetPropDefTypes<typeof gridPropDefs & typeof asChildPropDef>;\n\nexport { gridPropDefs };\nexport type { GridOwnProps };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { colorPropDef } from '../props/color.prop.js';\nimport { emphasisPropDef } from '../props/emphasis.prop.js';\nimport { leadingTrimPropDef } from '../props/leading-trim.prop.js';\nimport { textAlignPropDef } from '../props/text-align.prop.js';\nimport { textWrapPropDef } from '../props/text-wrap.prop.js';\nimport { truncatePropDef } from '../props/truncate.prop.js';\nimport { fontFamilyPropDef } from '../props/font-family.prop.js';\nimport { weightPropDef } from '../props/weight.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst as = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'] as const;\nconst sizes = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const;\n\nconst headingPropDefs = {\n as: { type: 'enum', values: as, default: 'h2' },\n ...asChildPropDef,\n size: {\n type: 'enum',\n className: 'kui-r-size',\n values: sizes,\n default: '6',\n responsive: true,\n },\n ...fontFamilyPropDef,\n ...weightPropDef,\n ...textAlignPropDef,\n ...leadingTrimPropDef,\n ...truncatePropDef,\n ...textWrapPropDef,\n ...colorPropDef,\n ...emphasisPropDef,\n} satisfies {\n as: PropDef<(typeof as)[number]>;\n size: PropDef<(typeof sizes)[number]>;\n};\n\nexport { headingPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const;\nconst variants = ['raised', 'soft'] as const;\n\nconst kbdPropDefs = {\n ...asChildPropDef,\n size: {\n type: 'enum',\n className: 'kui-r-size',\n values: sizes,\n responsive: true,\n },\n variant: {\n type: 'enum',\n className: 'kui-variant',\n values: variants,\n default: 'raised',\n },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n};\n\nexport { kbdPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { accentColorPropDef } from '../props/color.prop.js';\nimport { leadingTrimPropDef } from '../props/leading-trim.prop.js';\nimport { textWrapPropDef } from '../props/text-wrap.prop.js';\nimport { truncatePropDef } from '../props/truncate.prop.js';\nimport { weightPropDef } from '../props/weight.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const;\nconst underline = ['auto', 'always', 'hover', 'none'] as const;\n\nconst linkPropDefs = {\n ...asChildPropDef,\n size: {\n type: 'enum',\n className: 'kui-r-size',\n values: sizes,\n responsive: true,\n },\n ...weightPropDef,\n ...leadingTrimPropDef,\n ...truncatePropDef,\n ...textWrapPropDef,\n underline: { type: 'enum', className: 'kui-underline', values: underline, default: 'auto' },\n ...accentColorPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n underline: PropDef<(typeof underline)[number]>;\n};\n\nexport { linkPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { heightPropDefs } from '../props/height.props.js';\nimport { widthPropDefs } from '../props/width.props.js';\n\nimport type { PropDef, GetPropDefTypes } from '../props/prop-def.js';\n\nconst contentSizes = ['1', '2', '3', '4'] as const;\n\nconst popoverContentPropDefs = {\n ...asChildPropDef,\n size: {\n type: 'enum',\n className: 'kui-r-size',\n values: contentSizes,\n default: '2',\n responsive: true,\n },\n width: widthPropDefs.width,\n minWidth: widthPropDefs.minWidth,\n maxWidth: { ...widthPropDefs.maxWidth, default: '480px' },\n ...heightPropDefs,\n} satisfies {\n width: PropDef<string>;\n minWidth: PropDef<string>;\n maxWidth: PropDef<string>;\n size: PropDef<(typeof contentSizes)[number]>;\n};\n\ntype PopoverContentOwnProps = GetPropDefTypes<\n typeof popoverContentPropDefs &\n typeof asChildPropDef &\n typeof widthPropDefs &\n typeof heightPropDefs\n>;\n\nexport { popoverContentPropDefs };\nexport type { PopoverContentOwnProps };\n", "import { colorPropDef } from '../props/color.prop.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst variants = ['surface', 'soft', 'outline'] as const;\n\nconst progressPropDefs = {\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'surface' },\n ...colorPropDef,\n ...radiusPropDef,\n duration: { type: 'string' },\n} satisfies {\n variant: PropDef<(typeof variants)[number]>;\n duration: PropDef<string>;\n};\n\nexport { progressPropDefs };\n", "import { colorPropDef } from '../../props/color.prop.js';\n\nimport type { PropDef } from '../../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['raised', 'solid', 'soft', 'outline', 'surface'] as const;\n\nconst baseRadioPropDefs = {\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'raised' },\n ...colorPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n};\n\nexport { baseRadioPropDefs };\n", "import { baseRadioPropDefs } from './_internal/base-radio.props.js';\nimport { asChildPropDef } from '../props/as-child.prop.js';\nimport { colorPropDef } from '../props/color.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\n// The same list as Radio: a group offers exactly what its items can draw.\nconst variants = baseRadioPropDefs.variant.values;\n\nconst radioGroupRootPropDefs = {\n ...asChildPropDef,\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'raised' },\n ...colorPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n};\n\nexport { radioGroupRootPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst scrollbarsValues = ['vertical', 'horizontal', 'both'] as const;\n\nconst scrollAreaPropDefs = {\n ...asChildPropDef,\n ...radiusPropDef,\n scrollbars: { type: 'enum', values: scrollbarsValues, default: 'both' },\n /**\n * Fades the content toward the top and bottom edges while there is more content past them.\n * An edge with nothing hidden past it does not fade. A floating band over an edge can set\n * `--scroll-fade-start` or `--scroll-fade-end` to its height, so content fades as it passes\n * under the band.\n */\n fade: { type: 'boolean', default: false },\n} satisfies {\n scrollbars: PropDef<(typeof scrollbarsValues)[number]>;\n fade: PropDef<boolean>;\n};\n\nexport { scrollAreaPropDefs };\n", "import { radiusPropDef } from '../props/radius.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst orientations = ['horizontal', 'vertical'] as const;\n\nconst segmentedControlRootPropDefs = {\n disabled: { type: 'boolean', default: false },\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n orientation: {\n type: 'enum',\n className: 'kui-r-orientation',\n values: orientations,\n default: 'horizontal',\n responsive: true,\n },\n ...radiusPropDef,\n} satisfies {\n disabled?: PropDef<boolean>;\n size: PropDef<(typeof sizes)[number]>;\n orientation: PropDef<(typeof orientations)[number]>;\n};\n\nexport { segmentedControlRootPropDefs };\n", "import type React from 'react';\n\nimport { colorPropDef } from '../props/color.prop.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\n\nconst selectRootPropDefs = {\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n};\n\nconst triggerVariants = ['raised', 'surface', 'soft', 'outline', 'ghost'] as const;\n\nconst selectTriggerPropDefs = {\n variant: { type: 'enum', className: 'kui-variant', values: triggerVariants, default: 'raised' },\n error: { type: 'boolean' },\n loading: { type: 'boolean' },\n disabled: { type: 'boolean' },\n readOnly: { type: 'boolean' },\n ...colorPropDef,\n ...radiusPropDef,\n placeholder: { type: 'ReactNode' },\n} satisfies {\n variant: PropDef<(typeof triggerVariants)[number]>;\n error: PropDef<boolean>;\n loading: PropDef<boolean>;\n disabled: PropDef<boolean>;\n readOnly: PropDef<boolean>;\n placeholder: PropDef<React.ReactNode>;\n};\n\n\nconst selectContentPropDefs = {\n ...colorPropDef,\n} satisfies {\n};\n\nexport { selectRootPropDefs, selectTriggerPropDefs, selectContentPropDefs };\n", "import { colorPropDef } from '../props/color.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst orientationValues = ['horizontal', 'vertical'] as const;\n\nconst separatorPropDefs = {\n orientation: {\n type: 'enum',\n className: 'kui-r-orientation',\n values: orientationValues,\n default: 'horizontal',\n responsive: true,\n },\n color: { ...colorPropDef.color, default: 'gray' },\n decorative: { type: 'boolean', default: false },\n light: { type: 'boolean', className: 'kui-light', default: false },\n} satisfies {\n orientation: PropDef<(typeof orientationValues)[number]>;\n color: typeof colorPropDef.color;\n decorative: PropDef<boolean>;\n light: PropDef<boolean>;\n};\n\nexport { separatorPropDefs };\n", "import { colorPropDef } from '../props/color.prop.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['surface', 'soft', 'outline'] as const;\n\nconst sliderPropDefs = {\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'surface' },\n showTickLabels: { type: 'boolean' },\n snapToTicks: { type: 'boolean' },\n ...colorPropDef,\n ...radiusPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n showTickLabels: PropDef<boolean>;\n snapToTicks: PropDef<boolean>;\n};\n\nexport { sliderPropDefs };\n", "import type { PropDef } from '../props/prop-def.js';\n\nconst spinnerPropDefs = {\n loading: { type: 'boolean', default: true },\n} satisfies {\n loading: PropDef<boolean>;\n};\n\nexport { spinnerPropDefs };\n", "import { colorPropDef } from '../props/color.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['surface', 'soft', 'outline'] as const;\n\nconst switchPropDefs = {\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'surface' },\n ...colorPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n};\n\nexport { switchPropDefs };\n", "import { paddingPropDefs } from '../props/padding.props.js';\nimport { widthPropDefs } from '../props/width.props.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['surface', 'ghost'] as const;\nconst layoutValues = ['auto', 'fixed'] as const;\n\nconst tableRootPropDefs = {\n size: {\n type: 'enum',\n className: 'kui-r-size',\n values: sizes,\n default: '2',\n responsive: true,\n },\n variant: {\n type: 'enum',\n className: 'kui-variant',\n values: variants,\n default: 'ghost',\n },\n layout: {\n type: 'enum',\n className: 'kui-r-tl',\n values: layoutValues,\n responsive: true,\n },\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n layout: PropDef<(typeof layoutValues)[number]>;\n};\n\nconst rowAlign = ['start', 'center', 'end', 'baseline'] as const;\n\nconst tableRowPropDefs = {\n align: {\n type: 'enum',\n className: 'kui-r-va',\n values: rowAlign,\n parseValue: parseAlignValue,\n responsive: true,\n },\n} satisfies {\n align: PropDef<(typeof rowAlign)[number]>;\n};\n\nfunction parseAlignValue(value: string) {\n return {\n baseline: 'baseline',\n start: 'top',\n center: 'middle',\n end: 'bottom',\n }[value];\n}\n\nconst justifyValues = ['start', 'center', 'end'] as const;\n\nconst tableCellPropDefs = {\n justify: {\n type: 'enum',\n className: 'kui-r-ta',\n values: justifyValues,\n responsive: true,\n },\n ...widthPropDefs,\n ...paddingPropDefs,\n} satisfies {\n justify: PropDef<(typeof justifyValues)[number]>;\n};\n\nexport { tableRootPropDefs, tableRowPropDefs, tableCellPropDefs };\n", "import { colorPropDef } from '../../props/color.prop.js';\n\nimport type { PropDef } from '../../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst wrapValues = ['nowrap', 'wrap', 'wrap-reverse'] as const;\nconst justifyValues = ['start', 'center', 'end'] as const;\n\nconst baseTabListPropDefs = {\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n wrap: {\n type: 'enum',\n className: 'kui-r-fw',\n values: wrapValues,\n responsive: true,\n },\n justify: {\n type: 'enum',\n className: 'kui-r-jc',\n values: justifyValues,\n responsive: true,\n },\n ...colorPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n wrap: PropDef<(typeof wrapValues)[number]>;\n justify: PropDef<(typeof justifyValues)[number]>;\n};\n\nexport { baseTabListPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\n\nconst tabsRootPropDefs = {\n ...asChildPropDef,\n};\n\nconst tabsContentPropDefs = {\n ...asChildPropDef,\n};\n\nexport { baseTabListPropDefs as tabsListPropDefs } from './_internal/base-tab-list.props.js';\nexport { tabsRootPropDefs, tabsContentPropDefs };\n", "import { colorPropDef } from '../props/color.prop.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['raised', 'surface', 'soft', 'outline', 'ghost'] as const;\nconst resizeValues = ['none', 'vertical', 'horizontal', 'both'] as const;\n\n// prettier-ignore\nconst textAreaPropDefs = {\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'raised' },\n resize: { type: 'enum', className: 'kui-r-resize', values: resizeValues, responsive: true },\n // Error and validation props\n error: { type: 'boolean', default: false },\n errorMessage: { type: 'string', default: undefined },\n required: { type: 'boolean', default: false },\n // Accessibility props\n 'aria-describedby': { type: 'string', default: undefined },\n 'aria-labelledby': { type: 'string', default: undefined },\n ...colorPropDef,\n ...radiusPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n resize: PropDef<(typeof resizeValues)[number]>;\n error: PropDef<boolean>;\n errorMessage: PropDef<string | undefined>;\n required: PropDef<boolean>;\n 'aria-describedby': PropDef<string | undefined>;\n 'aria-labelledby': PropDef<string | undefined>;\n};\n\nexport { textAreaPropDefs };\n", "import { colorPropDef } from '../props/color.prop.js';\nimport { paddingPropDefs } from '../props/padding.props.js';\nimport { radiusPropDef } from '../props/radius.prop.js';\nimport { flexPropDefs } from './flex.props.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst sizes = ['1', '2', '3', '4'] as const;\nconst variants = ['raised', 'surface', 'soft', 'ghost', 'outline'] as const;\n\nconst textFieldRootPropDefs = {\n size: { type: 'enum', className: 'kui-r-size', values: sizes, default: '2', responsive: true },\n variant: { type: 'enum', className: 'kui-variant', values: variants, default: 'raised' },\n // Error and validation props\n error: { type: 'boolean', default: false },\n errorMessage: { type: 'string', default: undefined },\n required: { type: 'boolean', default: false },\n // Accessibility props\n 'aria-describedby': { type: 'string', default: undefined },\n 'aria-labelledby': { type: 'string', default: undefined },\n ...colorPropDef,\n ...radiusPropDef,\n} satisfies {\n size: PropDef<(typeof sizes)[number]>;\n variant: PropDef<(typeof variants)[number]>;\n error: PropDef<boolean>;\n errorMessage: PropDef<string | undefined>;\n required: PropDef<boolean>;\n 'aria-describedby': PropDef<string | undefined>;\n 'aria-labelledby': PropDef<string | undefined>;\n};\n\nconst sides = ['left', 'right'] as const;\n\nconst textFieldSlotPropDefs = {\n side: { type: 'enum', values: sides },\n ...colorPropDef,\n gap: flexPropDefs.gap,\n px: paddingPropDefs.px,\n pl: paddingPropDefs.pl,\n pr: paddingPropDefs.pr,\n} satisfies {\n side: PropDef<(typeof sides)[number]>;\n gap: typeof flexPropDefs.gap;\n px: typeof paddingPropDefs.px;\n pl: typeof paddingPropDefs.pl;\n pr: typeof paddingPropDefs.pr;\n};\n\n/** Scrubbing props for TextField.Slot - handled separately from PropDef system */\ninterface TextFieldSlotScrubProps {\n /** Enable scrubbing behavior on this slot */\n scrub?: boolean;\n /** Current value (required for min/max clamping to work correctly) */\n scrubValue?: number;\n /** Base value change per movement unit (default: 1) */\n scrubStep?: number;\n /** Pixels of movement per step - higher = less sensitive (default: 1) */\n scrubSensitivity?: number;\n /** Minimum allowed value */\n scrubMin?: number;\n /** Maximum allowed value */\n scrubMax?: number;\n /** Step multiplier when Shift is held (default: 10) */\n scrubShiftMultiplier?: number;\n /** Step multiplier when Alt/Option is held (default: 0.1) */\n scrubAltMultiplier?: number;\n /**\n * Callback fired during scrubbing with the value delta\n * @param delta - The change in value\n * @param isChanging - true while dragging, false when released\n */\n onScrub?: (delta: number, isChanging: boolean) => void;\n}\n\nexport type { TextFieldSlotScrubProps };\n\nexport { textFieldRootPropDefs, textFieldSlotPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { colorPropDef } from '../props/color.prop.js';\nimport { emphasisPropDef } from '../props/emphasis.prop.js';\nimport { leadingTrimPropDef } from '../props/leading-trim.prop.js';\nimport { textAlignPropDef } from '../props/text-align.prop.js';\nimport { textWrapPropDef } from '../props/text-wrap.prop.js';\nimport { truncatePropDef } from '../props/truncate.prop.js';\nimport { fontFamilyPropDef } from '../props/font-family.prop.js';\nimport { weightPropDef } from '../props/weight.prop.js';\n\nimport type { PropDef } from '../props/prop-def.js';\n\nconst as = ['span', 'div', 'label', 'p'] as const;\nconst sizes = ['1', '2', '3', '4', '5', '6', '7', '8', '9'] as const;\n\nconst textPropDefs = {\n as: { type: 'enum', values: as, default: 'span' },\n ...asChildPropDef,\n size: {\n type: 'enum',\n className: 'kui-r-size',\n values: sizes,\n responsive: true,\n },\n ...fontFamilyPropDef,\n ...weightPropDef,\n ...textAlignPropDef,\n ...leadingTrimPropDef,\n ...truncatePropDef,\n ...textWrapPropDef,\n ...colorPropDef,\n ...emphasisPropDef,\n} satisfies {\n as: PropDef<(typeof as)[number]>;\n size: PropDef<(typeof sizes)[number]>;\n};\n\nexport { textPropDefs };\n", "import { asChildPropDef } from '../props/as-child.prop.js';\nimport { accentColors, grayColors } from '../props/color.prop.js';\nimport { radii } from '../props/radius.prop.js';\n\nimport type { GetPropDefTypes, PropDef } from '../props/prop-def.js';\n\nconst appearances = ['inherit', 'light', 'dark'] as const;\nconst fontFamilies = ['sans', 'mono', 'serif'] as const;\nconst sizes = ['1', '2', '3', '4'] as const;\n\nconst themePropDefs = {\n ...asChildPropDef,\n /**\n * Whether to apply background color to the Theme element.\n *\n * Defaults to true for the root Theme and for Theme elements that\n * have an explicit light or dark appearance prop.\n */\n hasBackground: { type: 'boolean', default: true },\n /**\n * Sets the color scheme of the theme, typcially referred to as light and dark mode.\n *\n * @link\n * https://www.radix-ui.com/themes/docs/theme/dark-mode\n */\n appearance: { type: 'enum', values: appearances, default: 'inherit' },\n /**\n * Selects one of the accent color options to use in the Theme.\n *\n * @link\n * https://www.radix-ui.com/themes/docs/theme/color\n */\n accentColor: { type: 'enum', values: accentColors, default: 'gray' },\n /**\n * Selects one of the gray color options to use in the Theme.\n *\n * @link\n * https://www.radix-ui.com/themes/docs/theme/color\n */\n grayColor: { type: 'enum', values: grayColors, default: 'gray' },\n /**\n * Sets the default radius of the components.\n *\n * @link\n * https://www.radix-ui.com/themes/docs/theme/visual-style\n */\n radius: { type: 'enum', values: radii, default: 'full' },\n /**\n * Sets the font family used for body text in the theme.\n *\n * Headings follow this unless `headingFontFamily` (or the `--font-heading`\n * token) says otherwise.\n *\n * @default 'sans'\n */\n fontFamily: { type: 'enum', values: fontFamilies, default: 'sans' },\n /**\n * Sets the font family used for `Heading`, independently of body text.\n *\n * Deliberately has no default: when it is left unset no attribute is\n * emitted and `--font-heading` keeps following `--font-body`, so a\n * `--font-heading` override in your own CSS survives a `fontFamily` switch.\n */\n headingFontFamily: { type: 'enum', values: fontFamilies },\n /**\n * The app-wide size index. Every component on the 1-4 control and surface\n * scale that states no `size` of its own takes this one; an explicit\n * `size` always wins. Nested Themes override it for their subtree.\n *\n * @default '2'\n */\n size: { type: 'enum', values: sizes, default: '2' },\n} satisfies {\n hasBackground: PropDef<boolean>;\n appearance: PropDef<(typeof appearances)[number]>;\n accentColor: PropDef<(typeof accentColors)[number]>;\n grayColor: PropDef<(typeof grayColors)[number]>;\n radius: PropDef<(typeof radii)[number]>;\n fontFamily: PropDef<(typeof fontFamilies)[number]>;\n headingFontFamily: PropDef<(typeof fontFamilies)[number]>;\n size: PropDef<(typeof sizes)[number]>;\n};\n\ntype ThemeOwnProps = GetPropDefTypes<typeof themePropDefs & typeof asChildPropDef>;\n\nexport { themePropDefs };\nexport type { ThemeOwnProps };\n", "import { widthPropDefs } from '../props/width.props.js';\n\nimport type { PropDef, GetPropDefTypes } from '../props/prop-def.js';\n\nconst tooltipPropDefs = {\n content: { type: 'ReactNode', required: true },\n width: widthPropDefs.width,\n minWidth: widthPropDefs.minWidth,\n maxWidth: { ...widthPropDefs.maxWidth, default: '360px' },\n} satisfies {\n width: PropDef<string>;\n minWidth: PropDef<string>;\n maxWidth: PropDef<string>;\n content: PropDef<React.ReactNode>;\n};\n\ntype TooltipOwnProps = GetPropDefTypes<typeof tooltipPropDefs & typeof widthPropDefs>;\n\nexport { tooltipPropDefs };\nexport type { TooltipOwnProps };\n"],
|
|
5
|
-
"mappings": "oxBAQA,IAAMA,EAAe,CAAC,IAAK,IAAK,IAAK,GAAG,EAElCC,EAAwB,CAC5B,GAAGC,EACH,MAAO,CACL,KAAM,OACN,UAAW,cACX,OAAQ,CAAC,QAAS,QAAQ,EAC1B,QAAS,QACX,EACA,KAAM,CACJ,KAAM,OACN,UAAW,aACX,OAAQF,EACR,QAAS,IACT,WAAY,EACd,EACA,MAAOG,EAAc,MACrB,SAAUA,EAAc,SAExB,SAAUA,EAAc,SACxB,GAAGC,CACL,EC3BA,IAAMC,GAA6B,CACjC,GAAGC,CACL,ECCA,IAAMC,EAAQ,CAAC,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,GAAG,EACpDC,EAAW,CAAC,SAAU,QAAS,OAAQ,UAAW,SAAS,EA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AAQF,GACR,WAAY,EACd,EACA,GAAGG,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,CACL,EC1BA,IAAMC,GAAc,CAAC,UAAW,QAAS,MAAM,EACzCC,EAAe,CAAC,OAAQ,OAAQ,OAAO,EACvCC,GAAQ,CAAC,IAAK,IAAK,IAAK,GAAG,EAE3BC,GAAgB,CACpB,GAAGC,EAOH,cAAe,CAAE,KAAM,UAAW,QAAS,EAAK,EAOhD,WAAY,CAAE,KAAM,OAAQ,OAAQJ,GAAa,QAAS,SAAU,EAOpE,YAAa,CAAE,KAAM,OAAQ,OAAQK,EAAc,QAAS,MAAO,EAOnE,UAAW,CAAE,KAAM,OAAQ,OAAQC,EAAY,QAAS,MAAO,EAO/D,OAAQ,CAAE,KAAM,OAAQ,OAAQC,EAAO,QAAS,MAAO,EASvD,WAAY,CAAE,KAAM,OAAQ,OAAQN,EAAc,QAAS,MAAO,EAQlE,kBAAmB,CAAE,KAAM,OAAQ,OAAQA,CAAa,EAQxD,KAAM,CAAE,KAAM,OAAQ,OAAQC,GAAO,QAAS,GAAI,CACpD,ECpEA,IAAMM,GAAkB,CACtB,QAAS,CAAE,KAAM,YAAa,SAAU,EAAK,EAC7C,MAAOC,EAAc,MACrB,SAAUA,EAAc,SACxB,SAAU,CAAE,GAAGA,EAAc,SAAU,QAAS,OAAQ,CAC1D",
|
|
6
|
-
"names": [
|
|
3
|
+
"sources": ["../../../src/props/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Prop definition\nexport * from './prop-def.js';\n\n// Individual props\nexport * from './as-child.prop.js';\nexport * from './color.prop.js';\nexport * from './emphasis.prop.js';\nexport * from './gap.props.js';\nexport * from './height.props.js';\nexport * from './layout.props.js';\nexport * from './leading-trim.prop.js';\nexport * from './margin.props.js';\nexport * from './padding.props.js';\nexport * from './radius.prop.js';\nexport * from './shadow.props.js';\nexport * from './text-align.prop.js';\nexport * from './text-wrap.prop.js';\nexport * from './truncate.prop.js';\nexport * from './weight.prop.js';\nexport * from './width.props.js';\n\n// Component props\nexport * from '../components/alert-dialog.props.js';\nexport * from '../components/avatar.props.js';\nexport * from '../components/blockquote.props.js';\nexport * from '../components/box.props.js';\nexport * from '../components/button.props.js';\nexport * from '../components/card.props.js';\nexport * from '../components/checkbox-group.props.js';\nexport * from '../components/checkbox.props.js';\nexport * from '../components/chip.props.js';\nexport * from '../components/code.props.js';\nexport * from '../components/context-menu.props.js';\nexport * from '../components/dialog.props.js';\nexport * from '../components/dropdown-menu.props.js';\nexport * from '../components/flex.props.js';\nexport * from '../components/grid.props.js';\nexport * from '../components/heading.props.js';\nexport * from '../components/kbd.props.js';\nexport * from '../components/link.props.js';\nexport * from '../components/popover.props.js';\nexport * from '../components/progress.props.js';\nexport * from '../components/radio.props.js';\nexport * from '../components/radio-group.props.js';\nexport * from '../components/scroll-area.props.js';\nexport * from '../components/segmented-control.props.js';\nexport * from '../components/select.props.js';\nexport * from '../components/separator.props.js';\nexport * from '../components/slider.props.js';\nexport * from '../components/spinner.props.js';\nexport * from '../components/switch.props.js';\nexport * from '../components/table.props.js';\nexport * from '../components/tabs.props.js';\nexport * from '../components/text-area.props.js';\nexport * from '../components/text-field.props.js';\nexport * from '../components/text.props.js';\nexport * from '../components/theme.props.js';\nexport * from '../components/tooltip.props.js';\n"],
|
|
5
|
+
"mappings": "0uBAsBA,WAAc,sCACd,WAAc,gCACd,WAAc,oCACd,WAAc,6BACd,WAAc,gCACd,WAAc,8BACd,WAAc,wCACd,WAAc,kCACd,WAAc,8BACd,WAAc,8BACd,WAAc,sCACd,WAAc,gCACd,WAAc,uCACd,WAAc,8BACd,WAAc,8BACd,WAAc,iCACd,WAAc,6BACd,WAAc,8BACd,WAAc,iCACd,WAAc,kCACd,WAAc,+BACd,WAAc,qCACd,WAAc,qCACd,WAAc,2CACd,WAAc,gCACd,WAAc,mCACd,WAAc,gCACd,WAAc,iCACd,WAAc,gCACd,WAAc,+BACd,WAAc,8BACd,WAAc,mCACd,WAAc,oCACd,WAAc,8BACd,WAAc,+BACd,WAAc",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ import { Flex } from '../flex.js';
|
|
|
8
8
|
import { Spinner } from '../spinner.js';
|
|
9
9
|
import { TickIcon } from '../icons.js';
|
|
10
10
|
import { extractProps } from '../../helpers/extract-props.js';
|
|
11
|
-
import { useThemeSizeProps } from '../../
|
|
11
|
+
import { useThemeSizeProps } from '../../hooks/theme-size.js';
|
|
12
12
|
|
|
13
13
|
import type { ComponentPropsWithout, RemovedProps } from '../../helpers/component-props.js';
|
|
14
14
|
import type { GetPropDefTypes } from '../../props/prop-def.js';
|
|
@@ -213,6 +213,56 @@ const BaseButton = React.forwardRef<BaseButtonElement, BaseButtonProps>((ownProp
|
|
|
213
213
|
return {};
|
|
214
214
|
}, [loading, describedById, ariaDescribedByProp, nativeDisabled, shouldPassDisabled, asChild]);
|
|
215
215
|
|
|
216
|
+
/**
|
|
217
|
+
* The inside of the button. A button that takes `loading` (true or false) keeps its content in
|
|
218
|
+
* a `kui-BaseButtonContent` wrapper, so starting or stopping `loading` keeps the children in
|
|
219
|
+
* place (their state survives). A button that never loads skips it, which saves a node per
|
|
220
|
+
* button. `display: contents` keeps the button's flex gap; while loading the wrapper is
|
|
221
|
+
* `visibility: hidden` under the spinner.
|
|
222
|
+
*
|
|
223
|
+
* `display: contents` removes the content from the accessibility tree in some browsers, so
|
|
224
|
+
* while loading the wrapper is `aria-hidden` and a `kui-sr-only` copy carries the name.
|
|
225
|
+
*/
|
|
226
|
+
const renderInner = (inner: React.ReactNode, label: React.ReactNode) => {
|
|
227
|
+
if (!canLoad) return inner;
|
|
228
|
+
return (
|
|
229
|
+
<>
|
|
230
|
+
<span className="kui-BaseButtonContent" aria-hidden={loading || undefined}>
|
|
231
|
+
{inner}
|
|
232
|
+
</span>
|
|
233
|
+
{loading ? (
|
|
234
|
+
<>
|
|
235
|
+
{/* The label stays the name; the hidden "Loading" only describes (aria-describedby reads hidden text). */}
|
|
236
|
+
<span className="kui-sr-only">
|
|
237
|
+
<span id={describedById} aria-hidden>
|
|
238
|
+
Loading
|
|
239
|
+
</span>
|
|
240
|
+
{label}
|
|
241
|
+
</span>
|
|
242
|
+
|
|
243
|
+
{/* Centered spinner overlay during loading state */}
|
|
244
|
+
<Flex asChild align="center" justify="center" position="absolute" inset="0">
|
|
245
|
+
<span>
|
|
246
|
+
<Spinner aria-hidden="true" />
|
|
247
|
+
</span>
|
|
248
|
+
</Flex>
|
|
249
|
+
</>
|
|
250
|
+
) : null}
|
|
251
|
+
</>
|
|
252
|
+
);
|
|
253
|
+
};
|
|
254
|
+
const asChildContent =
|
|
255
|
+
asChild && canLoad && React.isValidElement(content)
|
|
256
|
+
? React.cloneElement(
|
|
257
|
+
content as React.ReactElement<{ children?: React.ReactNode }>,
|
|
258
|
+
undefined,
|
|
259
|
+
renderInner(
|
|
260
|
+
(content.props as { children?: React.ReactNode }).children,
|
|
261
|
+
React.isValidElement(children) ? (children.props as { children?: React.ReactNode }).children : null,
|
|
262
|
+
),
|
|
263
|
+
)
|
|
264
|
+
: content;
|
|
265
|
+
|
|
216
266
|
return (
|
|
217
267
|
<Comp
|
|
218
268
|
data-accent-color={color}
|
|
@@ -232,48 +282,12 @@ const BaseButton = React.forwardRef<BaseButtonElement, BaseButtonProps>((ownProp
|
|
|
232
282
|
{...(shouldPassDisabled && { disabled: nativeDisabled })}
|
|
233
283
|
{...(isNativeButtonElement && !hasExplicitTypeAttribute ? { type: 'button' } : {})}
|
|
234
284
|
>
|
|
235
|
-
{asChild
|
|
236
|
-
// asChild: Slot merges onto the single child, so the
|
|
237
|
-
|
|
285
|
+
{asChild ? (
|
|
286
|
+
// asChild: Slot merges onto the single child, so the wrapper, spinner and label copy go
|
|
287
|
+
// inside that child, never beside it.
|
|
288
|
+
asChildContent
|
|
238
289
|
) : (
|
|
239
|
-
|
|
240
|
-
{/**
|
|
241
|
-
* A button that takes `loading` (true or false) keeps its content in this wrapper, so
|
|
242
|
-
* starting or stopping `loading` keeps the children in place (their state survives). A
|
|
243
|
-
* button that never loads skips it, which saves a node per button. `display: contents`
|
|
244
|
-
* keeps the button's flex
|
|
245
|
-
* gap; while loading the wrapper is `visibility: hidden` under the spinner.
|
|
246
|
-
*
|
|
247
|
-
* `display: contents` removes the content from the accessibility tree in some browsers,
|
|
248
|
-
* so while loading the wrapper is `aria-hidden` and a `kui-sr-only` copy carries the name.
|
|
249
|
-
*/}
|
|
250
|
-
{canLoad ? (
|
|
251
|
-
<span className="kui-BaseButtonContent" aria-hidden={loading || undefined}>
|
|
252
|
-
{content}
|
|
253
|
-
</span>
|
|
254
|
-
) : (
|
|
255
|
-
content
|
|
256
|
-
)}
|
|
257
|
-
|
|
258
|
-
{loading ? (
|
|
259
|
-
<>
|
|
260
|
-
{/* The label stays the name; the hidden "Loading" only describes (aria-describedby reads hidden text). */}
|
|
261
|
-
<span className="kui-sr-only">
|
|
262
|
-
<span id={describedById} aria-hidden>
|
|
263
|
-
Loading
|
|
264
|
-
</span>
|
|
265
|
-
{children}
|
|
266
|
-
</span>
|
|
267
|
-
|
|
268
|
-
{/* Centered spinner overlay during loading state */}
|
|
269
|
-
<Flex asChild align="center" justify="center" position="absolute" inset="0">
|
|
270
|
-
<span>
|
|
271
|
-
<Spinner aria-hidden="true" />
|
|
272
|
-
</span>
|
|
273
|
-
</Flex>
|
|
274
|
-
</>
|
|
275
|
-
) : null}
|
|
276
|
-
</>
|
|
290
|
+
renderInner(content, children)
|
|
277
291
|
)}
|
|
278
292
|
</Comp>
|
|
279
293
|
);
|
|
@@ -6,7 +6,7 @@ import { useComposedRefs } from 'radix-ui/internal';
|
|
|
6
6
|
import { PaneResizeContext } from './shell-resize.js';
|
|
7
7
|
import { InspectorHandle, PaneHandle } from './shell-handles.js';
|
|
8
8
|
import { usePane, paneAttributes, usePresentationTable } from './shell-pane.js';
|
|
9
|
-
import { splitHandles, useResizablePane, type SizeChangeMeta } from './shell-resizable.js';
|
|
9
|
+
import { splitHandles, useInitialPaneSize, useResizablePane, type SizeChangeMeta } from './shell-resizable.js';
|
|
10
10
|
import { useInsetRegistration, warnOnce } from './shell-store.js';
|
|
11
11
|
import { detailRest, endAnchoredGrowth, toPaneValue, withoutRemovedPaneProps } from './shell-rest.js';
|
|
12
12
|
import { readBreakpoint } from '../../hooks/use-breakpoint.js';
|
|
@@ -129,6 +129,7 @@ export const Inspector = React.forwardRef<HTMLDivElement, InspectorPublicProps>(
|
|
|
129
129
|
const { handles, content } = splitHandles(children, InspectorHandle);
|
|
130
130
|
const handle = resizable && pane.shown !== false && !pane.overlaying ? <PaneResizeContext.Provider value={resize}>{handles.length > 0 ? handles : <PaneHandle />}</PaneResizeContext.Provider> : null;
|
|
131
131
|
|
|
132
|
+
const initialSize = useInitialPaneSize(size, defaultSize, minSize, maxSize);
|
|
132
133
|
return (
|
|
133
134
|
<div
|
|
134
135
|
{...withoutRemovedPaneProps(domProps)}
|
|
@@ -143,6 +144,7 @@ export const Inspector = React.forwardRef<HTMLDivElement, InspectorPublicProps>(
|
|
|
143
144
|
{
|
|
144
145
|
...style,
|
|
145
146
|
'--inspector-expanded-size': `${expandedSize}px`,
|
|
147
|
+
...(initialSize ? { '--inspector-size': initialSize } : {}),
|
|
146
148
|
'--inspector-min-size': `${minSize}px`,
|
|
147
149
|
'--inspector-max-size': `${maxSize}px`,
|
|
148
150
|
} as CSSPropertiesWithVars
|
|
@@ -50,6 +50,19 @@ export type ResizableOptions = {
|
|
|
50
50
|
*/
|
|
51
51
|
const clampTo = (value: number, min: number | undefined, max: number | undefined) => Math.max(min ?? value, Math.min(max ?? value, value));
|
|
52
52
|
|
|
53
|
+
/**
|
|
54
|
+
* The pane's starting size for the first render, so the server HTML already has it and the first
|
|
55
|
+
* paint is right. Only a number can be known before the pane exists (a percentage needs the
|
|
56
|
+
* Shell's width); the effects below still own the size after mount.
|
|
57
|
+
*/
|
|
58
|
+
export function useInitialPaneSize(size: number | string | undefined, defaultSize: number | string | undefined, minSize: number, maxSize: number) {
|
|
59
|
+
const [initial] = React.useState(() => {
|
|
60
|
+
const value = size ?? defaultSize;
|
|
61
|
+
return typeof value === 'number' && Number.isFinite(value) ? `${clampTo(value, minSize, maxSize)}px` : undefined;
|
|
62
|
+
});
|
|
63
|
+
return initial;
|
|
64
|
+
}
|
|
65
|
+
|
|
53
66
|
/** Everything a resizable pane shares: size props, persistence, and the handle's context. */
|
|
54
67
|
export function useResizablePane(options: ResizableOptions): PaneResizeContextValue {
|
|
55
68
|
const { name, elementRef, cssVarName, orientation, minSize, maxSize, resizable, size, defaultSize, paneId, persistence } = options;
|
|
@@ -6,7 +6,7 @@ import { useComposedRefs } from 'radix-ui/internal';
|
|
|
6
6
|
import { PaneResizeContext } from './shell-resize.js';
|
|
7
7
|
import { PaneHandle, SidebarHandle } from './shell-handles.js';
|
|
8
8
|
import { usePane, paneAttributes, usePresentationTable } from './shell-pane.js';
|
|
9
|
-
import { splitHandles, useResizablePane, type SizeChangeMeta } from './shell-resizable.js';
|
|
9
|
+
import { splitHandles, useInitialPaneSize, useResizablePane, type SizeChangeMeta } from './shell-resizable.js';
|
|
10
10
|
import { useInsetRegistration, warnOnce, type PaneValue } from './shell-store.js';
|
|
11
11
|
import { navigationRest, startAnchoredGrowth, withoutRemovedPaneProps } from './shell-rest.js';
|
|
12
12
|
import { readBreakpoint } from '../../hooks/use-breakpoint.js';
|
|
@@ -148,6 +148,7 @@ export const Sidebar = React.forwardRef<HTMLDivElement, SidebarPublicProps>((pro
|
|
|
148
148
|
// A peek previews the width the next toggle opens to.
|
|
149
149
|
const peekWidth = pane.peeking ? `var(--sidebar-size, ${expandedSize}px)` : undefined;
|
|
150
150
|
|
|
151
|
+
const initialSize = useInitialPaneSize(size, defaultSize, minSize, maxSize);
|
|
151
152
|
return (
|
|
152
153
|
<div
|
|
153
154
|
{...withoutRemovedPaneProps(domProps)}
|
|
@@ -162,6 +163,7 @@ export const Sidebar = React.forwardRef<HTMLDivElement, SidebarPublicProps>((pro
|
|
|
162
163
|
{
|
|
163
164
|
...style,
|
|
164
165
|
'--sidebar-expanded-size': `${expandedSize}px`,
|
|
166
|
+
...(initialSize ? { '--sidebar-size': initialSize } : {}),
|
|
165
167
|
'--sidebar-min-size': `${minSize}px`,
|
|
166
168
|
'--sidebar-max-size': `${maxSize}px`,
|
|
167
169
|
...(peekWidth ? { '--peek-sidebar-width': peekWidth } : {}),
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import { ChevronDownIcon } from './icons.js';
|
|
13
13
|
import { Slottable } from './slot.js';
|
|
14
14
|
import { extractProps } from '../helpers/extract-props.js';
|
|
15
|
-
import { useThemeSizeProps } from '../
|
|
15
|
+
import { useThemeSizeProps } from '../hooks/theme-size.js';
|
|
16
16
|
|
|
17
17
|
import type {
|
|
18
18
|
AccordionRootOwnProps,
|
|
@@ -7,7 +7,7 @@ import { Heading } from './heading.js';
|
|
|
7
7
|
import { Text } from './text.js';
|
|
8
8
|
import { Theme } from './theme.js';
|
|
9
9
|
import { extractProps } from '../helpers/extract-props.js';
|
|
10
|
-
import { useThemeSizeProps } from '../
|
|
10
|
+
import { useThemeSizeProps } from '../hooks/theme-size.js';
|
|
11
11
|
import { requireReactElement } from '../helpers/require-react-element.js';
|
|
12
12
|
import { useBodyPointerEventsCleanup } from '../hooks/use-body-pointer-events-cleanup.js';
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ import { Avatar as AvatarPrimitive } from 'radix-ui';
|
|
|
7
7
|
import { avatarPropDefs } from './avatar.props.js';
|
|
8
8
|
import { extractProps } from '../helpers/extract-props.js';
|
|
9
9
|
import { getSubtree } from '../helpers/get-subtree.js';
|
|
10
|
-
import { useThemeSizeProps } from '../
|
|
10
|
+
import { useThemeSizeProps } from '../hooks/theme-size.js';
|
|
11
11
|
|
|
12
12
|
import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';
|
|
13
13
|
import type { GetPropDefTypes } from '../props/prop-def.js';
|
package/src/components/card.tsx
CHANGED
|
@@ -6,7 +6,7 @@ import { Slot } from 'radix-ui';
|
|
|
6
6
|
|
|
7
7
|
import { cardPropDefs } from './card.props.js';
|
|
8
8
|
import { extractProps } from '../helpers/extract-props.js';
|
|
9
|
-
import { useThemeSizeProps } from '../
|
|
9
|
+
import { useThemeSizeProps } from '../hooks/theme-size.js';
|
|
10
10
|
|
|
11
11
|
import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';
|
|
12
12
|
import type { GetPropDefTypes } from '../props/prop-def.js';
|
|
@@ -9,7 +9,7 @@ import { Flex } from './flex.js';
|
|
|
9
9
|
import { ScrollArea } from './scroll-area.js';
|
|
10
10
|
import { Slot } from './slot.js';
|
|
11
11
|
import { NoticeSizeContext } from './notice.js';
|
|
12
|
-
import { useThemeSize } from '../
|
|
12
|
+
import { useThemeSize } from '../hooks/theme-size.js';
|
|
13
13
|
import { Spinner } from './spinner.js';
|
|
14
14
|
import { Text } from './text.js';
|
|
15
15
|
import { VisuallyHidden } from './visually-hidden.js';
|
|
@@ -10,7 +10,7 @@ import { checkboxGroupRootPropDefs } from './checkbox-group.props.js';
|
|
|
10
10
|
import { ThickCheckIcon } from './icons.js';
|
|
11
11
|
import { Text } from './text.js';
|
|
12
12
|
import { extractProps } from '../helpers/extract-props.js';
|
|
13
|
-
import { useThemeSize } from '../
|
|
13
|
+
import { useThemeSize } from '../hooks/theme-size.js';
|
|
14
14
|
|
|
15
15
|
import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';
|
|
16
16
|
import type { GetPropDefTypes } from '../props/prop-def.js';
|
|
@@ -8,7 +8,7 @@ import { useControllableState } from 'radix-ui/internal';
|
|
|
8
8
|
import { checkboxPropDefs } from './checkbox.props.js';
|
|
9
9
|
import { ThickCheckIcon, ThickDividerHorizontalIcon } from './icons.js';
|
|
10
10
|
import { extractProps } from '../helpers/extract-props.js';
|
|
11
|
-
import { useThemeSizeProps } from '../
|
|
11
|
+
import { useThemeSizeProps } from '../hooks/theme-size.js';
|
|
12
12
|
|
|
13
13
|
import type { ComponentPropsWithout } from '../helpers/component-props.js';
|
|
14
14
|
import type { GetPropDefTypes } from '../props/prop-def.js';
|
|
@@ -25,7 +25,7 @@ import { useCallbackRef, useComposedRefs, useControllableState, useLayoutEffect
|
|
|
25
25
|
import { Command as CommandPrimitive, useCommandState } from 'cmdk';
|
|
26
26
|
|
|
27
27
|
import { extractProps } from '../helpers/extract-props.js';
|
|
28
|
-
import { useThemeSize } from '../
|
|
28
|
+
import { useThemeSize } from '../hooks/theme-size.js';
|
|
29
29
|
import { comboboxRootPropDefs, comboboxTriggerPropDefs, comboboxContentPropDefs } from './combobox.props.js';
|
|
30
30
|
import { ChevronDownIcon, ThickCheckIcon } from './icons.js';
|
|
31
31
|
import { Spinner } from './spinner.js';
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import { Theme, useThemeContext } from './theme.js';
|
|
21
21
|
import { ThickCheckIcon, ThickChevronRightIcon, ThickDotIcon } from './icons.js';
|
|
22
22
|
import { extractProps } from '../helpers/extract-props.js';
|
|
23
|
-
import { useThemeSizeProps } from '../
|
|
23
|
+
import { useThemeSizeProps } from '../hooks/theme-size.js';
|
|
24
24
|
import { requireReactElement } from '../helpers/require-react-element.js';
|
|
25
25
|
import {
|
|
26
26
|
MenuCloseProvider,
|
|
@@ -7,7 +7,7 @@ import { Heading } from './heading.js';
|
|
|
7
7
|
import { Text } from './text.js';
|
|
8
8
|
import { Theme } from './theme.js';
|
|
9
9
|
import { extractProps } from '../helpers/extract-props.js';
|
|
10
|
-
import { useThemeSizeProps } from '../
|
|
10
|
+
import { useThemeSizeProps } from '../hooks/theme-size.js';
|
|
11
11
|
import { requireReactElement } from '../helpers/require-react-element.js';
|
|
12
12
|
import { useBodyPointerEventsCleanup } from '../hooks/use-body-pointer-events-cleanup.js';
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import { Theme, useThemeContext } from './theme.js';
|
|
17
17
|
import { ChevronDownIcon, ThickCheckIcon, ThickChevronLeftIcon, ThickChevronRightIcon, ThickDotIcon } from './icons.js';
|
|
18
18
|
import { extractProps } from '../helpers/extract-props.js';
|
|
19
|
-
import { useThemeSizeProps } from '../
|
|
19
|
+
import { useThemeSizeProps } from '../hooks/theme-size.js';
|
|
20
20
|
import {
|
|
21
21
|
DrillDownLevelContext,
|
|
22
22
|
DrillDownRoot,
|
|
@@ -12,7 +12,7 @@ type NavbarSlotFlexProps = Omit<FlexProps, keyof MarginProps>;
|
|
|
12
12
|
|
|
13
13
|
import { navbarRootPropDefs } from './navbar.props.js';
|
|
14
14
|
import { extractProps } from '../helpers/extract-props.js';
|
|
15
|
-
import { useThemeSizeProps } from '../
|
|
15
|
+
import { useThemeSizeProps } from '../hooks/theme-size.js';
|
|
16
16
|
|
|
17
17
|
import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';
|
|
18
18
|
import type { GetPropDefTypes } from '../props/prop-def.js';
|