@tempoxyz/ds 0.3.15 → 0.3.17
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 +10 -6
- package/dist/docs/arsenal.md +44 -0
- package/dist/docs/marketing.md +703 -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/documents.md +225 -0
- package/dist/docs/product/foundations.md +2 -1
- package/dist/docs/product/patterns.md +3 -22
- package/dist/document/Document.d.ts +46 -0
- package/dist/document/Document.d.ts.map +1 -0
- package/dist/document/Document.js +190 -0
- package/dist/document/Document.js.map +1 -0
- package/dist/document/Enhance.d.ts +13 -0
- package/dist/document/Enhance.d.ts.map +1 -0
- package/dist/document/Enhance.js +421 -0
- package/dist/document/Enhance.js.map +1 -0
- package/dist/document/bin.d.ts +3 -0
- package/dist/document/bin.d.ts.map +1 -0
- package/dist/document/bin.js +38 -0
- package/dist/document/bin.js.map +1 -0
- package/dist/document/document.css +373 -0
- package/dist/document/index.d.ts +3 -0
- package/dist/document/index.d.ts.map +1 -0
- package/dist/document/index.js +3 -0
- package/dist/document/index.js.map +1 -0
- package/dist/document/internal/Cli.d.ts +43 -0
- package/dist/document/internal/Cli.d.ts.map +1 -0
- package/dist/document/internal/Cli.js +87 -0
- package/dist/document/internal/Cli.js.map +1 -0
- package/dist/document/internal/Template.d.ts +21 -0
- package/dist/document/internal/Template.d.ts.map +1 -0
- package/dist/document/internal/Template.js +15 -0
- package/dist/document/internal/Template.js.map +1 -0
- package/dist/document/script.d.ts +2 -0
- package/dist/document/script.d.ts.map +1 -0
- package/dist/document/script.js +379 -0
- package/dist/document/templates/brief.html +96 -0
- package/dist/document/templates/essay.html +70 -0
- package/dist/document/templates/post.html +69 -0
- 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 +19 -1
- package/src/document/Document.ts +277 -0
- package/src/document/Enhance.ts +434 -0
- package/src/document/bin.ts +38 -0
- package/src/document/document.css +373 -0
- package/src/document/index.ts +2 -0
- package/src/document/internal/Cli.ts +132 -0
- package/src/document/internal/Template.ts +25 -0
- package/src/document/script.ts +8 -0
- package/src/document/templates/brief.html +96 -0
- package/src/document/templates/essay.html +70 -0
- package/src/document/templates/post.html +69 -0
- 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 labeled actions with Mobile App sizes and interaction states. @module */
|
|
1
2
|
import { type ComponentPropsWithRef, type ReactElement } from 'react';
|
|
2
3
|
import { type ColorValue, Pressable } from 'react-native';
|
|
3
4
|
import type * as zyzz from 'zyzz';
|
|
4
5
|
/**
|
|
5
6
|
* A `Pressable` with the `button` role and a text label. Pressing plays a light impact haptic
|
|
6
|
-
* before `onPress`. Pressed
|
|
7
|
+
* before `onPress`. Pressed and disabled states use their own fill and content colors. Variants
|
|
7
8
|
* default to `appearance="base"`, `scale="medium"`, `variant="primary"`.
|
|
8
9
|
*
|
|
10
|
+
* `large`, `medium`, and `small` map to Base, Compact, and Small. `destructive` marks a
|
|
11
|
+
* destructive action. `appearance`, `tertiary`, and `trailingIcon` remain compatibility options;
|
|
12
|
+
* the current design family specifies base Primary, Secondary, and Destructive only.
|
|
13
|
+
*
|
|
9
14
|
* - Start the label with a specific verb, such as `Add funds`.
|
|
10
15
|
* - The button follows its parent's alignment and fills a column. Set `alignSelf: 'flex-start'`
|
|
11
16
|
* to fit the label instead.
|
|
@@ -28,10 +33,13 @@ export declare function Button(props: Button.Props): import("react").JSX.Element
|
|
|
28
33
|
export declare namespace Button {
|
|
29
34
|
type Icon = ReactElement<{
|
|
30
35
|
color?: ColorValue | undefined;
|
|
36
|
+
height?: number | undefined;
|
|
37
|
+
width?: number | undefined;
|
|
31
38
|
}>;
|
|
32
39
|
export type Props = Omit<ComponentPropsWithRef<typeof Pressable>, 'children'> & Omit<zyzz.Props.Variants<typeof styles.button>, 'state'> & {
|
|
40
|
+
/** Visible action label, retained as the accessible name while loading. */
|
|
33
41
|
children: string;
|
|
34
|
-
/**
|
|
42
|
+
/** A 16-point leading icon in the label color. */
|
|
35
43
|
leadingIcon?: Icon | undefined;
|
|
36
44
|
/**
|
|
37
45
|
* Replaces the content with a spinner and blocks presses without changing the button's size.
|
|
@@ -50,7 +58,6 @@ export declare namespace styles {
|
|
|
50
58
|
readonly borderRadius: "full";
|
|
51
59
|
readonly flexDirection: "row";
|
|
52
60
|
readonly justifyContent: "center";
|
|
53
|
-
readonly minWidth: "80px !custom";
|
|
54
61
|
readonly paddingVertical: "4";
|
|
55
62
|
};
|
|
56
63
|
readonly defaultVariants: {
|
|
@@ -75,18 +82,19 @@ export declare namespace styles {
|
|
|
75
82
|
};
|
|
76
83
|
readonly small: {
|
|
77
84
|
readonly height: "32";
|
|
85
|
+
readonly minWidth: "80px !custom";
|
|
78
86
|
readonly paddingHorizontal: "16";
|
|
79
87
|
};
|
|
80
88
|
};
|
|
81
89
|
readonly state: {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
};
|
|
85
|
-
readonly pressed: {
|
|
86
|
-
readonly opacity: 0.65;
|
|
87
|
-
};
|
|
90
|
+
disabled: {};
|
|
91
|
+
loading: {};
|
|
92
|
+
pressed: {};
|
|
88
93
|
};
|
|
89
94
|
readonly variant: {
|
|
95
|
+
readonly destructive: {
|
|
96
|
+
readonly backgroundColor: "container.negative";
|
|
97
|
+
};
|
|
90
98
|
readonly primary: {};
|
|
91
99
|
readonly secondary: {
|
|
92
100
|
readonly backgroundColor: "container.regular";
|
|
@@ -126,6 +134,75 @@ export declare namespace styles {
|
|
|
126
134
|
readonly style: {
|
|
127
135
|
readonly backgroundColor: "component.button.overlay.fill";
|
|
128
136
|
};
|
|
137
|
+
}, {
|
|
138
|
+
readonly when: {
|
|
139
|
+
readonly appearance: "base";
|
|
140
|
+
readonly state: "pressed";
|
|
141
|
+
readonly variant: "primary";
|
|
142
|
+
};
|
|
143
|
+
readonly style: {
|
|
144
|
+
backgroundColor: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.800000011920929)" | "rgb(255 255 255 / 0.800000011920929)">;
|
|
145
|
+
};
|
|
146
|
+
}, {
|
|
147
|
+
readonly when: {
|
|
148
|
+
readonly appearance: "base";
|
|
149
|
+
readonly state: "pressed";
|
|
150
|
+
readonly variant: "secondary";
|
|
151
|
+
};
|
|
152
|
+
readonly style: {
|
|
153
|
+
readonly backgroundColor: "container.strong";
|
|
154
|
+
};
|
|
155
|
+
}, {
|
|
156
|
+
readonly when: {
|
|
157
|
+
readonly state: "pressed";
|
|
158
|
+
readonly variant: "destructive";
|
|
159
|
+
};
|
|
160
|
+
readonly style: {
|
|
161
|
+
readonly backgroundColor: "border.negative";
|
|
162
|
+
};
|
|
163
|
+
}, {
|
|
164
|
+
readonly when: {
|
|
165
|
+
readonly state: "disabled";
|
|
166
|
+
readonly variant: readonly ["destructive", "primary"];
|
|
167
|
+
};
|
|
168
|
+
readonly style: {
|
|
169
|
+
readonly backgroundColor: "container.regular";
|
|
170
|
+
};
|
|
171
|
+
}, {
|
|
172
|
+
readonly when: {
|
|
173
|
+
readonly appearance: readonly ["inverse", "overlay"];
|
|
174
|
+
readonly state: "disabled";
|
|
175
|
+
readonly variant: readonly ["destructive", "primary"];
|
|
176
|
+
};
|
|
177
|
+
readonly style: {
|
|
178
|
+
backgroundColor: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.03999999910593033)" | "rgb(255 255 255 / 0.11999999731779099)">;
|
|
179
|
+
};
|
|
180
|
+
}, {
|
|
181
|
+
readonly when: {
|
|
182
|
+
readonly appearance: "base";
|
|
183
|
+
readonly state: "disabled";
|
|
184
|
+
readonly variant: "secondary";
|
|
185
|
+
};
|
|
186
|
+
readonly style: {
|
|
187
|
+
readonly backgroundColor: "#000000 !custom";
|
|
188
|
+
};
|
|
189
|
+
}, {
|
|
190
|
+
readonly when: {
|
|
191
|
+
readonly appearance: readonly ["inverse", "overlay"];
|
|
192
|
+
readonly state: "pressed";
|
|
193
|
+
readonly variant: readonly ["primary", "secondary"];
|
|
194
|
+
};
|
|
195
|
+
readonly style: {
|
|
196
|
+
readonly opacity: 0.65;
|
|
197
|
+
};
|
|
198
|
+
}, {
|
|
199
|
+
readonly when: {
|
|
200
|
+
readonly state: "pressed";
|
|
201
|
+
readonly variant: "tertiary";
|
|
202
|
+
};
|
|
203
|
+
readonly style: {
|
|
204
|
+
readonly opacity: 0.65;
|
|
205
|
+
};
|
|
129
206
|
}];
|
|
130
207
|
}, "react">;
|
|
131
208
|
const content: zyzz.variants.ReturnType<{
|
|
@@ -164,19 +241,27 @@ export declare namespace styles {
|
|
|
164
241
|
};
|
|
165
242
|
readonly scale: {
|
|
166
243
|
readonly large: {
|
|
167
|
-
readonly typography: "
|
|
244
|
+
readonly typography: "control.labelStrong";
|
|
168
245
|
};
|
|
169
246
|
readonly medium: {
|
|
170
|
-
readonly typography: "
|
|
247
|
+
readonly typography: "control.labelStrong";
|
|
171
248
|
};
|
|
172
249
|
readonly small: {
|
|
173
|
-
readonly typography: "
|
|
250
|
+
readonly typography: "control.compact";
|
|
174
251
|
};
|
|
175
252
|
};
|
|
253
|
+
readonly state: {
|
|
254
|
+
disabled: {};
|
|
255
|
+
loading: {};
|
|
256
|
+
pressed: {};
|
|
257
|
+
};
|
|
176
258
|
readonly variant: {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
259
|
+
readonly destructive: {
|
|
260
|
+
readonly color: "content.negative";
|
|
261
|
+
};
|
|
262
|
+
readonly primary: {};
|
|
263
|
+
readonly secondary: {};
|
|
264
|
+
readonly tertiary: {};
|
|
180
265
|
};
|
|
181
266
|
};
|
|
182
267
|
readonly compoundVariants: readonly [{
|
|
@@ -195,6 +280,21 @@ export declare namespace styles {
|
|
|
195
280
|
readonly style: {
|
|
196
281
|
readonly color: "content.primary";
|
|
197
282
|
};
|
|
283
|
+
}, {
|
|
284
|
+
readonly when: {
|
|
285
|
+
readonly state: "disabled";
|
|
286
|
+
};
|
|
287
|
+
readonly style: {
|
|
288
|
+
readonly color: "component.control.content.tertiary";
|
|
289
|
+
};
|
|
290
|
+
}, {
|
|
291
|
+
readonly when: {
|
|
292
|
+
readonly appearance: readonly ["inverse", "overlay"];
|
|
293
|
+
readonly state: "disabled";
|
|
294
|
+
};
|
|
295
|
+
readonly style: {
|
|
296
|
+
color: zyzz.Config.VariableReference<"color", "rgb(0 0 0 / 0.4000000059604645)" | "rgb(255 255 255 / 0.5199999809265137)">;
|
|
297
|
+
};
|
|
198
298
|
}];
|
|
199
299
|
}, "react">;
|
|
200
300
|
const spinner: zyzz.style.ReturnType<"react">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/mobile/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,qBAAqB,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AACnF,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAc,MAAM,cAAc,CAAA;AACrE,OAAO,KAAK,KAAK,IAAI,MAAM,MAAM,CAAA;AAOjC
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/mobile/components/Button.tsx"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,OAAO,EAAgB,KAAK,qBAAqB,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AACnF,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAc,MAAM,cAAc,CAAA;AACrE,OAAO,KAAK,KAAK,IAAI,MAAM,MAAM,CAAA;AAOjC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,+BA0DzC;AAED,yBAAiB,MAAM,CAAC;IACtB,KAAK,IAAI,GAAG,YAAY,CAAC;QACvB,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAA;QAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;QAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAC3B,CAAC,CAAA;IAEF,MAAM,MAAM,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,2EAA2E;QAC3E,QAAQ,EAAE,MAAM,CAAA;QAChB,kDAAkD;QAClD,WAAW,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;QAC9B;;;WAGG;QACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;QAC7B,uFAAuF;QACvF,YAAY,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;KAChC,CAAA;;CACJ;AAED,yBAAiB,MAAM,CAAC;IACf,MAAM,MAAM;;;;;;;;;;;;;;;gBAWC,IAAI;gBAAM,OAAO;gBAAM,OAAO;;;;;;;;;;;;;;;;;;gBAMnC,QAAQ;gBAAM,OAAO;gBAAM,OAAO;;;;;;;;;;;;;;;;;;;gBAWhC,eAAe;;;;;;;;;;;;;;;;gBAQf,eAAe;;;;;;;;;;;;;;;;;gBASf,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAoBf,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAuB/B,CAAA;IAEM,MAAM,OAAO;;;;;;;;;;;;;;eAMnB,CAAA;IAEM,MAAM,KAAK;;;;;;;;;;;gBAMV,IAAI;gBACJ,OAAO;oBAAI,KAAK;;gBAChB,OAAO;oBAAI,KAAK;;;;;;;;;;;;;;;gBAOT,QAAQ;gBAAM,OAAO;gBAAM,OAAO;;;;;;;;;;;;;;;;;gBAWhC,KAAK;;;;;;;;;;;;;;;;;;;;;;;gBAYL,KAAK;;;eAKrB,CAAA;IAEM,MAAM,OAAO,gCAWnB,CAAA;CACF"}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/** Native labeled actions with Mobile App sizes and interaction states. @module */
|
|
2
3
|
import { cloneElement } from 'react';
|
|
3
4
|
import { Pressable, Text, View } from 'react-native';
|
|
4
5
|
import * as Haptics from '../Haptics.js';
|
|
5
6
|
import { useColor } from '../useColor.js';
|
|
6
|
-
import { inverse } from '../vars.js';
|
|
7
|
+
import { inverse, variables } from '../vars.js';
|
|
7
8
|
import { style, variants } from '../zyzz.config.js';
|
|
8
9
|
import { Spinner } from './Spinner.js';
|
|
9
10
|
/**
|
|
10
11
|
* A `Pressable` with the `button` role and a text label. Pressing plays a light impact haptic
|
|
11
|
-
* before `onPress`. Pressed
|
|
12
|
+
* before `onPress`. Pressed and disabled states use their own fill and content colors. Variants
|
|
12
13
|
* default to `appearance="base"`, `scale="medium"`, `variant="primary"`.
|
|
13
14
|
*
|
|
15
|
+
* `large`, `medium`, and `small` map to Base, Compact, and Small. `destructive` marks a
|
|
16
|
+
* destructive action. `appearance`, `tertiary`, and `trailingIcon` remain compatibility options;
|
|
17
|
+
* the current design family specifies base Primary, Secondary, and Destructive only.
|
|
18
|
+
*
|
|
14
19
|
* - Start the label with a specific verb, such as `Add funds`.
|
|
15
20
|
* - The button follows its parent's alignment and fills a column. Set `alignSelf: 'flex-start'`
|
|
16
21
|
* to fit the label instead.
|
|
@@ -31,8 +36,13 @@ import { Spinner } from './Spinner.js';
|
|
|
31
36
|
*/
|
|
32
37
|
export function Button(props) {
|
|
33
38
|
const { appearance, children, disabled, leadingIcon, loading, scale, trailingIcon, variant, ...pressableProps } = props;
|
|
34
|
-
const
|
|
35
|
-
|
|
39
|
+
const state = disabled ? 'disabled' : undefined;
|
|
40
|
+
const color = useColor(styles.label({ appearance, scale, state, variant }).style);
|
|
41
|
+
return (_jsxs(Pressable, { accessibilityRole: "button", "aria-busy": loading, ...pressableProps, accessibilityState: {
|
|
42
|
+
...props.accessibilityState,
|
|
43
|
+
busy: Boolean(loading) || props.accessibilityState?.busy,
|
|
44
|
+
disabled: Boolean(disabled || loading) || props.accessibilityState?.disabled,
|
|
45
|
+
}, disabled: disabled || loading, onPress: (event) => {
|
|
36
46
|
Haptics.press();
|
|
37
47
|
props.onPress?.(event);
|
|
38
48
|
}, style: (state) => [
|
|
@@ -42,12 +52,14 @@ export function Button(props) {
|
|
|
42
52
|
state: (() => {
|
|
43
53
|
if (disabled)
|
|
44
54
|
return 'disabled';
|
|
55
|
+
if (loading)
|
|
56
|
+
return 'loading';
|
|
45
57
|
return state.pressed ? 'pressed' : undefined;
|
|
46
58
|
})(),
|
|
47
59
|
variant,
|
|
48
60
|
}).style,
|
|
49
61
|
typeof props.style === 'function' ? props.style(state) : props.style,
|
|
50
|
-
], children: [_jsxs(View, { style: styles.content({ loading: Boolean(loading) }).style, children: [leadingIcon && cloneElement(leadingIcon, { color }), _jsx(Text, { style: styles.label({ appearance, scale, variant }).style, children: children }), trailingIcon && cloneElement(trailingIcon, { color })] }), loading && (_jsx(View, { style: styles.spinner().style, children: _jsx(Spinner, { accessibilityElementsHidden: true, color: color, importantForAccessibility: "no" }) }))] }));
|
|
62
|
+
], children: [_jsxs(View, { style: styles.content({ loading: Boolean(loading) }).style, children: [leadingIcon && cloneElement(leadingIcon, { color, height: 16, width: 16 }), _jsx(Text, { style: styles.label({ appearance, scale, state, variant }).style, children: children }), trailingIcon && cloneElement(trailingIcon, { color, height: 16, width: 16 })] }), loading && (_jsx(View, { style: styles.spinner().style, children: _jsx(Spinner, { accessibilityElementsHidden: true, color: color, importantForAccessibility: "no" }) }))] }));
|
|
51
63
|
}
|
|
52
64
|
export var styles;
|
|
53
65
|
(function (styles) {
|
|
@@ -57,7 +69,6 @@ export var styles;
|
|
|
57
69
|
borderRadius: 'full',
|
|
58
70
|
flexDirection: 'row',
|
|
59
71
|
justifyContent: 'center',
|
|
60
|
-
minWidth: '80px !custom',
|
|
61
72
|
paddingVertical: '4',
|
|
62
73
|
},
|
|
63
74
|
defaultVariants: { appearance: 'base', scale: 'medium', variant: 'primary' },
|
|
@@ -66,11 +77,15 @@ export var styles;
|
|
|
66
77
|
scale: {
|
|
67
78
|
large: { height: '48', paddingHorizontal: '32' },
|
|
68
79
|
medium: { height: '40', paddingHorizontal: '24' },
|
|
69
|
-
small: { height: '32', paddingHorizontal: '16' },
|
|
80
|
+
small: { height: '32', minWidth: '80px !custom', paddingHorizontal: '16' },
|
|
81
|
+
},
|
|
82
|
+
state: { disabled: {}, loading: {}, pressed: {} },
|
|
83
|
+
variant: {
|
|
84
|
+
destructive: { backgroundColor: 'container.negative' },
|
|
85
|
+
primary: {},
|
|
86
|
+
secondary: { backgroundColor: 'container.regular' },
|
|
87
|
+
tertiary: {},
|
|
70
88
|
},
|
|
71
|
-
// Figma defines no pressed or disabled Button, so both states dim the resting variant.
|
|
72
|
-
state: { disabled: { opacity: 0.5 }, pressed: { opacity: 0.65 } },
|
|
73
|
-
variant: { primary: {}, secondary: { backgroundColor: 'container.regular' }, tertiary: {} },
|
|
74
89
|
},
|
|
75
90
|
compoundVariants: [
|
|
76
91
|
{
|
|
@@ -90,6 +105,48 @@ export var styles;
|
|
|
90
105
|
when: { appearance: 'overlay', variant: 'secondary' },
|
|
91
106
|
style: { backgroundColor: 'component.button.overlay.fill' },
|
|
92
107
|
},
|
|
108
|
+
{
|
|
109
|
+
when: { appearance: 'base', state: 'pressed', variant: 'primary' },
|
|
110
|
+
style: { backgroundColor: variables.color.component.button.primaryPressed },
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
when: { appearance: 'base', state: 'pressed', variant: 'secondary' },
|
|
114
|
+
style: { backgroundColor: 'container.strong' },
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
when: { state: 'pressed', variant: 'destructive' },
|
|
118
|
+
style: { backgroundColor: 'border.negative' },
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
when: { state: 'disabled', variant: ['destructive', 'primary'] },
|
|
122
|
+
style: { backgroundColor: 'container.regular' },
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
when: {
|
|
126
|
+
appearance: ['inverse', 'overlay'],
|
|
127
|
+
state: 'disabled',
|
|
128
|
+
variant: ['destructive', 'primary'],
|
|
129
|
+
},
|
|
130
|
+
style: { backgroundColor: inverse.color.container.regular },
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
// Figma renders a literal black disabled fill despite its regular-fill binding.
|
|
134
|
+
when: { appearance: 'base', state: 'disabled', variant: 'secondary' },
|
|
135
|
+
style: { backgroundColor: '#000000 !custom' },
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
// Compatibility-only combinations have no current state frames; retain their press feedback.
|
|
139
|
+
when: {
|
|
140
|
+
appearance: ['inverse', 'overlay'],
|
|
141
|
+
state: 'pressed',
|
|
142
|
+
variant: ['primary', 'secondary'],
|
|
143
|
+
},
|
|
144
|
+
style: { opacity: 0.65 },
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
when: { state: 'pressed', variant: 'tertiary' },
|
|
148
|
+
style: { opacity: 0.65 },
|
|
149
|
+
},
|
|
93
150
|
],
|
|
94
151
|
}, { id: 'tds/mobile/button' });
|
|
95
152
|
styles.content = variants({
|
|
@@ -106,11 +163,17 @@ export var styles;
|
|
|
106
163
|
overlay: { color: inverse.color.content.primary },
|
|
107
164
|
},
|
|
108
165
|
scale: {
|
|
109
|
-
large: { typography: '
|
|
110
|
-
medium: { typography: '
|
|
111
|
-
small: { typography: '
|
|
166
|
+
large: { typography: 'control.labelStrong' },
|
|
167
|
+
medium: { typography: 'control.labelStrong' },
|
|
168
|
+
small: { typography: 'control.compact' },
|
|
169
|
+
},
|
|
170
|
+
state: { disabled: {}, loading: {}, pressed: {} },
|
|
171
|
+
variant: {
|
|
172
|
+
destructive: { color: 'content.negative' },
|
|
173
|
+
primary: {},
|
|
174
|
+
secondary: {},
|
|
175
|
+
tertiary: {},
|
|
112
176
|
},
|
|
113
|
-
variant: { primary: {}, secondary: {}, tertiary: {} },
|
|
114
177
|
},
|
|
115
178
|
compoundVariants: [
|
|
116
179
|
{
|
|
@@ -121,6 +184,14 @@ export var styles;
|
|
|
121
184
|
when: { appearance: ['inverse', 'overlay'], variant: 'primary' },
|
|
122
185
|
style: { color: 'content.primary' },
|
|
123
186
|
},
|
|
187
|
+
{
|
|
188
|
+
when: { state: 'disabled' },
|
|
189
|
+
style: { color: 'component.control.content.tertiary' },
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
when: { appearance: ['inverse', 'overlay'], state: 'disabled' },
|
|
193
|
+
style: { color: inverse.color.component.control.content.tertiary },
|
|
194
|
+
},
|
|
124
195
|
],
|
|
125
196
|
}, { id: 'tds/mobile/button/label' });
|
|
126
197
|
styles.spinner = style({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/mobile/components/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAiD,MAAM,OAAO,CAAA;AACnF,OAAO,EAAmB,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAErE,OAAO,KAAK,OAAO,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/mobile/components/Button.tsx"],"names":[],"mappings":";AAAA,mFAAmF;AACnF,OAAO,EAAE,YAAY,EAAiD,MAAM,OAAO,CAAA;AACnF,OAAO,EAAmB,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAErE,OAAO,KAAK,OAAO,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEtC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,UAAU,MA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