@ardium-ui/ui 5.0.0-alpha.1 → 5.0.0-alpha.100

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 (322) hide show
  1. package/fesm2022/ardium-ui-ui.mjs +5663 -2527
  2. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  3. package/lib/_internal/boolean-component.d.ts +13 -1
  4. package/lib/_internal/disablable-component.d.ts +3 -2
  5. package/lib/_internal/focusable-component.d.ts +2 -1
  6. package/lib/_internal/form-field-component.d.ts +3 -2
  7. package/lib/_internal/item-storages/dropdown-item-storage.d.ts +21 -21
  8. package/lib/_internal/item-storages/simple-item-storage.d.ts +15 -12
  9. package/lib/_internal/item-storages/simplest-item-storage.d.ts +1 -1
  10. package/lib/_internal/ngmodel-component.d.ts +8 -9
  11. package/lib/_internal/selectable-list-component.d.ts +6 -6
  12. package/lib/_internal/utils/date.utils.d.ts +16 -0
  13. package/lib/badge/badge.directive.d.ts +3 -2
  14. package/lib/breakpoints/breakpoint.service.d.ts +12 -0
  15. package/lib/breakpoints/breakpoint.utils.d.ts +7 -0
  16. package/lib/breakpoints/breakpoints.d.ts +13 -0
  17. package/lib/breakpoints/index.d.ts +2 -0
  18. package/lib/buttons/_button-base.d.ts +12 -8
  19. package/lib/buttons/_button-base.defaults.d.ts +3 -2
  20. package/lib/buttons/button/button.component.d.ts +12 -6
  21. package/lib/buttons/button/button.defaults.d.ts +1 -2
  22. package/lib/buttons/button/button.directive.d.ts +23 -0
  23. package/lib/buttons/button/button.module.d.ts +3 -2
  24. package/lib/buttons/button/index.d.ts +1 -0
  25. package/lib/buttons/button-group/button-group.component.d.ts +25 -0
  26. package/lib/buttons/button-group/button-group.defaults.d.ts +7 -0
  27. package/lib/buttons/button-group/button-group.module.d.ts +8 -0
  28. package/lib/buttons/button-group/index.d.ts +3 -0
  29. package/lib/buttons/fab/fab.component.d.ts +3 -1
  30. package/lib/buttons/icon-button/icon-button.component.d.ts +6 -4
  31. package/lib/buttons/icon-button/icon-button.defaults.d.ts +2 -1
  32. package/lib/calendar/abstract-calendar.d.ts +135 -0
  33. package/lib/calendar/calendar.component.d.ts +9 -96
  34. package/lib/calendar/calendar.defaults.d.ts +17 -1
  35. package/lib/calendar/calendar.internal-directives.d.ts +24 -8
  36. package/lib/calendar/calendar.internal-types.d.ts +1 -0
  37. package/lib/calendar/calendar.module.d.ts +4 -9
  38. package/lib/calendar/calendar.types.d.ts +33 -5
  39. package/lib/calendar/index.d.ts +3 -0
  40. package/lib/calendar/range-calendar.component.d.ts +17 -0
  41. package/lib/calendar/range-calendar.directives.d.ts +51 -0
  42. package/lib/calendar/range-calendar.module.d.ts +10 -0
  43. package/lib/calendar/views/calendar-views.module.d.ts +13 -0
  44. package/lib/calendar/views/days-view/days-view.component.d.ts +20 -2
  45. package/lib/calendar/views/days-view/days-view.helpers.d.ts +2 -2
  46. package/lib/calendar/views/months-view/months-view.component.d.ts +15 -3
  47. package/lib/calendar/views/years-view/years-view.component.d.ts +16 -4
  48. package/lib/checkbox/checkbox.component.d.ts +5 -2
  49. package/lib/checkbox/checkbox.types.d.ts +2 -0
  50. package/lib/checkbox-list/checkbox-list.component.d.ts +9 -7
  51. package/lib/checkbox-list/checkbox-list.directives.d.ts +7 -0
  52. package/lib/checkbox-list/checkbox-list.module.d.ts +1 -1
  53. package/lib/chip/chip.component.d.ts +2 -1
  54. package/lib/chip/deletable-chip/deletable-chip.component.d.ts +3 -1
  55. package/lib/chip/selectable-chip/selectable-chip.component.d.ts +5 -2
  56. package/lib/dialog/dialog.component.d.ts +13 -8
  57. package/lib/dialog/dialog.types.d.ts +1 -0
  58. package/lib/divider/divider.component.d.ts +2 -3
  59. package/lib/divider/divider.defaults.d.ts +5 -0
  60. package/lib/divider/divider.directive.d.ts +18 -0
  61. package/lib/divider/divider.module.d.ts +3 -2
  62. package/lib/divider/divider.types.d.ts +5 -0
  63. package/lib/divider/index.d.ts +2 -0
  64. package/lib/dropdown-panel/dropdown-panel.component.d.ts +2 -1
  65. package/lib/dropdown-panel/dropdown-panel.types.d.ts +1 -1
  66. package/lib/file-inputs/file-input/file-input.component.d.ts +5 -4
  67. package/lib/file-inputs/file-input/file-input.directives.d.ts +3 -3
  68. package/lib/file-inputs/file-input/file-input.module.d.ts +1 -1
  69. package/lib/file-inputs/file-input-base.d.ts +4 -5
  70. package/lib/form-field/auto-error/auto-error.component.d.ts +19 -0
  71. package/lib/form-field/auto-error/auto-error.provider.d.ts +7 -0
  72. package/lib/form-field/error/error.directive.d.ts +5 -1
  73. package/lib/form-field/form-field-base.d.ts +11 -3
  74. package/lib/form-field/form-field-child.token.d.ts +5 -5
  75. package/lib/form-field/form-field-native-inputs.d.ts +6 -11
  76. package/lib/form-field/form-field.component.d.ts +1 -1
  77. package/lib/form-field/form-field.defaults.d.ts +1 -0
  78. package/lib/form-field/form-field.module.d.ts +6 -4
  79. package/lib/form-field/hint/hint.directive.d.ts +3 -2
  80. package/lib/form-field/hint-error/hint-error.component.d.ts +6 -0
  81. package/lib/form-field/hint-error/hint-error.directive.d.ts +9 -0
  82. package/lib/form-field/horizontal-form-field.component.d.ts +1 -1
  83. package/lib/form-field/index.d.ts +6 -0
  84. package/lib/form-field/label/label.component.d.ts +3 -2
  85. package/lib/form-field-frame/form-field-frame.component.d.ts +5 -3
  86. package/lib/grid/grid.component.d.ts +59 -0
  87. package/lib/grid/grid.defaults.d.ts +16 -0
  88. package/lib/grid/grid.module.d.ts +7 -0
  89. package/lib/grid/grid.types.d.ts +38 -0
  90. package/lib/grid/grid.utils.d.ts +11 -0
  91. package/lib/grid/index.d.ts +4 -0
  92. package/lib/icon/icon.component.d.ts +2 -1
  93. package/lib/inputs/_simple-input-base.d.ts +10 -4
  94. package/lib/inputs/autocomplete-input/autocomplete-input.component.d.ts +5 -4
  95. package/lib/inputs/date-input/abstract-date-input.d.ts +111 -0
  96. package/lib/inputs/date-input/date-input.component.d.ts +21 -81
  97. package/lib/inputs/date-input/date-input.defaults.d.ts +24 -3
  98. package/lib/inputs/date-input/{date-input.directive.d.ts → date-input.directives.d.ts} +2 -2
  99. package/lib/inputs/date-input/date-input.module.d.ts +5 -4
  100. package/lib/inputs/date-input/date-input.serializers.d.ts +4 -2
  101. package/lib/inputs/date-input/date-input.types.d.ts +5 -4
  102. package/lib/inputs/date-input/date-range-input.component.d.ts +32 -0
  103. package/lib/inputs/date-input/date-range-input.directives.d.ts +82 -0
  104. package/lib/inputs/date-input/date-range-input.module.d.ts +17 -0
  105. package/lib/inputs/date-input/index.d.ts +7 -1
  106. package/lib/inputs/date-input/multipage-date-range-input.component.d.ts +46 -0
  107. package/lib/inputs/date-input/multipage-date-range-input.directives.d.ts +82 -0
  108. package/lib/inputs/date-input/multipage-date-range-input.module.d.ts +17 -0
  109. package/lib/inputs/digit-input/digit-input.component.d.ts +4 -3
  110. package/lib/inputs/hex-input/hex-input.component.d.ts +6 -5
  111. package/lib/inputs/input-types.d.ts +9 -0
  112. package/lib/inputs/input-utils.d.ts +13 -2
  113. package/lib/inputs/number-input/number-input.component.d.ts +20 -13
  114. package/lib/inputs/number-input/number-input.defaults.d.ts +6 -0
  115. package/lib/inputs/number-input/number-input.directives.d.ts +12 -0
  116. package/lib/inputs/number-input/number-input.module.d.ts +1 -1
  117. package/lib/inputs/number-input/number-input.types.d.ts +6 -0
  118. package/lib/inputs/password-input/password-input.component.d.ts +8 -7
  119. package/lib/kbd/kbd.component.d.ts +2 -1
  120. package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +2 -1
  121. package/lib/modal/modal.component.d.ts +9 -6
  122. package/lib/modal/modal.defaults.d.ts +2 -0
  123. package/lib/option/option.component.d.ts +2 -1
  124. package/lib/progress-bar/progress-bar.component.d.ts +4 -3
  125. package/lib/progress-circle/progress-circle.component.d.ts +5 -4
  126. package/lib/radio/radio/radio.component.d.ts +8 -3
  127. package/lib/radio/radio-group.component.d.ts +3 -2
  128. package/lib/search-functions.d.ts +1 -1
  129. package/lib/segment/segment.component.d.ts +6 -5
  130. package/lib/select/select.component.d.ts +52 -39
  131. package/lib/select/select.defaults.d.ts +10 -2
  132. package/lib/select/select.directive.d.ts +6 -0
  133. package/lib/select/select.module.d.ts +1 -1
  134. package/lib/select/select.types.d.ts +6 -2
  135. package/lib/select/select.utils.d.ts +2 -0
  136. package/lib/slide-toggle/slide-toggle.component.d.ts +2 -0
  137. package/lib/slider/abstract-slider.d.ts +37 -29
  138. package/lib/slider/index.d.ts +1 -0
  139. package/lib/slider/range-slider/range-slider.component.d.ts +13 -10
  140. package/lib/slider/range-slider/range-slider.types.d.ts +6 -0
  141. package/lib/slider/slider.component.d.ts +5 -4
  142. package/lib/slider/slider.types.d.ts +3 -3
  143. package/lib/snackbar/snackbar-ref.d.ts +37 -4
  144. package/lib/snackbar/snackbar.service.d.ts +27 -0
  145. package/lib/snackbar/snackbar.types.d.ts +36 -0
  146. package/lib/stack/index.d.ts +3 -0
  147. package/lib/stack/stack.component.d.ts +25 -0
  148. package/lib/stack/stack.defaults.d.ts +14 -0
  149. package/lib/stack/stack.module.d.ts +7 -0
  150. package/lib/star/rating-display/rating-display.component.d.ts +2 -1
  151. package/lib/star/rating-input/rating-input.component.d.ts +5 -3
  152. package/lib/star/rating-input/rating-input.defaults.d.ts +2 -2
  153. package/lib/star/star-button/star-button.component.d.ts +4 -1
  154. package/lib/star/star-button/star-button.types.d.ts +1 -0
  155. package/lib/tabber/index.d.ts +2 -1
  156. package/lib/tabber/tab/tab.component.d.ts +16 -8
  157. package/lib/tabber/tabber.component.d.ts +25 -9
  158. package/lib/tabber/tabber.defaults.d.ts +2 -0
  159. package/lib/tabber/tabber.directives.d.ts +9 -0
  160. package/lib/tabber/tabber.module.d.ts +3 -2
  161. package/lib/tabber/tabber.types.d.ts +5 -0
  162. package/lib/table/table.component.d.ts +16 -15
  163. package/lib/table-pagination/table-pagination.component.d.ts +4 -3
  164. package/lib/text-list/text-list.component.d.ts +2 -1
  165. package/lib/types/alignment.types.d.ts +7 -1
  166. package/lib/types/item-storage.types.d.ts +29 -18
  167. package/lib/types/theming.types.d.ts +1 -0
  168. package/package.json +3 -2
  169. package/prebuilt-themes/default/badge.css +234 -205
  170. package/prebuilt-themes/default/badge.css.map +1 -1
  171. package/prebuilt-themes/default/buttons/button-group.css +19 -0
  172. package/prebuilt-themes/default/buttons/button-group.css.map +1 -0
  173. package/prebuilt-themes/default/buttons/button.css +332 -301
  174. package/prebuilt-themes/default/buttons/button.css.map +1 -1
  175. package/prebuilt-themes/default/buttons/fab.css +316 -299
  176. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  177. package/prebuilt-themes/default/buttons/icon-button.css +301 -287
  178. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  179. package/prebuilt-themes/default/calendar.css +390 -308
  180. package/prebuilt-themes/default/calendar.css.map +1 -1
  181. package/prebuilt-themes/default/card.css +151 -127
  182. package/prebuilt-themes/default/card.css.map +1 -1
  183. package/prebuilt-themes/default/checkbox-list.css +98 -62
  184. package/prebuilt-themes/default/checkbox-list.css.map +1 -1
  185. package/prebuilt-themes/default/checkbox.css +355 -362
  186. package/prebuilt-themes/default/checkbox.css.map +1 -1
  187. package/prebuilt-themes/default/chips.css +418 -359
  188. package/prebuilt-themes/default/chips.css.map +1 -1
  189. package/prebuilt-themes/default/color-display.css +34 -26
  190. package/prebuilt-themes/default/color-display.css.map +1 -1
  191. package/prebuilt-themes/default/color-picker.css +105 -103
  192. package/prebuilt-themes/default/color-picker.css.map +1 -1
  193. package/prebuilt-themes/default/core.css +109 -86
  194. package/prebuilt-themes/default/core.css.map +1 -1
  195. package/prebuilt-themes/default/dialog.css +19 -15
  196. package/prebuilt-themes/default/dialog.css.map +1 -1
  197. package/prebuilt-themes/default/divider.css +84 -8
  198. package/prebuilt-themes/default/divider.css.map +1 -1
  199. package/prebuilt-themes/default/dropdown-panel.css +42 -34
  200. package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
  201. package/prebuilt-themes/default/file-drop-area.css +329 -276
  202. package/prebuilt-themes/default/file-drop-area.css.map +1 -1
  203. package/prebuilt-themes/default/form-field-frame.css +102 -98
  204. package/prebuilt-themes/default/form-field-frame.css.map +1 -1
  205. package/prebuilt-themes/default/form-field.css +148 -106
  206. package/prebuilt-themes/default/form-field.css.map +1 -1
  207. package/prebuilt-themes/default/inputs/autocomplete-input.css +192 -132
  208. package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
  209. package/prebuilt-themes/default/inputs/color-input.css +102 -137
  210. package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
  211. package/prebuilt-themes/default/inputs/date-input.css +142 -63
  212. package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
  213. package/prebuilt-themes/default/inputs/digit-input.css +126 -110
  214. package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
  215. package/prebuilt-themes/default/inputs/file-input.css +394 -325
  216. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  217. package/prebuilt-themes/default/inputs/hex-input.css +159 -117
  218. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
  219. package/prebuilt-themes/default/inputs/input.css +146 -107
  220. package/prebuilt-themes/default/inputs/input.css.map +1 -1
  221. package/prebuilt-themes/default/inputs/number-input.css +224 -164
  222. package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
  223. package/prebuilt-themes/default/inputs/password-input.css +126 -71
  224. package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
  225. package/prebuilt-themes/default/kbd-shortcut.css +14 -9
  226. package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
  227. package/prebuilt-themes/default/kbd.css +26 -15
  228. package/prebuilt-themes/default/kbd.css.map +1 -1
  229. package/prebuilt-themes/default/modal.css +96 -71
  230. package/prebuilt-themes/default/modal.css.map +1 -1
  231. package/prebuilt-themes/default/progress-bar.css +250 -228
  232. package/prebuilt-themes/default/progress-bar.css.map +1 -1
  233. package/prebuilt-themes/default/progress-circle.css +178 -164
  234. package/prebuilt-themes/default/progress-circle.css.map +1 -1
  235. package/prebuilt-themes/default/radio.css +258 -223
  236. package/prebuilt-themes/default/radio.css.map +1 -1
  237. package/prebuilt-themes/default/segment.css +438 -414
  238. package/prebuilt-themes/default/segment.css.map +1 -1
  239. package/prebuilt-themes/default/select.css +311 -270
  240. package/prebuilt-themes/default/select.css.map +1 -1
  241. package/prebuilt-themes/default/slide-toggle.css +319 -261
  242. package/prebuilt-themes/default/slide-toggle.css.map +1 -1
  243. package/prebuilt-themes/default/slider.css +425 -351
  244. package/prebuilt-themes/default/slider.css.map +1 -1
  245. package/prebuilt-themes/default/snackbar.css +189 -169
  246. package/prebuilt-themes/default/snackbar.css.map +1 -1
  247. package/prebuilt-themes/default/spinner.css +161 -148
  248. package/prebuilt-themes/default/spinner.css.map +1 -1
  249. package/prebuilt-themes/default/stars.css +281 -246
  250. package/prebuilt-themes/default/stars.css.map +1 -1
  251. package/prebuilt-themes/default/tabber.css +250 -207
  252. package/prebuilt-themes/default/tabber.css.map +1 -1
  253. package/prebuilt-themes/default/table-pagination.css +57 -45
  254. package/prebuilt-themes/default/table-pagination.css.map +1 -1
  255. package/prebuilt-themes/default/table.css +464 -432
  256. package/prebuilt-themes/default/table.css.map +1 -1
  257. package/public-api.d.ts +4 -1
  258. package/themes/_variables.scss +3 -0
  259. package/themes/default/_clear-button.scss +5 -0
  260. package/themes/default/_coloring.scss +7 -0
  261. package/themes/default/_mixins.scss +10 -8
  262. package/themes/default/badge.scss +115 -80
  263. package/themes/default/buttons/_button-mixins.scss +44 -33
  264. package/themes/default/buttons/button-group.scss +19 -0
  265. package/themes/default/buttons/button.scss +97 -63
  266. package/themes/default/buttons/fab.scss +76 -49
  267. package/themes/default/buttons/icon-button.scss +72 -45
  268. package/themes/default/calendar.scss +257 -163
  269. package/themes/default/card.scss +167 -121
  270. package/themes/default/checkbox-list.scss +101 -59
  271. package/themes/default/checkbox.scss +70 -88
  272. package/themes/default/chips.scss +216 -147
  273. package/themes/default/color-display.scss +40 -28
  274. package/themes/default/color-picker.scss +95 -93
  275. package/themes/default/core.scss +125 -98
  276. package/themes/default/dialog.scss +22 -13
  277. package/themes/default/divider.scss +109 -7
  278. package/themes/default/dropdown-panel.scss +49 -34
  279. package/themes/default/file-drop-area.scss +197 -138
  280. package/themes/default/form-field-frame.scss +73 -63
  281. package/themes/default/form-field.scss +136 -91
  282. package/themes/default/inputs/_shared.scss +61 -12
  283. package/themes/default/inputs/autocomplete-input.scss +104 -31
  284. package/themes/default/inputs/color-input.scss +34 -32
  285. package/themes/default/inputs/date-input.scss +90 -20
  286. package/themes/default/inputs/digit-input.scss +111 -77
  287. package/themes/default/inputs/file-input.scss +162 -81
  288. package/themes/default/inputs/hex-input.scss +70 -16
  289. package/themes/default/inputs/input.scss +57 -6
  290. package/themes/default/inputs/number-input.scss +176 -93
  291. package/themes/default/inputs/password-input.scss +102 -29
  292. package/themes/default/kbd-shortcut.scss +16 -8
  293. package/themes/default/kbd.scss +35 -16
  294. package/themes/default/modal.scss +109 -73
  295. package/themes/default/progress-bar.scss +126 -102
  296. package/themes/default/progress-circle.scss +49 -41
  297. package/themes/default/radio.scss +129 -87
  298. package/themes/default/segment.scss +283 -255
  299. package/themes/default/select.scss +265 -197
  300. package/themes/default/slide-toggle.scss +193 -116
  301. package/themes/default/slider.scss +250 -187
  302. package/themes/default/snackbar.scss +52 -32
  303. package/themes/default/spinner.scss +24 -14
  304. package/themes/default/stars.scss +115 -67
  305. package/themes/default/tabber.scss +109 -67
  306. package/themes/default/table-pagination.scss +60 -44
  307. package/themes/default/table.scss +379 -343
  308. package/lib/statebox/index.d.ts +0 -4
  309. package/lib/statebox/statebox.component.d.ts +0 -26
  310. package/lib/statebox/statebox.defaults.d.ts +0 -10
  311. package/lib/statebox/statebox.module.d.ts +0 -8
  312. package/lib/statebox/statebox.types.d.ts +0 -26
  313. package/lib/tabber/tab/tab.defaults.d.ts +0 -6
  314. package/prebuilt-themes/default/calendar-OLD.css +0 -294
  315. package/prebuilt-themes/default/calendar-OLD.css.map +0 -1
  316. package/prebuilt-themes/default/inputs/search-bar.css +0 -118
  317. package/prebuilt-themes/default/inputs/search-bar.css.map +0 -1
  318. package/prebuilt-themes/default/statebox.css +0 -235
  319. package/prebuilt-themes/default/statebox.css.map +0 -1
  320. package/themes/default/calendar-OLD.scss +0 -183
  321. package/themes/default/inputs/search-bar.scss +0 -19
  322. package/themes/default/statebox.scss +0 -109
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/file-input.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACKE;EACE;;;AAGJ;EDLE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ECDA;EACA;EACA;EACA;EACA;EACA;;AChBA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AFrHF;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AC1BF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EErCF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EF8BI,YGlDI;EHmDJ;;AAGA;EACE;;AAIF;EACE;;AAIF;EACE;;AAIF;EACE;;AIpEN;EACE,QDkCgB;ECjChB,ODiCgB;EChChB;;AAGF;EACE;EACA;EACA,ODGK;ECFL,ODyBgB;ECxBhB,QDwBgB;ECvBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EFvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EEgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EF7CN;EACA;EACA,yBACE;EE4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE;;AJWN;EACE;;AAEF;AAAA;AAAA;AAAA;AAAA;EAKE;EACA;EACA;;AAEF;EACE;EACA;EACA;;;AAGJ;EACE;;;AAIE;AAAA;EAEE,OG1BM","file":"file-input.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/file-input.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACIA;EAGE;IAGE;IAGA;IACA;IACA;IAWA;IAGA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAGA;IAEA;IACA;IACA;IACA;IACA;IACA;;EAIA;IACE;;EAGJ;IDlCA,QCoCI;IDnCJ;IACA;IACA;IACA;IACA;IACA,KCgCI;ID/BJ;IACA;IACA,WC8BI;ID7BJ,aC+BI;ID9BJ,aCgCI;ID/BJ,cCmCI;IDlCJ,eCgCI;ID/BJ,aC8BI;ID7BJ,gBC+BI;ID9BJ,OCoCI;IAMF;IACA;IACA;IACA;IACA;;ED5CF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,SCoBA;IDnBA,OCkBA;IDjBA;IACA;IACA;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;;EAIJ;IACE,QClBE;IDmBF,WChBE;IDiBF,aCfE;IDgBF,cCPE;IDQF,eCVE;IDWF,aCZE;IDaF,gBCXE;;EDcJ;IACE,QCVE;;EDYF;IACE,QCbA;;EC/EJ;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EDlDA;IACE;IACA;;EAGF;IACE;;EAIF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IE/GJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IFwGM;IACA;;EAGA;IACE;;EAIF;IACE;;EAIF;IACE;;EAIF;IACE;;EG9IR;IACE,QCmCgB;IDlChB,OCkCgB;IDjChB;;EAGF;IACE;IACA;IACA,OCGK;IDFL,OC0BgB;IDzBhB,QCyBgB;IDxBhB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;;EAGF;IDvBF;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;ICgBI;;EAGF;IACE;IACA;IACA;IACA;;EAEA;IACE;ID7CN;IACA;IACA,yBACE;IC4CI;;EAKF;IACE;;EAKF;IACE;;EAKF;IACE;;EAKJ;IACE;;EH+EF;IACE;;EAEF;AAAA;AAAA;AAAA;AAAA;IAKE;IACA;IACA;;EAEF;IACE;IACA;;EAEA;IACE;;EAEF;IACE;;EAIN;IACE;;EAIE;AAAA;IAEE","file":"file-input.css"}
@@ -1,123 +1,165 @@
1
1
  /**
2
2
  * Should be applied to the first element in the component's template.
3
3
  */
