@vueland/ui 0.0.1 → 0.0.3

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 (383) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +147 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  4. package/dist/components/CApp/CApp.js +4 -5
  5. package/dist/components/CAutocomplete/CAutocomplete.js +200 -91
  6. package/dist/components/CBtn/CBtn.js +26 -27
  7. package/dist/components/CCheckbox/CCheckbox.js +40 -58
  8. package/dist/components/CCheckbox/CheckboxElement.js +96 -0
  9. package/dist/components/CCheckbox/index2.js +5 -0
  10. package/dist/components/CChip/CChip.js +13 -0
  11. package/dist/components/CDateInput/CDateInput.js +245 -0
  12. package/dist/components/CDateInput/index.js +5 -0
  13. package/dist/components/CDatePicker/CDatePicker.js +324 -0
  14. package/dist/components/CDatePicker/CDatePickerDates.js +300 -0
  15. package/dist/components/CDatePicker/CDatePickerHeader.js +62 -0
  16. package/dist/components/CDatePicker/CDatePickerMonths.js +114 -0
  17. package/dist/components/CDatePicker/CDatePickerYears.js +143 -0
  18. package/dist/components/CDatePicker/helpers.js +17 -0
  19. package/dist/components/CDatePicker/index.js +14 -0
  20. package/dist/components/CDatePicker/index2.js +5 -0
  21. package/dist/components/CDatePicker/index3.js +5 -0
  22. package/dist/components/CDatePicker/index4.js +5 -0
  23. package/dist/components/CDatePicker/index5.js +5 -0
  24. package/dist/components/CDatePicker/index6.js +5 -0
  25. package/dist/components/CDatePicker/locales/en.json.js +44 -0
  26. package/dist/components/CDatePicker/locales/index.js +9 -0
  27. package/dist/components/CDatePicker/locales/ru.json.js +44 -0
  28. package/dist/components/CDatePicker/utils.js +20 -0
  29. package/dist/components/CDialog/CDialog.js +2 -4
  30. package/dist/components/CField/CField.js +160 -28
  31. package/dist/components/CForm/CForm.js +38 -22
  32. package/dist/components/CGrid/CCol.js +1 -3
  33. package/dist/components/CGrid/CRow.js +5 -7
  34. package/dist/components/CIcon/CIcon.js +3 -3
  35. package/dist/components/CInput/CInput.js +119 -109
  36. package/dist/components/CList/CList.js +106 -34
  37. package/dist/components/CList/CListItem.js +44 -14
  38. package/dist/components/CMenu/CMenu.js +54 -55
  39. package/dist/components/COverlay/COverlay.js +6 -5
  40. package/dist/components/CRadio/CRadio.js +11 -5
  41. package/dist/components/CRadio/CRadioGroup.js +10 -0
  42. package/dist/components/CSelect/CSelect.js +180 -71
  43. package/dist/components/CSelectControl/CSelectControl.js +14 -2
  44. package/dist/components/CTextField/CTextField.js +79 -52
  45. package/dist/components/CTextField/index.js +2 -2
  46. package/dist/components/CTextField/index2.js +5 -0
  47. package/dist/components/CToolbar/CToolbar.js +1 -3
  48. package/dist/components/CTooltip/CTooltip.js +13 -11
  49. package/dist/components/CTooltip/index.js +2 -2
  50. package/dist/components/CTooltip/index2.js +5 -0
  51. package/dist/components/global-components.d.ts +44 -0
  52. package/dist/components/index.d.ts +841 -504
  53. package/dist/components/index.js +11 -7
  54. package/dist/composables/index.d.ts +384 -235
  55. package/dist/composables/index.js +22 -14
  56. package/dist/composables/use-activator.js +15 -25
  57. package/dist/composables/{use-app-scroll.js → use-application-scroll.js} +4 -8
  58. package/dist/composables/use-aria-activator.js +15 -0
  59. package/dist/composables/use-aria-dialog.js +16 -0
  60. package/dist/composables/use-aria-field.js +18 -0
  61. package/dist/composables/use-aria-listbox.js +14 -0
  62. package/dist/composables/use-aria-toggle.js +15 -0
  63. package/dist/composables/use-auto-position.js +206 -118
  64. package/dist/composables/use-autocomplete.js +21 -19
  65. package/dist/composables/use-breakpoints.js +8 -0
  66. package/dist/composables/use-button-presets.js +3 -7
  67. package/dist/composables/use-delay-actions.js +8 -2
  68. package/dist/composables/use-display.js +26 -18
  69. package/dist/composables/use-field-presets.js +82 -0
  70. package/dist/composables/use-icon.js +106 -34
  71. package/dist/composables/use-id.js +9 -0
  72. package/dist/composables/use-input-presets.js +88 -19
  73. package/dist/composables/use-keyboard.js +52 -0
  74. package/dist/composables/use-list.js +8 -0
  75. package/dist/composables/use-menu.js +8 -0
  76. package/dist/composables/use-normalized-items.js +22 -0
  77. package/dist/composables/use-overlay-stack.js +4 -1
  78. package/dist/composables/use-presets.js +2 -2
  79. package/dist/composables/use-select-control.js +8 -0
  80. package/dist/composables/use-selected-chips.js +40 -0
  81. package/dist/composables/use-validate.js +32 -24
  82. package/dist/constants/aria.js +32 -0
  83. package/dist/constants/attrs.js +21 -0
  84. package/dist/constants/icons.js +55 -8
  85. package/dist/constants/index.d.ts +187 -53
  86. package/dist/constants/index.js +3 -1
  87. package/dist/constants/provide-keys.js +2 -1
  88. package/dist/css/lib.css +1 -0
  89. package/dist/css/utils/_borders.css +1 -0
  90. package/dist/css/utils/_borders.js +3 -0
  91. package/dist/css/utils/_display.css +1 -1
  92. package/dist/css/utils/_flex.css +1 -1
  93. package/dist/css/utils/_grid.css +1 -0
  94. package/dist/css/utils/_grid.js +3 -0
  95. package/dist/css/utils/_helpers.css +1 -1
  96. package/dist/css/utils/_positions.css +1 -1
  97. package/dist/css/utils/_radius.css +1 -1
  98. package/dist/css/utils/_sizing.css +1 -1
  99. package/dist/css/utils/_spaces.css +1 -1
  100. package/dist/css/utils/_text.css +1 -1
  101. package/dist/css/utils/_transitions.css +1 -1
  102. package/dist/css/utils/_typography.css +1 -1
  103. package/dist/enums/IconName.js +13 -0
  104. package/dist/enums/index.d.ts +15 -2
  105. package/dist/helpers/preset.js +11 -0
  106. package/dist/helpers/theme.js +41 -0
  107. package/dist/library.js +31 -9
  108. package/dist/resolvers/font-awesome.js +30 -0
  109. package/dist/resolvers/index.d.ts +48 -0
  110. package/dist/resolvers/index.js +1 -0
  111. package/dist/scss/lib.scss +26 -0
  112. package/dist/scss/maps/colors-map.scss +342 -0
  113. package/dist/scss/maps/elevations-map.scss +88 -0
  114. package/dist/scss/maps/flexes-map.scss +24 -0
  115. package/dist/scss/maps/grids.scss +23 -0
  116. package/dist/scss/modules/_global-vars.scss +88 -0
  117. package/dist/scss/ress.scss +281 -0
  118. package/dist/scss/styles.scss +20 -0
  119. package/dist/scss/utils/_borders.scss +28 -0
  120. package/dist/scss/utils/_colors.scss +86 -0
  121. package/dist/scss/utils/_cursor.scss +140 -0
  122. package/dist/scss/utils/_display.scss +32 -0
  123. package/dist/scss/utils/_elevations.scss +15 -0
  124. package/dist/scss/utils/_flex.scss +137 -0
  125. package/dist/scss/utils/_grid.scss +173 -0
  126. package/dist/scss/utils/_helpers.scss +47 -0
  127. package/dist/scss/utils/_opacity.scss +13 -0
  128. package/dist/scss/utils/_overflow.scss +51 -0
  129. package/dist/scss/utils/_positions.scss +42 -0
  130. package/dist/scss/utils/_radius.scss +41 -0
  131. package/dist/scss/utils/_sizing.scss +40 -0
  132. package/dist/scss/utils/_spaces.scss +164 -0
  133. package/dist/scss/utils/_text.scss +76 -0
  134. package/dist/scss/utils/_transitions.scss +98 -0
  135. package/dist/scss/utils/_typography.scss +81 -0
  136. package/dist/styles.css +1 -1
  137. package/dist/temp-types/src/components/CApp/CApp.vue.d.ts +2 -4
  138. package/dist/temp-types/src/components/CApp/CApp.vue.d.ts.map +1 -1
  139. package/dist/temp-types/src/components/CApp/types.d.ts +4 -0
  140. package/dist/temp-types/src/components/CApp/types.d.ts.map +1 -1
  141. package/dist/temp-types/src/components/CAutocomplete/CAutocomplete.vue.d.ts +7 -2
  142. package/dist/temp-types/src/components/CAutocomplete/CAutocomplete.vue.d.ts.map +1 -1
  143. package/dist/temp-types/src/components/CAutocomplete/types.d.ts +16 -6
  144. package/dist/temp-types/src/components/CAutocomplete/types.d.ts.map +1 -1
  145. package/dist/temp-types/src/components/CBtn/CBtn.vue.d.ts +5 -1
  146. package/dist/temp-types/src/components/CBtn/CBtn.vue.d.ts.map +1 -1
  147. package/dist/temp-types/src/components/CBtn/index.d.ts +1 -0
  148. package/dist/temp-types/src/components/CBtn/index.d.ts.map +1 -1
  149. package/dist/temp-types/src/components/CBtn/types.d.ts +1 -0
  150. package/dist/temp-types/src/components/CBtn/types.d.ts.map +1 -1
  151. package/dist/temp-types/src/components/CCheckbox/CCheckbox.vue.d.ts +2 -6
  152. package/dist/temp-types/src/components/CCheckbox/CCheckbox.vue.d.ts.map +1 -1
  153. package/dist/temp-types/src/components/CCheckbox/CheckboxElement.vue.d.ts +32 -0
  154. package/dist/temp-types/src/components/CCheckbox/CheckboxElement.vue.d.ts.map +1 -0
  155. package/dist/temp-types/src/components/CCheckbox/types.d.ts +7 -4
  156. package/dist/temp-types/src/components/CCheckbox/types.d.ts.map +1 -1
  157. package/dist/temp-types/src/components/CChip/CChip.vue.d.ts +13 -0
  158. package/dist/temp-types/src/components/CChip/CChip.vue.d.ts.map +1 -0
  159. package/dist/temp-types/src/components/CChip/index.d.ts +2 -0
  160. package/dist/temp-types/src/components/CChip/index.d.ts.map +1 -0
  161. package/dist/temp-types/src/components/CDateInput/CDateInput.vue.d.ts +61 -0
  162. package/dist/temp-types/src/components/CDateInput/CDateInput.vue.d.ts.map +1 -0
  163. package/dist/temp-types/src/components/CDateInput/index.d.ts +3 -0
  164. package/dist/temp-types/src/components/CDateInput/index.d.ts.map +1 -0
  165. package/dist/temp-types/src/components/CDatePicker/CDatePicker.vue.d.ts +82 -0
  166. package/dist/temp-types/src/components/CDatePicker/CDatePicker.vue.d.ts.map +1 -0
  167. package/dist/temp-types/src/components/CDatePicker/CDatePickerDates.vue.d.ts +60 -0
  168. package/dist/temp-types/src/components/CDatePicker/CDatePickerDates.vue.d.ts.map +1 -0
  169. package/dist/temp-types/src/components/CDatePicker/CDatePickerHeader.vue.d.ts +27 -0
  170. package/dist/temp-types/src/components/CDatePicker/CDatePickerHeader.vue.d.ts.map +1 -0
  171. package/dist/temp-types/src/components/CDatePicker/CDatePickerMonths.vue.d.ts +40 -0
  172. package/dist/temp-types/src/components/CDatePicker/CDatePickerMonths.vue.d.ts.map +1 -0
  173. package/dist/temp-types/src/components/CDatePicker/CDatePickerYears.vue.d.ts +34 -0
  174. package/dist/temp-types/src/components/CDatePicker/CDatePickerYears.vue.d.ts.map +1 -0
  175. package/dist/temp-types/src/components/CDatePicker/helpers.d.ts +4 -0
  176. package/dist/temp-types/src/components/CDatePicker/helpers.d.ts.map +1 -0
  177. package/dist/temp-types/src/components/CDatePicker/index.d.ts +6 -0
  178. package/dist/temp-types/src/components/CDatePicker/index.d.ts.map +1 -0
  179. package/dist/temp-types/src/components/CDatePicker/locales/index.d.ts +7 -0
  180. package/dist/temp-types/src/components/CDatePicker/locales/index.d.ts.map +1 -0
  181. package/dist/temp-types/src/components/CDatePicker/types.d.ts +22 -0
  182. package/dist/temp-types/src/components/CDatePicker/types.d.ts.map +1 -0
  183. package/dist/temp-types/src/components/CDatePicker/utils.d.ts +8 -0
  184. package/dist/temp-types/src/components/CDatePicker/utils.d.ts.map +1 -0
  185. package/dist/temp-types/src/components/CDialog/CDialog.vue.d.ts +1 -1
  186. package/dist/temp-types/src/components/CDialog/CDialog.vue.d.ts.map +1 -1
  187. package/dist/temp-types/src/components/CDialog/CDialogsStack.vue.d.ts.map +1 -1
  188. package/dist/temp-types/src/components/CDialog/types.d.ts.map +1 -1
  189. package/dist/temp-types/src/components/CField/CField.vue.d.ts +26 -10
  190. package/dist/temp-types/src/components/CField/CField.vue.d.ts.map +1 -1
  191. package/dist/temp-types/src/components/CField/index.d.ts +1 -0
  192. package/dist/temp-types/src/components/CField/index.d.ts.map +1 -1
  193. package/dist/temp-types/src/components/CField/types.d.ts +22 -0
  194. package/dist/temp-types/src/components/CField/types.d.ts.map +1 -0
  195. package/dist/temp-types/src/components/CForm/CForm.vue.d.ts +10 -8
  196. package/dist/temp-types/src/components/CForm/CForm.vue.d.ts.map +1 -1
  197. package/dist/temp-types/src/components/CForm/types.d.ts +13 -3
  198. package/dist/temp-types/src/components/CForm/types.d.ts.map +1 -1
  199. package/dist/temp-types/src/components/CGrid/CCol.d.ts.map +1 -1
  200. package/dist/temp-types/src/components/CGrid/CRow.d.ts +1 -1
  201. package/dist/temp-types/src/components/CGrid/CRow.d.ts.map +1 -1
  202. package/dist/temp-types/src/components/CGrid/index.d.ts +1 -1
  203. package/dist/temp-types/src/components/CIcon/CIcon.vue.d.ts.map +1 -1
  204. package/dist/temp-types/src/components/CIcon/types.d.ts +1 -2
  205. package/dist/temp-types/src/components/CIcon/types.d.ts.map +1 -1
  206. package/dist/temp-types/src/components/CInput/CInput.vue.d.ts +23 -7
  207. package/dist/temp-types/src/components/CInput/CInput.vue.d.ts.map +1 -1
  208. package/dist/temp-types/src/components/CInput/types.d.ts +42 -28
  209. package/dist/temp-types/src/components/CInput/types.d.ts.map +1 -1
  210. package/dist/temp-types/src/components/CLabel/CLabel.d.ts.map +1 -1
  211. package/dist/temp-types/src/components/CList/CList.vue.d.ts +7 -1
  212. package/dist/temp-types/src/components/CList/CList.vue.d.ts.map +1 -1
  213. package/dist/temp-types/src/components/CList/CListItem.vue.d.ts.map +1 -1
  214. package/dist/temp-types/src/components/CList/types.d.ts +18 -1
  215. package/dist/temp-types/src/components/CList/types.d.ts.map +1 -1
  216. package/dist/temp-types/src/components/CMenu/CMenu.vue.d.ts +6 -6
  217. package/dist/temp-types/src/components/CMenu/CMenu.vue.d.ts.map +1 -1
  218. package/dist/temp-types/src/components/CMenu/types.d.ts +2 -2
  219. package/dist/temp-types/src/components/CMenu/types.d.ts.map +1 -1
  220. package/dist/temp-types/src/components/COverlay/COverlay.vue.d.ts.map +1 -1
  221. package/dist/temp-types/src/components/CRadio/CRadio.vue.d.ts.map +1 -1
  222. package/dist/temp-types/src/components/CRadio/CRadioGroup.vue.d.ts +13 -0
  223. package/dist/temp-types/src/components/CRadio/CRadioGroup.vue.d.ts.map +1 -0
  224. package/dist/temp-types/src/components/CRadio/index.d.ts +1 -0
  225. package/dist/temp-types/src/components/CRadio/index.d.ts.map +1 -1
  226. package/dist/temp-types/src/components/CScrim/index.d.ts.map +1 -1
  227. package/dist/temp-types/src/components/CSelect/CSelect.vue.d.ts +7 -2
  228. package/dist/temp-types/src/components/CSelect/CSelect.vue.d.ts.map +1 -1
  229. package/dist/temp-types/src/components/CSelect/types.d.ts +16 -6
  230. package/dist/temp-types/src/components/CSelect/types.d.ts.map +1 -1
  231. package/dist/temp-types/src/components/CSelectControl/CSelectControl.vue.d.ts +5 -1
  232. package/dist/temp-types/src/components/CSelectControl/CSelectControl.vue.d.ts.map +1 -1
  233. package/dist/temp-types/src/components/CTextField/CTextField.vue.d.ts +19 -17
  234. package/dist/temp-types/src/components/CTextField/CTextField.vue.d.ts.map +1 -1
  235. package/dist/temp-types/src/components/CTextField/index.d.ts +10 -1
  236. package/dist/temp-types/src/components/CTextField/index.d.ts.map +1 -1
  237. package/dist/temp-types/src/components/CTextField/types.d.ts +16 -0
  238. package/dist/temp-types/src/components/CTextField/types.d.ts.map +1 -0
  239. package/dist/temp-types/src/components/CToolbar/CToolbar.vue.d.ts.map +1 -1
  240. package/dist/temp-types/src/components/CTooltip/CTooltip.vue.d.ts +3 -1
  241. package/dist/temp-types/src/components/CTooltip/CTooltip.vue.d.ts.map +1 -1
  242. package/dist/temp-types/src/components/CTooltip/index.d.ts +7 -1
  243. package/dist/temp-types/src/components/CTooltip/index.d.ts.map +1 -1
  244. package/dist/temp-types/src/components/index.d.ts +17 -15
  245. package/dist/temp-types/src/components/index.d.ts.map +1 -1
  246. package/dist/temp-types/src/composables/index.d.ts +22 -14
  247. package/dist/temp-types/src/composables/index.d.ts.map +1 -1
  248. package/dist/temp-types/src/composables/use-activator.d.ts +4 -2
  249. package/dist/temp-types/src/composables/use-activator.d.ts.map +1 -1
  250. package/dist/temp-types/src/composables/{use-app-scroll.d.ts → use-application-scroll.d.ts} +2 -2
  251. package/dist/temp-types/src/composables/use-application-scroll.d.ts.map +1 -0
  252. package/dist/temp-types/src/composables/use-application.d.ts.map +1 -1
  253. package/dist/temp-types/src/composables/use-aria-activator.d.ts +8 -0
  254. package/dist/temp-types/src/composables/use-aria-activator.d.ts.map +1 -0
  255. package/dist/temp-types/src/composables/use-aria-dialog.d.ts +9 -0
  256. package/dist/temp-types/src/composables/use-aria-dialog.d.ts.map +1 -0
  257. package/dist/temp-types/src/composables/use-aria-field.d.ts +13 -0
  258. package/dist/temp-types/src/composables/use-aria-field.d.ts.map +1 -0
  259. package/dist/temp-types/src/composables/use-aria-listbox.d.ts +8 -0
  260. package/dist/temp-types/src/composables/use-aria-listbox.d.ts.map +1 -0
  261. package/dist/temp-types/src/composables/use-aria-toggle.d.ts +11 -0
  262. package/dist/temp-types/src/composables/use-aria-toggle.d.ts.map +1 -0
  263. package/dist/temp-types/src/composables/use-auto-position.d.ts +12 -9
  264. package/dist/temp-types/src/composables/use-auto-position.d.ts.map +1 -1
  265. package/dist/temp-types/src/composables/use-autocomplete.d.ts +9 -4
  266. package/dist/temp-types/src/composables/use-autocomplete.d.ts.map +1 -1
  267. package/dist/temp-types/src/composables/use-breakpoints.d.ts +1 -0
  268. package/dist/temp-types/src/composables/use-breakpoints.d.ts.map +1 -1
  269. package/dist/temp-types/src/composables/use-button-presets.d.ts +2 -2
  270. package/dist/temp-types/src/composables/use-button-presets.d.ts.map +1 -1
  271. package/dist/temp-types/src/composables/use-core.d.ts.map +1 -1
  272. package/dist/temp-types/src/composables/use-delay-actions.d.ts.map +1 -1
  273. package/dist/temp-types/src/composables/use-dialogs-stack.d.ts +3 -3
  274. package/dist/temp-types/src/composables/use-dialogs-stack.d.ts.map +1 -1
  275. package/dist/temp-types/src/composables/use-display.d.ts +29 -55
  276. package/dist/temp-types/src/composables/use-display.d.ts.map +1 -1
  277. package/dist/temp-types/src/composables/use-effect.d.ts.map +1 -1
  278. package/dist/temp-types/src/composables/use-field-presets.d.ts +12 -0
  279. package/dist/temp-types/src/composables/use-field-presets.d.ts.map +1 -0
  280. package/dist/temp-types/src/composables/use-form.d.ts +1 -1
  281. package/dist/temp-types/src/composables/use-form.d.ts.map +1 -1
  282. package/dist/temp-types/src/composables/use-icon.d.ts +32 -4
  283. package/dist/temp-types/src/composables/use-icon.d.ts.map +1 -1
  284. package/dist/temp-types/src/composables/use-id.d.ts +6 -0
  285. package/dist/temp-types/src/composables/use-id.d.ts.map +1 -0
  286. package/dist/temp-types/src/composables/use-input-presets.d.ts +6 -7
  287. package/dist/temp-types/src/composables/use-input-presets.d.ts.map +1 -1
  288. package/dist/temp-types/src/composables/use-keyboard.d.ts +11 -0
  289. package/dist/temp-types/src/composables/use-keyboard.d.ts.map +1 -0
  290. package/dist/temp-types/src/composables/use-list.d.ts +3 -0
  291. package/dist/temp-types/src/composables/use-list.d.ts.map +1 -0
  292. package/dist/temp-types/src/composables/use-menu.d.ts +2 -0
  293. package/dist/temp-types/src/composables/use-menu.d.ts.map +1 -0
  294. package/dist/temp-types/src/composables/use-normalized-items.d.ts +18 -0
  295. package/dist/temp-types/src/composables/use-normalized-items.d.ts.map +1 -0
  296. package/dist/temp-types/src/composables/use-overlay-stack.d.ts +1 -0
  297. package/dist/temp-types/src/composables/use-overlay-stack.d.ts.map +1 -1
  298. package/dist/temp-types/src/composables/use-presets.d.ts.map +1 -1
  299. package/dist/temp-types/src/composables/use-select-control.d.ts +2 -0
  300. package/dist/temp-types/src/composables/use-select-control.d.ts.map +1 -0
  301. package/dist/temp-types/src/composables/use-selected-chips.d.ts +16 -0
  302. package/dist/temp-types/src/composables/use-selected-chips.d.ts.map +1 -0
  303. package/dist/temp-types/src/composables/use-toggle.d.ts +1 -1
  304. package/dist/temp-types/src/composables/use-toggle.d.ts.map +1 -1
  305. package/dist/temp-types/src/composables/use-validate.d.ts +10 -8
  306. package/dist/temp-types/src/composables/use-validate.d.ts.map +1 -1
  307. package/dist/temp-types/src/constants/aria.d.ts +35 -0
  308. package/dist/temp-types/src/constants/aria.d.ts.map +1 -0
  309. package/dist/temp-types/src/constants/attrs.d.ts +2 -0
  310. package/dist/temp-types/src/constants/attrs.d.ts.map +1 -0
  311. package/dist/temp-types/src/constants/icons.d.ts +91 -18
  312. package/dist/temp-types/src/constants/icons.d.ts.map +1 -1
  313. package/dist/temp-types/src/constants/index.d.ts +3 -1
  314. package/dist/temp-types/src/constants/index.d.ts.map +1 -1
  315. package/dist/temp-types/src/constants/provide-keys.d.ts +7 -6
  316. package/dist/temp-types/src/constants/provide-keys.d.ts.map +1 -1
  317. package/dist/temp-types/src/directives/v-click-outside.d.ts.map +1 -1
  318. package/dist/temp-types/src/enums/IconName.d.ts +15 -2
  319. package/dist/temp-types/src/enums/IconName.d.ts.map +1 -1
  320. package/dist/temp-types/src/helpers/index.d.ts +2 -0
  321. package/dist/temp-types/src/helpers/index.d.ts.map +1 -1
  322. package/dist/temp-types/src/helpers/preset.d.ts +8 -0
  323. package/dist/temp-types/src/helpers/preset.d.ts.map +1 -0
  324. package/dist/temp-types/src/helpers/theme.d.ts +4 -0
  325. package/dist/temp-types/src/helpers/theme.d.ts.map +1 -0
  326. package/dist/temp-types/src/index.d.ts.map +1 -1
  327. package/dist/temp-types/src/library.d.ts +10 -3
  328. package/dist/temp-types/src/library.d.ts.map +1 -1
  329. package/dist/temp-types/src/resolvers/font-awesome.d.ts +18 -0
  330. package/dist/temp-types/src/resolvers/font-awesome.d.ts.map +1 -0
  331. package/dist/temp-types/src/resolvers/index.d.ts +2 -0
  332. package/dist/temp-types/src/resolvers/index.d.ts.map +1 -0
  333. package/dist/temp-types/src/resolvers/material.d.ts +1 -0
  334. package/dist/temp-types/src/resolvers/material.d.ts.map +1 -0
  335. package/dist/temp-types/src/types/icons.d.ts +29 -0
  336. package/dist/temp-types/src/types/icons.d.ts.map +1 -0
  337. package/dist/temp-types/src/types/index.d.ts +4 -2
  338. package/dist/temp-types/src/types/index.d.ts.map +1 -1
  339. package/dist/temp-types/src/types/presets.d.ts +35 -47
  340. package/dist/temp-types/src/types/presets.d.ts.map +1 -1
  341. package/dist/temp-types/src/types/theme.d.ts +32 -0
  342. package/dist/temp-types/src/types/theme.d.ts.map +1 -0
  343. package/dist/temp-types/src/utils/aria.d.ts +36 -0
  344. package/dist/temp-types/src/utils/aria.d.ts.map +1 -0
  345. package/dist/temp-types/src/utils/compile-css-classes.d.ts.map +1 -1
  346. package/dist/temp-types/src/utils/create-simple-functional.d.ts.map +1 -1
  347. package/dist/temp-types/src/utils/index.d.ts +3 -2
  348. package/dist/temp-types/src/utils/index.d.ts.map +1 -1
  349. package/dist/temp-types/src/utils/throttle.d.ts.map +1 -1
  350. package/dist/temp-types/tsconfig.build.tsbuildinfo +1 -1
  351. package/dist/types/index.d.ts +125 -0
  352. package/dist/types.d.ts +137 -72
  353. package/dist/utils/aria.js +95 -0
  354. package/dist/utils/compile-css-classes.js +3 -13
  355. package/dist/utils/create-simple-functional.js +1 -5
  356. package/dist/utils/index.d.ts +48 -10
  357. package/dist/utils/index.js +3 -2
  358. package/package.json +35 -9
  359. package/dist/components/CItems/CItems.js +0 -66
  360. package/dist/composables/use-field-attrs.js +0 -43
  361. package/dist/composables/use-input-state.js +0 -41
  362. package/dist/composables/use-input-value.js +0 -18
  363. package/dist/composables/use-menu-presets.js +0 -17
  364. package/dist/composables/use-position-classes.js +0 -12
  365. package/dist/css/themes/default-theme.css +0 -1
  366. package/dist/temp-types/src/components/CItems/CItems.d.ts +0 -16
  367. package/dist/temp-types/src/components/CItems/CItems.d.ts.map +0 -1
  368. package/dist/temp-types/src/components/CItems/index.d.ts +0 -2
  369. package/dist/temp-types/src/components/CItems/index.d.ts.map +0 -1
  370. package/dist/temp-types/src/composables/use-app-scroll.d.ts.map +0 -1
  371. package/dist/temp-types/src/composables/use-field-attrs.d.ts +0 -10
  372. package/dist/temp-types/src/composables/use-field-attrs.d.ts.map +0 -1
  373. package/dist/temp-types/src/composables/use-input-state.d.ts +0 -17
  374. package/dist/temp-types/src/composables/use-input-state.d.ts.map +0 -1
  375. package/dist/temp-types/src/composables/use-input-value.d.ts +0 -3
  376. package/dist/temp-types/src/composables/use-input-value.d.ts.map +0 -1
  377. package/dist/temp-types/src/composables/use-menu-presets.d.ts +0 -7
  378. package/dist/temp-types/src/composables/use-menu-presets.d.ts.map +0 -1
  379. package/dist/temp-types/src/composables/use-position-classes.d.ts +0 -10
  380. package/dist/temp-types/src/composables/use-position-classes.d.ts.map +0 -1
  381. package/dist/temp-types/src/utils/define-preset.d.ts +0 -2
  382. package/dist/temp-types/src/utils/define-preset.d.ts.map +0 -1
  383. /package/dist/css/{themes/default-theme.js → lib.js} +0 -0
