ngwr 3.0.0 → 4.0.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/README.md +8 -7
- package/alert/alert-type.d.ts +7 -0
- package/alert/alert.component.d.ts +21 -0
- package/alert/alert.module.d.ts +7 -0
- package/alert/index.d.ts +5 -0
- package/alert/public-api.d.ts +9 -0
- package/alert/styles/_index.scss +58 -0
- package/alert/styles/theming.scss +26 -0
- package/alert/styles/vars.scss +11 -0
- package/avatar/avatar.component.d.ts +27 -0
- package/avatar/avatar.module.d.ts +7 -0
- package/avatar/index.d.ts +5 -0
- package/avatar/public-api.d.ts +8 -0
- package/avatar/styles/_index.scss +39 -0
- package/button/button-group.component.d.ts +12 -0
- package/button/button.component.d.ts +26 -58
- package/button/button.module.d.ts +2 -1
- package/button/index.d.ts +5 -2
- package/button/public-api.d.ts +9 -0
- package/button/styles/_index.scss +187 -0
- package/button/styles/vars.scss +13 -0
- package/{core/abstract/base.d.ts → cdk/base.directive.d.ts} +7 -1
- package/cdk/index.d.ts +5 -0
- package/cdk/public-api.d.ts +7 -0
- package/cdk/rxjs/index.d.ts +5 -0
- package/cdk/rxjs/is-array.d.ts +8 -0
- package/cdk/rxjs/is-defined.d.ts +8 -0
- package/cdk/rxjs/is-not-empty-array.d.ts +8 -0
- package/cdk/rxjs/is-observable.d.ts +9 -0
- package/cdk/rxjs/public-api.d.ts +10 -0
- package/cdk/types/index.d.ts +5 -0
- package/cdk/types/maybe.d.ts +7 -0
- package/cdk/types/public-api.d.ts +9 -0
- package/cdk/types/safe-any.d.ts +7 -0
- package/{core/color/color.d.ts → cdk/types/theme-color.d.ts} +6 -0
- package/cdk/utils/generate-random-id.d.ts +12 -0
- package/cdk/utils/index.d.ts +5 -0
- package/cdk/utils/public-api.d.ts +7 -0
- package/checkbox/checkbox.component.d.ts +24 -45
- package/checkbox/checkbox.module.d.ts +1 -1
- package/checkbox/index.d.ts +5 -2
- package/checkbox/public-api.d.ts +8 -0
- package/checkbox/styles/_index.scss +86 -0
- package/checkbox/styles/vars.scss +16 -0
- package/dialog/dialog-animations.d.ts +7 -1
- package/dialog/{dialog-base.d.ts → dialog-base.directive.d.ts} +13 -7
- package/dialog/dialog-close.directive.d.ts +9 -0
- package/dialog/dialog-content.directive.d.ts +6 -0
- package/dialog/dialog-data.token.d.ts +8 -0
- package/dialog/dialog-footer.directive.d.ts +8 -0
- package/dialog/dialog-options.d.ts +19 -0
- package/dialog/dialog-ref.d.ts +19 -13
- package/dialog/dialog-title.directive.d.ts +6 -0
- package/dialog/dialog.component.d.ts +28 -0
- package/dialog/dialog.module.d.ts +11 -0
- package/dialog/dialog.service.d.ts +28 -0
- package/dialog/index.d.ts +5 -9
- package/dialog/public-api.d.ts +18 -0
- package/dialog/{dialog.scss → styles/_index.scss} +2 -0
- package/dialog/styles/vars.scss +7 -0
- package/divider/divider.component.d.ts +8 -35
- package/divider/divider.module.d.ts +1 -1
- package/divider/index.d.ts +5 -2
- package/divider/public-api.d.ts +8 -0
- package/divider/{divider.scss → styles/_index.scss} +1 -1
- package/esm2022/alert/alert-type.mjs +8 -0
- package/esm2022/alert/alert.component.mjs +54 -0
- package/esm2022/alert/alert.module.mjs +22 -0
- package/esm2022/alert/ngwr-alert.mjs +5 -0
- package/esm2022/alert/public-api.mjs +10 -0
- package/esm2022/avatar/avatar.component.mjs +77 -0
- package/esm2022/avatar/avatar.module.mjs +22 -0
- package/esm2022/avatar/ngwr-avatar.mjs +5 -0
- package/esm2022/avatar/public-api.mjs +9 -0
- package/esm2022/button/button-group.component.mjs +36 -0
- package/esm2022/button/button.component.mjs +55 -163
- package/esm2022/button/button.module.mjs +15 -8
- package/esm2022/button/ngwr-button.mjs +2 -2
- package/esm2022/button/public-api.mjs +10 -0
- package/esm2022/cdk/base.directive.mjs +27 -0
- package/esm2022/cdk/ngwr-cdk.mjs +5 -0
- package/esm2022/cdk/public-api.mjs +8 -0
- package/esm2022/cdk/rxjs/is-array.mjs +10 -0
- package/esm2022/cdk/rxjs/is-defined.mjs +10 -0
- package/esm2022/cdk/rxjs/is-not-empty-array.mjs +10 -0
- package/esm2022/cdk/rxjs/is-observable.mjs +10 -0
- package/esm2022/cdk/rxjs/ngwr-cdk-rxjs.mjs +5 -0
- package/esm2022/cdk/rxjs/public-api.mjs +11 -0
- package/esm2022/cdk/types/maybe.mjs +8 -0
- package/esm2022/cdk/types/ngwr-cdk-types.mjs +5 -0
- package/esm2022/cdk/types/public-api.mjs +10 -0
- package/esm2022/cdk/types/safe-any.mjs +8 -0
- package/esm2022/cdk/types/theme-color.mjs +17 -0
- package/esm2022/cdk/utils/generate-random-id.mjs +17 -0
- package/esm2022/cdk/utils/ngwr-cdk-utils.mjs +5 -0
- package/esm2022/cdk/utils/public-api.mjs +8 -0
- package/esm2022/checkbox/checkbox.component.mjs +54 -120
- package/esm2022/checkbox/checkbox.module.mjs +14 -8
- package/esm2022/checkbox/ngwr-checkbox.mjs +2 -2
- package/esm2022/checkbox/public-api.mjs +9 -0
- package/esm2022/dialog/dialog-animations.mjs +8 -2
- package/esm2022/dialog/dialog-base.directive.mjs +95 -0
- package/esm2022/dialog/dialog-close.directive.mjs +33 -0
- package/esm2022/dialog/dialog-content.directive.mjs +25 -0
- package/esm2022/dialog/dialog-data.token.mjs +9 -0
- package/esm2022/dialog/dialog-footer.directive.mjs +36 -0
- package/esm2022/dialog/dialog-options.mjs +9 -0
- package/esm2022/dialog/dialog-ref.mjs +22 -16
- package/esm2022/dialog/dialog-title.directive.mjs +25 -0
- package/esm2022/dialog/dialog.component.mjs +57 -0
- package/esm2022/dialog/dialog.module.mjs +38 -0
- package/esm2022/dialog/dialog.service.mjs +107 -0
- package/esm2022/dialog/ngwr-dialog.mjs +2 -2
- package/esm2022/dialog/public-api.mjs +19 -0
- package/esm2022/divider/divider.component.mjs +16 -57
- package/esm2022/divider/divider.module.mjs +8 -8
- package/esm2022/divider/ngwr-divider.mjs +2 -2
- package/esm2022/divider/public-api.mjs +9 -0
- package/esm2022/form/form-error.component.mjs +33 -0
- package/esm2022/form/form-item.component.mjs +43 -0
- package/esm2022/form/form.module.mjs +23 -0
- package/esm2022/form/ngwr-form.mjs +2 -2
- package/esm2022/form/public-api.mjs +10 -0
- package/esm2022/icon/icon.component.mjs +82 -0
- package/esm2022/icon/icon.module.mjs +22 -0
- package/esm2022/icon/icon.service.mjs +40 -0
- package/esm2022/icon/icons.mjs +289 -279
- package/esm2022/icon/ngwr-icon.mjs +2 -2
- package/esm2022/icon/provide-wr-icons.mjs +17 -0
- package/esm2022/icon/public-api.mjs +12 -0
- package/esm2022/input/input-types.mjs +1 -1
- package/esm2022/input/input.component.mjs +119 -0
- package/esm2022/input/input.module.mjs +22 -0
- package/esm2022/input/ngwr-input.mjs +2 -2
- package/esm2022/input/public-api.mjs +10 -0
- package/esm2022/ngwr.mjs +2 -2
- package/esm2022/pipes/new-array.pipe.mjs +23 -0
- package/esm2022/pipes/ngwr-pipes.mjs +5 -0
- package/esm2022/pipes/pipes.module.mjs +22 -0
- package/esm2022/pipes/public-api.mjs +9 -0
- package/esm2022/progress/ngwr-progress.mjs +5 -0
- package/esm2022/progress/progress.component.mjs +42 -0
- package/esm2022/progress/progress.module.mjs +22 -0
- package/esm2022/progress/public-api.mjs +9 -0
- package/esm2022/public-api.mjs +3 -0
- package/esm2022/qr/generator.mjs +84 -0
- package/esm2022/qr/ngwr-qr.mjs +5 -0
- package/esm2022/qr/public-api.mjs +9 -0
- package/esm2022/qr/qr.component.mjs +90 -0
- package/esm2022/qr/qr.module.mjs +22 -0
- package/esm2022/qr/qrcodegen.mjs +872 -0
- package/esm2022/skeleton/index.mjs +3 -3
- package/esm2022/skeleton/skeleton.component.mjs +43 -0
- package/esm2022/skeleton/skeleton.module.mjs +16 -0
- package/esm2022/spinner/index.mjs +3 -3
- package/esm2022/spinner/spinner.component.mjs +33 -0
- package/esm2022/spinner/spinner.module.mjs +22 -0
- package/esm2022/tag/ngwr-tag.mjs +2 -2
- package/esm2022/tag/public-api.mjs +9 -0
- package/esm2022/tag/tag.component.mjs +74 -0
- package/esm2022/tag/tag.module.mjs +16 -0
- package/fesm2022/ngwr-alert.mjs +94 -0
- package/fesm2022/ngwr-alert.mjs.map +1 -0
- package/fesm2022/ngwr-avatar.mjs +110 -0
- package/fesm2022/ngwr-avatar.mjs.map +1 -0
- package/fesm2022/ngwr-button.mjs +108 -169
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-cdk-rxjs.mjs +53 -0
- package/fesm2022/ngwr-cdk-rxjs.mjs.map +1 -0
- package/fesm2022/ngwr-cdk-types.mjs +44 -0
- package/fesm2022/ngwr-cdk-types.mjs.map +1 -0
- package/fesm2022/ngwr-cdk-utils.mjs +30 -0
- package/fesm2022/ngwr-cdk-utils.mjs.map +1 -0
- package/fesm2022/ngwr-cdk.mjs +41 -0
- package/fesm2022/ngwr-cdk.mjs.map +1 -0
- package/fesm2022/ngwr-checkbox.mjs +73 -126
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-dialog.mjs +225 -165
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-divider.mjs +29 -63
- package/fesm2022/ngwr-divider.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +72 -54
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-icon.mjs +445 -368
- package/fesm2022/ngwr-icon.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +97 -208
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +56 -0
- package/fesm2022/ngwr-pipes.mjs.map +1 -0
- package/fesm2022/ngwr-progress.mjs +75 -0
- package/fesm2022/ngwr-progress.mjs.map +1 -0
- package/fesm2022/{ngwr-qrcode.mjs → ngwr-qr.mjs} +72 -113
- package/fesm2022/ngwr-qr.mjs.map +1 -0
- package/fesm2022/ngwr-skeleton.mjs +19 -22
- package/fesm2022/ngwr-skeleton.mjs.map +1 -1
- package/fesm2022/ngwr-spinner.mjs +35 -19
- package/fesm2022/ngwr-spinner.mjs.map +1 -1
- package/fesm2022/ngwr-tag.mjs +46 -49
- package/fesm2022/ngwr-tag.mjs.map +1 -1
- package/fesm2022/ngwr.mjs +1 -1
- package/fesm2022/ngwr.mjs.map +1 -1
- package/form/form-error.component.d.ts +11 -0
- package/form/form-item.component.d.ts +14 -0
- package/form/form.module.d.ts +8 -0
- package/form/index.d.ts +5 -3
- package/form/public-api.d.ts +9 -0
- package/icon/icon.component.d.ts +19 -0
- package/icon/icon.module.d.ts +7 -0
- package/icon/icon.service.d.ts +23 -0
- package/icon/icons.d.ts +115 -101
- package/icon/index.d.ts +5 -4
- package/icon/provide-wr-icons.d.ts +9 -0
- package/icon/public-api.d.ts +11 -0
- package/icon/{icon.scss → styles/_index.scss} +4 -2
- package/icon/styles/vars.scss +3 -0
- package/index.d.ts +5 -2
- package/input/index.d.ts +5 -2
- package/input/input-types.d.ts +0 -2
- package/input/input.component.d.ts +43 -0
- package/input/input.module.d.ts +7 -0
- package/input/public-api.d.ts +9 -0
- package/input/styles/_index.scss +107 -0
- package/input/styles/vars.scss +16 -0
- package/package.json +110 -57
- package/pipes/index.d.ts +5 -0
- package/pipes/new-array.pipe.d.ts +13 -0
- package/pipes/pipes.module.d.ts +7 -0
- package/pipes/public-api.d.ts +8 -0
- package/progress/index.d.ts +5 -0
- package/progress/progress.component.d.ts +10 -0
- package/progress/progress.module.d.ts +7 -0
- package/progress/public-api.d.ts +8 -0
- package/progress/styles/_index.scss +24 -0
- package/progress/styles/theming.scss +8 -0
- package/progress/styles/vars.scss +6 -0
- package/public-api.d.ts +2 -0
- package/qr/index.d.ts +5 -0
- package/qr/public-api.d.ts +8 -0
- package/qr/qr.component.d.ts +31 -0
- package/qr/qr.module.d.ts +7 -0
- package/skeleton/index.d.ts +2 -2
- package/skeleton/skeleton.component.d.ts +10 -0
- package/skeleton/{skeleton-module.d.ts → skeleton.module.d.ts} +2 -3
- package/skeleton/{skeleton.scss → styles/_index.scss} +1 -1
- package/spinner/index.d.ts +2 -2
- package/spinner/spinner.component.d.ts +11 -0
- package/spinner/{spinner-module.d.ts → spinner.module.d.ts} +2 -2
- package/spinner/{spinner.scss → styles/_index.scss} +2 -1
- package/styles/animations.scss +4 -4
- package/styles/cdk.scss +4 -0
- package/styles/colors.scss +72 -0
- package/styles/grid.scss +1 -2
- package/styles/reset.scss +2 -2
- package/styles/variables.scss +78 -0
- package/styles.scss +23 -0
- package/tag/index.d.ts +5 -2
- package/tag/public-api.d.ts +8 -0
- package/tag/styles/_index.scss +32 -0
- package/tag/styles/theming.scss +21 -0
- package/tag/styles/vars.scss +12 -0
- package/tag/tag.component.d.ts +21 -0
- package/tag/tag.module.d.ts +7 -0
- package/_grid.scss +0 -2
- package/_index.scss +0 -31
- package/backdrop/backdrop.scss +0 -3
- package/button/button.scss +0 -160
- package/checkbox/checkbox.scss +0 -103
- package/core/abstract/index.d.ts +0 -1
- package/core/color/index.d.ts +0 -2
- package/core/color/is-theme-color.d.ts +0 -2
- package/core/decorators/index.d.ts +0 -1
- package/core/decorators/input-boolean.d.ts +0 -1
- package/core/overlay/connected-overlay-directive.d.ts +0 -16
- package/core/overlay/get-placement-name.d.ts +0 -2
- package/core/overlay/index.d.ts +0 -5
- package/core/overlay/overlay-module.d.ts +0 -7
- package/core/overlay/overlay.scss +0 -9
- package/core/overlay/position-map.d.ts +0 -17
- package/core/overlay/position-type.d.ts +0 -2
- package/core/types/index.d.ts +0 -3
- package/core/types/on-change-type.d.ts +0 -2
- package/core/types/on-touched-type.d.ts +0 -2
- package/core/types/safe-any.d.ts +0 -1
- package/dialog/dialog-config.d.ts +0 -11
- package/dialog/dialog-container.d.ts +0 -22
- package/dialog/dialog-content-directives.d.ts +0 -31
- package/dialog/dialog-module.d.ts +0 -12
- package/dialog/dialog-service.d.ts +0 -27
- package/dialog/dialog-tokens.d.ts +0 -2
- package/esm2022/button/index.mjs +0 -3
- package/esm2022/checkbox/index.mjs +0 -3
- package/esm2022/core/abstract/base.mjs +0 -18
- package/esm2022/core/abstract/index.mjs +0 -2
- package/esm2022/core/abstract/ngwr-core-abstract.mjs +0 -5
- package/esm2022/core/color/color.mjs +0 -11
- package/esm2022/core/color/index.mjs +0 -3
- package/esm2022/core/color/is-theme-color.mjs +0 -9
- package/esm2022/core/color/ngwr-core-color.mjs +0 -5
- package/esm2022/core/decorators/index.mjs +0 -2
- package/esm2022/core/decorators/input-boolean.mjs +0 -15
- package/esm2022/core/decorators/ngwr-core-decorators.mjs +0 -5
- package/esm2022/core/overlay/connected-overlay-directive.mjs +0 -98
- package/esm2022/core/overlay/get-placement-name.mjs +0 -13
- package/esm2022/core/overlay/index.mjs +0 -5
- package/esm2022/core/overlay/ngwr-core-overlay.mjs +0 -5
- package/esm2022/core/overlay/overlay-module.mjs +0 -16
- package/esm2022/core/overlay/position-map.mjs +0 -18
- package/esm2022/core/overlay/position-type.mjs +0 -2
- package/esm2022/core/types/index.mjs +0 -4
- package/esm2022/core/types/ngwr-core-types.mjs +0 -5
- package/esm2022/core/types/on-change-type.mjs +0 -2
- package/esm2022/core/types/on-touched-type.mjs +0 -2
- package/esm2022/core/types/safe-any.mjs +0 -2
- package/esm2022/dialog/dialog-base.mjs +0 -92
- package/esm2022/dialog/dialog-config.mjs +0 -3
- package/esm2022/dialog/dialog-container.mjs +0 -58
- package/esm2022/dialog/dialog-content-directives.mjs +0 -98
- package/esm2022/dialog/dialog-module.mjs +0 -24
- package/esm2022/dialog/dialog-service.mjs +0 -109
- package/esm2022/dialog/dialog-tokens.mjs +0 -3
- package/esm2022/dialog/index.mjs +0 -10
- package/esm2022/divider/index.mjs +0 -3
- package/esm2022/form/form-error.mjs +0 -23
- package/esm2022/form/form-item.mjs +0 -46
- package/esm2022/form/form-module.mjs +0 -19
- package/esm2022/form/index.mjs +0 -4
- package/esm2022/icon/icon-module.mjs +0 -21
- package/esm2022/icon/icon-service.mjs +0 -21
- package/esm2022/icon/icon.mjs +0 -60
- package/esm2022/icon/index.mjs +0 -5
- package/esm2022/index.mjs +0 -3
- package/esm2022/input/index.mjs +0 -3
- package/esm2022/input/input-module.mjs +0 -20
- package/esm2022/input/input.mjs +0 -240
- package/esm2022/qrcode/generator.mjs +0 -84
- package/esm2022/qrcode/index.mjs +0 -3
- package/esm2022/qrcode/ngwr-qrcode.mjs +0 -5
- package/esm2022/qrcode/qrcode-module.mjs +0 -19
- package/esm2022/qrcode/qrcode.mjs +0 -142
- package/esm2022/qrcode/qrcodegen.mjs +0 -872
- package/esm2022/skeleton/skeleton-module.mjs +0 -18
- package/esm2022/skeleton/skeleton.mjs +0 -44
- package/esm2022/spinner/spinner-module.mjs +0 -16
- package/esm2022/spinner/spinner.mjs +0 -23
- package/esm2022/tag/index.mjs +0 -3
- package/esm2022/tag/tag-module.mjs +0 -20
- package/esm2022/tag/tag.mjs +0 -80
- package/esm2022/tooltip/index.mjs +0 -5
- package/esm2022/tooltip/ngwr-tooltip.mjs +0 -5
- package/esm2022/tooltip/tooltip-component.mjs +0 -93
- package/esm2022/tooltip/tooltip-default-positions.mjs +0 -8
- package/esm2022/tooltip/tooltip-directive.mjs +0 -85
- package/esm2022/tooltip/tooltip-module.mjs +0 -21
- package/esm2022/tooltip/tooltip-trigger.mjs +0 -2
- package/fesm2022/ngwr-core-abstract.mjs +0 -25
- package/fesm2022/ngwr-core-abstract.mjs.map +0 -1
- package/fesm2022/ngwr-core-color.mjs +0 -25
- package/fesm2022/ngwr-core-color.mjs.map +0 -1
- package/fesm2022/ngwr-core-decorators.mjs +0 -22
- package/fesm2022/ngwr-core-decorators.mjs.map +0 -1
- package/fesm2022/ngwr-core-overlay.mjs +0 -146
- package/fesm2022/ngwr-core-overlay.mjs.map +0 -1
- package/fesm2022/ngwr-core-types.mjs +0 -4
- package/fesm2022/ngwr-core-types.mjs.map +0 -1
- package/fesm2022/ngwr-qrcode.mjs.map +0 -1
- package/fesm2022/ngwr-tooltip.mjs +0 -204
- package/fesm2022/ngwr-tooltip.mjs.map +0 -1
- package/form/form-error.d.ts +0 -6
- package/form/form-item.d.ts +0 -15
- package/form/form-module.d.ts +0 -9
- package/icon/icon-module.d.ts +0 -9
- package/icon/icon-service.d.ts +0 -8
- package/icon/icon.d.ts +0 -20
- package/input/input-module.d.ts +0 -10
- package/input/input.d.ts +0 -65
- package/input/input.scss +0 -163
- package/qrcode/index.d.ts +0 -2
- package/qrcode/qrcode-module.d.ts +0 -9
- package/qrcode/qrcode.d.ts +0 -46
- package/skeleton/skeleton.d.ts +0 -11
- package/spinner/spinner.d.ts +0 -6
- package/styles/root.scss +0 -172
- package/tag/tag-module.d.ts +0 -10
- package/tag/tag.d.ts +0 -18
- package/tag/tag.scss +0 -106
- package/tooltip/index.d.ts +0 -5
- package/tooltip/tooltip-component.d.ts +0 -31
- package/tooltip/tooltip-default-positions.d.ts +0 -1
- package/tooltip/tooltip-directive.d.ts +0 -22
- package/tooltip/tooltip-module.d.ts +0 -11
- package/tooltip/tooltip-trigger.d.ts +0 -1
- package/tooltip/tooltip.scss +0 -67
- /package/form/{form.scss → styles/_index.scss} +0 -0
- /package/{qrcode → qr}/generator.d.ts +0 -0
- /package/{qrcode → qr}/qrcodegen.d.ts +0 -0
- /package/{qrcode/qrcode.scss → qr/styles/_index.scss} +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--wr-color-white: #fff;
|
|
3
|
+
--wr-color-white-rgb: 255,255,255;
|
|
4
|
+
|
|
5
|
+
--wr-color-black: #000;
|
|
6
|
+
--wr-color-black-rgb: 0,0,0;
|
|
7
|
+
|
|
8
|
+
--wr-color-primary: #3969e2;
|
|
9
|
+
--wr-color-primary-contrast: #f2f4fa;
|
|
10
|
+
--wr-color-primary-rgb: 57,105,226;
|
|
11
|
+
--wr-color-primary-dark: #2A5DDF;
|
|
12
|
+
--wr-color-primary-darker: #2053d5;
|
|
13
|
+
--wr-color-primary-light: #4E78E4;
|
|
14
|
+
--wr-color-primary-lighter: #5F86E7;
|
|
15
|
+
|
|
16
|
+
--wr-color-secondary: #f51c6a;
|
|
17
|
+
--wr-color-secondary-contrast: #faf2f4;
|
|
18
|
+
--wr-color-secondary-rgb: 245,28,106;
|
|
19
|
+
--wr-color-secondary-dark: #EB0A5C;
|
|
20
|
+
--wr-color-secondary-darker: #D70955;
|
|
21
|
+
--wr-color-secondary-light: #F73B80;
|
|
22
|
+
--wr-color-secondary-lighter: #F84F8D;
|
|
23
|
+
|
|
24
|
+
--wr-color-success: #00a400;
|
|
25
|
+
--wr-color-success-contrast: #e6f6e6;
|
|
26
|
+
--wr-color-success-rgb: 0,164,0;
|
|
27
|
+
--wr-color-success-dark: #008F00;
|
|
28
|
+
--wr-color-success-darker: #007A00;
|
|
29
|
+
--wr-color-success-light: #00A400;
|
|
30
|
+
--wr-color-success-lighter: #00B800;
|
|
31
|
+
|
|
32
|
+
--wr-color-warning: #ffba00;
|
|
33
|
+
--wr-color-warning-contrast: #171616;
|
|
34
|
+
--wr-color-warning-rgb: 255,186,0;
|
|
35
|
+
--wr-color-warning-dark: #F5B400;
|
|
36
|
+
--wr-color-warning-darker: #E0A500;
|
|
37
|
+
--wr-color-warning-light: #FFC31F;
|
|
38
|
+
--wr-color-warning-lighter: #FFC933;
|
|
39
|
+
|
|
40
|
+
--wr-color-danger: #fa383e;
|
|
41
|
+
--wr-color-danger-contrast: #ffebec;
|
|
42
|
+
--wr-color-danger-rgb: 250,56,62;
|
|
43
|
+
--wr-color-danger-dark: #e13238;
|
|
44
|
+
--wr-color-danger-darker: #d53035;
|
|
45
|
+
--wr-color-danger-light: #fb565b;
|
|
46
|
+
--wr-color-danger-lighter: #fb7478;
|
|
47
|
+
|
|
48
|
+
--wr-color-light: #cbd5e1;
|
|
49
|
+
--wr-color-light-contrast: #020617;
|
|
50
|
+
--wr-color-light-rgb: 203,213,225;
|
|
51
|
+
--wr-color-light-dark: #BECBDA;
|
|
52
|
+
--wr-color-light-darker: #B1C0D2;
|
|
53
|
+
--wr-color-light-light: #D8E0E9;
|
|
54
|
+
--wr-color-light-lighter: #E5EAF0;
|
|
55
|
+
|
|
56
|
+
--wr-color-medium: #8594a4;
|
|
57
|
+
--wr-color-medium-contrast: #ebf2fa;
|
|
58
|
+
--wr-color-medium-rgb: 71,85,105;
|
|
59
|
+
--wr-color-medium-dark: #7E8EA0;
|
|
60
|
+
--wr-color-medium-darker: #728497;
|
|
61
|
+
--wr-color-medium-light: #95A3B1;
|
|
62
|
+
--wr-color-medium-lighter: #A1ADBA;
|
|
63
|
+
|
|
64
|
+
--wr-color-dark: #0f172a;
|
|
65
|
+
--wr-color-dark-contrast: #eff2f8;
|
|
66
|
+
--wr-color-dark-rgb: 15,23,42;
|
|
67
|
+
--wr-color-dark-dark: #0B111E;
|
|
68
|
+
--wr-color-dark-darker: #05080F;
|
|
69
|
+
--wr-color-dark-light: #16213C;
|
|
70
|
+
--wr-color-dark-lighter: #1B294B;
|
|
71
|
+
}
|
|
72
|
+
|
package/styles/grid.scss
CHANGED
package/styles/reset.scss
CHANGED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
html {
|
|
2
|
+
color-scheme: light;
|
|
3
|
+
|
|
4
|
+
/* Fonts */
|
|
5
|
+
--wr-font-family-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
6
|
+
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
7
|
+
'Noto Color Emoji';
|
|
8
|
+
--wr-font-family-mono: SFMono-Regular, Consolas, 'Liberation Mono', Courier, Menlo, Monaco, monospace;
|
|
9
|
+
--wr-font-size-base: 1rem;
|
|
10
|
+
--wr-font-weight-base: 400;
|
|
11
|
+
--wr-line-height-base: 1.5;
|
|
12
|
+
--wr-letter-spacing-base: 0;
|
|
13
|
+
|
|
14
|
+
/* Transitions */
|
|
15
|
+
--wr-transition-base: all 0.15s linear;
|
|
16
|
+
--wr-transition-short: all 0.1s linear;
|
|
17
|
+
--wr-transition-long: all 0.2s linear;
|
|
18
|
+
|
|
19
|
+
/* Borders */
|
|
20
|
+
--wr-border-radius-base: 0.625rem;
|
|
21
|
+
--wr-border-color-base: var(--wr-color-light);
|
|
22
|
+
|
|
23
|
+
/* Body */
|
|
24
|
+
--wr-body-bg: #fff;
|
|
25
|
+
--wr-body-bg-rgb: 255,255,255;
|
|
26
|
+
--wr-body-color: var(--wr-color-dark);
|
|
27
|
+
|
|
28
|
+
/* Grid */
|
|
29
|
+
--wr-grid-gutter: 1.5rem;
|
|
30
|
+
|
|
31
|
+
/* Dialog */
|
|
32
|
+
--wr-dialog-bg: #fff;
|
|
33
|
+
--wr-dialog-min-width: 20rem;
|
|
34
|
+
--wr-dialog-title-color: var(--wr-color-dark);
|
|
35
|
+
--wr-dialog-padding-x: 1rem;
|
|
36
|
+
--wr-dialog-padding-y: 1rem;
|
|
37
|
+
|
|
38
|
+
/* Divider */
|
|
39
|
+
--wr-divider-width-base: 1px;
|
|
40
|
+
--wr-divider-color-base: var(--wr-color-light);
|
|
41
|
+
--wr-divider-margin-top-base: 0.5rem;
|
|
42
|
+
--wr-divider-margin-bottom-base: 0.5rem;
|
|
43
|
+
|
|
44
|
+
/* Tag */
|
|
45
|
+
--wr-tag-padding-y: 0.25rem;
|
|
46
|
+
--wr-tag-padding-x: 0.5rem;
|
|
47
|
+
--wr-tag-border-radius-base: 0.25rem;
|
|
48
|
+
--wr-tag-font-size-base: 0.75rem;
|
|
49
|
+
--wr-tag-line-height-base: 1rem;
|
|
50
|
+
--wr-tag-font-weight-base: 600;
|
|
51
|
+
--wr-tag-rounded-padding-y: 0.25rem;
|
|
52
|
+
--wr-tag-rounded-padding-x: 0.75rem;
|
|
53
|
+
--wr-tag-rounded-border-radius: 50rem;
|
|
54
|
+
|
|
55
|
+
&.dark {
|
|
56
|
+
color-scheme: dark;
|
|
57
|
+
|
|
58
|
+
--wr-body-bg: #0c0815;
|
|
59
|
+
--wr-body-bg-rgb: 12,8,21;
|
|
60
|
+
--wr-body-color: #fff;
|
|
61
|
+
|
|
62
|
+
--wr-border-color-base: #211638;
|
|
63
|
+
|
|
64
|
+
/* Dialog */
|
|
65
|
+
--wr-dialog-bg: #18152a;
|
|
66
|
+
--wr-dialog-min-width: 20rem;
|
|
67
|
+
--wr-dialog-title-color: #fff;
|
|
68
|
+
|
|
69
|
+
/* Checkbox */
|
|
70
|
+
--wr-checkbox-color-base: var(--wr-color-white);
|
|
71
|
+
|
|
72
|
+
--wr-input-bg: #18152a;
|
|
73
|
+
--wr-input-suffix-prefix-color: rgba(var(--wr-color-white-rgb), 0.5);
|
|
74
|
+
--wr-input-suffix-prefix-bg: rgba(var(--wr-color-primary-rgb), 0.125);
|
|
75
|
+
--wr-input-border-color: #493d7e;
|
|
76
|
+
--wr-input-color: #fff;
|
|
77
|
+
}
|
|
78
|
+
}
|
package/styles.scss
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@forward './styles/maps';
|
|
2
|
+
@forward './styles/colors';
|
|
3
|
+
@forward './styles/variables';
|
|
4
|
+
@forward './styles/grid' show media-up, media-down;
|
|
5
|
+
@forward './styles/reset';
|
|
6
|
+
@forward './styles/animations';
|
|
7
|
+
@forward './styles/cdk';
|
|
8
|
+
|
|
9
|
+
@forward './alert/styles';
|
|
10
|
+
@forward './avatar/styles';
|
|
11
|
+
@forward './button/styles';
|
|
12
|
+
@forward './checkbox/styles';
|
|
13
|
+
@forward './dialog/styles';
|
|
14
|
+
@forward './divider/styles';
|
|
15
|
+
@forward './form/styles';
|
|
16
|
+
@forward './icon/styles';
|
|
17
|
+
@forward './input/styles';
|
|
18
|
+
@forward './progress/styles';
|
|
19
|
+
@forward './qr/styles';
|
|
20
|
+
@forward './skeleton/styles';
|
|
21
|
+
@forward './spinner/styles';
|
|
22
|
+
@forward './tag/styles';
|
|
23
|
+
//@forward './tooltip';
|
package/tag/index.d.ts
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@forward './vars';
|
|
2
|
+
@forward './theming';
|
|
3
|
+
|
|
4
|
+
.wr-tag {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
vertical-align: middle;
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
appearance: none;
|
|
10
|
+
text-decoration: none;
|
|
11
|
+
list-style: none;
|
|
12
|
+
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
word-wrap: break-word;
|
|
15
|
+
|
|
16
|
+
color: var(--wr-tag-color);
|
|
17
|
+
background-color: var(--wr-tag-bg-color);
|
|
18
|
+
|
|
19
|
+
border-radius: var(--wr-tag-border-radius);
|
|
20
|
+
border: 1px solid var(--wr-tag-border-color);
|
|
21
|
+
|
|
22
|
+
font-family: var(--wr-tag-font-family);
|
|
23
|
+
font-size: var(--wr-tag-font-size);
|
|
24
|
+
font-weight: var(--wr-tag-font-weight);
|
|
25
|
+
line-height: var(--wr-tag-line-height);
|
|
26
|
+
|
|
27
|
+
padding: var(--wr-tag-padding-y) var(--wr-tag-padding-x);
|
|
28
|
+
|
|
29
|
+
&--rounded {
|
|
30
|
+
--wr-tag-border-radius: 50rem;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use '../../styles/maps' as maps;
|
|
2
|
+
|
|
3
|
+
@each $color in maps.$theme-colors-map {
|
|
4
|
+
.wr-tag--color-#{$color} {
|
|
5
|
+
--wr-tag-color: var(--wr-color-#{$color}-contrast);
|
|
6
|
+
--wr-tag-border-color: var(--wr-color-#{$color});
|
|
7
|
+
--wr-tag-bg-color: var(--wr-color-#{$color});
|
|
8
|
+
|
|
9
|
+
&.wr-tag--outlined {
|
|
10
|
+
--wr-tag-color: var(--wr-color-#{$color});
|
|
11
|
+
--wr-tag-bg-color: rgba(var(--wr-color-#{$color}-rgb), 0.05);
|
|
12
|
+
--wr-tag-border-color: rgba(var(--wr-color-#{$color}-rgb), 0.25);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.wr-tag--transparent {
|
|
16
|
+
--wr-tag-color: var(--wr-color-#{$color});
|
|
17
|
+
--wr-tag-bg-color: rgba(var(--wr-color-#{$color}-rgb), 0.1);
|
|
18
|
+
--wr-tag-border-color: transparent;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--wr-tag-color: var(--wr-color-dark);
|
|
3
|
+
--wr-tag-bg-color: var(--wr-color-white);
|
|
4
|
+
--wr-tag-border-color: var(--wr-color-light);
|
|
5
|
+
--wr-tag-font-size: 0.75rem;
|
|
6
|
+
--wr-tag-font-weight: 500;
|
|
7
|
+
--wr-tag-font-family: var(--wr-font-family-base);
|
|
8
|
+
--wr-tag-line-height: 1rem;
|
|
9
|
+
--wr-tag-border-radius: 0.375rem;
|
|
10
|
+
--wr-tag-padding-y: 0.125rem;
|
|
11
|
+
--wr-tag-padding-x: 0.375rem;
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SafeAny, WrThemeColor } from 'ngwr/cdk/types';
|
|
2
|
+
import { wrIconName } from 'ngwr/icon';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WrTagComponent {
|
|
5
|
+
color: WrThemeColor;
|
|
6
|
+
icon: wrIconName | null;
|
|
7
|
+
iconPosition: 'start' | 'end';
|
|
8
|
+
outlined: boolean;
|
|
9
|
+
rounded: boolean;
|
|
10
|
+
transparent: boolean;
|
|
11
|
+
hoverable: boolean;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
get elClasses(): SafeAny;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrTagComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrTagComponent, "wr-tag", never, { "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
static ngAcceptInputType_outlined: unknown;
|
|
17
|
+
static ngAcceptInputType_rounded: unknown;
|
|
18
|
+
static ngAcceptInputType_transparent: unknown;
|
|
19
|
+
static ngAcceptInputType_hoverable: unknown;
|
|
20
|
+
static ngAcceptInputType_loading: unknown;
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tag.component";
|
|
3
|
+
export declare class WrTagModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrTagModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WrTagModule, never, [typeof i1.WrTagComponent], [typeof i1.WrTagComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WrTagModule>;
|
|
7
|
+
}
|
package/_grid.scss
DELETED
package/_index.scss
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2022-2023 Garuna LLP
|
|
3
|
-
* Copyright 2022-2023 Stingray Technologies LLP
|
|
4
|
-
*
|
|
5
|
-
* Licensed under MIT
|
|
6
|
-
*
|
|
7
|
-
* https://github.com/thekhegay/ngwr
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
@forward './styles/maps';
|
|
11
|
-
|
|
12
|
-
@forward './styles/root';
|
|
13
|
-
@forward './styles/reset';
|
|
14
|
-
@forward './styles/grid' show media-up, media-down;
|
|
15
|
-
@forward './styles/animations';
|
|
16
|
-
@forward './styles/cdk';
|
|
17
|
-
|
|
18
|
-
@forward './backdrop/backdrop';
|
|
19
|
-
@forward './button/button';
|
|
20
|
-
@forward './checkbox/checkbox';
|
|
21
|
-
@forward './dialog/dialog';
|
|
22
|
-
@forward './divider/divider';
|
|
23
|
-
@forward './form/form';
|
|
24
|
-
@forward './icon/icon';
|
|
25
|
-
@forward './input/input';
|
|
26
|
-
@forward './qrcode/qrcode';
|
|
27
|
-
@forward './skeleton/skeleton';
|
|
28
|
-
@forward './spinner/spinner';
|
|
29
|
-
@forward './tag/tag';
|
|
30
|
-
@forward './tooltip/tooltip';
|
|
31
|
-
|
package/backdrop/backdrop.scss
DELETED
package/button/button.scss
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
@use '../styles/maps' as maps;
|
|
2
|
-
|
|
3
|
-
.wr-btn {
|
|
4
|
-
--wr-btn-bg: var(--wr-color-primary);
|
|
5
|
-
--wr-btn-bg-rgb: var(--wr-color-primary-rgb);
|
|
6
|
-
--wr-btn-text-color: var(--wr-color-primary-contrast);
|
|
7
|
-
--wr-btn-shade: var(--wr-color-primary-shade);
|
|
8
|
-
|
|
9
|
-
--wr-btn-font-size: var(--wr-btn-font-size-base);
|
|
10
|
-
--wr-btn-line-height: var(--wr-btn-line-height-base);
|
|
11
|
-
|
|
12
|
-
--wr-btn-border-radius: var(--wr-btn-border-radius-base);
|
|
13
|
-
|
|
14
|
-
--wr-btn-padding-y: var(--wr-btn-padding-y-base);
|
|
15
|
-
--wr-btn-padding-x: var(--wr-btn-padding-x-base);
|
|
16
|
-
|
|
17
|
-
--wr-btn-icon-size: var(--wr-btn-icon-size-base);
|
|
18
|
-
--wr-btn-icon-margin: var(--wr-btn-icon-margin-base);
|
|
19
|
-
|
|
20
|
-
display: inline-block;
|
|
21
|
-
|
|
22
|
-
padding: var(--wr-btn-padding-y) var(--wr-btn-padding-x);
|
|
23
|
-
|
|
24
|
-
font-family: var(--wr-btn-font-family-base);
|
|
25
|
-
font-size: var(--wr-btn-font-size);
|
|
26
|
-
font-weight: var(--wr-btn-font-weight-base);
|
|
27
|
-
line-height: var(--wr-btn-line-height);
|
|
28
|
-
|
|
29
|
-
text-align: center;
|
|
30
|
-
text-decoration: none;
|
|
31
|
-
vertical-align: middle;
|
|
32
|
-
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
user-select: none;
|
|
35
|
-
|
|
36
|
-
border: none;
|
|
37
|
-
border-radius: var(--wr-btn-border-radius);
|
|
38
|
-
|
|
39
|
-
transition: var(--wr-transition-short);
|
|
40
|
-
|
|
41
|
-
position: relative;
|
|
42
|
-
|
|
43
|
-
color: var(--wr-btn-text-color);
|
|
44
|
-
background-color: var(--wr-btn-bg);
|
|
45
|
-
|
|
46
|
-
&:hover {
|
|
47
|
-
text-decoration: none;
|
|
48
|
-
background-color: var(--wr-btn-shade);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&--outlined {
|
|
52
|
-
color: var(--wr-btn-bg);
|
|
53
|
-
background-color: transparent;
|
|
54
|
-
box-shadow: inset 0 0 0 var(--wr-btn-border-width) rgba(var(--wr-btn-bg-rgb), 0.375);
|
|
55
|
-
|
|
56
|
-
&:hover {
|
|
57
|
-
color: var(--wr-btn-text-color);
|
|
58
|
-
background-color: var(--wr-btn-bg);
|
|
59
|
-
box-shadow: none;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&--rounded {
|
|
64
|
-
--wr-btn-border-radius: var(--wr-btn-rounded-border-radius);
|
|
65
|
-
--wr-btn-padding-x: var(--wr-btn-rounded-padding-x);
|
|
66
|
-
--wr-btn-padding-y: var(--wr-btn-rounded-padding-y);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&--size {
|
|
70
|
-
&-small {
|
|
71
|
-
--wr-btn-font-size: var(--wr-btn-font-size-small);
|
|
72
|
-
--wr-btn-padding-x: var(--wr-btn-padding-x-small);
|
|
73
|
-
--wr-btn-padding-y: var(--wr-btn-padding-y-small);
|
|
74
|
-
--wr-btn-icon-size: var(--wr-btn-font-size-small);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&[disabled],
|
|
79
|
-
&:disabled,
|
|
80
|
-
&.disabled {
|
|
81
|
-
color: var(--wr-color-medium) !important;
|
|
82
|
-
background-color: var(--wr-color-light) !important;
|
|
83
|
-
background-image: none;
|
|
84
|
-
border: none;
|
|
85
|
-
box-shadow: none !important;
|
|
86
|
-
pointer-events: none;
|
|
87
|
-
|
|
88
|
-
.wr-btn__icon,
|
|
89
|
-
.wr-btn__spin {
|
|
90
|
-
color: var(--wr-color-medium);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&__text {
|
|
95
|
-
display: inline-block;
|
|
96
|
-
font-family: inherit;
|
|
97
|
-
font-size: inherit;
|
|
98
|
-
font-weight: inherit;
|
|
99
|
-
line-height: inherit;
|
|
100
|
-
word-break: break-word;
|
|
101
|
-
padding: 0;
|
|
102
|
-
transition: var(--wr-transition-base);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&__spin {
|
|
106
|
-
position: absolute;
|
|
107
|
-
z-index: 3;
|
|
108
|
-
left: 50%;
|
|
109
|
-
top: 50%;
|
|
110
|
-
transform: translate(-50%, -50%);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&__icon {
|
|
114
|
-
width: var(--wr-btn-icon-size) !important;
|
|
115
|
-
height: var(--wr-btn-icon-size) !important;
|
|
116
|
-
min-width: var(--wr-btn-icon-size) !important;
|
|
117
|
-
min-height: var(--wr-btn-icon-size) !important;
|
|
118
|
-
transition: var(--wr-transition-base) !important;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&--icon {
|
|
122
|
-
&-start {
|
|
123
|
-
padding-left: calc(var(--wr-btn-padding-x) - 0.0825rem);
|
|
124
|
-
|
|
125
|
-
.wr-btn__icon {
|
|
126
|
-
margin-right: var(--wr-btn-icon-margin);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&-end {
|
|
131
|
-
.wr-btn__icon {
|
|
132
|
-
margin-left: var(--wr-btn-icon-margin);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&--loading {
|
|
138
|
-
pointer-events: none;
|
|
139
|
-
|
|
140
|
-
.wr-btn__text,
|
|
141
|
-
.wr-btn__icon,{
|
|
142
|
-
opacity: 0;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
&--full-width {
|
|
148
|
-
display: block;
|
|
149
|
-
width: 100%;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
@each $color in maps.$theme-colors-map {
|
|
154
|
-
.wr-btn--color-#{$color} {
|
|
155
|
-
--wr-btn-bg: var(--wr-color-#{$color});
|
|
156
|
-
--wr-btn-bg-rgb: var(--wr-color-#{$color}-rgb);
|
|
157
|
-
--wr-btn-text-color: var(--wr-color-#{$color}-contrast);
|
|
158
|
-
--wr-btn-shade: var(--wr-color-#{$color}-shade);
|
|
159
|
-
}
|
|
160
|
-
}
|
package/checkbox/checkbox.scss
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
.wr-checkbox {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
|
|
4
|
-
&__container {
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
padding: 0;
|
|
9
|
-
margin: 0;
|
|
10
|
-
|
|
11
|
-
color: var(--wr-checkbox-color-base);
|
|
12
|
-
font-size: var(--wr-checkbox-font-size);
|
|
13
|
-
font-weight: var(--wr-checkbox-font-weight);
|
|
14
|
-
line-height: var(--wr-checkbox-line-height);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&__input {
|
|
18
|
-
position: absolute;
|
|
19
|
-
opacity: 0;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
height: 0;
|
|
22
|
-
width: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-inner {
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
height: var(--wr-checkbox-height);
|
|
31
|
-
width: var(--wr-checkbox-width);
|
|
32
|
-
|
|
33
|
-
margin-right: calc(var(--wr-checkbox-width) / 4);
|
|
34
|
-
|
|
35
|
-
border: 1px solid rgba(var(--wr-color-medium-rgb), 0.25);
|
|
36
|
-
border-radius: var(--wr-checkbox-border-radius);
|
|
37
|
-
|
|
38
|
-
transition: var(--wr-transition-base);
|
|
39
|
-
|
|
40
|
-
&__mark {
|
|
41
|
-
display: inline-block;
|
|
42
|
-
transform: rotate(45deg) translateX(-0.05rem) translateY(-0.05rem) scale(0.1);
|
|
43
|
-
opacity: 0;
|
|
44
|
-
height: calc(var(--wr-checkbox-height) / 2);
|
|
45
|
-
width: calc(var(--wr-checkbox-height) / 3);
|
|
46
|
-
border-bottom: 0.2rem solid var(--wr-color-white);
|
|
47
|
-
border-right: 0.2rem solid var(--wr-color-white);
|
|
48
|
-
transition: var(--wr-transition-short);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&:hover {
|
|
53
|
-
.wr-checkbox-inner {
|
|
54
|
-
border-color: var(--wr-color-primary);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&--checked {
|
|
59
|
-
.wr-checkbox-inner {
|
|
60
|
-
border-color: var(--wr-color-primary);
|
|
61
|
-
background: var(--wr-color-primary);
|
|
62
|
-
|
|
63
|
-
&__mark {
|
|
64
|
-
transform: rotate(45deg) translateX(-0.05rem) translateY(-0.05rem) scale(1);
|
|
65
|
-
opacity: 1;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&:hover {
|
|
70
|
-
.wr-checkbox-inner {
|
|
71
|
-
background: rgba(var(--wr-color-primary-rgb), 0.75);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&--focused {
|
|
77
|
-
.wr-checkbox-inner {
|
|
78
|
-
box-shadow: 0 0 0 1.5px rgba(var(--wr-color-primary-rgb), 0.25);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&[disabled],
|
|
83
|
-
&:disabled,
|
|
84
|
-
&.disabled {
|
|
85
|
-
pointer-events: none;
|
|
86
|
-
|
|
87
|
-
.wr-checkbox-inner {
|
|
88
|
-
border-color: rgba(var(--wr-color-medium-rgb), 0.25);
|
|
89
|
-
background: rgba(var(--wr-color-medium-rgb), 0.25);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&.wr-checkbox--checked {
|
|
93
|
-
.wr-checkbox-inner {
|
|
94
|
-
background: rgba(var(--wr-color-medium-rgb), 0.25);
|
|
95
|
-
|
|
96
|
-
&__mark {
|
|
97
|
-
border-bottom: 0.2rem solid rgba(var(--wr-color-medium-rgb), 0.75);
|
|
98
|
-
border-right: 0.2rem solid rgba(var(--wr-color-medium-rgb), 0.75);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
package/core/abstract/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './base';
|
package/core/color/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input-boolean';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function InputBoolean(): PropertyDecorator;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
|
|
3
|
-
import { WrAbstractBase } from 'ngwr/core/abstract';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class WrConnectedOverlayDirective extends WrAbstractBase {
|
|
6
|
-
private readonly cdkConnectedOverlay;
|
|
7
|
-
get wrArrowPointAtCenter(): boolean;
|
|
8
|
-
set wrArrowPointAtCenter(value: BooleanInput);
|
|
9
|
-
private _arrowPointAtCenter;
|
|
10
|
-
constructor(cdkConnectedOverlay: CdkConnectedOverlay);
|
|
11
|
-
private updateArrowPosition;
|
|
12
|
-
private getFlexibleConnectedPositionStrategyOrigin;
|
|
13
|
-
private getOriginRect;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WrConnectedOverlayDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WrConnectedOverlayDirective, "[cdkConnectedOverlay][wrConnectedOverlay]", ["wrConnectedOverlay"], { "wrArrowPointAtCenter": { "alias": "wrArrowPointAtCenter"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
package/core/overlay/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { WrConnectedOverlayDirective } from './connected-overlay-directive';
|
|
2
|
-
export { getPlacementName } from './get-placement-name';
|
|
3
|
-
export { WrOverlayModule } from './overlay-module';
|
|
4
|
-
export { WR_POSITION_MAP } from './position-map';
|
|
5
|
-
export { WR_POSITION_TYPE } from './position-type';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./connected-overlay-directive";
|
|
3
|
-
export declare class WrOverlayModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WrOverlayModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WrOverlayModule, [typeof i1.WrConnectedOverlayDirective], never, [typeof i1.WrConnectedOverlayDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<WrOverlayModule>;
|
|
7
|
-
}
|