@ardium-ui/ui 2.4.0 → 3.1.0

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 (402) hide show
  1. package/esm2022/lib/_internal/boolean-component.mjs +1 -1
  2. package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +9 -6
  3. package/esm2022/lib/_internal/disablable-component.mjs +5 -4
  4. package/esm2022/lib/_internal/focusable-component.mjs +5 -2
  5. package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +30 -23
  6. package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +4 -5
  7. package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +7 -8
  8. package/esm2022/lib/_internal/models/pagination.model.mjs +3 -3
  9. package/esm2022/lib/_internal/ngmodel-component.mjs +1 -2
  10. package/esm2022/lib/_internal/selectable-list-component.mjs +2 -22
  11. package/esm2022/lib/badge/badge.defaults.mjs +12 -6
  12. package/esm2022/lib/badge/badge.directive.mjs +1 -1
  13. package/esm2022/lib/badge/index.mjs +1 -1
  14. package/esm2022/lib/buttons/_button-base.defaults.mjs +1 -1
  15. package/esm2022/lib/buttons/_button-base.mjs +6 -5
  16. package/esm2022/lib/buttons/button/button.component.mjs +11 -9
  17. package/esm2022/lib/buttons/button/button.defaults.mjs +11 -7
  18. package/esm2022/lib/buttons/button/index.mjs +1 -1
  19. package/esm2022/lib/buttons/fab/fab.component.mjs +15 -14
  20. package/esm2022/lib/buttons/fab/fab.defaults.mjs +11 -5
  21. package/esm2022/lib/buttons/fab/index.mjs +1 -1
  22. package/esm2022/lib/buttons/general-button.types.mjs +2 -2
  23. package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +11 -9
  24. package/esm2022/lib/buttons/icon-button/icon-button.defaults.mjs +4 -1
  25. package/esm2022/lib/buttons/icon-button/index.mjs +1 -1
  26. package/esm2022/lib/card/card.children.mjs +4 -4
  27. package/esm2022/lib/card/card.component.mjs +2 -2
  28. package/esm2022/lib/card/card.defaults.mjs +10 -4
  29. package/esm2022/lib/card/index.mjs +1 -1
  30. package/esm2022/lib/checkbox/checkbox.component.mjs +13 -17
  31. package/esm2022/lib/checkbox/checkbox.defaults.mjs +10 -4
  32. package/esm2022/lib/checkbox/index.mjs +1 -1
  33. package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +11 -9
  34. package/esm2022/lib/checkbox-list/checkbox-list.defaults.mjs +17 -11
  35. package/esm2022/lib/checkbox-list/index.mjs +3 -2
  36. package/esm2022/lib/chip/chip.component.mjs +11 -9
  37. package/esm2022/lib/chip/chip.defaults.mjs +4 -1
  38. package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +11 -9
  39. package/esm2022/lib/chip/deletable-chip/deletable-chip.defaults.mjs +10 -4
  40. package/esm2022/lib/chip/index.mjs +5 -2
  41. package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +11 -9
  42. package/esm2022/lib/chip/selectable-chip/selectable-chip.defaults.mjs +11 -5
  43. package/esm2022/lib/color/color-display/color-display.component.mjs +13 -12
  44. package/esm2022/lib/color/color-display/color-display.defaults.mjs +16 -0
  45. package/esm2022/lib/color/color-display/index.mjs +3 -2
  46. package/esm2022/lib/dialog/dialog.component.mjs +23 -22
  47. package/esm2022/lib/dialog/dialog.defaults.mjs +24 -0
  48. package/esm2022/lib/dialog/dialog.types.mjs +1 -1
  49. package/esm2022/lib/dialog/index.mjs +4 -3
  50. package/esm2022/lib/divider/divider.component.mjs +1 -1
  51. package/esm2022/lib/divider/divider.defaults.mjs +8 -2
  52. package/esm2022/lib/divider/index.mjs +3 -2
  53. package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +10 -9
  54. package/esm2022/lib/dropdown-panel/dropdown-panel.defaults.mjs +17 -0
  55. package/esm2022/lib/dropdown-panel/index.mjs +3 -2
  56. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +14 -12
  57. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.defaults.mjs +18 -0
  58. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +1 -1
  59. package/esm2022/lib/file-inputs/file-drop-area/index.mjs +3 -2
  60. package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +23 -25
  61. package/esm2022/lib/file-inputs/file-input/file-input.defaults.mjs +23 -0
  62. package/esm2022/lib/file-inputs/file-input/index.mjs +3 -2
  63. package/esm2022/lib/file-inputs/file-input-base.defaults.mjs +8 -0
  64. package/esm2022/lib/file-inputs/file-input-base.mjs +2 -2
  65. package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +12 -8
  66. package/esm2022/lib/form-field-frame/form-field-frame.defaults.mjs +18 -0
  67. package/esm2022/lib/form-field-frame/index.mjs +3 -2
  68. package/esm2022/lib/icon/icon.component.mjs +6 -4
  69. package/esm2022/lib/icon/icon.defaults.mjs +17 -0
  70. package/esm2022/lib/icon/index.mjs +3 -2
  71. package/esm2022/lib/inputs/_simple-input-base.mjs +159 -0
  72. package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +17 -15
  73. package/esm2022/lib/inputs/digit-input/digit-input.defaults.mjs +21 -0
  74. package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
  75. package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
  76. package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
  77. package/esm2022/lib/inputs/digit-input/index.mjs +3 -2
  78. package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +24 -23
  79. package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +26 -0
  80. package/esm2022/lib/inputs/hex-input/hex-input.model.mjs +97 -0
  81. package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +1 -1
  82. package/esm2022/lib/inputs/hex-input/index.mjs +3 -2
  83. package/esm2022/lib/inputs/input/index.mjs +1 -1
  84. package/esm2022/lib/inputs/input/input.component.mjs +28 -48
  85. package/esm2022/lib/inputs/input/input.defaults.mjs +17 -0
  86. package/esm2022/lib/inputs/input/input.directives.mjs +1 -1
  87. package/esm2022/lib/inputs/input/input.module.mjs +1 -1
  88. package/esm2022/lib/inputs/input-transformers.mjs +1 -1
  89. package/esm2022/lib/inputs/input-utils.mjs +1 -1
  90. package/esm2022/lib/inputs/number-input/index.mjs +3 -2
  91. package/esm2022/lib/inputs/number-input/number-input.component.mjs +34 -30
  92. package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +27 -0
  93. package/esm2022/lib/inputs/password-input/index.mjs +3 -2
  94. package/esm2022/lib/inputs/password-input/password-input.component.mjs +23 -18
  95. package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +24 -0
  96. package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
  97. package/esm2022/lib/inputs/simple-input/index.mjs +3 -2
  98. package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +15 -145
  99. package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +25 -0
  100. package/esm2022/lib/kbd/index.mjs +2 -1
  101. package/esm2022/lib/kbd/kbd.component.mjs +6 -4
  102. package/esm2022/lib/kbd/kbd.defaults.mjs +15 -0
  103. package/esm2022/lib/kbd/kbd.directive.mjs +1 -1
  104. package/esm2022/lib/kbd/kbd.pipe.mjs +7 -3
  105. package/esm2022/lib/kbd-shortcut/index.mjs +3 -2
  106. package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +12 -7
  107. package/esm2022/lib/kbd-shortcut/kbd-shortcut.defaults.mjs +8 -0
  108. package/esm2022/lib/modal/index.mjs +3 -2
  109. package/esm2022/lib/modal/modal.component.mjs +14 -11
  110. package/esm2022/lib/modal/modal.defaults.mjs +20 -0
  111. package/esm2022/lib/option/index.mjs +1 -1
  112. package/esm2022/lib/option/option.component.mjs +1 -1
  113. package/esm2022/lib/progress-bar/index.mjs +4 -3
  114. package/esm2022/lib/progress-bar/progress-bar.component.mjs +19 -18
  115. package/esm2022/lib/progress-bar/progress-bar.defaults.mjs +21 -0
  116. package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
  117. package/esm2022/lib/progress-circle/index.mjs +4 -3
  118. package/esm2022/lib/progress-circle/progress-circle.component.mjs +18 -22
  119. package/esm2022/lib/progress-circle/progress-circle.defaults.mjs +21 -0
  120. package/esm2022/lib/progress-circle/progress-circle.module.mjs +4 -4
  121. package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
  122. package/esm2022/lib/radio/index.mjs +4 -3
  123. package/esm2022/lib/radio/radio/radio.component.mjs +13 -10
  124. package/esm2022/lib/radio/radio/radio.defaults.mjs +16 -0
  125. package/esm2022/lib/radio/radio-group.component.mjs +7 -7
  126. package/esm2022/lib/search-functions.mjs +2 -2
  127. package/esm2022/lib/segment/index.mjs +3 -2
  128. package/esm2022/lib/segment/segment.component.mjs +22 -21
  129. package/esm2022/lib/segment/segment.defaults.mjs +26 -0
  130. package/esm2022/lib/segment/segment.directives.mjs +1 -1
  131. package/esm2022/lib/select/index.mjs +3 -2
  132. package/esm2022/lib/select/select.component.mjs +76 -101
  133. package/esm2022/lib/select/select.defaults.mjs +53 -0
  134. package/esm2022/lib/select/select.directive.mjs +1 -1
  135. package/esm2022/lib/select/select.types.mjs +1 -1
  136. package/esm2022/lib/slide-toggle/index.mjs +2 -1
  137. package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +17 -15
  138. package/esm2022/lib/slide-toggle/slide-toggle.defaults.mjs +21 -0
  139. package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +1 -1
  140. package/esm2022/lib/slider/abstract-slider.mjs +44 -34
  141. package/esm2022/lib/slider/index.mjs +5 -4
  142. package/esm2022/lib/slider/range-slider/range-slider.component.mjs +13 -9
  143. package/esm2022/lib/slider/slider.component.mjs +13 -9
  144. package/esm2022/lib/slider/slider.defaults.mjs +14 -0
  145. package/esm2022/lib/slider/slider.module.mjs +1 -1
  146. package/esm2022/lib/slider/slider.types.mjs +1 -1
  147. package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
  148. package/esm2022/lib/snackbar/snackbar.component.mjs +3 -3
  149. package/esm2022/lib/snackbar/snackbar.service.mjs +8 -12
  150. package/esm2022/lib/snackbar/snackbar.token.mjs +12 -6
  151. package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
  152. package/esm2022/lib/spinner/index.mjs +3 -2
  153. package/esm2022/lib/spinner/spinner.component.mjs +7 -6
  154. package/esm2022/lib/spinner/spinner.defaults.mjs +14 -0
  155. package/esm2022/lib/star/index.mjs +3 -2
  156. package/esm2022/lib/star/star-button/index.mjs +3 -2
  157. package/esm2022/lib/star/star-button/star-button.component.mjs +14 -11
  158. package/esm2022/lib/star/star-button/star-button.defaults.mjs +18 -0
  159. package/esm2022/lib/star/star-display/index.mjs +3 -2
  160. package/esm2022/lib/star/star-display/star-display.component.mjs +10 -8
  161. package/esm2022/lib/star/star-display/star-display.defaults.mjs +16 -0
  162. package/esm2022/lib/star/star-input/index.mjs +3 -2
  163. package/esm2022/lib/star/star-input/star-input.component.mjs +14 -11
  164. package/esm2022/lib/star/star-input/star-input.defaults.mjs +17 -0
  165. package/esm2022/lib/star/star.component.mjs +15 -8
  166. package/esm2022/lib/star/star.defaults.mjs +15 -0
  167. package/esm2022/lib/statebox/index.mjs +2 -1
  168. package/esm2022/lib/statebox/statebox.component.mjs +19 -25
  169. package/esm2022/lib/statebox/statebox.defaults.mjs +20 -0
  170. package/esm2022/lib/statebox/statebox.types.mjs +1 -1
  171. package/esm2022/lib/tabber/index.mjs +5 -3
  172. package/esm2022/lib/tabber/tab/tab.component.mjs +7 -5
  173. package/esm2022/lib/tabber/tab/tab.defaults.mjs +13 -0
  174. package/esm2022/lib/tabber/tabber.component.mjs +10 -10
  175. package/esm2022/lib/tabber/tabber.defaults.mjs +19 -0
  176. package/esm2022/lib/tabber/tabber.module.mjs +1 -1
  177. package/esm2022/lib/table/index.mjs +3 -2
  178. package/esm2022/lib/table/table-item-storage.mjs +4 -4
  179. package/esm2022/lib/table/table.component.mjs +69 -50
  180. package/esm2022/lib/table/table.defaults.mjs +53 -0
  181. package/esm2022/lib/table/table.directives.mjs +1 -1
  182. package/esm2022/lib/table/table.module.mjs +8 -7
  183. package/esm2022/lib/table-from-csv/index.mjs +3 -2
  184. package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +44 -44
  185. package/esm2022/lib/table-from-csv/table-from-csv.defaults.mjs +15 -0
  186. package/esm2022/lib/table-pagination/index.mjs +3 -2
  187. package/esm2022/lib/table-pagination/table-pagination.component.mjs +13 -9
  188. package/esm2022/lib/table-pagination/table-pagination.defaults.mjs +25 -0
  189. package/esm2022/lib/text-list/index.mjs +4 -0
  190. package/esm2022/lib/text-list/text-list.component.mjs +18 -0
  191. package/esm2022/lib/text-list/text-list.module.mjs +19 -0
  192. package/esm2022/lib/text-list/text-list.pipe.mjs +16 -0
  193. package/esm2022/lib/types/button.types.mjs +1 -1
  194. package/esm2022/lib/types/item-storage.types.mjs +1 -1
  195. package/esm2022/lib/types/utility.types.mjs +1 -1
  196. package/esm2022/public-api.mjs +25 -24
  197. package/fesm2022/ardium-ui-ui.mjs +6069 -5375
  198. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  199. package/lib/_internal/clear-button/clear-button.component.d.ts +1 -0
  200. package/lib/_internal/disablable-component.d.ts +1 -0
  201. package/lib/_internal/item-storages/dropdown-item-storage.d.ts +9 -19
  202. package/lib/_internal/item-storages/simple-item-storage.d.ts +1 -1
  203. package/lib/_internal/item-storages/simplest-item-storage.d.ts +3 -3
  204. package/lib/_internal/models/pagination.model.d.ts +2 -2
  205. package/lib/_internal/selectable-list-component.d.ts +0 -1
  206. package/lib/badge/badge.defaults.d.ts +2 -1
  207. package/lib/buttons/_button-base.d.ts +1 -0
  208. package/lib/buttons/button/button.component.d.ts +3 -1
  209. package/lib/buttons/button/button.defaults.d.ts +2 -1
  210. package/lib/buttons/fab/fab.component.d.ts +5 -5
  211. package/lib/buttons/fab/fab.defaults.d.ts +4 -4
  212. package/lib/buttons/general-button.types.d.ts +2 -2
  213. package/lib/buttons/icon-button/icon-button.component.d.ts +3 -1
  214. package/lib/buttons/icon-button/icon-button.defaults.d.ts +2 -1
  215. package/lib/card/card.defaults.d.ts +2 -1
  216. package/lib/checkbox/checkbox.component.d.ts +4 -3
  217. package/lib/checkbox/checkbox.defaults.d.ts +2 -1
  218. package/lib/checkbox-list/checkbox-list.component.d.ts +4 -2
  219. package/lib/checkbox-list/checkbox-list.defaults.d.ts +2 -1
  220. package/lib/checkbox-list/index.d.ts +2 -1
  221. package/lib/chip/chip.component.d.ts +3 -1
  222. package/lib/chip/chip.defaults.d.ts +3 -10
  223. package/lib/chip/deletable-chip/deletable-chip.component.d.ts +3 -1
  224. package/lib/chip/deletable-chip/deletable-chip.defaults.d.ts +2 -1
  225. package/lib/chip/index.d.ts +4 -1
  226. package/lib/chip/selectable-chip/selectable-chip.component.d.ts +3 -1
  227. package/lib/chip/selectable-chip/selectable-chip.defaults.d.ts +2 -1
  228. package/lib/color/color-display/color-display.component.d.ts +2 -1
  229. package/lib/color/color-display/color-display.defaults.d.ts +9 -0
  230. package/lib/color/color-display/index.d.ts +2 -1
  231. package/lib/dialog/dialog.component.d.ts +1 -0
  232. package/lib/dialog/dialog.defaults.d.ts +16 -0
  233. package/lib/dialog/index.d.ts +3 -2
  234. package/lib/divider/divider.defaults.d.ts +2 -1
  235. package/lib/divider/index.d.ts +2 -1
  236. package/lib/dropdown-panel/dropdown-panel.component.d.ts +1 -0
  237. package/lib/dropdown-panel/dropdown-panel.defaults.d.ts +10 -0
  238. package/lib/dropdown-panel/index.d.ts +2 -1
  239. package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +5 -2
  240. package/lib/file-inputs/file-drop-area/file-drop-area.defaults.d.ts +10 -0
  241. package/lib/file-inputs/file-drop-area/index.d.ts +2 -1
  242. package/lib/file-inputs/file-input/file-input.component.d.ts +4 -4
  243. package/lib/file-inputs/file-input/file-input.defaults.d.ts +15 -0
  244. package/lib/file-inputs/file-input/index.d.ts +2 -1
  245. package/lib/file-inputs/file-input-base.d.ts +2 -0
  246. package/lib/file-inputs/file-input-base.defaults.d.ts +7 -0
  247. package/lib/form-field-frame/form-field-frame.component.d.ts +3 -0
  248. package/lib/form-field-frame/form-field-frame.defaults.d.ts +10 -0
  249. package/lib/form-field-frame/index.d.ts +2 -1
  250. package/lib/icon/icon.component.d.ts +7 -3
  251. package/lib/icon/icon.defaults.d.ts +11 -0
  252. package/lib/icon/index.d.ts +2 -1
  253. package/lib/inputs/_simple-input-base.d.ts +62 -0
  254. package/lib/inputs/digit-input/digit-input.component.d.ts +3 -0
  255. package/lib/inputs/digit-input/digit-input.defaults.d.ts +13 -0
  256. package/lib/inputs/digit-input/index.d.ts +2 -1
  257. package/lib/inputs/hex-input/hex-input.component.d.ts +4 -4
  258. package/lib/inputs/hex-input/hex-input.defaults.d.ts +19 -0
  259. package/lib/inputs/{hex-input.model.d.ts → hex-input/hex-input.model.d.ts} +2 -2
  260. package/lib/inputs/hex-input/index.d.ts +2 -1
  261. package/lib/inputs/input/input.component.d.ts +10 -17
  262. package/lib/inputs/input/input.defaults.d.ts +9 -0
  263. package/lib/inputs/number-input/index.d.ts +2 -1
  264. package/lib/inputs/number-input/number-input.component.d.ts +3 -1
  265. package/lib/inputs/number-input/number-input.defaults.d.ts +19 -0
  266. package/lib/inputs/password-input/index.d.ts +2 -1
  267. package/lib/inputs/password-input/password-input.component.d.ts +3 -0
  268. package/lib/inputs/password-input/password-input.defaults.d.ts +17 -0
  269. package/lib/inputs/simple-input/index.d.ts +2 -1
  270. package/lib/inputs/simple-input/simple-input.component.d.ts +6 -50
  271. package/lib/inputs/simple-input/simple-input.defaults.d.ts +6 -0
  272. package/lib/kbd/index.d.ts +1 -0
  273. package/lib/kbd/kbd.component.d.ts +1 -0
  274. package/lib/kbd/kbd.defaults.d.ts +8 -0
  275. package/lib/kbd/kbd.pipe.d.ts +1 -0
  276. package/lib/kbd-shortcut/index.d.ts +2 -1
  277. package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +2 -0
  278. package/lib/kbd-shortcut/kbd-shortcut.defaults.d.ts +8 -0
  279. package/lib/modal/index.d.ts +2 -1
  280. package/lib/modal/modal.component.d.ts +1 -0
  281. package/lib/modal/modal.defaults.d.ts +14 -0
  282. package/lib/progress-bar/index.d.ts +3 -2
  283. package/lib/progress-bar/progress-bar.component.d.ts +3 -1
  284. package/lib/progress-bar/progress-bar.defaults.d.ts +14 -0
  285. package/lib/progress-circle/index.d.ts +3 -2
  286. package/lib/progress-circle/progress-circle.component.d.ts +3 -1
  287. package/lib/progress-circle/progress-circle.defaults.d.ts +14 -0
  288. package/lib/progress-circle/progress-circle.module.d.ts +1 -1
  289. package/lib/radio/index.d.ts +3 -2
  290. package/lib/radio/radio/radio.component.d.ts +5 -2
  291. package/lib/radio/radio/radio.defaults.d.ts +8 -0
  292. package/lib/segment/index.d.ts +2 -1
  293. package/lib/segment/segment.component.d.ts +3 -0
  294. package/lib/segment/segment.defaults.d.ts +18 -0
  295. package/lib/select/index.d.ts +2 -1
  296. package/lib/select/select.component.d.ts +11 -22
  297. package/lib/select/select.defaults.d.ts +49 -0
  298. package/lib/slide-toggle/index.d.ts +1 -0
  299. package/lib/slide-toggle/slide-toggle.component.d.ts +9 -6
  300. package/lib/slide-toggle/slide-toggle.defaults.d.ts +14 -0
  301. package/lib/slider/abstract-slider.d.ts +22 -5
  302. package/lib/slider/index.d.ts +4 -3
  303. package/lib/slider/range-slider/range-slider.component.d.ts +3 -0
  304. package/lib/slider/slider.component.d.ts +3 -0
  305. package/lib/slider/slider.defaults.d.ts +6 -0
  306. package/lib/snackbar/snackbar.service.d.ts +1 -2
  307. package/lib/snackbar/snackbar.token.d.ts +3 -3
  308. package/lib/spinner/index.d.ts +2 -1
  309. package/lib/spinner/spinner.component.d.ts +1 -0
  310. package/lib/spinner/spinner.defaults.d.ts +7 -0
  311. package/lib/star/index.d.ts +2 -1
  312. package/lib/star/star-button/index.d.ts +2 -1
  313. package/lib/star/star-button/star-button.component.d.ts +3 -0
  314. package/lib/star/star-button/star-button.defaults.d.ts +10 -0
  315. package/lib/star/star-display/index.d.ts +2 -1
  316. package/lib/star/star-display/star-display.component.d.ts +1 -0
  317. package/lib/star/star-display/star-display.defaults.d.ts +9 -0
  318. package/lib/star/star-input/index.d.ts +2 -1
  319. package/lib/star/star-input/star-input.component.d.ts +3 -1
  320. package/lib/star/star-input/star-input.defaults.d.ts +9 -0
  321. package/lib/star/star.component.d.ts +4 -2
  322. package/lib/star/star.defaults.d.ts +8 -0
  323. package/lib/statebox/index.d.ts +1 -0
  324. package/lib/statebox/statebox.component.d.ts +7 -6
  325. package/lib/statebox/statebox.defaults.d.ts +10 -0
  326. package/lib/tabber/index.d.ts +4 -2
  327. package/lib/tabber/tab/tab.component.d.ts +1 -0
  328. package/lib/tabber/tab/tab.defaults.d.ts +6 -0
  329. package/lib/tabber/tabber.component.d.ts +1 -0
  330. package/lib/tabber/tabber.defaults.d.ts +12 -0
  331. package/lib/table/index.d.ts +2 -1
  332. package/lib/table/table-item-storage.d.ts +5 -10
  333. package/lib/table/table.component.d.ts +11 -9
  334. package/lib/table/table.defaults.d.ts +50 -0
  335. package/lib/table/table.module.d.ts +2 -1
  336. package/lib/table-from-csv/index.d.ts +2 -1
  337. package/lib/table-from-csv/table-from-csv.component.d.ts +7 -5
  338. package/lib/table-from-csv/table-from-csv.defaults.d.ts +7 -0
  339. package/lib/table-pagination/index.d.ts +2 -1
  340. package/lib/table-pagination/table-pagination.component.d.ts +3 -0
  341. package/lib/table-pagination/table-pagination.defaults.d.ts +20 -0
  342. package/lib/text-list/index.d.ts +3 -0
  343. package/lib/text-list/text-list.component.d.ts +8 -0
  344. package/lib/text-list/text-list.module.d.ts +9 -0
  345. package/lib/text-list/text-list.pipe.d.ts +7 -0
  346. package/lib/types/button.types.d.ts +1 -1
  347. package/lib/types/item-storage.types.d.ts +3 -63
  348. package/package.json +1 -1
  349. package/prebuilt-themes/default/buttons/fab.css +1 -1
  350. package/prebuilt-themes/default/buttons/icon-button.css +7 -12
  351. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  352. package/prebuilt-themes/default/checkbox.css.map +1 -1
  353. package/prebuilt-themes/default/inputs/color-input.css +5 -0
  354. package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
  355. package/prebuilt-themes/default/inputs/file-input.css +5 -0
  356. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  357. package/prebuilt-themes/default/inputs/hex-input.css +5 -0
  358. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
  359. package/prebuilt-themes/default/inputs/input.css +5 -0
  360. package/prebuilt-themes/default/inputs/input.css.map +1 -1
  361. package/prebuilt-themes/default/inputs/number-input.css +5 -0
  362. package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
  363. package/prebuilt-themes/default/inputs/password-input.css +5 -0
  364. package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
  365. package/prebuilt-themes/default/inputs/search-bar.css +5 -0
  366. package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
  367. package/prebuilt-themes/default/inputs/simple-input.css +5 -0
  368. package/prebuilt-themes/default/inputs/simple-input.css.map +1 -1
  369. package/prebuilt-themes/default/segment.css.map +1 -1
  370. package/prebuilt-themes/default/select.css +4 -0
  371. package/prebuilt-themes/default/select.css.map +1 -1
  372. package/prebuilt-themes/default/tabber.css +2 -0
  373. package/prebuilt-themes/default/tabber.css.map +1 -1
  374. package/prebuilt-themes/default/table.css +17 -0
  375. package/prebuilt-themes/default/table.css.map +1 -1
  376. package/public-api.d.ts +24 -23
  377. package/themes/default/_clear-button.scss +73 -73
  378. package/themes/default/badge.scss +94 -94
  379. package/themes/default/buttons/button.scss +72 -72
  380. package/themes/default/buttons/fab.scss +74 -74
  381. package/themes/default/buttons/icon-button.scss +55 -62
  382. package/themes/default/card.scss +129 -129
  383. package/themes/default/checkbox.scss +1 -1
  384. package/themes/default/chips.scss +200 -200
  385. package/themes/default/core.scss +99 -99
  386. package/themes/default/inputs/_shared.scss +5 -0
  387. package/themes/default/inputs/digit-input.scss +56 -56
  388. package/themes/default/inputs/file-input.scss +85 -85
  389. package/themes/default/inputs/hex-input.scss +27 -27
  390. package/themes/default/modal.scss +93 -93
  391. package/themes/default/segment.scss +355 -351
  392. package/themes/default/select.scss +259 -255
  393. package/themes/default/snackbar.scss +58 -58
  394. package/themes/default/tabber.scss +89 -87
  395. package/themes/default/table.scss +20 -0
  396. package/esm2022/lib/color/color-picker/color-picker.types.mjs +0 -11
  397. package/esm2022/lib/inputs/color-input/color-input.directives.mjs +0 -101
  398. package/esm2022/lib/inputs/color-input/color-input.types.mjs +0 -2
  399. package/esm2022/lib/inputs/hex-input.model.mjs +0 -97
  400. package/lib/color/color-picker/color-picker.types.d.ts +0 -21
  401. package/lib/inputs/color-input/color-input.directives.d.ts +0 -52
  402. package/lib/inputs/color-input/color-input.types.d.ts +0 -5
