@ardium-ui/ui 5.0.0-alpha.74 → 5.0.0-alpha.76

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 (133) hide show
  1. package/fesm2022/ardium-ui-ui.mjs +106 -106
  2. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  3. package/lib/slider/range-slider/range-slider.component.d.ts +1 -1
  4. package/package.json +1 -1
  5. package/prebuilt-themes/default/badge.css +222 -221
  6. package/prebuilt-themes/default/badge.css.map +1 -1
  7. package/prebuilt-themes/default/buttons/button.css +305 -304
  8. package/prebuilt-themes/default/buttons/button.css.map +1 -1
  9. package/prebuilt-themes/default/buttons/fab.css +302 -303
  10. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  11. package/prebuilt-themes/default/buttons/icon-button.css +290 -290
  12. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  13. package/prebuilt-themes/default/calendar.css +364 -364
  14. package/prebuilt-themes/default/calendar.css.map +1 -1
  15. package/prebuilt-themes/default/card.css +130 -137
  16. package/prebuilt-themes/default/card.css.map +1 -1
  17. package/prebuilt-themes/default/checkbox-list.css +74 -72
  18. package/prebuilt-themes/default/checkbox-list.css.map +1 -1
  19. package/prebuilt-themes/default/checkbox.css +339 -338
  20. package/prebuilt-themes/default/checkbox.css.map +1 -1
  21. package/prebuilt-themes/default/chips.css +384 -383
  22. package/prebuilt-themes/default/chips.css.map +1 -1
  23. package/prebuilt-themes/default/color-display.css +28 -26
  24. package/prebuilt-themes/default/color-display.css.map +1 -1
  25. package/prebuilt-themes/default/color-picker.css +105 -103
  26. package/prebuilt-themes/default/color-picker.css.map +1 -1
  27. package/prebuilt-themes/default/core.css +13 -9
  28. package/prebuilt-themes/default/core.css.map +1 -1
  29. package/prebuilt-themes/default/dialog.css +15 -15
  30. package/prebuilt-themes/default/dialog.css.map +1 -1
  31. package/prebuilt-themes/default/divider.css +73 -72
  32. package/prebuilt-themes/default/divider.css.map +1 -1
  33. package/prebuilt-themes/default/dropdown-panel.css +35 -34
  34. package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
  35. package/prebuilt-themes/default/file-drop-area.css +286 -285
  36. package/prebuilt-themes/default/file-drop-area.css.map +1 -1
  37. package/prebuilt-themes/default/form-field-frame.css +102 -102
  38. package/prebuilt-themes/default/form-field-frame.css.map +1 -1
  39. package/prebuilt-themes/default/form-field.css +127 -129
  40. package/prebuilt-themes/default/form-field.css.map +1 -1
  41. package/prebuilt-themes/default/inputs/autocomplete-input.css +163 -162
  42. package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
  43. package/prebuilt-themes/default/inputs/color-input.css +99 -98
  44. package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
  45. package/prebuilt-themes/default/inputs/date-input.css +125 -125
  46. package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
  47. package/prebuilt-themes/default/inputs/digit-input.css +110 -111
  48. package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
  49. package/prebuilt-themes/default/inputs/file-input.css +358 -359
  50. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  51. package/prebuilt-themes/default/inputs/hex-input.css +140 -138
  52. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
  53. package/prebuilt-themes/default/inputs/input.css +128 -126
  54. package/prebuilt-themes/default/inputs/input.css.map +1 -1
  55. package/prebuilt-themes/default/inputs/number-input.css +204 -204
  56. package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
  57. package/prebuilt-themes/default/inputs/password-input.css +98 -97
  58. package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
  59. package/prebuilt-themes/default/kbd-shortcut.css +10 -8
  60. package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
  61. package/prebuilt-themes/default/kbd.css +17 -15
  62. package/prebuilt-themes/default/kbd.css.map +1 -1
  63. package/prebuilt-themes/default/modal.css +79 -77
  64. package/prebuilt-themes/default/modal.css.map +1 -1
  65. package/prebuilt-themes/default/progress-bar.css +250 -234
  66. package/prebuilt-themes/default/progress-bar.css.map +1 -1
  67. package/prebuilt-themes/default/progress-circle.css +172 -170
  68. package/prebuilt-themes/default/progress-circle.css.map +1 -1
  69. package/prebuilt-themes/default/radio.css +231 -232
  70. package/prebuilt-themes/default/radio.css.map +1 -1
  71. package/prebuilt-themes/default/segment.css +414 -412
  72. package/prebuilt-themes/default/segment.css.map +1 -1
  73. package/prebuilt-themes/default/select.css +274 -275
  74. package/prebuilt-themes/default/select.css.map +1 -1
  75. package/prebuilt-themes/default/slide-toggle.css +294 -293
  76. package/prebuilt-themes/default/slide-toggle.css.map +1 -1
  77. package/prebuilt-themes/default/slider.css +370 -369
  78. package/prebuilt-themes/default/slider.css.map +1 -1
  79. package/prebuilt-themes/default/snackbar.css +173 -172
  80. package/prebuilt-themes/default/snackbar.css.map +1 -1
  81. package/prebuilt-themes/default/spinner.css +156 -155
  82. package/prebuilt-themes/default/spinner.css.map +1 -1
  83. package/prebuilt-themes/default/stars.css +259 -262
  84. package/prebuilt-themes/default/stars.css.map +1 -1
  85. package/prebuilt-themes/default/tabber.css +234 -233
  86. package/prebuilt-themes/default/tabber.css.map +1 -1
  87. package/prebuilt-themes/default/table-pagination.css +46 -45
  88. package/prebuilt-themes/default/table-pagination.css.map +1 -1
  89. package/prebuilt-themes/default/table.css +441 -439
  90. package/prebuilt-themes/default/table.css.map +1 -1
  91. package/themes/default/badge.scss +92 -90
  92. package/themes/default/buttons/button.scss +70 -68
  93. package/themes/default/buttons/fab.scss +63 -61
  94. package/themes/default/buttons/icon-button.scss +56 -54
  95. package/themes/default/calendar.scss +215 -211
  96. package/themes/default/card.scss +133 -131
  97. package/themes/default/checkbox-list.scss +70 -68
  98. package/themes/default/checkbox.scss +55 -53
  99. package/themes/default/chips.scss +166 -159
  100. package/themes/default/color-display.scss +31 -29
  101. package/themes/default/color-picker.scss +95 -93
  102. package/themes/default/core.scss +14 -9
  103. package/themes/default/dialog.scss +15 -13
  104. package/themes/default/divider.scss +79 -77
  105. package/themes/default/dropdown-panel.scss +37 -35
  106. package/themes/default/file-drop-area.scss +152 -150
  107. package/themes/default/form-field-frame.scss +69 -67
  108. package/themes/default/form-field.scss +109 -107
  109. package/themes/default/inputs/autocomplete-input.scss +61 -59
  110. package/themes/default/inputs/color-input.scss +34 -32
  111. package/themes/default/inputs/date-input.scss +63 -61
  112. package/themes/default/inputs/digit-input.scss +83 -81
  113. package/themes/default/inputs/file-input.scss +113 -111
  114. package/themes/default/inputs/hex-input.scss +39 -37
  115. package/themes/default/inputs/input.scss +27 -25
  116. package/themes/default/inputs/number-input.scss +137 -135
  117. package/themes/default/inputs/password-input.scss +60 -58
  118. package/themes/default/kbd-shortcut.scss +9 -7
  119. package/themes/default/kbd.scss +19 -17
  120. package/themes/default/modal.scss +79 -77
  121. package/themes/default/progress-bar.scss +127 -103
  122. package/themes/default/progress-circle.scss +41 -39
  123. package/themes/default/radio.scss +92 -90
  124. package/themes/default/segment.scss +260 -255
  125. package/themes/default/select.scss +206 -204
  126. package/themes/default/slide-toggle.scss +146 -144
  127. package/themes/default/slider.scss +185 -179
  128. package/themes/default/snackbar.scss +32 -30
  129. package/themes/default/spinner.scss +16 -14
  130. package/themes/default/stars.scss +81 -79
  131. package/themes/default/tabber.scss +86 -84
  132. package/themes/default/table-pagination.scss +47 -46
  133. package/themes/default/table.scss +342 -340
