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,199 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { h as classnames } from './utils.js';
|
|
3
|
-
import { d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$5, c as defineCustomElement$6, e as defineCustomElement$7 } from './le-button2.js';
|
|
4
|
-
import { d as defineCustomElement$4 } from './le-popover2.js';
|
|
5
|
-
|
|
6
|
-
const leStackDefaultCss = ":host{display:block}:host([hidden]){display:none}.stack{gap:var(--le-stack-gap, var(--le-space-md))}:host(.full-width){width:100%}:host(.full-height){height:100%}:host(.direction-horizontal) .stack{min-height:0}:host(.direction-vertical) .stack{min-width:0}";
|
|
7
|
-
|
|
8
|
-
const LeStack$1 = /*@__PURE__*/ proxyCustomElement(class LeStack extends HTMLElement {
|
|
9
|
-
constructor(registerHost) {
|
|
10
|
-
super();
|
|
11
|
-
if (registerHost !== false) {
|
|
12
|
-
this.__registerHost();
|
|
13
|
-
}
|
|
14
|
-
this.__attachShadow();
|
|
15
|
-
}
|
|
16
|
-
get el() { return this; }
|
|
17
|
-
/**
|
|
18
|
-
* Direction of the stack layout
|
|
19
|
-
* @allowedValues horizontal | vertical
|
|
20
|
-
*/
|
|
21
|
-
direction = 'horizontal';
|
|
22
|
-
/**
|
|
23
|
-
* Gap between items (CSS value like '8px', '1rem', 'var(--le-space-md)')
|
|
24
|
-
*/
|
|
25
|
-
gap;
|
|
26
|
-
/**
|
|
27
|
-
* Alignment of items on the cross axis
|
|
28
|
-
* @allowedValues start | center | end | stretch | baseline
|
|
29
|
-
*/
|
|
30
|
-
align = 'stretch';
|
|
31
|
-
/**
|
|
32
|
-
* Distribution of items on the main axis
|
|
33
|
-
* @allowedValues start | center | end | space-between | space-around | space-evenly
|
|
34
|
-
*/
|
|
35
|
-
justify = 'start';
|
|
36
|
-
/**
|
|
37
|
-
* Whether items should wrap to multiple lines
|
|
38
|
-
*/
|
|
39
|
-
wrap = false;
|
|
40
|
-
/**
|
|
41
|
-
* Alignment of wrapped lines (only applies when wrap is true)
|
|
42
|
-
* @allowedValues start | center | end | stretch | space-between | space-around
|
|
43
|
-
*/
|
|
44
|
-
alignContent = 'stretch';
|
|
45
|
-
/**
|
|
46
|
-
* Whether to reverse the order of items
|
|
47
|
-
*/
|
|
48
|
-
reverse = false;
|
|
49
|
-
/**
|
|
50
|
-
* Maximum number of items allowed in the stack (for CMS validation)
|
|
51
|
-
* @min 1
|
|
52
|
-
*/
|
|
53
|
-
maxItems;
|
|
54
|
-
/**
|
|
55
|
-
* Whether the stack should take full width of its container
|
|
56
|
-
*/
|
|
57
|
-
fullWidth = false;
|
|
58
|
-
/**
|
|
59
|
-
* Whether the stack should take full height of its container
|
|
60
|
-
*/
|
|
61
|
-
fullHeight = false;
|
|
62
|
-
/**
|
|
63
|
-
* Padding inside the stack container (CSS value)
|
|
64
|
-
*/
|
|
65
|
-
padding;
|
|
66
|
-
getFlexDirection() {
|
|
67
|
-
const base = this.direction === 'vertical' ? 'column' : 'row';
|
|
68
|
-
return this.reverse ? `${base}-reverse` : base;
|
|
69
|
-
}
|
|
70
|
-
getAlignItems() {
|
|
71
|
-
const alignMap = {
|
|
72
|
-
start: 'flex-start',
|
|
73
|
-
center: 'center',
|
|
74
|
-
end: 'flex-end',
|
|
75
|
-
stretch: 'stretch',
|
|
76
|
-
baseline: 'baseline',
|
|
77
|
-
};
|
|
78
|
-
return alignMap[this.align] || 'stretch';
|
|
79
|
-
}
|
|
80
|
-
getJustifyContent() {
|
|
81
|
-
const justifyMap = {
|
|
82
|
-
start: 'flex-start',
|
|
83
|
-
center: 'center',
|
|
84
|
-
end: 'flex-end',
|
|
85
|
-
'space-between': 'space-between',
|
|
86
|
-
'space-around': 'space-around',
|
|
87
|
-
'space-evenly': 'space-evenly',
|
|
88
|
-
};
|
|
89
|
-
return justifyMap[this.justify] || 'flex-start';
|
|
90
|
-
}
|
|
91
|
-
getAlignContent() {
|
|
92
|
-
const alignContentMap = {
|
|
93
|
-
start: 'flex-start',
|
|
94
|
-
center: 'center',
|
|
95
|
-
end: 'flex-end',
|
|
96
|
-
stretch: 'stretch',
|
|
97
|
-
'space-between': 'space-between',
|
|
98
|
-
'space-around': 'space-around',
|
|
99
|
-
};
|
|
100
|
-
return alignContentMap[this.alignContent] || 'stretch';
|
|
101
|
-
}
|
|
102
|
-
render() {
|
|
103
|
-
const style = {
|
|
104
|
-
display: 'flex',
|
|
105
|
-
flexDirection: this.getFlexDirection(),
|
|
106
|
-
alignItems: this.getAlignItems(),
|
|
107
|
-
justifyContent: this.getJustifyContent(),
|
|
108
|
-
flexWrap: this.wrap ? 'wrap' : 'nowrap',
|
|
109
|
-
};
|
|
110
|
-
if (this.wrap) {
|
|
111
|
-
style.alignContent = this.getAlignContent();
|
|
112
|
-
}
|
|
113
|
-
if (this.gap) {
|
|
114
|
-
style.gap = this.gap;
|
|
115
|
-
}
|
|
116
|
-
if (this.padding) {
|
|
117
|
-
style.padding = this.padding;
|
|
118
|
-
}
|
|
119
|
-
// if (this.fullWidth) {
|
|
120
|
-
// style.width = '100%';
|
|
121
|
-
// }
|
|
122
|
-
// if (this.fullHeight) {
|
|
123
|
-
// style.height = '100%';
|
|
124
|
-
// }
|
|
125
|
-
const hostClass = classnames(`direction-${this.direction}`, {
|
|
126
|
-
'wrap': this.wrap,
|
|
127
|
-
'reverse': this.reverse,
|
|
128
|
-
'full-width': this.fullWidth,
|
|
129
|
-
'full-height': this.fullHeight,
|
|
130
|
-
});
|
|
131
|
-
// Slot style for admin mode - make items display in the same direction
|
|
132
|
-
const slotStyle = `display: flex; flex-direction: ${this.getFlexDirection()}; gap: ${this.gap || 'var(--le-space-md)'}; flex-wrap: ${this.wrap ? 'wrap' : 'nowrap'}; justify-content: ${this.getJustifyContent()}; align-items: ${this.getAlignItems()};`;
|
|
133
|
-
return (h("le-component", { key: 'e1547512915e47e4c5ddbcbcbd3971579e45a140', component: "le-stack", hostClass: hostClass }, h("div", { key: '61a4fd57c61c56a8abac0ae2348e6e48034efc4d', class: "stack", part: "stack", style: style }, h("le-slot", { key: '0ef0f996ce0efcb20a47171197d82e5b326c7e8c', name: "", description: `Items arranged ${this.direction}ly${this.maxItems ? ` (max ${this.maxItems})` : ''}`, type: "slot", "allowed-components": "le-text,le-box,le-card,le-button,le-stack", slotStyle: slotStyle }, h("slot", { key: 'f41f351d8b6dbdaf20756e9bc317a35a0424fc6c' })))));
|
|
134
|
-
}
|
|
135
|
-
static get style() { return leStackDefaultCss; }
|
|
136
|
-
}, [769, "le-stack", {
|
|
137
|
-
"direction": [1],
|
|
138
|
-
"gap": [1],
|
|
139
|
-
"align": [1],
|
|
140
|
-
"justify": [1],
|
|
141
|
-
"wrap": [4],
|
|
142
|
-
"alignContent": [1, "align-content"],
|
|
143
|
-
"reverse": [4],
|
|
144
|
-
"maxItems": [2, "max-items"],
|
|
145
|
-
"fullWidth": [4, "full-width"],
|
|
146
|
-
"fullHeight": [4, "full-height"],
|
|
147
|
-
"padding": [1]
|
|
148
|
-
}]);
|
|
149
|
-
function defineCustomElement$1() {
|
|
150
|
-
if (typeof customElements === "undefined") {
|
|
151
|
-
return;
|
|
152
|
-
}
|
|
153
|
-
const components = ["le-stack", "le-button", "le-checkbox", "le-component", "le-popover", "le-slot", "le-string-input"];
|
|
154
|
-
components.forEach(tagName => { switch (tagName) {
|
|
155
|
-
case "le-stack":
|
|
156
|
-
if (!customElements.get(tagName)) {
|
|
157
|
-
customElements.define(tagName, LeStack$1);
|
|
158
|
-
}
|
|
159
|
-
break;
|
|
160
|
-
case "le-button":
|
|
161
|
-
if (!customElements.get(tagName)) {
|
|
162
|
-
defineCustomElement$7();
|
|
163
|
-
}
|
|
164
|
-
break;
|
|
165
|
-
case "le-checkbox":
|
|
166
|
-
if (!customElements.get(tagName)) {
|
|
167
|
-
defineCustomElement$6();
|
|
168
|
-
}
|
|
169
|
-
break;
|
|
170
|
-
case "le-component":
|
|
171
|
-
if (!customElements.get(tagName)) {
|
|
172
|
-
defineCustomElement$5();
|
|
173
|
-
}
|
|
174
|
-
break;
|
|
175
|
-
case "le-popover":
|
|
176
|
-
if (!customElements.get(tagName)) {
|
|
177
|
-
defineCustomElement$4();
|
|
178
|
-
}
|
|
179
|
-
break;
|
|
180
|
-
case "le-slot":
|
|
181
|
-
if (!customElements.get(tagName)) {
|
|
182
|
-
defineCustomElement$3();
|
|
183
|
-
}
|
|
184
|
-
break;
|
|
185
|
-
case "le-string-input":
|
|
186
|
-
if (!customElements.get(tagName)) {
|
|
187
|
-
defineCustomElement$2();
|
|
188
|
-
}
|
|
189
|
-
break;
|
|
190
|
-
} });
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
const LeStack = LeStack$1;
|
|
194
|
-
const defineCustomElement = defineCustomElement$1;
|
|
195
|
-
|
|
196
|
-
export { LeStack, defineCustomElement };
|
|
197
|
-
//# sourceMappingURL=le-stack.js.map
|
|
198
|
-
|
|
199
|
-
//# sourceMappingURL=le-stack.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"le-stack.js","mappings":"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","names":["LeStack","__stencil_proxyCustomElement"],"sources":["src/components/le-stack/le-stack.default.css?tag=le-stack&encapsulation=shadow","src/components/le-stack/le-stack.tsx"],"sourcesContent":["/**\n * le-stack default styles\n *\n * The component uses inline styles for flex properties to allow\n * dynamic prop-based configuration. This CSS handles theming.\n */\n\n:host {\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/* Base stack container */\n.stack {\n gap: var(--le-stack-gap, var(--le-space-md));\n}\n\n/* Full width/height variants */\n:host(.full-width) {\n width: 100%;\n}\n\n:host(.full-height) {\n height: 100%;\n}\n\n/* Direction-specific defaults */\n:host(.direction-horizontal) .stack {\n min-height: 0;\n}\n\n:host(.direction-vertical) .stack {\n min-width: 0;\n}\n","import { Component, Prop, h, Element } from '@stencil/core';\nimport { classnames } from '../../utils/utils';\n\n/**\n * A flexible stack layout component using CSS flexbox.\n *\n * `le-stack` arranges its children in a row (horizontal) or column (vertical)\n * with configurable spacing, alignment, and wrapping behavior. Perfect for\n * creating responsive layouts.\n *\n * @slot - Default slot for stack items (le-box components recommended)\n *\n * @cssprop --le-stack-gap - Gap between items (defaults to var(--le-space-md))\n *\n * @csspart stack - The main stack container\n *\n * @cmsEditable true\n * @cmsCategory Layout\n */\n@Component({\n tag: 'le-stack',\n styleUrl: 'le-stack.default.css',\n shadow: true,\n})\nexport class LeStack {\n @Element() el: HTMLElement;\n\n /**\n * Direction of the stack layout\n * @allowedValues horizontal | vertical\n */\n @Prop() direction: 'horizontal' | 'vertical' = 'horizontal';\n\n /**\n * Gap between items (CSS value like '8px', '1rem', 'var(--le-space-md)')\n */\n @Prop() gap?: string;\n\n /**\n * Alignment of items on the cross axis\n * @allowedValues start | center | end | stretch | baseline\n */\n @Prop() align: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'stretch';\n\n /**\n * Distribution of items on the main axis\n * @allowedValues start | center | end | space-between | space-around | space-evenly\n */\n @Prop() justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly' = 'start';\n\n /**\n * Whether items should wrap to multiple lines\n */\n @Prop() wrap: boolean = false;\n\n /**\n * Alignment of wrapped lines (only applies when wrap is true)\n * @allowedValues start | center | end | stretch | space-between | space-around\n */\n @Prop() alignContent: 'start' | 'center' | 'end' | 'stretch' | 'space-between' | 'space-around' = 'stretch';\n\n /**\n * Whether to reverse the order of items\n */\n @Prop() reverse: boolean = false;\n\n /**\n * Maximum number of items allowed in the stack (for CMS validation)\n * @min 1\n */\n @Prop() maxItems?: number;\n\n /**\n * Whether the stack should take full width of its container\n */\n @Prop() fullWidth: boolean = false;\n\n /**\n * Whether the stack should take full height of its container\n */\n @Prop() fullHeight: boolean = false;\n\n /**\n * Padding inside the stack container (CSS value)\n */\n @Prop() padding?: string;\n\n private getFlexDirection(): string {\n const base = this.direction === 'vertical' ? 'column' : 'row';\n return this.reverse ? `${base}-reverse` : base;\n }\n\n private getAlignItems(): string {\n const alignMap: Record<string, string> = {\n start: 'flex-start',\n center: 'center',\n end: 'flex-end',\n stretch: 'stretch',\n baseline: 'baseline',\n };\n return alignMap[this.align] || 'stretch';\n }\n\n private getJustifyContent(): string {\n const justifyMap: Record<string, string> = {\n start: 'flex-start',\n center: 'center',\n end: 'flex-end',\n 'space-between': 'space-between',\n 'space-around': 'space-around',\n 'space-evenly': 'space-evenly',\n };\n return justifyMap[this.justify] || 'flex-start';\n }\n\n private getAlignContent(): string {\n const alignContentMap: Record<string, string> = {\n start: 'flex-start',\n center: 'center',\n end: 'flex-end',\n stretch: 'stretch',\n 'space-between': 'space-between',\n 'space-around': 'space-around',\n };\n return alignContentMap[this.alignContent] || 'stretch';\n }\n\n render() {\n const style: { [key: string]: string } = {\n display: 'flex',\n flexDirection: this.getFlexDirection(),\n alignItems: this.getAlignItems(),\n justifyContent: this.getJustifyContent(),\n flexWrap: this.wrap ? 'wrap' : 'nowrap',\n };\n\n if (this.wrap) {\n style.alignContent = this.getAlignContent();\n }\n\n if (this.gap) {\n style.gap = this.gap;\n }\n\n if (this.padding) {\n style.padding = this.padding;\n }\n\n // if (this.fullWidth) {\n // style.width = '100%';\n // }\n\n // if (this.fullHeight) {\n // style.height = '100%';\n // }\n\n const hostClass = classnames(\n `direction-${this.direction}`,\n {\n 'wrap': this.wrap,\n 'reverse': this.reverse,\n 'full-width': this.fullWidth,\n 'full-height': this.fullHeight,\n }\n );\n\n // Slot style for admin mode - make items display in the same direction\n const slotStyle = `display: flex; flex-direction: ${this.getFlexDirection()}; gap: ${this.gap || 'var(--le-space-md)'}; flex-wrap: ${this.wrap ? 'wrap' : 'nowrap'}; justify-content: ${this.getJustifyContent()}; align-items: ${this.getAlignItems()};`;\n\n return (\n <le-component component=\"le-stack\" hostClass={hostClass}>\n <div class=\"stack\" part=\"stack\" style={style}>\n <le-slot\n name=\"\"\n description={`Items arranged ${this.direction}ly${this.maxItems ? ` (max ${this.maxItems})` : ''}`}\n type=\"slot\"\n allowed-components=\"le-text,le-box,le-card,le-button,le-stack\"\n slotStyle={slotStyle}\n >\n <slot></slot>\n </le-slot>\n </div>\n </le-component>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { i as LeStringInput$1, d as defineCustomElement$1 } from './le-button2.js';
|
|
2
|
-
|
|
3
|
-
const LeStringInput = LeStringInput$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { LeStringInput, defineCustomElement };
|
|
7
|
-
//# sourceMappingURL=le-string-input.js.map
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=le-string-input.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"le-string-input.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1,399 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { o as observeModeChanges } from './utils.js';
|
|
3
|
-
import { d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$5, c as defineCustomElement$6, e as defineCustomElement$7 } from './le-button2.js';
|
|
4
|
-
import { d as defineCustomElement$4 } from './le-popover2.js';
|
|
5
|
-
|
|
6
|
-
const leTextDefaultCss = ":host{display:block}:host([hidden]){display:none}.le-text{margin:0;color:var(--le-text-color, var(--le-color-text));font-family:var(--le-font-family);line-height:var(--le-text-line-height, 1.5)}.variant-p{font-size:var(--le-font-size-base, 1rem);font-weight:var(--le-font-weight-normal, 400);color:var(--le-color-text)}.variant-h1{font-size:var(--le-font-size-4xl, 2.5rem);font-weight:var(--le-font-weight-bold, 700);line-height:1.2;color:var(--le-color-text);letter-spacing:-0.02em}.variant-h2{font-size:var(--le-font-size-3xl, 2rem);font-weight:var(--le-font-weight-bold, 700);line-height:1.25;color:var(--le-color-text);letter-spacing:-0.01em}.variant-h3{font-size:var(--le-font-size-2xl, 1.5rem);font-weight:var(--le-font-weight-semibold, 600);line-height:1.3;color:var(--le-color-text)}.variant-h4{font-size:var(--le-font-size-xl, 1.25rem);font-weight:var(--le-font-weight-semibold, 600);line-height:1.35;color:var(--le-color-text)}.variant-h5{font-size:var(--le-font-size-lg, 1.125rem);font-weight:var(--le-font-weight-medium, 500);line-height:1.4;color:var(--le-color-text)}.variant-h6{font-size:var(--le-font-size-base, 1rem);font-weight:var(--le-font-weight-medium, 500);line-height:1.45;color:var(--le-color-text);text-transform:uppercase;letter-spacing:0.05em}.variant-code{font-family:var(--le-font-family-mono, 'SF Mono', 'Fira Code', 'Consolas', monospace);font-size:var(--le-font-size-sm, 0.875rem);background:var(--le-color-surface-alt, #f5f5f5);padding:var(--le-space-md);border-radius:var(--le-radius-md);overflow-x:auto;white-space:pre-wrap;color:var(--le-color-text)}.variant-quote{font-size:var(--le-font-size-lg, 1.125rem);font-style:italic;color:var(--le-color-text-secondary);border-left:4px solid var(--le-color-primary);padding-left:var(--le-space-lg);margin-left:0;margin-right:0}.variant-label{font-size:var(--le-font-size-sm, 0.875rem);font-weight:var(--le-font-weight-medium, 500);color:var(--le-color-text-secondary);text-transform:uppercase;letter-spacing:0.05em}.variant-small{font-size:var(--le-font-size-sm, 0.875rem);color:var(--le-color-text-secondary)}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.truncate.max-lines-2,.truncate.max-lines-3,.truncate.max-lines-4,.truncate.max-lines-5{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical}.truncate.max-lines-2{-webkit-line-clamp:2;line-clamp:2}.truncate.max-lines-3{-webkit-line-clamp:3;line-clamp:3}.truncate.max-lines-4{-webkit-line-clamp:4;line-clamp:4}.truncate.max-lines-5{-webkit-line-clamp:5;line-clamp:5}:host([align=\"center\"]) .le-text{text-align:center}:host([align=\"right\"]) .le-text{text-align:right}:host([align=\"justify\"]) .le-text{text-align:justify}.le-text a{color:var(--le-color-primary);text-decoration:underline}.le-text a:hover{color:var(--le-color-primary-dark)}.le-text strong,.le-text b{font-weight:var(--le-font-weight-bold, 700)}.le-text em,.le-text i{font-style:italic}.le-text u{text-decoration:underline}.le-text s,.le-text strike{text-decoration:line-through}";
|
|
7
|
-
|
|
8
|
-
const LeText$1 = /*@__PURE__*/ proxyCustomElement(class LeText extends HTMLElement {
|
|
9
|
-
constructor(registerHost) {
|
|
10
|
-
super();
|
|
11
|
-
if (registerHost !== false) {
|
|
12
|
-
this.__registerHost();
|
|
13
|
-
}
|
|
14
|
-
this.__attachShadow();
|
|
15
|
-
}
|
|
16
|
-
get el() { return this; }
|
|
17
|
-
/**
|
|
18
|
-
* The semantic variant/type of text element
|
|
19
|
-
* @allowedValues p | h1 | h2 | h3 | h4 | h5 | h6 | code | quote | label | small
|
|
20
|
-
*/
|
|
21
|
-
variant = 'p';
|
|
22
|
-
/**
|
|
23
|
-
* Text alignment
|
|
24
|
-
* @allowedValues left | center | right | justify
|
|
25
|
-
*/
|
|
26
|
-
align = 'left';
|
|
27
|
-
/**
|
|
28
|
-
* Text color (CSS value or theme token)
|
|
29
|
-
*/
|
|
30
|
-
color;
|
|
31
|
-
/**
|
|
32
|
-
* Whether the text should truncate with ellipsis
|
|
33
|
-
*/
|
|
34
|
-
truncate = false;
|
|
35
|
-
/**
|
|
36
|
-
* Maximum number of lines before truncating (requires truncate=true)
|
|
37
|
-
*/
|
|
38
|
-
maxLines;
|
|
39
|
-
/**
|
|
40
|
-
* Internal state to track admin mode
|
|
41
|
-
*/
|
|
42
|
-
adminMode = false;
|
|
43
|
-
/**
|
|
44
|
-
* The HTML content being edited
|
|
45
|
-
*/
|
|
46
|
-
content = '';
|
|
47
|
-
/**
|
|
48
|
-
* Whether the editor is focused (shows toolbar)
|
|
49
|
-
*/
|
|
50
|
-
isFocused = false;
|
|
51
|
-
/**
|
|
52
|
-
* Current selection state for toolbar button highlighting
|
|
53
|
-
*/
|
|
54
|
-
selectionState = {
|
|
55
|
-
isBold: false,
|
|
56
|
-
isItalic: false,
|
|
57
|
-
isUnderline: false,
|
|
58
|
-
isStrikethrough: false,
|
|
59
|
-
isLink: false,
|
|
60
|
-
blockType: 'p',
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Reference to the contenteditable element
|
|
64
|
-
*/
|
|
65
|
-
editorRef;
|
|
66
|
-
/**
|
|
67
|
-
* Reference to the slot element
|
|
68
|
-
*/
|
|
69
|
-
slotRef;
|
|
70
|
-
disconnectModeObserver;
|
|
71
|
-
connectedCallback() {
|
|
72
|
-
this.disconnectModeObserver = observeModeChanges(this.el, (mode) => {
|
|
73
|
-
const wasAdmin = this.adminMode;
|
|
74
|
-
this.adminMode = mode === 'admin';
|
|
75
|
-
if (this.adminMode && !wasAdmin) {
|
|
76
|
-
// Entering admin mode - read content from slot
|
|
77
|
-
requestAnimationFrame(() => this.readSlottedContent());
|
|
78
|
-
}
|
|
79
|
-
else if (!this.adminMode && wasAdmin) {
|
|
80
|
-
// Leaving admin mode - sync content back to slot
|
|
81
|
-
this.syncContentToSlot();
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
disconnectedCallback() {
|
|
86
|
-
this.disconnectModeObserver?.();
|
|
87
|
-
}
|
|
88
|
-
onVariantChange() {
|
|
89
|
-
// When variant changes in admin mode, update the content wrapper
|
|
90
|
-
if (this.adminMode && this.editorRef) {
|
|
91
|
-
this.syncContentToSlot();
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Read content from slotted elements
|
|
96
|
-
*/
|
|
97
|
-
readSlottedContent() {
|
|
98
|
-
if (!this.slotRef)
|
|
99
|
-
return;
|
|
100
|
-
const assignedNodes = this.slotRef.assignedNodes({ flatten: true });
|
|
101
|
-
// Collect all content from assigned nodes
|
|
102
|
-
let html = '';
|
|
103
|
-
assignedNodes.forEach(node => {
|
|
104
|
-
if (node.nodeType === Node.TEXT_NODE) {
|
|
105
|
-
html += node.textContent;
|
|
106
|
-
}
|
|
107
|
-
else if (node.nodeType === Node.ELEMENT_NODE) {
|
|
108
|
-
html += node.innerHTML || node.textContent;
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
this.content = html.trim();
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Sync edited content back to the slot
|
|
115
|
-
*/
|
|
116
|
-
syncContentToSlot() {
|
|
117
|
-
if (!this.editorRef)
|
|
118
|
-
return;
|
|
119
|
-
const newContent = this.editorRef.innerHTML;
|
|
120
|
-
// Update the light DOM content
|
|
121
|
-
// We need to update the actual slotted content
|
|
122
|
-
const slot = this.slotRef;
|
|
123
|
-
if (slot) {
|
|
124
|
-
const assignedNodes = slot.assignedNodes({ flatten: true });
|
|
125
|
-
if (assignedNodes.length > 0) {
|
|
126
|
-
const firstNode = assignedNodes[0];
|
|
127
|
-
if (firstNode.nodeType === Node.ELEMENT_NODE) {
|
|
128
|
-
firstNode.innerHTML = newContent;
|
|
129
|
-
}
|
|
130
|
-
else if (firstNode.nodeType === Node.TEXT_NODE) {
|
|
131
|
-
// Replace text node with the new content
|
|
132
|
-
const parent = firstNode.parentNode;
|
|
133
|
-
if (parent) {
|
|
134
|
-
// Create a temporary element to parse HTML
|
|
135
|
-
const temp = document.createElement('span');
|
|
136
|
-
temp.innerHTML = newContent;
|
|
137
|
-
// Replace the text node
|
|
138
|
-
parent.replaceChild(temp, firstNode);
|
|
139
|
-
// Unwrap the span if it only contains text
|
|
140
|
-
if (temp.childNodes.length === 1 && temp.firstChild?.nodeType === Node.TEXT_NODE) {
|
|
141
|
-
parent.replaceChild(temp.firstChild, temp);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
// No assigned nodes, set innerHTML on the host's light DOM
|
|
148
|
-
this.el.innerHTML = newContent;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Handle input in the contenteditable
|
|
154
|
-
*/
|
|
155
|
-
handleInput = () => {
|
|
156
|
-
if (this.editorRef) {
|
|
157
|
-
this.content = this.editorRef.innerHTML;
|
|
158
|
-
this.updateSelectionState();
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
/**
|
|
162
|
-
* Handle focus on the editor
|
|
163
|
-
*/
|
|
164
|
-
handleFocus = () => {
|
|
165
|
-
this.isFocused = true;
|
|
166
|
-
this.updateSelectionState();
|
|
167
|
-
};
|
|
168
|
-
/**
|
|
169
|
-
* Handle blur on the editor
|
|
170
|
-
*/
|
|
171
|
-
handleBlur = (e) => {
|
|
172
|
-
// Check if focus moved to toolbar
|
|
173
|
-
const relatedTarget = e.relatedTarget;
|
|
174
|
-
const toolbar = this.el.shadowRoot?.querySelector('.le-text-toolbar');
|
|
175
|
-
if (toolbar?.contains(relatedTarget)) {
|
|
176
|
-
// Focus moved to toolbar, keep it open
|
|
177
|
-
return;
|
|
178
|
-
}
|
|
179
|
-
// Small delay to allow toolbar clicks to register
|
|
180
|
-
setTimeout(() => {
|
|
181
|
-
if (!this.el.shadowRoot?.activeElement) {
|
|
182
|
-
this.isFocused = false;
|
|
183
|
-
this.syncContentToSlot();
|
|
184
|
-
}
|
|
185
|
-
}, 150);
|
|
186
|
-
};
|
|
187
|
-
/**
|
|
188
|
-
* Handle selection change to update toolbar state
|
|
189
|
-
*/
|
|
190
|
-
handleSelectionChange = () => {
|
|
191
|
-
this.updateSelectionState();
|
|
192
|
-
};
|
|
193
|
-
/**
|
|
194
|
-
* Update the selection state for toolbar highlighting
|
|
195
|
-
*/
|
|
196
|
-
updateSelectionState() {
|
|
197
|
-
const selection = window.getSelection();
|
|
198
|
-
if (!selection || selection.rangeCount === 0)
|
|
199
|
-
return;
|
|
200
|
-
this.selectionState = {
|
|
201
|
-
isBold: document.queryCommandState('bold'),
|
|
202
|
-
isItalic: document.queryCommandState('italic'),
|
|
203
|
-
isUnderline: document.queryCommandState('underline'),
|
|
204
|
-
isStrikethrough: document.queryCommandState('strikeThrough'),
|
|
205
|
-
isLink: this.isSelectionInLink(selection),
|
|
206
|
-
blockType: this.variant,
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* Check if current selection is within a link
|
|
211
|
-
*/
|
|
212
|
-
isSelectionInLink(selection) {
|
|
213
|
-
if (!selection.anchorNode)
|
|
214
|
-
return false;
|
|
215
|
-
let node = selection.anchorNode;
|
|
216
|
-
while (node && node !== this.editorRef) {
|
|
217
|
-
if (node.nodeName === 'A')
|
|
218
|
-
return true;
|
|
219
|
-
node = node.parentNode;
|
|
220
|
-
}
|
|
221
|
-
return false;
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* Execute a formatting command
|
|
225
|
-
*/
|
|
226
|
-
execCommand(command, value) {
|
|
227
|
-
// Focus the editor first
|
|
228
|
-
this.editorRef?.focus();
|
|
229
|
-
// Execute the command
|
|
230
|
-
document.execCommand(command, false, value);
|
|
231
|
-
// Update state
|
|
232
|
-
this.handleInput();
|
|
233
|
-
this.updateSelectionState();
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* Toggle bold formatting
|
|
237
|
-
*/
|
|
238
|
-
toggleBold = (e) => {
|
|
239
|
-
e.preventDefault();
|
|
240
|
-
this.execCommand('bold');
|
|
241
|
-
};
|
|
242
|
-
/**
|
|
243
|
-
* Toggle italic formatting
|
|
244
|
-
*/
|
|
245
|
-
toggleItalic = (e) => {
|
|
246
|
-
e.preventDefault();
|
|
247
|
-
this.execCommand('italic');
|
|
248
|
-
};
|
|
249
|
-
/**
|
|
250
|
-
* Toggle underline formatting
|
|
251
|
-
*/
|
|
252
|
-
toggleUnderline = (e) => {
|
|
253
|
-
e.preventDefault();
|
|
254
|
-
this.execCommand('underline');
|
|
255
|
-
};
|
|
256
|
-
/**
|
|
257
|
-
* Toggle strikethrough formatting
|
|
258
|
-
*/
|
|
259
|
-
toggleStrikethrough = (e) => {
|
|
260
|
-
e.preventDefault();
|
|
261
|
-
this.execCommand('strikeThrough');
|
|
262
|
-
};
|
|
263
|
-
/**
|
|
264
|
-
* Add or edit a link
|
|
265
|
-
*/
|
|
266
|
-
toggleLink = (e) => {
|
|
267
|
-
e.preventDefault();
|
|
268
|
-
if (this.selectionState.isLink) {
|
|
269
|
-
// Remove link
|
|
270
|
-
this.execCommand('unlink');
|
|
271
|
-
}
|
|
272
|
-
else {
|
|
273
|
-
// Add link
|
|
274
|
-
const url = prompt('Enter URL:', 'https://');
|
|
275
|
-
if (url) {
|
|
276
|
-
this.execCommand('createLink', url);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
};
|
|
280
|
-
/**
|
|
281
|
-
* Change the block type/variant
|
|
282
|
-
*/
|
|
283
|
-
changeVariant = (e) => {
|
|
284
|
-
const select = e.target;
|
|
285
|
-
this.variant = select.value;
|
|
286
|
-
};
|
|
287
|
-
/**
|
|
288
|
-
* Render the formatting toolbar
|
|
289
|
-
*/
|
|
290
|
-
renderToolbar() {
|
|
291
|
-
return (h("div", { class: "le-text-toolbar" }, h("select", { class: "le-text-toolbar-select", onChange: this.changeVariant, onMouseDown: (e) => e.preventDefault() }, h("option", { value: "p", selected: this.variant === 'p' }, "Paragraph"), h("option", { value: "h1", selected: this.variant === 'h1' }, "Heading 1"), h("option", { value: "h2", selected: this.variant === 'h2' }, "Heading 2"), h("option", { value: "h3", selected: this.variant === 'h3' }, "Heading 3"), h("option", { value: "h4", selected: this.variant === 'h4' }, "Heading 4"), h("option", { value: "h5", selected: this.variant === 'h5' }, "Heading 5"), h("option", { value: "h6", selected: this.variant === 'h6' }, "Heading 6"), h("option", { value: "quote", selected: this.variant === 'quote' }, "Quote"), h("option", { value: "code", selected: this.variant === 'code' }, "Code"), h("option", { value: "label", selected: this.variant === 'label' }, "Label"), h("option", { value: "small", selected: this.variant === 'small' }, "Small")), h("div", { class: "le-text-toolbar-divider" }), h("button", { type: "button", class: { 'le-text-toolbar-btn': true, 'active': this.selectionState.isBold }, onMouseDown: this.toggleBold, title: "Bold (Ctrl+B)" }, h("strong", null, "B")), h("button", { type: "button", class: { 'le-text-toolbar-btn': true, 'active': this.selectionState.isItalic }, onMouseDown: this.toggleItalic, title: "Italic (Ctrl+I)" }, h("em", null, "I")), h("button", { type: "button", class: { 'le-text-toolbar-btn': true, 'active': this.selectionState.isUnderline }, onMouseDown: this.toggleUnderline, title: "Underline (Ctrl+U)" }, h("span", { style: { textDecoration: 'underline' } }, "U")), h("button", { type: "button", class: { 'le-text-toolbar-btn': true, 'active': this.selectionState.isStrikethrough }, onMouseDown: this.toggleStrikethrough, title: "Strikethrough" }, h("span", { style: { textDecoration: 'line-through' } }, "S")), h("div", { class: "le-text-toolbar-divider" }), h("button", { type: "button", class: { 'le-text-toolbar-btn': true, 'active': this.selectionState.isLink }, onMouseDown: this.toggleLink, title: this.selectionState.isLink ? 'Remove link' : 'Add link' }, "\uD83D\uDD17")));
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
* Get the semantic tag for the current variant
|
|
295
|
-
*/
|
|
296
|
-
getTag() {
|
|
297
|
-
switch (this.variant) {
|
|
298
|
-
case 'quote':
|
|
299
|
-
return 'blockquote';
|
|
300
|
-
case 'code':
|
|
301
|
-
return 'pre';
|
|
302
|
-
case 'label':
|
|
303
|
-
return 'label';
|
|
304
|
-
case 'small':
|
|
305
|
-
return 'small';
|
|
306
|
-
default:
|
|
307
|
-
return this.variant; // h1-h6, p
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
render() {
|
|
311
|
-
const Tag = this.getTag();
|
|
312
|
-
const textStyle = {};
|
|
313
|
-
if (this.color) {
|
|
314
|
-
textStyle.color = this.color;
|
|
315
|
-
}
|
|
316
|
-
if (this.align) {
|
|
317
|
-
textStyle.textAlign = this.align;
|
|
318
|
-
}
|
|
319
|
-
const textClass = {
|
|
320
|
-
'le-text': true,
|
|
321
|
-
[`variant-${this.variant}`]: true,
|
|
322
|
-
'truncate': this.truncate,
|
|
323
|
-
[`max-lines-${this.maxLines}`]: this.truncate && this.maxLines,
|
|
324
|
-
};
|
|
325
|
-
// Admin mode - show rich text editor
|
|
326
|
-
if (this.adminMode) {
|
|
327
|
-
return (h(Host, { class: "admin-mode" }, h("le-component", { component: "le-text" }, h("div", { class: "le-text-editor-wrapper" }, this.isFocused && this.renderToolbar(), h(Tag, { class: textClass, part: "text", style: textStyle }, h("div", { ref: (el) => this.editorRef = el, class: "le-text-editor", contentEditable: true, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyUp: this.handleSelectionChange, onMouseUp: this.handleSelectionChange, innerHTML: this.content })), h("div", { class: "hidden-slot" }, h("slot", { ref: (el) => this.slotRef = el, onSlotchange: () => this.readSlottedContent() }))))));
|
|
328
|
-
}
|
|
329
|
-
// Default mode - render semantic element with slotted content
|
|
330
|
-
return (h(Host, null, h(Tag, { class: textClass, part: "text", style: textStyle }, h("slot", { ref: (el) => this.slotRef = el }))));
|
|
331
|
-
}
|
|
332
|
-
static get watchers() { return {
|
|
333
|
-
"variant": ["onVariantChange"]
|
|
334
|
-
}; }
|
|
335
|
-
static get style() { return leTextDefaultCss; }
|
|
336
|
-
}, [769, "le-text", {
|
|
337
|
-
"variant": [1537],
|
|
338
|
-
"align": [513],
|
|
339
|
-
"color": [1],
|
|
340
|
-
"truncate": [4],
|
|
341
|
-
"maxLines": [2, "max-lines"],
|
|
342
|
-
"adminMode": [32],
|
|
343
|
-
"content": [32],
|
|
344
|
-
"isFocused": [32],
|
|
345
|
-
"selectionState": [32]
|
|
346
|
-
}, undefined, {
|
|
347
|
-
"variant": ["onVariantChange"]
|
|
348
|
-
}]);
|
|
349
|
-
function defineCustomElement$1() {
|
|
350
|
-
if (typeof customElements === "undefined") {
|
|
351
|
-
return;
|
|
352
|
-
}
|
|
353
|
-
const components = ["le-text", "le-button", "le-checkbox", "le-component", "le-popover", "le-slot", "le-string-input"];
|
|
354
|
-
components.forEach(tagName => { switch (tagName) {
|
|
355
|
-
case "le-text":
|
|
356
|
-
if (!customElements.get(tagName)) {
|
|
357
|
-
customElements.define(tagName, LeText$1);
|
|
358
|
-
}
|
|
359
|
-
break;
|
|
360
|
-
case "le-button":
|
|
361
|
-
if (!customElements.get(tagName)) {
|
|
362
|
-
defineCustomElement$7();
|
|
363
|
-
}
|
|
364
|
-
break;
|
|
365
|
-
case "le-checkbox":
|
|
366
|
-
if (!customElements.get(tagName)) {
|
|
367
|
-
defineCustomElement$6();
|
|
368
|
-
}
|
|
369
|
-
break;
|
|
370
|
-
case "le-component":
|
|
371
|
-
if (!customElements.get(tagName)) {
|
|
372
|
-
defineCustomElement$5();
|
|
373
|
-
}
|
|
374
|
-
break;
|
|
375
|
-
case "le-popover":
|
|
376
|
-
if (!customElements.get(tagName)) {
|
|
377
|
-
defineCustomElement$4();
|
|
378
|
-
}
|
|
379
|
-
break;
|
|
380
|
-
case "le-slot":
|
|
381
|
-
if (!customElements.get(tagName)) {
|
|
382
|
-
defineCustomElement$3();
|
|
383
|
-
}
|
|
384
|
-
break;
|
|
385
|
-
case "le-string-input":
|
|
386
|
-
if (!customElements.get(tagName)) {
|
|
387
|
-
defineCustomElement$2();
|
|
388
|
-
}
|
|
389
|
-
break;
|
|
390
|
-
} });
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
const LeText = LeText$1;
|
|
394
|
-
const defineCustomElement = defineCustomElement$1;
|
|
395
|
-
|
|
396
|
-
export { LeText, defineCustomElement };
|
|
397
|
-
//# sourceMappingURL=le-text.js.map
|
|
398
|
-
|
|
399
|
-
//# sourceMappingURL=le-text.js.map
|