@kerfjs/ui 5.0.0-beta.131 → 5.0.0-beta.133
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/README.md +26 -14
- package/ai/application-ui-profile-sync.cjs +5 -14
- package/ai/application-ui-profile.d.ts +0 -2
- package/ai/application-ui-profile.defaults.json +0 -4
- package/ai/application-ui-profile.mjs +5 -14
- package/ai/application-ui-profile.schema.json +0 -4
- package/ai/choice-wiring-mode.cjs +68 -0
- package/ai/component-catalog.json +13 -9
- package/ai/component-composition-rules.json +2 -10
- package/ai/component-composition.d.ts +0 -17
- package/ai/component-composition.json +9 -12
- package/ai/component-composition.schema.json +0 -59
- package/ai/components/combobox.md +1 -1
- package/ai/components/disclosure.md +2 -0
- package/ai/components/form.md +1 -2
- package/ai/components/popup-menu.md +1 -0
- package/ai/components/switch.md +1 -1
- package/ai/components/tab-panel.md +0 -1
- package/ai/components/toolbar-control-group.md +2 -2
- package/ai/public-api-signatures-v1.md +218 -205
- package/ai/skill.md +3 -20
- package/ai/webawesome-jsx-signatures-v1.md +1 -1
- package/dist/backdrop-image.d.ts +1 -1
- package/dist/backdrop-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +1 -1
- package/dist/catalog-library.d.ts +26 -0
- package/dist/catalog-library.js +2484 -0
- package/dist/catalog-library.js.map +1 -0
- package/dist/catalog-resources.d.ts +3 -3
- package/dist/catalog-resources.js +1 -20
- package/dist/catalog-resources.js.map +1 -1
- package/dist/catalog.d.ts +5 -4
- package/dist/catalog.js +151 -24
- package/dist/catalog.js.map +1 -1
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chip.js +1 -1
- package/dist/choice-chips.d.ts +3 -3
- package/dist/choice-chips.js +1 -1
- package/dist/{chunk-Q5BPZPCO.js → chunk-22T7FFCL.js} +2 -2
- package/dist/{chunk-Q5BPZPCO.js.map → chunk-22T7FFCL.js.map} +1 -1
- package/dist/{chunk-BCHK33XL.js → chunk-27NEAPV7.js} +2 -2
- package/dist/{chunk-BCHK33XL.js.map → chunk-27NEAPV7.js.map} +1 -1
- package/dist/{chunk-76BLSFEA.js → chunk-2OYMXGW2.js} +6 -5
- package/dist/chunk-2OYMXGW2.js.map +1 -0
- package/dist/{chunk-EHR7R7YP.js → chunk-3DPHCZQB.js} +2 -2
- package/dist/{chunk-EHR7R7YP.js.map → chunk-3DPHCZQB.js.map} +1 -1
- package/dist/{chunk-RPJOLDSR.js → chunk-3UIZ36BP.js} +3 -3
- package/dist/{chunk-RPJOLDSR.js.map → chunk-3UIZ36BP.js.map} +1 -1
- package/dist/{chunk-QZA75NOK.js → chunk-42NLFCIN.js} +6 -6
- package/dist/{chunk-QZA75NOK.js.map → chunk-42NLFCIN.js.map} +1 -1
- package/dist/{chunk-UPHPFKAD.js → chunk-4GGIML4E.js} +2 -2
- package/dist/{chunk-UPHPFKAD.js.map → chunk-4GGIML4E.js.map} +1 -1
- package/dist/{chunk-5KWXM5O7.js → chunk-5C34PAUY.js} +2 -2
- package/dist/{chunk-5KWXM5O7.js.map → chunk-5C34PAUY.js.map} +1 -1
- package/dist/{chunk-6PHG2DMG.js → chunk-6OH734CG.js} +2 -2
- package/dist/{chunk-6PHG2DMG.js.map → chunk-6OH734CG.js.map} +1 -1
- package/dist/{chunk-E7ZRBMVQ.js → chunk-7XIY7G4K.js} +3 -3
- package/dist/{chunk-E7ZRBMVQ.js.map → chunk-7XIY7G4K.js.map} +1 -1
- package/dist/{chunk-OKZTLRGG.js → chunk-B5Q3KE4Z.js} +2 -2
- package/dist/{chunk-OKZTLRGG.js.map → chunk-B5Q3KE4Z.js.map} +1 -1
- package/dist/{chunk-SGYBIKQA.js → chunk-BADEZQ3V.js} +4 -4
- package/dist/chunk-BADEZQ3V.js.map +1 -0
- package/dist/{chunk-CJAKN2KZ.js → chunk-BLBMUD2W.js} +2 -2
- package/dist/{chunk-CJAKN2KZ.js.map → chunk-BLBMUD2W.js.map} +1 -1
- package/dist/{chunk-TRJS7M2H.js → chunk-BNRH7XG5.js} +2 -2
- package/dist/{chunk-TRJS7M2H.js.map → chunk-BNRH7XG5.js.map} +1 -1
- package/dist/{chunk-NA4LKVPX.js → chunk-BNXJQB2Y.js} +2 -2
- package/dist/{chunk-NA4LKVPX.js.map → chunk-BNXJQB2Y.js.map} +1 -1
- package/dist/{chunk-CCPWJDRW.js → chunk-BQHGXQVA.js} +2 -2
- package/dist/{chunk-CCPWJDRW.js.map → chunk-BQHGXQVA.js.map} +1 -1
- package/dist/{chunk-COQI4OMZ.js → chunk-BRDTP3RT.js} +1 -1
- package/dist/chunk-BRDTP3RT.js.map +1 -0
- package/dist/{chunk-RGB4DPMN.js → chunk-DGYGRMES.js} +3 -3
- package/dist/chunk-DGYGRMES.js.map +1 -0
- package/dist/{chunk-V3IXAI4L.js → chunk-DNNHT7RB.js} +2 -2
- package/dist/{chunk-V3IXAI4L.js.map → chunk-DNNHT7RB.js.map} +1 -1
- package/dist/{chunk-UU37OR3D.js → chunk-DT7KOBQJ.js} +1 -1
- package/dist/chunk-DT7KOBQJ.js.map +1 -0
- package/dist/{chunk-CUUW57WB.js → chunk-DXZA7OC6.js} +58 -14
- package/dist/chunk-DXZA7OC6.js.map +1 -0
- package/dist/{chunk-4OH6JSGU.js → chunk-F25UMYDX.js} +2 -2
- package/dist/{chunk-4OH6JSGU.js.map → chunk-F25UMYDX.js.map} +1 -1
- package/dist/{chunk-76VCWWUA.js → chunk-HSMSTCNZ.js} +2 -2
- package/dist/{chunk-76VCWWUA.js.map → chunk-HSMSTCNZ.js.map} +1 -1
- package/dist/{chunk-ECVTRAXN.js → chunk-IQOO3ZQK.js} +2 -2
- package/dist/{chunk-ECVTRAXN.js.map → chunk-IQOO3ZQK.js.map} +1 -1
- package/dist/{chunk-2FA3SX57.js → chunk-IXT2ARIM.js} +4 -4
- package/dist/{chunk-2FA3SX57.js.map → chunk-IXT2ARIM.js.map} +1 -1
- package/dist/{chunk-DBP3N6E5.js → chunk-JBL6SCNN.js} +3 -3
- package/dist/{chunk-DBP3N6E5.js.map → chunk-JBL6SCNN.js.map} +1 -1
- package/dist/{chunk-7KN5OQVN.js → chunk-JNQBPRAA.js} +2 -2
- package/dist/{chunk-7KN5OQVN.js.map → chunk-JNQBPRAA.js.map} +1 -1
- package/dist/{chunk-CPTQABDQ.js → chunk-JNSPYECP.js} +2 -2
- package/dist/{chunk-CPTQABDQ.js.map → chunk-JNSPYECP.js.map} +1 -1
- package/dist/{chunk-E7Q6UNCB.js → chunk-KBDYXGYT.js} +2 -2
- package/dist/{chunk-E7Q6UNCB.js.map → chunk-KBDYXGYT.js.map} +1 -1
- package/dist/{chunk-WVQDIOD7.js → chunk-KKMZP3YL.js} +2 -2
- package/dist/{chunk-WVQDIOD7.js.map → chunk-KKMZP3YL.js.map} +1 -1
- package/dist/{chunk-WSPXSWFG.js → chunk-KZEHTRPC.js} +3 -3
- package/dist/chunk-KZEHTRPC.js.map +1 -0
- package/dist/{chunk-KACJOE2N.js → chunk-LH5V6XGH.js} +2 -2
- package/dist/{chunk-KACJOE2N.js.map → chunk-LH5V6XGH.js.map} +1 -1
- package/dist/{chunk-VBXKYT4O.js → chunk-LH7YRRY7.js} +2 -2
- package/dist/{chunk-VBXKYT4O.js.map → chunk-LH7YRRY7.js.map} +1 -1
- package/dist/{chunk-QXXLDY6I.js → chunk-LI7AQ5NQ.js} +4 -4
- package/dist/{chunk-QXXLDY6I.js.map → chunk-LI7AQ5NQ.js.map} +1 -1
- package/dist/{chunk-CAB5IWV7.js → chunk-LSFPZR52.js} +4 -4
- package/dist/{chunk-CAB5IWV7.js.map → chunk-LSFPZR52.js.map} +1 -1
- package/dist/{chunk-CRHKWHTA.js → chunk-LUWZ7UZQ.js} +4 -4
- package/dist/{chunk-CRHKWHTA.js.map → chunk-LUWZ7UZQ.js.map} +1 -1
- package/dist/{chunk-CMG4OZPV.js → chunk-LWWIBUDK.js} +2 -2
- package/dist/{chunk-CMG4OZPV.js.map → chunk-LWWIBUDK.js.map} +1 -1
- package/dist/{chunk-LOW7J7SE.js → chunk-MHF2NK7F.js} +4 -4
- package/dist/{chunk-LOW7J7SE.js.map → chunk-MHF2NK7F.js.map} +1 -1
- package/dist/{chunk-JHUEYWWI.js → chunk-MPM6YBOM.js} +2 -2
- package/dist/{chunk-JHUEYWWI.js.map → chunk-MPM6YBOM.js.map} +1 -1
- package/dist/{chunk-3UEMBHBK.js → chunk-MPT6Y7Z2.js} +2 -2
- package/dist/{chunk-3UEMBHBK.js.map → chunk-MPT6Y7Z2.js.map} +1 -1
- package/dist/{chunk-OZKBIPXU.js → chunk-NO2XO7S6.js} +3 -3
- package/dist/{chunk-OZKBIPXU.js.map → chunk-NO2XO7S6.js.map} +1 -1
- package/dist/{chunk-FQETQ7CM.js → chunk-NSNQWDJ4.js} +2 -2
- package/dist/{chunk-FQETQ7CM.js.map → chunk-NSNQWDJ4.js.map} +1 -1
- package/dist/{chunk-UOBC36FL.js → chunk-OW2ODKHN.js} +2 -2
- package/dist/{chunk-UOBC36FL.js.map → chunk-OW2ODKHN.js.map} +1 -1
- package/dist/{chunk-PVKAIVKE.js → chunk-P427MACE.js} +63 -74
- package/dist/chunk-P427MACE.js.map +1 -0
- package/dist/{chunk-LET362AM.js → chunk-PBXTHYB4.js} +2 -2
- package/dist/chunk-PBXTHYB4.js.map +1 -0
- package/dist/{chunk-C4FBYP2D.js → chunk-PIYFVFPL.js} +9 -3
- package/dist/chunk-PIYFVFPL.js.map +1 -0
- package/dist/{chunk-FR5G77K5.js → chunk-PJKH2GZ3.js} +2 -2
- package/dist/{chunk-FR5G77K5.js.map → chunk-PJKH2GZ3.js.map} +1 -1
- package/dist/{chunk-FNJA4S6J.js → chunk-QNA27ABY.js} +3 -3
- package/dist/{chunk-FNJA4S6J.js.map → chunk-QNA27ABY.js.map} +1 -1
- package/dist/{chunk-RHMY45DK.js → chunk-QNB5DKKP.js} +5 -5
- package/dist/{chunk-RHMY45DK.js.map → chunk-QNB5DKKP.js.map} +1 -1
- package/dist/{chunk-XO5IOPM5.js → chunk-QWAAR5JX.js} +8 -8
- package/dist/{chunk-XO5IOPM5.js.map → chunk-QWAAR5JX.js.map} +1 -1
- package/dist/{chunk-6BXPN5SC.js → chunk-RO3TSZ5W.js} +3 -3
- package/dist/{chunk-6BXPN5SC.js.map → chunk-RO3TSZ5W.js.map} +1 -1
- package/dist/{chunk-4IXG6XCT.js → chunk-RUCUU7Z7.js} +2 -2
- package/dist/{chunk-4IXG6XCT.js.map → chunk-RUCUU7Z7.js.map} +1 -1
- package/dist/{chunk-QSJAIXLM.js → chunk-SDQZYSCA.js} +3 -3
- package/dist/{chunk-QSJAIXLM.js.map → chunk-SDQZYSCA.js.map} +1 -1
- package/dist/{chunk-3XSY5LAB.js → chunk-SXZTDJMG.js} +4 -4
- package/dist/{chunk-3XSY5LAB.js.map → chunk-SXZTDJMG.js.map} +1 -1
- package/dist/{chunk-LJV2FNOC.js → chunk-T7M5FKCE.js} +3 -3
- package/dist/{chunk-LJV2FNOC.js.map → chunk-T7M5FKCE.js.map} +1 -1
- package/dist/{chunk-KS7EXW4P.js → chunk-TIRBSPP2.js} +2 -2
- package/dist/{chunk-KS7EXW4P.js.map → chunk-TIRBSPP2.js.map} +1 -1
- package/dist/{chunk-2GEGIPDR.js → chunk-U5SQOZNK.js} +4 -4
- package/dist/{chunk-2GEGIPDR.js.map → chunk-U5SQOZNK.js.map} +1 -1
- package/dist/{chunk-Y4VR6VNM.js → chunk-UPOS666Q.js} +2 -2
- package/dist/{chunk-Y4VR6VNM.js.map → chunk-UPOS666Q.js.map} +1 -1
- package/dist/{chunk-YE6KCAIN.js → chunk-USSGJ3MD.js} +2 -2
- package/dist/{chunk-YE6KCAIN.js.map → chunk-USSGJ3MD.js.map} +1 -1
- package/dist/{chunk-4UWLHKNU.js → chunk-UWLJ7UEK.js} +3 -3
- package/dist/{chunk-4UWLHKNU.js.map → chunk-UWLJ7UEK.js.map} +1 -1
- package/dist/{chunk-SNUDT6AX.js → chunk-VHAYQGWR.js} +2 -2
- package/dist/{chunk-SNUDT6AX.js.map → chunk-VHAYQGWR.js.map} +1 -1
- package/dist/{chunk-DV6GE57V.js → chunk-VWGRAE2Q.js} +2 -2
- package/dist/chunk-VWGRAE2Q.js.map +1 -0
- package/dist/{chunk-4L5ZIKDZ.js → chunk-W7J3MQNV.js} +2 -2
- package/dist/{chunk-4L5ZIKDZ.js.map → chunk-W7J3MQNV.js.map} +1 -1
- package/dist/{chunk-MVWR5WRX.js → chunk-WWDDKUDW.js} +3 -3
- package/dist/{chunk-MVWR5WRX.js.map → chunk-WWDDKUDW.js.map} +1 -1
- package/dist/{chunk-4CYCJ3NY.js → chunk-XNSYDA6G.js} +10 -10
- package/dist/{chunk-4CYCJ3NY.js.map → chunk-XNSYDA6G.js.map} +1 -1
- package/dist/{chunk-WEQNPYVA.js → chunk-XXKRHKFH.js} +2 -2
- package/dist/{chunk-WEQNPYVA.js.map → chunk-XXKRHKFH.js.map} +1 -1
- package/dist/{chunk-OQFWF7Q7.js → chunk-XZ253TGP.js} +3 -3
- package/dist/{chunk-OQFWF7Q7.js.map → chunk-XZ253TGP.js.map} +1 -1
- package/dist/{chunk-3TBMGGTA.js → chunk-Y672Z7QY.js} +2 -2
- package/dist/{chunk-3TBMGGTA.js.map → chunk-Y672Z7QY.js.map} +1 -1
- package/dist/chunk-YM7VF5SY.js +22 -0
- package/dist/chunk-YM7VF5SY.js.map +1 -0
- package/dist/{chunk-S7QB5KMM.js → chunk-YRQ4KKLG.js} +29 -56
- package/dist/chunk-YRQ4KKLG.js.map +1 -0
- package/dist/{chunk-MMOQR426.js → chunk-YS3H6DEQ.js} +2 -2
- package/dist/{chunk-MMOQR426.js.map → chunk-YS3H6DEQ.js.map} +1 -1
- package/dist/{chunk-QR7MGGOM.js → chunk-YVGHWCMY.js} +3 -3
- package/dist/{chunk-QR7MGGOM.js.map → chunk-YVGHWCMY.js.map} +1 -1
- package/dist/{chunk-IPYQYLSX.js → chunk-ZDI5I2HT.js} +6 -6
- package/dist/{chunk-IPYQYLSX.js.map → chunk-ZDI5I2HT.js.map} +1 -1
- package/dist/{chunk-JAC6AVZN.js → chunk-ZIZXXYXM.js} +3 -3
- package/dist/{chunk-JAC6AVZN.js.map → chunk-ZIZXXYXM.js.map} +1 -1
- package/dist/collapsible-panel.d.ts +5 -5
- package/dist/collapsible-panel.js +4 -4
- package/dist/collapsible-panel.js.map +1 -1
- package/dist/color-field.js +2 -2
- package/dist/color-picker.js +1 -1
- package/dist/color-swatches.js +1 -1
- package/dist/column-explorer.d.ts +2 -2
- package/dist/column-explorer.js +166 -21
- package/dist/column-explorer.js.map +1 -1
- package/dist/column-track.d.ts +1 -1
- package/dist/column-track.js +1 -1
- package/dist/combobox.d.ts +8 -4
- package/dist/combobox.js +1 -1
- package/dist/compose-B_GFfFhm.d.ts +36 -0
- package/dist/content-item.d.ts +1 -1
- package/dist/content-item.js +1 -1
- package/dist/content-swap.d.ts +3 -3
- package/dist/content-swap.js +1 -1
- package/dist/corner-status.d.ts +3 -3
- package/dist/corner-status.js +1 -1
- package/dist/device-class.js +101 -1
- package/dist/device-class.js.map +1 -1
- package/dist/disclosure-arrow.d.ts +3 -3
- package/dist/disclosure-arrow.js +1 -1
- package/dist/disclosure.d.ts +14 -2
- package/dist/disclosure.js +13 -4
- package/dist/disclosure.js.map +1 -1
- package/dist/edge-activity-indicator.d.ts +3 -3
- package/dist/edge-activity-indicator.js +1 -1
- package/dist/empty-state.d.ts +3 -3
- package/dist/empty-state.js +1 -1
- package/dist/{extension-attributes-IJ4decoa.d.ts → extension-attributes-CnqvBmj3.d.ts} +1 -1
- package/dist/file-picker.d.ts +3 -3
- package/dist/file-picker.js +1 -1
- package/dist/floating-toolbar.d.ts +3 -3
- package/dist/floating-toolbar.js +1 -1
- package/dist/form.d.ts +3 -3
- package/dist/form.js +1 -1
- package/dist/framed-list.js +1 -1
- package/dist/gauge.js +1 -1
- package/dist/grid.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +66 -66
- package/dist/list-action-row.js +1 -1
- package/dist/list-detail-dialog.d.ts +3 -3
- package/dist/list-detail-dialog.js +7 -7
- package/dist/list-detail-dialog.js.map +1 -1
- package/dist/list-header.d.ts +1 -1
- package/dist/list-header.js +1 -1
- package/dist/list-inset-control.d.ts +3 -3
- package/dist/list-inset-control.js +1 -1
- package/dist/list-inset-text.js +1 -1
- package/dist/list-item.js +1 -1
- package/dist/list.d.ts +1 -1
- package/dist/list.js +1 -1
- package/dist/loading-spinner.d.ts +3 -3
- package/dist/loading-spinner.js +1 -1
- package/dist/lucide-icon.d.ts +3 -3
- package/dist/lucide-icon.js +1 -1
- package/dist/message-composer.js +1 -1
- package/dist/{nav-stack-DKrvqFjA.d.ts → nav-stack-IKSMxo2A.d.ts} +3 -3
- package/dist/nav-stack.d.ts +2 -2
- package/dist/nav-stack.js +1 -1
- package/dist/paged-view.d.ts +3 -3
- package/dist/paged-view.js +1 -1
- package/dist/paged-view.js.map +1 -1
- package/dist/pane.js +1 -1
- package/dist/popup-menu-register.js +7 -1
- package/dist/popup-menu-register.js.map +1 -1
- package/dist/popup-menu.d.ts +3 -20
- package/dist/popup-menu.js +1 -1
- package/dist/progress-bar.js +1 -1
- package/dist/progress-ring.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/resizable-region.d.ts +3 -3
- package/dist/resizable-region.js +1 -1
- package/dist/row.d.ts +1 -1
- package/dist/row.js +1 -1
- package/dist/scroll-effect.d.ts +1 -1
- package/dist/scroll-effect.js +1 -1
- package/dist/{search-field-7wLt3Bd5.d.ts → search-field-BA48RaJY.d.ts} +3 -3
- package/dist/search-field-model.d.ts +2 -2
- package/dist/search-field.d.ts +2 -2
- package/dist/search-field.js +1 -1
- package/dist/segmented-control.d.ts +3 -3
- package/dist/segmented-control.js +1 -1
- package/dist/select-register.js +3 -2
- package/dist/select-register.js.map +1 -1
- package/dist/select.d.ts +3 -13
- package/dist/select.js +1 -1
- package/dist/sized-region.d.ts +3 -3
- package/dist/sized-region.js +1 -1
- package/dist/skeleton.d.ts +3 -3
- package/dist/skeleton.js +1 -1
- package/dist/slider.js +1 -1
- package/dist/spacer.d.ts +3 -3
- package/dist/spacer.js +1 -1
- package/dist/split-button.js +1 -1
- package/dist/split-view.d.ts +4 -4
- package/dist/split-view.js +1 -1
- package/dist/state-banner.js +1 -1
- package/dist/styles/components/actions/popup-menu/popup-menu.css +12 -125
- package/dist/styles/components/actions/toolbar/toolbar.css +0 -7
- package/dist/styles/components/data-display/value-table/value-table.css +3 -1
- package/dist/styles/components/forms/select/select.css +0 -60
- package/dist/styles/components/forms/switch/switch.css +9 -0
- package/dist/styles/components/forms/text-field/text-field.css +1 -1
- package/dist/styles/components/surfaces/disclosure/disclosure.css +24 -4
- package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +1 -1
- package/dist/styles/disclosure.css +24 -4
- package/dist/styles/popup-menu.css +12 -125
- package/dist/styles/select.css +0 -60
- package/dist/styles/surface-scaffold.css +1 -1
- package/dist/styles/switch.css +9 -0
- package/dist/styles/text-field.css +1 -1
- package/dist/styles/toolbar.css +0 -7
- package/dist/styles/value-table.css +3 -1
- package/dist/styles/webawesome.css +7 -0
- package/dist/summary-row.js +1 -1
- package/dist/sunken-panel.d.ts +3 -3
- package/dist/sunken-panel.js +1 -1
- package/dist/surface-scaffold.d.ts +9 -5
- package/dist/surface-scaffold.js +1 -1
- package/dist/switch.d.ts +3 -1
- package/dist/switch.js +1 -1
- package/dist/tab-bar-item.js +1 -1
- package/dist/tab-bar.d.ts +3 -3
- package/dist/tab-bar.js +1 -1
- package/dist/tab-navigator.d.ts +3 -3
- package/dist/tab-navigator.js +2 -2
- package/dist/tab-navigator.js.map +1 -1
- package/dist/tab-panel.d.ts +3 -3
- package/dist/tab-panel.js +1 -1
- package/dist/tag-field.d.ts +3 -3
- package/dist/tag-field.js +1 -1
- package/dist/text-field.d.ts +2 -2
- package/dist/text-field.js +1 -1
- package/dist/text.d.ts +1 -1
- package/dist/text.js +1 -1
- package/dist/toolbar-control-group.d.ts +7 -7
- package/dist/toolbar-control-group.js +1 -1
- package/dist/toolbar-text.d.ts +3 -3
- package/dist/toolbar-text.js +1 -1
- package/dist/toolbar.d.ts +3 -3
- package/dist/toolbar.js +1 -1
- package/dist/tree-list.d.ts +3 -3
- package/dist/tree-list.js +151 -3
- package/dist/tree-list.js.map +1 -1
- package/dist/{tree-rows-Bms5QJvG.d.ts → tree-rows-BXChApji.d.ts} +1 -1
- package/dist/{types-DmHWkSd6.d.ts → types-CuKf5G87.d.ts} +6 -2
- package/dist/value-preview.d.ts +3 -3
- package/dist/value-preview.js +1 -1
- package/dist/value-table.d.ts +5 -5
- package/dist/value-table.js +1 -1
- package/dist/wire-catalog.d.ts +5 -5
- package/dist/wire-catalog.js +13 -4
- package/dist/wire-catalog.js.map +1 -1
- package/dist/wire-color-fields.js +73 -2
- package/dist/wire-color-fields.js.map +1 -1
- package/dist/wire-color-pickers.js +1 -1
- package/dist/wire-column-explorer.js +92 -1
- package/dist/wire-column-explorer.js.map +1 -1
- package/dist/wire-content-items.js +204 -1
- package/dist/wire-content-items.js.map +1 -1
- package/dist/wire-nav-stack.js +423 -1
- package/dist/wire-nav-stack.js.map +1 -1
- package/dist/wire-resizable-regions.js +1 -1
- package/dist/wire-search-fields.d.ts +2 -2
- package/dist/wire-search-fields.js +1 -1
- package/dist/wire-sidebar.js +228 -1
- package/dist/wire-sidebar.js.map +1 -1
- package/dist/wire-sliders.js +29 -1
- package/dist/wire-sliders.js.map +1 -1
- package/dist/wire-tab-bars.d.ts +1 -1
- package/dist/wire-tab-navigator.js +150 -1
- package/dist/wire-tab-navigator.js.map +1 -1
- package/dist/wire-tag-fields.js +252 -2
- package/dist/wire-tag-fields.js.map +1 -1
- package/dist/wire-tree-list.js +186 -1
- package/dist/wire-tree-list.js.map +1 -1
- package/dist/wire-workbench.js +1 -1
- package/dist/workbench-dialog.d.ts +3 -3
- package/dist/workbench-dialog.js +5 -5
- package/dist/workbench-dialog.js.map +1 -1
- package/dist/workbench.d.ts +4 -4
- package/dist/workbench.js +1 -1
- package/docs/accessibility.md +1 -1
- package/docs/catalog.md +59 -0
- package/docs/component-contract.md +4 -3
- package/docs/component-selection.md +7 -2
- package/docs/disclosure.md +22 -0
- package/docs/examples/composed-catalog.tsx +113 -0
- package/docs/examples/scoped-combobox.ts +99 -0
- package/docs/examples/typed-action-table.tsx +34 -0
- package/docs/forms-and-validation.md +2 -0
- package/docs/investigations/combobox-seed-ownership.md +49 -0
- package/docs/investigations/measure-scoped-combobox.mjs +87 -0
- package/docs/investigations/scoped-combobox.md +98 -0
- package/docs/list-detail-dialog.md +2 -3
- package/docs/scroll-effect.md +2 -2
- package/docs/surface-scaffold.md +5 -6
- package/docs/switch.md +21 -0
- package/docs/ui-doctor.md +16 -0
- package/docs/workbench-dialog.md +2 -3
- package/doctor/cli.mjs +38 -25
- package/doctor/explain-use.mjs +320 -0
- package/llms.txt +3 -44
- package/package.json +6 -33
- package/ux-demo/recipes/app-shell.tsx +141 -48
- package/ux-demo/recipes/collapsible-sidebar.tsx +169 -43
- package/ux-demo/recipes/compact-toolbar.tsx +114 -22
- package/ux-demo/recipes/composer-form.tsx +104 -14
- package/ux-demo/recipes/list-detail-dialog.tsx +84 -38
- package/ux-demo/recipes/list-workspace-states.tsx +152 -29
- package/ux-demo/recipes/loading-inspector.tsx +174 -30
- package/ux-demo/recipes/media-detail.tsx +146 -29
- package/ux-demo/recipes/navigation-sidebar.tsx +113 -24
- package/ux-demo/recipes/navigation-stack.tsx +43 -7
- package/ux-demo/recipes/workspace-header.tsx +66 -2
- package/ai/component-props-overlay.json +0 -8910
- package/ai/component-props-overlay.schema.json +0 -82
- package/ai/component-props.json +0 -34289
- package/ai/component-props.schema.json +0 -408
- package/ai/view-document.schema.json +0 -467
- package/dist/browser/editor.js +0 -50
- package/dist/chunk-3K5V3ZSD.js +0 -77
- package/dist/chunk-3K5V3ZSD.js.map +0 -1
- package/dist/chunk-63TJH2RF.js +0 -231
- package/dist/chunk-63TJH2RF.js.map +0 -1
- package/dist/chunk-6V6UHPJD.js +0 -153
- package/dist/chunk-6V6UHPJD.js.map +0 -1
- package/dist/chunk-76BLSFEA.js.map +0 -1
- package/dist/chunk-C4FBYP2D.js.map +0 -1
- package/dist/chunk-COQI4OMZ.js.map +0 -1
- package/dist/chunk-CUUW57WB.js.map +0 -1
- package/dist/chunk-D2KHQNJ6.js +0 -155
- package/dist/chunk-D2KHQNJ6.js.map +0 -1
- package/dist/chunk-DV6GE57V.js.map +0 -1
- package/dist/chunk-FCO7BT4P.js +0 -256
- package/dist/chunk-FCO7BT4P.js.map +0 -1
- package/dist/chunk-GHV36C6I.js +0 -94
- package/dist/chunk-GHV36C6I.js.map +0 -1
- package/dist/chunk-HPOXLOVC.js +0 -184
- package/dist/chunk-HPOXLOVC.js.map +0 -1
- package/dist/chunk-I2K4OQKB.js +0 -426
- package/dist/chunk-I2K4OQKB.js.map +0 -1
- package/dist/chunk-LET362AM.js.map +0 -1
- package/dist/chunk-PVKAIVKE.js.map +0 -1
- package/dist/chunk-RGB4DPMN.js.map +0 -1
- package/dist/chunk-S7QB5KMM.js.map +0 -1
- package/dist/chunk-SGYBIKQA.js.map +0 -1
- package/dist/chunk-TXBNPEIJ.js +0 -31
- package/dist/chunk-TXBNPEIJ.js.map +0 -1
- package/dist/chunk-UU37OR3D.js.map +0 -1
- package/dist/chunk-WCMGPAY2.js +0 -103
- package/dist/chunk-WCMGPAY2.js.map +0 -1
- package/dist/chunk-WSPXSWFG.js.map +0 -1
- package/dist/chunk-X43QQWVC.js +0 -208
- package/dist/chunk-X43QQWVC.js.map +0 -1
- package/dist/chunk-YA6OAJY6.js +0 -155
- package/dist/chunk-YA6OAJY6.js.map +0 -1
- package/dist/editor.d.ts +0 -447
- package/dist/editor.js +0 -15608
- package/dist/editor.js.map +0 -1
- package/dist/styles/editor/editor.css +0 -585
- package/dist/styles/editor.css +0 -4
- package/dist/view-runtime.d.ts +0 -9
- package/dist/view-runtime.js +0 -8
- package/dist/view-runtime.js.map +0 -1
- package/docs/editor-host.md +0 -397
- package/docs/view.md +0 -314
- package/props/cli.d.mts +0 -1
- package/props/cli.mjs +0 -142
- package/props/component-props.d.mts +0 -180
- package/props/component-props.mjs +0 -1208
- package/view/catalog.mjs +0 -229
- package/view/child-kind.mjs +0 -22
- package/view/cli.d.mts +0 -18
- package/view/cli.mjs +0 -316
- package/view/contract.mjs +0 -418
- package/view/css-grammar.mjs +0 -93
- package/view/generate.d.mts +0 -16
- package/view/generate.mjs +0 -739
- package/view/index.d.mts +0 -491
- package/view/index.mjs +0 -36
- package/view/interpret.mjs +0 -339
- package/view/project-types-worker.mjs +0 -55
- package/view/project-types.d.mts +0 -43
- package/view/project-types.mjs +0 -618
- package/view/type-expression.d.mts +0 -15
- package/view/type-expression.mjs +0 -162
- package/view/types.mjs +0 -165
- package/view/validate-move.mjs +0 -353
- package/view/validate.mjs +0 -1649
- package/vite-editor.d.mts +0 -173
- package/vite-editor.mjs +0 -548
|
@@ -1,585 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Editor-owned structure only. The canvas is a positioning context for the
|
|
3
|
-
* selection highlight drawn over the selected node; no Kerf UI component is
|
|
4
|
-
* selected or restyled here. The highlight reuses the theme's focus ring so
|
|
5
|
-
* it follows light, dark, and forced-colors modes.
|
|
6
|
-
*/
|
|
7
|
-
.kui-editor__canvas {
|
|
8
|
-
position: relative;
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
min-block-size: 100%;
|
|
11
|
-
/* KF-C4EW1V: a gutter around the preview, so the selection ring and drop
|
|
12
|
-
lines show whole around a node at the canvas's edge. */
|
|
13
|
-
padding: var(--kui-space-s);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.kui-editor__selection {
|
|
17
|
-
position: absolute;
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
outline: var(--kui-focus-ring);
|
|
20
|
-
outline-offset: 1px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.kui-editor__selection[hidden] {
|
|
24
|
-
display: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* KF-CWDE93: where a node dragged on the canvas would land: a line beside
|
|
28
|
-
the target, or a ring around it. */
|
|
29
|
-
.kui-editor__drop {
|
|
30
|
-
position: absolute;
|
|
31
|
-
z-index: 1;
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.kui-editor__drop[data-drop="line"] {
|
|
36
|
-
border-radius: var(--kui-radius-pill);
|
|
37
|
-
background: var(--kui-color-brand-border-loud);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.kui-editor__drop[data-drop="ring"] {
|
|
41
|
-
outline: 2px solid var(--kui-color-brand-border-loud);
|
|
42
|
-
outline-offset: 1px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.kui-editor__drop[hidden] {
|
|
46
|
-
display: none;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* KF-WKABP2: a container's zones while a drag rests over it, where its
|
|
50
|
-
layout renders them; the drop ring marks the one the pointer picks. */
|
|
51
|
-
.kui-editor__zone-ghost {
|
|
52
|
-
position: absolute;
|
|
53
|
-
z-index: 1;
|
|
54
|
-
box-sizing: border-box;
|
|
55
|
-
border: 1px dashed var(--kui-color-brand-border-loud);
|
|
56
|
-
border-radius: var(--kui-radius-s);
|
|
57
|
-
background: color-mix(
|
|
58
|
-
in srgb,
|
|
59
|
-
var(--kui-color-brand-border-loud) 6%,
|
|
60
|
-
transparent
|
|
61
|
-
);
|
|
62
|
-
pointer-events: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.kui-editor__zone-ghost[data-chosen] {
|
|
66
|
-
background: color-mix(
|
|
67
|
-
in srgb,
|
|
68
|
-
var(--kui-color-brand-border-loud) 14%,
|
|
69
|
-
transparent
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.kui-editor__zone-ghosts[hidden] {
|
|
74
|
-
display: none;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@media (forced-colors: active) {
|
|
78
|
-
.kui-editor__zone-ghost {
|
|
79
|
-
border-color: Highlight;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/* KF-Y4GHQV: the caption saying where a drag lands, beside its line or
|
|
84
|
-
inside its ring; the dimmed place of a node moved on the canvas; and the
|
|
85
|
-
chip naming what is dragged, which follows the pointer. Each only places
|
|
86
|
-
the Badge it holds. */
|
|
87
|
-
.kui-editor__drop-caption,
|
|
88
|
-
.kui-editor__drag-source {
|
|
89
|
-
position: absolute;
|
|
90
|
-
z-index: 1;
|
|
91
|
-
pointer-events: none;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.kui-editor__drop-caption[data-side="on"] {
|
|
95
|
-
transform: translate(-100%, -50%);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.kui-editor__drag-source {
|
|
99
|
-
/* The canvas's own surface, mostly over the node, so it reads as lifted. */
|
|
100
|
-
background: var(--kui-color-surface-current);
|
|
101
|
-
opacity: 0.7;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/* KF-Z54E4H: a manual popover while a drag lasts, so it draws over the
|
|
105
|
-
top-layer Library; the popover's UA box (centered, framed) is cleared. */
|
|
106
|
-
.kui-editor__drag-chip {
|
|
107
|
-
position: fixed;
|
|
108
|
-
z-index: 2;
|
|
109
|
-
overflow: visible;
|
|
110
|
-
margin: 0;
|
|
111
|
-
border: 0;
|
|
112
|
-
padding: 0;
|
|
113
|
-
background: none;
|
|
114
|
-
color: inherit;
|
|
115
|
-
pointer-events: none;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.kui-editor__drop-caption[hidden],
|
|
119
|
-
.kui-editor__drag-source[hidden],
|
|
120
|
-
.kui-editor__drag-chip[hidden] {
|
|
121
|
-
display: none;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@media (forced-colors: active) {
|
|
125
|
-
.kui-editor__drop[data-drop="line"] {
|
|
126
|
-
background: Highlight;
|
|
127
|
-
forced-color-adjust: none;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.kui-editor__drop[data-drop="ring"] {
|
|
131
|
-
outline-color: Highlight;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/* KF-ZWJHJR: an empty container on the canvas shows where its children go,
|
|
136
|
-
so it has a size to see, select, and drop into. It never grows past the
|
|
137
|
-
zone that holds it (KF-K3EKKF): an empty Toolbar's zones in a narrow
|
|
138
|
-
column each keep their own target instead of overlapping. */
|
|
139
|
-
.kui-editor__empty {
|
|
140
|
-
display: flex;
|
|
141
|
-
flex: 1 1 auto;
|
|
142
|
-
align-items: center;
|
|
143
|
-
justify-content: center;
|
|
144
|
-
box-sizing: border-box;
|
|
145
|
-
min-block-size: 44px;
|
|
146
|
-
min-inline-size: min(160px, 100%);
|
|
147
|
-
padding: var(--kui-space-s) var(--kui-space-m);
|
|
148
|
-
border: 1px dashed var(--kui-color-neutral-border-normal);
|
|
149
|
-
border-radius: var(--kui-radius-m);
|
|
150
|
-
text-align: center;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/* KF-60BEEJ: play mode. The editing UI stays mounted while playing, so its
|
|
154
|
-
wrapper adds no box of its own and hides as a whole. */
|
|
155
|
-
.kui-editor__editing {
|
|
156
|
-
display: contents;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.kui-editor__editing[hidden] {
|
|
160
|
-
display: none;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/* The stage centers the device on a lowered backdrop. Fit scales the device
|
|
164
|
-
to it, so nothing overflows; a fixed scale may overflow, and the stage
|
|
165
|
-
then scrolls (KF-R7KXSN). */
|
|
166
|
-
.kui-editor__stage {
|
|
167
|
-
display: flex;
|
|
168
|
-
flex: 1 1 auto;
|
|
169
|
-
min-block-size: 0;
|
|
170
|
-
overflow: auto;
|
|
171
|
-
padding: var(--kui-space-l);
|
|
172
|
-
background: var(--kui-color-surface-lowered);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/* The room the scaled device takes; the editor sets its size as the stage
|
|
176
|
-
and the device change. */
|
|
177
|
-
.kui-editor__device-box {
|
|
178
|
-
position: relative;
|
|
179
|
-
flex: none;
|
|
180
|
-
margin: auto;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/* Scales the device from its top-left corner into the box. */
|
|
184
|
-
.kui-editor__device-scaler {
|
|
185
|
-
position: absolute;
|
|
186
|
-
top: 0;
|
|
187
|
-
left: 0;
|
|
188
|
-
transform-origin: 0 0;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/* KF-E8T0AY: the mock device's body. Its padding is the bezel, plus a foot
|
|
192
|
-
(a laptop's deck, a monitor's stand) below it, by frame and orientation.
|
|
193
|
-
The padding stays when Chrome hides the frame, so hiding it never moves
|
|
194
|
-
the view; every drawn part is decoration that ignores the pointer. */
|
|
195
|
-
.kui-editor__device-body {
|
|
196
|
-
--_kui-editor-bezel-top: 0px;
|
|
197
|
-
--_kui-editor-bezel-end: 0px;
|
|
198
|
-
--_kui-editor-bezel-bottom: 0px;
|
|
199
|
-
--_kui-editor-bezel-start: 0px;
|
|
200
|
-
--_kui-editor-foot: 0px;
|
|
201
|
-
--_kui-editor-radius: 0px;
|
|
202
|
-
--_kui-editor-screen-radius: 0px;
|
|
203
|
-
--_kui-editor-body-fill: var(--kui-color-neutral-fill-loud);
|
|
204
|
-
position: relative;
|
|
205
|
-
padding: var(--_kui-editor-bezel-top) var(--_kui-editor-bezel-end)
|
|
206
|
-
calc(var(--_kui-editor-bezel-bottom) + var(--_kui-editor-foot))
|
|
207
|
-
var(--_kui-editor-bezel-start);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.kui-editor__device-body:is(
|
|
211
|
-
[data-frame="dynamic-island"],
|
|
212
|
-
[data-frame="punch-hole"]
|
|
213
|
-
) {
|
|
214
|
-
--_kui-editor-bezel-top: 12px;
|
|
215
|
-
--_kui-editor-bezel-end: 12px;
|
|
216
|
-
--_kui-editor-bezel-bottom: 12px;
|
|
217
|
-
--_kui-editor-bezel-start: 12px;
|
|
218
|
-
--_kui-editor-radius: 64px;
|
|
219
|
-
--_kui-editor-screen-radius: 52px;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.kui-editor__device-body[data-frame="punch-hole"] {
|
|
223
|
-
--_kui-editor-radius: 48px;
|
|
224
|
-
--_kui-editor-screen-radius: 36px;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/* A Home-button phone: tall bezels above and below the screen (beside it in
|
|
228
|
-
landscape), the button in the lower one. */
|
|
229
|
-
.kui-editor__device-body[data-frame="home-button"] {
|
|
230
|
-
--_kui-editor-bezel-top: 72px;
|
|
231
|
-
--_kui-editor-bezel-end: 14px;
|
|
232
|
-
--_kui-editor-bezel-bottom: 72px;
|
|
233
|
-
--_kui-editor-bezel-start: 14px;
|
|
234
|
-
--_kui-editor-radius: 56px;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.kui-editor__device-body[data-frame="home-button"][data-orientation="landscape"] {
|
|
238
|
-
--_kui-editor-bezel-top: 14px;
|
|
239
|
-
--_kui-editor-bezel-end: 72px;
|
|
240
|
-
--_kui-editor-bezel-bottom: 14px;
|
|
241
|
-
--_kui-editor-bezel-start: 72px;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.kui-editor__device-body[data-frame="tablet"] {
|
|
245
|
-
--_kui-editor-bezel-top: 20px;
|
|
246
|
-
--_kui-editor-bezel-end: 20px;
|
|
247
|
-
--_kui-editor-bezel-bottom: 20px;
|
|
248
|
-
--_kui-editor-bezel-start: 20px;
|
|
249
|
-
--_kui-editor-radius: 40px;
|
|
250
|
-
--_kui-editor-screen-radius: 20px;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/* A laptop: a bezel with a window title bar above the screen, on a deck. */
|
|
254
|
-
.kui-editor__device-body[data-frame="laptop"] {
|
|
255
|
-
--_kui-editor-bezel-top: 48px;
|
|
256
|
-
--_kui-editor-bezel-end: 14px;
|
|
257
|
-
--_kui-editor-bezel-bottom: 14px;
|
|
258
|
-
--_kui-editor-bezel-start: 14px;
|
|
259
|
-
--_kui-editor-foot: 18px;
|
|
260
|
-
--_kui-editor-radius: 18px;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/* A monitor: a bezel on a stand. */
|
|
264
|
-
.kui-editor__device-body[data-frame="monitor"] {
|
|
265
|
-
--_kui-editor-bezel-top: 16px;
|
|
266
|
-
--_kui-editor-bezel-end: 16px;
|
|
267
|
-
--_kui-editor-bezel-bottom: 16px;
|
|
268
|
-
--_kui-editor-bezel-start: 16px;
|
|
269
|
-
--_kui-editor-foot: 96px;
|
|
270
|
-
--_kui-editor-radius: 12px;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.kui-editor__device-bezel,
|
|
274
|
-
.kui-editor__device-foot {
|
|
275
|
-
position: absolute;
|
|
276
|
-
pointer-events: none;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.kui-editor__device-bezel {
|
|
280
|
-
inset: 0 0 var(--_kui-editor-foot);
|
|
281
|
-
border-radius: var(--_kui-editor-radius);
|
|
282
|
-
background: var(--_kui-editor-body-fill);
|
|
283
|
-
box-shadow: inset 0 0 0 1px var(--kui-color-neutral-border-loud);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.kui-editor__device-body[data-frame="none"] .kui-editor__device-bezel,
|
|
287
|
-
.kui-editor__device-body:not([data-frame="laptop"], [data-frame="monitor"])
|
|
288
|
-
.kui-editor__device-foot {
|
|
289
|
-
display: none;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.kui-editor__device-foot {
|
|
293
|
-
inset: auto 0 0;
|
|
294
|
-
block-size: var(--_kui-editor-foot);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
/* The laptop's deck, the width of the screen's body. */
|
|
298
|
-
.kui-editor__device-body[data-frame="laptop"] .kui-editor__device-foot {
|
|
299
|
-
border-radius: 0 0 14px 14px;
|
|
300
|
-
background: var(--_kui-editor-body-fill);
|
|
301
|
-
box-shadow: inset 0 0 0 1px var(--kui-color-neutral-border-loud);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/* The monitor's stand: a neck and a base. */
|
|
305
|
-
.kui-editor__device-body[data-frame="monitor"] .kui-editor__device-foot {
|
|
306
|
-
background:
|
|
307
|
-
linear-gradient(var(--_kui-editor-body-fill), var(--_kui-editor-body-fill))
|
|
308
|
-
center top / 12% calc(100% - 12px) no-repeat,
|
|
309
|
-
linear-gradient(var(--_kui-editor-body-fill), var(--_kui-editor-body-fill))
|
|
310
|
-
center bottom / 32% 12px no-repeat;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/* The laptop's window title bar, in the bezel above the screen, with three
|
|
314
|
-
neutral window controls. */
|
|
315
|
-
.kui-editor__device-titlebar {
|
|
316
|
-
display: none;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.kui-editor__device-body[data-frame="laptop"] .kui-editor__device-titlebar {
|
|
320
|
-
position: absolute;
|
|
321
|
-
inset: 14px 14px auto;
|
|
322
|
-
display: flex;
|
|
323
|
-
block-size: 34px;
|
|
324
|
-
align-items: center;
|
|
325
|
-
gap: 8px;
|
|
326
|
-
box-sizing: border-box;
|
|
327
|
-
padding-inline: 12px;
|
|
328
|
-
border-radius: 8px 8px 0 0;
|
|
329
|
-
background: var(--kui-color-surface-raised);
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.kui-editor__device-titlebar > span {
|
|
333
|
-
inline-size: 12px;
|
|
334
|
-
block-size: 12px;
|
|
335
|
-
border-radius: var(--kui-radius-circle);
|
|
336
|
-
background: var(--kui-color-neutral-border-loud);
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
/* A Home-button phone's button, centered in its lower bezel. */
|
|
340
|
-
.kui-editor__device-button {
|
|
341
|
-
display: none;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
.kui-editor__device-body[data-frame="home-button"] .kui-editor__device-button {
|
|
345
|
-
position: absolute;
|
|
346
|
-
inset-block-end: 14px;
|
|
347
|
-
inset-inline-start: 50%;
|
|
348
|
-
display: block;
|
|
349
|
-
inline-size: 44px;
|
|
350
|
-
block-size: 44px;
|
|
351
|
-
box-sizing: border-box;
|
|
352
|
-
border: 2px solid var(--kui-color-neutral-on-loud);
|
|
353
|
-
border-radius: var(--kui-radius-circle);
|
|
354
|
-
opacity: 0.6;
|
|
355
|
-
translate: -50% 0;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.kui-editor__device-body[data-frame="home-button"][data-orientation="landscape"]
|
|
359
|
-
.kui-editor__device-button {
|
|
360
|
-
inset-block: 50% auto;
|
|
361
|
-
inset-inline: auto 14px;
|
|
362
|
-
translate: 0 -50%;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/* The device's whole screen, with its edge outside it. In a browser tab the
|
|
366
|
-
frame sits inside it, below and beside the browser's chrome. */
|
|
367
|
-
.kui-editor__device {
|
|
368
|
-
position: relative;
|
|
369
|
-
box-sizing: content-box;
|
|
370
|
-
overflow: hidden;
|
|
371
|
-
border: 1px solid var(--kui-color-neutral-border-normal);
|
|
372
|
-
border-radius: var(--_kui-editor-screen-radius);
|
|
373
|
-
background: var(--kui-color-surface-raised);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/* The screen's drawn parts: over the view, never in its way. */
|
|
377
|
-
.kui-editor__device-status,
|
|
378
|
-
.kui-editor__device-cutout,
|
|
379
|
-
.kui-editor__device-address,
|
|
380
|
-
.kui-editor__device-home {
|
|
381
|
-
position: absolute;
|
|
382
|
-
z-index: 1;
|
|
383
|
-
display: none;
|
|
384
|
-
pointer-events: none;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
/* The status bar fills the device's top safe area, above a tab's top
|
|
388
|
-
toolbar when it has one. Phones hide it in landscape. */
|
|
389
|
-
.kui-editor__device-body:is(
|
|
390
|
-
[data-frame="dynamic-island"],
|
|
391
|
-
[data-frame="punch-hole"],
|
|
392
|
-
[data-frame="home-button"]
|
|
393
|
-
)[data-orientation="portrait"]
|
|
394
|
-
.kui-editor__device-status,
|
|
395
|
-
.kui-editor__device-body[data-frame="tablet"] .kui-editor__device-status {
|
|
396
|
-
inset: 0 0 auto;
|
|
397
|
-
display: flex;
|
|
398
|
-
block-size: var(--_kui-editor-status);
|
|
399
|
-
align-items: center;
|
|
400
|
-
justify-content: space-between;
|
|
401
|
-
box-sizing: border-box;
|
|
402
|
-
overflow: hidden;
|
|
403
|
-
padding-inline: 32px 24px;
|
|
404
|
-
color: var(--kui-color-text);
|
|
405
|
-
font-size: 15px;
|
|
406
|
-
font-weight: 600;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
.kui-editor__device-body:is([data-frame="tablet"], [data-frame="home-button"])
|
|
410
|
-
.kui-editor__device-status {
|
|
411
|
-
padding-inline: 16px;
|
|
412
|
-
font-size: 12px;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
/* A camera cutout: a pill below the top edge, or a round hole; at the
|
|
416
|
-
leading edge in landscape (a hole on the trailing edge). */
|
|
417
|
-
.kui-editor__device-cutout {
|
|
418
|
-
border-radius: var(--kui-radius-pill);
|
|
419
|
-
background: #000;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
.kui-editor__device-body[data-frame="dynamic-island"]
|
|
423
|
-
.kui-editor__device-cutout {
|
|
424
|
-
inset: 11px auto auto 50%;
|
|
425
|
-
display: block;
|
|
426
|
-
inline-size: 126px;
|
|
427
|
-
block-size: 37px;
|
|
428
|
-
translate: -50% 0;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
.kui-editor__device-body[data-frame="dynamic-island"][data-orientation="landscape"]
|
|
432
|
-
.kui-editor__device-cutout {
|
|
433
|
-
inset: 50% auto auto 11px;
|
|
434
|
-
inline-size: 37px;
|
|
435
|
-
block-size: 126px;
|
|
436
|
-
translate: 0 -50%;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.kui-editor__device-body[data-frame="punch-hole"] .kui-editor__device-cutout {
|
|
440
|
-
inset: 14px auto auto 50%;
|
|
441
|
-
display: block;
|
|
442
|
-
inline-size: 22px;
|
|
443
|
-
block-size: 22px;
|
|
444
|
-
translate: -50% 0;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.kui-editor__device-body[data-frame="punch-hole"][data-orientation="landscape"]
|
|
448
|
-
.kui-editor__device-cutout {
|
|
449
|
-
inset: 50% 14px auto auto;
|
|
450
|
-
translate: 0 -50%;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
/* A browser tab's address bar, a pill no taller than Safari's: at the top
|
|
454
|
-
of its bottom toolbar band when the band has room for one, or centered in
|
|
455
|
-
the top toolbar band below the status bar (iPad Safari, Chrome for
|
|
456
|
-
Android, iPhone landscape). */
|
|
457
|
-
.kui-editor__device-body:is([data-toolbar="bottom"], [data-toolbar="top"])
|
|
458
|
-
.kui-editor__device-address {
|
|
459
|
-
display: block;
|
|
460
|
-
border-radius: var(--kui-radius-pill);
|
|
461
|
-
background: var(--kui-color-neutral-fill-normal);
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
.kui-editor__device-body[data-toolbar="bottom"] .kui-editor__device-address {
|
|
465
|
-
inset: calc(100% - var(--_kui-editor-bottom) + 3px) 20% auto;
|
|
466
|
-
block-size: min(calc(var(--_kui-editor-bottom) - 19px), 40px);
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
.kui-editor__device-body[data-toolbar="top"] .kui-editor__device-address {
|
|
470
|
-
--_kui-editor-address: min(calc(var(--_kui-editor-toolbar) - 14px), 36px);
|
|
471
|
-
|
|
472
|
-
inset: calc(
|
|
473
|
-
var(--_kui-editor-status) +
|
|
474
|
-
(var(--_kui-editor-toolbar) - var(--_kui-editor-address)) / 2
|
|
475
|
-
)
|
|
476
|
-
12% auto;
|
|
477
|
-
block-size: var(--_kui-editor-address);
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
/* The home indicator, along the bottom edge. */
|
|
481
|
-
.kui-editor__device-body:is(
|
|
482
|
-
[data-frame="dynamic-island"],
|
|
483
|
-
[data-frame="punch-hole"],
|
|
484
|
-
[data-frame="tablet"]
|
|
485
|
-
)
|
|
486
|
-
.kui-editor__device-home {
|
|
487
|
-
inset: auto auto 6px 50%;
|
|
488
|
-
display: block;
|
|
489
|
-
inline-size: min(134px, 36%);
|
|
490
|
-
block-size: 5px;
|
|
491
|
-
border-radius: var(--kui-radius-pill);
|
|
492
|
-
background: var(--kui-color-text);
|
|
493
|
-
translate: -50% 0;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
.kui-editor__device-body[data-frame="tablet"] .kui-editor__device-home {
|
|
497
|
-
inline-size: min(320px, 30%);
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
/* Chrome off: nothing drawn, the same layout. */
|
|
501
|
-
.kui-editor__device-body[data-chrome="false"]
|
|
502
|
-
:is(
|
|
503
|
-
.kui-editor__device-bezel,
|
|
504
|
-
.kui-editor__device-foot,
|
|
505
|
-
.kui-editor__device-status,
|
|
506
|
-
.kui-editor__device-cutout,
|
|
507
|
-
.kui-editor__device-address,
|
|
508
|
-
.kui-editor__device-home
|
|
509
|
-
) {
|
|
510
|
-
visibility: hidden;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.kui-editor__device-body[data-chrome="false"] .kui-editor__device {
|
|
514
|
-
border-radius: 0;
|
|
515
|
-
background: var(--kui-color-neutral-fill-quiet);
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
/* The played view's frame: the device's viewport. */
|
|
519
|
-
.kui-editor__device-frame {
|
|
520
|
-
position: absolute;
|
|
521
|
-
display: block;
|
|
522
|
-
border: 0;
|
|
523
|
-
background: var(--kui-color-surface);
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
/* Flexible's resize handles, along the device's trailing and bottom edges
|
|
527
|
-
(outside the scaled device, so they stay a constant size). */
|
|
528
|
-
.kui-editor__resize {
|
|
529
|
-
position: absolute;
|
|
530
|
-
z-index: 1;
|
|
531
|
-
border-radius: var(--kui-radius-pill);
|
|
532
|
-
background: var(--kui-color-neutral-border-normal);
|
|
533
|
-
touch-action: none;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
.kui-editor__resize[hidden] {
|
|
537
|
-
display: none;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
.kui-editor__resize[data-edge="inline-end"] {
|
|
541
|
-
inset-block: 50% auto;
|
|
542
|
-
inset-inline-start: calc(100% + var(--kui-space-2xs));
|
|
543
|
-
inline-size: 6px;
|
|
544
|
-
block-size: 48px;
|
|
545
|
-
translate: 0 -50%;
|
|
546
|
-
cursor: ew-resize;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
.kui-editor__resize[data-edge="block-end"] {
|
|
550
|
-
inset-inline: 50% auto;
|
|
551
|
-
inset-block-start: calc(100% + var(--kui-space-2xs));
|
|
552
|
-
inline-size: 48px;
|
|
553
|
-
block-size: 6px;
|
|
554
|
-
translate: -50% 0;
|
|
555
|
-
cursor: ns-resize;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.kui-editor__resize:hover,
|
|
559
|
-
.kui-editor__resize[data-dragging] {
|
|
560
|
-
background: var(--kui-color-brand-border-loud);
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
.kui-editor__resize:focus-visible {
|
|
564
|
-
outline: var(--kui-focus-ring);
|
|
565
|
-
outline-offset: 2px;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
/* KF-RF6RCS: the play bar's action log, in its anchored surface: a readable
|
|
569
|
-
width for its rows, within the window. */
|
|
570
|
-
.kui-editor__action-log {
|
|
571
|
-
inline-size: min(380px, calc(100vw - 48px));
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
/* KF-JC7WTW: a palette tile's thumbnail of its component, drawn in its
|
|
575
|
-
shadow root and scaled to fit; its icon shows while the component renders
|
|
576
|
-
nothing until it opens. */
|
|
577
|
-
.kui-editor__palette-thumb {
|
|
578
|
-
position: relative;
|
|
579
|
-
display: grid;
|
|
580
|
-
place-items: center;
|
|
581
|
-
aspect-ratio: 4 / 3;
|
|
582
|
-
overflow: hidden;
|
|
583
|
-
pointer-events: none;
|
|
584
|
-
color: var(--kui-color-text-quiet);
|
|
585
|
-
}
|
package/dist/styles/editor.css
DELETED
package/dist/view-runtime.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SafeHtml } from 'kerfjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Preserve component prop inference behind a curried call boundary. Rollup's
|
|
5
|
-
* effect analysis stays linear through large generated component trees.
|
|
6
|
-
*/
|
|
7
|
-
declare function kuiComponent<P>(component: (props: P) => SafeHtml): (props: P) => SafeHtml;
|
|
8
|
-
|
|
9
|
-
export { kuiComponent };
|
package/dist/view-runtime.js
DELETED
package/dist/view-runtime.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/view-runtime/kui-component.ts"],"names":[],"mappings":";AAMO,SAAS,aACd,SAAA,EACwB;AACxB,EAAA,OAAO,CAAC,KAAA,KAAU,SAAA,CAAU,KAAK,CAAA;AACnC","file":"view-runtime.js","sourcesContent":["import type { SafeHtml } from 'kerfjs';\n\n/**\n * Preserve component prop inference behind a curried call boundary. Rollup's\n * effect analysis stays linear through large generated component trees.\n */\nexport function kuiComponent<P>(\n component: (props: P) => SafeHtml,\n): (props: P) => SafeHtml {\n return (props) => component(props);\n}\n"]}
|