@xplortech/apollo-core 2.9.0 → 2.11.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 +55 -14
- package/build/style.css +2338 -1902
- package/dist/apollo-core/apollo-core.css +26 -24
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/{p-6a15f1e0.entry.js → p-048fdde0.entry.js} +1 -1
- package/dist/apollo-core/{p-34438721.entry.js → p-0abc496e.entry.js} +1 -1
- package/dist/apollo-core/p-1442c052.entry.js +1 -0
- package/dist/apollo-core/{p-3bb14840.entry.js → p-1e498763.entry.js} +1 -1
- package/dist/apollo-core/p-26c3a508.entry.js +1 -0
- package/dist/apollo-core/{p-36ba29da.entry.js → p-3b8639b7.entry.js} +1 -1
- package/dist/apollo-core/p-4ce52107.entry.js +1 -0
- package/dist/apollo-core/p-6710fb29.entry.js +1 -0
- package/dist/apollo-core/p-7e622809.entry.js +1 -0
- package/dist/apollo-core/p-87068144.entry.js +1 -0
- package/dist/apollo-core/p-BUgtURvw.js +1 -0
- package/dist/apollo-core/p-CK3_k8jD.js +1 -0
- package/dist/apollo-core/p-CXkZUm1c.js +2 -0
- package/dist/apollo-core/p-a3b4820a.entry.js +1 -0
- package/dist/apollo-core/p-b2d6dd0e.entry.js +1 -0
- package/dist/apollo-core/{p-ca127ee8.entry.js → p-bd2249ef.entry.js} +1 -1
- package/dist/apollo-core/p-c96b7957.entry.js +1 -0
- package/dist/apollo-core/p-d6be63cd.entry.js +1 -0
- package/dist/apollo-core/{p-b61d7952.entry.js → p-ddf76cee.entry.js} +1 -1
- package/dist/apollo-core/p-f0554edd.entry.js +1 -0
- package/dist/cjs/apollo-core.cjs.js +3 -3
- package/dist/cjs/{index-BQ97-AWw.js → index-BaXVr8ux.js} +40 -9
- package/dist/cjs/lifecycle-Bf3QwiVa.js +70 -0
- 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 +879 -306
- 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/cjs/xpl-top-nav-menu.cjs.entry.js +97 -0
- package/dist/collection/collection-manifest.json +7 -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/top-nav-constants.js +1 -0
- package/dist/collection/components/xpl-top-nav/top-nav.stories.js +131 -11
- 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/top-nav-item-constants.js +2 -0
- package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +305 -85
- package/dist/collection/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.js +119 -0
- package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +11 -5
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
- package/dist/collection/utils/lifecycle.js +18 -0
- package/dist/components/index.d.ts +143 -12
- package/dist/components/index.js +1 -1
- package/dist/components/p-2xGSxBGa.js +1 -0
- package/dist/components/p-B8RYNiz-.js +1 -0
- package/dist/components/p-BDWXBWGE.js +1 -0
- package/dist/components/p-BJqNuBZr.js +1 -0
- package/dist/components/p-BT_Lq3Vd.js +1 -0
- package/dist/components/p-BUgtURvw.js +1 -0
- package/dist/components/{xpl-input-search2.js → p-B_sq_SAX.js} +1 -1
- package/dist/components/p-Bsy-VVS5.js +1 -0
- package/dist/components/p-BxHFEnPN.js +1 -0
- package/dist/components/p-ByJRw26d.js +1 -0
- package/dist/components/p-C5_Yo0ZP.js +1 -0
- package/dist/components/p-C8rmEAx6.js +1 -0
- package/dist/components/p-CF_YTx16.js +1 -0
- package/dist/components/{floating-ui.dom.js → p-CFpsSZyr.js} +1 -1
- package/dist/components/p-CK3_k8jD.js +1 -0
- package/dist/components/p-CUYkG-PB.js +1 -0
- package/dist/components/p-CaW0fL0P.js +1 -0
- package/dist/components/p-CuisR8WP.js +1 -0
- package/dist/components/p-CzwViN3U.js +1 -0
- package/dist/components/p-D2SFagIb.js +1 -0
- package/dist/components/p-DKUNbsb0.js +1 -0
- package/dist/components/p-DcXL24UI.js +1 -0
- package/dist/components/p-Dp3H99Yc.js +1 -0
- package/dist/components/p-M900WO1C.js +1 -0
- package/dist/components/{xpl-tag2.js → p-ZTFt9sBy.js} +1 -1
- package/dist/components/p-gfb3l9Pr.js +1 -0
- package/dist/components/{xpl-input-file2.js → p-h1Gbk5lO.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-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-menu.d.ts +11 -0
- package/dist/components/xpl-top-nav-menu.js +1 -0
- 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-icon/readme.md +2 -0
- 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/docs/xpl-top-nav/readme.md +3 -0
- package/dist/docs/xpl-top-nav/xpl-top-nav-item/readme.md +79 -20
- package/dist/docs/xpl-top-nav/xpl-top-nav-menu/readme.md +96 -0
- package/dist/esm/apollo-core.js +4 -4
- package/dist/esm/{index-C7bgJs6C.js → index-CXkZUm1c.js} +40 -9
- package/dist/esm/lifecycle-BUgtURvw.js +68 -0
- 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 +878 -305
- 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/esm/xpl-top-nav-menu.entry.js +95 -0
- 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/xpl-top-nav/top-nav-constants.d.ts +1 -0
- package/dist/types/components/xpl-top-nav/top-nav.stories.d.ts +70 -1
- package/dist/types/components/xpl-top-nav/xpl-top-nav-item/top-nav-item-constants.d.ts +2 -0
- package/dist/types/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.d.ts +23 -4
- package/dist/types/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.d.ts +18 -0
- package/dist/types/components/xpl-top-nav/xpl-top-nav.d.ts +1 -0
- package/dist/types/components.d.ts +402 -39
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/lifecycle.d.ts +3 -0
- package/package.json +53 -34
- 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-35c2f72d.entry.js +0 -1
- package/dist/apollo-core/p-368c81f1.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/components/xpl-top-nav-item2.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: '9cd6193bed50a82872803b95bd5fc56c9347dd1a', class: "xpl-button-row" }, h("div", { key: 'eefebfcad667ceec154117b9318e2ff88c420f8f', class: "xpl-button-row-inner" }, h("div", { key: '94633d213b36306cf51a70e04d21a964ca13c430', class: "xpl-button-row__left" }, this.secondary && (h("xpl-button", { key: '2e47003e6f35f5acd7a6129c903d4591cc10759f', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary))), h("div", { key: '05397d469cd97188f56934354850a8c3cd77e4d6', class: "xpl-button-row__right" }, this.tertiary && (h("xpl-button", { key: 'd3f6a953144e8e64aa34a37c9c80f7363dc0ee9c', variant: "subtle", type: "button", onClick: this.onTertiary }, this.tertiary)), this.secondary && (h("xpl-button", { key: 'abd03f3c33a48517a7f268ecf302767e605a2400', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary)), this.primary && (h("xpl-button", { key: 'be417c38b0427e9cdbbacb700d4651677cff8ec9', 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: '8693d0e9612e2995b03f6392387758c843db0be5', class: "xpl-calendar" }, h("input", { key: '29077057568f288f42d4e0eb94e2fa83ce6ea9c6', 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: '18dbf3410d7ecd8ccf08b4b7e8927c50777967b8', 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: '7efb10712db0c91fb2f745f23946270c488885a5' })));
|
|
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: '17fac4d9214237c1896a136839c79377dc9b3169', role: "row", class: classList, ref: (el) => {
|
|
30
30
|
this.hostElement = el;
|
|
31
|
-
} }, h("slot", { key: '
|
|
31
|
+
} }, h("slot", { key: '7d41f904e2c1fa3dcde2b7652cd2840c6bde3470' })));
|
|
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: '7b1ac3b1461e69fb7001baf63c256abcc65cb3a3', role: "grid", class: "xpl-dynamic-table", "aria-colcount": this.colCount }, h("slot", { key: '5d7484d4517b132dbb2400f7c63da3be14064586', name: "header" }), h("slot", { key: '292c502f9cb58467bbb69a3eeacff51af557d826', 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: 'a541967d85e9a4fcd643aa95b62226e46c476dc6', class: className }, h("slot", { key: 'e20ba799288ffb654334698215518e8cfe6ba9a3' })));
|
|
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: '3700079a0f7bbea9755a217d7757dff5a82ee601', 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: '30865d2efaf693257afb21c768981e2785c81ad4', role: "group", class: `xpl-large-card ${this.link ? 'xpl-large-card__link' : ''}`, tabindex: "0" }, h("dt", { key: 'bf95f5c52d36b3aa9174222ea2f3bb7e788f5992', class: "xpl-large-card__header" }, h("header", { key: '5a18e7dfe1544b65fa13e9b918d06ca0fdabb9f2' }, h("slot", { key: '94e9bd081a2c1fe5eb57cb8cedd0ab1224bb5bb3', name: "title" }, this.name), this.link && (h("span", { key: '082622ba8e2446dc65fe4f37ee1e15bab1c8785d', class: "xpl-data-card__header-arrow" }, h("xpl-icon", { key: '407180586601126e1ea5fb2c6af006d109067b39', icon: "chevron-right", size: 16 })))), this.description && (h("div", { key: '381711e6390dd685b0951d7dd08faeb6f9ef34f3', class: "xpl-large-card__description" }, this.description))), h("dd", { key: '2cf8a71574bef72aee76720525e26288b92cecc2', class: "xpl-large-card__body" }, hasContentSlot && h("slot", { key: '03a58f57d713de2abad1b815a77c91f340ef1f0a', 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: '15982141de742a1daeae5ffbb172ea18e0667e2d', class: `xpl-main-nav xpl-main-nav--${this.width}`, "aria-label": "Sidebar" }, h("nav", { key: '41efe9e9a68a3a27653efee7f6ed92d7fde9e902' }, h("header", { key: '18c08d774991cd41dc3b395891d1621343a5d505', "aria-label": "Sidebar Header" }, h("slot", { key: 'b82477e1ae127d30e80ac4e82c22a5e8cbed94e4', name: "logo" }), h("slot", { key: '3841701331da0ea203c356b20098e36b67255384', name: "brand-name" })), h("div", { key: '512df331c13b69154550fe510a8887323167081e', class: "xpl-main-nav__main_section" }, h("slot", { key: '30da0851944d7ce43648efe3b22786b57079042a', name: "navigation" })), h("footer", { key: '3c58ec415052a4b7930ed8861593cb1c52bcd1f5', class: "xpl-main-nav__footer", "aria-label": "Sidebar Footer" }, h("slot", { key: 'fac051cf4e6bc7635d58df0fbf9b504af244eb52', 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: '1123c671d82d987a74264ef2869494155746d7d8', role: "row", class: "xpl-table-header" }, h("slot", { key: 'f1a238ba023ce03559f87cf92214a1804c8ac821' })));
|
|
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: 'c57e1813c72cba62eed2927763277341bb0d3f77', class: containerClassName }, (this.heading || this.description) && (h("label", { key: '00ba33da343a47681982f6437f1cb45060d70ae9', 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: '8ec4104abdb16ca405577f061c4cb68580317bc4', 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: 'face83ccc22985b6d0a4c8b9e4c8dcf1d9d6b72a', class: className, type: "checkbox", checked: this.checked, disabled: this.disabled, id: this.id, name: this.name, onChange: this.onChange }), this.label && h("label", { key: 'aa89637f4b60b050a168fcf02e6702d9ed9bd186', 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: 'eda1f57ef1a207b82f622f090dd30f21d60bbc61', class: {
|
|
18
18
|
'xpl-toolbar': true,
|
|
19
19
|
dark: true,
|
|
20
20
|
hidden: this.selectedItemCount === 0,
|
|
21
|
-
} }, h("div", { key: '
|
|
21
|
+
} }, h("div", { key: 'fe703bf7fb49ebe27f4eee7973ea1e24c5ed50a4', class: "toolbar" }, h("p", { key: 'd0d9cb84b4828688aabbabb3395ff3c18c4d2a78', class: "selected-item-count" }, this.selectedItemCount, " Selected"), h("div", { key: 'c1259be179d245e4c18a3690f800eb493f491ba9', class: "actions" }, h("slot", { key: '40000dda8efbfd0aa7175e0e5db1c1c9f4e7e89f', name: "actions-left" }), h("slot", { key: '255e21ebb1af8fde1bb76a1a1243eeadc4146d3d', name: "actions-right" })))));
|
|
22
22
|
}
|
|
23
23
|
get el() { return getElement(this); }
|
|
24
24
|
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-CXkZUm1c.js';
|
|
2
|
+
import { T as TimerManager } from './lifecycle-BUgtURvw.js';
|
|
3
|
+
|
|
4
|
+
const TOP_NAV_MOBILE_MQ = '(max-width: 767px)';
|
|
5
|
+
|
|
6
|
+
const TopNavMenu = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.timers = new TimerManager();
|
|
10
|
+
this.isMobileCascade = false;
|
|
11
|
+
this.onViewportChange = () => {
|
|
12
|
+
var _a, _b;
|
|
13
|
+
this.isMobileCascade = (_b = (_a = this.mobileMq) === null || _a === void 0 ? void 0 : _a.matches) !== null && _b !== void 0 ? _b : false;
|
|
14
|
+
};
|
|
15
|
+
this.handleBackClick = async () => {
|
|
16
|
+
var _a;
|
|
17
|
+
const parent = this.el.closest('xpl-top-nav-item');
|
|
18
|
+
if (!parent) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
await parent.closeMenu();
|
|
22
|
+
(_a = parent.querySelector('.xpl-top-nav-item__inner')) === null || _a === void 0 ? void 0 : _a.focus();
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
connectedCallback() {
|
|
26
|
+
if (typeof window !== 'undefined' && typeof window.matchMedia === 'function') {
|
|
27
|
+
this.mobileMq = window.matchMedia(TOP_NAV_MOBILE_MQ);
|
|
28
|
+
this.mobileMq.addEventListener('change', this.onViewportChange);
|
|
29
|
+
this.isMobileCascade = this.mobileMq.matches;
|
|
30
|
+
}
|
|
31
|
+
this.connectParentOpenObserver();
|
|
32
|
+
}
|
|
33
|
+
disconnectedCallback() {
|
|
34
|
+
var _a;
|
|
35
|
+
this.timers.dispose();
|
|
36
|
+
(_a = this.mobileMq) === null || _a === void 0 ? void 0 : _a.removeEventListener('change', this.onViewportChange);
|
|
37
|
+
this.mobileMq = undefined;
|
|
38
|
+
this.disconnectParentOpenObserver();
|
|
39
|
+
}
|
|
40
|
+
connectParentOpenObserver() {
|
|
41
|
+
this.disconnectParentOpenObserver();
|
|
42
|
+
const parent = this.el.parentElement;
|
|
43
|
+
if (!parent || typeof MutationObserver === 'undefined') {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
this.parentOpenObserver = new MutationObserver(() => {
|
|
47
|
+
this.scheduleParentOpenCheck();
|
|
48
|
+
});
|
|
49
|
+
this.parentOpenObserver.observe(parent, {
|
|
50
|
+
attributes: true,
|
|
51
|
+
attributeFilter: ['class'],
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
disconnectParentOpenObserver() {
|
|
55
|
+
var _a;
|
|
56
|
+
(_a = this.parentOpenObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
57
|
+
this.parentOpenObserver = undefined;
|
|
58
|
+
}
|
|
59
|
+
scheduleParentOpenCheck() {
|
|
60
|
+
this.timers.scheduleCoalesced('parentOpenCheck', () => {
|
|
61
|
+
if (!this.el.isConnected) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
this.focusBackRowIfJustOpenedOnMobile();
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
focusBackRowIfJustOpenedOnMobile() {
|
|
68
|
+
var _a;
|
|
69
|
+
if (!this.isMobileCascade) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
const parent = this.el.parentElement;
|
|
73
|
+
if (!(parent === null || parent === void 0 ? void 0 : parent.classList.contains('xpl-top-nav-item--dropdown-open'))) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
(_a = this.el
|
|
77
|
+
.querySelector('.xpl-top-nav-menu__back .xpl-top-nav-item__inner')) === null || _a === void 0 ? void 0 : _a.focus();
|
|
78
|
+
}
|
|
79
|
+
renderBackRow() {
|
|
80
|
+
var _a;
|
|
81
|
+
if (!this.isMobileCascade || !((_a = this.label) === null || _a === void 0 ? void 0 : _a.trim())) {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
return (h("xpl-top-nav-item", { class: "xpl-top-nav-menu__back", label: this.label, onNavItemClick: this.handleBackClick }, h("xpl-icon", { slot: "leading-icon", icon: "chevron-left", size: 24 })));
|
|
85
|
+
}
|
|
86
|
+
render() {
|
|
87
|
+
return (h(Host, { key: '314c42b389883edceb333473d9bb97776e1f18de', class: {
|
|
88
|
+
'xpl-top-nav-menu': true,
|
|
89
|
+
dark: true,
|
|
90
|
+
}, role: "list", "aria-label": this.label || undefined }, this.renderBackRow(), h("slot", { key: 'a6b4e2c916ccc9c0cc1d5e7e6d03b2ad6032f7ac' })));
|
|
91
|
+
}
|
|
92
|
+
get el() { return getElement(this); }
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export { TopNavMenu as xpl_top_nav_menu };
|
|
@@ -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
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TOP_NAV_MOBILE_MQ = "(max-width: 767px)";
|