le-kit 0.1.13 → 0.1.14
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/dist/core/cjs/{index-BsRb_UTe.js → index-B0mg71He.js} +6 -6
- package/dist/core/cjs/index-B0mg71He.js.map +1 -0
- package/dist/core/cjs/index.cjs.js +2 -2
- package/dist/core/cjs/le-box.cjs.entry.js +2 -2
- package/dist/core/cjs/le-button.cjs.entry.js +2 -2
- package/dist/core/cjs/le-card.cjs.entry.js +2 -2
- package/dist/core/cjs/le-checkbox.cjs.entry.js +2 -2
- package/dist/core/cjs/le-kit.cjs.js +1 -1
- package/dist/core/cjs/le-number-input.cjs.entry.js +2 -2
- package/dist/core/cjs/le-popover.cjs.entry.js +1 -1
- package/dist/core/cjs/le-popup.cjs.entry.js +1 -1
- package/dist/core/cjs/le-round-progress.cjs.entry.js +1 -1
- package/dist/core/cjs/le-stack.cjs.entry.js +2 -2
- package/dist/core/cjs/le-string-input.cjs.entry.js +2 -2
- package/dist/core/cjs/le-text.cjs.entry.js +2 -2
- package/dist/core/cjs/le-turntable.cjs.entry.js +1 -1
- package/dist/core/cjs/loader.cjs.js +1 -1
- package/dist/{cjs/utils-DqhadIxH.js → core/cjs/utils-jdqP71LP.js} +3 -3
- package/dist/core/cjs/{utils-nsP8_w8_.js.map → utils-jdqP71LP.js.map} +1 -1
- package/dist/core/collection/global/app.js +4 -4
- package/dist/core/collection/global/app.js.map +1 -1
- package/dist/core/components/index.js.map +1 -1
- package/dist/core/components/le-box.js +34 -2
- package/dist/core/components/le-box.js.map +1 -1
- package/dist/core/components/le-button.js +1 -1
- package/dist/core/components/le-button2.js +1031 -6
- package/dist/core/components/le-button2.js.map +1 -1
- package/dist/core/components/le-card.js +36 -4
- package/dist/core/components/le-card.js.map +1 -1
- package/dist/core/components/le-checkbox.js +1 -79
- package/dist/core/components/le-checkbox.js.map +1 -1
- package/dist/core/components/le-component.d.ts +11 -0
- package/dist/core/components/le-number-input.js +30 -4
- package/dist/core/components/le-number-input.js.map +1 -1
- package/dist/core/components/le-popover.js +1 -377
- package/dist/core/components/le-popover.js.map +1 -1
- package/dist/core/components/le-popup.js +30 -4
- package/dist/core/components/le-popup.js.map +1 -1
- package/dist/core/components/le-round-progress.js +1 -1
- package/dist/core/components/le-round-progress.js.map +1 -1
- package/dist/core/components/le-slot.d.ts +11 -0
- package/dist/core/components/le-stack.js +36 -4
- package/dist/core/components/le-stack.js.map +1 -1
- package/dist/core/components/le-string-input.js +1 -119
- package/dist/core/components/le-string-input.js.map +1 -1
- package/dist/core/components/le-text.js +34 -2
- package/dist/core/components/le-text.js.map +1 -1
- package/dist/core/components/le-turntable.js +1 -1
- package/dist/core/components/le-turntable.js.map +1 -1
- package/dist/core/components/utils.js +4 -4
- package/dist/core/components/utils.js.map +1 -1
- package/dist/core/esm/{index-CJ-z5Zj1.js → index-SKsXnjWI.js} +6 -6
- package/dist/core/{le-kit/p-CJ-z5Zj1.js.map → esm/index-SKsXnjWI.js.map} +1 -1
- package/dist/core/esm/index.js +2 -2
- package/dist/core/esm/le-box.entry.js +2 -2
- package/dist/core/esm/le-button.entry.js +2 -2
- package/dist/core/esm/le-card.entry.js +2 -2
- package/dist/core/esm/le-checkbox.entry.js +2 -2
- package/dist/core/esm/le-kit.js +2 -2
- package/dist/core/esm/le-number-input.entry.js +2 -2
- package/dist/core/esm/le-popover.entry.js +1 -1
- package/dist/core/esm/le-popup.entry.js +1 -1
- package/dist/core/esm/le-round-progress.entry.js +1 -1
- package/dist/core/esm/le-stack.entry.js +2 -2
- package/dist/core/esm/le-string-input.entry.js +2 -2
- package/dist/core/esm/le-text.entry.js +2 -2
- package/dist/core/esm/le-turntable.entry.js +1 -1
- package/dist/core/esm/loader.js +2 -2
- package/dist/{esm/utils-Cf7fMI0j.js → core/esm/utils-DZdP1JiG.js} +3 -3
- package/dist/core/esm/{utils-Bxmld82M.js.map → utils-DZdP1JiG.js.map} +1 -1
- package/dist/core/le-kit/index.esm.js +1 -1
- package/dist/core/le-kit/le-kit.esm.js +1 -1
- package/dist/core/le-kit/p--VxUdzYV.js +2 -0
- package/dist/core/le-kit/{p-Drz36PDp.js.map → p--VxUdzYV.js.map} +1 -1
- package/dist/core/le-kit/{p-2ac4789a.entry.js → p-189cb775.entry.js} +2 -2
- package/dist/core/le-kit/{p-556086ca.entry.js → p-35c1d413.entry.js} +2 -2
- package/dist/core/le-kit/{p-aa6e906f.entry.js → p-4f133e72.entry.js} +2 -2
- package/dist/core/le-kit/{p-df552906.entry.js → p-55f70091.entry.js} +2 -2
- package/dist/core/le-kit/{p-e0861e82.entry.js → p-5fd7b23a.entry.js} +2 -2
- package/dist/core/le-kit/{p-5ef81068.entry.js → p-6e414a5c.entry.js} +2 -2
- package/dist/core/le-kit/{p-d75214f9.entry.js → p-7b121ca7.entry.js} +2 -2
- package/dist/core/le-kit/{p-45eace7c.entry.js → p-8c81fa95.entry.js} +2 -2
- package/dist/core/le-kit/{p-257495cc.entry.js → p-9aa81442.entry.js} +2 -2
- package/dist/core/le-kit/p-SKsXnjWI.js +3 -0
- package/dist/core/le-kit/p-SKsXnjWI.js.map +1 -0
- package/dist/core/le-kit/{p-66d35f48.entry.js → p-a9d05ef6.entry.js} +2 -2
- package/dist/core/le-kit/{p-73682c5e.entry.js → p-b2bd2a80.entry.js} +2 -2
- package/dist/core/le-kit/{p-0308bd1f.entry.js → p-ccac9611.entry.js} +2 -2
- package/dist/core/types/global/app.d.ts +4 -4
- package/dist/le-kit/assets/custom-elements.json +1007 -1007
- package/dist/le-kit/index-CAY3Hk_i.js +4559 -0
- package/dist/le-kit/index-CAY3Hk_i.js.map +1 -0
- package/dist/le-kit/index.esm.js +116 -2
- package/dist/le-kit/index.esm.js.map +1 -1
- package/dist/{esm → le-kit}/le-box.entry.js +3 -3
- package/dist/le-kit/le-button.entry.esm.js.map +1 -0
- package/dist/le-kit/le-button.entry.js +90 -0
- package/dist/{esm → le-kit}/le-card.entry.js +3 -3
- package/dist/le-kit/le-checkbox.entry.esm.js.map +1 -0
- package/dist/le-kit/le-checkbox.entry.js +59 -0
- package/dist/le-kit/le-component.entry.esm.js.map +1 -0
- package/dist/{collection/components/le-component/le-component.js → le-kit/le-component.entry.js} +19 -138
- package/dist/le-kit/le-kit.css +1010 -1
- package/dist/le-kit/le-kit.esm.js +48 -2
- package/dist/le-kit/le-kit.esm.js.map +1 -1
- package/dist/{esm → le-kit}/le-number-input.entry.js +5 -5
- package/dist/le-kit/le-popover.entry.esm.js.map +1 -0
- package/dist/{collection/components/le-popover/le-popover.js → le-kit/le-popover.entry.js} +16 -363
- package/dist/{esm → le-kit}/le-popup.entry.js +6 -6
- package/dist/{esm → le-kit}/le-round-progress.entry.js +2 -2
- package/dist/le-kit/le-slot.entry.esm.js.map +1 -0
- package/dist/{collection/components/le-slot/le-slot.js → le-kit/le-slot.entry.js} +20 -273
- package/dist/{esm → le-kit}/le-stack.entry.js +3 -3
- package/dist/le-kit/le-string-input.entry.esm.js.map +1 -0
- package/dist/le-kit/le-string-input.entry.js +93 -0
- package/dist/{esm → le-kit}/le-text.entry.js +3 -3
- package/dist/{esm → le-kit}/le-turntable.entry.js +2 -2
- package/dist/{core/esm/utils-Bxmld82M.js → le-kit/utils-cwSNy7ZS.js} +3 -3
- package/dist/{esm/utils-Cf7fMI0j.js.map → le-kit/utils-cwSNy7ZS.js.map} +1 -1
- package/dist/types/global/app.d.ts +4 -4
- package/package.json +3 -4
- package/readme.md +2 -2
- package/custom-elements.json +0 -4305
- package/dist/cjs/index-o1DRKw1g.js +0 -1842
- package/dist/cjs/index-o1DRKw1g.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -119
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/le-box.cjs.entry.js +0 -184
- package/dist/cjs/le-box.entry.cjs.js.map +0 -1
- package/dist/cjs/le-button.le-checkbox.le-component.le-popover.le-slot.le-string-input.entry.cjs.js.map +0 -1
- package/dist/cjs/le-button_6.cjs.entry.js +0 -1206
- package/dist/cjs/le-card.cjs.entry.js +0 -29
- package/dist/cjs/le-card.entry.cjs.js.map +0 -1
- package/dist/cjs/le-kit.cjs.js +0 -25
- package/dist/cjs/le-kit.cjs.js.map +0 -1
- package/dist/cjs/le-number-input.cjs.entry.js +0 -202
- package/dist/cjs/le-number-input.entry.cjs.js.map +0 -1
- package/dist/cjs/le-popup.cjs.entry.js +0 -212
- package/dist/cjs/le-popup.entry.cjs.js.map +0 -1
- package/dist/cjs/le-round-progress.cjs.entry.js +0 -106
- package/dist/cjs/le-round-progress.entry.cjs.js.map +0 -1
- package/dist/cjs/le-stack.cjs.entry.js +0 -135
- package/dist/cjs/le-stack.entry.cjs.js.map +0 -1
- package/dist/cjs/le-text.cjs.entry.js +0 -335
- package/dist/cjs/le-text.entry.cjs.js.map +0 -1
- package/dist/cjs/le-turntable.cjs.entry.js +0 -139
- package/dist/cjs/le-turntable.entry.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/utils-DqhadIxH.js.map +0 -1
- package/dist/collection/assets/custom-elements.json +0 -4305
- package/dist/collection/collection-manifest.json +0 -26
- package/dist/collection/components/le-box/le-box.default.css +0 -37
- package/dist/collection/components/le-box/le-box.js +0 -614
- package/dist/collection/components/le-box/le-box.js.map +0 -1
- package/dist/collection/components/le-button/le-button.default.css +0 -263
- package/dist/collection/components/le-button/le-button.js +0 -368
- package/dist/collection/components/le-button/le-button.js.map +0 -1
- package/dist/collection/components/le-card/le-card.default.css +0 -74
- package/dist/collection/components/le-card/le-card.js +0 -102
- package/dist/collection/components/le-card/le-card.js.map +0 -1
- package/dist/collection/components/le-checkbox/le-checkbox.css +0 -93
- package/dist/collection/components/le-checkbox/le-checkbox.js +0 -192
- package/dist/collection/components/le-checkbox/le-checkbox.js.map +0 -1
- package/dist/collection/components/le-component/le-component.css +0 -189
- package/dist/collection/components/le-component/le-component.js.map +0 -1
- package/dist/collection/components/le-number-input/le-number-input.css +0 -135
- package/dist/collection/components/le-number-input/le-number-input.js +0 -515
- package/dist/collection/components/le-number-input/le-number-input.js.map +0 -1
- package/dist/collection/components/le-popover/le-popover.css +0 -143
- package/dist/collection/components/le-popover/le-popover.js.map +0 -1
- package/dist/collection/components/le-popup/le-popup.api.js +0 -101
- package/dist/collection/components/le-popup/le-popup.api.js.map +0 -1
- package/dist/collection/components/le-popup/le-popup.css +0 -222
- package/dist/collection/components/le-popup/le-popup.js +0 -596
- package/dist/collection/components/le-popup/le-popup.js.map +0 -1
- package/dist/collection/components/le-round-progress/le-round-progress.css +0 -34
- package/dist/collection/components/le-round-progress/le-round-progress.js +0 -184
- package/dist/collection/components/le-round-progress/le-round-progress.js.map +0 -1
- package/dist/collection/components/le-slot/le-slot.default.css +0 -222
- package/dist/collection/components/le-slot/le-slot.js.map +0 -1
- package/dist/collection/components/le-stack/le-stack.default.css +0 -37
- package/dist/collection/components/le-stack/le-stack.js +0 -389
- package/dist/collection/components/le-stack/le-stack.js.map +0 -1
- package/dist/collection/components/le-string-input/le-string-input.css +0 -83
- package/dist/collection/components/le-string-input/le-string-input.js +0 -359
- package/dist/collection/components/le-string-input/le-string-input.js.map +0 -1
- package/dist/collection/components/le-text/le-text.default.css +0 -169
- package/dist/collection/components/le-text/le-text.js +0 -475
- package/dist/collection/components/le-text/le-text.js.map +0 -1
- package/dist/collection/components/le-turntable/le-turntable.css +0 -10
- package/dist/collection/components/le-turntable/le-turntable.js +0 -210
- package/dist/collection/components/le-turntable/le-turntable.js.map +0 -1
- package/dist/collection/global/app.js +0 -167
- package/dist/collection/global/app.js.map +0 -1
- package/dist/collection/index.js +0 -15
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/types/blocks.js +0 -115
- package/dist/collection/types/blocks.js.map +0 -1
- package/dist/collection/types/options.js +0 -2
- package/dist/collection/types/options.js.map +0 -1
- package/dist/collection/utils/utils.js +0 -141
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/components/index.js +0 -113
- package/dist/components/index.js.map +0 -1
- package/dist/components/le-box.js +0 -257
- package/dist/components/le-box.js.map +0 -1
- package/dist/components/le-button.js +0 -9
- package/dist/components/le-button.js.map +0 -1
- package/dist/components/le-button2.js +0 -1149
- package/dist/components/le-button2.js.map +0 -1
- package/dist/components/le-card.js +0 -84
- package/dist/components/le-card.js.map +0 -1
- package/dist/components/le-checkbox.js +0 -9
- package/dist/components/le-checkbox.js.map +0 -1
- package/dist/components/le-number-input.js +0 -272
- package/dist/components/le-number-input.js.map +0 -1
- package/dist/components/le-popover.js +0 -9
- package/dist/components/le-popover.js.map +0 -1
- package/dist/components/le-popup.js +0 -279
- package/dist/components/le-popup.js.map +0 -1
- package/dist/components/le-round-progress.js +0 -135
- package/dist/components/le-round-progress.js.map +0 -1
- package/dist/components/le-stack.js +0 -199
- package/dist/components/le-stack.js.map +0 -1
- package/dist/components/le-string-input.js +0 -9
- package/dist/components/le-string-input.js.map +0 -1
- package/dist/components/le-text.js +0 -399
- package/dist/components/le-text.js.map +0 -1
- package/dist/components/le-turntable.js +0 -164
- package/dist/components/le-turntable.js.map +0 -1
- package/dist/components/utils.js +0 -310
- package/dist/components/utils.js.map +0 -1
- package/dist/core/cjs/index-BsRb_UTe.js.map +0 -1
- package/dist/core/cjs/utils-nsP8_w8_.js +0 -152
- package/dist/core/collection/assets/custom-elements.json +0 -4305
- package/dist/core/collection/themes/base.css +0 -89
- package/dist/core/collection/themes/dark.css +0 -100
- package/dist/core/collection/themes/default.css +0 -108
- package/dist/core/collection/themes/gradient.css +0 -100
- package/dist/core/collection/themes/index.css +0 -413
- package/dist/core/collection/themes/minimal.css +0 -100
- package/dist/core/collection/themes/warm.css +0 -100
- package/dist/core/esm/index-CJ-z5Zj1.js.map +0 -1
- package/dist/core/le-kit/p-CJ-z5Zj1.js +0 -3
- package/dist/core/le-kit/p-Drz36PDp.js +0 -2
- package/dist/docs.d.ts +0 -443
- package/dist/docs.json +0 -5185
- package/dist/esm/index-CwNQ1GTa.js +0 -1824
- package/dist/esm/index-CwNQ1GTa.js.map +0 -1
- package/dist/esm/index.js +0 -106
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/le-box.entry.js.map +0 -1
- package/dist/esm/le-button.le-checkbox.le-component.le-popover.le-slot.le-string-input.entry.js.map +0 -1
- package/dist/esm/le-button_6.entry.js +0 -1199
- package/dist/esm/le-card.entry.js.map +0 -1
- package/dist/esm/le-kit.js +0 -21
- package/dist/esm/le-kit.js.map +0 -1
- package/dist/esm/le-number-input.entry.js.map +0 -1
- package/dist/esm/le-popup.entry.js.map +0 -1
- package/dist/esm/le-round-progress.entry.js.map +0 -1
- package/dist/esm/le-stack.entry.js.map +0 -1
- package/dist/esm/le-text.entry.js.map +0 -1
- package/dist/esm/le-turntable.entry.js.map +0 -1
- package/dist/esm/loader.js +0 -11
- package/dist/esm/loader.js.map +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/le-kit/dist/collection/themes/base.css +0 -89
- package/dist/le-kit/dist/collection/themes/dark.css +0 -100
- package/dist/le-kit/dist/collection/themes/default.css +0 -108
- package/dist/le-kit/dist/collection/themes/gradient.css +0 -100
- package/dist/le-kit/dist/collection/themes/index.css +0 -413
- package/dist/le-kit/dist/collection/themes/minimal.css +0 -100
- package/dist/le-kit/dist/collection/themes/warm.css +0 -100
- package/dist/le-kit/le-button.le-checkbox.le-component.le-popover.le-slot.le-string-input.entry.esm.js.map +0 -1
- package/dist/le-kit/p-08dbcc25.entry.js +0 -2
- package/dist/le-kit/p-08dbcc25.entry.js.map +0 -1
- package/dist/le-kit/p-5dc35729.entry.js +0 -2
- package/dist/le-kit/p-5dc35729.entry.js.map +0 -1
- package/dist/le-kit/p-64374730.entry.js +0 -2
- package/dist/le-kit/p-64374730.entry.js.map +0 -1
- package/dist/le-kit/p-79ec6f7c.entry.js +0 -2
- package/dist/le-kit/p-79ec6f7c.entry.js.map +0 -1
- package/dist/le-kit/p-8daf3c7f.entry.js +0 -2
- package/dist/le-kit/p-8daf3c7f.entry.js.map +0 -1
- package/dist/le-kit/p-9c69235d.entry.js +0 -2
- package/dist/le-kit/p-9c69235d.entry.js.map +0 -1
- package/dist/le-kit/p-CwNQ1GTa.js +0 -3
- package/dist/le-kit/p-CwNQ1GTa.js.map +0 -1
- package/dist/le-kit/p-ad398acd.entry.js +0 -2
- package/dist/le-kit/p-ad398acd.entry.js.map +0 -1
- package/dist/le-kit/p-b8122ad6.entry.js +0 -2
- package/dist/le-kit/p-b8122ad6.entry.js.map +0 -1
- package/dist/le-kit/p-f9008505.entry.js +0 -2
- package/dist/le-kit/p-f9008505.entry.js.map +0 -1
- package/dist/le-kit/p-y3FECAx9.js +0 -2
- package/dist/le-kit/p-y3FECAx9.js.map +0 -1
- package/dist/themes/base.css +0 -89
- package/dist/themes/dark.css +0 -100
- package/dist/themes/default.css +0 -108
- package/dist/themes/gradient.css +0 -100
- package/dist/themes/index.css +0 -413
- package/dist/themes/minimal.css +0 -100
- package/dist/themes/warm.css +0 -100
- /package/dist/{collection/dist/collection → components}/themes/base.css +0 -0
- /package/dist/{collection/dist/collection → components}/themes/dark.css +0 -0
- /package/dist/{collection/dist/collection → components}/themes/default.css +0 -0
- /package/dist/{collection/dist/collection → components}/themes/gradient.css +0 -0
- /package/dist/{collection/dist/collection → components}/themes/index.css +0 -0
- /package/dist/{collection/dist/collection → components}/themes/minimal.css +0 -0
- /package/dist/{collection/dist/collection → components}/themes/warm.css +0 -0
- /package/dist/{components → core/components}/le-component.js +0 -0
- /package/dist/{components → core/components}/le-component.js.map +0 -0
- /package/dist/{components → core/components}/le-popover2.js +0 -0
- /package/dist/{components → core/components}/le-popover2.js.map +0 -0
- /package/dist/{components → core/components}/le-slot.js +0 -0
- /package/dist/{components → core/components}/le-slot.js.map +0 -0
- /package/dist/core/le-kit/{p-2ac4789a.entry.js.map → p-189cb775.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-556086ca.entry.js.map → p-35c1d413.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-aa6e906f.entry.js.map → p-4f133e72.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-df552906.entry.js.map → p-55f70091.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-e0861e82.entry.js.map → p-5fd7b23a.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-5ef81068.entry.js.map → p-6e414a5c.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-d75214f9.entry.js.map → p-7b121ca7.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-45eace7c.entry.js.map → p-8c81fa95.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-257495cc.entry.js.map → p-9aa81442.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-66d35f48.entry.js.map → p-a9d05ef6.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-73682c5e.entry.js.map → p-b2bd2a80.entry.js.map} +0 -0
- /package/dist/core/le-kit/{p-0308bd1f.entry.js.map → p-ccac9611.entry.js.map} +0 -0
- /package/dist/{collection → le-kit/dist/components}/themes/base.css +0 -0
- /package/dist/{collection → le-kit/dist/components}/themes/dark.css +0 -0
- /package/dist/{collection → le-kit/dist/components}/themes/default.css +0 -0
- /package/dist/{collection → le-kit/dist/components}/themes/gradient.css +0 -0
- /package/dist/{collection → le-kit/dist/components}/themes/index.css +0 -0
- /package/dist/{collection → le-kit/dist/components}/themes/minimal.css +0 -0
- /package/dist/{collection → le-kit/dist/components}/themes/warm.css +0 -0
|
@@ -1,4305 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": "1.0.0",
|
|
3
|
-
"readme": "",
|
|
4
|
-
"modules": [
|
|
5
|
-
{
|
|
6
|
-
"kind": "javascript-module",
|
|
7
|
-
"path": "src/components/le-box/le-box.tsx",
|
|
8
|
-
"declarations": [
|
|
9
|
-
{
|
|
10
|
-
"kind": "class",
|
|
11
|
-
"description": "A flexible box component for use as a flex item within le-stack.\n\n`le-box` wraps content and provides flex item properties like grow, shrink,\nbasis, and self-alignment. It can also control its internal content alignment.",
|
|
12
|
-
"name": "LeBox",
|
|
13
|
-
"cssProperties": [
|
|
14
|
-
{
|
|
15
|
-
"description": "Background color",
|
|
16
|
-
"name": "--le-box-bg"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"description": "Padding inside the box",
|
|
20
|
-
"name": "--le-box-padding"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"description": "Border radius",
|
|
24
|
-
"name": "--le-box-border-radius"
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"cssParts": [
|
|
28
|
-
{
|
|
29
|
-
"description": "The main box container",
|
|
30
|
-
"name": "box"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"description": "The inner content wrapper",
|
|
34
|
-
"name": "content"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"slots": [
|
|
38
|
-
{
|
|
39
|
-
"description": "Default slot for box content",
|
|
40
|
-
"name": ""
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"members": [
|
|
44
|
-
{
|
|
45
|
-
"kind": "field",
|
|
46
|
-
"name": "el",
|
|
47
|
-
"type": {
|
|
48
|
-
"text": "HTMLElement"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"kind": "field",
|
|
53
|
-
"name": "grow",
|
|
54
|
-
"type": {
|
|
55
|
-
"text": "number"
|
|
56
|
-
},
|
|
57
|
-
"default": "0",
|
|
58
|
-
"description": "Flex grow factor - how much the item should grow relative to siblings"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"kind": "field",
|
|
62
|
-
"name": "shrink",
|
|
63
|
-
"type": {
|
|
64
|
-
"text": "number"
|
|
65
|
-
},
|
|
66
|
-
"default": "1",
|
|
67
|
-
"description": "Flex shrink factor - how much the item should shrink relative to siblings"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"kind": "field",
|
|
71
|
-
"name": "basis",
|
|
72
|
-
"type": {
|
|
73
|
-
"text": "string"
|
|
74
|
-
},
|
|
75
|
-
"default": "'auto'",
|
|
76
|
-
"description": "Flex basis - initial size before growing/shrinking (e.g., '200px', '25%', 'auto')"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"kind": "field",
|
|
80
|
-
"name": "width",
|
|
81
|
-
"type": {
|
|
82
|
-
"text": "string | undefined"
|
|
83
|
-
},
|
|
84
|
-
"description": "Width of the box (CSS value like '100px', '50%', 'auto')"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"kind": "field",
|
|
88
|
-
"name": "height",
|
|
89
|
-
"type": {
|
|
90
|
-
"text": "string | undefined"
|
|
91
|
-
},
|
|
92
|
-
"description": "Height of the box (CSS value)"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"kind": "field",
|
|
96
|
-
"name": "minWidth",
|
|
97
|
-
"type": {
|
|
98
|
-
"text": "string | undefined"
|
|
99
|
-
},
|
|
100
|
-
"description": "Minimum width constraint"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"kind": "field",
|
|
104
|
-
"name": "maxWidth",
|
|
105
|
-
"type": {
|
|
106
|
-
"text": "string | undefined"
|
|
107
|
-
},
|
|
108
|
-
"description": "Maximum width constraint"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"kind": "field",
|
|
112
|
-
"name": "minHeight",
|
|
113
|
-
"type": {
|
|
114
|
-
"text": "string | undefined"
|
|
115
|
-
},
|
|
116
|
-
"description": "Minimum height constraint"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"kind": "field",
|
|
120
|
-
"name": "maxHeight",
|
|
121
|
-
"type": {
|
|
122
|
-
"text": "string | undefined"
|
|
123
|
-
},
|
|
124
|
-
"description": "Maximum height constraint"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"kind": "field",
|
|
128
|
-
"name": "background",
|
|
129
|
-
"type": {
|
|
130
|
-
"text": "string | undefined"
|
|
131
|
-
},
|
|
132
|
-
"description": "Background color or CSS value (e.g., '#f0f0f0', 'var(--le-color-primary-light)')"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"kind": "field",
|
|
136
|
-
"name": "borderRadius",
|
|
137
|
-
"type": {
|
|
138
|
-
"text": "string | undefined"
|
|
139
|
-
},
|
|
140
|
-
"description": "Border radius (e.g., '8px', 'var(--le-radius-md)')"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"kind": "field",
|
|
144
|
-
"name": "border",
|
|
145
|
-
"type": {
|
|
146
|
-
"text": "string | undefined"
|
|
147
|
-
},
|
|
148
|
-
"description": "Border style (e.g., '1px solid #ccc', '2px dashed var(--le-color-border)')"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"kind": "field",
|
|
152
|
-
"name": "alignSelf",
|
|
153
|
-
"type": {
|
|
154
|
-
"text": "'auto' | 'start' | 'center' | 'end' | 'stretch' | 'baseline'"
|
|
155
|
-
},
|
|
156
|
-
"default": "'auto'",
|
|
157
|
-
"description": "Self-alignment override for this item on the cross axis"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"kind": "field",
|
|
161
|
-
"name": "alignContent",
|
|
162
|
-
"type": {
|
|
163
|
-
"text": "'start' | 'center' | 'end' | 'stretch'"
|
|
164
|
-
},
|
|
165
|
-
"default": "'stretch'",
|
|
166
|
-
"description": "Internal horizontal alignment of content"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"kind": "field",
|
|
170
|
-
"name": "justifyContent",
|
|
171
|
-
"type": {
|
|
172
|
-
"text": "'start' | 'center' | 'end' | 'stretch'"
|
|
173
|
-
},
|
|
174
|
-
"default": "'start'",
|
|
175
|
-
"description": "Internal vertical alignment of content"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"kind": "field",
|
|
179
|
-
"name": "padding",
|
|
180
|
-
"type": {
|
|
181
|
-
"text": "string | undefined"
|
|
182
|
-
},
|
|
183
|
-
"description": "Padding inside the box (CSS value like '8px', '1rem')"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"kind": "field",
|
|
187
|
-
"name": "order",
|
|
188
|
-
"type": {
|
|
189
|
-
"text": "number | undefined"
|
|
190
|
-
},
|
|
191
|
-
"description": "Order in the flex container (lower values come first)"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"kind": "field",
|
|
195
|
-
"name": "displayFlex",
|
|
196
|
-
"type": {
|
|
197
|
-
"text": "boolean"
|
|
198
|
-
},
|
|
199
|
-
"default": "false",
|
|
200
|
-
"description": "Whether to display box content as flex (for internal alignment)"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"kind": "field",
|
|
204
|
-
"name": "innerDirection",
|
|
205
|
-
"type": {
|
|
206
|
-
"text": "'horizontal' | 'vertical'"
|
|
207
|
-
},
|
|
208
|
-
"default": "'vertical'",
|
|
209
|
-
"description": "Direction of internal flex layout when displayFlex is true"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"kind": "field",
|
|
213
|
-
"name": "innerGap",
|
|
214
|
-
"type": {
|
|
215
|
-
"text": "string | undefined"
|
|
216
|
-
},
|
|
217
|
-
"description": "Gap between internal flex items when displayFlex is true"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"kind": "method",
|
|
221
|
-
"name": "getAlignSelf",
|
|
222
|
-
"privacy": "private",
|
|
223
|
-
"return": {
|
|
224
|
-
"type": {
|
|
225
|
-
"text": "string"
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"kind": "method",
|
|
231
|
-
"name": "getContentAlign",
|
|
232
|
-
"privacy": "private",
|
|
233
|
-
"return": {
|
|
234
|
-
"type": {
|
|
235
|
-
"text": "string"
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"kind": "method",
|
|
241
|
-
"name": "getContentJustify",
|
|
242
|
-
"privacy": "private",
|
|
243
|
-
"return": {
|
|
244
|
-
"type": {
|
|
245
|
-
"text": "string"
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"kind": "method",
|
|
251
|
-
"name": "render"
|
|
252
|
-
}
|
|
253
|
-
],
|
|
254
|
-
"attributes": [
|
|
255
|
-
{
|
|
256
|
-
"name": "grow",
|
|
257
|
-
"fieldName": "grow",
|
|
258
|
-
"default": "0",
|
|
259
|
-
"description": "Flex grow factor - how much the item should grow relative to siblings",
|
|
260
|
-
"type": {
|
|
261
|
-
"text": "number"
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"name": "shrink",
|
|
266
|
-
"fieldName": "shrink",
|
|
267
|
-
"default": "1",
|
|
268
|
-
"description": "Flex shrink factor - how much the item should shrink relative to siblings",
|
|
269
|
-
"type": {
|
|
270
|
-
"text": "number"
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"name": "basis",
|
|
275
|
-
"fieldName": "basis",
|
|
276
|
-
"default": "'auto'",
|
|
277
|
-
"description": "Flex basis - initial size before growing/shrinking (e.g., '200px', '25%', 'auto')",
|
|
278
|
-
"type": {
|
|
279
|
-
"text": "string"
|
|
280
|
-
}
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"name": "width",
|
|
284
|
-
"fieldName": "width",
|
|
285
|
-
"description": "Width of the box (CSS value like '100px', '50%', 'auto')",
|
|
286
|
-
"type": {
|
|
287
|
-
"text": "string"
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"name": "height",
|
|
292
|
-
"fieldName": "height",
|
|
293
|
-
"description": "Height of the box (CSS value)",
|
|
294
|
-
"type": {
|
|
295
|
-
"text": "string"
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"name": "min-width",
|
|
300
|
-
"fieldName": "minWidth",
|
|
301
|
-
"description": "Minimum width constraint",
|
|
302
|
-
"type": {
|
|
303
|
-
"text": "string"
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"name": "max-width",
|
|
308
|
-
"fieldName": "maxWidth",
|
|
309
|
-
"description": "Maximum width constraint",
|
|
310
|
-
"type": {
|
|
311
|
-
"text": "string"
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"name": "min-height",
|
|
316
|
-
"fieldName": "minHeight",
|
|
317
|
-
"description": "Minimum height constraint",
|
|
318
|
-
"type": {
|
|
319
|
-
"text": "string"
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"name": "max-height",
|
|
324
|
-
"fieldName": "maxHeight",
|
|
325
|
-
"description": "Maximum height constraint",
|
|
326
|
-
"type": {
|
|
327
|
-
"text": "string"
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"name": "background",
|
|
332
|
-
"fieldName": "background",
|
|
333
|
-
"description": "Background color or CSS value (e.g., '#f0f0f0', 'var(--le-color-primary-light)')",
|
|
334
|
-
"type": {
|
|
335
|
-
"text": "string"
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"name": "border-radius",
|
|
340
|
-
"fieldName": "borderRadius",
|
|
341
|
-
"description": "Border radius (e.g., '8px', 'var(--le-radius-md)')",
|
|
342
|
-
"type": {
|
|
343
|
-
"text": "string"
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"name": "border",
|
|
348
|
-
"fieldName": "border",
|
|
349
|
-
"description": "Border style (e.g., '1px solid #ccc', '2px dashed var(--le-color-border)')",
|
|
350
|
-
"type": {
|
|
351
|
-
"text": "string"
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"name": "align-self",
|
|
356
|
-
"fieldName": "alignSelf",
|
|
357
|
-
"default": "'auto'",
|
|
358
|
-
"description": "Self-alignment override for this item on the cross axis",
|
|
359
|
-
"type": {
|
|
360
|
-
"text": "'auto' | 'start' | 'center' | 'end' | 'stretch' | 'baseline'"
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"name": "align-content",
|
|
365
|
-
"fieldName": "alignContent",
|
|
366
|
-
"default": "'stretch'",
|
|
367
|
-
"description": "Internal horizontal alignment of content",
|
|
368
|
-
"type": {
|
|
369
|
-
"text": "'start' | 'center' | 'end' | 'stretch'"
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
"name": "justify-content",
|
|
374
|
-
"fieldName": "justifyContent",
|
|
375
|
-
"default": "'start'",
|
|
376
|
-
"description": "Internal vertical alignment of content",
|
|
377
|
-
"type": {
|
|
378
|
-
"text": "'start' | 'center' | 'end' | 'stretch'"
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"name": "padding",
|
|
383
|
-
"fieldName": "padding",
|
|
384
|
-
"description": "Padding inside the box (CSS value like '8px', '1rem')",
|
|
385
|
-
"type": {
|
|
386
|
-
"text": "string"
|
|
387
|
-
}
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
"name": "order",
|
|
391
|
-
"fieldName": "order",
|
|
392
|
-
"description": "Order in the flex container (lower values come first)",
|
|
393
|
-
"type": {
|
|
394
|
-
"text": "number"
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"name": "display-flex",
|
|
399
|
-
"fieldName": "displayFlex",
|
|
400
|
-
"default": "false",
|
|
401
|
-
"description": "Whether to display box content as flex (for internal alignment)",
|
|
402
|
-
"type": {
|
|
403
|
-
"text": "boolean"
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"name": "inner-direction",
|
|
408
|
-
"fieldName": "innerDirection",
|
|
409
|
-
"default": "'vertical'",
|
|
410
|
-
"description": "Direction of internal flex layout when displayFlex is true",
|
|
411
|
-
"type": {
|
|
412
|
-
"text": "'horizontal' | 'vertical'"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"name": "inner-gap",
|
|
417
|
-
"fieldName": "innerGap",
|
|
418
|
-
"description": "Gap between internal flex items when displayFlex is true",
|
|
419
|
-
"type": {
|
|
420
|
-
"text": "string"
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
],
|
|
424
|
-
"tagName": "le-box",
|
|
425
|
-
"events": [],
|
|
426
|
-
"customElement": true
|
|
427
|
-
}
|
|
428
|
-
],
|
|
429
|
-
"exports": [
|
|
430
|
-
{
|
|
431
|
-
"kind": "js",
|
|
432
|
-
"name": "LeBox",
|
|
433
|
-
"declaration": {
|
|
434
|
-
"name": "LeBox",
|
|
435
|
-
"module": "src/components/le-box/le-box.tsx"
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"kind": "custom-element-definition",
|
|
440
|
-
"name": "le-box",
|
|
441
|
-
"declaration": {
|
|
442
|
-
"name": "LeBox",
|
|
443
|
-
"module": "src/components/le-box/le-box.tsx"
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
]
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"kind": "javascript-module",
|
|
450
|
-
"path": "src/components/le-button/le-button.tsx",
|
|
451
|
-
"declarations": [
|
|
452
|
-
{
|
|
453
|
-
"kind": "class",
|
|
454
|
-
"description": "A flexible button component with multiple variants and states.",
|
|
455
|
-
"name": "LeButton",
|
|
456
|
-
"cssProperties": [
|
|
457
|
-
{
|
|
458
|
-
"description": "Button background color",
|
|
459
|
-
"name": "--le-button-bg"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"description": "Button text color",
|
|
463
|
-
"name": "--le-button-color"
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
"description": "Button border radius",
|
|
467
|
-
"name": "--le-button-border-radius"
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"description": "Button horizontal padding",
|
|
471
|
-
"name": "--le-button-padding-x"
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
"description": "Button vertical padding",
|
|
475
|
-
"name": "--le-button-padding-y"
|
|
476
|
-
}
|
|
477
|
-
],
|
|
478
|
-
"cssParts": [
|
|
479
|
-
{
|
|
480
|
-
"description": "The native button element",
|
|
481
|
-
"name": "button"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"description": "The button content wrapper",
|
|
485
|
-
"name": "content"
|
|
486
|
-
}
|
|
487
|
-
],
|
|
488
|
-
"slots": [
|
|
489
|
-
{
|
|
490
|
-
"description": "Button text content",
|
|
491
|
-
"name": ""
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"description": "Icon before the text",
|
|
495
|
-
"name": "icon-start"
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"description": "Icon after the text",
|
|
499
|
-
"name": "icon-end"
|
|
500
|
-
}
|
|
501
|
-
],
|
|
502
|
-
"members": [
|
|
503
|
-
{
|
|
504
|
-
"kind": "field",
|
|
505
|
-
"name": "el",
|
|
506
|
-
"type": {
|
|
507
|
-
"text": "HTMLElement"
|
|
508
|
-
}
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"kind": "field",
|
|
512
|
-
"name": "mode",
|
|
513
|
-
"type": {
|
|
514
|
-
"text": "'default' | 'admin'"
|
|
515
|
-
},
|
|
516
|
-
"description": "Mode of the popover should be 'default' for internal use"
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"kind": "field",
|
|
520
|
-
"name": "variant",
|
|
521
|
-
"type": {
|
|
522
|
-
"text": "'solid' | 'outlined' | 'clear' | 'system'"
|
|
523
|
-
},
|
|
524
|
-
"default": "'solid'",
|
|
525
|
-
"description": "Button variant style"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"kind": "field",
|
|
529
|
-
"name": "color",
|
|
530
|
-
"type": {
|
|
531
|
-
"text": "'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info'"
|
|
532
|
-
},
|
|
533
|
-
"default": "'primary'",
|
|
534
|
-
"description": "Button color theme (uses theme semantic colors)"
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
"kind": "field",
|
|
538
|
-
"name": "size",
|
|
539
|
-
"type": {
|
|
540
|
-
"text": "'small' | 'medium' | 'large'"
|
|
541
|
-
},
|
|
542
|
-
"default": "'medium'",
|
|
543
|
-
"description": "Button size"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"kind": "field",
|
|
547
|
-
"name": "selected",
|
|
548
|
-
"type": {
|
|
549
|
-
"text": "boolean"
|
|
550
|
-
},
|
|
551
|
-
"default": "false",
|
|
552
|
-
"description": "Whether the button is in a selected/active state"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"kind": "field",
|
|
556
|
-
"name": "fullWidth",
|
|
557
|
-
"type": {
|
|
558
|
-
"text": "boolean"
|
|
559
|
-
},
|
|
560
|
-
"default": "false",
|
|
561
|
-
"description": "Whether the button takes full width of its container"
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"kind": "field",
|
|
565
|
-
"name": "iconOnly",
|
|
566
|
-
"type": {
|
|
567
|
-
"text": "boolean"
|
|
568
|
-
},
|
|
569
|
-
"default": "false",
|
|
570
|
-
"description": "Whether the button displays only an icon (square aspect ratio)"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"kind": "field",
|
|
574
|
-
"name": "disabled",
|
|
575
|
-
"type": {
|
|
576
|
-
"text": "boolean"
|
|
577
|
-
},
|
|
578
|
-
"default": "false",
|
|
579
|
-
"description": "Whether the button is disabled"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
"kind": "field",
|
|
583
|
-
"name": "type",
|
|
584
|
-
"type": {
|
|
585
|
-
"text": "'button' | 'submit' | 'reset'"
|
|
586
|
-
},
|
|
587
|
-
"default": "'button'",
|
|
588
|
-
"description": "The button type attribute"
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"kind": "field",
|
|
592
|
-
"name": "href",
|
|
593
|
-
"type": {
|
|
594
|
-
"text": "string | undefined"
|
|
595
|
-
},
|
|
596
|
-
"description": "Optional href to make the button act as a link"
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"kind": "field",
|
|
600
|
-
"name": "target",
|
|
601
|
-
"type": {
|
|
602
|
-
"text": "string | undefined"
|
|
603
|
-
},
|
|
604
|
-
"description": "Link target when href is set"
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"kind": "field",
|
|
608
|
-
"name": "handleClick",
|
|
609
|
-
"privacy": "private"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"kind": "method",
|
|
613
|
-
"name": "render"
|
|
614
|
-
}
|
|
615
|
-
],
|
|
616
|
-
"attributes": [
|
|
617
|
-
{
|
|
618
|
-
"name": "mode",
|
|
619
|
-
"fieldName": "mode",
|
|
620
|
-
"description": "Mode of the popover should be 'default' for internal use",
|
|
621
|
-
"type": {
|
|
622
|
-
"text": "'default' | 'admin'"
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"name": "variant",
|
|
627
|
-
"fieldName": "variant",
|
|
628
|
-
"default": "'solid'",
|
|
629
|
-
"description": "Button variant style",
|
|
630
|
-
"type": {
|
|
631
|
-
"text": "'solid' | 'outlined' | 'clear' | 'system'"
|
|
632
|
-
}
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
"name": "color",
|
|
636
|
-
"fieldName": "color",
|
|
637
|
-
"default": "'primary'",
|
|
638
|
-
"description": "Button color theme (uses theme semantic colors)",
|
|
639
|
-
"type": {
|
|
640
|
-
"text": "'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info'"
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"name": "size",
|
|
645
|
-
"fieldName": "size",
|
|
646
|
-
"default": "'medium'",
|
|
647
|
-
"description": "Button size",
|
|
648
|
-
"type": {
|
|
649
|
-
"text": "'small' | 'medium' | 'large'"
|
|
650
|
-
}
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
"name": "selected",
|
|
654
|
-
"fieldName": "selected",
|
|
655
|
-
"default": "false",
|
|
656
|
-
"description": "Whether the button is in a selected/active state",
|
|
657
|
-
"type": {
|
|
658
|
-
"text": "boolean"
|
|
659
|
-
}
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
"name": "full-width",
|
|
663
|
-
"fieldName": "fullWidth",
|
|
664
|
-
"default": "false",
|
|
665
|
-
"description": "Whether the button takes full width of its container",
|
|
666
|
-
"type": {
|
|
667
|
-
"text": "boolean"
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"name": "icon-only",
|
|
672
|
-
"fieldName": "iconOnly",
|
|
673
|
-
"default": "false",
|
|
674
|
-
"description": "Whether the button displays only an icon (square aspect ratio)",
|
|
675
|
-
"type": {
|
|
676
|
-
"text": "boolean"
|
|
677
|
-
}
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"name": "disabled",
|
|
681
|
-
"fieldName": "disabled",
|
|
682
|
-
"default": "false",
|
|
683
|
-
"description": "Whether the button is disabled",
|
|
684
|
-
"type": {
|
|
685
|
-
"text": "boolean"
|
|
686
|
-
}
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
"name": "type",
|
|
690
|
-
"fieldName": "type",
|
|
691
|
-
"default": "'button'",
|
|
692
|
-
"description": "The button type attribute",
|
|
693
|
-
"type": {
|
|
694
|
-
"text": "'button' | 'submit' | 'reset'"
|
|
695
|
-
}
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
"name": "href",
|
|
699
|
-
"fieldName": "href",
|
|
700
|
-
"description": "Optional href to make the button act as a link",
|
|
701
|
-
"type": {
|
|
702
|
-
"text": "string"
|
|
703
|
-
}
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
"name": "target",
|
|
707
|
-
"fieldName": "target",
|
|
708
|
-
"description": "Link target when href is set",
|
|
709
|
-
"type": {
|
|
710
|
-
"text": "string"
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
],
|
|
714
|
-
"tagName": "le-button",
|
|
715
|
-
"events": [
|
|
716
|
-
{
|
|
717
|
-
"name": "click",
|
|
718
|
-
"type": {
|
|
719
|
-
"text": "EventEmitter<PointerEvent>"
|
|
720
|
-
},
|
|
721
|
-
"description": "Emitted when the button is clicked.\nThis is a custom event that wraps the native click but ensures the target is the le-button."
|
|
722
|
-
}
|
|
723
|
-
],
|
|
724
|
-
"customElement": true
|
|
725
|
-
}
|
|
726
|
-
],
|
|
727
|
-
"exports": [
|
|
728
|
-
{
|
|
729
|
-
"kind": "js",
|
|
730
|
-
"name": "LeButton",
|
|
731
|
-
"declaration": {
|
|
732
|
-
"name": "LeButton",
|
|
733
|
-
"module": "src/components/le-button/le-button.tsx"
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
"kind": "custom-element-definition",
|
|
738
|
-
"name": "le-button",
|
|
739
|
-
"declaration": {
|
|
740
|
-
"name": "LeButton",
|
|
741
|
-
"module": "src/components/le-button/le-button.tsx"
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
]
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"kind": "javascript-module",
|
|
748
|
-
"path": "src/components/le-card/le-card.tsx",
|
|
749
|
-
"declarations": [
|
|
750
|
-
{
|
|
751
|
-
"kind": "class",
|
|
752
|
-
"description": "A flexible card component with header, content, and footer slots.\n\nThe card uses le-slot wrappers for each slot area. In admin mode,\nle-slot shows placeholders for CMS editing. In default mode,\nle-slot acts as a transparent passthrough.",
|
|
753
|
-
"name": "LeCard",
|
|
754
|
-
"cssProperties": [
|
|
755
|
-
{
|
|
756
|
-
"description": "Card background color",
|
|
757
|
-
"name": "--le-card-bg"
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
"description": "Card border radius",
|
|
761
|
-
"name": "--le-card-border-radius"
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
"description": "Card box shadow",
|
|
765
|
-
"name": "--le-card-shadow"
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"description": "Card content padding",
|
|
769
|
-
"name": "--le-card-padding"
|
|
770
|
-
}
|
|
771
|
-
],
|
|
772
|
-
"cssParts": [
|
|
773
|
-
{
|
|
774
|
-
"description": "The main card container",
|
|
775
|
-
"name": "card"
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
"description": "The card header section",
|
|
779
|
-
"name": "header"
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
"description": "The card content section",
|
|
783
|
-
"name": "content"
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
"description": "The card footer section",
|
|
787
|
-
"name": "footer"
|
|
788
|
-
}
|
|
789
|
-
],
|
|
790
|
-
"slots": [
|
|
791
|
-
{
|
|
792
|
-
"description": "Card header content (title, actions)",
|
|
793
|
-
"name": "header"
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
"description": "Default slot for main card content",
|
|
797
|
-
"name": ""
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"description": "Card footer content (buttons, links)",
|
|
801
|
-
"name": "footer"
|
|
802
|
-
}
|
|
803
|
-
],
|
|
804
|
-
"members": [
|
|
805
|
-
{
|
|
806
|
-
"kind": "field",
|
|
807
|
-
"name": "el",
|
|
808
|
-
"type": {
|
|
809
|
-
"text": "HTMLElement"
|
|
810
|
-
}
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
"kind": "field",
|
|
814
|
-
"name": "variant",
|
|
815
|
-
"type": {
|
|
816
|
-
"text": "'default' | 'outlined' | 'elevated'"
|
|
817
|
-
},
|
|
818
|
-
"default": "'default'",
|
|
819
|
-
"description": "Card variant style"
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
"kind": "field",
|
|
823
|
-
"name": "interactive",
|
|
824
|
-
"type": {
|
|
825
|
-
"text": "boolean"
|
|
826
|
-
},
|
|
827
|
-
"default": "false",
|
|
828
|
-
"description": "Whether the card is interactive (clickable)"
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
"kind": "method",
|
|
832
|
-
"name": "render"
|
|
833
|
-
}
|
|
834
|
-
],
|
|
835
|
-
"attributes": [
|
|
836
|
-
{
|
|
837
|
-
"name": "variant",
|
|
838
|
-
"fieldName": "variant",
|
|
839
|
-
"default": "'default'",
|
|
840
|
-
"description": "Card variant style",
|
|
841
|
-
"type": {
|
|
842
|
-
"text": "'default' | 'outlined' | 'elevated'"
|
|
843
|
-
}
|
|
844
|
-
},
|
|
845
|
-
{
|
|
846
|
-
"name": "interactive",
|
|
847
|
-
"fieldName": "interactive",
|
|
848
|
-
"default": "false",
|
|
849
|
-
"description": "Whether the card is interactive (clickable)",
|
|
850
|
-
"type": {
|
|
851
|
-
"text": "boolean"
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
],
|
|
855
|
-
"tagName": "le-card",
|
|
856
|
-
"events": [],
|
|
857
|
-
"customElement": true
|
|
858
|
-
}
|
|
859
|
-
],
|
|
860
|
-
"exports": [
|
|
861
|
-
{
|
|
862
|
-
"kind": "js",
|
|
863
|
-
"name": "LeCard",
|
|
864
|
-
"declaration": {
|
|
865
|
-
"name": "LeCard",
|
|
866
|
-
"module": "src/components/le-card/le-card.tsx"
|
|
867
|
-
}
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
"kind": "custom-element-definition",
|
|
871
|
-
"name": "le-card",
|
|
872
|
-
"declaration": {
|
|
873
|
-
"name": "LeCard",
|
|
874
|
-
"module": "src/components/le-card/le-card.tsx"
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
]
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
"kind": "javascript-module",
|
|
881
|
-
"path": "src/components/le-component/le-component.tsx",
|
|
882
|
-
"declarations": [
|
|
883
|
-
{
|
|
884
|
-
"kind": "class",
|
|
885
|
-
"description": "Component wrapper for admin mode editing.\n\nThis component is used internally by other components to provide admin-mode\nediting capabilities. It wraps the component's rendered output and shows\na settings popover for editing properties.\n\nIn default mode, it acts as a simple passthrough (display: contents).\nIn admin mode, it shows a border, component name header, and settings popover.\n\nThe host element is found automatically by traversing up through the shadow DOM.\n\nUsage inside a component's render method:\n```tsx\nrender() {\n return (\n <le-component component=\"le-card\">\n <Host>...</Host>\n </le-component>\n );\n}\n```",
|
|
886
|
-
"name": "LeComponent",
|
|
887
|
-
"slots": [
|
|
888
|
-
{
|
|
889
|
-
"description": "The component's rendered content",
|
|
890
|
-
"name": ""
|
|
891
|
-
}
|
|
892
|
-
],
|
|
893
|
-
"members": [
|
|
894
|
-
{
|
|
895
|
-
"kind": "field",
|
|
896
|
-
"name": "el",
|
|
897
|
-
"type": {
|
|
898
|
-
"text": "HTMLElement"
|
|
899
|
-
}
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
"kind": "field",
|
|
903
|
-
"name": "component",
|
|
904
|
-
"type": {
|
|
905
|
-
"text": "string"
|
|
906
|
-
},
|
|
907
|
-
"description": "The tag name of the component (e.g., 'le-card').\nUsed to look up property metadata and display the component name."
|
|
908
|
-
},
|
|
909
|
-
{
|
|
910
|
-
"kind": "field",
|
|
911
|
-
"name": "displayName",
|
|
912
|
-
"type": {
|
|
913
|
-
"text": "string | undefined"
|
|
914
|
-
},
|
|
915
|
-
"description": "Optional display name for the component.\nIf not provided, the tag name will be formatted as the display name."
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
"kind": "field",
|
|
919
|
-
"name": "hostClass",
|
|
920
|
-
"type": {
|
|
921
|
-
"text": "string | undefined"
|
|
922
|
-
},
|
|
923
|
-
"description": "Classes to apply to the host element.\nAllows parent components to pass their styling classes."
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"kind": "field",
|
|
927
|
-
"name": "hostStyle",
|
|
928
|
-
"type": {
|
|
929
|
-
"text": "{ [key: string]: string } | undefined"
|
|
930
|
-
},
|
|
931
|
-
"description": "Inline styles to apply to the host element.\nAllows parent components to pass dynamic styles (e.g., flex properties)."
|
|
932
|
-
},
|
|
933
|
-
{
|
|
934
|
-
"kind": "field",
|
|
935
|
-
"name": "hostElement",
|
|
936
|
-
"type": {
|
|
937
|
-
"text": "HTMLElement | undefined"
|
|
938
|
-
},
|
|
939
|
-
"privacy": "private",
|
|
940
|
-
"description": "Reference to the host element (found automatically from parent)"
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
"kind": "field",
|
|
944
|
-
"name": "adminMode",
|
|
945
|
-
"type": {
|
|
946
|
-
"text": "boolean"
|
|
947
|
-
},
|
|
948
|
-
"privacy": "private",
|
|
949
|
-
"default": "false",
|
|
950
|
-
"description": "Internal state to track admin mode"
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
"kind": "field",
|
|
954
|
-
"name": "componentMeta",
|
|
955
|
-
"type": {
|
|
956
|
-
"text": "ComponentMetadata | null"
|
|
957
|
-
},
|
|
958
|
-
"privacy": "private",
|
|
959
|
-
"default": "null",
|
|
960
|
-
"description": "Component metadata loaded from Custom Elements Manifest"
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
"kind": "field",
|
|
964
|
-
"name": "propertyValues",
|
|
965
|
-
"type": {
|
|
966
|
-
"text": "Record<string, any>"
|
|
967
|
-
},
|
|
968
|
-
"privacy": "private",
|
|
969
|
-
"default": "{}",
|
|
970
|
-
"description": "Current property values of the host component"
|
|
971
|
-
},
|
|
972
|
-
{
|
|
973
|
-
"kind": "field",
|
|
974
|
-
"name": "disconnectModeObserver",
|
|
975
|
-
"type": {
|
|
976
|
-
"text": "() => void | undefined"
|
|
977
|
-
},
|
|
978
|
-
"privacy": "private"
|
|
979
|
-
},
|
|
980
|
-
{
|
|
981
|
-
"kind": "method",
|
|
982
|
-
"name": "findHostElement",
|
|
983
|
-
"privacy": "private",
|
|
984
|
-
"description": "Find the host element by traversing up through shadow DOM"
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
"kind": "method",
|
|
988
|
-
"name": "formatDisplayName",
|
|
989
|
-
"privacy": "private",
|
|
990
|
-
"return": {
|
|
991
|
-
"type": {
|
|
992
|
-
"text": "string"
|
|
993
|
-
}
|
|
994
|
-
},
|
|
995
|
-
"parameters": [
|
|
996
|
-
{
|
|
997
|
-
"name": "tagName",
|
|
998
|
-
"type": {
|
|
999
|
-
"text": "string"
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
],
|
|
1003
|
-
"description": "Formats a tag name into a display name\ne.g., 'le-card' -> 'Card'"
|
|
1004
|
-
},
|
|
1005
|
-
{
|
|
1006
|
-
"kind": "method",
|
|
1007
|
-
"name": "loadComponentMetadata",
|
|
1008
|
-
"privacy": "private",
|
|
1009
|
-
"description": "Load component metadata from the Custom Elements Manifest"
|
|
1010
|
-
},
|
|
1011
|
-
{
|
|
1012
|
-
"kind": "method",
|
|
1013
|
-
"name": "isInternalAttribute",
|
|
1014
|
-
"privacy": "private",
|
|
1015
|
-
"return": {
|
|
1016
|
-
"type": {
|
|
1017
|
-
"text": "boolean"
|
|
1018
|
-
}
|
|
1019
|
-
},
|
|
1020
|
-
"parameters": [
|
|
1021
|
-
{
|
|
1022
|
-
"name": "name",
|
|
1023
|
-
"type": {
|
|
1024
|
-
"text": "string"
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
],
|
|
1028
|
-
"description": "Check if an attribute is internal (should not be shown in editor)"
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
"kind": "method",
|
|
1032
|
-
"name": "readPropertyValues",
|
|
1033
|
-
"privacy": "private",
|
|
1034
|
-
"description": "Read current property values from the host element"
|
|
1035
|
-
},
|
|
1036
|
-
{
|
|
1037
|
-
"kind": "method",
|
|
1038
|
-
"name": "parseAttributeValue",
|
|
1039
|
-
"privacy": "private",
|
|
1040
|
-
"return": {
|
|
1041
|
-
"type": {
|
|
1042
|
-
"text": "any"
|
|
1043
|
-
}
|
|
1044
|
-
},
|
|
1045
|
-
"parameters": [
|
|
1046
|
-
{
|
|
1047
|
-
"name": "value",
|
|
1048
|
-
"type": {
|
|
1049
|
-
"text": "string | null"
|
|
1050
|
-
}
|
|
1051
|
-
},
|
|
1052
|
-
{
|
|
1053
|
-
"name": "type",
|
|
1054
|
-
"optional": true,
|
|
1055
|
-
"type": {
|
|
1056
|
-
"text": "string"
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
],
|
|
1060
|
-
"description": "Parse an attribute value based on its type"
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
1063
|
-
"kind": "method",
|
|
1064
|
-
"name": "handlePropertyChange",
|
|
1065
|
-
"privacy": "private",
|
|
1066
|
-
"parameters": [
|
|
1067
|
-
{
|
|
1068
|
-
"name": "attrName",
|
|
1069
|
-
"type": {
|
|
1070
|
-
"text": "string"
|
|
1071
|
-
}
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
"name": "value",
|
|
1075
|
-
"type": {
|
|
1076
|
-
"text": "any"
|
|
1077
|
-
}
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"name": "type",
|
|
1081
|
-
"optional": true,
|
|
1082
|
-
"type": {
|
|
1083
|
-
"text": "string"
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
],
|
|
1087
|
-
"description": "Handle property value changes from the editor"
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
"kind": "method",
|
|
1091
|
-
"name": "deleteComponent",
|
|
1092
|
-
"privacy": "private",
|
|
1093
|
-
"description": "Delete this component from the DOM"
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
"kind": "method",
|
|
1097
|
-
"name": "renderPropertyEditor",
|
|
1098
|
-
"privacy": "private",
|
|
1099
|
-
"description": "Render the property editor form"
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"kind": "method",
|
|
1103
|
-
"name": "renderPropertyField",
|
|
1104
|
-
"privacy": "private",
|
|
1105
|
-
"parameters": [
|
|
1106
|
-
{
|
|
1107
|
-
"name": "attr",
|
|
1108
|
-
"type": {
|
|
1109
|
-
"text": "AttributeMetadata"
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1112
|
-
],
|
|
1113
|
-
"description": "Render a single property field based on its type"
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
"kind": "method",
|
|
1117
|
-
"name": "render"
|
|
1118
|
-
}
|
|
1119
|
-
],
|
|
1120
|
-
"attributes": [
|
|
1121
|
-
{
|
|
1122
|
-
"name": "component",
|
|
1123
|
-
"fieldName": "component",
|
|
1124
|
-
"description": "The tag name of the component (e.g., 'le-card').\nUsed to look up property metadata and display the component name.",
|
|
1125
|
-
"type": {
|
|
1126
|
-
"text": "string"
|
|
1127
|
-
}
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
"name": "display-name",
|
|
1131
|
-
"fieldName": "displayName",
|
|
1132
|
-
"description": "Optional display name for the component.\nIf not provided, the tag name will be formatted as the display name.",
|
|
1133
|
-
"type": {
|
|
1134
|
-
"text": "string"
|
|
1135
|
-
}
|
|
1136
|
-
},
|
|
1137
|
-
{
|
|
1138
|
-
"name": "host-class",
|
|
1139
|
-
"fieldName": "hostClass",
|
|
1140
|
-
"description": "Classes to apply to the host element.\nAllows parent components to pass their styling classes.",
|
|
1141
|
-
"type": {
|
|
1142
|
-
"text": "string"
|
|
1143
|
-
}
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
"name": "host-style",
|
|
1147
|
-
"fieldName": "hostStyle",
|
|
1148
|
-
"description": "Inline styles to apply to the host element.\nAllows parent components to pass dynamic styles (e.g., flex properties).",
|
|
1149
|
-
"type": {
|
|
1150
|
-
"text": "{ [key: string]: string }"
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1153
|
-
],
|
|
1154
|
-
"tagName": "le-component",
|
|
1155
|
-
"events": [],
|
|
1156
|
-
"customElement": true
|
|
1157
|
-
}
|
|
1158
|
-
],
|
|
1159
|
-
"exports": [
|
|
1160
|
-
{
|
|
1161
|
-
"kind": "js",
|
|
1162
|
-
"name": "LeComponent",
|
|
1163
|
-
"declaration": {
|
|
1164
|
-
"name": "LeComponent",
|
|
1165
|
-
"module": "src/components/le-component/le-component.tsx"
|
|
1166
|
-
}
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
"kind": "custom-element-definition",
|
|
1170
|
-
"name": "le-component",
|
|
1171
|
-
"declaration": {
|
|
1172
|
-
"name": "LeComponent",
|
|
1173
|
-
"module": "src/components/le-component/le-component.tsx"
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
]
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
"kind": "javascript-module",
|
|
1180
|
-
"path": "src/components/le-checkbox/le-checkbox.tsx",
|
|
1181
|
-
"declarations": [
|
|
1182
|
-
{
|
|
1183
|
-
"kind": "class",
|
|
1184
|
-
"description": "A checkbox component with support for labels, descriptions, and external IDs.",
|
|
1185
|
-
"name": "LeCheckbox",
|
|
1186
|
-
"cssProperties": [
|
|
1187
|
-
{
|
|
1188
|
-
"description": "Size of the checkbox input",
|
|
1189
|
-
"name": "--le-checkbox-size"
|
|
1190
|
-
},
|
|
1191
|
-
{
|
|
1192
|
-
"description": "Color of the checkbox when checked",
|
|
1193
|
-
"name": "--le-checkbox-color"
|
|
1194
|
-
},
|
|
1195
|
-
{
|
|
1196
|
-
"description": "Color of the label text",
|
|
1197
|
-
"name": "--le-checkbox-label-color"
|
|
1198
|
-
},
|
|
1199
|
-
{
|
|
1200
|
-
"description": "Color of the description text",
|
|
1201
|
-
"name": "--le-checkbox-desc-color"
|
|
1202
|
-
}
|
|
1203
|
-
],
|
|
1204
|
-
"slots": [
|
|
1205
|
-
{
|
|
1206
|
-
"description": "The label text for the checkbox",
|
|
1207
|
-
"name": ""
|
|
1208
|
-
},
|
|
1209
|
-
{
|
|
1210
|
-
"description": "Additional description text displayed below the label",
|
|
1211
|
-
"name": "description"
|
|
1212
|
-
}
|
|
1213
|
-
],
|
|
1214
|
-
"members": [
|
|
1215
|
-
{
|
|
1216
|
-
"kind": "field",
|
|
1217
|
-
"name": "el",
|
|
1218
|
-
"type": {
|
|
1219
|
-
"text": "HTMLElement"
|
|
1220
|
-
}
|
|
1221
|
-
},
|
|
1222
|
-
{
|
|
1223
|
-
"kind": "field",
|
|
1224
|
-
"name": "checked",
|
|
1225
|
-
"type": {
|
|
1226
|
-
"text": "boolean"
|
|
1227
|
-
},
|
|
1228
|
-
"default": "false",
|
|
1229
|
-
"description": "Whether the checkbox is checked"
|
|
1230
|
-
},
|
|
1231
|
-
{
|
|
1232
|
-
"kind": "field",
|
|
1233
|
-
"name": "disabled",
|
|
1234
|
-
"type": {
|
|
1235
|
-
"text": "boolean"
|
|
1236
|
-
},
|
|
1237
|
-
"default": "false",
|
|
1238
|
-
"description": "Whether the checkbox is disabled"
|
|
1239
|
-
},
|
|
1240
|
-
{
|
|
1241
|
-
"kind": "field",
|
|
1242
|
-
"name": "name",
|
|
1243
|
-
"type": {
|
|
1244
|
-
"text": "string"
|
|
1245
|
-
},
|
|
1246
|
-
"description": "The name of the checkbox input"
|
|
1247
|
-
},
|
|
1248
|
-
{
|
|
1249
|
-
"kind": "field",
|
|
1250
|
-
"name": "value",
|
|
1251
|
-
"type": {
|
|
1252
|
-
"text": "string"
|
|
1253
|
-
},
|
|
1254
|
-
"description": "The value of the checkbox input"
|
|
1255
|
-
},
|
|
1256
|
-
{
|
|
1257
|
-
"kind": "field",
|
|
1258
|
-
"name": "externalId",
|
|
1259
|
-
"type": {
|
|
1260
|
-
"text": "string"
|
|
1261
|
-
},
|
|
1262
|
-
"description": "External ID for linking with external systems (e.g. database ID, PDF form field ID)"
|
|
1263
|
-
},
|
|
1264
|
-
{
|
|
1265
|
-
"kind": "field",
|
|
1266
|
-
"name": "handleChange",
|
|
1267
|
-
"privacy": "private"
|
|
1268
|
-
},
|
|
1269
|
-
{
|
|
1270
|
-
"kind": "method",
|
|
1271
|
-
"name": "render"
|
|
1272
|
-
}
|
|
1273
|
-
],
|
|
1274
|
-
"attributes": [
|
|
1275
|
-
{
|
|
1276
|
-
"name": "checked",
|
|
1277
|
-
"fieldName": "checked",
|
|
1278
|
-
"default": "false",
|
|
1279
|
-
"description": "Whether the checkbox is checked",
|
|
1280
|
-
"type": {
|
|
1281
|
-
"text": "boolean"
|
|
1282
|
-
}
|
|
1283
|
-
},
|
|
1284
|
-
{
|
|
1285
|
-
"name": "disabled",
|
|
1286
|
-
"fieldName": "disabled",
|
|
1287
|
-
"default": "false",
|
|
1288
|
-
"description": "Whether the checkbox is disabled",
|
|
1289
|
-
"type": {
|
|
1290
|
-
"text": "boolean"
|
|
1291
|
-
}
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
"name": "name",
|
|
1295
|
-
"fieldName": "name",
|
|
1296
|
-
"description": "The name of the checkbox input",
|
|
1297
|
-
"type": {
|
|
1298
|
-
"text": "string"
|
|
1299
|
-
}
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
"name": "value",
|
|
1303
|
-
"fieldName": "value",
|
|
1304
|
-
"description": "The value of the checkbox input",
|
|
1305
|
-
"type": {
|
|
1306
|
-
"text": "string"
|
|
1307
|
-
}
|
|
1308
|
-
},
|
|
1309
|
-
{
|
|
1310
|
-
"name": "external-id",
|
|
1311
|
-
"fieldName": "externalId",
|
|
1312
|
-
"description": "External ID for linking with external systems (e.g. database ID, PDF form field ID)",
|
|
1313
|
-
"type": {
|
|
1314
|
-
"text": "string"
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
],
|
|
1318
|
-
"tagName": "le-checkbox",
|
|
1319
|
-
"events": [
|
|
1320
|
-
{
|
|
1321
|
-
"name": "change",
|
|
1322
|
-
"type": {
|
|
1323
|
-
"text": "EventEmitter<{ checked: boolean; value: string; name: string; externalId: string }>"
|
|
1324
|
-
},
|
|
1325
|
-
"description": "Emitted when the checked state changes"
|
|
1326
|
-
}
|
|
1327
|
-
],
|
|
1328
|
-
"customElement": true
|
|
1329
|
-
}
|
|
1330
|
-
],
|
|
1331
|
-
"exports": [
|
|
1332
|
-
{
|
|
1333
|
-
"kind": "js",
|
|
1334
|
-
"name": "LeCheckbox",
|
|
1335
|
-
"declaration": {
|
|
1336
|
-
"name": "LeCheckbox",
|
|
1337
|
-
"module": "src/components/le-checkbox/le-checkbox.tsx"
|
|
1338
|
-
}
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
"kind": "custom-element-definition",
|
|
1342
|
-
"name": "le-checkbox",
|
|
1343
|
-
"declaration": {
|
|
1344
|
-
"name": "LeCheckbox",
|
|
1345
|
-
"module": "src/components/le-checkbox/le-checkbox.tsx"
|
|
1346
|
-
}
|
|
1347
|
-
}
|
|
1348
|
-
]
|
|
1349
|
-
},
|
|
1350
|
-
{
|
|
1351
|
-
"kind": "javascript-module",
|
|
1352
|
-
"path": "src/components/le-number-input/le-number-input.tsx",
|
|
1353
|
-
"declarations": [
|
|
1354
|
-
{
|
|
1355
|
-
"kind": "class",
|
|
1356
|
-
"description": "A number input component with validation, keyboard controls, and custom spinners.",
|
|
1357
|
-
"name": "LeNumberInput",
|
|
1358
|
-
"cssProperties": [
|
|
1359
|
-
{
|
|
1360
|
-
"description": "Input background color",
|
|
1361
|
-
"name": "--le-input-bg"
|
|
1362
|
-
},
|
|
1363
|
-
{
|
|
1364
|
-
"description": "Input text color",
|
|
1365
|
-
"name": "--le-input-color"
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
"description": "Input border style",
|
|
1369
|
-
"name": "--le-input-border"
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
"description": "Input border style when focused",
|
|
1373
|
-
"name": "--le-input-border-focus"
|
|
1374
|
-
},
|
|
1375
|
-
{
|
|
1376
|
-
"description": "Input border style when invalid",
|
|
1377
|
-
"name": "--le-input-border-error"
|
|
1378
|
-
},
|
|
1379
|
-
{
|
|
1380
|
-
"description": "Input border radius",
|
|
1381
|
-
"name": "--le-input-radius"
|
|
1382
|
-
},
|
|
1383
|
-
{
|
|
1384
|
-
"description": "Input padding",
|
|
1385
|
-
"name": "--le-input-padding"
|
|
1386
|
-
}
|
|
1387
|
-
],
|
|
1388
|
-
"slots": [
|
|
1389
|
-
{
|
|
1390
|
-
"description": "The label text for the input",
|
|
1391
|
-
"name": ""
|
|
1392
|
-
},
|
|
1393
|
-
{
|
|
1394
|
-
"description": "Additional description text displayed below the input",
|
|
1395
|
-
"name": "description"
|
|
1396
|
-
},
|
|
1397
|
-
{
|
|
1398
|
-
"description": "Icon to display at the start of the input",
|
|
1399
|
-
"name": "icon-start"
|
|
1400
|
-
}
|
|
1401
|
-
],
|
|
1402
|
-
"members": [
|
|
1403
|
-
{
|
|
1404
|
-
"kind": "field",
|
|
1405
|
-
"name": "el",
|
|
1406
|
-
"type": {
|
|
1407
|
-
"text": "HTMLElement"
|
|
1408
|
-
}
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
"kind": "field",
|
|
1412
|
-
"name": "value",
|
|
1413
|
-
"type": {
|
|
1414
|
-
"text": "number"
|
|
1415
|
-
},
|
|
1416
|
-
"description": "The value of the input"
|
|
1417
|
-
},
|
|
1418
|
-
{
|
|
1419
|
-
"kind": "field",
|
|
1420
|
-
"name": "name",
|
|
1421
|
-
"type": {
|
|
1422
|
-
"text": "string"
|
|
1423
|
-
},
|
|
1424
|
-
"description": "The name of the input"
|
|
1425
|
-
},
|
|
1426
|
-
{
|
|
1427
|
-
"kind": "field",
|
|
1428
|
-
"name": "label",
|
|
1429
|
-
"type": {
|
|
1430
|
-
"text": "string"
|
|
1431
|
-
},
|
|
1432
|
-
"description": "Label for the input"
|
|
1433
|
-
},
|
|
1434
|
-
{
|
|
1435
|
-
"kind": "field",
|
|
1436
|
-
"name": "placeholder",
|
|
1437
|
-
"type": {
|
|
1438
|
-
"text": "string"
|
|
1439
|
-
},
|
|
1440
|
-
"description": "Placeholder text"
|
|
1441
|
-
},
|
|
1442
|
-
{
|
|
1443
|
-
"kind": "field",
|
|
1444
|
-
"name": "min",
|
|
1445
|
-
"type": {
|
|
1446
|
-
"text": "number | undefined"
|
|
1447
|
-
},
|
|
1448
|
-
"description": "Minimum allowed value"
|
|
1449
|
-
},
|
|
1450
|
-
{
|
|
1451
|
-
"kind": "field",
|
|
1452
|
-
"name": "max",
|
|
1453
|
-
"type": {
|
|
1454
|
-
"text": "number | undefined"
|
|
1455
|
-
},
|
|
1456
|
-
"description": "Maximum allowed value"
|
|
1457
|
-
},
|
|
1458
|
-
{
|
|
1459
|
-
"kind": "field",
|
|
1460
|
-
"name": "step",
|
|
1461
|
-
"type": {
|
|
1462
|
-
"text": "number"
|
|
1463
|
-
},
|
|
1464
|
-
"default": "1",
|
|
1465
|
-
"description": "Step value for increment/decrement"
|
|
1466
|
-
},
|
|
1467
|
-
{
|
|
1468
|
-
"kind": "field",
|
|
1469
|
-
"name": "required",
|
|
1470
|
-
"type": {
|
|
1471
|
-
"text": "boolean"
|
|
1472
|
-
},
|
|
1473
|
-
"default": "false",
|
|
1474
|
-
"description": "Whether the input is required"
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
"kind": "field",
|
|
1478
|
-
"name": "disabled",
|
|
1479
|
-
"type": {
|
|
1480
|
-
"text": "boolean"
|
|
1481
|
-
},
|
|
1482
|
-
"default": "false",
|
|
1483
|
-
"description": "Whether the input is disabled"
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
"kind": "field",
|
|
1487
|
-
"name": "readonly",
|
|
1488
|
-
"type": {
|
|
1489
|
-
"text": "boolean"
|
|
1490
|
-
},
|
|
1491
|
-
"default": "false",
|
|
1492
|
-
"description": "Whether the input is read-only"
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
"kind": "field",
|
|
1496
|
-
"name": "iconStart",
|
|
1497
|
-
"type": {
|
|
1498
|
-
"text": "string | undefined"
|
|
1499
|
-
},
|
|
1500
|
-
"description": "Icon for the start icon"
|
|
1501
|
-
},
|
|
1502
|
-
{
|
|
1503
|
-
"kind": "field",
|
|
1504
|
-
"name": "showSpinners",
|
|
1505
|
-
"type": {
|
|
1506
|
-
"text": "boolean"
|
|
1507
|
-
},
|
|
1508
|
-
"default": "true",
|
|
1509
|
-
"description": "Whether to show the spinner controls"
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
"kind": "field",
|
|
1513
|
-
"name": "externalId",
|
|
1514
|
-
"type": {
|
|
1515
|
-
"text": "string"
|
|
1516
|
-
},
|
|
1517
|
-
"description": "External ID for linking with external systems"
|
|
1518
|
-
},
|
|
1519
|
-
{
|
|
1520
|
-
"kind": "field",
|
|
1521
|
-
"name": "isValid",
|
|
1522
|
-
"type": {
|
|
1523
|
-
"text": "boolean"
|
|
1524
|
-
},
|
|
1525
|
-
"privacy": "private",
|
|
1526
|
-
"default": "true",
|
|
1527
|
-
"description": "Internal validation state"
|
|
1528
|
-
},
|
|
1529
|
-
{
|
|
1530
|
-
"kind": "field",
|
|
1531
|
-
"name": "validationMessage",
|
|
1532
|
-
"type": {
|
|
1533
|
-
"text": "string"
|
|
1534
|
-
},
|
|
1535
|
-
"privacy": "private",
|
|
1536
|
-
"default": "''"
|
|
1537
|
-
},
|
|
1538
|
-
{
|
|
1539
|
-
"kind": "method",
|
|
1540
|
-
"name": "valueChanged"
|
|
1541
|
-
},
|
|
1542
|
-
{
|
|
1543
|
-
"kind": "method",
|
|
1544
|
-
"name": "validate",
|
|
1545
|
-
"privacy": "private"
|
|
1546
|
-
},
|
|
1547
|
-
{
|
|
1548
|
-
"kind": "method",
|
|
1549
|
-
"name": "emitChange",
|
|
1550
|
-
"privacy": "private"
|
|
1551
|
-
},
|
|
1552
|
-
{
|
|
1553
|
-
"kind": "method",
|
|
1554
|
-
"name": "emitInput",
|
|
1555
|
-
"privacy": "private"
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
"kind": "method",
|
|
1559
|
-
"name": "updateValue",
|
|
1560
|
-
"privacy": "private",
|
|
1561
|
-
"parameters": [
|
|
1562
|
-
{
|
|
1563
|
-
"name": "newValue",
|
|
1564
|
-
"type": {
|
|
1565
|
-
"text": "number"
|
|
1566
|
-
}
|
|
1567
|
-
}
|
|
1568
|
-
]
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
"kind": "field",
|
|
1572
|
-
"name": "handleInput",
|
|
1573
|
-
"privacy": "private"
|
|
1574
|
-
},
|
|
1575
|
-
{
|
|
1576
|
-
"kind": "field",
|
|
1577
|
-
"name": "handleChange",
|
|
1578
|
-
"privacy": "private"
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
"kind": "field",
|
|
1582
|
-
"name": "handleKeyDown",
|
|
1583
|
-
"privacy": "private"
|
|
1584
|
-
},
|
|
1585
|
-
{
|
|
1586
|
-
"kind": "field",
|
|
1587
|
-
"name": "handleWheel",
|
|
1588
|
-
"privacy": "private"
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"kind": "field",
|
|
1592
|
-
"name": "increment",
|
|
1593
|
-
"privacy": "private"
|
|
1594
|
-
},
|
|
1595
|
-
{
|
|
1596
|
-
"kind": "field",
|
|
1597
|
-
"name": "decrement",
|
|
1598
|
-
"privacy": "private"
|
|
1599
|
-
},
|
|
1600
|
-
{
|
|
1601
|
-
"kind": "method",
|
|
1602
|
-
"name": "render"
|
|
1603
|
-
}
|
|
1604
|
-
],
|
|
1605
|
-
"attributes": [
|
|
1606
|
-
{
|
|
1607
|
-
"name": "value",
|
|
1608
|
-
"fieldName": "value",
|
|
1609
|
-
"description": "The value of the input",
|
|
1610
|
-
"type": {
|
|
1611
|
-
"text": "number"
|
|
1612
|
-
}
|
|
1613
|
-
},
|
|
1614
|
-
{
|
|
1615
|
-
"name": "name",
|
|
1616
|
-
"fieldName": "name",
|
|
1617
|
-
"description": "The name of the input",
|
|
1618
|
-
"type": {
|
|
1619
|
-
"text": "string"
|
|
1620
|
-
}
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"name": "label",
|
|
1624
|
-
"fieldName": "label",
|
|
1625
|
-
"description": "Label for the input",
|
|
1626
|
-
"type": {
|
|
1627
|
-
"text": "string"
|
|
1628
|
-
}
|
|
1629
|
-
},
|
|
1630
|
-
{
|
|
1631
|
-
"name": "placeholder",
|
|
1632
|
-
"fieldName": "placeholder",
|
|
1633
|
-
"description": "Placeholder text",
|
|
1634
|
-
"type": {
|
|
1635
|
-
"text": "string"
|
|
1636
|
-
}
|
|
1637
|
-
},
|
|
1638
|
-
{
|
|
1639
|
-
"name": "min",
|
|
1640
|
-
"fieldName": "min",
|
|
1641
|
-
"description": "Minimum allowed value",
|
|
1642
|
-
"type": {
|
|
1643
|
-
"text": "number"
|
|
1644
|
-
}
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
"name": "max",
|
|
1648
|
-
"fieldName": "max",
|
|
1649
|
-
"description": "Maximum allowed value",
|
|
1650
|
-
"type": {
|
|
1651
|
-
"text": "number"
|
|
1652
|
-
}
|
|
1653
|
-
},
|
|
1654
|
-
{
|
|
1655
|
-
"name": "step",
|
|
1656
|
-
"fieldName": "step",
|
|
1657
|
-
"default": "1",
|
|
1658
|
-
"description": "Step value for increment/decrement",
|
|
1659
|
-
"type": {
|
|
1660
|
-
"text": "number"
|
|
1661
|
-
}
|
|
1662
|
-
},
|
|
1663
|
-
{
|
|
1664
|
-
"name": "required",
|
|
1665
|
-
"fieldName": "required",
|
|
1666
|
-
"default": "false",
|
|
1667
|
-
"description": "Whether the input is required",
|
|
1668
|
-
"type": {
|
|
1669
|
-
"text": "boolean"
|
|
1670
|
-
}
|
|
1671
|
-
},
|
|
1672
|
-
{
|
|
1673
|
-
"name": "disabled",
|
|
1674
|
-
"fieldName": "disabled",
|
|
1675
|
-
"default": "false",
|
|
1676
|
-
"description": "Whether the input is disabled",
|
|
1677
|
-
"type": {
|
|
1678
|
-
"text": "boolean"
|
|
1679
|
-
}
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
"name": "readonly",
|
|
1683
|
-
"fieldName": "readonly",
|
|
1684
|
-
"default": "false",
|
|
1685
|
-
"description": "Whether the input is read-only",
|
|
1686
|
-
"type": {
|
|
1687
|
-
"text": "boolean"
|
|
1688
|
-
}
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"name": "icon-start",
|
|
1692
|
-
"fieldName": "iconStart",
|
|
1693
|
-
"description": "Icon for the start icon",
|
|
1694
|
-
"type": {
|
|
1695
|
-
"text": "string"
|
|
1696
|
-
}
|
|
1697
|
-
},
|
|
1698
|
-
{
|
|
1699
|
-
"name": "show-spinners",
|
|
1700
|
-
"fieldName": "showSpinners",
|
|
1701
|
-
"default": "true",
|
|
1702
|
-
"description": "Whether to show the spinner controls",
|
|
1703
|
-
"type": {
|
|
1704
|
-
"text": "boolean"
|
|
1705
|
-
}
|
|
1706
|
-
},
|
|
1707
|
-
{
|
|
1708
|
-
"name": "external-id",
|
|
1709
|
-
"fieldName": "externalId",
|
|
1710
|
-
"description": "External ID for linking with external systems",
|
|
1711
|
-
"type": {
|
|
1712
|
-
"text": "string"
|
|
1713
|
-
}
|
|
1714
|
-
}
|
|
1715
|
-
],
|
|
1716
|
-
"tagName": "le-number-input",
|
|
1717
|
-
"events": [
|
|
1718
|
-
{
|
|
1719
|
-
"name": "leChange",
|
|
1720
|
-
"type": {
|
|
1721
|
-
"text": "EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>"
|
|
1722
|
-
},
|
|
1723
|
-
"description": "Emitted when the value changes (on blur or Enter)"
|
|
1724
|
-
},
|
|
1725
|
-
{
|
|
1726
|
-
"name": "leInput",
|
|
1727
|
-
"type": {
|
|
1728
|
-
"text": "EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>"
|
|
1729
|
-
},
|
|
1730
|
-
"description": "Emitted when the input value changes (on keystroke/spin)"
|
|
1731
|
-
}
|
|
1732
|
-
],
|
|
1733
|
-
"customElement": true
|
|
1734
|
-
}
|
|
1735
|
-
],
|
|
1736
|
-
"exports": [
|
|
1737
|
-
{
|
|
1738
|
-
"kind": "js",
|
|
1739
|
-
"name": "LeNumberInput",
|
|
1740
|
-
"declaration": {
|
|
1741
|
-
"name": "LeNumberInput",
|
|
1742
|
-
"module": "src/components/le-number-input/le-number-input.tsx"
|
|
1743
|
-
}
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"kind": "custom-element-definition",
|
|
1747
|
-
"name": "le-number-input",
|
|
1748
|
-
"declaration": {
|
|
1749
|
-
"name": "LeNumberInput",
|
|
1750
|
-
"module": "src/components/le-number-input/le-number-input.tsx"
|
|
1751
|
-
}
|
|
1752
|
-
}
|
|
1753
|
-
]
|
|
1754
|
-
},
|
|
1755
|
-
{
|
|
1756
|
-
"kind": "javascript-module",
|
|
1757
|
-
"path": "src/components/le-popover/le-popover.tsx",
|
|
1758
|
-
"declarations": [
|
|
1759
|
-
{
|
|
1760
|
-
"kind": "class",
|
|
1761
|
-
"description": "A popover component for displaying floating content.\n\nUses the native HTML Popover API for proper layering with dialogs\nand other top-layer elements. Falls back gracefully in older browsers.",
|
|
1762
|
-
"name": "LePopover",
|
|
1763
|
-
"slots": [
|
|
1764
|
-
{
|
|
1765
|
-
"description": "Content to display inside the popover",
|
|
1766
|
-
"name": ""
|
|
1767
|
-
},
|
|
1768
|
-
{
|
|
1769
|
-
"description": "Element that triggers the popover (optional)",
|
|
1770
|
-
"name": "trigger"
|
|
1771
|
-
}
|
|
1772
|
-
],
|
|
1773
|
-
"members": [
|
|
1774
|
-
{
|
|
1775
|
-
"kind": "field",
|
|
1776
|
-
"name": "el",
|
|
1777
|
-
"type": {
|
|
1778
|
-
"text": "HTMLElement"
|
|
1779
|
-
}
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"kind": "field",
|
|
1783
|
-
"name": "mode",
|
|
1784
|
-
"type": {
|
|
1785
|
-
"text": "'default' | 'admin'"
|
|
1786
|
-
},
|
|
1787
|
-
"description": "Mode of the popover should be 'default' for internal use"
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
"kind": "field",
|
|
1791
|
-
"name": "open",
|
|
1792
|
-
"type": {
|
|
1793
|
-
"text": "boolean"
|
|
1794
|
-
},
|
|
1795
|
-
"default": "false",
|
|
1796
|
-
"description": "Whether the popover is currently open"
|
|
1797
|
-
},
|
|
1798
|
-
{
|
|
1799
|
-
"kind": "field",
|
|
1800
|
-
"name": "position",
|
|
1801
|
-
"type": {
|
|
1802
|
-
"text": "'top' | 'bottom' | 'left' | 'right' | 'auto'"
|
|
1803
|
-
},
|
|
1804
|
-
"default": "'bottom'",
|
|
1805
|
-
"description": "Position of the popover relative to its trigger"
|
|
1806
|
-
},
|
|
1807
|
-
{
|
|
1808
|
-
"kind": "field",
|
|
1809
|
-
"name": "align",
|
|
1810
|
-
"type": {
|
|
1811
|
-
"text": "'start' | 'center' | 'end'"
|
|
1812
|
-
},
|
|
1813
|
-
"default": "'start'",
|
|
1814
|
-
"description": "Alignment of the popover"
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"kind": "field",
|
|
1818
|
-
"name": "popoverTitle",
|
|
1819
|
-
"type": {
|
|
1820
|
-
"text": "string | undefined"
|
|
1821
|
-
},
|
|
1822
|
-
"description": "Optional title for the popover header"
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
"kind": "field",
|
|
1826
|
-
"name": "showClose",
|
|
1827
|
-
"type": {
|
|
1828
|
-
"text": "boolean"
|
|
1829
|
-
},
|
|
1830
|
-
"default": "true",
|
|
1831
|
-
"description": "Whether to show a close button in the header"
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
"kind": "field",
|
|
1835
|
-
"name": "closeOnClickOutside",
|
|
1836
|
-
"type": {
|
|
1837
|
-
"text": "boolean"
|
|
1838
|
-
},
|
|
1839
|
-
"default": "true",
|
|
1840
|
-
"description": "Whether clicking outside closes the popover"
|
|
1841
|
-
},
|
|
1842
|
-
{
|
|
1843
|
-
"kind": "field",
|
|
1844
|
-
"name": "closeOnEscape",
|
|
1845
|
-
"type": {
|
|
1846
|
-
"text": "boolean"
|
|
1847
|
-
},
|
|
1848
|
-
"default": "true",
|
|
1849
|
-
"description": "Whether pressing Escape closes the popover"
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
"kind": "field",
|
|
1853
|
-
"name": "offset",
|
|
1854
|
-
"type": {
|
|
1855
|
-
"text": "number"
|
|
1856
|
-
},
|
|
1857
|
-
"default": "8",
|
|
1858
|
-
"description": "Offset from the trigger element (in pixels)"
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
1861
|
-
"kind": "field",
|
|
1862
|
-
"name": "width",
|
|
1863
|
-
"type": {
|
|
1864
|
-
"text": "string | undefined"
|
|
1865
|
-
},
|
|
1866
|
-
"description": "Fixed width for the popover (e.g., '300px', '20rem')"
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
"kind": "field",
|
|
1870
|
-
"name": "minWidth",
|
|
1871
|
-
"type": {
|
|
1872
|
-
"text": "string | undefined"
|
|
1873
|
-
},
|
|
1874
|
-
"default": "'200px'",
|
|
1875
|
-
"description": "Minimum width for the popover (e.g., '200px', '15rem')"
|
|
1876
|
-
},
|
|
1877
|
-
{
|
|
1878
|
-
"kind": "field",
|
|
1879
|
-
"name": "maxWidth",
|
|
1880
|
-
"type": {
|
|
1881
|
-
"text": "string | undefined"
|
|
1882
|
-
},
|
|
1883
|
-
"description": "Maximum width for the popover (e.g., '400px', '25rem')"
|
|
1884
|
-
},
|
|
1885
|
-
{
|
|
1886
|
-
"kind": "field",
|
|
1887
|
-
"name": "isPositioned",
|
|
1888
|
-
"type": {
|
|
1889
|
-
"text": "boolean"
|
|
1890
|
-
},
|
|
1891
|
-
"privacy": "private",
|
|
1892
|
-
"default": "false"
|
|
1893
|
-
},
|
|
1894
|
-
{
|
|
1895
|
-
"kind": "field",
|
|
1896
|
-
"name": "triggerEl",
|
|
1897
|
-
"type": {
|
|
1898
|
-
"text": "HTMLElement | undefined"
|
|
1899
|
-
},
|
|
1900
|
-
"privacy": "private"
|
|
1901
|
-
},
|
|
1902
|
-
{
|
|
1903
|
-
"kind": "field",
|
|
1904
|
-
"name": "popoverEl",
|
|
1905
|
-
"type": {
|
|
1906
|
-
"text": "HTMLElement | undefined"
|
|
1907
|
-
},
|
|
1908
|
-
"privacy": "private"
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"kind": "field",
|
|
1912
|
-
"name": "uniqueId",
|
|
1913
|
-
"type": {
|
|
1914
|
-
"text": "string"
|
|
1915
|
-
},
|
|
1916
|
-
"privacy": "private",
|
|
1917
|
-
"default": "`le-popover-${Math.random().toString(36).substr(2, 9)}`"
|
|
1918
|
-
},
|
|
1919
|
-
{
|
|
1920
|
-
"kind": "field",
|
|
1921
|
-
"name": "scrollParents",
|
|
1922
|
-
"type": {
|
|
1923
|
-
"text": "Element[]"
|
|
1924
|
-
},
|
|
1925
|
-
"privacy": "private",
|
|
1926
|
-
"default": "[]"
|
|
1927
|
-
},
|
|
1928
|
-
{
|
|
1929
|
-
"kind": "method",
|
|
1930
|
-
"name": "getScrollParents",
|
|
1931
|
-
"privacy": "private",
|
|
1932
|
-
"return": {
|
|
1933
|
-
"type": {
|
|
1934
|
-
"text": "Element[]"
|
|
1935
|
-
}
|
|
1936
|
-
},
|
|
1937
|
-
"parameters": [
|
|
1938
|
-
{
|
|
1939
|
-
"name": "element",
|
|
1940
|
-
"type": {
|
|
1941
|
-
"text": "Element"
|
|
1942
|
-
}
|
|
1943
|
-
}
|
|
1944
|
-
],
|
|
1945
|
-
"description": "Find all scrollable parent elements"
|
|
1946
|
-
},
|
|
1947
|
-
{
|
|
1948
|
-
"kind": "method",
|
|
1949
|
-
"name": "addScrollListeners",
|
|
1950
|
-
"privacy": "private",
|
|
1951
|
-
"description": "Add scroll listeners to all scrollable parents"
|
|
1952
|
-
},
|
|
1953
|
-
{
|
|
1954
|
-
"kind": "method",
|
|
1955
|
-
"name": "removeScrollListeners",
|
|
1956
|
-
"privacy": "private",
|
|
1957
|
-
"description": "Remove scroll listeners"
|
|
1958
|
-
},
|
|
1959
|
-
{
|
|
1960
|
-
"kind": "field",
|
|
1961
|
-
"name": "handleScroll",
|
|
1962
|
-
"privacy": "private"
|
|
1963
|
-
},
|
|
1964
|
-
{
|
|
1965
|
-
"kind": "field",
|
|
1966
|
-
"name": "handlePopoverToggle",
|
|
1967
|
-
"privacy": "private"
|
|
1968
|
-
},
|
|
1969
|
-
{
|
|
1970
|
-
"kind": "field",
|
|
1971
|
-
"name": "handleOtherPopoverOpen",
|
|
1972
|
-
"privacy": "private"
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"kind": "method",
|
|
1976
|
-
"name": "show",
|
|
1977
|
-
"description": "Opens the popover"
|
|
1978
|
-
},
|
|
1979
|
-
{
|
|
1980
|
-
"kind": "method",
|
|
1981
|
-
"name": "hide",
|
|
1982
|
-
"description": "Closes the popover"
|
|
1983
|
-
},
|
|
1984
|
-
{
|
|
1985
|
-
"kind": "method",
|
|
1986
|
-
"name": "toggle",
|
|
1987
|
-
"description": "Toggles the popover"
|
|
1988
|
-
},
|
|
1989
|
-
{
|
|
1990
|
-
"kind": "field",
|
|
1991
|
-
"name": "handleTriggerClick",
|
|
1992
|
-
"privacy": "private"
|
|
1993
|
-
},
|
|
1994
|
-
{
|
|
1995
|
-
"kind": "method",
|
|
1996
|
-
"name": "updatePosition",
|
|
1997
|
-
"privacy": "private"
|
|
1998
|
-
},
|
|
1999
|
-
{
|
|
2000
|
-
"kind": "method",
|
|
2001
|
-
"name": "render"
|
|
2002
|
-
}
|
|
2003
|
-
],
|
|
2004
|
-
"attributes": [
|
|
2005
|
-
{
|
|
2006
|
-
"name": "mode",
|
|
2007
|
-
"fieldName": "mode",
|
|
2008
|
-
"description": "Mode of the popover should be 'default' for internal use",
|
|
2009
|
-
"type": {
|
|
2010
|
-
"text": "'default' | 'admin'"
|
|
2011
|
-
}
|
|
2012
|
-
},
|
|
2013
|
-
{
|
|
2014
|
-
"name": "open",
|
|
2015
|
-
"fieldName": "open",
|
|
2016
|
-
"default": "false",
|
|
2017
|
-
"description": "Whether the popover is currently open",
|
|
2018
|
-
"type": {
|
|
2019
|
-
"text": "boolean"
|
|
2020
|
-
}
|
|
2021
|
-
},
|
|
2022
|
-
{
|
|
2023
|
-
"name": "position",
|
|
2024
|
-
"fieldName": "position",
|
|
2025
|
-
"default": "'bottom'",
|
|
2026
|
-
"description": "Position of the popover relative to its trigger",
|
|
2027
|
-
"type": {
|
|
2028
|
-
"text": "'top' | 'bottom' | 'left' | 'right' | 'auto'"
|
|
2029
|
-
}
|
|
2030
|
-
},
|
|
2031
|
-
{
|
|
2032
|
-
"name": "align",
|
|
2033
|
-
"fieldName": "align",
|
|
2034
|
-
"default": "'start'",
|
|
2035
|
-
"description": "Alignment of the popover",
|
|
2036
|
-
"type": {
|
|
2037
|
-
"text": "'start' | 'center' | 'end'"
|
|
2038
|
-
}
|
|
2039
|
-
},
|
|
2040
|
-
{
|
|
2041
|
-
"name": "popover-title",
|
|
2042
|
-
"fieldName": "popoverTitle",
|
|
2043
|
-
"description": "Optional title for the popover header",
|
|
2044
|
-
"type": {
|
|
2045
|
-
"text": "string"
|
|
2046
|
-
}
|
|
2047
|
-
},
|
|
2048
|
-
{
|
|
2049
|
-
"name": "show-close",
|
|
2050
|
-
"fieldName": "showClose",
|
|
2051
|
-
"default": "true",
|
|
2052
|
-
"description": "Whether to show a close button in the header",
|
|
2053
|
-
"type": {
|
|
2054
|
-
"text": "boolean"
|
|
2055
|
-
}
|
|
2056
|
-
},
|
|
2057
|
-
{
|
|
2058
|
-
"name": "close-on-click-outside",
|
|
2059
|
-
"fieldName": "closeOnClickOutside",
|
|
2060
|
-
"default": "true",
|
|
2061
|
-
"description": "Whether clicking outside closes the popover",
|
|
2062
|
-
"type": {
|
|
2063
|
-
"text": "boolean"
|
|
2064
|
-
}
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
"name": "close-on-escape",
|
|
2068
|
-
"fieldName": "closeOnEscape",
|
|
2069
|
-
"default": "true",
|
|
2070
|
-
"description": "Whether pressing Escape closes the popover",
|
|
2071
|
-
"type": {
|
|
2072
|
-
"text": "boolean"
|
|
2073
|
-
}
|
|
2074
|
-
},
|
|
2075
|
-
{
|
|
2076
|
-
"name": "offset",
|
|
2077
|
-
"fieldName": "offset",
|
|
2078
|
-
"default": "8",
|
|
2079
|
-
"description": "Offset from the trigger element (in pixels)",
|
|
2080
|
-
"type": {
|
|
2081
|
-
"text": "number"
|
|
2082
|
-
}
|
|
2083
|
-
},
|
|
2084
|
-
{
|
|
2085
|
-
"name": "width",
|
|
2086
|
-
"fieldName": "width",
|
|
2087
|
-
"description": "Fixed width for the popover (e.g., '300px', '20rem')",
|
|
2088
|
-
"type": {
|
|
2089
|
-
"text": "string"
|
|
2090
|
-
}
|
|
2091
|
-
},
|
|
2092
|
-
{
|
|
2093
|
-
"name": "min-width",
|
|
2094
|
-
"fieldName": "minWidth",
|
|
2095
|
-
"default": "'200px'",
|
|
2096
|
-
"description": "Minimum width for the popover (e.g., '200px', '15rem')",
|
|
2097
|
-
"type": {
|
|
2098
|
-
"text": "string"
|
|
2099
|
-
}
|
|
2100
|
-
},
|
|
2101
|
-
{
|
|
2102
|
-
"name": "max-width",
|
|
2103
|
-
"fieldName": "maxWidth",
|
|
2104
|
-
"description": "Maximum width for the popover (e.g., '400px', '25rem')",
|
|
2105
|
-
"type": {
|
|
2106
|
-
"text": "string"
|
|
2107
|
-
}
|
|
2108
|
-
}
|
|
2109
|
-
],
|
|
2110
|
-
"tagName": "le-popover",
|
|
2111
|
-
"events": [
|
|
2112
|
-
{
|
|
2113
|
-
"name": "lePopoverOpen",
|
|
2114
|
-
"type": {
|
|
2115
|
-
"text": "EventEmitter<void>"
|
|
2116
|
-
},
|
|
2117
|
-
"description": "Emitted when the popover opens"
|
|
2118
|
-
},
|
|
2119
|
-
{
|
|
2120
|
-
"name": "lePopoverClose",
|
|
2121
|
-
"type": {
|
|
2122
|
-
"text": "EventEmitter<void>"
|
|
2123
|
-
},
|
|
2124
|
-
"description": "Emitted when the popover closes"
|
|
2125
|
-
}
|
|
2126
|
-
],
|
|
2127
|
-
"customElement": true
|
|
2128
|
-
}
|
|
2129
|
-
],
|
|
2130
|
-
"exports": [
|
|
2131
|
-
{
|
|
2132
|
-
"kind": "js",
|
|
2133
|
-
"name": "LePopover",
|
|
2134
|
-
"declaration": {
|
|
2135
|
-
"name": "LePopover",
|
|
2136
|
-
"module": "src/components/le-popover/le-popover.tsx"
|
|
2137
|
-
}
|
|
2138
|
-
},
|
|
2139
|
-
{
|
|
2140
|
-
"kind": "custom-element-definition",
|
|
2141
|
-
"name": "le-popover",
|
|
2142
|
-
"declaration": {
|
|
2143
|
-
"name": "LePopover",
|
|
2144
|
-
"module": "src/components/le-popover/le-popover.tsx"
|
|
2145
|
-
}
|
|
2146
|
-
}
|
|
2147
|
-
]
|
|
2148
|
-
},
|
|
2149
|
-
{
|
|
2150
|
-
"kind": "javascript-module",
|
|
2151
|
-
"path": "src/components/le-round-progress/le-round-progress.tsx",
|
|
2152
|
-
"declarations": [
|
|
2153
|
-
{
|
|
2154
|
-
"kind": "class",
|
|
2155
|
-
"description": "",
|
|
2156
|
-
"name": "LeRoundProgress",
|
|
2157
|
-
"members": [
|
|
2158
|
-
{
|
|
2159
|
-
"kind": "field",
|
|
2160
|
-
"name": "el",
|
|
2161
|
-
"type": {
|
|
2162
|
-
"text": "HTMLElement"
|
|
2163
|
-
}
|
|
2164
|
-
},
|
|
2165
|
-
{
|
|
2166
|
-
"kind": "field",
|
|
2167
|
-
"name": "value",
|
|
2168
|
-
"type": {
|
|
2169
|
-
"text": "number"
|
|
2170
|
-
},
|
|
2171
|
-
"default": "0"
|
|
2172
|
-
},
|
|
2173
|
-
{
|
|
2174
|
-
"kind": "method",
|
|
2175
|
-
"name": "updateValue",
|
|
2176
|
-
"parameters": [
|
|
2177
|
-
{
|
|
2178
|
-
"name": "newValue",
|
|
2179
|
-
"type": {
|
|
2180
|
-
"text": "string"
|
|
2181
|
-
}
|
|
2182
|
-
}
|
|
2183
|
-
]
|
|
2184
|
-
},
|
|
2185
|
-
{
|
|
2186
|
-
"kind": "field",
|
|
2187
|
-
"name": "padding",
|
|
2188
|
-
"type": {
|
|
2189
|
-
"text": "number"
|
|
2190
|
-
},
|
|
2191
|
-
"default": "0"
|
|
2192
|
-
},
|
|
2193
|
-
{
|
|
2194
|
-
"kind": "method",
|
|
2195
|
-
"name": "updatePadding",
|
|
2196
|
-
"parameters": [
|
|
2197
|
-
{
|
|
2198
|
-
"name": "newValue",
|
|
2199
|
-
"type": {
|
|
2200
|
-
"text": "string"
|
|
2201
|
-
}
|
|
2202
|
-
}
|
|
2203
|
-
]
|
|
2204
|
-
},
|
|
2205
|
-
{
|
|
2206
|
-
"kind": "field",
|
|
2207
|
-
"name": "paths",
|
|
2208
|
-
"type": {
|
|
2209
|
-
"text": "string"
|
|
2210
|
-
}
|
|
2211
|
-
},
|
|
2212
|
-
{
|
|
2213
|
-
"kind": "method",
|
|
2214
|
-
"name": "updateProgressBackgrounds",
|
|
2215
|
-
"parameters": [
|
|
2216
|
-
{
|
|
2217
|
-
"name": "newValue",
|
|
2218
|
-
"type": {
|
|
2219
|
-
"text": "string"
|
|
2220
|
-
}
|
|
2221
|
-
}
|
|
2222
|
-
]
|
|
2223
|
-
},
|
|
2224
|
-
{
|
|
2225
|
-
"kind": "field",
|
|
2226
|
-
"name": "progressPaths",
|
|
2227
|
-
"type": {
|
|
2228
|
-
"text": "any[]"
|
|
2229
|
-
}
|
|
2230
|
-
},
|
|
2231
|
-
{
|
|
2232
|
-
"kind": "field",
|
|
2233
|
-
"name": "params",
|
|
2234
|
-
"type": {
|
|
2235
|
-
"text": "{\n width: number;\n diameter: number;\n circumference: number;\n }"
|
|
2236
|
-
}
|
|
2237
|
-
},
|
|
2238
|
-
{
|
|
2239
|
-
"kind": "method",
|
|
2240
|
-
"name": "calcParams"
|
|
2241
|
-
},
|
|
2242
|
-
{
|
|
2243
|
-
"kind": "method",
|
|
2244
|
-
"name": "getViewBox",
|
|
2245
|
-
"description": "Returns the viewPath attribute value for the SVG\nbased on the width of the parent element"
|
|
2246
|
-
},
|
|
2247
|
-
{
|
|
2248
|
-
"kind": "method",
|
|
2249
|
-
"name": "getPath",
|
|
2250
|
-
"description": "Returns the circular path for the progress stroke\nand additional paths in the background"
|
|
2251
|
-
},
|
|
2252
|
-
{
|
|
2253
|
-
"kind": "method",
|
|
2254
|
-
"name": "getStrokeDashArray"
|
|
2255
|
-
},
|
|
2256
|
-
{
|
|
2257
|
-
"kind": "method",
|
|
2258
|
-
"name": "getPaths"
|
|
2259
|
-
},
|
|
2260
|
-
{
|
|
2261
|
-
"kind": "method",
|
|
2262
|
-
"name": "render"
|
|
2263
|
-
}
|
|
2264
|
-
],
|
|
2265
|
-
"attributes": [
|
|
2266
|
-
{
|
|
2267
|
-
"name": "value",
|
|
2268
|
-
"fieldName": "value",
|
|
2269
|
-
"default": "0",
|
|
2270
|
-
"type": {
|
|
2271
|
-
"text": "number"
|
|
2272
|
-
}
|
|
2273
|
-
},
|
|
2274
|
-
{
|
|
2275
|
-
"name": "padding",
|
|
2276
|
-
"fieldName": "padding",
|
|
2277
|
-
"default": "0",
|
|
2278
|
-
"type": {
|
|
2279
|
-
"text": "number"
|
|
2280
|
-
}
|
|
2281
|
-
},
|
|
2282
|
-
{
|
|
2283
|
-
"name": "paths",
|
|
2284
|
-
"fieldName": "paths",
|
|
2285
|
-
"type": {
|
|
2286
|
-
"text": "string"
|
|
2287
|
-
}
|
|
2288
|
-
}
|
|
2289
|
-
],
|
|
2290
|
-
"tagName": "le-round-progress",
|
|
2291
|
-
"events": [],
|
|
2292
|
-
"customElement": true
|
|
2293
|
-
}
|
|
2294
|
-
],
|
|
2295
|
-
"exports": [
|
|
2296
|
-
{
|
|
2297
|
-
"kind": "js",
|
|
2298
|
-
"name": "LeRoundProgress",
|
|
2299
|
-
"declaration": {
|
|
2300
|
-
"name": "LeRoundProgress",
|
|
2301
|
-
"module": "src/components/le-round-progress/le-round-progress.tsx"
|
|
2302
|
-
}
|
|
2303
|
-
},
|
|
2304
|
-
{
|
|
2305
|
-
"kind": "custom-element-definition",
|
|
2306
|
-
"name": "le-round-progress",
|
|
2307
|
-
"declaration": {
|
|
2308
|
-
"name": "LeRoundProgress",
|
|
2309
|
-
"module": "src/components/le-round-progress/le-round-progress.tsx"
|
|
2310
|
-
}
|
|
2311
|
-
}
|
|
2312
|
-
]
|
|
2313
|
-
},
|
|
2314
|
-
{
|
|
2315
|
-
"kind": "javascript-module",
|
|
2316
|
-
"path": "src/components/le-slot/le-slot.tsx",
|
|
2317
|
-
"declarations": [
|
|
2318
|
-
{
|
|
2319
|
-
"kind": "class",
|
|
2320
|
-
"description": "Slot placeholder component for admin/CMS mode.\n\nThis component renders a visual placeholder for slots when in admin mode,\nallowing CMS systems to show available drop zones for content or inline editing.\n\nIn non-admin mode, this component renders nothing and acts as a passthrough.",
|
|
2321
|
-
"name": "LeSlot",
|
|
2322
|
-
"slots": [
|
|
2323
|
-
{
|
|
2324
|
-
"description": "Default slot for placeholder content or drop zone UI",
|
|
2325
|
-
"name": ""
|
|
2326
|
-
}
|
|
2327
|
-
],
|
|
2328
|
-
"members": [
|
|
2329
|
-
{
|
|
2330
|
-
"kind": "field",
|
|
2331
|
-
"name": "el",
|
|
2332
|
-
"type": {
|
|
2333
|
-
"text": "HTMLElement"
|
|
2334
|
-
}
|
|
2335
|
-
},
|
|
2336
|
-
{
|
|
2337
|
-
"kind": "field",
|
|
2338
|
-
"name": "type",
|
|
2339
|
-
"type": {
|
|
2340
|
-
"text": "'slot' | 'text' | 'textarea'"
|
|
2341
|
-
},
|
|
2342
|
-
"default": "'slot'",
|
|
2343
|
-
"description": "The type of slot content.\n- `slot`: Default, shows a dropzone for components (default)\n- `text`: Shows a single-line text input\n- `textarea`: Shows a multi-line text area"
|
|
2344
|
-
},
|
|
2345
|
-
{
|
|
2346
|
-
"kind": "field",
|
|
2347
|
-
"name": "name",
|
|
2348
|
-
"type": {
|
|
2349
|
-
"text": "string"
|
|
2350
|
-
},
|
|
2351
|
-
"default": "''",
|
|
2352
|
-
"description": "The name of the slot this placeholder represents.\nShould match the slot name in the parent component."
|
|
2353
|
-
},
|
|
2354
|
-
{
|
|
2355
|
-
"kind": "field",
|
|
2356
|
-
"name": "label",
|
|
2357
|
-
"type": {
|
|
2358
|
-
"text": "string | undefined"
|
|
2359
|
-
},
|
|
2360
|
-
"description": "Label to display in admin mode.\nIf not provided, the slot name will be used."
|
|
2361
|
-
},
|
|
2362
|
-
{
|
|
2363
|
-
"kind": "field",
|
|
2364
|
-
"name": "description",
|
|
2365
|
-
"type": {
|
|
2366
|
-
"text": "string | undefined"
|
|
2367
|
-
},
|
|
2368
|
-
"description": "Description of what content this slot accepts.\nShown in admin mode to guide content editors."
|
|
2369
|
-
},
|
|
2370
|
-
{
|
|
2371
|
-
"kind": "field",
|
|
2372
|
-
"name": "allowedComponents",
|
|
2373
|
-
"type": {
|
|
2374
|
-
"text": "string | undefined"
|
|
2375
|
-
},
|
|
2376
|
-
"description": "Comma-separated list of allowed component tags for this slot.\nUsed by CMS to filter available components."
|
|
2377
|
-
},
|
|
2378
|
-
{
|
|
2379
|
-
"kind": "field",
|
|
2380
|
-
"name": "multiple",
|
|
2381
|
-
"type": {
|
|
2382
|
-
"text": "boolean"
|
|
2383
|
-
},
|
|
2384
|
-
"default": "true",
|
|
2385
|
-
"description": "Whether multiple components can be dropped in this slot."
|
|
2386
|
-
},
|
|
2387
|
-
{
|
|
2388
|
-
"kind": "field",
|
|
2389
|
-
"name": "required",
|
|
2390
|
-
"type": {
|
|
2391
|
-
"text": "boolean"
|
|
2392
|
-
},
|
|
2393
|
-
"default": "false",
|
|
2394
|
-
"description": "Whether this slot is required to have content."
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
"kind": "field",
|
|
2398
|
-
"name": "placeholder",
|
|
2399
|
-
"type": {
|
|
2400
|
-
"text": "string | undefined"
|
|
2401
|
-
},
|
|
2402
|
-
"description": "Placeholder text for text/textarea inputs in admin mode."
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"kind": "field",
|
|
2406
|
-
"name": "tag",
|
|
2407
|
-
"type": {
|
|
2408
|
-
"text": "string | undefined"
|
|
2409
|
-
},
|
|
2410
|
-
"description": "The HTML tag to create when there's no slotted element.\nUsed with type=\"text\" or type=\"textarea\" to auto-create elements."
|
|
2411
|
-
},
|
|
2412
|
-
{
|
|
2413
|
-
"kind": "field",
|
|
2414
|
-
"name": "slotStyle",
|
|
2415
|
-
"type": {
|
|
2416
|
-
"text": "string | undefined"
|
|
2417
|
-
},
|
|
2418
|
-
"description": "CSS styles for the slot dropzone container.\nUseful for layouts - e.g., \"flex-direction: row\" for horizontal stacks.\nOnly applies in admin mode for type=\"slot\"."
|
|
2419
|
-
},
|
|
2420
|
-
{
|
|
2421
|
-
"kind": "field",
|
|
2422
|
-
"name": "adminMode",
|
|
2423
|
-
"type": {
|
|
2424
|
-
"text": "boolean"
|
|
2425
|
-
},
|
|
2426
|
-
"privacy": "private",
|
|
2427
|
-
"default": "false",
|
|
2428
|
-
"description": "Internal state to track admin mode"
|
|
2429
|
-
},
|
|
2430
|
-
{
|
|
2431
|
-
"kind": "field",
|
|
2432
|
-
"name": "textValue",
|
|
2433
|
-
"type": {
|
|
2434
|
-
"text": "string"
|
|
2435
|
-
},
|
|
2436
|
-
"privacy": "private",
|
|
2437
|
-
"default": "''",
|
|
2438
|
-
"description": "Internal state for text input value (synced from slot content)"
|
|
2439
|
-
},
|
|
2440
|
-
{
|
|
2441
|
-
"kind": "field",
|
|
2442
|
-
"name": "isValidHtml",
|
|
2443
|
-
"type": {
|
|
2444
|
-
"text": "boolean"
|
|
2445
|
-
},
|
|
2446
|
-
"privacy": "private",
|
|
2447
|
-
"default": "true",
|
|
2448
|
-
"description": "Whether the current textValue contains valid HTML"
|
|
2449
|
-
},
|
|
2450
|
-
{
|
|
2451
|
-
"kind": "field",
|
|
2452
|
-
"name": "availableComponents",
|
|
2453
|
-
"type": {
|
|
2454
|
-
"text": "ComponentInfo[]"
|
|
2455
|
-
},
|
|
2456
|
-
"privacy": "private",
|
|
2457
|
-
"default": "[]",
|
|
2458
|
-
"description": "Available components loaded from Custom Elements Manifest"
|
|
2459
|
-
},
|
|
2460
|
-
{
|
|
2461
|
-
"kind": "field",
|
|
2462
|
-
"name": "pickerOpen",
|
|
2463
|
-
"type": {
|
|
2464
|
-
"text": "boolean"
|
|
2465
|
-
},
|
|
2466
|
-
"privacy": "private",
|
|
2467
|
-
"default": "false",
|
|
2468
|
-
"description": "Whether the component picker popover is open"
|
|
2469
|
-
},
|
|
2470
|
-
{
|
|
2471
|
-
"kind": "field",
|
|
2472
|
-
"name": "slotRef",
|
|
2473
|
-
"type": {
|
|
2474
|
-
"text": "HTMLSlotElement | undefined"
|
|
2475
|
-
},
|
|
2476
|
-
"privacy": "private",
|
|
2477
|
-
"description": "Reference to the slot element to access assignedNodes"
|
|
2478
|
-
},
|
|
2479
|
-
{
|
|
2480
|
-
"kind": "field",
|
|
2481
|
-
"name": "slottedElement",
|
|
2482
|
-
"type": {
|
|
2483
|
-
"text": "Element | undefined"
|
|
2484
|
-
},
|
|
2485
|
-
"privacy": "private",
|
|
2486
|
-
"description": "The original slotted element (e.g., <h3 slot=\"header\">)"
|
|
2487
|
-
},
|
|
2488
|
-
{
|
|
2489
|
-
"kind": "field",
|
|
2490
|
-
"name": "disconnectModeObserver",
|
|
2491
|
-
"type": {
|
|
2492
|
-
"text": "() => void | undefined"
|
|
2493
|
-
},
|
|
2494
|
-
"privacy": "private"
|
|
2495
|
-
},
|
|
2496
|
-
{
|
|
2497
|
-
"kind": "field",
|
|
2498
|
-
"name": "isUpdating",
|
|
2499
|
-
"type": {
|
|
2500
|
-
"text": "boolean"
|
|
2501
|
-
},
|
|
2502
|
-
"privacy": "private",
|
|
2503
|
-
"default": "false",
|
|
2504
|
-
"description": "Flag to prevent re-reading content right after we updated it"
|
|
2505
|
-
},
|
|
2506
|
-
{
|
|
2507
|
-
"kind": "method",
|
|
2508
|
-
"name": "readSlottedContent",
|
|
2509
|
-
"privacy": "private",
|
|
2510
|
-
"description": "Read content from slotted elements via assignedNodes()"
|
|
2511
|
-
},
|
|
2512
|
-
{
|
|
2513
|
-
"kind": "method",
|
|
2514
|
-
"name": "validateHtml",
|
|
2515
|
-
"privacy": "private",
|
|
2516
|
-
"return": {
|
|
2517
|
-
"type": {
|
|
2518
|
-
"text": "boolean"
|
|
2519
|
-
}
|
|
2520
|
-
},
|
|
2521
|
-
"parameters": [
|
|
2522
|
-
{
|
|
2523
|
-
"name": "html",
|
|
2524
|
-
"type": {
|
|
2525
|
-
"text": "string"
|
|
2526
|
-
}
|
|
2527
|
-
}
|
|
2528
|
-
],
|
|
2529
|
-
"description": "Validates if a string contains valid HTML"
|
|
2530
|
-
},
|
|
2531
|
-
{
|
|
2532
|
-
"kind": "field",
|
|
2533
|
-
"name": "handleTextInput",
|
|
2534
|
-
"privacy": "private"
|
|
2535
|
-
},
|
|
2536
|
-
{
|
|
2537
|
-
"kind": "method",
|
|
2538
|
-
"name": "createSlottedElement",
|
|
2539
|
-
"privacy": "private",
|
|
2540
|
-
"description": "Create a new slotted element when none exists.\nThe element is appended to the host component's light DOM."
|
|
2541
|
-
},
|
|
2542
|
-
{
|
|
2543
|
-
"kind": "method",
|
|
2544
|
-
"name": "loadAvailableComponents",
|
|
2545
|
-
"privacy": "private",
|
|
2546
|
-
"description": "Load available components from Custom Elements Manifest"
|
|
2547
|
-
},
|
|
2548
|
-
{
|
|
2549
|
-
"kind": "method",
|
|
2550
|
-
"name": "formatComponentName",
|
|
2551
|
-
"privacy": "private",
|
|
2552
|
-
"return": {
|
|
2553
|
-
"type": {
|
|
2554
|
-
"text": "string"
|
|
2555
|
-
}
|
|
2556
|
-
},
|
|
2557
|
-
"parameters": [
|
|
2558
|
-
{
|
|
2559
|
-
"name": "tagName",
|
|
2560
|
-
"type": {
|
|
2561
|
-
"text": "string"
|
|
2562
|
-
}
|
|
2563
|
-
}
|
|
2564
|
-
],
|
|
2565
|
-
"description": "Format a tag name into a display name\ne.g., 'le-card' -> 'Card'"
|
|
2566
|
-
},
|
|
2567
|
-
{
|
|
2568
|
-
"kind": "method",
|
|
2569
|
-
"name": "addComponent",
|
|
2570
|
-
"privacy": "private",
|
|
2571
|
-
"parameters": [
|
|
2572
|
-
{
|
|
2573
|
-
"name": "tagName",
|
|
2574
|
-
"type": {
|
|
2575
|
-
"text": "string"
|
|
2576
|
-
}
|
|
2577
|
-
}
|
|
2578
|
-
],
|
|
2579
|
-
"description": "Add a new component to the slot"
|
|
2580
|
-
},
|
|
2581
|
-
{
|
|
2582
|
-
"kind": "field",
|
|
2583
|
-
"name": "handleSlotChange",
|
|
2584
|
-
"privacy": "private",
|
|
2585
|
-
"description": "Handle slot change event to re-read content when nodes are assigned"
|
|
2586
|
-
},
|
|
2587
|
-
{
|
|
2588
|
-
"kind": "method",
|
|
2589
|
-
"name": "render"
|
|
2590
|
-
},
|
|
2591
|
-
{
|
|
2592
|
-
"kind": "method",
|
|
2593
|
-
"name": "renderContent",
|
|
2594
|
-
"privacy": "private"
|
|
2595
|
-
}
|
|
2596
|
-
],
|
|
2597
|
-
"attributes": [
|
|
2598
|
-
{
|
|
2599
|
-
"name": "type",
|
|
2600
|
-
"fieldName": "type",
|
|
2601
|
-
"default": "'slot'",
|
|
2602
|
-
"description": "The type of slot content.\n- `slot`: Default, shows a dropzone for components (default)\n- `text`: Shows a single-line text input\n- `textarea`: Shows a multi-line text area",
|
|
2603
|
-
"type": {
|
|
2604
|
-
"text": "'slot' | 'text' | 'textarea'"
|
|
2605
|
-
}
|
|
2606
|
-
},
|
|
2607
|
-
{
|
|
2608
|
-
"name": "name",
|
|
2609
|
-
"fieldName": "name",
|
|
2610
|
-
"default": "''",
|
|
2611
|
-
"description": "The name of the slot this placeholder represents.\nShould match the slot name in the parent component.",
|
|
2612
|
-
"type": {
|
|
2613
|
-
"text": "string"
|
|
2614
|
-
}
|
|
2615
|
-
},
|
|
2616
|
-
{
|
|
2617
|
-
"name": "label",
|
|
2618
|
-
"fieldName": "label",
|
|
2619
|
-
"description": "Label to display in admin mode.\nIf not provided, the slot name will be used.",
|
|
2620
|
-
"type": {
|
|
2621
|
-
"text": "string"
|
|
2622
|
-
}
|
|
2623
|
-
},
|
|
2624
|
-
{
|
|
2625
|
-
"name": "description",
|
|
2626
|
-
"fieldName": "description",
|
|
2627
|
-
"description": "Description of what content this slot accepts.\nShown in admin mode to guide content editors.",
|
|
2628
|
-
"type": {
|
|
2629
|
-
"text": "string"
|
|
2630
|
-
}
|
|
2631
|
-
},
|
|
2632
|
-
{
|
|
2633
|
-
"name": "allowed-components",
|
|
2634
|
-
"fieldName": "allowedComponents",
|
|
2635
|
-
"description": "Comma-separated list of allowed component tags for this slot.\nUsed by CMS to filter available components.",
|
|
2636
|
-
"type": {
|
|
2637
|
-
"text": "string"
|
|
2638
|
-
}
|
|
2639
|
-
},
|
|
2640
|
-
{
|
|
2641
|
-
"name": "multiple",
|
|
2642
|
-
"fieldName": "multiple",
|
|
2643
|
-
"default": "true",
|
|
2644
|
-
"description": "Whether multiple components can be dropped in this slot.",
|
|
2645
|
-
"type": {
|
|
2646
|
-
"text": "boolean"
|
|
2647
|
-
}
|
|
2648
|
-
},
|
|
2649
|
-
{
|
|
2650
|
-
"name": "required",
|
|
2651
|
-
"fieldName": "required",
|
|
2652
|
-
"default": "false",
|
|
2653
|
-
"description": "Whether this slot is required to have content.",
|
|
2654
|
-
"type": {
|
|
2655
|
-
"text": "boolean"
|
|
2656
|
-
}
|
|
2657
|
-
},
|
|
2658
|
-
{
|
|
2659
|
-
"name": "placeholder",
|
|
2660
|
-
"fieldName": "placeholder",
|
|
2661
|
-
"description": "Placeholder text for text/textarea inputs in admin mode.",
|
|
2662
|
-
"type": {
|
|
2663
|
-
"text": "string"
|
|
2664
|
-
}
|
|
2665
|
-
},
|
|
2666
|
-
{
|
|
2667
|
-
"name": "tag",
|
|
2668
|
-
"fieldName": "tag",
|
|
2669
|
-
"description": "The HTML tag to create when there's no slotted element.\nUsed with type=\"text\" or type=\"textarea\" to auto-create elements.",
|
|
2670
|
-
"type": {
|
|
2671
|
-
"text": "string"
|
|
2672
|
-
}
|
|
2673
|
-
},
|
|
2674
|
-
{
|
|
2675
|
-
"name": "slot-style",
|
|
2676
|
-
"fieldName": "slotStyle",
|
|
2677
|
-
"description": "CSS styles for the slot dropzone container.\nUseful for layouts - e.g., \"flex-direction: row\" for horizontal stacks.\nOnly applies in admin mode for type=\"slot\".",
|
|
2678
|
-
"type": {
|
|
2679
|
-
"text": "string"
|
|
2680
|
-
}
|
|
2681
|
-
}
|
|
2682
|
-
],
|
|
2683
|
-
"tagName": "le-slot",
|
|
2684
|
-
"events": [
|
|
2685
|
-
{
|
|
2686
|
-
"name": "leSlotChange",
|
|
2687
|
-
"type": {
|
|
2688
|
-
"text": "EventEmitter<{ name: string; value: string; isValid: boolean }>"
|
|
2689
|
-
},
|
|
2690
|
-
"description": "Emitted when text content changes in admin mode.\nThe event detail contains the new text value and validity."
|
|
2691
|
-
}
|
|
2692
|
-
],
|
|
2693
|
-
"customElement": true
|
|
2694
|
-
}
|
|
2695
|
-
],
|
|
2696
|
-
"exports": [
|
|
2697
|
-
{
|
|
2698
|
-
"kind": "js",
|
|
2699
|
-
"name": "LeSlot",
|
|
2700
|
-
"declaration": {
|
|
2701
|
-
"name": "LeSlot",
|
|
2702
|
-
"module": "src/components/le-slot/le-slot.tsx"
|
|
2703
|
-
}
|
|
2704
|
-
},
|
|
2705
|
-
{
|
|
2706
|
-
"kind": "custom-element-definition",
|
|
2707
|
-
"name": "le-slot",
|
|
2708
|
-
"declaration": {
|
|
2709
|
-
"name": "LeSlot",
|
|
2710
|
-
"module": "src/components/le-slot/le-slot.tsx"
|
|
2711
|
-
}
|
|
2712
|
-
}
|
|
2713
|
-
]
|
|
2714
|
-
},
|
|
2715
|
-
{
|
|
2716
|
-
"kind": "javascript-module",
|
|
2717
|
-
"path": "src/components/le-stack/le-stack.tsx",
|
|
2718
|
-
"declarations": [
|
|
2719
|
-
{
|
|
2720
|
-
"kind": "class",
|
|
2721
|
-
"description": "A flexible stack layout component using CSS flexbox.\n\n`le-stack` arranges its children in a row (horizontal) or column (vertical)\nwith configurable spacing, alignment, and wrapping behavior. Perfect for\ncreating responsive layouts.",
|
|
2722
|
-
"name": "LeStack",
|
|
2723
|
-
"cssProperties": [
|
|
2724
|
-
{
|
|
2725
|
-
"description": "Gap between items (defaults to var(--le-space-md))",
|
|
2726
|
-
"name": "--le-stack-gap"
|
|
2727
|
-
}
|
|
2728
|
-
],
|
|
2729
|
-
"cssParts": [
|
|
2730
|
-
{
|
|
2731
|
-
"description": "The main stack container",
|
|
2732
|
-
"name": "stack"
|
|
2733
|
-
}
|
|
2734
|
-
],
|
|
2735
|
-
"slots": [
|
|
2736
|
-
{
|
|
2737
|
-
"description": "Default slot for stack items (le-box components recommended)",
|
|
2738
|
-
"name": ""
|
|
2739
|
-
}
|
|
2740
|
-
],
|
|
2741
|
-
"members": [
|
|
2742
|
-
{
|
|
2743
|
-
"kind": "field",
|
|
2744
|
-
"name": "el",
|
|
2745
|
-
"type": {
|
|
2746
|
-
"text": "HTMLElement"
|
|
2747
|
-
}
|
|
2748
|
-
},
|
|
2749
|
-
{
|
|
2750
|
-
"kind": "field",
|
|
2751
|
-
"name": "direction",
|
|
2752
|
-
"type": {
|
|
2753
|
-
"text": "'horizontal' | 'vertical'"
|
|
2754
|
-
},
|
|
2755
|
-
"default": "'horizontal'",
|
|
2756
|
-
"description": "Direction of the stack layout"
|
|
2757
|
-
},
|
|
2758
|
-
{
|
|
2759
|
-
"kind": "field",
|
|
2760
|
-
"name": "gap",
|
|
2761
|
-
"type": {
|
|
2762
|
-
"text": "string | undefined"
|
|
2763
|
-
},
|
|
2764
|
-
"description": "Gap between items (CSS value like '8px', '1rem', 'var(--le-space-md)')"
|
|
2765
|
-
},
|
|
2766
|
-
{
|
|
2767
|
-
"kind": "field",
|
|
2768
|
-
"name": "align",
|
|
2769
|
-
"type": {
|
|
2770
|
-
"text": "'start' | 'center' | 'end' | 'stretch' | 'baseline'"
|
|
2771
|
-
},
|
|
2772
|
-
"default": "'stretch'",
|
|
2773
|
-
"description": "Alignment of items on the cross axis"
|
|
2774
|
-
},
|
|
2775
|
-
{
|
|
2776
|
-
"kind": "field",
|
|
2777
|
-
"name": "justify",
|
|
2778
|
-
"type": {
|
|
2779
|
-
"text": "'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly'"
|
|
2780
|
-
},
|
|
2781
|
-
"default": "'start'",
|
|
2782
|
-
"description": "Distribution of items on the main axis"
|
|
2783
|
-
},
|
|
2784
|
-
{
|
|
2785
|
-
"kind": "field",
|
|
2786
|
-
"name": "wrap",
|
|
2787
|
-
"type": {
|
|
2788
|
-
"text": "boolean"
|
|
2789
|
-
},
|
|
2790
|
-
"default": "false",
|
|
2791
|
-
"description": "Whether items should wrap to multiple lines"
|
|
2792
|
-
},
|
|
2793
|
-
{
|
|
2794
|
-
"kind": "field",
|
|
2795
|
-
"name": "alignContent",
|
|
2796
|
-
"type": {
|
|
2797
|
-
"text": "'start' | 'center' | 'end' | 'stretch' | 'space-between' | 'space-around'"
|
|
2798
|
-
},
|
|
2799
|
-
"default": "'stretch'",
|
|
2800
|
-
"description": "Alignment of wrapped lines (only applies when wrap is true)"
|
|
2801
|
-
},
|
|
2802
|
-
{
|
|
2803
|
-
"kind": "field",
|
|
2804
|
-
"name": "reverse",
|
|
2805
|
-
"type": {
|
|
2806
|
-
"text": "boolean"
|
|
2807
|
-
},
|
|
2808
|
-
"default": "false",
|
|
2809
|
-
"description": "Whether to reverse the order of items"
|
|
2810
|
-
},
|
|
2811
|
-
{
|
|
2812
|
-
"kind": "field",
|
|
2813
|
-
"name": "maxItems",
|
|
2814
|
-
"type": {
|
|
2815
|
-
"text": "number | undefined"
|
|
2816
|
-
},
|
|
2817
|
-
"description": "Maximum number of items allowed in the stack (for CMS validation)"
|
|
2818
|
-
},
|
|
2819
|
-
{
|
|
2820
|
-
"kind": "field",
|
|
2821
|
-
"name": "fullWidth",
|
|
2822
|
-
"type": {
|
|
2823
|
-
"text": "boolean"
|
|
2824
|
-
},
|
|
2825
|
-
"default": "false",
|
|
2826
|
-
"description": "Whether the stack should take full width of its container"
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
"kind": "field",
|
|
2830
|
-
"name": "fullHeight",
|
|
2831
|
-
"type": {
|
|
2832
|
-
"text": "boolean"
|
|
2833
|
-
},
|
|
2834
|
-
"default": "false",
|
|
2835
|
-
"description": "Whether the stack should take full height of its container"
|
|
2836
|
-
},
|
|
2837
|
-
{
|
|
2838
|
-
"kind": "field",
|
|
2839
|
-
"name": "padding",
|
|
2840
|
-
"type": {
|
|
2841
|
-
"text": "string | undefined"
|
|
2842
|
-
},
|
|
2843
|
-
"description": "Padding inside the stack container (CSS value)"
|
|
2844
|
-
},
|
|
2845
|
-
{
|
|
2846
|
-
"kind": "method",
|
|
2847
|
-
"name": "getFlexDirection",
|
|
2848
|
-
"privacy": "private",
|
|
2849
|
-
"return": {
|
|
2850
|
-
"type": {
|
|
2851
|
-
"text": "string"
|
|
2852
|
-
}
|
|
2853
|
-
}
|
|
2854
|
-
},
|
|
2855
|
-
{
|
|
2856
|
-
"kind": "method",
|
|
2857
|
-
"name": "getAlignItems",
|
|
2858
|
-
"privacy": "private",
|
|
2859
|
-
"return": {
|
|
2860
|
-
"type": {
|
|
2861
|
-
"text": "string"
|
|
2862
|
-
}
|
|
2863
|
-
}
|
|
2864
|
-
},
|
|
2865
|
-
{
|
|
2866
|
-
"kind": "method",
|
|
2867
|
-
"name": "getJustifyContent",
|
|
2868
|
-
"privacy": "private",
|
|
2869
|
-
"return": {
|
|
2870
|
-
"type": {
|
|
2871
|
-
"text": "string"
|
|
2872
|
-
}
|
|
2873
|
-
}
|
|
2874
|
-
},
|
|
2875
|
-
{
|
|
2876
|
-
"kind": "method",
|
|
2877
|
-
"name": "getAlignContent",
|
|
2878
|
-
"privacy": "private",
|
|
2879
|
-
"return": {
|
|
2880
|
-
"type": {
|
|
2881
|
-
"text": "string"
|
|
2882
|
-
}
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
"kind": "method",
|
|
2887
|
-
"name": "render"
|
|
2888
|
-
}
|
|
2889
|
-
],
|
|
2890
|
-
"attributes": [
|
|
2891
|
-
{
|
|
2892
|
-
"name": "direction",
|
|
2893
|
-
"fieldName": "direction",
|
|
2894
|
-
"default": "'horizontal'",
|
|
2895
|
-
"description": "Direction of the stack layout",
|
|
2896
|
-
"type": {
|
|
2897
|
-
"text": "'horizontal' | 'vertical'"
|
|
2898
|
-
}
|
|
2899
|
-
},
|
|
2900
|
-
{
|
|
2901
|
-
"name": "gap",
|
|
2902
|
-
"fieldName": "gap",
|
|
2903
|
-
"description": "Gap between items (CSS value like '8px', '1rem', 'var(--le-space-md)')",
|
|
2904
|
-
"type": {
|
|
2905
|
-
"text": "string"
|
|
2906
|
-
}
|
|
2907
|
-
},
|
|
2908
|
-
{
|
|
2909
|
-
"name": "align",
|
|
2910
|
-
"fieldName": "align",
|
|
2911
|
-
"default": "'stretch'",
|
|
2912
|
-
"description": "Alignment of items on the cross axis",
|
|
2913
|
-
"type": {
|
|
2914
|
-
"text": "'start' | 'center' | 'end' | 'stretch' | 'baseline'"
|
|
2915
|
-
}
|
|
2916
|
-
},
|
|
2917
|
-
{
|
|
2918
|
-
"name": "justify",
|
|
2919
|
-
"fieldName": "justify",
|
|
2920
|
-
"default": "'start'",
|
|
2921
|
-
"description": "Distribution of items on the main axis",
|
|
2922
|
-
"type": {
|
|
2923
|
-
"text": "'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly'"
|
|
2924
|
-
}
|
|
2925
|
-
},
|
|
2926
|
-
{
|
|
2927
|
-
"name": "wrap",
|
|
2928
|
-
"fieldName": "wrap",
|
|
2929
|
-
"default": "false",
|
|
2930
|
-
"description": "Whether items should wrap to multiple lines",
|
|
2931
|
-
"type": {
|
|
2932
|
-
"text": "boolean"
|
|
2933
|
-
}
|
|
2934
|
-
},
|
|
2935
|
-
{
|
|
2936
|
-
"name": "align-content",
|
|
2937
|
-
"fieldName": "alignContent",
|
|
2938
|
-
"default": "'stretch'",
|
|
2939
|
-
"description": "Alignment of wrapped lines (only applies when wrap is true)",
|
|
2940
|
-
"type": {
|
|
2941
|
-
"text": "'start' | 'center' | 'end' | 'stretch' | 'space-between' | 'space-around'"
|
|
2942
|
-
}
|
|
2943
|
-
},
|
|
2944
|
-
{
|
|
2945
|
-
"name": "reverse",
|
|
2946
|
-
"fieldName": "reverse",
|
|
2947
|
-
"default": "false",
|
|
2948
|
-
"description": "Whether to reverse the order of items",
|
|
2949
|
-
"type": {
|
|
2950
|
-
"text": "boolean"
|
|
2951
|
-
}
|
|
2952
|
-
},
|
|
2953
|
-
{
|
|
2954
|
-
"name": "max-items",
|
|
2955
|
-
"fieldName": "maxItems",
|
|
2956
|
-
"description": "Maximum number of items allowed in the stack (for CMS validation)",
|
|
2957
|
-
"type": {
|
|
2958
|
-
"text": "number"
|
|
2959
|
-
}
|
|
2960
|
-
},
|
|
2961
|
-
{
|
|
2962
|
-
"name": "full-width",
|
|
2963
|
-
"fieldName": "fullWidth",
|
|
2964
|
-
"default": "false",
|
|
2965
|
-
"description": "Whether the stack should take full width of its container",
|
|
2966
|
-
"type": {
|
|
2967
|
-
"text": "boolean"
|
|
2968
|
-
}
|
|
2969
|
-
},
|
|
2970
|
-
{
|
|
2971
|
-
"name": "full-height",
|
|
2972
|
-
"fieldName": "fullHeight",
|
|
2973
|
-
"default": "false",
|
|
2974
|
-
"description": "Whether the stack should take full height of its container",
|
|
2975
|
-
"type": {
|
|
2976
|
-
"text": "boolean"
|
|
2977
|
-
}
|
|
2978
|
-
},
|
|
2979
|
-
{
|
|
2980
|
-
"name": "padding",
|
|
2981
|
-
"fieldName": "padding",
|
|
2982
|
-
"description": "Padding inside the stack container (CSS value)",
|
|
2983
|
-
"type": {
|
|
2984
|
-
"text": "string"
|
|
2985
|
-
}
|
|
2986
|
-
}
|
|
2987
|
-
],
|
|
2988
|
-
"tagName": "le-stack",
|
|
2989
|
-
"events": [],
|
|
2990
|
-
"customElement": true
|
|
2991
|
-
}
|
|
2992
|
-
],
|
|
2993
|
-
"exports": [
|
|
2994
|
-
{
|
|
2995
|
-
"kind": "js",
|
|
2996
|
-
"name": "LeStack",
|
|
2997
|
-
"declaration": {
|
|
2998
|
-
"name": "LeStack",
|
|
2999
|
-
"module": "src/components/le-stack/le-stack.tsx"
|
|
3000
|
-
}
|
|
3001
|
-
},
|
|
3002
|
-
{
|
|
3003
|
-
"kind": "custom-element-definition",
|
|
3004
|
-
"name": "le-stack",
|
|
3005
|
-
"declaration": {
|
|
3006
|
-
"name": "LeStack",
|
|
3007
|
-
"module": "src/components/le-stack/le-stack.tsx"
|
|
3008
|
-
}
|
|
3009
|
-
}
|
|
3010
|
-
]
|
|
3011
|
-
},
|
|
3012
|
-
{
|
|
3013
|
-
"kind": "javascript-module",
|
|
3014
|
-
"path": "src/components/le-popup/le-popup.tsx",
|
|
3015
|
-
"declarations": [
|
|
3016
|
-
{
|
|
3017
|
-
"kind": "class",
|
|
3018
|
-
"description": "A flexible popup/dialog component for alerts, confirms, prompts, and custom content.\n\nUses the native HTML <dialog> element for proper modal behavior, accessibility,\nand focus management. Can be used declaratively in HTML or programmatically \nvia leAlert(), leConfirm(), lePrompt().",
|
|
3019
|
-
"name": "LePopup",
|
|
3020
|
-
"slots": [
|
|
3021
|
-
{
|
|
3022
|
-
"description": "Default slot for custom body content",
|
|
3023
|
-
"name": ""
|
|
3024
|
-
},
|
|
3025
|
-
{
|
|
3026
|
-
"description": "Custom header content (replaces title)",
|
|
3027
|
-
"name": "header"
|
|
3028
|
-
},
|
|
3029
|
-
{
|
|
3030
|
-
"description": "Custom footer content (replaces default buttons)",
|
|
3031
|
-
"name": "footer"
|
|
3032
|
-
}
|
|
3033
|
-
],
|
|
3034
|
-
"members": [
|
|
3035
|
-
{
|
|
3036
|
-
"kind": "field",
|
|
3037
|
-
"name": "el",
|
|
3038
|
-
"type": {
|
|
3039
|
-
"text": "HTMLElement"
|
|
3040
|
-
}
|
|
3041
|
-
},
|
|
3042
|
-
{
|
|
3043
|
-
"kind": "field",
|
|
3044
|
-
"name": "open",
|
|
3045
|
-
"type": {
|
|
3046
|
-
"text": "boolean"
|
|
3047
|
-
},
|
|
3048
|
-
"default": "false",
|
|
3049
|
-
"description": "Whether the popup is currently visible"
|
|
3050
|
-
},
|
|
3051
|
-
{
|
|
3052
|
-
"kind": "field",
|
|
3053
|
-
"name": "type",
|
|
3054
|
-
"type": {
|
|
3055
|
-
"text": "PopupType"
|
|
3056
|
-
},
|
|
3057
|
-
"default": "'alert'",
|
|
3058
|
-
"description": "Type of popup: alert (OK only), confirm (OK/Cancel), prompt (input + OK/Cancel), custom"
|
|
3059
|
-
},
|
|
3060
|
-
{
|
|
3061
|
-
"kind": "field",
|
|
3062
|
-
"name": "popupTitle",
|
|
3063
|
-
"type": {
|
|
3064
|
-
"text": "string | undefined"
|
|
3065
|
-
},
|
|
3066
|
-
"description": "Optional title for the popup header"
|
|
3067
|
-
},
|
|
3068
|
-
{
|
|
3069
|
-
"kind": "field",
|
|
3070
|
-
"name": "message",
|
|
3071
|
-
"type": {
|
|
3072
|
-
"text": "string | undefined"
|
|
3073
|
-
},
|
|
3074
|
-
"description": "Message text to display (for alert/confirm/prompt types)"
|
|
3075
|
-
},
|
|
3076
|
-
{
|
|
3077
|
-
"kind": "field",
|
|
3078
|
-
"name": "modal",
|
|
3079
|
-
"type": {
|
|
3080
|
-
"text": "boolean"
|
|
3081
|
-
},
|
|
3082
|
-
"default": "true",
|
|
3083
|
-
"description": "Whether the popup is modal (blocks interaction with page behind)"
|
|
3084
|
-
},
|
|
3085
|
-
{
|
|
3086
|
-
"kind": "field",
|
|
3087
|
-
"name": "position",
|
|
3088
|
-
"type": {
|
|
3089
|
-
"text": "PopupPosition"
|
|
3090
|
-
},
|
|
3091
|
-
"default": "'center'",
|
|
3092
|
-
"description": "Position of the popup on screen"
|
|
3093
|
-
},
|
|
3094
|
-
{
|
|
3095
|
-
"kind": "field",
|
|
3096
|
-
"name": "confirmText",
|
|
3097
|
-
"type": {
|
|
3098
|
-
"text": "string"
|
|
3099
|
-
},
|
|
3100
|
-
"default": "'OK'",
|
|
3101
|
-
"description": "Text for the confirm/OK button"
|
|
3102
|
-
},
|
|
3103
|
-
{
|
|
3104
|
-
"kind": "field",
|
|
3105
|
-
"name": "cancelText",
|
|
3106
|
-
"type": {
|
|
3107
|
-
"text": "string"
|
|
3108
|
-
},
|
|
3109
|
-
"default": "'Cancel'",
|
|
3110
|
-
"description": "Text for the cancel button"
|
|
3111
|
-
},
|
|
3112
|
-
{
|
|
3113
|
-
"kind": "field",
|
|
3114
|
-
"name": "placeholder",
|
|
3115
|
-
"type": {
|
|
3116
|
-
"text": "string"
|
|
3117
|
-
},
|
|
3118
|
-
"default": "''",
|
|
3119
|
-
"description": "Placeholder text for prompt input"
|
|
3120
|
-
},
|
|
3121
|
-
{
|
|
3122
|
-
"kind": "field",
|
|
3123
|
-
"name": "defaultValue",
|
|
3124
|
-
"type": {
|
|
3125
|
-
"text": "string"
|
|
3126
|
-
},
|
|
3127
|
-
"default": "''",
|
|
3128
|
-
"description": "Default value for prompt input"
|
|
3129
|
-
},
|
|
3130
|
-
{
|
|
3131
|
-
"kind": "field",
|
|
3132
|
-
"name": "closeOnBackdrop",
|
|
3133
|
-
"type": {
|
|
3134
|
-
"text": "boolean"
|
|
3135
|
-
},
|
|
3136
|
-
"default": "true",
|
|
3137
|
-
"description": "Whether clicking the backdrop closes the popup (modal only)"
|
|
3138
|
-
},
|
|
3139
|
-
{
|
|
3140
|
-
"kind": "field",
|
|
3141
|
-
"name": "inputValue",
|
|
3142
|
-
"type": {
|
|
3143
|
-
"text": "string"
|
|
3144
|
-
},
|
|
3145
|
-
"default": "''",
|
|
3146
|
-
"description": "Internal state for prompt input value"
|
|
3147
|
-
},
|
|
3148
|
-
{
|
|
3149
|
-
"kind": "field",
|
|
3150
|
-
"name": "dialogEl",
|
|
3151
|
-
"type": {
|
|
3152
|
-
"text": "HTMLDialogElement | undefined"
|
|
3153
|
-
},
|
|
3154
|
-
"privacy": "private"
|
|
3155
|
-
},
|
|
3156
|
-
{
|
|
3157
|
-
"kind": "field",
|
|
3158
|
-
"name": "inputEl",
|
|
3159
|
-
"type": {
|
|
3160
|
-
"text": "HTMLInputElement | undefined"
|
|
3161
|
-
},
|
|
3162
|
-
"privacy": "private"
|
|
3163
|
-
},
|
|
3164
|
-
{
|
|
3165
|
-
"kind": "field",
|
|
3166
|
-
"name": "resolvePromise",
|
|
3167
|
-
"type": {
|
|
3168
|
-
"text": "(result: PopupResult) => void | undefined"
|
|
3169
|
-
},
|
|
3170
|
-
"privacy": "private"
|
|
3171
|
-
},
|
|
3172
|
-
{
|
|
3173
|
-
"kind": "field",
|
|
3174
|
-
"name": "handleDialogCancel",
|
|
3175
|
-
"privacy": "private"
|
|
3176
|
-
},
|
|
3177
|
-
{
|
|
3178
|
-
"kind": "method",
|
|
3179
|
-
"name": "show",
|
|
3180
|
-
"return": {
|
|
3181
|
-
"type": {
|
|
3182
|
-
"text": "Promise<PopupResult>"
|
|
3183
|
-
}
|
|
3184
|
-
},
|
|
3185
|
-
"description": "Opens the popup and returns a promise that resolves when closed"
|
|
3186
|
-
},
|
|
3187
|
-
{
|
|
3188
|
-
"kind": "method",
|
|
3189
|
-
"name": "hide",
|
|
3190
|
-
"parameters": [
|
|
3191
|
-
{
|
|
3192
|
-
"name": "confirmed",
|
|
3193
|
-
"default": "false",
|
|
3194
|
-
"type": {
|
|
3195
|
-
"text": "boolean"
|
|
3196
|
-
}
|
|
3197
|
-
}
|
|
3198
|
-
],
|
|
3199
|
-
"description": "Closes the popup with a result"
|
|
3200
|
-
},
|
|
3201
|
-
{
|
|
3202
|
-
"kind": "field",
|
|
3203
|
-
"name": "handleConfirm",
|
|
3204
|
-
"privacy": "private"
|
|
3205
|
-
},
|
|
3206
|
-
{
|
|
3207
|
-
"kind": "field",
|
|
3208
|
-
"name": "handleCancel",
|
|
3209
|
-
"privacy": "private"
|
|
3210
|
-
},
|
|
3211
|
-
{
|
|
3212
|
-
"kind": "field",
|
|
3213
|
-
"name": "handleBackdropClick",
|
|
3214
|
-
"privacy": "private"
|
|
3215
|
-
},
|
|
3216
|
-
{
|
|
3217
|
-
"kind": "field",
|
|
3218
|
-
"name": "handleInputChange",
|
|
3219
|
-
"privacy": "private"
|
|
3220
|
-
},
|
|
3221
|
-
{
|
|
3222
|
-
"kind": "field",
|
|
3223
|
-
"name": "handleKeyDown",
|
|
3224
|
-
"privacy": "private"
|
|
3225
|
-
},
|
|
3226
|
-
{
|
|
3227
|
-
"kind": "method",
|
|
3228
|
-
"name": "hasSlot",
|
|
3229
|
-
"privacy": "private",
|
|
3230
|
-
"return": {
|
|
3231
|
-
"type": {
|
|
3232
|
-
"text": "boolean"
|
|
3233
|
-
}
|
|
3234
|
-
},
|
|
3235
|
-
"parameters": [
|
|
3236
|
-
{
|
|
3237
|
-
"name": "name",
|
|
3238
|
-
"type": {
|
|
3239
|
-
"text": "string"
|
|
3240
|
-
}
|
|
3241
|
-
}
|
|
3242
|
-
]
|
|
3243
|
-
},
|
|
3244
|
-
{
|
|
3245
|
-
"kind": "method",
|
|
3246
|
-
"name": "renderHeader",
|
|
3247
|
-
"privacy": "private"
|
|
3248
|
-
},
|
|
3249
|
-
{
|
|
3250
|
-
"kind": "method",
|
|
3251
|
-
"name": "renderBody",
|
|
3252
|
-
"privacy": "private"
|
|
3253
|
-
},
|
|
3254
|
-
{
|
|
3255
|
-
"kind": "method",
|
|
3256
|
-
"name": "renderFooter",
|
|
3257
|
-
"privacy": "private"
|
|
3258
|
-
},
|
|
3259
|
-
{
|
|
3260
|
-
"kind": "method",
|
|
3261
|
-
"name": "render"
|
|
3262
|
-
}
|
|
3263
|
-
],
|
|
3264
|
-
"attributes": [
|
|
3265
|
-
{
|
|
3266
|
-
"name": "open",
|
|
3267
|
-
"fieldName": "open",
|
|
3268
|
-
"default": "false",
|
|
3269
|
-
"description": "Whether the popup is currently visible",
|
|
3270
|
-
"type": {
|
|
3271
|
-
"text": "boolean"
|
|
3272
|
-
}
|
|
3273
|
-
},
|
|
3274
|
-
{
|
|
3275
|
-
"name": "type",
|
|
3276
|
-
"fieldName": "type",
|
|
3277
|
-
"default": "'alert'",
|
|
3278
|
-
"description": "Type of popup: alert (OK only), confirm (OK/Cancel), prompt (input + OK/Cancel), custom",
|
|
3279
|
-
"type": {
|
|
3280
|
-
"text": "PopupType"
|
|
3281
|
-
}
|
|
3282
|
-
},
|
|
3283
|
-
{
|
|
3284
|
-
"name": "popup-title",
|
|
3285
|
-
"fieldName": "popupTitle",
|
|
3286
|
-
"description": "Optional title for the popup header",
|
|
3287
|
-
"type": {
|
|
3288
|
-
"text": "string"
|
|
3289
|
-
}
|
|
3290
|
-
},
|
|
3291
|
-
{
|
|
3292
|
-
"name": "message",
|
|
3293
|
-
"fieldName": "message",
|
|
3294
|
-
"description": "Message text to display (for alert/confirm/prompt types)",
|
|
3295
|
-
"type": {
|
|
3296
|
-
"text": "string"
|
|
3297
|
-
}
|
|
3298
|
-
},
|
|
3299
|
-
{
|
|
3300
|
-
"name": "modal",
|
|
3301
|
-
"fieldName": "modal",
|
|
3302
|
-
"default": "true",
|
|
3303
|
-
"description": "Whether the popup is modal (blocks interaction with page behind)",
|
|
3304
|
-
"type": {
|
|
3305
|
-
"text": "boolean"
|
|
3306
|
-
}
|
|
3307
|
-
},
|
|
3308
|
-
{
|
|
3309
|
-
"name": "position",
|
|
3310
|
-
"fieldName": "position",
|
|
3311
|
-
"default": "'center'",
|
|
3312
|
-
"description": "Position of the popup on screen",
|
|
3313
|
-
"type": {
|
|
3314
|
-
"text": "PopupPosition"
|
|
3315
|
-
}
|
|
3316
|
-
},
|
|
3317
|
-
{
|
|
3318
|
-
"name": "confirm-text",
|
|
3319
|
-
"fieldName": "confirmText",
|
|
3320
|
-
"default": "'OK'",
|
|
3321
|
-
"description": "Text for the confirm/OK button",
|
|
3322
|
-
"type": {
|
|
3323
|
-
"text": "string"
|
|
3324
|
-
}
|
|
3325
|
-
},
|
|
3326
|
-
{
|
|
3327
|
-
"name": "cancel-text",
|
|
3328
|
-
"fieldName": "cancelText",
|
|
3329
|
-
"default": "'Cancel'",
|
|
3330
|
-
"description": "Text for the cancel button",
|
|
3331
|
-
"type": {
|
|
3332
|
-
"text": "string"
|
|
3333
|
-
}
|
|
3334
|
-
},
|
|
3335
|
-
{
|
|
3336
|
-
"name": "placeholder",
|
|
3337
|
-
"fieldName": "placeholder",
|
|
3338
|
-
"default": "''",
|
|
3339
|
-
"description": "Placeholder text for prompt input",
|
|
3340
|
-
"type": {
|
|
3341
|
-
"text": "string"
|
|
3342
|
-
}
|
|
3343
|
-
},
|
|
3344
|
-
{
|
|
3345
|
-
"name": "default-value",
|
|
3346
|
-
"fieldName": "defaultValue",
|
|
3347
|
-
"default": "''",
|
|
3348
|
-
"description": "Default value for prompt input",
|
|
3349
|
-
"type": {
|
|
3350
|
-
"text": "string"
|
|
3351
|
-
}
|
|
3352
|
-
},
|
|
3353
|
-
{
|
|
3354
|
-
"name": "close-on-backdrop",
|
|
3355
|
-
"fieldName": "closeOnBackdrop",
|
|
3356
|
-
"default": "true",
|
|
3357
|
-
"description": "Whether clicking the backdrop closes the popup (modal only)",
|
|
3358
|
-
"type": {
|
|
3359
|
-
"text": "boolean"
|
|
3360
|
-
}
|
|
3361
|
-
}
|
|
3362
|
-
],
|
|
3363
|
-
"tagName": "le-popup",
|
|
3364
|
-
"events": [
|
|
3365
|
-
{
|
|
3366
|
-
"name": "leConfirm",
|
|
3367
|
-
"type": {
|
|
3368
|
-
"text": "EventEmitter<PopupResult>"
|
|
3369
|
-
},
|
|
3370
|
-
"description": "Emitted when the popup is confirmed (OK clicked)"
|
|
3371
|
-
},
|
|
3372
|
-
{
|
|
3373
|
-
"name": "leCancel",
|
|
3374
|
-
"type": {
|
|
3375
|
-
"text": "EventEmitter<PopupResult>"
|
|
3376
|
-
},
|
|
3377
|
-
"description": "Emitted when the popup is cancelled (Cancel clicked or dismissed)"
|
|
3378
|
-
},
|
|
3379
|
-
{
|
|
3380
|
-
"name": "leOpen",
|
|
3381
|
-
"type": {
|
|
3382
|
-
"text": "EventEmitter<void>"
|
|
3383
|
-
},
|
|
3384
|
-
"description": "Emitted when the popup opens"
|
|
3385
|
-
},
|
|
3386
|
-
{
|
|
3387
|
-
"name": "leClose",
|
|
3388
|
-
"type": {
|
|
3389
|
-
"text": "EventEmitter<PopupResult>"
|
|
3390
|
-
},
|
|
3391
|
-
"description": "Emitted when the popup closes"
|
|
3392
|
-
}
|
|
3393
|
-
],
|
|
3394
|
-
"customElement": true
|
|
3395
|
-
}
|
|
3396
|
-
],
|
|
3397
|
-
"exports": [
|
|
3398
|
-
{
|
|
3399
|
-
"kind": "js",
|
|
3400
|
-
"name": "LePopup",
|
|
3401
|
-
"declaration": {
|
|
3402
|
-
"name": "LePopup",
|
|
3403
|
-
"module": "src/components/le-popup/le-popup.tsx"
|
|
3404
|
-
}
|
|
3405
|
-
},
|
|
3406
|
-
{
|
|
3407
|
-
"kind": "custom-element-definition",
|
|
3408
|
-
"name": "le-popup",
|
|
3409
|
-
"declaration": {
|
|
3410
|
-
"name": "LePopup",
|
|
3411
|
-
"module": "src/components/le-popup/le-popup.tsx"
|
|
3412
|
-
}
|
|
3413
|
-
}
|
|
3414
|
-
]
|
|
3415
|
-
},
|
|
3416
|
-
{
|
|
3417
|
-
"kind": "javascript-module",
|
|
3418
|
-
"path": "src/components/le-string-input/le-string-input.tsx",
|
|
3419
|
-
"declarations": [
|
|
3420
|
-
{
|
|
3421
|
-
"kind": "class",
|
|
3422
|
-
"description": "A text input component with support for labels, descriptions, icons, and external IDs.",
|
|
3423
|
-
"name": "LeStringInput",
|
|
3424
|
-
"cssProperties": [
|
|
3425
|
-
{
|
|
3426
|
-
"description": "Input background color",
|
|
3427
|
-
"name": "--le-input-bg"
|
|
3428
|
-
},
|
|
3429
|
-
{
|
|
3430
|
-
"description": "Input text color",
|
|
3431
|
-
"name": "--le-input-color"
|
|
3432
|
-
},
|
|
3433
|
-
{
|
|
3434
|
-
"description": "Input border style",
|
|
3435
|
-
"name": "--le-input-border"
|
|
3436
|
-
},
|
|
3437
|
-
{
|
|
3438
|
-
"description": "Input border style when focused",
|
|
3439
|
-
"name": "--le-input-border-focus"
|
|
3440
|
-
},
|
|
3441
|
-
{
|
|
3442
|
-
"description": "Input border radius",
|
|
3443
|
-
"name": "--le-input-radius"
|
|
3444
|
-
},
|
|
3445
|
-
{
|
|
3446
|
-
"description": "Input padding",
|
|
3447
|
-
"name": "--le-input-padding"
|
|
3448
|
-
}
|
|
3449
|
-
],
|
|
3450
|
-
"slots": [
|
|
3451
|
-
{
|
|
3452
|
-
"description": "The label text for the input",
|
|
3453
|
-
"name": ""
|
|
3454
|
-
},
|
|
3455
|
-
{
|
|
3456
|
-
"description": "Additional description text displayed below the input",
|
|
3457
|
-
"name": "description"
|
|
3458
|
-
},
|
|
3459
|
-
{
|
|
3460
|
-
"description": "Icon to display at the start of the input",
|
|
3461
|
-
"name": "icon-start"
|
|
3462
|
-
},
|
|
3463
|
-
{
|
|
3464
|
-
"description": "Icon to display at the end of the input",
|
|
3465
|
-
"name": "icon-end"
|
|
3466
|
-
}
|
|
3467
|
-
],
|
|
3468
|
-
"members": [
|
|
3469
|
-
{
|
|
3470
|
-
"kind": "field",
|
|
3471
|
-
"name": "el",
|
|
3472
|
-
"type": {
|
|
3473
|
-
"text": "HTMLElement"
|
|
3474
|
-
}
|
|
3475
|
-
},
|
|
3476
|
-
{
|
|
3477
|
-
"kind": "field",
|
|
3478
|
-
"name": "mode",
|
|
3479
|
-
"type": {
|
|
3480
|
-
"text": "'default' | 'admin'"
|
|
3481
|
-
},
|
|
3482
|
-
"description": "Mode of the popover should be 'default' for internal use"
|
|
3483
|
-
},
|
|
3484
|
-
{
|
|
3485
|
-
"kind": "field",
|
|
3486
|
-
"name": "value",
|
|
3487
|
-
"type": {
|
|
3488
|
-
"text": "string"
|
|
3489
|
-
},
|
|
3490
|
-
"description": "The value of the input"
|
|
3491
|
-
},
|
|
3492
|
-
{
|
|
3493
|
-
"kind": "field",
|
|
3494
|
-
"name": "name",
|
|
3495
|
-
"type": {
|
|
3496
|
-
"text": "string"
|
|
3497
|
-
},
|
|
3498
|
-
"description": "The name of the input"
|
|
3499
|
-
},
|
|
3500
|
-
{
|
|
3501
|
-
"kind": "field",
|
|
3502
|
-
"name": "type",
|
|
3503
|
-
"type": {
|
|
3504
|
-
"text": "'text' | 'email' | 'password' | 'tel' | 'url'"
|
|
3505
|
-
},
|
|
3506
|
-
"default": "'text'",
|
|
3507
|
-
"description": "The type of the input (text, email, password, etc.)"
|
|
3508
|
-
},
|
|
3509
|
-
{
|
|
3510
|
-
"kind": "field",
|
|
3511
|
-
"name": "label",
|
|
3512
|
-
"type": {
|
|
3513
|
-
"text": "string"
|
|
3514
|
-
},
|
|
3515
|
-
"description": "Label for the input"
|
|
3516
|
-
},
|
|
3517
|
-
{
|
|
3518
|
-
"kind": "field",
|
|
3519
|
-
"name": "iconStart",
|
|
3520
|
-
"type": {
|
|
3521
|
-
"text": "string"
|
|
3522
|
-
},
|
|
3523
|
-
"description": "Icon for the start icon"
|
|
3524
|
-
},
|
|
3525
|
-
{
|
|
3526
|
-
"kind": "field",
|
|
3527
|
-
"name": "iconEnd",
|
|
3528
|
-
"type": {
|
|
3529
|
-
"text": "string"
|
|
3530
|
-
},
|
|
3531
|
-
"description": "Icon for the end icon"
|
|
3532
|
-
},
|
|
3533
|
-
{
|
|
3534
|
-
"kind": "field",
|
|
3535
|
-
"name": "placeholder",
|
|
3536
|
-
"type": {
|
|
3537
|
-
"text": "string"
|
|
3538
|
-
},
|
|
3539
|
-
"description": "Placeholder text"
|
|
3540
|
-
},
|
|
3541
|
-
{
|
|
3542
|
-
"kind": "field",
|
|
3543
|
-
"name": "disabled",
|
|
3544
|
-
"type": {
|
|
3545
|
-
"text": "boolean"
|
|
3546
|
-
},
|
|
3547
|
-
"default": "false",
|
|
3548
|
-
"description": "Whether the input is disabled"
|
|
3549
|
-
},
|
|
3550
|
-
{
|
|
3551
|
-
"kind": "field",
|
|
3552
|
-
"name": "readonly",
|
|
3553
|
-
"type": {
|
|
3554
|
-
"text": "boolean"
|
|
3555
|
-
},
|
|
3556
|
-
"default": "false",
|
|
3557
|
-
"description": "Whether the input is read-only"
|
|
3558
|
-
},
|
|
3559
|
-
{
|
|
3560
|
-
"kind": "field",
|
|
3561
|
-
"name": "externalId",
|
|
3562
|
-
"type": {
|
|
3563
|
-
"text": "string"
|
|
3564
|
-
},
|
|
3565
|
-
"description": "External ID for linking with external systems"
|
|
3566
|
-
},
|
|
3567
|
-
{
|
|
3568
|
-
"kind": "field",
|
|
3569
|
-
"name": "handleInput",
|
|
3570
|
-
"privacy": "private"
|
|
3571
|
-
},
|
|
3572
|
-
{
|
|
3573
|
-
"kind": "field",
|
|
3574
|
-
"name": "handleChange",
|
|
3575
|
-
"privacy": "private"
|
|
3576
|
-
},
|
|
3577
|
-
{
|
|
3578
|
-
"kind": "field",
|
|
3579
|
-
"name": "handleClick",
|
|
3580
|
-
"privacy": "private"
|
|
3581
|
-
},
|
|
3582
|
-
{
|
|
3583
|
-
"kind": "method",
|
|
3584
|
-
"name": "render"
|
|
3585
|
-
}
|
|
3586
|
-
],
|
|
3587
|
-
"attributes": [
|
|
3588
|
-
{
|
|
3589
|
-
"name": "mode",
|
|
3590
|
-
"fieldName": "mode",
|
|
3591
|
-
"description": "Mode of the popover should be 'default' for internal use",
|
|
3592
|
-
"type": {
|
|
3593
|
-
"text": "'default' | 'admin'"
|
|
3594
|
-
}
|
|
3595
|
-
},
|
|
3596
|
-
{
|
|
3597
|
-
"name": "value",
|
|
3598
|
-
"fieldName": "value",
|
|
3599
|
-
"description": "The value of the input",
|
|
3600
|
-
"type": {
|
|
3601
|
-
"text": "string"
|
|
3602
|
-
}
|
|
3603
|
-
},
|
|
3604
|
-
{
|
|
3605
|
-
"name": "name",
|
|
3606
|
-
"fieldName": "name",
|
|
3607
|
-
"description": "The name of the input",
|
|
3608
|
-
"type": {
|
|
3609
|
-
"text": "string"
|
|
3610
|
-
}
|
|
3611
|
-
},
|
|
3612
|
-
{
|
|
3613
|
-
"name": "type",
|
|
3614
|
-
"fieldName": "type",
|
|
3615
|
-
"default": "'text'",
|
|
3616
|
-
"description": "The type of the input (text, email, password, etc.)",
|
|
3617
|
-
"type": {
|
|
3618
|
-
"text": "'text' | 'email' | 'password' | 'tel' | 'url'"
|
|
3619
|
-
}
|
|
3620
|
-
},
|
|
3621
|
-
{
|
|
3622
|
-
"name": "label",
|
|
3623
|
-
"fieldName": "label",
|
|
3624
|
-
"description": "Label for the input",
|
|
3625
|
-
"type": {
|
|
3626
|
-
"text": "string"
|
|
3627
|
-
}
|
|
3628
|
-
},
|
|
3629
|
-
{
|
|
3630
|
-
"name": "icon-start",
|
|
3631
|
-
"fieldName": "iconStart",
|
|
3632
|
-
"description": "Icon for the start icon",
|
|
3633
|
-
"type": {
|
|
3634
|
-
"text": "string"
|
|
3635
|
-
}
|
|
3636
|
-
},
|
|
3637
|
-
{
|
|
3638
|
-
"name": "icon-end",
|
|
3639
|
-
"fieldName": "iconEnd",
|
|
3640
|
-
"description": "Icon for the end icon",
|
|
3641
|
-
"type": {
|
|
3642
|
-
"text": "string"
|
|
3643
|
-
}
|
|
3644
|
-
},
|
|
3645
|
-
{
|
|
3646
|
-
"name": "placeholder",
|
|
3647
|
-
"fieldName": "placeholder",
|
|
3648
|
-
"description": "Placeholder text",
|
|
3649
|
-
"type": {
|
|
3650
|
-
"text": "string"
|
|
3651
|
-
}
|
|
3652
|
-
},
|
|
3653
|
-
{
|
|
3654
|
-
"name": "disabled",
|
|
3655
|
-
"fieldName": "disabled",
|
|
3656
|
-
"default": "false",
|
|
3657
|
-
"description": "Whether the input is disabled",
|
|
3658
|
-
"type": {
|
|
3659
|
-
"text": "boolean"
|
|
3660
|
-
}
|
|
3661
|
-
},
|
|
3662
|
-
{
|
|
3663
|
-
"name": "readonly",
|
|
3664
|
-
"fieldName": "readonly",
|
|
3665
|
-
"default": "false",
|
|
3666
|
-
"description": "Whether the input is read-only",
|
|
3667
|
-
"type": {
|
|
3668
|
-
"text": "boolean"
|
|
3669
|
-
}
|
|
3670
|
-
},
|
|
3671
|
-
{
|
|
3672
|
-
"name": "external-id",
|
|
3673
|
-
"fieldName": "externalId",
|
|
3674
|
-
"description": "External ID for linking with external systems",
|
|
3675
|
-
"type": {
|
|
3676
|
-
"text": "string"
|
|
3677
|
-
}
|
|
3678
|
-
}
|
|
3679
|
-
],
|
|
3680
|
-
"tagName": "le-string-input",
|
|
3681
|
-
"events": [
|
|
3682
|
-
{
|
|
3683
|
-
"name": "change",
|
|
3684
|
-
"type": {
|
|
3685
|
-
"text": "EventEmitter<{ value: string; name: string; externalId: string }>"
|
|
3686
|
-
},
|
|
3687
|
-
"description": "Emitted when the value changes (on blur or Enter)"
|
|
3688
|
-
},
|
|
3689
|
-
{
|
|
3690
|
-
"name": "input",
|
|
3691
|
-
"type": {
|
|
3692
|
-
"text": "EventEmitter<{ value: string; name: string; externalId: string }>"
|
|
3693
|
-
},
|
|
3694
|
-
"description": "Emitted when the input value changes (on keystroke)"
|
|
3695
|
-
}
|
|
3696
|
-
],
|
|
3697
|
-
"customElement": true
|
|
3698
|
-
}
|
|
3699
|
-
],
|
|
3700
|
-
"exports": [
|
|
3701
|
-
{
|
|
3702
|
-
"kind": "js",
|
|
3703
|
-
"name": "LeStringInput",
|
|
3704
|
-
"declaration": {
|
|
3705
|
-
"name": "LeStringInput",
|
|
3706
|
-
"module": "src/components/le-string-input/le-string-input.tsx"
|
|
3707
|
-
}
|
|
3708
|
-
},
|
|
3709
|
-
{
|
|
3710
|
-
"kind": "custom-element-definition",
|
|
3711
|
-
"name": "le-string-input",
|
|
3712
|
-
"declaration": {
|
|
3713
|
-
"name": "LeStringInput",
|
|
3714
|
-
"module": "src/components/le-string-input/le-string-input.tsx"
|
|
3715
|
-
}
|
|
3716
|
-
}
|
|
3717
|
-
]
|
|
3718
|
-
},
|
|
3719
|
-
{
|
|
3720
|
-
"kind": "javascript-module",
|
|
3721
|
-
"path": "src/components/le-text/le-text.tsx",
|
|
3722
|
-
"declarations": [
|
|
3723
|
-
{
|
|
3724
|
-
"kind": "class",
|
|
3725
|
-
"description": "A text component with rich text editing capabilities in admin mode.\n\n`le-text` renders semantic text elements (headings, paragraphs, code, quotes)\nand provides a Notion-like rich text editor in admin mode with formatting\ntoolbar for bold, italic, links, and paragraph type selection.",
|
|
3726
|
-
"name": "LeText",
|
|
3727
|
-
"cssProperties": [
|
|
3728
|
-
{
|
|
3729
|
-
"description": "Text color",
|
|
3730
|
-
"name": "--le-text-color"
|
|
3731
|
-
},
|
|
3732
|
-
{
|
|
3733
|
-
"description": "Font size",
|
|
3734
|
-
"name": "--le-text-font-size"
|
|
3735
|
-
},
|
|
3736
|
-
{
|
|
3737
|
-
"description": "Line height",
|
|
3738
|
-
"name": "--le-text-line-height"
|
|
3739
|
-
},
|
|
3740
|
-
{
|
|
3741
|
-
"description": "Font weight",
|
|
3742
|
-
"name": "--le-text-font-weight"
|
|
3743
|
-
}
|
|
3744
|
-
],
|
|
3745
|
-
"cssParts": [
|
|
3746
|
-
{
|
|
3747
|
-
"description": "The text container element",
|
|
3748
|
-
"name": "text"
|
|
3749
|
-
}
|
|
3750
|
-
],
|
|
3751
|
-
"slots": [
|
|
3752
|
-
{
|
|
3753
|
-
"description": "Default slot for text content",
|
|
3754
|
-
"name": ""
|
|
3755
|
-
}
|
|
3756
|
-
],
|
|
3757
|
-
"members": [
|
|
3758
|
-
{
|
|
3759
|
-
"kind": "field",
|
|
3760
|
-
"name": "el",
|
|
3761
|
-
"type": {
|
|
3762
|
-
"text": "HTMLElement"
|
|
3763
|
-
}
|
|
3764
|
-
},
|
|
3765
|
-
{
|
|
3766
|
-
"kind": "field",
|
|
3767
|
-
"name": "variant",
|
|
3768
|
-
"type": {
|
|
3769
|
-
"text": "'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'quote' | 'label' | 'small'"
|
|
3770
|
-
},
|
|
3771
|
-
"default": "'p'",
|
|
3772
|
-
"description": "The semantic variant/type of text element"
|
|
3773
|
-
},
|
|
3774
|
-
{
|
|
3775
|
-
"kind": "field",
|
|
3776
|
-
"name": "align",
|
|
3777
|
-
"type": {
|
|
3778
|
-
"text": "'left' | 'center' | 'right' | 'justify'"
|
|
3779
|
-
},
|
|
3780
|
-
"default": "'left'",
|
|
3781
|
-
"description": "Text alignment"
|
|
3782
|
-
},
|
|
3783
|
-
{
|
|
3784
|
-
"kind": "field",
|
|
3785
|
-
"name": "color",
|
|
3786
|
-
"type": {
|
|
3787
|
-
"text": "string | undefined"
|
|
3788
|
-
},
|
|
3789
|
-
"description": "Text color (CSS value or theme token)"
|
|
3790
|
-
},
|
|
3791
|
-
{
|
|
3792
|
-
"kind": "field",
|
|
3793
|
-
"name": "truncate",
|
|
3794
|
-
"type": {
|
|
3795
|
-
"text": "boolean"
|
|
3796
|
-
},
|
|
3797
|
-
"default": "false",
|
|
3798
|
-
"description": "Whether the text should truncate with ellipsis"
|
|
3799
|
-
},
|
|
3800
|
-
{
|
|
3801
|
-
"kind": "field",
|
|
3802
|
-
"name": "maxLines",
|
|
3803
|
-
"type": {
|
|
3804
|
-
"text": "number | undefined"
|
|
3805
|
-
},
|
|
3806
|
-
"description": "Maximum number of lines before truncating (requires truncate=true)"
|
|
3807
|
-
},
|
|
3808
|
-
{
|
|
3809
|
-
"kind": "field",
|
|
3810
|
-
"name": "adminMode",
|
|
3811
|
-
"type": {
|
|
3812
|
-
"text": "boolean"
|
|
3813
|
-
},
|
|
3814
|
-
"privacy": "private",
|
|
3815
|
-
"default": "false",
|
|
3816
|
-
"description": "Internal state to track admin mode"
|
|
3817
|
-
},
|
|
3818
|
-
{
|
|
3819
|
-
"kind": "field",
|
|
3820
|
-
"name": "content",
|
|
3821
|
-
"type": {
|
|
3822
|
-
"text": "string"
|
|
3823
|
-
},
|
|
3824
|
-
"privacy": "private",
|
|
3825
|
-
"default": "''",
|
|
3826
|
-
"description": "The HTML content being edited"
|
|
3827
|
-
},
|
|
3828
|
-
{
|
|
3829
|
-
"kind": "field",
|
|
3830
|
-
"name": "isFocused",
|
|
3831
|
-
"type": {
|
|
3832
|
-
"text": "boolean"
|
|
3833
|
-
},
|
|
3834
|
-
"privacy": "private",
|
|
3835
|
-
"default": "false",
|
|
3836
|
-
"description": "Whether the editor is focused (shows toolbar)"
|
|
3837
|
-
},
|
|
3838
|
-
{
|
|
3839
|
-
"kind": "field",
|
|
3840
|
-
"name": "selectionState",
|
|
3841
|
-
"type": {
|
|
3842
|
-
"text": "SelectionState"
|
|
3843
|
-
},
|
|
3844
|
-
"privacy": "private",
|
|
3845
|
-
"default": "{ isBold: false, isItalic: false, isUnderline: false, isStrikethrough: false, isLink: false, blockType: 'p', }",
|
|
3846
|
-
"description": "Current selection state for toolbar button highlighting"
|
|
3847
|
-
},
|
|
3848
|
-
{
|
|
3849
|
-
"kind": "field",
|
|
3850
|
-
"name": "editorRef",
|
|
3851
|
-
"type": {
|
|
3852
|
-
"text": "HTMLDivElement | undefined"
|
|
3853
|
-
},
|
|
3854
|
-
"privacy": "private",
|
|
3855
|
-
"description": "Reference to the contenteditable element"
|
|
3856
|
-
},
|
|
3857
|
-
{
|
|
3858
|
-
"kind": "field",
|
|
3859
|
-
"name": "slotRef",
|
|
3860
|
-
"type": {
|
|
3861
|
-
"text": "HTMLSlotElement | undefined"
|
|
3862
|
-
},
|
|
3863
|
-
"privacy": "private",
|
|
3864
|
-
"description": "Reference to the slot element"
|
|
3865
|
-
},
|
|
3866
|
-
{
|
|
3867
|
-
"kind": "field",
|
|
3868
|
-
"name": "disconnectModeObserver",
|
|
3869
|
-
"type": {
|
|
3870
|
-
"text": "() => void | undefined"
|
|
3871
|
-
},
|
|
3872
|
-
"privacy": "private"
|
|
3873
|
-
},
|
|
3874
|
-
{
|
|
3875
|
-
"kind": "method",
|
|
3876
|
-
"name": "onVariantChange"
|
|
3877
|
-
},
|
|
3878
|
-
{
|
|
3879
|
-
"kind": "method",
|
|
3880
|
-
"name": "readSlottedContent",
|
|
3881
|
-
"privacy": "private",
|
|
3882
|
-
"description": "Read content from slotted elements"
|
|
3883
|
-
},
|
|
3884
|
-
{
|
|
3885
|
-
"kind": "method",
|
|
3886
|
-
"name": "syncContentToSlot",
|
|
3887
|
-
"privacy": "private",
|
|
3888
|
-
"description": "Sync edited content back to the slot"
|
|
3889
|
-
},
|
|
3890
|
-
{
|
|
3891
|
-
"kind": "field",
|
|
3892
|
-
"name": "handleInput",
|
|
3893
|
-
"privacy": "private",
|
|
3894
|
-
"description": "Handle input in the contenteditable"
|
|
3895
|
-
},
|
|
3896
|
-
{
|
|
3897
|
-
"kind": "field",
|
|
3898
|
-
"name": "handleFocus",
|
|
3899
|
-
"privacy": "private",
|
|
3900
|
-
"description": "Handle focus on the editor"
|
|
3901
|
-
},
|
|
3902
|
-
{
|
|
3903
|
-
"kind": "field",
|
|
3904
|
-
"name": "handleBlur",
|
|
3905
|
-
"privacy": "private",
|
|
3906
|
-
"description": "Handle blur on the editor"
|
|
3907
|
-
},
|
|
3908
|
-
{
|
|
3909
|
-
"kind": "field",
|
|
3910
|
-
"name": "handleSelectionChange",
|
|
3911
|
-
"privacy": "private",
|
|
3912
|
-
"description": "Handle selection change to update toolbar state"
|
|
3913
|
-
},
|
|
3914
|
-
{
|
|
3915
|
-
"kind": "method",
|
|
3916
|
-
"name": "updateSelectionState",
|
|
3917
|
-
"privacy": "private",
|
|
3918
|
-
"description": "Update the selection state for toolbar highlighting"
|
|
3919
|
-
},
|
|
3920
|
-
{
|
|
3921
|
-
"kind": "method",
|
|
3922
|
-
"name": "isSelectionInLink",
|
|
3923
|
-
"privacy": "private",
|
|
3924
|
-
"return": {
|
|
3925
|
-
"type": {
|
|
3926
|
-
"text": "boolean"
|
|
3927
|
-
}
|
|
3928
|
-
},
|
|
3929
|
-
"parameters": [
|
|
3930
|
-
{
|
|
3931
|
-
"name": "selection",
|
|
3932
|
-
"type": {
|
|
3933
|
-
"text": "Selection"
|
|
3934
|
-
}
|
|
3935
|
-
}
|
|
3936
|
-
],
|
|
3937
|
-
"description": "Check if current selection is within a link"
|
|
3938
|
-
},
|
|
3939
|
-
{
|
|
3940
|
-
"kind": "method",
|
|
3941
|
-
"name": "execCommand",
|
|
3942
|
-
"privacy": "private",
|
|
3943
|
-
"parameters": [
|
|
3944
|
-
{
|
|
3945
|
-
"name": "command",
|
|
3946
|
-
"type": {
|
|
3947
|
-
"text": "string"
|
|
3948
|
-
}
|
|
3949
|
-
},
|
|
3950
|
-
{
|
|
3951
|
-
"name": "value",
|
|
3952
|
-
"optional": true,
|
|
3953
|
-
"type": {
|
|
3954
|
-
"text": "string"
|
|
3955
|
-
}
|
|
3956
|
-
}
|
|
3957
|
-
],
|
|
3958
|
-
"description": "Execute a formatting command"
|
|
3959
|
-
},
|
|
3960
|
-
{
|
|
3961
|
-
"kind": "field",
|
|
3962
|
-
"name": "toggleBold",
|
|
3963
|
-
"privacy": "private",
|
|
3964
|
-
"description": "Toggle bold formatting"
|
|
3965
|
-
},
|
|
3966
|
-
{
|
|
3967
|
-
"kind": "field",
|
|
3968
|
-
"name": "toggleItalic",
|
|
3969
|
-
"privacy": "private",
|
|
3970
|
-
"description": "Toggle italic formatting"
|
|
3971
|
-
},
|
|
3972
|
-
{
|
|
3973
|
-
"kind": "field",
|
|
3974
|
-
"name": "toggleUnderline",
|
|
3975
|
-
"privacy": "private",
|
|
3976
|
-
"description": "Toggle underline formatting"
|
|
3977
|
-
},
|
|
3978
|
-
{
|
|
3979
|
-
"kind": "field",
|
|
3980
|
-
"name": "toggleStrikethrough",
|
|
3981
|
-
"privacy": "private",
|
|
3982
|
-
"description": "Toggle strikethrough formatting"
|
|
3983
|
-
},
|
|
3984
|
-
{
|
|
3985
|
-
"kind": "field",
|
|
3986
|
-
"name": "toggleLink",
|
|
3987
|
-
"privacy": "private",
|
|
3988
|
-
"description": "Add or edit a link"
|
|
3989
|
-
},
|
|
3990
|
-
{
|
|
3991
|
-
"kind": "field",
|
|
3992
|
-
"name": "changeVariant",
|
|
3993
|
-
"privacy": "private",
|
|
3994
|
-
"description": "Change the block type/variant"
|
|
3995
|
-
},
|
|
3996
|
-
{
|
|
3997
|
-
"kind": "method",
|
|
3998
|
-
"name": "renderToolbar",
|
|
3999
|
-
"privacy": "private",
|
|
4000
|
-
"description": "Render the formatting toolbar"
|
|
4001
|
-
},
|
|
4002
|
-
{
|
|
4003
|
-
"kind": "method",
|
|
4004
|
-
"name": "getTag",
|
|
4005
|
-
"privacy": "private",
|
|
4006
|
-
"return": {
|
|
4007
|
-
"type": {
|
|
4008
|
-
"text": "string"
|
|
4009
|
-
}
|
|
4010
|
-
},
|
|
4011
|
-
"description": "Get the semantic tag for the current variant"
|
|
4012
|
-
},
|
|
4013
|
-
{
|
|
4014
|
-
"kind": "method",
|
|
4015
|
-
"name": "render"
|
|
4016
|
-
}
|
|
4017
|
-
],
|
|
4018
|
-
"attributes": [
|
|
4019
|
-
{
|
|
4020
|
-
"name": "variant",
|
|
4021
|
-
"fieldName": "variant",
|
|
4022
|
-
"default": "'p'",
|
|
4023
|
-
"description": "The semantic variant/type of text element",
|
|
4024
|
-
"type": {
|
|
4025
|
-
"text": "'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'quote' | 'label' | 'small'"
|
|
4026
|
-
}
|
|
4027
|
-
},
|
|
4028
|
-
{
|
|
4029
|
-
"name": "align",
|
|
4030
|
-
"fieldName": "align",
|
|
4031
|
-
"default": "'left'",
|
|
4032
|
-
"description": "Text alignment",
|
|
4033
|
-
"type": {
|
|
4034
|
-
"text": "'left' | 'center' | 'right' | 'justify'"
|
|
4035
|
-
}
|
|
4036
|
-
},
|
|
4037
|
-
{
|
|
4038
|
-
"name": "color",
|
|
4039
|
-
"fieldName": "color",
|
|
4040
|
-
"description": "Text color (CSS value or theme token)",
|
|
4041
|
-
"type": {
|
|
4042
|
-
"text": "string"
|
|
4043
|
-
}
|
|
4044
|
-
},
|
|
4045
|
-
{
|
|
4046
|
-
"name": "truncate",
|
|
4047
|
-
"fieldName": "truncate",
|
|
4048
|
-
"default": "false",
|
|
4049
|
-
"description": "Whether the text should truncate with ellipsis",
|
|
4050
|
-
"type": {
|
|
4051
|
-
"text": "boolean"
|
|
4052
|
-
}
|
|
4053
|
-
},
|
|
4054
|
-
{
|
|
4055
|
-
"name": "max-lines",
|
|
4056
|
-
"fieldName": "maxLines",
|
|
4057
|
-
"description": "Maximum number of lines before truncating (requires truncate=true)",
|
|
4058
|
-
"type": {
|
|
4059
|
-
"text": "number"
|
|
4060
|
-
}
|
|
4061
|
-
}
|
|
4062
|
-
],
|
|
4063
|
-
"tagName": "le-text",
|
|
4064
|
-
"events": [],
|
|
4065
|
-
"customElement": true
|
|
4066
|
-
}
|
|
4067
|
-
],
|
|
4068
|
-
"exports": [
|
|
4069
|
-
{
|
|
4070
|
-
"kind": "js",
|
|
4071
|
-
"name": "LeText",
|
|
4072
|
-
"declaration": {
|
|
4073
|
-
"name": "LeText",
|
|
4074
|
-
"module": "src/components/le-text/le-text.tsx"
|
|
4075
|
-
}
|
|
4076
|
-
},
|
|
4077
|
-
{
|
|
4078
|
-
"kind": "custom-element-definition",
|
|
4079
|
-
"name": "le-text",
|
|
4080
|
-
"declaration": {
|
|
4081
|
-
"name": "LeText",
|
|
4082
|
-
"module": "src/components/le-text/le-text.tsx"
|
|
4083
|
-
}
|
|
4084
|
-
}
|
|
4085
|
-
]
|
|
4086
|
-
},
|
|
4087
|
-
{
|
|
4088
|
-
"kind": "javascript-module",
|
|
4089
|
-
"path": "src/components/le-turntable/le-turntable.tsx",
|
|
4090
|
-
"declarations": [
|
|
4091
|
-
{
|
|
4092
|
-
"kind": "class",
|
|
4093
|
-
"description": "",
|
|
4094
|
-
"name": "LeTurntable",
|
|
4095
|
-
"members": [
|
|
4096
|
-
{
|
|
4097
|
-
"kind": "field",
|
|
4098
|
-
"name": "el",
|
|
4099
|
-
"type": {
|
|
4100
|
-
"text": "HTMLElement"
|
|
4101
|
-
}
|
|
4102
|
-
},
|
|
4103
|
-
{
|
|
4104
|
-
"kind": "field",
|
|
4105
|
-
"name": "center",
|
|
4106
|
-
"type": {
|
|
4107
|
-
"text": "string"
|
|
4108
|
-
},
|
|
4109
|
-
"default": "'center'"
|
|
4110
|
-
},
|
|
4111
|
-
{
|
|
4112
|
-
"kind": "field",
|
|
4113
|
-
"name": "value",
|
|
4114
|
-
"type": {
|
|
4115
|
-
"text": "number"
|
|
4116
|
-
},
|
|
4117
|
-
"default": "0"
|
|
4118
|
-
},
|
|
4119
|
-
{
|
|
4120
|
-
"kind": "method",
|
|
4121
|
-
"name": "updateValue",
|
|
4122
|
-
"parameters": [
|
|
4123
|
-
{
|
|
4124
|
-
"name": "newValue"
|
|
4125
|
-
}
|
|
4126
|
-
]
|
|
4127
|
-
},
|
|
4128
|
-
{
|
|
4129
|
-
"kind": "field",
|
|
4130
|
-
"name": "rotating",
|
|
4131
|
-
"type": {
|
|
4132
|
-
"text": "boolean"
|
|
4133
|
-
},
|
|
4134
|
-
"default": "false",
|
|
4135
|
-
"description": "Internal state\n\nusing properties instead of"
|
|
4136
|
-
},
|
|
4137
|
-
{
|
|
4138
|
-
"kind": "field",
|
|
4139
|
-
"name": "centerX",
|
|
4140
|
-
"type": {
|
|
4141
|
-
"text": "number"
|
|
4142
|
-
}
|
|
4143
|
-
},
|
|
4144
|
-
{
|
|
4145
|
-
"kind": "field",
|
|
4146
|
-
"name": "centerY",
|
|
4147
|
-
"type": {
|
|
4148
|
-
"text": "number"
|
|
4149
|
-
}
|
|
4150
|
-
},
|
|
4151
|
-
{
|
|
4152
|
-
"kind": "field",
|
|
4153
|
-
"name": "pageX",
|
|
4154
|
-
"type": {
|
|
4155
|
-
"text": "number"
|
|
4156
|
-
}
|
|
4157
|
-
},
|
|
4158
|
-
{
|
|
4159
|
-
"kind": "field",
|
|
4160
|
-
"name": "pageY",
|
|
4161
|
-
"type": {
|
|
4162
|
-
"text": "number"
|
|
4163
|
-
}
|
|
4164
|
-
},
|
|
4165
|
-
{
|
|
4166
|
-
"kind": "field",
|
|
4167
|
-
"name": "currentAngle",
|
|
4168
|
-
"type": {
|
|
4169
|
-
"text": "number"
|
|
4170
|
-
},
|
|
4171
|
-
"default": "0"
|
|
4172
|
-
},
|
|
4173
|
-
{
|
|
4174
|
-
"kind": "field",
|
|
4175
|
-
"name": "startAngle",
|
|
4176
|
-
"type": {
|
|
4177
|
-
"text": "number"
|
|
4178
|
-
}
|
|
4179
|
-
},
|
|
4180
|
-
{
|
|
4181
|
-
"kind": "method",
|
|
4182
|
-
"name": "handleMouseDown",
|
|
4183
|
-
"parameters": [
|
|
4184
|
-
{
|
|
4185
|
-
"name": "evt",
|
|
4186
|
-
"type": {
|
|
4187
|
-
"text": "MouseEvent"
|
|
4188
|
-
}
|
|
4189
|
-
}
|
|
4190
|
-
],
|
|
4191
|
-
"description": "Event listeners"
|
|
4192
|
-
},
|
|
4193
|
-
{
|
|
4194
|
-
"kind": "method",
|
|
4195
|
-
"name": "handleMouseMove",
|
|
4196
|
-
"parameters": [
|
|
4197
|
-
{
|
|
4198
|
-
"name": "evt",
|
|
4199
|
-
"type": {
|
|
4200
|
-
"text": "MouseEvent"
|
|
4201
|
-
}
|
|
4202
|
-
}
|
|
4203
|
-
],
|
|
4204
|
-
"description": "Fires when the mouse moves\nchecks is the element rotating right now and if it is\nthen calc the current angle and rotate the element\n\nTODO: attach events only after the dragStart?"
|
|
4205
|
-
},
|
|
4206
|
-
{
|
|
4207
|
-
"kind": "method",
|
|
4208
|
-
"name": "handleMouseUp",
|
|
4209
|
-
"parameters": [
|
|
4210
|
-
{
|
|
4211
|
-
"name": "evt",
|
|
4212
|
-
"type": {
|
|
4213
|
-
"text": "MouseEvent"
|
|
4214
|
-
}
|
|
4215
|
-
}
|
|
4216
|
-
]
|
|
4217
|
-
},
|
|
4218
|
-
{
|
|
4219
|
-
"kind": "method",
|
|
4220
|
-
"name": "handleWindowResize"
|
|
4221
|
-
},
|
|
4222
|
-
{
|
|
4223
|
-
"kind": "method",
|
|
4224
|
-
"name": "getTransformOrigin",
|
|
4225
|
-
"description": "Calculates the transform origin of the component\nand the page offset in pixels\n\nWe'll need these values to calculate the angle of pointer event"
|
|
4226
|
-
},
|
|
4227
|
-
{
|
|
4228
|
-
"kind": "method",
|
|
4229
|
-
"name": "getAngle",
|
|
4230
|
-
"parameters": [
|
|
4231
|
-
{
|
|
4232
|
-
"name": "posX",
|
|
4233
|
-
"type": {
|
|
4234
|
-
"text": "number"
|
|
4235
|
-
},
|
|
4236
|
-
"description": "horizontal mouse position"
|
|
4237
|
-
},
|
|
4238
|
-
{
|
|
4239
|
-
"name": "posY",
|
|
4240
|
-
"type": {
|
|
4241
|
-
"text": "number"
|
|
4242
|
-
},
|
|
4243
|
-
"description": "vertical mouse position"
|
|
4244
|
-
}
|
|
4245
|
-
],
|
|
4246
|
-
"description": "Calculates current angle"
|
|
4247
|
-
},
|
|
4248
|
-
{
|
|
4249
|
-
"kind": "method",
|
|
4250
|
-
"name": "setAngle",
|
|
4251
|
-
"parameters": [
|
|
4252
|
-
{
|
|
4253
|
-
"name": "angle"
|
|
4254
|
-
}
|
|
4255
|
-
]
|
|
4256
|
-
},
|
|
4257
|
-
{
|
|
4258
|
-
"kind": "method",
|
|
4259
|
-
"name": "render"
|
|
4260
|
-
}
|
|
4261
|
-
],
|
|
4262
|
-
"attributes": [
|
|
4263
|
-
{
|
|
4264
|
-
"name": "center",
|
|
4265
|
-
"fieldName": "center",
|
|
4266
|
-
"default": "'center'",
|
|
4267
|
-
"type": {
|
|
4268
|
-
"text": "string"
|
|
4269
|
-
}
|
|
4270
|
-
},
|
|
4271
|
-
{
|
|
4272
|
-
"name": "value",
|
|
4273
|
-
"fieldName": "value",
|
|
4274
|
-
"default": "0",
|
|
4275
|
-
"type": {
|
|
4276
|
-
"text": "number"
|
|
4277
|
-
}
|
|
4278
|
-
}
|
|
4279
|
-
],
|
|
4280
|
-
"tagName": "le-turntable",
|
|
4281
|
-
"events": [],
|
|
4282
|
-
"customElement": true
|
|
4283
|
-
}
|
|
4284
|
-
],
|
|
4285
|
-
"exports": [
|
|
4286
|
-
{
|
|
4287
|
-
"kind": "js",
|
|
4288
|
-
"name": "LeTurntable",
|
|
4289
|
-
"declaration": {
|
|
4290
|
-
"name": "LeTurntable",
|
|
4291
|
-
"module": "src/components/le-turntable/le-turntable.tsx"
|
|
4292
|
-
}
|
|
4293
|
-
},
|
|
4294
|
-
{
|
|
4295
|
-
"kind": "custom-element-definition",
|
|
4296
|
-
"name": "le-turntable",
|
|
4297
|
-
"declaration": {
|
|
4298
|
-
"name": "LeTurntable",
|
|
4299
|
-
"module": "src/components/le-turntable/le-turntable.tsx"
|
|
4300
|
-
}
|
|
4301
|
-
}
|
|
4302
|
-
]
|
|
4303
|
-
}
|
|
4304
|
-
]
|
|
4305
|
-
}
|