@pingux/astro 2.36.0-alpha.2 → 2.36.0-alpha.4
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.d.ts +4 -0
- package/lib/cjs/components/Badge/Badge.js +5 -31
- package/lib/cjs/components/Badge/Badge.stories.js +1 -1
- package/lib/cjs/components/Badge/Badge.styles.d.ts +781 -0
- package/lib/cjs/components/Badge/Badge.test.d.ts +1 -0
- package/lib/cjs/components/Badge/index.d.ts +1 -0
- package/lib/cjs/components/Box/Box.stories.js +1 -1
- package/lib/cjs/components/DataTable/DataTable.js +1 -1
- package/lib/cjs/components/DataTable/DataTable.test.js +20 -0
- package/lib/cjs/components/DataTable/DataTableVirtualizer.js +0 -1
- package/lib/cjs/context/BadgeContext/index.d.ts +2 -0
- package/lib/cjs/hooks/useField/useField.d.ts +24 -24
- package/lib/cjs/hooks/useRockerButton/useRockerButton.d.ts +3 -3
- package/lib/cjs/styles/ColorDocumentation.js +1 -1
- package/lib/cjs/styles/colors.d.ts +302 -0
- package/lib/cjs/types/badge.d.ts +27 -0
- package/lib/cjs/types/badge.js +6 -0
- package/lib/cjs/types/index.d.ts +1 -0
- package/lib/cjs/types/index.js +21 -10
- package/lib/cjs/utils/testUtils/universalComponentTest.js +28 -26
- package/lib/components/Badge/Badge.js +5 -31
- package/lib/components/Badge/Badge.stories.js +1 -1
- package/lib/components/Box/Box.stories.js +1 -1
- package/lib/components/DataTable/DataTable.js +2 -2
- package/lib/components/DataTable/DataTable.test.js +20 -0
- package/lib/components/DataTable/DataTableVirtualizer.js +0 -1
- package/lib/styles/ColorDocumentation.js +1 -1
- package/lib/types/badge.js +1 -0
- package/lib/types/index.js +1 -0
- package/lib/utils/testUtils/universalComponentTest.js +28 -26
- package/package.json +2 -1
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './Badge';
|
@@ -13,7 +13,7 @@ var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable
|
|
13
13
|
var _react = _interopRequireDefault(require("react"));
|
14
14
|
var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
|
15
15
|
var _index = require("../../index");
|
16
|
-
var _colors = require("../../styles/colors
|
16
|
+
var _colors = require("../../styles/colors");
|
17
17
|
var _htmlElements = require("../../utils/devUtils/constants/htmlElements");
|
18
18
|
var _images = require("../../utils/devUtils/constants/images");
|
19
19
|
var _Box = _interopRequireDefault(require("./Box.mdx"));
|
@@ -88,7 +88,7 @@ var DataTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
88
88
|
// entering resizing/exiting resizing doesn't trigger a render
|
89
89
|
// with table layout, so we need to track it here
|
90
90
|
var state = (0, _table2.useTableState)(_objectSpread({}, props));
|
91
|
-
var domRef = (0,
|
91
|
+
var domRef = (0, _hooks.useLocalOrForwardRef)(ref);
|
92
92
|
var headerRef = (0, _react.useRef)();
|
93
93
|
var bodyRef = (0, _react.useRef)();
|
94
94
|
var density = props.density || 'regular';
|
@@ -33,6 +33,7 @@ var _i18n = require("@react-aria/i18n");
|
|
33
33
|
var _react2 = require("@testing-library/react");
|
34
34
|
var _reactHooks = require("@testing-library/react-hooks");
|
35
35
|
var _index = require("../../index");
|
36
|
+
var _universalComponentTest = require("../../utils/testUtils/universalComponentTest");
|
36
37
|
var _DataTable = _interopRequireDefault(require("./DataTable"));
|
37
38
|
var _react3 = require("@emotion/react");
|
38
39
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = _Object$defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof _Symbol ? _Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return _Object$defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = _Object$create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = _Object$getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(IteratorPrototype); function defineIteratorMethods(prototype) { var _context38; _forEachInstanceProperty(_context38 = ["next", "throw", "return"]).call(_context38, function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], _forEachInstanceProperty(tryLocsList).call(tryLocsList, pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return _Object$setPrototypeOf ? _Object$setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = _Object$create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = _Promise2); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return _reverseInstanceProperty(keys).call(keys), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { var _context39; if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, _forEachInstanceProperty(_context39 = this.tryEntries).call(_context39, resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+_sliceInstanceProperty(name).call(name, 1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
@@ -1141,4 +1142,23 @@ describe('Empty DataTable', function () {
|
|
1141
1142
|
expect(staticTable).toBeVisible();
|
1142
1143
|
expect(tRows).toBeInTheDocument();
|
1143
1144
|
});
|
1145
|
+
});
|
1146
|
+
|
1147
|
+
// Needs to be added to each components test file
|
1148
|
+
(0, _universalComponentTest.universalComponentTests)({
|
1149
|
+
renderComponent: function renderComponent(props) {
|
1150
|
+
return (0, _react3.jsx)(_DataTable["default"], (0, _extends2["default"])({}, props, {
|
1151
|
+
"aria-label": "label"
|
1152
|
+
}), (0, _react3.jsx)(_index.DataTableHeader, {
|
1153
|
+
columns: [columns[0]]
|
1154
|
+
}, (0, _react3.jsx)(_index.DataTableColumn, {
|
1155
|
+
align: "center"
|
1156
|
+
}, columns[0].name)), (0, _react3.jsx)(_index.DataTableBody, {
|
1157
|
+
items: rows
|
1158
|
+
}, function (item) {
|
1159
|
+
return (0, _react3.jsx)(_index.DataTableRow, null, function (columnKey) {
|
1160
|
+
return (0, _react3.jsx)(_index.DataTableCell, null, item[columnKey]);
|
1161
|
+
});
|
1162
|
+
}));
|
1163
|
+
}
|
1144
1164
|
});
|
@@ -115,7 +115,6 @@ var DataTableVirtualizer = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, r
|
|
115
115
|
},
|
116
116
|
ref: headerRef
|
117
117
|
}, state.visibleViews[0]), (0, _react2.jsx)(_virtualizer.ScrollView, {
|
118
|
-
role: "presentation",
|
119
118
|
variant: "dataTable.tableBody",
|
120
119
|
style: {
|
121
120
|
flex: 1
|
@@ -118,8 +118,7 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
118
118
|
variant?: string | undefined;
|
119
119
|
as?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
|
120
120
|
style?: string | import("react").CSSProperties | undefined;
|
121
|
-
|
122
|
-
left?: import("theme-ui").StylePropertyValue<import("csstype").Property.Left<string | number> | undefined>;
|
121
|
+
border?: import("theme-ui").StylePropertyValue<import("csstype").Property.Border<string | number> | undefined>;
|
123
122
|
grid?: import("theme-ui").StylePropertyValue<import("csstype").Property.Grid | undefined>;
|
124
123
|
accentColor?: import("theme-ui").StylePropertyValue<import("csstype").Property.AccentColor | undefined>;
|
125
124
|
alignContent?: import("theme-ui").StylePropertyValue<import("csstype").Property.AlignContent | undefined>;
|
@@ -230,6 +229,7 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
230
229
|
flexGrow?: import("theme-ui").StylePropertyValue<import("csstype").Property.FlexGrow | undefined>;
|
231
230
|
flexShrink?: import("theme-ui").StylePropertyValue<import("csstype").Property.FlexShrink | undefined>;
|
232
231
|
flexWrap?: import("theme-ui").StylePropertyValue<import("csstype").Property.FlexWrap | undefined>;
|
232
|
+
float?: import("theme-ui").StylePropertyValue<import("csstype").Property.Float | undefined>;
|
233
233
|
fontFamily?: import("theme-ui").StylePropertyValue<import("csstype").Property.FontFamily | undefined>;
|
234
234
|
fontFeatureSettings?: import("theme-ui").StylePropertyValue<import("csstype").Property.FontFeatureSettings | undefined>;
|
235
235
|
fontKerning?: import("theme-ui").StylePropertyValue<import("csstype").Property.FontKerning | undefined>;
|
@@ -282,6 +282,7 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
282
282
|
justifyItems?: import("theme-ui").StylePropertyValue<import("csstype").Property.JustifyItems | undefined>;
|
283
283
|
justifySelf?: import("theme-ui").StylePropertyValue<import("csstype").Property.JustifySelf | undefined>;
|
284
284
|
justifyTracks?: import("theme-ui").StylePropertyValue<import("csstype").Property.JustifyTracks | undefined>;
|
285
|
+
left?: import("theme-ui").StylePropertyValue<import("csstype").Property.Left<string | number> | undefined>;
|
285
286
|
letterSpacing?: import("theme-ui").StylePropertyValue<import("csstype").Property.LetterSpacing<string | number> | undefined>;
|
286
287
|
lineBreak?: import("theme-ui").StylePropertyValue<import("csstype").Property.LineBreak | undefined>;
|
287
288
|
lineHeight?: import("theme-ui").StylePropertyValue<import("csstype").Property.LineHeight<string | number> | undefined>;
|
@@ -474,7 +475,6 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
474
475
|
animation?: import("theme-ui").StylePropertyValue<import("csstype").Property.Animation<string & {}> | undefined>;
|
475
476
|
background?: import("theme-ui").StylePropertyValue<import("csstype").Property.Background<string | number> | undefined>;
|
476
477
|
backgroundPosition?: import("theme-ui").StylePropertyValue<import("csstype").Property.BackgroundPosition<string | number> | undefined>;
|
477
|
-
border?: import("theme-ui").StylePropertyValue<import("csstype").Property.Border<string | number> | undefined>;
|
478
478
|
borderBlock?: import("theme-ui").StylePropertyValue<import("csstype").Property.BorderBlock<string | number> | undefined>;
|
479
479
|
borderBlockEnd?: import("theme-ui").StylePropertyValue<import("csstype").Property.BorderBlockEnd<string | number> | undefined>;
|
480
480
|
borderBlockStart?: import("theme-ui").StylePropertyValue<import("csstype").Property.BorderBlockStart<string | number> | undefined>;
|
@@ -846,12 +846,12 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
846
846
|
'aria-description'?: string | undefined;
|
847
847
|
'aria-details'?: string | undefined;
|
848
848
|
'aria-disabled'?: (boolean | "false" | "true") | undefined;
|
849
|
-
'aria-dropeffect'?: "link" | "
|
849
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
850
850
|
'aria-errormessage'?: string | undefined;
|
851
851
|
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
852
852
|
'aria-flowto'?: string | undefined;
|
853
853
|
'aria-grabbed'?: (boolean | "false" | "true") | undefined;
|
854
|
-
'aria-haspopup'?: boolean | "dialog" | "
|
854
|
+
'aria-haspopup'?: boolean | "dialog" | "grid" | "listbox" | "menu" | "tree" | "false" | "true" | undefined;
|
855
855
|
'aria-hidden'?: (boolean | "false" | "true") | undefined;
|
856
856
|
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
857
857
|
'aria-keyshortcuts'?: string | undefined;
|
@@ -868,7 +868,7 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
868
868
|
'aria-posinset'?: number | undefined;
|
869
869
|
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
870
870
|
'aria-readonly'?: (boolean | "false" | "true") | undefined;
|
871
|
-
'aria-relevant'?: "
|
871
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
872
872
|
'aria-required'?: (boolean | "false" | "true") | undefined;
|
873
873
|
'aria-roledescription'?: string | undefined;
|
874
874
|
'aria-rowcount'?: number | undefined;
|
@@ -1050,14 +1050,12 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
1050
1050
|
onTransitionEndCapture?: import("react").TransitionEventHandler<import("../../types").FocusableElement> | undefined;
|
1051
1051
|
};
|
1052
1052
|
fieldLabelProps: {
|
1053
|
-
labelMode?: "
|
1053
|
+
labelMode?: "float" | "left" | "default" | undefined;
|
1054
1054
|
statusClasses?: {
|
1055
1055
|
[className: string]: boolean;
|
1056
1056
|
} | undefined;
|
1057
|
+
key?: Key | null | undefined;
|
1057
1058
|
form?: string | undefined;
|
1058
|
-
slot?: string | undefined;
|
1059
|
-
style?: import("react").CSSProperties | undefined;
|
1060
|
-
title?: string | undefined;
|
1061
1059
|
role?: import("react").AriaRole | undefined;
|
1062
1060
|
className: string;
|
1063
1061
|
'aria-activedescendant'?: string | undefined;
|
@@ -1077,12 +1075,12 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
1077
1075
|
'aria-description'?: string | undefined;
|
1078
1076
|
'aria-details'?: string | undefined;
|
1079
1077
|
'aria-disabled'?: (boolean | "false" | "true") | undefined;
|
1080
|
-
'aria-dropeffect'?: "link" | "
|
1078
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
1081
1079
|
'aria-errormessage'?: string | undefined;
|
1082
1080
|
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
1083
1081
|
'aria-flowto'?: string | undefined;
|
1084
1082
|
'aria-grabbed'?: (boolean | "false" | "true") | undefined;
|
1085
|
-
'aria-haspopup'?: boolean | "dialog" | "
|
1083
|
+
'aria-haspopup'?: boolean | "dialog" | "grid" | "listbox" | "menu" | "tree" | "false" | "true" | undefined;
|
1086
1084
|
'aria-hidden'?: (boolean | "false" | "true") | undefined;
|
1087
1085
|
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
1088
1086
|
'aria-keyshortcuts'?: string | undefined;
|
@@ -1099,7 +1097,7 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
1099
1097
|
'aria-posinset'?: number | undefined;
|
1100
1098
|
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
1101
1099
|
'aria-readonly'?: (boolean | "false" | "true") | undefined;
|
1102
|
-
'aria-relevant'?: "
|
1100
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
1103
1101
|
'aria-required'?: (boolean | "false" | "true") | undefined;
|
1104
1102
|
'aria-roledescription'?: string | undefined;
|
1105
1103
|
'aria-rowcount'?: number | undefined;
|
@@ -1116,7 +1114,9 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
1116
1114
|
color?: string | undefined;
|
1117
1115
|
content?: string | undefined;
|
1118
1116
|
translate?: "yes" | "no" | undefined;
|
1119
|
-
|
1117
|
+
style?: import("react").CSSProperties | undefined;
|
1118
|
+
slot?: string | undefined;
|
1119
|
+
title?: string | undefined;
|
1120
1120
|
defaultChecked?: boolean | undefined;
|
1121
1121
|
defaultValue?: string | number | readonly string[] | undefined;
|
1122
1122
|
suppressContentEditableWarning?: boolean | undefined;
|
@@ -1156,7 +1156,7 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
1156
1156
|
results?: number | undefined;
|
1157
1157
|
security?: string | undefined;
|
1158
1158
|
unselectable?: "off" | "on" | undefined;
|
1159
|
-
inputMode?: "
|
1159
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
1160
1160
|
is?: string | undefined;
|
1161
1161
|
children: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined;
|
1162
1162
|
dangerouslySetInnerHTML?: {
|
@@ -1365,14 +1365,12 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
1365
1365
|
isRequired: boolean | undefined;
|
1366
1366
|
mode: string | undefined;
|
1367
1367
|
} | {
|
1368
|
-
labelMode?: "
|
1368
|
+
labelMode?: "float" | "left" | "default" | undefined;
|
1369
1369
|
statusClasses?: {
|
1370
1370
|
[className: string]: boolean;
|
1371
1371
|
} | undefined;
|
1372
|
+
key?: Key | null | undefined;
|
1372
1373
|
form?: string | undefined;
|
1373
|
-
slot?: string | undefined;
|
1374
|
-
style?: import("react").CSSProperties | undefined;
|
1375
|
-
title?: string | undefined;
|
1376
1374
|
role?: import("react").AriaRole | undefined;
|
1377
1375
|
className: string;
|
1378
1376
|
'aria-activedescendant'?: string | undefined;
|
@@ -1392,12 +1390,12 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
1392
1390
|
'aria-description'?: string | undefined;
|
1393
1391
|
'aria-details'?: string | undefined;
|
1394
1392
|
'aria-disabled'?: (boolean | "false" | "true") | undefined;
|
1395
|
-
'aria-dropeffect'?: "link" | "
|
1393
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
1396
1394
|
'aria-errormessage'?: string | undefined;
|
1397
1395
|
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
1398
1396
|
'aria-flowto'?: string | undefined;
|
1399
1397
|
'aria-grabbed'?: (boolean | "false" | "true") | undefined;
|
1400
|
-
'aria-haspopup'?: boolean | "dialog" | "
|
1398
|
+
'aria-haspopup'?: boolean | "dialog" | "grid" | "listbox" | "menu" | "tree" | "false" | "true" | undefined;
|
1401
1399
|
'aria-hidden'?: (boolean | "false" | "true") | undefined;
|
1402
1400
|
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
1403
1401
|
'aria-keyshortcuts'?: string | undefined;
|
@@ -1414,7 +1412,7 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
1414
1412
|
'aria-posinset'?: number | undefined;
|
1415
1413
|
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
1416
1414
|
'aria-readonly'?: (boolean | "false" | "true") | undefined;
|
1417
|
-
'aria-relevant'?: "
|
1415
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
1418
1416
|
'aria-required'?: (boolean | "false" | "true") | undefined;
|
1419
1417
|
'aria-roledescription'?: string | undefined;
|
1420
1418
|
'aria-rowcount'?: number | undefined;
|
@@ -1431,7 +1429,9 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
1431
1429
|
color?: string | undefined;
|
1432
1430
|
content?: string | undefined;
|
1433
1431
|
translate?: "yes" | "no" | undefined;
|
1434
|
-
|
1432
|
+
style?: import("react").CSSProperties | undefined;
|
1433
|
+
slot?: string | undefined;
|
1434
|
+
title?: string | undefined;
|
1435
1435
|
defaultChecked?: boolean | undefined;
|
1436
1436
|
defaultValue?: string | number | readonly string[] | undefined;
|
1437
1437
|
suppressContentEditableWarning?: boolean | undefined;
|
@@ -1471,7 +1471,7 @@ declare const useField: <T>(props: UseFieldProps<T>) => {
|
|
1471
1471
|
results?: number | undefined;
|
1472
1472
|
security?: string | undefined;
|
1473
1473
|
unselectable?: "off" | "on" | undefined;
|
1474
|
-
inputMode?: "
|
1474
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
1475
1475
|
is?: string | undefined;
|
1476
1476
|
children: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined;
|
1477
1477
|
dangerouslySetInnerHTML?: {
|
@@ -35,12 +35,12 @@ declare const useRockerButton: (props: RockerButtonProps, state: {
|
|
35
35
|
'aria-describedby'?: string | undefined;
|
36
36
|
'aria-description'?: string | undefined;
|
37
37
|
'aria-details'?: string | undefined;
|
38
|
-
'aria-dropeffect'?: "link" | "
|
38
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
39
39
|
'aria-errormessage'?: string | undefined;
|
40
40
|
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
41
41
|
'aria-flowto'?: string | undefined;
|
42
42
|
'aria-grabbed'?: (boolean | "false" | "true") | undefined;
|
43
|
-
'aria-haspopup'?: boolean | "dialog" | "
|
43
|
+
'aria-haspopup'?: boolean | "dialog" | "grid" | "listbox" | "menu" | "tree" | "false" | "true" | undefined;
|
44
44
|
'aria-hidden'?: (boolean | "false" | "true") | undefined;
|
45
45
|
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
46
46
|
'aria-keyshortcuts'?: string | undefined;
|
@@ -56,7 +56,7 @@ declare const useRockerButton: (props: RockerButtonProps, state: {
|
|
56
56
|
'aria-placeholder'?: string | undefined;
|
57
57
|
'aria-posinset'?: number | undefined;
|
58
58
|
'aria-readonly'?: (boolean | "false" | "true") | undefined;
|
59
|
-
'aria-relevant'?: "
|
59
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
60
60
|
'aria-required'?: (boolean | "false" | "true") | undefined;
|
61
61
|
'aria-roledescription'?: string | undefined;
|
62
62
|
'aria-rowcount'?: number | undefined;
|
@@ -25,7 +25,7 @@ var _Box = _interopRequireDefault(require("../components/Box"));
|
|
25
25
|
var _SelectField = _interopRequireDefault(require("../components/SelectField"));
|
26
26
|
var _Text = _interopRequireDefault(require("../components/Text"));
|
27
27
|
var _TextField = _interopRequireDefault(require("../components/TextField"));
|
28
|
-
var _colors = require("./colors
|
28
|
+
var _colors = require("./colors");
|
29
29
|
var _react2 = require("@emotion/react");
|
30
30
|
function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
31
31
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
@@ -0,0 +1,302 @@
|
|
1
|
+
export declare const active = "#4462ED";
|
2
|
+
export declare const critical: {
|
3
|
+
bright: string;
|
4
|
+
dark: string;
|
5
|
+
light: string;
|
6
|
+
primaryDark: string;
|
7
|
+
secondaryDark: string;
|
8
|
+
};
|
9
|
+
export declare const success: {
|
10
|
+
bright: string;
|
11
|
+
dark: string;
|
12
|
+
light: string;
|
13
|
+
};
|
14
|
+
export declare const warning: {
|
15
|
+
bright: string;
|
16
|
+
dark: string;
|
17
|
+
light: string;
|
18
|
+
};
|
19
|
+
export declare const black = "#000";
|
20
|
+
export declare const white = "#fff";
|
21
|
+
export declare const neutral: {
|
22
|
+
10: string;
|
23
|
+
20: string;
|
24
|
+
30: string;
|
25
|
+
40: string;
|
26
|
+
50: string;
|
27
|
+
60: string;
|
28
|
+
70: string;
|
29
|
+
80: string;
|
30
|
+
90: string;
|
31
|
+
95: string;
|
32
|
+
};
|
33
|
+
export declare const accent: {
|
34
|
+
5: string;
|
35
|
+
10: string;
|
36
|
+
20: string;
|
37
|
+
30: string;
|
38
|
+
40: string;
|
39
|
+
50: string;
|
40
|
+
60: string;
|
41
|
+
70: string;
|
42
|
+
80: string;
|
43
|
+
90: string;
|
44
|
+
95: string;
|
45
|
+
99: string;
|
46
|
+
};
|
47
|
+
export declare const decorative: any[];
|
48
|
+
export declare const decorativeDark: string[];
|
49
|
+
export declare const decorativeLight: string[];
|
50
|
+
export declare const getDarkerColor: (color: string, percentage: number) => string;
|
51
|
+
export declare const focus: string;
|
52
|
+
export declare const button: {
|
53
|
+
primary: string;
|
54
|
+
border: string;
|
55
|
+
label: string;
|
56
|
+
hoverBorder: {
|
57
|
+
5: string;
|
58
|
+
10: string;
|
59
|
+
20: string;
|
60
|
+
30: string;
|
61
|
+
40: string;
|
62
|
+
50: string;
|
63
|
+
60: string;
|
64
|
+
70: string;
|
65
|
+
80: string;
|
66
|
+
90: string;
|
67
|
+
95: string;
|
68
|
+
99: string;
|
69
|
+
};
|
70
|
+
hoverLabel: {
|
71
|
+
5: string;
|
72
|
+
10: string;
|
73
|
+
20: string;
|
74
|
+
30: string;
|
75
|
+
40: string;
|
76
|
+
50: string;
|
77
|
+
60: string;
|
78
|
+
70: string;
|
79
|
+
80: string;
|
80
|
+
90: string;
|
81
|
+
95: string;
|
82
|
+
99: string;
|
83
|
+
};
|
84
|
+
hoverBackground: string;
|
85
|
+
focus: string;
|
86
|
+
};
|
87
|
+
export declare const line: {
|
88
|
+
regular: string;
|
89
|
+
light: string;
|
90
|
+
hairline: string;
|
91
|
+
};
|
92
|
+
export declare const text: {
|
93
|
+
primary: string;
|
94
|
+
secondary: string;
|
95
|
+
primaryLight: string;
|
96
|
+
secondaryLight: string;
|
97
|
+
button: string;
|
98
|
+
active: string;
|
99
|
+
};
|
100
|
+
export declare const shadow: string;
|
101
|
+
declare const allColors: {
|
102
|
+
black: string;
|
103
|
+
white: string;
|
104
|
+
neutral: {
|
105
|
+
10: string;
|
106
|
+
20: string;
|
107
|
+
30: string;
|
108
|
+
40: string;
|
109
|
+
50: string;
|
110
|
+
60: string;
|
111
|
+
70: string;
|
112
|
+
80: string;
|
113
|
+
90: string;
|
114
|
+
95: string;
|
115
|
+
};
|
116
|
+
accent: {
|
117
|
+
5: string;
|
118
|
+
10: string;
|
119
|
+
20: string;
|
120
|
+
30: string;
|
121
|
+
40: string;
|
122
|
+
50: string;
|
123
|
+
60: string;
|
124
|
+
70: string;
|
125
|
+
80: string;
|
126
|
+
90: string;
|
127
|
+
95: string;
|
128
|
+
99: string;
|
129
|
+
};
|
130
|
+
decorative: any[];
|
131
|
+
decorativeDark: string[];
|
132
|
+
decorativeLight: string[];
|
133
|
+
focus: string;
|
134
|
+
active: string;
|
135
|
+
critical: {
|
136
|
+
bright: string;
|
137
|
+
dark: string;
|
138
|
+
light: string;
|
139
|
+
primaryDark: string;
|
140
|
+
secondaryDark: string;
|
141
|
+
};
|
142
|
+
success: {
|
143
|
+
bright: string;
|
144
|
+
dark: string;
|
145
|
+
light: string;
|
146
|
+
};
|
147
|
+
text: {
|
148
|
+
primary: string;
|
149
|
+
secondary: string;
|
150
|
+
primaryLight: string;
|
151
|
+
secondaryLight: string;
|
152
|
+
button: string;
|
153
|
+
active: string;
|
154
|
+
};
|
155
|
+
line: {
|
156
|
+
regular: string;
|
157
|
+
light: string;
|
158
|
+
hairline: string;
|
159
|
+
};
|
160
|
+
button: {
|
161
|
+
primary: string;
|
162
|
+
border: string;
|
163
|
+
label: string;
|
164
|
+
hoverBorder: {
|
165
|
+
5: string;
|
166
|
+
10: string;
|
167
|
+
20: string;
|
168
|
+
30: string;
|
169
|
+
40: string;
|
170
|
+
50: string;
|
171
|
+
60: string;
|
172
|
+
70: string;
|
173
|
+
80: string;
|
174
|
+
90: string;
|
175
|
+
95: string;
|
176
|
+
99: string;
|
177
|
+
};
|
178
|
+
hoverLabel: {
|
179
|
+
5: string;
|
180
|
+
10: string;
|
181
|
+
20: string;
|
182
|
+
30: string;
|
183
|
+
40: string;
|
184
|
+
50: string;
|
185
|
+
60: string;
|
186
|
+
70: string;
|
187
|
+
80: string;
|
188
|
+
90: string;
|
189
|
+
95: string;
|
190
|
+
99: string;
|
191
|
+
};
|
192
|
+
hoverBackground: string;
|
193
|
+
focus: string;
|
194
|
+
};
|
195
|
+
warning: {
|
196
|
+
bright: string;
|
197
|
+
dark: string;
|
198
|
+
light: string;
|
199
|
+
};
|
200
|
+
};
|
201
|
+
export default allColors;
|
202
|
+
export declare const flatColorList: any;
|
203
|
+
export declare const getBaseHexColor: (colorName: string) => string | {
|
204
|
+
black: string;
|
205
|
+
white: string;
|
206
|
+
neutral: {
|
207
|
+
10: string;
|
208
|
+
20: string;
|
209
|
+
30: string;
|
210
|
+
40: string;
|
211
|
+
50: string;
|
212
|
+
60: string;
|
213
|
+
70: string;
|
214
|
+
80: string;
|
215
|
+
90: string;
|
216
|
+
95: string;
|
217
|
+
};
|
218
|
+
accent: {
|
219
|
+
5: string;
|
220
|
+
10: string;
|
221
|
+
20: string;
|
222
|
+
30: string;
|
223
|
+
40: string;
|
224
|
+
50: string;
|
225
|
+
60: string;
|
226
|
+
70: string;
|
227
|
+
80: string;
|
228
|
+
90: string;
|
229
|
+
95: string;
|
230
|
+
99: string;
|
231
|
+
};
|
232
|
+
decorative: any[];
|
233
|
+
decorativeDark: string[];
|
234
|
+
decorativeLight: string[];
|
235
|
+
focus: string;
|
236
|
+
active: string;
|
237
|
+
critical: {
|
238
|
+
bright: string;
|
239
|
+
dark: string;
|
240
|
+
light: string;
|
241
|
+
primaryDark: string;
|
242
|
+
secondaryDark: string;
|
243
|
+
};
|
244
|
+
success: {
|
245
|
+
bright: string;
|
246
|
+
dark: string;
|
247
|
+
light: string;
|
248
|
+
};
|
249
|
+
text: {
|
250
|
+
primary: string;
|
251
|
+
secondary: string;
|
252
|
+
primaryLight: string;
|
253
|
+
secondaryLight: string;
|
254
|
+
button: string;
|
255
|
+
active: string;
|
256
|
+
};
|
257
|
+
line: {
|
258
|
+
regular: string;
|
259
|
+
light: string;
|
260
|
+
hairline: string;
|
261
|
+
};
|
262
|
+
button: {
|
263
|
+
primary: string;
|
264
|
+
border: string;
|
265
|
+
label: string;
|
266
|
+
hoverBorder: {
|
267
|
+
5: string;
|
268
|
+
10: string;
|
269
|
+
20: string;
|
270
|
+
30: string;
|
271
|
+
40: string;
|
272
|
+
50: string;
|
273
|
+
60: string;
|
274
|
+
70: string;
|
275
|
+
80: string;
|
276
|
+
90: string;
|
277
|
+
95: string;
|
278
|
+
99: string;
|
279
|
+
};
|
280
|
+
hoverLabel: {
|
281
|
+
5: string;
|
282
|
+
10: string;
|
283
|
+
20: string;
|
284
|
+
30: string;
|
285
|
+
40: string;
|
286
|
+
50: string;
|
287
|
+
60: string;
|
288
|
+
70: string;
|
289
|
+
80: string;
|
290
|
+
90: string;
|
291
|
+
95: string;
|
292
|
+
99: string;
|
293
|
+
};
|
294
|
+
hoverBackground: string;
|
295
|
+
focus: string;
|
296
|
+
};
|
297
|
+
warning: {
|
298
|
+
bright: string;
|
299
|
+
dark: string;
|
300
|
+
light: string;
|
301
|
+
};
|
302
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { StylePropertyValue, ThemeUICSSObject } from 'theme-ui';
|
3
|
+
import { DOMAttributes } from './shared';
|
4
|
+
import { TextProps } from './text';
|
5
|
+
export interface BadgeProps extends DOMAttributes {
|
6
|
+
/** The text color of the badge. */
|
7
|
+
textColor?: string | object;
|
8
|
+
/** The background color of the box. */
|
9
|
+
bg?: StylePropertyValue<string | undefined>;
|
10
|
+
/** Provides a way to insert markup in specified places. */
|
11
|
+
slots?: {
|
12
|
+
/** The given node will be inserted into left side of the badge. */
|
13
|
+
leftIcon?: React.ReactNode;
|
14
|
+
};
|
15
|
+
/** The label of the badge. */
|
16
|
+
label?: React.ReactNode;
|
17
|
+
/** Props object that is spread directly into the text. */
|
18
|
+
textProps?: TextProps;
|
19
|
+
/** When true, display badge label as uppercase. */
|
20
|
+
isUppercase?: boolean;
|
21
|
+
/** Alignment of badge relative to parent container. */
|
22
|
+
align?: 'top' | 'right' | 'bottom' | 'left';
|
23
|
+
/** The styling variation of the element. */
|
24
|
+
variant?: string;
|
25
|
+
/** Inline styling prop for item */
|
26
|
+
sx?: ThemeUICSSObject;
|
27
|
+
}
|