@siemens/ix 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/icon-c65f0901.js +106 -0
- package/dist/cjs/icon-c65f0901.js.map +1 -0
- package/dist/cjs/{index-931d1fb5.js → index-c978628a.js} +53 -5
- package/dist/cjs/index-c978628a.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +28 -0
- package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +2 -2
- package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +4 -7
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-burger-menu.cjs.entry.js +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +74 -0
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-card-list.cjs.entry.js +164 -0
- package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -0
- package/dist/cjs/{ix-typography.cjs.entry.js → ix-card_3.cjs.entry.js} +37 -3
- package/dist/cjs/ix-card_3.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-category-filter.cjs.entry.js +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +1 -1
- package/dist/cjs/ix-content-header.cjs.entry.js +26 -0
- package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-counter-pill.cjs.entry.js +1 -1
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +24 -0
- package/dist/cjs/ix-css-grid-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-css-grid.cjs.entry.js +96 -0
- package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +103 -19
- package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +4 -4
- package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js +27 -0
- package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-event-list_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -2
- package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ix-group_3.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-button.cjs.entry.js +11 -4
- package/dist/cjs/ix-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon.cjs.entry.js +3 -29
- package/dist/cjs/ix-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-index-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +22 -0
- package/dist/cjs/ix-key-value-list.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-key-value.cjs.entry.js +28 -0
- package/dist/cjs/ix-key-value.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-kpi.cjs.entry.js +2 -2
- package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +11 -5
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu_9.cjs.entry.js +24 -15
- package/dist/cjs/ix-menu_9.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
- package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +27 -0
- package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-select_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ix-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-split-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +1 -1
- package/dist/cjs/ix-toast_2.cjs.entry.js +8 -26
- package/dist/cjs/ix-toast_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-tree_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js.map +1 -1
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +32 -3
- package/dist/collection/components/action-card/action-card.css +161 -0
- package/dist/collection/components/action-card/action-card.js +136 -0
- package/dist/collection/components/action-card/action-card.js.map +1 -0
- package/dist/collection/components/basic-navigation/basic-navigation.css +1 -1
- package/dist/collection/components/blind/blind.css +5 -5
- package/dist/collection/components/blind/blind.js +3 -6
- package/dist/collection/components/blind/blind.js.map +1 -1
- package/dist/collection/components/button/button.css +359 -0
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/card/card.css +92 -0
- package/dist/collection/components/card/card.js +53 -0
- package/dist/collection/components/card/card.js.map +1 -0
- package/dist/collection/components/card-accordion/card-accordion.css +121 -0
- package/dist/collection/components/card-accordion/card-accordion.js +94 -0
- package/dist/collection/components/card-accordion/card-accordion.js.map +1 -0
- package/dist/collection/components/card-content/card-content.css +29 -0
- package/dist/collection/components/card-content/card-content.js +22 -0
- package/dist/collection/components/card-content/card-content.js.map +1 -0
- package/dist/collection/components/card-list/card-list.css +127 -0
- package/dist/collection/components/card-list/card-list.js +387 -0
- package/dist/collection/components/card-list/card-list.js.map +1 -0
- package/dist/collection/components/card-title/card-title.css +30 -0
- package/dist/collection/components/card-title/card-title.js +24 -0
- package/dist/collection/components/card-title/card-title.js.map +1 -0
- package/dist/collection/components/content-header/content-header.css +28 -0
- package/dist/collection/components/content-header/content-header.js +131 -0
- package/dist/collection/components/content-header/content-header.js.map +1 -0
- package/dist/collection/components/drawer/drawer.css +20 -12
- package/dist/collection/components/drawer/drawer.js +5 -5
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/empty-state/empty-state.css +100 -0
- package/dist/collection/components/empty-state/empty-state.js +150 -0
- package/dist/collection/components/empty-state/empty-state.js.map +1 -0
- package/dist/collection/components/expanding-search/expanding-search.css +8 -0
- package/dist/collection/components/expanding-search/expanding-search.js +24 -0
- package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.css +362 -0
- package/dist/collection/components/icon-button/icon-button.js +10 -3
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/key-value/key-value.css +56 -0
- package/dist/collection/components/key-value/key-value.js +119 -0
- package/dist/collection/components/key-value/key-value.js.map +1 -0
- package/dist/collection/components/key-value-list/key-value-list.css +7 -0
- package/dist/collection/components/key-value-list/key-value-list.js +54 -0
- package/dist/collection/components/key-value-list/key-value-list.js.map +1 -0
- package/dist/collection/components/kpi/kpi.css +25 -11
- package/dist/collection/components/kpi/kpi.js +1 -1
- package/dist/collection/components/kpi/kpi.js.map +1 -1
- package/dist/collection/components/layout/css-grid/builder.js +20 -0
- package/dist/collection/components/layout/css-grid/builder.js.map +1 -0
- package/dist/collection/components/layout/css-grid/css-grid-item.css +16 -0
- package/dist/collection/components/layout/css-grid/css-grid-item.js +56 -0
- package/dist/collection/components/layout/css-grid/css-grid-item.js.map +1 -0
- package/dist/collection/components/{icon/icon.css → layout/css-grid/css-grid.css} +5 -23
- package/dist/collection/components/layout/css-grid/css-grid.js +123 -0
- package/dist/collection/components/layout/css-grid/css-grid.js.map +1 -0
- package/dist/collection/components/map-navigation/map-navigation.css +1 -1
- package/dist/collection/components/map-navigation/map-navigation.js +37 -3
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- package/dist/collection/components/menu/menu.css +4 -4
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.css +2 -2
- package/dist/collection/components/menu-avatar/menu-avatar.css +2 -2
- package/dist/collection/components/menu-avatar/menu-avatar.js +1 -1
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.css +47 -23
- package/dist/collection/components/menu-item/menu-item.js +19 -10
- package/dist/collection/components/menu-item/menu-item.js.map +1 -1
- package/dist/collection/components/message-bar/message-bar.css +19 -11
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.css +1 -0
- package/dist/collection/components/my-component/my-component.css +1 -0
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/collection/components/push-card/push-card.css +74 -0
- package/dist/collection/components/push-card/push-card.js +134 -0
- package/dist/collection/components/push-card/push-card.js.map +1 -0
- package/dist/collection/components/select/select.css +20 -2
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/spinner/spinner.css +13 -0
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/spinner/spinner.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.css +23 -17
- package/dist/collection/components/time-picker/time-picker.js +102 -18
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/toast/toast.css +0 -10
- package/dist/collection/components/toast/toast.js +6 -25
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/typography/{types.js → type-mapping.js} +1 -1
- package/dist/collection/components/typography/type-mapping.js.map +1 -0
- package/dist/collection/components/typography/typography.js +34 -6
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/components/button.js +3 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/card-accordion.js +80 -0
- package/dist/components/card-accordion.js.map +1 -0
- package/dist/components/card-content.js +32 -0
- package/dist/components/card-content.js.map +1 -0
- package/dist/components/card-title.js +32 -0
- package/dist/components/card-title.js.map +1 -0
- package/dist/components/card.js +36 -0
- package/dist/components/card.js.map +1 -0
- package/dist/components/icon-button.js +12 -4
- package/dist/components/icon-button.js.map +1 -1
- package/dist/components/icon.js +87 -14
- package/dist/components/icon.js.map +1 -1
- package/dist/components/ix-action-card.d.ts +11 -0
- package/dist/components/ix-action-card.js +72 -0
- package/dist/components/ix-action-card.js.map +1 -0
- package/dist/components/ix-basic-navigation.js +1 -1
- package/dist/components/ix-basic-navigation.js.map +1 -1
- package/dist/components/ix-blind.js +5 -7
- package/dist/components/ix-blind.js.map +1 -1
- package/dist/components/ix-card-accordion.d.ts +11 -0
- package/dist/components/ix-card-accordion.js +8 -0
- package/dist/components/ix-card-accordion.js.map +1 -0
- package/dist/components/ix-card-content.d.ts +11 -0
- package/dist/components/ix-card-content.js +8 -0
- package/dist/components/ix-card-content.js.map +1 -0
- package/dist/components/ix-card-list.d.ts +11 -0
- package/dist/components/ix-card-list.js +228 -0
- package/dist/components/ix-card-list.js.map +1 -0
- package/dist/components/ix-card-title.d.ts +11 -0
- package/dist/components/ix-card-title.js +8 -0
- package/dist/components/ix-card-title.js.map +1 -0
- package/dist/components/{ix-icon.d.ts → ix-card.d.ts} +4 -4
- package/dist/components/ix-card.js +8 -0
- package/dist/components/ix-card.js.map +1 -0
- package/dist/components/ix-content-header.d.ts +11 -0
- package/dist/components/ix-content-header.js +63 -0
- package/dist/components/ix-content-header.js.map +1 -0
- package/dist/components/ix-css-grid-item.d.ts +11 -0
- package/dist/components/ix-css-grid-item.js +40 -0
- package/dist/components/ix-css-grid-item.js.map +1 -0
- package/dist/components/ix-css-grid.d.ts +11 -0
- package/dist/components/ix-css-grid.js +113 -0
- package/dist/components/ix-css-grid.js.map +1 -0
- package/dist/components/ix-drawer.js +6 -5
- package/dist/components/ix-drawer.js.map +1 -1
- package/dist/components/ix-empty-state.d.ts +11 -0
- package/dist/components/ix-empty-state.js +65 -0
- package/dist/components/ix-empty-state.js.map +1 -0
- package/dist/components/ix-expanding-search.js +5 -1
- package/dist/components/ix-expanding-search.js.map +1 -1
- package/dist/components/ix-key-value-list.d.ts +11 -0
- package/dist/components/ix-key-value-list.js +38 -0
- package/dist/components/ix-key-value-list.js.map +1 -0
- package/dist/components/ix-key-value.d.ts +11 -0
- package/dist/components/ix-key-value.js +53 -0
- package/dist/components/ix-key-value.js.map +1 -0
- package/dist/components/ix-kpi.js +3 -2
- package/dist/components/ix-kpi.js.map +1 -1
- package/dist/components/ix-map-navigation.js +11 -4
- package/dist/components/ix-map-navigation.js.map +1 -1
- package/dist/components/ix-menu-about-news.js +1 -1
- package/dist/components/ix-menu-about-news.js.map +1 -1
- package/dist/components/ix-menu-avatar.js +2 -2
- package/dist/components/ix-menu-avatar.js.map +1 -1
- package/dist/components/ix-menu.js +12 -6
- package/dist/components/ix-menu.js.map +1 -1
- package/dist/components/ix-message-bar.js +3 -2
- package/dist/components/ix-message-bar.js.map +1 -1
- package/dist/components/ix-push-card.d.ts +11 -0
- package/dist/components/ix-push-card.js +83 -0
- package/dist/components/ix-push-card.js.map +1 -0
- package/dist/components/menu-item.js +27 -11
- package/dist/components/menu-item.js.map +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.js.map +1 -1
- package/dist/components/my-component.js +1 -1
- package/dist/components/my-component.js.map +1 -1
- package/dist/components/select.js +2 -2
- package/dist/components/select.js.map +1 -1
- package/dist/components/spinner.js +3 -2
- package/dist/components/spinner.js.map +1 -1
- package/dist/components/time-picker.js +103 -19
- package/dist/components/time-picker.js.map +1 -1
- package/dist/components/toast.js +7 -26
- package/dist/components/toast.js.map +1 -1
- package/dist/components/typography.js +9 -2
- package/dist/components/typography.js.map +1 -1
- package/dist/esm/icon-21211f80.js +104 -0
- package/dist/esm/icon-21211f80.js.map +1 -0
- package/dist/esm/{index-57424926.js → index-8ddfb6d8.js} +53 -5
- package/dist/esm/index-8ddfb6d8.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +24 -0
- package/dist/esm/ix-action-card.entry.js.map +1 -0
- package/dist/esm/ix-animated-tab_2.entry.js +1 -1
- package/dist/esm/ix-application-header.entry.js +1 -1
- package/dist/esm/ix-basic-navigation.entry.js +2 -2
- package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
- package/dist/esm/ix-blind.entry.js +4 -7
- package/dist/esm/ix-blind.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ix-burger-menu.entry.js +1 -1
- package/dist/esm/ix-button.entry.js +2 -2
- package/dist/esm/ix-button.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +69 -0
- package/dist/esm/ix-card-accordion_2.entry.js.map +1 -0
- package/dist/esm/ix-card-list.entry.js +160 -0
- package/dist/esm/ix-card-list.entry.js.map +1 -0
- package/dist/esm/{ix-typography.entry.js → ix-card_3.entry.js} +36 -4
- package/dist/esm/ix-card_3.entry.js.map +1 -0
- package/dist/esm/ix-category-filter.entry.js +1 -1
- package/dist/esm/ix-chip.entry.js +1 -1
- package/dist/esm/ix-content-header.entry.js +22 -0
- package/dist/esm/ix-content-header.entry.js.map +1 -0
- package/dist/esm/ix-counter-pill.entry.js +1 -1
- package/dist/esm/ix-css-grid-item.entry.js +20 -0
- package/dist/esm/ix-css-grid-item.entry.js.map +1 -0
- package/dist/esm/ix-css-grid.entry.js +92 -0
- package/dist/esm/ix-css-grid.entry.js.map +1 -0
- package/dist/esm/ix-date-picker_2.entry.js +103 -19
- package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +4 -4
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +1 -1
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown_2.entry.js +1 -1
- package/dist/esm/ix-empty-state.entry.js +23 -0
- package/dist/esm/ix-empty-state.entry.js.map +1 -0
- package/dist/esm/ix-event-list_2.entry.js +1 -1
- package/dist/esm/ix-expanding-search.entry.js +5 -2
- package/dist/esm/ix-expanding-search.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip.entry.js +1 -1
- package/dist/esm/ix-flip-tile_2.entry.js +1 -1
- package/dist/esm/ix-group-context-menu.entry.js +1 -1
- package/dist/esm/ix-group_3.entry.js +1 -1
- package/dist/esm/ix-icon-button.entry.js +11 -4
- package/dist/esm/ix-icon-button.entry.js.map +1 -1
- package/dist/esm/ix-icon.entry.js +2 -32
- package/dist/esm/ix-icon.entry.js.map +1 -1
- package/dist/esm/ix-index-button.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-key-value-list.entry.js +18 -0
- package/dist/esm/ix-key-value-list.entry.js.map +1 -0
- package/dist/esm/ix-key-value.entry.js +24 -0
- package/dist/esm/ix-key-value.entry.js.map +1 -0
- package/dist/esm/ix-kpi.entry.js +2 -2
- package/dist/esm/ix-kpi.entry.js.map +1 -1
- package/dist/esm/ix-map-navigation_2.entry.js +11 -5
- package/dist/esm/ix-map-navigation_2.entry.js.map +1 -1
- package/dist/esm/ix-menu_9.entry.js +24 -15
- package/dist/esm/ix-menu_9.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +2 -2
- package/dist/esm/ix-message-bar.entry.js.map +1 -1
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal_2.entry.js +2 -2
- package/dist/esm/ix-modal_2.entry.js.map +1 -1
- package/dist/esm/ix-pagination.entry.js +1 -1
- package/dist/esm/ix-pill.entry.js +1 -1
- package/dist/esm/ix-push-card.entry.js +23 -0
- package/dist/esm/ix-push-card.entry.js.map +1 -0
- package/dist/esm/ix-select_2.entry.js +3 -3
- package/dist/esm/ix-select_2.entry.js.map +1 -1
- package/dist/esm/ix-spinner.entry.js +2 -2
- package/dist/esm/ix-spinner.entry.js.map +1 -1
- package/dist/esm/ix-split-button_2.entry.js +1 -1
- package/dist/esm/ix-tab-item.entry.js +1 -1
- package/dist/esm/ix-tabs.entry.js +1 -1
- package/dist/esm/ix-tile.entry.js +1 -1
- package/dist/esm/ix-toast_2.entry.js +8 -26
- package/dist/esm/ix-toast_2.entry.js.map +1 -1
- package/dist/esm/ix-toggle.entry.js +1 -1
- package/dist/esm/ix-tooltip.entry.js +1 -1
- package/dist/esm/ix-tree_2.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +1 -1
- package/dist/esm/ix-workflow-step_2.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/my-component.entry.js +2 -2
- package/dist/esm/my-component.entry.js.map +1 -1
- package/dist/esm/siemens-ix.js +3 -3
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/{p-2850e6b1.entry.js → p-003e9355.entry.js} +2 -2
- package/dist/siemens-ix/p-07c932da.entry.js +2 -0
- package/dist/siemens-ix/p-07c932da.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f20dc192.entry.js → p-1331a920.entry.js} +2 -2
- package/dist/siemens-ix/p-13bda5ea.entry.js +2 -0
- package/dist/siemens-ix/p-13bda5ea.entry.js.map +1 -0
- package/dist/siemens-ix/p-1abcd6ba.js +2 -0
- package/dist/siemens-ix/p-1abcd6ba.js.map +1 -0
- package/dist/siemens-ix/{p-57a5d3d0.js → p-1c64b073.js} +3 -3
- package/dist/siemens-ix/p-1c64b073.js.map +1 -0
- package/dist/siemens-ix/{p-f2355beb.entry.js → p-1e8ee4af.entry.js} +2 -2
- package/dist/siemens-ix/{p-729c8d31.entry.js → p-3172249b.entry.js} +2 -2
- package/dist/siemens-ix/p-3f4a9e1f.entry.js +2 -0
- package/dist/siemens-ix/p-3f4a9e1f.entry.js.map +1 -0
- package/dist/siemens-ix/{p-3b4c5e4b.entry.js → p-40982e21.entry.js} +2 -2
- package/dist/siemens-ix/{p-7cdbc92b.entry.js → p-4597dd77.entry.js} +2 -2
- package/dist/siemens-ix/p-46ced516.entry.js +2 -0
- package/dist/siemens-ix/p-46ced516.entry.js.map +1 -0
- package/dist/siemens-ix/p-47422d47.entry.js +2 -0
- package/dist/siemens-ix/p-47422d47.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d985e147.entry.js → p-4e851aa3.entry.js} +2 -2
- package/dist/siemens-ix/{p-1c1dd6d6.entry.js → p-51c81a20.entry.js} +2 -2
- package/dist/siemens-ix/p-55b54a81.entry.js +2 -0
- package/dist/siemens-ix/p-55b54a81.entry.js.map +1 -0
- package/dist/siemens-ix/p-5ec38498.entry.js +2 -0
- package/dist/siemens-ix/p-5ec38498.entry.js.map +1 -0
- package/dist/siemens-ix/{p-b54c8bba.entry.js → p-6124d173.entry.js} +2 -2
- package/dist/siemens-ix/{p-7f7657ec.entry.js → p-626fbee2.entry.js} +2 -2
- package/dist/siemens-ix/{p-15335e01.entry.js → p-652ba2c1.entry.js} +2 -2
- package/dist/siemens-ix/p-67be3720.entry.js +2 -0
- package/dist/siemens-ix/p-67be3720.entry.js.map +1 -0
- package/dist/siemens-ix/p-6acce5c9.entry.js +2 -0
- package/dist/siemens-ix/p-6acce5c9.entry.js.map +1 -0
- package/dist/siemens-ix/p-6c033b08.entry.js +2 -0
- package/dist/siemens-ix/p-6c033b08.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f7f07386.entry.js → p-821ca55e.entry.js} +2 -2
- package/dist/siemens-ix/p-85f01dba.entry.js +2 -0
- package/dist/siemens-ix/p-85f01dba.entry.js.map +1 -0
- package/dist/siemens-ix/{p-46e468af.entry.js → p-8719eeff.entry.js} +2 -2
- package/dist/siemens-ix/{p-de1e7c64.entry.js → p-94ab7c1c.entry.js} +2 -2
- package/dist/siemens-ix/{p-9da2881b.entry.js → p-9a82921b.entry.js} +2 -2
- package/dist/siemens-ix/{p-908afbed.entry.js → p-a08e1bbc.entry.js} +2 -2
- package/dist/siemens-ix/p-a422c64a.entry.js +2 -0
- package/dist/siemens-ix/p-a422c64a.entry.js.map +1 -0
- package/dist/siemens-ix/p-a7212f01.entry.js +2 -0
- package/dist/siemens-ix/p-a7212f01.entry.js.map +1 -0
- package/dist/siemens-ix/{p-e4f9db28.entry.js → p-a73580a5.entry.js} +2 -2
- package/dist/siemens-ix/p-a89a1fa5.entry.js +2 -0
- package/dist/siemens-ix/p-a89a1fa5.entry.js.map +1 -0
- package/dist/siemens-ix/{p-2ecb0ffd.entry.js → p-b5c40bb3.entry.js} +2 -2
- package/dist/siemens-ix/p-b60bd26c.entry.js +2 -0
- package/dist/siemens-ix/p-b60bd26c.entry.js.map +1 -0
- package/dist/siemens-ix/p-b9c2e7d9.entry.js +2 -0
- package/dist/siemens-ix/p-b9c2e7d9.entry.js.map +1 -0
- package/dist/siemens-ix/{p-0dd51d53.entry.js → p-bd24f35f.entry.js} +2 -2
- package/dist/siemens-ix/p-c349b266.entry.js +2 -0
- package/dist/siemens-ix/p-c349b266.entry.js.map +1 -0
- package/dist/siemens-ix/p-c5124f7b.entry.js +2 -0
- package/dist/siemens-ix/p-c5124f7b.entry.js.map +1 -0
- package/dist/siemens-ix/{p-bbda3133.entry.js → p-c7109071.entry.js} +2 -2
- package/dist/siemens-ix/p-c724bb65.entry.js +2 -0
- package/dist/siemens-ix/p-c724bb65.entry.js.map +1 -0
- package/dist/siemens-ix/p-ca4d28fb.entry.js +2 -0
- package/dist/siemens-ix/p-ca4d28fb.entry.js.map +1 -0
- package/dist/siemens-ix/p-cd3cfc78.entry.js +2 -0
- package/dist/siemens-ix/p-cd3cfc78.entry.js.map +1 -0
- package/dist/siemens-ix/p-cd4e3593.entry.js +2 -0
- package/dist/siemens-ix/p-cd4e3593.entry.js.map +1 -0
- package/dist/siemens-ix/p-cd75b455.entry.js +2 -0
- package/dist/siemens-ix/p-cd75b455.entry.js.map +1 -0
- package/dist/siemens-ix/{p-ae29d220.entry.js → p-cf2717c1.entry.js} +2 -2
- package/dist/siemens-ix/{p-2149ce72.entry.js → p-d2225fc2.entry.js} +2 -2
- package/dist/siemens-ix/{p-925b7d63.entry.js → p-d5302336.entry.js} +2 -2
- package/dist/siemens-ix/{p-c11ebe2f.entry.js → p-d784a04b.entry.js} +2 -2
- package/dist/siemens-ix/{p-9a4a825a.entry.js → p-d7e23a1f.entry.js} +2 -2
- package/dist/siemens-ix/p-d848739e.entry.js +2 -0
- package/dist/siemens-ix/p-d848739e.entry.js.map +1 -0
- package/dist/siemens-ix/p-dbcec49e.entry.js +2 -0
- package/dist/siemens-ix/p-dbcec49e.entry.js.map +1 -0
- package/dist/siemens-ix/{p-dae58ef8.entry.js → p-dc98d3f4.entry.js} +2 -2
- package/dist/siemens-ix/{p-63663ccd.entry.js → p-df138b2a.entry.js} +2 -2
- package/dist/siemens-ix/p-ea55afa3.entry.js +2 -0
- package/dist/siemens-ix/p-ea55afa3.entry.js.map +1 -0
- package/dist/siemens-ix/{p-77c1e1e7.entry.js → p-eccc2475.entry.js} +2 -2
- package/dist/siemens-ix/{p-c4b1210b.entry.js → p-ecd1145b.entry.js} +2 -2
- package/dist/siemens-ix/{p-a36c0c05.entry.js → p-f207e578.entry.js} +2 -2
- package/dist/siemens-ix/p-f207e578.entry.js.map +1 -0
- package/dist/siemens-ix/{p-272b771c.entry.js → p-f48b706b.entry.js} +2 -2
- package/dist/siemens-ix/{p-65d38367.entry.js → p-f50697b9.entry.js} +2 -2
- package/dist/siemens-ix/p-f6ae45fb.entry.js +2 -0
- package/dist/siemens-ix/p-f6ae45fb.entry.js.map +1 -0
- package/dist/siemens-ix/{p-0fcfac90.entry.js → p-f74c7692.entry.js} +2 -2
- package/dist/siemens-ix/{p-7ed22ba1.entry.js → p-feb8c2c4.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix.css +32 -14
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/types/components/action-card/action-card.d.ts +28 -0
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +12 -0
- package/dist/types/components/card-accordion/card-accordion.d.ts +20 -0
- package/dist/types/components/card-content/card-content.d.ts +6 -0
- package/dist/types/components/card-list/card-list.d.ts +78 -0
- package/dist/types/components/card-title/card-title.d.ts +8 -0
- package/dist/types/components/content-header/content-header.d.ts +25 -0
- package/dist/types/components/drawer/drawer.d.ts +1 -1
- package/dist/types/components/empty-state/empty-state.d.ts +32 -0
- package/dist/types/components/expanding-search/expanding-search.d.ts +5 -0
- package/dist/types/components/icon-button/icon-button.d.ts +1 -0
- package/dist/types/components/key-value/key-value.d.ts +25 -0
- package/dist/types/components/key-value-list/key-value-list.d.ts +10 -0
- package/dist/types/components/layout/css-grid/builder.d.ts +1 -0
- package/dist/types/components/layout/css-grid/css-grid-item.d.ts +10 -0
- package/dist/types/components/layout/css-grid/css-grid.d.ts +18 -0
- package/dist/types/components/map-navigation/map-navigation.d.ts +7 -1
- package/dist/types/components/menu-item/menu-item.d.ts +5 -3
- package/dist/types/components/push-card/push-card.d.ts +28 -0
- package/dist/types/components/time-picker/time-picker.d.ts +7 -0
- package/dist/types/components/toast/toast.d.ts +0 -1
- package/dist/types/components/typography/typography.d.ts +7 -2
- package/dist/types/components.d.ts +654 -46
- package/dist/types/index.d.ts +12 -0
- package/package.json +2 -2
- package/scss/components/_buttons.scss +3 -6
- package/scss/components/_forms.scss +18 -12
- package/scss/mixins/shadow-dom/_component.scss +15 -0
- package/scss/mixins/shadow-dom/_hover.scss +19 -0
- package/scss/theme/classic-dark/_borderRadius.scss +1 -1
- package/dist/cjs/index-931d1fb5.js.map +0 -1
- package/dist/cjs/ix-typography.cjs.entry.js.map +0 -1
- package/dist/collection/components/icon/icon.js +0 -101
- package/dist/collection/components/icon/icon.js.map +0 -1
- package/dist/collection/components/typography/types.js.map +0 -1
- package/dist/esm/index-57424926.js.map +0 -1
- package/dist/esm/ix-typography.entry.js.map +0 -1
- package/dist/siemens-ix/p-091accfc.entry.js +0 -2
- package/dist/siemens-ix/p-091accfc.entry.js.map +0 -1
- package/dist/siemens-ix/p-189cdc59.entry.js +0 -2
- package/dist/siemens-ix/p-189cdc59.entry.js.map +0 -1
- package/dist/siemens-ix/p-2206924a.entry.js +0 -2
- package/dist/siemens-ix/p-2206924a.entry.js.map +0 -1
- package/dist/siemens-ix/p-2e2fca5f.entry.js +0 -2
- package/dist/siemens-ix/p-2e2fca5f.entry.js.map +0 -1
- package/dist/siemens-ix/p-57a5d3d0.js.map +0 -1
- package/dist/siemens-ix/p-69c4d72b.entry.js +0 -2
- package/dist/siemens-ix/p-69c4d72b.entry.js.map +0 -1
- package/dist/siemens-ix/p-75045a73.entry.js +0 -2
- package/dist/siemens-ix/p-75045a73.entry.js.map +0 -1
- package/dist/siemens-ix/p-89b7ae4c.entry.js +0 -2
- package/dist/siemens-ix/p-89b7ae4c.entry.js.map +0 -1
- package/dist/siemens-ix/p-8cf56736.entry.js +0 -2
- package/dist/siemens-ix/p-8cf56736.entry.js.map +0 -1
- package/dist/siemens-ix/p-93d6bfe1.entry.js +0 -2
- package/dist/siemens-ix/p-93d6bfe1.entry.js.map +0 -1
- package/dist/siemens-ix/p-9c2ae88d.entry.js +0 -2
- package/dist/siemens-ix/p-9c2ae88d.entry.js.map +0 -1
- package/dist/siemens-ix/p-a36c0c05.entry.js.map +0 -1
- package/dist/siemens-ix/p-a6e443df.entry.js +0 -2
- package/dist/siemens-ix/p-a6e443df.entry.js.map +0 -1
- package/dist/siemens-ix/p-af533e73.entry.js +0 -2
- package/dist/siemens-ix/p-af533e73.entry.js.map +0 -1
- package/dist/siemens-ix/p-b46713aa.entry.js +0 -2
- package/dist/siemens-ix/p-b46713aa.entry.js.map +0 -1
- package/dist/siemens-ix/p-bdaae206.entry.js +0 -2
- package/dist/siemens-ix/p-bdaae206.entry.js.map +0 -1
- package/dist/siemens-ix/p-c29d31ea.entry.js +0 -2
- package/dist/siemens-ix/p-c29d31ea.entry.js.map +0 -1
- package/dist/siemens-ix/p-d57afc21.entry.js +0 -2
- package/dist/siemens-ix/p-d57afc21.entry.js.map +0 -1
- package/dist/siemens-ix/p-f72d10e6.entry.js +0 -2
- package/dist/siemens-ix/p-f72d10e6.entry.js.map +0 -1
- package/dist/types/components/icon/icon.d.ts +0 -15
- /package/dist/siemens-ix/{p-2850e6b1.entry.js.map → p-003e9355.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f20dc192.entry.js.map → p-1331a920.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f2355beb.entry.js.map → p-1e8ee4af.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-729c8d31.entry.js.map → p-3172249b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3b4c5e4b.entry.js.map → p-40982e21.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7cdbc92b.entry.js.map → p-4597dd77.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d985e147.entry.js.map → p-4e851aa3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1c1dd6d6.entry.js.map → p-51c81a20.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b54c8bba.entry.js.map → p-6124d173.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7f7657ec.entry.js.map → p-626fbee2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-15335e01.entry.js.map → p-652ba2c1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f7f07386.entry.js.map → p-821ca55e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-46e468af.entry.js.map → p-8719eeff.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-de1e7c64.entry.js.map → p-94ab7c1c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9da2881b.entry.js.map → p-9a82921b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-908afbed.entry.js.map → p-a08e1bbc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e4f9db28.entry.js.map → p-a73580a5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2ecb0ffd.entry.js.map → p-b5c40bb3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0dd51d53.entry.js.map → p-bd24f35f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bbda3133.entry.js.map → p-c7109071.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ae29d220.entry.js.map → p-cf2717c1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2149ce72.entry.js.map → p-d2225fc2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-925b7d63.entry.js.map → p-d5302336.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c11ebe2f.entry.js.map → p-d784a04b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9a4a825a.entry.js.map → p-d7e23a1f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dae58ef8.entry.js.map → p-dc98d3f4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-63663ccd.entry.js.map → p-df138b2a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-77c1e1e7.entry.js.map → p-eccc2475.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c4b1210b.entry.js.map → p-ecd1145b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-272b771c.entry.js.map → p-f48b706b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-65d38367.entry.js.map → p-f50697b9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0fcfac90.entry.js.map → p-f74c7692.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7ed22ba1.entry.js.map → p-feb8c2c4.entry.js.map} +0 -0
- /package/dist/types/components/typography/{types.d.ts → type-mapping.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AASjD,MAAM,OAAO,MAAM;;mBAIgB,SAAS;mBAKxB,KAAK;qBAOH,KAAK;iBAKT,KAAK;oBAKF,KAAK;oBAKY,KAAK;gBAKL,QAAQ;;EAE5C,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB;MAED,cACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,gBAAgB,CACrB,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,EAC5B,KAAK,EACL,KAAK,EACL,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CACd;QAED,eAAa,CACN,CACJ,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\nimport { getButtonClasses } from './base-button';\n\nexport type ButtonVariant = 'Primary' | 'Secondary';\n\n@Component({\n tag: 'ix-button',\n
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AASjD,MAAM,OAAO,MAAM;;mBAIgB,SAAS;mBAKxB,KAAK;qBAOH,KAAK;iBAKT,KAAK;oBAKF,KAAK;oBAKY,KAAK;gBAKL,QAAQ;;EAE5C,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACxB;MAED,cACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,gBAAgB,CACrB,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,EAC5B,KAAK,EACL,KAAK,EACL,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CACd;QAED,eAAa,CACN,CACJ,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\nimport { getButtonClasses } from './base-button';\n\nexport type ButtonVariant = 'Primary' | 'Secondary';\n\n@Component({\n tag: 'ix-button',\n shadow: true,\n styleUrl: './button.scss',\n})\nexport class Button {\n /**\n * Button variant\n */\n @Prop() variant: ButtonVariant = 'Primary';\n\n /**\n * Outline button\n */\n @Prop() outline = false;\n\n /**\n * Invisible button\n *\n * @deprecated use ghost property\n */\n @Prop() invisible = false;\n\n /**\n * Button with no background or outline\n */\n @Prop() ghost = false;\n\n /**\n * Show button as selected. Should be used with outline or ghost\n */\n @Prop() selected = false;\n\n /**\n * Disable the button\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Type of the button\n */\n @Prop() type: 'button' | 'submit' = 'button';\n\n render() {\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n >\n <button\n type={this.type}\n class={getButtonClasses(\n this.variant,\n this.outline,\n this.ghost || this.invisible,\n false,\n false,\n this.selected,\n this.disabled\n )}\n >\n <slot></slot>\n </button>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
11
|
+
*
|
|
12
|
+
* SPDX-License-Identifier: MIT
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
:host {
|
|
18
|
+
display: flex;
|
|
19
|
+
position: relative;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
align-self: flex-start;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
width: 20rem;
|
|
25
|
+
border: 1px solid var(--ix-card-border-color, var(--theme-color-soft-bdr));
|
|
26
|
+
border-radius: var(--theme-default-border-radius);
|
|
27
|
+
}
|
|
28
|
+
:host *,
|
|
29
|
+
:host *::after,
|
|
30
|
+
:host *::before {
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
}
|
|
33
|
+
:host .card-content {
|
|
34
|
+
display: block;
|
|
35
|
+
position: relative;
|
|
36
|
+
flex-shrink: 0;
|
|
37
|
+
flex-grow: 1;
|
|
38
|
+
width: 100%;
|
|
39
|
+
padding: 1rem 1rem;
|
|
40
|
+
height: calc(100% - 2rem);
|
|
41
|
+
background-color: var(--ix-card-background, transparent);
|
|
42
|
+
border-top-left-radius: var(--theme-default-border-radius);
|
|
43
|
+
border-top-right-radius: var(--theme-default-border-radius);
|
|
44
|
+
}
|
|
45
|
+
:host .card-footer {
|
|
46
|
+
display: flex;
|
|
47
|
+
position: relative;
|
|
48
|
+
width: 100%;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:host(.card-insight) {
|
|
52
|
+
--ix-card-background: transparent;
|
|
53
|
+
--ix-card-border-color: var(--theme-color-soft-bdr);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host(.card-notification) {
|
|
57
|
+
--ix-card-background: var(--theme-color-component-1);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host(.card-alarm) {
|
|
61
|
+
--ix-card-background: var(--theme-color-alarm);
|
|
62
|
+
color: var(--theme-color-alarm--contrast);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:host(.card-critical) {
|
|
66
|
+
--ix-card-background: var(--theme-color-critical);
|
|
67
|
+
color: var(--theme-color-critical--contrast);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host(.card-warning) {
|
|
71
|
+
--ix-card-background: var(--theme-color-warning);
|
|
72
|
+
color: var(--theme-color-warning--contrast);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:host(.card-success) {
|
|
76
|
+
--ix-card-background: var(--theme-color-success);
|
|
77
|
+
color: var(--theme-color-success--contrast);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
:host(.card-info) {
|
|
81
|
+
--ix-card-background: var(--theme-color-info);
|
|
82
|
+
color: var(--theme-color-info--contrast);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:host(.card-neutral) {
|
|
86
|
+
--ix-card-background: var(--theme-color-neutral);
|
|
87
|
+
color: var(--theme-color-neutral--contrast);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
:host(:not(.card-insight)) {
|
|
91
|
+
--ix-card-border-color: transparent;
|
|
92
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { h, Host } from '@stencil/core';
|
|
2
|
+
/**
|
|
3
|
+
* @since 1.6.0
|
|
4
|
+
*/
|
|
5
|
+
export class Card {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.variant = 'insight';
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `card-${this.variant}` }, h("div", { class: "card-content" }, h("slot", null)), h("div", { class: "card-footer" }, h("slot", { name: "card-accordion" }))));
|
|
11
|
+
}
|
|
12
|
+
static get is() { return "ix-card"; }
|
|
13
|
+
static get encapsulation() { return "shadow"; }
|
|
14
|
+
static get originalStyleUrls() {
|
|
15
|
+
return {
|
|
16
|
+
"$": ["card.scss"]
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
static get styleUrls() {
|
|
20
|
+
return {
|
|
21
|
+
"$": ["card.css"]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static get properties() {
|
|
25
|
+
return {
|
|
26
|
+
"variant": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"mutable": false,
|
|
29
|
+
"complexType": {
|
|
30
|
+
"original": "CardVariant",
|
|
31
|
+
"resolved": "\"alarm\" | \"critical\" | \"info\" | \"insight\" | \"neutral\" | \"notification\" | \"success\" | \"warning\"",
|
|
32
|
+
"references": {
|
|
33
|
+
"CardVariant": {
|
|
34
|
+
"location": "local",
|
|
35
|
+
"path": "/__w/ix/ix/packages/core/src/components/card/card.tsx"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": false,
|
|
40
|
+
"optional": false,
|
|
41
|
+
"docs": {
|
|
42
|
+
"tags": [],
|
|
43
|
+
"text": "Card variant"
|
|
44
|
+
},
|
|
45
|
+
"attribute": "variant",
|
|
46
|
+
"reflect": false,
|
|
47
|
+
"defaultValue": "'insight'"
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static get elementRef() { return "hostElement"; }
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../src/components/card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAYlE;;GAEG;AAMH,MAAM,OAAO,IAAI;;mBAMgB,SAAS;;EAExC,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAE,QAAQ,IAAI,CAAC,OAAO,EAAE;MACjC,WAAK,KAAK,EAAC,cAAc;QACvB,eAAa,CACT;MACN,WAAK,KAAK,EAAC,aAAa;QACtB,YAAM,IAAI,EAAC,gBAAgB,GAAQ,CAC/B,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop } from '@stencil/core';\n\nexport type CardVariant =\n | 'insight'\n | 'notification'\n | 'alarm'\n | 'critical'\n | 'warning'\n | 'info'\n | 'neutral'\n | 'success';\n\n/**\n * @since 1.6.0\n */\n@Component({\n tag: 'ix-card',\n styleUrl: 'card.scss',\n shadow: true,\n})\nexport class Card {\n @Element() hostElement: HTMLIxCardElement;\n\n /**\n * Card variant\n */\n @Prop() variant: CardVariant = 'insight';\n\n render() {\n return (\n <Host class={`card-${this.variant}`}>\n <div class=\"card-content\">\n <slot></slot>\n </div>\n <div class=\"card-footer\">\n <slot name=\"card-accordion\"></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
11
|
+
*
|
|
12
|
+
* SPDX-License-Identifier: MIT
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
/*
|
|
18
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
19
|
+
*
|
|
20
|
+
* SPDX-License-Identifier: MIT
|
|
21
|
+
*
|
|
22
|
+
* This source code is licensed under the MIT license found in the
|
|
23
|
+
* LICENSE file in the root directory of this source tree.
|
|
24
|
+
*/
|
|
25
|
+
:host {
|
|
26
|
+
display: flex;
|
|
27
|
+
position: relative;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 2.5rem;
|
|
31
|
+
max-height: 2.5rem;
|
|
32
|
+
transition: var(--theme-default-time) ease-in-out;
|
|
33
|
+
}
|
|
34
|
+
:host *,
|
|
35
|
+
:host *::after,
|
|
36
|
+
:host *::before {
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
}
|
|
39
|
+
:host .expand-action {
|
|
40
|
+
all: unset;
|
|
41
|
+
display: flex;
|
|
42
|
+
position: relative;
|
|
43
|
+
-webkit-appearance: button;
|
|
44
|
+
-moz-appearance: button;
|
|
45
|
+
appearance: button;
|
|
46
|
+
height: 2.5rem;
|
|
47
|
+
width: 100%;
|
|
48
|
+
background-color: var(--theme-color-component-1);
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: flex-start;
|
|
51
|
+
}
|
|
52
|
+
:host .expand-action:not(.disabled):not(:disabled).hover, :host .expand-action:not(.disabled):not(:disabled):hover {
|
|
53
|
+
background-color: var(--theme-ghost--background--hover);
|
|
54
|
+
}
|
|
55
|
+
:host .expand-action:not(.disabled):not(:disabled).active, :host .expand-action:not(.disabled):not(:disabled):active {
|
|
56
|
+
background-color: var(--theme-ghost--background--active);
|
|
57
|
+
}
|
|
58
|
+
:host .expand-action:not(.disabled):not(:disabled):focus-visible {
|
|
59
|
+
outline: 1px solid var(--theme-color-focus-bdr);
|
|
60
|
+
outline-offset: var(--theme-btn--focus--outline-offset);
|
|
61
|
+
}
|
|
62
|
+
:host .expand-action::before {
|
|
63
|
+
content: "";
|
|
64
|
+
position: absolute;
|
|
65
|
+
width: 100%;
|
|
66
|
+
height: 100%;
|
|
67
|
+
background-color: var(--ix-card-background);
|
|
68
|
+
z-index: -1;
|
|
69
|
+
}
|
|
70
|
+
:host .expand-action:not(.show),
|
|
71
|
+
:host .expand-action:not(.show)::before {
|
|
72
|
+
border-bottom-left-radius: var(--theme-default-border-radius);
|
|
73
|
+
border-bottom-right-radius: var(--theme-default-border-radius);
|
|
74
|
+
}
|
|
75
|
+
:host .expand-icon {
|
|
76
|
+
margin-left: 0.5rem;
|
|
77
|
+
transition: var(--theme-default-time) transform ease-in-out;
|
|
78
|
+
}
|
|
79
|
+
:host .expand-icon.show {
|
|
80
|
+
transform: rotate(90deg);
|
|
81
|
+
}
|
|
82
|
+
:host .expand-content {
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
opacity: 0;
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: 2.5rem;
|
|
88
|
+
transition: var(--theme-default-time) ease-in-out;
|
|
89
|
+
width: 100%;
|
|
90
|
+
height: 0;
|
|
91
|
+
max-height: 20rem;
|
|
92
|
+
background-color: var(--theme-color-component-1);
|
|
93
|
+
}
|
|
94
|
+
:host .expand-content.show {
|
|
95
|
+
height: 15rem;
|
|
96
|
+
opacity: 1;
|
|
97
|
+
}
|
|
98
|
+
:host .expand-content.show .expand-content-body {
|
|
99
|
+
display: none;
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
}
|
|
102
|
+
:host .expand-content.show .expand-content-body {
|
|
103
|
+
display: block;
|
|
104
|
+
overflow: auto;
|
|
105
|
+
}
|
|
106
|
+
:host .expand-content-footer {
|
|
107
|
+
display: block;
|
|
108
|
+
position: relative;
|
|
109
|
+
width: 100%;
|
|
110
|
+
height: 1rem;
|
|
111
|
+
margin-top: auto;
|
|
112
|
+
margin-bottom: 0px;
|
|
113
|
+
background-color: var(--theme-color-component-1);
|
|
114
|
+
border-bottom-left-radius: var(--theme-default-border-radius);
|
|
115
|
+
border-bottom-right-radius: var(--theme-default-border-radius);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:host(.show) {
|
|
119
|
+
height: calc(15rem + 2.5rem);
|
|
120
|
+
max-height: calc(15rem + 2.5rem);
|
|
121
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { h, Host, } from '@stencil/core';
|
|
2
|
+
let accordionControlId = 0;
|
|
3
|
+
const getAriaControlsId = (prefix = 'expand-content') => {
|
|
4
|
+
return [prefix, accordionControlId++].join('-');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @since 1.6.0
|
|
8
|
+
*/
|
|
9
|
+
export class CardAccordion {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.expandContent = false;
|
|
12
|
+
}
|
|
13
|
+
get expandedContent() {
|
|
14
|
+
return this.hostElement.shadowRoot.querySelector('.expand-content');
|
|
15
|
+
}
|
|
16
|
+
onExpandActionClick(event) {
|
|
17
|
+
event.preventDefault();
|
|
18
|
+
event.stopPropagation();
|
|
19
|
+
this.expandContent = !this.expandContent;
|
|
20
|
+
this.accordionExpand.emit({
|
|
21
|
+
expand: this.expandContent,
|
|
22
|
+
nativeEvent: event,
|
|
23
|
+
});
|
|
24
|
+
if (this.expandContent) {
|
|
25
|
+
this.scrollExpandedContentIntoView();
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
scrollExpandedContentIntoView() {
|
|
29
|
+
setTimeout(() => {
|
|
30
|
+
const rect = this.expandedContent.getBoundingClientRect();
|
|
31
|
+
if (rect.bottom > window.innerHeight) {
|
|
32
|
+
this.hostElement.shadowRoot
|
|
33
|
+
.querySelector('.expand-content')
|
|
34
|
+
.scrollIntoView(false);
|
|
35
|
+
}
|
|
36
|
+
}, 150);
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
return (h(Host, { slot: "card-accordion", class: {
|
|
40
|
+
show: this.expandContent,
|
|
41
|
+
} }, h("button", { tabIndex: 0, class: { 'expand-action': true, show: this.expandContent }, onClick: (event) => this.onExpandActionClick(event), role: "button", type: "button", "aria-expanded": this.expandContent, "aria-controls": getAriaControlsId() }, h("ix-icon", { name: "chevron-right-small", class: {
|
|
42
|
+
'expand-icon': true,
|
|
43
|
+
show: this.expandContent,
|
|
44
|
+
} })), h("div", { class: {
|
|
45
|
+
'expand-content': true,
|
|
46
|
+
show: this.expandContent,
|
|
47
|
+
} }, h("div", { class: 'expand-content-body' }, h("slot", null)), h("div", { class: 'expand-content-footer' }))));
|
|
48
|
+
}
|
|
49
|
+
static get is() { return "ix-card-accordion"; }
|
|
50
|
+
static get encapsulation() { return "shadow"; }
|
|
51
|
+
static get originalStyleUrls() {
|
|
52
|
+
return {
|
|
53
|
+
"$": ["card-accordion.scss"]
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
static get styleUrls() {
|
|
57
|
+
return {
|
|
58
|
+
"$": ["card-accordion.css"]
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
static get states() {
|
|
62
|
+
return {
|
|
63
|
+
"expandContent": {}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
static get events() {
|
|
67
|
+
return [{
|
|
68
|
+
"method": "accordionExpand",
|
|
69
|
+
"name": "accordionExpand",
|
|
70
|
+
"bubbles": true,
|
|
71
|
+
"cancelable": true,
|
|
72
|
+
"composed": true,
|
|
73
|
+
"docs": {
|
|
74
|
+
"tags": [{
|
|
75
|
+
"name": "internal",
|
|
76
|
+
"text": undefined
|
|
77
|
+
}],
|
|
78
|
+
"text": ""
|
|
79
|
+
},
|
|
80
|
+
"complexType": {
|
|
81
|
+
"original": "CardAccordionExpandChangeEvent",
|
|
82
|
+
"resolved": "{ expand: boolean; nativeEvent: Event; }",
|
|
83
|
+
"references": {
|
|
84
|
+
"CardAccordionExpandChangeEvent": {
|
|
85
|
+
"location": "local",
|
|
86
|
+
"path": "/__w/ix/ix/packages/core/src/components/card-accordion/card-accordion.tsx"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}];
|
|
91
|
+
}
|
|
92
|
+
static get elementRef() { return "hostElement"; }
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=card-accordion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-accordion.js","sourceRoot":"","sources":["../../../src/components/card-accordion/card-accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AAEvB,IAAI,kBAAkB,GAAG,CAAC,CAAC;AAC3B,MAAM,iBAAiB,GAAG,CAAC,SAAiB,gBAAgB,EAAE,EAAE;EAC9D,OAAO,CAAC,MAAM,EAAE,kBAAkB,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,CAAC,CAAC;AAOF;;GAEG;AAMH,MAAM,OAAO,aAAa;;yBAQC,KAAK;;EAE9B,IAAI,eAAe;IACjB,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;EACtE,CAAC;EAED,mBAAmB,CAAC,KAAY;IAC9B,KAAK,CAAC,cAAc,EAAE,CAAC;IACvB,KAAK,CAAC,eAAe,EAAE,CAAC;IACxB,IAAI,CAAC,aAAa,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC;IACzC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;MACxB,MAAM,EAAE,IAAI,CAAC,aAAa;MAC1B,WAAW,EAAE,KAAK;KACnB,CAAC,CAAC;IAEH,IAAI,IAAI,CAAC,aAAa,EAAE;MACtB,IAAI,CAAC,6BAA6B,EAAE,CAAC;KACtC;EACH,CAAC;EAEO,6BAA6B;IACnC,UAAU,CAAC,GAAG,EAAE;MACd,MAAM,IAAI,GAAG,IAAI,CAAC,eAAe,CAAC,qBAAqB,EAAE,CAAC;MAC1D,IAAI,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,WAAW,EAAE;QACpC,IAAI,CAAC,WAAW,CAAC,UAAU;WACxB,aAAa,CAAC,iBAAiB,CAAC;WAChC,cAAc,CAAC,KAAK,CAAC,CAAC;OAC1B;IACH,CAAC,EAAE,GAAG,CAAC,CAAC;EACV,CAAC;EAED,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IACH,IAAI,EAAC,gBAAgB,EACrB,KAAK,EAAE;QACL,IAAI,EAAE,IAAI,CAAC,aAAa;OACzB;MAED,cACE,QAAQ,EAAE,CAAC,EACX,KAAK,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,EAC1D,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,EACnD,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,QAAQ,mBACE,IAAI,CAAC,aAAa,mBAClB,iBAAiB,EAAE;QAElC,eACE,IAAI,EAAC,qBAAqB,EAC1B,KAAK,EAAE;YACL,aAAa,EAAE,IAAI;YACnB,IAAI,EAAE,IAAI,CAAC,aAAa;WACzB,GACQ,CACJ;MACT,WACE,KAAK,EAAE;UACL,gBAAgB,EAAE,IAAI;UACtB,IAAI,EAAE,IAAI,CAAC,aAAa;SACzB;QAED,WAAK,KAAK,EAAE,qBAAqB;UAC/B,eAAa,CACT;QACN,WAAK,KAAK,EAAE,uBAAuB,GAAQ,CACvC,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n State,\n} from '@stencil/core';\n\nlet accordionControlId = 0;\nconst getAriaControlsId = (prefix: string = 'expand-content') => {\n return [prefix, accordionControlId++].join('-');\n};\n\nexport type CardAccordionExpandChangeEvent = {\n expand: boolean;\n nativeEvent: Event;\n};\n\n/**\n * @since 1.6.0\n */\n@Component({\n tag: 'ix-card-accordion',\n styleUrl: 'card-accordion.scss',\n shadow: true,\n})\nexport class CardAccordion {\n @Element() hostElement: HTMLIxCardAccordionElement;\n\n /**\n * @internal\n */\n @Event() accordionExpand: EventEmitter<CardAccordionExpandChangeEvent>;\n\n @State() expandContent = false;\n\n get expandedContent() {\n return this.hostElement.shadowRoot.querySelector('.expand-content');\n }\n\n onExpandActionClick(event: Event) {\n event.preventDefault();\n event.stopPropagation();\n this.expandContent = !this.expandContent;\n this.accordionExpand.emit({\n expand: this.expandContent,\n nativeEvent: event,\n });\n\n if (this.expandContent) {\n this.scrollExpandedContentIntoView();\n }\n }\n\n private scrollExpandedContentIntoView() {\n setTimeout(() => {\n const rect = this.expandedContent.getBoundingClientRect();\n if (rect.bottom > window.innerHeight) {\n this.hostElement.shadowRoot\n .querySelector('.expand-content')\n .scrollIntoView(false);\n }\n }, 150);\n }\n\n render() {\n return (\n <Host\n slot=\"card-accordion\"\n class={{\n show: this.expandContent,\n }}\n >\n <button\n tabIndex={0}\n class={{ 'expand-action': true, show: this.expandContent }}\n onClick={(event) => this.onExpandActionClick(event)}\n role=\"button\"\n type=\"button\"\n aria-expanded={this.expandContent}\n aria-controls={getAriaControlsId()}\n >\n <ix-icon\n name=\"chevron-right-small\"\n class={{\n 'expand-icon': true,\n show: this.expandContent,\n }}\n ></ix-icon>\n </button>\n <div\n class={{\n 'expand-content': true,\n show: this.expandContent,\n }}\n >\n <div class={'expand-content-body'}>\n <slot></slot>\n </div>\n <div class={'expand-content-footer'}></div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
11
|
+
*
|
|
12
|
+
* SPDX-License-Identifier: MIT
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
:host {
|
|
18
|
+
display: flex;
|
|
19
|
+
position: relative;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
gap: 0.5rem;
|
|
23
|
+
height: 100%;
|
|
24
|
+
}
|
|
25
|
+
:host *,
|
|
26
|
+
:host *::after,
|
|
27
|
+
:host *::before {
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { h, Host } from '@stencil/core';
|
|
2
|
+
/**
|
|
3
|
+
* @since 1.6.0
|
|
4
|
+
*/
|
|
5
|
+
export class CardContent {
|
|
6
|
+
render() {
|
|
7
|
+
return (h(Host, null, h("slot", null)));
|
|
8
|
+
}
|
|
9
|
+
static get is() { return "ix-card-content"; }
|
|
10
|
+
static get encapsulation() { return "shadow"; }
|
|
11
|
+
static get originalStyleUrls() {
|
|
12
|
+
return {
|
|
13
|
+
"$": ["card-content.scss"]
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
static get styleUrls() {
|
|
17
|
+
return {
|
|
18
|
+
"$": ["card-content.css"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=card-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-content.js","sourceRoot":"","sources":["../../../src/components/card-content/card-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;GAEG;AAMH,MAAM,OAAO,WAAW;EACtB,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,eAAa,CACR,CACR,CAAC;EACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host } from '@stencil/core';\n\n/**\n * @since 1.6.0\n */\n@Component({\n tag: 'ix-card-content',\n styleUrl: 'card-content.scss',\n shadow: true,\n})\nexport class CardContent {\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
11
|
+
*
|
|
12
|
+
* SPDX-License-Identifier: MIT
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
:host {
|
|
18
|
+
display: flex;
|
|
19
|
+
position: relative;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
margin: 0.5rem;
|
|
23
|
+
}
|
|
24
|
+
:host *,
|
|
25
|
+
:host *::after,
|
|
26
|
+
:host *::before {
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
}
|
|
29
|
+
:host .CardList_Title {
|
|
30
|
+
display: flex;
|
|
31
|
+
position: relative;
|
|
32
|
+
height: 1.5rem;
|
|
33
|
+
align-items: center;
|
|
34
|
+
width: 100%;
|
|
35
|
+
margin-bottom: 0.5rem;
|
|
36
|
+
}
|
|
37
|
+
:host .CardList__Title__Button {
|
|
38
|
+
margin-right: 1rem;
|
|
39
|
+
transition: var(--theme-default-time) transform ease-in-out;
|
|
40
|
+
}
|
|
41
|
+
:host .CardList__Title__Button__Collapsed {
|
|
42
|
+
transform: rotate(-90deg);
|
|
43
|
+
}
|
|
44
|
+
:host .CardList__Title__Show__All {
|
|
45
|
+
align-self: center;
|
|
46
|
+
margin-left: auto;
|
|
47
|
+
margin-right: 0px;
|
|
48
|
+
}
|
|
49
|
+
:host .CardList__Content {
|
|
50
|
+
display: flex;
|
|
51
|
+
position: relative;
|
|
52
|
+
height: calc(100% - 1.5rem);
|
|
53
|
+
width: 100%;
|
|
54
|
+
gap: 1.5rem;
|
|
55
|
+
transition: var(--theme-default-time) ease-in-out;
|
|
56
|
+
overflow: auto;
|
|
57
|
+
}
|
|
58
|
+
:host .CardList__Content__Collapsed {
|
|
59
|
+
min-height: 0px;
|
|
60
|
+
max-height: 0px;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
opacity: 0;
|
|
63
|
+
}
|
|
64
|
+
:host .CardList__Style__Flexbox__Scroll {
|
|
65
|
+
flex-wrap: wrap;
|
|
66
|
+
}
|
|
67
|
+
:host .CardList__Style__Infinite__Scroll {
|
|
68
|
+
flex-wrap: nowrap;
|
|
69
|
+
-ms-overflow-style: none;
|
|
70
|
+
scrollbar-width: none;
|
|
71
|
+
}
|
|
72
|
+
:host .CardList__Style__Infinite__Scroll::-webkit-scrollbar {
|
|
73
|
+
display: none;
|
|
74
|
+
}
|
|
75
|
+
:host .CardList__Overflow {
|
|
76
|
+
display: block;
|
|
77
|
+
position: relative;
|
|
78
|
+
height: 100%;
|
|
79
|
+
width: 100%;
|
|
80
|
+
pointer-events: all;
|
|
81
|
+
-webkit-mask-image: var(--ix-card-list-overflow, none);
|
|
82
|
+
mask-image: var(--ix-card-list-overflow, none);
|
|
83
|
+
}
|
|
84
|
+
:host .Show__All__Card {
|
|
85
|
+
display: flex;
|
|
86
|
+
position: relative;
|
|
87
|
+
align-self: flex-start;
|
|
88
|
+
justify-self: center;
|
|
89
|
+
max-width: 11.25rem;
|
|
90
|
+
min-width: 11.25rem;
|
|
91
|
+
width: 11.25rem;
|
|
92
|
+
min-height: 11.25rem;
|
|
93
|
+
max-height: 11.25rem;
|
|
94
|
+
height: 11.25rem;
|
|
95
|
+
--ix-card-border-color: var(--theme-color-primary);
|
|
96
|
+
color: var(--theme-color-primary);
|
|
97
|
+
}
|
|
98
|
+
:host .CardList__Style__Infinite__Scroll .Show__All__Card {
|
|
99
|
+
margin-top: 2.375rem;
|
|
100
|
+
}
|
|
101
|
+
:host .CardList__Style__Flexbox__Scroll .Show__All__Card {
|
|
102
|
+
margin-bottom: 2.375rem;
|
|
103
|
+
}
|
|
104
|
+
:host .Show__All__Card:hover {
|
|
105
|
+
background-color: var(--theme-color-ghost--hover);
|
|
106
|
+
}
|
|
107
|
+
:host .Show__All__Card:active {
|
|
108
|
+
background-color: var(--theme-color-ghost--active);
|
|
109
|
+
}
|
|
110
|
+
:host .Show__All__Card__Content {
|
|
111
|
+
display: flex;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
align-items: center;
|
|
114
|
+
}
|
|
115
|
+
:host .Show__All__Card__Icon {
|
|
116
|
+
display: flex;
|
|
117
|
+
position: absolute;
|
|
118
|
+
height: 4rem;
|
|
119
|
+
width: 4rem;
|
|
120
|
+
justify-content: center;
|
|
121
|
+
align-items: center;
|
|
122
|
+
transform: scale(2);
|
|
123
|
+
}
|
|
124
|
+
:host .Show__All__Card__Text {
|
|
125
|
+
margin-bottom: 0px;
|
|
126
|
+
margin-top: auto;
|
|
127
|
+
}
|