@hybridcore/ui 1.6.11 → 1.6.13
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/{AnimatedTheme-D3VZKKNV.js → AnimatedTheme-ktdO3Bel.js} +6 -6
- package/dist/{AxisRenderer-Doyw-FTI.js → AxisRenderer-BCQoUJw6.js} +6 -6
- package/dist/{AxisRendererY-BylCU67e.js → AxisRendererY-AXWvGU6r.js} +3 -3
- package/dist/{Bullet-C6357hTv.js → Bullet-Djj7Vs9T.js} +1 -1
- package/dist/{Button-DGOT8RcT.js → Button-BLY4PVJC.js} +3 -3
- package/dist/{CategoryAxis-B5uTZjhL.js → CategoryAxis-B6NqW8qd.js} +3 -3
- package/dist/{Circle-DhzVdFBd.js → Circle-BnfBNKBD.js} +1 -1
- package/dist/{ColorSet-DGLMpbL3.js → ColorSet-cyPmWGwh.js} +1 -1
- package/dist/{ColumnSeries-CqJ-563p.js → ColumnSeries-CtRTsn-E.js} +28 -28
- package/dist/{DateAxis-lJZjbAS-.js → DateAxis-DEXKps1S.js} +4 -4
- package/dist/{Entity-4Lr2piVN.js → Entity-BJCuhdq_.js} +14 -14
- package/dist/GaplessDateAxis-B2g2jgSG.js +376 -0
- package/dist/{Hierarchy-DPEcTr0v.js → Hierarchy-CEOK8Gzh.js} +4 -4
- package/dist/{Legend-CTb6rZz_.js → Legend-CFvQiIfn.js} +4 -4
- package/dist/{LineSeries-Dg1aytHA.js → LineSeries-D_IL2qGF.js} +4 -4
- package/dist/{LinearGradient-D1hzMjaW.js → LinearGradient-CxQyCSEB.js} +2 -2
- package/dist/{PieSeries-C9YUWMnA.js → PieSeries-CMH0Z7pz.js} +8 -8
- package/dist/{RoundedRectangle-B23Oh_r6.js → RoundedRectangle-BKLX1LKM.js} +2 -2
- package/dist/{Scrollbar-CSoXoZSe.js → Scrollbar-CTI7_8Qw.js} +4 -4
- package/dist/{Slice-CIP7Vmzu.js → Slice-BUncQh1B.js} +11 -11
- package/dist/{Tick-CRu6rQQy.js → Tick--VhF0xlz.js} +2 -2
- package/dist/{Tooltip-RhAldW7s.js → Tooltip-vyZRZWih.js} +1 -1
- package/dist/{XYCursor-Z-Ral42q.js → XYCursor-CVUSpqb9.js} +3 -3
- package/dist/{ZoomableContainer-D1laxHnA.js → ZoomableContainer-Ca_pDVYQ.js} +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/_common/format.js +149 -41
- package/dist/components/charts/_common/tooltip.js +2 -2
- package/dist/components/charts/_common/utils.js +16 -11
- package/dist/components/charts/candlestick/logic.js +34 -35
- package/dist/components/charts/column-line-mix/logic.js +40 -41
- package/dist/components/charts/donut-chart/logic.js +4 -4
- package/dist/components/charts/drill-down-treemap/logic.js +5 -5
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +5 -5
- package/dist/components/charts/forecast-cone/logic.js +134 -120
- package/dist/components/charts/heatmap/logic.js +9 -9
- package/dist/components/charts/highlighting-line-data/logic.js +10 -10
- package/dist/components/charts/line/logic.js +19 -20
- package/dist/components/charts/logaritmic-scale/logic.js +30 -31
- package/dist/components/charts/multiple-value-axes/logic.js +18 -19
- package/dist/components/charts/nested-pie/logic.js +3 -3
- package/dist/components/charts/packed-circles/logic.js +7 -7
- package/dist/components/charts/pie-chart/logic.js +4 -4
- package/dist/components/charts/stacked-area-radar/logic.js +9 -9
- package/dist/components/charts/stacked-column-chart/logic.js +10 -10
- package/dist/components/charts/xy-chart/logic.js +28 -29
- package/dist/components/collapsible-card/index.js +21 -30
- package/dist/components/collapsible-card/styled.js +16 -14
- package/dist/components/color-picker/index.js +2227 -3357
- package/dist/components/color-picker/styled.js +87 -7
- package/dist/components/confirm/dialog.js +89 -8
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-map/index.js +1 -1
- package/dist/components/data-map/logic.js +20 -20
- package/dist/components/data-security-selectors/dissemination-list/index.js +32 -3117
- package/dist/components/date-picker-with-custom-range/index.js +86 -7
- package/dist/components/date-range-picker/index.js +464 -452
- package/dist/components/document-viewer/components/viewer/index.js +1 -1
- package/dist/components/duration-select/index.js +10 -10
- package/dist/components/duration-select/styled.js +1 -1
- package/dist/components/geometry-picker/coordinate/index.js +14 -14
- package/dist/components/geometry-picker/edit/index.js +1 -1
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/kml/index.js +11 -11
- package/dist/components/geometry-picker/map/logic.js +145 -3656
- package/dist/components/geometry-picker/map/style.js +18 -17
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +43 -1255
- package/dist/components/heat-map/index.js +1 -1
- package/dist/components/heat-map/logic.js +77 -1924
- package/dist/components/instance-hierarchy-table/styled.js +18 -16
- package/dist/components/map/helpers/mapbox.js +17 -15
- package/dist/components/map/helpers/ol.js +386 -27
- package/dist/components/map/index.js +11 -10
- package/dist/components/map/logic.js +22 -22
- package/dist/components/map/styled.js +31 -27
- package/dist/components/metric-card/MetricChart.js +9 -9
- package/dist/components/metric-card/logic.js +46 -49
- package/dist/components/phone-input/index.js +10 -9
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/prr-map/index.js +1 -1
- package/dist/components/prr-map/logic.js +27 -26
- package/dist/components/range-selector/styled.js +65 -4228
- package/dist/components/raster-grid-map/index.js +1 -1
- package/dist/components/raster-grid-map/logic.js +60 -57
- package/dist/components/simple-pivot-table/index.js +17 -17
- package/dist/components/simple-pivot-table/logic.js +67 -76
- package/dist/components/sortable-list/index.js +1091 -1264
- package/dist/components/template-form/components/property-list/index.js +36 -33
- package/dist/components/template-form/components/property-list/property-list-columns.js +19 -18
- package/dist/components/template-form/components/property-list/property-list-form.js +137 -601
- package/dist/components/template-form/components/recognition-property-list/index.js +40 -37
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +11 -10
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +55 -63
- package/dist/components/tree-select/index.js +16 -16
- package/dist/index.esm-UfGMjYOL.js +197 -0
- package/dist/main.d.ts +67 -8
- package/dist/main.js +176 -175
- package/package.json +1 -1
- package/dist/AccordionSummary-CJppWeqF.js +0 -781
- package/dist/Add-CqcD1PWb.js +0 -403
- package/dist/Box-DqUMmZjL.js +0 -31
- package/dist/Button-C5yquWAB.js +0 -357
- package/dist/ButtonBase-BEF7oTOe.js +0 -887
- package/dist/DataProcessor-WXzhvIg6.js +0 -83
- package/dist/Delete-BdyYpINH.js +0 -23
- package/dist/DialogContent-BvVjD9z3.js +0 -523
- package/dist/FormGroup-CpBsIyYR.js +0 -89
- package/dist/GaplessDateAxis-DowssQ6y.js +0 -296
- package/dist/IconButton-BoGwbvrP.js +0 -184
- package/dist/InputLabel-Dd8RrneV.js +0 -341
- package/dist/MenuItem-DwqJqzuM.js +0 -233
- package/dist/Modal-MUZygjmQ.js +0 -1158
- package/dist/Paper-BkQLdsCI.js +0 -582
- package/dist/Select-DHUl_uG3.js +0 -3916
- package/dist/Source-BSZST_GH.js +0 -4410
- package/dist/SwitchBase-DTndTqI8.js +0 -235
- package/dist/Text-ChJRuaD8.js +0 -2197
- package/dist/TextField-e2oKaUN1.js +0 -669
- package/dist/TransitionGroupContext-BDAp2T0O.js +0 -96
- package/dist/Typography-DgsSLCFC.js +0 -178
- package/dist/Vector-BmuhQO4p.js +0 -3606
- package/dist/Vector-DfTqQEln.js +0 -1735
- package/dist/WKT-2wsDT-nq.js +0 -2310
- package/dist/assertThisInitialized-C1dAyb4j.js +0 -7
- package/dist/assets/index3.css +0 -1
- package/dist/assets/index4.css +0 -1
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSvgIcon-Ch_cT8az.js +0 -185
- package/dist/createSvgIcon-DuDuASu1.js +0 -62
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/dialog-BYRnCztH.js +0 -154
- package/dist/formControlState-vgaj2ksH.js +0 -10
- package/dist/generateUtilityClasses-C3ivN9Ie.js +0 -2973
- package/dist/index-DH6qsPBn.js +0 -153
- package/dist/index-e9xTIYWt.js +0 -1934
- package/dist/index.esm-BLLrbTzY.js +0 -318
- package/dist/math-Bvt2Ubuz.js +0 -704
- package/dist/objectWithoutPropertiesLoose-DJteAcBH.js +0 -22
- package/dist/ol-yOE-NV0X.js +0 -7465
- package/dist/ownerWindow-wg6foiOE.js +0 -10
- package/dist/setPrototypeOf-NPgp4cYc.js +0 -8
- package/dist/styled-SoqbyrkW.js +0 -350
- package/dist/unsupportedProp-DuqR2hj9.js +0 -36
- package/dist/useControlled-BYdyS7Pn.js +0 -31
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-BW-oWmul.js +0 -19
- package/dist/useMobilePicker-CY8ndYRL.js +0 -8279
- package/dist/useSlot-B_Q4vnX5.js +0 -42
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { P as u } from "./index-C__OZmYy.js";
|
|
2
|
-
import * as r from "react";
|
|
3
|
-
import p from "react";
|
|
4
|
-
import { _ as d } from "./setPrototypeOf-NPgp4cYc.js";
|
|
5
|
-
const _ = u.oneOfType([u.func, u.object]);
|
|
6
|
-
function m(e, t) {
|
|
7
|
-
return process.env.NODE_ENV === "production" ? () => null : function(...o) {
|
|
8
|
-
return e(...o) || t(...o);
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
function y(e) {
|
|
12
|
-
const {
|
|
13
|
-
prototype: t = {}
|
|
14
|
-
} = e;
|
|
15
|
-
return !!t.isReactComponent;
|
|
16
|
-
}
|
|
17
|
-
function h(e, t, n, o, a) {
|
|
18
|
-
const c = e[t], l = a || t;
|
|
19
|
-
if (c == null || // When server-side rendering React doesn't warn either.
|
|
20
|
-
// This is not an accurate check for SSR.
|
|
21
|
-
// This is only in place for emotion compat.
|
|
22
|
-
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
23
|
-
typeof window > "u")
|
|
24
|
-
return null;
|
|
25
|
-
let s;
|
|
26
|
-
return typeof c == "function" && !y(c) && (s = "Did you accidentally provide a plain function component instead?"), s !== void 0 ? new Error(`Invalid ${o} \`${l}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
27
|
-
}
|
|
28
|
-
const O = m(u.elementType, h);
|
|
29
|
-
function E(e, t) {
|
|
30
|
-
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
31
|
-
}
|
|
32
|
-
function $(...e) {
|
|
33
|
-
return r.useMemo(() => e.every((t) => t == null) ? null : (t) => {
|
|
34
|
-
e.forEach((n) => {
|
|
35
|
-
E(n, t);
|
|
36
|
-
});
|
|
37
|
-
}, e);
|
|
38
|
-
}
|
|
39
|
-
const T = typeof window < "u" ? r.useLayoutEffect : r.useEffect;
|
|
40
|
-
function b(e) {
|
|
41
|
-
const t = r.useRef(e);
|
|
42
|
-
return T(() => {
|
|
43
|
-
t.current = e;
|
|
44
|
-
}), r.useRef((...n) => (
|
|
45
|
-
// @ts-expect-error hide `this`
|
|
46
|
-
(0, t.current)(...n)
|
|
47
|
-
)).current;
|
|
48
|
-
}
|
|
49
|
-
const f = {};
|
|
50
|
-
function I(e, t) {
|
|
51
|
-
const n = r.useRef(f);
|
|
52
|
-
return n.current === f && (n.current = e(t)), n;
|
|
53
|
-
}
|
|
54
|
-
const R = [];
|
|
55
|
-
function w(e) {
|
|
56
|
-
r.useEffect(e, R);
|
|
57
|
-
}
|
|
58
|
-
class i {
|
|
59
|
-
constructor() {
|
|
60
|
-
this.currentId = null, this.clear = () => {
|
|
61
|
-
this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
|
|
62
|
-
}, this.disposeEffect = () => this.clear;
|
|
63
|
-
}
|
|
64
|
-
static create() {
|
|
65
|
-
return new i();
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Executes `fn` after `delay`, clearing any previously scheduled call.
|
|
69
|
-
*/
|
|
70
|
-
start(t, n) {
|
|
71
|
-
this.clear(), this.currentId = setTimeout(() => {
|
|
72
|
-
this.currentId = null, n();
|
|
73
|
-
}, t);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
function x() {
|
|
77
|
-
const e = I(i.create).current;
|
|
78
|
-
return w(e.disposeEffect), e;
|
|
79
|
-
}
|
|
80
|
-
function L(e, t) {
|
|
81
|
-
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, d(e, t);
|
|
82
|
-
}
|
|
83
|
-
const N = p.createContext(null);
|
|
84
|
-
export {
|
|
85
|
-
i as T,
|
|
86
|
-
L as _,
|
|
87
|
-
T as a,
|
|
88
|
-
b,
|
|
89
|
-
m as c,
|
|
90
|
-
N as d,
|
|
91
|
-
x as e,
|
|
92
|
-
O as f,
|
|
93
|
-
_ as r,
|
|
94
|
-
E as s,
|
|
95
|
-
$ as u
|
|
96
|
-
};
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { a as s, _ as B } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
2
|
-
import * as W from "react";
|
|
3
|
-
import { P as t } from "./index-C__OZmYy.js";
|
|
4
|
-
import { c as C } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
import { a as M, g as O, s as j, b as f, u as P, e as N, c as R } from "./generateUtilityClasses-C3ivN9Ie.js";
|
|
6
|
-
import { jsx as _ } from "react/jsx-runtime";
|
|
7
|
-
function U(a) {
|
|
8
|
-
return M("MuiTypography", a);
|
|
9
|
-
}
|
|
10
|
-
O("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
|
|
11
|
-
const D = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"], E = (a) => {
|
|
12
|
-
const {
|
|
13
|
-
align: o,
|
|
14
|
-
gutterBottom: r,
|
|
15
|
-
noWrap: e,
|
|
16
|
-
paragraph: i,
|
|
17
|
-
variant: n,
|
|
18
|
-
classes: h
|
|
19
|
-
} = a, p = {
|
|
20
|
-
root: ["root", n, a.align !== "inherit" && `align${f(o)}`, r && "gutterBottom", e && "noWrap", i && "paragraph"]
|
|
21
|
-
};
|
|
22
|
-
return R(p, U, h);
|
|
23
|
-
}, L = j("span", {
|
|
24
|
-
name: "MuiTypography",
|
|
25
|
-
slot: "Root",
|
|
26
|
-
overridesResolver: (a, o) => {
|
|
27
|
-
const {
|
|
28
|
-
ownerState: r
|
|
29
|
-
} = a;
|
|
30
|
-
return [o.root, r.variant && o[r.variant], r.align !== "inherit" && o[`align${f(r.align)}`], r.noWrap && o.noWrap, r.gutterBottom && o.gutterBottom, r.paragraph && o.paragraph];
|
|
31
|
-
}
|
|
32
|
-
})(({
|
|
33
|
-
theme: a,
|
|
34
|
-
ownerState: o
|
|
35
|
-
}) => s({
|
|
36
|
-
margin: 0
|
|
37
|
-
}, o.variant === "inherit" && {
|
|
38
|
-
// Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
|
|
39
|
-
font: "inherit"
|
|
40
|
-
}, o.variant !== "inherit" && a.typography[o.variant], o.align !== "inherit" && {
|
|
41
|
-
textAlign: o.align
|
|
42
|
-
}, o.noWrap && {
|
|
43
|
-
overflow: "hidden",
|
|
44
|
-
textOverflow: "ellipsis",
|
|
45
|
-
whiteSpace: "nowrap"
|
|
46
|
-
}, o.gutterBottom && {
|
|
47
|
-
marginBottom: "0.35em"
|
|
48
|
-
}, o.paragraph && {
|
|
49
|
-
marginBottom: 16
|
|
50
|
-
})), u = {
|
|
51
|
-
h1: "h1",
|
|
52
|
-
h2: "h2",
|
|
53
|
-
h3: "h3",
|
|
54
|
-
h4: "h4",
|
|
55
|
-
h5: "h5",
|
|
56
|
-
h6: "h6",
|
|
57
|
-
subtitle1: "h6",
|
|
58
|
-
subtitle2: "h6",
|
|
59
|
-
body1: "p",
|
|
60
|
-
body2: "p",
|
|
61
|
-
inherit: "p"
|
|
62
|
-
}, V = {
|
|
63
|
-
primary: "primary.main",
|
|
64
|
-
textPrimary: "text.primary",
|
|
65
|
-
secondary: "secondary.main",
|
|
66
|
-
textSecondary: "text.secondary",
|
|
67
|
-
error: "error.main"
|
|
68
|
-
}, $ = (a) => V[a] || a, z = /* @__PURE__ */ W.forwardRef(function(o, r) {
|
|
69
|
-
const e = P({
|
|
70
|
-
props: o,
|
|
71
|
-
name: "MuiTypography"
|
|
72
|
-
}), i = $(e.color), n = N(s({}, e, {
|
|
73
|
-
color: i
|
|
74
|
-
})), {
|
|
75
|
-
align: h = "inherit",
|
|
76
|
-
className: p,
|
|
77
|
-
component: g,
|
|
78
|
-
gutterBottom: d = !1,
|
|
79
|
-
noWrap: b = !1,
|
|
80
|
-
paragraph: c = !1,
|
|
81
|
-
variant: l = "body1",
|
|
82
|
-
variantMapping: m = u
|
|
83
|
-
} = n, v = B(n, D), y = s({}, n, {
|
|
84
|
-
align: h,
|
|
85
|
-
color: i,
|
|
86
|
-
className: p,
|
|
87
|
-
component: g,
|
|
88
|
-
gutterBottom: d,
|
|
89
|
-
noWrap: b,
|
|
90
|
-
paragraph: c,
|
|
91
|
-
variant: l,
|
|
92
|
-
variantMapping: m
|
|
93
|
-
}), T = g || (c ? "p" : m[l] || u[l]) || "span", x = E(y);
|
|
94
|
-
return /* @__PURE__ */ _(L, s({
|
|
95
|
-
as: T,
|
|
96
|
-
ref: r,
|
|
97
|
-
ownerState: y,
|
|
98
|
-
className: C(x.root, p)
|
|
99
|
-
}, v));
|
|
100
|
-
});
|
|
101
|
-
process.env.NODE_ENV !== "production" && (z.propTypes = {
|
|
102
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
103
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
104
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
105
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
106
|
-
/**
|
|
107
|
-
* Set the text-align on the component.
|
|
108
|
-
* @default 'inherit'
|
|
109
|
-
*/
|
|
110
|
-
align: t.oneOf(["center", "inherit", "justify", "left", "right"]),
|
|
111
|
-
/**
|
|
112
|
-
* The content of the component.
|
|
113
|
-
*/
|
|
114
|
-
children: t.node,
|
|
115
|
-
/**
|
|
116
|
-
* Override or extend the styles applied to the component.
|
|
117
|
-
*/
|
|
118
|
-
classes: t.object,
|
|
119
|
-
/**
|
|
120
|
-
* @ignore
|
|
121
|
-
*/
|
|
122
|
-
className: t.string,
|
|
123
|
-
/**
|
|
124
|
-
* The component used for the root node.
|
|
125
|
-
* Either a string to use a HTML element or a component.
|
|
126
|
-
*/
|
|
127
|
-
component: t.elementType,
|
|
128
|
-
/**
|
|
129
|
-
* If `true`, the text will have a bottom margin.
|
|
130
|
-
* @default false
|
|
131
|
-
*/
|
|
132
|
-
gutterBottom: t.bool,
|
|
133
|
-
/**
|
|
134
|
-
* If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
|
|
135
|
-
*
|
|
136
|
-
* Note that text overflow can only happen with block or inline-block level elements
|
|
137
|
-
* (the element needs to have a width in order to overflow).
|
|
138
|
-
* @default false
|
|
139
|
-
*/
|
|
140
|
-
noWrap: t.bool,
|
|
141
|
-
/**
|
|
142
|
-
* If `true`, the element will be a paragraph element.
|
|
143
|
-
* @default false
|
|
144
|
-
*/
|
|
145
|
-
paragraph: t.bool,
|
|
146
|
-
/**
|
|
147
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
148
|
-
*/
|
|
149
|
-
sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
|
|
150
|
-
/**
|
|
151
|
-
* Applies the theme typography styles.
|
|
152
|
-
* @default 'body1'
|
|
153
|
-
*/
|
|
154
|
-
variant: t.oneOfType([t.oneOf(["body1", "body2", "button", "caption", "h1", "h2", "h3", "h4", "h5", "h6", "inherit", "overline", "subtitle1", "subtitle2"]), t.string]),
|
|
155
|
-
/**
|
|
156
|
-
* The component maps the variant prop to a range of different HTML element types.
|
|
157
|
-
* For instance, subtitle1 to `<h6>`.
|
|
158
|
-
* If you wish to change that mapping, you can provide your own.
|
|
159
|
-
* Alternatively, you can use the `component` prop.
|
|
160
|
-
* @default {
|
|
161
|
-
* h1: 'h1',
|
|
162
|
-
* h2: 'h2',
|
|
163
|
-
* h3: 'h3',
|
|
164
|
-
* h4: 'h4',
|
|
165
|
-
* h5: 'h5',
|
|
166
|
-
* h6: 'h6',
|
|
167
|
-
* subtitle1: 'h6',
|
|
168
|
-
* subtitle2: 'h6',
|
|
169
|
-
* body1: 'p',
|
|
170
|
-
* body2: 'p',
|
|
171
|
-
* inherit: 'p',
|
|
172
|
-
* }
|
|
173
|
-
*/
|
|
174
|
-
variantMapping: t.object
|
|
175
|
-
});
|
|
176
|
-
export {
|
|
177
|
-
z as T
|
|
178
|
-
};
|