ngx-strata 0.6.0 → 0.7.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/assets/icons/camera.svg +1 -0
- package/assets/icons/check-double.svg +1 -0
- package/assets/icons/check-single.svg +1 -0
- package/assets/icons/clock.svg +1 -0
- package/assets/icons/image.svg +1 -0
- package/assets/icons/upload.svg +1 -0
- package/assets/styles/base.scss +6 -0
- package/assets/styles/components/modal.scss +22 -0
- package/assets/styles/public-api.scss +0 -2
- package/dist/strata/strata.css +1 -1
- package/fesm2022/ngx-strata.mjs +611 -43
- package/fesm2022/ngx-strata.mjs.map +1 -1
- package/package.json +1 -1
- package/skills/ngx-strata/SKILL.md +7 -3
- package/skills/ngx-strata/components/action-menu.md +35 -3
- package/skills/ngx-strata/components/chat.md +100 -0
- package/skills/ngx-strata/components/file-upload.md +5 -1
- package/skills/ngx-strata/components/icon.md +1 -1
- package/skills/ngx-strata/components/time-stepper.md +46 -0
- package/skills/ngx-strata/components/timepicker.md +60 -0
- package/types/ngx-strata.d.ts +149 -10
- package/assets/styles/components/file-upload.scss +0 -168
- package/assets/styles/components/segmented-control.scss +0 -193
- package/skills/ngx-strata/components/time-picker.md +0 -37
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"/><circle cx="12" cy="13" r="4"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11.602 13.76 13.0162 15.1742 21.4807 6.70973 22.8949 8.12394 13.0162 18.0026 7.35934 12.3458 8.77355 10.9316 11.602 13.76ZM5.945 13.76 7.359 15.174 13.016 9.517 11.602 8.103 7.359 12.346 4.531 9.518 3.117 10.932 5.945 13.76Z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM13 12H17V14H11V7H13V12Z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><circle cx="8.5" cy="8.5" r="1.5"/><polyline points="21 15 16 10 5 21"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="17 8 12 3 7 8"/><line x1="12" y1="3" x2="12" y2="15"/></svg>
|
package/assets/styles/base.scss
CHANGED
|
@@ -235,6 +235,9 @@ st-modal {
|
|
|
235
235
|
border-bottom: none !important;
|
|
236
236
|
border-left: 1px solid var(--st-border-faded) !important;
|
|
237
237
|
box-shadow: var(--st-shadow-4);
|
|
238
|
+
will-change: transform;
|
|
239
|
+
-webkit-backface-visibility: hidden;
|
|
240
|
+
backface-visibility: hidden;
|
|
238
241
|
animation: st-modal-slide-in-right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
239
242
|
|
|
240
243
|
&.st-modal-size-xs {
|
|
@@ -283,6 +286,9 @@ st-modal {
|
|
|
283
286
|
border-bottom: none !important;
|
|
284
287
|
border-right: 1px solid var(--st-border-faded) !important;
|
|
285
288
|
box-shadow: var(--st-shadow-4);
|
|
289
|
+
will-change: transform;
|
|
290
|
+
-webkit-backface-visibility: hidden;
|
|
291
|
+
backface-visibility: hidden;
|
|
286
292
|
animation: st-modal-slide-in-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
287
293
|
|
|
288
294
|
&.st-modal-size-xs {
|
|
@@ -353,10 +359,16 @@ st-modal {
|
|
|
353
359
|
margin: 0 !important;
|
|
354
360
|
|
|
355
361
|
&.st-modal-placement-right {
|
|
362
|
+
will-change: transform;
|
|
363
|
+
-webkit-backface-visibility: hidden;
|
|
364
|
+
backface-visibility: hidden;
|
|
356
365
|
animation: st-modal-slide-in-right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
357
366
|
}
|
|
358
367
|
|
|
359
368
|
&.st-modal-placement-left {
|
|
369
|
+
will-change: transform;
|
|
370
|
+
-webkit-backface-visibility: hidden;
|
|
371
|
+
backface-visibility: hidden;
|
|
360
372
|
animation: st-modal-slide-in-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
361
373
|
}
|
|
362
374
|
|
|
@@ -399,6 +411,9 @@ st-modal {
|
|
|
399
411
|
border-bottom: none !important;
|
|
400
412
|
border-top: 1px solid var(--st-border-faded) !important;
|
|
401
413
|
box-shadow: var(--st-shadow-4) !important;
|
|
414
|
+
will-change: transform;
|
|
415
|
+
-webkit-backface-visibility: hidden;
|
|
416
|
+
backface-visibility: hidden;
|
|
402
417
|
animation: st-modal-slide-in-bottom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
403
418
|
|
|
404
419
|
st-modal-header {
|
|
@@ -415,6 +430,7 @@ st-modal {
|
|
|
415
430
|
}
|
|
416
431
|
|
|
417
432
|
st-modal-container {
|
|
433
|
+
display: block;
|
|
418
434
|
position: fixed;
|
|
419
435
|
top: 0;
|
|
420
436
|
left: 0;
|
|
@@ -422,6 +438,7 @@ st-modal-container {
|
|
|
422
438
|
height: 100%;
|
|
423
439
|
z-index: 900;
|
|
424
440
|
pointer-events: none;
|
|
441
|
+
overflow: hidden;
|
|
425
442
|
|
|
426
443
|
.st-internal-backdrop {
|
|
427
444
|
width: 100%;
|
|
@@ -447,11 +464,16 @@ st-modal-container {
|
|
|
447
464
|
top: 0;
|
|
448
465
|
left: 0;
|
|
449
466
|
overflow: hidden;
|
|
467
|
+
overflow: clip;
|
|
450
468
|
display: grid;
|
|
469
|
+
grid-template-columns: minmax(0, 1fr);
|
|
470
|
+
grid-template-rows: minmax(0, 1fr);
|
|
451
471
|
align-items: center;
|
|
452
472
|
justify-items: center;
|
|
453
473
|
z-index: 90;
|
|
454
474
|
pointer-events: none;
|
|
475
|
+
contain: paint;
|
|
476
|
+
isolation: isolate;
|
|
455
477
|
}
|
|
456
478
|
|
|
457
479
|
st-modal {
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
@use "./components/pagination";
|
|
34
34
|
@use "./components/progress";
|
|
35
35
|
@use "./components/radio";
|
|
36
|
-
@use "./components/segmented-control";
|
|
37
36
|
@use "./components/select";
|
|
38
37
|
@use "./components/skeleton";
|
|
39
38
|
@use "./components/slider";
|
|
@@ -48,5 +47,4 @@
|
|
|
48
47
|
@use "./components/sidemenu";
|
|
49
48
|
@use "./components/otp";
|
|
50
49
|
@use "./components/stepper";
|
|
51
|
-
@use "./components/file-upload";
|
|
52
50
|
@use "./components/image-cropper";
|