@react-fabric/core 1.0.0-beta.4 → 1.0.0-beta.40

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 (343) hide show
  1. package/{src/components/actionLabel/ActionLabel.module.css → css/components/_actionLabel.css} +4 -4
  2. package/{src/overlays/alert/Alert.module.css → css/components/_alert.css} +3 -3
  3. package/{src/components/animations/Animations.module.css → css/components/_animations.css} +9 -9
  4. package/{src/components/avatar/Avatar.module.css → css/components/_avatar.css} +11 -11
  5. package/{src/components/badge/Badge.module.css → css/components/_badge.css} +19 -17
  6. package/{src/components/breadcrumbs/Breadcrumbs.module.css → css/components/_breadcrumbs.css} +49 -44
  7. package/{src/components/button/Button.module.css → css/components/_button.css} +68 -78
  8. package/{src/components/card/Card.module.css → css/components/_card.css} +32 -28
  9. package/{src/components/chip/Chip.module.css → css/components/_chip.css} +15 -11
  10. package/{src/components/collapsable/Collapsable.module.css → css/components/_collapsable.css} +3 -3
  11. package/css/components/_divider.css +32 -0
  12. package/{src/components/dropdown/Dropdown.module.css → css/components/_dropdown.css} +2 -2
  13. package/{src/overlays/flyout/Flyout.module.css → css/components/_flyout.css} +6 -6
  14. package/{src/components/icon/Icon.module.css → css/components/_icon.css} +8 -5
  15. package/{src/components/media/Media.module.css → css/components/_media.css} +17 -17
  16. package/{src/components/menu/Menu.module.css → css/components/_menu.css} +15 -16
  17. package/{src/overlays/message/Message.module.css → css/components/_message.css} +2 -2
  18. package/{src/components/meter/Meter.module.css → css/components/_meter.css} +10 -10
  19. package/{src/overlays/modal/Modal.module.css → css/components/_modal.css} +6 -6
  20. package/{src/components/panel/Panel.module.css → css/components/_panel.css} +17 -17
  21. package/{src/components/progress/Progress.module.css → css/components/_progress.css} +7 -10
  22. package/{src/components/tabpanel/TabPanel.module.css → css/components/_tabPanel.css} +73 -84
  23. package/{src/overlays/toast/Toast.module.css → css/components/_toast.css} +2 -2
  24. package/css/components/_tooltip.css +29 -0
  25. package/{src/core/content/Content.module.css → css/components/index.css} +25 -18
  26. package/{src/core/aside/Aside.module.css → css/core/_aside.css} +42 -42
  27. package/{src/core/section/Section.module.css → css/core/_content.css} +5 -3
  28. package/{src/core/boundary/ErrorBoundary.module.css → css/core/_errorboundary.css} +9 -9
  29. package/{src/core/headfoot/HeadFoot.module.css → css/core/_headfoot.css} +4 -10
  30. package/{src/core/page/Page.module.css → css/core/_page.css} +10 -14
  31. package/{src/core/responsive/Responsive.module.css → css/core/_responsive.css} +10 -10
  32. package/css/core/_section.css +28 -0
  33. package/{src/core/theme/Theme.module.css → css/core/_theme.css} +3 -3
  34. package/{src/typography/Typography.module.css → css/core/_typography.css} +14 -12
  35. package/{src/core/viewport/Viewport.module.css → css/core/_viewport.css} +7 -3
  36. package/css/core/index.css +33 -0
  37. package/css/reset/_gradients.css +8 -8
  38. package/css/reset/_reset.css +41 -223
  39. package/css/reset/_text.css +14 -29
  40. package/css/reset/_theme.css +315 -32
  41. package/css/reset/index.css +4 -4
  42. package/css/styles.css +7 -6
  43. package/css/theme/_colors.css +320 -0
  44. package/css/theme/_utilities.css +530 -0
  45. package/css/theme/index.css +44 -0
  46. package/dist/cjs/components/actionLabel/ActionLabel.js +3 -3
  47. package/dist/cjs/components/animations/Animations.js +29 -18
  48. package/dist/cjs/components/avatar/Avatar.js +10 -13
  49. package/dist/cjs/components/avatar/AvatarGroup.js +3 -3
  50. package/dist/cjs/components/badge/Badge.js +5 -5
  51. package/dist/cjs/components/breadcrumbs/Breadcrumbs.js +10 -8
  52. package/dist/cjs/components/button/Button.js +18 -14
  53. package/dist/cjs/components/button/ButtonGroup.js +4 -3
  54. package/dist/cjs/components/button/ConfirmButton.js +7 -2
  55. package/dist/cjs/components/button/ToggleButtonGroup.js +3 -3
  56. package/dist/cjs/components/callout/Callout.js +15 -4
  57. package/dist/cjs/components/card/Card.js +8 -7
  58. package/dist/cjs/components/card/CardCover.js +10 -5
  59. package/dist/cjs/components/chip/Chip.js +11 -7
  60. package/dist/cjs/components/collapsable/Collapsable.js +5 -5
  61. package/dist/cjs/components/divider/Divider.js +10 -7
  62. package/dist/cjs/components/dropdown/Dropdown.js +5 -4
  63. package/dist/cjs/components/dropdown/DropdownTool.js +4 -3
  64. package/dist/cjs/components/icon/Icon.js +15 -14
  65. package/dist/cjs/components/media/Media.js +116 -75
  66. package/dist/cjs/components/menu/ContextMenu.js +30 -10
  67. package/dist/cjs/components/menu/Menu.js +39 -20
  68. package/dist/cjs/components/menu/MenuItem.js +30 -16
  69. package/dist/cjs/components/meter/Meter.js +2 -3
  70. package/dist/cjs/components/navigator/Navigator.js +16 -9
  71. package/dist/cjs/components/panel/Panel.js +10 -9
  72. package/dist/cjs/components/panel/PanelGroup.js +1 -2
  73. package/dist/cjs/components/progress/ProgressBar.js +6 -5
  74. package/dist/cjs/components/progress/ProgressCircle.js +6 -4
  75. package/dist/cjs/components/tabpanel/Tab.js +58 -38
  76. package/dist/cjs/components/tabpanel/TabPanel.js +20 -16
  77. package/dist/cjs/core/aside/Aside.js +11 -10
  78. package/dist/cjs/core/boundary/ErrorBoundary.js +6 -7
  79. package/dist/cjs/core/boundary/ErrorIcon.js +1 -2
  80. package/dist/cjs/core/content/Content.js +9 -7
  81. package/dist/cjs/core/headfoot/HeadFoot.js +2 -20
  82. package/dist/cjs/core/page/Page.js +3 -3
  83. package/dist/cjs/core/responsive/Responsive.js +3 -4
  84. package/dist/cjs/core/section/Section.js +1 -2
  85. package/dist/cjs/core/theme/ThemeProvider.js +7 -8
  86. package/dist/cjs/core/viewport/Viewport.js +4 -2
  87. package/dist/cjs/hooks/useNavigator.js +6 -4
  88. package/dist/cjs/hotkeys/HotKeyLabel.js +1 -1
  89. package/dist/cjs/hotkeys/HotKeyWrapper.js +3 -1
  90. package/dist/cjs/index.js +6 -2
  91. package/dist/cjs/overlays/alert/Alert.js +19 -13
  92. package/dist/cjs/overlays/flyout/Flyout.js +42 -44
  93. package/dist/cjs/overlays/message/Message.js +6 -3
  94. package/dist/cjs/overlays/modal/Modal.js +9 -10
  95. package/dist/cjs/overlays/toast/Toast.js +17 -9
  96. package/dist/cjs/overlays/tooltip/Tooltip.js +20 -8
  97. package/dist/cjs/types/icons.js +4 -0
  98. package/dist/cjs/typography/Abbr.js +2 -3
  99. package/dist/cjs/typography/{Link.js → Anchor.js} +5 -4
  100. package/dist/cjs/typography/Mark.js +2 -3
  101. package/dist/cjs/typography/Text.js +3 -4
  102. package/dist/cjs/typography/Title.js +3 -3
  103. package/dist/cjs/utils/cloneElement.js +44 -0
  104. package/dist/cjs/utils/getColor.js +1 -18
  105. package/dist/esm/components/actionLabel/ActionLabel.js +3 -3
  106. package/dist/esm/components/animations/Animations.js +30 -19
  107. package/dist/esm/components/avatar/Avatar.js +11 -14
  108. package/dist/esm/components/avatar/AvatarGroup.js +3 -3
  109. package/dist/esm/components/badge/Badge.js +5 -5
  110. package/dist/esm/components/breadcrumbs/Breadcrumbs.js +10 -8
  111. package/dist/esm/components/button/Button.js +18 -14
  112. package/dist/esm/components/button/ButtonGroup.js +5 -4
  113. package/dist/esm/components/button/ConfirmButton.js +7 -2
  114. package/dist/esm/components/button/ToggleButtonGroup.js +4 -4
  115. package/dist/esm/components/callout/Callout.js +15 -4
  116. package/dist/esm/components/card/Card.js +8 -7
  117. package/dist/esm/components/card/CardCover.js +10 -5
  118. package/dist/esm/components/chip/Chip.js +12 -8
  119. package/dist/esm/components/collapsable/Collapsable.js +5 -5
  120. package/dist/esm/components/divider/Divider.js +11 -8
  121. package/dist/esm/components/dropdown/Dropdown.js +5 -4
  122. package/dist/esm/components/dropdown/DropdownTool.js +4 -3
  123. package/dist/esm/components/icon/Icon.js +15 -14
  124. package/dist/esm/components/media/Media.js +117 -76
  125. package/dist/esm/components/menu/ContextMenu.js +32 -12
  126. package/dist/esm/components/menu/Menu.js +41 -22
  127. package/dist/esm/components/menu/MenuItem.js +24 -10
  128. package/dist/esm/components/meter/Meter.js +2 -3
  129. package/dist/esm/components/navigator/Navigator.js +16 -9
  130. package/dist/esm/components/panel/Panel.js +10 -9
  131. package/dist/esm/components/panel/PanelGroup.js +1 -2
  132. package/dist/esm/components/progress/ProgressBar.js +6 -5
  133. package/dist/esm/components/progress/ProgressCircle.js +6 -4
  134. package/dist/esm/components/tabpanel/Tab.js +59 -39
  135. package/dist/esm/components/tabpanel/TabPanel.js +20 -16
  136. package/dist/esm/core/aside/Aside.js +11 -10
  137. package/dist/esm/core/boundary/ErrorBoundary.js +6 -7
  138. package/dist/esm/core/boundary/ErrorIcon.js +1 -2
  139. package/dist/esm/core/content/Content.js +9 -7
  140. package/dist/esm/core/headfoot/HeadFoot.js +2 -20
  141. package/dist/esm/core/page/Page.js +3 -3
  142. package/dist/esm/core/responsive/Responsive.js +3 -4
  143. package/dist/esm/core/section/Section.js +1 -2
  144. package/dist/esm/core/theme/ThemeProvider.js +7 -8
  145. package/dist/esm/core/viewport/Viewport.js +4 -2
  146. package/dist/esm/hooks/useNavigator.js +7 -5
  147. package/dist/esm/hotkeys/HotKeyLabel.js +1 -1
  148. package/dist/esm/hotkeys/HotKeyWrapper.js +3 -1
  149. package/dist/esm/index.js +3 -1
  150. package/dist/esm/overlays/alert/Alert.js +20 -14
  151. package/dist/esm/overlays/flyout/Flyout.js +43 -45
  152. package/dist/esm/overlays/message/Message.js +7 -4
  153. package/dist/esm/overlays/modal/Modal.js +10 -11
  154. package/dist/esm/overlays/toast/Toast.js +18 -10
  155. package/dist/esm/overlays/tooltip/Tooltip.js +20 -8
  156. package/dist/esm/types/icons.js +4 -0
  157. package/dist/esm/typography/Abbr.js +2 -3
  158. package/dist/esm/typography/{Link.js → Anchor.js} +6 -5
  159. package/dist/esm/typography/Mark.js +2 -3
  160. package/dist/esm/typography/Text.js +4 -5
  161. package/dist/esm/typography/Title.js +4 -4
  162. package/dist/esm/utils/cloneElement.js +44 -0
  163. package/dist/esm/utils/getColor.js +2 -16
  164. package/dist/types/components/actionLabel/ActionLabel.d.ts +2 -2
  165. package/dist/types/components/animations/Animations.d.ts +5 -5
  166. package/dist/types/components/avatar/Avatar.d.ts +3 -3
  167. package/dist/types/components/badge/Badge.d.ts +5 -1
  168. package/dist/types/components/breadcrumbs/Breadcrumbs.d.ts +2 -2
  169. package/dist/types/components/button/Button.d.ts +7 -5
  170. package/dist/types/components/button/ButtonGroup.d.ts +2 -2
  171. package/dist/types/components/button/ConfirmButton.d.ts +6 -1
  172. package/dist/types/components/callout/Callout.d.ts +2 -2
  173. package/dist/types/components/card/Card.d.ts +3 -3
  174. package/dist/types/components/chip/Chip.d.ts +3 -3
  175. package/dist/types/components/collapsable/Collapsable.d.ts +5 -1
  176. package/dist/types/components/divider/Divider.d.ts +7 -3
  177. package/dist/types/components/dropdown/DropdownTool.d.ts +2 -1
  178. package/dist/types/components/icon/Icon.d.ts +3 -3
  179. package/dist/types/components/media/Media.d.ts +2 -2
  180. package/dist/types/components/menu/ContextMenu.d.ts +2 -1
  181. package/dist/types/components/menu/MenuItem.d.ts +1 -1
  182. package/dist/types/components/menu/types.d.ts +2 -2
  183. package/dist/types/components/navigator/Navigator.d.ts +4 -4
  184. package/dist/types/components/progress/ProgressBar.d.ts +2 -2
  185. package/dist/types/components/progress/ProgressCircle.d.ts +2 -2
  186. package/dist/types/components/tabpanel/Tab.d.ts +5 -5
  187. package/dist/types/components/tabpanel/TabPanel.d.ts +10 -1
  188. package/dist/types/core/content/Content.d.ts +3 -2
  189. package/dist/types/core/headfoot/HeadFoot.d.ts +1 -9
  190. package/dist/types/core/responsive/Responsive.d.ts +1 -1
  191. package/dist/types/core/theme/ThemeProvider.d.ts +4 -4
  192. package/dist/types/hooks/useOverlayService.d.ts +3 -5
  193. package/dist/types/index.d.ts +3 -0
  194. package/dist/types/overlays/alert/Alert.d.ts +2 -2
  195. package/dist/types/overlays/flyout/Flyout.d.ts +3 -2
  196. package/dist/types/overlays/message/Message.d.ts +2 -2
  197. package/dist/types/overlays/modal/Modal.d.ts +4 -3
  198. package/dist/types/overlays/toast/Toast.d.ts +2 -2
  199. package/dist/types/overlays/tooltip/Tooltip.d.ts +1 -1
  200. package/dist/types/types/icons.d.ts +4 -0
  201. package/dist/types/types/index.d.ts +18 -6
  202. package/dist/types/typography/Abbr.d.ts +6 -2
  203. package/dist/types/typography/Anchor.d.ts +25 -0
  204. package/dist/types/typography/Mark.d.ts +2 -2
  205. package/dist/types/typography/index.d.ts +1 -1
  206. package/dist/types/utils/cloneElement.d.ts +2 -0
  207. package/dist/types/utils/getColor.d.ts +1 -4
  208. package/dist/types/utils/index.d.ts +1 -0
  209. package/package.json +7 -9
  210. package/src/components/actionLabel/ActionLabel.tsx +15 -6
  211. package/src/components/animations/Animations.tsx +29 -23
  212. package/src/components/avatar/Avatar.tsx +74 -88
  213. package/src/components/avatar/AvatarGroup.tsx +4 -4
  214. package/src/components/badge/Badge.tsx +11 -7
  215. package/src/components/breadcrumbs/Breadcrumbs.tsx +13 -9
  216. package/src/components/button/Button.tsx +27 -22
  217. package/src/components/button/ButtonGroup.tsx +7 -7
  218. package/src/components/button/ConfirmButton.tsx +15 -5
  219. package/src/components/button/ToggleButtonGroup.tsx +5 -5
  220. package/src/components/callout/Callout.tsx +26 -11
  221. package/src/components/card/Card.tsx +10 -7
  222. package/src/components/card/CardCover.tsx +11 -6
  223. package/src/components/chip/Chip.tsx +17 -13
  224. package/src/components/collapsable/Collapsable.tsx +9 -4
  225. package/src/components/divider/Divider.tsx +15 -10
  226. package/src/components/dropdown/Dropdown.tsx +5 -5
  227. package/src/components/dropdown/DropdownTool.tsx +5 -3
  228. package/src/components/icon/Icon.tsx +55 -67
  229. package/src/components/media/Media.tsx +141 -106
  230. package/src/components/menu/ContextMenu.tsx +36 -11
  231. package/src/components/menu/Menu.tsx +51 -30
  232. package/src/components/menu/MenuItem.tsx +19 -9
  233. package/src/components/menu/types.ts +2 -2
  234. package/src/components/meter/Meter.tsx +2 -3
  235. package/src/components/navigator/Navigator.tsx +19 -5
  236. package/src/components/panel/Panel.tsx +10 -9
  237. package/src/components/panel/PanelGroup.tsx +1 -2
  238. package/src/components/progress/ProgressBar.tsx +8 -9
  239. package/src/components/progress/ProgressCircle.tsx +6 -9
  240. package/src/components/tabpanel/Tab.tsx +81 -64
  241. package/src/components/tabpanel/TabPanel.tsx +34 -12
  242. package/src/core/aside/Aside.tsx +11 -10
  243. package/src/core/boundary/ErrorBoundary.tsx +8 -7
  244. package/src/core/boundary/ErrorIcon.tsx +1 -2
  245. package/src/core/content/Content.tsx +17 -12
  246. package/src/core/headfoot/HeadFoot.tsx +2 -35
  247. package/src/core/page/Page.tsx +3 -3
  248. package/src/core/responsive/Responsive.tsx +8 -7
  249. package/src/core/section/Section.tsx +1 -2
  250. package/src/core/theme/ThemeProvider.tsx +11 -12
  251. package/src/core/viewport/Viewport.tsx +1 -2
  252. package/src/hooks/useNavigator.tsx +10 -5
  253. package/src/hooks/useOverlayService.tsx +12 -6
  254. package/src/hotkeys/HotKeyLabel.tsx +1 -1
  255. package/src/hotkeys/HotKeyWrapper.tsx +3 -1
  256. package/src/index.ts +4 -0
  257. package/src/overlays/alert/Alert.tsx +25 -31
  258. package/src/overlays/flyout/Flyout.tsx +65 -64
  259. package/src/overlays/message/Message.tsx +10 -7
  260. package/src/overlays/modal/Modal.tsx +18 -13
  261. package/src/overlays/toast/Toast.tsx +18 -27
  262. package/src/overlays/tooltip/Tooltip.tsx +30 -9
  263. package/src/types/icons.ts +9 -0
  264. package/src/types/index.ts +240 -27
  265. package/src/typography/Abbr.tsx +15 -9
  266. package/src/typography/{Link.tsx → Anchor.tsx} +8 -13
  267. package/src/typography/Mark.tsx +4 -9
  268. package/src/typography/Text.tsx +4 -12
  269. package/src/typography/Title.tsx +2 -6
  270. package/src/typography/index.ts +1 -1
  271. package/src/utils/cloneElement.ts +44 -0
  272. package/src/utils/getColor.ts +1 -17
  273. package/src/utils/index.ts +1 -0
  274. package/css/index.js +0 -250
  275. package/css/tailwind/colors.ts +0 -158
  276. package/dist/cjs/components/actionLabel/ActionLabel.module.css +0 -1
  277. package/dist/cjs/components/animations/Animations.module.css +0 -1
  278. package/dist/cjs/components/avatar/Avatar.module.css +0 -1
  279. package/dist/cjs/components/badge/Badge.module.css +0 -1
  280. package/dist/cjs/components/breadcrumbs/Breadcrumbs.module.css +0 -1
  281. package/dist/cjs/components/button/Button.module.css +0 -1
  282. package/dist/cjs/components/card/Card.module.css +0 -1
  283. package/dist/cjs/components/chip/Chip.module.css +0 -1
  284. package/dist/cjs/components/collapsable/Collapsable.module.css +0 -1
  285. package/dist/cjs/components/dropdown/Dropdown.module.css +0 -1
  286. package/dist/cjs/components/icon/Icon.module.css +0 -1
  287. package/dist/cjs/components/media/Media.module.css +0 -1
  288. package/dist/cjs/components/menu/Menu.module.css +0 -1
  289. package/dist/cjs/components/meter/Meter.module.css +0 -1
  290. package/dist/cjs/components/panel/Panel.module.css +0 -1
  291. package/dist/cjs/components/progress/Progress.module.css +0 -1
  292. package/dist/cjs/components/tabpanel/TabPanel.module.css +0 -1
  293. package/dist/cjs/core/aside/Aside.module.css +0 -1
  294. package/dist/cjs/core/boundary/ErrorBoundary.module.css +0 -1
  295. package/dist/cjs/core/content/Content.module.css +0 -1
  296. package/dist/cjs/core/headfoot/HeadFoot.module.css +0 -1
  297. package/dist/cjs/core/page/Page.module.css +0 -1
  298. package/dist/cjs/core/responsive/Responsive.module.css +0 -1
  299. package/dist/cjs/core/section/Section.module.css +0 -1
  300. package/dist/cjs/core/theme/Theme.module.css +0 -1
  301. package/dist/cjs/core/viewport/Viewport.module.css +0 -1
  302. package/dist/cjs/overlays/alert/Alert.module.css +0 -1
  303. package/dist/cjs/overlays/flyout/Flyout.module.css +0 -1
  304. package/dist/cjs/overlays/message/Message.module.css +0 -1
  305. package/dist/cjs/overlays/modal/Modal.module.css +0 -1
  306. package/dist/cjs/overlays/toast/Toast.module.css +0 -1
  307. package/dist/cjs/overlays/tooltip/Tooltip.module.css +0 -1
  308. package/dist/cjs/typography/Typography.module.css +0 -1
  309. package/dist/esm/components/actionLabel/ActionLabel.module.css +0 -1
  310. package/dist/esm/components/animations/Animations.module.css +0 -1
  311. package/dist/esm/components/avatar/Avatar.module.css +0 -1
  312. package/dist/esm/components/badge/Badge.module.css +0 -1
  313. package/dist/esm/components/breadcrumbs/Breadcrumbs.module.css +0 -1
  314. package/dist/esm/components/button/Button.module.css +0 -1
  315. package/dist/esm/components/card/Card.module.css +0 -1
  316. package/dist/esm/components/chip/Chip.module.css +0 -1
  317. package/dist/esm/components/collapsable/Collapsable.module.css +0 -1
  318. package/dist/esm/components/dropdown/Dropdown.module.css +0 -1
  319. package/dist/esm/components/icon/Icon.module.css +0 -1
  320. package/dist/esm/components/media/Media.module.css +0 -1
  321. package/dist/esm/components/menu/Menu.module.css +0 -1
  322. package/dist/esm/components/meter/Meter.module.css +0 -1
  323. package/dist/esm/components/panel/Panel.module.css +0 -1
  324. package/dist/esm/components/progress/Progress.module.css +0 -1
  325. package/dist/esm/components/tabpanel/TabPanel.module.css +0 -1
  326. package/dist/esm/core/aside/Aside.module.css +0 -1
  327. package/dist/esm/core/boundary/ErrorBoundary.module.css +0 -1
  328. package/dist/esm/core/content/Content.module.css +0 -1
  329. package/dist/esm/core/headfoot/HeadFoot.module.css +0 -1
  330. package/dist/esm/core/page/Page.module.css +0 -1
  331. package/dist/esm/core/responsive/Responsive.module.css +0 -1
  332. package/dist/esm/core/section/Section.module.css +0 -1
  333. package/dist/esm/core/theme/Theme.module.css +0 -1
  334. package/dist/esm/core/viewport/Viewport.module.css +0 -1
  335. package/dist/esm/overlays/alert/Alert.module.css +0 -1
  336. package/dist/esm/overlays/flyout/Flyout.module.css +0 -1
  337. package/dist/esm/overlays/message/Message.module.css +0 -1
  338. package/dist/esm/overlays/modal/Modal.module.css +0 -1
  339. package/dist/esm/overlays/toast/Toast.module.css +0 -1
  340. package/dist/esm/overlays/tooltip/Tooltip.module.css +0 -1
  341. package/dist/esm/typography/Typography.module.css +0 -1
  342. package/dist/types/typography/Link.d.ts +0 -25
  343. package/src/overlays/tooltip/Tooltip.module.css +0 -53