@@ -0,0 +1,88 @@
1
+ $shadow-key-umbra-opacity: rgba(0, 0, 0, 0.2) !default;
2
+ $shadow-key-penumbra-opacity: rgba(0, 0, 0, 0.14) !default;
3
+ $shadow-key-ambient-opacity: rgba(0, 0, 0, 0.12) !default;
4
+
5
+ $shadow-key-umbra: (
6
+ 0: (0px 0px 0px 0px $shadow-key-umbra-opacity),
7
+ 1: (0px 2px 1px -1px $shadow-key-umbra-opacity),
8
+ 2: (0px 3px 1px -2px $shadow-key-umbra-opacity),
9
+ 3: (0px 3px 3px -2px $shadow-key-umbra-opacity),
10
+ 4: (0px 2px 4px -1px $shadow-key-umbra-opacity),
11
+ 5: (0px 3px 5px -1px $shadow-key-umbra-opacity),
12
+ 6: (0px 3px 5px -1px $shadow-key-umbra-opacity),
13
+ 7: (0px 4px 5px -2px $shadow-key-umbra-opacity),
14
+ 8: (0px 5px 5px -3px $shadow-key-umbra-opacity),
15
+ 9: (0px 5px 6px -3px $shadow-key-umbra-opacity),
16
+ 10: (0px 6px 6px -3px $shadow-key-umbra-opacity),
17
+ 11: (0px 6px 7px -4px $shadow-key-umbra-opacity),
18
+ 12: (0px 7px 8px -4px $shadow-key-umbra-opacity),
19
+ 13: (0px 7px 8px -4px $shadow-key-umbra-opacity),
20
+ 14: (0px 7px 9px -4px $shadow-key-umbra-opacity),
21
+ 15: (0px 8px 9px -5px $shadow-key-umbra-opacity),
22
+ 16: (0px 8px 10px -5px $shadow-key-umbra-opacity),
23
+ 17: (0px 8px 11px -5px $shadow-key-umbra-opacity),
24
+ 18: (0px 9px 11px -5px $shadow-key-umbra-opacity),
25
+ 19: (0px 9px 12px -6px $shadow-key-umbra-opacity),
26
+ 20: (0px 10px 13px -6px $shadow-key-umbra-opacity),
27
+ 21: (0px 10px 13px -6px $shadow-key-umbra-opacity),
28
+ 22: (0px 10px 14px -6px $shadow-key-umbra-opacity),
29
+ 23: (0px 11px 14px -7px $shadow-key-umbra-opacity),
30
+ 24: (0px 11px 15px -7px $shadow-key-umbra-opacity)
31
+ );
32
+
33
+ $shadow-key-penumbra: () !default;
34
+ $shadow-key-penumbra: (
35
+ 0: (0px 0px 0px 0px $shadow-key-penumbra-opacity),
36
+ 1: (0px 1px 1px 0px $shadow-key-penumbra-opacity),
37
+ 2: (0px 2px 2px 0px $shadow-key-penumbra-opacity),
38
+ 3: (0px 3px 4px 0px $shadow-key-penumbra-opacity),
39
+ 4: (0px 4px 5px 0px $shadow-key-penumbra-opacity),
40
+ 5: (0px 5px 8px 0px $shadow-key-penumbra-opacity),
41
+ 6: (0px 6px 10px 0px $shadow-key-penumbra-opacity),
42
+ 7: (0px 7px 10px 1px $shadow-key-penumbra-opacity),
43
+ 8: (0px 8px 10px 1px $shadow-key-penumbra-opacity),
44
+ 9: (0px 9px 12px 1px $shadow-key-penumbra-opacity),
45
+ 10: (0px 10px 14px 1px $shadow-key-penumbra-opacity),
46
+ 11: (0px 11px 15px 1px $shadow-key-penumbra-opacity),
47
+ 12: (0px 12px 17px 2px $shadow-key-penumbra-opacity),
48
+ 13: (0px 13px 19px 2px $shadow-key-penumbra-opacity),
49
+ 14: (0px 14px 21px 2px $shadow-key-penumbra-opacity),
50
+ 15: (0px 15px 22px 2px $shadow-key-penumbra-opacity),
51
+ 16: (0px 16px 24px 2px $shadow-key-penumbra-opacity),
52
+ 17: (0px 17px 26px 2px $shadow-key-penumbra-opacity),
53
+ 18: (0px 18px 28px 2px $shadow-key-penumbra-opacity),
54
+ 19: (0px 19px 29px 2px $shadow-key-penumbra-opacity),
55
+ 20: (0px 20px 31px 3px $shadow-key-penumbra-opacity),
56
+ 21: (0px 21px 33px 3px $shadow-key-penumbra-opacity),
57
+ 22: (0px 22px 35px 3px $shadow-key-penumbra-opacity),
58
+ 23: (0px 23px 36px 3px $shadow-key-penumbra-opacity),
59
+ 24: (0px 24px 38px 3px $shadow-key-penumbra-opacity)
60
+ );
61
+
62
+ $shadow-key-ambient: (
63
+ 0: (0px 0px 0px 0px $shadow-key-ambient-opacity),
64
+ 1: (0px 1px 3px 0px $shadow-key-ambient-opacity),
65
+ 2: (0px 1px 5px 0px $shadow-key-ambient-opacity),
66
+ 3: (0px 1px 8px 0px $shadow-key-ambient-opacity),
67
+ 4: (0px 1px 10px 0px $shadow-key-ambient-opacity),
68
+ 5: (0px 1px 14px 0px $shadow-key-ambient-opacity),
69
+ 6: (0px 1px 18px 0px $shadow-key-ambient-opacity),
70
+ 7: (0px 2px 16px 1px $shadow-key-ambient-opacity),
71
+ 8: (0px 3px 14px 2px $shadow-key-ambient-opacity),
72
+ 9: (0px 3px 16px 2px $shadow-key-ambient-opacity),
73
+ 10: (0px 4px 18px 3px $shadow-key-ambient-opacity),
74
+ 11: (0px 4px 20px 3px $shadow-key-ambient-opacity),
75
+ 12: (0px 5px 22px 4px $shadow-key-ambient-opacity),
76
+ 13: (0px 5px 24px 4px $shadow-key-ambient-opacity),
77
+ 14: (0px 5px 26px 4px $shadow-key-ambient-opacity),
78
+ 15: (0px 6px 28px 5px $shadow-key-ambient-opacity),
79
+ 16: (0px 6px 30px 5px $shadow-key-ambient-opacity),
80
+ 17: (0px 6px 32px 5px $shadow-key-ambient-opacity),
81
+ 18: (0px 7px 34px 6px $shadow-key-ambient-opacity),
82
+ 19: (0px 7px 36px 6px $shadow-key-ambient-opacity),
83
+ 20: (0px 8px 38px 7px $shadow-key-ambient-opacity),
84
+ 21: (0px 8px 40px 7px $shadow-key-ambient-opacity),
85
+ 22: (0px 8px 42px 7px $shadow-key-ambient-opacity),
86
+ 23: (0px 9px 44px 8px $shadow-key-ambient-opacity),
87
+ 24: (0px 9px 46px 8px $shadow-key-ambient-opacity)
88
+ );
@@ -0,0 +1,24 @@
1
+ $flex-grow-step: 4;
2
+ $flex-shrink-step: 4;
3
+
4
+ $justify: (
5
+ 'center': center,
6
+ 'start': flex-start,
7
+ 'end': flex-end,
8
+ 'space-between': space-between,
9
+ 'space-around': space-around,
10
+ 'space-evenly': space-evenly,
11
+ 'stretch': stretch
12
+ );
13
+
14
+ $align: (
15
+ 'center': center,
16
+ 'start': flex-start,
17
+ 'end': flex-end,
18
+ 'baseline': baseline,
19
+ 'stretch': stretch,
20
+ 'end-safe': safe flex-end,
21
+ 'center-safe': safe center,
22
+ 'start-safe': safe flex-start,
23
+ 'baseline-last': safe flex-start,
24
+ );
@@ -0,0 +1,23 @@
1
+ @use "sass:math";
2
+
3
+ $columns: 12;
4
+ $grid-gutter: 10px;
5
+ $gutter-column: math.div($grid-gutter, 2);
6
+
7
+ $grid-gutters: (
8
+ 'xs': math.div($grid-gutter, 24),
9
+ 'sm': math.div($grid-gutter, 12),
10
+ 'md': math.div($grid-gutter, 6),
11
+ 'lg': math.div($grid-gutter, 3),
12
+ 'xl': math.div($grid-gutter * 2, 3),
13
+ 'xxl': $grid-gutter
14
+ );
15
+
16
+ $grid-breakpoints: (
17
+ 'xs': 0,
18
+ 'sm': 600px,
19
+ 'md': 960px,
20
+ 'lg': 1280px,
21
+ 'xl': 1920px,
22
+ 'xxl': 2560px
23
+ ) !default;
@@ -0,0 +1,88 @@
1
+ @use "sass:map";
2
+ @use "../maps/colors-map" as *;
3
+
4
+ $primary-transition: cubic-bezier(.25, .8, .5, 1);
5
+
6
+ :root {
7
+ // ---- Brand ----
8
+ --c-app-primary-color: #{map.get($blue, "darken-2")};
9
+ --c-app-on-primary-color: #{map.get($white, "base")};
10
+ --c-app-secondary-color: #{map.get($blue, "darken-3")};
11
+ --c-app-success-color: #{map.get($green, "base")};
12
+ --c-app-error-color: #{map.get($red, "darken-1")};
13
+ --c-app-warning-color: #{map.get($orange, "base")};
14
+ --c-app-info-color: #{map.get($light-blue, "darken-1")};
15
+ --c-app-accent-color: #{map.get($light-green, "accent-3")};
16
+
17
+ // ---- Surface & background ----
18
+ --c-app-background-color: #{map.get($grey, "lighten-4")};
19
+ --c-app-surface-color: #{map.get($white, "base")};
20
+ --c-app-surface-variant-color: #{map.get($grey, "lighten-3")};
21
+ --c-app-on-surface-color: #{map.get($grey, "darken-3")};
22
+
23
+ // ---- Text ----
24
+ --c-app-text-color: #{map.get($grey, "darken-3")};
25
+ --c-app-text-secondary-color: #{map.get($grey, "darken-1")};
26
+ --c-app-placeholder-color: #{map.get($grey, "base")};
27
+
28
+ // ---- States: disabled ----
29
+ --c-app-disabled-color: #{map.get($grey, "lighten-1")};
30
+ --c-app-disabled-bg-color: #{map.get($grey, "lighten-3")};
31
+ --c-app-disabled-opacity: 0.5;
32
+
33
+ // ---- States: readonly ----
34
+ --c-app-readonly-color: #{map.get($blue, "darken-2")};
35
+ --c-app-readonly-bg-color: #{map.get($grey, "lighten-4")};
36
+
37
+ // ---- States: focus ----
38
+ --c-app-focus-color: #{map.get($blue, "darken-2")};
39
+
40
+ // ---- States: error ----
41
+ --c-app-error-bg-color: #{map.get($red, "lighten-5")};
42
+
43
+ // ---- Interactive ----
44
+ --c-app-hover-color: rgba(0, 0, 0, .06);
45
+ --c-app-overlay-color: rgba(0, 0, 0, .5);
46
+ --c-app-shadow-color: rgba(0, 0, 0, .15);
47
+
48
+ // ---- Misc ----
49
+ --c-app-border-color: #{map.get($grey, "lighten-2")};
50
+ --c-app-border-radius: 8px;
51
+ }
52
+
53
+ // ---- Dark theme ----
54
+ [data-theme="dark"] {
55
+ --c-app-primary-color: #{map.get($blue, "lighten-3")};
56
+ --c-app-on-primary-color: #{map.get($grey, "darken-4")};
57
+ --c-app-secondary-color: #{map.get($blue, "lighten-2")};
58
+ --c-app-success-color: #{map.get($green, "lighten-2")};
59
+ --c-app-error-color: #{map.get($red, "lighten-2")};
60
+ --c-app-warning-color: #{map.get($orange, "lighten-2")};
61
+ --c-app-info-color: #{map.get($light-blue, "lighten-2")};
62
+
63
+ --c-app-background-color: #{map.get($grey, "darken-4")};
64
+ --c-app-surface-color: #1e1e1e;
65
+ --c-app-surface-variant-color: #2a2a2a;
66
+ --c-app-on-surface-color: #{map.get($grey, "lighten-2")};
67
+
68
+ --c-app-text-color: #{map.get($grey, "lighten-2")};
69
+ --c-app-text-secondary-color: #{map.get($grey, "base")};
70
+ --c-app-placeholder-color: #{map.get($grey, "darken-1")};
71
+
72
+ --c-app-disabled-color: #{map.get($grey, "darken-2")};
73
+ --c-app-disabled-bg-color: #2a2a2a;
74
+ --c-app-disabled-opacity: 0.4;
75
+
76
+ --c-app-readonly-color: #{map.get($blue, "lighten-3")};
77
+ --c-app-readonly-bg-color: #2a2a2a;
78
+
79
+ --c-app-focus-color: #{map.get($blue, "lighten-3")};
80
+
81
+ --c-app-error-bg-color: rgba(#{map.get($red, "base")}, .12);
82
+
83
+ --c-app-hover-color: rgba(255, 255, 255, .08);
84
+ --c-app-overlay-color: rgba(0, 0, 0, .7);
85
+ --c-app-shadow-color: rgba(0, 0, 0, .4);
86
+
87
+ --c-app-border-color: #{map.get($grey, "darken-2")};
88
+ }
@@ -0,0 +1,281 @@
1
+ /* resset.dev • v5.0.2 */
2
+
3
+ /* # =================================================================
4
+ # Global selectors
5
+ # ================================================================= */
6
+
7
+ html {
8
+ box-sizing: border-box;
9
+ -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS */
10
+ word-break: normal;
11
+ -moz-tab-size: 4;
12
+ tab-size: 4;
13
+ }
14
+
15
+ *,
16
+ ::before,
17
+ ::after {
18
+ background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
19
+ box-sizing: inherit;
20
+ }
21
+
22
+ ::before,
23
+ ::after {
24
+ text-decoration: inherit; /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
25
+ vertical-align: inherit;
26
+ }
27
+
28
+ * {
29
+ padding: 0; /* Reset `padding` and `margin` of all elements */
30
+ margin: 0;
31
+ }
32
+
33
+ /* # =================================================================
34
+ # General elements
35
+ # ================================================================= */
36
+
37
+ hr {
38
+ overflow: visible; /* Show the overflow in Edge and IE */
39
+ height: 0; /* Add the correct box sizing in Firefox */
40
+ color: inherit; /* Correct border color in Firefox. */
41
+ }
42
+
43
+ details,
44
+ main {
45
+ display: block; /* Render the `main` element consistently in IE. */
46
+ }
47
+
48
+ summary {
49
+ display: list-item; /* Add the correct display in all browsers */
50
+ }
51
+
52
+ small {
53
+ font-size: 80%; /* Set font-size to 80% in `small` elements */
54
+ }
55
+
56
+ [hidden] {
57
+ display: none; /* Add the correct display in IE */
58
+ }
59
+
60
+ abbr[title] {
61
+ border-bottom: none; /* Remove the bottom border in Chrome 57 */
62
+ /* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
63
+ text-decoration: underline;
64
+ text-decoration: underline dotted;
65
+ }
66
+
67
+ a {
68
+ background-color: transparent; /* Remove the gray background on active links in IE 10 */
69
+ }
70
+
71
+ a:active,
72
+ a:hover {
73
+ outline-width: 0; /* Remove the outline when hovering in all browsers */
74
+ }
75
+
76
+ code,
77
+ kbd,
78
+ pre,
79
+ samp {
80
+ font-family: monospace, monospace; /* Specify the font family of code elements */
81
+ }
82
+
83
+ pre {
84
+ font-size: 1em; /* Correct the odd `em` font sizing in all browsers */
85
+ }
86
+
87
+ b,
88
+ strong {
89
+ font-weight: bolder; /* Add the correct font weight in Chrome, Edge, and Safari */
90
+ }
91
+
92
+ /* https://gist.github.com/unruthless/413930 */
93
+ sub,
94
+ sup {
95
+ font-size: 75%;
96
+ line-height: 0;
97
+ position: relative;
98
+ vertical-align: baseline;
99
+ }
100
+
101
+ sub {
102
+ bottom: -0.25em;
103
+ }
104
+
105
+ sup {
106
+ top: -0.5em;
107
+ }
108
+
109
+ table {
110
+ border-color: inherit; /* Correct border color in all Chrome, Edge, and Safari. */
111
+ text-indent: 0; /* Remove text indentation in Chrome, Edge, and Safari */
112
+ }
113
+
114
+ iframe {
115
+ border-style: none;
116
+ }
117
+
118
+ /* # =================================================================
119
+ # Forms
120
+ # ================================================================= */
121
+
122
+ input {
123
+ border-radius: 0;
124
+ }
125
+
126
+ [type='number']::-webkit-inner-spin-button,
127
+ [type='number']::-webkit-outer-spin-button {
128
+ height: auto; /* Correct the cursor style of increment and decrement buttons in Chrome */
129
+ }
130
+
131
+ [type='search'] {
132
+ -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
133
+ outline-offset: -2px; /* Correct the outline style in Safari */
134
+ }
135
+
136
+ [type='search']::-webkit-search-decoration {
137
+ -webkit-appearance: none; /* Remove the inner padding in Chrome and Safari on macOS */
138
+ }
139
+
140
+ textarea {
141
+ overflow: auto; /* Internet Explorer 11+ */
142
+ resize: vertical; /* Specify textarea resizability */
143
+ }
144
+
145
+ button,
146
+ input,
147
+ optgroup,
148
+ select,
149
+ textarea {
150
+ font: inherit; /* Specify font inheritance of form elements */
151
+ }
152
+
153
+ optgroup {
154
+ font-weight: bold; /* Restore the font weight unset by the previous rule */
155
+ }
156
+
157
+ button {
158
+ overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
159
+ }
160
+
161
+ button,
162
+ select {
163
+ text-transform: none; /* Firefox 40+, Internet Explorer 11- */
164
+ }
165
+
166
+ /* Apply cursor pointer to buttonPresets elements */
167
+ button,
168
+ [type='button'],
169
+ [type='reset'],
170
+ [type='submit'],
171
+ [role='button'] {
172
+ cursor: pointer;
173
+ }
174
+
175
+ /* Remove inner padding and border in Firefox 4+ */
176
+ button::-moz-focus-inner,
177
+ [type='button']::-moz-focus-inner,
178
+ [type='reset']::-moz-focus-inner,
179
+ [type='submit']::-moz-focus-inner {
180
+ border-style: none;
181
+ padding: 0;
182
+ }
183
+
184
+ /* Replace focus style removed in the border reset above */
185
+ button:-moz-focusring,
186
+ [type='button']::-moz-focus-inner,
187
+ [type='reset']::-moz-focus-inner,
188
+ [type='submit']::-moz-focus-inner {
189
+ outline: 1px dotted ButtonText;
190
+ }
191
+
192
+ button,
193
+ html [type='button'], /* Prevent a WebKit bug where (2) destroys native `audio` and `video`controls in Android 4 */
194
+ [type='reset'],
195
+ [type='submit'] {
196
+ -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
197
+ }
198
+
199
+ /* Remove the default buttonPresets styling in all browsers */
200
+ button,
201
+ input,
202
+ select,
203
+ textarea {
204
+ background-color: transparent;
205
+ border-style: none;
206
+ }
207
+
208
+ a:focus,
209
+ button:focus,
210
+ input:focus,
211
+ select:focus,
212
+ textarea:focus {
213
+ outline-width: 0;
214
+ }
215
+
216
+ /* Style select like a standard input */
217
+ select {
218
+ -moz-appearance: none; /* Firefox 36+ */
219
+ -webkit-appearance: none; /* Chrome 41+ */
220
+ }
221
+
222
+ select::-ms-expand {
223
+ display: none; /* Internet Explorer 11+ */
224
+ }
225
+
226
+ select::-ms-value {
227
+ color: currentColor; /* Internet Explorer 11+ */
228
+ }
229
+
230
+ legend {
231
+ border: 0; /* Correct `color` not being inherited in IE 8/9/10/11 */
232
+ color: inherit; /* Correct the color inheritance from `fieldset` elements in IE */
233
+ display: table; /* Correct the text wrapping in Edge and IE */
234
+ max-width: 100%; /* Correct the text wrapping in Edge and IE */
235
+ white-space: normal; /* Correct the text wrapping in Edge and IE */
236
+ max-width: 100%; /* Correct the text wrapping in Edge 18- and IE */
237
+ }
238
+
239
+ ::-webkit-file-upload-button {
240
+ /* Correct the inability to style clickable types in iOS and Safari */
241
+ -webkit-appearance: button;
242
+ color: inherit;
243
+ font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
244
+ }
245
+
246
+ /* Replace pointer cursor in disabled elements */
247
+ [disabled] {
248
+ cursor: default;
249
+ }
250
+
251
+ /* # =================================================================
252
+ # Specify media element style
253
+ # ================================================================= */
254
+
255
+ img {
256
+ border-style: none; /* Remove border when inside `a` element in IE 8/9/10 */
257
+ }
258
+
259
+ /* Add the correct vertical alignment in Chrome, Firefox, and Opera */
260
+ progress {
261
+ vertical-align: baseline;
262
+ }
263
+
264
+ /* # =================================================================
265
+ # Accessibility
266
+ # ================================================================= */
267
+
268
+ /* Specify the progress cursor of updating elements */
269
+ [aria-busy='true'] {
270
+ cursor: progress;
271
+ }
272
+
273
+ /* Specify the pointer cursor of trigger elements */
274
+ [aria-controls] {
275
+ cursor: pointer;
276
+ }
277
+
278
+ /* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
279
+ [aria-disabled='true'] {
280
+ cursor: default;
281
+ }
@@ -0,0 +1,20 @@
1
+ @forward "maps/grids";
2
+ @use "ress";
3
+ @use "modules/global-vars";
4
+ @use "utils/transitions";
5
+ @use "utils/spaces";
6
+ @use "utils/elevations";
7
+ @use "utils/flex";
8
+ @use "utils/radius";
9
+ @use "utils/positions";
10
+ @use "utils/text";
11
+ @use "utils/typography";
12
+ @use "utils/opacity";
13
+ @use "utils/overflow";
14
+ @use "utils/display";
15
+ @use "utils/sizing";
16
+ @use "utils/cursor";
17
+ @use "utils/colors";
18
+ @use "utils/borders";
19
+ @use "utils/helpers";
20
+ @use "utils/grid";
@@ -0,0 +1,28 @@
1
+ // Border width
2
+ .border-0 { border: none !important; }
3
+ .border { border: 1px solid !important; }
4
+ .border-2 { border: 2px solid !important; }
5
+
6
+ .border-t { border-top: 1px solid !important; }
7
+ .border-b { border-bottom: 1px solid !important; }
8
+ .border-l { border-left: 1px solid !important; }
9
+ .border-r { border-right: 1px solid !important; }
10
+
11
+ .border-t-0 { border-top: none !important; }
12
+ .border-b-0 { border-bottom: none !important; }
13
+ .border-l-0 { border-left: none !important; }
14
+ .border-r-0 { border-right: none !important; }
15
+
16
+ // Border style
17
+ .border-solid { border-style: solid !important; }
18
+ .border-dashed { border-style: dashed !important; }
19
+ .border-dotted { border-style: dotted !important; }
20
+ .border-none { border-style: none !important; }
21
+
22
+ // Border color — theme-aware
23
+ .border-transparent { border-color: transparent !important; }
24
+ .border-current { border-color: currentColor !important; }
25
+
26
+ // Outline
27
+ .outline-none { outline: none !important; }
28
+ .outline { outline: 1px solid !important; }
@@ -0,0 +1,86 @@
1
+ @use "sass:map";
2
+ @use "../maps/colors-map" as *;
3
+
4
+ @mixin background-color($color_value) {
5
+ background-color: $color_value !important;
6
+ border-color: $color_value !important;
7
+ }
8
+
9
+ @mixin text-color($color_value) {
10
+ color: $color_value !important;
11
+ caret-color: $color_value !important;
12
+ }
13
+
14
+ @mixin text-active($color) {
15
+ &:hover {
16
+ &:active {
17
+ &:before {
18
+ background: $color !important;
19
+ opacity: .3;
20
+ transition: background .1s;
21
+ }
22
+ }
23
+ }
24
+ }
25
+
26
+ @mixin bg-active($color) {
27
+ &:active {
28
+ background: $color !important;
29
+ transition: background .1s;
30
+ }
31
+ }
32
+
33
+ @mixin bg-hover($color) {
34
+ &:hover {
35
+ background: $color !important;
36
+ transition: background .1s;
37
+ }
38
+ }
39
+
40
+ @each $color_name, $color_color in $colors {
41
+ @each $color_type, $color_value in $color_color {
42
+ @if ($color_type == 'base') {
43
+ .bg-#{$color_name} {
44
+ @include background-color($color_value);
45
+ }
46
+
47
+ .hover\:bg-#{$color_name} {
48
+ @include bg-hover($color_value);
49
+ }
50
+
51
+ .active\:bg-#{$color_name} {
52
+ @include bg-active($color_value);
53
+ }
54
+
55
+ [class*="hover\:bg-"][class*="active\:bg-#{$color_name}"] {
56
+ @include bg-active($color_value);
57
+ }
58
+
59
+ .text-#{$color_name} {
60
+ @include text-color($color_value);
61
+ @include text-active($color_value);
62
+ }
63
+ }
64
+
65
+ .bg-#{$color_name}-#{$color_type} {
66
+ @include background-color($color_value);
67
+ }
68
+
69
+ .hover\:bg-#{$color_name}-#{$color_type} {
70
+ @include bg-hover($color_value);
71
+ }
72
+
73
+ .active\:bg-#{$color_name}-#{$color_type} {
74
+ @include bg-active($color_value);
75
+ }
76
+
77
+ [class*="hover\:bg-"][class*="active\:bg-#{$color_name}-#{$color_type}"] {
78
+ @include bg-active($color_value);
79
+ }
80
+
81
+ .text-#{$color_name}-#{$color_type} {
82
+ @include text-color($color_value);
83
+ @include text-active($color_value);
84
+ }
85
+ }
86
+ }