@heliosgraphics/ui 2.0.0-alpha.76 → 2.0.0-alpha.78

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 (147) hide show
  1. package/components/Alert/Alert.meta.ts +1 -1
  2. package/components/Alert/Alert.tsx +6 -2
  3. package/components/Alert/Alert.types.ts +3 -1
  4. package/components/Breadcrumb/Breadcrumb.meta.ts +1 -1
  5. package/components/Breadcrumb/Breadcrumb.tsx +3 -1
  6. package/components/Browser/Browser.meta.ts +1 -1
  7. package/components/Button/Button.meta.ts +1 -1
  8. package/components/Button/Button.types.ts +4 -1
  9. package/components/ButtonGroup/ButtonGroup.meta.ts +1 -1
  10. package/components/Checkbox/Checkbox.meta.ts +1 -1
  11. package/components/Checkbox/Checkbox.tsx +3 -1
  12. package/components/Checkbox/Checkbox.types.ts +1 -1
  13. package/components/Clock/Clock.meta.ts +1 -1
  14. package/components/Clock/Clock.tsx +1 -1
  15. package/components/Column/Column.meta.ts +1 -1
  16. package/components/Column/Column.types.ts +1 -1
  17. package/components/Confirm/Confirm.meta.ts +1 -1
  18. package/components/Confirm/Confirm.tsx +5 -1
  19. package/components/Confirm/Confirm.types.ts +3 -1
  20. package/components/DatePicker/DatePicker.meta.ts +1 -1
  21. package/components/Debug/Debug.meta.ts +1 -1
  22. package/components/Debug/Debug.tsx +5 -1
  23. package/components/Debug/Debug.types.ts +1 -1
  24. package/components/Details/Details.meta.ts +1 -1
  25. package/components/Details/Details.tsx +2 -1
  26. package/components/Dialog/Dialog.meta.ts +1 -1
  27. package/components/Dialog/Dialog.tsx +4 -1
  28. package/components/Donut/Donut.meta.ts +1 -1
  29. package/components/Donut/Donut.tsx +1 -1
  30. package/components/Donut/Donut.types.ts +1 -1
  31. package/components/Dot/Dot.meta.ts +1 -1
  32. package/components/Dot/Dot.types.ts +2 -1
  33. package/components/Dropdown/Dropdown.meta.ts +1 -1
  34. package/components/Dropdown/Dropdown.types.ts +2 -1
  35. package/components/Fieldset/Fieldset.meta.ts +1 -1
  36. package/components/Flex/Flex.meta.ts +1 -1
  37. package/components/Flex/Flex.types.ts +2 -1
  38. package/components/Flex/Flex.utils.ts +1 -1
  39. package/components/Grid/Grid.meta.ts +1 -1
  40. package/components/Heading/Heading.meta.ts +1 -1
  41. package/components/Heading/Heading.types.ts +1 -1
  42. package/components/Heading/components/H0/H0.meta.ts +1 -1
  43. package/components/Heading/components/H1/H1.meta.ts +1 -1
  44. package/components/Heading/components/H2/H2.meta.ts +1 -1
  45. package/components/Heading/components/H3/H3.meta.ts +1 -1
  46. package/components/Heading/components/H4/H4.meta.ts +1 -1
  47. package/components/Heading/components/H5/H5.meta.ts +1 -1
  48. package/components/Heading/components/H6/H6.meta.ts +1 -1
  49. package/components/Icon/Icon.meta.ts +1 -1
  50. package/components/Icon/Icon.tsx +3 -3
  51. package/components/Icon/Icon.types.ts +2 -1
  52. package/components/Input/Input.meta.ts +1 -1
  53. package/components/Input/Input.tsx +6 -2
  54. package/components/Input/Input.types.ts +1 -1
  55. package/components/Layout/Layout.meta.ts +1 -1
  56. package/components/Layout/components/LayoutAside/LayoutAside.meta.ts +1 -1
  57. package/components/Layout/components/LayoutAside/components/LayoutAsideContent/LayoutAsideContent.meta.ts +1 -1
  58. package/components/Layout/components/LayoutAside/components/LayoutAsideToggle/LayoutAsideToggle.meta.ts +1 -1
  59. package/components/Layout/components/LayoutMain/LayoutMain.meta.ts +1 -1
  60. package/components/Layout/components/LayoutMain/components/LayoutMainContent/LayoutMainContent.meta.ts +1 -1
  61. package/components/Layout/components/LayoutNavigation/LayoutNavigation.meta.ts +1 -1
  62. package/components/Layout/components/LayoutNavigation/LayoutNavigation.types.ts +1 -1
  63. package/components/Layout/components/LayoutSubNavigation/LayoutSubNavigation.meta.ts +1 -1
  64. package/components/Layout/components/LayoutSubNavigation/LayoutSubNavigation.types.ts +1 -1
  65. package/components/Loading/Loading.meta.ts +1 -1
  66. package/components/Loading/Loading.tsx +3 -3
  67. package/components/Loading/Loading.types.ts +1 -1
  68. package/components/Markdown/Markdown.meta.ts +1 -1
  69. package/components/Masonry/Masonry.meta.ts +1 -1
  70. package/components/Menu/Menu.meta.ts +1 -1
  71. package/components/Menu/components/MenuCategory/MenuCategory.meta.ts +1 -1
  72. package/components/Menu/components/MenuCategory/MenuCategory.tsx +21 -9
  73. package/components/Menu/components/MenuFilter/MenuFilter.meta.ts +1 -1
  74. package/components/Menu/components/MenuFilter/MenuFilter.tsx +1 -1
  75. package/components/Menu/components/MenuItem/MenuItem.meta.ts +1 -1
  76. package/components/Menu/components/MenuItem/MenuItem.tsx +5 -1
  77. package/components/Menu/components/MenuItem/MenuItem.types.ts +2 -1
  78. package/components/Overlay/Overlay.meta.ts +1 -1
  79. package/components/Pie/Pie.meta.ts +1 -1
  80. package/components/Pie/Pie.types.ts +1 -1
  81. package/components/Pill/Pill.meta.ts +1 -1
  82. package/components/Pill/Pill.tsx +41 -37
  83. package/components/Pill/Pill.types.ts +3 -1
  84. package/components/Placeholder/Placeholder.meta.ts +1 -1
  85. package/components/Placeholder/Placeholder.tsx +2 -1
  86. package/components/Progress/Progress.meta.ts +1 -1
  87. package/components/Progress/Progress.types.ts +1 -1
  88. package/components/Radio/Radio.meta.ts +1 -1
  89. package/components/Radio/Radio.tsx +2 -1
  90. package/components/Segments/Segments.meta.ts +1 -1
  91. package/components/Segments/Segments.tsx +1 -1
  92. package/components/Segments/components/SegmentButton/SegmentButton.meta.ts +1 -1
  93. package/components/Segments/components/SegmentButton/SegmentButton.tsx +2 -2
  94. package/components/Segments/components/SegmentButton/SegmentButton.types.ts +1 -1
  95. package/components/Select/Select.meta.ts +1 -1
  96. package/components/Select/Select.tsx +2 -1
  97. package/components/Separator/Separator.meta.ts +1 -1
  98. package/components/Separator/Separator.tsx +20 -25
  99. package/components/Separator/Separator.types.ts +1 -1
  100. package/components/Separator/components/HRMarkup/HRMarkup.meta.ts +1 -1
  101. package/components/Separator/components/HorizontalSeparator/HorizontalSeparator.meta.ts +1 -1
  102. package/components/Separator/components/VerticalSeparator/VerticalSeparator.meta.ts +1 -1
  103. package/components/Setup/Setup.meta.ts +1 -1
  104. package/components/Shimmer/Shimmer.meta.ts +1 -1
  105. package/components/Slider/Slider.meta.ts +1 -1
  106. package/components/Spacer/Spacer.meta.ts +1 -1
  107. package/components/Spacer/Spacer.tsx +3 -3
  108. package/components/Table/Table.meta.ts +1 -1
  109. package/components/Tabs/Tabs.meta.ts +1 -1
  110. package/components/Tabs/Tabs.tsx +1 -1
  111. package/components/Text/Text.meta.ts +1 -1
  112. package/components/Text/Text.tsx +3 -3
  113. package/components/Text/Text.types.ts +1 -1
  114. package/components/Text/components/Div/Div.meta.ts +1 -1
  115. package/components/Text/components/Micro/Micro.meta.ts +1 -1
  116. package/components/Text/components/P/P.meta.ts +1 -1
  117. package/components/Text/components/Small/Small.meta.ts +1 -1
  118. package/components/Text/components/Tiny/Tiny.meta.ts +1 -1
  119. package/components/Textarea/Textarea.meta.ts +1 -1
  120. package/components/Textarea/Textarea.tsx +1 -1
  121. package/components/Tile/Tile.meta.ts +1 -1
  122. package/components/Tile/Tile.tsx +4 -2
  123. package/components/Tile/Tile.types.ts +2 -1
  124. package/components/Timestamp/Timestamp.meta.ts +1 -1
  125. package/components/Toggle/Toggle.meta.ts +1 -1
  126. package/components/Toggle/Toggle.tsx +2 -1
  127. package/components/Toggle/Toggle.types.ts +1 -1
  128. package/components/Tooltip/Tooltip.meta.ts +1 -1
  129. package/components/Tooltip/components/TooltipContent/TooltipContent.meta.ts +1 -1
  130. package/components/Tooltip/components/TooltipContent/TooltipContent.tsx +1 -1
  131. package/components/Tooltip/components/TooltipTrigger/TooltipTrigger.meta.ts +1 -1
  132. package/components/shared/InputLabel/InputLabel.meta.ts +1 -1
  133. package/components/shared/ResultList/ResultList.meta.ts +1 -1
  134. package/components/shared/ResultList/ResultList.tsx +4 -1
  135. package/components/shared/ResultList/ResultList.types.ts +1 -1
  136. package/constants/colors.ts +1 -1
  137. package/constants/components.ts +1 -1
  138. package/constants/emphasis.ts +1 -1
  139. package/constants/meta.ts +4 -7
  140. package/constants/scale.ts +1 -1
  141. package/constants/scope.ts +4 -1
  142. package/contexts/LayoutContext/LayoutContext.tsx +5 -2
  143. package/hooks/useChatScroll.tsx +2 -2
  144. package/hooks/useTheme.tsx +1 -1
  145. package/package.json +11 -10
  146. package/types/scope.ts +11 -15
  147. package/utils/colors.ts +2 -2
