@xplortech/apollo-core 2.6.0 → 2.7.1
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 +626 -35
- package/build/style.css +5949 -3070
- package/dist/apollo-core/apollo-core.css +29 -19
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/p-0bf50890.entry.js +1 -0
- package/dist/apollo-core/p-1947e7a8.entry.js +1 -0
- package/dist/apollo-core/p-27928cb0.entry.js +1 -0
- package/dist/apollo-core/{p-5549756c.entry.js → p-34438721.entry.js} +1 -1
- package/dist/apollo-core/p-35c2f72d.entry.js +1 -0
- package/dist/apollo-core/p-368c81f1.entry.js +1 -0
- package/dist/apollo-core/{p-f5af9539.entry.js → p-36ba29da.entry.js} +1 -1
- package/dist/apollo-core/p-406b27a8.entry.js +1 -0
- package/dist/apollo-core/p-5d63b4ce.entry.js +1 -0
- package/dist/apollo-core/{p-02167464.entry.js → p-6a15f1e0.entry.js} +1 -1
- package/dist/apollo-core/p-8d692d05.entry.js +1 -0
- package/dist/apollo-core/{p-C_Z2nG0p.js → p-C7bgJs6C.js} +2 -2
- package/dist/apollo-core/{p-42016063.entry.js → p-b61d7952.entry.js} +1 -1
- package/dist/apollo-core/{p-8a1affce.entry.js → p-ca127ee8.entry.js} +1 -1
- package/dist/apollo-core/p-d1c9c233.entry.js +1 -0
- package/dist/apollo-core/p-dc205893.entry.js +1 -0
- package/dist/apollo-core/p-e2a5d41c.entry.js +1 -0
- package/dist/cjs/apollo-core.cjs.js +3 -3
- package/dist/cjs/{index-DH6pgWru.js → index-BQ97-AWw.js} +18 -7
- package/dist/cjs/loader.cjs.js +2 -2
- 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_47.cjs.entry.js → xpl-avatar_54.cjs.entry.js} +3726 -536
- package/dist/cjs/xpl-button-row.cjs.entry.js +2 -2
- package/dist/cjs/xpl-calendar.cjs.entry.js +2 -2
- 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 +4 -4
- package/dist/cjs/xpl-toolbar.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +11 -5
- 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-avatar/avatar.stories.js +122 -107
- package/dist/collection/components/xpl-avatar/xpl-avatar.js +249 -15
- package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
- package/dist/collection/components/xpl-badge/badge.stories.js +1 -33
- package/dist/collection/components/xpl-badge/xpl-badge.js +1 -1
- package/dist/collection/components/xpl-banner/xpl-banner.js +4 -3
- 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/xpl-button.js +21 -3
- 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 +25 -3
- 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 +77 -7
- 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 +96 -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 +5 -5
- package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +485 -0
- package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +2 -2
- package/dist/collection/components/xpl-input/xpl-input.js +130 -18
- package/dist/collection/components/xpl-large-card/xpl-large-card.js +1 -1
- package/dist/collection/components/xpl-list/list.stories.js +300 -63
- package/dist/collection/components/xpl-list/xpl-list-item/xpl-list-item.js +818 -0
- package/dist/collection/components/xpl-list/xpl-list.js +579 -21
- package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
- package/dist/collection/components/xpl-modal/xpl-modal.js +1 -1
- package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
- package/dist/collection/components/xpl-pagination/pagination.stories.js +18 -0
- package/dist/collection/components/xpl-pagination/xpl-pagination.js +7 -3
- package/dist/collection/components/xpl-panel/panel.stories.js +5 -3
- package/dist/collection/components/xpl-panel/xpl-panel.js +3 -3
- 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/progress-indicator.stories.js +118 -0
- package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +171 -0
- package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
- package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
- package/dist/collection/components/xpl-select/xpl-select.js +58 -6
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +2 -2
- package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +2 -2
- 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/spotlight.stories.js +385 -0
- package/dist/collection/components/xpl-spotlight/xpl-spotlight.js +1085 -0
- package/dist/collection/components/xpl-tab/xpl-tab.js +261 -8
- package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +22 -15
- package/dist/collection/components/xpl-table/xpl-table.js +5 -5
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
- package/dist/collection/components/xpl-tabs/segment-control.stories.js +31 -0
- package/dist/collection/components/xpl-tabs/tabs.shared.js +156 -0
- package/dist/collection/components/xpl-tabs/tabs.stories.js +10 -60
- package/dist/collection/components/xpl-tabs/xpl-tabs.js +338 -62
- package/dist/collection/components/xpl-tag/tag.stories.js +153 -0
- package/dist/collection/components/xpl-tag/xpl-tag.js +312 -9
- 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/xpl-tooltip.js +1 -1
- package/dist/collection/components/xpl-top-nav/top-nav.stories.js +625 -0
- package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +122 -0
- package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +481 -0
- package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +433 -0
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
- package/dist/collection/utils/lifecycle.js +79 -0
- package/dist/collection/utils/tab-a11y-ids.js +22 -0
- package/dist/components/floating-ui.dom.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/tab-a11y-ids.js +1 -0
- package/dist/components/xpl-accordion.js +1 -1
- package/dist/components/xpl-application-shell.js +1 -1
- package/dist/components/xpl-avatar2.js +1 -1
- package/dist/components/xpl-backdrop2.js +1 -1
- package/dist/components/xpl-badge2.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-button2.js +1 -1
- package/dist/components/xpl-calendar.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-divider2.js +1 -1
- package/dist/components/xpl-dropdown-group2.js +1 -1
- package/dist/components/xpl-dropdown-heading2.js +1 -1
- package/dist/components/xpl-dropdown-option2.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-icon2.js +1 -1
- package/dist/components/xpl-input-date2.js +1 -1
- package/dist/components/xpl-input-file2.js +1 -1
- package/dist/components/xpl-input-search.d.ts +11 -0
- package/dist/components/xpl-input-search.js +1 -0
- package/dist/components/xpl-input-search2.js +1 -0
- package/dist/components/xpl-input2.js +1 -1
- package/dist/components/xpl-large-card.js +1 -1
- package/dist/components/{xpl-progress.d.ts → xpl-list-item.d.ts} +4 -4
- package/dist/components/xpl-list-item.js +1 -0
- package/dist/components/xpl-list-item2.js +1 -0
- package/dist/components/xpl-list.js +1 -1
- package/dist/components/xpl-main-nav.js +1 -1
- package/dist/components/xpl-modal.js +1 -1
- package/dist/components/xpl-nav-header-menu.d.ts +11 -0
- package/dist/components/xpl-nav-header-menu.js +1 -0
- package/dist/components/xpl-nav-item.js +1 -1
- package/dist/components/xpl-pagination.js +1 -1
- package/dist/components/xpl-panel.js +1 -1
- package/dist/components/xpl-popover2.js +1 -1
- package/dist/components/xpl-progress-bar.js +1 -1
- package/dist/components/xpl-progress-indicator.d.ts +11 -0
- package/dist/components/xpl-progress-indicator.js +1 -0
- package/dist/components/xpl-radio2.js +1 -1
- package/dist/components/xpl-secondary-nav.js +1 -1
- package/dist/components/xpl-select2.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.d.ts +11 -0
- package/dist/components/xpl-spotlight.js +1 -0
- package/dist/components/xpl-tab-panel.js +1 -1
- package/dist/components/xpl-tab.js +1 -1
- package/dist/components/xpl-table-header.js +1 -1
- package/dist/components/xpl-table.js +1 -1
- package/dist/components/xpl-tabs.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-tooltip2.js +1 -1
- package/dist/components/xpl-top-nav-item.d.ts +11 -0
- package/dist/components/xpl-top-nav-item.js +1 -0
- package/dist/components/xpl-top-nav-item2.js +1 -0
- package/dist/components/xpl-top-nav.d.ts +11 -0
- package/dist/components/xpl-top-nav.js +1 -0
- package/dist/components/xpl-utility-bar.js +1 -1
- package/dist/docs/xpl-avatar/readme.md +289 -15
- package/dist/docs/xpl-badge/readme.md +14 -9
- package/dist/docs/xpl-banner/readme.md +48 -11
- package/dist/docs/xpl-button/readme.md +28 -18
- package/dist/docs/xpl-calendar/readme.md +1 -1
- package/dist/docs/xpl-checkbox/readme.md +12 -11
- package/dist/docs/xpl-divider/readme.md +6 -4
- package/dist/docs/xpl-dropdown/readme.md +14 -12
- package/dist/docs/xpl-icon/readme.md +14 -2
- package/dist/docs/xpl-input/readme.md +66 -41
- package/dist/docs/xpl-input/xpl-input-color/readme.md +1 -0
- package/dist/docs/xpl-input/xpl-input-phone/readme.md +1 -0
- package/dist/docs/xpl-input/xpl-input-search/readme.md +175 -0
- package/dist/docs/xpl-input/xpl-input-time/readme.md +1 -0
- package/dist/docs/xpl-list/readme.md +320 -10
- package/dist/docs/xpl-list/xpl-list-item/readme.md +99 -0
- package/dist/docs/xpl-pagination/readme.md +1 -0
- package/dist/docs/xpl-panel/readme.md +108 -17
- package/dist/docs/xpl-popover/readme.md +2 -0
- package/dist/docs/xpl-progress-indicator/readme.md +234 -0
- package/dist/docs/xpl-radio/readme.md +6 -4
- package/dist/docs/xpl-select/readme.md +19 -16
- package/dist/docs/xpl-side-nav/readme.md +2 -2
- package/dist/docs/xpl-slideout/readme.md +1 -1
- package/dist/docs/xpl-spotlight/readme.md +235 -0
- package/dist/docs/xpl-tab/readme.md +43 -7
- package/dist/docs/xpl-tab-panel/readme.md +42 -0
- package/dist/docs/xpl-tabs/readme.md +62 -8
- package/dist/docs/xpl-tag/readme.md +379 -4
- package/dist/docs/xpl-toast/readme.md +1 -1
- package/dist/docs/xpl-top-nav/readme.md +179 -0
- package/dist/docs/xpl-top-nav/xpl-nav-header-menu/readme.md +81 -0
- package/dist/docs/xpl-top-nav/xpl-top-nav-item/readme.md +87 -0
- package/dist/esm/apollo-core.js +4 -4
- package/dist/esm/{index-C_Z2nG0p.js → index-C7bgJs6C.js} +18 -8
- package/dist/esm/loader.js +3 -3
- package/dist/esm/xpl-accordion.entry.js +3 -3
- package/dist/esm/xpl-application-shell.entry.js +2 -2
- package/dist/esm/{xpl-avatar_47.entry.js → xpl-avatar_54.entry.js} +3719 -536
- package/dist/esm/xpl-button-row.entry.js +2 -2
- package/dist/esm/xpl-calendar.entry.js +2 -2
- 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 +4 -4
- package/dist/esm/xpl-toolbar.entry.js +3 -3
- package/dist/types/components/xpl-avatar/avatar.stories.d.ts +88 -29
- package/dist/types/components/xpl-avatar/xpl-avatar.d.ts +29 -2
- package/dist/types/components/xpl-badge/badge.stories.d.ts +0 -19
- package/dist/types/components/xpl-button/xpl-button.d.ts +7 -0
- package/dist/types/components/xpl-checkbox/xpl-checkbox.d.ts +2 -1
- package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +5 -0
- package/dist/types/components/xpl-input/input.stories.d.ts +1 -0
- package/dist/types/components/xpl-input/xpl-input-search/xpl-input-search.d.ts +39 -0
- package/dist/types/components/xpl-input/xpl-input.d.ts +13 -5
- package/dist/types/components/xpl-list/list.stories.d.ts +299 -13
- package/dist/types/components/xpl-list/listitem.d.ts +13 -0
- package/dist/types/components/xpl-list/xpl-list-item/xpl-list-item.d.ts +71 -0
- package/dist/types/components/xpl-list/xpl-list.d.ts +55 -2
- package/dist/types/components/xpl-pagination/pagination.stories.d.ts +13 -0
- package/dist/types/components/xpl-panel/panel.stories.d.ts +2 -0
- package/dist/types/components/xpl-progress-indicator/progress-indicator.stories.d.ts +62 -0
- package/dist/types/components/xpl-progress-indicator/xpl-progress-indicator.d.ts +11 -0
- package/dist/types/components/xpl-select/xpl-select.d.ts +3 -0
- package/dist/types/components/xpl-spotlight/spotlight.stories.d.ts +197 -0
- package/dist/types/components/xpl-spotlight/xpl-spotlight.d.ts +101 -0
- package/dist/types/components/xpl-tab/xpl-tab.d.ts +14 -1
- package/dist/types/components/xpl-tab-panel/xpl-tab-panel.d.ts +2 -1
- package/dist/types/components/xpl-tabs/segment-control.stories.d.ts +112 -0
- package/dist/types/components/xpl-tabs/tabs.shared.d.ts +156 -0
- package/dist/types/components/xpl-tabs/tabs.stories.d.ts +65 -12
- package/dist/types/components/xpl-tabs/xpl-tabs.d.ts +37 -18
- package/dist/types/components/xpl-tag/tag.stories.d.ts +65 -0
- package/dist/types/components/xpl-tag/xpl-tag.d.ts +36 -1
- package/dist/types/components/xpl-top-nav/top-nav.stories.d.ts +471 -0
- package/dist/types/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.d.ts +18 -0
- package/dist/types/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.d.ts +48 -0
- package/dist/types/components/xpl-top-nav/xpl-top-nav.d.ts +51 -0
- package/dist/types/components.d.ts +1521 -83
- package/dist/types/utils/lifecycle.d.ts +16 -0
- package/dist/types/utils/tab-a11y-ids.d.ts +4 -0
- package/package.json +12 -3
- package/dist/apollo-core/p-0bce3874.entry.js +0 -1
- package/dist/apollo-core/p-1fd3dc87.entry.js +0 -1
- package/dist/apollo-core/p-56fa4941.entry.js +0 -1
- package/dist/apollo-core/p-76c324da.entry.js +0 -1
- package/dist/apollo-core/p-7a3224b4.entry.js +0 -1
- package/dist/apollo-core/p-7e924697.entry.js +0 -1
- package/dist/apollo-core/p-9efca9e1.entry.js +0 -1
- package/dist/apollo-core/p-b252b380.entry.js +0 -1
- package/dist/apollo-core/p-c91daac1.entry.js +0 -1
- package/dist/apollo-core/p-d9b62508.entry.js +0 -1
- package/dist/apollo-core/p-eaea16d1.entry.js +0 -1
- package/dist/apollo-core/p-eed13bca.entry.js +0 -1
- package/dist/cjs/xpl-list.cjs.entry.js +0 -32
- package/dist/collection/components/xpl-progress/progress.stories.js +0 -106
- package/dist/collection/components/xpl-progress/xpl-progress.js +0 -60
- package/dist/components/xpl-progress.js +0 -1
- package/dist/docs/xpl-progress/readme.md +0 -22
- package/dist/esm/xpl-list.entry.js +0 -30
- package/dist/types/components/xpl-progress/progress.stories.d.ts +0 -38
- package/dist/types/components/xpl-progress/xpl-progress.d.ts +0 -6
|
@@ -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-C7bgJs6C.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: '184ee5671a9d1bbb967dd8e6e4427df30d62a007', class: "xpl-button-row" }, h("div", { key: '44b583d0899af8b158f7093b87918f0843366e44', class: "xpl-button-row-inner" }, h("div", { key: '31754284b0b87a1e58ccbded4b46b453c3b717ca', class: "xpl-button-row__left" }, this.secondary && (h("xpl-button", { key: '27a9c164af5e72a66380dfda4072cfb5d3b3a34d', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary))), h("div", { key: '7ba9299532405aa9dceca481dae675a5129d2b51', class: "xpl-button-row__right" }, this.tertiary && (h("xpl-button", { key: 'bcb3524b921e6de30a1f6d870e04eeb9592762bb', variant: "subtle", type: "button", onClick: this.onTertiary }, this.tertiary)), this.secondary && (h("xpl-button", { key: '5e10208c958143476df430b7f9877965b7fadc08', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary)), this.primary && (h("xpl-button", { key: 'ebb24794d37fd6dce72fa776b97ec59edeaab1dc', class: "xpl-button-row__primary", onClick: this.onPrimary }, this.primary))))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -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-C7bgJs6C.js';
|
|
2
2
|
import { f as flatpickr } from './index-CH4yJ6Qx.js';
|
|
3
3
|
import { v as v4 } from './v4-Cqlsd6nf.js';
|
|
4
4
|
|
|
@@ -55,7 +55,7 @@ const Calendar = class {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '56cd65b62892b0c3e939f6cd77e9ba507baf4a68', class: "xpl-calendar" }, h("input", { key: '296222d3b6c0bf3e7c400d4d8c40d7d48774ea57', 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-C7bgJs6C.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: '7cfa2d58f634e41ccf1604a581fcc83a2b51676f', 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: 'c6a04082cb8aa1089d9f6cb82f3db8d7f0addf6e' })));
|
|
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-C7bgJs6C.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: '0d099456d2016263a2bdcd42b46794e08adb64cf', role: "row", class: classList, ref: (el) => {
|
|
30
30
|
this.hostElement = el;
|
|
31
|
-
} }, h("slot", { key: '
|
|
31
|
+
} }, h("slot", { key: 'c923f7f8dc4bb8a4527693259d1a8b5932bb6c10' })));
|
|
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-C7bgJs6C.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: '8f33da5fa8815400447b1690172bdaddd1079c1a', role: "grid", class: "xpl-dynamic-table", "aria-colcount": this.colCount }, h("slot", { key: '221aced83acf1fc4c904533eaedb1cd79914c5d3', name: "header" }), h("slot", { key: '6087119ce1499e94a30d09a1917d9371331f6add', 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-C7bgJs6C.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: '43cf6dd21d3d06e2d8012b716e5db5aeee676aac', class: className }, h("slot", { key: 'e08e03e4152007df7158d7122f883da1050dfde7' })));
|
|
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-C7bgJs6C.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: 'aeee950fb242a14f50ceda1d199cf427597b70f6', 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-C7bgJs6C.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: '9b45179112de8d1ac309520425a1a5c340493487', role: "group", class: `xpl-large-card ${this.link ? 'xpl-large-card__link' : ''}`, tabindex: "0" }, h("dt", { key: '4838c93a72df9ea794b3bbbd7f78f3e84a606109', class: "xpl-large-card__header" }, h("header", { key: 'eb4b2e8515be1e0763595e1cf646dc2b25bfb739' }, h("slot", { key: '62fdafe4b8ce03af5ff353c3ffa377fa547b572b', name: "title" }, this.name), this.link && (h("span", { key: 'ac0086a3402af5f12668a560ad418aaf40a56357', class: "xpl-data-card__header-arrow" }, h("xpl-icon", { key: '74eaffc571098a88d69d7248166889671ba441a2', icon: "chevron-right", size: 16 })))), this.description && (h("div", { key: 'd7d2499b7d8da9c09062ea5a456b588e52df2d82', class: "xpl-large-card__description" }, this.description))), h("dd", { key: '652e32e8b200e783f03608f97cbbcc70f59421e3', class: "xpl-large-card__body" }, hasContentSlot && h("slot", { key: '9d9f285d34bd8e2b6666577bd2023ae474636c4c', 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-C7bgJs6C.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: '122bf1f28c4fb1e460185989b2d517f1ddbfb22b', class: `xpl-main-nav xpl-main-nav--${this.width}`, "aria-label": "Sidebar" }, h("nav", { key: '4ed8ce484b394adee98ac16056ebbabcadd31625' }, h("header", { key: '829b7904323aeea21922a8d4a8fa33141cfa7913', "aria-label": "Sidebar Header" }, h("slot", { key: '8a6ea72fa4a1b26f9825a36b4ac7e64c9dbf476c', name: "logo" }), h("slot", { key: 'bf049e9ee7b83af1c4ebfef21681edcb35de9364', name: "brand-name" })), h("div", { key: 'a0ce70ccf5e4bac6346711127fba5278963910c1', class: "xpl-main-nav__main_section" }, h("slot", { key: 'bce360027342a1ef3e009bad6bc28e44c64dbd04', name: "navigation" })), h("footer", { key: '0b5f2e6cc890e4257f5e5503302492a236950f87', class: "xpl-main-nav__footer", "aria-label": "Sidebar Footer" }, h("slot", { key: '01dbe4d3834e1bc67b51108600688544e549ecde', 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-C7bgJs6C.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-C7bgJs6C.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: '7b36c9e640bd43ac38ea2625e7600e8699a13c5f', role: "row", class: "xpl-table-header" }, h("slot", { key: 'd03fe894a829477b6bf25dbd6dfa724b224b8d42' })));
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -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-C7bgJs6C.js';
|
|
2
2
|
import { v as v4 } from './v4-Cqlsd6nf.js';
|
|
3
3
|
|
|
4
4
|
const Toggle = class {
|
|
@@ -14,13 +14,13 @@ const Toggle = class {
|
|
|
14
14
|
let className = 'xpl-toggle';
|
|
15
15
|
if (this.variant === 'small')
|
|
16
16
|
className += ' xpl-toggle--small';
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '0cf2e99934bbe447559fbe88cc61989bbfabbdea', class: containerClassName }, (this.heading || this.description) && (h("label", { key: '7ab6e5535b8d88a5aabb5ced76faca68b2a8abcd', class: {
|
|
18
18
|
'xpl-label': true,
|
|
19
19
|
'xpl-label--disabled': this.disabled,
|
|
20
|
-
}, htmlFor: this.id }, this.heading, this.description && (h("small", { key: '
|
|
20
|
+
}, htmlFor: this.id }, this.heading, this.description && (h("small", { key: '0b8157e097f3890d6c521c399cf1f9c25514e341', class: {
|
|
21
21
|
'xpl-description': true,
|
|
22
22
|
'xpl-description--disabled': this.disabled,
|
|
23
|
-
} }, this.description)))), h("input", { key: '
|
|
23
|
+
} }, this.description)))), h("input", { key: '3bcfe674974e16e50a38d17836da0aa1c49fd6dc', class: className, type: "checkbox", checked: this.checked, disabled: this.disabled, id: this.id, name: this.name }), this.label && h("label", { key: 'cc91cdb86fb6bb4c7bfbabb6d47edf03adb53857', htmlFor: this.id }, this.label)));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -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-C7bgJs6C.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: '156bc52063283c17215e1d3a90c25939ae92685b', class: {
|
|
18
18
|
'xpl-toolbar': true,
|
|
19
19
|
dark: true,
|
|
20
20
|
hidden: this.selectedItemCount === 0,
|
|
21
|
-
} }, h("div", { key: '
|
|
21
|
+
} }, h("div", { key: '184e28d57a16d8ba6e10f29a95c931a036f44515', class: "toolbar" }, h("p", { key: 'ff6a7137db216c71859eac4398bbaf8bc6fe18f9', class: "selected-item-count" }, this.selectedItemCount, " Selected"), h("div", { key: 'a610539a08383a3d1d3dad8d95a8b75f43eaf1a3', class: "actions" }, h("slot", { key: 'dd8ea3150b40926ab40f36d38770daaa969a6fff', name: "actions-left" }), h("slot", { key: 'b51f8940fb52dd6880841a917574f782e0d0c72c', name: "actions-right" })))));
|
|
22
22
|
}
|
|
23
23
|
get el() { return getElement(this); }
|
|
24
24
|
};
|
|
@@ -2,27 +2,43 @@ declare const _default: {
|
|
|
2
2
|
title: string;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
|
+
declare const defaultGroupData: ({
|
|
6
|
+
name: string;
|
|
7
|
+
color: "green";
|
|
8
|
+
src?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
name: string;
|
|
11
|
+
color: "yellow";
|
|
12
|
+
src?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
name: string;
|
|
15
|
+
color: "pink";
|
|
16
|
+
src?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
src: string;
|
|
19
|
+
name: string;
|
|
20
|
+
color?: undefined;
|
|
21
|
+
})[];
|
|
22
|
+
type AvatarStatusStory = 'active' | 'blue' | 'gray' | 'green' | 'inactive' | 'orange' | 'purple' | 'red' | 'warning' | 'yellow';
|
|
23
|
+
interface AvatarArgs {
|
|
24
|
+
variant: 'default' | 'profile' | 'group' | 'with-text';
|
|
25
|
+
src: string;
|
|
26
|
+
name: string;
|
|
27
|
+
subText: string;
|
|
28
|
+
size: 'md' | 'sm' | undefined;
|
|
29
|
+
color: 'green' | 'yellow' | 'pink' | 'primary' | 'secondary';
|
|
30
|
+
status: AvatarStatusStory | undefined;
|
|
31
|
+
href: boolean;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
groupData: typeof defaultGroupData;
|
|
34
|
+
}
|
|
5
35
|
export declare const Avatar: {
|
|
6
|
-
(
|
|
7
|
-
placeholder: any;
|
|
8
|
-
name: any;
|
|
9
|
-
size: any;
|
|
10
|
-
color: any;
|
|
11
|
-
status: any;
|
|
12
|
-
link: any;
|
|
13
|
-
disabled: any;
|
|
14
|
-
}): string;
|
|
36
|
+
(args: AvatarArgs): string;
|
|
15
37
|
argTypes: {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
name: {
|
|
23
|
-
type: {
|
|
24
|
-
name: string;
|
|
25
|
-
required: boolean;
|
|
38
|
+
variant: {
|
|
39
|
+
options: string[];
|
|
40
|
+
control: {
|
|
41
|
+
type: string;
|
|
26
42
|
};
|
|
27
43
|
};
|
|
28
44
|
size: {
|
|
@@ -42,38 +58,81 @@ export declare const Avatar: {
|
|
|
42
58
|
control: {
|
|
43
59
|
type: string;
|
|
44
60
|
};
|
|
61
|
+
description: string;
|
|
45
62
|
};
|
|
46
|
-
|
|
63
|
+
src: {
|
|
47
64
|
control: {
|
|
48
65
|
type: string;
|
|
49
66
|
};
|
|
50
67
|
};
|
|
68
|
+
name: {
|
|
69
|
+
control: {
|
|
70
|
+
type: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
subText: {
|
|
74
|
+
control: {
|
|
75
|
+
type: string;
|
|
76
|
+
};
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
href: {
|
|
80
|
+
control: {
|
|
81
|
+
type: string;
|
|
82
|
+
};
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
51
85
|
disabled: {
|
|
52
86
|
control: {
|
|
53
87
|
type: string;
|
|
54
88
|
};
|
|
55
89
|
};
|
|
90
|
+
groupData: {
|
|
91
|
+
control: {
|
|
92
|
+
type: string;
|
|
93
|
+
};
|
|
94
|
+
description: string;
|
|
95
|
+
};
|
|
56
96
|
};
|
|
57
97
|
args: {
|
|
58
|
-
|
|
98
|
+
variant: "default";
|
|
99
|
+
src: string;
|
|
59
100
|
name: string;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
101
|
+
subText: string;
|
|
102
|
+
size: any;
|
|
103
|
+
color: any;
|
|
104
|
+
status: any;
|
|
105
|
+
href: false;
|
|
106
|
+
disabled: false;
|
|
107
|
+
groupData: ({
|
|
108
|
+
name: string;
|
|
109
|
+
color: "green";
|
|
110
|
+
src?: undefined;
|
|
111
|
+
} | {
|
|
112
|
+
name: string;
|
|
113
|
+
color: "yellow";
|
|
114
|
+
src?: undefined;
|
|
115
|
+
} | {
|
|
116
|
+
name: string;
|
|
117
|
+
color: "pink";
|
|
118
|
+
src?: undefined;
|
|
119
|
+
} | {
|
|
120
|
+
src: string;
|
|
121
|
+
name: string;
|
|
122
|
+
color?: undefined;
|
|
123
|
+
})[];
|
|
65
124
|
};
|
|
66
125
|
parameters: {
|
|
67
|
-
layout: string;
|
|
68
126
|
'web-component': {
|
|
69
127
|
render: string;
|
|
70
128
|
};
|
|
71
129
|
html: {
|
|
72
130
|
render: string;
|
|
73
131
|
};
|
|
132
|
+
layout: "centered";
|
|
74
133
|
design: {
|
|
75
|
-
type:
|
|
76
|
-
url:
|
|
134
|
+
readonly type: "figma";
|
|
135
|
+
readonly url: "https://www.figma.com/design/MjjYek73MFnHmVNdm45Sd1/Apollo-Web?node-id=6-1394";
|
|
77
136
|
};
|
|
78
137
|
};
|
|
79
138
|
};
|
|
@@ -1,11 +1,38 @@
|
|
|
1
|
+
import type { BadgePalette } from '../xpl-badge/xpl-badge';
|
|
2
|
+
export type AvatarColor = 'green' | 'yellow' | 'pink' | 'primary' | 'secondary';
|
|
3
|
+
export type AvatarStatus = 'active' | 'inactive' | 'warning' | BadgePalette;
|
|
4
|
+
export type AvatarVariant = 'profile' | 'group' | 'with-text';
|
|
5
|
+
export interface AvatarGroupItem {
|
|
6
|
+
src?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
color?: AvatarColor;
|
|
9
|
+
}
|
|
1
10
|
export declare class Avatar {
|
|
2
|
-
|
|
11
|
+
el: HTMLXplAvatarElement;
|
|
12
|
+
private cachedGroupItems;
|
|
13
|
+
private cachedSlotContent;
|
|
14
|
+
color?: AvatarColor;
|
|
3
15
|
disabled?: boolean;
|
|
16
|
+
groupData?: AvatarGroupItem[] | string;
|
|
17
|
+
private onGroupDataChange;
|
|
4
18
|
href?: string;
|
|
5
19
|
name?: string;
|
|
6
20
|
size?: 'md' | 'sm';
|
|
7
21
|
src?: string;
|
|
8
|
-
status?:
|
|
22
|
+
status?: AvatarStatus;
|
|
23
|
+
subText?: string;
|
|
9
24
|
target?: string;
|
|
25
|
+
variant?: AvatarVariant;
|
|
26
|
+
componentWillLoad(): void;
|
|
27
|
+
private static parseGroupData;
|
|
28
|
+
private get groupItems();
|
|
29
|
+
private get statusBadgeVariant();
|
|
30
|
+
private getPlaceholderText;
|
|
31
|
+
private static getSingleAvatarClasses;
|
|
32
|
+
private getAnchorProps;
|
|
33
|
+
private static renderAvatarMedia;
|
|
34
|
+
private renderAvatarMediaWithStatusBadge;
|
|
35
|
+
private renderGroupItem;
|
|
36
|
+
private renderWithTextContent;
|
|
10
37
|
render(): any;
|
|
11
38
|
}
|
|
@@ -78,22 +78,3 @@ export declare const Badge: {
|
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
-
export declare const AllVariants: {
|
|
82
|
-
(): string;
|
|
83
|
-
parameters: {
|
|
84
|
-
controls: {
|
|
85
|
-
disable: boolean;
|
|
86
|
-
};
|
|
87
|
-
'web-component': {
|
|
88
|
-
render: string;
|
|
89
|
-
};
|
|
90
|
-
html: {
|
|
91
|
-
render: string;
|
|
92
|
-
};
|
|
93
|
-
layout: "centered";
|
|
94
|
-
design: {
|
|
95
|
-
readonly type: "figma";
|
|
96
|
-
readonly url: "https://www.figma.com/design/MjjYek73MFnHmVNdm45Sd1/Apollo-Web?node-id=6-1395&p=f&t=aZipOZlFAFwtMW1r-11";
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
};
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
export declare class Button {
|
|
2
2
|
el: HTMLXplButtonElement;
|
|
3
|
+
controlAttrs?: {
|
|
4
|
+
id?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
'aria-controls'?: string;
|
|
7
|
+
'aria-selected'?: 'true' | 'false';
|
|
8
|
+
'aria-current'?: string;
|
|
9
|
+
};
|
|
3
10
|
disabled: boolean;
|
|
4
11
|
form?: string;
|
|
5
12
|
fullWidth: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
export declare class Checkbox {
|
|
3
|
+
id: string;
|
|
4
|
+
ariaLabel: string;
|
|
3
5
|
checked?: boolean;
|
|
4
6
|
description?: string;
|
|
5
7
|
disabled?: boolean;
|
|
@@ -9,7 +11,6 @@ export declare class Checkbox {
|
|
|
9
11
|
required?: boolean;
|
|
10
12
|
styled?: boolean;
|
|
11
13
|
dataId?: string;
|
|
12
|
-
id: string;
|
|
13
14
|
checkboxChange: EventEmitter<string | boolean>;
|
|
14
15
|
private onChange;
|
|
15
16
|
render(): any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { type Placement } from '@floating-ui/dom';
|
|
2
3
|
import type { DropdownItem } from './dropdown-option';
|
|
3
4
|
interface XplDropdownOption extends HTMLXplDropdownOptionElement {
|
|
4
5
|
hostElement: HTMLXplDropdownOptionElement;
|
|
@@ -10,6 +11,10 @@ export declare class Dropdown {
|
|
|
10
11
|
options?: DropdownItem[];
|
|
11
12
|
anchorToTrigger: boolean;
|
|
12
13
|
onAnchorToTriggerChanged(): void;
|
|
14
|
+
flipFallbackPlacements?: Placement[];
|
|
15
|
+
onFlipFallbackPlacementsChanged(): void;
|
|
16
|
+
placement: Placement;
|
|
17
|
+
onPlacementChanged(): void;
|
|
13
18
|
selectedValues?: string | string[];
|
|
14
19
|
selectOnFocus: boolean;
|
|
15
20
|
triggerId: string;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export declare class InputSearch {
|
|
3
|
+
private inputEl?;
|
|
4
|
+
el: HTMLElement;
|
|
5
|
+
private hasAncestorForm;
|
|
6
|
+
ariaLabel: string;
|
|
7
|
+
autocomplete: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
errorMessageId?: string;
|
|
10
|
+
hasError: boolean;
|
|
11
|
+
hasVisibleLabel: boolean;
|
|
12
|
+
inputId: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
readonly: boolean;
|
|
16
|
+
required: boolean;
|
|
17
|
+
shape: 'rounded' | 'box';
|
|
18
|
+
value: string;
|
|
19
|
+
blurEvent: EventEmitter<FocusEvent>;
|
|
20
|
+
focusEvent: EventEmitter<FocusEvent>;
|
|
21
|
+
inputEvent: EventEmitter<string>;
|
|
22
|
+
search: EventEmitter<string>;
|
|
23
|
+
valueChange: EventEmitter<string>;
|
|
24
|
+
connectedCallback(): void;
|
|
25
|
+
setFocus(): Promise<void>;
|
|
26
|
+
private syncAncestorFormFlag;
|
|
27
|
+
private get hasValue();
|
|
28
|
+
private get resolvedInputAriaLabel();
|
|
29
|
+
private get rendersInnerSearchForm();
|
|
30
|
+
private emitSearchCommit;
|
|
31
|
+
private handleInnerFormSubmit;
|
|
32
|
+
private handleClear;
|
|
33
|
+
private handleInput;
|
|
34
|
+
private handleKeyDown;
|
|
35
|
+
private handleFocus;
|
|
36
|
+
private handleBlur;
|
|
37
|
+
private renderShell;
|
|
38
|
+
render(): any;
|
|
39
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
export declare class Input {
|
|
3
|
+
private input;
|
|
4
|
+
private preSlotObserver?;
|
|
5
|
+
private searchInputRef?;
|
|
3
6
|
el: HTMLElement;
|
|
4
7
|
_id?: string;
|
|
5
8
|
description?: string;
|
|
@@ -32,26 +35,31 @@ export declare class Input {
|
|
|
32
35
|
defaultCountry?: string;
|
|
33
36
|
preferredCountries?: string[];
|
|
34
37
|
isInternational?: boolean;
|
|
35
|
-
|
|
38
|
+
ariaLabel: string;
|
|
39
|
+
shape?: 'rounded' | 'box';
|
|
40
|
+
type?: 'date' | 'time' | 'text' | 'number' | 'password' | 'file' | 'color' | 'phone' | 'search';
|
|
36
41
|
focusEvent: EventEmitter<FocusEvent>;
|
|
37
42
|
blurEvent: EventEmitter<FocusEvent>;
|
|
38
43
|
valueChange: EventEmitter<string>;
|
|
39
44
|
inputEvent: EventEmitter<string>;
|
|
45
|
+
search: EventEmitter<string>;
|
|
40
46
|
private valueChanged;
|
|
41
47
|
characterCount: number;
|
|
42
48
|
passwordVisible: boolean;
|
|
43
49
|
hasPreSlotContent: boolean;
|
|
44
|
-
private input;
|
|
45
|
-
private updateCharacterCount;
|
|
46
|
-
private handleFocus;
|
|
47
50
|
private handleBlur;
|
|
51
|
+
private handleFocus;
|
|
48
52
|
private handleInput;
|
|
49
|
-
private preSlotObserver?;
|
|
50
53
|
private hasDirectPreSlotChild;
|
|
51
54
|
private syncPreSlotContent;
|
|
55
|
+
private updateCharacterCount;
|
|
52
56
|
componentWillLoad(): void;
|
|
53
57
|
componentDidLoad(): void;
|
|
54
58
|
disconnectedCallback(): void;
|
|
59
|
+
setFocus(): Promise<void>;
|
|
60
|
+
private handleSearchBlurForward;
|
|
61
|
+
private handleSearchCommit;
|
|
62
|
+
private handleSearchFocusForward;
|
|
55
63
|
private renderInput;
|
|
56
64
|
render(): any;
|
|
57
65
|
}
|