@luizleon/sf.prefeiturasp.vuecomponents 0.0.18 → 0.0.20

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 (77) hide show
  1. package/dist/lib.es.js +2003 -1509
  2. package/dist/lib.es.js.map +1 -1
  3. package/dist/lib.umd.js +36 -35
  4. package/dist/lib.umd.js.map +1 -1
  5. package/dist/services/dialogService.d.ts +2 -2
  6. package/package.json +17 -5
  7. package/src/common/appResult.ts +0 -22
  8. package/src/components/button/Button.d.ts +0 -42
  9. package/src/components/button/Button.vue +0 -61
  10. package/src/components/content/Content.d.ts +0 -35
  11. package/src/components/content/Content.vue +0 -41
  12. package/src/components/icon/Icon.d.ts +0 -38
  13. package/src/components/icon/Icon.vue +0 -43
  14. package/src/components/internal/HeaderAvatar.vue +0 -49
  15. package/src/components/internal/LoadingCircle.vue +0 -16
  16. package/src/components/internal/MenuIcon.vue +0 -13
  17. package/src/components/internal/ScrollToTop.vue +0 -26
  18. package/src/components/internal/ThemeToggle.ts +0 -41
  19. package/src/components/internal/ThemeToggle.vue +0 -23
  20. package/src/components/internal/cssClassBuilder.ts +0 -44
  21. package/src/components/layout/Layout.d.ts +0 -44
  22. package/src/components/layout/Layout.vue +0 -51
  23. package/src/components/navmenulink/NavMenuLink.d.ts +0 -35
  24. package/src/components/navmenulink/NavMenuLink.vue +0 -41
  25. package/src/components/tabnavigation/TabNavigation.d.ts +0 -42
  26. package/src/components/tabnavigation/TabNavigation.vue +0 -117
  27. package/src/enum/cor.ts +0 -9
  28. package/src/enum/index.ts +0 -2
  29. package/src/enum/tamanho.ts +0 -5
  30. package/src/index.ts +0 -62
  31. package/src/keycloak.d.ts +0 -671
  32. package/src/keycloak.js +0 -1731
  33. package/src/services/authService.ts +0 -68
  34. package/src/services/dialogService.ts +0 -64
  35. package/src/services/navMenuService.ts +0 -21
  36. package/src/style/componentes.scss +0 -15
  37. package/src/style/src/_animation.scss +0 -441
  38. package/src/style/src/_display.scss +0 -10
  39. package/src/style/src/_flexbox.scss +0 -85
  40. package/src/style/src/_functions.scss +0 -171
  41. package/src/style/src/_gap.scss +0 -8
  42. package/src/style/src/_grid.scss +0 -100
  43. package/src/style/src/_mixins.scss +0 -633
  44. package/src/style/src/_normalize.scss +0 -351
  45. package/src/style/src/_ripple.scss +0 -30
  46. package/src/style/src/_size.scss +0 -98
  47. package/src/style/src/_spacing.scss +0 -42
  48. package/src/style/src/_typography.scss +0 -43
  49. package/src/style/src/_variables.scss +0 -87
  50. package/src/style/src/components/_button.scss +0 -107
  51. package/src/style/src/components/_content.scss +0 -57
  52. package/src/style/src/components/_drawer.scss +0 -99
  53. package/src/style/src/components/_headerAvatar.scss +0 -22
  54. package/src/style/src/components/_icon.scss +0 -120
  55. package/src/style/src/components/_internal-icon-button.scss +0 -5
  56. package/src/style/src/components/_layout.scss +0 -183
  57. package/src/style/src/components/_loading-circle.scss +0 -24
  58. package/src/style/src/components/_navmenulink.scss +0 -31
  59. package/src/style/src/components/_scrollToTop.scss +0 -28
  60. package/src/style/src/components/_svg_icon.scss +0 -5
  61. package/src/style/src/components/_tab-navigation.scss +0 -93
  62. package/src/style/src/components/_themetoggle.scss +0 -25
  63. package/src/style/src/components/_tooltip.scss +0 -55
  64. package/src/style/src/sweetalert/_sweetalert.scss +0 -9
  65. package/src/style/src/sweetalert/scss/_animations.scss +0 -197
  66. package/src/style/src/sweetalert/scss/_body.scss +0 -45
  67. package/src/style/src/sweetalert/scss/_core.scss +0 -863
  68. package/src/style/src/sweetalert/scss/_mixins.scss +0 -16
  69. package/src/style/src/sweetalert/scss/_theming.scss +0 -8
  70. package/src/style/src/sweetalert/scss/_toasts-animations.scss +0 -83
  71. package/src/style/src/sweetalert/scss/_toasts-body.scss +0 -85
  72. package/src/style/src/sweetalert/scss/_toasts.scss +0 -203
  73. package/src/style/src/sweetalert/scss/_variables.scss +0 -265
  74. package/src/style/tema.scss +0 -169
  75. package/src/ts-helpers.d.ts +0 -57
  76. package/tsconfig.json +0 -19
  77. package/vite.config.js +0 -26
