@sankhyalabs/ezui 1.1.30 → 1.1.34

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 (68) hide show
  1. package/dist/cjs/ez-action-chip.cjs.entry.js +2 -2
  2. package/dist/cjs/ez-button_16.cjs.entry.js +96 -63
  3. package/dist/cjs/ez-dialog.cjs.entry.js +46 -0
  4. package/dist/cjs/ez-label-chip.cjs.entry.js +2 -2
  5. package/dist/cjs/ez-modal.cjs.entry.js +22 -12
  6. package/dist/cjs/ez-number-input.cjs.entry.js +2 -2
  7. package/dist/cjs/ez-popover.cjs.entry.js +2 -2
  8. package/dist/cjs/ez-popup.cjs.entry.js +37 -0
  9. package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
  10. package/dist/cjs/ezui.cjs.js +3 -3
  11. package/dist/cjs/{index-f08ae9d8.js → index-0f668cc5.js} +70 -61
  12. package/dist/cjs/loader.cjs.js +3 -3
  13. package/dist/collection/collection-manifest.json +6 -4
  14. package/dist/collection/components/ez-calendar/ez-calendar.js +3 -5
  15. package/dist/collection/components/ez-check/ez-check.js +1 -1
  16. package/dist/collection/components/ez-combo-box/ez-combo-box.js +75 -44
  17. package/dist/collection/components/ez-dialog/ez-dialog.css +442 -0
  18. package/dist/collection/components/ez-dialog/ez-dialog.js +198 -0
  19. package/dist/collection/components/ez-form/subcomponents/structure/Field.js +2 -1
  20. package/dist/collection/components/ez-modal/ez-modal.js +33 -26
  21. package/dist/collection/components/ez-popup/ez-popup.css +387 -0
  22. package/dist/collection/components/ez-popup/ez-popup.js +131 -0
  23. package/dist/collection/components/ez-search/ez-search.js +45 -1
  24. package/dist/collection/components/ez-upload/ez-upload.js +9 -10
  25. package/dist/custom-elements/index.d.ts +12 -0
  26. package/dist/custom-elements/index.js +224 -104
  27. package/dist/esm/ez-action-chip.entry.js +2 -2
  28. package/dist/esm/ez-button_16.entry.js +96 -63
  29. package/dist/esm/ez-dialog.entry.js +42 -0
  30. package/dist/esm/ez-label-chip.entry.js +2 -2
  31. package/dist/esm/ez-modal.entry.js +22 -12
  32. package/dist/esm/ez-number-input.entry.js +2 -2
  33. package/dist/esm/ez-popover.entry.js +2 -2
  34. package/dist/esm/ez-popup.entry.js +33 -0
  35. package/dist/esm/ez-time-input.entry.js +2 -2
  36. package/dist/esm/ezui.js +3 -3
  37. package/dist/esm/{index-3e5d5166.js → index-89fc9bfd.js} +70 -61
  38. package/dist/esm/loader.js +3 -3
  39. package/dist/ezui/ezui.esm.js +1 -1
  40. package/dist/ezui/p-06c7c4e3.entry.js +1 -0
  41. package/dist/ezui/p-171bdc12.entry.js +1 -0
  42. package/dist/ezui/p-40fe4f51.entry.js +1 -0
  43. package/dist/ezui/p-55c5b134.entry.js +1 -0
  44. package/dist/ezui/p-762ac7a0.js +1 -0
  45. package/dist/ezui/p-7f528c19.entry.js +1 -0
  46. package/dist/ezui/p-b81916dd.entry.js +1 -0
  47. package/dist/ezui/p-c2368320.entry.js +1 -0
  48. package/dist/ezui/p-caa50ec5.entry.js +1 -0
  49. package/dist/ezui/p-d8a47f23.entry.js +1 -0
  50. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +9 -4
  51. package/dist/types/components/ez-dialog/ez-dialog.d.ts +33 -0
  52. package/dist/types/components/ez-modal/ez-modal.d.ts +4 -0
  53. package/dist/types/components/ez-popup/ez-popup.d.ts +24 -0
  54. package/dist/types/components/ez-search/ez-search.d.ts +8 -0
  55. package/dist/types/components.d.ts +143 -4
  56. package/loader/index.d.ts +0 -1
  57. package/package.json +7 -6
  58. package/react/components.d.ts +2 -0
  59. package/react/components.js +2 -0
  60. package/react/components.js.map +1 -1
  61. package/dist/ezui/p-106dafe7.entry.js +0 -1
  62. package/dist/ezui/p-534472a3.entry.js +0 -1
  63. package/dist/ezui/p-5d398030.entry.js +0 -1
  64. package/dist/ezui/p-7509be4f.entry.js +0 -1
  65. package/dist/ezui/p-c6987a1b.entry.js +0 -1
  66. package/dist/ezui/p-f3a62790.entry.js +0 -1
  67. package/dist/ezui/p-f918e4da.js +0 -1
  68. package/dist/ezui/p-fc46887a.entry.js +0 -1
