@sendoutcards/quantum-design-ui 1.8.34 → 1.8.36
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.
- package/dist/index.es.js +645 -751
- package/dist/src/atoms/anchor/anchor.d.ts +1 -1
- package/dist/src/atoms/anchor/styles.d.ts +2 -1
- package/dist/src/atoms/aside/styles.d.ts +1 -1
- package/dist/src/atoms/avatar/styles.d.ts +3 -3
- package/dist/src/atoms/badge/styles.d.ts +1 -1
- package/dist/src/atoms/card/card.d.ts +1 -1
- package/dist/src/atoms/div/styles.d.ts +1 -1
- package/dist/src/atoms/flex/flex.d.ts +1 -1
- package/dist/src/atoms/flex/flexItem.d.ts +1 -1
- package/dist/src/atoms/flex/styles.d.ts +2 -2
- package/dist/src/atoms/hStack/hStack.d.ts +1 -1
- package/dist/src/atoms/list/list.d.ts +1 -1
- package/dist/src/atoms/list/styles.d.ts +1 -1
- package/dist/src/atoms/listItem/listItem.d.ts +1 -1
- package/dist/src/atoms/listItem/styles.d.ts +1 -1
- package/dist/src/atoms/portal/portal.d.ts +4 -0
- package/dist/src/atoms/section/styles.d.ts +1 -1
- package/dist/src/atoms/span/span.d.ts +1 -1
- package/dist/src/atoms/span/styles.d.ts +1 -1
- package/dist/src/atoms/typography/styles.d.ts +9 -7
- package/dist/src/atoms/typography/text.d.ts +1 -1
- package/dist/src/atoms/vStack/vStack.d.ts +1 -1
- package/dist/src/helpers/hoc-functions/findBorderDirection.d.ts +2 -6
- package/dist/src/helpers/hoc-functions/findBorderRadiusDirection.d.ts +2 -9
- package/dist/src/helpers/hoc-functions/findDirection.d.ts +2 -18
- package/dist/src/helpers/hoc-functions/makeResponsive.d.ts +4 -61
- package/dist/src/helpers/hoc-functions/makeTextResponsive.d.ts +1 -0
- package/dist/src/helpers/hoc-types/entityValueTypes.d.ts +1 -1
- package/dist/src/helpers/style-functions/mapSizeType.d.ts +1 -1
- package/dist/src/helpers/theme-functions/computeShadow.d.ts +1 -1
- package/dist/src/hooks/useEntities.d.ts +1 -510
- package/dist/src/hooks/useOutsideClick.d.ts +1 -1
- package/dist/src/hooks/useRadialGradient.d.ts +4 -1
- package/dist/src/molecules/blockQuote/blockQuote.d.ts +1 -1
- package/dist/src/molecules/button/button.d.ts +1 -1
- package/dist/src/molecules/button/styles.d.ts +3 -2
- package/dist/src/molecules/checkbox/styles.d.ts +4 -4
- package/dist/src/molecules/closeButton/styles.d.ts +1 -1
- package/dist/src/molecules/contextBar/contextBar.d.ts +1 -1
- package/dist/src/molecules/dialog/styles.d.ts +2 -2
- package/dist/src/molecules/displayCard/displayCard.d.ts +1 -1
- package/dist/src/molecules/dragBar/styles.d.ts +1 -1
- package/dist/src/molecules/dragBox/styles.d.ts +1 -1
- package/dist/src/molecules/drawer/drawer.d.ts +1 -1
- package/dist/src/molecules/drawer/styles.d.ts +3 -3
- package/dist/src/molecules/grid/components/gridItem.d.ts +1 -1
- package/dist/src/molecules/grid/grid.d.ts +1 -1
- package/dist/src/molecules/grid/styles.d.ts +2 -2
- package/dist/src/molecules/iconLink/styles.d.ts +3 -3
- package/dist/src/molecules/image/styles.d.ts +4 -4
- package/dist/src/molecules/infiniteScroller/infiniteScroller.d.ts +1 -1
- package/dist/src/molecules/infoBlock/styles.d.ts +3 -3
- package/dist/src/molecules/input/styles.d.ts +5 -5
- package/dist/src/molecules/linkColumn/styles.d.ts +1 -1
- package/dist/src/molecules/loader/loader.d.ts +1 -1
- package/dist/src/molecules/menu/components/menuSection.d.ts +1 -1
- package/dist/src/molecules/menu/styles.d.ts +1 -1
- package/dist/src/molecules/navigation/styles.d.ts +11 -11
- package/dist/src/molecules/overlay/overlay.d.ts +1 -1
- package/dist/src/molecules/progress/styles.d.ts +2 -2
- package/dist/src/molecules/scrollable/scrollable.d.ts +1 -1
- package/dist/src/molecules/scrollable/styles.d.ts +1 -1
- package/dist/src/molecules/scrollingIndicator/styles.d.ts +2 -2
- package/dist/src/molecules/select/components/option.d.ts +11 -29
- package/dist/src/molecules/select/select.d.ts +1 -1
- package/dist/src/molecules/select/styles.d.ts +6 -5
- package/dist/src/molecules/separator/styles.d.ts +3 -3
- package/dist/src/molecules/sheet/sheet.d.ts +1 -1
- package/dist/src/molecules/sheet/styles.d.ts +4 -4
- package/dist/src/molecules/sidebar/sidebar.d.ts +1 -1
- package/dist/src/molecules/slider/styles.d.ts +3 -3
- package/dist/src/molecules/stackedCards/stackedCards.d.ts +1 -1
- package/dist/src/molecules/stoplight/stoplight.d.ts +1 -1
- package/dist/src/molecules/tab/components/tab.d.ts +1 -1
- package/dist/src/molecules/tab/tabs.d.ts +1 -1
- package/dist/src/molecules/table/components/rowItem.d.ts +1 -1
- package/dist/src/molecules/table/components/tableRow.d.ts +1 -1
- package/dist/src/molecules/table/styles.d.ts +3 -3
- package/dist/src/molecules/table/table.d.ts +1 -1
- package/dist/src/molecules/tooltip/styles.d.ts +1 -1
- package/dist/src/molecules/tooltip/tooltip.d.ts +1 -1
- package/dist/src/molecules/transition/styles.d.ts +1 -1
- package/dist/src/molecules/uploadButton/styles.d.ts +6 -6
- package/dist/src/organisms/accordion/components/accordionHeading.d.ts +1 -1
- package/dist/src/organisms/accordion/styles.d.ts +1 -1
- package/dist/src/organisms/accountMenu/accountMenu.d.ts +1 -1
- package/dist/src/organisms/accountMenu/styles.d.ts +2 -2
- package/dist/src/organisms/animatedGrid/animatedGrid.d.ts +1 -1
- package/dist/src/organisms/animatedTiltCard/styles.d.ts +1 -1
- package/dist/src/organisms/awards/styles.d.ts +3 -3
- package/dist/src/organisms/banner/banner.d.ts +1 -1
- package/dist/src/organisms/circleMenu/styles.d.ts +2 -2
- package/dist/src/organisms/imageUploadWidget/styles.d.ts +1 -1
- package/dist/src/organisms/imageUploader/imageUploader.d.ts +2 -1
- package/dist/src/organisms/incrementSetting/styles.d.ts +1 -1
- package/dist/src/organisms/navigationPill/styles.d.ts +5 -5
- package/dist/src/organisms/page/page.d.ts +1 -1
- package/dist/src/organisms/phoneInput/styles.d.ts +2 -2
- package/dist/src/organisms/pill/pill.d.ts +1 -1
- package/dist/src/organisms/pinInput/styles.d.ts +3 -3
- package/dist/src/organisms/pricingTile/pricingTile.d.ts +1 -1
- package/dist/src/organisms/qdsChrome/styles.d.ts +7 -7
- package/dist/src/organisms/quantumColorPicker/styles.d.ts +1 -1
- package/dist/src/organisms/radioCard/styles.d.ts +1 -1
- package/dist/src/organisms/radioOptionList/styles.d.ts +1 -1
- package/dist/src/organisms/selectableList/styles.d.ts +1 -1
- package/dist/src/organisms/settingInput/styles.d.ts +1 -1
- package/dist/src/organisms/staticNavigation/styles.d.ts +1 -1
- package/dist/src/organisms/subNavigation/styles.d.ts +2 -2
- package/dist/src/organisms/userCard/styles.d.ts +2 -2
- package/dist/src/organisms/videoPlayer/styles.d.ts +4 -4
- package/dist/src/organisms/zoom/styles.d.ts +1 -1
- package/dist/src/portfolios/editor/editorSidebar/editorSidebar.d.ts +1 -1
- package/dist/src/portfolios/soc/components/orderCard/styles.d.ts +1 -1
- package/dist/src/portfolios/soc/components/paperTypeModal/styles.d.ts +1 -1
- package/dist/src/portfolios/soc/components/upsaleSheet/styles.d.ts +1 -1
- package/dist/src/portfolios/soc/upsaleDialog/styles.d.ts +1 -1
- package/dist/src/stories/atoms/Anchor.stories.d.ts +3 -3
- package/dist/src/stories/atoms/AnimatedCheckmark.stories.d.ts +4 -4
- package/dist/src/stories/atoms/Aside.stories.d.ts +3 -3
- package/dist/src/stories/atoms/Avatar.stories.d.ts +7 -7
- package/dist/src/stories/atoms/Badge.stories.d.ts +1 -1
- package/dist/src/stories/atoms/Bar.stories.d.ts +1 -1
- package/dist/src/stories/atoms/Capsule.stories.d.ts +3 -3
- package/dist/src/stories/atoms/Card.stories.d.ts +3 -3
- package/dist/src/stories/atoms/ColorThumbnail.stories.d.ts +3 -3
- package/dist/src/stories/atoms/Colors.stories.d.ts +1 -1
- package/dist/src/stories/atoms/Div.stories.d.ts +3 -3
- package/dist/src/stories/atoms/Flex.stories.d.ts +3 -3
- package/dist/src/stories/atoms/Hstack.stories.d.ts +3 -3
- package/dist/src/stories/atoms/Icons.stories.d.ts +1 -1
- package/dist/src/stories/atoms/List.stories.d.ts +4 -4
- package/dist/src/stories/atoms/ListItem.stories.d.ts +3 -3
- package/dist/src/stories/atoms/LoadingSpinner.stories.d.ts +1 -1
- package/dist/src/stories/atoms/Section.stories.d.ts +3 -3
- package/dist/src/stories/atoms/Spacer.stories.d.ts +1 -1
- package/dist/src/stories/atoms/Span.stories.d.ts +3 -3
- package/dist/src/stories/atoms/Text.stories.d.ts +4 -4
- package/dist/src/stories/atoms/VStack.stories.d.ts +3 -3
- package/dist/src/stories/molecules/ArticleCard.stories.d.ts +1 -1
- package/dist/src/stories/molecules/BlockQuote.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Button.stories.d.ts +2 -1
- package/dist/src/stories/molecules/Checkbox.stories.d.ts +1 -1
- package/dist/src/stories/molecules/Circle.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Clipboard.stories.d.ts +3 -3
- package/dist/src/stories/molecules/CloseButton.stories.d.ts +3 -3
- package/dist/src/stories/molecules/ComparisonItem.stories.d.ts +1 -1
- package/dist/src/stories/molecules/CountdownTimer.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Dialog.stories.d.ts +4 -4
- package/dist/src/stories/molecules/DisplayCard.stories.d.ts +3 -3
- package/dist/src/stories/molecules/DownloadButton.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Drawer.stories.d.ts +4 -4
- package/dist/src/stories/molecules/DropDownMenu.stories.d.ts +3 -3
- package/dist/src/stories/molecules/FeatureBadge.stories.d.ts +1 -1
- package/dist/src/stories/molecules/Grid.stories.d.ts +3 -3
- package/dist/src/stories/molecules/IconLink.stories.d.ts +1 -1
- package/dist/src/stories/molecules/Image.stories.d.ts +6 -6
- package/dist/src/stories/molecules/ImageThumbnail.stories.d.ts +3 -3
- package/dist/src/stories/molecules/InfiniteScroller.stories.d.ts +3 -3
- package/dist/src/stories/molecules/InfoBlock.stories.d.ts +1 -1
- package/dist/src/stories/molecules/Input.stories.d.ts +1 -1
- package/dist/src/stories/molecules/LinkColumn.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Loader.stories.d.ts +1 -1
- package/dist/src/stories/molecules/Logo.stories.d.ts +1 -1
- package/dist/src/stories/molecules/MasonryGrid.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Menu.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Progress.stories.d.ts +1 -1
- package/dist/src/stories/molecules/QuantitySlider.stories.d.ts +3 -3
- package/dist/src/stories/molecules/ReleaseNote.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Scrollable.stories.d.ts +3 -3
- package/dist/src/stories/molecules/ScrollingIndicator.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Select.stories.d.ts +1 -1
- package/dist/src/stories/molecules/Separator.stories.d.ts +1 -1
- package/dist/src/stories/molecules/Sheet.stories.d.ts +5 -5
- package/dist/src/stories/molecules/Sidebar.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Slider.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Sphere.stories.d.ts +3 -3
- package/dist/src/stories/molecules/StackedCards.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Stoplight.stories.d.ts +8 -8
- package/dist/src/stories/molecules/Tab.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Table.stories.d.ts +4 -4
- package/dist/src/stories/molecules/TitledList.stories.d.ts +3 -3
- package/dist/src/stories/molecules/Toggle.stories.d.ts +1 -1
- package/dist/src/stories/molecules/ToolTip.stories.d.ts +1 -1
- package/dist/src/stories/molecules/Transition.stories.d.ts +1 -1
- package/dist/src/stories/molecules/UploadButton.stories.d.ts +3 -3
- package/dist/src/stories/organisms/Accordion.stories.d.ts +4 -4
- package/dist/src/stories/organisms/AccountMenu.stories.d.ts +1 -1
- package/dist/src/stories/organisms/AnimatedGrid.stories.d.ts +3 -3
- package/dist/src/stories/organisms/AnimatedTiltCard.stories.d.ts +1 -1
- package/dist/src/stories/organisms/Awards.stories.d.ts +1 -1
- package/dist/src/stories/organisms/Banner.stories.d.ts +3 -3
- package/dist/src/stories/organisms/ButtonWithMenu.stories.d.ts +1 -1
- package/dist/src/stories/organisms/CircleMenu.stories.d.ts +3 -3
- package/dist/src/stories/organisms/ComparisonIncludesList.stories.d.ts +1 -1
- package/dist/src/stories/organisms/ConfigurationCard.stories.d.ts +1 -1
- package/dist/src/stories/organisms/ConfirmDialog.stories.d.ts +1 -1
- package/dist/src/stories/organisms/ContentPusher.stories.d.ts +3 -3
- package/dist/src/stories/organisms/FeatureAnnouncement.stories.d.ts +3 -3
- package/dist/src/stories/organisms/ImageGrid.stories.d.ts +3 -3
- package/dist/src/stories/organisms/ImageUploadWidget.stories.d.ts +3 -3
- package/dist/src/stories/organisms/ImageUploader.stories.d.ts +3 -3
- package/dist/src/stories/organisms/IncrementSetting.stories.d.ts +4 -4
- package/dist/src/stories/organisms/InviteCard.stories.d.ts +1 -1
- package/dist/src/stories/organisms/Page.stories.d.ts +1 -1
- package/dist/src/stories/organisms/PhoneInput.stories.d.ts +1 -1
- package/dist/src/stories/organisms/Pill.stories.d.ts +3 -3
- package/dist/src/stories/organisms/PinInput.stories.d.ts +1 -1
- package/dist/src/stories/organisms/PricingTile.stories.d.ts +4 -4
- package/dist/src/stories/organisms/PromotionWidget.stories.d.ts +3 -3
- package/dist/src/stories/organisms/QDSChrome.stories.d.ts +1 -1
- package/dist/src/stories/organisms/QuantumColorPicker.stories.d.ts +3 -3
- package/dist/src/stories/organisms/RadioCard.stories.d.ts +1 -1
- package/dist/src/stories/organisms/RadioOptionList.stories.d.ts +1 -1
- package/dist/src/stories/organisms/ReleaseNoteDialog.stories.d.ts +3 -3
- package/dist/src/stories/organisms/SelectableList.stories.d.ts +1 -1
- package/dist/src/stories/organisms/SettingInput.stories.d.ts +4 -4
- package/dist/src/stories/organisms/StaticNavigation.stories.d.ts +4 -4
- package/dist/src/stories/organisms/Stepper.stories.d.ts +3 -3
- package/dist/src/stories/organisms/UserCard.stories.d.ts +1 -1
- package/dist/src/stories/organisms/UserCardLoader.stories.d.ts +1 -1
- package/dist/src/stories/organisms/VideoPlayer.stories.d.ts +3 -3
- package/dist/src/stories/organisms/Zoom.stories.d.ts +4 -4
- package/dist/src/stories/portfolios/SOC/AffiliateShareWidget.stories.d.ts +3 -3
- package/dist/src/stories/portfolios/SOC/BulkSend.stories.d.ts +3 -3
- package/dist/src/stories/portfolios/SOC/CardEntryDialog.stories.d.ts +1 -1
- package/dist/src/stories/portfolios/SOC/OrderCard.stories.d.ts +1 -1
- package/dist/src/stories/portfolios/SOC/PaperTypeModal.stories.d.ts +3 -3
- package/dist/src/stories/portfolios/SOC/UpsaleDialog.stories.d.ts +1 -1
- package/dist/src/stories/portfolios/SOC/UpsaleSheet.stories.d.ts +1 -1
- package/dist/src/stories/portfolios/SOC/subscriptionUpsale/SubscriptionUpsaleDialog.stories.d.ts +1 -1
- package/dist/src/stories/portfolios/editor/EditorSidebar.stories.d.ts +3 -3
- package/dist/src/theme/quantumThemeWrapper.d.ts +1 -1
- package/dist/src/theme/theming/entities.d.ts +2 -8
- package/package.json +20 -23
- 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?:
|
|
4
|
+
anchorStyles: (generatedStyles: {}, theme: Entities, color?: TextColor, decorated?: boolean) => import("@emotion/react").SerializedStyles;
|
|
4
5
|
};
|
|
5
6
|
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
|
|
6
|
-
activeBubble: (avatarEntity: AvatarEntity, size: SizeType, sizeMap: AvatarSizeMap, isActive?: boolean
|
|
7
|
-
checkmarkContainer: (size: SizeType, sizeMap: AvatarSizeMap) => import("@emotion/
|
|
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;
|
|
@@ -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/
|
|
3
|
-
flexItemStyles: (generatedStyles: {}) => import("@emotion/
|
|
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?:
|
|
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/
|
|
3
|
+
listContainer: (orientation: ListOrientation, alignment: AlignmentOptions, listStyle: ListStyleType, generatedStyles: {}) => import("@emotion/react").SerializedStyles;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
@@ -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/
|
|
4
|
+
listItem: (generatedStyles: {}, orientation: ListOrientation, entities: Entities) => import("@emotion/react").SerializedStyles;
|
|
5
5
|
};
|
|
6
6
|
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,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?:
|
|
4
|
-
title: (textEntity: TextEntity, color?:
|
|
5
|
-
subtitle: (textEntity: TextEntity, color?:
|
|
6
|
-
largeBody: (textEntity: TextEntity, color?:
|
|
7
|
-
body: (textEntity: TextEntity, color?:
|
|
8
|
-
caption: (textEntity: TextEntity, color?:
|
|
9
|
-
footnote: (textEntity: TextEntity, color?:
|
|
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 {
|
|
2
|
-
export declare const findBorderRadiusDirection: (value:
|
|
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 {
|
|
2
|
-
export declare const findDirection: (property: string, value:
|
|
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
|
-
|
|
6
|
-
|
|
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 =
|
|
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<
|
|
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
|
|
3
|
+
export declare const computeShadow: (shadow: ShadowConceptKey | number[], color?: string, reverseOffset?: boolean) => string;
|
|
4
4
|
export {};
|