@xplortech/apollo-core 2.5.0 → 2.6.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 +393 -26
- package/build/style.css +4224 -1016
- package/dist/apollo-core/apollo-core.css +18 -27
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/p-02167464.entry.js +1 -0
- package/dist/apollo-core/p-0bce3874.entry.js +1 -0
- package/dist/apollo-core/{p-0e1877a2.entry.js → p-1fd3dc87.entry.js} +1 -1
- package/dist/apollo-core/{p-0ac33b3a.entry.js → p-42016063.entry.js} +1 -1
- package/dist/apollo-core/p-5549756c.entry.js +1 -0
- package/dist/apollo-core/p-56fa4941.entry.js +1 -0
- package/dist/apollo-core/p-76c324da.entry.js +1 -0
- package/dist/apollo-core/p-7a3224b4.entry.js +1 -0
- package/dist/apollo-core/p-7e924697.entry.js +1 -0
- package/dist/apollo-core/{p-f4c2626d.entry.js → p-8a1affce.entry.js} +1 -1
- package/dist/apollo-core/p-9efca9e1.entry.js +1 -0
- package/dist/apollo-core/p-C_Z2nG0p.js +2 -0
- package/dist/apollo-core/p-b252b380.entry.js +1 -0
- package/dist/apollo-core/p-c91daac1.entry.js +1 -0
- package/dist/apollo-core/p-d9b62508.entry.js +1 -0
- package/dist/apollo-core/p-eaea16d1.entry.js +1 -0
- package/dist/apollo-core/p-eed13bca.entry.js +1 -0
- package/dist/apollo-core/{p-4fab8172.entry.js → p-f5af9539.entry.js} +1 -1
- package/dist/cjs/apollo-core.cjs.js +3 -3
- package/dist/cjs/{index-D__N_vw2.js → index-DH6pgWru.js} +137 -87
- 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_47.cjs.entry.js} +2802 -272
- 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-list.cjs.entry.js +4 -4
- package/dist/cjs/xpl-main-nav.cjs.entry.js +4 -4
- package/dist/cjs/xpl-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/xpl-table-header.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 +9 -2
- 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 +4 -0
- package/dist/collection/components/xpl-avatar/xpl-avatar.js +3 -3
- 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 +108 -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 +295 -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 +183 -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 +4 -4
- 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 +2 -2
- package/dist/collection/components/xpl-icon/xpl-icon.js +3 -3
- package/dist/collection/components/xpl-input/input.stories.js +75 -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-time/xpl-input-time.js +3 -3
- package/dist/collection/components/xpl-input/xpl-input.js +101 -7
- 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/xpl-list.js +2 -2
- 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 +51 -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/xpl-progress.js +2 -2
- 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-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-tab/xpl-tab.js +3 -3
- package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +3 -3
- package/dist/collection/components/xpl-table/xpl-table.js +6 -6
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +2 -2
- package/dist/collection/components/xpl-table-header-cell/xpl-table-header-cell.js +1 -1
- package/dist/collection/components/xpl-tabs/xpl-tabs.js +6 -6
- package/dist/collection/components/xpl-tag/xpl-tag.js +3 -3
- 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-utility-bar/xpl-utility-bar.js +2 -2
- package/dist/collection/utils/layout-ancestors.js +22 -0
- package/dist/components/index.js +1 -1
- 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-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-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-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.js +1 -1
- 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-tab-panel.js +1 -1
- package/dist/components/xpl-tab.js +1 -1
- package/dist/components/xpl-table-header.js +1 -1
- 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-utility-bar.js +1 -1
- package/dist/docs/xpl-accordion/readme.md +4 -0
- package/dist/docs/xpl-avatar/readme.md +5 -0
- package/dist/docs/xpl-backdrop/readme.md +1 -1
- package/dist/docs/xpl-badge/readme.md +97 -4
- package/dist/docs/xpl-banner/readme.md +166 -0
- package/dist/docs/xpl-button/readme.md +151 -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 +2 -0
- 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 +1 -1
- package/dist/docs/xpl-dropdown/readme.md +14 -11
- 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-icon/readme.md +12 -0
- package/dist/docs/xpl-input/readme.md +41 -31
- package/dist/docs/xpl-input/xpl-input-color/readme.md +4 -0
- package/dist/docs/xpl-input/xpl-input-phone/readme.md +167 -0
- package/dist/docs/xpl-input/xpl-input-time/readme.md +4 -0
- package/dist/docs/xpl-large-card/readme.md +1 -1
- package/dist/docs/xpl-modal/readme.md +3 -0
- package/dist/docs/xpl-pagination/readme.md +3 -0
- package/dist/docs/xpl-panel/readme.md +83 -0
- package/dist/docs/xpl-popover/readme.md +1 -1
- package/dist/docs/xpl-progress-bar/readme.md +145 -0
- package/dist/docs/xpl-select/readme.md +1 -0
- 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 +1 -0
- package/dist/docs/xpl-tabs/readme.md +1 -0
- package/dist/docs/xpl-toast/readme.md +55 -0
- package/dist/esm/apollo-core.js +4 -4
- package/dist/esm/{index-DhZas3eX.js → index-C_Z2nG0p.js} +137 -87
- 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_47.entry.js} +2753 -229
- 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-list.entry.js +4 -4
- package/dist/esm/xpl-main-nav.entry.js +4 -4
- package/dist/esm/xpl-table-header-cell.entry.js +3 -3
- package/dist/esm/xpl-table-header.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 +4 -0
- package/dist/types/components/xpl-avatar/xpl-avatar.d.ts +1 -1
- 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 +66 -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 +14 -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 +1 -1
- 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 +1 -1
- package/dist/types/components/xpl-icon/xpl-icon.d.ts +1 -1
- package/dist/types/components/xpl-input/input.stories.d.ts +36 -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-time/xpl-input-time.d.ts +1 -1
- package/dist/types/components/xpl-input/xpl-input.d.ts +12 -2
- 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/xpl-list.d.ts +1 -1
- 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 +20 -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/xpl-progress.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-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-tab/xpl-tab.d.ts +1 -1
- package/dist/types/components/xpl-tab-panel/xpl-tab-panel.d.ts +1 -1
- package/dist/types/components/xpl-table/xpl-table.d.ts +1 -1
- package/dist/types/components/xpl-table-header/xpl-table-header.d.ts +1 -1
- package/dist/types/components/xpl-table-header-cell/xpl-table-header-cell.d.ts +1 -1
- package/dist/types/components/xpl-tabs/xpl-tabs.d.ts +2 -2
- package/dist/types/components/xpl-tag/xpl-tag.d.ts +1 -1
- 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-utility-bar/xpl-utility-bar.d.ts +1 -1
- package/dist/types/components.d.ts +1219 -178
- package/dist/types/stencil-public-runtime.d.ts +23 -2
- package/dist/types/utils/layout-ancestors.d.ts +2 -0
- package/package.json +41 -27
- 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-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-7d245bf0.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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const ButtonRow = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
this.clickPrimary = index.createEvent(this, "clickPrimary", 7);
|
|
@@ -13,8 +13,8 @@ const XplButtonRow = class {
|
|
|
13
13
|
this.onTertiary = () => this.clickTertiary.emit();
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (index.h(index.Host, { key: '
|
|
16
|
+
return (index.h(index.Host, { key: '0f5bf4d086cbafb8b03f854ea11b495ee5009cdf', class: "xpl-button-row" }, index.h("div", { key: '64ab05ca8cba9cf4c2a8feca5a6233a6a4b6a7e4', class: "xpl-button-row-inner" }, index.h("div", { key: '2e8d97b9fb7f7a31e0014b255342c0f2fb3ce7ac', class: "xpl-button-row__left" }, this.secondary && (index.h("xpl-button", { key: 'd368c7228a9f12143cff4978ced0a5eac35ff8a3', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary))), index.h("div", { key: 'a2a1860115ab9ac09d6ddd01ffd1e6e49d1ac874', class: "xpl-button-row__right" }, this.tertiary && (index.h("xpl-button", { key: '98f77b4745b72e8321e37d307c0a298f1e52045f', variant: "subtle", type: "button", onClick: this.onTertiary }, this.tertiary)), this.secondary && (index.h("xpl-button", { key: '7f605c1221e856825e044dc908834f52c9e0374a', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary)), this.primary && (index.h("xpl-button", { key: 'f83653973db8aec83cc3ec0da3cdf25431c18304', class: "xpl-button-row__primary", onClick: this.onPrimary }, this.primary))))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
exports.xpl_button_row =
|
|
20
|
+
exports.xpl_button_row = ButtonRow;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
var index$1 = require('./index-BvmWjxWc.js');
|
|
5
5
|
var v4 = require('./v4-D4KzFnn8.js');
|
|
6
6
|
|
|
7
7
|
const arrowSvg = (rotate = false) => `<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="${rotate
|
|
8
8
|
? 'M0.557948 5.6813L6.06209 0.132167C6.23831 -0.0440556 6.52327 -0.0440556 6.69949 0.132167L7.44187 0.874551C7.61809 1.05077 7.61809 1.33573 7.44187 1.51195L2.99882 6L7.44187 10.488C7.61809 10.6643 7.61809 10.9492 7.44187 11.1254L6.69949 11.8678C6.52327 12.0441 6.23831 12.0441 6.06209 11.8678L0.557948 6.3187C0.381726 6.14248 0.381726 5.85752 0.557948 5.6813Z'
|
|
9
9
|
: 'M7.44187 6.3187L1.93773 11.8678C1.76151 12.0441 1.47655 12.0441 1.30033 11.8678L0.557948 11.1254C0.381726 10.9492 0.381726 10.6643 0.557948 10.488L5.001 6L0.557948 1.51195C0.381726 1.33573 0.381726 1.05077 0.557948 0.874551L1.30033 0.132167C1.47655 -0.0440556 1.76151 -0.0440556 1.93773 0.132167L7.44187 5.6813C7.6181 5.85752 7.6181 6.14248 7.44187 6.3187Z'}" /></svg>`;
|
|
10
|
-
const
|
|
10
|
+
const Calendar = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.dateSelected = index.createEvent(this, "dateSelected", 7);
|
|
@@ -57,10 +57,10 @@ const XplCalendar = class {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (index.h(index.Host, { key: '
|
|
60
|
+
return (index.h(index.Host, { key: '5a9d327e7f4d7861d337123299829b833b2cce84', class: "xpl-calendar" }, index.h("input", { key: 'f592794da7e97bca218ea47ab5d64a13182d71d0', class: "xpl-calendar-input", type: "text", id: this.calendarInputId, ref: (el) => {
|
|
61
61
|
this.inputElement = el;
|
|
62
62
|
} })));
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
exports.xpl_calendar =
|
|
66
|
+
exports.xpl_calendar = Calendar;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const DynamicTableCell = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
this.disabled = false;
|
|
@@ -23,11 +23,11 @@ const XplDynamicTableCell = class {
|
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
const colIndex = Array.from(this.el.parentElement.children).indexOf(this.el) + 1;
|
|
26
|
-
return (index.h(index.Host, { key: '
|
|
26
|
+
return (index.h(index.Host, { key: 'd4b284973e5c1f76a9355f77749c6b6432e4f469', role: "gridcell", "aria-colindex": colIndex, class: "xpl-dynamic-table-cell", ref: (el) => {
|
|
27
27
|
this.hostElement = el;
|
|
28
|
-
} }, index.h("slot", { key: '
|
|
28
|
+
} }, index.h("slot", { key: 'd9365d26d5b4fb9e50cd3b08514eeae3bfdd6888' })));
|
|
29
29
|
}
|
|
30
30
|
get el() { return index.getElement(this); }
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
exports.xpl_dynamic_table_cell =
|
|
33
|
+
exports.xpl_dynamic_table_cell = DynamicTableCell;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const DynamicTableRow = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
this.disabled = false;
|
|
@@ -28,10 +28,10 @@ const XplDynamicTableRow = class {
|
|
|
28
28
|
const classList = `xpl-dynamic-table-row
|
|
29
29
|
${this.isDisabled ? 'disabled' : ''}
|
|
30
30
|
${this.selected ? 'selected' : ''}`;
|
|
31
|
-
return (index.h(index.Host, { key: '
|
|
31
|
+
return (index.h(index.Host, { key: '7ce6f2c780af4f7bd4053970bff3e620fef4913a', role: "row", class: classList, ref: (el) => {
|
|
32
32
|
this.hostElement = el;
|
|
33
|
-
} }, index.h("slot", { key: '
|
|
33
|
+
} }, index.h("slot", { key: 'b77362a23d8d69844560e7389e5cd7f6b5568d88' })));
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
exports.xpl_dynamic_table_row =
|
|
37
|
+
exports.xpl_dynamic_table_row = DynamicTableRow;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const DynamicTable = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
this.selectedItemCountChange = index.createEvent(this, "selectedItemCountChange", 7);
|
|
@@ -56,9 +56,9 @@ const XplDynamicTable = class {
|
|
|
56
56
|
this.updateColumnCount();
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (index.h("div", { key: '
|
|
59
|
+
return (index.h("div", { key: 'aa9fdd991fca8dab538176a950636b52db539f7a', role: "grid", class: "xpl-dynamic-table", "aria-colcount": this.colCount }, index.h("slot", { key: 'd05d799f1a0d944398f1ae9992dbcbb56a52f184', name: "header" }), index.h("slot", { key: '7f212255dbf15e8358cef6097d55b973f73bd086', name: "body" })));
|
|
60
60
|
}
|
|
61
61
|
get el() { return index.getElement(this); }
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
exports.xpl_dynamic_table =
|
|
64
|
+
exports.xpl_dynamic_table = DynamicTable;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const GridItem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
this.xs = 6;
|
|
@@ -16,8 +16,8 @@ const XplGridItem = class {
|
|
|
16
16
|
className += ` xpl-grid-item-sm-${this.sm}`;
|
|
17
17
|
className += ` xpl-grid-item-md-${this.md}`;
|
|
18
18
|
className += ` xpl-grid-item-lg-${this.lg}`;
|
|
19
|
-
return (index.h(index.Host, { key: '
|
|
19
|
+
return (index.h(index.Host, { key: 'd4e9ba6dc2049aa0a88d266934a9499daf66d0a9', class: className }, index.h("slot", { key: 'fef8f150e57fcc72147111fe10088d46adc324d8' })));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
exports.xpl_grid_item =
|
|
23
|
+
exports.xpl_grid_item = GridItem;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const Grid = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
@@ -28,9 +28,9 @@ const XplGrid = class {
|
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return index.h(index.Host, { key: '
|
|
31
|
+
return index.h(index.Host, { key: '89b723cb2e01669c5edd69a3fbbbdce834f05dd3', class: "xpl-grid" });
|
|
32
32
|
}
|
|
33
33
|
get container() { return index.getElement(this); }
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
exports.xpl_grid =
|
|
36
|
+
exports.xpl_grid = Grid;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const LargeCard = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
@@ -19,9 +19,9 @@ const XplLargeCard = class {
|
|
|
19
19
|
render() {
|
|
20
20
|
const contentSlot = 'graph-content';
|
|
21
21
|
const hasContentSlot = this.el.querySelector(`[slot="${contentSlot}"]`);
|
|
22
|
-
return (index.h(index.Host, { key: '
|
|
22
|
+
return (index.h(index.Host, { key: '02b42037a8e13fb68df0f40a07804bad533f690b', role: "group", class: `xpl-large-card ${this.link ? 'xpl-large-card__link' : ''}`, tabindex: "0" }, index.h("dt", { key: '27a8aa72e6e97d3918aa8a066c2528dab7466946', class: "xpl-large-card__header" }, index.h("header", { key: '9846eccca6988543cc671abe84f0a68e0dba06b0' }, index.h("slot", { key: '002ebff29d02550decb87f66609e941e6128c284', name: "title" }, this.name), this.link && (index.h("span", { key: 'a5c4dfe1c7149d95c5f4e6c291f61f75e49ce088', class: "xpl-data-card__header-arrow" }, index.h("xpl-icon", { key: 'a12c2c98867a189cb6bcabfcbbc6a08f2691c763', icon: "chevron-right", size: 16 })))), this.description && (index.h("div", { key: 'd7ca785313811f6fd962804964a90a161118d936', class: "xpl-large-card__description" }, this.description))), index.h("dd", { key: 'fe57a3a97ffd2d124e74e20c88077ffb68ea938a', class: "xpl-large-card__body" }, hasContentSlot && index.h("slot", { key: '2ebfb5e288ca2426d3085c97cc3a0bec81a72c46', name: contentSlot }))));
|
|
23
23
|
}
|
|
24
24
|
get el() { return index.getElement(this); }
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
exports.xpl_large_card =
|
|
27
|
+
exports.xpl_large_card = LargeCard;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
5
|
const ListItemCpt = ({ avatar, avatars, badges, href, title, subtext, metadata, }) => {
|
|
6
6
|
const hasRight = avatars || badges || subtext;
|
|
@@ -19,14 +19,14 @@ const ListItemCpt = ({ avatar, avatars, badges, href, title, subtext, metadata,
|
|
|
19
19
|
}))))));
|
|
20
20
|
return href ? (index.h("a", { class: "xpl-list-item", href: href }, inner)) : (index.h("div", { class: "xpl-list-item" }, inner));
|
|
21
21
|
};
|
|
22
|
-
const
|
|
22
|
+
const List = class {
|
|
23
23
|
constructor(hostRef) {
|
|
24
24
|
index.registerInstance(this, hostRef);
|
|
25
25
|
this.items = [];
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (index.h(index.Host, { key: '
|
|
28
|
+
return (index.h(index.Host, { key: '441b4eae6f2837f20b58221819ca3c10a2fb3491' }, this.items.map((item) => (index.h(ListItemCpt, Object.assign({}, item))))));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
exports.xpl_list =
|
|
32
|
+
exports.xpl_list = List;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const MainNav = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
this.navWidth = index.createEvent(this, "navWidth", 7);
|
|
@@ -18,8 +18,8 @@ const XplMainNav = class {
|
|
|
18
18
|
this.navWidthHandler();
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (index.h(index.Host, { key: '
|
|
21
|
+
return (index.h(index.Host, { key: 'd8a79782b16a4e9f8ab3e6bf88c0314549aa501a', class: `xpl-main-nav xpl-main-nav--${this.width}`, "aria-label": "Sidebar" }, index.h("nav", { key: '64dcaed4426ad4f6590671425e7571df5a1cd1d9' }, index.h("header", { key: '7e97eee88a0cfff836aa40c9a2cba2a6dbfa59aa', "aria-label": "Sidebar Header" }, index.h("slot", { key: 'c281a9fbd5192cd0bda381ba52e55a9a1f6f063b', name: "logo" }), index.h("slot", { key: '988a49a475779b472cac084f20b7e73ed1528089', name: "brand-name" })), index.h("div", { key: '6fb1ff561b1136126e466ff86dfff9b124862eb2', class: "xpl-main-nav__main_section" }, index.h("slot", { key: 'bf5af4e8b47c8666f7014a8e63102601278c8038', name: "navigation" })), index.h("footer", { key: 'a836bd8d08638490d14ddd812cdc76b1dbe70392', class: "xpl-main-nav__footer", "aria-label": "Sidebar Footer" }, index.h("slot", { key: '05143d5082b2f8d699e23611df2b584c90a423c5', name: "footer" })))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
exports.xpl_main_nav =
|
|
25
|
+
exports.xpl_main_nav = MainNav;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const TableHeaderCell = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
this.sortChanged = index.createEvent(this, "sortChanged", 7);
|
|
@@ -54,4 +54,4 @@ const XplTableHeaderCell = class {
|
|
|
54
54
|
get el() { return index.getElement(this); }
|
|
55
55
|
};
|
|
56
56
|
|
|
57
|
-
exports.xpl_table_header_cell =
|
|
57
|
+
exports.xpl_table_header_cell = TableHeaderCell;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const TableHeader = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (index.h(index.Host, { key: '
|
|
10
|
+
return (index.h(index.Host, { key: '1724195feab553e1f5f468352be234a5f867e75a', role: "row", class: "xpl-table-header" }, index.h("slot", { key: '14d458367da08aed53b57a4ccda1d26740922e05' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
exports.xpl_table_header =
|
|
14
|
+
exports.xpl_table_header = TableHeader;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
var v4 = require('./v4-D4KzFnn8.js');
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const Toggle = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
index.registerInstance(this, hostRef);
|
|
9
9
|
this.variant = 'default';
|
|
@@ -16,14 +16,14 @@ const XplToggle = class {
|
|
|
16
16
|
let className = 'xpl-toggle';
|
|
17
17
|
if (this.variant === 'small')
|
|
18
18
|
className += ' xpl-toggle--small';
|
|
19
|
-
return (index.h(index.Host, { key: '
|
|
19
|
+
return (index.h(index.Host, { key: 'fe018e63a2c645565150c2b5494e057b24421cf3', class: containerClassName }, (this.heading || this.description) && (index.h("label", { key: '461ba525112e90914f3d61b221f938ec94861b58', class: {
|
|
20
20
|
'xpl-label': true,
|
|
21
21
|
'xpl-label--disabled': this.disabled,
|
|
22
|
-
}, htmlFor: this.id }, this.heading, this.description && (index.h("small", { key: '
|
|
22
|
+
}, htmlFor: this.id }, this.heading, this.description && (index.h("small", { key: 'd764ac2dc9341192079f3791ce3e784c0d810c41', class: {
|
|
23
23
|
'xpl-description': true,
|
|
24
24
|
'xpl-description--disabled': this.disabled,
|
|
25
|
-
} }, this.description)))), index.h("input", { key: '
|
|
25
|
+
} }, this.description)))), index.h("input", { key: '9fd76e6a84d08db81941db0aaa742c4e0205bffa', class: className, type: "checkbox", checked: this.checked, disabled: this.disabled, id: this.id, name: this.name }), this.label && index.h("label", { key: 'fc58e8c3dba8a45a7c2aedda7daff3788f4dc0a0', htmlFor: this.id }, this.label)));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
exports.xpl_toggle =
|
|
29
|
+
exports.xpl_toggle = Toggle;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DH6pgWru.js');
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const Toolbar = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
index.registerInstance(this, hostRef);
|
|
8
8
|
this.selectedItemCount = 0;
|
|
@@ -16,13 +16,13 @@ const XplToolbar = class {
|
|
|
16
16
|
this.selectedItemCount = event.detail.length;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (index.h(index.Host, { key: '
|
|
19
|
+
return (index.h(index.Host, { key: '48056451ad54987de8d046a3892cc1011ed41bbb', class: {
|
|
20
20
|
'xpl-toolbar': true,
|
|
21
21
|
dark: true,
|
|
22
22
|
hidden: this.selectedItemCount === 0,
|
|
23
|
-
} }, index.h("div", { key: '
|
|
23
|
+
} }, index.h("div", { key: '3c9680e4cf006dee69372d271a0720b6802767bc', class: "toolbar" }, index.h("p", { key: 'afcfba4a2d5c73d6bf602b94340280dcc28d6493', class: "selected-item-count" }, this.selectedItemCount, " Selected"), index.h("div", { key: 'fdadc34738fcf397a38772ab817c3a5bc1e5015f', class: "actions" }, index.h("slot", { key: 'b6571d83f8ac800143e4f9cd62559aac83c7e424', name: "actions-left" }), index.h("slot", { key: '30aa34da340647dbcb79f8862c5ca9647ebedb12', name: "actions-right" })))));
|
|
24
24
|
}
|
|
25
25
|
get el() { return index.getElement(this); }
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
exports.xpl_toolbar =
|
|
28
|
+
exports.xpl_toolbar = Toolbar;
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
"components/xpl-avatar/xpl-avatar.js",
|
|
6
6
|
"components/xpl-backdrop/xpl-backdrop.js",
|
|
7
7
|
"components/xpl-badge/xpl-badge.js",
|
|
8
|
+
"components/xpl-banner/xpl-banner.js",
|
|
9
|
+
"components/xpl-button/xpl-button.js",
|
|
8
10
|
"components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js",
|
|
9
11
|
"components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js",
|
|
10
|
-
"components/xpl-button/xpl-button.js",
|
|
11
12
|
"components/xpl-button-row/xpl-button-row.js",
|
|
12
13
|
"components/xpl-calendar/xpl-calendar.js",
|
|
13
14
|
"components/xpl-checkbox/xpl-checkbox.js",
|
|
@@ -31,6 +32,7 @@
|
|
|
31
32
|
"components/xpl-input/xpl-input-color/xpl-input-color.js",
|
|
32
33
|
"components/xpl-input/xpl-input-date/xpl-input-date.js",
|
|
33
34
|
"components/xpl-input/xpl-input-file/xpl-input-file.js",
|
|
35
|
+
"components/xpl-input/xpl-input-phone/xpl-input-phone.js",
|
|
34
36
|
"components/xpl-input/xpl-input-time/xpl-input-time.js",
|
|
35
37
|
"components/xpl-large-card/xpl-large-card.js",
|
|
36
38
|
"components/xpl-list/xpl-list.js",
|
|
@@ -38,11 +40,15 @@
|
|
|
38
40
|
"components/xpl-modal/xpl-modal.js",
|
|
39
41
|
"components/xpl-nav-item/xpl-nav-item.js",
|
|
40
42
|
"components/xpl-pagination/xpl-pagination.js",
|
|
43
|
+
"components/xpl-panel/xpl-panel.js",
|
|
41
44
|
"components/xpl-popover/xpl-popover.js",
|
|
42
45
|
"components/xpl-progress/xpl-progress.js",
|
|
46
|
+
"components/xpl-progress-bar/xpl-progress-bar.js",
|
|
43
47
|
"components/xpl-radio/xpl-radio.js",
|
|
44
48
|
"components/xpl-secondary-nav/xpl-secondary-nav.js",
|
|
45
49
|
"components/xpl-select/xpl-select.js",
|
|
50
|
+
"components/xpl-side-nav/xpl-side-nav.js",
|
|
51
|
+
"components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js",
|
|
46
52
|
"components/xpl-skeleton/xpl-skeleton.js",
|
|
47
53
|
"components/xpl-slideout/xpl-slideout.js",
|
|
48
54
|
"components/xpl-tab/xpl-tab.js",
|
|
@@ -58,9 +64,10 @@
|
|
|
58
64
|
"components/xpl-tooltip/xpl-tooltip.js",
|
|
59
65
|
"components/xpl-utility-bar/xpl-utility-bar.js"
|
|
60
66
|
],
|
|
67
|
+
"mixins": [],
|
|
61
68
|
"compiler": {
|
|
62
69
|
"name": "@stencil/core",
|
|
63
|
-
"version": "4.
|
|
70
|
+
"version": "4.43.2",
|
|
64
71
|
"typescriptVersion": "5.8.3"
|
|
65
72
|
},
|
|
66
73
|
"collections": [],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class
|
|
2
|
+
export class Accordion {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.initialExpanded = false;
|
|
5
5
|
this.size = '3';
|
|
@@ -50,13 +50,13 @@ export class XplAccordion {
|
|
|
50
50
|
bordered: `xpl-accordion--border-bordered${this.expanded ? '--expanded' : ''}`,
|
|
51
51
|
bottom: `xpl-accordion--border-bottom${this.expanded ? '--expanded' : ''}`,
|
|
52
52
|
}[this.borderType];
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '7befc24f997853bca9fc8c5b22b0262207de0b8b', class: `xpl-accordion ${accordionBorder}` }, h("button", { key: 'c440a2bf8612a8f50e83eb27fc5ea1779c3c2916', "aria-expanded": this.expanded, "aria-controls": this.contentId, class: "xpl-accordion-toggle-area", onClick: this.toggleAccordion, type: "button" }, h("header", { key: '3744eb9f9ff25f1b24abeb5af519cdac58a1720d', class: `xpl-accordion-header xpl-accordion-header--size-${this.size}` }, h("slot", { key: '651407c5e52af7506505199e76d118873851726a', name: "heading" }, this.header), h("xpl-icon", { key: '218043e9fada73e214b719087a9b27a5761f52a3', size: 16, icon: "chevron-down", class: `xpl-accordion-icon-chevron ${this.expanded ? 'xpl-accordion-icon-chevron--rotate' : ''}` })), h("div", { key: '744f86d743fd69fab45fd34868713ecdbc41a2a1', class: "xpl-accordion-description" }, h("slot", { key: 'bf7a050f991db70f7b73755cd97a3300a8384723', name: "description" }, this.description))), h("section", { key: 'b095ddafce8622eb0a9ac9fab100989300cf589c', id: this.contentId, role: "region", class: `xpl-accordion-content xpl-accordion-content--${!this.expanded ? 'hidden' : 'shown'} ${this.expanded
|
|
54
54
|
? {
|
|
55
55
|
none: '',
|
|
56
56
|
bordered: 'xpl-accordion-content--shown-bordered',
|
|
57
57
|
bottom: 'xpl-accordion-content--shown-border-bottom',
|
|
58
58
|
}[this.borderType]
|
|
59
|
-
: ''}` }, h("slot", { key: '
|
|
59
|
+
: ''}` }, h("slot", { key: '377ce332550362503d3d7b4cc90ba452b44e00a1', name: "content" }))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "xpl-accordion"; }
|
|
62
62
|
static get properties() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
export class
|
|
2
|
+
export class ApplicationShell {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.withSubnav = false;
|
|
5
5
|
this.withUtility = true;
|
|
@@ -35,7 +35,7 @@ export class XplApplicationShell {
|
|
|
35
35
|
navClasses += this.navOpen
|
|
36
36
|
? ` xpl-application-shell__nav--${this.navWidth}--open`
|
|
37
37
|
: ` xpl-application-shell__nav--${this.navWidth}`;
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '7a06051142cc71f5a900e65562e464f5580f369e', class: applicationShellClasses }, h("div", { key: '00cb4f2294999e77bc88aa32917287a93989ceb3', class: navClasses }, h("slot", { key: 'de0a3f5415273c4d36390b6e345e9c046ebeda05', name: "nav" })), h("div", { key: '605faac64e0b770b2d3e52d0b6f169898de827bc', class: "xpl-application-shell__subnav" }, h("slot", { key: '040b8b6f5aa7642636b33f65f2eff6f1070b1b2f', name: "subnav" })), h("div", { key: 'ee1e3e5c51d4e048fd4fda7bf6e438d29c8c2ade', class: "xpl-application-shell__utility" }, h("slot", { key: '6118de3716d41e9f8cc03abb5efd4c2e8541adf7', name: "utility" })), h("div", { key: '3aa64a066e680e74bac8b988f579d51593bc3ace', class: "xpl-application-shell__content" }, h("slot", { key: 'aba788b0aa8f8ab92bb5c577b5951c98d21c9f36', name: "content" })), h("xpl-backdrop", { key: 'f72d69bbfe9171193293148810700e9ff00e372d', onClick: () => this.navToggleHandler(), class: {
|
|
39
39
|
'xpl-application-shell__backdrop--open': this.navOpen,
|
|
40
40
|
}, relative: true })));
|
|
41
41
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class
|
|
2
|
+
export class Avatar {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.disabled = false;
|
|
5
5
|
}
|
|
@@ -9,8 +9,8 @@ export class XplAvatar {
|
|
|
9
9
|
className += ` xpl-avatar--${this.size}`;
|
|
10
10
|
if (this.color)
|
|
11
11
|
className += ` xpl-avatar--${this.color}`;
|
|
12
|
-
const inner = (h("div", { key: '
|
|
13
|
-
return (h(Host, { key: '
|
|
12
|
+
const inner = (h("div", { key: '89234f18fd782f17c7e5cfac2235ba0d69b57014' }, this.src ? (h("img", { alt: this.name, src: this.src })) : (h("div", { class: "xpl-avatar__placeholder" }, h("slot", null))), this.status && h("div", { key: '908dbd9216d3addb0104517a67f2dd690201958d', class: `xpl-avatar__dot--${this.status}` })));
|
|
13
|
+
return (h(Host, { key: '94cb5838d77411b9690759634f4a1a71c79054b7' }, this.href && !this.disabled ? (h("a", { href: this.href, class: className, target: this.target }, inner)) : this.href && this.disabled ? (h("div", { class: `${className} xpl-avatar--disabled` }, inner)) : (h("div", { class: className }, inner))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "xpl-avatar"; }
|
|
16
16
|
static get properties() {
|
|
@@ -17,4 +17,8 @@ Backdrop.parameters = {
|
|
|
17
17
|
html: {
|
|
18
18
|
render: ((_) => `<div class="xpl-backdrop" aria-hidden="true"></div>`)(Backdrop.args),
|
|
19
19
|
},
|
|
20
|
+
design: {
|
|
21
|
+
type: 'figma',
|
|
22
|
+
url: 'https://www.figma.com/design/MjjYek73MFnHmVNdm45Sd1/Apollo-Web?node-id=1536-181330&p=f&t=aZipOZlFAFwtMW1r-11',
|
|
23
|
+
},
|
|
20
24
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class
|
|
2
|
+
export class Backdrop {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.relative = false;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '43941007f4e0ba73037eaff96cf8d000cee48b72', class: {
|
|
8
8
|
'xpl-backdrop': true,
|
|
9
9
|
'xpl-backdrop--fixed': !this.relative,
|
|
10
10
|
'xpl-backdrop--relative': this.relative,
|