ngwr 0.5.2 → 1.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/button/button.d.ts +1 -1
- package/checkbox/checkbox.d.ts +1 -1
- package/core/color/color.d.ts +1 -1
- package/core/overlay/connected-overlay-directive.d.ts +1 -1
- package/core/overlay/position-type.d.ts +1 -1
- package/core/types/on-change-type.d.ts +1 -1
- package/core/types/on-touched-type.d.ts +1 -1
- package/core/types/safe-any.d.ts +1 -1
- package/dialog/dialog-content-directives.d.ts +1 -1
- package/divider/divider.d.ts +1 -1
- package/{esm2020 → esm2022}/button/button-module.mjs +5 -5
- package/esm2022/button/button.mjs +187 -0
- package/{esm2020 → esm2022}/checkbox/checkbox-module.mjs +5 -5
- package/esm2022/checkbox/checkbox.mjs +154 -0
- package/{esm2020 → esm2022}/core/abstract/base.mjs +4 -4
- package/esm2022/core/overlay/connected-overlay-directive.mjs +98 -0
- package/{esm2020 → esm2022}/core/overlay/overlay-module.mjs +5 -5
- package/{esm2020 → esm2022}/dialog/dialog-base.mjs +4 -4
- package/esm2022/dialog/dialog-container.mjs +58 -0
- package/esm2022/dialog/dialog-content-directives.mjs +98 -0
- package/{esm2020 → esm2022}/dialog/dialog-module.mjs +5 -5
- package/{esm2020 → esm2022}/dialog/dialog-service.mjs +11 -11
- package/{esm2020 → esm2022}/divider/divider-module.mjs +5 -5
- package/esm2022/divider/divider.mjs +100 -0
- package/{esm2020 → esm2022}/form/form-error.mjs +4 -4
- package/esm2022/form/form-item.mjs +46 -0
- package/{esm2020 → esm2022}/form/form-module.mjs +5 -5
- package/{esm2020 → esm2022}/icon/icon-module.mjs +5 -5
- package/esm2022/icon/icon-service.mjs +21 -0
- package/esm2022/icon/icon.mjs +60 -0
- package/esm2022/icon/icons.mjs +464 -0
- package/{esm2020 → esm2022}/input/input-module.mjs +5 -5
- package/esm2022/input/input.mjs +240 -0
- package/{esm2020 → esm2022}/skeleton/skeleton-module.mjs +5 -5
- package/{esm2020 → esm2022}/skeleton/skeleton.mjs +4 -4
- package/{esm2020 → esm2022}/spinner/spinner-module.mjs +5 -5
- package/{esm2020 → esm2022}/spinner/spinner.mjs +4 -4
- package/{esm2020 → esm2022}/tag/tag-module.mjs +5 -5
- package/{esm2020 → esm2022}/tag/tag.mjs +4 -4
- package/esm2022/tooltip/tooltip-component.mjs +93 -0
- package/esm2022/tooltip/tooltip-directive.mjs +85 -0
- package/{esm2020 → esm2022}/tooltip/tooltip-module.mjs +5 -5
- package/{fesm2015 → fesm2022}/ngwr-button.mjs +29 -30
- package/{fesm2020 → fesm2022}/ngwr-button.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ngwr-checkbox.mjs +39 -40
- package/fesm2022/ngwr-checkbox.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngwr-core-abstract.mjs +3 -4
- package/{fesm2020 → fesm2022}/ngwr-core-abstract.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ngwr-core-color.mjs +0 -1
- package/{fesm2020 → fesm2022}/ngwr-core-decorators.mjs +0 -1
- package/{fesm2015 → fesm2022}/ngwr-core-overlay.mjs +13 -14
- package/{fesm2015 → fesm2022}/ngwr-core-overlay.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ngwr-core-types.mjs +0 -1
- package/{fesm2020 → fesm2022}/ngwr-dialog.mjs +44 -45
- package/{fesm2020 → fesm2022}/ngwr-dialog.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ngwr-divider.mjs +15 -16
- package/{fesm2015 → fesm2022}/ngwr-divider.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ngwr-form.mjs +14 -15
- package/fesm2022/ngwr-form.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngwr-icon.mjs +21 -17
- package/fesm2022/ngwr-icon.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngwr-input.mjs +41 -42
- package/fesm2022/ngwr-input.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngwr-skeleton.mjs +7 -8
- package/{fesm2020 → fesm2022}/ngwr-skeleton.mjs.map +1 -1
- package/fesm2022/ngwr-spinner.mjs +43 -0
- package/fesm2022/ngwr-spinner.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngwr-tag.mjs +7 -8
- package/{fesm2020 → fesm2022}/ngwr-tag.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ngwr-tooltip.mjs +26 -27
- package/{fesm2015 → fesm2022}/ngwr-tooltip.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ngwr.mjs +0 -1
- package/form/form-item.d.ts +1 -1
- package/icon/icon.d.ts +1 -1
- package/icon/icons.d.ts +9 -2
- package/input/input-types.d.ts +3 -3
- package/input/input.d.ts +1 -1
- package/package.json +76 -114
- package/skeleton/skeleton.d.ts +1 -1
- package/styles/grid.scss +97 -34
- package/styles/root.scss +3 -3
- package/tag/tag.d.ts +1 -1
- package/tooltip/tooltip-component.d.ts +1 -1
- package/tooltip/tooltip-directive.d.ts +1 -1
- package/tooltip/tooltip-trigger.d.ts +1 -1
- package/esm2020/button/button.mjs +0 -187
- package/esm2020/checkbox/checkbox.mjs +0 -154
- package/esm2020/core/overlay/connected-overlay-directive.mjs +0 -98
- package/esm2020/dialog/dialog-container.mjs +0 -58
- package/esm2020/dialog/dialog-content-directives.mjs +0 -98
- package/esm2020/divider/divider.mjs +0 -100
- package/esm2020/form/form-item.mjs +0 -46
- package/esm2020/icon/icon-service.mjs +0 -21
- package/esm2020/icon/icon.mjs +0 -60
- package/esm2020/icon/icons.mjs +0 -459
- package/esm2020/input/input.mjs +0 -240
- package/esm2020/tooltip/tooltip-component.mjs +0 -93
- package/esm2020/tooltip/tooltip-directive.mjs +0 -85
- package/fesm2015/ngwr-button.mjs.map +0 -1
- package/fesm2015/ngwr-checkbox.mjs.map +0 -1
- package/fesm2015/ngwr-core-abstract.mjs.map +0 -1
- package/fesm2015/ngwr-core-color.mjs +0 -26
- package/fesm2015/ngwr-core-decorators.mjs +0 -23
- package/fesm2015/ngwr-dialog.mjs +0 -454
- package/fesm2015/ngwr-dialog.mjs.map +0 -1
- package/fesm2015/ngwr-form.mjs +0 -90
- package/fesm2015/ngwr-form.mjs.map +0 -1
- package/fesm2015/ngwr-icon.mjs +0 -563
- package/fesm2015/ngwr-icon.mjs.map +0 -1
- package/fesm2015/ngwr-input.mjs +0 -263
- package/fesm2015/ngwr-input.mjs.map +0 -1
- package/fesm2015/ngwr-skeleton.mjs.map +0 -1
- package/fesm2015/ngwr-spinner.mjs +0 -44
- package/fesm2015/ngwr-spinner.mjs.map +0 -1
- package/fesm2015/ngwr-tag.mjs.map +0 -1
- package/fesm2015/ngwr-tooltip.mjs +0 -208
- package/fesm2015/ngwr.mjs +0 -8
- package/fesm2020/ngwr-button.mjs +0 -212
- package/fesm2020/ngwr-checkbox.mjs +0 -178
- package/fesm2020/ngwr-checkbox.mjs.map +0 -1
- package/fesm2020/ngwr-core-abstract.mjs +0 -26
- package/fesm2020/ngwr-core-color.mjs.map +0 -1
- package/fesm2020/ngwr-core-decorators.mjs.map +0 -1
- package/fesm2020/ngwr-core-overlay.mjs +0 -147
- package/fesm2020/ngwr-core-overlay.mjs.map +0 -1
- package/fesm2020/ngwr-core-types.mjs +0 -5
- package/fesm2020/ngwr-core-types.mjs.map +0 -1
- package/fesm2020/ngwr-divider.mjs +0 -121
- package/fesm2020/ngwr-divider.mjs.map +0 -1
- package/fesm2020/ngwr-form.mjs.map +0 -1
- package/fesm2020/ngwr-icon.mjs.map +0 -1
- package/fesm2020/ngwr-input.mjs.map +0 -1
- package/fesm2020/ngwr-skeleton.mjs +0 -67
- package/fesm2020/ngwr-spinner.mjs +0 -44
- package/fesm2020/ngwr-spinner.mjs.map +0 -1
- package/fesm2020/ngwr-tag.mjs +0 -105
- package/fesm2020/ngwr-tooltip.mjs.map +0 -1
- package/fesm2020/ngwr.mjs.map +0 -1
- /package/{esm2020 → esm2022}/button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/button/ngwr-button.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/ngwr-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/core/abstract/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/abstract/ngwr-core-abstract.mjs +0 -0
- /package/{esm2020 → esm2022}/core/color/color.mjs +0 -0
- /package/{esm2020 → esm2022}/core/color/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/color/is-theme-color.mjs +0 -0
- /package/{esm2020 → esm2022}/core/color/ngwr-core-color.mjs +0 -0
- /package/{esm2020 → esm2022}/core/decorators/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/decorators/input-boolean.mjs +0 -0
- /package/{esm2020 → esm2022}/core/decorators/ngwr-core-decorators.mjs +0 -0
- /package/{esm2020 → esm2022}/core/overlay/get-placement-name.mjs +0 -0
- /package/{esm2020 → esm2022}/core/overlay/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/overlay/ngwr-core-overlay.mjs +0 -0
- /package/{esm2020 → esm2022}/core/overlay/position-map.mjs +0 -0
- /package/{esm2020 → esm2022}/core/overlay/position-type.mjs +0 -0
- /package/{esm2020 → esm2022}/core/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/types/ng-style-interface.mjs +0 -0
- /package/{esm2020 → esm2022}/core/types/ngwr-core-types.mjs +0 -0
- /package/{esm2020 → esm2022}/core/types/on-change-type.mjs +0 -0
- /package/{esm2020 → esm2022}/core/types/on-touched-type.mjs +0 -0
- /package/{esm2020 → esm2022}/core/types/property-mapping.mjs +0 -0
- /package/{esm2020 → esm2022}/core/types/safe-any.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/dialog-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/dialog-config.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/dialog-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/dialog-tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/index.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/ngwr-dialog.mjs +0 -0
- /package/{esm2020 → esm2022}/divider/index.mjs +0 -0
- /package/{esm2020 → esm2022}/divider/ngwr-divider.mjs +0 -0
- /package/{esm2020 → esm2022}/form/index.mjs +0 -0
- /package/{esm2020 → esm2022}/form/ngwr-form.mjs +0 -0
- /package/{esm2020 → esm2022}/icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/icon/ngwr-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/input/index.mjs +0 -0
- /package/{esm2020 → esm2022}/input/input-types.mjs +0 -0
- /package/{esm2020 → esm2022}/input/ngwr-input.mjs +0 -0
- /package/{esm2020 → esm2022}/ngwr.mjs +0 -0
- /package/{esm2020 → esm2022}/skeleton/index.mjs +0 -0
- /package/{esm2020 → esm2022}/skeleton/ngwr-skeleton.mjs +0 -0
- /package/{esm2020 → esm2022}/spinner/index.mjs +0 -0
- /package/{esm2020 → esm2022}/spinner/ngwr-spinner.mjs +0 -0
- /package/{esm2020 → esm2022}/tag/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tag/ngwr-tag.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/ngwr-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/tooltip-default-positions.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/tooltip-trigger.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ngwr-core-color.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ngwr-core-decorators.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ngwr-core-types.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ngwr.mjs.map +0 -0
package/icon/icons.d.ts
CHANGED
|
@@ -170,6 +170,10 @@ export declare const wrIconFileApk: {
|
|
|
170
170
|
name: 'file-apk';
|
|
171
171
|
data: string;
|
|
172
172
|
};
|
|
173
|
+
export declare const wrIconFileApks: {
|
|
174
|
+
name: 'file-apks';
|
|
175
|
+
data: string;
|
|
176
|
+
};
|
|
173
177
|
export declare const wrIconFileIpa: {
|
|
174
178
|
name: 'file-ipa';
|
|
175
179
|
data: string;
|
|
@@ -362,12 +366,12 @@ export declare const wrIconWarning: {
|
|
|
362
366
|
name: 'warning';
|
|
363
367
|
data: string;
|
|
364
368
|
};
|
|
365
|
-
export
|
|
369
|
+
export type wrIconName = 'add-circle-outline' | 'add-circle' | 'add' | 'alert-circle-outline' | 'alert-circle' | 'alert-squircle' | 'alert' | 'arrow-back-circle' | 'arrow-back' | 'arrow-bottom-circle' | 'arrow-bottom' | 'arrow-forward-circle' | 'arrow-forward' | 'arrow-top-circle' | 'arrow-top' | 'bug-outline' | 'bug' | 'caret-back-circle' | 'caret-back' | 'caret-forward-circle' | 'caret-forward' | 'checkmark-circle-outline' | 'checkmark-circle' | 'checkmark' | 'chevron-down' | 'chevron-up' | 'clock' | 'close-circle-outline' | 'close-circle' | 'close' | 'cog' | 'copy-outline' | 'copy' | 'discover' | 'document' | 'dots-horizontal' | 'dots-vertical' | 'download' | 'external-outline' | 'eye-off' | 'eye' | 'file-aab' | 'file-apk' | 'file-apks' | 'file-ipa' | 'file-zip' | 'filter-outline' | 'filter' | 'flash' | 'folder' | 'help' | 'home' | 'info-circle-outline' | 'lock-opened' | 'lock' | 'logo-android' | 'logo-app-center' | 'logo-app-gallery' | 'logo-apple' | 'logo-appscreener' | 'logo-appstore' | 'logo-firebase' | 'logo-github' | 'logo-google-play' | 'logo-oversecured' | 'logo-rustore' | 'logo-stingray' | 'modules' | 'moon' | 'play-back' | 'play-circle' | 'play-forward' | 'play' | 'plus-circle' | 'reader' | 'repeat' | 'search' | 'shield-checkmark-outline' | 'shield-checkmark' | 'shield-outline' | 'shield' | 'shuffle' | 'stop-circle' | 'stop' | 'sun' | 'terminal' | 'trash' | 'user-add' | 'user-circle' | 'user-remove' | 'user' | 'warning';
|
|
366
370
|
export interface IWrIcon {
|
|
367
371
|
name: wrIconName;
|
|
368
372
|
data: string;
|
|
369
373
|
}
|
|
370
|
-
export
|
|
374
|
+
export type IWrIconNameSubset<T extends Readonly<IWrIcon[]>> = T[number]['name'];
|
|
371
375
|
export declare const wrIconSet: ({
|
|
372
376
|
name: 'add-circle-outline';
|
|
373
377
|
data: string;
|
|
@@ -497,6 +501,9 @@ export declare const wrIconSet: ({
|
|
|
497
501
|
} | {
|
|
498
502
|
name: 'file-apk';
|
|
499
503
|
data: string;
|
|
504
|
+
} | {
|
|
505
|
+
name: 'file-apks';
|
|
506
|
+
data: string;
|
|
500
507
|
} | {
|
|
501
508
|
name: 'file-ipa';
|
|
502
509
|
data: string;
|
package/input/input-types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export type WrInputAutocomplete = 'off' | 'name' | 'email' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'tel' | 'tel-extension' | 'url' | 'photo';
|
|
2
|
+
export type WrInputModeType = 'text' | 'numeric' | 'tel' | 'email' | 'url';
|
|
3
|
+
export type WrInputType = 'text' | 'number' | 'password' | 'email';
|
package/input/input.d.ts
CHANGED
|
@@ -61,5 +61,5 @@ export declare class WrInput extends WrAbstractBase implements ControlValueAcces
|
|
|
61
61
|
onPasswordVisibilityChange(): void;
|
|
62
62
|
setDisabledState(isDisabled: boolean): void;
|
|
63
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrInput, never>;
|
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WrInput, "wr-input", ["wrInput"], { "placeholder": "placeholder"; "prefix": "prefix"; "suffix": "suffix"; "passwordIcons": "passwordIcons"; "type": "type"; "inputmode": "inputmode"; "disabled": "disabled"; "readonly": "readonly"; "required": "required"; "autofocus": "autofocus"; "autocomplete": "autocomplete"; "value": "value"; }, {}, never, never, false, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrInput, "wr-input", ["wrInput"], { "placeholder": { "alias": "placeholder"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "passwordIcons": { "alias": "passwordIcons"; "required": false; }; "type": { "alias": "type"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
65
65
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngwr",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "NGWR – Angular UI components library",
|
|
6
6
|
"author": "Roman Khegay <rk@garuna.dev> (https://garuna.dev/)",
|
|
@@ -24,160 +24,122 @@
|
|
|
24
24
|
".": {
|
|
25
25
|
"sass": "./_index.scss",
|
|
26
26
|
"types": "./index.d.ts",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"node": "./fesm2015/ngwr.mjs",
|
|
31
|
-
"default": "./fesm2020/ngwr.mjs"
|
|
27
|
+
"esm2022": "./esm2022/ngwr.mjs",
|
|
28
|
+
"esm": "./esm2022/ngwr.mjs",
|
|
29
|
+
"default": "./fesm2022/ngwr.mjs"
|
|
32
30
|
},
|
|
33
31
|
"./package.json": {
|
|
34
32
|
"default": "./package.json"
|
|
35
33
|
},
|
|
36
34
|
"./button": {
|
|
37
35
|
"types": "./button/index.d.ts",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"node": "./fesm2015/ngwr-button.mjs",
|
|
42
|
-
"default": "./fesm2020/ngwr-button.mjs"
|
|
36
|
+
"esm2022": "./esm2022/button/ngwr-button.mjs",
|
|
37
|
+
"esm": "./esm2022/button/ngwr-button.mjs",
|
|
38
|
+
"default": "./fesm2022/ngwr-button.mjs"
|
|
43
39
|
},
|
|
44
40
|
"./checkbox": {
|
|
45
41
|
"types": "./checkbox/index.d.ts",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"node": "./fesm2015/ngwr-checkbox.mjs",
|
|
50
|
-
"default": "./fesm2020/ngwr-checkbox.mjs"
|
|
42
|
+
"esm2022": "./esm2022/checkbox/ngwr-checkbox.mjs",
|
|
43
|
+
"esm": "./esm2022/checkbox/ngwr-checkbox.mjs",
|
|
44
|
+
"default": "./fesm2022/ngwr-checkbox.mjs"
|
|
51
45
|
},
|
|
52
|
-
"./
|
|
53
|
-
"types": "./
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"node": "./fesm2015/ngwr-core-abstract.mjs",
|
|
58
|
-
"default": "./fesm2020/ngwr-core-abstract.mjs"
|
|
59
|
-
},
|
|
60
|
-
"./core/color": {
|
|
61
|
-
"types": "./core/color/index.d.ts",
|
|
62
|
-
"esm2020": "./esm2020/core/color/ngwr-core-color.mjs",
|
|
63
|
-
"es2020": "./fesm2020/ngwr-core-color.mjs",
|
|
64
|
-
"es2015": "./fesm2015/ngwr-core-color.mjs",
|
|
65
|
-
"node": "./fesm2015/ngwr-core-color.mjs",
|
|
66
|
-
"default": "./fesm2020/ngwr-core-color.mjs"
|
|
67
|
-
},
|
|
68
|
-
"./core/decorators": {
|
|
69
|
-
"types": "./core/decorators/index.d.ts",
|
|
70
|
-
"esm2020": "./esm2020/core/decorators/ngwr-core-decorators.mjs",
|
|
71
|
-
"es2020": "./fesm2020/ngwr-core-decorators.mjs",
|
|
72
|
-
"es2015": "./fesm2015/ngwr-core-decorators.mjs",
|
|
73
|
-
"node": "./fesm2015/ngwr-core-decorators.mjs",
|
|
74
|
-
"default": "./fesm2020/ngwr-core-decorators.mjs"
|
|
75
|
-
},
|
|
76
|
-
"./core/overlay": {
|
|
77
|
-
"types": "./core/overlay/index.d.ts",
|
|
78
|
-
"esm2020": "./esm2020/core/overlay/ngwr-core-overlay.mjs",
|
|
79
|
-
"es2020": "./fesm2020/ngwr-core-overlay.mjs",
|
|
80
|
-
"es2015": "./fesm2015/ngwr-core-overlay.mjs",
|
|
81
|
-
"node": "./fesm2015/ngwr-core-overlay.mjs",
|
|
82
|
-
"default": "./fesm2020/ngwr-core-overlay.mjs"
|
|
83
|
-
},
|
|
84
|
-
"./core/types": {
|
|
85
|
-
"types": "./core/types/index.d.ts",
|
|
86
|
-
"esm2020": "./esm2020/core/types/ngwr-core-types.mjs",
|
|
87
|
-
"es2020": "./fesm2020/ngwr-core-types.mjs",
|
|
88
|
-
"es2015": "./fesm2015/ngwr-core-types.mjs",
|
|
89
|
-
"node": "./fesm2015/ngwr-core-types.mjs",
|
|
90
|
-
"default": "./fesm2020/ngwr-core-types.mjs"
|
|
46
|
+
"./divider": {
|
|
47
|
+
"types": "./divider/index.d.ts",
|
|
48
|
+
"esm2022": "./esm2022/divider/ngwr-divider.mjs",
|
|
49
|
+
"esm": "./esm2022/divider/ngwr-divider.mjs",
|
|
50
|
+
"default": "./fesm2022/ngwr-divider.mjs"
|
|
91
51
|
},
|
|
92
52
|
"./dialog": {
|
|
93
53
|
"types": "./dialog/index.d.ts",
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"node": "./fesm2015/ngwr-dialog.mjs",
|
|
98
|
-
"default": "./fesm2020/ngwr-dialog.mjs"
|
|
99
|
-
},
|
|
100
|
-
"./divider": {
|
|
101
|
-
"types": "./divider/index.d.ts",
|
|
102
|
-
"esm2020": "./esm2020/divider/ngwr-divider.mjs",
|
|
103
|
-
"es2020": "./fesm2020/ngwr-divider.mjs",
|
|
104
|
-
"es2015": "./fesm2015/ngwr-divider.mjs",
|
|
105
|
-
"node": "./fesm2015/ngwr-divider.mjs",
|
|
106
|
-
"default": "./fesm2020/ngwr-divider.mjs"
|
|
54
|
+
"esm2022": "./esm2022/dialog/ngwr-dialog.mjs",
|
|
55
|
+
"esm": "./esm2022/dialog/ngwr-dialog.mjs",
|
|
56
|
+
"default": "./fesm2022/ngwr-dialog.mjs"
|
|
107
57
|
},
|
|
108
58
|
"./form": {
|
|
109
59
|
"types": "./form/index.d.ts",
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"node": "./fesm2015/ngwr-form.mjs",
|
|
114
|
-
"default": "./fesm2020/ngwr-form.mjs"
|
|
60
|
+
"esm2022": "./esm2022/form/ngwr-form.mjs",
|
|
61
|
+
"esm": "./esm2022/form/ngwr-form.mjs",
|
|
62
|
+
"default": "./fesm2022/ngwr-form.mjs"
|
|
115
63
|
},
|
|
116
64
|
"./icon": {
|
|
117
65
|
"types": "./icon/index.d.ts",
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"node": "./fesm2015/ngwr-icon.mjs",
|
|
122
|
-
"default": "./fesm2020/ngwr-icon.mjs"
|
|
66
|
+
"esm2022": "./esm2022/icon/ngwr-icon.mjs",
|
|
67
|
+
"esm": "./esm2022/icon/ngwr-icon.mjs",
|
|
68
|
+
"default": "./fesm2022/ngwr-icon.mjs"
|
|
123
69
|
},
|
|
124
70
|
"./input": {
|
|
125
71
|
"types": "./input/index.d.ts",
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"node": "./fesm2015/ngwr-input.mjs",
|
|
130
|
-
"default": "./fesm2020/ngwr-input.mjs"
|
|
72
|
+
"esm2022": "./esm2022/input/ngwr-input.mjs",
|
|
73
|
+
"esm": "./esm2022/input/ngwr-input.mjs",
|
|
74
|
+
"default": "./fesm2022/ngwr-input.mjs"
|
|
131
75
|
},
|
|
132
76
|
"./skeleton": {
|
|
133
77
|
"types": "./skeleton/index.d.ts",
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"node": "./fesm2015/ngwr-skeleton.mjs",
|
|
138
|
-
"default": "./fesm2020/ngwr-skeleton.mjs"
|
|
78
|
+
"esm2022": "./esm2022/skeleton/ngwr-skeleton.mjs",
|
|
79
|
+
"esm": "./esm2022/skeleton/ngwr-skeleton.mjs",
|
|
80
|
+
"default": "./fesm2022/ngwr-skeleton.mjs"
|
|
139
81
|
},
|
|
140
82
|
"./spinner": {
|
|
141
83
|
"types": "./spinner/index.d.ts",
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"node": "./fesm2015/ngwr-spinner.mjs",
|
|
146
|
-
"default": "./fesm2020/ngwr-spinner.mjs"
|
|
84
|
+
"esm2022": "./esm2022/spinner/ngwr-spinner.mjs",
|
|
85
|
+
"esm": "./esm2022/spinner/ngwr-spinner.mjs",
|
|
86
|
+
"default": "./fesm2022/ngwr-spinner.mjs"
|
|
147
87
|
},
|
|
148
88
|
"./tag": {
|
|
149
89
|
"types": "./tag/index.d.ts",
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"node": "./fesm2015/ngwr-tag.mjs",
|
|
154
|
-
"default": "./fesm2020/ngwr-tag.mjs"
|
|
90
|
+
"esm2022": "./esm2022/tag/ngwr-tag.mjs",
|
|
91
|
+
"esm": "./esm2022/tag/ngwr-tag.mjs",
|
|
92
|
+
"default": "./fesm2022/ngwr-tag.mjs"
|
|
155
93
|
},
|
|
156
94
|
"./tooltip": {
|
|
157
95
|
"types": "./tooltip/index.d.ts",
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
|
|
96
|
+
"esm2022": "./esm2022/tooltip/ngwr-tooltip.mjs",
|
|
97
|
+
"esm": "./esm2022/tooltip/ngwr-tooltip.mjs",
|
|
98
|
+
"default": "./fesm2022/ngwr-tooltip.mjs"
|
|
99
|
+
},
|
|
100
|
+
"./core/abstract": {
|
|
101
|
+
"types": "./core/abstract/index.d.ts",
|
|
102
|
+
"esm2022": "./esm2022/core/abstract/ngwr-core-abstract.mjs",
|
|
103
|
+
"esm": "./esm2022/core/abstract/ngwr-core-abstract.mjs",
|
|
104
|
+
"default": "./fesm2022/ngwr-core-abstract.mjs"
|
|
105
|
+
},
|
|
106
|
+
"./core/color": {
|
|
107
|
+
"types": "./core/color/index.d.ts",
|
|
108
|
+
"esm2022": "./esm2022/core/color/ngwr-core-color.mjs",
|
|
109
|
+
"esm": "./esm2022/core/color/ngwr-core-color.mjs",
|
|
110
|
+
"default": "./fesm2022/ngwr-core-color.mjs"
|
|
111
|
+
},
|
|
112
|
+
"./core/decorators": {
|
|
113
|
+
"types": "./core/decorators/index.d.ts",
|
|
114
|
+
"esm2022": "./esm2022/core/decorators/ngwr-core-decorators.mjs",
|
|
115
|
+
"esm": "./esm2022/core/decorators/ngwr-core-decorators.mjs",
|
|
116
|
+
"default": "./fesm2022/ngwr-core-decorators.mjs"
|
|
117
|
+
},
|
|
118
|
+
"./core/overlay": {
|
|
119
|
+
"types": "./core/overlay/index.d.ts",
|
|
120
|
+
"esm2022": "./esm2022/core/overlay/ngwr-core-overlay.mjs",
|
|
121
|
+
"esm": "./esm2022/core/overlay/ngwr-core-overlay.mjs",
|
|
122
|
+
"default": "./fesm2022/ngwr-core-overlay.mjs"
|
|
123
|
+
},
|
|
124
|
+
"./core/types": {
|
|
125
|
+
"types": "./core/types/index.d.ts",
|
|
126
|
+
"esm2022": "./esm2022/core/types/ngwr-core-types.mjs",
|
|
127
|
+
"esm": "./esm2022/core/types/ngwr-core-types.mjs",
|
|
128
|
+
"default": "./fesm2022/ngwr-core-types.mjs"
|
|
163
129
|
}
|
|
164
130
|
},
|
|
165
131
|
"dependencies": {
|
|
166
|
-
"@angular/cdk": "^
|
|
132
|
+
"@angular/cdk": "^16.0.0",
|
|
167
133
|
"tslib": "^2.3.0"
|
|
168
134
|
},
|
|
169
135
|
"peerDependencies": {
|
|
170
|
-
"@angular/animations": ">=14.0.0 <
|
|
171
|
-
"@angular/common": ">=14.0.0 <
|
|
172
|
-
"@angular/core": ">=14.0.0 <
|
|
173
|
-
"@angular/forms": ">=14.0.0 <
|
|
174
|
-
"rxjs": ">=6.5.5 < 7.
|
|
136
|
+
"@angular/animations": ">=14.0.0 <17.0.0",
|
|
137
|
+
"@angular/common": ">=14.0.0 <17.0.0",
|
|
138
|
+
"@angular/core": ">=14.0.0 <17.0.0",
|
|
139
|
+
"@angular/forms": ">=14.0.0 <17.0.0",
|
|
140
|
+
"rxjs": ">=6.5.5 < 7.9.0"
|
|
175
141
|
},
|
|
176
|
-
"module": "
|
|
177
|
-
"es2020": "fesm2020/ngwr.mjs",
|
|
178
|
-
"esm2020": "esm2020/ngwr.mjs",
|
|
179
|
-
"fesm2020": "fesm2020/ngwr.mjs",
|
|
180
|
-
"fesm2015": "fesm2015/ngwr.mjs",
|
|
142
|
+
"module": "fesm2022/ngwr.mjs",
|
|
181
143
|
"typings": "index.d.ts",
|
|
182
144
|
"sideEffects": false
|
|
183
145
|
}
|
package/skeleton/skeleton.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export declare class WrSkeleton {
|
|
|
7
7
|
animated: BooleanInput;
|
|
8
8
|
get elClasses(): SafeAny;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrSkeleton, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WrSkeleton, "wr-skeleton", ["wrSkeleton"], { "color": "color"; "animated": "animated"; }, {}, never, never, false, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WrSkeleton, "wr-skeleton", ["wrSkeleton"], { "color": { "alias": "color"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
11
|
}
|
package/styles/grid.scss
CHANGED
|
@@ -1,55 +1,118 @@
|
|
|
1
|
-
|
|
1
|
+
// Variables
|
|
2
|
+
$columns-count: 12;
|
|
2
3
|
$gap: #{var(--wr-grid-gutter)};
|
|
3
|
-
$breakpoints: (
|
|
4
|
-
xs:
|
|
5
|
-
sm:
|
|
6
|
-
md:
|
|
7
|
-
lg:
|
|
8
|
-
xl:
|
|
4
|
+
$breakpoints-map: (
|
|
5
|
+
xs: 0,
|
|
6
|
+
sm: 576px,
|
|
7
|
+
md: 768px,
|
|
8
|
+
lg: 992px,
|
|
9
|
+
xl: 1200px,
|
|
10
|
+
xxl: 1400px,
|
|
11
|
+
xga: 1600px,
|
|
12
|
+
fhd: 1920px,
|
|
13
|
+
rt: 2560px
|
|
14
|
+
);
|
|
15
|
+
$container-max-widths: (
|
|
16
|
+
sm: 540px,
|
|
17
|
+
md: 720px,
|
|
18
|
+
lg: 960px,
|
|
19
|
+
xl: 1140px,
|
|
20
|
+
xxl: 1320px,
|
|
21
|
+
xga: 1530px,
|
|
22
|
+
fhd: 1830px,
|
|
23
|
+
rt: 2470px
|
|
9
24
|
);
|
|
10
25
|
|
|
11
|
-
|
|
12
|
-
|
|
26
|
+
// Helpers
|
|
27
|
+
@function bp-min($name, $breakpoints: $breakpoints-map) {
|
|
28
|
+
$min: map-get($breakpoints, $name);
|
|
29
|
+
@return if($min != 0, $min, null);
|
|
30
|
+
}
|
|
31
|
+
@function bp-max($name, $breakpoints: $breakpoints-map) {
|
|
32
|
+
$max: map-get($breakpoints, $name);
|
|
33
|
+
@return if($max and $max > 0, $max - .02, null);
|
|
34
|
+
}
|
|
35
|
+
@function bp-infix($name, $breakpoints: $breakpoints-map) {
|
|
36
|
+
@return if(bp-min($name, $breakpoints) == null, '', '-#{$name}');
|
|
37
|
+
}
|
|
38
|
+
@mixin media-breakpoint-up($name, $breakpoints: $breakpoints-map) {
|
|
39
|
+
$min: bp-min($name, $breakpoints);
|
|
40
|
+
@if $min {
|
|
41
|
+
@media (min-width: $min) {
|
|
42
|
+
@content;
|
|
43
|
+
}
|
|
44
|
+
} @else {
|
|
45
|
+
@content;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
@mixin media-breakpoint-down($name, $breakpoints: $breakpoints-map) {
|
|
49
|
+
$max: bp-max($name, $breakpoints);
|
|
50
|
+
@if $max {
|
|
51
|
+
@media (max-width: $max) {
|
|
52
|
+
@content;
|
|
53
|
+
}
|
|
54
|
+
} @else {
|
|
55
|
+
@content;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
@mixin make-container($gutter: $gap) {
|
|
59
|
+
width: 100%;
|
|
60
|
+
padding-right: calc($gap * 0.5);
|
|
61
|
+
padding-left: calc($gap * 0.5);
|
|
13
62
|
margin-left: auto;
|
|
14
63
|
margin-right: auto;
|
|
64
|
+
}
|
|
65
|
+
@mixin make-grid($columns: $columns-count, $breakpoints: $breakpoints-map) {
|
|
66
|
+
@each $bp in map-keys($breakpoints) {
|
|
67
|
+
$infix: bp-infix($bp, $breakpoints);
|
|
15
68
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
69
|
+
@include media-breakpoint-up($bp, $breakpoints) {
|
|
70
|
+
@for $i from 1 through $columns {
|
|
71
|
+
.col#{$infix}-#{$i} {
|
|
72
|
+
grid-column: auto / span $i;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
19
75
|
}
|
|
20
76
|
}
|
|
21
77
|
}
|
|
22
78
|
|
|
23
|
-
|
|
24
|
-
|
|
79
|
+
// Styles
|
|
80
|
+
.container,
|
|
81
|
+
.container-fluid {
|
|
82
|
+
@include make-container();
|
|
83
|
+
}
|
|
25
84
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
grid-row-end: span $i;
|
|
85
|
+
@each $bp, $max-width in $container-max-widths {
|
|
86
|
+
.container-#{$bp} {
|
|
87
|
+
@extend .container-fluid;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@include media-breakpoint-up($bp, $breakpoints-map) {
|
|
91
|
+
%responsive-container-#{$bp} {
|
|
92
|
+
max-width: $max-width;
|
|
35
93
|
}
|
|
36
|
-
|
|
37
|
-
|
|
94
|
+
|
|
95
|
+
$extend-breakpoint: true;
|
|
96
|
+
|
|
97
|
+
@each $name, $width in $breakpoints-map {
|
|
98
|
+
@if ($extend-breakpoint) {
|
|
99
|
+
.container#{bp-infix($name, $breakpoints-map)} {
|
|
100
|
+
@extend %responsive-container-#{$bp};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Once the current breakpoint is reached, stop extending
|
|
104
|
+
@if ($bp == $name) {
|
|
105
|
+
$extend-breakpoint: false;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
38
108
|
}
|
|
39
109
|
}
|
|
40
110
|
}
|
|
41
111
|
|
|
42
112
|
.grid {
|
|
43
113
|
display: grid;
|
|
44
|
-
grid-template-columns: repeat($columns, 1fr);
|
|
45
|
-
grid-gap: $gap;
|
|
114
|
+
grid-template-columns: repeat($columns-count, 1fr);
|
|
46
115
|
gap: $gap;
|
|
47
|
-
}
|
|
48
116
|
|
|
49
|
-
@include
|
|
50
|
-
|
|
51
|
-
@each $breakpoint, $width in $breakpoints {
|
|
52
|
-
@media (min-width: $width) {
|
|
53
|
-
@include create-selectors($breakpoint);
|
|
54
|
-
}
|
|
117
|
+
@include make-grid();
|
|
55
118
|
}
|
package/styles/root.scss
CHANGED
|
@@ -140,11 +140,11 @@ html {
|
|
|
140
140
|
&.dark {
|
|
141
141
|
color-scheme: dark;
|
|
142
142
|
|
|
143
|
-
--wr-body-bg: #
|
|
144
|
-
--wr-body-bg-rgb:
|
|
143
|
+
--wr-body-bg: #0c0815;
|
|
144
|
+
--wr-body-bg-rgb: 12,8,21;
|
|
145
145
|
--wr-body-color: #fff;
|
|
146
146
|
|
|
147
|
-
--wr-border-color-base: #
|
|
147
|
+
--wr-border-color-base: #211638;
|
|
148
148
|
|
|
149
149
|
/* Dialog */
|
|
150
150
|
--wr-dialog-bg: #18152a;
|
package/tag/tag.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export declare class WrTag {
|
|
|
14
14
|
loading: BooleanInput;
|
|
15
15
|
get elClasses(): SafeAny;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrTag, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WrTag, "wr-tag", ["wrTag"], { "color": "color"; "icon": "icon"; "iconPosition": "iconPosition"; "outlined": "outlined"; "rounded": "rounded"; "transparent": "transparent"; "hoverable": "hoverable"; "loading": "loading"; }, {}, never, ["*"], false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrTag, "wr-tag", ["wrTag"], { "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, ["*"], false, never>;
|
|
18
18
|
}
|
|
@@ -27,5 +27,5 @@ export declare class WrTooltipComponent {
|
|
|
27
27
|
onPositionChange(position: ConnectedOverlayPositionChange): void;
|
|
28
28
|
onClickOutside(event: MouseEvent): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrTooltipComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WrTooltipComponent, "wr-tooltip", never, { "message": "message"; "trigger": "trigger"; "visible": "visible"; "origin": "origin"; "position": "position"; }, {}, never, never, false, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrTooltipComponent, "wr-tooltip", never, { "message": { "alias": "message"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "origin": { "alias": "origin"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
31
|
}
|
|
@@ -18,5 +18,5 @@ export declare class WrTooltipDirective implements AfterViewInit {
|
|
|
18
18
|
private onTooltipHide;
|
|
19
19
|
private leaveDelay;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrTooltipDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WrTooltipDirective, "[wrTooltip]", ["wrTooltip"], { "message": "wrTooltip"; "trigger": "trigger"; }, {}, never, never, false, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WrTooltipDirective, "[wrTooltip]", ["wrTooltip"], { "message": { "alias": "wrTooltip"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type WrTooltipTrigger = 'hover' | 'click';
|