@recursyve/nice-ui-kit.v2 13.2.0-beta.98 → 14.0.0-beta.100
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/esm2020/lib/api/interceptors/transform-response.interceptor.mjs +3 -3
- package/esm2020/lib/components/alert/alert.component.mjs +3 -3
- package/esm2020/lib/components/alert/alert.module.mjs +4 -4
- package/esm2020/lib/components/alert/alert.service.mjs +3 -3
- package/esm2020/lib/components/assets-carousel/assets-carousel.component.mjs +33 -17
- package/esm2020/lib/components/assets-carousel/assets-carousel.module.mjs +4 -4
- package/esm2020/lib/components/async-typeahead/async-typeahead.component.mjs +15 -9
- package/esm2020/lib/components/async-typeahead/async-typeahead.module.mjs +4 -4
- package/esm2020/lib/components/async-typeahead/providers/async-typeahead.service.mjs +3 -3
- package/esm2020/lib/components/base-form/base-form.component.mjs +3 -3
- package/esm2020/lib/components/base-form/base-form.module.mjs +4 -4
- package/esm2020/lib/components/base-form/form-submit.directive.mjs +3 -3
- package/esm2020/lib/components/card/card.component.mjs +3 -3
- package/esm2020/lib/components/card/card.module.mjs +4 -4
- package/esm2020/lib/components/carousel/carousel.component.mjs +3 -3
- package/esm2020/lib/components/carousel/carousel.module.mjs +4 -4
- package/esm2020/lib/components/carousel/picture-modal/picture-modal.component.mjs +3 -3
- package/esm2020/lib/components/carousel/picture-modal/picture-modal.service.mjs +3 -3
- package/esm2020/lib/components/carousel/pipe/carousel-layout.pipe.mjs +3 -3
- package/esm2020/lib/components/date-range-picker/components/header/header.component.mjs +57 -0
- package/esm2020/lib/components/date-range-picker/components/range-preset/range-preset.component.mjs +107 -0
- package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +74 -0
- package/esm2020/lib/components/date-range-picker/date-range-picker.module.mjs +56 -0
- package/esm2020/lib/components/date-range-picker/index.mjs +2 -0
- package/esm2020/lib/components/date-range-picker/providers/date-range-picker.service.mjs +17 -0
- package/esm2020/lib/components/date-range-picker/public-api.mjs +3 -0
- package/esm2020/lib/components/drawer/drawer.component.mjs +3 -3
- package/esm2020/lib/components/drawer/drawer.module.mjs +4 -4
- package/esm2020/lib/components/drawer/drawer.service.mjs +3 -3
- package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.component.mjs +3 -3
- package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.module.mjs +4 -4
- package/esm2020/lib/components/export-bottom-sheet/providers/export-bottom-sheet.service.mjs +6 -6
- package/esm2020/lib/components/form-error/control-status.directive.mjs +4 -4
- package/esm2020/lib/components/form-error/form-error.component.mjs +3 -3
- package/esm2020/lib/components/form-error/form-error.module.mjs +4 -4
- package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.component.mjs +3 -3
- package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.module.mjs +4 -4
- package/esm2020/lib/components/horizontal-stepper/step.component.mjs +3 -3
- package/esm2020/lib/components/image-cropper/image-cropper.component.mjs +8 -8
- package/esm2020/lib/components/image-cropper/image-cropper.module.mjs +4 -4
- package/esm2020/lib/components/layout/layout.component.mjs +3 -3
- package/esm2020/lib/components/layout/layout.module.mjs +4 -4
- package/esm2020/lib/components/loading-spinner/loading-spinner.component.mjs +3 -3
- package/esm2020/lib/components/loading-spinner/loading-spinner.module.mjs +4 -4
- package/esm2020/lib/components/loading-spinner/loading.directive.mjs +3 -3
- package/esm2020/lib/components/lottie/lottie.component.mjs +3 -3
- package/esm2020/lib/components/lottie/lottie.module.mjs +4 -4
- package/esm2020/lib/components/navigation/directives/show-hint.directive.mjs +163 -0
- package/esm2020/lib/components/navigation/horizontal/components/basic/basic.component.mjs +3 -3
- package/esm2020/lib/components/navigation/horizontal/components/branch/branch.component.mjs +6 -5
- package/esm2020/lib/components/navigation/horizontal/components/divider/divider.component.mjs +3 -3
- package/esm2020/lib/components/navigation/horizontal/components/spacer/spacer.component.mjs +3 -3
- package/esm2020/lib/components/navigation/horizontal/horizontal.component.mjs +6 -5
- package/esm2020/lib/components/navigation/navigation.component.mjs +3 -3
- package/esm2020/lib/components/navigation/navigation.module.mjs +18 -7
- package/esm2020/lib/components/navigation/navigation.service.mjs +3 -3
- package/esm2020/lib/components/navigation/navigation.types.mjs +1 -1
- package/esm2020/lib/components/navigation/pipes/should-hide.pipe.mjs +31 -0
- package/esm2020/lib/components/navigation/pipes/should-show-hint.pipe.mjs +32 -0
- package/esm2020/lib/components/navigation/providers/hide-item.resolver.mjs +3 -0
- package/esm2020/lib/components/navigation/providers/hint.resolver.mjs +3 -0
- package/esm2020/lib/components/navigation/providers/hint.service.mjs +20 -0
- package/esm2020/lib/components/navigation/public-api.mjs +3 -1
- package/esm2020/lib/components/navigation/vertical/components/aside/aside.component.mjs +3 -3
- package/esm2020/lib/components/navigation/vertical/components/basic/basic.component.mjs +8 -6
- package/esm2020/lib/components/navigation/vertical/components/collapsable/collapsable.component.mjs +9 -17
- package/esm2020/lib/components/navigation/vertical/components/divider/divider.component.mjs +3 -3
- package/esm2020/lib/components/navigation/vertical/components/group/group.component.mjs +6 -5
- package/esm2020/lib/components/navigation/vertical/components/spacer/spacer.component.mjs +3 -3
- package/esm2020/lib/components/navigation/vertical/vertical.component.mjs +33 -16
- package/esm2020/lib/components/public-api.mjs +2 -1
- package/esm2020/lib/components/search-bar/search-bar.component.mjs +3 -3
- package/esm2020/lib/components/search-bar/search-bar.module.mjs +4 -4
- package/esm2020/lib/components/sweet-alert/public-api.mjs +2 -1
- package/esm2020/lib/components/sweet-alert/sweet-alert.component.mjs +3 -3
- package/esm2020/lib/components/sweet-alert/sweet-alert.directive.mjs +37 -0
- package/esm2020/lib/components/sweet-alert/sweet-alert.module.mjs +9 -7
- package/esm2020/lib/components/sweet-alert/sweet-alert.service.mjs +24 -7
- package/esm2020/lib/components/toast/toast.component.mjs +3 -3
- package/esm2020/lib/components/toast/toast.module.mjs +4 -4
- package/esm2020/lib/components/toast/toast.service.mjs +3 -3
- package/esm2020/lib/components/toggle-button-group/toggle-button-group.component.mjs +3 -3
- package/esm2020/lib/components/toggle-button-group/toggle-button-group.module.mjs +4 -4
- package/esm2020/lib/components/toggle-button-group/toggle-button.component.mjs +3 -3
- package/esm2020/lib/components/typeahead/directives/options-scroll.directive.mjs +3 -3
- package/esm2020/lib/components/typeahead/directives/options-scroll.module.mjs +4 -4
- package/esm2020/lib/components/typeahead/typeahead.component.mjs +3 -3
- package/esm2020/lib/components/typeahead/typeahead.module.mjs +4 -4
- package/esm2020/lib/directives/autofocus/autofocus.directive.mjs +3 -3
- package/esm2020/lib/directives/autofocus/autofocus.module.mjs +4 -4
- package/esm2020/lib/directives/autogrow/autogrow.directive.mjs +3 -3
- package/esm2020/lib/directives/autogrow/autogrow.module.mjs +4 -4
- package/esm2020/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.mjs +39 -0
- package/esm2020/lib/directives/chip-async-typeahead/index.mjs +2 -0
- package/esm2020/lib/directives/chip-async-typeahead/public-api.mjs +2 -0
- package/esm2020/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.mjs +14 -0
- package/esm2020/lib/directives/chip-list/chip-list-items/chip-list-items.component.mjs +46 -0
- package/esm2020/lib/directives/chip-list/chip-list.constant.mjs +3 -0
- package/esm2020/lib/directives/chip-list/chip-list.directive.mjs +127 -0
- package/esm2020/lib/directives/chip-list/chip-list.module.mjs +40 -0
- package/esm2020/lib/directives/chip-list/index.mjs +2 -0
- package/esm2020/lib/directives/chip-list/public-api.mjs +5 -0
- package/esm2020/lib/directives/dropzone/dropzone.directive.mjs +3 -3
- package/esm2020/lib/directives/dropzone/dropzone.module.mjs +4 -4
- package/esm2020/lib/directives/image-error-placeholder/image-error-placeholder.directive.mjs +3 -3
- package/esm2020/lib/directives/image-error-placeholder/image-error-placeholder.module.mjs +4 -4
- package/esm2020/lib/directives/material/material.module.mjs +4 -4
- package/esm2020/lib/directives/material/nice-material-style.directive.mjs +3 -3
- package/esm2020/lib/directives/material/nice-rounded-style.directive.mjs +3 -3
- package/esm2020/lib/directives/modals/modal-on-click.directive.mjs +3 -3
- package/esm2020/lib/directives/modals/modal-opener.directive.mjs +3 -3
- package/esm2020/lib/directives/public-api.mjs +3 -1
- package/esm2020/lib/directives/scroll-reset/scroll-reset.directive.mjs +3 -3
- package/esm2020/lib/directives/scroll-reset/scroll-reset.module.mjs +4 -4
- package/esm2020/lib/directives/scrollbar/scrollbar.directive.mjs +3 -3
- package/esm2020/lib/directives/scrollbar/scrollbar.module.mjs +4 -4
- package/esm2020/lib/directives/stop-propagation/click-stop-propagation.directive.mjs +3 -3
- package/esm2020/lib/directives/stop-propagation/stop-propagation.module.mjs +4 -4
- package/esm2020/lib/directives/window/prevent-close-window.directive.mjs +3 -3
- package/esm2020/lib/directives/window/window-directive.module.mjs +4 -4
- package/esm2020/lib/nice.module.mjs +5 -5
- package/esm2020/lib/pipes/boolean.pipe.mjs +3 -3
- package/esm2020/lib/pipes/capitalize-first-letter.pipe.mjs +3 -3
- package/esm2020/lib/pipes/ceil.pipe.mjs +3 -3
- package/esm2020/lib/pipes/entries.pipe.mjs +3 -3
- package/esm2020/lib/pipes/find-by-key.pipe.mjs +3 -3
- package/esm2020/lib/pipes/first-letter.pipe.mjs +3 -3
- package/esm2020/lib/pipes/floor.pipe.mjs +3 -3
- package/esm2020/lib/pipes/join-if-defined.pipe.mjs +3 -3
- package/esm2020/lib/pipes/link.pipe.mjs +3 -3
- package/esm2020/lib/pipes/localized-boolean.pipe.mjs +3 -3
- package/esm2020/lib/pipes/localized-currency.pipe.mjs +3 -3
- package/esm2020/lib/pipes/localized-date-only.pipe.mjs +3 -3
- package/esm2020/lib/pipes/localized-date.pipe.mjs +3 -3
- package/esm2020/lib/pipes/minutes-to-time.pipe.mjs +3 -3
- package/esm2020/lib/pipes/number-to-ordinal-indicator.pipe.mjs +3 -3
- package/esm2020/lib/pipes/pad.pipe.mjs +3 -3
- package/esm2020/lib/pipes/phone.pipe.mjs +3 -3
- package/esm2020/lib/pipes/pipes.module.mjs +4 -4
- package/esm2020/lib/pipes/postal-code.pipe.mjs +3 -3
- package/esm2020/lib/pipes/range.pipe.mjs +3 -3
- package/esm2020/lib/pipes/round.pipe.mjs +3 -3
- package/esm2020/lib/pipes/sanitize-bypass.pipe.mjs +3 -3
- package/esm2020/lib/pipes/seconds-to-time.pipe.mjs +3 -3
- package/esm2020/lib/providers/config/config.module.mjs +4 -4
- package/esm2020/lib/providers/config/config.service.mjs +3 -3
- package/esm2020/lib/providers/media-watcher/media-watcher.module.mjs +4 -4
- package/esm2020/lib/providers/media-watcher/media-watcher.service.mjs +3 -3
- package/esm2020/lib/providers/overlay/dynamic-overlay-container.service.mjs +3 -3
- package/esm2020/lib/providers/overlay/dynamic-overlay.service.mjs +3 -3
- package/esm2020/lib/providers/splash-screen/splash-screen.module.mjs +4 -4
- package/esm2020/lib/providers/splash-screen/splash-screen.service.mjs +3 -3
- package/esm2020/lib/providers/utils/utils.module.mjs +4 -4
- package/esm2020/lib/providers/utils/utils.service.mjs +3 -3
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs +2175 -1354
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs +2173 -1361
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/lib/components/assets-carousel/assets-carousel.component.d.ts +6 -1
- package/lib/components/async-typeahead/async-typeahead.component.d.ts +4 -3
- package/lib/components/date-range-picker/components/header/header.component.d.ts +20 -0
- package/lib/components/date-range-picker/components/range-preset/range-preset.component.d.ts +23 -0
- package/lib/components/date-range-picker/date-range-picker.component.d.ts +29 -0
- package/lib/components/date-range-picker/date-range-picker.module.d.ts +18 -0
- package/lib/components/date-range-picker/index.d.ts +1 -0
- package/lib/components/date-range-picker/providers/date-range-picker.service.d.ts +8 -0
- package/lib/components/date-range-picker/public-api.d.ts +2 -0
- package/lib/components/form-error/control-status.directive.d.ts +3 -5
- package/lib/components/navigation/directives/show-hint.directive.d.ts +36 -0
- package/lib/components/navigation/navigation.module.d.ts +13 -10
- package/lib/components/navigation/navigation.types.d.ts +8 -1
- package/lib/components/navigation/pipes/should-hide.pipe.d.ts +11 -0
- package/lib/components/navigation/pipes/should-show-hint.pipe.d.ts +12 -0
- package/lib/components/navigation/providers/hide-item.resolver.d.ts +5 -0
- package/lib/components/navigation/providers/hint.resolver.d.ts +4 -0
- package/lib/components/navigation/providers/hint.service.d.ts +9 -0
- package/lib/components/navigation/public-api.d.ts +2 -0
- package/lib/components/navigation/vertical/vertical.component.d.ts +6 -2
- package/lib/components/public-api.d.ts +1 -0
- package/lib/components/sweet-alert/public-api.d.ts +1 -0
- package/lib/components/sweet-alert/sweet-alert.directive.d.ts +13 -0
- package/lib/components/sweet-alert/sweet-alert.module.d.ts +7 -6
- package/lib/components/sweet-alert/sweet-alert.service.d.ts +11 -0
- package/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.d.ts +14 -0
- package/lib/directives/chip-async-typeahead/index.d.ts +1 -0
- package/lib/directives/chip-async-typeahead/public-api.d.ts +1 -0
- package/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.d.ts +8 -0
- package/lib/directives/chip-list/chip-list-items/chip-list-items.component.d.ts +26 -0
- package/lib/directives/chip-list/chip-list.constant.d.ts +2 -0
- package/lib/directives/chip-list/chip-list.directive.d.ts +29 -0
- package/lib/directives/chip-list/chip-list.module.d.ts +14 -0
- package/lib/directives/chip-list/index.d.ts +1 -0
- package/lib/directives/chip-list/public-api.d.ts +4 -0
- package/lib/directives/public-api.d.ts +2 -0
- package/lib/utils/array.utils.d.ts +1 -1
- package/package.json +9 -9
- package/src/lib/components/assets-carousel/assets-carousel.theme.scss +44 -38
- package/src/lib/components/chip-list/chip-list.theme.scss +14 -0
- package/src/lib/components/chip-list/components/item-list/item-list.theme.scss +37 -0
- package/src/lib/components/date-range-picker/date-range-picker.theme.scss +47 -0
- package/src/lib/components/navigation/vertical/styles/appearances/default.theme.scss +38 -0
- package/src/lib/components/navigation/vertical/styles/appearances/dense.theme.scss +2 -2
- package/src/lib/directives/chip-list/chip-list-items/chip-list-items.theme.scss +35 -0
- package/src/lib/nice.theme.scss +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@recursyve/nice-ui-kit.v2",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0-beta.100",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"sass": "./_index.scss",
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/cdk": "^
|
|
20
|
-
"@angular/common": "^
|
|
21
|
-
"@angular/core": "^
|
|
22
|
-
"@angular/forms": "^
|
|
23
|
-
"@angular/material": "^
|
|
19
|
+
"@angular/cdk": "^14.0.0",
|
|
20
|
+
"@angular/common": "^14.0.0",
|
|
21
|
+
"@angular/core": "^14.0.0",
|
|
22
|
+
"@angular/forms": "^14.0.0",
|
|
23
|
+
"@angular/material": "^14.0.0",
|
|
24
24
|
"@ngx-translate/core": "^14.0.0",
|
|
25
|
-
"@recursyve/ngx-form-generator": "
|
|
26
|
-
"ngx-mask": "^
|
|
25
|
+
"@recursyve/ngx-form-generator": ">= 14.0.0-beta.36",
|
|
26
|
+
"ngx-mask": "^14.0.0",
|
|
27
27
|
"perfect-scrollbar": "^1.5.3",
|
|
28
|
-
"uuid": "
|
|
28
|
+
"uuid": ">= 9.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.0.0",
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
@use "../../nice.utils" as nice;
|
|
2
2
|
|
|
3
|
+
/* Variables */
|
|
4
|
+
:root {
|
|
5
|
+
--nice-assets-carousel-asset-width: 90px;
|
|
6
|
+
--nice-assets-carousel-asset-height: 60px;
|
|
7
|
+
--nice-assets-carousel-asset-gap: 0.75rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
3
10
|
@mixin nice-assets-carousel-theme($theme) {
|
|
4
11
|
nice-assets-carousel {
|
|
5
12
|
.carousel-container {
|
|
@@ -42,47 +49,46 @@
|
|
|
42
49
|
}
|
|
43
50
|
|
|
44
51
|
.carousel {
|
|
45
|
-
@apply flex flex-row items-center;
|
|
52
|
+
@apply relative flex flex-row items-center;
|
|
46
53
|
|
|
47
54
|
.asset-list-container {
|
|
48
|
-
@apply flex flex-row overflow-x-hidden;
|
|
49
|
-
|
|
50
|
-
min-width: 400px;
|
|
51
|
-
max-width: 400px;
|
|
55
|
+
@apply flex flex-row overflow-x-hidden min-w-full max-w-full;
|
|
52
56
|
|
|
53
57
|
.asset-list {
|
|
54
58
|
@apply flex flex-row;
|
|
55
59
|
|
|
60
|
+
gap: var(--nice-assets-carousel-asset-gap);
|
|
56
61
|
transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);
|
|
57
62
|
}
|
|
58
63
|
}
|
|
64
|
+
}
|
|
59
65
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
66
|
+
.left-arrow {
|
|
67
|
+
@apply -left-[10%];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.right-arrow {
|
|
71
|
+
@apply -right-[10%];
|
|
63
72
|
}
|
|
64
73
|
|
|
65
74
|
image, img, video {
|
|
66
|
-
|
|
67
|
-
|
|
75
|
+
@apply w-full h-full select-none object-cover;
|
|
76
|
+
}
|
|
68
77
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
78
|
+
.action-button {
|
|
79
|
+
@apply absolute w-8 h-8 min-w-8 min-h-8;
|
|
80
|
+
|
|
81
|
+
.mat-button-wrapper {
|
|
82
|
+
@apply w-full;
|
|
83
|
+
}
|
|
73
84
|
}
|
|
74
85
|
|
|
75
86
|
.active-image {
|
|
76
|
-
@apply
|
|
77
|
-
|
|
78
|
-
width: 400px;
|
|
87
|
+
@apply relative cursor-pointer mb-4 w-full rounded;
|
|
79
88
|
height: 280px;
|
|
80
89
|
|
|
81
|
-
margin-bottom: 16px;
|
|
82
|
-
border-radius: 4px;
|
|
83
|
-
|
|
84
90
|
&.empty-state {
|
|
85
|
-
@apply border border-white select-none
|
|
91
|
+
@apply border border-white select-none;
|
|
86
92
|
|
|
87
93
|
.empty-state-content {
|
|
88
94
|
@apply h-full flex flex-col justify-center items-center;
|
|
@@ -101,10 +107,9 @@
|
|
|
101
107
|
@apply absolute top-3 right-3 flex flex-row;
|
|
102
108
|
|
|
103
109
|
.mat-icon-button {
|
|
104
|
-
@apply bg-white ml-2.5;
|
|
110
|
+
@apply bg-white ml-2.5 rounded;
|
|
105
111
|
|
|
106
112
|
@include nice.override-mat-icon-size(32, true);
|
|
107
|
-
border-radius: 4px;
|
|
108
113
|
|
|
109
114
|
&[disabled] * {
|
|
110
115
|
@apply text-black text-opacity-80 #{!important};
|
|
@@ -119,22 +124,26 @@
|
|
|
119
124
|
}
|
|
120
125
|
}
|
|
121
126
|
|
|
127
|
+
.active-image-overlay {
|
|
128
|
+
@apply absolute top-0 w-full h-full bg-default bg-opacity-50;
|
|
129
|
+
|
|
130
|
+
.mat-icon {
|
|
131
|
+
@include nice.override-mat-icon-size(60, true);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
122
135
|
.arrows {
|
|
123
136
|
@include nice.override-mat-icon-size(16, true);
|
|
124
137
|
}
|
|
125
138
|
|
|
126
139
|
.add-asset-container {
|
|
127
|
-
@apply bg-default z-50 cursor-pointer select-none;
|
|
140
|
+
@apply bg-default z-50 cursor-pointer select-none mr-3;
|
|
128
141
|
|
|
129
|
-
min-width:
|
|
130
|
-
min-height:
|
|
131
|
-
margin-right: 12px;
|
|
142
|
+
min-width: var(--nice-assets-carousel-asset-width);
|
|
143
|
+
min-height: var(--nice-assets-carousel-asset-height);
|
|
132
144
|
|
|
133
145
|
.add-asset {
|
|
134
|
-
@apply h-full w-full flex justify-center items-center;
|
|
135
|
-
@apply border border-white border-solid;
|
|
136
|
-
|
|
137
|
-
border-radius: 4px;
|
|
146
|
+
@apply h-full w-full flex justify-center items-center border border-white border-solid rounded;
|
|
138
147
|
|
|
139
148
|
.mat-icon {
|
|
140
149
|
@apply text-default text-opacity-50 #{!important};
|
|
@@ -143,16 +152,13 @@
|
|
|
143
152
|
}
|
|
144
153
|
|
|
145
154
|
.asset {
|
|
146
|
-
width:
|
|
147
|
-
height:
|
|
148
|
-
border-radius: 4px;
|
|
149
|
-
|
|
150
|
-
margin-right: 12px;
|
|
155
|
+
width: var(--nice-assets-carousel-asset-width);
|
|
156
|
+
height: var(--nice-assets-carousel-asset-height);
|
|
151
157
|
|
|
152
|
-
cursor
|
|
158
|
+
@apply rounded cursor-pointer overflow-hidden border border-transparent;
|
|
153
159
|
|
|
154
160
|
&.active {
|
|
155
|
-
@apply border
|
|
161
|
+
@apply border-opacity-100 #{!important};
|
|
156
162
|
|
|
157
163
|
&.primary {
|
|
158
164
|
@apply border-primary;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use "../../nice.utils" as nice;
|
|
2
|
+
@import "components/item-list/item-list.theme";
|
|
3
|
+
|
|
4
|
+
@mixin nice-chip-list-theme($theme) {
|
|
5
|
+
@include nice-item-list-theme($theme);
|
|
6
|
+
|
|
7
|
+
nice-chip-list {
|
|
8
|
+
@apply w-full;
|
|
9
|
+
|
|
10
|
+
.nice-chip-row {
|
|
11
|
+
@apply gap-2;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@use "../../../../nice.utils" as nice;
|
|
2
|
+
|
|
3
|
+
@mixin nice-item-list-theme($theme) {
|
|
4
|
+
mat-form-field {
|
|
5
|
+
nice-item-list {
|
|
6
|
+
.nice-items-row {
|
|
7
|
+
@apply mt-4;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
nice-item-list {
|
|
13
|
+
.nice-items-row {
|
|
14
|
+
@apply flex flex-row flex-wrap items-center gap-2;
|
|
15
|
+
|
|
16
|
+
.nice-chip {
|
|
17
|
+
@apply flex flex-row items-center justify-start rounded-3xl gap-3 px-3 py-0.5 min-w-24;
|
|
18
|
+
|
|
19
|
+
.close-icon {
|
|
20
|
+
@apply mt-1 opacity-70;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.primary {
|
|
24
|
+
@apply bg-primary;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.accent {
|
|
28
|
+
@apply bg-accent;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.warn {
|
|
32
|
+
@apply bg-warn;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
|
|
3
|
+
@mixin nice-date-picker-theme($theme) {
|
|
4
|
+
$accent: map-get($theme, accent);
|
|
5
|
+
$background: map-get($theme, background);
|
|
6
|
+
$foreground: map-get($theme, foreground);
|
|
7
|
+
|
|
8
|
+
mat-calendar {
|
|
9
|
+
.mat-calendar-body-in-range::before {
|
|
10
|
+
background: mat.get-color-from-palette($accent, 0.2) !important;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
nice-date-range-picker {
|
|
15
|
+
.from-to {
|
|
16
|
+
@apply flex;
|
|
17
|
+
|
|
18
|
+
color: map-get($foreground, text);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.nice-date-picker-container {
|
|
22
|
+
@apply flex justify-center items-center;
|
|
23
|
+
|
|
24
|
+
.nice-date-picker-header {
|
|
25
|
+
@apply mr-3;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.separator {
|
|
30
|
+
@apply px-3;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
nice-range-preset {
|
|
35
|
+
background-color: map-get($background, background);
|
|
36
|
+
|
|
37
|
+
button {
|
|
38
|
+
.mat-button-focus-overlay {
|
|
39
|
+
background: mat.get-color-from-palette($accent) !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay {
|
|
44
|
+
opacity: 0.2 !important;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -240,6 +240,14 @@
|
|
|
240
240
|
opacity: 0.4;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
+
.nice-vertical-navigation-item-icon-wrapper {
|
|
244
|
+
position: relative;
|
|
245
|
+
|
|
246
|
+
.nice-vertical-navigation-hint {
|
|
247
|
+
display: none;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
243
251
|
.nice-vertical-navigation-item-icon {
|
|
244
252
|
margin-right: 16px;
|
|
245
253
|
|
|
@@ -254,6 +262,20 @@
|
|
|
254
262
|
}
|
|
255
263
|
|
|
256
264
|
.nice-vertical-navigation-item-title-wrapper {
|
|
265
|
+
.nice-vertical-navigation-item-title {
|
|
266
|
+
position: relative;
|
|
267
|
+
|
|
268
|
+
span {
|
|
269
|
+
padding: 16px;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.nice-vertical-navigation-hint {
|
|
274
|
+
width: 8px;
|
|
275
|
+
height: 8px;
|
|
276
|
+
top: -4px;
|
|
277
|
+
right: 4px
|
|
278
|
+
}
|
|
257
279
|
|
|
258
280
|
.nice-vertical-navigation-item-subtitle {
|
|
259
281
|
font-size: 11px;
|
|
@@ -481,6 +503,9 @@
|
|
|
481
503
|
nice-vertical-navigation-basic-item,
|
|
482
504
|
nice-vertical-navigation-collapsable-item,
|
|
483
505
|
nice-vertical-navigation-group-item {
|
|
506
|
+
.nice-vertical-navigation-hint {
|
|
507
|
+
@apply absolute h-2 w-2 rounded-full bg-accent;
|
|
508
|
+
}
|
|
484
509
|
|
|
485
510
|
.nice-vertical-navigation-item-wrapper {
|
|
486
511
|
|
|
@@ -602,4 +627,17 @@
|
|
|
602
627
|
}
|
|
603
628
|
}
|
|
604
629
|
}
|
|
630
|
+
|
|
631
|
+
nice-vertical-navigation {
|
|
632
|
+
&.nice-vertical-navigation-appearance-dense:not(.nice-vertical-navigation-hover):not(.nice-vertical-navigation-has-hint) {
|
|
633
|
+
.nice-vertical-navigation-hint {
|
|
634
|
+
display: block !important;
|
|
635
|
+
|
|
636
|
+
width: 8px;
|
|
637
|
+
height: 8px;
|
|
638
|
+
top: -4px;
|
|
639
|
+
right: 8px
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
605
643
|
}
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
&:not(.nice-vertical-navigation-hover):not(.nice-vertical-navigation-mode-over) {
|
|
97
|
+
&:not(.nice-vertical-navigation-hover):not(.nice-vertical-navigation-mode-over):not(.nice-vertical-navigation-has-hint) {
|
|
98
98
|
|
|
99
99
|
/* Wrapper */
|
|
100
100
|
.nice-vertical-navigation-wrapper {
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
/* Hover */
|
|
152
|
-
&.nice-vertical-navigation-hover {
|
|
152
|
+
&.nice-vertical-navigation-hover, &.nice-vertical-navigation-has-hint {
|
|
153
153
|
|
|
154
154
|
.nice-vertical-navigation-wrapper {
|
|
155
155
|
width: var(--nice-vertical-navigation-width);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@mixin nice-chip-list-items-theme($theme) {
|
|
2
|
+
mat-form-field {
|
|
3
|
+
nice-chip-list-items {
|
|
4
|
+
.nice-items-row {
|
|
5
|
+
@apply mt-4;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
nice-chip-list-items {
|
|
11
|
+
.nice-items-row {
|
|
12
|
+
@apply flex flex-row flex-wrap items-center gap-2;
|
|
13
|
+
|
|
14
|
+
.nice-chip {
|
|
15
|
+
@apply flex flex-row items-center justify-start rounded-3xl gap-3 px-3 py-0.5 min-w-24;
|
|
16
|
+
|
|
17
|
+
.close-icon {
|
|
18
|
+
@apply mt-1 opacity-70;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.primary {
|
|
22
|
+
@apply bg-primary;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.accent {
|
|
26
|
+
@apply bg-accent;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.warn {
|
|
30
|
+
@apply bg-warn;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
package/src/lib/nice.theme.scss
CHANGED
|
@@ -8,19 +8,26 @@
|
|
|
8
8
|
@import "./components/assets-carousel/assets-carousel.theme";
|
|
9
9
|
@import "./components/base-form/base-form.theme";
|
|
10
10
|
@import "./components/card/card.theme";
|
|
11
|
+
@import "components/date-range-picker/date-range-picker.theme";
|
|
11
12
|
@import "./components/drawer/drawer.theme";
|
|
12
13
|
@import "./components/horizontal-stepper/horizontal-stepper.theme";
|
|
13
14
|
@import "./components/navigation/horizontal/horizontal.theme";
|
|
14
15
|
@import "./components/navigation/vertical/vertical.theme";
|
|
15
16
|
@import "./components/toggle-button-group/toggle-button-group.theme";
|
|
17
|
+
@import "./components/chip-list/chip-list.theme";
|
|
18
|
+
@import "./directives/chip-list/chip-list-items/chip-list-items.theme";
|
|
19
|
+
|
|
16
20
|
@mixin nice-components-theme($theme) {
|
|
17
21
|
@include nice-alert-theme($theme);
|
|
18
22
|
@include nice-assets-carousel-theme($theme);
|
|
19
23
|
@include nice-base-form-theme($theme);
|
|
20
24
|
@include nice-card-theme($theme);
|
|
25
|
+
@include nice-date-picker-theme($theme);
|
|
21
26
|
@include nice-drawer-theme($theme);
|
|
22
27
|
@include nice-horizontal-stepper-theme($theme);
|
|
23
28
|
@include nice-toggle-button-group-theme($theme);
|
|
29
|
+
@include nice-chip-list-theme($theme);
|
|
30
|
+
@include nice-chip-list-items-theme($theme);
|
|
24
31
|
}
|
|
25
32
|
|
|
26
33
|
@mixin nice-custom-theme($theme) {
|