@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
package/styles/_button.scss
CHANGED
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
--solaris-button-gap: initial;
|
|
3
3
|
--solaris-button-color: initial;
|
|
4
4
|
--solaris-button-radius: initial;
|
|
5
|
+
--solaris-button-height: initial;
|
|
5
6
|
--solaris-button-padding-x: initial;
|
|
6
7
|
--solaris-button-padding-y: initial;
|
|
7
|
-
--solaris-button-height: initial;
|
|
8
8
|
--solaris-button-min-width: initial;
|
|
9
9
|
--solaris-button-font-size: initial;
|
|
10
|
-
--solaris-button-font-weight: initial;
|
|
11
10
|
--solaris-button-icon-size: initial;
|
|
12
11
|
--solaris-button-background: initial;
|
|
12
|
+
--solaris-button-font-weight: initial;
|
|
13
13
|
--solaris-button-border-color: initial;
|
|
14
14
|
--solaris-button-border-width: initial;
|
|
15
|
+
--solaris-button-disabled-opacity: 0.5;
|
|
15
16
|
--solaris-button-hover-background: initial;
|
|
16
|
-
--solaris-button-
|
|
17
|
+
--solaris-button-focus-ring-color: initial;
|
|
17
18
|
--solaris-button-active-background: initial;
|
|
19
|
+
--solaris-button-hover-border-color: initial;
|
|
18
20
|
--solaris-button-active-border-color: initial;
|
|
19
|
-
--solaris-button-focus-ring-color: initial;
|
|
20
|
-
--solaris-button-disabled-opacity: 0.5;
|
|
21
21
|
|
|
22
22
|
--solaris-button-custom-color: initial;
|
|
23
23
|
--solaris-button-custom-background: initial;
|
|
24
24
|
--solaris-button-custom-border-color: initial;
|
|
25
25
|
--solaris-button-custom-hover-background: initial;
|
|
26
|
-
--solaris-button-custom-hover-border-color: initial;
|
|
27
26
|
--solaris-button-custom-active-background: initial;
|
|
27
|
+
--solaris-button-custom-hover-border-color: initial;
|
|
28
28
|
--solaris-button-custom-active-border-color: initial;
|
|
29
29
|
|
|
30
30
|
cursor: pointer;
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
gap: var(--solaris-button-gap);
|
|
38
38
|
color: var(--solaris-button-color);
|
|
39
39
|
height: var(--solaris-button-height);
|
|
40
|
+
line-height: var(--solaris-line-height-sm);
|
|
40
41
|
min-width: var(--solaris-button-min-width);
|
|
41
42
|
font-size: var(--solaris-button-font-size);
|
|
42
43
|
border-radius: var(--solaris-button-radius);
|
|
43
44
|
background: var(--solaris-button-background);
|
|
44
45
|
font-weight: var(--solaris-button-font-weight);
|
|
46
|
+
font-family: var(--solaris-font-family-sans), system-ui;
|
|
45
47
|
padding: var(--solaris-button-padding-y) var(--solaris-button-padding-x);
|
|
46
48
|
border: var(--solaris-button-border-width) solid
|
|
47
49
|
var(--solaris-button-border-color);
|
|
48
|
-
line-height: var(--solaris-line-height-sm, 1.25);
|
|
49
|
-
font-family: var(--solaris-font-family-sans), system-ui;
|
|
50
50
|
transition:
|
|
51
51
|
background var(--solaris-motion-duration-normal, 250ms)
|
|
52
52
|
var(--solaris-motion-easing-standard, ease),
|
|
@@ -143,8 +143,8 @@
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
[solaris-button][data-appearance='outline'] {
|
|
146
|
-
--solaris-button-border-width: 1px;
|
|
147
146
|
--solaris-button-background: transparent;
|
|
147
|
+
--solaris-button-border-width: var(--solaris-border-width-sm);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
[solaris-button][data-appearance='ghost'] {
|
|
@@ -154,135 +154,13 @@
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
[solaris-button][data-appearance='tonal'] {
|
|
157
|
-
--solaris-button-border-width:
|
|
157
|
+
--solaris-button-border-width: var(--solaris-border-width-sm);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
[solaris-button][data-appearance='surface'] {
|
|
161
161
|
--solaris-button-border-width: 0;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
[solaris-button][data-appearance='glass'] {
|
|
165
|
-
--solaris-button-border-width: 1px;
|
|
166
|
-
--solaris-button-glass-blur: 22px;
|
|
167
|
-
|
|
168
|
-
// SOLARIS_TOKEN_EXCEPTION: glass appearance requires translucent rgba values for frosted glass effect.
|
|
169
|
-
--solaris-button-background:
|
|
170
|
-
linear-gradient(
|
|
171
|
-
135deg,
|
|
172
|
-
rgba(255, 255, 255, 0.24) 0%,
|
|
173
|
-
rgba(255, 255, 255, 0.1) 34%,
|
|
174
|
-
rgba(255, 255, 255, 0.04) 100%
|
|
175
|
-
),
|
|
176
|
-
rgba(24, 20, 18, 0.34);
|
|
177
|
-
|
|
178
|
-
// SOLARIS_TOKEN_EXCEPTION: glass appearance requires translucent rgba values for frosted glass effect.
|
|
179
|
-
--solaris-button-hover-background:
|
|
180
|
-
linear-gradient(
|
|
181
|
-
135deg,
|
|
182
|
-
rgba(255, 255, 255, 0.3) 0%,
|
|
183
|
-
rgba(255, 255, 255, 0.14) 34%,
|
|
184
|
-
rgba(255, 255, 255, 0.06) 100%
|
|
185
|
-
),
|
|
186
|
-
rgba(24, 20, 18, 0.4);
|
|
187
|
-
|
|
188
|
-
// SOLARIS_TOKEN_EXCEPTION: glass appearance requires translucent rgba values for frosted glass effect.
|
|
189
|
-
--solaris-button-active-background:
|
|
190
|
-
linear-gradient(
|
|
191
|
-
135deg,
|
|
192
|
-
rgba(255, 255, 255, 0.22) 0%,
|
|
193
|
-
rgba(255, 255, 255, 0.1) 34%,
|
|
194
|
-
rgba(255, 255, 255, 0.04) 100%
|
|
195
|
-
),
|
|
196
|
-
rgba(24, 20, 18, 0.46);
|
|
197
|
-
|
|
198
|
-
// SOLARIS_TOKEN_EXCEPTION: glass appearance requires translucent rgba values for frosted glass effect.
|
|
199
|
-
--solaris-button-border-color: rgba(255, 255, 255, 0.22);
|
|
200
|
-
--solaris-button-hover-border-color: rgba(255, 255, 255, 0.3);
|
|
201
|
-
--solaris-button-active-border-color: rgba(255, 255, 255, 0.26);
|
|
202
|
-
|
|
203
|
-
--solaris-button-glass-accent: rgba(255, 110, 24, 0.36);
|
|
204
|
-
--solaris-button-glass-accent-hover: rgba(255, 110, 24, 0.46);
|
|
205
|
-
|
|
206
|
-
position: relative;
|
|
207
|
-
isolation: isolate;
|
|
208
|
-
overflow: hidden;
|
|
209
|
-
|
|
210
|
-
background: var(--solaris-button-background);
|
|
211
|
-
border-color: var(--solaris-button-border-color);
|
|
212
|
-
|
|
213
|
-
// SOLARIS_TOKEN_EXCEPTION: glass appearance uses translucent rgba/box-shadow for the frosted glass depth effect.
|
|
214
|
-
box-shadow:
|
|
215
|
-
0 12px 36px rgba(0, 0, 0, 0.34),
|
|
216
|
-
inset 0 1px 0 rgba(255, 255, 255, 0.28),
|
|
217
|
-
inset 0 -1px 0 rgba(255, 255, 255, 0.06);
|
|
218
|
-
|
|
219
|
-
backdrop-filter: blur(var(--solaris-button-glass-blur)) saturate(150%)
|
|
220
|
-
contrast(108%);
|
|
221
|
-
|
|
222
|
-
-webkit-backdrop-filter: blur(var(--solaris-button-glass-blur)) saturate(150%)
|
|
223
|
-
contrast(108%);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
[solaris-button][data-appearance='glass']::before {
|
|
227
|
-
inset: 0;
|
|
228
|
-
content: '';
|
|
229
|
-
z-index: -1;
|
|
230
|
-
opacity: 0.95;
|
|
231
|
-
position: absolute;
|
|
232
|
-
pointer-events: none;
|
|
233
|
-
border-radius: inherit;
|
|
234
|
-
|
|
235
|
-
// SOLARIS_TOKEN_EXCEPTION: glass ::before requires translucent rgba for inner highlights.
|
|
236
|
-
background:
|
|
237
|
-
radial-gradient(
|
|
238
|
-
circle at 72% 58%,
|
|
239
|
-
var(--solaris-button-glass-accent),
|
|
240
|
-
transparent 42%
|
|
241
|
-
),
|
|
242
|
-
radial-gradient(
|
|
243
|
-
circle at 22% 16%,
|
|
244
|
-
rgba(255, 255, 255, 0.2),
|
|
245
|
-
transparent 34%
|
|
246
|
-
),
|
|
247
|
-
// SOLARIS_TOKEN_EXCEPTION: glass ::before requires translucent rgba for inner highlights.
|
|
248
|
-
linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 46%);
|
|
249
|
-
|
|
250
|
-
transition:
|
|
251
|
-
opacity var(--solaris-motion-duration-normal, 250ms)
|
|
252
|
-
var(--solaris-motion-easing-standard, ease),
|
|
253
|
-
filter var(--solaris-motion-duration-normal, 250ms)
|
|
254
|
-
var(--solaris-motion-easing-standard, ease);
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
[solaris-button][data-appearance='glass']:hover {
|
|
258
|
-
background: var(--solaris-button-hover-background);
|
|
259
|
-
border-color: var(--solaris-button-hover-border-color);
|
|
260
|
-
|
|
261
|
-
// SOLARIS_TOKEN_EXCEPTION: glass hover requires translucent rgba/box-shadow for the depth effect.
|
|
262
|
-
box-shadow:
|
|
263
|
-
0 14px 42px rgba(0, 0, 0, 0.38),
|
|
264
|
-
inset 0 1px 0 rgba(255, 255, 255, 0.34),
|
|
265
|
-
inset 0 -1px 0 rgba(255, 255, 255, 0.08);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
[solaris-button][data-appearance='glass']:hover::before {
|
|
269
|
-
opacity: 1;
|
|
270
|
-
filter: saturate(115%);
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
[solaris-button][data-appearance='glass']:active,
|
|
274
|
-
[solaris-button][data-appearance='glass'][data-active] {
|
|
275
|
-
transform: translateY(1px);
|
|
276
|
-
background: var(--solaris-button-active-background);
|
|
277
|
-
border-color: var(--solaris-button-active-border-color);
|
|
278
|
-
|
|
279
|
-
// SOLARIS_TOKEN_EXCEPTION: glass active requires translucent rgba/box-shadow for the depth effect.
|
|
280
|
-
box-shadow:
|
|
281
|
-
0 8px 24px rgba(0, 0, 0, 0.34),
|
|
282
|
-
inset 0 1px 0 rgba(255, 255, 255, 0.2),
|
|
283
|
-
inset 0 2px 8px rgba(0, 0, 0, 0.18);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
164
|
[solaris-button][data-color='neutral'][data-appearance='solid'] {
|
|
287
165
|
--solaris-button-color: var(--solaris-text-inverse);
|
|
288
166
|
--solaris-button-background: var(--solaris-text-default);
|
|
@@ -325,14 +203,6 @@
|
|
|
325
203
|
--solaris-button-active-background: var(--solaris-surface-subtle);
|
|
326
204
|
}
|
|
327
205
|
|
|
328
|
-
/* SOLARIS_TOKEN_EXCEPTION: glass appearance uses translucent rgba/backdrop-filter for frosted glass effect. */
|
|
329
|
-
[solaris-button][data-color='neutral'][data-appearance='glass'] {
|
|
330
|
-
--solaris-button-color: var(--solaris-text-glass);
|
|
331
|
-
--solaris-button-glass-accent: rgba(255, 110, 24, 0.36);
|
|
332
|
-
--solaris-button-glass-accent-hover: rgba(255, 110, 24, 0.46);
|
|
333
|
-
--solaris-button-focus-ring-color: var(--solaris-text-default);
|
|
334
|
-
}
|
|
335
|
-
|
|
336
206
|
[solaris-button][data-color='primary'][data-appearance='solid'] {
|
|
337
207
|
--solaris-button-color: var(--solaris-primary-text);
|
|
338
208
|
--solaris-button-background: var(--solaris-primary-base);
|
|
@@ -374,14 +244,6 @@
|
|
|
374
244
|
--solaris-button-active-background: var(--solaris-primary-active);
|
|
375
245
|
}
|
|
376
246
|
|
|
377
|
-
/* SOLARIS_TOKEN_EXCEPTION: glass appearance uses translucent rgba/backdrop-filter for frosted glass effect. */
|
|
378
|
-
[solaris-button][data-color='primary'][data-appearance='glass'] {
|
|
379
|
-
--solaris-button-color: var(--solaris-primary-text);
|
|
380
|
-
--solaris-button-glass-accent: rgba(22, 119, 255, 0.32);
|
|
381
|
-
--solaris-button-glass-accent-hover: rgba(22, 119, 255, 0.42);
|
|
382
|
-
--solaris-button-focus-ring-color: var(--solaris-primary-base);
|
|
383
|
-
}
|
|
384
|
-
|
|
385
247
|
[solaris-button][data-color='success'][data-appearance='solid'] {
|
|
386
248
|
--solaris-button-background: var(--solaris-success-base);
|
|
387
249
|
--solaris-button-color: var(--solaris-success-on-solid);
|
|
@@ -423,14 +285,6 @@
|
|
|
423
285
|
--solaris-button-active-background: var(--solaris-success-active);
|
|
424
286
|
}
|
|
425
287
|
|
|
426
|
-
/* SOLARIS_TOKEN_EXCEPTION: glass appearance uses translucent rgba/backdrop-filter for frosted glass effect. */
|
|
427
|
-
[solaris-button][data-color='success'][data-appearance='glass'] {
|
|
428
|
-
--solaris-button-color: var(--solaris-success-text);
|
|
429
|
-
--solaris-button-glass-accent: rgba(22, 163, 74, 0.32);
|
|
430
|
-
--solaris-button-glass-accent-hover: rgba(22, 163, 74, 0.42);
|
|
431
|
-
--solaris-button-focus-ring-color: var(--solaris-success-base);
|
|
432
|
-
}
|
|
433
|
-
|
|
434
288
|
[solaris-button][data-color='warning'][data-appearance='solid'] {
|
|
435
289
|
--solaris-button-background: var(--solaris-warning-base);
|
|
436
290
|
--solaris-button-color: var(--solaris-warning-on-solid);
|
|
@@ -472,14 +326,6 @@
|
|
|
472
326
|
--solaris-button-active-background: var(--solaris-warning-active);
|
|
473
327
|
}
|
|
474
328
|
|
|
475
|
-
/* SOLARIS_TOKEN_EXCEPTION: glass appearance uses translucent rgba/backdrop-filter for frosted glass effect. */
|
|
476
|
-
[solaris-button][data-color='warning'][data-appearance='glass'] {
|
|
477
|
-
--solaris-button-color: var(--solaris-warning-text);
|
|
478
|
-
--solaris-button-glass-accent: rgba(255, 110, 24, 0.38);
|
|
479
|
-
--solaris-button-glass-accent-hover: rgba(255, 110, 24, 0.48);
|
|
480
|
-
--solaris-button-focus-ring-color: var(--solaris-warning-base);
|
|
481
|
-
}
|
|
482
|
-
|
|
483
329
|
[solaris-button][data-color='danger'][data-appearance='solid'] {
|
|
484
330
|
--solaris-button-background: var(--solaris-danger-base);
|
|
485
331
|
--solaris-button-color: var(--solaris-danger-on-solid);
|
|
@@ -521,14 +367,6 @@
|
|
|
521
367
|
--solaris-button-active-background: var(--solaris-danger-active);
|
|
522
368
|
}
|
|
523
369
|
|
|
524
|
-
/* SOLARIS_TOKEN_EXCEPTION: glass appearance uses translucent rgba/backdrop-filter for frosted glass effect. */
|
|
525
|
-
[solaris-button][data-color='danger'][data-appearance='glass'] {
|
|
526
|
-
--solaris-button-color: var(--solaris-danger-text);
|
|
527
|
-
--solaris-button-glass-accent: rgba(220, 38, 38, 0.34);
|
|
528
|
-
--solaris-button-glass-accent-hover: rgba(220, 38, 38, 0.44);
|
|
529
|
-
--solaris-button-focus-ring-color: var(--solaris-danger-base);
|
|
530
|
-
}
|
|
531
|
-
|
|
532
370
|
[solaris-button][data-color='info'][data-appearance='solid'] {
|
|
533
371
|
--solaris-button-color: var(--solaris-info-text);
|
|
534
372
|
--solaris-button-background: var(--solaris-info-base);
|
|
@@ -570,14 +408,6 @@
|
|
|
570
408
|
--solaris-button-active-background: var(--solaris-info-active);
|
|
571
409
|
}
|
|
572
410
|
|
|
573
|
-
/* SOLARIS_TOKEN_EXCEPTION: glass appearance uses translucent rgba/backdrop-filter for frosted glass effect. */
|
|
574
|
-
[solaris-button][data-color='info'][data-appearance='glass'] {
|
|
575
|
-
--solaris-button-color: var(--solaris-info-text);
|
|
576
|
-
--solaris-button-glass-accent: rgba(59, 130, 246, 0.32);
|
|
577
|
-
--solaris-button-focus-ring-color: var(--solaris-info-base);
|
|
578
|
-
--solaris-button-glass-accent-hover: rgba(59, 130, 246, 0.42);
|
|
579
|
-
}
|
|
580
|
-
|
|
581
411
|
[solaris-button][data-color='custom'] {
|
|
582
412
|
--solaris-button-hover-background: var(
|
|
583
413
|
--solaris-button-custom-hover-background
|
|
@@ -610,71 +440,71 @@
|
|
|
610
440
|
}
|
|
611
441
|
|
|
612
442
|
[solaris-button][data-size='sm'] {
|
|
613
|
-
--solaris-button-
|
|
614
|
-
--solaris-button-
|
|
615
|
-
--solaris-button-
|
|
616
|
-
--solaris-button-padding-
|
|
617
|
-
--solaris-button-
|
|
618
|
-
--solaris-button-icon-size:
|
|
619
|
-
--solaris-button-font-size: var(--solaris-font-size-sm
|
|
620
|
-
--solaris-button-font-weight: var(--solaris-font-weight-medium
|
|
443
|
+
--solaris-button-gap: var(--solaris-spacing-1);
|
|
444
|
+
--solaris-button-height: var(--solaris-spacing-8);
|
|
445
|
+
--solaris-button-padding-x: var(--solaris-spacing-3);
|
|
446
|
+
--solaris-button-padding-y: var(--solaris-spacing-1);
|
|
447
|
+
--solaris-button-min-width: var(--solaris-spacing-16);
|
|
448
|
+
--solaris-button-icon-size: var(--solaris-font-size-sm);
|
|
449
|
+
--solaris-button-font-size: var(--solaris-font-size-sm);
|
|
450
|
+
--solaris-button-font-weight: var(--solaris-font-weight-medium);
|
|
621
451
|
}
|
|
622
452
|
|
|
623
453
|
[solaris-button][data-size='md'] {
|
|
624
|
-
--solaris-button-gap:
|
|
625
|
-
--solaris-button-height:
|
|
626
|
-
--solaris-button-
|
|
627
|
-
--solaris-button-padding-x:
|
|
628
|
-
--solaris-button-icon-size:
|
|
629
|
-
--solaris-button-
|
|
630
|
-
--solaris-button-font-size: var(--solaris-font-size-md
|
|
631
|
-
--solaris-button-font-weight: var(--solaris-font-weight-medium
|
|
454
|
+
--solaris-button-gap: var(--solaris-spacing-2);
|
|
455
|
+
--solaris-button-height: var(--solaris-spacing-10);
|
|
456
|
+
--solaris-button-padding-y: var(--solaris-spacing-2);
|
|
457
|
+
--solaris-button-padding-x: var(--solaris-spacing-4);
|
|
458
|
+
--solaris-button-icon-size: var(--solaris-spacing-4);
|
|
459
|
+
--solaris-button-min-width: var(--solaris-spacing-20);
|
|
460
|
+
--solaris-button-font-size: var(--solaris-font-size-md);
|
|
461
|
+
--solaris-button-font-weight: var(--solaris-font-weight-medium);
|
|
632
462
|
}
|
|
633
463
|
|
|
634
464
|
[solaris-button][data-size='lg'] {
|
|
635
|
-
--solaris-button-gap:
|
|
636
|
-
--solaris-button-height:
|
|
637
|
-
--solaris-button-
|
|
638
|
-
--solaris-button-padding-
|
|
639
|
-
--solaris-button-
|
|
640
|
-
--solaris-button-
|
|
641
|
-
--solaris-button-font-size: var(--solaris-font-size-lg
|
|
642
|
-
--solaris-button-font-weight: var(--solaris-font-weight-semibold
|
|
465
|
+
--solaris-button-gap: var(--solaris-spacing-2);
|
|
466
|
+
--solaris-button-height: var(--solaris-spacing-12);
|
|
467
|
+
--solaris-button-padding-y: var(--solaris-spacing-2);
|
|
468
|
+
--solaris-button-padding-x: var(--solaris-spacing-5);
|
|
469
|
+
--solaris-button-icon-size: var(--solaris-spacing-5);
|
|
470
|
+
--solaris-button-min-width: var(--solaris-spacing-24);
|
|
471
|
+
--solaris-button-font-size: var(--solaris-font-size-lg);
|
|
472
|
+
--solaris-button-font-weight: var(--solaris-font-weight-semibold);
|
|
643
473
|
}
|
|
644
474
|
|
|
645
475
|
[solaris-button][data-radius='none'] {
|
|
646
|
-
--solaris-button-radius: var(--solaris-radius-none
|
|
476
|
+
--solaris-button-radius: var(--solaris-radius-none);
|
|
647
477
|
}
|
|
648
478
|
|
|
649
479
|
[solaris-button][data-radius='sm'] {
|
|
650
|
-
--solaris-button-radius: var(--solaris-radius-sm
|
|
480
|
+
--solaris-button-radius: var(--solaris-radius-sm);
|
|
651
481
|
}
|
|
652
482
|
|
|
653
483
|
[solaris-button][data-radius='md'] {
|
|
654
|
-
--solaris-button-radius: var(--solaris-radius-md
|
|
484
|
+
--solaris-button-radius: var(--solaris-radius-md);
|
|
655
485
|
}
|
|
656
486
|
|
|
657
487
|
[solaris-button][data-radius='lg'] {
|
|
658
|
-
--solaris-button-radius: var(--solaris-radius-lg
|
|
488
|
+
--solaris-button-radius: var(--solaris-radius-lg);
|
|
659
489
|
}
|
|
660
490
|
|
|
661
491
|
[solaris-button][data-radius='full'] {
|
|
662
|
-
--solaris-button-radius: var(--solaris-radius-full
|
|
492
|
+
--solaris-button-radius: var(--solaris-radius-full);
|
|
663
493
|
}
|
|
664
494
|
|
|
665
495
|
[solaris-button][data-density='compact'] {
|
|
666
|
-
--solaris-button-
|
|
667
|
-
--solaris-button-
|
|
668
|
-
--solaris-button-min-width:
|
|
669
|
-
--solaris-button-
|
|
670
|
-
--solaris-button-
|
|
671
|
-
--solaris-button-padding-
|
|
496
|
+
--solaris-button-gap: var(--solaris-density-gap-md);
|
|
497
|
+
--solaris-button-padding-y: var(--solaris-spacing-4);
|
|
498
|
+
--solaris-button-min-width: var(--solaris-spacing-10);
|
|
499
|
+
--solaris-button-icon-size: var(--solaris-font-size-sm);
|
|
500
|
+
--solaris-button-height: var(--solaris-density-min-height);
|
|
501
|
+
--solaris-button-padding-x: var(--solaris-density-padding-lg);
|
|
672
502
|
}
|
|
673
503
|
|
|
674
504
|
[solaris-button][data-density='comfortable'] {
|
|
675
|
-
--solaris-button-gap:
|
|
676
|
-
--solaris-button-
|
|
677
|
-
--solaris-button-padding-
|
|
678
|
-
--solaris-button-
|
|
679
|
-
--solaris-button-padding-
|
|
505
|
+
--solaris-button-gap: var(--solaris-density-gap-md);
|
|
506
|
+
--solaris-button-icon-size: var(--solaris-spacing-4);
|
|
507
|
+
--solaris-button-padding-y: var(--solaris-spacing-4);
|
|
508
|
+
--solaris-button-height: var(--solaris-density-min-height);
|
|
509
|
+
--solaris-button-padding-x: var(--solaris-density-padding-lg);
|
|
680
510
|
}
|
package/styles/_core.scss
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
/// Solaris UI Core
|
|
2
|
-
/// Provides root font-size strategy and base resets.
|
|
3
|
-
///
|
|
4
|
-
/// The default `none` strategy respects the browser's default font-size (typically 16px)
|
|
5
|
-
/// and produces no additional CSS. Consumers who prefer the `rem-10` strategy may opt in,
|
|
6
|
-
/// but must ensure token SCSS files are imported at the correct scope.
|
|
7
|
-
///
|
|
8
|
-
/// Usage:
|
|
9
|
-
/// @use '@solaris-ui/angular/styles' as solaris;
|
|
10
|
-
///
|
|
11
|
-
/// // Default: no root font-size override (browser default)
|
|
12
|
-
/// @include solaris.core();
|
|
13
|
-
///
|
|
14
|
-
/// // rem-10 strategy: 1rem = 10px at root, body reset to 16px
|
|
15
|
-
/// @include solaris.core((root-font-size: rem-10));
|
|
16
|
-
|
|
17
|
-
@use 'sass:map';
|
|
18
|
-
|
|
19
|
-
$-default-config: (
|
|
20
|
-
root-font-size: none,
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
@mixin core($config: ()) {
|
|
24
|
-
$merged: map.merge($-default-config, $config);
|
|
25
|
-
|
|
26
|
-
$root-font-size: map.get($merged, root-font-size);
|
|
27
|
-
|
|
28
|
-
@if $root-font-size == rem-10 {
|
|
29
|
-
:root {
|
|
30
|
-
font-size: 62.5%;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
body {
|
|
34
|
-
font-size: 1.6rem;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
/// Solaris UI Core
|
|
2
|
+
/// Provides root font-size strategy and base resets.
|
|
3
|
+
///
|
|
4
|
+
/// The default `none` strategy respects the browser's default font-size (typically 16px)
|
|
5
|
+
/// and produces no additional CSS. Consumers who prefer the `rem-10` strategy may opt in,
|
|
6
|
+
/// but must ensure token SCSS files are imported at the correct scope.
|
|
7
|
+
///
|
|
8
|
+
/// Usage:
|
|
9
|
+
/// @use '@solaris-ui/angular/styles' as solaris;
|
|
10
|
+
///
|
|
11
|
+
/// // Default: no root font-size override (browser default)
|
|
12
|
+
/// @include solaris.core();
|
|
13
|
+
///
|
|
14
|
+
/// // rem-10 strategy: 1rem = 10px at root, body reset to 16px
|
|
15
|
+
/// @include solaris.core((root-font-size: rem-10));
|
|
16
|
+
|
|
17
|
+
@use 'sass:map';
|
|
18
|
+
|
|
19
|
+
$-default-config: (
|
|
20
|
+
root-font-size: none,
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
@mixin core($config: ()) {
|
|
24
|
+
$merged: map.merge($-default-config, $config);
|
|
25
|
+
|
|
26
|
+
$root-font-size: map.get($merged, root-font-size);
|
|
27
|
+
|
|
28
|
+
@if $root-font-size == rem-10 {
|
|
29
|
+
:root {
|
|
30
|
+
font-size: 62.5%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body {
|
|
34
|
+
font-size: 1.6rem;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|