@expo/styleguide-native 1.0.1 → 1.0.2
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/src/icons/BuildIcon.js +1 -1
- package/dist/src/icons/InvoicesIcon.js +2 -2
- package/dist/src/styles/palette.js +23 -23
- package/dist/src/styles/themes.js +10 -10
- package/package.json +2 -2
- package/CHANGELOG.md +0 -169
|
@@ -24,6 +24,6 @@ const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
|
24
24
|
function BuildIcon(props) {
|
|
25
25
|
const { size, color, width, height } = props;
|
|
26
26
|
return (React.createElement(react_native_svg_1.default, Object.assign({ width: size || width || 20, height: size || height || 20, viewBox: "0 0 20 20", fill: "none" }, props),
|
|
27
|
-
React.createElement(react_native_svg_1.Path, { d: "M10
|
|
27
|
+
React.createElement(react_native_svg_1.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M10 .023l8.962 4.485v10.984L10 19.977l-8.96-4.485V4.508L10 .023zM2.89 6.576v7.773l6.186 3.096V9.67L2.89 6.576zm8.036 3.093v7.776l6.186-3.096V6.576L10.925 9.67zm5.044-4.59L10 8.064 4.031 5.079l5.97-2.987 5.968 2.987z", fill: color || "#000" })));
|
|
28
28
|
}
|
|
29
29
|
exports.default = BuildIcon;
|
|
@@ -24,7 +24,7 @@ const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
|
24
24
|
function InvoicesIcon(props) {
|
|
25
25
|
const { size, color, width, height } = props;
|
|
26
26
|
return (React.createElement(react_native_svg_1.default, Object.assign({ width: size || width || 20, height: size || height || 20, viewBox: "0 0 20 20", fill: "none" }, props),
|
|
27
|
-
React.createElement(react_native_svg_1.Path, { d: "
|
|
28
|
-
React.createElement(react_native_svg_1.Path, { d: "
|
|
27
|
+
React.createElement(react_native_svg_1.Path, { d: "M.875 18.673V3C.875 1.826 1.826.875 3 .875h14c1.174 0 2.125.951 2.125 2.125v15.673l-2.28-.977-.373-.16-.363.181-2.637 1.319-3.127-1.34-.345-.148-.345.148-3.127 1.34-2.637-1.319-.363-.181-.373.16-2.28.977z", stroke: color || "#000", strokeWidth: 1.75 }),
|
|
28
|
+
React.createElement(react_native_svg_1.Path, { d: "M5.265 5.732h9.47M5.265 8.43h9.47m-9.47 2.933h6.123", stroke: color || "#000", strokeWidth: 1.5, strokeLinecap: "round" })));
|
|
29
29
|
}
|
|
30
30
|
exports.default = InvoicesIcon;
|
|
@@ -16,17 +16,17 @@ exports.palette = {
|
|
|
16
16
|
900: '#05264c',
|
|
17
17
|
},
|
|
18
18
|
gray: {
|
|
19
|
-
'000': '#
|
|
20
|
-
100: '#
|
|
21
|
-
200: '#
|
|
22
|
-
300: '#
|
|
23
|
-
400: '#
|
|
24
|
-
500: '#
|
|
25
|
-
600: '#
|
|
26
|
-
700: '#
|
|
27
|
-
800: '#
|
|
28
|
-
900: '#
|
|
29
|
-
1000: '#
|
|
19
|
+
'000': '#FDFDFE',
|
|
20
|
+
100: '#F8F9FA',
|
|
21
|
+
200: '#F0F1F2',
|
|
22
|
+
300: '#E1E4E8',
|
|
23
|
+
400: '#D1D5DA',
|
|
24
|
+
500: '#9B9EA3',
|
|
25
|
+
600: '#6C737C',
|
|
26
|
+
700: '#595F68',
|
|
27
|
+
800: '#464C55',
|
|
28
|
+
900: '#30353C',
|
|
29
|
+
1000: '#25292E',
|
|
30
30
|
},
|
|
31
31
|
green: {
|
|
32
32
|
'000': '#f0fff4',
|
|
@@ -129,17 +129,17 @@ exports.palette = {
|
|
|
129
129
|
900: '#cae8ff',
|
|
130
130
|
},
|
|
131
131
|
gray: {
|
|
132
|
-
'000': '#
|
|
133
|
-
100: '#
|
|
134
|
-
200: '#
|
|
135
|
-
300: '#
|
|
136
|
-
400: '#
|
|
137
|
-
500: '#
|
|
138
|
-
600: '#
|
|
139
|
-
700: '#
|
|
140
|
-
800: '#
|
|
141
|
-
900: '#
|
|
142
|
-
1000: '#
|
|
132
|
+
'000': '#0B0F13',
|
|
133
|
+
100: '#14191F',
|
|
134
|
+
200: '#1C2026',
|
|
135
|
+
300: '#262A31',
|
|
136
|
+
400: '#32373E',
|
|
137
|
+
500: '#49505A',
|
|
138
|
+
600: '#737B87',
|
|
139
|
+
700: '#9BA4B0',
|
|
140
|
+
800: '#BCC3CD',
|
|
141
|
+
900: '#E0E4EB',
|
|
142
|
+
1000: '#F0F2F5',
|
|
143
143
|
},
|
|
144
144
|
green: {
|
|
145
145
|
'000': '#1a2b20',
|
|
@@ -226,6 +226,6 @@ exports.palette = {
|
|
|
226
226
|
900: '#fae296',
|
|
227
227
|
},
|
|
228
228
|
white: '#fff',
|
|
229
|
-
black: '#
|
|
229
|
+
black: '#0B0F13',
|
|
230
230
|
},
|
|
231
231
|
};
|
|
@@ -27,15 +27,15 @@ exports.lightTheme = {
|
|
|
27
27
|
},
|
|
28
28
|
secondary: {
|
|
29
29
|
background: palette_1.palette.light.gray[200],
|
|
30
|
-
foreground: palette_1.palette.light.
|
|
30
|
+
foreground: palette_1.palette.light.gray[1000],
|
|
31
31
|
},
|
|
32
32
|
tertiary: {
|
|
33
|
-
background: palette_1.palette.light.
|
|
34
|
-
foreground: palette_1.palette.light.
|
|
33
|
+
background: palette_1.palette.light.gray[1000],
|
|
34
|
+
foreground: palette_1.palette.light.gray['000'],
|
|
35
35
|
},
|
|
36
36
|
transparent: {
|
|
37
37
|
background: 'transparent',
|
|
38
|
-
foreground: palette_1.palette.light.
|
|
38
|
+
foreground: palette_1.palette.light.gray[1000],
|
|
39
39
|
},
|
|
40
40
|
ghost: {
|
|
41
41
|
background: 'transparent',
|
|
@@ -99,7 +99,7 @@ exports.darkTheme = {
|
|
|
99
99
|
error: palette_1.palette.dark.red['000'],
|
|
100
100
|
warning: palette_1.palette.dark.yellow['000'],
|
|
101
101
|
success: palette_1.palette.dark.green['000'],
|
|
102
|
-
overlay: palette_1.palette.dark.gray[
|
|
102
|
+
overlay: palette_1.palette.dark.gray[200],
|
|
103
103
|
},
|
|
104
104
|
border: {
|
|
105
105
|
default: palette_1.palette.dark.gray[400],
|
|
@@ -114,11 +114,11 @@ exports.darkTheme = {
|
|
|
114
114
|
},
|
|
115
115
|
secondary: {
|
|
116
116
|
background: palette_1.palette.dark.gray[300],
|
|
117
|
-
foreground: palette_1.palette.dark.
|
|
117
|
+
foreground: palette_1.palette.dark.gray[800],
|
|
118
118
|
},
|
|
119
119
|
tertiary: {
|
|
120
|
-
background: palette_1.palette.dark.gray[
|
|
121
|
-
foreground: palette_1.palette.dark.
|
|
120
|
+
background: palette_1.palette.dark.gray[500],
|
|
121
|
+
foreground: palette_1.palette.dark.gray[1000],
|
|
122
122
|
},
|
|
123
123
|
transparent: {
|
|
124
124
|
background: 'transparent',
|
|
@@ -132,7 +132,7 @@ exports.darkTheme = {
|
|
|
132
132
|
},
|
|
133
133
|
icon: {
|
|
134
134
|
default: palette_1.palette.dark.gray[800],
|
|
135
|
-
secondary: palette_1.palette.dark.gray[
|
|
135
|
+
secondary: palette_1.palette.dark.gray[700],
|
|
136
136
|
},
|
|
137
137
|
link: {
|
|
138
138
|
default: palette_1.palette.dark.primary[700],
|
|
@@ -146,7 +146,7 @@ exports.darkTheme = {
|
|
|
146
146
|
},
|
|
147
147
|
text: {
|
|
148
148
|
default: palette_1.palette.dark.gray[800],
|
|
149
|
-
secondary: palette_1.palette.dark.gray[
|
|
149
|
+
secondary: palette_1.palette.dark.gray[700],
|
|
150
150
|
error: palette_1.palette.dark.red[600],
|
|
151
151
|
warning: palette_1.palette.dark.yellow[900],
|
|
152
152
|
success: palette_1.palette.dark.green[600],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/styleguide-native",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Foundational styles for Expo interfaces.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"react": "*",
|
|
34
34
|
"react-native-svg": "*"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "a43ff0bf6249689c8dfb4ef8ce7fbd65ab5c24b5"
|
|
37
37
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [1.0.1](https://github.com/expo/styleguide/compare/@expo/styleguide-native@1.0.1...@expo/styleguide-native@1.0.1) (2022-03-11)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Reverts
|
|
10
|
-
|
|
11
|
-
* Revert "chore(release): publish" ([436d592](https://github.com/expo/styleguide/commit/436d592384880ba5971be728d0a31dd2ac8a9f0c))
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
# [1.0.0](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.5.0...@expo/styleguide-native@1.0.0) (2022-01-30)
|
|
18
|
-
|
|
19
|
-
**Note:** Version bump only for package @expo/styleguide-native
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
# [0.5.0](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.4.2-alpha.1...@expo/styleguide-native@0.5.0) (2022-01-05)
|
|
26
|
-
|
|
27
|
-
**Note:** Version bump only for package @expo/styleguide-native
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## [0.4.2-alpha.1](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.4.2-alpha.0...@expo/styleguide-native@0.4.2-alpha.1) (2022-01-05)
|
|
34
|
-
|
|
35
|
-
**Note:** Version bump only for package @expo/styleguide-native
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
## [0.4.2-alpha.0](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.4.1...@expo/styleguide-native@0.4.2-alpha.0) (2021-12-26)
|
|
42
|
-
|
|
43
|
-
**Note:** Version bump only for package @expo/styleguide-native
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
## [0.4.1](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.4.0...@expo/styleguide-native@0.4.1) (2021-12-09)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
### Features
|
|
53
|
-
|
|
54
|
-
* **icons:** add at icon and project transfer icon ([#13](https://github.com/expo/styleguide/issues/13)) ([57fc403](https://github.com/expo/styleguide/commit/57fc403d39dc37329b6dfca48d49e85080f2fa2a))
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
# [0.4.0](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.3.2...@expo/styleguide-native@0.4.0) (2021-07-09)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
### Features
|
|
64
|
-
|
|
65
|
-
* **icons:** adds side navigation icons ([53324c5](https://github.com/expo/styleguide/commit/53324c544e7a0ee3e2b101230fae7ac2c99ffcc5))
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
## [0.3.2](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.3.1...@expo/styleguide-native@0.3.2) (2021-07-07)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
### Features
|
|
75
|
-
|
|
76
|
-
* **icons:** include store icons ([c33bbd1](https://github.com/expo/styleguide/commit/c33bbd16e2360b47cc444c9c78139043ae3c5f05))
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
## [0.3.1](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.3.0...@expo/styleguide-native@0.3.1) (2021-06-30)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
### Features
|
|
86
|
-
|
|
87
|
-
* **icon:** adds sparkles icon ([00dbf9e](https://github.com/expo/styleguide/commit/00dbf9e28043eda14d3df5d532f6291d65dc603f))
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
# [0.3.0](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.2.3...@expo/styleguide-native@0.3.0) (2021-06-30)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
### Features
|
|
97
|
-
|
|
98
|
-
* **spacing, iconSize:** Add spacing, add more icon sizes ([e900b83](https://github.com/expo/styleguide/commit/e900b83508f2693d8690957e4e293681c4769578))
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
## [0.2.3](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.2.2...@expo/styleguide-native@0.2.3) (2021-06-25)
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### Bug Fixes
|
|
108
|
-
|
|
109
|
-
* update channel icon ([011a711](https://github.com/expo/styleguide/commit/011a711a2013a6b4d63b9d76f4972c129291d527))
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
## [0.2.2](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.2.1...@expo/styleguide-native@0.2.2) (2021-06-25)
|
|
116
|
-
|
|
117
|
-
**Note:** Version bump only for package @expo/styleguide-native
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
## [0.2.1](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.2.0...@expo/styleguide-native@0.2.1) (2021-06-24)
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
### Features
|
|
127
|
-
|
|
128
|
-
* adds commit, build profile icons ([dc2f7f2](https://github.com/expo/styleguide/commit/dc2f7f2a40da0510b61a482bd8049ebebb30435e))
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
# [0.2.0](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.1.2...@expo/styleguide-native@0.2.0) (2021-06-15)
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
### Features
|
|
138
|
-
|
|
139
|
-
* add shadows, icons ([773c4d2](https://github.com/expo/styleguide/commit/773c4d2bbff2ede93bc6fa74c0b3b7b8c7d16159))
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
## [0.1.2](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.1.1...@expo/styleguide-native@0.1.2) (2021-05-27)
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
### Features
|
|
149
|
-
|
|
150
|
-
* **icon:** Adds store icon ([d276c35](https://github.com/expo/styleguide/commit/d276c35cffc731a87057b1d3001721d2b7d45252))
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
## [0.1.1](https://github.com/expo/styleguide/compare/@expo/styleguide-native@0.1.0...@expo/styleguide-native@0.1.1) (2021-05-20)
|
|
157
|
-
|
|
158
|
-
**Note:** Version bump only for package @expo/styleguide-native
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
# 0.1.0 (2021-05-20)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
### Reverts
|
|
168
|
-
|
|
169
|
-
* Revert "chore(release): version" ([8989aa1](https://github.com/expo/styleguide/commit/8989aa166d98704b4e35e5823dd6b38099ec8a77))
|