@ukic/web-components 2.35.2 → 3.0.0-alpha.10
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/README.md +0 -4
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-6f6991cb.js → helpers-eca4c27e.js} +70 -26
- package/dist/cjs/helpers-eca4c27e.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +14 -15
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +7 -8
- package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +8 -9
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +15 -16
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +22 -51
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +26 -14
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +53 -8
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +59 -53
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +150 -0
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +21 -10
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +8 -16
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +22 -23
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +32 -0
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-data-row.cjs.entry.js +12 -12
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +14 -105
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +73 -10
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +9 -8
- package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +12 -14
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +11 -12
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +11 -13
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +12 -15
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +15 -9
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +478 -201
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +26 -31
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +22 -15
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +2 -3
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +12 -13
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +12 -10
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +14 -14
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +11 -10
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +10 -10
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +8 -12
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +51 -46
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +23 -4
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +32 -18
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +34 -40
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +56 -57
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +194 -81
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +19 -22
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +5 -6
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +8 -16
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +41 -46
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +27 -18
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +17 -18
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +34 -28
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +9 -11
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +12 -11
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +10 -9
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +86 -77
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +45 -22
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +0 -7
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +83 -36
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +63 -30
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +64 -33
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +17 -12
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +9 -8
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/index-f982899d.js +16 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/ag-theme-icds.css +32 -31
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/ic-accordion/ic-accordion.css +23 -19
- package/dist/collection/components/ic-accordion/ic-accordion.js +31 -34
- package/dist/collection/components/ic-accordion/ic-accordion.js.map +1 -1
- package/dist/collection/components/ic-accordion/ic-accordion.stories.js +52 -76
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js +3 -3
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.css +5 -11
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +27 -27
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js +9 -9
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js.map +1 -1
- package/dist/collection/components/ic-alert/ic-alert.css +34 -18
- package/dist/collection/components/ic-alert/ic-alert.js +49 -42
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-alert/ic-alert.stories.js +30 -16
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +1 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +22 -59
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +38 -14
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +23 -10
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.css +65 -41
- package/dist/collection/components/ic-badge/ic-badge.js +51 -99
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.stories.js +50 -40
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +40 -50
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +20 -10
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +104 -34
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +48 -4
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +7 -5
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +66 -33
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.stories.js +60 -200
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +3 -3
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +730 -432
- package/dist/collection/components/ic-button/ic-button.js +72 -59
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.stories.js +1246 -1256
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +9 -9
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -1
- package/dist/collection/components/{ic-card/ic-card.css → ic-card-vertical/ic-card-vertical.css} +99 -109
- package/dist/collection/components/{ic-card/ic-card.js → ic-card-vertical/ic-card-vertical.js} +65 -39
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js.map +1 -0
- package/dist/collection/components/{ic-card/ic-card.stories.js → ic-card-vertical/ic-card-vertical.stories.js} +61 -45
- package/dist/collection/components/{ic-card/test/basic/ic-card.spec.js → ic-card-vertical/test/basic/ic-card-vertical.spec.js} +43 -43
- package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js.map +1 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +54 -45
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +22 -128
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +19 -4
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +38 -21
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +18 -6
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +2 -2
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.css +66 -53
- package/dist/collection/components/ic-chip/ic-chip.js +44 -68
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.stories.js +713 -403
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +16 -0
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +17 -11
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- package/dist/collection/components/{ic-data-entity/ic-data-entity.css → ic-data-list/ic-data-list.css} +7 -3
- package/dist/collection/components/{ic-data-entity/ic-data-entity.js → ic-data-list/ic-data-list.js} +33 -27
- package/dist/collection/components/ic-data-list/ic-data-list.js.map +1 -0
- package/dist/collection/components/{ic-data-entity/ic-data-entity.stories.js → ic-data-list/ic-data-list.stories.js} +59 -53
- package/dist/collection/components/{ic-data-entity/test/basic/ic-data-entity.spec.js → ic-data-list/test/basic/ic-data-list.spec.js} +32 -32
- package/dist/collection/components/ic-data-list/test/basic/ic-data-list.spec.js.map +1 -0
- package/dist/collection/components/ic-data-row/ic-data-row.css +6 -3
- package/dist/collection/components/ic-data-row/ic-data-row.js +28 -24
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +4 -4
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.css +19 -15
- package/dist/collection/components/ic-dialog/ic-dialog.js +28 -212
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.stories.js +19 -225
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +5 -228
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -1
- package/dist/collection/components/ic-divider/ic-divider.css +295 -4
- package/dist/collection/components/ic-divider/ic-divider.js +239 -12
- package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
- package/dist/collection/components/ic-divider/ic-divider.stories.js +394 -0
- package/dist/collection/components/ic-divider/ic-divider.types.js +2 -0
- package/dist/collection/components/ic-divider/ic-divider.types.js.map +1 -0
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +90 -5
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.css +21 -6
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +35 -9
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.stories.js +13 -6
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +101 -0
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.css +30 -22
- package/dist/collection/components/ic-footer/ic-footer.js +13 -14
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.stories.js +23 -22
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +3 -3
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.css +49 -100
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +12 -12
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +1 -1
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +19 -27
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +15 -16
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +8 -8
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.css +38 -23
- package/dist/collection/components/ic-hero/ic-hero.js +18 -41
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.stories.js +65 -106
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +8 -8
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +7 -11
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +65 -10
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +43 -0
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +70 -42
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +12 -87
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +10 -10
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
- package/dist/collection/components/ic-input-label/ic-input-label.css +19 -21
- package/dist/collection/components/ic-input-label/ic-input-label.js +52 -74
- package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +14 -58
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +13 -4
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +7 -7
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +4 -4
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.css +77 -45
- package/dist/collection/components/ic-link/ic-link.js +64 -58
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.stories.js +16 -45
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +19 -114
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +24 -16
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +73 -50
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.stories.js +84 -36
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +3 -2
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.css +119 -30
- package/dist/collection/components/ic-menu/ic-menu.js +525 -228
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +382 -34
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.css +3 -2
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +63 -44
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +30 -30
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +2 -2
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +14 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +38 -11
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +3 -3
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +28 -21
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +39 -14
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +3 -3
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +33 -29
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +36 -10
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +3 -3
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +13 -5
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +27 -2
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.css +4 -3
- package/dist/collection/components/ic-page-header/ic-page-header.js +34 -30
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.stories.js +306 -40
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +15 -15
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.css +15 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js +97 -73
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.stories.js +69 -30
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +27 -27
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +36 -13
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +48 -33
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +10 -6
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +45 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +34 -16
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +21 -5
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +58 -38
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +21 -28
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +3 -3
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +40 -30
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +58 -148
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +115 -16
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +112 -129
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.stories.js +21 -19
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +78 -112
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.css +103 -63
- package/dist/collection/components/ic-select/ic-select.js +269 -220
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select_(multi).stories.js +892 -0
- package/dist/collection/components/ic-select/{ic-select-searchable.stories.js → ic-select_(searchable).stories.js} +21 -9
- package/dist/collection/components/ic-select/{ic-select-single.stories.js → ic-select_(single).stories.js} +14 -4
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +230 -7
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +60 -43
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +22 -24
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.stories.js +11 -11
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +3 -110
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.css +5 -28
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +17 -33
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.stories.js +11 -9
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +1 -1
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +20 -17
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +44 -62
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.stories.js +41 -6
- package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +1 -1
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +15 -32
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.css +97 -128
- package/dist/collection/components/ic-step/ic-step.js +77 -54
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +30 -30
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.css +4 -4
- package/dist/collection/components/ic-stepper/ic-stepper.js +51 -33
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.stories.js +103 -153
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +37 -37
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +237 -237
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.css +26 -49
- package/dist/collection/components/ic-switch/ic-switch.js +33 -48
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.stories.js +20 -42
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +1 -15
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.css +47 -21
- package/dist/collection/components/ic-tab/ic-tab.js +56 -34
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +2 -2
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +79 -76
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tabs.stories.js +11 -83
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +3 -3
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.css +15 -8
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +52 -54
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +2 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +91 -30
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +50 -0
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.css +71 -13
- package/dist/collection/components/ic-text-field/ic-text-field.js +122 -128
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.stories.js +36 -257
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +59 -26
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +59 -58
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.js +81 -33
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.stories.js +271 -8
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +7 -7
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +24 -22
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.css +40 -17
- package/dist/collection/components/ic-toast/ic-toast.js +83 -33
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.stories.js +1 -18
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +55 -19
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -1
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -43
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -20
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +217 -79
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +126 -69
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.stories.js +16 -126
- package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js +4 -4
- package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.css +29 -19
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +116 -52
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.stories.js +140 -165
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +121 -39
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +14 -5
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +30 -2
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +10 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +14 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +46 -20
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +44 -14
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.stories.js +28 -13
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +3 -3
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.css +16 -12
- package/dist/collection/components/ic-typography/ic-typography.js +31 -5
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.stories.js +10 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +14 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -1
- package/dist/collection/patterns/z-index.stories.js +2 -2
- package/dist/collection/utils/constants.js +1 -1
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +49 -19
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js +6 -6
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +64 -21
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion-group.js +16 -16
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-accordion.js +7 -7
- package/dist/components/ic-accordion.js.map +1 -1
- package/dist/components/ic-alert.js +128 -1
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +29 -16
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +25 -54
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +31 -16
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +57 -8
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +29 -33
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/{ic-data-entity.d.ts → ic-card-vertical.d.ts} +4 -4
- package/dist/components/ic-card-vertical.js +198 -0
- package/dist/components/ic-card-vertical.js.map +1 -0
- package/dist/components/ic-checkbox-group.js +24 -11
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +9 -21
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +24 -23
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/{ic-card.d.ts → ic-data-list.d.ts} +4 -4
- package/dist/components/ic-data-list.js +56 -0
- package/dist/components/ic-data-list.js.map +1 -0
- package/dist/components/ic-data-row.js +14 -13
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.js +17 -119
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +89 -13
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-empty-state.js +11 -8
- package/dist/components/ic-empty-state.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +14 -15
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +19 -13
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +12 -14
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +13 -17
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +17 -9
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +12 -31
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +18 -23
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +9 -10
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +25 -18
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +29 -23
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +2 -2
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js +14 -14
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +473 -180
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +14 -11
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +16 -14
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +13 -10
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +6 -4
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +11 -10
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +10 -12
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.js +56 -49
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +24 -3
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +35 -19
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +37 -47
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +73 -85
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +197 -89
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +20 -23
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +6 -8
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js +9 -16
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +48 -51
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +29 -18
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +18 -19
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +39 -31
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +11 -13
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +17 -13
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +11 -9
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field.js +371 -1
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/components/ic-theme.js +51 -25
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.js +1 -9
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +86 -37
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +71 -30
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +73 -40
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-tooltip2.js +8 -3
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +19 -13
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +9 -6
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/ag-theme-icds.css +32 -31
- package/dist/core/core.css +1606 -64
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-0cb72d37.entry.js +2 -0
- package/dist/core/p-0cb72d37.entry.js.map +1 -0
- package/dist/core/p-1223d0e9.entry.js +2 -0
- package/dist/core/p-1223d0e9.entry.js.map +1 -0
- package/dist/core/p-190c3474.entry.js +2 -0
- package/dist/core/p-190c3474.entry.js.map +1 -0
- package/dist/core/p-199b9196.entry.js +2 -0
- package/dist/core/p-199b9196.entry.js.map +1 -0
- package/dist/core/p-1bf956cb.entry.js +2 -0
- package/dist/core/p-1bf956cb.entry.js.map +1 -0
- package/dist/core/p-20ac0d2a.entry.js +2 -0
- package/dist/core/p-20ac0d2a.entry.js.map +1 -0
- package/dist/core/p-2197e83e.entry.js +2 -0
- package/dist/core/p-2197e83e.entry.js.map +1 -0
- package/dist/core/p-243ad74c.entry.js +2 -0
- package/dist/core/p-243ad74c.entry.js.map +1 -0
- package/dist/core/p-24a34d72.entry.js +2 -0
- package/dist/core/p-24a34d72.entry.js.map +1 -0
- package/dist/core/{p-7438ab1f.entry.js → p-26bc7c62.entry.js} +2 -2
- package/dist/core/p-26bc7c62.entry.js.map +1 -0
- package/dist/core/{p-3eda4e14.entry.js → p-27274ca8.entry.js} +2 -2
- package/dist/core/p-27274ca8.entry.js.map +1 -0
- package/dist/core/p-29afeb33.entry.js +2 -0
- package/dist/core/p-29afeb33.entry.js.map +1 -0
- package/dist/core/p-2cc0d6b9.entry.js +2 -0
- package/dist/core/p-2cc0d6b9.entry.js.map +1 -0
- package/dist/core/p-31c84a47.entry.js +2 -0
- package/dist/core/p-31c84a47.entry.js.map +1 -0
- package/dist/core/p-33b44dc1.entry.js +2 -0
- package/dist/core/p-33b44dc1.entry.js.map +1 -0
- package/dist/core/p-36ac5305.entry.js +2 -0
- package/dist/core/p-36ac5305.entry.js.map +1 -0
- package/dist/core/{p-3969d3c0.entry.js → p-3ea4a005.entry.js} +2 -2
- package/dist/core/p-3ea4a005.entry.js.map +1 -0
- package/dist/core/p-404b482e.entry.js +2 -0
- package/dist/core/p-404b482e.entry.js.map +1 -0
- package/dist/core/p-419d3378.entry.js +2 -0
- package/dist/core/p-419d3378.entry.js.map +1 -0
- package/dist/core/p-47038ea3.entry.js +2 -0
- package/dist/core/p-47038ea3.entry.js.map +1 -0
- package/dist/core/p-490bf0ee.entry.js +2 -0
- package/dist/core/p-490bf0ee.entry.js.map +1 -0
- package/dist/core/p-4e6e34fe.entry.js +2 -0
- package/dist/core/p-4e6e34fe.entry.js.map +1 -0
- package/dist/core/p-4fce49bd.entry.js +2 -0
- package/dist/core/p-4fce49bd.entry.js.map +1 -0
- package/dist/core/p-50b04d0f.entry.js +2 -0
- package/dist/core/p-50b04d0f.entry.js.map +1 -0
- package/dist/core/p-5b42dbef.entry.js +2 -0
- package/dist/core/p-5b42dbef.entry.js.map +1 -0
- package/dist/core/p-5be2c26a.entry.js +2 -0
- package/dist/core/p-5be2c26a.entry.js.map +1 -0
- package/dist/core/p-5d5345a4.entry.js +2 -0
- package/dist/core/p-5d5345a4.entry.js.map +1 -0
- package/dist/core/p-5dcc0489.entry.js +2 -0
- package/dist/core/p-5dcc0489.entry.js.map +1 -0
- package/dist/core/p-5f6d6b3f.entry.js +2 -0
- package/dist/core/p-5f6d6b3f.entry.js.map +1 -0
- package/dist/core/p-5f74782e.entry.js +2 -0
- package/dist/core/p-5f74782e.entry.js.map +1 -0
- package/dist/core/p-641e244d.entry.js +2 -0
- package/dist/core/p-641e244d.entry.js.map +1 -0
- package/dist/core/p-6c1cf351.entry.js +2 -0
- package/dist/core/p-6c1cf351.entry.js.map +1 -0
- package/dist/core/p-6e630778.entry.js +2 -0
- package/dist/core/p-6e630778.entry.js.map +1 -0
- package/dist/core/p-7c8cd719.entry.js +2 -0
- package/dist/core/p-7c8cd719.entry.js.map +1 -0
- package/dist/core/p-7c94e055.entry.js +2 -0
- package/dist/core/p-7c94e055.entry.js.map +1 -0
- package/dist/core/p-7fa74998.entry.js +2 -0
- package/dist/core/p-7fa74998.entry.js.map +1 -0
- package/dist/core/p-7ff4632d.entry.js +2 -0
- package/dist/core/p-7ff4632d.entry.js.map +1 -0
- package/dist/core/p-84c3a870.entry.js +2 -0
- package/dist/core/p-84c3a870.entry.js.map +1 -0
- package/dist/core/p-8624bb98.entry.js +2 -0
- package/dist/core/p-8624bb98.entry.js.map +1 -0
- package/dist/core/p-87aa30b4.entry.js +2 -0
- package/dist/core/p-87aa30b4.entry.js.map +1 -0
- package/dist/core/p-932f3e3c.js +2 -0
- package/dist/core/p-932f3e3c.js.map +1 -0
- package/dist/core/{p-6fae7e1f.entry.js → p-96b4ca6e.entry.js} +2 -2
- package/dist/core/p-96b4ca6e.entry.js.map +1 -0
- package/dist/core/p-9ad4bbf4.entry.js +2 -0
- package/dist/core/p-9ad4bbf4.entry.js.map +1 -0
- package/dist/core/p-9cfd6855.entry.js +2 -0
- package/dist/core/p-9cfd6855.entry.js.map +1 -0
- package/dist/core/p-a38f5453.entry.js +2 -0
- package/dist/core/p-a38f5453.entry.js.map +1 -0
- package/dist/core/p-af934e73.entry.js +2 -0
- package/dist/core/p-af934e73.entry.js.map +1 -0
- package/dist/core/p-b9941d97.entry.js +2 -0
- package/dist/core/p-b9941d97.entry.js.map +1 -0
- package/dist/core/p-cf0176be.entry.js +2 -0
- package/dist/core/p-cf0176be.entry.js.map +1 -0
- package/dist/core/p-cf5d88a9.entry.js +2 -0
- package/dist/core/p-cf5d88a9.entry.js.map +1 -0
- package/dist/core/p-d21d8014.entry.js +2 -0
- package/dist/core/p-d21d8014.entry.js.map +1 -0
- package/dist/core/p-df957570.entry.js +2 -0
- package/dist/core/p-df957570.entry.js.map +1 -0
- package/dist/core/p-e0730a5d.entry.js +2 -0
- package/dist/core/p-e0730a5d.entry.js.map +1 -0
- package/dist/core/p-e1f8d915.entry.js +2 -0
- package/dist/core/p-e1f8d915.entry.js.map +1 -0
- package/dist/core/p-e4cb5585.entry.js +2 -0
- package/dist/core/p-e4cb5585.entry.js.map +1 -0
- package/dist/core/p-f073fc69.entry.js +2 -0
- package/dist/core/p-f073fc69.entry.js.map +1 -0
- package/dist/core/p-f2d9eefe.entry.js +2 -0
- package/dist/core/p-f2d9eefe.entry.js.map +1 -0
- package/dist/core/p-f7872eef.entry.js +2 -0
- package/dist/core/p-f7872eef.entry.js.map +1 -0
- package/dist/core/{p-9df32798.entry.js → p-f9dceda0.entry.js} +2 -2
- package/dist/core/p-f9dceda0.entry.js.map +1 -0
- package/dist/core/p-fac53f92.entry.js +2 -0
- package/dist/core/p-fac53f92.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-003f27c9.js → helpers-2624c32c.js} +65 -22
- package/dist/esm/helpers-2624c32c.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +14 -15
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +7 -8
- package/dist/esm/ic-accordion.entry.js.map +1 -1
- package/dist/esm/ic-alert.entry.js +8 -9
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +16 -17
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +22 -51
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +26 -14
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +53 -8
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +59 -53
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +146 -0
- package/dist/esm/ic-card-vertical.entry.js.map +1 -0
- package/dist/esm/ic-checkbox-group.entry.js +21 -10
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +8 -16
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +23 -24
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +2 -2
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +28 -0
- package/dist/esm/ic-data-list.entry.js.map +1 -0
- package/dist/esm/ic-data-row.entry.js +12 -12
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +14 -105
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +74 -11
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-empty-state.entry.js +9 -8
- package/dist/esm/ic-empty-state.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +12 -14
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +11 -12
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +11 -13
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +12 -15
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +15 -9
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +478 -201
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +23 -28
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +22 -15
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +2 -3
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +12 -13
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +12 -10
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +14 -14
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +11 -10
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +5 -5
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +10 -10
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +8 -12
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +51 -46
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +23 -4
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +32 -18
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +34 -40
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +56 -57
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +193 -80
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +19 -22
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +5 -6
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +8 -16
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +41 -46
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +27 -18
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +17 -18
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +34 -28
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +9 -11
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +12 -11
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +10 -9
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +81 -72
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +45 -22
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast-region.entry.js +0 -7
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +83 -36
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +63 -30
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +65 -34
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +17 -12
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +9 -8
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/index-d1d2c456.js +16 -16
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-accordion/ic-accordion.d.ts +5 -5
- package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +6 -6
- package/dist/types/components/ic-alert/ic-alert.d.ts +9 -9
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +5 -1
- package/dist/types/components/ic-badge/ic-badge.d.ts +8 -15
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +17 -5
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +13 -7
- package/dist/types/components/ic-button/ic-button.d.ts +10 -7
- package/dist/types/components/{ic-card/ic-card.d.ts → ic-card-vertical/ic-card-vertical.d.ts} +10 -6
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +3 -27
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +5 -3
- package/dist/types/components/ic-chip/ic-chip.d.ts +8 -11
- package/dist/types/components/ic-data-list/ic-data-list.d.ts +20 -0
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +4 -4
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +5 -37
- package/dist/types/components/ic-divider/ic-divider.d.ts +33 -3
- package/dist/types/components/ic-divider/ic-divider.types.d.ts +3 -0
- package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +6 -2
- package/dist/types/components/ic-footer/ic-footer.d.ts +3 -3
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +3 -3
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +4 -3
- package/dist/types/components/ic-hero/ic-hero.d.ts +5 -9
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +8 -2
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +0 -12
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +8 -12
- package/dist/types/components/ic-link/ic-link.d.ts +10 -10
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +12 -8
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +1 -1
- package/dist/types/components/ic-menu/ic-menu.d.ts +49 -20
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +5 -5
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +7 -3
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +7 -3
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +7 -3
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +5 -0
- package/dist/types/components/ic-page-header/ic-page-header.d.ts +5 -5
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +13 -9
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +9 -5
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +5 -0
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +7 -6
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +8 -27
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +17 -18
- package/dist/types/components/ic-select/ic-select.d.ts +36 -47
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +4 -4
- package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +2 -2
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +3 -6
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +9 -10
- package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +0 -1
- package/dist/types/components/ic-step/ic-step.d.ts +11 -6
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +6 -4
- package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +4 -4
- package/dist/types/components/ic-switch/ic-switch.d.ts +4 -8
- package/dist/types/components/ic-tab/ic-tab.d.ts +5 -3
- package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +11 -11
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +5 -10
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +13 -7
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +15 -19
- package/dist/types/components/ic-theme/ic-theme.d.ts +15 -8
- package/dist/types/components/ic-toast/ic-toast.d.ts +8 -1
- package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +0 -5
- package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +11 -10
- package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +15 -5
- package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.types.d.ts +1 -1
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +5 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +8 -4
- package/dist/types/components/ic-typography/ic-typography.d.ts +5 -1
- package/dist/types/components.d.ts +647 -662
- package/dist/types/utils/helpers.d.ts +16 -8
- package/dist/types/utils/types.d.ts +11 -9
- package/hydrate/index.js +2155 -1491
- package/package.json +13 -12
- package/vscode-data.json +827 -467
- package/dist/cjs/helpers-6f6991cb.js.map +0 -1
- package/dist/cjs/ic-card.cjs.entry.js +0 -149
- package/dist/cjs/ic-card.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +0 -29
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +0 -1
- package/dist/cjs/types-dc22e301.js +0 -16
- package/dist/cjs/types-dc22e301.js.map +0 -1
- package/dist/collection/components/ic-card/ic-card.js.map +0 -1
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +0 -1
- package/dist/collection/components/ic-chip/ic-chip.types.js +0 -2
- package/dist/collection/components/ic-chip/ic-chip.types.js.map +0 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +0 -1
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +0 -1
- package/dist/components/ic-alert2.js +0 -132
- package/dist/components/ic-alert2.js.map +0 -1
- package/dist/components/ic-card.js +0 -196
- package/dist/components/ic-card.js.map +0 -1
- package/dist/components/ic-data-entity.js +0 -53
- package/dist/components/ic-data-entity.js.map +0 -1
- package/dist/components/ic-text-field2.js +0 -368
- package/dist/components/ic-text-field2.js.map +0 -1
- package/dist/components/types.js +0 -16
- package/dist/components/types.js.map +0 -1
- package/dist/core/p-08478a4c.entry.js +0 -2
- package/dist/core/p-08478a4c.entry.js.map +0 -1
- package/dist/core/p-12bac804.entry.js +0 -2
- package/dist/core/p-12bac804.entry.js.map +0 -1
- package/dist/core/p-13b2c3a2.entry.js +0 -2
- package/dist/core/p-13b2c3a2.entry.js.map +0 -1
- package/dist/core/p-168a7440.entry.js +0 -2
- package/dist/core/p-168a7440.entry.js.map +0 -1
- package/dist/core/p-193fc7d0.entry.js +0 -2
- package/dist/core/p-193fc7d0.entry.js.map +0 -1
- package/dist/core/p-1e4690f8.entry.js +0 -2
- package/dist/core/p-1e4690f8.entry.js.map +0 -1
- package/dist/core/p-1f6d36d5.entry.js +0 -2
- package/dist/core/p-1f6d36d5.entry.js.map +0 -1
- package/dist/core/p-26b7b18f.js +0 -2
- package/dist/core/p-26b7b18f.js.map +0 -1
- package/dist/core/p-2a11be1e.entry.js +0 -2
- package/dist/core/p-2a11be1e.entry.js.map +0 -1
- package/dist/core/p-3969d3c0.entry.js.map +0 -1
- package/dist/core/p-3ba915a5.entry.js +0 -2
- package/dist/core/p-3ba915a5.entry.js.map +0 -1
- package/dist/core/p-3e8023ff.entry.js +0 -2
- package/dist/core/p-3e8023ff.entry.js.map +0 -1
- package/dist/core/p-3eda4e14.entry.js.map +0 -1
- package/dist/core/p-4c6dc1b2.entry.js +0 -2
- package/dist/core/p-4c6dc1b2.entry.js.map +0 -1
- package/dist/core/p-51407872.entry.js +0 -2
- package/dist/core/p-51407872.entry.js.map +0 -1
- package/dist/core/p-597c221c.entry.js +0 -2
- package/dist/core/p-597c221c.entry.js.map +0 -1
- package/dist/core/p-65dc77ba.entry.js +0 -2
- package/dist/core/p-65dc77ba.entry.js.map +0 -1
- package/dist/core/p-6beed7db.entry.js +0 -2
- package/dist/core/p-6beed7db.entry.js.map +0 -1
- package/dist/core/p-6d8dc552.entry.js +0 -2
- package/dist/core/p-6d8dc552.entry.js.map +0 -1
- package/dist/core/p-6fae7e1f.entry.js.map +0 -1
- package/dist/core/p-72f292f2.entry.js +0 -2
- package/dist/core/p-72f292f2.entry.js.map +0 -1
- package/dist/core/p-7438ab1f.entry.js.map +0 -1
- package/dist/core/p-78f16b1a.entry.js +0 -2
- package/dist/core/p-78f16b1a.entry.js.map +0 -1
- package/dist/core/p-7b3a4b3f.entry.js +0 -2
- package/dist/core/p-7b3a4b3f.entry.js.map +0 -1
- package/dist/core/p-7f1594d9.entry.js +0 -2
- package/dist/core/p-7f1594d9.entry.js.map +0 -1
- package/dist/core/p-8dd2d3df.entry.js +0 -2
- package/dist/core/p-8dd2d3df.entry.js.map +0 -1
- package/dist/core/p-90433147.entry.js +0 -2
- package/dist/core/p-90433147.entry.js.map +0 -1
- package/dist/core/p-915e5888.entry.js +0 -2
- package/dist/core/p-915e5888.entry.js.map +0 -1
- package/dist/core/p-91fab13d.entry.js +0 -2
- package/dist/core/p-91fab13d.entry.js.map +0 -1
- package/dist/core/p-96e79d69.entry.js +0 -2
- package/dist/core/p-96e79d69.entry.js.map +0 -1
- package/dist/core/p-9a6790d8.entry.js +0 -2
- package/dist/core/p-9a6790d8.entry.js.map +0 -1
- package/dist/core/p-9df32798.entry.js.map +0 -1
- package/dist/core/p-9ef08234.entry.js +0 -2
- package/dist/core/p-9ef08234.entry.js.map +0 -1
- package/dist/core/p-a020afbd.entry.js +0 -2
- package/dist/core/p-a020afbd.entry.js.map +0 -1
- package/dist/core/p-a141ea39.entry.js +0 -2
- package/dist/core/p-a141ea39.entry.js.map +0 -1
- package/dist/core/p-a32016ff.entry.js +0 -2
- package/dist/core/p-a32016ff.entry.js.map +0 -1
- package/dist/core/p-a438656d.entry.js +0 -2
- package/dist/core/p-a438656d.entry.js.map +0 -1
- package/dist/core/p-a9cea205.entry.js +0 -2
- package/dist/core/p-a9cea205.entry.js.map +0 -1
- package/dist/core/p-b21d5f94.entry.js +0 -2
- package/dist/core/p-b21d5f94.entry.js.map +0 -1
- package/dist/core/p-b262eaff.entry.js +0 -2
- package/dist/core/p-b262eaff.entry.js.map +0 -1
- package/dist/core/p-b60912a7.entry.js +0 -2
- package/dist/core/p-b60912a7.entry.js.map +0 -1
- package/dist/core/p-b62735aa.entry.js +0 -2
- package/dist/core/p-b62735aa.entry.js.map +0 -1
- package/dist/core/p-ba06cc95.entry.js +0 -2
- package/dist/core/p-ba06cc95.entry.js.map +0 -1
- package/dist/core/p-ba884064.entry.js +0 -2
- package/dist/core/p-ba884064.entry.js.map +0 -1
- package/dist/core/p-bdaff5c9.entry.js +0 -2
- package/dist/core/p-bdaff5c9.entry.js.map +0 -1
- package/dist/core/p-bfaa257c.entry.js +0 -2
- package/dist/core/p-bfaa257c.entry.js.map +0 -1
- package/dist/core/p-c05474f3.entry.js +0 -2
- package/dist/core/p-c05474f3.entry.js.map +0 -1
- package/dist/core/p-c939d07d.entry.js +0 -2
- package/dist/core/p-c939d07d.entry.js.map +0 -1
- package/dist/core/p-d0299926.entry.js +0 -2
- package/dist/core/p-d0299926.entry.js.map +0 -1
- package/dist/core/p-d3344518.entry.js +0 -2
- package/dist/core/p-d3344518.entry.js.map +0 -1
- package/dist/core/p-d375858e.entry.js +0 -2
- package/dist/core/p-d375858e.entry.js.map +0 -1
- package/dist/core/p-d41c847e.js +0 -2
- package/dist/core/p-d41c847e.js.map +0 -1
- package/dist/core/p-e1ab5945.entry.js +0 -2
- package/dist/core/p-e1ab5945.entry.js.map +0 -1
- package/dist/core/p-e668390c.entry.js +0 -2
- package/dist/core/p-e668390c.entry.js.map +0 -1
- package/dist/core/p-eae017ce.entry.js +0 -2
- package/dist/core/p-eae017ce.entry.js.map +0 -1
- package/dist/core/p-ee6aa6a1.entry.js +0 -2
- package/dist/core/p-ee6aa6a1.entry.js.map +0 -1
- package/dist/core/p-f3599009.entry.js +0 -2
- package/dist/core/p-f3599009.entry.js.map +0 -1
- package/dist/core/p-f39741be.entry.js +0 -2
- package/dist/core/p-f39741be.entry.js.map +0 -1
- package/dist/core/p-f404b35e.entry.js +0 -2
- package/dist/core/p-f404b35e.entry.js.map +0 -1
- package/dist/core/p-f4382f1f.entry.js +0 -2
- package/dist/core/p-f4382f1f.entry.js.map +0 -1
- package/dist/esm/helpers-003f27c9.js.map +0 -1
- package/dist/esm/ic-card.entry.js +0 -145
- package/dist/esm/ic-card.entry.js.map +0 -1
- package/dist/esm/ic-data-entity.entry.js +0 -25
- package/dist/esm/ic-data-entity.entry.js.map +0 -1
- package/dist/esm/types-6f6b41a5.js +0 -16
- package/dist/esm/types-6f6b41a5.js.map +0 -1
- package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
- package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +0 -20
@@ -4,11 +4,13 @@ const defaultArgs = {
|
|
4
4
|
message: "Custom Button",
|
5
5
|
disabled: false,
|
6
6
|
loading: false,
|
7
|
-
|
8
|
-
size: "
|
7
|
+
theme: "inherit",
|
8
|
+
size: "medium",
|
9
9
|
variant: "secondary",
|
10
10
|
fullWidth: true,
|
11
11
|
iconPlacement: "right-icon",
|
12
|
+
monochrome: false,
|
13
|
+
dropdown: false,
|
12
14
|
};
|
13
15
|
|
14
16
|
export default {
|
@@ -17,287 +19,343 @@ export default {
|
|
17
19
|
};
|
18
20
|
|
19
21
|
export const Primary = {
|
20
|
-
render: () =>
|
21
|
-
|
22
|
-
|
23
|
-
>Button</ic-button
|
24
|
-
>
|
25
|
-
<ic-button variant="primary" disabled onclick="alert('test')"
|
26
|
-
>Button</ic-button
|
27
|
-
>
|
28
|
-
</div>
|
29
|
-
<div style="padding: 6px">
|
30
|
-
<ic-button variant="primary" appearance="dark" onclick="alert('test')"
|
31
|
-
>Button</ic-button
|
32
|
-
>
|
33
|
-
<ic-button
|
34
|
-
variant="primary"
|
35
|
-
disabled
|
36
|
-
appearance="dark"
|
37
|
-
onclick="alert('test')"
|
38
|
-
>Button</ic-button
|
39
|
-
>
|
40
|
-
</div>
|
41
|
-
<div style="background-color:#2c2f34; padding:6px 10px; width:fit-content">
|
42
|
-
<ic-button variant="primary" appearance="light" onclick="alert('test')"
|
43
|
-
>Button</ic-button
|
22
|
+
render: () =>
|
23
|
+
html`<div
|
24
|
+
style="display: flex; flex-direction: row; width: fit-content; background-color: #ececec;"
|
44
25
|
>
|
45
|
-
|
46
|
-
|
26
|
+
<div
|
27
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
28
|
+
>
|
29
|
+
<ic-typography variant="subtitle-large"> Light theme </ic-typography>
|
30
|
+
<div>
|
31
|
+
<ic-button variant="primary" theme="light" id="mybuttonid">
|
32
|
+
Primary
|
33
|
+
</ic-button>
|
34
|
+
<ic-button variant="primary" theme="light" disabled>
|
35
|
+
Disabled
|
36
|
+
</ic-button>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
<div
|
40
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
41
|
+
>
|
42
|
+
<ic-typography variant="subtitle-large">
|
43
|
+
Light theme - monochrome
|
44
|
+
</ic-typography>
|
45
|
+
<div>
|
46
|
+
<ic-button variant="primary" monochrome theme="light">
|
47
|
+
Monochrome
|
48
|
+
</ic-button>
|
49
|
+
<ic-button variant="primary" disabled monochrome theme="light">
|
50
|
+
Disabled
|
51
|
+
</ic-button>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
<div
|
56
|
+
style="display: flex; flex-direction: row; margin-top: 1rem; background-color:#474A48; border-radius: 5px; width:fit-content;"
|
47
57
|
>
|
48
|
-
|
49
|
-
|
58
|
+
<div
|
59
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
60
|
+
>
|
61
|
+
<ic-typography variant="subtitle-large" style="color: white">
|
62
|
+
Dark theme
|
63
|
+
</ic-typography>
|
64
|
+
<div>
|
65
|
+
<ic-button variant="primary" theme="dark" id="mybuttonid">
|
66
|
+
Primary
|
67
|
+
</ic-button>
|
68
|
+
<ic-button variant="primary" theme="dark" disabled>
|
69
|
+
Disabled
|
70
|
+
</ic-button>
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
<div
|
74
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
75
|
+
>
|
76
|
+
<ic-typography variant="subtitle-large" style="color: white">
|
77
|
+
Dark theme - monochrome
|
78
|
+
</ic-typography>
|
79
|
+
<div>
|
80
|
+
<ic-button variant="primary" monochrome theme="dark">
|
81
|
+
Monochrome
|
82
|
+
</ic-button>
|
83
|
+
<ic-button variant="primary" disabled monochrome theme="dark">
|
84
|
+
Disabled
|
85
|
+
</ic-button>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
</div>`,
|
50
89
|
|
51
90
|
name: "Primary",
|
52
91
|
};
|
53
92
|
|
54
|
-
export const
|
93
|
+
export const Secondary = {
|
55
94
|
render: () =>
|
56
|
-
html
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
<
|
76
|
-
|
77
|
-
|
78
|
-
<
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
<
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
95
|
+
html` <div
|
96
|
+
style="display: flex; flex-direction: row; width: fit-content; background-color: #ececec;"
|
97
|
+
>
|
98
|
+
<div
|
99
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
100
|
+
>
|
101
|
+
<ic-typography variant="subtitle-large"> Light theme </ic-typography>
|
102
|
+
<div>
|
103
|
+
<ic-button variant="secondary" theme="light" id="mybuttonid">
|
104
|
+
Secondary
|
105
|
+
</ic-button>
|
106
|
+
<ic-button variant="secondary" theme="light" disabled>
|
107
|
+
Disabled
|
108
|
+
</ic-button>
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
<div
|
112
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
113
|
+
>
|
114
|
+
<ic-typography variant="subtitle-large">
|
115
|
+
Light theme - monochrome
|
116
|
+
</ic-typography>
|
117
|
+
<div>
|
118
|
+
<ic-button variant="secondary" monochrome theme="light">
|
119
|
+
Monochrome
|
120
|
+
</ic-button>
|
121
|
+
<ic-button variant="secondary" disabled monochrome theme="light">
|
122
|
+
Disabled
|
123
|
+
</ic-button>
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
<div
|
127
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
128
|
+
>
|
129
|
+
<ic-typography variant="subtitle-large">
|
130
|
+
Light theme - non-transparent
|
131
|
+
</ic-typography>
|
132
|
+
<div>
|
133
|
+
<ic-button
|
134
|
+
variant="secondary"
|
135
|
+
transparent-background="false"
|
136
|
+
theme="light"
|
88
137
|
>
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
138
|
+
Solid
|
139
|
+
</ic-button>
|
140
|
+
<ic-button
|
141
|
+
variant="secondary"
|
142
|
+
disabled
|
143
|
+
theme="light"
|
144
|
+
transparent-background="false"
|
145
|
+
>
|
146
|
+
Disabled
|
147
|
+
</ic-button>
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
<div
|
151
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
152
|
+
>
|
153
|
+
<ic-typography variant="subtitle-large">
|
154
|
+
Light theme - monochrome, non-transparent
|
155
|
+
</ic-typography>
|
156
|
+
<div>
|
157
|
+
<ic-button
|
158
|
+
variant="secondary"
|
159
|
+
theme="light"
|
160
|
+
monochrome
|
161
|
+
transparent-background="false"
|
162
|
+
>
|
163
|
+
Mono-Solid
|
164
|
+
</ic-button>
|
165
|
+
<ic-button
|
166
|
+
variant="secondary"
|
167
|
+
disabled
|
168
|
+
monochrome
|
169
|
+
theme="light"
|
170
|
+
transparent-background="false"
|
171
|
+
>
|
172
|
+
Disabled
|
173
|
+
</ic-button>
|
174
|
+
</div>
|
175
|
+
</div>
|
96
176
|
</div>
|
97
|
-
<div
|
98
|
-
|
99
|
-
<a slot="router-item" href="/">Slotted link</a>
|
100
|
-
</ic-button>
|
101
|
-
<ic-button appearance="dark">
|
102
|
-
<a slot="router-item" href="/">Slotted link</a>
|
103
|
-
</ic-button>
|
104
|
-
</div>`,
|
105
|
-
|
106
|
-
name: "Router link",
|
107
|
-
|
108
|
-
parameters: {
|
109
|
-
layout: "fullscreen",
|
110
|
-
},
|
111
|
-
};
|
112
|
-
|
113
|
-
export const Secondary = {
|
114
|
-
render: () => html`
|
115
|
-
<div style="padding: 6px">
|
116
|
-
<ic-button variant="secondary">Button</ic-button>
|
117
|
-
<ic-button variant="secondary" disabled>Button</ic-button>
|
118
|
-
<ic-button variant="secondary" transparent-background="false"
|
119
|
-
>Button</ic-button
|
120
|
-
>
|
121
|
-
</div>
|
122
|
-
<div style="padding: 6px">
|
123
|
-
<ic-button variant="secondary" appearance="dark">Button</ic-button>
|
124
|
-
<ic-button variant="secondary" disabled appearance="dark"
|
125
|
-
>Button</ic-button
|
126
|
-
>
|
127
|
-
<ic-button
|
128
|
-
variant="secondary"
|
129
|
-
appearance="dark"
|
130
|
-
transparent-background="false"
|
131
|
-
>Button</ic-button
|
132
|
-
>
|
133
|
-
</div>
|
134
|
-
<div style="background-color:#2c2f34; padding:6px 10px; width:fit-content">
|
135
|
-
<ic-button variant="secondary" appearance="light">Button</ic-button>
|
136
|
-
<ic-button variant="secondary" disabled appearance="light"
|
137
|
-
>Button</ic-button
|
138
|
-
>
|
139
|
-
<ic-button variant="secondary" transparent-background="false"
|
140
|
-
>Button</ic-button
|
177
|
+
<div
|
178
|
+
style="display: flex; flex-direction: row; margin-top: 1rem; background-color:#474A48; border-radius: 5px; width:fit-content;"
|
141
179
|
>
|
142
|
-
|
143
|
-
|
180
|
+
<div
|
181
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
182
|
+
>
|
183
|
+
<ic-typography variant="subtitle-large" style="color: white">
|
184
|
+
Dark theme
|
185
|
+
</ic-typography>
|
186
|
+
<div>
|
187
|
+
<ic-button variant="secondary" theme="dark" id="mybuttonid">
|
188
|
+
Secondary
|
189
|
+
</ic-button>
|
190
|
+
<ic-button variant="secondary" theme="dark" disabled>
|
191
|
+
Disabled
|
192
|
+
</ic-button>
|
193
|
+
</div>
|
194
|
+
</div>
|
195
|
+
<div
|
196
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
197
|
+
>
|
198
|
+
<ic-typography variant="subtitle-large" style="color: white">
|
199
|
+
Dark theme - monochrome
|
200
|
+
</ic-typography>
|
201
|
+
<div>
|
202
|
+
<ic-button variant="secondary" monochrome theme="dark">
|
203
|
+
Monochrome
|
204
|
+
</ic-button>
|
205
|
+
<ic-button variant="secondary" disabled monochrome theme="dark">
|
206
|
+
Disabled
|
207
|
+
</ic-button>
|
208
|
+
</div>
|
209
|
+
</div>
|
210
|
+
</div>`,
|
144
211
|
|
145
212
|
name: "Secondary",
|
146
213
|
};
|
147
214
|
|
148
215
|
export const Tertiary = {
|
149
|
-
render: () =>
|
150
|
-
<div
|
151
|
-
|
152
|
-
<ic-button variant="tertiary" disabled>Button</ic-button>
|
153
|
-
</div>
|
154
|
-
<div style="padding: 6px">
|
155
|
-
<ic-button variant="tertiary" appearance="dark">Button</ic-button>
|
156
|
-
<ic-button variant="tertiary" disabled appearance="dark"
|
157
|
-
>Button</ic-button
|
216
|
+
render: () =>
|
217
|
+
html` <div
|
218
|
+
style="display: flex; flex-direction: row; width: fit-content; background-color: #ececec;"
|
158
219
|
>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
220
|
+
<div
|
221
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
222
|
+
>
|
223
|
+
<ic-typography variant="subtitle-large"> Light theme </ic-typography>
|
224
|
+
<div>
|
225
|
+
<ic-button variant="tertiary" theme="light" id="mybuttonid">
|
226
|
+
Tertiary
|
227
|
+
</ic-button>
|
228
|
+
<ic-button variant="tertiary" theme="light" disabled>
|
229
|
+
Disabled
|
230
|
+
</ic-button>
|
231
|
+
</div>
|
232
|
+
</div>
|
233
|
+
<div
|
234
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
235
|
+
>
|
236
|
+
<ic-typography variant="subtitle-large">
|
237
|
+
Light theme - monochrome
|
238
|
+
</ic-typography>
|
239
|
+
<div>
|
240
|
+
<ic-button variant="tertiary" theme="light" monochrome>
|
241
|
+
Monochrome
|
242
|
+
</ic-button>
|
243
|
+
<ic-button variant="tertiary" disabled monochrome theme="light">
|
244
|
+
Disabled
|
245
|
+
</ic-button>
|
246
|
+
</div>
|
247
|
+
</div>
|
248
|
+
</div>
|
249
|
+
<div
|
250
|
+
style="display: flex; flex-direction: row; margin-top: 1rem; background-color:#474A48; border-radius: 5px; width:fit-content;"
|
164
251
|
>
|
165
|
-
|
166
|
-
|
252
|
+
<div
|
253
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
254
|
+
>
|
255
|
+
<ic-typography variant="subtitle-large" style="color: white">
|
256
|
+
Dark theme
|
257
|
+
</ic-typography>
|
258
|
+
<div>
|
259
|
+
<ic-button variant="tertiary" theme="dark" id="mybuttonid">
|
260
|
+
Tertiary
|
261
|
+
</ic-button>
|
262
|
+
<ic-button variant="tertiary" theme="dark" disabled>
|
263
|
+
Disabled
|
264
|
+
</ic-button>
|
265
|
+
</div>
|
266
|
+
</div>
|
267
|
+
<div
|
268
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
269
|
+
>
|
270
|
+
<ic-typography variant="subtitle-large" style="color: white">
|
271
|
+
Dark theme - monochrome
|
272
|
+
</ic-typography>
|
273
|
+
<div>
|
274
|
+
<ic-button variant="tertiary" monochrome theme="dark">
|
275
|
+
Monochrome
|
276
|
+
</ic-button>
|
277
|
+
<ic-button variant="tertiary" disabled monochrome theme="dark">
|
278
|
+
Disabled
|
279
|
+
</ic-button>
|
280
|
+
</div>
|
281
|
+
</div>
|
282
|
+
</div>`,
|
167
283
|
|
168
284
|
name: "Tertiary",
|
169
285
|
};
|
170
286
|
|
171
287
|
export const Destructive = {
|
172
|
-
render: () =>
|
173
|
-
<
|
174
|
-
|
175
|
-
|
288
|
+
render: () =>
|
289
|
+
html` <div
|
290
|
+
style="display: flex; flex-direction: row; width: fit-content; background-color: #ececec;"
|
291
|
+
>
|
292
|
+
<div
|
293
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
294
|
+
>
|
295
|
+
<ic-typography variant="subtitle-large"> Light theme </ic-typography>
|
296
|
+
<div>
|
297
|
+
<ic-button variant="destructive" theme="light" id="mybuttonid">
|
298
|
+
Destructive
|
299
|
+
</ic-button>
|
300
|
+
<ic-button variant="destructive" theme="light" disabled>
|
301
|
+
Disabled
|
302
|
+
</ic-button>
|
303
|
+
</div>
|
304
|
+
</div>
|
305
|
+
</div>
|
306
|
+
<div
|
307
|
+
style="display: flex; flex-direction: row; margin-top: 1rem; background-color:#474A48; border-radius: 5px; width:fit-content;"
|
308
|
+
>
|
309
|
+
<div
|
310
|
+
style="padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem"
|
311
|
+
>
|
312
|
+
<ic-typography variant="subtitle-large" style="color: white">
|
313
|
+
Dark theme
|
314
|
+
</ic-typography>
|
315
|
+
<div>
|
316
|
+
<ic-button variant="destructive" theme="dark" id="mybuttonid">
|
317
|
+
Destructive
|
318
|
+
</ic-button>
|
319
|
+
<ic-button variant="destructive" theme="dark" disabled>
|
320
|
+
Disabled
|
321
|
+
</ic-button>
|
322
|
+
</div>
|
323
|
+
</div>
|
324
|
+
</div>`,
|
176
325
|
|
177
326
|
name: "Destructive",
|
178
327
|
};
|
179
328
|
|
180
|
-
export const
|
329
|
+
export const IconVariants = {
|
181
330
|
render: () =>
|
182
|
-
html`<div>
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
width="24px"
|
191
|
-
fill="#000000"
|
331
|
+
html`<div style="display:flex; gap: 1rem; flex-direction:column;">
|
332
|
+
<div>
|
333
|
+
<ic-typography>Default</ic-typography>
|
334
|
+
<div style="display:flex; gap: 0.5rem">
|
335
|
+
<ic-button
|
336
|
+
variant="icon-primary"
|
337
|
+
aria-label="refresh"
|
338
|
+
id="testbutton"
|
192
339
|
>
|
193
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
194
|
-
<path
|
195
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
196
|
-
/>
|
197
|
-
</svg>
|
198
|
-
</ic-button>
|
199
|
-
<ic-button variant="primary"
|
200
|
-
>Button
|
201
|
-
<div slot="left-icon">
|
202
340
|
<svg
|
203
341
|
xmlns="http://www.w3.org/2000/svg"
|
342
|
+
height="24px"
|
204
343
|
viewBox="0 0 24 24"
|
205
|
-
|
344
|
+
width="24px"
|
345
|
+
fill="#000000"
|
206
346
|
>
|
207
347
|
<path d="M0 0h24v24H0V0z" fill="none" />
|
208
348
|
<path
|
209
349
|
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
210
350
|
/>
|
211
351
|
</svg>
|
212
|
-
</
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
slot="left-icon"
|
218
|
-
xmlns="http://www.w3.org/2000/svg"
|
219
|
-
height="24px"
|
220
|
-
viewBox="0 0 24 24"
|
221
|
-
width="24px"
|
222
|
-
fill="#000000"
|
223
|
-
>
|
224
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
225
|
-
<path
|
226
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
227
|
-
/>
|
228
|
-
</svg>
|
229
|
-
</ic-button>
|
230
|
-
<ic-button variant="tertiary"
|
231
|
-
>Button
|
232
|
-
<svg
|
233
|
-
slot="left-icon"
|
234
|
-
xmlns="http://www.w3.org/2000/svg"
|
235
|
-
height="24px"
|
236
|
-
viewBox="0 0 24 24"
|
237
|
-
width="24px"
|
238
|
-
fill="#000000"
|
352
|
+
</ic-button>
|
353
|
+
<ic-button
|
354
|
+
variant="icon-secondary"
|
355
|
+
aria-label="refresh"
|
356
|
+
id="testbutton"
|
239
357
|
>
|
240
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
241
|
-
<path
|
242
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
243
|
-
/>
|
244
|
-
</svg>
|
245
|
-
</ic-button>
|
246
|
-
<ic-button appearance="dark"
|
247
|
-
>Button
|
248
|
-
<svg
|
249
|
-
slot="left-icon"
|
250
|
-
xmlns="http://www.w3.org/2000/svg"
|
251
|
-
height="24px"
|
252
|
-
viewBox="0 0 24 24"
|
253
|
-
width="24px"
|
254
|
-
fill="#000000"
|
255
|
-
>
|
256
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
257
|
-
<path
|
258
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
259
|
-
/>
|
260
|
-
</svg>
|
261
|
-
</ic-button>
|
262
|
-
<ic-button variant="destructive"
|
263
|
-
>Button
|
264
|
-
<svg
|
265
|
-
slot="left-icon"
|
266
|
-
xmlns="http://www.w3.org/2000/svg"
|
267
|
-
height="24px"
|
268
|
-
viewBox="0 0 24 24"
|
269
|
-
width="24px"
|
270
|
-
fill="#000000"
|
271
|
-
>
|
272
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
273
|
-
<path
|
274
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
275
|
-
/>
|
276
|
-
</svg>
|
277
|
-
</ic-button>
|
278
|
-
<ic-button variant="destructive" disabled
|
279
|
-
>Button
|
280
|
-
<svg
|
281
|
-
slot="left-icon"
|
282
|
-
xmlns="http://www.w3.org/2000/svg"
|
283
|
-
height="24px"
|
284
|
-
viewBox="0 0 24 24"
|
285
|
-
width="24px"
|
286
|
-
fill="#000000"
|
287
|
-
>
|
288
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
289
|
-
<path
|
290
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
291
|
-
/>
|
292
|
-
</svg>
|
293
|
-
</ic-button>
|
294
|
-
<div
|
295
|
-
style="background-color:#2c2f34; display:inline-block; padding:6px 10px"
|
296
|
-
>
|
297
|
-
<ic-button variant="primary" appearance="light">
|
298
|
-
Button
|
299
358
|
<svg
|
300
|
-
slot="left-icon"
|
301
359
|
xmlns="http://www.w3.org/2000/svg"
|
302
360
|
height="24px"
|
303
361
|
viewBox="0 0 24 24"
|
@@ -310,10 +368,12 @@ export const WithIcon = {
|
|
310
368
|
/>
|
311
369
|
</svg>
|
312
370
|
</ic-button>
|
313
|
-
<ic-button
|
314
|
-
|
371
|
+
<ic-button
|
372
|
+
variant="icon-tertiary"
|
373
|
+
aria-label="refresh"
|
374
|
+
id="testbutton"
|
375
|
+
>
|
315
376
|
<svg
|
316
|
-
slot="left-icon"
|
317
377
|
xmlns="http://www.w3.org/2000/svg"
|
318
378
|
height="24px"
|
319
379
|
viewBox="0 0 24 24"
|
@@ -326,10 +386,12 @@ export const WithIcon = {
|
|
326
386
|
/>
|
327
387
|
</svg>
|
328
388
|
</ic-button>
|
329
|
-
<ic-button
|
330
|
-
|
389
|
+
<ic-button
|
390
|
+
variant="icon-destructive"
|
391
|
+
aria-label="refresh"
|
392
|
+
id="testbutton"
|
393
|
+
>
|
331
394
|
<svg
|
332
|
-
slot="left-icon"
|
333
395
|
xmlns="http://www.w3.org/2000/svg"
|
334
396
|
height="24px"
|
335
397
|
viewBox="0 0 24 24"
|
@@ -345,124 +407,115 @@ export const WithIcon = {
|
|
345
407
|
</div>
|
346
408
|
</div>
|
347
409
|
<div>
|
348
|
-
<ic-
|
349
|
-
|
350
|
-
<
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
width="24px"
|
356
|
-
fill="#000000"
|
410
|
+
<ic-typography>Small</ic-typography>
|
411
|
+
<div style="display:flex; gap: 0.5rem">
|
412
|
+
<ic-button
|
413
|
+
variant="icon-primary"
|
414
|
+
aria-label="refresh"
|
415
|
+
id="testbutton"
|
416
|
+
size="small"
|
357
417
|
>
|
358
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
359
|
-
<path
|
360
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
361
|
-
/>
|
362
|
-
</svg>
|
363
|
-
</ic-button>
|
364
|
-
<ic-button variant="primary"
|
365
|
-
>Button
|
366
|
-
<div slot="right-icon">
|
367
418
|
<svg
|
368
419
|
xmlns="http://www.w3.org/2000/svg"
|
420
|
+
height="24px"
|
369
421
|
viewBox="0 0 24 24"
|
370
|
-
|
422
|
+
width="24px"
|
423
|
+
fill="#000000"
|
371
424
|
>
|
372
425
|
<path d="M0 0h24v24H0V0z" fill="none" />
|
373
426
|
<path
|
374
427
|
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
375
428
|
/>
|
376
429
|
</svg>
|
377
|
-
</
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
xmlns="http://www.w3.org/2000/svg"
|
384
|
-
height="24px"
|
385
|
-
viewBox="0 0 24 24"
|
386
|
-
width="24px"
|
387
|
-
fill="#000000"
|
430
|
+
</ic-button>
|
431
|
+
<ic-button
|
432
|
+
variant="icon-secondary"
|
433
|
+
aria-label="refresh"
|
434
|
+
id="testbutton"
|
435
|
+
size="small"
|
388
436
|
>
|
389
|
-
<
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
437
|
+
<svg
|
438
|
+
xmlns="http://www.w3.org/2000/svg"
|
439
|
+
height="24px"
|
440
|
+
viewBox="0 0 24 24"
|
441
|
+
width="24px"
|
442
|
+
fill="#000000"
|
443
|
+
>
|
444
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
445
|
+
<path
|
446
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
447
|
+
/>
|
448
|
+
</svg>
|
449
|
+
</ic-button>
|
450
|
+
<ic-button
|
451
|
+
variant="icon-tertiary"
|
452
|
+
aria-label="refresh"
|
453
|
+
id="testbutton"
|
454
|
+
size="small"
|
404
455
|
>
|
405
|
-
<
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
456
|
+
<svg
|
457
|
+
xmlns="http://www.w3.org/2000/svg"
|
458
|
+
height="24px"
|
459
|
+
viewBox="0 0 24 24"
|
460
|
+
width="24px"
|
461
|
+
fill="#000000"
|
462
|
+
>
|
463
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
464
|
+
<path
|
465
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
466
|
+
/>
|
467
|
+
</svg>
|
468
|
+
</ic-button>
|
469
|
+
<ic-button
|
470
|
+
variant="icon-destructive"
|
471
|
+
aria-label="refresh"
|
472
|
+
id="testbutton"
|
473
|
+
size="small"
|
420
474
|
>
|
421
|
-
<
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
475
|
+
<svg
|
476
|
+
xmlns="http://www.w3.org/2000/svg"
|
477
|
+
height="24px"
|
478
|
+
viewBox="0 0 24 24"
|
479
|
+
width="24px"
|
480
|
+
fill="#000000"
|
481
|
+
>
|
482
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
483
|
+
<path
|
484
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
485
|
+
/>
|
486
|
+
</svg>
|
487
|
+
</ic-button>
|
488
|
+
</div>
|
489
|
+
</div>
|
490
|
+
<div>
|
491
|
+
<ic-typography>Large</ic-typography>
|
492
|
+
<div style="display:flex; gap: 0.5rem">
|
493
|
+
<ic-button
|
494
|
+
variant="icon-primary"
|
495
|
+
aria-label="refresh"
|
496
|
+
id="testbutton"
|
497
|
+
size="large"
|
436
498
|
>
|
437
|
-
<
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
499
|
+
<svg
|
500
|
+
xmlns="http://www.w3.org/2000/svg"
|
501
|
+
height="24px"
|
502
|
+
viewBox="0 0 24 24"
|
503
|
+
width="24px"
|
504
|
+
fill="#000000"
|
505
|
+
>
|
506
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
507
|
+
<path
|
508
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
509
|
+
/>
|
510
|
+
</svg>
|
511
|
+
</ic-button>
|
512
|
+
<ic-button
|
513
|
+
variant="icon-secondary"
|
514
|
+
aria-label="refresh"
|
515
|
+
id="testbutton"
|
516
|
+
size="large"
|
452
517
|
>
|
453
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
454
|
-
<path
|
455
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
456
|
-
/>
|
457
|
-
</svg>
|
458
|
-
</ic-button>
|
459
|
-
<div
|
460
|
-
style="background-color:#2c2f34; display:inline-block; padding:6px 10px"
|
461
|
-
>
|
462
|
-
<ic-button variant="primary" appearance="light">
|
463
|
-
Button
|
464
518
|
<svg
|
465
|
-
slot="right-icon"
|
466
519
|
xmlns="http://www.w3.org/2000/svg"
|
467
520
|
height="24px"
|
468
521
|
viewBox="0 0 24 24"
|
@@ -475,10 +528,13 @@ export const WithIcon = {
|
|
475
528
|
/>
|
476
529
|
</svg>
|
477
530
|
</ic-button>
|
478
|
-
<ic-button
|
479
|
-
|
531
|
+
<ic-button
|
532
|
+
variant="icon-tertiary"
|
533
|
+
aria-label="refresh"
|
534
|
+
id="testbutton"
|
535
|
+
size="large"
|
536
|
+
>
|
480
537
|
<svg
|
481
|
-
slot="right-icon"
|
482
538
|
xmlns="http://www.w3.org/2000/svg"
|
483
539
|
height="24px"
|
484
540
|
viewBox="0 0 24 24"
|
@@ -491,10 +547,13 @@ export const WithIcon = {
|
|
491
547
|
/>
|
492
548
|
</svg>
|
493
549
|
</ic-button>
|
494
|
-
<ic-button
|
495
|
-
|
550
|
+
<ic-button
|
551
|
+
variant="icon-destructive"
|
552
|
+
aria-label="refresh"
|
553
|
+
id="testbutton"
|
554
|
+
size="large"
|
555
|
+
>
|
496
556
|
<svg
|
497
|
-
slot="right-icon"
|
498
557
|
xmlns="http://www.w3.org/2000/svg"
|
499
558
|
height="24px"
|
500
559
|
viewBox="0 0 24 24"
|
@@ -508,660 +567,16 @@ export const WithIcon = {
|
|
508
567
|
</svg>
|
509
568
|
</ic-button>
|
510
569
|
</div>
|
511
|
-
</div>
|
512
|
-
|
513
|
-
name: "With icon",
|
514
|
-
};
|
515
|
-
|
516
|
-
export const Dropdown = {
|
517
|
-
render: () =>
|
518
|
-
html`<div>
|
519
|
-
<div style="padding: 6px">
|
520
|
-
<ic-button dropdown="true" variant="primary">Button</ic-button>
|
521
|
-
<ic-button dropdown="true" variant="primary"
|
522
|
-
>Button
|
523
|
-
<svg
|
524
|
-
slot="left-icon"
|
525
|
-
xmlns="http://www.w3.org/2000/svg"
|
526
|
-
height="24px"
|
527
|
-
viewBox="0 0 24 24"
|
528
|
-
width="24px"
|
529
|
-
fill="#000000"
|
530
|
-
>
|
531
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
532
|
-
<path
|
533
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
534
|
-
/>
|
535
|
-
</svg>
|
536
|
-
</ic-button>
|
537
|
-
<ic-button dropdown="true" variant="secondary">Button</ic-button>
|
538
|
-
<ic-button dropdown="true" variant="tertiary">Button</ic-button>
|
539
|
-
</div>
|
540
|
-
<div style="padding: 6px">
|
541
|
-
<ic-button dropdown="true" disabled="true" variant="primary"
|
542
|
-
>Button</ic-button
|
543
|
-
>
|
544
|
-
<ic-button dropdown="true" disabled="true" variant="primary"
|
545
|
-
>Button
|
546
|
-
<svg
|
547
|
-
slot="left-icon"
|
548
|
-
xmlns="http://www.w3.org/2000/svg"
|
549
|
-
height="24px"
|
550
|
-
viewBox="0 0 24 24"
|
551
|
-
width="24px"
|
552
|
-
fill="#000000"
|
553
|
-
>
|
554
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
555
|
-
<path
|
556
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
557
|
-
/>
|
558
|
-
</svg>
|
559
|
-
</ic-button>
|
560
|
-
<ic-button dropdown="true" disabled="true" variant="secondary"
|
561
|
-
>Button</ic-button
|
562
|
-
>
|
563
|
-
<ic-button dropdown="true" disabled="true" variant="tertiary"
|
564
|
-
>Button</ic-button
|
565
|
-
>
|
566
|
-
</div>
|
567
|
-
<div style="padding: 6px">
|
568
|
-
<ic-button dropdown="true" variant="primary" appearance="dark"
|
569
|
-
>Button</ic-button
|
570
|
-
>
|
571
|
-
<ic-button dropdown="true" appearance="dark" variant="primary"
|
572
|
-
>Button
|
573
|
-
<svg
|
574
|
-
slot="left-icon"
|
575
|
-
xmlns="http://www.w3.org/2000/svg"
|
576
|
-
height="24px"
|
577
|
-
viewBox="0 0 24 24"
|
578
|
-
width="24px"
|
579
|
-
fill="#000000"
|
580
|
-
>
|
581
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
582
|
-
<path
|
583
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
584
|
-
/>
|
585
|
-
</svg>
|
586
|
-
</ic-button>
|
587
|
-
<ic-button dropdown="true" variant="secondary" appearance="dark"
|
588
|
-
>Button</ic-button
|
589
|
-
>
|
590
|
-
<ic-button dropdown="true" variant="tertiary" appearance="dark"
|
591
|
-
>Button</ic-button
|
592
|
-
>
|
593
|
-
</div>
|
594
|
-
<div
|
595
|
-
style="background-color:#2c2f34; padding:6px 10px; width:fit-content;"
|
596
|
-
>
|
597
|
-
<ic-button dropdown="true" variant="primary" appearance="light"
|
598
|
-
>Button</ic-button
|
599
|
-
>
|
600
|
-
<ic-button dropdown="true" appearance="light" variant="primary"
|
601
|
-
>Button
|
602
|
-
<svg
|
603
|
-
slot="left-icon"
|
604
|
-
xmlns="http://www.w3.org/2000/svg"
|
605
|
-
height="24px"
|
606
|
-
viewBox="0 0 24 24"
|
607
|
-
width="24px"
|
608
|
-
fill="#000000"
|
609
|
-
>
|
610
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
611
|
-
<path
|
612
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
613
|
-
/>
|
614
|
-
</svg>
|
615
|
-
</ic-button>
|
616
|
-
<ic-button dropdown="true" variant="secondary" appearance="light"
|
617
|
-
>Button</ic-button
|
618
|
-
>
|
619
|
-
<ic-button
|
620
|
-
dropdown="true"
|
621
|
-
variant="tertiary"
|
622
|
-
appearance="light"
|
623
|
-
id="mybuttonid"
|
624
|
-
onclick="alert('test')"
|
625
|
-
>Button</ic-button
|
626
|
-
>
|
627
|
-
</div>
|
628
|
-
<div style="padding: 6px">
|
629
|
-
<ic-button dropdown="true" variant="primary" size="small"
|
630
|
-
>Button</ic-button
|
631
|
-
>
|
632
|
-
<ic-button dropdown="true" size="small" variant="primary"
|
633
|
-
>Button
|
634
|
-
<svg
|
635
|
-
slot="left-icon"
|
636
|
-
xmlns="http://www.w3.org/2000/svg"
|
637
|
-
height="24px"
|
638
|
-
viewBox="0 0 24 24"
|
639
|
-
width="24px"
|
640
|
-
fill="#000000"
|
641
|
-
>
|
642
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
643
|
-
<path
|
644
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
645
|
-
/>
|
646
|
-
</svg>
|
647
|
-
</ic-button>
|
648
|
-
<ic-button dropdown="true" variant="secondary" size="small"
|
649
|
-
>Button</ic-button
|
650
|
-
>
|
651
|
-
<ic-button dropdown="true" variant="tertiary" size="small"
|
652
|
-
>Button</ic-button
|
653
|
-
>
|
654
|
-
</div>
|
655
|
-
<div style="padding: 6px">
|
656
|
-
<ic-button dropdown="true" variant="primary" size="large"
|
657
|
-
>Button</ic-button
|
658
|
-
>
|
659
|
-
<ic-button dropdown="true" size="large" variant="primary"
|
660
|
-
>Button
|
661
|
-
<svg
|
662
|
-
slot="left-icon"
|
663
|
-
xmlns="http://www.w3.org/2000/svg"
|
664
|
-
height="24px"
|
665
|
-
viewBox="0 0 24 24"
|
666
|
-
width="24px"
|
667
|
-
fill="#000000"
|
668
|
-
>
|
669
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
670
|
-
<path
|
671
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
672
|
-
/>
|
673
|
-
</svg>
|
674
|
-
</ic-button>
|
675
|
-
<ic-button dropdown="true" variant="secondary" size="large"
|
676
|
-
>Button</ic-button
|
677
|
-
>
|
678
|
-
<ic-button dropdown="true" variant="tertiary" size="large"
|
679
|
-
>Button</ic-button
|
680
|
-
>
|
681
|
-
</div>
|
682
|
-
</div>`,
|
683
|
-
|
684
|
-
name: "Dropdown",
|
685
|
-
};
|
686
|
-
|
687
|
-
export const DropdownExample = {
|
688
|
-
render: () =>
|
689
|
-
html`<script>
|
690
|
-
var icPopover = document.querySelector("#popover-menu");
|
691
|
-
var icButton = document.querySelector("#button-1");
|
692
|
-
function handleClick() {
|
693
|
-
icPopover.open = icButton.dropdownExpanded;
|
694
|
-
}
|
695
|
-
icPopover.addEventListener("icPopoverClosed", handleClose);
|
696
|
-
function handleClose() {
|
697
|
-
icButton.dropdownExpanded = icPopover.open;
|
698
|
-
}
|
699
|
-
</script>
|
700
|
-
<div>
|
701
|
-
<ic-button
|
702
|
-
dropdown="true"
|
703
|
-
variant="primary"
|
704
|
-
onclick="handleClick()"
|
705
|
-
id="button-1"
|
706
|
-
>Button</ic-button
|
707
|
-
>
|
708
|
-
<ic-popover-menu
|
709
|
-
anchor="button-1"
|
710
|
-
aria-label="popover"
|
711
|
-
id="popover-menu"
|
712
|
-
>
|
713
|
-
<ic-menu-item label="Copy code"></ic-menu-item>
|
714
|
-
<ic-menu-item label="Paste code"></ic-menu-item>
|
715
|
-
<ic-menu-item label="Actions"></ic-menu-item>
|
716
|
-
</ic-popover-menu>
|
717
|
-
</div>`,
|
718
|
-
|
719
|
-
name: "Dropdown example",
|
720
|
-
};
|
721
|
-
|
722
|
-
export const Size = {
|
723
|
-
render: () =>
|
724
|
-
html` <ic-button variant="primary" size="small">Small</ic-button>
|
725
|
-
<ic-button variant="primary">Default</ic-button>
|
726
|
-
<ic-button variant="primary" size="large">Large</ic-button>
|
727
|
-
<ic-button variant="primary" size="small"
|
728
|
-
>Small
|
729
|
-
<svg
|
730
|
-
slot="left-icon"
|
731
|
-
xmlns="http://www.w3.org/2000/svg"
|
732
|
-
height="24px"
|
733
|
-
viewBox="0 0 24 24"
|
734
|
-
width="24px"
|
735
|
-
fill="#000000"
|
736
|
-
>
|
737
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
738
|
-
<path
|
739
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
740
|
-
/>
|
741
|
-
</svg>
|
742
|
-
</ic-button>
|
743
|
-
<ic-button variant="primary"
|
744
|
-
>Default
|
745
|
-
<svg
|
746
|
-
slot="left-icon"
|
747
|
-
xmlns="http://www.w3.org/2000/svg"
|
748
|
-
height="24px"
|
749
|
-
viewBox="0 0 24 24"
|
750
|
-
width="24px"
|
751
|
-
fill="#000000"
|
752
|
-
>
|
753
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
754
|
-
<path
|
755
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
756
|
-
/>
|
757
|
-
</svg>
|
758
|
-
</ic-button>
|
759
|
-
<ic-button variant="primary" size="large"
|
760
|
-
>Large
|
761
|
-
<svg
|
762
|
-
slot="left-icon"
|
763
|
-
xmlns="http://www.w3.org/2000/svg"
|
764
|
-
height="24px"
|
765
|
-
viewBox="0 0 24 24"
|
766
|
-
width="24px"
|
767
|
-
fill="#000000"
|
768
|
-
>
|
769
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
770
|
-
<path
|
771
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
772
|
-
/>
|
773
|
-
</svg>
|
774
|
-
</ic-button>`,
|
775
|
-
|
776
|
-
name: "Size",
|
777
|
-
};
|
778
|
-
|
779
|
-
export const IconWithoutViewBox = {
|
780
|
-
render: () =>
|
781
|
-
html`<ic-button variant="primary" size="small"
|
782
|
-
>Small
|
783
|
-
<svg
|
784
|
-
slot="left-icon"
|
785
|
-
xmlns="http://www.w3.org/2000/svg"
|
786
|
-
height="24px"
|
787
|
-
width="24px"
|
788
|
-
fill="#000000"
|
789
|
-
>
|
790
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
791
|
-
<path
|
792
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
793
|
-
/>
|
794
|
-
</svg>
|
795
|
-
</ic-button>
|
796
|
-
<ic-button variant="primary"
|
797
|
-
>Default
|
798
|
-
<svg
|
799
|
-
slot="left-icon"
|
800
|
-
xmlns="http://www.w3.org/2000/svg"
|
801
|
-
height="24px"
|
802
|
-
width="24px"
|
803
|
-
fill="#000000"
|
804
|
-
>
|
805
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
806
|
-
<path
|
807
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
808
|
-
/>
|
809
|
-
</svg>
|
810
|
-
</ic-button>
|
811
|
-
<ic-button variant="primary" size="large"
|
812
|
-
>Large
|
813
|
-
<svg
|
814
|
-
slot="left-icon"
|
815
|
-
xmlns="http://www.w3.org/2000/svg"
|
816
|
-
height="24px"
|
817
|
-
width="24px"
|
818
|
-
fill="#000000"
|
819
|
-
>
|
820
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
821
|
-
<path
|
822
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
823
|
-
/>
|
824
|
-
</svg>
|
825
|
-
</ic-button>`,
|
826
|
-
|
827
|
-
name: "Icon without viewBox",
|
828
|
-
};
|
829
|
-
|
830
|
-
export const FullWidth = {
|
831
|
-
render: () => html`
|
832
|
-
<ic-button variant="primary" full-width="true"
|
833
|
-
>Button
|
834
|
-
<svg
|
835
|
-
slot="left-icon"
|
836
|
-
xmlns="http://www.w3.org/2000/svg"
|
837
|
-
height="24px"
|
838
|
-
viewBox="0 0 24 24"
|
839
|
-
width="24px"
|
840
|
-
fill="#000000"
|
841
|
-
>
|
842
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
843
|
-
<path
|
844
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
845
|
-
/>
|
846
|
-
</svg>
|
847
|
-
</ic-button>
|
848
|
-
<ic-button variant="secondary" full-width="true"
|
849
|
-
>Button
|
850
|
-
<svg
|
851
|
-
slot="left-icon"
|
852
|
-
xmlns="http://www.w3.org/2000/svg"
|
853
|
-
height="24px"
|
854
|
-
viewBox="0 0 24 24"
|
855
|
-
width="24px"
|
856
|
-
fill="#000000"
|
857
|
-
>
|
858
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
859
|
-
<path
|
860
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
861
|
-
/>
|
862
|
-
</svg>
|
863
|
-
</ic-button>
|
864
|
-
<ic-button variant="tertiary" full-width="true"
|
865
|
-
>Button
|
866
|
-
<svg
|
867
|
-
slot="left-icon"
|
868
|
-
xmlns="http://www.w3.org/2000/svg"
|
869
|
-
height="24px"
|
870
|
-
viewBox="0 0 24 24"
|
871
|
-
width="24px"
|
872
|
-
fill="#000000"
|
873
|
-
>
|
874
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
875
|
-
<path
|
876
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
877
|
-
/>
|
878
|
-
</svg>
|
879
|
-
</ic-button>
|
880
|
-
<ic-button appearance="dark" full-width="true"
|
881
|
-
>Button
|
882
|
-
<svg
|
883
|
-
slot="left-icon"
|
884
|
-
xmlns="http://www.w3.org/2000/svg"
|
885
|
-
height="24px"
|
886
|
-
viewBox="0 0 24 24"
|
887
|
-
width="24px"
|
888
|
-
fill="#000000"
|
889
|
-
>
|
890
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
891
|
-
<path
|
892
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
893
|
-
/>
|
894
|
-
</svg>
|
895
|
-
</ic-button>
|
896
|
-
<ic-button variant="destructive" full-width="true"
|
897
|
-
>Button
|
898
|
-
<svg
|
899
|
-
slot="left-icon"
|
900
|
-
xmlns="http://www.w3.org/2000/svg"
|
901
|
-
height="24px"
|
902
|
-
viewBox="0 0 24 24"
|
903
|
-
width="24px"
|
904
|
-
fill="#000000"
|
905
|
-
>
|
906
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
907
|
-
<path
|
908
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
909
|
-
/>
|
910
|
-
</svg>
|
911
|
-
</ic-button>
|
912
|
-
<ic-button variant="destructive" disabled full-width="true"
|
913
|
-
>Button
|
914
|
-
<svg
|
915
|
-
slot="left-icon"
|
916
|
-
xmlns="http://www.w3.org/2000/svg"
|
917
|
-
height="24px"
|
918
|
-
viewBox="0 0 24 24"
|
919
|
-
width="24px"
|
920
|
-
fill="#000000"
|
921
|
-
>
|
922
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
923
|
-
<path
|
924
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
925
|
-
/>
|
926
|
-
</svg>
|
927
|
-
</ic-button>
|
928
|
-
<div style="background-color:#2c2f34; padding:6px 10px,">
|
929
|
-
<ic-button variant="primary" appearance="light" full-width="true">
|
930
|
-
Button
|
931
|
-
<svg
|
932
|
-
slot="left-icon"
|
933
|
-
xmlns="http://www.w3.org/2000/svg"
|
934
|
-
height="24px"
|
935
|
-
viewBox="0 0 24 24"
|
936
|
-
width="24px"
|
937
|
-
fill="#000000"
|
938
|
-
>
|
939
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
940
|
-
<path
|
941
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
942
|
-
/>
|
943
|
-
</svg>
|
944
|
-
</ic-button>
|
945
|
-
<ic-button variant="secondary" appearance="light" full-width="true">
|
946
|
-
Button
|
947
|
-
<svg
|
948
|
-
slot="left-icon"
|
949
|
-
xmlns="http://www.w3.org/2000/svg"
|
950
|
-
height="24px"
|
951
|
-
viewBox="0 0 24 24"
|
952
|
-
width="24px"
|
953
|
-
fill="#000000"
|
954
|
-
>
|
955
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
956
|
-
<path
|
957
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
958
|
-
/>
|
959
|
-
</svg>
|
960
|
-
</ic-button>
|
961
|
-
<ic-button variant="tertiary" appearance="light" full-width="true">
|
962
|
-
Button
|
963
|
-
<svg
|
964
|
-
slot="left-icon"
|
965
|
-
xmlns="http://www.w3.org/2000/svg"
|
966
|
-
height="24px"
|
967
|
-
viewBox="0 0 24 24"
|
968
|
-
width="24px"
|
969
|
-
fill="#000000"
|
970
|
-
>
|
971
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
972
|
-
<path
|
973
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
974
|
-
/>
|
975
|
-
</svg>
|
976
|
-
</ic-button>
|
977
|
-
</div>
|
978
|
-
`,
|
979
|
-
|
980
|
-
name: "Full width",
|
981
|
-
};
|
982
|
-
|
983
|
-
export const MinWidth = {
|
984
|
-
render: () => html`
|
985
|
-
<style>
|
986
|
-
ic-button {
|
987
|
-
--min-width: 4rem;
|
988
|
-
}
|
989
|
-
</style>
|
990
|
-
<ic-button>Min</ic-button>
|
991
|
-
<ic-button variant="secondary">Min</ic-button>
|
992
|
-
`,
|
993
|
-
|
994
|
-
name: "Min width",
|
995
|
-
};
|
996
|
-
|
997
|
-
export const Height = {
|
998
|
-
render: () => html`
|
999
|
-
<style>
|
1000
|
-
ic-button[name="tall-button"] {
|
1001
|
-
--height: 9rem;
|
1002
|
-
}
|
1003
|
-
</style>
|
1004
|
-
<ic-button name="tall-button">Tall Button</ic-button>
|
1005
|
-
<ic-button variant="secondary" name="tall-button">Tall Button</ic-button>
|
1006
|
-
`,
|
1007
|
-
|
1008
|
-
name: "Height",
|
1009
|
-
};
|
1010
|
-
|
1011
|
-
export const IconOnly = {
|
1012
|
-
render: () =>
|
1013
|
-
html`<ic-button
|
1014
|
-
variant="icon"
|
1015
|
-
size="small"
|
1016
|
-
aria-label="refresh"
|
1017
|
-
id="testbutton"
|
1018
|
-
><svg
|
1019
|
-
xmlns="http://www.w3.org/2000/svg"
|
1020
|
-
height="24px"
|
1021
|
-
viewBox="0 0 24 24"
|
1022
|
-
width="24px"
|
1023
|
-
fill="#000000"
|
1024
|
-
>
|
1025
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1026
|
-
<path
|
1027
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1028
|
-
/></svg
|
1029
|
-
></ic-button>
|
1030
|
-
<ic-button variant="icon" size="small" title="refresh but as a title"
|
1031
|
-
><svg
|
1032
|
-
xmlns="http://www.w3.org/2000/svg"
|
1033
|
-
height="24px"
|
1034
|
-
viewBox="0 0 24 24"
|
1035
|
-
width="24px"
|
1036
|
-
fill="#000000"
|
1037
|
-
>
|
1038
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1039
|
-
<path
|
1040
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1041
|
-
/></svg
|
1042
|
-
></ic-button>
|
1043
|
-
<ic-button
|
1044
|
-
variant="icon"
|
1045
|
-
size="small"
|
1046
|
-
aria-label="refresh label"
|
1047
|
-
title="title alongside a label"
|
1048
|
-
><svg
|
1049
|
-
xmlns="http://www.w3.org/2000/svg"
|
1050
|
-
height="24px"
|
1051
|
-
viewBox="0 0 24 24"
|
1052
|
-
width="24px"
|
1053
|
-
fill="#000000"
|
1054
|
-
>
|
1055
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1056
|
-
<path
|
1057
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1058
|
-
/></svg
|
1059
|
-
></ic-button>
|
1060
|
-
<ic-button variant="icon" aria-label="refresh"
|
1061
|
-
><svg
|
1062
|
-
xmlns="http://www.w3.org/2000/svg"
|
1063
|
-
height="24px"
|
1064
|
-
viewBox="0 0 24 24"
|
1065
|
-
width="24px"
|
1066
|
-
fill="#000000"
|
1067
|
-
>
|
1068
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1069
|
-
<path
|
1070
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1071
|
-
/></svg
|
1072
|
-
></ic-button>
|
1073
|
-
<ic-button variant="icon" size="large" aria-label="refresh"
|
1074
|
-
><svg
|
1075
|
-
xmlns="http://www.w3.org/2000/svg"
|
1076
|
-
height="24px"
|
1077
|
-
viewBox="0 0 24 24"
|
1078
|
-
width="24px"
|
1079
|
-
fill="#000000"
|
1080
|
-
>
|
1081
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1082
|
-
<path
|
1083
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1084
|
-
/></svg
|
1085
|
-
></ic-button>
|
1086
|
-
<ic-button variant="icon" size="large" aria-label="refresh" disabled
|
1087
|
-
><svg
|
1088
|
-
xmlns="http://www.w3.org/2000/svg"
|
1089
|
-
height="24px"
|
1090
|
-
viewBox="0 0 24 24"
|
1091
|
-
width="24px"
|
1092
|
-
fill="#000000"
|
1093
|
-
>
|
1094
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1095
|
-
<path
|
1096
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1097
|
-
/></svg
|
1098
|
-
></ic-button>
|
1099
|
-
<ic-button variant="icon" appearance="dark" size="large" title="refresh"
|
1100
|
-
><svg
|
1101
|
-
xmlns="http://www.w3.org/2000/svg"
|
1102
|
-
height="24px"
|
1103
|
-
viewBox="0 0 24 24"
|
1104
|
-
width="24px"
|
1105
|
-
fill="#000000"
|
1106
|
-
>
|
1107
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1108
|
-
<path
|
1109
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1110
|
-
/></svg
|
1111
|
-
></ic-button>
|
1112
|
-
<div
|
1113
|
-
style="background-color:#2c2f34; display:inline-block; padding:6px 10px"
|
1114
|
-
>
|
1115
|
-
<ic-button
|
1116
|
-
variant="icon"
|
1117
|
-
appearance="light"
|
1118
|
-
size="large"
|
1119
|
-
title="refresh"
|
1120
|
-
><svg
|
1121
|
-
xmlns="http://www.w3.org/2000/svg"
|
1122
|
-
height="24px"
|
1123
|
-
viewBox="0 0 24 24"
|
1124
|
-
width="24px"
|
1125
|
-
fill="#000000"
|
1126
|
-
>
|
1127
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1128
|
-
<path
|
1129
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1130
|
-
/></svg
|
1131
|
-
></ic-button>
|
1132
|
-
<ic-button
|
1133
|
-
variant="icon"
|
1134
|
-
appearance="light"
|
1135
|
-
disabled
|
1136
|
-
size="large"
|
1137
|
-
title="refresh"
|
1138
|
-
><svg
|
1139
|
-
xmlns="http://www.w3.org/2000/svg"
|
1140
|
-
height="24px"
|
1141
|
-
viewBox="0 0 24 24"
|
1142
|
-
width="24px"
|
1143
|
-
fill="#000000"
|
1144
|
-
>
|
1145
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1146
|
-
<path
|
1147
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1148
|
-
/></svg
|
1149
|
-
></ic-button>
|
1150
|
-
</div> `,
|
1151
|
-
|
1152
|
-
name: "Icon only",
|
1153
|
-
};
|
1154
|
-
|
1155
|
-
export const IconVariants = {
|
1156
|
-
render: () =>
|
1157
|
-
html`<div style="display:flex; gap: 1rem; flex-direction:column;">
|
570
|
+
</div>
|
1158
571
|
<div>
|
1159
|
-
<
|
572
|
+
<ic-typography>Loading</ic-typography>
|
1160
573
|
<div style="display:flex; gap: 0.5rem">
|
1161
574
|
<ic-button
|
1162
575
|
variant="icon-primary"
|
576
|
+
theme="light"
|
1163
577
|
aria-label="refresh"
|
1164
578
|
id="testbutton"
|
579
|
+
loading
|
1165
580
|
>
|
1166
581
|
<svg
|
1167
582
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1180,6 +595,7 @@ export const IconVariants = {
|
|
1180
595
|
variant="icon-secondary"
|
1181
596
|
aria-label="refresh"
|
1182
597
|
id="testbutton"
|
598
|
+
loading
|
1183
599
|
>
|
1184
600
|
<svg
|
1185
601
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1198,6 +614,7 @@ export const IconVariants = {
|
|
1198
614
|
variant="icon-tertiary"
|
1199
615
|
aria-label="refresh"
|
1200
616
|
id="testbutton"
|
617
|
+
loading
|
1201
618
|
>
|
1202
619
|
<svg
|
1203
620
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1216,6 +633,7 @@ export const IconVariants = {
|
|
1216
633
|
variant="icon-destructive"
|
1217
634
|
aria-label="refresh"
|
1218
635
|
id="testbutton"
|
636
|
+
loading
|
1219
637
|
>
|
1220
638
|
<svg
|
1221
639
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1233,13 +651,13 @@ export const IconVariants = {
|
|
1233
651
|
</div>
|
1234
652
|
</div>
|
1235
653
|
<div>
|
1236
|
-
<
|
654
|
+
<ic-typography>Disabled</ic-typography>
|
1237
655
|
<div style="display:flex; gap: 0.5rem">
|
1238
656
|
<ic-button
|
1239
657
|
variant="icon-primary"
|
1240
658
|
aria-label="refresh"
|
1241
659
|
id="testbutton"
|
1242
|
-
|
660
|
+
disabled
|
1243
661
|
>
|
1244
662
|
<svg
|
1245
663
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1258,7 +676,7 @@ export const IconVariants = {
|
|
1258
676
|
variant="icon-secondary"
|
1259
677
|
aria-label="refresh"
|
1260
678
|
id="testbutton"
|
1261
|
-
|
679
|
+
disabled
|
1262
680
|
>
|
1263
681
|
<svg
|
1264
682
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1277,7 +695,7 @@ export const IconVariants = {
|
|
1277
695
|
variant="icon-tertiary"
|
1278
696
|
aria-label="refresh"
|
1279
697
|
id="testbutton"
|
1280
|
-
|
698
|
+
disabled
|
1281
699
|
>
|
1282
700
|
<svg
|
1283
701
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1296,7 +714,7 @@ export const IconVariants = {
|
|
1296
714
|
variant="icon-destructive"
|
1297
715
|
aria-label="refresh"
|
1298
716
|
id="testbutton"
|
1299
|
-
|
717
|
+
disabled
|
1300
718
|
>
|
1301
719
|
<svg
|
1302
720
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1314,13 +732,16 @@ export const IconVariants = {
|
|
1314
732
|
</div>
|
1315
733
|
</div>
|
1316
734
|
<div>
|
1317
|
-
<
|
1318
|
-
<div
|
735
|
+
<ic-typography>Light - monochrome</ic-typography>
|
736
|
+
<div
|
737
|
+
style="width: fit-content; background-color: #ececec; padding: 0.5rem;"
|
738
|
+
>
|
1319
739
|
<ic-button
|
1320
740
|
variant="icon-primary"
|
1321
741
|
aria-label="refresh"
|
1322
742
|
id="testbutton"
|
1323
|
-
|
743
|
+
theme="light"
|
744
|
+
monochrome
|
1324
745
|
>
|
1325
746
|
<svg
|
1326
747
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1339,7 +760,8 @@ export const IconVariants = {
|
|
1339
760
|
variant="icon-secondary"
|
1340
761
|
aria-label="refresh"
|
1341
762
|
id="testbutton"
|
1342
|
-
|
763
|
+
theme="light"
|
764
|
+
monochrome
|
1343
765
|
>
|
1344
766
|
<svg
|
1345
767
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1358,26 +780,8 @@ export const IconVariants = {
|
|
1358
780
|
variant="icon-tertiary"
|
1359
781
|
aria-label="refresh"
|
1360
782
|
id="testbutton"
|
1361
|
-
|
1362
|
-
|
1363
|
-
<svg
|
1364
|
-
xmlns="http://www.w3.org/2000/svg"
|
1365
|
-
height="24px"
|
1366
|
-
viewBox="0 0 24 24"
|
1367
|
-
width="24px"
|
1368
|
-
fill="#000000"
|
1369
|
-
>
|
1370
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1371
|
-
<path
|
1372
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1373
|
-
/>
|
1374
|
-
</svg>
|
1375
|
-
</ic-button>
|
1376
|
-
<ic-button
|
1377
|
-
variant="icon-destructive"
|
1378
|
-
aria-label="refresh"
|
1379
|
-
id="testbutton"
|
1380
|
-
size="large"
|
783
|
+
theme="light"
|
784
|
+
monochrome
|
1381
785
|
>
|
1382
786
|
<svg
|
1383
787
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1392,16 +796,13 @@ export const IconVariants = {
|
|
1392
796
|
/>
|
1393
797
|
</svg>
|
1394
798
|
</ic-button>
|
1395
|
-
</div>
|
1396
|
-
</div>
|
1397
|
-
<div>
|
1398
|
-
<h1>Loading</h1>
|
1399
|
-
<div style="display:flex; gap: 0.5rem">
|
1400
799
|
<ic-button
|
1401
800
|
variant="icon-primary"
|
1402
801
|
aria-label="refresh"
|
1403
802
|
id="testbutton"
|
803
|
+
theme="light"
|
1404
804
|
loading
|
805
|
+
monochrome
|
1405
806
|
>
|
1406
807
|
<svg
|
1407
808
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1420,7 +821,9 @@ export const IconVariants = {
|
|
1420
821
|
variant="icon-secondary"
|
1421
822
|
aria-label="refresh"
|
1422
823
|
id="testbutton"
|
824
|
+
theme="light"
|
1423
825
|
loading
|
826
|
+
monochrome
|
1424
827
|
>
|
1425
828
|
<svg
|
1426
829
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1439,107 +842,9 @@ export const IconVariants = {
|
|
1439
842
|
variant="icon-tertiary"
|
1440
843
|
aria-label="refresh"
|
1441
844
|
id="testbutton"
|
845
|
+
theme="light"
|
1442
846
|
loading
|
1443
|
-
|
1444
|
-
<svg
|
1445
|
-
xmlns="http://www.w3.org/2000/svg"
|
1446
|
-
height="24px"
|
1447
|
-
viewBox="0 0 24 24"
|
1448
|
-
width="24px"
|
1449
|
-
fill="#000000"
|
1450
|
-
>
|
1451
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1452
|
-
<path
|
1453
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1454
|
-
/>
|
1455
|
-
</svg>
|
1456
|
-
</ic-button>
|
1457
|
-
<ic-button
|
1458
|
-
variant="icon-destructive"
|
1459
|
-
aria-label="refresh"
|
1460
|
-
id="testbutton"
|
1461
|
-
loading
|
1462
|
-
>
|
1463
|
-
<svg
|
1464
|
-
xmlns="http://www.w3.org/2000/svg"
|
1465
|
-
height="24px"
|
1466
|
-
viewBox="0 0 24 24"
|
1467
|
-
width="24px"
|
1468
|
-
fill="#000000"
|
1469
|
-
>
|
1470
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1471
|
-
<path
|
1472
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1473
|
-
/>
|
1474
|
-
</svg>
|
1475
|
-
</ic-button>
|
1476
|
-
</div>
|
1477
|
-
</div>
|
1478
|
-
<div>
|
1479
|
-
<h1>Disabled</h1>
|
1480
|
-
<div style="display:flex; gap: 0.5rem">
|
1481
|
-
<ic-button
|
1482
|
-
variant="icon-primary"
|
1483
|
-
aria-label="refresh"
|
1484
|
-
id="testbutton"
|
1485
|
-
disabled
|
1486
|
-
>
|
1487
|
-
<svg
|
1488
|
-
xmlns="http://www.w3.org/2000/svg"
|
1489
|
-
height="24px"
|
1490
|
-
viewBox="0 0 24 24"
|
1491
|
-
width="24px"
|
1492
|
-
fill="#000000"
|
1493
|
-
>
|
1494
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1495
|
-
<path
|
1496
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1497
|
-
/>
|
1498
|
-
</svg>
|
1499
|
-
</ic-button>
|
1500
|
-
<ic-button
|
1501
|
-
variant="icon-secondary"
|
1502
|
-
aria-label="refresh"
|
1503
|
-
id="testbutton"
|
1504
|
-
disabled
|
1505
|
-
>
|
1506
|
-
<svg
|
1507
|
-
xmlns="http://www.w3.org/2000/svg"
|
1508
|
-
height="24px"
|
1509
|
-
viewBox="0 0 24 24"
|
1510
|
-
width="24px"
|
1511
|
-
fill="#000000"
|
1512
|
-
>
|
1513
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1514
|
-
<path
|
1515
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1516
|
-
/>
|
1517
|
-
</svg>
|
1518
|
-
</ic-button>
|
1519
|
-
<ic-button
|
1520
|
-
variant="icon-tertiary"
|
1521
|
-
aria-label="refresh"
|
1522
|
-
id="testbutton"
|
1523
|
-
disabled
|
1524
|
-
>
|
1525
|
-
<svg
|
1526
|
-
xmlns="http://www.w3.org/2000/svg"
|
1527
|
-
height="24px"
|
1528
|
-
viewBox="0 0 24 24"
|
1529
|
-
width="24px"
|
1530
|
-
fill="#000000"
|
1531
|
-
>
|
1532
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1533
|
-
<path
|
1534
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1535
|
-
/>
|
1536
|
-
</svg>
|
1537
|
-
</ic-button>
|
1538
|
-
<ic-button
|
1539
|
-
variant="icon-destructive"
|
1540
|
-
aria-label="refresh"
|
1541
|
-
id="testbutton"
|
1542
|
-
disabled
|
847
|
+
monochrome
|
1543
848
|
>
|
1544
849
|
<svg
|
1545
850
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1556,16 +861,16 @@ export const IconVariants = {
|
|
1556
861
|
</ic-button>
|
1557
862
|
</div>
|
1558
863
|
</div>
|
1559
|
-
<
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
>
|
864
|
+
<ic-typography>Dark</ic-typography>
|
865
|
+
<div
|
866
|
+
style="background-color:#474A48; padding: 0.5rem; width: fit-content;"
|
867
|
+
>
|
868
|
+
<div>
|
1564
869
|
<ic-button
|
1565
870
|
variant="icon-primary"
|
1566
871
|
aria-label="refresh"
|
1567
872
|
id="testbutton"
|
1568
|
-
|
873
|
+
theme="dark"
|
1569
874
|
>
|
1570
875
|
<svg
|
1571
876
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1584,7 +889,7 @@ export const IconVariants = {
|
|
1584
889
|
variant="icon-secondary"
|
1585
890
|
aria-label="refresh"
|
1586
891
|
id="testbutton"
|
1587
|
-
|
892
|
+
theme="dark"
|
1588
893
|
>
|
1589
894
|
<svg
|
1590
895
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1603,7 +908,7 @@ export const IconVariants = {
|
|
1603
908
|
variant="icon-tertiary"
|
1604
909
|
aria-label="refresh"
|
1605
910
|
id="testbutton"
|
1606
|
-
|
911
|
+
theme="dark"
|
1607
912
|
>
|
1608
913
|
<svg
|
1609
914
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1622,7 +927,7 @@ export const IconVariants = {
|
|
1622
927
|
variant="icon-destructive"
|
1623
928
|
aria-label="refresh"
|
1624
929
|
id="testbutton"
|
1625
|
-
|
930
|
+
theme="dark"
|
1626
931
|
>
|
1627
932
|
<svg
|
1628
933
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1639,16 +944,16 @@ export const IconVariants = {
|
|
1639
944
|
</ic-button>
|
1640
945
|
</div>
|
1641
946
|
</div>
|
1642
|
-
<
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
>
|
947
|
+
<ic-typography>Dark Loading</ic-typography>
|
948
|
+
<div
|
949
|
+
style="background-color:#474A48; padding: 0.5rem; width: fit-content;"
|
950
|
+
>
|
951
|
+
<div>
|
1647
952
|
<ic-button
|
1648
953
|
variant="icon-primary"
|
1649
954
|
aria-label="refresh"
|
1650
955
|
id="testbutton"
|
1651
|
-
|
956
|
+
theme="dark"
|
1652
957
|
loading
|
1653
958
|
>
|
1654
959
|
<svg
|
@@ -1668,7 +973,7 @@ export const IconVariants = {
|
|
1668
973
|
variant="icon-secondary"
|
1669
974
|
aria-label="refresh"
|
1670
975
|
id="testbutton"
|
1671
|
-
|
976
|
+
theme="dark"
|
1672
977
|
loading
|
1673
978
|
>
|
1674
979
|
<svg
|
@@ -1688,7 +993,7 @@ export const IconVariants = {
|
|
1688
993
|
variant="icon-tertiary"
|
1689
994
|
aria-label="refresh"
|
1690
995
|
id="testbutton"
|
1691
|
-
|
996
|
+
theme="dark"
|
1692
997
|
loading
|
1693
998
|
>
|
1694
999
|
<svg
|
@@ -1708,7 +1013,7 @@ export const IconVariants = {
|
|
1708
1013
|
variant="icon-destructive"
|
1709
1014
|
aria-label="refresh"
|
1710
1015
|
id="testbutton"
|
1711
|
-
|
1016
|
+
theme="dark"
|
1712
1017
|
loading
|
1713
1018
|
>
|
1714
1019
|
<svg
|
@@ -1726,14 +1031,17 @@ export const IconVariants = {
|
|
1726
1031
|
</ic-button>
|
1727
1032
|
</div>
|
1728
1033
|
</div>
|
1729
|
-
<
|
1730
|
-
|
1034
|
+
<ic-typography>Dark - monochrome</ic-typography>
|
1035
|
+
<div
|
1036
|
+
style="background-color:#474A48; padding: 0.5rem; width: fit-content;"
|
1037
|
+
>
|
1731
1038
|
<div>
|
1732
1039
|
<ic-button
|
1733
1040
|
variant="icon-primary"
|
1734
1041
|
aria-label="refresh"
|
1735
1042
|
id="testbutton"
|
1736
|
-
|
1043
|
+
theme="dark"
|
1044
|
+
monochrome
|
1737
1045
|
>
|
1738
1046
|
<svg
|
1739
1047
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1752,7 +1060,8 @@ export const IconVariants = {
|
|
1752
1060
|
variant="icon-secondary"
|
1753
1061
|
aria-label="refresh"
|
1754
1062
|
id="testbutton"
|
1755
|
-
|
1063
|
+
theme="dark"
|
1064
|
+
monochrome
|
1756
1065
|
>
|
1757
1066
|
<svg
|
1758
1067
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1771,7 +1080,8 @@ export const IconVariants = {
|
|
1771
1080
|
variant="icon-tertiary"
|
1772
1081
|
aria-label="refresh"
|
1773
1082
|
id="testbutton"
|
1774
|
-
|
1083
|
+
theme="dark"
|
1084
|
+
monochrome
|
1775
1085
|
>
|
1776
1086
|
<svg
|
1777
1087
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1787,10 +1097,12 @@ export const IconVariants = {
|
|
1787
1097
|
</svg>
|
1788
1098
|
</ic-button>
|
1789
1099
|
<ic-button
|
1790
|
-
variant="icon-
|
1100
|
+
variant="icon-primary"
|
1791
1101
|
aria-label="refresh"
|
1792
1102
|
id="testbutton"
|
1793
|
-
|
1103
|
+
theme="dark"
|
1104
|
+
loading
|
1105
|
+
monochrome
|
1794
1106
|
>
|
1795
1107
|
<svg
|
1796
1108
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1805,17 +1117,13 @@ export const IconVariants = {
|
|
1805
1117
|
/>
|
1806
1118
|
</svg>
|
1807
1119
|
</ic-button>
|
1808
|
-
</div>
|
1809
|
-
</div>
|
1810
|
-
<div>
|
1811
|
-
<h1>Dark Loading</h1>
|
1812
|
-
<div>
|
1813
1120
|
<ic-button
|
1814
|
-
variant="icon-
|
1121
|
+
variant="icon-secondary"
|
1815
1122
|
aria-label="refresh"
|
1816
1123
|
id="testbutton"
|
1817
|
-
|
1124
|
+
theme="dark"
|
1818
1125
|
loading
|
1126
|
+
monochrome
|
1819
1127
|
>
|
1820
1128
|
<svg
|
1821
1129
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1831,11 +1139,12 @@ export const IconVariants = {
|
|
1831
1139
|
</svg>
|
1832
1140
|
</ic-button>
|
1833
1141
|
<ic-button
|
1834
|
-
variant="icon-
|
1142
|
+
variant="icon-tertiary"
|
1835
1143
|
aria-label="refresh"
|
1836
1144
|
id="testbutton"
|
1837
|
-
|
1145
|
+
theme="dark"
|
1838
1146
|
loading
|
1147
|
+
monochrome
|
1839
1148
|
>
|
1840
1149
|
<svg
|
1841
1150
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -1850,51 +1159,702 @@ export const IconVariants = {
|
|
1850
1159
|
/>
|
1851
1160
|
</svg>
|
1852
1161
|
</ic-button>
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1162
|
+
</div>
|
1163
|
+
</div>
|
1164
|
+
</div>`,
|
1165
|
+
|
1166
|
+
name: "Icon variants",
|
1167
|
+
};
|
1168
|
+
|
1169
|
+
export const WithIcon = {
|
1170
|
+
render: () =>
|
1171
|
+
html`<div style="padding: 1rem; display: flex; gap: 1rem">
|
1172
|
+
<ic-button variant="primary">
|
1173
|
+
Primary
|
1174
|
+
<svg
|
1175
|
+
slot="left-icon"
|
1176
|
+
xmlns="http://www.w3.org/2000/svg"
|
1177
|
+
height="24px"
|
1178
|
+
viewBox="0 0 24 24"
|
1179
|
+
width="24px"
|
1180
|
+
fill="#000000"
|
1181
|
+
>
|
1182
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1183
|
+
<path
|
1184
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1185
|
+
/>
|
1186
|
+
</svg>
|
1187
|
+
</ic-button>
|
1188
|
+
<ic-button variant="secondary">
|
1189
|
+
Secondary
|
1190
|
+
<svg
|
1191
|
+
slot="left-icon"
|
1192
|
+
xmlns="http://www.w3.org/2000/svg"
|
1193
|
+
height="24px"
|
1194
|
+
viewBox="0 0 24 24"
|
1195
|
+
width="24px"
|
1196
|
+
fill="#000000"
|
1197
|
+
>
|
1198
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1199
|
+
<path
|
1200
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1201
|
+
/>
|
1202
|
+
</svg>
|
1203
|
+
</ic-button>
|
1204
|
+
<ic-button variant="tertiary">
|
1205
|
+
Tertiary
|
1206
|
+
<svg
|
1207
|
+
slot="left-icon"
|
1208
|
+
xmlns="http://www.w3.org/2000/svg"
|
1209
|
+
height="24px"
|
1210
|
+
viewBox="0 0 24 24"
|
1211
|
+
width="24px"
|
1212
|
+
fill="#000000"
|
1213
|
+
>
|
1214
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1215
|
+
<path
|
1216
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1217
|
+
/>
|
1218
|
+
</svg>
|
1219
|
+
</ic-button>
|
1220
|
+
<ic-button variant="destructive">
|
1221
|
+
Destructive
|
1222
|
+
<svg
|
1223
|
+
slot="left-icon"
|
1224
|
+
xmlns="http://www.w3.org/2000/svg"
|
1225
|
+
height="24px"
|
1226
|
+
viewBox="0 0 24 24"
|
1227
|
+
width="24px"
|
1228
|
+
fill="#000000"
|
1229
|
+
>
|
1230
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1231
|
+
<path
|
1232
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1233
|
+
/>
|
1234
|
+
</svg>
|
1235
|
+
</ic-button>
|
1236
|
+
</div>
|
1237
|
+
<div style="padding: 1rem; display: flex; gap: 1rem">
|
1238
|
+
<ic-button variant="primary">
|
1239
|
+
Primary
|
1240
|
+
<svg
|
1241
|
+
slot="right-icon"
|
1242
|
+
xmlns="http://www.w3.org/2000/svg"
|
1243
|
+
height="24px"
|
1244
|
+
viewBox="0 0 24 24"
|
1245
|
+
width="24px"
|
1246
|
+
fill="#000000"
|
1247
|
+
>
|
1248
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1249
|
+
<path
|
1250
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1251
|
+
/>
|
1252
|
+
</svg>
|
1253
|
+
</ic-button>
|
1254
|
+
<ic-button variant="secondary">
|
1255
|
+
Secondary
|
1256
|
+
<svg
|
1257
|
+
slot="right-icon"
|
1258
|
+
xmlns="http://www.w3.org/2000/svg"
|
1259
|
+
height="24px"
|
1260
|
+
viewBox="0 0 24 24"
|
1261
|
+
width="24px"
|
1262
|
+
fill="#000000"
|
1263
|
+
>
|
1264
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1265
|
+
<path
|
1266
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1267
|
+
/>
|
1268
|
+
</svg>
|
1269
|
+
</ic-button>
|
1270
|
+
<ic-button variant="tertiary">
|
1271
|
+
Tertiary
|
1272
|
+
<svg
|
1273
|
+
slot="right-icon"
|
1274
|
+
xmlns="http://www.w3.org/2000/svg"
|
1275
|
+
height="24px"
|
1276
|
+
viewBox="0 0 24 24"
|
1277
|
+
width="24px"
|
1278
|
+
fill="#000000"
|
1279
|
+
>
|
1280
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1281
|
+
<path
|
1282
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1283
|
+
/>
|
1284
|
+
</svg>
|
1285
|
+
</ic-button>
|
1286
|
+
<ic-button variant="destructive">
|
1287
|
+
Destructive
|
1288
|
+
<svg
|
1289
|
+
slot="right-icon"
|
1290
|
+
xmlns="http://www.w3.org/2000/svg"
|
1291
|
+
height="24px"
|
1292
|
+
viewBox="0 0 24 24"
|
1293
|
+
width="24px"
|
1294
|
+
fill="#000000"
|
1295
|
+
>
|
1296
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1297
|
+
<path
|
1298
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1299
|
+
/>
|
1300
|
+
</svg>
|
1301
|
+
</ic-button>
|
1302
|
+
</div> `,
|
1303
|
+
|
1304
|
+
name: "With icon",
|
1305
|
+
};
|
1306
|
+
|
1307
|
+
export const Dropdown = {
|
1308
|
+
render: () =>
|
1309
|
+
html`<div>
|
1310
|
+
<div style="padding: 6px">
|
1311
|
+
<ic-button dropdown="true" variant="primary">Button</ic-button>
|
1312
|
+
<ic-button dropdown="true" variant="primary"
|
1313
|
+
>Button
|
1314
|
+
<svg
|
1315
|
+
slot="left-icon"
|
1316
|
+
xmlns="http://www.w3.org/2000/svg"
|
1317
|
+
height="24px"
|
1318
|
+
viewBox="0 0 24 24"
|
1319
|
+
width="24px"
|
1320
|
+
fill="#000000"
|
1321
|
+
>
|
1322
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1323
|
+
<path
|
1324
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1325
|
+
/>
|
1326
|
+
</svg>
|
1327
|
+
</ic-button>
|
1328
|
+
<ic-button dropdown="true" variant="secondary">Button</ic-button>
|
1329
|
+
<ic-button dropdown="true" variant="tertiary">Button</ic-button>
|
1330
|
+
</div>
|
1331
|
+
<div style="padding: 6px">
|
1332
|
+
<ic-button dropdown="true" disabled="true" variant="primary"
|
1333
|
+
>Button</ic-button
|
1334
|
+
>
|
1335
|
+
<ic-button dropdown="true" disabled="true" variant="primary"
|
1336
|
+
>Button
|
1337
|
+
<svg
|
1338
|
+
slot="left-icon"
|
1339
|
+
xmlns="http://www.w3.org/2000/svg"
|
1340
|
+
height="24px"
|
1341
|
+
viewBox="0 0 24 24"
|
1342
|
+
width="24px"
|
1343
|
+
fill="#000000"
|
1344
|
+
>
|
1345
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1346
|
+
<path
|
1347
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1348
|
+
/>
|
1349
|
+
</svg>
|
1350
|
+
</ic-button>
|
1351
|
+
<ic-button dropdown="true" disabled="true" variant="secondary"
|
1352
|
+
>Button</ic-button
|
1353
|
+
>
|
1354
|
+
<ic-button dropdown="true" disabled="true" variant="tertiary"
|
1355
|
+
>Button</ic-button
|
1356
|
+
>
|
1357
|
+
</div>
|
1358
|
+
<div style="padding: 6px">
|
1359
|
+
<ic-button dropdown="true" variant="primary" theme="dark"
|
1360
|
+
>Button</ic-button
|
1361
|
+
>
|
1362
|
+
<ic-button dropdown="true" theme="dark" variant="primary"
|
1363
|
+
>Button
|
1364
|
+
<svg
|
1365
|
+
slot="left-icon"
|
1366
|
+
xmlns="http://www.w3.org/2000/svg"
|
1367
|
+
height="24px"
|
1368
|
+
viewBox="0 0 24 24"
|
1369
|
+
width="24px"
|
1370
|
+
fill="#000000"
|
1371
|
+
>
|
1372
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1373
|
+
<path
|
1374
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1375
|
+
/>
|
1376
|
+
</svg>
|
1377
|
+
</ic-button>
|
1378
|
+
<ic-button dropdown="true" variant="secondary" theme="dark"
|
1379
|
+
>Button</ic-button
|
1380
|
+
>
|
1381
|
+
<ic-button dropdown="true" variant="tertiary" theme="dark"
|
1382
|
+
>Button</ic-button
|
1383
|
+
>
|
1384
|
+
</div>
|
1385
|
+
<div
|
1386
|
+
style="background-color:#2c2f34; padding:6px 10px; width:fit-content;"
|
1387
|
+
>
|
1388
|
+
<ic-button dropdown="true" variant="primary" theme="light"
|
1389
|
+
>Button</ic-button
|
1390
|
+
>
|
1391
|
+
<ic-button dropdown="true" theme="light" variant="primary"
|
1392
|
+
>Button
|
1393
|
+
<svg
|
1394
|
+
slot="left-icon"
|
1395
|
+
xmlns="http://www.w3.org/2000/svg"
|
1396
|
+
height="24px"
|
1397
|
+
viewBox="0 0 24 24"
|
1398
|
+
width="24px"
|
1399
|
+
fill="#000000"
|
1400
|
+
>
|
1401
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1402
|
+
<path
|
1403
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1404
|
+
/>
|
1405
|
+
</svg>
|
1406
|
+
</ic-button>
|
1407
|
+
<ic-button dropdown="true" variant="secondary" theme="light"
|
1408
|
+
>Button</ic-button
|
1409
|
+
>
|
1410
|
+
<ic-button
|
1411
|
+
dropdown="true"
|
1412
|
+
variant="tertiary"
|
1413
|
+
theme="light"
|
1414
|
+
id="mybuttonid"
|
1415
|
+
>Button</ic-button
|
1416
|
+
>
|
1417
|
+
</div>
|
1418
|
+
<div style="padding: 6px">
|
1419
|
+
<ic-button dropdown="true" variant="primary" size="small"
|
1420
|
+
>Button</ic-button
|
1421
|
+
>
|
1422
|
+
<ic-button dropdown="true" size="small" variant="primary"
|
1423
|
+
>Button
|
1424
|
+
<svg
|
1425
|
+
slot="left-icon"
|
1426
|
+
xmlns="http://www.w3.org/2000/svg"
|
1427
|
+
height="24px"
|
1428
|
+
viewBox="0 0 24 24"
|
1429
|
+
width="24px"
|
1430
|
+
fill="#000000"
|
1431
|
+
>
|
1432
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1433
|
+
<path
|
1434
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1435
|
+
/>
|
1436
|
+
</svg>
|
1437
|
+
</ic-button>
|
1438
|
+
<ic-button dropdown="true" variant="secondary" size="small"
|
1439
|
+
>Button</ic-button
|
1440
|
+
>
|
1441
|
+
<ic-button dropdown="true" variant="tertiary" size="small"
|
1442
|
+
>Button</ic-button
|
1443
|
+
>
|
1444
|
+
</div>
|
1445
|
+
<div style="padding: 6px">
|
1446
|
+
<ic-button dropdown="true" variant="primary" size="large"
|
1447
|
+
>Button</ic-button
|
1448
|
+
>
|
1449
|
+
<ic-button dropdown="true" size="large" variant="primary"
|
1450
|
+
>Button
|
1451
|
+
<svg
|
1452
|
+
slot="left-icon"
|
1453
|
+
xmlns="http://www.w3.org/2000/svg"
|
1454
|
+
height="24px"
|
1455
|
+
viewBox="0 0 24 24"
|
1456
|
+
width="24px"
|
1457
|
+
fill="#000000"
|
1859
1458
|
>
|
1459
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1460
|
+
<path
|
1461
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1462
|
+
/>
|
1463
|
+
</svg>
|
1464
|
+
</ic-button>
|
1465
|
+
<ic-button dropdown="true" variant="secondary" size="large"
|
1466
|
+
>Button</ic-button
|
1467
|
+
>
|
1468
|
+
<ic-button dropdown="true" variant="tertiary" size="large"
|
1469
|
+
>Button</ic-button
|
1470
|
+
>
|
1471
|
+
</div>
|
1472
|
+
</div>`,
|
1473
|
+
|
1474
|
+
name: "Dropdown",
|
1475
|
+
};
|
1476
|
+
|
1477
|
+
export const DropdownExample = {
|
1478
|
+
render: () =>
|
1479
|
+
html`<script>
|
1480
|
+
var icPopover = document.querySelector("#popover-menu");
|
1481
|
+
var icButton = document.querySelector("#button-1");
|
1482
|
+
function handleClick() {
|
1483
|
+
icPopover.open = icButton.dropdownExpanded;
|
1484
|
+
}
|
1485
|
+
icPopover.addEventListener("icPopoverClosed", handleClose);
|
1486
|
+
function handleClose() {
|
1487
|
+
icButton.dropdownExpanded = icPopover.open;
|
1488
|
+
}
|
1489
|
+
</script>
|
1490
|
+
<div>
|
1491
|
+
<ic-button
|
1492
|
+
dropdown="true"
|
1493
|
+
variant="primary"
|
1494
|
+
onclick="handleClick()"
|
1495
|
+
id="button-1"
|
1496
|
+
>Button</ic-button
|
1497
|
+
>
|
1498
|
+
<ic-popover-menu
|
1499
|
+
anchor="button-1"
|
1500
|
+
aria-label="popover"
|
1501
|
+
id="popover-menu"
|
1502
|
+
>
|
1503
|
+
<ic-menu-item label="Copy code"></ic-menu-item>
|
1504
|
+
<ic-menu-item label="Paste code"></ic-menu-item>
|
1505
|
+
<ic-menu-item label="Actions"></ic-menu-item>
|
1506
|
+
</ic-popover-menu>
|
1507
|
+
</div>`,
|
1508
|
+
|
1509
|
+
name: "Dropdown example",
|
1510
|
+
};
|
1511
|
+
|
1512
|
+
export const Size = {
|
1513
|
+
render: () =>
|
1514
|
+
html` <ic-button variant="primary" size="small">Small</ic-button>
|
1515
|
+
<ic-button variant="primary">Default</ic-button>
|
1516
|
+
<ic-button variant="primary" size="large">Large</ic-button>
|
1517
|
+
<ic-button variant="primary" size="small"
|
1518
|
+
>Small
|
1519
|
+
<svg
|
1520
|
+
slot="left-icon"
|
1521
|
+
xmlns="http://www.w3.org/2000/svg"
|
1522
|
+
height="24px"
|
1523
|
+
viewBox="0 0 24 24"
|
1524
|
+
width="24px"
|
1525
|
+
fill="#000000"
|
1526
|
+
>
|
1527
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1528
|
+
<path
|
1529
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1530
|
+
/>
|
1531
|
+
</svg>
|
1532
|
+
</ic-button>
|
1533
|
+
<ic-button variant="primary"
|
1534
|
+
>Default
|
1535
|
+
<svg
|
1536
|
+
slot="left-icon"
|
1537
|
+
xmlns="http://www.w3.org/2000/svg"
|
1538
|
+
height="24px"
|
1539
|
+
viewBox="0 0 24 24"
|
1540
|
+
width="24px"
|
1541
|
+
fill="#000000"
|
1542
|
+
>
|
1543
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1544
|
+
<path
|
1545
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1546
|
+
/>
|
1547
|
+
</svg>
|
1548
|
+
</ic-button>
|
1549
|
+
<ic-button variant="primary" size="large"
|
1550
|
+
>Large
|
1551
|
+
<svg
|
1552
|
+
slot="left-icon"
|
1553
|
+
xmlns="http://www.w3.org/2000/svg"
|
1554
|
+
height="24px"
|
1555
|
+
viewBox="0 0 24 24"
|
1556
|
+
width="24px"
|
1557
|
+
fill="#000000"
|
1558
|
+
>
|
1559
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1560
|
+
<path
|
1561
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1562
|
+
/>
|
1563
|
+
</svg>
|
1564
|
+
</ic-button>`,
|
1565
|
+
|
1566
|
+
name: "Size",
|
1567
|
+
};
|
1568
|
+
|
1569
|
+
export const RouterLink = {
|
1570
|
+
render: () =>
|
1571
|
+
html`<div style="padding: 8px">
|
1572
|
+
<ic-button size="small">
|
1573
|
+
<a slot="router-item" href="/">Slotted link</a>
|
1574
|
+
</ic-button>
|
1575
|
+
<ic-button>
|
1576
|
+
<a slot="router-item" href="/">Slotted link</a>
|
1577
|
+
</ic-button>
|
1578
|
+
<ic-button size="large">
|
1579
|
+
<a slot="router-item" href="/">Slotted link</a>
|
1580
|
+
</ic-button>
|
1581
|
+
</div>
|
1582
|
+
<div style="padding: 8px">
|
1583
|
+
<ic-button disabled="true">
|
1584
|
+
<a slot="router-item" href="/">Slotted link</a>
|
1585
|
+
</ic-button>
|
1586
|
+
<ic-button variant="secondary">
|
1587
|
+
<a slot="router-item" href="/">Slotted link</a>
|
1588
|
+
</ic-button>
|
1589
|
+
<ic-button variant="tertiary">
|
1590
|
+
<a slot="router-item" href="/">Slotted link</a>
|
1591
|
+
</ic-button>
|
1592
|
+
<ic-button variant="destructive">
|
1593
|
+
<a slot="router-item" href="/">Slotted link</a>
|
1594
|
+
</ic-button>
|
1595
|
+
<ic-button variant="icon">
|
1596
|
+
<a slot="router-item" href="/">
|
1860
1597
|
<svg
|
1861
|
-
|
1862
|
-
height="
|
1598
|
+
width="24"
|
1599
|
+
height="24"
|
1863
1600
|
viewBox="0 0 24 24"
|
1864
|
-
|
1865
|
-
fill="#000000"
|
1866
|
-
>
|
1867
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1868
|
-
<path
|
1869
|
-
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1870
|
-
/>
|
1871
|
-
</svg>
|
1872
|
-
</ic-button>
|
1873
|
-
<ic-button
|
1874
|
-
variant="icon-destructive"
|
1875
|
-
aria-label="refresh"
|
1876
|
-
id="testbutton"
|
1877
|
-
appearance="dark"
|
1878
|
-
loading
|
1879
|
-
>
|
1880
|
-
<svg
|
1601
|
+
fill="none"
|
1881
1602
|
xmlns="http://www.w3.org/2000/svg"
|
1882
|
-
height="24px"
|
1883
|
-
viewBox="0 0 24 24"
|
1884
|
-
width="24px"
|
1885
|
-
fill="#000000"
|
1886
1603
|
>
|
1887
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
1888
1604
|
<path
|
1889
|
-
d="
|
1605
|
+
d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
|
1606
|
+
fill="currentColor"
|
1890
1607
|
/>
|
1891
1608
|
</svg>
|
1892
|
-
</
|
1893
|
-
</
|
1609
|
+
</a>
|
1610
|
+
</ic-button>
|
1894
1611
|
</div>
|
1895
|
-
|
1612
|
+
<div style="padding: 8px">
|
1613
|
+
<ic-button theme="light" monochrome="true">
|
1614
|
+
<a slot="router-item" href="/">Slotted link</a>
|
1615
|
+
</ic-button>
|
1616
|
+
<ic-button theme="dark" monochrome="true">
|
1617
|
+
<a slot="router-item" href="/">Slotted link</a>
|
1618
|
+
</ic-button>
|
1619
|
+
</div>`,
|
1620
|
+
|
1621
|
+
name: "Router link",
|
1622
|
+
|
1623
|
+
parameters: {
|
1624
|
+
layout: "fullscreen",
|
1625
|
+
},
|
1626
|
+
};
|
1627
|
+
|
1628
|
+
export const IconWithoutViewBox = {
|
1629
|
+
render: () =>
|
1630
|
+
html`<ic-button variant="primary" size="small"
|
1631
|
+
>Small
|
1632
|
+
<svg
|
1633
|
+
slot="left-icon"
|
1634
|
+
xmlns="http://www.w3.org/2000/svg"
|
1635
|
+
height="24px"
|
1636
|
+
width="24px"
|
1637
|
+
fill="#000000"
|
1638
|
+
>
|
1639
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1640
|
+
<path
|
1641
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1642
|
+
/>
|
1643
|
+
</svg>
|
1644
|
+
</ic-button>
|
1645
|
+
<ic-button variant="primary"
|
1646
|
+
>Default
|
1647
|
+
<svg
|
1648
|
+
slot="left-icon"
|
1649
|
+
xmlns="http://www.w3.org/2000/svg"
|
1650
|
+
height="24px"
|
1651
|
+
width="24px"
|
1652
|
+
fill="#000000"
|
1653
|
+
>
|
1654
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1655
|
+
<path
|
1656
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1657
|
+
/>
|
1658
|
+
</svg>
|
1659
|
+
</ic-button>
|
1660
|
+
<ic-button variant="primary" size="large"
|
1661
|
+
>Large
|
1662
|
+
<svg
|
1663
|
+
slot="left-icon"
|
1664
|
+
xmlns="http://www.w3.org/2000/svg"
|
1665
|
+
height="24px"
|
1666
|
+
width="24px"
|
1667
|
+
fill="#000000"
|
1668
|
+
>
|
1669
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1670
|
+
<path
|
1671
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1672
|
+
/>
|
1673
|
+
</svg>
|
1674
|
+
</ic-button>`,
|
1896
1675
|
|
1897
|
-
name: "Icon
|
1676
|
+
name: "Icon without viewBox",
|
1677
|
+
};
|
1678
|
+
|
1679
|
+
export const FullWidth = {
|
1680
|
+
render: () => html`
|
1681
|
+
<ic-button variant="primary" full-width="true"
|
1682
|
+
>Button
|
1683
|
+
<svg
|
1684
|
+
slot="left-icon"
|
1685
|
+
xmlns="http://www.w3.org/2000/svg"
|
1686
|
+
height="24px"
|
1687
|
+
viewBox="0 0 24 24"
|
1688
|
+
width="24px"
|
1689
|
+
fill="#000000"
|
1690
|
+
>
|
1691
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1692
|
+
<path
|
1693
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1694
|
+
/>
|
1695
|
+
</svg>
|
1696
|
+
</ic-button>
|
1697
|
+
<ic-button variant="secondary" full-width="true"
|
1698
|
+
>Button
|
1699
|
+
<svg
|
1700
|
+
slot="left-icon"
|
1701
|
+
xmlns="http://www.w3.org/2000/svg"
|
1702
|
+
height="24px"
|
1703
|
+
viewBox="0 0 24 24"
|
1704
|
+
width="24px"
|
1705
|
+
fill="#000000"
|
1706
|
+
>
|
1707
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1708
|
+
<path
|
1709
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1710
|
+
/>
|
1711
|
+
</svg>
|
1712
|
+
</ic-button>
|
1713
|
+
<ic-button variant="tertiary" full-width="true"
|
1714
|
+
>Button
|
1715
|
+
<svg
|
1716
|
+
slot="left-icon"
|
1717
|
+
xmlns="http://www.w3.org/2000/svg"
|
1718
|
+
height="24px"
|
1719
|
+
viewBox="0 0 24 24"
|
1720
|
+
width="24px"
|
1721
|
+
fill="#000000"
|
1722
|
+
>
|
1723
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1724
|
+
<path
|
1725
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1726
|
+
/>
|
1727
|
+
</svg>
|
1728
|
+
</ic-button>
|
1729
|
+
<ic-button theme="dark" full-width="true"
|
1730
|
+
>Button
|
1731
|
+
<svg
|
1732
|
+
slot="left-icon"
|
1733
|
+
xmlns="http://www.w3.org/2000/svg"
|
1734
|
+
height="24px"
|
1735
|
+
viewBox="0 0 24 24"
|
1736
|
+
width="24px"
|
1737
|
+
fill="#000000"
|
1738
|
+
>
|
1739
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1740
|
+
<path
|
1741
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1742
|
+
/>
|
1743
|
+
</svg>
|
1744
|
+
</ic-button>
|
1745
|
+
<ic-button variant="destructive" full-width="true"
|
1746
|
+
>Button
|
1747
|
+
<svg
|
1748
|
+
slot="left-icon"
|
1749
|
+
xmlns="http://www.w3.org/2000/svg"
|
1750
|
+
height="24px"
|
1751
|
+
viewBox="0 0 24 24"
|
1752
|
+
width="24px"
|
1753
|
+
fill="#000000"
|
1754
|
+
>
|
1755
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1756
|
+
<path
|
1757
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1758
|
+
/>
|
1759
|
+
</svg>
|
1760
|
+
</ic-button>
|
1761
|
+
<ic-button variant="destructive" disabled full-width="true"
|
1762
|
+
>Button
|
1763
|
+
<svg
|
1764
|
+
slot="left-icon"
|
1765
|
+
xmlns="http://www.w3.org/2000/svg"
|
1766
|
+
height="24px"
|
1767
|
+
viewBox="0 0 24 24"
|
1768
|
+
width="24px"
|
1769
|
+
fill="#000000"
|
1770
|
+
>
|
1771
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1772
|
+
<path
|
1773
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1774
|
+
/>
|
1775
|
+
</svg>
|
1776
|
+
</ic-button>
|
1777
|
+
<div style="background-color:#2c2f34; padding:6px 10px,">
|
1778
|
+
<ic-button variant="primary" theme="light" full-width="true">
|
1779
|
+
Button
|
1780
|
+
<svg
|
1781
|
+
slot="left-icon"
|
1782
|
+
xmlns="http://www.w3.org/2000/svg"
|
1783
|
+
height="24px"
|
1784
|
+
viewBox="0 0 24 24"
|
1785
|
+
width="24px"
|
1786
|
+
fill="#000000"
|
1787
|
+
>
|
1788
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1789
|
+
<path
|
1790
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1791
|
+
/>
|
1792
|
+
</svg>
|
1793
|
+
</ic-button>
|
1794
|
+
<ic-button variant="secondary" theme="light" full-width="true">
|
1795
|
+
Button
|
1796
|
+
<svg
|
1797
|
+
slot="left-icon"
|
1798
|
+
xmlns="http://www.w3.org/2000/svg"
|
1799
|
+
height="24px"
|
1800
|
+
viewBox="0 0 24 24"
|
1801
|
+
width="24px"
|
1802
|
+
fill="#000000"
|
1803
|
+
>
|
1804
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1805
|
+
<path
|
1806
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1807
|
+
/>
|
1808
|
+
</svg>
|
1809
|
+
</ic-button>
|
1810
|
+
<ic-button variant="tertiary" theme="light" full-width="true">
|
1811
|
+
Button
|
1812
|
+
<svg
|
1813
|
+
slot="left-icon"
|
1814
|
+
xmlns="http://www.w3.org/2000/svg"
|
1815
|
+
height="24px"
|
1816
|
+
viewBox="0 0 24 24"
|
1817
|
+
width="24px"
|
1818
|
+
fill="#000000"
|
1819
|
+
>
|
1820
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
1821
|
+
<path
|
1822
|
+
d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
1823
|
+
/>
|
1824
|
+
</svg>
|
1825
|
+
</ic-button>
|
1826
|
+
</div>
|
1827
|
+
`,
|
1828
|
+
|
1829
|
+
name: "Full width",
|
1830
|
+
};
|
1831
|
+
|
1832
|
+
export const MinWidth = {
|
1833
|
+
render: () => html`
|
1834
|
+
<style>
|
1835
|
+
ic-button {
|
1836
|
+
--min-width: 4rem;
|
1837
|
+
}
|
1838
|
+
</style>
|
1839
|
+
<ic-button>Min</ic-button>
|
1840
|
+
<ic-button variant="secondary">Min</ic-button>
|
1841
|
+
`,
|
1842
|
+
|
1843
|
+
name: "Min width",
|
1844
|
+
};
|
1845
|
+
|
1846
|
+
export const Height = {
|
1847
|
+
render: () => html`
|
1848
|
+
<style>
|
1849
|
+
ic-button[name="tall-button"] {
|
1850
|
+
--height: 9rem;
|
1851
|
+
}
|
1852
|
+
</style>
|
1853
|
+
<ic-button name="tall-button">Tall Button</ic-button>
|
1854
|
+
<ic-button variant="secondary" name="tall-button">Tall Button</ic-button>
|
1855
|
+
`,
|
1856
|
+
|
1857
|
+
name: "Height",
|
1898
1858
|
};
|
1899
1859
|
|
1900
1860
|
export const Tooltips = {
|
@@ -1960,7 +1920,9 @@ export const Playground = {
|
|
1960
1920
|
full-width=${args.fullWidth}
|
1961
1921
|
size=${args.size}
|
1962
1922
|
loading=${args.loading}
|
1963
|
-
|
1923
|
+
theme=${args.theme}
|
1924
|
+
monochrome=${args.monochrome}
|
1925
|
+
dropdown=${args.dropdown}
|
1964
1926
|
>${args.message}</ic-button
|
1965
1927
|
>`,
|
1966
1928
|
|
@@ -1976,15 +1938,15 @@ export const Playground = {
|
|
1976
1938
|
},
|
1977
1939
|
|
1978
1940
|
size: {
|
1979
|
-
options: ["
|
1941
|
+
options: ["medium", "large", "small"],
|
1980
1942
|
|
1981
1943
|
control: {
|
1982
1944
|
type: inlineRadioSelector,
|
1983
1945
|
},
|
1984
1946
|
},
|
1985
1947
|
|
1986
|
-
|
1987
|
-
options: ["
|
1948
|
+
theme: {
|
1949
|
+
options: ["inherit", "dark", "light"],
|
1988
1950
|
|
1989
1951
|
control: {
|
1990
1952
|
type: inlineRadioSelector,
|
@@ -1996,6 +1958,18 @@ export const Playground = {
|
|
1996
1958
|
type: "boolean",
|
1997
1959
|
},
|
1998
1960
|
},
|
1961
|
+
|
1962
|
+
monochrome: {
|
1963
|
+
control: {
|
1964
|
+
type: "boolean",
|
1965
|
+
},
|
1966
|
+
},
|
1967
|
+
|
1968
|
+
dropdown: {
|
1969
|
+
control: {
|
1970
|
+
type: "boolean",
|
1971
|
+
},
|
1972
|
+
},
|
1999
1973
|
},
|
2000
1974
|
|
2001
1975
|
name: "Playground",
|
@@ -2009,7 +1983,8 @@ export const PlaygroundWithIcon = {
|
|
2009
1983
|
size=${args.size}
|
2010
1984
|
full-width=${args.fullWidth}
|
2011
1985
|
loading=${args.loading}
|
2012
|
-
|
1986
|
+
theme=${args.theme}
|
1987
|
+
monochrome=${args.monochrome}
|
2013
1988
|
>${args.message}
|
2014
1989
|
<svg
|
2015
1990
|
slot=${args.iconPlacement}
|
@@ -2039,14 +2014,14 @@ export const PlaygroundWithIcon = {
|
|
2039
2014
|
},
|
2040
2015
|
|
2041
2016
|
size: {
|
2042
|
-
options: ["
|
2017
|
+
options: ["medium", "large", "small"],
|
2043
2018
|
|
2044
2019
|
control: {
|
2045
2020
|
type: inlineRadioSelector,
|
2046
2021
|
},
|
2047
2022
|
},
|
2048
2023
|
|
2049
|
-
|
2024
|
+
theme: {
|
2050
2025
|
options: ["default", "dark", "light"],
|
2051
2026
|
|
2052
2027
|
control: {
|
@@ -2067,6 +2042,12 @@ export const PlaygroundWithIcon = {
|
|
2067
2042
|
type: inlineRadioSelector,
|
2068
2043
|
},
|
2069
2044
|
},
|
2045
|
+
|
2046
|
+
monochrome: {
|
2047
|
+
control: {
|
2048
|
+
type: "boolean",
|
2049
|
+
},
|
2050
|
+
},
|
2070
2051
|
},
|
2071
2052
|
|
2072
2053
|
name: "Playground with icon",
|
@@ -2074,49 +2055,58 @@ export const PlaygroundWithIcon = {
|
|
2074
2055
|
|
2075
2056
|
export const Loading = {
|
2076
2057
|
render: () => html`
|
2077
|
-
|
2078
|
-
|
2079
|
-
|
2080
|
-
|
2081
|
-
|
2082
|
-
|
2083
|
-
|
2084
|
-
|
2085
|
-
|
2086
|
-
|
2087
|
-
|
2088
|
-
>
|
2089
|
-
>
|
2090
|
-
|
2091
|
-
|
2092
|
-
<ic-button variant="primary" loading appearance="light">Button</ic-button>
|
2093
|
-
</div>
|
2094
|
-
<div style="padding: 6px">
|
2095
|
-
<ic-button variant="secondary" loading>Button</ic-button>
|
2096
|
-
</div>
|
2097
|
-
<div style="padding: 6px">
|
2098
|
-
<ic-button variant="secondary" loading appearance="dark"
|
2099
|
-
>Button</ic-button
|
2058
|
+
<div style="padding: 6px">
|
2059
|
+
<ic-button variant="primary" loading"
|
2060
|
+
>Button</ic-button
|
2061
|
+
>
|
2062
|
+
</div>
|
2063
|
+
<div style="padding: 6px">
|
2064
|
+
<ic-button
|
2065
|
+
variant="primary"
|
2066
|
+
loading
|
2067
|
+
theme="dark"
|
2068
|
+
>Button</ic-button
|
2069
|
+
>
|
2070
|
+
</div>
|
2071
|
+
<div
|
2072
|
+
style="background-color:#2c2f34; padding:6px 10px; width:fit-content"
|
2100
2073
|
>
|
2101
|
-
|
2102
|
-
|
2103
|
-
|
2104
|
-
|
2074
|
+
<ic-button variant="primary" loading theme="light"
|
2075
|
+
>Button</ic-button
|
2076
|
+
>
|
2077
|
+
</div>
|
2078
|
+
<div style="padding: 6px">
|
2079
|
+
<ic-button variant="secondary" loading>Button</ic-button>
|
2080
|
+
</div>
|
2081
|
+
<div style="padding: 6px">
|
2082
|
+
<ic-button variant="secondary" loading theme="dark"
|
2083
|
+
>Button</ic-button
|
2084
|
+
>
|
2085
|
+
</div>
|
2086
|
+
<div
|
2087
|
+
style="background-color:#2c2f34; padding:6px 10px; width:fit-content"
|
2105
2088
|
>
|
2106
|
-
|
2107
|
-
|
2108
|
-
|
2109
|
-
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2113
|
-
|
2114
|
-
|
2115
|
-
|
2089
|
+
<ic-button variant="secondary" loading theme="light"
|
2090
|
+
>Button</ic-button
|
2091
|
+
>
|
2092
|
+
</div>
|
2093
|
+
<div style="padding: 6px">
|
2094
|
+
<ic-button variant="tertiary" loading>Button</ic-button>
|
2095
|
+
</div>
|
2096
|
+
<div style="padding: 6px">
|
2097
|
+
<ic-button variant="tertiary" loading theme="dark"
|
2098
|
+
>Button</ic-button
|
2099
|
+
>
|
2100
|
+
</div>
|
2101
|
+
<div
|
2102
|
+
style="background-color:#2c2f34; padding:6px 10px; width:fit-content"
|
2116
2103
|
>
|
2117
|
-
|
2118
|
-
|
2119
|
-
|
2104
|
+
<ic-button variant="tertiary" loading theme="light"
|
2105
|
+
>Button</ic-button
|
2106
|
+
>
|
2107
|
+
</div>
|
2108
|
+
<ic-button variant="destructive" loading>Button</ic-button>
|
2109
|
+
`,
|
2120
2110
|
|
2121
2111
|
name: "Loading",
|
2122
2112
|
};
|