@recursyve/nice-ui-kit.v2 13.2.0-beta.105 → 13.2.0-beta.106
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/components/assets-carousel/assets-carousel.component.mjs +7 -4
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs +6 -3
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs +6 -3
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/lib/components/assets-carousel/assets-carousel.component.d.ts +3 -1
- package/package.json +1 -1
- package/src/lib/components/assets-carousel/assets-carousel.theme.scss +31 -33
|
@@ -48,10 +48,12 @@ export declare class NiceAssetsCarouselComponent implements ControlValueAccessor
|
|
|
48
48
|
edit: boolean;
|
|
49
49
|
accept: string[];
|
|
50
50
|
customActions: NiceAssetsCarouselActions[];
|
|
51
|
+
multipleUpload: boolean;
|
|
51
52
|
activeChange: EventEmitter<number>;
|
|
52
53
|
listStyle: {
|
|
53
54
|
transform: string;
|
|
54
55
|
};
|
|
56
|
+
showOverlay: boolean;
|
|
55
57
|
private propagate;
|
|
56
58
|
set activeVideoElement(activeVideoElement: ElementRef<HTMLVideoElement>);
|
|
57
59
|
set assetsElement(assetsElement: QueryList<ElementRef<HTMLDivElement>>);
|
|
@@ -71,5 +73,5 @@ export declare class NiceAssetsCarouselComponent implements ControlValueAccessor
|
|
|
71
73
|
clickCustom(action: NiceAssetsCarouselActions): void;
|
|
72
74
|
startSyncVideo(): Promise<void>;
|
|
73
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselComponent, [{ optional: true; }]>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAssetsCarouselComponent, "nice-assets-carousel", never, { "color": "color"; "edit": "edit"; "accept": "accept"; "customActions": "customActions"; "assets": "assets"; }, { "activeChange": "activeChange"; }, never, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAssetsCarouselComponent, "nice-assets-carousel", never, { "color": "color"; "edit": "edit"; "accept": "accept"; "customActions": "customActions"; "multipleUpload": "multipleUpload"; "assets": "assets"; }, { "activeChange": "activeChange"; }, never, never>;
|
|
75
77
|
}
|
package/package.json
CHANGED
|
@@ -42,13 +42,10 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.carousel {
|
|
45
|
-
@apply flex flex-row items-center;
|
|
45
|
+
@apply relative flex flex-row items-center;
|
|
46
46
|
|
|
47
47
|
.asset-list-container {
|
|
48
|
-
@apply flex flex-row overflow-x-hidden;
|
|
49
|
-
|
|
50
|
-
min-width: 400px;
|
|
51
|
-
max-width: 400px;
|
|
48
|
+
@apply flex flex-row overflow-x-hidden min-w-full max-w-full;
|
|
52
49
|
|
|
53
50
|
.asset-list {
|
|
54
51
|
@apply flex flex-row;
|
|
@@ -56,33 +53,34 @@
|
|
|
56
53
|
transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);
|
|
57
54
|
}
|
|
58
55
|
}
|
|
56
|
+
}
|
|
59
57
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
.left-arrow {
|
|
59
|
+
@apply -left-[10%];
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.right-arrow {
|
|
63
|
+
@apply -right-[10%];
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
image, img, video {
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
@apply w-full h-full select-none object-cover rounded;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.action-button {
|
|
71
|
+
@apply absolute w-8 h-8 min-w-8 min-h-8;
|
|
68
72
|
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
border-radius: 4px;
|
|
73
|
+
.mat-button-wrapper {
|
|
74
|
+
@apply w-full;
|
|
75
|
+
}
|
|
73
76
|
}
|
|
74
77
|
|
|
75
78
|
.active-image {
|
|
76
|
-
@apply
|
|
77
|
-
|
|
78
|
-
width: 400px;
|
|
79
|
+
@apply relative cursor-pointer mb-4 w-full rounded;
|
|
79
80
|
height: 280px;
|
|
80
81
|
|
|
81
|
-
margin-bottom: 16px;
|
|
82
|
-
border-radius: 4px;
|
|
83
|
-
|
|
84
82
|
&.empty-state {
|
|
85
|
-
@apply border border-white select-none
|
|
83
|
+
@apply border border-white select-none;
|
|
86
84
|
|
|
87
85
|
.empty-state-content {
|
|
88
86
|
@apply h-full flex flex-col justify-center items-center;
|
|
@@ -101,10 +99,9 @@
|
|
|
101
99
|
@apply absolute top-3 right-3 flex flex-row;
|
|
102
100
|
|
|
103
101
|
.mat-icon-button {
|
|
104
|
-
@apply bg-white ml-2.5;
|
|
102
|
+
@apply bg-white ml-2.5 rounded;
|
|
105
103
|
|
|
106
104
|
@include nice.override-mat-icon-size(32, true);
|
|
107
|
-
border-radius: 4px;
|
|
108
105
|
|
|
109
106
|
&[disabled] * {
|
|
110
107
|
@apply text-black text-opacity-80 #{!important};
|
|
@@ -119,22 +116,26 @@
|
|
|
119
116
|
}
|
|
120
117
|
}
|
|
121
118
|
|
|
119
|
+
.active-image-overlay {
|
|
120
|
+
@apply absolute top-0 w-full h-full bg-default bg-opacity-50;
|
|
121
|
+
|
|
122
|
+
.mat-icon {
|
|
123
|
+
@include nice.override-mat-icon-size(60, true);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
122
127
|
.arrows {
|
|
123
128
|
@include nice.override-mat-icon-size(16, true);
|
|
124
129
|
}
|
|
125
130
|
|
|
126
131
|
.add-asset-container {
|
|
127
|
-
@apply bg-default z-50 cursor-pointer select-none;
|
|
132
|
+
@apply bg-default z-50 cursor-pointer select-none mr-3;
|
|
128
133
|
|
|
129
134
|
min-width: 90px;
|
|
130
135
|
min-height: 60px;
|
|
131
|
-
margin-right: 12px;
|
|
132
136
|
|
|
133
137
|
.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;
|
|
138
|
+
@apply h-full w-full flex justify-center items-center border border-white border-solid rounded;
|
|
138
139
|
|
|
139
140
|
.mat-icon {
|
|
140
141
|
@apply text-default text-opacity-50 #{!important};
|
|
@@ -145,11 +146,8 @@
|
|
|
145
146
|
.asset {
|
|
146
147
|
width: 90px;
|
|
147
148
|
height: 60px;
|
|
148
|
-
border-radius: 4px;
|
|
149
|
-
|
|
150
|
-
margin-right: 12px;
|
|
151
149
|
|
|
152
|
-
cursor
|
|
150
|
+
@apply rounded mr-3 cursor-pointer;
|
|
153
151
|
|
|
154
152
|
&.active {
|
|
155
153
|
@apply border border-opacity-100 #{!important};
|