@@ -1,129 +1,129 @@
1
- @import '../variables';
2
-
3
- ard-card,
4
- .ard-card {
5
- position: relative;
6
- background: $bg;
7
- box-sizing: border-box;
8
- width: 100%;
9
- height: max-content;
10
- display: block;
11
-
12
- //! appearances
13
- &.ard-appearance-outlined {
14
- border: 1px solid $border-light;
15
- }
16
- &.ard-appearance-raised {
17
- box-shadow: $card-shadow;
18
- }
19
- //! variants
20
- &.ard-variant-sharp {
21
- border-radius: 0;
22
- }
23
- &.ard-variant-rounded {
24
- border-radius: 8px;
25
- }
26
- }
27
- //! header
28
- ard-card-header {
29
- padding: 0.5em 1em 0 1em;
30
- display: flex;
31
- align-items: center;
32
- margin-bottom: 1em;
33
- max-width: 100%;
34
-
35
- .ard-card-header-title-container {
36
- display: flex;
37
- flex-direction: column;
38
- justify-content: center;
39
- }
40
-
41
- &:first-child {
42
- padding-top: 1em;
43
- }
44
- }
45
- .ard-card-title,
46
- .ard-card-subtitle {
47
- line-height: normal;
48
- display: block;
49
- margin: 0;
50
- font-weight: 500;
51
- }
52
- .ard-card-title {
53
- font-size: 1.375em;
54
- letter-spacing: 0.0125em;
55
- color: $text;
56
- }
57
- .ard-card-subtitle {
58
- font-size: 1em;
59
- letter-spacing: 0.0078125em;
60
- color: $text3;
61
- margin-top: 0.125rem;
62
- }
63
- .ard-card-avatar {
64
- display: block;
65
- width: 3em;
66
- height: 3em;
67
- border-radius: 9999px;
68
- flex-shrink: 0;
69
- object-fit: cover;
70
-
71
- ~ .ard-card-header-title-container {
72
- padding: 0 1em;
73
- }
74
- }
75
- //! image
76
- .ard-card-image {
77
- position: relative;
78
- box-sizing: border-box;
79
- background-repeat: no-repeat;
80
- background-position: center;
81
- background-size: cover;
82
- max-width: 100%;
83
-
84
- &:first-child {
85
- border-top-left-radius: inherit;
86
- border-top-right-radius: inherit;
87
- }
88
- &:last-child {
89
- border-bottom-left-radius: inherit;
90
- border-bottom-right-radius: inherit;
91
- }
92
- }
93
- //! content
94
- .ard-card-content {
95
- padding: 0 1em;
96
- display: block;
97
- max-width: 100%;
98
-
99
- &:first-child {
100
- padding-top: 1em;
101
- }
102
- &:last-child {
103
- padding-bottom: 1em;
104
- }
105
-
106
- > :last-child {
107
- margin-bottom: 0;
108
- }
109
- }
110
- //! action buttons
111
- .ard-card-action-buttons {
112
- padding: 0.5em;
113
- display: flex;
114
- flex-direction: row;
115
- align-items: center;
116
- max-width: 100%;
117
-
118
- &.ard-align-left {
119
- justify-content: flex-start;
120
- }
121
- &.ard-align-middle {
122
- justify-content: center;
123
- }
124
- &.ard-align-right {
125
- justify-content: flex-end;
126
- }
127
- }
128
- //! footer
129
- //no styling needed
1
+ @import '../variables';
2
+
3
+ ard-card,
4
+ .ard-card {
5
+ position: relative;
6
+ background: $bg;
7
+ box-sizing: border-box;
8
+ width: 100%;
9
+ height: max-content;
10
+ display: block;
11
+
12
+ //! appearances
13
+ &.ard-appearance-outlined {
14
+ border: 1px solid $border-light;
15
+ }
16
+ &.ard-appearance-raised {
17
+ box-shadow: $card-shadow;
18
+ }
19
+ //! variants
20
+ &.ard-variant-sharp {
21
+ border-radius: 0;
22
+ }
23
+ &.ard-variant-rounded {
24
+ border-radius: 8px;
25
+ }
26
+ }
27
+ //! header
28
+ ard-card-header {
29
+ padding: 0.5em 1em 0 1em;
30
+ display: flex;
31
+ align-items: center;
32
+ margin-bottom: 1em;
33
+ max-width: 100%;
34
+
35
+ .ard-card-header-title-container {
36
+ display: flex;
37
+ flex-direction: column;
38
+ justify-content: center;
39
+ }
40
+
41
+ &:first-child {
42
+ padding-top: 1em;
43
+ }
44
+ }
45
+ .ard-card-title,
46
+ .ard-card-subtitle {
47
+ line-height: normal;
48
+ display: block;
49
+ margin: 0;
50
+ font-weight: 500;
51
+ }
52
+ .ard-card-title {
53
+ font-size: 1.375em;
54
+ letter-spacing: 0.0125em;
55
+ color: $text;
56
+ }
57
+ .ard-card-subtitle {
58
+ font-size: 1em;
59
+ letter-spacing: 0.0078125em;
60
+ color: $text3;
61
+ margin-top: 0.125rem;
62
+ }
63
+ .ard-card-avatar {
64
+ display: block;
65
+ width: 3em;
66
+ height: 3em;
67
+ border-radius: 9999px;
68
+ flex-shrink: 0;
69
+ object-fit: cover;
70
+
71
+ ~ .ard-card-header-title-container {
72
+ padding: 0 1em;
73
+ }
74
+ }
75
+ //! image
76
+ .ard-card-image {
77
+ position: relative;
78
+ box-sizing: border-box;
79
+ background-repeat: no-repeat;
80
+ background-position: center;
81
+ background-size: cover;
82
+ max-width: 100%;
83
+
84
+ &:first-child {
85
+ border-top-left-radius: inherit;
86
+ border-top-right-radius: inherit;
87
+ }
88
+ &:last-child {
89
+ border-bottom-left-radius: inherit;
90
+ border-bottom-right-radius: inherit;
91
+ }
92
+ }
93
+ //! content
94
+ .ard-card-content {
95
+ padding: 0 1em;
96
+ display: block;
97
+ max-width: 100%;
98
+
99
+ &:first-child {
100
+ padding-top: 1em;
101
+ }
102
+ &:last-child {
103
+ padding-bottom: 1em;
104
+ }
105
+
106
+ > :last-child {
107
+ margin-bottom: 0;
108
+ }
109
+ }
110
+ //! action buttons
111
+ .ard-card-action-buttons {
112
+ padding: 0.5em;
113
+ display: flex;
114
+ flex-direction: row;
115
+ align-items: center;
116
+ max-width: 100%;
117
+
118
+ &.ard-align-left {
119
+ justify-content: flex-start;
120
+ }
121
+ &.ard-align-middle {
122
+ justify-content: center;
123
+ }
124
+ &.ard-align-right {
125
+ justify-content: flex-end;
126
+ }
127
+ }
128
+ //! footer
129
+ //no styling needed
@@ -17,8 +17,8 @@
17
17
  background: none;
