@audius/harmony 0.0.28 → 0.0.33

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 (222) hide show
  1. package/README.md +1 -7
  2. package/dist/assets/icons/{PenSquare.svg.js → CoinbasePay.svg.js} +12 -10
  3. package/dist/assets/icons/CoinbasePay.svg.js.map +1 -0
  4. package/dist/components/button/BaseButton/BaseButton.d.ts +2 -2
  5. package/dist/components/button/BaseButton/types.d.ts +2 -2
  6. package/dist/components/button/BaseButton/types.d.ts.map +1 -1
  7. package/dist/components/button/Button/Button.d.ts.map +1 -1
  8. package/dist/components/button/Button/Button.js +7 -13
  9. package/dist/components/button/Button/Button.js.map +1 -1
  10. package/dist/components/button/FilterButton/FilterButton.stories.d.ts.map +1 -1
  11. package/dist/components/button/FollowButton/FollowButton.d.ts +2 -1
  12. package/dist/components/button/FollowButton/FollowButton.d.ts.map +1 -1
  13. package/dist/components/button/FollowButton/FollowButton.js +52 -20
  14. package/dist/components/button/FollowButton/FollowButton.js.map +1 -1
  15. package/dist/components/button/FollowButton/types.d.ts +6 -0
  16. package/dist/components/button/FollowButton/types.d.ts.map +1 -1
  17. package/dist/components/button/IconButton/IconButton.d.ts +2 -2
  18. package/dist/components/button/IconButton/IconButton.d.ts.map +1 -1
  19. package/dist/components/button/IconButton/IconButton.js +20 -5
  20. package/dist/components/button/IconButton/IconButton.js.map +1 -1
  21. package/dist/components/button/SocialButton/SocialButton.d.ts +1 -5
  22. package/dist/components/button/SocialButton/SocialButton.d.ts.map +1 -1
  23. package/dist/components/button/SocialButton/SocialButton.js +1 -1
  24. package/dist/components/button/SocialButton/SocialButton.js.map +1 -1
  25. package/dist/components/button/index.d.ts +1 -1
  26. package/dist/components/button/index.d.ts.map +1 -1
  27. package/dist/components/index.d.ts +2 -0
  28. package/dist/components/index.d.ts.map +1 -1
  29. package/dist/components/layout/Paper/Paper.d.ts +1 -6
  30. package/dist/components/layout/Paper/Paper.d.ts.map +1 -1
  31. package/dist/components/layout/Paper/Paper.js +23 -9
  32. package/dist/components/layout/Paper/Paper.js.map +1 -1
  33. package/dist/components/layout/Paper/Paper.stories.d.ts +1 -0
  34. package/dist/components/layout/Paper/Paper.stories.d.ts.map +1 -1
  35. package/dist/components/layout/Paper/types.d.ts +2 -0
  36. package/dist/components/layout/Paper/types.d.ts.map +1 -1
  37. package/dist/components/layout/Popup/Popup.d.ts.map +1 -1
  38. package/dist/components/layout/Popup/Popup.js +29 -14
  39. package/dist/components/layout/Popup/Popup.js.map +1 -1
  40. package/dist/components/modal/Modal.d.ts.map +1 -1
  41. package/dist/components/modal/Modal.js +40 -28
  42. package/dist/components/modal/Modal.js.map +1 -1
  43. package/dist/components/popup-menu/PopupMenu.js +1 -1
  44. package/dist/components/popup-menu/PopupMenu.js.map +1 -1
  45. package/dist/components/progress-bar/ProgressBar.d.ts +3 -0
  46. package/dist/components/progress-bar/ProgressBar.d.ts.map +1 -0
  47. package/dist/components/progress-bar/ProgressBar.js +40 -0
  48. package/dist/components/progress-bar/ProgressBar.js.map +1 -0
  49. package/dist/components/progress-bar/ProgressBar.module.css.js +4 -0
  50. package/dist/components/progress-bar/ProgressBar.module.css.js.map +1 -0
  51. package/dist/components/progress-bar/index.d.ts +3 -0
  52. package/dist/components/progress-bar/index.d.ts.map +1 -0
  53. package/dist/components/progress-bar/types.d.ts +20 -0
  54. package/dist/components/progress-bar/types.d.ts.map +1 -0
  55. package/dist/components/scrubber/Scrubber.d.ts +17 -0
  56. package/dist/components/scrubber/Scrubber.d.ts.map +1 -0
  57. package/dist/components/scrubber/Scrubber.js +61 -0
  58. package/dist/components/scrubber/Scrubber.js.map +1 -0
  59. package/dist/components/scrubber/Scrubber.module.css.js +4 -0
  60. package/dist/components/scrubber/Scrubber.module.css.js.map +1 -0
  61. package/dist/components/scrubber/Slider.d.ts +7 -0
  62. package/dist/components/scrubber/Slider.d.ts.map +1 -0
  63. package/dist/components/scrubber/Slider.js +230 -0
  64. package/dist/components/scrubber/Slider.js.map +1 -0
  65. package/dist/components/scrubber/Slider.module.css.js +4 -0
  66. package/dist/components/scrubber/Slider.module.css.js.map +1 -0
  67. package/dist/components/scrubber/hooks.d.ts +11 -0
  68. package/dist/components/scrubber/hooks.d.ts.map +1 -0
  69. package/dist/components/scrubber/hooks.js +63 -0
  70. package/dist/components/scrubber/hooks.js.map +1 -0
  71. package/dist/components/scrubber/index.d.ts +2 -0
  72. package/dist/components/scrubber/index.d.ts.map +1 -0
  73. package/dist/components/scrubber/types.d.ts +86 -0
  74. package/dist/components/scrubber/types.d.ts.map +1 -0
  75. package/dist/components/scrubber/types.js +11 -0
  76. package/dist/components/scrubber/types.js.map +1 -0
  77. package/dist/components/text/Text/Text.d.ts.map +1 -1
  78. package/dist/components/text/Text/Text.js +3 -3
  79. package/dist/components/text/Text/Text.js.map +1 -1
  80. package/dist/components/text/Text/constants.d.ts +13 -0
  81. package/dist/components/text/Text/constants.d.ts.map +1 -1
  82. package/dist/components/text/Text/constants.js +13 -0
  83. package/dist/components/text/Text/constants.js.map +1 -1
  84. package/dist/components/text/Text/types.d.ts +1 -0
  85. package/dist/components/text/Text/types.d.ts.map +1 -1
  86. package/dist/foundations/theme/ThemeProvider.d.ts +1 -1
  87. package/dist/foundations/theme/ThemeProvider.d.ts.map +1 -1
  88. package/dist/foundations/theme/ThemeProvider.js +6 -0
  89. package/dist/foundations/theme/ThemeProvider.js.map +1 -1
  90. package/dist/harmony.css +1 -1
  91. package/dist/hooks/useHotKeys.d.ts +3 -3
  92. package/dist/hooks/useHotKeys.d.ts.map +1 -1
  93. package/dist/hooks/useHotKeys.js +11 -5
  94. package/dist/hooks/useHotKeys.js.map +1 -1
  95. package/dist/icons/logos.d.ts +1 -0
  96. package/dist/icons/logos.d.ts.map +1 -1
  97. package/dist/icons/logos.js +3 -1
  98. package/dist/icons/logos.js.map +1 -1
  99. package/dist/icons/specialIcons.d.ts +0 -2
  100. package/dist/icons/specialIcons.d.ts.map +1 -1
  101. package/dist/icons/specialIcons.js +1 -5
  102. package/dist/icons/specialIcons.js.map +1 -1
  103. package/dist/icons/utilityIcons.d.ts +2 -0
  104. package/dist/icons/utilityIcons.d.ts.map +1 -1
  105. package/dist/icons/utilityIcons.js +5 -1
  106. package/dist/icons/utilityIcons.js.map +1 -1
  107. package/dist/index.d.ts +1 -0
  108. package/dist/index.d.ts.map +1 -1
  109. package/dist/index.js +5 -3
  110. package/dist/index.js.map +1 -1
  111. package/dist/utils/modalState.d.ts +2 -0
  112. package/dist/utils/modalState.d.ts.map +1 -0
  113. package/package.json +6 -21
  114. package/dist/2fdaa2b95a34d549.svg +0 -9
  115. package/dist/5f91e9bafd9a9e2b.svg +0 -9
  116. package/dist/assets/icons/PenSquare.svg.js.map +0 -1
  117. package/dist/avenir.css +0 -44
  118. package/dist/components/button/BaseButton/BaseButton.module.css.js +0 -4
  119. package/dist/components/button/BaseButton/BaseButton.module.css.js.map +0 -1
  120. package/dist/components/button/BaseButton.d.ts +0 -21
  121. package/dist/components/button/BaseButton.d.ts.map +0 -1
  122. package/dist/components/button/Button/Button.module.css.js +0 -4
  123. package/dist/components/button/Button/Button.module.css.js.map +0 -1
  124. package/dist/components/button/Button.d.ts +0 -13
  125. package/dist/components/button/Button.d.ts.map +0 -1
  126. package/dist/components/button/Button.stories.d.ts +0 -11
  127. package/dist/components/button/Button.stories.d.ts.map +0 -1
  128. package/dist/components/button/PlainButton/PlainButton.module.css.js +0 -4
  129. package/dist/components/button/PlainButton/PlainButton.module.css.js.map +0 -1
  130. package/dist/components/button/PlainButton.d.ts +0 -11
  131. package/dist/components/button/PlainButton.d.ts.map +0 -1
  132. package/dist/components/button/PlainButton.stories.d.ts +0 -20
  133. package/dist/components/button/PlainButton.stories.d.ts.map +0 -1
  134. package/dist/components/button/SocialButton/SocialButton.module.css.js +0 -4
  135. package/dist/components/button/SocialButton/SocialButton.module.css.js.map +0 -1
  136. package/dist/components/button/types.d.ts +0 -194
  137. package/dist/components/button/types.d.ts.map +0 -1
  138. package/dist/components/button/types.js +0 -43
  139. package/dist/components/button/types.js.map +0 -1
  140. package/dist/components/icon/Icon.d.ts +0 -33
  141. package/dist/components/icon/Icon.d.ts.map +0 -1
  142. package/dist/components/icon/Icon.js +0 -39
  143. package/dist/components/icon/Icon.js.map +0 -1
  144. package/dist/components/icon/index.d.ts +0 -2
  145. package/dist/components/icon/index.d.ts.map +0 -1
  146. package/dist/components/icon.js +0 -11
  147. package/dist/components/icon.js.map +0 -1
  148. package/dist/components/input/PasswordInput/PasswordInput.modules.css.js +0 -4
  149. package/dist/components/input/PasswordInput/PasswordInput.modules.css.js.map +0 -1
  150. package/dist/components/input/SelectablePill/SelectablePill.module.css.js +0 -4
  151. package/dist/components/input/SelectablePill/SelectablePill.module.css.js.map +0 -1
  152. package/dist/components/link/Link.d.ts +0 -8
  153. package/dist/components/link/Link.d.ts.map +0 -1
  154. package/dist/components/link/Link.js +0 -19
  155. package/dist/components/link/Link.js.map +0 -1
  156. package/dist/components/link/Link.module.css.js +0 -4
  157. package/dist/components/link/Link.module.css.js.map +0 -1
  158. package/dist/components/link/TextLink.d.ts +0 -6
  159. package/dist/components/link/TextLink.d.ts.map +0 -1
  160. package/dist/components/link/TextLink.stories.d.ts +0 -12
  161. package/dist/components/link/TextLink.stories.d.ts.map +0 -1
  162. package/dist/components/link/index.d.ts +0 -2
  163. package/dist/components/link/index.d.ts.map +0 -1
  164. package/dist/components/link/types.d.ts +0 -37
  165. package/dist/components/link/types.d.ts.map +0 -1
  166. package/dist/components/text/Text/typography.module.css.js +0 -4
  167. package/dist/components/text/Text/typography.module.css.js.map +0 -1
  168. package/dist/components/typography/Icons/Icon.d.ts +0 -22
  169. package/dist/components/typography/Icons/Icon.d.ts.map +0 -1
  170. package/dist/components/typography/Icons/Icon.js +0 -34
  171. package/dist/components/typography/Icons/Icon.js.map +0 -1
  172. package/dist/components/typography/Icons/Icon.module.css.js +0 -4
  173. package/dist/components/typography/Icons/Icon.module.css.js.map +0 -1
  174. package/dist/components/typography/Icons/index.d.ts +0 -208
  175. package/dist/components/typography/Icons/index.d.ts.map +0 -1
  176. package/dist/components/typography/Icons/types.d.ts +0 -5
  177. package/dist/components/typography/Icons/types.d.ts.map +0 -1
  178. package/dist/components/typography/Text/Text.d.ts +0 -3
  179. package/dist/components/typography/Text/Text.d.ts.map +0 -1
  180. package/dist/components/typography/Text/Text.js +0 -24
  181. package/dist/components/typography/Text/Text.js.map +0 -1
  182. package/dist/components/typography/Text/Text.stories.d.ts +0 -12
  183. package/dist/components/typography/Text/Text.stories.d.ts.map +0 -1
  184. package/dist/components/typography/Text/constants.d.ts +0 -3
  185. package/dist/components/typography/Text/constants.d.ts.map +0 -1
  186. package/dist/components/typography/Text/constants.js +0 -36
  187. package/dist/components/typography/Text/constants.js.map +0 -1
  188. package/dist/components/typography/Text/index.d.ts +0 -3
  189. package/dist/components/typography/Text/index.d.ts.map +0 -1
  190. package/dist/components/typography/Text/types.d.ts +0 -19
  191. package/dist/components/typography/Text/types.d.ts.map +0 -1
  192. package/dist/components/typography/Text/typography.module.css.js +0 -4
  193. package/dist/components/typography/Text/typography.module.css.js.map +0 -1
  194. package/dist/components/typography/index.d.ts +0 -4
  195. package/dist/components/typography/index.d.ts.map +0 -1
  196. package/dist/d2608cfebdf74ed2.svg +0 -21
  197. package/dist/foundations/color/colors.stories.d.ts +0 -7
  198. package/dist/foundations/color/colors.stories.d.ts.map +0 -1
  199. package/dist/icons/icons.d.ts +0 -189
  200. package/dist/icons/icons.d.ts.map +0 -1
  201. package/dist/index.es.js +0 -6383
  202. package/dist/index.es.js.map +0 -1
  203. package/dist/storybook/colors.stories.d.ts +0 -7
  204. package/dist/storybook/colors.stories.d.ts.map +0 -1
  205. package/dist/storybook/components/CardLink.d.ts +0 -10
  206. package/dist/storybook/components/CardLink.d.ts.map +0 -1
  207. package/dist/storybook/components/ColorPalette/ColorPalette.d.ts +0 -7
  208. package/dist/storybook/components/ColorPalette/ColorPalette.d.ts.map +0 -1
  209. package/dist/storybook/components/ColorPalette/index.d.ts +0 -2
  210. package/dist/storybook/components/ColorPalette/index.d.ts.map +0 -1
  211. package/dist/storybook/components/ColorSwatch/ColorSwatch.d.ts +0 -8
  212. package/dist/storybook/components/ColorSwatch/ColorSwatch.d.ts.map +0 -1
  213. package/dist/storybook/components/ColorSwatch/index.d.ts +0 -2
  214. package/dist/storybook/components/ColorSwatch/index.d.ts.map +0 -1
  215. package/dist/styles/theme.d.ts +0 -3
  216. package/dist/styles/theme.d.ts.map +0 -1
  217. package/dist/styles/types.d.ts +0 -55
  218. package/dist/styles/types.d.ts.map +0 -1
  219. package/dist/types/colors.d.ts +0 -2
  220. package/dist/types/colors.d.ts.map +0 -1
  221. package/dist/types/styles.d.ts +0 -19
  222. package/dist/types/styles.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","sources":["../src/components/typography/Text/constants.ts","../src/components/typography/Text/Text.tsx","../src/components/input/SelectablePill/SelectablePill.tsx","../src/components/layout/Box/Box.tsx","../src/components/layout/Divider/Divider.tsx","../src/components/layout/Flex/Flex.tsx","../src/components/input/useFocusState.ts","../src/components/input/TextInput/types.ts","../src/components/input/TextInput/TextInput.tsx","../src/utils/styles.ts","../src/components/loading-spinner/LoadingSpinner.tsx","../src/hooks/useMediaQueryListener.ts","../src/components/button/BaseButton.tsx","../src/components/button/types.ts","../src/components/button/Button.tsx","../src/components/button/PlainButton.tsx"],"sourcesContent":["import type { TextVariant, VariantSizeTagMap } from './types'\n\nexport const variantTagMap: Record<TextVariant, VariantSizeTagMap> = {\n display: {\n xl: 'h1',\n l: 'h1',\n m: 'h1',\n s: 'h1'\n },\n heading: {\n xl: 'h1',\n l: 'h2',\n m: 'h3',\n s: 'h4'\n },\n title: {\n l: 'p',\n m: 'p',\n s: 'p',\n xs: 'p'\n },\n label: {\n xl: 'label',\n l: 'label',\n m: 'label',\n s: 'label',\n xs: 'label'\n },\n body: {\n l: 'p',\n m: 'p',\n s: 'p',\n xs: 'p'\n }\n}\n","import { ElementType, ForwardedRef, forwardRef } from 'react'\n\nimport cn from 'classnames'\nimport { camelCase } from 'lodash'\n\nimport { variantTagMap } from './constants'\nimport type { TextProps } from './types'\nimport styles from './typography.module.css'\n\nexport const Text = forwardRef(\n <TextComponentType extends ElementType = 'p'>(\n props: TextProps<TextComponentType>,\n ref: ForwardedRef<HTMLElement>\n ) => {\n const {\n className,\n children,\n variant,\n strength = 'default',\n size = 'm',\n color,\n tag,\n innerRef,\n style,\n ...otherProps\n } = props\n\n const Tag: ElementType =\n tag ?? variantTagMap[variant ?? 'body'][size] ?? 'p'\n\n type TextClass = keyof typeof styles\n const variantClassNames = [\n variant ? (variant as TextClass) : '',\n variant ? (camelCase(`${variant} ${size}`) as TextClass) : '',\n variant ? (camelCase(`${variant} ${strength}`) as TextClass) : '',\n color ? (camelCase(`color ${color}`) as TextClass) : ''\n ].map((cn) => styles[cn as TextClass])\n\n return (\n <Tag\n ref={innerRef ?? ref}\n className={cn(styles.text, ...variantClassNames, className)}\n style={style}\n {...otherProps}\n >\n {children}\n </Tag>\n )\n }\n)\n","import { forwardRef } from 'react'\n\nimport cn from 'classnames'\n\nimport { Text } from 'components/typography'\n\nimport styles from './SelectablePill.module.css'\nimport type { SelectablePillProps } from './types'\n\nexport const SelectablePill = forwardRef<\n HTMLButtonElement,\n SelectablePillProps\n>(\n (\n {\n size = 'default',\n isSelected,\n label,\n icon: IconComponent,\n className,\n ...restProps\n },\n ref\n ) => {\n return (\n <button\n className={cn(\n styles.pill,\n {\n [styles.large]: size === 'large',\n [styles.selected]: isSelected\n },\n className\n )}\n type='button'\n ref={ref}\n {...restProps}\n >\n {IconComponent ? <IconComponent className={styles.icon} /> : null}\n <Text variant='body' tag='span'>\n {label}\n </Text>\n </button>\n )\n }\n)\n","import styled from '@emotion/styled'\n\nimport type { BoxProps } from './types'\n\n/** Base layout component used as a building block for creating pages and other components. */\nexport const Box = styled.div(\n ({\n h,\n w,\n p,\n ph,\n pv,\n pt,\n pl,\n pr,\n pb,\n m,\n mh,\n mv,\n mt,\n ml,\n mr,\n mb,\n border,\n borderRadius,\n shadow\n }: BoxProps) => {\n const padT = pt ?? pv ?? p\n const padB = pb ?? pv ?? p\n const padL = pl ?? ph ?? p\n const padR = pr ?? ph ?? p\n\n const marginT = mt ?? mv ?? m\n const marginB = mb ?? mv ?? m\n const marginL = ml ?? mh ?? m\n const marginR = mr ?? mh ?? m\n\n return {\n position: 'relative',\n boxSizing: 'border-box',\n height: h,\n width: w,\n boxShadow: shadow && `var(--harmony-shadow-${shadow})`,\n paddingTop: padT && `var(--harmony-spacing-${padT})`,\n paddingLeft: padL && `var(--harmony-spacing-${padL})`,\n paddingRight: padR && `var(--harmony-spacing-${padR})`,\n paddingBottom: padB && `var(--harmony-spacing-${padB})`,\n marginTop: marginT && `var(--harmony-spacing-${marginT})`,\n marginLeft: marginL && `var(--harmony-spacing-${marginL})`,\n marginRight: marginR && `var(--harmony-spacing-${marginR})`,\n marginBottom: marginB && `var(--harmony-spacing-${marginB})`,\n border: border && `1px solid var(--harmony-border-${border})`,\n borderRadius:\n borderRadius && `var(--harmony-border-radius-${borderRadius})`\n }\n }\n)\n","import styled from '@emotion/styled'\n\nexport const Divider = styled.div(() => ({\n minHeight: 1,\n minWidth: 1,\n backgroundColor: 'var(--harmony-border-strong)'\n}))\n","import styled from '@emotion/styled'\n\nimport { Box } from '../Box'\n\nimport type { FlexProps } from './types'\n\n/** Layout component used to group child elements in one-deminsional arrangements. */\nexport const Flex = styled(Box)(\n ({ direction, wrap, alignItems, gap, justifyContent }: FlexProps) => ({\n display: 'flex',\n alignItems,\n justifyContent,\n flexDirection: direction,\n flexWrap: wrap,\n gap: gap && `var(--harmony-spacing-${gap})`\n })\n)\n","import { useState, useCallback, FocusEventHandler } from 'react'\n\n/**\n * Used to track focus state of an element\n *\n * Why: Firefox doesn't support the :has() pseudo-selector, so we can't do .root:has(input:focus)\n * for focus styles. Instead, we have to manually track the focus state and add a class.\n *\n * To use:\n * - Pass in other handlers wanted for focus and blur as appropriate\n * - Assign handleFocus to the onFocus of the element\n * - Assign handleBlur to the onBlur of the element\n *\n * @param onFocus The existing onFocus handler, if any, to wrap\n * @param onBlur The existing onBlur handler, if any, to wrap\n * @returns [isFocused, handleFocus, handleBlur]\n */\nexport const useFocusState = <T extends HTMLElement>(\n onFocus?: FocusEventHandler<T>,\n onBlur?: FocusEventHandler<T>\n) => {\n const [isFocused, setIsFocused] = useState(false)\n const handleFocus = useCallback<FocusEventHandler<T>>(\n (e) => {\n setIsFocused(true)\n onFocus?.(e)\n },\n [onFocus, setIsFocused]\n )\n const handleBlur = useCallback<FocusEventHandler<T>>(\n (e) => {\n setIsFocused(false)\n onBlur?.(e)\n },\n [onBlur, setIsFocused]\n )\n\n return [isFocused, handleFocus, handleBlur] as const\n}\n","import type { ComponentPropsWithoutRef, ReactNode } from 'react'\n\nimport type { IconComponent } from '../../typography'\n\nexport enum TextInputSize {\n SMALL = 'small',\n DEFAULT = 'default'\n}\n\nexport type TextInputProps = Omit<\n ComponentPropsWithoutRef<'input'>,\n // Omitting required purely for storybook docs\n 'size' | 'required'\n> & {\n /**\n * Input sizes. NOTE: small inputs will not show the label\n * @default default\n */\n size?: TextInputSize\n /**\n * Toggles warning state (turns border warning color). NOTE: this is not used any where at the moment\n */\n warning?: boolean\n /**\n * Toggles error state\n */\n error?: boolean\n /**\n * Hides the label. If the label is hidden the placeholder will show by default instead.\n * @default false\n */\n hideLabel?: boolean\n /**\n * Label Text. Required to provide due to accessibility. If the hideLabel is true, the label used via aria-label\n */\n label: string\n /**\n * ClassName on the div wrapping the whole input container (doesn't include assistive text)\n */\n inputRootClassName?: string\n /**\n * Helper text (or JSX) that shows up below the input\n */\n helperText?: string | ReactNode\n /**\n * Floating text on the lefthand side of the input.\n */\n startAdornmentText?: string\n /**\n * Floating text on the righthand side of the input\n */\n endAdornmentText?: string\n /**\n * Floating icon on the lefthand side of the input. Note: will float to the left of the label & content\n */\n startIcon?: IconComponent\n /**\n * Floating text on the righthand side of the input\n */\n endIcon?: IconComponent\n /**\n * Required or not. Will add an * to the label if required\n */\n required?: boolean\n /**\n * 0-1 number representating a percentage threshold to show the max character text. Default is 0.7 (70%)\n * @default 0.7\n */\n showMaxLengthThreshold?: number\n /**\n * 0-1 number representating a percentage threshold to turn the character limit text orange. Default is 0.9 (90%)\n * @default 0.9\n */\n maxLengthWarningThreshold?: number\n}\n","import { forwardRef, useId } from 'react'\n\nimport cn from 'classnames'\n\nimport { Text, TextSize } from 'components/typography'\n\nimport { Flex } from '../../layout'\nimport { useFocusState } from '../useFocusState'\n\nimport styles from './TextInput.module.css'\nimport { TextInputSize, type TextInputProps } from './types'\n\nexport const TextInput = forwardRef<HTMLInputElement, TextInputProps>(\n (props, ref) => {\n const {\n required,\n className,\n inputRootClassName,\n maxLength,\n showMaxLengthThreshold = 0.7,\n maxLengthWarningThreshold = 0.9,\n size = TextInputSize.DEFAULT,\n hideLabel,\n label: labelProp,\n value,\n id: idProp,\n warning: warningProp,\n error,\n className: inputClassName,\n disabled,\n onFocus: onFocusProp,\n onBlur: onBlurProp,\n placeholder,\n helperText,\n startAdornmentText,\n endAdornmentText,\n startIcon: StartIcon,\n endIcon: EndIcon,\n ...other\n } = props\n\n /**\n * Since Firefox doesn't support the :has() pseudo selector,\n * manually track the focused state and use classes for focus, required, and disabled\n */\n const [isFocused, handleFocus, handleBlur] = useFocusState(\n onFocusProp,\n onBlurProp\n )\n\n // For focus behavior and accessiblity, <label> needs to have a htmlFor={} provided to an id matching the input\n const backupId = useId()\n const id = idProp ?? backupId\n\n const characterCount = value !== undefined ? `${value}`.length : 0\n const hasValue = characterCount > 0\n\n // Hide the label when requested or when the size is set to small\n const shouldShowLabel = !hideLabel && size !== TextInputSize.SMALL\n const labelText = required ? `${labelProp} *` : labelProp\n const placeholderText =\n required && hideLabel ? `${placeholder} *` : placeholder\n const helperTextSize: TextSize = size === TextInputSize.SMALL ? 'xs' : 's'\n\n // Whenever a label isn't visible the placeholder should be visible in it's place (if provided)\n const shouldShowPlaceholder = isFocused || !shouldShowLabel\n const shouldShowAdornments = isFocused || hasValue || !shouldShowLabel\n // Show the maxlength text whenever we hit a certain threshold (default 70%) + the input is focused\n const shouldShowMaxLengthText =\n isFocused &&\n maxLength &&\n characterCount >= showMaxLengthThreshold * maxLength\n // Turn the maxlength text to the warning color whenever we hit a certain threshold (default 90%)\n const showMaxlengthWarningColor =\n maxLength && characterCount >= maxLengthWarningThreshold * maxLength\n\n // Styles for the root of the input\n const inputRootStyle = {\n [styles.default]: size === TextInputSize.DEFAULT,\n [styles.small]: size === TextInputSize.SMALL,\n [styles.warning]: warningProp,\n [styles.error]: error,\n [styles.focused]: isFocused,\n [styles.disabled]: disabled,\n [styles.required]: required\n }\n\n // Styles for the input element itself\n const inputElStyle = {\n [styles.default]: size === TextInputSize.DEFAULT,\n [styles.small]: size === TextInputSize.SMALL,\n [styles.disabled]: disabled,\n [styles.focused]: isFocused\n }\n\n const inputRender = (\n <Flex alignItems='center' justifyContent='space-between'>\n {startAdornmentText && shouldShowAdornments ? (\n <Text variant='label' size='l' color='subdued'>\n {startAdornmentText}\n </Text>\n ) : null}\n <input\n onFocus={handleFocus}\n onBlur={handleBlur}\n ref={ref}\n className={cn(styles.input, inputClassName, inputElStyle)}\n value={value}\n maxLength={maxLength}\n disabled={disabled}\n placeholder={shouldShowPlaceholder ? placeholderText : undefined}\n aria-label={props['aria-label'] ?? labelText}\n aria-required={required}\n id={id}\n {...other}\n />\n {endAdornmentText && shouldShowAdornments ? (\n <Text variant='label' size='l' color='subdued'>\n {endAdornmentText}\n </Text>\n ) : null}\n </Flex>\n )\n\n return (\n <Flex className={cn(styles.root, className)} direction='column' gap='xs'>\n <label\n htmlFor={id}\n className={cn(\n styles.contentContainer,\n inputRootClassName,\n inputRootStyle\n )}\n >\n {StartIcon ? <StartIcon /> : null}\n <Flex direction='column' gap='xs' justifyContent='center' w='100%'>\n {shouldShowLabel ? (\n <Flex\n className={styles.labelRow}\n direction='row'\n alignItems='center'\n justifyContent='space-between'\n gap='s'\n >\n <Text\n variant='body'\n tag='span'\n size='l'\n className={cn(styles.label, {\n [styles.hasValue]: hasValue,\n [styles.focused]: isFocused\n })}\n >\n {labelText}\n </Text>\n {shouldShowMaxLengthText ? (\n <Text\n variant='body'\n size='xs'\n tag='span'\n color={showMaxlengthWarningColor ? 'warning' : 'default'}\n >\n {characterCount}/{maxLength}\n </Text>\n ) : null}\n </Flex>\n ) : null}\n {inputRender}\n </Flex>\n {EndIcon ? <EndIcon /> : null}\n </label>\n {helperText ? (\n <Text\n variant='body'\n size={helperTextSize}\n strength='default'\n color={error ? 'danger' : 'default'}\n >\n {helperText}\n </Text>\n ) : null}\n </Flex>\n )\n }\n)\n","import { kebabCase } from 'lodash'\n\n/** Converts a camelCased variable name such as `primaryDark1` to an\n * equivalent CSS variable name (`--primary-dark-1`). Useful for passing\n * values like color names to a component to be converted to a CSS\n * property set via `style`\n */\nexport const toCSSVariableName = (name: string) => {\n // TODO: support harmony variable names (prefix harmony?)\n return `--harmony-${kebabCase(name)}`\n}\n","import cn from 'classnames'\nimport Lottie from 'react-lottie'\n\nimport loadingSpinner from 'assets/animations/loadingSpinner.json'\n\nimport styles from './LoadingSpinner.module.css'\n\nconst lottieOptions = {\n loop: true,\n autoplay: true,\n animationData: loadingSpinner\n}\n\ntype LoadingSpinnerProps = { className?: string }\n\nconst LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { className } = props\n\n return (\n <div className={cn(styles.container, className)} role='progressbar'>\n <Lottie options={lottieOptions} />\n </div>\n )\n}\n\nexport default LoadingSpinner\n","import { useEffect, useState, useCallback } from 'react'\n\nexport const useMediaQueryListener = (mediaQuery: string) => {\n // Stores whether there is a match\n const [isMatch, setIsMatch] = useState(false)\n\n // Updates whether there is a match or not\n // when the media query status changes\n const listener = useCallback(\n (matcher: any) => setIsMatch(matcher.matches),\n [setIsMatch]\n )\n\n // If mediaQuery is set, set up a media query listener\n useEffect(() => {\n if (mediaQuery) {\n const matcher = window.matchMedia(mediaQuery)\n listener(matcher)\n matcher.addListener(listener)\n return () => matcher.removeListener(listener)\n }\n return () => {}\n }, [mediaQuery, listener])\n\n return { isMatch }\n}\n","import { forwardRef } from 'react'\n\nimport cn from 'classnames'\n\nimport LoadingSpinner from 'components/loading-spinner/LoadingSpinner'\n\nimport { useMediaQueryListener } from '../../hooks/useMediaQueryListener'\n\nimport baseStyles from './BaseButton.module.css'\nimport type { BaseButtonProps } from './types'\n\n/**\n * Base component for Harmony buttons. Not intended to be used directly. Use\n * `Button` or `PlainButton`.\n */\nexport const BaseButton = forwardRef<HTMLButtonElement, BaseButtonProps>(\n function BaseButton(props, ref) {\n const {\n text,\n iconLeft: LeftIconComponent,\n iconRight: RightIconComponent,\n disabled,\n isLoading,\n widthToHideText,\n minWidth,\n className,\n 'aria-label': ariaLabelProp,\n fullWidth,\n styles,\n style,\n ...other\n } = props\n const { isMatch: textIsHidden } = useMediaQueryListener(\n `(max-width: ${widthToHideText}px)`\n )\n\n const isTextVisible = !!text && !textIsHidden\n\n const getAriaLabel = () => {\n if (ariaLabelProp) return ariaLabelProp\n // Use the text prop as the aria-label if the text becomes hidden\n // and no aria-label was provided to keep the button accessible.\n else if (textIsHidden && typeof text === 'string') return text\n return undefined\n }\n\n return (\n <button\n aria-label={getAriaLabel()}\n className={cn(\n baseStyles.button,\n styles.button,\n {\n [baseStyles.disabled]: disabled || isLoading,\n [baseStyles.fullWidth]: fullWidth\n },\n className\n )}\n disabled={disabled || isLoading}\n ref={ref}\n type='button'\n style={{\n minWidth: minWidth && isTextVisible ? `${minWidth}px` : 'unset',\n ...style\n }}\n {...other}\n >\n {isLoading ? (\n <LoadingSpinner className={(baseStyles.spinner, styles.spinner)} />\n ) : LeftIconComponent ? (\n <LeftIconComponent className={cn(baseStyles.icon, styles.icon)} />\n ) : null}\n {isTextVisible ? (\n <span className={cn(baseStyles.text, styles.text)}>{text}</span>\n ) : null}\n {RightIconComponent ? (\n <RightIconComponent className={cn(baseStyles.icon, styles.icon)} />\n ) : null}\n </button>\n )\n }\n)\n","import type { ComponentPropsWithoutRef } from 'react'\n\nimport type { IconComponent } from '../../components/typography/Icons/types'\nimport type { ColorValue } from '../../types/colors'\n\nexport enum ButtonType {\n PRIMARY = 'primary',\n SECONDARY = 'secondary',\n TERTIARY = 'tertiary',\n DESTRUCTIVE = 'destructive'\n}\n\nexport enum ButtonSize {\n SMALL = 'small',\n DEFAULT = 'default',\n LARGE = 'large'\n}\n\ntype BaseButtonStyles = {\n button: string\n text: string\n icon: string\n spinner: string\n}\n\nexport type HTMLButtonProps = Omit<\n ComponentPropsWithoutRef<'button'>,\n 'children'\n>\n\nexport type BaseButtonProps = {\n /**\n * The text of the button\n */\n text?: string\n\n /**\n * Optional icon element to include on the left side of the button\n */\n iconLeft?: IconComponent\n\n /**\n * Optional icon element to include on the right side of the button\n */\n iconRight?: IconComponent\n\n /**\n * Show a spinning loading state instead of the left icon\n */\n isLoading?: boolean\n\n /**\n * The max width at which text will still be shown\n */\n widthToHideText?: number\n\n /**\n * Optional min width\n * Min width can be useful if the button is switching states and you want\n * to keep a certain width while text length changes\n */\n minWidth?: number\n\n /**\n * If provided, allow button to take up full width of container\n */\n fullWidth?: boolean\n\n /**\n * Internal styling used by derived button components\n */\n styles: BaseButtonStyles\n} & HTMLButtonProps\n\nexport type ButtonProps = {\n /**\n * Override the color of the button, only valid for the `PRIMARY` variant\n */\n color?: ColorValue\n\n /**\n * Override the color of the button using any hex color, only valid for the `PRIMARY` variant\n */\n hexColor?: `#${string}`\n\n /**\n * The type of the button\n */\n variant?: ButtonType\n\n /**\n * The button size\n */\n size?: ButtonSize\n} & Omit<BaseButtonProps, 'styles'>\n\nexport enum PlainButtonType {\n DEFAULT = 'default',\n SUBDUED = 'subdued',\n INVERTED = 'inverted'\n}\n\nexport enum PlainButtonSize {\n DEFAULT = 'default',\n LARGE = 'large'\n}\n\nexport type PlainButtonProps = {\n /**\n * The type of the button\n */\n variant?: PlainButtonType\n\n /**\n * The button size\n */\n size?: PlainButtonSize\n} & Omit<BaseButtonProps, 'styles'>\n","import { forwardRef } from 'react'\n\nimport cn from 'classnames'\n\nimport type { CSSCustomProperties } from '../../types/styles'\nimport { toCSSVariableName } from '../../utils/styles'\n\nimport { BaseButton } from './BaseButton'\nimport styles from './Button.module.css'\nimport { ButtonProps, ButtonSize, ButtonType } from './types'\n\nconst SIZE_STYLE_MAP: { [k in ButtonSize]: [string, string, string, string] } =\n {\n [ButtonSize.SMALL]: [\n styles.buttonSmall,\n styles.iconSmall,\n styles.textSmall,\n styles.spinnerSmall\n ],\n [ButtonSize.DEFAULT]: [\n styles.buttonDefault,\n styles.iconDefault,\n styles.textDefault,\n styles.spinnerSmall\n ],\n [ButtonSize.LARGE]: [\n styles.buttonLarge,\n styles.iconLarge,\n styles.textLarge,\n styles.spinnerLarge\n ]\n }\n\nconst TYPE_STYLE_MAP: { [k in ButtonType]: string } = {\n [ButtonType.PRIMARY]: styles.primary,\n [ButtonType.SECONDARY]: styles.secondary,\n [ButtonType.TERTIARY]: styles.tertiary,\n [ButtonType.DESTRUCTIVE]: styles.destructive\n}\n\n/**\n * A common Button component. Includes a few variants and options to\n * include and position icons.\n */\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n function Button(props, ref) {\n const {\n color,\n hexColor,\n variant = ButtonType.PRIMARY,\n size = ButtonSize.DEFAULT,\n disabled,\n ...baseProps\n } = props\n const isDisabled = disabled || baseProps.isLoading\n\n const style: CSSCustomProperties = {\n '--button-color':\n !isDisabled && hexColor\n ? hexColor\n : color\n ? `var(${toCSSVariableName(color)})`\n : undefined\n }\n\n const [buttonSizeClass, iconSizeClass, textSizeClass, spinnerSizeClass] =\n SIZE_STYLE_MAP[size]\n\n return (\n <BaseButton\n ref={ref}\n disabled={isDisabled}\n styles={{\n button: cn(\n styles.button,\n TYPE_STYLE_MAP[variant],\n { [styles.disabled]: isDisabled },\n buttonSizeClass\n ),\n icon: cn(styles.icon, iconSizeClass),\n text: cn(styles.text, textSizeClass),\n spinner: cn(styles.spinner, spinnerSizeClass)\n }}\n style={style}\n {...baseProps}\n />\n )\n }\n)\n","import { forwardRef } from 'react'\n\nimport cn from 'classnames'\n\nimport { BaseButton } from './BaseButton'\nimport styles from './PlainButton.module.css'\nimport { PlainButtonProps, PlainButtonSize, PlainButtonType } from './types'\n\nconst SIZE_STYLE_MAP: {\n [k in PlainButtonSize]: [string, string, string, string]\n} = {\n [PlainButtonSize.DEFAULT]: [\n styles.buttonDefault,\n styles.iconDefault,\n styles.textDefault,\n styles.spinnerDefault\n ],\n [PlainButtonSize.LARGE]: [\n styles.buttonLarge,\n styles.iconLarge,\n styles.textLarge,\n styles.spinnerLarge\n ]\n}\n\nconst TYPE_STYLE_MAP: { [k in PlainButtonType]: string } = {\n [PlainButtonType.DEFAULT]: styles.default,\n [PlainButtonType.SUBDUED]: styles.subdued,\n [PlainButtonType.INVERTED]: styles.inverted\n}\n\n/**\n * A plain Button component (no border/background). Includes a few variants and options to\n * include and position icons.\n */\nexport const PlainButton = forwardRef<HTMLButtonElement, PlainButtonProps>(\n function PlainButton(props, ref) {\n const {\n variant = PlainButtonType.DEFAULT,\n size = PlainButtonSize.DEFAULT,\n disabled,\n ...baseProps\n } = props\n const isDisabled = disabled || baseProps.isLoading\n\n const [buttonSizeClass, iconSizeClass, textSizeClass, spinnerSizeClass] =\n SIZE_STYLE_MAP[size]\n\n return (\n <BaseButton\n ref={ref}\n disabled={isDisabled}\n styles={{\n button: cn(\n styles.button,\n TYPE_STYLE_MAP[variant],\n { [styles.disabled]: isDisabled },\n buttonSizeClass\n ),\n icon: cn(styles.icon, iconSizeClass),\n text: cn(styles.text, textSizeClass),\n spinner: cn(styles.spinner, spinnerSizeClass)\n }}\n {...baseProps}\n />\n )\n }\n)\n"],"names":["_jsx","_jsxs","styles","SIZE_STYLE_MAP","TYPE_STYLE_MAP"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAE,aAAa,EAAE,gBAAgB,CAAC,GACrEC,gBAAc,CAAC,IAAI,CAAC,CAAA;IAEtB,QACEH,IAAC,UAAU,IACT,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,UAAU,EACpB,MAAM,EAAE;YACN,MAAM,EAAE,EAAE,CACRE,QAAM,CAAC,MAAM,EACbE,gBAAc,CAAC,OAAO,CAAC,EACvB,EAAE,CAACF,QAAM,CAAC,QAAQ,GAAG,UAAU,EAAE,EACjC,eAAe,CAChB;YACD,IAAI,EAAE,EAAE,CAACA,QAAM,CAAC,IAAI,EAAE,aAAa,CAAC;YACpC,IAAI,EAAE,EAAE,CAACA,QAAM,CAAC,IAAI,EAAE,aAAa,CAAC;YACpC,OAAO,EAAE,EAAE,CAACA,QAAM,CAAC,OAAO,EAAE,gBAAgB,CAAC;SAC9C,KACG,SAAS,GACb,EACH;AACH,CAAC,CACF;;;;"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { ColorPalette } from './components/ColorPalette/ColorPalette';
