@luizleon/sf.prefeiturasp.vuecomponents 0.0.37 → 0.0.38

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.
Files changed (40) hide show
  1. package/dist/components/drawer/Drawer.d.ts +55 -0
  2. package/dist/components/internal/ThemeToggle.d.ts +11 -8
  3. package/dist/components/internal/getMaxZindex.d.ts +2 -0
  4. package/dist/lib.es.js +2030 -1907
  5. package/dist/lib.es.js.map +1 -1
  6. package/dist/lib.umd.js +16 -16
  7. package/dist/lib.umd.js.map +1 -1
  8. package/dist/style.css +1 -1
  9. package/package.json +3 -2
  10. package/src/components/drawer/Drawer.d.ts +55 -0
  11. package/src/components/drawer/Drawer.vue +131 -0
  12. package/src/components/internal/HeaderAvatar.vue +18 -1
  13. package/src/components/internal/getMaxZindex.ts +14 -0
  14. package/src/components/layout/Layout.vue +1 -14
  15. package/src/index.ts +0 -1
  16. package/src/services/authService.ts +3 -4
  17. package/src/style/componentes.scss +1 -1
  18. package/src/style/src/_functions.scss +3 -170
  19. package/src/style/src/_mixins.scss +70 -553
  20. package/src/style/src/_variables.scss +1 -87
  21. package/src/style/src/components/_button.scss +22 -22
  22. package/src/style/src/components/_drawer.scss +29 -39
  23. package/src/style/src/components/_icon.scss +17 -20
  24. package/src/style/src/components/_layout.scss +5 -47
  25. package/src/style/src/components/_mask.scss +35 -0
  26. package/src/style/src/components/_themetoggle.scss +30 -3
  27. package/src/style/src/sweetalert/scss/_core.scss +13 -14
  28. package/src/style/src/sweetalert/scss/_variables.scss +17 -11
  29. package/src/style/src/_animation.scss +0 -441
  30. package/src/style/src/_display.scss +0 -10
  31. package/src/style/src/_flexbox.scss +0 -85
  32. package/src/style/src/_gap.scss +0 -8
  33. package/src/style/src/_grid.scss +0 -100
  34. package/src/style/src/_normalize.scss +0 -351
  35. package/src/style/src/_ripple.scss +0 -30
  36. package/src/style/src/_size.scss +0 -98
  37. package/src/style/src/_spacing.scss +0 -42
  38. package/src/style/src/_typography.scss +0 -43
  39. package/src/style/src/components/_internal-icon-button.scss +0 -5
  40. package/src/style/tema.scss +0 -171
@@ -40,7 +40,7 @@ $swal2-icon-border-color: #000 !default;
40
40
  $swal2-icon-zoom: null !default;
41
41
  $swal2-success: var(--success-color) !default;
42
42
  // $swal2-success-border: rgba($swal2-success, 0.3) !default;
43
- $swal2-success-border: alpha(--success, 0.3) !default;
43
+ $swal2-success-border: var(--success-hover-color) !default;
44
44
  $swal2-error: var(--error-color) !default;
45
45
  $swal2-warning: var(--warn-color) !default;
46
46
  $swal2-info: var(--info-color) !default;
@@ -79,8 +79,8 @@ $swal2-input-height: 2.625em !default;
79
79
  $swal2-input-padding: 0 0.75em !default;
80
80
  $swal2-input-border: 1px solid var(--surface-border-color) !default;
81
81
  $swal2-input-border-radius: 0.1875em !default;
82
- $swal2-input-box-shadow: inset 0 1px 1px alpha(--text, 0.06),
83
- 0 0 0 3px transparent !default;
82
+ $swal2-input-box-shadow: inset 0 1px 1px var(--text-hover-color) 0 0 0
83
+ 3px transparent !default;
84
84
  $swal2-input-font-size: 1.125em !default;
85
85
  $swal2-input-background: var(--surface-100-color) !default;
86
86
  $swal2-input-color: inherit !default;
@@ -126,7 +126,7 @@ $swal2-progress-steps-distance: 2.5em !default;
126
126
  $swal2-progress-step-width: 2em;
127
127
  $swal2-progress-step-height: 2em;
128
128
  $swal2-progress-step-border-radius: 2em;
129
- $swal2-progress-step-background: alpha(--primary, 0.4) !default;
129
+ $swal2-progress-step-background: var(--primary-hover-color) !default;
130
130
  $swal2-progress-step-color: $swal2-white !default;
131
131
  $swal2-active-step-background: var(--primary-color) !default;
132
132
  $swal2-active-step-color: $swal2-white !default;
