@siemens/ix-docs 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/component-usage-by-component.json +38 -30
- package/build/component-usage.json +21 -9
- package/build/docs/autogenerated/api/ix-date-input/api.mdx +45 -0
- package/build/docs/autogenerated/api/ix-date-input/props.mdx +45 -0
- package/build/docs/autogenerated/api/ix-input/api.mdx +45 -0
- package/build/docs/autogenerated/api/ix-input/props.mdx +45 -0
- package/build/docs/autogenerated/api/ix-number-input/api.mdx +77 -5
- package/build/docs/autogenerated/api/ix-number-input/props.mdx +77 -5
- package/build/docs/autogenerated/api/ix-pagination/api.mdx +24 -0
- package/build/docs/autogenerated/api/ix-pagination/props.mdx +24 -0
- package/build/docs/autogenerated/api/ix-select/api.mdx +48 -0
- package/build/docs/autogenerated/api/ix-select/props.mdx +48 -0
- package/build/docs/autogenerated/api/ix-split-button/api.mdx +46 -0
- package/build/docs/autogenerated/api/ix-split-button/props.mdx +46 -0
- package/build/docs/autogenerated/api/ix-time-input/api.mdx +45 -0
- package/build/docs/autogenerated/api/ix-time-input/props.mdx +45 -0
- package/build/docs/autogenerated/api/ix-time-picker/api.mdx +1 -5
- package/build/docs/autogenerated/api/ix-time-picker/props.mdx +1 -5
- package/build/docs/autogenerated/api/ix-tooltip/api.mdx +1 -1
- package/build/docs/autogenerated/api/ix-tooltip/slots.mdx +1 -1
- package/build/docs/autogenerated/playground/modal-close.mdx +52 -0
- package/build/docs/autogenerated/playground/split-button.mdx +15 -0
- package/build/docs/autogenerated/playground/tooltip-with-icon.mdx +52 -0
- package/build/docs/autogenerated/prompt/ix-action-card/readme.md +0 -161
- package/build/docs/autogenerated/prompt/ix-application/readme.md +0 -2215
- package/build/docs/autogenerated/prompt/ix-application-header/readme.md +0 -2255
- package/build/docs/autogenerated/prompt/ix-avatar/readme.md +0 -1666
- package/build/docs/autogenerated/prompt/ix-blind/readme.md +0 -644
- package/build/docs/autogenerated/prompt/ix-breadcrumb/readme.md +0 -327
- package/build/docs/autogenerated/prompt/ix-breadcrumb-item/readme.md +0 -327
- package/build/docs/autogenerated/prompt/ix-button/readme.md +0 -7821
- package/build/docs/autogenerated/prompt/ix-card/readme.md +0 -225
- package/build/docs/autogenerated/prompt/ix-card-accordion/readme.md +0 -23
- package/build/docs/autogenerated/prompt/ix-card-content/readme.md +0 -225
- package/build/docs/autogenerated/prompt/ix-card-list/readme.md +0 -424
- package/build/docs/autogenerated/prompt/ix-card-title/readme.md +0 -23
- package/build/docs/autogenerated/prompt/ix-category-filter/readme.md +0 -330
- package/build/docs/autogenerated/prompt/ix-checkbox/readme.md +0 -1094
- package/build/docs/autogenerated/prompt/ix-checkbox-group/readme.md +0 -884
- package/build/docs/autogenerated/prompt/ix-chip/readme.md +0 -297
- package/build/docs/autogenerated/prompt/ix-col/readme.md +0 -2152
- package/build/docs/autogenerated/prompt/ix-content/readme.md +0 -1614
- package/build/docs/autogenerated/prompt/ix-content-header/readme.md +0 -2105
- package/build/docs/autogenerated/prompt/ix-custom-field/readme.md +0 -516
- package/build/docs/autogenerated/prompt/ix-date-dropdown/readme.md +0 -379
- package/build/docs/autogenerated/prompt/ix-date-input/readme.md +2 -954
- package/build/docs/autogenerated/prompt/ix-date-picker/readme.md +0 -389
- package/build/docs/autogenerated/prompt/ix-datetime-picker/readme.md +0 -82
- package/build/docs/autogenerated/prompt/ix-divider/readme.md +0 -459
- package/build/docs/autogenerated/prompt/ix-drawer/readme.md +0 -264
- package/build/docs/autogenerated/prompt/ix-dropdown/readme.md +0 -975
- package/build/docs/autogenerated/prompt/ix-dropdown-button/readme.md +0 -1382
- package/build/docs/autogenerated/prompt/ix-dropdown-header/readme.md +0 -156
- package/build/docs/autogenerated/prompt/ix-dropdown-item/readme.md +0 -2558
- package/build/docs/autogenerated/prompt/ix-dropdown-quick-actions/readme.md +0 -243
- package/build/docs/autogenerated/prompt/ix-empty-state/readme.md +0 -843
- package/build/docs/autogenerated/prompt/ix-event-list/readme.md +0 -710
- package/build/docs/autogenerated/prompt/ix-event-list-item/readme.md +0 -391
- package/build/docs/autogenerated/prompt/ix-expanding-search/readme.md +0 -86
- package/build/docs/autogenerated/prompt/ix-field-label/readme.md +0 -404
- package/build/docs/autogenerated/prompt/ix-filter-chip/readme.md +0 -23
- package/build/docs/autogenerated/prompt/ix-flip-tile/readme.md +0 -419
- package/build/docs/autogenerated/prompt/ix-flip-tile-content/readme.md +0 -419
- package/build/docs/autogenerated/prompt/ix-group/readme.md +0 -452
- package/build/docs/autogenerated/prompt/ix-group-context-menu/readme.md +0 -23
- package/build/docs/autogenerated/prompt/ix-group-item/readme.md +0 -452
- package/build/docs/autogenerated/prompt/ix-helper-text/readme.md +0 -23
- package/build/docs/autogenerated/prompt/ix-icon-button/readme.md +0 -1757
- package/build/docs/autogenerated/prompt/ix-icon-toggle-button/readme.md +0 -1017
- package/build/docs/autogenerated/prompt/ix-input/readme.md +0 -3
- package/build/docs/autogenerated/prompt/ix-input-group/readme.md +0 -23
- package/build/docs/autogenerated/prompt/ix-key-value/readme.md +0 -1020
- package/build/docs/autogenerated/prompt/ix-key-value-list/readme.md +0 -669
- package/build/docs/autogenerated/prompt/ix-kpi/readme.md +0 -177
- package/build/docs/autogenerated/prompt/ix-layout-auto/readme.md +0 -506
- package/build/docs/autogenerated/prompt/ix-layout-grid/readme.md +0 -3156
- package/build/docs/autogenerated/prompt/ix-link-button/readme.md +0 -169
- package/build/docs/autogenerated/prompt/ix-menu/readme.md +0 -2676
- package/build/docs/autogenerated/prompt/ix-menu-about/readme.md +0 -806
- package/build/docs/autogenerated/prompt/ix-menu-about-item/readme.md +0 -395
- package/build/docs/autogenerated/prompt/ix-menu-about-news/readme.md +0 -191
- package/build/docs/autogenerated/prompt/ix-menu-avatar/readme.md +0 -227
- package/build/docs/autogenerated/prompt/ix-menu-avatar-item/readme.md +0 -227
- package/build/docs/autogenerated/prompt/ix-menu-category/readme.md +0 -593
- package/build/docs/autogenerated/prompt/ix-menu-item/readme.md +0 -2075
- package/build/docs/autogenerated/prompt/ix-menu-settings/readme.md +0 -643
- package/build/docs/autogenerated/prompt/ix-menu-settings-item/readme.md +0 -232
- package/build/docs/autogenerated/prompt/ix-message-bar/readme.md +0 -154
- package/build/docs/autogenerated/prompt/ix-modal/readme.md +0 -23
- package/build/docs/autogenerated/prompt/ix-modal-content/readme.md +0 -547
- package/build/docs/autogenerated/prompt/ix-modal-footer/readme.md +0 -547
- package/build/docs/autogenerated/prompt/ix-modal-header/readme.md +0 -547
- package/build/docs/autogenerated/prompt/ix-number-input/readme.md +0 -3
- package/build/docs/autogenerated/prompt/ix-pagination/readme.md +15 -177
- package/build/docs/autogenerated/prompt/ix-pane/readme.md +0 -567
- package/build/docs/autogenerated/prompt/ix-pane-layout/readme.md +0 -325
- package/build/docs/autogenerated/prompt/ix-pill/readme.md +0 -945
- package/build/docs/autogenerated/prompt/ix-progress-indicator/readme.md +0 -1899
- package/build/docs/autogenerated/prompt/ix-push-card/readme.md +0 -712
- package/build/docs/autogenerated/prompt/ix-radio/readme.md +0 -1242
- package/build/docs/autogenerated/prompt/ix-radio-group/readme.md +0 -1010
- package/build/docs/autogenerated/prompt/ix-row/readme.md +0 -3156
- package/build/docs/autogenerated/prompt/ix-select/readme.md +7 -2046
- package/build/docs/autogenerated/prompt/ix-select-item/readme.md +0 -1188
- package/build/docs/autogenerated/prompt/ix-slider/readme.md +0 -724
- package/build/docs/autogenerated/prompt/ix-spinner/readme.md +0 -151
- package/build/docs/autogenerated/prompt/ix-split-button/readme.md +2 -227
- package/build/docs/autogenerated/prompt/ix-tab-item/readme.md +0 -383
- package/build/docs/autogenerated/prompt/ix-tabs/readme.md +0 -383
- package/build/docs/autogenerated/prompt/ix-textarea/readme.md +0 -870
- package/build/docs/autogenerated/prompt/ix-tile/readme.md +0 -268
- package/build/docs/autogenerated/prompt/ix-time-input/readme.md +30 -789
- package/build/docs/autogenerated/prompt/ix-time-picker/readme.md +17 -355
- package/build/docs/autogenerated/prompt/ix-toast/readme.md +0 -23
- package/build/docs/autogenerated/prompt/ix-toast-container/readme.md +0 -593
- package/build/docs/autogenerated/prompt/ix-toggle/readme.md +0 -373
- package/build/docs/autogenerated/prompt/ix-toggle-button/readme.md +0 -689
- package/build/docs/autogenerated/prompt/ix-tooltip/readme.md +4 -177
- package/build/docs/autogenerated/prompt/ix-tree/readme.md +0 -850
- package/build/docs/autogenerated/prompt/ix-tree-item/readme.md +0 -23
- package/build/docs/autogenerated/prompt/ix-typography/readme.md +0 -1995
- package/build/docs/autogenerated/prompt/ix-upload/readme.md +0 -82
- package/build/docs/autogenerated/prompt/ix-validation-tooltip/readme.md +0 -23
- package/build/docs/autogenerated/prompt/ix-workflow-step/readme.md +0 -246
- package/build/docs/autogenerated/prompt/ix-workflow-steps/readme.md +0 -246
- package/build/docs/autogenerated/usage/angular/blind-variants.html.md +2 -2
- package/build/docs/autogenerated/usage/angular/loading.ts.md +6 -2
- package/build/docs/autogenerated/usage/angular/message.ts.md +4 -2
- package/build/docs/autogenerated/usage/angular/modal-close.html.md +5 -0
- package/build/docs/autogenerated/usage/angular/modal-close.ts.md +24 -0
- package/build/docs/autogenerated/usage/angular/pane-layout.html.md +1 -1
- package/build/docs/autogenerated/usage/angular/split-button.css.md +9 -0
- package/build/docs/autogenerated/usage/angular/split-button.ts.md +15 -0
- package/build/docs/autogenerated/usage/angular/theme-switcher.html.md +12 -12
- package/build/docs/autogenerated/usage/angular/theme-switcher.ts.md +32 -14
- package/build/docs/autogenerated/usage/angular/tooltip-with-icon.html.md +8 -0
- package/build/docs/autogenerated/usage/angular/tooltip-with-icon.ts.md +11 -0
- package/build/docs/autogenerated/usage/angular_standalone/blind-variants.html.md +2 -2
- package/build/docs/autogenerated/usage/angular_standalone/loading.ts.md +6 -4
- package/build/docs/autogenerated/usage/angular_standalone/message.ts.md +4 -4
- package/build/docs/autogenerated/usage/angular_standalone/modal-by-instance.ts.md +1 -2
- package/build/docs/autogenerated/usage/angular_standalone/modal-by-template.ts.md +6 -3
- package/build/docs/autogenerated/usage/angular_standalone/modal-close.html.md +5 -0
- package/build/docs/autogenerated/usage/angular_standalone/modal-close.ts.md +26 -0
- package/build/docs/autogenerated/usage/angular_standalone/modal-sizes.ts.md +2 -2
- package/build/docs/autogenerated/usage/angular_standalone/pane-layout.html.md +1 -1
- package/build/docs/autogenerated/usage/angular_standalone/split-button.css.md +9 -0
- package/build/docs/autogenerated/usage/angular_standalone/split-button.ts.md +25 -0
- package/build/docs/autogenerated/usage/angular_standalone/theme-switcher.html.md +12 -7
- package/build/docs/autogenerated/usage/angular_standalone/theme-switcher.ts.md +36 -16
- package/build/docs/autogenerated/usage/angular_standalone/toast-custom.ts.md +2 -3
- package/build/docs/autogenerated/usage/angular_standalone/toast-position.ts.md +2 -3
- package/build/docs/autogenerated/usage/angular_standalone/toast.ts.md +2 -3
- package/build/docs/autogenerated/usage/angular_standalone/tooltip-with-icon.html.md +8 -0
- package/build/docs/autogenerated/usage/angular_standalone/tooltip-with-icon.ts.md +12 -0
- package/build/docs/autogenerated/usage/html/blind-variants.html.md +2 -2
- package/build/docs/autogenerated/usage/html/modal-close.html.md +89 -0
- package/build/docs/autogenerated/usage/html/pane-layout.html.md +1 -1
- package/build/docs/autogenerated/usage/html/split-button.css.md +9 -0
- package/build/docs/autogenerated/usage/html/split-button.html.md +31 -4
- package/build/docs/autogenerated/usage/html/theme-switcher.html.md +66 -40
- package/build/docs/autogenerated/usage/html/tooltip-with-icon.html.md +31 -0
- package/build/docs/autogenerated/usage/react/blind-variants.tsx.md +2 -2
- package/build/docs/autogenerated/usage/react/datepicker.tsx.md +1 -1
- package/build/docs/autogenerated/usage/react/input.tsx.md +90 -2
- package/build/docs/autogenerated/usage/react/loading.tsx.md +3 -3
- package/build/docs/autogenerated/usage/react/message.tsx.md +1 -2
- package/build/docs/autogenerated/usage/react/modal-close.tsx.md +52 -0
- package/build/docs/autogenerated/usage/react/pane-layout.tsx.md +1 -1
- package/build/docs/autogenerated/usage/react/split-button.scoped.css.md +9 -0
- package/build/docs/autogenerated/usage/react/split-button.tsx.md +19 -4
- package/build/docs/autogenerated/usage/react/theme-switcher.tsx.md +48 -31
- package/build/docs/autogenerated/usage/react/tooltip-with-icon.tsx.md +23 -0
- package/build/docs/autogenerated/usage/react/tooltip.tsx.md +1 -1
- package/build/docs/autogenerated/usage/vue/blind-variants.vue.md +2 -2
- package/build/docs/autogenerated/usage/vue/loading.vue.md +3 -5
- package/build/docs/autogenerated/usage/vue/message.vue.md +1 -2
- package/build/docs/autogenerated/usage/vue/modal-close.vue.md +41 -0
- package/build/docs/autogenerated/usage/vue/pane-layout.vue.md +1 -1
- package/build/docs/autogenerated/usage/vue/split-button.css.md +9 -0
- package/build/docs/autogenerated/usage/vue/split-button.vue.md +20 -4
- package/build/docs/autogenerated/usage/vue/theme-switcher.vue.md +50 -39
- package/build/docs/autogenerated/usage/vue/tooltip-with-icon.vue.md +17 -0
- package/build/docs/autogenerated/utils/modal-service.mdx +18 -0
- package/build/docs/autogenerated/version.json +1 -1
- package/build/static/demo/v2/angular/blind-variants.html +2 -2
- package/build/static/demo/v2/angular/loading.ts +6 -2
- package/build/static/demo/v2/angular/message.ts +4 -2
- package/build/static/demo/v2/angular/modal-close.html +3 -0
- package/build/static/demo/v2/angular/modal-close.ts +31 -0
- package/build/static/demo/v2/angular/pane-layout.html +1 -1
- package/build/static/demo/v2/angular/split-button.css +7 -0
- package/build/static/demo/v2/angular/split-button.ts +15 -0
- package/build/static/demo/v2/angular/theme-switcher.html +12 -12
- package/build/static/demo/v2/angular/theme-switcher.ts +32 -14
- package/build/static/demo/v2/angular/tooltip-with-icon.html +15 -0
- package/build/static/demo/v2/angular/tooltip-with-icon.ts +18 -0
- package/build/static/demo/v2/angular_standalone/blind-variants.html +2 -2
- package/build/static/demo/v2/angular_standalone/loading.ts +6 -4
- package/build/static/demo/v2/angular_standalone/message.ts +4 -4
- package/build/static/demo/v2/angular_standalone/modal-by-instance.ts +1 -2
- package/build/static/demo/v2/angular_standalone/modal-by-template.ts +6 -3
- package/build/static/demo/v2/angular_standalone/modal-close.html +3 -0
- package/build/static/demo/v2/angular_standalone/modal-close.ts +33 -0
- package/build/static/demo/v2/angular_standalone/modal-sizes.ts +2 -2
- package/build/static/demo/v2/angular_standalone/pane-layout.html +1 -1
- package/build/static/demo/v2/angular_standalone/split-button.css +7 -0
- package/build/static/demo/v2/angular_standalone/split-button.ts +25 -0
- package/build/static/demo/v2/angular_standalone/theme-switcher.html +12 -7
- package/build/static/demo/v2/angular_standalone/theme-switcher.ts +36 -16
- package/build/static/demo/v2/angular_standalone/toast-custom.ts +2 -3
- package/build/static/demo/v2/angular_standalone/toast-position.ts +2 -3
- package/build/static/demo/v2/angular_standalone/toast.ts +2 -3
- package/build/static/demo/v2/angular_standalone/tooltip-with-icon.html +15 -0
- package/build/static/demo/v2/angular_standalone/tooltip-with-icon.ts +19 -0
- package/build/static/demo/v2/html/blind-variants.html +2 -2
- package/build/static/demo/v2/html/init.js +6 -1
- package/build/static/demo/v2/html/modal-close.html +96 -0
- package/build/static/demo/v2/html/pane-layout.html +1 -1
- package/build/static/demo/v2/html/split-button.css +7 -0
- package/build/static/demo/v2/html/split-button.html +31 -4
- package/build/static/demo/v2/html/theme-switcher.html +66 -40
- package/build/static/demo/v2/html/tooltip-with-icon.html +38 -0
- package/build/static/demo/v2/preview/html/assets/{action-card-Dw2pNzBu.js → action-card-CB-gzJ_Q.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/add-icons-AZEiYMeG.js +8 -0
- package/build/static/demo/v2/preview/html/assets/{aggrid-stm1co_o.js → aggrid-iw_rXkKb.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{content-ButyeWZ9.js → application-CSw_Tw4d.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{application-advanced-CvIYn0d6.js → application-advanced-BFTpPq5K.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{application-app-switch-BtSAsRko.js → application-app-switch-BLFSh2St.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{application-breakpoints-BLxMID17.js → application-breakpoints-M4NDpHEZ.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/application-header-BFu10k0F.js +7 -0
- package/build/static/demo/v2/preview/html/assets/{base-button-TVpiK7pg-CrZ9rI2r.js → base-button-TVpiK7pg-D1GFEOtD.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{base-icon-button-B3ULQ24g-DicmKnLr.js → base-icon-button-B3ULQ24g-D6Y0oA6J.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/blind-CeOOGI6N.js +3 -0
- package/build/static/demo/v2/preview/html/assets/{blind-header-actions-CD7JORu7.js → blind-header-actions-CD6Gphpn.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/blind-variants-CYLuON9n.js +8 -0
- package/build/static/demo/v2/preview/html/assets/button-danger-CYB-hhAB.js +3 -0
- package/build/static/demo/v2/preview/html/assets/button-danger-ghost-DZq4k5LB.js +3 -0
- package/build/static/demo/v2/preview/html/assets/button-danger-outline-co7cZcbz.js +3 -0
- package/build/static/demo/v2/preview/html/assets/button-ghost-CIiL-JYL.js +3 -0
- package/build/static/demo/v2/preview/html/assets/button-grey-CA4ipPeb.js +3 -0
- package/build/static/demo/v2/preview/html/assets/button-grey-ghost-4WZ_mS9z.js +3 -0
- package/build/static/demo/v2/preview/html/assets/button-grey-secondary-BXgdSuY-.js +3 -0
- package/build/static/demo/v2/preview/html/assets/button-loading-DIT1dDkg.js +8 -0
- package/build/static/demo/v2/preview/html/assets/button-secondary-DrpQeI2d.js +3 -0
- package/build/static/demo/v2/preview/html/assets/{button-text-icon-BKwr7t7I.js → button-text-icon-Do_2wTx7.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{button-with-icon-CR2CNDXh.js → button-with-icon-BCDQ1oyK.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{button-with-link-la60ODdJ.js → button-with-link-DPF9vbWR.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/buttons-D6_MWunM.js +3 -0
- package/build/static/demo/v2/preview/html/assets/{card-BhZOxag_.js → card-Df1X6I4i.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/card-list-BSlk4OVg.js +8 -0
- package/build/static/demo/v2/preview/html/assets/chip-DJu14i7R.js +8 -0
- package/build/static/demo/v2/preview/html/assets/{application-ButyeWZ9.js → content-CSw_Tw4d.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{content-header-no-back-KjJmtLjj.js → content-header-no-back-DO-uPSyX.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/content-header-with-slot-DFBm3Vch.js +8 -0
- package/build/static/demo/v2/preview/html/assets/custom-field-DnwqLsOz.js +7 -0
- package/build/static/demo/v2/preview/html/assets/date-input-with-slots-38hHXOp0.js +7 -0
- package/build/static/demo/v2/preview/html/assets/dropdown-button-BzG8mapa.js +8 -0
- package/build/static/demo/v2/preview/html/assets/{dropdown-button-icon-BkwgRGlI.js → dropdown-button-icon-Bbh2Iw63.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{dropdown-icon-DKJGUm-A.js → dropdown-icon-7mN76tIq.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{dropdown-quick-actions-BmaZLOvY.js → dropdown-quick-actions-XfPDTRRp.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{dropdown-submenu-BRhsqwYL.js → dropdown-submenu-CWPLN0LX.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-BKN6Y_SM.js → echarts-KamWStZW.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-bar-horizontal-stacked-42yPKVos.js → echarts-bar-horizontal-stacked-BwVasNtv.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-bar-simple-xxA7miQv.js → echarts-bar-simple-BlAQMkSl.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-circle-CqfpklkY.js → echarts-circle-BgKntj1X.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-empty-state-DYyiIa6V.js → echarts-empty-state-CAVDyWZm.js} +4 -4
- package/build/static/demo/v2/preview/html/assets/{echarts-gauge-HKEvOV9Y.js → echarts-gauge-LtHvhB0l.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-line-advanced-D1flxolI.js → echarts-line-advanced-B5KTnn1l.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-line-multiple-y-axis-TyHtzcyy.js → echarts-line-multiple-y-axis-u9QBBo_6.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-line-simple-D5ul34KJ.js → echarts-line-simple-DBBP62VI.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-pie-kEQohHLy.js → echarts-pie-un-urTdl.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-progress-arc-KVw_gYIu.js → echarts-progress-arc-CvL17bby.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-progress-circle-BkOkjMss.js → echarts-progress-circle-CHcRVtJh.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-special-3d-Bjo6mLDS.js → echarts-special-3d-CylfB8Ab.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-special-toolbox-C2Tmf9Av.js → echarts-special-toolbox-BO-bT5BI.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{echarts-special-zoom-Dm5Uk2xP.js → echarts-special-zoom-CqJb0-x_.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/empty-state-CtQLTPZu.js +7 -0
- package/build/static/demo/v2/preview/html/assets/empty-state-compact-CtQLTPZu.js +7 -0
- package/build/static/demo/v2/preview/html/assets/empty-state-compact-break-CtQLTPZu.js +7 -0
- package/build/static/demo/v2/preview/html/assets/{event-list-custom-item-height-in-number-CTxgMq3H.js → event-list-custom-item-height-in-number-CDPm1bCX.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{event-list-filled-xcXexGqh.js → event-list-filled-VETLpbFU.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{event-list-selected-ByM_I00Z.js → event-list-selected-C40WiW77.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/flip-tile-BA208i_1.js +8 -0
- package/build/static/demo/v2/preview/html/assets/form-checkbox-group-indeterminate-WVFZn11v.js +3 -0
- package/build/static/demo/v2/preview/html/assets/form-layout-grid-D5gpxO-i.js +3 -0
- package/build/static/demo/v2/preview/html/assets/{global-C4VcfMUP.css → global-DdOw2HJU.css} +2 -5
- package/build/static/demo/v2/preview/html/assets/{global-CTsFSACc.js → global-ZjnNkmge.js} +177 -177
- package/build/static/demo/v2/preview/html/assets/grid-D76wZ_Xr.js +3 -0
- package/build/static/demo/v2/preview/html/assets/grid-padding-jV-GKYQK.js +3 -0
- package/build/static/demo/v2/preview/html/assets/grid-size-D-nIJRju.js +3 -0
- package/build/static/demo/v2/preview/html/assets/{helper-text-util-BurV4TiQ-BLIK7tug.js → helper-text-util-gKdL-wH2-DjRdMI6l.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{icon-toggle-button-primary-ghost-DHDMR82n.js → icon-toggle-button-primary-ghost-Bmv5Jzd5.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{icon-toggle-button-primary-outline-DM30ye5q.js → icon-toggle-button-primary-outline-B3hNCZW-.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{icon-toggle-button-secondary-CUfu54Bo.js → icon-toggle-button-secondary-B4D4QnOC.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{icon-toggle-button-secondary-ghost-D5fuztnt.js → icon-toggle-button-secondary-ghost-B-HtbIn6.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{icon-toggle-button-secondary-outline-usHpFIes.js → icon-toggle-button-secondary-outline-DOp1MAKc.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{index-B_t9lqyT.js → index-B17Un7ch.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/index-CvHqii5a.js +4 -0
- package/build/static/demo/v2/preview/html/assets/{init-D1W8HyUe.js → init-BQGyn6XV.js} +7 -3
- package/build/static/demo/v2/preview/html/assets/input-types-j62iIc1E.js +3 -0
- package/build/static/demo/v2/preview/html/assets/input-with-slots-38hHXOp0.js +7 -0
- package/build/static/demo/v2/preview/html/assets/{input.util-VHrSuCP7-Be3hd2n8.js → input.fc-KJF8Z9iJ-BT3ti_h_.js} +65 -33
- package/build/static/demo/v2/preview/html/assets/{ix-action-card.entry-D51fMeXe.js → ix-action-card.entry-AKuWt1ts.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-application-header.entry-B_D_jend.js → ix-application-header.entry-qE0vQFkv.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-application-sidebar.entry-C8ZGn3ek.js → ix-application-sidebar.entry-BZsU2Jlm.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-application-switch-modal.entry-DXUWM7DA.js → ix-application-switch-modal.entry-B3-h96Sh.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-application.entry-D5Fi0gpc.js → ix-application.entry-BjgblZVE.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-avatar_2.entry-CkHr7hqA.js → ix-avatar_2.entry-BHN8N_94.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-blind.entry-D3QQNDZV.js → ix-blind.entry-BMzo4JNS.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-breadcrumb-item.entry-CxnbeQkT.js → ix-breadcrumb-item.entry-C_11LrGm.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-breadcrumb.entry-BwNdYEZ_.js → ix-breadcrumb.entry-BTQNqC06.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-button.entry-DhRUhhgx.js → ix-button.entry-BHxaFrz3.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-card-accordion_2.entry-CRPbBTeS.js → ix-card-accordion_2.entry-BGQ7J_Cm.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-card-list.entry-C1l0WmIO.js → ix-card-list.entry-DUoI1TrJ.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-card_2.entry-B5HQ6hz8.js → ix-card_2.entry-h4HoFFFW.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-category-filter.entry-y2Zffqvp.js → ix-category-filter.entry-C6QoZAYs.js} +16 -10
- package/build/static/demo/v2/preview/html/assets/{ix-checkbox-group.entry-X-ZNY9PM.js → ix-checkbox-group.entry-C8gcCfVC.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-checkbox.entry-Df1OjPYS.js → ix-checkbox.entry-PTaaU-oC.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-chip.entry-DJ1X7Fkx.js → ix-chip.entry-DgXdA7h0.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-col_4.entry-UT3AIzQO.js → ix-col_4.entry-CmLdrmsk.js} +11 -11
- package/build/static/demo/v2/preview/html/assets/{ix-content-header.entry-CMNEj9OY.js → ix-content-header.entry-CkmbOUor.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-content.entry-DrlhHyZn.js → ix-content.entry-1oAceHT-.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-css-grid-item.entry-BWzTEDbP.js → ix-css-grid-item.entry-CtS0ME4-.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-css-grid.entry-DFdqszTd.js → ix-css-grid.entry-CbBMWX26.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-custom-field.entry-DDzDRFN8.js → ix-custom-field.entry-DEc68yMh.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-date-dropdown.entry-CPnMTXQR.js → ix-date-dropdown.entry-DLHGlD1I.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-date-input.entry-DGYKruVG.js → ix-date-input.entry-Di_UsnDE.js} +14 -7
- package/build/static/demo/v2/preview/html/assets/{ix-date-time-card.entry-CupDlroM.js → ix-date-time-card.entry-CQU6Tbz5.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-datetime-picker.entry-DGipqkTm.js → ix-datetime-picker.entry-Ct9hFOQN.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-divider.entry-DNIBjjXr.js → ix-divider.entry-C4ZocyZX.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-drawer.entry-CxZwFl49.js → ix-drawer.entry-7nTpM_nm.js} +6 -6
- package/build/static/demo/v2/preview/html/assets/{ix-dropdown-button.entry-Cnhkok9x.js → ix-dropdown-button.entry-CQExbpTR.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-dropdown-header.entry-bFIp68-H.js → ix-dropdown-header.entry-CiMvxMBe.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-dropdown-item.entry-CH--n8P2.js → ix-dropdown-item.entry-C_khvxmX.js} +4 -4
- package/build/static/demo/v2/preview/html/assets/{ix-dropdown-quick-actions.entry-B-_cI8QW.js → ix-dropdown-quick-actions.entry-CrQypd67.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-dropdown.entry-B7jTHBF0.js → ix-dropdown.entry-Bm8DYywx.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-empty-state.entry-BardNWrN.js → ix-empty-state.entry-CTejudY8.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-event-list-item.entry-xSfQJw6X.js → ix-event-list-item.entry-Cpy0kuOD.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-event-list.entry-D0C4LL-7.js → ix-event-list.entry-DWrFsweh.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-expanding-search.entry-dr_FhEuH.js → ix-expanding-search.entry-CgLfFuQ1.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-field-label_2.entry-DtP2BwcQ.js → ix-field-label_2.entry-Dfh9qspj.js} +6 -6
- package/build/static/demo/v2/preview/html/assets/{ix-filter-chip_2.entry-DQD9wwJP.js → ix-filter-chip_2.entry-Cwmio6-c.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-flip-tile-content.entry-4pS53APF.js → ix-flip-tile-content.entry-BmgM_Yx2.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-flip-tile.entry-DvuuwkqB.js → ix-flip-tile.entry-DnBt3NQq.js} +4 -4
- package/build/static/demo/v2/preview/html/assets/{ix-group-context-menu_2.entry-BBqNfZx8.js → ix-group-context-menu_2.entry-DP3dIl1U.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-group.entry-Dq5ts0O9.js → ix-group.entry-B_2CD7MN.js} +9 -9
- package/build/static/demo/v2/preview/html/assets/{ix-helper-text.entry-BsMgnp_o.js → ix-helper-text.entry-RULP6kpj.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-icon-button_2.entry-CkEtq_79.js → ix-icon-button_2.entry-CqVjndSo.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-icon-toggle-button.entry-ISD_qhys.js → ix-icon-toggle-button.entry-gfyW36dA.js} +4 -4
- package/build/static/demo/v2/preview/html/assets/{ix-icon.entry-CpsZxuQT.js → ix-icon.entry-dCuTyOo1.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{ix-input-group.entry-DULfBt2o.js → ix-input-group.entry-k8vL_oig.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-input.entry-DqiD6e7X.js → ix-input.entry-BjVDISnm.js} +10 -8
- package/build/static/demo/v2/preview/html/assets/{ix-key-value-list.entry-DoqzplXo.js → ix-key-value-list.entry-gGbvcG3K.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-key-value.entry-BRG_tM93.js → ix-key-value.entry-BaFvIOQF.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-kpi.entry-ClJzGh-d.js → ix-kpi.entry-B8oxwYEC.js} +4 -4
- package/build/static/demo/v2/preview/html/assets/{ix-layout-auto.entry-6V0ERYXL.js → ix-layout-auto.entry-CW310ypA.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/ix-link-button.entry-vUm7PLS-.js +23 -0
- package/build/static/demo/v2/preview/html/assets/{ix-menu-about-item.entry-ClqG8hTh.js → ix-menu-about-item.entry-CNjeF7fl.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-menu-about-news.entry-C-phXiIx.js → ix-menu-about-news.entry-OnaB5BdT.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-menu-about.entry-jznByUTQ.js → ix-menu-about.entry-kO2w2UGn.js} +7 -5
- package/build/static/demo/v2/preview/html/assets/{ix-menu-avatar.entry-C4Y5H5nb.js → ix-menu-avatar.entry-DwCLJfvN.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-menu-category.entry-lxbmFIY_.js → ix-menu-category.entry-B_q9Gr2M.js} +6 -6
- package/build/static/demo/v2/preview/html/assets/{ix-menu-expand-icon.entry-DRodMmUx.js → ix-menu-expand-icon.entry-DjSVWuol.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-menu-item.entry-UKvAOzvC.js → ix-menu-item.entry-C2N9UGIQ.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-menu-settings-item.entry-DJBL-rpR.js → ix-menu-settings-item.entry-By855Kls.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-menu-settings.entry-BHIv-wmV.js → ix-menu-settings.entry-DiH12hZf.js} +13 -6
- package/build/static/demo/v2/preview/html/assets/{ix-menu.entry-dLFLt_kI.js → ix-menu.entry-DpPlWia4.js} +12 -12
- package/build/static/demo/v2/preview/html/assets/{ix-message-bar.entry-AtLC3kdn.js → ix-message-bar.entry-DzKNhmLd.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-modal-content_2.entry-BEDC9WCr.js → ix-modal-content_2.entry-CU15vMVK.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-modal-footer.entry-Zgc4lUTU.js → ix-modal-footer.entry-BKOEGvX5.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-modal-loading.entry-BWnnpnm7.js → ix-modal-loading.entry-BK0K-sTz.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-modal.entry-JKMVQ4yW.js → ix-modal.entry-1U-6w8mE.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-number-input.entry-CcU_NTjj.js → ix-number-input.entry-CiFU2mUW.js} +138 -29
- package/build/static/demo/v2/preview/html/assets/{ix-pagination.entry-DodDqF88.js → ix-pagination.entry-xrKhNWPU.js} +25 -9
- package/build/static/demo/v2/preview/html/assets/{ix-pane-layout.entry-DELBxsno.js → ix-pane-layout.entry-BvXoB1W5.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-pane.entry-C1XVGMwr.js → ix-pane.entry-CyYVQtN3.js} +6 -6
- package/build/static/demo/v2/preview/html/assets/{ix-pill.entry-aeiVZkpC.js → ix-pill.entry-BlzvbxtU.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-progress-indicator.entry-pt7GYQ_H.js → ix-progress-indicator.entry--I9VknnG.js} +4 -4
- package/build/static/demo/v2/preview/html/assets/{ix-push-card.entry-CAeofZiP.js → ix-push-card.entry-CHxZRpub.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-radio-group.entry-C9bzL_V5.js → ix-radio-group.entry-C92NdER9.js} +4 -4
- package/build/static/demo/v2/preview/html/assets/{ix-radio.entry-DQ9u36FI.js → ix-radio.entry-dU_Rgx-v.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-select.entry-BAIXU4ou.js → ix-select.entry-DnJSNFTS.js} +38 -14
- package/build/static/demo/v2/preview/html/assets/{ix-slider.entry-DbqYumJP.js → ix-slider.entry-DJbA1Feg.js} +8 -8
- package/build/static/demo/v2/preview/html/assets/{ix-split-button.entry-MPJ39EBD.js → ix-split-button.entry-DwTydN2Z.js} +16 -14
- package/build/static/demo/v2/preview/html/assets/{ix-tab-item_2.entry-BdV1i5va.js → ix-tab-item_2.entry-CsXRBav3.js} +7 -7
- package/build/static/demo/v2/preview/html/assets/{ix-textarea.entry-Drv62qtz.js → ix-textarea.entry-Dg5UW4Mm.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-tile.entry-B48B2vjr.js → ix-tile.entry-CCa4ifYZ.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-time-input.entry-CYN7CD46.js → ix-time-input.entry-1YU2IC8Q.js} +15 -8
- package/build/static/demo/v2/preview/html/assets/{ix-time-picker.entry-Ckae4mRV.js → ix-time-picker.entry-a8SE1VcZ.js} +76 -40
- package/build/static/demo/v2/preview/html/assets/{ix-toast-container.entry-BOC4VMSq.js → ix-toast-container.entry-DwoN6g90.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-toast.entry-BN_CTk0i.js → ix-toast.entry-DArafdQ_.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-toggle-button.entry-_d5b3tmk.js → ix-toggle-button.entry-BvQ_7S7d.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-toggle.entry-CGO6NrJb.js → ix-toggle.entry-DCb4P1a-.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-tooltip.entry-DfeSsu14.js → ix-tooltip.entry-ClIGLKMs.js} +18 -7
- package/build/static/demo/v2/preview/html/assets/{ix-tree-item.entry-CQ25H-S2.js → ix-tree-item.entry-CSOs261s.js} +5 -5
- package/build/static/demo/v2/preview/html/assets/{ix-tree.entry-BKlun9SR.js → ix-tree.entry-HrmQRLGh.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-typography.entry-BPaVcv2Q.js → ix-typography.entry-D0irOQRH.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{ix-upload.entry-DyuOKZ5F.js → ix-upload.entry-DMoOrxKQ.js} +4 -4
- package/build/static/demo/v2/preview/html/assets/{ix-validation-tooltip.entry-DrKahvwL.js → ix-validation-tooltip.entry-iNkLXvOa.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{ix-workflow-step.entry-Bh3HC8HQ.js → ix-workflow-step.entry-nfsbD-f8.js} +4 -4
- package/build/static/demo/v2/preview/html/assets/{ix-workflow-steps.entry-E3zn3crG.js → ix-workflow-steps.entry-m_b8je6T.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/key-value-list-with-custom-value-CbQs-e7q.js +3 -0
- package/build/static/demo/v2/preview/html/assets/key-value-list-with-icon-CIMpDKaB.js +7 -0
- package/build/static/demo/v2/preview/html/assets/key-value-with-custom-value-u2qyajoJ.js +3 -0
- package/build/static/demo/v2/preview/html/assets/key-value-with-icon-CIMpDKaB.js +7 -0
- package/build/static/demo/v2/preview/html/assets/kpi-CY4x50xh.js +3 -0
- package/build/static/demo/v2/preview/html/assets/{listener-DAJkOQte-CGqfZKRD.js → listener-DAJkOQte-RbAHKfrD.js} +1 -1
- package/build/static/demo/v2/preview/html/assets/{loading-DP4Y65Ay.js → loading-zszYvSa5.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{menu-category-tbNE9ISe.js → menu-category-BF21iRHV.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/menu-with-bottom-tabs-CEfMHnI9.js +8 -0
- package/build/static/demo/v2/preview/html/assets/{message-MMP6liTA.js → message-DASnLhbV.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{message-bar-removal-DyZjUcky.js → message-bar-removal-CfXuz0Zu.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{modal-vC5ubUmA.js → modal-BLZEVHgZ.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/modal-close-CV-e3J0f.js +59 -0
- package/build/static/demo/v2/preview/html/assets/{modal-form-ix-button-submit-Bumf1AlD.js → modal-form-ix-button-submit-DS_icPwU.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{modal-sizes-BQNyDR8S.js → modal-sizes-xSvk9phZ.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/number-input-with-slots-38hHXOp0.js +7 -0
- package/build/static/demo/v2/preview/html/assets/pill-DWxpx841.js +8 -0
- package/build/static/demo/v2/preview/html/assets/pill-variants-DUzgJ_5U.js +8 -0
- package/build/static/demo/v2/preview/html/assets/push-card-38hHXOp0.js +7 -0
- package/build/static/demo/v2/preview/html/assets/radio-button-C0OXVi0B.js +3 -0
- package/build/static/demo/v2/preview/html/assets/{slider-marker-9KqZKg68.js → slider-error-TQWWwQN_.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{slider-error-9KqZKg68.js → slider-marker-TQWWwQN_.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{slider-trace-9KqZKg68.js → slider-trace-TQWWwQN_.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/split-button-AG62pZIE.js +8 -0
- package/build/static/demo/v2/preview/html/assets/split-button-BKhVDC0Q.css +7 -0
- package/build/static/demo/v2/preview/html/assets/{split-button-icons-BWJSGRNd.js → split-button-icons-Cs6BZOmU.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/tabs-JhEOTvWB.js +3 -0
- package/build/static/demo/v2/preview/html/assets/{tabs-rounded-SaZIURg5.js → tabs-rounded-D6mqbA5w.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/theme-switcher-Wn2pTXTf.js +58 -0
- package/build/static/demo/v2/preview/html/assets/{tile-DMndakDe.js → tile-sm03BG4k.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/time-input-with-slots-38hHXOp0.js +7 -0
- package/build/static/demo/v2/preview/html/assets/{toast-BeIw_S5T.js → toast-W1k-jIP0.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{toast-custom-K48_rm2V.js → toast-custom-DKcQnQhm.js} +4 -4
- package/build/static/demo/v2/preview/html/assets/{toast-position-BfSyzHDD.js → toast-position-gL-bzuEx.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/toggle-button-primary-FDASuUox.js +3 -0
- package/build/static/demo/v2/preview/html/assets/toggle-button-primary-ghost-B5QOkL5Y.js +3 -0
- package/build/static/demo/v2/preview/html/assets/toggle-button-primary-outline-DfcoCQ2K.js +3 -0
- package/build/static/demo/v2/preview/html/assets/toggle-button-secondary-0dZwbpHT.js +3 -0
- package/build/static/demo/v2/preview/html/assets/toggle-button-secondary-ghost-D_XvbxrA.js +3 -0
- package/build/static/demo/v2/preview/html/assets/toggle-button-secondary-outline-CiFpKA5c.js +3 -0
- package/build/static/demo/v2/preview/html/assets/tooltip-with-icon-B9EPg88E.js +7 -0
- package/build/static/demo/v2/preview/html/assets/{tree-custom-Di3joXks.js → tree-custom-B7WcDfoB.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{validation-D_dk-JqT-CRNNydA9.js → validation-LJh16vt2-H75l0y2j.js} +8 -1
- package/build/static/demo/v2/preview/html/assets/{validation-select-BueDxZ_b.js → validation-select-D2JMtzWn.js} +2 -2
- package/build/static/demo/v2/preview/html/assets/{vertical-tabs-B38UWyqZ.js → vertical-tabs-CYC1VJE6.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/{vertical-tabs-with-avatar-CAdH02YP.js → vertical-tabs-with-avatar-k2r0Kplg.js} +3 -3
- package/build/static/demo/v2/preview/html/assets/workflow-CpyWOyLG.js +3 -0
- package/build/static/demo/v2/preview/html/component-usage-by-component.json +38 -30
- package/build/static/demo/v2/preview/html/component-usage.json +21 -9
- package/build/static/demo/v2/preview/html/index.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/about-and-legal.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/action-card.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/add-icons.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/aggrid.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/application-advanced.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/application-app-switch.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/application-breakpoints.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/application-header.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/application.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/aria-label-properties.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/avatar-image.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/avatar-initials.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/avatar.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/blind-header-actions.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/blind-variants.html +7 -7
- package/build/static/demo/v2/preview/html/preview-examples/blind.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/breadcrumb-next-items.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/breadcrumb-truncate.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/breadcrumb.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/button-danger-ghost.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/button-danger-outline.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/button-danger.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/button-ghost.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/button-grey-ghost.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/button-grey-secondary.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/button-grey.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/button-group.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/button-loading.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/button-secondary.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/button-text-icon.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/button-with-icon.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/button-with-link.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/buttons.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/card-list.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/card.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/category-filter-suggestions.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/category-filter.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/checkbox-indeterminate.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/checkbox.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/chip.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/content-header-no-back.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/content-header-with-slot.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/content-header.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/content.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/custom-field-validation.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/custom-field.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/date-dropdown-user-range.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/date-dropdown.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/date-input-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/date-input-label.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/date-input-min-max-date.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/date-input-readonly.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/date-input-validation.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/date-input-with-slots.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/date-input.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/datepicker-locale.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/datepicker-range.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/datepicker.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/datetimepicker.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/divider.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/drawer-full-height.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/drawer.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/dropdown-button-icon.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/dropdown-button.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/dropdown-icon.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/dropdown-quick-actions.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/dropdown-submenu.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/dropdown.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/echarts-bar-horizontal-stacked.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-bar-simple.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-circle.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-empty-state.html +6 -6
- package/build/static/demo/v2/preview/html/preview-examples/echarts-gauge.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-line-advanced.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-line-multiple-y-axis.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-line-simple.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-pie.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-progress-arc.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-progress-circle.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-special-3d.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-special-toolbox.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts-special-zoom.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/echarts.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/empty-state-compact-break.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/empty-state-compact.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/empty-state.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/event-list-compact.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/event-list-custom-item-height-in-number.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/event-list-custom-item-height.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/event-list-filled.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/event-list-selected.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/event-list.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/expanding-search.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/flip-tile.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/form-checkbox-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/form-checkbox-group-indeterminate.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/form-checkbox-group.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/form-checkbox-validation.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/form-checkbox.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/form-layout-auto.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/form-layout-grid.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/grid-padding.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/grid-size.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/grid.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/group-context-menu.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/group-custom-entry.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/group-header-suppressed.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/group.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/html-table-striped.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/html-table.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/icon-toggle-button-primary-ghost.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/icon-toggle-button-primary-outline.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/icon-toggle-button-secondary-ghost.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/icon-toggle-button-secondary-outline.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/icon-toggle-button-secondary.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/input-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/input-label.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/input-legacy-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/input-legacy-readonly.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/input-legacy.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/input-pattern.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/input-readonly.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/input-types.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/input-validation.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/input-with-slots.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/input.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/key-value-list-striped.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/key-value-list-with-custom-value.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/key-value-list-with-icon.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/key-value-list.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/key-value-with-custom-value.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/key-value-with-icon.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/key-value-with-label-left.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/key-value.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/kpi.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/layout-auto-custom.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/layout-auto.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/link-button-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/link-button.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/loading.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/menu-category.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/menu-with-bottom-tabs.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/message-bar-removal.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/message-bar.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/message.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/modal-close.html +43 -0
- package/build/static/demo/v2/preview/html/preview-examples/modal-form-ix-button-submit.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/modal-sizes.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/modal.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/number-input-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/number-input-label.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/number-input-readonly.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/number-input-stepper-button.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/number-input-validation.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/number-input-with-slots.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/number-input.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/pagination-advanced.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/pagination.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/pane-layout.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/pane.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/pill-variants.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/pill.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/popover-news.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/progress-indicator-circular-sizes.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/progress-indicator-circular-status.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/progress-indicator-circular.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/progress-indicator-linear-sizes.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/progress-indicator-linear-status.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/progress-indicator.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/push-card.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/radio-button.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/radio-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/radio-group.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/radio-validation.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/radio.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/select-editable.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/select-multiple.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/select-validation.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/select.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/settings.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/slider-error.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/slider-marker.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/slider-trace.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/slider.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/spinner-large.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/spinner.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/split-button-icons.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/split-button.html +37 -9
- package/build/static/demo/v2/preview/html/preview-examples/tabs-rounded.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/tabs.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/textarea-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/textarea-legacy-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/textarea-legacy-readonly.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/textarea-legacy.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/textarea-readonly.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/textarea-rows-cols.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/textarea-validation.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/textarea.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/theme-switcher.html +6 -7
- package/build/static/demo/v2/preview/html/preview-examples/tile.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/time-input-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/time-input-label.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/time-input-readonly.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/time-input-validation.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/time-input-with-slots.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/time-input.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/timepicker-format-adjusted.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/timepicker-intervals.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/timepicker.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/toast-custom.html +6 -6
- package/build/static/demo/v2/preview/html/preview-examples/toast-position.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/toast.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/toggle-button-primary-ghost.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/toggle-button-primary-outline.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/toggle-button-primary.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/toggle-button-secondary-ghost.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/toggle-button-secondary-outline.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/toggle-button-secondary.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/toggle-checked.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/toggle-custom-label.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/toggle-disabled.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/toggle-indeterminate.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/toggle.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/tooltip-with-icon.html +38 -0
- package/build/static/demo/v2/preview/html/preview-examples/tooltip.html +3 -4
- package/build/static/demo/v2/preview/html/preview-examples/tree-custom.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/tree.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/upload.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/validation-select.html +4 -4
- package/build/static/demo/v2/preview/html/preview-examples/vertical-tabs-with-avatar.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/vertical-tabs.html +5 -5
- package/build/static/demo/v2/preview/html/preview-examples/workflow-vertical.html +3 -3
- package/build/static/demo/v2/preview/html/preview-examples/workflow.html +4 -4
- package/build/static/demo/v2/preview/mobile/assets/index-McV8yaaU.js +110 -0
- package/build/static/demo/v2/preview/mobile/assets/index-j25tZv6Y.css +1 -0
- package/build/static/demo/v2/preview/mobile/assets/index-legacy-DY7h8Ed4.js +46 -0
- package/build/static/demo/v2/preview/mobile/assets/{index7-DYhhjCCN.js → index7-OpfsQcJx.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{index7-legacy-XdaVDr-s.js → index7-legacy-Bm6gX3LP.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{index8-CtNyGOrb.js → index8-DCqSPD_e.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{index8-legacy-CCLmb6Z2.js → index8-legacy-BfaEodPf.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{input-shims-legacy-HufCW5sX.js → input-shims-legacy-PPLW4qA-.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{input-shims-C5cDr_9L.js → input-shims-sBB9ceGB.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{ios.transition-DsxAyrvT.js → ios.transition-GnRfdVt3.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{ios.transition-legacy-CUg6S0xs.js → ios.transition-legacy-8y9vOP9B.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{keyboard-CCxFHIBa.js → keyboard-DvJxATr7.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{keyboard-legacy-DDnIOIYs.js → keyboard-legacy-ZH_7IudP.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{md.transition-BYTK0SpH.js → md.transition-B0RQhkTY.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{md.transition-legacy-CGuk1keh.js → md.transition-legacy-CJKmUAAZ.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{status-tap-CgiYF11L.js → status-tap-Hh0dvUwo.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{status-tap-legacy-CiKRqNgL.js → status-tap-legacy-DsOFAY9C.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{swipe-back-85L9BFIH.js → swipe-back-am5rii-l.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{swipe-back-legacy-DN1_BryY.js → swipe-back-legacy-CFp03vcy.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{web-DDO42EBh.js → web-CkiE9BjE.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{web-zb78ilUl.js → web-DMVaDr3k.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{web-legacy-BOr-zY6N.js → web-legacy-BQWNG2eX.js} +1 -1
- package/build/static/demo/v2/preview/mobile/assets/{web-legacy-DPDRXL8i.js → web-legacy-KvuhJMLH.js} +1 -1
- package/build/static/demo/v2/preview/mobile/index.html +3 -3
- package/build/static/demo/v2/react/blind-variants.tsx +2 -2
- package/build/static/demo/v2/react/datepicker.tsx +1 -1
- package/build/static/demo/v2/react/input.tsx +90 -11
- package/build/static/demo/v2/react/loading.tsx +3 -3
- package/build/static/demo/v2/react/message.tsx +1 -2
- package/build/static/demo/v2/react/modal-close.tsx +59 -0
- package/build/static/demo/v2/react/pane-layout.tsx +1 -1
- package/build/static/demo/v2/react/split-button.scoped.css +7 -0
- package/build/static/demo/v2/react/split-button.tsx +19 -4
- package/build/static/demo/v2/react/theme-switcher.tsx +48 -31
- package/build/static/demo/v2/react/tooltip-with-icon.tsx +30 -0
- package/build/static/demo/v2/react/tooltip.tsx +1 -1
- package/build/static/demo/v2/vue/blind-variants.vue +2 -2
- package/build/static/demo/v2/vue/loading.vue +4 -4
- package/build/static/demo/v2/vue/message.vue +1 -2
- package/build/static/demo/v2/vue/modal-close.vue +48 -0
- package/build/static/demo/v2/vue/pane-layout.vue +1 -1
- package/build/static/demo/v2/vue/split-button.css +7 -0
- package/build/static/demo/v2/vue/split-button.vue +20 -4
- package/build/static/demo/v2/vue/theme-switcher.vue +51 -40
- package/build/static/demo/v2/vue/tooltip-with-icon.vue +24 -0
- package/build/static/storybook-static/assets/{Color-AVL7NMMY-CEIv3bez.js → Color-AVL7NMMY-BHLr6Uux.js} +1 -1
- package/build/static/storybook-static/assets/{DocsRenderer-PQXLIZUC-CePXkNxS.js → DocsRenderer-PQXLIZUC-CIMtFxlP.js} +3 -3
- package/build/static/storybook-static/assets/{a11y-action-card.stories-BxPR_1CI.js → a11y-action-card.stories-B7uIId9c.js} +1 -1
- package/build/static/storybook-static/assets/{action-card.stories-CDTr7MlX.js → action-card.stories-DTKHz09g.js} +1 -1
- package/build/static/storybook-static/assets/{application-header.stories-DDk3pQfo.js → application-header.stories-Bh-GSyKn.js} +1 -1
- package/build/static/storybook-static/assets/{avatar.stories-YTtJ-ixi.js → avatar.stories-CWk6fjc4.js} +1 -1
- package/build/static/storybook-static/assets/{axe-CiINABDx.js → axe-BjxJrOBU.js} +1 -1
- package/build/static/storybook-static/assets/{blind.stories-BZQrOzwd.js → blind.stories-Dhy2vsm3.js} +1 -1
- package/build/static/storybook-static/assets/{blocks-DscJsCTE.js → blocks-D7bScm5w.js} +3 -3
- package/build/static/storybook-static/assets/{breakcrumb.stories-BxvRLaLH.js → breakcrumb.stories-Dyn6TXz9.js} +1 -1
- package/build/static/storybook-static/assets/{button-group.stories-B20MgguK.js → button-group.stories-BIxoAvjE.js} +1 -1
- package/build/static/storybook-static/assets/{button.stories-DHm8ps1c.js → button.stories-la88Th5z.js} +1 -1
- package/build/static/storybook-static/assets/{checkbox-group.stories-BoFx-58E.js → checkbox-group.stories-Dgj5j_2f.js} +1 -1
- package/build/static/storybook-static/assets/{checkbox.stories-jre-yFpD.js → checkbox.stories-Dr3kZD05.js} +1 -1
- package/build/static/storybook-static/assets/{chip.stories-_kUTKoNL.js → chip.stories-CIxvhrCk.js} +1 -1
- package/build/static/storybook-static/assets/{date-dropdown.stories-BuKoo6cv.js → date-dropdown.stories-DBSUq5so.js} +1 -1
- package/build/static/storybook-static/assets/{drawer.stories-CXhXyuhI.js → drawer.stories-DMrCZ-5W.js} +1 -1
- package/build/static/storybook-static/assets/{dropdown-button.stories-DQJcRnHY.js → dropdown-button.stories-Bhfai2S0.js} +1 -1
- package/build/static/storybook-static/assets/{event-list-item.stories-D1402jFp.js → event-list-item.stories-Cd43LGau.js} +1 -1
- package/build/static/storybook-static/assets/{event-list.stories-Dmi2ef8w.js → event-list.stories-EBcGctln.js} +1 -1
- package/build/static/storybook-static/assets/{expanding-search.stories-DklDCKyD.js → expanding-search.stories-C5D0xkRS.js} +1 -1
- package/build/static/storybook-static/assets/{flip-tile.stories-91x7uA3Z.js → flip-tile.stories-COqvZRVa.js} +1 -1
- package/build/static/storybook-static/assets/generic-render-B6oDlj6b.js +1 -0
- package/build/static/storybook-static/assets/{group.stories-Dc95-jfB.js → group.stories-Gak-xZXa.js} +1 -1
- package/build/static/storybook-static/assets/iframe-CHme0gYb.css +1 -0
- package/build/static/storybook-static/assets/{iframe-XqzYRgP7.js → iframe-D2tCCPPx.js} +174 -174
- package/build/static/storybook-static/assets/{index-p5n0f1EX.js → index-CxjBDkfa.js} +1 -1
- package/build/static/storybook-static/assets/{input-date.stories-BNBkCPy5.js → input-date.stories-BMQbtWAh.js} +1 -1
- package/build/static/storybook-static/assets/input-number.stories-Dc8GDjKw.js +70 -0
- package/build/static/storybook-static/assets/{input-time.stories-DcYcfA-H.js → input-time.stories-OtynaigJ.js} +1 -1
- package/build/static/storybook-static/assets/{input.stories-DNgHaKHy.js → input.stories-CkHywUyr.js} +1 -1
- package/build/static/storybook-static/assets/{introduction-kC5V93Xp.js → introduction-AUe7ANT5.js} +1 -1
- package/build/static/storybook-static/assets/{link-button.stories-D1NR5JRm.js → link-button.stories-Dk-ytHby.js} +1 -1
- package/build/static/storybook-static/assets/{menu-category.stories-CMSfYcCi.js → menu-category.stories-BOQhuRP8.js} +1 -1
- package/build/static/storybook-static/assets/{menu-item.stories-DE9KHW4v.js → menu-item.stories-YsQGbk8p.js} +1 -1
- package/build/static/storybook-static/assets/{menu.stories-CXYfccAW.js → menu.stories-ykBawmQH.js} +1 -1
- package/build/static/storybook-static/assets/{message-bar.stories-CF6Y_ZEe.js → message-bar.stories-lWYdeXxW.js} +1 -1
- package/build/static/storybook-static/assets/{modal.stories-CK6lBEZ2.js → modal.stories-CD3a5fG9.js} +1 -1
- package/build/static/storybook-static/assets/{pagination.stories-pTYoxt3_.js → pagination.stories-67VRYaBP.js} +1 -1
- package/build/static/storybook-static/assets/{pane.stories-BW6yBJBk.js → pane.stories-TRubtHge.js} +1 -1
- package/build/static/storybook-static/assets/{pill.stories-DY4blVig.js → pill.stories-BtPa4B1V.js} +1 -1
- package/build/static/storybook-static/assets/{progress-indicator.stories-mmUCrH8j.js → progress-indicator.stories-BwY1LC_W.js} +1 -1
- package/build/static/storybook-static/assets/{push-card.stories-CnGq9j41.js → push-card.stories-XroVVPxq.js} +1 -1
- package/build/static/storybook-static/assets/{radio-group.stories-CgiWEvyL.js → radio-group.stories-DqlgRFbB.js} +1 -1
- package/build/static/storybook-static/assets/{radio.stories-BLqcx2_S.js → radio.stories-D67SwNxp.js} +1 -1
- package/build/static/storybook-static/assets/select.stories-CdnQjkKJ.js +131 -0
- package/build/static/storybook-static/assets/{slider.stories-BsVPyNQS.js → slider.stories-BpOokxGE.js} +1 -1
- package/build/static/storybook-static/assets/{spinner.stories-wrH2jjcm.js → spinner.stories-BB6vtwBJ.js} +1 -1
- package/build/static/storybook-static/assets/split-button.stories-C4nnFumn.js +23 -0
- package/build/static/storybook-static/assets/{textarea.stories-BRHZ_NMT.js → textarea.stories-CXd7-baI.js} +1 -1
- package/build/static/storybook-static/assets/{tile.stories-BH_9r6mR.js → tile.stories-DGm_y0AM.js} +1 -1
- package/build/static/storybook-static/assets/{time-picker.stories-BcFlGcxR.js → time-picker.stories-DScqCw9h.js} +1 -1
- package/build/static/storybook-static/assets/{toggle-button.stories-DuZh1H6i.js → toggle-button.stories-CIn_bncV.js} +1 -1
- package/build/static/storybook-static/assets/{toggle.stories-BeehKUIe.js → toggle.stories-CONDSzed.js} +1 -1
- package/build/static/storybook-static/assets/tree.stories-BP1Ix4Q8.js +71 -0
- package/build/static/storybook-static/iframe.html +2 -2
- package/build/static/storybook-static/index.json +1 -1
- package/build/static/storybook-static/project.json +1 -1
- package/package.json +4 -4
- package/build/static/demo/v2/preview/html/assets/add-icons-COYbEp4V.js +0 -8
- package/build/static/demo/v2/preview/html/assets/application-header-D1zij7iD.js +0 -7
- package/build/static/demo/v2/preview/html/assets/blind-variants-Bw52WQ_W.js +0 -8
- package/build/static/demo/v2/preview/html/assets/blind-x_arvw-u.js +0 -3
- package/build/static/demo/v2/preview/html/assets/button-danger-DXz2pC50.js +0 -3
- package/build/static/demo/v2/preview/html/assets/button-danger-ghost-DCitIJTo.js +0 -3
- package/build/static/demo/v2/preview/html/assets/button-danger-outline-ZVSKFj_b.js +0 -3
- package/build/static/demo/v2/preview/html/assets/button-ghost-uk_kzOcg.js +0 -3
- package/build/static/demo/v2/preview/html/assets/button-grey-ghost-D4CnM7k2.js +0 -3
- package/build/static/demo/v2/preview/html/assets/button-grey-secondary-RBN8DDFw.js +0 -3
- package/build/static/demo/v2/preview/html/assets/button-grey-x1F76dp6.js +0 -3
- package/build/static/demo/v2/preview/html/assets/button-loading-D1ii78hC.js +0 -8
- package/build/static/demo/v2/preview/html/assets/button-secondary-Byay9crW.js +0 -3
- package/build/static/demo/v2/preview/html/assets/buttons-DLVWWjdC.js +0 -3
- package/build/static/demo/v2/preview/html/assets/card-list-DH_hUS6-.js +0 -8
- package/build/static/demo/v2/preview/html/assets/chip-DO8a_4Gi.js +0 -8
- package/build/static/demo/v2/preview/html/assets/content-header-with-slot-CjSOUF-u.js +0 -8
- package/build/static/demo/v2/preview/html/assets/custom-field-CP-FtN7b.js +0 -7
- package/build/static/demo/v2/preview/html/assets/date-input-with-slots-DqRuXWyS.js +0 -7
- package/build/static/demo/v2/preview/html/assets/dropdown-button-DFve2QWS.js +0 -8
- package/build/static/demo/v2/preview/html/assets/empty-state-B6n7Oypa.js +0 -7
- package/build/static/demo/v2/preview/html/assets/empty-state-compact-B6n7Oypa.js +0 -7
- package/build/static/demo/v2/preview/html/assets/empty-state-compact-break-B6n7Oypa.js +0 -7
- package/build/static/demo/v2/preview/html/assets/flip-tile-Dw0ObPS_.js +0 -8
- package/build/static/demo/v2/preview/html/assets/form-checkbox-group-indeterminate-C_Zflq8B.js +0 -3
- package/build/static/demo/v2/preview/html/assets/form-layout-grid-BvhuWCe_.js +0 -3
- package/build/static/demo/v2/preview/html/assets/grid-84q99-eR.js +0 -3
- package/build/static/demo/v2/preview/html/assets/grid-padding-C1CdJVu3.js +0 -3
- package/build/static/demo/v2/preview/html/assets/grid-size-pwZV80sY.js +0 -3
- package/build/static/demo/v2/preview/html/assets/index-LkmwnDtR.js +0 -4
- package/build/static/demo/v2/preview/html/assets/input-types-b29mQtfd.js +0 -3
- package/build/static/demo/v2/preview/html/assets/input-with-slots-DqRuXWyS.js +0 -7
- package/build/static/demo/v2/preview/html/assets/ix-link-button.entry-YLI2Si7K.js +0 -23
- package/build/static/demo/v2/preview/html/assets/key-value-list-with-custom-value-4cCVsskP.js +0 -3
- package/build/static/demo/v2/preview/html/assets/key-value-list-with-icon-QkU4d95q.js +0 -7
- package/build/static/demo/v2/preview/html/assets/key-value-with-custom-value-D9PehyPj.js +0 -3
- package/build/static/demo/v2/preview/html/assets/key-value-with-icon-QkU4d95q.js +0 -7
- package/build/static/demo/v2/preview/html/assets/kpi-B1yd1nuf.js +0 -3
- package/build/static/demo/v2/preview/html/assets/menu-with-bottom-tabs-JvjV5sD8.js +0 -8
- package/build/static/demo/v2/preview/html/assets/number-input-with-slots-DqRuXWyS.js +0 -7
- package/build/static/demo/v2/preview/html/assets/pill-CHRGJwv0.js +0 -8
- package/build/static/demo/v2/preview/html/assets/pill-variants-CBcwxmrZ.js +0 -8
- package/build/static/demo/v2/preview/html/assets/push-card-DqRuXWyS.js +0 -7
- package/build/static/demo/v2/preview/html/assets/radio-button-BPIqvV5v.js +0 -3
- package/build/static/demo/v2/preview/html/assets/split-button-BKnrh3nT.js +0 -7
- package/build/static/demo/v2/preview/html/assets/tabs-B1Ix55MF.js +0 -3
- package/build/static/demo/v2/preview/html/assets/theme-switcher-XFN9M67N.js +0 -42
- package/build/static/demo/v2/preview/html/assets/time-input-with-slots-DqRuXWyS.js +0 -7
- package/build/static/demo/v2/preview/html/assets/toggle-button-primary-DhrJdCX1.js +0 -3
- package/build/static/demo/v2/preview/html/assets/toggle-button-primary-ghost-BmA-moLa.js +0 -3
- package/build/static/demo/v2/preview/html/assets/toggle-button-primary-outline-Xo4xtCY8.js +0 -3
- package/build/static/demo/v2/preview/html/assets/toggle-button-secondary--Zjwnfbq.js +0 -3
- package/build/static/demo/v2/preview/html/assets/toggle-button-secondary-ghost-i5M3QnWN.js +0 -3
- package/build/static/demo/v2/preview/html/assets/toggle-button-secondary-outline-B4zC6xQg.js +0 -3
- package/build/static/demo/v2/preview/html/assets/tooltip-Fa5u8IVv.js +0 -3
- package/build/static/demo/v2/preview/html/assets/workflow-Pfx7etW2.js +0 -3
- package/build/static/demo/v2/preview/mobile/assets/index-CMU7wxQd.js +0 -110
- package/build/static/demo/v2/preview/mobile/assets/index-d_VLaNiR.css +0 -1
- package/build/static/demo/v2/preview/mobile/assets/index-legacy-BwOiApdE.js +0 -46
- package/build/static/storybook-static/assets/generic-render-Dg1fV67N.js +0 -1
- package/build/static/storybook-static/assets/iframe-C3yKveZu.css +0 -1
- package/build/static/storybook-static/assets/input-number.stories-B7veWnpt.js +0 -56
- package/build/static/storybook-static/assets/select.stories-BtmsSfM6.js +0 -84
- package/build/static/storybook-static/assets/split-button.stories-C4V-W5Sk.js +0 -5
|
@@ -1,3159 +1,3 @@
|
|
|
1
|
-
# ix-layout-grid
|
|
2
|
-
|
|
3
|
-
## HTML Examples
|
|
4
|
-
|
|
5
|
-
### Example: form-layout-grid
|
|
6
|
-
```html
|
|
7
|
-
<!DOCTYPE html>
|
|
8
|
-
<html lang="en">
|
|
9
|
-
<head>
|
|
10
|
-
<meta charset="UTF-8" />
|
|
11
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
12
|
-
<title>Avatar example</title>
|
|
13
|
-
<link rel="stylesheet" href="./form-layout-grid.css" />
|
|
14
|
-
</head>
|
|
15
|
-
<body>
|
|
16
|
-
<ix-layout-grid class="layout-grid-example">
|
|
17
|
-
<ix-row>
|
|
18
|
-
<ix-col size="2" size-sm="12">
|
|
19
|
-
<ix-field-label for="my-select-1">Example</ix-field-label>
|
|
20
|
-
</ix-col>
|
|
21
|
-
<ix-col>
|
|
22
|
-
<ix-select id="my-select-1"></ix-select>
|
|
23
|
-
</ix-col>
|
|
24
|
-
</ix-row>
|
|
25
|
-
<ix-row>
|
|
26
|
-
<ix-col size="2" size-sm="12">
|
|
27
|
-
<ix-field-label for="my-select-2">Example</ix-field-label>
|
|
28
|
-
</ix-col>
|
|
29
|
-
<ix-col>
|
|
30
|
-
<ix-input id="my-select-2"></ix-input>
|
|
31
|
-
</ix-col>
|
|
32
|
-
</ix-row>
|
|
33
|
-
<ix-row>
|
|
34
|
-
<ix-col size="12" size-sm="12">
|
|
35
|
-
<ix-button data-colspan="2">Submit</ix-button>
|
|
36
|
-
</ix-col>
|
|
37
|
-
</ix-row>
|
|
38
|
-
</ix-layout-grid>
|
|
39
|
-
<script type="module" src="./init.js"></script>
|
|
40
|
-
</body>
|
|
41
|
-
</html>
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### Example: grid-padding
|
|
45
|
-
```html
|
|
46
|
-
<!DOCTYPE html>
|
|
47
|
-
<html lang="en">
|
|
48
|
-
<head>
|
|
49
|
-
<meta charset="UTF-8" />
|
|
50
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
51
|
-
<title>Grid padding example</title>
|
|
52
|
-
<link rel="stylesheet" href="./grid-padding.css" />
|
|
53
|
-
</head>
|
|
54
|
-
<body>
|
|
55
|
-
<div class="grid">
|
|
56
|
-
<h4>Grid with margin</h4>
|
|
57
|
-
<ix-layout-grid>
|
|
58
|
-
<ix-row>
|
|
59
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
60
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
61
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
62
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
63
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
64
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
65
|
-
<ix-col><ix-typography format="display">7</ix-typography></ix-col>
|
|
66
|
-
<ix-col><ix-typography format="display">8</ix-typography></ix-col>
|
|
67
|
-
<ix-col><ix-typography format="display">9</ix-typography></ix-col>
|
|
68
|
-
<ix-col><ix-typography format="display">10</ix-typography></ix-col>
|
|
69
|
-
<ix-col><ix-typography format="display">11</ix-typography></ix-col>
|
|
70
|
-
<ix-col><ix-typography format="display">12</ix-typography></ix-col>
|
|
71
|
-
</ix-row>
|
|
72
|
-
</ix-layout-grid>
|
|
73
|
-
|
|
74
|
-
<h4>Grid without margin</h4>
|
|
75
|
-
<ix-layout-grid no-margin>
|
|
76
|
-
<ix-row>
|
|
77
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
78
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
79
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
80
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
81
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
82
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
83
|
-
<ix-col><ix-typography format="display">7</ix-typography></ix-col>
|
|
84
|
-
<ix-col><ix-typography format="display">8</ix-typography></ix-col>
|
|
85
|
-
<ix-col><ix-typography format="display">9</ix-typography></ix-col>
|
|
86
|
-
<ix-col><ix-typography format="display">10</ix-typography></ix-col>
|
|
87
|
-
<ix-col><ix-typography format="display">11</ix-typography></ix-col>
|
|
88
|
-
<ix-col><ix-typography format="display">12</ix-typography></ix-col>
|
|
89
|
-
</ix-row>
|
|
90
|
-
</ix-layout-grid>
|
|
91
|
-
</div>
|
|
92
|
-
<script type="module" src="./init.js"></script>
|
|
93
|
-
</body>
|
|
94
|
-
</html>
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### Example: grid-size
|
|
98
|
-
```html
|
|
99
|
-
<!DOCTYPE html>
|
|
100
|
-
<html lang="en">
|
|
101
|
-
<head>
|
|
102
|
-
<meta charset="UTF-8" />
|
|
103
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
104
|
-
<title>Grid size example</title>
|
|
105
|
-
<link rel="stylesheet" href="./grid-size.css" />
|
|
106
|
-
</head>
|
|
107
|
-
<body>
|
|
108
|
-
<div class="grid">
|
|
109
|
-
<h4>Column 6 takes up more space to a max of 12 columns total</h4>
|
|
110
|
-
<ix-layout-grid>
|
|
111
|
-
<ix-row>
|
|
112
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
113
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
114
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
115
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
116
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
117
|
-
<ix-col size="6"
|
|
118
|
-
><ix-typography format="display">6</ix-typography></ix-col
|
|
119
|
-
>
|
|
120
|
-
</ix-row>
|
|
121
|
-
</ix-layout-grid>
|
|
122
|
-
|
|
123
|
-
<h4>Stack columns on smaller screens</h4>
|
|
124
|
-
<ix-layout-grid>
|
|
125
|
-
<ix-row>
|
|
126
|
-
<ix-col size="12" size-md="3"
|
|
127
|
-
><ix-typography format="display">1</ix-typography></ix-col
|
|
128
|
-
>
|
|
129
|
-
<ix-col size="12" size-md="3"
|
|
130
|
-
><ix-typography format="display">2</ix-typography></ix-col
|
|
131
|
-
>
|
|
132
|
-
<ix-col size="12" size-md="3"
|
|
133
|
-
><ix-typography format="display">3</ix-typography></ix-col
|
|
134
|
-
>
|
|
135
|
-
<ix-col size="12" size-md="3"
|
|
136
|
-
><ix-typography format="display">4</ix-typography></ix-col
|
|
137
|
-
>
|
|
138
|
-
</ix-row>
|
|
139
|
-
</ix-layout-grid>
|
|
140
|
-
</div>
|
|
141
|
-
<script type="module" src="./init.js"></script>
|
|
142
|
-
</body>
|
|
143
|
-
</html>
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### Example: grid
|
|
147
|
-
```html
|
|
148
|
-
<!DOCTYPE html>
|
|
149
|
-
<html lang="en">
|
|
150
|
-
<head>
|
|
151
|
-
<meta charset="UTF-8" />
|
|
152
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
153
|
-
<title>Grid example</title>
|
|
154
|
-
<link rel="stylesheet" href="./grid.css" />
|
|
155
|
-
</head>
|
|
156
|
-
<body>
|
|
157
|
-
<div class="grid">
|
|
158
|
-
<ix-layout-grid>
|
|
159
|
-
<ix-row>
|
|
160
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
161
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
162
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
163
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
164
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
165
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
166
|
-
</ix-row>
|
|
167
|
-
</ix-layout-grid>
|
|
168
|
-
|
|
169
|
-
<ix-layout-grid>
|
|
170
|
-
<ix-row>
|
|
171
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
172
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
173
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
174
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
175
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
176
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
177
|
-
<ix-col><ix-typography format="display">7</ix-typography></ix-col>
|
|
178
|
-
<ix-col><ix-typography format="display">8</ix-typography></ix-col>
|
|
179
|
-
<ix-col><ix-typography format="display">9</ix-typography></ix-col>
|
|
180
|
-
<ix-col><ix-typography format="display">10</ix-typography></ix-col>
|
|
181
|
-
<ix-col><ix-typography format="display">11</ix-typography></ix-col>
|
|
182
|
-
<ix-col><ix-typography format="display">12</ix-typography></ix-col>
|
|
183
|
-
</ix-row>
|
|
184
|
-
</ix-layout-grid>
|
|
185
|
-
</div>
|
|
186
|
-
<script type="module" src="./init.js"></script>
|
|
187
|
-
</body>
|
|
188
|
-
</html>
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
### Example: icon-toggle-button-primary-ghost
|
|
192
|
-
```html
|
|
193
|
-
<!DOCTYPE html>
|
|
194
|
-
<html lang="en">
|
|
195
|
-
<head>
|
|
196
|
-
<meta charset="UTF-8" />
|
|
197
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
198
|
-
<title>Icon toggle button primary ghost example</title>
|
|
199
|
-
<link rel="stylesheet" href="./icon-toggle-button-primary-ghost.css" />
|
|
200
|
-
<script type="module">
|
|
201
|
-
import { addIcons } from '@siemens/ix-icons';
|
|
202
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
203
|
-
addIcons({
|
|
204
|
-
iconCheckboxes,
|
|
205
|
-
});
|
|
206
|
-
</script>
|
|
207
|
-
</head>
|
|
208
|
-
<body>
|
|
209
|
-
<ix-layout-grid>
|
|
210
|
-
<ix-row>
|
|
211
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes"></ix-icon-toggle-button>
|
|
212
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" pressed></ix-icon-toggle-button>
|
|
213
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" disabled></ix-icon-toggle-button>
|
|
214
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" disabled loading></ix-icon-toggle-button>
|
|
215
|
-
</ix-row>
|
|
216
|
-
<ix-row>
|
|
217
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
218
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" pressed oval></ix-icon-toggle-button>
|
|
219
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" disabled oval></ix-icon-toggle-button>
|
|
220
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" disabled loading oval></ix-icon-toggle-button>
|
|
221
|
-
</ix-row>
|
|
222
|
-
</ix-layout-grid>
|
|
223
|
-
<script type="module" src="./init.js"></script>
|
|
224
|
-
</body>
|
|
225
|
-
</html>
|
|
226
|
-
```
|
|
227
|
-
|
|
228
|
-
### Example: icon-toggle-button-primary-outline
|
|
229
|
-
```html
|
|
230
|
-
<!DOCTYPE html>
|
|
231
|
-
<html lang="en">
|
|
232
|
-
<head>
|
|
233
|
-
<meta charset="UTF-8" />
|
|
234
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
235
|
-
<title>Icon toggle button primary outline example</title>
|
|
236
|
-
<link rel="stylesheet" href="./icon-toggle-button-primary-outline.css" />
|
|
237
|
-
<script type="module">
|
|
238
|
-
import { addIcons } from '@siemens/ix-icons';
|
|
239
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
240
|
-
addIcons({
|
|
241
|
-
iconCheckboxes,
|
|
242
|
-
});
|
|
243
|
-
</script>
|
|
244
|
-
</head>
|
|
245
|
-
<body>
|
|
246
|
-
<ix-layout-grid>
|
|
247
|
-
<ix-row>
|
|
248
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes"></ix-icon-toggle-button>
|
|
249
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" pressed></ix-icon-toggle-button>
|
|
250
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" disabled></ix-icon-toggle-button>
|
|
251
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" disabled loading></ix-icon-toggle-button>
|
|
252
|
-
</ix-row>
|
|
253
|
-
<ix-row>
|
|
254
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
255
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" pressed oval></ix-icon-toggle-button>
|
|
256
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" disabled oval></ix-icon-toggle-button>
|
|
257
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" disabled loading oval></ix-icon-toggle-button>
|
|
258
|
-
</ix-row>
|
|
259
|
-
</ix-layout-grid>
|
|
260
|
-
<script type="module" src="./init.js"></script>
|
|
261
|
-
</body>
|
|
262
|
-
</html>
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
### Example: icon-toggle-button-secondary-ghost
|
|
266
|
-
```html
|
|
267
|
-
<!DOCTYPE html>
|
|
268
|
-
<html lang="en">
|
|
269
|
-
<head>
|
|
270
|
-
<meta charset="UTF-8" />
|
|
271
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
272
|
-
<title>Icon toggle button secondary ghost example</title>
|
|
273
|
-
<link rel="stylesheet" href="./icon-toggle-button-secondary-ghost.css" />
|
|
274
|
-
<script type="module">
|
|
275
|
-
import { addIcons } from '@siemens/ix-icons';
|
|
276
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
277
|
-
addIcons({
|
|
278
|
-
iconCheckboxes,
|
|
279
|
-
});
|
|
280
|
-
</script>
|
|
281
|
-
</head>
|
|
282
|
-
<body>
|
|
283
|
-
<ix-layout-grid>
|
|
284
|
-
<ix-row>
|
|
285
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes"></ix-icon-toggle-button>
|
|
286
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" pressed></ix-icon-toggle-button>
|
|
287
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" disabled></ix-icon-toggle-button>
|
|
288
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" disabled loading></ix-icon-toggle-button>
|
|
289
|
-
</ix-row>
|
|
290
|
-
<ix-row>
|
|
291
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
292
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" pressed oval></ix-icon-toggle-button>
|
|
293
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" disabled oval></ix-icon-toggle-button>
|
|
294
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" disabled loading oval></ix-icon-toggle-button>
|
|
295
|
-
</ix-row>
|
|
296
|
-
</ix-layout-grid>
|
|
297
|
-
|
|
298
|
-
<script type="module" src="./init.js"></script>
|
|
299
|
-
</body>
|
|
300
|
-
</html>
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
### Example: icon-toggle-button-secondary-outline
|
|
304
|
-
```html
|
|
305
|
-
<!DOCTYPE html>
|
|
306
|
-
<html lang="en">
|
|
307
|
-
<head>
|
|
308
|
-
<meta charset="UTF-8" />
|
|
309
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
310
|
-
<title>Icon toggle button secondary outline example</title>
|
|
311
|
-
<link rel="stylesheet" href="./icon-toggle-button-secondary-outline.css" />
|
|
312
|
-
<script type="module">
|
|
313
|
-
import { addIcons } from '@siemens/ix-icons';
|
|
314
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
315
|
-
addIcons({
|
|
316
|
-
iconCheckboxes,
|
|
317
|
-
});
|
|
318
|
-
</script>
|
|
319
|
-
</head>
|
|
320
|
-
<body>
|
|
321
|
-
<ix-layout-grid>
|
|
322
|
-
<ix-row>
|
|
323
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes"></ix-icon-toggle-button>
|
|
324
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" pressed></ix-icon-toggle-button>
|
|
325
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" disabled></ix-icon-toggle-button>
|
|
326
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" disabled loading></ix-icon-toggle-button>
|
|
327
|
-
|
|
328
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes"></ix-icon-toggle-button>
|
|
329
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes" pressed></ix-icon-toggle-button>
|
|
330
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes" disabled></ix-icon-toggle-button>
|
|
331
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes" disabled loading></ix-icon-toggle-button>
|
|
332
|
-
|
|
333
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes"></ix-icon-toggle-button>
|
|
334
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes" pressed></ix-icon-toggle-button>
|
|
335
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes" disabled></ix-icon-toggle-button>
|
|
336
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes" disabled loading></ix-icon-toggle-button>
|
|
337
|
-
</ix-row>
|
|
338
|
-
<ix-row>
|
|
339
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
340
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" pressed oval></ix-icon-toggle-button>
|
|
341
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" disabled oval></ix-icon-toggle-button>
|
|
342
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" disabled loading oval></ix-icon-toggle-button>
|
|
343
|
-
|
|
344
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
345
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes" pressed oval></ix-icon-toggle-button>
|
|
346
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes" disabled oval></ix-icon-toggle-button>
|
|
347
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes" disabled loading oval></ix-icon-toggle-button>
|
|
348
|
-
|
|
349
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
350
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes" pressed oval></ix-icon-toggle-button>
|
|
351
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes" disabled oval></ix-icon-toggle-button>
|
|
352
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes" disabled loading oval></ix-icon-toggle-button>
|
|
353
|
-
</ix-row>
|
|
354
|
-
</ix-layout-grid>
|
|
355
|
-
<script type="module" src="./init.js"></script>
|
|
356
|
-
</body>
|
|
357
|
-
</html>
|
|
358
|
-
```
|
|
359
|
-
|
|
360
|
-
### Example: icon-toggle-button-secondary
|
|
361
|
-
```html
|
|
362
|
-
<!DOCTYPE html>
|
|
363
|
-
<html lang="en">
|
|
364
|
-
<head>
|
|
365
|
-
<meta charset="UTF-8" />
|
|
366
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
367
|
-
<title>Icon toggle button secondary example</title>
|
|
368
|
-
<link rel="stylesheet" href="./icon-toggle-button-secondary.css" />
|
|
369
|
-
<script type="module">
|
|
370
|
-
import { addIcons } from '@siemens/ix-icons';
|
|
371
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
372
|
-
addIcons({
|
|
373
|
-
iconCheckboxes,
|
|
374
|
-
});
|
|
375
|
-
</script>
|
|
376
|
-
</head>
|
|
377
|
-
<body>
|
|
378
|
-
<ix-layout-grid>
|
|
379
|
-
<ix-row>
|
|
380
|
-
<ix-icon-toggle-button icon="checkboxes"></ix-icon-toggle-button>
|
|
381
|
-
<ix-icon-toggle-button
|
|
382
|
-
icon="checkboxes"
|
|
383
|
-
pressed
|
|
384
|
-
></ix-icon-toggle-button>
|
|
385
|
-
<ix-icon-toggle-button
|
|
386
|
-
icon="checkboxes"
|
|
387
|
-
disabled
|
|
388
|
-
></ix-icon-toggle-button>
|
|
389
|
-
<ix-icon-toggle-button
|
|
390
|
-
icon="checkboxes"
|
|
391
|
-
disabled
|
|
392
|
-
loading
|
|
393
|
-
></ix-icon-toggle-button>
|
|
394
|
-
</ix-row>
|
|
395
|
-
<ix-row>
|
|
396
|
-
<ix-icon-toggle-button icon="checkboxes" oval></ix-icon-toggle-button>
|
|
397
|
-
<ix-icon-toggle-button
|
|
398
|
-
icon="checkboxes"
|
|
399
|
-
pressed
|
|
400
|
-
oval
|
|
401
|
-
></ix-icon-toggle-button>
|
|
402
|
-
<ix-icon-toggle-button
|
|
403
|
-
icon="checkboxes"
|
|
404
|
-
disabled
|
|
405
|
-
oval
|
|
406
|
-
></ix-icon-toggle-button>
|
|
407
|
-
<ix-icon-toggle-button
|
|
408
|
-
icon="checkboxes"
|
|
409
|
-
disabled
|
|
410
|
-
loading
|
|
411
|
-
oval
|
|
412
|
-
></ix-icon-toggle-button>
|
|
413
|
-
</ix-row>
|
|
414
|
-
</ix-layout-grid>
|
|
415
|
-
<script type="module" src="./init.js"></script>
|
|
416
|
-
</body>
|
|
417
|
-
</html>
|
|
418
|
-
```
|
|
419
|
-
|
|
420
|
-
### Example: pill-variants
|
|
421
|
-
```html
|
|
422
|
-
<!DOCTYPE html>
|
|
423
|
-
<html lang="en">
|
|
424
|
-
<head>
|
|
425
|
-
<meta charset="UTF-8" />
|
|
426
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
427
|
-
<title>Pill variant examples</title>
|
|
428
|
-
<link rel="stylesheet" href="./pill-variants.css" />
|
|
429
|
-
<script type="module">
|
|
430
|
-
import { addIcons } from '@siemens/ix-icons';
|
|
431
|
-
import { iconInfo } from '@siemens/ix-icons/icons';
|
|
432
|
-
addIcons({
|
|
433
|
-
iconInfo,
|
|
434
|
-
});
|
|
435
|
-
</script>
|
|
436
|
-
</head>
|
|
437
|
-
<body>
|
|
438
|
-
<ix-layout-grid>
|
|
439
|
-
<ix-row>
|
|
440
|
-
<ix-col>
|
|
441
|
-
<ix-pill icon="info"> Primary </ix-pill>
|
|
442
|
-
</ix-col>
|
|
443
|
-
<ix-col>
|
|
444
|
-
<ix-pill variant="subtle-primary" icon="info"> Primary </ix-pill>
|
|
445
|
-
</ix-col>
|
|
446
|
-
</ix-row>
|
|
447
|
-
|
|
448
|
-
<ix-row>
|
|
449
|
-
<ix-col>
|
|
450
|
-
<ix-pill variant="alarm" icon="info"> Alarm </ix-pill>
|
|
451
|
-
</ix-col>
|
|
452
|
-
<ix-col>
|
|
453
|
-
<ix-pill variant="alarm" icon="info"> Alarm </ix-pill>
|
|
454
|
-
</ix-col>
|
|
455
|
-
</ix-row>
|
|
456
|
-
|
|
457
|
-
<ix-row>
|
|
458
|
-
<ix-col>
|
|
459
|
-
<ix-pill variant="critical" icon="info"> Critical </ix-pill>
|
|
460
|
-
</ix-col>
|
|
461
|
-
<ix-col>
|
|
462
|
-
<ix-pill variant="critical" icon="info"> Critical </ix-pill>
|
|
463
|
-
</ix-col>
|
|
464
|
-
</ix-row>
|
|
465
|
-
|
|
466
|
-
<ix-row>
|
|
467
|
-
<ix-col>
|
|
468
|
-
<ix-pill variant="warning" icon="info"> Warning </ix-pill>
|
|
469
|
-
</ix-col>
|
|
470
|
-
<ix-col>
|
|
471
|
-
<ix-pill variant="warning" icon="info"> Warning </ix-pill>
|
|
472
|
-
</ix-col>
|
|
473
|
-
</ix-row>
|
|
474
|
-
|
|
475
|
-
<ix-row>
|
|
476
|
-
<ix-col>
|
|
477
|
-
<ix-pill variant="success" icon="info"> Success </ix-pill>
|
|
478
|
-
</ix-col>
|
|
479
|
-
<ix-col>
|
|
480
|
-
<ix-pill variant="success" icon="info"> Success </ix-pill>
|
|
481
|
-
</ix-col>
|
|
482
|
-
</ix-row>
|
|
483
|
-
|
|
484
|
-
<ix-row>
|
|
485
|
-
<ix-col>
|
|
486
|
-
<ix-pill variant="info" icon="info"> Info </ix-pill>
|
|
487
|
-
</ix-col>
|
|
488
|
-
<ix-col>
|
|
489
|
-
<ix-pill variant="info" icon="info"> Info </ix-pill>
|
|
490
|
-
</ix-col>
|
|
491
|
-
</ix-row>
|
|
492
|
-
|
|
493
|
-
<ix-row>
|
|
494
|
-
<ix-col>
|
|
495
|
-
<ix-pill variant="neutral" icon="info"> Neutral </ix-pill>
|
|
496
|
-
</ix-col>
|
|
497
|
-
<ix-col>
|
|
498
|
-
<ix-pill variant="neutral" icon="info"> Neutral </ix-pill>
|
|
499
|
-
</ix-col>
|
|
500
|
-
</ix-row>
|
|
501
|
-
|
|
502
|
-
<ix-row>
|
|
503
|
-
<ix-col>
|
|
504
|
-
<ix-pill
|
|
505
|
-
variant="custom"
|
|
506
|
-
color="color-soft-text"
|
|
507
|
-
background="purple"
|
|
508
|
-
icon="info"
|
|
509
|
-
>
|
|
510
|
-
Custom
|
|
511
|
-
</ix-pill>
|
|
512
|
-
</ix-col>
|
|
513
|
-
<ix-col>
|
|
514
|
-
<ix-pill variant="custom" color="color-soft-text" background="purple" icon="info">
|
|
515
|
-
Custom
|
|
516
|
-
</ix-pill>
|
|
517
|
-
</ix-col>
|
|
518
|
-
</ix-row>
|
|
519
|
-
</ix-layout-grid>
|
|
520
|
-
<script type="module" src="./init.js"></script>
|
|
521
|
-
</body>
|
|
522
|
-
</html>
|
|
523
|
-
```
|
|
524
|
-
|
|
525
|
-
### Example: theme-switcher
|
|
526
|
-
```html
|
|
527
|
-
<!DOCTYPE html>
|
|
528
|
-
<html lang="en">
|
|
529
|
-
<head>
|
|
530
|
-
<meta charset="UTF-8" />
|
|
531
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
532
|
-
<title>Theme switcher example</title>
|
|
533
|
-
<link rel="stylesheet" href="./theme-switcher.css" />
|
|
534
|
-
</head>
|
|
535
|
-
<body>
|
|
536
|
-
<ix-layout-grid class="theme-switcher">
|
|
537
|
-
<ix-row>
|
|
538
|
-
<ix-col size="2">
|
|
539
|
-
<span>Light/Dark</span>
|
|
540
|
-
</ix-col>
|
|
541
|
-
<ix-col>
|
|
542
|
-
<ix-button id="toggle-mode">Toggle mode</ix-button>
|
|
543
|
-
</ix-col>
|
|
544
|
-
</ix-row>
|
|
545
|
-
|
|
546
|
-
<ix-row>
|
|
547
|
-
<ix-col size="2">Theme</ix-col>
|
|
548
|
-
<ix-col>
|
|
549
|
-
<ix-select id="select-theme" placeholder="Select a theme">
|
|
550
|
-
</ix-select>
|
|
551
|
-
</ix-col>
|
|
552
|
-
</ix-row>
|
|
553
|
-
|
|
554
|
-
<ix-row>
|
|
555
|
-
<ix-col size="2"></ix-col>
|
|
556
|
-
<ix-col>
|
|
557
|
-
<input class="ix-form-control" type="checkbox" id="system" />
|
|
558
|
-
<label class="ix-form-label" for="system">Use System</label>
|
|
559
|
-
</ix-col>
|
|
560
|
-
</ix-row>
|
|
561
|
-
</ix-layout-grid>
|
|
562
|
-
|
|
563
|
-
<script type="module">
|
|
564
|
-
import { themeSwitcher } from '@siemens/ix';
|
|
565
|
-
|
|
566
|
-
(async function () {
|
|
567
|
-
const themes = ['theme-classic-light', 'theme-classic-dark'];
|
|
568
|
-
let selectedTheme = themes[1];
|
|
569
|
-
|
|
570
|
-
setTimeout(() => {
|
|
571
|
-
themeSwitcher.setTheme(selectedTheme);
|
|
572
|
-
});
|
|
573
|
-
|
|
574
|
-
const toggleModeButton = document.getElementById('toggle-mode');
|
|
575
|
-
toggleModeButton.addEventListener('click', () => {
|
|
576
|
-
themeSwitcher.toggleMode();
|
|
577
|
-
});
|
|
578
|
-
|
|
579
|
-
const themeSelect = document.getElementById('select-theme');
|
|
580
|
-
themes.forEach((theme) => {
|
|
581
|
-
const item = document.createElement('ix-select-item');
|
|
582
|
-
item.label = theme;
|
|
583
|
-
item.value = theme;
|
|
584
|
-
themeSelect.appendChild(item);
|
|
585
|
-
});
|
|
586
|
-
|
|
587
|
-
themeSelect.value = selectedTheme;
|
|
588
|
-
|
|
589
|
-
themeSelect.addEventListener('valueChange', ({ detail: theme }) => {
|
|
590
|
-
themeSwitcher.setTheme(theme);
|
|
591
|
-
selectedTheme = theme;
|
|
592
|
-
});
|
|
593
|
-
|
|
594
|
-
const toggleSystem = document.getElementById('system');
|
|
595
|
-
toggleSystem.addEventListener('change', ({ target }) => {
|
|
596
|
-
if (target.checked) {
|
|
597
|
-
themeSwitcher.setVariant();
|
|
598
|
-
return;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
themeSwitcher.setTheme(selectedTheme);
|
|
602
|
-
});
|
|
603
|
-
})();
|
|
604
|
-
</script>
|
|
605
|
-
<script type="module" src="./init.js"></script>
|
|
606
|
-
</body>
|
|
607
|
-
</html>
|
|
608
|
-
```
|
|
609
|
-
|
|
610
|
-
## React Examples
|
|
611
|
-
|
|
612
|
-
### Example: form-layout-grid
|
|
613
|
-
```tsx
|
|
614
|
-
import {
|
|
615
|
-
IxButton,
|
|
616
|
-
IxCol,
|
|
617
|
-
IxFieldLabel,
|
|
618
|
-
IxInput,
|
|
619
|
-
IxLayoutGrid,
|
|
620
|
-
IxRow,
|
|
621
|
-
IxSelect,
|
|
622
|
-
} from '@siemens/ix-react';
|
|
623
|
-
|
|
624
|
-
import './form-layout-grid.scoped.css';
|
|
625
|
-
|
|
626
|
-
export default () => {
|
|
627
|
-
return (
|
|
628
|
-
<IxLayoutGrid className="layout-grid-example">
|
|
629
|
-
<IxRow>
|
|
630
|
-
<IxCol size="2" size-sm="12">
|
|
631
|
-
<IxFieldLabel htmlFor="my-select-1">Example</IxFieldLabel>
|
|
632
|
-
</IxCol>
|
|
633
|
-
<IxCol>
|
|
634
|
-
<IxSelect id="my-select-1"></IxSelect>
|
|
635
|
-
</IxCol>
|
|
636
|
-
</IxRow>
|
|
637
|
-
<IxRow>
|
|
638
|
-
<IxCol size="2" size-sm="12">
|
|
639
|
-
<IxFieldLabel htmlFor="my-select-2">Example</IxFieldLabel>
|
|
640
|
-
</IxCol>
|
|
641
|
-
<IxCol>
|
|
642
|
-
<IxInput id="my-select-2"></IxInput>
|
|
643
|
-
</IxCol>
|
|
644
|
-
</IxRow>
|
|
645
|
-
<IxRow>
|
|
646
|
-
<IxCol size="12" size-sm="12">
|
|
647
|
-
<IxButton data-colspan="2">Submit</IxButton>
|
|
648
|
-
</IxCol>
|
|
649
|
-
</IxRow>
|
|
650
|
-
</IxLayoutGrid>
|
|
651
|
-
);
|
|
652
|
-
};
|
|
653
|
-
```
|
|
654
|
-
|
|
655
|
-
### Example: grid-padding
|
|
656
|
-
```tsx
|
|
657
|
-
import './grid-padding.scoped.css';
|
|
658
|
-
|
|
659
|
-
import { IxCol, IxLayoutGrid, IxRow, IxTypography } from '@siemens/ix-react';
|
|
660
|
-
|
|
661
|
-
export default () => {
|
|
662
|
-
return (
|
|
663
|
-
<div className="grid">
|
|
664
|
-
<h4>Grid with margin</h4>
|
|
665
|
-
<IxLayoutGrid>
|
|
666
|
-
<IxRow>
|
|
667
|
-
<IxCol>
|
|
668
|
-
<IxTypography format="display">1</IxTypography>
|
|
669
|
-
</IxCol>
|
|
670
|
-
<IxCol>
|
|
671
|
-
<IxTypography format="display">2</IxTypography>
|
|
672
|
-
</IxCol>
|
|
673
|
-
<IxCol>
|
|
674
|
-
<IxTypography format="display">3</IxTypography>
|
|
675
|
-
</IxCol>
|
|
676
|
-
<IxCol>
|
|
677
|
-
<IxTypography format="display">4</IxTypography>
|
|
678
|
-
</IxCol>
|
|
679
|
-
<IxCol>
|
|
680
|
-
<IxTypography format="display">5</IxTypography>
|
|
681
|
-
</IxCol>
|
|
682
|
-
<IxCol>
|
|
683
|
-
<IxTypography format="display">6</IxTypography>
|
|
684
|
-
</IxCol>
|
|
685
|
-
<IxCol>
|
|
686
|
-
<IxTypography format="display">7</IxTypography>
|
|
687
|
-
</IxCol>
|
|
688
|
-
<IxCol>
|
|
689
|
-
<IxTypography format="display">8</IxTypography>
|
|
690
|
-
</IxCol>
|
|
691
|
-
<IxCol>
|
|
692
|
-
<IxTypography format="display">9</IxTypography>
|
|
693
|
-
</IxCol>
|
|
694
|
-
<IxCol>
|
|
695
|
-
<IxTypography format="display">10</IxTypography>
|
|
696
|
-
</IxCol>
|
|
697
|
-
<IxCol>
|
|
698
|
-
<IxTypography format="display">11</IxTypography>
|
|
699
|
-
</IxCol>
|
|
700
|
-
<IxCol>
|
|
701
|
-
<IxTypography format="display">12</IxTypography>
|
|
702
|
-
</IxCol>
|
|
703
|
-
</IxRow>
|
|
704
|
-
</IxLayoutGrid>
|
|
705
|
-
|
|
706
|
-
<h4>Grid without margin</h4>
|
|
707
|
-
<IxLayoutGrid noMargin>
|
|
708
|
-
<IxRow>
|
|
709
|
-
<IxCol>
|
|
710
|
-
<IxTypography format="display">1</IxTypography>
|
|
711
|
-
</IxCol>
|
|
712
|
-
<IxCol>
|
|
713
|
-
<IxTypography format="display">2</IxTypography>
|
|
714
|
-
</IxCol>
|
|
715
|
-
<IxCol>
|
|
716
|
-
<IxTypography format="display">3</IxTypography>
|
|
717
|
-
</IxCol>
|
|
718
|
-
<IxCol>
|
|
719
|
-
<IxTypography format="display">4</IxTypography>
|
|
720
|
-
</IxCol>
|
|
721
|
-
<IxCol>
|
|
722
|
-
<IxTypography format="display">5</IxTypography>
|
|
723
|
-
</IxCol>
|
|
724
|
-
<IxCol>
|
|
725
|
-
<IxTypography format="display">6</IxTypography>
|
|
726
|
-
</IxCol>
|
|
727
|
-
<IxCol>
|
|
728
|
-
<IxTypography format="display">7</IxTypography>
|
|
729
|
-
</IxCol>
|
|
730
|
-
<IxCol>
|
|
731
|
-
<IxTypography format="display">8</IxTypography>
|
|
732
|
-
</IxCol>
|
|
733
|
-
<IxCol>
|
|
734
|
-
<IxTypography format="display">9</IxTypography>
|
|
735
|
-
</IxCol>
|
|
736
|
-
<IxCol>
|
|
737
|
-
<IxTypography format="display">10</IxTypography>
|
|
738
|
-
</IxCol>
|
|
739
|
-
<IxCol>
|
|
740
|
-
<IxTypography format="display">11</IxTypography>
|
|
741
|
-
</IxCol>
|
|
742
|
-
<IxCol>
|
|
743
|
-
<IxTypography format="display">12</IxTypography>
|
|
744
|
-
</IxCol>
|
|
745
|
-
</IxRow>
|
|
746
|
-
</IxLayoutGrid>
|
|
747
|
-
</div>
|
|
748
|
-
);
|
|
749
|
-
};
|
|
750
|
-
```
|
|
751
|
-
|
|
752
|
-
### Example: grid-size
|
|
753
|
-
```tsx
|
|
754
|
-
import './grid-size.scoped.css';
|
|
755
|
-
|
|
756
|
-
import { IxCol, IxLayoutGrid, IxRow, IxTypography } from '@siemens/ix-react';
|
|
757
|
-
|
|
758
|
-
export default () => {
|
|
759
|
-
return (
|
|
760
|
-
<div className="grid">
|
|
761
|
-
<h4>Column 6 takes up more space to a max of 12 columns total</h4>
|
|
762
|
-
<IxLayoutGrid>
|
|
763
|
-
<IxRow>
|
|
764
|
-
<IxCol>
|
|
765
|
-
<IxTypography format="display">1</IxTypography>
|
|
766
|
-
</IxCol>
|
|
767
|
-
<IxCol>
|
|
768
|
-
<IxTypography format="display">2</IxTypography>
|
|
769
|
-
</IxCol>
|
|
770
|
-
<IxCol>
|
|
771
|
-
<IxTypography format="display">3</IxTypography>
|
|
772
|
-
</IxCol>
|
|
773
|
-
<IxCol>
|
|
774
|
-
<IxTypography format="display">4</IxTypography>
|
|
775
|
-
</IxCol>
|
|
776
|
-
<IxCol>
|
|
777
|
-
<IxTypography format="display">5</IxTypography>
|
|
778
|
-
</IxCol>
|
|
779
|
-
<IxCol size="6">
|
|
780
|
-
<IxTypography format="display">6</IxTypography>
|
|
781
|
-
</IxCol>
|
|
782
|
-
</IxRow>
|
|
783
|
-
</IxLayoutGrid>
|
|
784
|
-
|
|
785
|
-
<h4>Stack columns on smaller screens</h4>
|
|
786
|
-
<IxLayoutGrid>
|
|
787
|
-
<IxRow>
|
|
788
|
-
<IxCol size="12" size-md="3">
|
|
789
|
-
<IxTypography format="display">1</IxTypography>
|
|
790
|
-
</IxCol>
|
|
791
|
-
<IxCol size="12" size-md="3">
|
|
792
|
-
<IxTypography format="display">2</IxTypography>
|
|
793
|
-
</IxCol>
|
|
794
|
-
<IxCol size="12" size-md="3">
|
|
795
|
-
<IxTypography format="display">3</IxTypography>
|
|
796
|
-
</IxCol>
|
|
797
|
-
<IxCol size="12" size-md="3">
|
|
798
|
-
<IxTypography format="display">4</IxTypography>
|
|
799
|
-
</IxCol>
|
|
800
|
-
</IxRow>
|
|
801
|
-
</IxLayoutGrid>
|
|
802
|
-
</div>
|
|
803
|
-
);
|
|
804
|
-
};
|
|
805
|
-
```
|
|
806
|
-
|
|
807
|
-
### Example: grid
|
|
808
|
-
```tsx
|
|
809
|
-
import './grid.scoped.css';
|
|
810
|
-
|
|
811
|
-
import { IxCol, IxLayoutGrid, IxRow, IxTypography } from '@siemens/ix-react';
|
|
812
|
-
|
|
813
|
-
export default () => {
|
|
814
|
-
return (
|
|
815
|
-
<div className="grid">
|
|
816
|
-
<IxLayoutGrid>
|
|
817
|
-
<IxRow>
|
|
818
|
-
<IxCol>
|
|
819
|
-
<IxTypography format="display">1</IxTypography>
|
|
820
|
-
</IxCol>
|
|
821
|
-
<IxCol>
|
|
822
|
-
<IxTypography format="display">2</IxTypography>
|
|
823
|
-
</IxCol>
|
|
824
|
-
<IxCol>
|
|
825
|
-
<IxTypography format="display">3</IxTypography>
|
|
826
|
-
</IxCol>
|
|
827
|
-
<IxCol>
|
|
828
|
-
<IxTypography format="display">4</IxTypography>
|
|
829
|
-
</IxCol>
|
|
830
|
-
<IxCol>
|
|
831
|
-
<IxTypography format="display">5</IxTypography>
|
|
832
|
-
</IxCol>
|
|
833
|
-
<IxCol>
|
|
834
|
-
<IxTypography format="display">6</IxTypography>
|
|
835
|
-
</IxCol>
|
|
836
|
-
</IxRow>
|
|
837
|
-
</IxLayoutGrid>
|
|
838
|
-
|
|
839
|
-
<IxLayoutGrid>
|
|
840
|
-
<IxRow>
|
|
841
|
-
<IxCol>
|
|
842
|
-
<IxTypography format="display">1</IxTypography>
|
|
843
|
-
</IxCol>
|
|
844
|
-
<IxCol>
|
|
845
|
-
<IxTypography format="display">2</IxTypography>
|
|
846
|
-
</IxCol>
|
|
847
|
-
<IxCol>
|
|
848
|
-
<IxTypography format="display">3</IxTypography>
|
|
849
|
-
</IxCol>
|
|
850
|
-
<IxCol>
|
|
851
|
-
<IxTypography format="display">4</IxTypography>
|
|
852
|
-
</IxCol>
|
|
853
|
-
<IxCol>
|
|
854
|
-
<IxTypography format="display">5</IxTypography>
|
|
855
|
-
</IxCol>
|
|
856
|
-
<IxCol>
|
|
857
|
-
<IxTypography format="display">6</IxTypography>
|
|
858
|
-
</IxCol>
|
|
859
|
-
<IxCol>
|
|
860
|
-
<IxTypography format="display">7</IxTypography>
|
|
861
|
-
</IxCol>
|
|
862
|
-
<IxCol>
|
|
863
|
-
<IxTypography format="display">8</IxTypography>
|
|
864
|
-
</IxCol>
|
|
865
|
-
<IxCol>
|
|
866
|
-
<IxTypography format="display">9</IxTypography>
|
|
867
|
-
</IxCol>
|
|
868
|
-
<IxCol>
|
|
869
|
-
<IxTypography format="display">10</IxTypography>
|
|
870
|
-
</IxCol>
|
|
871
|
-
<IxCol>
|
|
872
|
-
<IxTypography format="display">11</IxTypography>
|
|
873
|
-
</IxCol>
|
|
874
|
-
<IxCol>
|
|
875
|
-
<IxTypography format="display">12</IxTypography>
|
|
876
|
-
</IxCol>
|
|
877
|
-
</IxRow>
|
|
878
|
-
</IxLayoutGrid>
|
|
879
|
-
</div>
|
|
880
|
-
);
|
|
881
|
-
};
|
|
882
|
-
```
|
|
883
|
-
|
|
884
|
-
### Example: icon-toggle-button-primary-ghost
|
|
885
|
-
```tsx
|
|
886
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
887
|
-
import './icon-toggle-button-primary-ghost.scoped.css';
|
|
888
|
-
|
|
889
|
-
import { IxIconToggleButton, IxLayoutGrid, IxRow } from '@siemens/ix-react';
|
|
890
|
-
|
|
891
|
-
export default () => {
|
|
892
|
-
return (
|
|
893
|
-
<IxLayoutGrid>
|
|
894
|
-
<IxRow>
|
|
895
|
-
<IxIconToggleButton variant="tertiary" icon={iconCheckboxes}></IxIconToggleButton>
|
|
896
|
-
<IxIconToggleButton variant="tertiary" pressed icon={iconCheckboxes}></IxIconToggleButton>
|
|
897
|
-
<IxIconToggleButton variant="tertiary" disabled icon={iconCheckboxes}></IxIconToggleButton>
|
|
898
|
-
<IxIconToggleButton variant="tertiary" disabled loading icon={iconCheckboxes}></IxIconToggleButton>
|
|
899
|
-
</IxRow>
|
|
900
|
-
<IxRow>
|
|
901
|
-
<IxIconToggleButton variant="tertiary" icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
902
|
-
<IxIconToggleButton variant="tertiary" pressed icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
903
|
-
<IxIconToggleButton variant="tertiary" disabled icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
904
|
-
<IxIconToggleButton variant="tertiary" disabled loading icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
905
|
-
</IxRow>
|
|
906
|
-
</IxLayoutGrid>
|
|
907
|
-
);
|
|
908
|
-
};
|
|
909
|
-
```
|
|
910
|
-
|
|
911
|
-
### Example: icon-toggle-button-primary-outline
|
|
912
|
-
```tsx
|
|
913
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
914
|
-
import './icon-toggle-button-primary-outline.scoped.css';
|
|
915
|
-
|
|
916
|
-
import { IxIconToggleButton, IxLayoutGrid, IxRow } from '@siemens/ix-react';
|
|
917
|
-
|
|
918
|
-
export default () => {
|
|
919
|
-
return (
|
|
920
|
-
<IxLayoutGrid>
|
|
921
|
-
<IxRow>
|
|
922
|
-
<IxIconToggleButton variant="subtle-primary" icon={iconCheckboxes}></IxIconToggleButton>
|
|
923
|
-
<IxIconToggleButton variant="subtle-primary" pressed icon={iconCheckboxes}></IxIconToggleButton>
|
|
924
|
-
<IxIconToggleButton variant="subtle-primary" disabled icon={iconCheckboxes}></IxIconToggleButton>
|
|
925
|
-
<IxIconToggleButton variant="subtle-primary" disabled loading icon={iconCheckboxes}></IxIconToggleButton>
|
|
926
|
-
</IxRow>
|
|
927
|
-
<IxRow>
|
|
928
|
-
<IxIconToggleButton variant="subtle-primary" icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
929
|
-
<IxIconToggleButton variant="subtle-primary" pressed icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
930
|
-
<IxIconToggleButton variant="subtle-primary" disabled icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
931
|
-
<IxIconToggleButton variant="subtle-primary" disabled loading icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
932
|
-
</IxRow>
|
|
933
|
-
</IxLayoutGrid>
|
|
934
|
-
);
|
|
935
|
-
};
|
|
936
|
-
```
|
|
937
|
-
|
|
938
|
-
### Example: icon-toggle-button-secondary-ghost
|
|
939
|
-
```tsx
|
|
940
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
941
|
-
import './icon-toggle-button-secondary-ghost.scoped.css';
|
|
942
|
-
|
|
943
|
-
import { IxIconToggleButton, IxLayoutGrid, IxRow } from '@siemens/ix-react';
|
|
944
|
-
|
|
945
|
-
export default () => {
|
|
946
|
-
return (
|
|
947
|
-
<IxLayoutGrid>
|
|
948
|
-
<IxRow>
|
|
949
|
-
<IxIconToggleButton variant="tertiary" icon={iconCheckboxes}></IxIconToggleButton>
|
|
950
|
-
<IxIconToggleButton variant="tertiary" pressed icon={iconCheckboxes}></IxIconToggleButton>
|
|
951
|
-
<IxIconToggleButton variant="tertiary" disabled icon={iconCheckboxes}></IxIconToggleButton>
|
|
952
|
-
<IxIconToggleButton variant="tertiary" disabled loading icon={iconCheckboxes}></IxIconToggleButton>
|
|
953
|
-
</IxRow>
|
|
954
|
-
<IxRow>
|
|
955
|
-
<IxIconToggleButton variant="tertiary" icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
956
|
-
<IxIconToggleButton variant="tertiary" pressed icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
957
|
-
<IxIconToggleButton variant="tertiary" disabled icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
958
|
-
<IxIconToggleButton variant="tertiary" disabled loading icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
959
|
-
</IxRow>
|
|
960
|
-
</IxLayoutGrid>
|
|
961
|
-
);
|
|
962
|
-
};
|
|
963
|
-
```
|
|
964
|
-
|
|
965
|
-
### Example: icon-toggle-button-secondary-outline
|
|
966
|
-
```tsx
|
|
967
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
968
|
-
import './icon-toggle-button-secondary-outline.scoped.css';
|
|
969
|
-
|
|
970
|
-
import { IxIconToggleButton, IxLayoutGrid, IxRow } from '@siemens/ix-react';
|
|
971
|
-
|
|
972
|
-
export default () => {
|
|
973
|
-
return (
|
|
974
|
-
<IxLayoutGrid>
|
|
975
|
-
<IxRow>
|
|
976
|
-
<IxIconToggleButton variant="subtle-primary" icon={iconCheckboxes}></IxIconToggleButton>
|
|
977
|
-
<IxIconToggleButton variant="subtle-primary" pressed icon={iconCheckboxes}></IxIconToggleButton>
|
|
978
|
-
<IxIconToggleButton variant="subtle-primary" disabled icon={iconCheckboxes}></IxIconToggleButton>
|
|
979
|
-
<IxIconToggleButton variant="subtle-primary" disabled loading icon={iconCheckboxes}></IxIconToggleButton>
|
|
980
|
-
|
|
981
|
-
<IxIconToggleButton variant="subtle-primary" size="16" icon={iconCheckboxes}></IxIconToggleButton>
|
|
982
|
-
<IxIconToggleButton variant="subtle-primary" size="16" pressed icon={iconCheckboxes}></IxIconToggleButton>
|
|
983
|
-
<IxIconToggleButton variant="subtle-primary" size="16" disabled icon={iconCheckboxes}></IxIconToggleButton>
|
|
984
|
-
<IxIconToggleButton variant="subtle-primary" size="16" disabled loading icon={iconCheckboxes}></IxIconToggleButton>
|
|
985
|
-
|
|
986
|
-
<IxIconToggleButton variant="subtle-primary" size="12" icon={iconCheckboxes}></IxIconToggleButton>
|
|
987
|
-
<IxIconToggleButton variant="subtle-primary" size="12" pressed icon={iconCheckboxes}></IxIconToggleButton>
|
|
988
|
-
<IxIconToggleButton variant="subtle-primary" size="12" disabled icon={iconCheckboxes}></IxIconToggleButton>
|
|
989
|
-
<IxIconToggleButton variant="subtle-primary" size="12" disabled loading icon={iconCheckboxes}></IxIconToggleButton>
|
|
990
|
-
</IxRow>
|
|
991
|
-
<IxRow>
|
|
992
|
-
<IxIconToggleButton variant="subtle-primary" icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
993
|
-
<IxIconToggleButton variant="subtle-primary" pressed icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
994
|
-
<IxIconToggleButton variant="subtle-primary" disabled icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
995
|
-
<IxIconToggleButton variant="subtle-primary" disabled loading icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
996
|
-
|
|
997
|
-
<IxIconToggleButton variant="subtle-primary" size="16" icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
998
|
-
<IxIconToggleButton variant="subtle-primary" size="16" pressed icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
999
|
-
<IxIconToggleButton variant="subtle-primary" size="16" disabled icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
1000
|
-
<IxIconToggleButton variant="subtle-primary" size="16" disabled loading icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
1001
|
-
|
|
1002
|
-
<IxIconToggleButton variant="subtle-primary" size="12" icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
1003
|
-
<IxIconToggleButton variant="subtle-primary" size="12" pressed icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
1004
|
-
<IxIconToggleButton variant="subtle-primary" size="12" disabled icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
1005
|
-
<IxIconToggleButton variant="subtle-primary" size="12" disabled loading icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
1006
|
-
</IxRow>
|
|
1007
|
-
</IxLayoutGrid>
|
|
1008
|
-
);
|
|
1009
|
-
};
|
|
1010
|
-
```
|
|
1011
|
-
|
|
1012
|
-
### Example: icon-toggle-button-secondary
|
|
1013
|
-
```tsx
|
|
1014
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
1015
|
-
import './icon-toggle-button-secondary.scoped.css';
|
|
1016
|
-
|
|
1017
|
-
import { IxIconToggleButton, IxLayoutGrid, IxRow } from '@siemens/ix-react';
|
|
1018
|
-
|
|
1019
|
-
export default () => {
|
|
1020
|
-
return (
|
|
1021
|
-
<IxLayoutGrid>
|
|
1022
|
-
<IxRow>
|
|
1023
|
-
<IxIconToggleButton icon={iconCheckboxes}></IxIconToggleButton>
|
|
1024
|
-
<IxIconToggleButton pressed icon={iconCheckboxes}></IxIconToggleButton>
|
|
1025
|
-
<IxIconToggleButton disabled icon={iconCheckboxes}></IxIconToggleButton>
|
|
1026
|
-
<IxIconToggleButton
|
|
1027
|
-
disabled
|
|
1028
|
-
loading
|
|
1029
|
-
icon={iconCheckboxes}
|
|
1030
|
-
></IxIconToggleButton>
|
|
1031
|
-
</IxRow>
|
|
1032
|
-
<IxRow>
|
|
1033
|
-
<IxIconToggleButton icon={iconCheckboxes} oval></IxIconToggleButton>
|
|
1034
|
-
<IxIconToggleButton
|
|
1035
|
-
pressed
|
|
1036
|
-
icon={iconCheckboxes}
|
|
1037
|
-
oval
|
|
1038
|
-
></IxIconToggleButton>
|
|
1039
|
-
<IxIconToggleButton
|
|
1040
|
-
disabled
|
|
1041
|
-
icon={iconCheckboxes}
|
|
1042
|
-
oval
|
|
1043
|
-
></IxIconToggleButton>
|
|
1044
|
-
<IxIconToggleButton
|
|
1045
|
-
disabled
|
|
1046
|
-
loading
|
|
1047
|
-
icon={iconCheckboxes}
|
|
1048
|
-
oval
|
|
1049
|
-
></IxIconToggleButton>
|
|
1050
|
-
</IxRow>
|
|
1051
|
-
</IxLayoutGrid>
|
|
1052
|
-
);
|
|
1053
|
-
};
|
|
1054
|
-
```
|
|
1055
|
-
|
|
1056
|
-
### Example: pill-variants
|
|
1057
|
-
```tsx
|
|
1058
|
-
import { iconInfo } from '@siemens/ix-icons/icons';
|
|
1059
|
-
import './pill-variants.scoped.css';
|
|
1060
|
-
|
|
1061
|
-
import { IxCol, IxLayoutGrid, IxPill, IxRow } from '@siemens/ix-react';
|
|
1062
|
-
|
|
1063
|
-
export default () => {
|
|
1064
|
-
return (
|
|
1065
|
-
<>
|
|
1066
|
-
<IxLayoutGrid>
|
|
1067
|
-
<IxRow>
|
|
1068
|
-
<IxCol>
|
|
1069
|
-
<IxPill icon={iconInfo}>Primary</IxPill>
|
|
1070
|
-
</IxCol>
|
|
1071
|
-
<IxCol>
|
|
1072
|
-
<IxPill variant="subtle-primary" icon={iconInfo}>
|
|
1073
|
-
Primary
|
|
1074
|
-
</IxPill>
|
|
1075
|
-
</IxCol>
|
|
1076
|
-
</IxRow>
|
|
1077
|
-
|
|
1078
|
-
<IxRow>
|
|
1079
|
-
<IxCol>
|
|
1080
|
-
<IxPill variant="alarm" icon={iconInfo}>
|
|
1081
|
-
Alarm
|
|
1082
|
-
</IxPill>
|
|
1083
|
-
</IxCol>
|
|
1084
|
-
<IxCol>
|
|
1085
|
-
<IxPill variant="alarm" icon={iconInfo}>
|
|
1086
|
-
Alarm
|
|
1087
|
-
</IxPill>
|
|
1088
|
-
</IxCol>
|
|
1089
|
-
</IxRow>
|
|
1090
|
-
|
|
1091
|
-
<IxRow>
|
|
1092
|
-
<IxCol>
|
|
1093
|
-
<IxPill variant="critical" icon={iconInfo}>
|
|
1094
|
-
Critical
|
|
1095
|
-
</IxPill>
|
|
1096
|
-
</IxCol>
|
|
1097
|
-
<IxCol>
|
|
1098
|
-
<IxPill variant="critical" icon={iconInfo}>
|
|
1099
|
-
Critical
|
|
1100
|
-
</IxPill>
|
|
1101
|
-
</IxCol>
|
|
1102
|
-
</IxRow>
|
|
1103
|
-
|
|
1104
|
-
<IxRow>
|
|
1105
|
-
<IxCol>
|
|
1106
|
-
<IxPill variant="warning" icon={iconInfo}>
|
|
1107
|
-
Warning
|
|
1108
|
-
</IxPill>
|
|
1109
|
-
</IxCol>
|
|
1110
|
-
<IxCol>
|
|
1111
|
-
<IxPill variant="warning" icon={iconInfo}>
|
|
1112
|
-
Warning
|
|
1113
|
-
</IxPill>
|
|
1114
|
-
</IxCol>
|
|
1115
|
-
</IxRow>
|
|
1116
|
-
|
|
1117
|
-
<IxRow>
|
|
1118
|
-
<IxCol>
|
|
1119
|
-
<IxPill variant="success" icon={iconInfo}>
|
|
1120
|
-
Success
|
|
1121
|
-
</IxPill>
|
|
1122
|
-
</IxCol>
|
|
1123
|
-
<IxCol>
|
|
1124
|
-
<IxPill variant="success" icon={iconInfo}>
|
|
1125
|
-
Success
|
|
1126
|
-
</IxPill>
|
|
1127
|
-
</IxCol>
|
|
1128
|
-
</IxRow>
|
|
1129
|
-
|
|
1130
|
-
<IxRow>
|
|
1131
|
-
<IxCol>
|
|
1132
|
-
<IxPill variant="info" icon={iconInfo}>
|
|
1133
|
-
Info
|
|
1134
|
-
</IxPill>
|
|
1135
|
-
</IxCol>
|
|
1136
|
-
<IxCol>
|
|
1137
|
-
<IxPill variant="info" icon={iconInfo}>
|
|
1138
|
-
Info
|
|
1139
|
-
</IxPill>
|
|
1140
|
-
</IxCol>
|
|
1141
|
-
</IxRow>
|
|
1142
|
-
|
|
1143
|
-
<IxRow>
|
|
1144
|
-
<IxCol>
|
|
1145
|
-
<IxPill variant="neutral" icon={iconInfo}>
|
|
1146
|
-
Neutral
|
|
1147
|
-
</IxPill>
|
|
1148
|
-
</IxCol>
|
|
1149
|
-
<IxCol>
|
|
1150
|
-
<IxPill variant="neutral" icon={iconInfo}>
|
|
1151
|
-
Neutral
|
|
1152
|
-
</IxPill>
|
|
1153
|
-
</IxCol>
|
|
1154
|
-
</IxRow>
|
|
1155
|
-
|
|
1156
|
-
<IxRow>
|
|
1157
|
-
<IxCol>
|
|
1158
|
-
<IxPill
|
|
1159
|
-
variant="custom"
|
|
1160
|
-
color="color-soft-text"
|
|
1161
|
-
background="purple"
|
|
1162
|
-
icon={iconInfo}
|
|
1163
|
-
>
|
|
1164
|
-
Custom
|
|
1165
|
-
</IxPill>
|
|
1166
|
-
</IxCol>
|
|
1167
|
-
<IxCol>
|
|
1168
|
-
<IxPill variant="custom" color="color-soft-text" background="purple" icon={iconInfo}>
|
|
1169
|
-
Custom
|
|
1170
|
-
</IxPill>
|
|
1171
|
-
</IxCol>
|
|
1172
|
-
</IxRow>
|
|
1173
|
-
</IxLayoutGrid>
|
|
1174
|
-
</>
|
|
1175
|
-
);
|
|
1176
|
-
};
|
|
1177
|
-
```
|
|
1178
|
-
|
|
1179
|
-
### Example: theme-switcher
|
|
1180
|
-
```tsx
|
|
1181
|
-
import './theme-switcher.scoped.css';
|
|
1182
|
-
|
|
1183
|
-
import { IxSelectCustomEvent, themeSwitcher } from '@siemens/ix';
|
|
1184
|
-
import {
|
|
1185
|
-
IxButton,
|
|
1186
|
-
IxCol,
|
|
1187
|
-
IxLayoutGrid,
|
|
1188
|
-
IxRow,
|
|
1189
|
-
IxSelect,
|
|
1190
|
-
IxSelectItem,
|
|
1191
|
-
} from '@siemens/ix-react';
|
|
1192
|
-
import { ChangeEvent, useState } from 'react';
|
|
1193
|
-
|
|
1194
|
-
export default () => {
|
|
1195
|
-
const [themes] = useState(['theme-classic-light', 'theme-classic-dark']);
|
|
1196
|
-
const [selectedTheme, setSelectedTheme] = useState(themes[1]);
|
|
1197
|
-
|
|
1198
|
-
const valueChange = (event: IxSelectCustomEvent<string | string[]>) => {
|
|
1199
|
-
const newTheme: string = event.detail as string;
|
|
1200
|
-
themeSwitcher.setTheme(newTheme);
|
|
1201
|
-
setSelectedTheme(newTheme);
|
|
1202
|
-
};
|
|
1203
|
-
|
|
1204
|
-
const toggle = () => {
|
|
1205
|
-
themeSwitcher.toggleMode();
|
|
1206
|
-
};
|
|
1207
|
-
|
|
1208
|
-
const systemChange = ({ target }: ChangeEvent<HTMLInputElement>) => {
|
|
1209
|
-
if (target.checked) {
|
|
1210
|
-
themeSwitcher.setVariant();
|
|
1211
|
-
return;
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
themeSwitcher.setTheme(selectedTheme);
|
|
1215
|
-
};
|
|
1216
|
-
|
|
1217
|
-
return (
|
|
1218
|
-
<IxLayoutGrid class="theme-switcher">
|
|
1219
|
-
<IxRow>
|
|
1220
|
-
<IxCol size="2">
|
|
1221
|
-
<span>Light/Dark</span>
|
|
1222
|
-
</IxCol>
|
|
1223
|
-
<IxCol>
|
|
1224
|
-
<IxButton onClick={toggle}>Toggle mode</IxButton>
|
|
1225
|
-
</IxCol>
|
|
1226
|
-
</IxRow>
|
|
1227
|
-
|
|
1228
|
-
<IxRow>
|
|
1229
|
-
<IxCol size="2">Theme</IxCol>
|
|
1230
|
-
<IxCol>
|
|
1231
|
-
<IxSelect
|
|
1232
|
-
value={selectedTheme}
|
|
1233
|
-
onValueChange={valueChange}
|
|
1234
|
-
placeholder="Select a theme"
|
|
1235
|
-
>
|
|
1236
|
-
{themes.map((theme) => (
|
|
1237
|
-
<IxSelectItem
|
|
1238
|
-
key={theme}
|
|
1239
|
-
label={theme}
|
|
1240
|
-
value={theme}
|
|
1241
|
-
></IxSelectItem>
|
|
1242
|
-
))}
|
|
1243
|
-
</IxSelect>
|
|
1244
|
-
</IxCol>
|
|
1245
|
-
</IxRow>
|
|
1246
|
-
|
|
1247
|
-
<IxRow>
|
|
1248
|
-
<IxCol size="2"></IxCol>
|
|
1249
|
-
<IxCol>
|
|
1250
|
-
<input
|
|
1251
|
-
className="ix-form-control"
|
|
1252
|
-
type="checkbox"
|
|
1253
|
-
id="system"
|
|
1254
|
-
onChange={systemChange}
|
|
1255
|
-
/>
|
|
1256
|
-
<label className="ix-form-label" htmlFor="system">
|
|
1257
|
-
Use System
|
|
1258
|
-
</label>
|
|
1259
|
-
</IxCol>
|
|
1260
|
-
</IxRow>
|
|
1261
|
-
</IxLayoutGrid>
|
|
1262
|
-
);
|
|
1263
|
-
};
|
|
1264
|
-
```
|
|
1265
|
-
|
|
1266
|
-
## Vue Examples
|
|
1267
|
-
|
|
1268
|
-
### Example: form-layout-grid
|
|
1269
|
-
```tsx
|
|
1270
|
-
<script setup lang="ts">
|
|
1271
|
-
import {
|
|
1272
|
-
IxButton,
|
|
1273
|
-
IxCol,
|
|
1274
|
-
IxFieldLabel,
|
|
1275
|
-
IxInput,
|
|
1276
|
-
IxLayoutGrid,
|
|
1277
|
-
IxRow,
|
|
1278
|
-
IxSelect,
|
|
1279
|
-
} from '@siemens/ix-vue';
|
|
1280
|
-
</script>
|
|
1281
|
-
|
|
1282
|
-
<style scoped src="./form-layout-grid.css"></style>
|
|
1283
|
-
|
|
1284
|
-
<template>
|
|
1285
|
-
<IxLayoutGrid class="layout-grid-example">
|
|
1286
|
-
<IxRow>
|
|
1287
|
-
<IxCol size="2" size-sm="12">
|
|
1288
|
-
<IxFieldLabel htmlFor="my-select-1">Example</IxFieldLabel>
|
|
1289
|
-
</IxCol>
|
|
1290
|
-
<IxCol>
|
|
1291
|
-
<IxSelect id="my-select-1"></IxSelect>
|
|
1292
|
-
</IxCol>
|
|
1293
|
-
</IxRow>
|
|
1294
|
-
<IxRow>
|
|
1295
|
-
<IxCol size="2" size-sm="12">
|
|
1296
|
-
<IxFieldLabel htmlFor="my-select-2">Example</IxFieldLabel>
|
|
1297
|
-
</IxCol>
|
|
1298
|
-
<IxCol>
|
|
1299
|
-
<IxInput id="my-select-2"></IxInput>
|
|
1300
|
-
</IxCol>
|
|
1301
|
-
</IxRow>
|
|
1302
|
-
<IxRow>
|
|
1303
|
-
<IxCol size="12" size-sm="12">
|
|
1304
|
-
<IxButton data-colspan="2">Submit</IxButton>
|
|
1305
|
-
</IxCol>
|
|
1306
|
-
</IxRow>
|
|
1307
|
-
</IxLayoutGrid>
|
|
1308
|
-
</template>
|
|
1309
|
-
```
|
|
1310
|
-
|
|
1311
|
-
### Example: grid-padding
|
|
1312
|
-
```tsx
|
|
1313
|
-
<script setup lang="ts">
|
|
1314
|
-
import { IxCol, IxLayoutGrid, IxRow, IxTypography } from '@siemens/ix-vue';
|
|
1315
|
-
</script>
|
|
1316
|
-
|
|
1317
|
-
<style scoped src="./grid-padding.css"></style>
|
|
1318
|
-
|
|
1319
|
-
<template>
|
|
1320
|
-
<div class="grid">
|
|
1321
|
-
<h4>Grid with margin</h4>
|
|
1322
|
-
<IxLayoutGrid>
|
|
1323
|
-
<IxRow>
|
|
1324
|
-
<IxCol><IxTypography format="display">1</IxTypography></IxCol>
|
|
1325
|
-
<IxCol><IxTypography format="display">2</IxTypography></IxCol>
|
|
1326
|
-
<IxCol><IxTypography format="display">3</IxTypography></IxCol>
|
|
1327
|
-
<IxCol><IxTypography format="display">4</IxTypography></IxCol>
|
|
1328
|
-
<IxCol><IxTypography format="display">5</IxTypography></IxCol>
|
|
1329
|
-
<IxCol><IxTypography format="display">6</IxTypography></IxCol>
|
|
1330
|
-
<IxCol><IxTypography format="display">7</IxTypography></IxCol>
|
|
1331
|
-
<IxCol><IxTypography format="display">8</IxTypography></IxCol>
|
|
1332
|
-
<IxCol><IxTypography format="display">9</IxTypography></IxCol>
|
|
1333
|
-
<IxCol><IxTypography format="display">10</IxTypography></IxCol>
|
|
1334
|
-
<IxCol><IxTypography format="display">11</IxTypography></IxCol>
|
|
1335
|
-
<IxCol><IxTypography format="display">12</IxTypography></IxCol>
|
|
1336
|
-
</IxRow>
|
|
1337
|
-
</IxLayoutGrid>
|
|
1338
|
-
|
|
1339
|
-
<h4>Grid without margin</h4>
|
|
1340
|
-
<IxLayoutGrid noMargin>
|
|
1341
|
-
<IxRow>
|
|
1342
|
-
<IxCol><IxTypography format="display">1</IxTypography></IxCol>
|
|
1343
|
-
<IxCol><IxTypography format="display">2</IxTypography></IxCol>
|
|
1344
|
-
<IxCol><IxTypography format="display">3</IxTypography></IxCol>
|
|
1345
|
-
<IxCol><IxTypography format="display">4</IxTypography></IxCol>
|
|
1346
|
-
<IxCol><IxTypography format="display">5</IxTypography></IxCol>
|
|
1347
|
-
<IxCol><IxTypography format="display">6</IxTypography></IxCol>
|
|
1348
|
-
<IxCol><IxTypography format="display">7</IxTypography></IxCol>
|
|
1349
|
-
<IxCol><IxTypography format="display">8</IxTypography></IxCol>
|
|
1350
|
-
<IxCol><IxTypography format="display">9</IxTypography></IxCol>
|
|
1351
|
-
<IxCol><IxTypography format="display">10</IxTypography></IxCol>
|
|
1352
|
-
<IxCol><IxTypography format="display">11</IxTypography></IxCol>
|
|
1353
|
-
<IxCol><IxTypography format="display">12</IxTypography></IxCol>
|
|
1354
|
-
</IxRow>
|
|
1355
|
-
</IxLayoutGrid>
|
|
1356
|
-
</div>
|
|
1357
|
-
</template>
|
|
1358
|
-
```
|
|
1359
|
-
|
|
1360
|
-
### Example: grid-size
|
|
1361
|
-
```tsx
|
|
1362
|
-
<script setup lang="ts">
|
|
1363
|
-
import { IxCol, IxLayoutGrid, IxRow, IxTypography } from '@siemens/ix-vue';
|
|
1364
|
-
</script>
|
|
1365
|
-
|
|
1366
|
-
<style scoped src="./grid-size.css"></style>
|
|
1367
|
-
|
|
1368
|
-
<template>
|
|
1369
|
-
<div class="grid">
|
|
1370
|
-
<h4>Column 6 takes up more space to a max of 12 columns total</h4>
|
|
1371
|
-
<IxLayoutGrid>
|
|
1372
|
-
<IxRow>
|
|
1373
|
-
<IxCol><IxTypography format="display">1</IxTypography></IxCol>
|
|
1374
|
-
<IxCol><IxTypography format="display">2</IxTypography></IxCol>
|
|
1375
|
-
<IxCol><IxTypography format="display">3</IxTypography></IxCol>
|
|
1376
|
-
<IxCol><IxTypography format="display">4</IxTypography></IxCol>
|
|
1377
|
-
<IxCol><IxTypography format="display">5</IxTypography></IxCol>
|
|
1378
|
-
<IxCol size="6"><IxTypography format="display">6</IxTypography></IxCol>
|
|
1379
|
-
</IxRow>
|
|
1380
|
-
</IxLayoutGrid>
|
|
1381
|
-
|
|
1382
|
-
<h4>Stack columns on smaller screens</h4>
|
|
1383
|
-
<IxLayoutGrid>
|
|
1384
|
-
<IxRow>
|
|
1385
|
-
<IxCol size="12" size-md="3">
|
|
1386
|
-
<IxTypography format="display">1</IxTypography>
|
|
1387
|
-
</IxCol>
|
|
1388
|
-
<IxCol size="12" size-md="3">
|
|
1389
|
-
<IxTypography format="display">2</IxTypography>
|
|
1390
|
-
</IxCol>
|
|
1391
|
-
<IxCol size="12" size-md="3">
|
|
1392
|
-
<IxTypography format="display">3</IxTypography>
|
|
1393
|
-
</IxCol>
|
|
1394
|
-
<IxCol size="12" size-md="3">
|
|
1395
|
-
<IxTypography format="display">4</IxTypography>
|
|
1396
|
-
</IxCol>
|
|
1397
|
-
</IxRow>
|
|
1398
|
-
</IxLayoutGrid>
|
|
1399
|
-
</div>
|
|
1400
|
-
</template>
|
|
1401
|
-
```
|
|
1402
|
-
|
|
1403
|
-
### Example: grid
|
|
1404
|
-
```tsx
|
|
1405
|
-
<script setup lang="ts">
|
|
1406
|
-
import { IxCol, IxLayoutGrid, IxRow, IxTypography } from '@siemens/ix-vue';
|
|
1407
|
-
</script>
|
|
1408
|
-
|
|
1409
|
-
<style scoped src="./grid.css"></style>
|
|
1410
|
-
|
|
1411
|
-
<template>
|
|
1412
|
-
<div class="grid">
|
|
1413
|
-
<IxLayoutGrid>
|
|
1414
|
-
<IxRow>
|
|
1415
|
-
<IxCol><IxTypography format="display">1</IxTypography></IxCol>
|
|
1416
|
-
<IxCol><IxTypography format="display">2</IxTypography></IxCol>
|
|
1417
|
-
<IxCol><IxTypography format="display">3</IxTypography></IxCol>
|
|
1418
|
-
<IxCol><IxTypography format="display">4</IxTypography></IxCol>
|
|
1419
|
-
<IxCol><IxTypography format="display">5</IxTypography></IxCol>
|
|
1420
|
-
<IxCol><IxTypography format="display">6</IxTypography></IxCol>
|
|
1421
|
-
</IxRow>
|
|
1422
|
-
</IxLayoutGrid>
|
|
1423
|
-
|
|
1424
|
-
<IxLayoutGrid>
|
|
1425
|
-
<IxRow>
|
|
1426
|
-
<IxCol><IxTypography format="display">1</IxTypography></IxCol>
|
|
1427
|
-
<IxCol><IxTypography format="display">2</IxTypography></IxCol>
|
|
1428
|
-
<IxCol><IxTypography format="display">3</IxTypography></IxCol>
|
|
1429
|
-
<IxCol><IxTypography format="display">4</IxTypography></IxCol>
|
|
1430
|
-
<IxCol><IxTypography format="display">5</IxTypography></IxCol>
|
|
1431
|
-
<IxCol><IxTypography format="display">6</IxTypography></IxCol>
|
|
1432
|
-
<IxCol><IxTypography format="display">7</IxTypography></IxCol>
|
|
1433
|
-
<IxCol><IxTypography format="display">8</IxTypography></IxCol>
|
|
1434
|
-
<IxCol><IxTypography format="display">9</IxTypography></IxCol>
|
|
1435
|
-
<IxCol><IxTypography format="display">10</IxTypography></IxCol>
|
|
1436
|
-
<IxCol><IxTypography format="display">11</IxTypography></IxCol>
|
|
1437
|
-
<IxCol><IxTypography format="display">12</IxTypography></IxCol>
|
|
1438
|
-
</IxRow>
|
|
1439
|
-
</IxLayoutGrid>
|
|
1440
|
-
</div>
|
|
1441
|
-
</template>
|
|
1442
|
-
```
|
|
1443
|
-
|
|
1444
|
-
### Example: icon-toggle-button-primary-ghost
|
|
1445
|
-
```tsx
|
|
1446
|
-
<script setup lang="ts">
|
|
1447
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
1448
|
-
import { IxIconToggleButton, IxLayoutGrid, IxRow } from '@siemens/ix-vue';
|
|
1449
|
-
</script>
|
|
1450
|
-
|
|
1451
|
-
<style scoped src="./icon-toggle-button-primary-ghost.css"></style>
|
|
1452
|
-
|
|
1453
|
-
<template>
|
|
1454
|
-
<IxLayoutGrid>
|
|
1455
|
-
<IxRow>
|
|
1456
|
-
<IxIconToggleButton variant="tertiary" :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1457
|
-
<IxIconToggleButton variant="tertiary" pressed :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1458
|
-
<IxIconToggleButton variant="tertiary" disabled :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1459
|
-
<IxIconToggleButton variant="tertiary" disabled loading :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1460
|
-
</IxRow>
|
|
1461
|
-
<IxRow>
|
|
1462
|
-
<IxIconToggleButton variant="tertiary" :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1463
|
-
<IxIconToggleButton variant="tertiary" pressed :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1464
|
-
<IxIconToggleButton variant="tertiary" disabled :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1465
|
-
<IxIconToggleButton variant="tertiary" disabled loading :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1466
|
-
</IxRow>
|
|
1467
|
-
</IxLayoutGrid>
|
|
1468
|
-
</template>
|
|
1469
|
-
```
|
|
1470
|
-
|
|
1471
|
-
### Example: icon-toggle-button-primary-outline
|
|
1472
|
-
```tsx
|
|
1473
|
-
<script setup lang="ts">
|
|
1474
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
1475
|
-
import { IxIconToggleButton, IxLayoutGrid, IxRow } from '@siemens/ix-vue';
|
|
1476
|
-
</script>
|
|
1477
|
-
|
|
1478
|
-
<style scoped src="./icon-toggle-button-primary-outline.css"></style>
|
|
1479
|
-
|
|
1480
|
-
<template>
|
|
1481
|
-
<IxLayoutGrid>
|
|
1482
|
-
<IxRow>
|
|
1483
|
-
<IxIconToggleButton variant="subtle-primary" :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1484
|
-
<IxIconToggleButton variant="subtle-primary" pressed :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1485
|
-
<IxIconToggleButton variant="subtle-primary" disabled :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1486
|
-
<IxIconToggleButton variant="subtle-primary" disabled loading :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1487
|
-
</IxRow>
|
|
1488
|
-
<IxRow>
|
|
1489
|
-
<IxIconToggleButton variant="subtle-primary" :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1490
|
-
<IxIconToggleButton variant="subtle-primary" pressed :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1491
|
-
<IxIconToggleButton variant="subtle-primary" disabled :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1492
|
-
<IxIconToggleButton variant="subtle-primary" disabled loading :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1493
|
-
</IxRow>
|
|
1494
|
-
</IxLayoutGrid>
|
|
1495
|
-
</template>
|
|
1496
|
-
```
|
|
1497
|
-
|
|
1498
|
-
### Example: icon-toggle-button-secondary-ghost
|
|
1499
|
-
```tsx
|
|
1500
|
-
<script setup lang="ts">
|
|
1501
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
1502
|
-
import { IxIconToggleButton, IxLayoutGrid, IxRow } from '@siemens/ix-vue';
|
|
1503
|
-
</script>
|
|
1504
|
-
|
|
1505
|
-
<style scoped src="./icon-toggle-button-secondary-ghost.css"></style>
|
|
1506
|
-
|
|
1507
|
-
<template>
|
|
1508
|
-
<IxLayoutGrid>
|
|
1509
|
-
<IxRow>
|
|
1510
|
-
<IxIconToggleButton variant="tertiary" :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1511
|
-
<IxIconToggleButton variant="tertiary" pressed :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1512
|
-
<IxIconToggleButton variant="tertiary" disabled :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1513
|
-
<IxIconToggleButton variant="tertiary" disabled loading :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1514
|
-
</IxRow>
|
|
1515
|
-
<IxRow>
|
|
1516
|
-
<IxIconToggleButton variant="tertiary" :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1517
|
-
<IxIconToggleButton variant="tertiary" pressed :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1518
|
-
<IxIconToggleButton variant="tertiary" disabled :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1519
|
-
<IxIconToggleButton variant="tertiary" disabled loading :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1520
|
-
</IxRow>
|
|
1521
|
-
</IxLayoutGrid>
|
|
1522
|
-
</template>
|
|
1523
|
-
```
|
|
1524
|
-
|
|
1525
|
-
### Example: icon-toggle-button-secondary-outline
|
|
1526
|
-
```tsx
|
|
1527
|
-
<script setup lang="ts">
|
|
1528
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
1529
|
-
import { IxIconToggleButton, IxLayoutGrid, IxRow } from '@siemens/ix-vue';
|
|
1530
|
-
</script>
|
|
1531
|
-
|
|
1532
|
-
<style scoped src="./icon-toggle-button-secondary-outline.css"></style>
|
|
1533
|
-
|
|
1534
|
-
<template>
|
|
1535
|
-
<IxLayoutGrid>
|
|
1536
|
-
<IxRow>
|
|
1537
|
-
<IxIconToggleButton variant="subtle-primary" :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1538
|
-
<IxIconToggleButton variant="subtle-primary" :icon="iconCheckboxes" pressed></IxIconToggleButton>
|
|
1539
|
-
<IxIconToggleButton variant="subtle-primary" disabled :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1540
|
-
<IxIconToggleButton variant="subtle-primary" disabled loading :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1541
|
-
|
|
1542
|
-
<IxIconToggleButton variant="subtle-primary" size="16" :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1543
|
-
<IxIconToggleButton variant="subtle-primary" size="16" pressed :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1544
|
-
<IxIconToggleButton variant="subtle-primary" size="16" disabled :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1545
|
-
<IxIconToggleButton variant="subtle-primary" size="16" disabled loading :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1546
|
-
|
|
1547
|
-
<IxIconToggleButton variant="subtle-primary" size="12" :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1548
|
-
<IxIconToggleButton variant="subtle-primary" size="12" pressed :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1549
|
-
<IxIconToggleButton variant="subtle-primary" size="12" disabled :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1550
|
-
<IxIconToggleButton variant="subtle-primary" size="12" disabled loading :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1551
|
-
</IxRow>
|
|
1552
|
-
<IxRow>
|
|
1553
|
-
<IxIconToggleButton variant="subtle-primary" :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1554
|
-
<IxIconToggleButton variant="subtle-primary" :icon="iconCheckboxes" pressed oval></IxIconToggleButton>
|
|
1555
|
-
<IxIconToggleButton variant="subtle-primary" disabled :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1556
|
-
<IxIconToggleButton variant="subtle-primary" disabled loading :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1557
|
-
|
|
1558
|
-
<IxIconToggleButton variant="subtle-primary" size="16" :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1559
|
-
<IxIconToggleButton variant="subtle-primary" size="16" pressed :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1560
|
-
<IxIconToggleButton variant="subtle-primary" size="16" disabled :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1561
|
-
<IxIconToggleButton variant="subtle-primary" size="16" disabled loading :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1562
|
-
|
|
1563
|
-
<IxIconToggleButton variant="subtle-primary" size="12" :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1564
|
-
<IxIconToggleButton variant="subtle-primary" size="12" pressed :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1565
|
-
<IxIconToggleButton variant="subtle-primary" size="12" disabled :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1566
|
-
<IxIconToggleButton variant="subtle-primary" size="12" disabled loading :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1567
|
-
</IxRow>
|
|
1568
|
-
</IxLayoutGrid>
|
|
1569
|
-
</template>
|
|
1570
|
-
```
|
|
1571
|
-
|
|
1572
|
-
### Example: icon-toggle-button-secondary
|
|
1573
|
-
```tsx
|
|
1574
|
-
<script setup lang="ts">
|
|
1575
|
-
import { iconCheckboxes } from '@siemens/ix-icons/icons';
|
|
1576
|
-
import { IxIconToggleButton, IxLayoutGrid, IxRow } from '@siemens/ix-vue';
|
|
1577
|
-
</script>
|
|
1578
|
-
|
|
1579
|
-
<style scoped src="./icon-toggle-button-secondary.css"></style>
|
|
1580
|
-
|
|
1581
|
-
<template>
|
|
1582
|
-
<IxLayoutGrid>
|
|
1583
|
-
<IxRow>
|
|
1584
|
-
<IxIconToggleButton :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1585
|
-
<IxIconToggleButton pressed :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1586
|
-
<IxIconToggleButton disabled :icon="iconCheckboxes"></IxIconToggleButton>
|
|
1587
|
-
<IxIconToggleButton
|
|
1588
|
-
disabled
|
|
1589
|
-
loading
|
|
1590
|
-
:icon="iconCheckboxes"
|
|
1591
|
-
></IxIconToggleButton>
|
|
1592
|
-
</IxRow>
|
|
1593
|
-
<IxRow>
|
|
1594
|
-
<IxIconToggleButton :icon="iconCheckboxes" oval></IxIconToggleButton>
|
|
1595
|
-
<IxIconToggleButton
|
|
1596
|
-
pressed
|
|
1597
|
-
:icon="iconCheckboxes"
|
|
1598
|
-
oval
|
|
1599
|
-
></IxIconToggleButton>
|
|
1600
|
-
<IxIconToggleButton
|
|
1601
|
-
disabled
|
|
1602
|
-
:icon="iconCheckboxes"
|
|
1603
|
-
oval
|
|
1604
|
-
></IxIconToggleButton>
|
|
1605
|
-
<IxIconToggleButton
|
|
1606
|
-
disabled
|
|
1607
|
-
loading
|
|
1608
|
-
:icon="iconCheckboxes"
|
|
1609
|
-
oval
|
|
1610
|
-
></IxIconToggleButton>
|
|
1611
|
-
</IxRow>
|
|
1612
|
-
</IxLayoutGrid>
|
|
1613
|
-
</template>
|
|
1614
|
-
```
|
|
1615
|
-
|
|
1616
|
-
### Example: pill-variants
|
|
1617
|
-
```tsx
|
|
1618
|
-
<script setup lang="ts">
|
|
1619
|
-
import { iconInfo } from '@siemens/ix-icons/icons';
|
|
1620
|
-
import { IxCol, IxLayoutGrid, IxPill, IxRow } from '@siemens/ix-vue';
|
|
1621
|
-
</script>
|
|
1622
|
-
|
|
1623
|
-
<style scoped src="./pill-variants.css"></style>
|
|
1624
|
-
|
|
1625
|
-
<template>
|
|
1626
|
-
<IxLayoutGrid>
|
|
1627
|
-
<IxRow>
|
|
1628
|
-
<IxCol>
|
|
1629
|
-
<IxPill :icon="iconInfo"> Primary </IxPill>
|
|
1630
|
-
</IxCol>
|
|
1631
|
-
<IxCol>
|
|
1632
|
-
<IxPill variant="subtle-primary" :icon="iconInfo"> Primary </IxPill>
|
|
1633
|
-
</IxCol>
|
|
1634
|
-
</IxRow>
|
|
1635
|
-
|
|
1636
|
-
<IxRow>
|
|
1637
|
-
<IxCol>
|
|
1638
|
-
<IxPill variant="alarm" :icon="iconInfo"> Alarm </IxPill>
|
|
1639
|
-
</IxCol>
|
|
1640
|
-
<IxCol>
|
|
1641
|
-
<IxPill variant="alarm" :icon="iconInfo"> Alarm </IxPill>
|
|
1642
|
-
</IxCol>
|
|
1643
|
-
</IxRow>
|
|
1644
|
-
|
|
1645
|
-
<IxRow>
|
|
1646
|
-
<IxCol>
|
|
1647
|
-
<IxPill variant="critical" :icon="iconInfo"> Critical </IxPill>
|
|
1648
|
-
</IxCol>
|
|
1649
|
-
<IxCol>
|
|
1650
|
-
<IxPill variant="critical" :icon="iconInfo"> Critical </IxPill>
|
|
1651
|
-
</IxCol>
|
|
1652
|
-
</IxRow>
|
|
1653
|
-
|
|
1654
|
-
<IxRow>
|
|
1655
|
-
<IxCol>
|
|
1656
|
-
<IxPill variant="warning" :icon="iconInfo"> Warning </IxPill>
|
|
1657
|
-
</IxCol>
|
|
1658
|
-
<IxCol>
|
|
1659
|
-
<IxPill variant="warning" :icon="iconInfo"> Warning </IxPill>
|
|
1660
|
-
</IxCol>
|
|
1661
|
-
</IxRow>
|
|
1662
|
-
|
|
1663
|
-
<IxRow>
|
|
1664
|
-
<IxCol>
|
|
1665
|
-
<IxPill variant="success" :icon="iconInfo"> Success </IxPill>
|
|
1666
|
-
</IxCol>
|
|
1667
|
-
<IxCol>
|
|
1668
|
-
<IxPill variant="success" :icon="iconInfo"> Success </IxPill>
|
|
1669
|
-
</IxCol>
|
|
1670
|
-
</IxRow>
|
|
1671
|
-
|
|
1672
|
-
<IxRow>
|
|
1673
|
-
<IxCol>
|
|
1674
|
-
<IxPill variant="info" :icon="iconInfo"> Info </IxPill>
|
|
1675
|
-
</IxCol>
|
|
1676
|
-
<IxCol>
|
|
1677
|
-
<IxPill variant="info" :icon="iconInfo"> Info </IxPill>
|
|
1678
|
-
</IxCol>
|
|
1679
|
-
</IxRow>
|
|
1680
|
-
|
|
1681
|
-
<IxRow>
|
|
1682
|
-
<IxCol>
|
|
1683
|
-
<IxPill variant="neutral" :icon="iconInfo"> Neutral </IxPill>
|
|
1684
|
-
</IxCol>
|
|
1685
|
-
<IxCol>
|
|
1686
|
-
<IxPill variant="neutral" :icon="iconInfo"> Neutral </IxPill>
|
|
1687
|
-
</IxCol>
|
|
1688
|
-
</IxRow>
|
|
1689
|
-
|
|
1690
|
-
<IxRow>
|
|
1691
|
-
<IxCol>
|
|
1692
|
-
<IxPill
|
|
1693
|
-
variant="custom"
|
|
1694
|
-
color="color-soft-text"
|
|
1695
|
-
background="purple"
|
|
1696
|
-
:icon="iconInfo"
|
|
1697
|
-
>
|
|
1698
|
-
Custom
|
|
1699
|
-
</IxPill>
|
|
1700
|
-
</IxCol>
|
|
1701
|
-
<IxCol>
|
|
1702
|
-
<IxPill variant="custom" color="color-soft-text" background="purple" :icon="iconInfo">
|
|
1703
|
-
Custom
|
|
1704
|
-
</IxPill>
|
|
1705
|
-
</IxCol>
|
|
1706
|
-
</IxRow>
|
|
1707
|
-
</IxLayoutGrid>
|
|
1708
|
-
</template>
|
|
1709
|
-
```
|
|
1710
|
-
|
|
1711
|
-
### Example: theme-switcher
|
|
1712
|
-
```tsx
|
|
1713
|
-
<script setup lang="ts">
|
|
1714
|
-
import { themeSwitcher } from '@siemens/ix';
|
|
1715
|
-
import {
|
|
1716
|
-
IxButton,
|
|
1717
|
-
IxCol,
|
|
1718
|
-
IxLayoutGrid,
|
|
1719
|
-
IxRow,
|
|
1720
|
-
IxSelect,
|
|
1721
|
-
} from '@siemens/ix-vue';
|
|
1722
|
-
import { onMounted } from 'vue';
|
|
1723
|
-
|
|
1724
|
-
const themes = ['theme-classic-light', 'theme-classic-dark'];
|
|
1725
|
-
let selectedTheme = themes[1];
|
|
1726
|
-
|
|
1727
|
-
themeSwitcher.setTheme(selectedTheme);
|
|
1728
|
-
|
|
1729
|
-
onMounted(() => {
|
|
1730
|
-
const themeSelect: HTMLSelectElement | null = document.getElementById(
|
|
1731
|
-
'select-theme'
|
|
1732
|
-
) as HTMLSelectElement;
|
|
1733
|
-
|
|
1734
|
-
if (themeSelect) {
|
|
1735
|
-
themes.forEach((theme) => {
|
|
1736
|
-
const item = document.createElement('ix-select-item');
|
|
1737
|
-
item.label = theme;
|
|
1738
|
-
item.value = theme;
|
|
1739
|
-
themeSelect.appendChild(item);
|
|
1740
|
-
});
|
|
1741
|
-
themeSelect.value = selectedTheme;
|
|
1742
|
-
themeSelect.addEventListener('valueChange', (event: Event) => {
|
|
1743
|
-
const target = event.target as HTMLSelectElement;
|
|
1744
|
-
const detail = target.value;
|
|
1745
|
-
themeSwitcher.setTheme(detail);
|
|
1746
|
-
selectedTheme = detail;
|
|
1747
|
-
});
|
|
1748
|
-
}
|
|
1749
|
-
});
|
|
1750
|
-
|
|
1751
|
-
const toggle = () => {
|
|
1752
|
-
themeSwitcher.toggleMode();
|
|
1753
|
-
};
|
|
1754
|
-
|
|
1755
|
-
const systemChange = (event: Event) => {
|
|
1756
|
-
const target = event.target as HTMLInputElement;
|
|
1757
|
-
if (target.checked) {
|
|
1758
|
-
themeSwitcher.setVariant();
|
|
1759
|
-
return;
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
themeSwitcher.setTheme(selectedTheme);
|
|
1763
|
-
};
|
|
1764
|
-
</script>
|
|
1765
|
-
|
|
1766
|
-
<style scoped src="./theme-switcher.css"></style>
|
|
1767
|
-
|
|
1768
|
-
<template>
|
|
1769
|
-
<IxLayoutGrid class="theme-switcher">
|
|
1770
|
-
<IxRow>
|
|
1771
|
-
<IxCol :size="'2'">
|
|
1772
|
-
<span>Light/Dark</span>
|
|
1773
|
-
</IxCol>
|
|
1774
|
-
<IxCol>
|
|
1775
|
-
<IxButton @click="toggle">Toggle mode</IxButton>
|
|
1776
|
-
</IxCol>
|
|
1777
|
-
</IxRow>
|
|
1778
|
-
|
|
1779
|
-
<IxRow>
|
|
1780
|
-
<IxCol :size="'2'">Theme</IxCol>
|
|
1781
|
-
<IxCol>
|
|
1782
|
-
<IxSelect id="select-theme" placeholder="Select a theme"> </IxSelect>
|
|
1783
|
-
</IxCol>
|
|
1784
|
-
</IxRow>
|
|
1785
|
-
|
|
1786
|
-
<IxRow>
|
|
1787
|
-
<IxCol :size="'2'"></IxCol>
|
|
1788
|
-
<IxCol>
|
|
1789
|
-
<input
|
|
1790
|
-
class="ix-form-control"
|
|
1791
|
-
type="checkbox"
|
|
1792
|
-
id="system"
|
|
1793
|
-
@change="systemChange"
|
|
1794
|
-
/>
|
|
1795
|
-
<label class="ix-form-label" for="system">Use System</label>
|
|
1796
|
-
</IxCol>
|
|
1797
|
-
</IxRow>
|
|
1798
|
-
</IxLayoutGrid>
|
|
1799
|
-
</template>
|
|
1800
|
-
```
|
|
1801
|
-
|
|
1802
|
-
## Angular Examples
|
|
1803
|
-
|
|
1804
|
-
### Example: form-layout-grid
|
|
1805
|
-
#### Component typescript
|
|
1806
|
-
```typescript
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
import { Component } from '@angular/core';
|
|
1810
|
-
|
|
1811
|
-
@Component({
|
|
1812
|
-
standalone: false,
|
|
1813
|
-
selector: 'app-example',
|
|
1814
|
-
templateUrl: './form-layout-grid.html',
|
|
1815
|
-
styleUrls: ['./form-layout-grid.css'],
|
|
1816
|
-
})
|
|
1817
|
-
export default class FormLayoutGrid {}
|
|
1818
|
-
|
|
1819
|
-
```
|
|
1820
|
-
#### Component template
|
|
1821
|
-
```html
|
|
1822
|
-
<ix-layout-grid class="layout-grid-example">
|
|
1823
|
-
<ix-row>
|
|
1824
|
-
<ix-col size="2" size-sm="12">
|
|
1825
|
-
<ix-field-label for="my-select-1">Example</ix-field-label>
|
|
1826
|
-
</ix-col>
|
|
1827
|
-
<ix-col>
|
|
1828
|
-
<ix-select id="my-select-1"></ix-select>
|
|
1829
|
-
</ix-col>
|
|
1830
|
-
</ix-row>
|
|
1831
|
-
<ix-row>
|
|
1832
|
-
<ix-col size="2" size-sm="12">
|
|
1833
|
-
<ix-field-label for="my-select-2">Example</ix-field-label>
|
|
1834
|
-
</ix-col>
|
|
1835
|
-
<ix-col>
|
|
1836
|
-
<ix-input id="my-select-2"></ix-input>
|
|
1837
|
-
</ix-col>
|
|
1838
|
-
</ix-row>
|
|
1839
|
-
<ix-row>
|
|
1840
|
-
<ix-col size="12" size-sm="12">
|
|
1841
|
-
<ix-button data-colspan="2">Submit</ix-button>
|
|
1842
|
-
</ix-col>
|
|
1843
|
-
</ix-row>
|
|
1844
|
-
</ix-layout-grid>
|
|
1845
|
-
|
|
1846
|
-
```
|
|
1847
|
-
|
|
1848
|
-
### Example: grid-padding
|
|
1849
|
-
#### Component typescript
|
|
1850
|
-
```typescript
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
import { Component } from '@angular/core';
|
|
1854
|
-
|
|
1855
|
-
@Component({
|
|
1856
|
-
standalone: false,
|
|
1857
|
-
selector: 'app-example',
|
|
1858
|
-
templateUrl: './grid-padding.html',
|
|
1859
|
-
styleUrls: ['./grid-padding.css'],
|
|
1860
|
-
})
|
|
1861
|
-
export default class GridPadding {}
|
|
1862
|
-
|
|
1863
|
-
```
|
|
1864
|
-
#### Component template
|
|
1865
|
-
```html
|
|
1866
|
-
<!--
|
|
1867
|
-
SPDX-FileCopyrightText: 2024 Siemens AG
|
|
1868
|
-
|
|
1869
|
-
SPDX-License-Identifier: MIT
|
|
1870
|
-
|
|
1871
|
-
This source code is licensed under the MIT license found in the
|
|
1872
|
-
LICENSE file in the root directory of this source tree.
|
|
1873
|
-
-->
|
|
1874
|
-
|
|
1875
|
-
<div class="grid">
|
|
1876
|
-
<h4>Grid with margin</h4>
|
|
1877
|
-
<ix-layout-grid>
|
|
1878
|
-
<ix-row>
|
|
1879
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
1880
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
1881
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
1882
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
1883
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
1884
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
1885
|
-
<ix-col><ix-typography format="display">7</ix-typography></ix-col>
|
|
1886
|
-
<ix-col><ix-typography format="display">8</ix-typography></ix-col>
|
|
1887
|
-
<ix-col><ix-typography format="display">9</ix-typography></ix-col>
|
|
1888
|
-
<ix-col><ix-typography format="display">10</ix-typography></ix-col>
|
|
1889
|
-
<ix-col><ix-typography format="display">11</ix-typography></ix-col>
|
|
1890
|
-
<ix-col><ix-typography format="display">12</ix-typography></ix-col>
|
|
1891
|
-
</ix-row>
|
|
1892
|
-
</ix-layout-grid>
|
|
1893
|
-
|
|
1894
|
-
<h4>Grid without margin</h4>
|
|
1895
|
-
<ix-layout-grid no-margin>
|
|
1896
|
-
<ix-row>
|
|
1897
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
1898
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
1899
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
1900
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
1901
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
1902
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
1903
|
-
<ix-col><ix-typography format="display">7</ix-typography></ix-col>
|
|
1904
|
-
<ix-col><ix-typography format="display">8</ix-typography></ix-col>
|
|
1905
|
-
<ix-col><ix-typography format="display">9</ix-typography></ix-col>
|
|
1906
|
-
<ix-col><ix-typography format="display">10</ix-typography></ix-col>
|
|
1907
|
-
<ix-col><ix-typography format="display">11</ix-typography></ix-col>
|
|
1908
|
-
<ix-col><ix-typography format="display">12</ix-typography></ix-col>
|
|
1909
|
-
</ix-row>
|
|
1910
|
-
</ix-layout-grid>
|
|
1911
|
-
</div>
|
|
1912
|
-
|
|
1913
|
-
```
|
|
1914
|
-
|
|
1915
|
-
### Example: grid-size
|
|
1916
|
-
#### Component typescript
|
|
1917
|
-
```typescript
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
import { Component } from '@angular/core';
|
|
1921
|
-
|
|
1922
|
-
@Component({
|
|
1923
|
-
standalone: false,
|
|
1924
|
-
selector: 'app-example',
|
|
1925
|
-
templateUrl: './grid-size.html',
|
|
1926
|
-
styleUrls: ['./grid-size.css'],
|
|
1927
|
-
})
|
|
1928
|
-
export default class GridSize {}
|
|
1929
|
-
|
|
1930
|
-
```
|
|
1931
|
-
#### Component template
|
|
1932
|
-
```html
|
|
1933
|
-
<!--
|
|
1934
|
-
SPDX-FileCopyrightText: 2024 Siemens AG
|
|
1935
|
-
|
|
1936
|
-
SPDX-License-Identifier: MIT
|
|
1937
|
-
|
|
1938
|
-
This source code is licensed under the MIT license found in the
|
|
1939
|
-
LICENSE file in the root directory of this source tree.
|
|
1940
|
-
-->
|
|
1941
|
-
|
|
1942
|
-
<div class="grid">
|
|
1943
|
-
<h4>Column 6 takes up more space to a max of 12 columns total</h4>
|
|
1944
|
-
<ix-layout-grid>
|
|
1945
|
-
<ix-row>
|
|
1946
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
1947
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
1948
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
1949
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
1950
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
1951
|
-
<ix-col size="6"
|
|
1952
|
-
><ix-typography format="display">6</ix-typography></ix-col
|
|
1953
|
-
>
|
|
1954
|
-
</ix-row>
|
|
1955
|
-
</ix-layout-grid>
|
|
1956
|
-
|
|
1957
|
-
<h4>Stack columns on smaller screens</h4>
|
|
1958
|
-
<ix-layout-grid>
|
|
1959
|
-
<ix-row>
|
|
1960
|
-
<ix-col size="12" size-md="3"
|
|
1961
|
-
><ix-typography format="display">1</ix-typography></ix-col
|
|
1962
|
-
>
|
|
1963
|
-
<ix-col size="12" size-md="3"
|
|
1964
|
-
><ix-typography format="display">2</ix-typography></ix-col
|
|
1965
|
-
>
|
|
1966
|
-
<ix-col size="12" size-md="3"
|
|
1967
|
-
><ix-typography format="display">3</ix-typography></ix-col
|
|
1968
|
-
>
|
|
1969
|
-
<ix-col size="12" size-md="3"
|
|
1970
|
-
><ix-typography format="display">4</ix-typography></ix-col
|
|
1971
|
-
>
|
|
1972
|
-
</ix-row>
|
|
1973
|
-
</ix-layout-grid>
|
|
1974
|
-
</div>
|
|
1975
|
-
|
|
1976
|
-
```
|
|
1977
|
-
|
|
1978
|
-
### Example: grid
|
|
1979
|
-
#### Component typescript
|
|
1980
|
-
```typescript
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
import { Component } from '@angular/core';
|
|
1984
|
-
|
|
1985
|
-
@Component({
|
|
1986
|
-
standalone: false,
|
|
1987
|
-
selector: 'app-example',
|
|
1988
|
-
templateUrl: './grid.html',
|
|
1989
|
-
styleUrls: ['./grid.css'],
|
|
1990
|
-
})
|
|
1991
|
-
export default class Grid {}
|
|
1992
|
-
|
|
1993
|
-
```
|
|
1994
|
-
#### Component template
|
|
1995
|
-
```html
|
|
1996
|
-
<!--
|
|
1997
|
-
SPDX-FileCopyrightText: 2024 Siemens AG
|
|
1998
|
-
|
|
1999
|
-
SPDX-License-Identifier: MIT
|
|
2000
|
-
|
|
2001
|
-
This source code is licensed under the MIT license found in the
|
|
2002
|
-
LICENSE file in the root directory of this source tree.
|
|
2003
|
-
-->
|
|
2004
|
-
|
|
2005
|
-
<div class="grid">
|
|
2006
|
-
<ix-layout-grid>
|
|
2007
|
-
<ix-row>
|
|
2008
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
2009
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
2010
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
2011
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
2012
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
2013
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
2014
|
-
</ix-row>
|
|
2015
|
-
</ix-layout-grid>
|
|
2016
|
-
|
|
2017
|
-
<ix-layout-grid>
|
|
2018
|
-
<ix-row>
|
|
2019
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
2020
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
2021
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
2022
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
2023
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
2024
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
2025
|
-
<ix-col><ix-typography format="display">7</ix-typography></ix-col>
|
|
2026
|
-
<ix-col><ix-typography format="display">8</ix-typography></ix-col>
|
|
2027
|
-
<ix-col><ix-typography format="display">9</ix-typography></ix-col>
|
|
2028
|
-
<ix-col><ix-typography format="display">10</ix-typography></ix-col>
|
|
2029
|
-
<ix-col><ix-typography format="display">11</ix-typography></ix-col>
|
|
2030
|
-
<ix-col><ix-typography format="display">12</ix-typography></ix-col>
|
|
2031
|
-
</ix-row>
|
|
2032
|
-
</ix-layout-grid>
|
|
2033
|
-
</div>
|
|
2034
|
-
|
|
2035
|
-
```
|
|
2036
|
-
|
|
2037
|
-
### Example: icon-toggle-button-primary-ghost
|
|
2038
|
-
#### Component typescript
|
|
2039
|
-
```typescript
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
import { Component } from '@angular/core';
|
|
2043
|
-
|
|
2044
|
-
@Component({
|
|
2045
|
-
standalone: false,
|
|
2046
|
-
selector: 'app-example',
|
|
2047
|
-
template: `
|
|
2048
|
-
<ix-layout-grid>
|
|
2049
|
-
<ix-row>
|
|
2050
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes"></ix-icon-toggle-button>
|
|
2051
|
-
<ix-icon-toggle-button variant="tertiary" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2052
|
-
<ix-icon-toggle-button variant="tertiary" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2053
|
-
<ix-icon-toggle-button variant="tertiary" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2054
|
-
</ix-row>
|
|
2055
|
-
<ix-row>
|
|
2056
|
-
<ix-icon-toggle-button variant="tertiary" oval icon="checkboxes"></ix-icon-toggle-button>
|
|
2057
|
-
<ix-icon-toggle-button variant="tertiary" pressed oval icon="checkboxes"></ix-icon-toggle-button>
|
|
2058
|
-
<ix-icon-toggle-button variant="tertiary" disabled oval icon="checkboxes"></ix-icon-toggle-button>
|
|
2059
|
-
<ix-icon-toggle-button variant="tertiary" disabled loading oval icon="checkboxes"></ix-icon-toggle-button>
|
|
2060
|
-
</ix-row>
|
|
2061
|
-
</ix-layout-grid>
|
|
2062
|
-
`,
|
|
2063
|
-
styleUrls: ['./icon-toggle-button-primary-ghost.css'],
|
|
2064
|
-
})
|
|
2065
|
-
export default class Buttons {}
|
|
2066
|
-
|
|
2067
|
-
```
|
|
2068
|
-
|
|
2069
|
-
### Example: icon-toggle-button-primary-outline
|
|
2070
|
-
#### Component typescript
|
|
2071
|
-
```typescript
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
import { Component } from '@angular/core';
|
|
2075
|
-
|
|
2076
|
-
@Component({
|
|
2077
|
-
standalone: false,
|
|
2078
|
-
selector: 'app-example',
|
|
2079
|
-
template: `
|
|
2080
|
-
<ix-layout-grid>
|
|
2081
|
-
<ix-row>
|
|
2082
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes"></ix-icon-toggle-button>
|
|
2083
|
-
<ix-icon-toggle-button variant="subtle-primary" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2084
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2085
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2086
|
-
</ix-row>
|
|
2087
|
-
<ix-row>
|
|
2088
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2089
|
-
<ix-icon-toggle-button variant="subtle-primary" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2090
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2091
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2092
|
-
</ix-row>
|
|
2093
|
-
</ix-layout-grid>
|
|
2094
|
-
`,
|
|
2095
|
-
styleUrls: ['./icon-toggle-button-primary-outline.css'],
|
|
2096
|
-
})
|
|
2097
|
-
export default class Buttons {}
|
|
2098
|
-
|
|
2099
|
-
```
|
|
2100
|
-
|
|
2101
|
-
### Example: icon-toggle-button-secondary-ghost
|
|
2102
|
-
#### Component typescript
|
|
2103
|
-
```typescript
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
import { Component } from '@angular/core';
|
|
2107
|
-
|
|
2108
|
-
@Component({
|
|
2109
|
-
standalone: false,
|
|
2110
|
-
selector: 'app-example',
|
|
2111
|
-
template: `
|
|
2112
|
-
<ix-layout-grid>
|
|
2113
|
-
<ix-row>
|
|
2114
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes"></ix-icon-toggle-button>
|
|
2115
|
-
<ix-icon-toggle-button variant="tertiary" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2116
|
-
<ix-icon-toggle-button variant="tertiary" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2117
|
-
<ix-icon-toggle-button variant="tertiary" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2118
|
-
</ix-row>
|
|
2119
|
-
<ix-row>
|
|
2120
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2121
|
-
<ix-icon-toggle-button variant="tertiary" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2122
|
-
<ix-icon-toggle-button variant="tertiary" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2123
|
-
<ix-icon-toggle-button variant="tertiary" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2124
|
-
</ix-row>
|
|
2125
|
-
</ix-layout-grid>
|
|
2126
|
-
`,
|
|
2127
|
-
styleUrls: ['./icon-toggle-button-secondary-ghost.css'],
|
|
2128
|
-
})
|
|
2129
|
-
export default class Buttons {}
|
|
2130
|
-
|
|
2131
|
-
```
|
|
2132
|
-
|
|
2133
|
-
### Example: icon-toggle-button-secondary-outline
|
|
2134
|
-
#### Component typescript
|
|
2135
|
-
```typescript
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
import { Component } from '@angular/core';
|
|
2139
|
-
|
|
2140
|
-
@Component({
|
|
2141
|
-
standalone: false,
|
|
2142
|
-
selector: 'app-example',
|
|
2143
|
-
template: `
|
|
2144
|
-
<ix-layout-grid>
|
|
2145
|
-
<ix-row>
|
|
2146
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes"></ix-icon-toggle-button>
|
|
2147
|
-
<ix-icon-toggle-button variant="subtle-primary" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2148
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2149
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2150
|
-
|
|
2151
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes"></ix-icon-toggle-button>
|
|
2152
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2153
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2154
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2155
|
-
|
|
2156
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes"></ix-icon-toggle-button>
|
|
2157
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2158
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2159
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2160
|
-
</ix-row>
|
|
2161
|
-
<ix-row>
|
|
2162
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2163
|
-
<ix-icon-toggle-button variant="subtle-primary" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2164
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2165
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2166
|
-
|
|
2167
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2168
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2169
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2170
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2171
|
-
|
|
2172
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2173
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2174
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2175
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2176
|
-
</ix-row>
|
|
2177
|
-
</ix-layout-grid>
|
|
2178
|
-
`,
|
|
2179
|
-
styleUrls: ['./icon-toggle-button-secondary-outline.css'],
|
|
2180
|
-
})
|
|
2181
|
-
export default class Buttons {}
|
|
2182
|
-
|
|
2183
|
-
```
|
|
2184
|
-
|
|
2185
|
-
### Example: icon-toggle-button-secondary
|
|
2186
|
-
#### Component typescript
|
|
2187
|
-
```typescript
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
import { Component } from '@angular/core';
|
|
2191
|
-
|
|
2192
|
-
@Component({
|
|
2193
|
-
standalone: false,
|
|
2194
|
-
selector: 'app-example',
|
|
2195
|
-
template: `
|
|
2196
|
-
<ix-layout-grid>
|
|
2197
|
-
<ix-row>
|
|
2198
|
-
<ix-icon-toggle-button icon="checkboxes"></ix-icon-toggle-button>
|
|
2199
|
-
<ix-icon-toggle-button
|
|
2200
|
-
pressed
|
|
2201
|
-
icon="checkboxes"
|
|
2202
|
-
></ix-icon-toggle-button>
|
|
2203
|
-
<ix-icon-toggle-button
|
|
2204
|
-
disabled
|
|
2205
|
-
icon="checkboxes"
|
|
2206
|
-
></ix-icon-toggle-button>
|
|
2207
|
-
<ix-icon-toggle-button
|
|
2208
|
-
disabled
|
|
2209
|
-
loading
|
|
2210
|
-
icon="checkboxes"
|
|
2211
|
-
></ix-icon-toggle-button>
|
|
2212
|
-
</ix-row>
|
|
2213
|
-
<ix-row>
|
|
2214
|
-
<ix-icon-toggle-button icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2215
|
-
<ix-icon-toggle-button
|
|
2216
|
-
pressed
|
|
2217
|
-
icon="checkboxes"
|
|
2218
|
-
oval
|
|
2219
|
-
></ix-icon-toggle-button>
|
|
2220
|
-
<ix-icon-toggle-button
|
|
2221
|
-
disabled
|
|
2222
|
-
icon="checkboxes"
|
|
2223
|
-
oval
|
|
2224
|
-
></ix-icon-toggle-button>
|
|
2225
|
-
<ix-icon-toggle-button
|
|
2226
|
-
disabled
|
|
2227
|
-
loading
|
|
2228
|
-
icon="checkboxes"
|
|
2229
|
-
oval
|
|
2230
|
-
></ix-icon-toggle-button>
|
|
2231
|
-
</ix-row>
|
|
2232
|
-
</ix-layout-grid>
|
|
2233
|
-
`,
|
|
2234
|
-
styleUrls: ['./icon-toggle-button-secondary.css'],
|
|
2235
|
-
})
|
|
2236
|
-
export default class Buttons {}
|
|
2237
|
-
|
|
2238
|
-
```
|
|
2239
|
-
|
|
2240
|
-
### Example: pill-variants
|
|
2241
|
-
#### Component typescript
|
|
2242
|
-
```typescript
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
import { Component } from '@angular/core';
|
|
2246
|
-
|
|
2247
|
-
@Component({
|
|
2248
|
-
standalone: false,
|
|
2249
|
-
selector: 'app-example',
|
|
2250
|
-
styleUrls: ['./pill-variants.css'],
|
|
2251
|
-
template: `
|
|
2252
|
-
<ix-layout-grid>
|
|
2253
|
-
<ix-row>
|
|
2254
|
-
<ix-col>
|
|
2255
|
-
<ix-pill icon="info"> Primary </ix-pill>
|
|
2256
|
-
</ix-col>
|
|
2257
|
-
<ix-col>
|
|
2258
|
-
<ix-pill variant="subtle-primary" icon="info"> Primary </ix-pill>
|
|
2259
|
-
</ix-col>
|
|
2260
|
-
</ix-row>
|
|
2261
|
-
|
|
2262
|
-
<ix-row>
|
|
2263
|
-
<ix-col>
|
|
2264
|
-
<ix-pill variant="alarm" icon="info"> Alarm </ix-pill>
|
|
2265
|
-
</ix-col>
|
|
2266
|
-
<ix-col>
|
|
2267
|
-
<ix-pill variant="alarm" icon="info"> Alarm </ix-pill>
|
|
2268
|
-
</ix-col>
|
|
2269
|
-
</ix-row>
|
|
2270
|
-
|
|
2271
|
-
<ix-row>
|
|
2272
|
-
<ix-col>
|
|
2273
|
-
<ix-pill variant="critical" icon="info"> Critical </ix-pill>
|
|
2274
|
-
</ix-col>
|
|
2275
|
-
<ix-col>
|
|
2276
|
-
<ix-pill variant="critical" icon="info"> Critical </ix-pill>
|
|
2277
|
-
</ix-col>
|
|
2278
|
-
</ix-row>
|
|
2279
|
-
|
|
2280
|
-
<ix-row>
|
|
2281
|
-
<ix-col>
|
|
2282
|
-
<ix-pill variant="warning" icon="info"> Warning </ix-pill>
|
|
2283
|
-
</ix-col>
|
|
2284
|
-
<ix-col>
|
|
2285
|
-
<ix-pill variant="warning" icon="info"> Warning </ix-pill>
|
|
2286
|
-
</ix-col>
|
|
2287
|
-
</ix-row>
|
|
2288
|
-
|
|
2289
|
-
<ix-row>
|
|
2290
|
-
<ix-col>
|
|
2291
|
-
<ix-pill variant="success" icon="info"> Success </ix-pill>
|
|
2292
|
-
</ix-col>
|
|
2293
|
-
<ix-col>
|
|
2294
|
-
<ix-pill variant="success" icon="info"> Success </ix-pill>
|
|
2295
|
-
</ix-col>
|
|
2296
|
-
</ix-row>
|
|
2297
|
-
|
|
2298
|
-
<ix-row>
|
|
2299
|
-
<ix-col>
|
|
2300
|
-
<ix-pill variant="info" icon="info"> Info </ix-pill>
|
|
2301
|
-
</ix-col>
|
|
2302
|
-
<ix-col>
|
|
2303
|
-
<ix-pill variant="info" icon="info"> Info </ix-pill>
|
|
2304
|
-
</ix-col>
|
|
2305
|
-
</ix-row>
|
|
2306
|
-
|
|
2307
|
-
<ix-row>
|
|
2308
|
-
<ix-col>
|
|
2309
|
-
<ix-pill variant="neutral" icon="info"> Neutral </ix-pill>
|
|
2310
|
-
</ix-col>
|
|
2311
|
-
<ix-col>
|
|
2312
|
-
<ix-pill variant="neutral" icon="info"> Neutral </ix-pill>
|
|
2313
|
-
</ix-col>
|
|
2314
|
-
</ix-row>
|
|
2315
|
-
|
|
2316
|
-
<ix-row>
|
|
2317
|
-
<ix-col>
|
|
2318
|
-
<ix-pill
|
|
2319
|
-
variant="custom"
|
|
2320
|
-
color="color-soft-text"
|
|
2321
|
-
background="purple"
|
|
2322
|
-
icon="info"
|
|
2323
|
-
>
|
|
2324
|
-
Custom
|
|
2325
|
-
</ix-pill>
|
|
2326
|
-
</ix-col>
|
|
2327
|
-
<ix-col>
|
|
2328
|
-
<ix-pill variant="custom" color="color-soft-text" background="purple" icon="info">
|
|
2329
|
-
Custom
|
|
2330
|
-
</ix-pill>
|
|
2331
|
-
</ix-col>
|
|
2332
|
-
</ix-row>
|
|
2333
|
-
</ix-layout-grid>
|
|
2334
|
-
`,
|
|
2335
|
-
})
|
|
2336
|
-
export default class Pill {}
|
|
2337
|
-
|
|
2338
|
-
```
|
|
2339
|
-
|
|
2340
|
-
### Example: theme-switcher
|
|
2341
|
-
#### Component typescript
|
|
2342
|
-
```typescript
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
import { Component } from '@angular/core';
|
|
2346
|
-
import { themeSwitcher } from '@siemens/ix';
|
|
2347
|
-
|
|
2348
|
-
@Component({
|
|
2349
|
-
standalone: false,
|
|
2350
|
-
selector: 'app-example',
|
|
2351
|
-
templateUrl: './theme-switcher.html',
|
|
2352
|
-
styleUrls: ['./theme-switcher.css'],
|
|
2353
|
-
})
|
|
2354
|
-
export default class ThemeSwitcher {
|
|
2355
|
-
themes = ['theme-classic-light', 'theme-classic-dark'];
|
|
2356
|
-
selectedTheme = this.themes[1];
|
|
2357
|
-
|
|
2358
|
-
constructor() {}
|
|
2359
|
-
|
|
2360
|
-
onValueChange(event: Event) {
|
|
2361
|
-
const customEvent = event as CustomEvent<string>;
|
|
2362
|
-
const newTheme = customEvent.detail;
|
|
2363
|
-
themeSwitcher.setTheme(newTheme);
|
|
2364
|
-
this.selectedTheme = newTheme;
|
|
2365
|
-
}
|
|
2366
|
-
|
|
2367
|
-
toggleMode() {
|
|
2368
|
-
themeSwitcher.toggleMode();
|
|
2369
|
-
}
|
|
2370
|
-
|
|
2371
|
-
onSystemMode({ target }: Event) {
|
|
2372
|
-
if ((target as HTMLInputElement).checked) {
|
|
2373
|
-
themeSwitcher.setVariant();
|
|
2374
|
-
return;
|
|
2375
|
-
}
|
|
2376
|
-
|
|
2377
|
-
themeSwitcher.setTheme(this.selectedTheme);
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
|
|
2381
|
-
```
|
|
2382
|
-
#### Component template
|
|
2383
|
-
```html
|
|
2384
|
-
<ix-layout-grid class="theme-switcher">
|
|
2385
|
-
<ix-row>
|
|
2386
|
-
<ix-col size="2">
|
|
2387
|
-
<span>Light/Dark</span>
|
|
2388
|
-
</ix-col>
|
|
2389
|
-
<ix-col>
|
|
2390
|
-
<ix-button (click)="toggleMode()">Toggle mode</ix-button>
|
|
2391
|
-
</ix-col>
|
|
2392
|
-
</ix-row>
|
|
2393
|
-
|
|
2394
|
-
<ix-row>
|
|
2395
|
-
<ix-col size="2">Theme</ix-col>
|
|
2396
|
-
<ix-col>
|
|
2397
|
-
<ix-select
|
|
2398
|
-
[value]="selectedTheme"
|
|
2399
|
-
(valueChange)="onValueChange($event)"
|
|
2400
|
-
placeholder="Select a theme"
|
|
2401
|
-
>
|
|
2402
|
-
<ix-select-item
|
|
2403
|
-
*ngFor="let theme of themes"
|
|
2404
|
-
[label]="theme"
|
|
2405
|
-
[value]="theme"
|
|
2406
|
-
></ix-select-item>
|
|
2407
|
-
</ix-select>
|
|
2408
|
-
</ix-col>
|
|
2409
|
-
</ix-row>
|
|
2410
|
-
|
|
2411
|
-
<ix-row>
|
|
2412
|
-
<ix-col size="2"></ix-col>
|
|
2413
|
-
<ix-col>
|
|
2414
|
-
<input
|
|
2415
|
-
class="ix-form-control"
|
|
2416
|
-
type="checkbox"
|
|
2417
|
-
id="system"
|
|
2418
|
-
(change)="onSystemMode($event)"
|
|
2419
|
-
/>
|
|
2420
|
-
<label class="ix-form-label" for="system">Use System</label>
|
|
2421
|
-
</ix-col>
|
|
2422
|
-
</ix-row>
|
|
2423
|
-
</ix-layout-grid>
|
|
2424
|
-
|
|
2425
|
-
```
|
|
2426
|
-
|
|
2427
|
-
## Angular Standalone Examples
|
|
2428
|
-
|
|
2429
|
-
### Example: form-layout-grid
|
|
2430
|
-
#### Component typescript
|
|
2431
|
-
```typescript
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
import { Component } from '@angular/core';
|
|
2435
|
-
import {
|
|
2436
|
-
IxLayoutGrid,
|
|
2437
|
-
IxRow,
|
|
2438
|
-
IxCol,
|
|
2439
|
-
IxFieldLabel,
|
|
2440
|
-
IxSelect,
|
|
2441
|
-
IxInput,
|
|
2442
|
-
IxButton,
|
|
2443
|
-
IxSelectValueAccessorDirective,
|
|
2444
|
-
IxTextValueAccessorDirective,
|
|
2445
|
-
} from '@siemens/ix-angular/standalone';
|
|
2446
|
-
|
|
2447
|
-
@Component({
|
|
2448
|
-
selector: 'app-example',
|
|
2449
|
-
imports: [
|
|
2450
|
-
IxLayoutGrid,
|
|
2451
|
-
IxRow,
|
|
2452
|
-
IxCol,
|
|
2453
|
-
IxFieldLabel,
|
|
2454
|
-
IxSelect,
|
|
2455
|
-
IxInput,
|
|
2456
|
-
IxButton,
|
|
2457
|
-
IxSelectValueAccessorDirective,
|
|
2458
|
-
IxTextValueAccessorDirective,
|
|
2459
|
-
],
|
|
2460
|
-
templateUrl: './form-layout-grid.html',
|
|
2461
|
-
styleUrls: ['./form-layout-grid.css'],
|
|
2462
|
-
})
|
|
2463
|
-
export default class FormLayoutGrid {}
|
|
2464
|
-
|
|
2465
|
-
```
|
|
2466
|
-
#### Component template
|
|
2467
|
-
```html
|
|
2468
|
-
<!--
|
|
2469
|
-
SPDX-FileCopyrightText: 2025 Siemens AG
|
|
2470
|
-
|
|
2471
|
-
SPDX-License-Identifier: MIT
|
|
2472
|
-
|
|
2473
|
-
This source code is licensed under the MIT license found in the
|
|
2474
|
-
LICENSE file in the root directory of this source tree.
|
|
2475
|
-
-->
|
|
2476
|
-
|
|
2477
|
-
<ix-layout-grid class="layout-grid-example">
|
|
2478
|
-
<ix-row>
|
|
2479
|
-
<ix-col size="2" size-sm="12">
|
|
2480
|
-
<ix-field-label for="my-select-1">Example</ix-field-label>
|
|
2481
|
-
</ix-col>
|
|
2482
|
-
<ix-col>
|
|
2483
|
-
<ix-select id="my-select-1"></ix-select>
|
|
2484
|
-
</ix-col>
|
|
2485
|
-
</ix-row>
|
|
2486
|
-
<ix-row>
|
|
2487
|
-
<ix-col size="2" size-sm="12">
|
|
2488
|
-
<ix-field-label for="my-select-2">Example</ix-field-label>
|
|
2489
|
-
</ix-col>
|
|
2490
|
-
<ix-col>
|
|
2491
|
-
<ix-input id="my-select-2"></ix-input>
|
|
2492
|
-
</ix-col>
|
|
2493
|
-
</ix-row>
|
|
2494
|
-
<ix-row>
|
|
2495
|
-
<ix-col size="12" size-sm="12">
|
|
2496
|
-
<ix-button data-colspan="2">Submit</ix-button>
|
|
2497
|
-
</ix-col>
|
|
2498
|
-
</ix-row>
|
|
2499
|
-
</ix-layout-grid>
|
|
2500
|
-
|
|
2501
|
-
```
|
|
2502
|
-
|
|
2503
|
-
### Example: grid-padding
|
|
2504
|
-
#### Component typescript
|
|
2505
|
-
```typescript
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
import { Component } from '@angular/core';
|
|
2509
|
-
import {
|
|
2510
|
-
IxLayoutGrid,
|
|
2511
|
-
IxRow,
|
|
2512
|
-
IxCol,
|
|
2513
|
-
IxTypography,
|
|
2514
|
-
} from '@siemens/ix-angular/standalone';
|
|
2515
|
-
|
|
2516
|
-
@Component({
|
|
2517
|
-
selector: 'app-example',
|
|
2518
|
-
imports: [IxLayoutGrid, IxRow, IxCol, IxTypography],
|
|
2519
|
-
templateUrl: './grid-padding.html',
|
|
2520
|
-
styleUrls: ['./grid-padding.css'],
|
|
2521
|
-
})
|
|
2522
|
-
export default class GridPadding {}
|
|
2523
|
-
|
|
2524
|
-
```
|
|
2525
|
-
#### Component template
|
|
2526
|
-
```html
|
|
2527
|
-
<!--
|
|
2528
|
-
SPDX-FileCopyrightText: 2025 Siemens AG
|
|
2529
|
-
|
|
2530
|
-
SPDX-License-Identifier: MIT
|
|
2531
|
-
|
|
2532
|
-
This source code is licensed under the MIT license found in the
|
|
2533
|
-
LICENSE file in the root directory of this source tree.
|
|
2534
|
-
-->
|
|
2535
|
-
|
|
2536
|
-
<div class="grid">
|
|
2537
|
-
<h4>Grid with margin</h4>
|
|
2538
|
-
<ix-layout-grid>
|
|
2539
|
-
<ix-row>
|
|
2540
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
2541
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
2542
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
2543
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
2544
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
2545
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
2546
|
-
<ix-col><ix-typography format="display">7</ix-typography></ix-col>
|
|
2547
|
-
<ix-col><ix-typography format="display">8</ix-typography></ix-col>
|
|
2548
|
-
<ix-col><ix-typography format="display">9</ix-typography></ix-col>
|
|
2549
|
-
<ix-col><ix-typography format="display">10</ix-typography></ix-col>
|
|
2550
|
-
<ix-col><ix-typography format="display">11</ix-typography></ix-col>
|
|
2551
|
-
<ix-col><ix-typography format="display">12</ix-typography></ix-col>
|
|
2552
|
-
</ix-row>
|
|
2553
|
-
</ix-layout-grid>
|
|
2554
|
-
|
|
2555
|
-
<h4>Grid without margin</h4>
|
|
2556
|
-
<ix-layout-grid no-margin>
|
|
2557
|
-
<ix-row>
|
|
2558
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
2559
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
2560
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
2561
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
2562
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
2563
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
2564
|
-
<ix-col><ix-typography format="display">7</ix-typography></ix-col>
|
|
2565
|
-
<ix-col><ix-typography format="display">8</ix-typography></ix-col>
|
|
2566
|
-
<ix-col><ix-typography format="display">9</ix-typography></ix-col>
|
|
2567
|
-
<ix-col><ix-typography format="display">10</ix-typography></ix-col>
|
|
2568
|
-
<ix-col><ix-typography format="display">11</ix-typography></ix-col>
|
|
2569
|
-
<ix-col><ix-typography format="display">12</ix-typography></ix-col>
|
|
2570
|
-
</ix-row>
|
|
2571
|
-
</ix-layout-grid>
|
|
2572
|
-
</div>
|
|
2573
|
-
|
|
2574
|
-
```
|
|
2575
|
-
|
|
2576
|
-
### Example: grid-size
|
|
2577
|
-
#### Component typescript
|
|
2578
|
-
```typescript
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
import { Component } from '@angular/core';
|
|
2582
|
-
import {
|
|
2583
|
-
IxLayoutGrid,
|
|
2584
|
-
IxRow,
|
|
2585
|
-
IxCol,
|
|
2586
|
-
IxTypography,
|
|
2587
|
-
} from '@siemens/ix-angular/standalone';
|
|
2588
|
-
|
|
2589
|
-
@Component({
|
|
2590
|
-
selector: 'app-example',
|
|
2591
|
-
imports: [IxLayoutGrid, IxRow, IxCol, IxTypography],
|
|
2592
|
-
templateUrl: './grid-size.html',
|
|
2593
|
-
styleUrls: ['./grid-size.css'],
|
|
2594
|
-
})
|
|
2595
|
-
export default class GridSize {}
|
|
2596
|
-
|
|
2597
|
-
```
|
|
2598
|
-
#### Component template
|
|
2599
|
-
```html
|
|
2600
|
-
<!--
|
|
2601
|
-
SPDX-FileCopyrightText: 2025 Siemens AG
|
|
2602
|
-
|
|
2603
|
-
SPDX-License-Identifier: MIT
|
|
2604
|
-
|
|
2605
|
-
This source code is licensed under the MIT license found in the
|
|
2606
|
-
LICENSE file in the root directory of this source tree.
|
|
2607
|
-
-->
|
|
2608
|
-
|
|
2609
|
-
<div class="grid">
|
|
2610
|
-
<h4>Column 6 takes up more space to a max of 12 columns total</h4>
|
|
2611
|
-
<ix-layout-grid>
|
|
2612
|
-
<ix-row>
|
|
2613
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
2614
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
2615
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
2616
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
2617
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
2618
|
-
<ix-col size="6"
|
|
2619
|
-
><ix-typography format="display">6</ix-typography></ix-col
|
|
2620
|
-
>
|
|
2621
|
-
</ix-row>
|
|
2622
|
-
</ix-layout-grid>
|
|
2623
|
-
|
|
2624
|
-
<h4>Stack columns on smaller screens</h4>
|
|
2625
|
-
<ix-layout-grid>
|
|
2626
|
-
<ix-row>
|
|
2627
|
-
<ix-col size="12" size-md="3"
|
|
2628
|
-
><ix-typography format="display">1</ix-typography></ix-col
|
|
2629
|
-
>
|
|
2630
|
-
<ix-col size="12" size-md="3"
|
|
2631
|
-
><ix-typography format="display">2</ix-typography></ix-col
|
|
2632
|
-
>
|
|
2633
|
-
<ix-col size="12" size-md="3"
|
|
2634
|
-
><ix-typography format="display">3</ix-typography></ix-col
|
|
2635
|
-
>
|
|
2636
|
-
<ix-col size="12" size-md="3"
|
|
2637
|
-
><ix-typography format="display">4</ix-typography></ix-col
|
|
2638
|
-
>
|
|
2639
|
-
</ix-row>
|
|
2640
|
-
</ix-layout-grid>
|
|
2641
|
-
</div>
|
|
2642
|
-
|
|
2643
|
-
```
|
|
2644
|
-
|
|
2645
|
-
### Example: grid
|
|
2646
|
-
#### Component typescript
|
|
2647
|
-
```typescript
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
import { Component } from '@angular/core';
|
|
2651
|
-
import {
|
|
2652
|
-
IxLayoutGrid,
|
|
2653
|
-
IxRow,
|
|
2654
|
-
IxCol,
|
|
2655
|
-
IxTypography,
|
|
2656
|
-
} from '@siemens/ix-angular/standalone';
|
|
2657
|
-
|
|
2658
|
-
@Component({
|
|
2659
|
-
selector: 'app-example',
|
|
2660
|
-
imports: [IxLayoutGrid, IxRow, IxCol, IxTypography],
|
|
2661
|
-
templateUrl: './grid.html',
|
|
2662
|
-
styleUrls: ['./grid.css'],
|
|
2663
|
-
})
|
|
2664
|
-
export default class Grid {}
|
|
2665
|
-
|
|
2666
|
-
```
|
|
2667
|
-
#### Component template
|
|
2668
|
-
```html
|
|
2669
|
-
<!--
|
|
2670
|
-
SPDX-FileCopyrightText: 2025 Siemens AG
|
|
2671
|
-
|
|
2672
|
-
SPDX-License-Identifier: MIT
|
|
2673
|
-
|
|
2674
|
-
This source code is licensed under the MIT license found in the
|
|
2675
|
-
LICENSE file in the root directory of this source tree.
|
|
2676
|
-
-->
|
|
2677
|
-
|
|
2678
|
-
<div class="grid">
|
|
2679
|
-
<ix-layout-grid>
|
|
2680
|
-
<ix-row>
|
|
2681
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
2682
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
2683
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
2684
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
2685
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
2686
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
2687
|
-
</ix-row>
|
|
2688
|
-
</ix-layout-grid>
|
|
2689
|
-
|
|
2690
|
-
<ix-layout-grid>
|
|
2691
|
-
<ix-row>
|
|
2692
|
-
<ix-col><ix-typography format="display">1</ix-typography></ix-col>
|
|
2693
|
-
<ix-col><ix-typography format="display">2</ix-typography></ix-col>
|
|
2694
|
-
<ix-col><ix-typography format="display">3</ix-typography></ix-col>
|
|
2695
|
-
<ix-col><ix-typography format="display">4</ix-typography></ix-col>
|
|
2696
|
-
<ix-col><ix-typography format="display">5</ix-typography></ix-col>
|
|
2697
|
-
<ix-col><ix-typography format="display">6</ix-typography></ix-col>
|
|
2698
|
-
<ix-col><ix-typography format="display">7</ix-typography></ix-col>
|
|
2699
|
-
<ix-col><ix-typography format="display">8</ix-typography></ix-col>
|
|
2700
|
-
<ix-col><ix-typography format="display">9</ix-typography></ix-col>
|
|
2701
|
-
<ix-col><ix-typography format="display">10</ix-typography></ix-col>
|
|
2702
|
-
<ix-col><ix-typography format="display">11</ix-typography></ix-col>
|
|
2703
|
-
<ix-col><ix-typography format="display">12</ix-typography></ix-col>
|
|
2704
|
-
</ix-row>
|
|
2705
|
-
</ix-layout-grid>
|
|
2706
|
-
</div>
|
|
2707
|
-
|
|
2708
|
-
```
|
|
2709
|
-
|
|
2710
|
-
### Example: icon-toggle-button-primary-ghost
|
|
2711
|
-
#### Component typescript
|
|
2712
|
-
```typescript
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
import { Component } from '@angular/core';
|
|
2716
|
-
import {
|
|
2717
|
-
IxIconToggleButton,
|
|
2718
|
-
IxLayoutGrid,
|
|
2719
|
-
IxRow,
|
|
2720
|
-
} from '@siemens/ix-angular/standalone';
|
|
2721
|
-
|
|
2722
|
-
@Component({
|
|
2723
|
-
selector: 'app-example',
|
|
2724
|
-
imports: [IxIconToggleButton, IxLayoutGrid, IxRow],
|
|
2725
|
-
template: `
|
|
2726
|
-
<ix-layout-grid>
|
|
2727
|
-
<ix-row>
|
|
2728
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes"></ix-icon-toggle-button>
|
|
2729
|
-
<ix-icon-toggle-button variant="tertiary" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2730
|
-
<ix-icon-toggle-button variant="tertiary" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2731
|
-
<ix-icon-toggle-button variant="tertiary" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2732
|
-
</ix-row>
|
|
2733
|
-
<ix-row>
|
|
2734
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2735
|
-
<ix-icon-toggle-button variant="tertiary" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2736
|
-
<ix-icon-toggle-button variant="tertiary" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2737
|
-
<ix-icon-toggle-button variant="tertiary" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2738
|
-
</ix-row>
|
|
2739
|
-
</ix-layout-grid>
|
|
2740
|
-
`,
|
|
2741
|
-
styleUrls: ['./icon-toggle-button-primary-ghost.css'],
|
|
2742
|
-
})
|
|
2743
|
-
export default class Buttons {}
|
|
2744
|
-
|
|
2745
|
-
```
|
|
2746
|
-
|
|
2747
|
-
### Example: icon-toggle-button-primary-outline
|
|
2748
|
-
#### Component typescript
|
|
2749
|
-
```typescript
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
import { Component } from '@angular/core';
|
|
2753
|
-
import {
|
|
2754
|
-
IxIconToggleButton,
|
|
2755
|
-
IxLayoutGrid,
|
|
2756
|
-
IxRow,
|
|
2757
|
-
} from '@siemens/ix-angular/standalone';
|
|
2758
|
-
|
|
2759
|
-
@Component({
|
|
2760
|
-
selector: 'app-example',
|
|
2761
|
-
imports: [IxIconToggleButton, IxLayoutGrid, IxRow],
|
|
2762
|
-
template: `
|
|
2763
|
-
<ix-layout-grid>
|
|
2764
|
-
<ix-row>
|
|
2765
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes"></ix-icon-toggle-button>
|
|
2766
|
-
<ix-icon-toggle-button variant="subtle-primary" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2767
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2768
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2769
|
-
</ix-row>
|
|
2770
|
-
<ix-row>
|
|
2771
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2772
|
-
<ix-icon-toggle-button variant="subtle-primary" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2773
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2774
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2775
|
-
</ix-row>
|
|
2776
|
-
</ix-layout-grid>
|
|
2777
|
-
`,
|
|
2778
|
-
styleUrls: ['./icon-toggle-button-primary-outline.css'],
|
|
2779
|
-
})
|
|
2780
|
-
export default class Buttons {}
|
|
2781
|
-
|
|
2782
|
-
```
|
|
2783
|
-
|
|
2784
|
-
### Example: icon-toggle-button-secondary-ghost
|
|
2785
|
-
#### Component typescript
|
|
2786
|
-
```typescript
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
import { Component } from '@angular/core';
|
|
2790
|
-
import {
|
|
2791
|
-
IxIconToggleButton,
|
|
2792
|
-
IxLayoutGrid,
|
|
2793
|
-
IxRow,
|
|
2794
|
-
} from '@siemens/ix-angular/standalone';
|
|
2795
|
-
|
|
2796
|
-
@Component({
|
|
2797
|
-
selector: 'app-example',
|
|
2798
|
-
imports: [IxIconToggleButton, IxLayoutGrid, IxRow],
|
|
2799
|
-
template: `
|
|
2800
|
-
<ix-layout-grid>
|
|
2801
|
-
<ix-row>
|
|
2802
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes"></ix-icon-toggle-button>
|
|
2803
|
-
<ix-icon-toggle-button variant="tertiary" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2804
|
-
<ix-icon-toggle-button variant="tertiary" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2805
|
-
<ix-icon-toggle-button variant="tertiary" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2806
|
-
</ix-row>
|
|
2807
|
-
<ix-row>
|
|
2808
|
-
<ix-icon-toggle-button variant="tertiary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2809
|
-
<ix-icon-toggle-button variant="tertiary" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2810
|
-
<ix-icon-toggle-button variant="tertiary" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2811
|
-
<ix-icon-toggle-button variant="tertiary" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2812
|
-
</ix-row>
|
|
2813
|
-
</ix-layout-grid>
|
|
2814
|
-
`,
|
|
2815
|
-
styleUrls: ['./icon-toggle-button-secondary-ghost.css'],
|
|
2816
|
-
})
|
|
2817
|
-
export default class Buttons {}
|
|
2818
|
-
|
|
2819
|
-
```
|
|
2820
|
-
|
|
2821
|
-
### Example: icon-toggle-button-secondary-outline
|
|
2822
|
-
#### Component typescript
|
|
2823
|
-
```typescript
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
import { Component } from '@angular/core';
|
|
2827
|
-
import {
|
|
2828
|
-
IxIconToggleButton,
|
|
2829
|
-
IxLayoutGrid,
|
|
2830
|
-
IxRow,
|
|
2831
|
-
} from '@siemens/ix-angular/standalone';
|
|
2832
|
-
|
|
2833
|
-
@Component({
|
|
2834
|
-
selector: 'app-example',
|
|
2835
|
-
imports: [IxIconToggleButton, IxLayoutGrid, IxRow],
|
|
2836
|
-
template: `
|
|
2837
|
-
<ix-layout-grid>
|
|
2838
|
-
<ix-row>
|
|
2839
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes"></ix-icon-toggle-button>
|
|
2840
|
-
<ix-icon-toggle-button variant="subtle-primary" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2841
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2842
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2843
|
-
|
|
2844
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes"></ix-icon-toggle-button>
|
|
2845
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2846
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2847
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2848
|
-
|
|
2849
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes"></ix-icon-toggle-button>
|
|
2850
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" pressed icon="checkboxes"></ix-icon-toggle-button>
|
|
2851
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" disabled icon="checkboxes"></ix-icon-toggle-button>
|
|
2852
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" disabled loading icon="checkboxes"></ix-icon-toggle-button>
|
|
2853
|
-
</ix-row>
|
|
2854
|
-
<ix-row>
|
|
2855
|
-
<ix-icon-toggle-button variant="subtle-primary" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2856
|
-
<ix-icon-toggle-button variant="subtle-primary" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2857
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2858
|
-
<ix-icon-toggle-button variant="subtle-primary" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2859
|
-
|
|
2860
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2861
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2862
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2863
|
-
<ix-icon-toggle-button variant="subtle-primary" size="16" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2864
|
-
|
|
2865
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2866
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" pressed icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2867
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" disabled icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2868
|
-
<ix-icon-toggle-button variant="subtle-primary" size="12" disabled loading icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2869
|
-
</ix-row>
|
|
2870
|
-
</ix-layout-grid>
|
|
2871
|
-
`,
|
|
2872
|
-
styleUrls: ['./icon-toggle-button-secondary-outline.css'],
|
|
2873
|
-
})
|
|
2874
|
-
export default class Buttons {}
|
|
2875
|
-
|
|
2876
|
-
```
|
|
2877
|
-
|
|
2878
|
-
### Example: icon-toggle-button-secondary
|
|
2879
|
-
#### Component typescript
|
|
2880
|
-
```typescript
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
import { Component } from '@angular/core';
|
|
2884
|
-
import {
|
|
2885
|
-
IxIconToggleButton,
|
|
2886
|
-
IxLayoutGrid,
|
|
2887
|
-
IxRow,
|
|
2888
|
-
} from '@siemens/ix-angular/standalone';
|
|
2889
|
-
|
|
2890
|
-
@Component({
|
|
2891
|
-
selector: 'app-example',
|
|
2892
|
-
imports: [IxIconToggleButton, IxLayoutGrid, IxRow],
|
|
2893
|
-
template: `
|
|
2894
|
-
<ix-layout-grid>
|
|
2895
|
-
<ix-row>
|
|
2896
|
-
<ix-icon-toggle-button icon="checkboxes"></ix-icon-toggle-button>
|
|
2897
|
-
<ix-icon-toggle-button
|
|
2898
|
-
pressed
|
|
2899
|
-
icon="checkboxes"
|
|
2900
|
-
></ix-icon-toggle-button>
|
|
2901
|
-
<ix-icon-toggle-button
|
|
2902
|
-
disabled
|
|
2903
|
-
icon="checkboxes"
|
|
2904
|
-
></ix-icon-toggle-button>
|
|
2905
|
-
<ix-icon-toggle-button
|
|
2906
|
-
disabled
|
|
2907
|
-
loading
|
|
2908
|
-
icon="checkboxes"
|
|
2909
|
-
></ix-icon-toggle-button>
|
|
2910
|
-
</ix-row>
|
|
2911
|
-
<ix-row>
|
|
2912
|
-
<ix-icon-toggle-button icon="checkboxes" oval></ix-icon-toggle-button>
|
|
2913
|
-
<ix-icon-toggle-button
|
|
2914
|
-
pressed
|
|
2915
|
-
icon="checkboxes"
|
|
2916
|
-
oval
|
|
2917
|
-
></ix-icon-toggle-button>
|
|
2918
|
-
<ix-icon-toggle-button
|
|
2919
|
-
disabled
|
|
2920
|
-
icon="checkboxes"
|
|
2921
|
-
oval
|
|
2922
|
-
></ix-icon-toggle-button>
|
|
2923
|
-
<ix-icon-toggle-button
|
|
2924
|
-
disabled
|
|
2925
|
-
loading
|
|
2926
|
-
icon="checkboxes"
|
|
2927
|
-
oval
|
|
2928
|
-
></ix-icon-toggle-button>
|
|
2929
|
-
</ix-row>
|
|
2930
|
-
</ix-layout-grid>
|
|
2931
|
-
`,
|
|
2932
|
-
styleUrls: ['./icon-toggle-button-secondary.css'],
|
|
2933
|
-
})
|
|
2934
|
-
export default class Buttons {}
|
|
2935
|
-
|
|
2936
|
-
```
|
|
2937
|
-
|
|
2938
|
-
### Example: pill-variants
|
|
2939
|
-
#### Component typescript
|
|
2940
|
-
```typescript
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
import { Component } from '@angular/core';
|
|
2944
|
-
import {
|
|
2945
|
-
IxLayoutGrid,
|
|
2946
|
-
IxRow,
|
|
2947
|
-
IxCol,
|
|
2948
|
-
IxPill,
|
|
2949
|
-
} from '@siemens/ix-angular/standalone';
|
|
2950
|
-
|
|
2951
|
-
@Component({
|
|
2952
|
-
selector: 'app-example',
|
|
2953
|
-
imports: [IxLayoutGrid, IxRow, IxCol, IxPill],
|
|
2954
|
-
styleUrls: ['./pill-variants.css'],
|
|
2955
|
-
template: `
|
|
2956
|
-
<ix-layout-grid>
|
|
2957
|
-
<ix-row>
|
|
2958
|
-
<ix-col>
|
|
2959
|
-
<ix-pill icon="info"> Primary </ix-pill>
|
|
2960
|
-
</ix-col>
|
|
2961
|
-
<ix-col>
|
|
2962
|
-
<ix-pill variant="subtle-primary" icon="info"> Primary </ix-pill>
|
|
2963
|
-
</ix-col>
|
|
2964
|
-
</ix-row>
|
|
2965
|
-
|
|
2966
|
-
<ix-row>
|
|
2967
|
-
<ix-col>
|
|
2968
|
-
<ix-pill variant="alarm" icon="info"> Alarm </ix-pill>
|
|
2969
|
-
</ix-col>
|
|
2970
|
-
<ix-col>
|
|
2971
|
-
<ix-pill variant="alarm" icon="info"> Alarm </ix-pill>
|
|
2972
|
-
</ix-col>
|
|
2973
|
-
</ix-row>
|
|
2974
|
-
|
|
2975
|
-
<ix-row>
|
|
2976
|
-
<ix-col>
|
|
2977
|
-
<ix-pill variant="critical" icon="info"> Critical </ix-pill>
|
|
2978
|
-
</ix-col>
|
|
2979
|
-
<ix-col>
|
|
2980
|
-
<ix-pill variant="critical" icon="info"> Critical </ix-pill>
|
|
2981
|
-
</ix-col>
|
|
2982
|
-
</ix-row>
|
|
2983
|
-
|
|
2984
|
-
<ix-row>
|
|
2985
|
-
<ix-col>
|
|
2986
|
-
<ix-pill variant="warning" icon="info"> Warning </ix-pill>
|
|
2987
|
-
</ix-col>
|
|
2988
|
-
<ix-col>
|
|
2989
|
-
<ix-pill variant="warning" icon="info"> Warning </ix-pill>
|
|
2990
|
-
</ix-col>
|
|
2991
|
-
</ix-row>
|
|
2992
|
-
|
|
2993
|
-
<ix-row>
|
|
2994
|
-
<ix-col>
|
|
2995
|
-
<ix-pill variant="success" icon="info"> Success </ix-pill>
|
|
2996
|
-
</ix-col>
|
|
2997
|
-
<ix-col>
|
|
2998
|
-
<ix-pill variant="success" icon="info"> Success </ix-pill>
|
|
2999
|
-
</ix-col>
|
|
3000
|
-
</ix-row>
|
|
3001
|
-
|
|
3002
|
-
<ix-row>
|
|
3003
|
-
<ix-col>
|
|
3004
|
-
<ix-pill variant="info" icon="info"> Info </ix-pill>
|
|
3005
|
-
</ix-col>
|
|
3006
|
-
<ix-col>
|
|
3007
|
-
<ix-pill variant="info" icon="info"> Info </ix-pill>
|
|
3008
|
-
</ix-col>
|
|
3009
|
-
</ix-row>
|
|
3010
|
-
|
|
3011
|
-
<ix-row>
|
|
3012
|
-
<ix-col>
|
|
3013
|
-
<ix-pill variant="neutral" icon="info"> Neutral </ix-pill>
|
|
3014
|
-
</ix-col>
|
|
3015
|
-
<ix-col>
|
|
3016
|
-
<ix-pill variant="neutral" icon="info"> Neutral </ix-pill>
|
|
3017
|
-
</ix-col>
|
|
3018
|
-
</ix-row>
|
|
3019
|
-
|
|
3020
|
-
<ix-row>
|
|
3021
|
-
<ix-col>
|
|
3022
|
-
<ix-pill
|
|
3023
|
-
variant="custom"
|
|
3024
|
-
color="color-soft-text"
|
|
3025
|
-
background="purple"
|
|
3026
|
-
icon="info"
|
|
3027
|
-
>
|
|
3028
|
-
Custom
|
|
3029
|
-
</ix-pill>
|
|
3030
|
-
</ix-col>
|
|
3031
|
-
<ix-col>
|
|
3032
|
-
<ix-pill variant="custom" color="color-soft-text" background="purple" icon="info">
|
|
3033
|
-
Custom
|
|
3034
|
-
</ix-pill>
|
|
3035
|
-
</ix-col>
|
|
3036
|
-
</ix-row>
|
|
3037
|
-
</ix-layout-grid>
|
|
3038
|
-
`,
|
|
3039
|
-
})
|
|
3040
|
-
export default class Pill {}
|
|
3041
|
-
|
|
3042
|
-
```
|
|
3043
|
-
|
|
3044
|
-
### Example: theme-switcher
|
|
3045
|
-
#### Component typescript
|
|
3046
|
-
```typescript
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
import { Component } from '@angular/core';
|
|
3050
|
-
import { NgForOf } from '@angular/common';
|
|
3051
|
-
|
|
3052
|
-
import {
|
|
3053
|
-
IxLayoutGrid,
|
|
3054
|
-
IxRow,
|
|
3055
|
-
IxCol,
|
|
3056
|
-
IxButton,
|
|
3057
|
-
IxSelect,
|
|
3058
|
-
IxSelectItem,
|
|
3059
|
-
IxSelectValueAccessorDirective,
|
|
3060
|
-
} from '@siemens/ix-angular/standalone';
|
|
3061
|
-
|
|
3062
|
-
import { themeSwitcher } from '@siemens/ix';
|
|
3063
|
-
|
|
3064
|
-
@Component({
|
|
3065
|
-
selector: 'app-example',
|
|
3066
|
-
imports: [
|
|
3067
|
-
IxLayoutGrid,
|
|
3068
|
-
IxRow,
|
|
3069
|
-
IxCol,
|
|
3070
|
-
IxButton,
|
|
3071
|
-
IxSelect,
|
|
3072
|
-
IxSelectItem,
|
|
3073
|
-
IxSelectValueAccessorDirective,
|
|
3074
|
-
NgForOf,
|
|
3075
|
-
],
|
|
3076
|
-
templateUrl: './theme-switcher.html',
|
|
3077
|
-
styleUrls: ['./theme-switcher.css'],
|
|
3078
|
-
})
|
|
3079
|
-
export default class ThemeSwitcher {
|
|
3080
|
-
themes = ['theme-classic-light', 'theme-classic-dark'];
|
|
3081
|
-
selectedTheme = this.themes[1];
|
|
3082
|
-
|
|
3083
|
-
constructor() {}
|
|
3084
|
-
|
|
3085
|
-
onValueChange(event: Event) {
|
|
3086
|
-
const customEvent = event as CustomEvent<string>;
|
|
3087
|
-
const newTheme = customEvent.detail;
|
|
3088
|
-
themeSwitcher.setTheme(newTheme);
|
|
3089
|
-
this.selectedTheme = newTheme;
|
|
3090
|
-
}
|
|
3091
|
-
|
|
3092
|
-
toggleMode() {
|
|
3093
|
-
themeSwitcher.toggleMode();
|
|
3094
|
-
}
|
|
3095
|
-
|
|
3096
|
-
onSystemMode({ target }: Event) {
|
|
3097
|
-
if ((target as HTMLInputElement).checked) {
|
|
3098
|
-
themeSwitcher.setVariant();
|
|
3099
|
-
return;
|
|
3100
|
-
}
|
|
3101
|
-
|
|
3102
|
-
themeSwitcher.setTheme(this.selectedTheme);
|
|
3103
|
-
}
|
|
3104
|
-
}
|
|
3105
|
-
|
|
3106
|
-
```
|
|
3107
|
-
#### Component template
|
|
3108
|
-
```html
|
|
3109
|
-
<!--
|
|
3110
|
-
SPDX-FileCopyrightText: 2025 Siemens AG
|
|
3111
|
-
|
|
3112
|
-
SPDX-License-Identifier: MIT
|
|
3113
|
-
|
|
3114
|
-
This source code is licensed under the MIT license found in the
|
|
3115
|
-
LICENSE file in the root directory of this source tree.
|
|
3116
|
-
-->
|
|
3117
|
-
|
|
3118
|
-
<ix-layout-grid class="theme-switcher">
|
|
3119
|
-
<ix-row>
|
|
3120
|
-
<ix-col size="2">
|
|
3121
|
-
<span>Light/Dark</span>
|
|
3122
|
-
</ix-col>
|
|
3123
|
-
<ix-col>
|
|
3124
|
-
<ix-button (click)="toggleMode()">Toggle mode</ix-button>
|
|
3125
|
-
</ix-col>
|
|
3126
|
-
</ix-row>
|
|
3127
|
-
|
|
3128
|
-
<ix-row>
|
|
3129
|
-
<ix-col size="2">Theme</ix-col>
|
|
3130
|
-
<ix-col>
|
|
3131
|
-
<ix-select
|
|
3132
|
-
[value]="selectedTheme"
|
|
3133
|
-
(valueChange)="onValueChange($event)"
|
|
3134
|
-
placeholder="Select a theme"
|
|
3135
|
-
>
|
|
3136
|
-
<ix-select-item
|
|
3137
|
-
*ngFor="let theme of themes"
|
|
3138
|
-
[label]="theme"
|
|
3139
|
-
[value]="theme"
|
|
3140
|
-
></ix-select-item>
|
|
3141
|
-
</ix-select>
|
|
3142
|
-
</ix-col>
|
|
3143
|
-
</ix-row>
|
|
3144
|
-
|
|
3145
|
-
<ix-row>
|
|
3146
|
-
<ix-col size="2"></ix-col>
|
|
3147
|
-
<ix-col>
|
|
3148
|
-
<input type="checkbox" id="system" (change)="onSystemMode($event)" />
|
|
3149
|
-
<label for="system">Use System</label>
|
|
3150
|
-
</ix-col>
|
|
3151
|
-
</ix-row>
|
|
3152
|
-
</ix-layout-grid>
|
|
3153
|
-
|
|
3154
|
-
```
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
1
|
|
|
3158
2
|
<!-- Auto Generated Below -->
|
|
3159
3
|
|