ngx-strata 0.5.2 → 0.6.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/assets/icons/calendar.svg +1 -0
- package/assets/icons/camera.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/components/modal.scss +13 -3
- package/assets/styles/public-api.scss +0 -2
- package/dist/strata/strata.css +1 -1
- package/fesm2022/ngx-strata.mjs +1838 -105
- package/fesm2022/ngx-strata.mjs.map +1 -1
- package/package.json +1 -1
- package/skills/ngx-strata/SKILL.md +8 -1
- package/skills/ngx-strata/components/action-menu.md +35 -2
- package/skills/ngx-strata/components/calendar.md +86 -0
- package/skills/ngx-strata/components/date-range-picker.md +53 -0
- package/skills/ngx-strata/components/datepicker.md +66 -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 +388 -27
- package/assets/styles/components/file-upload.scss +0 -168
- package/assets/styles/components/segmented-control.scss +0 -193
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9V3H15V1H17V3ZM20 9H4V19H20V9ZM19 5H5V7H19V5Z"></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"><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="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>
|
|
@@ -70,6 +70,7 @@ st-modal-footer {
|
|
|
70
70
|
align-items: center;
|
|
71
71
|
flex-shrink: 0;
|
|
72
72
|
flex-grow: 0;
|
|
73
|
+
margin-top: auto;
|
|
73
74
|
gap: var(--st-modal-footer-gap);
|
|
74
75
|
padding: var(--st-modal-footer-padding);
|
|
75
76
|
border-top: 1px solid var(--st-modal-footer-border-color);
|
|
@@ -144,7 +145,10 @@ st-modal {
|
|
|
144
145
|
min-height: 0;
|
|
145
146
|
overflow: hidden;
|
|
146
147
|
|
|
147
|
-
>
|
|
148
|
+
> *,
|
|
149
|
+
> * > form,
|
|
150
|
+
> * > div:only-child,
|
|
151
|
+
> * > section:only-child {
|
|
148
152
|
display: flex;
|
|
149
153
|
flex-direction: column;
|
|
150
154
|
flex: 1;
|
|
@@ -165,7 +169,10 @@ st-modal {
|
|
|
165
169
|
}
|
|
166
170
|
|
|
167
171
|
&:has(st-modal-footer):not(:has(st-modal-body)) {
|
|
168
|
-
>
|
|
172
|
+
> *,
|
|
173
|
+
> * > form,
|
|
174
|
+
> * > div:only-child,
|
|
175
|
+
> * > section:only-child {
|
|
169
176
|
display: flex;
|
|
170
177
|
flex-direction: column;
|
|
171
178
|
flex: 1;
|
|
@@ -359,7 +366,10 @@ st-modal {
|
|
|
359
366
|
flex: 1;
|
|
360
367
|
min-height: 0;
|
|
361
368
|
|
|
362
|
-
>
|
|
369
|
+
> *,
|
|
370
|
+
> * > form,
|
|
371
|
+
> * > div:only-child,
|
|
372
|
+
> * > section:only-child {
|
|
363
373
|
display: flex;
|
|
364
374
|
flex-direction: column;
|
|
365
375
|
flex: 1;
|
|
@@ -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";
|