@scaleflex/ui-tw 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 (499) hide show
  1. package/LICENSE +1 -33
  2. package/README.md +2 -16
  3. package/button/button.component.d.ts +8 -0
  4. package/{core/button → button}/button.component.js +13 -12
  5. package/button/button.const.d.ts +13 -0
  6. package/button/button.const.js +4 -0
  7. package/{core/button → button}/button.types.d.ts +6 -9
  8. package/{core/button → button}/button.types.js +2 -4
  9. package/button/button.utils.d.ts +2 -0
  10. package/button/button.utils.js +19 -0
  11. package/button/components/end-icon.d.ts +7 -0
  12. package/button/components/end-icon.js +39 -0
  13. package/button/components/start-icon.d.ts +13 -0
  14. package/button/components/start-icon.js +53 -0
  15. package/button/index.d.ts +3 -0
  16. package/button/index.js +2 -0
  17. package/form/components/form-field-group.component.d.ts +19 -0
  18. package/form/components/form-field-group.component.js +41 -0
  19. package/form/form.component.d.ts +30 -0
  20. package/form/form.component.js +123 -0
  21. package/form/form.types.d.ts +7 -0
  22. package/{core/switcher/switcher-size.js → form/form.types.js} +1 -1
  23. package/form/index.d.ts +2 -0
  24. package/form/index.js +2 -0
  25. package/input/index.d.ts +3 -0
  26. package/input/index.js +2 -0
  27. package/input/input.component.d.ts +7 -0
  28. package/input/input.component.js +42 -0
  29. package/input/input.types.d.ts +17 -0
  30. package/input/input.types.js +10 -0
  31. package/label/components/info-outline-icon.d.ts +3 -0
  32. package/label/components/info-outline-icon.js +30 -0
  33. package/label/components/label-icon.d.ts +7 -0
  34. package/label/components/label-icon.js +43 -0
  35. package/label/index.d.ts +1 -0
  36. package/label/index.js +1 -0
  37. package/label/label.component.d.ts +4 -0
  38. package/label/label.component.js +44 -0
  39. package/label/label.types.d.ts +14 -0
  40. package/{core/tab/types/size.js → label/label.types.js} +1 -1
  41. package/label/label.utils.d.ts +2 -0
  42. package/label/label.utils.js +16 -0
  43. package/package.json +8 -4
  44. package/{theme/theme.css → theme.css} +8 -8
  45. package/tooltip/index.d.ts +1 -0
  46. package/tooltip/index.js +1 -0
  47. package/tooltip/tooltip.component.d.ts +10 -0
  48. package/tooltip/tooltip.component.js +51 -0
  49. package/tooltip/tooltip.types.d.ts +5 -0
  50. package/core/accordion/accordion.component.d.ts +0 -3
  51. package/core/accordion/accordion.component.js +0 -50
  52. package/core/accordion/accordion.props.d.ts +0 -13
  53. package/core/accordion/accordion.props.js +0 -1
  54. package/core/accordion/accordion.styles.d.ts +0 -6
  55. package/core/accordion/accordion.styles.js +0 -12
  56. package/core/accordion/index.d.ts +0 -2
  57. package/core/accordion/index.js +0 -1
  58. package/core/accordion-details/accordion-details.component.d.ts +0 -3
  59. package/core/accordion-details/accordion-details.component.js +0 -16
  60. package/core/accordion-details/accordion-details.props.d.ts +0 -4
  61. package/core/accordion-details/accordion-details.styles.d.ts +0 -6
  62. package/core/accordion-details/accordion-details.styles.js +0 -12
  63. package/core/accordion-details/index.d.ts +0 -2
  64. package/core/accordion-details/index.js +0 -1
  65. package/core/accordion-header/accordion-header.component.d.ts +0 -3
  66. package/core/accordion-header/accordion-header.component.js +0 -48
  67. package/core/accordion-header/accordion-header.props.d.ts +0 -11
  68. package/core/accordion-header/accordion-header.props.js +0 -1
  69. package/core/accordion-header/accordion-header.styles.d.ts +0 -19
  70. package/core/accordion-header/accordion-header.styles.js +0 -44
  71. package/core/accordion-header/index.d.ts +0 -2
  72. package/core/accordion-header/index.js +0 -1
  73. package/core/arrow/arrow.component.d.ts +0 -3
  74. package/core/arrow/arrow.component.js +0 -23
  75. package/core/arrow/arrow.mixin.d.ts +0 -6
  76. package/core/arrow/arrow.mixin.js +0 -4
  77. package/core/arrow/arrow.props.d.ts +0 -14
  78. package/core/arrow/arrow.props.js +0 -6
  79. package/core/arrow/arrow.styles.d.ts +0 -9
  80. package/core/arrow/arrow.styles.js +0 -18
  81. package/core/arrow/index.d.ts +0 -2
  82. package/core/arrow/index.js +0 -1
  83. package/core/arrow-tick/arrow-tick.component.d.ts +0 -3
  84. package/core/arrow-tick/arrow-tick.component.js +0 -28
  85. package/core/arrow-tick/arrow-tick.mixin.d.ts +0 -6
  86. package/core/arrow-tick/arrow-tick.mixin.js +0 -4
  87. package/core/arrow-tick/arrow-tick.props.d.ts +0 -14
  88. package/core/arrow-tick/arrow-tick.props.js +0 -6
  89. package/core/arrow-tick/arrow-tick.styles.d.ts +0 -7
  90. package/core/arrow-tick/arrow-tick.styles.js +0 -18
  91. package/core/arrow-tick/index.d.ts +0 -2
  92. package/core/arrow-tick/index.js +0 -1
  93. package/core/button/button.component.d.ts +0 -9
  94. package/core/button/button.utils.d.ts +0 -3
  95. package/core/button/button.utils.js +0 -18
  96. package/core/button/components/end-icon.d.ts +0 -12
  97. package/core/button/components/end-icon.js +0 -33
  98. package/core/button/components/start-icon.d.ts +0 -14
  99. package/core/button/components/start-icon.js +0 -40
  100. package/core/button/index.d.ts +0 -4
  101. package/core/button/index.js +0 -3
  102. package/core/check-box/check-box.component.d.ts +0 -3
  103. package/core/check-box/check-box.component.js +0 -62
  104. package/core/check-box/check-box.mixin.d.ts +0 -4
  105. package/core/check-box/check-box.mixin.js +0 -8
  106. package/core/check-box/check-box.props.d.ts +0 -15
  107. package/core/check-box/check-box.props.js +0 -1
  108. package/core/check-box/check-box.styles.d.ts +0 -19
  109. package/core/check-box/check-box.styles.js +0 -42
  110. package/core/check-box/check-box.utils.d.ts +0 -3
  111. package/core/check-box/check-box.utils.js +0 -21
  112. package/core/check-box/index.d.ts +0 -2
  113. package/core/check-box/index.js +0 -1
  114. package/core/check-box/types/index.d.ts +0 -2
  115. package/core/check-box/types/index.js +0 -2
  116. package/core/check-box/types/size.d.ts +0 -4
  117. package/core/check-box/types/size.js +0 -4
  118. package/core/check-box/types/type.d.ts +0 -4
  119. package/core/check-box/types/type.js +0 -4
  120. package/core/check-box-group/check-box-group.component.d.ts +0 -3
  121. package/core/check-box-group/check-box-group.component.js +0 -74
  122. package/core/check-box-group/check-box-group.mixin.d.ts +0 -5
  123. package/core/check-box-group/check-box-group.mixin.js +0 -10
  124. package/core/check-box-group/check-box-group.props.d.ts +0 -19
  125. package/core/check-box-group/check-box-group.props.js +0 -1
  126. package/core/check-box-group/check-box-group.styles.d.ts +0 -19
  127. package/core/check-box-group/check-box-group.styles.js +0 -33
  128. package/core/check-box-group/index.d.ts +0 -2
  129. package/core/check-box-group/index.js +0 -1
  130. package/core/check-box-group/types/index.d.ts +0 -1
  131. package/core/check-box-group/types/index.js +0 -1
  132. package/core/check-box-group/types/label-position.d.ts +0 -4
  133. package/core/check-box-group/types/label-position.js +0 -4
  134. package/core/cross-button/cross-button.component.d.ts +0 -3
  135. package/core/cross-button/cross-button.component.js +0 -35
  136. package/core/cross-button/cross-button.props.d.ts +0 -8
  137. package/core/cross-button/cross-button.props.js +0 -1
  138. package/core/cross-button/cross-button.styles.d.ts +0 -9
  139. package/core/cross-button/cross-button.styles.js +0 -21
  140. package/core/cross-button/index.d.ts +0 -2
  141. package/core/cross-button/index.js +0 -1
  142. package/core/cross-button/types/index.d.ts +0 -1
  143. package/core/cross-button/types/index.js +0 -1
  144. package/core/cross-button/types/size.d.ts +0 -6
  145. package/core/cross-button/types/size.js +0 -6
  146. package/core/dot/dot.component.d.ts +0 -3
  147. package/core/dot/dot.component.js +0 -17
  148. package/core/dot/dot.props.d.ts +0 -4
  149. package/core/dot/dot.props.js +0 -1
  150. package/core/dot/dot.styles.d.ts +0 -18
  151. package/core/dot/dot.styles.js +0 -32
  152. package/core/dot/index.d.ts +0 -2
  153. package/core/dot/index.js +0 -1
  154. package/core/dots-navigation/dots-navigation.component.d.ts +0 -3
  155. package/core/dots-navigation/dots-navigation.component.js +0 -24
  156. package/core/dots-navigation/dots-navigation.props.d.ts +0 -5
  157. package/core/dots-navigation/dots-navigation.props.js +0 -1
  158. package/core/dots-navigation/dots-navigation.styles.d.ts +0 -6
  159. package/core/dots-navigation/dots-navigation.styles.js +0 -15
  160. package/core/dots-navigation/index.d.ts +0 -2
  161. package/core/dots-navigation/index.js +0 -1
  162. package/core/input/index.d.ts +0 -2
  163. package/core/input/index.js +0 -1
  164. package/core/input/input.component.d.ts +0 -3
  165. package/core/input/input.component.js +0 -293
  166. package/core/input/input.mixin.d.ts +0 -18
  167. package/core/input/input.mixin.js +0 -25
  168. package/core/input/input.props.d.ts +0 -40
  169. package/core/input/input.props.js +0 -1
  170. package/core/input/input.styles.d.ts +0 -78
  171. package/core/input/input.styles.js +0 -148
  172. package/core/input/input.utils.d.ts +0 -4
  173. package/core/input/input.utils.js +0 -30
  174. package/core/input/types/index.d.ts +0 -1
  175. package/core/input/types/index.js +0 -1
  176. package/core/input/types/type.d.ts +0 -4
  177. package/core/input/types/type.js +0 -4
  178. package/core/modal/index.d.ts +0 -2
  179. package/core/modal/index.js +0 -1
  180. package/core/modal/modal-menu-context.d.ts +0 -5
  181. package/core/modal/modal-menu-context.js +0 -10
  182. package/core/modal/modal.component.d.ts +0 -3
  183. package/core/modal/modal.component.js +0 -97
  184. package/core/modal/modal.mixin.d.ts +0 -7
  185. package/core/modal/modal.mixin.js +0 -4
  186. package/core/modal/modal.props.d.ts +0 -16
  187. package/core/modal/modal.props.js +0 -1
  188. package/core/modal/modal.styles.d.ts +0 -22
  189. package/core/modal/modal.styles.js +0 -51
  190. package/core/modal/modal.utils.d.ts +0 -1
  191. package/core/modal/modal.utils.js +0 -4
  192. package/core/modal/types/index.d.ts +0 -1
  193. package/core/modal/types/index.js +0 -1
  194. package/core/modal/types/size.d.ts +0 -7
  195. package/core/modal/types/size.js +0 -7
  196. package/core/modal-actions/index.d.ts +0 -2
  197. package/core/modal-actions/index.js +0 -1
  198. package/core/modal-actions/modal-actions.component.d.ts +0 -3
  199. package/core/modal-actions/modal-actions.component.js +0 -18
  200. package/core/modal-actions/modal-actions.props.d.ts +0 -8
  201. package/core/modal-actions/modal-actions.props.js +0 -1
  202. package/core/modal-actions/modal-actions.styles.d.ts +0 -7
  203. package/core/modal-actions/modal-actions.styles.js +0 -17
  204. package/core/modal-actions/types/align.d.ts +0 -5
  205. package/core/modal-actions/types/align.js +0 -5
  206. package/core/modal-actions/types/index.d.ts +0 -1
  207. package/core/modal-actions/types/index.js +0 -1
  208. package/core/modal-content/index.d.ts +0 -2
  209. package/core/modal-content/index.js +0 -1
  210. package/core/modal-content/modal-content.component.d.ts +0 -3
  211. package/core/modal-content/modal-content.component.js +0 -15
  212. package/core/modal-content/modal-content.props.d.ts +0 -4
  213. package/core/modal-content/modal-content.props.js +0 -1
  214. package/core/modal-content/modal-content.styles.d.ts +0 -6
  215. package/core/modal-content/modal-content.styles.js +0 -12
  216. package/core/modal-title/index.d.ts +0 -2
  217. package/core/modal-title/index.js +0 -1
  218. package/core/modal-title/modal-title.component.d.ts +0 -6
  219. package/core/modal-title/modal-title.component.js +0 -37
  220. package/core/modal-title/modal-title.props.d.ts +0 -14
  221. package/core/modal-title/modal-title.props.js +0 -1
  222. package/core/modal-title/modal-title.styles.d.ts +0 -31
  223. package/core/modal-title/modal-title.styles.js +0 -64
  224. package/core/modal-title/types/index.d.ts +0 -1
  225. package/core/modal-title/types/index.js +0 -1
  226. package/core/modal-title/types/variant.d.ts +0 -4
  227. package/core/modal-title/types/variant.js +0 -4
  228. package/core/pagination/index.d.ts +0 -2
  229. package/core/pagination/index.js +0 -1
  230. package/core/pagination/pagination.component.d.ts +0 -3
  231. package/core/pagination/pagination.component.js +0 -81
  232. package/core/pagination/pagination.props.d.ts +0 -11
  233. package/core/pagination/pagination.props.js +0 -1
  234. package/core/pagination/pagination.styles.d.ts +0 -19
  235. package/core/pagination/pagination.styles.js +0 -36
  236. package/core/popper/index.d.ts +0 -2
  237. package/core/popper/index.js +0 -1
  238. package/core/popper/popper.component.d.ts +0 -3
  239. package/core/popper/popper.component.js +0 -150
  240. package/core/popper/popper.mixin.d.ts +0 -17
  241. package/core/popper/popper.mixin.js +0 -5
  242. package/core/popper/popper.props.d.ts +0 -41
  243. package/core/popper/popper.props.js +0 -1
  244. package/core/popper/popper.styles.d.ts +0 -25
  245. package/core/popper/popper.styles.js +0 -48
  246. package/core/popper/popper.utils.d.ts +0 -1
  247. package/core/popper/popper.utils.js +0 -10
  248. package/core/popper/types/index.d.ts +0 -3
  249. package/core/popper/types/index.js +0 -3
  250. package/core/popper/types/phases.d.ts +0 -11
  251. package/core/popper/types/phases.js +0 -11
  252. package/core/popper/types/position.d.ts +0 -17
  253. package/core/popper/types/position.js +0 -17
  254. package/core/popper/types/strategy.d.ts +0 -4
  255. package/core/popper/types/strategy.js +0 -4
  256. package/core/radio/index.d.ts +0 -3
  257. package/core/radio/index.js +0 -2
  258. package/core/radio/radio.component.d.ts +0 -3
  259. package/core/radio/radio.component.js +0 -38
  260. package/core/radio/radio.mixin.d.ts +0 -13
  261. package/core/radio/radio.mixin.js +0 -13
  262. package/core/radio/radio.props.d.ts +0 -13
  263. package/core/radio/radio.props.js +0 -1
  264. package/core/radio/radio.styles.d.ts +0 -19
  265. package/core/radio/radio.styles.js +0 -44
  266. package/core/radio/size.d.ts +0 -4
  267. package/core/radio/size.js +0 -4
  268. package/core/radio-group/index.d.ts +0 -2
  269. package/core/radio-group/index.js +0 -1
  270. package/core/radio-group/radio-group.component.d.ts +0 -3
  271. package/core/radio-group/radio-group.component.js +0 -48
  272. package/core/radio-group/radio-group.props.d.ts +0 -15
  273. package/core/radio-group/radio-group.props.js +0 -1
  274. package/core/radio-group/radio-group.styles.d.ts +0 -14
  275. package/core/radio-group/radio-group.styles.js +0 -30
  276. package/core/switcher/index.d.ts +0 -3
  277. package/core/switcher/index.js +0 -2
  278. package/core/switcher/switcher-size.d.ts +0 -5
  279. package/core/switcher/switcher.component.d.ts +0 -3
  280. package/core/switcher/switcher.component.js +0 -54
  281. package/core/switcher/switcher.mixin.d.ts +0 -21
  282. package/core/switcher/switcher.mixin.js +0 -17
  283. package/core/switcher/switcher.props.d.ts +0 -14
  284. package/core/switcher/switcher.props.js +0 -1
  285. package/core/switcher/switcher.styles.d.ts +0 -27
  286. package/core/switcher/switcher.styles.js +0 -54
  287. package/core/switcher/switcher.utils.d.ts +0 -4
  288. package/core/switcher/switcher.utils.js +0 -37
  289. package/core/switcher-group/index.d.ts +0 -2
  290. package/core/switcher-group/index.js +0 -1
  291. package/core/switcher-group/switcher-group.component.d.ts +0 -3
  292. package/core/switcher-group/switcher-group.component.js +0 -41
  293. package/core/switcher-group/switcher-group.props.d.ts +0 -13
  294. package/core/switcher-group/switcher-group.props.js +0 -1
  295. package/core/switcher-group/switcher-group.styles.d.ts +0 -10
  296. package/core/switcher-group/switcher-group.styles.js +0 -30
  297. package/core/tab/index.d.ts +0 -2
  298. package/core/tab/index.js +0 -1
  299. package/core/tab/tab.component.d.ts +0 -6
  300. package/core/tab/tab.component.js +0 -52
  301. package/core/tab/tab.mixin.d.ts +0 -11
  302. package/core/tab/tab.mixin.js +0 -15
  303. package/core/tab/tab.props.d.ts +0 -15
  304. package/core/tab/tab.props.js +0 -1
  305. package/core/tab/tab.styles.d.ts +0 -26
  306. package/core/tab/tab.styles.js +0 -61
  307. package/core/tab/types/index.d.ts +0 -1
  308. package/core/tab/types/index.js +0 -1
  309. package/core/tab/types/size.d.ts +0 -5
  310. package/core/tab-panel/index.d.ts +0 -2
  311. package/core/tab-panel/index.js +0 -1
  312. package/core/tab-panel/tab-panel.component.d.ts +0 -3
  313. package/core/tab-panel/tab-panel.component.js +0 -18
  314. package/core/tab-panel/tab-panel.props.d.ts +0 -6
  315. package/core/tab-panel/tab-panel.props.js +0 -1
  316. package/core/tab-panel/tab-panel.styles.d.ts +0 -6
  317. package/core/tab-panel/tab-panel.styles.js +0 -12
  318. package/core/upload-input/index.d.ts +0 -2
  319. package/core/upload-input/index.js +0 -1
  320. package/core/upload-input/upload-input.component.d.ts +0 -3
  321. package/core/upload-input/upload-input.component.js +0 -68
  322. package/core/upload-input/upload-input.props.d.ts +0 -9
  323. package/core/upload-input/upload-input.props.js +0 -1
  324. package/core/upload-input/upload-input.styles.d.ts +0 -11
  325. package/core/upload-input/upload-input.styles.js +0 -53
  326. package/hooks/README.md +0 -26
  327. package/hooks/use-controlled.d.ts +0 -1
  328. package/hooks/use-controlled.js +0 -20
  329. package/hooks/use-debounce.d.ts +0 -2
  330. package/hooks/use-debounce.js +0 -19
  331. package/hooks/use-drag.d.ts +0 -5
  332. package/hooks/use-drag.js +0 -37
  333. package/hooks/use-enhanced-effect.d.ts +0 -3
  334. package/hooks/use-enhanced-effect.js +0 -3
  335. package/hooks/use-event-callback.d.ts +0 -4
  336. package/hooks/use-event-callback.js +0 -19
  337. package/hooks/use-pagination.d.ts +0 -3
  338. package/hooks/use-pagination.js +0 -106
  339. package/hooks/use-portal.d.ts +0 -14
  340. package/hooks/use-portal.js +0 -75
  341. package/theme/README.md +0 -46
  342. package/theme/entity/index.d.ts +0 -1
  343. package/theme/entity/index.js +0 -1
  344. package/theme/entity/theme.d.ts +0 -34
  345. package/theme/hooks/index.d.ts +0 -2
  346. package/theme/hooks/index.js +0 -2
  347. package/theme/hooks/use-media-query.d.ts +0 -1
  348. package/theme/hooks/use-media-query.js +0 -27
  349. package/theme/hooks/use-theme.d.ts +0 -2
  350. package/theme/hooks/use-theme.js +0 -4
  351. package/theme/index.d.ts +0 -3
  352. package/theme/index.js +0 -1
  353. package/theme/roots/breakpoints/entity/breakpoints-map.d.ts +0 -8
  354. package/theme/roots/breakpoints/entity/breakpoints.d.ts +0 -73
  355. package/theme/roots/breakpoints/entity/create-breakpoints.d.ts +0 -3
  356. package/theme/roots/breakpoints/entity/create-breakpoints.js +0 -65
  357. package/theme/roots/breakpoints/entity/default-breakpoints.d.ts +0 -26
  358. package/theme/roots/breakpoints/entity/default-breakpoints.js +0 -22
  359. package/theme/roots/breakpoints/entity/index.d.ts +0 -3
  360. package/theme/roots/breakpoints/entity/index.js +0 -2
  361. package/theme/roots/breakpoints/index.d.ts +0 -3
  362. package/theme/roots/breakpoints/index.js +0 -1
  363. package/theme/roots/common-styles.d.ts +0 -2
  364. package/theme/roots/common-styles.js +0 -6
  365. package/theme/roots/index.d.ts +0 -2
  366. package/theme/roots/index.js +0 -2
  367. package/theme/roots/palette/entity/colors-map.d.ts +0 -4
  368. package/theme/roots/palette/entity/default-palette.d.ts +0 -282
  369. package/theme/roots/palette/entity/default-palette.js +0 -22
  370. package/theme/roots/palette/entity/index.d.ts +0 -2
  371. package/theme/roots/palette/entity/index.js +0 -2
  372. package/theme/roots/palette/index.d.ts +0 -2
  373. package/theme/roots/palette/index.js +0 -1
  374. package/theme/roots/shadows/entity/default-shadows.d.ts +0 -16
  375. package/theme/roots/shadows/entity/default-shadows.js +0 -5
  376. package/theme/roots/shadows/entity/index.d.ts +0 -2
  377. package/theme/roots/shadows/entity/index.js +0 -2
  378. package/theme/roots/shadows/entity/shadows-map.d.ts +0 -4
  379. package/theme/roots/shadows/index.d.ts +0 -2
  380. package/theme/roots/shadows/index.js +0 -1
  381. package/theme/roots/shape/index.d.ts +0 -1
  382. package/theme/roots/shape/index.js +0 -1
  383. package/theme/roots/shape/shape.props.d.ts +0 -5
  384. package/theme/roots/shape/shape.props.js +0 -1
  385. package/theme/roots/typography/entity/default-typography.d.ts +0 -398
  386. package/theme/roots/typography/entity/default-typography.js +0 -237
  387. package/theme/roots/typography/entity/index.d.ts +0 -1
  388. package/theme/roots/typography/entity/index.js +0 -1
  389. package/theme/roots/typography/index.d.ts +0 -3
  390. package/theme/roots/typography/index.js +0 -2
  391. package/theme/roots/typography/typography.component.d.ts +0 -2
  392. package/theme/roots/typography/typography.component.js +0 -7
  393. package/theme/roots/typography/typography.props.d.ts +0 -15
  394. package/theme/roots/typography/typography.props.js +0 -1
  395. package/theme/theme-provider/index.d.ts +0 -2
  396. package/theme/theme-provider/index.js +0 -1
  397. package/theme/theme-provider/theme-provider.context.d.ts +0 -4
  398. package/theme/theme-provider/theme-provider.context.js +0 -48
  399. package/theme/theme-provider/theme-provider.props.d.ts +0 -6
  400. package/theme/theme-provider/theme-provider.props.js +0 -1
  401. package/utils/README.md +0 -11
  402. package/utils/functions/apply-display-names.d.ts +0 -6
  403. package/utils/functions/apply-display-names.js +0 -12
  404. package/utils/functions/apply-polymorphic-function-prop.d.ts +0 -6
  405. package/utils/functions/apply-polymorphic-function-prop.js +0 -11
  406. package/utils/functions/color-picker/color-converters.d.ts +0 -11
  407. package/utils/functions/color-picker/color-converters.js +0 -159
  408. package/utils/functions/color-picker/map-number.d.ts +0 -1
  409. package/utils/functions/color-picker/map-number.js +0 -3
  410. package/utils/functions/color-picker/restrict-number.d.ts +0 -1
  411. package/utils/functions/color-picker/restrict-number.js +0 -8
  412. package/utils/functions/convert-to-string.d.ts +0 -1
  413. package/utils/functions/convert-to-string.js +0 -3
  414. package/utils/functions/escape-regexp.d.ts +0 -1
  415. package/utils/functions/escape-regexp.js +0 -3
  416. package/utils/functions/generate-class-names.d.ts +0 -1
  417. package/utils/functions/generate-class-names.js +0 -22
  418. package/utils/functions/get-elem-document-coords.d.ts +0 -6
  419. package/utils/functions/get-elem-document-coords.js +0 -21
  420. package/utils/functions/ignore-event.d.ts +0 -1
  421. package/utils/functions/ignore-event.js +0 -9
  422. package/utils/functions/index.d.ts +0 -14
  423. package/utils/functions/index.js +0 -15
  424. package/utils/functions/intrinsic-component.d.ts +0 -0
  425. package/utils/functions/intrinsic-component.js +0 -28
  426. package/utils/functions/object-keys.d.ts +0 -6
  427. package/utils/functions/object-keys.js +0 -6
  428. package/utils/functions/object-values.d.ts +0 -7
  429. package/utils/functions/object-values.js +0 -6
  430. package/utils/functions/on-click-by-mouse-down.d.ts +0 -2
  431. package/utils/functions/on-click-by-mouse-down.js +0 -9
  432. package/utils/functions/scrollbar.d.ts +0 -2
  433. package/utils/functions/scrollbar.js +0 -6
  434. package/utils/functions/set-ref.d.ts +0 -8
  435. package/utils/functions/set-ref.js +0 -13
  436. package/utils/functions/slider/utils.d.ts +0 -47
  437. package/utils/functions/slider/utils.js +0 -124
  438. package/utils/functions/use-fork-ref.d.ts +0 -2
  439. package/utils/functions/use-fork-ref.js +0 -18
  440. package/utils/types/color/icon-button-color.d.ts +0 -5
  441. package/utils/types/color/icon-button-color.js +0 -5
  442. package/utils/types/color/index.d.ts +0 -2
  443. package/utils/types/color/index.js +0 -2
  444. package/utils/types/color/input-background-color.d.ts +0 -4
  445. package/utils/types/color/input-background-color.js +0 -4
  446. package/utils/types/css/align.d.ts +0 -11
  447. package/utils/types/css/align.js +0 -11
  448. package/utils/types/css/breakpoint.d.ts +0 -18
  449. package/utils/types/css/breakpoint.js +0 -18
  450. package/utils/types/css/direction.d.ts +0 -8
  451. package/utils/types/css/direction.js +0 -4
  452. package/utils/types/css/index.d.ts +0 -4
  453. package/utils/types/css/index.js +0 -4
  454. package/utils/types/css/position.d.ts +0 -6
  455. package/utils/types/css/position.js +0 -6
  456. package/utils/types/index.d.ts +0 -8
  457. package/utils/types/index.js +0 -3
  458. package/utils/types/intrinsic-component.d.ts +0 -1
  459. package/utils/types/keys.d.ts +0 -4
  460. package/utils/types/palette/color.d.ts +0 -133
  461. package/utils/types/palette/color.js +0 -133
  462. package/utils/types/palette/index.d.ts +0 -1
  463. package/utils/types/palette/index.js +0 -1
  464. package/utils/types/position/index.d.ts +0 -1
  465. package/utils/types/position/index.js +0 -1
  466. package/utils/types/position/position.d.ts +0 -6
  467. package/utils/types/position/position.js +0 -6
  468. package/utils/types/prop-types/index.d.ts +0 -1
  469. package/utils/types/prop-types/index.js +0 -1
  470. package/utils/types/prop-types/record.d.ts +0 -1
  471. package/utils/types/prop-types/record.js +0 -6
  472. package/utils/types/shadows/index.d.ts +0 -1
  473. package/utils/types/shadows/index.js +0 -1
  474. package/utils/types/shadows/shadows.d.ts +0 -14
  475. package/utils/types/shadows/shadows.js +0 -14
  476. package/utils/types/shape/border-radius-size.d.ts +0 -5
  477. package/utils/types/shape/border-radius-size.js +0 -5
  478. package/utils/types/shape/index.d.ts +0 -1
  479. package/utils/types/shape/index.js +0 -1
  480. package/utils/types/size/index.d.ts +0 -1
  481. package/utils/types/size/index.js +0 -1
  482. package/utils/types/size/input-size.d.ts +0 -4
  483. package/utils/types/size/input-size.js +0 -4
  484. package/utils/types/stylable-component.d.ts +0 -7
  485. package/utils/types/typography/font-variant.d.ts +0 -58
  486. package/utils/types/typography/font-variant.js +0 -58
  487. package/utils/types/typography/font-weight.d.ts +0 -11
  488. package/utils/types/typography/font-weight.js +0 -11
  489. package/utils/types/typography/index.d.ts +0 -4
  490. package/utils/types/typography/index.js +0 -4
  491. package/utils/types/typography/text-align.d.ts +0 -5
  492. package/utils/types/typography/text-align.js +0 -5
  493. package/utils/types/typography/text-decoration.d.ts +0 -5
  494. package/utils/types/typography/text-decoration.js +0 -5
  495. package/utils/types/with.d.ts +0 -4
  496. /package/{core/accordion-details/accordion-details.props.js → tooltip/tooltip.types.js} +0 -0
  497. /package/{utils/types → types}/values.d.ts +0 -0
  498. /package/utils/{functions/shadcn-utils.d.ts → cn.d.ts} +0 -0
  499. /package/utils/{functions/shadcn-utils.js → cn.js} +0 -0