18
18
  padding: 0;
19
19
  outline: none;
20
-
21
20
  color: $text2;
21
+
22
22
  &.ard-color-currentColor {
23
23
  color: currentColor;
24
24
  }
@@ -1,200 +1,200 @@
1
- @use './mixins' as defaultMixins;
2
- @use './coloring' as coloringMixins;
3
- @use './clear-button' as clearButton;
4
- @import '../variables';
5
-
6
- //! general css
7
- .ard-chip-wrapper {
8
- @include coloringMixins.typeColors();
9
- @include clearButton.clearButton();
10
- @include defaultMixins.formVariants();
11
-
12
- font-family: 'Roboto', sans-serif;
13
- color: $text2;
14
- background: $bg;
15
- border-radius: var(--ard-variant-border-radius);
16
- padding: 0;
17
- margin: 6px;
18
- vertical-align: middle;
19
- display: flex;
20
- align-items: center;
21
- font-size: 14px;
22
- position: relative;
23
- outline: none;
24
- user-select: none;
25
- overflow: hidden;
26
- height: 32px;
27
-
28
- > .ard-chip-content-wrapper {
29
- padding: 0 12px;
30
- }
31
- > .ard-focus-overlay {
32
- @include defaultMixins.focus-overlay;
33
- background: $overlay;
34
- border-radius: 0;
35
- }
36
-
37
- &.ard-chip-selectable {
38
- cursor: pointer;
39
- display: flex;
40
- align-items: center;
41
-
42
- &:hover,
43
- &:focus {
44
- > .ard-focus-overlay {
45
- opacity: 7.5%;
46
- }
47
- }
48
- &:active {
49
- > .ard-focus-overlay {
50
- opacity: 20%;
51
- }
52
- }
53
-
54
- .ard-chip-selection-icon {
55
- @include defaultMixins.icon;
56
-
57
- &::after {
58
- content: '\e876';
59
- }
60
- }
61
- }
62
- //! appearances
63
- &.ard-appearance-filled {
64
- background: var(--ard-cmpcl--bg-colored);
65
- color: var(--ard-cmpcl--on-bg-colored);
66
- border: none;
67
-
68
- &.ard-chip-selectable {
69
- background-color: $bg-f;
70
- color: $text2;
71
- transition:
72
- color 0.15s ease,
73
- border-color 0.15s ease,
74
- background-color 0.15s ease;
75
-
76
- &.ard-chip-selected {
77
- color: var(--ard-cmpcl--on-bg-colored);
78
- background: var(--ard-cmpcl--bg-colored);
79
- }
80
- }
81
- }
82
- &.ard-appearance-outlined,
83
- &.ard-appearance-outlined-strong {
84
- background: transparent;
85
- color: var(--ard-cmpcl--content);
86
- border: 1px solid var(--ard-cmpcl--bg-colored);
87
- border-radius: var(--ard-variant-border-radius);
88
- font-weight: 600;
89
-
90
- &.ard-chip-selectable {
91
- transition:
92
- color 0.15s ease,
93
- border-color 0.15s ease;
94
-
95
- > .ard-focus-overlay {
96
- opacity: 0;
97
- background: var(--ard-cmpcl--bg-colored);
98
- }
99
- &:hover,
100
- &:focus {
101
- > .ard-focus-overlay {
102
- opacity: 4%;
103
- }
104
- }
105
- &:active {
106
- > .ard-focus-overlay {
107
- opacity: 10%;
108
- }
109
- }
110
-
111
- &.ard-chip-selected {
112
- color: var(--ard-cmpcl--content);
113
-
114
- > .ard-focus-overlay {
115
- opacity: 7.5%;
116
- }
117
- &:hover,
118
- &:focus {
119
- > .ard-focus-overlay {
120
- opacity: 15%;
121
- }
122
- }
123
- &:active {
124
- > .ard-focus-overlay {
125
- opacity: 20%;
126
- }
127
- }
128
- }
129
- }
130
- }
131
- &.ard-appearance-outlined-strong {
132
- > .ard-focus-overlay {
133
- opacity: 7.5%;
134
- background: var(--ard-cmpcl--bg-colored);
135
- }
136
- }
137
-
138
- //! alignments
139
- &.ard-chip-align-left {
140
- flex-direction: row;
141
- padding-left: 2px;
142
-
143
- .ard-chip-selection-icon {
144
- padding-left: 8px;
145
- margin-right: -2px;
146
- }
147
- &.ard-chip-deletable {
148
- padding-left: 4px;
149
-
150
- .ard-chip-content-wrapper {
151
- padding-left: 8px;
152
- }
153
- }
154
- }
155
- &.ard-chip-align-right {
156
- flex-direction: row-reverse;
157
- padding-right: 2px;
158
-
159
- .ard-chip-selection-icon {
160
- padding-right: 8px;
161
- margin-left: -2px;
162
- }
163
- &.ard-chip-deletable {
164
- padding-right: 4px;
165
-
166
- .ard-chip-content-wrapper {
167
- padding-right: 8px;
168
- }
169
- }
170
- }
171
- //! compact
172
- &.ard-compact {
173
- height: 23px;
174
- font-size: 13px;
175
-
176
- > .ard-chip-content-wrapper {
177
- padding: 0 9px;
178
- }
179
-
180
- &.ard-chip-align-left .ard-chip-selection-icon {
181
- padding-left: 4px;
182
- margin-right: -4px;
183
- }
184
- &.ard-chip-align-right .ard-chip-selection-icon {
185
- padding-right: 4px;
186
- margin-left: -4px;
187
- }
188
- }
189
- }
190
- //! disabled state
191
- .ard-disabled {
192
- .ard-chip-wrapper {
193
- pointer-events: none;
194
- opacity: 60%;
195
-
196
- &.ard-chip-selected {
197
- opacity: 40%;
198
- }
199
- }
200
- }
1
+ @use './mixins' as defaultMixins;
2
+ @use './coloring' as coloringMixins;
3
+ @use './clear-button' as clearButton;
4
+ @import '../variables';
5
+
6
+ //! general css
7
+ .ard-chip-wrapper {
8
+ @include coloringMixins.typeColors();
9
+ @include clearButton.clearButton();
10
+ @include defaultMixins.formVariants();
11
+
12
+ font-family: 'Roboto', sans-serif;
13
+ color: $text2;
14
+ background: $bg;
15
+ border-radius: var(--ard-variant-border-radius);
16
+ padding: 0;
17
+ margin: 6px;
18
+ vertical-align: middle;
19
+ display: flex;
20
+ align-items: center;
21
+ font-size: 14px;
22
+ position: relative;
23
+ outline: none;
24
+ user-select: none;
25
+ overflow: hidden;
26
+ height: 32px;
27
+
28
+ > .ard-chip-content-wrapper {
29
+ padding: 0 12px;
30
+ }
31
+ > .ard-focus-overlay {
32
+ @include defaultMixins.focus-overlay;
33
+ background: $overlay;
34
+ border-radius: 0;
35
+ }
36
+
37
+ &.ard-chip-selectable {
38
+ cursor: pointer;
39
+ display: flex;
40
+ align-items: center;
41
+
42
+ &:hover,
43
+ &:focus {
44
+ > .ard-focus-overlay {
45
+ opacity: 7.5%;
46
+ }
47
+ }
48
+ &:active {
49
+ > .ard-focus-overlay {
50
+ opacity: 20%;
51
+ }
52
+ }
53
+
54
+ .ard-chip-selection-icon {
55
+ @include defaultMixins.icon;
56
+
57
+ &::after {
58
+ content: '\e876';
59
+ }
60
+ }
61
+ }
62
+ //! appearances
63
+ &.ard-appearance-filled {
64
+ background: var(--ard-cmpcl--bg-colored);
65
+ color: var(--ard-cmpcl--on-bg-colored);
66
+ border: none;
67
+
68
+ &.ard-chip-selectable {
69
+ background-color: $bg-f;
70
+ color: $text2;
71
+ transition:
72
+ color 0.15s ease,
73
+ border-color 0.15s ease,
74
+ background-color 0.15s ease;
75
+
76
+ &.ard-chip-selected {
77
+ color: var(--ard-cmpcl--on-bg-colored);
78
+ background: var(--ard-cmpcl--bg-colored);
79
+ }
80
+ }
81
+ }
82
+ &.ard-appearance-outlined,
83
+ &.ard-appearance-outlined-strong {
84
+ background: transparent;
85
+ color: var(--ard-cmpcl--content);
86
+ border: 1px solid var(--ard-cmpcl--bg-colored);
87
+ border-radius: var(--ard-variant-border-radius);
88
+ font-weight: 600;
89
+
90
+ &.ard-chip-selectable {
91
+ transition:
92
+ color 0.15s ease,
93
+ border-color 0.15s ease;
94
+
95
+ > .ard-focus-overlay {
96
+ opacity: 0;
97
+ background: var(--ard-cmpcl--bg-colored);
98
+ }
99
+ &:hover,
100
+ &:focus {
101
+ > .ard-focus-overlay {
102
+ opacity: 4%;
103
+ }
104
+ }
105
+ &:active {
106
+ > .ard-focus-overlay {
107
+ opacity: 10%;
108
+ }
109
+ }
110
+
111
+ &.ard-chip-selected {
112
+ color: var(--ard-cmpcl--content);
113
+
114
+ > .ard-focus-overlay {
115
+ opacity: 7.5%;
116
+ }
117
+ &:hover,
118
+ &:focus {
119
+ > .ard-focus-overlay {
120
+ opacity: 15%;
121
+ }
122
+ }
123
+ &:active {
124
+ > .ard-focus-overlay {
125
+ opacity: 20%;
126
+ }
127
+ }
128
+ }
129
+ }
130
+ }
131
+ &.ard-appearance-outlined-strong {
132
+ > .ard-focus-overlay {
133
+ opacity: 7.5%;
134
+ background: var(--ard-cmpcl--bg-colored);
135
+ }
136
+ }
137
+
138
+ //! alignments
139
+ &.ard-chip-align-left {
140
+ flex-direction: row;
141
+ padding-left: 2px;
142
+
143
+ .ard-chip-selection-icon {
144
+ padding-left: 8px;
145
+ margin-right: -2px;
146
+ }
147
+ &.ard-chip-deletable {
148
+ padding-left: 4px;
149
+
150
+ .ard-chip-content-wrapper {
151
+ padding-left: 8px;
152
+ }
153
+ }
154
+ }
155
+ &.ard-chip-align-right {
156
+ flex-direction: row-reverse;
157
+ padding-right: 2px;
158
+
159
+ .ard-chip-selection-icon {
160
+ padding-right: 8px;
161
+ margin-left: -2px;
162
+ }
163
+ &.ard-chip-deletable {
164
+ padding-right: 4px;
165
+
166
+ .ard-chip-content-wrapper {
167
+ padding-right: 8px;
168
+ }
169
+ }
170
+ }
171
+ //! compact
172
+ &.ard-compact {
173
+ height: 23px;
174
+ font-size: 13px;
175
+
176
+ > .ard-chip-content-wrapper {
177
+ padding: 0 9px;
178
+ }
179
+
180
+ &.ard-chip-align-left .ard-chip-selection-icon {
181
+ padding-left: 4px;
182
+ margin-right: -4px;
183
+ }
184
+ &.ard-chip-align-right .ard-chip-selection-icon {
185
+ padding-right: 4px;
186
+ margin-left: -4px;
187
+ }
188
+ }
189
+ }
190
+ //! disabled state
191
+ .ard-disabled {
192
+ .ard-chip-wrapper {
193
+ pointer-events: none;
194
+ opacity: 60%;
195
+
196
+ &.ard-chip-selected {
197
+ opacity: 40%;
198
+ }
199
+ }
200
+ }