@eui/components-wc 0.0.0-stage → 22.0.0-alpha.51
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/eui-accordion/eui-wc-accordion.d.ts +44 -0
- package/eui-accordion/eui-wc-accordion.d.ts.map +1 -0
- package/eui-accordion/eui-wc-accordion.js +128 -0
- package/eui-accordion/eui-wc-accordion.js.map +1 -0
- package/eui-accordion/index.d.ts +2 -0
- package/eui-accordion/index.d.ts.map +1 -0
- package/eui-accordion/index.js +2 -0
- package/eui-accordion/index.js.map +1 -0
- package/eui-alert/eui-wc-alert.d.ts +35 -0
- package/eui-alert/eui-wc-alert.d.ts.map +1 -0
- package/eui-alert/eui-wc-alert.js +100 -0
- package/eui-alert/eui-wc-alert.js.map +1 -0
- package/eui-alert/index.d.ts +2 -0
- package/eui-alert/index.d.ts.map +1 -0
- package/eui-alert/index.js +2 -0
- package/eui-alert/index.js.map +1 -0
- package/eui-autocomplete/eui-wc-autocomplete.d.ts +26 -0
- package/eui-autocomplete/eui-wc-autocomplete.d.ts.map +1 -0
- package/eui-autocomplete/eui-wc-autocomplete.js +79 -0
- package/eui-autocomplete/eui-wc-autocomplete.js.map +1 -0
- package/eui-autocomplete/index.d.ts +2 -0
- package/eui-autocomplete/index.d.ts.map +1 -0
- package/eui-autocomplete/index.js +2 -0
- package/eui-autocomplete/index.js.map +1 -0
- package/eui-autocomplete-v2/eui-wc-autocomplete-v2.d.ts +33 -0
- package/eui-autocomplete-v2/eui-wc-autocomplete-v2.d.ts.map +1 -0
- package/eui-autocomplete-v2/eui-wc-autocomplete-v2.js +118 -0
- package/eui-autocomplete-v2/eui-wc-autocomplete-v2.js.map +1 -0
- package/eui-autocomplete-v2/index.d.ts +2 -0
- package/eui-autocomplete-v2/index.d.ts.map +1 -0
- package/eui-autocomplete-v2/index.js +2 -0
- package/eui-autocomplete-v2/index.js.map +1 -0
- package/eui-avatar/eui-wc-avatar.d.ts +31 -0
- package/eui-avatar/eui-wc-avatar.d.ts.map +1 -0
- package/eui-avatar/eui-wc-avatar.js +109 -0
- package/eui-avatar/eui-wc-avatar.js.map +1 -0
- package/eui-avatar/index.d.ts +2 -0
- package/eui-avatar/index.d.ts.map +1 -0
- package/eui-avatar/index.js +2 -0
- package/eui-avatar/index.js.map +1 -0
- package/eui-badge/eui-wc-badge.d.ts +46 -0
- package/eui-badge/eui-wc-badge.d.ts.map +1 -0
- package/eui-badge/eui-wc-badge.js +195 -0
- package/eui-badge/eui-wc-badge.js.map +1 -0
- package/eui-badge/index.d.ts +2 -0
- package/eui-badge/index.d.ts.map +1 -0
- package/eui-badge/index.js +2 -0
- package/eui-badge/index.js.map +1 -0
- package/eui-banner/eui-wc-banner.d.ts +35 -0
- package/eui-banner/eui-wc-banner.d.ts.map +1 -0
- package/eui-banner/eui-wc-banner.js +100 -0
- package/eui-banner/eui-wc-banner.js.map +1 -0
- package/eui-banner/index.d.ts +2 -0
- package/eui-banner/index.d.ts.map +1 -0
- package/eui-banner/index.js +2 -0
- package/eui-banner/index.js.map +1 -0
- package/eui-block-content/eui-wc-block-content.d.ts +14 -0
- package/eui-block-content/eui-wc-block-content.d.ts.map +1 -0
- package/eui-block-content/eui-wc-block-content.js +43 -0
- package/eui-block-content/eui-wc-block-content.js.map +1 -0
- package/eui-block-content/index.d.ts +2 -0
- package/eui-block-content/index.d.ts.map +1 -0
- package/eui-block-content/index.js +2 -0
- package/eui-block-content/index.js.map +1 -0
- package/eui-block-document/eui-wc-block-document.d.ts +14 -0
- package/eui-block-document/eui-wc-block-document.d.ts.map +1 -0
- package/eui-block-document/eui-wc-block-document.js +51 -0
- package/eui-block-document/eui-wc-block-document.js.map +1 -0
- package/eui-block-document/index.d.ts +2 -0
- package/eui-block-document/index.d.ts.map +1 -0
- package/eui-block-document/index.js +2 -0
- package/eui-block-document/index.js.map +1 -0
- package/eui-breadcrumb/eui-wc-breadcrumb.d.ts +19 -0
- package/eui-breadcrumb/eui-wc-breadcrumb.d.ts.map +1 -0
- package/eui-breadcrumb/eui-wc-breadcrumb.js +33 -0
- package/eui-breadcrumb/eui-wc-breadcrumb.js.map +1 -0
- package/eui-breadcrumb/index.d.ts +2 -0
- package/eui-breadcrumb/index.d.ts.map +1 -0
- package/eui-breadcrumb/index.js +2 -0
- package/eui-breadcrumb/index.js.map +1 -0
- package/eui-button/eui-wc-button.d.ts +37 -0
- package/eui-button/eui-wc-button.d.ts.map +1 -0
- package/eui-button/eui-wc-button.js +246 -0
- package/eui-button/eui-wc-button.js.map +1 -0
- package/eui-button/index.d.ts +2 -0
- package/eui-button/index.d.ts.map +1 -0
- package/eui-button/index.js +2 -0
- package/eui-button/index.js.map +1 -0
- package/eui-calendar/eui-wc-calendar.d.ts +27 -0
- package/eui-calendar/eui-wc-calendar.d.ts.map +1 -0
- package/eui-calendar/eui-wc-calendar.js +108 -0
- package/eui-calendar/eui-wc-calendar.js.map +1 -0
- package/eui-calendar/index.d.ts +2 -0
- package/eui-calendar/index.d.ts.map +1 -0
- package/eui-calendar/index.js +2 -0
- package/eui-calendar/index.js.map +1 -0
- package/eui-card/eui-wc-card.d.ts +21 -0
- package/eui-card/eui-wc-card.d.ts.map +1 -0
- package/eui-card/eui-wc-card.js +60 -0
- package/eui-card/eui-wc-card.js.map +1 -0
- package/eui-card/index.d.ts +2 -0
- package/eui-card/index.d.ts.map +1 -0
- package/eui-card/index.js +2 -0
- package/eui-card/index.js.map +1 -0
- package/eui-card-v2/eui-wc-card-v2.d.ts +15 -0
- package/eui-card-v2/eui-wc-card-v2.d.ts.map +1 -0
- package/eui-card-v2/eui-wc-card-v2.js +44 -0
- package/eui-card-v2/eui-wc-card-v2.js.map +1 -0
- package/eui-card-v2/index.d.ts +2 -0
- package/eui-card-v2/index.d.ts.map +1 -0
- package/eui-card-v2/index.js +2 -0
- package/eui-card-v2/index.js.map +1 -0
- package/eui-chip/eui-wc-chip.d.ts +29 -0
- package/eui-chip/eui-wc-chip.d.ts.map +1 -0
- package/eui-chip/eui-wc-chip.js +133 -0
- package/eui-chip/eui-wc-chip.js.map +1 -0
- package/eui-chip/index.d.ts +2 -0
- package/eui-chip/index.d.ts.map +1 -0
- package/eui-chip/index.js +2 -0
- package/eui-chip/index.js.map +1 -0
- package/eui-comment-thread/eui-wc-comment-thread.d.ts +20 -0
- package/eui-comment-thread/eui-wc-comment-thread.d.ts.map +1 -0
- package/eui-comment-thread/eui-wc-comment-thread.js +52 -0
- package/eui-comment-thread/eui-wc-comment-thread.js.map +1 -0
- package/eui-comment-thread/index.d.ts +2 -0
- package/eui-comment-thread/index.d.ts.map +1 -0
- package/eui-comment-thread/index.js +2 -0
- package/eui-comment-thread/index.js.map +1 -0
- package/eui-content-card/eui-wc-content-card.d.ts +15 -0
- package/eui-content-card/eui-wc-content-card.d.ts.map +1 -0
- package/eui-content-card/eui-wc-content-card.js +52 -0
- package/eui-content-card/eui-wc-content-card.js.map +1 -0
- package/eui-content-card/index.d.ts +2 -0
- package/eui-content-card/index.d.ts.map +1 -0
- package/eui-content-card/index.js +2 -0
- package/eui-content-card/index.js.map +1 -0
- package/eui-dashboard-card/eui-wc-dashboard-card.d.ts +13 -0
- package/eui-dashboard-card/eui-wc-dashboard-card.d.ts.map +1 -0
- package/eui-dashboard-card/eui-wc-dashboard-card.js +42 -0
- package/eui-dashboard-card/eui-wc-dashboard-card.js.map +1 -0
- package/eui-dashboard-card/index.d.ts +2 -0
- package/eui-dashboard-card/index.d.ts.map +1 -0
- package/eui-dashboard-card/index.js +2 -0
- package/eui-dashboard-card/index.js.map +1 -0
- package/eui-date-block/eui-wc-date-block.d.ts +14 -0
- package/eui-date-block/eui-wc-date-block.d.ts.map +1 -0
- package/eui-date-block/eui-wc-date-block.js +40 -0
- package/eui-date-block/eui-wc-date-block.js.map +1 -0
- package/eui-date-block/index.d.ts +2 -0
- package/eui-date-block/index.d.ts.map +1 -0
- package/eui-date-block/index.js +2 -0
- package/eui-date-block/index.js.map +1 -0
- package/eui-date-range-selector/eui-wc-date-range-selector.d.ts +29 -0
- package/eui-date-range-selector/eui-wc-date-range-selector.d.ts.map +1 -0
- package/eui-date-range-selector/eui-wc-date-range-selector.js +78 -0
- package/eui-date-range-selector/eui-wc-date-range-selector.js.map +1 -0
- package/eui-date-range-selector/index.d.ts +2 -0
- package/eui-date-range-selector/index.d.ts.map +1 -0
- package/eui-date-range-selector/index.js +2 -0
- package/eui-date-range-selector/index.js.map +1 -0
- package/eui-datepicker/eui-wc-datepicker.d.ts +26 -0
- package/eui-datepicker/eui-wc-datepicker.d.ts.map +1 -0
- package/eui-datepicker/eui-wc-datepicker.js +87 -0
- package/eui-datepicker/eui-wc-datepicker.js.map +1 -0
- package/eui-datepicker/index.d.ts +2 -0
- package/eui-datepicker/index.d.ts.map +1 -0
- package/eui-datepicker/index.js +2 -0
- package/eui-datepicker/index.js.map +1 -0
- package/eui-dialog/eui-wc-dialog.d.ts +17 -0
- package/eui-dialog/eui-wc-dialog.d.ts.map +1 -0
- package/eui-dialog/eui-wc-dialog.js +56 -0
- package/eui-dialog/eui-wc-dialog.js.map +1 -0
- package/eui-dialog/index.d.ts +2 -0
- package/eui-dialog/index.d.ts.map +1 -0
- package/eui-dialog/index.js +2 -0
- package/eui-dialog/index.js.map +1 -0
- package/eui-disable-content/eui-wc-disable-content.d.ts +14 -0
- package/eui-disable-content/eui-wc-disable-content.d.ts.map +1 -0
- package/eui-disable-content/eui-wc-disable-content.js +40 -0
- package/eui-disable-content/eui-wc-disable-content.js.map +1 -0
- package/eui-disable-content/index.d.ts +2 -0
- package/eui-disable-content/index.d.ts.map +1 -0
- package/eui-disable-content/index.js +2 -0
- package/eui-disable-content/index.js.map +1 -0
- package/eui-discussion-thread/eui-wc-discussion-thread.d.ts +19 -0
- package/eui-discussion-thread/eui-wc-discussion-thread.d.ts.map +1 -0
- package/eui-discussion-thread/eui-wc-discussion-thread.js +42 -0
- package/eui-discussion-thread/eui-wc-discussion-thread.js.map +1 -0
- package/eui-discussion-thread/index.d.ts +2 -0
- package/eui-discussion-thread/index.d.ts.map +1 -0
- package/eui-discussion-thread/index.js +2 -0
- package/eui-discussion-thread/index.js.map +1 -0
- package/eui-dropdown/eui-wc-dropdown.d.ts +15 -0
- package/eui-dropdown/eui-wc-dropdown.d.ts.map +1 -0
- package/eui-dropdown/eui-wc-dropdown.js +41 -0
- package/eui-dropdown/eui-wc-dropdown.js.map +1 -0
- package/eui-dropdown/index.d.ts +2 -0
- package/eui-dropdown/index.d.ts.map +1 -0
- package/eui-dropdown/index.js +2 -0
- package/eui-dropdown/index.js.map +1 -0
- package/eui-feedback-message/eui-wc-feedback-message.d.ts +30 -0
- package/eui-feedback-message/eui-wc-feedback-message.d.ts.map +1 -0
- package/eui-feedback-message/eui-wc-feedback-message.js +94 -0
- package/eui-feedback-message/eui-wc-feedback-message.js.map +1 -0
- package/eui-feedback-message/index.d.ts +2 -0
- package/eui-feedback-message/index.d.ts.map +1 -0
- package/eui-feedback-message/index.js +2 -0
- package/eui-feedback-message/index.js.map +1 -0
- package/eui-fieldset/eui-wc-fieldset.d.ts +19 -0
- package/eui-fieldset/eui-wc-fieldset.d.ts.map +1 -0
- package/eui-fieldset/eui-wc-fieldset.js +72 -0
- package/eui-fieldset/eui-wc-fieldset.js.map +1 -0
- package/eui-fieldset/index.d.ts +2 -0
- package/eui-fieldset/index.d.ts.map +1 -0
- package/eui-fieldset/index.js +2 -0
- package/eui-fieldset/index.js.map +1 -0
- package/eui-file-upload/eui-wc-file-upload.d.ts +20 -0
- package/eui-file-upload/eui-wc-file-upload.d.ts.map +1 -0
- package/eui-file-upload/eui-wc-file-upload.js +84 -0
- package/eui-file-upload/eui-wc-file-upload.js.map +1 -0
- package/eui-file-upload/index.d.ts +2 -0
- package/eui-file-upload/index.d.ts.map +1 -0
- package/eui-file-upload/index.js +2 -0
- package/eui-file-upload/index.js.map +1 -0
- package/eui-floating-panel/eui-wc-floating-panel.d.ts +16 -0
- package/eui-floating-panel/eui-wc-floating-panel.d.ts.map +1 -0
- package/eui-floating-panel/eui-wc-floating-panel.js +42 -0
- package/eui-floating-panel/eui-wc-floating-panel.js.map +1 -0
- package/eui-floating-panel/index.d.ts +2 -0
- package/eui-floating-panel/index.d.ts.map +1 -0
- package/eui-floating-panel/index.js +2 -0
- package/eui-floating-panel/index.js.map +1 -0
- package/eui-growl/eui-wc-growl.d.ts +20 -0
- package/eui-growl/eui-wc-growl.d.ts.map +1 -0
- package/eui-growl/eui-wc-growl.js +44 -0
- package/eui-growl/eui-wc-growl.js.map +1 -0
- package/eui-growl/index.d.ts +2 -0
- package/eui-growl/index.d.ts.map +1 -0
- package/eui-growl/index.js +2 -0
- package/eui-growl/index.js.map +1 -0
- package/eui-helper-text/eui-wc-helper-text.d.ts +21 -0
- package/eui-helper-text/eui-wc-helper-text.d.ts.map +1 -0
- package/eui-helper-text/eui-wc-helper-text.js +42 -0
- package/eui-helper-text/eui-wc-helper-text.js.map +1 -0
- package/eui-helper-text/index.d.ts +2 -0
- package/eui-helper-text/index.d.ts.map +1 -0
- package/eui-helper-text/index.js +2 -0
- package/eui-helper-text/index.js.map +1 -0
- package/eui-icon/eui-wc-icon.d.ts +59 -0
- package/eui-icon/eui-wc-icon.d.ts.map +1 -0
- package/eui-icon/eui-wc-icon.js +258 -0
- package/eui-icon/eui-wc-icon.js.map +1 -0
- package/eui-icon/index.d.ts +2 -0
- package/eui-icon/index.d.ts.map +1 -0
- package/eui-icon/index.js +2 -0
- package/eui-icon/index.js.map +1 -0
- package/eui-icon-button/eui-wc-icon-button.d.ts +37 -0
- package/eui-icon-button/eui-wc-icon-button.d.ts.map +1 -0
- package/eui-icon-button/eui-wc-icon-button.js +148 -0
- package/eui-icon-button/eui-wc-icon-button.js.map +1 -0
- package/eui-icon-button/index.d.ts +2 -0
- package/eui-icon-button/index.d.ts.map +1 -0
- package/eui-icon-button/index.js +2 -0
- package/eui-icon-button/index.js.map +1 -0
- package/eui-icon-button-expander/eui-wc-icon-button-expander.d.ts +31 -0
- package/eui-icon-button-expander/eui-wc-icon-button-expander.d.ts.map +1 -0
- package/eui-icon-button-expander/eui-wc-icon-button-expander.js +119 -0
- package/eui-icon-button-expander/eui-wc-icon-button-expander.js.map +1 -0
- package/eui-icon-button-expander/index.d.ts +2 -0
- package/eui-icon-button-expander/index.d.ts.map +1 -0
- package/eui-icon-button-expander/index.js +2 -0
- package/eui-icon-button-expander/index.js.map +1 -0
- package/eui-icon-input/eui-wc-icon-input.d.ts +13 -0
- package/eui-icon-input/eui-wc-icon-input.d.ts.map +1 -0
- package/eui-icon-input/eui-wc-icon-input.js +33 -0
- package/eui-icon-input/eui-wc-icon-input.js.map +1 -0
- package/eui-icon-input/index.d.ts +2 -0
- package/eui-icon-input/index.d.ts.map +1 -0
- package/eui-icon-input/index.js +2 -0
- package/eui-icon-input/index.js.map +1 -0
- package/eui-icon-toggle/eui-wc-icon-toggle.d.ts +40 -0
- package/eui-icon-toggle/eui-wc-icon-toggle.d.ts.map +1 -0
- package/eui-icon-toggle/eui-wc-icon-toggle.js +137 -0
- package/eui-icon-toggle/eui-wc-icon-toggle.js.map +1 -0
- package/eui-icon-toggle/index.d.ts +2 -0
- package/eui-icon-toggle/index.d.ts.map +1 -0
- package/eui-icon-toggle/index.js +2 -0
- package/eui-icon-toggle/index.js.map +1 -0
- package/eui-input-button/eui-wc-input-button.d.ts +29 -0
- package/eui-input-button/eui-wc-input-button.d.ts.map +1 -0
- package/eui-input-button/eui-wc-input-button.js +57 -0
- package/eui-input-button/eui-wc-input-button.js.map +1 -0
- package/eui-input-button/index.d.ts +2 -0
- package/eui-input-button/index.d.ts.map +1 -0
- package/eui-input-button/index.js +2 -0
- package/eui-input-button/index.js.map +1 -0
- package/eui-input-checkbox/eui-wc-input-checkbox.d.ts +19 -0
- package/eui-input-checkbox/eui-wc-input-checkbox.d.ts.map +1 -0
- package/eui-input-checkbox/eui-wc-input-checkbox.js +59 -0
- package/eui-input-checkbox/eui-wc-input-checkbox.js.map +1 -0
- package/eui-input-checkbox/index.d.ts +2 -0
- package/eui-input-checkbox/index.d.ts.map +1 -0
- package/eui-input-checkbox/index.js +2 -0
- package/eui-input-checkbox/index.js.map +1 -0
- package/eui-input-number/eui-wc-input-number.d.ts +20 -0
- package/eui-input-number/eui-wc-input-number.d.ts.map +1 -0
- package/eui-input-number/eui-wc-input-number.js +66 -0
- package/eui-input-number/eui-wc-input-number.js.map +1 -0
- package/eui-input-number/index.d.ts +2 -0
- package/eui-input-number/index.d.ts.map +1 -0
- package/eui-input-number/index.js +2 -0
- package/eui-input-number/index.js.map +1 -0
- package/eui-input-radio/eui-wc-input-radio.d.ts +18 -0
- package/eui-input-radio/eui-wc-input-radio.d.ts.map +1 -0
- package/eui-input-radio/eui-wc-input-radio.js +54 -0
- package/eui-input-radio/eui-wc-input-radio.js.map +1 -0
- package/eui-input-radio/index.d.ts +2 -0
- package/eui-input-radio/index.d.ts.map +1 -0
- package/eui-input-radio/index.js +2 -0
- package/eui-input-radio/index.js.map +1 -0
- package/eui-input-text/eui-wc-input-text.d.ts +22 -0
- package/eui-input-text/eui-wc-input-text.d.ts.map +1 -0
- package/eui-input-text/eui-wc-input-text.js +72 -0
- package/eui-input-text/eui-wc-input-text.js.map +1 -0
- package/eui-input-text/index.d.ts +2 -0
- package/eui-input-text/index.d.ts.map +1 -0
- package/eui-input-text/index.js +2 -0
- package/eui-input-text/index.js.map +1 -0
- package/eui-label/eui-wc-label.d.ts +35 -0
- package/eui-label/eui-wc-label.d.ts.map +1 -0
- package/eui-label/eui-wc-label.js +98 -0
- package/eui-label/eui-wc-label.js.map +1 -0
- package/eui-label/index.d.ts +2 -0
- package/eui-label/index.d.ts.map +1 -0
- package/eui-label/index.js +2 -0
- package/eui-label/index.js.map +1 -0
- package/eui-language-selector/eui-wc-language-selector.d.ts +19 -0
- package/eui-language-selector/eui-wc-language-selector.d.ts.map +1 -0
- package/eui-language-selector/eui-wc-language-selector.js +42 -0
- package/eui-language-selector/eui-wc-language-selector.js.map +1 -0
- package/eui-language-selector/index.d.ts +2 -0
- package/eui-language-selector/index.d.ts.map +1 -0
- package/eui-language-selector/index.js +2 -0
- package/eui-language-selector/index.js.map +1 -0
- package/eui-list/eui-wc-list.d.ts +22 -0
- package/eui-list/eui-wc-list.d.ts.map +1 -0
- package/eui-list/eui-wc-list.js +74 -0
- package/eui-list/eui-wc-list.js.map +1 -0
- package/eui-list/index.d.ts +2 -0
- package/eui-list/index.d.ts.map +1 -0
- package/eui-list/index.js +2 -0
- package/eui-list/index.js.map +1 -0
- package/eui-menu/eui-wc-menu.d.ts +23 -0
- package/eui-menu/eui-wc-menu.d.ts.map +1 -0
- package/eui-menu/eui-wc-menu.js +45 -0
- package/eui-menu/eui-wc-menu.js.map +1 -0
- package/eui-menu/index.d.ts +2 -0
- package/eui-menu/index.d.ts.map +1 -0
- package/eui-menu/index.js +2 -0
- package/eui-menu/index.js.map +1 -0
- package/eui-message-box/eui-wc-message-box.d.ts +22 -0
- package/eui-message-box/eui-wc-message-box.d.ts.map +1 -0
- package/eui-message-box/eui-wc-message-box.js +71 -0
- package/eui-message-box/eui-wc-message-box.js.map +1 -0
- package/eui-message-box/index.d.ts +2 -0
- package/eui-message-box/index.d.ts.map +1 -0
- package/eui-message-box/index.js +2 -0
- package/eui-message-box/index.js.map +1 -0
- package/eui-overlay/eui-wc-overlay.d.ts +13 -0
- package/eui-overlay/eui-wc-overlay.d.ts.map +1 -0
- package/eui-overlay/eui-wc-overlay.js +37 -0
- package/eui-overlay/eui-wc-overlay.js.map +1 -0
- package/eui-overlay/index.d.ts +2 -0
- package/eui-overlay/index.d.ts.map +1 -0
- package/eui-overlay/index.js +2 -0
- package/eui-overlay/index.js.map +1 -0
- package/eui-page/eui-wc-page.d.ts +13 -0
- package/eui-page/eui-wc-page.d.ts.map +1 -0
- package/eui-page/eui-wc-page.js +38 -0
- package/eui-page/eui-wc-page.js.map +1 -0
- package/eui-page/index.d.ts +2 -0
- package/eui-page/index.d.ts.map +1 -0
- package/eui-page/index.js +2 -0
- package/eui-page/index.js.map +1 -0
- package/eui-paginator/eui-wc-paginator.d.ts +23 -0
- package/eui-paginator/eui-wc-paginator.d.ts.map +1 -0
- package/eui-paginator/eui-wc-paginator.js +74 -0
- package/eui-paginator/eui-wc-paginator.js.map +1 -0
- package/eui-paginator/index.d.ts +2 -0
- package/eui-paginator/index.d.ts.map +1 -0
- package/eui-paginator/index.js +2 -0
- package/eui-paginator/index.js.map +1 -0
- package/eui-phone-picker/eui-wc-phone-picker.d.ts +26 -0
- package/eui-phone-picker/eui-wc-phone-picker.d.ts.map +1 -0
- package/eui-phone-picker/eui-wc-phone-picker.js +73 -0
- package/eui-phone-picker/eui-wc-phone-picker.js.map +1 -0
- package/eui-phone-picker/index.d.ts +2 -0
- package/eui-phone-picker/index.d.ts.map +1 -0
- package/eui-phone-picker/index.js +2 -0
- package/eui-phone-picker/index.js.map +1 -0
- package/eui-popover/eui-wc-popover.d.ts +16 -0
- package/eui-popover/eui-wc-popover.d.ts.map +1 -0
- package/eui-popover/eui-wc-popover.js +58 -0
- package/eui-popover/eui-wc-popover.js.map +1 -0
- package/eui-popover/index.d.ts +2 -0
- package/eui-popover/index.d.ts.map +1 -0
- package/eui-popover/index.js +2 -0
- package/eui-popover/index.js.map +1 -0
- package/eui-progress-bar/eui-wc-progress-bar.d.ts +40 -0
- package/eui-progress-bar/eui-wc-progress-bar.d.ts.map +1 -0
- package/eui-progress-bar/eui-wc-progress-bar.js +199 -0
- package/eui-progress-bar/eui-wc-progress-bar.js.map +1 -0
- package/eui-progress-bar/index.d.ts +2 -0
- package/eui-progress-bar/index.d.ts.map +1 -0
- package/eui-progress-bar/index.js +2 -0
- package/eui-progress-bar/index.js.map +1 -0
- package/eui-progress-circle/eui-wc-progress-circle.d.ts +38 -0
- package/eui-progress-circle/eui-wc-progress-circle.d.ts.map +1 -0
- package/eui-progress-circle/eui-wc-progress-circle.js +306 -0
- package/eui-progress-circle/eui-wc-progress-circle.js.map +1 -0
- package/eui-progress-circle/index.d.ts +2 -0
- package/eui-progress-circle/index.d.ts.map +1 -0
- package/eui-progress-circle/index.js +2 -0
- package/eui-progress-circle/index.js.map +1 -0
- package/eui-rating/eui-wc-rating.d.ts +39 -0
- package/eui-rating/eui-wc-rating.d.ts.map +1 -0
- package/eui-rating/eui-wc-rating.js +177 -0
- package/eui-rating/eui-wc-rating.js.map +1 -0
- package/eui-rating/index.d.ts +2 -0
- package/eui-rating/index.d.ts.map +1 -0
- package/eui-rating/index.js +2 -0
- package/eui-rating/index.js.map +1 -0
- package/eui-section-header/eui-wc-section-header.d.ts +13 -0
- package/eui-section-header/eui-wc-section-header.d.ts.map +1 -0
- package/eui-section-header/eui-wc-section-header.js +36 -0
- package/eui-section-header/eui-wc-section-header.js.map +1 -0
- package/eui-section-header/index.d.ts +2 -0
- package/eui-section-header/index.d.ts.map +1 -0
- package/eui-section-header/index.js +2 -0
- package/eui-section-header/index.js.map +1 -0
- package/eui-select/eui-wc-select.d.ts +23 -0
- package/eui-select/eui-wc-select.d.ts.map +1 -0
- package/eui-select/eui-wc-select.js +67 -0
- package/eui-select/eui-wc-select.js.map +1 -0
- package/eui-select/index.d.ts +2 -0
- package/eui-select/index.d.ts.map +1 -0
- package/eui-select/index.js +2 -0
- package/eui-select/index.js.map +1 -0
- package/eui-skeleton/eui-wc-skeleton.d.ts +13 -0
- package/eui-skeleton/eui-wc-skeleton.d.ts.map +1 -0
- package/eui-skeleton/eui-wc-skeleton.js +35 -0
- package/eui-skeleton/eui-wc-skeleton.js.map +1 -0
- package/eui-skeleton/index.d.ts +2 -0
- package/eui-skeleton/index.d.ts.map +1 -0
- package/eui-skeleton/index.js +2 -0
- package/eui-skeleton/index.js.map +1 -0
- package/eui-slide-toggle/eui-wc-slide-toggle.d.ts +20 -0
- package/eui-slide-toggle/eui-wc-slide-toggle.d.ts.map +1 -0
- package/eui-slide-toggle/eui-wc-slide-toggle.js +93 -0
- package/eui-slide-toggle/eui-wc-slide-toggle.js.map +1 -0
- package/eui-slide-toggle/index.d.ts +2 -0
- package/eui-slide-toggle/index.d.ts.map +1 -0
- package/eui-slide-toggle/index.js +2 -0
- package/eui-slide-toggle/index.js.map +1 -0
- package/eui-slider/eui-wc-slider.d.ts +18 -0
- package/eui-slider/eui-wc-slider.d.ts.map +1 -0
- package/eui-slider/eui-wc-slider.js +57 -0
- package/eui-slider/eui-wc-slider.js.map +1 -0
- package/eui-slider/index.d.ts +2 -0
- package/eui-slider/index.d.ts.map +1 -0
- package/eui-slider/index.js +2 -0
- package/eui-slider/index.js.map +1 -0
- package/eui-split-button/eui-wc-split-button.d.ts +11 -0
- package/eui-split-button/eui-wc-split-button.d.ts.map +1 -0
- package/eui-split-button/eui-wc-split-button.js +17 -0
- package/eui-split-button/eui-wc-split-button.js.map +1 -0
- package/eui-split-button/index.d.ts +2 -0
- package/eui-split-button/index.d.ts.map +1 -0
- package/eui-split-button/index.js +2 -0
- package/eui-split-button/index.js.map +1 -0
- package/eui-status-badge/eui-wc-status-badge.d.ts +15 -0
- package/eui-status-badge/eui-wc-status-badge.d.ts.map +1 -0
- package/eui-status-badge/eui-wc-status-badge.js +45 -0
- package/eui-status-badge/eui-wc-status-badge.js.map +1 -0
- package/eui-status-badge/index.d.ts +2 -0
- package/eui-status-badge/index.d.ts.map +1 -0
- package/eui-status-badge/index.js +2 -0
- package/eui-status-badge/index.js.map +1 -0
- package/eui-table/eui-wc-table.d.ts +26 -0
- package/eui-table/eui-wc-table.d.ts.map +1 -0
- package/eui-table/eui-wc-table.js +84 -0
- package/eui-table/eui-wc-table.js.map +1 -0
- package/eui-table/index.d.ts +2 -0
- package/eui-table/index.d.ts.map +1 -0
- package/eui-table/index.js +2 -0
- package/eui-table/index.js.map +1 -0
- package/eui-tabs/eui-wc-tabs.d.ts +26 -0
- package/eui-tabs/eui-wc-tabs.d.ts.map +1 -0
- package/eui-tabs/eui-wc-tabs.js +78 -0
- package/eui-tabs/eui-wc-tabs.js.map +1 -0
- package/eui-tabs/index.d.ts +2 -0
- package/eui-tabs/index.d.ts.map +1 -0
- package/eui-tabs/index.js +2 -0
- package/eui-tabs/index.js.map +1 -0
- package/eui-textarea/eui-wc-textarea.d.ts +18 -0
- package/eui-textarea/eui-wc-textarea.d.ts.map +1 -0
- package/eui-textarea/eui-wc-textarea.js +63 -0
- package/eui-textarea/eui-wc-textarea.js.map +1 -0
- package/eui-textarea/index.d.ts +2 -0
- package/eui-textarea/index.d.ts.map +1 -0
- package/eui-textarea/index.js +2 -0
- package/eui-textarea/index.js.map +1 -0
- package/eui-timeline/eui-wc-timeline.d.ts +29 -0
- package/eui-timeline/eui-wc-timeline.d.ts.map +1 -0
- package/eui-timeline/eui-wc-timeline.js +119 -0
- package/eui-timeline/eui-wc-timeline.js.map +1 -0
- package/eui-timeline/index.d.ts +2 -0
- package/eui-timeline/index.d.ts.map +1 -0
- package/eui-timeline/index.js +2 -0
- package/eui-timeline/index.js.map +1 -0
- package/eui-timepicker/eui-wc-timepicker.d.ts +32 -0
- package/eui-timepicker/eui-wc-timepicker.d.ts.map +1 -0
- package/eui-timepicker/eui-wc-timepicker.js +102 -0
- package/eui-timepicker/eui-wc-timepicker.js.map +1 -0
- package/eui-timepicker/index.d.ts +2 -0
- package/eui-timepicker/index.d.ts.map +1 -0
- package/eui-timepicker/index.js +2 -0
- package/eui-timepicker/index.js.map +1 -0
- package/eui-toggle-group/eui-wc-toggle-group.d.ts +26 -0
- package/eui-toggle-group/eui-wc-toggle-group.d.ts.map +1 -0
- package/eui-toggle-group/eui-wc-toggle-group.js +80 -0
- package/eui-toggle-group/eui-wc-toggle-group.js.map +1 -0
- package/eui-toggle-group/index.d.ts +2 -0
- package/eui-toggle-group/index.d.ts.map +1 -0
- package/eui-toggle-group/index.js +2 -0
- package/eui-toggle-group/index.js.map +1 -0
- package/eui-tree/eui-wc-tree.d.ts +28 -0
- package/eui-tree/eui-wc-tree.d.ts.map +1 -0
- package/eui-tree/eui-wc-tree.js +57 -0
- package/eui-tree/eui-wc-tree.js.map +1 -0
- package/eui-tree/index.d.ts +2 -0
- package/eui-tree/index.d.ts.map +1 -0
- package/eui-tree/index.js +2 -0
- package/eui-tree/index.js.map +1 -0
- package/eui-tree-list/eui-wc-tree-list.d.ts +22 -0
- package/eui-tree-list/eui-wc-tree-list.d.ts.map +1 -0
- package/eui-tree-list/eui-wc-tree-list.js +51 -0
- package/eui-tree-list/eui-wc-tree-list.js.map +1 -0
- package/eui-tree-list/index.d.ts +2 -0
- package/eui-tree-list/index.d.ts.map +1 -0
- package/eui-tree-list/index.js +2 -0
- package/eui-tree-list/index.js.map +1 -0
- package/eui-user-profile/eui-wc-user-profile.d.ts +18 -0
- package/eui-user-profile/eui-wc-user-profile.d.ts.map +1 -0
- package/eui-user-profile/eui-wc-user-profile.js +52 -0
- package/eui-user-profile/eui-wc-user-profile.js.map +1 -0
- package/eui-user-profile/index.d.ts +2 -0
- package/eui-user-profile/index.d.ts.map +1 -0
- package/eui-user-profile/index.js +2 -0
- package/eui-user-profile/index.js.map +1 -0
- package/eui-wizard/eui-wc-wizard.d.ts +23 -0
- package/eui-wizard/eui-wc-wizard.d.ts.map +1 -0
- package/eui-wizard/eui-wc-wizard.js +75 -0
- package/eui-wizard/eui-wc-wizard.js.map +1 -0
- package/eui-wizard/index.d.ts +2 -0
- package/eui-wizard/index.d.ts.map +1 -0
- package/eui-wizard/index.js +2 -0
- package/eui-wizard/index.js.map +1 -0
- package/index.d.ts +72 -0
- package/index.d.ts.map +1 -0
- package/index.js +80 -0
- package/index.js.map +1 -0
- package/package.json +322 -4
- package/README.md +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-section-header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface EuiWcSelectOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/** `EuiWcSelect` — Lit WC projection of `eui-select`. */
|
|
8
|
+
export declare class EuiWcSelect extends LitElement {
|
|
9
|
+
static styles: import("lit").CSSResult;
|
|
10
|
+
value: string;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
options: EuiWcSelectOption[];
|
|
13
|
+
isInvalid: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
e2eAttr: string;
|
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'eui-wc-select': EuiWcSelect;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=eui-wc-select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-select.d.ts","sourceRoot":"","sources":["../../src/eui-select/eui-wc-select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,MAAM,WAAW,iBAAiB;IAAG,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;CAAE;AAExF,yDAAyD;AACzD,qBACa,WAAY,SAAQ,UAAU;IACvC,OAAgB,MAAM,0BAepB;IAEU,KAAK,SAAM;IACX,WAAW,SAAsB;IAClB,OAAO,EAAE,iBAAiB,EAAE,CAAM;IACQ,SAAS,UAAS;IAC3C,QAAQ,UAAS;IACxB,OAAO,SAAmB;IAEtD,MAAM;CAQlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,eAAe,EAAE,WAAW,CAAC;KAAE;CACpE"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
/** `EuiWcSelect` — Lit WC projection of `eui-select`. */
|
|
10
|
+
let EuiWcSelect = class EuiWcSelect extends LitElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.value = '';
|
|
14
|
+
this.placeholder = 'Select an option';
|
|
15
|
+
this.options = [];
|
|
16
|
+
this.isInvalid = false;
|
|
17
|
+
this.disabled = false;
|
|
18
|
+
this.e2eAttr = 'eui-wc-select';
|
|
19
|
+
}
|
|
20
|
+
static { this.styles = css `
|
|
21
|
+
:host { display: inline-flex; width: 100%; }
|
|
22
|
+
select {
|
|
23
|
+
background-color: var(--eui-c-surface-container);
|
|
24
|
+
border: 1px solid var(--eui-c-secondary-border);
|
|
25
|
+
border-radius: var(--eui-br-s);
|
|
26
|
+
color: var(--eui-c-text);
|
|
27
|
+
font: var(--eui-f-m);
|
|
28
|
+
padding: var(--eui-s-xs) var(--eui-s-m);
|
|
29
|
+
width: 100%;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
}
|
|
32
|
+
select:focus { border-color: var(--eui-c-primary); outline: none; }
|
|
33
|
+
:host([is-invalid]) select { border-color: var(--eui-c-danger); }
|
|
34
|
+
:host([disabled]) select { opacity: var(--eui-o-50); cursor: not-allowed; }
|
|
35
|
+
`; }
|
|
36
|
+
render() {
|
|
37
|
+
return html `
|
|
38
|
+
<select .value=${this.value} ?disabled=${this.disabled} @change=${(e) => { this.value = e.target.value; this.dispatchEvent(new CustomEvent('eui-change', { detail: this.value, bubbles: true, composed: true })); }}>
|
|
39
|
+
${!this.value ? html `<option value="" disabled selected>${this.placeholder}</option>` : ''}
|
|
40
|
+
${this.options.map((o) => html `<option value=${o.value} ?disabled=${o.disabled} ?selected=${o.value === this.value}>${o.label}</option>`)}
|
|
41
|
+
</select>
|
|
42
|
+
`;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
__decorate([
|
|
46
|
+
property()
|
|
47
|
+
], EuiWcSelect.prototype, "value", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
property()
|
|
50
|
+
], EuiWcSelect.prototype, "placeholder", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
property({ type: Array })
|
|
53
|
+
], EuiWcSelect.prototype, "options", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
property({ attribute: 'is-invalid', type: Boolean, reflect: true })
|
|
56
|
+
], EuiWcSelect.prototype, "isInvalid", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
property({ type: Boolean, reflect: true })
|
|
59
|
+
], EuiWcSelect.prototype, "disabled", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
property({ attribute: 'data-e2e' })
|
|
62
|
+
], EuiWcSelect.prototype, "e2eAttr", void 0);
|
|
63
|
+
EuiWcSelect = __decorate([
|
|
64
|
+
customElement('eui-wc-select')
|
|
65
|
+
], EuiWcSelect);
|
|
66
|
+
export { EuiWcSelect };
|
|
67
|
+
//# sourceMappingURL=eui-wc-select.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-select.js","sourceRoot":"","sources":["../../src/eui-select/eui-wc-select.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI5D,yDAAyD;AAElD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,UAAU;IAApC;;QAkBS,UAAK,GAAG,EAAE,CAAC;QACX,gBAAW,GAAG,kBAAkB,CAAC;QAClB,YAAO,GAAwB,EAAE,CAAC;QACQ,cAAS,GAAG,KAAK,CAAC;QAC3C,aAAQ,GAAG,KAAK,CAAC;QACxB,YAAO,GAAG,eAAe,CAAC;IAUnE,CAAC;aAhCmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;KAe3B,AAfqB,CAepB;IASO,MAAM;QACX,OAAO,IAAI,CAAA;6BACU,IAAI,CAAC,KAAK,cAAc,IAAI,CAAC,QAAQ,YAAY,CAAC,CAAQ,EAAE,EAAE,GAAG,IAAI,CAAC,KAAK,GAAI,CAAC,CAAC,MAA4B,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;kBAC3O,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA,sCAAsC,IAAI,CAAC,WAAW,WAAW,CAAC,CAAC,CAAC,EAAE;kBACxF,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAA,iBAAiB,CAAC,CAAC,KAAK,cAAc,CAAC,CAAC,QAAQ,cAAc,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,WAAW,CAAC;;SAEhJ,CAAC;IACN,CAAC;;AAdW;IAAX,QAAQ,EAAE;0CAAY;AACX;IAAX,QAAQ,EAAE;gDAAkC;AAClB;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;4CAAmC;AACQ;IAApE,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAAmB;AAC3C;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CAAkB;AACxB;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;4CAA2B;AAvBtD,WAAW;IADvB,aAAa,CAAC,eAAe,CAAC;GAClB,WAAW,CAiCvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA0B,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type EuiWcSkeletonShape = 'line' | 'circle' | 'rectangle' | 'square';
|
|
3
|
+
export declare class EuiWcSkeleton extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
shape: EuiWcSkeletonShape;
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
interface HTMLElementTagNameMap {
|
|
10
|
+
'eui-wc-skeleton': EuiWcSkeleton;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=eui-wc-skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-skeleton.d.ts","sourceRoot":"","sources":["../../src/eui-skeleton/eui-wc-skeleton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE5E,qBACa,aAAc,SAAQ,UAAU;IACzC,OAAgB,MAAM,0BAWpB;IAC2B,KAAK,EAAE,kBAAkB,CAAU;IACvD,MAAM;CAClB;AAED,OAAO,CAAC,MAAM,CAAC;IAAE,UAAU,qBAAqB;QAAG,iBAAiB,EAAE,aAAa,CAAC;KAAE;CAAE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 EuiWcSkeleton = class EuiWcSkeleton extends LitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.shape = 'line';
|
|
13
|
+
}
|
|
14
|
+
static { this.styles = css `
|
|
15
|
+
:host { display: inline-block; }
|
|
16
|
+
.eui-skeleton {
|
|
17
|
+
animation: eui-wc-skeleton-pulse 1.5s ease-in-out 0.5s infinite;
|
|
18
|
+
background-color: var(--eui-c-secondary-surface-light);
|
|
19
|
+
}
|
|
20
|
+
:host([shape='line']) .eui-skeleton { border-radius: var(--eui-br-s); height: 1em; width: 100%; }
|
|
21
|
+
:host([shape='circle']) .eui-skeleton { border-radius: 50%; height: 3rem; width: 3rem; }
|
|
22
|
+
:host([shape='rectangle']) .eui-skeleton { border-radius: var(--eui-br-s); height: 6rem; width: 100%; }
|
|
23
|
+
:host([shape='square']) .eui-skeleton { height: 3rem; width: 3rem; }
|
|
24
|
+
@keyframes eui-wc-skeleton-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
|
|
25
|
+
`; }
|
|
26
|
+
render() { return html `<div class="eui-skeleton" role="status" aria-busy="true" aria-label="Loading…"></div>`; }
|
|
27
|
+
};
|
|
28
|
+
__decorate([
|
|
29
|
+
property({ reflect: true })
|
|
30
|
+
], EuiWcSkeleton.prototype, "shape", void 0);
|
|
31
|
+
EuiWcSkeleton = __decorate([
|
|
32
|
+
customElement('eui-wc-skeleton')
|
|
33
|
+
], EuiWcSkeleton);
|
|
34
|
+
export { EuiWcSkeleton };
|
|
35
|
+
//# sourceMappingURL=eui-wc-skeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-skeleton.js","sourceRoot":"","sources":["../../src/eui-skeleton/eui-wc-skeleton.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAKrD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,UAAU;IAAtC;;QAa0B,UAAK,GAAuB,MAAM,CAAC;IAEpE,CAAC;aAdmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;KAW3B,AAXqB,CAWpB;IAEO,MAAM,KAAK,OAAO,IAAI,CAAA,uFAAuF,CAAC,CAAC,CAAC;;AAD5F;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CAAoC;AAbvD,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CAezB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA2B,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/** `EuiWcSlideToggle` — Lit WC projection of `eui-slide-toggle` (role=switch). */
|
|
3
|
+
export declare class EuiWcSlideToggle extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
isChecked: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
label?: string;
|
|
8
|
+
ariaLabel: string | null;
|
|
9
|
+
e2eAttr: string;
|
|
10
|
+
private _internal;
|
|
11
|
+
updated(changed: Map<string, unknown>): void;
|
|
12
|
+
private _toggle;
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
}
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'eui-wc-slide-toggle': EuiWcSlideToggle;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=eui-wc-slide-toggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-slide-toggle.d.ts","sourceRoot":"","sources":["../../src/eui-slide-toggle/eui-wc-slide-toggle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,kFAAkF;AAClF,qBACa,gBAAiB,SAAQ,UAAU;IAC5C,OAAgB,MAAM,0BAmBpB;IAEmE,SAAS,UAAS;IAC3C,QAAQ,UAAS;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACoC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC1D,OAAO,SAAyB;IAE5D,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAI9C,OAAO,CAAC,OAAO;IAQN,MAAM;CAgBlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,qBAAqB,EAAE,gBAAgB,CAAC;KAAE;CAC/E"}
|
|
@@ -0,0 +1,93 @@
|
|
|
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, state } from 'lit/decorators.js';
|
|
9
|
+
/** `EuiWcSlideToggle` — Lit WC projection of `eui-slide-toggle` (role=switch). */
|
|
10
|
+
let EuiWcSlideToggle = class EuiWcSlideToggle extends LitElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.isChecked = false;
|
|
14
|
+
this.disabled = false;
|
|
15
|
+
this.ariaLabel = null;
|
|
16
|
+
this.e2eAttr = 'eui-wc-slide-toggle';
|
|
17
|
+
this._internal = false;
|
|
18
|
+
}
|
|
19
|
+
static { this.styles = css `
|
|
20
|
+
:host { display: inline-flex; align-items: center; gap: var(--eui-s-xs); cursor: pointer; }
|
|
21
|
+
:host([disabled]) { opacity: var(--eui-o-50); pointer-events: none; }
|
|
22
|
+
.eui-slide-toggle__track {
|
|
23
|
+
background-color: var(--eui-c-secondary-border);
|
|
24
|
+
border-radius: var(--eui-br-max);
|
|
25
|
+
height: 1.25rem; width: 2.5rem; position: relative;
|
|
26
|
+
transition: background-color 0.2s;
|
|
27
|
+
}
|
|
28
|
+
:host([is-checked]) .eui-slide-toggle__track { background-color: var(--eui-c-primary); }
|
|
29
|
+
.eui-slide-toggle__thumb {
|
|
30
|
+
background-color: var(--eui-c-white);
|
|
31
|
+
border-radius: var(--eui-br-max);
|
|
32
|
+
height: 1rem; width: 1rem;
|
|
33
|
+
position: absolute; top: 0.125rem; left: 0.125rem;
|
|
34
|
+
transition: transform 0.2s;
|
|
35
|
+
}
|
|
36
|
+
:host([is-checked]) .eui-slide-toggle__thumb { transform: translateX(1.25rem); }
|
|
37
|
+
.eui-slide-toggle__label { font: var(--eui-f-m); }
|
|
38
|
+
`; }
|
|
39
|
+
updated(changed) {
|
|
40
|
+
if (changed.has('isChecked'))
|
|
41
|
+
this._internal = this.isChecked;
|
|
42
|
+
}
|
|
43
|
+
_toggle() {
|
|
44
|
+
if (this.disabled)
|
|
45
|
+
return;
|
|
46
|
+
this._internal = !this._internal;
|
|
47
|
+
this.isChecked = this._internal;
|
|
48
|
+
this.dispatchEvent(new CustomEvent('eui-change', { detail: this._internal, bubbles: true, composed: true }));
|
|
49
|
+
this.dispatchEvent(new CustomEvent('eui-toggle', { detail: this._internal, bubbles: true, composed: true }));
|
|
50
|
+
}
|
|
51
|
+
render() {
|
|
52
|
+
return html `
|
|
53
|
+
<div
|
|
54
|
+
class="eui-slide-toggle__track"
|
|
55
|
+
role="switch"
|
|
56
|
+
tabindex="0"
|
|
57
|
+
aria-checked=${this._internal ? 'true' : 'false'}
|
|
58
|
+
aria-label=${this.ariaLabel ?? this.label ?? 'Toggle'}
|
|
59
|
+
@click=${this._toggle}
|
|
60
|
+
@keydown=${(e) => { if (e.key === ' ' || e.key === 'Enter') {
|
|
61
|
+
e.preventDefault();
|
|
62
|
+
this._toggle();
|
|
63
|
+
} }}
|
|
64
|
+
>
|
|
65
|
+
<div class="eui-slide-toggle__thumb"></div>
|
|
66
|
+
</div>
|
|
67
|
+
${this.label ? html `<span class="eui-slide-toggle__label"><slot>${this.label}</slot></span>` : html `<slot></slot>`}
|
|
68
|
+
`;
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
__decorate([
|
|
72
|
+
property({ attribute: 'is-checked', type: Boolean, reflect: true })
|
|
73
|
+
], EuiWcSlideToggle.prototype, "isChecked", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
property({ type: Boolean, reflect: true })
|
|
76
|
+
], EuiWcSlideToggle.prototype, "disabled", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
property()
|
|
79
|
+
], EuiWcSlideToggle.prototype, "label", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
property({ attribute: 'aria-label', reflect: true })
|
|
82
|
+
], EuiWcSlideToggle.prototype, "ariaLabel", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
property({ attribute: 'data-e2e' })
|
|
85
|
+
], EuiWcSlideToggle.prototype, "e2eAttr", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
state()
|
|
88
|
+
], EuiWcSlideToggle.prototype, "_internal", void 0);
|
|
89
|
+
EuiWcSlideToggle = __decorate([
|
|
90
|
+
customElement('eui-wc-slide-toggle')
|
|
91
|
+
], EuiWcSlideToggle);
|
|
92
|
+
export { EuiWcSlideToggle };
|
|
93
|
+
//# sourceMappingURL=eui-wc-slide-toggle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-slide-toggle.js","sourceRoot":"","sources":["../../src/eui-slide-toggle/eui-wc-slide-toggle.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAEnE,kFAAkF;AAE3E,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAsBkE,cAAS,GAAG,KAAK,CAAC;QAC3C,aAAQ,GAAG,KAAK,CAAC;QAEE,cAAS,GAAkB,IAAI,CAAC;QAC1D,YAAO,GAAG,qBAAqB,CAAC;QAEpD,cAAS,GAAG,KAAK,CAAC;IA8BvC,CAAC;aAzDmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;KAmB3B,AAnBqB,CAmBpB;IAUO,OAAO,CAAC,OAA6B;QAC1C,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC;YAAE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;IAClE,CAAC;IAEO,OAAO;QACX,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO;QAC1B,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;QACjC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAC7G,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACjH,CAAC;IAEQ,MAAM;QACX,OAAO,IAAI,CAAA;;;;;+BAKY,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;6BACnC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,KAAK,IAAI,QAAQ;yBAC5C,IAAI,CAAC,OAAO;2BACV,CAAC,CAAgB,EAAE,EAAE,GAAG,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,EAAE,CAAC;YAAC,CAAC,CAAC,cAAc,EAAE,CAAC;YAAC,IAAI,CAAC,OAAO,EAAE,CAAC;QAAC,CAAC,CAAC,CAAC;;;;cAItH,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA,+CAA+C,IAAI,CAAC,KAAK,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAA,eAAe;SACrH,CAAC;IACN,CAAC;;AAnCoE;IAApE,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAAmB;AAC3C;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAAkB;AACjD;IAAX,QAAQ,EAAE;+CAAgB;AACoC;IAA9D,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAA0C;AAC1D;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;iDAAiC;AAEpD;IAAhB,KAAK,EAAE;mDAA2B;AA5B1B,gBAAgB;IAD5B,aAAa,CAAC,qBAAqB,CAAC;GACxB,gBAAgB,CA0D5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-slide-toggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-slide-toggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class EuiWcSlider extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
value: number;
|
|
5
|
+
min: number;
|
|
6
|
+
max: number;
|
|
7
|
+
step: number;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
showValue: boolean;
|
|
10
|
+
e2eAttr: string;
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
'eui-wc-slider': EuiWcSlider;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=eui-wc-slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-slider.d.ts","sourceRoot":"","sources":["../../src/eui-slider/eui-wc-slider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,qBACa,WAAY,SAAQ,UAAU;IACvC,OAAgB,MAAM,0BAIpB;IAC0B,KAAK,SAAK;IACV,GAAG,SAAK;IACR,GAAG,SAAO;IACV,IAAI,SAAK;IACO,QAAQ,UAAS;IACP,SAAS,UAAQ;IAClC,OAAO,SAAmB;IACtD,MAAM;CAMlB;AAED,OAAO,CAAC,MAAM,CAAC;IAAE,UAAU,qBAAqB;QAAG,eAAe,EAAE,WAAW,CAAC;KAAE;CAAE"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 EuiWcSlider = class EuiWcSlider extends LitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.value = 0;
|
|
13
|
+
this.min = 0;
|
|
14
|
+
this.max = 100;
|
|
15
|
+
this.step = 1;
|
|
16
|
+
this.disabled = false;
|
|
17
|
+
this.showValue = true;
|
|
18
|
+
this.e2eAttr = 'eui-wc-slider';
|
|
19
|
+
}
|
|
20
|
+
static { this.styles = css `
|
|
21
|
+
:host { display: flex; flex-direction: column; gap: var(--eui-s-xs); width: 100%; }
|
|
22
|
+
input[type=range] { accent-color: var(--eui-c-primary); width: 100%; }
|
|
23
|
+
.eui-slider__value { font: var(--eui-f-s); color: var(--eui-c-text-light); text-align: right; }
|
|
24
|
+
`; }
|
|
25
|
+
render() {
|
|
26
|
+
return html `
|
|
27
|
+
<input type="range" .value=${String(this.value)} min=${this.min} max=${this.max} step=${this.step} ?disabled=${this.disabled} @input=${(e) => { this.value = Number(e.target.value); this.dispatchEvent(new CustomEvent('eui-change', { detail: this.value, bubbles: true, composed: true })); }} aria-valuenow=${this.value} aria-valuemin=${this.min} aria-valuemax=${this.max} />
|
|
28
|
+
${this.showValue ? html `<div class="eui-slider__value">${this.value}</div>` : ''}
|
|
29
|
+
`;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
__decorate([
|
|
33
|
+
property({ type: Number })
|
|
34
|
+
], EuiWcSlider.prototype, "value", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
property({ type: Number })
|
|
37
|
+
], EuiWcSlider.prototype, "min", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
property({ type: Number })
|
|
40
|
+
], EuiWcSlider.prototype, "max", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
property({ type: Number })
|
|
43
|
+
], EuiWcSlider.prototype, "step", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
property({ type: Boolean, reflect: true })
|
|
46
|
+
], EuiWcSlider.prototype, "disabled", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
property({ attribute: 'show-value', type: Boolean })
|
|
49
|
+
], EuiWcSlider.prototype, "showValue", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
property({ attribute: 'data-e2e' })
|
|
52
|
+
], EuiWcSlider.prototype, "e2eAttr", void 0);
|
|
53
|
+
EuiWcSlider = __decorate([
|
|
54
|
+
customElement('eui-wc-slider')
|
|
55
|
+
], EuiWcSlider);
|
|
56
|
+
export { EuiWcSlider };
|
|
57
|
+
//# sourceMappingURL=eui-wc-slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-slider.js","sourceRoot":"","sources":["../../src/eui-slider/eui-wc-slider.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGrD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,UAAU;IAApC;;QAMyB,UAAK,GAAG,CAAC,CAAC;QACV,QAAG,GAAG,CAAC,CAAC;QACR,QAAG,GAAG,GAAG,CAAC;QACV,SAAI,GAAG,CAAC,CAAC;QACO,aAAQ,GAAG,KAAK,CAAC;QACP,cAAS,GAAG,IAAI,CAAC;QAClC,YAAO,GAAG,eAAe,CAAC;IAOnE,CAAC;aAlBmB,WAAM,GAAG,GAAG,CAAA;;;;KAI3B,AAJqB,CAIpB;IAQO,MAAM;QACX,OAAO,IAAI,CAAA;yCACsB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,CAAC,GAAG,QAAQ,IAAI,CAAC,GAAG,SAAS,IAAI,CAAC,IAAI,cAAc,IAAI,CAAC,QAAQ,WAAW,CAAC,CAAQ,EAAE,EAAE,GAAG,IAAI,CAAC,KAAK,GAAG,MAAM,CAAE,CAAC,CAAC,MAA2B,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,kBAAkB,IAAI,CAAC,KAAK,kBAAkB,IAAI,CAAC,GAAG,kBAAkB,IAAI,CAAC,GAAG;cAC3Y,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA,kCAAkC,IAAI,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE;SACnF,CAAC;IACN,CAAC;;AAZ2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CAAW;AACV;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wCAAS;AACR;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wCAAW;AACV;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yCAAU;AACO;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CAAkB;AACP;IAArD,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8CAAkB;AAClC;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;4CAA2B;AAZtD,WAAW;IADvB,aAAa,CAAC,eAAe,CAAC;GAClB,WAAW,CAmBvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class EuiWcSplitButton extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
interface HTMLElementTagNameMap {
|
|
8
|
+
'eui-wc-split-button': EuiWcSplitButton;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=eui-wc-split-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-split-button.d.ts","sourceRoot":"","sources":["../../src/eui-split-button/eui-wc-split-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,qBACa,gBAAiB,SAAQ,UAAU;IAC5C,OAAgB,MAAM,0BAA8D;IAC3E,MAAM;CAClB;AAED,OAAO,CAAC,MAAM,CAAC;IAAE,UAAU,qBAAqB;QAAG,qBAAqB,EAAE,gBAAgB,CAAC;KAAE;CAAE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 } from 'lit/decorators.js';
|
|
9
|
+
let EuiWcSplitButton = class EuiWcSplitButton extends LitElement {
|
|
10
|
+
static { this.styles = css `:host { display: inline-flex; align-items: stretch; }`; }
|
|
11
|
+
render() { return html `<slot></slot>`; }
|
|
12
|
+
};
|
|
13
|
+
EuiWcSplitButton = __decorate([
|
|
14
|
+
customElement('eui-wc-split-button')
|
|
15
|
+
], EuiWcSplitButton);
|
|
16
|
+
export { EuiWcSplitButton };
|
|
17
|
+
//# sourceMappingURL=eui-wc-split-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-split-button.js","sourceRoot":"","sources":["../../src/eui-split-button/eui-wc-split-button.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAG3C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;aAC5B,WAAM,GAAG,GAAG,CAAA,uDAAuD,AAA7D,CAA8D;IAC3E,MAAM,KAAK,OAAO,IAAI,CAAA,eAAe,CAAC,CAAC,CAAC;;AAFxC,gBAAgB;IAD5B,aAAa,CAAC,qBAAqB,CAAC;GACxB,gBAAgB,CAG5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-split-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-split-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type EuiWcStatusBadgeColor = 'primary' | 'neutral' | 'info' | 'success' | 'warning' | 'critical';
|
|
3
|
+
export declare class EuiWcStatusBadge extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
color: EuiWcStatusBadgeColor;
|
|
6
|
+
label?: string;
|
|
7
|
+
e2eAttr: string;
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
'eui-wc-status-badge': EuiWcStatusBadge;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=eui-wc-status-badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-status-badge.d.ts","sourceRoot":"","sources":["../../src/eui-status-badge/eui-wc-status-badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAExG,qBACa,gBAAiB,SAAQ,UAAU;IAC5C,OAAgB,MAAM,0BAYpB;IAC2B,KAAK,EAAE,qBAAqB,CAAa;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACU,OAAO,SAAyB;IAC5D,MAAM;CAGlB;AAED,OAAO,CAAC,MAAM,CAAC;IAAE,UAAU,qBAAqB;QAAG,qBAAqB,EAAE,gBAAgB,CAAC;KAAE;CAAE"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 EuiWcStatusBadge = class EuiWcStatusBadge extends LitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.color = 'neutral';
|
|
13
|
+
this.e2eAttr = 'eui-wc-status-badge';
|
|
14
|
+
}
|
|
15
|
+
static { this.styles = css `
|
|
16
|
+
:host {
|
|
17
|
+
--_bg: var(--eui-c-secondary-surface-light); --_fg: var(--eui-c-secondary-on-surface-light);
|
|
18
|
+
align-items: center; background: var(--_bg); border-radius: var(--eui-br-max); color: var(--_fg); display: inline-flex; font: var(--eui-f-s-semi-bold); gap: var(--eui-s-3xs); padding: 1px var(--eui-s-xs);
|
|
19
|
+
}
|
|
20
|
+
:host([color='primary']) { --_bg: var(--eui-c-primary-surface); --_fg: var(--eui-c-primary-on-surface); }
|
|
21
|
+
:host([color='neutral']) { --_bg: var(--eui-c-secondary-surface-light); --_fg: var(--eui-c-secondary-on-surface-light); }
|
|
22
|
+
:host([color='info']) { --_bg: var(--eui-c-info-surface); --_fg: var(--eui-c-info-on-surface); }
|
|
23
|
+
:host([color='success']) { --_bg: var(--eui-c-success-surface); --_fg: var(--eui-c-success-on-surface); }
|
|
24
|
+
:host([color='warning']) { --_bg: var(--eui-c-warning-surface); --_fg: var(--eui-c-warning-on-surface); }
|
|
25
|
+
:host([color='critical']) { --_bg: var(--eui-c-danger-surface); --_fg: var(--eui-c-danger-on-surface); }
|
|
26
|
+
.dot { border-radius: 50%; height: 0.5rem; width: 0.5rem; background: currentColor; }
|
|
27
|
+
`; }
|
|
28
|
+
render() {
|
|
29
|
+
return html `<span class="dot"></span><slot>${this.label ?? ''}</slot>`;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
__decorate([
|
|
33
|
+
property({ reflect: true })
|
|
34
|
+
], EuiWcStatusBadge.prototype, "color", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
property()
|
|
37
|
+
], EuiWcStatusBadge.prototype, "label", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
property({ attribute: 'data-e2e' })
|
|
40
|
+
], EuiWcStatusBadge.prototype, "e2eAttr", void 0);
|
|
41
|
+
EuiWcStatusBadge = __decorate([
|
|
42
|
+
customElement('eui-wc-status-badge')
|
|
43
|
+
], EuiWcStatusBadge);
|
|
44
|
+
export { EuiWcStatusBadge };
|
|
45
|
+
//# sourceMappingURL=eui-wc-status-badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-status-badge.js","sourceRoot":"","sources":["../../src/eui-status-badge/eui-wc-status-badge.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAKrD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAc0B,UAAK,GAA0B,SAAS,CAAC;QAEjC,YAAO,GAAG,qBAAqB,CAAC;IAIzE,CAAC;aAnBmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;KAY3B,AAZqB,CAYpB;IAIO,MAAM;QACX,OAAO,IAAI,CAAA,kCAAkC,IAAI,CAAC,KAAK,IAAI,EAAE,SAAS,CAAC;IAC3E,CAAC;;AAL4B;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CAA0C;AAC1D;IAAX,QAAQ,EAAE;+CAAgB;AACU;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;iDAAiC;AAhB5D,gBAAgB;IAD5B,aAAa,CAAC,qBAAqB,CAAC;GACxB,gBAAgB,CAoB5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-status-badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-status-badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAA8B,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface EuiWcTableColumn<T = Record<string, unknown>> {
|
|
3
|
+
field: keyof T;
|
|
4
|
+
header: string;
|
|
5
|
+
align?: 'left' | 'center' | 'right';
|
|
6
|
+
sortFn?: (a: T, b: T) => number;
|
|
7
|
+
cell?: (row: T) => unknown;
|
|
8
|
+
}
|
|
9
|
+
export declare class EuiWcTable extends LitElement {
|
|
10
|
+
static styles: import("lit").CSSResult;
|
|
11
|
+
data: Record<string, unknown>[];
|
|
12
|
+
columns: EuiWcTableColumn[];
|
|
13
|
+
isTableBordered: boolean;
|
|
14
|
+
isTableCompact: boolean;
|
|
15
|
+
isSelectable: boolean;
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
noDataTemplate?: unknown;
|
|
18
|
+
e2eAttr: string;
|
|
19
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'eui-wc-table': EuiWcTable;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=eui-wc-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-table.d.ts","sourceRoot":"","sources":["../../src/eui-table/eui-wc-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,MAAM,WAAW,gBAAgB,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACzD,KAAK,EAAE,MAAM,CAAC,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,MAAM,CAAC;IAChC,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,OAAO,CAAC;CAC9B;AAED,qBACa,UAAW,SAAQ,UAAU;IACtC,OAAgB,MAAM,0BAYpB;IAEyB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAM;IACrC,OAAO,EAAE,gBAAgB,EAAE,CAAM;IACgB,eAAe,UAAS;IACzB,cAAc,UAAS;IACzC,YAAY,UAAS;IACT,SAAS,UAAS;IAC1C,cAAc,CAAC,EAAE,OAAO,CAAC;IACjC,OAAO,SAAkB;IAErD,MAAM;CAsBlB;AAED,OAAO,CAAC,MAAM,CAAC;IAAE,UAAU,qBAAqB;QAAG,cAAc,EAAE,UAAU,CAAC;KAAE;CAAE"}
|