@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,74 @@
|
|
|
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
|
+
/** `EuiWcList` — Lit WC projection of `eui-list`. */
|
|
10
|
+
let EuiWcList = class EuiWcList extends LitElement {
|
|
11
|
+
static { this.styles = css `
|
|
12
|
+
:host { display: block; margin: 0; padding: 0; border: var(--eui-bw-s) solid transparent; list-style: none; }
|
|
13
|
+
:host(:focus-visible) { outline: 2px solid var(--eui-c-focus-visible) !important; outline-offset: -2px !important; }
|
|
14
|
+
`; }
|
|
15
|
+
render() { return html `<slot></slot>`; }
|
|
16
|
+
};
|
|
17
|
+
EuiWcList = __decorate([
|
|
18
|
+
customElement('eui-wc-list')
|
|
19
|
+
], EuiWcList);
|
|
20
|
+
export { EuiWcList };
|
|
21
|
+
/** `EuiWcListItem` — individual list row. */
|
|
22
|
+
let EuiWcListItem = class EuiWcListItem extends LitElement {
|
|
23
|
+
constructor() {
|
|
24
|
+
super(...arguments);
|
|
25
|
+
this.isActive = false;
|
|
26
|
+
this.disabled = false;
|
|
27
|
+
}
|
|
28
|
+
static { this.styles = css `
|
|
29
|
+
:host {
|
|
30
|
+
--_eui-wc-li-color: var(--eui-c-text);
|
|
31
|
+
display: block; color: var(--_eui-wc-li-color); cursor: pointer;
|
|
32
|
+
list-style: none; padding: var(--eui-s-xs) var(--eui-s-s); width: 100%;
|
|
33
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
34
|
+
}
|
|
35
|
+
:host([color='primary']) { --_eui-wc-li-color: var(--eui-c-primary); }
|
|
36
|
+
:host([color='neutral']) { --_eui-wc-li-color: var(--eui-c-secondary); }
|
|
37
|
+
:host([color='info']) { --_eui-wc-li-color: var(--eui-c-info); }
|
|
38
|
+
:host([color='success']) { --_eui-wc-li-color: var(--eui-c-success); }
|
|
39
|
+
:host([color='warning']) { --_eui-wc-li-color: var(--eui-c-warning); }
|
|
40
|
+
:host([color='critical']) { --_eui-wc-li-color: var(--eui-c-danger); }
|
|
41
|
+
:host(:hover) { background-color: var(--eui-c-hover); }
|
|
42
|
+
:host([is-active]), :host(:active) { background-color: var(--eui-c-active-bg) !important; }
|
|
43
|
+
:host([disabled]) { pointer-events: none; opacity: var(--eui-o-50); cursor: not-allowed !important; }
|
|
44
|
+
:host(:focus-visible) { outline: 2px solid var(--eui-c-focus-visible) !important; outline-offset: -2px !important; }
|
|
45
|
+
.eui-list-item__container { display: flex; width: 100%; }
|
|
46
|
+
.eui-list-item__content { align-items: center; display: flex; width: 100%; gap: var(--eui-s-xs); }
|
|
47
|
+
`; }
|
|
48
|
+
render() {
|
|
49
|
+
return html `
|
|
50
|
+
<div class="eui-list-item__container">
|
|
51
|
+
<div class="eui-list-item__content">
|
|
52
|
+
<slot name="icon"></slot>
|
|
53
|
+
<slot name="label"></slot>
|
|
54
|
+
<slot></slot>
|
|
55
|
+
</div>
|
|
56
|
+
<slot name="sub-list"></slot>
|
|
57
|
+
</div>
|
|
58
|
+
`;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
__decorate([
|
|
62
|
+
property({ reflect: true })
|
|
63
|
+
], EuiWcListItem.prototype, "color", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
property({ attribute: 'is-active', type: Boolean, reflect: true })
|
|
66
|
+
], EuiWcListItem.prototype, "isActive", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
property({ type: Boolean, reflect: true })
|
|
69
|
+
], EuiWcListItem.prototype, "disabled", void 0);
|
|
70
|
+
EuiWcListItem = __decorate([
|
|
71
|
+
customElement('eui-wc-list-item')
|
|
72
|
+
], EuiWcListItem);
|
|
73
|
+
export { EuiWcListItem };
|
|
74
|
+
//# sourceMappingURL=eui-wc-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-list.js","sourceRoot":"","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,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-list/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAA2B,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface EuiWcMenuItem {
|
|
3
|
+
id?: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
children?: EuiWcMenuItem[];
|
|
8
|
+
active?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class EuiWcMenu extends LitElement {
|
|
12
|
+
static styles: import("lit").CSSResult;
|
|
13
|
+
items: EuiWcMenuItem[];
|
|
14
|
+
e2eAttr: string;
|
|
15
|
+
private _renderItems;
|
|
16
|
+
render(): unknown;
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'eui-wc-menu': EuiWcMenu;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=eui-wc-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-menu.d.ts","sourceRoot":"","sources":["../../src/eui-menu/eui-wc-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,MAAM,WAAW,aAAa;IAAG,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;CAAE;AAE7J,qBACa,SAAU,SAAQ,UAAU;IACrC,OAAgB,MAAM,0BAOpB;IACyB,KAAK,EAAE,aAAa,EAAE,CAAM;IAClB,OAAO,SAAiB;IAE7D,OAAO,CAAC,YAAY;IAYX,MAAM;CAClB;AAED,OAAO,CAAC,MAAM,CAAC;IAAE,UAAU,qBAAqB;QAAG,aAAa,EAAE,SAAS,CAAC;KAAE;CAAE"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html, css } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
let EuiWcMenu = class EuiWcMenu extends LitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.items = [];
|
|
13
|
+
this.e2eAttr = 'eui-wc-menu';
|
|
14
|
+
}
|
|
15
|
+
static { this.styles = css `
|
|
16
|
+
:host { display: block; }
|
|
17
|
+
ul { list-style: none; margin: 0; padding: 0; }
|
|
18
|
+
li { font: var(--eui-f-m); }
|
|
19
|
+
a, button { background: none; border: none; color: var(--eui-c-text); cursor: pointer; display: flex; font: inherit; gap: var(--eui-s-xs); padding: var(--eui-s-xs) var(--eui-s-m); text-decoration: none; width: 100%; }
|
|
20
|
+
a:hover, button:hover { background: var(--eui-c-hover); }
|
|
21
|
+
a[aria-current='page'] { color: var(--eui-c-primary); font-weight: bold; }
|
|
22
|
+
`; }
|
|
23
|
+
_renderItems(items) {
|
|
24
|
+
return html `<ul>${items.map((item) => html `
|
|
25
|
+
<li>
|
|
26
|
+
${item.url
|
|
27
|
+
? html `<a href=${item.url} aria-current=${item.active ? 'page' : 'false'}>${item.label}</a>`
|
|
28
|
+
: html `<button type="button" @click=${() => this.dispatchEvent(new CustomEvent('eui-item-click', { detail: item, bubbles: true, composed: true }))}>${item.label}</button>`}
|
|
29
|
+
${item.children?.length ? this._renderItems(item.children) : ''}
|
|
30
|
+
</li>
|
|
31
|
+
`)}</ul>`;
|
|
32
|
+
}
|
|
33
|
+
render() { return this._renderItems(this.items); }
|
|
34
|
+
};
|
|
35
|
+
__decorate([
|
|
36
|
+
property({ type: Array })
|
|
37
|
+
], EuiWcMenu.prototype, "items", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
property({ attribute: 'data-e2e' })
|
|
40
|
+
], EuiWcMenu.prototype, "e2eAttr", void 0);
|
|
41
|
+
EuiWcMenu = __decorate([
|
|
42
|
+
customElement('eui-wc-menu')
|
|
43
|
+
], EuiWcMenu);
|
|
44
|
+
export { EuiWcMenu };
|
|
45
|
+
//# sourceMappingURL=eui-wc-menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-menu.js","sourceRoot":"","sources":["../../src/eui-menu/eui-wc-menu.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAKrD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,UAAU;IAAlC;;QASwB,UAAK,GAAoB,EAAE,CAAC;QAClB,YAAO,GAAG,aAAa,CAAC;IAejE,CAAC;aAxBmB,WAAM,GAAG,GAAG,CAAA;;;;;;;KAO3B,AAPqB,CAOpB;IAIM,YAAY,CAAC,KAAsB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src/eui-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAsB,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../eui-button/eui-wc-button.js';
|
|
3
|
+
import '../eui-icon-button/eui-wc-icon-button.js';
|
|
4
|
+
/** `EuiWcMessageBox` — Lit WC projection of `eui-message-box`. */
|
|
5
|
+
export declare class EuiWcMessageBox extends LitElement {
|
|
6
|
+
static styles: import("lit").CSSResult;
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
heading?: string;
|
|
9
|
+
confirmLabel: string;
|
|
10
|
+
cancelLabel: string;
|
|
11
|
+
hideCancel: boolean;
|
|
12
|
+
e2eAttr: string;
|
|
13
|
+
private _close;
|
|
14
|
+
private _confirm;
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
}
|
|
17
|
+
declare global {
|
|
18
|
+
interface HTMLElementTagNameMap {
|
|
19
|
+
'eui-wc-message-box': EuiWcMessageBox;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=eui-wc-message-box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-message-box.d.ts","sourceRoot":"","sources":["../../src/eui-message-box/eui-wc-message-box.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,gCAAgC,CAAC;AACxC,OAAO,0CAA0C,CAAC;AAElD,kEAAkE;AAClE,qBACa,eAAgB,SAAQ,UAAU;IAC3C,OAAgB,MAAM,0BASpB;IAEgE,MAAM,UAAS;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACa,YAAY,SAAQ;IACrB,WAAW,SAAY;IACT,UAAU,UAAS;IACrC,OAAO,SAAwB;IAEpE,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,QAAQ;IAEP,MAAM;CAelB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,oBAAoB,EAAE,eAAe,CAAC;KAAE;CAC7E"}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
import '../eui-button/eui-wc-button.js';
|
|
10
|
+
import '../eui-icon-button/eui-wc-icon-button.js';
|
|
11
|
+
/** `EuiWcMessageBox` — Lit WC projection of `eui-message-box`. */
|
|
12
|
+
let EuiWcMessageBox = class EuiWcMessageBox extends LitElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.isOpen = false;
|
|
16
|
+
this.confirmLabel = 'OK';
|
|
17
|
+
this.cancelLabel = 'Cancel';
|
|
18
|
+
this.hideCancel = false;
|
|
19
|
+
this.e2eAttr = 'eui-wc-message-box';
|
|
20
|
+
}
|
|
21
|
+
static { this.styles = css `
|
|
22
|
+
:host { display: block; }
|
|
23
|
+
.eui-message-box__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000; display: flex; align-items: center; justify-content: center; }
|
|
24
|
+
.eui-message-box__dialog { background: var(--eui-c-surface-container); border-radius: var(--eui-br-s); box-shadow: var(--eui-sh-3); max-width: 480px; width: 100%; padding: var(--eui-s-xl); position: relative; }
|
|
25
|
+
.eui-message-box__title { font: var(--eui-f-m-semi-bold); margin-bottom: var(--eui-s-m); }
|
|
26
|
+
.eui-message-box__body { font: var(--eui-f-m); margin-bottom: var(--eui-s-l); }
|
|
27
|
+
.eui-message-box__actions { display: flex; gap: var(--eui-s-s); justify-content: flex-end; }
|
|
28
|
+
.eui-message-box__close { position: absolute; top: var(--eui-s-s); right: var(--eui-s-s); }
|
|
29
|
+
:host(:not([is-open])) .eui-message-box__backdrop { display: none; }
|
|
30
|
+
`; }
|
|
31
|
+
_close() { this.isOpen = false; this.dispatchEvent(new CustomEvent('eui-close', { bubbles: true, composed: true })); }
|
|
32
|
+
_confirm() { this.isOpen = false; this.dispatchEvent(new CustomEvent('eui-confirm', { bubbles: true, composed: true })); }
|
|
33
|
+
render() {
|
|
34
|
+
return html `
|
|
35
|
+
<div class="eui-message-box__backdrop" role="dialog" aria-modal="true">
|
|
36
|
+
<div class="eui-message-box__dialog">
|
|
37
|
+
<eui-wc-icon-button class="eui-message-box__close" icon="eui-close" aria-label="Close" size="s" @eui-click=${this._close}></eui-wc-icon-button>
|
|
38
|
+
${this.heading ? html `<div class="eui-message-box__title">${this.heading}</div>` : ''}
|
|
39
|
+
<div class="eui-message-box__body"><slot></slot></div>
|
|
40
|
+
<div class="eui-message-box__actions">
|
|
41
|
+
${!this.hideCancel ? html `<eui-wc-button variant="outline" @click=${this._close}>${this.cancelLabel}</eui-wc-button>` : ''}
|
|
42
|
+
<eui-wc-button color="primary" @click=${this._confirm}>${this.confirmLabel}</eui-wc-button>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
`;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
__decorate([
|
|
50
|
+
property({ attribute: 'is-open', type: Boolean, reflect: true })
|
|
51
|
+
], EuiWcMessageBox.prototype, "isOpen", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
property()
|
|
54
|
+
], EuiWcMessageBox.prototype, "heading", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
property({ attribute: 'confirm-label' })
|
|
57
|
+
], EuiWcMessageBox.prototype, "confirmLabel", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
property({ attribute: 'cancel-label' })
|
|
60
|
+
], EuiWcMessageBox.prototype, "cancelLabel", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
property({ attribute: 'hide-cancel', type: Boolean })
|
|
63
|
+
], EuiWcMessageBox.prototype, "hideCancel", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
property({ attribute: 'data-e2e' })
|
|
66
|
+
], EuiWcMessageBox.prototype, "e2eAttr", void 0);
|
|
67
|
+
EuiWcMessageBox = __decorate([
|
|
68
|
+
customElement('eui-wc-message-box')
|
|
69
|
+
], EuiWcMessageBox);
|
|
70
|
+
export { EuiWcMessageBox };
|
|
71
|
+
//# sourceMappingURL=eui-wc-message-box.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-message-box.js","sourceRoot":"","sources":["../../src/eui-message-box/eui-wc-message-box.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;AAC5D,OAAO,gCAAgC,CAAC;AACxC,OAAO,0CAA0C,CAAC;AAElD,kEAAkE;AAE3D,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,UAAU;IAAxC;;QAY+D,WAAM,GAAG,KAAK,CAAC;QAEvC,iBAAY,GAAG,IAAI,CAAC;QACrB,gBAAW,GAAG,QAAQ,CAAC;QACT,eAAU,GAAG,KAAK,CAAC;QACrC,YAAO,GAAG,oBAAoB,CAAC;IAoBxE,CAAC;aApCmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;KAS3B,AATqB,CASpB;IASM,MAAM,KAAK,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,CAA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Aa,CAAC,oBAAoB,CAAC;GACvB,eAAe,CAqC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-message-box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-message-box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class EuiWcOverlay extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
e2eAttr: string;
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
interface HTMLElementTagNameMap {
|
|
10
|
+
'eui-wc-overlay': EuiWcOverlay;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=eui-wc-overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-overlay.d.ts","sourceRoot":"","sources":["../../src/eui-overlay/eui-wc-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,qBACa,YAAa,SAAQ,UAAU;IACxC,OAAgB,MAAM,0BAOpB;IACgE,MAAM,UAAS;IAC5C,OAAO,SAAoB;IACvD,MAAM;CAGlB;AAED,OAAO,CAAC,MAAM,CAAC;IAAE,UAAU,qBAAqB;QAAG,gBAAgB,EAAE,YAAY,CAAC;KAAE;CAAE"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 EuiWcOverlay = class EuiWcOverlay extends LitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.isOpen = false;
|
|
13
|
+
this.e2eAttr = 'eui-wc-overlay';
|
|
14
|
+
}
|
|
15
|
+
static { this.styles = css `
|
|
16
|
+
:host { display: block; }
|
|
17
|
+
.eui-overlay { background: var(--eui-c-surface-container); border-radius: var(--eui-br-m); box-shadow: var(--eui-sh-3); display: flex; flex-direction: column; max-height: 90vh; width: 100%; }
|
|
18
|
+
:host(:not([is-open])) { display: none; }
|
|
19
|
+
.eui-overlay__header { border-bottom: 1px solid var(--eui-c-divider); padding: var(--eui-s-m); }
|
|
20
|
+
.eui-overlay__content { flex: 1; overflow: auto; padding: var(--eui-s-m); }
|
|
21
|
+
.eui-overlay__footer { border-top: 1px solid var(--eui-c-divider); padding: var(--eui-s-m); }
|
|
22
|
+
`; }
|
|
23
|
+
render() {
|
|
24
|
+
return html `<div class="eui-overlay"><div class="eui-overlay__header"><slot name="header"></slot></div><div class="eui-overlay__content"><slot></slot></div><div class="eui-overlay__footer"><slot name="footer"></slot></div></div>`;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
__decorate([
|
|
28
|
+
property({ attribute: 'is-open', type: Boolean, reflect: true })
|
|
29
|
+
], EuiWcOverlay.prototype, "isOpen", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
property({ attribute: 'data-e2e' })
|
|
32
|
+
], EuiWcOverlay.prototype, "e2eAttr", void 0);
|
|
33
|
+
EuiWcOverlay = __decorate([
|
|
34
|
+
customElement('eui-wc-overlay')
|
|
35
|
+
], EuiWcOverlay);
|
|
36
|
+
export { EuiWcOverlay };
|
|
37
|
+
//# sourceMappingURL=eui-wc-overlay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-overlay.js","sourceRoot":"","sources":["../../src/eui-overlay/eui-wc-overlay.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGrD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,UAAU;IAArC;;QAS+D,WAAM,GAAG,KAAK,CAAC;QAC5C,YAAO,GAAG,gBAAgB,CAAC;IAIpE,CAAC;aAbmB,WAAM,GAAG,GAAG,CAAA;;;;;;;KAO3B,AAPqB,CAOpB;IAGO,MAAM;QACX,OAAO,IAAI,CAAA,0NAA0N,CAAC;IAC1O,CAAC;;AAJiE;IAAjE,QAAQ,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CAAgB;AAC5C;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;6CAA4B;AAVvD,YAAY;IADxB,aAAa,CAAC,gBAAgB,CAAC;GACnB,YAAY,CAcxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-overlay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-overlay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class EuiWcPage extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
heading?: string;
|
|
5
|
+
e2eAttr: string;
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
interface HTMLElementTagNameMap {
|
|
10
|
+
'eui-wc-page': EuiWcPage;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=eui-wc-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-page.d.ts","sourceRoot":"","sources":["../../src/eui-page/eui-wc-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,qBACa,SAAU,SAAQ,UAAU;IACrC,OAAgB,MAAM,0BAKpB;IACU,OAAO,CAAC,EAAE,MAAM,CAAC;IACQ,OAAO,SAAiB;IACpD,MAAM;CAOlB;AAED,OAAO,CAAC,MAAM,CAAC;IAAE,UAAU,qBAAqB;QAAG,aAAa,EAAE,SAAS,CAAC;KAAE;CAAE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 EuiWcPage = class EuiWcPage extends LitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.e2eAttr = 'eui-wc-page';
|
|
13
|
+
}
|
|
14
|
+
static { this.styles = css `
|
|
15
|
+
:host { display: flex; flex-direction: column; min-height: 100%; padding: var(--eui-s-xl); gap: var(--eui-s-l); }
|
|
16
|
+
.eui-page__header { display: flex; align-items: center; justify-content: space-between; }
|
|
17
|
+
.eui-page__title { font: var(--eui-f-m-semi-bold); }
|
|
18
|
+
.eui-page__body { flex: 1; }
|
|
19
|
+
`; }
|
|
20
|
+
render() {
|
|
21
|
+
return html `
|
|
22
|
+
<div class="eui-page__header"><div class="eui-page__title"><slot name="header">${this.heading ?? ''}</slot></div><slot name="actions"></slot></div>
|
|
23
|
+
<div class="eui-page__body"><slot></slot></div>
|
|
24
|
+
<slot name="footer"></slot>
|
|
25
|
+
`;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
__decorate([
|
|
29
|
+
property()
|
|
30
|
+
], EuiWcPage.prototype, "heading", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
property({ attribute: 'data-e2e' })
|
|
33
|
+
], EuiWcPage.prototype, "e2eAttr", void 0);
|
|
34
|
+
EuiWcPage = __decorate([
|
|
35
|
+
customElement('eui-wc-page')
|
|
36
|
+
], EuiWcPage);
|
|
37
|
+
export { EuiWcPage };
|
|
38
|
+
//# sourceMappingURL=eui-wc-page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-page.js","sourceRoot":"","sources":["../../src/eui-page/eui-wc-page.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGrD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,UAAU;IAAlC;;QAQkC,YAAO,GAAG,aAAa,CAAC;IAQjE,CAAC;aAfmB,WAAM,GAAG,GAAG,CAAA;;;;;KAK3B,AALqB,CAKpB;IAGO,MAAM;QACX,OAAO,IAAI,CAAA;6FAC0E,IAAI,CAAC,OAAO,IAAI,EAAE;;;SAGtG,CAAC;IACN,CAAC;;AARW;IAAX,QAAQ,EAAE;0CAAkB;AACQ;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;0CAAyB;AARpD,SAAS;IADrB,aAAa,CAAC,aAAa,CAAC;GAChB,SAAS,CAgBrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-page/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-page/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../eui-icon-button/eui-wc-icon-button.js';
|
|
3
|
+
/** `EuiWcPaginator` — Lit WC projection of `eui-paginator`. */
|
|
4
|
+
export declare class EuiWcPaginator extends LitElement {
|
|
5
|
+
static styles: import("lit").CSSResult;
|
|
6
|
+
total: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
pageIndex: number;
|
|
9
|
+
pageSizeOptions: number[];
|
|
10
|
+
hidePageSize: boolean;
|
|
11
|
+
showFirstLast: boolean;
|
|
12
|
+
e2eAttr: string;
|
|
13
|
+
private get _pageCount();
|
|
14
|
+
private get _current();
|
|
15
|
+
private _emit;
|
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'eui-wc-paginator': EuiWcPaginator;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=eui-wc-paginator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-paginator.d.ts","sourceRoot":"","sources":["../../src/eui-paginator/eui-wc-paginator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C,OAAO,0CAA0C,CAAC;AAElD,+DAA+D;AAC/D,qBACa,cAAe,SAAQ,UAAU;IAC1C,OAAgB,MAAM,0BAIpB;IAE0B,KAAK,SAAK;IACc,QAAQ,SAAM;IACb,SAAS,SAAK;IACR,eAAe,EAAE,MAAM,EAAE,CAAmB;IAC7C,YAAY,UAAS;IACpB,aAAa,UAAQ;IAC3C,OAAO,SAAsB;IAElE,OAAO,KAAK,UAAU,GAAyE;IAC/F,OAAO,KAAK,QAAQ,GAAyC;IAE7D,OAAO,CAAC,KAAK;IAIJ,MAAM;CAgBlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,kBAAkB,EAAE,cAAc,CAAC;KAAE;CAC1E"}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
import '../eui-icon-button/eui-wc-icon-button.js';
|
|
10
|
+
/** `EuiWcPaginator` — Lit WC projection of `eui-paginator`. */
|
|
11
|
+
let EuiWcPaginator = class EuiWcPaginator extends LitElement {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.total = 0;
|
|
15
|
+
this.pageSize = 10;
|
|
16
|
+
this.pageIndex = 0;
|
|
17
|
+
this.pageSizeOptions = [5, 10, 25, 50];
|
|
18
|
+
this.hidePageSize = false;
|
|
19
|
+
this.showFirstLast = true;
|
|
20
|
+
this.e2eAttr = 'eui-wc-paginator';
|
|
21
|
+
}
|
|
22
|
+
static { this.styles = css `
|
|
23
|
+
:host { display: flex; align-items: center; gap: var(--eui-s-xs); }
|
|
24
|
+
.eui-paginator__info { font: var(--eui-f-m); color: var(--eui-c-text-light); margin: 0 var(--eui-s-s); }
|
|
25
|
+
select { border: 1px solid var(--eui-c-border); border-radius: var(--eui-br-s); font: var(--eui-f-m); padding: var(--eui-s-3xs) var(--eui-s-xs); }
|
|
26
|
+
`; }
|
|
27
|
+
get _pageCount() { return Math.max(1, Math.ceil(this.total / this.pageSize)); }
|
|
28
|
+
get _current() { return this.pageIndex + 1; }
|
|
29
|
+
_emit(index, size) {
|
|
30
|
+
this.dispatchEvent(new CustomEvent('eui-page-change', { detail: { pageIndex: index, pageSize: size }, bubbles: true, composed: true }));
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
const pc = this._pageCount;
|
|
34
|
+
const cur = this._current;
|
|
35
|
+
return html `
|
|
36
|
+
${this.showFirstLast ? html `<eui-wc-icon-button icon="eui-chevron-double-left" size="s" aria-label="First" ?disabled=${cur <= 1} @eui-click=${() => this._emit(0, this.pageSize)}></eui-wc-icon-button>` : ''}
|
|
37
|
+
<eui-wc-icon-button icon="eui-chevron-left" size="s" aria-label="Previous" ?disabled=${cur <= 1} @eui-click=${() => this._emit(this.pageIndex - 1, this.pageSize)}></eui-wc-icon-button>
|
|
38
|
+
<span class="eui-paginator__info">${cur} / ${pc}</span>
|
|
39
|
+
<eui-wc-icon-button icon="eui-chevron-right" size="s" aria-label="Next" ?disabled=${cur >= pc} @eui-click=${() => this._emit(this.pageIndex + 1, this.pageSize)}></eui-wc-icon-button>
|
|
40
|
+
${this.showFirstLast ? html `<eui-wc-icon-button icon="eui-chevron-double-right" size="s" aria-label="Last" ?disabled=${cur >= pc} @eui-click=${() => this._emit(pc - 1, this.pageSize)}></eui-wc-icon-button>` : ''}
|
|
41
|
+
${!this.hidePageSize ? html `
|
|
42
|
+
<select @change=${(e) => this._emit(0, Number(e.target.value))} aria-label="Page size">
|
|
43
|
+
${this.pageSizeOptions.map((s) => html `<option value=${s} ?selected=${s === this.pageSize}>${s}</option>`)}
|
|
44
|
+
</select>
|
|
45
|
+
` : ''}
|
|
46
|
+
`;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
__decorate([
|
|
50
|
+
property({ type: Number })
|
|
51
|
+
], EuiWcPaginator.prototype, "total", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
property({ attribute: 'page-size', type: Number })
|
|
54
|
+
], EuiWcPaginator.prototype, "pageSize", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
property({ attribute: 'page-index', type: Number })
|
|
57
|
+
], EuiWcPaginator.prototype, "pageIndex", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
property({ attribute: 'page-size-options', type: Array })
|
|
60
|
+
], EuiWcPaginator.prototype, "pageSizeOptions", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
property({ attribute: 'hide-page-size', type: Boolean })
|
|
63
|
+
], EuiWcPaginator.prototype, "hidePageSize", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
property({ attribute: 'show-first-last', type: Boolean })
|
|
66
|
+
], EuiWcPaginator.prototype, "showFirstLast", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
property({ attribute: 'data-e2e' })
|
|
69
|
+
], EuiWcPaginator.prototype, "e2eAttr", void 0);
|
|
70
|
+
EuiWcPaginator = __decorate([
|
|
71
|
+
customElement('eui-wc-paginator')
|
|
72
|
+
], EuiWcPaginator);
|
|
73
|
+
export { EuiWcPaginator };
|
|
74
|
+
//# sourceMappingURL=eui-wc-paginator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-wc-paginator.js","sourceRoot":"","sources":["../../src/eui-paginator/eui-wc-paginator.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;AAC5D,OAAO,0CAA0C,CAAC;AAElD,+DAA+D;AAExD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAAvC;;QAOyB,UAAK,GAAG,CAAC,CAAC;QACc,aAAQ,GAAG,EAAE,CAAC;QACb,cAAS,GAAG,CAAC,CAAC;QACR,oBAAe,GAAa,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAC7C,iBAAY,GAAG,KAAK,CAAC;QACpB,kBAAa,GAAG,IAAI,CAAC;QAC3C,YAAO,GAAG,kBAAkB,CAAC;IAyBtE,CAAC;aArCmB,WAAM,GAAG,GAAG,CAAA;;;;KAI3B,AAJqB,CAIpB;IAUF,IAAY,UAAU,KAAa,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/F,IAAY,QAAQ,KAAa,OAAO,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC;IAErD,KAAK,CAAC,KAAa,EAAE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4B,CAAC,KAAK,CAAC,CAAC;sBACtF,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAA,iBAAiB,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,QAAQ,IAAI,CAAC,WAAW,CAAC;;aAEjH,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;;AA9B2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CAAW;AACc;IAAnD,QAAQ,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gDAAe;AACb;IAApD,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iDAAe;AACR;IAA1D,QAAQ,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;uDAA6C;AAC7C;IAAzD,QAAQ,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oDAAsB;AACpB;IAA1D,QAAQ,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;qDAAsB;AAC3C;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;+CAA8B;AAbzD,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CAsC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-paginator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-paginator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface EuiWcPhonePickerCountry {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
dialCode: string;
|
|
6
|
+
flag?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class EuiWcPhonePicker extends LitElement {
|
|
9
|
+
static styles: import("lit").CSSResult;
|
|
10
|
+
defaultCountry: string;
|
|
11
|
+
countries: EuiWcPhonePickerCountry[];
|
|
12
|
+
isInvalid: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
e2eAttr: string;
|
|
15
|
+
private _country;
|
|
16
|
+
private _number;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
private _emit;
|
|
19
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'eui-wc-phone-picker': EuiWcPhonePicker;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=eui-wc-phone-picker.d.ts.map
|