@tempoxyz/ds 0.3.15 → 0.3.16
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/docs/AGENTS.md +6 -4
- package/dist/docs/arsenal.md +44 -0
- package/dist/docs/marketing.md +4 -4
- package/dist/docs/product/components/actions.md +53 -1
- package/dist/docs/product/components/blockchain.md +147 -3
- package/dist/docs/product/components/feedback-and-status.md +137 -7
- package/dist/docs/product/components/navigation.md +1 -1
- package/dist/docs/product/foundations.md +1 -0
- package/dist/docs/product/patterns.md +3 -22
- package/dist/marketing/index.js.zyzz.json +1 -1
- package/dist/marketing/vars.d.ts +618 -758
- package/dist/marketing/vars.d.ts.map +1 -1
- package/dist/marketing/vars.js +8 -5
- package/dist/marketing/vars.js.map +1 -1
- package/dist/marketing/vars.js.zyzz.json +1 -1
- package/dist/marketing/zyzz.config.d.ts +3042 -3757
- package/dist/marketing/zyzz.config.d.ts.map +1 -1
- package/dist/marketing/zyzz.config.js +1 -1
- package/dist/marketing/zyzz.config.js.map +1 -1
- package/dist/marketing/zyzz.config.js.zyzz.json +1 -1
- package/dist/mobile/components/Button.d.ts +115 -15
- package/dist/mobile/components/Button.d.ts.map +1 -1
- package/dist/mobile/components/Button.js +85 -14
- package/dist/mobile/components/Button.js.map +1 -1
- package/dist/mobile/components/IconButton.d.ts +129 -40
- package/dist/mobile/components/IconButton.d.ts.map +1 -1
- package/dist/mobile/components/IconButton.js +97 -28
- package/dist/mobile/components/IconButton.js.map +1 -1
- package/dist/mobile/components/TextInput.d.ts +132 -11
- package/dist/mobile/components/TextInput.d.ts.map +1 -1
- package/dist/mobile/components/TextInput.js +115 -14
- package/dist/mobile/components/TextInput.js.map +1 -1
- package/dist/mobile/index.d.ts +1 -0
- package/dist/mobile/index.d.ts.map +1 -1
- package/dist/mobile/index.js +1 -0
- package/dist/mobile/index.js.map +1 -1
- package/dist/mobile/vars.d.ts +103 -0
- package/dist/mobile/vars.d.ts.map +1 -1
- package/dist/mobile/vars.js +74 -0
- package/dist/mobile/vars.js.map +1 -1
- package/dist/mobile/zyzz.config.d.ts +408 -0
- package/dist/mobile/zyzz.config.d.ts.map +1 -1
- package/dist/web/components/AddressCard.js.zyzz.json +1 -1
- package/dist/web/components/Amount.css +1 -1
- package/dist/web/components/Amount.d.ts +9 -0
- package/dist/web/components/Amount.d.ts.map +1 -1
- package/dist/web/components/Amount.js +8 -5
- package/dist/web/components/Amount.js.map +1 -1
- package/dist/web/components/Amount.js.zyzz.json +1 -1
- package/dist/web/components/CopyButton.d.ts +6 -0
- package/dist/web/components/CopyButton.d.ts.map +1 -1
- package/dist/web/components/CopyButton.js +4 -1
- package/dist/web/components/CopyButton.js.map +1 -1
- package/dist/web/components/CopyButton.js.zyzz.json +1 -1
- package/dist/web/components/Hex.css +1 -1
- package/dist/web/components/Hex.d.ts +84 -3
- package/dist/web/components/Hex.d.ts.map +1 -1
- package/dist/web/components/Hex.js +20 -13
- package/dist/web/components/Hex.js.map +1 -1
- package/dist/web/components/Hex.js.zyzz.json +1 -1
- package/dist/web/components/Progress.css +1 -1
- package/dist/web/components/Progress.d.ts +12 -2
- package/dist/web/components/Progress.d.ts.map +1 -1
- package/dist/web/components/Progress.js +9 -5
- package/dist/web/components/Progress.js.map +1 -1
- package/dist/web/components/Progress.js.zyzz.json +1 -1
- package/dist/web/components/SecretValue.js.zyzz.json +1 -1
- package/dist/web/components/SidebarMenu.d.ts +4 -4
- package/dist/web/components/SidebarMenu.js +6 -6
- package/dist/web/components/SidebarMenu.js.map +1 -1
- package/dist/web/components/Snippet.js.zyzz.json +1 -1
- package/dist/web/index.js.zyzz.json +1 -1
- package/package.json +1 -1
- package/src/marketing/README.md +1 -1
- package/src/marketing/vars.ts +526 -604
- package/src/marketing/zyzz.config.ts +5 -4
- package/src/mobile/README.md +19 -6
- package/src/mobile/components/Button.tsx +94 -17
- package/src/mobile/components/IconButton.tsx +122 -30
- package/src/mobile/components/TextInput.tsx +139 -24
- package/src/mobile/index.ts +1 -0
- package/src/mobile/vars.ts +74 -0
- package/src/web/components/Amount.tsx +37 -3
- package/src/web/components/CopyButton.tsx +8 -0
- package/src/web/components/Hex.tsx +79 -13
- package/src/web/components/Progress.tsx +8 -2
- package/src/web/components/SidebarMenu.tsx +6 -6
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
/** Native icon actions with Plain, Surface, and Glass treatments. @module */
|
|
1
2
|
import { type ComponentPropsWithRef, type ReactElement } from 'react';
|
|
2
|
-
import { type ColorValue, Pressable } from 'react-native';
|
|
3
|
+
import { type ColorValue, Pressable, type ViewStyle } from 'react-native';
|
|
3
4
|
import type * as zyzz from 'zyzz';
|
|
4
5
|
/**
|
|
5
6
|
* An icon-only `Pressable` with the `button` role. It sets its icon's color from `appearance` and
|
|
6
|
-
* `variant`, and plays a light impact haptic before `onPress`.
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* `variant`, and plays a light impact haptic before `onPress`. Defaults are `appearance="base"`,
|
|
8
|
+
* `scale="medium"`, and `variant="surface"`. Pressed and disabled states use dedicated colors.
|
|
9
|
+
*
|
|
10
|
+
* `large`, `medium`, and `small` map to Large, Default, and Small. `plain`, `surface`, and
|
|
11
|
+
* `glass` match the approved styles. Legacy `primary` and `secondary` map to Surface, and
|
|
12
|
+
* `tertiary` to Plain; `appearance="overlay"` with `secondary` maps to Glass. Glass preserves
|
|
13
|
+
* its fill, hairline, and shadow, but core React Native cannot provide the 20-point backdrop blur.
|
|
9
14
|
*
|
|
10
15
|
* - Name the action in `accessibilityLabel`, such as `Copy address`, since the icon has no text.
|
|
11
16
|
* - `small` and `medium` are 32 and 40 points square. Add `hitSlop` to reach a 44-point touch
|
|
@@ -29,9 +34,11 @@ export declare namespace IconButton {
|
|
|
29
34
|
type Props = Omit<ComponentPropsWithRef<typeof Pressable>, 'children'> & Omit<zyzz.Props.Variants<typeof styles.button>, 'state'> & {
|
|
30
35
|
/** Required, since the icon provides no text alternative. */
|
|
31
36
|
accessibilityLabel: string;
|
|
32
|
-
/** A single icon
|
|
37
|
+
/** A single icon; its color and 20-point (Small: 16-point) dimensions follow the design. */
|
|
33
38
|
children: ReactElement<{
|
|
34
39
|
color?: ColorValue | undefined;
|
|
40
|
+
height?: number | undefined;
|
|
41
|
+
width?: number | undefined;
|
|
35
42
|
}>;
|
|
36
43
|
};
|
|
37
44
|
}
|
|
@@ -41,13 +48,11 @@ export declare namespace styles {
|
|
|
41
48
|
readonly alignItems: "center";
|
|
42
49
|
readonly borderRadius: "full";
|
|
43
50
|
readonly justifyContent: "center";
|
|
44
|
-
readonly paddingHorizontal: "none";
|
|
45
|
-
readonly paddingVertical: "4";
|
|
46
51
|
};
|
|
47
52
|
readonly defaultVariants: {
|
|
48
53
|
readonly appearance: "base";
|
|
49
54
|
readonly scale: "medium";
|
|
50
|
-
readonly variant: "
|
|
55
|
+
readonly variant: "surface";
|
|
51
56
|
};
|
|
52
57
|
readonly variants: {
|
|
53
58
|
readonly appearance: {
|
|
@@ -70,52 +75,103 @@ export declare namespace styles {
|
|
|
70
75
|
};
|
|
71
76
|
};
|
|
72
77
|
readonly state: {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
};
|
|
76
|
-
readonly pressed: {
|
|
77
|
-
readonly opacity: 0.65;
|
|
78
|
-
};
|
|
78
|
+
disabled: {};
|
|
79
|
+
pressed: {};
|
|
79
80
|
};
|
|
80
81
|
readonly variant: {
|
|
81
|
-
readonly
|
|
82
|
+
readonly glass: {
|
|
83
|
+
readonly backgroundColor: "material.ultrathin";
|
|
84
|
+
readonly borderColor: "component.iconButton.glass.border";
|
|
85
|
+
readonly borderWidth: "thin";
|
|
86
|
+
};
|
|
87
|
+
readonly plain: {};
|
|
88
|
+
readonly primary: {
|
|
89
|
+
readonly backgroundColor: "container.regular";
|
|
90
|
+
};
|
|
82
91
|
readonly secondary: {
|
|
83
92
|
readonly backgroundColor: "container.regular";
|
|
84
93
|
};
|
|
94
|
+
readonly surface: {
|
|
95
|
+
readonly backgroundColor: "container.regular";
|
|
96
|
+
};
|
|
85
97
|
readonly tertiary: {};
|
|
86
98
|
};
|
|
87
99
|
};
|
|
88
100
|
readonly compoundVariants: readonly [{
|
|
89
101
|
readonly when: {
|
|
90
|
-
readonly appearance: "
|
|
91
|
-
readonly variant: "primary";
|
|
102
|
+
readonly appearance: readonly ["inverse", "overlay"];
|
|
103
|
+
readonly variant: readonly ["primary", "secondary", "surface"];
|
|
92
104
|
};
|
|
93
105
|
readonly style: {
|
|
94
|
-
backgroundColor: zyzz.Config.VariableReference<"color", "rgb(
|
|
106
|
+
backgroundColor: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.03999999910593033)" | "rgb(255 255 255 / 0.11999999731779099)">;
|
|
107
|
+
};
|
|
108
|
+
}, {
|
|
109
|
+
readonly when: {
|
|
110
|
+
readonly appearance: "overlay";
|
|
111
|
+
readonly variant: "secondary";
|
|
112
|
+
};
|
|
113
|
+
readonly style: {
|
|
114
|
+
readonly backgroundColor: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.07999999821186066)" | "rgb(255 255 255 / 0.1599999964237213)">;
|
|
115
|
+
readonly borderColor: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.07999999821186066)" | "rgba(255, 255, 255, 0.05)">;
|
|
116
|
+
readonly borderWidth: "thin";
|
|
95
117
|
};
|
|
96
118
|
}, {
|
|
97
119
|
readonly when: {
|
|
98
120
|
readonly appearance: readonly ["inverse", "overlay"];
|
|
99
|
-
readonly variant: "
|
|
121
|
+
readonly variant: "glass";
|
|
100
122
|
};
|
|
101
123
|
readonly style: {
|
|
102
|
-
|
|
124
|
+
backgroundColor: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.07999999821186066)" | "rgb(255 255 255 / 0.1599999964237213)">;
|
|
125
|
+
borderColor: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.07999999821186066)" | "rgba(255, 255, 255, 0.05)">;
|
|
103
126
|
};
|
|
104
127
|
}, {
|
|
105
128
|
readonly when: {
|
|
106
|
-
readonly
|
|
107
|
-
readonly variant: "secondary";
|
|
129
|
+
readonly state: "pressed";
|
|
108
130
|
};
|
|
109
131
|
readonly style: {
|
|
110
|
-
backgroundColor:
|
|
132
|
+
readonly backgroundColor: "container.strong";
|
|
133
|
+
};
|
|
134
|
+
}, {
|
|
135
|
+
readonly when: {
|
|
136
|
+
readonly appearance: readonly ["inverse", "overlay"];
|
|
137
|
+
readonly state: "pressed";
|
|
138
|
+
};
|
|
139
|
+
readonly style: {
|
|
140
|
+
backgroundColor: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.07999999821186066)" | "rgb(255 255 255 / 0.1599999964237213)">;
|
|
141
|
+
};
|
|
142
|
+
}, {
|
|
143
|
+
readonly when: {
|
|
144
|
+
readonly state: "disabled";
|
|
145
|
+
readonly variant: readonly ["primary", "secondary", "surface"];
|
|
146
|
+
};
|
|
147
|
+
readonly style: {
|
|
148
|
+
readonly backgroundColor: "#000000 !custom";
|
|
149
|
+
};
|
|
150
|
+
}, {
|
|
151
|
+
readonly when: {
|
|
152
|
+
readonly state: "disabled";
|
|
153
|
+
readonly variant: "glass";
|
|
154
|
+
};
|
|
155
|
+
readonly style: {
|
|
156
|
+
readonly backgroundColor: "container.regular";
|
|
111
157
|
};
|
|
112
158
|
}, {
|
|
113
159
|
readonly when: {
|
|
114
160
|
readonly appearance: "overlay";
|
|
161
|
+
readonly state: "disabled";
|
|
115
162
|
readonly variant: "secondary";
|
|
116
163
|
};
|
|
117
164
|
readonly style: {
|
|
118
|
-
|
|
165
|
+
backgroundColor: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.03999999910593033)" | "rgb(255 255 255 / 0.11999999731779099)">;
|
|
166
|
+
};
|
|
167
|
+
}, {
|
|
168
|
+
readonly when: {
|
|
169
|
+
readonly appearance: readonly ["inverse", "overlay"];
|
|
170
|
+
readonly state: "disabled";
|
|
171
|
+
readonly variant: "glass";
|
|
172
|
+
};
|
|
173
|
+
readonly style: {
|
|
174
|
+
backgroundColor: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.03999999910593033)" | "rgb(255 255 255 / 0.11999999731779099)">;
|
|
119
175
|
};
|
|
120
176
|
}];
|
|
121
177
|
}, "react">;
|
|
@@ -125,10 +181,10 @@ export declare namespace styles {
|
|
|
125
181
|
};
|
|
126
182
|
readonly defaultVariants: {
|
|
127
183
|
readonly appearance: "base";
|
|
128
|
-
readonly
|
|
184
|
+
readonly scale: "medium";
|
|
129
185
|
};
|
|
130
186
|
readonly variants: {
|
|
131
|
-
appearance: {
|
|
187
|
+
readonly appearance: {
|
|
132
188
|
base: {};
|
|
133
189
|
inverse: {
|
|
134
190
|
color: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 1)" | "rgb(255 255 255 / 1)">;
|
|
@@ -137,29 +193,62 @@ export declare namespace styles {
|
|
|
137
193
|
color: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 1)" | "rgb(255 255 255 / 1)">;
|
|
138
194
|
};
|
|
139
195
|
};
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
196
|
+
readonly scale: {
|
|
197
|
+
readonly large: {
|
|
198
|
+
readonly height: "20";
|
|
199
|
+
readonly width: "20";
|
|
200
|
+
};
|
|
201
|
+
readonly medium: {
|
|
202
|
+
readonly height: "20";
|
|
203
|
+
readonly width: "20";
|
|
204
|
+
};
|
|
205
|
+
readonly small: {
|
|
206
|
+
readonly height: "16";
|
|
207
|
+
readonly width: "16";
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
readonly state: {
|
|
211
|
+
readonly disabled: {
|
|
212
|
+
readonly color: "component.control.content.tertiary";
|
|
213
|
+
};
|
|
214
|
+
readonly pressed: {};
|
|
144
215
|
};
|
|
145
216
|
};
|
|
146
217
|
readonly compoundVariants: readonly [{
|
|
147
|
-
readonly when: {
|
|
148
|
-
readonly appearance: "base";
|
|
149
|
-
readonly variant: "primary";
|
|
150
|
-
};
|
|
151
|
-
readonly style: {
|
|
152
|
-
color: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 1)" | "rgb(255 255 255 / 1)">;
|
|
153
|
-
};
|
|
154
|
-
}, {
|
|
155
218
|
readonly when: {
|
|
156
219
|
readonly appearance: readonly ["inverse", "overlay"];
|
|
157
|
-
readonly
|
|
220
|
+
readonly state: "disabled";
|
|
158
221
|
};
|
|
159
222
|
readonly style: {
|
|
160
|
-
|
|
223
|
+
color: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.4000000059604645)" | "rgb(255 255 255 / 0.5199999809265137)">;
|
|
161
224
|
};
|
|
162
225
|
}];
|
|
163
226
|
}, "react">;
|
|
227
|
+
/** Builds the native shadow without converting CSS blur into iOS shadowRadius. */
|
|
228
|
+
function shadow(options: shadow.Options): ViewStyle | undefined;
|
|
229
|
+
namespace shadow {
|
|
230
|
+
/** The variant and Provider-resolved shadow color used by the native control. */
|
|
231
|
+
type Options = Pick<zyzz.Props.Variants<typeof button>, 'appearance' | 'variant'> & {
|
|
232
|
+
/** A native color, including dynamic iOS colors, from the compiled shadowColor recipe. */
|
|
233
|
+
color: ColorValue;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
/** Resolves shadow color through the same Provider and appearance as the native icon. */
|
|
237
|
+
const shadowColor: zyzz.variants.ReturnType<{
|
|
238
|
+
readonly base: {
|
|
239
|
+
readonly color: "component.iconButton.glass.shadow";
|
|
240
|
+
};
|
|
241
|
+
readonly variants: {
|
|
242
|
+
appearance: {
|
|
243
|
+
base: {};
|
|
244
|
+
inverse: {
|
|
245
|
+
color: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.11999999731779099)" | "rgb(0 0 0 / 0.23999999463558197)">;
|
|
246
|
+
};
|
|
247
|
+
overlay: {
|
|
248
|
+
color: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.11999999731779099)" | "rgb(0 0 0 / 0.23999999463558197)">;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
}, "react">;
|
|
164
253
|
}
|
|
165
254
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/mobile/components/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,qBAAqB,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AACnF,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/mobile/components/IconButton.tsx"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,OAAO,EAAgB,KAAK,qBAAqB,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AACnF,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AACzE,OAAO,KAAK,KAAK,IAAI,MAAM,MAAM,CAAA;AAMjC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,+BAuCjD;AAED,yBAAiB,UAAU,CAAC;IAC1B,KAAY,KAAK,GAAG,IAAI,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,EAAE,UAAU,CAAC,GAC3E,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG;QACzD,6DAA6D;QAC7D,kBAAkB,EAAE,MAAM,CAAA;QAC1B,4FAA4F;QAC5F,QAAQ,EAAE,YAAY,CAAC;YACrB,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAA;YAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;YAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;SAC3B,CAAC,CAAA;KACH,CAAA;CACJ;AAED,yBAAiB,MAAM,CAAC;IACf,MAAM,MAAM;;;;;;;;;;;;;gBASC,IAAI;gBAAM,OAAO;gBAAM,OAAO;;;;;;;;;;;;;;;;;gBAMnC,QAAQ;gBAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAoBnB,eAAe;;;;;;;;;;;;;;;;;;gBAatB,eAAe;gBACf,WAAW;;;;;;;;;;;;;;;gBASJ,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;gBAaf,eAAe;;;;;;;;;gBAIf,eAAe;;;eAK/B,CAAA;IAEM,MAAM,IAAI;;;;;;;;;;gBAMT,IAAI;gBACJ,OAAO;oBAAI,KAAK;;gBAChB,OAAO;oBAAI,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAYP,KAAK;;;eAKrB,CAAA;IAED,kFAAkF;IAClF,SAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,GAAG,SAAS,CAQrE;IAED,UAAyB,MAAM,CAAC;QAC9B,iFAAiF;QACjF,KAAK,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,MAAM,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC,GAAG;YAClF,0FAA0F;YAC1F,KAAK,EAAE,UAAU,CAAA;SAClB,CAAA;KACF;IAED,yFAAyF;IAClF,MAAM,WAAW;;;;;YAIlB,UAAU;gBACR,IAAI;gBACJ,OAAO;oBAAI,KAAK;;gBAChB,OAAO;oBAAI,KAAK;;;;eAKvB,CAAA;CACF"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/** Native icon actions with Plain, Surface, and Glass treatments. @module */
|
|
2
3
|
import { cloneElement } from 'react';
|
|
3
4
|
import { Pressable } from 'react-native';
|
|
4
5
|
import * as Haptics from '../Haptics.js';
|
|
@@ -7,9 +8,13 @@ import { inverse } from '../vars.js';
|
|
|
7
8
|
import { variants } from '../zyzz.config.js';
|
|
8
9
|
/**
|
|
9
10
|
* An icon-only `Pressable` with the `button` role. It sets its icon's color from `appearance` and
|
|
10
|
-
* `variant`, and plays a light impact haptic before `onPress`.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* `variant`, and plays a light impact haptic before `onPress`. Defaults are `appearance="base"`,
|
|
12
|
+
* `scale="medium"`, and `variant="surface"`. Pressed and disabled states use dedicated colors.
|
|
13
|
+
*
|
|
14
|
+
* `large`, `medium`, and `small` map to Large, Default, and Small. `plain`, `surface`, and
|
|
15
|
+
* `glass` match the approved styles. Legacy `primary` and `secondary` map to Surface, and
|
|
16
|
+
* `tertiary` to Plain; `appearance="overlay"` with `secondary` maps to Glass. Glass preserves
|
|
17
|
+
* its fill, hairline, and shadow, but core React Native cannot provide the 20-point backdrop blur.
|
|
13
18
|
*
|
|
14
19
|
* - Name the action in `accessibilityLabel`, such as `Copy address`, since the icon has no text.
|
|
15
20
|
* - `small` and `medium` are 32 and 40 points square. Add `hitSlop` to reach a 44-point touch
|
|
@@ -30,8 +35,13 @@ import { variants } from '../zyzz.config.js';
|
|
|
30
35
|
*/
|
|
31
36
|
export function IconButton(props) {
|
|
32
37
|
const { appearance, children, disabled, scale, variant, ...pressableProps } = props;
|
|
33
|
-
const color = useColor(styles.icon({ appearance,
|
|
34
|
-
|
|
38
|
+
const color = useColor(styles.icon({ appearance, state: disabled ? 'disabled' : undefined }).style);
|
|
39
|
+
const shadowColor = useColor(styles.shadowColor({ appearance }).style);
|
|
40
|
+
const size = scale === 'small' ? 16 : 20;
|
|
41
|
+
return (_jsx(Pressable, { accessibilityRole: "button", ...pressableProps, accessibilityState: {
|
|
42
|
+
...props.accessibilityState,
|
|
43
|
+
disabled: Boolean(disabled) || props.accessibilityState?.disabled,
|
|
44
|
+
}, disabled: disabled, onPress: (event) => {
|
|
35
45
|
Haptics.press();
|
|
36
46
|
props.onPress?.(event);
|
|
37
47
|
}, style: (state) => [
|
|
@@ -45,8 +55,9 @@ export function IconButton(props) {
|
|
|
45
55
|
})(),
|
|
46
56
|
variant,
|
|
47
57
|
}).style,
|
|
58
|
+
styles.shadow({ appearance, color: shadowColor, variant }),
|
|
48
59
|
typeof props.style === 'function' ? props.style(state) : props.style,
|
|
49
|
-
], children: cloneElement(children, { color }) }));
|
|
60
|
+
], children: cloneElement(children, { color, height: size, width: size }) }));
|
|
50
61
|
}
|
|
51
62
|
export var styles;
|
|
52
63
|
(function (styles) {
|
|
@@ -55,10 +66,8 @@ export var styles;
|
|
|
55
66
|
alignItems: 'center',
|
|
56
67
|
borderRadius: 'full',
|
|
57
68
|
justifyContent: 'center',
|
|
58
|
-
paddingHorizontal: 'none',
|
|
59
|
-
paddingVertical: '4',
|
|
60
69
|
},
|
|
61
|
-
defaultVariants: { appearance: 'base', scale: 'medium', variant: '
|
|
70
|
+
defaultVariants: { appearance: 'base', scale: 'medium', variant: 'surface' },
|
|
62
71
|
variants: {
|
|
63
72
|
appearance: { base: {}, inverse: {}, overlay: {} },
|
|
64
73
|
scale: {
|
|
@@ -66,51 +75,111 @@ export var styles;
|
|
|
66
75
|
medium: { height: '40', width: '40' },
|
|
67
76
|
small: { height: '32', width: '32' },
|
|
68
77
|
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
78
|
+
state: { disabled: {}, pressed: {} },
|
|
79
|
+
variant: {
|
|
80
|
+
glass: {
|
|
81
|
+
backgroundColor: 'material.ultrathin',
|
|
82
|
+
borderColor: 'component.iconButton.glass.border',
|
|
83
|
+
borderWidth: 'thin',
|
|
84
|
+
},
|
|
85
|
+
plain: {},
|
|
86
|
+
primary: { backgroundColor: 'container.regular' },
|
|
87
|
+
secondary: { backgroundColor: 'container.regular' },
|
|
88
|
+
surface: { backgroundColor: 'container.regular' },
|
|
89
|
+
tertiary: {},
|
|
90
|
+
},
|
|
72
91
|
},
|
|
73
92
|
compoundVariants: [
|
|
74
93
|
{
|
|
75
|
-
when: {
|
|
76
|
-
|
|
94
|
+
when: {
|
|
95
|
+
appearance: ['inverse', 'overlay'],
|
|
96
|
+
variant: ['primary', 'secondary', 'surface'],
|
|
97
|
+
},
|
|
98
|
+
style: { backgroundColor: inverse.color.container.regular },
|
|
77
99
|
},
|
|
78
100
|
{
|
|
79
|
-
when: { appearance:
|
|
80
|
-
style: {
|
|
101
|
+
when: { appearance: 'overlay', variant: 'secondary' },
|
|
102
|
+
style: {
|
|
103
|
+
backgroundColor: inverse.color.material.ultrathin,
|
|
104
|
+
borderColor: inverse.color.component.iconButton.glass.border,
|
|
105
|
+
borderWidth: 'thin',
|
|
106
|
+
},
|
|
81
107
|
},
|
|
82
108
|
{
|
|
83
|
-
when: { appearance: 'inverse', variant: '
|
|
109
|
+
when: { appearance: ['inverse', 'overlay'], variant: 'glass' },
|
|
110
|
+
style: {
|
|
111
|
+
backgroundColor: inverse.color.material.ultrathin,
|
|
112
|
+
borderColor: inverse.color.component.iconButton.glass.border,
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
when: { state: 'pressed' },
|
|
117
|
+
style: { backgroundColor: 'container.strong' },
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
when: { appearance: ['inverse', 'overlay'], state: 'pressed' },
|
|
121
|
+
style: { backgroundColor: inverse.color.container.strong },
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
// Figma renders a literal black disabled fill despite its regular-fill binding.
|
|
125
|
+
when: { state: 'disabled', variant: ['primary', 'secondary', 'surface'] },
|
|
126
|
+
style: { backgroundColor: '#000000 !custom' },
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
when: { state: 'disabled', variant: 'glass' },
|
|
130
|
+
style: { backgroundColor: 'container.regular' },
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
when: { appearance: 'overlay', state: 'disabled', variant: 'secondary' },
|
|
84
134
|
style: { backgroundColor: inverse.color.container.regular },
|
|
85
135
|
},
|
|
86
136
|
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
style: { backgroundColor: 'component.button.overlay.fill' },
|
|
137
|
+
when: { appearance: ['inverse', 'overlay'], state: 'disabled', variant: 'glass' },
|
|
138
|
+
style: { backgroundColor: inverse.color.container.regular },
|
|
90
139
|
},
|
|
91
140
|
],
|
|
92
141
|
}, { id: 'tds/mobile/icon-button' });
|
|
93
142
|
styles.icon = variants({
|
|
94
143
|
base: { color: 'content.primary' },
|
|
95
|
-
defaultVariants: { appearance: 'base',
|
|
144
|
+
defaultVariants: { appearance: 'base', scale: 'medium' },
|
|
96
145
|
variants: {
|
|
97
146
|
appearance: {
|
|
98
147
|
base: {},
|
|
99
148
|
inverse: { color: inverse.color.content.primary },
|
|
100
149
|
overlay: { color: inverse.color.content.primary },
|
|
101
150
|
},
|
|
102
|
-
|
|
151
|
+
scale: {
|
|
152
|
+
large: { height: '20', width: '20' },
|
|
153
|
+
medium: { height: '20', width: '20' },
|
|
154
|
+
small: { height: '16', width: '16' },
|
|
155
|
+
},
|
|
156
|
+
state: { disabled: { color: 'component.control.content.tertiary' }, pressed: {} },
|
|
103
157
|
},
|
|
104
158
|
compoundVariants: [
|
|
105
159
|
{
|
|
106
|
-
when: { appearance: '
|
|
107
|
-
style: { color: inverse.color.content.
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
when: { appearance: ['inverse', 'overlay'], variant: 'primary' },
|
|
111
|
-
style: { color: 'content.primary' },
|
|
160
|
+
when: { appearance: ['inverse', 'overlay'], state: 'disabled' },
|
|
161
|
+
style: { color: inverse.color.component.control.content.tertiary },
|
|
112
162
|
},
|
|
113
163
|
],
|
|
114
164
|
}, { id: 'tds/mobile/icon-button/icon' });
|
|
165
|
+
/** Builds the native shadow without converting CSS blur into iOS shadowRadius. */
|
|
166
|
+
function shadow(options) {
|
|
167
|
+
if (options.variant !== 'glass' &&
|
|
168
|
+
!(options.appearance === 'overlay' && options.variant === 'secondary'))
|
|
169
|
+
return undefined;
|
|
170
|
+
return { boxShadow: [{ blurRadius: 20, color: options.color, offsetX: 0, offsetY: 8 }] };
|
|
171
|
+
}
|
|
172
|
+
styles.shadow = shadow;
|
|
173
|
+
/** Resolves shadow color through the same Provider and appearance as the native icon. */
|
|
174
|
+
styles.shadowColor = variants({
|
|
175
|
+
base: { color: 'component.iconButton.glass.shadow' },
|
|
176
|
+
variants: {
|
|
177
|
+
appearance: {
|
|
178
|
+
base: {},
|
|
179
|
+
inverse: { color: inverse.color.component.iconButton.glass.shadow },
|
|
180
|
+
overlay: { color: inverse.color.component.iconButton.glass.shadow },
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
}, { id: 'tds/mobile/icon-button/shadow-color' });
|
|
115
184
|
})(styles || (styles = {}));
|
|
116
185
|
//# sourceMappingURL=IconButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.js","sourceRoot":"","sources":["../../../src/mobile/components/IconButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAiD,MAAM,OAAO,CAAA;AACnF,OAAO,EAAmB,SAAS,
|
|
1
|
+
{"version":3,"file":"IconButton.js","sourceRoot":"","sources":["../../../src/mobile/components/IconButton.tsx"],"names":[],"mappings":";AAAA,6EAA6E;AAC7E,OAAO,EAAE,YAAY,EAAiD,MAAM,OAAO,CAAA;AACnF,OAAO,EAAmB,SAAS,EAAkB,MAAM,cAAc,CAAA;AAEzE,OAAO,KAAK,OAAO,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,UAAU,UAAU,CAAC,KAAuB;IAChD,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ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