@scaleflex/ui-tw 0.0.1

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 (460) hide show
  1. package/LICENSE +33 -0
  2. package/README.md +28 -0
  3. package/core/accordion/accordion.component.d.ts +3 -0
  4. package/core/accordion/accordion.component.js +50 -0
  5. package/core/accordion/accordion.props.d.ts +13 -0
  6. package/core/accordion/accordion.props.js +1 -0
  7. package/core/accordion/accordion.styles.d.ts +6 -0
  8. package/core/accordion/accordion.styles.js +12 -0
  9. package/core/accordion/index.d.ts +2 -0
  10. package/core/accordion/index.js +1 -0
  11. package/core/accordion-details/accordion-details.component.d.ts +3 -0
  12. package/core/accordion-details/accordion-details.component.js +16 -0
  13. package/core/accordion-details/accordion-details.props.d.ts +4 -0
  14. package/core/accordion-details/accordion-details.props.js +1 -0
  15. package/core/accordion-details/accordion-details.styles.d.ts +6 -0
  16. package/core/accordion-details/accordion-details.styles.js +12 -0
  17. package/core/accordion-details/index.d.ts +2 -0
  18. package/core/accordion-details/index.js +1 -0
  19. package/core/accordion-header/accordion-header.component.d.ts +3 -0
  20. package/core/accordion-header/accordion-header.component.js +48 -0
  21. package/core/accordion-header/accordion-header.props.d.ts +11 -0
  22. package/core/accordion-header/accordion-header.props.js +1 -0
  23. package/core/accordion-header/accordion-header.styles.d.ts +19 -0
  24. package/core/accordion-header/accordion-header.styles.js +44 -0
  25. package/core/accordion-header/index.d.ts +2 -0
  26. package/core/accordion-header/index.js +1 -0
  27. package/core/arrow/arrow.component.d.ts +3 -0
  28. package/core/arrow/arrow.component.js +23 -0
  29. package/core/arrow/arrow.mixin.d.ts +6 -0
  30. package/core/arrow/arrow.mixin.js +4 -0
  31. package/core/arrow/arrow.props.d.ts +14 -0
  32. package/core/arrow/arrow.props.js +6 -0
  33. package/core/arrow/arrow.styles.d.ts +9 -0
  34. package/core/arrow/arrow.styles.js +18 -0
  35. package/core/arrow/index.d.ts +2 -0
  36. package/core/arrow/index.js +1 -0
  37. package/core/arrow-tick/arrow-tick.component.d.ts +3 -0
  38. package/core/arrow-tick/arrow-tick.component.js +28 -0
  39. package/core/arrow-tick/arrow-tick.mixin.d.ts +6 -0
  40. package/core/arrow-tick/arrow-tick.mixin.js +4 -0
  41. package/core/arrow-tick/arrow-tick.props.d.ts +14 -0
  42. package/core/arrow-tick/arrow-tick.props.js +6 -0
  43. package/core/arrow-tick/arrow-tick.styles.d.ts +7 -0
  44. package/core/arrow-tick/arrow-tick.styles.js +18 -0
  45. package/core/arrow-tick/index.d.ts +2 -0
  46. package/core/arrow-tick/index.js +1 -0
  47. package/core/button/button.component.d.ts +9 -0
  48. package/core/button/button.component.js +71 -0
  49. package/core/button/button.types.d.ts +34 -0
  50. package/core/button/button.types.js +21 -0
  51. package/core/button/button.utils.d.ts +3 -0
  52. package/core/button/button.utils.js +18 -0
  53. package/core/button/components/end-icon.d.ts +12 -0
  54. package/core/button/components/end-icon.js +33 -0
  55. package/core/button/components/start-icon.d.ts +14 -0
  56. package/core/button/components/start-icon.js +40 -0
  57. package/core/button/index.d.ts +4 -0
  58. package/core/button/index.js +3 -0
  59. package/core/check-box/check-box.component.d.ts +3 -0
  60. package/core/check-box/check-box.component.js +62 -0
  61. package/core/check-box/check-box.mixin.d.ts +4 -0
  62. package/core/check-box/check-box.mixin.js +8 -0
  63. package/core/check-box/check-box.props.d.ts +15 -0
  64. package/core/check-box/check-box.props.js +1 -0
  65. package/core/check-box/check-box.styles.d.ts +19 -0
  66. package/core/check-box/check-box.styles.js +42 -0
  67. package/core/check-box/check-box.utils.d.ts +3 -0
  68. package/core/check-box/check-box.utils.js +21 -0
  69. package/core/check-box/index.d.ts +2 -0
  70. package/core/check-box/index.js +1 -0
  71. package/core/check-box/types/index.d.ts +2 -0
  72. package/core/check-box/types/index.js +2 -0
  73. package/core/check-box/types/size.d.ts +4 -0
  74. package/core/check-box/types/size.js +4 -0
  75. package/core/check-box/types/type.d.ts +4 -0
  76. package/core/check-box/types/type.js +4 -0
  77. package/core/check-box-group/check-box-group.component.d.ts +3 -0
  78. package/core/check-box-group/check-box-group.component.js +74 -0
  79. package/core/check-box-group/check-box-group.mixin.d.ts +5 -0
  80. package/core/check-box-group/check-box-group.mixin.js +10 -0
  81. package/core/check-box-group/check-box-group.props.d.ts +19 -0
  82. package/core/check-box-group/check-box-group.props.js +1 -0
  83. package/core/check-box-group/check-box-group.styles.d.ts +19 -0
  84. package/core/check-box-group/check-box-group.styles.js +33 -0
  85. package/core/check-box-group/index.d.ts +2 -0
  86. package/core/check-box-group/index.js +1 -0
  87. package/core/check-box-group/types/index.d.ts +1 -0
  88. package/core/check-box-group/types/index.js +1 -0
  89. package/core/check-box-group/types/label-position.d.ts +4 -0
  90. package/core/check-box-group/types/label-position.js +4 -0
  91. package/core/cross-button/cross-button.component.d.ts +3 -0
  92. package/core/cross-button/cross-button.component.js +35 -0
  93. package/core/cross-button/cross-button.props.d.ts +8 -0
  94. package/core/cross-button/cross-button.props.js +1 -0
  95. package/core/cross-button/cross-button.styles.d.ts +9 -0
  96. package/core/cross-button/cross-button.styles.js +21 -0
  97. package/core/cross-button/index.d.ts +2 -0
  98. package/core/cross-button/index.js +1 -0
  99. package/core/cross-button/types/index.d.ts +1 -0
  100. package/core/cross-button/types/index.js +1 -0
  101. package/core/cross-button/types/size.d.ts +6 -0
  102. package/core/cross-button/types/size.js +6 -0
  103. package/core/dot/dot.component.d.ts +3 -0
  104. package/core/dot/dot.component.js +17 -0
  105. package/core/dot/dot.props.d.ts +4 -0
  106. package/core/dot/dot.props.js +1 -0
  107. package/core/dot/dot.styles.d.ts +18 -0
  108. package/core/dot/dot.styles.js +32 -0
  109. package/core/dot/index.d.ts +2 -0
  110. package/core/dot/index.js +1 -0
  111. package/core/dots-navigation/dots-navigation.component.d.ts +3 -0
  112. package/core/dots-navigation/dots-navigation.component.js +24 -0
  113. package/core/dots-navigation/dots-navigation.props.d.ts +5 -0
  114. package/core/dots-navigation/dots-navigation.props.js +1 -0
  115. package/core/dots-navigation/dots-navigation.styles.d.ts +6 -0
  116. package/core/dots-navigation/dots-navigation.styles.js +15 -0
  117. package/core/dots-navigation/index.d.ts +2 -0
  118. package/core/dots-navigation/index.js +1 -0
  119. package/core/input/index.d.ts +2 -0
  120. package/core/input/index.js +1 -0
  121. package/core/input/input.component.d.ts +3 -0
  122. package/core/input/input.component.js +293 -0
  123. package/core/input/input.mixin.d.ts +18 -0
  124. package/core/input/input.mixin.js +25 -0
  125. package/core/input/input.props.d.ts +40 -0
  126. package/core/input/input.props.js +1 -0
  127. package/core/input/input.styles.d.ts +78 -0
  128. package/core/input/input.styles.js +148 -0
  129. package/core/input/input.utils.d.ts +4 -0
  130. package/core/input/input.utils.js +30 -0
  131. package/core/input/types/index.d.ts +1 -0
  132. package/core/input/types/index.js +1 -0
  133. package/core/input/types/type.d.ts +4 -0
  134. package/core/input/types/type.js +4 -0
  135. package/core/modal/index.d.ts +2 -0
  136. package/core/modal/index.js +1 -0
  137. package/core/modal/modal-menu-context.d.ts +5 -0
  138. package/core/modal/modal-menu-context.js +10 -0
  139. package/core/modal/modal.component.d.ts +3 -0
  140. package/core/modal/modal.component.js +97 -0
  141. package/core/modal/modal.mixin.d.ts +7 -0
  142. package/core/modal/modal.mixin.js +4 -0
  143. package/core/modal/modal.props.d.ts +16 -0
  144. package/core/modal/modal.props.js +1 -0
  145. package/core/modal/modal.styles.d.ts +22 -0
  146. package/core/modal/modal.styles.js +51 -0
  147. package/core/modal/modal.utils.d.ts +1 -0
  148. package/core/modal/modal.utils.js +4 -0
  149. package/core/modal/types/index.d.ts +1 -0
  150. package/core/modal/types/index.js +1 -0
  151. package/core/modal/types/size.d.ts +7 -0
  152. package/core/modal/types/size.js +7 -0
  153. package/core/modal-actions/index.d.ts +2 -0
  154. package/core/modal-actions/index.js +1 -0
  155. package/core/modal-actions/modal-actions.component.d.ts +3 -0
  156. package/core/modal-actions/modal-actions.component.js +18 -0
  157. package/core/modal-actions/modal-actions.props.d.ts +8 -0
  158. package/core/modal-actions/modal-actions.props.js +1 -0
  159. package/core/modal-actions/modal-actions.styles.d.ts +7 -0
  160. package/core/modal-actions/modal-actions.styles.js +17 -0
  161. package/core/modal-actions/types/align.d.ts +5 -0
  162. package/core/modal-actions/types/align.js +5 -0
  163. package/core/modal-actions/types/index.d.ts +1 -0
  164. package/core/modal-actions/types/index.js +1 -0
  165. package/core/modal-content/index.d.ts +2 -0
  166. package/core/modal-content/index.js +1 -0
  167. package/core/modal-content/modal-content.component.d.ts +3 -0
  168. package/core/modal-content/modal-content.component.js +15 -0
  169. package/core/modal-content/modal-content.props.d.ts +4 -0
  170. package/core/modal-content/modal-content.props.js +1 -0
  171. package/core/modal-content/modal-content.styles.d.ts +6 -0
  172. package/core/modal-content/modal-content.styles.js +12 -0
  173. package/core/modal-title/index.d.ts +2 -0
  174. package/core/modal-title/index.js +1 -0
  175. package/core/modal-title/modal-title.component.d.ts +6 -0
  176. package/core/modal-title/modal-title.component.js +37 -0
  177. package/core/modal-title/modal-title.props.d.ts +14 -0
  178. package/core/modal-title/modal-title.props.js +1 -0
  179. package/core/modal-title/modal-title.styles.d.ts +31 -0
  180. package/core/modal-title/modal-title.styles.js +64 -0
  181. package/core/modal-title/types/index.d.ts +1 -0
  182. package/core/modal-title/types/index.js +1 -0
  183. package/core/modal-title/types/variant.d.ts +4 -0
  184. package/core/modal-title/types/variant.js +4 -0
  185. package/core/pagination/index.d.ts +2 -0
  186. package/core/pagination/index.js +1 -0
  187. package/core/pagination/pagination.component.d.ts +3 -0
  188. package/core/pagination/pagination.component.js +81 -0
  189. package/core/pagination/pagination.props.d.ts +11 -0
  190. package/core/pagination/pagination.props.js +1 -0
  191. package/core/pagination/pagination.styles.d.ts +19 -0
  192. package/core/pagination/pagination.styles.js +36 -0
  193. package/core/popper/index.d.ts +2 -0
  194. package/core/popper/index.js +1 -0
  195. package/core/popper/popper.component.d.ts +3 -0
  196. package/core/popper/popper.component.js +150 -0
  197. package/core/popper/popper.mixin.d.ts +17 -0
  198. package/core/popper/popper.mixin.js +5 -0
  199. package/core/popper/popper.props.d.ts +41 -0
  200. package/core/popper/popper.props.js +1 -0
  201. package/core/popper/popper.styles.d.ts +25 -0
  202. package/core/popper/popper.styles.js +48 -0
  203. package/core/popper/popper.utils.d.ts +1 -0
  204. package/core/popper/popper.utils.js +10 -0
  205. package/core/popper/types/index.d.ts +3 -0
  206. package/core/popper/types/index.js +3 -0
  207. package/core/popper/types/phases.d.ts +11 -0
  208. package/core/popper/types/phases.js +11 -0
  209. package/core/popper/types/position.d.ts +17 -0
  210. package/core/popper/types/position.js +17 -0
  211. package/core/popper/types/strategy.d.ts +4 -0
  212. package/core/popper/types/strategy.js +4 -0
  213. package/core/radio/index.d.ts +3 -0
  214. package/core/radio/index.js +2 -0
  215. package/core/radio/radio.component.d.ts +3 -0
  216. package/core/radio/radio.component.js +38 -0
  217. package/core/radio/radio.mixin.d.ts +13 -0
  218. package/core/radio/radio.mixin.js +13 -0
  219. package/core/radio/radio.props.d.ts +13 -0
  220. package/core/radio/radio.props.js +1 -0
  221. package/core/radio/radio.styles.d.ts +19 -0
  222. package/core/radio/radio.styles.js +44 -0
  223. package/core/radio/size.d.ts +4 -0
  224. package/core/radio/size.js +4 -0
  225. package/core/radio-group/index.d.ts +2 -0
  226. package/core/radio-group/index.js +1 -0
  227. package/core/radio-group/radio-group.component.d.ts +3 -0
  228. package/core/radio-group/radio-group.component.js +48 -0
  229. package/core/radio-group/radio-group.props.d.ts +15 -0
  230. package/core/radio-group/radio-group.props.js +1 -0
  231. package/core/radio-group/radio-group.styles.d.ts +14 -0
  232. package/core/radio-group/radio-group.styles.js +30 -0
  233. package/core/switcher/index.d.ts +3 -0
  234. package/core/switcher/index.js +2 -0
  235. package/core/switcher/switcher-size.d.ts +5 -0
  236. package/core/switcher/switcher-size.js +5 -0
  237. package/core/switcher/switcher.component.d.ts +3 -0
  238. package/core/switcher/switcher.component.js +54 -0
  239. package/core/switcher/switcher.mixin.d.ts +21 -0
  240. package/core/switcher/switcher.mixin.js +17 -0
  241. package/core/switcher/switcher.props.d.ts +14 -0
  242. package/core/switcher/switcher.props.js +1 -0
  243. package/core/switcher/switcher.styles.d.ts +27 -0
  244. package/core/switcher/switcher.styles.js +54 -0
  245. package/core/switcher/switcher.utils.d.ts +4 -0
  246. package/core/switcher/switcher.utils.js +37 -0
  247. package/core/switcher-group/index.d.ts +2 -0
  248. package/core/switcher-group/index.js +1 -0
  249. package/core/switcher-group/switcher-group.component.d.ts +3 -0
  250. package/core/switcher-group/switcher-group.component.js +41 -0
  251. package/core/switcher-group/switcher-group.props.d.ts +13 -0
  252. package/core/switcher-group/switcher-group.props.js +1 -0
  253. package/core/switcher-group/switcher-group.styles.d.ts +10 -0
  254. package/core/switcher-group/switcher-group.styles.js +30 -0
  255. package/core/tab/index.d.ts +2 -0
  256. package/core/tab/index.js +1 -0
  257. package/core/tab/tab.component.d.ts +6 -0
  258. package/core/tab/tab.component.js +52 -0
  259. package/core/tab/tab.mixin.d.ts +11 -0
  260. package/core/tab/tab.mixin.js +15 -0
  261. package/core/tab/tab.props.d.ts +15 -0
  262. package/core/tab/tab.props.js +1 -0
  263. package/core/tab/tab.styles.d.ts +26 -0
  264. package/core/tab/tab.styles.js +61 -0
  265. package/core/tab/types/index.d.ts +1 -0
  266. package/core/tab/types/index.js +1 -0
  267. package/core/tab/types/size.d.ts +5 -0
  268. package/core/tab/types/size.js +5 -0
  269. package/core/tab-panel/index.d.ts +2 -0
  270. package/core/tab-panel/index.js +1 -0
  271. package/core/tab-panel/tab-panel.component.d.ts +3 -0
  272. package/core/tab-panel/tab-panel.component.js +18 -0
  273. package/core/tab-panel/tab-panel.props.d.ts +6 -0
  274. package/core/tab-panel/tab-panel.props.js +1 -0
  275. package/core/tab-panel/tab-panel.styles.d.ts +6 -0
  276. package/core/tab-panel/tab-panel.styles.js +12 -0
  277. package/core/upload-input/index.d.ts +2 -0
  278. package/core/upload-input/index.js +1 -0
  279. package/core/upload-input/upload-input.component.d.ts +3 -0
  280. package/core/upload-input/upload-input.component.js +68 -0
  281. package/core/upload-input/upload-input.props.d.ts +9 -0
  282. package/core/upload-input/upload-input.props.js +1 -0
  283. package/core/upload-input/upload-input.styles.d.ts +11 -0
  284. package/core/upload-input/upload-input.styles.js +53 -0
  285. package/hooks/README.md +26 -0
  286. package/hooks/use-controlled.d.ts +1 -0
  287. package/hooks/use-controlled.js +20 -0
  288. package/hooks/use-debounce.d.ts +2 -0
  289. package/hooks/use-debounce.js +19 -0
  290. package/hooks/use-drag.d.ts +5 -0
  291. package/hooks/use-drag.js +37 -0
  292. package/hooks/use-enhanced-effect.d.ts +3 -0
  293. package/hooks/use-enhanced-effect.js +3 -0
  294. package/hooks/use-event-callback.d.ts +4 -0
  295. package/hooks/use-event-callback.js +19 -0
  296. package/hooks/use-pagination.d.ts +3 -0
  297. package/hooks/use-pagination.js +106 -0
  298. package/hooks/use-portal.d.ts +14 -0
  299. package/hooks/use-portal.js +75 -0
  300. package/package.json +63 -0
  301. package/theme/README.md +46 -0
  302. package/theme/entity/index.d.ts +1 -0
  303. package/theme/entity/index.js +1 -0
  304. package/theme/entity/theme.d.ts +34 -0
  305. package/theme/hooks/index.d.ts +2 -0
  306. package/theme/hooks/index.js +2 -0
  307. package/theme/hooks/use-media-query.d.ts +1 -0
  308. package/theme/hooks/use-media-query.js +27 -0
  309. package/theme/hooks/use-theme.d.ts +2 -0
  310. package/theme/hooks/use-theme.js +4 -0
  311. package/theme/index.d.ts +3 -0
  312. package/theme/index.js +1 -0
  313. package/theme/roots/breakpoints/entity/breakpoints-map.d.ts +8 -0
  314. package/theme/roots/breakpoints/entity/breakpoints.d.ts +73 -0
  315. package/theme/roots/breakpoints/entity/create-breakpoints.d.ts +3 -0
  316. package/theme/roots/breakpoints/entity/create-breakpoints.js +65 -0
  317. package/theme/roots/breakpoints/entity/default-breakpoints.d.ts +26 -0
  318. package/theme/roots/breakpoints/entity/default-breakpoints.js +22 -0
  319. package/theme/roots/breakpoints/entity/index.d.ts +3 -0
  320. package/theme/roots/breakpoints/entity/index.js +2 -0
  321. package/theme/roots/breakpoints/index.d.ts +3 -0
  322. package/theme/roots/breakpoints/index.js +1 -0
  323. package/theme/roots/common-styles.d.ts +2 -0
  324. package/theme/roots/common-styles.js +6 -0
  325. package/theme/roots/index.d.ts +2 -0
  326. package/theme/roots/index.js +2 -0
  327. package/theme/roots/palette/entity/colors-map.d.ts +4 -0
  328. package/theme/roots/palette/entity/default-palette.d.ts +282 -0
  329. package/theme/roots/palette/entity/default-palette.js +22 -0
  330. package/theme/roots/palette/entity/index.d.ts +2 -0
  331. package/theme/roots/palette/entity/index.js +2 -0
  332. package/theme/roots/palette/index.d.ts +2 -0
  333. package/theme/roots/palette/index.js +1 -0
  334. package/theme/roots/shadows/entity/default-shadows.d.ts +16 -0
  335. package/theme/roots/shadows/entity/default-shadows.js +5 -0
  336. package/theme/roots/shadows/entity/index.d.ts +2 -0
  337. package/theme/roots/shadows/entity/index.js +2 -0
  338. package/theme/roots/shadows/entity/shadows-map.d.ts +4 -0
  339. package/theme/roots/shadows/index.d.ts +2 -0
  340. package/theme/roots/shadows/index.js +1 -0
  341. package/theme/roots/shape/index.d.ts +1 -0
  342. package/theme/roots/shape/index.js +1 -0
  343. package/theme/roots/shape/shape.props.d.ts +5 -0
  344. package/theme/roots/shape/shape.props.js +1 -0
  345. package/theme/roots/typography/entity/default-typography.d.ts +398 -0
  346. package/theme/roots/typography/entity/default-typography.js +237 -0
  347. package/theme/roots/typography/entity/index.d.ts +1 -0
  348. package/theme/roots/typography/entity/index.js +1 -0
  349. package/theme/roots/typography/index.d.ts +3 -0
  350. package/theme/roots/typography/index.js +2 -0
  351. package/theme/roots/typography/typography.component.d.ts +2 -0
  352. package/theme/roots/typography/typography.component.js +7 -0
  353. package/theme/roots/typography/typography.props.d.ts +15 -0
  354. package/theme/roots/typography/typography.props.js +1 -0
  355. package/theme/theme-provider/index.d.ts +2 -0
  356. package/theme/theme-provider/index.js +1 -0
  357. package/theme/theme-provider/theme-provider.context.d.ts +4 -0
  358. package/theme/theme-provider/theme-provider.context.js +48 -0
  359. package/theme/theme-provider/theme-provider.props.d.ts +6 -0
  360. package/theme/theme-provider/theme-provider.props.js +1 -0
  361. package/theme/theme.css +100 -0
  362. package/tsconfig.json +22 -0
  363. package/utils/README.md +11 -0
  364. package/utils/functions/apply-display-names.d.ts +6 -0
  365. package/utils/functions/apply-display-names.js +12 -0
  366. package/utils/functions/apply-polymorphic-function-prop.d.ts +6 -0
  367. package/utils/functions/apply-polymorphic-function-prop.js +11 -0
  368. package/utils/functions/color-picker/color-converters.d.ts +11 -0
  369. package/utils/functions/color-picker/color-converters.js +159 -0
  370. package/utils/functions/color-picker/map-number.d.ts +1 -0
  371. package/utils/functions/color-picker/map-number.js +3 -0
  372. package/utils/functions/color-picker/restrict-number.d.ts +1 -0
  373. package/utils/functions/color-picker/restrict-number.js +8 -0
  374. package/utils/functions/convert-to-string.d.ts +1 -0
  375. package/utils/functions/convert-to-string.js +3 -0
  376. package/utils/functions/escape-regexp.d.ts +1 -0
  377. package/utils/functions/escape-regexp.js +3 -0
  378. package/utils/functions/generate-class-names.d.ts +1 -0
  379. package/utils/functions/generate-class-names.js +22 -0
  380. package/utils/functions/get-elem-document-coords.d.ts +6 -0
  381. package/utils/functions/get-elem-document-coords.js +21 -0
  382. package/utils/functions/ignore-event.d.ts +1 -0
  383. package/utils/functions/ignore-event.js +9 -0
  384. package/utils/functions/index.d.ts +14 -0
  385. package/utils/functions/index.js +15 -0
  386. package/utils/functions/intrinsic-component.d.ts +0 -0
  387. package/utils/functions/intrinsic-component.js +28 -0
  388. package/utils/functions/object-keys.d.ts +6 -0
  389. package/utils/functions/object-keys.js +6 -0
  390. package/utils/functions/object-values.d.ts +7 -0
  391. package/utils/functions/object-values.js +6 -0
  392. package/utils/functions/on-click-by-mouse-down.d.ts +2 -0
  393. package/utils/functions/on-click-by-mouse-down.js +9 -0
  394. package/utils/functions/scrollbar.d.ts +2 -0
  395. package/utils/functions/scrollbar.js +6 -0
  396. package/utils/functions/set-ref.d.ts +8 -0
  397. package/utils/functions/set-ref.js +13 -0
  398. package/utils/functions/shadcn-utils.d.ts +2 -0
  399. package/utils/functions/shadcn-utils.js +8 -0
  400. package/utils/functions/slider/utils.d.ts +47 -0
  401. package/utils/functions/slider/utils.js +124 -0
  402. package/utils/functions/use-fork-ref.d.ts +2 -0
  403. package/utils/functions/use-fork-ref.js +18 -0
  404. package/utils/types/color/icon-button-color.d.ts +5 -0
  405. package/utils/types/color/icon-button-color.js +5 -0
  406. package/utils/types/color/index.d.ts +2 -0
  407. package/utils/types/color/index.js +2 -0
  408. package/utils/types/color/input-background-color.d.ts +4 -0
  409. package/utils/types/color/input-background-color.js +4 -0
  410. package/utils/types/css/align.d.ts +11 -0
  411. package/utils/types/css/align.js +11 -0
  412. package/utils/types/css/breakpoint.d.ts +18 -0
  413. package/utils/types/css/breakpoint.js +18 -0
  414. package/utils/types/css/direction.d.ts +8 -0
  415. package/utils/types/css/direction.js +4 -0
  416. package/utils/types/css/index.d.ts +4 -0
  417. package/utils/types/css/index.js +4 -0
  418. package/utils/types/css/position.d.ts +6 -0
  419. package/utils/types/css/position.js +6 -0
  420. package/utils/types/index.d.ts +8 -0
  421. package/utils/types/index.js +3 -0
  422. package/utils/types/intrinsic-component.d.ts +1 -0
  423. package/utils/types/keys.d.ts +4 -0
  424. package/utils/types/palette/color.d.ts +133 -0
  425. package/utils/types/palette/color.js +133 -0
  426. package/utils/types/palette/index.d.ts +1 -0
  427. package/utils/types/palette/index.js +1 -0
  428. package/utils/types/position/index.d.ts +1 -0
  429. package/utils/types/position/index.js +1 -0
  430. package/utils/types/position/position.d.ts +6 -0
  431. package/utils/types/position/position.js +6 -0
  432. package/utils/types/prop-types/index.d.ts +1 -0
  433. package/utils/types/prop-types/index.js +1 -0
  434. package/utils/types/prop-types/record.d.ts +1 -0
  435. package/utils/types/prop-types/record.js +6 -0
  436. package/utils/types/shadows/index.d.ts +1 -0
  437. package/utils/types/shadows/index.js +1 -0
  438. package/utils/types/shadows/shadows.d.ts +14 -0
  439. package/utils/types/shadows/shadows.js +14 -0
  440. package/utils/types/shape/border-radius-size.d.ts +5 -0
  441. package/utils/types/shape/border-radius-size.js +5 -0
  442. package/utils/types/shape/index.d.ts +1 -0
  443. package/utils/types/shape/index.js +1 -0
  444. package/utils/types/size/index.d.ts +1 -0
  445. package/utils/types/size/index.js +1 -0
  446. package/utils/types/size/input-size.d.ts +4 -0
  447. package/utils/types/size/input-size.js +4 -0
  448. package/utils/types/stylable-component.d.ts +7 -0
  449. package/utils/types/typography/font-variant.d.ts +58 -0
  450. package/utils/types/typography/font-variant.js +58 -0
  451. package/utils/types/typography/font-weight.d.ts +11 -0
  452. package/utils/types/typography/font-weight.js +11 -0
  453. package/utils/types/typography/index.d.ts +4 -0
  454. package/utils/types/typography/index.js +4 -0
  455. package/utils/types/typography/text-align.d.ts +5 -0
  456. package/utils/types/typography/text-align.js +5 -0
  457. package/utils/types/typography/text-decoration.d.ts +5 -0
  458. package/utils/types/typography/text-decoration.js +5 -0
  459. package/utils/types/values.d.ts +4 -0
  460. package/utils/types/with.d.ts +4 -0
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * passes {value} to {ref}
4
+ * Useful if you want to expose the ref of an inner component to the public API
5
+ * while still using it inside the component.
6
+ * @param ref A ref callback or ref object. If anything falsy, this is a no-op.
7
+ */
8
+ export default function setRef<T>(ref: React.MutableRefObject<T | null> | ((instance: T | null) => void) | null | undefined, value: T | null): void;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * passes {value} to {ref}
3
+ * Useful if you want to expose the ref of an inner component to the public API
4
+ * while still using it inside the component.
5
+ * @param ref A ref callback or ref object. If anything falsy, this is a no-op.
6
+ */
7
+ export default function setRef(ref, value) {
8
+ if (typeof ref === 'function') {
9
+ ref(value);
10
+ } else if (ref) {
11
+ ref.current = value;
12
+ }
13
+ }
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1,8 @@
1
+ import { clsx } from 'clsx';
2
+ import { twMerge } from 'tailwind-merge';
3
+ export function cn() {
4
+ for (var _len = arguments.length, inputs = new Array(_len), _key = 0; _key < _len; _key++) {
5
+ inputs[_key] = arguments[_key];
6
+ }
7
+ return twMerge(clsx(inputs));
8
+ }
@@ -0,0 +1,47 @@
1
+ export declare function asc(a: number, b: number): number;
2
+ export declare function valueToPercent(value: number, min: number, max: number): number;
3
+ export declare function percentToValue(percent: number, min: number, max: number): number;
4
+ export declare function roundValueToStep(value: number, step: number, min: number): number;
5
+ export declare function setValueIndex({ values, newValue, index, }: {
6
+ values: number[];
7
+ newValue: number;
8
+ index: number;
9
+ }): number | number[];
10
+ export declare function findClosest(values: number[], currentValue: number): number;
11
+ export declare function ownerDocument(node: Node | null | undefined): Document;
12
+ export declare function clamp(value: number | null, min: number, max: number): number;
13
+ export declare function trackFinger(event: any, touchId: any): {
14
+ x: number | null;
15
+ y: number | null;
16
+ } | boolean;
17
+ export declare const axisProps: {
18
+ horizontal: {
19
+ offset: (percent: number) => {
20
+ left: string;
21
+ };
22
+ leap: (percent: number) => {
23
+ width: string;
24
+ };
25
+ };
26
+ 'horizontal-reverse': {
27
+ offset: (percent: number) => {
28
+ right: string;
29
+ };
30
+ leap: (percent: number) => {
31
+ width: string;
32
+ };
33
+ };
34
+ vertical: {
35
+ offset: (percent: number) => {
36
+ bottom: string;
37
+ };
38
+ leap: (percent: number) => {
39
+ height: string;
40
+ };
41
+ };
42
+ };
43
+ export declare function focusThumb({ sliderRef, activeIndex, setActive, }: {
44
+ sliderRef: any;
45
+ activeIndex: number;
46
+ setActive?: any;
47
+ }): void;
@@ -0,0 +1,124 @@
1
+ export function asc(a, b) {
2
+ return a - b;
3
+ }
4
+ export function valueToPercent(value, min, max) {
5
+ return (value - min) * 100 / (max - min);
6
+ }
7
+ export function percentToValue(percent, min, max) {
8
+ return (max - min) * percent + min;
9
+ }
10
+ function getDecimalPrecision(num) {
11
+ // This handles the case when num is very small (0.00000001), js will turn this into 1e-8.
12
+ // When num is bigger than 1 or less than -1 it won't get converted to this notation so it's fine.
13
+ if (Math.abs(num) < 1) {
14
+ var parts = num.toExponential().split('e-');
15
+ var matissaDecimalPart = parts[0].split('.')[1];
16
+ return (matissaDecimalPart ? matissaDecimalPart.length : 0) + Number.parseInt(parts[1], 10);
17
+ }
18
+ var decimalPart = num.toString().split('.')[1];
19
+ return decimalPart ? decimalPart.length : 0;
20
+ }
21
+ export function roundValueToStep(value, step, min) {
22
+ var nearest = Math.round((value - min) / step) * step + min;
23
+ return Number(nearest.toFixed(getDecimalPrecision(step)));
24
+ }
25
+ export function setValueIndex(_ref) {
26
+ var values = _ref.values,
27
+ newValue = _ref.newValue,
28
+ index = _ref.index;
29
+ var output = values.slice();
30
+ output[index] = newValue;
31
+ return output.sort(asc);
32
+ }
33
+ export function findClosest(values, currentValue) {
34
+ var _values$reduce = values.reduce(function (acc, value, index) {
35
+ var distance = Math.abs(currentValue - value);
36
+ if (acc === null || distance < acc.distance || distance === acc.distance) {
37
+ return {
38
+ distance: distance,
39
+ index: index
40
+ };
41
+ }
42
+ return acc;
43
+ }, null),
44
+ closestIndex = _values$reduce.index;
45
+ return closestIndex;
46
+ }
47
+ export function ownerDocument(node) {
48
+ return node && node.ownerDocument || document;
49
+ }
50
+ export function clamp(value, min, max) {
51
+ if (value == null) {
52
+ return min;
53
+ }
54
+ return Math.min(Math.max(min, value), max);
55
+ }
56
+ export function trackFinger(event, touchId) {
57
+ if (touchId.current !== undefined && event.changedTouches) {
58
+ for (var i = 0; i < event.changedTouches.length; i += 1) {
59
+ var touch = event.changedTouches[i];
60
+ if (touch.identifier === touchId.current) {
61
+ return {
62
+ x: touch.clientX,
63
+ y: touch.clientY
64
+ };
65
+ }
66
+ }
67
+ return false;
68
+ }
69
+ return {
70
+ x: event.clientX,
71
+ y: event.clientY
72
+ };
73
+ }
74
+ export var axisProps = {
75
+ horizontal: {
76
+ offset: function offset(percent) {
77
+ return {
78
+ left: "".concat(percent, "%")
79
+ };
80
+ },
81
+ leap: function leap(percent) {
82
+ return {
83
+ width: "".concat(percent, "%")
84
+ };
85
+ }
86
+ },
87
+ 'horizontal-reverse': {
88
+ offset: function offset(percent) {
89
+ return {
90
+ right: "".concat(percent, "%")
91
+ };
92
+ },
93
+ leap: function leap(percent) {
94
+ return {
95
+ width: "".concat(percent, "%")
96
+ };
97
+ }
98
+ },
99
+ vertical: {
100
+ offset: function offset(percent) {
101
+ return {
102
+ bottom: "".concat(percent, "%")
103
+ };
104
+ },
105
+ leap: function leap(percent) {
106
+ return {
107
+ height: "".concat(percent, "%")
108
+ };
109
+ }
110
+ }
111
+ };
112
+ export function focusThumb(_ref2) {
113
+ var sliderRef = _ref2.sliderRef,
114
+ activeIndex = _ref2.activeIndex,
115
+ setActive = _ref2.setActive;
116
+ var doc = ownerDocument(sliderRef.current);
117
+ if (!sliderRef.current.contains(doc.activeElement) || Number(doc.activeElement.getAttribute('data-index')) !== activeIndex) {
118
+ var _sliderRef$current$qu;
119
+ (_sliderRef$current$qu = sliderRef.current.querySelector("[type=\"range\"][data-index=\"".concat(activeIndex, "\"]"))) === null || _sliderRef$current$qu === void 0 || _sliderRef$current$qu.focus();
120
+ }
121
+ if (setActive) {
122
+ setActive(activeIndex);
123
+ }
124
+ }
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare function useForkRef<T>(refA: React.MutableRefObject<T | null> | ((instance: T | null) => void) | null | undefined, refB: React.MutableRefObject<T | null> | ((instance: T | null) => void) | null | undefined): any;
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+ import setRef from './set-ref';
3
+ export function useForkRef(refA, refB) {
4
+ /**
5
+ * This will create a new function if the ref props change and are defined.
6
+ * This means react will call the old forkRef with `null` and the new forkRef
7
+ * with the ref. Cleanup naturally emerges from this behavior.
8
+ */
9
+ return React.useMemo(function () {
10
+ if (refA == null && refB == null) {
11
+ return null;
12
+ }
13
+ return function (refValue) {
14
+ setRef(refA, refValue);
15
+ setRef(refB, refValue);
16
+ };
17
+ }, [refA, refB]);
18
+ }
@@ -0,0 +1,5 @@
1
+ export declare const IconButtonColor: {
2
+ readonly Primary: "primary";
3
+ readonly Secondary: "secondary";
4
+ readonly Basic: "basic";
5
+ };
@@ -0,0 +1,5 @@
1
+ export var IconButtonColor = {
2
+ Primary: 'primary',
3
+ Secondary: 'secondary',
4
+ Basic: 'basic'
5
+ };
@@ -0,0 +1,2 @@
1
+ export { IconButtonColor } from './icon-button-color';
2
+ export { InputBackgroundColor } from './input-background-color';
@@ -0,0 +1,2 @@
1
+ export { IconButtonColor } from './icon-button-color';
2
+ export { InputBackgroundColor } from './input-background-color';
@@ -0,0 +1,4 @@
1
+ export declare const InputBackgroundColor: {
2
+ readonly Primary: "primary";
3
+ readonly Secondary: "secondary";
4
+ };
@@ -0,0 +1,4 @@
1
+ export var InputBackgroundColor = {
2
+ Primary: 'primary',
3
+ Secondary: 'secondary'
4
+ };
@@ -0,0 +1,11 @@
1
+ export declare const Align: {
2
+ readonly Start: "start";
3
+ readonly End: "end";
4
+ readonly Center: "center";
5
+ readonly Baseline: "baseline";
6
+ readonly Stretch: "stretch";
7
+ readonly Initial: "initial";
8
+ readonly SpaceBetween: "space-between";
9
+ readonly SpaceAround: "space-around";
10
+ readonly SpaceEvenly: "space-evenly";
11
+ };
@@ -0,0 +1,11 @@
1
+ export var Align = {
2
+ Start: 'start',
3
+ End: 'end',
4
+ Center: 'center',
5
+ Baseline: 'baseline',
6
+ Stretch: 'stretch',
7
+ Initial: 'initial',
8
+ SpaceBetween: 'space-between',
9
+ SpaceAround: 'space-around',
10
+ SpaceEvenly: 'space-evenly'
11
+ };
@@ -0,0 +1,18 @@
1
+ export declare const Breakpoint: {
2
+ readonly Xs: "xs";
3
+ readonly Sm: "sm";
4
+ readonly Md: "md";
5
+ readonly Lg: "lg";
6
+ readonly Xl: "xl";
7
+ readonly Xxl: "xxl";
8
+ readonly Xxxl: "xxxl";
9
+ };
10
+ export declare const BreakpointClass: {
11
+ Xs: string;
12
+ Sm: string;
13
+ Md: string;
14
+ Lg: string;
15
+ Xl: string;
16
+ Xxl: string;
17
+ Xxxl: string;
18
+ };
@@ -0,0 +1,18 @@
1
+ export var Breakpoint = {
2
+ Xs: 'xs',
3
+ Sm: 'sm',
4
+ Md: 'md',
5
+ Lg: 'lg',
6
+ Xl: 'xl',
7
+ Xxl: 'xxl',
8
+ Xxxl: 'xxxl'
9
+ };
10
+ export var BreakpointClass = {
11
+ Xs: '.sfx-breakpoint-xs',
12
+ Sm: '.sfx-breakpoint-sm',
13
+ Md: '.sfx-breakpoint-md',
14
+ Lg: '.sfx-breakpoint-lg',
15
+ Xl: '.sfx-breakpoint-xl',
16
+ Xxl: '.sfx-breakpoint-xxl',
17
+ Xxxl: '.sfx-breakpoint-xxxl'
18
+ };
@@ -0,0 +1,8 @@
1
+ import { Values, With } from '..';
2
+ export declare const Direction: {
3
+ readonly Row: "row";
4
+ readonly Column: "column";
5
+ };
6
+ export type WithDirection<T = undefined> = With<T, {
7
+ direction?: Values<typeof Direction>;
8
+ }>;
@@ -0,0 +1,4 @@
1
+ export var Direction = {
2
+ Row: 'row',
3
+ Column: 'column'
4
+ };
@@ -0,0 +1,4 @@
1
+ export * from './align';
2
+ export * from './position';
3
+ export * from './direction';
4
+ export * from './breakpoint';
@@ -0,0 +1,4 @@
1
+ export * from './align';
2
+ export * from './position';
3
+ export * from './direction';
4
+ export * from './breakpoint';
@@ -0,0 +1,6 @@
1
+ export declare const Position: {
2
+ readonly Top: "top";
3
+ readonly Right: "right";
4
+ readonly Bottom: "bottom";
5
+ readonly Left: "left";
6
+ };
@@ -0,0 +1,6 @@
1
+ export var Position = {
2
+ Top: 'top',
3
+ Right: 'right',
4
+ Bottom: 'bottom',
5
+ Left: 'left'
6
+ };
@@ -0,0 +1,8 @@
1
+ export type { StylableComponent } from './stylable-component';
2
+ export type { IntrinsicComponent } from './intrinsic-component';
3
+ export type { With } from './with';
4
+ export type { Keys } from './keys';
5
+ export type { Values } from './values';
6
+ export { Position } from './position';
7
+ export * from './color';
8
+ export * from './size';
@@ -0,0 +1,3 @@
1
+ export { Position } from './position';
2
+ export * from './color';
3
+ export * from './size';
@@ -0,0 +1 @@
1
+ export type IntrinsicComponent<P> = Omit<P, 'style' | 'children'>
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Type-only Object.keys
3
+ */
4
+ export type Keys<T> = keyof T
@@ -0,0 +1,133 @@
1
+ export declare const Color: {
2
+ readonly TextPrimary: "txt-primary";
3
+ readonly TextSecondary: "txt-secondary";
4
+ readonly TextSecondaryInvert: "txt-secondary-invert";
5
+ readonly TextPlaceholder: "txt-placeholder";
6
+ readonly TextWarning: "txt-warning";
7
+ readonly TextError: "txt-error";
8
+ readonly TextInfo: "txt-info";
9
+ readonly AccentPrimary: "accent-primary";
10
+ readonly AccentPrimaryHover: "accent-primary-hover";
11
+ readonly AccentPrimaryActive: "accent-primary-active";
12
+ readonly AccentPrimaryDisabled: "accent-primary-disabled";
13
+ readonly AccentSecondaryDisabled: "accent-secondary-disabled";
14
+ readonly AccentStateless: "accent-stateless";
15
+ readonly AccentStateless_0_4_Opacity: "accent-stateless_0_4_opacity";
16
+ readonly Accent_0_5_5_Opacity: "accent_0_5_5_opacity";
17
+ readonly Accent_0_5_Opacity: "accent_0_5_opacity";
18
+ readonly Accent_0_7_Opacity: "accent_0_7_opacity";
19
+ readonly Accent_1_2_Opacity: "accent_1_2_opacity";
20
+ readonly Accent_1_8_Opacity: "accent_1_8_opacity";
21
+ readonly Accent_2_8_Opacity: "accent_2_8_opacity";
22
+ readonly Accent_4_0_Opacity: "accent_4_0_opacity";
23
+ readonly BackgroundGrey: "bg-grey";
24
+ readonly BackgroundStateless: "bg-stateless";
25
+ readonly BackgroundActive: "bg-active";
26
+ readonly BackgroundBaseLight: "bg-base-light";
27
+ readonly BackgroundBaseMedium: "bg-base-medium";
28
+ readonly BackgroundPrimary: "bg-primary";
29
+ readonly BackgroundPrimaryLight: "bg-primary-light";
30
+ readonly BackgroundPrimaryHover: "bg-primary-hover";
31
+ readonly BackgroundPrimaryActive: "bg-primary-active";
32
+ readonly BackgroundPrimaryStateless: "bg-primary-stateless";
33
+ readonly BackgroundPrimary_0_5_Opacity: "bg-primary-0-5-opacity";
34
+ readonly BackgroundSecondary: "bg-secondary";
35
+ readonly BackgroundHover: "bg-hover";
36
+ readonly BackgroundGreen: "bg-green";
37
+ readonly BackgroundGreenMedium: "bg-green-medium";
38
+ readonly BackgroundBlue: "bg-blue";
39
+ readonly BackgroundRed: "bg-red";
40
+ readonly BackgroundRedLight: "bg-red-light";
41
+ readonly BackgroundRedMedium: "background-red-medium";
42
+ readonly BackgroundOrange: "bg-orange";
43
+ readonly BackgroundTooltip: "bg-tooltip";
44
+ readonly IconsPrimary: "icon-primary";
45
+ readonly IconsPrimaryOpacity_0_6: "icons-primary-opacity-0-6";
46
+ readonly IconsSecondary: "icons-secondary";
47
+ readonly IconsPlaceholder: "icons-placeholder";
48
+ readonly IconsInvert: "icons-invert";
49
+ readonly IconsMuted: "icons-muted";
50
+ readonly IconsPrimaryHover: "icons-primary-hover";
51
+ readonly IconsSecondaryHover: "icons-secondary-hover";
52
+ readonly ButtonPrimaryText: "btn-primary-text";
53
+ readonly ButtonPrimaryText_0_6: "btn-primary-text-0-6";
54
+ readonly ButtonPrimaryText_0_4: "btn-primary-text-0-4";
55
+ readonly ButtonDisabledText: "btn-disabled-text";
56
+ readonly ButtonSecondaryText: "btn-secondary-text";
57
+ readonly LinkPrimary: "link-primary";
58
+ readonly LinkStateless: "link-stateless";
59
+ readonly LinkHover: "link-hover";
60
+ readonly LinkActive: "link-active";
61
+ readonly LinkMuted: "link-muted";
62
+ readonly LinkPressed: "link-pressed";
63
+ readonly BordersPrimary: "borders-primary";
64
+ readonly BordersPrimaryHover: "borders-primary-hover";
65
+ readonly BordersSecondary: "borders-secondary";
66
+ readonly BordersStrong: "borders-strong";
67
+ readonly BordersInvert: "borders-invert";
68
+ readonly BorderHoverBottom: "border-hover-bottom";
69
+ readonly BorderActiveBottom: "border-active-bottom";
70
+ readonly BorderPrimaryStateless: "border-primary-stateless";
71
+ readonly BordersDisabled: "borders-disabled";
72
+ readonly BordersButton: "borders-button";
73
+ readonly BordersItem: "borders-item";
74
+ readonly BordersBaseLight: "borders-base-light";
75
+ readonly BordersBaseMedium: "borders-base-medium";
76
+ readonly BordersGreen: "borders-green";
77
+ readonly BordersGreenMedium: "borders-green-medium";
78
+ readonly BordersRed: "borders-red";
79
+ readonly ActiveSecondary: "active-secondary";
80
+ readonly ActiveSecondaryHover: "active-secondary-hover";
81
+ readonly Tag: "tag";
82
+ readonly StatesErrorDisabledText: "states-error-disabled-text";
83
+ readonly Error: "error";
84
+ readonly Error_0_28_Opacity: "error-0-28-opacity";
85
+ readonly Error_0_12_Opacity: "error-0-12-opacity";
86
+ readonly ErrorHover: "error-hover";
87
+ readonly ErrorActive: "error-active";
88
+ readonly Success: "success";
89
+ readonly SuccessHover: "success-hover";
90
+ readonly SuccessActive: "success-Active";
91
+ readonly Warning: "warning";
92
+ readonly WarningHover: "warning-hover";
93
+ readonly WarningActive: "warning-active";
94
+ readonly Info: "info";
95
+ readonly Modified: "modified";
96
+ readonly Red: "red";
97
+ readonly Orange: "orange";
98
+ readonly Salad: "salad";
99
+ readonly Green: "green";
100
+ readonly Blue: "blue";
101
+ readonly Indigo: "indigo";
102
+ readonly Violet: "violet";
103
+ readonly Pink: "pink";
104
+ readonly GradientRight: "gradient-right";
105
+ readonly Extra_0_3_Overlay: "extra-0-3-overlay";
106
+ readonly GradientRightActive: "gradient-right-active";
107
+ readonly GradientRightHover: "gradient-right-hover";
108
+ readonly Extra_0_5_Overlay: "extra-0-5-overlay";
109
+ readonly Extra_0_7_Overlay: "extra-0-7-overlay";
110
+ readonly Extra_0_9_Overlay: "extra-0-9-overlay";
111
+ readonly Red_0_1_Overlay: "red-0-1-overlay";
112
+ readonly Orange_0_1_Overlay: "orange-0-1-overlay";
113
+ readonly Accent_0_8_Overlay: "accent-0-8-overlay";
114
+ readonly Green_0_2_Overlay: "green-0-2-Overlay";
115
+ readonly WHITE_0_7_8_Overlay: "white-0-7-8-overlay";
116
+ readonly Link: "link";
117
+ readonly Camera: "camera";
118
+ readonly GoogleDrive: "google-drive";
119
+ readonly Dropbox: "dropbox";
120
+ readonly OneDrive: "one-drive";
121
+ readonly Device: "device";
122
+ readonly Instagram: "instagram";
123
+ readonly FreeImages: "free-images";
124
+ readonly FreeIcons: "free-icons";
125
+ readonly Canvas: "canvas";
126
+ readonly Box: "box";
127
+ readonly ScreenCast: "screen-cast";
128
+ readonly Unsplash: "unsplash";
129
+ readonly LightShadow: "light-shadow";
130
+ readonly MediumShadow: "medium-shadow";
131
+ readonly LargeShadow: "large-shadow";
132
+ readonly XLargeShadow: "x-large-shadow";
133
+ };
@@ -0,0 +1,133 @@
1
+ export var Color = {
2
+ TextPrimary: 'txt-primary',
3
+ TextSecondary: 'txt-secondary',
4
+ TextSecondaryInvert: 'txt-secondary-invert',
5
+ TextPlaceholder: 'txt-placeholder',
6
+ TextWarning: 'txt-warning',
7
+ TextError: 'txt-error',
8
+ TextInfo: 'txt-info',
9
+ AccentPrimary: 'accent-primary',
10
+ AccentPrimaryHover: 'accent-primary-hover',
11
+ AccentPrimaryActive: 'accent-primary-active',
12
+ AccentPrimaryDisabled: 'accent-primary-disabled',
13
+ AccentSecondaryDisabled: 'accent-secondary-disabled',
14
+ AccentStateless: 'accent-stateless',
15
+ AccentStateless_0_4_Opacity: 'accent-stateless_0_4_opacity',
16
+ Accent_0_5_5_Opacity: 'accent_0_5_5_opacity',
17
+ Accent_0_5_Opacity: 'accent_0_5_opacity',
18
+ Accent_0_7_Opacity: 'accent_0_7_opacity',
19
+ Accent_1_2_Opacity: 'accent_1_2_opacity',
20
+ Accent_1_8_Opacity: 'accent_1_8_opacity',
21
+ Accent_2_8_Opacity: 'accent_2_8_opacity',
22
+ Accent_4_0_Opacity: 'accent_4_0_opacity',
23
+ BackgroundGrey: 'bg-grey',
24
+ BackgroundStateless: 'bg-stateless',
25
+ BackgroundActive: 'bg-active',
26
+ BackgroundBaseLight: 'bg-base-light',
27
+ BackgroundBaseMedium: 'bg-base-medium',
28
+ BackgroundPrimary: 'bg-primary',
29
+ BackgroundPrimaryLight: 'bg-primary-light',
30
+ BackgroundPrimaryHover: 'bg-primary-hover',
31
+ BackgroundPrimaryActive: 'bg-primary-active',
32
+ BackgroundPrimaryStateless: 'bg-primary-stateless',
33
+ BackgroundPrimary_0_5_Opacity: 'bg-primary-0-5-opacity',
34
+ BackgroundSecondary: 'bg-secondary',
35
+ BackgroundHover: 'bg-hover',
36
+ BackgroundGreen: 'bg-green',
37
+ BackgroundGreenMedium: 'bg-green-medium',
38
+ BackgroundBlue: 'bg-blue',
39
+ BackgroundRed: 'bg-red',
40
+ BackgroundRedLight: 'bg-red-light',
41
+ BackgroundRedMedium: 'background-red-medium',
42
+ BackgroundOrange: 'bg-orange',
43
+ BackgroundTooltip: 'bg-tooltip',
44
+ IconsPrimary: 'icon-primary',
45
+ IconsPrimaryOpacity_0_6: 'icons-primary-opacity-0-6',
46
+ IconsSecondary: 'icons-secondary',
47
+ IconsPlaceholder: 'icons-placeholder',
48
+ IconsInvert: 'icons-invert',
49
+ IconsMuted: 'icons-muted',
50
+ IconsPrimaryHover: 'icons-primary-hover',
51
+ IconsSecondaryHover: 'icons-secondary-hover',
52
+ ButtonPrimaryText: 'btn-primary-text',
53
+ ButtonPrimaryText_0_6: 'btn-primary-text-0-6',
54
+ ButtonPrimaryText_0_4: 'btn-primary-text-0-4',
55
+ ButtonDisabledText: 'btn-disabled-text',
56
+ ButtonSecondaryText: 'btn-secondary-text',
57
+ LinkPrimary: 'link-primary',
58
+ LinkStateless: 'link-stateless',
59
+ LinkHover: 'link-hover',
60
+ LinkActive: 'link-active',
61
+ LinkMuted: 'link-muted',
62
+ LinkPressed: 'link-pressed',
63
+ BordersPrimary: 'borders-primary',
64
+ BordersPrimaryHover: 'borders-primary-hover',
65
+ BordersSecondary: 'borders-secondary',
66
+ BordersStrong: 'borders-strong',
67
+ BordersInvert: 'borders-invert',
68
+ BorderHoverBottom: 'border-hover-bottom',
69
+ BorderActiveBottom: 'border-active-bottom',
70
+ BorderPrimaryStateless: 'border-primary-stateless',
71
+ BordersDisabled: 'borders-disabled',
72
+ BordersButton: 'borders-button',
73
+ BordersItem: 'borders-item',
74
+ BordersBaseLight: 'borders-base-light',
75
+ BordersBaseMedium: 'borders-base-medium',
76
+ BordersGreen: 'borders-green',
77
+ BordersGreenMedium: 'borders-green-medium',
78
+ BordersRed: 'borders-red',
79
+ ActiveSecondary: 'active-secondary',
80
+ ActiveSecondaryHover: 'active-secondary-hover',
81
+ Tag: 'tag',
82
+ StatesErrorDisabledText: 'states-error-disabled-text',
83
+ Error: 'error',
84
+ Error_0_28_Opacity: 'error-0-28-opacity',
85
+ Error_0_12_Opacity: 'error-0-12-opacity',
86
+ ErrorHover: 'error-hover',
87
+ ErrorActive: 'error-active',
88
+ Success: 'success',
89
+ SuccessHover: 'success-hover',
90
+ SuccessActive: 'success-Active',
91
+ Warning: 'warning',
92
+ WarningHover: 'warning-hover',
93
+ WarningActive: 'warning-active',
94
+ Info: 'info',
95
+ Modified: 'modified',
96
+ Red: 'red',
97
+ Orange: 'orange',
98
+ Salad: 'salad',
99
+ Green: 'green',
100
+ Blue: 'blue',
101
+ Indigo: 'indigo',
102
+ Violet: 'violet',
103
+ Pink: 'pink',
104
+ GradientRight: 'gradient-right',
105
+ Extra_0_3_Overlay: 'extra-0-3-overlay',
106
+ GradientRightActive: 'gradient-right-active',
107
+ GradientRightHover: 'gradient-right-hover',
108
+ Extra_0_5_Overlay: 'extra-0-5-overlay',
109
+ Extra_0_7_Overlay: 'extra-0-7-overlay',
110
+ Extra_0_9_Overlay: 'extra-0-9-overlay',
111
+ Red_0_1_Overlay: 'red-0-1-overlay',
112
+ Orange_0_1_Overlay: 'orange-0-1-overlay',
113
+ Accent_0_8_Overlay: 'accent-0-8-overlay',
114
+ Green_0_2_Overlay: 'green-0-2-Overlay',
115
+ WHITE_0_7_8_Overlay: 'white-0-7-8-overlay',
116
+ Link: 'link',
117
+ Camera: 'camera',
118
+ GoogleDrive: 'google-drive',
119
+ Dropbox: 'dropbox',
120
+ OneDrive: 'one-drive',
121
+ Device: 'device',
122
+ Instagram: 'instagram',
123
+ FreeImages: 'free-images',
124
+ FreeIcons: 'free-icons',
125
+ Canvas: 'canvas',
126
+ Box: 'box',
127
+ ScreenCast: 'screen-cast',
128
+ Unsplash: 'unsplash',
129
+ LightShadow: 'light-shadow',
130
+ MediumShadow: 'medium-shadow',
131
+ LargeShadow: 'large-shadow',
132
+ XLargeShadow: 'x-large-shadow'
133
+ };