@ismail-elkorchi/ui-primitives 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +231 -24
- package/dist/custom-elements.json +7202 -0
- package/dist/index.d.ts +28 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -4
- package/dist/index.js.map +1 -1
- package/dist/register.d.ts +26 -4
- package/dist/register.d.ts.map +1 -1
- package/dist/register.js +26 -4
- package/dist/register.js.map +1 -1
- package/dist/src/atomic/content/uik-badge/element.d.ts +7 -0
- package/dist/src/atomic/content/uik-badge/element.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-badge/element.js +30 -0
- package/dist/src/atomic/content/uik-badge/element.js.map +1 -0
- package/dist/src/atomic/content/uik-badge/index.d.ts +2 -0
- package/dist/src/atomic/content/uik-badge/index.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-badge/index.js +2 -0
- package/dist/src/atomic/content/uik-badge/index.js.map +1 -0
- package/dist/src/atomic/content/uik-badge/styles.d.ts +2 -0
- package/dist/src/atomic/content/uik-badge/styles.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-badge/styles.js +61 -0
- package/dist/src/atomic/content/uik-badge/styles.js.map +1 -0
- package/dist/src/atomic/content/uik-heading/element.d.ts +9 -0
- package/dist/src/atomic/content/uik-heading/element.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-heading/element.js +77 -0
- package/dist/src/atomic/content/uik-heading/element.js.map +1 -0
- package/dist/src/atomic/content/uik-heading/index.d.ts +2 -0
- package/dist/src/atomic/content/uik-heading/index.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-heading/index.js +2 -0
- package/dist/src/atomic/content/uik-heading/index.js.map +1 -0
- package/dist/src/atomic/content/uik-heading/styles.d.ts +2 -0
- package/dist/src/atomic/content/uik-heading/styles.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-heading/styles.js +70 -0
- package/dist/src/atomic/content/uik-heading/styles.js.map +1 -0
- package/dist/src/atomic/content/uik-icon/element.d.ts +10 -0
- package/dist/src/atomic/content/uik-icon/element.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-icon/element.js +54 -0
- package/dist/src/atomic/content/uik-icon/element.js.map +1 -0
- package/dist/src/atomic/content/uik-icon/index.d.ts +2 -0
- package/dist/src/atomic/content/uik-icon/index.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-icon/index.js +2 -0
- package/dist/src/atomic/content/uik-icon/index.js.map +1 -0
- package/dist/src/atomic/content/uik-icon/styles.d.ts +2 -0
- package/dist/src/atomic/content/uik-icon/styles.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-icon/styles.js +62 -0
- package/dist/src/atomic/content/uik-icon/styles.js.map +1 -0
- package/dist/src/atomic/content/uik-text/element.d.ts +11 -0
- package/dist/src/atomic/content/uik-text/element.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-text/element.js +76 -0
- package/dist/src/atomic/content/uik-text/element.js.map +1 -0
- package/dist/src/atomic/content/uik-text/index.d.ts +2 -0
- package/dist/src/atomic/content/uik-text/index.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-text/index.js +2 -0
- package/dist/src/atomic/content/uik-text/index.js.map +1 -0
- package/dist/src/atomic/content/uik-text/styles.d.ts +2 -0
- package/dist/src/atomic/content/uik-text/styles.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-text/styles.js +73 -0
- package/dist/src/atomic/content/uik-text/styles.js.map +1 -0
- package/dist/src/atomic/content/uik-visually-hidden/element.d.ts +6 -0
- package/dist/src/atomic/content/uik-visually-hidden/element.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-visually-hidden/element.js +22 -0
- package/dist/src/atomic/content/uik-visually-hidden/element.js.map +1 -0
- package/dist/src/atomic/content/uik-visually-hidden/index.d.ts +2 -0
- package/dist/src/atomic/content/uik-visually-hidden/index.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-visually-hidden/index.js +2 -0
- package/dist/src/atomic/content/uik-visually-hidden/index.js.map +1 -0
- package/dist/src/atomic/content/uik-visually-hidden/styles.d.ts +2 -0
- package/dist/src/atomic/content/uik-visually-hidden/styles.d.ts.map +1 -0
- package/dist/src/atomic/content/uik-visually-hidden/styles.js +19 -0
- package/dist/src/atomic/content/uik-visually-hidden/styles.js.map +1 -0
- package/dist/src/atomic/control/uik-button/element.d.ts +22 -0
- package/dist/src/atomic/control/uik-button/element.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-button/element.js +120 -0
- package/dist/src/atomic/control/uik-button/element.js.map +1 -0
- package/dist/src/atomic/control/uik-button/index.d.ts +2 -0
- package/dist/src/atomic/control/uik-button/index.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-button/index.js +2 -0
- package/dist/src/atomic/control/uik-button/index.js.map +1 -0
- package/dist/src/atomic/control/uik-button/styles.d.ts +2 -0
- package/dist/src/atomic/control/uik-button/styles.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-button/styles.js +180 -0
- package/dist/src/atomic/control/uik-button/styles.js.map +1 -0
- package/dist/src/atomic/control/uik-checkbox/element.d.ts +36 -0
- package/dist/src/atomic/control/uik-checkbox/element.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-checkbox/element.js +212 -0
- package/dist/src/atomic/control/uik-checkbox/element.js.map +1 -0
- package/dist/src/atomic/control/uik-checkbox/index.d.ts +2 -0
- package/dist/src/atomic/control/uik-checkbox/index.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-checkbox/index.js +2 -0
- package/dist/src/atomic/control/uik-checkbox/index.js.map +1 -0
- package/dist/src/atomic/control/uik-checkbox/styles.d.ts +2 -0
- package/dist/src/atomic/control/uik-checkbox/styles.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-checkbox/styles.js +66 -0
- package/dist/src/atomic/control/uik-checkbox/styles.js.map +1 -0
- package/dist/src/atomic/control/uik-input/element.d.ts +38 -0
- package/dist/src/atomic/control/uik-input/element.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-input/element.js +232 -0
- package/dist/src/atomic/control/uik-input/element.js.map +1 -0
- package/dist/src/atomic/control/uik-input/index.d.ts +2 -0
- package/dist/src/atomic/control/uik-input/index.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-input/index.js +2 -0
- package/dist/src/atomic/control/uik-input/index.js.map +1 -0
- package/dist/src/atomic/control/uik-input/styles.d.ts +2 -0
- package/dist/src/atomic/control/uik-input/styles.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-input/styles.js +87 -0
- package/dist/src/atomic/control/uik-input/styles.js.map +1 -0
- package/dist/src/atomic/control/uik-link/element.d.ts +13 -0
- package/dist/src/atomic/control/uik-link/element.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-link/element.js +75 -0
- package/dist/src/atomic/control/uik-link/element.js.map +1 -0
- package/dist/src/atomic/control/uik-link/index.d.ts +2 -0
- package/dist/src/atomic/control/uik-link/index.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-link/index.js +2 -0
- package/dist/src/atomic/control/uik-link/index.js.map +1 -0
- package/dist/src/atomic/control/uik-link/styles.d.ts +2 -0
- package/dist/src/atomic/control/uik-link/styles.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-link/styles.js +43 -0
- package/dist/src/atomic/control/uik-link/styles.js.map +1 -0
- package/dist/src/atomic/control/uik-radio/element.d.ts +37 -0
- package/dist/src/atomic/control/uik-radio/element.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-radio/element.js +215 -0
- package/dist/src/atomic/control/uik-radio/element.js.map +1 -0
- package/dist/src/atomic/control/uik-radio/index.d.ts +2 -0
- package/dist/src/atomic/control/uik-radio/index.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-radio/index.js +2 -0
- package/dist/src/atomic/control/uik-radio/index.js.map +1 -0
- package/dist/src/atomic/control/uik-radio/styles.d.ts +2 -0
- package/dist/src/atomic/control/uik-radio/styles.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-radio/styles.js +66 -0
- package/dist/src/atomic/control/uik-radio/styles.js.map +1 -0
- package/dist/src/atomic/control/uik-select/element.d.ts +38 -0
- package/dist/src/atomic/control/uik-select/element.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-select/element.js +220 -0
- package/dist/src/atomic/control/uik-select/element.js.map +1 -0
- package/dist/src/atomic/control/uik-select/index.d.ts +2 -0
- package/dist/src/atomic/control/uik-select/index.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-select/index.js +2 -0
- package/dist/src/atomic/control/uik-select/index.js.map +1 -0
- package/dist/src/atomic/control/uik-select/styles.d.ts +2 -0
- package/dist/src/atomic/control/uik-select/styles.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-select/styles.js +86 -0
- package/dist/src/atomic/control/uik-select/styles.js.map +1 -0
- package/dist/src/atomic/control/uik-switch/element.d.ts +33 -0
- package/dist/src/atomic/control/uik-switch/element.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-switch/element.js +197 -0
- package/dist/src/atomic/control/uik-switch/element.js.map +1 -0
- package/dist/src/atomic/control/uik-switch/index.d.ts +2 -0
- package/dist/src/atomic/control/uik-switch/index.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-switch/index.js +2 -0
- package/dist/src/atomic/control/uik-switch/index.js.map +1 -0
- package/dist/src/atomic/control/uik-switch/styles.d.ts +2 -0
- package/dist/src/atomic/control/uik-switch/styles.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-switch/styles.js +102 -0
- package/dist/src/atomic/control/uik-switch/styles.js.map +1 -0
- package/dist/src/atomic/control/uik-textarea/element.d.ts +37 -0
- package/dist/src/atomic/control/uik-textarea/element.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-textarea/element.js +207 -0
- package/dist/src/atomic/control/uik-textarea/element.js.map +1 -0
- package/dist/src/atomic/control/uik-textarea/index.d.ts +2 -0
- package/dist/src/atomic/control/uik-textarea/index.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-textarea/index.js +2 -0
- package/dist/src/atomic/control/uik-textarea/index.js.map +1 -0
- package/dist/src/atomic/control/uik-textarea/styles.d.ts +2 -0
- package/dist/src/atomic/control/uik-textarea/styles.d.ts.map +1 -0
- package/dist/src/atomic/control/uik-textarea/styles.js +96 -0
- package/dist/src/atomic/control/uik-textarea/styles.js.map +1 -0
- package/dist/src/atomic/feedback/uik-alert/element.d.ts +8 -0
- package/dist/src/atomic/feedback/uik-alert/element.d.ts.map +1 -0
- package/dist/src/atomic/feedback/uik-alert/element.js +40 -0
- package/dist/src/atomic/feedback/uik-alert/element.js.map +1 -0
- package/dist/src/atomic/feedback/uik-alert/index.d.ts +2 -0
- package/dist/src/atomic/feedback/uik-alert/index.d.ts.map +1 -0
- package/dist/src/atomic/feedback/uik-alert/index.js +2 -0
- package/dist/src/atomic/feedback/uik-alert/index.js.map +1 -0
- package/dist/src/atomic/feedback/uik-alert/styles.d.ts +2 -0
- package/dist/src/atomic/feedback/uik-alert/styles.d.ts.map +1 -0
- package/dist/src/atomic/feedback/uik-alert/styles.js +53 -0
- package/dist/src/atomic/feedback/uik-alert/styles.js.map +1 -0
- package/dist/src/atomic/feedback/uik-progress/element.d.ts +11 -0
- package/dist/src/atomic/feedback/uik-progress/element.d.ts.map +1 -0
- package/dist/src/atomic/feedback/uik-progress/element.js +59 -0
- package/dist/src/atomic/feedback/uik-progress/element.js.map +1 -0
- package/dist/src/atomic/feedback/uik-progress/index.d.ts +2 -0
- package/dist/src/atomic/feedback/uik-progress/index.d.ts.map +1 -0
- package/dist/src/atomic/feedback/uik-progress/index.js +2 -0
- package/dist/src/atomic/feedback/uik-progress/index.js.map +1 -0
- package/dist/src/atomic/feedback/uik-progress/styles.d.ts +2 -0
- package/dist/src/atomic/feedback/uik-progress/styles.d.ts.map +1 -0
- package/dist/src/atomic/feedback/uik-progress/styles.js +32 -0
- package/dist/src/atomic/feedback/uik-progress/styles.js.map +1 -0
- package/dist/src/atomic/feedback/uik-spinner/element.d.ts +8 -0
- package/dist/src/atomic/feedback/uik-spinner/element.d.ts.map +1 -0
- package/dist/src/atomic/feedback/uik-spinner/element.js +34 -0
- package/dist/src/atomic/feedback/uik-spinner/element.js.map +1 -0
- package/dist/src/atomic/feedback/uik-spinner/index.d.ts +2 -0
- package/dist/src/atomic/feedback/uik-spinner/index.d.ts.map +1 -0
- package/dist/src/atomic/feedback/uik-spinner/index.js +2 -0
- package/dist/src/atomic/feedback/uik-spinner/index.js.map +1 -0
- package/dist/src/atomic/feedback/uik-spinner/styles.d.ts +2 -0
- package/dist/src/atomic/feedback/uik-spinner/styles.d.ts.map +1 -0
- package/dist/src/atomic/feedback/uik-spinner/styles.js +62 -0
- package/dist/src/atomic/feedback/uik-spinner/styles.js.map +1 -0
- package/dist/src/atomic/layout/uik-box/element.d.ts +8 -0
- package/dist/src/atomic/layout/uik-box/element.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-box/element.js +36 -0
- package/dist/src/atomic/layout/uik-box/element.js.map +1 -0
- package/dist/src/atomic/layout/uik-box/index.d.ts +2 -0
- package/dist/src/atomic/layout/uik-box/index.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-box/index.js +2 -0
- package/dist/src/atomic/layout/uik-box/index.js.map +1 -0
- package/dist/src/atomic/layout/uik-box/styles.d.ts +2 -0
- package/dist/src/atomic/layout/uik-box/styles.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-box/styles.js +44 -0
- package/dist/src/atomic/layout/uik-box/styles.js.map +1 -0
- package/dist/src/atomic/layout/uik-separator/element.d.ts +7 -0
- package/dist/src/atomic/layout/uik-separator/element.d.ts.map +1 -0
- package/dist/{Separator.js → src/atomic/layout/uik-separator/element.js} +14 -29
- package/dist/src/atomic/layout/uik-separator/element.js.map +1 -0
- package/dist/src/atomic/layout/uik-separator/index.d.ts +2 -0
- package/dist/src/atomic/layout/uik-separator/index.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-separator/index.js +2 -0
- package/dist/src/atomic/layout/uik-separator/index.js.map +1 -0
- package/dist/src/atomic/layout/uik-separator/styles.d.ts +2 -0
- package/dist/src/atomic/layout/uik-separator/styles.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-separator/styles.js +25 -0
- package/dist/src/atomic/layout/uik-separator/styles.js.map +1 -0
- package/dist/src/atomic/layout/uik-stack/element.d.ts +10 -0
- package/dist/src/atomic/layout/uik-stack/element.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-stack/element.js +48 -0
- package/dist/src/atomic/layout/uik-stack/element.js.map +1 -0
- package/dist/src/atomic/layout/uik-stack/index.d.ts +2 -0
- package/dist/src/atomic/layout/uik-stack/index.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-stack/index.js +2 -0
- package/dist/src/atomic/layout/uik-stack/index.js.map +1 -0
- package/dist/src/atomic/layout/uik-stack/styles.d.ts +2 -0
- package/dist/src/atomic/layout/uik-stack/styles.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-stack/styles.js +71 -0
- package/dist/src/atomic/layout/uik-stack/styles.js.map +1 -0
- package/dist/src/atomic/layout/uik-surface/element.d.ts +8 -0
- package/dist/src/atomic/layout/uik-surface/element.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-surface/element.js +36 -0
- package/dist/src/atomic/layout/uik-surface/element.js.map +1 -0
- package/dist/src/atomic/layout/uik-surface/index.d.ts +2 -0
- package/dist/src/atomic/layout/uik-surface/index.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-surface/index.js +2 -0
- package/dist/src/atomic/layout/uik-surface/index.js.map +1 -0
- package/dist/src/atomic/layout/uik-surface/styles.d.ts +2 -0
- package/dist/src/atomic/layout/uik-surface/styles.d.ts.map +1 -0
- package/dist/src/atomic/layout/uik-surface/styles.js +40 -0
- package/dist/src/atomic/layout/uik-surface/styles.js.map +1 -0
- package/dist/src/atomic/overlay/uik-dialog/element.d.ts +23 -0
- package/dist/src/atomic/overlay/uik-dialog/element.d.ts.map +1 -0
- package/dist/src/atomic/overlay/uik-dialog/element.js +135 -0
- package/dist/src/atomic/overlay/uik-dialog/element.js.map +1 -0
- package/dist/src/atomic/overlay/uik-dialog/index.d.ts +2 -0
- package/dist/src/atomic/overlay/uik-dialog/index.d.ts.map +1 -0
- package/dist/src/atomic/overlay/uik-dialog/index.js +2 -0
- package/dist/src/atomic/overlay/uik-dialog/index.js.map +1 -0
- package/dist/src/atomic/overlay/uik-dialog/styles.d.ts +2 -0
- package/dist/src/atomic/overlay/uik-dialog/styles.d.ts.map +1 -0
- package/dist/src/atomic/overlay/uik-dialog/styles.js +50 -0
- package/dist/src/atomic/overlay/uik-dialog/styles.js.map +1 -0
- package/dist/src/atomic/overlay/uik-popover/element.d.ts +40 -0
- package/dist/src/atomic/overlay/uik-popover/element.d.ts.map +1 -0
- package/dist/src/atomic/overlay/uik-popover/element.js +232 -0
- package/dist/src/atomic/overlay/uik-popover/element.js.map +1 -0
- package/dist/src/atomic/overlay/uik-popover/index.d.ts +2 -0
- package/dist/src/atomic/overlay/uik-popover/index.d.ts.map +1 -0
- package/dist/src/atomic/overlay/uik-popover/index.js +2 -0
- package/dist/src/atomic/overlay/uik-popover/index.js.map +1 -0
- package/dist/src/atomic/overlay/uik-popover/styles.d.ts +3 -0
- package/dist/src/atomic/overlay/uik-popover/styles.d.ts.map +1 -0
- package/dist/src/atomic/overlay/uik-popover/styles.js +56 -0
- package/dist/src/atomic/overlay/uik-popover/styles.js.map +1 -0
- package/dist/src/composed/collection/uik-nav/element.d.ts +41 -0
- package/dist/src/composed/collection/uik-nav/element.d.ts.map +1 -0
- package/dist/src/composed/collection/uik-nav/element.js +192 -0
- package/dist/src/composed/collection/uik-nav/element.js.map +1 -0
- package/dist/src/composed/collection/uik-nav/index.d.ts +3 -0
- package/dist/src/composed/collection/uik-nav/index.d.ts.map +1 -0
- package/dist/src/composed/collection/uik-nav/index.js +2 -0
- package/dist/src/composed/collection/uik-nav/index.js.map +1 -0
- package/dist/src/composed/collection/uik-nav/styles.d.ts +2 -0
- package/dist/src/composed/collection/uik-nav/styles.d.ts.map +1 -0
- package/dist/src/composed/collection/uik-nav/styles.js +113 -0
- package/dist/src/composed/collection/uik-nav/styles.js.map +1 -0
- package/dist/src/composed/collection/uik-radio-group/element.d.ts +38 -0
- package/dist/src/composed/collection/uik-radio-group/element.d.ts.map +1 -0
- package/dist/src/composed/collection/uik-radio-group/element.js +257 -0
- package/dist/src/composed/collection/uik-radio-group/element.js.map +1 -0
- package/dist/src/composed/collection/uik-radio-group/index.d.ts +2 -0
- package/dist/src/composed/collection/uik-radio-group/index.d.ts.map +1 -0
- package/dist/src/composed/collection/uik-radio-group/index.js +2 -0
- package/dist/src/composed/collection/uik-radio-group/index.js.map +1 -0
- package/dist/src/composed/collection/uik-radio-group/styles.d.ts +2 -0
- package/dist/src/composed/collection/uik-radio-group/styles.d.ts.map +1 -0
- package/dist/src/composed/collection/uik-radio-group/styles.js +46 -0
- package/dist/src/composed/collection/uik-radio-group/styles.js.map +1 -0
- package/dist/src/composed/collection/uik-tree-view/element.d.ts +54 -0
- package/dist/src/composed/collection/uik-tree-view/element.d.ts.map +1 -0
- package/dist/src/composed/collection/uik-tree-view/element.js +364 -0
- package/dist/src/composed/collection/uik-tree-view/element.js.map +1 -0
- package/dist/src/composed/collection/uik-tree-view/index.d.ts +3 -0
- package/dist/src/composed/collection/uik-tree-view/index.d.ts.map +1 -0
- package/dist/src/composed/collection/uik-tree-view/index.js +2 -0
- package/dist/src/composed/collection/uik-tree-view/index.js.map +1 -0
- package/dist/src/composed/collection/uik-tree-view/styles.d.ts +2 -0
- package/dist/src/composed/collection/uik-tree-view/styles.d.ts.map +1 -0
- package/dist/src/composed/collection/uik-tree-view/styles.js +121 -0
- package/dist/src/composed/collection/uik-tree-view/styles.js.map +1 -0
- package/dist/src/composed/overlay/uik-tooltip/element.d.ts +38 -0
- package/dist/src/composed/overlay/uik-tooltip/element.d.ts.map +1 -0
- package/dist/src/composed/overlay/uik-tooltip/element.js +229 -0
- package/dist/src/composed/overlay/uik-tooltip/element.js.map +1 -0
- package/dist/src/composed/overlay/uik-tooltip/index.d.ts +2 -0
- package/dist/src/composed/overlay/uik-tooltip/index.d.ts.map +1 -0
- package/dist/src/composed/overlay/uik-tooltip/index.js +2 -0
- package/dist/src/composed/overlay/uik-tooltip/index.js.map +1 -0
- package/dist/src/composed/overlay/uik-tooltip/styles.d.ts +3 -0
- package/dist/src/composed/overlay/uik-tooltip/styles.d.ts.map +1 -0
- package/dist/src/composed/overlay/uik-tooltip/styles.js +19 -0
- package/dist/src/composed/overlay/uik-tooltip/styles.js.map +1 -0
- package/dist/src/internal/collection/index.d.ts +3 -0
- package/dist/src/internal/collection/index.d.ts.map +1 -0
- package/dist/src/internal/collection/index.js +2 -0
- package/dist/src/internal/collection/index.js.map +1 -0
- package/dist/src/internal/collection/tree.d.ts +29 -0
- package/dist/src/internal/collection/tree.d.ts.map +1 -0
- package/dist/src/internal/collection/tree.js +92 -0
- package/dist/src/internal/collection/tree.js.map +1 -0
- package/dist/src/internal/dom/id.d.ts +2 -0
- package/dist/src/internal/dom/id.d.ts.map +1 -0
- package/dist/src/internal/dom/id.js +6 -0
- package/dist/src/internal/dom/id.js.map +1 -0
- package/dist/src/internal/dom/index.d.ts +2 -0
- package/dist/src/internal/dom/index.d.ts.map +1 -0
- package/dist/src/internal/dom/index.js +2 -0
- package/dist/src/internal/dom/index.js.map +1 -0
- package/dist/src/internal/index.d.ts +5 -0
- package/dist/src/internal/index.d.ts.map +1 -0
- package/dist/src/internal/index.js +4 -0
- package/dist/src/internal/index.js.map +1 -0
- package/dist/src/internal/overlay/dismiss.d.ts +7 -0
- package/dist/src/internal/overlay/dismiss.d.ts.map +1 -0
- package/dist/src/internal/overlay/dismiss.js +32 -0
- package/dist/src/internal/overlay/dismiss.js.map +1 -0
- package/dist/src/internal/overlay/positioning.d.ts +4 -0
- package/dist/src/internal/overlay/positioning.d.ts.map +1 -0
- package/dist/src/internal/overlay/positioning.js +16 -0
- package/dist/src/internal/overlay/positioning.js.map +1 -0
- package/dist/src/internal/slots/index.d.ts +2 -0
- package/dist/src/internal/slots/index.d.ts.map +1 -0
- package/dist/src/internal/slots/index.js +2 -0
- package/dist/src/internal/slots/index.js.map +1 -0
- package/dist/src/internal/slots/slots.d.ts +3 -0
- package/dist/src/internal/slots/slots.d.ts.map +1 -0
- package/dist/src/internal/slots/slots.js +16 -0
- package/dist/src/internal/slots/slots.js.map +1 -0
- package/package.json +148 -24
- package/dist/Badge.d.ts +0 -7
- package/dist/Badge.d.ts.map +0 -1
- package/dist/Badge.js +0 -69
- package/dist/Badge.js.map +0 -1
- package/dist/Button.d.ts +0 -12
- package/dist/Button.d.ts.map +0 -1
- package/dist/Button.js +0 -205
- package/dist/Button.js.map +0 -1
- package/dist/Input.d.ts +0 -14
- package/dist/Input.d.ts.map +0 -1
- package/dist/Input.js +0 -110
- package/dist/Input.js.map +0 -1
- package/dist/Separator.d.ts +0 -7
- package/dist/Separator.d.ts.map +0 -1
- package/dist/Separator.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ismail-elkorchi/ui-primitives",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Shadow DOM UI primitives built with Lit and driven by shared tokens.",
|
|
5
5
|
"author": "Ismail El Korchi",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"keywords": [
|
|
9
|
-
|
|
8
|
+
"keywords": [
|
|
9
|
+
"lit",
|
|
10
|
+
"web-components",
|
|
11
|
+
"ui",
|
|
12
|
+
"shadow-dom",
|
|
13
|
+
"primitives"
|
|
14
|
+
],
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=20.11"
|
|
17
|
+
},
|
|
10
18
|
"main": "./dist/index.js",
|
|
11
19
|
"module": "./dist/index.js",
|
|
12
20
|
"types": "./dist/index.d.ts",
|
|
21
|
+
"customElements": "dist/custom-elements.json",
|
|
13
22
|
"exports": {
|
|
14
23
|
".": {
|
|
15
24
|
"types": "./dist/index.d.ts",
|
|
@@ -26,25 +35,135 @@
|
|
|
26
35
|
"import": "./dist/register.js",
|
|
27
36
|
"default": "./dist/register.js"
|
|
28
37
|
},
|
|
29
|
-
"./
|
|
30
|
-
"types": "./dist/
|
|
31
|
-
"import": "./dist/
|
|
32
|
-
"default": "./dist/
|
|
33
|
-
},
|
|
34
|
-
"./
|
|
35
|
-
"types": "./dist/
|
|
36
|
-
"import": "./dist/
|
|
37
|
-
"default": "./dist/
|
|
38
|
-
},
|
|
39
|
-
"./
|
|
40
|
-
"types": "./dist/
|
|
41
|
-
"import": "./dist/
|
|
42
|
-
"default": "./dist/
|
|
43
|
-
},
|
|
44
|
-
"./
|
|
45
|
-
"types": "./dist/
|
|
46
|
-
"import": "./dist/
|
|
47
|
-
"default": "./dist/
|
|
38
|
+
"./uik-alert": {
|
|
39
|
+
"types": "./dist/src/atomic/feedback/uik-alert/index.d.ts",
|
|
40
|
+
"import": "./dist/src/atomic/feedback/uik-alert/index.js",
|
|
41
|
+
"default": "./dist/src/atomic/feedback/uik-alert/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./uik-box": {
|
|
44
|
+
"types": "./dist/src/atomic/layout/uik-box/index.d.ts",
|
|
45
|
+
"import": "./dist/src/atomic/layout/uik-box/index.js",
|
|
46
|
+
"default": "./dist/src/atomic/layout/uik-box/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./uik-button": {
|
|
49
|
+
"types": "./dist/src/atomic/control/uik-button/index.d.ts",
|
|
50
|
+
"import": "./dist/src/atomic/control/uik-button/index.js",
|
|
51
|
+
"default": "./dist/src/atomic/control/uik-button/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./uik-badge": {
|
|
54
|
+
"types": "./dist/src/atomic/content/uik-badge/index.d.ts",
|
|
55
|
+
"import": "./dist/src/atomic/content/uik-badge/index.js",
|
|
56
|
+
"default": "./dist/src/atomic/content/uik-badge/index.js"
|
|
57
|
+
},
|
|
58
|
+
"./uik-checkbox": {
|
|
59
|
+
"types": "./dist/src/atomic/control/uik-checkbox/index.d.ts",
|
|
60
|
+
"import": "./dist/src/atomic/control/uik-checkbox/index.js",
|
|
61
|
+
"default": "./dist/src/atomic/control/uik-checkbox/index.js"
|
|
62
|
+
},
|
|
63
|
+
"./uik-dialog": {
|
|
64
|
+
"types": "./dist/src/atomic/overlay/uik-dialog/index.d.ts",
|
|
65
|
+
"import": "./dist/src/atomic/overlay/uik-dialog/index.js",
|
|
66
|
+
"default": "./dist/src/atomic/overlay/uik-dialog/index.js"
|
|
67
|
+
},
|
|
68
|
+
"./uik-heading": {
|
|
69
|
+
"types": "./dist/src/atomic/content/uik-heading/index.d.ts",
|
|
70
|
+
"import": "./dist/src/atomic/content/uik-heading/index.js",
|
|
71
|
+
"default": "./dist/src/atomic/content/uik-heading/index.js"
|
|
72
|
+
},
|
|
73
|
+
"./uik-icon": {
|
|
74
|
+
"types": "./dist/src/atomic/content/uik-icon/index.d.ts",
|
|
75
|
+
"import": "./dist/src/atomic/content/uik-icon/index.js",
|
|
76
|
+
"default": "./dist/src/atomic/content/uik-icon/index.js"
|
|
77
|
+
},
|
|
78
|
+
"./uik-input": {
|
|
79
|
+
"types": "./dist/src/atomic/control/uik-input/index.d.ts",
|
|
80
|
+
"import": "./dist/src/atomic/control/uik-input/index.js",
|
|
81
|
+
"default": "./dist/src/atomic/control/uik-input/index.js"
|
|
82
|
+
},
|
|
83
|
+
"./uik-link": {
|
|
84
|
+
"types": "./dist/src/atomic/control/uik-link/index.d.ts",
|
|
85
|
+
"import": "./dist/src/atomic/control/uik-link/index.js",
|
|
86
|
+
"default": "./dist/src/atomic/control/uik-link/index.js"
|
|
87
|
+
},
|
|
88
|
+
"./uik-popover": {
|
|
89
|
+
"types": "./dist/src/atomic/overlay/uik-popover/index.d.ts",
|
|
90
|
+
"import": "./dist/src/atomic/overlay/uik-popover/index.js",
|
|
91
|
+
"default": "./dist/src/atomic/overlay/uik-popover/index.js"
|
|
92
|
+
},
|
|
93
|
+
"./uik-nav": {
|
|
94
|
+
"types": "./dist/src/composed/collection/uik-nav/index.d.ts",
|
|
95
|
+
"import": "./dist/src/composed/collection/uik-nav/index.js",
|
|
96
|
+
"default": "./dist/src/composed/collection/uik-nav/index.js"
|
|
97
|
+
},
|
|
98
|
+
"./uik-tree-view": {
|
|
99
|
+
"types": "./dist/src/composed/collection/uik-tree-view/index.d.ts",
|
|
100
|
+
"import": "./dist/src/composed/collection/uik-tree-view/index.js",
|
|
101
|
+
"default": "./dist/src/composed/collection/uik-tree-view/index.js"
|
|
102
|
+
},
|
|
103
|
+
"./uik-progress": {
|
|
104
|
+
"types": "./dist/src/atomic/feedback/uik-progress/index.d.ts",
|
|
105
|
+
"import": "./dist/src/atomic/feedback/uik-progress/index.js",
|
|
106
|
+
"default": "./dist/src/atomic/feedback/uik-progress/index.js"
|
|
107
|
+
},
|
|
108
|
+
"./uik-radio": {
|
|
109
|
+
"types": "./dist/src/atomic/control/uik-radio/index.d.ts",
|
|
110
|
+
"import": "./dist/src/atomic/control/uik-radio/index.js",
|
|
111
|
+
"default": "./dist/src/atomic/control/uik-radio/index.js"
|
|
112
|
+
},
|
|
113
|
+
"./uik-radio-group": {
|
|
114
|
+
"types": "./dist/src/composed/collection/uik-radio-group/index.d.ts",
|
|
115
|
+
"import": "./dist/src/composed/collection/uik-radio-group/index.js",
|
|
116
|
+
"default": "./dist/src/composed/collection/uik-radio-group/index.js"
|
|
117
|
+
},
|
|
118
|
+
"./uik-separator": {
|
|
119
|
+
"types": "./dist/src/atomic/layout/uik-separator/index.d.ts",
|
|
120
|
+
"import": "./dist/src/atomic/layout/uik-separator/index.js",
|
|
121
|
+
"default": "./dist/src/atomic/layout/uik-separator/index.js"
|
|
122
|
+
},
|
|
123
|
+
"./uik-select": {
|
|
124
|
+
"types": "./dist/src/atomic/control/uik-select/index.d.ts",
|
|
125
|
+
"import": "./dist/src/atomic/control/uik-select/index.js",
|
|
126
|
+
"default": "./dist/src/atomic/control/uik-select/index.js"
|
|
127
|
+
},
|
|
128
|
+
"./uik-spinner": {
|
|
129
|
+
"types": "./dist/src/atomic/feedback/uik-spinner/index.d.ts",
|
|
130
|
+
"import": "./dist/src/atomic/feedback/uik-spinner/index.js",
|
|
131
|
+
"default": "./dist/src/atomic/feedback/uik-spinner/index.js"
|
|
132
|
+
},
|
|
133
|
+
"./uik-stack": {
|
|
134
|
+
"types": "./dist/src/atomic/layout/uik-stack/index.d.ts",
|
|
135
|
+
"import": "./dist/src/atomic/layout/uik-stack/index.js",
|
|
136
|
+
"default": "./dist/src/atomic/layout/uik-stack/index.js"
|
|
137
|
+
},
|
|
138
|
+
"./uik-surface": {
|
|
139
|
+
"types": "./dist/src/atomic/layout/uik-surface/index.d.ts",
|
|
140
|
+
"import": "./dist/src/atomic/layout/uik-surface/index.js",
|
|
141
|
+
"default": "./dist/src/atomic/layout/uik-surface/index.js"
|
|
142
|
+
},
|
|
143
|
+
"./uik-switch": {
|
|
144
|
+
"types": "./dist/src/atomic/control/uik-switch/index.d.ts",
|
|
145
|
+
"import": "./dist/src/atomic/control/uik-switch/index.js",
|
|
146
|
+
"default": "./dist/src/atomic/control/uik-switch/index.js"
|
|
147
|
+
},
|
|
148
|
+
"./uik-text": {
|
|
149
|
+
"types": "./dist/src/atomic/content/uik-text/index.d.ts",
|
|
150
|
+
"import": "./dist/src/atomic/content/uik-text/index.js",
|
|
151
|
+
"default": "./dist/src/atomic/content/uik-text/index.js"
|
|
152
|
+
},
|
|
153
|
+
"./uik-textarea": {
|
|
154
|
+
"types": "./dist/src/atomic/control/uik-textarea/index.d.ts",
|
|
155
|
+
"import": "./dist/src/atomic/control/uik-textarea/index.js",
|
|
156
|
+
"default": "./dist/src/atomic/control/uik-textarea/index.js"
|
|
157
|
+
},
|
|
158
|
+
"./uik-tooltip": {
|
|
159
|
+
"types": "./dist/src/composed/overlay/uik-tooltip/index.d.ts",
|
|
160
|
+
"import": "./dist/src/composed/overlay/uik-tooltip/index.js",
|
|
161
|
+
"default": "./dist/src/composed/overlay/uik-tooltip/index.js"
|
|
162
|
+
},
|
|
163
|
+
"./uik-visually-hidden": {
|
|
164
|
+
"types": "./dist/src/atomic/content/uik-visually-hidden/index.d.ts",
|
|
165
|
+
"import": "./dist/src/atomic/content/uik-visually-hidden/index.js",
|
|
166
|
+
"default": "./dist/src/atomic/content/uik-visually-hidden/index.js"
|
|
48
167
|
}
|
|
49
168
|
},
|
|
50
169
|
"sideEffects": [
|
|
@@ -55,10 +174,14 @@
|
|
|
55
174
|
"README.md"
|
|
56
175
|
],
|
|
57
176
|
"scripts": {
|
|
58
|
-
"build": "npm run clean && tsc -p tsconfig.build.json",
|
|
177
|
+
"build": "npm run clean && tsc -p tsconfig.build.json && npm run cem",
|
|
59
178
|
"clean": "node -e \"const fs = require('fs'); fs.rmSync('dist', {recursive: true, force: true}); fs.rmSync('.tsbuildinfo', {force: true});\"",
|
|
179
|
+
"cem": "cem analyze --config ./custom-elements-manifest.config.cjs --litelement",
|
|
180
|
+
"lint": "eslint . --max-warnings=0 && npm run check:layering",
|
|
181
|
+
"test": "npm run build && vitest --run --project browser --dir .",
|
|
60
182
|
"typecheck": "tsc -p tsconfig.build.json --noEmit",
|
|
61
|
-
"prepack": "npm run build"
|
|
183
|
+
"prepack": "npm run build",
|
|
184
|
+
"check:layering": "node tools/check-layering.mjs"
|
|
62
185
|
},
|
|
63
186
|
"repository": {
|
|
64
187
|
"type": "git",
|
|
@@ -70,6 +193,7 @@
|
|
|
70
193
|
},
|
|
71
194
|
"homepage": "https://github.com/Ismail-elkorchi/ui-kit",
|
|
72
195
|
"dependencies": {
|
|
196
|
+
"@ismail-elkorchi/ui-tokens": "^0.1.1",
|
|
73
197
|
"lit": "^3.1.0"
|
|
74
198
|
},
|
|
75
199
|
"publishConfig": {
|
package/dist/Badge.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class Badge extends LitElement {
|
|
3
|
-
accessor variant: 'default' | 'secondary' | 'destructive' | 'outline';
|
|
4
|
-
static styles: import("lit").CSSResult;
|
|
5
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=Badge.d.ts.map
|
package/dist/Badge.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../Badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAY,MAAM,KAAK,CAAC;AAG1C,qBACa,KAAM,SAAQ,UAAU;IACT,QAAQ,CAAC,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,GAAG,SAAS,CAAa;IAE5G,OAAgB,MAAM,0BAwCpB;IAEO,MAAM;CAOhB"}
|
package/dist/Badge.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html, css } from 'lit';
|
|
8
|
-
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
-
let Badge = class Badge extends LitElement {
|
|
10
|
-
#variant_accessor_storage = 'default';
|
|
11
|
-
get variant() { return this.#variant_accessor_storage; }
|
|
12
|
-
set variant(value) { this.#variant_accessor_storage = value; }
|
|
13
|
-
static styles = css `
|
|
14
|
-
:host {
|
|
15
|
-
display: inline-flex;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.badge {
|
|
19
|
-
display: inline-flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
border-radius: 0.375rem;
|
|
22
|
-
border: 1px solid transparent;
|
|
23
|
-
padding: 0.125rem 0.625rem;
|
|
24
|
-
font-size: 0.75rem;
|
|
25
|
-
font-weight: 600;
|
|
26
|
-
transition:
|
|
27
|
-
color 0.15s,
|
|
28
|
-
background-color 0.15s;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.variant-default {
|
|
32
|
-
background-color: hsl(var(--primary, 0 0% 98%));
|
|
33
|
-
color: hsl(var(--primary-foreground, 240 5.9% 10%));
|
|
34
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.variant-secondary {
|
|
38
|
-
background-color: hsl(var(--secondary, 240 3.7% 15.9%));
|
|
39
|
-
color: hsl(var(--secondary-foreground, 0 0% 98%));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.variant-destructive {
|
|
43
|
-
background-color: hsl(var(--destructive, 0 62.8% 30.6%));
|
|
44
|
-
color: hsl(var(--destructive-foreground, 0 0% 98%));
|
|
45
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.variant-outline {
|
|
49
|
-
background-color: transparent;
|
|
50
|
-
border-color: hsl(var(--border, 240 3.7% 15.9%));
|
|
51
|
-
color: hsl(var(--foreground, 0 0% 98%));
|
|
52
|
-
}
|
|
53
|
-
`;
|
|
54
|
-
render() {
|
|
55
|
-
return html `
|
|
56
|
-
<div part="base" class="badge variant-${this.variant}">
|
|
57
|
-
<slot></slot>
|
|
58
|
-
</div>
|
|
59
|
-
`;
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
__decorate([
|
|
63
|
-
property({ type: String })
|
|
64
|
-
], Badge.prototype, "variant", null);
|
|
65
|
-
Badge = __decorate([
|
|
66
|
-
customElement('uik-badge')
|
|
67
|
-
], Badge);
|
|
68
|
-
export { Badge };
|
|
69
|
-
//# sourceMappingURL=Badge.js.map
|
package/dist/Badge.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.js","sourceRoot":"","sources":["../Badge.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,GAAG,EAAC,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAGnD,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,UAAU;IACA,4BAA+D,SAAS,CAAC;IAAzE,IAAA,OAAO,6CAAkE;IAAzE,IAAA,OAAO,mDAAkE;IAE5G,MAAM,CAAU,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwC3B,CAAC;IAEO,MAAM;QACb,OAAO,IAAI,CAAA;8CAC+B,IAAI,CAAC,OAAO;;;KAGrD,CAAC;IACJ,CAAC;;AAlDkC;IAAlC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;oCAAmF;AADjG,KAAK;IADjB,aAAa,CAAC,WAAW,CAAC;GACd,KAAK,CAoDjB"}
|
package/dist/Button.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class Button extends LitElement {
|
|
3
|
-
accessor variant: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
|
|
4
|
-
accessor size: 'default' | 'sm' | 'lg' | 'icon';
|
|
5
|
-
accessor type: 'button' | 'submit' | 'reset';
|
|
6
|
-
accessor disabled: boolean;
|
|
7
|
-
accessor active: boolean;
|
|
8
|
-
accessor muted: boolean;
|
|
9
|
-
static styles: import("lit").CSSResult;
|
|
10
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=Button.d.ts.map
|
package/dist/Button.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../Button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAY,MAAM,KAAK,CAAC;AAG1C,qBACa,MAAO,SAAQ,UAAU;IACK,QAAQ,CAAC,OAAO,EACrD,SAAS,GACT,aAAa,GACb,SAAS,GACT,WAAW,GACX,OAAO,GACP,MAAM,CAAa;IACkB,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAa;IAC3E,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAY;IACvD,QAAQ,CAAC,QAAQ,UAAS;IACX,QAAQ,CAAC,MAAM,UAAS;IACxB,QAAQ,CAAC,KAAK,UAAS;IAEjE,OAAgB,MAAM,0BAwIpB;IAEO,MAAM;CAiBhB"}
|
package/dist/Button.js
DELETED
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html, css } from 'lit';
|
|
8
|
-
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
-
let Button = class Button extends LitElement {
|
|
10
|
-
#variant_accessor_storage = 'default';
|
|
11
|
-
get variant() { return this.#variant_accessor_storage; }
|
|
12
|
-
set variant(value) { this.#variant_accessor_storage = value; }
|
|
13
|
-
#size_accessor_storage = 'default';
|
|
14
|
-
get size() { return this.#size_accessor_storage; }
|
|
15
|
-
set size(value) { this.#size_accessor_storage = value; }
|
|
16
|
-
#type_accessor_storage = 'button';
|
|
17
|
-
get type() { return this.#type_accessor_storage; }
|
|
18
|
-
set type(value) { this.#type_accessor_storage = value; }
|
|
19
|
-
#disabled_accessor_storage = false;
|
|
20
|
-
get disabled() { return this.#disabled_accessor_storage; }
|
|
21
|
-
set disabled(value) { this.#disabled_accessor_storage = value; }
|
|
22
|
-
#active_accessor_storage = false;
|
|
23
|
-
get active() { return this.#active_accessor_storage; }
|
|
24
|
-
set active(value) { this.#active_accessor_storage = value; }
|
|
25
|
-
#muted_accessor_storage = false;
|
|
26
|
-
get muted() { return this.#muted_accessor_storage; }
|
|
27
|
-
set muted(value) { this.#muted_accessor_storage = value; }
|
|
28
|
-
static styles = css `
|
|
29
|
-
:host {
|
|
30
|
-
display: inline-flex;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* Size variants on host */
|
|
34
|
-
:host([size='default']) {
|
|
35
|
-
height: 2.25rem;
|
|
36
|
-
}
|
|
37
|
-
:host([size='sm']) {
|
|
38
|
-
height: 2rem;
|
|
39
|
-
}
|
|
40
|
-
:host([size='lg']) {
|
|
41
|
-
height: 2.5rem;
|
|
42
|
-
}
|
|
43
|
-
:host([size='icon']) {
|
|
44
|
-
height: 2.25rem;
|
|
45
|
-
width: 2.25rem;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
button {
|
|
49
|
-
display: inline-flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
width: 100%;
|
|
53
|
-
height: 100%;
|
|
54
|
-
gap: 0.5rem;
|
|
55
|
-
white-space: nowrap;
|
|
56
|
-
border-radius: 0.375rem;
|
|
57
|
-
font-size: 0.875rem;
|
|
58
|
-
font-weight: 500;
|
|
59
|
-
transition:
|
|
60
|
-
color 0.15s,
|
|
61
|
-
background-color 0.15s;
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
border: none;
|
|
64
|
-
padding: 0;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/* Padding applied to internal button based on size prop of host (mirrored via class or just explicit here)
|
|
68
|
-
Actually, to keep it simple, we can use the classes on the button as before for padding,
|
|
69
|
-
but height/width are now 100% to fill host.
|
|
70
|
-
*/
|
|
71
|
-
.size-default {
|
|
72
|
-
padding: 0.5rem 1rem;
|
|
73
|
-
}
|
|
74
|
-
.size-sm {
|
|
75
|
-
padding: 0.25rem 0.75rem;
|
|
76
|
-
font-size: 0.75rem;
|
|
77
|
-
}
|
|
78
|
-
.size-lg {
|
|
79
|
-
padding: 0.5rem 2rem;
|
|
80
|
-
}
|
|
81
|
-
.size-icon {
|
|
82
|
-
padding: 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
button:focus-visible {
|
|
86
|
-
outline: none;
|
|
87
|
-
box-shadow: 0 0 0 1px hsl(var(--ring, 240 4.9% 83.9%));
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
button:disabled {
|
|
91
|
-
pointer-events: none;
|
|
92
|
-
opacity: 0.5;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/* Color variants using CSS variables */
|
|
96
|
-
.variant-default {
|
|
97
|
-
background-color: hsl(var(--primary, 0 0% 98%));
|
|
98
|
-
color: hsl(var(--primary-foreground, 240 5.9% 10%));
|
|
99
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
100
|
-
}
|
|
101
|
-
.variant-default:hover {
|
|
102
|
-
background-color: hsl(var(--primary, 0 0% 98%) / 0.9);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.variant-destructive {
|
|
106
|
-
background-color: hsl(var(--destructive, 0 62.8% 30.6%));
|
|
107
|
-
color: hsl(var(--destructive-foreground, 0 0% 98%));
|
|
108
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
109
|
-
}
|
|
110
|
-
.variant-destructive:hover {
|
|
111
|
-
background-color: hsl(var(--destructive, 0 62.8% 30.6%) / 0.9);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.variant-outline {
|
|
115
|
-
background-color: transparent;
|
|
116
|
-
border: 1px solid hsl(var(--border, 240 3.7% 15.9%));
|
|
117
|
-
color: hsl(var(--foreground, 0 0% 98%));
|
|
118
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
119
|
-
}
|
|
120
|
-
.variant-outline:hover {
|
|
121
|
-
background-color: hsl(var(--accent, 240 3.7% 15.9%));
|
|
122
|
-
color: hsl(var(--accent-foreground, 0 0% 98%));
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.variant-secondary {
|
|
126
|
-
background-color: hsl(var(--secondary, 240 3.7% 15.9%));
|
|
127
|
-
color: hsl(var(--secondary-foreground, 0 0% 98%));
|
|
128
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
129
|
-
}
|
|
130
|
-
.variant-secondary:hover {
|
|
131
|
-
background-color: hsl(var(--secondary, 240 3.7% 15.9%) / 0.8);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.variant-ghost {
|
|
135
|
-
background-color: transparent;
|
|
136
|
-
color: hsl(var(--foreground, 0 0% 98%));
|
|
137
|
-
}
|
|
138
|
-
.variant-ghost:hover {
|
|
139
|
-
background-color: hsl(var(--accent, 240 3.7% 15.9%));
|
|
140
|
-
color: hsl(var(--accent-foreground, 0 0% 98%));
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
/* Active/Muted States for Ghost (and others if needed) */
|
|
144
|
-
:host([muted]) .variant-ghost {
|
|
145
|
-
color: hsl(var(--muted-foreground, 240 5% 64.9%));
|
|
146
|
-
}
|
|
147
|
-
:host([muted]) .variant-ghost:hover {
|
|
148
|
-
color: hsl(var(--foreground, 0 0% 98%));
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
:host([active]) .variant-ghost {
|
|
152
|
-
background-color: hsl(var(--accent, 240 3.7% 15.9%));
|
|
153
|
-
color: hsl(var(--accent-foreground, 0 0% 98%));
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.variant-link {
|
|
157
|
-
background-color: transparent;
|
|
158
|
-
color: hsl(var(--primary, 0 0% 98%));
|
|
159
|
-
text-decoration-offset: 4px;
|
|
160
|
-
}
|
|
161
|
-
.variant-link:hover {
|
|
162
|
-
text-decoration: underline;
|
|
163
|
-
}
|
|
164
|
-
`;
|
|
165
|
-
render() {
|
|
166
|
-
return html `
|
|
167
|
-
<button
|
|
168
|
-
part="base"
|
|
169
|
-
class="variant-${this.variant} size-${this.size}"
|
|
170
|
-
type="${this.type}"
|
|
171
|
-
?disabled=${this.disabled}
|
|
172
|
-
@click=${(e) => {
|
|
173
|
-
if (this.disabled) {
|
|
174
|
-
e.preventDefault();
|
|
175
|
-
e.stopPropagation();
|
|
176
|
-
}
|
|
177
|
-
}}>
|
|
178
|
-
<slot></slot>
|
|
179
|
-
</button>
|
|
180
|
-
`;
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
__decorate([
|
|
184
|
-
property({ type: String, reflect: true })
|
|
185
|
-
], Button.prototype, "variant", null);
|
|
186
|
-
__decorate([
|
|
187
|
-
property({ type: String, reflect: true })
|
|
188
|
-
], Button.prototype, "size", null);
|
|
189
|
-
__decorate([
|
|
190
|
-
property({ type: String })
|
|
191
|
-
], Button.prototype, "type", null);
|
|
192
|
-
__decorate([
|
|
193
|
-
property({ type: Boolean })
|
|
194
|
-
], Button.prototype, "disabled", null);
|
|
195
|
-
__decorate([
|
|
196
|
-
property({ type: Boolean, reflect: true })
|
|
197
|
-
], Button.prototype, "active", null);
|
|
198
|
-
__decorate([
|
|
199
|
-
property({ type: Boolean, reflect: true })
|
|
200
|
-
], Button.prototype, "muted", null);
|
|
201
|
-
Button = __decorate([
|
|
202
|
-
customElement('uik-button')
|
|
203
|
-
], Button);
|
|
204
|
-
export { Button };
|
|
205
|
-
//# sourceMappingURL=Button.js.map
|
package/dist/Button.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../Button.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,GAAG,EAAC,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAGnD,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,UAAU;IACc,4BAMrC,SAAS,CAAC;IAN2B,IAAA,OAAO,6CAMlC;IAN2B,IAAA,OAAO,mDAMlC;IAC2B,yBAAyC,SAAS,CAAC;IAAnD,IAAA,IAAI,0CAA+C;IAAnD,IAAA,IAAI,gDAA+C;IAClE,yBAAsC,QAAQ,CAAC;IAA/C,IAAA,IAAI,0CAA2C;IAA/C,IAAA,IAAI,gDAA2C;IAC9C,6BAAW,KAAK,CAAC;IAAjB,IAAA,QAAQ,8CAAS;IAAjB,IAAA,QAAQ,oDAAS;IACF,2BAAS,KAAK,CAAC;IAAf,IAAA,MAAM,4CAAS;IAAf,IAAA,MAAM,kDAAS;IACf,0BAAQ,KAAK,CAAC;IAAd,IAAA,KAAK,2CAAS;IAAd,IAAA,KAAK,iDAAS;IAEjE,MAAM,CAAU,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwI3B,CAAC;IAEO,MAAM;QACb,OAAO,IAAI,CAAA;;;yBAGU,IAAI,CAAC,OAAO,SAAS,IAAI,CAAC,IAAI;gBACvC,IAAI,CAAC,IAAI;oBACL,IAAI,CAAC,QAAQ;iBAChB,CAAC,CAAQ,EAAE,EAAE;YACpB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,CAAC,CAAC,eAAe,EAAE,CAAC;YACtB,CAAC;QACH,CAAC;;;KAGJ,CAAC;IACJ,CAAC;;AAvKiD;IAAjD,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;qCAMjB;AAC2B;IAAjD,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;kCAA6D;AAClE;IAAlC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;kCAAyD;AAC9C;IAAnC,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAC,CAAC;sCAA2B;AACF;IAAlD,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;oCAAyB;AACf;IAAlD,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;mCAAwB;AAZtD,MAAM;IADlB,aAAa,CAAC,YAAY,CAAC;GACf,MAAM,CAyKlB"}
|
package/dist/Input.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class Input extends LitElement {
|
|
3
|
-
accessor type: string;
|
|
4
|
-
accessor placeholder: string;
|
|
5
|
-
accessor value: string;
|
|
6
|
-
accessor disabled: boolean;
|
|
7
|
-
accessor label: string;
|
|
8
|
-
static styles: import("lit").CSSResult;
|
|
9
|
-
private emitValue;
|
|
10
|
-
private onChange;
|
|
11
|
-
private onInput;
|
|
12
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=Input.d.ts.map
|
package/dist/Input.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../Input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAY,MAAM,KAAK,CAAC;AAK1C,qBACa,KAAM,SAAQ,UAAU;IACT,QAAQ,CAAC,IAAI,SAAU;IACvB,QAAQ,CAAC,WAAW,SAAM;IAC1B,QAAQ,CAAC,KAAK,SAAM;IACnB,QAAQ,CAAC,QAAQ,UAAS;IAC3B,QAAQ,CAAC,KAAK,SAAM;IAE9C,OAAgB,MAAM,0BAoCpB;IAEF,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,QAAQ,CAKd;IAEF,OAAO,CAAC,OAAO,CAKb;IAEO,MAAM;CAahB"}
|
package/dist/Input.js
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html, css } from 'lit';
|
|
8
|
-
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
-
let Input = class Input extends LitElement {
|
|
10
|
-
#type_accessor_storage = 'text';
|
|
11
|
-
get type() { return this.#type_accessor_storage; }
|
|
12
|
-
set type(value) { this.#type_accessor_storage = value; }
|
|
13
|
-
#placeholder_accessor_storage = '';
|
|
14
|
-
get placeholder() { return this.#placeholder_accessor_storage; }
|
|
15
|
-
set placeholder(value) { this.#placeholder_accessor_storage = value; }
|
|
16
|
-
#value_accessor_storage = '';
|
|
17
|
-
get value() { return this.#value_accessor_storage; }
|
|
18
|
-
set value(value) { this.#value_accessor_storage = value; }
|
|
19
|
-
#disabled_accessor_storage = false;
|
|
20
|
-
get disabled() { return this.#disabled_accessor_storage; }
|
|
21
|
-
set disabled(value) { this.#disabled_accessor_storage = value; }
|
|
22
|
-
#label_accessor_storage = '';
|
|
23
|
-
get label() { return this.#label_accessor_storage; }
|
|
24
|
-
set label(value) { this.#label_accessor_storage = value; }
|
|
25
|
-
static styles = css `
|
|
26
|
-
:host {
|
|
27
|
-
display: block;
|
|
28
|
-
flex: 1;
|
|
29
|
-
min-width: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
input {
|
|
33
|
-
display: flex;
|
|
34
|
-
height: 2.25rem;
|
|
35
|
-
width: 100%;
|
|
36
|
-
border-radius: 0.375rem;
|
|
37
|
-
border: 1px solid hsl(var(--input, 240 3.7% 15.9%));
|
|
38
|
-
background-color: transparent;
|
|
39
|
-
padding: 0.25rem 0.75rem;
|
|
40
|
-
font-size: 0.875rem;
|
|
41
|
-
color: hsl(var(--foreground, 0 0% 98%));
|
|
42
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
43
|
-
transition:
|
|
44
|
-
border-color 0.15s,
|
|
45
|
-
box-shadow 0.15s;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
input::placeholder {
|
|
49
|
-
color: hsl(var(--muted-foreground, 240 5% 64.9%));
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
input:focus-visible {
|
|
53
|
-
outline: none;
|
|
54
|
-
box-shadow: 0 0 0 1px hsl(var(--ring, 240 4.9% 83.9%));
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
input:disabled {
|
|
58
|
-
cursor: not-allowed;
|
|
59
|
-
opacity: 0.5;
|
|
60
|
-
}
|
|
61
|
-
`;
|
|
62
|
-
emitValue(name, originalEvent) {
|
|
63
|
-
this.dispatchEvent(new CustomEvent(name, { detail: { value: this.value, originalEvent }, bubbles: true, composed: true }));
|
|
64
|
-
}
|
|
65
|
-
onChange = (e) => {
|
|
66
|
-
const input = e.target;
|
|
67
|
-
this.value = input.value;
|
|
68
|
-
e.stopPropagation();
|
|
69
|
-
this.emitValue('change', e);
|
|
70
|
-
};
|
|
71
|
-
onInput = (e) => {
|
|
72
|
-
const input = e.target;
|
|
73
|
-
this.value = input.value;
|
|
74
|
-
e.stopPropagation();
|
|
75
|
-
this.emitValue('input', e);
|
|
76
|
-
};
|
|
77
|
-
render() {
|
|
78
|
-
return html `
|
|
79
|
-
<input
|
|
80
|
-
part="base"
|
|
81
|
-
type="${this.type}"
|
|
82
|
-
aria-label="${this.label}"
|
|
83
|
-
placeholder="${this.placeholder}"
|
|
84
|
-
.value="${this.value}"
|
|
85
|
-
?disabled=${this.disabled}
|
|
86
|
-
@change=${this.onChange}
|
|
87
|
-
@input=${this.onInput} />
|
|
88
|
-
`;
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
__decorate([
|
|
92
|
-
property({ type: String })
|
|
93
|
-
], Input.prototype, "type", null);
|
|
94
|
-
__decorate([
|
|
95
|
-
property({ type: String })
|
|
96
|
-
], Input.prototype, "placeholder", null);
|
|
97
|
-
__decorate([
|
|
98
|
-
property({ type: String })
|
|
99
|
-
], Input.prototype, "value", null);
|
|
100
|
-
__decorate([
|
|
101
|
-
property({ type: Boolean })
|
|
102
|
-
], Input.prototype, "disabled", null);
|
|
103
|
-
__decorate([
|
|
104
|
-
property({ type: String })
|
|
105
|
-
], Input.prototype, "label", null);
|
|
106
|
-
Input = __decorate([
|
|
107
|
-
customElement('uik-input')
|
|
108
|
-
], Input);
|
|
109
|
-
export { Input };
|
|
110
|
-
//# sourceMappingURL=Input.js.map
|
package/dist/Input.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../Input.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,GAAG,EAAC,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAKnD,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,UAAU;IACA,yBAAO,MAAM,CAAC;IAAd,IAAA,IAAI,0CAAU;IAAd,IAAA,IAAI,gDAAU;IACd,gCAAc,EAAE,CAAC;IAAjB,IAAA,WAAW,iDAAM;IAAjB,IAAA,WAAW,uDAAM;IACjB,0BAAQ,EAAE,CAAC;IAAX,IAAA,KAAK,2CAAM;IAAX,IAAA,KAAK,iDAAM;IACV,6BAAW,KAAK,CAAC;IAAjB,IAAA,QAAQ,8CAAS;IAAjB,IAAA,QAAQ,oDAAS;IAClB,0BAAQ,EAAE,CAAC;IAAX,IAAA,KAAK,2CAAM;IAAX,IAAA,KAAK,iDAAM;IAE9C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoC3B,CAAC;IAEM,SAAS,CAAC,IAAoB,EAAE,aAAoB;QAC1D,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,IAAI,EAAE,EAAC,MAAM,EAAE,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,aAAa,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC,CACnG,CAAC;IACJ,CAAC;IAEO,QAAQ,GAAG,CAAC,CAAQ,EAAE,EAAE;QAC9B,MAAM,KAAK,GAAG,CAAC,CAAC,MAA0B,CAAC;QAC3C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;QACzB,CAAC,CAAC,eAAe,EAAE,CAAC;QACpB,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IAC9B,CAAC,CAAC;IAEM,OAAO,GAAG,CAAC,CAAQ,EAAE,EAAE;QAC7B,MAAM,KAAK,GAAG,CAAC,CAAC,MAA0B,CAAC;QAC3C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;QACzB,CAAC,CAAC,eAAe,EAAE,CAAC;QACpB,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEO,MAAM;QACb,OAAO,IAAI,CAAA;;;gBAGC,IAAI,CAAC,IAAI;sBACH,IAAI,CAAC,KAAK;uBACT,IAAI,CAAC,WAAW;kBACrB,IAAI,CAAC,KAAK;oBACR,IAAI,CAAC,QAAQ;kBACf,IAAI,CAAC,QAAQ;iBACd,IAAI,CAAC,OAAO;KACxB,CAAC;IACJ,CAAC;;AA5EkC;IAAlC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;iCAAwB;AACd;IAAlC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;wCAA2B;AACjB;IAAlC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;kCAAqB;AACV;IAAnC,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAC,CAAC;qCAA2B;AAClB;IAAlC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;kCAAqB;AALnC,KAAK;IADjB,aAAa,CAAC,WAAW,CAAC;GACd,KAAK,CA8EjB"}
|
package/dist/Separator.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class Separator extends LitElement {
|
|
3
|
-
accessor orientation: 'horizontal' | 'vertical';
|
|
4
|
-
static styles: import("lit").CSSResult;
|
|
5
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=Separator.d.ts.map
|