@sendoutcards/quantum-design-ui 1.8.33 → 1.8.35

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 (239) hide show
  1. package/dist/index.es.js +625 -738
  2. package/dist/src/atoms/anchor/anchor.d.ts +1 -1
  3. package/dist/src/atoms/anchor/styles.d.ts +2 -1
  4. package/dist/src/atoms/aside/styles.d.ts +1 -1
  5. package/dist/src/atoms/avatar/styles.d.ts +3 -3
  6. package/dist/src/atoms/badge/styles.d.ts +1 -1
  7. package/dist/src/atoms/card/card.d.ts +1 -1
  8. package/dist/src/atoms/div/styles.d.ts +1 -1
  9. package/dist/src/atoms/flex/flex.d.ts +1 -1
  10. package/dist/src/atoms/flex/flexItem.d.ts +1 -1
  11. package/dist/src/atoms/flex/styles.d.ts +2 -2
  12. package/dist/src/atoms/hStack/hStack.d.ts +1 -1
  13. package/dist/src/atoms/list/list.d.ts +1 -1
  14. package/dist/src/atoms/list/styles.d.ts +1 -1
  15. package/dist/src/atoms/listItem/listItem.d.ts +1 -1
  16. package/dist/src/atoms/listItem/styles.d.ts +1 -1
  17. package/dist/src/atoms/portal/portal.d.ts +4 -0
  18. package/dist/src/atoms/section/styles.d.ts +1 -1
  19. package/dist/src/atoms/span/span.d.ts +1 -1
  20. package/dist/src/atoms/span/styles.d.ts +1 -1
  21. package/dist/src/atoms/typography/styles.d.ts +9 -7
  22. package/dist/src/atoms/typography/text.d.ts +1 -1
  23. package/dist/src/atoms/vStack/vStack.d.ts +1 -1
  24. package/dist/src/helpers/hoc-functions/findBorderDirection.d.ts +2 -6
  25. package/dist/src/helpers/hoc-functions/findBorderRadiusDirection.d.ts +2 -9
  26. package/dist/src/helpers/hoc-functions/findDirection.d.ts +2 -18
  27. package/dist/src/helpers/hoc-functions/makeResponsive.d.ts +4 -61
  28. package/dist/src/helpers/hoc-functions/makeTextResponsive.d.ts +1 -0
  29. package/dist/src/helpers/hoc-types/entityValueTypes.d.ts +1 -1
  30. package/dist/src/helpers/style-functions/mapSizeType.d.ts +1 -1
  31. package/dist/src/helpers/theme-functions/computeShadow.d.ts +1 -1
  32. package/dist/src/hooks/useEntities.d.ts +1 -510
  33. package/dist/src/hooks/useOutsideClick.d.ts +1 -1
  34. package/dist/src/hooks/useRadialGradient.d.ts +4 -1
  35. package/dist/src/molecules/blockQuote/blockQuote.d.ts +1 -1
  36. package/dist/src/molecules/button/button.d.ts +1 -1
  37. package/dist/src/molecules/button/styles.d.ts +3 -2
  38. package/dist/src/molecules/checkbox/styles.d.ts +4 -4
  39. package/dist/src/molecules/closeButton/styles.d.ts +1 -1
  40. package/dist/src/molecules/contextBar/contextBar.d.ts +1 -1
  41. package/dist/src/molecules/dialog/styles.d.ts +2 -2
  42. package/dist/src/molecules/displayCard/displayCard.d.ts +1 -1
  43. package/dist/src/molecules/dragBar/styles.d.ts +1 -1
  44. package/dist/src/molecules/dragBox/styles.d.ts +1 -1
  45. package/dist/src/molecules/drawer/drawer.d.ts +1 -1
  46. package/dist/src/molecules/drawer/styles.d.ts +3 -3
  47. package/dist/src/molecules/grid/components/gridItem.d.ts +1 -1
  48. package/dist/src/molecules/grid/grid.d.ts +1 -1
  49. package/dist/src/molecules/grid/styles.d.ts +2 -2
  50. package/dist/src/molecules/iconLink/styles.d.ts +3 -3
  51. package/dist/src/molecules/image/styles.d.ts +4 -4
  52. package/dist/src/molecules/infiniteScroller/infiniteScroller.d.ts +1 -1
  53. package/dist/src/molecules/infoBlock/styles.d.ts +3 -3
  54. package/dist/src/molecules/input/styles.d.ts +5 -5
  55. package/dist/src/molecules/linkColumn/styles.d.ts +1 -1
  56. package/dist/src/molecules/loader/loader.d.ts +1 -1
  57. package/dist/src/molecules/menu/components/menuSection.d.ts +1 -1
  58. package/dist/src/molecules/menu/styles.d.ts +1 -1
  59. package/dist/src/molecules/navigation/styles.d.ts +11 -11
  60. package/dist/src/molecules/overlay/overlay.d.ts +1 -1
  61. package/dist/src/molecules/progress/styles.d.ts +2 -2
  62. package/dist/src/molecules/scrollable/scrollable.d.ts +1 -1
  63. package/dist/src/molecules/scrollable/styles.d.ts +1 -1
  64. package/dist/src/molecules/scrollingIndicator/styles.d.ts +2 -2
  65. package/dist/src/molecules/select/components/option.d.ts +11 -29
  66. package/dist/src/molecules/select/select.d.ts +1 -1
  67. package/dist/src/molecules/select/styles.d.ts +6 -5
  68. package/dist/src/molecules/separator/styles.d.ts +3 -3
  69. package/dist/src/molecules/sheet/sheet.d.ts +1 -1
  70. package/dist/src/molecules/sheet/styles.d.ts +4 -4
  71. package/dist/src/molecules/sidebar/sidebar.d.ts +1 -1
  72. package/dist/src/molecules/slider/styles.d.ts +3 -3
  73. package/dist/src/molecules/stackedCards/stackedCards.d.ts +1 -1
  74. package/dist/src/molecules/stoplight/stoplight.d.ts +1 -1
  75. package/dist/src/molecules/tab/components/tab.d.ts +1 -1
  76. package/dist/src/molecules/tab/tabs.d.ts +1 -1
  77. package/dist/src/molecules/table/components/rowItem.d.ts +1 -1
  78. package/dist/src/molecules/table/components/tableRow.d.ts +1 -1
  79. package/dist/src/molecules/table/styles.d.ts +3 -3
  80. package/dist/src/molecules/table/table.d.ts +1 -1
  81. package/dist/src/molecules/tooltip/styles.d.ts +1 -1
  82. package/dist/src/molecules/tooltip/tooltip.d.ts +1 -1
  83. package/dist/src/molecules/transition/styles.d.ts +1 -1
  84. package/dist/src/molecules/uploadButton/styles.d.ts +6 -6
  85. package/dist/src/organisms/accordion/components/accordionHeading.d.ts +1 -1
  86. package/dist/src/organisms/accordion/styles.d.ts +1 -1
  87. package/dist/src/organisms/accountMenu/accountMenu.d.ts +1 -1
  88. package/dist/src/organisms/accountMenu/styles.d.ts +2 -2
  89. package/dist/src/organisms/animatedGrid/animatedGrid.d.ts +1 -1
  90. package/dist/src/organisms/animatedTiltCard/styles.d.ts +1 -1
  91. package/dist/src/organisms/awards/styles.d.ts +3 -3
  92. package/dist/src/organisms/banner/banner.d.ts +1 -1
  93. package/dist/src/organisms/circleMenu/styles.d.ts +2 -2
  94. package/dist/src/organisms/imageUploadWidget/styles.d.ts +1 -1
  95. package/dist/src/organisms/imageUploader/imageUploader.d.ts +2 -1
  96. package/dist/src/organisms/incrementSetting/styles.d.ts +1 -1
  97. package/dist/src/organisms/navigationPill/styles.d.ts +5 -5
  98. package/dist/src/organisms/page/page.d.ts +1 -1
  99. package/dist/src/organisms/phoneInput/styles.d.ts +2 -2
  100. package/dist/src/organisms/pill/pill.d.ts +1 -1
  101. package/dist/src/organisms/pinInput/styles.d.ts +3 -3
  102. package/dist/src/organisms/pricingTile/pricingTile.d.ts +1 -1
  103. package/dist/src/organisms/qdsChrome/styles.d.ts +7 -7
  104. package/dist/src/organisms/quantumColorPicker/styles.d.ts +1 -1
  105. package/dist/src/organisms/radioCard/styles.d.ts +1 -1
  106. package/dist/src/organisms/radioOptionList/styles.d.ts +1 -1
  107. package/dist/src/organisms/selectableList/styles.d.ts +1 -1
  108. package/dist/src/organisms/settingInput/styles.d.ts +1 -1
  109. package/dist/src/organisms/staticNavigation/staticNavigation.d.ts +1 -1
  110. package/dist/src/organisms/staticNavigation/styles.d.ts +1 -1
  111. package/dist/src/organisms/subNavigation/styles.d.ts +2 -2
  112. package/dist/src/organisms/userCard/styles.d.ts +2 -2
  113. package/dist/src/organisms/videoPlayer/styles.d.ts +4 -4
  114. package/dist/src/organisms/zoom/styles.d.ts +1 -1
  115. package/dist/src/portfolios/editor/editorSidebar/editorSidebar.d.ts +1 -1
  116. package/dist/src/portfolios/soc/components/orderCard/styles.d.ts +1 -1
  117. package/dist/src/portfolios/soc/components/paperTypeModal/styles.d.ts +1 -1
  118. package/dist/src/portfolios/soc/components/upsaleSheet/styles.d.ts +1 -1
  119. package/dist/src/portfolios/soc/upsaleDialog/styles.d.ts +1 -1
  120. package/dist/src/stories/atoms/Anchor.stories.d.ts +3 -3
  121. package/dist/src/stories/atoms/AnimatedCheckmark.stories.d.ts +4 -4
  122. package/dist/src/stories/atoms/Aside.stories.d.ts +3 -3
  123. package/dist/src/stories/atoms/Avatar.stories.d.ts +7 -7
  124. package/dist/src/stories/atoms/Badge.stories.d.ts +1 -1
  125. package/dist/src/stories/atoms/Bar.stories.d.ts +1 -1
  126. package/dist/src/stories/atoms/Capsule.stories.d.ts +3 -3
  127. package/dist/src/stories/atoms/Card.stories.d.ts +3 -3
  128. package/dist/src/stories/atoms/ColorThumbnail.stories.d.ts +3 -3
  129. package/dist/src/stories/atoms/Colors.stories.d.ts +1 -1
  130. package/dist/src/stories/atoms/Div.stories.d.ts +3 -3
  131. package/dist/src/stories/atoms/Flex.stories.d.ts +3 -3
  132. package/dist/src/stories/atoms/Hstack.stories.d.ts +3 -3
  133. package/dist/src/stories/atoms/Icons.stories.d.ts +1 -1
  134. package/dist/src/stories/atoms/List.stories.d.ts +4 -4
  135. package/dist/src/stories/atoms/ListItem.stories.d.ts +3 -3
  136. package/dist/src/stories/atoms/LoadingSpinner.stories.d.ts +1 -1
  137. package/dist/src/stories/atoms/Section.stories.d.ts +3 -3
  138. package/dist/src/stories/atoms/Spacer.stories.d.ts +1 -1
  139. package/dist/src/stories/atoms/Span.stories.d.ts +3 -3
  140. package/dist/src/stories/atoms/Text.stories.d.ts +4 -4
  141. package/dist/src/stories/atoms/VStack.stories.d.ts +3 -3
  142. package/dist/src/stories/molecules/ArticleCard.stories.d.ts +1 -1
  143. package/dist/src/stories/molecules/BlockQuote.stories.d.ts +3 -3
  144. package/dist/src/stories/molecules/Button.stories.d.ts +2 -1
  145. package/dist/src/stories/molecules/Checkbox.stories.d.ts +1 -1
  146. package/dist/src/stories/molecules/Circle.stories.d.ts +3 -3
  147. package/dist/src/stories/molecules/Clipboard.stories.d.ts +3 -3
  148. package/dist/src/stories/molecules/CloseButton.stories.d.ts +3 -3
  149. package/dist/src/stories/molecules/ComparisonItem.stories.d.ts +1 -1
  150. package/dist/src/stories/molecules/CountdownTimer.stories.d.ts +3 -3
  151. package/dist/src/stories/molecules/Dialog.stories.d.ts +4 -4
  152. package/dist/src/stories/molecules/DisplayCard.stories.d.ts +3 -3
  153. package/dist/src/stories/molecules/DownloadButton.stories.d.ts +3 -3
  154. package/dist/src/stories/molecules/Drawer.stories.d.ts +4 -4
  155. package/dist/src/stories/molecules/DropDownMenu.stories.d.ts +3 -3
  156. package/dist/src/stories/molecules/FeatureBadge.stories.d.ts +1 -1
  157. package/dist/src/stories/molecules/Grid.stories.d.ts +3 -3
  158. package/dist/src/stories/molecules/IconLink.stories.d.ts +1 -1
  159. package/dist/src/stories/molecules/Image.stories.d.ts +6 -6
  160. package/dist/src/stories/molecules/ImageThumbnail.stories.d.ts +3 -3
  161. package/dist/src/stories/molecules/InfiniteScroller.stories.d.ts +3 -3
  162. package/dist/src/stories/molecules/InfoBlock.stories.d.ts +1 -1
  163. package/dist/src/stories/molecules/Input.stories.d.ts +1 -1
  164. package/dist/src/stories/molecules/LinkColumn.stories.d.ts +3 -3
  165. package/dist/src/stories/molecules/Loader.stories.d.ts +1 -1
  166. package/dist/src/stories/molecules/Logo.stories.d.ts +1 -1
  167. package/dist/src/stories/molecules/MasonryGrid.stories.d.ts +3 -3
  168. package/dist/src/stories/molecules/Menu.stories.d.ts +3 -3
  169. package/dist/src/stories/molecules/Progress.stories.d.ts +1 -1
  170. package/dist/src/stories/molecules/QuantitySlider.stories.d.ts +3 -3
  171. package/dist/src/stories/molecules/ReleaseNote.stories.d.ts +3 -3
  172. package/dist/src/stories/molecules/Scrollable.stories.d.ts +3 -3
  173. package/dist/src/stories/molecules/ScrollingIndicator.stories.d.ts +3 -3
  174. package/dist/src/stories/molecules/Select.stories.d.ts +1 -1
  175. package/dist/src/stories/molecules/Separator.stories.d.ts +1 -1
  176. package/dist/src/stories/molecules/Sheet.stories.d.ts +5 -5
  177. package/dist/src/stories/molecules/Sidebar.stories.d.ts +3 -3
  178. package/dist/src/stories/molecules/Slider.stories.d.ts +3 -3
  179. package/dist/src/stories/molecules/Sphere.stories.d.ts +3 -3
  180. package/dist/src/stories/molecules/StackedCards.stories.d.ts +3 -3
  181. package/dist/src/stories/molecules/Stoplight.stories.d.ts +8 -8
  182. package/dist/src/stories/molecules/Tab.stories.d.ts +3 -3
  183. package/dist/src/stories/molecules/Table.stories.d.ts +4 -4
  184. package/dist/src/stories/molecules/TitledList.stories.d.ts +3 -3
  185. package/dist/src/stories/molecules/Toggle.stories.d.ts +1 -1
  186. package/dist/src/stories/molecules/ToolTip.stories.d.ts +1 -1
  187. package/dist/src/stories/molecules/Transition.stories.d.ts +1 -1
  188. package/dist/src/stories/molecules/UploadButton.stories.d.ts +3 -3
  189. package/dist/src/stories/organisms/Accordion.stories.d.ts +4 -4
  190. package/dist/src/stories/organisms/AccountMenu.stories.d.ts +1 -1
  191. package/dist/src/stories/organisms/AnimatedGrid.stories.d.ts +3 -3
  192. package/dist/src/stories/organisms/AnimatedTiltCard.stories.d.ts +1 -1
  193. package/dist/src/stories/organisms/Awards.stories.d.ts +1 -1
  194. package/dist/src/stories/organisms/Banner.stories.d.ts +3 -3
  195. package/dist/src/stories/organisms/ButtonWithMenu.stories.d.ts +1 -1
  196. package/dist/src/stories/organisms/CircleMenu.stories.d.ts +3 -3
  197. package/dist/src/stories/organisms/ComparisonIncludesList.stories.d.ts +1 -1
  198. package/dist/src/stories/organisms/ConfigurationCard.stories.d.ts +1 -1
  199. package/dist/src/stories/organisms/ConfirmDialog.stories.d.ts +1 -1
  200. package/dist/src/stories/organisms/ContentPusher.stories.d.ts +3 -3
  201. package/dist/src/stories/organisms/FeatureAnnouncement.stories.d.ts +3 -3
  202. package/dist/src/stories/organisms/ImageGrid.stories.d.ts +3 -3
  203. package/dist/src/stories/organisms/ImageUploadWidget.stories.d.ts +3 -3
  204. package/dist/src/stories/organisms/ImageUploader.stories.d.ts +3 -3
  205. package/dist/src/stories/organisms/IncrementSetting.stories.d.ts +4 -4
  206. package/dist/src/stories/organisms/InviteCard.stories.d.ts +1 -1
  207. package/dist/src/stories/organisms/Page.stories.d.ts +1 -1
  208. package/dist/src/stories/organisms/PhoneInput.stories.d.ts +1 -1
  209. package/dist/src/stories/organisms/Pill.stories.d.ts +3 -3
  210. package/dist/src/stories/organisms/PinInput.stories.d.ts +1 -1
  211. package/dist/src/stories/organisms/PricingTile.stories.d.ts +4 -4
  212. package/dist/src/stories/organisms/PromotionWidget.stories.d.ts +3 -3
  213. package/dist/src/stories/organisms/QDSChrome.stories.d.ts +1 -1
  214. package/dist/src/stories/organisms/QuantumColorPicker.stories.d.ts +3 -3
  215. package/dist/src/stories/organisms/RadioCard.stories.d.ts +1 -1
  216. package/dist/src/stories/organisms/RadioOptionList.stories.d.ts +1 -1
  217. package/dist/src/stories/organisms/ReleaseNoteDialog.stories.d.ts +3 -3
  218. package/dist/src/stories/organisms/SelectableList.stories.d.ts +1 -1
  219. package/dist/src/stories/organisms/SettingInput.stories.d.ts +4 -4
  220. package/dist/src/stories/organisms/StaticNavigation.stories.d.ts +4 -4
  221. package/dist/src/stories/organisms/Stepper.stories.d.ts +3 -3
  222. package/dist/src/stories/organisms/UserCard.stories.d.ts +1 -1
  223. package/dist/src/stories/organisms/UserCardLoader.stories.d.ts +1 -1
  224. package/dist/src/stories/organisms/VideoPlayer.stories.d.ts +3 -3
  225. package/dist/src/stories/organisms/Zoom.stories.d.ts +4 -4
  226. package/dist/src/stories/portfolios/SOC/AffiliateShareWidget.stories.d.ts +3 -3
  227. package/dist/src/stories/portfolios/SOC/BulkSend.stories.d.ts +3 -3
  228. package/dist/src/stories/portfolios/SOC/CardEntryDialog.stories.d.ts +1 -1
  229. package/dist/src/stories/portfolios/SOC/OrderCard.stories.d.ts +1 -1
  230. package/dist/src/stories/portfolios/SOC/PaperTypeModal.stories.d.ts +3 -3
  231. package/dist/src/stories/portfolios/SOC/UpsaleDialog.stories.d.ts +1 -1
  232. package/dist/src/stories/portfolios/SOC/UpsaleSheet.stories.d.ts +1 -1
  233. package/dist/src/stories/portfolios/SOC/subscriptionUpsale/SubscriptionUpsaleDialog.stories.d.ts +1 -1
  234. package/dist/src/stories/portfolios/editor/EditorSidebar.stories.d.ts +3 -3
  235. package/dist/src/theme/quantumThemeWrapper.d.ts +1 -1
  236. package/dist/src/theme/theming/entities.d.ts +2 -8
  237. package/package.json +20 -23
  238. package/dist/src/atoms/companion/companion.d.ts +0 -17
  239. package/dist/src/hooks/useThemeHook.d.ts +0 -1