@@ -140,7 +140,9 @@ $swal2-footer-font-size: 1em !default;
140
140
 
141
141
  // TIMER POGRESS BAR
142
142
  $swal2-timer-progress-bar-height: 0.25em;
143
- $swal2-timer-progress-bar-background: alpha(--text, 0.2) !default;
143
+ $swal2-timer-progress-bar-background: var(
144
+ --text-hover-color
145
+ ) !default;
144
146
 
145
147
  // CLOSE BUTTON
146
148
  $swal2-close-button-justify-self: end !default;
@@ -185,8 +187,8 @@ $swal2-button-padding: 0.625em 1.1em !default;
185
187
  $swal2-button-transition: box-shadow 0.1s !default;
186
188
  $swal2-button-box-shadow: 0 0 0 3px transparent !default;
187
189
  $swal2-button-font-weight: 500 !default;
188
- $swal2-button-darken-hover: alpha(--text, 0.1) !default;
189
- $swal2-button-darken-active: alpha(--text, 0.2) !default;
190
+ $swal2-button-darken-hover: var(--text-hover-color) !default;
191
+ $swal2-button-darken-active: var(--text-hover-color) !default;
190
192
  $swal2-button-focus-outline: none !default;
191
193
  $swal2-button-focus-box-shadow: 0 0 0 3px $swal2-outline-color !default;
192
194
 
@@ -198,7 +200,7 @@ $swal2-confirm-button-background-color: var(--primary-color) !default;
198
200
  $swal2-confirm-button-color: $swal2-white !default;
199
201
  $swal2-confirm-button-font-size: 1em !default;
200
202
  $swal2-confirm-button-focus-box-shadow: 0 0 0 3px
201
- alpha(--primary, 0.5) !default;
203
+ var(--primary-hover-color) !default;
202
204
 
203
205
  // DENY BUTTON
204
206
  $swal2-deny-button-order: null !default;
@@ -207,16 +209,20 @@ $swal2-deny-button-border-radius: 0.25em !default;
207
209
  $swal2-deny-button-background-color: var(--error-color) !default;
208
210
  $swal2-deny-button-color: $swal2-white !default;
209
211
  $swal2-deny-button-font-size: 1em !default;
210
- $swal2-deny-button-focus-box-shadow: 0 0 0 3px alpha(--error, 0.5) !default;
212
+ $swal2-deny-button-focus-box-shadow: 0 0 0 3px
213
+ var(--error-hover-color) !default;
211
214
 
212
215
  // CANCEL BUTTON
213
216
  $swal2-cancel-button-order: null !default;
214
217
  $swal2-cancel-button-border: 0 !default;
215
218
  $swal2-cancel-button-border-radius: 0.25em !default;
216
- $swal2-cancel-button-background-color: var(--blueGray-color) !default;
219
+ $swal2-cancel-button-background-color: var(
220
+ --secondary-color
221
+ ) !default;
217
222
  $swal2-cancel-button-color: $swal2-white !default;
218
223
  $swal2-cancel-button-font-size: 1em !default;
219
- $swal2-cancel-button-focus-box-shadow: 0 0 0 3px alpha(--text, 0.5) !default;
224
+ $swal2-cancel-button-focus-box-shadow: 0 0 0 3px
225
+ var(--text-hover-color) !default;
220
226
 
221
227
  // LOADER
222
228
  $swal2-loader-align-items: center !default;
