ngwr 3.0.0 → 4.0.1
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 +10 -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 +123 -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 +101 -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,107 @@
|
|
|
1
|
+
@forward './vars';
|
|
2
|
+
|
|
3
|
+
.wr-input {
|
|
4
|
+
--wr-input-padding-right: var(--wr-input-padding-x);
|
|
5
|
+
--wr-input-cursor: default;
|
|
6
|
+
|
|
7
|
+
display: flex;
|
|
8
|
+
|
|
9
|
+
cursor: var(--wr-input-cursor);
|
|
10
|
+
|
|
11
|
+
color: var(--wr-input-color);
|
|
12
|
+
font-size: var(--wr-input-font-size);
|
|
13
|
+
font-weight: var(--wr-input-font-weight);
|
|
14
|
+
line-height: var(--wr-input-line-height);
|
|
15
|
+
|
|
16
|
+
background-color: var(--wr-input-bg-color);
|
|
17
|
+
border: 1px solid var(--wr-input-border-color);
|
|
18
|
+
border-radius: var(--wr-input-border-radius);
|
|
19
|
+
box-shadow: var(--wr-input-box-shadow);
|
|
20
|
+
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
position: relative;
|
|
23
|
+
|
|
24
|
+
transition: var(--wr-transition-base);
|
|
25
|
+
|
|
26
|
+
&--rounded {
|
|
27
|
+
--wr-input-border-radius: 50rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--disabled {
|
|
31
|
+
--wr-input-cursor: not-allowed;
|
|
32
|
+
--wr-input-color: var(--wr-color-medium);
|
|
33
|
+
--wr-input-bg-color: var(--wr-color-light-lighter);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&--focused {
|
|
37
|
+
--wr-input-border-color: var(--wr-color-primary);
|
|
38
|
+
--wr-input-box-shadow: 0 0 0 3px rgba(var(--wr-color-primary-rgb), 0.125);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&--password {
|
|
42
|
+
--wr-input-padding-right: calc(var(--wr-input-icon-size) + calc(var(--wr-input-padding-x) / 2));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&__native {
|
|
46
|
+
display: inline-block;
|
|
47
|
+
|
|
48
|
+
flex: 1;
|
|
49
|
+
|
|
50
|
+
appearance: none;
|
|
51
|
+
background: none;
|
|
52
|
+
border: none;
|
|
53
|
+
outline: none;
|
|
54
|
+
margin: 0;
|
|
55
|
+
vertical-align: middle;
|
|
56
|
+
white-space: normal;
|
|
57
|
+
resize: none;
|
|
58
|
+
|
|
59
|
+
color: inherit;
|
|
60
|
+
font-size: inherit;
|
|
61
|
+
font-weight: inherit;
|
|
62
|
+
line-height: inherit;
|
|
63
|
+
|
|
64
|
+
padding: var(--wr-input-padding-y) var(--wr-input-padding-x);
|
|
65
|
+
padding-right: var(--wr-input-padding-right);
|
|
66
|
+
|
|
67
|
+
&[disabled],
|
|
68
|
+
&:disabled {
|
|
69
|
+
cursor: var(--wr-input-cursor);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&::placeholder {
|
|
73
|
+
color: var(--wr-input-placeholder-color);
|
|
74
|
+
font-style: italic;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&-icon {
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
position: absolute;
|
|
84
|
+
top: 0;
|
|
85
|
+
right: 0;
|
|
86
|
+
|
|
87
|
+
width: calc(var(--wr-input-icon-size) + calc(var(--wr-input-padding-x) / 2));
|
|
88
|
+
height: 100%;
|
|
89
|
+
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
|
|
92
|
+
&--disabled {
|
|
93
|
+
cursor: var(--wr-input-cursor);
|
|
94
|
+
pointer-events: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&__icon {
|
|
98
|
+
--wr-icon-size: var(--wr-input-icon-size);
|
|
99
|
+
color: var(--wr-input-icon-color);
|
|
100
|
+
transition: var(--wr-transition-base);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:hover {
|
|
104
|
+
--wr-input-icon-color: var(--wr-color-primary);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--wr-input-color: var(--wr-color-dark);
|
|
3
|
+
--wr-input-placeholder-color: var(--wr-color-light);
|
|
4
|
+
--wr-input-bg-color: var(--wr-color-white);
|
|
5
|
+
--wr-input-border-color: var(--wr-color-light-lighter);
|
|
6
|
+
--wr-input-border-radius: 0.375rem;
|
|
7
|
+
--wr-input-box-shadow: none;
|
|
8
|
+
--wr-input-icon-size: 1.25rem;
|
|
9
|
+
--wr-input-icon-color: var(--wr-color-medium);
|
|
10
|
+
--wr-input-font-size: 0.875rem;
|
|
11
|
+
--wr-input-font-weight: 400;
|
|
12
|
+
--wr-input-font-family: var(--wr-font-family-base);
|
|
13
|
+
--wr-input-line-height: 1.25rem;
|
|
14
|
+
--wr-input-padding-y: 0.375rem;
|
|
15
|
+
--wr-input-padding-x: 0.825rem;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngwr",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "NGWR – Angular UI components library",
|
|
6
|
-
"author": "Roman Khegay <rk@garuna.dev> (https://garuna.dev
|
|
6
|
+
"author": "Roman Khegay <rk@garuna.dev> (https://garuna.dev)",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"ngwr",
|
|
9
9
|
"angular",
|
|
@@ -20,26 +20,93 @@
|
|
|
20
20
|
"bugs": {
|
|
21
21
|
"url": "https://github.com/thekhegay/ngwr/issues"
|
|
22
22
|
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@angular/animations": ">=17.0.0 <19.0.0",
|
|
25
|
+
"@angular/cdk": ">=17.0.0 <19.0.0",
|
|
26
|
+
"@angular/common": ">=17.0.0 <19.0.0",
|
|
27
|
+
"@angular/core": ">=17.0.0 <19.0.0",
|
|
28
|
+
"@angular/forms": ">=17.0.0 <19.0.0",
|
|
29
|
+
"@angular/platform-browser": ">=17.0.0 <19.0.0",
|
|
30
|
+
"@angular/router": ">=17.0.0 <19.0.0",
|
|
31
|
+
"rxjs": ">=6.5.5 < 7.9.0"
|
|
32
|
+
},
|
|
23
33
|
"exports": {
|
|
24
34
|
".": {
|
|
25
|
-
"sass": "./
|
|
35
|
+
"sass": "./styles.scss",
|
|
26
36
|
"types": "./index.d.ts",
|
|
27
37
|
"esm2022": "./esm2022/ngwr.mjs",
|
|
28
38
|
"esm": "./esm2022/ngwr.mjs",
|
|
29
39
|
"default": "./fesm2022/ngwr.mjs"
|
|
30
40
|
},
|
|
31
|
-
"./
|
|
32
|
-
"sass": "./
|
|
41
|
+
"./alert/styles": {
|
|
42
|
+
"sass": "./alert/styles/_index.scss"
|
|
43
|
+
},
|
|
44
|
+
"./avatar/styles": {
|
|
45
|
+
"sass": "./avatar/styles/_index.scss"
|
|
46
|
+
},
|
|
47
|
+
"./button/styles": {
|
|
48
|
+
"sass": "./avatar/button/_index.scss"
|
|
49
|
+
},
|
|
50
|
+
"./checkbox/styles": {
|
|
51
|
+
"sass": "./checkbox/styles/_index.scss"
|
|
52
|
+
},
|
|
53
|
+
"./dialog/styles": {
|
|
54
|
+
"sass": "./dialog/styles/_index.scss"
|
|
55
|
+
},
|
|
56
|
+
"./divider/styles": {
|
|
57
|
+
"sass": "./divider/styles/_index.scss"
|
|
58
|
+
},
|
|
59
|
+
"./form/styles": {
|
|
60
|
+
"sass": "./form/styles/_index.scss"
|
|
61
|
+
},
|
|
62
|
+
"./icon/styles": {
|
|
63
|
+
"sass": "./icon/styles/_index.scss"
|
|
64
|
+
},
|
|
65
|
+
"./input/styles": {
|
|
66
|
+
"sass": "./input/styles/_index.scss"
|
|
67
|
+
},
|
|
68
|
+
"./progress/styles": {
|
|
69
|
+
"sass": "./progress/styles/_index.scss"
|
|
70
|
+
},
|
|
71
|
+
"./qr/styles": {
|
|
72
|
+
"sass": "./qr/styles/_index.scss"
|
|
73
|
+
},
|
|
74
|
+
"./skeleton/styles": {
|
|
75
|
+
"sass": "./skeleton/styles/_index.scss"
|
|
76
|
+
},
|
|
77
|
+
"./spinner/styles": {
|
|
78
|
+
"sass": "./spinner/styles/_index.scss"
|
|
79
|
+
},
|
|
80
|
+
"./tag/styles": {
|
|
81
|
+
"sass": "./tag/styles/_index.scss"
|
|
33
82
|
},
|
|
34
83
|
"./package.json": {
|
|
35
84
|
"default": "./package.json"
|
|
36
85
|
},
|
|
86
|
+
"./alert": {
|
|
87
|
+
"types": "./alert/index.d.ts",
|
|
88
|
+
"esm2022": "./esm2022/alert/ngwr-alert.mjs",
|
|
89
|
+
"esm": "./esm2022/alert/ngwr-alert.mjs",
|
|
90
|
+
"default": "./fesm2022/ngwr-alert.mjs"
|
|
91
|
+
},
|
|
92
|
+
"./avatar": {
|
|
93
|
+
"types": "./avatar/index.d.ts",
|
|
94
|
+
"esm2022": "./esm2022/avatar/ngwr-avatar.mjs",
|
|
95
|
+
"esm": "./esm2022/avatar/ngwr-avatar.mjs",
|
|
96
|
+
"default": "./fesm2022/ngwr-avatar.mjs"
|
|
97
|
+
},
|
|
37
98
|
"./button": {
|
|
38
99
|
"types": "./button/index.d.ts",
|
|
39
100
|
"esm2022": "./esm2022/button/ngwr-button.mjs",
|
|
40
101
|
"esm": "./esm2022/button/ngwr-button.mjs",
|
|
41
102
|
"default": "./fesm2022/ngwr-button.mjs"
|
|
42
103
|
},
|
|
104
|
+
"./cdk": {
|
|
105
|
+
"types": "./cdk/index.d.ts",
|
|
106
|
+
"esm2022": "./esm2022/cdk/ngwr-cdk.mjs",
|
|
107
|
+
"esm": "./esm2022/cdk/ngwr-cdk.mjs",
|
|
108
|
+
"default": "./fesm2022/ngwr-cdk.mjs"
|
|
109
|
+
},
|
|
43
110
|
"./checkbox": {
|
|
44
111
|
"types": "./checkbox/index.d.ts",
|
|
45
112
|
"esm2022": "./esm2022/checkbox/ngwr-checkbox.mjs",
|
|
@@ -76,11 +143,23 @@
|
|
|
76
143
|
"esm": "./esm2022/input/ngwr-input.mjs",
|
|
77
144
|
"default": "./fesm2022/ngwr-input.mjs"
|
|
78
145
|
},
|
|
79
|
-
"./
|
|
80
|
-
"types": "./
|
|
81
|
-
"esm2022": "./esm2022/
|
|
82
|
-
"esm": "./esm2022/
|
|
83
|
-
"default": "./fesm2022/ngwr-
|
|
146
|
+
"./pipes": {
|
|
147
|
+
"types": "./pipes/index.d.ts",
|
|
148
|
+
"esm2022": "./esm2022/pipes/ngwr-pipes.mjs",
|
|
149
|
+
"esm": "./esm2022/pipes/ngwr-pipes.mjs",
|
|
150
|
+
"default": "./fesm2022/ngwr-pipes.mjs"
|
|
151
|
+
},
|
|
152
|
+
"./progress": {
|
|
153
|
+
"types": "./progress/index.d.ts",
|
|
154
|
+
"esm2022": "./esm2022/progress/ngwr-progress.mjs",
|
|
155
|
+
"esm": "./esm2022/progress/ngwr-progress.mjs",
|
|
156
|
+
"default": "./fesm2022/ngwr-progress.mjs"
|
|
157
|
+
},
|
|
158
|
+
"./qr": {
|
|
159
|
+
"types": "./qr/index.d.ts",
|
|
160
|
+
"esm2022": "./esm2022/qr/ngwr-qr.mjs",
|
|
161
|
+
"esm": "./esm2022/qr/ngwr-qr.mjs",
|
|
162
|
+
"default": "./fesm2022/ngwr-qr.mjs"
|
|
84
163
|
},
|
|
85
164
|
"./skeleton": {
|
|
86
165
|
"types": "./skeleton/index.d.ts",
|
|
@@ -100,55 +179,29 @@
|
|
|
100
179
|
"esm": "./esm2022/tag/ngwr-tag.mjs",
|
|
101
180
|
"default": "./fesm2022/ngwr-tag.mjs"
|
|
102
181
|
},
|
|
103
|
-
"./
|
|
104
|
-
"types": "./
|
|
105
|
-
"esm2022": "./esm2022/
|
|
106
|
-
"esm": "./esm2022/
|
|
107
|
-
"default": "./fesm2022/ngwr-
|
|
108
|
-
},
|
|
109
|
-
"./
|
|
110
|
-
"types": "./
|
|
111
|
-
"esm2022": "./esm2022/
|
|
112
|
-
"esm": "./esm2022/
|
|
113
|
-
"default": "./fesm2022/ngwr-
|
|
114
|
-
},
|
|
115
|
-
"./
|
|
116
|
-
"types": "./
|
|
117
|
-
"esm2022": "./esm2022/
|
|
118
|
-
"esm": "./esm2022/
|
|
119
|
-
"default": "./fesm2022/ngwr-
|
|
120
|
-
},
|
|
121
|
-
"./core/decorators": {
|
|
122
|
-
"types": "./core/decorators/index.d.ts",
|
|
123
|
-
"esm2022": "./esm2022/core/decorators/ngwr-core-decorators.mjs",
|
|
124
|
-
"esm": "./esm2022/core/decorators/ngwr-core-decorators.mjs",
|
|
125
|
-
"default": "./fesm2022/ngwr-core-decorators.mjs"
|
|
126
|
-
},
|
|
127
|
-
"./core/overlay": {
|
|
128
|
-
"types": "./core/overlay/index.d.ts",
|
|
129
|
-
"esm2022": "./esm2022/core/overlay/ngwr-core-overlay.mjs",
|
|
130
|
-
"esm": "./esm2022/core/overlay/ngwr-core-overlay.mjs",
|
|
131
|
-
"default": "./fesm2022/ngwr-core-overlay.mjs"
|
|
132
|
-
},
|
|
133
|
-
"./core/types": {
|
|
134
|
-
"types": "./core/types/index.d.ts",
|
|
135
|
-
"esm2022": "./esm2022/core/types/ngwr-core-types.mjs",
|
|
136
|
-
"esm": "./esm2022/core/types/ngwr-core-types.mjs",
|
|
137
|
-
"default": "./fesm2022/ngwr-core-types.mjs"
|
|
182
|
+
"./cdk/rxjs": {
|
|
183
|
+
"types": "./cdk/rxjs/index.d.ts",
|
|
184
|
+
"esm2022": "./esm2022/cdk/rxjs/ngwr-cdk-rxjs.mjs",
|
|
185
|
+
"esm": "./esm2022/cdk/rxjs/ngwr-cdk-rxjs.mjs",
|
|
186
|
+
"default": "./fesm2022/ngwr-cdk-rxjs.mjs"
|
|
187
|
+
},
|
|
188
|
+
"./cdk/types": {
|
|
189
|
+
"types": "./cdk/types/index.d.ts",
|
|
190
|
+
"esm2022": "./esm2022/cdk/types/ngwr-cdk-types.mjs",
|
|
191
|
+
"esm": "./esm2022/cdk/types/ngwr-cdk-types.mjs",
|
|
192
|
+
"default": "./fesm2022/ngwr-cdk-types.mjs"
|
|
193
|
+
},
|
|
194
|
+
"./cdk/utils": {
|
|
195
|
+
"types": "./cdk/utils/index.d.ts",
|
|
196
|
+
"esm2022": "./esm2022/cdk/utils/ngwr-cdk-utils.mjs",
|
|
197
|
+
"esm": "./esm2022/cdk/utils/ngwr-cdk-utils.mjs",
|
|
198
|
+
"default": "./fesm2022/ngwr-cdk-utils.mjs"
|
|
138
199
|
}
|
|
139
200
|
},
|
|
140
|
-
"dependencies": {
|
|
141
|
-
"@angular/cdk": "^17.0.5",
|
|
142
|
-
"tslib": "^2.3.0"
|
|
143
|
-
},
|
|
144
|
-
"peerDependencies": {
|
|
145
|
-
"@angular/animations": ">=14.0.0 <18.0.0",
|
|
146
|
-
"@angular/common": ">=14.0.0 <18.0.0",
|
|
147
|
-
"@angular/core": ">=14.0.0 <18.0.0",
|
|
148
|
-
"@angular/forms": ">=14.0.0 <18.0.0",
|
|
149
|
-
"rxjs": ">=6.5.5 < 7.9.0"
|
|
150
|
-
},
|
|
151
201
|
"module": "fesm2022/ngwr.mjs",
|
|
152
202
|
"typings": "index.d.ts",
|
|
153
|
-
"sideEffects": false
|
|
203
|
+
"sideEffects": false,
|
|
204
|
+
"dependencies": {
|
|
205
|
+
"tslib": "^2.3.0"
|
|
206
|
+
}
|
|
154
207
|
}
|
package/pipes/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
7
|
+
import { PipeTransform } from '@angular/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class NewArrayPipe implements PipeTransform {
|
|
10
|
+
transform(arrayLength: number): number[];
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NewArrayPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NewArrayPipe, "newArray", true>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./new-array.pipe";
|
|
3
|
+
export declare class WrPipesModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrPipesModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WrPipesModule, never, [typeof i1.NewArrayPipe], [typeof i1.NewArrayPipe]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WrPipesModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SafeAny, WrThemeColor } from 'ngwr/cdk/types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class WrProgressComponent {
|
|
4
|
+
color: WrThemeColor | null;
|
|
5
|
+
percent: number;
|
|
6
|
+
get elClasses(): SafeAny;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrProgressComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrProgressComponent, "wr-progress", never, { "color": { "alias": "color"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
static ngAcceptInputType_percent: unknown;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./progress.component";
|
|
3
|
+
export declare class WrProgressModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrProgressModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WrProgressModule, never, [typeof i1.WrProgressComponent], [typeof i1.WrProgressComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WrProgressModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@forward './vars';
|
|
2
|
+
@forward './theming';
|
|
3
|
+
|
|
4
|
+
.wr-progress {
|
|
5
|
+
position: relative;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
|
|
8
|
+
height: var(--wr-progress-height);
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
background: var(--wr-progress-bg-color);
|
|
12
|
+
border-radius: var(--wr-progress-border-radius);
|
|
13
|
+
|
|
14
|
+
&__bg {
|
|
15
|
+
position: absolute;
|
|
16
|
+
height: 100%;
|
|
17
|
+
background: var(--wr-progress-color);
|
|
18
|
+
border-top-right-radius: var(--wr-progress-border-radius);
|
|
19
|
+
border-bottom-right-radius: var(--wr-progress-border-radius);
|
|
20
|
+
transition: var(--wr-transition-base);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
package/public-api.d.ts
ADDED
package/qr/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { WrAbstractBase } from 'ngwr/cdk';
|
|
3
|
+
import { wrIconName } from 'ngwr/icon';
|
|
4
|
+
import { ERROR_LEVEL_MAP } from './generator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WrQrComponent extends WrAbstractBase implements OnInit, AfterViewInit, OnChanges {
|
|
7
|
+
class: string;
|
|
8
|
+
canvas: ElementRef<HTMLCanvasElement>;
|
|
9
|
+
value: string;
|
|
10
|
+
level: keyof typeof ERROR_LEVEL_MAP;
|
|
11
|
+
padding: number;
|
|
12
|
+
color: string;
|
|
13
|
+
bgColor: string;
|
|
14
|
+
size: number;
|
|
15
|
+
icon: wrIconName | null;
|
|
16
|
+
iconSize: number;
|
|
17
|
+
private readonly pid;
|
|
18
|
+
private readonly elRef;
|
|
19
|
+
private readonly wrIconService;
|
|
20
|
+
protected readonly isBrowser: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
setElBg(): void;
|
|
25
|
+
drawCanvas(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrQrComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrQrComponent, "wr-qr", never, { "value": { "alias": "value"; "required": true; }; "level": { "alias": "level"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "color": { "alias": "color"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
static ngAcceptInputType_padding: unknown;
|
|
29
|
+
static ngAcceptInputType_size: unknown;
|
|
30
|
+
static ngAcceptInputType_iconSize: unknown;
|
|
31
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./qr.component";
|
|
3
|
+
export declare class WrQrModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrQrModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WrQrModule, never, [typeof i1.WrQrComponent], [typeof i1.WrQrComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WrQrModule>;
|
|
7
|
+
}
|
package/skeleton/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './skeleton.component';
|
|
2
|
+
export * from './skeleton.module';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SafeAny, WrThemeColor } from 'ngwr/cdk/types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class WrSkeletonComponent {
|
|
4
|
+
color: WrThemeColor;
|
|
5
|
+
animated: boolean;
|
|
6
|
+
get elClasses(): SafeAny;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrSkeletonComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrSkeletonComponent, "wr-skeleton", never, { "color": { "alias": "color"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
static ngAcceptInputType_animated: unknown;
|
|
10
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./skeleton";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
2
|
+
import * as i1 from "./skeleton.component";
|
|
4
3
|
export declare class WrSkeletonModule {
|
|
5
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrSkeletonModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WrSkeletonModule,
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WrSkeletonModule, never, [typeof i1.WrSkeletonComponent], [typeof i1.WrSkeletonComponent]>;
|
|
7
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<WrSkeletonModule>;
|
|
8
7
|
}
|
package/spinner/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './spinner.component';
|
|
2
|
+
export * from './spinner.module';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* NGWR spinner component.
|
|
4
|
+
*
|
|
5
|
+
* {@tutorial} [How to use wr-spinner]{@link http://ngwr.dev/docs/components/spinner
|
|
6
|
+
*/
|
|
7
|
+
export declare class WrSpinnerComponent {
|
|
8
|
+
class: string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrSpinnerComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrSpinnerComponent, "wr-spinner", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./spinner";
|
|
2
|
+
import * as i1 from "./spinner.component";
|
|
3
3
|
export declare class WrSpinnerModule {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrSpinnerModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WrSpinnerModule, [typeof i1.
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WrSpinnerModule, never, [typeof i1.WrSpinnerComponent], [typeof i1.WrSpinnerComponent]>;
|
|
6
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<WrSpinnerModule>;
|
|
7
7
|
}
|
package/styles/animations.scss
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
@keyframes shimmer {
|
|
2
|
-
100% { transform: translateX(100%); }
|
|
3
|
-
}
|
|
4
|
-
|
|
5
1
|
@keyframes rotate {
|
|
6
2
|
100% { transform: rotate(360deg); }
|
|
7
3
|
}
|
|
@@ -12,6 +8,10 @@
|
|
|
12
8
|
100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
|
|
13
9
|
}
|
|
14
10
|
|
|
11
|
+
@keyframes shimmer {
|
|
12
|
+
100% { transform: translateX(100%); }
|
|
13
|
+
}
|
|
14
|
+
|
|
15
15
|
@keyframes wr-fade-in {
|
|
16
16
|
0% { opacity: 0 }
|
|
17
17
|
to { opacity: 1 }
|