@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-83282.1 → 0.0.0-bugfix-dev-KB-75940.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/dist/cjs/ez-badge.cjs.entry.js +14 -2
- package/dist/cjs/ez-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-card-item_2.cjs.entry.js +1416 -7
- package/dist/cjs/ez-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-date-input.cjs.entry.js +4 -17
- package/dist/cjs/ez-date-time-input.cjs.entry.js +4 -16
- package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
- package/dist/cjs/ez-grid.cjs.entry.js +4 -2
- package/dist/cjs/ez-list.cjs.entry.js +2 -2
- package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover-plus_3.cjs.entry.js +195 -0
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +28 -158
- package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/index-a7b0c73d.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/searchFormatters-b7e1ed1e.js +23 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/ez-badge/ez-badge.css +12 -1
- package/dist/collection/components/ez-badge/ez-badge.js +31 -1
- package/dist/collection/components/ez-button/ez-button.css +1 -1
- package/dist/collection/components/ez-card-item/ez-card-item.css +1 -3
- package/dist/collection/components/ez-chip/ez-chip.css +5 -1
- package/dist/collection/components/ez-date-input/ez-date-input.js +4 -17
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +4 -16
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +4 -2
- package/dist/collection/components/ez-list/ez-list.js +2 -2
- package/dist/collection/components/ez-modal/ez-modal.js +1 -1
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +1 -1
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +49 -14
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +2 -2
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +72 -12
- package/dist/collection/components/ez-popup/ez-popup.js +1 -1
- package/dist/collection/components/ez-scroller/ez-scroller.css +3 -0
- package/dist/collection/components/ez-search/ez-search.css +0 -219
- package/dist/collection/components/ez-search/ez-search.js +28 -167
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css +227 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js +289 -0
- package/dist/collection/components/ez-search/utils/searchFormatters.js +18 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +204 -226
- package/dist/esm/ez-badge.entry.js +14 -2
- package/dist/esm/ez-button.entry.js +1 -1
- package/dist/esm/ez-card-item_2.entry.js +1416 -7
- package/dist/esm/ez-chip.entry.js +1 -1
- package/dist/esm/ez-date-input.entry.js +4 -17
- package/dist/esm/ez-date-time-input.entry.js +4 -16
- package/dist/esm/ez-form-view.entry.js +1 -1
- package/dist/esm/ez-grid.entry.js +4 -2
- package/dist/esm/ez-list.entry.js +2 -2
- package/dist/esm/ez-modal-container.entry.js +1 -1
- package/dist/esm/ez-modal.entry.js +1 -1
- package/dist/esm/ez-popover-plus_3.entry.js +189 -0
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-scroller_2.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +29 -159
- package/dist/esm/ez-split-item.entry.js +1 -1
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/index-baa5e267.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/searchFormatters-8229207e.js +20 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-0bffeffc.entry.js +1 -0
- package/dist/ezui/p-20cb13fa.entry.js +1 -0
- package/dist/ezui/p-23b6128c.entry.js +1 -0
- package/dist/ezui/p-248d4f54.entry.js +1 -0
- package/dist/ezui/p-2872fd16.entry.js +1 -0
- package/dist/ezui/p-288631d1.entry.js +1 -0
- package/dist/ezui/p-40a60148.js +1 -0
- package/dist/ezui/p-4e0628a7.entry.js +1 -0
- package/dist/ezui/{p-53116373.entry.js → p-664b91e8.entry.js} +1 -1
- package/dist/ezui/p-788467fe.entry.js +1 -0
- package/dist/ezui/p-84b1c99e.entry.js +1 -0
- package/dist/ezui/p-b7706b43.entry.js +1 -0
- package/dist/ezui/p-d2bc2f06.entry.js +1 -0
- package/dist/ezui/p-dcf3c8e5.entry.js +1 -0
- package/dist/ezui/{p-17be134a.entry.js → p-e06a9886.entry.js} +1 -1
- package/dist/ezui/p-e5c3ed19.entry.js +1 -0
- package/dist/ezui/p-e75c7a23.entry.js +1 -0
- package/dist/types/components/ez-badge/ez-badge.d.ts +5 -0
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +3 -3
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +2 -2
- package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +2 -2
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
- package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +9 -4
- package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +12 -2
- package/dist/types/components/ez-search/ez-search.d.ts +3 -13
- package/dist/types/components/ez-search/subcomponent/search-list/search-list.d.ts +23 -0
- package/dist/types/components/ez-search/utils/searchFormatters.d.ts +2 -0
- package/dist/types/components.d.ts +80 -4
- package/package.json +1 -1
- package/react/components.d.ts +1 -0
- package/react/components.js +1 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ez-popover-core_2.cjs.entry.js +0 -1504
- package/dist/esm/ez-popover-core_2.entry.js +0 -1499
- package/dist/ezui/p-0faf71c5.entry.js +0 -1
- package/dist/ezui/p-17eabf46.entry.js +0 -1
- package/dist/ezui/p-1ad6c61b.entry.js +0 -1
- package/dist/ezui/p-2bb2a0c4.entry.js +0 -1
- package/dist/ezui/p-3195a7a7.entry.js +0 -1
- package/dist/ezui/p-3429080c.entry.js +0 -1
- package/dist/ezui/p-58783dcf.entry.js +0 -1
- package/dist/ezui/p-650e4b6d.entry.js +0 -1
- package/dist/ezui/p-65f471bc.entry.js +0 -1
- package/dist/ezui/p-7bd15498.entry.js +0 -1
- package/dist/ezui/p-990b4318.entry.js +0 -1
- package/dist/ezui/p-b26f6c5b.entry.js +0 -1
- package/dist/ezui/p-cb1535f7.entry.js +0 -1
- package/dist/ezui/p-d9548bdf.entry.js +0 -1
|
@@ -9,18 +9,19 @@ export class EzPopoverCore {
|
|
|
9
9
|
this.overlayType = "light";
|
|
10
10
|
this.anchorElement = undefined;
|
|
11
11
|
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
12
|
+
this.useAnchorSize = false;
|
|
13
|
+
this.minWidth = 150;
|
|
12
14
|
}
|
|
13
|
-
|
|
14
|
-
if (newValue === oldValue)
|
|
15
|
+
observeOpened(newValue, oldValue) {
|
|
16
|
+
if (newValue === oldValue) {
|
|
15
17
|
return;
|
|
18
|
+
}
|
|
16
19
|
if (newValue) {
|
|
17
20
|
this.openPopover();
|
|
18
21
|
}
|
|
19
22
|
else {
|
|
20
23
|
this.hidePopover();
|
|
21
24
|
}
|
|
22
|
-
this.ezVisibilityChange.emit(newValue);
|
|
23
|
-
return;
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* Atualiza a posição do popover.
|
|
@@ -79,17 +80,37 @@ export class EzPopoverCore {
|
|
|
79
80
|
verticalGap: this.parseSizePixel(top, this.options.verticalGap),
|
|
80
81
|
});
|
|
81
82
|
}
|
|
83
|
+
getElement(element) {
|
|
84
|
+
if (typeof element === 'string') {
|
|
85
|
+
return document.getElementById(element);
|
|
86
|
+
}
|
|
87
|
+
return element;
|
|
88
|
+
}
|
|
89
|
+
getAnchorElement() {
|
|
90
|
+
if (!this.anchorElement) {
|
|
91
|
+
return this._host;
|
|
92
|
+
}
|
|
93
|
+
if (Array.isArray(this.anchorElement)) {
|
|
94
|
+
for (const element of this.anchorElement) {
|
|
95
|
+
const htmlElement = this.getElement(element);
|
|
96
|
+
if (htmlElement) {
|
|
97
|
+
return htmlElement;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return this.getElement(this.anchorElement);
|
|
102
|
+
}
|
|
82
103
|
async updatePositionPopover() {
|
|
83
104
|
if (!this._box || !this.opened) {
|
|
84
105
|
return;
|
|
85
106
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
this.
|
|
107
|
+
const currentAnchorElement = this.getAnchorElement();
|
|
108
|
+
if (this.useAnchorSize) {
|
|
109
|
+
const anchorSize = currentAnchorElement.getBoundingClientRect().width;
|
|
110
|
+
const width = anchorSize < this.minWidth ? this.minWidth : anchorSize;
|
|
111
|
+
this._box.style.width = `${width}px`;
|
|
91
112
|
}
|
|
92
|
-
await computePosition(
|
|
113
|
+
await computePosition(currentAnchorElement, this._box, {
|
|
93
114
|
placement: this.options.fromRight ? 'bottom-end' : 'bottom-start',
|
|
94
115
|
middleware: [flip(), shift({ padding: 5 })],
|
|
95
116
|
strategy: 'fixed',
|
|
@@ -265,9 +286,12 @@ export class EzPopoverCore {
|
|
|
265
286
|
"type": "string",
|
|
266
287
|
"mutable": true,
|
|
267
288
|
"complexType": {
|
|
268
|
-
"original": "HTMLElement | string",
|
|
269
|
-
"resolved": "HTMLElement | string",
|
|
289
|
+
"original": "Array<HTMLElement | string> | HTMLElement | string",
|
|
290
|
+
"resolved": "(string | HTMLElement)[] | HTMLElement | string",
|
|
270
291
|
"references": {
|
|
292
|
+
"Array": {
|
|
293
|
+
"location": "global"
|
|
294
|
+
},
|
|
271
295
|
"HTMLElement": {
|
|
272
296
|
"location": "global"
|
|
273
297
|
}
|
|
@@ -301,6 +325,42 @@ export class EzPopoverCore {
|
|
|
301
325
|
"text": "Define as op\u00E7\u00F5es do elemento."
|
|
302
326
|
},
|
|
303
327
|
"defaultValue": "{ horizontalGap: 0, verticalGap: 0, fromRight: false }"
|
|
328
|
+
},
|
|
329
|
+
"useAnchorSize": {
|
|
330
|
+
"type": "boolean",
|
|
331
|
+
"mutable": false,
|
|
332
|
+
"complexType": {
|
|
333
|
+
"original": "boolean",
|
|
334
|
+
"resolved": "boolean",
|
|
335
|
+
"references": {}
|
|
336
|
+
},
|
|
337
|
+
"required": false,
|
|
338
|
+
"optional": false,
|
|
339
|
+
"docs": {
|
|
340
|
+
"tags": [],
|
|
341
|
+
"text": "Define se o elemento manter\u00E1 o mesmo tamanho do componente de ancora."
|
|
342
|
+
},
|
|
343
|
+
"attribute": "use-anchor-size",
|
|
344
|
+
"reflect": true,
|
|
345
|
+
"defaultValue": "false"
|
|
346
|
+
},
|
|
347
|
+
"minWidth": {
|
|
348
|
+
"type": "number",
|
|
349
|
+
"mutable": false,
|
|
350
|
+
"complexType": {
|
|
351
|
+
"original": "number",
|
|
352
|
+
"resolved": "number",
|
|
353
|
+
"references": {}
|
|
354
|
+
},
|
|
355
|
+
"required": false,
|
|
356
|
+
"optional": false,
|
|
357
|
+
"docs": {
|
|
358
|
+
"tags": [],
|
|
359
|
+
"text": "Define a largura m\u00EDnima do elemento (apenas ser\u00E1 considerada caso a propriedade useAnchorSize seja verdadeira)."
|
|
360
|
+
},
|
|
361
|
+
"attribute": "min-width",
|
|
362
|
+
"reflect": true,
|
|
363
|
+
"defaultValue": "150"
|
|
304
364
|
}
|
|
305
365
|
};
|
|
306
366
|
}
|
|
@@ -25,7 +25,7 @@ export class EzPopup {
|
|
|
25
25
|
if (this.opened && this._popupRef) {
|
|
26
26
|
this._popupRef.focus();
|
|
27
27
|
}
|
|
28
|
-
new KeyboardManager({ propagate: false, element: this._element })
|
|
28
|
+
new KeyboardManager({ propagate: false, element: this._element, enableShadowDom: true })
|
|
29
29
|
.bind("Enter", this.ezPopupAction.emit.bind("OK"))
|
|
30
30
|
.bind("Escape", () => this.closePopup())
|
|
31
31
|
.bind("Esc", () => this.closePopup());
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
--ez-scroller__scrollbar--width: var(--space--small, 6px);
|
|
18
18
|
/*@doc Define o a altura máxima do componente.*/
|
|
19
19
|
--ez-scroller__max-height: unset;
|
|
20
|
+
/*@doc Define o espaçamento interno direito da barra de rolagem do componente.*/
|
|
21
|
+
--ez-scroller__scrollbar--padding-right: var(--space-extra-small, 3px);
|
|
20
22
|
|
|
21
23
|
display: flex;
|
|
22
24
|
cursor: grab;
|
|
@@ -51,6 +53,7 @@
|
|
|
51
53
|
.ez-scroller__container--horizontal {
|
|
52
54
|
overflow-x: scroll;
|
|
53
55
|
flex-direction: row;
|
|
56
|
+
padding-right: var(--ez-scroller__scrollbar--padding-right);
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
.ez-scroller__container--vertical {
|
|
@@ -56,36 +56,12 @@
|
|
|
56
56
|
/*@doc Define a cor do label.*/
|
|
57
57
|
--ez-search__label--color: var(--title--primary, #2B3A54);
|
|
58
58
|
|
|
59
|
-
/* list */
|
|
60
|
-
/*@doc Define a cor do texto da lista de opções.*/
|
|
61
|
-
--ez-search__list-title--primary: var(--title--primary, #2B3A54);
|
|
62
|
-
/*@doc Define a cor do texto do value da lista de opções.*/
|
|
63
|
-
--ez-search__list-text--primary: var(--text--primary, #626e82);
|
|
64
|
-
/*@doc Define a altura do box da lista de opções.*/
|
|
65
|
-
--ez-search__list-height: calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);
|
|
66
|
-
/*@doc Define a largura mínima da lista de opções.*/
|
|
67
|
-
--ez-search__list-min-width: 64px;
|
|
68
|
-
|
|
69
59
|
/* espaçamento */
|
|
70
60
|
/*@doc Define um espaçamento mediano entre elementos do componente.*/
|
|
71
61
|
--ez-search--space--medium: var(--space--medium, 12px);
|
|
72
62
|
/*@doc Define um espaçamento pequeno entre elementos do componente.*/
|
|
73
63
|
--ez-search--space--small: var(--space--small, 6px);
|
|
74
64
|
|
|
75
|
-
/* scrollbar */
|
|
76
|
-
/*@doc Define a cor da barra de rolagem do componente.*/
|
|
77
|
-
--ez-search__scrollbar--color-default: var(--scrollbar--default, #626e82);
|
|
78
|
-
/*@doc Define a cor de fundo da barra de rolagem do componente.*/
|
|
79
|
-
--ez-search__scrollbar--color-background: var(--scrollbar--background, #E5EAF0);
|
|
80
|
-
/*@doc Define a cor do hover na barra de rolagem do componente.*/
|
|
81
|
-
--ez-search__scrollbar--color-hover: var(--scrollbar--hover, #2B3A54);
|
|
82
|
-
/*@doc Define a cor do active na barra de rolagem do componente.*/
|
|
83
|
-
--ez-search__scrollbar--color-clicked: var(--scrollbar--clicked, #a2abb9);
|
|
84
|
-
/*@doc Define o raio da borda da barra de rolagem do componente.*/
|
|
85
|
-
--ez-search__scrollbar--border-radius: var(--border--radius-small, 6px);
|
|
86
|
-
/*@doc Define a largura da barra de rolagem do componente.*/
|
|
87
|
-
--ez-search__scrollbar--width: var(--space--small, 6px);
|
|
88
|
-
|
|
89
65
|
/***************
|
|
90
66
|
host style
|
|
91
67
|
***************/
|
|
@@ -112,182 +88,6 @@ ez-icon {
|
|
|
112
88
|
--ez-text-input__input--disabled--color: var(--title--primary, #2B3A54);
|
|
113
89
|
}
|
|
114
90
|
|
|
115
|
-
.list-container {
|
|
116
|
-
/*public*/
|
|
117
|
-
min-width: var(--ez-search__list-min-width);
|
|
118
|
-
overflow: auto;
|
|
119
|
-
|
|
120
|
-
/*private*/
|
|
121
|
-
position: relative;
|
|
122
|
-
width: 100%;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.list-wrapper {
|
|
126
|
-
display: flex;
|
|
127
|
-
flex-direction: column;
|
|
128
|
-
box-sizing: border-box;
|
|
129
|
-
width: 0;
|
|
130
|
-
|
|
131
|
-
/*public*/
|
|
132
|
-
z-index: var(--more-visible, 2);
|
|
133
|
-
max-height: 350px;
|
|
134
|
-
min-width: 150px;
|
|
135
|
-
background-color: var(--ez-search--background-color--xlight);
|
|
136
|
-
border-radius: var(--ez-search--border-radius);
|
|
137
|
-
box-shadow: var(--shadow, 0px 0px 16px 0px #000);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.list-options {
|
|
141
|
-
margin-top: 0px;
|
|
142
|
-
box-sizing: border-box;
|
|
143
|
-
width: 100%;
|
|
144
|
-
height: 100%;
|
|
145
|
-
padding: 0;
|
|
146
|
-
display: flex;
|
|
147
|
-
flex-direction: column;
|
|
148
|
-
scroll-behavior: smooth;
|
|
149
|
-
overflow-y: auto;
|
|
150
|
-
overflow-x: hidden;
|
|
151
|
-
scrollbar-width: thin;
|
|
152
|
-
|
|
153
|
-
/*public*/
|
|
154
|
-
scrollbar-color: var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background);
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.list-options::-webkit-scrollbar {
|
|
159
|
-
/*public*/
|
|
160
|
-
background-color: var(--scrollbar--background);
|
|
161
|
-
width: var(--space--small);
|
|
162
|
-
max-width: var(--space--small);
|
|
163
|
-
min-width: var(--space--small);
|
|
164
|
-
height: var(--space--small);
|
|
165
|
-
max-height: var(--space--small);
|
|
166
|
-
min-height: var(--space--small);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.list-options::-webkit-scrollbar-track {
|
|
170
|
-
/*public*/
|
|
171
|
-
background-color: var(--ez-search__scrollbar--color-background);
|
|
172
|
-
border-radius: var(--ez-search__scrollbar--border-radius);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.list-options::-webkit-scrollbar-thumb {
|
|
176
|
-
/*public*/
|
|
177
|
-
background-color: var(--ez-search__scrollbar--color-default);
|
|
178
|
-
border-radius: var(--ez-search__scrollbar--border-radius);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.list-options::-webkit-scrollbar-thumb:vertical:hover,
|
|
182
|
-
.list-options::-webkit-scrollbar-thumb:horizontal:hover {
|
|
183
|
-
/*public*/
|
|
184
|
-
background-color: var(--ez-search__scrollbar--color-hover);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.list-options::-webkit-scrollbar-thumb:vertical:active,
|
|
188
|
-
.list-options::-webkit-scrollbar-thumb:horizontal:active {
|
|
189
|
-
/*public*/
|
|
190
|
-
background-color: var(--ez-search__scrollbar--color-clicked);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.item {
|
|
194
|
-
display: flex;
|
|
195
|
-
align-items: center;
|
|
196
|
-
width: 100%;
|
|
197
|
-
box-sizing: border-box;
|
|
198
|
-
list-style-type: none;
|
|
199
|
-
cursor: pointer;
|
|
200
|
-
|
|
201
|
-
/*public*/
|
|
202
|
-
border-radius: var(--ez-search--border-radius-small);
|
|
203
|
-
gap: var(--space--small, 6px);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.item__value,
|
|
207
|
-
.item__label {
|
|
208
|
-
flex-basis: auto;
|
|
209
|
-
white-space: nowrap;
|
|
210
|
-
overflow: hidden;
|
|
211
|
-
text-overflow: ellipsis;
|
|
212
|
-
|
|
213
|
-
/*public*/
|
|
214
|
-
color: var(--ez-search__list-title--primary);
|
|
215
|
-
font-family: var(--ez-search--font-family);
|
|
216
|
-
font-size: var(--ez-search--font-size);
|
|
217
|
-
line-height: var(--ez-search--line-height);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.item__label {
|
|
221
|
-
/*public*/
|
|
222
|
-
font-weight: var(--ez-search--font-weight--medium);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.item__label--bold {
|
|
226
|
-
/*public*/
|
|
227
|
-
font-weight: var(--ez-search--font-weight--large);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.item__value {
|
|
231
|
-
text-align: center;
|
|
232
|
-
|
|
233
|
-
/*public*/
|
|
234
|
-
color: var(--ez-search__list-text--primary);
|
|
235
|
-
font-weight: var(--ez-search--font-weight--large);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.item__value--hidden {
|
|
239
|
-
visibility: hidden;
|
|
240
|
-
position: absolute;
|
|
241
|
-
white-space: nowrap;
|
|
242
|
-
z-index: -1;
|
|
243
|
-
top: 0;
|
|
244
|
-
left: 0;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.item__label {
|
|
248
|
-
text-align: left;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.message {
|
|
252
|
-
text-align: center;
|
|
253
|
-
display: flex;
|
|
254
|
-
justify-content: center;
|
|
255
|
-
align-items: center;
|
|
256
|
-
list-style-type: none;
|
|
257
|
-
|
|
258
|
-
/*public*/
|
|
259
|
-
min-height: var(--ez-search__list-height);
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.message__no-result {
|
|
263
|
-
/*public*/
|
|
264
|
-
color: var(--ez-search__list-title--primary);
|
|
265
|
-
font-family: var(--ez-search--font-family);
|
|
266
|
-
font-size: var(--ez-search--font-size);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.message__loading {
|
|
270
|
-
border-radius: 50%;
|
|
271
|
-
width: 14px;
|
|
272
|
-
height: 14px;
|
|
273
|
-
-webkit-animation: spin 1s linear infinite;
|
|
274
|
-
animation: spin 1s linear infinite;
|
|
275
|
-
|
|
276
|
-
/*public*/
|
|
277
|
-
border: 3px solid var(--ez-search__list-title--primary);
|
|
278
|
-
border-top: 3px solid transparent;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.item__list > li:hover {
|
|
282
|
-
/*public*/
|
|
283
|
-
background-color: var(--ez-search--background-medium);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.preselected {
|
|
287
|
-
/*public*/
|
|
288
|
-
background-color: var(--background--medium);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
91
|
.btn {
|
|
292
92
|
outline: none;
|
|
293
93
|
border: none;
|
|
@@ -323,23 +123,4 @@ ez-icon {
|
|
|
323
123
|
|
|
324
124
|
ez-text-input:hover .btn__close, ez-text-input:focus .btn__close {
|
|
325
125
|
visibility: visible;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
@-webkit-keyframes spin {
|
|
330
|
-
0% { -webkit-transform: rotate(0deg); }
|
|
331
|
-
100% { -webkit-transform: rotate(360deg); }
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
@keyframes spin {
|
|
335
|
-
0% { transform: rotate(0deg); }
|
|
336
|
-
100% { transform: rotate(360deg); }
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
@supports not (scrollbar-width: thin) {
|
|
340
|
-
/* Estilos para navegadores que NÃO suportam scrollbar-width */
|
|
341
|
-
.item {
|
|
342
|
-
/* Estilos alternativos, por exemplo, para navegadores que não suportam scrollbar-width */
|
|
343
|
-
padding-right: 8px;
|
|
344
|
-
}
|
|
345
126
|
}
|