@xplortech/apollo-core 2.5.0 → 2.7.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/.typings/apollo-components.html-data.json +1156 -115
- package/build/style.css +12151 -5333
- package/dist/apollo-core/apollo-core.css +68 -37
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/{p-f4c2626d.entry.js → p-084d26ed.entry.js} +1 -1
- package/dist/apollo-core/p-146d5d55.entry.js +1 -0
- package/dist/apollo-core/p-16742606.entry.js +1 -0
- package/dist/apollo-core/{p-0ac33b3a.entry.js → p-28d12fd3.entry.js} +1 -1
- package/dist/apollo-core/{p-7d245bf0.entry.js → p-3eb5eb7c.entry.js} +1 -1
- package/dist/apollo-core/p-4882f0bd.entry.js +1 -0
- package/dist/apollo-core/p-64b34268.entry.js +1 -0
- package/dist/apollo-core/p-6c956d4e.entry.js +1 -0
- package/dist/apollo-core/p-71b75f36.entry.js +1 -0
- package/dist/apollo-core/p-7eb86c63.entry.js +1 -0
- package/dist/apollo-core/{p-0e1877a2.entry.js → p-84254a24.entry.js} +1 -1
- package/dist/apollo-core/p-9f2a0321.entry.js +1 -0
- package/dist/apollo-core/p-C7bgJs6C.js +2 -0
- package/dist/apollo-core/p-cde83ab0.entry.js +1 -0
- package/dist/apollo-core/p-e7363036.entry.js +1 -0
- package/dist/cjs/apollo-core.cjs.js +3 -3
- package/dist/cjs/{index-D__N_vw2.js → index-BQ97-AWw.js} +149 -96
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/xpl-accordion.cjs.entry.js +5 -5
- package/dist/cjs/xpl-application-shell.cjs.entry.js +4 -4
- package/dist/cjs/{xpl-avatar_41.cjs.entry.js → xpl-avatar_61.cjs.entry.js} +9154 -1989
- package/dist/cjs/xpl-button-row.cjs.entry.js +4 -4
- package/dist/cjs/xpl-calendar.cjs.entry.js +4 -4
- package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +5 -5
- package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +5 -5
- package/dist/cjs/xpl-dynamic-table.cjs.entry.js +4 -4
- package/dist/cjs/xpl-grid-item.cjs.entry.js +4 -4
- package/dist/cjs/xpl-grid.cjs.entry.js +4 -4
- package/dist/cjs/xpl-large-card.cjs.entry.js +4 -4
- package/dist/cjs/xpl-main-nav.cjs.entry.js +4 -4
- package/dist/cjs/xpl-toggle.cjs.entry.js +6 -6
- package/dist/cjs/xpl-toolbar.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +26 -8
- package/dist/collection/components/xpl-accordion/accordion.stories.js +4 -0
- package/dist/collection/components/xpl-accordion/xpl-accordion.js +3 -3
- package/dist/collection/components/xpl-application-shell/application-shell.stories.js +4 -0
- package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +2 -2
- package/dist/collection/components/xpl-avatar/avatar.stories.js +122 -103
- package/dist/collection/components/xpl-avatar/xpl-avatar.js +250 -16
- package/dist/collection/components/xpl-backdrop/backdrop.stories.js +4 -0
- package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +2 -2
- package/dist/collection/components/xpl-badge/badge.stories.js +76 -33
- package/dist/collection/components/xpl-badge/xpl-badge.js +122 -14
- package/dist/collection/components/xpl-banner/banner.stories.js +64 -0
- package/dist/collection/components/xpl-banner/xpl-banner.js +296 -0
- package/dist/collection/components/xpl-breadcrumbs/breadcrumbs.stories.js +4 -0
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +2 -2
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +2 -2
- package/dist/collection/components/xpl-button/button.stories.js +102 -98
- package/dist/collection/components/xpl-button/xpl-button.js +201 -93
- package/dist/collection/components/xpl-button-row/xpl-button-row.js +2 -2
- package/dist/collection/components/xpl-calendar/calendar.stories.js +4 -0
- package/dist/collection/components/xpl-calendar/xpl-calendar.js +2 -2
- package/dist/collection/components/xpl-checkbox/checkbox.stories.js +4 -0
- package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +48 -26
- package/dist/collection/components/xpl-choicelist/choicelist.stories.js +4 -0
- package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +2 -2
- package/dist/collection/components/xpl-content-area/xpl-content-area.js +2 -2
- package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +2 -2
- package/dist/collection/components/xpl-data-card/data-card.stories.js +4 -0
- package/dist/collection/components/xpl-data-card/xpl-data-card.js +3 -3
- package/dist/collection/components/xpl-divider/divider.stories.js +4 -0
- package/dist/collection/components/xpl-divider/xpl-divider.js +2 -2
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +2 -2
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +2 -2
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +29 -4
- package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +120 -79
- package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +2 -2
- package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +3 -3
- package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +3 -3
- package/dist/collection/components/xpl-grid/xpl-grid.js +2 -2
- package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +2 -2
- package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +47 -54
- package/dist/collection/components/xpl-icon/xpl-icon.js +3 -3
- package/dist/collection/components/xpl-input/input.stories.js +170 -9
- package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +9 -9
- package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +55 -17
- package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +5 -5
- package/dist/collection/components/xpl-input/xpl-input-phone/phone-country-data.js +58 -0
- package/dist/collection/components/xpl-input/xpl-input-phone/phone-format.js +219 -0
- package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +469 -0
- package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +485 -0
- package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +3 -3
- package/dist/collection/components/xpl-input/xpl-input.js +223 -17
- package/dist/collection/components/xpl-large-card/large-card.stories.js +4 -0
- package/dist/collection/components/xpl-large-card/xpl-large-card.js +2 -2
- package/dist/collection/components/xpl-list/list.stories.js +300 -63
- package/dist/collection/components/xpl-list/xpl-list-item/xpl-list-item.js +818 -0
- package/dist/collection/components/xpl-list/xpl-list.js +580 -22
- package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +2 -2
- package/dist/collection/components/xpl-modal/modal.stories.js +4 -0
- package/dist/collection/components/xpl-modal/xpl-modal.js +2 -2
- package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +3 -3
- package/dist/collection/components/xpl-pagination/pagination.stories.js +4 -0
- package/dist/collection/components/xpl-pagination/xpl-pagination.js +4 -4
- package/dist/collection/components/xpl-panel/panel.stories.js +53 -0
- package/dist/collection/components/xpl-panel/xpl-panel.js +60 -0
- package/dist/collection/components/xpl-popover/popover.stories.js +4 -0
- package/dist/collection/components/xpl-popover/xpl-popover.js +5 -5
- package/dist/collection/components/xpl-progress-bar/progress-bar.stories.js +96 -0
- package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +158 -0
- package/dist/collection/components/xpl-progress-indicator/progress-indicator.stories.js +118 -0
- package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +171 -0
- package/dist/collection/components/xpl-radio/xpl-radio.js +4 -4
- package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +2 -2
- package/dist/collection/components/xpl-select/xpl-select.js +7 -7
- package/dist/collection/components/xpl-side-nav/side-nav.stories.js +519 -0
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +259 -0
- package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +32 -0
- package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +2 -2
- package/dist/collection/components/xpl-slideout/xpl-slideout.js +2 -2
- package/dist/collection/components/xpl-spotlight/spotlight.stories.js +385 -0
- package/dist/collection/components/xpl-spotlight/xpl-spotlight.js +1085 -0
- package/dist/collection/components/xpl-tab/xpl-tab.js +262 -9
- package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +23 -16
- package/dist/collection/components/xpl-table/table.stories.js +319 -67
- package/dist/collection/components/xpl-table/utils/move-row-dom.js +50 -0
- package/dist/collection/components/xpl-table/utils/table-internal.js +58 -0
- package/dist/collection/components/xpl-table/xpl-table-body/xpl-table-body.js +7 -0
- package/dist/collection/components/xpl-table/xpl-table-cell/xpl-table-cell.js +155 -0
- package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +7 -0
- package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +37 -0
- package/dist/collection/components/xpl-table/xpl-table-header/table-header.stories.js +131 -0
- package/dist/collection/components/xpl-table/xpl-table-header/xpl-table-header.js +7 -0
- package/dist/collection/components/xpl-table/xpl-table-header-cell/table-header-cell.stories.js +105 -0
- package/dist/collection/components/xpl-table/xpl-table-header-cell/xpl-table-header-cell.js +402 -0
- package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +121 -0
- package/dist/collection/components/xpl-table/xpl-table.js +1449 -144
- package/dist/collection/components/xpl-tabs/segment-control.stories.js +31 -0
- package/dist/collection/components/xpl-tabs/tabs.shared.js +156 -0
- package/dist/collection/components/xpl-tabs/tabs.stories.js +10 -60
- package/dist/collection/components/xpl-tabs/xpl-tabs.js +339 -63
- package/dist/collection/components/xpl-tag/tag.stories.js +153 -0
- package/dist/collection/components/xpl-tag/xpl-tag.js +313 -10
- package/dist/collection/components/xpl-toast/xpl-toast.js +3 -3
- package/dist/collection/components/xpl-toggle/xpl-toggle.js +4 -4
- package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +3 -3
- package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +2 -2
- package/dist/collection/components/xpl-top-nav/top-nav.stories.js +625 -0
- package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +122 -0
- package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +481 -0
- package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +433 -0
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +2 -2
- package/dist/collection/utils/layout-ancestors.js +22 -0
- package/dist/collection/utils/lifecycle.js +79 -0
- package/dist/collection/utils/tab-a11y-ids.js +22 -0
- package/dist/components/floating-ui.dom.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/lifecycle.js +1 -0
- package/dist/components/tab-a11y-ids.js +1 -0
- package/dist/components/xpl-accordion.js +1 -1
- package/dist/components/xpl-application-shell.js +1 -1
- package/dist/components/xpl-avatar.js +1 -1
- package/dist/components/xpl-avatar2.js +1 -1
- package/dist/components/xpl-backdrop.js +1 -1
- package/dist/components/xpl-backdrop2.js +1 -1
- package/dist/components/xpl-badge.js +1 -1
- package/dist/components/xpl-badge2.js +1 -1
- package/dist/components/xpl-banner.d.ts +11 -0
- package/dist/components/xpl-banner.js +1 -0
- package/dist/components/xpl-breadcrumb-item.js +1 -1
- package/dist/components/xpl-breadcrumbs.js +1 -1
- package/dist/components/xpl-button-row.js +1 -1
- package/dist/components/xpl-button.js +1 -1
- package/dist/components/xpl-button2.js +1 -1
- package/dist/components/xpl-calendar.js +1 -1
- package/dist/components/xpl-checkbox.js +1 -1
- package/dist/components/xpl-checkbox2.js +1 -1
- package/dist/components/xpl-choicelist.js +1 -1
- package/dist/components/xpl-content-area.js +1 -1
- package/dist/components/xpl-dashboard.js +1 -1
- package/dist/components/xpl-data-card.js +1 -1
- package/dist/components/xpl-divider.js +1 -1
- package/dist/components/xpl-divider2.js +1 -1
- package/dist/components/xpl-dropdown-group.js +1 -1
- package/dist/components/xpl-dropdown-group2.js +1 -1
- package/dist/components/xpl-dropdown-heading.js +1 -1
- package/dist/components/xpl-dropdown-heading2.js +1 -1
- package/dist/components/xpl-dropdown-option.js +1 -1
- package/dist/components/xpl-dropdown-option2.js +1 -1
- package/dist/components/xpl-dropdown.js +1 -1
- package/dist/components/xpl-dropdown2.js +1 -1
- package/dist/components/xpl-dynamic-table-cell.js +1 -1
- package/dist/components/xpl-dynamic-table-row.js +1 -1
- package/dist/components/xpl-dynamic-table.js +1 -1
- package/dist/components/xpl-grid-item.js +1 -1
- package/dist/components/xpl-grid.js +1 -1
- package/dist/components/xpl-header-accordion.js +1 -1
- package/dist/components/xpl-icon.js +1 -1
- package/dist/components/xpl-icon2.js +1 -1
- package/dist/components/xpl-input-date.js +1 -1
- package/dist/components/xpl-input-date2.js +1 -1
- package/dist/components/xpl-input-file.js +1 -1
- package/dist/components/xpl-input-file2.js +1 -1
- package/dist/components/xpl-input-phone.d.ts +11 -0
- package/dist/components/xpl-input-phone.js +1 -0
- package/dist/components/xpl-input-search.d.ts +11 -0
- package/dist/components/xpl-input-search.js +1 -0
- package/dist/components/xpl-input-search2.js +1 -0
- package/dist/components/xpl-input-time.js +1 -1
- package/dist/components/xpl-input.js +1 -1
- package/dist/components/xpl-input2.js +1 -1
- package/dist/components/xpl-large-card.js +1 -1
- package/dist/components/{xpl-progress.d.ts → xpl-list-item.d.ts} +4 -4
- package/dist/components/xpl-list-item.js +1 -0
- package/dist/components/xpl-list-item2.js +1 -0
- package/dist/components/xpl-list.js +1 -1
- package/dist/components/xpl-main-nav.js +1 -1
- package/dist/components/xpl-modal.js +1 -1
- package/dist/components/xpl-nav-header-menu.d.ts +11 -0
- package/dist/components/xpl-nav-header-menu.js +1 -0
- package/dist/components/xpl-nav-item.js +1 -1
- package/dist/components/xpl-pagination.js +1 -1
- package/dist/components/xpl-panel.d.ts +11 -0
- package/dist/components/xpl-panel.js +1 -0
- package/dist/components/xpl-popover.js +1 -1
- package/dist/components/xpl-popover2.js +1 -1
- package/dist/components/xpl-progress-bar.d.ts +11 -0
- package/dist/components/xpl-progress-bar.js +1 -0
- package/dist/components/xpl-progress-indicator.d.ts +11 -0
- package/dist/components/xpl-progress-indicator.js +1 -0
- package/dist/components/xpl-radio.js +1 -1
- package/dist/components/xpl-radio2.js +1 -1
- package/dist/components/xpl-secondary-nav.js +1 -1
- package/dist/components/xpl-select.js +1 -1
- package/dist/components/xpl-select2.js +1 -1
- package/dist/components/xpl-side-nav-item.d.ts +11 -0
- package/dist/components/xpl-side-nav-item.js +1 -0
- package/dist/components/xpl-side-nav.d.ts +11 -0
- package/dist/components/xpl-side-nav.js +1 -0
- package/dist/components/xpl-skeleton.js +1 -1
- package/dist/components/xpl-slideout.js +1 -1
- package/dist/components/xpl-spotlight.d.ts +11 -0
- package/dist/components/xpl-spotlight.js +1 -0
- package/dist/components/xpl-tab-panel.js +1 -1
- package/dist/components/xpl-tab.js +1 -1
- package/dist/components/xpl-table-body.d.ts +11 -0
- package/dist/components/xpl-table-body.js +1 -0
- package/dist/components/xpl-table-cell.d.ts +11 -0
- package/dist/components/xpl-table-cell.js +1 -0
- package/dist/components/xpl-table-cell2.js +1 -0
- package/dist/components/xpl-table-footer-cell.d.ts +11 -0
- package/dist/components/xpl-table-footer-cell.js +1 -0
- package/dist/components/xpl-table-footer-cell2.js +1 -0
- package/dist/components/xpl-table-footer.d.ts +11 -0
- package/dist/components/xpl-table-footer.js +1 -0
- package/dist/components/xpl-table-header-cell.js +1 -1
- package/dist/components/xpl-table-header-cell2.js +1 -0
- package/dist/components/xpl-table-header.js +1 -1
- package/dist/components/xpl-table-row.d.ts +11 -0
- package/dist/components/xpl-table-row.js +1 -0
- package/dist/components/xpl-table.js +1 -1
- package/dist/components/xpl-tabs.js +1 -1
- package/dist/components/xpl-tag.js +1 -1
- package/dist/components/xpl-tag2.js +1 -1
- package/dist/components/xpl-toast.js +1 -1
- package/dist/components/xpl-toggle.js +1 -1
- package/dist/components/xpl-toolbar.js +1 -1
- package/dist/components/xpl-tooltip.js +1 -1
- package/dist/components/xpl-tooltip2.js +1 -1
- package/dist/components/xpl-top-nav-item.d.ts +11 -0
- package/dist/components/xpl-top-nav-item.js +1 -0
- package/dist/components/xpl-top-nav-item2.js +1 -0
- package/dist/components/xpl-top-nav.d.ts +11 -0
- package/dist/components/xpl-top-nav.js +1 -0
- package/dist/components/xpl-utility-bar.js +1 -1
- package/dist/docs/xpl-accordion/readme.md +4 -0
- package/dist/docs/xpl-avatar/readme.md +291 -12
- package/dist/docs/xpl-backdrop/readme.md +1 -1
- package/dist/docs/xpl-badge/readme.md +104 -6
- package/dist/docs/xpl-banner/readme.md +203 -0
- package/dist/docs/xpl-button/readme.md +161 -14
- package/dist/docs/xpl-button-row/readme.md +1 -0
- package/dist/docs/xpl-calendar/readme.md +2 -1
- package/dist/docs/xpl-checkbox/readme.md +19 -14
- package/dist/docs/xpl-choicelist/readme.md +1 -0
- package/dist/docs/xpl-data-card/readme.md +2 -2
- package/dist/docs/xpl-divider/readme.md +6 -4
- package/dist/docs/xpl-dropdown/readme.md +15 -12
- package/dist/docs/xpl-dropdown/xpl-dropdown-group/readme.md +1 -0
- package/dist/docs/xpl-dropdown/xpl-dropdown-option/readme.md +6 -0
- package/dist/docs/xpl-dynamic-table/readme.md +22 -19
- package/dist/docs/xpl-dynamic-table-cell/readme.md +20 -18
- package/dist/docs/xpl-dynamic-table-row/readme.md +21 -19
- package/dist/docs/xpl-icon/readme.md +27 -3
- package/dist/docs/xpl-input/readme.md +72 -37
- package/dist/docs/xpl-input/xpl-input-color/readme.md +5 -0
- package/dist/docs/xpl-input/xpl-input-phone/readme.md +168 -0
- package/dist/docs/xpl-input/xpl-input-search/readme.md +175 -0
- package/dist/docs/xpl-input/xpl-input-time/readme.md +5 -0
- package/dist/docs/xpl-large-card/readme.md +1 -1
- package/dist/docs/xpl-list/readme.md +320 -10
- package/dist/docs/xpl-list/xpl-list-item/readme.md +99 -0
- package/dist/docs/xpl-modal/readme.md +3 -0
- package/dist/docs/xpl-pagination/readme.md +4 -0
- package/dist/docs/xpl-panel/readme.md +174 -0
- package/dist/docs/xpl-popover/readme.md +3 -1
- package/dist/docs/xpl-progress-bar/readme.md +145 -0
- package/dist/docs/xpl-progress-indicator/readme.md +234 -0
- package/dist/docs/xpl-radio/readme.md +6 -4
- package/dist/docs/xpl-select/readme.md +3 -1
- package/dist/docs/xpl-side-nav/readme.md +71 -0
- package/dist/docs/xpl-side-nav/xpl-side-nav-item/readme.md +115 -0
- package/dist/docs/xpl-slideout/readme.md +2 -1
- package/dist/docs/xpl-spotlight/readme.md +235 -0
- package/dist/docs/xpl-tab/readme.md +43 -7
- package/dist/docs/xpl-tab-panel/readme.md +42 -0
- package/dist/docs/xpl-table/readme.md +110 -46
- package/dist/docs/xpl-table/xpl-table-body/readme.md +10 -0
- package/dist/docs/xpl-table/xpl-table-cell/readme.md +33 -0
- package/dist/docs/xpl-table/xpl-table-footer/readme.md +10 -0
- package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +30 -0
- package/dist/docs/{xpl-table-header → xpl-table/xpl-table-header}/readme.md +13 -13
- package/dist/docs/xpl-table/xpl-table-header-cell/readme.md +66 -0
- package/dist/docs/xpl-table/xpl-table-row/readme.md +19 -0
- package/dist/docs/xpl-tabs/readme.md +63 -8
- package/dist/docs/xpl-tag/readme.md +379 -4
- package/dist/docs/xpl-toast/readme.md +56 -1
- package/dist/docs/xpl-top-nav/readme.md +179 -0
- package/dist/docs/xpl-top-nav/xpl-nav-header-menu/readme.md +81 -0
- package/dist/docs/xpl-top-nav/xpl-top-nav-item/readme.md +87 -0
- package/dist/esm/apollo-core.js +4 -4
- package/dist/esm/{index-DhZas3eX.js → index-C7bgJs6C.js} +149 -97
- package/dist/esm/loader.js +3 -3
- package/dist/esm/xpl-accordion.entry.js +5 -5
- package/dist/esm/xpl-application-shell.entry.js +4 -4
- package/dist/esm/{xpl-avatar_41.entry.js → xpl-avatar_61.entry.js} +9087 -1942
- package/dist/esm/xpl-button-row.entry.js +4 -4
- package/dist/esm/xpl-calendar.entry.js +4 -4
- package/dist/esm/xpl-dynamic-table-cell.entry.js +5 -5
- package/dist/esm/xpl-dynamic-table-row.entry.js +5 -5
- package/dist/esm/xpl-dynamic-table.entry.js +4 -4
- package/dist/esm/xpl-grid-item.entry.js +4 -4
- package/dist/esm/xpl-grid.entry.js +4 -4
- package/dist/esm/xpl-large-card.entry.js +4 -4
- package/dist/esm/xpl-main-nav.entry.js +4 -4
- package/dist/esm/xpl-toggle.entry.js +6 -6
- package/dist/esm/xpl-toolbar.entry.js +5 -5
- package/dist/types/components/xpl-accordion/xpl-accordion.d.ts +1 -1
- package/dist/types/components/xpl-application-shell/application-shell.stories.d.ts +4 -0
- package/dist/types/components/xpl-application-shell/xpl-application-shell.d.ts +1 -1
- package/dist/types/components/xpl-avatar/avatar.stories.d.ts +90 -27
- package/dist/types/components/xpl-avatar/xpl-avatar.d.ts +30 -3
- package/dist/types/components/xpl-backdrop/backdrop.stories.d.ts +4 -0
- package/dist/types/components/xpl-backdrop/xpl-backdrop.d.ts +1 -1
- package/dist/types/components/xpl-badge/badge.stories.d.ts +47 -11
- package/dist/types/components/xpl-badge/xpl-badge.d.ts +9 -2
- package/dist/types/components/xpl-banner/banner.stories.d.ts +77 -0
- package/dist/types/components/xpl-banner/xpl-banner.d.ts +20 -0
- package/dist/types/components/xpl-breadcrumbs/breadcrumbs.stories.d.ts +4 -0
- package/dist/types/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.d.ts +1 -1
- package/dist/types/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.d.ts +1 -1
- package/dist/types/components/xpl-button/button.stories.d.ts +68 -30
- package/dist/types/components/xpl-button/xpl-button.d.ts +21 -8
- package/dist/types/components/xpl-button-row/xpl-button-row.d.ts +1 -1
- package/dist/types/components/xpl-calendar/calendar.stories.d.ts +4 -0
- package/dist/types/components/xpl-calendar/xpl-calendar.d.ts +1 -1
- package/dist/types/components/xpl-checkbox/checkbox.stories.d.ts +4 -0
- package/dist/types/components/xpl-checkbox/xpl-checkbox.d.ts +5 -4
- package/dist/types/components/xpl-choicelist/choicelist.stories.d.ts +4 -0
- package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +1 -1
- package/dist/types/components/xpl-content-area/xpl-content-area.d.ts +1 -1
- package/dist/types/components/xpl-dashboard/xpl-dashboard.d.ts +1 -1
- package/dist/types/components/xpl-data-card/data-card.stories.d.ts +4 -0
- package/dist/types/components/xpl-data-card/xpl-data-card.d.ts +1 -1
- package/dist/types/components/xpl-divider/divider.stories.d.ts +4 -0
- package/dist/types/components/xpl-divider/xpl-divider.d.ts +1 -1
- package/dist/types/components/xpl-dropdown/dropdown-option.d.ts +1 -0
- package/dist/types/components/xpl-dropdown/dropdown.stories.d.ts +1 -1
- package/dist/types/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.d.ts +1 -1
- package/dist/types/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.d.ts +1 -1
- package/dist/types/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.d.ts +3 -2
- package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +11 -8
- package/dist/types/components/xpl-dynamic-table/xpl-dynamic-table.d.ts +1 -1
- package/dist/types/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.d.ts +1 -1
- package/dist/types/components/xpl-dynamic-table-row/xpl-dynamic-table-row.d.ts +1 -1
- package/dist/types/components/xpl-grid/xpl-grid.d.ts +1 -1
- package/dist/types/components/xpl-grid-item/xpl-grid-item.d.ts +1 -1
- package/dist/types/components/xpl-header-accordion/xpl-header-accordion.d.ts +10 -11
- package/dist/types/components/xpl-icon/xpl-icon.d.ts +1 -1
- package/dist/types/components/xpl-input/input.stories.d.ts +37 -7
- package/dist/types/components/xpl-input/xpl-input-color/xpl-input-color.d.ts +1 -1
- package/dist/types/components/xpl-input/xpl-input-date/xpl-input-date.d.ts +10 -3
- package/dist/types/components/xpl-input/xpl-input-file/xpl-input-file.d.ts +1 -1
- package/dist/types/components/xpl-input/xpl-input-phone/phone-country-data.d.ts +13 -0
- package/dist/types/components/xpl-input/xpl-input-phone/phone-format.d.ts +5 -0
- package/dist/types/components/xpl-input/xpl-input-phone/xpl-input-phone.d.ts +48 -0
- package/dist/types/components/xpl-input/xpl-input-search/xpl-input-search.d.ts +39 -0
- package/dist/types/components/xpl-input/xpl-input-time/xpl-input-time.d.ts +1 -1
- package/dist/types/components/xpl-input/xpl-input.d.ts +23 -5
- package/dist/types/components/xpl-large-card/large-card.stories.d.ts +4 -0
- package/dist/types/components/xpl-large-card/xpl-large-card.d.ts +1 -1
- package/dist/types/components/xpl-list/list.stories.d.ts +299 -13
- package/dist/types/components/xpl-list/listitem.d.ts +13 -0
- package/dist/types/components/xpl-list/xpl-list-item/xpl-list-item.d.ts +71 -0
- package/dist/types/components/xpl-list/xpl-list.d.ts +56 -3
- package/dist/types/components/xpl-main-nav/xpl-main-nav.d.ts +1 -1
- package/dist/types/components/xpl-modal/modal.stories.d.ts +4 -0
- package/dist/types/components/xpl-modal/xpl-modal.d.ts +1 -1
- package/dist/types/components/xpl-nav-item/xpl-nav-item.d.ts +1 -1
- package/dist/types/components/xpl-pagination/pagination.stories.d.ts +4 -0
- package/dist/types/components/xpl-pagination/xpl-pagination.d.ts +1 -1
- package/dist/types/components/xpl-panel/panel.stories.d.ts +22 -0
- package/dist/types/components/xpl-panel/xpl-panel.d.ts +5 -0
- package/dist/types/components/xpl-popover/xpl-popover.d.ts +1 -1
- package/dist/types/components/xpl-progress-bar/progress-bar.stories.d.ts +73 -0
- package/dist/types/components/xpl-progress-bar/xpl-progress-bar.d.ts +15 -0
- package/dist/types/components/xpl-progress-indicator/progress-indicator.stories.d.ts +62 -0
- package/dist/types/components/xpl-progress-indicator/xpl-progress-indicator.d.ts +11 -0
- package/dist/types/components/xpl-radio/xpl-radio.d.ts +1 -1
- package/dist/types/components/xpl-secondary-nav/xpl-secondary-nav.d.ts +1 -1
- package/dist/types/components/xpl-select/xpl-select.d.ts +1 -1
- package/dist/types/components/xpl-side-nav/side-nav.stories.d.ts +80 -0
- package/dist/types/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.d.ts +20 -0
- package/dist/types/components/xpl-side-nav/xpl-side-nav.d.ts +4 -0
- package/dist/types/components/xpl-skeleton/xpl-skeleton.d.ts +1 -1
- package/dist/types/components/xpl-slideout/xpl-slideout.d.ts +1 -1
- package/dist/types/components/xpl-spotlight/spotlight.stories.d.ts +197 -0
- package/dist/types/components/xpl-spotlight/xpl-spotlight.d.ts +101 -0
- package/dist/types/components/xpl-tab/xpl-tab.d.ts +15 -2
- package/dist/types/components/xpl-tab-panel/xpl-tab-panel.d.ts +3 -2
- package/dist/types/components/xpl-table/table.stories.d.ts +161 -19
- package/dist/types/components/xpl-table/utils/move-row-dom.d.ts +3 -0
- package/dist/types/components/xpl-table/utils/table-internal.d.ts +8 -0
- package/dist/types/components/xpl-table/xpl-table-body/xpl-table-body.d.ts +3 -0
- package/dist/types/components/xpl-table/xpl-table-cell/xpl-table-cell.d.ts +11 -0
- package/dist/types/components/xpl-table/xpl-table-footer/xpl-table-footer.d.ts +3 -0
- package/dist/types/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.d.ts +4 -0
- package/dist/types/components/{xpl-table-header → xpl-table/xpl-table-header}/table-header.stories.d.ts +13 -16
- package/dist/types/components/xpl-table/xpl-table-header/xpl-table-header.d.ts +3 -0
- package/dist/types/components/{xpl-table-header-cell → xpl-table/xpl-table-header-cell}/table-header-cell.stories.d.ts +24 -20
- package/dist/types/components/xpl-table/xpl-table-header-cell/xpl-table-header-cell.d.ts +32 -0
- package/dist/types/components/xpl-table/xpl-table-row/xpl-table-row.d.ts +13 -0
- package/dist/types/components/xpl-table/xpl-table.d.ts +124 -22
- package/dist/types/components/xpl-tabs/segment-control.stories.d.ts +112 -0
- package/dist/types/components/xpl-tabs/tabs.shared.d.ts +156 -0
- package/dist/types/components/xpl-tabs/tabs.stories.d.ts +65 -12
- package/dist/types/components/xpl-tabs/xpl-tabs.d.ts +38 -19
- package/dist/types/components/xpl-tag/tag.stories.d.ts +65 -0
- package/dist/types/components/xpl-tag/xpl-tag.d.ts +37 -2
- package/dist/types/components/xpl-toast/xpl-toast.d.ts +1 -1
- package/dist/types/components/xpl-toggle/xpl-toggle.d.ts +1 -1
- package/dist/types/components/xpl-toolbar/xpl-toolbar.d.ts +1 -1
- package/dist/types/components/xpl-tooltip/xpl-tooltip.d.ts +1 -1
- package/dist/types/components/xpl-top-nav/top-nav.stories.d.ts +471 -0
- package/dist/types/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.d.ts +18 -0
- package/dist/types/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.d.ts +48 -0
- package/dist/types/components/xpl-top-nav/xpl-top-nav.d.ts +51 -0
- package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +1 -1
- package/dist/types/components.d.ts +3059 -278
- package/dist/types/stencil-public-runtime.d.ts +23 -2
- package/dist/types/utils/layout-ancestors.d.ts +2 -0
- package/dist/types/utils/lifecycle.d.ts +16 -0
- package/dist/types/utils/tab-a11y-ids.d.ts +4 -0
- package/package.json +42 -28
- package/dist/apollo-core/p-1c2e4034.entry.js +0 -1
- package/dist/apollo-core/p-3b5f8989.entry.js +0 -1
- package/dist/apollo-core/p-4fab8172.entry.js +0 -1
- package/dist/apollo-core/p-576ce90f.entry.js +0 -1
- package/dist/apollo-core/p-5ec45742.entry.js +0 -1
- package/dist/apollo-core/p-77f0fd4a.entry.js +0 -1
- package/dist/apollo-core/p-7b7db57a.entry.js +0 -1
- package/dist/apollo-core/p-7c22b842.entry.js +0 -1
- package/dist/apollo-core/p-812bb0e4.entry.js +0 -1
- package/dist/apollo-core/p-845eef0d.entry.js +0 -1
- package/dist/apollo-core/p-9853028c.entry.js +0 -1
- package/dist/apollo-core/p-9d65ece7.entry.js +0 -1
- package/dist/apollo-core/p-DhZas3eX.js +0 -2
- package/dist/apollo-core/p-be292555.entry.js +0 -1
- package/dist/cjs/xpl-list.cjs.entry.js +0 -32
- package/dist/cjs/xpl-table-header-cell.cjs.entry.js +0 -57
- package/dist/cjs/xpl-table-header.cjs.entry.js +0 -14
- package/dist/collection/components/xpl-progress/progress.stories.js +0 -106
- package/dist/collection/components/xpl-progress/xpl-progress.js +0 -60
- package/dist/collection/components/xpl-table-header/table-header.stories.js +0 -126
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +0 -7
- package/dist/collection/components/xpl-table-header-cell/table-header-cell.stories.js +0 -75
- package/dist/collection/components/xpl-table-header-cell/xpl-table-header-cell.js +0 -188
- package/dist/components/xpl-progress.js +0 -1
- package/dist/docs/xpl-progress/readme.md +0 -22
- package/dist/docs/xpl-table-header-cell/readme.md +0 -47
- package/dist/esm/xpl-list.entry.js +0 -30
- package/dist/esm/xpl-table-header-cell.entry.js +0 -55
- package/dist/esm/xpl-table-header.entry.js +0 -12
- package/dist/types/components/xpl-progress/progress.stories.d.ts +0 -38
- package/dist/types/components/xpl-progress/xpl-progress.d.ts +0 -6
- package/dist/types/components/xpl-table-header/xpl-table-header.d.ts +0 -3
- package/dist/types/components/xpl-table-header-cell/xpl-table-header-cell.d.ts +0 -13
|
@@ -40,17 +40,11 @@ declare const _default: {
|
|
|
40
40
|
type: "select";
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
timeFormat: {
|
|
44
|
-
control: {
|
|
45
|
-
type: "select";
|
|
46
|
-
};
|
|
47
|
-
options: string[];
|
|
48
|
-
};
|
|
49
43
|
};
|
|
50
44
|
};
|
|
51
45
|
export default _default;
|
|
52
46
|
export declare const Input: {
|
|
53
|
-
({ label, description, disabled, error, errorMessage, pre, post, type }: {
|
|
47
|
+
({ label, description, disabled, error, errorMessage, pre, post, type, defaultCountry, isInternational, }: {
|
|
54
48
|
label: any;
|
|
55
49
|
description: any;
|
|
56
50
|
disabled: any;
|
|
@@ -59,6 +53,8 @@ export declare const Input: {
|
|
|
59
53
|
pre: any;
|
|
60
54
|
post: any;
|
|
61
55
|
type: any;
|
|
56
|
+
defaultCountry: any;
|
|
57
|
+
isInternational: any;
|
|
62
58
|
}): string;
|
|
63
59
|
args: {
|
|
64
60
|
label: string;
|
|
@@ -69,6 +65,30 @@ export declare const Input: {
|
|
|
69
65
|
pre: string;
|
|
70
66
|
post: string;
|
|
71
67
|
type: string;
|
|
68
|
+
defaultCountry: string;
|
|
69
|
+
isInternational: boolean;
|
|
70
|
+
};
|
|
71
|
+
argTypes: {
|
|
72
|
+
defaultCountry: {
|
|
73
|
+
control: {
|
|
74
|
+
type: string;
|
|
75
|
+
};
|
|
76
|
+
description: string;
|
|
77
|
+
if: {
|
|
78
|
+
arg: string;
|
|
79
|
+
eq: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
isInternational: {
|
|
83
|
+
control: {
|
|
84
|
+
type: string;
|
|
85
|
+
};
|
|
86
|
+
description: string;
|
|
87
|
+
if: {
|
|
88
|
+
arg: string;
|
|
89
|
+
eq: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
72
92
|
};
|
|
73
93
|
parameters: {
|
|
74
94
|
layout: string;
|
|
@@ -195,6 +215,14 @@ export declare const Timepicker: {
|
|
|
195
215
|
max: string;
|
|
196
216
|
type: string;
|
|
197
217
|
};
|
|
218
|
+
argTypes: {
|
|
219
|
+
timeFormat: {
|
|
220
|
+
control: {
|
|
221
|
+
type: string;
|
|
222
|
+
};
|
|
223
|
+
options: string[];
|
|
224
|
+
};
|
|
225
|
+
};
|
|
198
226
|
parameters: {
|
|
199
227
|
layout: string;
|
|
200
228
|
'web-component': {
|
|
@@ -208,3 +236,5 @@ export declare const Timepicker: {
|
|
|
208
236
|
export declare const Password: any;
|
|
209
237
|
export declare const File: any;
|
|
210
238
|
export declare const Color: any;
|
|
239
|
+
export declare const Phone: any;
|
|
240
|
+
export declare const Search: any;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class InputDate {
|
|
3
|
+
el: HTMLElement;
|
|
3
4
|
inputId?: string;
|
|
4
5
|
disabled?: boolean;
|
|
5
6
|
name?: string;
|
|
@@ -19,12 +20,18 @@ export declare class XplInputDate {
|
|
|
19
20
|
start: Date;
|
|
20
21
|
end: Date;
|
|
21
22
|
}>;
|
|
23
|
+
private flatpickrStaticLayout;
|
|
22
24
|
private hasErrorState?;
|
|
23
|
-
private flatpickrInstance
|
|
25
|
+
private flatpickrInstance?;
|
|
24
26
|
private valueChanged;
|
|
25
27
|
onHasErrorStateChanged(newValue: string | null): void;
|
|
26
28
|
onValueChanged(newValue: string | string[]): void;
|
|
27
29
|
private input;
|
|
28
|
-
|
|
30
|
+
connectedCallback(): void;
|
|
31
|
+
disconnectedCallback(): void;
|
|
32
|
+
componentDidRender(): void;
|
|
33
|
+
private ensureFlatpickr;
|
|
34
|
+
private initFlatpickr;
|
|
35
|
+
private unwrapStaleFlatpickrWrapper;
|
|
29
36
|
render(): any;
|
|
30
37
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PhoneCountry {
|
|
2
|
+
countryCode: string;
|
|
3
|
+
dialCode: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const PHONE_COUNTRIES: PhoneCountry[];
|
|
7
|
+
export declare function getCountryByCode(countryCode: string): PhoneCountry | undefined;
|
|
8
|
+
export declare function getCountryByDialCode(dialCode: string): PhoneCountry | undefined;
|
|
9
|
+
export declare function parseE164(value: string): {
|
|
10
|
+
dialCode: string;
|
|
11
|
+
nationalNumber: string;
|
|
12
|
+
} | null;
|
|
13
|
+
export declare function toE164(dialCode: string, nationalNumber: string): string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function digitsOnly(value: string): string;
|
|
2
|
+
export declare function getMaxNationalNumberLength(countryCode: string): number;
|
|
3
|
+
export declare function getPlaceholderPattern(countryCode: string): string;
|
|
4
|
+
export declare function formatNationalNumber(digits: string, countryCode: string): string;
|
|
5
|
+
export declare function getCursorPositionAfterFormat(prevFormatted: string, nextFormatted: string, prevCursor: number): number;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { type PhoneCountry } from './phone-country-data';
|
|
3
|
+
export declare class InputPhone {
|
|
4
|
+
private dropdownRef;
|
|
5
|
+
private inputEl;
|
|
6
|
+
private lastCursorRef;
|
|
7
|
+
private lastFormattedRef;
|
|
8
|
+
el: HTMLElement;
|
|
9
|
+
dropdownOpen: boolean;
|
|
10
|
+
onDropdownOpenChange(isOpen: boolean): void;
|
|
11
|
+
hasErrorState: string | null;
|
|
12
|
+
onHasErrorStateChanged(newValue: string | null): void;
|
|
13
|
+
nationalNumber: string;
|
|
14
|
+
searchQuery: string;
|
|
15
|
+
selectedCountry: PhoneCountry;
|
|
16
|
+
triggerId: string;
|
|
17
|
+
defaultCountry?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
inputId?: string;
|
|
20
|
+
isInternational?: boolean;
|
|
21
|
+
name?: string;
|
|
22
|
+
placeholder?: string;
|
|
23
|
+
preferredCountries?: string[];
|
|
24
|
+
readonly?: boolean;
|
|
25
|
+
required?: boolean;
|
|
26
|
+
value?: string;
|
|
27
|
+
onValueChange(newValue: string): void;
|
|
28
|
+
hasErrorStateChanged: EventEmitter<string | null>;
|
|
29
|
+
valueChange: EventEmitter<string>;
|
|
30
|
+
componentWillLoad(): void;
|
|
31
|
+
componentDidUpdate(): void;
|
|
32
|
+
private get effectiveCountryCode();
|
|
33
|
+
private get effectiveDialCode();
|
|
34
|
+
private get isEditable();
|
|
35
|
+
private get orderedCountries();
|
|
36
|
+
private get filteredCountries();
|
|
37
|
+
private get displayValue();
|
|
38
|
+
private get effectivePlaceholder();
|
|
39
|
+
private get dropdownOptions();
|
|
40
|
+
private get maxInputLength();
|
|
41
|
+
private emitValue;
|
|
42
|
+
private validate;
|
|
43
|
+
private handleTriggerClick;
|
|
44
|
+
private handleNumberInput;
|
|
45
|
+
private handleClear;
|
|
46
|
+
private handleDropdownUpdate;
|
|
47
|
+
render(): any;
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export declare class InputSearch {
|
|
3
|
+
private inputEl?;
|
|
4
|
+
el: HTMLElement;
|
|
5
|
+
private hasAncestorForm;
|
|
6
|
+
ariaLabel: string;
|
|
7
|
+
autocomplete: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
errorMessageId?: string;
|
|
10
|
+
hasError: boolean;
|
|
11
|
+
hasVisibleLabel: boolean;
|
|
12
|
+
inputId: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
readonly: boolean;
|
|
16
|
+
required: boolean;
|
|
17
|
+
shape: 'rounded' | 'box';
|
|
18
|
+
value: string;
|
|
19
|
+
blurEvent: EventEmitter<FocusEvent>;
|
|
20
|
+
focusEvent: EventEmitter<FocusEvent>;
|
|
21
|
+
inputEvent: EventEmitter<string>;
|
|
22
|
+
search: EventEmitter<string>;
|
|
23
|
+
valueChange: EventEmitter<string>;
|
|
24
|
+
connectedCallback(): void;
|
|
25
|
+
setFocus(): Promise<void>;
|
|
26
|
+
private syncAncestorFormFlag;
|
|
27
|
+
private get hasValue();
|
|
28
|
+
private get resolvedInputAriaLabel();
|
|
29
|
+
private get rendersInnerSearchForm();
|
|
30
|
+
private emitSearchCommit;
|
|
31
|
+
private handleInnerFormSubmit;
|
|
32
|
+
private handleClear;
|
|
33
|
+
private handleInput;
|
|
34
|
+
private handleKeyDown;
|
|
35
|
+
private handleFocus;
|
|
36
|
+
private handleBlur;
|
|
37
|
+
private renderShell;
|
|
38
|
+
render(): any;
|
|
39
|
+
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class Input {
|
|
3
|
+
private input;
|
|
4
|
+
private preSlotObserver?;
|
|
5
|
+
private searchInputRef?;
|
|
6
|
+
el: HTMLElement;
|
|
3
7
|
_id?: string;
|
|
4
8
|
description?: string;
|
|
5
9
|
disabled?: boolean;
|
|
@@ -28,20 +32,34 @@ export declare class XplInput {
|
|
|
28
32
|
hideFileNames?: boolean;
|
|
29
33
|
hideAcceptText?: boolean;
|
|
30
34
|
hideEyeDropper?: boolean;
|
|
31
|
-
|
|
35
|
+
defaultCountry?: string;
|
|
36
|
+
preferredCountries?: string[];
|
|
37
|
+
isInternational?: boolean;
|
|
38
|
+
ariaLabel: string;
|
|
39
|
+
shape?: 'rounded' | 'box';
|
|
40
|
+
type?: 'date' | 'time' | 'text' | 'number' | 'password' | 'file' | 'color' | 'phone' | 'search';
|
|
32
41
|
focusEvent: EventEmitter<FocusEvent>;
|
|
33
42
|
blurEvent: EventEmitter<FocusEvent>;
|
|
34
43
|
valueChange: EventEmitter<string>;
|
|
35
44
|
inputEvent: EventEmitter<string>;
|
|
45
|
+
search: EventEmitter<string>;
|
|
36
46
|
private valueChanged;
|
|
37
47
|
characterCount: number;
|
|
38
48
|
passwordVisible: boolean;
|
|
39
|
-
|
|
40
|
-
private updateCharacterCount;
|
|
41
|
-
private handleFocus;
|
|
49
|
+
hasPreSlotContent: boolean;
|
|
42
50
|
private handleBlur;
|
|
51
|
+
private handleFocus;
|
|
43
52
|
private handleInput;
|
|
53
|
+
private hasDirectPreSlotChild;
|
|
54
|
+
private syncPreSlotContent;
|
|
55
|
+
private updateCharacterCount;
|
|
44
56
|
componentWillLoad(): void;
|
|
57
|
+
componentDidLoad(): void;
|
|
58
|
+
disconnectedCallback(): void;
|
|
59
|
+
setFocus(): Promise<void>;
|
|
60
|
+
private handleSearchBlurForward;
|
|
61
|
+
private handleSearchCommit;
|
|
62
|
+
private handleSearchFocusForward;
|
|
45
63
|
private renderInput;
|
|
46
64
|
render(): any;
|
|
47
65
|
}
|
|
@@ -1,40 +1,307 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
controls: {
|
|
5
|
+
sort: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
3
8
|
argTypes: {
|
|
9
|
+
type: {
|
|
10
|
+
name: string;
|
|
11
|
+
control: {
|
|
12
|
+
type: "select";
|
|
13
|
+
};
|
|
14
|
+
options: string[];
|
|
15
|
+
table: {
|
|
16
|
+
category: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
4
19
|
avatar: {
|
|
5
20
|
options: string[];
|
|
6
21
|
control: {
|
|
7
22
|
type: "select";
|
|
8
23
|
};
|
|
24
|
+
if: {
|
|
25
|
+
arg: string;
|
|
26
|
+
eq: string;
|
|
27
|
+
};
|
|
28
|
+
table: {
|
|
29
|
+
category: string;
|
|
30
|
+
};
|
|
9
31
|
};
|
|
10
32
|
avatars: {
|
|
11
|
-
|
|
12
|
-
|
|
33
|
+
control: {
|
|
34
|
+
type: "boolean";
|
|
35
|
+
};
|
|
36
|
+
if: {
|
|
37
|
+
arg: string;
|
|
38
|
+
eq: string;
|
|
39
|
+
};
|
|
40
|
+
table: {
|
|
41
|
+
category: string;
|
|
13
42
|
};
|
|
14
43
|
};
|
|
15
44
|
badges: {
|
|
16
|
-
|
|
17
|
-
|
|
45
|
+
control: {
|
|
46
|
+
type: "boolean";
|
|
47
|
+
};
|
|
48
|
+
if: {
|
|
49
|
+
arg: string;
|
|
50
|
+
eq: string;
|
|
51
|
+
};
|
|
52
|
+
table: {
|
|
53
|
+
category: string;
|
|
18
54
|
};
|
|
19
55
|
};
|
|
20
56
|
link: {
|
|
21
|
-
|
|
22
|
-
|
|
57
|
+
control: {
|
|
58
|
+
type: "boolean";
|
|
59
|
+
};
|
|
60
|
+
if: {
|
|
61
|
+
arg: string;
|
|
62
|
+
eq: string;
|
|
63
|
+
};
|
|
64
|
+
table: {
|
|
65
|
+
category: string;
|
|
23
66
|
};
|
|
24
67
|
};
|
|
25
68
|
metadata: {
|
|
26
|
-
|
|
27
|
-
|
|
69
|
+
control: {
|
|
70
|
+
type: "boolean";
|
|
71
|
+
};
|
|
72
|
+
if: {
|
|
73
|
+
arg: string;
|
|
74
|
+
eq: string;
|
|
75
|
+
};
|
|
76
|
+
table: {
|
|
77
|
+
category: string;
|
|
28
78
|
};
|
|
29
79
|
};
|
|
30
80
|
title: {
|
|
31
|
-
|
|
32
|
-
|
|
81
|
+
control: {
|
|
82
|
+
type: "text";
|
|
83
|
+
};
|
|
84
|
+
if: {
|
|
85
|
+
arg: string;
|
|
86
|
+
eq: string;
|
|
87
|
+
};
|
|
88
|
+
table: {
|
|
89
|
+
category: string;
|
|
33
90
|
};
|
|
34
91
|
};
|
|
35
92
|
subtext: {
|
|
36
|
-
|
|
37
|
-
|
|
93
|
+
control: {
|
|
94
|
+
type: "text";
|
|
95
|
+
};
|
|
96
|
+
if: {
|
|
97
|
+
arg: string;
|
|
98
|
+
eq: string;
|
|
99
|
+
};
|
|
100
|
+
table: {
|
|
101
|
+
category: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
listLabel: {
|
|
105
|
+
control: "text";
|
|
106
|
+
if: {
|
|
107
|
+
arg: string;
|
|
108
|
+
eq: string;
|
|
109
|
+
};
|
|
110
|
+
description: string;
|
|
111
|
+
table: {
|
|
112
|
+
category: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
listLabelledBy: {
|
|
116
|
+
name: string;
|
|
117
|
+
control: "text";
|
|
118
|
+
if: {
|
|
119
|
+
arg: string;
|
|
120
|
+
eq: string;
|
|
121
|
+
};
|
|
122
|
+
description: string;
|
|
123
|
+
table: {
|
|
124
|
+
category: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
showSelectable: {
|
|
128
|
+
control: "boolean";
|
|
129
|
+
if: {
|
|
130
|
+
arg: string;
|
|
131
|
+
eq: string;
|
|
132
|
+
};
|
|
133
|
+
table: {
|
|
134
|
+
category: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
showReorderable: {
|
|
138
|
+
control: "boolean";
|
|
139
|
+
if: {
|
|
140
|
+
arg: string;
|
|
141
|
+
eq: string;
|
|
142
|
+
};
|
|
143
|
+
description: string;
|
|
144
|
+
table: {
|
|
145
|
+
category: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
showAsLink: {
|
|
149
|
+
control: "boolean";
|
|
150
|
+
if: {
|
|
151
|
+
arg: string;
|
|
152
|
+
eq: string;
|
|
153
|
+
};
|
|
154
|
+
table: {
|
|
155
|
+
category: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
showTitle: {
|
|
159
|
+
control: "boolean";
|
|
160
|
+
if: {
|
|
161
|
+
arg: string;
|
|
162
|
+
eq: string;
|
|
163
|
+
};
|
|
164
|
+
table: {
|
|
165
|
+
category: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
slotTitle: {
|
|
169
|
+
control: "text";
|
|
170
|
+
if: {
|
|
171
|
+
arg: string;
|
|
172
|
+
eq: boolean;
|
|
173
|
+
};
|
|
174
|
+
table: {
|
|
175
|
+
category: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
showDivider: {
|
|
179
|
+
control: "boolean";
|
|
180
|
+
if: {
|
|
181
|
+
arg: string;
|
|
182
|
+
eq: string;
|
|
183
|
+
};
|
|
184
|
+
description: string;
|
|
185
|
+
table: {
|
|
186
|
+
category: string;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
titleBadgeVariant: {
|
|
190
|
+
control: {
|
|
191
|
+
type: "select";
|
|
192
|
+
};
|
|
193
|
+
options: string[];
|
|
194
|
+
if: {
|
|
195
|
+
arg: string;
|
|
196
|
+
eq: string;
|
|
197
|
+
};
|
|
198
|
+
table: {
|
|
199
|
+
category: string;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
showMetadata: {
|
|
203
|
+
control: "boolean";
|
|
204
|
+
if: {
|
|
205
|
+
arg: string;
|
|
206
|
+
eq: string;
|
|
207
|
+
};
|
|
208
|
+
table: {
|
|
209
|
+
category: string;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
showAvatar: {
|
|
213
|
+
control: "boolean";
|
|
214
|
+
if: {
|
|
215
|
+
arg: string;
|
|
216
|
+
eq: string;
|
|
217
|
+
};
|
|
218
|
+
table: {
|
|
219
|
+
category: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
slotAvatar: {
|
|
223
|
+
options: string[];
|
|
224
|
+
control: {
|
|
225
|
+
type: "select";
|
|
226
|
+
};
|
|
227
|
+
if: {
|
|
228
|
+
arg: string;
|
|
229
|
+
eq: boolean;
|
|
230
|
+
};
|
|
231
|
+
table: {
|
|
232
|
+
category: string;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
showDetails: {
|
|
236
|
+
control: "boolean";
|
|
237
|
+
if: {
|
|
238
|
+
arg: string;
|
|
239
|
+
eq: string;
|
|
240
|
+
};
|
|
241
|
+
table: {
|
|
242
|
+
category: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
slotDetails: {
|
|
246
|
+
control: "text";
|
|
247
|
+
if: {
|
|
248
|
+
arg: string;
|
|
249
|
+
eq: boolean;
|
|
250
|
+
};
|
|
251
|
+
table: {
|
|
252
|
+
category: string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
showBadges: {
|
|
256
|
+
control: "boolean";
|
|
257
|
+
if: {
|
|
258
|
+
arg: string;
|
|
259
|
+
eq: string;
|
|
260
|
+
};
|
|
261
|
+
table: {
|
|
262
|
+
category: string;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
showActions: {
|
|
266
|
+
control: "boolean";
|
|
267
|
+
if: {
|
|
268
|
+
arg: string;
|
|
269
|
+
eq: string;
|
|
270
|
+
};
|
|
271
|
+
table: {
|
|
272
|
+
category: string;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
showExtras: {
|
|
276
|
+
control: "boolean";
|
|
277
|
+
if: {
|
|
278
|
+
arg: string;
|
|
279
|
+
eq: string;
|
|
280
|
+
};
|
|
281
|
+
table: {
|
|
282
|
+
category: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
showError: {
|
|
286
|
+
control: "boolean";
|
|
287
|
+
if: {
|
|
288
|
+
arg: string;
|
|
289
|
+
eq: string;
|
|
290
|
+
};
|
|
291
|
+
description: string;
|
|
292
|
+
table: {
|
|
293
|
+
category: string;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
errorBorderOnly: {
|
|
297
|
+
control: "boolean";
|
|
298
|
+
if: {
|
|
299
|
+
arg: string;
|
|
300
|
+
eq: string;
|
|
301
|
+
};
|
|
302
|
+
description: string;
|
|
303
|
+
table: {
|
|
304
|
+
category: string;
|
|
38
305
|
};
|
|
39
306
|
};
|
|
40
307
|
};
|
|
@@ -43,6 +310,7 @@ export default _default;
|
|
|
43
310
|
export declare const List: {
|
|
44
311
|
(props: any): string;
|
|
45
312
|
args: {
|
|
313
|
+
type: string;
|
|
46
314
|
avatar: string;
|
|
47
315
|
avatars: boolean;
|
|
48
316
|
badges: boolean;
|
|
@@ -50,6 +318,24 @@ export declare const List: {
|
|
|
50
318
|
metadata: boolean;
|
|
51
319
|
title: string;
|
|
52
320
|
subtext: string;
|
|
321
|
+
listLabel: string;
|
|
322
|
+
listLabelledBy: string;
|
|
323
|
+
showAvatar: boolean;
|
|
324
|
+
showTitle: boolean;
|
|
325
|
+
showDivider: boolean;
|
|
326
|
+
titleBadgeVariant: string;
|
|
327
|
+
showMetadata: boolean;
|
|
328
|
+
showDetails: boolean;
|
|
329
|
+
showBadges: boolean;
|
|
330
|
+
showActions: boolean;
|
|
331
|
+
showExtras: boolean;
|
|
332
|
+
showError: boolean;
|
|
333
|
+
errorBorderOnly: boolean;
|
|
334
|
+
showSelectable: boolean;
|
|
335
|
+
showReorderable: boolean;
|
|
336
|
+
showAsLink: boolean;
|
|
337
|
+
slotTitle: string;
|
|
338
|
+
slotDetails: string;
|
|
53
339
|
};
|
|
54
340
|
parameters: {
|
|
55
341
|
layout: string;
|
|
@@ -57,7 +343,7 @@ export declare const List: {
|
|
|
57
343
|
render: string[];
|
|
58
344
|
};
|
|
59
345
|
html: {
|
|
60
|
-
render:
|
|
346
|
+
render: string;
|
|
61
347
|
};
|
|
62
348
|
design: {
|
|
63
349
|
type: string;
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
+
export interface XplListOrderChangeDetail {
|
|
2
|
+
itemId?: string;
|
|
3
|
+
direction: 'up' | 'down';
|
|
4
|
+
orderedItemIds: string[];
|
|
5
|
+
}
|
|
6
|
+
export interface XplListItemReorderDetail {
|
|
7
|
+
itemId?: string;
|
|
8
|
+
item?: HTMLElement;
|
|
9
|
+
direction?: 'up' | 'down';
|
|
10
|
+
keyboardMode?: boolean;
|
|
11
|
+
exitKeyboardMode?: boolean;
|
|
12
|
+
}
|
|
1
13
|
export interface ListItem {
|
|
14
|
+
id?: string;
|
|
2
15
|
avatar?: string;
|
|
3
16
|
avatars?: string[];
|
|
4
17
|
badges?: string[] | {
|