@ornikar/bumper 2.2.1 → 2.3.1-canary.28d1f9f68cb643b8c67559f72df59006a88da1e9.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/CHANGELOG.md +18 -0
- package/dist/definitions/tamagui.config.d.ts +23 -19
- package/dist/definitions/tamagui.config.d.ts.map +1 -1
- package/dist/definitions/themes/light.d.ts +23 -19
- package/dist/definitions/themes/light.d.ts.map +1 -1
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts +5 -0
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +31 -21
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +31 -21
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +31 -21
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +31 -21
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +31 -21
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +31 -21
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +31 -21
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +31 -21
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/themes/__snapshots__/light.stories.tsx.snap +238 -66
- package/src/themes/__snapshots_web__/light.stories.tsx.snap +142 -66
- package/src/themes/light.ts +23 -19
- package/src/themes/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +178 -2
- package/src/themes/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +78 -2
- package/src/themes/palettes/deepPurpleColorPalette.ts +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.3.1-canary.28d1f9f68cb643b8c67559f72df59006a88da1e9.0](https://github.com/ornikar/kitt/compare/@ornikar/bumper@2.2.1...@ornikar/bumper@2.3.1-canary.28d1f9f68cb643b8c67559f72df59006a88da1e9.0) (2025-12-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **bumper:** update palettes and tokens OSE-21408 ([#2798](https://github.com/ornikar/kitt/issues/2798)) ([8a8e3cf](https://github.com/ornikar/kitt/commit/8a8e3cfaa9c70e1f0ea2237f049dbe011440266c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [2.3.0](https://github.com/ornikar/kitt/compare/@ornikar/bumper@2.2.1...@ornikar/bumper@2.3.0) (2025-12-10)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **bumper:** update palettes and tokens OSE-21408 ([#2798](https://github.com/ornikar/kitt/issues/2798)) ([8a8e3cf](https://github.com/ornikar/kitt/commit/8a8e3cfaa9c70e1f0ea2237f049dbe011440266c))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [2.2.1](https://github.com/ornikar/kitt/compare/@ornikar/bumper@2.2.0...@ornikar/bumper@2.2.1) (2025-12-05)
|
|
7
25
|
|
|
8
26
|
**Note:** Version bump only for package @ornikar/bumper
|
|
@@ -56,12 +56,12 @@ export declare const config: import("@tamagui/core").TamaguiInternalConfig<{
|
|
|
56
56
|
};
|
|
57
57
|
}, "color" | "space" | "size" | "radius" | "zIndex">, {
|
|
58
58
|
light: {
|
|
59
|
-
'content.base.hi': string;
|
|
60
|
-
'content.base.mid': string;
|
|
61
59
|
'content.base.low': string;
|
|
62
|
-
'content.base.
|
|
63
|
-
'content.base.
|
|
60
|
+
'content.base.mid': string;
|
|
61
|
+
'content.base.hi': string;
|
|
64
62
|
'content.base.onContrasted.low': string;
|
|
63
|
+
'content.base.onContrasted.mid': string;
|
|
64
|
+
'content.base.onContrasted.hi': string;
|
|
65
65
|
'content.accent': string;
|
|
66
66
|
'content.promo': string;
|
|
67
67
|
'content.promo.onContrasted': string;
|
|
@@ -72,41 +72,45 @@ export declare const config: import("@tamagui/core").TamaguiInternalConfig<{
|
|
|
72
72
|
'content.muted': string;
|
|
73
73
|
'content.disabled': string;
|
|
74
74
|
'content.disabled.onContrasted': string;
|
|
75
|
-
'bg.base.hi.default': string;
|
|
76
|
-
'bg.base.hi.pressed': string;
|
|
77
|
-
'bg.base.mid.default': string;
|
|
78
|
-
'bg.base.mid.pressed': string;
|
|
79
75
|
'bg.base.low.default': string;
|
|
80
76
|
'bg.base.low.pressed': string;
|
|
77
|
+
'bg.base.mid.default': string;
|
|
78
|
+
'bg.base.mid.pressed': string;
|
|
79
|
+
'bg.base.hi.default': string;
|
|
80
|
+
'bg.base.hi.pressed': string;
|
|
81
81
|
'bg.accent.default': string;
|
|
82
82
|
'bg.accent.pressed': string;
|
|
83
|
-
'bg.promo.hi.default': string;
|
|
84
|
-
'bg.promo.hi.pressed': string;
|
|
85
83
|
'bg.promo.mid.default': string;
|
|
86
84
|
'bg.promo.mid.pressed': string;
|
|
87
|
-
'bg.
|
|
88
|
-
'bg.
|
|
89
|
-
'bg.
|
|
85
|
+
'bg.promo.hi.default': string;
|
|
86
|
+
'bg.promo.hi.pressed': string;
|
|
87
|
+
'bg.highlight.mid.default': string;
|
|
88
|
+
'bg.highlight.mid.pressed': string;
|
|
89
|
+
'bg.highlight.hi.default': string;
|
|
90
|
+
'bg.highlight.hi.pressed': string;
|
|
90
91
|
'bg.info.mid': string;
|
|
91
|
-
'bg.
|
|
92
|
+
'bg.info.hi': string;
|
|
92
93
|
'bg.success.mid': string;
|
|
93
|
-
'bg.
|
|
94
|
+
'bg.success.hi': string;
|
|
94
95
|
'bg.warning.mid': string;
|
|
95
|
-
'bg.
|
|
96
|
+
'bg.warning.hi': string;
|
|
96
97
|
'bg.danger.mid': string;
|
|
97
|
-
'bg.
|
|
98
|
+
'bg.danger.hi': string;
|
|
98
99
|
'bg.disabled.mid': string;
|
|
100
|
+
'bg.disabled.hi': string;
|
|
99
101
|
'bg.overlay': string;
|
|
100
|
-
'border.base.
|
|
102
|
+
'border.base.low': string;
|
|
101
103
|
'border.base.mid': string;
|
|
102
|
-
'border.base.
|
|
104
|
+
'border.base.hi': string;
|
|
103
105
|
'border.base.onContrasted.mid': string;
|
|
106
|
+
'border.base.onContrasted.hi': string;
|
|
104
107
|
'border.base.accent': string;
|
|
105
108
|
'border.info': string;
|
|
106
109
|
'border.success': string;
|
|
107
110
|
'border.warning': string;
|
|
108
111
|
'border.danger': string;
|
|
109
112
|
'border.disabled': string;
|
|
113
|
+
'border.highlight': string;
|
|
110
114
|
};
|
|
111
115
|
}, {}, {
|
|
112
116
|
base: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tamagui.config.d.ts","sourceRoot":"","sources":["../../src/tamagui.config.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"tamagui.config.d.ts","sourceRoot":"","sources":["../../src/tamagui.config.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBjB,CAAC;AAEH,KAAK,IAAI,GAAG,OAAO,MAAM,CAAC;AAG1B,OAAO,QAAQ,eAAe,CAAC;IAC7B,UAAU,mBAAoB,SAAQ,IAAI;KAAG;CAC9C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const light: {
|
|
2
|
-
'content.base.hi': string;
|
|
3
|
-
'content.base.mid': string;
|
|
4
2
|
'content.base.low': string;
|
|
5
|
-
'content.base.
|
|
6
|
-
'content.base.
|
|
3
|
+
'content.base.mid': string;
|
|
4
|
+
'content.base.hi': string;
|
|
7
5
|
'content.base.onContrasted.low': string;
|
|
6
|
+
'content.base.onContrasted.mid': string;
|
|
7
|
+
'content.base.onContrasted.hi': string;
|
|
8
8
|
'content.accent': string;
|
|
9
9
|
'content.promo': string;
|
|
10
10
|
'content.promo.onContrasted': string;
|
|
@@ -15,40 +15,44 @@ export declare const light: {
|
|
|
15
15
|
'content.muted': string;
|
|
16
16
|
'content.disabled': string;
|
|
17
17
|
'content.disabled.onContrasted': string;
|
|
18
|
-
'bg.base.hi.default': string;
|
|
19
|
-
'bg.base.hi.pressed': string;
|
|
20
|
-
'bg.base.mid.default': string;
|
|
21
|
-
'bg.base.mid.pressed': string;
|
|
22
18
|
'bg.base.low.default': string;
|
|
23
19
|
'bg.base.low.pressed': string;
|
|
20
|
+
'bg.base.mid.default': string;
|
|
21
|
+
'bg.base.mid.pressed': string;
|
|
22
|
+
'bg.base.hi.default': string;
|
|
23
|
+
'bg.base.hi.pressed': string;
|
|
24
24
|
'bg.accent.default': string;
|
|
25
25
|
'bg.accent.pressed': string;
|
|
26
|
-
'bg.promo.hi.default': string;
|
|
27
|
-
'bg.promo.hi.pressed': string;
|
|
28
26
|
'bg.promo.mid.default': string;
|
|
29
27
|
'bg.promo.mid.pressed': string;
|
|
30
|
-
'bg.
|
|
31
|
-
'bg.
|
|
32
|
-
'bg.
|
|
28
|
+
'bg.promo.hi.default': string;
|
|
29
|
+
'bg.promo.hi.pressed': string;
|
|
30
|
+
'bg.highlight.mid.default': string;
|
|
31
|
+
'bg.highlight.mid.pressed': string;
|
|
32
|
+
'bg.highlight.hi.default': string;
|
|
33
|
+
'bg.highlight.hi.pressed': string;
|
|
33
34
|
'bg.info.mid': string;
|
|
34
|
-
'bg.
|
|
35
|
+
'bg.info.hi': string;
|
|
35
36
|
'bg.success.mid': string;
|
|
36
|
-
'bg.
|
|
37
|
+
'bg.success.hi': string;
|
|
37
38
|
'bg.warning.mid': string;
|
|
38
|
-
'bg.
|
|
39
|
+
'bg.warning.hi': string;
|
|
39
40
|
'bg.danger.mid': string;
|
|
40
|
-
'bg.
|
|
41
|
+
'bg.danger.hi': string;
|
|
41
42
|
'bg.disabled.mid': string;
|
|
43
|
+
'bg.disabled.hi': string;
|
|
42
44
|
'bg.overlay': string;
|
|
43
|
-
'border.base.
|
|
45
|
+
'border.base.low': string;
|
|
44
46
|
'border.base.mid': string;
|
|
45
|
-
'border.base.
|
|
47
|
+
'border.base.hi': string;
|
|
46
48
|
'border.base.onContrasted.mid': string;
|
|
49
|
+
'border.base.onContrasted.hi': string;
|
|
47
50
|
'border.base.accent': string;
|
|
48
51
|
'border.info': string;
|
|
49
52
|
'border.success': string;
|
|
50
53
|
'border.warning': string;
|
|
51
54
|
'border.danger': string;
|
|
52
55
|
'border.disabled': string;
|
|
56
|
+
'border.highlight': string;
|
|
53
57
|
};
|
|
54
58
|
//# sourceMappingURL=light.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../../src/themes/light.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../../src/themes/light.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DjB,CAAC"}
|
|
@@ -9,6 +9,7 @@ interface ColorScaleKeysMap {
|
|
|
9
9
|
green: 1 | 2 | 6 | 7;
|
|
10
10
|
yellow: 1 | 2 | 6 | 7;
|
|
11
11
|
red: 1 | 2 | 6 | 7;
|
|
12
|
+
mauve: 1 | 2 | 3 | 4;
|
|
12
13
|
'beige-alpha': '25' | '40' | '50';
|
|
13
14
|
'grey-alpha': '25' | '35' | '50';
|
|
14
15
|
'white-alpha': '10' | '20' | '60' | '80' | '90';
|
|
@@ -70,6 +71,10 @@ export declare const deepPurpleColorPalette: {
|
|
|
70
71
|
"red.2": string;
|
|
71
72
|
"red.6": string;
|
|
72
73
|
"red.7": string;
|
|
74
|
+
"mauve.1": string;
|
|
75
|
+
"mauve.2": string;
|
|
76
|
+
"mauve.3": string;
|
|
77
|
+
"mauve.4": string;
|
|
73
78
|
"beige-alpha.25": string;
|
|
74
79
|
"beige-alpha.40": string;
|
|
75
80
|
"beige-alpha.50": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deepPurpleColorPalette.d.ts","sourceRoot":"","sources":["../../../../src/themes/palettes/deepPurpleColorPalette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAuB,MAAM,WAAW,CAAC;AAE/D,UAAU,iBAAiB;IACzB,UAAU,EAAE,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,KAAK,EAAE,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACtB,SAAS,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,OAAO,EACH,MAAM,GACN,OAAO,GACP,QAAQ,GACR,MAAM,GACN,KAAK,GACL,YAAY,GACZ,aAAa,GACb,aAAa,GACb,eAAe,GACf,UAAU,CAAC;IACf,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAChC,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrB,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACtB,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACnB,aAAa,EAAE,IA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IACtB,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACnB,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrB,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAClC,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACjD;AAED,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,iBAAiB,IAAI,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAEhG,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,CAAC,CAAC;CACpD,CAAC;AAgBF,eAAO,MAAM,WAAW,EAAE,WA0FhB,CAAC;AAYX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAC"}
|
|
@@ -74,9 +74,15 @@ const colorScales = {
|
|
|
74
74
|
red: createColorScale({
|
|
75
75
|
1: '#FDE4E3',
|
|
76
76
|
2: '#FAB8B8',
|
|
77
|
-
6: '#
|
|
77
|
+
6: '#E2483D',
|
|
78
78
|
7: '#BD100F'
|
|
79
79
|
}),
|
|
80
|
+
mauve: createColorScale({
|
|
81
|
+
1: '#F8E7FF',
|
|
82
|
+
2: '#F1D0FB',
|
|
83
|
+
3: '#E4A4F9',
|
|
84
|
+
4: '#D283EC'
|
|
85
|
+
}),
|
|
80
86
|
'beige-alpha': createColorScale({
|
|
81
87
|
'25': '#C1B59F40',
|
|
82
88
|
'40': '#C1B59F66',
|
|
@@ -113,12 +119,12 @@ const deepPurpleColorPalette = _objectSpread(_objectSpread({}, transformColorSca
|
|
|
113
119
|
// https://github.com/ornikar/kitt/blob/79e367e962c957c016c4df67dbcf515c8f45ff0e/@ornikar/kitt-universal/src/themes/late-ocean/colors.ts#L28
|
|
114
120
|
const light = {
|
|
115
121
|
// content
|
|
116
|
-
'content.base.hi': deepPurpleColorPalette['grey.9'],
|
|
117
|
-
'content.base.mid': deepPurpleColorPalette['grey.7'],
|
|
118
122
|
'content.base.low': deepPurpleColorPalette['grey.5'],
|
|
119
|
-
'content.base.
|
|
120
|
-
'content.base.
|
|
123
|
+
'content.base.mid': deepPurpleColorPalette['grey.7'],
|
|
124
|
+
'content.base.hi': deepPurpleColorPalette['grey.9'],
|
|
121
125
|
'content.base.onContrasted.low': deepPurpleColorPalette['white-alpha.60'],
|
|
126
|
+
'content.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.80'],
|
|
127
|
+
'content.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],
|
|
122
128
|
'content.accent': deepPurpleColorPalette['deepPurple.8'],
|
|
123
129
|
'content.promo': deepPurpleColorPalette['lightning.9'],
|
|
124
130
|
'content.promo.onContrasted': deepPurpleColorPalette['lightning.5'],
|
|
@@ -130,42 +136,46 @@ const light = {
|
|
|
130
136
|
'content.disabled': deepPurpleColorPalette['grey.3'],
|
|
131
137
|
'content.disabled.onContrasted': deepPurpleColorPalette['grey.1'],
|
|
132
138
|
// backgrounds
|
|
133
|
-
'bg.base.hi.default': deepPurpleColorPalette['beige.2'],
|
|
134
|
-
'bg.base.hi.pressed': deepPurpleColorPalette['beige.3'],
|
|
135
|
-
'bg.base.mid.default': deepPurpleColorPalette['beige.1'],
|
|
136
|
-
'bg.base.mid.pressed': deepPurpleColorPalette['beige.2'],
|
|
137
139
|
'bg.base.low.default': deepPurpleColorPalette['grey.0'],
|
|
138
140
|
'bg.base.low.pressed': deepPurpleColorPalette['beige.1'],
|
|
141
|
+
'bg.base.mid.default': deepPurpleColorPalette['beige.1'],
|
|
142
|
+
'bg.base.mid.pressed': deepPurpleColorPalette['beige.2'],
|
|
143
|
+
'bg.base.hi.default': deepPurpleColorPalette['beige.2'],
|
|
144
|
+
'bg.base.hi.pressed': deepPurpleColorPalette['beige.3'],
|
|
139
145
|
'bg.accent.default': deepPurpleColorPalette['deepPurple.8'],
|
|
140
146
|
'bg.accent.pressed': deepPurpleColorPalette['deepPurple.7'],
|
|
141
|
-
'bg.promo.hi.default': deepPurpleColorPalette['lightning.9'],
|
|
142
|
-
'bg.promo.hi.pressed': deepPurpleColorPalette['lightning.8'],
|
|
143
147
|
'bg.promo.mid.default': deepPurpleColorPalette['lightning.5'],
|
|
144
148
|
'bg.promo.mid.pressed': deepPurpleColorPalette['lightning.4'],
|
|
145
|
-
'bg.
|
|
146
|
-
'bg.
|
|
147
|
-
'bg.
|
|
149
|
+
'bg.promo.hi.default': deepPurpleColorPalette['lightning.9'],
|
|
150
|
+
'bg.promo.hi.pressed': deepPurpleColorPalette['lightning.8'],
|
|
151
|
+
'bg.highlight.mid.default': deepPurpleColorPalette['mauve.1'],
|
|
152
|
+
'bg.highlight.mid.pressed': deepPurpleColorPalette['mauve.2'],
|
|
153
|
+
'bg.highlight.hi.default': deepPurpleColorPalette['mauve.3'],
|
|
154
|
+
'bg.highlight.hi.pressed': deepPurpleColorPalette['mauve.4'],
|
|
148
155
|
'bg.info.mid': deepPurpleColorPalette['blue.1'],
|
|
149
|
-
'bg.
|
|
156
|
+
'bg.info.hi': deepPurpleColorPalette['blue.6'],
|
|
150
157
|
'bg.success.mid': deepPurpleColorPalette['green.1'],
|
|
151
|
-
'bg.
|
|
158
|
+
'bg.success.hi': deepPurpleColorPalette['green.6'],
|
|
152
159
|
'bg.warning.mid': deepPurpleColorPalette['yellow.1'],
|
|
153
|
-
'bg.
|
|
160
|
+
'bg.warning.hi': deepPurpleColorPalette['yellow.6'],
|
|
154
161
|
'bg.danger.mid': deepPurpleColorPalette['red.1'],
|
|
155
|
-
'bg.
|
|
162
|
+
'bg.danger.hi': deepPurpleColorPalette['red.6'],
|
|
156
163
|
'bg.disabled.mid': deepPurpleColorPalette['grey.1'],
|
|
164
|
+
'bg.disabled.hi': deepPurpleColorPalette['grey.3'],
|
|
157
165
|
'bg.overlay': deepPurpleColorPalette['grey-alpha.50'],
|
|
158
166
|
// borders
|
|
159
|
-
'border.base.
|
|
167
|
+
'border.base.low': deepPurpleColorPalette['beige.2'],
|
|
160
168
|
'border.base.mid': deepPurpleColorPalette['beige.3'],
|
|
161
|
-
'border.base.
|
|
169
|
+
'border.base.hi': deepPurpleColorPalette['grey.9'],
|
|
162
170
|
'border.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.20'],
|
|
171
|
+
'border.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],
|
|
163
172
|
'border.base.accent': deepPurpleColorPalette['deepPurple.8'],
|
|
164
173
|
'border.info': deepPurpleColorPalette['blue.6'],
|
|
165
174
|
'border.success': deepPurpleColorPalette['green.6'],
|
|
166
175
|
'border.warning': deepPurpleColorPalette['yellow.6'],
|
|
167
176
|
'border.danger': deepPurpleColorPalette['red.6'],
|
|
168
|
-
'border.disabled': deepPurpleColorPalette['grey.2']
|
|
177
|
+
'border.disabled': deepPurpleColorPalette['grey.2'],
|
|
178
|
+
'border.highlight': deepPurpleColorPalette['mauve.3']
|
|
169
179
|
};
|
|
170
180
|
|
|
171
181
|
let BreakpointNameEnum = /*#__PURE__*/function (BreakpointNameEnum) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-metro.es.android.js","sources":["../src/themes/palettes/deepPurpleColorPalette.ts","../src/themes/light.ts","../src/themes/utils/breakpoints.ts","../src/tokens/fonts.ts","../src/tokens/size.ts","../src/tokens/space.ts","../src/tamagui.config.ts","../src/core/BumperProvider.tsx","../src/core/BumperDecorator.tsx","../src/components/primitives/Stacks.ts","../src/components/typography/utils/getTypeAndWeightValues.tsx","../src/components/typography/Typograhy.tsx","../src/components/breakpoints/utils/breakpointsUtils.ts","../src/components/breakpoints/hooks/useCurrentBreakpointName.ts","../src/components/breakpoints/hooks/useBreakpointValue.ts","../src/components/breakpoints/SwitchBreakpoins.tsx"],"sourcesContent":["import type { IntRange, UnionToIntersection } from 'type-fest';\n\ninterface ColorScaleKeysMap {\n deepPurple: IntRange<5, 10>;\n beige: IntRange<1, 7>;\n lightning: 4 | 5 | 8 | 9;\n rainbow:\n | 'pink'\n | 'brick'\n | 'orange'\n | 'gold'\n | 'sun'\n | 'green-pine'\n | 'green-grass'\n | 'green-apple'\n | 'blue-electric'\n | 'blue-sky';\n grey: 0 | 1 | 2 | 3 | 5 | 7 | 9;\n blue: 1 | 2 | 6 | 7;\n green: 1 | 2 | 6 | 7;\n yellow: 1 | 2 | 6 | 7;\n red: 1 | 2 | 6 | 7;\n 'beige-alpha': '25' | '40' | '50';\n 'grey-alpha': '25' | '35' | '50';\n 'white-alpha': '10' | '20' | '60' | '80' | '90';\n}\n\ntype CreateColorScale<K extends keyof ColorScaleKeysMap> = Record<ColorScaleKeysMap[K], string>;\n\ntype ColorScales = {\n [K in keyof ColorScaleKeysMap]: CreateColorScale<K>;\n};\n\ntype CreateTokens<K extends keyof ColorScaleKeysMap> = {\n [Key in ColorScaleKeysMap[K] as `${K}.${Key}`]: string;\n};\n\ntype ColorScaleTokens = UnionToIntersection<\n {\n [K in keyof ColorScaleKeysMap]: CreateTokens<K>;\n }[keyof ColorScaleKeysMap]\n>;\n\nconst createColorScale = <const T extends Record<string | number, string>>(colorScale: T): T => colorScale;\n\n// WARNING\n// If you update this palette, don't forget to update the palette in @ornikar/bumper as well.\nexport const colorScales: ColorScales = {\n deepPurple: createColorScale({\n 5: '#936C93',\n 6: '#7A587A',\n 7: '#6E4D6E',\n 8: '#563B56',\n 9: '#452F45',\n }),\n beige: createColorScale({\n 1: '#F7F4EE',\n 2: '#F1ECE4',\n 3: '#EAE3D6',\n 4: '#E5DCCA',\n 5: '#DDD0B8',\n 6: '#C1B59F',\n }),\n lightning: createColorScale({\n 4: '#FFF966',\n 5: '#FFF500',\n 8: '#594D0D',\n 9: '#43390A',\n }),\n rainbow: createColorScale({\n pink: '#E4A4F9',\n brick: '#951D12',\n orange: '#DB6E2E',\n gold: '#9A7600',\n sun: '#EFD346',\n 'green-pine': '#1C5D47',\n 'green-grass': '#4DA00A',\n 'green-apple': '#DEF985',\n 'blue-electric': '#2850C4',\n 'blue-sky': '#B2F0FD',\n }),\n grey: createColorScale({\n 0: '#ffffff',\n 1: '#ECECEC',\n 2: '#CDCED0',\n 3: '#A8A8A8',\n 5: '#838383',\n 7: '#505050',\n 9: '#101010',\n }),\n blue: createColorScale({\n 1: '#E9F4FC',\n 2: '#BCDFF6',\n 6: '#1772AB',\n 7: '#125A87',\n }),\n green: createColorScale({\n 1: '#ECFEDD',\n 2: '#DBFAC1',\n 6: '#438D06',\n 7: '#357105',\n }),\n yellow: createColorScale({\n 1: '#FDF8E7',\n 2: '#FAEBB8',\n 6: '#EFC11F',\n 7: '#BA930B',\n }),\n red: createColorScale({\n 1: '#FDE4E3',\n 2: '#FAB8B8',\n 6: '#F14847',\n 7: '#BD100F',\n }),\n 'beige-alpha': createColorScale({\n '25': '#C1B59F40',\n '40': '#C1B59F66',\n '50': '#C1B59F80',\n }),\n 'grey-alpha': createColorScale({\n '25': '#10101040',\n '35': '#10101059',\n '50': '#10101080',\n }),\n 'white-alpha': createColorScale({\n '10': '#FFFFFF1A',\n '20': '#FFFFFF33',\n '60': '#FFFFFF99',\n '80': '#FFFFFFCC',\n '90': '#FFFFFFE5',\n }),\n} as const;\n\nconst transformColorScalesToTokens = (): ColorScaleTokens => {\n return Object.fromEntries(\n Object.entries(colorScales).flatMap(([colorName, colorScale]) => {\n return Object.entries(colorScale).map(([scaleNumber, colorValue]) => {\n return [`${colorName}.${scaleNumber}`, colorValue];\n });\n }),\n ) as ColorScaleTokens;\n};\n\nexport const deepPurpleColorPalette = {\n ...transformColorScalesToTokens(),\n white: '#FFFFFF',\n black: '#000000',\n transparent: 'transparent',\n};\n","import { deepPurpleColorPalette } from './palettes/deepPurpleColorPalette';\n\n// WARNING\n// If you modify this theme, don't forget to update the theme in @ornikar/kitt-universal as well\n// https://github.com/ornikar/kitt/blob/79e367e962c957c016c4df67dbcf515c8f45ff0e/@ornikar/kitt-universal/src/themes/late-ocean/colors.ts#L28\nexport const light = {\n // content\n 'content.base.hi': deepPurpleColorPalette['grey.9'],\n 'content.base.mid': deepPurpleColorPalette['grey.7'],\n 'content.base.low': deepPurpleColorPalette['grey.5'],\n 'content.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],\n 'content.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.80'],\n 'content.base.onContrasted.low': deepPurpleColorPalette['white-alpha.60'],\n 'content.accent': deepPurpleColorPalette['deepPurple.8'],\n 'content.promo': deepPurpleColorPalette['lightning.9'],\n 'content.promo.onContrasted': deepPurpleColorPalette['lightning.5'],\n 'content.info': deepPurpleColorPalette['blue.7'],\n 'content.success': deepPurpleColorPalette['green.7'],\n 'content.warning': deepPurpleColorPalette['yellow.7'],\n 'content.danger': deepPurpleColorPalette['red.7'],\n 'content.muted': deepPurpleColorPalette['beige.6'],\n 'content.disabled': deepPurpleColorPalette['grey.3'],\n 'content.disabled.onContrasted': deepPurpleColorPalette['grey.1'],\n\n // backgrounds\n 'bg.base.hi.default': deepPurpleColorPalette['beige.2'],\n 'bg.base.hi.pressed': deepPurpleColorPalette['beige.3'],\n 'bg.base.mid.default': deepPurpleColorPalette['beige.1'],\n 'bg.base.mid.pressed': deepPurpleColorPalette['beige.2'],\n 'bg.base.low.default': deepPurpleColorPalette['grey.0'],\n 'bg.base.low.pressed': deepPurpleColorPalette['beige.1'],\n 'bg.accent.default': deepPurpleColorPalette['deepPurple.8'],\n 'bg.accent.pressed': deepPurpleColorPalette['deepPurple.7'],\n 'bg.promo.hi.default': deepPurpleColorPalette['lightning.9'],\n 'bg.promo.hi.pressed': deepPurpleColorPalette['lightning.8'],\n 'bg.promo.mid.default': deepPurpleColorPalette['lightning.5'],\n 'bg.promo.mid.pressed': deepPurpleColorPalette['lightning.4'],\n 'bg.highlight.default': deepPurpleColorPalette['blue.1'],\n 'bg.highlight.pressed': deepPurpleColorPalette['blue.2'],\n 'bg.info.hi': deepPurpleColorPalette['blue.6'],\n 'bg.info.mid': deepPurpleColorPalette['blue.1'],\n 'bg.success.hi': deepPurpleColorPalette['green.6'],\n 'bg.success.mid': deepPurpleColorPalette['green.1'],\n 'bg.warning.hi': deepPurpleColorPalette['yellow.6'],\n 'bg.warning.mid': deepPurpleColorPalette['yellow.1'],\n 'bg.danger.hi': deepPurpleColorPalette['red.6'],\n 'bg.danger.mid': deepPurpleColorPalette['red.1'],\n 'bg.disabled.hi': deepPurpleColorPalette['grey.3'],\n 'bg.disabled.mid': deepPurpleColorPalette['grey.1'],\n 'bg.overlay': deepPurpleColorPalette['grey-alpha.50'],\n\n // borders\n 'border.base.hi': deepPurpleColorPalette['grey.9'],\n 'border.base.mid': deepPurpleColorPalette['beige.3'],\n 'border.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],\n 'border.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.20'],\n 'border.base.accent': deepPurpleColorPalette['deepPurple.8'],\n 'border.info': deepPurpleColorPalette['blue.6'],\n 'border.success': deepPurpleColorPalette['green.6'],\n 'border.warning': deepPurpleColorPalette['yellow.6'],\n 'border.danger': deepPurpleColorPalette['red.6'],\n 'border.disabled': deepPurpleColorPalette['grey.2'],\n};\n","export enum BreakpointNameEnum {\n BASE = 'base',\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n WIDE = 'wide',\n}\n\nexport const breakpoints = {\n [BreakpointNameEnum.BASE]: 0,\n [BreakpointNameEnum.SMALL]: 480,\n [BreakpointNameEnum.MEDIUM]: 768,\n [BreakpointNameEnum.LARGE]: 1024,\n [BreakpointNameEnum.WIDE]: 1280,\n};\n","import { createFont } from '@tamagui/core';\n\nexport const HEADING_VARIANTS = [\n 'heading-2xl',\n 'heading-xl',\n 'heading-l',\n 'heading-m',\n 'heading-s',\n 'heading-xs',\n] as const;\nexport const BODY_VARIANTS = ['body-xl', 'body-l', 'body-m', 'body-s', 'body-xs'] as const;\nexport const LABEL_VARIANTS = ['label-xl', 'label-l', 'label-m', 'label-s'] as const;\nexport const VARIANTS = [...HEADING_VARIANTS, ...BODY_VARIANTS, ...LABEL_VARIANTS] as const;\n\nexport type FontVariants = (typeof VARIANTS)[number];\nexport type BodyFontVariants = (typeof BODY_VARIANTS)[number];\nexport type LabelFontVariants = (typeof LABEL_VARIANTS)[number];\nexport type HeadingFontVariants = (typeof HEADING_VARIANTS)[number];\n\nexport type GTStandardFontWeight = '500' | '600' | '700';\n\nconst GTStandardFaces: Record<GTStandardFontWeight, Record<string, string>> = {\n 500: { normal: 'GTStandardRegular' },\n 600: { normal: 'GTStandardSemibold' },\n 700: { normal: 'GTStandardBold' },\n};\n\nconst size: Record<FontVariants, number> = {\n 'heading-2xl': 56,\n 'heading-xl': 48,\n 'heading-l': 38,\n 'heading-m': 24,\n 'heading-s': 20,\n 'heading-xs': 16,\n 'body-xl': 24,\n 'body-l': 18,\n 'body-m': 16,\n 'body-s': 14,\n 'body-xs': 12,\n 'label-xl': 18,\n 'label-l': 16,\n 'label-m': 14,\n 'label-s': 12,\n};\n\nconst lineHeight: Record<FontVariants, number> = {\n 'heading-2xl': 64,\n 'heading-xl': 56,\n 'heading-l': 48,\n 'heading-m': 32,\n 'heading-s': 20,\n 'heading-xs': 18,\n 'body-xl': 32,\n 'body-l': 26,\n 'body-m': 24,\n 'body-s': 20,\n 'body-xs': 16,\n 'label-xl': 26,\n 'label-l': 24,\n 'label-m': 20,\n 'label-s': 16,\n};\n\nconst letterSpacing: Record<FontVariants, number> = {\n 'heading-2xl': 0,\n 'heading-xl': 0,\n 'heading-l': 0,\n 'heading-m': 0,\n 'heading-s': 0,\n 'heading-xs': 0,\n 'body-xl': 0.3,\n 'body-l': 0.3,\n 'body-m': 0.3,\n 'body-s': 0.3,\n 'body-xs': 0.3,\n 'label-xl': 0,\n 'label-l': 0,\n 'label-m': 0,\n 'label-s': 0,\n};\n\nconst weight: Record<string, GTStandardFontWeight> = {\n bold: '700',\n semibold: '600',\n regular: '500',\n};\n\nexport const fonts = createFont({\n family: 'GTStandard',\n size,\n lineHeight,\n letterSpacing,\n weight,\n face: GTStandardFaces,\n});\n","export const sizeTokens = {\n 16: 16,\n 20: 20,\n 24: 24,\n 32: 32,\n 80: 80,\n 128: 128,\n 176: 176,\n 208: 208,\n};\n","export const spaceTokens = {\n 0: 0,\n 2: 2,\n 4: 4,\n 8: 8,\n 12: 12,\n 16: 16,\n 24: 24,\n 32: 32,\n 40: 40,\n 48: 48,\n 56: 56,\n 64: 64,\n 80: 80,\n};\n","import { createTamagui, createTokens } from '@tamagui/core';\nimport { light } from './themes/light';\nimport { BreakpointNameEnum, breakpoints } from './themes/utils/breakpoints';\nimport { fonts } from './tokens/fonts';\nimport { sizeTokens } from './tokens/size';\nimport { spaceTokens } from './tokens/space';\n\nconst tokens = createTokens({\n color: {},\n space: spaceTokens,\n size: sizeTokens,\n});\n\nexport const config = createTamagui({\n tokens,\n fonts: {\n GTStandard: fonts,\n },\n themes: {\n light,\n },\n media: {\n [BreakpointNameEnum.BASE]: { minWidth: breakpoints[BreakpointNameEnum.BASE] },\n [BreakpointNameEnum.SMALL]: { minWidth: breakpoints[BreakpointNameEnum.SMALL] },\n [BreakpointNameEnum.MEDIUM]: { minWidth: breakpoints[BreakpointNameEnum.MEDIUM] },\n [BreakpointNameEnum.LARGE]: { minWidth: breakpoints[BreakpointNameEnum.LARGE] },\n [BreakpointNameEnum.WIDE]: { minWidth: breakpoints[BreakpointNameEnum.WIDE] },\n },\n settings: {\n allowedStyleValues: 'strict',\n disableSSR: true,\n styleCompat: 'react-native',\n autocompleteSpecificTokens: true,\n debug: false,\n },\n});\n\ntype Conf = typeof config;\n\n// make imports typed\ndeclare module '@tamagui/core' {\n interface TamaguiCustomConfig extends Conf {}\n}\n","import { TamaguiProvider } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { config } from '../tamagui.config';\n\nexport interface BumperProviderProps {\n children: ReactNode;\n}\n\nexport function BumperProvider({ children }: BumperProviderProps): ReactNode {\n return (\n <TamaguiProvider config={config} defaultTheme=\"light\">\n {children}\n </TamaguiProvider>\n );\n}\n","import { makeDecorator } from '@storybook/addons';\nimport type { ReactNode } from 'react';\nimport { BumperProvider } from './BumperProvider';\n\nexport const BumperDecorator = makeDecorator({\n name: 'BumperDecorator',\n parameterName: 'bumper',\n wrapper: (storyFn, context) => {\n return <BumperProvider>{storyFn(context) as ReactNode}</BumperProvider>;\n },\n});\n","import { Stack, styled } from '@tamagui/core';\nimport type { GetProps } from '@tamagui/core';\n\nexport { Stack } from '@tamagui/core';\nexport type StackProps = GetProps<typeof Stack>;\n\nexport const HStack = styled(Stack, {\n name: 'HStack',\n flexDirection: 'row',\n});\n\nexport type HStackProps = GetProps<typeof HStack>;\n\nexport const VStack = styled(Stack, {\n name: 'VStack',\n flexDirection: 'column',\n});\n\nexport type VStackProps = GetProps<typeof VStack>;\n","import type { FontVariants } from '../../../tokens/fonts';\nimport { BODY_VARIANTS } from '../../../tokens/fonts';\nimport type {\n InternalTypographyProps,\n TypographyTextProps,\n TypographyVariantContextValue,\n TypographyWeightContextValue,\n} from '../Typograhy';\n\ninterface VariantAndWeightValues {\n weight: InternalTypographyProps['weight'] | undefined;\n variant: FontVariants | undefined;\n}\n\nexport function getVariantAndWeightValues(\n weightProp: TypographyTextProps['weight'],\n variantProp: TypographyTextProps['variant'],\n typographyWeightAncestorValue: TypographyWeightContextValue,\n typographyVariantAncestorValue: TypographyVariantContextValue,\n): VariantAndWeightValues {\n const computedVariant = variantProp || typographyVariantAncestorValue || undefined;\n\n if (computedVariant) {\n if ((BODY_VARIANTS as readonly string[]).includes(computedVariant)) {\n const computedWeight = weightProp || typographyWeightAncestorValue || undefined;\n return { weight: computedWeight, variant: computedVariant };\n }\n return { weight: 'semibold', variant: computedVariant };\n }\n\n return { weight: weightProp, variant: undefined };\n}\n","import type { GetProps, GetThemeValueForKey } from '@tamagui/core';\nimport { Text, styled } from '@tamagui/core';\nimport { createContext, useContext } from 'react';\nimport { type Except } from 'type-fest';\nimport type { BodyFontVariants, FontVariants, HeadingFontVariants, LabelFontVariants } from '../../tokens/fonts';\nimport { getVariantAndWeightValues } from './utils/getTypeAndWeightValues';\n\nexport type TypographyVariantContextValue = FontVariants | null;\nexport type TypographyWeightContextValue = 'regular' | 'bold' | null;\nexport type TypograhyColorContextValue = TypograhyColorProps | null;\n\nconst TypographyVariantContext = createContext<TypographyVariantContextValue>(null);\nconst TypographyWeightContext = createContext<TypographyWeightContextValue>(null);\nconst TypograhyColorContext = createContext<TypograhyColorContextValue>(null);\n\nconst InternalTypography = styled(Text, {\n fontFamily: '$GTStandard',\n color: '$content.base.hi',\n '$platform-web': {\n WebkitFontSmoothing: 'antialiased',\n },\n variants: {\n variant: (variant: FontVariants | undefined) => {\n if (!variant) return {};\n\n return {\n fontSize: `$${variant}`,\n lineHeight: `$${variant}`,\n letterSpacing: `$${variant}`,\n };\n },\n weight: {\n regular: {\n fontWeight: '$regular',\n },\n semibold: {\n fontWeight: '$semibold',\n },\n bold: {\n fontWeight: '$bold',\n },\n },\n } as const,\n defaultVariants: {\n variant: 'body-m',\n weight: 'regular',\n },\n});\n\nexport type InternalTypographyProps = GetProps<typeof InternalTypography>;\n\n// Create a type for color props that matches strings containing '$content.'\ntype ContainsOneString<T extends string> = `${string}${T}${string}`;\ntype TypograhyColorProps = ContainsOneString<'$content.'>;\n\n// Remove font-related style props from InternalTypography Props\ntype TypographyExcludedFontStyleProps =\n | 'fontFamily'\n | 'fontSize'\n | 'lineHeight'\n | 'fontStyle'\n | 'fontVariant'\n | 'fontWeight';\ntype TypographyPropsWithoutFontStyleProps = Except<\n InternalTypographyProps,\n TypographyExcludedFontStyleProps | 'color'\n> & {\n color?: TypograhyColorProps;\n};\n\nexport interface BodyProps extends TypographyPropsWithoutFontStyleProps {\n variant?: BodyFontVariants;\n weight?: Exclude<InternalTypographyProps['weight'], 'semibold'>;\n}\nexport interface HeadingLabelProps extends TypographyPropsWithoutFontStyleProps {\n variant: HeadingFontVariants | LabelFontVariants;\n weight?: never;\n}\nexport type TypographyTextProps = BodyProps | HeadingLabelProps;\n\nconst TypographyText = InternalTypography.styleable<TypographyTextProps>((props, ref) => {\n const typographyVariantAncestorValue = useContext(TypographyVariantContext);\n const typographyWeightAncestorValue = useContext(TypographyWeightContext);\n const typographyColorAncestorValue = useContext(TypograhyColorContext);\n\n const { variant, weight } = getVariantAndWeightValues(\n props.weight,\n props.variant,\n typographyWeightAncestorValue,\n typographyVariantAncestorValue,\n );\n const color = props.color || typographyColorAncestorValue || undefined;\n\n let content = (\n <InternalTypography\n ref={ref}\n {...props}\n color={color as GetThemeValueForKey<'color'>}\n weight={weight}\n variant={variant}\n />\n );\n\n content = props.variant ? (\n // If a variant is provided, we set it in the context for children to be able to inherit variant value\n <TypographyVariantContext.Provider value={props.variant}>{content}</TypographyVariantContext.Provider>\n ) : (\n content\n );\n\n content = props.weight ? (\n // If a weight is provided, we set it in the context for children to be able to inherit weight value\n <TypographyWeightContext.Provider value={props.weight}>{content}</TypographyWeightContext.Provider>\n ) : (\n content\n );\n\n content = props.color ? (\n // If a color is provided, we set it in the context for children to be able to inherit color value\n <TypograhyColorContext.Provider value={props.color}>{content}</TypograhyColorContext.Provider>\n ) : (\n content\n );\n\n return content;\n});\n\nexport const Typography = {\n Text: TypographyText,\n};\n","import { BreakpointNameEnum } from '../../../themes/utils/breakpoints';\n\nexport interface ValueForBreakpoint<T> {\n base: T;\n small?: T;\n medium?: T;\n large?: T;\n wide?: T;\n}\n\nexport function getValueForBreakpoint<T>(\n breakpoint: BreakpointNameEnum,\n { base, small, medium, large, wide }: ValueForBreakpoint<T>,\n): T {\n switch (breakpoint) {\n case BreakpointNameEnum.WIDE:\n return wide ?? large ?? medium ?? small ?? base;\n case BreakpointNameEnum.LARGE:\n return large ?? medium ?? small ?? base;\n case BreakpointNameEnum.MEDIUM:\n return medium ?? small ?? base;\n case BreakpointNameEnum.SMALL:\n return small ?? base;\n case BreakpointNameEnum.BASE:\n default:\n return base;\n }\n}\n","import { useMedia } from '@tamagui/core';\nimport { BreakpointNameEnum } from '../../../themes/utils/breakpoints';\n\nexport function useCurrentBreakpointName(): BreakpointNameEnum {\n const media = useMedia();\n\n switch (true) {\n case media.wide:\n return BreakpointNameEnum.WIDE;\n case media.large:\n return BreakpointNameEnum.LARGE;\n case media.medium:\n return BreakpointNameEnum.MEDIUM;\n case media.small:\n return BreakpointNameEnum.SMALL;\n case media.base:\n default:\n return BreakpointNameEnum.BASE;\n }\n}\n","import { useMemo } from 'react';\nimport type { ValueForBreakpoint } from '../utils/breakpointsUtils';\nimport { getValueForBreakpoint } from '../utils/breakpointsUtils';\nimport { useCurrentBreakpointName } from './useCurrentBreakpointName';\n\nexport function useBreakpointValue<T>(values: ValueForBreakpoint<T>): T {\n const breakpoint = useCurrentBreakpointName();\n\n return useMemo(() => {\n return getValueForBreakpoint(breakpoint, values);\n }, [breakpoint, values]);\n}\n","import type { ReactNode } from 'react';\nimport { useCurrentBreakpointName } from './hooks/useCurrentBreakpointName';\nimport type { ValueForBreakpoint } from './utils/breakpointsUtils';\nimport { getValueForBreakpoint } from './utils/breakpointsUtils';\n\nexport type SwitchBreakpointsProps = ValueForBreakpoint<ReactNode>;\n\nexport function SwitchBreakpoints(values: SwitchBreakpointsProps): ReactNode {\n const breakpoint = useCurrentBreakpointName();\n\n return getValueForBreakpoint(breakpoint, values);\n}\n"],"names":["createColorScale","colorScale","colorScales","deepPurple","beige","lightning","rainbow","pink","brick","orange","gold","sun","grey","blue","green","yellow","red","transformColorScalesToTokens","Object","fromEntries","entries","flatMap","colorName","map","scaleNumber","colorValue","deepPurpleColorPalette","_objectSpread","white","black","transparent","light","BreakpointNameEnum","breakpoints","BASE","SMALL","MEDIUM","LARGE","WIDE","BODY_VARIANTS","GTStandardFaces","normal","size","lineHeight","letterSpacing","weight","bold","semibold","regular","fonts","createFont","family","face","sizeTokens","spaceTokens","tokens","createTokens","color","space","config","createTamagui","GTStandard","themes","media","minWidth","settings","allowedStyleValues","disableSSR","styleCompat","autocompleteSpecificTokens","debug","BumperProvider","children","_jsx","TamaguiProvider","defaultTheme","BumperDecorator","makeDecorator","name","parameterName","wrapper","storyFn","context","HStack","styled","Stack","flexDirection","VStack","getVariantAndWeightValues","weightProp","variantProp","typographyWeightAncestorValue","typographyVariantAncestorValue","computedVariant","undefined","includes","computedWeight","variant","TypographyVariantContext","createContext","TypographyWeightContext","TypograhyColorContext","InternalTypography","Text","fontFamily","WebkitFontSmoothing","variants","fontSize","fontWeight","defaultVariants","TypographyText","styleable","props","ref","useContext","typographyColorAncestorValue","content","Provider","value","Typography","getValueForBreakpoint","breakpoint","base","small","medium","large","wide","_ref","_ref2","_ref3","_ref4","_ref5","_ref6","useCurrentBreakpointName","useMedia","useBreakpointValue","values","useMemo","SwitchBreakpoints"],"mappings":";;;;;;;;AA2CA,MAAMA,gBAAgB,GAAqDC,UAAa,IAAQA,UAAU,CAAA;;AAE1G;AACA;AACO,MAAMC,WAAwB,GAAG;EACtCC,UAAU,EAAEH,gBAAgB,CAAC;AAC3B,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAA;AACL,GAAC,CAAC;EACFI,KAAK,EAAEJ,gBAAgB,CAAC;AACtB,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAA;AACL,GAAC,CAAC;EACFK,SAAS,EAAEL,gBAAgB,CAAC;AAC1B,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAA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CAACG,KAAK,CAAA;IACjC,KAAK4B,KAAK,CAAC2D,IAAI,CAAA;AACf,IAAA;MACE,OAAO1F,kBAAkB,CAACE,IAAI,CAAA;AAClC,GAAA;AACF;;ACdO,SAASqG,kBAAkBA,CAAIC,MAA6B,EAAK;AACtE,EAAA,MAAMf,UAAU,GAAGY,wBAAwB,EAAE,CAAA;EAE7C,OAAOI,OAAO,CAAC,MAAM;AACnB,IAAA,OAAOjB,qBAAqB,CAACC,UAAU,EAAEe,MAAM,CAAC,CAAA;AAClD,GAAC,EAAE,CAACf,UAAU,EAAEe,MAAM,CAAC,CAAC,CAAA;AAC1B;;ACJO,SAASE,iBAAiBA,CAACF,MAA8B,EAAa;AAC3E,EAAA,MAAMf,UAAU,GAAGY,wBAAwB,EAAE,CAAA;AAE7C,EAAA,OAAOb,qBAAqB,CAACC,UAAU,EAAEe,MAAM,CAAC,CAAA;AAClD;;;;"}
|
|
1
|
+
{"version":3,"file":"index-metro.es.android.js","sources":["../src/themes/palettes/deepPurpleColorPalette.ts","../src/themes/light.ts","../src/themes/utils/breakpoints.ts","../src/tokens/fonts.ts","../src/tokens/size.ts","../src/tokens/space.ts","../src/tamagui.config.ts","../src/core/BumperProvider.tsx","../src/core/BumperDecorator.tsx","../src/components/primitives/Stacks.ts","../src/components/typography/utils/getTypeAndWeightValues.tsx","../src/components/typography/Typograhy.tsx","../src/components/breakpoints/utils/breakpointsUtils.ts","../src/components/breakpoints/hooks/useCurrentBreakpointName.ts","../src/components/breakpoints/hooks/useBreakpointValue.ts","../src/components/breakpoints/SwitchBreakpoins.tsx"],"sourcesContent":["import type { IntRange, UnionToIntersection } from 'type-fest';\n\ninterface ColorScaleKeysMap {\n deepPurple: IntRange<5, 10>;\n beige: IntRange<1, 7>;\n lightning: 4 | 5 | 8 | 9;\n rainbow:\n | 'pink'\n | 'brick'\n | 'orange'\n | 'gold'\n | 'sun'\n | 'green-pine'\n | 'green-grass'\n | 'green-apple'\n | 'blue-electric'\n | 'blue-sky';\n grey: 0 | 1 | 2 | 3 | 5 | 7 | 9;\n blue: 1 | 2 | 6 | 7;\n green: 1 | 2 | 6 | 7;\n yellow: 1 | 2 | 6 | 7;\n red: 1 | 2 | 6 | 7;\n mauve: 1 | 2 | 3 | 4;\n 'beige-alpha': '25' | '40' | '50';\n 'grey-alpha': '25' | '35' | '50';\n 'white-alpha': '10' | '20' | '60' | '80' | '90';\n}\n\ntype CreateColorScale<K extends keyof ColorScaleKeysMap> = Record<ColorScaleKeysMap[K], string>;\n\ntype ColorScales = {\n [K in keyof ColorScaleKeysMap]: CreateColorScale<K>;\n};\n\ntype CreateTokens<K extends keyof ColorScaleKeysMap> = {\n [Key in ColorScaleKeysMap[K] as `${K}.${Key}`]: string;\n};\n\ntype ColorScaleTokens = UnionToIntersection<\n {\n [K in keyof ColorScaleKeysMap]: CreateTokens<K>;\n }[keyof ColorScaleKeysMap]\n>;\n\nconst createColorScale = <const T extends Record<string | number, string>>(colorScale: T): T => colorScale;\n\n// WARNING\n// If you update this palette, don't forget to update the palette in @ornikar/bumper as well.\nexport const colorScales: ColorScales = {\n deepPurple: createColorScale({\n 5: '#936C93',\n 6: '#7A587A',\n 7: '#6E4D6E',\n 8: '#563B56',\n 9: '#452F45',\n }),\n beige: createColorScale({\n 1: '#F7F4EE',\n 2: '#F1ECE4',\n 3: '#EAE3D6',\n 4: '#E5DCCA',\n 5: '#DDD0B8',\n 6: '#C1B59F',\n }),\n lightning: createColorScale({\n 4: '#FFF966',\n 5: '#FFF500',\n 8: '#594D0D',\n 9: '#43390A',\n }),\n rainbow: createColorScale({\n pink: '#E4A4F9',\n brick: '#951D12',\n orange: '#DB6E2E',\n gold: '#9A7600',\n sun: '#EFD346',\n 'green-pine': '#1C5D47',\n 'green-grass': '#4DA00A',\n 'green-apple': '#DEF985',\n 'blue-electric': '#2850C4',\n 'blue-sky': '#B2F0FD',\n }),\n grey: createColorScale({\n 0: '#ffffff',\n 1: '#ECECEC',\n 2: '#CDCED0',\n 3: '#A8A8A8',\n 5: '#838383',\n 7: '#505050',\n 9: '#101010',\n }),\n blue: createColorScale({\n 1: '#E9F4FC',\n 2: '#BCDFF6',\n 6: '#1772AB',\n 7: '#125A87',\n }),\n green: createColorScale({\n 1: '#ECFEDD',\n 2: '#DBFAC1',\n 6: '#438D06',\n 7: '#357105',\n }),\n yellow: createColorScale({\n 1: '#FDF8E7',\n 2: '#FAEBB8',\n 6: '#EFC11F',\n 7: '#BA930B',\n }),\n red: createColorScale({\n 1: '#FDE4E3',\n 2: '#FAB8B8',\n 6: '#E2483D',\n 7: '#BD100F',\n }),\n mauve: createColorScale({\n 1: '#F8E7FF',\n 2: '#F1D0FB',\n 3: '#E4A4F9',\n 4: '#D283EC',\n }),\n 'beige-alpha': createColorScale({\n '25': '#C1B59F40',\n '40': '#C1B59F66',\n '50': '#C1B59F80',\n }),\n 'grey-alpha': createColorScale({\n '25': '#10101040',\n '35': '#10101059',\n '50': '#10101080',\n }),\n 'white-alpha': createColorScale({\n '10': '#FFFFFF1A',\n '20': '#FFFFFF33',\n '60': '#FFFFFF99',\n '80': '#FFFFFFCC',\n '90': '#FFFFFFE5',\n }),\n} as const;\n\nconst transformColorScalesToTokens = (): ColorScaleTokens => {\n return Object.fromEntries(\n Object.entries(colorScales).flatMap(([colorName, colorScale]) => {\n return Object.entries(colorScale).map(([scaleNumber, colorValue]) => {\n return [`${colorName}.${scaleNumber}`, colorValue];\n });\n }),\n ) as ColorScaleTokens;\n};\n\nexport const deepPurpleColorPalette = {\n ...transformColorScalesToTokens(),\n white: '#FFFFFF',\n black: '#000000',\n transparent: 'transparent',\n};\n","import { deepPurpleColorPalette } from './palettes/deepPurpleColorPalette';\n\n// WARNING\n// If you modify this theme, don't forget to update the theme in @ornikar/kitt-universal as well\n// https://github.com/ornikar/kitt/blob/79e367e962c957c016c4df67dbcf515c8f45ff0e/@ornikar/kitt-universal/src/themes/late-ocean/colors.ts#L28\nexport const light = {\n // content\n 'content.base.low': deepPurpleColorPalette['grey.5'],\n 'content.base.mid': deepPurpleColorPalette['grey.7'],\n 'content.base.hi': deepPurpleColorPalette['grey.9'],\n 'content.base.onContrasted.low': deepPurpleColorPalette['white-alpha.60'],\n 'content.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.80'],\n 'content.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],\n 'content.accent': deepPurpleColorPalette['deepPurple.8'],\n 'content.promo': deepPurpleColorPalette['lightning.9'],\n 'content.promo.onContrasted': deepPurpleColorPalette['lightning.5'],\n 'content.info': deepPurpleColorPalette['blue.7'],\n 'content.success': deepPurpleColorPalette['green.7'],\n 'content.warning': deepPurpleColorPalette['yellow.7'],\n 'content.danger': deepPurpleColorPalette['red.7'],\n 'content.muted': deepPurpleColorPalette['beige.6'],\n 'content.disabled': deepPurpleColorPalette['grey.3'],\n 'content.disabled.onContrasted': deepPurpleColorPalette['grey.1'],\n\n // backgrounds\n 'bg.base.low.default': deepPurpleColorPalette['grey.0'],\n 'bg.base.low.pressed': deepPurpleColorPalette['beige.1'],\n 'bg.base.mid.default': deepPurpleColorPalette['beige.1'],\n 'bg.base.mid.pressed': deepPurpleColorPalette['beige.2'],\n 'bg.base.hi.default': deepPurpleColorPalette['beige.2'],\n 'bg.base.hi.pressed': deepPurpleColorPalette['beige.3'],\n 'bg.accent.default': deepPurpleColorPalette['deepPurple.8'],\n 'bg.accent.pressed': deepPurpleColorPalette['deepPurple.7'],\n 'bg.promo.mid.default': deepPurpleColorPalette['lightning.5'],\n 'bg.promo.mid.pressed': deepPurpleColorPalette['lightning.4'],\n 'bg.promo.hi.default': deepPurpleColorPalette['lightning.9'],\n 'bg.promo.hi.pressed': deepPurpleColorPalette['lightning.8'],\n 'bg.highlight.mid.default': deepPurpleColorPalette['mauve.1'],\n 'bg.highlight.mid.pressed': deepPurpleColorPalette['mauve.2'],\n 'bg.highlight.hi.default': deepPurpleColorPalette['mauve.3'],\n 'bg.highlight.hi.pressed': deepPurpleColorPalette['mauve.4'],\n 'bg.info.mid': deepPurpleColorPalette['blue.1'],\n 'bg.info.hi': deepPurpleColorPalette['blue.6'],\n 'bg.success.mid': deepPurpleColorPalette['green.1'],\n 'bg.success.hi': deepPurpleColorPalette['green.6'],\n 'bg.warning.mid': deepPurpleColorPalette['yellow.1'],\n 'bg.warning.hi': deepPurpleColorPalette['yellow.6'],\n 'bg.danger.mid': deepPurpleColorPalette['red.1'],\n 'bg.danger.hi': deepPurpleColorPalette['red.6'],\n 'bg.disabled.mid': deepPurpleColorPalette['grey.1'],\n 'bg.disabled.hi': deepPurpleColorPalette['grey.3'],\n 'bg.overlay': deepPurpleColorPalette['grey-alpha.50'],\n\n // borders\n 'border.base.low': deepPurpleColorPalette['beige.2'],\n 'border.base.mid': deepPurpleColorPalette['beige.3'],\n 'border.base.hi': deepPurpleColorPalette['grey.9'],\n 'border.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.20'],\n 'border.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],\n 'border.base.accent': deepPurpleColorPalette['deepPurple.8'],\n 'border.info': deepPurpleColorPalette['blue.6'],\n 'border.success': deepPurpleColorPalette['green.6'],\n 'border.warning': deepPurpleColorPalette['yellow.6'],\n 'border.danger': deepPurpleColorPalette['red.6'],\n 'border.disabled': deepPurpleColorPalette['grey.2'],\n 'border.highlight': deepPurpleColorPalette['mauve.3'],\n};\n","export enum BreakpointNameEnum {\n BASE = 'base',\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n WIDE = 'wide',\n}\n\nexport const breakpoints = {\n [BreakpointNameEnum.BASE]: 0,\n [BreakpointNameEnum.SMALL]: 480,\n [BreakpointNameEnum.MEDIUM]: 768,\n [BreakpointNameEnum.LARGE]: 1024,\n [BreakpointNameEnum.WIDE]: 1280,\n};\n","import { createFont } from '@tamagui/core';\n\nexport const HEADING_VARIANTS = [\n 'heading-2xl',\n 'heading-xl',\n 'heading-l',\n 'heading-m',\n 'heading-s',\n 'heading-xs',\n] as const;\nexport const BODY_VARIANTS = ['body-xl', 'body-l', 'body-m', 'body-s', 'body-xs'] as const;\nexport const LABEL_VARIANTS = ['label-xl', 'label-l', 'label-m', 'label-s'] as const;\nexport const VARIANTS = [...HEADING_VARIANTS, ...BODY_VARIANTS, ...LABEL_VARIANTS] as const;\n\nexport type FontVariants = (typeof VARIANTS)[number];\nexport type BodyFontVariants = (typeof BODY_VARIANTS)[number];\nexport type LabelFontVariants = (typeof LABEL_VARIANTS)[number];\nexport type HeadingFontVariants = (typeof HEADING_VARIANTS)[number];\n\nexport type GTStandardFontWeight = '500' | '600' | '700';\n\nconst GTStandardFaces: Record<GTStandardFontWeight, Record<string, string>> = {\n 500: { normal: 'GTStandardRegular' },\n 600: { normal: 'GTStandardSemibold' },\n 700: { normal: 'GTStandardBold' },\n};\n\nconst size: Record<FontVariants, number> = {\n 'heading-2xl': 56,\n 'heading-xl': 48,\n 'heading-l': 38,\n 'heading-m': 24,\n 'heading-s': 20,\n 'heading-xs': 16,\n 'body-xl': 24,\n 'body-l': 18,\n 'body-m': 16,\n 'body-s': 14,\n 'body-xs': 12,\n 'label-xl': 18,\n 'label-l': 16,\n 'label-m': 14,\n 'label-s': 12,\n};\n\nconst lineHeight: Record<FontVariants, number> = {\n 'heading-2xl': 64,\n 'heading-xl': 56,\n 'heading-l': 48,\n 'heading-m': 32,\n 'heading-s': 20,\n 'heading-xs': 18,\n 'body-xl': 32,\n 'body-l': 26,\n 'body-m': 24,\n 'body-s': 20,\n 'body-xs': 16,\n 'label-xl': 26,\n 'label-l': 24,\n 'label-m': 20,\n 'label-s': 16,\n};\n\nconst letterSpacing: Record<FontVariants, number> = {\n 'heading-2xl': 0,\n 'heading-xl': 0,\n 'heading-l': 0,\n 'heading-m': 0,\n 'heading-s': 0,\n 'heading-xs': 0,\n 'body-xl': 0.3,\n 'body-l': 0.3,\n 'body-m': 0.3,\n 'body-s': 0.3,\n 'body-xs': 0.3,\n 'label-xl': 0,\n 'label-l': 0,\n 'label-m': 0,\n 'label-s': 0,\n};\n\nconst weight: Record<string, GTStandardFontWeight> = {\n bold: '700',\n semibold: '600',\n regular: '500',\n};\n\nexport const fonts = createFont({\n family: 'GTStandard',\n size,\n lineHeight,\n letterSpacing,\n weight,\n face: GTStandardFaces,\n});\n","export const sizeTokens = {\n 16: 16,\n 20: 20,\n 24: 24,\n 32: 32,\n 80: 80,\n 128: 128,\n 176: 176,\n 208: 208,\n};\n","export const spaceTokens = {\n 0: 0,\n 2: 2,\n 4: 4,\n 8: 8,\n 12: 12,\n 16: 16,\n 24: 24,\n 32: 32,\n 40: 40,\n 48: 48,\n 56: 56,\n 64: 64,\n 80: 80,\n};\n","import { createTamagui, createTokens } from '@tamagui/core';\nimport { light } from './themes/light';\nimport { BreakpointNameEnum, breakpoints } from './themes/utils/breakpoints';\nimport { fonts } from './tokens/fonts';\nimport { sizeTokens } from './tokens/size';\nimport { spaceTokens } from './tokens/space';\n\nconst tokens = createTokens({\n color: {},\n space: spaceTokens,\n size: sizeTokens,\n});\n\nexport const config = createTamagui({\n tokens,\n fonts: {\n GTStandard: fonts,\n },\n themes: {\n light,\n },\n media: {\n [BreakpointNameEnum.BASE]: { minWidth: breakpoints[BreakpointNameEnum.BASE] },\n [BreakpointNameEnum.SMALL]: { minWidth: breakpoints[BreakpointNameEnum.SMALL] },\n [BreakpointNameEnum.MEDIUM]: { minWidth: breakpoints[BreakpointNameEnum.MEDIUM] },\n [BreakpointNameEnum.LARGE]: { minWidth: breakpoints[BreakpointNameEnum.LARGE] },\n [BreakpointNameEnum.WIDE]: { minWidth: breakpoints[BreakpointNameEnum.WIDE] },\n },\n settings: {\n allowedStyleValues: 'strict',\n disableSSR: true,\n styleCompat: 'react-native',\n autocompleteSpecificTokens: true,\n debug: false,\n },\n});\n\ntype Conf = typeof config;\n\n// make imports typed\ndeclare module '@tamagui/core' {\n interface TamaguiCustomConfig extends Conf {}\n}\n","import { TamaguiProvider } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { config } from '../tamagui.config';\n\nexport interface BumperProviderProps {\n children: ReactNode;\n}\n\nexport function BumperProvider({ children }: BumperProviderProps): ReactNode {\n return (\n <TamaguiProvider config={config} defaultTheme=\"light\">\n {children}\n </TamaguiProvider>\n );\n}\n","import { makeDecorator } from '@storybook/addons';\nimport type { ReactNode } from 'react';\nimport { BumperProvider } from './BumperProvider';\n\nexport const BumperDecorator = makeDecorator({\n name: 'BumperDecorator',\n parameterName: 'bumper',\n wrapper: (storyFn, context) => {\n return <BumperProvider>{storyFn(context) as ReactNode}</BumperProvider>;\n },\n});\n","import { Stack, styled } from '@tamagui/core';\nimport type { GetProps } from '@tamagui/core';\n\nexport { Stack } from '@tamagui/core';\nexport type StackProps = GetProps<typeof Stack>;\n\nexport const HStack = styled(Stack, {\n name: 'HStack',\n flexDirection: 'row',\n});\n\nexport type HStackProps = GetProps<typeof HStack>;\n\nexport const VStack = styled(Stack, {\n name: 'VStack',\n flexDirection: 'column',\n});\n\nexport type VStackProps = GetProps<typeof VStack>;\n","import type { FontVariants } from '../../../tokens/fonts';\nimport { BODY_VARIANTS } from '../../../tokens/fonts';\nimport type {\n InternalTypographyProps,\n TypographyTextProps,\n TypographyVariantContextValue,\n TypographyWeightContextValue,\n} from '../Typograhy';\n\ninterface VariantAndWeightValues {\n weight: InternalTypographyProps['weight'] | undefined;\n variant: FontVariants | undefined;\n}\n\nexport function getVariantAndWeightValues(\n weightProp: TypographyTextProps['weight'],\n variantProp: TypographyTextProps['variant'],\n typographyWeightAncestorValue: TypographyWeightContextValue,\n typographyVariantAncestorValue: TypographyVariantContextValue,\n): VariantAndWeightValues {\n const computedVariant = variantProp || typographyVariantAncestorValue || undefined;\n\n if (computedVariant) {\n if ((BODY_VARIANTS as readonly string[]).includes(computedVariant)) {\n const computedWeight = weightProp || typographyWeightAncestorValue || undefined;\n return { weight: computedWeight, variant: computedVariant };\n }\n return { weight: 'semibold', variant: computedVariant };\n }\n\n return { weight: weightProp, variant: undefined };\n}\n","import type { GetProps, GetThemeValueForKey } from '@tamagui/core';\nimport { Text, styled } from '@tamagui/core';\nimport { createContext, useContext } from 'react';\nimport { type Except } from 'type-fest';\nimport type { BodyFontVariants, FontVariants, HeadingFontVariants, LabelFontVariants } from '../../tokens/fonts';\nimport { getVariantAndWeightValues } from './utils/getTypeAndWeightValues';\n\nexport type TypographyVariantContextValue = FontVariants | null;\nexport type TypographyWeightContextValue = 'regular' | 'bold' | null;\nexport type TypograhyColorContextValue = TypograhyColorProps | null;\n\nconst TypographyVariantContext = createContext<TypographyVariantContextValue>(null);\nconst TypographyWeightContext = createContext<TypographyWeightContextValue>(null);\nconst TypograhyColorContext = createContext<TypograhyColorContextValue>(null);\n\nconst InternalTypography = styled(Text, {\n fontFamily: '$GTStandard',\n color: '$content.base.hi',\n '$platform-web': {\n WebkitFontSmoothing: 'antialiased',\n },\n variants: {\n variant: (variant: FontVariants | undefined) => {\n if (!variant) return {};\n\n return {\n fontSize: `$${variant}`,\n lineHeight: `$${variant}`,\n letterSpacing: `$${variant}`,\n };\n },\n weight: {\n regular: {\n fontWeight: '$regular',\n },\n semibold: {\n fontWeight: '$semibold',\n },\n bold: {\n fontWeight: '$bold',\n },\n },\n } as const,\n defaultVariants: {\n variant: 'body-m',\n weight: 'regular',\n },\n});\n\nexport type InternalTypographyProps = GetProps<typeof InternalTypography>;\n\n// Create a type for color props that matches strings containing '$content.'\ntype ContainsOneString<T extends string> = `${string}${T}${string}`;\ntype TypograhyColorProps = ContainsOneString<'$content.'>;\n\n// Remove font-related style props from InternalTypography Props\ntype TypographyExcludedFontStyleProps =\n | 'fontFamily'\n | 'fontSize'\n | 'lineHeight'\n | 'fontStyle'\n | 'fontVariant'\n | 'fontWeight';\ntype TypographyPropsWithoutFontStyleProps = Except<\n InternalTypographyProps,\n TypographyExcludedFontStyleProps | 'color'\n> & {\n color?: TypograhyColorProps;\n};\n\nexport interface BodyProps extends TypographyPropsWithoutFontStyleProps {\n variant?: BodyFontVariants;\n weight?: Exclude<InternalTypographyProps['weight'], 'semibold'>;\n}\nexport interface HeadingLabelProps extends TypographyPropsWithoutFontStyleProps {\n variant: HeadingFontVariants | LabelFontVariants;\n weight?: never;\n}\nexport type TypographyTextProps = BodyProps | HeadingLabelProps;\n\nconst TypographyText = InternalTypography.styleable<TypographyTextProps>((props, ref) => {\n const typographyVariantAncestorValue = useContext(TypographyVariantContext);\n const typographyWeightAncestorValue = useContext(TypographyWeightContext);\n const typographyColorAncestorValue = useContext(TypograhyColorContext);\n\n const { variant, weight } = getVariantAndWeightValues(\n props.weight,\n props.variant,\n typographyWeightAncestorValue,\n typographyVariantAncestorValue,\n );\n const color = props.color || typographyColorAncestorValue || undefined;\n\n let content = (\n <InternalTypography\n ref={ref}\n {...props}\n color={color as GetThemeValueForKey<'color'>}\n weight={weight}\n variant={variant}\n />\n );\n\n content = props.variant ? (\n // If a variant is provided, we set it in the context for children to be able to inherit variant value\n <TypographyVariantContext.Provider value={props.variant}>{content}</TypographyVariantContext.Provider>\n ) : (\n content\n );\n\n content = props.weight ? (\n // If a weight is provided, we set it in the context for children to be able to inherit weight value\n <TypographyWeightContext.Provider value={props.weight}>{content}</TypographyWeightContext.Provider>\n ) : (\n content\n );\n\n content = props.color ? (\n // If a color is provided, we set it in the context for children to be able to inherit color value\n <TypograhyColorContext.Provider value={props.color}>{content}</TypograhyColorContext.Provider>\n ) : (\n content\n );\n\n return content;\n});\n\nexport const Typography = {\n Text: TypographyText,\n};\n","import { BreakpointNameEnum } from '../../../themes/utils/breakpoints';\n\nexport interface ValueForBreakpoint<T> {\n base: T;\n small?: T;\n medium?: T;\n large?: T;\n wide?: T;\n}\n\nexport function getValueForBreakpoint<T>(\n breakpoint: BreakpointNameEnum,\n { base, small, medium, large, wide }: ValueForBreakpoint<T>,\n): T {\n switch (breakpoint) {\n case BreakpointNameEnum.WIDE:\n return wide ?? large ?? medium ?? small ?? base;\n case BreakpointNameEnum.LARGE:\n return large ?? medium ?? small ?? base;\n case BreakpointNameEnum.MEDIUM:\n return medium ?? small ?? base;\n case BreakpointNameEnum.SMALL:\n return small ?? base;\n case BreakpointNameEnum.BASE:\n default:\n return base;\n }\n}\n","import { useMedia } from '@tamagui/core';\nimport { BreakpointNameEnum } from '../../../themes/utils/breakpoints';\n\nexport function useCurrentBreakpointName(): BreakpointNameEnum {\n const media = useMedia();\n\n switch (true) {\n case media.wide:\n return BreakpointNameEnum.WIDE;\n case media.large:\n return BreakpointNameEnum.LARGE;\n case media.medium:\n return BreakpointNameEnum.MEDIUM;\n case media.small:\n return BreakpointNameEnum.SMALL;\n case media.base:\n default:\n return BreakpointNameEnum.BASE;\n }\n}\n","import { useMemo } from 'react';\nimport type { ValueForBreakpoint } from '../utils/breakpointsUtils';\nimport { getValueForBreakpoint } from '../utils/breakpointsUtils';\nimport { useCurrentBreakpointName } from './useCurrentBreakpointName';\n\nexport function useBreakpointValue<T>(values: ValueForBreakpoint<T>): T {\n const breakpoint = useCurrentBreakpointName();\n\n return useMemo(() => {\n return getValueForBreakpoint(breakpoint, values);\n }, [breakpoint, values]);\n}\n","import type { ReactNode } from 'react';\nimport { useCurrentBreakpointName } from './hooks/useCurrentBreakpointName';\nimport type { ValueForBreakpoint } from './utils/breakpointsUtils';\nimport { getValueForBreakpoint } from './utils/breakpointsUtils';\n\nexport type SwitchBreakpointsProps = ValueForBreakpoint<ReactNode>;\n\nexport function SwitchBreakpoints(values: SwitchBreakpointsProps): ReactNode {\n const breakpoint = useCurrentBreakpointName();\n\n return getValueForBreakpoint(breakpoint, values);\n}\n"],"names":["createColorScale","colorScale","colorScales","deepPurple","beige","lightning","rainbow","pink","brick","orange","gold","sun","grey","blue","green","yellow","red","mauve","transformColorScalesToTokens","Object","fromEntries","entries","flatMap","colorName","map","scaleNumber","colorValue","deepPurpleColorPalette","_objectSpread","white","black","transparent","light","BreakpointNameEnum","breakpoints","BASE","SMALL","MEDIUM","LARGE","WIDE","BODY_VARIANTS","GTStandardFaces","normal","size","lineHeight","letterSpacing","weight","bold","semibold","regular","fonts","createFont","family","face","sizeTokens","spaceTokens","tokens","createTokens","color","space","config","createTamagui","GTStandard","themes","media","minWidth","settings","allowedStyleValues","disableSSR","styleCompat","autocompleteSpecificTokens","debug","BumperProvider","children","_jsx","TamaguiProvider","defaultTheme","BumperDecorator","makeDecorator","name","parameterName","wrapper","storyFn","context","HStack","styled","Stack","flexDirection","VStack","getVariantAndWeightValues","weightProp","variantProp","typographyWeightAncestorValue","typographyVariantAncestorValue","computedVariant","undefined","includes","computedWeight","variant","TypographyVariantContext","createContext","TypographyWeightContext","TypograhyColorContext","InternalTypography","Text","fontFamily","WebkitFontSmoothing","variants","fontSize","fontWeight","defaultVariants","TypographyText","styleable","props","ref","useContext","typographyColorAncestorValue","content","Provider","value","Typography","getValueForBreakpoint","breakpoint","base","small","medium","large","wide","_ref","_ref2","_ref3","_ref4","_ref5","_ref6","useCurrentBreakpointName","useMedia","useBreakpointValue","values","useMemo","SwitchBreakpoints"],"mappings":";;;;;;;;AA4CA,MAAMA,gBAAgB,GAAqDC,UAAa,IAAQA,UAAU,CAAA;;AAE1G;AACA;AACO,MAAMC,WAAwB,GAAG;EACtCC,UAAU,EAAEH,gBAAgB,CAAC;AAC3B,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAA;AACL,GAAC,CAAC;EACFI,KAAK,EAAEJ,gBAAgB,CAAC;AACtB,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAA;AACL,GAAC,CAAC;EACFK,SAAS,EAAEL,gBAAgB,CAAC;AAC1B,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;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O,SAASW,wBAAwBA,GAAuB;AAC7D,EAAA,MAAMtE,KAAK,GAAGuE,QAAQ,EAAE,CAAA;AAExB,EAAA,QAAQ,IAAI;IACV,KAAKvE,KAAK,CAAC+D,IAAI;MACb,OAAO9F,kBAAkB,CAACM,IAAI,CAAA;IAChC,KAAKyB,KAAK,CAAC8D,KAAK;MACd,OAAO7F,kBAAkB,CAACK,KAAK,CAAA;IACjC,KAAK0B,KAAK,CAAC6D,MAAM;MACf,OAAO5F,kBAAkB,CAACI,MAAM,CAAA;IAClC,KAAK2B,KAAK,CAAC4D,KAAK;MACd,OAAO3F,kBAAkB,CAACG,KAAK,CAAA;IACjC,KAAK4B,KAAK,CAAC2D,IAAI,CAAA;AACf,IAAA;MACE,OAAO1F,kBAAkB,CAACE,IAAI,CAAA;AAClC,GAAA;AACF;;ACdO,SAASqG,kBAAkBA,CAAIC,MAA6B,EAAK;AACtE,EAAA,MAAMf,UAAU,GAAGY,wBAAwB,EAAE,CAAA;EAE7C,OAAOI,OAAO,CAAC,MAAM;AACnB,IAAA,OAAOjB,qBAAqB,CAACC,UAAU,EAAEe,MAAM,CAAC,CAAA;AAClD,GAAC,EAAE,CAACf,UAAU,EAAEe,MAAM,CAAC,CAAC,CAAA;AAC1B;;ACJO,SAASE,iBAAiBA,CAACF,MAA8B,EAAa;AAC3E,EAAA,MAAMf,UAAU,GAAGY,wBAAwB,EAAE,CAAA;AAE7C,EAAA,OAAOb,qBAAqB,CAACC,UAAU,EAAEe,MAAM,CAAC,CAAA;AAClD;;;;"}
|
|
@@ -74,9 +74,15 @@ const colorScales = {
|
|
|
74
74
|
red: createColorScale({
|
|
75
75
|
1: '#FDE4E3',
|
|
76
76
|
2: '#FAB8B8',
|
|
77
|
-
6: '#
|
|
77
|
+
6: '#E2483D',
|
|
78
78
|
7: '#BD100F'
|
|
79
79
|
}),
|
|
80
|
+
mauve: createColorScale({
|
|
81
|
+
1: '#F8E7FF',
|
|
82
|
+
2: '#F1D0FB',
|
|
83
|
+
3: '#E4A4F9',
|
|
84
|
+
4: '#D283EC'
|
|
85
|
+
}),
|
|
80
86
|
'beige-alpha': createColorScale({
|
|
81
87
|
'25': '#C1B59F40',
|
|
82
88
|
'40': '#C1B59F66',
|
|
@@ -113,12 +119,12 @@ const deepPurpleColorPalette = _objectSpread(_objectSpread({}, transformColorSca
|
|
|
113
119
|
// https://github.com/ornikar/kitt/blob/79e367e962c957c016c4df67dbcf515c8f45ff0e/@ornikar/kitt-universal/src/themes/late-ocean/colors.ts#L28
|
|
114
120
|
const light = {
|
|
115
121
|
// content
|
|
116
|
-
'content.base.hi': deepPurpleColorPalette['grey.9'],
|
|
117
|
-
'content.base.mid': deepPurpleColorPalette['grey.7'],
|
|
118
122
|
'content.base.low': deepPurpleColorPalette['grey.5'],
|
|
119
|
-
'content.base.
|
|
120
|
-
'content.base.
|
|
123
|
+
'content.base.mid': deepPurpleColorPalette['grey.7'],
|
|
124
|
+
'content.base.hi': deepPurpleColorPalette['grey.9'],
|
|
121
125
|
'content.base.onContrasted.low': deepPurpleColorPalette['white-alpha.60'],
|
|
126
|
+
'content.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.80'],
|
|
127
|
+
'content.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],
|
|
122
128
|
'content.accent': deepPurpleColorPalette['deepPurple.8'],
|
|
123
129
|
'content.promo': deepPurpleColorPalette['lightning.9'],
|
|
124
130
|
'content.promo.onContrasted': deepPurpleColorPalette['lightning.5'],
|
|
@@ -130,42 +136,46 @@ const light = {
|
|
|
130
136
|
'content.disabled': deepPurpleColorPalette['grey.3'],
|
|
131
137
|
'content.disabled.onContrasted': deepPurpleColorPalette['grey.1'],
|
|
132
138
|
// backgrounds
|
|
133
|
-
'bg.base.hi.default': deepPurpleColorPalette['beige.2'],
|
|
134
|
-
'bg.base.hi.pressed': deepPurpleColorPalette['beige.3'],
|
|
135
|
-
'bg.base.mid.default': deepPurpleColorPalette['beige.1'],
|
|
136
|
-
'bg.base.mid.pressed': deepPurpleColorPalette['beige.2'],
|
|
137
139
|
'bg.base.low.default': deepPurpleColorPalette['grey.0'],
|
|
138
140
|
'bg.base.low.pressed': deepPurpleColorPalette['beige.1'],
|
|
141
|
+
'bg.base.mid.default': deepPurpleColorPalette['beige.1'],
|
|
142
|
+
'bg.base.mid.pressed': deepPurpleColorPalette['beige.2'],
|
|
143
|
+
'bg.base.hi.default': deepPurpleColorPalette['beige.2'],
|
|
144
|
+
'bg.base.hi.pressed': deepPurpleColorPalette['beige.3'],
|
|
139
145
|
'bg.accent.default': deepPurpleColorPalette['deepPurple.8'],
|
|
140
146
|
'bg.accent.pressed': deepPurpleColorPalette['deepPurple.7'],
|
|
141
|
-
'bg.promo.hi.default': deepPurpleColorPalette['lightning.9'],
|
|
142
|
-
'bg.promo.hi.pressed': deepPurpleColorPalette['lightning.8'],
|
|
143
147
|
'bg.promo.mid.default': deepPurpleColorPalette['lightning.5'],
|
|
144
148
|
'bg.promo.mid.pressed': deepPurpleColorPalette['lightning.4'],
|
|
145
|
-
'bg.
|
|
146
|
-
'bg.
|
|
147
|
-
'bg.
|
|
149
|
+
'bg.promo.hi.default': deepPurpleColorPalette['lightning.9'],
|
|
150
|
+
'bg.promo.hi.pressed': deepPurpleColorPalette['lightning.8'],
|
|
151
|
+
'bg.highlight.mid.default': deepPurpleColorPalette['mauve.1'],
|
|
152
|
+
'bg.highlight.mid.pressed': deepPurpleColorPalette['mauve.2'],
|
|
153
|
+
'bg.highlight.hi.default': deepPurpleColorPalette['mauve.3'],
|
|
154
|
+
'bg.highlight.hi.pressed': deepPurpleColorPalette['mauve.4'],
|
|
148
155
|
'bg.info.mid': deepPurpleColorPalette['blue.1'],
|
|
149
|
-
'bg.
|
|
156
|
+
'bg.info.hi': deepPurpleColorPalette['blue.6'],
|
|
150
157
|
'bg.success.mid': deepPurpleColorPalette['green.1'],
|
|
151
|
-
'bg.
|
|
158
|
+
'bg.success.hi': deepPurpleColorPalette['green.6'],
|
|
152
159
|
'bg.warning.mid': deepPurpleColorPalette['yellow.1'],
|
|
153
|
-
'bg.
|
|
160
|
+
'bg.warning.hi': deepPurpleColorPalette['yellow.6'],
|
|
154
161
|
'bg.danger.mid': deepPurpleColorPalette['red.1'],
|
|
155
|
-
'bg.
|
|
162
|
+
'bg.danger.hi': deepPurpleColorPalette['red.6'],
|
|
156
163
|
'bg.disabled.mid': deepPurpleColorPalette['grey.1'],
|
|
164
|
+
'bg.disabled.hi': deepPurpleColorPalette['grey.3'],
|
|
157
165
|
'bg.overlay': deepPurpleColorPalette['grey-alpha.50'],
|
|
158
166
|
// borders
|
|
159
|
-
'border.base.
|
|
167
|
+
'border.base.low': deepPurpleColorPalette['beige.2'],
|
|
160
168
|
'border.base.mid': deepPurpleColorPalette['beige.3'],
|
|
161
|
-
'border.base.
|
|
169
|
+
'border.base.hi': deepPurpleColorPalette['grey.9'],
|
|
162
170
|
'border.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.20'],
|
|
171
|
+
'border.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],
|
|
163
172
|
'border.base.accent': deepPurpleColorPalette['deepPurple.8'],
|
|
164
173
|
'border.info': deepPurpleColorPalette['blue.6'],
|
|
165
174
|
'border.success': deepPurpleColorPalette['green.6'],
|
|
166
175
|
'border.warning': deepPurpleColorPalette['yellow.6'],
|
|
167
176
|
'border.danger': deepPurpleColorPalette['red.6'],
|
|
168
|
-
'border.disabled': deepPurpleColorPalette['grey.2']
|
|
177
|
+
'border.disabled': deepPurpleColorPalette['grey.2'],
|
|
178
|
+
'border.highlight': deepPurpleColorPalette['mauve.3']
|
|
169
179
|
};
|
|
170
180
|
|
|
171
181
|
let BreakpointNameEnum = /*#__PURE__*/function (BreakpointNameEnum) {
|