@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,118 @@
|
|
|
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
|
+
let EuiWcAutocompleteV2 = class EuiWcAutocompleteV2 extends LitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.autocompleteData = [];
|
|
13
|
+
this.placeholder = '';
|
|
14
|
+
this.matching = 'contains';
|
|
15
|
+
this.hasChips = false;
|
|
16
|
+
this.chipsPosition = 'top';
|
|
17
|
+
this.isDisabled = false;
|
|
18
|
+
this.isLoading = false;
|
|
19
|
+
this.isOpen = false;
|
|
20
|
+
this.e2eAttr = 'eui-wc-autocomplete-v2';
|
|
21
|
+
this._query = '';
|
|
22
|
+
this._chips = [];
|
|
23
|
+
}
|
|
24
|
+
static { this.styles = css `
|
|
25
|
+
:host { display: inline-flex; flex-direction: column; position: relative; width: 100%; }
|
|
26
|
+
.chips { display: flex; flex-wrap: wrap; gap: var(--eui-s-3xs); margin-bottom: var(--eui-s-3xs); }
|
|
27
|
+
.chip { align-items: center; background: var(--eui-c-secondary-surface-light); border-radius: var(--eui-br-max); display: inline-flex; font: var(--eui-f-s); gap: var(--eui-s-3xs); padding: 1px var(--eui-s-xs); }
|
|
28
|
+
.chip button { background: none; border: none; cursor: pointer; font-size: 0.75rem; line-height: 1; padding: 0; }
|
|
29
|
+
input { background: var(--eui-c-surface-container); border: 1px solid var(--eui-c-secondary-border); border-radius: var(--eui-br-s); font: var(--eui-f-m); padding: var(--eui-s-xs) var(--eui-s-m); width: 100%; }
|
|
30
|
+
input:focus { border-color: var(--eui-c-primary); outline: none; }
|
|
31
|
+
.panel { background: var(--eui-c-white); border: 1px solid var(--eui-c-secondary-border); border-radius: var(--eui-br-s); box-shadow: var(--eui-sh-2); left: 0; max-height: 200px; overflow-y: auto; position: absolute; top: 100%; width: 100%; z-index: 100; }
|
|
32
|
+
.option { cursor: pointer; font: var(--eui-f-m); padding: var(--eui-s-xs) var(--eui-s-m); }
|
|
33
|
+
.option:hover { background: var(--eui-c-hover); }
|
|
34
|
+
.group-label { color: var(--eui-c-text-light); font: var(--eui-f-s-semi-bold); padding: var(--eui-s-2xs) var(--eui-s-m); }
|
|
35
|
+
:host(:not([is-open])) .panel { display: none; }
|
|
36
|
+
`; }
|
|
37
|
+
get _filtered() {
|
|
38
|
+
if (!this._query)
|
|
39
|
+
return this.autocompleteData;
|
|
40
|
+
const q = this._query.toLowerCase();
|
|
41
|
+
return this.autocompleteData.filter((i) => this.matching === 'startWith' ? i.label.toLowerCase().startsWith(q) : i.label.toLowerCase().includes(q));
|
|
42
|
+
}
|
|
43
|
+
_select(item) {
|
|
44
|
+
if (this.hasChips) {
|
|
45
|
+
this._chips = [...this._chips, item];
|
|
46
|
+
this._query = '';
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this._query = item.label;
|
|
50
|
+
}
|
|
51
|
+
this.isOpen = false;
|
|
52
|
+
this.dispatchEvent(new CustomEvent('eui-option-selected', { detail: item, bubbles: true, composed: true }));
|
|
53
|
+
}
|
|
54
|
+
_removeChip(item) {
|
|
55
|
+
this._chips = this._chips.filter((c) => c !== item);
|
|
56
|
+
this.dispatchEvent(new CustomEvent('eui-chip-removed', { detail: item, bubbles: true, composed: true }));
|
|
57
|
+
}
|
|
58
|
+
_renderChips() {
|
|
59
|
+
return html `<div class="chips">${this._chips.map((c) => html `<span class="chip">${c.label}<button type="button" @click=${() => this._removeChip(c)}>×</button></span>`)}</div>`;
|
|
60
|
+
}
|
|
61
|
+
_renderGrouped() {
|
|
62
|
+
const groups = {};
|
|
63
|
+
this._filtered.forEach((i) => { const g = String(i[this.groupBy] ?? ''); groups[g] = groups[g] ?? []; groups[g].push(i); });
|
|
64
|
+
return html `${Object.entries(groups).map(([g, opts]) => html `<div class="group-label">${g}</div>${opts.map((o) => html `<div class="option" role="option" @click=${() => this._select(o)}>${o.label}</div>`)}`)}`;
|
|
65
|
+
}
|
|
66
|
+
render() {
|
|
67
|
+
return html `
|
|
68
|
+
${this.hasChips && this.chipsPosition === 'top' ? this._renderChips() : ''}
|
|
69
|
+
<input placeholder=${this.placeholder} .value=${this._query} ?disabled=${this.isDisabled} @input=${(e) => { this._query = e.target.value; this.isOpen = true; }} @focus=${() => { this.isOpen = true; }} />
|
|
70
|
+
${this.hasChips && this.chipsPosition === 'bottom' ? this._renderChips() : ''}
|
|
71
|
+
<div class="panel" role="listbox">
|
|
72
|
+
${this.groupBy ? this._renderGrouped() : this._filtered.map((item) => html `<div class="option" role="option" @click=${() => this._select(item)}>${item.label}</div>`)}
|
|
73
|
+
${this.isLoading ? html `<div class="option">Loading…</div>` : ''}
|
|
74
|
+
</div>
|
|
75
|
+
`;
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
__decorate([
|
|
79
|
+
property({ type: Array })
|
|
80
|
+
], EuiWcAutocompleteV2.prototype, "autocompleteData", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
property()
|
|
83
|
+
], EuiWcAutocompleteV2.prototype, "placeholder", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
property()
|
|
86
|
+
], EuiWcAutocompleteV2.prototype, "matching", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
property({ attribute: 'group-by' })
|
|
89
|
+
], EuiWcAutocompleteV2.prototype, "groupBy", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
property({ attribute: 'has-chips', type: Boolean })
|
|
92
|
+
], EuiWcAutocompleteV2.prototype, "hasChips", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
property({ attribute: 'chips-position' })
|
|
95
|
+
], EuiWcAutocompleteV2.prototype, "chipsPosition", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
property({ attribute: 'is-disabled', type: Boolean, reflect: true })
|
|
98
|
+
], EuiWcAutocompleteV2.prototype, "isDisabled", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
property({ attribute: 'is-loading', type: Boolean, reflect: true })
|
|
101
|
+
], EuiWcAutocompleteV2.prototype, "isLoading", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
property({ attribute: 'is-open', type: Boolean, reflect: true })
|
|
104
|
+
], EuiWcAutocompleteV2.prototype, "isOpen", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
property({ attribute: 'data-e2e' })
|
|
107
|
+
], EuiWcAutocompleteV2.prototype, "e2eAttr", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
state()
|
|
110
|
+
], EuiWcAutocompleteV2.prototype, "_query", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
state()
|
|
113
|
+
], EuiWcAutocompleteV2.prototype, "_chips", void 0);
|
|
114
|
+
EuiWcAutocompleteV2 = __decorate([
|
|
115
|
+
customElement('eui-wc-autocomplete-v2')
|
|
116
|
+
], EuiWcAutocompleteV2);
|
|
117
|
+
export { EuiWcAutocompleteV2 };
|
|
118
|
+
//# sourceMappingURL=eui-wc-autocomplete-v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-autocomplete-v2.js","sourceRoot":"","sources":["../../src/eui-autocomplete-v2/eui-wc-autocomplete-v2.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;AAK5D,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,UAAU;IAA5C;;QAcwB,qBAAgB,GAA8B,EAAE,CAAC;QAChE,gBAAW,GAAG,EAAE,CAAC;QACjB,aAAQ,GAA6B,UAAU,CAAC;QAEP,aAAQ,GAAG,KAAK,CAAC;QAC3B,kBAAa,GAAqB,KAAK,CAAC;QACb,eAAU,GAAG,KAAK,CAAC;QACpB,c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,CAAC;oDAAkB;AACD;IAApD,QAAQ,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;qDAAkB;AAC3B;IAA1C,QAAQ,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;0DAAyC;AACb;IAArE,QAAQ,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAAoB;AACpB;IAApE,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;sDAAmB;AACrB;IAAjE,QAAQ,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAAgB;AAC5C;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;oDAAoC;AACvD;IAAhB,KAAK,EAAE;mDAAqB;AACZ;IAAhB,KAAK,EAAE;mDAAgD;AAzB/C,mBAAmB;IAD/B,aAAa,CAAC,wBAAwB,CAAC;GAC3B,mBAAmB,CAiE/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-autocomplete-v2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,KAAK,uBAAuB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-autocomplete-v2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAgC,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type EuiWcAvatarColor = 'primary' | 'neutral' | 'info' | 'success' | 'warning' | 'critical';
|
|
3
|
+
export type EuiWcAvatarSize = 'xs' | 's' | 'm' | 'l';
|
|
4
|
+
/**
|
|
5
|
+
* `EuiWcAvatar` — Lit WC projection of `eui-avatar`.
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
* ```html
|
|
9
|
+
* <eui-wc-avatar label="John Doe" sub-label="Developer"></eui-wc-avatar>
|
|
10
|
+
* <eui-wc-avatar image-url="/assets/photo.jpg" size="l"></eui-wc-avatar>
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class EuiWcAvatar extends LitElement {
|
|
14
|
+
static styles: import("lit").CSSResult;
|
|
15
|
+
color?: EuiWcAvatarColor;
|
|
16
|
+
size: EuiWcAvatarSize;
|
|
17
|
+
imageUrl?: string;
|
|
18
|
+
initials?: string;
|
|
19
|
+
label?: string;
|
|
20
|
+
subLabel?: string;
|
|
21
|
+
icon?: string;
|
|
22
|
+
isOutline: boolean;
|
|
23
|
+
e2eAttr: string;
|
|
24
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
25
|
+
}
|
|
26
|
+
declare global {
|
|
27
|
+
interface HTMLElementTagNameMap {
|
|
28
|
+
'eui-wc-avatar': EuiWcAvatar;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=eui-wc-avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-avatar.d.ts","sourceRoot":"","sources":["../../src/eui-avatar/eui-wc-avatar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAGrD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AACnG,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAErD;;;;;;;;GAQG;AACH,qBACa,WAAY,SAAQ,UAAU;IACvC,OAAgB,MAAM,0BAkCpB;IAE2B,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,IAAI,EAAE,eAAe,CAAO;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACW,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;IAC2C,SAAS,UAAS;IAClD,OAAO,SAAmB;IAEtD,MAAM;CAkBlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,eAAe,EAAE,WAAW,CAAC;KAAE;CACpE"}
|
|
@@ -0,0 +1,109 @@
|
|
|
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
|
+
/**
|
|
10
|
+
* `EuiWcAvatar` — Lit WC projection of `eui-avatar`.
|
|
11
|
+
*
|
|
12
|
+
* Usage:
|
|
13
|
+
* ```html
|
|
14
|
+
* <eui-wc-avatar label="John Doe" sub-label="Developer"></eui-wc-avatar>
|
|
15
|
+
* <eui-wc-avatar image-url="/assets/photo.jpg" size="l"></eui-wc-avatar>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
let EuiWcAvatar = class EuiWcAvatar extends LitElement {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
this.size = 'm';
|
|
22
|
+
this.isOutline = false;
|
|
23
|
+
this.e2eAttr = 'eui-wc-avatar';
|
|
24
|
+
}
|
|
25
|
+
static { this.styles = css `
|
|
26
|
+
:host {
|
|
27
|
+
--_eui-wc-av-size: 3rem;
|
|
28
|
+
--_eui-wc-av-bg: var(--eui-c-secondary-surface-light);
|
|
29
|
+
--_eui-wc-av-color: var(--eui-c-secondary-on-surface-light);
|
|
30
|
+
display: inline-flex; align-items: center; gap: var(--eui-s-xs);
|
|
31
|
+
}
|
|
32
|
+
:host([color='primary']) { --_eui-wc-av-bg: var(--eui-c-primary-surface); --_eui-wc-av-color: var(--eui-c-primary-on-surface); }
|
|
33
|
+
:host([color='neutral']) { --_eui-wc-av-bg: var(--eui-c-secondary-surface-light); --_eui-wc-av-color: var(--eui-c-secondary-on-surface-light); }
|
|
34
|
+
:host([color='info']) { --_eui-wc-av-bg: var(--eui-c-info-surface); --_eui-wc-av-color: var(--eui-c-info-on-surface); }
|
|
35
|
+
:host([color='success']) { --_eui-wc-av-bg: var(--eui-c-success-surface); --_eui-wc-av-color: var(--eui-c-success-on-surface); }
|
|
36
|
+
:host([color='warning']) { --_eui-wc-av-bg: var(--eui-c-warning-surface); --_eui-wc-av-color: var(--eui-c-warning-on-surface); }
|
|
37
|
+
:host([color='critical']) { --_eui-wc-av-bg: var(--eui-c-danger-surface); --_eui-wc-av-color: var(--eui-c-danger-on-surface); }
|
|
38
|
+
:host([size='xs']) { --_eui-wc-av-size: 1.5rem; }
|
|
39
|
+
:host([size='s']) { --_eui-wc-av-size: 2rem; }
|
|
40
|
+
:host([size='m']) { --_eui-wc-av-size: 3rem; }
|
|
41
|
+
:host([size='l']) { --_eui-wc-av-size: 4rem; }
|
|
42
|
+
.eui-avatar__picture {
|
|
43
|
+
align-items: center;
|
|
44
|
+
background-color: var(--_eui-wc-av-bg);
|
|
45
|
+
border-radius: var(--eui-br-max);
|
|
46
|
+
color: var(--_eui-wc-av-color);
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-shrink: 0;
|
|
49
|
+
font: var(--eui-f-s-semi-bold);
|
|
50
|
+
height: var(--_eui-wc-av-size);
|
|
51
|
+
justify-content: center;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
width: var(--_eui-wc-av-size);
|
|
54
|
+
}
|
|
55
|
+
.eui-avatar__picture img { height: 100%; object-fit: cover; width: 100%; }
|
|
56
|
+
.eui-avatar__content { display: flex; flex-direction: column; }
|
|
57
|
+
.eui-avatar__content-label { font: var(--eui-f-s-semi-bold); }
|
|
58
|
+
.eui-avatar__content-sublabel { color: var(--eui-c-text-light); font: var(--eui-f-s); }
|
|
59
|
+
`; }
|
|
60
|
+
render() {
|
|
61
|
+
return html `
|
|
62
|
+
<div class="eui-avatar__picture">
|
|
63
|
+
${this.imageUrl
|
|
64
|
+
? html `<img src=${this.imageUrl} alt=${this.label ?? 'avatar'} />`
|
|
65
|
+
: html `${this.initials ?? (this.label?.slice(0, 2).toUpperCase() ?? '')}`}
|
|
66
|
+
<slot name="picture"></slot>
|
|
67
|
+
</div>
|
|
68
|
+
${(this.label || this.subLabel) ? html `
|
|
69
|
+
<div class="eui-avatar__content">
|
|
70
|
+
${this.label ? html `<span class="eui-avatar__content-label">${this.label}</span>` : nothing}
|
|
71
|
+
${this.subLabel ? html `<span class="eui-avatar__content-sublabel">${this.subLabel}</span>` : nothing}
|
|
72
|
+
</div>
|
|
73
|
+
` : nothing}
|
|
74
|
+
<slot></slot>
|
|
75
|
+
`;
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
__decorate([
|
|
79
|
+
property({ reflect: true })
|
|
80
|
+
], EuiWcAvatar.prototype, "color", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
property({ reflect: true })
|
|
83
|
+
], EuiWcAvatar.prototype, "size", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
property({ attribute: 'image-url' })
|
|
86
|
+
], EuiWcAvatar.prototype, "imageUrl", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
property()
|
|
89
|
+
], EuiWcAvatar.prototype, "initials", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
property()
|
|
92
|
+
], EuiWcAvatar.prototype, "label", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
property({ attribute: 'sub-label' })
|
|
95
|
+
], EuiWcAvatar.prototype, "subLabel", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
property()
|
|
98
|
+
], EuiWcAvatar.prototype, "icon", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
property({ attribute: 'is-outline', type: Boolean, reflect: true })
|
|
101
|
+
], EuiWcAvatar.prototype, "isOutline", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
property({ attribute: 'data-e2e' })
|
|
104
|
+
], EuiWcAvatar.prototype, "e2eAttr", void 0);
|
|
105
|
+
EuiWcAvatar = __decorate([
|
|
106
|
+
customElement('eui-wc-avatar')
|
|
107
|
+
], EuiWcAvatar);
|
|
108
|
+
export { EuiWcAvatar };
|
|
109
|
+
//# sourceMappingURL=eui-wc-avatar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-avatar.js","sourceRoot":"","sources":["../../src/eui-avatar/eui-wc-avatar.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;AAK5D;;;;;;;;GAQG;AAEI,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,UAAU;IAApC;;QAsC0B,SAAI,GAAoB,GAAG,CAAC;QAMY,cAAS,GAAG,KAAK,CAAC;QAClD,YAAO,GAAG,eAAe,CAAC;IAoBnE,CAAC;aAhEmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;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EAAE,CAAC;8CAAmB;AAClD;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;4CAA2B;AA7CtD,WAAW;IADvB,aAAa,CAAC,eAAe,CAAC;GAClB,WAAW,CAiEvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA+C,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type EuiWcBadgeColor = 'primary' | 'neutral' | 'info' | 'success' | 'warning' | 'critical';
|
|
3
|
+
export type EuiWcBadgeSize = 's' | 'm';
|
|
4
|
+
export type EuiWcBadgeVariant = 'filled' | 'outline';
|
|
5
|
+
/**
|
|
6
|
+
* `EuiWcBadge` — Lit Web Component projection of `eui-badge`.
|
|
7
|
+
*
|
|
8
|
+
* Small inline status/count indicator with color, size, variant, and truncation support.
|
|
9
|
+
*
|
|
10
|
+
* Usage:
|
|
11
|
+
* ```html
|
|
12
|
+
* <eui-wc-badge color="success" size="m">Active</eui-wc-badge>
|
|
13
|
+
* <eui-wc-badge color="critical" variant="outline">3</eui-wc-badge>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare class EuiWcBadge extends LitElement {
|
|
17
|
+
static styles: import("lit").CSSResult;
|
|
18
|
+
/** Color variant. @default 'neutral' */
|
|
19
|
+
color: EuiWcBadgeColor;
|
|
20
|
+
/** Size variant. @default 'm' */
|
|
21
|
+
size: EuiWcBadgeSize;
|
|
22
|
+
/** Style variant (filled vs outline). @default 'filled' */
|
|
23
|
+
variant: EuiWcBadgeVariant;
|
|
24
|
+
/** Extra color palette name (orthogonal to color union). */
|
|
25
|
+
colorPalette?: string;
|
|
26
|
+
/** Icon-only mode (removes wrapper padding). @default false */
|
|
27
|
+
isIconOnly: boolean;
|
|
28
|
+
/** Max characters before truncation (0 = no truncation). @default 0 */
|
|
29
|
+
maxCharCount: number;
|
|
30
|
+
/** Replacement string when truncated. Falls back to '99+'. @default '' */
|
|
31
|
+
charReplacement: string;
|
|
32
|
+
/** Accessible name for the role=status region. @default 'badge' */
|
|
33
|
+
ariaLabel: string | null;
|
|
34
|
+
/** `data-e2e` attribute. */
|
|
35
|
+
e2eAttr: string;
|
|
36
|
+
private _isEmpty;
|
|
37
|
+
private _truncatedText;
|
|
38
|
+
private _handleSlotChange;
|
|
39
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
40
|
+
}
|
|
41
|
+
declare global {
|
|
42
|
+
interface HTMLElementTagNameMap {
|
|
43
|
+
'eui-wc-badge': EuiWcBadge;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=eui-wc-badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-badge.d.ts","sourceRoot":"","sources":["../../src/eui-badge/eui-wc-badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAGrD,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAClG,MAAM,MAAM,cAAc,GAAG,GAAG,GAAG,GAAG,CAAC;AACvC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAErD;;;;;;;;;;GAUG;AACH,qBACa,UAAW,SAAQ,UAAU;IACtC,OAAgB,MAAM,0BA4FpB;IAEF,wCAAwC;IACX,KAAK,EAAE,eAAe,CAAa;IAChE,iCAAiC;IACJ,IAAI,EAAE,cAAc,CAAO;IACxD,2DAA2D;IAC9B,OAAO,EAAE,iBAAiB,CAAY;IACnE,4DAA4D;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/E,+DAA+D;IACQ,UAAU,UAAS;IAC1F,uEAAuE;IAC3C,YAAY,SAAK;IAC7C,0EAA0E;IAC9D,eAAe,SAAM;IACjC,mEAAmE;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAW;IACzF,4BAA4B;IACS,OAAO,SAAkB;IAErD,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,cAAc,CAAM;IAErC,OAAO,CAAC,iBAAiB;IAahB,MAAM;CAUlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,cAAc,EAAE,UAAU,CAAC;KAC9B;CACJ"}
|
|
@@ -0,0 +1,195 @@
|
|
|
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, state } from 'lit/decorators.js';
|
|
9
|
+
/**
|
|
10
|
+
* `EuiWcBadge` — Lit Web Component projection of `eui-badge`.
|
|
11
|
+
*
|
|
12
|
+
* Small inline status/count indicator with color, size, variant, and truncation support.
|
|
13
|
+
*
|
|
14
|
+
* Usage:
|
|
15
|
+
* ```html
|
|
16
|
+
* <eui-wc-badge color="success" size="m">Active</eui-wc-badge>
|
|
17
|
+
* <eui-wc-badge color="critical" variant="outline">3</eui-wc-badge>
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
let EuiWcBadge = class EuiWcBadge extends LitElement {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
/** Color variant. @default 'neutral' */
|
|
24
|
+
this.color = 'neutral';
|
|
25
|
+
/** Size variant. @default 'm' */
|
|
26
|
+
this.size = 'm';
|
|
27
|
+
/** Style variant (filled vs outline). @default 'filled' */
|
|
28
|
+
this.variant = 'filled';
|
|
29
|
+
/** Icon-only mode (removes wrapper padding). @default false */
|
|
30
|
+
this.isIconOnly = false;
|
|
31
|
+
/** Max characters before truncation (0 = no truncation). @default 0 */
|
|
32
|
+
this.maxCharCount = 0;
|
|
33
|
+
/** Replacement string when truncated. Falls back to '99+'. @default '' */
|
|
34
|
+
this.charReplacement = '';
|
|
35
|
+
/** Accessible name for the role=status region. @default 'badge' */
|
|
36
|
+
this.ariaLabel = 'badge';
|
|
37
|
+
/** `data-e2e` attribute. */
|
|
38
|
+
this.e2eAttr = 'eui-wc-badge';
|
|
39
|
+
this._isEmpty = false;
|
|
40
|
+
this._truncatedText = '';
|
|
41
|
+
}
|
|
42
|
+
static { this.styles = css `
|
|
43
|
+
/* DEFAULT TOKENS (neutral / m / filled) */
|
|
44
|
+
:host {
|
|
45
|
+
--_eui-wc-badge-padding: 0 var(--eui-s-3xs);
|
|
46
|
+
--_eui-wc-badge-border-radius: var(--eui-br-max);
|
|
47
|
+
--_eui-wc-badge-font: var(--eui-f-xs-semi-bold);
|
|
48
|
+
--_eui-wc-badge-height: calc(var(--eui-s-m) + var(--eui-s-3xs));
|
|
49
|
+
--_eui-wc-badge-min-width: calc(var(--eui-s-m) + var(--eui-s-3xs));
|
|
50
|
+
--_eui-wc-badge-empty-size: var(--eui-s-s);
|
|
51
|
+
--_eui-wc-badge-bg: var(--eui-c-secondary-surface-light);
|
|
52
|
+
--_eui-wc-badge-color: var(--eui-c-secondary-on-surface-light);
|
|
53
|
+
--_eui-wc-badge-border: var(--eui-c-secondary-border);
|
|
54
|
+
|
|
55
|
+
display: inline-flex;
|
|
56
|
+
border: 1px solid var(--_eui-wc-badge-border);
|
|
57
|
+
border-radius: var(--_eui-wc-badge-border-radius);
|
|
58
|
+
background-color: var(--_eui-wc-badge-bg);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* COLOR VARIANTS */
|
|
62
|
+
:host([color='primary']) {
|
|
63
|
+
--_eui-wc-badge-bg: var(--eui-c-primary-surface);
|
|
64
|
+
--_eui-wc-badge-color: var(--eui-c-primary-on-surface);
|
|
65
|
+
--_eui-wc-badge-border: var(--eui-c-primary-border-light);
|
|
66
|
+
}
|
|
67
|
+
:host([color='neutral']) {
|
|
68
|
+
--_eui-wc-badge-bg: var(--eui-c-secondary-surface);
|
|
69
|
+
--_eui-wc-badge-color: var(--eui-c-secondary-on-surface);
|
|
70
|
+
--_eui-wc-badge-border: var(--eui-c-secondary-border-light);
|
|
71
|
+
}
|
|
72
|
+
:host([color='info']) {
|
|
73
|
+
--_eui-wc-badge-bg: var(--eui-c-info-surface);
|
|
74
|
+
--_eui-wc-badge-color: var(--eui-c-info-on-surface);
|
|
75
|
+
--_eui-wc-badge-border: var(--eui-c-info-border-light);
|
|
76
|
+
}
|
|
77
|
+
:host([color='success']) {
|
|
78
|
+
--_eui-wc-badge-bg: var(--eui-c-success-surface);
|
|
79
|
+
--_eui-wc-badge-color: var(--eui-c-success-on-surface);
|
|
80
|
+
--_eui-wc-badge-border: var(--eui-c-success-border-light);
|
|
81
|
+
}
|
|
82
|
+
:host([color='warning']) {
|
|
83
|
+
--_eui-wc-badge-bg: var(--eui-c-warning-surface);
|
|
84
|
+
--_eui-wc-badge-color: var(--eui-c-warning-on-surface);
|
|
85
|
+
--_eui-wc-badge-border: var(--eui-c-warning-border-light);
|
|
86
|
+
}
|
|
87
|
+
:host([color='critical']) {
|
|
88
|
+
--_eui-wc-badge-bg: var(--eui-c-danger-surface);
|
|
89
|
+
--_eui-wc-badge-color: var(--eui-c-danger-on-surface);
|
|
90
|
+
--_eui-wc-badge-border: var(--eui-c-danger-border-light);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* OUTLINE VARIANT */
|
|
94
|
+
:host([variant='outline']) {
|
|
95
|
+
background-color: var(--eui-c-surface-container);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* SIZE S */
|
|
99
|
+
:host([size='s']) {
|
|
100
|
+
--_eui-wc-badge-height: var(--eui-s-m);
|
|
101
|
+
--_eui-wc-badge-min-width: var(--eui-s-m);
|
|
102
|
+
--_eui-wc-badge-font: var(--eui-f-xs-medium);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* EMPTY (dot) */
|
|
106
|
+
:host([is-empty]) {
|
|
107
|
+
width: var(--_eui-wc-badge-empty-size);
|
|
108
|
+
height: var(--_eui-wc-badge-empty-size);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* ICON-ONLY */
|
|
112
|
+
:host([is-icon-only]) .eui-wc-badge__wrapper {
|
|
113
|
+
padding: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* WRAPPER */
|
|
117
|
+
.eui-wc-badge__wrapper {
|
|
118
|
+
display: inline-flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
color: var(--_eui-wc-badge-color);
|
|
121
|
+
height: var(--_eui-wc-badge-height);
|
|
122
|
+
min-width: var(--_eui-wc-badge-min-width);
|
|
123
|
+
padding: var(--_eui-wc-badge-padding);
|
|
124
|
+
justify-content: center;
|
|
125
|
+
font: var(--_eui-wc-badge-font);
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
text-overflow: ellipsis;
|
|
128
|
+
white-space: nowrap;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
:host([variant='outline']) .eui-wc-badge__wrapper {
|
|
132
|
+
color: var(--_eui-wc-badge-color);
|
|
133
|
+
}
|
|
134
|
+
`; }
|
|
135
|
+
_handleSlotChange(e) {
|
|
136
|
+
const slot = e.target;
|
|
137
|
+
const nodes = slot.assignedNodes({ flatten: true });
|
|
138
|
+
const text = nodes.map((n) => n.textContent ?? '').join('');
|
|
139
|
+
this._isEmpty = text.trim().length === 0;
|
|
140
|
+
if (this.maxCharCount > 0 && text.length > this.maxCharCount) {
|
|
141
|
+
this._truncatedText = this.charReplacement || '99+';
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
this._truncatedText = '';
|
|
145
|
+
}
|
|
146
|
+
this.toggleAttribute('is-empty', this._isEmpty);
|
|
147
|
+
}
|
|
148
|
+
render() {
|
|
149
|
+
return html `
|
|
150
|
+
<div class="eui-wc-badge__wrapper" role="status" aria-label=${this.ariaLabel ?? nothing}>
|
|
151
|
+
${this._truncatedText
|
|
152
|
+
? html `${this._truncatedText}`
|
|
153
|
+
: html `<slot @slotchange=${this._handleSlotChange}></slot>`}
|
|
154
|
+
</div>
|
|
155
|
+
`;
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
__decorate([
|
|
159
|
+
property({ reflect: true })
|
|
160
|
+
], EuiWcBadge.prototype, "color", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
property({ reflect: true })
|
|
163
|
+
], EuiWcBadge.prototype, "size", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
property({ reflect: true })
|
|
166
|
+
], EuiWcBadge.prototype, "variant", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
property({ attribute: 'color-palette', reflect: true })
|
|
169
|
+
], EuiWcBadge.prototype, "colorPalette", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
property({ attribute: 'is-icon-only', type: Boolean, reflect: true })
|
|
172
|
+
], EuiWcBadge.prototype, "isIconOnly", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
property({ type: Number })
|
|
175
|
+
], EuiWcBadge.prototype, "maxCharCount", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
property()
|
|
178
|
+
], EuiWcBadge.prototype, "charReplacement", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
property({ attribute: 'aria-label', reflect: true })
|
|
181
|
+
], EuiWcBadge.prototype, "ariaLabel", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
property({ attribute: 'data-e2e' })
|
|
184
|
+
], EuiWcBadge.prototype, "e2eAttr", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
state()
|
|
187
|
+
], EuiWcBadge.prototype, "_isEmpty", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
state()
|
|
190
|
+
], EuiWcBadge.prototype, "_truncatedText", void 0);
|
|
191
|
+
EuiWcBadge = __decorate([
|
|
192
|
+
customElement('eui-wc-badge')
|
|
193
|
+
], EuiWcBadge);
|
|
194
|
+
export { EuiWcBadge };
|
|
195
|
+
//# sourceMappingURL=eui-wc-badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-badge.js","sourceRoot":"","sources":["../../src/eui-badge/eui-wc-badge.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAMnE;;;;;;;;;;GAUG;AAEI,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,UAAU;IAAnC;;QA+FH,wCAAwC;QACX,UAAK,GAAoB,SAAS,CAAC;QAChE,iCAAiC;QACJ,SAAI,GAAmB,GAAG,CAAC;QACxD,2DAA2D;QAC9B,YAAO,GAAsB,QAAQ,CAAC;QAGnE,+DAA+D;QACQ,eAAU,GAAG,KAAK,CAAC;QAC1F,uEAAuE;QAC3C,iBAAY,GAAG,CAAC,CAAC;QAC7C,0EAA0E;QAC9D,oBAAe,GAAG,EAAE,CAAC;QACjC,mEAAmE;QACb,cAAS,GAAkB,O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AAqB,IAAI,CAAC,iBAAiB,UACrD;;SAEP,CAAC;IACN,CAAC;;AA3C4B;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yCAAoC;AAEnC;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wCAA4B;AAE3B;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2CAAuC;AAEV;IAAxD,QAAQ,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gDAAuB;AAER;IAAtE,QAAQ,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAAoB;AAE9D;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gDAAkB;AAEjC;IAAX,QAAQ,EAAE;mDAAsB;AAEqB;IAArD,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CAAoC;AAEpD;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;2CAA0B;AAE7C;IAAhB,KAAK,EAAE;4CAA0B;AACjB;IAAhB,KAAK,EAAE;kDAA6B;AAnH5B,UAAU;IADtB,aAAa,CAAC,cAAc,CAAC;GACjB,UAAU,CA4ItB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACzB,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,UAAU,GAIb,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type EuiWcBannerSize = 's' | 'm' | 'l';
|
|
3
|
+
export type EuiWcBannerPosition = 'default' | 'top' | 'center';
|
|
4
|
+
/** `EuiWcBanner` — Lit WC projection of `eui-banner`. */
|
|
5
|
+
export declare class EuiWcBanner extends LitElement {
|
|
6
|
+
static styles: import("lit").CSSResult;
|
|
7
|
+
size: EuiWcBannerSize;
|
|
8
|
+
position: EuiWcBannerPosition;
|
|
9
|
+
isInverse: boolean;
|
|
10
|
+
isVideo: boolean;
|
|
11
|
+
imageUrl?: string;
|
|
12
|
+
e2eAttr: string;
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
}
|
|
15
|
+
export declare class EuiWcBannerTitle extends LitElement {
|
|
16
|
+
static styles: import("lit").CSSResult;
|
|
17
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
18
|
+
}
|
|
19
|
+
export declare class EuiWcBannerDescription extends LitElement {
|
|
20
|
+
static styles: import("lit").CSSResult;
|
|
21
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
22
|
+
}
|
|
23
|
+
export declare class EuiWcBannerCta extends LitElement {
|
|
24
|
+
static styles: import("lit").CSSResult;
|
|
25
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
26
|
+
}
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'eui-wc-banner': EuiWcBanner;
|
|
30
|
+
'eui-wc-banner-title': EuiWcBannerTitle;
|
|
31
|
+
'eui-wc-banner-description': EuiWcBannerDescription;
|
|
32
|
+
'eui-wc-banner-cta': EuiWcBannerCta;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=eui-wc-banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-banner.d.ts","sourceRoot":"","sources":["../../src/eui-banner/eui-wc-banner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,MAAM,MAAM,eAAe,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAC9C,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE/D,yDAAyD;AACzD,qBACa,WAAY,SAAQ,UAAU;IACvC,OAAgB,MAAM,0BAcpB;IAE2B,IAAI,EAAE,eAAe,CAAO;IAC5B,QAAQ,EAAE,mBAAmB,CAAa;IACF,SAAS,UAAS;IACpB,OAAO,UAAS;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,SAAmB;IAEtD,MAAM;CAmBlB;AAED,qBACa,gBAAiB,SAAQ,UAAU;IAC5C,OAAgB,MAAM,0BAAkC;IAC/C,MAAM;CAClB;AAED,qBACa,sBAAuB,SAAQ,UAAU;IAClD,OAAgB,MAAM,0BAAkC;IAC/C,MAAM;CAClB;AAED,qBACa,cAAe,SAAQ,UAAU;IAC1C,OAAgB,MAAM,0BAAkC;IAC/C,MAAM;CAClB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,eAAe,EAAE,WAAW,CAAC;QAC7B,qBAAqB,EAAE,gBAAgB,CAAC;QACxC,2BAA2B,EAAE,sBAAsB,CAAC;QACpD,mBAAmB,EAAE,cAAc,CAAC;KACvC;CACJ"}
|