@ember-eui/pikaday 11.0.3 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -20
- package/declarations/-private/random-id.d.ts +0 -1
- package/declarations/-private/random-id.d.ts.map +1 -1
- package/declarations/components/eui-pikaday.d.ts.map +1 -1
- package/dist/-private/random-id.js.map +1 -1
- package/dist/components/eui-pikaday.js +27 -27
- package/dist/components/eui-pikaday.js.map +1 -1
- package/package.json +47 -40
- package/declarations/core/src/-private/random-id.d.ts +0 -9
- package/declarations/core/src/-private/random-id.d.ts.map +0 -1
- package/declarations/core/src/components/common.d.ts +0 -42
- package/declarations/core/src/components/common.d.ts.map +0 -1
- package/declarations/core/src/components/eui-accordion.d.ts +0 -101
- package/declarations/core/src/components/eui-accordion.d.ts.map +0 -1
- package/declarations/core/src/components/eui-auto-sizer.d.ts +0 -64
- package/declarations/core/src/components/eui-auto-sizer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-avatar.d.ts +0 -22
- package/declarations/core/src/components/eui-avatar.d.ts.map +0 -1
- package/declarations/core/src/components/eui-badge-group.d.ts +0 -23
- package/declarations/core/src/components/eui-badge-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-badge.d.ts +0 -30
- package/declarations/core/src/components/eui-badge.d.ts.map +0 -1
- package/declarations/core/src/components/eui-beta-badge.d.ts +0 -63
- package/declarations/core/src/components/eui-beta-badge.d.ts.map +0 -1
- package/declarations/core/src/components/eui-bottom-bar.d.ts +0 -35
- package/declarations/core/src/components/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/core/src/components/eui-breadcrumbs.d.ts +0 -70
- package/declarations/core/src/components/eui-breadcrumbs.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button-content.d.ts +0 -21
- package/declarations/core/src/components/eui-button-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button-empty.d.ts +0 -33
- package/declarations/core/src/components/eui-button-empty.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button-group-button.d.ts +0 -29
- package/declarations/core/src/components/eui-button-group-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button-group.d.ts +0 -41
- package/declarations/core/src/components/eui-button-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button-icon.d.ts +0 -25
- package/declarations/core/src/components/eui-button-icon.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button.d.ts +0 -34
- package/declarations/core/src/components/eui-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-call-out.d.ts +0 -21
- package/declarations/core/src/components/eui-call-out.d.ts.map +0 -1
- package/declarations/core/src/components/eui-card-select.d.ts +0 -29
- package/declarations/core/src/components/eui-card-select.d.ts.map +0 -1
- package/declarations/core/src/components/eui-card.d.ts +0 -68
- package/declarations/core/src/components/eui-card.d.ts.map +0 -1
- package/declarations/core/src/components/eui-checkable-card.d.ts +0 -21
- package/declarations/core/src/components/eui-checkable-card.d.ts.map +0 -1
- package/declarations/core/src/components/eui-checkbox-group.d.ts +0 -27
- package/declarations/core/src/components/eui-checkbox-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-checkbox.d.ts +0 -27
- package/declarations/core/src/components/eui-checkbox.d.ts.map +0 -1
- package/declarations/core/src/components/eui-code-block/controls.d.ts +0 -13
- package/declarations/core/src/components/eui-code-block/controls.d.ts.map +0 -1
- package/declarations/core/src/components/eui-code-block/full-screen-display.d.ts +0 -11
- package/declarations/core/src/components/eui-code-block/full-screen-display.d.ts.map +0 -1
- package/declarations/core/src/components/eui-code-block/virtualized.d.ts +0 -20
- package/declarations/core/src/components/eui-code-block/virtualized.d.ts.map +0 -1
- package/declarations/core/src/components/eui-code-block.d.ts +0 -92
- package/declarations/core/src/components/eui-code-block.d.ts.map +0 -1
- package/declarations/core/src/components/eui-code.d.ts +0 -21
- package/declarations/core/src/components/eui-code.d.ts.map +0 -1
- package/declarations/core/src/components/eui-collapsible-nav.d.ts +0 -66
- package/declarations/core/src/components/eui-collapsible-nav.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/create-option.d.ts +0 -18
- package/declarations/core/src/components/eui-combo-box/create-option.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/group.d.ts +0 -16
- package/declarations/core/src/components/eui-combo-box/group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/no-matches-message.d.ts +0 -11
- package/declarations/core/src/components/eui-combo-box/no-matches-message.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/options.d.ts +0 -12
- package/declarations/core/src/components/eui-combo-box/options.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/search-message.d.ts +0 -11
- package/declarations/core/src/components/eui-combo-box/search-message.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/trigger/input.d.ts +0 -6
- package/declarations/core/src/components/eui-combo-box/trigger/input.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/trigger.d.ts +0 -4
- package/declarations/core/src/components/eui-combo-box/trigger.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box-pill.d.ts +0 -22
- package/declarations/core/src/components/eui-combo-box-pill.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box.d.ts +0 -93
- package/declarations/core/src/components/eui-combo-box.d.ts.map +0 -1
- package/declarations/core/src/components/eui-comment-list.d.ts +0 -10
- package/declarations/core/src/components/eui-comment-list.d.ts.map +0 -1
- package/declarations/core/src/components/eui-comment-timeline.d.ts +0 -15
- package/declarations/core/src/components/eui-comment-timeline.d.ts.map +0 -1
- package/declarations/core/src/components/eui-comment.d.ts +0 -20
- package/declarations/core/src/components/eui-comment.d.ts.map +0 -1
- package/declarations/core/src/components/eui-confirm-modal.d.ts +0 -23
- package/declarations/core/src/components/eui-confirm-modal.d.ts.map +0 -1
- package/declarations/core/src/components/eui-context-menu-item.d.ts +0 -25
- package/declarations/core/src/components/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-context-menu-panel.d.ts +0 -10
- package/declarations/core/src/components/eui-context-menu-panel.d.ts.map +0 -1
- package/declarations/core/src/components/eui-copy.d.ts +0 -36
- package/declarations/core/src/components/eui-copy.d.ts.map +0 -1
- package/declarations/core/src/components/eui-described-form-group.d.ts +0 -27
- package/declarations/core/src/components/eui-described-form-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-description-list-description.d.ts +0 -10
- package/declarations/core/src/components/eui-description-list-description.d.ts.map +0 -1
- package/declarations/core/src/components/eui-description-list-title.d.ts +0 -10
- package/declarations/core/src/components/eui-description-list-title.d.ts.map +0 -1
- package/declarations/core/src/components/eui-description-list.d.ts +0 -27
- package/declarations/core/src/components/eui-description-list.d.ts.map +0 -1
- package/declarations/core/src/components/eui-dual-range.d.ts +0 -141
- package/declarations/core/src/components/eui-dual-range.d.ts.map +0 -1
- package/declarations/core/src/components/eui-empty-prompt.d.ts +0 -29
- package/declarations/core/src/components/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/core/src/components/eui-field-number.d.ts +0 -57
- package/declarations/core/src/components/eui-field-number.d.ts.map +0 -1
- package/declarations/core/src/components/eui-field-password.d.ts +0 -28
- package/declarations/core/src/components/eui-field-password.d.ts.map +0 -1
- package/declarations/core/src/components/eui-field-search.d.ts +0 -52
- package/declarations/core/src/components/eui-field-search.d.ts.map +0 -1
- package/declarations/core/src/components/eui-field-text.d.ts +0 -29
- package/declarations/core/src/components/eui-field-text.d.ts.map +0 -1
- package/declarations/core/src/components/eui-file-picker.d.ts +0 -60
- package/declarations/core/src/components/eui-file-picker.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flex-grid.d.ts +0 -33
- package/declarations/core/src/components/eui-flex-grid.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flex-group.d.ts +0 -20
- package/declarations/core/src/components/eui-flex-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flex-item.d.ts +0 -15
- package/declarations/core/src/components/eui-flex-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flyout-body.d.ts +0 -12
- package/declarations/core/src/components/eui-flyout-body.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flyout-footer.d.ts +0 -10
- package/declarations/core/src/components/eui-flyout-footer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flyout-header.d.ts +0 -13
- package/declarations/core/src/components/eui-flyout-header.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flyout.d.ts +0 -92
- package/declarations/core/src/components/eui-flyout.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-control-layout-clear-button.d.ts +0 -14
- package/declarations/core/src/components/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-control-layout-custom-icon.d.ts +0 -16
- package/declarations/core/src/components/eui-form-control-layout-custom-icon.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-control-layout-delimited.d.ts +0 -25
- package/declarations/core/src/components/eui-form-control-layout-delimited.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-control-layout-icons.d.ts +0 -17
- package/declarations/core/src/components/eui-form-control-layout-icons.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-control-layout.d.ts +0 -30
- package/declarations/core/src/components/eui-form-control-layout.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-error-text.d.ts +0 -10
- package/declarations/core/src/components/eui-form-error-text.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-fieldset.d.ts +0 -18
- package/declarations/core/src/components/eui-form-fieldset.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-help-text.d.ts +0 -13
- package/declarations/core/src/components/eui-form-help-text.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-label.d.ts +0 -17
- package/declarations/core/src/components/eui-form-label.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-legend.d.ts +0 -14
- package/declarations/core/src/components/eui-form-legend.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-row.d.ts +0 -35
- package/declarations/core/src/components/eui-form-row.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form.d.ts +0 -20
- package/declarations/core/src/components/eui-form.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-alert.d.ts +0 -14
- package/declarations/core/src/components/eui-header-alert.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-breadcrumbs.d.ts +0 -14
- package/declarations/core/src/components/eui-header-breadcrumbs.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-link.d.ts +0 -14
- package/declarations/core/src/components/eui-header-link.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-links.d.ts +0 -20
- package/declarations/core/src/components/eui-header-links.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-logo.d.ts +0 -17
- package/declarations/core/src/components/eui-header-logo.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-section-item-button.d.ts +0 -26
- package/declarations/core/src/components/eui-header-section-item-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-section-item.d.ts +0 -14
- package/declarations/core/src/components/eui-header-section-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-section.d.ts +0 -15
- package/declarations/core/src/components/eui-header-section.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header.d.ts +0 -23
- package/declarations/core/src/components/eui-header.d.ts.map +0 -1
- package/declarations/core/src/components/eui-health.d.ts +0 -21
- package/declarations/core/src/components/eui-health.d.ts.map +0 -1
- package/declarations/core/src/components/eui-hide-for.d.ts +0 -21
- package/declarations/core/src/components/eui-hide-for.d.ts.map +0 -1
- package/declarations/core/src/components/eui-horizontal-rule.d.ts +0 -12
- package/declarations/core/src/components/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/core/src/components/eui-i18n/render.d.ts +0 -12
- package/declarations/core/src/components/eui-i18n/render.d.ts.map +0 -1
- package/declarations/core/src/components/eui-i18n.d.ts +0 -32
- package/declarations/core/src/components/eui-i18n.d.ts.map +0 -1
- package/declarations/core/src/components/eui-icon-tip.d.ts +0 -29
- package/declarations/core/src/components/eui-icon-tip.d.ts.map +0 -1
- package/declarations/core/src/components/eui-icon.d.ts +0 -80
- package/declarations/core/src/components/eui-icon.d.ts.map +0 -1
- package/declarations/core/src/components/eui-image.d.ts +0 -62
- package/declarations/core/src/components/eui-image.d.ts.map +0 -1
- package/declarations/core/src/components/eui-inner-text.d.ts +0 -21
- package/declarations/core/src/components/eui-inner-text.d.ts.map +0 -1
- package/declarations/core/src/components/eui-input-popover.d.ts +0 -44
- package/declarations/core/src/components/eui-input-popover.d.ts.map +0 -1
- package/declarations/core/src/components/eui-key-pad-menu-item.d.ts +0 -26
- package/declarations/core/src/components/eui-key-pad-menu-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-key-pad-menu.d.ts +0 -23
- package/declarations/core/src/components/eui-key-pad-menu.d.ts.map +0 -1
- package/declarations/core/src/components/eui-link.d.ts +0 -18
- package/declarations/core/src/components/eui-link.d.ts.map +0 -1
- package/declarations/core/src/components/eui-list-group-item.d.ts +0 -26
- package/declarations/core/src/components/eui-list-group-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-list-group.d.ts +0 -16
- package/declarations/core/src/components/eui-list-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-loading-content.d.ts +0 -14
- package/declarations/core/src/components/eui-loading-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-loading-logo.d.ts +0 -13
- package/declarations/core/src/components/eui-loading-logo.d.ts.map +0 -1
- package/declarations/core/src/components/eui-loading-spinner.d.ts +0 -11
- package/declarations/core/src/components/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-drop-zone.d.ts +0 -17
- package/declarations/core/src/components/eui-markdown-editor-drop-zone.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts +0 -10
- package/declarations/core/src/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-footer.d.ts +0 -13
- package/declarations/core/src/components/eui-markdown-editor-footer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-text-area.d.ts +0 -14
- package/declarations/core/src/components/eui-markdown-editor-text-area.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts +0 -11
- package/declarations/core/src/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-toolbar.d.ts +0 -61
- package/declarations/core/src/components/eui-markdown-editor-toolbar.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor.d.ts +0 -99
- package/declarations/core/src/components/eui-markdown-editor.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-format/markdown-checkbox.d.ts +0 -24
- package/declarations/core/src/components/eui-markdown-format/markdown-checkbox.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-format/markdown-code-block.d.ts +0 -15
- package/declarations/core/src/components/eui-markdown-format/markdown-code-block.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-format/markdown-code.d.ts +0 -13
- package/declarations/core/src/components/eui-markdown-format/markdown-code.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-format/markdown-tooltip.d.ts +0 -15
- package/declarations/core/src/components/eui-markdown-format/markdown-tooltip.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-format.d.ts +0 -23
- package/declarations/core/src/components/eui-markdown-format.d.ts.map +0 -1
- package/declarations/core/src/components/eui-modal-body.d.ts +0 -10
- package/declarations/core/src/components/eui-modal-body.d.ts.map +0 -1
- package/declarations/core/src/components/eui-modal-footer.d.ts +0 -10
- package/declarations/core/src/components/eui-modal-footer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-modal-header-title.d.ts +0 -10
- package/declarations/core/src/components/eui-modal-header-title.d.ts.map +0 -1
- package/declarations/core/src/components/eui-modal-header.d.ts +0 -10
- package/declarations/core/src/components/eui-modal-header.d.ts.map +0 -1
- package/declarations/core/src/components/eui-modal.d.ts +0 -27
- package/declarations/core/src/components/eui-modal.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-badge.d.ts +0 -15
- package/declarations/core/src/components/eui-notification-badge.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-event-messages.d.ts +0 -13
- package/declarations/core/src/components/eui-notification-event-messages.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-event-meta.d.ts +0 -24
- package/declarations/core/src/components/eui-notification-event-meta.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-event-read-button.d.ts +0 -13
- package/declarations/core/src/components/eui-notification-event-read-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-event-read-icon.d.ts +0 -14
- package/declarations/core/src/components/eui-notification-event-read-icon.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-event.d.ts +0 -40
- package/declarations/core/src/components/eui-notification-event.d.ts.map +0 -1
- package/declarations/core/src/components/eui-overlay-mask.d.ts +0 -20
- package/declarations/core/src/components/eui-overlay-mask.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-body.d.ts +0 -22
- package/declarations/core/src/components/eui-page-body.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-content-body.d.ts +0 -18
- package/declarations/core/src/components/eui-page-content-body.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-content-header-section.d.ts +0 -10
- package/declarations/core/src/components/eui-page-content-header-section.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-content-header.d.ts +0 -13
- package/declarations/core/src/components/eui-page-content-header.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-content.d.ts +0 -22
- package/declarations/core/src/components/eui-page-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-header-content.d.ts +0 -98
- package/declarations/core/src/components/eui-page-header-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-header-section.d.ts +0 -10
- package/declarations/core/src/components/eui-page-header-section.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-header.d.ts +0 -89
- package/declarations/core/src/components/eui-page-header.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-side-bar.d.ts +0 -15
- package/declarations/core/src/components/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-template.d.ts +0 -77
- package/declarations/core/src/components/eui-page-template.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page.d.ts +0 -17
- package/declarations/core/src/components/eui-page.d.ts.map +0 -1
- package/declarations/core/src/components/eui-pagination/button-wrapper.d.ts +0 -16
- package/declarations/core/src/components/eui-pagination/button-wrapper.d.ts.map +0 -1
- package/declarations/core/src/components/eui-pagination/next-button.d.ts +0 -19
- package/declarations/core/src/components/eui-pagination/next-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-pagination/previous-button.d.ts +0 -18
- package/declarations/core/src/components/eui-pagination/previous-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-pagination-button.d.ts +0 -20
- package/declarations/core/src/components/eui-pagination-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-pagination.d.ts +0 -79
- package/declarations/core/src/components/eui-pagination.d.ts.map +0 -1
- package/declarations/core/src/components/eui-panel.d.ts +0 -45
- package/declarations/core/src/components/eui-panel.d.ts.map +0 -1
- package/declarations/core/src/components/eui-popover-footer.d.ts +0 -14
- package/declarations/core/src/components/eui-popover-footer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-popover-title.d.ts +0 -14
- package/declarations/core/src/components/eui-popover-title.d.ts.map +0 -1
- package/declarations/core/src/components/eui-popover.d.ts +0 -217
- package/declarations/core/src/components/eui-popover.d.ts.map +0 -1
- package/declarations/core/src/components/eui-portal.d.ts +0 -28
- package/declarations/core/src/components/eui-portal.d.ts.map +0 -1
- package/declarations/core/src/components/eui-progress.d.ts +0 -22
- package/declarations/core/src/components/eui-progress.d.ts.map +0 -1
- package/declarations/core/src/components/eui-radio-group.d.ts +0 -25
- package/declarations/core/src/components/eui-radio-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-radio.d.ts +0 -24
- package/declarations/core/src/components/eui-radio.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-highlight.d.ts +0 -16
- package/declarations/core/src/components/eui-range-highlight.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-input.d.ts +0 -25
- package/declarations/core/src/components/eui-range-input.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-label.d.ts +0 -13
- package/declarations/core/src/components/eui-range-label.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-levels.d.ts +0 -27
- package/declarations/core/src/components/eui-range-levels.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-slider.d.ts +0 -25
- package/declarations/core/src/components/eui-range-slider.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-thumb.d.ts +0 -15
- package/declarations/core/src/components/eui-range-thumb.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-ticks.d.ts +0 -29
- package/declarations/core/src/components/eui-range-ticks.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-tooltip.d.ts +0 -33
- package/declarations/core/src/components/eui-range-tooltip.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-track.d.ts +0 -43
- package/declarations/core/src/components/eui-range-track.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-wrapper.d.ts +0 -14
- package/declarations/core/src/components/eui-range-wrapper.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range.d.ts +0 -112
- package/declarations/core/src/components/eui-range.d.ts.map +0 -1
- package/declarations/core/src/components/eui-select.d.ts +0 -31
- package/declarations/core/src/components/eui-select.d.ts.map +0 -1
- package/declarations/core/src/components/eui-selectable-list-item.d.ts +0 -15
- package/declarations/core/src/components/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-show-for.d.ts +0 -30
- package/declarations/core/src/components/eui-show-for.d.ts.map +0 -1
- package/declarations/core/src/components/eui-side-nav-item/button.d.ts +0 -16
- package/declarations/core/src/components/eui-side-nav-item/button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-side-nav-item.d.ts +0 -32
- package/declarations/core/src/components/eui-side-nav-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-side-nav.d.ts +0 -48
- package/declarations/core/src/components/eui-side-nav.d.ts.map +0 -1
- package/declarations/core/src/components/eui-spacer.d.ts +0 -11
- package/declarations/core/src/components/eui-spacer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-stat/description.d.ts +0 -15
- package/declarations/core/src/components/eui-stat/description.d.ts.map +0 -1
- package/declarations/core/src/components/eui-stat/title.d.ts +0 -17
- package/declarations/core/src/components/eui-stat/title.d.ts.map +0 -1
- package/declarations/core/src/components/eui-stat.d.ts +0 -28
- package/declarations/core/src/components/eui-stat.d.ts.map +0 -1
- package/declarations/core/src/components/eui-step-horizontal.d.ts +0 -38
- package/declarations/core/src/components/eui-step-horizontal.d.ts.map +0 -1
- package/declarations/core/src/components/eui-step-number.d.ts +0 -31
- package/declarations/core/src/components/eui-step-number.d.ts.map +0 -1
- package/declarations/core/src/components/eui-step.d.ts +0 -18
- package/declarations/core/src/components/eui-step.d.ts.map +0 -1
- package/declarations/core/src/components/eui-steps.d.ts +0 -13
- package/declarations/core/src/components/eui-steps.d.ts.map +0 -1
- package/declarations/core/src/components/eui-sub-steps.d.ts +0 -10
- package/declarations/core/src/components/eui-sub-steps.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/absolute-tab.d.ts +0 -27
- package/declarations/core/src/components/eui-super-date-picker/date-popover/absolute-tab.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/datetime-picker.d.ts +0 -65
- package/declarations/core/src/components/eui-super-date-picker/date-popover/datetime-picker.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts +0 -45
- package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts +0 -49
- package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/now-tab.d.ts +0 -10
- package/declarations/core/src/components/eui-super-date-picker/date-popover/now-tab.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/relative-tab.d.ts +0 -31
- package/declarations/core/src/components/eui-super-date-picker/date-popover/relative-tab.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-date-picker-range.d.ts +0 -18
- package/declarations/core/src/components/eui-super-date-picker/eui-date-picker-range.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts +0 -14
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts +0 -37
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts +0 -14
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover.d.ts +0 -33
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-super-update-button.d.ts +0 -20
- package/declarations/core/src/components/eui-super-date-picker/eui-super-update-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/utils/index.d.ts +0 -31
- package/declarations/core/src/components/eui-super-date-picker/utils/index.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/utils/quick-select.d.ts +0 -14
- package/declarations/core/src/components/eui-super-date-picker/utils/quick-select.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/utils/time-options.d.ts +0 -20
- package/declarations/core/src/components/eui-super-date-picker/utils/time-options.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker.d.ts +0 -102
- package/declarations/core/src/components/eui-super-date-picker.d.ts.map +0 -1
- package/declarations/core/src/components/eui-switch.d.ts +0 -30
- package/declarations/core/src/components/eui-switch.d.ts.map +0 -1
- package/declarations/core/src/components/eui-tab.d.ts +0 -21
- package/declarations/core/src/components/eui-tab.d.ts.map +0 -1
- package/declarations/core/src/components/eui-tabbed-content.d.ts +0 -65
- package/declarations/core/src/components/eui-tabbed-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-tabs.d.ts +0 -18
- package/declarations/core/src/components/eui-tabs.d.ts.map +0 -1
- package/declarations/core/src/components/eui-text-align.d.ts +0 -13
- package/declarations/core/src/components/eui-text-align.d.ts.map +0 -1
- package/declarations/core/src/components/eui-text-area.d.ts +0 -22
- package/declarations/core/src/components/eui-text-area.d.ts.map +0 -1
- package/declarations/core/src/components/eui-text-color.d.ts +0 -14
- package/declarations/core/src/components/eui-text-color.d.ts.map +0 -1
- package/declarations/core/src/components/eui-text.d.ts +0 -19
- package/declarations/core/src/components/eui-text.d.ts.map +0 -1
- package/declarations/core/src/components/eui-title.d.ts +0 -17
- package/declarations/core/src/components/eui-title.d.ts.map +0 -1
- package/declarations/core/src/components/eui-toast.d.ts +0 -35
- package/declarations/core/src/components/eui-toast.d.ts.map +0 -1
- package/declarations/core/src/components/eui-tool-tip-popover.d.ts +0 -26
- package/declarations/core/src/components/eui-tool-tip-popover.d.ts.map +0 -1
- package/declarations/core/src/components/eui-tool-tip.d.ts +0 -108
- package/declarations/core/src/components/eui-tool-tip.d.ts.map +0 -1
- package/declarations/core/src/components/text-block.d.ts +0 -13
- package/declarations/core/src/components/text-block.d.ts.map +0 -1
- package/declarations/core/src/components.d.ts +0 -150
- package/declarations/core/src/components.d.ts.map +0 -1
- package/declarations/core/src/helpers/arg-or-default.d.ts +0 -21
- package/declarations/core/src/helpers/arg-or-default.d.ts.map +0 -1
- package/declarations/core/src/helpers/cast-to.d.ts +0 -14
- package/declarations/core/src/helpers/cast-to.d.ts.map +0 -1
- package/declarations/core/src/helpers/class-names.d.ts +0 -47
- package/declarations/core/src/helpers/class-names.d.ts.map +0 -1
- package/declarations/core/src/helpers/eui-page-restrict-width.d.ts +0 -30
- package/declarations/core/src/helpers/eui-page-restrict-width.d.ts.map +0 -1
- package/declarations/core/src/helpers/get-eui-config.d.ts +0 -14
- package/declarations/core/src/helpers/get-eui-config.d.ts.map +0 -1
- package/declarations/core/src/helpers/get-range-tick.d.ts +0 -21
- package/declarations/core/src/helpers/get-range-tick.d.ts.map +0 -1
- package/declarations/core/src/helpers/hex-to-rgb.d.ts +0 -10
- package/declarations/core/src/helpers/hex-to-rgb.d.ts.map +0 -1
- package/declarations/core/src/helpers/inline-styles.d.ts +0 -19
- package/declarations/core/src/helpers/inline-styles.d.ts.map +0 -1
- package/declarations/core/src/helpers/is-color-dark.d.ts +0 -10
- package/declarations/core/src/helpers/is-color-dark.d.ts.map +0 -1
- package/declarations/core/src/helpers/is-item-open.d.ts +0 -16
- package/declarations/core/src/helpers/is-item-open.d.ts.map +0 -1
- package/declarations/core/src/helpers/is-valid-hex.d.ts +0 -10
- package/declarations/core/src/helpers/is-valid-hex.d.ts.map +0 -1
- package/declarations/core/src/helpers/merge.d.ts +0 -9
- package/declarations/core/src/helpers/merge.d.ts.map +0 -1
- package/declarations/core/src/helpers/to-initials.d.ts +0 -11
- package/declarations/core/src/helpers/to-initials.d.ts.map +0 -1
- package/declarations/core/src/helpers/type-of.d.ts +0 -10
- package/declarations/core/src/helpers/type-of.d.ts.map +0 -1
- package/declarations/core/src/helpers/use-state.d.ts +0 -21
- package/declarations/core/src/helpers/use-state.d.ts.map +0 -1
- package/declarations/core/src/helpers.d.ts +0 -9
- package/declarations/core/src/helpers.d.ts.map +0 -1
- package/declarations/core/src/i18n/util.d.ts +0 -12
- package/declarations/core/src/i18n/util.d.ts.map +0 -1
- package/declarations/core/src/modifiers/mutation-observer.d.ts +0 -12
- package/declarations/core/src/modifiers/mutation-observer.d.ts.map +0 -1
- package/declarations/core/src/modifiers/outside-click-detector.d.ts +0 -38
- package/declarations/core/src/modifiers/outside-click-detector.d.ts.map +0 -1
- package/declarations/core/src/modifiers/resize-observer.d.ts +0 -36
- package/declarations/core/src/modifiers/resize-observer.d.ts.map +0 -1
- package/declarations/core/src/modifiers/screen-reader-only.d.ts +0 -9
- package/declarations/core/src/modifiers/screen-reader-only.d.ts.map +0 -1
- package/declarations/core/src/modifiers/simple-style.d.ts +0 -12
- package/declarations/core/src/modifiers/simple-style.d.ts.map +0 -1
- package/declarations/core/src/modifiers/use-is-within-breakpoints.d.ts +0 -15
- package/declarations/core/src/modifiers/use-is-within-breakpoints.d.ts.map +0 -1
- package/declarations/core/src/modifiers/validatable-control.d.ts +0 -9
- package/declarations/core/src/modifiers/validatable-control.d.ts.map +0 -1
- package/declarations/core/src/services/eui-config.d.ts +0 -15
- package/declarations/core/src/services/eui-config.d.ts.map +0 -1
- package/declarations/core/src/services/eui-i18n.d.ts +0 -24
- package/declarations/core/src/services/eui-i18n.d.ts.map +0 -1
- package/declarations/core/src/utils/accesibility/accessible-click-keys.d.ts +0 -5
- package/declarations/core/src/utils/accesibility/accessible-click-keys.d.ts.map +0 -1
- package/declarations/core/src/utils/accesibility/cascading-menu-keys.d.ts +0 -9
- package/declarations/core/src/utils/accesibility/cascading-menu-keys.d.ts.map +0 -1
- package/declarations/core/src/utils/accesibility/combo-box-keys.d.ts +0 -8
- package/declarations/core/src/utils/accesibility/combo-box-keys.d.ts.map +0 -1
- package/declarations/core/src/utils/accesibility/index.d.ts +0 -4
- package/declarations/core/src/utils/accesibility/index.d.ts.map +0 -1
- package/declarations/core/src/utils/breakpoint.d.ts +0 -50
- package/declarations/core/src/utils/breakpoint.d.ts.map +0 -1
- package/declarations/core/src/utils/browser/browser.d.ts +0 -6
- package/declarations/core/src/utils/browser/browser.d.ts.map +0 -1
- package/declarations/core/src/utils/browser/index.d.ts +0 -2
- package/declarations/core/src/utils/browser/index.d.ts.map +0 -1
- package/declarations/core/src/utils/code/utils.d.ts +0 -32
- package/declarations/core/src/utils/code/utils.d.ts.map +0 -1
- package/declarations/core/src/utils/color/color_palette.d.ts +0 -24
- package/declarations/core/src/utils/color/color_palette.d.ts.map +0 -1
- package/declarations/core/src/utils/color/eui_palettes.d.ts +0 -37
- package/declarations/core/src/utils/color/eui_palettes.d.ts.map +0 -1
- package/declarations/core/src/utils/color/index.d.ts +0 -6
- package/declarations/core/src/utils/color/index.d.ts.map +0 -1
- package/declarations/core/src/utils/copy-to-clipboard.d.ts +0 -2
- package/declarations/core/src/utils/copy-to-clipboard.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-accordion.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-accordion.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-avatar.d.ts +0 -23
- package/declarations/core/src/utils/css-mappings/eui-avatar.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-badge-group.d.ts +0 -8
- package/declarations/core/src/utils/css-mappings/eui-badge-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-badge.d.ts +0 -31
- package/declarations/core/src/utils/css-mappings/eui-badge.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-beta-badge.d.ts +0 -13
- package/declarations/core/src/utils/css-mappings/eui-beta-badge.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-bottom-bar.d.ts +0 -4
- package/declarations/core/src/utils/css-mappings/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-button-empty.d.ts +0 -22
- package/declarations/core/src/utils/css-mappings/eui-button-empty.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-button-group-button.d.ts +0 -4
- package/declarations/core/src/utils/css-mappings/eui-button-group-button.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-button-group.d.ts +0 -4
- package/declarations/core/src/utils/css-mappings/eui-button-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-button-icon.d.ts +0 -23
- package/declarations/core/src/utils/css-mappings/eui-button-icon.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-button.d.ts +0 -13
- package/declarations/core/src/utils/css-mappings/eui-button.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-call-out.d.ts +0 -13
- package/declarations/core/src/utils/css-mappings/eui-call-out.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-card-select.d.ts +0 -4
- package/declarations/core/src/utils/css-mappings/eui-card-select.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-card.d.ts +0 -9
- package/declarations/core/src/utils/css-mappings/eui-card.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-code-block.d.ts +0 -15
- package/declarations/core/src/utils/css-mappings/eui-code-block.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-collapsible-nav-group.d.ts +0 -9
- package/declarations/core/src/utils/css-mappings/eui-collapsible-nav-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-comment-event.d.ts +0 -4
- package/declarations/core/src/utils/css-mappings/eui-comment-event.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-comment-timeline-icon.d.ts +0 -7
- package/declarations/core/src/utils/css-mappings/eui-comment-timeline-icon.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-context-menu-item.d.ts +0 -15
- package/declarations/core/src/utils/css-mappings/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-described-form-group.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-described-form-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-description-list.d.ts +0 -18
- package/declarations/core/src/utils/css-mappings/eui-description-list.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-empty-prompt.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-file-picker.d.ts +0 -8
- package/declarations/core/src/utils/css-mappings/eui-file-picker.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-flex-grid.d.ts +0 -22
- package/declarations/core/src/utils/css-mappings/eui-flex-grid.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-flex-group.d.ts +0 -33
- package/declarations/core/src/utils/css-mappings/eui-flex-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-flex-item.d.ts +0 -17
- package/declarations/core/src/utils/css-mappings/eui-flex-item.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-flyout.d.ts +0 -23
- package/declarations/core/src/utils/css-mappings/eui-flyout.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-form-control-layout-clear-button.d.ts +0 -8
- package/declarations/core/src/utils/css-mappings/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-form-row.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-form-row.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-global-toast-list.d.ts +0 -8
- package/declarations/core/src/utils/css-mappings/eui-global-toast-list.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-header-links.d.ts +0 -18
- package/declarations/core/src/utils/css-mappings/eui-header-links.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-header-section-item.d.ts +0 -9
- package/declarations/core/src/utils/css-mappings/eui-header-section-item.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-header-section.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-header-section.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-header.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-header.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-health.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-health.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-horizontal-rule.d.ts +0 -18
- package/declarations/core/src/utils/css-mappings/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-icon.d.ts +0 -494
- package/declarations/core/src/utils/css-mappings/eui-icon.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-image.d.ts +0 -22
- package/declarations/core/src/utils/css-mappings/eui-image.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-link.d.ts +0 -14
- package/declarations/core/src/utils/css-mappings/eui-link.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-list-group-item.d.ts +0 -17
- package/declarations/core/src/utils/css-mappings/eui-list-group-item.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-list-group.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-list-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-loading-spinner.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-modal.d.ts +0 -7
- package/declarations/core/src/utils/css-mappings/eui-modal.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-notification-badge.d.ts +0 -11
- package/declarations/core/src/utils/css-mappings/eui-notification-badge.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page-body.d.ts +0 -16
- package/declarations/core/src/utils/css-mappings/eui-page-body.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page-content-body.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-page-content-body.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page-content.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-page-content.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page-header.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-page-header.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page-side-bar.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page.d.ts +0 -24
- package/declarations/core/src/utils/css-mappings/eui-page.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-panel.d.ts +0 -24
- package/declarations/core/src/utils/css-mappings/eui-panel.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-popover-footer.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-popover-footer.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-popover-title.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-popover-title.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-popover.d.ts +0 -22
- package/declarations/core/src/utils/css-mappings/eui-popover.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-progress-data.d.ts +0 -3
- package/declarations/core/src/utils/css-mappings/eui-progress-data.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-progress.d.ts +0 -50
- package/declarations/core/src/utils/css-mappings/eui-progress.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-range-highlight.d.ts +0 -11
- package/declarations/core/src/utils/css-mappings/eui-range-highlight.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-range-input.d.ts +0 -8
- package/declarations/core/src/utils/css-mappings/eui-range-input.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-range-levels.d.ts +0 -13
- package/declarations/core/src/utils/css-mappings/eui-range-levels.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-selectable-list-item.d.ts +0 -7
- package/declarations/core/src/utils/css-mappings/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-spacer.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-spacer.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-stat.d.ts +0 -17
- package/declarations/core/src/utils/css-mappings/eui-stat.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-step-number.d.ts +0 -11
- package/declarations/core/src/utils/css-mappings/eui-step-number.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-tabs.d.ts +0 -14
- package/declarations/core/src/utils/css-mappings/eui-tabs.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-text-align.d.ts +0 -9
- package/declarations/core/src/utils/css-mappings/eui-text-align.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-text-area.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-text-area.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-text-color.d.ts +0 -14
- package/declarations/core/src/utils/css-mappings/eui-text-color.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-text.d.ts +0 -9
- package/declarations/core/src/utils/css-mappings/eui-text.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-title.d.ts +0 -15
- package/declarations/core/src/utils/css-mappings/eui-title.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-toast.d.ts +0 -11
- package/declarations/core/src/utils/css-mappings/eui-toast.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-tool-tip.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-tool-tip.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/index.d.ts +0 -3
- package/declarations/core/src/utils/css-mappings/index.d.ts.map +0 -1
- package/declarations/core/src/utils/detect-element-resize.d.ts +0 -17
- package/declarations/core/src/utils/detect-element-resize.d.ts.map +0 -1
- package/declarations/core/src/utils/keys.d.ts +0 -31
- package/declarations/core/src/utils/keys.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/markdown-actions.d.ts +0 -45
- package/declarations/core/src/utils/markdown/markdown-actions.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/markdown-modes.d.ts +0 -4
- package/declarations/core/src/utils/markdown/markdown-modes.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/markdown-types.d.ts +0 -100
- package/declarations/core/src/utils/markdown/markdown-types.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-add-components/index.d.ts +0 -3
- package/declarations/core/src/utils/markdown/plugins/markdown-add-components/index.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-add-components/processor.d.ts +0 -6
- package/declarations/core/src/utils/markdown/plugins/markdown-add-components/processor.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/index.d.ts +0 -2
- package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/index.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/parser.d.ts +0 -3
- package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/parser.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/index.d.ts +0 -5
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/index.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts +0 -7
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts +0 -11
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts +0 -21
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts +0 -7
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/index.d.ts +0 -3
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/index.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/parser.d.ts +0 -3
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/parser.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/plugin.d.ts +0 -14
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/plugin.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/to-dom.d.ts +0 -20
- package/declarations/core/src/utils/markdown/plugins/to-dom.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/remark/remark-prismjs.d.ts +0 -5
- package/declarations/core/src/utils/markdown/remark/remark-prismjs.d.ts.map +0 -1
- package/declarations/core/src/utils/number/index.d.ts +0 -2
- package/declarations/core/src/utils/number/index.d.ts.map +0 -1
- package/declarations/core/src/utils/number/number.d.ts +0 -3
- package/declarations/core/src/utils/number/number.d.ts.map +0 -1
- package/declarations/core/src/utils/popover/index.d.ts +0 -154
- package/declarations/core/src/utils/popover/index.d.ts.map +0 -1
- package/declarations/core/src/utils/popover/types.d.ts +0 -2
- package/declarations/core/src/utils/popover/types.d.ts.map +0 -1
- package/declarations/core/src/utils/predicate/common_predicates.d.ts +0 -6
- package/declarations/core/src/utils/predicate/common_predicates.d.ts.map +0 -1
- package/declarations/core/src/utils/predicate/index.d.ts +0 -3
- package/declarations/core/src/utils/predicate/index.d.ts.map +0 -1
- package/declarations/core/src/utils/predicate/lodash_predicates.d.ts +0 -8
- package/declarations/core/src/utils/predicate/lodash_predicates.d.ts.map +0 -1
- package/declarations/core/src/utils/range/index.d.ts +0 -2
- package/declarations/core/src/utils/range/index.d.ts.map +0 -1
- package/declarations/core/src/utils/transition.d.ts +0 -8
- package/declarations/core/src/utils/transition.d.ts.map +0 -1
- package/declarations/pikaday/src/-private/random-id.d.ts +0 -9
- package/declarations/pikaday/src/-private/random-id.d.ts.map +0 -1
- package/declarations/pikaday/src/components/eui-pikaday.d.ts +0 -58
- package/declarations/pikaday/src/components/eui-pikaday.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1,38 +1,27 @@
|
|
|
1
|
-
pikaday
|
|
2
|
-
==============================================================================
|
|
1
|
+
# @ember-eui/pikaday
|
|
3
2
|
|
|
4
3
|
[Short description of the addon.]
|
|
5
4
|
|
|
5
|
+
## Compatibility
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
- Ember.js v4.12 or above
|
|
8
|
+
- Ember CLI v4.12 or above
|
|
9
|
+
- Node.js v18 or above
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
* Ember CLI v3.24 or above
|
|
12
|
-
* Node.js v12 or above
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Installation
|
|
16
|
-
------------------------------------------------------------------------------
|
|
11
|
+
## Installation
|
|
17
12
|
|
|
18
13
|
```
|
|
19
14
|
ember install @ember-eui/pikaday
|
|
20
15
|
```
|
|
21
16
|
|
|
22
|
-
|
|
23
|
-
Usage
|
|
24
|
-
------------------------------------------------------------------------------
|
|
17
|
+
## Usage
|
|
25
18
|
|
|
26
19
|
[Longer description of how to use the addon in apps.]
|
|
27
20
|
|
|
28
|
-
|
|
29
|
-
Contributing
|
|
30
|
-
------------------------------------------------------------------------------
|
|
21
|
+
## Contributing
|
|
31
22
|
|
|
32
23
|
See the [Contributing](CONTRIBUTING.md) guide for details.
|
|
33
24
|
|
|
34
|
-
|
|
35
|
-
License
|
|
36
|
-
------------------------------------------------------------------------------
|
|
25
|
+
## License
|
|
37
26
|
|
|
38
27
|
This project is licensed under the [MIT License](LICENSE.md).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"random-id.d.ts","sourceRoot":"","sources":["../../src/-private/random-id.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"random-id.d.ts","sourceRoot":"","sources":["../../src/-private/random-id.ts"],"names":[],"mappings":";UAGQ;QACJ,UAAU,EAAE,EAAE,CAAC;KAChB;YACO,MAAM;;AAJhB,wBAKa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-pikaday.d.ts","sourceRoot":"","sources":["../../src/components/eui-pikaday.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,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,WAAW,CAAC;QACxB,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,MAAM,CAAC,EAAE,GAAG,CAAC;QACb,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,qBAAqB,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;QACpD,MAAM,EAAE,qBAAqB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC;KACnD,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,SAAS,CAAC,mBAAmB,CAAC;;IAC7E,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAQ;IACtC,OAAO,CAAC,EAAE,GAAG,CAAC;IAEd,IAAI,MAAM,WAET;IAED,IAAI,KAAK,gCAER;IAED,IAAI,SAAS,sCAkBZ;IAED,IAAI,IAAI;WAxDD,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM;;;;;;;kBA0E7B;IAED,IAAI,QAAQ,WAEX;IAGD,aAAa,CAAC,KAAK,EAAE,gBAAgB;IAKrC,eAAe,CAAC,OAAO,EAAE,GAAG;IAM5B,OAAO;IAaP,MAAM;IAWN,MAAM;IAQN,SAAS,CAAC,KAAK,EAAE,KAAK;IAKtB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;CA8B3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"random-id.js","sources":["../../src/-private/random-id.ts"],"sourcesContent":["import { helper } from '@ember/component/helper';\n\nexport default helper<{\n Args: {\n Positional: [];\n };\n Return: string;\n}>(randomId);\n\n// Copy-pasted from the ember-source implementation:\n// https://github.com/emberjs/ember.js/blob/master/packages/@ember/-internals/glimmer/lib/helpers/unique-id.ts\nfunction randomId() {\n //@ts-expect-error\n return ([3e7] + -1e3 + -4e3 + -2e3 + -1e11).replace(/[0-3]/g, (a) =>\n ((a * 4) ^ ((Math.random() * 16) >> (a & 2))).toString(16)\n );\n}\n"],"names":["helper","randomId","replace","a","Math","random","toString"],"mappings":";;AAEA,eAAeA,MAAM,CAKlBC,UAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"random-id.js","sources":["../../src/-private/random-id.ts"],"sourcesContent":["import { helper } from '@ember/component/helper';\n\nexport default helper<{\n Args: {\n Positional: [];\n };\n Return: string;\n}>(randomId);\n\n// Copy-pasted from the ember-source implementation:\n// https://github.com/emberjs/ember.js/blob/master/packages/@ember/-internals/glimmer/lib/helpers/unique-id.ts\nfunction randomId() {\n //@ts-expect-error\n return ([3e7] + -1e3 + -4e3 + -2e3 + -1e11).replace(/[0-3]/g, (a) =>\n ((a * 4) ^ ((Math.random() * 16) >> (a & 2))).toString(16)\n );\n}\n"],"names":["helper","randomId","replace","a","Math","random","toString"],"mappings":";;AAEA,eAAeA,MAAM,CAKlBC,UAAQ,CAAC;;AAEZ;AACA;AACA,SAASA,UAAQA,GAAG;AAClB;EACA,OAAO,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,EAAEC,OAAO,CAAC,QAAQ,EAAGC,CAAC,IAC9D,CAAEA,CAAC,GAAG,CAAC,GAAMC,IAAI,CAACC,MAAM,EAAE,GAAG,EAAE,KAAMF,CAAC,GAAG,CAAC,CAAE,EAAEG,QAAQ,CAAC,EAAE,CAC3D,CAAC;AACH;;;;"}
|
|
@@ -7,7 +7,7 @@ import { EuiFieldText } from '@ember-eui/core/components';
|
|
|
7
7
|
import { argOrDefault } from '@ember-eui/core/helpers';
|
|
8
8
|
import optional from 'ember-composable-helpers/helpers/optional';
|
|
9
9
|
import pikaday from 'ember-pikaday/modifiers/pikaday';
|
|
10
|
-
import {
|
|
10
|
+
import { not, and } from 'ember-truth-helpers';
|
|
11
11
|
import randomId from '../-private/random-id.js';
|
|
12
12
|
import { precompileTemplate } from '@ember/template-compilation';
|
|
13
13
|
import { setComponentTemplate } from '@ember/component';
|
|
@@ -23,48 +23,48 @@ class EuiPikadayComponent extends Component {
|
|
|
23
23
|
return this.args.value;
|
|
24
24
|
}
|
|
25
25
|
get yearRange() {
|
|
26
|
-
const
|
|
27
|
-
if (!
|
|
26
|
+
const yearRange = this.args.yearRange;
|
|
27
|
+
if (!yearRange) {
|
|
28
28
|
return 10;
|
|
29
29
|
}
|
|
30
|
-
if (
|
|
31
|
-
const
|
|
32
|
-
if (
|
|
33
|
-
|
|
30
|
+
if (yearRange.indexOf(',') > -1) {
|
|
31
|
+
const yearArray = yearRange.split(',');
|
|
32
|
+
if (yearArray[1] === 'currentYear') {
|
|
33
|
+
yearArray[1] = new Date().getFullYear();
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return yearArray;
|
|
36
36
|
} else {
|
|
37
|
-
return
|
|
37
|
+
return yearRange;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
get i18n() {
|
|
41
|
-
let
|
|
42
|
-
if (!
|
|
41
|
+
let i18n = this.args.i18n;
|
|
42
|
+
if (!i18n) {
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
|
-
if (!
|
|
46
|
-
return
|
|
45
|
+
if (!i18n.t) {
|
|
46
|
+
return i18n;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
|
-
previousMonth:
|
|
50
|
-
nextMonth:
|
|
51
|
-
months:
|
|
52
|
-
weekdays:
|
|
53
|
-
weekdaysShort:
|
|
49
|
+
previousMonth: i18n.t('previousMonth').toString(),
|
|
50
|
+
nextMonth: i18n.t('nextMonth').toString(),
|
|
51
|
+
months: i18n.t('months').toString().split(','),
|
|
52
|
+
weekdays: i18n.t('weekdays').toString().split(','),
|
|
53
|
+
weekdaysShort: i18n.t('weekdaysShort').toString().split(',')
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
get firstDay() {
|
|
57
57
|
return this.args.firstDay == null ? 1 : parseInt(this.args.firstDay, 10);
|
|
58
58
|
}
|
|
59
|
-
registerField(
|
|
60
|
-
this.field =
|
|
59
|
+
registerField(field) {
|
|
60
|
+
this.field = field;
|
|
61
61
|
}
|
|
62
62
|
static {
|
|
63
63
|
n(this.prototype, "registerField", [action]);
|
|
64
64
|
}
|
|
65
|
-
registerPikaday(
|
|
66
|
-
this.pikaday =
|
|
67
|
-
this.args.register?.(
|
|
65
|
+
registerPikaday(pikaday) {
|
|
66
|
+
this.pikaday = pikaday;
|
|
67
|
+
this.args.register?.(pikaday);
|
|
68
68
|
}
|
|
69
69
|
static {
|
|
70
70
|
n(this.prototype, "registerPikaday", [action]);
|
|
@@ -100,14 +100,14 @@ class EuiPikadayComponent extends Component {
|
|
|
100
100
|
static {
|
|
101
101
|
n(this.prototype, "onDraw", [action]);
|
|
102
102
|
}
|
|
103
|
-
didChange(
|
|
104
|
-
this.#heardValue =
|
|
103
|
+
didChange(event) {
|
|
104
|
+
this.#heardValue = event.target.value;
|
|
105
105
|
}
|
|
106
106
|
static {
|
|
107
107
|
n(this.prototype, "didChange", [action]);
|
|
108
108
|
}
|
|
109
|
-
onSelect(
|
|
110
|
-
this.args.onSelection?.(
|
|
109
|
+
onSelect(date) {
|
|
110
|
+
this.args.onSelection?.(date);
|
|
111
111
|
}
|
|
112
112
|
static {
|
|
113
113
|
n(this.prototype, "onSelect", [action]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-pikaday.js","sources":["../../src/components/eui-pikaday.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport Component from '@glimmer/component';\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport { EuiFieldText } from '@ember-eui/core/components';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport optional from 'ember-composable-helpers/helpers/optional';\nimport pikaday from 'ember-pikaday/modifiers/pikaday';\nimport { and, not } from 'ember-truth-helpers';\nimport randomId from '../-private/random-id.ts';\nimport type { EuiFieldTextSignature } from '@ember-eui/core/components/eui-field-text';\nexport interface EuiPikadaySignature {\n Element: EuiFieldTextSignature['Element'];\n Args: EuiFieldTextSignature['Args'] & {\n format?: string;\n value?: Date;\n yearRange?: string;\n i18n?: {\n t: (key: string) => string;\n };\n firstDay?: string;\n onClose?: () => void;\n onOpen?: () => void;\n onDraw?: () => void;\n onSelection?: (date: Date | null) => void;\n register?: (pikaday: any) => void;\n defaultDate?: Date;\n minDate?: Date;\n maxDate?: Date;\n theme?: string;\n container?: HTMLElement;\n bound?: boolean;\n moment?: any;\n isFakePrependBlock?: boolean;\n isFakeAppendBlock?: boolean;\n };\n Blocks: {\n prepend: EuiFieldTextSignature['Blocks']['prepend'];\n append: EuiFieldTextSignature['Blocks']['append'];\n };\n}\nexport default class EuiPikadayComponent extends Component<EuiPikadaySignature> {\n field: HTMLInputElement | null = null;\n pikaday?: any;\n get format() {\n return this.args.format || 'DD.MM.YYYY';\n }\n get value() {\n return this.args.value;\n }\n get yearRange() {\n const yearRange1 = this.args.yearRange;\n if (!yearRange1) {\n return 10;\n }\n if (yearRange1.indexOf(',') > -1) {\n const yearArray1: (string | number)[] = yearRange1.split(',');\n if (yearArray1[1] === 'currentYear') {\n yearArray1[1] = new Date().getFullYear();\n }\n return yearArray1;\n } else {\n return yearRange1;\n }\n }\n get i18n() {\n let i18n1 = this.args.i18n;\n if (!i18n1) {\n return undefined;\n }\n if (!i18n1.t) {\n return i18n1;\n }\n return {\n previousMonth: i18n1.t('previousMonth').toString(),\n nextMonth: i18n1.t('nextMonth').toString(),\n months: i18n1.t('months').toString().split(','),\n weekdays: i18n1.t('weekdays').toString().split(','),\n weekdaysShort: i18n1.t('weekdaysShort').toString().split(',')\n };\n }\n get firstDay() {\n return this.args.firstDay == null ? 1 : parseInt(this.args.firstDay, 10);\n }\n @action\n registerField(field1: HTMLInputElement) {\n this.field = field1;\n }\n @action\n registerPikaday(pikaday1: any) {\n this.pikaday = pikaday1;\n this.args.register?.(pikaday1);\n }\n @action\n onClose() {\n if (this.isDestroying) {\n return;\n }\n if (!this.#heardValue) {\n this.onSelect(null);\n }\n this.args.onClose?.();\n }\n @action\n onOpen() {\n if (this.isDestroying) {\n return;\n }\n this.args.onOpen?.();\n }\n #heardValue: any;\n @action\n onDraw() {\n // this is here because apparently the classic behavior is to pass no\n // arguments to the onDraw callback, but Pikaday's own ownDraw has an\n // argument.\n this.args.onDraw?.();\n }\n @action\n didChange(event1: Event) {\n this.#heardValue = (event1.target as HTMLInputElement).value;\n }\n @action\n onSelect(date1: Date | null) {\n this.args.onSelection?.(date1);\n }\n static{\n template(`\n {{#let\n (and (not (argOrDefault @isFakePrependBlock false)) (has-block \"prepend\"))\n (and (not (argOrDefault @isFakeAppendBlock false)) (has-block \"append\"))\n (argOrDefault @id (randomId))\n as |hasPrepend hasAppend inputId|\n }}\n <EuiFieldText\n @icon={{if @icon @icon \"calendar\"}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @readOnly={{@readOnly}}\n @inputRef={{@inputRef}}\n @controlOnly={{@controlOnly}}\n @compressed={{@compressed}}\n @id={{inputId}}\n @clear={{if @clear (fn (optional @clear) null)}}\n @isFakePrependBlock={{hasPrepend}}\n @isFakeAppendBlock={{hasAppend}}\n @disabled={{@disabled}}\n @isInvalid={{@isInvalid}}\n ...attributes\n {{pikaday\n value=this.value\n onSelect=this.onSelect\n setDefaultDate=true\n defaultDate=@defaultDate\n onOpen=this.onOpen\n onDraw=this.onDraw\n onClose=this.onClose\n format=this.format\n minDate=@minDate\n maxDate=@maxDate\n theme=@theme\n yearRange=this.yearRange\n i18n=this.i18n\n firstDay=this.firstDay\n container=@container\n bound=@bound\n register=this.registerPikaday\n moment=@moment\n }}\n {{on \"change\" this.didChange}}\n {{didInsert this.registerField}}\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9iZXRvY2FudHU5My9wcnlzbWV4L2VtYmVyLWV1aS9wYWNrYWdlcy9waWthZGF5L3NyYy9jb21wb25lbnRzL2V1aS1waWthZGF5Lmd0cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgQ29tcG9uZW50IGZyb20gJ0BnbGltbWVyL2NvbXBvbmVudCc7XG5pbXBvcnQgeyBmbiB9IGZyb20gJ0BlbWJlci9oZWxwZXInO1xuaW1wb3J0IHsgb24gfSBmcm9tICdAZW1iZXIvbW9kaWZpZXInO1xuaW1wb3J0IHsgYWN0aW9uIH0gZnJvbSAnQGVtYmVyL29iamVjdCc7XG5pbXBvcnQgZGlkSW5zZXJ0IGZyb20gJ0BlbWJlci9yZW5kZXItbW9kaWZpZXJzL21vZGlmaWVycy9kaWQtaW5zZXJ0JztcbmltcG9ydCB7IEV1aUZpZWxkVGV4dCB9IGZyb20gJ0BlbWJlci1ldWkvY29yZS9jb21wb25lbnRzJztcbmltcG9ydCB7IGFyZ09yRGVmYXVsdCB9IGZyb20gJ0BlbWJlci1ldWkvY29yZS9oZWxwZXJzJztcblxuaW1wb3J0IG9wdGlvbmFsIGZyb20gJ2VtYmVyLWNvbXBvc2FibGUtaGVscGVycy9oZWxwZXJzL29wdGlvbmFsJztcbmltcG9ydCBwaWthZGF5IGZyb20gJ2VtYmVyLXBpa2FkYXkvbW9kaWZpZXJzL3Bpa2FkYXknO1xuaW1wb3J0IHsgYW5kLG5vdCB9IGZyb20gJ2VtYmVyLXRydXRoLWhlbHBlcnMnO1xuXG5pbXBvcnQgcmFuZG9tSWQgZnJvbSAnLi4vLXByaXZhdGUvcmFuZG9tLWlkLnRzJztcblxuaW1wb3J0IHR5cGUg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UUsS0FBSztJQUM3RDtJQUVBLENBQUM7SUFDRCxTQUFTLE9BQU0sT0FBTyxJQUFJLEVBQUU7UUFDMUIsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLEdBQUc7SUFDMUI7SUFFQSxNQUFBO1FBQUEsU0FBVSxDQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztFQXFEVixDQUFBLEVBQUE7WUFBQSxXQUFBLElBQVc7WUFBWDtnQkFBQSxPQUFBLEtBQUEsU0FBQSxDQUFBLEVBQVc7WUFBRDtRQUFBO0lBQUEsQ0FyREE7QUFzRFoifQ"],"names":["EuiPikadayComponent","Component","field","pikaday","format","args","value","yearRange","yearRange1","indexOf","yearArray1","split","Date","getFullYear","i18n","i18n1","undefined","t","previousMonth","toString","nextMonth","months","weekdays","weekdaysShort","firstDay","parseInt","registerField","field1","n","this","prototype","action","registerPikaday","pikaday1","register","onClose","isDestroying","onSelect","onOpen","onDraw","didChange","event1","target","date1","onSelection","setComponentTemplate","precompileTemplate","strictMode","scope","and","not","argOrDefault","randomId","EuiFieldText","fn","optional","on","didInsert"],"mappings":";;;;;;;;;;;;;;;AA+Ce,MAAMA,mBAAA,SAA4BC,SAAA,CAAU;AACzDC,EAAAA,KAAA,GAAiC,IAAA,CAAA;EACjCC,OAAA,CAAA;AAEA,EAAA,IAAIC,SAAS;AACX,IAAA,OAAO,IAAI,CAACC,IAAI,CAACD,MAAM,IAAI,YAAA,CAAA;AAC7B,GAAA;AAEA,EAAA,IAAIE,QAAQ;AACV,IAAA,OAAO,IAAI,CAACD,IAAI,CAACC,KAAK,CAAA;AACxB,GAAA;AAEA,EAAA,IAAIC,YAAY;AACd,IAAA,MAAMC,UAAA,GAAY,IAAI,CAACH,IAAI,CAACE,SAAS,CAAA;IAErC,IAAI,CAACC,UAAA,EAAW;MACd,OAAO,EAAA,CAAA;AACT,KAAA;AAEA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AA,CAAA;AAAA,GAAA;AASD,EAAA,WAAW,CAAA;AAGXQ,EAAAA,MAAAA,GAAS;AACP;AACA;AACA;IACA,IAAI,CAAClC,IAAI,CAACkC,MAAM,IAAA,CAAA;AAClB,GAAA;AAAA,EAAA;AAAAX,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,aANCC,MAAA,CAAA,CAAA,CAAA;AAAA,GAAA;AASDS,EAAAA,SAAAA,CAAUC,MAAY,EAAE;IACtB,IAAI,CAAC,WAAW,GAAIA,MAAA,CAAMC,MAAM,CAAsBpC,KAAK,CAAA;AAC7D,GAAA;AAAA,EAAA;AAAAsB,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,gBAHCC,MAAA,CAAA,CAAA,CAAA;AAAA,GAAA;AAMDM,EAAAA,QAAAA,CAASM,KAAiB,EAAE;AAC1B,IAAA,IAAI,CAACtC,IAAI,CAACuC,WAAW,GAAGD,KAAA,CAAA,CAAA;AAC1B,GAAA;AAAA,EAAA;AAAAf,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,eAHCC,MAAA,CAAA,CAAA,CAAA;AAAA,GAAA;AAKD,EAAA;IAAAc,oBAAA,CAAAC,kBAAA,CAqDA,+zCAAA,EAAA;MAAAC,UAAA,EAAA,IAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,GAAA;QAAAC,GAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,YAAA;QAAAC,EAAA;QAAAC,QAAA;QAAApD,OAAA;QAAAqD,EAAA;AAAAC,QAAAA,SAAAA;AAAA,OAAA,CAAA;AAAU,KAAA,CAAA,EAAV,IAAW,CAAA,CAAA;AAAD,GAAA;AACZ;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-pikaday.js","sources":["../../src/components/eui-pikaday.gts"],"sourcesContent":["import Component from '@glimmer/component';\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport { EuiFieldText } from '@ember-eui/core/components';\nimport { argOrDefault } from '@ember-eui/core/helpers';\n\nimport optional from 'ember-composable-helpers/helpers/optional';\nimport pikaday from 'ember-pikaday/modifiers/pikaday';\nimport { and,not } from 'ember-truth-helpers';\n\nimport randomId from '../-private/random-id.ts';\n\nimport type { EuiFieldTextSignature } from '@ember-eui/core/components/eui-field-text';\n\nexport interface EuiPikadaySignature {\n Element: EuiFieldTextSignature['Element'];\n Args: EuiFieldTextSignature['Args'] & {\n format?: string;\n value?: Date;\n yearRange?: string;\n i18n?: {\n t: (key: string) => string;\n };\n firstDay?: string;\n onClose?: () => void;\n onOpen?: () => void;\n onDraw?: () => void;\n onSelection?: (date: Date | null) => void;\n register?: (pikaday: any) => void;\n defaultDate?: Date;\n minDate?: Date;\n maxDate?: Date;\n theme?: string;\n container?: HTMLElement;\n bound?: boolean;\n moment?: any;\n isFakePrependBlock?: boolean;\n isFakeAppendBlock?: boolean;\n };\n Blocks: {\n prepend: EuiFieldTextSignature['Blocks']['prepend'];\n append: EuiFieldTextSignature['Blocks']['append'];\n };\n}\n\nexport default class EuiPikadayComponent extends Component<EuiPikadaySignature> {\n field: HTMLInputElement | null = null;\n pikaday?: any;\n\n get format() {\n return this.args.format || 'DD.MM.YYYY';\n }\n\n get value() {\n return this.args.value;\n }\n\n get yearRange() {\n const yearRange = this.args.yearRange;\n\n if (!yearRange) {\n return 10;\n }\n\n if (yearRange.indexOf(',') > -1) {\n const yearArray: (string | number)[] = yearRange.split(',');\n\n if (yearArray[1] === 'currentYear') {\n yearArray[1] = new Date().getFullYear();\n }\n\n return yearArray;\n } else {\n return yearRange;\n }\n }\n\n get i18n() {\n let i18n = this.args.i18n;\n\n if (!i18n) {\n return undefined;\n }\n\n if (!i18n.t) {\n return i18n;\n }\n\n return {\n previousMonth: i18n.t('previousMonth').toString(),\n nextMonth: i18n.t('nextMonth').toString(),\n months: i18n.t('months').toString().split(','),\n weekdays: i18n.t('weekdays').toString().split(','),\n weekdaysShort: i18n.t('weekdaysShort').toString().split(',')\n };\n }\n\n get firstDay() {\n return this.args.firstDay == null ? 1 : parseInt(this.args.firstDay, 10);\n }\n\n @action\n registerField(field: HTMLInputElement) {\n this.field = field;\n }\n\n @action\n registerPikaday(pikaday: any) {\n this.pikaday = pikaday;\n this.args.register?.(pikaday);\n }\n\n @action\n onClose() {\n if (this.isDestroying) {\n return;\n }\n\n if (!this.#heardValue) {\n this.onSelect(null);\n }\n\n this.args.onClose?.();\n }\n\n @action\n onOpen() {\n if (this.isDestroying) {\n return;\n }\n\n this.args.onOpen?.();\n }\n\n #heardValue?: any;\n\n @action\n onDraw() {\n // this is here because apparently the classic behavior is to pass no\n // arguments to the onDraw callback, but Pikaday's own ownDraw has an\n // argument.\n this.args.onDraw?.();\n }\n\n @action\n didChange(event: Event) {\n this.#heardValue = (event.target as HTMLInputElement).value;\n }\n\n @action\n onSelect(date: Date | null) {\n this.args.onSelection?.(date);\n }\n\n <template>\n {{#let\n (and (not (argOrDefault @isFakePrependBlock false)) (has-block \"prepend\"))\n (and (not (argOrDefault @isFakeAppendBlock false)) (has-block \"append\"))\n (argOrDefault @id (randomId))\n as |hasPrepend hasAppend inputId|\n }}\n <EuiFieldText\n @icon={{if @icon @icon \"calendar\"}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @readOnly={{@readOnly}}\n @inputRef={{@inputRef}}\n @controlOnly={{@controlOnly}}\n @compressed={{@compressed}}\n @id={{inputId}}\n @clear={{if @clear (fn (optional @clear) null)}}\n @isFakePrependBlock={{hasPrepend}}\n @isFakeAppendBlock={{hasAppend}}\n @disabled={{@disabled}}\n @isInvalid={{@isInvalid}}\n ...attributes\n {{pikaday\n value=this.value\n onSelect=this.onSelect\n setDefaultDate=true\n defaultDate=@defaultDate\n onOpen=this.onOpen\n onDraw=this.onDraw\n onClose=this.onClose\n format=this.format\n minDate=@minDate\n maxDate=@maxDate\n theme=@theme\n yearRange=this.yearRange\n i18n=this.i18n\n firstDay=this.firstDay\n container=@container\n bound=@bound\n register=this.registerPikaday\n moment=@moment\n }}\n {{on \"change\" this.didChange}}\n {{didInsert this.registerField}}\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n {{/let}}\n </template>\n}\n"],"names":["EuiPikadayComponent","Component","field","pikaday","format","args","value","yearRange","indexOf","yearArray","split","Date","getFullYear","i18n","undefined","t","previousMonth","toString","nextMonth","months","weekdays","weekdaysShort","firstDay","parseInt","registerField","n","prototype","action","registerPikaday","register","onClose","isDestroying","onSelect","onOpen","onDraw","didChange","event","target","date","onSelection","setComponentTemplate","precompileTemplate","strictMode","scope","and","not","argOrDefault","randomId","EuiFieldText","fn","optional","on","didInsert"],"mappings":";;;;;;;;;;;;;;;AA+Ce,MAAMA,4BAA4BC,SAAU,CAAA;AACzDC,EAAAA,KAAO,GAA0B,IAAK;EACtCC,OAAA;EAEA,IAAIC,MAASA,GAAA;AACX,IAAA,OAAO,IAAI,CAACC,IAAI,CAACD,MAAM,IAAI,YAAA;AAC7B;EAEA,IAAIE,KAAQA,GAAA;AACV,IAAA,OAAO,IAAI,CAACD,IAAI,CAACC,KAAK;AACxB;EAEA,IAAIC,SAAYA,GAAA;AACd,IAAA,MAAMA,SAAY,GAAA,IAAI,CAACF,IAAI,CAACE,SAAS;IAErC,IAAI,CAACA,SAAW,EAAA;AACd,MAAA,OAAO,EAAA;AACT;IAEA,IAAIA,SAAU,CAAAC,OAAO,CAAC,GAAA,CAAA,GAAO,EAAI,EAAA;AAC/B,MAAA,MAAMC,SAAiC,GAAAF,SAAA,CAAUG,KAAK,CAAC,GAAA,CAAA;AAEvD,MAAA,IAAID,SAAS,CAAC,CAAE,CAAA,KAAK,aAAe,EAAA;QAClCA,SAAS,CAAC,CAAA,CAAE,GAAG,IAAIE,OAAOC,WAAW,EAAA;AACvC;AAEA,MAAA,OA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B;AAAA,EAAA;IAAAb,CAAA,CAAA,IAAA,CAAAC,SAAA,EAAA,UAAA,EAAA,CAHCC,MAAA,CAAA,CAAA;AAAA;AAKD,EAAA;IAAAa,oBAAA,CAAAC,kBAAA,CAqDA,+zCAAA,EAAA;MAAAC,UAAA,EAAA,IAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,GAAA;QAAAC,GAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,YAAA;QAAAC,EAAA;QAAAC,QAAA;QAAA/C,OAAA;QAAAgD,EAAA;AAAAC,QAAAA;AAAA,OAAA;KAAU,CAAA,EAAV,IAAW,CAAA;AAAD;AACZ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-eui/pikaday",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "ember-pikaday integration with @ember-eui/core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -31,39 +31,42 @@
|
|
|
31
31
|
"dist"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
+
"@babel/core": "^7.26.0",
|
|
34
35
|
"@ember/render-modifiers": "^2.1.0",
|
|
35
|
-
"ember-auto-import": "^2.
|
|
36
|
+
"ember-auto-import": "^2.10.0",
|
|
36
37
|
"ember-composable-helpers": "^5.0.0",
|
|
37
|
-
"ember-modifier": "^4.
|
|
38
|
-
"ember-pikaday": "5.
|
|
39
|
-
"
|
|
40
|
-
"ember-
|
|
41
|
-
"
|
|
38
|
+
"ember-modifier": "^4.2.0",
|
|
39
|
+
"ember-pikaday": "^5.1.1",
|
|
40
|
+
"decorator-transforms": "^2.3.0",
|
|
41
|
+
"ember-svg-jar": "^2.6.0",
|
|
42
|
+
"@embroider/addon-shim": "^1.9.0",
|
|
43
|
+
"ember-truth-helpers": "^4.0.3"
|
|
42
44
|
},
|
|
43
45
|
"peerDependencies": {
|
|
44
|
-
"@ember-eui/core": "^
|
|
45
|
-
"@glimmer/component": "^
|
|
46
|
+
"@ember-eui/core": "^12.0.0",
|
|
47
|
+
"@glimmer/component": "^2.0.0",
|
|
46
48
|
"@glimmer/tracking": "^1.1.2",
|
|
47
|
-
"ember-source": "
|
|
49
|
+
"ember-source": ">= 4.12.0"
|
|
48
50
|
},
|
|
49
51
|
"devDependencies": {
|
|
50
|
-
"
|
|
51
|
-
"@babel/
|
|
52
|
-
"@babel/eslint-parser": "^7.23.3",
|
|
52
|
+
"@babel/core": "^7.26.0",
|
|
53
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
53
54
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
54
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
55
|
+
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
55
56
|
"@babel/plugin-transform-class-static-block": "^7.20.0",
|
|
56
57
|
"@babel/plugin-transform-typescript": "^7.12.13",
|
|
57
58
|
"@babel/preset-typescript": "^7.18.6",
|
|
58
|
-
"@ember/optional-features": "^2.
|
|
59
|
-
"@ember/test-helpers": "^
|
|
60
|
-
"@embroider/addon-dev": "
|
|
59
|
+
"@ember/optional-features": "^2.2.0",
|
|
60
|
+
"@ember/test-helpers": "^5.1.0",
|
|
61
|
+
"@embroider/addon-dev": "7.1.1",
|
|
61
62
|
"@embroider/test-setup": "^4.0.0",
|
|
62
|
-
"@
|
|
63
|
+
"@eslint/js": "^9.17.0",
|
|
64
|
+
"@glimmer/component": "^2.0.0",
|
|
63
65
|
"@glimmer/tracking": "^1.1.2",
|
|
64
|
-
"@glint/
|
|
65
|
-
"@glint/environment-ember-
|
|
66
|
-
"@glint/template": "
|
|
66
|
+
"@glint/core": "1.5.2",
|
|
67
|
+
"@glint/environment-ember-loose": "1.5.2",
|
|
68
|
+
"@glint/environment-ember-template-imports": "1.5.2",
|
|
69
|
+
"@glint/template": "1.5.2",
|
|
67
70
|
"@rollup/plugin-babel": "^6.0.4",
|
|
68
71
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
69
72
|
"@tsconfig/ember": "3.0.0",
|
|
@@ -90,27 +93,28 @@
|
|
|
90
93
|
"@types/ember__test": "^4.0.2",
|
|
91
94
|
"@types/ember__utils": "^4.0.3",
|
|
92
95
|
"babel-plugin-ember-template-compilation": "^2.2.5",
|
|
93
|
-
"concurrently": "^
|
|
94
|
-
"ember-cli": "~
|
|
95
|
-
"ember-
|
|
96
|
-
"ember-
|
|
97
|
-
"ember-template-lint": "^
|
|
98
|
-
"eslint": "^
|
|
99
|
-
"eslint-config-prettier": "^
|
|
100
|
-
"eslint-plugin-ember": "^
|
|
101
|
-
"eslint-plugin-
|
|
102
|
-
"
|
|
96
|
+
"concurrently": "^9.1.2",
|
|
97
|
+
"ember-cli": "~6.1.0",
|
|
98
|
+
"ember-cli-clean-css": "^3.0.0",
|
|
99
|
+
"ember-source": "~6.2.0",
|
|
100
|
+
"ember-template-lint": "^6.0.0",
|
|
101
|
+
"eslint": "^9.17.0",
|
|
102
|
+
"eslint-config-prettier": "^9.1.0",
|
|
103
|
+
"eslint-plugin-ember": "^12.3.3",
|
|
104
|
+
"eslint-plugin-n": "^17.15.1",
|
|
105
|
+
"globals": "^15.14.0",
|
|
106
|
+
"pnpm-sync-dependencies-meta-injected": "^0.0.14",
|
|
107
|
+
"rollup": "^4.6.0",
|
|
103
108
|
"rollup-plugin-copy": "^3.5.0",
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"fix-bad-declaration-output": "^1.1.4",
|
|
109
|
+
"stylelint": "^16.12.0",
|
|
110
|
+
"stylelint-config-standard": "^36.0.1",
|
|
111
|
+
"stylelint-prettier": "^5.0.2",
|
|
108
112
|
"typescript": "^5.3.3",
|
|
109
|
-
"webpack": "^5.
|
|
110
|
-
"@ember-eui/core": "
|
|
113
|
+
"webpack": "^5.97.1",
|
|
114
|
+
"@ember-eui/core": "12.0.0"
|
|
111
115
|
},
|
|
112
116
|
"engines": {
|
|
113
|
-
"node": "
|
|
117
|
+
"node": ">= 18"
|
|
114
118
|
},
|
|
115
119
|
"publishConfig": {
|
|
116
120
|
"access": "public"
|
|
@@ -132,8 +136,11 @@
|
|
|
132
136
|
"scripts": {
|
|
133
137
|
"build": "concurrently 'npm:build:*'",
|
|
134
138
|
"build:js": "rollup --config",
|
|
135
|
-
"
|
|
136
|
-
"lint
|
|
139
|
+
"build:types": "glint --declaration",
|
|
140
|
+
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\" --prefixColors auto",
|
|
141
|
+
"lint:css": "stylelint \"**/*.css\"",
|
|
142
|
+
"lint:css:fix": "concurrently \"npm:lint:css -- --fix\"",
|
|
143
|
+
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\" --prefixColors auto",
|
|
137
144
|
"lint:js": "eslint . --cache",
|
|
138
145
|
"lint:js:fix": "eslint . --fix",
|
|
139
146
|
"_syncPnpm": "pnpm sync-dependencies-meta-injected",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"random-id.d.ts","sourceRoot":"","sources":["../../../../../core/src/-private/random-id.ts"],"names":[],"mappings":";;;;;;;AAEA,wBAKa"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* XOR for some properties applied to a type
|
|
3
|
-
* (XOR is one of these but not both or neither)
|
|
4
|
-
*
|
|
5
|
-
* Usage: OneOf<typeToExtend, one | but | not | multiple | of | these | are | required>
|
|
6
|
-
*
|
|
7
|
-
* To require aria-label or aria-labelledby but not both
|
|
8
|
-
* Example: OneOf<Type, 'aria-label' | 'aria-labelledby'>
|
|
9
|
-
*/
|
|
10
|
-
export type OneOf<T, K extends keyof T> = Omit<T, K> & {
|
|
11
|
-
[k in K]: Pick<Required<T>, k> & {
|
|
12
|
-
[k1 in Exclude<K, k>]?: never;
|
|
13
|
-
};
|
|
14
|
-
}[K];
|
|
15
|
-
export interface CommonArgs {
|
|
16
|
-
id?: string;
|
|
17
|
-
className?: string;
|
|
18
|
-
'aria-label'?: string;
|
|
19
|
-
'data-test-subj'?: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Wraps Object.keys with proper typescript definition of the resulting array
|
|
23
|
-
*/
|
|
24
|
-
export declare function keysOf<T extends Record<string, unknown>, K extends keyof T>(obj: T): K[];
|
|
25
|
-
/**
|
|
26
|
-
* Returns member keys in U not present in T set to never
|
|
27
|
-
* T = { 'one', 'two', 'three' }
|
|
28
|
-
* U = { 'three', 'four', 'five' }
|
|
29
|
-
* returns { 'four': never, 'five': never }
|
|
30
|
-
*/
|
|
31
|
-
export type DisambiguateSet<T, U> = {
|
|
32
|
-
[P in Exclude<keyof T, keyof U>]?: never;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Allow either T or U, preventing any additional keys of the other type from being present
|
|
36
|
-
*/
|
|
37
|
-
export type ExclusiveUnion<T, U> = T | U extends Record<string, unknown> ? (DisambiguateSet<T, U> & U) | (DisambiguateSet<U, T> & T) : T | U;
|
|
38
|
-
type UnionKeys<T> = T extends any ? keyof T : never;
|
|
39
|
-
export type DistributivePick<T, K extends UnionKeys<T>> = T extends any ? Pick<T, Extract<keyof T, K>> : never;
|
|
40
|
-
export type DistributiveOmit<T, K extends UnionKeys<T>> = T extends any ? Omit<T, Extract<keyof T, K>> : never;
|
|
41
|
-
export {};
|
|
42
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/common.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAClD;KAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG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B,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GACnE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,GAC5B,KAAK,CAAC"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import { htmlSafe } from '@ember/template';
|
|
3
|
-
import type { paddingMapping } from '../utils/css-mappings/eui-accordion.ts';
|
|
4
|
-
import type { CommonArgs } from './common.ts';
|
|
5
|
-
type EuiAccordionPaddingSize = keyof typeof paddingMapping;
|
|
6
|
-
type AccordionArgs = {
|
|
7
|
-
id?: string;
|
|
8
|
-
element?: 'div' | 'fieldset';
|
|
9
|
-
/**
|
|
10
|
-
* Class that will apply to the trigger for the accordion.
|
|
11
|
-
*/
|
|
12
|
-
buttonClassName?: string;
|
|
13
|
-
buttonProps?: CommonArgs;
|
|
14
|
-
/**
|
|
15
|
-
* Applied to the main button receiving the `onToggle` event.
|
|
16
|
-
* Anything other than the default `button` does not support removing the arrow display (for accessibility of focus).
|
|
17
|
-
*/
|
|
18
|
-
buttonElement?: 'div' | 'legend' | 'button';
|
|
19
|
-
/**
|
|
20
|
-
* Extra props to pass to the EuiButtonIcon containing the arrow.
|
|
21
|
-
*/
|
|
22
|
-
arrowProps?: {
|
|
23
|
-
className?: string;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Class that will apply to the trigger content for the accordion.
|
|
27
|
-
*/
|
|
28
|
-
buttonContentClassName?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The content of the clickable trigger
|
|
31
|
-
*/
|
|
32
|
-
buttonContent?: Component;
|
|
33
|
-
/**
|
|
34
|
-
* Will appear right aligned against the button. Useful for separate actions like deletions.
|
|
35
|
-
*/
|
|
36
|
-
extraAction?: Component | boolean;
|
|
37
|
-
/**
|
|
38
|
-
* The accordion will start in the open state.
|
|
39
|
-
*/
|
|
40
|
-
initialIsOpen?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Optional callback method called on open and close with a single `isOpen` parameter
|
|
43
|
-
*/
|
|
44
|
-
onToggle?: (isOpen: boolean) => void;
|
|
45
|
-
/**
|
|
46
|
-
* The padding around the exposed accordion content.
|
|
47
|
-
*/
|
|
48
|
-
paddingSize?: EuiAccordionPaddingSize;
|
|
49
|
-
/**
|
|
50
|
-
* Placement of the arrow indicator, or 'none' to hide it.
|
|
51
|
-
*/
|
|
52
|
-
arrowDisplay?: 'left' | 'right' | 'none';
|
|
53
|
-
/**
|
|
54
|
-
* Control the opening of accordion via prop
|
|
55
|
-
*/
|
|
56
|
-
forceState?: 'closed' | 'open';
|
|
57
|
-
/**
|
|
58
|
-
* Change `extraAction` and children into a loading spinner
|
|
59
|
-
*/
|
|
60
|
-
isLoading?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Choose whether the loading message replaces the content. Customize the message by passing a node
|
|
63
|
-
*/
|
|
64
|
-
isLoadingMessage?: boolean | Component;
|
|
65
|
-
isOpen?: boolean;
|
|
66
|
-
childClassName?: string;
|
|
67
|
-
triggerClassName?: string;
|
|
68
|
-
childContentClassName?: string;
|
|
69
|
-
};
|
|
70
|
-
export interface EuiAccordionSignature {
|
|
71
|
-
Element: any;
|
|
72
|
-
Args: AccordionArgs;
|
|
73
|
-
Blocks: {
|
|
74
|
-
buttonContent: [boolean | undefined];
|
|
75
|
-
content: [];
|
|
76
|
-
extraAction: [boolean | undefined];
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
export default class EuiAccordionAccordionComponent extends Component<EuiAccordionSignature> {
|
|
80
|
-
isLoading: boolean;
|
|
81
|
-
isLoadingMessage: boolean;
|
|
82
|
-
initialIsOpen: boolean;
|
|
83
|
-
paddingSize: EuiAccordionPaddingSize;
|
|
84
|
-
arrowDisplay: AccordionArgs['arrowDisplay'];
|
|
85
|
-
_opened: boolean | undefined;
|
|
86
|
-
childWrapper: HTMLDivElement | null;
|
|
87
|
-
childContent: HTMLDivElement | null;
|
|
88
|
-
constructor(owner: unknown, args: AccordionArgs);
|
|
89
|
-
get buttonElement(): "button" | "legend";
|
|
90
|
-
get buttonElementIsFocusable(): boolean;
|
|
91
|
-
get _arrowDisplay(): "none" | "left" | "right" | undefined;
|
|
92
|
-
get isOpen(): boolean | undefined;
|
|
93
|
-
get hasLoadingMessage(): boolean;
|
|
94
|
-
get buttonClasses(): string;
|
|
95
|
-
get buttonContentClasses(): string;
|
|
96
|
-
get childContentStyle(): string | ReturnType<typeof htmlSafe>;
|
|
97
|
-
setChildContentHeight: () => void;
|
|
98
|
-
onToggle(): void;
|
|
99
|
-
}
|
|
100
|
-
export {};
|
|
101
|
-
//# sourceMappingURL=eui-accordion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eui-accordion.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/eui-accordion.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAc3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,KAAK,uBAAuB,GAAG,MAAM,OAAO,cAAc,CAAC;AAE3D,KAAK,aAAa,GAAG;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,OAAO,CAAC,EAAE,KAAK,GAAG,UAAU,CAAC;IAC7B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,WAAW,CAAC,EAAE,UAAU,CAAC;IAEzB;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC5C;;OAEG;IACH,UAAU,CAAC,EAAE;QACX,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IAEF;;OAEG;IACH,s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;IAEnE,OAAO,sBAAC;IACR,YAAY,EAAE,cAAc,GAAG,IAAI,CAAQ;IAC3C,YAAY,EAAE,cAAc,GAAG,IAAI,CAAQ;gBAExC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,aAAa;IAQ/C,IAAI,aAAa,wBAEhB;IAED,IAAI,wBAAwB,YAE3B;IAED,IAAI,aAAa,0CAIhB;IAED,IAAI,MAAM,IAAI,OAAO,GAAG,SAAS,CAIhC;IAED,IAAI,iBAAiB,IAAI,OAAO,CAE/B;IAED,IAAI,aAAa,IAAI,MAAM,CAM1B;IAED,IAAI,oBAAoB,IAAI,MAAM,CAKjC;IAED,IAAI,iBAAiB,IAAI,MAAM,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAE5D;IAED,qBAAqB,aAYnB;IAGF,QAAQ,IAAI,IAAI;CAqKjB"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
type Size = {
|
|
3
|
-
height: number;
|
|
4
|
-
width: number;
|
|
5
|
-
};
|
|
6
|
-
interface EuiAutoSizerComponentArgs {
|
|
7
|
-
/** Function responsible for rendering children.*/
|
|
8
|
-
/** Optional custom CSS class name to attach to root AutoSizer element. */
|
|
9
|
-
className?: string;
|
|
10
|
-
/** Default height to use for initial render; useful for SSR */
|
|
11
|
-
defaultHeight?: number;
|
|
12
|
-
/** Default width to use for initial render; useful for SSR */
|
|
13
|
-
defaultWidth?: number;
|
|
14
|
-
/** Disable dynamic :height property */
|
|
15
|
-
disableHeight?: boolean;
|
|
16
|
-
/** Disable dynamic :width property */
|
|
17
|
-
disableWidth?: boolean;
|
|
18
|
-
/** Nonce of the inlined stylesheet for Content Security Policy */
|
|
19
|
-
nonce?: string;
|
|
20
|
-
/** Callback to be invoked on-resize */
|
|
21
|
-
onResize?: (size: Size) => void;
|
|
22
|
-
/** Optional inline style */
|
|
23
|
-
style?: Record<string, string>;
|
|
24
|
-
}
|
|
25
|
-
type ResizeHandler = (element: HTMLElement, onResize: () => void) => void;
|
|
26
|
-
type DetectElementResize = {
|
|
27
|
-
addResizeListener: ResizeHandler;
|
|
28
|
-
removeResizeListener: ResizeHandler;
|
|
29
|
-
};
|
|
30
|
-
type DynamicStyle = {
|
|
31
|
-
outerStyle: {
|
|
32
|
-
height?: number | string;
|
|
33
|
-
width?: number | string;
|
|
34
|
-
overflow?: string;
|
|
35
|
-
};
|
|
36
|
-
childStyle?: {
|
|
37
|
-
height?: number | string;
|
|
38
|
-
width?: number | string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export interface EuiAutoSizerSignature {
|
|
42
|
-
Args: EuiAutoSizerComponentArgs;
|
|
43
|
-
Element: HTMLDivElement;
|
|
44
|
-
Blocks: {
|
|
45
|
-
default: [DynamicStyle['childStyle']];
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
export default class EuiAutoSizerComponent extends Component<EuiAutoSizerSignature> {
|
|
49
|
-
_autoSizer?: HTMLElement;
|
|
50
|
-
_parentNode?: HTMLElement;
|
|
51
|
-
_window?: any;
|
|
52
|
-
_detectElementResize?: DetectElementResize;
|
|
53
|
-
height: number | undefined;
|
|
54
|
-
width: number | undefined;
|
|
55
|
-
get disableHeight(): boolean;
|
|
56
|
-
get disableWidth(): boolean;
|
|
57
|
-
get style(): DynamicStyle;
|
|
58
|
-
setup(): void;
|
|
59
|
-
_onResize: () => void;
|
|
60
|
-
setRef: (ele: HTMLElement) => void;
|
|
61
|
-
willDestroy(): void;
|
|
62
|
-
}
|
|
63
|
-
export {};
|
|
64
|
-
//# sourceMappingURL=eui-auto-sizer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eui-auto-sizer.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/eui-auto-sizer.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAQ3C,KAAK,IAAI,GAAG;IACV,MAAM,EAAE,MAAM,CAAC;IAC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