@tamagui/button 1.143.0 → 2.0.0-1
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/cjs/Button.cjs +126 -158
- package/dist/cjs/Button.js +102 -120
- package/dist/cjs/Button.js.map +2 -2
- package/dist/cjs/Button.native.js +128 -160
- package/dist/cjs/Button.native.js.map +1 -1
- package/dist/esm/Button.js +108 -126
- package/dist/esm/Button.js.map +2 -2
- package/dist/esm/Button.mjs +127 -155
- package/dist/esm/Button.mjs.map +1 -1
- package/dist/esm/Button.native.js +130 -158
- package/dist/esm/Button.native.js.map +1 -1
- package/dist/jsx/Button.js +108 -126
- package/dist/jsx/Button.js.map +2 -2
- package/dist/jsx/Button.mjs +127 -155
- package/dist/jsx/Button.mjs.map +1 -1
- package/dist/jsx/Button.native.js +128 -160
- package/dist/jsx/Button.native.js.map +1 -1
- package/package.json +12 -11
- package/src/Button.tsx +172 -243
- package/src/v1/Button.test.tsx +21 -0
- package/src/v1/Button.tsx +336 -0
- package/src/v1/index.ts +1 -0
- package/types/Button.d.ts +80 -323
- package/types/Button.d.ts.map +1 -1
- package/types/v1/Button.d.ts +338 -0
- package/types/v1/Button.test.d.ts +2 -0
- package/types/v1/index.d.ts +2 -0
|
@@ -1,35 +1,25 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { getFontSize } from "@tamagui/font-size";
|
|
3
3
|
import { getButtonSized } from "@tamagui/get-button-sized";
|
|
4
|
-
import {
|
|
5
|
-
import { useGetThemedIcon } from "@tamagui/helpers-tamagui";
|
|
6
|
-
import { ButtonNestingContext, ThemeableStack } from "@tamagui/stacks";
|
|
4
|
+
import { ButtonNestingContext, getElevation, themeableVariants } from "@tamagui/stacks";
|
|
7
5
|
import { SizableText, wrapChildrenInText } from "@tamagui/text";
|
|
8
|
-
import { createStyledContext,
|
|
6
|
+
import { createStyledContext, getTokenValue, styled, useProps, View, withStaticProperties } from "@tamagui/web";
|
|
9
7
|
import { useContext } from "react";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
color: void 0,
|
|
13
|
-
ellipse: void 0,
|
|
14
|
-
fontFamily: void 0,
|
|
15
|
-
fontSize: void 0,
|
|
16
|
-
fontStyle: void 0,
|
|
17
|
-
fontWeight: void 0,
|
|
18
|
-
letterSpacing: void 0,
|
|
19
|
-
maxFontSizeMultiplier: void 0,
|
|
8
|
+
import { useGetIcon } from "@tamagui/helpers-tamagui";
|
|
9
|
+
var context = createStyledContext({
|
|
20
10
|
size: void 0,
|
|
21
|
-
|
|
22
|
-
|
|
11
|
+
variant: void 0,
|
|
12
|
+
color: void 0,
|
|
13
|
+
elevation: void 0
|
|
23
14
|
}),
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
name:
|
|
27
|
-
|
|
28
|
-
|
|
15
|
+
Frame = styled(View, {
|
|
16
|
+
context,
|
|
17
|
+
name: "Button",
|
|
18
|
+
group: "Button",
|
|
19
|
+
containerType: "normal",
|
|
29
20
|
role: "button",
|
|
21
|
+
tag: "button",
|
|
30
22
|
focusable: !0,
|
|
31
|
-
// forces runtime pressStyle so it passes through context text colors
|
|
32
|
-
disableClassName: !0,
|
|
33
23
|
variants: {
|
|
34
24
|
unstyled: {
|
|
35
25
|
false: {
|
|
@@ -39,11 +29,17 @@ var ButtonContext = createStyledContext({
|
|
|
39
29
|
flexWrap: "nowrap",
|
|
40
30
|
flexDirection: "row",
|
|
41
31
|
cursor: "pointer",
|
|
42
|
-
|
|
43
|
-
pressTheme: !0,
|
|
44
|
-
backgrounded: !0,
|
|
32
|
+
backgroundColor: "$background",
|
|
45
33
|
borderWidth: 1,
|
|
46
34
|
borderColor: "transparent",
|
|
35
|
+
hoverStyle: {
|
|
36
|
+
backgroundColor: "$backgroundHover",
|
|
37
|
+
borderColor: "$borderColorHover"
|
|
38
|
+
},
|
|
39
|
+
pressStyle: {
|
|
40
|
+
backgroundColor: "$backgroundPress",
|
|
41
|
+
borderColor: "$borderColorHover"
|
|
42
|
+
},
|
|
47
43
|
focusVisibleStyle: {
|
|
48
44
|
outlineColor: "$outlineColor",
|
|
49
45
|
outlineStyle: "solid",
|
|
@@ -52,7 +48,7 @@ var ButtonContext = createStyledContext({
|
|
|
52
48
|
}
|
|
53
49
|
},
|
|
54
50
|
variant: {
|
|
55
|
-
outlined: {
|
|
51
|
+
outlined: process.env.TAMAGUI_HEADLESS === "1" ? {} : {
|
|
56
52
|
backgroundColor: "transparent",
|
|
57
53
|
borderWidth: 2,
|
|
58
54
|
borderColor: "$borderColor",
|
|
@@ -66,13 +62,37 @@ var ButtonContext = createStyledContext({
|
|
|
66
62
|
},
|
|
67
63
|
focusVisibleStyle: {
|
|
68
64
|
backgroundColor: "transparent",
|
|
69
|
-
borderColor: "$borderColorFocus"
|
|
65
|
+
borderColor: "$borderColorFocus",
|
|
66
|
+
outlineColor: "$outlineColor",
|
|
67
|
+
outlineStyle: "solid",
|
|
68
|
+
outlineWidth: 2
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
71
|
},
|
|
72
|
+
circular: themeableVariants.circular,
|
|
73
|
+
chromeless: themeableVariants.chromeless,
|
|
74
|
+
bordered: themeableVariants.bordered,
|
|
73
75
|
size: {
|
|
74
|
-
"...size":
|
|
75
|
-
|
|
76
|
+
"...size": function (val, extras) {
|
|
77
|
+
var buttonStyle = getButtonSized(val, extras),
|
|
78
|
+
gap = getTokenValue(val) * 0.4;
|
|
79
|
+
return {
|
|
80
|
+
...buttonStyle,
|
|
81
|
+
gap
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
":number": function (val, extras) {
|
|
85
|
+
var buttonStyle = getButtonSized(val, extras),
|
|
86
|
+
gap = val * 0.4;
|
|
87
|
+
return {
|
|
88
|
+
...buttonStyle,
|
|
89
|
+
gap
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
elevation: {
|
|
94
|
+
"...size": getElevation,
|
|
95
|
+
":number": getElevation
|
|
76
96
|
},
|
|
77
97
|
disabled: {
|
|
78
98
|
true: {
|
|
@@ -84,9 +104,8 @@ var ButtonContext = createStyledContext({
|
|
|
84
104
|
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
85
105
|
}
|
|
86
106
|
}),
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
context: ButtonContext,
|
|
107
|
+
Text = styled(SizableText, {
|
|
108
|
+
context,
|
|
90
109
|
variants: {
|
|
91
110
|
unstyled: {
|
|
92
111
|
false: {
|
|
@@ -95,7 +114,7 @@ var ButtonContext = createStyledContext({
|
|
|
95
114
|
// flexGrow 1 leads to inconsistent native style where text pushes to start of view
|
|
96
115
|
flexGrow: 0,
|
|
97
116
|
flexShrink: 1,
|
|
98
|
-
|
|
117
|
+
ellipsis: !0,
|
|
99
118
|
color: "$color"
|
|
100
119
|
}
|
|
101
120
|
}
|
|
@@ -104,135 +123,88 @@ var ButtonContext = createStyledContext({
|
|
|
104
123
|
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
105
124
|
}
|
|
106
125
|
}),
|
|
107
|
-
|
|
126
|
+
Icon = function (props) {
|
|
108
127
|
var {
|
|
109
128
|
children,
|
|
110
|
-
scaleIcon = 1
|
|
129
|
+
scaleIcon = 1,
|
|
130
|
+
marginLeft,
|
|
131
|
+
marginRight,
|
|
132
|
+
size
|
|
111
133
|
} = props,
|
|
134
|
+
styledContext = context.useStyledContext();
|
|
135
|
+
if (!styledContext) throw new Error("Button.Icon must be used within a Button");
|
|
136
|
+
var getIcon = useGetIcon(),
|
|
137
|
+
sizeToken = size ?? styledContext.size,
|
|
138
|
+
iconSize = (typeof sizeToken == "number" ? sizeToken * 0.5 : getFontSize(sizeToken)) * scaleIcon;
|
|
139
|
+
return getIcon(children, {
|
|
140
|
+
size: iconSize,
|
|
141
|
+
color: styledContext.color,
|
|
142
|
+
marginLeft,
|
|
143
|
+
marginRight
|
|
144
|
+
});
|
|
145
|
+
},
|
|
146
|
+
ButtonContext = createStyledContext({
|
|
147
|
+
size: void 0,
|
|
148
|
+
variant: void 0,
|
|
149
|
+
color: void 0
|
|
150
|
+
}),
|
|
151
|
+
ButtonComponent = Frame.styleable(function (propsIn, ref) {
|
|
152
|
+
var isNested = useContext(ButtonNestingContext),
|
|
153
|
+
processedProps = useProps(propsIn, {
|
|
154
|
+
noNormalize: !0,
|
|
155
|
+
noExpand: !0
|
|
156
|
+
}),
|
|
112
157
|
{
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
158
|
+
children,
|
|
159
|
+
iconSize,
|
|
160
|
+
icon,
|
|
161
|
+
iconAfter,
|
|
162
|
+
scaleIcon = 1,
|
|
163
|
+
noTextWrap,
|
|
164
|
+
...props
|
|
165
|
+
} = processedProps,
|
|
166
|
+
size = propsIn.size || (propsIn.unstyled ? void 0 : "$true"),
|
|
167
|
+
styledContext = context.useStyledContext(),
|
|
168
|
+
_ref,
|
|
169
|
+
finalSize = (_ref = iconSize ?? size) !== null && _ref !== void 0 ? _ref : styledContext?.size,
|
|
170
|
+
iconSizeNumber = (typeof finalSize == "number" ? finalSize * 0.5 : getFontSize(finalSize)) * scaleIcon,
|
|
171
|
+
getIcon = useGetIcon(),
|
|
172
|
+
[themedIcon, themedIconAfter] = [icon, iconAfter].map(function (icon2) {
|
|
173
|
+
return icon2 ? getIcon(icon2, {
|
|
174
|
+
size: iconSizeNumber,
|
|
175
|
+
color: styledContext?.color
|
|
176
|
+
}) : null;
|
|
177
|
+
}),
|
|
178
|
+
wrappedChildren = wrapChildrenInText(Text, {
|
|
179
|
+
children,
|
|
180
|
+
noTextWrap
|
|
181
|
+
}, {
|
|
182
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1",
|
|
183
|
+
size: finalSize ?? styledContext?.size
|
|
120
184
|
});
|
|
121
|
-
return
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
185
|
+
return /* @__PURE__ */_jsx(ButtonNestingContext.Provider, {
|
|
186
|
+
value: !0,
|
|
187
|
+
children: /* @__PURE__ */_jsxs(Frame, {
|
|
188
|
+
ref,
|
|
189
|
+
...props,
|
|
190
|
+
...(isNested && {
|
|
191
|
+
tag: "span"
|
|
192
|
+
}),
|
|
193
|
+
// Pass resolved size to circular variant when no explicit size provided
|
|
194
|
+
...(props.circular && !propsIn.size && {
|
|
195
|
+
size
|
|
196
|
+
}),
|
|
197
|
+
tabIndex: 0,
|
|
198
|
+
focusable: !0,
|
|
199
|
+
children: [themedIcon, wrappedChildren, themedIconAfter]
|
|
200
|
+
})
|
|
131
201
|
});
|
|
132
202
|
}),
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
203
|
+
Button = withStaticProperties(ButtonComponent, {
|
|
204
|
+
Apply: context.Provider,
|
|
205
|
+
Frame,
|
|
206
|
+
Text,
|
|
207
|
+
Icon
|
|
136
208
|
});
|
|
137
|
-
|
|
138
|
-
var {
|
|
139
|
-
textProps,
|
|
140
|
-
...propsIn
|
|
141
|
-
} = param,
|
|
142
|
-
{
|
|
143
|
-
Text = Button2.Text
|
|
144
|
-
} = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
145
|
-
Text: Button2.Text
|
|
146
|
-
},
|
|
147
|
-
isNested = useContext(ButtonNestingContext),
|
|
148
|
-
propsActive = useProps(propsIn, {
|
|
149
|
-
noNormalize: !0,
|
|
150
|
-
noExpand: !0
|
|
151
|
-
}),
|
|
152
|
-
{
|
|
153
|
-
icon,
|
|
154
|
-
iconAfter,
|
|
155
|
-
space,
|
|
156
|
-
spaceFlex,
|
|
157
|
-
scaleIcon = 1,
|
|
158
|
-
scaleSpace = 0.66,
|
|
159
|
-
separator,
|
|
160
|
-
noTextWrap,
|
|
161
|
-
fontFamily,
|
|
162
|
-
fontSize,
|
|
163
|
-
fontWeight,
|
|
164
|
-
fontStyle,
|
|
165
|
-
letterSpacing,
|
|
166
|
-
tag,
|
|
167
|
-
ellipse,
|
|
168
|
-
maxFontSizeMultiplier,
|
|
169
|
-
...restProps
|
|
170
|
-
} = propsActive,
|
|
171
|
-
size = propsActive.size || (propsActive.unstyled ? void 0 : "$true"),
|
|
172
|
-
color = propsActive.color,
|
|
173
|
-
iconSize = (typeof size == "number" ? size * 0.5 : getFontSize(size, {
|
|
174
|
-
font: fontFamily?.[0] === "$" ? fontFamily : void 0
|
|
175
|
-
})) * scaleIcon,
|
|
176
|
-
getThemedIcon = useGetThemedIcon({
|
|
177
|
-
size: iconSize,
|
|
178
|
-
color
|
|
179
|
-
}),
|
|
180
|
-
[themedIcon, themedIconAfter] = [icon, iconAfter].map(getThemedIcon),
|
|
181
|
-
spaceSize = space ?? getVariableValue(iconSize) * scaleSpace,
|
|
182
|
-
contents = noTextWrap ? [propsIn.children] : wrapChildrenInText(Text, {
|
|
183
|
-
children: propsIn.children,
|
|
184
|
-
color,
|
|
185
|
-
fontFamily,
|
|
186
|
-
fontSize,
|
|
187
|
-
textProps,
|
|
188
|
-
fontWeight,
|
|
189
|
-
fontStyle,
|
|
190
|
-
letterSpacing,
|
|
191
|
-
ellipse,
|
|
192
|
-
maxFontSizeMultiplier
|
|
193
|
-
}, Text === ButtonText && propsActive.unstyled !== !0 ? {
|
|
194
|
-
unstyled: process.env.TAMAGUI_HEADLESS === "1",
|
|
195
|
-
size
|
|
196
|
-
} : void 0),
|
|
197
|
-
inner = spacedChildren({
|
|
198
|
-
// a bit arbitrary but scaling to font size is necessary so long as button does
|
|
199
|
-
space: spaceSize === !1 ? 0 : spaceSize == !0 ? "$true" : spaceSize,
|
|
200
|
-
spaceFlex,
|
|
201
|
-
ensureKeys: !0,
|
|
202
|
-
separator,
|
|
203
|
-
direction: propsActive.flexDirection === "column" || propsActive.flexDirection === "column-reverse" ? "vertical" : "horizontal",
|
|
204
|
-
// for keys to stay the same we keep indices as similar a possible
|
|
205
|
-
// so even if icons are undefined we still pass them
|
|
206
|
-
children: [themedIcon, ...contents, themedIconAfter]
|
|
207
|
-
}),
|
|
208
|
-
props = {
|
|
209
|
-
size,
|
|
210
|
-
...(propsIn.disabled && {
|
|
211
|
-
// in rnw - false still has keyboard tabIndex, undefined = not actually focusable
|
|
212
|
-
focusable: void 0,
|
|
213
|
-
// even with tabIndex unset, it will keep focusVisibleStyle on web so disable it here
|
|
214
|
-
focusVisibleStyle: {
|
|
215
|
-
borderColor: "$background"
|
|
216
|
-
}
|
|
217
|
-
}),
|
|
218
|
-
// fixes SSR issue + DOM nesting issue of not allowing button in button
|
|
219
|
-
tag: tag ?? (isNested ? "span" :
|
|
220
|
-
// defaults to <a /> when accessibilityRole = link
|
|
221
|
-
// see https://github.com/tamagui/tamagui/issues/505
|
|
222
|
-
propsActive.accessibilityRole === "link" || propsActive.role === "link" ? "a" : "button"),
|
|
223
|
-
...restProps,
|
|
224
|
-
children: /* @__PURE__ */_jsx(ButtonNestingContext.Provider, {
|
|
225
|
-
value: !0,
|
|
226
|
-
children: inner
|
|
227
|
-
}),
|
|
228
|
-
// forces it to be a runtime pressStyle so it passes through context text colors
|
|
229
|
-
disableClassName: !0
|
|
230
|
-
};
|
|
231
|
-
return {
|
|
232
|
-
spaceSize,
|
|
233
|
-
isNested,
|
|
234
|
-
props
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
export { Button2 as Button, ButtonContext, ButtonFrame, ButtonIcon, ButtonText, useButton };
|
|
209
|
+
export { Button, ButtonContext };
|
|
238
210
|
//# sourceMappingURL=Button.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["jsx","_jsx","
|
|
1
|
+
{"version":3,"names":["jsx","_jsx","jsxs","_jsxs","getFontSize","getButtonSized","ButtonNestingContext","getElevation","themeableVariants","SizableText","wrapChildrenInText","createStyledContext","getTokenValue","styled","useProps","View","withStaticProperties","useContext","useGetIcon","context","size","variant","color","elevation","Frame","name","group","containerType","role","tag","focusable","variants","unstyled","false","justifyContent","alignItems","flexWrap","flexDirection","cursor","backgroundColor","borderWidth","borderColor","hoverStyle","pressStyle","focusVisibleStyle","outlineColor","outlineStyle","outlineWidth","outlined","process","env","TAMAGUI_HEADLESS","circular","chromeless","bordered","...size","val","extras","buttonStyle","gap",":number","disabled","true","pointerEvents","defaultVariants","Text","userSelect","flexGrow","flexShrink","ellipsis","Icon","props","children","scaleIcon","marginLeft","marginRight","styledContext","useStyledContext","Error","getIcon","sizeToken","iconSize","ButtonContext","ButtonComponent","styleable","propsIn","ref","isNested","processedProps","noNormalize","noExpand","icon","iconAfter","noTextWrap","_ref","finalSize","iconSizeNumber","themedIcon","themedIconAfter","map","icon2","wrappedChildren","Provider","value","tabIndex","Button","Apply"],"sources":["../../src/Button.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAmBC,KAAA;AAC5B,SAASC,WAAA,4BAAsB;AAC/B,SAASC,cAAA,QAAsB,2BAAc;AAC7C,SAASC,oBAAa,EAAAC,YAAA,EAAAC,iBAA0B;AAEhD,SAAAC,WAAA,EAAAC,kBAAA;AAAA,SACEC,mBAAA,EAAAC,aAAA,EAAAC,MAAA,EAAAC,QAAA,EAAAC,IAAA,EAAAC,oBAAA;AAAA,SACAC,UAAA;AAAA,SACAC,UAAA;AAAA,IACAC,OAAA,GAAAR,mBAAA;IACAS,IAAA;IACAC,OAAA;IAAAC,KACK;IACPC,SAAS;EACT;EAAAC,KAAS,GAAAX,MAAA,CAAAE,IAAA;IA6OLI,OAAA;IAvOJM,IAAM,UAAU;IAMdC,KAAA,EAAM;IACNC,aAAS;IACTC,IAAA,UAAO;IACPC,GAAA,UAAW;IACZC,SAEK,EAAQ;IACZC,QAAA;MACAC,QAAM;QACNC,KAAO;UACPb,IAAA,SAAe;UACTc,cAAA;UACDC,UAAA;UACLC,QAAW;UAEX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