@hero-design/rn 7.17.0 → 7.18.0
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/.turbo/turbo-build.log +2 -2
- package/es/index.js +3712 -3473
- package/lib/index.js +3716 -3475
- package/package.json +2 -2
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +12 -12
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +26 -26
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +1 -1
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -2
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/BottomNavigation/index.tsx +1 -1
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Button/Button.tsx +1 -0
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +2 -2
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Button/UtilityButton/{styled.tsx → StyledUtilityButton.tsx} +2 -2
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
- package/src/components/Button/UtilityButton/index.tsx +5 -1
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +1 -1
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +69 -69
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +12 -12
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +1 -1
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -1
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +6 -5
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +13 -12
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +12 -12
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +99 -0
- package/src/components/Drawer/DragableDrawer/__tests__/helpers.spec.ts +39 -0
- package/src/components/Drawer/DragableDrawer/__tests__/index.spec.tsx +24 -0
- package/src/components/Drawer/DragableDrawer/helpers.ts +43 -0
- package/src/components/Drawer/DragableDrawer/index.tsx +205 -0
- package/src/components/Drawer/StyledDrawer.tsx +70 -26
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Drawer/index.tsx +4 -1
- package/src/components/Empty/StyledEmpty.tsx +4 -3
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +4 -3
- package/src/components/Empty/index.tsx +2 -2
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +28 -28
- package/src/components/FAB/ActionGroup/index.tsx +1 -1
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -3
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/List/ListItem.tsx +1 -1
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +3 -3
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +20 -20
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +6 -6
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +12 -12
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +4 -4
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
- package/src/components/Progress/ProgressCircle.tsx +25 -22
- package/src/components/Progress/StyledProgressCircle.tsx +33 -28
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +102 -92
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +5 -5
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +6 -6
- package/src/components/Radio/__tests__/__snapshots__/StyledRadio.spec.tsx.snap +3 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +11 -11
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +8 -6
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +3 -3
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +42 -42
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +126 -121
- package/src/components/Select/MultiSelect/index.tsx +1 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -2
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +36 -36
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +99 -94
- package/src/components/Select/SingleSelect/index.tsx +2 -6
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +2 -2
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +8 -8
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/Switch/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Tabs/ScrollableTabs.tsx +1 -1
- package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +8 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +85 -6
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +87 -8
- package/src/components/Tabs/__tests__/index.spec.tsx +8 -0
- package/src/components/Tabs/index.tsx +8 -3
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +9 -9
- package/src/components/TextInput/StyledTextInput.tsx +1 -0
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +50 -50
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +100 -87
- package/src/components/TextInput/index.tsx +2 -2
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +6 -5
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +13 -12
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +22 -22
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +8 -8
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +13 -13
- package/src/index.ts +9 -1
- package/src/theme/ThemeProvider.ts +19 -0
- package/src/theme/ThemeSwitcher.tsx +27 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +161 -149
- package/src/theme/components/alert.ts +3 -3
- package/src/theme/components/badge.ts +1 -1
- package/src/theme/components/button.ts +9 -8
- package/src/theme/components/card.ts +4 -4
- package/src/theme/components/drawer.ts +14 -2
- package/src/theme/components/empty.ts +3 -2
- package/src/theme/components/list.ts +4 -4
- package/src/theme/components/pinInput.ts +2 -2
- package/src/theme/components/progress.ts +5 -5
- package/src/theme/components/toast.ts +3 -3
- package/src/theme/getTheme.ts +129 -0
- package/src/theme/global/colors/swag.ts +54 -0
- package/src/theme/global/colors/types.ts +45 -0
- package/src/theme/global/colors/work.ts +14 -0
- package/src/theme/global/index.ts +6 -2
- package/src/theme/index.ts +16 -143
- package/src/utils/scale.ts +4 -1
- package/types/components/Button/Button.d.ts +1 -0
- package/types/components/Button/UtilityButton/{styled.d.ts → StyledUtilityButton.d.ts} +0 -0
- package/types/components/Drawer/DragableDrawer/__tests__/helpers.spec.d.ts +1 -0
- package/types/components/Drawer/DragableDrawer/__tests__/index.spec.d.ts +1 -0
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +8 -0
- package/types/components/Drawer/DragableDrawer/index.d.ts +33 -0
- package/types/components/Drawer/StyledDrawer.d.ts +34 -4
- package/types/components/Drawer/index.d.ts +4 -2
- package/types/components/Empty/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Progress/StyledProgressCircle.d.ts +12 -6
- package/types/index.d.ts +2 -2
- package/types/theme/ThemeProvider.d.ts +12 -0
- package/types/theme/ThemeSwitcher.d.ts +7 -0
- package/types/theme/components/button.d.ts +1 -1
- package/types/theme/components/drawer.d.ts +9 -0
- package/types/theme/components/empty.d.ts +3 -2
- package/types/theme/components/progress.d.ts +1 -2
- package/types/theme/getTheme.d.ts +74 -0
- package/types/theme/global/colors/swag.d.ts +3 -0
- package/types/theme/global/{colors.d.ts → colors/types.d.ts} +4 -3
- package/types/theme/global/colors/work.d.ts +3 -0
- package/types/theme/global/index.d.ts +7 -2
- package/types/theme/index.d.ts +7 -84
- package/src/theme/global/colors.ts +0 -50
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface DragableDrawerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Drawer's content.
|
|
5
|
+
*/
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Initial visible height percentage of the drawer. Can be used to programmatically control the drawer height. Range: [0,100].
|
|
9
|
+
*/
|
|
10
|
+
initialHeightPercentage?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Mininum visible height percentage of the drawer. This will be the lowest point in snap points list. Range: [0,100].
|
|
13
|
+
*/
|
|
14
|
+
minimumHeightPercentage?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Callback function is called when the drawer expand to max position.
|
|
17
|
+
*/
|
|
18
|
+
onExpanded?: () => void;
|
|
19
|
+
/**
|
|
20
|
+
* Callback function is called when the drawer collapsed to min position.
|
|
21
|
+
*/
|
|
22
|
+
onCollapsed?: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* Testing id of the component.
|
|
25
|
+
*/
|
|
26
|
+
testID?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Nearest height snap points that the drawer will attach to on release gesture. Range: [0,100]
|
|
29
|
+
*/
|
|
30
|
+
snapPoints?: number[];
|
|
31
|
+
}
|
|
32
|
+
declare const DragableDrawer: ({ children, initialHeightPercentage, minimumHeightPercentage, snapPoints, onExpanded, onCollapsed, testID, }: DragableDrawerProps) => JSX.Element;
|
|
33
|
+
export default DragableDrawer;
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import { Animated, View } from 'react-native';
|
|
2
|
-
declare const StyledContainer: import("@emotion/native").StyledComponent<
|
|
1
|
+
import { Animated, View, ViewProps } from 'react-native';
|
|
2
|
+
declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
enableShadow: boolean;
|
|
7
|
+
}, {}, {
|
|
8
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
declare const StyledDragableContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
3
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
12
|
as?: import("react").ElementType<any> | undefined;
|
|
5
13
|
} & {
|
|
@@ -13,7 +21,7 @@ declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated
|
|
|
13
21
|
theme?: import("@emotion/react").Theme | undefined;
|
|
14
22
|
as?: import("react").ElementType<any> | undefined;
|
|
15
23
|
}, {}, {}>;
|
|
16
|
-
declare const StyledDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<
|
|
24
|
+
declare const StyledDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
17
25
|
children?: import("react").ReactNode;
|
|
18
26
|
} & {
|
|
19
27
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -21,4 +29,26 @@ declare const StyledDrawerContainer: import("@emotion/native").StyledComponent<A
|
|
|
21
29
|
} & {
|
|
22
30
|
enableShadow: boolean;
|
|
23
31
|
}, {}, {}>;
|
|
24
|
-
|
|
32
|
+
declare const StyledDragableDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
33
|
+
children?: import("react").ReactNode;
|
|
34
|
+
} & {
|
|
35
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
36
|
+
as?: import("react").ElementType<any> | undefined;
|
|
37
|
+
} & {
|
|
38
|
+
enableShadow: boolean;
|
|
39
|
+
}, {}, {}>;
|
|
40
|
+
declare const StyledHandlerContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
41
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
42
|
+
as?: import("react").ElementType<any> | undefined;
|
|
43
|
+
}, {}, {
|
|
44
|
+
ref?: import("react").Ref<View> | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
declare const StyledHandler: import("@emotion/native").StyledComponent<ViewProps & {
|
|
47
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
48
|
+
as?: import("react").ElementType<any> | undefined;
|
|
49
|
+
} & {
|
|
50
|
+
active?: boolean | undefined;
|
|
51
|
+
}, {}, {
|
|
52
|
+
ref?: import("react").Ref<View> | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
export { StyledBackdrop, StyledContainer, StyledDrawerContainer, StyledHandlerContainer, StyledHandler, StyledDragableContainer, StyledDragableDrawerContainer, };
|
|
@@ -21,5 +21,7 @@ interface DrawerProps {
|
|
|
21
21
|
* */
|
|
22
22
|
testID?: string;
|
|
23
23
|
}
|
|
24
|
-
declare const
|
|
25
|
-
|
|
24
|
+
declare const _default: (({ visible, children, hasBackdrop, onDismiss, testID, }: DrawerProps) => JSX.Element) & {
|
|
25
|
+
Dragable: ({ children, initialHeightPercentage, minimumHeightPercentage, snapPoints, onExpanded, onCollapsed, testID, }: import("./DragableDrawer").DragableDrawerProps) => JSX.Element;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const isHeroIcon: (x: any) => x is "number" | "
|
|
1
|
+
declare const isHeroIcon: (x: any) => x is "number" | "swag" | "bold" | "menu" | "image" | "switch" | "list" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "archive" | "bank" | "bell" | "billing" | "bookmark" | "box-check" | "box" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "carat-down-small" | "carat-down" | "carat-left" | "carat-right" | "carat-up" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock" | "clock-3" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "directory" | "document" | "dollar-coin-shine" | "double-buildings" | "edit-template" | "envelope" | "expense" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feed" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "file" | "filter-outlined" | "folder-user" | "folder" | "format-bold" | "format-heading1" | "format-heading2" | "format-italic" | "format-list-bulleted" | "format-list-numbered" | "format-underlined" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "home" | "import" | "incident-siren" | "instapay" | "loading" | "loading-2" | "location" | "lock" | "looks-one" | "looks-two" | "mandatory" | "media-content" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane" | "play-circle" | "print" | "raising-hands" | "reply" | "reply-arrow" | "reschedule" | "rostering" | "save" | "schedule-send" | "schedule" | "search-person" | "send" | "speaker" | "star-award" | "star-badge" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "survey" | "tag" | "target" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "user" | "video-1" | "video-2" | "activate-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell-outlined" | "billing-outlined" | "body-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "camera-outlined" | "cancel" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "comment-outlined" | "contacts-outlined" | "credit-card-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-coin-shine-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "enter-arrow" | "envelope-outlined" | "expense-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-verified-outlined" | "folder-outlined" | "folder-user-outlined" | "funnel-filter-outline" | "graph-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "link-1" | "link-2" | "list-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "multiple-folders-outlined" | "multiple-users-outlined" | "node-outlined" | "number-points" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "qr-code-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "restart" | "return-arrow" | "rostering-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "send-outlined" | "share-1" | "share-2" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "speaker-outlined" | "star-outlined" | "stopwatch-outlined" | "strikethrough" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-outlined" | "unavailable" | "underline" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "wallet-outlined";
|
|
2
2
|
export { isHeroIcon };
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { View, ViewProps } from 'react-native';
|
|
2
2
|
import { ThemeIntent } from './types';
|
|
3
|
-
declare const
|
|
3
|
+
declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
as?: import("react").ElementType<any> | undefined;
|
|
6
6
|
}, {}, {
|
|
7
7
|
ref?: import("react").Ref<View> | undefined;
|
|
8
8
|
}>;
|
|
9
|
-
declare const
|
|
9
|
+
declare const StyledHalfCircleWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
declare const StyledHalfCircleInnerFG: import("@emotion/native").StyledComponent<ViewProps & {
|
|
10
16
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
17
|
as?: import("react").ElementType<any> | undefined;
|
|
12
18
|
} & {
|
|
@@ -14,19 +20,19 @@ declare const HalfCircleInnerFG: import("@emotion/native").StyledComponent<ViewP
|
|
|
14
20
|
}, {}, {
|
|
15
21
|
ref?: import("react").Ref<View> | undefined;
|
|
16
22
|
}>;
|
|
17
|
-
declare const
|
|
23
|
+
declare const StyledHalfCircleInnerBG: import("@emotion/native").StyledComponent<ViewProps & {
|
|
18
24
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
25
|
as?: import("react").ElementType<any> | undefined;
|
|
20
26
|
}, {}, {
|
|
21
27
|
ref?: import("react").Ref<View> | undefined;
|
|
22
28
|
}>;
|
|
23
|
-
declare const
|
|
29
|
+
declare const StyledDonutCircle: import("@emotion/native").StyledComponent<ViewProps & {
|
|
24
30
|
theme?: import("@emotion/react").Theme | undefined;
|
|
25
31
|
as?: import("react").ElementType<any> | undefined;
|
|
26
32
|
}, {}, {
|
|
27
33
|
ref?: import("react").Ref<View> | undefined;
|
|
28
34
|
}>;
|
|
29
|
-
declare const
|
|
35
|
+
declare const StyledStrokeEnd: import("@emotion/native").StyledComponent<ViewProps & {
|
|
30
36
|
theme?: import("@emotion/react").Theme | undefined;
|
|
31
37
|
as?: import("react").ElementType<any> | undefined;
|
|
32
38
|
} & {
|
|
@@ -34,4 +40,4 @@ declare const StrokeEnd: import("@emotion/native").StyledComponent<ViewProps & {
|
|
|
34
40
|
}, {}, {
|
|
35
41
|
ref?: import("react").Ref<View> | undefined;
|
|
36
42
|
}>;
|
|
37
|
-
export {
|
|
43
|
+
export { StyledContainer, StyledDonutCircle, StyledHalfCircleWrapper, StyledHalfCircleInnerFG, StyledHalfCircleInnerBG, StyledStrokeEnd, };
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import theme, { getTheme, ThemeProvider, useTheme } from './theme';
|
|
1
|
+
import theme, { getTheme, ThemeProvider, useTheme, swagSystemPalette, workSystemPalette } from './theme';
|
|
2
2
|
import { scale } from './utils/scale';
|
|
3
3
|
import Accordion from './components/Accordion';
|
|
4
4
|
import Alert from './components/Alert';
|
|
@@ -34,5 +34,5 @@ import Toast from './components/Toast';
|
|
|
34
34
|
import Toolbar from './components/Toolbar';
|
|
35
35
|
import Typography from './components/Typography';
|
|
36
36
|
import RichTextEditor from './components/RichTextEditor';
|
|
37
|
-
export { theme, getTheme, useTheme, scale, ThemeProvider, Accordion, Alert, Avatar, Badge, BottomNavigation, BottomSheet, Button, Calendar, Card, Collapse, Checkbox, ContentNavigator, DatePicker, Divider, Drawer, Empty, FAB, Icon, List, PinInput, Progress, Spinner, Radio, SectionHeading, Select, Switch, Tabs, Tag, TextInput, TimePicker, Toast, Toolbar, Typography, RichTextEditor, };
|
|
37
|
+
export { theme, getTheme, useTheme, scale, ThemeProvider, swagSystemPalette, workSystemPalette, Accordion, Alert, Avatar, Badge, BottomNavigation, BottomSheet, Button, Calendar, Card, Collapse, Checkbox, ContentNavigator, DatePicker, Divider, Drawer, Empty, FAB, Icon, List, PinInput, Progress, Spinner, Radio, SectionHeading, Select, Switch, Tabs, Tag, TextInput, TimePicker, Toast, Toolbar, Typography, RichTextEditor, };
|
|
38
38
|
export * from './types';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Theme } from './getTheme';
|
|
2
|
+
export interface ThemeProviderProps {
|
|
3
|
+
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
interface ThemeProviderType {
|
|
7
|
+
(props: ThemeProviderProps): React.ReactElement;
|
|
8
|
+
}
|
|
9
|
+
declare const ThemeProvider: ThemeProviderType;
|
|
10
|
+
declare const useTheme: () => Theme;
|
|
11
|
+
export { useTheme };
|
|
12
|
+
export default ThemeProvider;
|
|
@@ -5,6 +5,7 @@ declare const getButtonTheme: (theme: GlobalTheme) => {
|
|
|
5
5
|
};
|
|
6
6
|
fonts: {
|
|
7
7
|
default: string;
|
|
8
|
+
utility: string;
|
|
8
9
|
};
|
|
9
10
|
fontSize: {
|
|
10
11
|
default: number;
|
|
@@ -51,7 +52,6 @@ declare const getButtonTheme: (theme: GlobalTheme) => {
|
|
|
51
52
|
buttonPadding: number;
|
|
52
53
|
iconPadding: number;
|
|
53
54
|
utilityPadding: number;
|
|
54
|
-
utilityIconPadding: number;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
export default getButtonTheme;
|
|
@@ -4,9 +4,11 @@ declare const getDrawerTheme: (theme: GlobalTheme) => {
|
|
|
4
4
|
shadow: string;
|
|
5
5
|
background: string;
|
|
6
6
|
backdrop: string;
|
|
7
|
+
handler: string;
|
|
7
8
|
};
|
|
8
9
|
radii: {
|
|
9
10
|
default: number;
|
|
11
|
+
handler: number;
|
|
10
12
|
};
|
|
11
13
|
shadows: {
|
|
12
14
|
offset: {
|
|
@@ -17,5 +19,12 @@ declare const getDrawerTheme: (theme: GlobalTheme) => {
|
|
|
17
19
|
radius: number;
|
|
18
20
|
elevation: number;
|
|
19
21
|
};
|
|
22
|
+
space: {
|
|
23
|
+
handlerPaddingVertical: number;
|
|
24
|
+
};
|
|
25
|
+
sizes: {
|
|
26
|
+
handlerWidth: number;
|
|
27
|
+
handlerHeight: number;
|
|
28
|
+
};
|
|
20
29
|
};
|
|
21
30
|
export default getDrawerTheme;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { GlobalTheme, Scale, SystemPalette } from './global';
|
|
2
|
+
import getAccordionTheme from './components/accordion';
|
|
3
|
+
import getAlertTheme from './components/alert';
|
|
4
|
+
import getAvatarTheme from './components/avatar';
|
|
5
|
+
import getBadgeTheme from './components/badge';
|
|
6
|
+
import getBottomNavigationTheme from './components/bottomNavigation';
|
|
7
|
+
import getBottomSheetTheme from './components/bottomSheet';
|
|
8
|
+
import getButtonTheme from './components/button';
|
|
9
|
+
import getCalendarTheme from './components/calendar';
|
|
10
|
+
import getCardTheme from './components/card';
|
|
11
|
+
import getCheckboxTheme from './components/checkbox';
|
|
12
|
+
import getContentNavigatorTheme from './components/contentNavigator';
|
|
13
|
+
import getDatePickerTheme from './components/datePicker';
|
|
14
|
+
import getDividerTheme from './components/divider';
|
|
15
|
+
import getDrawerTheme from './components/drawer';
|
|
16
|
+
import getEmptyTheme from './components/empty';
|
|
17
|
+
import getFABTheme from './components/fab';
|
|
18
|
+
import getIconTheme from './components/icon';
|
|
19
|
+
import getListTheme from './components/list';
|
|
20
|
+
import getPinInputTheme from './components/pinInput';
|
|
21
|
+
import getProgressTheme from './components/progress';
|
|
22
|
+
import getRadioTheme from './components/radio';
|
|
23
|
+
import getRichTextEditorTheme from './components/richTextEditor';
|
|
24
|
+
import getSectionHeadingTheme from './components/sectionHeading';
|
|
25
|
+
import getSelectTheme from './components/select';
|
|
26
|
+
import getSpinnerTheme from './components/spinner';
|
|
27
|
+
import getSwitchTheme from './components/switch';
|
|
28
|
+
import getTabsTheme from './components/tabs';
|
|
29
|
+
import getTagTheme from './components/tag';
|
|
30
|
+
import getTextInputTheme from './components/textInput';
|
|
31
|
+
import getTimePickerTheme from './components/timePicker';
|
|
32
|
+
import getToastTheme from './components/toast';
|
|
33
|
+
import getToolbarTheme from './components/toolbar';
|
|
34
|
+
import getTypographyTheme from './components/typography';
|
|
35
|
+
declare type Theme = GlobalTheme & {
|
|
36
|
+
__hd__: {
|
|
37
|
+
accordion: ReturnType<typeof getAccordionTheme>;
|
|
38
|
+
alert: ReturnType<typeof getAlertTheme>;
|
|
39
|
+
avatar: ReturnType<typeof getAvatarTheme>;
|
|
40
|
+
badge: ReturnType<typeof getBadgeTheme>;
|
|
41
|
+
bottomNavigation: ReturnType<typeof getBottomNavigationTheme>;
|
|
42
|
+
bottomSheet: ReturnType<typeof getBottomSheetTheme>;
|
|
43
|
+
button: ReturnType<typeof getButtonTheme>;
|
|
44
|
+
calendar: ReturnType<typeof getCalendarTheme>;
|
|
45
|
+
card: ReturnType<typeof getCardTheme>;
|
|
46
|
+
checkbox: ReturnType<typeof getCheckboxTheme>;
|
|
47
|
+
contentNavigator: ReturnType<typeof getContentNavigatorTheme>;
|
|
48
|
+
datePicker: ReturnType<typeof getDatePickerTheme>;
|
|
49
|
+
divider: ReturnType<typeof getDividerTheme>;
|
|
50
|
+
drawer: ReturnType<typeof getDrawerTheme>;
|
|
51
|
+
empty: ReturnType<typeof getEmptyTheme>;
|
|
52
|
+
fab: ReturnType<typeof getFABTheme>;
|
|
53
|
+
icon: ReturnType<typeof getIconTheme>;
|
|
54
|
+
list: ReturnType<typeof getListTheme>;
|
|
55
|
+
pinInput: ReturnType<typeof getPinInputTheme>;
|
|
56
|
+
progress: ReturnType<typeof getProgressTheme>;
|
|
57
|
+
radio: ReturnType<typeof getRadioTheme>;
|
|
58
|
+
richTextEditor: ReturnType<typeof getRichTextEditorTheme>;
|
|
59
|
+
sectionHeading: ReturnType<typeof getSectionHeadingTheme>;
|
|
60
|
+
select: ReturnType<typeof getSelectTheme>;
|
|
61
|
+
spinner: ReturnType<typeof getSpinnerTheme>;
|
|
62
|
+
switch: ReturnType<typeof getSwitchTheme>;
|
|
63
|
+
tabs: ReturnType<typeof getTabsTheme>;
|
|
64
|
+
tag: ReturnType<typeof getTagTheme>;
|
|
65
|
+
textInput: ReturnType<typeof getTextInputTheme>;
|
|
66
|
+
timePicker: ReturnType<typeof getTimePickerTheme>;
|
|
67
|
+
toast: ReturnType<typeof getToastTheme>;
|
|
68
|
+
toolbar: ReturnType<typeof getToolbarTheme>;
|
|
69
|
+
typography: ReturnType<typeof getTypographyTheme>;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
declare const getTheme: (scale?: Scale, systemPallete?: SystemPalette) => Theme;
|
|
73
|
+
export { Theme };
|
|
74
|
+
export default getTheme;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
declare
|
|
1
|
+
export declare type SystemPalette = {
|
|
2
|
+
globalPrimary: string;
|
|
3
|
+
globalPrimaryLight: string;
|
|
4
|
+
globalPrimaryBackground: string;
|
|
2
5
|
primary: string;
|
|
3
6
|
primaryLight: string;
|
|
4
7
|
primaryDark: string;
|
|
@@ -40,5 +43,3 @@ declare const systemPalette: {
|
|
|
40
43
|
inactiveBackground: string;
|
|
41
44
|
shadow: string;
|
|
42
45
|
};
|
|
43
|
-
declare type SystemPalette = typeof systemPalette;
|
|
44
|
-
export { systemPalette, SystemPalette };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { scale as defaultScale, Scale } from './scale';
|
|
2
|
-
import {
|
|
2
|
+
import { SystemPalette } from './colors/types';
|
|
3
|
+
import swagSystemPalette from './colors/swag';
|
|
4
|
+
import workSystemPalette from './colors/work';
|
|
3
5
|
declare const getGlobalTheme: (scale: Scale, systemPalette: SystemPalette) => {
|
|
4
6
|
colors: {
|
|
7
|
+
globalPrimary: string;
|
|
8
|
+
globalPrimaryLight: string;
|
|
9
|
+
globalPrimaryBackground: string;
|
|
5
10
|
primary: string;
|
|
6
11
|
primaryLight: string;
|
|
7
12
|
primaryDark: string;
|
|
@@ -51,4 +56,4 @@ declare const getGlobalTheme: (scale: Scale, systemPalette: SystemPalette) => {
|
|
|
51
56
|
radii: import("./borders").Radii;
|
|
52
57
|
};
|
|
53
58
|
declare type GlobalTheme = ReturnType<typeof getGlobalTheme>;
|
|
54
|
-
export { GlobalTheme, Scale, SystemPalette, getGlobalTheme, defaultScale,
|
|
59
|
+
export { GlobalTheme, Scale, SystemPalette, getGlobalTheme, defaultScale, swagSystemPalette, workSystemPalette, };
|
package/types/theme/index.d.ts
CHANGED
|
@@ -1,84 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import getButtonTheme from './components/button';
|
|
9
|
-
import getCalendarTheme from './components/calendar';
|
|
10
|
-
import getCardTheme from './components/card';
|
|
11
|
-
import getCheckboxTheme from './components/checkbox';
|
|
12
|
-
import getContentNavigatorTheme from './components/contentNavigator';
|
|
13
|
-
import getDatePickerTheme from './components/datePicker';
|
|
14
|
-
import getDividerTheme from './components/divider';
|
|
15
|
-
import getDrawerTheme from './components/drawer';
|
|
16
|
-
import getEmptyTheme from './components/empty';
|
|
17
|
-
import getFABTheme from './components/fab';
|
|
18
|
-
import getIconTheme from './components/icon';
|
|
19
|
-
import getListTheme from './components/list';
|
|
20
|
-
import getPinInputTheme from './components/pinInput';
|
|
21
|
-
import getProgressTheme from './components/progress';
|
|
22
|
-
import getRadioTheme from './components/radio';
|
|
23
|
-
import getRichTextEditorTheme from './components/richTextEditor';
|
|
24
|
-
import getSectionHeadingTheme from './components/sectionHeading';
|
|
25
|
-
import getSelectTheme from './components/select';
|
|
26
|
-
import getSpinnerTheme from './components/spinner';
|
|
27
|
-
import getSwitchTheme from './components/switch';
|
|
28
|
-
import getTabsTheme from './components/tabs';
|
|
29
|
-
import getTagTheme from './components/tag';
|
|
30
|
-
import getTextInputTheme from './components/textInput';
|
|
31
|
-
import getTimePickerTheme from './components/timePicker';
|
|
32
|
-
import getToastTheme from './components/toast';
|
|
33
|
-
import getToolbarTheme from './components/toolbar';
|
|
34
|
-
import getTypographyTheme from './components/typography';
|
|
35
|
-
declare type Theme = GlobalTheme & {
|
|
36
|
-
__hd__: {
|
|
37
|
-
accordion: ReturnType<typeof getAccordionTheme>;
|
|
38
|
-
alert: ReturnType<typeof getAlertTheme>;
|
|
39
|
-
avatar: ReturnType<typeof getAvatarTheme>;
|
|
40
|
-
badge: ReturnType<typeof getBadgeTheme>;
|
|
41
|
-
bottomNavigation: ReturnType<typeof getBottomNavigationTheme>;
|
|
42
|
-
bottomSheet: ReturnType<typeof getBottomSheetTheme>;
|
|
43
|
-
button: ReturnType<typeof getButtonTheme>;
|
|
44
|
-
calendar: ReturnType<typeof getCalendarTheme>;
|
|
45
|
-
card: ReturnType<typeof getCardTheme>;
|
|
46
|
-
checkbox: ReturnType<typeof getCheckboxTheme>;
|
|
47
|
-
contentNavigator: ReturnType<typeof getContentNavigatorTheme>;
|
|
48
|
-
datePicker: ReturnType<typeof getDatePickerTheme>;
|
|
49
|
-
divider: ReturnType<typeof getDividerTheme>;
|
|
50
|
-
drawer: ReturnType<typeof getDrawerTheme>;
|
|
51
|
-
empty: ReturnType<typeof getEmptyTheme>;
|
|
52
|
-
fab: ReturnType<typeof getFABTheme>;
|
|
53
|
-
icon: ReturnType<typeof getIconTheme>;
|
|
54
|
-
list: ReturnType<typeof getListTheme>;
|
|
55
|
-
pinInput: ReturnType<typeof getPinInputTheme>;
|
|
56
|
-
progress: ReturnType<typeof getProgressTheme>;
|
|
57
|
-
radio: ReturnType<typeof getRadioTheme>;
|
|
58
|
-
richTextEditor: ReturnType<typeof getRichTextEditorTheme>;
|
|
59
|
-
sectionHeading: ReturnType<typeof getSectionHeadingTheme>;
|
|
60
|
-
select: ReturnType<typeof getSelectTheme>;
|
|
61
|
-
spinner: ReturnType<typeof getSpinnerTheme>;
|
|
62
|
-
switch: ReturnType<typeof getSwitchTheme>;
|
|
63
|
-
tabs: ReturnType<typeof getTabsTheme>;
|
|
64
|
-
tag: ReturnType<typeof getTagTheme>;
|
|
65
|
-
textInput: ReturnType<typeof getTextInputTheme>;
|
|
66
|
-
timePicker: ReturnType<typeof getTimePickerTheme>;
|
|
67
|
-
toast: ReturnType<typeof getToastTheme>;
|
|
68
|
-
toolbar: ReturnType<typeof getToolbarTheme>;
|
|
69
|
-
typography: ReturnType<typeof getTypographyTheme>;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
declare const getTheme: (scale?: Scale, systemPallete?: SystemPalette) => Theme;
|
|
73
|
-
declare const theme: Theme;
|
|
74
|
-
export interface ThemeProviderProps {
|
|
75
|
-
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
|
|
76
|
-
children: React.ReactNode;
|
|
77
|
-
}
|
|
78
|
-
interface ThemeProviderType {
|
|
79
|
-
(props: ThemeProviderProps): React.ReactElement;
|
|
80
|
-
}
|
|
81
|
-
declare const ThemeProvider: ThemeProviderType;
|
|
82
|
-
declare const useTheme: () => Theme;
|
|
83
|
-
export { Theme, getTheme, ThemeProvider, useTheme };
|
|
84
|
-
export default theme;
|
|
1
|
+
import getTheme, { Theme } from './getTheme';
|
|
2
|
+
import ThemeProvider, { useTheme } from './ThemeProvider';
|
|
3
|
+
import ThemeSwitcher from './ThemeSwitcher';
|
|
4
|
+
import { swagSystemPalette, workSystemPalette } from './global';
|
|
5
|
+
declare const defaultTheme: Theme;
|
|
6
|
+
export { Theme, getTheme, ThemeProvider, ThemeSwitcher, useTheme, swagSystemPalette, workSystemPalette, };
|
|
7
|
+
export default defaultTheme;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import palette, {
|
|
2
|
-
defaultMobilePalette as mobilePalette,
|
|
3
|
-
} from '@hero-design/colors';
|
|
4
|
-
|
|
5
|
-
const systemPalette = {
|
|
6
|
-
primary: palette.violet,
|
|
7
|
-
primaryLight: palette.violetLight60,
|
|
8
|
-
primaryDark: palette.purpleDark15,
|
|
9
|
-
primaryBackground: palette.violetLight90,
|
|
10
|
-
primaryBackgroundDark: mobilePalette.maasstrichtBlueLight30,
|
|
11
|
-
secondary: palette.dodgerBlue,
|
|
12
|
-
secondaryLight: palette.dodgerBlueLight75,
|
|
13
|
-
secondaryBackground: palette.dodgerBlueLight90,
|
|
14
|
-
info: palette.dodgerBlue,
|
|
15
|
-
infoMediumLight: mobilePalette.vodka,
|
|
16
|
-
infoLight: palette.dodgerBlueLight75,
|
|
17
|
-
infoBackground: palette.dodgerBlueLight90,
|
|
18
|
-
success: palette.green,
|
|
19
|
-
successLight: mobilePalette.emerald,
|
|
20
|
-
successDark: palette.greenDark30,
|
|
21
|
-
successBackground: palette.grotesqueGreenLight90,
|
|
22
|
-
danger: palette.red,
|
|
23
|
-
dangerMediumLight: mobilePalette.apple,
|
|
24
|
-
dangerLight: palette.redLight60,
|
|
25
|
-
dangerBackground: palette.redLight90,
|
|
26
|
-
warning: palette.orange,
|
|
27
|
-
warningLight: mobilePalette.mellowApricot,
|
|
28
|
-
warningDark: palette.orangeDark15,
|
|
29
|
-
warningBackground: palette.orangeLight90,
|
|
30
|
-
platformBackground: palette.white,
|
|
31
|
-
backgroundLight: palette.greyLight95,
|
|
32
|
-
backgroundDark: palette.greyDark75,
|
|
33
|
-
text: palette.greyDark75, // should be Maastricht Blue
|
|
34
|
-
subduedText: palette.greyDark30,
|
|
35
|
-
disabledText: palette.greyDark15,
|
|
36
|
-
disabledLightText: palette.greyLight45,
|
|
37
|
-
invertedText: palette.white,
|
|
38
|
-
outline: palette.greyLight60,
|
|
39
|
-
archived: palette.greyLight45,
|
|
40
|
-
archivedLight: mobilePalette.greyLight30,
|
|
41
|
-
archivedDark: mobilePalette.sonicSilver,
|
|
42
|
-
archivedBackground: mobilePalette.antiFlashWhite,
|
|
43
|
-
black: palette.black,
|
|
44
|
-
inactiveBackground: palette.greyDark30,
|
|
45
|
-
shadow: palette.greyLight60,
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
type SystemPalette = typeof systemPalette;
|
|
49
|
-
|
|
50
|
-
export { systemPalette, SystemPalette };
|