@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
|
@@ -709,30 +709,31 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
|
|
|
709
709
|
* @param vnodes a list of virtual DOM nodes to remove
|
|
710
710
|
* @param startIdx the index at which to start removing nodes (inclusive)
|
|
711
711
|
* @param endIdx the index at which to stop removing nodes (inclusive)
|
|
712
|
-
* @param vnode a VNode
|
|
713
|
-
* @param elm an element
|
|
714
712
|
*/
|
|
715
|
-
const removeVnodes = (vnodes, startIdx, endIdx
|
|
716
|
-
for (
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
elm['s-ol']
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
713
|
+
const removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
714
|
+
for (let index = startIdx; index <= endIdx; ++index) {
|
|
715
|
+
const vnode = vnodes[index];
|
|
716
|
+
if (vnode) {
|
|
717
|
+
const elm = vnode.$elm$;
|
|
718
|
+
nullifyVNodeRefs(vnode);
|
|
719
|
+
if (elm) {
|
|
720
|
+
{
|
|
721
|
+
// we're removing this element
|
|
722
|
+
// so it's possible we need to show slot fallback content now
|
|
723
|
+
checkSlotFallbackVisibility = true;
|
|
724
|
+
if (elm['s-ol']) {
|
|
725
|
+
// remove the original location comment
|
|
726
|
+
elm['s-ol'].remove();
|
|
727
|
+
}
|
|
728
|
+
else {
|
|
729
|
+
// it's possible that child nodes of the node
|
|
730
|
+
// that's being removed are slot nodes
|
|
731
|
+
putBackInOriginalLocation(elm, true);
|
|
732
|
+
}
|
|
732
733
|
}
|
|
734
|
+
// remove the vnode's element from the dom
|
|
735
|
+
elm.remove();
|
|
733
736
|
}
|
|
734
|
-
// remove the vnode's element from the dom
|
|
735
|
-
elm.remove();
|
|
736
737
|
}
|
|
737
738
|
}
|
|
738
739
|
};
|
|
@@ -1213,10 +1214,17 @@ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
|
1213
1214
|
}
|
|
1214
1215
|
return slotNameAttr === '';
|
|
1215
1216
|
};
|
|
1216
|
-
|
|
1217
|
+
/**
|
|
1218
|
+
* 'Nullify' any VDom `ref` callbacks on a VDom node or its children by
|
|
1219
|
+
* calling them with `null`. This signals that the DOM element corresponding to
|
|
1220
|
+
* the VDom node has been removed from the DOM.
|
|
1221
|
+
*
|
|
1222
|
+
* @param vNode a virtual DOM node
|
|
1223
|
+
*/
|
|
1224
|
+
const nullifyVNodeRefs = (vNode) => {
|
|
1217
1225
|
{
|
|
1218
1226
|
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
1219
|
-
vNode.$children$ && vNode.$children$.map(
|
|
1227
|
+
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
1220
1228
|
}
|
|
1221
1229
|
};
|
|
1222
1230
|
/**
|
|
@@ -1353,10 +1361,32 @@ const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
1353
1361
|
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
1354
1362
|
return writeTask(dispatch) ;
|
|
1355
1363
|
};
|
|
1364
|
+
/**
|
|
1365
|
+
* Dispatch initial-render and update lifecycle hooks, enqueuing calls to
|
|
1366
|
+
* component lifecycle methods like `componentWillLoad` as well as
|
|
1367
|
+
* {@link updateComponent}, which will kick off the virtual DOM re-render.
|
|
1368
|
+
*
|
|
1369
|
+
* @param hostRef a reference to a host DOM node
|
|
1370
|
+
* @param isInitialLoad whether we're on the initial load or not
|
|
1371
|
+
* @returns an empty Promise which is used to enqueue a series of operations for
|
|
1372
|
+
* the component
|
|
1373
|
+
*/
|
|
1356
1374
|
const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
1357
1375
|
const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
|
|
1358
1376
|
const instance = hostRef.$lazyInstance$ ;
|
|
1359
|
-
|
|
1377
|
+
// We're going to use this variable together with `enqueue` to implement a
|
|
1378
|
+
// little promise-based queue. We start out with it `undefined`. When we add
|
|
1379
|
+
// the first function to the queue we'll set this variable to be that
|
|
1380
|
+
// function's return value. When we attempt to add subsequent values to the
|
|
1381
|
+
// queue we'll check that value and, if it was a `Promise`, we'll then chain
|
|
1382
|
+
// the new function off of that `Promise` using `.then()`. This will give our
|
|
1383
|
+
// queue two nice properties:
|
|
1384
|
+
//
|
|
1385
|
+
// 1. If all functions added to the queue are synchronous they'll be called
|
|
1386
|
+
// synchronously right away.
|
|
1387
|
+
// 2. If all functions added to the queue are asynchronous they'll all be
|
|
1388
|
+
// called in order after `dispatchHooks` exits.
|
|
1389
|
+
let maybePromise;
|
|
1360
1390
|
if (isInitialLoad) {
|
|
1361
1391
|
{
|
|
1362
1392
|
hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
|
|
@@ -1366,17 +1396,38 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1366
1396
|
}
|
|
1367
1397
|
}
|
|
1368
1398
|
{
|
|
1369
|
-
|
|
1399
|
+
// If `componentWillLoad` returns a `Promise` then we want to wait on
|
|
1400
|
+
// whatever's going on in that `Promise` before we launch into
|
|
1401
|
+
// rendering the component, doing other lifecycle stuff, etc. So
|
|
1402
|
+
// in that case we assign the returned promise to the variable we
|
|
1403
|
+
// declared above to hold a possible 'queueing' Promise
|
|
1404
|
+
maybePromise = safeCall(instance, 'componentWillLoad');
|
|
1370
1405
|
}
|
|
1371
1406
|
}
|
|
1372
1407
|
{
|
|
1373
|
-
|
|
1408
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, 'componentWillRender'));
|
|
1374
1409
|
}
|
|
1375
1410
|
endSchedule();
|
|
1376
|
-
return
|
|
1411
|
+
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1377
1412
|
};
|
|
1413
|
+
/**
|
|
1414
|
+
* This function uses a Promise to implement a simple first-in, first-out queue
|
|
1415
|
+
* of functions to be called.
|
|
1416
|
+
*
|
|
1417
|
+
* The queue is ordered on the basis of the first argument. If it's
|
|
1418
|
+
* `undefined`, then nothing is on the queue yet, so the provided function can
|
|
1419
|
+
* be called synchronously (although note that this function may return a
|
|
1420
|
+
* `Promise`). The idea is that then the return value of that enqueueing
|
|
1421
|
+
* operation is kept around, so that if it was a `Promise` then subsequent
|
|
1422
|
+
* functions can be enqueued by calling this function again with that `Promise`
|
|
1423
|
+
* as the first argument.
|
|
1424
|
+
*
|
|
1425
|
+
* @param maybePromise either a `Promise` which should resolve before the next function is called or an 'empty' sentinel
|
|
1426
|
+
* @param fn a function to enqueue
|
|
1427
|
+
* @returns either a `Promise` or the return value of the provided function
|
|
1428
|
+
*/
|
|
1429
|
+
const enqueue = (maybePromise, fn) => maybePromise instanceof Promise ? maybePromise.then(fn) : fn();
|
|
1378
1430
|
const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
1379
|
-
// updateComponent
|
|
1380
1431
|
const elm = hostRef.$hostElement$;
|
|
1381
1432
|
const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
|
|
1382
1433
|
const rc = elm['s-rc'];
|
|
@@ -1514,9 +1565,6 @@ const safeCall = (instance, method, arg) => {
|
|
|
1514
1565
|
}
|
|
1515
1566
|
return undefined;
|
|
1516
1567
|
};
|
|
1517
|
-
const then = (promise, thenFn) => {
|
|
1518
|
-
return promise && promise.then ? promise.then(thenFn) : thenFn();
|
|
1519
|
-
};
|
|
1520
1568
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1521
1569
|
;
|
|
1522
1570
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
@@ -1680,9 +1728,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1680
1728
|
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
|
|
1681
1729
|
// initializeComponent
|
|
1682
1730
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1731
|
+
// Let the runtime know that the component has been initialized
|
|
1732
|
+
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1683
1733
|
{
|
|
1684
|
-
// we haven't initialized this element yet
|
|
1685
|
-
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1686
1734
|
// lazy loaded components
|
|
1687
1735
|
// request the component's implementation to be
|
|
1688
1736
|
// wired up with the host element
|
|
@@ -1727,6 +1775,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1727
1775
|
hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
|
|
1728
1776
|
}
|
|
1729
1777
|
endNewInstance();
|
|
1778
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1730
1779
|
}
|
|
1731
1780
|
if (Cstr.style) {
|
|
1732
1781
|
// this component has styles but we haven't registered them yet
|
|
@@ -1755,6 +1804,11 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1755
1804
|
schedule();
|
|
1756
1805
|
}
|
|
1757
1806
|
};
|
|
1807
|
+
const fireConnectedCallback = (instance) => {
|
|
1808
|
+
{
|
|
1809
|
+
safeCall(instance, 'connectedCallback');
|
|
1810
|
+
}
|
|
1811
|
+
};
|
|
1758
1812
|
const connectedCallback = (elm) => {
|
|
1759
1813
|
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1760
1814
|
const hostRef = getHostRef(elm);
|
|
@@ -1808,6 +1862,8 @@ const connectedCallback = (elm) => {
|
|
|
1808
1862
|
// reattach any event listeners to the host
|
|
1809
1863
|
// since they would have been removed when disconnected
|
|
1810
1864
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
1865
|
+
// fire off connectedCallback() on component instance
|
|
1866
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1811
1867
|
}
|
|
1812
1868
|
endConnected();
|
|
1813
1869
|
}
|
|
@@ -2245,6 +2301,14 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2245
2301
|
return import(
|
|
2246
2302
|
/* webpackMode: "lazy" */
|
|
2247
2303
|
'./ix-upload.entry.js').then(processMod, consoleError);
|
|
2304
|
+
case 'ix-content-header':
|
|
2305
|
+
return import(
|
|
2306
|
+
/* webpackMode: "lazy" */
|
|
2307
|
+
'./ix-content-header.entry.js').then(processMod, consoleError);
|
|
2308
|
+
case 'ix-empty-state':
|
|
2309
|
+
return import(
|
|
2310
|
+
/* webpackMode: "lazy" */
|
|
2311
|
+
'./ix-empty-state.entry.js').then(processMod, consoleError);
|
|
2248
2312
|
case 'ix-animated-tab_2':
|
|
2249
2313
|
return import(
|
|
2250
2314
|
/* webpackMode: "lazy" */
|
|
@@ -2301,6 +2365,22 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2301
2365
|
return import(
|
|
2302
2366
|
/* webpackMode: "lazy" */
|
|
2303
2367
|
'./ix-menu_9.entry.js').then(processMod, consoleError);
|
|
2368
|
+
case 'ix-action-card':
|
|
2369
|
+
return import(
|
|
2370
|
+
/* webpackMode: "lazy" */
|
|
2371
|
+
'./ix-action-card.entry.js').then(processMod, consoleError);
|
|
2372
|
+
case 'ix-card-list':
|
|
2373
|
+
return import(
|
|
2374
|
+
/* webpackMode: "lazy" */
|
|
2375
|
+
'./ix-card-list.entry.js').then(processMod, consoleError);
|
|
2376
|
+
case 'ix-css-grid':
|
|
2377
|
+
return import(
|
|
2378
|
+
/* webpackMode: "lazy" */
|
|
2379
|
+
'./ix-css-grid.entry.js').then(processMod, consoleError);
|
|
2380
|
+
case 'ix-css-grid-item':
|
|
2381
|
+
return import(
|
|
2382
|
+
/* webpackMode: "lazy" */
|
|
2383
|
+
'./ix-css-grid-item.entry.js').then(processMod, consoleError);
|
|
2304
2384
|
case 'ix-datetime-picker':
|
|
2305
2385
|
return import(
|
|
2306
2386
|
/* webpackMode: "lazy" */
|
|
@@ -2317,6 +2397,14 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2317
2397
|
return import(
|
|
2318
2398
|
/* webpackMode: "lazy" */
|
|
2319
2399
|
'./ix-dropdown-quick-actions.entry.js').then(processMod, consoleError);
|
|
2400
|
+
case 'ix-key-value':
|
|
2401
|
+
return import(
|
|
2402
|
+
/* webpackMode: "lazy" */
|
|
2403
|
+
'./ix-key-value.entry.js').then(processMod, consoleError);
|
|
2404
|
+
case 'ix-key-value-list':
|
|
2405
|
+
return import(
|
|
2406
|
+
/* webpackMode: "lazy" */
|
|
2407
|
+
'./ix-key-value-list.entry.js').then(processMod, consoleError);
|
|
2320
2408
|
case 'ix-kpi':
|
|
2321
2409
|
return import(
|
|
2322
2410
|
/* webpackMode: "lazy" */
|
|
@@ -2329,6 +2417,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2329
2417
|
return import(
|
|
2330
2418
|
/* webpackMode: "lazy" */
|
|
2331
2419
|
'./ix-pagination.entry.js').then(processMod, consoleError);
|
|
2420
|
+
case 'ix-push-card':
|
|
2421
|
+
return import(
|
|
2422
|
+
/* webpackMode: "lazy" */
|
|
2423
|
+
'./ix-push-card.entry.js').then(processMod, consoleError);
|
|
2332
2424
|
case 'ix-tooltip':
|
|
2333
2425
|
return import(
|
|
2334
2426
|
/* webpackMode: "lazy" */
|
|
@@ -2341,6 +2433,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2341
2433
|
return import(
|
|
2342
2434
|
/* webpackMode: "lazy" */
|
|
2343
2435
|
'./my-component.entry.js').then(processMod, consoleError);
|
|
2436
|
+
case 'ix-card-accordion_2':
|
|
2437
|
+
return import(
|
|
2438
|
+
/* webpackMode: "lazy" */
|
|
2439
|
+
'./ix-card-accordion_2.entry.js').then(processMod, consoleError);
|
|
2344
2440
|
case 'ix-date-picker_2':
|
|
2345
2441
|
return import(
|
|
2346
2442
|
/* webpackMode: "lazy" */
|
|
@@ -2353,10 +2449,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2353
2449
|
return import(
|
|
2354
2450
|
/* webpackMode: "lazy" */
|
|
2355
2451
|
'./ix-index-button.entry.js').then(processMod, consoleError);
|
|
2356
|
-
case 'ix-typography':
|
|
2357
|
-
return import(
|
|
2358
|
-
/* webpackMode: "lazy" */
|
|
2359
|
-
'./ix-typography.entry.js').then(processMod, consoleError);
|
|
2360
2452
|
case 'ix-tab-item':
|
|
2361
2453
|
return import(
|
|
2362
2454
|
/* webpackMode: "lazy" */
|
|
@@ -2365,6 +2457,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2365
2457
|
return import(
|
|
2366
2458
|
/* webpackMode: "lazy" */
|
|
2367
2459
|
'./ix-tabs.entry.js').then(processMod, consoleError);
|
|
2460
|
+
case 'ix-card_3':
|
|
2461
|
+
return import(
|
|
2462
|
+
/* webpackMode: "lazy" */
|
|
2463
|
+
'./ix-card_3.entry.js').then(processMod, consoleError);
|
|
2368
2464
|
case 'ix-date-time-card':
|
|
2369
2465
|
return import(
|
|
2370
2466
|
/* webpackMode: "lazy" */
|
|
@@ -2454,4 +2550,4 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
|
2454
2550
|
|
|
2455
2551
|
export { Fragment as F, Host as H, bootstrapLazy as b, createEvent as c, forceUpdate as f, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
2456
2552
|
|
|
2457
|
-
//# sourceMappingURL=index-
|
|
2553
|
+
//# sourceMappingURL=index-8ddfb6d8.js.map
|