@ardium-ui/ui 1.0.3 → 2.0.2

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 (445) hide show
  1. package/README.md +25 -25
  2. package/esm2022/lib/_internal/boolean-component.mjs +28 -42
  3. package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +5 -5
  4. package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +5 -5
  5. package/esm2022/lib/_internal/disablable-component.mjs +24 -22
  6. package/esm2022/lib/_internal/focusable-component.mjs +12 -25
  7. package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +172 -169
  8. package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +115 -120
  9. package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +56 -53
  10. package/esm2022/lib/_internal/models/pagination.model.mjs +72 -106
  11. package/esm2022/lib/_internal/ngmodel-component.mjs +5 -5
  12. package/esm2022/lib/_internal/queue.mjs +1 -1
  13. package/esm2022/lib/_internal/selectable-list-component.mjs +74 -98
  14. package/esm2022/lib/badge/badge.directive.mjs +70 -99
  15. package/esm2022/lib/badge/badge.module.mjs +5 -5
  16. package/esm2022/lib/badge/badge.types.mjs +1 -1
  17. package/esm2022/lib/badge/index.mjs +4 -0
  18. package/esm2022/lib/buttons/_button-base.mjs +13 -35
  19. package/esm2022/lib/buttons/button/button.component.mjs +22 -37
  20. package/esm2022/lib/buttons/button/button.module.mjs +5 -5
  21. package/esm2022/lib/buttons/button/index.mjs +3 -0
  22. package/esm2022/lib/buttons/fab/fab.component.mjs +16 -28
  23. package/esm2022/lib/buttons/fab/fab.module.mjs +5 -5
  24. package/esm2022/lib/buttons/fab/index.mjs +3 -0
  25. package/esm2022/lib/buttons/general-button.types.mjs +1 -1
  26. package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +17 -25
  27. package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +5 -5
  28. package/esm2022/lib/buttons/icon-button/index.mjs +3 -0
  29. package/esm2022/lib/card/card.children.mjs +32 -33
  30. package/esm2022/lib/card/card.component.mjs +14 -17
  31. package/esm2022/lib/card/card.module.mjs +5 -5
  32. package/esm2022/lib/card/card.types.mjs +1 -1
  33. package/esm2022/lib/card/index.mjs +5 -0
  34. package/esm2022/lib/checkbox/checkbox.component.mjs +33 -46
  35. package/esm2022/lib/checkbox/checkbox.module.mjs +5 -5
  36. package/esm2022/lib/checkbox/checkbox.types.mjs +1 -1
  37. package/esm2022/lib/checkbox/index.mjs +4 -0
  38. package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +31 -57
  39. package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +5 -5
  40. package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +1 -1
  41. package/esm2022/lib/checkbox-list/index.mjs +4 -0
  42. package/esm2022/lib/chip/chip.component.mjs +22 -42
  43. package/esm2022/lib/chip/chip.module.mjs +5 -5
  44. package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +28 -53
  45. package/esm2022/lib/chip/index.mjs +5 -0
  46. package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +25 -49
  47. package/esm2022/lib/color/color-display/color-display.component.mjs +15 -32
  48. package/esm2022/lib/color/color-display/color-display.module.mjs +5 -5
  49. package/esm2022/lib/color/color-display/color-display.types.mjs +1 -1
  50. package/esm2022/lib/color/color-display/index.mjs +4 -0
  51. package/esm2022/lib/color/color-picker/color-picker.types.mjs +1 -1
  52. package/esm2022/lib/dialog/dialog.component.mjs +54 -130
  53. package/esm2022/lib/dialog/dialog.directives.mjs +4 -4
  54. package/esm2022/lib/dialog/dialog.module.mjs +5 -5
  55. package/esm2022/lib/dialog/dialog.types.mjs +1 -1
  56. package/esm2022/lib/dialog/index.mjs +5 -0
  57. package/esm2022/lib/divider/divider.component.mjs +9 -14
  58. package/esm2022/lib/divider/divider.module.mjs +5 -5
  59. package/esm2022/lib/divider/index.mjs +3 -0
  60. package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +40 -59
  61. package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +5 -5
  62. package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +1 -1
  63. package/esm2022/lib/dropdown-panel/index.mjs +4 -0
  64. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +12 -17
  65. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +10 -10
  66. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +6 -6
  67. package/esm2022/lib/file-inputs/file-drop-area/index.mjs +4 -0
  68. package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +24 -50
  69. package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +19 -19
  70. package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +5 -5
  71. package/esm2022/lib/file-inputs/file-input/index.mjs +4 -0
  72. package/esm2022/lib/file-inputs/file-input-base.mjs +38 -72
  73. package/esm2022/lib/file-inputs/file-input-types.mjs +1 -1
  74. package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +20 -47
  75. package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +7 -7
  76. package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +5 -5
  77. package/esm2022/lib/form-field-frame/index.mjs +4 -0
  78. package/esm2022/lib/icon/icon.component.mjs +32 -67
  79. package/esm2022/lib/icon/icon.module.mjs +5 -5
  80. package/esm2022/lib/icon/icon.pipe.mjs +4 -4
  81. package/esm2022/lib/icon/index.mjs +4 -0
  82. package/esm2022/lib/inputs/color-input/color-input.directives.mjs +25 -25
  83. package/esm2022/lib/inputs/color-input/color-input.types.mjs +1 -1
  84. package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +65 -115
  85. package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +83 -92
  86. package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +5 -5
  87. package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
  88. package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
  89. package/esm2022/lib/inputs/digit-input/index.mjs +4 -0
  90. package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +59 -122
  91. package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +10 -10
  92. package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +24 -8
  93. package/esm2022/lib/inputs/hex-input/index.mjs +4 -0
  94. package/esm2022/lib/inputs/hex-input.model.mjs +24 -33
  95. package/esm2022/lib/inputs/input/index.mjs +4 -0
  96. package/esm2022/lib/inputs/input/input.component.mjs +95 -154
  97. package/esm2022/lib/inputs/input/input.directives.mjs +16 -16
  98. package/esm2022/lib/inputs/input/input.module.mjs +21 -7
  99. package/esm2022/lib/inputs/input-transformers.mjs +6 -6
  100. package/esm2022/lib/inputs/input-types.mjs +1 -1
  101. package/esm2022/lib/inputs/input-utils.mjs +75 -94
  102. package/esm2022/lib/inputs/number-input/index.mjs +4 -0
  103. package/esm2022/lib/inputs/number-input/number-input.component.mjs +106 -170
  104. package/esm2022/lib/inputs/number-input/number-input.directives.mjs +4 -4
  105. package/esm2022/lib/inputs/number-input/number-input.module.mjs +5 -5
  106. package/esm2022/lib/inputs/password-input/index.mjs +5 -0
  107. package/esm2022/lib/inputs/password-input/password-input.component.mjs +74 -144
  108. package/esm2022/lib/inputs/password-input/password-input.directives.mjs +13 -13
  109. package/esm2022/lib/inputs/password-input/password-input.module.mjs +5 -5
  110. package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
  111. package/esm2022/lib/inputs/simple-input/index.mjs +4 -0
  112. package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +57 -110
  113. package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +10 -10
  114. package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +5 -5
  115. package/esm2022/lib/kbd/index.mjs +4 -0
  116. package/esm2022/lib/kbd/kbd.component.mjs +15 -29
  117. package/esm2022/lib/kbd/kbd.module.mjs +5 -5
  118. package/esm2022/lib/kbd/kbd.pipe.mjs +4 -4
  119. package/esm2022/lib/kbd-shortcut/index.mjs +3 -0
  120. package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +23 -40
  121. package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +5 -5
  122. package/esm2022/lib/modal/index.mjs +3 -0
  123. package/esm2022/lib/modal/modal.component.mjs +42 -83
  124. package/esm2022/lib/modal/modal.module.mjs +5 -5
  125. package/esm2022/lib/option/index.mjs +3 -0
  126. package/esm2022/lib/option/option.component.mjs +24 -46
  127. package/esm2022/lib/option/option.module.mjs +5 -5
  128. package/esm2022/lib/progress-bar/index.mjs +5 -0
  129. package/esm2022/lib/progress-bar/progress-bar.component.mjs +43 -81
  130. package/esm2022/lib/progress-bar/progress-bar.directive.mjs +4 -4
  131. package/esm2022/lib/progress-bar/progress-bar.module.mjs +5 -5
  132. package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
  133. package/esm2022/lib/progress-circle/index.mjs +5 -0
  134. package/esm2022/lib/progress-circle/progress-circle.component.mjs +33 -78
  135. package/esm2022/lib/progress-circle/progress-circle.directive.mjs +4 -4
  136. package/esm2022/lib/progress-circle/progress-circle.module.mjs +5 -5
  137. package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
  138. package/esm2022/lib/radio/index.mjs +4 -0
  139. package/esm2022/lib/radio/radio/radio.component.mjs +16 -25
  140. package/esm2022/lib/radio/radio-group.component.mjs +71 -85
  141. package/esm2022/lib/radio/radio.module.mjs +5 -5
  142. package/esm2022/lib/search-functions.mjs +7 -7
  143. package/esm2022/lib/segment/index.mjs +5 -0
  144. package/esm2022/lib/segment/segment.component.mjs +70 -137
  145. package/esm2022/lib/segment/segment.directives.mjs +4 -4
  146. package/esm2022/lib/segment/segment.module.mjs +5 -5
  147. package/esm2022/lib/segment/segment.types.mjs +1 -1
  148. package/esm2022/lib/select/index.mjs +5 -0
  149. package/esm2022/lib/select/select.component.mjs +348 -655
  150. package/esm2022/lib/select/select.directive.mjs +46 -46
  151. package/esm2022/lib/select/select.module.mjs +5 -5
  152. package/esm2022/lib/select/select.types.mjs +1 -1
  153. package/esm2022/lib/slide-toggle/index.mjs +4 -0
  154. package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +19 -24
  155. package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +5 -5
  156. package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +5 -0
  157. package/esm2022/lib/slider/abstract-slider.mjs +111 -200
  158. package/esm2022/lib/slider/index.mjs +7 -0
  159. package/esm2022/lib/slider/range-slider/range-slider.component.mjs +26 -23
  160. package/esm2022/lib/slider/range-slider/range-slider.module.mjs +5 -5
  161. package/esm2022/lib/slider/slider.component.mjs +13 -10
  162. package/esm2022/lib/slider/slider.directive.mjs +4 -4
  163. package/esm2022/lib/slider/slider.module.mjs +7 -7
  164. package/esm2022/lib/slider/slider.types.mjs +1 -1
  165. package/esm2022/lib/snackbar/index.mjs +1 -1
  166. package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
  167. package/esm2022/lib/snackbar/snackbar.component.mjs +8 -8
  168. package/esm2022/lib/snackbar/snackbar.service.mjs +13 -12
  169. package/esm2022/lib/snackbar/snackbar.token.mjs +1 -1
  170. package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
  171. package/esm2022/lib/spinner/index.mjs +3 -0
  172. package/esm2022/lib/spinner/spinner.component.mjs +9 -13
  173. package/esm2022/lib/spinner/spinner.module.mjs +5 -5
  174. package/esm2022/lib/star/index.mjs +4 -0
  175. package/esm2022/lib/star/star-button/index.mjs +3 -0
  176. package/esm2022/lib/star/star-button/star-button.component.mjs +17 -26
  177. package/esm2022/lib/star/star-button/star-button.module.mjs +5 -5
  178. package/esm2022/lib/star/star-display/index.mjs +3 -0
  179. package/esm2022/lib/star/star-display/star-display.component.mjs +48 -55
  180. package/esm2022/lib/star/star-display/star-display.module.mjs +5 -5
  181. package/esm2022/lib/star/star-input/index.mjs +3 -0
  182. package/esm2022/lib/star/star-input/star-input.component.mjs +70 -106
  183. package/esm2022/lib/star/star-input/star-input.module.mjs +5 -5
  184. package/esm2022/lib/star/star.component.mjs +12 -20
  185. package/esm2022/lib/star/star.module.mjs +5 -5
  186. package/esm2022/lib/star/star.types.mjs +1 -1
  187. package/esm2022/lib/statebox/index.mjs +3 -0
  188. package/esm2022/lib/statebox/statebox.component.mjs +64 -102
  189. package/esm2022/lib/statebox/statebox.module.mjs +5 -5
  190. package/esm2022/lib/statebox/statebox.types.mjs +1 -1
  191. package/esm2022/lib/tabber/index.mjs +4 -0
  192. package/esm2022/lib/tabber/tab/tab.component.mjs +42 -0
  193. package/esm2022/lib/tabber/tabber.component.mjs +83 -0
  194. package/esm2022/lib/tabber/tabber.module.mjs +19 -0
  195. package/esm2022/lib/table/index.mjs +5 -0
  196. package/esm2022/lib/table/table-item-storage.mjs +204 -200
  197. package/esm2022/lib/table/table.component.mjs +184 -304
  198. package/esm2022/lib/table/table.directives.mjs +19 -21
  199. package/esm2022/lib/table/table.module.mjs +5 -5
  200. package/esm2022/lib/table/table.types.mjs +1 -1
  201. package/esm2022/lib/table/utils.mjs +1 -1
  202. package/esm2022/lib/table-from-csv/index.mjs +3 -0
  203. package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +85 -29
  204. package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +5 -5
  205. package/esm2022/lib/table-pagination/index.mjs +4 -0
  206. package/esm2022/lib/table-pagination/table-pagination.component.mjs +46 -114
  207. package/esm2022/lib/table-pagination/table-pagination.module.mjs +5 -5
  208. package/esm2022/lib/table-pagination/table-pagination.types.mjs +1 -1
  209. package/esm2022/lib/types/alignment.types.mjs +1 -1
  210. package/esm2022/lib/types/colors.types.mjs +1 -1
  211. package/esm2022/lib/types/item-storage.types.mjs +1 -1
  212. package/esm2022/lib/types/theming.types.mjs +1 -1
  213. package/esm2022/lib/types/utility.types.mjs +2 -2
  214. package/esm2022/public-api.mjs +58 -182
  215. package/fesm2022/ardium-ui-ui.mjs +7847 -11692
  216. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  217. package/lib/_internal/boolean-component.d.ts +8 -9
  218. package/lib/_internal/clear-button/clear-button.component.d.ts +1 -1
  219. package/lib/_internal/disablable-component.d.ts +12 -7
  220. package/lib/_internal/focusable-component.d.ts +5 -7
  221. package/lib/_internal/item-storages/dropdown-item-storage.d.ts +43 -41
  222. package/lib/_internal/item-storages/simple-item-storage.d.ts +28 -25
  223. package/lib/_internal/item-storages/simplest-item-storage.d.ts +14 -9
  224. package/lib/_internal/models/pagination.model.d.ts +38 -42
  225. package/lib/_internal/ngmodel-component.d.ts +1 -1
  226. package/lib/_internal/selectable-list-component.d.ts +30 -30
  227. package/lib/badge/badge.directive.d.ts +15 -20
  228. package/lib/badge/index.d.ts +3 -0
  229. package/lib/buttons/_button-base.d.ts +9 -12
  230. package/lib/buttons/button/button.component.d.ts +6 -8
  231. package/lib/buttons/button/index.d.ts +2 -0
  232. package/lib/buttons/fab/fab.component.d.ts +4 -6
  233. package/lib/buttons/fab/index.d.ts +2 -0
  234. package/lib/buttons/icon-button/icon-button.component.d.ts +6 -7
  235. package/lib/buttons/icon-button/index.d.ts +2 -0
  236. package/lib/card/card.children.d.ts +4 -3
  237. package/lib/card/card.component.d.ts +5 -4
  238. package/lib/card/index.d.ts +4 -0
  239. package/lib/checkbox/checkbox.component.d.ts +8 -12
  240. package/lib/checkbox/index.d.ts +3 -0
  241. package/lib/checkbox-list/checkbox-list.component.d.ts +22 -21
  242. package/lib/checkbox-list/index.d.ts +3 -0
  243. package/lib/chip/chip.component.d.ts +8 -10
  244. package/lib/chip/deletable-chip/deletable-chip.component.d.ts +11 -14
  245. package/lib/chip/index.d.ts +4 -0
  246. package/lib/chip/selectable-chip/selectable-chip.component.d.ts +10 -12
  247. package/lib/color/color-display/color-display.component.d.ts +6 -9
  248. package/lib/color/color-display/index.d.ts +3 -0
  249. package/lib/color/color-picker/color-picker.types.d.ts +4 -4
  250. package/lib/dialog/dialog.component.d.ts +25 -35
  251. package/lib/dialog/dialog.types.d.ts +2 -2
  252. package/lib/dialog/index.d.ts +4 -0
  253. package/lib/divider/divider.component.d.ts +3 -4
  254. package/lib/divider/index.d.ts +2 -0
  255. package/lib/dropdown-panel/dropdown-panel.component.d.ts +17 -20
  256. package/lib/dropdown-panel/index.d.ts +3 -0
  257. package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +5 -4
  258. package/lib/file-inputs/file-drop-area/index.d.ts +3 -0
  259. package/lib/file-inputs/file-input/file-input.component.d.ts +13 -17
  260. package/lib/file-inputs/file-input/index.d.ts +3 -0
  261. package/lib/file-inputs/file-input-base.d.ts +13 -18
  262. package/lib/form-field-frame/form-field-frame.component.d.ts +12 -16
  263. package/lib/form-field-frame/index.d.ts +3 -0
  264. package/lib/icon/icon.component.d.ts +10 -19
  265. package/lib/icon/index.d.ts +3 -0
  266. package/lib/inputs/color-input/color-input.types.d.ts +2 -2
  267. package/lib/inputs/digit-input/digit-input.component.d.ts +22 -30
  268. package/lib/inputs/digit-input/digit-input.model.d.ts +8 -12
  269. package/lib/inputs/digit-input/digit-input.types.d.ts +4 -4
  270. package/lib/inputs/digit-input/digit-input.utils.d.ts +4 -5
  271. package/lib/inputs/digit-input/index.d.ts +3 -0
  272. package/lib/inputs/hex-input/hex-input.component.d.ts +32 -38
  273. package/lib/inputs/hex-input/index.d.ts +3 -0
  274. package/lib/inputs/hex-input.model.d.ts +10 -11
  275. package/lib/inputs/input/index.d.ts +3 -0
  276. package/lib/inputs/input/input.component.d.ts +34 -40
  277. package/lib/inputs/input/input.directives.d.ts +3 -3
  278. package/lib/inputs/input-utils.d.ts +24 -27
  279. package/lib/inputs/number-input/index.d.ts +3 -0
  280. package/lib/inputs/number-input/number-input.component.d.ts +38 -48
  281. package/lib/inputs/password-input/index.d.ts +4 -0
  282. package/lib/inputs/password-input/password-input.component.d.ts +28 -40
  283. package/lib/inputs/password-input/password-input.types.d.ts +2 -2
  284. package/lib/inputs/simple-input/index.d.ts +3 -0
  285. package/lib/inputs/simple-input/simple-input.component.d.ts +30 -35
  286. package/lib/kbd/index.d.ts +3 -0
  287. package/lib/kbd/kbd.component.d.ts +6 -8
  288. package/lib/kbd-shortcut/index.d.ts +2 -0
  289. package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +7 -10
  290. package/lib/modal/index.d.ts +2 -0
  291. package/lib/modal/modal.component.d.ts +22 -30
  292. package/lib/option/index.d.ts +2 -0
  293. package/lib/option/option.component.d.ts +11 -16
  294. package/lib/progress-bar/index.d.ts +4 -0
  295. package/lib/progress-bar/progress-bar.component.d.ts +14 -20
  296. package/lib/progress-bar/progress-bar.types.d.ts +2 -2
  297. package/lib/progress-circle/index.d.ts +4 -0
  298. package/lib/progress-circle/progress-circle.component.d.ts +12 -20
  299. package/lib/progress-circle/progress-circle.types.d.ts +2 -2
  300. package/lib/radio/index.d.ts +3 -0
  301. package/lib/radio/radio/radio.component.d.ts +7 -8
  302. package/lib/radio/radio-group.component.d.ts +13 -16
  303. package/lib/segment/index.d.ts +4 -0
  304. package/lib/segment/segment.component.d.ts +22 -34
  305. package/lib/segment/segment.directives.d.ts +2 -3
  306. package/lib/select/index.d.ts +4 -0
  307. package/lib/select/select.component.d.ts +114 -160
  308. package/lib/select/select.directive.d.ts +3 -3
  309. package/lib/select/select.types.d.ts +2 -76
  310. package/lib/slide-toggle/index.d.ts +3 -0
  311. package/lib/slide-toggle/slide-toggle.component.d.ts +9 -7
  312. package/lib/slide-toggle/slide-toggle.types.d.ts +5 -0
  313. package/lib/slider/abstract-slider.d.ts +38 -55
  314. package/lib/slider/index.d.ts +6 -0
  315. package/lib/slider/range-slider/range-slider.component.d.ts +3 -1
  316. package/lib/slider/slider.component.d.ts +2 -0
  317. package/lib/slider/slider.types.d.ts +8 -8
  318. package/lib/snackbar/snackbar-ref.d.ts +1 -2
  319. package/lib/snackbar/snackbar.component.d.ts +3 -3
  320. package/lib/snackbar/snackbar.service.d.ts +2 -2
  321. package/lib/snackbar/snackbar.types.d.ts +4 -4
  322. package/lib/spinner/index.d.ts +2 -0
  323. package/lib/spinner/spinner.component.d.ts +3 -3
  324. package/lib/star/index.d.ts +3 -0
  325. package/lib/star/star-button/index.d.ts +2 -0
  326. package/lib/star/star-button/star-button.component.d.ts +7 -7
  327. package/lib/star/star-display/index.d.ts +2 -0
  328. package/lib/star/star-display/star-display.component.d.ts +8 -12
  329. package/lib/star/star-input/index.d.ts +2 -0
  330. package/lib/star/star-input/star-input.component.d.ts +17 -22
  331. package/lib/star/star.component.d.ts +5 -5
  332. package/lib/statebox/index.d.ts +3 -0
  333. package/lib/statebox/statebox.component.d.ts +15 -21
  334. package/lib/statebox/statebox.types.d.ts +12 -8
  335. package/lib/tabber/index.d.ts +3 -0
  336. package/lib/tabber/tab/tab.component.d.ts +18 -0
  337. package/lib/tabber/tabber.component.d.ts +25 -0
  338. package/lib/tabber/tabber.module.d.ts +9 -0
  339. package/lib/table/index.d.ts +4 -0
  340. package/lib/table/table-item-storage.d.ts +70 -58
  341. package/lib/table/table.component.d.ts +59 -78
  342. package/lib/table/table.directives.d.ts +4 -3
  343. package/lib/table-from-csv/index.d.ts +2 -0
  344. package/lib/table-from-csv/table-from-csv.component.d.ts +46 -9
  345. package/lib/table-pagination/index.d.ts +3 -0
  346. package/lib/table-pagination/table-pagination.component.d.ts +21 -30
  347. package/lib/types/item-storage.types.d.ts +19 -18
  348. package/lib/types/utility.types.d.ts +2 -1
  349. package/package.json +8 -9
  350. package/prebuilt-themes/default/badge.css +5 -5
  351. package/prebuilt-themes/default/buttons/fab.css +4 -3
  352. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  353. package/prebuilt-themes/default/card.css +7 -7
  354. package/prebuilt-themes/default/chips.css +3 -8
  355. package/prebuilt-themes/default/chips.css.map +1 -1
  356. package/prebuilt-themes/default/core.css +6 -3
  357. package/prebuilt-themes/default/core.css.map +1 -1
  358. package/prebuilt-themes/default/inputs/color-input.css +1 -1
  359. package/prebuilt-themes/default/inputs/digit-input.css +1 -1
  360. package/prebuilt-themes/default/inputs/file-input.css +139 -2
  361. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  362. package/prebuilt-themes/default/inputs/hex-input.css +2 -2
  363. package/prebuilt-themes/default/inputs/input.css +1 -1
  364. package/prebuilt-themes/default/inputs/search-bar.css +1 -1
  365. package/prebuilt-themes/default/inputs/simple-input.css +1 -1
  366. package/prebuilt-themes/default/modal.css +1 -1
  367. package/prebuilt-themes/default/segment.css +2 -2
  368. package/prebuilt-themes/default/segment.css.map +1 -1
  369. package/prebuilt-themes/default/select.css +5 -3
  370. package/prebuilt-themes/default/select.css.map +1 -1
  371. package/prebuilt-themes/default/snackbar.css +0 -1
  372. package/prebuilt-themes/default/snackbar.css.map +1 -1
  373. package/prebuilt-themes/default/tabber.css +207 -0
  374. package/prebuilt-themes/default/tabber.css.map +1 -0
  375. package/public-api.d.ts +43 -136
  376. package/themes/_variables.scss +121 -121
  377. package/themes/default/_clear-button.scss +73 -73
  378. package/themes/default/_coloring.scss +137 -137
  379. package/themes/default/_dropdown-arrow.scss +12 -12
  380. package/themes/default/_mixins.scss +70 -70
  381. package/themes/default/badge.scss +94 -94
  382. package/themes/default/buttons/_button-mixins.scss +144 -144
  383. package/themes/default/buttons/button.scss +62 -62
  384. package/themes/default/buttons/fab.scss +74 -72
  385. package/themes/default/buttons/icon-button.scss +59 -59
  386. package/themes/default/calendar.scss +182 -182
  387. package/themes/default/card.scss +126 -126
  388. package/themes/default/checkbox-list.scss +83 -83
  389. package/themes/default/checkbox.scss +109 -109
  390. package/themes/default/chips.scss +200 -206
  391. package/themes/default/color-display.scss +41 -41
  392. package/themes/default/color-picker.scss +111 -111
  393. package/themes/default/core.scss +99 -96
  394. package/themes/default/dialog.scss +16 -16
  395. package/themes/default/divider.scss +13 -13
  396. package/themes/default/dropdown-panel.scss +45 -45
  397. package/themes/default/file-drop-area.scss +162 -162
  398. package/themes/default/form-field-frame.scss +78 -78
  399. package/themes/default/inputs/_shared.scss +46 -46
  400. package/themes/default/inputs/color-input.scss +46 -46
  401. package/themes/default/inputs/digit-input.scss +56 -56
  402. package/themes/default/inputs/file-input.scss +85 -78
  403. package/themes/default/inputs/hex-input.scss +27 -27
  404. package/themes/default/inputs/input.scss +52 -52
  405. package/themes/default/inputs/number-input.scss +121 -121
  406. package/themes/default/inputs/password-input.scss +43 -43
  407. package/themes/default/inputs/search-bar.scss +19 -19
  408. package/themes/default/inputs/simple-input.scss +19 -19
  409. package/themes/default/kbd-shortcut.scss +13 -13
  410. package/themes/default/kbd.scss +20 -20
  411. package/themes/default/modal.scss +93 -93
  412. package/themes/default/progress-bar.scss +166 -166
  413. package/themes/default/progress-circle.scss +56 -56
  414. package/themes/default/radio.scss +112 -112
  415. package/themes/default/segment.scss +340 -339
  416. package/themes/default/select.scss +255 -253
  417. package/themes/default/slide-toggle.scss +151 -151
  418. package/themes/default/slider.scss +224 -224
  419. package/themes/default/snackbar.scss +58 -60
  420. package/themes/default/spinner.scss +21 -21
  421. package/themes/default/stars.scss +122 -122
  422. package/themes/default/statebox.scss +109 -109
  423. package/themes/default/tabber.scss +86 -0
  424. package/themes/default/table-pagination.scss +56 -56
  425. package/themes/default/table.scss +403 -403
  426. package/esm2022/lib/calendar/calendar.component.mjs +0 -979
  427. package/esm2022/lib/calendar/calendar.directives.mjs +0 -107
  428. package/esm2022/lib/calendar/calendar.helpers.mjs +0 -47
  429. package/esm2022/lib/calendar/calendar.module.mjs +0 -21
  430. package/esm2022/lib/calendar/calendar.types.mjs +0 -11
  431. package/esm2022/lib/color/color-picker/color-picker.component.mjs +0 -484
  432. package/esm2022/lib/color/color-picker/color-picker.directives.mjs +0 -55
  433. package/esm2022/lib/color/color-picker/color-picker.module.mjs +0 -43
  434. package/esm2022/lib/inputs/color-input/color-input.component.mjs +0 -421
  435. package/esm2022/lib/inputs/color-input/color-input.module.mjs +0 -85
  436. package/lib/calendar/calendar.component.d.ts +0 -155
  437. package/lib/calendar/calendar.directives.d.ts +0 -51
  438. package/lib/calendar/calendar.helpers.d.ts +0 -15
  439. package/lib/calendar/calendar.module.d.ts +0 -11
  440. package/lib/calendar/calendar.types.d.ts +0 -80
  441. package/lib/color/color-picker/color-picker.component.d.ts +0 -125
  442. package/lib/color/color-picker/color-picker.directives.d.ts +0 -27
  443. package/lib/color/color-picker/color-picker.module.d.ts +0 -13
  444. package/lib/inputs/color-input/color-input.component.d.ts +0 -147
  445. package/lib/inputs/color-input/color-input.module.d.ts +0 -16