@@ -1,14 +0,0 @@
1
- export var Shadows = {
2
- ShadowSm: 'shadow-sm',
3
- ShadowMd: 'shadow-md',
4
- ShadowLg: 'shadow-lg',
5
- ShadowXl: 'shadow-xl',
6
- Label: 'label',
7
- Header: 'header',
8
- HeaderPopup: 'header-popup',
9
- FooterPopup: 'footer-popup',
10
- LeftPanelMd: 'left-panel-md',
11
- RightPanelMd: 'right-panel-md',
12
- LeftPanelSm: 'left-panel-sm',
13
- RightPanelSm: 'right-panel-sm'
14
- };
@@ -1,5 +0,0 @@
1
- export declare const BorderRadiusSize: {
2
- readonly Sm: "sm";
3
- readonly Md: "md";
4
- readonly Lg: "lg";
5
- };
@@ -1,5 +0,0 @@
1
- export var BorderRadiusSize = {
2
- Sm: 'sm',
3
- Md: 'md',
4
- Lg: 'lg'
5
- };
@@ -1 +0,0 @@
1
- export * from './border-radius-size';
@@ -1 +0,0 @@
1
- export * from './border-radius-size';
@@ -1 +0,0 @@
1
- export { InputSize } from './input-size';
@@ -1 +0,0 @@
1
- export { InputSize } from './input-size';
@@ -1,4 +0,0 @@
1
- export declare const InputSize: {
2
- readonly Sm: "sm";
3
- readonly Md: "md";
4
- };
@@ -1,4 +0,0 @@
1
- export var InputSize = {
2
- Sm: 'sm',
3
- Md: 'md'
4
- };
@@ -1,7 +0,0 @@
1
- export type StylableComponent<S extends string | string[] = undefined> = (S extends undefined
2
- ? Record<string, never>
3
- : {
4
- customProperties?: Partial<Record<S extends string ? S : S[number], string | undefined>>
5
- }) & {
6
- className?: string
7
- }
@@ -1,58 +0,0 @@
1
- export declare const FontVariant: {
2
- readonly TextExtraSmall: "text-extra-small";
3
- readonly TextSmall: "text-small";
4
- readonly TextSmallUp: "text-small-up";
5
- readonly TextMedium: "text-medium";
6
- readonly TextLarge: "text-large";
7
- readonly TextExtraLarge: "text-extra-large";
8
- readonly TextXExtraLarge: "text-x-extra-large";
9
- readonly TitleH6: "title-h6";
10
- readonly TitleH5: "title-h5";
11
- readonly TitleH4: "title-h4";
12
- readonly TitleH3: "title-h3";
13
- readonly TitleH2: "title-h2";
14
- readonly TitleH1: "title-h1";
15
- readonly LabelExtraSmall: "label-extra-small";
16
- readonly LabelExtraSmallEmphasis: "label-extra-small-emphasis";
17
- readonly LabelExtraSmallUp: "label-extra-small-up";
18
- readonly LabelSmall: "label-small";
19
- readonly LabelSmallEmphasis: "label-small-emphasis";
20
- readonly LabelSmallUp: "label-small-up";
21
- readonly LabelSmallUpEmphasis: "label-small-up-emphasis";
22
- readonly LabelMedium: "label-medium";
23
- readonly LabelMediumEmphasis: "label-medium-emphasis";
24
- readonly LabelLarge: "label-large";
25
- readonly LabelLargeEmphasis: "label-large-emphasis";
26
- readonly LabelLargeUp: "label-large-up";
27
- readonly LabelExtraLargeEmphasis: "label-extra-large-emphasis";
28
- readonly LabelExtraLarge: "label-extra-large";
29
- readonly LabelXExtraLargeEmphasis: "label-x-extra-large-emphasis";
30
- readonly LabelXExtraLarge: "label-x-extra-large";
31
- readonly LabelXXExtraLargeEmphasis: "label-x-x-extra-large-emphasis";
32
- readonly LabelXXExtraLarge: "label-x-x-extra-large";
33
- readonly LabelXXXExtraLarge: "label-x-x-x-extra-large";
34
- readonly ButtonSmEmphasis: "btn-sm-emphasis";
35
- readonly ButtonSm: "btn-sm";
36
- readonly ButtonSmUpEmphasis: "btn-sm-up-emphasis";
37
- readonly ButtonSmUp: "btn-sm-up";
38
- readonly ButtonMdEmphasis: "btn-md-emphasis";
39
- readonly ButtonMd: "btn-md";
40
- readonly ButtonLgEmphasis: "btn-lg-emphasis";
41
- readonly ButtonLg: "btn-lg";
42
- readonly ButtonLgUpEmphasis: "btn-lg-up-emphasis";
43
- readonly ButtonLgUp: "btn-lg-up";
44
- readonly LinkSmall: "link-small";
45
- readonly LinkSmallEmphasis: "link-small-emphasis";
46
- readonly LinkSmallUp: "link-small-up";
47
- readonly LinkSmallUpEmphasis: "link-small-up-emphasis";
48
- readonly LinkMedium: "link-medium";
49
- readonly LinkMediumEmphasis: "link-medium-emphasis";
50
- readonly LinkLarge: "link-large";
51
- readonly LinkLargeEmphasis: "link-large-emphasis";
52
- readonly LinkLargeUp: "link-large-up";
53
- readonly LinkLargeUpEmphasis: "link-large-up-emphasis";
54
- readonly InputSm: "input-sm";
55
- readonly InputSmUp: "input-sm-up";
56
- readonly InputMd: "input-md";
57
- readonly InputLg: "input-lg";
58
- };
@@ -1,58 +0,0 @@
1
- export var FontVariant = {
2
- TextExtraSmall: 'text-extra-small',
3
- TextSmall: 'text-small',
4
- TextSmallUp: 'text-small-up',
5
- TextMedium: 'text-medium',
6
- TextLarge: 'text-large',
7
- TextExtraLarge: 'text-extra-large',
8
- TextXExtraLarge: 'text-x-extra-large',
9
- TitleH6: 'title-h6',
10
- TitleH5: 'title-h5',
11
- TitleH4: 'title-h4',
12
- TitleH3: 'title-h3',
13
- TitleH2: 'title-h2',
14
- TitleH1: 'title-h1',
15
- LabelExtraSmall: 'label-extra-small',
16
- LabelExtraSmallEmphasis: 'label-extra-small-emphasis',
17
- LabelExtraSmallUp: 'label-extra-small-up',
18
- LabelSmall: 'label-small',
19
- LabelSmallEmphasis: 'label-small-emphasis',
20
- LabelSmallUp: 'label-small-up',
21
- LabelSmallUpEmphasis: 'label-small-up-emphasis',
22
- LabelMedium: 'label-medium',
23
- LabelMediumEmphasis: 'label-medium-emphasis',
24
- LabelLarge: 'label-large',
25
- LabelLargeEmphasis: 'label-large-emphasis',
26
- LabelLargeUp: 'label-large-up',
27
- LabelExtraLargeEmphasis: 'label-extra-large-emphasis',
28
- LabelExtraLarge: 'label-extra-large',
29
- LabelXExtraLargeEmphasis: 'label-x-extra-large-emphasis',
30
- LabelXExtraLarge: 'label-x-extra-large',
31
- LabelXXExtraLargeEmphasis: 'label-x-x-extra-large-emphasis',
32
- LabelXXExtraLarge: 'label-x-x-extra-large',
33
- LabelXXXExtraLarge: 'label-x-x-x-extra-large',
34
- ButtonSmEmphasis: 'btn-sm-emphasis',
35
- ButtonSm: 'btn-sm',
36
- ButtonSmUpEmphasis: 'btn-sm-up-emphasis',
37
- ButtonSmUp: 'btn-sm-up',
38
- ButtonMdEmphasis: 'btn-md-emphasis',
39
- ButtonMd: 'btn-md',
40
- ButtonLgEmphasis: 'btn-lg-emphasis',
41
- ButtonLg: 'btn-lg',
42
- ButtonLgUpEmphasis: 'btn-lg-up-emphasis',
43
- ButtonLgUp: 'btn-lg-up',
44
- LinkSmall: 'link-small',
45
- LinkSmallEmphasis: 'link-small-emphasis',
46
- LinkSmallUp: 'link-small-up',
47
- LinkSmallUpEmphasis: 'link-small-up-emphasis',
48
- LinkMedium: 'link-medium',
49
- LinkMediumEmphasis: 'link-medium-emphasis',
50
- LinkLarge: 'link-large',
51
- LinkLargeEmphasis: 'link-large-emphasis',
52
- LinkLargeUp: 'link-large-up',
53
- LinkLargeUpEmphasis: 'link-large-up-emphasis',
54
- InputSm: 'input-sm',
55
- InputSmUp: 'input-sm-up',
56
- InputMd: 'input-md',
57
- InputLg: 'input-lg'
58
- };
@@ -1,11 +0,0 @@
1
- export declare const FontWeight: {
2
- readonly Thin: 100;
3
- readonly ExtraLight: 200;
4
- readonly Light: 300;
5
- readonly Regular: 400;
6
- readonly Medium: 500;
7
- readonly SemiBold: 600;
8
- readonly Bold: 700;
9
- readonly ExtraBold: 800;
10
- readonly Black: 900;
11
- };
@@ -1,11 +0,0 @@
1
- export var FontWeight = {
2
- Thin: 100,
3
- ExtraLight: 200,
4
- Light: 300,
5
- Regular: 400,
6
- Medium: 500,
7
- SemiBold: 600,
8
- Bold: 700,
9
- ExtraBold: 800,
10
- Black: 900
11
- };
@@ -1,4 +0,0 @@
1
- export * from './text-align';
2
- export * from './font-weight';
3
- export * from './text-decoration';
4
- export * from './font-variant';
@@ -1,4 +0,0 @@
1
- export * from './text-align';
2
- export * from './font-weight';
3
- export * from './text-decoration';
4
- export * from './font-variant';
@@ -1,5 +0,0 @@
1
- export declare const TextAlign: {
2
- readonly Left: "left";
3
- readonly Center: "center";
4
- readonly Right: "right";
5
- };
@@ -1,5 +0,0 @@
1
- export var TextAlign = {
2
- Left: 'left',
3
- Center: 'center',
4
- Right: 'right'
5
- };
@@ -1,5 +0,0 @@
1
- export declare const TextDecoration: {
2
- readonly Underline: "underline";
3
- readonly Italic: "italic";
4
- readonly LineThrough: "line-through";
5
- };
@@ -1,5 +0,0 @@
1
- export var TextDecoration = {
2
- Underline: 'underline',
3
- Italic: 'italic',
4
- LineThrough: 'line-through'
5
- };
@@ -1,4 +0,0 @@
1
- /**
2
- * Intersects two types
3
- */
4
- export type With<T, W> = T extends undefined ? W : W & T
File without changes
File without changes
File without changes