@apple-pie/slice 0.0.5 → 0.0.7

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 (414) hide show
  1. package/dist/cjs/chunks/Avatar-0EXaRG4e.js +54 -0
  2. package/dist/cjs/chunks/AvatarGroup-BsRUAZl0.js +37 -0
  3. package/dist/cjs/chunks/Badge-Bv6c2YVC.js +23 -0
  4. package/dist/cjs/chunks/Button-DFAWHJmQ.js +246 -0
  5. package/dist/cjs/chunks/ButtonBar-DOgYDAda.js +53 -0
  6. package/dist/cjs/chunks/Card-BPClSuHa.js +37 -0
  7. package/dist/cjs/chunks/CheckBox-tsExpwtr.js +56 -0
  8. package/dist/cjs/chunks/Chip-CPHF1zn-.js +84 -0
  9. package/dist/cjs/chunks/DivInput-DDQVtlot.js +102 -0
  10. package/dist/cjs/chunks/DocIcons-B5TcBqSH.js +108 -0
  11. package/dist/cjs/chunks/Dot-BSSClfHQ.js +73 -0
  12. package/dist/cjs/chunks/DrggablePanel-wWLPesc8.js +202 -0
  13. package/dist/cjs/chunks/DropDown-COdCr77A.js +102 -0
  14. package/dist/cjs/chunks/ErrorSummary-CIUqlSLC.js +60 -0
  15. package/dist/cjs/chunks/FileIcon-DTQaXxfC.js +221 -0
  16. package/dist/cjs/chunks/FileList-J2EgJyCo.js +217 -0
  17. package/dist/cjs/chunks/FlexDiv-CW5gSa4V.js +65 -0
  18. package/dist/cjs/chunks/Grouper-QwwunKen.js +61 -0
  19. package/dist/cjs/chunks/IconButton-B53y3z1_.js +77 -0
  20. package/dist/cjs/chunks/Label-DoiS07-y.js +111 -0
  21. package/dist/cjs/chunks/Logos-CAHU-eIP.js +483 -0
  22. package/dist/cjs/chunks/Overlay-Bb2YoSKr.js +36 -0
  23. package/dist/cjs/chunks/Pager-CN2z8M9E.js +37 -0
  24. package/dist/cjs/chunks/ProgressIndicator-BbrZ7Aoc.js +157 -0
  25. package/dist/cjs/chunks/PromptInput-BXDqUXFQ.js +150 -0
  26. package/dist/cjs/chunks/RadioButton-GKRhZEmb.js +56 -0
  27. package/dist/cjs/chunks/RadioButtonList-CFpZmyAX.js +59 -0
  28. package/dist/cjs/chunks/Slider-CZvCAodl.js +136 -0
  29. package/dist/cjs/chunks/Spacer-CtxV2Pww.js +18 -0
  30. package/dist/cjs/chunks/Switch-C94aofxQ.js +37 -0
  31. package/dist/cjs/chunks/TabBar-D6akzNUf.js +123 -0
  32. package/dist/cjs/chunks/TextArea-DjF8Koup.js +82 -0
  33. package/dist/cjs/chunks/TextField-Cg6mQcYl.js +204 -0
  34. package/dist/cjs/chunks/Tip-CjMHa-fD.js +88 -0
  35. package/dist/cjs/chunks/Toast-Cdyh6T-l.js +163 -0
  36. package/dist/cjs/chunks/UploadArea-BmZ50EEl.js +123 -0
  37. package/dist/cjs/chunks/_types-B5xXv4NA.js +1386 -0
  38. package/dist/cjs/chunks/sharedTypes-gCECyn2N.js +6 -0
  39. package/dist/cjs/chunks/style-inject.es-CMuL-BfJ.js +11 -0
  40. package/dist/cjs/chunks/tipStore-Ck4NLvml.js +17 -0
  41. package/dist/cjs/chunks/toastStore-CSStgB9d.js +17 -0
  42. package/dist/cjs/chunks/tslib.es6-C8dZW5nY.js +49 -0
  43. package/dist/cjs/chunks/uploads-worker-mD8pcsGP.js +221 -0
  44. package/dist/cjs/chunks/uploadsStore-CxWIctvI.js +75 -0
  45. package/dist/cjs/chunks/utils-BsBHecUI.js +70 -0
  46. package/dist/cjs/chunks/windowStore-RaJswiHM.js +70 -0
  47. package/dist/cjs/hooks/useDoubleClick.js +11 -23
  48. package/dist/cjs/hooks/useKeyboardShortcuts.js +18 -35
  49. package/dist/cjs/hooks/useLastUpdated.js +20 -42
  50. package/dist/cjs/hooks/useLocalStore.js +23 -39
  51. package/dist/cjs/hooks/useObserveResize.js +26 -44
  52. package/dist/cjs/hooks/useObserveTheme.js +18 -36
  53. package/dist/cjs/hooks/useTheme.js +17 -40
  54. package/dist/cjs/hooks/useToolTip.js +19 -32
  55. package/dist/cjs/hooks/useTrackRenders.js +11 -29
  56. package/dist/cjs/hooks/useWindow.js +29 -65
  57. package/dist/cjs/hooks.js +12 -30
  58. package/dist/cjs/index.js +47 -127
  59. package/dist/cjs/providers/ThemeProvider.js +27 -45
  60. package/dist/cjs/providers.js +5 -12
  61. package/dist/cjs/stores/tip.js +4 -9
  62. package/dist/cjs/stores/toast.js +4 -9
  63. package/dist/cjs/stores/uploads.js +11 -0
  64. package/dist/cjs/stores/window.js +8 -10
  65. package/dist/cjs/stores.js +18 -21
  66. package/dist/cjs/theme/colors.js +371 -379
  67. package/dist/cjs/theme/corners.js +10 -12
  68. package/dist/cjs/theme/elevations.js +10 -13
  69. package/dist/cjs/theme/themes.js +8 -13
  70. package/dist/cjs/theme/type.js +225 -384
  71. package/dist/cjs/theme.js +5 -13
  72. package/dist/cjs/uikit/Avatar/index.js +6 -0
  73. package/dist/cjs/uikit/AvatarGroup/index.js +7 -0
  74. package/dist/cjs/uikit/Badge/index.js +6 -0
  75. package/dist/cjs/uikit/Button/index.js +12 -0
  76. package/dist/cjs/uikit/ButtonBar/index.js +12 -0
  77. package/dist/cjs/uikit/Card/index.js +10 -0
  78. package/dist/cjs/uikit/CheckBox/index.js +10 -0
  79. package/dist/cjs/uikit/Chip/index.js +11 -0
  80. package/dist/cjs/uikit/DivInput/index.js +7 -0
  81. package/dist/cjs/uikit/DocIcon/index.js +9 -0
  82. package/dist/cjs/uikit/Dot/index.js +6 -0
  83. package/dist/cjs/uikit/DraggablePanel/index.js +10 -0
  84. package/dist/cjs/uikit/DropDown/index.js +10 -0
  85. package/dist/cjs/uikit/ErrorSummary/index.js +6 -0
  86. package/dist/cjs/uikit/FileIcon/index.js +15 -0
  87. package/dist/cjs/uikit/FileList/index.js +11 -0
  88. package/dist/cjs/uikit/FlexDiv/index.js +6 -0
  89. package/dist/cjs/uikit/Grouper/index.js +11 -0
  90. package/dist/cjs/uikit/Icon/index.js +14 -0
  91. package/dist/cjs/uikit/IconButton/index.js +12 -0
  92. package/dist/cjs/uikit/Label/index.js +10 -0
  93. package/dist/cjs/uikit/Logos/index.js +9 -0
  94. package/dist/cjs/uikit/Overlay/index.js +6 -0
  95. package/dist/cjs/uikit/Pager/index.js +7 -0
  96. package/dist/cjs/uikit/Progress/index.js +10 -0
  97. package/dist/cjs/uikit/PromptInput/index.js +14 -0
  98. package/dist/cjs/uikit/RadioButton/index.js +12 -0
  99. package/dist/cjs/uikit/RadioButtonList/index.js +13 -0
  100. package/dist/cjs/uikit/Slider/index.js +7 -0
  101. package/dist/cjs/uikit/Spacer/index.js +6 -0
  102. package/dist/cjs/uikit/Switch/index.js +6 -0
  103. package/dist/cjs/uikit/TabBar/index.js +12 -0
  104. package/dist/cjs/uikit/TextArea/index.js +13 -0
  105. package/dist/cjs/uikit/Textfield/index.js +13 -0
  106. package/dist/cjs/uikit/Tip/index.js +7 -0
  107. package/dist/cjs/uikit/Toast/index.js +16 -0
  108. package/dist/cjs/uikit/UploadArea/index.js +15 -0
  109. package/dist/cjs/workers/uploads/uploads.js +5 -0
  110. package/dist/esm/chunks/Avatar-D_W5zErj.mjs +60 -0
  111. package/dist/esm/chunks/AvatarGroup-Dbfmz0Yz.mjs +45 -0
  112. package/dist/esm/chunks/Badge-BISGWj5-.mjs +29 -0
  113. package/dist/esm/chunks/Button-B_aIY6wE.mjs +264 -0
  114. package/dist/esm/chunks/ButtonBar-Cr6TFvvD.mjs +66 -0
  115. package/dist/esm/chunks/Card-BzKBF0ny.mjs +45 -0
  116. package/dist/esm/chunks/CheckBox-CYggPKaT.mjs +68 -0
  117. package/dist/esm/chunks/Chip-B3wb9g1U.mjs +96 -0
  118. package/dist/esm/chunks/DivInput-_VL6PAqT.mjs +114 -0
  119. package/dist/esm/chunks/DocIcons-BxtcXsWI.mjs +114 -0
  120. package/dist/esm/chunks/Dot-C-Xu24wF.mjs +81 -0
  121. package/dist/esm/chunks/DrggablePanel-Bg3UKK1k.mjs +214 -0
  122. package/dist/esm/chunks/DropDown-D7KyGLkM.mjs +114 -0
  123. package/dist/esm/chunks/ErrorSummary-CZw06dSh.mjs +68 -0
  124. package/dist/esm/chunks/FileIcon-BcIJzIwA.mjs +233 -0
  125. package/dist/esm/chunks/FileList-DUzgHfE-.mjs +229 -0
  126. package/dist/esm/chunks/FlexDiv-BLYDgWu2.mjs +73 -0
  127. package/dist/esm/chunks/Grouper-CRldBHSw.mjs +75 -0
  128. package/dist/esm/chunks/IconButton-BBiZrXlS.mjs +93 -0
  129. package/dist/esm/chunks/Label-DPIAVkn1.mjs +124 -0
  130. package/dist/esm/chunks/Logos-CpcaarOG.mjs +493 -0
  131. package/dist/esm/chunks/Overlay-Bh0enFIe.mjs +44 -0
  132. package/dist/esm/chunks/Pager-B-1ZRUzU.mjs +45 -0
  133. package/dist/esm/chunks/ProgressIndicator-CNOBQ_Fv.mjs +167 -0
  134. package/dist/esm/chunks/PromptInput-DdsIgZ3T.mjs +160 -0
  135. package/dist/esm/chunks/RadioButton-D-TdQu3a.mjs +66 -0
  136. package/dist/esm/chunks/RadioButtonList-CEScWkbT.mjs +67 -0
  137. package/dist/esm/chunks/Slider-C3A8GCfH.mjs +142 -0
  138. package/dist/esm/chunks/Spacer-BlgEdKEM.mjs +20 -0
  139. package/dist/esm/chunks/Switch-obpmvCGd.mjs +45 -0
  140. package/dist/esm/chunks/TabBar-DFj021UP.mjs +141 -0
  141. package/dist/esm/chunks/TextArea-D_hq6VF3.mjs +90 -0
  142. package/dist/esm/chunks/TextField-Co0u-xdd.mjs +222 -0
  143. package/dist/esm/chunks/Tip-CHQh-Yq0.mjs +98 -0
  144. package/dist/esm/chunks/Toast-BiXzVFtM.mjs +179 -0
  145. package/dist/esm/chunks/UploadArea-B9685Z06.mjs +133 -0
  146. package/dist/esm/chunks/_types-KZDzhaiK.mjs +1395 -0
  147. package/dist/esm/chunks/sharedTypes-tn9-uJvb.mjs +8 -0
  148. package/dist/esm/chunks/style-inject.es-D0BjEaN8.mjs +11 -0
  149. package/dist/esm/chunks/tipStore-CL5a95Bl.mjs +15 -0
  150. package/dist/esm/chunks/toastStore-D2PEIqCo.mjs +15 -0
  151. package/dist/esm/chunks/tslib.es6-c-7TIv71.mjs +53 -0
  152. package/dist/esm/chunks/uploads-worker-Dv-4zGnC.mjs +224 -0
  153. package/dist/esm/chunks/uploadsStore-D69fEXMY.mjs +72 -0
  154. package/dist/esm/chunks/utils-BQ1v7VE4.mjs +74 -0
  155. package/dist/esm/chunks/windowStore-CwW0i_le.mjs +71 -0
  156. package/dist/esm/hooks/useDoubleClick.mjs +14 -0
  157. package/dist/esm/hooks/useKeyboardShortcuts.mjs +27 -0
  158. package/dist/esm/hooks/useLastUpdated.mjs +31 -0
  159. package/dist/esm/hooks/useLocalStore.mjs +36 -0
  160. package/dist/esm/hooks/useObserveResize.mjs +38 -0
  161. package/dist/esm/hooks/useObserveTheme.mjs +34 -0
  162. package/dist/esm/hooks/useTheme.mjs +73 -0
  163. package/dist/esm/hooks/useToolTip.mjs +23 -0
  164. package/dist/esm/hooks/useTrackRenders.mjs +23 -0
  165. package/dist/esm/hooks/useWindow.mjs +52 -0
  166. package/dist/esm/hooks.mjs +29 -0
  167. package/dist/esm/index.mjs +117 -0
  168. package/dist/esm/providers/ThemeProvider.mjs +49 -0
  169. package/dist/esm/providers.mjs +15 -0
  170. package/dist/esm/stores/tip.mjs +3 -0
  171. package/dist/esm/stores/toast.mjs +3 -0
  172. package/dist/esm/stores/uploads.mjs +7 -0
  173. package/dist/esm/stores/window.mjs +3 -0
  174. package/dist/esm/stores.mjs +13 -0
  175. package/dist/esm/theme/colors.mjs +373 -0
  176. package/dist/esm/theme/corners.mjs +12 -0
  177. package/dist/esm/theme/elevations.mjs +15 -0
  178. package/dist/esm/theme/themes.mjs +25 -0
  179. package/dist/esm/theme/type.mjs +236 -0
  180. package/dist/esm/theme.mjs +9 -0
  181. package/dist/esm/uikit/Avatar/index.mjs +9 -0
  182. package/dist/esm/uikit/AvatarGroup/index.mjs +11 -0
  183. package/dist/esm/uikit/Badge/index.mjs +9 -0
  184. package/dist/esm/uikit/Button/index.mjs +39 -0
  185. package/dist/esm/uikit/ButtonBar/index.mjs +39 -0
  186. package/dist/esm/uikit/Card/index.mjs +29 -0
  187. package/dist/esm/uikit/CheckBox/index.mjs +31 -0
  188. package/dist/esm/uikit/Chip/index.mjs +31 -0
  189. package/dist/esm/uikit/DivInput/index.mjs +13 -0
  190. package/dist/esm/uikit/DocIcon/index.mjs +23 -0
  191. package/dist/esm/uikit/Dot/index.mjs +11 -0
  192. package/dist/esm/uikit/DraggablePanel/index.mjs +29 -0
  193. package/dist/esm/uikit/DropDown/index.mjs +29 -0
  194. package/dist/esm/uikit/ErrorSummary/index.mjs +11 -0
  195. package/dist/esm/uikit/FileIcon/index.mjs +25 -0
  196. package/dist/esm/uikit/FileList/index.mjs +35 -0
  197. package/dist/esm/uikit/FlexDiv/index.mjs +11 -0
  198. package/dist/esm/uikit/Grouper/index.mjs +33 -0
  199. package/dist/esm/uikit/Icon/index.mjs +25 -0
  200. package/dist/esm/uikit/IconButton/index.mjs +37 -0
  201. package/dist/esm/uikit/Label/index.mjs +27 -0
  202. package/dist/esm/uikit/Logos/index.mjs +23 -0
  203. package/dist/esm/uikit/Overlay/index.mjs +11 -0
  204. package/dist/esm/uikit/Pager/index.mjs +11 -0
  205. package/dist/esm/uikit/Progress/index.mjs +27 -0
  206. package/dist/esm/uikit/PromptInput/index.mjs +45 -0
  207. package/dist/esm/uikit/RadioButton/index.mjs +39 -0
  208. package/dist/esm/uikit/RadioButtonList/index.mjs +41 -0
  209. package/dist/esm/uikit/Slider/index.mjs +13 -0
  210. package/dist/esm/uikit/Spacer/index.mjs +7 -0
  211. package/dist/esm/uikit/Switch/index.mjs +11 -0
  212. package/dist/esm/uikit/TabBar/index.mjs +39 -0
  213. package/dist/esm/uikit/TextArea/index.mjs +41 -0
  214. package/dist/esm/uikit/Textfield/index.mjs +43 -0
  215. package/dist/esm/uikit/Tip/index.mjs +13 -0
  216. package/dist/esm/uikit/Toast/index.mjs +31 -0
  217. package/dist/esm/uikit/UploadArea/index.mjs +37 -0
  218. package/dist/esm/workers/uploads/uploads.mjs +5 -0
  219. package/dist/types/index.d.ts +3 -0
  220. package/dist/types/stores/index.d.ts +1 -0
  221. package/dist/types/stores/uploads/_types.d.ts +16 -0
  222. package/dist/types/stores/uploads/index.d.ts +2 -0
  223. package/dist/types/stores/uploads/uploadsStore.d.ts +22 -0
  224. package/dist/types/uikit/FileList/_types.d.ts +1 -0
  225. package/dist/types/uikit/UploadArea/UploadArea.d.ts +54 -0
  226. package/dist/types/uikit/UploadArea/_types.d.ts +46 -0
  227. package/dist/types/uikit/UploadArea/index.d.ts +3 -0
  228. package/dist/types/util/utils.d.ts +4 -0
  229. package/dist/types/workers/uploads/uploads-worker.d.ts +129 -0
  230. package/dist/types/workers/uploads/uploads.d.ts +1 -0
  231. package/dist/types/workers/uploads/uploads.runtime.d.ts +1 -0
  232. package/package.json +23 -17
  233. package/dist/cjs/chunks/Avatar-z2YcOAoP.js +0 -68
  234. package/dist/cjs/chunks/AvatarGroup-Cz8369zI.js +0 -39
  235. package/dist/cjs/chunks/Badge-COSg__VJ.js +0 -41
  236. package/dist/cjs/chunks/Button-BNXqiA13.js +0 -312
  237. package/dist/cjs/chunks/ButtonBar-CeDdAOlH.js +0 -58
  238. package/dist/cjs/chunks/Card-Cc_c-S7i.js +0 -36
  239. package/dist/cjs/chunks/CheckBox-hTWIPqV_.js +0 -76
  240. package/dist/cjs/chunks/Chip-CLKVldi4.js +0 -93
  241. package/dist/cjs/chunks/DivInput-DnY2emt-.js +0 -204
  242. package/dist/cjs/chunks/DocIcons-BRWOzK96.js +0 -41
  243. package/dist/cjs/chunks/Dot-B5dO8kSS.js +0 -80
  244. package/dist/cjs/chunks/DrggablePanel-BtsURL9o.js +0 -302
  245. package/dist/cjs/chunks/DropDown-COr9u96t.js +0 -154
  246. package/dist/cjs/chunks/ErrorSummary-BrSHbGpk.js +0 -42
  247. package/dist/cjs/chunks/FileIcon-CEMQK_Je.js +0 -132
  248. package/dist/cjs/chunks/FileList-DWIm4o46.js +0 -163
  249. package/dist/cjs/chunks/FlexDiv-BHl29ywz.js +0 -103
  250. package/dist/cjs/chunks/Grouper-EyHoeA8w.js +0 -50
  251. package/dist/cjs/chunks/IconButton-9QZ4eKBZ.js +0 -84
  252. package/dist/cjs/chunks/Label-DZJ_YDtD.js +0 -134
  253. package/dist/cjs/chunks/Logos-DSlAUz8l.js +0 -119
  254. package/dist/cjs/chunks/Overlay-DV3C5NDO.js +0 -45
  255. package/dist/cjs/chunks/Pager-CRjpl1FZ.js +0 -42
  256. package/dist/cjs/chunks/ProgressIndicator-BAwAaw58.js +0 -121
  257. package/dist/cjs/chunks/PromptInput-DmO8a3oX.js +0 -212
  258. package/dist/cjs/chunks/RadioButton-DA9YUGEF.js +0 -65
  259. package/dist/cjs/chunks/RadioButtonList-BtsT7GJc.js +0 -116
  260. package/dist/cjs/chunks/Slider-CqrIwn-L.js +0 -285
  261. package/dist/cjs/chunks/Spacer-BEY2-_PB.js +0 -16
  262. package/dist/cjs/chunks/Switch-CtkFtogd.js +0 -43
  263. package/dist/cjs/chunks/TabBar-WsNlr-aZ.js +0 -176
  264. package/dist/cjs/chunks/TextArea-BMJWUH2H.js +0 -153
  265. package/dist/cjs/chunks/TextField-mfwz79cD.js +0 -248
  266. package/dist/cjs/chunks/Tip-Af6FMEDi.js +0 -91
  267. package/dist/cjs/chunks/Toast-CxAEOW4z.js +0 -158
  268. package/dist/cjs/chunks/_types-BNlHsGMQ.js +0 -714
  269. package/dist/cjs/chunks/sharedTypes-BvTjh6M5.js +0 -9
  270. package/dist/cjs/chunks/style-inject.es-XZHJH68X.js +0 -30
  271. package/dist/cjs/chunks/tipStore-C9oV9SIh.js +0 -23
  272. package/dist/cjs/chunks/toastStore-C-ETP9H6.js +0 -23
  273. package/dist/cjs/chunks/tslib.es6-4H29ixHs.js +0 -48
  274. package/dist/cjs/chunks/utils-BwNacfBU.js +0 -128
  275. package/dist/cjs/chunks/windowStore-CPcVHJq6.js +0 -93
  276. package/dist/cjs/uikit/Avatar.js +0 -11
  277. package/dist/cjs/uikit/AvatarGroup.js +0 -12
  278. package/dist/cjs/uikit/Badge.js +0 -11
  279. package/dist/cjs/uikit/Button.js +0 -26
  280. package/dist/cjs/uikit/ButtonBar.js +0 -26
  281. package/dist/cjs/uikit/Card.js +0 -21
  282. package/dist/cjs/uikit/CheckBox.js +0 -22
  283. package/dist/cjs/uikit/Chip.js +0 -22
  284. package/dist/cjs/uikit/DivInput.js +0 -13
  285. package/dist/cjs/uikit/DocIcon.js +0 -18
  286. package/dist/cjs/uikit/Dot.js +0 -12
  287. package/dist/cjs/uikit/DraggablePanel.js +0 -21
  288. package/dist/cjs/uikit/DropDown.js +0 -21
  289. package/dist/cjs/uikit/ErrorSummary.js +0 -12
  290. package/dist/cjs/uikit/FileIcon.js +0 -23
  291. package/dist/cjs/uikit/FileList.js +0 -24
  292. package/dist/cjs/uikit/FlexDiv.js +0 -12
  293. package/dist/cjs/uikit/Grouper.js +0 -23
  294. package/dist/cjs/uikit/Icon.js +0 -23
  295. package/dist/cjs/uikit/IconButton.js +0 -25
  296. package/dist/cjs/uikit/Label.js +0 -20
  297. package/dist/cjs/uikit/Logos.js +0 -18
  298. package/dist/cjs/uikit/Overlay.js +0 -12
  299. package/dist/cjs/uikit/Pager.js +0 -12
  300. package/dist/cjs/uikit/Progress.js +0 -21
  301. package/dist/cjs/uikit/PromptInput.js +0 -29
  302. package/dist/cjs/uikit/RadioButton.js +0 -26
  303. package/dist/cjs/uikit/RadioButtonList.js +0 -27
  304. package/dist/cjs/uikit/Slider.js +0 -13
  305. package/dist/cjs/uikit/Spacer.js +0 -10
  306. package/dist/cjs/uikit/Switch.js +0 -12
  307. package/dist/cjs/uikit/TabBar.js +0 -26
  308. package/dist/cjs/uikit/TextArea.js +0 -27
  309. package/dist/cjs/uikit/Textfield.js +0 -28
  310. package/dist/cjs/uikit/Tip.js +0 -13
  311. package/dist/cjs/uikit/Toast.js +0 -26
  312. package/dist/esm/chunks/Avatar-BtkvMV1v.js +0 -66
  313. package/dist/esm/chunks/AvatarGroup-pbqdS56o.js +0 -37
  314. package/dist/esm/chunks/Badge-DtxDLSO0.js +0 -39
  315. package/dist/esm/chunks/Button-BUJkJqdO.js +0 -310
  316. package/dist/esm/chunks/ButtonBar-Bl0oCxd8.js +0 -56
  317. package/dist/esm/chunks/Card-Bjk0kgQh.js +0 -34
  318. package/dist/esm/chunks/CheckBox-CvkZuSeB.js +0 -74
  319. package/dist/esm/chunks/Chip-o-YG_HAf.js +0 -91
  320. package/dist/esm/chunks/DivInput-D6ORPrkT.js +0 -202
  321. package/dist/esm/chunks/DocIcons-CbOX4n8Y.js +0 -39
  322. package/dist/esm/chunks/Dot-BZcEZbnm.js +0 -78
  323. package/dist/esm/chunks/DrggablePanel-DWrTjXvf.js +0 -300
  324. package/dist/esm/chunks/DropDown-BDIvYWI-.js +0 -152
  325. package/dist/esm/chunks/ErrorSummary-DzDnacH0.js +0 -40
  326. package/dist/esm/chunks/FileIcon-Cxh-QsYb.js +0 -130
  327. package/dist/esm/chunks/FileList-yo_u1Kvw.js +0 -161
  328. package/dist/esm/chunks/FlexDiv-CFyndG99.js +0 -101
  329. package/dist/esm/chunks/Grouper-NJbpaaQG.js +0 -48
  330. package/dist/esm/chunks/IconButton-3m9ugITV.js +0 -82
  331. package/dist/esm/chunks/Label-CgntsR3g.js +0 -132
  332. package/dist/esm/chunks/Logos-DwZP-TR2.js +0 -117
  333. package/dist/esm/chunks/Overlay-BolsHW9S.js +0 -43
  334. package/dist/esm/chunks/Pager-BHLyXq9p.js +0 -40
  335. package/dist/esm/chunks/ProgressIndicator-uI9BZwBB.js +0 -118
  336. package/dist/esm/chunks/PromptInput-C_qj6kGp.js +0 -210
  337. package/dist/esm/chunks/RadioButton-D8otD_Jj.js +0 -63
  338. package/dist/esm/chunks/RadioButtonList-CtX1j7rO.js +0 -114
  339. package/dist/esm/chunks/Slider-O6UelMjh.js +0 -283
  340. package/dist/esm/chunks/Spacer-DbZSG5x3.js +0 -14
  341. package/dist/esm/chunks/Switch-DjfrSiQz.js +0 -41
  342. package/dist/esm/chunks/TabBar-C0NgwRa2.js +0 -174
  343. package/dist/esm/chunks/TextArea-DK0giDGR.js +0 -151
  344. package/dist/esm/chunks/TextField-CQ4XYYNm.js +0 -246
  345. package/dist/esm/chunks/Tip-iFECDhwN.js +0 -89
  346. package/dist/esm/chunks/Toast-ZxMZtbd0.js +0 -156
  347. package/dist/esm/chunks/_types-RJ7q8S0B.js +0 -712
  348. package/dist/esm/chunks/sharedTypes-BfZzG1KX.js +0 -9
  349. package/dist/esm/chunks/style-inject.es-tgCJW-Cu.js +0 -28
  350. package/dist/esm/chunks/tipStore-nBYJ6tmE.js +0 -17
  351. package/dist/esm/chunks/toastStore-r3pvNa28.js +0 -17
  352. package/dist/esm/chunks/tslib.es6-0pkUdtrF.js +0 -45
  353. package/dist/esm/chunks/utils-CZ1LWeN6.js +0 -121
  354. package/dist/esm/chunks/windowStore-Cu4W4zJM.js +0 -91
  355. package/dist/esm/hooks/useDoubleClick.js +0 -24
  356. package/dist/esm/hooks/useKeyboardShortcuts.js +0 -42
  357. package/dist/esm/hooks/useLastUpdated.js +0 -51
  358. package/dist/esm/hooks/useLocalStore.js +0 -50
  359. package/dist/esm/hooks/useObserveResize.js +0 -54
  360. package/dist/esm/hooks/useObserveTheme.js +0 -41
  361. package/dist/esm/hooks/useTheme.js +0 -84
  362. package/dist/esm/hooks/useToolTip.js +0 -34
  363. package/dist/esm/hooks/useTrackRenders.js +0 -37
  364. package/dist/esm/hooks/useWindow.js +0 -84
  365. package/dist/esm/hooks.js +0 -15
  366. package/dist/esm/index.js +0 -58
  367. package/dist/esm/providers/ThemeProvider.js +0 -56
  368. package/dist/esm/providers.js +0 -8
  369. package/dist/esm/stores/tip.js +0 -2
  370. package/dist/esm/stores/toast.js +0 -2
  371. package/dist/esm/stores/window.js +0 -2
  372. package/dist/esm/stores.js +0 -4
  373. package/dist/esm/theme/colors.js +0 -377
  374. package/dist/esm/theme/corners.js +0 -12
  375. package/dist/esm/theme/elevations.js +0 -15
  376. package/dist/esm/theme/themes.js +0 -23
  377. package/dist/esm/theme/type.js +0 -393
  378. package/dist/esm/theme.js +0 -5
  379. package/dist/esm/uikit/Avatar.js +0 -5
  380. package/dist/esm/uikit/AvatarGroup.js +0 -6
  381. package/dist/esm/uikit/Badge.js +0 -5
  382. package/dist/esm/uikit/Button.js +0 -20
  383. package/dist/esm/uikit/ButtonBar.js +0 -20
  384. package/dist/esm/uikit/Card.js +0 -15
  385. package/dist/esm/uikit/CheckBox.js +0 -16
  386. package/dist/esm/uikit/Chip.js +0 -16
  387. package/dist/esm/uikit/DivInput.js +0 -7
  388. package/dist/esm/uikit/DocIcon.js +0 -12
  389. package/dist/esm/uikit/Dot.js +0 -6
  390. package/dist/esm/uikit/DraggablePanel.js +0 -15
  391. package/dist/esm/uikit/DropDown.js +0 -15
  392. package/dist/esm/uikit/ErrorSummary.js +0 -6
  393. package/dist/esm/uikit/FileIcon.js +0 -13
  394. package/dist/esm/uikit/FileList.js +0 -18
  395. package/dist/esm/uikit/FlexDiv.js +0 -6
  396. package/dist/esm/uikit/Grouper.js +0 -17
  397. package/dist/esm/uikit/Icon.js +0 -13
  398. package/dist/esm/uikit/IconButton.js +0 -19
  399. package/dist/esm/uikit/Label.js +0 -14
  400. package/dist/esm/uikit/Logos.js +0 -12
  401. package/dist/esm/uikit/Overlay.js +0 -6
  402. package/dist/esm/uikit/Pager.js +0 -6
  403. package/dist/esm/uikit/Progress.js +0 -14
  404. package/dist/esm/uikit/PromptInput.js +0 -23
  405. package/dist/esm/uikit/RadioButton.js +0 -20
  406. package/dist/esm/uikit/RadioButtonList.js +0 -21
  407. package/dist/esm/uikit/Slider.js +0 -7
  408. package/dist/esm/uikit/Spacer.js +0 -4
  409. package/dist/esm/uikit/Switch.js +0 -6
  410. package/dist/esm/uikit/TabBar.js +0 -20
  411. package/dist/esm/uikit/TextArea.js +0 -21
  412. package/dist/esm/uikit/Textfield.js +0 -22
  413. package/dist/esm/uikit/Tip.js +0 -7
  414. package/dist/esm/uikit/Toast.js +0 -16
