@educarehq/solaris-ui 0.3.0 → 0.3.2
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/fesm2022/educarehq-solaris-ui.mjs +12261 -0
- package/fesm2022/educarehq-solaris-ui.mjs.map +1 -0
- package/package.json +9 -5
- package/styles/_button.scss +510 -510
- package/styles/_dropdown-menu.scss +72 -72
- package/styles/_icon-button.scss +481 -481
- package/styles/_input.scss +255 -255
- package/styles/_popover.scss +73 -73
- package/styles/_theme.scss +46 -36
- package/styles/_toast.scss +9 -9
- package/styles/_tooltip.scss +3 -3
- package/styles/token/border/_border.scss +5 -0
- package/styles/token/border/_index.scss +1 -0
- package/styles/token/color/_dark.scss +78 -0
- package/styles/token/color/_high-contrast.scss +27 -0
- package/styles/token/color/_index.scss +3 -0
- package/styles/token/color/_light.scss +69 -0
- package/styles/token/density/_comfortable.scss +15 -0
- package/styles/token/density/_compact.scss +15 -0
- package/styles/token/density/_index.scss +2 -0
- package/styles/token/motion/_index.scss +2 -0
- package/styles/token/motion/_motion.scss +15 -0
- package/styles/token/motion/_reduced-motion.scss +15 -0
- package/styles/token/opacity/_index.scss +1 -0
- package/styles/token/opacity/_opacity.scss +4 -0
- package/styles/token/radius/_index.scss +1 -0
- package/styles/token/radius/_radius.scss +8 -0
- package/styles/token/shadow/_index.scss +1 -0
- package/styles/token/shadow/_shadow.scss +26 -0
- package/styles/token/spacing/_index.scss +1 -0
- package/styles/token/spacing/_spacing.scss +15 -0
- package/styles/token/typography/_font-family.scss +13 -0
- package/styles/token/typography/_index.scss +2 -0
- package/styles/token/typography/_typography.scss +25 -0
- package/styles/token/z-index/_index.scss +1 -0
- package/styles/token/z-index/_z-index.scss +10 -0
- package/types/educarehq-solaris-ui.d.ts +3201 -0
- package/educarehq-solaris-ui.d.ts +0 -5
- package/esm2022/educarehq-solaris-ui.js +0 -5
- package/esm2022/educarehq-solaris-ui.js.map +0 -1
- package/esm2022/index.js +0 -109
- package/esm2022/index.js.map +0 -1
- package/esm2022/lib/components/actions/button/directives/button-icon.directive.js +0 -17
- package/esm2022/lib/components/actions/button/directives/button-icon.directive.js.map +0 -1
- package/esm2022/lib/components/actions/button/directives/button.directive.js +0 -60
- package/esm2022/lib/components/actions/button/directives/button.directive.js.map +0 -1
- package/esm2022/lib/components/actions/button/index.js +0 -3
- package/esm2022/lib/components/actions/button/index.js.map +0 -1
- package/esm2022/lib/components/actions/button/model/button.types.js +0 -1
- package/esm2022/lib/components/actions/button/model/button.types.js.map +0 -1
- package/esm2022/lib/components/actions/button-group/component/button-group.component.js +0 -21
- package/esm2022/lib/components/actions/button-group/component/button-group.component.js.map +0 -1
- package/esm2022/lib/components/actions/button-group/model/button-group.types.js +0 -1
- package/esm2022/lib/components/actions/button-group/model/button-group.types.js.map +0 -1
- package/esm2022/lib/components/actions/icon-button/directives/icon-button-badge.directive.js +0 -17
- package/esm2022/lib/components/actions/icon-button/directives/icon-button-badge.directive.js.map +0 -1
- package/esm2022/lib/components/actions/icon-button/directives/icon-button.directive.js +0 -58
- package/esm2022/lib/components/actions/icon-button/directives/icon-button.directive.js.map +0 -1
- package/esm2022/lib/components/actions/icon-button/model/icon-button.types.js +0 -1
- package/esm2022/lib/components/actions/icon-button/model/icon-button.types.js.map +0 -1
- package/esm2022/lib/components/data-display/badge/component/badge.component.js +0 -24
- package/esm2022/lib/components/data-display/badge/component/badge.component.js.map +0 -1
- package/esm2022/lib/components/data-display/badge/directives/badge-icon.directive.js +0 -17
- package/esm2022/lib/components/data-display/badge/directives/badge-icon.directive.js.map +0 -1
- package/esm2022/lib/components/data-display/badge/index.js +0 -3
- package/esm2022/lib/components/data-display/badge/index.js.map +0 -1
- package/esm2022/lib/components/data-display/badge/model/badge.types.js +0 -1
- package/esm2022/lib/components/data-display/badge/model/badge.types.js.map +0 -1
- package/esm2022/lib/components/data-display/card/component/card.component.js +0 -20
- package/esm2022/lib/components/data-display/card/component/card.component.js.map +0 -1
- package/esm2022/lib/components/data-display/card/directives/card-actions.directive.js +0 -17
- package/esm2022/lib/components/data-display/card/directives/card-actions.directive.js.map +0 -1
- package/esm2022/lib/components/data-display/card/directives/card-content.directive.js +0 -17
- package/esm2022/lib/components/data-display/card/directives/card-content.directive.js.map +0 -1
- package/esm2022/lib/components/data-display/card/directives/card-description.directive.js +0 -17
- package/esm2022/lib/components/data-display/card/directives/card-description.directive.js.map +0 -1
- package/esm2022/lib/components/data-display/card/directives/card-footer.directive.js +0 -19
- package/esm2022/lib/components/data-display/card/directives/card-footer.directive.js.map +0 -1
- package/esm2022/lib/components/data-display/card/directives/card-header.directive.js +0 -17
- package/esm2022/lib/components/data-display/card/directives/card-header.directive.js.map +0 -1
- package/esm2022/lib/components/data-display/card/directives/card-media.directive.js +0 -17
- package/esm2022/lib/components/data-display/card/directives/card-media.directive.js.map +0 -1
- package/esm2022/lib/components/data-display/card/directives/card-title.directive.js +0 -17
- package/esm2022/lib/components/data-display/card/directives/card-title.directive.js.map +0 -1
- package/esm2022/lib/components/data-display/card/model/card.types.js +0 -1
- package/esm2022/lib/components/data-display/card/model/card.types.js.map +0 -1
- package/esm2022/lib/components/data-display/divider/component/divider.component.js +0 -46
- package/esm2022/lib/components/data-display/divider/component/divider.component.js.map +0 -1
- package/esm2022/lib/components/data-display/divider/index.js +0 -2
- package/esm2022/lib/components/data-display/divider/index.js.map +0 -1
- package/esm2022/lib/components/data-display/divider/model/divider.types.js +0 -1
- package/esm2022/lib/components/data-display/divider/model/divider.types.js.map +0 -1
- package/esm2022/lib/components/feedback/alert/component/alert-actions.component.js +0 -18
- package/esm2022/lib/components/feedback/alert/component/alert-actions.component.js.map +0 -1
- package/esm2022/lib/components/feedback/alert/component/alert.component.js +0 -90
- package/esm2022/lib/components/feedback/alert/component/alert.component.js.map +0 -1
- package/esm2022/lib/components/feedback/alert/directives/alert-description.directive.js +0 -17
- package/esm2022/lib/components/feedback/alert/directives/alert-description.directive.js.map +0 -1
- package/esm2022/lib/components/feedback/alert/directives/alert-title.directive.js +0 -17
- package/esm2022/lib/components/feedback/alert/directives/alert-title.directive.js.map +0 -1
- package/esm2022/lib/components/feedback/alert/model/alert.types.js +0 -1
- package/esm2022/lib/components/feedback/alert/model/alert.types.js.map +0 -1
- package/esm2022/lib/components/feedback/skeleton/component/skeleton.component.js +0 -69
- package/esm2022/lib/components/feedback/skeleton/component/skeleton.component.js.map +0 -1
- package/esm2022/lib/components/feedback/skeleton/model/skeleton.types.js +0 -1
- package/esm2022/lib/components/feedback/skeleton/model/skeleton.types.js.map +0 -1
- package/esm2022/lib/components/feedback/toast/component/toast.component.js +0 -268
- package/esm2022/lib/components/feedback/toast/component/toast.component.js.map +0 -1
- package/esm2022/lib/components/feedback/toast/container/toast-container.component.js +0 -24
- package/esm2022/lib/components/feedback/toast/container/toast-container.component.js.map +0 -1
- package/esm2022/lib/components/feedback/toast/model/toast.types.js +0 -1
- package/esm2022/lib/components/feedback/toast/model/toast.types.js.map +0 -1
- package/esm2022/lib/components/feedback/toast/provider/provide-solaris-toast.js +0 -17
- package/esm2022/lib/components/feedback/toast/provider/provide-solaris-toast.js.map +0 -1
- package/esm2022/lib/components/feedback/toast/service/toast.service.js +0 -219
- package/esm2022/lib/components/feedback/toast/service/toast.service.js.map +0 -1
- package/esm2022/lib/components/feedback/toast/token/toast.tokens.js +0 -13
- package/esm2022/lib/components/feedback/toast/token/toast.tokens.js.map +0 -1
- package/esm2022/lib/components/forms/checkbox/component/checkbox.component.js +0 -227
- package/esm2022/lib/components/forms/checkbox/component/checkbox.component.js.map +0 -1
- package/esm2022/lib/components/forms/checkbox/model/checkbox.types.js +0 -1
- package/esm2022/lib/components/forms/checkbox/model/checkbox.types.js.map +0 -1
- package/esm2022/lib/components/forms/checkbox-group/component/checkbox-group.component.js +0 -441
- package/esm2022/lib/components/forms/checkbox-group/component/checkbox-group.component.js.map +0 -1
- package/esm2022/lib/components/forms/checkbox-group/model/checkbox-group.types.js +0 -1
- package/esm2022/lib/components/forms/checkbox-group/model/checkbox-group.types.js.map +0 -1
- package/esm2022/lib/components/forms/email-field/component/email-field.component.js +0 -215
- package/esm2022/lib/components/forms/email-field/component/email-field.component.js.map +0 -1
- package/esm2022/lib/components/forms/email-field/model/email-field.types.js +0 -1
- package/esm2022/lib/components/forms/email-field/model/email-field.types.js.map +0 -1
- package/esm2022/lib/components/forms/email-field/validators/email-field.validators.js +0 -69
- package/esm2022/lib/components/forms/email-field/validators/email-field.validators.js.map +0 -1
- package/esm2022/lib/components/forms/form-field/component/form-error.component.js +0 -19
- package/esm2022/lib/components/forms/form-field/component/form-error.component.js.map +0 -1
- package/esm2022/lib/components/forms/form-field/component/form-field.component.js +0 -442
- package/esm2022/lib/components/forms/form-field/component/form-field.component.js.map +0 -1
- package/esm2022/lib/components/forms/form-field/component/form-hint.component.js +0 -18
- package/esm2022/lib/components/forms/form-field/component/form-hint.component.js.map +0 -1
- package/esm2022/lib/components/forms/form-field/component/form-label.component.js +0 -18
- package/esm2022/lib/components/forms/form-field/component/form-label.component.js.map +0 -1
- package/esm2022/lib/components/forms/form-field/directives/form-field-trigger.directive.js +0 -14
- package/esm2022/lib/components/forms/form-field/directives/form-field-trigger.directive.js.map +0 -1
- package/esm2022/lib/components/forms/form-field/directives/form-prefix.directive.js +0 -17
- package/esm2022/lib/components/forms/form-field/directives/form-prefix.directive.js.map +0 -1
- package/esm2022/lib/components/forms/form-field/directives/form-suffix.directive.js +0 -17
- package/esm2022/lib/components/forms/form-field/directives/form-suffix.directive.js.map +0 -1
- package/esm2022/lib/components/forms/form-field/index.js +0 -8
- package/esm2022/lib/components/forms/form-field/index.js.map +0 -1
- package/esm2022/lib/components/forms/form-field/model/form-control.contract.js +0 -3
- package/esm2022/lib/components/forms/form-field/model/form-control.contract.js.map +0 -1
- package/esm2022/lib/components/forms/form-field/model/form-field.types.js +0 -1
- package/esm2022/lib/components/forms/form-field/model/form-field.types.js.map +0 -1
- package/esm2022/lib/components/forms/input/directives/input.directive.js +0 -148
- package/esm2022/lib/components/forms/input/directives/input.directive.js.map +0 -1
- package/esm2022/lib/components/forms/input/index.js +0 -2
- package/esm2022/lib/components/forms/input/index.js.map +0 -1
- package/esm2022/lib/components/forms/input/model/input.defaults.js +0 -27
- package/esm2022/lib/components/forms/input/model/input.defaults.js.map +0 -1
- package/esm2022/lib/components/forms/input/model/input.types.js +0 -1
- package/esm2022/lib/components/forms/input/model/input.types.js.map +0 -1
- package/esm2022/lib/components/forms/multi-select/component/multi-select.component.js +0 -1102
- package/esm2022/lib/components/forms/multi-select/component/multi-select.component.js.map +0 -1
- package/esm2022/lib/components/forms/multi-select/model/multi-select.types.js +0 -1
- package/esm2022/lib/components/forms/multi-select/model/multi-select.types.js.map +0 -1
- package/esm2022/lib/components/forms/option/component/option.component.js +0 -149
- package/esm2022/lib/components/forms/option/component/option.component.js.map +0 -1
- package/esm2022/lib/components/forms/option/directives/option-slots.directive.js +0 -58
- package/esm2022/lib/components/forms/option/directives/option-slots.directive.js.map +0 -1
- package/esm2022/lib/components/forms/option/index.js +0 -3
- package/esm2022/lib/components/forms/option/index.js.map +0 -1
- package/esm2022/lib/components/forms/option/model/option.types.js +0 -1
- package/esm2022/lib/components/forms/option/model/option.types.js.map +0 -1
- package/esm2022/lib/components/forms/option-group/component/option-group.component.js +0 -103
- package/esm2022/lib/components/forms/option-group/component/option-group.component.js.map +0 -1
- package/esm2022/lib/components/forms/option-group/index.js +0 -2
- package/esm2022/lib/components/forms/option-group/index.js.map +0 -1
- package/esm2022/lib/components/forms/option-group/model/option-group.types.js +0 -1
- package/esm2022/lib/components/forms/option-group/model/option-group.types.js.map +0 -1
- package/esm2022/lib/components/forms/password-field/component/password-field.component.js +0 -299
- package/esm2022/lib/components/forms/password-field/component/password-field.component.js.map +0 -1
- package/esm2022/lib/components/forms/password-field/model/password-field-constants.js +0 -5
- package/esm2022/lib/components/forms/password-field/model/password-field-constants.js.map +0 -1
- package/esm2022/lib/components/forms/password-field/model/password-field.types.js +0 -1
- package/esm2022/lib/components/forms/password-field/model/password-field.types.js.map +0 -1
- package/esm2022/lib/components/forms/password-field/model/password-policy.types.js +0 -1
- package/esm2022/lib/components/forms/password-field/model/password-policy.types.js.map +0 -1
- package/esm2022/lib/components/forms/password-field/model/password-strength.js +0 -67
- package/esm2022/lib/components/forms/password-field/model/password-strength.js.map +0 -1
- package/esm2022/lib/components/forms/password-field/validators/password.validator.js +0 -45
- package/esm2022/lib/components/forms/password-field/validators/password.validator.js.map +0 -1
- package/esm2022/lib/components/forms/radio/component/radio.component.js +0 -219
- package/esm2022/lib/components/forms/radio/component/radio.component.js.map +0 -1
- package/esm2022/lib/components/forms/radio/model/radio.types.js +0 -1
- package/esm2022/lib/components/forms/radio/model/radio.types.js.map +0 -1
- package/esm2022/lib/components/forms/radio-group/component/radio-group.component.js +0 -348
- package/esm2022/lib/components/forms/radio-group/component/radio-group.component.js.map +0 -1
- package/esm2022/lib/components/forms/radio-group/model/radio-group.token.js +0 -3
- package/esm2022/lib/components/forms/radio-group/model/radio-group.token.js.map +0 -1
- package/esm2022/lib/components/forms/radio-group/model/radio-group.types.js +0 -1
- package/esm2022/lib/components/forms/radio-group/model/radio-group.types.js.map +0 -1
- package/esm2022/lib/components/forms/select/component/select.component.js +0 -815
- package/esm2022/lib/components/forms/select/component/select.component.js.map +0 -1
- package/esm2022/lib/components/forms/select/model/select.types.js +0 -1
- package/esm2022/lib/components/forms/select/model/select.types.js.map +0 -1
- package/esm2022/lib/components/forms/switch/component/switch.component.js +0 -211
- package/esm2022/lib/components/forms/switch/component/switch.component.js.map +0 -1
- package/esm2022/lib/components/forms/switch/index.js +0 -2
- package/esm2022/lib/components/forms/switch/index.js.map +0 -1
- package/esm2022/lib/components/forms/switch/model/switch.types.js +0 -1
- package/esm2022/lib/components/forms/switch/model/switch.types.js.map +0 -1
- package/esm2022/lib/components/forms/switch-group/component/switch-group.component.js +0 -369
- package/esm2022/lib/components/forms/switch-group/component/switch-group.component.js.map +0 -1
- package/esm2022/lib/components/forms/switch-group/model/switch-group.types.js +0 -1
- package/esm2022/lib/components/forms/switch-group/model/switch-group.types.js.map +0 -1
- package/esm2022/lib/components/forms/textarea/directives/textarea.directive.js +0 -137
- package/esm2022/lib/components/forms/textarea/directives/textarea.directive.js.map +0 -1
- package/esm2022/lib/components/forms/textarea/model/textarea.types.js +0 -1
- package/esm2022/lib/components/forms/textarea/model/textarea.types.js.map +0 -1
- package/esm2022/lib/components/icon/component/solaris-icon.component.js +0 -20
- package/esm2022/lib/components/icon/component/solaris-icon.component.js.map +0 -1
- package/esm2022/lib/components/icon/index.js +0 -2
- package/esm2022/lib/components/icon/index.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-group.component.js +0 -27
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-group.component.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-item.component.js +0 -96
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-item.component.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-label.component.js +0 -22
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-label.component.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu.component.js +0 -105
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu.component.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-submenu-trigger.component.js +0 -95
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-submenu-trigger.component.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-submenu.component.js +0 -631
- package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-submenu.component.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/directives/dropdown-menu-trigger.directive.js +0 -365
- package/esm2022/lib/components/interaction/dropdown-menu/directives/dropdown-menu-trigger.directive.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/index.js +0 -8
- package/esm2022/lib/components/interaction/dropdown-menu/index.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-menu-navigation.js +0 -3
- package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-menu-navigation.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-menu.types.js +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-menu.types.js.map +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-submenu.types.js +0 -1
- package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-submenu.types.js.map +0 -1
- package/esm2022/lib/components/interaction/popover/component/popover-panel.component.js +0 -29
- package/esm2022/lib/components/interaction/popover/component/popover-panel.component.js.map +0 -1
- package/esm2022/lib/components/interaction/popover/directives/popover-trigger.directive.js +0 -325
- package/esm2022/lib/components/interaction/popover/directives/popover-trigger.directive.js.map +0 -1
- package/esm2022/lib/components/interaction/popover/directives/popover.directive.js +0 -16
- package/esm2022/lib/components/interaction/popover/directives/popover.directive.js.map +0 -1
- package/esm2022/lib/components/interaction/popover/index.js +0 -4
- package/esm2022/lib/components/interaction/popover/index.js.map +0 -1
- package/esm2022/lib/components/interaction/popover/model/popover-position.js +0 -145
- package/esm2022/lib/components/interaction/popover/model/popover-position.js.map +0 -1
- package/esm2022/lib/components/interaction/popover/model/popover.types.js +0 -1
- package/esm2022/lib/components/interaction/popover/model/popover.types.js.map +0 -1
- package/esm2022/lib/components/interaction/popover/token/popover.tokens.js +0 -3
- package/esm2022/lib/components/interaction/popover/token/popover.tokens.js.map +0 -1
- package/esm2022/lib/components/interaction/tooltip/component/tooltip-panel.component.js +0 -23
- package/esm2022/lib/components/interaction/tooltip/component/tooltip-panel.component.js.map +0 -1
- package/esm2022/lib/components/interaction/tooltip/directive/tooltip.directive.js +0 -405
- package/esm2022/lib/components/interaction/tooltip/directive/tooltip.directive.js.map +0 -1
- package/esm2022/lib/components/interaction/tooltip/index.js +0 -3
- package/esm2022/lib/components/interaction/tooltip/index.js.map +0 -1
- package/esm2022/lib/components/interaction/tooltip/model/tooltip-position.js +0 -209
- package/esm2022/lib/components/interaction/tooltip/model/tooltip-position.js.map +0 -1
- package/esm2022/lib/components/interaction/tooltip/model/tooltip.types.js +0 -1
- package/esm2022/lib/components/interaction/tooltip/model/tooltip.types.js.map +0 -1
- package/esm2022/lib/components/interaction/tooltip/token/tooltip.tokens.js +0 -3
- package/esm2022/lib/components/interaction/tooltip/token/tooltip.tokens.js.map +0 -1
- package/esm2022/lib/components/navigation/editable-tabs/component/editable-tabs.component.js +0 -323
- package/esm2022/lib/components/navigation/editable-tabs/component/editable-tabs.component.js.map +0 -1
- package/esm2022/lib/components/navigation/editable-tabs/editable-tab/editable-tab.component.js +0 -34
- package/esm2022/lib/components/navigation/editable-tabs/editable-tab/editable-tab.component.js.map +0 -1
- package/esm2022/lib/components/navigation/editable-tabs/model/editable-tabs.types.js +0 -1
- package/esm2022/lib/components/navigation/editable-tabs/model/editable-tabs.types.js.map +0 -1
- package/esm2022/lib/components/navigation/segmented-control/component/segmented-control.component.js +0 -242
- package/esm2022/lib/components/navigation/segmented-control/component/segmented-control.component.js.map +0 -1
- package/esm2022/lib/components/navigation/segmented-control/item/segmented-item.component.js +0 -197
- package/esm2022/lib/components/navigation/segmented-control/item/segmented-item.component.js.map +0 -1
- package/esm2022/lib/components/navigation/segmented-control/model/segmented-control.types.js +0 -1
- package/esm2022/lib/components/navigation/segmented-control/model/segmented-control.types.js.map +0 -1
- package/esm2022/lib/components/navigation/segmented-control/token/segmented-control.tokens.js +0 -3
- package/esm2022/lib/components/navigation/segmented-control/token/segmented-control.tokens.js.map +0 -1
- package/esm2022/lib/components/navigation/stepper/actions/stepper-actions.component.js +0 -15
- package/esm2022/lib/components/navigation/stepper/actions/stepper-actions.component.js.map +0 -1
- package/esm2022/lib/components/navigation/stepper/component/stepper.component.js +0 -99
- package/esm2022/lib/components/navigation/stepper/component/stepper.component.js.map +0 -1
- package/esm2022/lib/components/navigation/stepper/content/stepper-content.component.js +0 -13
- package/esm2022/lib/components/navigation/stepper/content/stepper-content.component.js.map +0 -1
- package/esm2022/lib/components/navigation/stepper/model/stepper.types.js +0 -1
- package/esm2022/lib/components/navigation/stepper/model/stepper.types.js.map +0 -1
- package/esm2022/lib/components/navigation/stepper/step/step.component.js +0 -91
- package/esm2022/lib/components/navigation/stepper/step/step.component.js.map +0 -1
- package/esm2022/lib/components/navigation/stepper/token/stepper.tokens.js +0 -3
- package/esm2022/lib/components/navigation/stepper/token/stepper.tokens.js.map +0 -1
- package/esm2022/lib/components/navigation/tabs/component/tabs.component.js +0 -169
- package/esm2022/lib/components/navigation/tabs/component/tabs.component.js.map +0 -1
- package/esm2022/lib/components/navigation/tabs/index.js +0 -5
- package/esm2022/lib/components/navigation/tabs/index.js.map +0 -1
- package/esm2022/lib/components/navigation/tabs/model/tabs.types.js +0 -1
- package/esm2022/lib/components/navigation/tabs/model/tabs.types.js.map +0 -1
- package/esm2022/lib/components/navigation/tabs/tab/tab.component.js +0 -195
- package/esm2022/lib/components/navigation/tabs/tab/tab.component.js.map +0 -1
- package/esm2022/lib/components/navigation/tabs/tab-panel/tab-panel.component.js +0 -55
- package/esm2022/lib/components/navigation/tabs/tab-panel/tab-panel.component.js.map +0 -1
- package/esm2022/lib/components/navigation/tabs/token/tabs.tokens.js +0 -3
- package/esm2022/lib/components/navigation/tabs/token/tabs.tokens.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/component/dialog.component.js +0 -49
- package/esm2022/lib/components/overlay/dialog/component/dialog.component.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/components/dialog-actions.component.js +0 -37
- package/esm2022/lib/components/overlay/dialog/components/dialog-actions.component.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/components/dialog-content.component.js +0 -13
- package/esm2022/lib/components/overlay/dialog/components/dialog-content.component.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/components/dialog-header.component.js +0 -32
- package/esm2022/lib/components/overlay/dialog/components/dialog-header.component.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/container/dialog-container.component.js +0 -142
- package/esm2022/lib/components/overlay/dialog/container/dialog-container.component.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/flow/dialog-flow.component.js +0 -56
- package/esm2022/lib/components/overlay/dialog/flow/dialog-flow.component.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/flow/dialog-step.component.js +0 -20
- package/esm2022/lib/components/overlay/dialog/flow/dialog-step.component.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/model/dialog.types.js +0 -1
- package/esm2022/lib/components/overlay/dialog/model/dialog.types.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/provider/provide-solaris-dialog.js +0 -13
- package/esm2022/lib/components/overlay/dialog/provider/provide-solaris-dialog.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/service/dialog-ref.js +0 -23
- package/esm2022/lib/components/overlay/dialog/service/dialog-ref.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/service/dialog.service.js +0 -111
- package/esm2022/lib/components/overlay/dialog/service/dialog.service.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/token/dialog-data.token.js +0 -4
- package/esm2022/lib/components/overlay/dialog/token/dialog-data.token.js.map +0 -1
- package/esm2022/lib/components/overlay/dialog/token/dialog.tokens.js +0 -15
- package/esm2022/lib/components/overlay/dialog/token/dialog.tokens.js.map +0 -1
- package/esm2022/lib/services/accessibility/directives/visually-hidden.directive.js +0 -25
- package/esm2022/lib/services/accessibility/directives/visually-hidden.directive.js.map +0 -1
- package/esm2022/lib/services/accessibility/model/solaris-accessibility-config.interface.js +0 -1
- package/esm2022/lib/services/accessibility/model/solaris-accessibility-config.interface.js.map +0 -1
- package/esm2022/lib/services/accessibility/model/solaris-accessibility.types.js +0 -1
- package/esm2022/lib/services/accessibility/model/solaris-accessibility.types.js.map +0 -1
- package/esm2022/lib/services/accessibility/provider/provide-solaris-accessibility.js +0 -10
- package/esm2022/lib/services/accessibility/provider/provide-solaris-accessibility.js.map +0 -1
- package/esm2022/lib/services/accessibility/service/solaris-accessibility.service.js +0 -60
- package/esm2022/lib/services/accessibility/service/solaris-accessibility.service.js.map +0 -1
- package/esm2022/lib/services/accessibility/testing/solaris-accessibility-testing.provider.js +0 -10
- package/esm2022/lib/services/accessibility/testing/solaris-accessibility-testing.provider.js.map +0 -1
- package/esm2022/lib/services/accessibility/token/solaris-accessibility.tokens.js +0 -3
- package/esm2022/lib/services/accessibility/token/solaris-accessibility.tokens.js.map +0 -1
- package/esm2022/lib/services/icon/icons/groups/actions.js +0 -242
- package/esm2022/lib/services/icon/icons/groups/actions.js.map +0 -1
- package/esm2022/lib/services/icon/icons/groups/data.js +0 -129
- package/esm2022/lib/services/icon/icons/groups/data.js.map +0 -1
- package/esm2022/lib/services/icon/icons/groups/layout.js +0 -50
- package/esm2022/lib/services/icon/icons/groups/layout.js.map +0 -1
- package/esm2022/lib/services/icon/icons/groups/navigation.js +0 -354
- package/esm2022/lib/services/icon/icons/groups/navigation.js.map +0 -1
- package/esm2022/lib/services/icon/icons/groups/status.js +0 -70
- package/esm2022/lib/services/icon/icons/groups/status.js.map +0 -1
- package/esm2022/lib/services/icon/icons/groups/theme.js +0 -49
- package/esm2022/lib/services/icon/icons/groups/theme.js.map +0 -1
- package/esm2022/lib/services/icon/icons/index.js +0 -2
- package/esm2022/lib/services/icon/icons/index.js.map +0 -1
- package/esm2022/lib/services/icon/icons/solaris-built-in-icons.js +0 -15
- package/esm2022/lib/services/icon/icons/solaris-built-in-icons.js.map +0 -1
- package/esm2022/lib/services/icon/index.js +0 -5
- package/esm2022/lib/services/icon/index.js.map +0 -1
- package/esm2022/lib/services/icon/model/solaris-icon-definition.interface.js +0 -1
- package/esm2022/lib/services/icon/model/solaris-icon-definition.interface.js.map +0 -1
- package/esm2022/lib/services/icon/model/solaris-icon.types.js +0 -1
- package/esm2022/lib/services/icon/model/solaris-icon.types.js.map +0 -1
- package/esm2022/lib/services/icon/provider/provide-solaris-icons.js +0 -10
- package/esm2022/lib/services/icon/provider/provide-solaris-icons.js.map +0 -1
- package/esm2022/lib/services/icon/service/solaris-icon-registry.service.js +0 -43
- package/esm2022/lib/services/icon/service/solaris-icon-registry.service.js.map +0 -1
- package/esm2022/lib/services/icon/token/solaris-icon.tokens.js +0 -3
- package/esm2022/lib/services/icon/token/solaris-icon.tokens.js.map +0 -1
- package/esm2022/lib/services/theme/model/solaris-theme-config.interface.js +0 -1
- package/esm2022/lib/services/theme/model/solaris-theme-config.interface.js.map +0 -1
- package/esm2022/lib/services/theme/model/solaris-theme.types.js +0 -1
- package/esm2022/lib/services/theme/model/solaris-theme.types.js.map +0 -1
- package/esm2022/lib/services/theme/provider/provide-solaris-theme.js +0 -10
- package/esm2022/lib/services/theme/provider/provide-solaris-theme.js.map +0 -1
- package/esm2022/lib/services/theme/service/solaris-theme.service.js +0 -22
- package/esm2022/lib/services/theme/service/solaris-theme.service.js.map +0 -1
- package/esm2022/lib/services/theme/testing/solaris-theme-testing.provider.js +0 -10
- package/esm2022/lib/services/theme/testing/solaris-theme-testing.provider.js.map +0 -1
- package/esm2022/lib/services/theme/token/solaris-theme.tokens.js +0 -3
- package/esm2022/lib/services/theme/token/solaris-theme.tokens.js.map +0 -1
- package/esm2022/lib/services/translation/index.js +0 -6
- package/esm2022/lib/services/translation/index.js.map +0 -1
- package/esm2022/lib/services/translation/model/solaris-locale.types.js +0 -1
- package/esm2022/lib/services/translation/model/solaris-locale.types.js.map +0 -1
- package/esm2022/lib/services/translation/model/solaris-translate-config.interface.js +0 -1
- package/esm2022/lib/services/translation/model/solaris-translate-config.interface.js.map +0 -1
- package/esm2022/lib/services/translation/model/solaris-translate-defaults.js +0 -96
- package/esm2022/lib/services/translation/model/solaris-translate-defaults.js.map +0 -1
- package/esm2022/lib/services/translation/model/solaris-translation.types.js +0 -1
- package/esm2022/lib/services/translation/model/solaris-translation.types.js.map +0 -1
- package/esm2022/lib/services/translation/pipe/solaris-translate.pipe.js +0 -20
- package/esm2022/lib/services/translation/pipe/solaris-translate.pipe.js.map +0 -1
- package/esm2022/lib/services/translation/provider/provide-solaris-translate.js +0 -10
- package/esm2022/lib/services/translation/provider/provide-solaris-translate.js.map +0 -1
- package/esm2022/lib/services/translation/service/solaris-translate.service.js +0 -87
- package/esm2022/lib/services/translation/service/solaris-translate.service.js.map +0 -1
- package/esm2022/lib/services/translation/testing/solaris-translate-testing.provider.js +0 -32
- package/esm2022/lib/services/translation/testing/solaris-translate-testing.provider.js.map +0 -1
- package/esm2022/lib/services/translation/token/solaris-translate.tokens.js +0 -3
- package/esm2022/lib/services/translation/token/solaris-translate.tokens.js.map +0 -1
- package/esm2022/lib/testing/provide-solaris-testing.js +0 -11
- package/esm2022/lib/testing/provide-solaris-testing.js.map +0 -1
- package/esm2022/lib/testing/solaris-test-utilities.js +0 -12
- package/esm2022/lib/testing/solaris-test-utilities.js.map +0 -1
- package/index.d.ts +0 -197
- package/lib/components/actions/button/directives/button-icon.directive.d.ts +0 -5
- package/lib/components/actions/button/directives/button.directive.d.ts +0 -22
- package/lib/components/actions/button/index.d.ts +0 -3
- package/lib/components/actions/button/model/button.types.d.ts +0 -5
- package/lib/components/actions/button-group/component/button-group.component.d.ts +0 -10
- package/lib/components/actions/button-group/model/button-group.types.d.ts +0 -2
- package/lib/components/actions/icon-button/directives/icon-button-badge.directive.d.ts +0 -5
- package/lib/components/actions/icon-button/directives/icon-button.directive.d.ts +0 -21
- package/lib/components/actions/icon-button/model/icon-button.types.d.ts +0 -5
- package/lib/components/data-display/badge/component/badge.component.d.ts +0 -12
- package/lib/components/data-display/badge/directives/badge-icon.directive.d.ts +0 -5
- package/lib/components/data-display/badge/index.d.ts +0 -3
- package/lib/components/data-display/badge/model/badge.types.d.ts +0 -6
- package/lib/components/data-display/card/component/card.component.d.ts +0 -10
- package/lib/components/data-display/card/directives/card-actions.directive.d.ts +0 -5
- package/lib/components/data-display/card/directives/card-content.directive.d.ts +0 -5
- package/lib/components/data-display/card/directives/card-description.directive.d.ts +0 -5
- package/lib/components/data-display/card/directives/card-footer.directive.d.ts +0 -6
- package/lib/components/data-display/card/directives/card-header.directive.d.ts +0 -5
- package/lib/components/data-display/card/directives/card-media.directive.d.ts +0 -5
- package/lib/components/data-display/card/directives/card-title.directive.d.ts +0 -5
- package/lib/components/data-display/card/model/card.types.d.ts +0 -4
- package/lib/components/data-display/divider/component/divider.component.d.ts +0 -17
- package/lib/components/data-display/divider/index.d.ts +0 -2
- package/lib/components/data-display/divider/model/divider.types.d.ts +0 -5
- package/lib/components/feedback/alert/component/alert-actions.component.d.ts +0 -5
- package/lib/components/feedback/alert/component/alert.component.d.ts +0 -26
- package/lib/components/feedback/alert/directives/alert-description.directive.d.ts +0 -5
- package/lib/components/feedback/alert/directives/alert-title.directive.d.ts +0 -5
- package/lib/components/feedback/alert/model/alert.types.d.ts +0 -5
- package/lib/components/feedback/skeleton/component/skeleton.component.d.ts +0 -17
- package/lib/components/feedback/skeleton/model/skeleton.types.d.ts +0 -5
- package/lib/components/feedback/toast/component/toast.component.d.ts +0 -62
- package/lib/components/feedback/toast/container/toast-container.component.d.ts +0 -10
- package/lib/components/feedback/toast/model/toast.types.d.ts +0 -106
- package/lib/components/feedback/toast/provider/provide-solaris-toast.d.ts +0 -3
- package/lib/components/feedback/toast/service/toast.service.d.ts +0 -36
- package/lib/components/feedback/toast/token/toast.tokens.d.ts +0 -5
- package/lib/components/forms/checkbox/component/checkbox.component.d.ts +0 -70
- package/lib/components/forms/checkbox/model/checkbox.types.d.ts +0 -5
- package/lib/components/forms/checkbox-group/component/checkbox-group.component.d.ts +0 -123
- package/lib/components/forms/checkbox-group/model/checkbox-group.types.d.ts +0 -5
- package/lib/components/forms/email-field/component/email-field.component.d.ts +0 -67
- package/lib/components/forms/email-field/model/email-field.types.d.ts +0 -6
- package/lib/components/forms/email-field/validators/email-field.validators.d.ts +0 -8
- package/lib/components/forms/form-field/component/form-error.component.d.ts +0 -5
- package/lib/components/forms/form-field/component/form-field.component.d.ts +0 -96
- package/lib/components/forms/form-field/component/form-hint.component.d.ts +0 -5
- package/lib/components/forms/form-field/component/form-label.component.d.ts +0 -5
- package/lib/components/forms/form-field/directives/form-field-trigger.directive.d.ts +0 -5
- package/lib/components/forms/form-field/directives/form-prefix.directive.d.ts +0 -5
- package/lib/components/forms/form-field/directives/form-suffix.directive.d.ts +0 -5
- package/lib/components/forms/form-field/index.d.ts +0 -8
- package/lib/components/forms/form-field/model/form-control.contract.d.ts +0 -11
- package/lib/components/forms/form-field/model/form-field.types.d.ts +0 -5
- package/lib/components/forms/input/directives/input.directive.d.ts +0 -37
- package/lib/components/forms/input/index.d.ts +0 -2
- package/lib/components/forms/input/model/input.defaults.d.ts +0 -2
- package/lib/components/forms/input/model/input.types.d.ts +0 -4
- package/lib/components/forms/multi-select/component/multi-select.component.d.ts +0 -199
- package/lib/components/forms/multi-select/model/multi-select.types.d.ts +0 -5
- package/lib/components/forms/option/component/option.component.d.ts +0 -58
- package/lib/components/forms/option/directives/option-slots.directive.d.ts +0 -21
- package/lib/components/forms/option/index.d.ts +0 -3
- package/lib/components/forms/option/model/option.types.d.ts +0 -3
- package/lib/components/forms/option-group/component/option-group.component.d.ts +0 -32
- package/lib/components/forms/option-group/index.d.ts +0 -2
- package/lib/components/forms/option-group/model/option-group.types.d.ts +0 -2
- package/lib/components/forms/password-field/component/password-field.component.d.ts +0 -81
- package/lib/components/forms/password-field/model/password-field-constants.d.ts +0 -4
- package/lib/components/forms/password-field/model/password-field.types.d.ts +0 -6
- package/lib/components/forms/password-field/model/password-policy.types.d.ts +0 -10
- package/lib/components/forms/password-field/model/password-strength.d.ts +0 -2
- package/lib/components/forms/password-field/validators/password.validator.d.ts +0 -3
- package/lib/components/forms/radio/component/radio.component.d.ts +0 -68
- package/lib/components/forms/radio/model/radio.types.d.ts +0 -4
- package/lib/components/forms/radio-group/component/radio-group.component.d.ts +0 -86
- package/lib/components/forms/radio-group/model/radio-group.token.d.ts +0 -2
- package/lib/components/forms/radio-group/model/radio-group.types.d.ts +0 -5
- package/lib/components/forms/select/component/select.component.d.ts +0 -158
- package/lib/components/forms/select/model/select.types.d.ts +0 -4
- package/lib/components/forms/switch/component/switch.component.d.ts +0 -66
- package/lib/components/forms/switch/index.d.ts +0 -2
- package/lib/components/forms/switch/model/switch.types.d.ts +0 -4
- package/lib/components/forms/switch-group/component/switch-group.component.d.ts +0 -91
- package/lib/components/forms/switch-group/model/switch-group.types.d.ts +0 -5
- package/lib/components/forms/textarea/directives/textarea.directive.d.ts +0 -37
- package/lib/components/forms/textarea/model/textarea.types.d.ts +0 -5
- package/lib/components/icon/component/solaris-icon.component.d.ts +0 -13
- package/lib/components/icon/index.d.ts +0 -1
- package/lib/components/interaction/dropdown-menu/component/dropdown-menu-group.component.d.ts +0 -10
- package/lib/components/interaction/dropdown-menu/component/dropdown-menu-item.component.d.ts +0 -28
- package/lib/components/interaction/dropdown-menu/component/dropdown-menu-label.component.d.ts +0 -7
- package/lib/components/interaction/dropdown-menu/component/dropdown-menu.component.d.ts +0 -21
- package/lib/components/interaction/dropdown-menu/component/dropdown-submenu-trigger.component.d.ts +0 -21
- package/lib/components/interaction/dropdown-menu/component/dropdown-submenu.component.d.ts +0 -68
- package/lib/components/interaction/dropdown-menu/directives/dropdown-menu-trigger.directive.d.ts +0 -61
- package/lib/components/interaction/dropdown-menu/index.d.ts +0 -9
- package/lib/components/interaction/dropdown-menu/model/dropdown-menu-navigation.d.ts +0 -8
- package/lib/components/interaction/dropdown-menu/model/dropdown-menu.types.d.ts +0 -11
- package/lib/components/interaction/dropdown-menu/model/dropdown-submenu.types.d.ts +0 -2
- package/lib/components/interaction/popover/component/popover-panel.component.d.ts +0 -10
- package/lib/components/interaction/popover/directives/popover-trigger.directive.d.ts +0 -65
- package/lib/components/interaction/popover/directives/popover.directive.d.ts +0 -7
- package/lib/components/interaction/popover/index.d.ts +0 -4
- package/lib/components/interaction/popover/model/popover-position.d.ts +0 -4
- package/lib/components/interaction/popover/model/popover.types.d.ts +0 -7
- package/lib/components/interaction/popover/token/popover.tokens.d.ts +0 -12
- package/lib/components/interaction/tooltip/component/tooltip-panel.component.d.ts +0 -9
- package/lib/components/interaction/tooltip/directive/tooltip.directive.d.ts +0 -80
- package/lib/components/interaction/tooltip/index.d.ts +0 -3
- package/lib/components/interaction/tooltip/model/tooltip-position.d.ts +0 -5
- package/lib/components/interaction/tooltip/model/tooltip.types.d.ts +0 -22
- package/lib/components/interaction/tooltip/token/tooltip.tokens.d.ts +0 -21
- package/lib/components/navigation/editable-tabs/component/editable-tabs.component.d.ts +0 -69
- package/lib/components/navigation/editable-tabs/editable-tab/editable-tab.component.d.ts +0 -20
- package/lib/components/navigation/editable-tabs/model/editable-tabs.types.d.ts +0 -60
- package/lib/components/navigation/segmented-control/component/segmented-control.component.d.ts +0 -64
- package/lib/components/navigation/segmented-control/item/segmented-item.component.d.ts +0 -35
- package/lib/components/navigation/segmented-control/model/segmented-control.types.d.ts +0 -12
- package/lib/components/navigation/segmented-control/token/segmented-control.tokens.d.ts +0 -22
- package/lib/components/navigation/stepper/actions/stepper-actions.component.d.ts +0 -7
- package/lib/components/navigation/stepper/component/stepper.component.d.ts +0 -36
- package/lib/components/navigation/stepper/content/stepper-content.component.d.ts +0 -5
- package/lib/components/navigation/stepper/model/stepper.types.d.ts +0 -15
- package/lib/components/navigation/stepper/step/step.component.d.ts +0 -27
- package/lib/components/navigation/stepper/token/stepper.tokens.d.ts +0 -13
- package/lib/components/navigation/tabs/component/tabs.component.d.ts +0 -47
- package/lib/components/navigation/tabs/index.d.ts +0 -6
- package/lib/components/navigation/tabs/model/tabs.types.d.ts +0 -17
- package/lib/components/navigation/tabs/tab/tab.component.d.ts +0 -38
- package/lib/components/navigation/tabs/tab-panel/tab-panel.component.d.ts +0 -15
- package/lib/components/navigation/tabs/token/tabs.tokens.d.ts +0 -19
- package/lib/components/overlay/dialog/component/dialog.component.d.ts +0 -29
- package/lib/components/overlay/dialog/components/dialog-actions.component.d.ts +0 -12
- package/lib/components/overlay/dialog/components/dialog-content.component.d.ts +0 -5
- package/lib/components/overlay/dialog/components/dialog-header.component.d.ts +0 -19
- package/lib/components/overlay/dialog/container/dialog-container.component.d.ts +0 -32
- package/lib/components/overlay/dialog/flow/dialog-flow.component.d.ts +0 -19
- package/lib/components/overlay/dialog/flow/dialog-step.component.d.ts +0 -7
- package/lib/components/overlay/dialog/model/dialog.types.d.ts +0 -87
- package/lib/components/overlay/dialog/provider/provide-solaris-dialog.d.ts +0 -3
- package/lib/components/overlay/dialog/service/dialog-ref.d.ts +0 -11
- package/lib/components/overlay/dialog/service/dialog.service.d.ts +0 -20
- package/lib/components/overlay/dialog/token/dialog-data.token.d.ts +0 -4
- package/lib/components/overlay/dialog/token/dialog.tokens.d.ts +0 -4
- package/lib/services/accessibility/directives/visually-hidden.directive.d.ts +0 -5
- package/lib/services/accessibility/model/solaris-accessibility-config.interface.d.ts +0 -4
- package/lib/services/accessibility/model/solaris-accessibility.types.d.ts +0 -5
- package/lib/services/accessibility/provider/provide-solaris-accessibility.d.ts +0 -3
- package/lib/services/accessibility/service/solaris-accessibility.service.d.ts +0 -15
- package/lib/services/accessibility/testing/solaris-accessibility-testing.provider.d.ts +0 -3
- package/lib/services/accessibility/token/solaris-accessibility.tokens.d.ts +0 -3
- package/lib/services/icon/icons/groups/actions.d.ts +0 -2
- package/lib/services/icon/icons/groups/data.d.ts +0 -2
- package/lib/services/icon/icons/groups/layout.d.ts +0 -2
- package/lib/services/icon/icons/groups/navigation.d.ts +0 -2
- package/lib/services/icon/icons/groups/status.d.ts +0 -2
- package/lib/services/icon/icons/groups/theme.d.ts +0 -2
- package/lib/services/icon/icons/index.d.ts +0 -1
- package/lib/services/icon/icons/solaris-built-in-icons.d.ts +0 -2
- package/lib/services/icon/index.d.ts +0 -8
- package/lib/services/icon/model/solaris-icon-definition.interface.d.ts +0 -45
- package/lib/services/icon/model/solaris-icon.types.d.ts +0 -4
- package/lib/services/icon/provider/provide-solaris-icons.d.ts +0 -3
- package/lib/services/icon/service/solaris-icon-registry.service.d.ts +0 -12
- package/lib/services/icon/token/solaris-icon.tokens.d.ts +0 -6
- package/lib/services/theme/model/solaris-theme-config.interface.d.ts +0 -5
- package/lib/services/theme/model/solaris-theme.types.d.ts +0 -3
- package/lib/services/theme/provider/provide-solaris-theme.d.ts +0 -3
- package/lib/services/theme/service/solaris-theme.service.d.ts +0 -9
- package/lib/services/theme/testing/solaris-theme-testing.provider.d.ts +0 -3
- package/lib/services/theme/token/solaris-theme.tokens.d.ts +0 -3
- package/lib/services/translation/index.d.ts +0 -8
- package/lib/services/translation/model/solaris-locale.types.d.ts +0 -4
- package/lib/services/translation/model/solaris-translate-config.interface.d.ts +0 -8
- package/lib/services/translation/model/solaris-translate-defaults.d.ts +0 -2
- package/lib/services/translation/model/solaris-translation.types.d.ts +0 -3
- package/lib/services/translation/pipe/solaris-translate.pipe.d.ts +0 -8
- package/lib/services/translation/provider/provide-solaris-translate.d.ts +0 -3
- package/lib/services/translation/service/solaris-translate.service.d.ts +0 -15
- package/lib/services/translation/testing/solaris-translate-testing.provider.d.ts +0 -3
- package/lib/services/translation/token/solaris-translate.tokens.d.ts +0 -3
- package/lib/testing/provide-solaris-testing.d.ts +0 -10
- package/lib/testing/solaris-test-utilities.d.ts +0 -3
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-flow.component.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/overlay/dialog/flow/dialog-flow.component.ts","../../../../../../../../../packages/angular/src/lib/components/overlay/dialog/flow/dialog-flow.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,KAAK,EACL,eAAe,EAGf,MAAM,EACN,MAAM,EACN,uBAAuB,GACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;;AAerE,MAAM,OAAO,0BAA0B;IAC5B,WAAW,GAAG,KAAK,CAAS,CAAC,kFAAC,CAAC;IAC/B,UAAU,GAAG,KAAK,CAA4B,OAAO,iFAAC,CAAC;IAGhE,KAAK,CAAyC;IAE3B,aAAa,GAAG,MAAM,CAKvC,EAAE,oFAAC,CAAC;IAEa,kBAAkB,GAAG,MAAM,CAC5C,IAAI,yFACL,CAAC;IAEM,aAAa,GAAG,CAAC,CAAC;IAClB,YAAY,GAAG,KAAK,CAAC;IAE7B;QACE,MAAM,CAAC,GAAG,EAAE;YACV,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;YACnC,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;gBACtB,IAAI,OAAO,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;oBACjC,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;gBACzC,CAAC;qBAAM,IAAI,OAAO,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;oBACxC,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;gBAC1C,CAAC;YACH,CAAC;YACD,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC;YAC7B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QAC3B,CAAC,CAAC,CAAC;IACL,CAAC;IAED,kBAAkB;QAChB,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,aAAa,CAAC,GAAG,CACpB,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;gBAClC,QAAQ,EAAE,CAAC,CAAC,WAAW;gBACvB,KAAK,EAAE,CAAC;aACT,CAAC,CAAC,CACJ,CAAC;YAEF,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE;gBAChC,IAAI,CAAC,aAAa,CAAC,GAAG,CACpB,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;oBAC3C,QAAQ,EAAE,CAAC,CAAC,WAAW;oBACvB,KAAK,EAAE,CAAC;iBACT,CAAC,CAAC,CACJ,CAAC;YACJ,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;wGAtDU,0BAA0B;4FAA1B,0BAA0B,ykBAIpB,0BAA0B,6BChC7C,ylBAiBA,4sGDCY,gBAAgB;;4FAUf,0BAA0B;kBAbtC,SAAS;+BACE,qBAAqB,cACnB,IAAI,WACP,CAAC,gBAAgB,CAAC,mBAGV,uBAAuB,CAAC,MAAM,QACzC;wBACJ,KAAK,EAAE,qBAAqB;wBAC5B,wBAAwB,EAAE,cAAc;wBACxC,uBAAuB,EAAE,sBAAsB;qBAChD;;sBAMA,eAAe;uBAAC,0BAA0B","sourcesContent":["import {\n Component,\n input,\n model,\n ContentChildren,\n QueryList,\n AfterContentInit,\n effect,\n signal,\n ChangeDetectionStrategy,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\n\nimport { SolarisDialogStepComponent } from './dialog-step.component';\n\n@Component({\n selector: 'solaris-dialog-flow',\n standalone: true,\n imports: [NgTemplateOutlet],\n templateUrl: './dialog-flow.component.html',\n styleUrls: ['./dialog-flow.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'solaris-dialog-flow',\n '[attr.data-transition]': 'transition()',\n '[attr.data-direction]': 'animationDirection()',\n },\n})\nexport class SolarisDialogFlowComponent implements AfterContentInit {\n readonly activeIndex = model<number>(0);\n readonly transition = input<'slide' | 'fade' | 'none'>('slide');\n\n @ContentChildren(SolarisDialogStepComponent)\n steps?: QueryList<SolarisDialogStepComponent>;\n\n protected readonly stepTemplates = signal<\n {\n template: import('@angular/core').TemplateRef<unknown>;\n index: number;\n }[]\n >([]);\n\n protected readonly animationDirection = signal<'forward' | 'backward' | null>(\n null,\n );\n\n private previousIndex = 0;\n private hasNavigated = false;\n\n constructor() {\n effect(() => {\n const current = this.activeIndex();\n if (this.hasNavigated) {\n if (current > this.previousIndex) {\n this.animationDirection.set('forward');\n } else if (current < this.previousIndex) {\n this.animationDirection.set('backward');\n }\n }\n this.previousIndex = current;\n this.hasNavigated = true;\n });\n }\n\n ngAfterContentInit(): void {\n if (this.steps) {\n this.stepTemplates.set(\n this.steps.toArray().map((s, i) => ({\n template: s.templateRef,\n index: i,\n })),\n );\n\n this.steps.changes.subscribe(() => {\n this.stepTemplates.set(\n (this.steps?.toArray() ?? []).map((s, i) => ({\n template: s.templateRef,\n index: i,\n })),\n );\n });\n }\n }\n}\n","<div class=\"solaris-dialog-flow__stage\">\n <div class=\"solaris-dialog-flow__steps\">\n @for (step of stepTemplates(); track step.index) {\n <div\n class=\"solaris-dialog-flow__step\"\n [class.solaris-dialog-flow__step--active]=\"step.index === activeIndex()\"\n [class.solaris-dialog-flow__step--exit]=\"step.index !== activeIndex()\"\n >\n <ng-container [ngTemplateOutlet]=\"step.template\" />\n </div>\n }\n </div>\n\n <div class=\"solaris-dialog-flow__footer\">\n <ng-content select=\"[solaris-dialog-flow-footer]\" />\n </div>\n</div>\n"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Component, TemplateRef, ViewChild, ChangeDetectionStrategy, } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class SolarisDialogStepComponent {
|
|
4
|
-
templateRef;
|
|
5
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisDialogStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: SolarisDialogStepComponent, isStandalone: true, selector: "solaris-dialog-step", viewQueries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: '<ng-template><ng-content /></ng-template>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7
|
-
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisDialogStepComponent, decorators: [{
|
|
9
|
-
type: Component,
|
|
10
|
-
args: [{
|
|
11
|
-
selector: 'solaris-dialog-step',
|
|
12
|
-
standalone: true,
|
|
13
|
-
template: '<ng-template><ng-content /></ng-template>',
|
|
14
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
15
|
-
}]
|
|
16
|
-
}], propDecorators: { templateRef: [{
|
|
17
|
-
type: ViewChild,
|
|
18
|
-
args: [TemplateRef, { static: true }]
|
|
19
|
-
}] } });
|
|
20
|
-
//# sourceMappingURL=dialog-step.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-step.component.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/overlay/dialog/flow/dialog-step.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,SAAS,EACT,uBAAuB,GACxB,MAAM,eAAe,CAAC;;AAQvB,MAAM,OAAO,0BAA0B;IAErC,WAAW,CAAwB;wGAFxB,0BAA0B;4FAA1B,0BAA0B,4HAC1B,WAAW,8DAJZ,2CAA2C;;4FAG1C,0BAA0B;kBANtC,SAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,UAAU,EAAE,IAAI;oBAChB,QAAQ,EAAE,2CAA2C;oBACrD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;sBAEE,SAAS;uBAAC,WAAW,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE","sourcesContent":["import {\n Component,\n TemplateRef,\n ViewChild,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n@Component({\n selector: 'solaris-dialog-step',\n standalone: true,\n template: '<ng-template><ng-content /></ng-template>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SolarisDialogStepComponent {\n @ViewChild(TemplateRef, { static: true })\n templateRef!: TemplateRef<unknown>;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=dialog.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.types.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/overlay/dialog/model/dialog.types.ts"],"names":[],"mappings":"","sourcesContent":["export type SolarisDialogAppearance = 'surface' | 'outline';\n\nexport type SolarisDialogVariant =\n | 'neutral'\n | 'info'\n | 'success'\n | 'warning'\n | 'danger';\n\nexport type SolarisDialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'fullscreen';\n\nexport type SolarisDialogActionsAlign =\n | 'start'\n | 'center'\n | 'end'\n | 'space-between';\n\nexport type SolarisDialogActionsStack = 'auto' | 'horizontal' | 'vertical';\n\nexport type SolarisDialogAutoFocus = 'first-tabbable' | 'panel' | false;\n\nexport type SolarisDialogRole = 'dialog' | 'alertdialog';\n\nexport type SolarisDialogButtonAppearance =\n | 'solid'\n | 'outline'\n | 'ghost'\n | 'tonal'\n | 'surface';\n\nexport type SolarisDialogButtonColor =\n | 'neutral'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'info'\n | 'custom';\n\nexport interface SolarisDialogAction<TResult = unknown> {\n label: string;\n labelKey?: string;\n appearance?: SolarisDialogButtonAppearance;\n color?: SolarisDialogButtonColor;\n disabled?: boolean;\n close?: boolean;\n result?: TResult;\n action?: (\n dialogRef: SolarisDialogRefInterface<TResult>,\n ) => void | Promise<void>;\n autoFocus?: boolean;\n}\n\nexport interface SolarisDialogOptions<TResult = unknown> {\n title?: string;\n titleKey?: string;\n description?: string;\n descriptionKey?: string;\n icon?: string;\n iconDecorative?: boolean;\n variant?: SolarisDialogVariant;\n appearance?: SolarisDialogAppearance;\n size?: SolarisDialogSize;\n width?: string;\n height?: string;\n minWidth?: string;\n maxWidth?: string;\n minHeight?: string;\n maxHeight?: string;\n closeable?: boolean;\n closeLabel?: string;\n closeLabelKey?: string;\n closeOnEscape?: boolean;\n closeOnBackdropClick?: boolean;\n autoFocus?: SolarisDialogAutoFocus;\n restoreFocus?: boolean;\n role?: SolarisDialogRole;\n ariaLabel?: string;\n ariaLabelKey?: string;\n ariaLabelledBy?: string;\n ariaDescribedBy?: string;\n actions?: SolarisDialogAction<TResult>[];\n actionsAlign?: SolarisDialogActionsAlign;\n actionsStack?: SolarisDialogActionsStack;\n data?: unknown;\n}\n\nexport interface SolarisDialogComponentConfig<TData = unknown> {\n width?: string;\n height?: string;\n minWidth?: string;\n maxWidth?: string;\n minHeight?: string;\n maxHeight?: string;\n data?: TData;\n closeable?: boolean;\n closeOnEscape?: boolean;\n closeOnBackdropClick?: boolean;\n autoFocus?: SolarisDialogAutoFocus;\n restoreFocus?: boolean;\n role?: SolarisDialogRole;\n appearance?: SolarisDialogAppearance;\n size?: SolarisDialogSize;\n}\n\nexport interface SolarisDialogConfig {\n appearance?: SolarisDialogAppearance;\n size?: SolarisDialogSize;\n closeable?: boolean;\n closeOnEscape?: boolean;\n closeOnBackdropClick?: boolean;\n autoFocus?: SolarisDialogAutoFocus;\n restoreFocus?: boolean;\n role?: SolarisDialogRole;\n actionsAlign?: SolarisDialogActionsAlign;\n actionsStack?: SolarisDialogActionsStack;\n}\n\nexport interface SolarisDialogRefInterface<TResult = unknown> {\n id: string;\n close(result?: TResult): void;\n afterClosed(): import('rxjs').Observable<TResult | undefined>;\n}\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SOLARIS_DIALOG_CONFIG, SOLARIS_DIALOG_DEFAULT_CONFIG, } from '../token/dialog.tokens';
|
|
2
|
-
import { SolarisDialogService } from '../service/dialog.service';
|
|
3
|
-
export function provideSolarisDialog(config) {
|
|
4
|
-
const merged = {
|
|
5
|
-
...SOLARIS_DIALOG_DEFAULT_CONFIG,
|
|
6
|
-
...config,
|
|
7
|
-
};
|
|
8
|
-
return [
|
|
9
|
-
SolarisDialogService,
|
|
10
|
-
{ provide: SOLARIS_DIALOG_CONFIG, useValue: merged },
|
|
11
|
-
];
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=provide-solaris-dialog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provide-solaris-dialog.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/overlay/dialog/provider/provide-solaris-dialog.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,qBAAqB,EACrB,6BAA6B,GAC9B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,MAAM,UAAU,oBAAoB,CAClC,MAAqC;IAErC,MAAM,MAAM,GAAwB;QAClC,GAAG,6BAA6B;QAChC,GAAG,MAAM;KACV,CAAC;IAEF,OAAO;QACL,oBAAoB;QACpB,EAAE,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,EAAE;KACrD,CAAC;AACJ,CAAC","sourcesContent":["import type { Provider } from '@angular/core';\n\nimport {\n SOLARIS_DIALOG_CONFIG,\n SOLARIS_DIALOG_DEFAULT_CONFIG,\n} from '../token/dialog.tokens';\nimport { SolarisDialogService } from '../service/dialog.service';\nimport type { SolarisDialogConfig } from '../model/dialog.types';\n\nexport function provideSolarisDialog(\n config?: Partial<SolarisDialogConfig>,\n): Provider[] {\n const merged: SolarisDialogConfig = {\n ...SOLARIS_DIALOG_DEFAULT_CONFIG,\n ...config,\n };\n\n return [\n SolarisDialogService,\n { provide: SOLARIS_DIALOG_CONFIG, useValue: merged },\n ];\n}\n"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
export class SolarisDialogRef {
|
|
3
|
-
id;
|
|
4
|
-
afterClosedSubject = new Subject();
|
|
5
|
-
_componentInstance = null;
|
|
6
|
-
constructor(id) {
|
|
7
|
-
this.id = id;
|
|
8
|
-
}
|
|
9
|
-
get componentInstance() {
|
|
10
|
-
return this._componentInstance;
|
|
11
|
-
}
|
|
12
|
-
set componentInstance(value) {
|
|
13
|
-
this._componentInstance = value;
|
|
14
|
-
}
|
|
15
|
-
close(result) {
|
|
16
|
-
this.afterClosedSubject.next(result);
|
|
17
|
-
this.afterClosedSubject.complete();
|
|
18
|
-
}
|
|
19
|
-
afterClosed() {
|
|
20
|
-
return this.afterClosedSubject.asObservable();
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=dialog-ref.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-ref.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/overlay/dialog/service/dialog-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAc,MAAM,MAAM,CAAC;AAE3C,MAAM,OAAO,gBAAgB;IAClB,EAAE,CAAS;IACH,kBAAkB,GAAG,IAAI,OAAO,EAAuB,CAAC;IACjE,kBAAkB,GAAY,IAAI,CAAC;IAE3C,YAAY,EAAU;QACpB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,CAAC;IAED,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACjC,CAAC;IAED,IAAI,iBAAiB,CAAC,KAAc;QAClC,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,MAAgB;QACpB,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACrC,IAAI,CAAC,kBAAkB,CAAC,QAAQ,EAAE,CAAC;IACrC,CAAC;IAED,WAAW;QACT,OAAO,IAAI,CAAC,kBAAkB,CAAC,YAAY,EAAE,CAAC;IAChD,CAAC;CACF","sourcesContent":["import { Subject, Observable } from 'rxjs';\n\nexport class SolarisDialogRef<TResult = unknown> {\n readonly id: string;\n private readonly afterClosedSubject = new Subject<TResult | undefined>();\n private _componentInstance: unknown = null;\n\n constructor(id: string) {\n this.id = id;\n }\n\n get componentInstance(): unknown {\n return this._componentInstance;\n }\n\n set componentInstance(value: unknown) {\n this._componentInstance = value;\n }\n\n close(result?: TResult): void {\n this.afterClosedSubject.next(result);\n this.afterClosedSubject.complete();\n }\n\n afterClosed(): Observable<TResult | undefined> {\n return this.afterClosedSubject.asObservable();\n }\n}\n"]}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { Injectable, inject, Injector, } from '@angular/core';
|
|
2
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
-
import { ComponentPortal } from '@angular/cdk/portal';
|
|
4
|
-
import { SolarisDialogContainerComponent } from '../container/dialog-container.component';
|
|
5
|
-
import { SolarisDialogRef } from './dialog-ref';
|
|
6
|
-
import { SOLARIS_DIALOG_REF, SOLARIS_DIALOG_DATA, } from '../token/dialog-data.token';
|
|
7
|
-
import { SOLARIS_DIALOG_CONFIG, SOLARIS_DIALOG_DEFAULT_CONFIG, } from '../token/dialog.tokens';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
let nextDialogId = 0;
|
|
10
|
-
export class SolarisDialogService {
|
|
11
|
-
injector = inject(Injector);
|
|
12
|
-
overlay = inject(Overlay);
|
|
13
|
-
config;
|
|
14
|
-
openDialogs = new Set();
|
|
15
|
-
constructor() {
|
|
16
|
-
const userConfig = inject(SOLARIS_DIALOG_CONFIG, {
|
|
17
|
-
optional: true,
|
|
18
|
-
});
|
|
19
|
-
this.config = {
|
|
20
|
-
...SOLARIS_DIALOG_DEFAULT_CONFIG,
|
|
21
|
-
...userConfig,
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
open(options) {
|
|
25
|
-
const id = `solaris-dialog-${++nextDialogId}`;
|
|
26
|
-
const ref = new SolarisDialogRef(id);
|
|
27
|
-
const mergedOptions = this.resolveOptions(options);
|
|
28
|
-
const overlayRef = this.createOverlay();
|
|
29
|
-
const injector = this.createInjector(ref, undefined);
|
|
30
|
-
const portal = new ComponentPortal(SolarisDialogContainerComponent, null, injector);
|
|
31
|
-
const componentRef = overlayRef.attach(portal);
|
|
32
|
-
componentRef.setInput('simpleOptions', mergedOptions);
|
|
33
|
-
this.trackDialog(ref, overlayRef);
|
|
34
|
-
return ref;
|
|
35
|
-
}
|
|
36
|
-
openComponent(component, config) {
|
|
37
|
-
const id = `solaris-dialog-${++nextDialogId}`;
|
|
38
|
-
const ref = new SolarisDialogRef(id);
|
|
39
|
-
const data = config?.data;
|
|
40
|
-
const overlayRef = this.createOverlay();
|
|
41
|
-
const injector = this.createInjector(ref, data);
|
|
42
|
-
const portal = new ComponentPortal(SolarisDialogContainerComponent, null, injector);
|
|
43
|
-
const componentRef = overlayRef.attach(portal);
|
|
44
|
-
componentRef.setInput('externalComponent', component);
|
|
45
|
-
componentRef.setInput('externalComponentConfig', config ?? {});
|
|
46
|
-
this.trackDialog(ref, overlayRef);
|
|
47
|
-
return ref;
|
|
48
|
-
}
|
|
49
|
-
createOverlay() {
|
|
50
|
-
return this.overlay.create({
|
|
51
|
-
hasBackdrop: false,
|
|
52
|
-
positionStrategy: this.overlay
|
|
53
|
-
.position()
|
|
54
|
-
.global()
|
|
55
|
-
.centerHorizontally()
|
|
56
|
-
.centerVertically(),
|
|
57
|
-
scrollStrategy: this.overlay.scrollStrategies.block(),
|
|
58
|
-
panelClass: 'solaris-dialog-overlay-panel',
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
createInjector(ref, data) {
|
|
62
|
-
const providers = [
|
|
63
|
-
{ provide: SOLARIS_DIALOG_REF, useValue: ref },
|
|
64
|
-
];
|
|
65
|
-
if (data !== undefined) {
|
|
66
|
-
providers.push({ provide: SOLARIS_DIALOG_DATA, useValue: data });
|
|
67
|
-
}
|
|
68
|
-
return Injector.create({
|
|
69
|
-
providers,
|
|
70
|
-
parent: this.injector,
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
trackDialog(ref, overlayRef) {
|
|
74
|
-
const entry = { ref, overlayRef };
|
|
75
|
-
this.openDialogs.add(entry);
|
|
76
|
-
ref.afterClosed().subscribe(() => {
|
|
77
|
-
overlayRef.detach();
|
|
78
|
-
overlayRef.dispose();
|
|
79
|
-
this.openDialogs.delete(entry);
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
resolveOptions(options) {
|
|
83
|
-
return {
|
|
84
|
-
variant: options.variant ?? 'neutral',
|
|
85
|
-
appearance: options.appearance ?? this.config.appearance,
|
|
86
|
-
size: options.size ?? this.config.size,
|
|
87
|
-
closeable: options.closeable ?? this.config.closeable ?? true,
|
|
88
|
-
closeOnEscape: options.closeOnEscape ?? this.config.closeOnEscape ?? true,
|
|
89
|
-
closeOnBackdropClick: options.closeOnBackdropClick ??
|
|
90
|
-
this.config.closeOnBackdropClick ??
|
|
91
|
-
true,
|
|
92
|
-
autoFocus: options.autoFocus ?? this.config.autoFocus,
|
|
93
|
-
restoreFocus: options.restoreFocus ?? this.config.restoreFocus ?? true,
|
|
94
|
-
role: options.role ?? this.config.role,
|
|
95
|
-
actionsAlign: options.actionsAlign ?? this.config.actionsAlign ?? 'end',
|
|
96
|
-
actionsStack: options.actionsStack ?? this.config.actionsStack ?? 'auto',
|
|
97
|
-
...options,
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
closeAll() {
|
|
101
|
-
for (const entry of this.openDialogs) {
|
|
102
|
-
entry.ref.close();
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
106
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisDialogService });
|
|
107
|
-
}
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisDialogService, decorators: [{
|
|
109
|
-
type: Injectable
|
|
110
|
-
}], ctorParameters: () => [] });
|
|
111
|
-
//# sourceMappingURL=dialog.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.service.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/overlay/dialog/service/dialog.service.ts"],"names":[],"mappings":"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","sourcesContent":["import {\n Injectable,\n inject,\n Injector,\n type Provider,\n Type,\n} from '@angular/core';\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\n\nimport { SolarisDialogContainerComponent } from '../container/dialog-container.component';\nimport { SolarisDialogRef } from './dialog-ref';\nimport {\n SOLARIS_DIALOG_REF,\n SOLARIS_DIALOG_DATA,\n} from '../token/dialog-data.token';\nimport {\n SOLARIS_DIALOG_CONFIG,\n SOLARIS_DIALOG_DEFAULT_CONFIG,\n} from '../token/dialog.tokens';\nimport type {\n SolarisDialogOptions,\n SolarisDialogComponentConfig,\n SolarisDialogConfig,\n} from '../model/dialog.types';\n\nlet nextDialogId = 0;\n\n@Injectable()\nexport class SolarisDialogService {\n private readonly injector = inject(Injector);\n private readonly overlay = inject(Overlay);\n\n private readonly config: SolarisDialogConfig;\n\n private readonly openDialogs = new Set<{\n ref: SolarisDialogRef;\n overlayRef: OverlayRef;\n }>();\n\n constructor() {\n const userConfig = inject(SOLARIS_DIALOG_CONFIG, {\n optional: true,\n }) as SolarisDialogConfig | null;\n\n this.config = {\n ...SOLARIS_DIALOG_DEFAULT_CONFIG,\n ...userConfig,\n };\n }\n\n open<TResult = unknown>(\n options: SolarisDialogOptions<TResult>,\n ): SolarisDialogRef<TResult> {\n const id = `solaris-dialog-${++nextDialogId}`;\n const ref = new SolarisDialogRef<TResult>(id);\n const mergedOptions = this.resolveOptions(options);\n\n const overlayRef = this.createOverlay();\n const injector = this.createInjector(ref, undefined);\n\n const portal = new ComponentPortal(\n SolarisDialogContainerComponent,\n null,\n injector,\n );\n\n const componentRef = overlayRef.attach(portal);\n componentRef.setInput('simpleOptions', mergedOptions);\n\n this.trackDialog(ref as unknown as SolarisDialogRef, overlayRef);\n\n return ref;\n }\n\n openComponent<TComponent, TResult = unknown, TData = unknown>(\n component: Type<TComponent>,\n config?: SolarisDialogComponentConfig<TData>,\n ): SolarisDialogRef<TResult> {\n const id = `solaris-dialog-${++nextDialogId}`;\n const ref = new SolarisDialogRef<TResult>(id);\n const data = config?.data as TData | undefined;\n\n const overlayRef = this.createOverlay();\n const injector = this.createInjector(ref, data);\n\n const portal = new ComponentPortal(\n SolarisDialogContainerComponent,\n null,\n injector,\n );\n\n const componentRef = overlayRef.attach(portal);\n componentRef.setInput('externalComponent', component);\n componentRef.setInput('externalComponentConfig', config ?? {});\n\n this.trackDialog(ref as unknown as SolarisDialogRef, overlayRef);\n\n return ref;\n }\n\n private createOverlay(): OverlayRef {\n return this.overlay.create({\n hasBackdrop: false,\n positionStrategy: this.overlay\n .position()\n .global()\n .centerHorizontally()\n .centerVertically(),\n scrollStrategy: this.overlay.scrollStrategies.block(),\n panelClass: 'solaris-dialog-overlay-panel',\n });\n }\n\n private createInjector<T>(ref: SolarisDialogRef<T>, data: unknown): Injector {\n const providers: Provider[] = [\n { provide: SOLARIS_DIALOG_REF, useValue: ref },\n ];\n\n if (data !== undefined) {\n providers.push({ provide: SOLARIS_DIALOG_DATA, useValue: data });\n }\n\n return Injector.create({\n providers,\n parent: this.injector,\n });\n }\n\n private trackDialog(ref: SolarisDialogRef, overlayRef: OverlayRef): void {\n const entry = { ref, overlayRef };\n this.openDialogs.add(entry);\n\n ref.afterClosed().subscribe(() => {\n overlayRef.detach();\n overlayRef.dispose();\n this.openDialogs.delete(entry);\n });\n }\n\n private resolveOptions<T>(\n options: SolarisDialogOptions<T>,\n ): SolarisDialogOptions<T> {\n return {\n variant: options.variant ?? 'neutral',\n appearance: options.appearance ?? this.config.appearance,\n size: options.size ?? this.config.size,\n closeable: options.closeable ?? this.config.closeable ?? true,\n closeOnEscape: options.closeOnEscape ?? this.config.closeOnEscape ?? true,\n closeOnBackdropClick:\n options.closeOnBackdropClick ??\n this.config.closeOnBackdropClick ??\n true,\n autoFocus: options.autoFocus ?? this.config.autoFocus,\n restoreFocus: options.restoreFocus ?? this.config.restoreFocus ?? true,\n role: options.role ?? this.config.role,\n actionsAlign: options.actionsAlign ?? this.config.actionsAlign ?? 'end',\n actionsStack: options.actionsStack ?? this.config.actionsStack ?? 'auto',\n ...options,\n };\n }\n\n closeAll(): void {\n for (const entry of this.openDialogs) {\n entry.ref.close();\n }\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-data.token.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/overlay/dialog/token/dialog-data.token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAI/C,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,cAAc,CACnD,mBAAmB,CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,cAAc,CAClD,kBAAkB,CACnB,CAAC","sourcesContent":["import { InjectionToken } from '@angular/core';\n\nimport type { SolarisDialogRef } from '../service/dialog-ref';\n\nexport const SOLARIS_DIALOG_DATA = new InjectionToken<unknown>(\n 'SolarisDialogData',\n);\n\nexport const SOLARIS_DIALOG_REF = new InjectionToken<SolarisDialogRef<unknown>>(\n 'SolarisDialogRef',\n);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const SOLARIS_DIALOG_CONFIG = new InjectionToken('SolarisDialogConfig');
|
|
3
|
-
export const SOLARIS_DIALOG_DEFAULT_CONFIG = {
|
|
4
|
-
appearance: 'surface',
|
|
5
|
-
size: 'md',
|
|
6
|
-
closeable: true,
|
|
7
|
-
closeOnEscape: true,
|
|
8
|
-
closeOnBackdropClick: true,
|
|
9
|
-
autoFocus: 'first-tabbable',
|
|
10
|
-
restoreFocus: true,
|
|
11
|
-
role: 'dialog',
|
|
12
|
-
actionsAlign: 'end',
|
|
13
|
-
actionsStack: 'auto',
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=dialog.tokens.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.tokens.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/overlay/dialog/token/dialog.tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAI/C,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,cAAc,CACrD,qBAAqB,CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAwB;IAChE,UAAU,EAAE,SAAS;IACrB,IAAI,EAAE,IAAI;IACV,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,IAAI;IACnB,oBAAoB,EAAE,IAAI;IAC1B,SAAS,EAAE,gBAAgB;IAC3B,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE,QAAQ;IACd,YAAY,EAAE,KAAK;IACnB,YAAY,EAAE,MAAM;CACrB,CAAC","sourcesContent":["import { InjectionToken } from '@angular/core';\n\nimport type { SolarisDialogConfig } from '../model/dialog.types';\n\nexport const SOLARIS_DIALOG_CONFIG = new InjectionToken<SolarisDialogConfig>(\n 'SolarisDialogConfig',\n);\n\nexport const SOLARIS_DIALOG_DEFAULT_CONFIG: SolarisDialogConfig = {\n appearance: 'surface',\n size: 'md',\n closeable: true,\n closeOnEscape: true,\n closeOnBackdropClick: true,\n autoFocus: 'first-tabbable',\n restoreFocus: true,\n role: 'dialog',\n actionsAlign: 'end',\n actionsStack: 'auto',\n};\n"]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class SolarisVisuallyHiddenDirective {
|
|
4
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisVisuallyHiddenDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.17", type: SolarisVisuallyHiddenDirective, isStandalone: true, selector: "[solaris-visually-hidden]", host: { properties: { "style.position": "\"absolute\"", "style.width": "\"1px\"", "style.height": "\"1px\"", "style.padding": "\"0\"", "style.margin": "\"-1px\"", "style.overflow": "\"hidden\"", "style.clip-path": "\"rect(0, 0, 0, 0)\"", "style.white-space": "\"nowrap\"", "style.border-width": "\"0\"" } }, ngImport: i0 });
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisVisuallyHiddenDirective, decorators: [{
|
|
8
|
-
type: Directive,
|
|
9
|
-
args: [{
|
|
10
|
-
selector: '[solaris-visually-hidden]',
|
|
11
|
-
standalone: true,
|
|
12
|
-
host: {
|
|
13
|
-
'[style.position]': '"absolute"',
|
|
14
|
-
'[style.width]': '"1px"',
|
|
15
|
-
'[style.height]': '"1px"',
|
|
16
|
-
'[style.padding]': '"0"',
|
|
17
|
-
'[style.margin]': '"-1px"',
|
|
18
|
-
'[style.overflow]': '"hidden"',
|
|
19
|
-
'[style.clip-path]': '"rect(0, 0, 0, 0)"',
|
|
20
|
-
'[style.white-space]': '"nowrap"',
|
|
21
|
-
'[style.border-width]': '"0"',
|
|
22
|
-
},
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=visually-hidden.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"visually-hidden.directive.js","sourceRoot":"","sources":["../../../../../../../../packages/angular/src/lib/services/accessibility/directives/visually-hidden.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAiB1C,MAAM,OAAO,8BAA8B;wGAA9B,8BAA8B;4FAA9B,8BAA8B;;4FAA9B,8BAA8B;kBAf1C,SAAS;mBAAC;oBACT,QAAQ,EAAE,2BAA2B;oBACrC,UAAU,EAAE,IAAI;oBAChB,IAAI,EAAE;wBACJ,kBAAkB,EAAE,YAAY;wBAChC,eAAe,EAAE,OAAO;wBACxB,gBAAgB,EAAE,OAAO;wBACzB,iBAAiB,EAAE,KAAK;wBACxB,gBAAgB,EAAE,QAAQ;wBAC1B,kBAAkB,EAAE,UAAU;wBAC9B,mBAAmB,EAAE,oBAAoB;wBACzC,qBAAqB,EAAE,UAAU;wBACjC,sBAAsB,EAAE,KAAK;qBAC9B;iBACF","sourcesContent":["import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[solaris-visually-hidden]',\r\n standalone: true,\r\n host: {\r\n '[style.position]': '\"absolute\"',\r\n '[style.width]': '\"1px\"',\r\n '[style.height]': '\"1px\"',\r\n '[style.padding]': '\"0\"',\r\n '[style.margin]': '\"-1px\"',\r\n '[style.overflow]': '\"hidden\"',\r\n '[style.clip-path]': '\"rect(0, 0, 0, 0)\"',\r\n '[style.white-space]': '\"nowrap\"',\r\n '[style.border-width]': '\"0\"',\r\n },\r\n})\r\nexport class SolarisVisuallyHiddenDirective {}\r\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=solaris-accessibility-config.interface.js.map
|
package/esm2022/lib/services/accessibility/model/solaris-accessibility-config.interface.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solaris-accessibility-config.interface.js","sourceRoot":"","sources":["../../../../../../../../packages/angular/src/lib/services/accessibility/model/solaris-accessibility-config.interface.ts"],"names":[],"mappings":"","sourcesContent":["export interface SolarisAccessibilityConfig {\r\n respectSystemPreference?: boolean;\r\n forceReducedMotion?: boolean;\r\n}\r\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=solaris-accessibility.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solaris-accessibility.types.js","sourceRoot":"","sources":["../../../../../../../../packages/angular/src/lib/services/accessibility/model/solaris-accessibility.types.ts"],"names":[],"mappings":"","sourcesContent":["export interface SolarisReducedMotionState {\r\n readonly reduced: boolean;\r\n readonly respectSystemPreference: boolean;\r\n readonly forceReducedMotion: boolean;\r\n}\r\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SOLARIS_ACCESSIBILITY_CONFIG } from '../token/solaris-accessibility.tokens';
|
|
2
|
-
export function provideSolarisAccessibility(config) {
|
|
3
|
-
return [
|
|
4
|
-
{
|
|
5
|
-
provide: SOLARIS_ACCESSIBILITY_CONFIG,
|
|
6
|
-
useValue: config ?? {},
|
|
7
|
-
},
|
|
8
|
-
];
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=provide-solaris-accessibility.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provide-solaris-accessibility.js","sourceRoot":"","sources":["../../../../../../../../packages/angular/src/lib/services/accessibility/provider/provide-solaris-accessibility.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAErF,MAAM,UAAU,2BAA2B,CACzC,MAAmC;IAEnC,OAAO;QACL;YACE,OAAO,EAAE,4BAA4B;YACrC,QAAQ,EAAE,MAAM,IAAI,EAAE;SACvB;KACF,CAAC;AACJ,CAAC","sourcesContent":["import type { Provider } from '@angular/core';\r\n\r\nimport type { SolarisAccessibilityConfig } from '../model/solaris-accessibility-config.interface';\r\nimport { SOLARIS_ACCESSIBILITY_CONFIG } from '../token/solaris-accessibility.tokens';\r\n\r\nexport function provideSolarisAccessibility(\r\n config?: SolarisAccessibilityConfig,\r\n): Provider[] {\r\n return [\r\n {\r\n provide: SOLARIS_ACCESSIBILITY_CONFIG,\r\n useValue: config ?? {},\r\n },\r\n ];\r\n}\r\n"]}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { Injectable, inject, signal, PLATFORM_ID, DestroyRef, } from '@angular/core';
|
|
2
|
-
import { isPlatformBrowser } from '@angular/common';
|
|
3
|
-
import { SOLARIS_ACCESSIBILITY_CONFIG } from '../token/solaris-accessibility.tokens';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
let nextId = 0;
|
|
6
|
-
export class SolarisAccessibilityService {
|
|
7
|
-
config;
|
|
8
|
-
platformId = inject(PLATFORM_ID);
|
|
9
|
-
reducedMotionSignal;
|
|
10
|
-
constructor() {
|
|
11
|
-
this.config =
|
|
12
|
-
inject(SOLARIS_ACCESSIBILITY_CONFIG, { optional: true }) ?? {};
|
|
13
|
-
if (this.config.forceReducedMotion) {
|
|
14
|
-
this.reducedMotionSignal = signal(true, ...(ngDevMode ? [{ debugName: "reducedMotionSignal" }] : /* istanbul ignore next */ []));
|
|
15
|
-
}
|
|
16
|
-
else if (this.config.respectSystemPreference &&
|
|
17
|
-
isPlatformBrowser(this.platformId)) {
|
|
18
|
-
// SECURITY_EXCEPTION: window.matchMedia is the only browser API for reduced motion detection. Guarded by isPlatformBrowser. Tested.
|
|
19
|
-
const mql = window.matchMedia('(prefers-reduced-motion: reduce)');
|
|
20
|
-
this.reducedMotionSignal = signal(mql.matches, ...(ngDevMode ? [{ debugName: "reducedMotionSignal" }] : /* istanbul ignore next */ []));
|
|
21
|
-
const handler = (event) => {
|
|
22
|
-
this.reducedMotionSignal.set(event.matches);
|
|
23
|
-
};
|
|
24
|
-
mql.addEventListener('change', handler);
|
|
25
|
-
inject(DestroyRef).onDestroy(() => {
|
|
26
|
-
mql.removeEventListener('change', handler);
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
this.reducedMotionSignal = signal(false, ...(ngDevMode ? [{ debugName: "reducedMotionSignal" }] : /* istanbul ignore next */ []));
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
get reducedMotion() {
|
|
34
|
-
return this.reducedMotionSignal.asReadonly();
|
|
35
|
-
}
|
|
36
|
-
get reducedMotionValue() {
|
|
37
|
-
return this.reducedMotionSignal();
|
|
38
|
-
}
|
|
39
|
-
generateId(prefix) {
|
|
40
|
-
return `${prefix}-${++nextId}-${Date.now()}`;
|
|
41
|
-
}
|
|
42
|
-
generateDescriptionId() {
|
|
43
|
-
return this.generateId('solaris-desc');
|
|
44
|
-
}
|
|
45
|
-
labelledBy(...ids) {
|
|
46
|
-
if (ids.length === 0) {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
return ids.join(' ');
|
|
50
|
-
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisAccessibilityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
52
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisAccessibilityService, providedIn: 'root' });
|
|
53
|
-
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisAccessibilityService, decorators: [{
|
|
55
|
-
type: Injectable,
|
|
56
|
-
args: [{
|
|
57
|
-
providedIn: 'root',
|
|
58
|
-
}]
|
|
59
|
-
}], ctorParameters: () => [] });
|
|
60
|
-
//# sourceMappingURL=solaris-accessibility.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solaris-accessibility.service.js","sourceRoot":"","sources":["../../../../../../../../packages/angular/src/lib/services/accessibility/service/solaris-accessibility.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,MAAM,EACN,MAAM,EAEN,WAAW,EAEX,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;;AAGrF,IAAI,MAAM,GAAG,CAAC,CAAC;AAKf,MAAM,OAAO,2BAA2B;IACrB,MAAM,CAA6B;IACnC,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;IACjC,mBAAmB,CAA0B;IAE9D;QACE,IAAI,CAAC,MAAM;YACT,MAAM,CAAC,4BAA4B,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC;QAEjE,IAAI,IAAI,CAAC,MAAM,CAAC,kBAAkB,EAAE,CAAC;YACnC,IAAI,CAAC,mBAAmB,GAAG,MAAM,CAAC,IAAI,0FAAC,CAAC;QAC1C,CAAC;aAAM,IACL,IAAI,CAAC,MAAM,CAAC,uBAAuB;YACnC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAClC,CAAC;YACD,oIAAoI;YACpI,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,kCAAkC,CAAC,CAAC;YAClE,IAAI,CAAC,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,0FAAC,CAAC;YAE/C,MAAM,OAAO,GAAG,CAAC,KAA0B,EAAQ,EAAE;gBACnD,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC9C,CAAC,CAAC;YACF,GAAG,CAAC,gBAAgB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAExC,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,GAAG,EAAE;gBAChC,GAAG,CAAC,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAC7C,CAAC,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,mBAAmB,GAAG,MAAM,CAAC,KAAK,0FAAC,CAAC;QAC3C,CAAC;IACH,CAAC;IAED,IAAI,aAAa;QACf,OAAO,IAAI,CAAC,mBAAmB,CAAC,UAAU,EAAE,CAAC;IAC/C,CAAC;IAED,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;IACpC,CAAC;IAED,UAAU,CAAC,MAAc;QACvB,OAAO,GAAG,MAAM,IAAI,EAAE,MAAM,IAAI,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC;IAC/C,CAAC;IAED,qBAAqB;QACnB,OAAO,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;IACzC,CAAC;IAED,UAAU,CAAC,GAAG,GAAa;QACzB,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;wGArDU,2BAA2B;4GAA3B,2BAA2B,cAF1B,MAAM;;4FAEP,2BAA2B;kBAHvC,UAAU;mBAAC;oBACV,UAAU,EAAE,MAAM;iBACnB","sourcesContent":["import {\r\n Injectable,\r\n inject,\r\n signal,\r\n type Signal,\r\n PLATFORM_ID,\r\n type WritableSignal,\r\n DestroyRef,\r\n} from '@angular/core';\r\nimport { isPlatformBrowser } from '@angular/common';\r\nimport { SOLARIS_ACCESSIBILITY_CONFIG } from '../token/solaris-accessibility.tokens';\r\nimport type { SolarisAccessibilityConfig } from '../model/solaris-accessibility-config.interface';\r\n\r\nlet nextId = 0;\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SolarisAccessibilityService {\r\n private readonly config: SolarisAccessibilityConfig;\r\n private readonly platformId = inject(PLATFORM_ID);\r\n private readonly reducedMotionSignal: WritableSignal<boolean>;\r\n\r\n constructor() {\r\n this.config =\r\n inject(SOLARIS_ACCESSIBILITY_CONFIG, { optional: true }) ?? {};\r\n\r\n if (this.config.forceReducedMotion) {\r\n this.reducedMotionSignal = signal(true);\r\n } else if (\r\n this.config.respectSystemPreference &&\r\n isPlatformBrowser(this.platformId)\r\n ) {\r\n // SECURITY_EXCEPTION: window.matchMedia is the only browser API for reduced motion detection. Guarded by isPlatformBrowser. Tested.\r\n const mql = window.matchMedia('(prefers-reduced-motion: reduce)');\r\n this.reducedMotionSignal = signal(mql.matches);\r\n\r\n const handler = (event: MediaQueryListEvent): void => {\r\n this.reducedMotionSignal.set(event.matches);\r\n };\r\n mql.addEventListener('change', handler);\r\n\r\n inject(DestroyRef).onDestroy(() => {\r\n mql.removeEventListener('change', handler);\r\n });\r\n } else {\r\n this.reducedMotionSignal = signal(false);\r\n }\r\n }\r\n\r\n get reducedMotion(): Signal<boolean> {\r\n return this.reducedMotionSignal.asReadonly();\r\n }\r\n\r\n get reducedMotionValue(): boolean {\r\n return this.reducedMotionSignal();\r\n }\r\n\r\n generateId(prefix: string): string {\r\n return `${prefix}-${++nextId}-${Date.now()}`;\r\n }\r\n\r\n generateDescriptionId(): string {\r\n return this.generateId('solaris-desc');\r\n }\r\n\r\n labelledBy(...ids: string[]): string | null {\r\n if (ids.length === 0) {\r\n return null;\r\n }\r\n return ids.join(' ');\r\n }\r\n}\r\n"]}
|
package/esm2022/lib/services/accessibility/testing/solaris-accessibility-testing.provider.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SOLARIS_ACCESSIBILITY_CONFIG } from '../token/solaris-accessibility.tokens';
|
|
2
|
-
export function provideSolarisAccessibilityTesting(config) {
|
|
3
|
-
return [
|
|
4
|
-
{
|
|
5
|
-
provide: SOLARIS_ACCESSIBILITY_CONFIG,
|
|
6
|
-
useValue: config ?? {},
|
|
7
|
-
},
|
|
8
|
-
];
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=solaris-accessibility-testing.provider.js.map
|
package/esm2022/lib/services/accessibility/testing/solaris-accessibility-testing.provider.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solaris-accessibility-testing.provider.js","sourceRoot":"","sources":["../../../../../../../../packages/angular/src/lib/services/accessibility/testing/solaris-accessibility-testing.provider.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAErF,MAAM,UAAU,kCAAkC,CAChD,MAAmC;IAEnC,OAAO;QACL;YACE,OAAO,EAAE,4BAA4B;YACrC,QAAQ,EAAE,MAAM,IAAI,EAAE;SACvB;KACF,CAAC;AACJ,CAAC","sourcesContent":["import type { Provider } from '@angular/core';\r\n\r\nimport type { SolarisAccessibilityConfig } from '../model/solaris-accessibility-config.interface';\r\nimport { SOLARIS_ACCESSIBILITY_CONFIG } from '../token/solaris-accessibility.tokens';\r\n\r\nexport function provideSolarisAccessibilityTesting(\r\n config?: SolarisAccessibilityConfig,\r\n): Provider[] {\r\n return [\r\n {\r\n provide: SOLARIS_ACCESSIBILITY_CONFIG,\r\n useValue: config ?? {},\r\n },\r\n ];\r\n}\r\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solaris-accessibility.tokens.js","sourceRoot":"","sources":["../../../../../../../../packages/angular/src/lib/services/accessibility/token/solaris-accessibility.tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAI/C,MAAM,CAAC,MAAM,4BAA4B,GACvC,IAAI,cAAc,CAChB,8BAA8B,CAC/B,CAAC","sourcesContent":["import { InjectionToken } from '@angular/core';\r\n\r\nimport type { SolarisAccessibilityConfig } from '../model/solaris-accessibility-config.interface';\r\n\r\nexport const SOLARIS_ACCESSIBILITY_CONFIG =\r\n new InjectionToken<SolarisAccessibilityConfig>(\r\n 'SOLARIS_ACCESSIBILITY_CONFIG',\r\n );\r\n"]}
|