@@ -1,5 +1,6 @@
1
1
  import { MouseEventHandler } from "react"
2
- import type { HeliosIconType, HeliosColorType, HeliosAppearanceType } from "../.."
2
+ import type { HeliosIconType } from "../../types/icons"
3
+ import type { HeliosColorType, HeliosAppearanceType } from "../../types/colors"
3
4
 
4
5
  export interface TileProps {
5
6
  appearance?: HeliosAppearanceType
@@ -1,4 +1,4 @@
1
- import type { HeliosAttributeMeta } from "../.."
1
+ import type { HeliosAttributeMeta } from "../../types/meta"
2
2
  import type { TimestampProps } from "./Timestamp.types"
3
3
 
4
4
  export const meta: HeliosAttributeMeta<TimestampProps> = {
@@ -1,4 +1,4 @@
1
- import type { HeliosAttributeMeta } from "../.."
1
+ import type { HeliosAttributeMeta } from "../../types/meta"
2
2
  import type { BaseToggleProps } from "./Toggle.types"
3
3
 
4
4
  export const meta: HeliosAttributeMeta<BaseToggleProps> = {
@@ -3,7 +3,8 @@
3
3
  import { useId } from "react"
4
4
  import { getClasses } from "@heliosgraphics/utils/classnames"
5
5
  import { getColorClasses } from "../../utils/colors"
6
- import { INTENTION_COLOR_MAP, Text } from "../.."
6
+ import { INTENTION_COLOR_MAP } from "../../constants/intentions"
7
+ import { Text } from "../Text"
7
8
  import styles from "./Toggle.module.css"
8
9
  import type { FC } from "react"
9
10
  import type { ToggleProps } from "./Toggle.types"
@@ -1,4 +1,4 @@
1
- import type { HeliosIntentionType } from "../.."
1
+ import type { HeliosIntentionType } from "../../types/intentions"
2
2
  import type { BaseCheckboxProps } from "../Checkbox/Checkbox.types"
3
3
 
4
4
  export interface BaseToggleProps {
@@ -1,4 +1,4 @@
1
- import type { HeliosAttributeMeta } from "../.."
1
+ import type { HeliosAttributeMeta } from "../../types/meta"
2
2
  import type { TooltipBaseProps } from "./Tooltip.types"
3
3
 
4
4
  export const meta: HeliosAttributeMeta<TooltipBaseProps> = {
@@ -1,4 +1,4 @@
1
- import type { HeliosAttributeMeta } from "../../../.."
1
+ import type { HeliosAttributeMeta } from "../../../../types/meta"
2
2
  import type { TooltipContentProps } from "./TooltipContent.types"
3
3
 
4
4
  export const meta: HeliosAttributeMeta<TooltipContentProps> = {
@@ -1,4 +1,4 @@
1
- import { Text } from "../../../.."
1
+ import { Text } from "../../../Text"
2
2
  import { useTooltipContext } from "../../Tooltip.utils"
3
3
  import type { FC } from "react"
4
4
  import type { TooltipContentProps } from "./TooltipContent.types"
@@ -1,4 +1,4 @@
1
- import type { HeliosAttributeMeta } from "../../../.."
1
+ import type { HeliosAttributeMeta } from "../../../../types/meta"
2
2
  import type { TooltipTriggerProps } from "./TooltipTrigger.types"
3
3
 
4
4
  export const meta: HeliosAttributeMeta<TooltipTriggerProps> = {
@@ -1,4 +1,4 @@
1
- import type { HeliosAttributeMeta } from "../../.."
1
+ import type { HeliosAttributeMeta } from "../../../types/meta"
2
2
  import type { InputLabelProps } from "./InputLabel.types"
3
3
 
4
4
  export const meta: HeliosAttributeMeta<InputLabelProps> = {
@@ -1,4 +1,4 @@
1
- import type { HeliosAttributeMeta } from "../../.."
1
+ import type { HeliosAttributeMeta } from "../../../types/meta"
2
2
  import type { ResultListProps } from "./ResultList.types"
3
3
 
4
4
  export const meta: HeliosAttributeMeta<ResultListProps> = {
@@ -1,5 +1,8 @@
1
1
  import { getClasses } from "@heliosgraphics/utils/classnames"
2
- import { Checkbox, Flex, Icon, Text } from "../../.."
2
+ import { Checkbox } from "../../Checkbox"
3
+ import { Flex } from "../../Flex"
4
+ import { Icon } from "../../Icon"
5
+ import { Text } from "../../Text"
3
6
  import styles from "./ResultList.module.css"
4
7
  import { forwardRef } from "react"
5
8
  import type { ChangeEvent } from "react"
@@ -1,5 +1,5 @@
1
1
  import type { Ref, MouseEventHandler } from "react"
2
- import type { HeliosIconType } from "../../.."
2
+ import type { HeliosIconType } from "../../../types/icons"
3
3
 
4
4
  export interface ResultItem {
5
5
  description?: string
@@ -1,4 +1,4 @@
1
- import type { HeliosColorType } from ".."
1
+ import type { HeliosColorType } from "../types/colors"
2
2
 
3
3
  export const COLORS: Array<HeliosColorType> = [
4
4
  "aqua",
@@ -1,4 +1,4 @@
1
- import type { HeliosAttributeMeta } from ".."
1
+ import type { HeliosAttributeMeta } from "../types/meta"
2
2
 
3
3
  import { meta as metaAlert } from "../components/Alert/Alert.meta"
4
4
  import { meta as metaBreadcrumb } from "../components/Breadcrumb/Breadcrumb.meta"
@@ -1,3 +1,3 @@
1
- import type { HeliosEmphasisType } from ".."
1
+ import type { HeliosEmphasisType } from "../types/intentions"
2
2
 
3
3
  export const EMPHASES: Array<HeliosEmphasisType> = ["primary", "secondary", "tertiary", "inherit"]
package/constants/meta.ts CHANGED
@@ -1,10 +1,7 @@
1
- import {
2
- COMPONENTS,
3
- type HeliosComponentStatusType,
4
- type HeliosComponentCategoryType,
5
- type HeliosColorType,
6
- type HeliosIconType,
7
- } from ".."
1
+ import { COMPONENTS } from "./components"
2
+ import type { HeliosComponentStatusType, HeliosComponentCategoryType } from "../types/meta"
3
+ import type { HeliosColorType } from "../types/colors"
4
+ import type { HeliosIconType } from "../types/icons"
8
5
 
9
6
  export const STATUS_COLORS: Record<HeliosComponentStatusType, HeliosColorType> = {
10
7
  experimental: "pink",
@@ -1,4 +1,4 @@
1
- import type { HeliosScaleType } from ".."
1
+ import type { HeliosScaleType } from "../types/scale"
2
2
 
3
3
  export const SCALE: Array<HeliosScaleType> = [
4
4
  1, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 48, 64, 80, 96,
@@ -1,5 +1,8 @@
1
1
  import type { Scope } from "../types/scope"
2
- import type { BreadcrumbItem, SelectItem, PieItem, ResultItem } from ".."
2
+ import type { BreadcrumbItem } from "../components/Breadcrumb/Breadcrumb.types"
3
+ import type { SelectItem } from "../components/Select/Select.types"
4
+ import type { PieItem } from "../components/Pie/Pie.types"
5
+ import type { ResultItem } from "../components/shared/ResultList/ResultList.types"
3
6
 
4
7
  const BREADCRUMB_ITEMS: Array<BreadcrumbItem> = [
5
8
  { name: "Index", href: "/", onClick: () => null },
@@ -19,6 +19,7 @@ const LayoutProvider: FC<LayoutProviderProps> = ({ children, breakpoint = 960 })
19
19
  const [hasMounted, setHasMounted] = useState<boolean>(false)
20
20
  const asideRef = useRef<HTMLElement | null>(null)
21
21
  const isMenuVisibleRef = useRef<boolean>(false)
22
+ const windowWidthRef = useRef<number>(0)
22
23
 
23
24
  useEffect(() => {
24
25
  isMenuVisibleRef.current = isMenuVisible
@@ -29,6 +30,7 @@ const LayoutProvider: FC<LayoutProviderProps> = ({ children, breakpoint = 960 })
29
30
 
30
31
  setHasMounted(true)
31
32
  setWindowWidth(initialWidth)
33
+ windowWidthRef.current = initialWidth
32
34
 
33
35
  const initialMenuVisible = initialWidth >= breakpoint
34
36
 
@@ -37,10 +39,11 @@ const LayoutProvider: FC<LayoutProviderProps> = ({ children, breakpoint = 960 })
37
39
 
38
40
  const handleResize = (): void => {
39
41
  const newWidth: number = globalThis.innerWidth
40
- const wasWideEnough: boolean = windowWidth >= breakpoint
42
+ const wasWideEnough: boolean = windowWidthRef.current >= breakpoint
41
43
  const isNowWideEnough: boolean = newWidth >= breakpoint
42
44
 
43
45
  setWindowWidth(newWidth)
46
+ windowWidthRef.current = newWidth
44
47
 
45
48
  if (isNowWideEnough && !wasWideEnough) {
46
49
  setIsMenuVisible(true)
@@ -71,7 +74,7 @@ const LayoutProvider: FC<LayoutProviderProps> = ({ children, breakpoint = 960 })
71
74
  globalThis.removeEventListener("resize", handleResize)
72
75
  globalThis.document.removeEventListener("mousedown", handleClickOutside)
73
76
  }
74
- }, [breakpoint, windowWidth])
77
+ }, [breakpoint])
75
78
 
76
79
  const isWideEnough: boolean = hasMounted ? windowWidth >= breakpoint : false
77
80
  const shouldShowNavigation: boolean = isWideEnough || isMenuVisible
@@ -19,11 +19,11 @@ export const useChatScroll = (
19
19
  onResetManual: () => void
20
20
  } => {
21
21
  const [isManual, setManual] = useState<boolean>(false)
22
- const [scrollPos, setScrollPos] = useState<ScrollPosition>({
22
+ const [scrollPos, setScrollPos] = useState<ScrollPosition>(() => ({
23
23
  top: 0,
24
24
  bottom: 0,
25
25
  height: 0,
26
- })
26
+ }))
27
27
  const ref = useRef<HTMLDivElement>(null)
28
28
  const wasAtBottom = useRef<boolean>(true)
29
29
 
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
 
3
3
  import { useCallback, useEffect, useState } from "react"
4
- import type { HeliosThemeType } from ".."
4
+ import type { HeliosThemeType } from "../types/themes"
5
5
 
6
6
  export const useTheme = (): { theme: HeliosThemeType; isDark: boolean; toggleTheme: () => void } => {
7
7
  const [theme, setTheme] = useState<HeliosThemeType | null>(null)
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@heliosgraphics/ui",
3
- "version": "2.0.0-alpha.76",
3
+ "version": "2.0.0-alpha.78",
4
4
  "type": "module",
5
+ "sideEffects": false,
5
6
  "author": "Chris Puska <chris@puska.org>",
6
7
  "private": false,
7
8
  "description": "Helios UI",
@@ -36,23 +37,23 @@
36
37
  "react-plock": "^3.6.1"
37
38
  },
38
39
  "devDependencies": {
39
- "@testing-library/react": "^16.3.1",
40
+ "@testing-library/react": "^16.3.2",
40
41
  "@types/node": "^25",
41
- "@typescript-eslint/eslint-plugin": "^8.50.1",
42
+ "@typescript-eslint/eslint-plugin": "^8.53.1",
42
43
  "@vitejs/plugin-react": "^5.1.2",
43
- "@vitest/coverage-v8": "^4.0.16",
44
+ "@vitest/coverage-v8": "^4.0.18",
44
45
  "esbuild": "latest",
45
46
  "esbuild-css-modules-plugin": "latest",
46
47
  "eslint": "^9.39.2",
47
48
  "eslint-config-prettier": "^10.1.8",
48
- "eslint-plugin-prettier": "^5.5.4",
49
+ "eslint-plugin-prettier": "^5.5.5",
49
50
  "glob": "latest",
50
- "jsdom": "^27.3.0",
51
- "next": "^16.1.1",
52
- "prettier": "^3.7.4",
51
+ "jsdom": "^27.4.0",
52
+ "next": "^16.1.4",
53
+ "prettier": "^3.8.1",
53
54
  "typescript": "^5.9.3",
54
- "vite": "^7.3.0",
55
- "vitest": "^4.0.16"
55
+ "vite": "^7.3.1",
56
+ "vitest": "^4.0.18"
56
57
  },
57
58
  "peerDependencies": {
58
59
  "@types/react": "^19",
package/types/scope.ts CHANGED
@@ -1,18 +1,14 @@
1
- import type {
2
- BreadcrumbItem,
3
- ButtonGroupProps,
4
- DonutSizeType,
5
- HeliosColorType,
6
- HeliosEmphasisType,
7
- HeliosIconType,
8
- HeliosIntentionType,
9
- HeliosPositionType,
10
- HeliosScaleType,
11
- HeliosSizeType,
12
- PieItem,
13
- ResultItem,
14
- SelectItem,
15
- } from ".."
1
+ import type { BreadcrumbItem } from "../components/Breadcrumb/Breadcrumb.types"
2
+ import type { ButtonGroupProps } from "../components/ButtonGroup/ButtonGroup.types"
3
+ import type { DonutSizeType } from "../components/Donut/Donut.types"
4
+ import type { PieItem } from "../components/Pie/Pie.types"
5
+ import type { ResultItem } from "../components/shared/ResultList/ResultList.types"
6
+ import type { SelectItem } from "../components/Select/Select.types"
7
+ import type { HeliosColorType } from "./colors"
8
+ import type { HeliosIconType } from "./icons"
9
+ import type { HeliosEmphasisType, HeliosIntentionType } from "./intentions"
10
+ import type { HeliosPositionType } from "./positions"
11
+ import type { HeliosScaleType, HeliosSizeType } from "./scale"
16
12
 
17
13
  export interface Scope {
18
14
  APPEARANCE: "light" | "dark"
package/utils/colors.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { COLORS } from ".."
2
- import type { HeliosAppearanceType, HeliosColorType } from ".."
1
+ import { COLORS } from "../constants/colors"
2
+ import type { HeliosAppearanceType, HeliosColorType } from "../types/colors"
3
3
 
4
4
  export const getColorClasses = (
5
5
  consideredColor: HeliosColorType,