@@ -1,397 +1,238 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
- // base family
4
- const fontFamily = `"Funnel Sans"`;
5
- // base weights
6
- const fontWeights = {
7
- regular: 360,
8
- medium: 420,
9
- bold: 480,
10
- };
11
- // base sizes
12
- const fontSizes = {
13
- xs: 12,
14
- s: 14,
15
- m: 15,
16
- l: 16,
17
- xl: 17,
18
- };
19
- // ** new styles aligned to lyra */
20
- const type = {
21
- 'body-xs-regular': `
22
- font-family: ${fontFamily};
23
- font-weight: ${fontWeights.regular};
24
- font-size: ${fontSizes.xs}px;
25
- line-height: 133.33%;
26
- text-decoration: none;
27
- letter-spacing: 0.2px`,
28
- 'body-xs-medium': `
29
- font-family: ${fontFamily};
30
- font-weight: ${fontWeights.medium};
31
- font-size: ${fontSizes.xs}px;
32
- line-height: 133.33%;
33
- text-decoration: none;
34
- letter-spacing: 0.2px`,
35
- 'body-xs-bold': `
36
- font-family: ${fontFamily};
37
- font-weight: ${fontWeights.bold};
38
- font-size: ${fontSizes.xs}px;
39
- line-height: 133.33%;
40
- text-decoration: none;
41
- letter-spacing: 0.250px`,
42
- 'body-s-regular': `
43
- font-family: ${fontFamily};
44
- font-weight: ${fontWeights.regular};
45
- font-size: ${fontSizes.s}px;
46
- line-height: 142.86%;
47
- text-decoration: none;
48
- letter-spacing: 0.15px`,
49
- 'body-s-medium': `
50
- font-family: ${fontFamily};
51
- font-weight: ${fontWeights.medium};
52
- font-size: ${fontSizes.s}px;
53
- line-height: 142.86%;
54
- text-decoration: none;
55
- letter-spacing: 0.15px`,
56
- 'body-s-bold': `
57
- font-family: ${fontFamily};
58
- font-weight: ${fontWeights.bold};
59
- font-size: ${fontSizes.s}px;
60
- line-height: 142.86%;
61
- text-decoration: none;
62
- letter-spacing: 0.2px`,
63
- 'body-m-regular': `
64
- font-family: ${fontFamily};
65
- font-weight: ${fontWeights.regular};
66
- font-size: ${fontSizes.m}px;
67
- line-height: 140%;
68
- text-decoration: none;
69
- letter-spacing: 0.15px`,
70
- 'body-m-medium': `
71
- font-family: ${fontFamily};
72
- font-weight: ${fontWeights.medium};
73
- font-size: ${fontSizes.m}px;
74
- line-height: 140%;
75
- text-decoration: none;
76
- letter-spacing: 0.15px`,
77
- 'body-m-bold': `
78
- font-family: ${fontFamily};
79
- font-weight: ${fontWeights.bold};
80
- font-size: ${fontSizes.m}px;
81
- line-height: 140%;
82
- text-decoration: none;
83
- letter-spacing: 0.2px`,
84
- 'body-l-regular': `
85
- font-family: ${fontFamily};
86
- font-weight: ${fontWeights.regular};
87
- font-size: ${fontSizes.l}px;
88
- line-height: 162.5%;
89
- text-decoration: none;
90
- letter-spacing: 0.1px`,
91
- 'body-l-medium': `
92
- font-family: ${fontFamily};
93
- font-weight: ${fontWeights.medium};
94
- font-size: ${fontSizes.l}px;
95
- line-height: 162.5%;
96
- text-decoration: none;
97
- letter-spacing: 0.1px`,
98
- 'body-l-bold': `
99
- font-family: ${fontFamily};
100
- font-weight: ${fontWeights.bold};
101
- font-size: ${fontSizes.l}px;
102
- line-height: 162.5%;
103
- text-decoration: none;
104
- letter-spacing: 0.15px`,
105
- 'body-xl-regular': `
106
- font-family: ${fontFamily};
107
- font-weight: ${fontWeights.regular};
108
- font-size: ${fontSizes.xl}px;
109
- line-height: 162.5%;
110
- text-decoration: none;
111
- letter-spacing: 0.1px`,
112
- 'body-xl-medium': `
113
- font-family: ${fontFamily};
114
- font-weight: ${fontWeights.medium};
115
- font-size: ${fontSizes.xl}px;
116
- line-height: 162.5%;
117
- text-decoration: none;
118
- letter-spacing: 0.1px`,
119
- 'body-xl-bold': `
120
- font-family: ${fontFamily};
121
- font-weight: ${fontWeights.bold};
122
- font-size: ${fontSizes.xl}px;
123
- line-height: 162.5%;
124
- text-decoration: none;
125
- letter-spacing: 0.15px`,
126
- 'heading-s-medium': `
127
- font-family: ${fontFamily};
128
- font-weight: 500;
129
- font-size: 20px;
130
- line-height: 140%;
131
- text-decoration: none;
132
- letter-spacing: 0.2px`,
133
- 'heading-s-bold': `
134
- font-family: ${fontFamily};
135
- font-weight: 600;
136
- font-size: 20px;
137
- line-height: 140%;
138
- text-decoration: none;
139
- letter-spacing: 0.2px`,
140
- 'heading-m-medium': `
141
- font-family: ${fontFamily};
142
- font-weight: 500;
143
- font-size: 24px;
144
- line-height: 116.67%;
145
- text-decoration: none;
146
- letter-spacing: 0.2px`,
147
- 'heading-m-bold': `
148
- font-family: ${fontFamily};
149
- font-weight: 600;
150
- font-size: 24px;
151
- line-height: 116.67%;
152
- text-decoration: none;
153
- letter-spacing: 0.2px`,
154
- 'heading-l-medium': `
155
- font-family: ${fontFamily};
156
- font-weight: 500;
157
- font-size: 28px;
158
- line-height: 128.57%;
159
- text-decoration: none;
160
- letter-spacing: 0.2px`,
161
- 'heading-l-bold': `
162
- font-family: ${fontFamily};
163
- font-weight: 600;
164
- font-size: 28px;
165
- line-height: 128.57%;
166
- text-decoration: none;
167
- letter-spacing: 0.2px`,
168
- 'heading-xl-medium': `
169
- font-family: ${fontFamily};
170
- font-weight: 500;
171
- font-size: 36px;
172
- line-height: 128.57%;
173
- text-decoration: none;
174
- letter-spacing: 0.2px`,
175
- 'heading-xl-bold': `
176
- font-family: ${fontFamily};
177
- font-weight: 600;
178
- font-size: 36px;
179
- line-height: 128.57%;
180
- text-decoration: none;
181
- letter-spacing: 0.2px`,
182
- };
183
- const typeCssClasses = {
184
- 'body-xs-regular': 'body-xs-regular',
185
- 'body-xs-medium': 'body-xs-medium',
186
- 'body-xs-bold': 'body-xs-bold',
187
- 'body-s-regular': 'body-s-regular',
188
- 'body-s-medium': 'body-s-medium',
189
- 'body-s-bold': 'body-s-bold',
190
- 'body-m-regular': 'body-m-regular',
191
- 'body-m-medium': 'body-m-medium',
192
- 'body-m-bold': 'body-m-bold',
193
- 'body-l-regular': 'body-l-regular',
194
- 'body-l-medium': 'body-l-medium',
195
- 'body-l-bold': 'body-l-bold',
196
- 'body-xl-regular': 'body-xl-regular',
197
- 'body-xl-medium': 'body-xl-medium',
198
- 'body-xl-bold': 'body-xl-bold',
199
- 'heading-s-bold': 'heading-s-bold',
200
- 'heading-s-medium': 'heading-s-medium',
201
- 'heading-m-medium': 'heading-m-medium',
202
- 'heading-m-bold': 'heading-m-bold',
203
- 'heading-l-medium': 'heading-l-medium',
204
- 'heading-l-bold': 'heading-l-bold',
205
- 'heading-xl-medium': 'heading-xl-medium',
206
- 'heading-xl-bold': 'heading-xl-bold',
207
- };
208
- const typeStyles = {
209
- 'body-xs-regular': {
210
- fontFamily: `${fontFamily}`,
211
- fontWeight: `${fontWeights.regular}`,
212
- fontSize: `${fontSizes.xs}px`,
213
- lineHeight: '133.33%',
214
- textDecoration: 'none',
215
- letterSpacing: '0.2px',
216
- },
217
- 'body-xs-medium': {
218
- fontFamily: `${fontFamily}`,
219
- fontWeight: `${fontWeights.medium}`,
220
- fontSize: `${fontSizes.xs}px`,
221
- lineHeight: '133.33%',
222
- textDecoration: 'none',
223
- letterSpacing: '0.2px',
224
- },
225
- 'body-xs-bold': {
226
- fontFamily: `${fontFamily}`,
227
- fontWeight: `${fontWeights.bold}`,
228
- fontSize: `${fontSizes.xs}px`,
229
- lineHeight: '133.33%',
230
- textDecoration: 'none',
231
- letterSpacing: '0.250px',
232
- },
233
- 'body-s-regular': {
234
- fontFamily: `${fontFamily}`,
235
- fontWeight: `${fontWeights.regular}`,
236
- fontSize: `${fontSizes.s}px`,
237
- lineHeight: '142.86%',
238
- textDecoration: 'none',
239
- letterSpacing: '0.15px',
240
- },
241
- 'body-s-medium': {
242
- fontFamily: `${fontFamily}`,
243
- fontWeight: `${fontWeights.medium}`,
244
- fontSize: `${fontSizes.s}px`,
245
- lineHeight: '142.86%',
246
- textDecoration: 'none',
247
- letterSpacing: '0.15px',
248
- },
249
- 'body-s-bold': {
250
- fontFamily: `${fontFamily}`,
251
- fontWeight: `${fontWeights.bold}`,
252
- fontSize: `${fontSizes.s}px`,
253
- lineHeight: '142.86%',
254
- textDecoration: 'none',
255
- letterSpacing: '0.2px',
256
- },
257
- 'body-m-regular': {
258
- fontFamily: `${fontFamily}`,
259
- fontWeight: `${fontWeights.regular}`,
260
- fontSize: `${fontSizes.m}px`,
261
- lineHeight: '140%',
262
- textDecoration: 'none',
263
- letterSpacing: '0.15px',
264
- },
265
- 'body-m-medium': {
266
- fontFamily: `${fontFamily}`,
267
- fontWeight: `${fontWeights.medium}`,
268
- fontSize: `${fontSizes.m}px`,
269
- lineHeight: '140%',
270
- textDecoration: 'none',
271
- letterSpacing: '0.15px',
272
- },
273
- 'body-m-bold': {
3
+ const fontFamily = '"Funnel Sans"', fontWeights_regular = 360, fontWeights_medium = 420, fontWeights_bold = 480, fontSizes_xs = 12, fontSizes_s = 14, fontSizes_m = 15, fontSizes_l = 16, fontSizes_xl = 17, type = {
4
+ "body-xs-regular": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_regular};\n font-size: ${fontSizes_xs}px;\n line-height: 133.33%;\n text-decoration: none;\n letter-spacing: 0.2px`,
5
+ "body-xs-medium": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_medium};\n font-size: ${fontSizes_xs}px;\n line-height: 133.33%;\n text-decoration: none;\n letter-spacing: 0.2px`,
6
+ "body-xs-bold": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_bold};\n font-size: ${fontSizes_xs}px;\n line-height: 133.33%;\n text-decoration: none;\n letter-spacing: 0.250px`,
7
+ "body-s-regular": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_regular};\n font-size: ${fontSizes_s}px;\n line-height: 142.86%;\n text-decoration: none;\n letter-spacing: 0.15px`,
8
+ "body-s-medium": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_medium};\n font-size: ${fontSizes_s}px;\n line-height: 142.86%;\n text-decoration: none;\n letter-spacing: 0.15px`,
9
+ "body-s-bold": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_bold};\n font-size: ${fontSizes_s}px;\n line-height: 142.86%;\n text-decoration: none;\n letter-spacing: 0.2px`,
10
+ "body-m-regular": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_regular};\n font-size: ${fontSizes_m}px;\n line-height: 140%;\n text-decoration: none;\n letter-spacing: 0.15px`,
11
+ "body-m-medium": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_medium};\n font-size: ${fontSizes_m}px;\n line-height: 140%;\n text-decoration: none;\n letter-spacing: 0.15px`,
12
+ "body-m-bold": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_bold};\n font-size: ${fontSizes_m}px;\n line-height: 140%;\n text-decoration: none;\n letter-spacing: 0.2px`,
13
+ "body-l-regular": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_regular};\n font-size: ${fontSizes_l}px;\n line-height: 162.5%;\n text-decoration: none;\n letter-spacing: 0.1px`,
14
+ "body-l-medium": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_medium};\n font-size: ${fontSizes_l}px;\n line-height: 162.5%;\n text-decoration: none;\n letter-spacing: 0.1px`,
15
+ "body-l-bold": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_bold};\n font-size: ${fontSizes_l}px;\n line-height: 162.5%;\n text-decoration: none;\n letter-spacing: 0.15px`,
16
+ "body-xl-regular": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_regular};\n font-size: ${fontSizes_xl}px;\n line-height: 162.5%;\n text-decoration: none;\n letter-spacing: 0.1px`,
17
+ "body-xl-medium": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_medium};\n font-size: ${fontSizes_xl}px;\n line-height: 162.5%;\n text-decoration: none;\n letter-spacing: 0.1px`,
18
+ "body-xl-bold": `\n font-family: ${fontFamily};\n font-weight: ${fontWeights_bold};\n font-size: ${fontSizes_xl}px;\n line-height: 162.5%;\n text-decoration: none;\n letter-spacing: 0.15px`,
19
+ "heading-s-medium": `\n font-family: ${fontFamily};\n font-weight: 500;\n font-size: 20px; \n line-height: 140%;\n text-decoration: none;\n letter-spacing: 0.2px`,
20
+ "heading-s-bold": `\n font-family: ${fontFamily};\n font-weight: 600;\n font-size: 20px; \n line-height: 140%;\n text-decoration: none;\n letter-spacing: 0.2px`,
21
+ "heading-m-medium": `\n font-family: ${fontFamily};\n font-weight: 500;\n font-size: 24px; \n line-height: 116.67%;\n text-decoration: none;\n letter-spacing: 0.2px`,
22
+ "heading-m-bold": `\n font-family: ${fontFamily};\n font-weight: 600;\n font-size: 24px; \n line-height: 116.67%;\n text-decoration: none;\n letter-spacing: 0.2px`,
23
+ "heading-l-medium": `\n font-family: ${fontFamily};\n font-weight: 500;\n font-size: 28px; \n line-height: 128.57%;\n text-decoration: none;\n letter-spacing: 0.2px`,
24
+ "heading-l-bold": `\n font-family: ${fontFamily};\n font-weight: 600;\n font-size: 28px; \n line-height: 128.57%;\n text-decoration: none;\n letter-spacing: 0.2px`,
25
+ "heading-xl-medium": `\n font-family: ${fontFamily};\n font-weight: 500;\n font-size: 36px; \n line-height: 128.57%;\n text-decoration: none;\n letter-spacing: 0.2px`,
26
+ "heading-xl-bold": `\n font-family: ${fontFamily};\n font-weight: 600;\n font-size: 36px; \n line-height: 128.57%;\n text-decoration: none;\n letter-spacing: 0.2px`
27
+ }, typeStyles = {
28
+ "body-xs-regular": {
29
+ fontFamily: `${fontFamily}`,
30
+ fontWeight: `${fontWeights_regular}`,
31
+ fontSize: `${fontSizes_xs}px`,
32
+ lineHeight: "133.33%",
33
+ textDecoration: "none",
34
+ letterSpacing: "0.2px"
35
+ },
36
+ "body-xs-medium": {
37
+ fontFamily: `${fontFamily}`,
38
+ fontWeight: `${fontWeights_medium}`,
39
+ fontSize: `${fontSizes_xs}px`,
40
+ lineHeight: "133.33%",
41
+ textDecoration: "none",
42
+ letterSpacing: "0.2px"
43
+ },
44
+ "body-xs-bold": {
45
+ fontFamily: `${fontFamily}`,
46
+ fontWeight: `${fontWeights_bold}`,
47
+ fontSize: `${fontSizes_xs}px`,
48
+ lineHeight: "133.33%",
49
+ textDecoration: "none",
50
+ letterSpacing: "0.250px"
51
+ },
52
+ "body-s-regular": {
53
+ fontFamily: `${fontFamily}`,
54
+ fontWeight: `${fontWeights_regular}`,
55
+ fontSize: `${fontSizes_s}px`,
56
+ lineHeight: "142.86%",
57
+ textDecoration: "none",
58
+ letterSpacing: "0.15px"
59
+ },
60
+ "body-s-medium": {
61
+ fontFamily: `${fontFamily}`,
62
+ fontWeight: `${fontWeights_medium}`,
63
+ fontSize: `${fontSizes_s}px`,
64
+ lineHeight: "142.86%",
65
+ textDecoration: "none",
66
+ letterSpacing: "0.15px"
67
+ },
68
+ "body-s-bold": {
69
+ fontFamily: `${fontFamily}`,
70
+ fontWeight: `${fontWeights_bold}`,
71
+ fontSize: `${fontSizes_s}px`,
72
+ lineHeight: "142.86%",
73
+ textDecoration: "none",
74
+ letterSpacing: "0.2px"
75
+ },
76
+ "body-m-regular": {
77
+ fontFamily: `${fontFamily}`,
78
+ fontWeight: `${fontWeights_regular}`,
79
+ fontSize: `${fontSizes_m}px`,
80
+ lineHeight: "140%",
81
+ textDecoration: "none",
82
+ letterSpacing: "0.15px"
83
+ },
84
+ "body-m-medium": {
85
+ fontFamily: `${fontFamily}`,
86
+ fontWeight: `${fontWeights_medium}`,
87
+ fontSize: `${fontSizes_m}px`,
88
+ lineHeight: "140%",
89
+ textDecoration: "none",
90
+ letterSpacing: "0.15px"
91
+ },
92
+ "body-m-bold": {
93
+ fontFamily: `${fontFamily}`,
94
+ fontWeight: `${fontWeights_bold}`,
95
+ fontSize: `${fontSizes_m}px`,
96
+ lineHeight: "140%",
97
+ textDecoration: "none",
98
+ letterSpacing: "0.2px"
99
+ },
100
+ "body-l-regular": {
101
+ fontFamily: `${fontFamily}`,
102
+ fontWeight: `${fontWeights_regular}`,
103
+ fontSize: `${fontSizes_l}px`,
104
+ lineHeight: "162.5%",
105
+ textDecoration: "none",
106
+ letterSpacing: "0.1px"
107
+ },
108
+ "body-l-medium": {
109
+ fontFamily: `${fontFamily}`,
110
+ fontWeight: `${fontWeights_medium}`,
111
+ fontSize: `${fontSizes_l}px`,
112
+ lineHeight: "162.5%",
113
+ textDecoration: "none",
114
+ letterSpacing: "0.1px"
115
+ },
116
+ "body-l-bold": {
117
+ fontFamily: `${fontFamily}`,
118
+ fontWeight: `${fontWeights_bold}`,
119
+ fontSize: `${fontSizes_l}px`,
120
+ lineHeight: "162.5%",
121
+ textDecoration: "none",
122
+ letterSpacing: "0.15px"
123
+ },
124
+ "body-xl-regular": {
125
+ fontFamily: `${fontFamily}`,
126
+ fontWeight: `${fontWeights_regular}`,
127
+ fontSize: `${fontSizes_xl}px`,
128
+ lineHeight: "162.5%",
129
+ textDecoration: "none",
130
+ letterSpacing: "0.1px"
131
+ },
132
+ "body-xl-medium": {
274
133
  fontFamily: `${fontFamily}`,
275
- fontWeight: `${fontWeights.bold}`,
276
- fontSize: `${fontSizes.m}px`,
277
- lineHeight: '140%',
278
- textDecoration: 'none',
279
- letterSpacing: '0.2px',
280
- },
281
- 'body-l-regular': {
282
- fontFamily: `${fontFamily}`,
283
- fontWeight: `${fontWeights.regular}`,
284
- fontSize: `${fontSizes.l}px`,
285
- lineHeight: '162.5%',
286
- textDecoration: 'none',
287
- letterSpacing: '0.1px',
288
- },
289
- 'body-l-medium': {
290
- fontFamily: `${fontFamily}`,
291
- fontWeight: `${fontWeights.medium}`,
292
- fontSize: `${fontSizes.l}px`,
293
- lineHeight: '162.5%',
294
- textDecoration: 'none',
295
- letterSpacing: '0.1px',
296
- },
297
- 'body-l-bold': {
298
- fontFamily: `${fontFamily}`,
299
- fontWeight: `${fontWeights.bold}`,
300
- fontSize: `${fontSizes.l}px`,
301
- lineHeight: '162.5%',
302
- textDecoration: 'none',
303
- letterSpacing: '0.15px',
304
- },
305
- 'body-xl-regular': {
306
- fontFamily: `${fontFamily}`,
307
- fontWeight: `${fontWeights.regular}`,
308
- fontSize: `${fontSizes.xl}px`,
309
- lineHeight: '162.5%',
310
- textDecoration: 'none',
311
- letterSpacing: '0.1px',
312
- },
313
- 'body-xl-medium': {
314
- fontFamily: `${fontFamily}`,
315
- fontWeight: `${fontWeights.medium}`,
316
- fontSize: `${fontSizes.xl}px`,
317
- lineHeight: '162.5%',
318
- textDecoration: 'none',
319
- letterSpacing: '0.1px',
320
- },
321
- 'body-xl-bold': {
134
+ fontWeight: `${fontWeights_medium}`,
135
+ fontSize: `${fontSizes_xl}px`,
136
+ lineHeight: "162.5%",
137
+ textDecoration: "none",
138
+ letterSpacing: "0.1px"
139
+ },
140
+ "body-xl-bold": {
322
141
  fontFamily: `${fontFamily}`,
323
- fontWeight: `${fontWeights.bold}`,
324
- fontSize: `${fontSizes.xl}px`,
325
- lineHeight: '162.5%',
326
- textDecoration: 'none',
327
- letterSpacing: '0.15px',
328
- },
329
- 'heading-s-medium': {
142
+ fontWeight: `${fontWeights_bold}`,
143
+ fontSize: `${fontSizes_xl}px`,
144
+ lineHeight: "162.5%",
145
+ textDecoration: "none",
146
+ letterSpacing: "0.15px"
147
+ },
148
+ "heading-s-medium": {
330
149
  fontFamily: `${fontFamily}`,
331
- fontWeight: '500',
332
- fontSize: '20px',
333
- lineHeight: '140%',
334
- textDecoration: 'none',
335
- letterSpacing: '0.2px',
336
- },
337
- 'heading-s-bold': {
150
+ fontWeight: "500",
151
+ fontSize: "20px",
152
+ lineHeight: "140%",
153
+ textDecoration: "none",
154
+ letterSpacing: "0.2px"
155
+ },
156
+ "heading-s-bold": {
338
157
  fontFamily: `${fontFamily}`,
339
- fontWeight: '600',
340
- fontSize: '20px',
341
- lineHeight: '140%',
342
- textDecoration: 'none',
343
- letterSpacing: '0.2px',
344
- },
345
- 'heading-m-medium': {
158
+ fontWeight: "600",
159
+ fontSize: "20px",
160
+ lineHeight: "140%",
161
+ textDecoration: "none",
162
+ letterSpacing: "0.2px"
163
+ },
164
+ "heading-m-medium": {
346
165
  fontFamily: `${fontFamily}`,
347
- fontWeight: '500',
348
- fontSize: '24px',
349
- lineHeight: '116.67%',
350
- textDecoration: 'none',
351
- letterSpacing: '0.2px',
352
- },
353
- 'heading-m-bold': {
166
+ fontWeight: "500",
167
+ fontSize: "24px",
168
+ lineHeight: "116.67%",
169
+ textDecoration: "none",
170
+ letterSpacing: "0.2px"
171
+ },
172
+ "heading-m-bold": {
354
173
  fontFamily: `${fontFamily}`,
355
- fontWeight: '600',
356
- fontSize: '24px',
357
- lineHeight: '116.67%',
358
- textDecoration: 'none',
359
- letterSpacing: '0.2px',
360
- },
361
- 'heading-l-medium': {
174
+ fontWeight: "600",
175
+ fontSize: "24px",
176
+ lineHeight: "116.67%",
177
+ textDecoration: "none",
178
+ letterSpacing: "0.2px"
179
+ },
180
+ "heading-l-medium": {
362
181
  fontFamily: `${fontFamily}`,
363
- fontWeight: '500',
364
- fontSize: '30px',
365
- lineHeight: '128.57%',
366
- textDecoration: 'none',
367
- letterSpacing: '0.2px',
368
- },
369
- 'heading-l-bold': {
182
+ fontWeight: "500",
183
+ fontSize: "30px",
184
+ lineHeight: "128.57%",
185
+ textDecoration: "none",
186
+ letterSpacing: "0.2px"
187
+ },
188
+ "heading-l-bold": {
370
189
  fontFamily: `${fontFamily}`,
371
- fontWeight: '600',
372
- fontSize: '30px',
373
- lineHeight: '128.57%',
374
- textDecoration: 'none',
375
- letterSpacing: '0.2px',
376
- },
377
- 'heading-xl-medium': {
190
+ fontWeight: "600",
191
+ fontSize: "30px",
192
+ lineHeight: "128.57%",
193
+ textDecoration: "none",
194
+ letterSpacing: "0.2px"
195
+ },
196
+ "heading-xl-medium": {
378
197
  fontFamily: `${fontFamily}`,
379
- fontWeight: '500',
380
- fontSize: '36px',
381
- lineHeight: '128.57%',
382
- textDecoration: 'none',
383
- letterSpacing: '0.2px',
384
- },
385
- 'heading-xl-bold': {
198
+ fontWeight: "500",
199
+ fontSize: "36px",
200
+ lineHeight: "128.57%",
201
+ textDecoration: "none",
202
+ letterSpacing: "0.2px"
203
+ },
204
+ "heading-xl-bold": {
386
205
  fontFamily: `${fontFamily}`,
387
- fontWeight: '600',
388
- fontSize: '36px',
389
- lineHeight: '128.57%',
390
- textDecoration: 'none',
391
- letterSpacing: '0.2px',
392
- },
206
+ fontWeight: "600",
207
+ fontSize: "36px",
208
+ lineHeight: "128.57%",
209
+ textDecoration: "none",
210
+ letterSpacing: "0.2px"
211
+ }
393
212
  };