@@ -52,255 +52,257 @@
52
52
  --ard-select-dropdown-add-custom-label-font-size: 85%;
53
53
  }
54
54
 
55
- .ard-select {
56
- box-sizing: border-box;
57
- width: 100%;
58
- min-height: var(--ard-select-height, var(--ard-form-field-height, 2.3125rem));
59
- display: grid;
60
- align-items: center;
61
- grid-template-columns: 1fr max-content;
62
- gap: var(--ard-select-gap, 0.625rem);
63
- padding: var(--ard-select-padding, 0 1em 0 0.375em);
64
- font-family: var(--ard-font-family);
65
- font-size: var(--ard-select-font-size, var(--ard-form-field-font-size, 1rem));
66
- color: var(--ard-select-text-color, var(--ard-text, rgba(0, 0, 0, 100%)));
67
-
68
- @include CB.clearButton();
69
-
70
- //! value container
71
- .ard-select-value-container {
72
- position: relative;
73
- height: 2em;
74
- display: flex;
55
+ @layer ard-theme {
56
+ .ard-select {
57
+ box-sizing: border-box;
58
+ width: 100%;
59
+ min-height: var(--ard-select-height, var(--ard-form-field-height, 2.3125rem));
60
+ display: grid;
75
61
  align-items: center;
62
+ grid-template-columns: 1fr max-content;
63
+ gap: var(--ard-select-gap, 0.625rem);
64
+ padding: var(--ard-select-padding, 0 1em 0 0.375em);
65
+ font-family: var(--ard-font-family);
76
66
  font-size: var(--ard-select-font-size, var(--ard-form-field-font-size, 1rem));
77
- text-size-adjust: 100%;
78
- flex-grow: 1;
79
- overflow: hidden;
67
+ color: var(--ard-select-text-color, var(--ard-text, rgba(0, 0, 0, 100%)));
80
68
 
81
- .ard-placeholder {
82
- font: inherit;
83
- position: absolute;
84
- color: var(--ard-select-placeholder-color, var(--ard-text3, rgba(0, 0, 0, 75%)));
85
- white-space: nowrap;
86
- overflow: hidden;
87
- text-overflow: ellipsis;
88
- width: max-content;
89
- max-width: 100%;
90
- pointer-events: none;
91
- }
69
+ @include CB.clearButton();
92
70
 
93
- .ard-search-input {
94
- width: 100%;
95
- max-width: 100%;
71
+ //! value container
72
+ .ard-select-value-container {
73
+ position: relative;
74
+ height: 2em;
75
+ display: flex;
76
+ align-items: center;
77
+ font-size: var(--ard-select-font-size, var(--ard-form-field-font-size, 1rem));
78
+ text-size-adjust: 100%;
79
+ flex-grow: 1;
80
+ overflow: hidden;
96
81
 
97
- input {
98
- border: none;
99
- background: transparent;
100
- outline: none;
82
+ .ard-placeholder {
101
83
  font: inherit;
102
- padding-left: 1px;
103
- display: block;
84
+ position: absolute;
85
+ color: var(--ard-select-placeholder-color, var(--ard-text3, rgba(0, 0, 0, 75%)));
86
+ white-space: nowrap;
87
+ overflow: hidden;
88
+ text-overflow: ellipsis;
89
+ width: max-content;
90
+ max-width: 100%;
91
+ pointer-events: none;
92
+ }
93
+
94
+ .ard-search-input {
104
95
  width: 100%;
105
96
  max-width: 100%;
97
+
98
+ input {
99
+ border: none;
100
+ background: transparent;
101
+ outline: none;
102
+ font: inherit;
103
+ padding-left: 1px;
104
+ display: block;
105
+ width: 100%;
106
+ max-width: 100%;
107
+ }
106
108
  }
107
109
  }
108
- }
109
- .ard-select-controls {
110
- display: flex;
111
- align-items: center;
112
- gap: var(--ard-select-controls-gap, 0.625rem);
113
- width: max-content;
114
- }
115
- //! single/multiselect
116
- &.ard-singleselect {
117
- .ard-value {
110
+ .ard-select-controls {
111
+ display: flex;
112
+ align-items: center;
113
+ gap: var(--ard-select-controls-gap, 0.625rem);
118
114
  width: max-content;
119
- white-space: nowrap;
120
115
  }
121
- }
122
- &:not(.ard-searchable),
123
- &.ard-singleselect {
124
- .ard-search-input {
125
- position: absolute;
126
- top: 50%;
127
- left: 0;
128
- transform: translateY(-50%) translateX(-1px);
129
- width: max-content;
130
-
131
- input {
116
+ //! single/multiselect
117
+ &.ard-singleselect {
118
+ .ard-value {
132
119
  width: max-content;
120
+ white-space: nowrap;
133
121
  }
134
122
  }
135
- }
136
- &:not(.ard-searchable) .ard-search-input {
137
- pointer-events: none;
138
- }
139
- &.ard-multiselect {
140
- height: max-content;
123
+ &:not(.ard-searchable),
124
+ &.ard-singleselect {
125
+ .ard-search-input {
126
+ position: absolute;
127
+ top: 50%;
128
+ left: 0;
129
+ transform: translateY(-50%) translateX(-1px);
130
+ width: max-content;
141
131
 
142
- .ard-select-value-container {
132
+ input {
133
+ width: max-content;
134
+ }
135
+ }
136
+ }
137
+ &:not(.ard-searchable) .ard-search-input {
138
+ pointer-events: none;
139
+ }
140
+ &.ard-multiselect {
143
141
  height: max-content;
144
- min-height: 1.5625em;
145
- padding: var(--ard-select-multiselect-padding, 0.25em 0);
146
- box-sizing: border-box;
147
- flex-wrap: wrap;
148
- gap: var(--ard-select-multiselect-chip-gap, 0.375rem);
149
- justify-content: stretch;
150
142
 
143
+ .ard-select-value-container {
144
+ height: max-content;
145
+ min-height: 1.5625em;
146
+ padding: var(--ard-select-multiselect-padding, 0.25em 0);
147
+ box-sizing: border-box;
148
+ flex-wrap: wrap;
149
+ gap: var(--ard-select-multiselect-chip-gap, 0.375rem);
150
+ justify-content: stretch;
151
+
152
+ .ard-chip-wrapper {
153
+ margin: 0;
154
+ }
155
+ }
156
+ .ard-search-input {
157
+ flex-grow: 1;
158
+ width: unset !important;
159
+ min-width: var(--ard-select-search-min-width, 10ch);
160
+
161
+ input {
162
+ width: var(--ard-select-search-min-width, 10ch) !important;
163
+ }
164
+ }
151
165
  .ard-chip-wrapper {
152
166
  margin: 0;
153
167
  }
154
168
  }
155
- .ard-search-input {
156
- flex-grow: 1;
157
- width: unset !important;
158
- min-width: var(--ard-select-search-min-width, 10ch);
159
-
160
- input {
161
- width: var(--ard-select-search-min-width, 10ch) !important;
169
+ //! dropdown arrow
170
+ .ard-dropdown-arrow-wrapper {
171
+ display: flex;
172
+ align-items: center;
173
+ height: max-content;
174
+ width: max-content;
175
+ background-color: transparent;
176
+ border: none;
177
+ cursor: pointer;
178
+ transition: transform var(--ard-select-dropdown-arrow-transition, 0.2s ease-in-out);
179
+
180
+ .ard-dropdown-arrow {
181
+ border: calc(ARD.$dropdown-button-size / 2) solid transparent;
182
+ position: relative;
183
+ border-bottom-color: var(--ard-select-dropdown-arrow-color, ARD.$detail);
184
+ border-right-color: var(--ard-select-dropdown-arrow-color, ARD.$detail);
185
+ transform: rotate(45deg) translate(-17.67771%, -17.67771%);
162
186
  }
163
187
  }
164
- .ard-chip-wrapper {
165
- margin: 0;
166
- }
167
- }
168
- //! dropdown arrow
169
- .ard-dropdown-arrow-wrapper {
170
- display: flex;
171
- align-items: center;
172
- height: max-content;
173
- width: max-content;
174
- background-color: transparent;
175
- border: none;
176
- cursor: pointer;
177
- transition: transform var(--ard-select-dropdown-arrow-transition, 0.2s ease-in-out);
178
-
179
- .ard-dropdown-arrow {
180
- border: calc(ARD.$dropdown-button-size / 2) solid transparent;
181
- position: relative;
182
- border-bottom-color: var(--ard-select-dropdown-arrow-color, ARD.$detail);
183
- border-right-color: var(--ard-select-dropdown-arrow-color, ARD.$detail);
184
- transform: rotate(45deg) translate(-17.67771%, -17.67771%);
188
+ &.ard-dropdown-open {
189
+ .ard-dropdown-arrow-wrapper {
190
+ transform: var(--ard-select-dropdown-arrow-active-transform, rotate(180deg));
191
+ }
185
192
  }
186
- }
187
- &.ard-dropdown-open {
188
- .ard-dropdown-arrow-wrapper {
189
- transform: var(--ard-select-dropdown-arrow-active-transform, rotate(180deg));
193
+
194
+ //! compact
195
+ &.ard-compact {
196
+ font-size: var(--ard-select-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
197
+ min-height: var(--ard-select-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
198
+ padding: var(--ard-select-padding-compact, 0 0.625em 0 0.375em);
199
+
200
+ .ard-select-controls {
201
+ gap: var(--ard-select-controls-gap-compact, 0.5rem);
202
+ }
203
+ .ard-dropdown-arrow-wrapper .ard-dropdown-arrow {
204
+ border-width: calc(ARD.$dropdown-button-size / 2.4);
205
+ }
190
206
  }
191
207
  }
192
208
 
193
- //! compact
194
- &.ard-compact {
195
- font-size: var(--ard-select-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
196
- min-height: var(--ard-select-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
197
- padding: var(--ard-select-padding-compact, 0 0.625em 0 0.375em);
198
-
199
- .ard-select-controls {
200
- gap: var(--ard-select-controls-gap-compact, 0.5rem);
209
+ //! optgroups & options, divider
210
+ .ard-select-dropdown-panel {
211
+ right: 0;
212
+ width: var(--ard-select-dropdown-width, max-content);
213
+ max-width: var(--ard-select-dropdown-max-width, max(25em, 100%));
214
+ min-width: var(--ard-select-dropdown-min-width, 100%);
215
+ font-size: var(--ard-select-dropdown-font-size, var(--ard-form-field-font-size, 1rem));
216
+
217
+ .ard-dropdown-panel-content {
218
+ padding: var(--ard-select-dropdown-padding, 0.375em 0.625em);
219
+ max-height: var(--ard-select-dropdown-max-height, 15em);
220
+ overflow: hidden auto;
201
221
  }
202
- .ard-dropdown-arrow-wrapper .ard-dropdown-arrow {
203
- border-width: calc(ARD.$dropdown-button-size / 2.4);
222
+ .ard-optgroup {
223
+ display: flex;
224
+ flex-direction: column;
225
+ cursor: pointer;
226
+ }
227
+ .ard-optgroup-children {
228
+ cursor: default;
204
229
  }
205
- }
206
- }
207
230
 
208
- //! optgroups & options, divider
209
- .ard-select-dropdown-panel {
210
- right: 0;
211
- width: var(--ard-select-dropdown-width, max-content);
212
- max-width: var(--ard-select-dropdown-max-width, max(25em, 100%));
213
- min-width: var(--ard-select-dropdown-min-width, 100%);
214
- font-size: var(--ard-select-dropdown-font-size, var(--ard-form-field-font-size, 1rem));
215
-
216
- .ard-dropdown-panel-content {
217
- padding: var(--ard-select-dropdown-padding, 0.375em 0.625em);
218
- max-height: var(--ard-select-dropdown-max-height, 15em);
219
- overflow: hidden auto;
220
- }
221
- .ard-optgroup {
222
- display: flex;
223
- flex-direction: column;
224
- cursor: pointer;
225
- }
226
- .ard-optgroup-children {
227
- cursor: default;
228
- }
231
+ .ard-optgroup-label {
232
+ font-size: var(--ard-select-dropdown-optgroup-label-font-size, 0.875em);
233
+ font-weight: var(--ard-select-dropdown-optgroup-label-font-weight, 600);
234
+ letter-spacing: 0.25px;
235
+ padding: var(--ard-select-dropdown-optgroup-label-padding, 0.375em 0.625em 0.0625em 0.625em);
236
+ }
229
237
 
230
- .ard-optgroup-label {
231
- font-size: var(--ard-select-dropdown-optgroup-label-font-size, 0.875em);
232
- font-weight: var(--ard-select-dropdown-optgroup-label-font-weight, 600);
233
- letter-spacing: 0.25px;
234
- padding: var(--ard-select-dropdown-optgroup-label-padding, 0.375em 0.625em 0.0625em 0.625em);
235
- }
238
+ .ard-option {
239
+ padding: var(--ard-select-dropdown-option-padding, 0.375em 0.625em);
240
+ color: var(--ard-select-dropdown-option-text-color, var(--ard-text2, rgba(0, 0, 0, 87%)));
241
+ cursor: pointer;
236
242
 
237
- .ard-option {
238
- padding: var(--ard-select-dropdown-option-padding, 0.375em 0.625em);
239
- color: var(--ard-select-dropdown-option-text-color, var(--ard-text2, rgba(0, 0, 0, 87%)));
240
- cursor: pointer;
243
+ &.ard-option-highlighted {
244
+ background: var(--ard-select-dropdown-option-highlighted-bg, ARD.$darken-overlay-light);
245
+ }
241
246
 
242
- &.ard-option-highlighted {
243
- background: var(--ard-select-dropdown-option-highlighted-bg, ARD.$darken-overlay-light);
244
- }
247
+ &.ard-option-selected {
248
+ font-weight: var(--ard-select-dropdown-option-selected-font-weight, 500);
249
+ background: var(--ard-select-dropdown-option-selected-bg, ARD.$darken-overlay-medium);
245
250
 
246
- &.ard-option-selected {
247
- font-weight: var(--ard-select-dropdown-option-selected-font-weight, 500);
248
- background: var(--ard-select-dropdown-option-selected-bg, ARD.$darken-overlay-medium);
251
+ &.ard-option-highlighted {
252
+ background: var(--ard-select-dropdown-option-selected-highlighted-bg, ARD.$darken-overlay-medium-strong);
253
+ }
254
+ }
249
255
 
250
- &.ard-option-highlighted {
251
- background: var(--ard-select-dropdown-option-selected-highlighted-bg, ARD.$darken-overlay-medium-strong);
256
+ &.ard-option-disabled {
257
+ pointer-events: none;
258
+ opacity: var(--ard-select-dropdown-option-disabled-opacity, 50%);
252
259
  }
253
260
  }
254
-
255
- &.ard-option-disabled {
256
- pointer-events: none;
257
- opacity: var(--ard-select-dropdown-option-disabled-opacity, 50%);
261
+ //divider
262
+ hr.ard-divider {
263
+ width: calc(100% - 1.25em);
264
+ margin: 0.375em 0.625em;
265
+ border: none;
266
+ border-bottom: 1px solid ARD.$darken-overlay-strong;
258
267
  }
259
- }
260
- //divider
261
- hr.ard-divider {
262
- width: calc(100% - 1.25em);
263
- margin: 0.375em 0.625em;
264
- border: none;
265
- border-bottom: 1px solid ARD.$darken-overlay-strong;
266
- }
267
268
 
268
- .ard-optgroup:first-child > hr.ard-divider {
269
- display: none;
270
- }
271
- //! custom option
272
- .ard-add-custom {
273
- display: flex;
274
- align-items: flex-end;
275
- gap: var(--ard-select-dropdown-add-custom-gap, 0.375rem);
276
-
277
- .ard-add-custom-label {
278
- font-size: var(--ard-select-dropdown-add-custom-label-font-size, 85%);
269
+ .ard-optgroup:first-child > hr.ard-divider {
270
+ display: none;
271
+ }
272
+ //! custom option
273
+ .ard-add-custom {
274
+ display: flex;
275
+ align-items: flex-end;
276
+ gap: var(--ard-select-dropdown-add-custom-gap, 0.375rem);
277
+
278
+ .ard-add-custom-label {
279
+ font-size: var(--ard-select-dropdown-add-custom-label-font-size, 85%);
280
+ }
279
281
  }
280
- }
281
282
 
282
- //! compact
283
- > .ard-compact {
284
- font-size: var(--ard-select-dropdown-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
283
+ //! compact
284
+ > .ard-compact {
285
+ font-size: var(--ard-select-dropdown-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
286
+ }
285
287
  }
286
- }
287
288
 
288
- //! spinner
289
- .ard-simple-spinner {
290
- border-radius: 999px;
291
- border: 0.5em solid var(--ard-spinner-color);
292
- border-top-color: transparent;
293
- animation: spinner-anim 1s linear infinite;
294
- position: relative;
295
-
296
- &::after {
297
- content: '';
298
- position: absolute;
299
- top: 50%;
300
- left: 50%;
301
- transform: translate(-50%, -50%);
289
+ //! spinner
290
+ .ard-simple-spinner {
302
291
  border-radius: 999px;
303
- border: 0.35em solid var(--ard-bg);
292
+ border: 0.5em solid var(--ard-spinner-color);
293
+ border-top-color: transparent;
294
+ animation: spinner-anim 1s linear infinite;
295
+ position: relative;
296
+
297
+ &::after {
298
+ content: '';
299
+ position: absolute;
300
+ top: 50%;
301
+ left: 50%;
302
+ transform: translate(-50%, -50%);
303
+ border-radius: 999px;
304
+ border: 0.35em solid var(--ard-bg);
305
+ }
304
306
  }
305
307
  }
306
308