@xplortech/apollo-core 2.9.0 → 2.10.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 +20 -12
- package/build/style.css +2086 -1875
- package/dist/apollo-core/apollo-core.css +20 -18
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/p-0e45f332.entry.js +1 -0
- package/dist/apollo-core/p-0f251f98.entry.js +1 -0
- package/dist/apollo-core/p-1691c4f3.entry.js +1 -0
- package/dist/apollo-core/p-172ac720.entry.js +1 -0
- package/dist/apollo-core/p-23870463.entry.js +1 -0
- package/dist/apollo-core/{p-36ba29da.entry.js → p-3b8639b7.entry.js} +1 -1
- package/dist/apollo-core/p-44a16751.entry.js +1 -0
- package/dist/apollo-core/p-4efecab2.entry.js +1 -0
- package/dist/apollo-core/p-5094dd97.entry.js +1 -0
- package/dist/apollo-core/p-70e7facc.entry.js +1 -0
- package/dist/apollo-core/{p-6a15f1e0.entry.js → p-728341d2.entry.js} +1 -1
- package/dist/apollo-core/p-910be81f.entry.js +1 -0
- package/dist/apollo-core/{p-b61d7952.entry.js → p-9adf3694.entry.js} +1 -1
- package/dist/apollo-core/p-CK3_k8jD.js +1 -0
- package/dist/apollo-core/p-CXkZUm1c.js +2 -0
- package/dist/apollo-core/p-c17b6351.entry.js +1 -0
- package/dist/apollo-core/p-e08b434c.entry.js +1 -0
- package/dist/apollo-core/{p-ca127ee8.entry.js → p-e9e7577f.entry.js} +1 -1
- package/dist/cjs/apollo-core.cjs.js +3 -3
- package/dist/cjs/{index-BQ97-AWw.js → index-BaXVr8ux.js} +36 -9
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/v4-_2BfiRUa.js +52 -0
- package/dist/cjs/xpl-accordion.cjs.entry.js +3 -3
- package/dist/cjs/xpl-application-shell.cjs.entry.js +2 -2
- package/dist/cjs/xpl-avatar_54.cjs.entry.js +700 -176
- package/dist/cjs/xpl-button-row.cjs.entry.js +2 -2
- package/dist/cjs/xpl-calendar.cjs.entry.js +3 -3
- package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +3 -3
- package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +3 -3
- package/dist/cjs/xpl-dynamic-table.cjs.entry.js +2 -2
- package/dist/cjs/xpl-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/xpl-grid.cjs.entry.js +2 -2
- package/dist/cjs/xpl-large-card.cjs.entry.js +2 -2
- package/dist/cjs/xpl-main-nav.cjs.entry.js +2 -2
- package/dist/cjs/xpl-table-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/xpl-table-header.cjs.entry.js +2 -2
- package/dist/cjs/xpl-toggle.cjs.entry.js +5 -5
- package/dist/cjs/xpl-toolbar.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +6 -6
- package/dist/collection/components/xpl-accordion/xpl-accordion.js +2 -2
- package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
- package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
- package/dist/collection/components/xpl-badge/xpl-badge.js +1 -1
- package/dist/collection/components/xpl-banner/banner.stories.js +5 -0
- package/dist/collection/components/xpl-banner/xpl-banner.js +2 -2
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
- package/dist/collection/components/xpl-button/button.stories.js +5 -0
- package/dist/collection/components/xpl-button/xpl-button.js +1 -1
- package/dist/collection/components/xpl-button-row/button-row.stories.js +1 -11
- package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
- package/dist/collection/components/xpl-calendar/xpl-calendar.js +1 -1
- package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +4 -4
- package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +1 -1
- package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
- package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
- package/dist/collection/components/xpl-data-card/xpl-data-card.js +2 -2
- package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +1 -1
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +2 -2
- package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +208 -31
- package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +1 -1
- package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +2 -2
- package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +2 -2
- package/dist/collection/components/xpl-grid/xpl-grid.js +1 -1
- package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
- package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +1 -1
- package/dist/collection/components/xpl-icon/xpl-icon.js +2 -2
- package/dist/collection/components/xpl-input/input.stories.js +1 -1
- package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +8 -8
- package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +3 -3
- package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +4 -4
- package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +25 -6
- package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +1 -1
- package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +2 -2
- package/dist/collection/components/xpl-input/xpl-input.js +3 -3
- package/dist/collection/components/xpl-large-card/xpl-large-card.js +1 -1
- package/dist/collection/components/xpl-list/xpl-list.js +2 -2
- package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
- package/dist/collection/components/xpl-modal/xpl-modal.js +4 -1
- package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
- package/dist/collection/components/xpl-pagination/xpl-pagination.js +26 -8
- package/dist/collection/components/xpl-panel/xpl-panel.js +2 -2
- package/dist/collection/components/xpl-popover/popover.stories.js +3 -7
- package/dist/collection/components/xpl-popover/xpl-popover.js +4 -4
- package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +2 -2
- package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +1 -1
- package/dist/collection/components/xpl-radio/radio.stories.js +19 -17
- package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
- package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
- package/dist/collection/components/xpl-select/xpl-select.js +16 -11
- package/dist/collection/components/xpl-side-nav/side-nav-constants.js +2 -0
- package/dist/collection/components/xpl-side-nav/side-nav.stories.js +301 -186
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +80 -14
- package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +284 -3
- package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +1 -1
- package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
- package/dist/collection/components/xpl-spotlight/xpl-spotlight.js +14 -4
- package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +2 -2
- package/dist/collection/components/xpl-table/xpl-table.js +13 -22
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
- package/dist/collection/components/xpl-tabs/xpl-tabs.js +5 -5
- package/dist/collection/components/xpl-tag/xpl-tag.js +2 -2
- package/dist/collection/components/xpl-toast/xpl-toast.js +2 -2
- package/dist/collection/components/xpl-toggle/xpl-toggle.js +3 -3
- package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
- package/dist/collection/components/xpl-tooltip/tooltip-arrow.js +1 -1
- package/dist/collection/components/xpl-tooltip/tooltip.stories.js +6 -37
- package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
- package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +2 -2
- package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +2 -2
- package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +5 -5
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
- package/dist/components/index.d.ts +141 -12
- package/dist/components/index.js +1 -1
- package/dist/components/p-3qMYyqTe.js +1 -0
- package/dist/components/p-B1PBAEzg.js +1 -0
- package/dist/components/p-BG0-6Xek.js +1 -0
- package/dist/components/p-BT_Lq3Vd.js +1 -0
- package/dist/components/p-BWyAzrwu.js +1 -0
- package/dist/components/p-B_Wi--Ov.js +1 -0
- package/dist/components/p-Bd6JweBt.js +1 -0
- package/dist/components/p-Bn-27-xj.js +1 -0
- package/dist/components/{xpl-top-nav-item2.js → p-Bs6vq0C6.js} +1 -1
- package/dist/components/{xpl-input-file2.js → p-C9BO2vL-.js} +1 -1
- package/dist/components/p-CFW_w5Wj.js +1 -0
- package/dist/components/{floating-ui.dom.js → p-CFpsSZyr.js} +1 -1
- package/dist/components/p-CGNq3DyC.js +1 -0
- package/dist/components/p-CK3_k8jD.js +1 -0
- package/dist/components/p-CVqbA9op.js +1 -0
- package/dist/components/p-CtIUusUL.js +1 -0
- package/dist/components/p-CzwViN3U.js +1 -0
- package/dist/components/p-D97c0GjM.js +1 -0
- package/dist/components/p-DBWV65V-.js +1 -0
- package/dist/components/{xpl-tag2.js → p-DEl4Rvzs.js} +1 -1
- package/dist/components/p-DPTHmitJ.js +1 -0
- package/dist/components/{xpl-input-search2.js → p-DllC7F-H.js} +1 -1
- package/dist/components/p-Ds28UyUR.js +1 -0
- package/dist/components/p-U5dPMCXE.js +1 -0
- package/dist/components/p-hPUzON4O.js +1 -0
- package/dist/components/p-kPHfCq1d.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-backdrop.js +1 -1
- package/dist/components/xpl-badge.js +1 -1
- package/dist/components/xpl-banner.js +1 -1
- 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-calendar.js +1 -1
- package/dist/components/xpl-checkbox.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-dropdown-group.js +1 -1
- package/dist/components/xpl-dropdown-heading.js +1 -1
- package/dist/components/xpl-dropdown-option.js +1 -1
- package/dist/components/xpl-dropdown.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-input-color.js +1 -1
- package/dist/components/xpl-input-date.js +1 -1
- package/dist/components/xpl-input-file.js +1 -1
- package/dist/components/xpl-input-phone.js +1 -1
- package/dist/components/xpl-input-search.js +1 -1
- package/dist/components/xpl-input-time.js +1 -1
- package/dist/components/xpl-input.js +1 -1
- package/dist/components/xpl-large-card.js +1 -1
- package/dist/components/xpl-list-item.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-header-menu.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.js +1 -1
- package/dist/components/xpl-popover.js +1 -1
- package/dist/components/xpl-progress-bar.js +1 -1
- package/dist/components/xpl-progress-indicator.js +1 -1
- package/dist/components/xpl-radio.js +1 -1
- package/dist/components/xpl-secondary-nav.js +1 -1
- package/dist/components/xpl-select.js +1 -1
- package/dist/components/xpl-side-nav-item.js +1 -1
- package/dist/components/xpl-side-nav.js +1 -1
- package/dist/components/xpl-skeleton.js +1 -1
- package/dist/components/xpl-slideout.js +1 -1
- package/dist/components/xpl-spotlight.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-cell.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-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-top-nav-item.js +1 -1
- package/dist/components/xpl-top-nav.js +1 -1
- package/dist/components/xpl-utility-bar.js +1 -1
- package/dist/docs/xpl-backdrop/readme.md +2 -0
- package/dist/docs/xpl-badge/readme.md +34 -0
- package/dist/docs/xpl-button/readme.md +2 -0
- package/dist/docs/xpl-button-row/readme.md +13 -0
- package/dist/docs/xpl-checkbox/readme.md +23 -1
- package/dist/docs/xpl-divider/readme.md +22 -4
- package/dist/docs/xpl-input/readme.md +51 -0
- package/dist/docs/xpl-input/xpl-input-date/readme.md +7 -0
- package/dist/docs/xpl-input/xpl-input-phone/readme.md +21 -0
- package/dist/docs/xpl-popover/readme.md +24 -0
- package/dist/docs/xpl-radio/readme.md +21 -4
- package/dist/docs/xpl-side-nav/readme.md +153 -5
- package/dist/docs/xpl-side-nav/xpl-side-nav-item/readme.md +165 -32
- package/dist/docs/xpl-table/readme.md +2 -0
- package/dist/docs/xpl-tooltip/readme.md +29 -1
- package/dist/esm/apollo-core.js +4 -4
- package/dist/esm/{index-C7bgJs6C.js → index-CXkZUm1c.js} +36 -9
- package/dist/esm/loader.js +3 -3
- package/dist/esm/v4-CK3_k8jD.js +50 -0
- package/dist/esm/xpl-accordion.entry.js +3 -3
- package/dist/esm/xpl-application-shell.entry.js +2 -2
- package/dist/esm/xpl-avatar_54.entry.js +700 -176
- package/dist/esm/xpl-button-row.entry.js +2 -2
- package/dist/esm/xpl-calendar.entry.js +3 -3
- package/dist/esm/xpl-dynamic-table-cell.entry.js +3 -3
- package/dist/esm/xpl-dynamic-table-row.entry.js +3 -3
- package/dist/esm/xpl-dynamic-table.entry.js +2 -2
- package/dist/esm/xpl-grid-item.entry.js +2 -2
- package/dist/esm/xpl-grid.entry.js +2 -2
- package/dist/esm/xpl-large-card.entry.js +2 -2
- package/dist/esm/xpl-main-nav.entry.js +2 -2
- package/dist/esm/xpl-table-header-cell.entry.js +1 -1
- package/dist/esm/xpl-table-header.entry.js +2 -2
- package/dist/esm/xpl-toggle.entry.js +5 -5
- package/dist/esm/xpl-toolbar.entry.js +3 -3
- package/dist/types/components/xpl-banner/banner.stories.d.ts +2 -0
- package/dist/types/components/xpl-button/button.stories.d.ts +2 -0
- package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +16 -0
- package/dist/types/components/xpl-input/xpl-input-phone/xpl-input-phone.d.ts +1 -0
- package/dist/types/components/xpl-pagination/xpl-pagination.d.ts +4 -0
- package/dist/types/components/xpl-radio/radio.stories.d.ts +11 -10
- package/dist/types/components/xpl-side-nav/side-nav-constants.d.ts +2 -0
- package/dist/types/components/xpl-side-nav/side-nav.stories.d.ts +53 -32
- package/dist/types/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.d.ts +10 -0
- package/dist/types/components/xpl-side-nav/xpl-side-nav.d.ts +31 -0
- package/dist/types/components/xpl-spotlight/xpl-spotlight.d.ts +1 -0
- package/dist/types/components.d.ts +223 -20
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/package.json +33 -24
- package/dist/apollo-core/p-0bf50890.entry.js +0 -1
- package/dist/apollo-core/p-1947e7a8.entry.js +0 -1
- package/dist/apollo-core/p-27928cb0.entry.js +0 -1
- package/dist/apollo-core/p-34438721.entry.js +0 -1
- package/dist/apollo-core/p-35c2f72d.entry.js +0 -1
- package/dist/apollo-core/p-368c81f1.entry.js +0 -1
- package/dist/apollo-core/p-3bb14840.entry.js +0 -1
- package/dist/apollo-core/p-406b27a8.entry.js +0 -1
- package/dist/apollo-core/p-5d63b4ce.entry.js +0 -1
- package/dist/apollo-core/p-8d692d05.entry.js +0 -1
- package/dist/apollo-core/p-C7bgJs6C.js +0 -2
- package/dist/apollo-core/p-Cqlsd6nf.js +0 -1
- package/dist/apollo-core/p-cd56a3d5.entry.js +0 -1
- package/dist/apollo-core/p-dc205893.entry.js +0 -1
- package/dist/cjs/v4-D4KzFnn8.js +0 -67
- package/dist/components/index3.js +0 -1
- package/dist/components/v4.js +0 -1
- package/dist/components/xpl-avatar2.js +0 -1
- package/dist/components/xpl-backdrop2.js +0 -1
- package/dist/components/xpl-badge2.js +0 -1
- package/dist/components/xpl-button2.js +0 -1
- package/dist/components/xpl-checkbox2.js +0 -1
- package/dist/components/xpl-divider2.js +0 -1
- package/dist/components/xpl-dropdown-group2.js +0 -1
- package/dist/components/xpl-dropdown-heading2.js +0 -1
- package/dist/components/xpl-dropdown-option2.js +0 -1
- package/dist/components/xpl-dropdown2.js +0 -1
- package/dist/components/xpl-icon2.js +0 -1
- package/dist/components/xpl-input-date2.js +0 -1
- package/dist/components/xpl-input2.js +0 -1
- package/dist/components/xpl-list-item2.js +0 -1
- package/dist/components/xpl-popover2.js +0 -1
- package/dist/components/xpl-radio2.js +0 -1
- package/dist/components/xpl-select2.js +0 -1
- package/dist/components/xpl-tooltip2.js +0 -1
- package/dist/esm/v4-Cqlsd6nf.js +0 -65
- /package/dist/components/{_commonjsHelpers.js → p-BFTU3MAI.js} +0 -0
- /package/dist/components/{index2.js → p-CH4yJ6Qx.js} +0 -0
- /package/dist/components/{tab-a11y-ids.js → p-Yj_QFaRn.js} +0 -0
- /package/dist/{index.cjs.js → index.cjs} +0 -0
- /package/loader/{cdn.js → cdn.cjs} +0 -0
- /package/loader/{index.cjs.js → index.cjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const ButtonRow = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -11,7 +11,7 @@ const ButtonRow = class {
|
|
|
11
11
|
this.onTertiary = () => this.clickTertiary.emit();
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'cd6436989f07af18d1e696a26e3e990d99859b2e', class: "xpl-button-row" }, h("div", { key: '67a9ab3127bdd31d416d716bf06a2548d4b04341', class: "xpl-button-row-inner" }, h("div", { key: 'f4c9e84868a5476500ffd65381fafe6c427e63ad', class: "xpl-button-row__left" }, this.secondary && (h("xpl-button", { key: '9c264293c00634759559c8109657f8a58451dc06', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary))), h("div", { key: 'df3443bd9afa937c4936e7b902da146f4a999f56', class: "xpl-button-row__right" }, this.tertiary && (h("xpl-button", { key: '85912cdbc02ac6587085564dbfb4f0647b656d7d', variant: "subtle", type: "button", onClick: this.onTertiary }, this.tertiary)), this.secondary && (h("xpl-button", { key: 'cbb4302e9853d751b7b75e386c6d9441037c301e', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary)), this.primary && (h("xpl-button", { key: '10991142b7062283d129ba3428e5d3f1c060a973', class: "xpl-button-row__primary", onClick: this.onPrimary }, this.primary))))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXkZUm1c.js';
|
|
2
2
|
import { f as flatpickr } from './index-CH4yJ6Qx.js';
|
|
3
|
-
import { v as v4 } from './v4-
|
|
3
|
+
import { v as v4 } from './v4-CK3_k8jD.js';
|
|
4
4
|
|
|
5
5
|
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
|
|
6
6
|
? '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'
|
|
@@ -55,7 +55,7 @@ const Calendar = class {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '180c1c356f07920c05487c50dd534284004cfce5', class: "xpl-calendar" }, h("input", { key: '6f46ef2a9c81043eb65a66208e71ce7e8504abea', class: "xpl-calendar-input", type: "text", id: this.calendarInputId, ref: (el) => {
|
|
59
59
|
this.inputElement = el;
|
|
60
60
|
} })));
|
|
61
61
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const DynamicTableCell = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -21,9 +21,9 @@ const DynamicTableCell = class {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const colIndex = Array.from(this.el.parentElement.children).indexOf(this.el) + 1;
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'e6e9a3695c9d8ca3743b188284bc8e69f50f3397', role: "gridcell", "aria-colindex": colIndex, class: "xpl-dynamic-table-cell", ref: (el) => {
|
|
25
25
|
this.hostElement = el;
|
|
26
|
-
} }, h("slot", { key: '
|
|
26
|
+
} }, h("slot", { key: 'abfa632a3ac88d663acaaacbc431d07c9da4b375' })));
|
|
27
27
|
}
|
|
28
28
|
get el() { return getElement(this); }
|
|
29
29
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const DynamicTableRow = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -26,9 +26,9 @@ const DynamicTableRow = class {
|
|
|
26
26
|
const classList = `xpl-dynamic-table-row
|
|
27
27
|
${this.isDisabled ? 'disabled' : ''}
|
|
28
28
|
${this.selected ? 'selected' : ''}`;
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'e070f32db6cee0bcbf0dd84e41e13e6d3b88e8a1', role: "row", class: classList, ref: (el) => {
|
|
30
30
|
this.hostElement = el;
|
|
31
|
-
} }, h("slot", { key: '
|
|
31
|
+
} }, h("slot", { key: '78ea8e02e97e0017dc4aa35af4883446d4e4c4bf' })));
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const DynamicTable = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -54,7 +54,7 @@ const DynamicTable = class {
|
|
|
54
54
|
this.updateColumnCount();
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h("div", { key: '
|
|
57
|
+
return (h("div", { key: '3d5c3e5aea065c98323fbdbf17392af63975c9dd', role: "grid", class: "xpl-dynamic-table", "aria-colcount": this.colCount }, h("slot", { key: 'f6076fef5e85fdf22b03e532e920396ce5f6ce63', name: "header" }), h("slot", { key: '3b94b04b8f6b7a1cca9277161c0c32b117ce315f', name: "body" })));
|
|
58
58
|
}
|
|
59
59
|
get el() { return getElement(this); }
|
|
60
60
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const GridItem = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -14,7 +14,7 @@ const GridItem = class {
|
|
|
14
14
|
className += ` xpl-grid-item-sm-${this.sm}`;
|
|
15
15
|
className += ` xpl-grid-item-md-${this.md}`;
|
|
16
16
|
className += ` xpl-grid-item-lg-${this.lg}`;
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'bb28d83b6fd6ee92390ffcb5a505f5084f5624b9', class: className }, h("slot", { key: 'db3cf487db67044879425c830a14a44e06d19414' })));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const Grid = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -26,7 +26,7 @@ const Grid = class {
|
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return h(Host, { key: '
|
|
29
|
+
return h(Host, { key: '0036b594c89e75a9b302e7a7d9c99d4703a8b729', class: "xpl-grid" });
|
|
30
30
|
}
|
|
31
31
|
get container() { return getElement(this); }
|
|
32
32
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const LargeCard = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -17,7 +17,7 @@ const LargeCard = class {
|
|
|
17
17
|
render() {
|
|
18
18
|
const contentSlot = 'graph-content';
|
|
19
19
|
const hasContentSlot = this.el.querySelector(`[slot="${contentSlot}"]`);
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '886078965cb1ca87fd9c4f45a8b06f089a4b2e04', role: "group", class: `xpl-large-card ${this.link ? 'xpl-large-card__link' : ''}`, tabindex: "0" }, h("dt", { key: '1c2006c9167b2d46262b222ace3c5e9135863783', class: "xpl-large-card__header" }, h("header", { key: '21ba4629c7e3d0d9dff98f9dde2ac4bc9f1f494e' }, h("slot", { key: 'd50991dc4fcca6c56c04c7cc9a401f0894035aa2', name: "title" }, this.name), this.link && (h("span", { key: '35b1b15786c1674f6d1797ec3b04da81b27d5d3a', class: "xpl-data-card__header-arrow" }, h("xpl-icon", { key: 'f52a7a39b3d044341296d88adb9d2bc07cdec9ab', icon: "chevron-right", size: 16 })))), this.description && (h("div", { key: 'bac9d6cec27272d277c991c81e651714603066a2', class: "xpl-large-card__description" }, this.description))), h("dd", { key: '9da3ca8ec575a6755f1f47065299ec3ab3e5169b', class: "xpl-large-card__body" }, hasContentSlot && h("slot", { key: '022da3c1e07c264441c58f7d42d6edca109a504d', name: contentSlot }))));
|
|
21
21
|
}
|
|
22
22
|
get el() { return getElement(this); }
|
|
23
23
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const MainNav = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -16,7 +16,7 @@ const MainNav = class {
|
|
|
16
16
|
this.navWidthHandler();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '2e8b8744026876205bd66e04f5d93a2cf23415dd', class: `xpl-main-nav xpl-main-nav--${this.width}`, "aria-label": "Sidebar" }, h("nav", { key: 'ad2a7cadd3a9a4ac898b6e27604aff51a3cf5c40' }, h("header", { key: '14e0e676e8d22147c6fe3093da3a8a4c0f102243', "aria-label": "Sidebar Header" }, h("slot", { key: '5da2fe9fa391e56ae7ea3a742f7a060c78dcec56', name: "logo" }), h("slot", { key: 'd3631d0d23c5c0404e134ebc9d852bfd1651c982', name: "brand-name" })), h("div", { key: 'f0ff1cda64b9474386ce4f56fb4027b4f193e0c3', class: "xpl-main-nav__main_section" }, h("slot", { key: '0ef80166585b66d4af64a1b13383a551444c10f0', name: "navigation" })), h("footer", { key: 'd23f595c3705823dd1e7a86b6db66f98bc70504a', class: "xpl-main-nav__footer", "aria-label": "Sidebar Footer" }, h("slot", { key: 'b4ba325347935557ee9e2e37b824c5dc42aa32b3', name: "footer" })))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const TableHeaderCell = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const TableHeader = class {
|
|
4
4
|
constructor(hostRef) {
|
|
5
5
|
registerInstance(this, hostRef);
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'f50c2c0ca2743e47ad44a368a9ea684c57a72261', role: "row", class: "xpl-table-header" }, h("slot", { key: '7a61b45818de8675015ca3defb9ee8c3280e961a' })));
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
2
|
-
import { v as v4 } from './v4-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXkZUm1c.js';
|
|
2
|
+
import { v as v4 } from './v4-CK3_k8jD.js';
|
|
3
3
|
|
|
4
4
|
const Toggle = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -19,13 +19,13 @@ const Toggle = class {
|
|
|
19
19
|
let className = 'xpl-toggle';
|
|
20
20
|
if (this.variant === 'small')
|
|
21
21
|
className += ' xpl-toggle--small';
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: 'bc7363fd59d7cc10f0df644b5c54021ce860dbbc', class: containerClassName }, (this.heading || this.description) && (h("label", { key: '06b031581d173694651e58265b287865daeaf22b', class: {
|
|
23
23
|
'xpl-label': true,
|
|
24
24
|
'xpl-label--disabled': this.disabled,
|
|
25
|
-
}, htmlFor: this.id }, this.heading, this.description && (h("small", { key: '
|
|
25
|
+
}, htmlFor: this.id }, this.heading, this.description && (h("small", { key: 'a633107a6dcc2c0c43cd626c3013876831535588', class: {
|
|
26
26
|
'xpl-description': true,
|
|
27
27
|
'xpl-description--disabled': this.disabled,
|
|
28
|
-
} }, this.description)))), h("input", { key: '
|
|
28
|
+
} }, this.description)))), h("input", { key: 'fc1d734118dafc0a5f64119eb91d19e8af1254a6', class: className, type: "checkbox", checked: this.checked, disabled: this.disabled, id: this.id, name: this.name, onChange: this.onChange }), this.label && h("label", { key: '7f1a465da3ec136c11797746505c0629fe2d31a9', htmlFor: this.id }, this.label)));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-CXkZUm1c.js';
|
|
2
2
|
|
|
3
3
|
const Toolbar = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -14,11 +14,11 @@ const Toolbar = class {
|
|
|
14
14
|
this.selectedItemCount = event.detail.length;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '782235b9cb7a50f4ba1a38ce2add940a051167a9', class: {
|
|
18
18
|
'xpl-toolbar': true,
|
|
19
19
|
dark: true,
|
|
20
20
|
hidden: this.selectedItemCount === 0,
|
|
21
|
-
} }, h("div", { key: '
|
|
21
|
+
} }, h("div", { key: 'cb29423baac9e936ea02d4e177966161cb0f0486', class: "toolbar" }, h("p", { key: '484e52174e0b11b158e4865cdc62fa05136eac2d', class: "selected-item-count" }, this.selectedItemCount, " Selected"), h("div", { key: '51ba928ccfae827b73f67348b64e34a14d36c235', class: "actions" }, h("slot", { key: 'f96d57f3e6101a277a0195e072f69b63d5b29671', name: "actions-left" }), h("slot", { key: '278f41ab191c18479f9c99a531ca7636be571478', name: "actions-right" })))));
|
|
22
22
|
}
|
|
23
23
|
get el() { return getElement(this); }
|
|
24
24
|
};
|
|
@@ -5,10 +5,13 @@ interface XplDropdownOption extends HTMLXplDropdownOptionElement {
|
|
|
5
5
|
hostElement: HTMLXplDropdownOptionElement;
|
|
6
6
|
}
|
|
7
7
|
export declare class Dropdown {
|
|
8
|
+
private virtualEnd;
|
|
9
|
+
private virtualStart;
|
|
8
10
|
isOpen: boolean;
|
|
9
11
|
closeOnSelect: boolean;
|
|
10
12
|
mode: 'single' | 'multi';
|
|
11
13
|
options?: DropdownItem[];
|
|
14
|
+
onOptionsChanged(): void;
|
|
12
15
|
anchorToTrigger: boolean;
|
|
13
16
|
onAnchorToTriggerChanged(): void;
|
|
14
17
|
flipFallbackPlacements?: Placement[];
|
|
@@ -25,6 +28,11 @@ export declare class Dropdown {
|
|
|
25
28
|
hostElement: HTMLXplDropdownElement;
|
|
26
29
|
isOpenChange: EventEmitter<boolean>;
|
|
27
30
|
private cleanupAutoUpdate;
|
|
31
|
+
private virtualScrollRaf;
|
|
32
|
+
private openAlignmentRaf;
|
|
33
|
+
private listEl?;
|
|
34
|
+
private listResizeObserver?;
|
|
35
|
+
private previousOptionCount;
|
|
28
36
|
onSelectedValuesChanged(newValues: string | string[], initialRender?: boolean): void;
|
|
29
37
|
onIsOpenStateChange(newValue: boolean): void;
|
|
30
38
|
connectedCallback(): void;
|
|
@@ -39,6 +47,14 @@ export declare class Dropdown {
|
|
|
39
47
|
private updateDropdownPosition;
|
|
40
48
|
private handleClickOutside;
|
|
41
49
|
private handleKeyDown;
|
|
50
|
+
private handleVirtualScroll;
|
|
51
|
+
private cancelVirtualScroll;
|
|
52
|
+
private setListEl;
|
|
53
|
+
private alignOnOpen;
|
|
54
|
+
private scheduleOpenAlignment;
|
|
55
|
+
private scrollSelectedIntoView;
|
|
56
|
+
private updateVirtualRange;
|
|
57
|
+
private get isVirtualized();
|
|
42
58
|
render(): any;
|
|
43
59
|
}
|
|
44
60
|
export {};
|
|
@@ -9,9 +9,13 @@ export declare class Pagination {
|
|
|
9
9
|
pageChange: EventEmitter<number>;
|
|
10
10
|
rowsPerPageChange: EventEmitter<number>;
|
|
11
11
|
protected onPageUpdate(newValue: number): void;
|
|
12
|
+
protected onTotalPagesUpdate(): void;
|
|
12
13
|
protected onRowsPerPageUpdate(newValue: number): void;
|
|
13
14
|
private rowsPerPageSelectRef;
|
|
14
15
|
private pageSelectRef;
|
|
16
|
+
private pageChoices;
|
|
17
|
+
private buildPageChoices;
|
|
18
|
+
componentWillLoad(): void;
|
|
15
19
|
componentDidLoad(): void;
|
|
16
20
|
disconnectedCallback(): void;
|
|
17
21
|
private handleNextPage;
|
|
@@ -55,17 +55,18 @@ declare const _default: {
|
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
export default _default;
|
|
58
|
+
interface RadioArgs {
|
|
59
|
+
label: string;
|
|
60
|
+
description: string;
|
|
61
|
+
checked: boolean;
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
styled: boolean;
|
|
64
|
+
value: string;
|
|
65
|
+
name: string;
|
|
66
|
+
selectedValue: string;
|
|
67
|
+
}
|
|
58
68
|
export declare const Radio: {
|
|
59
|
-
(
|
|
60
|
-
label: any;
|
|
61
|
-
description: any;
|
|
62
|
-
checked: any;
|
|
63
|
-
disabled: any;
|
|
64
|
-
styled: any;
|
|
65
|
-
value: any;
|
|
66
|
-
name: any;
|
|
67
|
-
selectedValue: any;
|
|
68
|
-
}): string;
|
|
69
|
+
(origAttrs: RadioArgs): string;
|
|
69
70
|
args: {
|
|
70
71
|
label: string;
|
|
71
72
|
description: string;
|
|
@@ -2,6 +2,7 @@ import type { StoryObj } from '@storybook/web-components-vite';
|
|
|
2
2
|
export interface NavItem {
|
|
3
3
|
label: string;
|
|
4
4
|
icon?: string;
|
|
5
|
+
trailingIcon?: string;
|
|
5
6
|
selected?: boolean;
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
hidden?: boolean;
|
|
@@ -27,21 +28,49 @@ declare const _default: {
|
|
|
27
28
|
};
|
|
28
29
|
};
|
|
29
30
|
export default _default;
|
|
30
|
-
export declare const SideNavigation:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
export declare const SideNavigation: StoryObj<SideNavFullDemoArgs>;
|
|
32
|
+
type SideNavItemStory = StoryObj<{
|
|
33
|
+
label: string;
|
|
34
|
+
icon: string;
|
|
35
|
+
trailingIcon: string;
|
|
36
|
+
selected: boolean;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
hidden: boolean;
|
|
39
|
+
expanded: boolean;
|
|
40
|
+
hasChildren: boolean;
|
|
41
|
+
link: boolean;
|
|
42
|
+
childLabel1: string;
|
|
43
|
+
childLabel2: string;
|
|
44
|
+
}>;
|
|
45
|
+
export declare const ItemPlayground: SideNavItemStory;
|
|
46
|
+
export declare const ExternalLinkItem: {
|
|
47
|
+
(): string;
|
|
48
|
+
parameters: {
|
|
49
|
+
layout: string;
|
|
50
|
+
docs: {
|
|
51
|
+
description: {
|
|
52
|
+
story: string;
|
|
53
|
+
};
|
|
37
54
|
};
|
|
38
55
|
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
56
|
+
};
|
|
57
|
+
export declare const ParentWithLeadingIcon: {
|
|
58
|
+
(): string;
|
|
59
|
+
parameters: {
|
|
60
|
+
layout: string;
|
|
61
|
+
docs: {
|
|
62
|
+
description: {
|
|
63
|
+
story: string;
|
|
64
|
+
};
|
|
43
65
|
};
|
|
44
66
|
};
|
|
67
|
+
};
|
|
68
|
+
type FooterStory = StoryObj<{
|
|
69
|
+
footerItems: NavItem[];
|
|
70
|
+
}>;
|
|
71
|
+
export declare const FooterSlot: FooterStory;
|
|
72
|
+
export declare const MobileClosed: {
|
|
73
|
+
(): string;
|
|
45
74
|
parameters: {
|
|
46
75
|
layout: string;
|
|
47
76
|
design: {
|
|
@@ -53,28 +82,20 @@ export declare const SideNavigation: {
|
|
|
53
82
|
story: string;
|
|
54
83
|
};
|
|
55
84
|
};
|
|
56
|
-
|
|
57
|
-
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export declare const MobileOpen: {
|
|
88
|
+
(): string;
|
|
89
|
+
parameters: {
|
|
90
|
+
layout: string;
|
|
91
|
+
design: {
|
|
92
|
+
type: string;
|
|
93
|
+
url: string;
|
|
58
94
|
};
|
|
59
|
-
|
|
60
|
-
|
|
95
|
+
docs: {
|
|
96
|
+
description: {
|
|
97
|
+
story: string;
|
|
98
|
+
};
|
|
61
99
|
};
|
|
62
100
|
};
|
|
63
101
|
};
|
|
64
|
-
type SideNavItemStory = StoryObj<{
|
|
65
|
-
label: string;
|
|
66
|
-
icon: string;
|
|
67
|
-
selected: boolean;
|
|
68
|
-
disabled: boolean;
|
|
69
|
-
hidden: boolean;
|
|
70
|
-
expanded: boolean;
|
|
71
|
-
hasChildren: boolean;
|
|
72
|
-
link: boolean;
|
|
73
|
-
childLabel1: string;
|
|
74
|
-
childLabel2: string;
|
|
75
|
-
}>;
|
|
76
|
-
export declare const ItemPlayground: SideNavItemStory;
|
|
77
|
-
type FooterStory = StoryObj<{
|
|
78
|
-
footerItems: NavItem[];
|
|
79
|
-
}>;
|
|
80
|
-
export declare const FooterSlot: FooterStory;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
2
|
export declare class SideNavItem {
|
|
3
|
+
private trailingSlotSyncTimeoutId?;
|
|
4
|
+
private trailingSlotObserver?;
|
|
3
5
|
el: HTMLElement;
|
|
6
|
+
private hasTrailingSlot;
|
|
4
7
|
disabled: boolean;
|
|
5
8
|
expanded: boolean;
|
|
6
9
|
hasChildren: boolean;
|
|
@@ -12,8 +15,15 @@ export declare class SideNavItem {
|
|
|
12
15
|
selected: boolean;
|
|
13
16
|
expandedChange: EventEmitter<boolean>;
|
|
14
17
|
navClick: EventEmitter<void>;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
15
20
|
componentWillLoad(): void;
|
|
16
21
|
componentWillRender(): void;
|
|
22
|
+
componentDidRender(): void;
|
|
23
|
+
private connectTrailingSlotObserver;
|
|
24
|
+
private disconnectTrailingSlotObserver;
|
|
25
|
+
private scheduleTrailingSlotSync;
|
|
26
|
+
private syncTrailingSlot;
|
|
17
27
|
private enforceLinkExcludesHasChildren;
|
|
18
28
|
private handleClick;
|
|
19
29
|
render(): any;
|
|
@@ -1,4 +1,35 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
export declare class SideNav {
|
|
3
|
+
private toggleFocusTimeoutId?;
|
|
4
|
+
private drawerFocusTimeoutId?;
|
|
5
|
+
private drawerClosing;
|
|
6
|
+
private closeTransitionTimeoutId?;
|
|
7
|
+
private mobileMq?;
|
|
8
|
+
el: HTMLElement;
|
|
2
9
|
label?: string;
|
|
10
|
+
open: boolean;
|
|
11
|
+
onOpenChanged(newValue: boolean, oldValue: boolean): void;
|
|
12
|
+
openChange: EventEmitter<boolean>;
|
|
13
|
+
connectedCallback(): void;
|
|
14
|
+
componentDidLoad(): void;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
toggle(): Promise<void>;
|
|
17
|
+
setOpen(open: boolean): Promise<void>;
|
|
18
|
+
private removeDocKeyDownListener;
|
|
19
|
+
private syncDocKeyDownListener;
|
|
20
|
+
private isBelowMdBreakpoint;
|
|
21
|
+
private isMobileDrawerActive;
|
|
22
|
+
private clearCloseTransition;
|
|
23
|
+
private shouldYieldFocusToExternalModal;
|
|
24
|
+
private anyDescendantPopoverIsOpen;
|
|
25
|
+
private onViewportChange;
|
|
26
|
+
private setOpenState;
|
|
27
|
+
private focusToggleAfterClose;
|
|
28
|
+
private focusDrawerOnOpen;
|
|
29
|
+
private onBackdropClick;
|
|
30
|
+
private getFocusableElements;
|
|
31
|
+
private onDocKeyDown;
|
|
32
|
+
private trapTabKey;
|
|
33
|
+
private onToggleClick;
|
|
3
34
|
render(): any;
|
|
4
35
|
}
|