394
213
 
395
- exports.type = type;
396
- exports.typeCssClasses = typeCssClasses;
397
- exports.typeStyles = typeStyles;
214
+ exports.type = type, exports.typeCssClasses = {
215
+ "body-xs-regular": "body-xs-regular",
216
+ "body-xs-medium": "body-xs-medium",
217
+ "body-xs-bold": "body-xs-bold",
218
+ "body-s-regular": "body-s-regular",
219
+ "body-s-medium": "body-s-medium",
220
+ "body-s-bold": "body-s-bold",
221
+ "body-m-regular": "body-m-regular",
222
+ "body-m-medium": "body-m-medium",
223
+ "body-m-bold": "body-m-bold",
224
+ "body-l-regular": "body-l-regular",
225
+ "body-l-medium": "body-l-medium",
226
+ "body-l-bold": "body-l-bold",
227
+ "body-xl-regular": "body-xl-regular",
228
+ "body-xl-medium": "body-xl-medium",
229
+ "body-xl-bold": "body-xl-bold",
230
+ "heading-s-bold": "heading-s-bold",
231
+ "heading-s-medium": "heading-s-medium",
232
+ "heading-m-medium": "heading-m-medium",
233
+ "heading-m-bold": "heading-m-bold",
234
+ "heading-l-medium": "heading-l-medium",
235
+ "heading-l-bold": "heading-l-bold",
236
+ "heading-xl-medium": "heading-xl-medium",
237
+ "heading-xl-bold": "heading-xl-bold"
238
+ }, exports.typeStyles = typeStyles;
package/dist/cjs/theme.js CHANGED
@@ -1,16 +1,8 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
- var theme_themes = require('./theme/themes.js');
4
- var theme_colors = require('./theme/colors.js');
5
- var theme_elevations = require('./theme/elevations.js');
6
- require('./theme/corners.js');
7
- require('./theme/type.js');
3
+ var theme_themes = require("./theme/themes.js"), theme_colors = require("./theme/colors.js"), theme_elevations = require("./theme/elevations.js");
8
4
 
9
-
10
-
11
- exports.darkTheme = theme_themes.darkTheme;
12
- exports.lightTheme = theme_themes.lightTheme;
13
- exports.dark = theme_colors.dark;
14
- exports.light = theme_colors.light;
15
- exports.Elevation = theme_elevations.elevations;
5
+ require("./theme/corners.js"), require("./theme/type.js"), exports.darkTheme = theme_themes.darkTheme,
6
+ exports.lightTheme = theme_themes.lightTheme, exports.dark = theme_colors.dark,
7
+ exports.light = theme_colors.light, exports.Elevation = theme_elevations.elevations,
16
8
  exports.elevations = theme_elevations.elevations;