@@ -1,166 +1,166 @@
1
- @use './coloring' as CM;
2
- @import '../variables';
3
-
4
- .ard-progress-bar {
5
- @include CM.typeColors();
6
- width: 100%;
7
- margin: 0.5rem 0;
8
- overflow: hidden;
9
-
10
- .ard-progress-bar__background,
11
- .ard-progress-bar__overlay {
12
- position: absolute;
13
- background-color: var(--ard-cmpcl--bg-colored);
14
- top: 0;
15
- bottom: 0;
16
- left: 0;
17
- }
18
- .ard-progress-bar__background {
19
- background-color: var(--ard-cmpcl--bg-colored-light);
20
- top: 0;
21
- bottom: 0;
22
- left: 0;
23
- right: 0;
24
- opacity: 30%;
25
- }
26
- .ard-progress-bar__overlay {
27
- width: var(--ard-_progress-bar-main, 0);
28
- }
29
-
30
- //! variants
31
- &.ard-variant-sharp {
32
- border-radius: 0;
33
- }
34
- &.ard-variant-pill {
35
- border-radius: 9999px;
36
- }
37
-
38
- //! sizes
39
- &.ard-progress-bar__size-default {
40
- height: 0.25rem;
41
- }
42
- &.ard-progress-bar__size-auto:not(.ard-progress-bar__mode-buffer) {
43
- height: 100%;
44
- }
45
-
46
- //! modes
47
- &.ard-progress-bar__mode-determinate,
48
- &.ard-progress-bar__mode-buffer {
49
- .ard-progress-bar__overlay {
50
- transition: width 0.1s $timing-fn;
51
- }
52
- }
53
- &.ard-progress-bar__mode-indeterminate,
54
- &.ard-progress-bar__mode-query {
55
- .ard-progress-bar__overlay {
56
- position: unset;
57
-
58
- &::before,
59
- &::after {
60
- content: '';
61
- position: absolute;
62
- background-color: inherit;
63
- top: 0;
64
- left: 0;
65
- bottom: 0;
66
- }
67
- &::before {
68
- animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
69
- }
70
- &::after {
71
- animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
72
- animation-delay: 1.15s;
73
- }
74
- }
75
- }
76
- &.ard-progress-bar__mode-query {
77
- transform: rotate(180deg);
78
- }
79
- &.ard-progress-bar__mode-buffer {
80
- .ard-progress-bar__background {
81
- background: none !important;
82
- left: var(--ard-_progress-bar-buffer, 100%);
83
- overflow: hidden;
84
-
85
- &::after {
86
- content: '';
87
- position: absolute;
88
- right: -0.5rem;
89
- top: 0;
90
- bottom: 0;
91
- width: 9999px;
92
- animation: buffer 0.4s linear infinite;
93
- border-bottom: 0.25rem dotted var(--ard-cmpcl--bg-colored);
94
- }
95
- }
96
- .ard-progress-bar__overlay-buffer {
97
- background: var(--ard-cmpcl--bg-colored-light);
98
- position: absolute;
99
- left: 0;
100
- width: var(--ard-_progress-bar-buffer, 0);
101
- top: 0;
102
- bottom: 0;
103
- transition: width 0.1s $timing-fn;
104
- }
105
- }
106
-
107
- //! hiding the value
108
- &.ard-progress-bar__size-default,
109
- &.ard-progress-bar__hide-value,
110
- &.ard-progress-bar__mode-buffer {
111
- > .ard-progress-bar__value {
112
- display: none;
113
- }
114
- }
115
-
116
- //! currentColor special case
117
- &.ard-color-currentColor {
118
- .ard-progress-bar__background {
119
- opacity: 22.5%;
120
- background: var(--ard-cmpcl--bg-colored);
121
- }
122
- .ard-progress-bar__overlay-buffer {
123
- opacity: 30%;
124
- background: var(--ard-cmpcl--bg-colored);
125
- }
126
- }
127
- }
128
-
129
- @keyframes indeterminate {
130
- 0% {
131
- left: -35%;
132
- right: 100%;
133
- }
134
- 60% {
135
- left: 100%;
136
- right: -90%;
137
- }
138
- 100% {
139
- left: 100%;
140
- right: -90%;
141
- }
142
- }
143
-
144
- @keyframes indeterminate-short {
145
- 0% {
146
- left: -200%;
147
- right: 100%;
148
- }
149
- 60% {
150
- left: 107%;
151
- right: -8%;
152
- }
153
- 100% {
154
- left: 107%;
155
- right: -8%;
156
- }
157
- }
158
-
159
- @keyframes buffer {
160
- 0% {
161
- transform: translateX(0);
162
- }
163
- 100% {
164
- transform: translateX(-0.5rem);
165
- }
166
- }
1
+ @use './coloring' as CM;
2
+ @import '../variables';
3
+
4
+ .ard-progress-bar {
5
+ @include CM.typeColors();
6
+ width: 100%;
7
+ margin: 0.5rem 0;
8
+ overflow: hidden;
9
+
10
+ .ard-progress-bar__background,
11
+ .ard-progress-bar__overlay {
12
+ position: absolute;
13
+ background-color: var(--ard-cmpcl--bg-colored);
14
+ top: 0;
15
+ bottom: 0;
16
+ left: 0;
17
+ }
18
+ .ard-progress-bar__background {
19
+ background-color: var(--ard-cmpcl--bg-colored-light);
20
+ top: 0;
21
+ bottom: 0;
22
+ left: 0;
23
+ right: 0;
24
+ opacity: 30%;
25
+ }
26
+ .ard-progress-bar__overlay {
27
+ width: var(--ard-_progress-bar-main, 0);
28
+ }
29
+
30
+ //! variants
31
+ &.ard-variant-sharp {
32
+ border-radius: 0;
33
+ }
34
+ &.ard-variant-pill {
35
+ border-radius: 9999px;
36
+ }
37
+
38
+ //! sizes
39
+ &.ard-progress-bar__size-default {
40
+ height: 0.25rem;
41
+ }
42
+ &.ard-progress-bar__size-auto:not(.ard-progress-bar__mode-buffer) {
43
+ height: 100%;
44
+ }
45
+
46
+ //! modes
47
+ &.ard-progress-bar__mode-determinate,
48
+ &.ard-progress-bar__mode-buffer {
49
+ .ard-progress-bar__overlay {
50
+ transition: width 0.1s $timing-fn;
51
+ }
52
+ }
53
+ &.ard-progress-bar__mode-indeterminate,
54
+ &.ard-progress-bar__mode-query {
55
+ .ard-progress-bar__overlay {
56
+ position: unset;
57
+
58
+ &::before,
59
+ &::after {
60
+ content: '';
61
+ position: absolute;
62
+ background-color: inherit;
63
+ top: 0;
64
+ left: 0;
65
+ bottom: 0;
66
+ }
67
+ &::before {
68
+ animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
69
+ }
70
+ &::after {
71
+ animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
72
+ animation-delay: 1.15s;
73
+ }
74
+ }
75
+ }
76
+ &.ard-progress-bar__mode-query {
77
+ transform: rotate(180deg);
78
+ }
79
+ &.ard-progress-bar__mode-buffer {
80
+ .ard-progress-bar__background {
81
+ background: none !important;
82
+ left: var(--ard-_progress-bar-buffer, 100%);
83
+ overflow: hidden;
84
+
85
+ &::after {
86
+ content: '';
87
+ position: absolute;
88
+ right: -0.5rem;
89
+ top: 0;
90
+ bottom: 0;
91
+ width: 9999px;
92
+ animation: buffer 0.4s linear infinite;
93
+ border-bottom: 0.25rem dotted var(--ard-cmpcl--bg-colored);
94
+ }
95
+ }
96
+ .ard-progress-bar__overlay-buffer {
97
+ background: var(--ard-cmpcl--bg-colored-light);
98
+ position: absolute;
99
+ left: 0;
100
+ width: var(--ard-_progress-bar-buffer, 0);
101
+ top: 0;
102
+ bottom: 0;
103
+ transition: width 0.1s $timing-fn;
104
+ }
105
+ }
106
+
107
+ //! hiding the value
108
+ &.ard-progress-bar__size-default,
109
+ &.ard-progress-bar__hide-value,
110
+ &.ard-progress-bar__mode-buffer {
111
+ > .ard-progress-bar__value {
112
+ display: none;
113
+ }
114
+ }
115
+
116
+ //! currentColor special case
117
+ &.ard-color-currentColor {
118
+ .ard-progress-bar__background {
119
+ opacity: 22.5%;
120
+ background: var(--ard-cmpcl--bg-colored);
121
+ }
122
+ .ard-progress-bar__overlay-buffer {
123
+ opacity: 30%;
124
+ background: var(--ard-cmpcl--bg-colored);
125
+ }
126
+ }
127
+ }
128
+
129
+ @keyframes indeterminate {
130
+ 0% {
131
+ left: -35%;
132
+ right: 100%;
133
+ }
134
+ 60% {
135
+ left: 100%;
136
+ right: -90%;
137
+ }
138
+ 100% {
139
+ left: 100%;
140
+ right: -90%;
141
+ }
142
+ }
143
+
144
+ @keyframes indeterminate-short {
145
+ 0% {
146
+ left: -200%;
147
+ right: 100%;
148
+ }
149
+ 60% {
150
+ left: 107%;
151
+ right: -8%;
152
+ }
153
+ 100% {
154
+ left: 107%;
155
+ right: -8%;
156
+ }
157
+ }
158
+
159
+ @keyframes buffer {
160
+ 0% {
161
+ transform: translateX(0);
162
+ }
163
+ 100% {
164
+ transform: translateX(-0.5rem);
165
+ }
166
+ }
@@ -1,56 +1,56 @@
1
- @use './coloring' as coloringMixins;
2
- @import '../variables';
3
-
4
- .ard-progress-circle {
5
- @include coloringMixins.typeColors;
6
- width: 3em;
7
-
8
- --ard-_progress-circle-fill-color: var(--ard-cmpcl--bg-colored);
9
-
10
- //! appearances
11
- &.ard-appearance-transparent {
12
- .ard-progress-circle-background {
13
- background: transparent;
14
- }
15
- }
16
- &.ard-appearance-colorless {
17
- .ard-progress-circle-background {
18
- background: $darken-overlay-medium;
19
- }
20
- }
21
- &.ard-appearance-colored {
22
- .ard-progress-circle-background {
23
- opacity: 16%;
24
- background: var(--ard-cmpcl--bg-colored);
25
- }
26
- //special case for no coloring
27
- &.ard-color-none {
28
- .ard-progress-circle-background {
29
- opacity: 8%;
30
- }
31
- }
32
- }
33
- //! ring variant
34
- &.ard-progress-circle-variant-ring {
35
- .ard-progress-circle-background,
36
- .ard-progress-circle-overlay {
37
- //magic number
38
- //don't know why this value specifically looks good
39
- mask: radial-gradient(transparent 59%, #000 59%);
40
- }
41
- }
42
- //! value
43
- .ard-progress-circle-value {
44
- position: absolute;
45
- left: 50%;
46
- top: 50%;
47
- transform: translate(-50%, -50%);
48
- font-weight: bold;
49
- font-size: 0.9em;
50
- }
51
- &.ard-progress-circle-variant-full {
52
- .ard-progress-circle-value {
53
- display: none;
54
- }
55
- }
56
- }
1
+ @use './coloring' as coloringMixins;
2
+ @import '../variables';
3
+
4
+ .ard-progress-circle {
5
+ @include coloringMixins.typeColors;
6
+ width: 3em;
7
+
8
+ --ard-_progress-circle-fill-color: var(--ard-cmpcl--bg-colored);
9
+
10
+ //! appearances
11
+ &.ard-appearance-transparent {
12
+ .ard-progress-circle-background {
13
+ background: transparent;
14
+ }
15
+ }
16
+ &.ard-appearance-colorless {
17
+ .ard-progress-circle-background {
18
+ background: $darken-overlay-medium;
19
+ }
20
+ }
21
+ &.ard-appearance-colored {
22
+ .ard-progress-circle-background {
23
+ opacity: 16%;
24
+ background: var(--ard-cmpcl--bg-colored);
25
+ }
26
+ //special case for no coloring
27
+ &.ard-color-none {
28
+ .ard-progress-circle-background {
29
+ opacity: 8%;
30
+ }
31
+ }
32
+ }
33
+ //! ring variant
34
+ &.ard-progress-circle-variant-ring {
35
+ .ard-progress-circle-background,
36
+ .ard-progress-circle-overlay {
37
+ //magic number
38
+ //don't know why this value specifically looks good
39
+ mask: radial-gradient(transparent 59%, #000 59%);
40
+ }
41
+ }
42
+ //! value
43
+ .ard-progress-circle-value {
44
+ position: absolute;
45
+ left: 50%;
46
+ top: 50%;
47
+ transform: translate(-50%, -50%);
48
+ font-weight: bold;
49
+ font-size: 0.9em;
50
+ }
51
+ &.ard-progress-circle-variant-full {
52
+ .ard-progress-circle-value {
53
+ display: none;
54
+ }
55
+ }
56
+ }
@@ -1,112 +1,112 @@
1
- @use './coloring' as CM;
2
- @use './mixins' as GM;
3
- @import '../variables';
4
-
5
- ard-radio-group {
6
- display: flex;
7
- gap: 0.5rem 1rem;
8
- }
9
-
10
- ard-radio {
11
- display: inline-block;
12
- width: max-content;
13
- max-width: 100%;
14
- }
15
-
16
- .ard-radio {
17
- @include CM.typeColors();
18
-
19
- outline: none;
20
- font-size: 1em;
21
- display: flex;
22
- gap: 0.375em;
23
- padding: 0;
24
- width: 100%;
25
-
26
- > .ard-radio-circles {
27
- position: relative;
28
- width: 1.25em;
29
- height: 1.25em;
30
-
31
- > .ard-radio-outer-circle {
32
- position: absolute;
33
- left: 0;
34
- right: 0;
35
- top: 0;
36
- bottom: 0;
37
- border: 2px solid $detail;
38
- border-radius: 9999px;
39
- transition: border-color 0.2s $timing-fn;
40
- }
41
- > .ard-radio-inner-circle {
42
- position: absolute;
43
- left: 25%;
44
- right: 25%;
45
- top: 25%;
46
- bottom: 25%;
47
- background: var(--ard-cmpcl--bg-colored);
48
- border-radius: 9999px;
49
- transform: scale(0);
50
- transition: transform 0.2s $timing-fn;
51
- }
52
- > .ard-focus-overlay {
53
- @include GM.focus-overlay(0.375em);
54
- border-radius: 9999px;
55
- background-color: $overlay;
56
-
57
- transition:
58
- opacity 0.2s ease,
59
- background-color 0.2s ease;
60
- }
61
- > .ard-hitbox {
62
- position: absolute;
63
- top: -0.375em;
64
- bottom: -0.375em;
65
- left: -0.375em;
66
- right: -0.375em;
67
- cursor: pointer;
68
- }
69
-
70
- &:hover {
71
- > .ard-focus-overlay {
72
- opacity: 7.5%;
73
- }
74
- }
75
- }
76
-
77
- &.ard-radio-selected {
78
- > .ard-radio-circles {
79
- > .ard-radio-outer-circle {
80
- border-color: var(--ard-cmpcl--bg-colored);
81
- }
82
- > .ard-radio-inner-circle {
83
- transform: scale(1);
84
- }
85
- > .ard-focus-overlay {
86
- background-color: var(--ard-cmpcl--bg-colored);
87
- }
88
- }
89
- }
90
- &:focus {
91
- > .ard-radio-circles {
92
- > .ard-focus-overlay {
93
- opacity: 15%;
94
- }
95
- }
96
- }
97
- &:active {
98
- > .ard-radio-circles {
99
- > .ard-focus-overlay {
100
- opacity: 25%;
101
- }
102
- }
103
- }
104
- }
105
-
106
- .ard-disabled {
107
- .ard-radio {
108
- pointer-events: none;
109
- opacity: 50%;
110
- user-select: none;
111
- }
112
- }
1
+ @use './coloring' as CM;
2
+ @use './mixins' as GM;
3
+ @import '../variables';
4
+
5
+ ard-radio-group {
6
+ display: flex;
7
+ gap: 0.5rem 1rem;
8
+ }
9
+
10
+ ard-radio {
11
+ display: inline-block;
12
+ width: max-content;
13
+ max-width: 100%;
14
+ }
15
+
16
+ .ard-radio {
17
+ @include CM.typeColors();
18
+
19
+ outline: none;
20
+ font-size: 1em;
21
+ display: flex;
22
+ gap: 0.375em;
23
+ padding: 0;
24
+ width: 100%;
25
+
26
+ > .ard-radio-circles {
27
+ position: relative;
28
+ width: 1.25em;
29
+ height: 1.25em;
30
+
31
+ > .ard-radio-outer-circle {
32
+ position: absolute;
33
+ left: 0;
34
+ right: 0;
35
+ top: 0;
36
+ bottom: 0;
37
+ border: 2px solid $detail;
38
+ border-radius: 9999px;
39
+ transition: border-color 0.2s $timing-fn;
40
+ }
41
+ > .ard-radio-inner-circle {
42
+ position: absolute;
43
+ left: 25%;
44
+ right: 25%;
45
+ top: 25%;
46
+ bottom: 25%;
47
+ background: var(--ard-cmpcl--bg-colored);
48
+ border-radius: 9999px;
49
+ transform: scale(0);
50
+ transition: transform 0.2s $timing-fn;
51
+ }
52
+ > .ard-focus-overlay {
53
+ @include GM.focus-overlay(0.375em);
54
+ border-radius: 9999px;
55
+ background-color: $overlay;
56
+
57
+ transition:
58
+ opacity 0.2s ease,
59
+ background-color 0.2s ease;
60
+ }
61
+ > .ard-hitbox {
62
+ position: absolute;
63
+ top: -0.375em;
64
+ bottom: -0.375em;
65
+ left: -0.375em;
66
+ right: -0.375em;
67
+ cursor: pointer;
68
+ }
69
+
70
+ &:hover {
71
+ > .ard-focus-overlay {
72
+ opacity: 7.5%;
73
+ }
74
+ }
75
+ }
76
+
77
+ &.ard-radio-selected {
78
+ > .ard-radio-circles {
79
+ > .ard-radio-outer-circle {
80
+ border-color: var(--ard-cmpcl--bg-colored);
81
+ }
82
+ > .ard-radio-inner-circle {
83
+ transform: scale(1);
84
+ }
85
+ > .ard-focus-overlay {
86
+ background-color: var(--ard-cmpcl--bg-colored);
87
+ }
88
+ }
89
+ }
90
+ &:focus {
91
+ > .ard-radio-circles {
92
+ > .ard-focus-overlay {
93
+ opacity: 15%;
94
+ }
95
+ }
96
+ }
97
+ &:active {
98
+ > .ard-radio-circles {
99
+ > .ard-focus-overlay {
100
+ opacity: 25%;
101
+ }
102
+ }
103
+ }
104
+ }
105
+
106
+ .ard-disabled {
107
+ .ard-radio {
108
+ pointer-events: none;
109
+ opacity: 50%;
110
+ user-select: none;
111
+ }
112
+ }