@doist/reactist 20.0.2 → 20.1.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/dist/reactist.cjs.development.js +59 -39
- package/dist/reactist.cjs.development.js.map +1 -1
- package/dist/reactist.cjs.production.min.js +1 -1
- package/dist/reactist.cjs.production.min.js.map +1 -1
- package/es/badge/badge.module.css.js +1 -1
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/prose/prose.js +24 -0
- package/es/prose/prose.js.map +1 -0
- package/es/prose/prose.module.css.js +4 -0
- package/es/prose/prose.module.css.js.map +1 -0
- package/lib/badge/badge.module.css.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/prose/index.d.ts +2 -0
- package/lib/prose/prose-example.d.ts +1 -0
- package/lib/prose/prose.d.ts +47 -0
- package/lib/prose/prose.js +2 -0
- package/lib/prose/prose.js.map +1 -0
- package/lib/prose/prose.module.css.js +2 -0
- package/lib/prose/prose.module.css.js.map +1 -0
- package/lib/prose/prose.test.d.ts +1 -0
- package/package.json +3 -1
- package/styles/badge.css +1 -1
- package/styles/badge.module.css.css +1 -1
- package/styles/prose.css +6 -0
- package/styles/prose.module.css.css +1 -0
- package/styles/reactist.css +2 -1
|
@@ -1451,7 +1451,26 @@ const Heading = /*#__PURE__*/React.forwardRef(function Heading(_ref, ref) {
|
|
|
1451
1451
|
}), children);
|
|
1452
1452
|
});
|
|
1453
1453
|
|
|
1454
|
-
|
|
1454
|
+
var modules_8ebe6db0 = {"prose":"_1f36658e","darkModeTypography":"d26ab086"};
|
|
1455
|
+
|
|
1456
|
+
const _excluded$f = ["darkModeTypography", "exceptionallySetClassName"];
|
|
1457
|
+
/**
|
|
1458
|
+
* Used to style HTML you don’t control, like HTML content generated from Markdown.
|
|
1459
|
+
*/
|
|
1460
|
+
|
|
1461
|
+
function Prose(_ref) {
|
|
1462
|
+
let {
|
|
1463
|
+
darkModeTypography,
|
|
1464
|
+
exceptionallySetClassName
|
|
1465
|
+
} = _ref,
|
|
1466
|
+
props = _objectWithoutProperties(_ref, _excluded$f);
|
|
1467
|
+
|
|
1468
|
+
return /*#__PURE__*/React.createElement(Box, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
1469
|
+
className: [modules_8ebe6db0.prose, darkModeTypography ? modules_8ebe6db0.darkModeTypography : null, exceptionallySetClassName]
|
|
1470
|
+
}));
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
const _excluded$g = ["as", "variant", "tone", "size", "exceptionallySetClassName", "openInNewTab"];
|
|
1455
1474
|
/**
|
|
1456
1475
|
* A semantic link that looks like a button, exactly matching the `Button` component in all visual
|
|
1457
1476
|
* aspects.
|
|
@@ -1468,7 +1487,7 @@ const ButtonLink = /*#__PURE__*/polymorphicComponent(function ButtonLink(_ref, r
|
|
|
1468
1487
|
exceptionallySetClassName,
|
|
1469
1488
|
openInNewTab = false
|
|
1470
1489
|
} = _ref,
|
|
1471
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1490
|
+
props = _objectWithoutProperties(_ref, _excluded$g);
|
|
1472
1491
|
|
|
1473
1492
|
return /*#__PURE__*/React.createElement(BaseButton, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
1474
1493
|
as: as,
|
|
@@ -1484,14 +1503,14 @@ const ButtonLink = /*#__PURE__*/polymorphicComponent(function ButtonLink(_ref, r
|
|
|
1484
1503
|
|
|
1485
1504
|
var modules_3d05deee = {"container":"fdc181b3"};
|
|
1486
1505
|
|
|
1487
|
-
const _excluded$
|
|
1506
|
+
const _excluded$h = ["as", "openInNewTab", "exceptionallySetClassName"];
|
|
1488
1507
|
const TextLink = /*#__PURE__*/polymorphicComponent(function TextLink(_ref, ref) {
|
|
1489
1508
|
let {
|
|
1490
1509
|
as = 'a',
|
|
1491
1510
|
openInNewTab = false,
|
|
1492
1511
|
exceptionallySetClassName
|
|
1493
1512
|
} = _ref,
|
|
1494
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1513
|
+
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
1495
1514
|
|
|
1496
1515
|
return /*#__PURE__*/React.createElement(Box, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
1497
1516
|
as: as,
|
|
@@ -1503,7 +1522,7 @@ const TextLink = /*#__PURE__*/polymorphicComponent(function TextLink(_ref, ref)
|
|
|
1503
1522
|
}));
|
|
1504
1523
|
});
|
|
1505
1524
|
|
|
1506
|
-
const _excluded$
|
|
1525
|
+
const _excluded$i = ["checked", "indeterminate", "disabled"];
|
|
1507
1526
|
const svgPath = {
|
|
1508
1527
|
checked: 'M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2.457 4.293l-5.293 5.293-1.793-1.793a1 1 0 1 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0l6-6a1 1 0 1 0-1.414-1.414z',
|
|
1509
1528
|
unchecked: 'M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm0 1H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1z',
|
|
@@ -1542,7 +1561,7 @@ function CheckboxIcon(_ref) {
|
|
|
1542
1561
|
indeterminate,
|
|
1543
1562
|
disabled
|
|
1544
1563
|
} = _ref,
|
|
1545
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1564
|
+
props = _objectWithoutProperties(_ref, _excluded$i);
|
|
1546
1565
|
|
|
1547
1566
|
const pathKey = getPathKey({
|
|
1548
1567
|
checked,
|
|
@@ -1563,7 +1582,7 @@ function CheckboxIcon(_ref) {
|
|
|
1563
1582
|
|
|
1564
1583
|
var modules_664a6a80 = {"container":"_84dfdb83","disabled":"_131a2ca4","checked":"_95b1556d","keyFocused":"_49de7ebd","icon":"_6b4b1851","label":"_9047f3bd"};
|
|
1565
1584
|
|
|
1566
|
-
const _excluded$
|
|
1585
|
+
const _excluded$j = ["label", "icon", "disabled", "indeterminate", "defaultChecked", "onChange"];
|
|
1567
1586
|
const CheckboxField = /*#__PURE__*/React.forwardRef(function CheckboxField(_ref, ref) {
|
|
1568
1587
|
var _ref2, _props$checked, _props$checked2;
|
|
1569
1588
|
|
|
@@ -1575,7 +1594,7 @@ const CheckboxField = /*#__PURE__*/React.forwardRef(function CheckboxField(_ref,
|
|
|
1575
1594
|
defaultChecked,
|
|
1576
1595
|
onChange
|
|
1577
1596
|
} = _ref,
|
|
1578
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1597
|
+
props = _objectWithoutProperties(_ref, _excluded$j);
|
|
1579
1598
|
|
|
1580
1599
|
const isControlledComponent = typeof props.checked === 'boolean';
|
|
1581
1600
|
|
|
@@ -1790,7 +1809,7 @@ var modules_3f03ead6 = {"inputWrapper":"_66b448b3"};
|
|
|
1790
1809
|
|
|
1791
1810
|
var modules_aaf25250 = {"inputWrapper":"fb09cd05","bordered":"f65f40dd","error":"_29118bf0","startIcon":"a40eb111"};
|
|
1792
1811
|
|
|
1793
|
-
const _excluded$
|
|
1812
|
+
const _excluded$k = ["variant", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "maxWidth", "togglePasswordLabel", "hidden", "aria-describedby"];
|
|
1794
1813
|
const PasswordField = /*#__PURE__*/React.forwardRef(function PasswordField(_ref, ref) {
|
|
1795
1814
|
let {
|
|
1796
1815
|
variant = 'default',
|
|
@@ -1805,7 +1824,7 @@ const PasswordField = /*#__PURE__*/React.forwardRef(function PasswordField(_ref,
|
|
|
1805
1824
|
hidden,
|
|
1806
1825
|
'aria-describedby': ariaDescribedBy
|
|
1807
1826
|
} = _ref,
|
|
1808
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1827
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
1809
1828
|
|
|
1810
1829
|
const id = useId(props.id);
|
|
1811
1830
|
const internalRef = React.useRef(null);
|
|
@@ -1854,7 +1873,7 @@ const PasswordField = /*#__PURE__*/React.forwardRef(function PasswordField(_ref,
|
|
|
1854
1873
|
|
|
1855
1874
|
var modules_1fa9b208 = {"selectWrapper":"a804edbf","bordered":"_50a3655f","error":"a6d38abf"};
|
|
1856
1875
|
|
|
1857
|
-
const _excluded$
|
|
1876
|
+
const _excluded$l = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "maxWidth", "children", "hidden", "aria-describedby"];
|
|
1858
1877
|
const SelectField = /*#__PURE__*/React.forwardRef(function SelectField(_ref, ref) {
|
|
1859
1878
|
let {
|
|
1860
1879
|
variant = 'default',
|
|
@@ -1870,7 +1889,7 @@ const SelectField = /*#__PURE__*/React.forwardRef(function SelectField(_ref, ref
|
|
|
1870
1889
|
hidden,
|
|
1871
1890
|
'aria-describedby': ariaDescribedBy
|
|
1872
1891
|
} = _ref,
|
|
1873
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1892
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
1874
1893
|
|
|
1875
1894
|
return /*#__PURE__*/React.createElement(BaseField, {
|
|
1876
1895
|
variant: variant,
|
|
@@ -1908,7 +1927,7 @@ function SelectChevron(props) {
|
|
|
1908
1927
|
|
|
1909
1928
|
var modules_8e05f7c9 = {"container":"ec63c3f1","disabled":"_7de9c06d","checked":"a37981fc","toggle":"_2a17ac45","label":"_68cc9707","handle":"_91409c7f","keyFocused":"a6490371"};
|
|
1910
1929
|
|
|
1911
|
-
const _excluded$
|
|
1930
|
+
const _excluded$m = ["label", "hint", "disabled", "hidden", "defaultChecked", "id", "aria-describedby", "aria-label", "aria-labelledby", "onChange"];
|
|
1912
1931
|
const SwitchField = /*#__PURE__*/React.forwardRef(function SwitchField(_ref, ref) {
|
|
1913
1932
|
var _ref2, _props$checked, _props$checked2;
|
|
1914
1933
|
|
|
@@ -1924,7 +1943,7 @@ const SwitchField = /*#__PURE__*/React.forwardRef(function SwitchField(_ref, ref
|
|
|
1924
1943
|
'aria-labelledby': originalAriaLabelledby,
|
|
1925
1944
|
onChange
|
|
1926
1945
|
} = _ref,
|
|
1927
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1946
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
1928
1947
|
|
|
1929
1948
|
const id = useId(originalId);
|
|
1930
1949
|
const hintId = useId();
|
|
@@ -1984,7 +2003,7 @@ const SwitchField = /*#__PURE__*/React.forwardRef(function SwitchField(_ref, ref
|
|
|
1984
2003
|
|
|
1985
2004
|
var modules_2728c236 = {"textAreaContainer":"_21dbfa84","innerContainer":"_43588660","bordered":"f081b428","error":"a862f0e5","autoExpand":"_46360b15"};
|
|
1986
2005
|
|
|
1987
|
-
const _excluded$
|
|
2006
|
+
const _excluded$n = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "maxWidth", "hidden", "aria-describedby", "rows", "autoExpand"];
|
|
1988
2007
|
const TextArea = /*#__PURE__*/React.forwardRef(function TextArea(_ref, ref) {
|
|
1989
2008
|
let {
|
|
1990
2009
|
variant = 'default',
|
|
@@ -2001,7 +2020,7 @@ const TextArea = /*#__PURE__*/React.forwardRef(function TextArea(_ref, ref) {
|
|
|
2001
2020
|
rows,
|
|
2002
2021
|
autoExpand = false
|
|
2003
2022
|
} = _ref,
|
|
2004
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2023
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
2005
2024
|
|
|
2006
2025
|
const containerRef = React.useRef(null);
|
|
2007
2026
|
const internalRef = React.useRef(null);
|
|
@@ -2045,7 +2064,7 @@ const TextArea = /*#__PURE__*/React.forwardRef(function TextArea(_ref, ref) {
|
|
|
2045
2064
|
}))));
|
|
2046
2065
|
});
|
|
2047
2066
|
|
|
2048
|
-
const _excluded$
|
|
2067
|
+
const _excluded$o = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "type", "maxWidth", "hidden", "aria-describedby", "startIcon"];
|
|
2049
2068
|
const TextField = /*#__PURE__*/React.forwardRef(function TextField(_ref, ref) {
|
|
2050
2069
|
let {
|
|
2051
2070
|
variant = 'default',
|
|
@@ -2062,7 +2081,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(_ref, ref) {
|
|
|
2062
2081
|
'aria-describedby': ariaDescribedBy,
|
|
2063
2082
|
startIcon
|
|
2064
2083
|
} = _ref,
|
|
2065
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2084
|
+
props = _objectWithoutProperties(_ref, _excluded$o);
|
|
2066
2085
|
|
|
2067
2086
|
const internalRef = React.useRef(null);
|
|
2068
2087
|
const combinedRef = useCallbackRef.useMergeRefs([ref, internalRef]);
|
|
@@ -2131,7 +2150,7 @@ function emailToIndex(email, maxIndex) {
|
|
|
2131
2150
|
|
|
2132
2151
|
var modules_08f3eeac = {"avatar":"_38a1be89","size-xxs":"d32e92ae","size-xs":"_0667d719","size-s":"cf529fcf","size-m":"_6e268eab","size-l":"d64c62cf","size-xl":"_44fb77de","size-xxl":"_01f85e0e","size-xxxl":"_41a5fe19","tablet-size-xxs":"_6ab1577d","tablet-size-xs":"b52a4963","tablet-size-s":"_714a8419","tablet-size-m":"_81cd4d51","tablet-size-l":"bf0a4edb","tablet-size-xl":"e4f0dabd","tablet-size-xxl":"_67ea065d","tablet-size-xxxl":"_2af7f76f","desktop-size-xxs":"_759081dc","desktop-size-xs":"_8290d1c1","desktop-size-s":"_48ea172d","desktop-size-m":"_758f6641","desktop-size-l":"f9ada088","desktop-size-xl":"d3bb7470","desktop-size-xxl":"_9a312ee3","desktop-size-xxxl":"a1d30c23"};
|
|
2133
2152
|
|
|
2134
|
-
const _excluded$
|
|
2153
|
+
const _excluded$p = ["user", "avatarUrl", "size", "className", "colorList", "exceptionallySetClassName"];
|
|
2135
2154
|
const AVATAR_COLORS = ['#fcc652', '#e9952c', '#e16b2d', '#d84b40', '#e8435a', '#e5198a', '#ad3889', '#86389c', '#a8a8a8', '#98be2f', '#5d9d50', '#5f9f85', '#5bbcb6', '#32a3bf', '#2bafeb', '#2d88c3', '#3863cc', '#5e5e5e'];
|
|
2136
2155
|
|
|
2137
2156
|
function Avatar(_ref) {
|
|
@@ -2143,7 +2162,7 @@ function Avatar(_ref) {
|
|
|
2143
2162
|
colorList = AVATAR_COLORS,
|
|
2144
2163
|
exceptionallySetClassName
|
|
2145
2164
|
} = _ref,
|
|
2146
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2165
|
+
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
2147
2166
|
|
|
2148
2167
|
const userInitials = getInitials(user.name) || getInitials(user.email);
|
|
2149
2168
|
const avatarSize = size ? size : 'l';
|
|
@@ -2163,16 +2182,16 @@ function Avatar(_ref) {
|
|
|
2163
2182
|
|
|
2164
2183
|
Avatar.displayName = 'Avatar';
|
|
2165
2184
|
|
|
2166
|
-
var modules_33c7c985 = {"badge":"
|
|
2185
|
+
var modules_33c7c985 = {"badge":"_7957de66","badge-info":"c6106b8c","badge-positive":"_6b06bf87","badge-promote":"a6d2daa2","badge-attention":"bbb036ff"};
|
|
2167
2186
|
|
|
2168
|
-
const _excluded$
|
|
2187
|
+
const _excluded$q = ["tone", "label"];
|
|
2169
2188
|
|
|
2170
2189
|
function Badge(_ref) {
|
|
2171
2190
|
let {
|
|
2172
2191
|
tone,
|
|
2173
2192
|
label
|
|
2174
2193
|
} = _ref,
|
|
2175
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2194
|
+
props = _objectWithoutProperties(_ref, _excluded$q);
|
|
2176
2195
|
|
|
2177
2196
|
return /*#__PURE__*/React.createElement(Box, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
2178
2197
|
as: "span" // It enables putting the badge inside a button (https://stackoverflow.com/a/12982334)
|
|
@@ -2184,7 +2203,7 @@ function Badge(_ref) {
|
|
|
2184
2203
|
|
|
2185
2204
|
var modules_8f59d13b = {"overlay":"_8aa86dd3","fadein":"_20c07ee6","fitContent":"_713bc08f","container":"_45139719","full":"ec8619a2","large":"_86a1d5a4","medium":"_11d61de3","small":"aee19643","xlarge":"fe449c81","expand":"_61ffb38f","buttonContainer":"_49ffdac0","headerContent":"ee92ccb3"};
|
|
2186
2205
|
|
|
2187
|
-
const _excluded$
|
|
2206
|
+
const _excluded$r = ["isOpen", "onDismiss", "height", "width", "exceptionallySetClassName", "exceptionallySetOverlayClassName", "autoFocus", "hideOnEscape", "hideOnInteractOutside", "children", "portalElement"],
|
|
2188
2207
|
_excluded2$1 = ["children", "button", "withDivider", "exceptionallySetClassName"],
|
|
2189
2208
|
_excluded3 = ["exceptionallySetClassName", "children"],
|
|
2190
2209
|
_excluded4 = ["exceptionallySetClassName", "withDivider"],
|
|
@@ -2222,7 +2241,7 @@ function Modal(_ref) {
|
|
|
2222
2241
|
children,
|
|
2223
2242
|
portalElement
|
|
2224
2243
|
} = _ref,
|
|
2225
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2244
|
+
props = _objectWithoutProperties(_ref, _excluded$r);
|
|
2226
2245
|
|
|
2227
2246
|
const setOpen = React.useCallback(visible => {
|
|
2228
2247
|
if (!visible) {
|
|
@@ -2471,7 +2490,7 @@ function usePrevious(value) {
|
|
|
2471
2490
|
|
|
2472
2491
|
var modules_40c67f5b = {"tab":"e96bf360","track":"_430e252d","tab-neutral":"f631ccbe","tab-themed":"_6ba96acc","track-neutral":"ef4cd8d3","track-themed":"_344b3b10"};
|
|
2473
2492
|
|
|
2474
|
-
const _excluded$
|
|
2493
|
+
const _excluded$s = ["as", "children", "id", "exceptionallySetClassName"],
|
|
2475
2494
|
_excluded2$2 = ["children", "space"],
|
|
2476
2495
|
_excluded3$1 = ["children", "id", "as", "render"];
|
|
2477
2496
|
const TabsContext = /*#__PURE__*/React.createContext(null);
|
|
@@ -2522,7 +2541,7 @@ const Tab = /*#__PURE__*/polymorphicComponent(function Tab(_ref, ref) {
|
|
|
2522
2541
|
id,
|
|
2523
2542
|
exceptionallySetClassName
|
|
2524
2543
|
} = _ref,
|
|
2525
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2544
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
2526
2545
|
|
|
2527
2546
|
const tabContextValue = React.useContext(TabsContext);
|
|
2528
2547
|
|
|
@@ -2632,7 +2651,7 @@ function TabAwareSlot({
|
|
|
2632
2651
|
}) : null;
|
|
2633
2652
|
}
|
|
2634
2653
|
|
|
2635
|
-
const _excluded$
|
|
2654
|
+
const _excluded$t = ["children", "onItemSelect"],
|
|
2636
2655
|
_excluded2$3 = ["exceptionallySetClassName"],
|
|
2637
2656
|
_excluded3$2 = ["as"],
|
|
2638
2657
|
_excluded4$1 = ["exceptionallySetClassName", "modal"],
|
|
@@ -2654,7 +2673,7 @@ function Menu(_ref) {
|
|
|
2654
2673
|
children,
|
|
2655
2674
|
onItemSelect
|
|
2656
2675
|
} = _ref,
|
|
2657
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2676
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
2658
2677
|
|
|
2659
2678
|
const [anchorRect, handleAnchorRectChange] = React.useState(null);
|
|
2660
2679
|
const getAnchorRect = React.useMemo(() => {
|
|
@@ -2868,7 +2887,7 @@ const MenuGroup = /*#__PURE__*/polymorphicComponent(function MenuGroup(_ref6, re
|
|
|
2868
2887
|
}, label) : null, children);
|
|
2869
2888
|
});
|
|
2870
2889
|
|
|
2871
|
-
const _excluded$
|
|
2890
|
+
const _excluded$u = ["type", "variant", "size", "loading", "disabled", "tooltip", "onClick", "children"];
|
|
2872
2891
|
/**
|
|
2873
2892
|
* @deprecated
|
|
2874
2893
|
*/
|
|
@@ -2884,7 +2903,7 @@ const Button$1 = /*#__PURE__*/React.forwardRef(function Button(_ref, ref) {
|
|
|
2884
2903
|
onClick,
|
|
2885
2904
|
children
|
|
2886
2905
|
} = _ref,
|
|
2887
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2906
|
+
props = _objectWithoutProperties(_ref, _excluded$u);
|
|
2888
2907
|
|
|
2889
2908
|
const className = classNames('reactist_button', variant ? "reactist_button--" + variant : null, size !== 'default' ? "reactist_button--" + size : null, {
|
|
2890
2909
|
'reactist_button--loading': loading
|
|
@@ -2907,7 +2926,7 @@ Button$1.defaultProps = {
|
|
|
2907
2926
|
disabled: false
|
|
2908
2927
|
};
|
|
2909
2928
|
|
|
2910
|
-
const _excluded$
|
|
2929
|
+
const _excluded$v = ["children", "onClick", "tooltip", "className"];
|
|
2911
2930
|
|
|
2912
2931
|
class Box$1 extends React.Component {
|
|
2913
2932
|
constructor(props, context) {
|
|
@@ -3060,7 +3079,7 @@ const Trigger = /*#__PURE__*/React.forwardRef(function Trigger(_ref, ref) {
|
|
|
3060
3079
|
tooltip,
|
|
3061
3080
|
className
|
|
3062
3081
|
} = _ref,
|
|
3063
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3082
|
+
props = _objectWithoutProperties(_ref, _excluded$v);
|
|
3064
3083
|
|
|
3065
3084
|
function handleClick(event) {
|
|
3066
3085
|
event.preventDefault();
|
|
@@ -3187,7 +3206,7 @@ function ColorItem({
|
|
|
3187
3206
|
|
|
3188
3207
|
ColorItem.displayName = 'ColorItem';
|
|
3189
3208
|
|
|
3190
|
-
const _excluded$
|
|
3209
|
+
const _excluded$w = ["children", "className", "translateKey", "isMac"];
|
|
3191
3210
|
// Support for setting up how to translate modifiers globally.
|
|
3192
3211
|
//
|
|
3193
3212
|
|
|
@@ -3269,7 +3288,7 @@ function KeyboardShortcut(_ref) {
|
|
|
3269
3288
|
translateKey = globalTranslateKey,
|
|
3270
3289
|
isMac = (_navigator$platform$t = (_navigator$platform = navigator.platform) == null ? void 0 : _navigator$platform.toUpperCase().includes('MAC')) != null ? _navigator$platform$t : false
|
|
3271
3290
|
} = _ref,
|
|
3272
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3291
|
+
props = _objectWithoutProperties(_ref, _excluded$w);
|
|
3273
3292
|
|
|
3274
3293
|
const shortcuts = typeof children === 'string' ? [children] : children;
|
|
3275
3294
|
return /*#__PURE__*/React.createElement("span", _objectSpread2({
|
|
@@ -3684,7 +3703,7 @@ const Input = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
3684
3703
|
});
|
|
3685
3704
|
Input.displayName = 'Input';
|
|
3686
3705
|
|
|
3687
|
-
const _excluded$
|
|
3706
|
+
const _excluded$x = ["value", "options", "onChange", "disabled", "className", "defaultValue"];
|
|
3688
3707
|
|
|
3689
3708
|
function Select(_ref) {
|
|
3690
3709
|
let {
|
|
@@ -3695,7 +3714,7 @@ function Select(_ref) {
|
|
|
3695
3714
|
className = '',
|
|
3696
3715
|
defaultValue
|
|
3697
3716
|
} = _ref,
|
|
3698
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
3717
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$x);
|
|
3699
3718
|
|
|
3700
3719
|
const selectClassName = classNames('reactist_select', {
|
|
3701
3720
|
disabled
|
|
@@ -3721,7 +3740,7 @@ Select.defaultProps = {
|
|
|
3721
3740
|
|
|
3722
3741
|
var modules_8f59d13b$1 = {"reach-portal":"ad18b0a0","fadein":"f7a1b219","fitContent":"_8ed9bb5c","container":"f67e892e","full":"_4139421e","large":"_649eb5fe","medium":"_5323e676","small":"_56ca7ae6","xlarge":"a7be0fce","overlay":"_88a7a680","expand":"b29456b8","buttonContainer":"_09ef1f4f","headerContent":"_0e5b530a"};
|
|
3723
3742
|
|
|
3724
|
-
const _excluded$
|
|
3743
|
+
const _excluded$y = ["isOpen", "onDismiss", "height", "width", "exceptionallySetClassName", "autoFocus", "children"],
|
|
3725
3744
|
_excluded2$4 = ["children", "button", "withDivider", "exceptionallySetClassName"],
|
|
3726
3745
|
_excluded3$3 = ["exceptionallySetClassName", "children"],
|
|
3727
3746
|
_excluded4$2 = ["exceptionallySetClassName", "withDivider"],
|
|
@@ -3756,7 +3775,7 @@ function DeprecatedModal(_ref) {
|
|
|
3756
3775
|
autoFocus = true,
|
|
3757
3776
|
children
|
|
3758
3777
|
} = _ref,
|
|
3759
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3778
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
3760
3779
|
|
|
3761
3780
|
const contextValue = React.useMemo(() => ({
|
|
3762
3781
|
onDismiss,
|
|
@@ -3970,6 +3989,7 @@ exports.ModalHeader = ModalHeader;
|
|
|
3970
3989
|
exports.Notice = Notice;
|
|
3971
3990
|
exports.PasswordField = PasswordField;
|
|
3972
3991
|
exports.ProgressBar = ProgressBar;
|
|
3992
|
+
exports.Prose = Prose;
|
|
3973
3993
|
exports.SUPPORTED_KEYS = SUPPORTED_KEYS;
|
|
3974
3994
|
exports.SelectField = SelectField;
|
|
3975
3995
|
exports.Stack = Stack;
|