@cuby-ui/core 0.0.192 → 0.0.194

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 (348) hide show
  1. package/README.md +24 -24
  2. package/animations/animations.d.ts +36 -36
  3. package/animations/index.d.ts +1 -1
  4. package/classes/accessors.d.ts +17 -17
  5. package/classes/driver.d.ts +16 -16
  6. package/classes/index.d.ts +3 -3
  7. package/classes/vehicle.d.ts +6 -6
  8. package/components/accordion/accordion-item/accordion-item.component.d.ts +11 -11
  9. package/components/accordion/accordion.component.d.ts +5 -5
  10. package/components/accordion/accordion.module.d.ts +11 -11
  11. package/components/accordion/index.d.ts +3 -3
  12. package/components/alert/alert.component.d.ts +13 -13
  13. package/components/alert/alert.interfaces.d.ts +9 -9
  14. package/components/alert/alert.module.d.ts +11 -11
  15. package/components/alert/alert.service.d.ts +7 -7
  16. package/components/alert/alert.tokens.d.ts +16 -16
  17. package/components/alert/alert.types.d.ts +3 -3
  18. package/components/alert/alerts.component.d.ts +17 -17
  19. package/components/alert/index.d.ts +8 -8
  20. package/components/badge/badge.component.d.ts +10 -10
  21. package/components/badge/badge.module.d.ts +8 -8
  22. package/components/badge/badge.options.d.ts +8 -8
  23. package/components/badge/index.d.ts +2 -2
  24. package/components/banner/banner.component.d.ts +21 -21
  25. package/components/banner/banner.module.d.ts +11 -11
  26. package/components/banner/banner.options.d.ts +13 -13
  27. package/components/banner/index.d.ts +3 -3
  28. package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
  29. package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -7
  30. package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
  31. package/components/breadcrumbs/index.d.ts +3 -3
  32. package/components/button/button.component.d.ts +38 -38
  33. package/components/button/button.module.d.ts +9 -9
  34. package/components/button/button.options.d.ts +9 -9
  35. package/components/button/index.d.ts +3 -3
  36. package/components/button-group/button-group.component.d.ts +5 -5
  37. package/components/button-group/button-group.module.d.ts +7 -7
  38. package/components/button-group/index.d.ts +2 -2
  39. package/components/checkbox/checkbox.component.d.ts +5 -5
  40. package/components/checkbox/checkbox.module.d.ts +7 -7
  41. package/components/checkbox/index.d.ts +2 -2
  42. package/components/context-menu/context-menu.component.d.ts +39 -39
  43. package/components/context-menu/context-menu.module.d.ts +9 -9
  44. package/components/context-menu/index.d.ts +2 -2
  45. package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -5
  46. package/components/dialog/dialog-header/dialog-header.component.d.ts +13 -13
  47. package/components/dialog/dialog.component.d.ts +33 -33
  48. package/components/dialog/dialog.interfaces.d.ts +11 -11
  49. package/components/dialog/dialog.module.d.ts +14 -14
  50. package/components/dialog/dialog.service.d.ts +7 -7
  51. package/components/dialog/dialog.tokens.d.ts +8 -8
  52. package/components/dialog/dialogs.component.d.ts +18 -18
  53. package/components/dialog/index.d.ts +8 -8
  54. package/components/form-field/form-field.component.d.ts +5 -5
  55. package/components/form-field/form-field.module.d.ts +7 -7
  56. package/components/form-field/index.d.ts +2 -2
  57. package/components/hint/hint.component.d.ts +7 -7
  58. package/components/hint/hint.module.d.ts +7 -7
  59. package/components/hint/index.d.ts +2 -2
  60. package/components/icon-button/icon-button.component.d.ts +13 -13
  61. package/components/icon-button/icon-button.module.d.ts +9 -9
  62. package/components/icon-button/index.d.ts +2 -2
  63. package/components/index.d.ts +26 -26
  64. package/components/input-number/index.d.ts +2 -2
  65. package/components/input-number/input-number.component.d.ts +38 -38
  66. package/components/input-number/input-number.module.d.ts +12 -12
  67. package/components/input-password/index.d.ts +2 -2
  68. package/components/input-password/input-password.component.d.ts +31 -31
  69. package/components/input-password/input-password.module.d.ts +11 -11
  70. package/components/input-text/index.d.ts +2 -2
  71. package/components/input-text/input-text.component.d.ts +31 -31
  72. package/components/input-text/input-text.module.d.ts +11 -11
  73. package/components/input-time/index.d.ts +3 -3
  74. package/components/input-time/input-time.component.d.ts +36 -36
  75. package/components/input-time/input-time.module.d.ts +12 -12
  76. package/components/input-time/input-time.options.d.ts +7 -7
  77. package/components/label/index.d.ts +2 -2
  78. package/components/label/label.component.d.ts +6 -6
  79. package/components/label/label.module.d.ts +8 -8
  80. package/components/notification/index.d.ts +3 -3
  81. package/components/notification/notification.component.d.ts +18 -18
  82. package/components/notification/notification.module.d.ts +9 -9
  83. package/components/notification/notification.options.d.ts +17 -17
  84. package/components/radio/index.d.ts +2 -2
  85. package/components/radio/radio.component.d.ts +5 -5
  86. package/components/radio/radio.module.d.ts +7 -7
  87. package/components/root/index.d.ts +3 -3
  88. package/components/root/root.component.d.ts +11 -11
  89. package/components/root/root.module.d.ts +11 -11
  90. package/components/root/root.options.d.ts +1 -1
  91. package/components/select/index.d.ts +2 -2
  92. package/components/select/select.component.d.ts +53 -53
  93. package/components/select/select.module.d.ts +11 -11
  94. package/components/svg/index.d.ts +2 -2
  95. package/components/svg/svg.component.d.ts +16 -16
  96. package/components/svg/svg.module.d.ts +8 -8
  97. package/components/tabs/index.d.ts +3 -3
  98. package/components/tabs/tab/index.d.ts +1 -1
  99. package/components/tabs/tab/tab.component.d.ts +8 -8
  100. package/components/tabs/tabs.component.d.ts +16 -16
  101. package/components/tabs/tabs.module.d.ts +8 -8
  102. package/components/textarea/index.d.ts +2 -2
  103. package/components/textarea/textarea.component.d.ts +10 -10
  104. package/components/textarea/textarea.module.d.ts +7 -7
  105. package/components/toggle/index.d.ts +2 -2
  106. package/components/toggle/toggle.component.d.ts +5 -5
  107. package/components/toggle/toggle.module.d.ts +7 -7
  108. package/directives/index.d.ts +2 -2
  109. package/directives/text-field-controller/index.d.ts +8 -8
  110. package/directives/text-field-controller/text-field-controller.module.d.ts +11 -11
  111. package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -4
  112. package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -9
  113. package/directives/text-field-controller/text-field-id.directive.d.ts +8 -8
  114. package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -8
  115. package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -8
  116. package/directives/text-field-controller/text-field-size.directive.d.ts +9 -9
  117. package/directives/text-field-controller/text-field.controller.d.ts +20 -20
  118. package/directives/tooltip/index.d.ts +16 -16
  119. package/directives/tooltip/tooltip-describe.directive.d.ts +16 -16
  120. package/directives/tooltip/tooltip-driver.directive.d.ts +7 -7
  121. package/directives/tooltip/tooltip-host.directive.d.ts +9 -9
  122. package/directives/tooltip/tooltip-hover.directive.d.ts +21 -21
  123. package/directives/tooltip/tooltip-manual.directive.d.ts +13 -13
  124. package/directives/tooltip/tooltip-options.directive.d.ts +36 -36
  125. package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -8
  126. package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -10
  127. package/directives/tooltip/tooltip-position.directive.d.ts +20 -20
  128. package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -17
  129. package/directives/tooltip/tooltip.component.d.ts +33 -33
  130. package/directives/tooltip/tooltip.d.ts +13 -13
  131. package/directives/tooltip/tooltip.directive.d.ts +26 -26
  132. package/directives/tooltip/tooltip.providers.d.ts +5 -5
  133. package/directives/tooltip/tooltip.service.d.ts +13 -13
  134. package/directives/tooltip/tooltips.component.d.ts +12 -12
  135. package/esm2022/animations/animations.mjs +272 -272
  136. package/esm2022/animations/index.mjs +1 -1
  137. package/esm2022/classes/accessors.mjs +31 -31
  138. package/esm2022/classes/driver.mjs +35 -35
  139. package/esm2022/classes/index.mjs +4 -4
  140. package/esm2022/classes/vehicle.mjs +7 -7
  141. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +28 -28
  142. package/esm2022/components/accordion/accordion.component.mjs +11 -11
  143. package/esm2022/components/accordion/accordion.module.mjs +37 -37
  144. package/esm2022/components/accordion/index.mjs +4 -4
  145. package/esm2022/components/alert/alert.component.mjs +36 -36
  146. package/esm2022/components/alert/alert.interfaces.mjs +2 -2
  147. package/esm2022/components/alert/alert.module.mjs +40 -40
  148. package/esm2022/components/alert/alert.service.mjs +17 -17
  149. package/esm2022/components/alert/alert.tokens.mjs +20 -20
  150. package/esm2022/components/alert/alert.types.mjs +2 -2
  151. package/esm2022/components/alert/alerts.component.mjs +36 -36
  152. package/esm2022/components/alert/index.mjs +9 -9
  153. package/esm2022/components/badge/badge.component.mjs +31 -31
  154. package/esm2022/components/badge/badge.module.mjs +18 -18
  155. package/esm2022/components/badge/badge.options.mjs +8 -8
  156. package/esm2022/components/badge/index.mjs +3 -3
  157. package/esm2022/components/banner/banner.component.mjs +68 -68
  158. package/esm2022/components/banner/banner.module.mjs +31 -31
  159. package/esm2022/components/banner/banner.options.mjs +6 -6
  160. package/esm2022/components/banner/index.mjs +4 -4
  161. package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -16
  162. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +17 -17
  163. package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +33 -33
  164. package/esm2022/components/breadcrumbs/index.mjs +4 -4
  165. package/esm2022/components/button/button.component.mjs +138 -138
  166. package/esm2022/components/button/button.module.mjs +24 -24
  167. package/esm2022/components/button/button.options.mjs +10 -10
  168. package/esm2022/components/button/index.mjs +4 -4
  169. package/esm2022/components/button-group/button-group.component.mjs +11 -11
  170. package/esm2022/components/button-group/button-group.module.mjs +16 -16
  171. package/esm2022/components/button-group/index.mjs +3 -3
  172. package/esm2022/components/checkbox/checkbox.component.mjs +11 -11
  173. package/esm2022/components/checkbox/checkbox.module.mjs +16 -16
  174. package/esm2022/components/checkbox/index.mjs +3 -3
  175. package/esm2022/components/context-menu/context-menu.component.mjs +148 -146
  176. package/esm2022/components/context-menu/context-menu.module.mjs +24 -24
  177. package/esm2022/components/context-menu/index.mjs +3 -3
  178. package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -11
  179. package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +28 -28
  180. package/esm2022/components/dialog/dialog.component.mjs +67 -67
  181. package/esm2022/components/dialog/dialog.interfaces.mjs +2 -2
  182. package/esm2022/components/dialog/dialog.module.mjs +49 -49
  183. package/esm2022/components/dialog/dialog.service.mjs +17 -17
  184. package/esm2022/components/dialog/dialog.tokens.mjs +12 -12
  185. package/esm2022/components/dialog/dialogs.component.mjs +51 -51
  186. package/esm2022/components/dialog/index.mjs +9 -9
  187. package/esm2022/components/form-field/form-field.component.mjs +11 -11
  188. package/esm2022/components/form-field/form-field.module.mjs +16 -16
  189. package/esm2022/components/form-field/index.mjs +3 -3
  190. package/esm2022/components/hint/hint.component.mjs +19 -19
  191. package/esm2022/components/hint/hint.module.mjs +16 -16
  192. package/esm2022/components/hint/index.mjs +3 -3
  193. package/esm2022/components/icon-button/icon-button.component.mjs +32 -32
  194. package/esm2022/components/icon-button/icon-button.module.mjs +24 -24
  195. package/esm2022/components/icon-button/index.mjs +3 -3
  196. package/esm2022/components/index.mjs +27 -27
  197. package/esm2022/components/input-number/index.mjs +3 -3
  198. package/esm2022/components/input-number/input-number.component.mjs +113 -113
  199. package/esm2022/components/input-number/input-number.module.mjs +36 -36
  200. package/esm2022/components/input-password/index.mjs +3 -3
  201. package/esm2022/components/input-password/input-password.component.mjs +89 -89
  202. package/esm2022/components/input-password/input-password.module.mjs +33 -33
  203. package/esm2022/components/input-text/index.mjs +3 -3
  204. package/esm2022/components/input-text/input-text.component.mjs +87 -87
  205. package/esm2022/components/input-text/input-text.module.mjs +33 -33
  206. package/esm2022/components/input-time/index.mjs +4 -4
  207. package/esm2022/components/input-time/input-time.component.mjs +99 -99
  208. package/esm2022/components/input-time/input-time.module.mjs +36 -36
  209. package/esm2022/components/input-time/input-time.options.mjs +8 -8
  210. package/esm2022/components/label/index.mjs +3 -3
  211. package/esm2022/components/label/label.component.mjs +17 -17
  212. package/esm2022/components/label/label.module.mjs +18 -18
  213. package/esm2022/components/notification/index.mjs +4 -4
  214. package/esm2022/components/notification/notification.component.mjs +47 -47
  215. package/esm2022/components/notification/notification.module.mjs +24 -24
  216. package/esm2022/components/notification/notification.options.mjs +53 -53
  217. package/esm2022/components/radio/index.mjs +3 -3
  218. package/esm2022/components/radio/radio.component.mjs +11 -11
  219. package/esm2022/components/radio/radio.module.mjs +16 -16
  220. package/esm2022/components/root/index.mjs +4 -4
  221. package/esm2022/components/root/root.component.mjs +32 -32
  222. package/esm2022/components/root/root.module.mjs +31 -31
  223. package/esm2022/components/root/root.options.mjs +1 -1
  224. package/esm2022/components/select/index.mjs +3 -3
  225. package/esm2022/components/select/select.component.mjs +172 -172
  226. package/esm2022/components/select/select.module.mjs +32 -32
  227. package/esm2022/components/svg/index.mjs +3 -3
  228. package/esm2022/components/svg/svg.component.mjs +50 -50
  229. package/esm2022/components/svg/svg.module.mjs +18 -18
  230. package/esm2022/components/tabs/index.mjs +4 -4
  231. package/esm2022/components/tabs/tab/index.mjs +1 -1
  232. package/esm2022/components/tabs/tab/tab.component.mjs +21 -21
  233. package/esm2022/components/tabs/tabs.component.mjs +49 -49
  234. package/esm2022/components/tabs/tabs.module.mjs +18 -18
  235. package/esm2022/components/textarea/index.mjs +3 -3
  236. package/esm2022/components/textarea/textarea.component.mjs +35 -35
  237. package/esm2022/components/textarea/textarea.module.mjs +16 -16
  238. package/esm2022/components/toggle/index.mjs +3 -3
  239. package/esm2022/components/toggle/toggle.component.mjs +11 -11
  240. package/esm2022/components/toggle/toggle.module.mjs +16 -16
  241. package/esm2022/cuby-ui-core.mjs +4 -4
  242. package/esm2022/directives/index.mjs +3 -3
  243. package/esm2022/directives/text-field-controller/index.mjs +9 -9
  244. package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +40 -40
  245. package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +24 -24
  246. package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -21
  247. package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +21 -21
  248. package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +24 -24
  249. package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -21
  250. package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +24 -24
  251. package/esm2022/directives/text-field-controller/text-field.controller.mjs +25 -25
  252. package/esm2022/directives/tooltip/index.mjs +17 -17
  253. package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +45 -45
  254. package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +18 -18
  255. package/esm2022/directives/tooltip/tooltip-host.directive.mjs +26 -26
  256. package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +53 -53
  257. package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +31 -31
  258. package/esm2022/directives/tooltip/tooltip-options.directive.mjs +83 -83
  259. package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +31 -31
  260. package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +31 -31
  261. package/esm2022/directives/tooltip/tooltip-position.directive.mjs +96 -96
  262. package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +40 -40
  263. package/esm2022/directives/tooltip/tooltip.component.mjs +110 -110
  264. package/esm2022/directives/tooltip/tooltip.directive.mjs +92 -92
  265. package/esm2022/directives/tooltip/tooltip.mjs +27 -27
  266. package/esm2022/directives/tooltip/tooltip.providers.mjs +7 -7
  267. package/esm2022/directives/tooltip/tooltip.service.mjs +28 -28
  268. package/esm2022/directives/tooltip/tooltips.component.mjs +33 -33
  269. package/esm2022/index.mjs +7 -7
  270. package/esm2022/interfaces/context-menu-item.mjs +2 -2
  271. package/esm2022/interfaces/index.mjs +3 -3
  272. package/esm2022/interfaces/option.mjs +2 -2
  273. package/esm2022/services/index.mjs +5 -5
  274. package/esm2022/services/position.service.mjs +23 -23
  275. package/esm2022/services/theme.options.mjs +6 -6
  276. package/esm2022/services/theme.service.mjs +30 -30
  277. package/esm2022/services/visual-viewport.service.mjs +28 -28
  278. package/esm2022/tokens/animations-speed.mjs +8 -8
  279. package/esm2022/tokens/index.mjs +4 -4
  280. package/esm2022/tokens/reduced-motion.mjs +6 -6
  281. package/esm2022/tokens/viewport.mjs +31 -31
  282. package/esm2022/types/appearance.mjs +2 -2
  283. package/esm2022/types/hint-type.mjs +2 -2
  284. package/esm2022/types/index.mjs +10 -10
  285. package/esm2022/types/point.mjs +2 -2
  286. package/esm2022/types/portal-item.mjs +2 -2
  287. package/esm2022/types/position.mjs +2 -2
  288. package/esm2022/types/resizing.mjs +2 -2
  289. package/esm2022/types/shape.mjs +2 -2
  290. package/esm2022/types/size.mjs +2 -2
  291. package/esm2022/types/status.mjs +2 -2
  292. package/esm2022/utils/format/index.mjs +3 -3
  293. package/esm2022/utils/format/remove-spaces.mjs +4 -4
  294. package/esm2022/utils/format/replace.mjs +5 -5
  295. package/esm2022/utils/index.mjs +3 -3
  296. package/esm2022/utils/miscellaneous/index.mjs +4 -4
  297. package/esm2022/utils/miscellaneous/is-obscured.mjs +8 -8
  298. package/esm2022/utils/miscellaneous/override-options.mjs +11 -11
  299. package/esm2022/utils/miscellaneous/to-animation-options.mjs +14 -14
  300. package/fesm2022/cuby-ui-core.mjs +3195 -3193
  301. package/fesm2022/cuby-ui-core.mjs.map +1 -1
  302. package/fonts/Inter-Bold.svg +25443 -25443
  303. package/fonts/Inter-Medium.svg +25400 -25400
  304. package/fonts/Inter-Regular.svg +24341 -24341
  305. package/fonts/Inter-SemiBold.svg +25459 -25459
  306. package/index.d.ts +6 -6
  307. package/interfaces/context-menu-item.d.ts +7 -7
  308. package/interfaces/index.d.ts +2 -2
  309. package/interfaces/option.d.ts +5 -5
  310. package/package.json +3 -3
  311. package/services/index.d.ts +4 -4
  312. package/services/position.service.d.ts +10 -10
  313. package/services/theme.options.d.ts +5 -5
  314. package/services/theme.service.d.ts +12 -12
  315. package/services/visual-viewport.service.d.ts +9 -9
  316. package/styles/fonts.scss +51 -51
  317. package/styles/global.scss +9 -9
  318. package/styles/mixins/buttons.scss +13 -13
  319. package/styles/mixins/headings.scss +115 -115
  320. package/styles/mixins/inputs.scss +91 -91
  321. package/styles/mixins/lists.scss +5 -5
  322. package/styles/mixins/paddings.scss +35 -35
  323. package/styles/mixins/shadows.scss +38 -38
  324. package/styles/mixins/texts.scss +225 -225
  325. package/styles/theme.scss +385 -385
  326. package/styles/variables/colors.scss +253 -253
  327. package/tokens/animations-speed.d.ts +4 -4
  328. package/tokens/index.d.ts +3 -3
  329. package/tokens/reduced-motion.d.ts +1 -1
  330. package/tokens/viewport.d.ts +7 -7
  331. package/types/appearance.d.ts +8 -8
  332. package/types/hint-type.d.ts +1 -1
  333. package/types/index.d.ts +9 -9
  334. package/types/point.d.ts +1 -1
  335. package/types/portal-item.d.ts +9 -9
  336. package/types/position.d.ts +2 -2
  337. package/types/resizing.d.ts +2 -2
  338. package/types/shape.d.ts +1 -1
  339. package/types/size.d.ts +4 -4
  340. package/types/status.d.ts +1 -1
  341. package/utils/format/index.d.ts +2 -2
  342. package/utils/format/remove-spaces.d.ts +1 -1
  343. package/utils/format/replace.d.ts +1 -1
  344. package/utils/index.d.ts +2 -2
  345. package/utils/miscellaneous/index.d.ts +3 -3
  346. package/utils/miscellaneous/is-obscured.d.ts +4 -4
  347. package/utils/miscellaneous/override-options.d.ts +1 -1
  348. package/utils/miscellaneous/to-animation-options.d.ts +4 -4
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from './components';
2
- export * from './directives';
3
- export * from './interfaces';
4
- export * from './services';
5
- export * from './types';
6
- export * from './utils';
1
+ export * from './components';
2
+ export * from './directives';
3
+ export * from './interfaces';
4
+ export * from './services';
5
+ export * from './types';
6
+ export * from './utils';
@@ -1,7 +1,7 @@
1
- import type { CuiIcon } from '@cuby-ui/icons';
2
- export interface CuiContextMenuItem {
3
- readonly label: string;
4
- readonly icon?: CuiIcon | string;
5
- readonly color?: string;
6
- readonly command?: () => void;
7
- }
1
+ import type { CuiIcon } from '@cuby-ui/icons';
2
+ export interface CuiContextMenuItem {
3
+ readonly label: string;
4
+ readonly icon?: CuiIcon | string;
5
+ readonly color?: string;
6
+ readonly command?: () => void;
7
+ }
@@ -1,2 +1,2 @@
1
- export * from './context-menu-item';
2
- export * from './option';
1
+ export * from './context-menu-item';
2
+ export * from './option';
@@ -1,5 +1,5 @@
1
- export interface CuiOption {
2
- readonly label: string;
3
- readonly value: unknown;
4
- readonly isDisabled?: boolean;
5
- }
1
+ export interface CuiOption {
2
+ readonly label: string;
3
+ readonly value: unknown;
4
+ readonly isDisabled?: boolean;
5
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@cuby-ui/core",
3
- "version": "0.0.192",
3
+ "version": "0.0.194",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=15.0.0",
6
6
  "@angular/core": ">=15.0.0",
7
7
  "@angular/forms": ">=15.0.0",
8
- "@cuby-ui/cdk": "^0.0.192",
9
- "@cuby-ui/icons": "^0.0.192",
8
+ "@cuby-ui/cdk": "^0.0.194",
9
+ "@cuby-ui/icons": "^0.0.194",
10
10
  "@maskito/angular": "^2.5.0",
11
11
  "@maskito/core": "^2.5.0",
12
12
  "@maskito/kit": "^2.5.0",
@@ -1,4 +1,4 @@
1
- export * from './position.service';
2
- export * from './theme.options';
3
- export * from './theme.service';
4
- export * from './visual-viewport.service';
1
+ export * from './position.service';
2
+ export * from './theme.options';
3
+ export * from './theme.service';
4
+ export * from './visual-viewport.service';
@@ -1,10 +1,10 @@
1
- import type { CuiPoint } from '../types';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class CuiPositionService extends Observable<CuiPoint> {
5
- private readonly el;
6
- private readonly accessor;
7
- constructor();
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiPositionService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<CuiPositionService>;
10
- }
1
+ import type { CuiPoint } from '../types';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CuiPositionService extends Observable<CuiPoint> {
5
+ private readonly el;
6
+ private readonly accessor;
7
+ constructor();
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiPositionService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<CuiPositionService>;
10
+ }
@@ -1,5 +1,5 @@
1
- export type CuiTheme = 'light' | 'dark';
2
- export declare const CUI_THEME_STORAGE_DEFAULT_KEY = "cuiTheme";
3
- export declare const CUI_DEFAULT_THEME: CuiTheme;
4
- export declare const CUI_THEME_STORAGE_KEY: import("@angular/core").InjectionToken<string>;
5
- export declare const CUI_THEME: import("@angular/core").InjectionToken<CuiTheme>;
1
+ export type CuiTheme = 'light' | 'dark';
2
+ export declare const CUI_THEME_STORAGE_DEFAULT_KEY = "cuiTheme";
3
+ export declare const CUI_DEFAULT_THEME: CuiTheme;
4
+ export declare const CUI_THEME_STORAGE_KEY: import("@angular/core").InjectionToken<string>;
5
+ export declare const CUI_THEME: import("@angular/core").InjectionToken<CuiTheme>;
@@ -1,12 +1,12 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import type { CuiTheme } from './theme.options';
3
- import * as i0 from "@angular/core";
4
- export declare class CuiThemeService extends BehaviorSubject<CuiTheme> {
5
- private readonly localStorage;
6
- private readonly key;
7
- constructor();
8
- next(theme: CuiTheme): void;
9
- switch(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiThemeService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<CuiThemeService>;
12
- }
1
+ import { BehaviorSubject } from 'rxjs';
2
+ import type { CuiTheme } from './theme.options';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CuiThemeService extends BehaviorSubject<CuiTheme> {
5
+ private readonly localStorage;
6
+ private readonly key;
7
+ constructor();
8
+ next(theme: CuiTheme): void;
9
+ switch(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiThemeService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<CuiThemeService>;
12
+ }
@@ -1,9 +1,9 @@
1
- import type { CuiPoint } from '../types';
2
- import * as i0 from "@angular/core";
3
- export declare class CuiVisualViewportService {
4
- private readonly isWebkit;
5
- private readonly win;
6
- correct(point: CuiPoint): CuiPoint;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiVisualViewportService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<CuiVisualViewportService>;
9
- }
1
+ import type { CuiPoint } from '../types';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CuiVisualViewportService {
4
+ private readonly isWebkit;
5
+ private readonly win;
6
+ correct(point: CuiPoint): CuiPoint;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiVisualViewportService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<CuiVisualViewportService>;
9
+ }
package/styles/fonts.scss CHANGED
@@ -1,51 +1,51 @@
1
- @font-face {
2
- font-family: Inter;
3
- font-style: normal;
4
- font-weight: 400;
5
- src: url('../fonts/Inter-Regular.eot');
6
- src: url('../fonts/Inter-Regular.eot?#iefix') format('embedded-opentype'),
7
- url('../fonts/Inter-Regular.woff2') format('woff2'),
8
- url('../fonts/Inter-Regular.woff') format('woff'),
9
- url('../fonts/Inter-Regular.ttf') format('truetype'),
10
- url('../fonts/Inter-Regular.svg#Inter-Regular') format('svg'),
11
- url('../fonts/Inter-Regular.otf') format('otf');
12
- }
13
-
14
- @font-face {
15
- font-family: Inter;
16
- font-style: normal;
17
- font-weight: 500;
18
- src: url('../fonts/Inter-Medium.eot');
19
- src: url('../fonts/Inter-Medium.eot?#iefix') format('embedded-opentype'),
20
- url('../fonts/Inter-Medium.woff2') format('woff2'),
21
- url('../fonts/Inter-Medium.woff') format('woff'),
22
- url('../fonts/Inter-Medium.ttf') format('truetype'),
23
- url('../fonts/Inter-Medium.svg#Inter-Medium') format('svg'),
24
- url('../fonts/Inter-Medium.otf') format('otf');
25
- }
26
-
27
- @font-face {
28
- font-family: Inter;
29
- font-style: normal;
30
- font-weight: 600;
31
- src: url('../fonts/Inter-SemiBold.eot');
32
- src: url('../fonts/Inter-SemiBold.eot?#iefix') format('embedded-opentype'),
33
- url('../fonts/Inter-SemiBold.woff2') format('woff2'),
34
- url('../fonts/Inter-SemiBold.woff') format('woff'),
35
- url('../fonts/Inter-SemiBold.ttf') format('truetype'),
36
- url('../fonts/Inter-SemiBold.svg#Inter-SemiBold') format('svg'),
37
- url('../fonts/Inter-SemiBold.otf') format('otf');
38
- }
39
-
40
- @font-face {
41
- font-family: Inter;
42
- font-style: normal;
43
- font-weight: 700;
44
- src: url('../fonts/Inter-Bold.eot');
45
- src: url('../fonts/Inter-Bold.eot?#iefix') format('embedded-opentype'),
46
- url('../fonts/Inter-Bold.woff2') format('woff2'),
47
- url('../fonts/Inter-Bold.woff') format('woff'),
48
- url('../fonts/Inter-Bold.ttf') format('truetype'),
49
- url('../fonts/Inter-Bold.svg#Inter-Bold') format('svg'),
50
- url('../fonts/Inter-Bold.otf') format('otf');
51
- }
1
+ @font-face {
2
+ font-family: Inter;
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ src: url('../fonts/Inter-Regular.eot');
6
+ src: url('../fonts/Inter-Regular.eot?#iefix') format('embedded-opentype'),
7
+ url('../fonts/Inter-Regular.woff2') format('woff2'),
8
+ url('../fonts/Inter-Regular.woff') format('woff'),
9
+ url('../fonts/Inter-Regular.ttf') format('truetype'),
10
+ url('../fonts/Inter-Regular.svg#Inter-Regular') format('svg'),
11
+ url('../fonts/Inter-Regular.otf') format('otf');
12
+ }
13
+
14
+ @font-face {
15
+ font-family: Inter;
16
+ font-style: normal;
17
+ font-weight: 500;
18
+ src: url('../fonts/Inter-Medium.eot');
19
+ src: url('../fonts/Inter-Medium.eot?#iefix') format('embedded-opentype'),
20
+ url('../fonts/Inter-Medium.woff2') format('woff2'),
21
+ url('../fonts/Inter-Medium.woff') format('woff'),
22
+ url('../fonts/Inter-Medium.ttf') format('truetype'),
23
+ url('../fonts/Inter-Medium.svg#Inter-Medium') format('svg'),
24
+ url('../fonts/Inter-Medium.otf') format('otf');
25
+ }
26
+
27
+ @font-face {
28
+ font-family: Inter;
29
+ font-style: normal;
30
+ font-weight: 600;
31
+ src: url('../fonts/Inter-SemiBold.eot');
32
+ src: url('../fonts/Inter-SemiBold.eot?#iefix') format('embedded-opentype'),
33
+ url('../fonts/Inter-SemiBold.woff2') format('woff2'),
34
+ url('../fonts/Inter-SemiBold.woff') format('woff'),
35
+ url('../fonts/Inter-SemiBold.ttf') format('truetype'),
36
+ url('../fonts/Inter-SemiBold.svg#Inter-SemiBold') format('svg'),
37
+ url('../fonts/Inter-SemiBold.otf') format('otf');
38
+ }
39
+
40
+ @font-face {
41
+ font-family: Inter;
42
+ font-style: normal;
43
+ font-weight: 700;
44
+ src: url('../fonts/Inter-Bold.eot');
45
+ src: url('../fonts/Inter-Bold.eot?#iefix') format('embedded-opentype'),
46
+ url('../fonts/Inter-Bold.woff2') format('woff2'),
47
+ url('../fonts/Inter-Bold.woff') format('woff'),
48
+ url('../fonts/Inter-Bold.ttf') format('truetype'),
49
+ url('../fonts/Inter-Bold.svg#Inter-Bold') format('svg'),
50
+ url('../fonts/Inter-Bold.otf') format('otf');
51
+ }
@@ -1,9 +1,9 @@
1
- @forward 'mixins/buttons';
2
- @forward 'mixins/headings';
3
- @forward 'mixins/inputs';
4
- @forward 'mixins/lists';
5
- @forward 'mixins/paddings';
6
- @forward 'mixins/shadows';
7
- @forward 'mixins/texts';
8
- @forward 'variables/colors';
9
- @forward 'variables/fonts';
1
+ @forward 'mixins/buttons';
2
+ @forward 'mixins/headings';
3
+ @forward 'mixins/inputs';
4
+ @forward 'mixins/lists';
5
+ @forward 'mixins/paddings';
6
+ @forward 'mixins/shadows';
7
+ @forward 'mixins/texts';
8
+ @forward 'variables/colors';
9
+ @forward 'variables/fonts';
@@ -1,13 +1,13 @@
1
- @mixin cui-clear-button() {
2
- padding: 0;
3
- border: 0;
4
- flex-shrink: 0;
5
- outline: none;
6
- cursor: pointer;
7
- appearance: none;
8
- color: inherit;
9
- font: inherit;
10
- background: inherit;
11
- text-decoration: none;
12
- -webkit-tap-highlight-color: transparent;
13
- }
1
+ @mixin cui-clear-button() {
2
+ padding: 0;
3
+ border: 0;
4
+ flex-shrink: 0;
5
+ outline: none;
6
+ cursor: pointer;
7
+ appearance: none;
8
+ color: inherit;
9
+ font: inherit;
10
+ background: inherit;
11
+ text-decoration: none;
12
+ -webkit-tap-highlight-color: transparent;
13
+ }
@@ -1,115 +1,115 @@
1
- @mixin cui-heading-xs {
2
- font-size: 24px;
3
- line-height: 32px;
4
- }
5
-
6
- @mixin cui-heading-xs-regular {
7
- font-weight: 400;
8
- font-size: 24px;
9
- line-height: 32px;
10
- }
11
-
12
- @mixin cui-heading-xs-medium {
13
- font-weight: 500;
14
- font-size: 24px;
15
- line-height: 32px;
16
- }
17
-
18
- @mixin cui-heading-xs-semi-bold {
19
- font-weight: 600;
20
- font-size: 24px;
21
- line-height: 32px;
22
- }
23
-
24
- @mixin cui-heading-xs-bold {
25
- font-weight: 700;
26
- font-size: 24px;
27
- line-height: 32px;
28
- }
29
-
30
- @mixin cui-heading-sm {
31
- font-size: 30px;
32
- line-height: 38px;
33
- }
34
-
35
- @mixin cui-heading-sm-regular {
36
- font-weight: 400;
37
- font-size: 30px;
38
- line-height: 38px;
39
- }
40
-
41
- @mixin cui-heading-sm-medium {
42
- font-weight: 500;
43
- font-size: 30px;
44
- line-height: 38px;
45
- }
46
-
47
- @mixin cui-heading-sm-semi-bold {
48
- font-weight: 600;
49
- font-size: 30px;
50
- line-height: 38px;
51
- }
52
-
53
- @mixin cui-heading-sm-bold {
54
- font-weight: 700;
55
- font-size: 30px;
56
- line-height: 38px;
57
- }
58
-
59
- @mixin cui-heading-md {
60
- font-size: 36px;
61
- line-height: 44px;
62
- }
63
-
64
- @mixin cui-heading-md-regular {
65
- font-weight: 400;
66
- font-size: 36px;
67
- line-height: 44px;
68
- }
69
-
70
- @mixin cui-heading-md-medium {
71
- font-weight: 500;
72
- font-size: 36px;
73
- line-height: 44px;
74
- }
75
-
76
- @mixin cui-heading-md-semi-bold {
77
- font-weight: 600;
78
- font-size: 36px;
79
- line-height: 44px;
80
- }
81
-
82
- @mixin cui-heading-md-bold {
83
- font-weight: 700;
84
- font-size: 36px;
85
- line-height: 44px;
86
- }
87
-
88
- @mixin cui-heading-lg {
89
- font-size: 48px;
90
- line-height: 60px;
91
- }
92
-
93
- @mixin cui-heading-lg-regular {
94
- font-weight: 400;
95
- font-size: 48px;
96
- line-height: 60px;
97
- }
98
-
99
- @mixin cui-heading-lg-medium {
100
- font-weight: 500;
101
- font-size: 48px;
102
- line-height: 60px;
103
- }
104
-
105
- @mixin cui-heading-lg-semi-bold {
106
- font-weight: 600;
107
- font-size: 48px;
108
- line-height: 60px;
109
- }
110
-
111
- @mixin cui-heading-lg-bold {
112
- font-weight: 700;
113
- font-size: 48px;
114
- line-height: 60px;
115
- }
1
+ @mixin cui-heading-xs {
2
+ font-size: 24px;
3
+ line-height: 32px;
4
+ }
5
+
6
+ @mixin cui-heading-xs-regular {
7
+ font-weight: 400;
8
+ font-size: 24px;
9
+ line-height: 32px;
10
+ }
11
+
12
+ @mixin cui-heading-xs-medium {
13
+ font-weight: 500;
14
+ font-size: 24px;
15
+ line-height: 32px;
16
+ }
17
+
18
+ @mixin cui-heading-xs-semi-bold {
19
+ font-weight: 600;
20
+ font-size: 24px;
21
+ line-height: 32px;
22
+ }
23
+
24
+ @mixin cui-heading-xs-bold {
25
+ font-weight: 700;
26
+ font-size: 24px;
27
+ line-height: 32px;
28
+ }
29
+
30
+ @mixin cui-heading-sm {
31
+ font-size: 30px;
32
+ line-height: 38px;
33
+ }
34
+
35
+ @mixin cui-heading-sm-regular {
36
+ font-weight: 400;
37
+ font-size: 30px;
38
+ line-height: 38px;
39
+ }
40
+
41
+ @mixin cui-heading-sm-medium {
42
+ font-weight: 500;
43
+ font-size: 30px;
44
+ line-height: 38px;
45
+ }
46
+
47
+ @mixin cui-heading-sm-semi-bold {
48
+ font-weight: 600;
49
+ font-size: 30px;
50
+ line-height: 38px;
51
+ }
52
+
53
+ @mixin cui-heading-sm-bold {
54
+ font-weight: 700;
55
+ font-size: 30px;
56
+ line-height: 38px;
57
+ }
58
+
59
+ @mixin cui-heading-md {
60
+ font-size: 36px;
61
+ line-height: 44px;
62
+ }
63
+
64
+ @mixin cui-heading-md-regular {
65
+ font-weight: 400;
66
+ font-size: 36px;
67
+ line-height: 44px;
68
+ }
69
+
70
+ @mixin cui-heading-md-medium {
71
+ font-weight: 500;
72
+ font-size: 36px;
73
+ line-height: 44px;
74
+ }
75
+
76
+ @mixin cui-heading-md-semi-bold {
77
+ font-weight: 600;
78
+ font-size: 36px;
79
+ line-height: 44px;
80
+ }
81
+
82
+ @mixin cui-heading-md-bold {
83
+ font-weight: 700;
84
+ font-size: 36px;
85
+ line-height: 44px;
86
+ }
87
+
88
+ @mixin cui-heading-lg {
89
+ font-size: 48px;
90
+ line-height: 60px;
91
+ }
92
+
93
+ @mixin cui-heading-lg-regular {
94
+ font-weight: 400;
95
+ font-size: 48px;
96
+ line-height: 60px;
97
+ }
98
+
99
+ @mixin cui-heading-lg-medium {
100
+ font-weight: 500;
101
+ font-size: 48px;
102
+ line-height: 60px;
103
+ }
104
+
105
+ @mixin cui-heading-lg-semi-bold {
106
+ font-weight: 600;
107
+ font-size: 48px;
108
+ line-height: 60px;
109
+ }
110
+
111
+ @mixin cui-heading-lg-bold {
112
+ font-weight: 700;
113
+ font-size: 48px;
114
+ line-height: 60px;
115
+ }