@ardium-ui/ui 4.1.0 → 4.1.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 (313) hide show
  1. package/README.md +25 -25
  2. package/esm2022/lib/_internal/boolean-component.mjs +1 -1
  3. package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +3 -3
  4. package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +1 -1
  5. package/esm2022/lib/_internal/disablable-component.mjs +1 -1
  6. package/esm2022/lib/_internal/focusable-component.mjs +1 -1
  7. package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +1 -1
  8. package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +1 -1
  9. package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +1 -1
  10. package/esm2022/lib/_internal/models/pagination.model.mjs +1 -1
  11. package/esm2022/lib/_internal/models/queue.mjs +1 -1
  12. package/esm2022/lib/_internal/public-api.mjs +1 -1
  13. package/esm2022/lib/_internal/selectable-list-component.mjs +1 -1
  14. package/esm2022/lib/badge/badge.defaults.mjs +1 -1
  15. package/esm2022/lib/badge/badge.directive.mjs +1 -1
  16. package/esm2022/lib/badge/badge.module.mjs +1 -1
  17. package/esm2022/lib/badge/badge.types.mjs +1 -1
  18. package/esm2022/lib/badge/index.mjs +1 -1
  19. package/esm2022/lib/buttons/_button-base.defaults.mjs +1 -1
  20. package/esm2022/lib/buttons/button/button.component.mjs +3 -3
  21. package/esm2022/lib/buttons/button/button.defaults.mjs +1 -1
  22. package/esm2022/lib/buttons/button/button.module.mjs +1 -1
  23. package/esm2022/lib/buttons/button/index.mjs +1 -1
  24. package/esm2022/lib/buttons/fab/fab.component.mjs +3 -3
  25. package/esm2022/lib/buttons/fab/fab.defaults.mjs +1 -1
  26. package/esm2022/lib/buttons/fab/fab.module.mjs +1 -1
  27. package/esm2022/lib/buttons/fab/index.mjs +1 -1
  28. package/esm2022/lib/buttons/general-button.types.mjs +1 -1
  29. package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +3 -3
  30. package/esm2022/lib/buttons/icon-button/icon-button.defaults.mjs +1 -1
  31. package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +1 -1
  32. package/esm2022/lib/buttons/icon-button/index.mjs +1 -1
  33. package/esm2022/lib/calendar/calendar.component.mjs +1 -1
  34. package/esm2022/lib/calendar/calendar.defaults.mjs +1 -1
  35. package/esm2022/lib/calendar/calendar.types.mjs +1 -1
  36. package/esm2022/lib/calendar/views/days-view/days-view.component.mjs +1 -1
  37. package/esm2022/lib/calendar/views/days-view/days-view.helpers.mjs +1 -1
  38. package/esm2022/lib/calendar/views/months-view/months-view.component.mjs +1 -1
  39. package/esm2022/lib/calendar/views/months-view/months-view.helpers.mjs +1 -1
  40. package/esm2022/lib/calendar/views/years-view/years-view.component.mjs +1 -1
  41. package/esm2022/lib/calendar/views/years-view/years-view.helpers.mjs +1 -1
  42. package/esm2022/lib/card/card.children.mjs +3 -3
  43. package/esm2022/lib/card/card.component.mjs +1 -1
  44. package/esm2022/lib/card/card.defaults.mjs +1 -1
  45. package/esm2022/lib/card/card.module.mjs +1 -1
  46. package/esm2022/lib/card/card.types.mjs +1 -1
  47. package/esm2022/lib/card/index.mjs +1 -1
  48. package/esm2022/lib/checkbox/checkbox.defaults.mjs +1 -1
  49. package/esm2022/lib/checkbox/index.mjs +1 -1
  50. package/esm2022/lib/checkbox-list/checkbox-list.defaults.mjs +1 -1
  51. package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +1 -1
  52. package/esm2022/lib/checkbox-list/index.mjs +1 -1
  53. package/esm2022/lib/chip/chip.component.mjs +3 -3
  54. package/esm2022/lib/chip/chip.defaults.mjs +1 -1
  55. package/esm2022/lib/chip/chip.module.mjs +1 -1
  56. package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +3 -3
  57. package/esm2022/lib/chip/deletable-chip/deletable-chip.defaults.mjs +1 -1
  58. package/esm2022/lib/chip/index.mjs +1 -1
  59. package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +3 -3
  60. package/esm2022/lib/chip/selectable-chip/selectable-chip.defaults.mjs +1 -1
  61. package/esm2022/lib/color/color-display/color-display.component.mjs +3 -3
  62. package/esm2022/lib/color/color-display/color-display.defaults.mjs +1 -1
  63. package/esm2022/lib/color/color-display/color-display.module.mjs +1 -1
  64. package/esm2022/lib/color/color-display/color-display.types.mjs +1 -1
  65. package/esm2022/lib/color/color-display/index.mjs +1 -1
  66. package/esm2022/lib/dialog/dialog.component.mjs +3 -3
  67. package/esm2022/lib/dialog/dialog.defaults.mjs +1 -1
  68. package/esm2022/lib/dialog/dialog.directives.mjs +1 -1
  69. package/esm2022/lib/dialog/dialog.module.mjs +1 -1
  70. package/esm2022/lib/dialog/index.mjs +1 -1
  71. package/esm2022/lib/divider/divider.component.mjs +1 -1
  72. package/esm2022/lib/divider/divider.defaults.mjs +1 -1
  73. package/esm2022/lib/divider/divider.module.mjs +1 -1
  74. package/esm2022/lib/divider/index.mjs +1 -1
  75. package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +3 -3
  76. package/esm2022/lib/dropdown-panel/dropdown-panel.defaults.mjs +1 -1
  77. package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +1 -1
  78. package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +1 -1
  79. package/esm2022/lib/dropdown-panel/index.mjs +1 -1
  80. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +14 -23
  81. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.defaults.mjs +1 -1
  82. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +1 -1
  83. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +1 -1
  84. package/esm2022/lib/file-inputs/file-drop-area/index.mjs +1 -1
  85. package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +30 -36
  86. package/esm2022/lib/file-inputs/file-input/file-input.defaults.mjs +1 -1
  87. package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +14 -1
  88. package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +40 -7
  89. package/esm2022/lib/file-inputs/file-input/index.mjs +1 -1
  90. package/esm2022/lib/file-inputs/file-input-base.defaults.mjs +1 -1
  91. package/esm2022/lib/file-inputs/file-input-base.mjs +21 -5
  92. package/esm2022/lib/file-inputs/file-input-types.mjs +1 -1
  93. package/esm2022/lib/form-field/error/error.component.mjs +1 -1
  94. package/esm2022/lib/form-field/error/error.directive.mjs +1 -1
  95. package/esm2022/lib/form-field/form-field.module.mjs +1 -1
  96. package/esm2022/lib/form-field/hint/hint.component.mjs +1 -1
  97. package/esm2022/lib/form-field/hint/hint.directive.mjs +1 -1
  98. package/esm2022/lib/form-field/horizontal-form-field.component.mjs +1 -1
  99. package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +3 -3
  100. package/esm2022/lib/form-field-frame/form-field-frame.defaults.mjs +1 -1
  101. package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +1 -1
  102. package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +1 -1
  103. package/esm2022/lib/form-field-frame/index.mjs +1 -1
  104. package/esm2022/lib/icon/icon.component.mjs +3 -3
  105. package/esm2022/lib/icon/icon.defaults.mjs +1 -1
  106. package/esm2022/lib/icon/icon.module.mjs +1 -1
  107. package/esm2022/lib/icon/icon.pipe.mjs +1 -1
  108. package/esm2022/lib/icon/index.mjs +1 -1
  109. package/esm2022/lib/inputs/date-input/date-input.defaults.mjs +1 -1
  110. package/esm2022/lib/inputs/date-input/date-input.serializers.mjs +1 -1
  111. package/esm2022/lib/inputs/digit-input/digit-input.defaults.mjs +1 -1
  112. package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
  113. package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +1 -1
  114. package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
  115. package/esm2022/lib/inputs/digit-input/index.mjs +1 -1
  116. package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +1 -1
  117. package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +1 -1
  118. package/esm2022/lib/inputs/hex-input/hex-input.model.mjs +1 -1
  119. package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +1 -1
  120. package/esm2022/lib/inputs/hex-input/index.mjs +1 -1
  121. package/esm2022/lib/inputs/input/index.mjs +1 -1
  122. package/esm2022/lib/inputs/input/input.component.mjs +3 -3
  123. package/esm2022/lib/inputs/input/input.defaults.mjs +1 -1
  124. package/esm2022/lib/inputs/input/input.directives.mjs +1 -1
  125. package/esm2022/lib/inputs/input-transformers.mjs +1 -1
  126. package/esm2022/lib/inputs/input-types.mjs +1 -1
  127. package/esm2022/lib/inputs/input-utils.mjs +1 -6
  128. package/esm2022/lib/inputs/number-input/index.mjs +1 -1
  129. package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +1 -1
  130. package/esm2022/lib/inputs/number-input/number-input.directives.mjs +1 -1
  131. package/esm2022/lib/inputs/number-input/number-input.module.mjs +1 -1
  132. package/esm2022/lib/inputs/password-input/index.mjs +1 -1
  133. package/esm2022/lib/inputs/password-input/password-input.component.mjs +3 -3
  134. package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +1 -1
  135. package/esm2022/lib/inputs/password-input/password-input.directives.mjs +1 -1
  136. package/esm2022/lib/inputs/password-input/password-input.module.mjs +1 -1
  137. package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
  138. package/esm2022/lib/inputs/simple-input/index.mjs +1 -1
  139. package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +3 -3
  140. package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +1 -1
  141. package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +1 -1
  142. package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +1 -1
  143. package/esm2022/lib/kbd/index.mjs +1 -1
  144. package/esm2022/lib/kbd/kbd.component.mjs +3 -3
  145. package/esm2022/lib/kbd/kbd.defaults.mjs +1 -1
  146. package/esm2022/lib/kbd/kbd.directive.mjs +1 -1
  147. package/esm2022/lib/kbd/kbd.module.mjs +1 -1
  148. package/esm2022/lib/kbd/kbd.pipe.mjs +1 -1
  149. package/esm2022/lib/kbd-shortcut/index.mjs +1 -1
  150. package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +3 -3
  151. package/esm2022/lib/kbd-shortcut/kbd-shortcut.defaults.mjs +1 -1
  152. package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +1 -1
  153. package/esm2022/lib/modal/modal.component.mjs +1 -1
  154. package/esm2022/lib/modal/modal.directives.mjs +1 -1
  155. package/esm2022/lib/modal/modal.module.mjs +1 -1
  156. package/esm2022/lib/option/index.mjs +1 -1
  157. package/esm2022/lib/option/option.component.mjs +1 -1
  158. package/esm2022/lib/option/option.module.mjs +1 -1
  159. package/esm2022/lib/progress-bar/index.mjs +1 -1
  160. package/esm2022/lib/progress-bar/progress-bar.component.mjs +3 -3
  161. package/esm2022/lib/progress-bar/progress-bar.defaults.mjs +1 -1
  162. package/esm2022/lib/progress-bar/progress-bar.directive.mjs +1 -1
  163. package/esm2022/lib/progress-bar/progress-bar.module.mjs +1 -1
  164. package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
  165. package/esm2022/lib/progress-circle/index.mjs +1 -1
  166. package/esm2022/lib/progress-circle/progress-circle.component.mjs +3 -3
  167. package/esm2022/lib/progress-circle/progress-circle.defaults.mjs +1 -1
  168. package/esm2022/lib/progress-circle/progress-circle.directive.mjs +1 -1
  169. package/esm2022/lib/progress-circle/progress-circle.module.mjs +1 -1
  170. package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
  171. package/esm2022/lib/radio/index.mjs +1 -1
  172. package/esm2022/lib/radio/radio/radio.component.mjs +3 -3
  173. package/esm2022/lib/radio/radio/radio.defaults.mjs +1 -1
  174. package/esm2022/lib/radio/radio-group.component.mjs +1 -1
  175. package/esm2022/lib/radio/radio.module.mjs +1 -1
  176. package/esm2022/lib/search-functions.mjs +1 -1
  177. package/esm2022/lib/segment/index.mjs +1 -1
  178. package/esm2022/lib/segment/segment.component.mjs +3 -3
  179. package/esm2022/lib/segment/segment.defaults.mjs +1 -1
  180. package/esm2022/lib/segment/segment.directives.mjs +1 -1
  181. package/esm2022/lib/segment/segment.module.mjs +1 -1
  182. package/esm2022/lib/segment/segment.types.mjs +1 -1
  183. package/esm2022/lib/select/index.mjs +1 -1
  184. package/esm2022/lib/select/select.defaults.mjs +1 -1
  185. package/esm2022/lib/select/select.directive.mjs +1 -1
  186. package/esm2022/lib/select/select.module.mjs +1 -1
  187. package/esm2022/lib/select/select.types.mjs +1 -1
  188. package/esm2022/lib/slide-toggle/index.mjs +1 -1
  189. package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +3 -3
  190. package/esm2022/lib/slide-toggle/slide-toggle.defaults.mjs +1 -1
  191. package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +1 -1
  192. package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +1 -1
  193. package/esm2022/lib/slider/abstract-slider.mjs +1 -1
  194. package/esm2022/lib/slider/index.mjs +1 -1
  195. package/esm2022/lib/slider/range-slider/range-slider.component.mjs +3 -3
  196. package/esm2022/lib/slider/range-slider/range-slider.module.mjs +1 -1
  197. package/esm2022/lib/slider/slider.component.mjs +1 -1
  198. package/esm2022/lib/slider/slider.defaults.mjs +1 -1
  199. package/esm2022/lib/slider/slider.directive.mjs +1 -1
  200. package/esm2022/lib/slider/slider.module.mjs +1 -1
  201. package/esm2022/lib/slider/slider.types.mjs +1 -1
  202. package/esm2022/lib/snackbar/index.mjs +1 -1
  203. package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
  204. package/esm2022/lib/snackbar/snackbar.component.mjs +3 -3
  205. package/esm2022/lib/snackbar/snackbar.service.mjs +1 -1
  206. package/esm2022/lib/snackbar/snackbar.token.mjs +1 -1
  207. package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
  208. package/esm2022/lib/spinner/index.mjs +1 -1
  209. package/esm2022/lib/spinner/spinner.component.mjs +3 -3
  210. package/esm2022/lib/spinner/spinner.defaults.mjs +1 -1
  211. package/esm2022/lib/spinner/spinner.module.mjs +1 -1
  212. package/esm2022/lib/star/rating-display/rating-display.component.mjs +1 -1
  213. package/esm2022/lib/star/rating-display/rating-display.defaults.mjs +1 -1
  214. package/esm2022/lib/star/rating-display/rating-display.directives.mjs +1 -1
  215. package/esm2022/lib/star/rating-display/rating-display.types.mjs +1 -1
  216. package/esm2022/lib/star/rating-input/rating-input.component.mjs +1 -1
  217. package/esm2022/lib/star/rating-input/rating-input.defaults.mjs +1 -1
  218. package/esm2022/lib/star/rating-input/rating-input.module.mjs +1 -1
  219. package/esm2022/lib/star/star-button/star-button.component.mjs +3 -3
  220. package/esm2022/lib/star/star-button/star-button.defaults.mjs +1 -1
  221. package/esm2022/lib/star/star-button/star-button.module.mjs +1 -1
  222. package/esm2022/lib/star/star.component.mjs +3 -3
  223. package/esm2022/lib/star/star.defaults.mjs +1 -1
  224. package/esm2022/lib/star/star.types.mjs +1 -1
  225. package/esm2022/lib/statebox/index.mjs +1 -1
  226. package/esm2022/lib/statebox/statebox.component.mjs +3 -3
  227. package/esm2022/lib/statebox/statebox.defaults.mjs +1 -1
  228. package/esm2022/lib/statebox/statebox.module.mjs +1 -1
  229. package/esm2022/lib/statebox/statebox.types.mjs +1 -1
  230. package/esm2022/lib/tabber/index.mjs +1 -1
  231. package/esm2022/lib/tabber/tab/tab.component.mjs +3 -3
  232. package/esm2022/lib/tabber/tab/tab.defaults.mjs +1 -1
  233. package/esm2022/lib/tabber/tabber.component.mjs +3 -3
  234. package/esm2022/lib/tabber/tabber.defaults.mjs +1 -1
  235. package/esm2022/lib/tabber/tabber.module.mjs +1 -1
  236. package/esm2022/lib/table/index.mjs +1 -1
  237. package/esm2022/lib/table/table-item-storage.mjs +1 -1
  238. package/esm2022/lib/table/table.component.mjs +3 -3
  239. package/esm2022/lib/table/table.defaults.mjs +1 -1
  240. package/esm2022/lib/table/table.directives.mjs +1 -1
  241. package/esm2022/lib/table/table.module.mjs +1 -1
  242. package/esm2022/lib/table/table.types.mjs +1 -1
  243. package/esm2022/lib/table/utils.mjs +1 -1
  244. package/esm2022/lib/table-from-csv/index.mjs +1 -1
  245. package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +3 -3
  246. package/esm2022/lib/table-from-csv/table-from-csv.defaults.mjs +1 -1
  247. package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +1 -1
  248. package/esm2022/lib/table-pagination/index.mjs +1 -1
  249. package/esm2022/lib/table-pagination/table-pagination.component.mjs +3 -3
  250. package/esm2022/lib/table-pagination/table-pagination.defaults.mjs +1 -1
  251. package/esm2022/lib/table-pagination/table-pagination.module.mjs +1 -1
  252. package/esm2022/lib/table-pagination/table-pagination.types.mjs +1 -1
  253. package/esm2022/lib/text-list/text-list.module.mjs +1 -1
  254. package/esm2022/lib/text-list/text-list.pipe.mjs +1 -1
  255. package/esm2022/lib/types/alignment.types.mjs +1 -1
  256. package/esm2022/lib/types/button.types.mjs +1 -1
  257. package/esm2022/lib/types/colors.types.mjs +1 -1
  258. package/esm2022/lib/types/item-storage.types.mjs +1 -1
  259. package/esm2022/lib/types/theming.types.mjs +1 -1
  260. package/esm2022/lib/types/utility.types.mjs +1 -1
  261. package/fesm2022/ardium-ui-ui.mjs +175 -135
  262. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  263. package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +4 -4
  264. package/lib/file-inputs/file-input/file-input.component.d.ts +9 -8
  265. package/lib/file-inputs/file-input/file-input.directives.d.ts +6 -0
  266. package/lib/file-inputs/file-input/file-input.module.d.ts +6 -5
  267. package/lib/file-inputs/file-input-base.d.ts +2 -2
  268. package/lib/file-inputs/file-input-types.d.ts +1 -1
  269. package/package.json +1 -1
  270. package/themes/_variables.scss +121 -121
  271. package/themes/default/_clear-button.scss +73 -73
  272. package/themes/default/_coloring.scss +137 -137
  273. package/themes/default/_dropdown-arrow.scss +12 -12
  274. package/themes/default/badge.scss +94 -94
  275. package/themes/default/buttons/button.scss +79 -79
  276. package/themes/default/buttons/fab.scss +81 -81
  277. package/themes/default/buttons/icon-button.scss +62 -62
  278. package/themes/default/calendar-OLD.scss +183 -183
  279. package/themes/default/card.scss +135 -135
  280. package/themes/default/checkbox-list.scss +83 -83
  281. package/themes/default/checkbox.scss +109 -109
  282. package/themes/default/chips.scss +200 -200
  283. package/themes/default/color-display.scss +41 -41
  284. package/themes/default/color-picker.scss +111 -111
  285. package/themes/default/core.scss +102 -102
  286. package/themes/default/dialog.scss +16 -16
  287. package/themes/default/divider.scss +13 -13
  288. package/themes/default/dropdown-panel.scss +45 -45
  289. package/themes/default/file-drop-area.scss +162 -162
  290. package/themes/default/inputs/_shared.scss +50 -50
  291. package/themes/default/inputs/color-input.scss +46 -46
  292. package/themes/default/inputs/file-input.scss +79 -79
  293. package/themes/default/inputs/hex-input.scss +27 -27
  294. package/themes/default/inputs/number-input.scss +131 -131
  295. package/themes/default/inputs/password-input.scss +43 -43
  296. package/themes/default/inputs/search-bar.scss +19 -19
  297. package/themes/default/kbd-shortcut.scss +13 -13
  298. package/themes/default/kbd.scss +21 -21
  299. package/themes/default/modal.scss +94 -94
  300. package/themes/default/progress-bar.scss +166 -166
  301. package/themes/default/progress-circle.scss +56 -56
  302. package/themes/default/radio.scss +112 -112
  303. package/themes/default/segment.scss +355 -355
  304. package/themes/default/select.scss +259 -259
  305. package/themes/default/slide-toggle.scss +151 -151
  306. package/themes/default/slider.scss +224 -224
  307. package/themes/default/snackbar.scss +58 -58
  308. package/themes/default/spinner.scss +21 -21
  309. package/themes/default/stars.scss +85 -85
  310. package/themes/default/statebox.scss +109 -109
  311. package/themes/default/tabber.scss +89 -89
  312. package/themes/default/table-pagination.scss +56 -56
  313. package/themes/default/table.scss +423 -423
