@siemens/ix 0.0.0-pr-2238-20251103105018 → 0.0.0-pr-2297-20251204163058
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/components/index.js +4 -4
- package/components/index.js.map +1 -1
- package/components/ix-action-card.js +4 -4
- package/components/ix-application-header.js +263 -1
- package/components/ix-application-header.js.map +1 -1
- package/components/ix-application-sidebar.js +1 -1
- package/components/ix-application-switch-modal.js +8 -8
- package/components/ix-application.js +5 -7
- package/components/ix-application.js.map +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-blind.js +8 -8
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +7 -7
- package/components/ix-button.js +1 -1
- package/components/ix-card-accordion.js +1 -1
- package/components/ix-card-content.js +1 -1
- package/components/ix-card-list.js +12 -12
- package/components/ix-card-title.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +21 -15
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-checkbox-group.js +8 -8
- package/components/ix-checkbox.js +6 -6
- package/components/ix-chip.js +10 -10
- package/components/ix-col.js +1 -1
- package/components/ix-content-header.js +8 -8
- package/components/ix-content.js +4 -4
- package/components/ix-css-grid-item.js +2 -2
- package/components/ix-css-grid.js +2 -2
- package/components/ix-custom-field.js +7 -7
- package/components/ix-date-dropdown.js +16 -16
- package/components/ix-date-input.js +34 -20
- package/components/ix-date-input.js.map +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/ix-datetime-picker.js +14 -14
- package/components/ix-datetime-picker.js.map +1 -1
- package/components/ix-divider.js +1 -1
- package/components/ix-drawer.js +9 -9
- package/components/ix-dropdown-button.js +9 -9
- package/components/ix-dropdown-header.js +3 -3
- package/components/ix-dropdown-item.js +1 -1
- package/components/ix-dropdown-quick-actions.js +2 -2
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +5 -5
- package/components/ix-event-list-item.js +6 -6
- package/components/ix-event-list.js +3 -3
- package/components/ix-expanding-search.js +8 -8
- package/components/ix-field-label.js +1 -1
- package/components/ix-field-wrapper.js +1 -1
- package/components/ix-filter-chip.js +1 -1
- package/components/ix-flip-tile-content.js +2 -2
- package/components/ix-flip-tile.js +7 -7
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group-item.js +1 -1
- package/components/ix-group.js +14 -14
- package/components/ix-helper-text.js +5 -5
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +4 -4
- package/components/ix-input-group.js +2 -2
- package/components/ix-input.js +26 -15
- package/components/ix-input.js.map +1 -1
- package/components/ix-key-value-list.js +2 -2
- package/components/ix-key-value.js +2 -2
- package/components/ix-kpi.js +5 -5
- package/components/ix-layout-auto.js +2 -2
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +6 -6
- package/components/ix-link-button.js.map +1 -1
- package/components/ix-menu-about-item.js +2 -2
- package/components/ix-menu-about-news.js +10 -10
- package/components/ix-menu-about.js +11 -9
- package/components/ix-menu-about.js.map +1 -1
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +12 -12
- package/components/ix-menu-category.js +14 -14
- package/components/ix-menu-expand-icon.js +1 -1
- package/components/ix-menu-item.js +1 -1
- package/components/ix-menu-settings-item.js +2 -2
- package/components/ix-menu-settings.js +1 -1
- package/components/ix-menu.js +22 -32
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +5 -5
- package/components/ix-modal-content.js +1 -1
- package/components/ix-modal-footer.js +2 -2
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal-loading.js +3 -3
- package/components/ix-modal.js +5 -5
- package/components/ix-number-input.js +172 -39
- package/components/ix-number-input.js.map +1 -1
- package/components/ix-pagination.js +45 -22
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +2 -2
- package/components/ix-pane.js +11 -11
- package/components/ix-pill.js +7 -7
- package/components/ix-progress-indicator.js +7 -7
- package/components/ix-push-card.js +7 -7
- package/components/ix-radio-group.js +40 -9
- package/components/ix-radio-group.js.map +1 -1
- package/components/ix-radio.js +46 -20
- package/components/ix-radio.js.map +1 -1
- package/components/ix-row.js +1 -1
- package/components/ix-select-item.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +10 -10
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +32 -18
- package/components/ix-split-button.js.map +1 -1
- package/components/ix-tab-item.js +1 -1
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +9 -9
- package/components/ix-tile.js +5 -5
- package/components/ix-time-input.js +35 -21
- package/components/ix-time-input.js.map +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +7 -7
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +3 -3
- package/components/ix-toggle.js +6 -6
- package/components/ix-toggle.js.map +1 -1
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +3 -3
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +7 -7
- package/components/ix-validation-tooltip.js +3 -3
- package/components/ix-workflow-step.js +5 -5
- package/components/ix-workflow-steps.js +2 -2
- package/components/{p-BccEFWg2.js → p-10zMtvCF.js} +6 -6
- package/components/{p-BccEFWg2.js.map → p-10zMtvCF.js.map} +1 -1
- package/components/{p-CkrLmEP7.js → p-1pd_0dhF.js} +4 -4
- package/components/{p-CkrLmEP7.js.map → p-1pd_0dhF.js.map} +1 -1
- package/components/{p-BUIOrNGz.js → p-7E7AMiQV.js} +7 -7
- package/components/p-7E7AMiQV.js.map +1 -0
- package/components/{p-BNwXjBuF.js → p-B006bhbX.js} +4 -4
- package/components/{p-BNwXjBuF.js.map → p-B006bhbX.js.map} +1 -1
- package/components/{p-DrH8EeUB.js → p-B1p0kpQJ.js} +6 -6
- package/components/{p-DrH8EeUB.js.map → p-B1p0kpQJ.js.map} +1 -1
- package/components/{p-DOEb0lKA.js → p-B45tl2du.js} +4 -4
- package/components/{p-DOEb0lKA.js.map → p-B45tl2du.js.map} +1 -1
- package/components/{p-DgfGA7Z3.js → p-BBwXlKhE.js} +4 -4
- package/components/{p-DgfGA7Z3.js.map → p-BBwXlKhE.js.map} +1 -1
- package/components/{p-ciUqTzkB.js → p-BEDohapR.js} +6 -6
- package/components/{p-ciUqTzkB.js.map → p-BEDohapR.js.map} +1 -1
- package/components/{p-DsftMeEA.js → p-BGdI6-nv.js} +4 -4
- package/components/{p-DsftMeEA.js.map → p-BGdI6-nv.js.map} +1 -1
- package/components/{p-XiZWDi7n.js → p-BGjnKa2h.js} +4 -4
- package/components/{p-XiZWDi7n.js.map → p-BGjnKa2h.js.map} +1 -1
- package/components/{p-D1In20Wh.js → p-BI7B-PUA.js} +5 -5
- package/components/{p-D1In20Wh.js.map → p-BI7B-PUA.js.map} +1 -1
- package/components/{p-VMk3rl5y.js → p-BIg1TSrD.js} +9 -9
- package/components/{p-VMk3rl5y.js.map → p-BIg1TSrD.js.map} +1 -1
- package/components/{p-CCQYIDJK.js → p-BLeWaHpy.js} +7 -7
- package/components/{p-CCQYIDJK.js.map → p-BLeWaHpy.js.map} +1 -1
- package/components/{p-DBsESzrF.js → p-BOQ00Fbs.js} +70 -29
- package/components/p-BOQ00Fbs.js.map +1 -0
- package/components/{p-CO2zhw6V.js → p-BQk7HpA-.js} +3 -3
- package/components/{p-CO2zhw6V.js.map → p-BQk7HpA-.js.map} +1 -1
- package/components/{p-CtusOOtv.js → p-BR5ayBuu.js} +6 -6
- package/components/{p-CtusOOtv.js.map → p-BR5ayBuu.js.map} +1 -1
- package/components/{p--2LOMK-5.js → p-BhgW5qDm.js} +2 -3
- package/components/p-BhgW5qDm.js.map +1 -0
- package/components/{p-BaWdG-ph.js → p-BiqdnsgA.js} +20 -13
- package/components/p-BiqdnsgA.js.map +1 -0
- package/components/{p-BxNzvWr2.js → p-Bk0vKwmt.js} +5 -5
- package/components/{p-BxNzvWr2.js.map → p-Bk0vKwmt.js.map} +1 -1
- package/components/{p-Bvf7gwPU.js → p-BmMUyJRQ.js} +89 -53
- package/components/p-BmMUyJRQ.js.map +1 -0
- package/components/{p-taILGXkr.js → p-BvsadYCu.js} +3 -3
- package/components/{p-taILGXkr.js.map → p-BvsadYCu.js.map} +1 -1
- package/components/{p-BEzKnceP.js → p-Bye33cYU.js} +9 -9
- package/components/{p-BEzKnceP.js.map → p-Bye33cYU.js.map} +1 -1
- package/components/{p-BvKUU6Ta.js → p-C4KxNeD2.js} +4 -4
- package/components/{p-BvKUU6Ta.js.map → p-C4KxNeD2.js.map} +1 -1
- package/components/{p-Qsbo2ls8.js → p-C6_1qmP4.js} +5 -5
- package/components/{p-Qsbo2ls8.js.map → p-C6_1qmP4.js.map} +1 -1
- package/components/{p-CQhe_rqk.js → p-COWPG_SD.js} +6 -6
- package/components/p-COWPG_SD.js.map +1 -0
- package/components/{p-CFAI8dx_.js → p-CV_EVAOW.js} +3 -3
- package/components/{p-CFAI8dx_.js.map → p-CV_EVAOW.js.map} +1 -1
- package/components/{p-D_rmJU0n.js → p-CjDPpSJX.js} +16 -16
- package/components/p-CjDPpSJX.js.map +1 -0
- package/components/{p-DeBhxnHo.js → p-ClQxnZ3d.js} +8 -8
- package/components/{p-DeBhxnHo.js.map → p-ClQxnZ3d.js.map} +1 -1
- package/components/{p-DcjRXRwg.js → p-ColBHyXN.js} +7 -7
- package/components/{p-DcjRXRwg.js.map → p-ColBHyXN.js.map} +1 -1
- package/components/{p-0MSWDTqB.js → p-CrqgL2m1.js} +10 -6
- package/components/p-CrqgL2m1.js.map +1 -0
- package/components/{p-By1IU8iL.js → p-CvD2yWeJ.js} +5 -5
- package/components/{p-By1IU8iL.js.map → p-CvD2yWeJ.js.map} +1 -1
- package/components/{p-fahyavc3.js → p-CvF96Z51.js} +8 -8
- package/components/{p-fahyavc3.js.map → p-CvF96Z51.js.map} +1 -1
- package/components/{p-CKuNFgoe.js → p-D-__gyet.js} +3 -3
- package/components/{p-CKuNFgoe.js.map → p-D-__gyet.js.map} +1 -1
- package/components/{p-cw5RHost.js → p-DC9anobw.js} +8 -8
- package/components/{p-cw5RHost.js.map → p-DC9anobw.js.map} +1 -1
- package/components/{p-CHAuj3bi.js → p-DSTHZygb.js} +10 -10
- package/components/{p-CHAuj3bi.js.map → p-DSTHZygb.js.map} +1 -1
- package/components/{p-DLPEB4G8.js → p-DUU5I7wZ.js} +70 -45
- package/components/p-DUU5I7wZ.js.map +1 -0
- package/components/{p-IgT3dgxG.js → p-DXFN8JXp.js} +21 -10
- package/components/p-DXFN8JXp.js.map +1 -0
- package/components/{p-JUUSQc_M.js → p-D_4Mf9jE.js} +3 -3
- package/components/{p-JUUSQc_M.js.map → p-D_4Mf9jE.js.map} +1 -1
- package/components/{p-BWTF-D2w.js → p-Db0RazS2.js} +4 -4
- package/components/{p-BWTF-D2w.js.map → p-Db0RazS2.js.map} +1 -1
- package/components/{p-W_8b1-4d.js → p-DdLose3V.js} +3 -3
- package/components/{p-W_8b1-4d.js.map → p-DdLose3V.js.map} +1 -1
- package/components/{p-DzscKBhb.js → p-DlVaL0Yi.js} +9 -9
- package/components/{p-DzscKBhb.js.map → p-DlVaL0Yi.js.map} +1 -1
- package/components/{p-CJphMgA7.js → p-Dp03DeD0.js} +7 -7
- package/components/{p-CJphMgA7.js.map → p-Dp03DeD0.js.map} +1 -1
- package/components/{p-2fxFa_VL.js → p-Dq_H2flK.js} +10 -4
- package/components/p-Dq_H2flK.js.map +1 -0
- package/components/{p-jbrSDf3o.js → p-Dy6xvLn4.js} +5 -5
- package/components/{p-jbrSDf3o.js.map → p-Dy6xvLn4.js.map} +1 -1
- package/components/{p-FnN74Elm.js → p-MuPiaYr1.js} +3 -3
- package/components/{p-FnN74Elm.js.map → p-MuPiaYr1.js.map} +1 -1
- package/components/{p-CINrBR9H.js → p-N4h8LKe5.js} +4 -4
- package/components/{p-CINrBR9H.js.map → p-N4h8LKe5.js.map} +1 -1
- package/components/{p-C6MbjoUl.js → p-PpLLlogo.js} +8 -8
- package/components/{p-C6MbjoUl.js.map → p-PpLLlogo.js.map} +1 -1
- package/components/{p-xZXH2vKm.js → p-hwPzPVf8.js} +5 -5
- package/components/{p-xZXH2vKm.js.map → p-hwPzPVf8.js.map} +1 -1
- package/dist/cjs/{context-B8bRIFA2.js → context-CmNuiaNz.js} +2 -3
- package/dist/{esm/context-CKM5pVsv.js.map → cjs/context-CmNuiaNz.js.map} +1 -1
- package/dist/cjs/{helper-text-util-BlElJLxk.js → helper-text-util-D2W-yNmK.js} +8 -4
- package/dist/cjs/helper-text-util-D2W-yNmK.js.map +1 -0
- package/dist/cjs/index-C8Xo8L1k.js +6 -18
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{input.util-4AhBphgX.js → input.fc-DrxRYq_G.js} +69 -43
- package/dist/cjs/input.fc-DrxRYq_G.js.map +1 -0
- package/dist/cjs/ix-application-header.cjs.entry.js +10 -15
- package/dist/cjs/ix-application-header.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application.cjs.entry.js +4 -6
- package/dist/cjs/ix-application.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +5 -5
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-card-list.cjs.entry.js +4 -4
- package/dist/cjs/ix-card_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-category-filter.cjs.entry.js +14 -8
- package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/ix-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/ix-chip.cjs.entry.js +4 -4
- package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +10 -10
- package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
- package/dist/cjs/ix-content.cjs.entry.js +3 -3
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
- package/dist/cjs/ix-custom-field.cjs.entry.js +2 -2
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/ix-date-input.cjs.entry.js +24 -12
- package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +5 -5
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
- package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -4
- package/dist/cjs/ix-field-label_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile.cjs.entry.js +3 -3
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group.cjs.entry.js +8 -8
- package/dist/cjs/ix-helper-text.cjs.entry.js +3 -3
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-input.cjs.entry.js +21 -12
- package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
- package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-link-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-about.cjs.entry.js +6 -4
- package/dist/cjs/ix-menu-about.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/{ix-menu-settings-Cdqo0r8E.js → ix-menu-settings-CtWl0bME.js} +14 -7
- package/dist/cjs/ix-menu-settings-CtWl0bME.js.map +1 -0
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-settings.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +13 -23
- package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +3 -3
- package/dist/cjs/ix-number-input.cjs.entry.js +162 -34
- package/dist/cjs/ix-number-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +29 -7
- package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +6 -6
- package/dist/cjs/ix-pill.cjs.entry.js +4 -4
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +33 -3
- package/dist/cjs/ix-radio-group.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-radio.cjs.entry.js +43 -18
- package/dist/cjs/ix-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +53 -14
- package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-slider.cjs.entry.js +6 -6
- package/dist/cjs/ix-split-button.cjs.entry.js +24 -12
- package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-textarea.cjs.entry.js +6 -6
- package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +4 -4
- package/dist/cjs/ix-time-input.cjs.entry.js +24 -12
- package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +81 -45
- package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/ix-toast.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle.cjs.entry.js +4 -4
- package/dist/cjs/ix-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +17 -6
- package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/cjs/{validation-CfL71_0d.js → validation-DTmSqO2d.js} +9 -2
- package/dist/{esm/validation-D_dk-JqT.js.map → cjs/validation-DTmSqO2d.js.map} +1 -1
- package/dist/collection/collection-manifest.json +0 -3
- package/dist/collection/components/application/application.js +3 -5
- package/dist/collection/components/application/application.js.map +1 -1
- package/dist/collection/components/application-header/application-header.js +9 -14
- package/dist/collection/components/application-header/application-header.js.map +1 -1
- package/dist/collection/components/blind/blind.js +5 -5
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-accordion/card-accordion.js +4 -4
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-list/card-list.js +4 -4
- package/dist/collection/components/card-title/card-title.js +1 -1
- package/dist/collection/components/category-filter/category-filter.css +321 -50
- package/dist/collection/components/category-filter/category-filter.js +13 -7
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/col/col.js +1 -1
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/content-header/content-header.js +3 -3
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/css-grid/css-grid.js +1 -1
- package/dist/collection/components/custom-field/custom-field.js +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +4 -4
- package/dist/collection/components/date-input/date-input.js +60 -8
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.css +6 -8
- package/dist/collection/components/date-picker/date-picker.js +5 -5
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.css +3 -2
- package/dist/collection/components/date-time-card/date-time-card.js +2 -2
- package/dist/collection/components/datetime-picker/datetime-picker.css +12 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +5 -5
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown-button/dropdown-button.js +3 -3
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/event-list/event-list.js +2 -2
- package/dist/collection/components/event-list-item/event-list-item.js +4 -4
- package/dist/collection/components/expanding-search/expanding-search.js +4 -4
- package/dist/collection/components/field-label/field-label.js +1 -1
- package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
- package/dist/collection/components/field-wrapper/helper-text-util.js +6 -2
- package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -1
- package/dist/collection/components/filter-chip/filter-chip.js +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js +3 -3
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
- package/dist/collection/components/group/group-context-menu.js +1 -1
- package/dist/collection/components/group/group.js +8 -8
- package/dist/collection/components/helper-text/helper-text.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input/input.fc.js +10 -1
- package/dist/collection/components/input/input.fc.js.map +1 -1
- package/dist/collection/components/input/input.js +54 -5
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/input.util.js +20 -3
- package/dist/collection/components/input/input.util.js.map +1 -1
- package/dist/collection/components/input/number-input.js +228 -36
- package/dist/collection/components/input/number-input.js.map +1 -1
- package/dist/collection/components/input/textarea.js +2 -2
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/key-value/key-value.js +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/layout-auto/layout-auto.js +1 -1
- package/dist/collection/components/layout-grid/layout-grid.js +2 -2
- package/dist/collection/components/link-button/link-button.css +2 -8
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.js +12 -22
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu-about/menu-about.js +6 -4
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -5
- package/dist/collection/components/menu-item/menu-item.js +4 -4
- package/dist/collection/components/menu-settings/menu-settings.js +6 -4
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.js +52 -7
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pane/pane.js +6 -6
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
- package/dist/collection/components/push-card/push-card.js +1 -1
- package/dist/collection/components/radio/radio.css +70 -72
- package/dist/collection/components/radio/radio.js +69 -18
- package/dist/collection/components/radio/radio.js.map +1 -1
- package/dist/collection/components/radio-group/radio-group.js +64 -2
- package/dist/collection/components/radio-group/radio-group.js.map +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.js +94 -14
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select-item/select-item.js +1 -1
- package/dist/collection/components/slider/slider.js +6 -6
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +70 -12
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.css +1 -1
- package/dist/collection/components/tab-item/tab-item.js +3 -3
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-input/time-input.js +61 -9
- package/dist/collection/components/time-input/time-input.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.css +20 -52
- package/dist/collection/components/time-picker/time-picker.js +83 -48
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.types.js.map +1 -1
- package/dist/collection/components/toast/toast-container.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle/toggle.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.css +2 -3
- package/dist/collection/components/tooltip/tooltip.js +17 -6
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.js +1 -1
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/application-layout/context.js +0 -1
- package/dist/collection/components/utils/application-layout/context.js.map +1 -1
- package/dist/collection/components/utils/input/validation.js +6 -0
- package/dist/collection/components/utils/input/validation.js.map +1 -1
- package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js +6 -1
- package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js.map +1 -1
- package/dist/collection/components/utils/modal/index.js.map +1 -1
- package/dist/collection/components/utils/modal/loading.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
- package/dist/collection/components/workflow-step/workflow-step.js +3 -3
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/esm/{context-CKM5pVsv.js → context-BniHpAE1.js} +2 -3
- package/dist/{cjs/context-B8bRIFA2.js.map → esm/context-BniHpAE1.js.map} +1 -1
- package/dist/esm/{helper-text-util-rnbkuaac.js → helper-text-util-gKdL-wH2.js} +9 -5
- package/dist/esm/helper-text-util-gKdL-wH2.js.map +1 -0
- package/dist/esm/{index-Cz75KU1f.js → index-8HpPmDK_.js} +3 -3
- package/dist/esm/{index-Cz75KU1f.js.map → index-8HpPmDK_.js.map} +1 -1
- package/dist/esm/index-CtoreFVF.js +6 -18
- package/dist/esm/{index--ZIr3Aqz.js → index-Kp5Wf9wr.js} +3 -3
- package/dist/esm/{index--ZIr3Aqz.js.map → index-Kp5Wf9wr.js.map} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{input.util-VHrSuCP7.js → input.fc-KJF8Z9iJ.js} +69 -44
- package/dist/esm/input.fc-KJF8Z9iJ.js.map +1 -0
- package/dist/esm/ix-application-header.entry.js +13 -18
- package/dist/esm/ix-application-header.entry.js.map +1 -1
- package/dist/esm/ix-application-switch-modal.entry.js +2 -2
- package/dist/esm/ix-application.entry.js +4 -6
- package/dist/esm/ix-application.entry.js.map +1 -1
- package/dist/esm/ix-avatar_2.entry.js +1 -1
- package/dist/esm/ix-blind.entry.js +6 -6
- package/dist/esm/ix-breadcrumb-item.entry.js +1 -1
- package/dist/esm/ix-breadcrumb.entry.js +2 -2
- package/dist/esm/ix-card-accordion_2.entry.js +6 -6
- package/dist/esm/ix-card-list.entry.js +5 -5
- package/dist/esm/ix-card_2.entry.js +3 -3
- package/dist/esm/ix-category-filter.entry.js +15 -9
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-checkbox-group.entry.js +3 -3
- package/dist/esm/ix-checkbox.entry.js +4 -4
- package/dist/esm/ix-chip.entry.js +5 -5
- package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +11 -11
- package/dist/esm/ix-content-header.entry.js +4 -4
- package/dist/esm/ix-content.entry.js +3 -3
- package/dist/esm/ix-css-grid-item.entry.js +1 -1
- package/dist/esm/ix-css-grid.entry.js +1 -1
- package/dist/esm/ix-custom-field.entry.js +2 -2
- package/dist/esm/ix-date-dropdown.entry.js +5 -5
- package/dist/esm/ix-date-input.entry.js +21 -9
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +3 -3
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +2 -2
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +6 -6
- package/dist/esm/ix-dropdown-button.entry.js +4 -4
- package/dist/esm/ix-dropdown-header.entry.js +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +4 -4
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown.entry.js +2 -2
- package/dist/esm/ix-empty-state.entry.js +1 -1
- package/dist/esm/ix-event-list-item.entry.js +5 -5
- package/dist/esm/ix-event-list.entry.js +2 -2
- package/dist/esm/ix-expanding-search.entry.js +5 -5
- package/dist/esm/ix-field-label_2.entry.js +6 -6
- package/dist/esm/ix-filter-chip_2.entry.js +3 -3
- package/dist/esm/ix-flip-tile-content.entry.js +1 -1
- package/dist/esm/ix-flip-tile.entry.js +4 -4
- package/dist/esm/ix-group-context-menu_2.entry.js +2 -2
- package/dist/esm/ix-group.entry.js +9 -9
- package/dist/esm/ix-helper-text.entry.js +4 -4
- package/dist/esm/ix-icon-button_2.entry.js +2 -2
- package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-input.entry.js +17 -8
- package/dist/esm/ix-input.entry.js.map +1 -1
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-key-value.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +4 -4
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +5 -5
- package/dist/esm/ix-link-button.entry.js.map +1 -1
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +5 -5
- package/dist/esm/ix-menu-about.entry.js +7 -5
- package/dist/esm/ix-menu-about.entry.js.map +1 -1
- package/dist/esm/ix-menu-avatar.entry.js +3 -3
- package/dist/esm/ix-menu-category.entry.js +7 -7
- package/dist/esm/ix-menu-expand-icon.entry.js +2 -2
- package/dist/esm/ix-menu-item.entry.js +5 -5
- package/dist/esm/{ix-menu-settings-DRSkDgox.js → ix-menu-settings-f9o5GGw5.js} +15 -8
- package/dist/esm/ix-menu-settings-f9o5GGw5.js.map +1 -0
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu-settings.entry.js +2 -2
- package/dist/esm/ix-menu.entry.js +16 -26
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +2 -2
- package/dist/esm/ix-modal-content_2.entry.js +3 -3
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +3 -3
- package/dist/esm/ix-number-input.entry.js +160 -32
- package/dist/esm/ix-number-input.entry.js.map +1 -1
- package/dist/esm/ix-pagination.entry.js +30 -8
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pane.entry.js +7 -7
- package/dist/esm/ix-pill.entry.js +4 -4
- package/dist/esm/ix-progress-indicator.entry.js +4 -4
- package/dist/esm/ix-push-card.entry.js +1 -1
- package/dist/esm/ix-radio-group.entry.js +33 -3
- package/dist/esm/ix-radio-group.entry.js.map +1 -1
- package/dist/esm/ix-radio.entry.js +43 -18
- package/dist/esm/ix-radio.entry.js.map +1 -1
- package/dist/esm/ix-select.entry.js +54 -15
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-slider.entry.js +6 -6
- package/dist/esm/ix-split-button.entry.js +25 -13
- package/dist/esm/ix-split-button.entry.js.map +1 -1
- package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +7 -7
- package/dist/esm/ix-textarea.entry.js +4 -4
- package/dist/esm/ix-tile.entry.js +4 -4
- package/dist/esm/ix-time-input.entry.js +22 -10
- package/dist/esm/ix-time-input.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +81 -45
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +2 -2
- package/dist/esm/ix-toast.entry.js +3 -3
- package/dist/esm/ix-toggle.entry.js +4 -4
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/ix-tooltip.entry.js +17 -6
- package/dist/esm/ix-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +5 -5
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +4 -4
- package/dist/esm/ix-validation-tooltip.entry.js +2 -2
- package/dist/esm/ix-workflow-step.entry.js +4 -4
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{modal-D9BaTrTa.js → modal-BTxff2hq.js} +3 -3
- package/dist/esm/{modal-D9BaTrTa.js.map → modal-BTxff2hq.js.map} +1 -1
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/esm/{validation-D_dk-JqT.js → validation-LJh16vt2.js} +9 -3
- package/dist/{cjs/validation-CfL71_0d.js.map → esm/validation-LJh16vt2.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/ix-application-header.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-application.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-link-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-about.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-number-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-radio-group.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-radio.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toggle.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
- package/dist/siemens-ix/p-0411df39.entry.js +2 -0
- package/dist/siemens-ix/p-051f428c.entry.js +2 -0
- package/dist/siemens-ix/{p-f753f1f5.entry.js.map → p-051f428c.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-6f152ed2.entry.js → p-06a2c69b.entry.js} +2 -2
- package/dist/siemens-ix/p-07c079fd.entry.js +2 -0
- package/dist/siemens-ix/{p-f29f280b.entry.js.map → p-07c079fd.entry.js.map} +1 -1
- package/dist/siemens-ix/p-0c325f08.entry.js +2 -0
- package/dist/siemens-ix/p-0c325f08.entry.js.map +1 -0
- package/dist/siemens-ix/{p-7e6beda5.entry.js → p-0ce03ad3.entry.js} +2 -2
- package/dist/siemens-ix/{p-17a74a48.entry.js → p-0d621531.entry.js} +2 -2
- package/dist/siemens-ix/p-0eca5a77.entry.js +2 -0
- package/dist/siemens-ix/{p-75d8b192.entry.js.map → p-0eca5a77.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-f9b4e5f1.entry.js → p-162a4cc0.entry.js} +2 -2
- package/dist/siemens-ix/{p-337a3457.entry.js → p-196cffb5.entry.js} +2 -2
- package/dist/siemens-ix/{p-3acbbe01.entry.js → p-1de1a2bf.entry.js} +2 -2
- package/dist/siemens-ix/{p-89449e22.entry.js → p-2597a988.entry.js} +2 -2
- package/dist/siemens-ix/{p-4b1745dc.entry.js → p-26c629c3.entry.js} +2 -2
- package/dist/siemens-ix/p-26c629c3.entry.js.map +1 -0
- package/dist/siemens-ix/{p-e825a921.entry.js → p-2ffde2d5.entry.js} +2 -2
- package/dist/siemens-ix/{p-759ba03d.entry.js → p-31a8eaf9.entry.js} +2 -2
- package/dist/siemens-ix/p-33b3ed5b.entry.js +2 -0
- package/dist/siemens-ix/p-33b3ed5b.entry.js.map +1 -0
- package/dist/siemens-ix/{p-7cf61ff6.entry.js → p-33fcea65.entry.js} +2 -2
- package/dist/siemens-ix/p-35d6b656.entry.js +2 -0
- package/dist/siemens-ix/p-35d6b656.entry.js.map +1 -0
- package/dist/siemens-ix/{p-34e530b9.entry.js → p-367df024.entry.js} +2 -2
- package/dist/siemens-ix/{p-67e4f814.entry.js → p-37bd983a.entry.js} +2 -2
- package/dist/siemens-ix/{p-a02e0685.entry.js → p-38e45020.entry.js} +2 -2
- package/dist/siemens-ix/{p-fabcc5f5.entry.js → p-396e1f3d.entry.js} +2 -2
- package/dist/siemens-ix/p-3ce5fd87.entry.js +2 -0
- package/dist/siemens-ix/p-3ce5fd87.entry.js.map +1 -0
- package/dist/siemens-ix/p-3f62166e.entry.js +2 -0
- package/dist/siemens-ix/{p-9d135d59.entry.js.map → p-3f62166e.entry.js.map} +1 -1
- package/dist/siemens-ix/p-425d6925.entry.js +2 -0
- package/dist/siemens-ix/{p-9c862819.entry.js → p-4431f891.entry.js} +2 -2
- package/dist/siemens-ix/{p-9c862819.entry.js.map → p-4431f891.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-db9d5872.entry.js → p-484bddf4.entry.js} +2 -2
- package/dist/siemens-ix/{p-51786593.entry.js → p-496e98ac.entry.js} +2 -2
- package/dist/siemens-ix/{p-7388d2ee.entry.js → p-4c18f123.entry.js} +2 -2
- package/dist/siemens-ix/{p-548a2231.entry.js → p-4c1f90cb.entry.js} +2 -2
- package/dist/siemens-ix/{p-3b314194.entry.js → p-4e4d792d.entry.js} +2 -2
- package/dist/siemens-ix/p-4e77d861.entry.js +2 -0
- package/dist/siemens-ix/{p-d8fb5a86.entry.js → p-5779f16e.entry.js} +2 -2
- package/dist/siemens-ix/{p-48cbacaf.entry.js → p-5b57bde1.entry.js} +2 -2
- package/dist/siemens-ix/{p-aa6368b4.entry.js → p-667e3184.entry.js} +2 -2
- package/dist/siemens-ix/p-68aaf0fe.entry.js +2 -0
- package/dist/siemens-ix/p-68aaf0fe.entry.js.map +1 -0
- package/dist/siemens-ix/{p-538843d4.entry.js → p-6a4bc78a.entry.js} +2 -2
- package/dist/siemens-ix/{p-4b65234d.entry.js → p-6dc6eb63.entry.js} +2 -2
- package/dist/siemens-ix/p-70af7f44.entry.js +2 -0
- package/dist/siemens-ix/{p-788e1ef8.entry.js → p-74e7b03f.entry.js} +2 -2
- package/dist/siemens-ix/{p-e562ffb2.entry.js → p-77fd2138.entry.js} +2 -2
- package/dist/siemens-ix/{p-0d4f0223.entry.js → p-7827c263.entry.js} +2 -2
- package/dist/siemens-ix/p-79537728.entry.js +2 -0
- package/dist/siemens-ix/p-79537728.entry.js.map +1 -0
- package/dist/siemens-ix/{p-a4d6ee80.entry.js → p-7bad0544.entry.js} +2 -2
- package/dist/siemens-ix/{p-e25aa385.entry.js → p-7beba4ad.entry.js} +2 -2
- package/dist/siemens-ix/p-7beba4ad.entry.js.map +1 -0
- package/dist/siemens-ix/p-8418f756.entry.js +2 -0
- package/dist/siemens-ix/p-8418f756.entry.js.map +1 -0
- package/dist/siemens-ix/{p-Cz75KU1f.js → p-8HpPmDK_.js} +2 -2
- package/dist/siemens-ix/{p-Cz75KU1f.js.map → p-8HpPmDK_.js.map} +1 -1
- package/dist/siemens-ix/p-8b42ad35.entry.js +2 -0
- package/dist/siemens-ix/{p-5e86944d.entry.js.map → p-8b42ad35.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-784c6dd6.entry.js → p-8ce61408.entry.js} +2 -2
- package/dist/siemens-ix/{p-c0064123.entry.js → p-8f17f6ec.entry.js} +2 -2
- package/dist/siemens-ix/{p-67766c28.entry.js → p-8f9368b8.entry.js} +2 -2
- package/dist/siemens-ix/p-8fa8d0e3.entry.js +2 -0
- package/dist/siemens-ix/{p-3472fc1a.entry.js → p-8fc2bea6.entry.js} +2 -2
- package/dist/siemens-ix/{p-9e7223f6.entry.js → p-905d4977.entry.js} +2 -2
- package/dist/siemens-ix/p-92ec7f27.entry.js +2 -0
- package/dist/siemens-ix/{p-CpVbQsUI.js → p-BC0Exw_O.js} +2 -2
- package/dist/siemens-ix/{p-CpVbQsUI.js.map → p-BC0Exw_O.js.map} +1 -1
- package/dist/siemens-ix/{p-sxLz5AVO.js → p-BcCDexod.js} +2 -2
- package/dist/siemens-ix/p-BcCDexod.js.map +1 -0
- package/dist/siemens-ix/{p--2LOMK-5.js → p-BhgW5qDm.js} +2 -2
- package/dist/siemens-ix/{p--2LOMK-5.js.map → p-BhgW5qDm.js.map} +1 -1
- package/dist/siemens-ix/{p-CAj3Tlcn.js → p-C7nQNUsO.js} +2 -2
- package/dist/siemens-ix/{p-CAj3Tlcn.js.map → p-C7nQNUsO.js.map} +1 -1
- package/dist/siemens-ix/{p-DRnSC9aV.js → p-CObJ-t0Z.js} +2 -2
- package/dist/siemens-ix/{p-DRnSC9aV.js.map → p-CObJ-t0Z.js.map} +1 -1
- package/dist/siemens-ix/p-Cn013Iz8.js +2 -0
- package/dist/siemens-ix/p-Cn013Iz8.js.map +1 -0
- package/dist/siemens-ix/p-DaswuiGO.js +2 -0
- package/dist/siemens-ix/p-DaswuiGO.js.map +1 -0
- package/dist/siemens-ix/p-a3baca2f.entry.js +2 -0
- package/dist/siemens-ix/{p-0e2b89f2.entry.js → p-a4225101.entry.js} +2 -2
- package/dist/siemens-ix/p-a61972c5.entry.js +2 -0
- package/dist/siemens-ix/{p-2180ddb8.entry.js.map → p-a61972c5.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-20ad8d1e.entry.js → p-b27a9744.entry.js} +2 -2
- package/dist/siemens-ix/{p-fea12773.entry.js → p-b3453edf.entry.js} +2 -2
- package/dist/siemens-ix/{p-556417c6.entry.js → p-b41a7abb.entry.js} +2 -2
- package/dist/siemens-ix/{p-957d0d0b.entry.js → p-b76df1c7.entry.js} +2 -2
- package/dist/siemens-ix/{p-65842e35.entry.js → p-b7ef70d4.entry.js} +2 -2
- package/dist/siemens-ix/{p-b7c5ab43.entry.js → p-b8f4b001.entry.js} +2 -2
- package/dist/siemens-ix/p-b8f4b001.entry.js.map +1 -0
- package/dist/siemens-ix/{p-2f54ce99.entry.js → p-b9880608.entry.js} +2 -2
- package/dist/siemens-ix/p-ba9ed3d1.entry.js +2 -0
- package/dist/siemens-ix/p-ba9ed3d1.entry.js.map +1 -0
- package/dist/siemens-ix/p-c15e64a8.entry.js +2 -0
- package/dist/siemens-ix/p-c15e64a8.entry.js.map +1 -0
- package/dist/siemens-ix/{p-467c0fff.entry.js → p-c43b201b.entry.js} +2 -2
- package/dist/siemens-ix/{p-fc3071d0.entry.js → p-c5c863e1.entry.js} +2 -2
- package/dist/siemens-ix/{p-d1941577.entry.js → p-c94739d0.entry.js} +2 -2
- package/dist/siemens-ix/{p-04f1b89a.entry.js → p-ca3b24b1.entry.js} +2 -2
- package/dist/siemens-ix/p-ca43aa61.entry.js +2 -0
- package/dist/siemens-ix/{p-58219b7e.entry.js → p-cd1afcc9.entry.js} +2 -2
- package/dist/siemens-ix/{p-d4ba3f9f.entry.js → p-cf041cfd.entry.js} +2 -2
- package/dist/siemens-ix/{p-80f55403.entry.js → p-d10b9798.entry.js} +2 -2
- package/dist/siemens-ix/{p-ecff1e2f.entry.js → p-d193381f.entry.js} +2 -2
- package/dist/siemens-ix/{p-f3b485de.entry.js → p-d2c18c15.entry.js} +2 -2
- package/dist/siemens-ix/p-d2c18c15.entry.js.map +1 -0
- package/dist/siemens-ix/{p-dff78943.entry.js → p-d3a60c52.entry.js} +2 -2
- package/dist/siemens-ix/p-d688f76e.entry.js +2 -0
- package/dist/siemens-ix/{p-d49f7ae4.entry.js.map → p-d688f76e.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-41b9392e.entry.js → p-da3a9845.entry.js} +2 -2
- package/dist/siemens-ix/p-dc8de6cb.entry.js +2 -0
- package/dist/siemens-ix/p-dc8de6cb.entry.js.map +1 -0
- package/dist/siemens-ix/p-de12078d.entry.js +2 -0
- package/dist/siemens-ix/{p-608b3631.entry.js.map → p-de12078d.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-94fa5d00.entry.js → p-df6bb698.entry.js} +2 -2
- package/dist/siemens-ix/{p-85f3aa13.entry.js → p-e0b9cf68.entry.js} +2 -2
- package/dist/siemens-ix/{p-81120f11.entry.js → p-e42f62a1.entry.js} +2 -2
- package/dist/siemens-ix/{p-da6a27c1.entry.js → p-e48977ed.entry.js} +2 -2
- package/dist/siemens-ix/{p-2db36aa6.entry.js → p-e7bdc0a0.entry.js} +2 -2
- package/dist/siemens-ix/p-e7bdc0a0.entry.js.map +1 -0
- package/dist/siemens-ix/{p-1f5befb2.entry.js → p-ea15fc79.entry.js} +2 -2
- package/dist/siemens-ix/{p-4448252f.entry.js → p-ea37abf6.entry.js} +2 -2
- package/dist/siemens-ix/{p-b5e0ddb3.entry.js → p-ea410634.entry.js} +2 -2
- package/dist/siemens-ix/{p-39950a1c.entry.js → p-eba7f62c.entry.js} +2 -2
- package/dist/siemens-ix/{p-9d8fb7dd.entry.js → p-f119c105.entry.js} +2 -2
- package/dist/siemens-ix/p-fb8877bc.entry.js +2 -0
- package/dist/siemens-ix/p-fb8877bc.entry.js.map +1 -0
- package/dist/siemens-ix/{p-347fcf94.entry.js → p-fc73c8cc.entry.js} +2 -2
- package/dist/siemens-ix/{p-79798af1.entry.js → p-ff83eafd.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +2 -22
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/date-input/date-input.d.ts +10 -0
- package/dist/types/components/field-wrapper/helper-text-util.d.ts +5 -1
- package/dist/types/components/input/input.d.ts +9 -0
- package/dist/types/components/input/input.fc.d.ts +6 -0
- package/dist/types/components/input/input.util.d.ts +1 -0
- package/dist/types/components/input/number-input.d.ts +31 -5
- package/dist/types/components/menu-about/menu-about.d.ts +1 -1
- package/dist/types/components/menu-settings/menu-settings.d.ts +1 -1
- package/dist/types/components/pagination/pagination.d.ts +8 -0
- package/dist/types/components/radio/radio.d.ts +3 -2
- package/dist/types/components/radio-group/radio-group.d.ts +3 -0
- package/dist/types/components/select/select.d.ts +11 -0
- package/dist/types/components/split-button/split-button.d.ts +15 -4
- package/dist/types/components/time-input/time-input.d.ts +10 -0
- package/dist/types/components/time-picker/time-picker.d.ts +8 -2
- package/dist/types/components/tooltip/tooltip.d.ts +2 -1
- package/dist/types/components/utils/application-layout/context.d.ts +0 -1
- package/dist/types/components/utils/input/validation.d.ts +1 -0
- package/dist/types/components/utils/menu-tabs/menu-tabs-utils.d.ts +1 -0
- package/dist/types/components/utils/modal/index.d.ts +1 -1
- package/dist/types/components/utils/modal/loading.d.ts +4 -0
- package/dist/types/components.d.ts +162 -241
- package/hydrate/index.js +835 -791
- package/hydrate/index.mjs +835 -791
- package/package.json +1 -1
- package/scss/components/_links.scss +2 -5
- package/scss/mixins/_input.scss +2 -2
- package/scss/theme/classic/dark/_variables.scss +1 -1
- package/scss/theme/core/_components.scss +0 -2
- package/components/ix-basic-navigation.d.ts +0 -11
- package/components/ix-basic-navigation.js +0 -156
- package/components/ix-basic-navigation.js.map +0 -1
- package/components/ix-map-navigation-overlay.d.ts +0 -11
- package/components/ix-map-navigation-overlay.js +0 -9
- package/components/ix-map-navigation-overlay.js.map +0 -1
- package/components/ix-map-navigation.d.ts +0 -11
- package/components/ix-map-navigation.js +0 -240
- package/components/ix-map-navigation.js.map +0 -1
- package/components/p--2LOMK-5.js.map +0 -1
- package/components/p-0MSWDTqB.js.map +0 -1
- package/components/p-2fxFa_VL.js.map +0 -1
- package/components/p-BUIOrNGz.js.map +0 -1
- package/components/p-BaWdG-ph.js.map +0 -1
- package/components/p-Bvf7gwPU.js.map +0 -1
- package/components/p-CQhe_rqk.js.map +0 -1
- package/components/p-DBsESzrF.js.map +0 -1
- package/components/p-DLPEB4G8.js.map +0 -1
- package/components/p-D_rmJU0n.js.map +0 -1
- package/components/p-IgT3dgxG.js.map +0 -1
- package/components/p-UEMLzDk6.js +0 -92
- package/components/p-UEMLzDk6.js.map +0 -1
- package/components/p-yuZO1O90.js +0 -273
- package/components/p-yuZO1O90.js.map +0 -1
- package/dist/cjs/helper-text-util-BlElJLxk.js.map +0 -1
- package/dist/cjs/input.util-4AhBphgX.js.map +0 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +0 -93
- package/dist/cjs/ix-basic-navigation.entry.cjs.js.map +0 -1
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +0 -56
- package/dist/cjs/ix-map-navigation-overlay.entry.cjs.js.map +0 -1
- package/dist/cjs/ix-map-navigation.cjs.entry.js +0 -169
- package/dist/cjs/ix-map-navigation.entry.cjs.js.map +0 -1
- package/dist/cjs/ix-menu-settings-Cdqo0r8E.js.map +0 -1
- package/dist/collection/components/basic-navigation/basic-navigation.css +0 -113
- package/dist/collection/components/basic-navigation/basic-navigation.js +0 -209
- package/dist/collection/components/basic-navigation/basic-navigation.js.map +0 -1
- package/dist/collection/components/map-navigation/map-navigation.css +0 -212
- package/dist/collection/components/map-navigation/map-navigation.js +0 -401
- package/dist/collection/components/map-navigation/map-navigation.js.map +0 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +0 -156
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +0 -209
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +0 -1
- package/dist/esm/helper-text-util-rnbkuaac.js.map +0 -1
- package/dist/esm/input.util-VHrSuCP7.js.map +0 -1
- package/dist/esm/ix-basic-navigation.entry.js +0 -91
- package/dist/esm/ix-basic-navigation.entry.js.map +0 -1
- package/dist/esm/ix-map-navigation-overlay.entry.js +0 -54
- package/dist/esm/ix-map-navigation-overlay.entry.js.map +0 -1
- package/dist/esm/ix-map-navigation.entry.js +0 -167
- package/dist/esm/ix-map-navigation.entry.js.map +0 -1
- package/dist/esm/ix-menu-settings-DRSkDgox.js.map +0 -1
- package/dist/siemens-ix/ix-basic-navigation.entry.esm.js.map +0 -1
- package/dist/siemens-ix/ix-map-navigation-overlay.entry.esm.js.map +0 -1
- package/dist/siemens-ix/ix-map-navigation.entry.esm.js.map +0 -1
- package/dist/siemens-ix/p-01030dfb.entry.js +0 -2
- package/dist/siemens-ix/p-01030dfb.entry.js.map +0 -1
- package/dist/siemens-ix/p-08f4c3f0.entry.js +0 -2
- package/dist/siemens-ix/p-2055daf3.entry.js +0 -2
- package/dist/siemens-ix/p-2055daf3.entry.js.map +0 -1
- package/dist/siemens-ix/p-2180ddb8.entry.js +0 -2
- package/dist/siemens-ix/p-2db36aa6.entry.js.map +0 -1
- package/dist/siemens-ix/p-4b1745dc.entry.js.map +0 -1
- package/dist/siemens-ix/p-4f2fb1c5.entry.js +0 -2
- package/dist/siemens-ix/p-4f2fb1c5.entry.js.map +0 -1
- package/dist/siemens-ix/p-52d377d1.entry.js +0 -2
- package/dist/siemens-ix/p-52d377d1.entry.js.map +0 -1
- package/dist/siemens-ix/p-5e86944d.entry.js +0 -2
- package/dist/siemens-ix/p-608b3631.entry.js +0 -2
- package/dist/siemens-ix/p-710af987.entry.js +0 -2
- package/dist/siemens-ix/p-710af987.entry.js.map +0 -1
- package/dist/siemens-ix/p-730a6161.entry.js +0 -2
- package/dist/siemens-ix/p-730a6161.entry.js.map +0 -1
- package/dist/siemens-ix/p-75d8b192.entry.js +0 -2
- package/dist/siemens-ix/p-7e612a3b.entry.js +0 -2
- package/dist/siemens-ix/p-7e612a3b.entry.js.map +0 -1
- package/dist/siemens-ix/p-845054ca.entry.js +0 -2
- package/dist/siemens-ix/p-879a0cc5.entry.js +0 -2
- package/dist/siemens-ix/p-879a0cc5.entry.js.map +0 -1
- package/dist/siemens-ix/p-8aa0fda7.entry.js +0 -2
- package/dist/siemens-ix/p-8aa0fda7.entry.js.map +0 -1
- package/dist/siemens-ix/p-92a6324b.entry.js +0 -2
- package/dist/siemens-ix/p-9d135d59.entry.js +0 -2
- package/dist/siemens-ix/p-CX3n_rRh.js +0 -2
- package/dist/siemens-ix/p-CX3n_rRh.js.map +0 -1
- package/dist/siemens-ix/p-DS9crO46.js +0 -2
- package/dist/siemens-ix/p-DS9crO46.js.map +0 -1
- package/dist/siemens-ix/p-ad20efd0.entry.js +0 -2
- package/dist/siemens-ix/p-b6736ce7.entry.js +0 -2
- package/dist/siemens-ix/p-b6736ce7.entry.js.map +0 -1
- package/dist/siemens-ix/p-b7c5ab43.entry.js.map +0 -1
- package/dist/siemens-ix/p-c4b26603.entry.js +0 -2
- package/dist/siemens-ix/p-cc80918d.entry.js +0 -2
- package/dist/siemens-ix/p-d120adf6.entry.js +0 -2
- package/dist/siemens-ix/p-d120adf6.entry.js.map +0 -1
- package/dist/siemens-ix/p-d49f7ae4.entry.js +0 -2
- package/dist/siemens-ix/p-dd89a190.entry.js +0 -2
- package/dist/siemens-ix/p-e25aa385.entry.js.map +0 -1
- package/dist/siemens-ix/p-e3c57208.entry.js +0 -2
- package/dist/siemens-ix/p-eebe632b.entry.js +0 -2
- package/dist/siemens-ix/p-eebe632b.entry.js.map +0 -1
- package/dist/siemens-ix/p-eef311b1.entry.js +0 -2
- package/dist/siemens-ix/p-eef311b1.entry.js.map +0 -1
- package/dist/siemens-ix/p-f29f280b.entry.js +0 -2
- package/dist/siemens-ix/p-f3b485de.entry.js.map +0 -1
- package/dist/siemens-ix/p-f753f1f5.entry.js +0 -2
- package/dist/siemens-ix/p-f82e4e0f.entry.js +0 -2
- package/dist/siemens-ix/p-f82e4e0f.entry.js.map +0 -1
- package/dist/siemens-ix/p-sxLz5AVO.js.map +0 -1
- package/dist/types/components/basic-navigation/basic-navigation.d.ts +0 -33
- package/dist/types/components/map-navigation/map-navigation.d.ts +0 -68
- package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +0 -43
- package/scss/theme/core/components/map-navigation.scss +0 -20
- /package/dist/siemens-ix/{p-08f4c3f0.entry.js.map → p-0411df39.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6f152ed2.entry.js.map → p-06a2c69b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7e6beda5.entry.js.map → p-0ce03ad3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-17a74a48.entry.js.map → p-0d621531.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f9b4e5f1.entry.js.map → p-162a4cc0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-337a3457.entry.js.map → p-196cffb5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3acbbe01.entry.js.map → p-1de1a2bf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-89449e22.entry.js.map → p-2597a988.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e825a921.entry.js.map → p-2ffde2d5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-759ba03d.entry.js.map → p-31a8eaf9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7cf61ff6.entry.js.map → p-33fcea65.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-34e530b9.entry.js.map → p-367df024.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-67e4f814.entry.js.map → p-37bd983a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a02e0685.entry.js.map → p-38e45020.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fabcc5f5.entry.js.map → p-396e1f3d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-845054ca.entry.js.map → p-425d6925.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-db9d5872.entry.js.map → p-484bddf4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-51786593.entry.js.map → p-496e98ac.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7388d2ee.entry.js.map → p-4c18f123.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-548a2231.entry.js.map → p-4c1f90cb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3b314194.entry.js.map → p-4e4d792d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dd89a190.entry.js.map → p-4e77d861.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d8fb5a86.entry.js.map → p-5779f16e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-48cbacaf.entry.js.map → p-5b57bde1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-aa6368b4.entry.js.map → p-667e3184.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-538843d4.entry.js.map → p-6a4bc78a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4b65234d.entry.js.map → p-6dc6eb63.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e3c57208.entry.js.map → p-70af7f44.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-788e1ef8.entry.js.map → p-74e7b03f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e562ffb2.entry.js.map → p-77fd2138.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0d4f0223.entry.js.map → p-7827c263.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a4d6ee80.entry.js.map → p-7bad0544.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-784c6dd6.entry.js.map → p-8ce61408.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c0064123.entry.js.map → p-8f17f6ec.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-67766c28.entry.js.map → p-8f9368b8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-92a6324b.entry.js.map → p-8fa8d0e3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3472fc1a.entry.js.map → p-8fc2bea6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9e7223f6.entry.js.map → p-905d4977.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c4b26603.entry.js.map → p-92ec7f27.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ad20efd0.entry.js.map → p-a3baca2f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0e2b89f2.entry.js.map → p-a4225101.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-20ad8d1e.entry.js.map → p-b27a9744.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fea12773.entry.js.map → p-b3453edf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-556417c6.entry.js.map → p-b41a7abb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-957d0d0b.entry.js.map → p-b76df1c7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-65842e35.entry.js.map → p-b7ef70d4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2f54ce99.entry.js.map → p-b9880608.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-467c0fff.entry.js.map → p-c43b201b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fc3071d0.entry.js.map → p-c5c863e1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d1941577.entry.js.map → p-c94739d0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-04f1b89a.entry.js.map → p-ca3b24b1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cc80918d.entry.js.map → p-ca43aa61.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-58219b7e.entry.js.map → p-cd1afcc9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d4ba3f9f.entry.js.map → p-cf041cfd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-80f55403.entry.js.map → p-d10b9798.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ecff1e2f.entry.js.map → p-d193381f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dff78943.entry.js.map → p-d3a60c52.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-41b9392e.entry.js.map → p-da3a9845.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-94fa5d00.entry.js.map → p-df6bb698.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-85f3aa13.entry.js.map → p-e0b9cf68.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-81120f11.entry.js.map → p-e42f62a1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-da6a27c1.entry.js.map → p-e48977ed.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1f5befb2.entry.js.map → p-ea15fc79.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4448252f.entry.js.map → p-ea37abf6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b5e0ddb3.entry.js.map → p-ea410634.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-39950a1c.entry.js.map → p-eba7f62c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9d8fb7dd.entry.js.map → p-f119c105.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-347fcf94.entry.js.map → p-fc73c8cc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-79798af1.entry.js.map → p-ff83eafd.entry.js.map} +0 -0
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { h, Host, } from "@stencil/core";
|
|
10
10
|
import { iconContextMenu } from "@siemens/ix-icons/icons";
|
|
11
|
+
import { makeRef } from "../utils/make-ref";
|
|
11
12
|
export class SplitButton {
|
|
12
13
|
constructor() {
|
|
13
14
|
/**
|
|
@@ -22,31 +23,42 @@ export class SplitButton {
|
|
|
22
23
|
* Disabled
|
|
23
24
|
*/
|
|
24
25
|
this.disabled = false;
|
|
26
|
+
/**
|
|
27
|
+
* Disables only the main button while keeping the dropdown trigger enabled
|
|
28
|
+
*
|
|
29
|
+
* @since 4.1.0
|
|
30
|
+
*/
|
|
31
|
+
this.disableButton = false;
|
|
32
|
+
/**
|
|
33
|
+
* Disables only the dropdown trigger while keeping the main button enabled
|
|
34
|
+
*
|
|
35
|
+
* @since 4.1.0
|
|
36
|
+
*/
|
|
37
|
+
this.disableDropdownButton = false;
|
|
25
38
|
/**
|
|
26
39
|
* Placement of the dropdown
|
|
27
40
|
*/
|
|
28
41
|
this.placement = 'bottom-start';
|
|
29
42
|
this.toggle = false;
|
|
43
|
+
this.triggerElementRef = makeRef();
|
|
30
44
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
this.dropdownElement.trigger = this.triggerElement;
|
|
34
|
-
}
|
|
45
|
+
get isDisabledButton() {
|
|
46
|
+
return this.disabled || this.disableButton;
|
|
35
47
|
}
|
|
36
|
-
|
|
37
|
-
this.
|
|
48
|
+
get isDisabledIcon() {
|
|
49
|
+
return this.disabled || this.disableDropdownButton;
|
|
38
50
|
}
|
|
39
51
|
render() {
|
|
40
52
|
var _a;
|
|
41
53
|
const hasOutline = this.variant.toLocaleLowerCase().includes('secondary');
|
|
42
|
-
const
|
|
54
|
+
const baseAttributes = {
|
|
43
55
|
variant: this.variant,
|
|
44
|
-
disabled: this.disabled,
|
|
45
|
-
class: {
|
|
46
|
-
'left-button-border': !hasOutline,
|
|
47
|
-
},
|
|
48
56
|
};
|
|
49
|
-
|
|
57
|
+
const buttonAttributes = Object.assign(Object.assign({}, baseAttributes), { disabled: this.isDisabledButton, class: {
|
|
58
|
+
'left-button-border': !hasOutline,
|
|
59
|
+
} });
|
|
60
|
+
const dropdownButtonAttributes = Object.assign(Object.assign({}, baseAttributes), { disabled: this.isDisabledIcon });
|
|
61
|
+
return (h(Host, { key: '18955e55bbab4f5899f27cf2b38892c60bece302' }, h("div", { key: '8cc32b2686c3e02ee1f2a43d4a5f310cd2930dad', class: { 'btn-group': true, 'middle-gap': !hasOutline } }, this.label ? (h("ix-button", Object.assign({}, buttonAttributes, { icon: this.icon, onClick: (e) => this.buttonClick.emit(e), "aria-label": this.ariaLabelButton }), this.label)) : (h("ix-icon-button", Object.assign({}, buttonAttributes, { icon: this.icon, onClick: (e) => this.buttonClick.emit(e), "aria-label": this.ariaLabelButton }))), h("ix-icon-button", Object.assign({ key: 'ae7a2875314967f3100d1abcef3528a9822b0503' }, dropdownButtonAttributes, { ref: this.triggerElementRef, class: 'anchor', icon: (_a = this.splitIcon) !== null && _a !== void 0 ? _a : iconContextMenu, "aria-label": this.ariaLabelSplitIconButton }))), h("ix-dropdown", { key: 'd81abc1f01f55f2bc85740898e7f59173e62e182', closeBehavior: this.closeBehavior, trigger: this.triggerElementRef.waitForCurrent() }, h("slot", { key: '19c2623131a8ab3799e5a9bb75cc356bf500fffd' }))));
|
|
50
62
|
}
|
|
51
63
|
static get is() { return "ix-split-button"; }
|
|
52
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -235,6 +247,52 @@ export class SplitButton {
|
|
|
235
247
|
"reflect": false,
|
|
236
248
|
"defaultValue": "false"
|
|
237
249
|
},
|
|
250
|
+
"disableButton": {
|
|
251
|
+
"type": "boolean",
|
|
252
|
+
"attribute": "disable-button",
|
|
253
|
+
"mutable": false,
|
|
254
|
+
"complexType": {
|
|
255
|
+
"original": "boolean",
|
|
256
|
+
"resolved": "boolean",
|
|
257
|
+
"references": {}
|
|
258
|
+
},
|
|
259
|
+
"required": false,
|
|
260
|
+
"optional": false,
|
|
261
|
+
"docs": {
|
|
262
|
+
"tags": [{
|
|
263
|
+
"name": "since",
|
|
264
|
+
"text": "4.1.0"
|
|
265
|
+
}],
|
|
266
|
+
"text": "Disables only the main button while keeping the dropdown trigger enabled"
|
|
267
|
+
},
|
|
268
|
+
"getter": false,
|
|
269
|
+
"setter": false,
|
|
270
|
+
"reflect": false,
|
|
271
|
+
"defaultValue": "false"
|
|
272
|
+
},
|
|
273
|
+
"disableDropdownButton": {
|
|
274
|
+
"type": "boolean",
|
|
275
|
+
"attribute": "disable-dropdown-button",
|
|
276
|
+
"mutable": false,
|
|
277
|
+
"complexType": {
|
|
278
|
+
"original": "boolean",
|
|
279
|
+
"resolved": "boolean",
|
|
280
|
+
"references": {}
|
|
281
|
+
},
|
|
282
|
+
"required": false,
|
|
283
|
+
"optional": false,
|
|
284
|
+
"docs": {
|
|
285
|
+
"tags": [{
|
|
286
|
+
"name": "since",
|
|
287
|
+
"text": "4.1.0"
|
|
288
|
+
}],
|
|
289
|
+
"text": "Disables only the dropdown trigger while keeping the main button enabled"
|
|
290
|
+
},
|
|
291
|
+
"getter": false,
|
|
292
|
+
"setter": false,
|
|
293
|
+
"reflect": false,
|
|
294
|
+
"defaultValue": "false"
|
|
295
|
+
},
|
|
238
296
|
"placement": {
|
|
239
297
|
"type": "string",
|
|
240
298
|
"attribute": "placement",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-button.js","sourceRoot":"","sources":["../../../src/components/split-button/split-button.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"split-button.js","sourceRoot":"","sources":["../../../src/components/split-button/split-button.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG1D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAO5C,MAAM,OAAO,WAAW;IALxB;QAQE;;WAEG;QACK,YAAO,GAAuB,SAAS,CAAC;QAEhD;;WAEG;QACK,kBAAa,GAAkB,MAAM,CAAC;QA+B9C;;WAEG;QACK,aAAQ,GAAG,KAAK,CAAC;QAEzB;;;;WAIG;QACK,kBAAa,GAAG,KAAK,CAAC;QAE9B;;;;WAIG;QACK,0BAAqB,GAAG,KAAK,CAAC;QAEtC;;WAEG;QACK,cAAS,GAAqB,cAAc,CAAC;QAE5C,WAAM,GAAG,KAAK,CAAC;QAOP,sBAAiB,GAAG,OAAO,EAAe,CAAC;KAmE7D;IAjEC,IAAY,gBAAgB;QAC1B,OAAO,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;IAC7C,CAAC;IAED,IAAY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wBAAwB,IACzB,CACd;YAEN,oEACE,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,cAAc,EAAE;gBAEhD,8DAAa,CACD,CACT,CACR,CAAC;IACJ,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 {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { AlignedPlacement } from '../dropdown/placement';\nimport { iconContextMenu } from '@siemens/ix-icons/icons';\nimport { CloseBehavior } from '../dropdown/dropdown-controller';\nimport type { SplitButtonVariant } from './split-button.types';\nimport { makeRef } from '../utils/make-ref';\n\n@Component({\n tag: 'ix-split-button',\n styleUrl: 'split-button.scss',\n shadow: true,\n})\nexport class SplitButton {\n @Element() hostElement!: HTMLIxSplitButtonElement;\n\n /**\n * Color variant of button\n */\n @Prop() variant: SplitButtonVariant = 'primary';\n\n /**\n * Controls if the dropdown will be closed in response to a click event depending on the position of the event relative to the dropdown.\n */\n @Prop() closeBehavior: CloseBehavior = 'both';\n\n /**\n * Button label\n */\n @Prop() label?: string;\n\n /**\n * ARIA label for the button (use if no label and icon button)\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelButton?: string;\n\n /**\n * Button icon\n */\n @Prop() icon?: string;\n\n /**\n * Icon of the button on the right\n */\n @Prop() splitIcon?: string;\n\n /**\n * ARIA label for the split icon button\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelSplitIconButton?: string;\n\n /**\n * Disabled\n */\n @Prop() disabled = false;\n\n /**\n * Disables only the main button while keeping the dropdown trigger enabled\n *\n * @since 4.1.0\n */\n @Prop() disableButton = false;\n\n /**\n * Disables only the dropdown trigger while keeping the main button enabled\n *\n * @since 4.1.0\n */\n @Prop() disableDropdownButton = false;\n\n /**\n * Placement of the dropdown\n */\n @Prop() placement: AlignedPlacement = 'bottom-start';\n\n @State() toggle = false;\n\n /**\n * Button clicked\n */\n @Event() buttonClick!: EventEmitter<MouseEvent>;\n\n private readonly triggerElementRef = makeRef<HTMLElement>();\n\n private get isDisabledButton() {\n return this.disabled || this.disableButton;\n }\n\n private get isDisabledIcon() {\n return this.disabled || this.disableDropdownButton;\n }\n\n render() {\n const hasOutline = this.variant.toLocaleLowerCase().includes('secondary');\n const baseAttributes = {\n variant: this.variant,\n };\n\n const buttonAttributes = {\n ...baseAttributes,\n disabled: this.isDisabledButton,\n class: {\n 'left-button-border': !hasOutline,\n },\n };\n\n const dropdownButtonAttributes = {\n ...baseAttributes,\n disabled: this.isDisabledIcon,\n };\n\n return (\n <Host>\n <div class={{ 'btn-group': true, 'middle-gap': !hasOutline }}>\n {this.label ? (\n <ix-button\n {...buttonAttributes}\n icon={this.icon}\n onClick={(e) => this.buttonClick.emit(e)}\n aria-label={this.ariaLabelButton}\n >\n {this.label}\n </ix-button>\n ) : (\n <ix-icon-button\n {...buttonAttributes}\n icon={this.icon}\n onClick={(e) => this.buttonClick.emit(e)}\n aria-label={this.ariaLabelButton}\n ></ix-icon-button>\n )}\n <ix-icon-button\n {...dropdownButtonAttributes}\n ref={this.triggerElementRef}\n class={'anchor'}\n icon={this.splitIcon ?? iconContextMenu}\n aria-label={this.ariaLabelSplitIconButton}\n ></ix-icon-button>\n </div>\n\n <ix-dropdown\n closeBehavior={this.closeBehavior}\n trigger={this.triggerElementRef.waitForCurrent()}\n >\n <slot></slot>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
z-index: 1;
|
|
168
168
|
height: 16px;
|
|
169
169
|
width: auto;
|
|
170
|
-
background-color: var(--theme-
|
|
170
|
+
background-color: var(--theme-color-1);
|
|
171
171
|
border: 1px solid var(--theme-tab-pill--border-color);
|
|
172
172
|
border-radius: 100px;
|
|
173
173
|
bottom: 6px;
|
|
@@ -51,7 +51,7 @@ export class TabItem {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'f703b9ed1db79ae154acd43425ac44993a13e99e', class: this.tabItemClasses({
|
|
55
55
|
selected: this.selected,
|
|
56
56
|
disabled: this.disabled,
|
|
57
57
|
small: this.small,
|
|
@@ -68,12 +68,12 @@ export class TabItem {
|
|
|
68
68
|
if (clientEvent.defaultPrevented) {
|
|
69
69
|
event.stopPropagation();
|
|
70
70
|
}
|
|
71
|
-
} }, h("div", { key: '
|
|
71
|
+
} }, h("div", { key: '5d9f5fa0c5a9c2f057ff8e3e960a5b15499ec84b', class: {
|
|
72
72
|
circle: this.rounded,
|
|
73
73
|
text: !this.rounded,
|
|
74
74
|
selected: this.selected,
|
|
75
75
|
disabled: this.disabled,
|
|
76
|
-
} }, h("slot", { key: '
|
|
76
|
+
} }, h("slot", { key: 'd0c87e92e0ad1a4664024b7d79900e8bb36a6ba6' })), h("div", { key: '1812905c3f08a70565e1aea166fa372a07344a76', class: {
|
|
77
77
|
counter: true,
|
|
78
78
|
selected: this.selected,
|
|
79
79
|
hidden: !(this.rounded && this.counter !== undefined),
|
|
@@ -240,13 +240,13 @@ export class Tabs {
|
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
242
|
render() {
|
|
243
|
-
return (h(Host, { key: '
|
|
243
|
+
return (h(Host, { key: 'd7fad8d23dafced6cf713108107c54d02f372b6b' }, this.showArrowPrevious && (h("button", { key: 'dde7a217502a5a157e32bb34327398dba8968d34', class: "arrow", onClick: () => this.move(this.scrollAmount, true), "aria-label": this.ariaLabelChevronLeftIconButton }, h("ix-icon", { key: '08c3d49892d6955a7877bac4968fac25fe8c9742', name: iconChevronLeftSmall }))), h("div", { key: 'deb8492643ab4b49cb7848c9229805d26b0a4c99', class: {
|
|
244
244
|
'tab-items': true,
|
|
245
245
|
'overflow-shadow': true,
|
|
246
246
|
'shadow-left': this.showArrowPrevious,
|
|
247
247
|
'shadow-right': this.showArrowNext,
|
|
248
248
|
'shadow-both': this.showArrowNext && this.showArrowPrevious,
|
|
249
|
-
} }, h("div", { key: '
|
|
249
|
+
} }, h("div", { key: '8b888d4ac1c0e957155028d8508e0cb5862c5cb4', class: "items-content" }, h("slot", { key: 'fd39c749b7aaeaec5c65ee72b0c466dbf7d8fa7b' }))), this.showArrowNext && (h("button", { key: '028b079e241b9fc3af1cba531ae2c055f1c47d32', class: "arrow right", onClick: () => this.move(-this.scrollAmount, true), "aria-label": this.ariaLabelChevronRightIconButton }, h("ix-icon", { key: '8047e16eadc4ec22f44d70004fe9a663f74c4e01', name: iconChevronRightSmall })))));
|
|
250
250
|
}
|
|
251
251
|
static get is() { return "ix-tabs"; }
|
|
252
252
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,17 +23,17 @@ export class Tile {
|
|
|
23
23
|
this.hasFooterSlot = !!this.hostElement.querySelector('[slot="footer"]');
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: 'f5c50da791dcbdfeb884d33071b6d557360c1a60', class: {
|
|
27
27
|
'tile-small': this.size === 'small',
|
|
28
28
|
'tile-medium': this.size === 'medium',
|
|
29
29
|
'tile-big': this.size === 'big',
|
|
30
|
-
} }, h("div", { key: '
|
|
30
|
+
} }, h("div", { key: '651e393dbd8f7f7cd55373c3bdadc195dfc88cbd', class: {
|
|
31
31
|
'tile-header': true,
|
|
32
32
|
'has-content': this.hasHeaderSlot,
|
|
33
|
-
} }, h("slot", { key: '
|
|
33
|
+
} }, h("slot", { key: '1b94a241077664e5bcb535321f816b3b3faa9fad', name: "header", onSlotchange: () => this.handleHeaderSlotChange() })), h("div", { key: 'd2ce3123c9ffa767e07edf25248567ee9406fc95', class: "tile-subheader" }, h("slot", { key: '025ac544a3750fbfb145d1350e7091e969c2e369', name: "subheader" })), h("div", { key: '6ce8df1e1b426df28b42f490db11dc1d951715e6', class: "tile-content" }, h("slot", { key: '7bb66b49df63f613c3b7be8ff0da64bc16dde6b9' })), h("div", { key: '55f6e978190c3c8581310559a7a46ec6c4cc0e2f', class: {
|
|
34
34
|
'tile-footer': true,
|
|
35
35
|
'has-content': this.hasFooterSlot,
|
|
36
|
-
} }, h("slot", { key: '
|
|
36
|
+
} }, h("slot", { key: 'd63334865e6a32a6bb082939b44f3bf0b041b93a', name: "footer", onSlotchange: () => this.handleFooterSlotChange() }))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "ix-tile"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -20,8 +20,8 @@ import { iconClock } from "@siemens/ix-icons/icons";
|
|
|
20
20
|
import { Host, h, } from "@stencil/core";
|
|
21
21
|
import { DateTime } from "luxon";
|
|
22
22
|
import { SlotEnd, SlotStart } from "../input/input.fc";
|
|
23
|
-
import { addDisposableChangesAndVisibilityObservers, adjustPaddingForStartAndEnd, } from "../input/input.util";
|
|
24
|
-
import { HookValidationLifecycle, createClassMutationObserver, } from "../utils/input";
|
|
23
|
+
import { addDisposableChangesAndVisibilityObservers, adjustPaddingForStartAndEnd, handleSubmitOnEnterKeydown, } from "../input/input.util";
|
|
24
|
+
import { HookValidationLifecycle, createClassMutationObserver, getValidationText, } from "../utils/input";
|
|
25
25
|
import { makeRef } from "../utils/make-ref";
|
|
26
26
|
import { closeDropdown as closeDropdownUtil, createValidityState, handleIconClick, openDropdown as openDropdownUtil, } from "../utils/input/picker-input.util";
|
|
27
27
|
/**
|
|
@@ -96,12 +96,21 @@ export class TimeInput {
|
|
|
96
96
|
*/
|
|
97
97
|
// eslint-disable-next-line @stencil-community/decorators-style
|
|
98
98
|
this.i18nMillisecondColumnHeader = 'ms';
|
|
99
|
+
/**
|
|
100
|
+
* If false, pressing Enter will submit the form (if inside a form).
|
|
101
|
+
* Set to true to suppress submit on Enter.
|
|
102
|
+
*/
|
|
103
|
+
this.suppressSubmitOnEnter = false;
|
|
99
104
|
/**
|
|
100
105
|
* Hides the header of the picker.
|
|
101
106
|
*
|
|
102
107
|
* @since 4.0.0
|
|
103
108
|
*/
|
|
104
109
|
this.hideHeader = false;
|
|
110
|
+
/**
|
|
111
|
+
* Text alignment within the time input. 'start' aligns the text to the start of the input, 'end' aligns the text to the end of the input.
|
|
112
|
+
*/
|
|
113
|
+
this.textAlignment = 'start';
|
|
105
114
|
this.show = false;
|
|
106
115
|
this.time = null;
|
|
107
116
|
this.isInputInvalid = false;
|
|
@@ -120,6 +129,9 @@ export class TimeInput {
|
|
|
120
129
|
watchValuePropHandler(newValue) {
|
|
121
130
|
this.onInput(newValue);
|
|
122
131
|
}
|
|
132
|
+
handleInputKeyDown(event) {
|
|
133
|
+
handleSubmitOnEnterKeydown(event, this.suppressSubmitOnEnter, this.formInternals.form);
|
|
134
|
+
}
|
|
123
135
|
updateFormInternalValue(value) {
|
|
124
136
|
this.formInternals.setFormValue(value);
|
|
125
137
|
this.value = value;
|
|
@@ -204,6 +216,8 @@ export class TimeInput {
|
|
|
204
216
|
renderInput() {
|
|
205
217
|
return (h("div", { class: "input-wrapper" }, h(SlotStart, { slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), h("input", { autoComplete: "off", class: {
|
|
206
218
|
'is-invalid': this.isInputInvalid,
|
|
219
|
+
}, style: {
|
|
220
|
+
textAlign: this.textAlignment,
|
|
207
221
|
}, disabled: this.disabled, readOnly: this.readonly, required: this.required, ref: this.inputElementRef, type: "text", value: this.value, placeholder: this.placeholder, name: this.name, onInput: (event) => {
|
|
208
222
|
const target = event.target;
|
|
209
223
|
this.onInput(target.value);
|
|
@@ -218,7 +232,7 @@ export class TimeInput {
|
|
|
218
232
|
}, onBlur: () => {
|
|
219
233
|
this.ixBlur.emit();
|
|
220
234
|
this.touched = true;
|
|
221
|
-
} }), h(SlotEnd, { slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("ix-icon-button", { "data-testid": "open-time-picker", class: { 'time-icon-hidden': this.disabled || this.readonly }, variant: "subtle-tertiary", icon: iconClock, onClick: (event) => this.onTimeIconClick(event), "aria-label": "Toggle time picker", "aria-expanded": this.show }))));
|
|
235
|
+
}, onKeyDown: (event) => this.handleInputKeyDown(event) }), h(SlotEnd, { slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("ix-icon-button", { "data-testid": "open-time-picker", class: { 'time-icon-hidden': this.disabled || this.readonly }, variant: "subtle-tertiary", icon: iconClock, onClick: (event) => this.onTimeIconClick(event), "aria-label": "Toggle time picker", "aria-expanded": this.show }))));
|
|
222
236
|
}
|
|
223
237
|
hookValidationLifecycle({ isInfo, isInvalid, isInvalidByRequired, isValid, isWarning, }) {
|
|
224
238
|
this.isInvalid = isInvalid || isInvalidByRequired || this.isInputInvalid;
|
|
@@ -258,15 +272,13 @@ export class TimeInput {
|
|
|
258
272
|
}
|
|
259
273
|
render() {
|
|
260
274
|
var _a;
|
|
261
|
-
const invalidText = this.isInputInvalid
|
|
262
|
-
|
|
263
|
-
: this.invalidText;
|
|
264
|
-
return (h(Host, { key: '09ce97a9605c6b22a872712c038a2628e5b0b81a', class: {
|
|
275
|
+
const invalidText = getValidationText(this.isInputInvalid, this.invalidText, this.i18nErrorTimeUnparsable);
|
|
276
|
+
return (h(Host, { key: 'aff9b793fae69ba2eb713ae3b1bd2222b548fb25', class: {
|
|
265
277
|
disabled: this.disabled,
|
|
266
278
|
readonly: this.readonly,
|
|
267
|
-
} }, h("ix-field-wrapper", { key: '
|
|
279
|
+
} }, h("ix-field-wrapper", { key: '5e927fa4c2eeb94dba26b1f4ad1879a6a80ed823', label: this.label, helperText: this.helperText, isInvalid: this.isInvalid, invalidText: invalidText, infoText: this.infoText, isInfo: this.isInfo, isWarning: this.isWarning, warningText: this.warningText, isValid: this.isValid, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, required: this.required, controlRef: this.inputElementRef }, this.renderInput()), h("ix-dropdown", { key: '0b48b3c8574b0aafe42db74c990f1d269037bd82', "data-testid": "time-dropdown", trigger: this.inputElementRef.waitForCurrent(), ref: this.dropdownElementRef, closeBehavior: "outside", suppressOverflowBehavior: true, show: this.show, onShowChanged: (event) => {
|
|
268
280
|
this.show = event.detail;
|
|
269
|
-
} }, h("ix-time-picker", { key: '
|
|
281
|
+
} }, h("ix-time-picker", { key: 'b3b5536c702fc45c9fc5f323282149c2c2ccb542', ref: this.timePickerRef, format: this.format, time: (_a = this.time) !== null && _a !== void 0 ? _a : '', hourInterval: this.hourInterval, minuteInterval: this.minuteInterval, secondInterval: this.secondInterval, millisecondInterval: this.millisecondInterval, embedded: true, hideHeader: this.hideHeader, i18nConfirmTime: this.i18nSelectTime, i18nHeader: this.i18nTime, i18nHourColumnHeader: this.i18nHourColumnHeader, i18nSecondColumnHeader: this.i18nSecondColumnHeader, i18nMinuteColumnHeader: this.i18nMinuteColumnHeader, i18nMillisecondColumnHeader: this.i18nMillisecondColumnHeader, onTimeSelect: (event) => {
|
|
270
282
|
this.onInput(event.detail);
|
|
271
283
|
this.show = false;
|
|
272
284
|
} }))));
|
|
@@ -776,6 +788,26 @@ export class TimeInput {
|
|
|
776
788
|
"reflect": false,
|
|
777
789
|
"defaultValue": "'ms'"
|
|
778
790
|
},
|
|
791
|
+
"suppressSubmitOnEnter": {
|
|
792
|
+
"type": "boolean",
|
|
793
|
+
"attribute": "suppress-submit-on-enter",
|
|
794
|
+
"mutable": false,
|
|
795
|
+
"complexType": {
|
|
796
|
+
"original": "boolean",
|
|
797
|
+
"resolved": "boolean",
|
|
798
|
+
"references": {}
|
|
799
|
+
},
|
|
800
|
+
"required": false,
|
|
801
|
+
"optional": false,
|
|
802
|
+
"docs": {
|
|
803
|
+
"tags": [],
|
|
804
|
+
"text": "If false, pressing Enter will submit the form (if inside a form).\nSet to true to suppress submit on Enter."
|
|
805
|
+
},
|
|
806
|
+
"getter": false,
|
|
807
|
+
"setter": false,
|
|
808
|
+
"reflect": true,
|
|
809
|
+
"defaultValue": "false"
|
|
810
|
+
},
|
|
779
811
|
"hideHeader": {
|
|
780
812
|
"type": "boolean",
|
|
781
813
|
"attribute": "hide-header",
|
|
@@ -798,6 +830,26 @@ export class TimeInput {
|
|
|
798
830
|
"setter": false,
|
|
799
831
|
"reflect": false,
|
|
800
832
|
"defaultValue": "false"
|
|
833
|
+
},
|
|
834
|
+
"textAlignment": {
|
|
835
|
+
"type": "string",
|
|
836
|
+
"attribute": "text-alignment",
|
|
837
|
+
"mutable": false,
|
|
838
|
+
"complexType": {
|
|
839
|
+
"original": "'start' | 'end'",
|
|
840
|
+
"resolved": "\"end\" | \"start\"",
|
|
841
|
+
"references": {}
|
|
842
|
+
},
|
|
843
|
+
"required": false,
|
|
844
|
+
"optional": false,
|
|
845
|
+
"docs": {
|
|
846
|
+
"tags": [],
|
|
847
|
+
"text": "Text alignment within the time input. 'start' aligns the text to the start of the input, 'end' aligns the text to the end of the input."
|
|
848
|
+
},
|
|
849
|
+
"getter": false,
|
|
850
|
+
"setter": false,
|
|
851
|
+
"reflect": false,
|
|
852
|
+
"defaultValue": "'start'"
|
|
801
853
|
}
|
|
802
854
|
};
|
|
803
855
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-input.js","sourceRoot":"","sources":["../../../src/components/time-input/time-input.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;;;;;;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAzHC;IADC,uBAAuB,EAAE;wDAYzB","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2025 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 { iconClock } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\nimport { SlotEnd, SlotStart } from '../input/input.fc';\nimport {\n DisposableChangesAndVisibilityObservers,\n addDisposableChangesAndVisibilityObservers,\n adjustPaddingForStartAndEnd,\n} from '../input/input.util';\nimport {\n ClassMutationObserver,\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n createClassMutationObserver,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\nimport { IxTimePickerCustomEvent } from '../../components';\nimport type { TimeInputValidityState } from './time-input.types';\nimport {\n closeDropdown as closeDropdownUtil,\n createValidityState,\n handleIconClick,\n openDropdown as openDropdownUtil,\n} from '../utils/input/picker-input.util';\n\n/**\n * @since 3.2.0\n * @form-ready\n * @slot start - Element will be displayed at the start of the input\n * @slot end - Element will be displayed at the end of the input\n */\n@Component({\n tag: 'ix-time-input',\n styleUrl: 'time-input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class TimeInput implements IxInputFieldComponent<string> {\n @Element() hostElement!: HTMLIxTimeInputElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * Name of the input element\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Placeholder of the input element\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * Value of the input element\n */\n @Prop({ reflect: true, mutable: true }) value: string = '';\n\n @Watch('value') watchValuePropHandler(newValue: string) {\n this.onInput(newValue);\n }\n\n /**\n * Format of time string\n * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.\n */\n @Prop() format: string = 'TT';\n\n /**\n * Required attribute\n */\n @Prop() required?: boolean;\n\n /**\n * Helper text below the input field\n */\n @Prop() helperText?: string;\n\n /**\n * Label of the input field\n */\n @Prop() label?: string;\n\n /**\n * Error text below the input field\n */\n @Prop({ reflect: true }) invalidText?: string;\n\n /**\n * Readonly attribute\n */\n @Prop() readonly: boolean = false;\n\n /**\n * Disabled attribute\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Info text below the input field\n */\n @Prop() infoText?: string;\n\n /**\n * Warning text below the input field\n */\n @Prop() warningText?: string;\n\n /**\n * Valid text below the input field\n */\n @Prop() validText?: string;\n\n /**\n * Show text as tooltip\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * I18n string for the error message when the time is not parsable\n */\n @Prop({ attribute: 'i18n-error-time-unparsable' }) i18nErrorTimeUnparsable =\n 'Time is not valid';\n\n /**\n * Interval for hour selection\n */\n @Prop() hourInterval: number = 1;\n\n /**\n * Interval for minute selection\n */\n @Prop() minuteInterval: number = 1;\n\n /**\n * Interval for second selection\n */\n @Prop() secondInterval: number = 1;\n\n /**\n * Interval for millisecond selection\n */\n @Prop() millisecondInterval: number = 100;\n\n /**\n * Text of time-picker time select button\n */\n @Prop({ attribute: 'i18n-select-time' }) i18nSelectTime: string = 'Confirm';\n\n /**\n * Text for time-picker top label\n */\n @Prop({ attribute: 'i18n-time' }) i18nTime: string = 'Time';\n\n /**\n * Text for time-picker hour column header\n */\n @Prop({ attribute: 'i18n-hour-column-header' }) i18nHourColumnHeader: string =\n 'hr';\n\n /**\n * Text for time-picker minute column header\n */\n // eslint-disable-next-line @stencil-community/decorators-style\n @Prop({ attribute: 'i18n-minute-column-header' })\n i18nMinuteColumnHeader: string = 'min';\n\n /**\n * Text for time-picker second column header\n */\n // eslint-disable-next-line @stencil-community/decorators-style\n @Prop({ attribute: 'i18n-second-column-header' })\n i18nSecondColumnHeader: string = 'sec';\n\n /**\n * Text for time-picker millisecond column header\n */\n // eslint-disable-next-line @stencil-community/decorators-style\n @Prop({ attribute: 'i18n-millisecond-column-header' })\n i18nMillisecondColumnHeader: string = 'ms';\n\n /**\n * Hides the header of the picker.\n *\n * @since 4.0.0\n */\n @Prop() hideHeader: boolean = false;\n\n /**\n * Input change event.\n */\n @Event({ cancelable: false }) valueChange!: EventEmitter<string>;\n\n /**\n * Validation state change event.\n */\n @Event() validityStateChange!: EventEmitter<TimeInputValidityState>;\n\n /** @internal */\n @Event() ixFocus!: EventEmitter<void>;\n\n /** @internal */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() show = false;\n @State() time: string | null = null;\n @State() isInputInvalid = false;\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() focus = false;\n\n private readonly slotStartRef = makeRef<HTMLDivElement>();\n private readonly slotEndRef = makeRef<HTMLDivElement>();\n\n private readonly timePickerRef = makeRef<HTMLIxTimePickerElement>();\n\n private readonly inputElementRef = makeRef<HTMLInputElement>();\n private readonly dropdownElementRef = makeRef<HTMLIxDropdownElement>();\n private classObserver?: ClassMutationObserver;\n private invalidReason?: string;\n private touched = false;\n\n private disposableChangesAndVisibilityObservers?: DisposableChangesAndVisibilityObservers;\n\n updateFormInternalValue(value: string): void {\n this.formInternals.setFormValue(value);\n this.value = value;\n }\n\n connectedCallback(): void {\n this.classObserver = createClassMutationObserver(this.hostElement, () =>\n this.checkClassList()\n );\n\n this.disposableChangesAndVisibilityObservers =\n addDisposableChangesAndVisibilityObservers(\n this.hostElement,\n this.updatePaddings.bind(this)\n );\n }\n\n componentWillLoad(): void {\n if (!this.value) {\n const now = DateTime.now();\n if (now.isValid) {\n this.value = now.toFormat(this.format);\n }\n }\n\n this.onInput(this.value);\n if (this.isInputInvalid) {\n this.time = null;\n } else {\n this.watchValue();\n }\n\n this.checkClassList();\n this.updateFormInternalValue(this.value);\n }\n\n private updatePaddings() {\n adjustPaddingForStartAndEnd(\n this.slotStartRef.current,\n this.slotEndRef.current,\n this.inputElementRef.current\n );\n }\n\n disconnectedCallback(): void {\n this.classObserver?.destroy();\n this.disposableChangesAndVisibilityObservers?.();\n }\n\n @Watch('value')\n watchValue() {\n this.time = this.value;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(!!this.value);\n }\n\n /** @internal */\n @Method()\n getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return Promise.resolve(this.formInternals.form);\n }\n\n async onInput(value: string) {\n this.value = value;\n if (!value) {\n this.isInputInvalid = false;\n this.updateFormInternalValue(value);\n this.valueChange.emit(value);\n return;\n }\n\n if (!this.format) {\n return;\n }\n\n const time = DateTime.fromFormat(value, this.format);\n if (time.isValid) {\n this.isInputInvalid = false;\n } else {\n this.isInputInvalid = true;\n this.invalidReason = time.invalidReason;\n }\n\n this.updateFormInternalValue(value);\n this.valueChange.emit(value);\n }\n\n onTimeIconClick(event: Event) {\n handleIconClick(\n event,\n this.show,\n () => this.openDropdown(),\n this.inputElementRef\n );\n }\n\n async openDropdown() {\n // keep picker in sync with input\n this.time = this.value;\n\n return openDropdownUtil(this.dropdownElementRef);\n }\n\n async closeDropdown() {\n return closeDropdownUtil(this.dropdownElementRef);\n }\n\n private checkClassList() {\n this.isInvalid = this.hostElement.classList.contains('ix-invalid');\n }\n\n private renderInput() {\n return (\n <div class=\"input-wrapper\">\n <SlotStart\n slotStartRef={this.slotStartRef}\n onSlotChange={() => this.updatePaddings()}\n ></SlotStart>\n <input\n autoComplete=\"off\"\n class={{\n 'is-invalid': this.isInputInvalid,\n }}\n disabled={this.disabled}\n readOnly={this.readonly}\n required={this.required}\n ref={this.inputElementRef}\n type=\"text\"\n value={this.value}\n placeholder={this.placeholder}\n name={this.name}\n onInput={(event) => {\n const target = event.target as HTMLInputElement;\n this.onInput(target.value);\n }}\n onClick={(event) => {\n if (this.show) {\n event.stopPropagation();\n event.preventDefault();\n }\n }}\n onFocus={async () => {\n this.openDropdown();\n this.ixFocus.emit();\n }}\n onBlur={() => {\n this.ixBlur.emit();\n this.touched = true;\n }}\n ></input>\n <SlotEnd\n slotEndRef={this.slotEndRef}\n onSlotChange={() => this.updatePaddings()}\n >\n <ix-icon-button\n data-testid=\"open-time-picker\"\n class={{ 'time-icon-hidden': this.disabled || this.readonly }}\n variant=\"subtle-tertiary\"\n icon={iconClock}\n onClick={(event) => this.onTimeIconClick(event)}\n aria-label=\"Toggle time picker\"\n aria-expanded={this.show}\n ></ix-icon-button>\n </SlotEnd>\n </div>\n );\n }\n\n @HookValidationLifecycle()\n hookValidationLifecycle({\n isInfo,\n isInvalid,\n isInvalidByRequired,\n isValid,\n isWarning,\n }: ValidationResults) {\n this.isInvalid = isInvalid || isInvalidByRequired || this.isInputInvalid;\n this.isInfo = isInfo;\n this.isValid = isValid;\n this.isWarning = isWarning;\n }\n\n @Watch('isInputInvalid')\n async onInputValidationChange() {\n const state = await this.getValidityState();\n this.validityStateChange.emit({\n patternMismatch: state.patternMismatch,\n invalidReason: this.invalidReason,\n });\n }\n\n /** @internal */\n @Method()\n getValidityState(): Promise<ValidityState> {\n return Promise.resolve(\n createValidityState(this.isInputInvalid, !!this.required, this.value)\n );\n }\n\n /**\n * Get the native input element\n */\n @Method()\n getNativeInputElement(): Promise<HTMLInputElement> {\n return this.inputElementRef.waitForCurrent();\n }\n\n /**\n * Focuses the input field\n */\n @Method()\n async focusInput(): Promise<void> {\n return (await this.getNativeInputElement()).focus();\n }\n\n /**\n * Returns whether the text field has been touched.\n * @internal\n */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n const invalidText = this.isInputInvalid\n ? this.i18nErrorTimeUnparsable\n : this.invalidText;\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n label={this.label}\n helperText={this.helperText}\n isInvalid={this.isInvalid}\n invalidText={invalidText}\n infoText={this.infoText}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n warningText={this.warningText}\n isValid={this.isValid}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n required={this.required}\n controlRef={this.inputElementRef}\n >\n {this.renderInput()}\n </ix-field-wrapper>\n <ix-dropdown\n data-testid=\"time-dropdown\"\n trigger={this.inputElementRef.waitForCurrent()}\n ref={this.dropdownElementRef}\n closeBehavior=\"outside\"\n suppressOverflowBehavior={true}\n show={this.show}\n onShowChanged={(event) => {\n this.show = event.detail;\n }}\n >\n <ix-time-picker\n ref={this.timePickerRef}\n format={this.format}\n time={this.time ?? ''}\n hourInterval={this.hourInterval}\n minuteInterval={this.minuteInterval}\n secondInterval={this.secondInterval}\n millisecondInterval={this.millisecondInterval}\n embedded\n hideHeader={this.hideHeader}\n i18nConfirmTime={this.i18nSelectTime}\n i18nHeader={this.i18nTime}\n i18nHourColumnHeader={this.i18nHourColumnHeader}\n i18nSecondColumnHeader={this.i18nSecondColumnHeader}\n i18nMinuteColumnHeader={this.i18nMinuteColumnHeader}\n i18nMillisecondColumnHeader={this.i18nMillisecondColumnHeader}\n onTimeSelect={(event: IxTimePickerCustomEvent<string>) => {\n this.onInput(event.detail);\n\n this.show = false;\n }}\n ></ix-time-picker>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"time-input.js","sourceRoot":"","sources":["../../../src/components/time-input/time-input.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;;;;;;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EACL,eAAe,EACf,SAAS,EACT,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,EACL,CAAC,GACF,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAEL,0CAA0C,EAC1C,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,uBAAuB,EAGvB,2BAA2B,EAC3B,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,EACL,aAAa,IAAI,iBAAiB,EAClC,mBAAmB,EACnB,eAAe,EACf,YAAY,IAAI,gBAAgB,GACjC,MAAM,kCAAkC,CAAC;AAE1C;;;;;GAKG;AAOH,MAAM,OAAO,SAAS;IANtB;QAoBE;;WAEG;QACqC,UAAK,GAAW,EAAE,CAAC;QAM3D;;;WAGG;QACK,WAAM,GAAW,IAAI,CAAC;QAsB9B;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAElC;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAsBlC;;WAEG;QACgD,4BAAuB,GACxE,mBAAmB,CAAC;QAEtB;;WAEG;QACK,iBAAY,GAAW,CAAC,CAAC;QAEjC;;WAEG;QACK,mBAAc,GAAW,CAAC,CAAC;QAEnC;;WAEG;QACK,mBAAc,GAAW,CAAC,CAAC;QAEnC;;WAEG;QACK,wBAAmB,GAAW,GAAG,CAAC;QAE1C;;WAEG;QACsC,mBA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n * LICENSE file in the root directory of this source tree.\n */\n\nimport { iconClock } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n Method,\n Prop,\n State,\n Watch,\n h,\n} from '@stencil/core';\nimport { DateTime } from 'luxon';\nimport { SlotEnd, SlotStart } from '../input/input.fc';\nimport {\n DisposableChangesAndVisibilityObservers,\n addDisposableChangesAndVisibilityObservers,\n adjustPaddingForStartAndEnd,\n handleSubmitOnEnterKeydown,\n} from '../input/input.util';\nimport {\n ClassMutationObserver,\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n createClassMutationObserver,\n getValidationText,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\nimport { IxTimePickerCustomEvent } from '../../components';\nimport type { TimeInputValidityState } from './time-input.types';\nimport {\n closeDropdown as closeDropdownUtil,\n createValidityState,\n handleIconClick,\n openDropdown as openDropdownUtil,\n} from '../utils/input/picker-input.util';\n\n/**\n * @since 3.2.0\n * @form-ready\n * @slot start - Element will be displayed at the start of the input\n * @slot end - Element will be displayed at the end of the input\n */\n@Component({\n tag: 'ix-time-input',\n styleUrl: 'time-input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class TimeInput implements IxInputFieldComponent<string> {\n @Element() hostElement!: HTMLIxTimeInputElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * Name of the input element\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Placeholder of the input element\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * Value of the input element\n */\n @Prop({ reflect: true, mutable: true }) value: string = '';\n\n @Watch('value') watchValuePropHandler(newValue: string) {\n this.onInput(newValue);\n }\n\n /**\n * Format of time string\n * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.\n */\n @Prop() format: string = 'TT';\n\n /**\n * Required attribute\n */\n @Prop() required?: boolean;\n\n /**\n * Helper text below the input field\n */\n @Prop() helperText?: string;\n\n /**\n * Label of the input field\n */\n @Prop() label?: string;\n\n /**\n * Error text below the input field\n */\n @Prop({ reflect: true }) invalidText?: string;\n\n /**\n * Readonly attribute\n */\n @Prop() readonly: boolean = false;\n\n /**\n * Disabled attribute\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Info text below the input field\n */\n @Prop() infoText?: string;\n\n /**\n * Warning text below the input field\n */\n @Prop() warningText?: string;\n\n /**\n * Valid text below the input field\n */\n @Prop() validText?: string;\n\n /**\n * Show text as tooltip\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * I18n string for the error message when the time is not parsable\n */\n @Prop({ attribute: 'i18n-error-time-unparsable' }) i18nErrorTimeUnparsable =\n 'Time is not valid';\n\n /**\n * Interval for hour selection\n */\n @Prop() hourInterval: number = 1;\n\n /**\n * Interval for minute selection\n */\n @Prop() minuteInterval: number = 1;\n\n /**\n * Interval for second selection\n */\n @Prop() secondInterval: number = 1;\n\n /**\n * Interval for millisecond selection\n */\n @Prop() millisecondInterval: number = 100;\n\n /**\n * Text of time-picker time select button\n */\n @Prop({ attribute: 'i18n-select-time' }) i18nSelectTime: string = 'Confirm';\n\n /**\n * Text for time-picker top label\n */\n @Prop({ attribute: 'i18n-time' }) i18nTime: string = 'Time';\n\n /**\n * Text for time-picker hour column header\n */\n @Prop({ attribute: 'i18n-hour-column-header' }) i18nHourColumnHeader: string =\n 'hr';\n\n /**\n * Text for time-picker minute column header\n */\n // eslint-disable-next-line @stencil-community/decorators-style\n @Prop({ attribute: 'i18n-minute-column-header' })\n i18nMinuteColumnHeader: string = 'min';\n\n /**\n * Text for time-picker second column header\n */\n // eslint-disable-next-line @stencil-community/decorators-style\n @Prop({ attribute: 'i18n-second-column-header' })\n i18nSecondColumnHeader: string = 'sec';\n\n /**\n * Text for time-picker millisecond column header\n */\n // eslint-disable-next-line @stencil-community/decorators-style\n @Prop({ attribute: 'i18n-millisecond-column-header' })\n i18nMillisecondColumnHeader: string = 'ms';\n\n /**\n * If false, pressing Enter will submit the form (if inside a form).\n * Set to true to suppress submit on Enter.\n */\n @Prop({ reflect: true }) suppressSubmitOnEnter: boolean = false;\n\n /**\n * Hides the header of the picker.\n *\n * @since 4.0.0\n */\n @Prop() hideHeader: boolean = false;\n\n /**\n * Text alignment within the time input. 'start' aligns the text to the start of the input, 'end' aligns the text to the end of the input.\n */\n @Prop() textAlignment: 'start' | 'end' = 'start';\n\n /**\n * Input change event.\n */\n @Event({ cancelable: false }) valueChange!: EventEmitter<string>;\n\n /**\n * Validation state change event.\n */\n @Event() validityStateChange!: EventEmitter<TimeInputValidityState>;\n\n /** @internal */\n @Event() ixFocus!: EventEmitter<void>;\n\n /** @internal */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() show = false;\n @State() time: string | null = null;\n @State() isInputInvalid = false;\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() focus = false;\n\n private readonly slotStartRef = makeRef<HTMLDivElement>();\n private readonly slotEndRef = makeRef<HTMLDivElement>();\n\n private readonly timePickerRef = makeRef<HTMLIxTimePickerElement>();\n\n private readonly inputElementRef = makeRef<HTMLInputElement>();\n private readonly dropdownElementRef = makeRef<HTMLIxDropdownElement>();\n private classObserver?: ClassMutationObserver;\n private invalidReason?: string;\n private touched = false;\n\n private disposableChangesAndVisibilityObservers?: DisposableChangesAndVisibilityObservers;\n\n private handleInputKeyDown(event: KeyboardEvent) {\n handleSubmitOnEnterKeydown(\n event,\n this.suppressSubmitOnEnter,\n this.formInternals.form\n );\n }\n\n updateFormInternalValue(value: string): void {\n this.formInternals.setFormValue(value);\n this.value = value;\n }\n\n connectedCallback(): void {\n this.classObserver = createClassMutationObserver(this.hostElement, () =>\n this.checkClassList()\n );\n\n this.disposableChangesAndVisibilityObservers =\n addDisposableChangesAndVisibilityObservers(\n this.hostElement,\n this.updatePaddings.bind(this)\n );\n }\n\n componentWillLoad(): void {\n if (!this.value) {\n const now = DateTime.now();\n if (now.isValid) {\n this.value = now.toFormat(this.format);\n }\n }\n\n this.onInput(this.value);\n if (this.isInputInvalid) {\n this.time = null;\n } else {\n this.watchValue();\n }\n\n this.checkClassList();\n this.updateFormInternalValue(this.value);\n }\n\n private updatePaddings() {\n adjustPaddingForStartAndEnd(\n this.slotStartRef.current,\n this.slotEndRef.current,\n this.inputElementRef.current\n );\n }\n\n disconnectedCallback(): void {\n this.classObserver?.destroy();\n this.disposableChangesAndVisibilityObservers?.();\n }\n\n @Watch('value')\n watchValue() {\n this.time = this.value;\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(!!this.value);\n }\n\n /** @internal */\n @Method()\n getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return Promise.resolve(this.formInternals.form);\n }\n\n async onInput(value: string) {\n this.value = value;\n if (!value) {\n this.isInputInvalid = false;\n this.updateFormInternalValue(value);\n this.valueChange.emit(value);\n return;\n }\n\n if (!this.format) {\n return;\n }\n\n const time = DateTime.fromFormat(value, this.format);\n if (time.isValid) {\n this.isInputInvalid = false;\n } else {\n this.isInputInvalid = true;\n this.invalidReason = time.invalidReason;\n }\n\n this.updateFormInternalValue(value);\n this.valueChange.emit(value);\n }\n\n onTimeIconClick(event: Event) {\n handleIconClick(\n event,\n this.show,\n () => this.openDropdown(),\n this.inputElementRef\n );\n }\n\n async openDropdown() {\n // keep picker in sync with input\n this.time = this.value;\n\n return openDropdownUtil(this.dropdownElementRef);\n }\n\n async closeDropdown() {\n return closeDropdownUtil(this.dropdownElementRef);\n }\n\n private checkClassList() {\n this.isInvalid = this.hostElement.classList.contains('ix-invalid');\n }\n\n private renderInput() {\n return (\n <div class=\"input-wrapper\">\n <SlotStart\n slotStartRef={this.slotStartRef}\n onSlotChange={() => this.updatePaddings()}\n ></SlotStart>\n <input\n autoComplete=\"off\"\n class={{\n 'is-invalid': this.isInputInvalid,\n }}\n style={{\n textAlign: this.textAlignment,\n }}\n disabled={this.disabled}\n readOnly={this.readonly}\n required={this.required}\n ref={this.inputElementRef}\n type=\"text\"\n value={this.value}\n placeholder={this.placeholder}\n name={this.name}\n onInput={(event) => {\n const target = event.target as HTMLInputElement;\n this.onInput(target.value);\n }}\n onClick={(event) => {\n if (this.show) {\n event.stopPropagation();\n event.preventDefault();\n }\n }}\n onFocus={async () => {\n this.openDropdown();\n this.ixFocus.emit();\n }}\n onBlur={() => {\n this.ixBlur.emit();\n this.touched = true;\n }}\n onKeyDown={(event) => this.handleInputKeyDown(event)}\n ></input>\n <SlotEnd\n slotEndRef={this.slotEndRef}\n onSlotChange={() => this.updatePaddings()}\n >\n <ix-icon-button\n data-testid=\"open-time-picker\"\n class={{ 'time-icon-hidden': this.disabled || this.readonly }}\n variant=\"subtle-tertiary\"\n icon={iconClock}\n onClick={(event) => this.onTimeIconClick(event)}\n aria-label=\"Toggle time picker\"\n aria-expanded={this.show}\n ></ix-icon-button>\n </SlotEnd>\n </div>\n );\n }\n\n @HookValidationLifecycle()\n hookValidationLifecycle({\n isInfo,\n isInvalid,\n isInvalidByRequired,\n isValid,\n isWarning,\n }: ValidationResults) {\n this.isInvalid = isInvalid || isInvalidByRequired || this.isInputInvalid;\n this.isInfo = isInfo;\n this.isValid = isValid;\n this.isWarning = isWarning;\n }\n\n @Watch('isInputInvalid')\n async onInputValidationChange() {\n const state = await this.getValidityState();\n this.validityStateChange.emit({\n patternMismatch: state.patternMismatch,\n invalidReason: this.invalidReason,\n });\n }\n\n /** @internal */\n @Method()\n getValidityState(): Promise<ValidityState> {\n return Promise.resolve(\n createValidityState(this.isInputInvalid, !!this.required, this.value)\n );\n }\n\n /**\n * Get the native input element\n */\n @Method()\n getNativeInputElement(): Promise<HTMLInputElement> {\n return this.inputElementRef.waitForCurrent();\n }\n\n /**\n * Focuses the input field\n */\n @Method()\n async focusInput(): Promise<void> {\n return (await this.getNativeInputElement()).focus();\n }\n\n /**\n * Returns whether the text field has been touched.\n * @internal\n */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n const invalidText = getValidationText(\n this.isInputInvalid,\n this.invalidText,\n this.i18nErrorTimeUnparsable\n );\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n label={this.label}\n helperText={this.helperText}\n isInvalid={this.isInvalid}\n invalidText={invalidText}\n infoText={this.infoText}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n warningText={this.warningText}\n isValid={this.isValid}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n required={this.required}\n controlRef={this.inputElementRef}\n >\n {this.renderInput()}\n </ix-field-wrapper>\n <ix-dropdown\n data-testid=\"time-dropdown\"\n trigger={this.inputElementRef.waitForCurrent()}\n ref={this.dropdownElementRef}\n closeBehavior=\"outside\"\n suppressOverflowBehavior={true}\n show={this.show}\n onShowChanged={(event) => {\n this.show = event.detail;\n }}\n >\n <ix-time-picker\n ref={this.timePickerRef}\n format={this.format}\n time={this.time ?? ''}\n hourInterval={this.hourInterval}\n minuteInterval={this.minuteInterval}\n secondInterval={this.secondInterval}\n millisecondInterval={this.millisecondInterval}\n embedded\n hideHeader={this.hideHeader}\n i18nConfirmTime={this.i18nSelectTime}\n i18nHeader={this.i18nTime}\n i18nHourColumnHeader={this.i18nHourColumnHeader}\n i18nSecondColumnHeader={this.i18nSecondColumnHeader}\n i18nMinuteColumnHeader={this.i18nMinuteColumnHeader}\n i18nMillisecondColumnHeader={this.i18nMillisecondColumnHeader}\n onTimeSelect={(event: IxTimePickerCustomEvent<string>) => {\n this.onInput(event.detail);\n\n this.show = false;\n }}\n ></ix-time-picker>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -694,7 +694,7 @@ input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active {
|
|
|
694
694
|
display: flex;
|
|
695
695
|
align-items: center;
|
|
696
696
|
justify-content: center;
|
|
697
|
-
height:
|
|
697
|
+
height: 2rem;
|
|
698
698
|
}
|
|
699
699
|
:host .clock {
|
|
700
700
|
display: flex;
|
|
@@ -711,7 +711,6 @@ input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active {
|
|
|
711
711
|
flex-direction: column;
|
|
712
712
|
align-items: center;
|
|
713
713
|
justify-content: space-around;
|
|
714
|
-
margin-top: 1px;
|
|
715
714
|
}
|
|
716
715
|
:host .clock .flex .columns .column-header {
|
|
717
716
|
height: 2.5rem;
|
|
@@ -723,26 +722,29 @@ input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active {
|
|
|
723
722
|
overflow: hidden;
|
|
724
723
|
white-space: nowrap;
|
|
725
724
|
}
|
|
726
|
-
:host .clock .flex .column-
|
|
725
|
+
:host .clock .flex .column-separator {
|
|
727
726
|
display: flex;
|
|
728
727
|
align-items: center;
|
|
729
|
-
|
|
728
|
+
justify-content: center;
|
|
730
729
|
min-height: 100%;
|
|
731
|
-
margin-top:
|
|
730
|
+
margin-top: 3rem;
|
|
731
|
+
width: 0.5rem;
|
|
732
732
|
}
|
|
733
733
|
:host .clock .element-list {
|
|
734
734
|
list-style-type: none;
|
|
735
735
|
overflow: auto;
|
|
736
|
-
|
|
737
|
-
|
|
736
|
+
padding: 0.0625rem;
|
|
737
|
+
margin: -0.0625rem;
|
|
738
|
+
max-height: 15.75rem;
|
|
738
739
|
}
|
|
739
740
|
:host .clock .element-list button {
|
|
740
741
|
all: unset;
|
|
741
742
|
}
|
|
742
743
|
:host .clock .element-list .element-container {
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
744
|
+
box-sizing: border-box;
|
|
745
|
+
width: 2.5rem;
|
|
746
|
+
height: 2.5rem;
|
|
747
|
+
margin-bottom: 0.125rem;
|
|
746
748
|
display: flex;
|
|
747
749
|
justify-content: center;
|
|
748
750
|
align-items: center;
|
|
@@ -752,21 +754,24 @@ input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active {
|
|
|
752
754
|
:host .clock .element-list .element-container:hover {
|
|
753
755
|
background-color: var(--theme-datepicker-day--background--hover);
|
|
754
756
|
}
|
|
755
|
-
:host .clock .element-list .element-container:focus {
|
|
756
|
-
|
|
757
|
-
outline-offset: 1px;
|
|
757
|
+
:host .clock .element-list .element-container:focus-visible {
|
|
758
|
+
box-shadow: 0 0 0 1px var(--theme-color-focus-bdr);
|
|
758
759
|
}
|
|
759
760
|
:host .clock .element-list .selected {
|
|
760
761
|
background-color: var(--theme-datepicker-day--background--selected);
|
|
761
762
|
color: var(--theme-datepicker-day--color--selected);
|
|
763
|
+
font-weight: var(--theme-font-weight-bold);
|
|
762
764
|
}
|
|
763
765
|
:host .clock .element-list .selected:hover {
|
|
764
766
|
background-color: var(--theme-datepicker-day--background--selected-hover);
|
|
765
767
|
}
|
|
768
|
+
:host .clock .element-list .selected:focus-visible {
|
|
769
|
+
border: 0.0625rem solid var(--theme-color-inv-contrast-text);
|
|
770
|
+
}
|
|
766
771
|
:host .clock .element-list .element-list-padding {
|
|
767
772
|
width: 2.5rem;
|
|
768
|
-
height:
|
|
769
|
-
min-height:
|
|
773
|
+
height: 13.125rem;
|
|
774
|
+
min-height: 13.125rem;
|
|
770
775
|
}
|
|
771
776
|
:host .clock div.element-list {
|
|
772
777
|
scrollbar-width: none;
|
|
@@ -791,46 +796,9 @@ input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active {
|
|
|
791
796
|
:host .footer--compact .confirm-button {
|
|
792
797
|
margin-left: initial;
|
|
793
798
|
}
|
|
794
|
-
:host .footer .time-ref-buttons--datetime-picker-appearance {
|
|
795
|
-
margin-left: auto;
|
|
796
|
-
}
|
|
797
|
-
:host .footer .time-ref-buttons button {
|
|
798
|
-
all: unset;
|
|
799
|
-
width: 2.625rem;
|
|
800
|
-
height: 1.875rem;
|
|
801
|
-
text-align: center;
|
|
802
|
-
border: 1px solid var(--theme-color-primary);
|
|
803
|
-
color: var(--theme-color-primary);
|
|
804
|
-
background-color: var(--theme-color-secondary);
|
|
805
|
-
font-weight: 700;
|
|
806
|
-
}
|
|
807
|
-
:host .footer .time-ref-buttons button:focus {
|
|
808
|
-
outline: 1px solid var(--theme-color-focus-bdr);
|
|
809
|
-
outline-offset: var(--theme-btn--focus--outline-offset);
|
|
810
|
-
}
|
|
811
|
-
:host .footer .time-ref-buttons button:hover {
|
|
812
|
-
cursor: pointer;
|
|
813
|
-
background-color: var(--theme-color-secondary-hover);
|
|
814
|
-
border-color: var(--theme-btn-primary--background--hover);
|
|
815
|
-
}
|
|
816
|
-
:host .footer .time-ref-buttons button.selected {
|
|
817
|
-
color: var(--theme-color-secondary);
|
|
818
|
-
background-color: var(--theme-btn-primary--background);
|
|
819
|
-
}
|
|
820
|
-
:host .footer .time-ref-buttons button.selected:hover {
|
|
821
|
-
background-color: var(--theme-btn-primary--background--hover);
|
|
822
|
-
border-color: var(--theme-btn-primary--background--hover);
|
|
823
|
-
}
|
|
824
799
|
:host .default-space {
|
|
825
800
|
margin-left: 1rem;
|
|
826
801
|
}
|
|
827
802
|
:host .text-align {
|
|
828
803
|
text-align: center;
|
|
829
|
-
}
|
|
830
|
-
:host .hidden {
|
|
831
|
-
display: none;
|
|
832
|
-
}
|
|
833
|
-
:host .time-reference {
|
|
834
|
-
margin-top: 0.5rem;
|
|
835
|
-
margin-bottom: 0.5rem;
|
|
836
804
|
}
|