@educarehq/solaris-ui 0.1.0 → 0.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/educarehq-solaris-ui.d.ts +5 -0
- package/esm2022/educarehq-solaris-ui.js +5 -0
- package/esm2022/educarehq-solaris-ui.js.map +1 -0
- package/esm2022/index.js +70 -0
- package/esm2022/index.js.map +1 -0
- package/esm2022/lib/components/actions/button/directives/button-icon.directive.js +17 -0
- package/esm2022/lib/components/actions/button/directives/button-icon.directive.js.map +1 -0
- package/esm2022/lib/components/actions/button/directives/button.directive.js +60 -0
- package/esm2022/lib/components/actions/button/directives/button.directive.js.map +1 -0
- package/esm2022/lib/components/actions/button/model/button.types.js +1 -0
- package/esm2022/lib/components/actions/button/model/button.types.js.map +1 -0
- package/esm2022/lib/components/actions/button-group/component/button-group.component.js +21 -0
- package/esm2022/lib/components/actions/button-group/component/button-group.component.js.map +1 -0
- package/esm2022/lib/components/actions/button-group/model/button-group.types.js +1 -0
- package/esm2022/lib/components/actions/button-group/model/button-group.types.js.map +1 -0
- package/esm2022/lib/components/actions/icon-button/directives/icon-button-badge.directive.js +17 -0
- package/esm2022/lib/components/actions/icon-button/directives/icon-button-badge.directive.js.map +1 -0
- package/esm2022/lib/components/actions/icon-button/directives/icon-button.directive.js +58 -0
- package/esm2022/lib/components/actions/icon-button/directives/icon-button.directive.js.map +1 -0
- package/esm2022/lib/components/actions/icon-button/model/icon-button.types.js +1 -0
- package/esm2022/lib/components/actions/icon-button/model/icon-button.types.js.map +1 -0
- package/esm2022/lib/components/data-display/badge/component/badge.component.js +24 -0
- package/esm2022/lib/components/data-display/badge/component/badge.component.js.map +1 -0
- package/esm2022/lib/components/data-display/badge/directives/badge-icon.directive.js +17 -0
- package/esm2022/lib/components/data-display/badge/directives/badge-icon.directive.js.map +1 -0
- package/esm2022/lib/components/data-display/badge/model/badge.types.js +1 -0
- package/esm2022/lib/components/data-display/badge/model/badge.types.js.map +1 -0
- package/esm2022/lib/components/data-display/card/component/card.component.js +20 -0
- package/esm2022/lib/components/data-display/card/component/card.component.js.map +1 -0
- package/esm2022/lib/components/data-display/card/directives/card-actions.directive.js +17 -0
- package/esm2022/lib/components/data-display/card/directives/card-actions.directive.js.map +1 -0
- package/esm2022/lib/components/data-display/card/directives/card-content.directive.js +17 -0
- package/esm2022/lib/components/data-display/card/directives/card-content.directive.js.map +1 -0
- package/esm2022/lib/components/data-display/card/directives/card-description.directive.js +17 -0
- package/esm2022/lib/components/data-display/card/directives/card-description.directive.js.map +1 -0
- package/esm2022/lib/components/data-display/card/directives/card-footer.directive.js +19 -0
- package/esm2022/lib/components/data-display/card/directives/card-footer.directive.js.map +1 -0
- package/esm2022/lib/components/data-display/card/directives/card-header.directive.js +17 -0
- package/esm2022/lib/components/data-display/card/directives/card-header.directive.js.map +1 -0
- package/esm2022/lib/components/data-display/card/directives/card-media.directive.js +17 -0
- package/esm2022/lib/components/data-display/card/directives/card-media.directive.js.map +1 -0
- package/esm2022/lib/components/data-display/card/directives/card-title.directive.js +17 -0
- package/esm2022/lib/components/data-display/card/directives/card-title.directive.js.map +1 -0
- package/esm2022/lib/components/data-display/card/model/card.types.js +1 -0
- package/esm2022/lib/components/data-display/card/model/card.types.js.map +1 -0
- package/esm2022/lib/components/feedback/alert/component/alert-actions.component.js +18 -0
- package/esm2022/lib/components/feedback/alert/component/alert-actions.component.js.map +1 -0
- package/esm2022/lib/components/feedback/alert/component/alert.component.js +90 -0
- package/esm2022/lib/components/feedback/alert/component/alert.component.js.map +1 -0
- package/esm2022/lib/components/feedback/alert/directives/alert-description.directive.js +17 -0
- package/esm2022/lib/components/feedback/alert/directives/alert-description.directive.js.map +1 -0
- package/esm2022/lib/components/feedback/alert/directives/alert-title.directive.js +17 -0
- package/esm2022/lib/components/feedback/alert/directives/alert-title.directive.js.map +1 -0
- package/esm2022/lib/components/feedback/alert/model/alert.types.js +1 -0
- package/esm2022/lib/components/feedback/alert/model/alert.types.js.map +1 -0
- package/esm2022/lib/components/feedback/skeleton/component/skeleton.component.js +69 -0
- package/esm2022/lib/components/feedback/skeleton/component/skeleton.component.js.map +1 -0
- package/esm2022/lib/components/feedback/skeleton/model/skeleton.types.js +1 -0
- package/esm2022/lib/components/feedback/skeleton/model/skeleton.types.js.map +1 -0
- package/esm2022/lib/components/forms/checkbox/component/checkbox.component.js +227 -0
- package/esm2022/lib/components/forms/checkbox/component/checkbox.component.js.map +1 -0
- package/esm2022/lib/components/forms/checkbox/model/checkbox.types.js +1 -0
- package/esm2022/lib/components/forms/checkbox/model/checkbox.types.js.map +1 -0
- package/esm2022/lib/components/forms/checkbox-group/component/checkbox-group.component.js +441 -0
- package/esm2022/lib/components/forms/checkbox-group/component/checkbox-group.component.js.map +1 -0
- package/esm2022/lib/components/forms/checkbox-group/model/checkbox-group.types.js +1 -0
- package/esm2022/lib/components/forms/checkbox-group/model/checkbox-group.types.js.map +1 -0
- package/esm2022/lib/components/forms/email-field/component/email-field.component.js +214 -0
- package/esm2022/lib/components/forms/email-field/component/email-field.component.js.map +1 -0
- package/esm2022/lib/components/forms/email-field/model/email-field.types.js +1 -0
- package/esm2022/lib/components/forms/email-field/model/email-field.types.js.map +1 -0
- package/esm2022/lib/components/forms/email-field/validators/email-field.validators.js +69 -0
- package/esm2022/lib/components/forms/email-field/validators/email-field.validators.js.map +1 -0
- package/esm2022/lib/components/forms/form-field/component/form-error.component.js +19 -0
- package/esm2022/lib/components/forms/form-field/component/form-error.component.js.map +1 -0
- package/esm2022/lib/components/forms/form-field/component/form-field.component.js +394 -0
- package/esm2022/lib/components/forms/form-field/component/form-field.component.js.map +1 -0
- package/esm2022/lib/components/forms/form-field/component/form-hint.component.js +18 -0
- package/esm2022/lib/components/forms/form-field/component/form-hint.component.js.map +1 -0
- package/esm2022/lib/components/forms/form-field/component/form-label.component.js +18 -0
- package/esm2022/lib/components/forms/form-field/component/form-label.component.js.map +1 -0
- package/esm2022/lib/components/forms/form-field/directives/form-field-trigger.directive.js +14 -0
- package/esm2022/lib/components/forms/form-field/directives/form-field-trigger.directive.js.map +1 -0
- package/esm2022/lib/components/forms/form-field/directives/form-prefix.directive.js +17 -0
- package/esm2022/lib/components/forms/form-field/directives/form-prefix.directive.js.map +1 -0
- package/esm2022/lib/components/forms/form-field/directives/form-suffix.directive.js +17 -0
- package/esm2022/lib/components/forms/form-field/directives/form-suffix.directive.js.map +1 -0
- package/esm2022/lib/components/forms/form-field/index.js +8 -0
- package/esm2022/lib/components/forms/form-field/index.js.map +1 -0
- package/esm2022/lib/components/forms/form-field/model/form-control.contract.js +3 -0
- package/esm2022/lib/components/forms/form-field/model/form-control.contract.js.map +1 -0
- package/esm2022/lib/components/forms/form-field/model/form-field.types.js +1 -0
- package/esm2022/lib/components/forms/form-field/model/form-field.types.js.map +1 -0
- package/esm2022/lib/components/forms/input/directives/input.directive.js +148 -0
- package/esm2022/lib/components/forms/input/directives/input.directive.js.map +1 -0
- package/esm2022/lib/components/forms/input/index.js +2 -0
- package/esm2022/lib/components/forms/input/index.js.map +1 -0
- package/esm2022/lib/components/forms/input/model/input.defaults.js +27 -0
- package/esm2022/lib/components/forms/input/model/input.defaults.js.map +1 -0
- package/esm2022/lib/components/forms/input/model/input.types.js +1 -0
- package/esm2022/lib/components/forms/input/model/input.types.js.map +1 -0
- package/esm2022/lib/components/forms/multi-select/component/multi-select.component.js +1119 -0
- package/esm2022/lib/components/forms/multi-select/component/multi-select.component.js.map +1 -0
- package/esm2022/lib/components/forms/multi-select/model/multi-select.types.js +1 -0
- package/esm2022/lib/components/forms/multi-select/model/multi-select.types.js.map +1 -0
- package/esm2022/lib/components/forms/option/component/option.component.js +149 -0
- package/esm2022/lib/components/forms/option/component/option.component.js.map +1 -0
- package/esm2022/lib/components/forms/option/directives/option-slots.directive.js +58 -0
- package/esm2022/lib/components/forms/option/directives/option-slots.directive.js.map +1 -0
- package/esm2022/lib/components/forms/option/index.js +3 -0
- package/esm2022/lib/components/forms/option/index.js.map +1 -0
- package/esm2022/lib/components/forms/option/model/option.types.js +1 -0
- package/esm2022/lib/components/forms/option/model/option.types.js.map +1 -0
- package/esm2022/lib/components/forms/option-group/component/option-group.component.js +103 -0
- package/esm2022/lib/components/forms/option-group/component/option-group.component.js.map +1 -0
- package/esm2022/lib/components/forms/option-group/index.js +2 -0
- package/esm2022/lib/components/forms/option-group/index.js.map +1 -0
- package/esm2022/lib/components/forms/option-group/model/option-group.types.js +1 -0
- package/esm2022/lib/components/forms/option-group/model/option-group.types.js.map +1 -0
- package/esm2022/lib/components/forms/password-field/component/password-field.component.js +299 -0
- package/esm2022/lib/components/forms/password-field/component/password-field.component.js.map +1 -0
- package/esm2022/lib/components/forms/password-field/model/password-field-constants.js +5 -0
- package/esm2022/lib/components/forms/password-field/model/password-field-constants.js.map +1 -0
- package/esm2022/lib/components/forms/password-field/model/password-field.types.js +1 -0
- package/esm2022/lib/components/forms/password-field/model/password-field.types.js.map +1 -0
- package/esm2022/lib/components/forms/password-field/model/password-policy.types.js +1 -0
- package/esm2022/lib/components/forms/password-field/model/password-policy.types.js.map +1 -0
- package/esm2022/lib/components/forms/password-field/model/password-strength.js +67 -0
- package/esm2022/lib/components/forms/password-field/model/password-strength.js.map +1 -0
- package/esm2022/lib/components/forms/password-field/validators/password.validator.js +45 -0
- package/esm2022/lib/components/forms/password-field/validators/password.validator.js.map +1 -0
- package/esm2022/lib/components/forms/radio/component/radio.component.js +219 -0
- package/esm2022/lib/components/forms/radio/component/radio.component.js.map +1 -0
- package/esm2022/lib/components/forms/radio/model/radio.types.js +1 -0
- package/esm2022/lib/components/forms/radio/model/radio.types.js.map +1 -0
- package/esm2022/lib/components/forms/radio-group/component/radio-group.component.js +348 -0
- package/esm2022/lib/components/forms/radio-group/component/radio-group.component.js.map +1 -0
- package/esm2022/lib/components/forms/radio-group/model/radio-group.token.js +3 -0
- package/esm2022/lib/components/forms/radio-group/model/radio-group.token.js.map +1 -0
- package/esm2022/lib/components/forms/radio-group/model/radio-group.types.js +1 -0
- package/esm2022/lib/components/forms/radio-group/model/radio-group.types.js.map +1 -0
- package/esm2022/lib/components/forms/select/component/select.component.js +819 -0
- package/esm2022/lib/components/forms/select/component/select.component.js.map +1 -0
- package/esm2022/lib/components/forms/select/model/select.types.js +1 -0
- package/esm2022/lib/components/forms/select/model/select.types.js.map +1 -0
- package/esm2022/lib/components/forms/switch/component/switch.component.js +211 -0
- package/esm2022/lib/components/forms/switch/component/switch.component.js.map +1 -0
- package/esm2022/lib/components/forms/switch/index.js +2 -0
- package/esm2022/lib/components/forms/switch/index.js.map +1 -0
- package/esm2022/lib/components/forms/switch/model/switch.types.js +1 -0
- package/esm2022/lib/components/forms/switch/model/switch.types.js.map +1 -0
- package/esm2022/lib/components/forms/switch-group/component/switch-group.component.js +369 -0
- package/esm2022/lib/components/forms/switch-group/component/switch-group.component.js.map +1 -0
- package/esm2022/lib/components/forms/switch-group/model/switch-group.types.js +1 -0
- package/esm2022/lib/components/forms/switch-group/model/switch-group.types.js.map +1 -0
- package/esm2022/lib/components/forms/textarea/directives/textarea.directive.js +137 -0
- package/esm2022/lib/components/forms/textarea/directives/textarea.directive.js.map +1 -0
- package/esm2022/lib/components/forms/textarea/model/textarea.types.js +1 -0
- package/esm2022/lib/components/forms/textarea/model/textarea.types.js.map +1 -0
- package/esm2022/lib/components/icon/component/solaris-icon.component.js +20 -0
- package/esm2022/lib/components/icon/component/solaris-icon.component.js.map +1 -0
- package/esm2022/lib/components/icon/index.js +2 -0
- package/esm2022/lib/components/icon/index.js.map +1 -0
- package/esm2022/lib/components/interaction/popover/component/popover-panel.component.js +29 -0
- package/esm2022/lib/components/interaction/popover/component/popover-panel.component.js.map +1 -0
- package/esm2022/lib/components/interaction/popover/directives/popover-trigger.directive.js +317 -0
- package/esm2022/lib/components/interaction/popover/directives/popover-trigger.directive.js.map +1 -0
- package/esm2022/lib/components/interaction/popover/directives/popover.directive.js +16 -0
- package/esm2022/lib/components/interaction/popover/directives/popover.directive.js.map +1 -0
- package/esm2022/lib/components/interaction/popover/index.js +4 -0
- package/esm2022/lib/components/interaction/popover/index.js.map +1 -0
- package/esm2022/lib/components/interaction/popover/model/popover-position.js +145 -0
- package/esm2022/lib/components/interaction/popover/model/popover-position.js.map +1 -0
- package/esm2022/lib/components/interaction/popover/model/popover.types.js +1 -0
- package/esm2022/lib/components/interaction/popover/model/popover.types.js.map +1 -0
- package/esm2022/lib/components/interaction/popover/token/popover.tokens.js +3 -0
- package/esm2022/lib/components/interaction/popover/token/popover.tokens.js.map +1 -0
- package/esm2022/lib/components/interaction/tooltip/component/tooltip-panel.component.js +23 -0
- package/esm2022/lib/components/interaction/tooltip/component/tooltip-panel.component.js.map +1 -0
- package/esm2022/lib/components/interaction/tooltip/directive/tooltip.directive.js +405 -0
- package/esm2022/lib/components/interaction/tooltip/directive/tooltip.directive.js.map +1 -0
- package/esm2022/lib/components/interaction/tooltip/index.js +3 -0
- package/esm2022/lib/components/interaction/tooltip/index.js.map +1 -0
- package/esm2022/lib/components/interaction/tooltip/model/tooltip-position.js +209 -0
- package/esm2022/lib/components/interaction/tooltip/model/tooltip-position.js.map +1 -0
- package/esm2022/lib/components/interaction/tooltip/model/tooltip.types.js +1 -0
- package/esm2022/lib/components/interaction/tooltip/model/tooltip.types.js.map +1 -0
- package/esm2022/lib/components/interaction/tooltip/token/tooltip.tokens.js +3 -0
- package/esm2022/lib/components/interaction/tooltip/token/tooltip.tokens.js.map +1 -0
- package/esm2022/lib/services/accessibility/directives/visually-hidden.directive.js +25 -0
- package/esm2022/lib/services/accessibility/directives/visually-hidden.directive.js.map +1 -0
- package/esm2022/lib/services/accessibility/model/solaris-accessibility-config.interface.js +1 -0
- package/esm2022/lib/services/accessibility/model/solaris-accessibility-config.interface.js.map +1 -0
- package/esm2022/lib/services/accessibility/model/solaris-accessibility.types.js +1 -0
- package/esm2022/lib/services/accessibility/model/solaris-accessibility.types.js.map +1 -0
- package/esm2022/lib/services/accessibility/provider/provide-solaris-accessibility.js +10 -0
- package/esm2022/lib/services/accessibility/provider/provide-solaris-accessibility.js.map +1 -0
- package/esm2022/lib/services/accessibility/service/solaris-accessibility.service.js +60 -0
- package/esm2022/lib/services/accessibility/service/solaris-accessibility.service.js.map +1 -0
- package/esm2022/lib/services/accessibility/testing/solaris-accessibility-testing.provider.js +10 -0
- package/esm2022/lib/services/accessibility/testing/solaris-accessibility-testing.provider.js.map +1 -0
- package/esm2022/lib/services/accessibility/token/solaris-accessibility.tokens.js +3 -0
- package/esm2022/lib/services/accessibility/token/solaris-accessibility.tokens.js.map +1 -0
- package/esm2022/lib/services/icon/icons/index.js +2 -0
- package/esm2022/lib/services/icon/icons/index.js.map +1 -0
- package/esm2022/lib/services/icon/icons/solaris-built-in-icons.js +207 -0
- package/esm2022/lib/services/icon/icons/solaris-built-in-icons.js.map +1 -0
- package/esm2022/lib/services/icon/index.js +5 -0
- package/esm2022/lib/services/icon/index.js.map +1 -0
- package/esm2022/lib/services/icon/model/solaris-icon-definition.interface.js +1 -0
- package/esm2022/lib/services/icon/model/solaris-icon-definition.interface.js.map +1 -0
- package/esm2022/lib/services/icon/model/solaris-icon.types.js +1 -0
- package/esm2022/lib/services/icon/model/solaris-icon.types.js.map +1 -0
- package/esm2022/lib/services/icon/provider/provide-solaris-icons.js +10 -0
- package/esm2022/lib/services/icon/provider/provide-solaris-icons.js.map +1 -0
- package/esm2022/lib/services/icon/service/solaris-icon-registry.service.js +43 -0
- package/esm2022/lib/services/icon/service/solaris-icon-registry.service.js.map +1 -0
- package/esm2022/lib/services/icon/token/solaris-icon.tokens.js +3 -0
- package/esm2022/lib/services/icon/token/solaris-icon.tokens.js.map +1 -0
- package/esm2022/lib/services/theme/model/solaris-theme-config.interface.js +1 -0
- package/esm2022/lib/services/theme/model/solaris-theme-config.interface.js.map +1 -0
- package/esm2022/lib/services/theme/model/solaris-theme.types.js +1 -0
- package/esm2022/lib/services/theme/model/solaris-theme.types.js.map +1 -0
- package/esm2022/lib/services/theme/provider/provide-solaris-theme.js +10 -0
- package/esm2022/lib/services/theme/provider/provide-solaris-theme.js.map +1 -0
- package/esm2022/lib/services/theme/service/solaris-theme.service.js +22 -0
- package/esm2022/lib/services/theme/service/solaris-theme.service.js.map +1 -0
- package/esm2022/lib/services/theme/testing/solaris-theme-testing.provider.js +10 -0
- package/esm2022/lib/services/theme/testing/solaris-theme-testing.provider.js.map +1 -0
- package/esm2022/lib/services/theme/token/solaris-theme.tokens.js +3 -0
- package/esm2022/lib/services/theme/token/solaris-theme.tokens.js.map +1 -0
- package/esm2022/lib/services/translation/index.js +6 -0
- package/esm2022/lib/services/translation/index.js.map +1 -0
- package/esm2022/lib/services/translation/model/solaris-locale.types.js +1 -0
- package/esm2022/lib/services/translation/model/solaris-locale.types.js.map +1 -0
- package/esm2022/lib/services/translation/model/solaris-translate-config.interface.js +1 -0
- package/esm2022/lib/services/translation/model/solaris-translate-config.interface.js.map +1 -0
- package/esm2022/lib/services/translation/model/solaris-translate-defaults.js +40 -0
- package/esm2022/lib/services/translation/model/solaris-translate-defaults.js.map +1 -0
- package/esm2022/lib/services/translation/model/solaris-translation.types.js +1 -0
- package/esm2022/lib/services/translation/model/solaris-translation.types.js.map +1 -0
- package/esm2022/lib/services/translation/pipe/solaris-translate.pipe.js +20 -0
- package/esm2022/lib/services/translation/pipe/solaris-translate.pipe.js.map +1 -0
- package/esm2022/lib/services/translation/provider/provide-solaris-translate.js +10 -0
- package/esm2022/lib/services/translation/provider/provide-solaris-translate.js.map +1 -0
- package/esm2022/lib/services/translation/service/solaris-translate.service.js +87 -0
- package/esm2022/lib/services/translation/service/solaris-translate.service.js.map +1 -0
- package/esm2022/lib/services/translation/testing/solaris-translate-testing.provider.js +32 -0
- package/esm2022/lib/services/translation/testing/solaris-translate-testing.provider.js.map +1 -0
- package/esm2022/lib/services/translation/token/solaris-translate.tokens.js +3 -0
- package/esm2022/lib/services/translation/token/solaris-translate.tokens.js.map +1 -0
- package/esm2022/lib/testing/provide-solaris-testing.js +11 -0
- package/esm2022/lib/testing/provide-solaris-testing.js.map +1 -0
- package/esm2022/lib/testing/solaris-test-utilities.js +12 -0
- package/esm2022/lib/testing/solaris-test-utilities.js.map +1 -0
- package/index.d.ts +106 -0
- package/lib/components/actions/button/directives/button-icon.directive.d.ts +5 -0
- package/lib/components/actions/button/directives/button.directive.d.ts +22 -0
- package/lib/components/actions/button/model/button.types.d.ts +5 -0
- package/lib/components/actions/button-group/component/button-group.component.d.ts +10 -0
- package/lib/components/actions/button-group/model/button-group.types.d.ts +2 -0
- package/lib/components/actions/icon-button/directives/icon-button-badge.directive.d.ts +5 -0
- package/lib/components/actions/icon-button/directives/icon-button.directive.d.ts +21 -0
- package/lib/components/actions/icon-button/model/icon-button.types.d.ts +5 -0
- package/lib/components/data-display/badge/component/badge.component.d.ts +12 -0
- package/lib/components/data-display/badge/directives/badge-icon.directive.d.ts +5 -0
- package/lib/components/data-display/badge/model/badge.types.d.ts +6 -0
- package/lib/components/data-display/card/component/card.component.d.ts +10 -0
- package/lib/components/data-display/card/directives/card-actions.directive.d.ts +5 -0
- package/lib/components/data-display/card/directives/card-content.directive.d.ts +5 -0
- package/lib/components/data-display/card/directives/card-description.directive.d.ts +5 -0
- package/lib/components/data-display/card/directives/card-footer.directive.d.ts +6 -0
- package/lib/components/data-display/card/directives/card-header.directive.d.ts +5 -0
- package/lib/components/data-display/card/directives/card-media.directive.d.ts +5 -0
- package/lib/components/data-display/card/directives/card-title.directive.d.ts +5 -0
- package/lib/components/data-display/card/model/card.types.d.ts +4 -0
- package/lib/components/feedback/alert/component/alert-actions.component.d.ts +5 -0
- package/lib/components/feedback/alert/component/alert.component.d.ts +26 -0
- package/lib/components/feedback/alert/directives/alert-description.directive.d.ts +5 -0
- package/lib/components/feedback/alert/directives/alert-title.directive.d.ts +5 -0
- package/lib/components/feedback/alert/model/alert.types.d.ts +5 -0
- package/lib/components/feedback/skeleton/component/skeleton.component.d.ts +17 -0
- package/lib/components/feedback/skeleton/model/skeleton.types.d.ts +5 -0
- package/lib/components/forms/checkbox/component/checkbox.component.d.ts +70 -0
- package/lib/components/forms/checkbox/model/checkbox.types.d.ts +5 -0
- package/lib/components/forms/checkbox-group/component/checkbox-group.component.d.ts +123 -0
- package/lib/components/forms/checkbox-group/model/checkbox-group.types.d.ts +5 -0
- package/lib/components/forms/email-field/component/email-field.component.d.ts +66 -0
- package/lib/components/forms/email-field/model/email-field.types.d.ts +6 -0
- package/lib/components/forms/email-field/validators/email-field.validators.d.ts +8 -0
- package/lib/components/forms/form-field/component/form-error.component.d.ts +5 -0
- package/lib/components/forms/form-field/component/form-field.component.d.ts +90 -0
- package/lib/components/forms/form-field/component/form-hint.component.d.ts +5 -0
- package/lib/components/forms/form-field/component/form-label.component.d.ts +5 -0
- package/lib/components/forms/form-field/directives/form-field-trigger.directive.d.ts +5 -0
- package/lib/components/forms/form-field/directives/form-prefix.directive.d.ts +5 -0
- package/lib/components/forms/form-field/directives/form-suffix.directive.d.ts +5 -0
- package/lib/components/forms/form-field/index.d.ts +8 -0
- package/lib/components/forms/form-field/model/form-control.contract.d.ts +11 -0
- package/lib/components/forms/form-field/model/form-field.types.d.ts +5 -0
- package/lib/components/forms/input/directives/input.directive.d.ts +37 -0
- package/lib/components/forms/input/index.d.ts +2 -0
- package/lib/components/forms/input/model/input.defaults.d.ts +2 -0
- package/lib/components/forms/input/model/input.types.d.ts +4 -0
- package/lib/components/forms/multi-select/component/multi-select.component.d.ts +202 -0
- package/lib/components/forms/multi-select/model/multi-select.types.d.ts +5 -0
- package/lib/components/forms/option/component/option.component.d.ts +58 -0
- package/lib/components/forms/option/directives/option-slots.directive.d.ts +21 -0
- package/lib/components/forms/option/index.d.ts +3 -0
- package/lib/components/forms/option/model/option.types.d.ts +3 -0
- package/lib/components/forms/option-group/component/option-group.component.d.ts +32 -0
- package/lib/components/forms/option-group/index.d.ts +2 -0
- package/lib/components/forms/option-group/model/option-group.types.d.ts +2 -0
- package/lib/components/forms/password-field/component/password-field.component.d.ts +81 -0
- package/lib/components/forms/password-field/model/password-field-constants.d.ts +4 -0
- package/lib/components/forms/password-field/model/password-field.types.d.ts +6 -0
- package/lib/components/forms/password-field/model/password-policy.types.d.ts +10 -0
- package/lib/components/forms/password-field/model/password-strength.d.ts +2 -0
- package/lib/components/forms/password-field/validators/password.validator.d.ts +3 -0
- package/lib/components/forms/radio/component/radio.component.d.ts +68 -0
- package/lib/components/forms/radio/model/radio.types.d.ts +4 -0
- package/lib/components/forms/radio-group/component/radio-group.component.d.ts +86 -0
- package/lib/components/forms/radio-group/model/radio-group.token.d.ts +2 -0
- package/lib/components/forms/radio-group/model/radio-group.types.d.ts +5 -0
- package/lib/components/forms/select/component/select.component.d.ts +158 -0
- package/lib/components/forms/select/model/select.types.d.ts +4 -0
- package/lib/components/forms/switch/component/switch.component.d.ts +66 -0
- package/lib/components/forms/switch/index.d.ts +2 -0
- package/lib/components/forms/switch/model/switch.types.d.ts +4 -0
- package/lib/components/forms/switch-group/component/switch-group.component.d.ts +91 -0
- package/lib/components/forms/switch-group/model/switch-group.types.d.ts +5 -0
- package/lib/components/forms/textarea/directives/textarea.directive.d.ts +37 -0
- package/lib/components/forms/textarea/model/textarea.types.d.ts +5 -0
- package/lib/components/icon/component/solaris-icon.component.d.ts +13 -0
- package/lib/components/icon/index.d.ts +1 -0
- package/lib/components/interaction/popover/component/popover-panel.component.d.ts +10 -0
- package/lib/components/interaction/popover/directives/popover-trigger.directive.d.ts +65 -0
- package/lib/components/interaction/popover/directives/popover.directive.d.ts +7 -0
- package/lib/components/interaction/popover/index.d.ts +4 -0
- package/lib/components/interaction/popover/model/popover-position.d.ts +4 -0
- package/lib/components/interaction/popover/model/popover.types.d.ts +7 -0
- package/lib/components/interaction/popover/token/popover.tokens.d.ts +12 -0
- package/lib/components/interaction/tooltip/component/tooltip-panel.component.d.ts +9 -0
- package/lib/components/interaction/tooltip/directive/tooltip.directive.d.ts +80 -0
- package/lib/components/interaction/tooltip/index.d.ts +3 -0
- package/lib/components/interaction/tooltip/model/tooltip-position.d.ts +5 -0
- package/lib/components/interaction/tooltip/model/tooltip.types.d.ts +22 -0
- package/lib/components/interaction/tooltip/token/tooltip.tokens.d.ts +21 -0
- package/lib/services/accessibility/directives/visually-hidden.directive.d.ts +5 -0
- package/lib/services/accessibility/model/solaris-accessibility-config.interface.d.ts +4 -0
- package/lib/services/accessibility/model/solaris-accessibility.types.d.ts +5 -0
- package/lib/services/accessibility/provider/provide-solaris-accessibility.d.ts +3 -0
- package/lib/services/accessibility/service/solaris-accessibility.service.d.ts +15 -0
- package/lib/services/accessibility/testing/solaris-accessibility-testing.provider.d.ts +3 -0
- package/lib/services/accessibility/token/solaris-accessibility.tokens.d.ts +3 -0
- package/lib/services/icon/icons/index.d.ts +1 -0
- package/lib/services/icon/icons/solaris-built-in-icons.d.ts +2 -0
- package/lib/services/icon/index.d.ts +8 -0
- package/lib/services/icon/model/solaris-icon-definition.interface.d.ts +36 -0
- package/lib/services/icon/model/solaris-icon.types.d.ts +4 -0
- package/lib/services/icon/provider/provide-solaris-icons.d.ts +3 -0
- package/lib/services/icon/service/solaris-icon-registry.service.d.ts +12 -0
- package/lib/services/icon/token/solaris-icon.tokens.d.ts +6 -0
- package/lib/services/theme/model/solaris-theme-config.interface.d.ts +5 -0
- package/lib/services/theme/model/solaris-theme.types.d.ts +3 -0
- package/lib/services/theme/provider/provide-solaris-theme.d.ts +3 -0
- package/lib/services/theme/service/solaris-theme.service.d.ts +9 -0
- package/lib/services/theme/testing/solaris-theme-testing.provider.d.ts +3 -0
- package/lib/services/theme/token/solaris-theme.tokens.d.ts +3 -0
- package/lib/services/translation/index.d.ts +8 -0
- package/lib/services/translation/model/solaris-locale.types.d.ts +4 -0
- package/lib/services/translation/model/solaris-translate-config.interface.d.ts +8 -0
- package/lib/services/translation/model/solaris-translate-defaults.d.ts +2 -0
- package/lib/services/translation/model/solaris-translation.types.d.ts +3 -0
- package/lib/services/translation/pipe/solaris-translate.pipe.d.ts +8 -0
- package/lib/services/translation/provider/provide-solaris-translate.d.ts +3 -0
- package/lib/services/translation/service/solaris-translate.service.d.ts +15 -0
- package/lib/services/translation/testing/solaris-translate-testing.provider.d.ts +3 -0
- package/lib/services/translation/token/solaris-translate.tokens.d.ts +3 -0
- package/lib/testing/provide-solaris-testing.d.ts +10 -0
- package/lib/testing/solaris-test-utilities.d.ts +3 -0
- package/package.json +9 -5
- package/styles/_button.scss +50 -220
- package/styles/_core.scss +37 -37
- package/styles/_icon-button.scss +43 -219
- package/styles/_index.scss +19 -19
- package/styles/_input.scss +255 -0
- package/styles/_popover.scss +68 -0
- package/styles/_theme.scss +36 -36
- package/styles/_tooltip.scss +3 -0
- package/fesm2022/educarehq-solaris-ui.mjs +0 -1047
- package/fesm2022/educarehq-solaris-ui.mjs.map +0 -1
- package/types/educarehq-solaris-ui.d.ts +0 -408
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { SolarisPopoverDirective } from './directives/popover.directive';
|
|
2
|
+
export { SolarisPopoverTriggerDirective } from './directives/popover-trigger.directive';
|
|
3
|
+
export { SolarisPopoverPanelComponent } from './component/popover-panel.component';
|
|
4
|
+
export type { SolarisPopoverPlacement, SolarisPopoverAlign, SolarisPopoverAppearance, SolarisPopoverPadding, SolarisPopoverRadius, SolarisPopoverScrollStrategy, SolarisPopoverAutoFocus, } from './model/popover.types';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ConnectedPosition } from '@angular/cdk/overlay';
|
|
2
|
+
import type { SolarisPopoverPlacement, SolarisPopoverAlign } from './popover.types';
|
|
3
|
+
export declare function getPrimaryPosition(placement: SolarisPopoverPlacement, align: SolarisPopoverAlign): ConnectedPosition;
|
|
4
|
+
export declare function getFallbackPositions(placement: SolarisPopoverPlacement, align: SolarisPopoverAlign): ConnectedPosition[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type SolarisPopoverPlacement = 'top' | 'right' | 'bottom' | 'left';
|
|
2
|
+
export type SolarisPopoverAlign = 'start' | 'center' | 'end';
|
|
3
|
+
export type SolarisPopoverAppearance = 'surface' | 'outline';
|
|
4
|
+
export type SolarisPopoverPadding = 'none' | 'sm' | 'md' | 'lg';
|
|
5
|
+
export type SolarisPopoverRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
export type SolarisPopoverScrollStrategy = 'reposition' | 'close' | 'block';
|
|
7
|
+
export type SolarisPopoverAutoFocus = false | 'panel' | 'first-tabbable';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
+
export interface SolarisPopoverPanelData {
|
|
3
|
+
contentTemplate: TemplateRef<unknown>;
|
|
4
|
+
appearance: string;
|
|
5
|
+
padding: string;
|
|
6
|
+
radius: string;
|
|
7
|
+
role: string | undefined | null;
|
|
8
|
+
panelId: string;
|
|
9
|
+
autoFocus: string | boolean;
|
|
10
|
+
connectedSide?: 'top' | 'bottom';
|
|
11
|
+
}
|
|
12
|
+
export declare const SOLARIS_POPOVER_PANEL_DATA: InjectionToken<SolarisPopoverPanelData>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type SolarisTooltipPanelData } from '../token/tooltip.tokens';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SolarisTooltipPanelComponent {
|
|
4
|
+
readonly data: SolarisTooltipPanelData;
|
|
5
|
+
private readonly cdr;
|
|
6
|
+
updatePlacement(placement: string, arrowClass: string): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SolarisTooltipPanelComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SolarisTooltipPanelComponent, "solaris-tooltip-panel", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { TemplateRef, AfterViewInit } from '@angular/core';
|
|
2
|
+
import type { SolarisTooltipPlacement, SolarisTooltipTrigger, SolarisTooltipAppearance, SolarisTooltipSize, SolarisTooltipRadius } from '../model/tooltip.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SolarisTooltipDirective implements AfterViewInit {
|
|
5
|
+
private readonly overlay;
|
|
6
|
+
private readonly elementRef;
|
|
7
|
+
private readonly viewContainerRef;
|
|
8
|
+
private readonly injector;
|
|
9
|
+
private readonly document;
|
|
10
|
+
private readonly destroyRef;
|
|
11
|
+
private readonly translate;
|
|
12
|
+
private readonly ngZone;
|
|
13
|
+
protected readonly panelId: string;
|
|
14
|
+
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
protected readonly isClickTrigger: import("@angular/core").Signal<boolean>;
|
|
16
|
+
private overlayRef;
|
|
17
|
+
private outsideClickCleanup;
|
|
18
|
+
private previousActiveElement;
|
|
19
|
+
private hoverTimeout;
|
|
20
|
+
private isHovered;
|
|
21
|
+
private isFocused;
|
|
22
|
+
private tooltipComponentRef;
|
|
23
|
+
private positionChangesSub;
|
|
24
|
+
private currentPlacement;
|
|
25
|
+
readonly solarisTooltip: import("@angular/core").InputSignal<string | undefined>;
|
|
26
|
+
readonly solarisTooltipKey: import("@angular/core").InputSignal<string | undefined>;
|
|
27
|
+
readonly solarisTooltipFor: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
28
|
+
readonly solarisTooltipTitle: import("@angular/core").InputSignal<string | undefined>;
|
|
29
|
+
readonly solarisTooltipTitleKey: import("@angular/core").InputSignal<string | undefined>;
|
|
30
|
+
readonly solarisTooltipIcon: import("@angular/core").InputSignal<string | undefined>;
|
|
31
|
+
readonly solarisTooltipIconDecorative: import("@angular/core").InputSignalWithTransform<boolean, boolean>;
|
|
32
|
+
readonly solarisTooltipTrigger: import("@angular/core").InputSignal<SolarisTooltipTrigger>;
|
|
33
|
+
readonly solarisTooltipPlacement: import("@angular/core").InputSignal<SolarisTooltipPlacement>;
|
|
34
|
+
readonly solarisTooltipOffset: import("@angular/core").InputSignalWithTransform<number, string | number>;
|
|
35
|
+
readonly solarisTooltipDisabled: import("@angular/core").InputSignalWithTransform<boolean, boolean>;
|
|
36
|
+
readonly solarisTooltipCloseable: import("@angular/core").InputSignalWithTransform<boolean, boolean>;
|
|
37
|
+
readonly solarisTooltipCloseLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
38
|
+
readonly solarisTooltipCloseLabelKey: import("@angular/core").InputSignal<string | undefined>;
|
|
39
|
+
readonly solarisTooltipShowDelay: import("@angular/core").InputSignalWithTransform<number, string | number>;
|
|
40
|
+
readonly solarisTooltipHideDelay: import("@angular/core").InputSignalWithTransform<number, string | number>;
|
|
41
|
+
readonly solarisTooltipAppearance: import("@angular/core").InputSignal<SolarisTooltipAppearance>;
|
|
42
|
+
readonly solarisTooltipSize: import("@angular/core").InputSignal<SolarisTooltipSize>;
|
|
43
|
+
readonly solarisTooltipRadius: import("@angular/core").InputSignal<SolarisTooltipRadius>;
|
|
44
|
+
readonly solarisTooltipMaxWidth: import("@angular/core").InputSignal<string | number>;
|
|
45
|
+
readonly solarisTooltipArrow: import("@angular/core").InputSignalWithTransform<boolean, boolean>;
|
|
46
|
+
readonly solarisTooltipOpen: import("@angular/core").InputSignal<boolean | undefined>;
|
|
47
|
+
readonly solarisTooltipOpened: import("@angular/core").OutputEmitterRef<void>;
|
|
48
|
+
readonly solarisTooltipClosed: import("@angular/core").OutputEmitterRef<void>;
|
|
49
|
+
readonly solarisTooltipOpenChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
50
|
+
constructor();
|
|
51
|
+
ngAfterViewInit(): void;
|
|
52
|
+
onMouseEnter(): void;
|
|
53
|
+
onMouseLeave(): void;
|
|
54
|
+
onFocusIn(): void;
|
|
55
|
+
onFocusOut(): void;
|
|
56
|
+
onClick(): void;
|
|
57
|
+
onEscape(): void;
|
|
58
|
+
open(): void;
|
|
59
|
+
close(): void;
|
|
60
|
+
toggle(): void;
|
|
61
|
+
reposition(): void;
|
|
62
|
+
private getResolvedBody;
|
|
63
|
+
private getResolvedTitle;
|
|
64
|
+
private getResolvedCloseLabel;
|
|
65
|
+
private scheduleOpen;
|
|
66
|
+
private scheduleClose;
|
|
67
|
+
private clearHoverTimeout;
|
|
68
|
+
private createOverlay;
|
|
69
|
+
private createPositionStrategy;
|
|
70
|
+
private attachPanel;
|
|
71
|
+
private detachPanel;
|
|
72
|
+
private disposeOverlay;
|
|
73
|
+
private addOutsideClickHandler;
|
|
74
|
+
private removeOutsideClickHandler;
|
|
75
|
+
private readonly handleOutsideClick;
|
|
76
|
+
private rendererListen;
|
|
77
|
+
private restoreFocus;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SolarisTooltipDirective, never>;
|
|
79
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SolarisTooltipDirective, "[solaris-tooltip], [solarisTooltip], [solarisTooltipFor]", ["solarisTooltip"], { "solarisTooltip": { "alias": "solarisTooltip"; "required": false; "isSignal": true; }; "solarisTooltipKey": { "alias": "solarisTooltipKey"; "required": false; "isSignal": true; }; "solarisTooltipFor": { "alias": "solarisTooltipFor"; "required": false; "isSignal": true; }; "solarisTooltipTitle": { "alias": "solarisTooltipTitle"; "required": false; "isSignal": true; }; "solarisTooltipTitleKey": { "alias": "solarisTooltipTitleKey"; "required": false; "isSignal": true; }; "solarisTooltipIcon": { "alias": "solarisTooltipIcon"; "required": false; "isSignal": true; }; "solarisTooltipIconDecorative": { "alias": "solarisTooltipIconDecorative"; "required": false; "isSignal": true; }; "solarisTooltipTrigger": { "alias": "solarisTooltipTrigger"; "required": false; "isSignal": true; }; "solarisTooltipPlacement": { "alias": "solarisTooltipPlacement"; "required": false; "isSignal": true; }; "solarisTooltipOffset": { "alias": "solarisTooltipOffset"; "required": false; "isSignal": true; }; "solarisTooltipDisabled": { "alias": "solarisTooltipDisabled"; "required": false; "isSignal": true; }; "solarisTooltipCloseable": { "alias": "solarisTooltipCloseable"; "required": false; "isSignal": true; }; "solarisTooltipCloseLabel": { "alias": "solarisTooltipCloseLabel"; "required": false; "isSignal": true; }; "solarisTooltipCloseLabelKey": { "alias": "solarisTooltipCloseLabelKey"; "required": false; "isSignal": true; }; "solarisTooltipShowDelay": { "alias": "solarisTooltipShowDelay"; "required": false; "isSignal": true; }; "solarisTooltipHideDelay": { "alias": "solarisTooltipHideDelay"; "required": false; "isSignal": true; }; "solarisTooltipAppearance": { "alias": "solarisTooltipAppearance"; "required": false; "isSignal": true; }; "solarisTooltipSize": { "alias": "solarisTooltipSize"; "required": false; "isSignal": true; }; "solarisTooltipRadius": { "alias": "solarisTooltipRadius"; "required": false; "isSignal": true; }; "solarisTooltipMaxWidth": { "alias": "solarisTooltipMaxWidth"; "required": false; "isSignal": true; }; "solarisTooltipArrow": { "alias": "solarisTooltipArrow"; "required": false; "isSignal": true; }; "solarisTooltipOpen": { "alias": "solarisTooltipOpen"; "required": false; "isSignal": true; }; }, { "solarisTooltipOpened": "solarisTooltipOpened"; "solarisTooltipClosed": "solarisTooltipClosed"; "solarisTooltipOpenChange": "solarisTooltipOpenChange"; }, never, never, true, never>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { SolarisTooltipDirective } from './directive/tooltip.directive';
|
|
2
|
+
export { SolarisTooltipPanelComponent } from './component/tooltip-panel.component';
|
|
3
|
+
export type { SolarisTooltipPlacement, SolarisTooltipTrigger, SolarisTooltipAppearance, SolarisTooltipSize, SolarisTooltipRadius, SolarisTooltipConfig, } from './model/tooltip.types';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ConnectedPosition, ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
2
|
+
import type { SolarisTooltipPlacement } from './tooltip.types';
|
|
3
|
+
export declare function getTooltipPositions(placement: SolarisTooltipPlacement, offset: number): ConnectedPosition[];
|
|
4
|
+
export declare function getTooltipArrowClass(placement: SolarisTooltipPlacement): string;
|
|
5
|
+
export declare function derivePlacementFromConnectionPair(pair: ConnectionPositionPair): SolarisTooltipPlacement;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type SolarisTooltipPlacement = 'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'right-start' | 'right-end' | 'left-start' | 'left-end';
|
|
2
|
+
export type SolarisTooltipTrigger = 'hover' | 'click' | 'manual';
|
|
3
|
+
export type SolarisTooltipAppearance = 'outline' | 'surface' | 'inverse';
|
|
4
|
+
export type SolarisTooltipSize = 'sm' | 'md' | 'lg';
|
|
5
|
+
export type SolarisTooltipRadius = 'sm' | 'md' | 'lg';
|
|
6
|
+
export interface SolarisTooltipConfig {
|
|
7
|
+
placement?: SolarisTooltipPlacement;
|
|
8
|
+
offset?: number;
|
|
9
|
+
appearance?: SolarisTooltipAppearance;
|
|
10
|
+
size?: SolarisTooltipSize;
|
|
11
|
+
radius?: SolarisTooltipRadius;
|
|
12
|
+
maxWidth?: string | number;
|
|
13
|
+
arrow?: boolean;
|
|
14
|
+
trigger?: SolarisTooltipTrigger;
|
|
15
|
+
closeable?: boolean;
|
|
16
|
+
showDelay?: number;
|
|
17
|
+
hideDelay?: number;
|
|
18
|
+
closeOnEscape?: boolean;
|
|
19
|
+
closeOnOutsideClick?: boolean;
|
|
20
|
+
restoreFocus?: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
+
export interface SolarisTooltipPanelData {
|
|
3
|
+
title: string | undefined;
|
|
4
|
+
body: string | undefined;
|
|
5
|
+
icon: string | undefined;
|
|
6
|
+
iconDecorative: boolean;
|
|
7
|
+
contentTemplate: TemplateRef<unknown> | undefined;
|
|
8
|
+
appearance: string;
|
|
9
|
+
size: string;
|
|
10
|
+
radius: string;
|
|
11
|
+
maxWidth: string | number;
|
|
12
|
+
arrow: boolean;
|
|
13
|
+
arrowClass: string;
|
|
14
|
+
closeable: boolean;
|
|
15
|
+
closeLabel: string;
|
|
16
|
+
panelId: string;
|
|
17
|
+
placement: string;
|
|
18
|
+
trigger: string;
|
|
19
|
+
close: () => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const SOLARIS_TOOLTIP_PANEL_DATA: InjectionToken<SolarisTooltipPanelData>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SolarisVisuallyHiddenDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SolarisVisuallyHiddenDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SolarisVisuallyHiddenDirective, "[solaris-visually-hidden]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type Signal } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SolarisAccessibilityService {
|
|
4
|
+
private readonly config;
|
|
5
|
+
private readonly platformId;
|
|
6
|
+
private readonly reducedMotionSignal;
|
|
7
|
+
constructor();
|
|
8
|
+
get reducedMotion(): Signal<boolean>;
|
|
9
|
+
get reducedMotionValue(): boolean;
|
|
10
|
+
generateId(prefix: string): string;
|
|
11
|
+
generateDescriptionId(): string;
|
|
12
|
+
labelledBy(...ids: string[]): string | null;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SolarisAccessibilityService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SolarisAccessibilityService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SOLARIS_BUILT_IN_ICONS } from './solaris-built-in-icons';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { SolarisIconRegistryService } from './service/solaris-icon-registry.service';
|
|
2
|
+
export { SOLARIS_BUILT_IN_ICONS } from './icons/solaris-built-in-icons';
|
|
3
|
+
export { provideSolarisIcons } from './provider/provide-solaris-icons';
|
|
4
|
+
export { SOLARIS_ICONS_CONFIG } from './token/solaris-icon.tokens';
|
|
5
|
+
export type { SolarisIconDefinition } from './model/solaris-icon-definition.interface';
|
|
6
|
+
export type { SvgElement, SvgPathElement, SvgLineElement, SvgPolylineElement, SvgPolygonElement, SvgCircleElement, } from './model/solaris-icon-definition.interface';
|
|
7
|
+
export type { SolarisIconName, SolarisBuiltInIcon, } from './model/solaris-icon.types';
|
|
8
|
+
export type { SolarisIconsConfig } from './token/solaris-icon.tokens';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface SvgPathElement {
|
|
2
|
+
type: 'path';
|
|
3
|
+
d: string;
|
|
4
|
+
}
|
|
5
|
+
export interface SvgLineElement {
|
|
6
|
+
type: 'line';
|
|
7
|
+
x1: number;
|
|
8
|
+
y1: number;
|
|
9
|
+
x2: number;
|
|
10
|
+
y2: number;
|
|
11
|
+
}
|
|
12
|
+
export interface SvgPolylineElement {
|
|
13
|
+
type: 'polyline';
|
|
14
|
+
points: string;
|
|
15
|
+
}
|
|
16
|
+
export interface SvgPolygonElement {
|
|
17
|
+
type: 'polygon';
|
|
18
|
+
points: string;
|
|
19
|
+
}
|
|
20
|
+
export interface SvgCircleElement {
|
|
21
|
+
type: 'circle';
|
|
22
|
+
cx: number;
|
|
23
|
+
cy: number;
|
|
24
|
+
r: number;
|
|
25
|
+
}
|
|
26
|
+
export type SvgElement = SvgPathElement | SvgLineElement | SvgPolylineElement | SvgPolygonElement | SvgCircleElement;
|
|
27
|
+
export interface SolarisIconDefinition {
|
|
28
|
+
name: string;
|
|
29
|
+
viewBox: string;
|
|
30
|
+
fill?: string;
|
|
31
|
+
stroke?: string;
|
|
32
|
+
strokeWidth?: number;
|
|
33
|
+
strokeLinecap?: string;
|
|
34
|
+
strokeLinejoin?: string;
|
|
35
|
+
elements: SvgElement[];
|
|
36
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type SolarisBuiltInIcon = 'check' | 'x' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'chevron-forward' | 'chevron-backward' | 'chevron-first' | 'chevron-last' | 'info' | 'warning' | 'danger' | 'caution' | 'success' | 'shield-check' | 'sun' | 'moon' | 'globe';
|
|
2
|
+
export type SolarisIconName = string & {
|
|
3
|
+
__brand?: never;
|
|
4
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SolarisIconDefinition } from '../model/solaris-icon-definition.interface';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SolarisIconRegistryService {
|
|
4
|
+
private readonly registry;
|
|
5
|
+
constructor();
|
|
6
|
+
getIcon(name: string): SolarisIconDefinition | undefined;
|
|
7
|
+
hasIcon(name: string): boolean;
|
|
8
|
+
registerIcon(icon: SolarisIconDefinition): void;
|
|
9
|
+
registerIcons(icons: SolarisIconDefinition[]): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SolarisIconRegistryService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SolarisIconRegistryService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import type { SolarisIconDefinition } from '../model/solaris-icon-definition.interface';
|
|
3
|
+
export interface SolarisIconsConfig {
|
|
4
|
+
extraIcons?: SolarisIconDefinition[];
|
|
5
|
+
}
|
|
6
|
+
export declare const SOLARIS_ICONS_CONFIG: InjectionToken<SolarisIconsConfig>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SolarisThemeService {
|
|
3
|
+
private readonly config;
|
|
4
|
+
get colorScheme(): string;
|
|
5
|
+
get density(): string;
|
|
6
|
+
get reducedMotion(): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SolarisThemeService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SolarisThemeService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { provideSolarisTranslateTesting } from './testing/solaris-translate-testing.provider';
|
|
2
|
+
export { provideSolarisTranslate } from './provider/provide-solaris-translate';
|
|
3
|
+
export { SolarisTranslateService } from './service/solaris-translate.service';
|
|
4
|
+
export { SolarisTranslatePipe } from './pipe/solaris-translate.pipe';
|
|
5
|
+
export { SOLARIS_TRANSLATE_CONFIG } from './token/solaris-translate.tokens';
|
|
6
|
+
export type { SolarisTranslationMap, SolarisTranslations, SolarisTranslateParams, } from './model/solaris-translation.types';
|
|
7
|
+
export type { SolarisTranslateConfig } from './model/solaris-translate-config.interface';
|
|
8
|
+
export type { SolarisBuiltInLocale, SolarisLocale, } from './model/solaris-locale.types';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SolarisTranslations } from './solaris-translation.types';
|
|
2
|
+
import type { SolarisLocale } from './solaris-locale.types';
|
|
3
|
+
export interface SolarisTranslateConfig {
|
|
4
|
+
locale: SolarisLocale;
|
|
5
|
+
fallbackLocale: SolarisLocale;
|
|
6
|
+
translations: SolarisTranslations;
|
|
7
|
+
useBrowserLocale?: boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SolarisTranslatePipe implements PipeTransform {
|
|
4
|
+
private readonly translateService;
|
|
5
|
+
transform(key: string, params?: Record<string, string | number | boolean>): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SolarisTranslatePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SolarisTranslatePipe, "translate", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { SolarisLocale } from '../model/solaris-locale.types';
|
|
2
|
+
import type { SolarisTranslateParams } from '../model/solaris-translation.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SolarisTranslateService {
|
|
5
|
+
private readonly platformId;
|
|
6
|
+
private readonly config;
|
|
7
|
+
get locale(): SolarisLocale;
|
|
8
|
+
get fallbackLocale(): SolarisLocale;
|
|
9
|
+
translate(key: string, params?: SolarisTranslateParams): string;
|
|
10
|
+
private resolveLocale;
|
|
11
|
+
private escapeRegExp;
|
|
12
|
+
private interpolate;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SolarisTranslateService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SolarisTranslateService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
import type { SolarisAccessibilityConfig } from '../services/accessibility/model/solaris-accessibility-config.interface';
|
|
3
|
+
import type { SolarisThemeConfig } from '../services/theme/model/solaris-theme-config.interface';
|
|
4
|
+
import type { SolarisTranslateConfig } from '../services/translation/model/solaris-translate-config.interface';
|
|
5
|
+
export interface SolarisTestingOptions {
|
|
6
|
+
accessibility?: SolarisAccessibilityConfig;
|
|
7
|
+
theme?: Partial<SolarisThemeConfig>;
|
|
8
|
+
translate?: Partial<SolarisTranslateConfig>;
|
|
9
|
+
}
|
|
10
|
+
export declare function provideSolarisTesting(options?: SolarisTestingOptions): Provider[];
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@educarehq/solaris-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
+
"@angular/cdk": "^21.2.0",
|
|
5
6
|
"@angular/common": "^21.2.0",
|
|
6
7
|
"@angular/core": "^21.2.0",
|
|
8
|
+
"@angular/forms": "^21.2.0",
|
|
9
|
+
"@angular/platform-browser": "~21.2.0",
|
|
10
|
+
"rxjs": "^7.8.0",
|
|
7
11
|
"vitest": "^4.0.8"
|
|
8
12
|
},
|
|
9
13
|
"peerDependenciesMeta": {
|
|
@@ -21,12 +25,12 @@
|
|
|
21
25
|
"default": "./package.json"
|
|
22
26
|
},
|
|
23
27
|
".": {
|
|
24
|
-
"types": "./
|
|
25
|
-
"default": "./
|
|
28
|
+
"types": "./educarehq-solaris-ui.d.ts",
|
|
29
|
+
"default": "./esm2022/educarehq-solaris-ui.js"
|
|
26
30
|
}
|
|
27
31
|
},
|
|
28
|
-
"module": "
|
|
29
|
-
"typings": "
|
|
32
|
+
"module": "esm2022/educarehq-solaris-ui.js",
|
|
33
|
+
"typings": "educarehq-solaris-ui.d.ts",
|
|
30
34
|
"type": "module",
|
|
31
35
|
"dependencies": {
|
|
32
36
|
"tslib": "^2.3.0"
|