@@ -1,423 +1,423 @@
1
- @use './coloring' as CM;
2
- @use '../variables' as ARD;
3
-
4
- .ard-table {
5
- @include CM.typeColors();
6
- border-collapse: collapse;
7
- background: ARD.$bg;
8
-
9
- .ard-table__body {
10
- border: 1px solid ARD.$detail-ultralight;
11
- }
12
- .ard-table__header-cell,
13
- .ard-table__body-cell {
14
- box-sizing: border-box;
15
-
16
- > .ard-table__cell-container {
17
- height: max-content;
18
- max-height: 100%;
19
- padding: 0 0.75rem;
20
- box-sizing: border-box;
21
- font-size: 0.875rem;
22
-
23
- .ard-table__header-template-container {
24
- display: flex;
25
- align-items: center;
26
- gap: 0.75rem;
27
-
28
- .ard-table__header-content-container {
29
- overflow-x: hidden;
30
- text-overflow: ellipsis;
31
- white-space: nowrap;
32
- }
33
- }
34
- }
35
- }
36
- .ard-table__header-cell {
37
- height: 3.375rem;
38
- font-weight: 500;
39
- letter-spacing: 0.25px;
40
- }
41
- .ard-table__body-cell {
42
- height: 3rem;
43
- transition: background-color 0.15s ease;
44
-
45
- .ard-table__cell-container {
46
- overflow-x: hidden;
47
- text-overflow: ellipsis;
48
- white-space: nowrap;
49
- }
50
- }
51
- .ard-table__checkbox-cell {
52
- > .ard-table__cell-container {
53
- width: 3rem;
54
- height: 3rem;
55
- display: flex;
56
- justify-content: center;
57
- align-items: center;
58
- }
59
- }
60
- .ard-table__body-row .ard-table__body-cell {
61
- border-bottom: 1px solid ARD.$detail-ultralight;
62
- }
63
-
64
- //! empty rows
65
- .ard-table__empty-row {
66
- .ard-table__empty-cell {
67
- height: 3rem;
68
- }
69
- &:not(:last-of-type) .ard-table__empty-cell {
70
- border-bottom: 1px solid transparent;
71
- }
72
- }
73
-
74
- //! loading
75
- &.ard-table-loading {
76
- .ard-table__header,
77
- .ard-table__body {
78
- pointer-events: none;
79
- }
80
- .ard-table__body {
81
- opacity: 40%;
82
- }
83
- .ard-table__header .ard-table__checkbox-cell {
84
- opacity: 40%;
85
- }
86
- }
87
- .ard-table__progress-bar-row {
88
- background-color: ARD.$bg;
89
- border-left: 1px solid ARD.$detail-ultralight;
90
- border-right: 1px solid ARD.$detail-ultralight;
91
- border-bottom: 1px solid ARD.$bg;
92
-
93
- .ard-table__progress-bar-cell {
94
- height: 0.1875rem;
95
-
96
- ard-progress-bar {
97
- position: relative;
98
- z-index: 1;
99
- margin: -1px;
100
-
101
- & > .ard-progress-bar {
102
- margin: 0;
103
- }
104
- }
105
- }
106
- }
107
-
108
- //! sorting
109
- .ard-table__sortable {
110
- .ard-table__header-template-container.ard-sortable {
111
- .ard-table__header-content-container {
112
- border: none;
113
- background: none;
114
- color: inherit;
115
- font: inherit;
116
- width: 100%;
117
- display: flex;
118
- gap: 0.375rem;
119
- cursor: pointer;
120
- border-radius: 0.25rem;
121
- outline-offset: 0.25rem;
122
-
123
- &:focus-visible {
124
- outline: 2px solid black;
125
- }
126
- .ard-table__header-sort-icon {
127
- height: 1rem;
128
- overflow: hidden;
129
- }
130
- ard-icon {
131
- font-size: 1rem;
132
- font-weight: 900;
133
- }
134
- }
135
- }
136
- }
137
-
138
- //! caption
139
- .ard-table__caption {
140
- caption-side: bottom;
141
- height: 3.125rem;
142
- box-sizing: border-box;
143
- color: ARD.$detail;
144
- background: ARD.$bg;
145
- border: 1px solid ARD.$detail-ultralight;
146
- border-top: none;
147
- padding: 0 0.75rem;
148
-
149
- .ard-table__caption-container {
150
- display: flex;
151
- align-items: center;
152
- height: 100%;
153
- }
154
- }
155
-
156
- //! footer
157
- .ard-table__foot {
158
- .ard-table__pagination-cell {
159
- border: 1px solid ARD.$detail-ultralight;
160
- }
161
- }
162
-
163
- //! color
164
- --ard-_table-header-border: var(--ard-cmpcl--border);
165
- --ard-_table-header-border-light: var(--ard-cmpcl--border-light);
166
- --ard-_table-border: ARD.$border;
167
- --ard-_table-header-background: var(--ard-cmpcl--bg);
168
- --ard-_table-header-background-light: var(--ard-cmpcl--bg-header);
169
- --ard-_table-header-color: var(--ard-cmpcl--content);
170
- --ard-_table-header-color-on-bg: var(--ard-cmpcl--on-bg);
171
- --ard-_table-overlay: var(--ard-cmpcl--overlay-rgb);
172
- --ard-_table-overlay-colorless: var(--ard-overlay-rgb);
173
-
174
- //! appearances
175
- &.ard-appearance-strong {
176
- .ard-table__header {
177
- border-bottom: 1px solid ARD.$detail-ultralight;
178
- background-color: var(--ard-_table-header-background);
179
- }
180
- .ard-table__header-cell {
181
- color: var(--ard-_table-header-color-on-bg);
182
- border-bottom: 1px solid var(--ard-_table-header-border);
183
- }
184
- }
185
- &.ard-appearance-light {
186
- .ard-table__header-cell {
187
- color: var(--ard-_table-header-color);
188
- }
189
- .ard-table__header {
190
- background-color: var(--ard-_table-header-background-light);
191
- border: 1px solid var(--ard-_table-header-border-light);
192
- }
193
- .ard-table__header-row .ard-table__header-cell {
194
- border-bottom: 1px solid var(--ard-_table-header-border-light);
195
- }
196
- }
197
- &.ard-appearance-colorless {
198
- .ard-table__header-cell {
199
- color: ARD.$text;
200
- }
201
- .ard-table__header {
202
- border: 1px solid ARD.$detail-ultralight;
203
- background-color: ARD.$bg;
204
- }
205
- .ard-table__header-row .ard-table__header-cell {
206
- border-bottom: 1px solid ARD.$detail-ultralight;
207
- }
208
- }
209
- //! variants
210
- &.ard-variant-rounded {
211
- .ard-table,
212
- .ard-table__header,
213
- .ard-table__body {
214
- border-radius: 8px;
215
- }
216
- .ard-table__header-row:first-child {
217
- border-top-left-radius: 8px;
218
- border-top-right-radius: 8px;
219
-
220
- .ard-table__header-cell:first-child {
221
- border-top-left-radius: 8px;
222
- }
223
- }
224
- .ard-table__header-row:first-child .ard-table__header-cell:last-child {
225
- border-top-right-radius: 8px;
226
- }
227
- .ard-table__body-row:last-child .ard-table__body-cell:first-child {
228
- border-bottom-left-radius: 8px;
229
- }
230
- .ard-table__body-row:last-child .ard-table__body-cell:last-child {
231
- border-bottom-right-radius: 8px;
232
- }
233
- .ard-table__foot {
234
- border-bottom-left-radius: 8px;
235
- border-bottom-right-radius: 8px;
236
- .ard-table__foot-row {
237
- border-bottom-left-radius: 8px;
238
- border-bottom-right-radius: 8px;
239
-
240
- .ard-table__pagination-cell {
241
- border-bottom-left-radius: 8px;
242
- border-bottom-right-radius: 8px;
243
- }
244
- }
245
- }
246
- .ard-table__caption {
247
- border-bottom-left-radius: 8px;
248
- border-bottom-right-radius: 8px;
249
-
250
- + .ard-table__body {
251
- * {
252
- border-radius: 0;
253
- }
254
- }
255
- ~ .ard-table__foot {
256
- * {
257
- border-radius: 0;
258
- }
259
- }
260
- }
261
- }
262
-
263
- //! compact
264
- &.ard-compact {
265
- .ard-table__header-cell,
266
- .ard-table__body-cell {
267
- > .ard-table__cell-container {
268
- padding: 0 0.625rem;
269
- font-size: 0.875rem;
270
- }
271
- }
272
- .ard-table__header-cell {
273
- height: 2.625rem;
274
-
275
- > .ard-table__cell-container {
276
- letter-spacing: 0.18px;
277
- }
278
- }
279
- .ard-table__body-cell {
280
- height: 2.25rem;
281
- }
282
- .ard-table__checkbox-cell {
283
- > .ard-table__cell-container {
284
- width: 2.25rem;
285
- height: 2.25rem;
286
- }
287
- }
288
- .ard-table__caption {
289
- height: 2.25rem;
290
- }
291
- }
292
-
293
- //! zebra
294
- &.ard-zebra-table {
295
- .ard-table__body-row:nth-of-type(2n-1) {
296
- background: ARD.$darken-overlay-ultralight;
297
- }
298
- }
299
-
300
- //! selected & selectable
301
- &.ard-selectable-rows {
302
- .ard-table__body-row .ard-table__body-cell {
303
- cursor: pointer;
304
- }
305
- }
306
- .ard-table__body-row.ard-table__highlighted-row .ard-table__body-cell {
307
- background: rgba(var(--ard-_table-overlay-colorless), 4%);
308
- }
309
- .ard-table__body-row.ard-table__selected-row .ard-table__body-cell {
310
- background: rgba(var(--ard-_table-overlay), 8%);
311
- }
312
-
313
- //! disabled
314
- .ard-table__disabled-row {
315
- pointer-events: none;
316
- opacity: 50%;
317
- user-select: none;
318
- }
319
-
320
- //! bold
321
- .ard-table__bold-row {
322
- font-weight: 600;
323
- }
324
-
325
- //! sticky header
326
- &.ard-sticky-header {
327
- .ard-table__header {
328
- position: sticky;
329
- top: 0;
330
- z-index: 2;
331
- }
332
- }
333
-
334
- //! header aligns
335
- &.ard-header-align-top-left,
336
- &.ard-header-align-center-left,
337
- &.ard-header-align-bottom-left {
338
- .ard-table__header-cell > .ard-table__cell-container {
339
- text-align: left;
340
- }
341
- }
342
- &.ard-header-align-top-center,
343
- &.ard-header-align-center-center,
344
- &.ard-header-align-bottom-center {
345
- .ard-table__header-cell > .ard-table__cell-container {
346
- text-align: center;
347
- }
348
- }
349
- &.ard-header-align-top-right,
350
- &.ard-header-align-center-right,
351
- &.ard-header-align-bottom-right {
352
- .ard-table__header-cell > .ard-table__cell-container {
353
- text-align: right;
354
- }
355
- }
356
- &.ard-header-align-top-left,
357
- &.ard-header-align-top-center,
358
- &.ard-header-align-top-right {
359
- .ard-table__header-cell {
360
- vertical-align: top;
361
- }
362
- }
363
- &.ard-header-align-center-left,
364
- &.ard-header-align-center-center,
365
- &.ard-header-align-center-right {
366
- .ard-table__header-cell {
367
- vertical-align: middle;
368
- }
369
- }
370
- &.ard-header-align-bottom-left,
371
- &.ard-header-align-bottom-center,
372
- &.ard-header-align-bottom-right {
373
- .ard-table__header-cell {
374
- vertical-align: bottom;
375
- }
376
- }
377
- //! body aligns
378
- &.ard-align-top-left,
379
- &.ard-align-center-left,
380
- &.ard-align-bottom-left {
381
- .ard-table__body-cell > .ard-table__cell-container,
382
- .ard-table__caption {
383
- text-align: left;
384
- }
385
- }
386
- &.ard-align-top-center,
387
- &.ard-align-center-center,
388
- &.ard-align-bottom-center {
389
- .ard-table__body-cell > .ard-table__cell-container,
390
- .ard-table__caption {
391
- text-align: center;
392
- }
393
- }
394
- &.ard-align-top-right,
395
- &.ard-align-center-right,
396
- &.ard-align-bottom-right {
397
- .ard-table__body-cell > .ard-table__cell-container,
398
- .ard-table__caption {
399
- text-align: right;
400
- }
401
- }
402
- &.ard-align-top-left,
403
- &.ard-align-top-center,
404
- &.ard-align-top-right {
405
- .ard-table__body-cell {
406
- vertical-align: top;
407
- }
408
- }
409
- &.ard-align-center-left,
410
- &.ard-align-center-center,
411
- &.ard-align-center-right {
412
- .ard-table__body-cell {
413
- vertical-align: middle;
414
- }
415
- }
416
- &.ard-align-bottom-left,
417
- &.ard-align-bottom-center,
418
- &.ard-align-bottom-right {
419
- .ard-table__body-cell {
420
- vertical-align: bottom;
421
- }
422
- }
423
- }
1
+ @use './coloring' as CM;
2
+ @use '../variables' as ARD;
3
+
4
+ .ard-table {
5
+ @include CM.typeColors();
6
+ border-collapse: collapse;
7
+ background: ARD.$bg;
8
+
9
+ .ard-table__body {
10
+ border: 1px solid ARD.$detail-ultralight;
11
+ }
12
+ .ard-table__header-cell,
13
+ .ard-table__body-cell {
14
+ box-sizing: border-box;
15
+
16
+ > .ard-table__cell-container {
17
+ height: max-content;
18
+ max-height: 100%;
19
+ padding: 0 0.75rem;
20
+ box-sizing: border-box;
21
+ font-size: 0.875rem;
22
+
23
+ .ard-table__header-template-container {
24
+ display: flex;
25
+ align-items: center;
26
+ gap: 0.75rem;
27
+
28
+ .ard-table__header-content-container {
29
+ overflow-x: hidden;
30
+ text-overflow: ellipsis;
31
+ white-space: nowrap;
32
+ }
33
+ }
34
+ }
35
+ }
36
+ .ard-table__header-cell {
37
+ height: 3.375rem;
38
+ font-weight: 500;
39
+ letter-spacing: 0.25px;
40
+ }
41
+ .ard-table__body-cell {
42
+ height: 3rem;
43
+ transition: background-color 0.15s ease;
44
+
45
+ .ard-table__cell-container {
46
+ overflow-x: hidden;
47
+ text-overflow: ellipsis;
48
+ white-space: nowrap;
49
+ }
50
+ }
51
+ .ard-table__checkbox-cell {
52
+ > .ard-table__cell-container {
53
+ width: 3rem;
54
+ height: 3rem;
55
+ display: flex;
56
+ justify-content: center;
57
+ align-items: center;
58
+ }
59
+ }
60
+ .ard-table__body-row .ard-table__body-cell {
61
+ border-bottom: 1px solid ARD.$detail-ultralight;
62
+ }
63
+
64
+ //! empty rows
65
+ .ard-table__empty-row {
66
+ .ard-table__empty-cell {
67
+ height: 3rem;
68
+ }
69
+ &:not(:last-of-type) .ard-table__empty-cell {
70
+ border-bottom: 1px solid transparent;
71
+ }
72
+ }
73
+
74
+ //! loading
75
+ &.ard-table-loading {
76
+ .ard-table__header,
77
+ .ard-table__body {
78
+ pointer-events: none;
79
+ }
80
+ .ard-table__body {
81
+ opacity: 40%;
82
+ }
83
+ .ard-table__header .ard-table__checkbox-cell {
84
+ opacity: 40%;
85
+ }
86
+ }
87
+ .ard-table__progress-bar-row {
88
+ background-color: ARD.$bg;
89
+ border-left: 1px solid ARD.$detail-ultralight;
90
+ border-right: 1px solid ARD.$detail-ultralight;
91
+ border-bottom: 1px solid ARD.$bg;
92
+
93
+ .ard-table__progress-bar-cell {
94
+ height: 0.1875rem;
95
+
96
+ ard-progress-bar {
97
+ position: relative;
98
+ z-index: 1;
99
+ margin: -1px;
100
+
101
+ & > .ard-progress-bar {
102
+ margin: 0;
103
+ }
104
+ }
105
+ }
106
+ }
107
+
108
+ //! sorting
109
+ .ard-table__sortable {
110
+ .ard-table__header-template-container.ard-sortable {
111
+ .ard-table__header-content-container {
112
+ border: none;
113
+ background: none;
114
+ color: inherit;
115
+ font: inherit;
116
+ width: 100%;
117
+ display: flex;
118
+ gap: 0.375rem;
119
+ cursor: pointer;
120
+ border-radius: 0.25rem;
121
+ outline-offset: 0.25rem;
122
+
123
+ &:focus-visible {
124
+ outline: 2px solid black;
125
+ }
126
+ .ard-table__header-sort-icon {
127
+ height: 1rem;
128
+ overflow: hidden;
129
+ }
130
+ ard-icon {
131
+ font-size: 1rem;
132
+ font-weight: 900;
133
+ }
134
+ }
135
+ }
136
+ }
137
+
138
+ //! caption
139
+ .ard-table__caption {
140
+ caption-side: bottom;
141
+ height: 3.125rem;
142
+ box-sizing: border-box;
143
+ color: ARD.$detail;
144
+ background: ARD.$bg;
145
+ border: 1px solid ARD.$detail-ultralight;
146
+ border-top: none;
147
+ padding: 0 0.75rem;
148
+
149
+ .ard-table__caption-container {
150
+ display: flex;
151
+ align-items: center;
152
+ height: 100%;
153
+ }
154
+ }
155
+
156
+ //! footer
157
+ .ard-table__foot {
158
+ .ard-table__pagination-cell {
159
+ border: 1px solid ARD.$detail-ultralight;
160
+ }
161
+ }
162
+
163
+ //! color
164
+ --ard-_table-header-border: var(--ard-cmpcl--border);
165
+ --ard-_table-header-border-light: var(--ard-cmpcl--border-light);
166
+ --ard-_table-border: ARD.$border;
167
+ --ard-_table-header-background: var(--ard-cmpcl--bg);
168
+ --ard-_table-header-background-light: var(--ard-cmpcl--bg-header);
169
+ --ard-_table-header-color: var(--ard-cmpcl--content);
170
+ --ard-_table-header-color-on-bg: var(--ard-cmpcl--on-bg);
171
+ --ard-_table-overlay: var(--ard-cmpcl--overlay-rgb);
172
+ --ard-_table-overlay-colorless: var(--ard-overlay-rgb);
173
+
174
+ //! appearances
175
+ &.ard-appearance-strong {
176
+ .ard-table__header {
177
+ border-bottom: 1px solid ARD.$detail-ultralight;
178
+ background-color: var(--ard-_table-header-background);
179
+ }
180
+ .ard-table__header-cell {
181
+ color: var(--ard-_table-header-color-on-bg);
182
+ border-bottom: 1px solid var(--ard-_table-header-border);
183
+ }
184
+ }
185
+ &.ard-appearance-light {
186
+ .ard-table__header-cell {
187
+ color: var(--ard-_table-header-color);
188
+ }
189
+ .ard-table__header {
190
+ background-color: var(--ard-_table-header-background-light);
191
+ border: 1px solid var(--ard-_table-header-border-light);
192
+ }
193
+ .ard-table__header-row .ard-table__header-cell {
194
+ border-bottom: 1px solid var(--ard-_table-header-border-light);
195
+ }
196
+ }
197
+ &.ard-appearance-colorless {
198
+ .ard-table__header-cell {
199
+ color: ARD.$text;
200
+ }
201
+ .ard-table__header {
202
+ border: 1px solid ARD.$detail-ultralight;
203
+ background-color: ARD.$bg;
204
+ }
205
+ .ard-table__header-row .ard-table__header-cell {
206
+ border-bottom: 1px solid ARD.$detail-ultralight;
207
+ }
208
+ }
209
+ //! variants
210
+ &.ard-variant-rounded {
211
+ .ard-table,
212
+ .ard-table__header,
213
+ .ard-table__body {
214
+ border-radius: 8px;
215
+ }
216
+ .ard-table__header-row:first-child {
217
+ border-top-left-radius: 8px;
218
+ border-top-right-radius: 8px;
219
+
220
+ .ard-table__header-cell:first-child {
221
+ border-top-left-radius: 8px;
222
+ }
223
+ }
224
+ .ard-table__header-row:first-child .ard-table__header-cell:last-child {
225
+ border-top-right-radius: 8px;
226
+ }
227
+ .ard-table__body-row:last-child .ard-table__body-cell:first-child {
228
+ border-bottom-left-radius: 8px;
229
+ }
230
+ .ard-table__body-row:last-child .ard-table__body-cell:last-child {
231
+ border-bottom-right-radius: 8px;
232
+ }
233
+ .ard-table__foot {
234
+ border-bottom-left-radius: 8px;
235
+ border-bottom-right-radius: 8px;
236
+ .ard-table__foot-row {
237
+ border-bottom-left-radius: 8px;
238
+ border-bottom-right-radius: 8px;
239
+
240
+ .ard-table__pagination-cell {
241
+ border-bottom-left-radius: 8px;
242
+ border-bottom-right-radius: 8px;
243
+ }
244
+ }
245
+ }
246
+ .ard-table__caption {
247
+ border-bottom-left-radius: 8px;
248
+ border-bottom-right-radius: 8px;
249
+
250
+ + .ard-table__body {
251
+ * {
252
+ border-radius: 0;
253
+ }
254
+ }
255
+ ~ .ard-table__foot {
256
+ * {
257
+ border-radius: 0;
258
+ }
259
+ }
260
+ }
261
+ }
262
+
263
+ //! compact
264
+ &.ard-compact {
265
+ .ard-table__header-cell,
266
+ .ard-table__body-cell {
267
+ > .ard-table__cell-container {
268
+ padding: 0 0.625rem;
269
+ font-size: 0.875rem;
270
+ }
271
+ }
272
+ .ard-table__header-cell {
273
+ height: 2.625rem;
274
+
275
+ > .ard-table__cell-container {
276
+ letter-spacing: 0.18px;
277
+ }
278
+ }
279
+ .ard-table__body-cell {
280
+ height: 2.25rem;
281
+ }
282
+ .ard-table__checkbox-cell {
283
+ > .ard-table__cell-container {
284
+ width: 2.25rem;
285
+ height: 2.25rem;
286
+ }
287
+ }
288
+ .ard-table__caption {
289
+ height: 2.25rem;
290
+ }
291
+ }
292
+
293
+ //! zebra
294
+ &.ard-zebra-table {
295
+ .ard-table__body-row:nth-of-type(2n-1) {
296
+ background: ARD.$darken-overlay-ultralight;
297
+ }
298
+ }
299
+
300
+ //! selected & selectable
301
+ &.ard-selectable-rows {
302
+ .ard-table__body-row .ard-table__body-cell {
303
+ cursor: pointer;
304
+ }
305
+ }
306
+ .ard-table__body-row.ard-table__highlighted-row .ard-table__body-cell {
307
+ background: rgba(var(--ard-_table-overlay-colorless), 4%);
308
+ }
309
+ .ard-table__body-row.ard-table__selected-row .ard-table__body-cell {
310
+ background: rgba(var(--ard-_table-overlay), 8%);
311
+ }
312
+
313
+ //! disabled
314
+ .ard-table__disabled-row {
315
+ pointer-events: none;
316
+ opacity: 50%;
317
+ user-select: none;
318
+ }
319
+
320
+ //! bold
321
+ .ard-table__bold-row {
322
+ font-weight: 600;
323
+ }
324
+
325
+ //! sticky header
326
+ &.ard-sticky-header {
327
+ .ard-table__header {
328
+ position: sticky;
329
+ top: 0;
330
+ z-index: 2;
331
+ }
332
+ }
333
+
334
+ //! header aligns
335
+ &.ard-header-align-top-left,
336
+ &.ard-header-align-center-left,
337
+ &.ard-header-align-bottom-left {
338
+ .ard-table__header-cell > .ard-table__cell-container {
339
+ text-align: left;
340
+ }
341
+ }
342
+ &.ard-header-align-top-center,
343
+ &.ard-header-align-center-center,
344
+ &.ard-header-align-bottom-center {
345
+ .ard-table__header-cell > .ard-table__cell-container {
346
+ text-align: center;
347
+ }
348
+ }
349
+ &.ard-header-align-top-right,
350
+ &.ard-header-align-center-right,
351
+ &.ard-header-align-bottom-right {
352
+ .ard-table__header-cell > .ard-table__cell-container {
353
+ text-align: right;
354
+ }
355
+ }
356
+ &.ard-header-align-top-left,
357
+ &.ard-header-align-top-center,
358
+ &.ard-header-align-top-right {
359
+ .ard-table__header-cell {
360
+ vertical-align: top;
361
+ }
362
+ }
363
+ &.ard-header-align-center-left,
364
+ &.ard-header-align-center-center,
365
+ &.ard-header-align-center-right {
366
+ .ard-table__header-cell {
367
+ vertical-align: middle;
368
+ }
369
+ }
370
+ &.ard-header-align-bottom-left,
371
+ &.ard-header-align-bottom-center,
372
+ &.ard-header-align-bottom-right {
373
+ .ard-table__header-cell {
374
+ vertical-align: bottom;
375
+ }
376
+ }
377
+ //! body aligns
378
+ &.ard-align-top-left,
379
+ &.ard-align-center-left,
380
+ &.ard-align-bottom-left {
381
+ .ard-table__body-cell > .ard-table__cell-container,
382
+ .ard-table__caption {
383
+ text-align: left;
384
+ }
385
+ }
386
+ &.ard-align-top-center,
387
+ &.ard-align-center-center,
388
+ &.ard-align-bottom-center {
389
+ .ard-table__body-cell > .ard-table__cell-container,
390
+ .ard-table__caption {
391
+ text-align: center;
392
+ }
393
+ }
394
+ &.ard-align-top-right,
395
+ &.ard-align-center-right,
396
+ &.ard-align-bottom-right {
397
+ .ard-table__body-cell > .ard-table__cell-container,
398
+ .ard-table__caption {
399
+ text-align: right;
400
+ }
401
+ }
402
+ &.ard-align-top-left,
403
+ &.ard-align-top-center,
404
+ &.ard-align-top-right {
405
+ .ard-table__body-cell {
406
+ vertical-align: top;
407
+ }
408
+ }
409
+ &.ard-align-center-left,
410
+ &.ard-align-center-center,
411
+ &.ard-align-center-right {
412
+ .ard-table__body-cell {
413
+ vertical-align: middle;
414
+ }
415
+ }
416
+ &.ard-align-bottom-left,
417
+ &.ard-align-bottom-center,
418
+ &.ard-align-bottom-right {
419
+ .ard-table__body-cell {
420
+ vertical-align: bottom;
421
+ }
422
+ }
423
+ }