@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
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
interface SpotlightStoryArgs {
|
|
2
|
+
showActions: boolean;
|
|
3
|
+
actionLayout: 'default' | 'dual' | 'single';
|
|
4
|
+
anchorPosition: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
5
|
+
body: string;
|
|
6
|
+
currentStep: number;
|
|
7
|
+
heading: string;
|
|
8
|
+
isDismissible: boolean;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
primaryActionLabel: string;
|
|
11
|
+
secondaryActionLabel: string;
|
|
12
|
+
showImage: boolean;
|
|
13
|
+
showSteps: boolean;
|
|
14
|
+
target: string;
|
|
15
|
+
totalSteps: number;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: {
|
|
18
|
+
title: string;
|
|
19
|
+
component: string;
|
|
20
|
+
argTypes: {
|
|
21
|
+
showActions: {
|
|
22
|
+
control: "boolean";
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
actionLayout: {
|
|
26
|
+
options: string[];
|
|
27
|
+
control: {
|
|
28
|
+
type: "select";
|
|
29
|
+
};
|
|
30
|
+
description: string;
|
|
31
|
+
if: {
|
|
32
|
+
arg: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
anchorPosition: {
|
|
36
|
+
options: string[];
|
|
37
|
+
control: {
|
|
38
|
+
type: "select";
|
|
39
|
+
};
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
body: {
|
|
43
|
+
control: "text";
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
currentStep: {
|
|
47
|
+
control: {
|
|
48
|
+
type: "number";
|
|
49
|
+
min: number;
|
|
50
|
+
};
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
heading: {
|
|
54
|
+
control: "text";
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
isDismissible: {
|
|
58
|
+
control: "boolean";
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
isOpen: {
|
|
62
|
+
control: "boolean";
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
primaryActionLabel: {
|
|
66
|
+
control: "text";
|
|
67
|
+
description: string;
|
|
68
|
+
};
|
|
69
|
+
secondaryActionLabel: {
|
|
70
|
+
control: "text";
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
showImage: {
|
|
74
|
+
control: "boolean";
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
showSteps: {
|
|
78
|
+
control: "boolean";
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
81
|
+
target: {
|
|
82
|
+
control: "text";
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
totalSteps: {
|
|
86
|
+
control: {
|
|
87
|
+
type: "number";
|
|
88
|
+
min: number;
|
|
89
|
+
};
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export default _default;
|
|
95
|
+
export declare const Spotlight: {
|
|
96
|
+
({ actionLayout, anchorPosition, body, currentStep, heading, isDismissible, isOpen, primaryActionLabel, secondaryActionLabel, showActions, showImage, showSteps, target, totalSteps, }: SpotlightStoryArgs): string;
|
|
97
|
+
args: {
|
|
98
|
+
showActions: true;
|
|
99
|
+
actionLayout: "default";
|
|
100
|
+
anchorPosition: "top-left";
|
|
101
|
+
body: string;
|
|
102
|
+
currentStep: number;
|
|
103
|
+
heading: string;
|
|
104
|
+
isDismissible: true;
|
|
105
|
+
isOpen: true;
|
|
106
|
+
primaryActionLabel: string;
|
|
107
|
+
secondaryActionLabel: string;
|
|
108
|
+
showImage: true;
|
|
109
|
+
showSteps: true;
|
|
110
|
+
target: string;
|
|
111
|
+
totalSteps: number;
|
|
112
|
+
};
|
|
113
|
+
parameters: {
|
|
114
|
+
layout: string;
|
|
115
|
+
docs: {
|
|
116
|
+
description: {
|
|
117
|
+
story: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
design: {
|
|
121
|
+
type: string;
|
|
122
|
+
url: string;
|
|
123
|
+
};
|
|
124
|
+
'web-component': {
|
|
125
|
+
render: string;
|
|
126
|
+
};
|
|
127
|
+
html: {
|
|
128
|
+
render: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
export declare const WithMediaSlot: {
|
|
133
|
+
({ showActions, actionLayout, anchorPosition, body, currentStep, heading, isDismissible, isOpen, primaryActionLabel, secondaryActionLabel, showImage, showSteps, target, totalSteps, }: SpotlightStoryArgs): string;
|
|
134
|
+
args: {
|
|
135
|
+
showActions: true;
|
|
136
|
+
actionLayout: "default";
|
|
137
|
+
anchorPosition: "top-left";
|
|
138
|
+
body: string;
|
|
139
|
+
currentStep: number;
|
|
140
|
+
heading: string;
|
|
141
|
+
isDismissible: true;
|
|
142
|
+
isOpen: true;
|
|
143
|
+
primaryActionLabel: string;
|
|
144
|
+
secondaryActionLabel: string;
|
|
145
|
+
showImage: true;
|
|
146
|
+
showSteps: true;
|
|
147
|
+
target: string;
|
|
148
|
+
totalSteps: number;
|
|
149
|
+
};
|
|
150
|
+
parameters: {
|
|
151
|
+
layout: string;
|
|
152
|
+
docs: {
|
|
153
|
+
description: {
|
|
154
|
+
story: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
'web-component': {
|
|
158
|
+
render: string;
|
|
159
|
+
};
|
|
160
|
+
html: {
|
|
161
|
+
render: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
export declare const TargetClickToggle: {
|
|
166
|
+
({ actionLayout, anchorPosition, body, currentStep, heading, isDismissible, isOpen, primaryActionLabel, secondaryActionLabel, showActions, showImage, showSteps, totalSteps, }: SpotlightStoryArgs): string;
|
|
167
|
+
args: {
|
|
168
|
+
showActions: true;
|
|
169
|
+
actionLayout: "single";
|
|
170
|
+
anchorPosition: "bottom-right";
|
|
171
|
+
body: string;
|
|
172
|
+
currentStep: number;
|
|
173
|
+
heading: string;
|
|
174
|
+
isDismissible: true;
|
|
175
|
+
isOpen: false;
|
|
176
|
+
primaryActionLabel: string;
|
|
177
|
+
secondaryActionLabel: string;
|
|
178
|
+
showImage: false;
|
|
179
|
+
showSteps: false;
|
|
180
|
+
target: string;
|
|
181
|
+
totalSteps: number;
|
|
182
|
+
};
|
|
183
|
+
parameters: {
|
|
184
|
+
layout: string;
|
|
185
|
+
docs: {
|
|
186
|
+
description: {
|
|
187
|
+
story: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
'web-component': {
|
|
191
|
+
render: string;
|
|
192
|
+
};
|
|
193
|
+
html: {
|
|
194
|
+
render: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type SpotlightAnchorPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
3
|
+
export type SpotlightActionLayout = 'default' | 'dual' | 'single';
|
|
4
|
+
export declare class Spotlight {
|
|
5
|
+
private cleanupAutoUpdate;
|
|
6
|
+
private enterVisibleFrameId;
|
|
7
|
+
private focusAbort;
|
|
8
|
+
private focusFrameId;
|
|
9
|
+
private hasCompletedInitialLoad;
|
|
10
|
+
private readonly headingId;
|
|
11
|
+
private pendingEnterTransitionAfterAnchor;
|
|
12
|
+
private pendingEnterVisible;
|
|
13
|
+
private positioningGeneration;
|
|
14
|
+
private previousFocus;
|
|
15
|
+
private referenceEl;
|
|
16
|
+
private shouldMoveFocusOnRender;
|
|
17
|
+
private shouldReinitializeAfterReconnect;
|
|
18
|
+
private slotContentObserver;
|
|
19
|
+
el: HTMLXplSpotlightElement;
|
|
20
|
+
private hasBodySlotContent;
|
|
21
|
+
private hasFloatingPosition;
|
|
22
|
+
private hasImageSlotContent;
|
|
23
|
+
private hasTitleSlotContent;
|
|
24
|
+
private isVisible;
|
|
25
|
+
private resolvedAnchorPosition;
|
|
26
|
+
actionLayout: SpotlightActionLayout;
|
|
27
|
+
anchorPosition: SpotlightAnchorPosition;
|
|
28
|
+
onAnchorPositionChange(): void;
|
|
29
|
+
body?: string;
|
|
30
|
+
currentStep: number;
|
|
31
|
+
heading?: string;
|
|
32
|
+
isDismissible: boolean;
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
onIsOpenChange(isOpen: boolean): void;
|
|
35
|
+
primaryActionLabel: string;
|
|
36
|
+
secondaryActionLabel: string;
|
|
37
|
+
showActions: boolean;
|
|
38
|
+
showImage: boolean;
|
|
39
|
+
showSteps: boolean;
|
|
40
|
+
target?: string;
|
|
41
|
+
onTargetChange(): void;
|
|
42
|
+
totalSteps: number;
|
|
43
|
+
dismiss: EventEmitter<void>;
|
|
44
|
+
primaryAction: EventEmitter<void>;
|
|
45
|
+
secondaryAction: EventEmitter<void>;
|
|
46
|
+
targetClick: EventEmitter<void>;
|
|
47
|
+
connectedCallback(): void;
|
|
48
|
+
disconnectedCallback(): void;
|
|
49
|
+
componentWillLoad(): void;
|
|
50
|
+
componentDidLoad(): void;
|
|
51
|
+
componentDidRender(): void;
|
|
52
|
+
handleKeyDown(ev: KeyboardEvent): void;
|
|
53
|
+
private emitDismiss;
|
|
54
|
+
private handleDismissClick;
|
|
55
|
+
private handlePrimaryClick;
|
|
56
|
+
private handleSecondaryClick;
|
|
57
|
+
private handleTargetClick;
|
|
58
|
+
private get effectiveTotalSteps();
|
|
59
|
+
private get effectiveCurrentStep();
|
|
60
|
+
private get isDismissibleEnabled();
|
|
61
|
+
private get isOpenEnabled();
|
|
62
|
+
private get isSingleActionLayout();
|
|
63
|
+
private get usesHiddenEdgeActions();
|
|
64
|
+
private get isPrimaryStepActionDisabled();
|
|
65
|
+
private get isSecondaryStepActionDisabled();
|
|
66
|
+
private get shouldShowPrimaryAction();
|
|
67
|
+
private get shouldShowSecondaryAction();
|
|
68
|
+
private get hasRenderableFocusChrome();
|
|
69
|
+
private get showActionsEnabled();
|
|
70
|
+
private get showImageEnabled();
|
|
71
|
+
private get showStepsEnabled();
|
|
72
|
+
private get headingPropHasText();
|
|
73
|
+
private get bodyPropHasText();
|
|
74
|
+
private focusInitial;
|
|
75
|
+
private shouldHandleDismissKeyboardEvent;
|
|
76
|
+
private restoreFocus;
|
|
77
|
+
private cancelPendingFocusWait;
|
|
78
|
+
private cancelEnterTransition;
|
|
79
|
+
private scheduleEnterTransition;
|
|
80
|
+
private getFirstTitleSlottedElement;
|
|
81
|
+
private syncTitleSlotIds;
|
|
82
|
+
private getDialogLabelId;
|
|
83
|
+
private handleBodySlotChange;
|
|
84
|
+
private handleTitleSlotChange;
|
|
85
|
+
private refreshBodySlotState;
|
|
86
|
+
private refreshTitleSlotState;
|
|
87
|
+
private handleImageSlotChange;
|
|
88
|
+
private handleSlotContentMutation;
|
|
89
|
+
private static coerceBoolean;
|
|
90
|
+
private refreshImageSlotState;
|
|
91
|
+
private startSlotContentObserver;
|
|
92
|
+
private stopSlotContentObserver;
|
|
93
|
+
private hasSlottedContent;
|
|
94
|
+
private startPositioning;
|
|
95
|
+
private detachFloatingUiListeners;
|
|
96
|
+
private resetFloatingHostPosition;
|
|
97
|
+
private clearFloatingHostCoordinates;
|
|
98
|
+
private stopPositioning;
|
|
99
|
+
private updatePosition;
|
|
100
|
+
render(): any;
|
|
101
|
+
}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
export declare class Tab {
|
|
3
|
-
|
|
3
|
+
el: HTMLElement;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
fullWidth: boolean;
|
|
6
|
+
groupDisabled: boolean;
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconPosition: 'start' | 'end';
|
|
4
9
|
selected: boolean;
|
|
10
|
+
target: string;
|
|
11
|
+
variant: 'tabs' | 'segment';
|
|
5
12
|
tabChange: EventEmitter<string>;
|
|
13
|
+
getFocusableElement(): Promise<HTMLButtonElement | null>;
|
|
14
|
+
setTabIndex(value: number): Promise<void>;
|
|
15
|
+
focusTrigger(): Promise<void>;
|
|
16
|
+
private get a11yIds();
|
|
17
|
+
private get effectivelyDisabled();
|
|
18
|
+
private get isSegment();
|
|
6
19
|
private handleTabClick;
|
|
7
20
|
render(): any;
|
|
8
21
|
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { type TabsStoryArgs, type TabsStoryRenderContext } from './tabs.shared';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: string;
|
|
5
|
+
parameters: {
|
|
6
|
+
actions: {
|
|
7
|
+
handles: string[];
|
|
8
|
+
};
|
|
9
|
+
docs: {
|
|
10
|
+
description: {
|
|
11
|
+
component: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
type: {
|
|
17
|
+
table: {
|
|
18
|
+
disable: true;
|
|
19
|
+
};
|
|
20
|
+
options: string[];
|
|
21
|
+
control: {
|
|
22
|
+
type: "select";
|
|
23
|
+
};
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
table: {
|
|
28
|
+
category: string;
|
|
29
|
+
};
|
|
30
|
+
control: {
|
|
31
|
+
type: "boolean";
|
|
32
|
+
};
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
fullWidth: {
|
|
36
|
+
table: {
|
|
37
|
+
category: string;
|
|
38
|
+
};
|
|
39
|
+
control: {
|
|
40
|
+
type: "boolean";
|
|
41
|
+
};
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
value: {
|
|
45
|
+
table: {
|
|
46
|
+
category: string;
|
|
47
|
+
};
|
|
48
|
+
control: {
|
|
49
|
+
type: "text";
|
|
50
|
+
};
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
tabCount: {
|
|
54
|
+
table: {
|
|
55
|
+
category: string;
|
|
56
|
+
};
|
|
57
|
+
control: {
|
|
58
|
+
type: "number";
|
|
59
|
+
min: number;
|
|
60
|
+
max: number;
|
|
61
|
+
step: number;
|
|
62
|
+
};
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
tabDisabled: {
|
|
66
|
+
table: {
|
|
67
|
+
category: string;
|
|
68
|
+
};
|
|
69
|
+
control: {
|
|
70
|
+
type: "boolean";
|
|
71
|
+
};
|
|
72
|
+
description: string;
|
|
73
|
+
};
|
|
74
|
+
icon: {
|
|
75
|
+
table: {
|
|
76
|
+
category: string;
|
|
77
|
+
};
|
|
78
|
+
control: {
|
|
79
|
+
type: "text";
|
|
80
|
+
};
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
iconPosition: {
|
|
84
|
+
table: {
|
|
85
|
+
category: string;
|
|
86
|
+
};
|
|
87
|
+
options: string[];
|
|
88
|
+
control: {
|
|
89
|
+
type: "radio";
|
|
90
|
+
};
|
|
91
|
+
description: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export default _default;
|
|
96
|
+
export declare const SegmentControl: {
|
|
97
|
+
(args: TabsStoryArgs, context?: TabsStoryRenderContext): string;
|
|
98
|
+
args: TabsStoryArgs;
|
|
99
|
+
parameters: {
|
|
100
|
+
layout: string;
|
|
101
|
+
'web-component': {
|
|
102
|
+
render: string;
|
|
103
|
+
};
|
|
104
|
+
html: {
|
|
105
|
+
render: string;
|
|
106
|
+
};
|
|
107
|
+
design: {
|
|
108
|
+
type: string;
|
|
109
|
+
url: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
export interface TabsStoryArgs {
|
|
2
|
+
type: 'tabs' | 'segment';
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
fullWidth: boolean;
|
|
5
|
+
value: string;
|
|
6
|
+
tabCount: number;
|
|
7
|
+
tabDisabled: boolean;
|
|
8
|
+
icon: string;
|
|
9
|
+
iconPosition: 'start' | 'end';
|
|
10
|
+
}
|
|
11
|
+
export declare function escapeHtmlAttr(value: string): string;
|
|
12
|
+
export declare function clampTabCount(n: number): number;
|
|
13
|
+
export declare function coerceTabsStoryValue(args: TabsStoryArgs): string;
|
|
14
|
+
export declare function buildTabsMarkup(args: TabsStoryArgs): string;
|
|
15
|
+
export interface TabsStoryRenderContext {
|
|
16
|
+
updateArgs?: (next: Partial<TabsStoryArgs>) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare function renderTabsStoryMarkup(args: TabsStoryArgs, context?: TabsStoryRenderContext): string;
|
|
19
|
+
export declare const tabsPlainDomUnderlineStoryHtml = "<---- Non-interactive plain DOM (tabs.css BEM). Not the <xpl-tabs> API; use the Web Component tab for that. Ids mirror the scoped pattern (data-tabs-instance-id + target). ---->\n<div class=\"xpl-tabs\" data-tabs-instance-id=\"xpl-tg-1\">\n <xpl-select class-names=\"xpl-tabs__mobile-select\" selected-values=\"tab0\"></xpl-select>\n <nav class=\"xpl-tabs__headings\" role=\"tablist\" aria-orientation=\"horizontal\">\n <div class=\"xpl-tabs__active-bar\"></div>\n <div class=\"xpl-tab xpl-tab--selected\">\n <button class=\"xpl-tab__button\" type=\"button\" role=\"tab\" id=\"xpl-tg-1-tab-tab0\" aria-controls=\"xpl-tg-1-panel-tab0\" aria-selected=\"true\">Tab 1</button>\n </div>\n <div class=\"xpl-tab\">\n <button class=\"xpl-tab__button\" type=\"button\" role=\"tab\" id=\"xpl-tg-1-tab-tab1\" aria-controls=\"xpl-tg-1-panel-tab1\" aria-selected=\"false\">Tab 2</button>\n </div>\n </nav>\n <div class=\"xpl-tabs__panels\">\n <div class=\"xpl-tab-panel xpl-tab-panel--selected\" role=\"tabpanel\" id=\"xpl-tg-1-panel-tab0\" aria-labelledby=\"xpl-tg-1-tab-tab0\">Content for tab 1</div>\n <div class=\"xpl-tab-panel\" role=\"tabpanel\" id=\"xpl-tg-1-panel-tab1\" aria-labelledby=\"xpl-tg-1-tab-tab1\">Content for tab 2</div>\n </div>\n</div>";
|
|
20
|
+
export declare const tabsPlainDomSegmentStoryHtml = "<---- Segment (type='segment'): Stencil renders xpl-tab.xpl-tab--segment > xpl-button; xpl-tab assigns id, role, and aria-* on the inner native <button>. Plain buttons below only illustrate tablist \u2194 tabpanel id wiring (not .xpl-tab__button). ---->\n<div class=\"xpl-tabs xpl-tabs--segment\" data-tabs-instance-id=\"xpl-tg-2\">\n <xpl-select class-names=\"xpl-tabs__mobile-select\" selected-values=\"tab0\"></xpl-select>\n <nav class=\"xpl-tabs__headings\" role=\"tablist\" aria-orientation=\"horizontal\">\n <div class=\"xpl-tab xpl-tab--segment xpl-tab--selected\">\n <button type=\"button\" role=\"tab\" id=\"xpl-tg-2-tab-tab0\" aria-controls=\"xpl-tg-2-panel-tab0\" aria-selected=\"true\">Segment 1</button>\n </div>\n <div class=\"xpl-tab xpl-tab--segment\">\n <button type=\"button\" role=\"tab\" id=\"xpl-tg-2-tab-tab1\" aria-controls=\"xpl-tg-2-panel-tab1\" aria-selected=\"false\">Segment 2</button>\n </div>\n </nav>\n <div class=\"xpl-tabs__panels\">\n <div class=\"xpl-tab-panel xpl-tab-panel--selected\" role=\"tabpanel\" id=\"xpl-tg-2-panel-tab0\" aria-labelledby=\"xpl-tg-2-tab-tab0\">Content for segment 1</div>\n <div class=\"xpl-tab-panel\" role=\"tabpanel\" id=\"xpl-tg-2-panel-tab1\" aria-labelledby=\"xpl-tg-2-tab-tab1\">Content for segment 2</div>\n </div>\n</div>";
|
|
21
|
+
export declare const tabsStoryBaseArgTypes: {
|
|
22
|
+
type: {
|
|
23
|
+
options: string[];
|
|
24
|
+
control: {
|
|
25
|
+
type: "select";
|
|
26
|
+
};
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
disabled: {
|
|
30
|
+
control: {
|
|
31
|
+
type: "boolean";
|
|
32
|
+
};
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
fullWidth: {
|
|
36
|
+
control: {
|
|
37
|
+
type: "boolean";
|
|
38
|
+
};
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
value: {
|
|
42
|
+
control: {
|
|
43
|
+
type: "text";
|
|
44
|
+
};
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
tabCount: {
|
|
48
|
+
control: {
|
|
49
|
+
type: "number";
|
|
50
|
+
min: number;
|
|
51
|
+
max: number;
|
|
52
|
+
step: number;
|
|
53
|
+
};
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
tabDisabled: {
|
|
57
|
+
control: {
|
|
58
|
+
type: "boolean";
|
|
59
|
+
};
|
|
60
|
+
description: string;
|
|
61
|
+
};
|
|
62
|
+
icon: {
|
|
63
|
+
control: {
|
|
64
|
+
type: "text";
|
|
65
|
+
};
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
iconPosition: {
|
|
69
|
+
options: string[];
|
|
70
|
+
control: {
|
|
71
|
+
type: "radio";
|
|
72
|
+
};
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
export declare const segmentControlStoryArgTypes: {
|
|
77
|
+
type: {
|
|
78
|
+
table: {
|
|
79
|
+
disable: true;
|
|
80
|
+
};
|
|
81
|
+
options: string[];
|
|
82
|
+
control: {
|
|
83
|
+
type: "select";
|
|
84
|
+
};
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
disabled: {
|
|
88
|
+
table: {
|
|
89
|
+
category: string;
|
|
90
|
+
};
|
|
91
|
+
control: {
|
|
92
|
+
type: "boolean";
|
|
93
|
+
};
|
|
94
|
+
description: string;
|
|
95
|
+
};
|
|
96
|
+
fullWidth: {
|
|
97
|
+
table: {
|
|
98
|
+
category: string;
|
|
99
|
+
};
|
|
100
|
+
control: {
|
|
101
|
+
type: "boolean";
|
|
102
|
+
};
|
|
103
|
+
description: string;
|
|
104
|
+
};
|
|
105
|
+
value: {
|
|
106
|
+
table: {
|
|
107
|
+
category: string;
|
|
108
|
+
};
|
|
109
|
+
control: {
|
|
110
|
+
type: "text";
|
|
111
|
+
};
|
|
112
|
+
description: string;
|
|
113
|
+
};
|
|
114
|
+
tabCount: {
|
|
115
|
+
table: {
|
|
116
|
+
category: string;
|
|
117
|
+
};
|
|
118
|
+
control: {
|
|
119
|
+
type: "number";
|
|
120
|
+
min: number;
|
|
121
|
+
max: number;
|
|
122
|
+
step: number;
|
|
123
|
+
};
|
|
124
|
+
description: string;
|
|
125
|
+
};
|
|
126
|
+
tabDisabled: {
|
|
127
|
+
table: {
|
|
128
|
+
category: string;
|
|
129
|
+
};
|
|
130
|
+
control: {
|
|
131
|
+
type: "boolean";
|
|
132
|
+
};
|
|
133
|
+
description: string;
|
|
134
|
+
};
|
|
135
|
+
icon: {
|
|
136
|
+
table: {
|
|
137
|
+
category: string;
|
|
138
|
+
};
|
|
139
|
+
control: {
|
|
140
|
+
type: "text";
|
|
141
|
+
};
|
|
142
|
+
description: string;
|
|
143
|
+
};
|
|
144
|
+
iconPosition: {
|
|
145
|
+
table: {
|
|
146
|
+
category: string;
|
|
147
|
+
};
|
|
148
|
+
options: string[];
|
|
149
|
+
control: {
|
|
150
|
+
type: "radio";
|
|
151
|
+
};
|
|
152
|
+
description: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
export declare const tabsUnderlineDefaultArgs: TabsStoryArgs;
|
|
156
|
+
export declare const segmentControlDefaultArgs: TabsStoryArgs;
|
|
@@ -1,40 +1,93 @@
|
|
|
1
|
+
import { type TabsStoryArgs, type TabsStoryRenderContext } from './tabs.shared';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
4
|
+
component: string;
|
|
3
5
|
parameters: {
|
|
4
6
|
actions: {
|
|
5
7
|
handles: string[];
|
|
6
8
|
};
|
|
9
|
+
docs: {
|
|
10
|
+
description: {
|
|
11
|
+
component: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
7
14
|
};
|
|
8
15
|
argTypes: {
|
|
9
|
-
|
|
16
|
+
type: {
|
|
17
|
+
table: {
|
|
18
|
+
disable: true;
|
|
19
|
+
};
|
|
20
|
+
options: string[];
|
|
10
21
|
control: {
|
|
11
|
-
type: "
|
|
22
|
+
type: "select";
|
|
23
|
+
};
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
icon: {
|
|
27
|
+
table: {
|
|
28
|
+
disable: true;
|
|
29
|
+
};
|
|
30
|
+
control: {
|
|
31
|
+
type: "text";
|
|
32
|
+
};
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
iconPosition: {
|
|
36
|
+
table: {
|
|
37
|
+
disable: true;
|
|
38
|
+
};
|
|
39
|
+
options: string[];
|
|
40
|
+
control: {
|
|
41
|
+
type: "radio";
|
|
42
|
+
};
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
disabled: {
|
|
46
|
+
control: {
|
|
47
|
+
type: "boolean";
|
|
12
48
|
};
|
|
49
|
+
description: string;
|
|
13
50
|
};
|
|
14
51
|
fullWidth: {
|
|
15
52
|
control: {
|
|
16
53
|
type: "boolean";
|
|
17
54
|
};
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
value: {
|
|
58
|
+
control: {
|
|
59
|
+
type: "text";
|
|
60
|
+
};
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
tabCount: {
|
|
64
|
+
control: {
|
|
65
|
+
type: "number";
|
|
66
|
+
min: number;
|
|
67
|
+
max: number;
|
|
68
|
+
step: number;
|
|
69
|
+
};
|
|
70
|
+
description: string;
|
|
71
|
+
};
|
|
72
|
+
tabDisabled: {
|
|
73
|
+
control: {
|
|
74
|
+
type: "boolean";
|
|
75
|
+
};
|
|
76
|
+
description: string;
|
|
18
77
|
};
|
|
19
78
|
};
|
|
20
79
|
};
|
|
21
80
|
export default _default;
|
|
22
81
|
export declare const Tabs: {
|
|
23
|
-
(
|
|
24
|
-
|
|
25
|
-
fullWidth: any;
|
|
26
|
-
}): string;
|
|
27
|
-
args: {
|
|
28
|
-
tabsLength: number;
|
|
29
|
-
fullWidth: boolean;
|
|
30
|
-
};
|
|
82
|
+
(args: TabsStoryArgs, context?: TabsStoryRenderContext): string;
|
|
83
|
+
args: TabsStoryArgs;
|
|
31
84
|
parameters: {
|
|
32
85
|
layout: string;
|
|
33
86
|
'web-component': {
|
|
34
|
-
render: string
|
|
87
|
+
render: string;
|
|
35
88
|
};
|
|
36
89
|
html: {
|
|
37
|
-
render: string
|
|
90
|
+
render: string;
|
|
38
91
|
};
|
|
39
92
|
design: {
|
|
40
93
|
type: string;
|