@hero-design/rn 8.0.0-2 → 8.0.0-5
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 +3 -3
- package/.turbo/turbo-lint.log +121 -96
- package/.turbo/turbo-test.log +348 -909
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +389 -556
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +389 -556
- package/package.json +5 -5
- package/src/components/Alert/StyledAlert.tsx +2 -3
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +6 -12
- package/src/components/Alert/index.tsx +3 -23
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +4 -26
- package/src/components/Button/Button.tsx +7 -16
- package/src/components/Button/StyledButton.tsx +0 -46
- package/src/components/Button/__tests__/Button.spec.tsx +10 -11
- package/src/components/Button/__tests__/StyledButton.spec.tsx +0 -3
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +0 -91
- package/src/components/Card/StyledCard.tsx +2 -11
- package/src/components/Card/__tests__/StyledCard.spec.tsx +2 -14
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +0 -32
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
- package/src/components/Card/__tests__/index.spec.tsx +1 -13
- package/src/components/Card/index.tsx +5 -26
- package/src/components/DatePicker/DatePickerAndroid.tsx +4 -0
- package/src/components/DatePicker/DatePickerIOS.tsx +4 -0
- package/src/components/DatePicker/__tests__/DatePicker.spec.tsx +4 -0
- package/src/components/DatePicker/__tests__/DatePickerAndroid.spec.tsx +4 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/DatePicker/types.ts +8 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +0 -8
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +5 -7
- package/src/components/Select/MultiSelect/index.tsx +1 -20
- package/src/components/Select/SingleSelect/index.tsx +5 -24
- package/src/components/Select/types.ts +1 -11
- package/src/components/Switch/StyledSwitch.tsx +7 -12
- package/src/components/Switch/__tests__/StyledSwitch.spec.tsx +2 -2
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +10 -15
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -12
- package/src/components/Switch/index.tsx +6 -22
- package/src/components/Tabs/ScrollableTabs.tsx +1 -6
- package/src/components/Tabs/TabWithBadge.tsx +1 -15
- package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +3 -1
- package/src/components/Tabs/__tests__/TabWithBadge.spec.tsx +4 -1
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +4 -3
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +2 -32
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1 -2
- package/src/components/Tabs/__tests__/index.spec.tsx +3 -1
- package/src/components/Tabs/index.tsx +12 -24
- package/src/components/Tag/StyledTag.tsx +0 -1
- package/src/components/Tag/__tests__/Tag.spec.tsx +0 -9
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +0 -40
- package/src/components/Tag/index.tsx +3 -16
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -63
- package/src/theme/components/switch.ts +4 -14
- package/src/theme/components/tag.ts +0 -2
- package/src/theme/global/colors/swag.ts +1 -20
- package/src/theme/global/colors/types.ts +1 -58
- package/src/utils/hooks.ts +1 -1
- package/types/components/Alert/StyledAlert.d.ts +0 -1
- package/types/components/Alert/index.d.ts +1 -6
- package/types/components/BottomSheet/BottomSheetContext.d.ts +5 -0
- package/types/components/BottomSheet/ScrollView.d.ts +3 -0
- package/types/components/Button/Button.d.ts +2 -3
- package/types/components/Button/StyledButton.d.ts +1 -1
- package/types/components/Card/StyledCard.d.ts +1 -8
- package/types/components/Card/index.d.ts +2 -8
- package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
- package/types/components/DatePicker/types.d.ts +8 -0
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Select/MultiSelect/index.d.ts +1 -1
- package/types/components/Select/SingleSelect/index.d.ts +1 -1
- package/types/components/Select/index.d.ts +1 -1
- package/types/components/Select/types.d.ts +1 -11
- package/types/components/Switch/StyledSwitch.d.ts +0 -4
- package/types/components/Switch/index.d.ts +1 -6
- package/types/components/Tabs/TabWithBadge.d.ts +1 -2
- package/types/components/Tabs/index.d.ts +2 -3
- package/types/components/Tag/StyledTag.d.ts +1 -1
- package/types/components/Tag/index.d.ts +2 -2
- package/types/theme/components/switch.d.ts +4 -14
- package/types/theme/components/tag.d.ts +0 -2
- package/types/theme/global/colors/types.d.ts +1 -52
- package/types/theme/global/index.d.ts +0 -47
- package/.expo/README.md +0 -15
- package/.expo/packager-info.json +0 -10
- package/.expo/prebuild/cached-packages.json +0 -4
- package/.expo/settings.json +0 -10
- package/.expo/xcodebuild-error.log +0 -2
- package/.expo/xcodebuild.log +0 -11199
- package/.turbo/turbo-build:types.log +0 -2
- package/.turbo/turbo-build:watch.log +0 -1
- package/src/theme/__tests__/ensureCompatibleWithV7.spec.tsx +0 -13
- package/src/theme/global/colors/legacySystemPalette.ts +0 -53
- package/types/theme/utils.d.ts +0 -2
|
@@ -44,55 +44,4 @@ export declare type BrandSystemPalette = {
|
|
|
44
44
|
decorativePrimary: string;
|
|
45
45
|
decorativePrimarySurface: string;
|
|
46
46
|
};
|
|
47
|
-
export declare type
|
|
48
|
-
mutedPrimary: string;
|
|
49
|
-
highlightedSecondarySurface: string;
|
|
50
|
-
mutedSecondary: string;
|
|
51
|
-
disabledSecondary: string;
|
|
52
|
-
lightHighlightedSurface: string;
|
|
53
|
-
};
|
|
54
|
-
export declare type LegacySystemPalette = {
|
|
55
|
-
globalPrimary: string;
|
|
56
|
-
globalPrimaryLight: string;
|
|
57
|
-
globalPrimaryBackground: string;
|
|
58
|
-
primaryLight: string;
|
|
59
|
-
primaryDark: string;
|
|
60
|
-
primaryBackground: string;
|
|
61
|
-
primaryBackgroundDark: string;
|
|
62
|
-
secondaryLight: string;
|
|
63
|
-
secondaryBackground: string;
|
|
64
|
-
infoMediumLight: string;
|
|
65
|
-
infoLight: string;
|
|
66
|
-
infoBackground: string;
|
|
67
|
-
successLight: string;
|
|
68
|
-
successDark: string;
|
|
69
|
-
successBackground: string;
|
|
70
|
-
danger: string;
|
|
71
|
-
dangerMediumLight: string;
|
|
72
|
-
dangerLight: string;
|
|
73
|
-
dangerBackground: string;
|
|
74
|
-
warningLight: string;
|
|
75
|
-
warningDark: string;
|
|
76
|
-
warningBackground: string;
|
|
77
|
-
platformBackground: string;
|
|
78
|
-
backgroundLight: string;
|
|
79
|
-
backgroundDark: string;
|
|
80
|
-
text: string;
|
|
81
|
-
subduedText: string;
|
|
82
|
-
disabledText: string;
|
|
83
|
-
disabledLightText: string;
|
|
84
|
-
invertedText: string;
|
|
85
|
-
outline: string;
|
|
86
|
-
archivedLight: string;
|
|
87
|
-
archivedDark: string;
|
|
88
|
-
archivedBackground: string;
|
|
89
|
-
black: string;
|
|
90
|
-
inactiveBackground: string;
|
|
91
|
-
shadow: string;
|
|
92
|
-
mutedGlobalPrimary: string;
|
|
93
|
-
onGlobalPrimary: string;
|
|
94
|
-
globalSecondary: string;
|
|
95
|
-
globalPrimaryOutline: string;
|
|
96
|
-
globalSecondaryOutline: string;
|
|
97
|
-
};
|
|
98
|
-
export declare type SystemPalette = LegacySystemPalette & LegacyBrandSystemPalette & GlobalSystemPalette & BrandSystemPalette;
|
|
47
|
+
export declare type SystemPalette = GlobalSystemPalette & BrandSystemPalette;
|
|
@@ -8,53 +8,6 @@ import type { Scale } from './scale';
|
|
|
8
8
|
import type { SystemPalette } from './colors/types';
|
|
9
9
|
declare const getGlobalTheme: (scale: Scale, systemPalette: SystemPalette) => {
|
|
10
10
|
colors: {
|
|
11
|
-
globalPrimary: string;
|
|
12
|
-
globalPrimaryLight: string;
|
|
13
|
-
globalPrimaryBackground: string;
|
|
14
|
-
primaryLight: string;
|
|
15
|
-
primaryDark: string;
|
|
16
|
-
primaryBackground: string;
|
|
17
|
-
primaryBackgroundDark: string;
|
|
18
|
-
secondaryLight: string;
|
|
19
|
-
secondaryBackground: string;
|
|
20
|
-
infoMediumLight: string;
|
|
21
|
-
infoLight: string;
|
|
22
|
-
infoBackground: string;
|
|
23
|
-
successLight: string;
|
|
24
|
-
successDark: string;
|
|
25
|
-
successBackground: string;
|
|
26
|
-
danger: string;
|
|
27
|
-
dangerMediumLight: string;
|
|
28
|
-
dangerLight: string;
|
|
29
|
-
dangerBackground: string;
|
|
30
|
-
warningLight: string;
|
|
31
|
-
warningDark: string;
|
|
32
|
-
warningBackground: string;
|
|
33
|
-
platformBackground: string;
|
|
34
|
-
backgroundLight: string;
|
|
35
|
-
backgroundDark: string;
|
|
36
|
-
text: string;
|
|
37
|
-
subduedText: string;
|
|
38
|
-
disabledText: string;
|
|
39
|
-
disabledLightText: string;
|
|
40
|
-
invertedText: string;
|
|
41
|
-
outline: string;
|
|
42
|
-
archivedLight: string;
|
|
43
|
-
archivedDark: string;
|
|
44
|
-
archivedBackground: string;
|
|
45
|
-
black: string;
|
|
46
|
-
inactiveBackground: string;
|
|
47
|
-
shadow: string;
|
|
48
|
-
mutedGlobalPrimary: string;
|
|
49
|
-
onGlobalPrimary: string;
|
|
50
|
-
globalSecondary: string;
|
|
51
|
-
globalPrimaryOutline: string;
|
|
52
|
-
globalSecondaryOutline: string;
|
|
53
|
-
mutedPrimary: string;
|
|
54
|
-
highlightedSecondarySurface: string;
|
|
55
|
-
mutedSecondary: string;
|
|
56
|
-
disabledSecondary: string;
|
|
57
|
-
lightHighlightedSurface: string;
|
|
58
11
|
defaultGlobalSurface: string;
|
|
59
12
|
onDefaultGlobalSurface: string;
|
|
60
13
|
neutralGlobalSurface: string;
|
package/.expo/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
> Why do I have a folder named ".expo" in my project?
|
|
2
|
-
|
|
3
|
-
The ".expo" folder is created when an Expo project is started using "expo start" command.
|
|
4
|
-
|
|
5
|
-
> What do the files contain?
|
|
6
|
-
|
|
7
|
-
- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
|
|
8
|
-
- "packager-info.json": contains port numbers and process PIDs that are used to serve the application to the mobile device/simulator.
|
|
9
|
-
- "settings.json": contains the server configuration that is used to serve the application manifest.
|
|
10
|
-
|
|
11
|
-
> Should I commit the ".expo" folder?
|
|
12
|
-
|
|
13
|
-
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
|
|
14
|
-
|
|
15
|
-
Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
|
package/.expo/packager-info.json
DELETED
package/.expo/settings.json
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
2022-08-15 16:30:43.312 xcodebuild[51962:564141] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
|
|
2
|
-
2022-08-15 16:30:43.312 xcodebuild[51962:564141] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
|