3
- declare const meta: Meta<typeof ColorPalette>;
4
- export default meta;
5
- type Story = StoryObj<typeof ColorPalette>;
6
- export declare const Default: Story;
7
- //# sourceMappingURL=colors.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"colors.stories.d.ts","sourceRoot":"","sources":["../../src/storybook/colors.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;AAErE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAGnC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAA;AAE1C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
@@ -1,10 +0,0 @@
1
- import { IconComponent } from 'components';
2
- type CardLinkProps = {
3
- icon?: IconComponent;
4
- subtitle: string;
5
- description: string;
6
- link: string;
7
- };
8
- export declare const CardLink: (props: CardLinkProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
- export {};
10
- //# sourceMappingURL=CardLink.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardLink.d.ts","sourceRoot":"","sources":["../../../src/storybook/components/CardLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,aAAa,EAAE,MAAM,YAAY,CAAA;AAE5D,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,eAAO,MAAM,QAAQ,UAAW,aAAa,qDAa5C,CAAA"}
@@ -1,7 +0,0 @@
1
- import type { Theme } from 'foundations/theme/types';
2
- type ColorPaletteProps = {
3
- theme?: Theme;
4
- };
5
- export declare const ColorPalette: ({ theme }: ColorPaletteProps) => import("@emotion/react/jsx-runtime").JSX.Element;
6
- export {};
7
- //# sourceMappingURL=ColorPalette.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ColorPalette.d.ts","sourceRoot":"","sources":["../../../../src/storybook/components/ColorPalette/ColorPalette.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAyBpD,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAA;AAoCD,eAAO,MAAM,YAAY,cAAuB,iBAAiB,qDA4BhE,CAAA"}
@@ -1,2 +0,0 @@
1
- export { ColorPalette } from './ColorPalette';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storybook/components/ColorPalette/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA"}
@@ -1,8 +0,0 @@
1
- type ColorSwatchProps = {
2
- name?: string;
3
- desc?: string;
4
- color: string;
5
- };
6
- export declare const ColorSwatch: ({ color, desc, name }: ColorSwatchProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=ColorSwatch.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ColorSwatch.d.ts","sourceRoot":"","sources":["../../../../src/storybook/components/ColorSwatch/ColorSwatch.tsx"],"names":[],"mappings":"AAqBA,KAAK,gBAAgB,GAAG;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,WAAW,0BAA2B,gBAAgB,qDAqBlE,CAAA"}
@@ -1,2 +0,0 @@
1
- export { ColorSwatch } from './ColorSwatch';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storybook/components/ColorSwatch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { Theme, ThemeColors } from './types';
2
- export declare const themeColorsMap: Record<Theme, ThemeColors>;
3
- //# sourceMappingURL=theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/styles/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAEjD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,KAAK,EAAE,WAAW,CAsJrD,CAAA"}
@@ -1,55 +0,0 @@
1
- export type Theme = 'day' | 'dark' | 'matrix';
2
- export type ThemeColors = {
3
- static: {
4
- white: string;
5
- primary: string;
6
- };
7
- primary: {
8
- primary: string;
9
- p100: string;
10
- p200: string;
11
- p300: string;
12
- p400: string;
13
- p500: string;
14
- };
15
- secondary: {
16
- secondary: string;
17
- s100: string;
18
- s200: string;
19
- s300: string;
20
- s400: string;
21
- s500: string;
22
- };
23
- neutral: {
24
- neutral: string;
25
- n25: string;
26
- n50: string;
27
- n100: string;
28
- n150: string;
29
- n200: string;
30
- n300: string;
31
- n400: string;
32
- n500: string;
33
- n600: string;
34
- n700: string;
35
- n800: string;
36
- n900: string;
37
- n950: string;
38
- };
39
- special: {
40
- white: string;
41
- background: string;
42
- blue: string;
43
- orange: string;
44
- red: string;
45
- darkRed: string;
46
- green: string;
47
- lightGreen: string;
48
- gradient: string;
49
- };
50
- };
51
- export type SpacingValue = 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl';
52
- export type BorderValue = 'default' | 'strong';
53
- export type BorderRadiusValue = 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl';
54
- export type ShadowValue = 'near' | 'mid' | 'far' | 'emphasis';
55
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/styles/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,CAAA;AAE7C,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,OAAO,EAAE;QACP,OAAO,EAAE,MAAM,CAAA;QACf,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,SAAS,EAAE;QACT,SAAS,EAAE,MAAM,CAAA;QACjB,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CA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,0 @@
1
- export type ColorValue = 'primary' | 'p100' | 'p200' | 'p300' | 'p400' | 'p500' | 'secondary' | 's100' | 's200' | 's300' | 's400' | 's500' | 'neutral' | 'n25' | 'n50' | 'n100' | 'n150' | 'n200' | 'n300' | 'n400' | 'n500' | 'n600' | 'n700' | 'n800' | 'n900' | 'n950' | 'staticWhite' | 'staticPrimary' | 'white' | 'background' | 'blue' | 'orange' | 'red' | 'darkRed' | 'green' | 'lightGreen' | 'gradient' | 'none';
2
- //# sourceMappingURL=colors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/types/colors.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,WAAW,GACX,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,SAAS,GACT,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GAEN,aAAa,GACb,eAAe,GAEf,OAAO,GACP,YAAY,GACZ,MAAM,GACN,QAAQ,GACR,KAAK,GACL,SAAS,GACT,OAAO,GACP,YAAY,GACZ,UAAU,GACV,MAAM,CAAA"}
@@ -1,19 +0,0 @@
1
- import type { CSSProperties } from 'react';
2
- /** Type override to allow usage of custom properties in the
3
- * `style' prop. We're using this instead of augmenting the csstype module
4
- * because that currently breaks types for some third-party modules. Note that
5
- * you will have to cast it back to CSSProperties in most cases.
6
- * Usage:
7
- * ```
8
- * const style: CSSCustomProperties = {
9
- * width: '10px',
10
- * '--custom-prop': 'var(--custom-var-value)
11
- * }
12
- *
13
- * return <button style={style as CSSProperties} />
14
- * ```
15
- */
16
- export type CSSCustomProperties = CSSProperties & {
17
- [index: `--${string}`]: any;
18
- };
19
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/types/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG;IAChD,CAAC,KAAK,EAAE,KAAK,MAAM,EAAE,GAAG,GAAG,CAAA;CAC5B,CAAA"}