@@ -21,9 +21,9 @@
21
21
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  */
23
23
 
24
- @layer comp {
25
- .mediaContainer {
26
- &.mediaReel {
24
+ @layer components {
25
+ .fabric-mediaContainer {
26
+ &.fabric-mediaReel {
27
27
  &::after,
28
28
  &::before {
29
29
  content: "";
@@ -57,54 +57,54 @@
57
57
  }
58
58
  }
59
59
 
60
- & .mediaPlaceholder {
60
+ & .fabric-mediaPlaceholder {
61
61
  /* might add styles later */
62
62
  }
63
63
 
64
- & .mediaControls {
64
+ & .fabric-mediaControls {
65
65
  & [data-ref="button"] {
66
66
  margin: 0;
67
67
 
68
68
  & > :first-child {
69
69
  color: #fff;
70
- background-color: theme(colors.black/50%);
70
+ background-color: --alpha(var(--color-black) / 50%);
71
71
 
72
72
  &:hover {
73
- color: theme(colors.primary.600);
74
- background-color: theme(colors.black/80%);
73
+ color: var(--color-primary-600);
74
+ background-color: --alpha(var(--color-black) / 80%);
75
75
  }
76
76
  }
77
77
  }
78
78
 
79
- & .mediaControlAction > :first-child {
80
- background-color: theme(colors.black/70%);
79
+ & .fabric-mediaControlAction > :first-child {
80
+ background-color: --alpha(var(--color-black) / 70%);
81
81
  }
82
82
 
83
- & .mediaControlPlaceholder {
83
+ & .fabric-mediaControlPlaceholder {
84
84
  /* might add styles later */
85
85
  }
86
86
 
87
- & .mediaControlAction + .mediaControlAction {
87
+ & .fabric-mediaControlAction + .fabric-mediaControlAction {
88
88
  margin-top: 8px;
89
89
  }
90
90
  }
91
91
  }
92
92
 
93
- .media {
93
+ .fabric-media {
94
94
  /* might add styles later */
95
95
  }
96
96
  }
97
97
 
98
- @layer util {
99
- & .mediaControls {
98
+ @layer utilities {
99
+ & .fabric-mediaControls {
100
100
  &:hover {
101
- & .mediaControlPlaceholder {
101
+ & .fabric-mediaControlPlaceholder {
102
102
  display: none;
103
103
  }
104
104
  }
105
105
 
106
106
  &:not(:hover) {
107
- & .mediaControlAction {
107
+ & .fabric-mediaControlAction {
108
108
  display: none;
109
109
  }
110
110
  }
@@ -21,34 +21,34 @@
21
21
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  */
23
23
 
24
- @layer comp {
25
- .menuItem {
26
- --color: theme(colors.primary.DEFAULT);
24
+ @layer components {
25
+ .fabric-menuItem {
26
+ --color: var(--color-primary-500);
27
27
 
28
28
  &[data-color="accent"] {
29
- --color: theme(colors.accent.DEFAULT);
29
+ --color: var(--color-accent-500);
30
30
  }
31
31
 
32
32
  &[data-color="info"] {
33
- --color: theme(colors.info.DEFAULT);
33
+ --color: var(--color-info-500);
34
34
  }
35
35
 
36
36
  &[data-color="danger"] {
37
- --color: theme(colors.danger.DEFAULT);
37
+ --color: var(--color-danger-500);
38
38
  }
39
39
 
40
40
  &[data-color="success"] {
41
- --color: theme(colors.success.DEFAULT);
41
+ --color: var(--color-success-500);
42
42
  }
43
43
 
44
44
  &[data-color="warning"] {
45
- --color: theme(colors.warning.DEFAULT);
45
+ --color: var(--color-warning-500);
46
46
  }
47
47
  }
48
48
  }
49
49
 
50
- @layer var {
51
- .menuItem {
50
+ @layer variants {
51
+ .fabric-menuItem {
52
52
  color: color-mix(in lab, var(--color) 80%, var(--fabric-text));
53
53
 
54
54
  > * {
@@ -67,15 +67,14 @@
67
67
  background-color: color(from var(--color) srgb r g b / 10%);
68
68
  }
69
69
 
70
- &.active,
71
- &:global(.active) {
70
+ &.active {
72
71
  pointer-events: none;
73
72
  background-color: color(from var(--color) srgb r g b / 20%);
74
73
 
75
74
  & > div {
76
75
  box-shadow: 4px 0 0 var(--color) inset;
77
76
 
78
- :global([dir="rtl"]) & {
77
+ @variant rtl {
79
78
  box-shadow: -4px 0 0 var(--color) inset;
80
79
  }
81
80
  }
@@ -83,7 +82,7 @@
83
82
 
84
83
  &.disabled {
85
84
  pointer-events: none;
86
- color: theme(textColor.tint.500);
85
+ color: var(--text-tint-500);
87
86
  opacity: 0.5;
88
87
 
89
88
  & > label ~ * {
@@ -92,7 +91,7 @@
92
91
  }
93
92
  }
94
93
 
95
- .menuIcon {
94
+ .fabric-menuIcon {
96
95
  padding: 0.3em;
97
96
  font-size: 1.25em;
98
97
 
@@ -103,7 +102,7 @@
103
102
  }
104
103
  }
105
104
 
106
- :global(.menu-list.hide-icons) .menuIcon {
105
+ .fabric-menu-list.hide-icons .fabric-menuIcon {
107
106
  width: 0.125em;
108
107
  }
109
108
  }
@@ -21,8 +21,8 @@
21
21
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  */
23
23
 
24
- @layer comp {
25
- .message {
24
+ @layer components {
25
+ .fabric-message {
26
26
  margin-top: -100%;
27
27
  opacity: 0;
28
28
  transition:
@@ -21,9 +21,9 @@
21
21
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  */
23
23
 
24
- @layer comp {
25
- .meter {
26
- & .meterBar {
24
+ @layer components {
25
+ .fabric-meter {
26
+ & .fabric-meterBar {
27
27
  flex: 1 1 1rem;
28
28
 
29
29
  min-width: 1rem;
@@ -42,7 +42,7 @@
42
42
  line-height: 1;
43
43
  }
44
44
 
45
- & .meterBar[data-active="true"] {
45
+ & .fabric-meterBar[data-active="true"] {
46
46
  &:nth-child(1),
47
47
  &:nth-child(2),
48
48
  &:nth-child(3),
@@ -80,12 +80,12 @@
80
80
  }
81
81
  }
82
82
 
83
- &[class*="text-primary"] .meterBar[data-active="true"],
84
- &[class*="text-accent"] .meterBar[data-active="true"],
85
- &[class*="text-info"] .meterBar[data-active="true"],
86
- &[class*="text-danger"] .meterBar[data-active="true"],
87
- &[class*="text-success"] .meterBar[data-active="true"],
88
- &[class*="text-warning"] .meterBar[data-active="true"] {
83
+ &[class*="text-primary"] .fabric-meterBar[data-active="true"],
84
+ &[class*="text-accent"] .fabric-meterBar[data-active="true"],
85
+ &[class*="text-info"] .fabric-meterBar[data-active="true"],
86
+ &[class*="text-danger"] .fabric-meterBar[data-active="true"],
87
+ &[class*="text-success"] .fabric-meterBar[data-active="true"],
88
+ &[class*="text-warning"] .fabric-meterBar[data-active="true"] {
89
89
  color: currentColor;
90
90
 
91
91
  &:nth-child(1)::after {
@@ -21,8 +21,8 @@
21
21
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  */
23
23
 
24
- @layer comp {
25
- .modal {
24
+ @layer components {
25
+ .fabric-modal {
26
26
  z-index: var(--z-overlay);
27
27
 
28
28
  width: 32rem;
@@ -41,12 +41,12 @@
41
41
  opacity: 1;
42
42
  }
43
43
 
44
- & .modalHeader {
45
- background-color: theme(backgroundColor.base);
46
- border-bottom: 0.5px solid theme(borderColor.dimmed);
44
+ & .fabric-modalHeader {
45
+ background-color: var(--bg-color-base);
46
+ border-bottom: 0.5px solid var(--border-color-dimmed);
47
47
  }
48
48
 
49
- & .modalBody {
49
+ & .fabric-modalBody {
50
50
  grid-template: "head head head" auto ". loader ." auto "side-s content side-e" 1fr "foot foot foot" auto / auto 1fr auto;
51
51
  }
52
52
  }
@@ -21,36 +21,36 @@
21
21
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  */
23
23
 
24
- @layer comp {
25
- .panel {
24
+ @layer components {
25
+ .fabric-panel {
26
26
  grid-template: "head" auto "content" 1fr / 1fr;
27
- background-color: theme(colors.bg);
27
+ background-color: var(--fabric-bg);
28
28
 
29
29
  & > * {
30
30
  background-color: transparent;
31
31
  }
32
32
 
33
- &:global(.fixed) {
34
- box-shadow: 0 0 18px theme(boxShadowColor.base);
33
+ &.fixed {
34
+ box-shadow: 0 0 18px var(--fabric-shadow);
35
35
  }
36
36
 
37
- & .panelHeader {
38
- background-color: theme(backgroundColor.dimmed);
37
+ & .fabric-panelHeader {
38
+ background-color: var(--bg-color-dimmed);
39
39
  }
40
40
 
41
- & .panelAction {
41
+ & .fabric-panelAction {
42
42
  padding: 0.25rem;
43
43
  }
44
44
 
45
- & .panelBody {
45
+ & .fabric-panelBody {
46
46
  grid-template: "head head head" auto ". loader ." auto "side-s content side-e" 1fr "foot foot foot" auto / auto 1fr auto;
47
47
  }
48
48
  }
49
49
  }
50
50
 
51
- @layer util {
52
- .panelGroup {
53
- & > .panel {
51
+ @layer utilities {
52
+ .fabric-panelGroup {
53
+ & > .fabric-panel {
54
54
  &[data-collapsed="true"] {
55
55
  flex: 0 0 auto;
56
56
  }
@@ -61,25 +61,25 @@
61
61
 
62
62
  [data-ref="panelCollapse"] {
63
63
  pointer-events: none;
64
- color: var(--tint);
64
+ color: var(--color-tint);
65
65
  opacity: 0.25;
66
66
  }
67
67
  }
68
68
  }
69
69
 
70
- & > .panel:not(:first-child) {
70
+ & > .fabric-panel:not(:first-child) {
71
71
  border-start-start-radius: 0;
72
72
  border-start-end-radius: 0;
73
73
  }
74
74
 
75
- & > .panel:not(:last-child) {
76
- border-bottom: 1px solid theme(backgroundColor.base);
75
+ & > .fabric-panel:not(:last-child) {
76
+ border-bottom: 1px solid var(--bg-color-base);
77
77
  border-end-start-radius: 0;
78
78
  border-end-end-radius: 0;
79
79
  }
80
80
  }
81
81
 
82
- [data-ref="asideBody"] > .panelGroup > .panel {
82
+ [data-ref="asideBody"] > .fabric-panelGroup > .fabric-panel {
83
83
  border-radius: 0;
84
84
  outline: 0;
85
85
  }
@@ -21,10 +21,10 @@
21
21
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  */
23
23
 
24
- @layer comp {
25
- .progressbar {
24
+ @layer components {
25
+ .fabric-progressbar {
26
26
  height: 1em;
27
- box-shadow: 0 0 4px 0 theme(boxShadowColor.dimmed) inset;
27
+ box-shadow: 0 0 4px 0 var(--fabric-shadow) inset;
28
28
 
29
29
  & > div:last-child {
30
30
  width: calc(var(--progress) * 1%);
@@ -41,13 +41,13 @@
41
41
 
42
42
  font-size: 0.5em;
43
43
  line-height: 0.5em;
44
- color: var(--white);
44
+ color: var(--color-white);
45
45
  text-align: center;
46
46
  vertical-align: middle;
47
47
  }
48
48
  }
49
49
 
50
- .progressTrack {
50
+ .fabric-progressTrack {
51
51
  width: calc(var(--progress) * 1%);
52
52
  transition: width 0.5s;
53
53
  }
@@ -59,12 +59,9 @@
59
59
  }
60
60
  }
61
61
 
62
- .progressAnimate {
62
+ .fabric-progressAnimate {
63
63
  background-image: var(--progress-gradient);
64
64
  background-size: 1rem 1rem;
65
-
66
- & :global {
67
- animation: progress 750ms linear infinite;
68
- }
65
+ animation: bgprogress 750ms linear infinite;
69
66
  }
70
67
  }
@@ -21,40 +21,81 @@
21
21
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  */
23
23
 
24
- @layer comp {
25
- .tabPanel {
26
- --color: theme(colors.primary.500);
24
+ @layer components {
25
+ .fabric-tabPanel {
26
+ --color: var(--color-primary-500);
27
27
 
28
- & > .tabList {
28
+ &[data-orientation="top"] {
29
+ grid-template: "tablist" auto "content" 1fr / 1fr;
30
+
31
+ .fabric-tabHeader {
32
+ box-shadow: 0 -1px 0 var(--border-color-dimmed) inset;
33
+ }
34
+ }
35
+
36
+ &[data-orientation="bottom"] {
37
+ grid-template: "content" 1fr "tablist" auto / 1fr;
38
+
39
+ .fabric-tabHeader {
40
+ margin-top: 1px;
41
+ box-shadow: 0 1px 0 var(--border-color-dimmed) inset;
42
+ }
43
+ }
44
+
45
+ &[data-orientation="start"] {
46
+ grid-template: "tablist content" 1fr / auto 1fr;
47
+
48
+ .fabric-tabHeader {
49
+ box-shadow: -1px 0 0 var(--border-color-dimmed) inset;
50
+ }
51
+ }
52
+
53
+ &[data-orientation="end"] {
54
+ grid-template: "content tablist" 1fr / 1fr auto;
55
+
56
+ .fabric-tabHeader {
57
+ box-shadow: 1px 0 0 var(--border-color-dimmed) inset;
58
+ }
59
+ }
60
+ }
61
+ }
62
+
63
+ @layer utilities {
64
+ .fabric-tabPanel {
65
+ & .fabric-tabList > .fabric-tabButton.active {
66
+ pointer-events: none;
67
+ }
68
+
69
+ & > .fabric-tabHeader {
29
70
  grid-area: tablist;
30
71
 
31
- & > .tabButton {
72
+ & > .fabric-tabList > .fabric-tabButton {
32
73
  &[data-color="accent"] {
33
- --color: theme(colors.accent.500);
74
+ --color: var(--color-accent-500);
34
75
  }
35
76
 
36
77
  &[data-color="info"] {
37
- --color: theme(colors.info.500);
78
+ --color: var(--color-info-500);
38
79
  }
39
80
 
40
81
  &[data-color="danger"] {
41
- --color: theme(colors.danger.500);
82
+ --color: var(--color-danger-500);
42
83
  }
43
84
 
44
85
  &[data-color="success"] {
45
- --color: theme(colors.success.500);
86
+ --color: var(--color-success-500);
46
87
  }
47
88
 
48
89
  &[data-color="warning"] {
49
- --color: theme(colors.warning.500);
90
+ --color: var(--color-warning-500);
50
91
  }
51
92
 
52
- &:not(:global(.active)):hover {
93
+ &:not(.active):hover {
53
94
  color: color-mix(in lab, var(--color) 65%, var(--fabric-text));
54
- background-color: theme(colors.tint.100/50%);
95
+ background-color: --alpha(var(--color-tint-100) / 50%);
55
96
  }
56
97
 
57
- &:global(.active) {
98
+ &.active {
58
99
  --active-color: var(--color);
59
100
 
60
101
  font-weight: 500;
@@ -64,133 +105,81 @@
64
105
  }
65
106
 
66
107
  &[data-variant="outline"] {
67
- & > .tabList > .tabButton:global(.active) {
68
- --active-color: theme(backgroundColor.base);
69
- --active-border: 0 0 0 1px theme(borderColor.base) inset;
108
+ & .fabric-tabList > .fabric-tabButton.active {
109
+ --active-color: var(--bg-color-base);
110
+ --active-border: 0 0 0 1px var(--border-color-base) inset;
70
111
 
71
- background-color: theme(backgroundColor.base);
112
+ background-color: var(--bg-color-base);
72
113
  }
73
114
  }
74
115
 
75
116
  &[data-variant="solid"] {
76
- & > .tabList > .tabButton:global(.active) {
77
- color: theme(colors.white);
117
+ & .fabric-tabList > .fabric-tabButton.active {
118
+ color: var(--color-white);
78
119
  background-color: var(--color);
79
120
  }
80
121
  }
81
122
 
82
123
  &[data-variant="soft"] {
83
- & > .tabList > .tabButton:global(.active) {
124
+ & .fabric-tabList > .fabric-tabButton.active {
84
125
  background-color: color-mix(in lab, var(--color) 20%, var(--fabric-bg));
85
126
  }
86
127
  }
87
128
 
88
- &[data-orientation="top"] {
89
- grid-template: "tablist" auto "content" 1fr / 1fr;
90
- padding-inline: 2px;
91
-
92
- &[data-variant="outline"] > .tabList,
93
- &[data-variant="solid"] > .tabList,
94
- &[data-variant="soft"] > .tabList {
95
- box-shadow: 0 -1px 0 theme(borderColor.dimmed) inset;
96
- }
97
- }
98
-
99
- &[data-orientation="bottom"] {
100
- grid-template: "content" 1fr "tablist" auto / 1fr;
101
- padding-inline: 2px;
102
-
103
- &[data-variant="outline"] > .tabList,
104
- &[data-variant="solid"] > .tabList,
105
- &[data-variant="soft"] > .tabList {
106
- box-shadow: 0 1px 0 theme(borderColor.dimmed) inset;
107
- }
108
- }
109
-
110
- &[data-orientation="start"] {
111
- grid-template: "tablist content" 1fr / auto 1fr;
112
- padding-block: 2px;
113
-
114
- &[data-variant="outline"] > .tabList,
115
- &[data-variant="solid"] > .tabList,
116
- &[data-variant="soft"] > .tabList {
117
- box-shadow: -1px 0 0 theme(borderColor.dimmed) inset;
118
- }
119
- }
120
-
121
- &[data-orientation="end"] {
122
- grid-template: "content tablist" 1fr / 1fr auto;
123
- padding-block: 2px;
124
-
125
- &[data-variant="outline"] > .tabList,
126
- &[data-variant="solid"] > .tabList,
127
- &[data-variant="soft"] > .tabList {
128
- box-shadow: 1px 0 0 theme(borderColor.dimmed) inset;
129
- }
130
- }
131
- }
132
- }
133
-
134
- @layer util {
135
- .tabPanel {
136
- & > .tabList > .tabButton:global(.active) {
137
- pointer-events: none;
138
- }
139
-
140
- &[data-orientation="top"] > .tabList {
141
- & > .tabButton:global(.active) {
129
+ &[data-orientation="top"] .fabric-tabList {
130
+ & > .fabric-tabButton.active {
142
131
  box-shadow:
143
132
  0 -2px 0 var(--active-color) inset,
144
133
  var(--active-border, 0 0 0 transparent);
145
134
  }
146
135
  }
147
136
 
148
- &[data-orientation="bottom"] > .tabList {
149
- & > .tabButton:global(.active) {
137
+ &[data-orientation="bottom"] .fabric-tabList {
138
+ & > .fabric-tabButton.active {
150
139
  box-shadow:
151
140
  0 2px 0 var(--active-color) inset,
152
141
  var(--active-border, 0 0 0 transparent);
153
142
  }
154
143
  }
155
144
 
156
- &[data-orientation="start"] > .tabList {
157
- & > .tabButton:global(.active) {
145
+ &[data-orientation="start"] .fabric-tabList {
146
+ & > .fabric-tabButton.active {
158
147
  box-shadow:
159
148
  -2px 0 0 var(--active-color) inset,
160
149
  var(--active-border, 0 0 0 transparent);
161
150
  }
162
151
  }
163
152
 
164
- &[data-orientation="end"] > .tabList {
165
- & > .tabButton:global(.active) {
153
+ &[data-orientation="end"] .fabric-tabList {
154
+ & > .fabric-tabButton.active {
166
155
  box-shadow:
167
156
  2px 0 0 var(--active-color) inset,
168
157
  var(--active-border, 0 0 0 transparent);
169
158
  }
170
159
  }
171
160
 
172
- &[data-orientation="top"] > .tabList > .tabButton {
161
+ &[data-orientation="top"] .fabric-tabList > .fabric-tabButton {
173
162
  margin-top: 2px;
174
163
  margin-inline: 1px;
175
164
  border-end-start-radius: 0;
176
165
  border-end-end-radius: 0;
177
166
  }
178
167
 
179
- &[data-orientation="bottom"] > .tabList > .tabButton {
168
+ &[data-orientation="bottom"] .fabric-tabList > .fabric-tabButton {
180
169
  margin-bottom: 2px;
181
170
  margin-inline: 1px;
182
171
  border-start-start-radius: 0;
183
172
  border-start-end-radius: 0;
184
173
  }
185
174
 
186
- &[data-orientation="start"] > .tabList > .tabButton {
175
+ &[data-orientation="start"] .fabric-tabList > .fabric-tabButton {
187
176
  margin-block: 1px;
188
177
  margin-inline-start: 2px;
189
178
  border-start-end-radius: 0;
190
179
  border-end-end-radius: 0;
191
180
  }
192
181
 
193
- &[data-orientation="end"] > .tabList > .tabButton {
182
+ &[data-orientation="end"] .fabric-tabList > .fabric-tabButton {
194
183
  margin-block: 1px;
195
184
  margin-inline-end: 2px;
196
185
  border-start-start-radius: 0;
@@ -21,8 +21,8 @@
21
21
  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  */
23
23
 
24
- @layer comp {
25
- .toast {
24
+ @layer components {
25
+ .fabric-toast {
26
26
  margin-bottom: -100%;
27
27
  opacity: 0;
28
28
  transition:
@@ -0,0 +1,29 @@
1
+ /*
2
+ * React Fabric
3
+ * @version: 1.0.0
4
+ *
5
+ *
6
+ * The MIT License (MIT)
7
+ * Copyright (c) 2024 Adarsh Pastakia
8
+ *
9
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
10
+ * and associated documentation files (the "Software"), to deal in the Software without restriction,
11
+ * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
12
+ * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
13
+ * subject to the following conditions:
14
+ *
15
+ * The above copyright notice and this permission notice shall be included in all copies or substantial
16
+ * portions of the Software.
17
+ *
18
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
19
+ * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ */
23
+
24
+ @layer components {
25
+ .fabric-tooltip > span.contrast {
26
+ filter: invert(1) grayscale(1) brightness(1.3) contrast(9000);
27
+ mix-blend-mode: luminosity;
28
+ }
29
+ }