@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,84 @@
|
|
|
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 EuiWcTable = class EuiWcTable extends LitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.data = [];
|
|
13
|
+
this.columns = [];
|
|
14
|
+
this.isTableBordered = false;
|
|
15
|
+
this.isTableCompact = false;
|
|
16
|
+
this.isSelectable = false;
|
|
17
|
+
this.isLoading = false;
|
|
18
|
+
this.e2eAttr = 'eui-wc-table';
|
|
19
|
+
}
|
|
20
|
+
static { this.styles = css `
|
|
21
|
+
:host { display: block; overflow-x: auto; }
|
|
22
|
+
table { border-collapse: collapse; font: var(--eui-f-m); width: 100%; }
|
|
23
|
+
th, td { border-bottom: 1px solid var(--eui-c-divider); padding: var(--eui-s-xs) var(--eui-s-m); text-align: left; }
|
|
24
|
+
th { font: var(--eui-f-s-semi-bold); background: var(--eui-c-surface-page); cursor: default; }
|
|
25
|
+
th[data-sortable] { cursor: pointer; }
|
|
26
|
+
th[data-sortable]:hover { background: var(--eui-c-hover); }
|
|
27
|
+
tr:hover td { background: var(--eui-c-hover); }
|
|
28
|
+
:host([is-table-bordered]) th, :host([is-table-bordered]) td { border: 1px solid var(--eui-c-divider); }
|
|
29
|
+
:host([is-table-compact]) th, :host([is-table-compact]) td { padding: var(--eui-s-3xs) var(--eui-s-s); }
|
|
30
|
+
:host([is-loading]) .loading-row td { text-align: center; color: var(--eui-c-text-light); }
|
|
31
|
+
tr[data-selected] td { background: var(--eui-c-primary-surface-light); }
|
|
32
|
+
`; }
|
|
33
|
+
render() {
|
|
34
|
+
return html `
|
|
35
|
+
<table role="grid">
|
|
36
|
+
<thead>
|
|
37
|
+
<tr>
|
|
38
|
+
${this.isSelectable ? html `<th><input type="checkbox" @change=${(e) => this.dispatchEvent(new CustomEvent('eui-selection-all', { detail: e.target.checked, bubbles: true, composed: true }))} /></th>` : ''}
|
|
39
|
+
${this.columns.map((c) => html `<th style="text-align:${c.align ?? 'left'}" ?data-sortable=${!!c.sortFn}>${c.header}</th>`)}
|
|
40
|
+
</tr>
|
|
41
|
+
</thead>
|
|
42
|
+
<tbody>
|
|
43
|
+
${this.isLoading ? html `<tr class="loading-row"><td colspan=${this.columns.length + (this.isSelectable ? 1 : 0)}>Loading…</td></tr>`
|
|
44
|
+
: this.data.length === 0 ? html `<tr><td colspan=${this.columns.length + (this.isSelectable ? 1 : 0)}>${this.noDataTemplate ?? 'No data'}</td></tr>`
|
|
45
|
+
: this.data.map((row) => html `
|
|
46
|
+
<tr>
|
|
47
|
+
${this.isSelectable ? html `<td><input type="checkbox" @change=${(e) => this.dispatchEvent(new CustomEvent('eui-selection-change', { detail: { row, checked: e.target.checked }, bubbles: true, composed: true }))} /></td>` : ''}
|
|
48
|
+
${this.columns.map((c) => html `<td style="text-align:${c.align ?? 'left'}">${c.cell ? c.cell(row) : String(row[c.field] ?? '')}</td>`)}
|
|
49
|
+
</tr>
|
|
50
|
+
`)}
|
|
51
|
+
</tbody>
|
|
52
|
+
</table>
|
|
53
|
+
`;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
__decorate([
|
|
57
|
+
property({ type: Array })
|
|
58
|
+
], EuiWcTable.prototype, "data", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
property({ type: Array })
|
|
61
|
+
], EuiWcTable.prototype, "columns", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
property({ attribute: 'is-table-bordered', type: Boolean, reflect: true })
|
|
64
|
+
], EuiWcTable.prototype, "isTableBordered", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
property({ attribute: 'is-table-compact', type: Boolean, reflect: true })
|
|
67
|
+
], EuiWcTable.prototype, "isTableCompact", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
property({ attribute: 'is-selectable', type: Boolean })
|
|
70
|
+
], EuiWcTable.prototype, "isSelectable", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
property({ attribute: 'is-loading', type: Boolean, reflect: true })
|
|
73
|
+
], EuiWcTable.prototype, "isLoading", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
property({ attribute: 'no-data-template' })
|
|
76
|
+
], EuiWcTable.prototype, "noDataTemplate", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
property({ attribute: 'data-e2e' })
|
|
79
|
+
], EuiWcTable.prototype, "e2eAttr", void 0);
|
|
80
|
+
EuiWcTable = __decorate([
|
|
81
|
+
customElement('eui-wc-table')
|
|
82
|
+
], EuiWcTable);
|
|
83
|
+
export { EuiWcTable };
|
|
84
|
+
//# sourceMappingURL=eui-wc-table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-table.js","sourceRoot":"","sources":["../../src/eui-table/eui-wc-table.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;AAWrD,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,UAAU;IAAnC;;QAewB,SAAI,GAA8B,EAAE,CAAC;QACrC,YAAO,GAAuB,EAAE,CAAC;QACgB,oBAAe,GAAG,KAAK,CAAC;QACzB,mBAAc,GAAG,KAAK,CAAC;QACzC,iBAAY,GAAG,KAAK,CAAC;QACT,cAAS,GAAG,KAAK,CAAC;QAElD,YAAO,GAAG,cAAc,CAAC;IAwBlE,CAAC;aA7CmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;KAY3B,AAZqB,CAYpB;IAWO,MAAM;QACX,OAAO,IAAI,CAAA;;;;0BAIO,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAA,sCAAsC,CAAC,CAAQ,EAAE,EAAE,C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
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAyB,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type EuiWcTabsSize = 's' | 'm' | 'l';
|
|
3
|
+
export type EuiWcTabsVariant = 'default' | 'flat' | 'pills';
|
|
4
|
+
/** `EuiWcTabs` — Lit WC projection of `eui-tabs`. */
|
|
5
|
+
export declare class EuiWcTabs extends LitElement {
|
|
6
|
+
static styles: import("lit").CSSResult;
|
|
7
|
+
size: EuiWcTabsSize;
|
|
8
|
+
variant: EuiWcTabsVariant;
|
|
9
|
+
tabs: Array<{
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
activeTabId?: string;
|
|
15
|
+
e2eAttr: string;
|
|
16
|
+
private _activeId;
|
|
17
|
+
updated(changed: Map<string, unknown>): void;
|
|
18
|
+
private _select;
|
|
19
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'eui-wc-tabs': EuiWcTabs;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=eui-wc-tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-tabs.d.ts","sourceRoot":"","sources":["../../src/eui-tabs/eui-wc-tabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,MAAM,MAAM,aAAa,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAC5C,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;AAE5D,qDAAqD;AACrD,qBACa,SAAU,SAAQ,UAAU;IACrC,OAAgB,MAAM,0BAOpB;IAE2B,IAAI,EAAE,aAAa,CAAO;IAC1B,OAAO,EAAE,gBAAgB,CAAa;IACxC,IAAI,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAM;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,SAAiB;IAEpD,OAAO,CAAC,SAAS,CAAM;IAEvB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM9C,OAAO,CAAC,OAAO;IAKN,MAAM;CAmBlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,aAAa,EAAE,SAAS,CAAC;KAAE;CAChE"}
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
/** `EuiWcTabs` — Lit WC projection of `eui-tabs`. */
|
|
10
|
+
let EuiWcTabs = class EuiWcTabs extends LitElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.size = 'm';
|
|
14
|
+
this.variant = 'default';
|
|
15
|
+
this.tabs = [];
|
|
16
|
+
this.e2eAttr = 'eui-wc-tabs';
|
|
17
|
+
this._activeId = '';
|
|
18
|
+
}
|
|
19
|
+
static { this.styles = css `
|
|
20
|
+
:host { display: flex; flex-direction: column; width: 100%; }
|
|
21
|
+
.eui-tabs__nav { display: flex; border-bottom: 1px solid var(--eui-c-divider); gap: var(--eui-s-xs); list-style: none; margin: 0; padding: 0; }
|
|
22
|
+
.eui-tabs__tab { background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; font: var(--eui-f-m); padding: var(--eui-s-xs) var(--eui-s-m); position: relative; bottom: -1px; color: var(--eui-c-text-light); }
|
|
23
|
+
.eui-tabs__tab[aria-selected='true'] { border-bottom-color: var(--eui-c-primary); color: var(--eui-c-primary); font: var(--eui-f-m-semi-bold); }
|
|
24
|
+
.eui-tabs__tab:hover { color: var(--eui-c-text); }
|
|
25
|
+
.eui-tabs__panel { padding: var(--eui-s-m) 0; }
|
|
26
|
+
`; }
|
|
27
|
+
updated(changed) {
|
|
28
|
+
if (changed.has('activeTabId') || changed.has('tabs')) {
|
|
29
|
+
this._activeId = this.activeTabId ?? this.tabs[0]?.id ?? '';
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
_select(id) {
|
|
33
|
+
this._activeId = id;
|
|
34
|
+
this.dispatchEvent(new CustomEvent('eui-tab-change', { detail: id, bubbles: true, composed: true }));
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
return html `
|
|
38
|
+
<nav class="eui-tabs__nav" role="tablist">
|
|
39
|
+
${this.tabs.map((t) => html `
|
|
40
|
+
<button
|
|
41
|
+
class="eui-tabs__tab"
|
|
42
|
+
role="tab"
|
|
43
|
+
aria-selected=${t.id === this._activeId ? 'true' : 'false'}
|
|
44
|
+
?disabled=${t.disabled}
|
|
45
|
+
@click=${() => this._select(t.id)}
|
|
46
|
+
>${t.label}</button>
|
|
47
|
+
`)}
|
|
48
|
+
</nav>
|
|
49
|
+
<div class="eui-tabs__panel" role="tabpanel">
|
|
50
|
+
<slot name=${this._activeId}></slot>
|
|
51
|
+
<slot></slot>
|
|
52
|
+
</div>
|
|
53
|
+
`;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
__decorate([
|
|
57
|
+
property({ reflect: true })
|
|
58
|
+
], EuiWcTabs.prototype, "size", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
property({ reflect: true })
|
|
61
|
+
], EuiWcTabs.prototype, "variant", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
property({ type: Array })
|
|
64
|
+
], EuiWcTabs.prototype, "tabs", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
property({ attribute: 'active-tab-id' })
|
|
67
|
+
], EuiWcTabs.prototype, "activeTabId", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
property({ attribute: 'data-e2e' })
|
|
70
|
+
], EuiWcTabs.prototype, "e2eAttr", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
state()
|
|
73
|
+
], EuiWcTabs.prototype, "_activeId", void 0);
|
|
74
|
+
EuiWcTabs = __decorate([
|
|
75
|
+
customElement('eui-wc-tabs')
|
|
76
|
+
], EuiWcTabs);
|
|
77
|
+
export { EuiWcTabs };
|
|
78
|
+
//# sourceMappingURL=eui-wc-tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-tabs.js","sourceRoot":"","sources":["../../src/eui-tabs/eui-wc-tabs.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;A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;AArC4B;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uCAA2B;AAC1B;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CAAuC;AACxC;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;uCAAqE;AACrD;IAAzC,QAAQ,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;8CAAsB;AAC1B;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;0CAAyB;AAE5C;IAAhB,KAAK,EAAE;4CAAwB;AAhBvB,SAAS;IADrB,aAAa,CAAC,aAAa,CAAC;GAChB,SAAS,CAgDrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA6C,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/** `EuiWcTextarea` — Lit WC projection of `eui-textarea`. */
|
|
3
|
+
export declare class EuiWcTextarea extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
value: string;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
isInvalid: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
rows: number;
|
|
10
|
+
e2eAttr: string;
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
'eui-wc-textarea': EuiWcTextarea;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=eui-wc-textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-textarea.d.ts","sourceRoot":"","sources":["../../src/eui-textarea/eui-wc-textarea.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAGrD,6DAA6D;AAC7D,qBACa,aAAc,SAAQ,UAAU;IACzC,OAAgB,MAAM,0BAgBpB;IAEU,KAAK,SAAM;IACX,WAAW,SAAM;IACwC,SAAS,UAAS;IAC3C,QAAQ,UAAS;IACjC,IAAI,SAAK;IACA,OAAO,SAAqB;IAExD,MAAM;CAGlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,iBAAiB,EAAE,aAAa,CAAC;KAAE;CACxE"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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, nothing } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
/** `EuiWcTextarea` — Lit WC projection of `eui-textarea`. */
|
|
10
|
+
let EuiWcTextarea = class EuiWcTextarea extends LitElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.value = '';
|
|
14
|
+
this.placeholder = '';
|
|
15
|
+
this.isInvalid = false;
|
|
16
|
+
this.disabled = false;
|
|
17
|
+
this.rows = 4;
|
|
18
|
+
this.e2eAttr = 'eui-wc-textarea';
|
|
19
|
+
}
|
|
20
|
+
static { this.styles = css `
|
|
21
|
+
:host { display: flex; width: 100%; }
|
|
22
|
+
.eui-textarea {
|
|
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
|
+
min-height: 80px;
|
|
29
|
+
padding: var(--eui-s-xs) var(--eui-s-m);
|
|
30
|
+
resize: vertical;
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
.eui-textarea:focus { border-color: var(--eui-c-primary); outline: none; }
|
|
34
|
+
:host([is-invalid]) .eui-textarea { border-color: var(--eui-c-danger); }
|
|
35
|
+
:host([disabled]) .eui-textarea { opacity: var(--eui-o-50); cursor: not-allowed; }
|
|
36
|
+
`; }
|
|
37
|
+
render() {
|
|
38
|
+
return html `<textarea class="eui-textarea" .value=${this.value} placeholder=${this.placeholder} rows=${this.rows} ?disabled=${this.disabled} aria-invalid=${this.isInvalid ? 'true' : nothing} @input=${(e) => { this.value = e.target.value; this.dispatchEvent(new CustomEvent('eui-input', { detail: this.value, bubbles: true, composed: true })); }}></textarea>`;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
__decorate([
|
|
42
|
+
property()
|
|
43
|
+
], EuiWcTextarea.prototype, "value", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
property()
|
|
46
|
+
], EuiWcTextarea.prototype, "placeholder", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
property({ attribute: 'is-invalid', type: Boolean, reflect: true })
|
|
49
|
+
], EuiWcTextarea.prototype, "isInvalid", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
property({ type: Boolean, reflect: true })
|
|
52
|
+
], EuiWcTextarea.prototype, "disabled", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
property({ type: Number })
|
|
55
|
+
], EuiWcTextarea.prototype, "rows", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
property({ attribute: 'data-e2e' })
|
|
58
|
+
], EuiWcTextarea.prototype, "e2eAttr", void 0);
|
|
59
|
+
EuiWcTextarea = __decorate([
|
|
60
|
+
customElement('eui-wc-textarea')
|
|
61
|
+
], EuiWcTextarea);
|
|
62
|
+
export { EuiWcTextarea };
|
|
63
|
+
//# sourceMappingURL=eui-wc-textarea.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-textarea.js","sourceRoot":"","sources":["../../src/eui-textarea/eui-wc-textarea.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE5D,6DAA6D;AAEtD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,UAAU;IAAtC;;QAmBS,UAAK,GAAG,EAAE,CAAC;QACX,gBAAW,GAAG,EAAE,CAAC;QACwC,cAAS,GAAG,KAAK,CAAC;QAC3C,aAAQ,GAAG,KAAK,CAAC;QACjC,SAAI,GAAG,CAAC,CAAC;QACA,YAAO,GAAG,iBAAiB,CAAC;IAKrE,CAAC;aA5BmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;KAgB3B,AAhBqB,CAgBpB;IASO,MAAM;QACX,OAAO,IAAI,CAAA,yCAAyC,IAAI,CAAC,KAAK,gBAAgB,IAAI,CAAC,WAAW,SAAS,IAAI,CAAC,IAAI,cAAc,IAAI,CAAC,QAAQ,iBAAiB,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,WAAW,CAAC,CAAQ,EAAE,EAAE,GAAG,IAAI,CAAC,KAAK,GAAI,CAAC,CAAC,MAA8B,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC;IAC3Y,CAAC;;AATW;IAAX,QAAQ,EAAE;4CAAY;AACX;IAAX,QAAQ,EAAE;kDAAkB;AACwC;IAApE,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gDAAmB;AAC3C;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CAAkB;AACjC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CAAU;AACA;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;8CAA6B;AAxBxD,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CA6BzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type EuiWcTimelineItemColor = 'neutral' | 'primary' | 'info' | 'success' | 'warning' | 'critical';
|
|
3
|
+
/** `EuiWcTimeline` — Lit WC projection of `eui-timeline`. */
|
|
4
|
+
export declare class EuiWcTimeline extends LitElement {
|
|
5
|
+
static styles: import("lit").CSSResult;
|
|
6
|
+
isLeftAligned: boolean;
|
|
7
|
+
e2eAttr: string;
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
/** `EuiWcTimelineItem` — individual event entry. */
|
|
11
|
+
export declare class EuiWcTimelineItem extends LitElement {
|
|
12
|
+
static styles: import("lit").CSSResult;
|
|
13
|
+
color: EuiWcTimelineItemColor;
|
|
14
|
+
isLeftAligned: boolean;
|
|
15
|
+
isGroup: boolean;
|
|
16
|
+
label?: string;
|
|
17
|
+
subLabel?: string;
|
|
18
|
+
date?: string;
|
|
19
|
+
time?: string;
|
|
20
|
+
e2eAttr: string;
|
|
21
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
22
|
+
}
|
|
23
|
+
declare global {
|
|
24
|
+
interface HTMLElementTagNameMap {
|
|
25
|
+
'eui-wc-timeline': EuiWcTimeline;
|
|
26
|
+
'eui-wc-timeline-item': EuiWcTimelineItem;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=eui-wc-timeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-timeline.d.ts","sourceRoot":"","sources":["../../src/eui-timeline/eui-wc-timeline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAGrD,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEzG,6DAA6D;AAC7D,qBACa,aAAc,SAAQ,UAAU;IACzC,OAAgB,MAAM,0BAEpB;IACwE,aAAa,UAAS;IAC3D,OAAO,SAAqB;IACxD,MAAM;CAClB;AAED,oDAAoD;AACpD,qBACa,iBAAkB,SAAQ,UAAU;IAC7C,OAAgB,MAAM,0BAgCpB;IAE2B,KAAK,EAAE,sBAAsB,CAAa;IACG,aAAa,UAAS;IAC7B,OAAO,UAAS;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACW,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACW,OAAO,SAA0B;IAE7D,MAAM;CAiBlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,iBAAiB,EAAE,aAAa,CAAC;QACjC,sBAAsB,EAAE,iBAAiB,CAAC;KAC7C;CACJ"}
|
|
@@ -0,0 +1,119 @@
|
|
|
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, nothing } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
/** `EuiWcTimeline` — Lit WC projection of `eui-timeline`. */
|
|
10
|
+
let EuiWcTimeline = class EuiWcTimeline extends LitElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.isLeftAligned = false;
|
|
14
|
+
this.e2eAttr = 'eui-wc-timeline';
|
|
15
|
+
}
|
|
16
|
+
static { this.styles = css `
|
|
17
|
+
:host { display: flex; flex-direction: column; margin: 0; padding: 0; position: relative; width: 100%; }
|
|
18
|
+
`; }
|
|
19
|
+
render() { return html `<slot></slot>`; }
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
property({ attribute: 'is-left-aligned', type: Boolean, reflect: true })
|
|
23
|
+
], EuiWcTimeline.prototype, "isLeftAligned", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
property({ attribute: 'data-e2e' })
|
|
26
|
+
], EuiWcTimeline.prototype, "e2eAttr", void 0);
|
|
27
|
+
EuiWcTimeline = __decorate([
|
|
28
|
+
customElement('eui-wc-timeline')
|
|
29
|
+
], EuiWcTimeline);
|
|
30
|
+
export { EuiWcTimeline };
|
|
31
|
+
/** `EuiWcTimelineItem` — individual event entry. */
|
|
32
|
+
let EuiWcTimelineItem = class EuiWcTimelineItem extends LitElement {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
this.color = 'neutral';
|
|
36
|
+
this.isLeftAligned = false;
|
|
37
|
+
this.isGroup = false;
|
|
38
|
+
this.e2eAttr = 'eui-wc-timeline-item';
|
|
39
|
+
}
|
|
40
|
+
static { this.styles = css `
|
|
41
|
+
:host {
|
|
42
|
+
--_eui-wc-tl-color: var(--eui-c-secondary);
|
|
43
|
+
--_eui-wc-tl-border: var(--eui-c-secondary);
|
|
44
|
+
display: flex; flex-direction: row; margin-bottom: var(--eui-s-m); width: 100%;
|
|
45
|
+
}
|
|
46
|
+
:host([color='primary']) { --_eui-wc-tl-color: var(--eui-c-primary); --_eui-wc-tl-border: var(--eui-c-primary); }
|
|
47
|
+
:host([color='info']) { --_eui-wc-tl-color: var(--eui-c-info); --_eui-wc-tl-border: var(--eui-c-info); }
|
|
48
|
+
:host([color='success']) { --_eui-wc-tl-color: var(--eui-c-success); --_eui-wc-tl-border: var(--eui-c-success); }
|
|
49
|
+
:host([color='warning']) { --_eui-wc-tl-color: var(--eui-c-warning); --_eui-wc-tl-border: var(--eui-c-warning); }
|
|
50
|
+
:host([color='critical']) { --_eui-wc-tl-color: var(--eui-c-danger); --_eui-wc-tl-border: var(--eui-c-danger); }
|
|
51
|
+
:host([is-group]) { margin-bottom: 0; }
|
|
52
|
+
.eui-timeline-item__left-content { min-width: calc(11 * var(--eui-s-m)); text-align: right; }
|
|
53
|
+
.eui-timeline-item__icon {
|
|
54
|
+
align-items: center;
|
|
55
|
+
background-color: var(--eui-c-surface-container);
|
|
56
|
+
border-color: var(--_eui-wc-tl-border);
|
|
57
|
+
border-radius: var(--eui-br-max);
|
|
58
|
+
border-style: solid;
|
|
59
|
+
border-width: 3px;
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
max-height: calc(var(--eui-s-m) + var(--eui-s-3xs));
|
|
63
|
+
margin: 0 var(--eui-s-m);
|
|
64
|
+
min-width: calc(var(--eui-s-m) + var(--eui-s-3xs));
|
|
65
|
+
position: relative;
|
|
66
|
+
}
|
|
67
|
+
.eui-timeline-item__content { color: var(--_eui-wc-tl-color); position: relative; top: calc(-1 * var(--eui-s-4xs)); width: 100%; }
|
|
68
|
+
.eui-timeline-item__title { color: var(--_eui-wc-tl-color); font: var(--eui-f-m-semi-bold); }
|
|
69
|
+
.eui-timeline-item__subtitle { color: var(--eui-c-text-light); }
|
|
70
|
+
.eui-timeline-item__date { color: var(--eui-c-text); font: var(--eui-f-m-semi-bold); }
|
|
71
|
+
.eui-timeline-item__time { color: var(--eui-c-text-light); }
|
|
72
|
+
`; }
|
|
73
|
+
render() {
|
|
74
|
+
return html `
|
|
75
|
+
${!this.isLeftAligned ? html `
|
|
76
|
+
<div class="eui-timeline-item__left-content">
|
|
77
|
+
${this.date ? html `<div class="eui-timeline-item__date">${this.date}</div>` : nothing}
|
|
78
|
+
${this.time ? html `<div class="eui-timeline-item__time">${this.time}</div>` : nothing}
|
|
79
|
+
</div>
|
|
80
|
+
` : nothing}
|
|
81
|
+
<div class="eui-timeline-item__icon"></div>
|
|
82
|
+
<div class="eui-timeline-item__content">
|
|
83
|
+
<slot>
|
|
84
|
+
${this.label ? html `<div class="eui-timeline-item__title">${this.label}</div>` : nothing}
|
|
85
|
+
${this.subLabel ? html `<div class="eui-timeline-item__subtitle">${this.subLabel}</div>` : nothing}
|
|
86
|
+
</slot>
|
|
87
|
+
</div>
|
|
88
|
+
`;
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
__decorate([
|
|
92
|
+
property({ reflect: true })
|
|
93
|
+
], EuiWcTimelineItem.prototype, "color", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
property({ attribute: 'is-left-aligned', type: Boolean, reflect: true })
|
|
96
|
+
], EuiWcTimelineItem.prototype, "isLeftAligned", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
property({ attribute: 'is-group', type: Boolean, reflect: true })
|
|
99
|
+
], EuiWcTimelineItem.prototype, "isGroup", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
property()
|
|
102
|
+
], EuiWcTimelineItem.prototype, "label", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
property({ attribute: 'sub-label' })
|
|
105
|
+
], EuiWcTimelineItem.prototype, "subLabel", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
property()
|
|
108
|
+
], EuiWcTimelineItem.prototype, "date", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
property()
|
|
111
|
+
], EuiWcTimelineItem.prototype, "time", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
property({ attribute: 'data-e2e' })
|
|
114
|
+
], EuiWcTimelineItem.prototype, "e2eAttr", void 0);
|
|
115
|
+
EuiWcTimelineItem = __decorate([
|
|
116
|
+
customElement('eui-wc-timeline-item')
|
|
117
|
+
], EuiWcTimelineItem);
|
|
118
|
+
export { EuiWcTimelineItem };
|
|
119
|
+
//# sourceMappingURL=eui-wc-timeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-timeline.js","sourceRoot":"","sources":["../../src/eui-timeline/eui-wc-timeline.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG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I,QAAQ,CAAC,CAAC,CAAC,OAAO;;aAE5F,CAAC,CAAC,CAAC,OAAO;;;;sBAID,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA,yCAAyC,IAAI,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO;sBACtF,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAA,4CAA4C,IAAI,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,OAAO;;;SAG5G,CAAC;IACN,CAAC;;AAzB4B;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gDAA2C;AACG;IAAzE,QAAQ,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wDAAuB;AAC7B;IAAlE,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAAiB;AACvE;IAAX,QAAQ,EAAE;gDAAgB;AACW;IAArC,QAAQ,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;mDAAmB;AAC5C;IAAX,QAAQ,EAAE;+CAAe;AACd;IAAX,QAAQ,EAAE;+CAAe;AACW;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;kDAAkC;AA1C7D,iBAAiB;IAD7B,aAAa,CAAC,sBAAsB,CAAC;GACzB,iBAAiB,CA6D7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAA+B,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../eui-icon/eui-wc-icon.js';
|
|
3
|
+
export interface EuiWcTimeValue {
|
|
4
|
+
hours: number;
|
|
5
|
+
minutes: number;
|
|
6
|
+
seconds?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare class EuiWcTimepicker extends LitElement {
|
|
9
|
+
static styles: import("lit").CSSResult;
|
|
10
|
+
value?: EuiWcTimeValue;
|
|
11
|
+
hasSeconds: boolean;
|
|
12
|
+
stepHours: number;
|
|
13
|
+
stepMinutes: number;
|
|
14
|
+
stepSeconds: number;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
isReadonly: boolean;
|
|
17
|
+
e2eAttr: string;
|
|
18
|
+
private _h;
|
|
19
|
+
private _m;
|
|
20
|
+
private _s;
|
|
21
|
+
updated(changed: Map<string, unknown>): void;
|
|
22
|
+
private _emit;
|
|
23
|
+
private _pad;
|
|
24
|
+
private _spinner;
|
|
25
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
26
|
+
}
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'eui-wc-timepicker': EuiWcTimepicker;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=eui-wc-timepicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-timepicker.d.ts","sourceRoot":"","sources":["../../src/eui-timepicker/eui-wc-timepicker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,4BAA4B,CAAC;AAEpC,MAAM,WAAW,cAAc;IAAG,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAAE;AAErF,qBACa,eAAgB,SAAQ,UAAU;IAC3C,OAAgB,MAAM,0BAOpB;IAE8C,KAAK,CAAC,EAAE,cAAc,CAAC;IACD,UAAU,UAAS;IACpC,SAAS,SAAK;IACZ,WAAW,SAAK;IAChB,WAAW,SAAK;IAC3B,QAAQ,UAAS;IACN,UAAU,UAAS;IACrC,OAAO,SAAuB;IAC1D,OAAO,CAAC,EAAE,CAAK;IACf,OAAO,CAAC,EAAE,CAAK;IACf,OAAO,CAAC,EAAE,CAAK;IAEf,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAI9C,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,IAAI;IAEZ,OAAO,CAAC,QAAQ;IAUP,MAAM;CAQlB;AAED,OAAO,CAAC,MAAM,CAAC;IAAE,UAAU,qBAAqB;QAAG,mBAAmB,EAAE,eAAe,CAAC;KAAE;CAAE"}
|