@pingux/astro 2.174.0 → 2.174.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/components/Badge/Badge.js +7 -2
- package/lib/cjs/components/NumberField/NumberField.js +1 -4
- package/lib/cjs/components/NumberField/NumberField.test.js +26 -3
- package/lib/cjs/libs/astro/src/hooks/useGetTheme/useGetTheme.d.ts +2 -0
- package/lib/cjs/libs/astro/src/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
- package/lib/cjs/libs/astro/src/styles/themes/astro/customProperties/index.d.ts +1 -0
- package/lib/cjs/libs/astro/src/styles/themes/next-gen/customProperties/index.d.ts +1 -0
- package/lib/cjs/libs/astro/src/styles/themes/next-gen/next-gen.d.ts +44 -132
- package/lib/cjs/libs/astro/src/styles/themes/next-gen/variants/badges.d.ts +44 -132
- package/lib/cjs/libs/astro/tsconfig.lib.tsbuildinfo +1 -1
- package/lib/cjs/styles/themeOverrides/stories/NumberField.chromatic.stories.js +4 -1
- package/lib/cjs/styles/themes/astro/customProperties/index.js +3 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +2 -0
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +3 -8
- package/lib/components/Badge/Badge.js +7 -2
- package/lib/components/NumberField/NumberField.js +1 -4
- package/lib/components/NumberField/NumberField.test.js +26 -3
- package/lib/styles/themeOverrides/stories/NumberField.chromatic.stories.js +4 -1
- package/lib/styles/themes/astro/customProperties/index.js +3 -1
- package/lib/styles/themes/next-gen/customProperties/index.js +2 -0
- package/lib/styles/themes/next-gen/variants/badges.js +3 -8
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
21
21
|
var _themeUi = require("theme-ui");
|
|
22
22
|
var _ = require("../..");
|
|
23
23
|
var _BadgeContext = require("../../context/BadgeContext");
|
|
24
|
+
var _hooks = require("../../hooks");
|
|
24
25
|
var _react2 = require("@emotion/react");
|
|
25
26
|
var _excluded = ["align", "bg", "children", "isUppercase", "label", "sx", "slots", "textColor", "textProps", "variant"];
|
|
26
27
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -40,6 +41,8 @@ var Badge = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
|
|
|
40
41
|
textProps = props.textProps,
|
|
41
42
|
variant = props.variant,
|
|
42
43
|
others = (0, _objectWithoutProperties2["default"])(props, _excluded);
|
|
44
|
+
var _useGetTheme = (0, _hooks.useGetTheme)(),
|
|
45
|
+
badgeTextFontSize = _useGetTheme.badgeTextFontSize;
|
|
43
46
|
var badgeSx = _objectSpread(_objectSpread(_objectSpread({}, isUppercase && {
|
|
44
47
|
paddingBottom: '3px'
|
|
45
48
|
}), align && (0, _defineProperty2["default"])({
|
|
@@ -69,10 +72,12 @@ var Badge = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
|
|
|
69
72
|
}, slots.leftIcon), (0, _react2.jsx)(_.Text, (0, _extends2["default"])({
|
|
70
73
|
variant: "label",
|
|
71
74
|
color: textColor,
|
|
72
|
-
sx:
|
|
75
|
+
sx: _objectSpread({
|
|
76
|
+
fontSize: badgeTextFontSize || ''
|
|
77
|
+
}, isUppercase ? {
|
|
73
78
|
textTransform: 'uppercase',
|
|
74
79
|
fontSize: '11px'
|
|
75
|
-
} : {}
|
|
80
|
+
} : {})
|
|
76
81
|
}, textProps), label), children));
|
|
77
82
|
});
|
|
78
83
|
var _default = exports["default"] = Badge;
|
|
@@ -106,10 +106,7 @@ var NumberField = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
106
106
|
var helperTextId = (0, _uuid.v4)();
|
|
107
107
|
var updatedLabelProps = _objectSpread({}, (0, _reactAria.mergeProps)(fieldLabelProps, labelProps));
|
|
108
108
|
var inputPropsValue = inputProps.value || 0;
|
|
109
|
-
|
|
110
|
-
// extract numeric value in case input value use units like '4 inches' or 'USD 45.00'
|
|
111
|
-
// aria-valuenow accept only number value type
|
|
112
|
-
var inputPropsNumericValue = typeof inputPropsValue === 'string' ? inputPropsValue.match(/[-]{0,1}[\d]*[.]{0,1}[\d]+/g)[0] : inputPropsValue;
|
|
109
|
+
var inputPropsNumericValue = state.numberValue;
|
|
113
110
|
return (0, _react2.jsx)(_.Box, (0, _extends2["default"])({}, (0, _pendoID.getPendoID)('NumberField'), fieldContainerProps), (0, _react2.jsx)(_.Label, updatedLabelProps), (0, _react2.jsx)(_.Box, (0, _extends2["default"])({
|
|
114
111
|
variant: "forms.numberField.noDefaultArrows"
|
|
115
112
|
}, groupProps), (0, _react2.jsx)(_.Box, (0, _extends2["default"])({
|
|
@@ -21,7 +21,7 @@ var _testWrapper = require("../../utils/testUtils/testWrapper");
|
|
|
21
21
|
var _universalComponentTest = require("../../utils/testUtils/universalComponentTest");
|
|
22
22
|
var _universalFormSubmitTest = require("../../utils/testUtils/universalFormSubmitTest");
|
|
23
23
|
var _react3 = require("@emotion/react");
|
|
24
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof _Symbol ? _Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return _Object$defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = _Object$create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = _Object$getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(l); function g(t) { var
|
|
24
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof _Symbol ? _Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return _Object$defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = _Object$create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = _Object$getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(l); function g(t) { var _context9; _forEachInstanceProperty(_context9 = ["next", "throw", "return"]).call(_context9, function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == _typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i["return"] && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], _forEachInstanceProperty(t).call(t, w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return _Object$setPrototypeOf ? _Object$setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = _Object$create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = _Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { var _context0; if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, _forEachInstanceProperty(_context0 = this.tryEntries).call(_context0, m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+_sliceInstanceProperty(e).call(e, 1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, "catch": function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
25
25
|
var testId = 'test-NumberField';
|
|
26
26
|
var testLabel = 'test-NumberField-label';
|
|
27
27
|
var testValue = 5;
|
|
@@ -281,5 +281,28 @@ test('should extract numeric value from currency format and pass it to aria-valu
|
|
|
281
281
|
currencySign: 'accounting'
|
|
282
282
|
}
|
|
283
283
|
});
|
|
284
|
-
expect(_testWrapper.screen.getByRole('spinbutton')).toHaveAttribute('aria-valuenow', String(numericValue
|
|
285
|
-
});
|
|
284
|
+
expect(_testWrapper.screen.getByRole('spinbutton')).toHaveAttribute('aria-valuenow', String(numericValue));
|
|
285
|
+
});
|
|
286
|
+
it('allows typing a negative sign', /*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
287
|
+
var numericValue, numberInput;
|
|
288
|
+
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
289
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
290
|
+
case 0:
|
|
291
|
+
numericValue = 45;
|
|
292
|
+
getComponent({
|
|
293
|
+
defaultValue: numericValue
|
|
294
|
+
});
|
|
295
|
+
numberInput = _testWrapper.screen.queryAllByLabelText(testLabel)[1];
|
|
296
|
+
_context8.next = 5;
|
|
297
|
+
return _userEvent["default"].clear(numberInput);
|
|
298
|
+
case 5:
|
|
299
|
+
_context8.next = 7;
|
|
300
|
+
return _userEvent["default"].type(numberInput, '-45');
|
|
301
|
+
case 7:
|
|
302
|
+
expect(numberInput).toHaveValue('-45');
|
|
303
|
+
case 8:
|
|
304
|
+
case "end":
|
|
305
|
+
return _context8.stop();
|
|
306
|
+
}
|
|
307
|
+
}, _callee8);
|
|
308
|
+
})));
|
|
@@ -90,6 +90,7 @@ declare const useGetTheme: () => {
|
|
|
90
90
|
greyText: string;
|
|
91
91
|
};
|
|
92
92
|
linkSelectFieldWidth: string;
|
|
93
|
+
badgeTextFontSize: string;
|
|
93
94
|
themeState: {
|
|
94
95
|
isAstro: boolean;
|
|
95
96
|
isOnyx: boolean;
|
|
@@ -189,6 +190,7 @@ declare const useGetTheme: () => {
|
|
|
189
190
|
defaultIconSize: import("../..").IconSize;
|
|
190
191
|
calendarIconSize: import("../..").IconSize;
|
|
191
192
|
buttonLoaderSize: import("../..").LoaderSize;
|
|
193
|
+
badgeTextFontSize: string;
|
|
192
194
|
linkSelectFieldWidth: string;
|
|
193
195
|
themeState: {
|
|
194
196
|
isOnyx: boolean;
|
package/lib/cjs/libs/astro/src/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts
CHANGED
|
@@ -90,5 +90,6 @@ export declare const nextGenDarkThemeValues: {
|
|
|
90
90
|
defaultIconSize: import("../../../..").IconSize;
|
|
91
91
|
calendarIconSize: import("../../../..").IconSize;
|
|
92
92
|
buttonLoaderSize: import("../../../..").LoaderSize;
|
|
93
|
+
badgeTextFontSize: string;
|
|
93
94
|
linkSelectFieldWidth: string;
|
|
94
95
|
};
|
|
@@ -3195,8 +3195,7 @@ declare const _default: {
|
|
|
3195
3195
|
badges: {
|
|
3196
3196
|
baseBadge: {
|
|
3197
3197
|
'& span': {
|
|
3198
|
-
|
|
3199
|
-
fontWeight: any;
|
|
3198
|
+
fontWeight: string;
|
|
3200
3199
|
};
|
|
3201
3200
|
'& button': {
|
|
3202
3201
|
alignSelf: string;
|
|
@@ -3218,11 +3217,8 @@ declare const _default: {
|
|
|
3218
3217
|
};
|
|
3219
3218
|
alignItems: string;
|
|
3220
3219
|
justifyContent: string;
|
|
3221
|
-
|
|
3222
|
-
px: number;
|
|
3220
|
+
padding: string;
|
|
3223
3221
|
borderRadius: string;
|
|
3224
|
-
maxHeight: string;
|
|
3225
|
-
minHeight: string;
|
|
3226
3222
|
fontSize: string;
|
|
3227
3223
|
alignSelf: string;
|
|
3228
3224
|
display: string;
|
|
@@ -3231,8 +3227,7 @@ declare const _default: {
|
|
|
3231
3227
|
};
|
|
3232
3228
|
default: {
|
|
3233
3229
|
'& span': {
|
|
3234
|
-
|
|
3235
|
-
fontWeight: any;
|
|
3230
|
+
fontWeight: string;
|
|
3236
3231
|
};
|
|
3237
3232
|
'& button': {
|
|
3238
3233
|
alignSelf: string;
|
|
@@ -3254,11 +3249,8 @@ declare const _default: {
|
|
|
3254
3249
|
};
|
|
3255
3250
|
alignItems: string;
|
|
3256
3251
|
justifyContent: string;
|
|
3257
|
-
|
|
3258
|
-
px: number;
|
|
3252
|
+
padding: string;
|
|
3259
3253
|
borderRadius: string;
|
|
3260
|
-
maxHeight: string;
|
|
3261
|
-
minHeight: string;
|
|
3262
3254
|
fontSize: string;
|
|
3263
3255
|
alignSelf: string;
|
|
3264
3256
|
display: string;
|
|
@@ -3269,8 +3261,7 @@ declare const _default: {
|
|
|
3269
3261
|
backgroundColor: string;
|
|
3270
3262
|
color: string;
|
|
3271
3263
|
'& span': {
|
|
3272
|
-
|
|
3273
|
-
fontWeight: any;
|
|
3264
|
+
fontWeight: string;
|
|
3274
3265
|
};
|
|
3275
3266
|
'& button': {
|
|
3276
3267
|
alignSelf: string;
|
|
@@ -3292,11 +3283,8 @@ declare const _default: {
|
|
|
3292
3283
|
};
|
|
3293
3284
|
alignItems: string;
|
|
3294
3285
|
justifyContent: string;
|
|
3295
|
-
|
|
3296
|
-
px: number;
|
|
3286
|
+
padding: string;
|
|
3297
3287
|
borderRadius: string;
|
|
3298
|
-
maxHeight: string;
|
|
3299
|
-
minHeight: string;
|
|
3300
3288
|
fontSize: string;
|
|
3301
3289
|
alignSelf: string;
|
|
3302
3290
|
display: string;
|
|
@@ -3306,8 +3294,7 @@ declare const _default: {
|
|
|
3306
3294
|
backgroundColor: string;
|
|
3307
3295
|
'& span': {
|
|
3308
3296
|
color: string;
|
|
3309
|
-
|
|
3310
|
-
fontWeight: any;
|
|
3297
|
+
fontWeight: string;
|
|
3311
3298
|
};
|
|
3312
3299
|
'& button': {
|
|
3313
3300
|
alignSelf: string;
|
|
@@ -3329,11 +3316,8 @@ declare const _default: {
|
|
|
3329
3316
|
};
|
|
3330
3317
|
alignItems: string;
|
|
3331
3318
|
justifyContent: string;
|
|
3332
|
-
|
|
3333
|
-
px: number;
|
|
3319
|
+
padding: string;
|
|
3334
3320
|
borderRadius: string;
|
|
3335
|
-
maxHeight: string;
|
|
3336
|
-
minHeight: string;
|
|
3337
3321
|
fontSize: string;
|
|
3338
3322
|
alignSelf: string;
|
|
3339
3323
|
display: string;
|
|
@@ -3344,8 +3328,7 @@ declare const _default: {
|
|
|
3344
3328
|
backgroundColor: string;
|
|
3345
3329
|
color: string;
|
|
3346
3330
|
'& span': {
|
|
3347
|
-
|
|
3348
|
-
fontWeight: any;
|
|
3331
|
+
fontWeight: string;
|
|
3349
3332
|
};
|
|
3350
3333
|
'& button': {
|
|
3351
3334
|
alignSelf: string;
|
|
@@ -3367,11 +3350,8 @@ declare const _default: {
|
|
|
3367
3350
|
};
|
|
3368
3351
|
alignItems: string;
|
|
3369
3352
|
justifyContent: string;
|
|
3370
|
-
|
|
3371
|
-
px: number;
|
|
3353
|
+
padding: string;
|
|
3372
3354
|
borderRadius: string;
|
|
3373
|
-
maxHeight: string;
|
|
3374
|
-
minHeight: string;
|
|
3375
3355
|
fontSize: string;
|
|
3376
3356
|
alignSelf: string;
|
|
3377
3357
|
display: string;
|
|
@@ -3381,8 +3361,7 @@ declare const _default: {
|
|
|
3381
3361
|
backgroundColor: string;
|
|
3382
3362
|
color: string;
|
|
3383
3363
|
'& span': {
|
|
3384
|
-
|
|
3385
|
-
fontWeight: any;
|
|
3364
|
+
fontWeight: string;
|
|
3386
3365
|
};
|
|
3387
3366
|
'& button': {
|
|
3388
3367
|
alignSelf: string;
|
|
@@ -3404,11 +3383,8 @@ declare const _default: {
|
|
|
3404
3383
|
};
|
|
3405
3384
|
alignItems: string;
|
|
3406
3385
|
justifyContent: string;
|
|
3407
|
-
|
|
3408
|
-
px: number;
|
|
3386
|
+
padding: string;
|
|
3409
3387
|
borderRadius: string;
|
|
3410
|
-
maxHeight: string;
|
|
3411
|
-
minHeight: string;
|
|
3412
3388
|
fontSize: string;
|
|
3413
3389
|
alignSelf: string;
|
|
3414
3390
|
display: string;
|
|
@@ -3418,8 +3394,7 @@ declare const _default: {
|
|
|
3418
3394
|
backgroundColor: string;
|
|
3419
3395
|
color: string;
|
|
3420
3396
|
'& span': {
|
|
3421
|
-
|
|
3422
|
-
fontWeight: any;
|
|
3397
|
+
fontWeight: string;
|
|
3423
3398
|
};
|
|
3424
3399
|
'& button': {
|
|
3425
3400
|
alignSelf: string;
|
|
@@ -3441,11 +3416,8 @@ declare const _default: {
|
|
|
3441
3416
|
};
|
|
3442
3417
|
alignItems: string;
|
|
3443
3418
|
justifyContent: string;
|
|
3444
|
-
|
|
3445
|
-
px: number;
|
|
3419
|
+
padding: string;
|
|
3446
3420
|
borderRadius: string;
|
|
3447
|
-
maxHeight: string;
|
|
3448
|
-
minHeight: string;
|
|
3449
3421
|
fontSize: string;
|
|
3450
3422
|
alignSelf: string;
|
|
3451
3423
|
display: string;
|
|
@@ -3455,8 +3427,7 @@ declare const _default: {
|
|
|
3455
3427
|
backgroundColor: string;
|
|
3456
3428
|
color: string;
|
|
3457
3429
|
'& span': {
|
|
3458
|
-
|
|
3459
|
-
fontWeight: any;
|
|
3430
|
+
fontWeight: string;
|
|
3460
3431
|
};
|
|
3461
3432
|
'& button': {
|
|
3462
3433
|
alignSelf: string;
|
|
@@ -3478,11 +3449,8 @@ declare const _default: {
|
|
|
3478
3449
|
};
|
|
3479
3450
|
alignItems: string;
|
|
3480
3451
|
justifyContent: string;
|
|
3481
|
-
|
|
3482
|
-
px: number;
|
|
3452
|
+
padding: string;
|
|
3483
3453
|
borderRadius: string;
|
|
3484
|
-
maxHeight: string;
|
|
3485
|
-
minHeight: string;
|
|
3486
3454
|
fontSize: string;
|
|
3487
3455
|
alignSelf: string;
|
|
3488
3456
|
display: string;
|
|
@@ -3492,8 +3460,7 @@ declare const _default: {
|
|
|
3492
3460
|
backgroundColor: string;
|
|
3493
3461
|
color: string;
|
|
3494
3462
|
'& span': {
|
|
3495
|
-
|
|
3496
|
-
fontWeight: any;
|
|
3463
|
+
fontWeight: string;
|
|
3497
3464
|
};
|
|
3498
3465
|
'& button': {
|
|
3499
3466
|
alignSelf: string;
|
|
@@ -3515,11 +3482,8 @@ declare const _default: {
|
|
|
3515
3482
|
};
|
|
3516
3483
|
alignItems: string;
|
|
3517
3484
|
justifyContent: string;
|
|
3518
|
-
|
|
3519
|
-
px: number;
|
|
3485
|
+
padding: string;
|
|
3520
3486
|
borderRadius: string;
|
|
3521
|
-
maxHeight: string;
|
|
3522
|
-
minHeight: string;
|
|
3523
3487
|
fontSize: string;
|
|
3524
3488
|
alignSelf: string;
|
|
3525
3489
|
display: string;
|
|
@@ -3529,8 +3493,7 @@ declare const _default: {
|
|
|
3529
3493
|
backgroundColor: string;
|
|
3530
3494
|
color: string;
|
|
3531
3495
|
'& span': {
|
|
3532
|
-
|
|
3533
|
-
fontWeight: any;
|
|
3496
|
+
fontWeight: string;
|
|
3534
3497
|
};
|
|
3535
3498
|
'& button': {
|
|
3536
3499
|
alignSelf: string;
|
|
@@ -3552,11 +3515,8 @@ declare const _default: {
|
|
|
3552
3515
|
};
|
|
3553
3516
|
alignItems: string;
|
|
3554
3517
|
justifyContent: string;
|
|
3555
|
-
|
|
3556
|
-
px: number;
|
|
3518
|
+
padding: string;
|
|
3557
3519
|
borderRadius: string;
|
|
3558
|
-
maxHeight: string;
|
|
3559
|
-
minHeight: string;
|
|
3560
3520
|
fontSize: string;
|
|
3561
3521
|
alignSelf: string;
|
|
3562
3522
|
display: string;
|
|
@@ -3566,8 +3526,7 @@ declare const _default: {
|
|
|
3566
3526
|
backgroundColor: string;
|
|
3567
3527
|
color: string;
|
|
3568
3528
|
'& span': {
|
|
3569
|
-
|
|
3570
|
-
fontWeight: any;
|
|
3529
|
+
fontWeight: string;
|
|
3571
3530
|
};
|
|
3572
3531
|
'& button': {
|
|
3573
3532
|
alignSelf: string;
|
|
@@ -3589,11 +3548,8 @@ declare const _default: {
|
|
|
3589
3548
|
};
|
|
3590
3549
|
alignItems: string;
|
|
3591
3550
|
justifyContent: string;
|
|
3592
|
-
|
|
3593
|
-
px: number;
|
|
3551
|
+
padding: string;
|
|
3594
3552
|
borderRadius: string;
|
|
3595
|
-
maxHeight: string;
|
|
3596
|
-
minHeight: string;
|
|
3597
3553
|
fontSize: string;
|
|
3598
3554
|
alignSelf: string;
|
|
3599
3555
|
display: string;
|
|
@@ -3604,8 +3560,7 @@ declare const _default: {
|
|
|
3604
3560
|
paddingRight: string;
|
|
3605
3561
|
'& span': {
|
|
3606
3562
|
color: string;
|
|
3607
|
-
|
|
3608
|
-
fontWeight: any;
|
|
3563
|
+
fontWeight: string;
|
|
3609
3564
|
};
|
|
3610
3565
|
'& button': {
|
|
3611
3566
|
alignSelf: string;
|
|
@@ -3627,11 +3582,8 @@ declare const _default: {
|
|
|
3627
3582
|
};
|
|
3628
3583
|
alignItems: string;
|
|
3629
3584
|
justifyContent: string;
|
|
3630
|
-
|
|
3631
|
-
px: number;
|
|
3585
|
+
padding: string;
|
|
3632
3586
|
borderRadius: string;
|
|
3633
|
-
maxHeight: string;
|
|
3634
|
-
minHeight: string;
|
|
3635
3587
|
fontSize: string;
|
|
3636
3588
|
alignSelf: string;
|
|
3637
3589
|
display: string;
|
|
@@ -3645,8 +3597,7 @@ declare const _default: {
|
|
|
3645
3597
|
'& span': {
|
|
3646
3598
|
color: string;
|
|
3647
3599
|
lineHeight: string;
|
|
3648
|
-
|
|
3649
|
-
fontWeight: any;
|
|
3600
|
+
fontWeight: string;
|
|
3650
3601
|
};
|
|
3651
3602
|
'& button': {
|
|
3652
3603
|
alignSelf: string;
|
|
@@ -3668,11 +3619,8 @@ declare const _default: {
|
|
|
3668
3619
|
};
|
|
3669
3620
|
alignItems: string;
|
|
3670
3621
|
justifyContent: string;
|
|
3671
|
-
|
|
3672
|
-
px: number;
|
|
3622
|
+
padding: string;
|
|
3673
3623
|
borderRadius: string;
|
|
3674
|
-
maxHeight: string;
|
|
3675
|
-
minHeight: string;
|
|
3676
3624
|
fontSize: string;
|
|
3677
3625
|
alignSelf: string;
|
|
3678
3626
|
display: string;
|
|
@@ -3683,8 +3631,7 @@ declare const _default: {
|
|
|
3683
3631
|
'& span': {
|
|
3684
3632
|
color: string;
|
|
3685
3633
|
lineHeight: string;
|
|
3686
|
-
|
|
3687
|
-
fontWeight: any;
|
|
3634
|
+
fontWeight: string;
|
|
3688
3635
|
};
|
|
3689
3636
|
border: string;
|
|
3690
3637
|
borderColor: string;
|
|
@@ -3709,11 +3656,8 @@ declare const _default: {
|
|
|
3709
3656
|
};
|
|
3710
3657
|
alignItems: string;
|
|
3711
3658
|
justifyContent: string;
|
|
3712
|
-
|
|
3713
|
-
px: number;
|
|
3659
|
+
padding: string;
|
|
3714
3660
|
borderRadius: string;
|
|
3715
|
-
maxHeight: string;
|
|
3716
|
-
minHeight: string;
|
|
3717
3661
|
fontSize: string;
|
|
3718
3662
|
alignSelf: string;
|
|
3719
3663
|
display: string;
|
|
@@ -3726,8 +3670,7 @@ declare const _default: {
|
|
|
3726
3670
|
backgroundColor: string;
|
|
3727
3671
|
color: string;
|
|
3728
3672
|
'& span': {
|
|
3729
|
-
|
|
3730
|
-
fontWeight: any;
|
|
3673
|
+
fontWeight: string;
|
|
3731
3674
|
};
|
|
3732
3675
|
'& button': {
|
|
3733
3676
|
alignSelf: string;
|
|
@@ -3749,11 +3692,8 @@ declare const _default: {
|
|
|
3749
3692
|
};
|
|
3750
3693
|
alignItems: string;
|
|
3751
3694
|
justifyContent: string;
|
|
3752
|
-
|
|
3753
|
-
px: number;
|
|
3695
|
+
padding: string;
|
|
3754
3696
|
borderRadius: string;
|
|
3755
|
-
maxHeight: string;
|
|
3756
|
-
minHeight: string;
|
|
3757
3697
|
fontSize: string;
|
|
3758
3698
|
alignSelf: string;
|
|
3759
3699
|
display: string;
|
|
@@ -3765,8 +3705,7 @@ declare const _default: {
|
|
|
3765
3705
|
backgroundColor: string;
|
|
3766
3706
|
color: string;
|
|
3767
3707
|
'& span': {
|
|
3768
|
-
|
|
3769
|
-
fontWeight: any;
|
|
3708
|
+
fontWeight: string;
|
|
3770
3709
|
};
|
|
3771
3710
|
'& button': {
|
|
3772
3711
|
alignSelf: string;
|
|
@@ -3788,11 +3727,8 @@ declare const _default: {
|
|
|
3788
3727
|
};
|
|
3789
3728
|
alignItems: string;
|
|
3790
3729
|
justifyContent: string;
|
|
3791
|
-
|
|
3792
|
-
px: number;
|
|
3730
|
+
padding: string;
|
|
3793
3731
|
borderRadius: string;
|
|
3794
|
-
maxHeight: string;
|
|
3795
|
-
minHeight: string;
|
|
3796
3732
|
fontSize: string;
|
|
3797
3733
|
alignSelf: string;
|
|
3798
3734
|
display: string;
|
|
@@ -3804,8 +3740,7 @@ declare const _default: {
|
|
|
3804
3740
|
backgroundColor: string;
|
|
3805
3741
|
color: string;
|
|
3806
3742
|
'& span': {
|
|
3807
|
-
|
|
3808
|
-
fontWeight: any;
|
|
3743
|
+
fontWeight: string;
|
|
3809
3744
|
};
|
|
3810
3745
|
'& button': {
|
|
3811
3746
|
alignSelf: string;
|
|
@@ -3827,11 +3762,8 @@ declare const _default: {
|
|
|
3827
3762
|
};
|
|
3828
3763
|
alignItems: string;
|
|
3829
3764
|
justifyContent: string;
|
|
3830
|
-
|
|
3831
|
-
px: number;
|
|
3765
|
+
padding: string;
|
|
3832
3766
|
borderRadius: string;
|
|
3833
|
-
maxHeight: string;
|
|
3834
|
-
minHeight: string;
|
|
3835
3767
|
fontSize: string;
|
|
3836
3768
|
alignSelf: string;
|
|
3837
3769
|
display: string;
|
|
@@ -3843,8 +3775,7 @@ declare const _default: {
|
|
|
3843
3775
|
backgroundColor: string;
|
|
3844
3776
|
color: string;
|
|
3845
3777
|
'& span': {
|
|
3846
|
-
|
|
3847
|
-
fontWeight: any;
|
|
3778
|
+
fontWeight: string;
|
|
3848
3779
|
};
|
|
3849
3780
|
'& button': {
|
|
3850
3781
|
alignSelf: string;
|
|
@@ -3866,11 +3797,8 @@ declare const _default: {
|
|
|
3866
3797
|
};
|
|
3867
3798
|
alignItems: string;
|
|
3868
3799
|
justifyContent: string;
|
|
3869
|
-
|
|
3870
|
-
px: number;
|
|
3800
|
+
padding: string;
|
|
3871
3801
|
borderRadius: string;
|
|
3872
|
-
maxHeight: string;
|
|
3873
|
-
minHeight: string;
|
|
3874
3802
|
fontSize: string;
|
|
3875
3803
|
alignSelf: string;
|
|
3876
3804
|
display: string;
|
|
@@ -3882,8 +3810,7 @@ declare const _default: {
|
|
|
3882
3810
|
backgroundColor: string;
|
|
3883
3811
|
color: string;
|
|
3884
3812
|
'& span': {
|
|
3885
|
-
|
|
3886
|
-
fontWeight: any;
|
|
3813
|
+
fontWeight: string;
|
|
3887
3814
|
};
|
|
3888
3815
|
'& button': {
|
|
3889
3816
|
alignSelf: string;
|
|
@@ -3905,11 +3832,8 @@ declare const _default: {
|
|
|
3905
3832
|
};
|
|
3906
3833
|
alignItems: string;
|
|
3907
3834
|
justifyContent: string;
|
|
3908
|
-
|
|
3909
|
-
px: number;
|
|
3835
|
+
padding: string;
|
|
3910
3836
|
borderRadius: string;
|
|
3911
|
-
maxHeight: string;
|
|
3912
|
-
minHeight: string;
|
|
3913
3837
|
fontSize: string;
|
|
3914
3838
|
alignSelf: string;
|
|
3915
3839
|
display: string;
|
|
@@ -3951,8 +3875,7 @@ declare const _default: {
|
|
|
3951
3875
|
border: string;
|
|
3952
3876
|
'& span': {
|
|
3953
3877
|
color: string;
|
|
3954
|
-
|
|
3955
|
-
fontWeight: any;
|
|
3878
|
+
fontWeight: string;
|
|
3956
3879
|
};
|
|
3957
3880
|
'& svg': {
|
|
3958
3881
|
fill: string;
|
|
@@ -3974,11 +3897,8 @@ declare const _default: {
|
|
|
3974
3897
|
};
|
|
3975
3898
|
alignItems: string;
|
|
3976
3899
|
justifyContent: string;
|
|
3977
|
-
|
|
3978
|
-
px: number;
|
|
3900
|
+
padding: string;
|
|
3979
3901
|
borderRadius: string;
|
|
3980
|
-
maxHeight: string;
|
|
3981
|
-
minHeight: string;
|
|
3982
3902
|
fontSize: string;
|
|
3983
3903
|
alignSelf: string;
|
|
3984
3904
|
display: string;
|
|
@@ -3990,8 +3910,7 @@ declare const _default: {
|
|
|
3990
3910
|
backgroundColor: string;
|
|
3991
3911
|
color: string;
|
|
3992
3912
|
'& span': {
|
|
3993
|
-
|
|
3994
|
-
fontWeight: any;
|
|
3913
|
+
fontWeight: string;
|
|
3995
3914
|
};
|
|
3996
3915
|
'& button': {
|
|
3997
3916
|
alignSelf: string;
|
|
@@ -4013,11 +3932,8 @@ declare const _default: {
|
|
|
4013
3932
|
};
|
|
4014
3933
|
alignItems: string;
|
|
4015
3934
|
justifyContent: string;
|
|
4016
|
-
|
|
4017
|
-
px: number;
|
|
3935
|
+
padding: string;
|
|
4018
3936
|
borderRadius: string;
|
|
4019
|
-
maxHeight: string;
|
|
4020
|
-
minHeight: string;
|
|
4021
3937
|
fontSize: string;
|
|
4022
3938
|
alignSelf: string;
|
|
4023
3939
|
display: string;
|
|
@@ -4027,8 +3943,7 @@ declare const _default: {
|
|
|
4027
3943
|
backgroundColor: string;
|
|
4028
3944
|
color: string;
|
|
4029
3945
|
'& span': {
|
|
4030
|
-
|
|
4031
|
-
fontWeight: any;
|
|
3946
|
+
fontWeight: string;
|
|
4032
3947
|
};
|
|
4033
3948
|
'& button': {
|
|
4034
3949
|
alignSelf: string;
|
|
@@ -4050,11 +3965,8 @@ declare const _default: {
|
|
|
4050
3965
|
};
|
|
4051
3966
|
alignItems: string;
|
|
4052
3967
|
justifyContent: string;
|
|
4053
|
-
|
|
4054
|
-
px: number;
|
|
3968
|
+
padding: string;
|
|
4055
3969
|
borderRadius: string;
|
|
4056
|
-
maxHeight: string;
|
|
4057
|
-
minHeight: string;
|
|
4058
3970
|
fontSize: string;
|
|
4059
3971
|
alignSelf: string;
|
|
4060
3972
|
display: string;
|