@@ -13,4 +13,4 @@ export declare type AnchorProps = {
13
13
  target?: '_blank' | '_self' | '_parent' | '_top';
14
14
  shouldDownload?: boolean;
15
15
  } & HOCBaseProps & HOCMotionProps;
16
- export declare const Anchor: (props: AnchorProps) => JSX.Element;
16
+ export declare const Anchor: (props: AnchorProps) => React.JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { Entities } from "../../theme/theming/entities";
2
+ import { TextColor } from '../typography/text';
2
3
  declare const _default: {
3
- anchorStyles: (generatedStyles: {}, theme: Entities, color?: "primaryBrand" | "secondaryBrand" | "primaryHeading" | "primaryBody" | "inverseHeading" | "inverseBody" | "accent" | "success" | "warning" | "danger" | "anchorBlue" | undefined, decorated?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
4
+ anchorStyles: (generatedStyles: {}, theme: Entities, color?: TextColor, decorated?: boolean) => import("@emotion/react").SerializedStyles;
4
5
  };
5
6
  export default _default;
@@ -1,4 +1,4 @@
1
1
  declare const _default: {
2
- asideStyles: (generatedStyles: {}) => import("@emotion/utils").SerializedStyles;
2
+ asideStyles: (generatedStyles: {}) => import("@emotion/react").SerializedStyles;
3
3
  };
4
4
  export default _default;
@@ -2,8 +2,8 @@ import { SizeType } from "../../types/global";
2
2
  import { AvatarSizeMap } from "../../helpers/style-functions/computeAvatarProperties";
3
3
  import { AvatarEntity } from "../../theme/theming/entities";
4
4
  declare const _default: {
5
- avatarContainer: (size: SizeType, sizeMap: AvatarSizeMap, avatarEntity: AvatarEntity, avatarImage?: string | undefined) => import("@emotion/utils").SerializedStyles;
6
- activeBubble: (avatarEntity: AvatarEntity, size: SizeType, sizeMap: AvatarSizeMap, isActive?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
7
- checkmarkContainer: (size: SizeType, sizeMap: AvatarSizeMap) => import("@emotion/utils").SerializedStyles;
5
+ avatarContainer: (size: SizeType, sizeMap: AvatarSizeMap, avatarEntity: AvatarEntity, avatarImage?: string) => import("@emotion/react").SerializedStyles;
6
+ activeBubble: (avatarEntity: AvatarEntity, size: SizeType, sizeMap: AvatarSizeMap, isActive?: boolean) => import("@emotion/react").SerializedStyles;
7
+ checkmarkContainer: (size: SizeType, sizeMap: AvatarSizeMap) => import("@emotion/react").SerializedStyles;
8
8
  };
9
9
  export default _default;
@@ -1,4 +1,4 @@
1
1
  declare const _default: {
2
- badge: (item: string) => import("@emotion/utils").SerializedStyles;
2
+ badge: (item: string) => import("@emotion/react").SerializedStyles;
3
3
  };
4
4
  export default _default;
@@ -7,4 +7,4 @@ export declare type CardProps = {
7
7
  className?: string;
8
8
  children?: React.ReactNode;
9
9
  } & HOCBaseProps & HOCMotionProps;
10
- export declare const Card: (props: CardProps) => JSX.Element;
10
+ export declare const Card: (props: CardProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  declare const _default: {
2
- divStyles: (generatedStyles: {}) => import("@emotion/utils").SerializedStyles;
2
+ divStyles: (generatedStyles: {}) => import("@emotion/react").SerializedStyles;
3
3
  };
4
4
  export default _default;
@@ -5,4 +5,4 @@ export declare type FlexProps = {
5
5
  children?: React.ReactNode;
6
6
  outsideClick?: () => void;
7
7
  } & HOCBaseProps & HOCMotionProps;
8
- export declare const Flex: (props: FlexProps) => JSX.Element;
8
+ export declare const Flex: (props: FlexProps) => React.JSX.Element;
@@ -5,4 +5,4 @@ export declare type FlexItemPropTypes = {
5
5
  children?: React.ReactNode;
6
6
  outsideClick?: () => void;
7
7
  } & HOCBaseProps & HOCMotionProps;
8
- export declare const FlexItem: (props: FlexItemPropTypes) => JSX.Element;
8
+ export declare const FlexItem: (props: FlexItemPropTypes) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- flexStyles: (generatedStyles: {}) => import("@emotion/utils").SerializedStyles;
3
- flexItemStyles: (generatedStyles: {}) => import("@emotion/utils").SerializedStyles;
2
+ flexStyles: (generatedStyles: {}) => import("@emotion/react").SerializedStyles;
3
+ flexItemStyles: (generatedStyles: {}) => import("@emotion/react").SerializedStyles;
4
4
  };
5
5
  export default _default;
@@ -11,4 +11,4 @@ export declare type HStackProps = {
11
11
  childWidth?: string;
12
12
  children?: React.ReactNode;
13
13
  };
14
- export declare const HStack: ({ children, gap, justify, alignItems, shouldWrap, inset, outset, childWidth, }: HStackProps) => JSX.Element;
14
+ export declare const HStack: ({ children, gap, justify, alignItems, shouldWrap, inset, outset, childWidth, }: HStackProps) => React.JSX.Element;
@@ -14,7 +14,7 @@ export declare const List: React.ForwardRefExoticComponent<{
14
14
  orientation: ListOrientation;
15
15
  alignment: AlignmentOptions;
16
16
  children?: React.ReactNode;
17
- listStyle?: "disc" | "none" | "circle" | undefined;
17
+ listStyle?: ListStyleType | undefined;
18
18
  } & HOCBaseProps & {
19
19
  className?: string | undefined;
20
20
  motionKey?: string | number | undefined;
@@ -1,5 +1,5 @@
1
1
  import { ListOrientation, AlignmentOptions, ListStyleType } from './list';
2
2
  declare const _default: {
3
- listContainer: (orientation: ListOrientation, alignment: AlignmentOptions, listStyle: ListStyleType, generatedStyles: {}) => import("@emotion/utils").SerializedStyles;
3
+ listContainer: (orientation: ListOrientation, alignment: AlignmentOptions, listStyle: ListStyleType, generatedStyles: {}) => import("@emotion/react").SerializedStyles;
4
4
  };
5
5
  export default _default;
@@ -10,4 +10,4 @@ export declare type ListItemProps = {
10
10
  initial?: string;
11
11
  transition?: {};
12
12
  } & HOCBaseProps & HOCMotionProps;
13
- export declare const ListItem: (props: ListItemProps) => JSX.Element;
13
+ export declare const ListItem: (props: ListItemProps) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { ListOrientation } from '../list/list';
2
2
  import { Entities } from "../../theme/theming/entities";
3
3
  declare const _default: {
4
- listItem: (generatedStyles: {}, orientation: ListOrientation, entities: Entities) => import("@emotion/utils").SerializedStyles;
4
+ listItem: (generatedStyles: {}, orientation: ListOrientation, entities: Entities) => import("@emotion/react").SerializedStyles;
5
5
  };
6
6
  export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const Portal: ({ children }: {
3
+ children: React.ReactNode;
4
+ }) => React.ReactPortal;
@@ -1,4 +1,4 @@
1
1
  declare const _default: {
2
- sectionStyles: (generatedStyles: {}) => import("@emotion/utils").SerializedStyles;
2
+ sectionStyles: (generatedStyles: {}) => import("@emotion/react").SerializedStyles;
3
3
  };
4
4
  export default _default;
@@ -4,4 +4,4 @@ import { HOCMotionProps } from "../../helpers/hoc-types/hocMotionTypes";
4
4
  export declare type SpanProps = {
5
5
  children?: React.ReactNode;
6
6
  } & HOCBaseProps & HOCMotionProps;
7
- export declare const Span: (props: SpanProps) => JSX.Element;
7
+ export declare const Span: (props: SpanProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  declare const _default: {
2
- spanStyles: (generatedStyles: {}) => import("@emotion/utils").SerializedStyles;
2
+ spanStyles: (generatedStyles: {}) => import("@emotion/react").SerializedStyles;
3
3
  };
4
4
  export default _default;
@@ -1,11 +1,13 @@
1
1
  import { TextEntity } from "../../theme/theming/entities";
2
+ import { TextColor, AlignmentType, WhiteSpaceType } from './text';
3
+ import { WeightType } from './text';
2
4
  declare const _default: {
3
- heroTitle: (textEntity: TextEntity, color?: "primaryBrand" | "secondaryBrand" | "primaryHeading" | "primaryBody" | "inverseHeading" | "inverseBody" | "accent" | "success" | "warning" | "danger" | "anchorBlue" | undefined, weight?: "thin" | "regular" | "semiBold" | "bold" | "extraBold" | undefined, alignment?: "left" | "center" | "right" | undefined, italic?: boolean | undefined, strikeThrough?: boolean | undefined, lineHeight?: number | undefined, whiteSpace?: "normal" | "nowrap" | "pre" | undefined, isInline?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
4
- title: (textEntity: TextEntity, color?: "primaryBrand" | "secondaryBrand" | "primaryHeading" | "primaryBody" | "inverseHeading" | "inverseBody" | "accent" | "success" | "warning" | "danger" | "anchorBlue" | undefined, weight?: "thin" | "regular" | "semiBold" | "bold" | "extraBold" | undefined, alignment?: "left" | "center" | "right" | undefined, italic?: boolean | undefined, strikeThrough?: boolean | undefined, lineHeight?: number | undefined, whiteSpace?: "normal" | "nowrap" | "pre" | undefined, isInline?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
5
- subtitle: (textEntity: TextEntity, color?: "primaryBrand" | "secondaryBrand" | "primaryHeading" | "primaryBody" | "inverseHeading" | "inverseBody" | "accent" | "success" | "warning" | "danger" | "anchorBlue" | undefined, weight?: "thin" | "regular" | "semiBold" | "bold" | "extraBold" | undefined, alignment?: "left" | "center" | "right" | undefined, italic?: boolean | undefined, strikeThrough?: boolean | undefined, lineHeight?: number | undefined, whiteSpace?: "normal" | "nowrap" | "pre" | undefined, isInline?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
6
- largeBody: (textEntity: TextEntity, color?: "primaryBrand" | "secondaryBrand" | "primaryHeading" | "primaryBody" | "inverseHeading" | "inverseBody" | "accent" | "success" | "warning" | "danger" | "anchorBlue" | undefined, weight?: "thin" | "regular" | "semiBold" | "bold" | "extraBold" | undefined, alignment?: "left" | "center" | "right" | undefined, italic?: boolean | undefined, strikeThrough?: boolean | undefined, lineHeight?: number | undefined, whiteSpace?: "normal" | "nowrap" | "pre" | undefined, isInline?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
7
- body: (textEntity: TextEntity, color?: "primaryBrand" | "secondaryBrand" | "primaryHeading" | "primaryBody" | "inverseHeading" | "inverseBody" | "accent" | "success" | "warning" | "danger" | "anchorBlue" | undefined, weight?: "thin" | "regular" | "semiBold" | "bold" | "extraBold" | undefined, alignment?: "left" | "center" | "right" | undefined, italic?: boolean | undefined, strikeThrough?: boolean | undefined, lineHeight?: number | undefined, whiteSpace?: "normal" | "nowrap" | "pre" | undefined, isInline?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
8
- caption: (textEntity: TextEntity, color?: "primaryBrand" | "secondaryBrand" | "primaryHeading" | "primaryBody" | "inverseHeading" | "inverseBody" | "accent" | "success" | "warning" | "danger" | "anchorBlue" | undefined, weight?: "thin" | "regular" | "semiBold" | "bold" | "extraBold" | undefined, alignment?: "left" | "center" | "right" | undefined, italic?: boolean | undefined, strikeThrough?: boolean | undefined, lineHeight?: number | undefined, whiteSpace?: "normal" | "nowrap" | "pre" | undefined, isInline?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
9
- footnote: (textEntity: TextEntity, color?: "primaryBrand" | "secondaryBrand" | "primaryHeading" | "primaryBody" | "inverseHeading" | "inverseBody" | "accent" | "success" | "warning" | "danger" | "anchorBlue" | undefined, weight?: "thin" | "regular" | "semiBold" | "bold" | "extraBold" | undefined, alignment?: "left" | "center" | "right" | undefined, italic?: boolean | undefined, strikeThrough?: boolean | undefined, lineHeight?: number | undefined, whiteSpace?: "normal" | "nowrap" | "pre" | undefined, isInline?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
5
+ heroTitle: (textEntity: TextEntity, color?: TextColor, weight?: WeightType, alignment?: AlignmentType, italic?: boolean, strikeThrough?: boolean, lineHeight?: number, whiteSpace?: WhiteSpaceType, isInline?: boolean) => import("@emotion/react").SerializedStyles;
6
+ title: (textEntity: TextEntity, color?: TextColor, weight?: WeightType, alignment?: AlignmentType, italic?: boolean, strikeThrough?: boolean, lineHeight?: number, whiteSpace?: WhiteSpaceType, isInline?: boolean) => import("@emotion/react").SerializedStyles;
7
+ subtitle: (textEntity: TextEntity, color?: TextColor, weight?: WeightType, alignment?: AlignmentType, italic?: boolean, strikeThrough?: boolean, lineHeight?: number, whiteSpace?: WhiteSpaceType, isInline?: boolean) => import("@emotion/react").SerializedStyles;
8
+ largeBody: (textEntity: TextEntity, color?: TextColor, weight?: WeightType, alignment?: AlignmentType, italic?: boolean, strikeThrough?: boolean, lineHeight?: number, whiteSpace?: WhiteSpaceType, isInline?: boolean) => import("@emotion/react").SerializedStyles;
9
+ body: (textEntity: TextEntity, color?: TextColor, weight?: WeightType, alignment?: AlignmentType, italic?: boolean, strikeThrough?: boolean, lineHeight?: number, whiteSpace?: WhiteSpaceType, isInline?: boolean) => import("@emotion/react").SerializedStyles;
10
+ caption: (textEntity: TextEntity, color?: TextColor, weight?: WeightType, alignment?: AlignmentType, italic?: boolean, strikeThrough?: boolean, lineHeight?: number, whiteSpace?: WhiteSpaceType, isInline?: boolean) => import("@emotion/react").SerializedStyles;
11
+ footnote: (textEntity: TextEntity, color?: TextColor, weight?: WeightType, alignment?: AlignmentType, italic?: boolean, strikeThrough?: boolean, lineHeight?: number, whiteSpace?: WhiteSpaceType, isInline?: boolean) => import("@emotion/react").SerializedStyles;
10
12
  };
11
13
  export default _default;
@@ -23,4 +23,4 @@ export declare type WeightType = keyof typeof entities.text.weights;
23
23
  export declare type TextType = keyof typeof entities.text.types;
24
24
  export declare type TextColor = keyof typeof entities.text.colors;
25
25
  export declare type AlignmentType = 'left' | 'center' | 'right';
26
- export declare const Text: ({ ...props }: TextProps) => JSX.Element;
26
+ export declare const Text: ({ ...props }: TextProps) => React.JSX.Element;
@@ -14,4 +14,4 @@ export declare type VStackProps = {
14
14
  overflow?: Overflow;
15
15
  children?: React.ReactNode;
16
16
  };
17
- export declare const VStack: ({ children, gap, justifyContent, alignItems, alignContent, inset, outset, width, height, overflow, }: VStackProps) => JSX.Element;
17
+ export declare const VStack: ({ children, gap, justifyContent, alignItems, alignContent, inset, outset, width, height, overflow, }: VStackProps) => React.JSX.Element;
@@ -1,7 +1,3 @@
1
- import { BorderWidthDirection, HOCBorderWidthKeys, LiteralUnion, BorderStyleDirection } from '../hoc-types/entityValueTypes';
1
+ import { BorderWidthDirection, HOCBorderWidthKeys, HOCBorderWidth, LiteralUnion, BorderStyleDirection } from '../hoc-types/entityValueTypes';
2
2
  import { BorderStyles } from '../hoc-types/cssValueTypes';
3
- export declare const findBorderDirection: (property: string, value: BorderWidthDirection | BorderStyleDirection | LiteralUnion<HOCBorderWidthKeys> | LiteralUnion<BorderStyles>, entity?: {
4
- thin: string;
5
- default: string;
6
- bold: string;
7
- } | undefined) => {};
3
+ export declare const findBorderDirection: (property: string, value: BorderWidthDirection | BorderStyleDirection | LiteralUnion<HOCBorderWidthKeys> | LiteralUnion<BorderStyles>, entity?: HOCBorderWidth) => {};
@@ -1,9 +1,2 @@
1
- import { BorderRadiusDirection, HOCBorderRadiusKeys, LiteralUnion } from '../hoc-types/entityValueTypes';
2
- export declare const findBorderRadiusDirection: (value: BorderRadiusDirection | LiteralUnion<HOCBorderRadiusKeys>, entity?: {
3
- none: string;
4
- small: string;
5
- medium: string;
6
- default: string;
7
- large: string;
8
- circle: string;
9
- } | undefined) => {};
1
+ import { BorderRadius, HOCBorderRadius, HOCBorderRadiusKeys, LiteralUnion } from '../hoc-types/entityValueTypes';
2
+ export declare const findBorderRadiusDirection: (value: BorderRadius | LiteralUnion<HOCBorderRadiusKeys>, entity?: HOCBorderRadius) => {};
@@ -1,18 +1,2 @@
1
- import { HOCSpacingKeys, SpacingDirection, LiteralUnion } from '../hoc-types/entityValueTypes';
2
- export declare const findDirection: (property: string, value: SpacingDirection | LiteralUnion<HOCSpacingKeys>, entity?: {
3
- x0: string;
4
- x_25: string;
5
- x_5: string;
6
- x_75: string;
7
- x1: string;
8
- x1_5: string;
9
- x2: string;
10
- x2_5: string;
11
- x3: string;
12
- x4: string;
13
- x5: string;
14
- x6: string;
15
- x7: string;
16
- x8: string;
17
- x9: string;
18
- } | undefined) => {};
1
+ import { HOCSpacing, HOCSpacingKeys, LiteralUnion, Spacing } from '../hoc-types/entityValueTypes';
2
+ export declare const findDirection: (property: string, value: Spacing | LiteralUnion<HOCSpacingKeys>, entity?: HOCSpacing) => {};
@@ -1,63 +1,6 @@
1
- import { HOCValues, HOCPrimitive, Responsive, ColorSelection, HOCColorKeys, LiteralUnion } from '../hoc-types/entityValueTypes';
1
+ import { HOCSpacing, HOCBorderRadius, HOCBorderWidth, HOCValues, HOCShadows, HOCPrimitive, HOCTextColors, Responsive, ColorSelection, HOCColorKeys, LiteralUnion, HOCColors } from '../hoc-types/entityValueTypes';
2
2
  import { CSSValues } from '../hoc-types/cssValueTypes';
3
3
  import { TextColor } from "../../exports/atoms";
4
- export declare const makeResponsive: (property: string, value: HOCValues | CSSValues | HOCPrimitive | Responsive<HOCPrimitive> | LiteralUnion<HOCColorKeys> | TextColor | Responsive<ColorSelection>, entity?: {
5
- none: string;
6
- small: string;
7
- medium: string;
8
- default: string;
9
- large: string;
10
- circle: string;
11
- } | {
12
- light: string;
13
- mediumLight: string;
14
- mediumDark: string;
15
- dark: string;
16
- generate: (shadow: number[] | "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
17
- } | {
18
- primaryBrand: string;
19
- secondaryBrand: string;
20
- primaryHeading: string | undefined;
21
- primaryBody: string;
22
- inverseHeading: string;
23
- inverseBody: string;
24
- accent: string;
25
- success: string;
26
- warning: string;
27
- danger: string;
28
- anchorBlue: string;
29
- } | {
30
- x0: string;
31
- x_25: string;
32
- x_5: string;
33
- x_75: string;
34
- x1: string;
35
- x1_5: string;
36
- x2: string;
37
- x2_5: string;
38
- x3: string;
39
- x4: string;
40
- x5: string;
41
- x6: string;
42
- x7: string;
43
- x8: string;
44
- x9: string;
45
- } | {
46
- thin: string;
47
- default: string;
48
- bold: string;
49
- } | {
50
- swatches: {
51
- primaryBrand: Required<import("../theme-functions/computeColorSwatch").ColorSwatch>;
52
- secondaryBrand: Required<import("../theme-functions/computeColorSwatch").ColorSwatch>;
53
- success: Required<import("../theme-functions/computeColorSwatch").ColorSwatch>;
54
- danger: Required<import("../theme-functions/computeColorSwatch").ColorSwatch>;
55
- warning: Required<import("../theme-functions/computeColorSwatch").ColorSwatch>;
56
- accent: Required<import("../theme-functions/computeColorSwatch").ColorSwatch>;
57
- grayScale: import("../theme-functions/computeColorSwatch").ColorSwatch;
58
- blueScale: Required<import("../theme-functions/computeColorSwatch").ColorSwatch>;
59
- purpleScale: import("../theme-functions/computeColorSwatch").ColorSwatch;
60
- };
61
- background: string;
62
- foreground: string;
63
- } | undefined) => {};
4
+ export declare const makeResponsive: (property: string, value: HOCValues | CSSValues | HOCPrimitive | Responsive<HOCPrimitive> | LiteralUnion<HOCColorKeys> | TextColor | Responsive<ColorSelection>, entity?: HOCSpacing | HOCBorderRadius | HOCBorderWidth | HOCShadows | HOCTextColors | HOCColors) => {
5
+ [key: string]: string | Responsive<string>;
6
+ };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Responsive } from '../hoc-types/entityValueTypes';
2
3
  import { TextType } from "../../atoms/typography/text";
3
4
  export declare const makeTextResponsive: (size: TextType | Responsive<TextType>, callback: (type: TextType) => JSX.Element | undefined, windowSize: number) => JSX.Element | undefined;
@@ -154,5 +154,5 @@ declare type PurpleScaleColorSelection = {
154
154
  export declare type LiteralUnion<T extends U, U = string> = T | (U & {
155
155
  _?: never;
156
156
  });
157
- export declare type HOCValues = SpacingDirection | HOCSpacingKeys | BorderRadiusDirection | HOCBorderRadiusKeys | BorderWidthDirection | HOCBorderWidthKeys | ColorSelection | Shadows | ColorSwatch;
157
+ export declare type HOCValues = Spacing | HOCSpacingKeys | BorderRadius | HOCBorderRadiusKeys | BorderWidth | HOCBorderWidthKeys | ColorSelection | Shadows | ColorSwatch;
158
158
  export {};
@@ -1,2 +1,2 @@
1
1
  import { SizeType } from "../../types/global";
2
- export declare const mapSizeType: <T>(size: SizeType, sizeMap: Record<"xSmall" | "small" | "medium" | "large" | "xLarge", T>) => T;
2
+ export declare const mapSizeType: <T>(size: SizeType, sizeMap: Record<keyof import("../../types/global").SizeProperties<never>, T>) => T;
@@ -1,4 +1,4 @@
1
1
  import { shadows } from "../../theme/tokens/shadows";
2
2
  declare type ShadowConceptKey = keyof typeof shadows;
3
- export declare const computeShadow: (shadow: ShadowConceptKey | number[], color?: string | undefined, reverseOffset?: boolean | undefined) => string;
3
+ export declare const computeShadow: (shadow: ShadowConceptKey | number[], color?: string, reverseOffset?: boolean) => string;
4
4
  export {};