@@ -1,68 +0,0 @@
1
- import Keycloak from "./../keycloak";
2
-
3
- interface User {
4
- name: string;
5
- email: string;
6
- username: string;
7
- roles: string[];
8
- groups: string[];
9
- emailVerified: boolean;
10
- firstName: string;
11
- lastName: string;
12
- sub: string;
13
- IsInRole: (role: string) => boolean;
14
- }
15
-
16
- const keycloakInstance = new Keycloak();
17
-
18
- const Login = (
19
- onSuccess: () => void,
20
- onError: (error: any) => void
21
- ) => {
22
- keycloakInstance
23
- .init({ onLoad: "login-required" })
24
- .then(async (authenticated) => {
25
- if (authenticated) {
26
- await FetchUserInfo();
27
- }
28
- onSuccess();
29
- })
30
- .catch((e: any) => {
31
- onError(e);
32
- });
33
- };
34
-
35
- const FetchUserInfo = async () => {
36
- const info: any = await keycloakInstance.loadUserInfo();
37
- AuthService.User.email = info.email ?? "";
38
- AuthService.User.emailVerified = info.email_verified === true;
39
- AuthService.User.firstName = info.given_name ?? "";
40
- AuthService.User.lastName = info.family_name ?? "";
41
- AuthService.User.name = info.name ?? "";
42
- AuthService.User.sub = info.sub ?? "";
43
- AuthService.User.username = info.preferred_username ?? "";
44
- AuthService.User.roles = [...(info.role ?? [])];
45
- AuthService.User.groups = [...(info.group ?? [])];
46
- AuthService.User.IsInRole = (role: string) => {
47
- return AuthService.User.roles.includes(role);
48
- };
49
- };
50
-
51
- const Logout = () => {
52
- keycloakInstance
53
- .logout({
54
- redirectUri: location.origin,
55
- })
56
- .then(() => {
57
- sessionStorage.removeItem("user-info");
58
- });
59
- };
60
-
61
- const AuthService = {
62
- Instance: keycloakInstance,
63
- User: {} as User,
64
- CallLogin: Login,
65
- CallLogout: Logout,
66
- };
67
-
68
- export { AuthService };
@@ -1,64 +0,0 @@
1
- import Swal from "sweetalert2";
2
-
3
- interface ConfirmOptions {
4
- message: string;
5
- header?: string;
6
- confirmLabel?: string;
7
- rejectLabel?: string;
8
- }
9
-
10
- interface AlertOptions {
11
- text: string | string[];
12
- title?: string;
13
- icon?: "info" | "error" | "success" | "warning" | "question";
14
- }
15
-
16
- class DialogService {
17
- get IsVisible(): boolean {
18
- return Swal.isVisible();
19
- }
20
-
21
- async ConfirmAsync(options: ConfirmOptions): Promise<boolean> {
22
- return new Promise((r) => {
23
- Swal.fire({
24
- showCancelButton: true,
25
- allowEscapeKey: false,
26
- allowOutsideClick: false,
27
- icon: "question",
28
- title: options.header,
29
- html: options.message,
30
- confirmButtonText: options.confirmLabel ?? "confirmar",
31
- cancelButtonText: options.rejectLabel ?? "cancelar",
32
- }).then((x: any) => {
33
- r(x.isConfirmed === true);
34
- });
35
- });
36
- }
37
-
38
- async AlertAsync(options: AlertOptions): Promise<boolean> {
39
- const icon = options.icon ?? "info";
40
- let text: string;
41
- let html: string;
42
- if (Array.isArray(options.text)) {
43
- html = `<div style="max-height: 50vh; overflow: auto">
44
- ${options.text.join("<br />")}
45
- </div>`;
46
- } else {
47
- text = options.text;
48
- }
49
- return new Promise((r) => {
50
- Swal.fire({
51
- allowEscapeKey: false,
52
- allowOutsideClick: false,
53
- icon,
54
- title: options.title,
55
- text: text,
56
- html,
57
- }).then(() => r(true));
58
- });
59
- }
60
- }
61
-
62
- const service = new DialogService();
63
-
64
- export const UseDialogService = () => service;
@@ -1,21 +0,0 @@
1
- import { ref, Ref } from "vue";
2
-
3
- class NavMenuService {
4
- private _visible: Ref<boolean> = ref(false);
5
- get IsVisible() {
6
- return this._visible.value === true;
7
- }
8
- Toggle() {
9
- this._visible.value = !this._visible.value;
10
- }
11
- Close() {
12
- this._visible.value = false;
13
- }
14
- Open() {
15
- this._visible.value = true;
16
- }
17
- }
18
-
19
- const LkNavMenuService = new NavMenuService();
20
-
21
- export const UseNavMenuService = () => LkNavMenuService;
@@ -1,15 +0,0 @@
1
- @import "./src/components/layout";
2
- @import "./src/components/themetoggle";
3
- @import "./src/components/internal-icon-button";
4
- @import "./src/components/svg_icon";
5
- @import "./src/components/loading-circle";
6
- @import "./src/components/icon";
7
- @import "./src/components/tooltip";
8
- @import "./src/components/drawer";
9
- @import "./src/components/navmenulink";
10
- @import "./src/components/content";
11
- @import "./src/components/scrollToTop";
12
- @import "./src/sweetalert/sweetalert";
13
- @import "./src/components/headerAvatar";
14
- @import "./src/components/tab-navigation";
15
- @import "./src/components/button";
@@ -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);