4
- .ard-hex-input {
5
- position: relative;
6
- font-family: "Roboto", sans-serif;
7
- display: flex;
8
- align-items: center;
9
- justify-content: stretch;
10
- gap: 0.625em;
11
- cursor: text;
12
- box-sizing: border-box;
13
- font-size: 1rem;
14
- line-height: 1.25em;
15
- padding: 0 0.375rem;
16
- min-width: 10rem;
17
- max-width: 100%;
18
- }
19
- .ard-hex-input .ard-input-container {
20
- flex-grow: 1;
21
- text-size-adjust: 100%;
22
- display: flex;
23
- align-items: center;
24
- }
25
- .ard-hex-input .ard-input-container .ard-placeholder {
26
- font: inherit;
27
- opacity: 60%;
28
- white-space: nowrap;
29
- overflow: hidden;
30
- text-overflow: ellipsis;
31
- max-width: 100%;
32
- pointer-events: none;
33
- }
34
- .ard-hex-input .ard-input-container input {
35
- border: none;
36
- background: transparent;
37
- outline: none;
38
- font: inherit;
39
- padding: 0;
40
- display: block;
41
- width: 100%;
42
- }
43
- .ard-hex-input.ard-compact {
44
- height: 1.5625em;
45
- font-size: 0.85em;
46
- line-height: 1;
47
- }
48
- .ard-hex-input ard-clear-button {
49
- height: var(--ard-clear-button-size);
50
- width: var(--ard-clear-button-size);
51
- position: relative;
52
- }
53
- .ard-hex-input .ard-clear-btn-wrapper {
54
- cursor: pointer;
55
- font-size: medium;
56
- color: var(--ard-detail);
57
- width: var(--ard-clear-button-size);
58
- height: var(--ard-clear-button-size);
59
- line-height: 1em;
60
- border-radius: 999px;
61
- border: none;
62
- padding: 0;
63
- background: transparent;
64
- position: absolute;
65
- left: 50%;
66
- top: 50%;
67
- transform: translate(-50%, -50%);
68
- outline: none;
69
- color: inherit;
70
- }
71
- .ard-hex-input .ard-clear-btn-wrapper .ard-hitbox {
72
- position: absolute;
73
- left: -1px;
74
- right: -1px;
75
- top: -1px;
76
- bottom: -1px;
77
- }
78
- .ard-hex-input .ard-clear-btn-wrapper .ard-focus-overlay {
79
- position: absolute;
80
- top: -1px;
81
- bottom: -1px;
82
- left: -1px;
83
- right: -1px;
84
- opacity: 0;
85
- border-radius: inherit;
86
- pointer-events: none;
87
- transition: opacity 0.2s ease;
88
- background: currentColor;
89
- }
90
- .ard-hex-input .ard-clear-btn-wrapper .ard-clear-btn {
91
- position: absolute;
92
- left: 50%;
93
- top: 50%;
94
- transform: translate(-50%, -50%);
95
- }
96
- .ard-hex-input .ard-clear-btn-wrapper .ard-clear-btn::before {
97
- content: "close";
98
- font-family: "Material Symbols Outlined";
99
- font-size: 1.5em;
100
- font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
101
- font-size: 70%;
102
- }
103
- .ard-hex-input .ard-clear-btn-wrapper:hover .ard-focus-overlay {
104
- opacity: 5%;
105
- }
106
- .ard-hex-input .ard-clear-btn-wrapper:focus .ard-focus-overlay {
107
- opacity: 8%;
108
- }
109
- .ard-hex-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
110
- opacity: 15%;
111
- }
112
- .ard-hex-input .ard-input-container input {
113
- font-family: monospace;
114
- }
115
- .ard-hex-input .ard-hash-container {
116
- margin-right: -0.5rem;
117
- color: var(--ard-text3);
118
- opacity: 70%;
119
- user-select: none;
120
- font-family: monospace;
4
+ @layer ard-ui {
5
+ :root {
6
+ --ard-hex-input-gap: 0.625rem;
7
+ --ard-hex-input-line-height: 1.25;
8
+ --ard-hex-input-line-height-compact: 1;
9
+ --ard-hex-input-font-weight: 400;
10
+ --ard-hex-input-placeholder-opacity: 60%;
11
+ --ard-hex-input-min-width: 10rem;
12
+ --ard-hex-input-max-width: 100%;
13
+ --ard-hex-input-hash-opacity: 70%;
14
+ }
15
+ .ard-hex-input {
16
+ height: var(--ard-hex-input-height, var(--ard-form-field-height, 2.3125rem));
17
+ position: relative;
18
+ font-family: var(--ard-font-family);
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: stretch;
22
+ gap: var(--ard-hex-input-gap, 0.625rem);
23
+ cursor: text;
24
+ box-sizing: border-box;
25
+ font-size: var(--ard-hex-input-font-size, var(--ard-form-field-font-size, 1rem));
26
+ line-height: var(--ard-hex-input-line-height, 1.25);
27
+ font-weight: var(--ard-hex-input-font-weight, 400);
28
+ padding-left: var(--ard-hex-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
29
+ padding-right: var(--ard-hex-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
30
+ padding-top: var(--ard-hex-input-padding-top, var(--ard-form-field-padding-top, 0));
31
+ padding-bottom: var(--ard-hex-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
32
+ color: var(--ard-hex-input-color, var(--ard-text));
33
+ min-width: var(--ard-hex-input-min-width, 10rem);
34
+ max-width: var(--ard-hex-input-max-width, 100%);
35
+ }
36
+ .ard-hex-input .ard-input-container {
37
+ flex-grow: 1;
38
+ text-size-adjust: 100%;
39
+ display: flex;
40
+ align-items: center;
41
+ height: 100%;
42
+ position: relative;
43
+ }
44
+ .ard-hex-input .ard-input-container > * {
45
+ position: absolute;
46
+ inset: 0;
47
+ max-width: 100%;
48
+ padding: 0;
49
+ }
50
+ .ard-hex-input .ard-input-container .ard-placeholder {
51
+ font: inherit;
52
+ opacity: var(--ard-hex-input-placeholder-opacity, 60%);
53
+ color: var(--ard-hex-input-placeholder-color, var(--ard-text));
54
+ white-space: nowrap;
55
+ overflow: hidden;
56
+ text-overflow: ellipsis;
57
+ pointer-events: none;
58
+ display: flex;
59
+ align-items: center;
60
+ }
61
+ .ard-hex-input .ard-input-container input {
62
+ border: none;
63
+ background: transparent;
64
+ outline: none;
65
+ font: inherit;
66
+ color: inherit;
67
+ display: block;
68
+ }
69
+ .ard-hex-input.ard-compact {
70
+ height: var(--ard-hex-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
71
+ font-size: var(--ard-hex-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
72
+ line-height: var(--ard-hex-input-line-height-compact, 1);
73
+ padding-left: var(--ard-hex-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
74
+ padding-right: var(--ard-hex-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
75
+ padding-top: var(--ard-hex-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
76
+ padding-bottom: var(--ard-hex-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
77
+ }
78
+ .ard-readonly .ard-hex-input {
79
+ cursor: var(--ard-hex-input-readonly-cursor, var(--ard-readonly-cursor, default));
80
+ }
81
+ .ard-readonly .ard-hex-input * {
82
+ cursor: var(--ard-hex-input-readonly-cursor, var(--ard-readonly-cursor, default));
83
+ }
84
+ .ard-hex-input ard-clear-button {
85
+ height: var(--ard-clear-button-size);
86
+ width: var(--ard-clear-button-size);
87
+ position: relative;
88
+ }
89
+ .ard-hex-input .ard-clear-btn-wrapper {
90
+ cursor: pointer;
91
+ font-size: medium;
92
+ color: var(--ard-detail);
93
+ width: var(--ard-clear-button-size);
94
+ height: var(--ard-clear-button-size);
95
+ line-height: 1em;
96
+ border-radius: 999px;
97
+ border: none;
98
+ padding: 0;
99
+ background: transparent;
100
+ position: absolute;
101
+ left: 50%;
102
+ top: 50%;
103
+ transform: translate(-50%, -50%);
104
+ outline: none;
105
+ color: inherit;
106
+ }
107
+ .ard-hex-input .ard-clear-btn-wrapper .ard-hitbox {
108
+ position: absolute;
109
+ left: -1px;
110
+ right: -1px;
111
+ top: -1px;
112
+ bottom: -1px;
113
+ }
114
+ .ard-hex-input .ard-clear-btn-wrapper .ard-focus-overlay {
115
+ position: absolute;
116
+ top: calc(-1 * 1px);
117
+ bottom: calc(-1 * 1px);
118
+ left: calc(-1 * 1px);
119
+ right: calc(-1 * 1px);
120
+ opacity: 0;
121
+ border-radius: inherit;
122
+ pointer-events: none;
123
+ transition: opacity 0.2s ease;
124
+ background: currentColor;
125
+ }
126
+ .ard-hex-input .ard-clear-btn-wrapper .ard-clear-btn {
127
+ position: absolute;
128
+ left: 50%;
129
+ top: 50%;
130
+ transform: translate(-50%, -50%);
131
+ }
132
+ .ard-hex-input .ard-clear-btn-wrapper .ard-clear-btn::before {
133
+ content: "close";
134
+ font-family: "Material Symbols Outlined";
135
+ font-size: 1.5em;
136
+ font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
137
+ font-size: 70%;
138
+ }
139
+ .ard-hex-input .ard-clear-btn-wrapper:hover .ard-focus-overlay {
140
+ opacity: 5%;
141
+ }
142
+ .ard-hex-input .ard-clear-btn-wrapper:focus .ard-focus-overlay {
143
+ opacity: 8%;
144
+ }
145
+ .ard-hex-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
146
+ opacity: 15%;
147
+ }
148
+ .ard-hex-input .ard-disabled .ard-clear-btn-wrapper, .ard-hex-input .ard-readonly .ard-clear-btn-wrapper {
149
+ pointer-events: none;
150
+ }
151
+ .ard-hex-input .ard-input-container input {
152
+ font-family: var(--ard-font-family-mono);
153
+ }
154
+ .ard-hex-input .ard-hash-container {
155
+ color: var(--ard-hex-input-hash-color, var(--ard-text));
156
+ opacity: var(--ard-hex-input-hash-opacity, 70%);
157
+ user-select: none;
158
+ font-family: var(--ard-font-family-mono);
159
+ display: flex;
160
+ align-items: center;
161
+ height: 100%;
162
+ }
121
163
  }
122
164
 
123
165
  /*# sourceMappingURL=hex-input.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/hex-input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACGA;EDCE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ECRA;EACA;EACA;;ADQA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AE3CF;EACE,QCkCgB;EDjChB,OCiCgB;EDhChB;;AAGF;EACE;EACA;EACA,OCGK;EDFL,OCyBgB;EDxBhB,QCwBgB;EDvBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EEvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EE7CN;EACA;EACA,yBACE;EF4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE;;ADtDJ;EACE;;AAIJ;EACE;EACA,OEZI;EFaJ;EACA;EACA","file":"hex-input.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/hex-input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACGA;EAGE;IAGE;IAGA;IACA;IACA;IAWA;IAGA;IACA;IAEA;;EAGF;IDTA,QCWI;IDVJ;IACA;IACA;IACA;IACA;IACA,KCOI;IDNJ;IACA;IACA,WCKI;IDJJ,aCMI;IDLJ,aCOI;IDNJ,cCUI;IDTJ,eCOI;IDNJ,aCKI;IDJJ,gBCMI;IDLJ,OCWI;IAKF;IACA;;EDfF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,SCLA;IDMA,OCPA;IDQA;IACA;IACA;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;;EAIJ;IACE,QC3CE;ID4CF,WCzCE;ID0CF,aCxCE;IDyCF,cChCE;IDiCF,eCnCE;IDoCF,aCrCE;IDsCF,gBCpCE;;EDuCJ;IACE,QCnCE;;EDqCF;IACE,QCtCA;;ECrDJ;IACE,QCmCgB;IDlChB,OCkCgB;IDjChB;;EAGF;IACE;IACA;IACA,OCGK;IDFL,OC0BgB;IDzBhB,QCyBgB;IDxBhB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;;EAGF;IEvBF;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IFgBI;;EAGF;IACE;IACA;IACA;IACA;;EAEA;IACE;IE7CN;IACA;IACA,yBACE;IF4CI;;EAKF;IACE;;EAKF;IACE;;EAKF;IACE;;EAKJ;IACE;;EDTA;IACE;;EAIJ;IACE;IACA;IACA;IACA;IACA;IACA;IACA","file":"hex-input.css"}
@@ -1,113 +1,152 @@
1
1
  /**
2
2
  * Should be applied to the first element in the component's template.
3
3
  */
4
- .ard-input {
5
- position: relative;
6
- font-family: "Roboto", sans-serif;
7
- display: flex;
8
- align-items: center;
9
- justify-content: stretch;
10
- gap: 0.625em;
11
- cursor: text;
12
- box-sizing: border-box;
13
- font-size: 1rem;
14
- line-height: 1.25em;
15
- padding: 0 0.375rem;
16
- min-width: 10rem;
17
- max-width: 100%;
18
- }
19
- .ard-input .ard-input-container {
20
- flex-grow: 1;
21
- text-size-adjust: 100%;
22
- display: flex;
23
- align-items: center;
24
- }
25
- .ard-input .ard-input-container .ard-placeholder {
26
- font: inherit;
27
- opacity: 60%;
28
- white-space: nowrap;
29
- overflow: hidden;
30
- text-overflow: ellipsis;
31
- max-width: 100%;
32
- pointer-events: none;
33
- }
34
- .ard-input .ard-input-container input {
35
- border: none;
36
- background: transparent;
37
- outline: none;
38
- font: inherit;
39
- padding: 0;
40
- display: block;
41
- width: 100%;
42
- }
43
- .ard-input.ard-compact {
44
- height: 1.5625em;
45
- font-size: 0.85em;
46
- line-height: 1;
47
- }
48
- .ard-input ard-clear-button {
49
- height: var(--ard-clear-button-size);
50
- width: var(--ard-clear-button-size);
51
- position: relative;
52
- }
53
- .ard-input .ard-clear-btn-wrapper {
54
- cursor: pointer;
55
- font-size: medium;
56
- color: var(--ard-detail);
57
- width: var(--ard-clear-button-size);
58
- height: var(--ard-clear-button-size);
59
- line-height: 1em;
60
- border-radius: 999px;
61
- border: none;
62
- padding: 0;
63
- background: transparent;
64
- position: absolute;
65
- left: 50%;
66
- top: 50%;
67
- transform: translate(-50%, -50%);
68
- outline: none;
69
- color: inherit;
70
- }
71
- .ard-input .ard-clear-btn-wrapper .ard-hitbox {
72
- position: absolute;
73
- left: -1px;
74
- right: -1px;
75
- top: -1px;
76
- bottom: -1px;
77
- }
78
- .ard-input .ard-clear-btn-wrapper .ard-focus-overlay {
79
- position: absolute;
80
- top: -1px;
81
- bottom: -1px;
82
- left: -1px;
83
- right: -1px;
84
- opacity: 0;
85
- border-radius: inherit;
86
- pointer-events: none;
87
- transition: opacity 0.2s ease;
88
- background: currentColor;
89
- }
90
- .ard-input .ard-clear-btn-wrapper .ard-clear-btn {
91
- position: absolute;
92
- left: 50%;
93
- top: 50%;
94
- transform: translate(-50%, -50%);
95
- }
96
- .ard-input .ard-clear-btn-wrapper .ard-clear-btn::before {
97
- content: "close";
98
- font-family: "Material Symbols Outlined";
99
- font-size: 1.5em;
100
- font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
101
- font-size: 70%;
102
- }
103
- .ard-input .ard-clear-btn-wrapper:hover .ard-focus-overlay {
104
- opacity: 5%;
105
- }
106
- .ard-input .ard-clear-btn-wrapper:focus .ard-focus-overlay {
107
- opacity: 8%;
108
- }
109
- .ard-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
110
- opacity: 15%;
4
+ @layer ard-ui {
5
+ :root {
6
+ --ard-input-gap: 0.625rem;
7
+ --ard-input-line-height: 1.25;
8
+ --ard-input-line-height-compact: 1;
9
+ --ard-input-font-weight: 400;
10
+ --ard-input-placeholder-opacity: 60%;
11
+ --ard-input-min-width: 10rem;
12
+ --ard-input-max-width: 100%;
13
+ }
14
+ .ard-input {
15
+ height: var(--ard-input-height, var(--ard-form-field-height, 2.3125rem));
16
+ position: relative;
17
+ font-family: var(--ard-font-family);
18
+ display: flex;
19
+ align-items: center;
20
+ justify-content: stretch;
21
+ gap: var(--ard-input-gap, 0.625rem);
22
+ cursor: text;
23
+ box-sizing: border-box;
24
+ font-size: var(--ard-input-font-size, var(--ard-form-field-font-size, 1rem));
25
+ line-height: var(--ard-input-line-height, 1.25);
26
+ font-weight: var(--ard-input-font-weight, 400);
27
+ padding-left: var(--ard-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
28
+ padding-right: var(--ard-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
29
+ padding-top: var(--ard-input-padding-top, var(--ard-form-field-padding-top, 0));
30
+ padding-bottom: var(--ard-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
31
+ color: var(--ard-input-color, var(--ard-text));
32
+ min-width: var(--ard-input-min-width, 10rem);
33
+ max-width: var(--ard-input-max-width, 100%);
34
+ }
35
+ .ard-input .ard-input-container {
36
+ flex-grow: 1;
37
+ text-size-adjust: 100%;
38
+ display: flex;
39
+ align-items: center;
40
+ height: 100%;
41
+ position: relative;
42
+ }
43
+ .ard-input .ard-input-container > * {
44
+ position: absolute;
45
+ inset: 0;
46
+ max-width: 100%;
47
+ padding: 0;
48
+ }
49
+ .ard-input .ard-input-container .ard-placeholder {
50
+ font: inherit;
51
+ opacity: var(--ard-input-placeholder-opacity, 60%);
52
+ color: var(--ard-input-placeholder-color, var(--ard-text));
53
+ white-space: nowrap;
54
+ overflow: hidden;
55
+ text-overflow: ellipsis;
56
+ pointer-events: none;
57
+ display: flex;
58
+ align-items: center;
59
+ }
60
+ .ard-input .ard-input-container input {
61
+ border: none;
62
+ background: transparent;
63
+ outline: none;
64
+ font: inherit;
65
+ color: inherit;
66
+ display: block;
67
+ }
68
+ .ard-input.ard-compact {
69
+ height: var(--ard-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
70
+ font-size: var(--ard-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
71
+ line-height: var(--ard-input-line-height-compact, 1);
72
+ padding-left: var(--ard-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
73
+ padding-right: var(--ard-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
74
+ padding-top: var(--ard-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
75
+ padding-bottom: var(--ard-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
76
+ }
77
+ .ard-readonly .ard-input {
78
+ cursor: var(--ard-input-readonly-cursor, var(--ard-readonly-cursor, default));
79
+ }
80
+ .ard-readonly .ard-input * {
81
+ cursor: var(--ard-input-readonly-cursor, var(--ard-readonly-cursor, default));
82
+ }
83
+ .ard-input ard-clear-button {
84
+ height: var(--ard-clear-button-size);
85
+ width: var(--ard-clear-button-size);
86
+ position: relative;
87
+ }
88
+ .ard-input .ard-clear-btn-wrapper {
89
+ cursor: pointer;
90
+ font-size: medium;
91
+ color: var(--ard-detail);
92
+ width: var(--ard-clear-button-size);
93
+ height: var(--ard-clear-button-size);
94
+ line-height: 1em;
95
+ border-radius: 999px;
96
+ border: none;
97
+ padding: 0;
98
+ background: transparent;
99
+ position: absolute;
100
+ left: 50%;
101
+ top: 50%;
102
+ transform: translate(-50%, -50%);
103
+ outline: none;
104
+ color: inherit;
105
+ }
106
+ .ard-input .ard-clear-btn-wrapper .ard-hitbox {
107
+ position: absolute;
108
+ left: -1px;
109
+ right: -1px;
110
+ top: -1px;
111
+ bottom: -1px;
112
+ }
113
+ .ard-input .ard-clear-btn-wrapper .ard-focus-overlay {
114
+ position: absolute;
115
+ top: calc(-1 * 1px);
116
+ bottom: calc(-1 * 1px);
117
+ left: calc(-1 * 1px);
118
+ right: calc(-1 * 1px);
119
+ opacity: 0;
120
+ border-radius: inherit;
121
+ pointer-events: none;
122
+ transition: opacity 0.2s ease;
123
+ background: currentColor;
124
+ }
125
+ .ard-input .ard-clear-btn-wrapper .ard-clear-btn {
126
+ position: absolute;
127
+ left: 50%;
128
+ top: 50%;
129
+ transform: translate(-50%, -50%);
130
+ }
131
+ .ard-input .ard-clear-btn-wrapper .ard-clear-btn::before {
132
+ content: "close";
133
+ font-family: "Material Symbols Outlined";
134
+ font-size: 1.5em;
135
+ font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
136
+ font-size: 70%;
137
+ }
138
+ .ard-input .ard-clear-btn-wrapper:hover .ard-focus-overlay {
139
+ opacity: 5%;
140
+ }
141
+ .ard-input .ard-clear-btn-wrapper:focus .ard-focus-overlay {
142
+ opacity: 8%;
143
+ }
144
+ .ard-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
145
+ opacity: 15%;
146
+ }
147
+ .ard-input .ard-disabled .ard-clear-btn-wrapper, .ard-input .ard-readonly .ard-clear-btn-wrapper {
148
+ pointer-events: none;
149
+ }
111
150
  }
112
151
 
113
152
  /*# sourceMappingURL=input.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACEA;EDEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ECTA;EACA;EACA;;ADSA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AE3CF;EACE,QCkCgB;EDjChB,OCiCgB;EDhChB;;AAGF;EACE;EACA;EACA,OCGK;EDFL,OCyBgB;EDxBhB,QCwBgB;EDvBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EEvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EE7CN;EACA;EACA,yBACE;EF4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE","file":"input.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACGA;EAGE;IAGE;IAGA;IACA;IACA;IAWA;IAGA;IACA;;EAGF;IDPA,QCSI;IDRJ;IACA;IACA;IACA;IACA;IACA,KCKI;IDJJ;IACA;IACA,WCGI;IDFJ,aCII;IDHJ,aCKI;IDJJ,cCQI;IDPJ,eCKI;IDJJ,aCGI;IDFJ,gBCII;IDHJ,OCSI;IAKF;IACA;;EDbF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,SCPA;IDQA,OCTA;IDUA;IACA;IACA;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;;EAIJ;IACE,QC7CE;ID8CF,WC3CE;ID4CF,aC1CE;ID2CF,cClCE;IDmCF,eCrCE;IDsCF,aCvCE;IDwCF,gBCtCE;;EDyCJ;IACE,QCrCE;;EDuCF;IACE,QCxCA;;ECnDJ;IACE,QCmCgB;IDlChB,OCkCgB;IDjChB;;EAGF;IACE;IACA;IACA,OCGK;IDFL,OC0BgB;IDzBhB,QCyBgB;IDxBhB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;;EAGF;IEvBF;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IFgBI;;EAGF;IACE;IACA;IACA;IACA;;EAEA;IACE;IE7CN;IACA;IACA,yBACE;IF4CI;;EAKF;IACE;;EAKF;IACE;;EAKF;IACE;;EAKJ;IACE","file":"input.css"}