@siemens/ix 1.5.0-beta.4 → 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-478a4b66.js → index-c978628a.js} +134 -38
- 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 +3 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- 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 +3 -3
- package/dist/cjs/siemens-ix.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +33 -4
- 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-3d163acd.js → index-8ddfb6d8.js} +134 -38
- 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 +4 -4
- package/dist/esm/loader.js.map +1 -1
- 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 +4 -4
- package/dist/esm/siemens-ix.js.map +1 -1
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/{p-3776a37f.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-afd1f351.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-1c64b073.js +3 -0
- package/dist/siemens-ix/p-1c64b073.js.map +1 -0
- package/dist/siemens-ix/{p-626b3af5.entry.js → p-1e8ee4af.entry.js} +2 -2
- package/dist/siemens-ix/{p-6bdfaf91.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-9546cbdd.entry.js → p-40982e21.entry.js} +2 -2
- package/dist/siemens-ix/{p-a4a16daa.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-909ccf09.entry.js → p-4e851aa3.entry.js} +2 -2
- package/dist/siemens-ix/{p-c19c2492.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-43965bd0.entry.js → p-6124d173.entry.js} +2 -2
- package/dist/siemens-ix/{p-16ec6f50.entry.js → p-626fbee2.entry.js} +2 -2
- package/dist/siemens-ix/{p-0f864265.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-663724a8.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-eb799bdd.entry.js → p-8719eeff.entry.js} +2 -2
- package/dist/siemens-ix/{p-4c8d5207.entry.js → p-94ab7c1c.entry.js} +2 -2
- package/dist/siemens-ix/{p-fef2f9e0.entry.js → p-9a82921b.entry.js} +2 -2
- package/dist/siemens-ix/{p-0e8a6997.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-20bed29f.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-2ea2fc07.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-63666529.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-aa4141e4.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-4ec66090.entry.js → p-cf2717c1.entry.js} +2 -2
- package/dist/siemens-ix/{p-dbcf33de.entry.js → p-d2225fc2.entry.js} +2 -2
- package/dist/siemens-ix/{p-b9fbd029.entry.js → p-d5302336.entry.js} +2 -2
- package/dist/siemens-ix/{p-13adcf62.entry.js → p-d784a04b.entry.js} +2 -2
- package/dist/siemens-ix/{p-55d0fabf.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-33160fe4.entry.js → p-dc98d3f4.entry.js} +2 -2
- package/dist/siemens-ix/{p-65b6330a.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-62b4d696.entry.js → p-eccc2475.entry.js} +2 -2
- package/dist/siemens-ix/{p-7d4a7388.entry.js → p-ecd1145b.entry.js} +2 -2
- package/dist/siemens-ix/{p-78f2b858.entry.js → p-f207e578.entry.js} +2 -2
- package/dist/siemens-ix/p-f207e578.entry.js.map +1 -0
- package/dist/siemens-ix/{p-a30c7b5a.entry.js → p-f48b706b.entry.js} +2 -2
- package/dist/siemens-ix/{p-b998abe4.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-c9c9f2b5.entry.js → p-f74c7692.entry.js} +2 -2
- package/dist/siemens-ix/{p-042b490c.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/dist/types/stencil-public-runtime.d.ts +1 -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-478a4b66.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-3d163acd.js.map +0 -1
- package/dist/esm/ix-typography.entry.js.map +0 -1
- package/dist/siemens-ix/p-07fd8298.entry.js +0 -2
- package/dist/siemens-ix/p-07fd8298.entry.js.map +0 -1
- package/dist/siemens-ix/p-1666b0e2.entry.js +0 -2
- package/dist/siemens-ix/p-1666b0e2.entry.js.map +0 -1
- package/dist/siemens-ix/p-1a87eb66.entry.js +0 -2
- package/dist/siemens-ix/p-1a87eb66.entry.js.map +0 -1
- package/dist/siemens-ix/p-283686d7.entry.js +0 -2
- package/dist/siemens-ix/p-283686d7.entry.js.map +0 -1
- package/dist/siemens-ix/p-2dafa048.entry.js +0 -2
- package/dist/siemens-ix/p-2dafa048.entry.js.map +0 -1
- package/dist/siemens-ix/p-34e3a10e.entry.js +0 -2
- package/dist/siemens-ix/p-34e3a10e.entry.js.map +0 -1
- package/dist/siemens-ix/p-53c69375.entry.js +0 -2
- package/dist/siemens-ix/p-53c69375.entry.js.map +0 -1
- package/dist/siemens-ix/p-5d7e1440.entry.js +0 -2
- package/dist/siemens-ix/p-5d7e1440.entry.js.map +0 -1
- package/dist/siemens-ix/p-63e1264b.entry.js +0 -2
- package/dist/siemens-ix/p-63e1264b.entry.js.map +0 -1
- package/dist/siemens-ix/p-78f2b858.entry.js.map +0 -1
- package/dist/siemens-ix/p-7fb5fa79.entry.js +0 -2
- package/dist/siemens-ix/p-7fb5fa79.entry.js.map +0 -1
- package/dist/siemens-ix/p-88a47c9b.entry.js +0 -2
- package/dist/siemens-ix/p-88a47c9b.entry.js.map +0 -1
- package/dist/siemens-ix/p-8fcd6f85.js +0 -3
- package/dist/siemens-ix/p-8fcd6f85.js.map +0 -1
- package/dist/siemens-ix/p-caae2fa5.entry.js +0 -2
- package/dist/siemens-ix/p-caae2fa5.entry.js.map +0 -1
- package/dist/siemens-ix/p-d7a3acce.entry.js +0 -2
- package/dist/siemens-ix/p-d7a3acce.entry.js.map +0 -1
- package/dist/siemens-ix/p-d7cf7a1a.entry.js +0 -2
- package/dist/siemens-ix/p-d7cf7a1a.entry.js.map +0 -1
- package/dist/siemens-ix/p-eb301ea2.entry.js +0 -2
- package/dist/siemens-ix/p-eb301ea2.entry.js.map +0 -1
- package/dist/siemens-ix/p-f6509805.entry.js +0 -2
- package/dist/siemens-ix/p-f6509805.entry.js.map +0 -1
- package/dist/siemens-ix/p-f6c54047.entry.js +0 -2
- package/dist/siemens-ix/p-f6c54047.entry.js.map +0 -1
- package/dist/types/components/icon/icon.d.ts +0 -15
- /package/dist/siemens-ix/{p-3776a37f.entry.js.map → p-003e9355.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-afd1f351.entry.js.map → p-1331a920.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-626b3af5.entry.js.map → p-1e8ee4af.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6bdfaf91.entry.js.map → p-3172249b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9546cbdd.entry.js.map → p-40982e21.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a4a16daa.entry.js.map → p-4597dd77.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-909ccf09.entry.js.map → p-4e851aa3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c19c2492.entry.js.map → p-51c81a20.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-43965bd0.entry.js.map → p-6124d173.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-16ec6f50.entry.js.map → p-626fbee2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0f864265.entry.js.map → p-652ba2c1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-663724a8.entry.js.map → p-821ca55e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-eb799bdd.entry.js.map → p-8719eeff.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4c8d5207.entry.js.map → p-94ab7c1c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fef2f9e0.entry.js.map → p-9a82921b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0e8a6997.entry.js.map → p-a08e1bbc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-20bed29f.entry.js.map → p-a73580a5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2ea2fc07.entry.js.map → p-b5c40bb3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-63666529.entry.js.map → p-bd24f35f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-aa4141e4.entry.js.map → p-c7109071.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4ec66090.entry.js.map → p-cf2717c1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dbcf33de.entry.js.map → p-d2225fc2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b9fbd029.entry.js.map → p-d5302336.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-13adcf62.entry.js.map → p-d784a04b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-55d0fabf.entry.js.map → p-d7e23a1f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-33160fe4.entry.js.map → p-dc98d3f4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-65b6330a.entry.js.map → p-df138b2a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-62b4d696.entry.js.map → p-eccc2475.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7d4a7388.entry.js.map → p-ecd1145b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a30c7b5a.entry.js.map → p-f48b706b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b998abe4.entry.js.map → p-f50697b9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c9c9f2b5.entry.js.map → p-f74c7692.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-042b490c.entry.js.map → p-feb8c2c4.entry.js.map} +0 -0
- /package/dist/types/components/typography/{types.d.ts → type-mapping.d.ts} +0 -0
|
@@ -40,12 +40,16 @@
|
|
|
40
40
|
height: 2rem;
|
|
41
41
|
align-items: center;
|
|
42
42
|
justify-content: space-between;
|
|
43
|
+
position: relative;
|
|
43
44
|
/*collapsed view*/
|
|
44
45
|
/*expanded view*/
|
|
45
46
|
}
|
|
46
47
|
:host.right-position {
|
|
47
48
|
width: 11.5625rem !important;
|
|
48
49
|
}
|
|
50
|
+
:host.right-position.fullWidth {
|
|
51
|
+
width: 100% !important;
|
|
52
|
+
}
|
|
49
53
|
:host .input-container {
|
|
50
54
|
transition: all 0.3s ease-in-out;
|
|
51
55
|
}
|
|
@@ -54,10 +58,14 @@
|
|
|
54
58
|
}
|
|
55
59
|
:host input {
|
|
56
60
|
box-shadow: var(--theme-input--box-shadow);
|
|
61
|
+
cursor: auto !important;
|
|
57
62
|
}
|
|
58
63
|
:host .expanded {
|
|
59
64
|
width: 11.5625rem;
|
|
60
65
|
}
|
|
66
|
+
:host .expanded.fullWidth {
|
|
67
|
+
width: 100%;
|
|
68
|
+
}
|
|
61
69
|
:host .collapsed {
|
|
62
70
|
width: 1.5rem;
|
|
63
71
|
border: none;
|
|
@@ -35,6 +35,7 @@ export class ExpandingSearch {
|
|
|
35
35
|
this.icon = 'search';
|
|
36
36
|
this.placeholder = 'Enter text here';
|
|
37
37
|
this.value = '';
|
|
38
|
+
this.fullWidth = false;
|
|
38
39
|
this.isFieldChanged = false;
|
|
39
40
|
this.expanded = false;
|
|
40
41
|
this.hasFocus = false;
|
|
@@ -54,6 +55,7 @@ export class ExpandingSearch {
|
|
|
54
55
|
return (h(Host, { class: {
|
|
55
56
|
expanded: this.expanded,
|
|
56
57
|
'right-position': this.expanded,
|
|
58
|
+
fullWidth: this.fullWidth,
|
|
57
59
|
} }, h("button", { class: {
|
|
58
60
|
btn: true,
|
|
59
61
|
'btn-invisible-primary': true,
|
|
@@ -62,6 +64,7 @@ export class ExpandingSearch {
|
|
|
62
64
|
'disable-pointer': this.expanded,
|
|
63
65
|
}, "data-testid": "button", onClick: () => this.expandInput(), tabindex: this.expanded ? -1 : 0 }, h("ix-icon", { class: "btn-search-icon", name: this.icon, size: this.expanded ? '16' : '24', color: this.hasFocus ? 'input-search-icon--color--focus' : undefined })), h("div", { class: {
|
|
64
66
|
expanded: this.expanded,
|
|
67
|
+
fullWidth: this.fullWidth,
|
|
65
68
|
collapsed: !this.expanded,
|
|
66
69
|
'disable-pointer': !this.expanded,
|
|
67
70
|
'input-container': true,
|
|
@@ -143,6 +146,27 @@ export class ExpandingSearch {
|
|
|
143
146
|
"attribute": "value",
|
|
144
147
|
"reflect": false,
|
|
145
148
|
"defaultValue": "''"
|
|
149
|
+
},
|
|
150
|
+
"fullWidth": {
|
|
151
|
+
"type": "boolean",
|
|
152
|
+
"mutable": false,
|
|
153
|
+
"complexType": {
|
|
154
|
+
"original": "boolean",
|
|
155
|
+
"resolved": "boolean",
|
|
156
|
+
"references": {}
|
|
157
|
+
},
|
|
158
|
+
"required": false,
|
|
159
|
+
"optional": false,
|
|
160
|
+
"docs": {
|
|
161
|
+
"tags": [{
|
|
162
|
+
"name": "since",
|
|
163
|
+
"text": "1.6.0"
|
|
164
|
+
}],
|
|
165
|
+
"text": "If true the search field will fill all available horizontal space of it's parent container when expanded."
|
|
166
|
+
},
|
|
167
|
+
"attribute": "full-width",
|
|
168
|
+
"reflect": false,
|
|
169
|
+
"defaultValue": "false"
|
|
146
170
|
}
|
|
147
171
|
};
|
|
148
172
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expanding-search.js","sourceRoot":"","sources":["../../../src/components/expanding-search/expanding-search.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AAOvB,MAAM,OAAO,eAAe;
|
|
1
|
+
{"version":3,"file":"expanding-search.js","sourceRoot":"","sources":["../../../src/components/expanding-search/expanding-search.tsx"],"names":[],"mappings":"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","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 {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-expanding-search',\n styleUrl: 'expanding-search.scss',\n scoped: true,\n})\nexport class ExpandingSearch {\n /**\n * Search icon\n */\n @Prop() icon = 'search';\n\n /**\n * Placeholder text\n */\n @Prop() placeholder = 'Enter text here';\n\n /**\n * Default value\n */\n @Prop({ mutable: true }) value = '';\n\n /**\n * If true the search field will fill all available horizontal space of it's parent container when expanded.\n * @since 1.6.0\n */\n @Prop() fullWidth = false;\n\n @State() isFieldChanged = false;\n\n @State() expanded = false;\n\n @State() hasFocus = false;\n\n /**\n * Value changed\n */\n @Event() valueChange: EventEmitter<string>;\n\n private expandInput() {\n setTimeout(this.focusTextInput, 300);\n this.expanded = true;\n }\n\n private collapseInput() {\n if (!this.isFieldChanged && this.expanded) {\n this.expanded = false;\n }\n }\n\n private clearInput() {\n this.value = '';\n this.isFieldChanged = false;\n }\n\n private onChange(e: InputEvent) {\n this.value = (e.target as HTMLInputElement).value;\n if (this.isFieldChanged && this.value === '') {\n this.isFieldChanged = false;\n } else {\n this.isFieldChanged = true;\n }\n\n this.valueChange.emit(this.value);\n }\n\n private textInput?: HTMLInputElement;\n\n constructor() {\n this.focusTextInput = this.focusTextInput.bind(this);\n }\n\n private focusTextInput() {\n this.textInput?.focus();\n }\n\n private clearClicked() {\n this.clearInput();\n this.textInput?.focus();\n this.valueChange.emit(this.value);\n }\n\n render() {\n return (\n <Host\n class={{\n expanded: this.expanded,\n 'right-position': this.expanded,\n fullWidth: this.fullWidth,\n }}\n >\n <button\n class={{\n btn: true,\n 'btn-invisible-primary': true,\n 'btn-icon': true,\n 'btn-search': true,\n 'disable-pointer': this.expanded,\n }}\n data-testid=\"button\"\n onClick={() => this.expandInput()}\n tabindex={this.expanded ? -1 : 0}\n >\n <ix-icon\n class=\"btn-search-icon\"\n name={this.icon}\n size={this.expanded ? '16' : '24'}\n color={\n this.hasFocus ? 'input-search-icon--color--focus' : undefined\n }\n ></ix-icon>\n </button>\n\n <div\n class={{\n expanded: this.expanded,\n fullWidth: this.fullWidth,\n collapsed: !this.expanded,\n 'disable-pointer': !this.expanded,\n 'input-container': true,\n }}\n data-testid=\"input-wrapper\"\n >\n <input\n class={{\n 'form-control': true,\n input: this.expanded,\n 'disable-pointer': !this.expanded,\n 'opacity-before': !this.expanded,\n 'opacity-after': this.expanded,\n }}\n ref={(el) => (this.textInput = el)}\n data-testid=\"input\"\n placeholder={this.placeholder}\n type=\"text\"\n value={this.value}\n onBlur={() => {\n this.collapseInput();\n this.hasFocus = false;\n }}\n onFocus={() => (this.hasFocus = true)}\n onInput={(e: InputEvent) => this.onChange(e)}\n tabindex={this.expanded ? 0 : -1}\n />\n\n {this.isFieldChanged ? (\n <ix-icon-button\n class=\"btn-clear\"\n icon=\"clear\"\n ghost={true}\n size=\"16\"\n data-testid=\"clear-button\"\n onClick={() => this.clearClicked()}\n />\n ) : null}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -6,10 +6,372 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
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
|
+
/* Dimensions */
|
|
18
|
+
/* Font sizes */
|
|
19
|
+
/* Line heights */
|
|
20
|
+
/* Animation timings */
|
|
21
|
+
/*
|
|
22
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
23
|
+
*
|
|
24
|
+
* SPDX-License-Identifier: MIT
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the MIT license found in the
|
|
27
|
+
* LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/
|
|
29
|
+
/*
|
|
30
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
31
|
+
*
|
|
32
|
+
* SPDX-License-Identifier: MIT
|
|
33
|
+
*
|
|
34
|
+
* This source code is licensed under the MIT license found in the
|
|
35
|
+
* LICENSE file in the root directory of this source tree.
|
|
36
|
+
*/
|
|
37
|
+
/*
|
|
38
|
+
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
39
|
+
*
|
|
40
|
+
* SPDX-License-Identifier: MIT
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the MIT license found in the
|
|
43
|
+
* LICENSE file in the root directory of this source tree.
|
|
44
|
+
*/
|
|
45
|
+
.btn {
|
|
46
|
+
display: inline-flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
height: 2rem;
|
|
50
|
+
font-size: 0.875rem;
|
|
51
|
+
font-weight: 700;
|
|
52
|
+
transition: 150ms;
|
|
53
|
+
padding: 0 0.5rem;
|
|
54
|
+
min-width: 5rem;
|
|
55
|
+
gap: 0.25rem;
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
text-overflow: ellipsis;
|
|
58
|
+
white-space: nowrap;
|
|
59
|
+
}
|
|
60
|
+
.btn .glyph {
|
|
61
|
+
margin-right: 0.25rem;
|
|
62
|
+
font-weight: 400;
|
|
63
|
+
}
|
|
64
|
+
.btn:focus-visible, .btn.focus {
|
|
65
|
+
box-shadow: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.btn-primary {
|
|
69
|
+
border-radius: var(--theme-btn--border-radius);
|
|
70
|
+
}
|
|
71
|
+
.btn-primary, .btn-primary.focus, .btn-primary:focus-visible {
|
|
72
|
+
background-color: var(--theme-btn-primary--background);
|
|
73
|
+
color: var(--theme-btn-primary--color);
|
|
74
|
+
border-width: var(--theme-btn--border-thickness);
|
|
75
|
+
border-color: var(--theme-btn-primary--border-color);
|
|
76
|
+
border-style: solid;
|
|
77
|
+
}
|
|
78
|
+
.btn-primary:not(.disabled):not(:disabled):focus-visible {
|
|
79
|
+
outline: 1px solid var(--theme-color-focus-bdr);
|
|
80
|
+
outline-offset: var(--theme-btn--focus--outline-offset);
|
|
81
|
+
}
|
|
82
|
+
.btn-primary.selected {
|
|
83
|
+
background-color: var(--theme-btn-primary--background--selected);
|
|
84
|
+
}
|
|
85
|
+
.btn-primary.hover, .btn-primary:hover {
|
|
86
|
+
border-color: var(--theme-btn-primary--border-color--hover) !important;
|
|
87
|
+
background-color: var(--theme-btn-primary--background--hover) !important;
|
|
88
|
+
color: var(--theme-btn-primary--color--hover) !important;
|
|
89
|
+
}
|
|
90
|
+
.btn-primary.selected.hover, .btn-primary.selected:hover {
|
|
91
|
+
background-color: var(--theme-btn-primary--background--selected-hover);
|
|
92
|
+
color: var(--theme-btn-primary--color--selected-hover);
|
|
93
|
+
}
|
|
94
|
+
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
|
|
95
|
+
border-color: var(--theme-btn-primary--border-color--active) !important;
|
|
96
|
+
background-color: var(--theme-btn-primary--background--active) !important;
|
|
97
|
+
color: var(--theme-btn-primary--color--active) !important;
|
|
98
|
+
}
|
|
99
|
+
.btn-primary.selected:not(:disabled):not(.disabled):active, .btn-primary.selected:not(:disabled):not(.disabled).active, .show > .btn-primary.selected.dropdown-toggle {
|
|
100
|
+
background-color: var(--theme-btn-primary--background--selected-active);
|
|
101
|
+
color: var(--theme-btn-primary--color--selected-active);
|
|
102
|
+
}
|
|
103
|
+
.btn-primary.disabled, .btn-primary:disabled {
|
|
104
|
+
pointer-events: none;
|
|
105
|
+
cursor: initial;
|
|
106
|
+
border-color: var(--theme-btn-primary--border-color--disabled);
|
|
107
|
+
background-color: var(--theme-btn-primary--background--disabled);
|
|
108
|
+
color: var(--theme-btn-primary--color--disabled);
|
|
109
|
+
opacity: 1;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.btn-outline-primary {
|
|
113
|
+
border-radius: var(--theme-btn--border-radius);
|
|
114
|
+
}
|
|
115
|
+
.btn-outline-primary, .btn-outline-primary.focus, .btn-outline-primary:focus-visible {
|
|
116
|
+
background-color: var(--theme-btn-outline-primary--background);
|
|
117
|
+
color: var(--theme-btn-outline-primary--color);
|
|
118
|
+
border-width: var(--theme-btn--border-thickness);
|
|
119
|
+
border-color: var(--theme-btn-outline-primary--border-color);
|
|
120
|
+
border-style: solid;
|
|
121
|
+
}
|
|
122
|
+
.btn-outline-primary:not(.disabled):not(:disabled):focus-visible {
|
|
123
|
+
outline: 1px solid var(--theme-color-focus-bdr);
|
|
124
|
+
outline-offset: var(--theme-btn--focus--outline-offset);
|
|
125
|
+
}
|
|
126
|
+
.btn-outline-primary.selected {
|
|
127
|
+
background-color: var(--theme-btn-outline-primary--background--selected);
|
|
128
|
+
}
|
|
129
|
+
.btn-outline-primary.hover, .btn-outline-primary:hover {
|
|
130
|
+
border-color: var(--theme-btn-outline-primary--border-color--hover) !important;
|
|
131
|
+
background-color: var(--theme-btn-outline-primary--background--hover) !important;
|
|
132
|
+
color: var(--theme-btn-outline-primary--color--hover) !important;
|
|
133
|
+
}
|
|
134
|
+
.btn-outline-primary.selected.hover, .btn-outline-primary.selected:hover {
|
|
135
|
+
background-color: var(--theme-btn-outline-primary--background--selected-hover);
|
|
136
|
+
color: var(--theme-btn-outline-primary--color--selected-hover);
|
|
137
|
+
}
|
|
138
|
+
.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle {
|
|
139
|
+
border-color: var(--theme-btn-outline-primary--border-color--active) !important;
|
|
140
|
+
background-color: var(--theme-btn-outline-primary--background--active) !important;
|
|
141
|
+
color: var(--theme-btn-outline-primary--color--active) !important;
|
|
142
|
+
}
|
|
143
|
+
.btn-outline-primary.selected:not(:disabled):not(.disabled):active, .btn-outline-primary.selected:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.selected.dropdown-toggle {
|
|
144
|
+
background-color: var(--theme-btn-outline-primary--background--selected-active);
|
|
145
|
+
color: var(--theme-btn-outline-primary--color--selected-active);
|
|
146
|
+
}
|
|
147
|
+
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
|
|
148
|
+
pointer-events: none;
|
|
149
|
+
cursor: initial;
|
|
150
|
+
border-color: var(--theme-btn-outline-primary--border-color--disabled);
|
|
151
|
+
background-color: var(--theme-btn-outline-primary--background--disabled);
|
|
152
|
+
color: var(--theme-btn-outline-primary--color--disabled);
|
|
153
|
+
opacity: 1;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.btn-invisible-primary {
|
|
157
|
+
border-radius: var(--theme-btn--border-radius);
|
|
158
|
+
--bs-btn-border-width: 0px;
|
|
159
|
+
--bs-btn-active-border-color: none;
|
|
160
|
+
}
|
|
161
|
+
.btn-invisible-primary, .btn-invisible-primary.focus, .btn-invisible-primary:focus-visible {
|
|
162
|
+
background-color: var(--theme-btn-invisible-primary--background);
|
|
163
|
+
color: var(--theme-btn-invisible-primary--color);
|
|
164
|
+
border-color: transparent;
|
|
165
|
+
}
|
|
166
|
+
.btn-invisible-primary:not(.disabled):not(:disabled):focus-visible {
|
|
167
|
+
outline: 1px solid var(--theme-color-focus-bdr);
|
|
168
|
+
outline-offset: var(--theme-btn--focus--outline-offset);
|
|
169
|
+
}
|
|
170
|
+
.btn-invisible-primary.selected {
|
|
171
|
+
background-color: var(--theme-btn-invisible-primary--background--selected);
|
|
172
|
+
}
|
|
173
|
+
.btn-invisible-primary.hover, .btn-invisible-primary:hover {
|
|
174
|
+
background-color: var(--theme-btn-invisible-primary--background--hover) !important;
|
|
175
|
+
color: var(--theme-btn-invisible-primary--color--hover) !important;
|
|
176
|
+
}
|
|
177
|
+
.btn-invisible-primary.selected.hover, .btn-invisible-primary.selected:hover {
|
|
178
|
+
background-color: var(--theme-btn-invisible-primary--background--selected-hover);
|
|
179
|
+
color: var(--theme-btn-invisible-primary--color--selected-hover);
|
|
180
|
+
}
|
|
181
|
+
.btn-invisible-primary:not(:disabled):not(.disabled):active, .btn-invisible-primary:not(:disabled):not(.disabled).active, .show > .btn-invisible-primary.dropdown-toggle {
|
|
182
|
+
background-color: var(--theme-btn-invisible-primary--background--active) !important;
|
|
183
|
+
color: var(--theme-btn-invisible-primary--color--active) !important;
|
|
184
|
+
}
|
|
185
|
+
.btn-invisible-primary.selected:not(:disabled):not(.disabled):active, .btn-invisible-primary.selected:not(:disabled):not(.disabled).active, .show > .btn-invisible-primary.selected.dropdown-toggle {
|
|
186
|
+
background-color: var(--theme-btn-invisible-primary--background--selected-active);
|
|
187
|
+
color: var(--theme-btn-invisible-primary--color--selected-active);
|
|
188
|
+
}
|
|
189
|
+
.btn-invisible-primary.disabled, .btn-invisible-primary:disabled {
|
|
190
|
+
pointer-events: none;
|
|
191
|
+
cursor: initial;
|
|
192
|
+
background-color: var(--theme-btn-invisible-primary--background--disabled);
|
|
193
|
+
color: var(--theme-btn-invisible-primary--color--disabled);
|
|
194
|
+
opacity: 1;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.btn-secondary {
|
|
198
|
+
border-radius: var(--theme-btn--border-radius);
|
|
199
|
+
}
|
|
200
|
+
.btn-secondary, .btn-secondary.focus, .btn-secondary:focus-visible {
|
|
201
|
+
background-color: var(--theme-btn-secondary--background);
|
|
202
|
+
color: var(--theme-btn-secondary--color);
|
|
203
|
+
border-width: var(--theme-btn--border-thickness);
|
|
204
|
+
border-color: var(--theme-btn-secondary--border-color);
|
|
205
|
+
border-style: solid;
|
|
206
|
+
}
|
|
207
|
+
.btn-secondary:not(.disabled):not(:disabled):focus-visible {
|
|
208
|
+
outline: 1px solid var(--theme-color-focus-bdr);
|
|
209
|
+
outline-offset: var(--theme-btn--focus--outline-offset);
|
|
210
|
+
}
|
|
211
|
+
.btn-secondary.selected {
|
|
212
|
+
background-color: var(--theme-btn-secondary--background--selected);
|
|
213
|
+
}
|
|
214
|
+
.btn-secondary.hover, .btn-secondary:hover {
|
|
215
|
+
border-color: var(--theme-btn-secondary--border-color--hover) !important;
|
|
216
|
+
background-color: var(--theme-btn-secondary--background--hover) !important;
|
|
217
|
+
color: var(--theme-btn-secondary--color--hover) !important;
|
|
218
|
+
}
|
|
219
|
+
.btn-secondary.selected.hover, .btn-secondary.selected:hover {
|
|
220
|
+
background-color: var(--theme-btn-secondary--background--selected-hover);
|
|
221
|
+
color: var(--theme-btn-secondary--color--selected-hover);
|
|
222
|
+
}
|
|
223
|
+
.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
|
|
224
|
+
border-color: var(--theme-btn-secondary--border-color--active) !important;
|
|
225
|
+
background-color: var(--theme-btn-secondary--background--active) !important;
|
|
226
|
+
color: var(--theme-btn-secondary--color--active) !important;
|
|
227
|
+
}
|
|
228
|
+
.btn-secondary.selected:not(:disabled):not(.disabled):active, .btn-secondary.selected:not(:disabled):not(.disabled).active, .show > .btn-secondary.selected.dropdown-toggle {
|
|
229
|
+
background-color: var(--theme-btn-secondary--background--selected-active);
|
|
230
|
+
color: var(--theme-btn-secondary--color--selected-active);
|
|
231
|
+
}
|
|
232
|
+
.btn-secondary.disabled, .btn-secondary:disabled {
|
|
233
|
+
pointer-events: none;
|
|
234
|
+
cursor: initial;
|
|
235
|
+
border-color: var(--theme-btn-secondary--border-color--disabled);
|
|
236
|
+
background-color: var(--theme-btn-secondary--background--disabled);
|
|
237
|
+
color: var(--theme-btn-secondary--color--disabled);
|
|
238
|
+
opacity: 1;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.btn-outline-secondary {
|
|
242
|
+
border-radius: var(--theme-btn--border-radius);
|
|
243
|
+
}
|
|
244
|
+
.btn-outline-secondary, .btn-outline-secondary.focus, .btn-outline-secondary:focus-visible {
|
|
245
|
+
background-color: var(--theme-btn-outline-secondary--background);
|
|
246
|
+
color: var(--theme-btn-outline-secondary--color);
|
|
247
|
+
border-width: var(--theme-btn--border-thickness);
|
|
248
|
+
border-color: var(--theme-btn-outline-secondary--border-color);
|
|
249
|
+
border-style: solid;
|
|
250
|
+
}
|
|
251
|
+
.btn-outline-secondary:not(.disabled):not(:disabled):focus-visible {
|
|
252
|
+
outline: 1px solid var(--theme-color-focus-bdr);
|
|
253
|
+
outline-offset: var(--theme-btn--focus--outline-offset);
|
|
254
|
+
}
|
|
255
|
+
.btn-outline-secondary.selected {
|
|
256
|
+
background-color: var(--theme-btn-outline-secondary--background--selected);
|
|
257
|
+
}
|
|
258
|
+
.btn-outline-secondary.hover, .btn-outline-secondary:hover {
|
|
259
|
+
border-color: var(--theme-btn-outline-secondary--border-color--hover) !important;
|
|
260
|
+
background-color: var(--theme-btn-outline-secondary--background--hover) !important;
|
|
261
|
+
color: var(--theme-btn-outline-secondary--color--hover) !important;
|
|
262
|
+
}
|
|
263
|
+
.btn-outline-secondary.selected.hover, .btn-outline-secondary.selected:hover {
|
|
264
|
+
background-color: var(--theme-btn-outline-secondary--background--selected-hover);
|
|
265
|
+
color: var(--theme-btn-outline-secondary--color--selected-hover);
|
|
266
|
+
}
|
|
267
|
+
.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .show > .btn-outline-secondary.dropdown-toggle {
|
|
268
|
+
border-color: var(--theme-btn-outline-secondary--border-color--active) !important;
|
|
269
|
+
background-color: var(--theme-btn-outline-secondary--background--active) !important;
|
|
270
|
+
color: var(--theme-btn-outline-secondary--color--active) !important;
|
|
271
|
+
}
|
|
272
|
+
.btn-outline-secondary.selected:not(:disabled):not(.disabled):active, .btn-outline-secondary.selected:not(:disabled):not(.disabled).active, .show > .btn-outline-secondary.selected.dropdown-toggle {
|
|
273
|
+
background-color: var(--theme-btn-outline-secondary--background--selected-active);
|
|
274
|
+
color: var(--theme-btn-outline-secondary--color--selected-active);
|
|
275
|
+
}
|
|
276
|
+
.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
|
|
277
|
+
pointer-events: none;
|
|
278
|
+
cursor: initial;
|
|
279
|
+
border-color: var(--theme-btn-outline-secondary--border-color--disabled);
|
|
280
|
+
background-color: var(--theme-btn-outline-secondary--background--disabled);
|
|
281
|
+
color: var(--theme-btn-outline-secondary--color--disabled);
|
|
282
|
+
opacity: 1;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.btn-invisible-secondary {
|
|
286
|
+
border-radius: var(--theme-btn--border-radius);
|
|
287
|
+
--bs-btn-border-width: 0px;
|
|
288
|
+
--bs-btn-active-border-color: none;
|
|
289
|
+
}
|
|
290
|
+
.btn-invisible-secondary, .btn-invisible-secondary.focus, .btn-invisible-secondary:focus-visible {
|
|
291
|
+
background-color: var(--theme-btn-invisible-secondary--background);
|
|
292
|
+
color: var(--theme-btn-invisible-secondary--color);
|
|
293
|
+
border-color: transparent;
|
|
294
|
+
}
|
|
295
|
+
.btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible {
|
|
296
|
+
outline: 1px solid var(--theme-color-focus-bdr);
|
|
297
|
+
outline-offset: var(--theme-btn--focus--outline-offset);
|
|
298
|
+
}
|
|
299
|
+
.btn-invisible-secondary.selected {
|
|
300
|
+
background-color: var(--theme-btn-invisible-secondary--background--selected);
|
|
301
|
+
}
|
|
302
|
+
.btn-invisible-secondary.hover, .btn-invisible-secondary:hover {
|
|
303
|
+
background-color: var(--theme-btn-invisible-secondary--background--hover) !important;
|
|
304
|
+
color: var(--theme-btn-invisible-secondary--color--hover) !important;
|
|
305
|
+
}
|
|
306
|
+
.btn-invisible-secondary.selected.hover, .btn-invisible-secondary.selected:hover {
|
|
307
|
+
background-color: var(--theme-btn-invisible-secondary--background--selected-hover);
|
|
308
|
+
color: var(--theme-btn-invisible-secondary--color--selected-hover);
|
|
309
|
+
}
|
|
310
|
+
.btn-invisible-secondary:not(:disabled):not(.disabled):active, .btn-invisible-secondary:not(:disabled):not(.disabled).active, .show > .btn-invisible-secondary.dropdown-toggle {
|
|
311
|
+
background-color: var(--theme-btn-invisible-secondary--background--active) !important;
|
|
312
|
+
color: var(--theme-btn-invisible-secondary--color--active) !important;
|
|
313
|
+
}
|
|
314
|
+
.btn-invisible-secondary.selected:not(:disabled):not(.disabled):active, .btn-invisible-secondary.selected:not(:disabled):not(.disabled).active, .show > .btn-invisible-secondary.selected.dropdown-toggle {
|
|
315
|
+
background-color: var(--theme-btn-invisible-secondary--background--selected-active);
|
|
316
|
+
color: var(--theme-btn-invisible-secondary--color--selected-active);
|
|
317
|
+
}
|
|
318
|
+
.btn-invisible-secondary.disabled, .btn-invisible-secondary:disabled {
|
|
319
|
+
pointer-events: none;
|
|
320
|
+
cursor: initial;
|
|
321
|
+
background-color: var(--theme-btn-invisible-secondary--background--disabled);
|
|
322
|
+
color: var(--theme-btn-invisible-secondary--color--disabled);
|
|
323
|
+
opacity: 1;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.btn-oval,
|
|
327
|
+
.btn-icon {
|
|
328
|
+
min-width: 2rem;
|
|
329
|
+
width: 2rem;
|
|
330
|
+
}
|
|
331
|
+
.btn-oval .glyph,
|
|
332
|
+
.btn-icon .glyph {
|
|
333
|
+
margin-right: 0;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.btn-oval {
|
|
337
|
+
border-radius: 6.25rem;
|
|
338
|
+
width: 2rem;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.btn-icon-xs,
|
|
342
|
+
.btn-icon-12 {
|
|
343
|
+
height: 1rem;
|
|
344
|
+
width: 1rem;
|
|
345
|
+
min-width: 1rem;
|
|
346
|
+
min-height: 1rem;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.btn-icon-s,
|
|
350
|
+
.btn-icon-16 {
|
|
351
|
+
height: 1.5rem;
|
|
352
|
+
width: 1.5rem;
|
|
353
|
+
min-width: 1.5rem;
|
|
354
|
+
min-height: 1.5rem;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.btn-icon-32 {
|
|
358
|
+
height: 2rem;
|
|
359
|
+
width: 2rem;
|
|
360
|
+
min-width: 2rem;
|
|
361
|
+
min-height: 2rem;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
:host {
|
|
365
|
+
display: inline-block;
|
|
366
|
+
vertical-align: middle;
|
|
367
|
+
}
|
|
9
368
|
:host.disabled {
|
|
10
369
|
pointer-events: none;
|
|
11
370
|
}
|
|
12
371
|
:host .icon-button {
|
|
13
372
|
padding: 0;
|
|
14
373
|
overflow: hidden;
|
|
374
|
+
}
|
|
375
|
+
:host button:not(:disabled) {
|
|
376
|
+
cursor: pointer;
|
|
15
377
|
}
|
|
@@ -22,14 +22,21 @@ export class IconButton {
|
|
|
22
22
|
this.disabled = false;
|
|
23
23
|
this.type = 'button';
|
|
24
24
|
}
|
|
25
|
+
getIconSizeClass() {
|
|
26
|
+
return {
|
|
27
|
+
'btn-icon-12': this.size === '12',
|
|
28
|
+
'btn-icon-16': this.size === '16',
|
|
29
|
+
'btn-icon-32': this.size === '32' || this.size === '24' || !this.size,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
25
32
|
getIconButtonClasses() {
|
|
26
|
-
return Object.assign(Object.assign({}, getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, true, this.oval, this.selected, this.disabled)), { 'icon-button': true
|
|
33
|
+
return Object.assign(Object.assign(Object.assign({}, getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, true, this.oval, this.selected, this.disabled)), { 'icon-button': true }), this.getIconSizeClass());
|
|
27
34
|
}
|
|
28
35
|
render() {
|
|
29
|
-
return (h(Host, { class: { disabled: this.disabled } }, h("button", { class: this.getIconButtonClasses(), type: this.type }, h("ix-icon", { size: this.size, name: this.icon, color: this.color }), h("div", { style: { display: 'none' } }, h("slot", null)))));
|
|
36
|
+
return (h(Host, { class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled }) }, h("button", { class: this.getIconButtonClasses(), type: this.type }, h("ix-icon", { size: this.size, name: this.icon, color: this.color }), h("div", { style: { display: 'none' } }, h("slot", null)))));
|
|
30
37
|
}
|
|
31
38
|
static get is() { return "ix-icon-button"; }
|
|
32
|
-
static get encapsulation() { return "
|
|
39
|
+
static get encapsulation() { return "shadow"; }
|
|
33
40
|
static get originalStyleUrls() {
|
|
34
41
|
return {
|
|
35
42
|
"$": ["icon-button.scss"]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../src/components/icon-button/icon-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,uBAAuB,CAAC;AAUzD,MAAM,OAAO,UAAU;;mBAIgB,WAAW;;;;;;gBAgCN,IAAI;;oBAU3B,KAAK;oBAKL,KAAK;gBAKY,QAAQ;;EAEpC,
|
|
1
|
+
{"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../src/components/icon-button/icon-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,uBAAuB,CAAC;AAUzD,MAAM,OAAO,UAAU;;mBAIgB,WAAW;;;;;;gBAgCN,IAAI;;oBAU3B,KAAK;oBAKL,KAAK;gBAKY,QAAQ;;EAEpC,gBAAgB;IACtB,OAAO;MACL,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,IAAI;MACjC,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,IAAI;MACjC,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI;KACtE,CAAC;EACJ,CAAC;EAEO,oBAAoB;IAC1B,qDACK,gBAAgB,CACjB,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,EAC5B,IAAI,EACJ,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CACd,KACD,aAAa,EAAE,IAAI,KAChB,IAAI,CAAC,gBAAgB,EAAE,EAC1B;EACJ,CAAC;EAED,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,kCAAO,IAAI,CAAC,gBAAgB,EAAE,KAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ;MAChE,cAAQ,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI;QACzD,eAAS,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI;QAChE,WAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;UAC7B,eAAa,CACT,CACC,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 '../button/base-button';\nimport { Button, ButtonVariant } from '../button/button';\n\nexport type IconButtonVariant = ButtonVariant;\n\n@Component({\n tag: 'ix-icon-button',\n styleUrl: 'icon-button.scss',\n shadow: true,\n})\nexport class IconButton implements Button {\n /**\n * Variant of button\n */\n @Prop() variant: IconButtonVariant = 'Secondary';\n\n /**\n * Button outline\n */\n @Prop() outline: boolean;\n\n /**\n * Button invisible\n *\n * @deprecated Use ghost property\n */\n @Prop() invisible: boolean;\n\n /**\n * Button invisible\n */\n @Prop() ghost: boolean;\n\n /**\n * Button in oval shape\n */\n @Prop() oval: boolean;\n\n /**\n * Button icon\n */\n @Prop() icon: string;\n\n /**\n * Size of icon in button\n */\n @Prop() size: '32' | '24' | '16' | '12' = '24';\n\n /**\n * Color of icon in button\n */\n @Prop() color: string;\n\n /**\n * Selected state only working with outline or invisible\n */\n @Prop() selected = false;\n\n /**\n * Disabled\n */\n @Prop() disabled = false;\n\n /**\n * Type of the button\n */\n @Prop() type: 'button' | 'submit' = 'button';\n\n private getIconSizeClass() {\n return {\n 'btn-icon-12': this.size === '12',\n 'btn-icon-16': this.size === '16',\n 'btn-icon-32': this.size === '32' || this.size === '24' || !this.size,\n };\n }\n\n private getIconButtonClasses() {\n return {\n ...getButtonClasses(\n this.variant,\n this.outline,\n this.ghost || this.invisible,\n true,\n this.oval,\n this.selected,\n this.disabled\n ),\n 'icon-button': true,\n ...this.getIconSizeClass(),\n };\n }\n\n render() {\n return (\n <Host class={{ ...this.getIconSizeClass(), disabled: this.disabled }}>\n <button class={this.getIconButtonClasses()} type={this.type}>\n <ix-icon size={this.size} name={this.icon} color={this.color} />\n <div style={{ display: 'none' }}>\n <slot></slot>\n </div>\n </button>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
/* Dimensions */
|
|
10
|
+
/* Font sizes */
|
|
11
|
+
/* Line heights */
|
|
12
|
+
/* Animation timings */
|
|
13
|
+
:host(.keyValue) {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: 1rem;
|
|
18
|
+
}
|
|
19
|
+
:host(.keyValue) .keyValue__icon {
|
|
20
|
+
padding: 0.25rem 0;
|
|
21
|
+
}
|
|
22
|
+
:host(.keyValue) .keyValue__content {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: flex-start;
|
|
25
|
+
}
|
|
26
|
+
:host(.keyValue) .keyValue__content .content__label {
|
|
27
|
+
color: var(--theme-color-soft-text);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host(.keyValue.keyValue--column) {
|
|
31
|
+
padding: 0.5rem 0;
|
|
32
|
+
border-bottom: 1px solid var(--theme-color-soft-bdr);
|
|
33
|
+
}
|
|
34
|
+
:host(.keyValue.keyValue--column) .keyValue__content {
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
}
|
|
37
|
+
:host(.keyValue.keyValue--column) .keyValue__content .content__label,
|
|
38
|
+
:host(.keyValue.keyValue--column) .keyValue__content .content__value:not(.has-customValue) {
|
|
39
|
+
padding: 2px 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:host(.keyValue.keyValue--row) {
|
|
43
|
+
padding: 0.25rem 0;
|
|
44
|
+
}
|
|
45
|
+
:host(.keyValue.keyValue--row) .keyValue__content {
|
|
46
|
+
flex-direction: row;
|
|
47
|
+
gap: 1rem;
|
|
48
|
+
align-items: center;
|
|
49
|
+
}
|
|
50
|
+
:host(.keyValue.keyValue--row) .keyValue__content .content__label,
|
|
51
|
+
:host(.keyValue.keyValue--row) .keyValue__content .content__value:not(.has-customValue) {
|
|
52
|
+
padding: 6px 0;
|
|
53
|
+
}
|
|
54
|
+
:host(.keyValue.keyValue--row) .keyValue__content .content__label {
|
|
55
|
+
min-width: 8rem;
|
|
56
|
+
}
|