@tamagui/core 1.0.1-beta.70 → 1.0.1-beta.71
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/createComponent.js +11 -6
- package/dist/cjs/createComponent.js.map +2 -2
- package/dist/cjs/helpers/getSplitStyles.js +3 -2
- package/dist/cjs/helpers/getSplitStyles.js.map +2 -2
- package/dist/cjs/views/Text.js +2 -1
- package/dist/cjs/views/Text.js.map +2 -2
- package/dist/esm/createComponent.js +11 -6
- package/dist/esm/createComponent.js.map +2 -2
- package/dist/esm/helpers/getSplitStyles.js +3 -2
- package/dist/esm/helpers/getSplitStyles.js.map +2 -2
- package/dist/esm/views/Text.js +2 -1
- package/dist/esm/views/Text.js.map +2 -2
- package/dist/jsx/createComponent.js +11 -6
- package/dist/jsx/helpers/getSplitStyles.js +3 -2
- package/dist/jsx/views/Text.js +2 -1
- package/package.json +6 -6
- package/reset.css +0 -1
- package/types/Pressability.d.ts +0 -0
- package/types/Pressability.d.ts.map +0 -0
- package/types/Pressability.native.d.ts +0 -0
- package/types/Pressability.native.d.ts.map +0 -0
- package/types/Tamagui.d.ts +0 -0
- package/types/Tamagui.d.ts.map +0 -0
- package/types/ThemeContext.d.ts +0 -0
- package/types/ThemeContext.d.ts.map +0 -0
- package/types/ThemeManager.d.ts +0 -0
- package/types/ThemeManager.d.ts.map +0 -0
- package/types/conf.d.ts +0 -0
- package/types/conf.d.ts.map +0 -0
- package/types/constants/constants.d.ts +0 -0
- package/types/constants/constants.d.ts.map +0 -0
- package/types/constants/platform.d.ts +0 -0
- package/types/constants/platform.d.ts.map +0 -0
- package/types/constants/rnw.d.ts +0 -0
- package/types/constants/rnw.d.ts.map +0 -0
- package/types/contexts/ButtonInsideButtonContext.d.ts +0 -0
- package/types/contexts/ButtonInsideButtonContext.d.ts.map +0 -0
- package/types/createComponent.d.ts +0 -0
- package/types/createComponent.d.ts.map +1 -1
- package/types/createFont.d.ts +0 -0
- package/types/createFont.d.ts.map +0 -0
- package/types/createShorthands.d.ts +0 -0
- package/types/createShorthands.d.ts.map +0 -0
- package/types/createTamagui.d.ts +0 -0
- package/types/createTamagui.d.ts.map +0 -0
- package/types/createTheme.d.ts +0 -0
- package/types/createTheme.d.ts.map +0 -0
- package/types/createTokens.d.ts +0 -0
- package/types/createTokens.d.ts.map +0 -0
- package/types/createVariable.d.ts +0 -0
- package/types/createVariable.d.ts.map +0 -0
- package/types/createVariables.d.ts +0 -0
- package/types/createVariables.d.ts.map +0 -0
- package/types/defaultComponentState.d.ts +0 -0
- package/types/defaultComponentState.d.ts.map +0 -0
- package/types/helpers/RNComponents.d.ts +0 -0
- package/types/helpers/RNComponents.d.ts.map +0 -0
- package/types/helpers/areEqualSets.d.ts +0 -0
- package/types/helpers/areEqualSets.d.ts.map +0 -0
- package/types/helpers/calc.d.ts +0 -0
- package/types/helpers/calc.d.ts.map +0 -0
- package/types/helpers/createMediaStyle.d.ts +0 -0
- package/types/helpers/createMediaStyle.d.ts.map +0 -0
- package/types/helpers/createPropMapper.d.ts +0 -0
- package/types/helpers/createPropMapper.d.ts.map +0 -0
- package/types/helpers/createShallowUpdate.d.ts +0 -0
- package/types/helpers/createShallowUpdate.d.ts.map +0 -0
- package/types/helpers/createTamaguiProvider.d.ts +0 -0
- package/types/helpers/createTamaguiProvider.d.ts.map +0 -0
- package/types/helpers/extendStaticConfig.d.ts +0 -0
- package/types/helpers/extendStaticConfig.d.ts.map +0 -0
- package/types/helpers/fixNativeShadow.d.ts +0 -0
- package/types/helpers/fixNativeShadow.d.ts.map +0 -0
- package/types/helpers/fixNativeShadow.native.d.ts +0 -0
- package/types/helpers/fixNativeShadow.native.d.ts.map +0 -0
- package/types/helpers/generateAtomicStyles.d.ts +0 -0
- package/types/helpers/generateAtomicStyles.d.ts.map +0 -0
- package/types/helpers/getExpandedShorthands.d.ts +0 -0
- package/types/helpers/getExpandedShorthands.d.ts.map +0 -0
- package/types/helpers/getSize.d.ts +0 -0
- package/types/helpers/getSize.d.ts.map +0 -0
- package/types/helpers/getSplitStyles.d.ts +0 -0
- package/types/helpers/getSplitStyles.d.ts.map +1 -1
- package/types/helpers/getStackSize.d.ts +0 -0
- package/types/helpers/getStackSize.d.ts.map +0 -0
- package/types/helpers/getStylesAtomic.d.ts +0 -0
- package/types/helpers/getStylesAtomic.d.ts.map +0 -0
- package/types/helpers/getStylesAtomic.native.d.ts +0 -0
- package/types/helpers/getStylesAtomic.native.d.ts.map +0 -0
- package/types/helpers/getTextSize.d.ts +0 -0
- package/types/helpers/getTextSize.d.ts.map +0 -0
- package/types/helpers/getVariantExtras.d.ts +0 -0
- package/types/helpers/getVariantExtras.d.ts.map +0 -0
- package/types/helpers/insertStyleRule.d.ts +0 -0
- package/types/helpers/insertStyleRule.d.ts.map +0 -0
- package/types/helpers/isObj.d.ts +0 -0
- package/types/helpers/isObj.d.ts.map +0 -0
- package/types/helpers/isTamaguiComponent.d.ts +0 -0
- package/types/helpers/isTamaguiComponent.d.ts.map +0 -0
- package/types/helpers/isTamaguiElement.d.ts +0 -0
- package/types/helpers/isTamaguiElement.d.ts.map +0 -0
- package/types/helpers/matchMedia.d.ts +0 -0
- package/types/helpers/matchMedia.d.ts.map +0 -0
- package/types/helpers/matchMedia.native.d.ts +0 -0
- package/types/helpers/matchMedia.native.d.ts.map +0 -0
- package/types/helpers/mergeProps.d.ts +0 -0
- package/types/helpers/mergeProps.d.ts.map +0 -0
- package/types/helpers/mergeTransform.d.ts +0 -0
- package/types/helpers/mergeTransform.d.ts.map +0 -0
- package/types/helpers/nativeGestureHandler.native.d.ts +0 -0
- package/types/helpers/nativeGestureHandler.native.d.ts.map +0 -0
- package/types/helpers/proxyThemeVariables.d.ts +0 -0
- package/types/helpers/proxyThemeVariables.d.ts.map +0 -0
- package/types/helpers/pseudos.d.ts +0 -0
- package/types/helpers/pseudos.d.ts.map +0 -0
- package/types/helpers/registerCSSVariable.d.ts +0 -0
- package/types/helpers/registerCSSVariable.d.ts.map +0 -0
- package/types/helpers/themeable.d.ts +0 -0
- package/types/helpers/themeable.d.ts.map +0 -0
- package/types/helpers/validate.d.ts +0 -0
- package/types/helpers/validate.d.ts.map +0 -0
- package/types/helpers/withStaticProperties.d.ts +0 -0
- package/types/helpers/withStaticProperties.d.ts.map +0 -0
- package/types/helpers/wrapThemeManagerContext.d.ts +0 -0
- package/types/helpers/wrapThemeManagerContext.d.ts.map +0 -0
- package/types/hooks/useConstant.d.ts +0 -0
- package/types/hooks/useConstant.d.ts.map +0 -0
- package/types/hooks/useFeatures.d.ts +0 -0
- package/types/hooks/useFeatures.d.ts.map +0 -0
- package/types/hooks/useId.d.ts +0 -0
- package/types/hooks/useId.d.ts.map +0 -0
- package/types/hooks/useIsMounted.d.ts +0 -0
- package/types/hooks/useIsMounted.d.ts.map +0 -0
- package/types/hooks/useIsTouchDevice.d.ts +0 -0
- package/types/hooks/useIsTouchDevice.d.ts.map +0 -0
- package/types/hooks/useMedia.d.ts +0 -0
- package/types/hooks/useMedia.d.ts.map +0 -0
- package/types/hooks/usePressable.d.ts +0 -0
- package/types/hooks/usePressable.d.ts.map +0 -0
- package/types/hooks/usePrevious.d.ts +0 -0
- package/types/hooks/usePrevious.d.ts.map +0 -0
- package/types/hooks/useTheme.d.ts +0 -0
- package/types/hooks/useTheme.d.ts.map +0 -0
- package/types/hooks/useUnmountEffect.d.ts +0 -0
- package/types/hooks/useUnmountEffect.d.ts.map +0 -0
- package/types/index.d.ts +0 -0
- package/types/index.d.ts.map +0 -0
- package/types/insertFont.d.ts +0 -0
- package/types/insertFont.d.ts.map +0 -0
- package/types/static.d.ts +0 -0
- package/types/static.d.ts.map +0 -0
- package/types/styled.d.ts +0 -0
- package/types/styled.d.ts.map +0 -0
- package/types/types-rnw.d.ts +0 -0
- package/types/types-rnw.d.ts.map +0 -0
- package/types/types.d.ts +0 -0
- package/types/types.d.ts.map +0 -0
- package/types/views/Slot.d.ts +0 -0
- package/types/views/Slot.d.ts.map +0 -0
- package/types/views/Stack.d.ts +0 -0
- package/types/views/Stack.d.ts.map +0 -0
- package/types/views/Text.d.ts +0 -0
- package/types/views/Text.d.ts.map +1 -1
- package/types/views/TextAncestorContext.d.ts +0 -0
- package/types/views/TextAncestorContext.d.ts.map +0 -0
- package/types/views/Theme.d.ts +0 -0
- package/types/views/Theme.d.ts.map +0 -0
- package/types/views/ThemeInverse.d.ts +0 -0
- package/types/views/ThemeInverse.d.ts.map +0 -0
- package/types/views/ThemeProvider.d.ts +0 -0
- package/types/views/ThemeProvider.d.ts.map +0 -0
- package/types/views/ThemeReset.d.ts +0 -0
- package/types/views/ThemeReset.d.ts.map +0 -0
- package/dist/cjs/helpers/nativeGestureHandler.js +0 -29
- package/dist/cjs/helpers/nativeGestureHandler.js.map +0 -7
- package/dist/cjs/helpers/prefixStyles.js +0 -192
- package/dist/cjs/helpers/prefixStyles.js.map +0 -7
- package/dist/cjs/nativeGestureHandler.native.js +0 -18
- package/dist/cjs/nativeGestureHandler.native.js.map +0 -7
- package/dist/cjs/registerCSSVariable.js +0 -41
- package/dist/cjs/registerCSSVariable.js.map +0 -7
- package/dist/esm/helpers/nativeGestureHandler.js +0 -7
- package/dist/esm/helpers/nativeGestureHandler.js.map +0 -7
- package/dist/esm/helpers/prefixStyles.js +0 -166
- package/dist/esm/helpers/prefixStyles.js.map +0 -7
- package/dist/esm/nativeGestureHandler.native.js +0 -2
- package/dist/esm/nativeGestureHandler.native.js.map +0 -7
- package/dist/esm/registerCSSVariable.js +0 -17
- package/dist/esm/registerCSSVariable.js.map +0 -7
- package/dist/jsx/helpers/nativeGestureHandler.js +0 -6
- package/dist/jsx/helpers/prefixStyles.js +0 -165
- package/dist/jsx/nativeGestureHandler.native.js +0 -1
- package/dist/jsx/registerCSSVariable.js +0 -16
- package/types/helpers/prefixStyles.d.ts +0 -5
- package/types/helpers/prefixStyles.d.ts.map +0 -1
- package/types/registerCSSVariable.d.ts +0 -5
- package/types/registerCSSVariable.d.ts.map +0 -1
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
|
21
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
22
|
-
var prefixStyles_exports = {};
|
|
23
|
-
__export(prefixStyles_exports, {
|
|
24
|
-
prefixInlineStyles: () => prefixInlineStyles,
|
|
25
|
-
prefixStyles: () => prefixStyles
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(prefixStyles_exports);
|
|
28
|
-
var import_createPrefixer = __toESM(require("inline-style-prefixer/lib/createPrefixer"));
|
|
29
|
-
var import_backgroundClip = __toESM(require("inline-style-prefixer/lib/plugins/backgroundClip"));
|
|
30
|
-
var import_crossFade = __toESM(require("inline-style-prefixer/lib/plugins/crossFade"));
|
|
31
|
-
var import_cursor = __toESM(require("inline-style-prefixer/lib/plugins/cursor"));
|
|
32
|
-
var import_filter = __toESM(require("inline-style-prefixer/lib/plugins/filter"));
|
|
33
|
-
var import_flex = __toESM(require("inline-style-prefixer/lib/plugins/flex"));
|
|
34
|
-
var import_flexboxIE = __toESM(require("inline-style-prefixer/lib/plugins/flexboxIE"));
|
|
35
|
-
var import_flexboxOld = __toESM(require("inline-style-prefixer/lib/plugins/flexboxOld"));
|
|
36
|
-
var import_gradient = __toESM(require("inline-style-prefixer/lib/plugins/gradient"));
|
|
37
|
-
var import_grid = __toESM(require("inline-style-prefixer/lib/plugins/grid"));
|
|
38
|
-
var import_imageSet = __toESM(require("inline-style-prefixer/lib/plugins/imageSet"));
|
|
39
|
-
var import_logical = __toESM(require("inline-style-prefixer/lib/plugins/logical"));
|
|
40
|
-
var import_position = __toESM(require("inline-style-prefixer/lib/plugins/position"));
|
|
41
|
-
var import_sizing = __toESM(require("inline-style-prefixer/lib/plugins/sizing"));
|
|
42
|
-
var import_transition = __toESM(require("inline-style-prefixer/lib/plugins/transition"));
|
|
43
|
-
const prefixInlineStyles = /* @__PURE__ */ __name((style) => {
|
|
44
|
-
const prefixedStyles = prefixStyles(style);
|
|
45
|
-
Object.keys(prefixedStyles).forEach((prop) => {
|
|
46
|
-
const value = prefixedStyles[prop];
|
|
47
|
-
if (Array.isArray(value)) {
|
|
48
|
-
prefixedStyles[prop] = value[value.length - 1];
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
return prefixedStyles;
|
|
52
|
-
}, "prefixInlineStyles");
|
|
53
|
-
const w = ["Webkit"];
|
|
54
|
-
const m = ["Moz"];
|
|
55
|
-
const ms = ["ms"];
|
|
56
|
-
const wm = ["Webkit", "Moz"];
|
|
57
|
-
const wms = ["Webkit", "ms"];
|
|
58
|
-
const wmms = ["Webkit", "Moz", "ms"];
|
|
59
|
-
const staticData = {
|
|
60
|
-
plugins: [
|
|
61
|
-
import_backgroundClip.default,
|
|
62
|
-
import_crossFade.default,
|
|
63
|
-
import_cursor.default,
|
|
64
|
-
import_filter.default,
|
|
65
|
-
import_flex.default,
|
|
66
|
-
import_flexboxIE.default,
|
|
67
|
-
import_flexboxOld.default,
|
|
68
|
-
import_gradient.default,
|
|
69
|
-
import_grid.default,
|
|
70
|
-
import_imageSet.default,
|
|
71
|
-
import_logical.default,
|
|
72
|
-
import_position.default,
|
|
73
|
-
import_sizing.default,
|
|
74
|
-
import_transition.default
|
|
75
|
-
],
|
|
76
|
-
prefixMap: {
|
|
77
|
-
animation: w,
|
|
78
|
-
animationDelay: w,
|
|
79
|
-
animationDirection: w,
|
|
80
|
-
animationFillMode: w,
|
|
81
|
-
animationDuration: w,
|
|
82
|
-
animationIterationCount: w,
|
|
83
|
-
animationName: w,
|
|
84
|
-
animationPlayState: w,
|
|
85
|
-
animationTimingFunction: w,
|
|
86
|
-
appearance: wm,
|
|
87
|
-
userSelect: wmms,
|
|
88
|
-
textEmphasisPosition: w,
|
|
89
|
-
textEmphasis: w,
|
|
90
|
-
textEmphasisStyle: w,
|
|
91
|
-
textEmphasisColor: w,
|
|
92
|
-
boxDecorationBreak: w,
|
|
93
|
-
clipPath: w,
|
|
94
|
-
maskImage: w,
|
|
95
|
-
maskMode: w,
|
|
96
|
-
maskRepeat: w,
|
|
97
|
-
maskPosition: w,
|
|
98
|
-
maskClip: w,
|
|
99
|
-
maskOrigin: w,
|
|
100
|
-
maskSize: w,
|
|
101
|
-
maskComposite: w,
|
|
102
|
-
mask: w,
|
|
103
|
-
maskBorderSource: w,
|
|
104
|
-
maskBorderMode: w,
|
|
105
|
-
maskBorderSlice: w,
|
|
106
|
-
maskBorderWidth: w,
|
|
107
|
-
maskBorderOutset: w,
|
|
108
|
-
maskBorderRepeat: w,
|
|
109
|
-
maskBorder: w,
|
|
110
|
-
maskType: w,
|
|
111
|
-
textDecorationStyle: w,
|
|
112
|
-
textDecorationSkip: w,
|
|
113
|
-
textDecorationLine: w,
|
|
114
|
-
textDecorationColor: w,
|
|
115
|
-
filter: w,
|
|
116
|
-
fontFeatureSettings: w,
|
|
117
|
-
breakAfter: wmms,
|
|
118
|
-
breakBefore: wmms,
|
|
119
|
-
breakInside: wmms,
|
|
120
|
-
columnCount: wm,
|
|
121
|
-
columnFill: wm,
|
|
122
|
-
columnGap: wm,
|
|
123
|
-
columnRule: wm,
|
|
124
|
-
columnRuleColor: wm,
|
|
125
|
-
columnRuleStyle: wm,
|
|
126
|
-
columnRuleWidth: wm,
|
|
127
|
-
columns: wm,
|
|
128
|
-
columnSpan: wm,
|
|
129
|
-
columnWidth: wm,
|
|
130
|
-
writingMode: wms,
|
|
131
|
-
flex: wms,
|
|
132
|
-
flexBasis: w,
|
|
133
|
-
flexDirection: wms,
|
|
134
|
-
flexGrow: w,
|
|
135
|
-
flexFlow: wms,
|
|
136
|
-
flexShrink: w,
|
|
137
|
-
flexWrap: wms,
|
|
138
|
-
alignContent: w,
|
|
139
|
-
alignItems: w,
|
|
140
|
-
alignSelf: w,
|
|
141
|
-
justifyContent: w,
|
|
142
|
-
order: w,
|
|
143
|
-
transform: w,
|
|
144
|
-
transformOrigin: w,
|
|
145
|
-
transformOriginX: w,
|
|
146
|
-
transformOriginY: w,
|
|
147
|
-
backfaceVisibility: w,
|
|
148
|
-
perspective: w,
|
|
149
|
-
perspectiveOrigin: w,
|
|
150
|
-
transformStyle: w,
|
|
151
|
-
transformOriginZ: w,
|
|
152
|
-
backdropFilter: w,
|
|
153
|
-
fontKerning: w,
|
|
154
|
-
scrollSnapType: wms,
|
|
155
|
-
scrollSnapPointsX: wms,
|
|
156
|
-
scrollSnapPointsY: wms,
|
|
157
|
-
scrollSnapDestination: wms,
|
|
158
|
-
scrollSnapCoordinate: wms,
|
|
159
|
-
shapeImageThreshold: w,
|
|
160
|
-
shapeImageMargin: w,
|
|
161
|
-
shapeImageOutside: w,
|
|
162
|
-
hyphens: wmms,
|
|
163
|
-
flowInto: wms,
|
|
164
|
-
flowFrom: wms,
|
|
165
|
-
regionFragment: wms,
|
|
166
|
-
textOrientation: w,
|
|
167
|
-
textAlignLast: m,
|
|
168
|
-
tabSize: m,
|
|
169
|
-
wrapFlow: ms,
|
|
170
|
-
wrapThrough: ms,
|
|
171
|
-
wrapMargin: ms,
|
|
172
|
-
touchAction: ms,
|
|
173
|
-
textSizeAdjust: ["ms", "Webkit"],
|
|
174
|
-
borderImage: w,
|
|
175
|
-
borderImageOutset: w,
|
|
176
|
-
borderImageRepeat: w,
|
|
177
|
-
borderImageSlice: w,
|
|
178
|
-
borderImageSource: w,
|
|
179
|
-
borderImageWidth: w,
|
|
180
|
-
transitionDelay: w,
|
|
181
|
-
transitionDuration: w,
|
|
182
|
-
transitionProperty: w,
|
|
183
|
-
transitionTimingFunction: w
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
const prefixStyles = (0, import_createPrefixer.default)(staticData);
|
|
187
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
188
|
-
0 && (module.exports = {
|
|
189
|
-
prefixInlineStyles,
|
|
190
|
-
prefixStyles
|
|
191
|
-
});
|
|
192
|
-
//# sourceMappingURL=prefixStyles.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/helpers/prefixStyles.ts"],
|
|
4
|
-
"sourcesContent": ["import createPrefixer from 'inline-style-prefixer/lib/createPrefixer'\nimport backgroundClip from 'inline-style-prefixer/lib/plugins/backgroundClip'\nimport crossFade from 'inline-style-prefixer/lib/plugins/crossFade'\nimport cursor from 'inline-style-prefixer/lib/plugins/cursor'\nimport filter from 'inline-style-prefixer/lib/plugins/filter'\nimport flex from 'inline-style-prefixer/lib/plugins/flex'\nimport flexboxIE from 'inline-style-prefixer/lib/plugins/flexboxIE'\nimport flexboxOld from 'inline-style-prefixer/lib/plugins/flexboxOld'\nimport gradient from 'inline-style-prefixer/lib/plugins/gradient'\nimport grid from 'inline-style-prefixer/lib/plugins/grid'\nimport imageSet from 'inline-style-prefixer/lib/plugins/imageSet'\nimport logical from 'inline-style-prefixer/lib/plugins/logical'\nimport position from 'inline-style-prefixer/lib/plugins/position'\nimport sizing from 'inline-style-prefixer/lib/plugins/sizing'\nimport transition from 'inline-style-prefixer/lib/plugins/transition'\n\ntype StyleModifier = (style: Object) => Object\n\nexport const prefixInlineStyles: StyleModifier = (style) => {\n const prefixedStyles = prefixStyles(style)\n\n // React@15 removed undocumented support for fallback values in\n // inline-styles. Revert array values to the standard CSS value\n Object.keys(prefixedStyles).forEach((prop) => {\n const value = prefixedStyles[prop]\n if (Array.isArray(value)) {\n prefixedStyles[prop] = value[value.length - 1]\n }\n })\n\n return prefixedStyles\n}\n\nconst w = ['Webkit']\nconst m = ['Moz']\nconst ms = ['ms']\nconst wm = ['Webkit', 'Moz']\nconst wms = ['Webkit', 'ms']\nconst wmms = ['Webkit', 'Moz', 'ms']\nconst staticData = {\n plugins: [\n backgroundClip,\n crossFade,\n cursor,\n filter,\n flex,\n flexboxIE,\n flexboxOld,\n gradient,\n grid,\n imageSet,\n logical,\n position,\n sizing,\n transition,\n ],\n prefixMap: {\n animation: w,\n animationDelay: w,\n animationDirection: w,\n animationFillMode: w,\n animationDuration: w,\n animationIterationCount: w,\n animationName: w,\n animationPlayState: w,\n animationTimingFunction: w,\n appearance: wm,\n userSelect: wmms,\n textEmphasisPosition: w,\n textEmphasis: w,\n textEmphasisStyle: w,\n textEmphasisColor: w,\n boxDecorationBreak: w,\n clipPath: w,\n maskImage: w,\n maskMode: w,\n maskRepeat: w,\n maskPosition: w,\n maskClip: w,\n maskOrigin: w,\n maskSize: w,\n maskComposite: w,\n mask: w,\n maskBorderSource: w,\n maskBorderMode: w,\n maskBorderSlice: w,\n maskBorderWidth: w,\n maskBorderOutset: w,\n maskBorderRepeat: w,\n maskBorder: w,\n maskType: w,\n textDecorationStyle: w,\n textDecorationSkip: w,\n textDecorationLine: w,\n textDecorationColor: w,\n filter: w,\n fontFeatureSettings: w,\n breakAfter: wmms,\n breakBefore: wmms,\n breakInside: wmms,\n columnCount: wm,\n columnFill: wm,\n columnGap: wm,\n columnRule: wm,\n columnRuleColor: wm,\n columnRuleStyle: wm,\n columnRuleWidth: wm,\n columns: wm,\n columnSpan: wm,\n columnWidth: wm,\n writingMode: wms,\n flex: wms,\n flexBasis: w,\n flexDirection: wms,\n flexGrow: w,\n flexFlow: wms,\n flexShrink: w,\n flexWrap: wms,\n alignContent: w,\n alignItems: w,\n alignSelf: w,\n justifyContent: w,\n order: w,\n transform: w,\n transformOrigin: w,\n transformOriginX: w,\n transformOriginY: w,\n backfaceVisibility: w,\n perspective: w,\n perspectiveOrigin: w,\n transformStyle: w,\n transformOriginZ: w,\n backdropFilter: w,\n fontKerning: w,\n scrollSnapType: wms,\n scrollSnapPointsX: wms,\n scrollSnapPointsY: wms,\n scrollSnapDestination: wms,\n scrollSnapCoordinate: wms,\n shapeImageThreshold: w,\n shapeImageMargin: w,\n shapeImageOutside: w,\n hyphens: wmms,\n flowInto: wms,\n flowFrom: wms,\n regionFragment: wms,\n textOrientation: w,\n textAlignLast: m,\n tabSize: m,\n wrapFlow: ms,\n wrapThrough: ms,\n wrapMargin: ms,\n touchAction: ms,\n textSizeAdjust: ['ms', 'Webkit'],\n borderImage: w,\n borderImageOutset: w,\n borderImageRepeat: w,\n borderImageSlice: w,\n borderImageSource: w,\n borderImageWidth: w,\n transitionDelay: w,\n transitionDuration: w,\n transitionProperty: w,\n transitionTimingFunction: w,\n },\n}\n\nexport const prefixStyles: StyleModifier = createPrefixer(staticData)\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAA2B;AAC3B,4BAA2B;AAC3B,uBAAsB;AACtB,oBAAmB;AACnB,oBAAmB;AACnB,kBAAiB;AACjB,uBAAsB;AACtB,wBAAuB;AACvB,sBAAqB;AACrB,kBAAiB;AACjB,sBAAqB;AACrB,qBAAoB;AACpB,s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IACT,UAAU;AAAA,IACV,aAAa;AAAA,IACb,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,gBAAgB,CAAC,MAAM,QAAQ;AAAA,IAC/B,aAAa;AAAA,IACb,mBAAmB;AAAA,IACnB,mBAAmB;AAAA,IACnB,kBAAkB;AAAA,IAClB,mBAAmB;AAAA,IACnB,kBAAkB;AAAA,IAClB,iBAAiB;AAAA,IACjB,oBAAoB;AAAA,IACpB,oBAAoB;AAAA,IACpB,0BAA0B;AAAA,EAC5B;AACF;AAEO,MAAM,eAA8B,mCAAe,UAAU;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
-
for (let key of __getOwnPropNames(from))
|
|
8
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
}
|
|
11
|
-
return to;
|
|
12
|
-
};
|
|
13
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
var nativeGestureHandler_native_exports = {};
|
|
16
|
-
module.exports = __toCommonJS(nativeGestureHandler_native_exports);
|
|
17
|
-
__reExport(nativeGestureHandler_native_exports, require("react-native-gesture-handler"), module.exports);
|
|
18
|
-
//# sourceMappingURL=nativeGestureHandler.native.js.map
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var registerCSSVariable_exports = {};
|
|
20
|
-
__export(registerCSSVariable_exports, {
|
|
21
|
-
registerCSSVariable: () => registerCSSVariable,
|
|
22
|
-
tokenRules: () => tokenRules,
|
|
23
|
-
tokensValueToVariable: () => tokensValueToVariable
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(registerCSSVariable_exports);
|
|
26
|
-
var import_createVariable = require("./createVariable");
|
|
27
|
-
const registerCSSVariable = /* @__PURE__ */ __name((v) => {
|
|
28
|
-
tokensValueToVariable.set(v.val, v);
|
|
29
|
-
const val = `--${(0, import_createVariable.createCSSVariable)(v.name, false)}:${typeof v.val === "number" ? `${v.val}px` : v.val}`;
|
|
30
|
-
tokenRules.add(val);
|
|
31
|
-
return val;
|
|
32
|
-
}, "registerCSSVariable");
|
|
33
|
-
const tokensValueToVariable = /* @__PURE__ */ new Map();
|
|
34
|
-
const tokenRules = /* @__PURE__ */ new Set();
|
|
35
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
36
|
-
0 && (module.exports = {
|
|
37
|
-
registerCSSVariable,
|
|
38
|
-
tokenRules,
|
|
39
|
-
tokensValueToVariable
|
|
40
|
-
});
|
|
41
|
-
//# sourceMappingURL=registerCSSVariable.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/registerCSSVariable.ts"],
|
|
4
|
-
"sourcesContent": ["import { Variable, createCSSVariable } from './createVariable'\n\nexport const registerCSSVariable = (v: Variable) => {\n tokensValueToVariable.set(v.val, v)\n const val = `--${createCSSVariable(v.name, false)}:${\n typeof v.val === 'number' ? `${v.val}px` : v.val\n }`\n tokenRules.add(val)\n return val\n}\n\nexport const tokensValueToVariable = new Map<string, Variable>()\nexport const tokenRules = new Set<string>()\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAA4C;AAErC,MAAM,sBAAsB,wBAAC,MAAgB;AAClD,wBAAsB,IAAI,EAAE,KAAK,CAAC;AAClC,QAAM,MAAM,KAAK,6CAAkB,EAAE,MAAM,KAAK,KAC9C,OAAO,EAAE,QAAQ,WAAW,GAAG,EAAE,UAAU,EAAE;AAE/C,aAAW,IAAI,GAAG;AAClB,SAAO;AACT,GAPmC;AAS5B,MAAM,wBAAwB,oBAAI,IAAsB;AACxD,MAAM,aAAa,oBAAI,IAAY;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
const BaseButton = /* @__PURE__ */ __name((props) => props.children, "BaseButton");
|
|
4
|
-
export {
|
|
5
|
-
BaseButton
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=nativeGestureHandler.js.map
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import createPrefixer from "inline-style-prefixer/lib/createPrefixer";
|
|
4
|
-
import backgroundClip from "inline-style-prefixer/lib/plugins/backgroundClip";
|
|
5
|
-
import crossFade from "inline-style-prefixer/lib/plugins/crossFade";
|
|
6
|
-
import cursor from "inline-style-prefixer/lib/plugins/cursor";
|
|
7
|
-
import filter from "inline-style-prefixer/lib/plugins/filter";
|
|
8
|
-
import flex from "inline-style-prefixer/lib/plugins/flex";
|
|
9
|
-
import flexboxIE from "inline-style-prefixer/lib/plugins/flexboxIE";
|
|
10
|
-
import flexboxOld from "inline-style-prefixer/lib/plugins/flexboxOld";
|
|
11
|
-
import gradient from "inline-style-prefixer/lib/plugins/gradient";
|
|
12
|
-
import grid from "inline-style-prefixer/lib/plugins/grid";
|
|
13
|
-
import imageSet from "inline-style-prefixer/lib/plugins/imageSet";
|
|
14
|
-
import logical from "inline-style-prefixer/lib/plugins/logical";
|
|
15
|
-
import position from "inline-style-prefixer/lib/plugins/position";
|
|
16
|
-
import sizing from "inline-style-prefixer/lib/plugins/sizing";
|
|
17
|
-
import transition from "inline-style-prefixer/lib/plugins/transition";
|
|
18
|
-
const prefixInlineStyles = /* @__PURE__ */ __name((style) => {
|
|
19
|
-
const prefixedStyles = prefixStyles(style);
|
|
20
|
-
Object.keys(prefixedStyles).forEach((prop) => {
|
|
21
|
-
const value = prefixedStyles[prop];
|
|
22
|
-
if (Array.isArray(value)) {
|
|
23
|
-
prefixedStyles[prop] = value[value.length - 1];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
return prefixedStyles;
|
|
27
|
-
}, "prefixInlineStyles");
|
|
28
|
-
const w = ["Webkit"];
|
|
29
|
-
const m = ["Moz"];
|
|
30
|
-
const ms = ["ms"];
|
|
31
|
-
const wm = ["Webkit", "Moz"];
|
|
32
|
-
const wms = ["Webkit", "ms"];
|
|
33
|
-
const wmms = ["Webkit", "Moz", "ms"];
|
|
34
|
-
const staticData = {
|
|
35
|
-
plugins: [
|
|
36
|
-
backgroundClip,
|
|
37
|
-
crossFade,
|
|
38
|
-
cursor,
|
|
39
|
-
filter,
|
|
40
|
-
flex,
|
|
41
|
-
flexboxIE,
|
|
42
|
-
flexboxOld,
|
|
43
|
-
gradient,
|
|
44
|
-
grid,
|
|
45
|
-
imageSet,
|
|
46
|
-
logical,
|
|
47
|
-
position,
|
|
48
|
-
sizing,
|
|
49
|
-
transition
|
|
50
|
-
],
|
|
51
|
-
prefixMap: {
|
|
52
|
-
animation: w,
|
|
53
|
-
animationDelay: w,
|
|
54
|
-
animationDirection: w,
|
|
55
|
-
animationFillMode: w,
|
|
56
|
-
animationDuration: w,
|
|
57
|
-
animationIterationCount: w,
|
|
58
|
-
animationName: w,
|
|
59
|
-
animationPlayState: w,
|
|
60
|
-
animationTimingFunction: w,
|
|
61
|
-
appearance: wm,
|
|
62
|
-
userSelect: wmms,
|
|
63
|
-
textEmphasisPosition: w,
|
|
64
|
-
textEmphasis: w,
|
|
65
|
-
textEmphasisStyle: w,
|
|
66
|
-
textEmphasisColor: w,
|
|
67
|
-
boxDecorationBreak: w,
|
|
68
|
-
clipPath: w,
|
|
69
|
-
maskImage: w,
|
|
70
|
-
maskMode: w,
|
|
71
|
-
maskRepeat: w,
|
|
72
|
-
maskPosition: w,
|
|
73
|
-
maskClip: w,
|
|
74
|
-
maskOrigin: w,
|
|
75
|
-
maskSize: w,
|
|
76
|
-
maskComposite: w,
|
|
77
|
-
mask: w,
|
|
78
|
-
maskBorderSource: w,
|
|
79
|
-
maskBorderMode: w,
|
|
80
|
-
maskBorderSlice: w,
|
|
81
|
-
maskBorderWidth: w,
|
|
82
|
-
maskBorderOutset: w,
|
|
83
|
-
maskBorderRepeat: w,
|
|
84
|
-
maskBorder: w,
|
|
85
|
-
maskType: w,
|
|
86
|
-
textDecorationStyle: w,
|
|
87
|
-
textDecorationSkip: w,
|
|
88
|
-
textDecorationLine: w,
|
|
89
|
-
textDecorationColor: w,
|
|
90
|
-
filter: w,
|
|
91
|
-
fontFeatureSettings: w,
|
|
92
|
-
breakAfter: wmms,
|
|
93
|
-
breakBefore: wmms,
|
|
94
|
-
breakInside: wmms,
|
|
95
|
-
columnCount: wm,
|
|
96
|
-
columnFill: wm,
|
|
97
|
-
columnGap: wm,
|
|
98
|
-
columnRule: wm,
|
|
99
|
-
columnRuleColor: wm,
|
|
100
|
-
columnRuleStyle: wm,
|
|
101
|
-
columnRuleWidth: wm,
|
|
102
|
-
columns: wm,
|
|
103
|
-
columnSpan: wm,
|
|
104
|
-
columnWidth: wm,
|
|
105
|
-
writingMode: wms,
|
|
106
|
-
flex: wms,
|
|
107
|
-
flexBasis: w,
|
|
108
|
-
flexDirection: wms,
|
|
109
|
-
flexGrow: w,
|
|
110
|
-
flexFlow: wms,
|
|
111
|
-
flexShrink: w,
|
|
112
|
-
flexWrap: wms,
|
|
113
|
-
alignContent: w,
|
|
114
|
-
alignItems: w,
|
|
115
|
-
alignSelf: w,
|
|
116
|
-
justifyContent: w,
|
|
117
|
-
order: w,
|
|
118
|
-
transform: w,
|
|
119
|
-
transformOrigin: w,
|
|
120
|
-
transformOriginX: w,
|
|
121
|
-
transformOriginY: w,
|
|
122
|
-
backfaceVisibility: w,
|
|
123
|
-
perspective: w,
|
|
124
|
-
perspectiveOrigin: w,
|
|
125
|
-
transformStyle: w,
|
|
126
|
-
transformOriginZ: w,
|
|
127
|
-
backdropFilter: w,
|
|
128
|
-
fontKerning: w,
|
|
129
|
-
scrollSnapType: wms,
|
|
130
|
-
scrollSnapPointsX: wms,
|
|
131
|
-
scrollSnapPointsY: wms,
|
|
132
|
-
scrollSnapDestination: wms,
|
|
133
|
-
scrollSnapCoordinate: wms,
|
|
134
|
-
shapeImageThreshold: w,
|
|
135
|
-
shapeImageMargin: w,
|
|
136
|
-
shapeImageOutside: w,
|
|
137
|
-
hyphens: wmms,
|
|
138
|
-
flowInto: wms,
|
|
139
|
-
flowFrom: wms,
|
|
140
|
-
regionFragment: wms,
|
|
141
|
-
textOrientation: w,
|
|
142
|
-
textAlignLast: m,
|
|
143
|
-
tabSize: m,
|
|
144
|
-
wrapFlow: ms,
|
|
145
|
-
wrapThrough: ms,
|
|
146
|
-
wrapMargin: ms,
|
|
147
|
-
touchAction: ms,
|
|
148
|
-
textSizeAdjust: ["ms", "Webkit"],
|
|
149
|
-
borderImage: w,
|
|
150
|
-
borderImageOutset: w,
|
|
151
|
-
borderImageRepeat: w,
|
|
152
|
-
borderImageSlice: w,
|
|
153
|
-
borderImageSource: w,
|
|
154
|
-
borderImageWidth: w,
|
|
155
|
-
transitionDelay: w,
|
|
156
|
-
transitionDuration: w,
|
|
157
|
-
transitionProperty: w,
|
|
158
|
-
transitionTimingFunction: w
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
const prefixStyles = createPrefixer(staticData);
|
|
162
|
-
export {
|
|
163
|
-
prefixInlineStyles,
|
|
164
|
-
prefixStyles
|
|
165
|
-
};
|
|
166
|
-
//# sourceMappingURL=prefixStyles.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/helpers/prefixStyles.ts"],
|
|
4
|
-
"sourcesContent": ["import createPrefixer from 'inline-style-prefixer/lib/createPrefixer'\nimport backgroundClip from 'inline-style-prefixer/lib/plugins/backgroundClip'\nimport crossFade from 'inline-style-prefixer/lib/plugins/crossFade'\nimport cursor from 'inline-style-prefixer/lib/plugins/cursor'\nimport filter from 'inline-style-prefixer/lib/plugins/filter'\nimport flex from 'inline-style-prefixer/lib/plugins/flex'\nimport flexboxIE from 'inline-style-prefixer/lib/plugins/flexboxIE'\nimport flexboxOld from 'inline-style-prefixer/lib/plugins/flexboxOld'\nimport gradient from 'inline-style-prefixer/lib/plugins/gradient'\nimport grid from 'inline-style-prefixer/lib/plugins/grid'\nimport imageSet from 'inline-style-prefixer/lib/plugins/imageSet'\nimport logical from 'inline-style-prefixer/lib/plugins/logical'\nimport position from 'inline-style-prefixer/lib/plugins/position'\nimport sizing from 'inline-style-prefixer/lib/plugins/sizing'\nimport transition from 'inline-style-prefixer/lib/plugins/transition'\n\ntype StyleModifier = (style: Object) => Object\n\nexport const prefixInlineStyles: StyleModifier = (style) => {\n const prefixedStyles = prefixStyles(style)\n\n // React@15 removed undocumented support for fallback values in\n // inline-styles. Revert array values to the standard CSS value\n Object.keys(prefixedStyles).forEach((prop) => {\n const value = prefixedStyles[prop]\n if (Array.isArray(value)) {\n prefixedStyles[prop] = value[value.length - 1]\n }\n })\n\n return prefixedStyles\n}\n\nconst w = ['Webkit']\nconst m = ['Moz']\nconst ms = ['ms']\nconst wm = ['Webkit', 'Moz']\nconst wms = ['Webkit', 'ms']\nconst wmms = ['Webkit', 'Moz', 'ms']\nconst staticData = {\n plugins: [\n backgroundClip,\n crossFade,\n cursor,\n filter,\n flex,\n flexboxIE,\n flexboxOld,\n gradient,\n grid,\n imageSet,\n logical,\n position,\n sizing,\n transition,\n ],\n prefixMap: {\n animation: w,\n animationDelay: w,\n animationDirection: w,\n animationFillMode: w,\n animationDuration: w,\n animationIterationCount: w,\n animationName: w,\n animationPlayState: w,\n animationTimingFunction: w,\n appearance: wm,\n userSelect: wmms,\n textEmphasisPosition: w,\n textEmphasis: w,\n textEmphasisStyle: w,\n textEmphasisColor: w,\n boxDecorationBreak: w,\n clipPath: w,\n maskImage: w,\n maskMode: w,\n maskRepeat: w,\n maskPosition: w,\n maskClip: w,\n maskOrigin: w,\n maskSize: w,\n maskComposite: w,\n mask: w,\n maskBorderSource: w,\n maskBorderMode: w,\n maskBorderSlice: w,\n maskBorderWidth: w,\n maskBorderOutset: w,\n maskBorderRepeat: w,\n maskBorder: w,\n maskType: w,\n textDecorationStyle: w,\n textDecorationSkip: w,\n textDecorationLine: w,\n textDecorationColor: w,\n filter: w,\n fontFeatureSettings: w,\n breakAfter: wmms,\n breakBefore: wmms,\n breakInside: wmms,\n columnCount: wm,\n columnFill: wm,\n columnGap: wm,\n columnRule: wm,\n columnRuleColor: wm,\n columnRuleStyle: wm,\n columnRuleWidth: wm,\n columns: wm,\n columnSpan: wm,\n columnWidth: wm,\n writingMode: wms,\n flex: wms,\n flexBasis: w,\n flexDirection: wms,\n flexGrow: w,\n flexFlow: wms,\n flexShrink: w,\n flexWrap: wms,\n alignContent: w,\n alignItems: w,\n alignSelf: w,\n justifyContent: w,\n order: w,\n transform: w,\n transformOrigin: w,\n transformOriginX: w,\n transformOriginY: w,\n backfaceVisibility: w,\n perspective: w,\n perspectiveOrigin: w,\n transformStyle: w,\n transformOriginZ: w,\n backdropFilter: w,\n fontKerning: w,\n scrollSnapType: wms,\n scrollSnapPointsX: wms,\n scrollSnapPointsY: wms,\n scrollSnapDestination: wms,\n scrollSnapCoordinate: wms,\n shapeImageThreshold: w,\n shapeImageMargin: w,\n shapeImageOutside: w,\n hyphens: wmms,\n flowInto: wms,\n flowFrom: wms,\n regionFragment: wms,\n textOrientation: w,\n textAlignLast: m,\n tabSize: m,\n wrapFlow: ms,\n wrapThrough: ms,\n wrapMargin: ms,\n touchAction: ms,\n textSizeAdjust: ['ms', 'Webkit'],\n borderImage: w,\n borderImageOutset: w,\n borderImageRepeat: w,\n borderImageSlice: w,\n borderImageSource: w,\n borderImageWidth: w,\n transitionDelay: w,\n transitionDuration: w,\n transitionProperty: w,\n transitionTimingFunction: w,\n },\n}\n\nexport const prefixStyles: StyleModifier = createPrefixer(staticData)\n"],
|
|
5
|
-
"mappings": ";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIO,MAAM,qBAAoC,wBAAC,UAAU;AAC1D,QAAM,iBAAiB,aAAa,KAAK;AAIzC,SAAO,KAAK,cAAc,EAAE,QAAQ,CAAC,SAAS;AAC5C,UAAM,QAAQ,eAAe;AAC7B,QAAI,MAAM,QAAQ,KAAK,GAAG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B;AAAA,IAClB,iBAAiB;AAAA,IACjB,oBAAoB;AAAA,IACpB,oBAAoB;AAAA,IACpB,0BAA0B;AAAA,EAC5B;AACF;AAEO,MAAM,eAA8B,eAAe,UAAU;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { createCSSVariable } from "./createVariable";
|
|
4
|
-
const registerCSSVariable = /* @__PURE__ */ __name((v) => {
|
|
5
|
-
tokensValueToVariable.set(v.val, v);
|
|
6
|
-
const val = `--${createCSSVariable(v.name, false)}:${typeof v.val === "number" ? `${v.val}px` : v.val}`;
|
|
7
|
-
tokenRules.add(val);
|
|
8
|
-
return val;
|
|
9
|
-
}, "registerCSSVariable");
|
|
10
|
-
const tokensValueToVariable = /* @__PURE__ */ new Map();
|
|
11
|
-
const tokenRules = /* @__PURE__ */ new Set();
|
|
12
|
-
export {
|
|
13
|
-
registerCSSVariable,
|
|
14
|
-
tokenRules,
|
|
15
|
-
tokensValueToVariable
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=registerCSSVariable.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/registerCSSVariable.ts"],
|
|
4
|
-
"sourcesContent": ["import { Variable, createCSSVariable } from './createVariable'\n\nexport const registerCSSVariable = (v: Variable) => {\n tokensValueToVariable.set(v.val, v)\n const val = `--${createCSSVariable(v.name, false)}:${\n typeof v.val === 'number' ? `${v.val}px` : v.val\n }`\n tokenRules.add(val)\n return val\n}\n\nexport const tokensValueToVariable = new Map<string, Variable>()\nexport const tokenRules = new Set<string>()\n"],
|
|
5
|
-
"mappings": ";;AAAA;AAEO,MAAM,sBAAsB,wBAAC,MAAgB;AAClD,wBAAsB,IAAI,EAAE,KAAK,CAAC;AAClC,QAAM,MAAM,KAAK,kBAAkB,EAAE,MAAM,KAAK,KAC9C,OAAO,EAAE,QAAQ,WAAW,GAAG,EAAE,UAAU,EAAE;AAE/C,aAAW,IAAI,GAAG;AAClB,SAAO;AACT,GAPmC;AAS5B,MAAM,wBAAwB,oBAAI,IAAsB;AACxD,MAAM,aAAa,oBAAI,IAAY;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|