@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
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
interface SpotlightStoryArgs {
|
|
2
|
+
showActions: boolean;
|
|
3
|
+
actionLayout: 'default' | 'dual' | 'single';
|
|
4
|
+
anchorPosition: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
5
|
+
body: string;
|
|
6
|
+
currentStep: number;
|
|
7
|
+
heading: string;
|
|
8
|
+
isDismissible: boolean;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
primaryActionLabel: string;
|
|
11
|
+
secondaryActionLabel: string;
|
|
12
|
+
showImage: boolean;
|
|
13
|
+
showSteps: boolean;
|
|
14
|
+
target: string;
|
|
15
|
+
totalSteps: number;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: {
|
|
18
|
+
title: string;
|
|
19
|
+
component: string;
|
|
20
|
+
argTypes: {
|
|
21
|
+
showActions: {
|
|
22
|
+
control: "boolean";
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
actionLayout: {
|
|
26
|
+
options: string[];
|
|
27
|
+
control: {
|
|
28
|
+
type: "select";
|
|
29
|
+
};
|
|
30
|
+
description: string;
|
|
31
|
+
if: {
|
|
32
|
+
arg: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
anchorPosition: {
|
|
36
|
+
options: string[];
|
|
37
|
+
control: {
|
|
38
|
+
type: "select";
|
|
39
|
+
};
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
body: {
|
|
43
|
+
control: "text";
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
currentStep: {
|
|
47
|
+
control: {
|
|
48
|
+
type: "number";
|
|
49
|
+
min: number;
|
|
50
|
+
};
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
heading: {
|
|
54
|
+
control: "text";
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
isDismissible: {
|
|
58
|
+
control: "boolean";
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
isOpen: {
|
|
62
|
+
control: "boolean";
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
primaryActionLabel: {
|
|
66
|
+
control: "text";
|
|
67
|
+
description: string;
|
|
68
|
+
};
|
|
69
|
+
secondaryActionLabel: {
|
|
70
|
+
control: "text";
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
showImage: {
|
|
74
|
+
control: "boolean";
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
showSteps: {
|
|
78
|
+
control: "boolean";
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
81
|
+
target: {
|
|
82
|
+
control: "text";
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
totalSteps: {
|
|
86
|
+
control: {
|
|
87
|
+
type: "number";
|
|
88
|
+
min: number;
|
|
89
|
+
};
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export default _default;
|
|
95
|
+
export declare const Spotlight: {
|
|
96
|
+
({ actionLayout, anchorPosition, body, currentStep, heading, isDismissible, isOpen, primaryActionLabel, secondaryActionLabel, showActions, showImage, showSteps, target, totalSteps, }: SpotlightStoryArgs): string;
|
|
97
|
+
args: {
|
|
98
|
+
showActions: true;
|
|
99
|
+
actionLayout: "default";
|
|
100
|
+
anchorPosition: "top-left";
|
|
101
|
+
body: string;
|
|
102
|
+
currentStep: number;
|
|
103
|
+
heading: string;
|
|
104
|
+
isDismissible: true;
|
|
105
|
+
isOpen: true;
|
|
106
|
+
primaryActionLabel: string;
|
|
107
|
+
secondaryActionLabel: string;
|
|
108
|
+
showImage: true;
|
|
109
|
+
showSteps: true;
|
|
110
|
+
target: string;
|
|
111
|
+
totalSteps: number;
|
|
112
|
+
};
|
|
113
|
+
parameters: {
|
|
114
|
+
layout: string;
|
|
115
|
+
docs: {
|
|
116
|
+
description: {
|
|
117
|
+
story: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
design: {
|
|
121
|
+
type: string;
|
|
122
|
+
url: string;
|
|
123
|
+
};
|
|
124
|
+
'web-component': {
|
|
125
|
+
render: string;
|
|
126
|
+
};
|
|
127
|
+
html: {
|
|
128
|
+
render: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
export declare const WithMediaSlot: {
|
|
133
|
+
({ showActions, actionLayout, anchorPosition, body, currentStep, heading, isDismissible, isOpen, primaryActionLabel, secondaryActionLabel, showImage, showSteps, target, totalSteps, }: SpotlightStoryArgs): string;
|
|
134
|
+
args: {
|
|
135
|
+
showActions: true;
|
|
136
|
+
actionLayout: "default";
|
|
137
|
+
anchorPosition: "top-left";
|
|
138
|
+
body: string;
|
|
139
|
+
currentStep: number;
|
|
140
|
+
heading: string;
|
|
141
|
+
isDismissible: true;
|
|
142
|
+
isOpen: true;
|
|
143
|
+
primaryActionLabel: string;
|
|
144
|
+
secondaryActionLabel: string;
|
|
145
|
+
showImage: true;
|
|
146
|
+
showSteps: true;
|
|
147
|
+
target: string;
|
|
148
|
+
totalSteps: number;
|
|
149
|
+
};
|
|
150
|
+
parameters: {
|
|
151
|
+
layout: string;
|
|
152
|
+
docs: {
|
|
153
|
+
description: {
|
|
154
|
+
story: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
'web-component': {
|
|
158
|
+
render: string;
|
|
159
|
+
};
|
|
160
|
+
html: {
|
|
161
|
+
render: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
export declare const TargetClickToggle: {
|
|
166
|
+
({ actionLayout, anchorPosition, body, currentStep, heading, isDismissible, isOpen, primaryActionLabel, secondaryActionLabel, showActions, showImage, showSteps, totalSteps, }: SpotlightStoryArgs): string;
|
|
167
|
+
args: {
|
|
168
|
+
showActions: true;
|
|
169
|
+
actionLayout: "single";
|
|
170
|
+
anchorPosition: "bottom-right";
|
|
171
|
+
body: string;
|
|
172
|
+
currentStep: number;
|
|
173
|
+
heading: string;
|
|
174
|
+
isDismissible: true;
|
|
175
|
+
isOpen: false;
|
|
176
|
+
primaryActionLabel: string;
|
|
177
|
+
secondaryActionLabel: string;
|
|
178
|
+
showImage: false;
|
|
179
|
+
showSteps: false;
|
|
180
|
+
target: string;
|
|
181
|
+
totalSteps: number;
|
|
182
|
+
};
|
|
183
|
+
parameters: {
|
|
184
|
+
layout: string;
|
|
185
|
+
docs: {
|
|
186
|
+
description: {
|
|
187
|
+
story: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
'web-component': {
|
|
191
|
+
render: string;
|
|
192
|
+
};
|
|
193
|
+
html: {
|
|
194
|
+
render: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type SpotlightAnchorPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
3
|
+
export type SpotlightActionLayout = 'default' | 'dual' | 'single';
|
|
4
|
+
export declare class Spotlight {
|
|
5
|
+
private cleanupAutoUpdate;
|
|
6
|
+
private enterVisibleFrameId;
|
|
7
|
+
private focusAbort;
|
|
8
|
+
private focusFrameId;
|
|
9
|
+
private hasCompletedInitialLoad;
|
|
10
|
+
private readonly headingId;
|
|
11
|
+
private pendingEnterTransitionAfterAnchor;
|
|
12
|
+
private pendingEnterVisible;
|
|
13
|
+
private positioningGeneration;
|
|
14
|
+
private previousFocus;
|
|
15
|
+
private referenceEl;
|
|
16
|
+
private shouldMoveFocusOnRender;
|
|
17
|
+
private shouldReinitializeAfterReconnect;
|
|
18
|
+
private slotContentObserver;
|
|
19
|
+
el: HTMLXplSpotlightElement;
|
|
20
|
+
private hasBodySlotContent;
|
|
21
|
+
private hasFloatingPosition;
|
|
22
|
+
private hasImageSlotContent;
|
|
23
|
+
private hasTitleSlotContent;
|
|
24
|
+
private isVisible;
|
|
25
|
+
private resolvedAnchorPosition;
|
|
26
|
+
actionLayout: SpotlightActionLayout;
|
|
27
|
+
anchorPosition: SpotlightAnchorPosition;
|
|
28
|
+
onAnchorPositionChange(): void;
|
|
29
|
+
body?: string;
|
|
30
|
+
currentStep: number;
|
|
31
|
+
heading?: string;
|
|
32
|
+
isDismissible: boolean;
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
onIsOpenChange(isOpen: boolean): void;
|
|
35
|
+
primaryActionLabel: string;
|
|
36
|
+
secondaryActionLabel: string;
|
|
37
|
+
showActions: boolean;
|
|
38
|
+
showImage: boolean;
|
|
39
|
+
showSteps: boolean;
|
|
40
|
+
target?: string;
|
|
41
|
+
onTargetChange(): void;
|
|
42
|
+
totalSteps: number;
|
|
43
|
+
dismiss: EventEmitter<void>;
|
|
44
|
+
primaryAction: EventEmitter<void>;
|
|
45
|
+
secondaryAction: EventEmitter<void>;
|
|
46
|
+
targetClick: EventEmitter<void>;
|
|
47
|
+
connectedCallback(): void;
|
|
48
|
+
disconnectedCallback(): void;
|
|
49
|
+
componentWillLoad(): void;
|
|
50
|
+
componentDidLoad(): void;
|
|
51
|
+
componentDidRender(): void;
|
|
52
|
+
handleKeyDown(ev: KeyboardEvent): void;
|
|
53
|
+
private emitDismiss;
|
|
54
|
+
private handleDismissClick;
|
|
55
|
+
private handlePrimaryClick;
|
|
56
|
+
private handleSecondaryClick;
|
|
57
|
+
private handleTargetClick;
|
|
58
|
+
private get effectiveTotalSteps();
|
|
59
|
+
private get effectiveCurrentStep();
|
|
60
|
+
private get isDismissibleEnabled();
|
|
61
|
+
private get isOpenEnabled();
|
|
62
|
+
private get isSingleActionLayout();
|
|
63
|
+
private get usesHiddenEdgeActions();
|
|
64
|
+
private get isPrimaryStepActionDisabled();
|
|
65
|
+
private get isSecondaryStepActionDisabled();
|
|
66
|
+
private get shouldShowPrimaryAction();
|
|
67
|
+
private get shouldShowSecondaryAction();
|
|
68
|
+
private get hasRenderableFocusChrome();
|
|
69
|
+
private get showActionsEnabled();
|
|
70
|
+
private get showImageEnabled();
|
|
71
|
+
private get showStepsEnabled();
|
|
72
|
+
private get headingPropHasText();
|
|
73
|
+
private get bodyPropHasText();
|
|
74
|
+
private focusInitial;
|
|
75
|
+
private shouldHandleDismissKeyboardEvent;
|
|
76
|
+
private restoreFocus;
|
|
77
|
+
private cancelPendingFocusWait;
|
|
78
|
+
private cancelEnterTransition;
|
|
79
|
+
private scheduleEnterTransition;
|
|
80
|
+
private getFirstTitleSlottedElement;
|
|
81
|
+
private syncTitleSlotIds;
|
|
82
|
+
private getDialogLabelId;
|
|
83
|
+
private handleBodySlotChange;
|
|
84
|
+
private handleTitleSlotChange;
|
|
85
|
+
private refreshBodySlotState;
|
|
86
|
+
private refreshTitleSlotState;
|
|
87
|
+
private handleImageSlotChange;
|
|
88
|
+
private handleSlotContentMutation;
|
|
89
|
+
private static coerceBoolean;
|
|
90
|
+
private refreshImageSlotState;
|
|
91
|
+
private startSlotContentObserver;
|
|
92
|
+
private stopSlotContentObserver;
|
|
93
|
+
private hasSlottedContent;
|
|
94
|
+
private startPositioning;
|
|
95
|
+
private detachFloatingUiListeners;
|
|
96
|
+
private resetFloatingHostPosition;
|
|
97
|
+
private clearFloatingHostCoordinates;
|
|
98
|
+
private stopPositioning;
|
|
99
|
+
private updatePosition;
|
|
100
|
+
render(): any;
|
|
101
|
+
}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
export declare class
|
|
3
|
-
|
|
2
|
+
export declare class Tab {
|
|
3
|
+
el: HTMLElement;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
fullWidth: boolean;
|
|
6
|
+
groupDisabled: boolean;
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconPosition: 'start' | 'end';
|
|
4
9
|
selected: boolean;
|
|
10
|
+
target: string;
|
|
11
|
+
variant: 'tabs' | 'segment';
|
|
5
12
|
tabChange: EventEmitter<string>;
|
|
13
|
+
getFocusableElement(): Promise<HTMLButtonElement | null>;
|
|
14
|
+
setTabIndex(value: number): Promise<void>;
|
|
15
|
+
focusTrigger(): Promise<void>;
|
|
16
|
+
private get a11yIds();
|
|
17
|
+
private get effectivelyDisabled();
|
|
18
|
+
private get isSegment();
|
|
6
19
|
private handleTabClick;
|
|
7
20
|
render(): any;
|
|
8
21
|
}
|
|
@@ -1,76 +1,218 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
controls: {
|
|
5
|
+
sort: string;
|
|
6
|
+
};
|
|
7
|
+
actions: {
|
|
8
|
+
handles: string[];
|
|
9
|
+
};
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
3
16
|
argTypes: {
|
|
17
|
+
type: {
|
|
18
|
+
name: string;
|
|
19
|
+
control: {
|
|
20
|
+
type: "select";
|
|
21
|
+
};
|
|
22
|
+
options: string[];
|
|
23
|
+
table: {
|
|
24
|
+
category: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
4
27
|
freeze: {
|
|
5
28
|
control: {
|
|
6
29
|
type: "boolean";
|
|
7
30
|
};
|
|
31
|
+
table: {
|
|
32
|
+
category: string;
|
|
33
|
+
};
|
|
8
34
|
};
|
|
9
|
-
|
|
35
|
+
striped: {
|
|
10
36
|
control: {
|
|
11
37
|
type: "boolean";
|
|
12
38
|
};
|
|
39
|
+
table: {
|
|
40
|
+
category: string;
|
|
41
|
+
};
|
|
13
42
|
};
|
|
14
|
-
|
|
43
|
+
multiselect: {
|
|
15
44
|
control: {
|
|
16
45
|
type: "boolean";
|
|
17
46
|
};
|
|
47
|
+
if: {
|
|
48
|
+
arg: string;
|
|
49
|
+
eq: string;
|
|
50
|
+
};
|
|
51
|
+
table: {
|
|
52
|
+
category: string;
|
|
53
|
+
};
|
|
18
54
|
};
|
|
19
55
|
columns: {
|
|
20
56
|
control: {
|
|
21
57
|
type: "object";
|
|
22
58
|
};
|
|
59
|
+
if: {
|
|
60
|
+
arg: string;
|
|
61
|
+
eq: string;
|
|
62
|
+
};
|
|
63
|
+
table: {
|
|
64
|
+
category: string;
|
|
65
|
+
};
|
|
23
66
|
};
|
|
24
67
|
data: {
|
|
25
68
|
control: {
|
|
26
69
|
type: "object";
|
|
27
70
|
};
|
|
71
|
+
if: {
|
|
72
|
+
arg: string;
|
|
73
|
+
eq: string;
|
|
74
|
+
};
|
|
75
|
+
table: {
|
|
76
|
+
category: string;
|
|
77
|
+
};
|
|
28
78
|
};
|
|
29
79
|
footer: {
|
|
30
80
|
control: {
|
|
31
81
|
type: "object";
|
|
32
82
|
};
|
|
83
|
+
if: {
|
|
84
|
+
arg: string;
|
|
85
|
+
eq: string;
|
|
86
|
+
};
|
|
87
|
+
table: {
|
|
88
|
+
category: string;
|
|
89
|
+
};
|
|
33
90
|
};
|
|
34
91
|
isSortable: {
|
|
35
92
|
control: {
|
|
36
93
|
type: "boolean";
|
|
37
94
|
};
|
|
95
|
+
if: {
|
|
96
|
+
arg: string;
|
|
97
|
+
eq: string;
|
|
98
|
+
};
|
|
99
|
+
table: {
|
|
100
|
+
category: string;
|
|
101
|
+
};
|
|
38
102
|
};
|
|
39
103
|
sortableColumns: {
|
|
40
104
|
control: {
|
|
41
105
|
type: "object";
|
|
42
106
|
};
|
|
107
|
+
if: {
|
|
108
|
+
arg: string;
|
|
109
|
+
eq: string;
|
|
110
|
+
};
|
|
111
|
+
table: {
|
|
112
|
+
category: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
selectedValues: {
|
|
116
|
+
control: {
|
|
117
|
+
type: "object";
|
|
118
|
+
};
|
|
119
|
+
if: {
|
|
120
|
+
arg: string;
|
|
121
|
+
eq: string;
|
|
122
|
+
};
|
|
123
|
+
description: string;
|
|
124
|
+
table: {
|
|
125
|
+
category: string;
|
|
126
|
+
};
|
|
43
127
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
128
|
+
tableLabel: {
|
|
129
|
+
control: "text";
|
|
130
|
+
if: {
|
|
131
|
+
arg: string;
|
|
132
|
+
eq: string;
|
|
133
|
+
};
|
|
134
|
+
description: string;
|
|
135
|
+
table: {
|
|
136
|
+
category: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
showSelectable: {
|
|
140
|
+
control: "boolean";
|
|
141
|
+
if: {
|
|
142
|
+
arg: string;
|
|
143
|
+
eq: string;
|
|
144
|
+
};
|
|
145
|
+
description: string;
|
|
146
|
+
table: {
|
|
147
|
+
category: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
showRowReorderable: {
|
|
151
|
+
control: "boolean";
|
|
152
|
+
if: {
|
|
153
|
+
arg: string;
|
|
154
|
+
eq: string;
|
|
155
|
+
};
|
|
156
|
+
description: string;
|
|
157
|
+
table: {
|
|
158
|
+
category: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
showToolbar: {
|
|
162
|
+
control: "boolean";
|
|
163
|
+
if: {
|
|
164
|
+
arg: string;
|
|
165
|
+
eq: string;
|
|
166
|
+
};
|
|
167
|
+
description: string;
|
|
168
|
+
table: {
|
|
169
|
+
category: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
sortableNameColumn: {
|
|
173
|
+
control: "boolean";
|
|
174
|
+
if: {
|
|
175
|
+
arg: string;
|
|
176
|
+
eq: string;
|
|
177
|
+
};
|
|
178
|
+
description: string;
|
|
179
|
+
table: {
|
|
180
|
+
category: string;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
showRichCells: {
|
|
184
|
+
control: "boolean";
|
|
185
|
+
if: {
|
|
186
|
+
arg: string;
|
|
187
|
+
eq: string;
|
|
188
|
+
};
|
|
189
|
+
description: string;
|
|
190
|
+
table: {
|
|
191
|
+
category: string;
|
|
192
|
+
};
|
|
48
193
|
};
|
|
49
194
|
};
|
|
50
195
|
};
|
|
51
196
|
export default _default;
|
|
52
197
|
export declare const Table: {
|
|
53
|
-
(
|
|
54
|
-
columns: any;
|
|
55
|
-
data: any;
|
|
56
|
-
footer: any;
|
|
57
|
-
freeze: any;
|
|
58
|
-
multiselect: any;
|
|
59
|
-
selectedValues: any;
|
|
60
|
-
striped: any;
|
|
61
|
-
isSortable: any;
|
|
62
|
-
sortableColumns: any;
|
|
63
|
-
}): string;
|
|
198
|
+
(props: Record<string, unknown>): string;
|
|
64
199
|
args: {
|
|
200
|
+
type: string;
|
|
65
201
|
freeze: boolean;
|
|
66
|
-
multiselect: boolean;
|
|
67
202
|
striped: boolean;
|
|
203
|
+
multiselect: boolean;
|
|
68
204
|
columns: string[];
|
|
69
205
|
data: string[][];
|
|
70
206
|
footer: string[][];
|
|
71
207
|
selectedValues: string[];
|
|
72
208
|
isSortable: boolean;
|
|
73
209
|
sortableColumns: boolean[];
|
|
210
|
+
tableLabel: string;
|
|
211
|
+
showSelectable: boolean;
|
|
212
|
+
showRowReorderable: boolean;
|
|
213
|
+
showToolbar: boolean;
|
|
214
|
+
sortableNameColumn: boolean;
|
|
215
|
+
showRichCells: boolean;
|
|
74
216
|
};
|
|
75
217
|
parameters: {
|
|
76
218
|
layout: string;
|
|
@@ -78,7 +220,7 @@ export declare const Table: {
|
|
|
78
220
|
render: string[];
|
|
79
221
|
};
|
|
80
222
|
html: {
|
|
81
|
-
render: string
|
|
223
|
+
render: string;
|
|
82
224
|
};
|
|
83
225
|
design: {
|
|
84
226
|
type: string;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function getNearestTableBodyRowFromNode(node: Node | null): HTMLXplTableRowElement | null;
|
|
2
|
+
export declare function getNextVisibleTableBodyRowAfter(element: Element): HTMLElement | null;
|
|
3
|
+
export declare function moveRowInTableBody(body: HTMLElement, draggedRow: HTMLElement, dropTargetRow: HTMLElement): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const XPL_TABLE_COLUMN_WIDTHS_CHANGE_EVENT = "xplTableColumnWidthsChange";
|
|
2
|
+
export declare const TABLE_HEADER_CELL_MIN_WIDTH_PX = 48;
|
|
3
|
+
export declare const getGridColumnWidthFromHeaderCell: (cell: Element) => string;
|
|
4
|
+
export declare const SELECTION_MARK = "data-xpl-selection-managed";
|
|
5
|
+
export declare const ROW_REORDER_MARK = "data-xpl-row-reorder-managed";
|
|
6
|
+
export declare const getSortAffordanceIconName: (sortDirection: "asc" | "desc" | null | undefined) => "arrow-down" | "arrow-up";
|
|
7
|
+
export declare const cycleSortDirection: (current: "asc" | "desc" | null | undefined) => "asc" | "desc" | null;
|
|
8
|
+
export declare const getIconType: (sortType: string | null) => string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class XplTableCell {
|
|
2
|
+
el: HTMLElement;
|
|
3
|
+
align: 'left' | 'right' | 'center';
|
|
4
|
+
bold: boolean;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
onDisabledChange(): void;
|
|
7
|
+
underline: boolean;
|
|
8
|
+
componentDidLoad(): void;
|
|
9
|
+
private propagateDisabledToSlotted;
|
|
10
|
+
render(): any;
|
|
11
|
+
}
|