@@ -7,9 +7,13 @@ export class EzComboBox {
7
7
  */
8
8
  this.enabled = true;
9
9
  /**
10
- * Ajusta a opção de mostrar o "value" para cada "label". Como default "value" não está presente (showvalue = false)
10
+ * Ajusta a opção de mostrar o "value" ao selecionar uma opção. Por padrão não mostra.
11
11
  */
12
- this.showvalue = false;
12
+ this.showselectedvalue = false;
13
+ /**
14
+ * Ajusta a opção de mostrar o "value" para cada opção. Por padrão não mostra
15
+ */
16
+ this.showoptionvalue = false;
13
17
  }
14
18
  internalUpdate() {
15
19
  if (this._inputElement) {
@@ -24,7 +28,7 @@ export class EzComboBox {
24
28
  let text = '';
25
29
  const selected = this.value;
26
30
  if (selected) {
27
- text = this.searchmode ? `${selected.value} - ${selected.label}` : selected.label;
31
+ text = this.showselectedvalue ? `${selected.value} - ${selected.label}` : selected.label;
28
32
  }
29
33
  return text;
30
34
  }
@@ -39,7 +43,7 @@ export class EzComboBox {
39
43
  buildItem(opt, index) {
40
44
  return h("li", { class: index === this._preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.selectOption(opt), onMouseOver: () => this._preSelection = undefined },
41
45
  h("span", { class: "item--label", title: opt.label }, opt.label),
42
- h("span", { class: "item--value", title: opt.value }, opt.value));
46
+ this.showoptionvalue ? h("span", { class: "item--value", title: opt.value }, opt.value) : null);
43
47
  }
44
48
  showOptions() {
45
49
  //FIXME: Provavelmente isso fará com que o popup abra em uma
@@ -47,11 +51,9 @@ export class EzComboBox {
47
51
  //porque não quis onerar o text input com essa funcionalidade...
48
52
  const top = this.errormessage ? '0px' : '-17px';
49
53
  this._floatingID = FloatingManager.float(this._optionsList, this._listContainer, { autoClose: true, top });
50
- /*window.requestAnimationFrame(() => {
51
- if(window.visualViewport.height < this._listContainer.getBoundingClientRect().bottom){
52
- this._listContainer.scrollIntoView()
53
- }
54
- });*/
54
+ window.requestAnimationFrame(() => {
55
+ this._optionsList.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'nearest' });
56
+ });
55
57
  }
56
58
  hideOptions() {
57
59
  if (this._floatingID !== undefined) {
@@ -68,22 +70,27 @@ export class EzComboBox {
68
70
  }
69
71
  this.showOptions();
70
72
  this._preSelection = this._preSelection === undefined ? 0 : Math.min(this._preSelection + 1, this._visibleOptions.length - 1);
71
- this.scrollToOption(this._visibleOptions[this._preSelection]);
73
+ this.scrollToOption(this._visibleOptions[this._preSelection], true);
72
74
  }
73
75
  previousOption() {
74
76
  this._preSelection = this._preSelection === undefined ? 0 : Math.max(this._preSelection - 1, 0);
75
- this.scrollToOption(this._visibleOptions[this._preSelection]);
77
+ this.scrollToOption(this._visibleOptions[this._preSelection], false);
76
78
  }
77
- scrollToOption(opt) {
78
- const liElem = this._optionsList.querySelector(`li#item_${opt.value}`);
79
- if (liElem) {
80
- const parent = liElem.parentElement;
81
- const parentRect = parent.getBoundingClientRect();
82
- const itemRect = liElem.getBoundingClientRect();
83
- if (itemRect.bottom > parentRect.bottom || itemRect.top < parentRect.top) {
84
- liElem.scrollIntoView();
79
+ scrollToOption(opt, down) {
80
+ window.requestAnimationFrame(() => {
81
+ const liElem = this._optionsList.querySelector(`li#item_${opt.value}`);
82
+ if (liElem) {
83
+ const parent = liElem.parentElement;
84
+ const parentRect = parent.getBoundingClientRect();
85
+ const itemRect = liElem.getBoundingClientRect();
86
+ if (down && itemRect.bottom > parentRect.bottom) {
87
+ parent.scrollTop = itemRect.top;
88
+ }
89
+ else if (!down && itemRect.top < parentRect.top) {
90
+ parent.scrollTop = 0;
91
+ }
85
92
  }
86
- }
93
+ });
87
94
  }
88
95
  selectCurrentOption() {
89
96
  if (this._preSelection !== undefined) {
@@ -119,6 +126,14 @@ export class EzComboBox {
119
126
  this.updateSource(this.options);
120
127
  }
121
128
  }
129
+ cancelPreselection() {
130
+ if (!this._inputElement.value && this.value) {
131
+ this.value = null;
132
+ }
133
+ else {
134
+ this.internalUpdate();
135
+ }
136
+ }
122
137
  //---------------------------------------------
123
138
  // Lifecycle web component
124
139
  //---------------------------------------------
@@ -191,16 +206,14 @@ export class EzComboBox {
191
206
  case "Enter":
192
207
  this.selectCurrentOption();
193
208
  break;
209
+ case "Escape":
210
+ this.cancelPreselection();
211
+ break;
194
212
  }
195
213
  event.stopPropagation();
196
214
  }
197
215
  onTextInputFocusOutHandler() {
198
- if (!this._inputElement.value && this.value) {
199
- this.value = null;
200
- }
201
- else {
202
- this.internalUpdate();
203
- }
216
+ this.cancelPreselection();
204
217
  }
205
218
  render() {
206
219
  return (h(Host, null,
@@ -274,24 +287,6 @@ export class EzComboBox {
274
287
  "reflect": true,
275
288
  "defaultValue": "true"
276
289
  },
277
- "showvalue": {
278
- "type": "boolean",
279
- "mutable": false,
280
- "complexType": {
281
- "original": "boolean",
282
- "resolved": "boolean",
283
- "references": {}
284
- },
285
- "required": false,
286
- "optional": false,
287
- "docs": {
288
- "tags": [],
289
- "text": "Ajusta a op\u00E7\u00E3o de mostrar o \"value\" para cada \"label\". Como default \"value\" n\u00E3o est\u00E1 presente (showvalue = false)"
290
- },
291
- "attribute": "showvalue",
292
- "reflect": true,
293
- "defaultValue": "false"
294
- },
295
290
  "options": {
296
291
  "type": "unknown",
297
292
  "mutable": true,
@@ -348,6 +343,42 @@ export class EzComboBox {
348
343
  "attribute": "searchmode",
349
344
  "reflect": false
350
345
  },
346
+ "showselectedvalue": {
347
+ "type": "boolean",
348
+ "mutable": false,
349
+ "complexType": {
350
+ "original": "boolean",
351
+ "resolved": "boolean",
352
+ "references": {}
353
+ },
354
+ "required": false,
355
+ "optional": false,
356
+ "docs": {
357
+ "tags": [],
358
+ "text": "Ajusta a op\u00E7\u00E3o de mostrar o \"value\" ao selecionar uma op\u00E7\u00E3o. Por padr\u00E3o n\u00E3o mostra."
359
+ },
360
+ "attribute": "showselectedvalue",
361
+ "reflect": false,
362
+ "defaultValue": "false"
363
+ },
364
+ "showoptionvalue": {
365
+ "type": "boolean",
366
+ "mutable": false,
367
+ "complexType": {
368
+ "original": "boolean",
369
+ "resolved": "boolean",
370
+ "references": {}
371
+ },
372
+ "required": false,
373
+ "optional": false,
374
+ "docs": {
375
+ "tags": [],
376
+ "text": "Ajusta a op\u00E7\u00E3o de mostrar o \"value\" para cada op\u00E7\u00E3o. Por padr\u00E3o n\u00E3o mostra"
377
+ },
378
+ "attribute": "showoptionvalue",
379
+ "reflect": false,
380
+ "defaultValue": "false"
381
+ },
351
382
  "optionloader": {
352
383
  "type": "unknown",
353
384
  "mutable": false,
@@ -0,0 +1,442 @@
1
+ :host {
2
+ --dlg-title--primary: var(--title--primary, #2b3a54);
3
+ --dlg-font-pattern: var(--font-pattern, "'Sora', 'Algerian'");
4
+ --dlg-text-weight--large: var(--text-weight--large, 600);
5
+ --dlg-space--small: var(--space--small, 6px);
6
+ --dlg-space--medium: var(--space--medium, 12px);
7
+ --dlg-space--large: var(--space--large, 24px);
8
+ --dlg-critical--background-color: var(--color--alert-error-800, #BD0025);
9
+ --dlg-warning--background-color: var(--color--alert-warning-500, #EFB103);
10
+ --dlg-text-weight--medium: var(--text-weight--medium, 400);
11
+ --dlg-text-shadow: var(--text-shadow, "0 0 0 #353535, 0 0 1px transparent");
12
+ --dlg-text--medium: var(--text--medium, 14px);
13
+ --dlg-text--primary: var(--text--primary, #626e82);
14
+ --dlg-z-index: var(--most-visible, 3);
15
+ --dlg--close__image: url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg%22%3E<path d="M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z"/></svg>');
16
+ --dlg--warning__image: url('data: image/svg+xml;utf8,<svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path d="M 7.5,0 0,13 h 15 z m 0,2.73684 5.1341,8.89476 H 2.36591 Z M 6.81818,5.47368 V 8.21053 H 8.18182 V 5.47368 Z m 0,4.10527 V 10.9474 H 8.18182 V 9.57895"/></svg>');
17
+ --dlg--critical__image: url('data: image/svg+xml;utf8,<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><path d="M 7.6534493,6.4948538 12.762051,1.3864299 C 12.914368,1.2341297 13,1.027552 13,0.81215179 13,0.59676225 12.914369,0.39018443 12.762051,0.23787352 12.609733,0.08557341 12.40318,0 12.187747,0 11.972425,0 11.765762,0.08557341 11.613445,0.23787352 L 6.5048431,5.3462975 1.3961977,0.23787352 C 1.2438802,0.08557341 1.0373043,0 0.82189458,0 0.60649572,0 0.39990901,0.08557341 0.24759147,0.23787352 0.09527396,0.39018443 0.00970766,0.59676225 0.00970766,0.81215179 c 0,0.21540021 0.0855663,0.42197791 0.23788381,0.57427811 L 5.3562369,6.4948538 0.24759147,11.604381 c -0.0775121,0.07492 -0.13931586,0.164543 -0.18182835,0.263595 -0.04250169,0.09905 -0.064850182,0.205678 -0.0657357237,0.313391 -8.8554258e-4,0.107813 0.0197049337,0.214771 0.0605827337,0.314472 0.04086693,0.0998 0.10119858,0.190415 0.17746563,0.266625 0.0762779,0.07622 0.16695386,0.136398 0.26675594,0.177208 0.099802,0.04082 0.20672745,0.06127 0.31452961,0.06029 0.1078025,-9.53e-4 0.21433799,-0.0235 0.31337139,-0.06604 0.099045,-0.04265 0.1886052,-0.104571 0.263465,-0.182081 L 6.5048431,7.6434102 11.613445,12.751855 c 0.152317,0.152312 0.35898,0.237831 0.574302,0.237831 0.215433,0 0.421986,-0.08552 0.574304,-0.237831 C 12.914368,12.599545 13,12.393 13,12.177578 13,11.962157 12.91437,11.75561 12.762051,11.603299 Z"/></svg>');
18
+ }
19
+
20
+ h2 {
21
+ margin-block-start: 0;
22
+ margin-block-end: 0;
23
+ margin-inline-start: 0px;
24
+ margin-inline-end: 0px;
25
+ }
26
+
27
+ .overlay {
28
+ position: fixed;
29
+ display: flex;
30
+ top: 0px;
31
+ z-index: var(--dlg-z-index);
32
+ left: 0px;
33
+ width: 100%;
34
+ box-sizing: border-box;
35
+ height: 100vh;
36
+ backdrop-filter: blur(4px);
37
+ background: rgba(0, 4, 12, 0.4);
38
+ }
39
+
40
+ .dialog {
41
+ display: flex;
42
+ width: 80%;
43
+ position: absolute;
44
+ top: 50%;
45
+ left: 50%;
46
+ margin-right: -50%;
47
+ box-sizing: border-box;
48
+ transform: translate(-50%, -50%);
49
+ box-shadow: 0px 0px 16px rgba(0, 38, 111, 0.122);
50
+ }
51
+
52
+ @media screen and (min-width: 768px) {
53
+ .dialog {
54
+ width: 50%;
55
+ }
56
+ }
57
+
58
+ @media screen and (min-width: 992px) {
59
+ .dialog {
60
+ width: 33.33333%;
61
+ }
62
+ }
63
+
64
+ .dialog__container {
65
+ width: 100%;
66
+ background: #FFFF;
67
+ color: var(--dlg-title--primary);
68
+ border-radius: 0px 6px 6px 0px;
69
+ box-sizing: border-box;
70
+ padding: var(--dlg-space--large)
71
+ }
72
+
73
+ .dialog__critical--indicator {
74
+ box-sizing: border-box;
75
+ width: 12px;
76
+ border-radius: 6px 0px 0px 6px;
77
+ background-color: var(--dlg-critical--background-color);
78
+ }
79
+
80
+ .dialog__warning--indicator {
81
+ width: 12px;
82
+ border-radius: 6px 0px 0px 6px;
83
+ box-sizing: border-box;
84
+ background-color: var(--dlg-warning--background-color);
85
+ }
86
+
87
+ .message {
88
+ font-weight: var(--dlg-text-weight--medium);
89
+ padding-bottom: var(--dlg-space--large);
90
+ max-height: 30vh;
91
+ content-visibility: auto;
92
+ margin-bottom: 24px;
93
+ overflow-y: auto;
94
+ }
95
+
96
+ .title {
97
+ display: flex;
98
+ font-family: var(--dlg-font-pattern);
99
+ margin: 0;
100
+ font-weight: var(--dlg-text-weight--large);
101
+ line-height: 1.3;
102
+ }
103
+
104
+ .title--large {
105
+ font-size: var(--dlg-title--large);
106
+ }
107
+
108
+ .title__container {
109
+ display: flex;
110
+ padding-bottom: var(--dlg-space--medium);
111
+ }
112
+
113
+ .title__box {
114
+ display: flex;
115
+ width: 100%;
116
+ align-items: center;
117
+ align-self: center;
118
+ }
119
+
120
+ .title--label {
121
+ padding-left: var(--dlg-space--small);
122
+ }
123
+
124
+ .title-icon {
125
+ outline: none;
126
+ border: none;
127
+ background-color: var(--dlg-warning--background-color);
128
+ width: 26px;
129
+ height: 26px;
130
+ border-radius: 100%;
131
+ padding: 0;
132
+ display: flex;
133
+ justify-content: center;
134
+ align-items: center;
135
+ }
136
+
137
+ .title-icon--critical {
138
+ background-color: var(--dlg-critical--background-color);
139
+ }
140
+
141
+ .btn-close {
142
+ justify-content: flex-end;
143
+ align-self: flex-start;
144
+ align-items: flex-start;
145
+ display: flex;
146
+ outline: none;
147
+ width: 10%;
148
+ border: none;
149
+ background-color: unset;
150
+ cursor: pointer;
151
+ }
152
+
153
+ .btn-close::after {
154
+ content: '';
155
+ display: flex;
156
+ background-color: var(--dlg-title--primary);
157
+ width: 12px;
158
+ height: 12px;
159
+ -webkit-mask-image: var(--dlg--close__image);
160
+ mask-image: var(--dlg--close__image);
161
+ }
162
+
163
+ .title-icon::after {
164
+ content: '';
165
+ display: flex;
166
+ background-color: #FFFF;
167
+ width: 15px;
168
+ height: 15px;
169
+ -webkit-mask-image: var(--dlg--warning__image);
170
+ mask-image: var(--dlg--warning__image);
171
+ }
172
+
173
+ .title-icon--critical::after {
174
+ content: '';
175
+ display: flex;
176
+ background-color: #FFFF;
177
+ width: 13px;
178
+ height: 13px;
179
+ -webkit-mask-image: var(--dlg--critical__image);
180
+ mask-image: var(--dlg--critical__image);
181
+ }
182
+
183
+ .button-yes-no__container {
184
+ display: flex;
185
+ box-sizing: border-box;
186
+ align-self: center;
187
+ align-items: center;
188
+ justify-content: flex-end;
189
+ }
190
+
191
+ .button__no {
192
+ padding-right: var(--dlg-space--large);
193
+ }
194
+
195
+ .button__ok--container {
196
+ display: flex;
197
+ justify-content: flex-end;
198
+ }
199
+
200
+ .text {
201
+ font-family: var(--dlg-font-pattern);
202
+ text-shadow: var(--dlg-text-shadow);
203
+ }
204
+
205
+ .text--medium {
206
+ font-size: var(--dlg-text--medium);
207
+ }
208
+
209
+ .text--primary {
210
+ color: var(--dlg-text--primary);
211
+ text-shadow: var(--dlg-text-shadow);
212
+ }
213
+
214
+ /*FIXME: nome da classe fora do BEM e em português*/
215
+ .iconePersonalizado {
216
+ width: 15px;
217
+ height: 15px;
218
+ }
219
+ /*FIXME: Isso não deveria estar aqui... provavelmente foi colocado temporáriamente
220
+ até resolvermos o problema de compilar um css específico pro grid system no ez-design.
221
+ Na versão final do componente devemos remover daqui...*/
222
+ /* //////// GRID SYSTEM //////// */
223
+
224
+ .row {
225
+ width: 100%;
226
+ display: flex;
227
+ flex-wrap: wrap;
228
+ }
229
+
230
+ .col {
231
+ display: flex;
232
+ flex-wrap: wrap;
233
+ align-self: flex-start;
234
+ box-sizing: border-box;
235
+ }
236
+
237
+ .col--stretch {
238
+ align-self: stretch;
239
+ }
240
+
241
+ .col--undefined {
242
+ width: unset;
243
+ }
244
+
245
+ .col--nowrap {
246
+ flex-wrap: nowrap;
247
+ }
248
+
249
+ @media screen and (min-width: 320px) {
250
+ .col--sd-1 {
251
+ width: 8.33333%;
252
+ }
253
+ .col--sd-2 {
254
+ width: 16.66667%;
255
+ }
256
+ .col--sd-3 {
257
+ width: 25%;
258
+ }
259
+ .col--sd-4 {
260
+ width: 33.33333%;
261
+ }
262
+ .col--sd-5 {
263
+ width: 41.66667%;
264
+ }
265
+ .col--sd-6 {
266
+ width: 50%;
267
+ }
268
+ .col--sd-7 {
269
+ width: 58.33333%;
270
+ }
271
+ .col--sd-8 {
272
+ width: 66.66667%;
273
+ }
274
+ .col--sd-9 {
275
+ width: 75%;
276
+ }
277
+ .col--sd-10 {
278
+ width: 83.33333%;
279
+ }
280
+ .col--sd-11 {
281
+ width: 91.66667%;
282
+ }
283
+ .col--sd-12 {
284
+ width: 100%;
285
+ }
286
+ }
287
+
288
+ @media screen and (min-width: 480px) {
289
+ .col--pn-1 {
290
+ width: 8.33333%;
291
+ }
292
+ .col--pn-2 {
293
+ width: 16.66667%;
294
+ }
295
+ .col--pn-3 {
296
+ width: 25%;
297
+ }
298
+ .col--pn-4 {
299
+ width: 33.33333%;
300
+ }
301
+ .col--pn-5 {
302
+ width: 41.66667%;
303
+ }
304
+ .col--pn-6 {
305
+ width: 50%;
306
+ }
307
+ .col--pn-7 {
308
+ width: 58.33333%;
309
+ }
310
+ .col--pn-8 {
311
+ width: 66.66667%;
312
+ }
313
+ .col--pn-9 {
314
+ width: 75%;
315
+ }
316
+ .col--pn-10 {
317
+ width: 83.33333%;
318
+ }
319
+ .col--pn-11 {
320
+ width: 91.66667%;
321
+ }
322
+ .col--pn-12 {
323
+ width: 100%;
324
+ }
325
+ }
326
+
327
+ @media screen and (min-width: 768px) {
328
+ .col--tb-1 {
329
+ width: 8.33333%;
330
+ }
331
+ .col--tb-2 {
332
+ width: 16.66667%;
333
+ }
334
+ .col--tb-3 {
335
+ width: 25%;
336
+ }
337
+ .col--tb-4 {
338
+ width: 33.33333%;
339
+ }
340
+ .col--tb-5 {
341
+ width: 41.66667%;
342
+ }
343
+ .col--tb-6 {
344
+ width: 50%;
345
+ }
346
+ .col--tb-7 {
347
+ width: 58.33333%;
348
+ }
349
+ .col--tb-8 {
350
+ width: 66.66667%;
351
+ }
352
+ .col--tb-9 {
353
+ width: 75%;
354
+ }
355
+ .col--tb-10 {
356
+ width: 83.33333%;
357
+ }
358
+ .col--tb-11 {
359
+ width: 91.66667%;
360
+ }
361
+ .col--tb-12 {
362
+ width: 100%;
363
+ }
364
+ }
365
+
366
+ @media screen and (min-width: 992px) {
367
+ .col--md-1 {
368
+ width: 8.33333%;
369
+ }
370
+ .col--md-2 {
371
+ width: 16.66667%;
372
+ }
373
+ .col--md-3 {
374
+ width: 25%;
375
+ }
376
+ .col--md-4 {
377
+ width: 33.33333%;
378
+ }
379
+ .col--md-5 {
380
+ width: 41.66667%;
381
+ }
382
+ .col--md-6 {
383
+ width: 50%;
384
+ }
385
+ .col--md-7 {
386
+ width: 58.33333%;
387
+ }
388
+ .col--md-8 {
389
+ width: 66.66667%;
390
+ }
391
+ .col--md-9 {
392
+ width: 75%;
393
+ }
394
+ .col--md-10 {
395
+ width: 83.33333%;
396
+ }
397
+ .col--md-11 {
398
+ width: 91.66667%;
399
+ }
400
+ .col--md-12 {
401
+ width: 100%;
402
+ }
403
+ }
404
+
405
+ @media screen and (min-width: 1200px) {
406
+ .col--ld-1 {
407
+ width: 8.33333%;
408
+ }
409
+ .col--ld-2 {
410
+ width: 16.66667%;
411
+ }
412
+ .col--ld-3 {
413
+ width: 25%;
414
+ }
415
+ .col--ld-4 {
416
+ width: 33.33333%;
417
+ }
418
+ .col--ld-5 {
419
+ width: 41.66667%;
420
+ }
421
+ .col--ld-6 {
422
+ width: 50%;
423
+ }
424
+ .col--ld-7 {
425
+ width: 58.33333%;
426
+ }
427
+ .col--ld-8 {
428
+ width: 66.66667%;
429
+ }
430
+ .col--ld-9 {
431
+ width: 75%;
432
+ }
433
+ .col--ld-10 {
434
+ width: 83.33333%;
435
+ }
436
+ .col--ld-11 {
437
+ width: 91.66667%;
438
+ }
439
+ .col--ld-12 {
440
+ width: 100%;
441
+ }
442
+ }