@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
package/llms.txt
CHANGED
|
@@ -140,29 +140,6 @@ explains when to reuse, compose, extend, or use native HTML.
|
|
|
140
140
|
surface; the composition layer joins catalogs by `package:id`. Consumer
|
|
141
141
|
composition catalogs use
|
|
142
142
|
[the composition extension schema](./ai/component-composition-extension.schema.json).
|
|
143
|
-
A tool that needs structured props (an inspector form, a document
|
|
144
|
-
validator, or a generated typed contract) loads
|
|
145
|
-
[component props](./ai/component-props.json) (schema alongside). It is
|
|
146
|
-
generated from the published declarations and Web Awesome's manifest, and
|
|
147
|
-
gives each component's props as a type grammar with required, default, enum
|
|
148
|
-
values, zone or slot, css-value grammar, and discriminated `variants`. Named
|
|
149
|
-
types live once in `definitions`. A component package generates its own
|
|
150
|
-
with `kerf-ui-props --write` after its build. Join it by `key` (`package:id`, or
|
|
151
|
-
`package:id#Export`).
|
|
152
|
-
A tool that reads or writes Kerf UI view documents (`*.kui.json`, the
|
|
153
|
-
editor's JSON source of truth) validates them with `validateView` from
|
|
154
|
-
`@kerfjs/ui/view` against `component-props.json` and
|
|
155
|
-
`component-composition.json`. The shape schema is
|
|
156
|
-
[view-document.schema.json](./ai/view-document.schema.json). A zone key
|
|
157
|
-
may name a content field inside a prop value (`leftRail.content`,
|
|
158
|
-
`views.0.content`) to put nodes there. Generate the
|
|
159
|
-
read-only `*.view.ts` module with `kerf-ui-view generate <doc>`. Never edit
|
|
160
|
-
it; `kerf-ui-view check` fails on hand edits, and `kerf-ui-view diff` lists
|
|
161
|
-
breaking contract changes first. A server-driven app renders documents at
|
|
162
|
-
runtime with `interpretView`, passing the `<name>Contract` from a
|
|
163
|
-
`--declarations-only` module so a changed document fails loudly. The
|
|
164
|
-
[view documents guide](./docs/view.md) covers the format, the generated
|
|
165
|
-
module and its contract, the CLI, and the `@kerfjs/ui/view` API.
|
|
166
143
|
Load [compile-time contracts](./ai/compile-time-contracts-v1.json) for stable
|
|
167
144
|
`KUI-T###` ids, exact declaration symbols, and the boundary between rejected
|
|
168
145
|
source states and relationships that still require runtime/catalog checks.
|
|
@@ -499,13 +476,7 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
|
|
|
499
476
|
`popupNote` (on `Select` and `PopupMenu`) is quiet text at the bottom of
|
|
500
477
|
the open popup, announced as the listbox's or menu's description; use it
|
|
501
478
|
for what the choices leave out, notably in a toolbar Select, which has no
|
|
502
|
-
room for a `hint` below its trigger.
|
|
503
|
-
popup open at its trigger, in the document, and inert: in flow below the
|
|
504
|
-
trigger (a Select's listbox before its `hint`), or overlaying inside a
|
|
505
|
-
Toolbar so the control band keeps its height (no opening, no choosing, no row focus, no
|
|
506
|
-
`data-action`); PopupMenu `embeddedSubmenu` (a path of `items` indices)
|
|
507
|
-
also shows that submenu open beside its item: a static preview such as the Kerf UI editor's
|
|
508
|
-
edit canvas, never a replacement for an interactive popup.
|
|
479
|
+
room for a `hint` below its trigger.
|
|
509
480
|
- **Trust the defaults.** Render a control at its natural size and color (a
|
|
510
481
|
`LucideIcon` is 24px); if it looks wrong, fix the surrounding layout, not the
|
|
511
482
|
control. Never force a component's width/height to size it — that leaves a halo
|
|
@@ -945,7 +916,8 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
|
|
|
945
916
|
native details element with a DisclosureArrow on content-item geometry,
|
|
946
917
|
`plain` / `framed` / `sunken`, or `embedded` inside a `ContentItem` (no
|
|
947
918
|
margin, border, or padding of its own, a compact summary, `flush` `Text`
|
|
948
|
-
content);
|
|
919
|
+
content); `size="compact"` (a 14px arrow and extra-small type) for a small
|
|
920
|
+
quiet in-content disclosure; Disclosures sharing a `name` form an accordion. Never use `wa-details` or `wa-accordion`.
|
|
949
921
|
- **Show progress with `ProgressBar` or `ProgressRing`** (`@kerfjs/ui/progress-bar`,
|
|
950
922
|
`@kerfjs/ui/progress-ring`): `value` of `max` (omit `value` for
|
|
951
923
|
indeterminate), a `label`, `valueText`, tones. Never use `wa-progress-bar` or
|
|
@@ -960,13 +932,6 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
|
|
|
960
932
|
- **Collect tags with `TagField`** (`@kerfjs/ui/tag-field`): SearchField's
|
|
961
933
|
token editor as a form field, a hidden input per tag; call
|
|
962
934
|
`wireTagFields(root, { onChange })` and re-render. Never use `wa-tag-input`.
|
|
963
|
-
- **Edit view documents in your app with `@kerfjs/ui/vite-editor`**:
|
|
964
|
-
`plugins: [kerfUiEditor()]` serves the Kerf UI editor at
|
|
965
|
-
`/__kerf-ui-editor/` on the dev server, previewing the components your
|
|
966
|
-
`.kerf-ui-profile.json` catalogs declare with their real functions. Edit
|
|
967
|
-
one of your types your own way by exporting `FieldEditors` (type name →
|
|
968
|
-
`{ render(context), container?, wire? }`) from
|
|
969
|
-
`src/kerf-ui-field-editors.ts`. See `docs/editor-host.md`.
|
|
970
935
|
- **Browse a deep hierarchy by column with `ColumnExplorer`**
|
|
971
936
|
(`@kerfjs/ui/column-explorer`): a macOS-style column view over TreeList's
|
|
972
937
|
nodes in a ColumnTrack. Pass `nodes`, `path`, and `action`, set
|
|
@@ -1236,9 +1201,3 @@ Render a panel the person can pin and move (a library, a palette) as `PinnablePo
|
|
|
1236
1201
|
Render a modal dialog as `DialogSurface` itself, a native `<dialog>` (`alert` renders `role="alertdialog"` for a destructive confirmation; pair it with `describedBy` on the message): `label` (or `labelledBy` with a `heading`, such as an xl `ToolbarText` with a description) names it, `describedBy` (the heading ToolbarText's `descriptionId`, or app-owned summary copy) describes it as `aria-describedby`, `children` is its body, `footer` holds its buttons, and `headerActions` sit before its close button (`withoutHeader` drops the header for content that owns its heading and close control). Open it with `openDialog(dialog)` and close it with `closeDialog(dialog)` from `@kerfjs/ui/surface-scaffold`; never toggle its `open` attribute. The close button, any `data-dialog-close` element inside (a Cancel button), Escape, and, with `lightDismiss`, a backdrop press dispatch a cancelable `kui-request-close` (`detail.source`: `close-button`, `escape`, or `backdrop`); cancel it to keep the dialog open (the panel pulses). The native `close` event fires once it closes. `openDialog` installs the listeners and, while the dialog is open, measures its floating header/footer, follows a bottom sheet's keyboard and grabber, and keeps that state across re-renders; import `@kerfjs/ui/surface-scaffold/register` only when a dialog may open some other way. Do not write `wa-dialog` inside a `DialogSurface`.
|
|
1237
1202
|
|
|
1238
1203
|
Toolbar visibility measurement probes and invisible state children are helper-owned and survive Kerf rerenders through `data-morph-preserve`. Actual CSS visibility stays stable while rendering removes transient parent markers, preventing geometry-driven render feedback and repeated probe recreation. Toolbar replacement, explicit internal-node removal and disposal retain their existing behavior.
|
|
1239
|
-
|
|
1240
|
-
Parameter authoring (KF-26P9FT, KF-B8YSHV, KF-MB5FFZ, KF-AFW3ZA) uses compact name/type rows and a DialogSurface/NavStack with TypeScript text entry, project completion and formatting. `ui/view/project-types.mjs` runs the owning project’s Node-only TypeScript language service; persisted expression/import metadata accompanies a structural navigation projection. Editor export and CLI generation check actual generated bindings/defaults. `validateView` alone reports KUI-H002 for deferred project checking. Legacy descriptors remain supported.
|
|
1241
|
-
|
|
1242
|
-
Generated views share the browser-only `kuiComponent` helper at `@kerfjs/ui/view-runtime` (KF-4DR6XR). Preserve its curried component-call boundary: it retains generic prop inference and the SafeHtml contract while keeping Rollup effect analysis linear for large catalog trees. TS/JS output imports it only for actual component calls; declarations-only and component-free output omit it. The helper has no generator/compiler dependency. Tests: `ui/tests/unit/view-runtime.test.ts`, `ui/tests/unit/view-generate.test.ts`, consumer type contracts and browser bundle boundaries.
|
|
1243
|
-
|
|
1244
|
-
Library previews (KF-RQJ15M) expose `defineLibraryPreviews`, component-keyed samples/static renderers/icon fallbacks, and catalog/editor `libraryPreviews` overrides. Composition catalogs carry literal JSON samples plus an optional `libraryPreviewModule`; the Vite host imports package modules and a local override separately. Built-in schematics/icons use the same registrations. `ui/src/editor/library-previews.ts`, `library-preview-defaults.ts` and `library-thumbnail-renderer.ts` own registration/isolated rendering; palette thumbnail wiring owns inert shadow fitting, asset/content resize refits and RAF/observer cleanup. Insertion/defaults/canvas/production rendering remain separate. Requirements: `docs/28-library-previews.md`; downstream example: `editor/fixtures/app/`; tests: Library preview/lifecycle units, typed+packed consumers, Vite host units and `editor/tests/browser/library-previews.spec.ts`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kerfjs/ui",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.133",
|
|
4
4
|
"description": "Accessible, composable UI primitives for kerf applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,8 +31,6 @@
|
|
|
31
31
|
"kerf-ui-analyze": "./analyzer/cli.mjs",
|
|
32
32
|
"kerf-ui-doctor": "./doctor/cli.mjs",
|
|
33
33
|
"kerf-ui-evaluate": "./evaluator/cli.mjs",
|
|
34
|
-
"kerf-ui-view": "./view/cli.mjs",
|
|
35
|
-
"kerf-ui-props": "./props/cli.mjs",
|
|
36
34
|
"kerf-catalog-demo": "./catalog-projection-cli.mjs"
|
|
37
35
|
},
|
|
38
36
|
"main": "./dist/index.js",
|
|
@@ -59,18 +57,6 @@
|
|
|
59
57
|
"types": "./catalog-projection.d.mts",
|
|
60
58
|
"import": "./catalog-projection.mjs"
|
|
61
59
|
},
|
|
62
|
-
"./view-runtime": {
|
|
63
|
-
"types": "./dist/view-runtime.d.ts",
|
|
64
|
-
"import": "./dist/view-runtime.js"
|
|
65
|
-
},
|
|
66
|
-
"./view": {
|
|
67
|
-
"types": "./view/index.d.mts",
|
|
68
|
-
"import": "./view/index.mjs"
|
|
69
|
-
},
|
|
70
|
-
"./vite-editor": {
|
|
71
|
-
"types": "./vite-editor.d.mts",
|
|
72
|
-
"import": "./vite-editor.mjs"
|
|
73
|
-
},
|
|
74
60
|
"./vite-ux-review": {
|
|
75
61
|
"types": "./vite-ux-review.d.mts",
|
|
76
62
|
"import": "./vite-ux-review.mjs"
|
|
@@ -217,10 +203,9 @@
|
|
|
217
203
|
"browser": "./dist/browser/catalog.js",
|
|
218
204
|
"import": "./dist/catalog.js"
|
|
219
205
|
},
|
|
220
|
-
"./
|
|
221
|
-
"types": "./dist/
|
|
222
|
-
"
|
|
223
|
-
"import": "./dist/editor.js"
|
|
206
|
+
"./catalog-library": {
|
|
207
|
+
"types": "./dist/catalog-library.d.ts",
|
|
208
|
+
"import": "./dist/catalog-library.js"
|
|
224
209
|
},
|
|
225
210
|
"./catalog-resources": {
|
|
226
211
|
"types": "./dist/catalog-resources.d.ts",
|
|
@@ -720,7 +705,6 @@
|
|
|
720
705
|
"./color-field.css": "./dist/styles/color-field.css",
|
|
721
706
|
"./message-composer.css": "./dist/styles/message-composer.css",
|
|
722
707
|
"./search-field.css": "./dist/styles/search-field.css",
|
|
723
|
-
"./editor.css": "./dist/styles/editor.css",
|
|
724
708
|
"./column-explorer.css": "./dist/styles/column-explorer.css",
|
|
725
709
|
"./paged-view.css": "./dist/styles/paged-view.css",
|
|
726
710
|
"./tree-list.css": "./dist/styles/tree-list.css",
|
|
@@ -756,12 +740,8 @@
|
|
|
756
740
|
"catalog-projection.mjs",
|
|
757
741
|
"catalog-projection.d.mts",
|
|
758
742
|
"catalog-projection-cli.mjs",
|
|
759
|
-
"vite-editor.mjs",
|
|
760
|
-
"vite-editor.d.mts",
|
|
761
743
|
"vite-ux-review.mjs",
|
|
762
744
|
"vite-ux-review.d.mts",
|
|
763
|
-
"view",
|
|
764
|
-
"props",
|
|
765
745
|
"scripts/lib/cli-args.mjs",
|
|
766
746
|
"scripts/lib/json-schema-subset.mjs",
|
|
767
747
|
"scripts/component-catalog-extension-validation.mjs",
|
|
@@ -788,12 +768,6 @@
|
|
|
788
768
|
"format:css": "prettier --write \"src/**/*.css\" \"ux-demo/**/*.css\"",
|
|
789
769
|
"check:format": "prettier --check . --ignore-unknown",
|
|
790
770
|
"catalog:sync": "node scripts/sync-component-catalog.mjs && node scripts/sync-component-composition.mjs && node scripts/sync-component-docs.mjs",
|
|
791
|
-
"props:sync": "npm run build && node scripts/sync-component-props.mjs",
|
|
792
|
-
"lucide-aliases:sync": "node scripts/sync-lucide-aliases.mjs",
|
|
793
|
-
"check:props": "node scripts/sync-component-props.mjs --check",
|
|
794
|
-
"check:view-bundle": "node scripts/check-view-bundle.mjs",
|
|
795
|
-
"catalog:views:generate": "node view/cli.mjs generate ux-demo/views/*.kui.json",
|
|
796
|
-
"check:catalog-views": "node view/cli.mjs check ux-demo/views/*.kui.json",
|
|
797
771
|
"composition:sync": "node scripts/sync-component-composition.mjs && node scripts/sync-component-docs.mjs",
|
|
798
772
|
"check:component-integrations": "node scripts/check-component-integrations.mjs",
|
|
799
773
|
"component-integrations:dry-run": "node scripts/check-component-integrations.mjs --dry-run",
|
|
@@ -817,7 +791,7 @@
|
|
|
817
791
|
"ai:regressions:replay-v3": "node scripts/replay-ai-regression-run-v3.mjs",
|
|
818
792
|
"ai:regressions:score": "node scripts/score-ai-regression.mjs",
|
|
819
793
|
"check:guidance": "node scripts/check-decision-guidance.mjs && node scripts/check-design-mock-skill.mjs",
|
|
820
|
-
"lint:eslint": "eslint src tests ux-demo docs/examples scripts ai analyzer doctor evaluator
|
|
794
|
+
"lint:eslint": "eslint src tests ux-demo docs/examples scripts ai analyzer doctor evaluator catalog-projection.mjs catalog-projection-cli.mjs vite-ux-review.mjs traversal-exclusions.mjs eslint.config.mjs --max-warnings 0",
|
|
821
795
|
"lint": "npm run lint:eslint && npm run check:format",
|
|
822
796
|
"typecheck": "node node_modules/typescript7/bin/tsc --noEmit",
|
|
823
797
|
"test": "npm run test:unit && npm run test:sketch && npm run test:bundle && npm run test:analyzer && npm run test:doctor && npm run test:evaluator && npm run test:ai-regressions",
|
|
@@ -836,7 +810,7 @@
|
|
|
836
810
|
"test:e2e": "playwright test",
|
|
837
811
|
"test:webawesome-latest": "npm install --no-save --no-audit --no-fund @awesome.me/webawesome@^3 && node -e \"console.log('Web Awesome', require('@awesome.me/webawesome/package.json').version)\" && vitest run tests/unit && KERF_WEBAWESOME_LATEST=1 playwright test --project=chromium",
|
|
838
812
|
"bench:micro": "vitest bench --run tests/bench",
|
|
839
|
-
"check": "npm run build && npm run check:source-organization && npm run check:catalog && npm run check:
|
|
813
|
+
"check": "npm run build && npm run check:source-organization && npm run check:catalog && npm run check:component-integrations && npm run check:profile && npm run check:demo-conformance && npm run check:recipes && npm run check:css-ownership && npm run check:guidance && npm run check:ai-compatibility && npm run check:ai-regressions && npm run lint && npm run typecheck && npm run test:built && npm run test:consumer-types:built && npm run check:ai-signatures && npm run demo:build:built && npm run check:design-templates && npm pack --dry-run",
|
|
840
814
|
"prepublishOnly": "npm run check",
|
|
841
815
|
"check:design-templates": "node scripts/check-design-templates.mjs",
|
|
842
816
|
"check:design-templates:drift": "node scripts/check-design-templates-drift.mjs",
|
|
@@ -886,7 +860,6 @@
|
|
|
886
860
|
"postcss": "^8.5.28",
|
|
887
861
|
"prettier": "^3.9.6",
|
|
888
862
|
"tsup": "^8.3.0",
|
|
889
|
-
"typescript": "^6.0.3",
|
|
890
863
|
"typescript7": "npm:typescript@^7.0.2",
|
|
891
864
|
"vite": "^7.3.7",
|
|
892
865
|
"vitest": "^4.1.12"
|
|
@@ -1,23 +1,33 @@
|
|
|
1
1
|
import '@kerfjs/ui/layout.css';
|
|
2
2
|
import '@kerfjs/ui/workbench.css';
|
|
3
3
|
|
|
4
|
+
import { List } from '@kerfjs/ui/list';
|
|
5
|
+
import { ListItem } from '@kerfjs/ui/list-item';
|
|
6
|
+
import { LucideIcon } from '@kerfjs/ui/lucide-icon';
|
|
7
|
+
import { Toolbar } from '@kerfjs/ui/toolbar';
|
|
8
|
+
import {
|
|
9
|
+
ToolbarButton,
|
|
10
|
+
ToolbarControlGroup,
|
|
11
|
+
} from '@kerfjs/ui/toolbar-control-group';
|
|
12
|
+
import { ToolbarText } from '@kerfjs/ui/toolbar-text';
|
|
13
|
+
import { ValueTable, ValueTableRow } from '@kerfjs/ui/value-table';
|
|
4
14
|
import { wireWorkbench } from '@kerfjs/ui/wire-workbench';
|
|
15
|
+
import { Workbench } from '@kerfjs/ui/workbench';
|
|
5
16
|
import { delegate, signal } from 'kerfjs';
|
|
17
|
+
import { Bell, Folder, Inbox, Settings } from 'lucide';
|
|
6
18
|
|
|
7
|
-
import { renderRecipeAppShellBar } from '../views/recipe-app-shell-bar.view.js';
|
|
8
|
-
import { renderRecipeAppShellFrame } from '../views/recipe-app-shell-frame.view.js';
|
|
9
|
-
import { renderRecipeAppShellInspector } from '../views/recipe-app-shell-inspector.view.js';
|
|
10
|
-
import { renderRecipeAppShellMainTitle } from '../views/recipe-app-shell-main-title.view.js';
|
|
11
|
-
import { renderRecipeAppShellNavigation } from '../views/recipe-app-shell-navigation.view.js';
|
|
12
|
-
import { renderRecipeAppShellNewTask } from '../views/recipe-app-shell-new-task.view.js';
|
|
13
|
-
import { renderRecipeAppShellRailTitle } from '../views/recipe-app-shell-rail-title.view.js';
|
|
14
|
-
import { renderRecipeAppShellTasks } from '../views/recipe-app-shell-tasks.view.js';
|
|
15
|
-
import { renderRecipeAppShellWorkbench } from '../views/recipe-app-shell-workbench.view.js';
|
|
16
19
|
import type { RecipeFactory, RecipePresentation } from './types.js';
|
|
17
20
|
|
|
18
21
|
const NAVIGATION_ACTION = 'recipe-shell-toggle-navigation';
|
|
19
22
|
const INSPECTOR_ACTION = 'recipe-shell-toggle-inspector';
|
|
20
23
|
|
|
24
|
+
const tasks = [
|
|
25
|
+
['Release accessibility audit', 'Interface systems · due this week'],
|
|
26
|
+
['Prepare tablet navigation', 'Interface systems · due this week'],
|
|
27
|
+
['Review stale-data states', 'Platform · due next week'],
|
|
28
|
+
['Confirm package boundaries', 'Platform · due next week'],
|
|
29
|
+
] as const;
|
|
30
|
+
|
|
21
31
|
export const presentation: RecipePresentation = {
|
|
22
32
|
viewport: {
|
|
23
33
|
width: 'full',
|
|
@@ -39,50 +49,133 @@ export const createRecipe: RecipeFactory = (announce) => {
|
|
|
39
49
|
|
|
40
50
|
const navigation = () => (
|
|
41
51
|
<nav aria-label="Workspace">
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
52
|
+
<List gap="2xs">
|
|
53
|
+
<ListItem
|
|
54
|
+
action="recipe-action"
|
|
55
|
+
itemId="inbox"
|
|
56
|
+
label="Inbox"
|
|
57
|
+
icon={<LucideIcon icon={Inbox} name="inbox" />}
|
|
58
|
+
selected={selected.value === 'inbox'}
|
|
59
|
+
/>
|
|
60
|
+
<ListItem
|
|
61
|
+
action="recipe-action"
|
|
62
|
+
itemId="projects"
|
|
63
|
+
label="Projects with a Deliberately Wrapping Title"
|
|
64
|
+
icon={<LucideIcon icon={Folder} name="folder" />}
|
|
65
|
+
selected={selected.value === 'projects'}
|
|
66
|
+
multiline
|
|
67
|
+
/>
|
|
68
|
+
</List>
|
|
46
69
|
</nav>
|
|
47
70
|
);
|
|
48
71
|
|
|
49
|
-
const render = () =>
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
72
|
+
const render = () => (
|
|
73
|
+
<List fill rootAttributes={{ 'data-recipe': 'recipe-app-shell' }}>
|
|
74
|
+
<Toolbar
|
|
75
|
+
label="Atlas Workspace"
|
|
76
|
+
safeAreaEdges={['block-start', 'inline-start', 'inline-end']}
|
|
77
|
+
dividerSides="b"
|
|
78
|
+
leading={<ToolbarText text="Atlas" />}
|
|
79
|
+
trailing={
|
|
80
|
+
<ToolbarControlGroup
|
|
81
|
+
appearance="borderless"
|
|
82
|
+
label="Workspace Controls"
|
|
83
|
+
>
|
|
84
|
+
<ToolbarButton
|
|
85
|
+
ariaLabel="Notifications"
|
|
86
|
+
action="recipe-action"
|
|
87
|
+
rootAttributes={{ 'data-recipe-command': 'notify' }}
|
|
88
|
+
icon={<LucideIcon icon={Bell} name="bell" />}
|
|
89
|
+
/>
|
|
90
|
+
<ToolbarButton
|
|
91
|
+
ariaLabel="Settings"
|
|
92
|
+
action="recipe-action"
|
|
93
|
+
rootAttributes={{ 'data-recipe-command': 'settings' }}
|
|
94
|
+
icon={<LucideIcon icon={Settings} name="settings" />}
|
|
95
|
+
/>
|
|
96
|
+
</ToolbarControlGroup>
|
|
97
|
+
}
|
|
98
|
+
/>
|
|
99
|
+
<List flex>
|
|
100
|
+
<Workbench
|
|
101
|
+
id="recipe-shell"
|
|
102
|
+
label="Atlas Workspace Panes"
|
|
103
|
+
leftRail={{
|
|
104
|
+
label: 'Navigation',
|
|
105
|
+
size: navigationSize.value,
|
|
106
|
+
resizable: { min: 180, max: 320 },
|
|
107
|
+
collapsed: navigationCollapsed.value,
|
|
108
|
+
toolbar: {
|
|
109
|
+
label: 'Navigation',
|
|
110
|
+
title: <ToolbarText text="Workspace" />,
|
|
111
|
+
toggle: { action: NAVIGATION_ACTION, name: 'Navigation' },
|
|
61
112
|
},
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
113
|
+
content: navigation(),
|
|
114
|
+
}}
|
|
115
|
+
mainToolbar={{
|
|
116
|
+
label: 'Current Workspace View',
|
|
117
|
+
title: (
|
|
118
|
+
<ToolbarText
|
|
119
|
+
text={
|
|
120
|
+
selected.value === 'inbox'
|
|
121
|
+
? 'Inbox Triage'
|
|
122
|
+
: 'Active Projects'
|
|
123
|
+
}
|
|
124
|
+
size="xlarge"
|
|
125
|
+
id="recipe-shell-main-title"
|
|
126
|
+
/>
|
|
127
|
+
),
|
|
128
|
+
responsive: 'wrap',
|
|
129
|
+
trailing: (
|
|
130
|
+
<ToolbarControlGroup
|
|
131
|
+
appearance="borderless"
|
|
132
|
+
content="text"
|
|
133
|
+
single
|
|
134
|
+
>
|
|
135
|
+
<ToolbarButton
|
|
136
|
+
action="recipe-action"
|
|
137
|
+
rootAttributes={{ 'data-recipe-command': 'new' }}
|
|
138
|
+
>
|
|
139
|
+
New Task
|
|
140
|
+
</ToolbarButton>
|
|
141
|
+
</ToolbarControlGroup>
|
|
142
|
+
),
|
|
143
|
+
}}
|
|
144
|
+
main={
|
|
145
|
+
<section aria-label="Tasks">
|
|
146
|
+
{tasks.map(([title, detail]) => (
|
|
147
|
+
<ListItem
|
|
148
|
+
action="recipe-action"
|
|
149
|
+
label={title}
|
|
150
|
+
description={detail}
|
|
151
|
+
multiline
|
|
152
|
+
rootAttributes={{ 'data-recipe-command': 'open-task' }}
|
|
153
|
+
/>
|
|
154
|
+
))}
|
|
155
|
+
</section>
|
|
156
|
+
}
|
|
157
|
+
rightRail={{
|
|
158
|
+
label: 'Inspector',
|
|
159
|
+
size: inspectorSize.value,
|
|
160
|
+
resizable: { min: 200, max: 360 },
|
|
161
|
+
collapsed: inspectorCollapsed.value,
|
|
162
|
+
toolbar: {
|
|
163
|
+
label: 'Inspector',
|
|
164
|
+
title: <ToolbarText text="Inspector" />,
|
|
165
|
+
toggle: { action: INSPECTOR_ACTION, name: 'Inspector' },
|
|
82
166
|
},
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
167
|
+
content: (
|
|
168
|
+
<ValueTable label="Selected Task">
|
|
169
|
+
<ValueTableRow label="Status" value="In review" />
|
|
170
|
+
<ValueTableRow label="Owner" value="Mara Chen" />
|
|
171
|
+
<ValueTableRow label="Priority" value="High" />
|
|
172
|
+
</ValueTable>
|
|
173
|
+
),
|
|
174
|
+
}}
|
|
175
|
+
/>
|
|
176
|
+
</List>
|
|
177
|
+
</List>
|
|
178
|
+
);
|
|
86
179
|
|
|
87
180
|
return {
|
|
88
181
|
render,
|
|
@@ -2,18 +2,29 @@ import '@kerfjs/ui/layout.css';
|
|
|
2
2
|
import '@kerfjs/ui/collapsible-panel.css';
|
|
3
3
|
import '@kerfjs/ui/floating-toolbar.css';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
CollapsiblePanel,
|
|
7
|
+
CollapsiblePanelRelocated,
|
|
8
|
+
type CollapsiblePanelToolbar,
|
|
9
|
+
} from '@kerfjs/ui/collapsible-panel';
|
|
10
|
+
import { ContentItem } from '@kerfjs/ui/content-item';
|
|
6
11
|
import { deviceClass } from '@kerfjs/ui/device-class';
|
|
12
|
+
import { FloatingToolbar } from '@kerfjs/ui/floating-toolbar';
|
|
13
|
+
import { Grid } from '@kerfjs/ui/grid';
|
|
14
|
+
import { List } from '@kerfjs/ui/list';
|
|
15
|
+
import { ListHeader } from '@kerfjs/ui/list-header';
|
|
16
|
+
import { ListItem } from '@kerfjs/ui/list-item';
|
|
17
|
+
import { LucideIcon } from '@kerfjs/ui/lucide-icon';
|
|
18
|
+
import { Pane } from '@kerfjs/ui/pane';
|
|
19
|
+
import { Row } from '@kerfjs/ui/row';
|
|
20
|
+
import { Text } from '@kerfjs/ui/text';
|
|
21
|
+
import { Toolbar } from '@kerfjs/ui/toolbar';
|
|
22
|
+
import { ToolbarText } from '@kerfjs/ui/toolbar-text';
|
|
23
|
+
import { ValueTable, ValueTableRow } from '@kerfjs/ui/value-table';
|
|
7
24
|
import { type SidebarStorage, wireSidebar } from '@kerfjs/ui/wire-sidebar';
|
|
8
25
|
import { signal } from 'kerfjs';
|
|
26
|
+
import { Bell, Folder, Inbox, Users } from 'lucide';
|
|
9
27
|
|
|
10
|
-
import { renderRecipeCollapsibleSidebar } from '../views/recipe-collapsible-sidebar.view.js';
|
|
11
|
-
import { renderRecipeSidebarDrawerTitle } from '../views/recipe-sidebar-drawer-title.view.js';
|
|
12
|
-
import { renderRecipeSidebarNavHeader } from '../views/recipe-sidebar-nav-header.view.js';
|
|
13
|
-
import { renderRecipeSidebarNavInbox } from '../views/recipe-sidebar-nav-inbox.view.js';
|
|
14
|
-
import { renderRecipeSidebarNavProjects } from '../views/recipe-sidebar-nav-projects.view.js';
|
|
15
|
-
import { renderRecipeSidebarNavShared } from '../views/recipe-sidebar-nav-shared.view.js';
|
|
16
|
-
import { renderRecipeSidebarRailTitle } from '../views/recipe-sidebar-rail-title.view.js';
|
|
17
28
|
import type { RecipeFactory, RecipePresentation } from './types.js';
|
|
18
29
|
|
|
19
30
|
const RAIL_ACTION = 'recipe-sidebar-rail';
|
|
@@ -31,7 +42,10 @@ export const presentation: RecipePresentation = {
|
|
|
31
42
|
note: "The app owns each panel's collapsed signal, sizes, and content; wireSidebar owns the toggle, focus move/restore, the compact overlay, and persistence.",
|
|
32
43
|
};
|
|
33
44
|
|
|
34
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* A memory-backed store so the recipe demonstrates the persistence hook without
|
|
47
|
+
* writing to the shared `localStorage` the catalog page runs in.
|
|
48
|
+
*/
|
|
35
49
|
function memoryStorage(): SidebarStorage {
|
|
36
50
|
const map = new Map<string, string>();
|
|
37
51
|
return {
|
|
@@ -50,54 +64,166 @@ const labels: Record<string, string> = {
|
|
|
50
64
|
|
|
51
65
|
export const createRecipe: RecipeFactory = (announce) => {
|
|
52
66
|
const selected = signal('inbox');
|
|
67
|
+
// A shared window-backed device class: when the viewport is compact the wire
|
|
68
|
+
// switches the rail/drawer to a dismissable overlay presentation.
|
|
53
69
|
const device = deviceClass();
|
|
70
|
+
// A compact overlay only opens on a user action, so the first render already
|
|
71
|
+
// matches: collapsed on a compact device, open inline otherwise. The wire's
|
|
72
|
+
// `inlineCollapsed` keeps the open inline default for a later wide crossing.
|
|
54
73
|
const railCollapsed = signal(device.value.compact);
|
|
55
74
|
const drawerCollapsed = signal(true);
|
|
56
75
|
const storage = memoryStorage();
|
|
57
76
|
|
|
77
|
+
// Each panel composes its own toolbar with the standard toggle last. While a
|
|
78
|
+
// panel is collapsed, CollapsiblePanelRelocated carries that toggle: the
|
|
79
|
+
// rail's leads the main toolbar, the drawer's floats in its container's
|
|
80
|
+
// bottom-end corner. wireSidebar hands focus between the two positions.
|
|
58
81
|
const railToolbar: CollapsiblePanelToolbar = {
|
|
59
82
|
label: 'Workspace Navigation',
|
|
60
|
-
title:
|
|
83
|
+
title: <ToolbarText text="Atlas" />,
|
|
61
84
|
toggle: { action: RAIL_ACTION, name: 'Navigation' },
|
|
62
85
|
};
|
|
63
86
|
const drawerToolbar: CollapsiblePanelToolbar = {
|
|
64
87
|
label: 'Activity',
|
|
65
|
-
title:
|
|
88
|
+
title: <ToolbarText text="Activity" size="small" />,
|
|
66
89
|
toggle: { action: DRAWER_ACTION, name: 'Activity' },
|
|
67
90
|
};
|
|
68
91
|
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
{
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
92
|
+
const rail = () => (
|
|
93
|
+
<CollapsiblePanel
|
|
94
|
+
id="sidebar-rail"
|
|
95
|
+
side="left"
|
|
96
|
+
size={232}
|
|
97
|
+
collapsed={railCollapsed.value}
|
|
98
|
+
label="Workspace Navigation"
|
|
99
|
+
toolbar={railToolbar}
|
|
100
|
+
>
|
|
101
|
+
<nav aria-label="Workspace">
|
|
102
|
+
<section>
|
|
103
|
+
<ListHeader label="Workspace" />
|
|
104
|
+
<ListItem
|
|
105
|
+
action="recipe-action"
|
|
106
|
+
itemId="inbox"
|
|
107
|
+
label="Inbox"
|
|
108
|
+
icon={<LucideIcon icon={Inbox} name="inbox" />}
|
|
109
|
+
trailing={<span>12</span>}
|
|
110
|
+
selected={selected.value === 'inbox'}
|
|
111
|
+
/>
|
|
112
|
+
<ListItem
|
|
113
|
+
action="recipe-action"
|
|
114
|
+
itemId="projects"
|
|
115
|
+
label="Projects"
|
|
116
|
+
icon={<LucideIcon icon={Folder} name="folder" />}
|
|
117
|
+
selected={selected.value === 'projects'}
|
|
118
|
+
/>
|
|
119
|
+
<ListItem
|
|
120
|
+
action="recipe-action"
|
|
121
|
+
itemId="shared"
|
|
122
|
+
label="Shared with Me"
|
|
123
|
+
icon={<LucideIcon icon={Users} name="users" />}
|
|
124
|
+
selected={selected.value === 'shared'}
|
|
125
|
+
/>
|
|
126
|
+
</section>
|
|
127
|
+
</nav>
|
|
128
|
+
</CollapsiblePanel>
|
|
129
|
+
);
|
|
130
|
+
|
|
131
|
+
const main = () => (
|
|
132
|
+
<Pane
|
|
133
|
+
element="main"
|
|
134
|
+
header={
|
|
135
|
+
<Toolbar
|
|
136
|
+
label="Current Navigation View"
|
|
137
|
+
leading={
|
|
138
|
+
<>
|
|
139
|
+
<CollapsiblePanelRelocated
|
|
140
|
+
panelId="sidebar-rail"
|
|
141
|
+
side="left"
|
|
142
|
+
collapsed={railCollapsed.value}
|
|
143
|
+
toolbar={railToolbar}
|
|
144
|
+
/>
|
|
145
|
+
<ToolbarText
|
|
146
|
+
text={labels[selected.value] ?? 'Inbox'}
|
|
147
|
+
size="xlarge"
|
|
148
|
+
id="recipe-collapsible-main-title"
|
|
149
|
+
/>
|
|
150
|
+
</>
|
|
151
|
+
}
|
|
152
|
+
/>
|
|
153
|
+
}
|
|
154
|
+
>
|
|
155
|
+
<ContentItem>
|
|
156
|
+
<List gap="2xs">
|
|
157
|
+
<Text variant="span" weight="strong">
|
|
158
|
+
Compact Width
|
|
159
|
+
</Text>
|
|
160
|
+
<Text variant="span" tone="quiet" size="compact">
|
|
161
|
+
Narrow the window to a compact width: the rail and drawer start
|
|
162
|
+
closed and open as a dismissable overlay, with a backdrop, Escape,
|
|
163
|
+
and a trapped Tab ring, all managed by the wire.
|
|
164
|
+
</Text>
|
|
165
|
+
</List>
|
|
166
|
+
</ContentItem>
|
|
167
|
+
</Pane>
|
|
168
|
+
);
|
|
169
|
+
|
|
170
|
+
const drawer = () => (
|
|
171
|
+
<CollapsiblePanel
|
|
172
|
+
id="sidebar-console"
|
|
173
|
+
side="bottom"
|
|
174
|
+
size={168}
|
|
175
|
+
collapsed={drawerCollapsed.value}
|
|
176
|
+
label="Activity"
|
|
177
|
+
toolbar={drawerToolbar}
|
|
178
|
+
restoreControl={
|
|
179
|
+
<FloatingToolbar label="Activity Drawer">
|
|
180
|
+
<CollapsiblePanelRelocated
|
|
181
|
+
panelId="sidebar-console"
|
|
182
|
+
side="bottom"
|
|
183
|
+
collapsed={drawerCollapsed.value}
|
|
184
|
+
toolbar={drawerToolbar}
|
|
185
|
+
/>
|
|
186
|
+
</FloatingToolbar>
|
|
187
|
+
}
|
|
188
|
+
>
|
|
189
|
+
<ValueTable label="Recent Activity">
|
|
190
|
+
<ValueTableRow
|
|
191
|
+
label="Deploy finished"
|
|
192
|
+
value="2m ago"
|
|
193
|
+
icon={<LucideIcon icon={Bell} name="bell" />}
|
|
194
|
+
/>
|
|
195
|
+
<ValueTableRow
|
|
196
|
+
label="Review requested"
|
|
197
|
+
value="9m ago"
|
|
198
|
+
icon={<LucideIcon icon={Bell} name="bell" />}
|
|
199
|
+
/>
|
|
200
|
+
</ValueTable>
|
|
201
|
+
</CollapsiblePanel>
|
|
202
|
+
);
|
|
203
|
+
|
|
204
|
+
// The root Row fills the frame's definite height with the rail beside a
|
|
205
|
+
// column whose main pane grows above the bottom drawer. Each CollapsiblePanel
|
|
206
|
+
// docks to a real frame edge, so it paints through that edge's safe area and
|
|
207
|
+
// hands the edge back to its siblings when it collapses.
|
|
208
|
+
const render = () => (
|
|
209
|
+
<Row
|
|
210
|
+
gap="none"
|
|
211
|
+
fill
|
|
212
|
+
rootAttributes={{
|
|
213
|
+
'data-recipe': 'recipe-collapsible-sidebar',
|
|
214
|
+
'data-rail-collapsed': String(railCollapsed.value),
|
|
215
|
+
'data-drawer-collapsed': String(drawerCollapsed.value),
|
|
216
|
+
}}
|
|
217
|
+
>
|
|
218
|
+
{rail()}
|
|
219
|
+
<List flex>
|
|
220
|
+
<Grid columns={1} gap="none" flex>
|
|
221
|
+
{main()}
|
|
222
|
+
</Grid>
|
|
223
|
+
{drawer()}
|
|
224
|
+
</List>
|
|
225
|
+
</Row>
|
|
226
|
+
);
|
|
101
227
|
|
|
102
228
|
return {
|
|
103
229
|
render,
|