@@ -1,441 +0,0 @@
1
- @keyframes fadein {
2
- 0% {
3
- opacity: 0;
4
- }
5
- 100% {
6
- opacity: 1;
7
- }
8
- }
9
-
10
- @keyframes fadeout {
11
- 0% {
12
- opacity: 1;
13
- }
14
- 100% {
15
- opacity: 0;
16
- }
17
- }
18
-
19
- @keyframes scalein {
20
- 0% {
21
- opacity: 0;
22
- transform: scaleY(0.8);
23
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
24
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
25
- }
26
- 100% {
27
- opacity: 1;
28
- transform: scaleY(1);
29
- }
30
- }
31
-
32
- @keyframes slidedown {
33
- 0% {
34
- max-height: 0;
35
- }
36
- 100% {
37
- max-height: auto;
38
- }
39
- }
40
-
41
- @keyframes slideup {
42
- 0% {
43
- max-height: 1000px;
44
- }
45
- 100% {
46
- max-height: 0;
47
- }
48
- }
49
-
50
- @keyframes fadeinleft {
51
- 0% {
52
- opacity: 0;
53
- transform: translateX(-100%);
54
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
55
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
56
- }
57
- 100% {
58
- opacity: 1;
59
- transform: translateX(0%);
60
- }
61
- }
62
-
63
- @keyframes fadeoutleft {
64
- 0% {
65
- opacity: 1;
66
- transform: translateX(0%);
67
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
68
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
69
- }
70
- 100% {
71
- opacity: 0;
72
- transform: translateX(-100%);
73
- }
74
- }
75
-
76
- @keyframes fadeinright {
77
- 0% {
78
- opacity: 0;
79
- transform: translateX(100%);
80
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
81
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
82
- }
83
- 100% {
84
- opacity: 1;
85
- transform: translateX(0%);
86
- }
87
- }
88
-
89
- @keyframes fadeoutright {
90
- 0% {
91
- opacity: 1;
92
- transform: translateX(0%);
93
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
94
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
95
- }
96
- 100% {
97
- opacity: 0;
98
- transform: translateX(100%);
99
- }
100
- }
101
-
102
- @keyframes fadeinup {
103
- 0% {
104
- opacity: 0;
105
- transform: translateY(-100%);
106
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
107
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
108
- }
109
- 100% {
110
- opacity: 1;
111
- transform: translateY(0%);
112
- }
113
- }
114
-
115
- @keyframes fadeoutup {
116
- 0% {
117
- opacity: 1;
118
- transform: translateY(0%);
119
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
120
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
121
- }
122
- 100% {
123
- opacity: 0;
124
- transform: translateY(-100%);
125
- }
126
- }
127
-
128
- @keyframes fadeindown {
129
- 0% {
130
- opacity: 0;
131
- transform: translateY(100%);
132
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
133
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
134
- }
135
- 100% {
136
- opacity: 1;
137
- transform: translateY(0%);
138
- }
139
- }
140
-
141
- @keyframes fadeoutdown {
142
- 0% {
143
- opacity: 1;
144
- transform: translateY(0%);
145
- transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
146
- opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
147
- }
148
- 100% {
149
- opacity: 0;
150
- transform: translateY(100%);
151
- }
152
- }
153
-
154
- @keyframes animate-width {
155
- 0% {
156
- width: 0;
157
- }
158
- 100% {
159
- width: 100%;
160
- }
161
- }
162
-
163
- .#{$prefix}fadein {
164
- animation: fadein 0.15s linear;
165
- }
166
-
167
- .#{$prefix}fadeout {
168
- animation: fadeout 0.15s linear;
169
- }
170
-
171
- .#{$prefix}slidedown {
172
- animation: slidedown 0.45s ease-in-out;
173
- }
174
-
175
- .#{$prefix}slideup {
176
- animation: slideup 0.45s cubic-bezier(0, 1, 0, 1);
177
- }
178
-
179
- .#{$prefix}scalein {
180
- animation: scalein 0.15s linear;
181
- }
182
-
183
- .#{$prefix}fadeinleft {
184
- animation: fadeinleft 0.15s linear;
185
- }
186
-
187
- .#{$prefix}fadeoutleft {
188
- animation: fadeoutleft 0.15s linear;
189
- }
190
-
191
- .#{$prefix}fadeinright {
192
- animation: fadeinright 0.15s linear;
193
- }
194
-
195
- .#{$prefix}fadeoutright {
196
- animation: fadeoutright 0.15s linear;
197
- }
198
-
199
- .#{$prefix}fadeinup {
200
- animation: fadeinup 0.15s linear;
201
- }
202
-
203
- .#{$prefix}fadeoutup {
204
- animation: fadeoutup 0.15s linear;
205
- }
206
-
207
- .#{$prefix}fadeindown {
208
- animation: fadeindown 0.15s linear;
209
- }
210
-
211
- .#{$prefix}fadeoutdown {
212
- animation: fadeoutdown 0.15s linear;
213
- }
214
-
215
- .#{$prefix}animate-width {
216
- animation: animate-width 1000ms linear;
217
- }
218
-
219
- .#{$prefix}spin {
220
- animation: spin 2s linear infinite;
221
- }
222
-
223
- $animation-duration-props: (
224
- "animation-duration-100": "100ms",
225
- "animation-duration-150": "150ms",
226
- "animation-duration-200": "200ms",
227
- "animation-duration-300": "300ms",
228
- "animation-duration-400": "400ms",
229
- "animation-duration-500": "500ms",
230
- "animation-duration-1000": "1000ms",
231
- "animation-duration-2000": "2000ms",
232
- "animation-duration-3000": "3000ms",
233
- );
234
-
235
- $animation-delay-props: (
236
- "animation-delay-100": "100ms",
237
- "animation-delay-150": "150ms",
238
- "animation-delay-200": "200ms",
239
- "animation-delay-300": "300ms",
240
- "animation-delay-400": "400ms",
241
- "animation-delay-500": "500ms",
242
- "animation-delay-1000": "1000ms",
243
- );
244
-
245
- $animation-iteration-props: (
246
- "animation-iteration-1": "1",
247
- "animation-iteration-2": "2",
248
- "animation-iteration-infinite": "infinite",
249
- );
250
-
251
- $animation-timing-props: (
252
- "animation-linear": "linear",
253
- "animation-ease-in": "cubic-bezier(0.4, 0, 1, 1)",
254
- "animation-ease-out": "cubic-bezier(0, 0, 0.2, 1)",
255
- "animation-ease-in-out": "cubic-bezier(0.4, 0, 0.2, 1)",
256
- );
257
-
258
- $animation-fill-props: (
259
- "animation-fill-none": "none",
260
- "animation-fill-forwards": "forwards",
261
- "animation-fill-backwards": "backwards",
262
- "animation-fill-both": "both",
263
- );
264
-
265
- @include style-class("animation-duration", $animation-duration-props);
266
- @include style-class("animation-delay", $animation-delay-props);
267
- @include style-class(
268
- "animation-iteration-count",
269
- $animation-iteration-props
270
- );
271
- @include style-class(
272
- "animation-timing-function",
273
- $animation-timing-props
274
- );
275
- @include style-class("animation-fill-mode", $animation-fill-props);
276
-
277
- @keyframes spin {
278
- 0% {
279
- transform: rotate(0deg);
280
- }
281
-
282
- 100% {
283
- transform: rotate(360deg);
284
- }
285
- }
286
-
287
- @keyframes sf-loading-circle-circle-dash {
288
- 0% {
289
- stroke-dasharray: 1, 200;
290
- stroke-dashoffset: 0;
291
- }
292
-
293
- 50% {
294
- stroke-dasharray: 89, 200;
295
- stroke-dashoffset: -35px;
296
- }
297
-
298
- 100% {
299
- stroke-dasharray: 89, 200;
300
- stroke-dashoffset: -124px;
301
- }
302
- }
303
-
304
- @keyframes sf-progress-circular-keyframes-circular-rotate {
305
- 0% {
306
- transform-origin: 50% 50%;
307
- }
308
-
309
- 100% {
310
- transform: rotate(360deg);
311
- }
312
- }
313
-
314
- @keyframes sf-progress-circular-keyframes-circular-dash {
315
- 0% {
316
- stroke-dasharray: 1px, 200px;
317
- stroke-dashoffset: 0px;
318
- }
319
-
320
- 50% {
321
- stroke-dasharray: 100px, 200px;
322
- stroke-dashoffset: -15px;
323
- }
324
-
325
- 100% {
326
- stroke-dasharray: 100px, 200px;
327
- stroke-dashoffset: -125px;
328
- }
329
- }
330
-
331
- @keyframes sf-progress-linear-horizontal-keyframes-indeterminate1 {
332
- 0% {
333
- left: -35%;
334
- right: 100%;
335
- }
336
-
337
- 60% {
338
- left: 100%;
339
- right: -90%;
340
- }
341
-
342
- 100% {
343
- left: 100%;
344
- right: -90%;
345
- }
346
- }
347
-
348
- @keyframes sf-progress-linear-horizontal-keyframes-indeterminate2 {
349
- 0% {
350
- left: -200%;
351
- right: 100%;
352
- }
353
-
354
- 60% {
355
- left: 107%;
356
- right: -8%;
357
- }
358
-
359
- 100% {
360
- left: 107%;
361
- right: -8%;
362
- }
363
- }
364
-
365
- @keyframes sf-progress-linear-horizontal-keyframes-buffer {
366
- 0% {
367
- opacity: 1;
368
- background-position: 0 -23px;
369
- }
370
-
371
- 50% {
372
- opacity: 0;
373
- background-position: 0 -23px;
374
- }
375
-
376
- 100% {
377
- opacity: 1;
378
- background-position: -200px -23px;
379
- }
380
- }
381
-
382
- @keyframes sf-progress-linear-vertical-keyframes-indeterminate1 {
383
- 0% {
384
- bottom: -35%;
385
- top: 100%;
386
- }
387
-
388
- 60% {
389
- bottom: 100%;
390
- top: -90%;
391
- }
392
-
393
- 100% {
394
- bottom: 100%;
395
- top: -90%;
396
- }
397
- }
398
-
399
- @keyframes sf-progress-linear-vertical-keyframes-indeterminate2 {
400
- 0% {
401
- bottom: -200%;
402
- top: 100%;
403
- }
404
-
405
- 60% {
406
- bottom: 107%;
407
- top: -8%;
408
- }
409
-
410
- 100% {
411
- bottom: 107%;
412
- top: -8%;
413
- }
414
- }
415
-
416
- @keyframes sf-progress-linear-vertical-keyframes-buffer {
417
- 0% {
418
- opacity: 1;
419
- background-position: -23px 0;
420
- }
421
-
422
- 50% {
423
- opacity: 0;
424
- background-position: -23px 0;
425
- }
426
-
427
- 100% {
428
- opacity: 1;
429
- background-position: -23px -200px;
430
- }
431
- }
432
-
433
- @keyframes sf-progress-linear-striped-loading {
434
- 0% {
435
- background-position: 0 0;
436
- }
437
-
438
- 100% {
439
- background-position: 300px 0;
440
- }
441
- }
@@ -1,10 +0,0 @@
1
- $display-props: (
2
- "hidden": "none",
3
- "block": "block",
4
- "inline": "inline",
5
- "inline-block": "inline-block",
6
- "flex": "flex",
7
- "inline-flex": "inline-flex",
8
- );
9
-
10
- @include style-class("display", $display-props, true);
@@ -1,85 +0,0 @@
1
- $flex-direction: (
2
- "flex-row": row,
3
- "flex-row-reverse": row-reverse,
4
- "flex-column": column,
5
- "flex-column-reverse": column-reverse,
6
- );
7
-
8
- $flex-wrap: (
9
- "flex-wrap": wrap,
10
- "flex-wrap-reverse": wrap-reverse,
11
- "flex-nowrap": nowrap,
12
- );
13
-
14
- $flex-justify-content: (
15
- "justify-content-start": "flex-start",
16
- "justify-content-end": "flex-end",
17
- "justify-content-center": "center",
18
- "justify-content-between": "space-between",
19
- "justify-content-around": "space-around",
20
- "justify-content-evenly": "space-evenly",
21
- );
22
-
23
- $flex-align-content: (
24
- "align-content-start": "flex-start",
25
- "align-content-end": "flex-end",
26
- "align-content-center": "center",
27
- "align-content-between": "space-between",
28
- "align-content-around": "space-around",
29
- "align-content-evenly": "space-evenly",
30
- );
31
-
32
- $flex-align-items: (
33
- "align-items-stretch": "stretch",
34
- "align-items-start": "flex-start",
35
- "align-items-center": "center",
36
- "align-items-end": "flex-end",
37
- "align-items-baseline": "baseline",
38
- );
39
-
40
- $flex-align-self: (
41
- "align-self-auto": "auto",
42
- "align-self-start": "flex-start",
43
- "align-self-end": "flex-end",
44
- "align-self-center": "center",
45
- "align-self-stretch": "stretch",
46
- "align-self-baseline": "baseline",
47
- );
48
-
49
- $flex-order: (
50
- "flex-order-0": 0,
51
- "flex-order-1": 1,
52
- "flex-order-2": 2,
53
- "flex-order-3": 3,
54
- "flex-order-4": 4,
55
- "flex-order-5": 5,
56
- "flex-order-6": 6,
57
- );
58
-
59
- $flex-shorthand: (
60
- "flex-1": 1 1 0%,
61
- "flex-auto": 1 1 auto,
62
- "flex-initial": 0 1 auto,
63
- "flex-none": none,
64
- );
65
-
66
- $flex-grow: (
67
- "flex-grow-0": 0,
68
- "flex-grow-1": 1,
69
- );
70
-
71
- $flex-shrink: (
72
- "flex-shrink-0": 0,
73
- "flex-shrink-1": 1,
74
- );
75
-
76
- @include style-class("flex-direction", $flex-direction, true);
77
- @include style-class("flex-wrap", $flex-wrap, true);
78
- @include style-class("justify-content", $flex-justify-content, true);
79
- @include style-class("align-content", $flex-align-content, true);
80
- @include style-class("align-items", $flex-align-items, true);
81
- @include style-class("align-self", $flex-align-self, true);
82
- @include style-class("order", $flex-order, true);
83
- @include style-class("flex", $flex-shorthand, true);
84
- @include style-class("flex-grow", $flex-grow, true);
85
- @include style-class("flex-shrink", $flex-shrink, true);
@@ -1,8 +0,0 @@
1
- $space-scales: 0, 0.25, 0.5, 1, 1.5, 2, 3, 4, 5;
2
- $gap-properties: (
3
- "gap": "gap",
4
- "row-gap": "row-gap",
5
- "column-gap": "column-gap",
6
- );
7
-
8
- @include spacing-class("", $gap-properties, $space-scales);