@redsift/design-system 8.0.0-alpha.7 → 8.0.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/index.d.ts +18 -10
- package/index.js +400 -283
- package/index.js.map +1 -1
- package/package.json +14 -12
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I18nProvider, useLocalizedStringFormatter,
|
|
1
|
+
import { I18nProvider, useLocalizedStringFormatter, useFocusRing, useNumberFormatter, useFocusWithin } from 'react-aria';
|
|
2
2
|
export { I18nProvider, SSRProvider } from 'react-aria';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import React__default, { useState, useEffect, useContext,
|
|
4
|
+
import React__default, { useState, useEffect, useContext, useMemo, useRef, useCallback, forwardRef, useReducer, useLayoutEffect, useId as useId$1 } from 'react';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
import { mdiClose, mdiAlert, mdiCheckCircle, mdiAlertCircle, mdiInformation, mdiMenu, mdiMenuOpen, mdiChevronDown, mdiChevronRight, mdiChevronUp, mdiCheckboxMarked, mdiMinusBox, mdiCheckboxBlankOutline, mdiPageLast, mdiKeyboardCaps, mdiRadioboxMarked, mdiRadioboxBlank } from '@redsift/icons';
|
|
7
7
|
import styled, { css, keyframes } from 'styled-components';
|
|
@@ -588,22 +588,13 @@ const useBoundingClientRect = (ref, deps) => {
|
|
|
588
588
|
// SSR case multiple copies of React Aria is not supported.
|
|
589
589
|
const $704cf1d3b684cc5c$var$defaultContext = {
|
|
590
590
|
prefix: String(Math.round(Math.random() * 10000000000)),
|
|
591
|
-
current: 0
|
|
591
|
+
current: 0,
|
|
592
|
+
isSSR: false
|
|
592
593
|
};
|
|
593
594
|
const $704cf1d3b684cc5c$var$SSRContext = /*#__PURE__*/ (React__default).createContext($704cf1d3b684cc5c$var$defaultContext);
|
|
594
595
|
function $704cf1d3b684cc5c$export$535bd6ca7f90a273() {
|
|
595
596
|
let cur = (useContext)($704cf1d3b684cc5c$var$SSRContext);
|
|
596
|
-
|
|
597
|
-
let [isSSR, setIsSSR] = (useState)(isInSSRContext);
|
|
598
|
-
// If on the client, and the component was initially server rendered,
|
|
599
|
-
// then schedule a layout effect to update the component after hydration.
|
|
600
|
-
if (typeof window !== "undefined" && isInSSRContext) // This if statement technically breaks the rules of hooks, but is safe
|
|
601
|
-
// because the condition never changes after mounting.
|
|
602
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
603
|
-
(useLayoutEffect)(()=>{
|
|
604
|
-
setIsSSR(false);
|
|
605
|
-
}, []);
|
|
606
|
-
return isSSR;
|
|
597
|
+
return cur.isSSR;
|
|
607
598
|
}
|
|
608
599
|
|
|
609
600
|
/*
|
|
@@ -1369,6 +1360,10 @@ const AlertVariant = {
|
|
|
1369
1360
|
info: 'info'
|
|
1370
1361
|
};
|
|
1371
1362
|
|
|
1363
|
+
/**
|
|
1364
|
+
* Component props.
|
|
1365
|
+
*/
|
|
1366
|
+
|
|
1372
1367
|
function ownKeys(object, enumerableOnly) {
|
|
1373
1368
|
var keys = Object.keys(object);
|
|
1374
1369
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1484,6 +1479,14 @@ const IconButtonVariant = {
|
|
|
1484
1479
|
unstyled: 'unstyled'
|
|
1485
1480
|
};
|
|
1486
1481
|
|
|
1482
|
+
/**
|
|
1483
|
+
* Component color.
|
|
1484
|
+
*/
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* Component props.
|
|
1488
|
+
*/
|
|
1489
|
+
|
|
1487
1490
|
/**
|
|
1488
1491
|
* Component size.
|
|
1489
1492
|
*/
|
|
@@ -1495,6 +1498,10 @@ const IconSize = {
|
|
|
1495
1498
|
xlarge: 'xlarge'
|
|
1496
1499
|
};
|
|
1497
1500
|
|
|
1501
|
+
/**
|
|
1502
|
+
* Component props.
|
|
1503
|
+
*/
|
|
1504
|
+
|
|
1498
1505
|
const baseLayout = css`
|
|
1499
1506
|
${_ref => {
|
|
1500
1507
|
let {
|
|
@@ -1684,6 +1691,22 @@ const baseContainer = css`
|
|
|
1684
1691
|
${baseFlexbox}
|
|
1685
1692
|
${baseGrid}
|
|
1686
1693
|
`;
|
|
1694
|
+
const focusRing = css`
|
|
1695
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1696
|
+
:focus-visible {
|
|
1697
|
+
outline: 2px solid var(--redsift-color-default-primary);
|
|
1698
|
+
transition: outline-offset 75ms ease-out;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
:not(:active):focus-visible {
|
|
1702
|
+
transition-duration: 0.25s;
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
:not(:active):focus-visible {
|
|
1707
|
+
outline-offset: 0.2rem;
|
|
1708
|
+
}
|
|
1709
|
+
`;
|
|
1687
1710
|
|
|
1688
1711
|
/**
|
|
1689
1712
|
* Component style.
|
|
@@ -1870,6 +1893,14 @@ const ButtonVariant = {
|
|
|
1870
1893
|
unstyled: 'unstyled'
|
|
1871
1894
|
};
|
|
1872
1895
|
|
|
1896
|
+
/**
|
|
1897
|
+
* Component color.
|
|
1898
|
+
*/
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* Component props.
|
|
1902
|
+
*/
|
|
1903
|
+
|
|
1873
1904
|
/**
|
|
1874
1905
|
* Component style.
|
|
1875
1906
|
*/
|
|
@@ -1890,29 +1921,45 @@ const StyledButton = styled.button`
|
|
|
1890
1921
|
text-transform: var(--redsift-typography-button-text-transform);
|
|
1891
1922
|
|
|
1892
1923
|
${_ref => {
|
|
1924
|
+
let {
|
|
1925
|
+
$isLoading
|
|
1926
|
+
} = _ref;
|
|
1927
|
+
return $isLoading ? css`
|
|
1928
|
+
& > span {
|
|
1929
|
+
visibility: hidden;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
& > .redsift-shield {
|
|
1933
|
+
position: absolute;
|
|
1934
|
+
}
|
|
1935
|
+
` : '';
|
|
1936
|
+
}}
|
|
1937
|
+
|
|
1938
|
+
${_ref2 => {
|
|
1893
1939
|
let {
|
|
1894
1940
|
$variant,
|
|
1895
1941
|
$color,
|
|
1896
1942
|
$isActive,
|
|
1897
|
-
$isDisabled
|
|
1898
|
-
|
|
1943
|
+
$isDisabled,
|
|
1944
|
+
$isHovered
|
|
1945
|
+
} = _ref2;
|
|
1899
1946
|
return css`
|
|
1900
1947
|
padding: ${$variant === ButtonVariant.secondary ? '7px 15px' : '8px 16px'};
|
|
1901
1948
|
|
|
1902
1949
|
${$variant === ButtonVariant.secondary ? css`
|
|
1903
|
-
background-color: ${$isActive ? `var(--redsift-color-${$color}-active)` : $isDisabled ? 'var(--redsift-color-neutral-white)' : 'var(--redsift-color-neutral-white)'};
|
|
1950
|
+
background-color: ${$isActive && $isHovered ? `var(--redsift-color-${$color}-active-hover)` : $isActive ? `var(--redsift-color-${$color}-active)` : $isHovered ? `var(--redsift-color-${$color}-hover)` : $isDisabled ? 'var(--redsift-color-neutral-white)' : 'var(--redsift-color-neutral-white)'};
|
|
1904
1951
|
&,
|
|
1905
1952
|
.redsift-icon {
|
|
1906
|
-
color: ${$isDisabled ? 'var(--redsift-color-neutral-midgrey)' : `var(--redsift-color-${$color}-primary)`};
|
|
1953
|
+
color: ${$isHovered ? `var(--redsift-color-${$color}-secondary)` : $isDisabled ? 'var(--redsift-color-neutral-midgrey)' : `var(--redsift-color-${$color}-primary)`};
|
|
1907
1954
|
}
|
|
1908
1955
|
` : $variant === ButtonVariant.unstyled ? css`
|
|
1909
|
-
background-color: ${$isActive ? `var(--redsift-color-${$color}-active)` : $isDisabled ? 'none' : 'none'};
|
|
1956
|
+
background-color: ${$isActive && $isHovered ? `var(--redsift-color-${$color}-active-hover)` : $isActive ? `var(--redsift-color-${$color}-active)` : $isHovered ? `var(--redsift-color-${$color}-hover)` : $isDisabled ? 'none' : 'none'};
|
|
1910
1957
|
&,
|
|
1911
1958
|
.redsift-icon {
|
|
1912
|
-
color: ${$isDisabled ? 'var(--redsift-color-neutral-midgrey)' : `var(--redsift-color-${$color}-primary)`};
|
|
1959
|
+
color: ${$isHovered ? `var(--redsift-color-${$color}-secondary)` : $isDisabled ? 'var(--redsift-color-neutral-midgrey)' : `var(--redsift-color-${$color}-primary)`};
|
|
1913
1960
|
}
|
|
1914
1961
|
` : css`
|
|
1915
|
-
background-color: ${$isActive ? `var(--redsift-color-${$color}-primary-active)` : $isDisabled ? 'var(--redsift-color-neutral-lightgrey)' : `var(--redsift-color-${$color}-primary)`};
|
|
1962
|
+
background-color: ${$isActive && $isHovered ? `var(--redsift-color-${$color}-primary-active-hover)` : $isActive ? `var(--redsift-color-${$color}-primary-active)` : $isHovered ? `var(--redsift-color-${$color}-secondary)` : $isDisabled ? 'var(--redsift-color-neutral-lightgrey)' : `var(--redsift-color-${$color}-primary)`};
|
|
1916
1963
|
&,
|
|
1917
1964
|
.redsift-icon {
|
|
1918
1965
|
color: ${$isDisabled ? 'var(--redsift-color-neutral-midgrey)' : 'var(--redsift-color-neutral-white)'};
|
|
@@ -1930,13 +1977,13 @@ const StyledButton = styled.button`
|
|
|
1930
1977
|
&:focus-visible {
|
|
1931
1978
|
outline: none;
|
|
1932
1979
|
|
|
1933
|
-
${
|
|
1980
|
+
${_ref3 => {
|
|
1934
1981
|
let {
|
|
1935
1982
|
$variant,
|
|
1936
1983
|
$color,
|
|
1937
1984
|
$isActive,
|
|
1938
1985
|
$isDisabled
|
|
1939
|
-
} =
|
|
1986
|
+
} = _ref3;
|
|
1940
1987
|
return css`
|
|
1941
1988
|
cursor: ${$isDisabled ? 'default' : 'pointer'};
|
|
1942
1989
|
|
|
@@ -1970,10 +2017,51 @@ const StyledButton = styled.button`
|
|
|
1970
2017
|
}};
|
|
1971
2018
|
}
|
|
1972
2019
|
|
|
1973
|
-
|
|
2020
|
+
&:active {
|
|
2021
|
+
outline: none;
|
|
2022
|
+
|
|
2023
|
+
${_ref4 => {
|
|
2024
|
+
let {
|
|
2025
|
+
$variant,
|
|
2026
|
+
$color,
|
|
2027
|
+
$isHovered,
|
|
2028
|
+
$isDisabled
|
|
2029
|
+
} = _ref4;
|
|
2030
|
+
return css`
|
|
2031
|
+
${$variant === ButtonVariant.secondary ? css`
|
|
2032
|
+
background-color: ${$isHovered ? `var(--redsift-color-${$color}-active-hover)` : $isDisabled ? 'var(--redsift-color-neutral-white)' : `var(--redsift-color-${$color}-active)`};
|
|
2033
|
+
&,
|
|
2034
|
+
.redsift-icon {
|
|
2035
|
+
color: ${$isDisabled ? 'var(--redsift-color-neutral-midgrey)' : `var(--redsift-color-${$color}-secondary)`};
|
|
2036
|
+
}
|
|
2037
|
+
` : $variant === ButtonVariant.unstyled ? css`
|
|
2038
|
+
background-color: ${$isHovered ? `var(--redsift-color-${$color}-active-hover)` : $isDisabled ? 'none' : `var(--redsift-color-${$color}-active)`};
|
|
2039
|
+
&,
|
|
2040
|
+
.redsift-icon {
|
|
2041
|
+
color: ${$isDisabled ? 'var(--redsift-color-neutral-midgrey)' : `var(--redsift-color-${$color}-secondary)`};
|
|
2042
|
+
}
|
|
2043
|
+
` : css`
|
|
2044
|
+
background-color: ${$isHovered ? `var(--redsift-color-${$color}-primary-active-hover)` : $isDisabled ? 'var(--redsift-color-neutral-lightgrey)' : `var(--redsift-color-${$color}-primary-active)`};
|
|
2045
|
+
&,
|
|
2046
|
+
.redsift-icon {
|
|
2047
|
+
color: ${$isDisabled ? 'var(--redsift-color-neutral-midgrey)' : 'var(--redsift-color-neutral-white)'};
|
|
2048
|
+
}
|
|
2049
|
+
`}
|
|
2050
|
+
|
|
2051
|
+
${$variant === ButtonVariant.secondary ? css`
|
|
2052
|
+
border: 1px solid
|
|
2053
|
+
${$isDisabled ? 'var(--redsift-color-neutral-midgrey)' : `var(--redsift-color-${$color}-primary)`};
|
|
2054
|
+
` : `
|
|
2055
|
+
border: none;
|
|
2056
|
+
`}
|
|
2057
|
+
`;
|
|
2058
|
+
}};
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
${_ref5 => {
|
|
1974
2062
|
let {
|
|
1975
2063
|
$fullWidth
|
|
1976
|
-
} =
|
|
2064
|
+
} = _ref5;
|
|
1977
2065
|
return $fullWidth ? `
|
|
1978
2066
|
width: 100%;
|
|
1979
2067
|
flex-grow: 1;
|
|
@@ -1987,6 +2075,8 @@ const StyledButton = styled.button`
|
|
|
1987
2075
|
}
|
|
1988
2076
|
` : '';
|
|
1989
2077
|
}}
|
|
2078
|
+
|
|
2079
|
+
${focusRing}
|
|
1990
2080
|
`;
|
|
1991
2081
|
|
|
1992
2082
|
var loading$1 = "Loading...";
|
|
@@ -2014,6 +2104,14 @@ const SpinnerSize = {
|
|
|
2014
2104
|
large: 'large'
|
|
2015
2105
|
};
|
|
2016
2106
|
|
|
2107
|
+
/**
|
|
2108
|
+
* Component color.
|
|
2109
|
+
*/
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* Component props.
|
|
2113
|
+
*/
|
|
2114
|
+
|
|
2017
2115
|
const StyledSpinner = styled.img`
|
|
2018
2116
|
${baseStyling}
|
|
2019
2117
|
|
|
@@ -2221,7 +2319,7 @@ Spinner.className = CLASSNAME$J;
|
|
|
2221
2319
|
Spinner.defaultProps = DEFAULT_PROPS$J;
|
|
2222
2320
|
Spinner.displayName = COMPONENT_NAME$J;
|
|
2223
2321
|
|
|
2224
|
-
const _excluded$G = ["children", "className", "color", "disabled", "fullWidth", "isActive", "isDisabled", "
|
|
2322
|
+
const _excluded$G = ["children", "className", "color", "disabled", "fullWidth", "isActive", "isDisabled", "isHovered", "isLoading", "leftIcon", "rightIcon", "variant"];
|
|
2225
2323
|
const COMPONENT_NAME$I = 'Button';
|
|
2226
2324
|
const CLASSNAME$I = 'redsift-button';
|
|
2227
2325
|
const DEFAULT_PROPS$I = {
|
|
@@ -2239,13 +2337,6 @@ const DEFAULT_PROPS$I = {
|
|
|
2239
2337
|
*/
|
|
2240
2338
|
const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
2241
2339
|
const buttonRef = ref || useRef();
|
|
2242
|
-
const {
|
|
2243
|
-
buttonProps,
|
|
2244
|
-
isPressed
|
|
2245
|
-
} = useButton(_objectSpread2(_objectSpread2({}, props), {}, {
|
|
2246
|
-
isDisabled: props.isLoading || props.isDisabled || props.disabled,
|
|
2247
|
-
preventFocusOnPress: true
|
|
2248
|
-
}), buttonRef);
|
|
2249
2340
|
const {
|
|
2250
2341
|
children,
|
|
2251
2342
|
className,
|
|
@@ -2253,24 +2344,26 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2253
2344
|
disabled,
|
|
2254
2345
|
fullWidth,
|
|
2255
2346
|
isActive,
|
|
2256
|
-
isDisabled,
|
|
2347
|
+
isDisabled: propsIsDisabled,
|
|
2348
|
+
isHovered,
|
|
2257
2349
|
isLoading,
|
|
2258
2350
|
leftIcon,
|
|
2259
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2260
|
-
onPress,
|
|
2261
2351
|
rightIcon,
|
|
2262
2352
|
variant
|
|
2263
2353
|
} = props,
|
|
2264
2354
|
forwardedProps = _objectWithoutProperties(props, _excluded$G);
|
|
2265
|
-
|
|
2355
|
+
const isDisabled = isLoading || propsIsDisabled || disabled;
|
|
2356
|
+
return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({}, forwardedProps, {
|
|
2266
2357
|
$color: color,
|
|
2267
2358
|
$fullWidth: fullWidth,
|
|
2268
|
-
$isActive: isActive
|
|
2269
|
-
$isDisabled:
|
|
2359
|
+
$isActive: isActive,
|
|
2360
|
+
$isDisabled: isDisabled,
|
|
2361
|
+
$isHovered: isHovered,
|
|
2362
|
+
$isLoading: isLoading,
|
|
2270
2363
|
$variant: variant,
|
|
2271
|
-
"aria-disabled":
|
|
2364
|
+
"aria-disabled": isDisabled,
|
|
2272
2365
|
className: classNames(Button.className, className),
|
|
2273
|
-
disabled:
|
|
2366
|
+
disabled: isDisabled,
|
|
2274
2367
|
ref: buttonRef
|
|
2275
2368
|
}), leftIcon ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
2276
2369
|
icon: leftIcon,
|
|
@@ -2279,7 +2372,7 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2279
2372
|
}) : null, isLoading ? /*#__PURE__*/React__default.createElement(Spinner, {
|
|
2280
2373
|
size: "small",
|
|
2281
2374
|
color: "no-data"
|
|
2282
|
-
}) : null, children, rightIcon ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
2375
|
+
}) : null, /*#__PURE__*/React__default.createElement("span", null, children), rightIcon ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
2283
2376
|
icon: rightIcon,
|
|
2284
2377
|
"aria-hidden": "true",
|
|
2285
2378
|
className: "right"
|
|
@@ -2301,9 +2394,20 @@ const StyledIconButton = styled(StyledButton)`
|
|
|
2301
2394
|
padding: ${$variant === IconButtonVariant.secondary ? '8px' : '9px'};
|
|
2302
2395
|
`;
|
|
2303
2396
|
}};
|
|
2397
|
+
|
|
2398
|
+
${_ref2 => {
|
|
2399
|
+
let {
|
|
2400
|
+
$isLoading
|
|
2401
|
+
} = _ref2;
|
|
2402
|
+
return $isLoading ? css`
|
|
2403
|
+
& > .redsift-shield {
|
|
2404
|
+
position: relative;
|
|
2405
|
+
}
|
|
2406
|
+
` : '';
|
|
2407
|
+
}}
|
|
2304
2408
|
`;
|
|
2305
2409
|
|
|
2306
|
-
const _excluded$F = ["className", "color", "disabled", "icon", "isActive", "isDisabled", "
|
|
2410
|
+
const _excluded$F = ["className", "color", "disabled", "icon", "isActive", "isDisabled", "isHovered", "isLoading", "variant"];
|
|
2307
2411
|
const COMPONENT_NAME$H = 'IconButton';
|
|
2308
2412
|
const CLASSNAME$H = 'redsift-icon-button';
|
|
2309
2413
|
const DEFAULT_PROPS$H = {
|
|
@@ -2320,38 +2424,37 @@ const DEFAULT_PROPS$H = {
|
|
|
2320
2424
|
*/
|
|
2321
2425
|
const IconButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
2322
2426
|
const buttonRef = ref || useRef();
|
|
2323
|
-
const {
|
|
2324
|
-
buttonProps,
|
|
2325
|
-
isPressed
|
|
2326
|
-
} = useButton(_objectSpread2(_objectSpread2({}, props), {}, {
|
|
2327
|
-
isDisabled: props.isDisabled || props.disabled,
|
|
2328
|
-
preventFocusOnPress: true
|
|
2329
|
-
}), buttonRef);
|
|
2330
2427
|
const {
|
|
2331
2428
|
className,
|
|
2332
2429
|
color,
|
|
2333
2430
|
disabled,
|
|
2334
2431
|
icon,
|
|
2335
2432
|
isActive,
|
|
2336
|
-
isDisabled,
|
|
2337
|
-
|
|
2338
|
-
|
|
2433
|
+
isDisabled: propsIsDisabled,
|
|
2434
|
+
isHovered,
|
|
2435
|
+
isLoading,
|
|
2339
2436
|
variant
|
|
2340
2437
|
} = props,
|
|
2341
2438
|
forwardedProps = _objectWithoutProperties(props, _excluded$F);
|
|
2439
|
+
const isDisabled = props.isLoading || propsIsDisabled || disabled;
|
|
2342
2440
|
warnIfNoAccessibleLabelFound(props);
|
|
2343
|
-
return /*#__PURE__*/React__default.createElement(StyledIconButton, _extends$1({}, forwardedProps,
|
|
2344
|
-
$color: isDisabled
|
|
2345
|
-
$isActive: isActive
|
|
2346
|
-
$isDisabled: isDisabled
|
|
2441
|
+
return /*#__PURE__*/React__default.createElement(StyledIconButton, _extends$1({}, forwardedProps, {
|
|
2442
|
+
$color: isDisabled ? undefined : color,
|
|
2443
|
+
$isActive: isActive,
|
|
2444
|
+
$isDisabled: isDisabled,
|
|
2445
|
+
$isHovered: isHovered,
|
|
2446
|
+
$isLoading: isLoading,
|
|
2347
2447
|
$variant: variant,
|
|
2348
|
-
"aria-disabled": isDisabled
|
|
2448
|
+
"aria-disabled": isDisabled,
|
|
2349
2449
|
className: classNames(IconButton.className, className),
|
|
2350
|
-
disabled: isDisabled
|
|
2450
|
+
disabled: isDisabled,
|
|
2351
2451
|
ref: buttonRef
|
|
2352
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
2452
|
+
}), isLoading ? /*#__PURE__*/React__default.createElement(Spinner, {
|
|
2453
|
+
size: "small",
|
|
2454
|
+
color: "no-data"
|
|
2455
|
+
}) : /*#__PURE__*/React__default.createElement(Icon, {
|
|
2353
2456
|
icon: icon,
|
|
2354
|
-
color: isDisabled
|
|
2457
|
+
color: isDisabled ? undefined : color
|
|
2355
2458
|
}));
|
|
2356
2459
|
});
|
|
2357
2460
|
IconButton.className = CLASSNAME$H;
|
|
@@ -2425,6 +2528,10 @@ const HeadingComponent = {
|
|
|
2425
2528
|
span: 'span'
|
|
2426
2529
|
};
|
|
2427
2530
|
|
|
2531
|
+
/**
|
|
2532
|
+
* Component props.
|
|
2533
|
+
*/
|
|
2534
|
+
|
|
2428
2535
|
/**
|
|
2429
2536
|
* Component style.
|
|
2430
2537
|
*/
|
|
@@ -2643,17 +2750,18 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2643
2750
|
}, /*#__PURE__*/React__default.createElement(Flexbox, {
|
|
2644
2751
|
className: `${Alert.className}-header__title`,
|
|
2645
2752
|
gap: "14px",
|
|
2646
|
-
alignItems: "
|
|
2753
|
+
alignItems: "center"
|
|
2647
2754
|
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
2648
2755
|
icon: icon,
|
|
2649
2756
|
color: color
|
|
2650
2757
|
}), title ? /*#__PURE__*/React__default.createElement(Heading, {
|
|
2651
|
-
as: "
|
|
2758
|
+
as: "span",
|
|
2759
|
+
variant: "h5"
|
|
2652
2760
|
}, title) : null), isClosable ? /*#__PURE__*/React__default.createElement(IconButton, {
|
|
2653
2761
|
"aria-label": stringFormatter.format('close'),
|
|
2654
2762
|
className: `${Alert.className}-header__icon-button`,
|
|
2655
2763
|
icon: mdiClose,
|
|
2656
|
-
|
|
2764
|
+
onClick: handleClose
|
|
2657
2765
|
}) : null), children ? /*#__PURE__*/React__default.createElement("div", {
|
|
2658
2766
|
className: `${Alert.className}__content`
|
|
2659
2767
|
}, children) : null);
|
|
@@ -2794,7 +2902,7 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2794
2902
|
}, expandIconButtonProps, {
|
|
2795
2903
|
"aria-label": stringFormatter.format('expand'),
|
|
2796
2904
|
icon: mdiMenu,
|
|
2797
|
-
|
|
2905
|
+
onClick: appContainerState.expandSidePanel,
|
|
2798
2906
|
ref: collapseIconButtonRef,
|
|
2799
2907
|
variant: IconButtonVariant.primary
|
|
2800
2908
|
})) : /*#__PURE__*/React__default.createElement(IconButton, _extends$1({
|
|
@@ -2802,7 +2910,7 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2802
2910
|
}, collapseIconButtonProps, {
|
|
2803
2911
|
"aria-label": stringFormatter.format('collapse'),
|
|
2804
2912
|
icon: mdiMenuOpen,
|
|
2805
|
-
|
|
2913
|
+
onClick: appContainerState.collapseSidePanel,
|
|
2806
2914
|
ref: expandIconButtonRef,
|
|
2807
2915
|
variant: IconButtonVariant.primary
|
|
2808
2916
|
}))) : null, propsTitle && typeof propsTitle !== 'string' ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, propsTitle) : typeof propsTitle === 'string' ? /*#__PURE__*/React__default.createElement(Heading, {
|
|
@@ -3049,12 +3157,16 @@ AppSidePanel.displayName = COMPONENT_NAME$B;
|
|
|
3049
3157
|
* Reducer props.
|
|
3050
3158
|
*/
|
|
3051
3159
|
|
|
3052
|
-
let SideNavigationMenuReducerActionType
|
|
3053
|
-
(function (SideNavigationMenuReducerActionType) {
|
|
3160
|
+
let SideNavigationMenuReducerActionType = /*#__PURE__*/function (SideNavigationMenuReducerActionType) {
|
|
3054
3161
|
SideNavigationMenuReducerActionType["Expand"] = "expand";
|
|
3055
3162
|
SideNavigationMenuReducerActionType["Collapse"] = "collapse";
|
|
3056
3163
|
SideNavigationMenuReducerActionType["Move"] = "move";
|
|
3057
|
-
|
|
3164
|
+
return SideNavigationMenuReducerActionType;
|
|
3165
|
+
}({});
|
|
3166
|
+
|
|
3167
|
+
/**
|
|
3168
|
+
* Component props.
|
|
3169
|
+
*/
|
|
3058
3170
|
|
|
3059
3171
|
const SideNavigationMenuBarContext = /*#__PURE__*/React__default.createContext(null);
|
|
3060
3172
|
|
|
@@ -3195,6 +3307,10 @@ const BadgeVariant = {
|
|
|
3195
3307
|
standard: 'standard'
|
|
3196
3308
|
};
|
|
3197
3309
|
|
|
3310
|
+
/**
|
|
3311
|
+
* Component props.
|
|
3312
|
+
*/
|
|
3313
|
+
|
|
3198
3314
|
/**
|
|
3199
3315
|
* Component style.
|
|
3200
3316
|
*/
|
|
@@ -4603,6 +4719,10 @@ const SkeletonTextVariant = {
|
|
|
4603
4719
|
caption: 'caption'
|
|
4604
4720
|
};
|
|
4605
4721
|
|
|
4722
|
+
/**
|
|
4723
|
+
* Component props.
|
|
4724
|
+
*/
|
|
4725
|
+
|
|
4606
4726
|
/**
|
|
4607
4727
|
* Component style.
|
|
4608
4728
|
*/
|
|
@@ -4865,7 +4985,7 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4865
4985
|
className: `${BaseCard.className}-header__icon-button`,
|
|
4866
4986
|
color: "question",
|
|
4867
4987
|
icon: isCollapsed ? mdiChevronDown : mdiChevronUp,
|
|
4868
|
-
|
|
4988
|
+
onClick: () => handleCollapse(!isCollapsed)
|
|
4869
4989
|
}) : null) : null, body || actions ? /*#__PURE__*/React__default.createElement("div", {
|
|
4870
4990
|
className: `${BaseCard.className}__content`
|
|
4871
4991
|
}, body, actions) : null);
|
|
@@ -4887,10 +5007,14 @@ const Card = Object.assign(BaseCard, {
|
|
|
4887
5007
|
* Component orientation.
|
|
4888
5008
|
*/
|
|
4889
5009
|
const CheckboxGroupOrientation = {
|
|
4890
|
-
|
|
4891
|
-
|
|
5010
|
+
vertical: 'vertical',
|
|
5011
|
+
horizontal: 'horizontal'
|
|
4892
5012
|
};
|
|
4893
5013
|
|
|
5014
|
+
/**
|
|
5015
|
+
* Component props.
|
|
5016
|
+
*/
|
|
5017
|
+
|
|
4894
5018
|
const CheckboxGroupContext = /*#__PURE__*/React__default.createContext(null);
|
|
4895
5019
|
|
|
4896
5020
|
/**
|
|
@@ -5254,7 +5378,15 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5254
5378
|
$isSelected: isSelected,
|
|
5255
5379
|
className: classNames(Checkbox.className, className),
|
|
5256
5380
|
ref: ref
|
|
5257
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
5381
|
+
}), isSelected || isControlled && propsIsSelected ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
5382
|
+
icon: mdiCheckboxMarked
|
|
5383
|
+
}) : isIndeterminate ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
5384
|
+
icon: mdiMinusBox
|
|
5385
|
+
}) : /*#__PURE__*/React__default.createElement(Icon, {
|
|
5386
|
+
icon: mdiCheckboxBlankOutline
|
|
5387
|
+
}), children ? /*#__PURE__*/React__default.createElement("span", {
|
|
5388
|
+
className: "label"
|
|
5389
|
+
}, children) : null, /*#__PURE__*/React__default.createElement("input", _extends$1({}, inputProps, focusProps, {
|
|
5258
5390
|
"aria-checked": isSelected || isControlled && propsIsSelected ? 'true' : isIndeterminate ? 'mixed' : 'false',
|
|
5259
5391
|
"aria-disabled": isDisabled,
|
|
5260
5392
|
"aria-invalid": isInvalid || isRequired && !isSelected,
|
|
@@ -5270,15 +5402,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5270
5402
|
ref: inputRef,
|
|
5271
5403
|
type: "checkbox",
|
|
5272
5404
|
value: value
|
|
5273
|
-
}))
|
|
5274
|
-
icon: mdiCheckboxMarked
|
|
5275
|
-
}) : isIndeterminate ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
5276
|
-
icon: mdiMinusBox
|
|
5277
|
-
}) : /*#__PURE__*/React__default.createElement(Icon, {
|
|
5278
|
-
icon: mdiCheckboxBlankOutline
|
|
5279
|
-
}), children ? /*#__PURE__*/React__default.createElement("span", {
|
|
5280
|
-
className: "label"
|
|
5281
|
-
}, children) : null);
|
|
5405
|
+
})));
|
|
5282
5406
|
});
|
|
5283
5407
|
Checkbox.className = CLASSNAME$l;
|
|
5284
5408
|
Checkbox.defaultProps = DEFAULT_PROPS$l;
|
|
@@ -5327,6 +5451,10 @@ const ShieldVariant = {
|
|
|
5327
5451
|
email: 'email'
|
|
5328
5452
|
};
|
|
5329
5453
|
|
|
5454
|
+
/**
|
|
5455
|
+
* Component props.
|
|
5456
|
+
*/
|
|
5457
|
+
|
|
5330
5458
|
const StyledShield = styled.div`
|
|
5331
5459
|
height: 24px;
|
|
5332
5460
|
width: 20px;
|
|
@@ -5683,6 +5811,10 @@ const TextComponent = {
|
|
|
5683
5811
|
sup: 'sup'
|
|
5684
5812
|
};
|
|
5685
5813
|
|
|
5814
|
+
/**
|
|
5815
|
+
* Component props.
|
|
5816
|
+
*/
|
|
5817
|
+
|
|
5686
5818
|
/**
|
|
5687
5819
|
* Component style.
|
|
5688
5820
|
*/
|
|
@@ -5879,7 +6011,7 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5879
6011
|
className: `${DetailedCardSection.className}-header__collapse-button`,
|
|
5880
6012
|
color: "question",
|
|
5881
6013
|
icon: isCollapsed ? mdiChevronDown : mdiChevronUp,
|
|
5882
|
-
|
|
6014
|
+
onClick: () => {
|
|
5883
6015
|
setIsCollapsed(isCollapsed => !isCollapsed);
|
|
5884
6016
|
}
|
|
5885
6017
|
}) : null), children);
|
|
@@ -6117,7 +6249,7 @@ DetailedCardSectionItem.defaultProps = DEFAULT_PROPS$e;
|
|
|
6117
6249
|
DetailedCardSectionItem.displayName = COMPONENT_NAME$e;
|
|
6118
6250
|
|
|
6119
6251
|
/*!
|
|
6120
|
-
* tabbable 6.1.
|
|
6252
|
+
* tabbable 6.1.2
|
|
6121
6253
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
6122
6254
|
*/
|
|
6123
6255
|
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
|
@@ -6705,22 +6837,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
6705
6837
|
} = config;
|
|
6706
6838
|
const validMiddleware = middleware.filter(Boolean);
|
|
6707
6839
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
6708
|
-
if (process.env.NODE_ENV !== "production") {
|
|
6709
|
-
if (platform == null) {
|
|
6710
|
-
console.error(['Floating UI: `platform` property was not passed to config. If you', 'want to use Floating UI on the web, install @floating-ui/dom', 'instead of the /core package. Otherwise, you can create your own', '`platform`: https://floating-ui.com/docs/platform'].join(' '));
|
|
6711
|
-
}
|
|
6712
|
-
if (validMiddleware.filter(_ref => {
|
|
6713
|
-
let {
|
|
6714
|
-
name
|
|
6715
|
-
} = _ref;
|
|
6716
|
-
return name === 'autoPlacement' || name === 'flip';
|
|
6717
|
-
}).length > 1) {
|
|
6718
|
-
throw new Error(['Floating UI: duplicate `flip` and/or `autoPlacement` middleware', 'detected. This will lead to an infinite loop. Ensure only one of', 'either has been passed to the `middleware` array.'].join(' '));
|
|
6719
|
-
}
|
|
6720
|
-
if (!reference || !floating) {
|
|
6721
|
-
console.error(['Floating UI: The reference and/or floating element was not defined', 'when `computePosition()` was called. Ensure that both elements have', 'been created and can be measured.'].join(' '));
|
|
6722
|
-
}
|
|
6723
|
-
}
|
|
6724
6840
|
let rects = await platform.getElementRects({
|
|
6725
6841
|
reference,
|
|
6726
6842
|
floating,
|
|
@@ -6766,11 +6882,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
6766
6882
|
...data
|
|
6767
6883
|
}
|
|
6768
6884
|
};
|
|
6769
|
-
if (process.env.NODE_ENV !== "production") {
|
|
6770
|
-
if (resetCount > 50) {
|
|
6771
|
-
console.warn(['Floating UI: The middleware lifecycle appears to be running in an', 'infinite loop. This is usually caused by a `reset` continually', 'being returned without a break condition.'].join(' '));
|
|
6772
|
-
}
|
|
6773
|
-
}
|
|
6774
6885
|
if (reset && resetCount <= 50) {
|
|
6775
6886
|
resetCount++;
|
|
6776
6887
|
if (typeof reset === 'object') {
|
|
@@ -6802,6 +6913,10 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
6802
6913
|
};
|
|
6803
6914
|
};
|
|
6804
6915
|
|
|
6916
|
+
function evaluate(value, param) {
|
|
6917
|
+
return typeof value === 'function' ? value(param) : value;
|
|
6918
|
+
}
|
|
6919
|
+
|
|
6805
6920
|
function expandPaddingObject(padding) {
|
|
6806
6921
|
return {
|
|
6807
6922
|
top: 0,
|
|
@@ -6858,7 +6973,7 @@ async function detectOverflow(state, options) {
|
|
|
6858
6973
|
elementContext = 'floating',
|
|
6859
6974
|
altBoundary = false,
|
|
6860
6975
|
padding = 0
|
|
6861
|
-
} = options;
|
|
6976
|
+
} = evaluate(options, state);
|
|
6862
6977
|
const paddingObject = getSideObjectFromPadding(padding);
|
|
6863
6978
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
6864
6979
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
@@ -6886,7 +7001,6 @@ async function detectOverflow(state, options) {
|
|
|
6886
7001
|
offsetParent,
|
|
6887
7002
|
strategy
|
|
6888
7003
|
}) : rect);
|
|
6889
|
-
if (process.env.NODE_ENV !== "production") ;
|
|
6890
7004
|
return {
|
|
6891
7005
|
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
6892
7006
|
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
@@ -6911,22 +7025,20 @@ const arrow$1 = options => ({
|
|
|
6911
7025
|
name: 'arrow',
|
|
6912
7026
|
options,
|
|
6913
7027
|
async fn(state) {
|
|
6914
|
-
// Since `element` is required, we don't Partial<> the type.
|
|
6915
|
-
const {
|
|
6916
|
-
element,
|
|
6917
|
-
padding = 0
|
|
6918
|
-
} = options || {};
|
|
6919
7028
|
const {
|
|
6920
7029
|
x,
|
|
6921
7030
|
y,
|
|
6922
7031
|
placement,
|
|
6923
7032
|
rects,
|
|
6924
|
-
platform
|
|
7033
|
+
platform,
|
|
7034
|
+
elements
|
|
6925
7035
|
} = state;
|
|
7036
|
+
// Since `element` is required, we don't Partial<> the type.
|
|
7037
|
+
const {
|
|
7038
|
+
element,
|
|
7039
|
+
padding = 0
|
|
7040
|
+
} = evaluate(options, state) || {};
|
|
6926
7041
|
if (element == null) {
|
|
6927
|
-
if (process.env.NODE_ENV !== "production") {
|
|
6928
|
-
console.warn('Floating UI: No `element` was passed to the `arrow` middleware.');
|
|
6929
|
-
}
|
|
6930
7042
|
return {};
|
|
6931
7043
|
}
|
|
6932
7044
|
const paddingObject = getSideObjectFromPadding(padding);
|
|
@@ -6937,30 +7049,40 @@ const arrow$1 = options => ({
|
|
|
6937
7049
|
const axis = getMainAxisFromPlacement(placement);
|
|
6938
7050
|
const length = getLengthFromAxis(axis);
|
|
6939
7051
|
const arrowDimensions = await platform.getDimensions(element);
|
|
6940
|
-
const
|
|
6941
|
-
const
|
|
7052
|
+
const isYAxis = axis === 'y';
|
|
7053
|
+
const minProp = isYAxis ? 'top' : 'left';
|
|
7054
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
7055
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
6942
7056
|
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
6943
7057
|
const startDiff = coords[axis] - rects.reference[axis];
|
|
6944
7058
|
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
6945
|
-
let clientSize = arrowOffsetParent ?
|
|
6946
|
-
|
|
6947
|
-
|
|
7059
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
7060
|
+
|
|
7061
|
+
// DOM platform can return `window` as the `offsetParent`.
|
|
7062
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
7063
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
6948
7064
|
}
|
|
6949
7065
|
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
6950
7066
|
|
|
7067
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
|
7068
|
+
// centered, modify the padding so that it is centered.
|
|
7069
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
7070
|
+
const minPadding = min$1(paddingObject[minProp], largestPossiblePadding);
|
|
7071
|
+
const maxPadding = min$1(paddingObject[maxProp], largestPossiblePadding);
|
|
7072
|
+
|
|
6951
7073
|
// Make sure the arrow doesn't overflow the floating element if the center
|
|
6952
7074
|
// point is outside the floating element's bounds.
|
|
6953
|
-
const min =
|
|
6954
|
-
const max = clientSize - arrowDimensions[length] -
|
|
7075
|
+
const min$1$1 = minPadding;
|
|
7076
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
6955
7077
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
6956
|
-
const offset = within(min, center, max);
|
|
7078
|
+
const offset = within(min$1$1, center, max);
|
|
6957
7079
|
|
|
6958
7080
|
// If the reference is small enough that the arrow's padding causes it to
|
|
6959
7081
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
6960
7082
|
// floating element itself. This stops `shift()` from taking action, but can
|
|
6961
7083
|
// be worked around by calling it again after the `arrow()` if desired.
|
|
6962
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min ?
|
|
6963
|
-
const alignmentOffset = shouldAddOffset ? center < min ? min - center : max - center : 0;
|
|
7084
|
+
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
7085
|
+
const alignmentOffset = shouldAddOffset ? center < min$1$1 ? min$1$1 - center : max - center : 0;
|
|
6964
7086
|
return {
|
|
6965
7087
|
[axis]: coords[axis] - alignmentOffset,
|
|
6966
7088
|
data: {
|
|
@@ -7071,7 +7193,7 @@ const flip = function (options) {
|
|
|
7071
7193
|
fallbackAxisSideDirection = 'none',
|
|
7072
7194
|
flipAlignment = true,
|
|
7073
7195
|
...detectOverflowOptions
|
|
7074
|
-
} = options;
|
|
7196
|
+
} = evaluate(options, state);
|
|
7075
7197
|
const side = getSide(placement);
|
|
7076
7198
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
7077
7199
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
@@ -7150,7 +7272,7 @@ const flip = function (options) {
|
|
|
7150
7272
|
};
|
|
7151
7273
|
};
|
|
7152
7274
|
|
|
7153
|
-
async function convertValueToCoords(state,
|
|
7275
|
+
async function convertValueToCoords(state, options) {
|
|
7154
7276
|
const {
|
|
7155
7277
|
placement,
|
|
7156
7278
|
platform,
|
|
@@ -7162,7 +7284,7 @@ async function convertValueToCoords(state, value) {
|
|
|
7162
7284
|
const isVertical = getMainAxisFromPlacement(placement) === 'x';
|
|
7163
7285
|
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
7164
7286
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
7165
|
-
const rawValue =
|
|
7287
|
+
const rawValue = evaluate(options, state);
|
|
7166
7288
|
|
|
7167
7289
|
// eslint-disable-next-line prefer-const
|
|
7168
7290
|
let {
|
|
@@ -7198,19 +7320,19 @@ async function convertValueToCoords(state, value) {
|
|
|
7198
7320
|
* object may be passed.
|
|
7199
7321
|
* @see https://floating-ui.com/docs/offset
|
|
7200
7322
|
*/
|
|
7201
|
-
const offset = function (
|
|
7202
|
-
if (
|
|
7203
|
-
|
|
7323
|
+
const offset = function (options) {
|
|
7324
|
+
if (options === void 0) {
|
|
7325
|
+
options = 0;
|
|
7204
7326
|
}
|
|
7205
7327
|
return {
|
|
7206
7328
|
name: 'offset',
|
|
7207
|
-
options
|
|
7329
|
+
options,
|
|
7208
7330
|
async fn(state) {
|
|
7209
7331
|
const {
|
|
7210
7332
|
x,
|
|
7211
7333
|
y
|
|
7212
7334
|
} = state;
|
|
7213
|
-
const diffCoords = await convertValueToCoords(state,
|
|
7335
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
7214
7336
|
return {
|
|
7215
7337
|
x: x + diffCoords.x,
|
|
7216
7338
|
y: y + diffCoords.y,
|
|
@@ -7258,7 +7380,7 @@ const shift = function (options) {
|
|
|
7258
7380
|
}
|
|
7259
7381
|
},
|
|
7260
7382
|
...detectOverflowOptions
|
|
7261
|
-
} = options;
|
|
7383
|
+
} = evaluate(options, state);
|
|
7262
7384
|
const coords = {
|
|
7263
7385
|
x,
|
|
7264
7386
|
y
|
|
@@ -7307,54 +7429,19 @@ function getComputedStyle$1(element) {
|
|
|
7307
7429
|
return getWindow$1(element).getComputedStyle(element);
|
|
7308
7430
|
}
|
|
7309
7431
|
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
const round = Math.round;
|
|
7313
|
-
|
|
7314
|
-
function getCssDimensions(element) {
|
|
7315
|
-
const css = getComputedStyle$1(element);
|
|
7316
|
-
let width = parseFloat(css.width);
|
|
7317
|
-
let height = parseFloat(css.height);
|
|
7318
|
-
const offsetWidth = element.offsetWidth;
|
|
7319
|
-
const offsetHeight = element.offsetHeight;
|
|
7320
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
7321
|
-
if (shouldFallback) {
|
|
7322
|
-
width = offsetWidth;
|
|
7323
|
-
height = offsetHeight;
|
|
7324
|
-
}
|
|
7325
|
-
return {
|
|
7326
|
-
width,
|
|
7327
|
-
height,
|
|
7328
|
-
fallback: shouldFallback
|
|
7329
|
-
};
|
|
7432
|
+
function isNode(value) {
|
|
7433
|
+
return value instanceof getWindow$1(value).Node;
|
|
7330
7434
|
}
|
|
7331
|
-
|
|
7332
7435
|
function getNodeName(node) {
|
|
7333
7436
|
return isNode(node) ? (node.nodeName || '').toLowerCase() : '';
|
|
7334
7437
|
}
|
|
7335
7438
|
|
|
7336
|
-
let uaString;
|
|
7337
|
-
function getUAString() {
|
|
7338
|
-
if (uaString) {
|
|
7339
|
-
return uaString;
|
|
7340
|
-
}
|
|
7341
|
-
const uaData = navigator.userAgentData;
|
|
7342
|
-
if (uaData && Array.isArray(uaData.brands)) {
|
|
7343
|
-
uaString = uaData.brands.map(item => item.brand + "/" + item.version).join(' ');
|
|
7344
|
-
return uaString;
|
|
7345
|
-
}
|
|
7346
|
-
return navigator.userAgent;
|
|
7347
|
-
}
|
|
7348
|
-
|
|
7349
7439
|
function isHTMLElement$1(value) {
|
|
7350
7440
|
return value instanceof getWindow$1(value).HTMLElement;
|
|
7351
7441
|
}
|
|
7352
7442
|
function isElement$1(value) {
|
|
7353
7443
|
return value instanceof getWindow$1(value).Element;
|
|
7354
7444
|
}
|
|
7355
|
-
function isNode(value) {
|
|
7356
|
-
return value instanceof getWindow$1(value).Node;
|
|
7357
|
-
}
|
|
7358
7445
|
function isShadowRoot$1(node) {
|
|
7359
7446
|
// Browsers without `ShadowRoot` support.
|
|
7360
7447
|
if (typeof ShadowRoot === 'undefined') {
|
|
@@ -7376,41 +7463,45 @@ function isTableElement(element) {
|
|
|
7376
7463
|
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
7377
7464
|
}
|
|
7378
7465
|
function isContainingBlock(element) {
|
|
7379
|
-
|
|
7380
|
-
const isFirefox = /firefox/i.test(getUAString());
|
|
7466
|
+
const safari = isSafari$1();
|
|
7381
7467
|
const css = getComputedStyle$1(element);
|
|
7382
|
-
const backdropFilter = css.backdropFilter || css.WebkitBackdropFilter;
|
|
7383
7468
|
|
|
7384
|
-
// This is non-exhaustive but covers the most common CSS properties that
|
|
7385
|
-
// create a containing block.
|
|
7386
7469
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
7387
|
-
return css.transform !== 'none' || css.perspective !== 'none' || (backdropFilter ? backdropFilter !== 'none' : false) ||
|
|
7388
|
-
// Add type check for old browsers.
|
|
7389
|
-
const contain = css.contain;
|
|
7390
|
-
return contain != null ? contain.includes(value) : false;
|
|
7391
|
-
});
|
|
7470
|
+
return css.transform !== 'none' || css.perspective !== 'none' || !safari && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !safari && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
7392
7471
|
}
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
* viewport offsets. In Safari, the `x`/`y` offsets are values relative to the
|
|
7397
|
-
* visual viewport, while in other engines, they are values relative to the
|
|
7398
|
-
* layout viewport.
|
|
7399
|
-
*/
|
|
7400
|
-
function isClientRectVisualViewportBased() {
|
|
7401
|
-
// TODO: Try to use feature detection here instead. Feature detection for
|
|
7402
|
-
// this can fail in various ways, making the userAgent check the most
|
|
7403
|
-
// reliable:
|
|
7404
|
-
// • Always-visible scrollbar or not
|
|
7405
|
-
// • Width of <html>
|
|
7406
|
-
|
|
7407
|
-
// Is Safari.
|
|
7408
|
-
return /^((?!chrome|android).)*safari/i.test(getUAString());
|
|
7472
|
+
function isSafari$1() {
|
|
7473
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
7474
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
7409
7475
|
}
|
|
7410
7476
|
function isLastTraversableNode(node) {
|
|
7411
7477
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
7412
7478
|
}
|
|
7413
7479
|
|
|
7480
|
+
const min = Math.min;
|
|
7481
|
+
const max = Math.max;
|
|
7482
|
+
const round = Math.round;
|
|
7483
|
+
|
|
7484
|
+
function getCssDimensions(element) {
|
|
7485
|
+
const css = getComputedStyle$1(element);
|
|
7486
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
7487
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
7488
|
+
let width = parseFloat(css.width) || 0;
|
|
7489
|
+
let height = parseFloat(css.height) || 0;
|
|
7490
|
+
const hasOffset = isHTMLElement$1(element);
|
|
7491
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
7492
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
7493
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
7494
|
+
if (shouldFallback) {
|
|
7495
|
+
width = offsetWidth;
|
|
7496
|
+
height = offsetHeight;
|
|
7497
|
+
}
|
|
7498
|
+
return {
|
|
7499
|
+
width,
|
|
7500
|
+
height,
|
|
7501
|
+
fallback: shouldFallback
|
|
7502
|
+
};
|
|
7503
|
+
}
|
|
7504
|
+
|
|
7414
7505
|
function unwrapElement(element) {
|
|
7415
7506
|
return !isElement$1(element) ? element.contextElement : element;
|
|
7416
7507
|
}
|
|
@@ -7447,8 +7538,29 @@ function getScale(element) {
|
|
|
7447
7538
|
};
|
|
7448
7539
|
}
|
|
7449
7540
|
|
|
7450
|
-
|
|
7541
|
+
const noOffsets = {
|
|
7542
|
+
x: 0,
|
|
7543
|
+
y: 0
|
|
7544
|
+
};
|
|
7545
|
+
function getVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
7451
7546
|
var _win$visualViewport, _win$visualViewport2;
|
|
7547
|
+
if (isFixed === void 0) {
|
|
7548
|
+
isFixed = true;
|
|
7549
|
+
}
|
|
7550
|
+
if (!isSafari$1()) {
|
|
7551
|
+
return noOffsets;
|
|
7552
|
+
}
|
|
7553
|
+
const win = element ? getWindow$1(element) : window;
|
|
7554
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== win) {
|
|
7555
|
+
return noOffsets;
|
|
7556
|
+
}
|
|
7557
|
+
return {
|
|
7558
|
+
x: ((_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) || 0,
|
|
7559
|
+
y: ((_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) || 0
|
|
7560
|
+
};
|
|
7561
|
+
}
|
|
7562
|
+
|
|
7563
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
7452
7564
|
if (includeScale === void 0) {
|
|
7453
7565
|
includeScale = false;
|
|
7454
7566
|
}
|
|
@@ -7467,10 +7579,9 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
7467
7579
|
scale = getScale(element);
|
|
7468
7580
|
}
|
|
7469
7581
|
}
|
|
7470
|
-
const
|
|
7471
|
-
|
|
7472
|
-
let
|
|
7473
|
-
let y = (clientRect.top + (addVisualOffsets ? ((_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) || 0 : 0)) / scale.y;
|
|
7582
|
+
const visualOffsets = getVisualOffsets(domElement, isFixedStrategy, offsetParent);
|
|
7583
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
7584
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
7474
7585
|
let width = clientRect.width / scale.x;
|
|
7475
7586
|
let height = clientRect.height / scale.y;
|
|
7476
7587
|
if (domElement) {
|
|
@@ -7492,16 +7603,12 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
7492
7603
|
currentIFrame = getWindow$1(currentIFrame).frameElement;
|
|
7493
7604
|
}
|
|
7494
7605
|
}
|
|
7495
|
-
return {
|
|
7606
|
+
return rectToClientRect({
|
|
7496
7607
|
width,
|
|
7497
7608
|
height,
|
|
7498
|
-
top: y,
|
|
7499
|
-
right: x + width,
|
|
7500
|
-
bottom: y + height,
|
|
7501
|
-
left: x,
|
|
7502
7609
|
x,
|
|
7503
7610
|
y
|
|
7504
|
-
};
|
|
7611
|
+
});
|
|
7505
7612
|
}
|
|
7506
7613
|
|
|
7507
7614
|
function getDocumentElement(node) {
|
|
@@ -7644,7 +7751,7 @@ function getViewportRect(element, strategy) {
|
|
|
7644
7751
|
if (visualViewport) {
|
|
7645
7752
|
width = visualViewport.width;
|
|
7646
7753
|
height = visualViewport.height;
|
|
7647
|
-
const visualViewportBased =
|
|
7754
|
+
const visualViewportBased = isSafari$1();
|
|
7648
7755
|
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
7649
7756
|
x = visualViewport.offsetLeft;
|
|
7650
7757
|
y = visualViewport.offsetTop;
|
|
@@ -7687,19 +7794,22 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
7687
7794
|
} else if (isElement$1(clippingAncestor)) {
|
|
7688
7795
|
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
7689
7796
|
} else {
|
|
7690
|
-
const
|
|
7691
|
-
|
|
7797
|
+
const visualOffsets = getVisualOffsets(element);
|
|
7798
|
+
rect = {
|
|
7799
|
+
...clippingAncestor,
|
|
7800
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
7801
|
+
y: clippingAncestor.y - visualOffsets.y
|
|
7692
7802
|
};
|
|
7693
|
-
if (isClientRectVisualViewportBased()) {
|
|
7694
|
-
var _win$visualViewport, _win$visualViewport2;
|
|
7695
|
-
const win = getWindow$1(element);
|
|
7696
|
-
mutableRect.x -= ((_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) || 0;
|
|
7697
|
-
mutableRect.y -= ((_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) || 0;
|
|
7698
|
-
}
|
|
7699
|
-
rect = mutableRect;
|
|
7700
7803
|
}
|
|
7701
7804
|
return rectToClientRect(rect);
|
|
7702
7805
|
}
|
|
7806
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
7807
|
+
const parentNode = getParentNode(element);
|
|
7808
|
+
if (parentNode === stopNode || !isElement$1(parentNode) || isLastTraversableNode(parentNode)) {
|
|
7809
|
+
return false;
|
|
7810
|
+
}
|
|
7811
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
7812
|
+
}
|
|
7703
7813
|
|
|
7704
7814
|
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
7705
7815
|
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
@@ -7717,19 +7827,17 @@ function getClippingElementAncestors(element, cache) {
|
|
|
7717
7827
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
7718
7828
|
while (isElement$1(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
7719
7829
|
const computedStyle = getComputedStyle$1(currentNode);
|
|
7720
|
-
const
|
|
7721
|
-
|
|
7722
|
-
if (shouldIgnoreCurrentNode) {
|
|
7830
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
7831
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
7723
7832
|
currentContainingBlockComputedStyle = null;
|
|
7833
|
+
}
|
|
7834
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
7835
|
+
if (shouldDropCurrentNode) {
|
|
7836
|
+
// Drop non-containing blocks.
|
|
7837
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
7724
7838
|
} else {
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
// Drop non-containing blocks.
|
|
7728
|
-
result = result.filter(ancestor => ancestor !== currentNode);
|
|
7729
|
-
} else {
|
|
7730
|
-
// Record last containing block for next iteration.
|
|
7731
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
7732
|
-
}
|
|
7839
|
+
// Record last containing block for next iteration.
|
|
7840
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
7733
7841
|
}
|
|
7734
7842
|
currentNode = getParentNode(currentNode);
|
|
7735
7843
|
}
|
|
@@ -7766,10 +7874,7 @@ function getClippingRect(_ref) {
|
|
|
7766
7874
|
}
|
|
7767
7875
|
|
|
7768
7876
|
function getDimensions(element) {
|
|
7769
|
-
|
|
7770
|
-
return getCssDimensions(element);
|
|
7771
|
-
}
|
|
7772
|
-
return element.getBoundingClientRect();
|
|
7877
|
+
return getCssDimensions(element);
|
|
7773
7878
|
}
|
|
7774
7879
|
|
|
7775
7880
|
function getTrueOffsetParent(element, polyfill) {
|
|
@@ -7797,6 +7902,9 @@ function getContainingBlock(element) {
|
|
|
7797
7902
|
// such as table ancestors and cross browser bugs.
|
|
7798
7903
|
function getOffsetParent(element, polyfill) {
|
|
7799
7904
|
const window = getWindow$1(element);
|
|
7905
|
+
if (!isHTMLElement$1(element)) {
|
|
7906
|
+
return window;
|
|
7907
|
+
}
|
|
7800
7908
|
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
7801
7909
|
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
7802
7910
|
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
@@ -7810,7 +7918,8 @@ function getOffsetParent(element, polyfill) {
|
|
|
7810
7918
|
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
7811
7919
|
const isOffsetParentAnElement = isHTMLElement$1(offsetParent);
|
|
7812
7920
|
const documentElement = getDocumentElement(offsetParent);
|
|
7813
|
-
const
|
|
7921
|
+
const isFixed = strategy === 'fixed';
|
|
7922
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
7814
7923
|
let scroll = {
|
|
7815
7924
|
scrollLeft: 0,
|
|
7816
7925
|
scrollTop: 0
|
|
@@ -7819,12 +7928,12 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
7819
7928
|
x: 0,
|
|
7820
7929
|
y: 0
|
|
7821
7930
|
};
|
|
7822
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement &&
|
|
7931
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
7823
7932
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
7824
7933
|
scroll = getNodeScroll(offsetParent);
|
|
7825
7934
|
}
|
|
7826
7935
|
if (isHTMLElement$1(offsetParent)) {
|
|
7827
|
-
const offsetRect = getBoundingClientRect(offsetParent, true);
|
|
7936
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
7828
7937
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
7829
7938
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
7830
7939
|
} else if (documentElement) {
|
|
@@ -7881,27 +7990,26 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
7881
7990
|
options = {};
|
|
7882
7991
|
}
|
|
7883
7992
|
const {
|
|
7884
|
-
ancestorScroll
|
|
7993
|
+
ancestorScroll = true,
|
|
7885
7994
|
ancestorResize = true,
|
|
7886
7995
|
elementResize = true,
|
|
7887
7996
|
animationFrame = false
|
|
7888
7997
|
} = options;
|
|
7889
|
-
const ancestorScroll = _ancestorScroll && !animationFrame;
|
|
7890
7998
|
const ancestors = ancestorScroll || ancestorResize ? [...(isElement$1(reference) ? getOverflowAncestors(reference) : reference.contextElement ? getOverflowAncestors(reference.contextElement) : []), ...getOverflowAncestors(floating)] : [];
|
|
7891
7999
|
ancestors.forEach(ancestor => {
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
8000
|
+
// ignores Window, checks for [object VisualViewport]
|
|
8001
|
+
const isVisualViewport = !isElement$1(ancestor) && ancestor.toString().includes('V');
|
|
8002
|
+
if (ancestorScroll && (animationFrame ? isVisualViewport : true)) {
|
|
8003
|
+
ancestor.addEventListener('scroll', update, {
|
|
8004
|
+
passive: true
|
|
8005
|
+
});
|
|
8006
|
+
}
|
|
7895
8007
|
ancestorResize && ancestor.addEventListener('resize', update);
|
|
7896
8008
|
});
|
|
7897
8009
|
let observer = null;
|
|
7898
8010
|
if (elementResize) {
|
|
7899
|
-
let initialUpdate = true;
|
|
7900
8011
|
observer = new ResizeObserver(() => {
|
|
7901
|
-
|
|
7902
|
-
update();
|
|
7903
|
-
}
|
|
7904
|
-
initialUpdate = false;
|
|
8012
|
+
update();
|
|
7905
8013
|
});
|
|
7906
8014
|
isElement$1(reference) && !animationFrame && observer.observe(reference);
|
|
7907
8015
|
if (!isElement$1(reference) && reference.contextElement && !animationFrame) {
|
|
@@ -9556,6 +9664,10 @@ const TooltipPlacement = {
|
|
|
9556
9664
|
'left-end': 'left-end'
|
|
9557
9665
|
};
|
|
9558
9666
|
|
|
9667
|
+
/**
|
|
9668
|
+
* Component props.
|
|
9669
|
+
*/
|
|
9670
|
+
|
|
9559
9671
|
/**
|
|
9560
9672
|
* Component style.
|
|
9561
9673
|
*/
|
|
@@ -9951,7 +10063,7 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9951
10063
|
"aria-label": stringFormatter.format('collapse-all'),
|
|
9952
10064
|
"aria-describedby": undefined,
|
|
9953
10065
|
icon: mdiPageLast,
|
|
9954
|
-
|
|
10066
|
+
onClick: () => handleCollapse(true),
|
|
9955
10067
|
style: {
|
|
9956
10068
|
transform: 'rotate(-90deg)'
|
|
9957
10069
|
},
|
|
@@ -9960,7 +10072,7 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9960
10072
|
"aria-label": stringFormatter.format('expand-all'),
|
|
9961
10073
|
"aria-describedby": undefined,
|
|
9962
10074
|
icon: mdiKeyboardCaps,
|
|
9963
|
-
|
|
10075
|
+
onClick: () => handleCollapse(false),
|
|
9964
10076
|
style: {
|
|
9965
10077
|
transform: 'rotate(180deg)'
|
|
9966
10078
|
},
|
|
@@ -10136,7 +10248,7 @@ Link.className = CLASSNAME$7;
|
|
|
10136
10248
|
Link.defaultProps = DEFAULT_PROPS$7;
|
|
10137
10249
|
Link.displayName = COMPONENT_NAME$7;
|
|
10138
10250
|
|
|
10139
|
-
const _excluded$6 = ["children", "className", "disabled", "isDisabled"
|
|
10251
|
+
const _excluded$6 = ["children", "className", "disabled", "isDisabled"];
|
|
10140
10252
|
const COMPONENT_NAME$6 = 'LinkButton';
|
|
10141
10253
|
const CLASSNAME$6 = 'redsift-link-button';
|
|
10142
10254
|
const DEFAULT_PROPS$6 = {};
|
|
@@ -10150,24 +10262,17 @@ const DEFAULT_PROPS$6 = {};
|
|
|
10150
10262
|
*/
|
|
10151
10263
|
const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
10152
10264
|
const buttonRef = ref || useRef();
|
|
10153
|
-
const {
|
|
10154
|
-
buttonProps
|
|
10155
|
-
} = useButton(_objectSpread2(_objectSpread2({}, props), {}, {
|
|
10156
|
-
isDisabled: props.isDisabled || props.disabled,
|
|
10157
|
-
preventFocusOnPress: true
|
|
10158
|
-
}), buttonRef);
|
|
10159
10265
|
const {
|
|
10160
10266
|
children,
|
|
10161
10267
|
className,
|
|
10162
10268
|
disabled,
|
|
10163
|
-
isDisabled
|
|
10164
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10165
|
-
onPress
|
|
10269
|
+
isDisabled: propsIsDisabled
|
|
10166
10270
|
} = props,
|
|
10167
10271
|
forwardedProps = _objectWithoutProperties(props, _excluded$6);
|
|
10272
|
+
const isDisabled = propsIsDisabled || disabled;
|
|
10168
10273
|
return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
|
|
10169
10274
|
as: "button"
|
|
10170
|
-
}, forwardedProps,
|
|
10275
|
+
}, forwardedProps, {
|
|
10171
10276
|
$isDisabled: isDisabled || disabled,
|
|
10172
10277
|
"aria-disabled": isDisabled || disabled,
|
|
10173
10278
|
className: classNames(LinkButton.className, className),
|
|
@@ -10303,6 +10408,10 @@ const RadioGroupOrientation = {
|
|
|
10303
10408
|
vertical: 'vertical'
|
|
10304
10409
|
};
|
|
10305
10410
|
|
|
10411
|
+
/**
|
|
10412
|
+
* Component props.
|
|
10413
|
+
*/
|
|
10414
|
+
|
|
10306
10415
|
const RadioGroupContext = /*#__PURE__*/React__default.createContext(null);
|
|
10307
10416
|
|
|
10308
10417
|
/**
|
|
@@ -10650,7 +10759,13 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10650
10759
|
$isSelected: isSelected,
|
|
10651
10760
|
className: classNames(Radio.className, className),
|
|
10652
10761
|
ref: ref
|
|
10653
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
10762
|
+
}), isSelected ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
10763
|
+
icon: mdiRadioboxMarked
|
|
10764
|
+
}) : /*#__PURE__*/React__default.createElement(Icon, {
|
|
10765
|
+
icon: mdiRadioboxBlank
|
|
10766
|
+
}), children ? /*#__PURE__*/React__default.createElement("span", {
|
|
10767
|
+
className: "label"
|
|
10768
|
+
}, children) : null, /*#__PURE__*/React__default.createElement("input", _extends$1({}, inputProps, focusProps, {
|
|
10654
10769
|
"aria-checked": isSelected ? 'true' : 'false',
|
|
10655
10770
|
"aria-disabled": isDisabled,
|
|
10656
10771
|
"aria-invalid": isInvalid || isRequired && !isSelected,
|
|
@@ -10666,13 +10781,7 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10666
10781
|
ref: inputRef,
|
|
10667
10782
|
type: "radio",
|
|
10668
10783
|
value: value
|
|
10669
|
-
}))
|
|
10670
|
-
icon: mdiRadioboxMarked
|
|
10671
|
-
}) : /*#__PURE__*/React__default.createElement(Icon, {
|
|
10672
|
-
icon: mdiRadioboxBlank
|
|
10673
|
-
}), children ? /*#__PURE__*/React__default.createElement("span", {
|
|
10674
|
-
className: "label"
|
|
10675
|
-
}, children) : null);
|
|
10784
|
+
})));
|
|
10676
10785
|
});
|
|
10677
10786
|
Radio.className = CLASSNAME$3;
|
|
10678
10787
|
Radio.defaultProps = DEFAULT_PROPS$3;
|
|
@@ -10928,7 +11037,19 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10928
11037
|
$isSelected: isSelected,
|
|
10929
11038
|
className: classNames(Switch.className, className),
|
|
10930
11039
|
ref: ref
|
|
10931
|
-
}), /*#__PURE__*/React__default.createElement("
|
|
11040
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
11041
|
+
className: `${Switch.className}__slide`
|
|
11042
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
11043
|
+
className: `${Switch.className}-slide__inner`
|
|
11044
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
11045
|
+
className: `${Switch.className}-slide__knob-wrapper`
|
|
11046
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
11047
|
+
className: `${Switch.className}-slide-knob-wrapper__elevation`
|
|
11048
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
11049
|
+
className: `${Switch.className}-slide-knob-wrapper__knob`
|
|
11050
|
+
}))), children ? /*#__PURE__*/React__default.createElement("span", {
|
|
11051
|
+
className: "label"
|
|
11052
|
+
}, children) : null, /*#__PURE__*/React__default.createElement("input", _extends$1({}, inputProps, focusProps, {
|
|
10932
11053
|
"aria-checked": isSelected ? 'true' : 'false',
|
|
10933
11054
|
"aria-disabled": isDisabled,
|
|
10934
11055
|
"aria-invalid": isInvalid || isRequired && !isSelected,
|
|
@@ -10945,19 +11066,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10945
11066
|
role: "switch",
|
|
10946
11067
|
type: "checkbox",
|
|
10947
11068
|
value: value
|
|
10948
|
-
}))
|
|
10949
|
-
className: `${Switch.className}__slide`
|
|
10950
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
10951
|
-
className: `${Switch.className}-slide__inner`
|
|
10952
|
-
}), /*#__PURE__*/React__default.createElement("div", {
|
|
10953
|
-
className: `${Switch.className}-slide__knob-wrapper`
|
|
10954
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
10955
|
-
className: `${Switch.className}-slide-knob-wrapper__elevation`
|
|
10956
|
-
}), /*#__PURE__*/React__default.createElement("div", {
|
|
10957
|
-
className: `${Switch.className}-slide-knob-wrapper__knob`
|
|
10958
|
-
}))), children ? /*#__PURE__*/React__default.createElement("span", {
|
|
10959
|
-
className: "label"
|
|
10960
|
-
}, children) : null);
|
|
11069
|
+
})));
|
|
10961
11070
|
});
|
|
10962
11071
|
Switch.className = CLASSNAME$2;
|
|
10963
11072
|
Switch.defaultProps = DEFAULT_PROPS$2;
|
|
@@ -10975,6 +11084,10 @@ const SwitchGroupOrientation = {
|
|
|
10975
11084
|
vertical: 'vertical'
|
|
10976
11085
|
};
|
|
10977
11086
|
|
|
11087
|
+
/**
|
|
11088
|
+
* Component props.
|
|
11089
|
+
*/
|
|
11090
|
+
|
|
10978
11091
|
/**
|
|
10979
11092
|
* Component style.
|
|
10980
11093
|
*/
|
|
@@ -11147,6 +11260,10 @@ const TextFieldVariant = {
|
|
|
11147
11260
|
underline: 'underline'
|
|
11148
11261
|
};
|
|
11149
11262
|
|
|
11263
|
+
/**
|
|
11264
|
+
* Component props.
|
|
11265
|
+
*/
|
|
11266
|
+
|
|
11150
11267
|
/**
|
|
11151
11268
|
* Component style.
|
|
11152
11269
|
*/
|
|
@@ -11435,5 +11552,5 @@ TextField.className = CLASSNAME;
|
|
|
11435
11552
|
TextField.defaultProps = DEFAULT_PROPS;
|
|
11436
11553
|
TextField.displayName = COMPONENT_NAME;
|
|
11437
11554
|
|
|
11438
|
-
export { Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, ButtonVariant, Card, CardActions, CardBody, CardHeader, Checkbox, CheckboxGroup, CheckboxGroupOrientation, ColorPalette, ConditionalWrapper, DataVizColorPalette, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardHeader, DetailedCardSection, DetailedCardSectionItem, FlexDirection, FlexWrap, Flexbox, FontFamily, Grid, GridItem, Heading, HeadingComponent, HeadingVariant, Icon, IconButton, IconButtonVariant, IconSize, JustifyContent, JustifyItems, JustifySelf, Link, LinkButton, NeutralColorPalette, Number$1 as Number, Pill, ProductColorPalette, Radio, RadioGroup, RadioGroupOrientation, RedsiftAppBarColorBackground, RedsiftAppBarColorExpandIconBackgroundHover, RedsiftAppBarColorExpandIconHover, RedsiftAppBarColorExpandIconResting, RedsiftAppBarColorText, RedsiftColorDefaultActive, RedsiftColorDefaultActiveHover, RedsiftColorDefaultHover, RedsiftColorDefaultPrimary, RedsiftColorDefaultPrimaryActive, RedsiftColorDefaultPrimaryActiveHover, RedsiftColorDefaultSecondary, RedsiftColorErrorActive, RedsiftColorErrorActiveHover, RedsiftColorErrorHover, RedsiftColorErrorPrimary, RedsiftColorErrorPrimaryActive, RedsiftColorErrorPrimaryActiveHover, RedsiftColorErrorSecondary, RedsiftColorHardenizeActive, RedsiftColorHardenizeActiveHover, RedsiftColorHardenizeHover, RedsiftColorHardenizePrimary, RedsiftColorHardenizePrimaryActive, RedsiftColorHardenizePrimaryActiveHover, RedsiftColorHardenizeSecondary, RedsiftColorInfoActive, RedsiftColorInfoActiveHover, RedsiftColorInfoHover, RedsiftColorInfoPrimary, RedsiftColorInfoPrimaryActive, RedsiftColorInfoPrimaryActiveHover, RedsiftColorInfoSecondary, RedsiftColorNeutralBlack, RedsiftColorNeutralDarkgrey, RedsiftColorNeutralLightgrey, RedsiftColorNeutralMidgrey, RedsiftColorNeutralWhite, RedsiftColorNeutralXlightgrey, RedsiftColorNoDataActive, RedsiftColorNoDataActiveHover, RedsiftColorNoDataHover, RedsiftColorNoDataPrimary, RedsiftColorNoDataPrimaryActive, RedsiftColorNoDataPrimaryActiveHover, RedsiftColorNoDataSecondary, RedsiftColorOndmarcActive, RedsiftColorOndmarcActiveHover, RedsiftColorOndmarcHover, RedsiftColorOndmarcPrimary, RedsiftColorOndmarcPrimaryActive, RedsiftColorOndmarcPrimaryActiveHover, RedsiftColorOndmarcSecondary, RedsiftColorOndomainActive, RedsiftColorOndomainActiveHover, RedsiftColorOndomainHover, RedsiftColorOndomainPrimary, RedsiftColorOndomainPrimaryActive, RedsiftColorOndomainPrimaryActiveHover, RedsiftColorOndomainSecondary, RedsiftColorOninboxActive, RedsiftColorOninboxActiveHover, RedsiftColorOninboxHover, RedsiftColorOninboxPrimary, RedsiftColorOninboxPrimaryActive, RedsiftColorOninboxPrimaryActiveHover, RedsiftColorOninboxSecondary, RedsiftColorQuestionActive, RedsiftColorQuestionActiveHover, RedsiftColorQuestionHover, RedsiftColorQuestionPrimary, RedsiftColorQuestionPrimaryActive, RedsiftColorQuestionPrimaryActiveHover, RedsiftColorQuestionSecondary, RedsiftColorSuccessActive, RedsiftColorSuccessActiveHover, RedsiftColorSuccessHover, RedsiftColorSuccessPrimary, RedsiftColorSuccessPrimaryActive, RedsiftColorSuccessPrimaryActiveHover, RedsiftColorSuccessSecondary, RedsiftColorToolsActive, RedsiftColorToolsActiveHover, RedsiftColorToolsHover, RedsiftColorToolsPrimary, RedsiftColorToolsPrimaryActive, RedsiftColorToolsPrimaryActiveHover, RedsiftColorToolsSecondary, RedsiftColorWarningActive, RedsiftColorWarningActiveHover, RedsiftColorWarningHover, RedsiftColorWarningPrimary, RedsiftColorWarningPrimaryActive, RedsiftColorWarningPrimaryActiveHover, RedsiftColorWarningSecondary, RedsiftColorWebsiteActive, RedsiftColorWebsiteActiveHover, RedsiftColorWebsiteHover, RedsiftColorWebsitePrimary, RedsiftColorWebsitePrimaryActive, RedsiftColorWebsitePrimaryActiveHover, RedsiftColorWebsiteSecondary, RedsiftDataVizColorAquaDark, RedsiftDataVizColorAquaDarker, RedsiftDataVizColorAquaDarkerer, RedsiftDataVizColorAquaDefault, RedsiftDataVizColorAquaLight, RedsiftDataVizColorAquaLighter, RedsiftDataVizColorAquaLighterer, RedsiftDataVizColorBlueDark, RedsiftDataVizColorBlueDarker, RedsiftDataVizColorBlueDarkerer, RedsiftDataVizColorBlueDefault, RedsiftDataVizColorBlueLight, RedsiftDataVizColorBlueLighter, RedsiftDataVizColorBlueLighterer, RedsiftDataVizColorBrownDark, RedsiftDataVizColorBrownDarker, RedsiftDataVizColorBrownDarkerer, RedsiftDataVizColorBrownDefault, RedsiftDataVizColorBrownLight, RedsiftDataVizColorBrownLighter, RedsiftDataVizColorBrownLighterer, RedsiftDataVizColorGreenDark, RedsiftDataVizColorGreenDarker, RedsiftDataVizColorGreenDarkerer, RedsiftDataVizColorGreenDefault, RedsiftDataVizColorGreenLight, RedsiftDataVizColorGreenLighter, RedsiftDataVizColorGreenLighterer, RedsiftDataVizColorGreyDark, RedsiftDataVizColorGreyDarker, RedsiftDataVizColorGreyDarkerer, RedsiftDataVizColorGreyDefault, RedsiftDataVizColorGreyLight, RedsiftDataVizColorGreyLighter, RedsiftDataVizColorGreyLighterer, RedsiftDataVizColorOrangeDark, RedsiftDataVizColorOrangeDarker, RedsiftDataVizColorOrangeDarkerer, RedsiftDataVizColorOrangeDefault, RedsiftDataVizColorOrangeLight, RedsiftDataVizColorOrangeLighter, RedsiftDataVizColorOrangeLighterer, RedsiftDataVizColorPinkDark, RedsiftDataVizColorPinkDarker, RedsiftDataVizColorPinkDarkerer, RedsiftDataVizColorPinkDefault, RedsiftDataVizColorPinkLight, RedsiftDataVizColorPinkLighter, RedsiftDataVizColorPinkLighterer, RedsiftDataVizColorPurpleDark, RedsiftDataVizColorPurpleDarker, RedsiftDataVizColorPurpleDarkerer, RedsiftDataVizColorPurpleDefault, RedsiftDataVizColorPurpleLight, RedsiftDataVizColorPurpleLighter, RedsiftDataVizColorPurpleLighterer, RedsiftDataVizColorRedDark, RedsiftDataVizColorRedDarker, RedsiftDataVizColorRedDarkerer, RedsiftDataVizColorRedDefault, RedsiftDataVizColorRedLight, RedsiftDataVizColorRedLighter, RedsiftDataVizColorRedLighterer, RedsiftDataVizColorYellowDark, RedsiftDataVizColorYellowDarker, RedsiftDataVizColorYellowDarkerer, RedsiftDataVizColorYellowDefault, RedsiftDataVizColorYellowLight, RedsiftDataVizColorYellowLighter, RedsiftDataVizColorYellowLighterer, RedsiftLayoutZIndexDialog, RedsiftLayoutZIndexDropdown, RedsiftLayoutZIndexFooter, RedsiftLayoutZIndexHeader, RedsiftLayoutZIndexOverlay, RedsiftLayoutZIndexPopover, RedsiftLayoutZIndexSidePanel, RedsiftLayoutZIndexTooltip, RedsiftSideNavigationColorBackground, RedsiftSideNavigationColorMenuItemActive, RedsiftSideNavigationColorMenuItemBackgroundActive, RedsiftSideNavigationColorMenuItemBackgroundHover, RedsiftSideNavigationColorMenuItemBackgroundSecondary, RedsiftSideNavigationColorMenuItemTextDisabled, RedsiftSideNavigationColorMenuItemTextHover, RedsiftSideNavigationColorMenuItemTextResting, RedsiftSideNavigationColorScrollbarHover, RedsiftSideNavigationColorScrollbarResting, RedsiftTypographyBadgeFontFamily, RedsiftTypographyBadgeFontSize, RedsiftTypographyBadgeFontWeight, RedsiftTypographyBadgeLineHeight, RedsiftTypographyBody2FontFamily, RedsiftTypographyBody2FontSize, RedsiftTypographyBody2FontWeight, RedsiftTypographyBody2LineHeight, RedsiftTypographyBodyFontFamily, RedsiftTypographyBodyFontSize, RedsiftTypographyBodyFontWeight, RedsiftTypographyBodyLineHeight, RedsiftTypographyBodyTextTransform, RedsiftTypographyButtonFontFamily, RedsiftTypographyButtonFontSize, RedsiftTypographyButtonFontWeight, RedsiftTypographyButtonLineHeight, RedsiftTypographyButtonTextTransform, RedsiftTypographyCaptionFontFamily, RedsiftTypographyCaptionFontSize, RedsiftTypographyCaptionFontWeight, RedsiftTypographyCaptionLineHeight, RedsiftTypographyCaptionTextTransform, RedsiftTypographyChipFontFamily, RedsiftTypographyChipFontSize, RedsiftTypographyChipFontWeight, RedsiftTypographyChipLineHeight, RedsiftTypographyDatagridCellFontFamily, RedsiftTypographyDatagridCellFontSize, RedsiftTypographyDatagridCellFontWeight, RedsiftTypographyDatagridCellLineHeight, RedsiftTypographyDatagridHeaderFontFamily, RedsiftTypographyDatagridHeaderFontSize, RedsiftTypographyDatagridHeaderFontWeight, RedsiftTypographyDatagridHeaderLineHeight, RedsiftTypographyFontFamilyElectrolize, RedsiftTypographyFontFamilyRaleway, RedsiftTypographyFontFamilySourceCodePro, RedsiftTypographyFontWeightBold, RedsiftTypographyFontWeightMedium, RedsiftTypographyFontWeightRegular, RedsiftTypographyFontWeightSemiBold, RedsiftTypographyH1FontFamily, RedsiftTypographyH1FontSize, RedsiftTypographyH1FontWeight, RedsiftTypographyH1LineHeight, RedsiftTypographyH1TextTransform, RedsiftTypographyH2FontFamily, RedsiftTypographyH2FontSize, RedsiftTypographyH2FontWeight, RedsiftTypographyH2LineHeight, RedsiftTypographyH2TextTransform, RedsiftTypographyH3FontFamily, RedsiftTypographyH3FontSize, RedsiftTypographyH3FontWeight, RedsiftTypographyH3LineHeight, RedsiftTypographyH3TextTransform, RedsiftTypographyH4FontFamily, RedsiftTypographyH4FontSize, RedsiftTypographyH4FontWeight, RedsiftTypographyH4LineHeight, RedsiftTypographyH4TextTransform, RedsiftTypographyH5FontFamily, RedsiftTypographyH5FontSize, RedsiftTypographyH5FontWeight, RedsiftTypographyH5LineHeight, RedsiftTypographyH5TextTransform, RedsiftTypographyHelperFontFamily, RedsiftTypographyHelperFontSize, RedsiftTypographyHelperFontWeight, RedsiftTypographyHelperLineHeight, RedsiftTypographyInputTextFontFamily, RedsiftTypographyInputTextFontSize, RedsiftTypographyInputTextFontWeight, RedsiftTypographyInputTextLineHeight, RedsiftTypographyLinkFontFamily, RedsiftTypographyLinkFontSize, RedsiftTypographyLinkFontWeight, RedsiftTypographyLinkLineHeight, RedsiftTypographyPillFontFamily, RedsiftTypographyPillFontSize, RedsiftTypographyPillFontWeight, RedsiftTypographyPillLineHeight, RedsiftTypographySubtitleFontFamily, RedsiftTypographySubtitleFontSize, RedsiftTypographySubtitleFontWeight, RedsiftTypographySubtitleLineHeight, RedsiftTypographySubtitleTextTransform, RedsiftTypographyTooltipFontFamily, RedsiftTypographyTooltipFontSize, RedsiftTypographyTooltipFontWeight, RedsiftTypographyTooltipLineHeight, Shield, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuItem, SideNavigationMenuReducerActionType, Skeleton, SkeletonCircle, SkeletonText, SkeletonTextVariant, Spinner, SpinnerSize, StyledButton, StyledLink, Switch, SwitchGroup, SwitchGroupOrientation, Text, TextComponent, TextField, TextFieldVariant, TextVariant, baseContainer, baseFlexbox, baseGrid, baseInternalSpacing, baseLayout, basePositioning, baseSizing, baseSpacing, baseStyling, filterComponents, isComponent, partitionComponents, useAppSidePanel, useBoundingClientRect, $325a3faab7a68acd$export$a16aca283550c30d as useCollator, $896ba0a80a8f4d36$export$85fd5fdf27bacc79 as useDateFormatter, $bb77f239b46e8c72$export$3274cf84b703fff as useFilter, $704cf1d3b684cc5c$export$535bd6ca7f90a273 as useIsSSR, $33bf17300c498528$export$a2f47a3d2973640 as useListFormatter, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 as useLocale, $fca6afa0e843324b$export$f12b703ca79dfbb1 as useLocalizedStringFormatter, $a916eb452884faea$export$b7a616150fdb9f44 as useNumberFormatter, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
|
|
11555
|
+
export { Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, ButtonVariant, Card, CardActions, CardBody, CardHeader, Checkbox, CheckboxGroup, CheckboxGroupOrientation, ColorPalette, ConditionalWrapper, DataVizColorPalette, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardHeader, DetailedCardSection, DetailedCardSectionItem, FlexDirection, FlexWrap, Flexbox, FontFamily, Grid, GridItem, Heading, HeadingComponent, HeadingVariant, Icon, IconButton, IconButtonVariant, IconSize, JustifyContent, JustifyItems, JustifySelf, Link, LinkButton, NeutralColorPalette, Number$1 as Number, Pill, ProductColorPalette, Radio, RadioGroup, RadioGroupOrientation, RedsiftAppBarColorBackground, RedsiftAppBarColorExpandIconBackgroundHover, RedsiftAppBarColorExpandIconHover, RedsiftAppBarColorExpandIconResting, RedsiftAppBarColorText, RedsiftColorDefaultActive, RedsiftColorDefaultActiveHover, RedsiftColorDefaultHover, RedsiftColorDefaultPrimary, RedsiftColorDefaultPrimaryActive, RedsiftColorDefaultPrimaryActiveHover, RedsiftColorDefaultSecondary, RedsiftColorErrorActive, RedsiftColorErrorActiveHover, RedsiftColorErrorHover, RedsiftColorErrorPrimary, RedsiftColorErrorPrimaryActive, RedsiftColorErrorPrimaryActiveHover, RedsiftColorErrorSecondary, RedsiftColorHardenizeActive, RedsiftColorHardenizeActiveHover, RedsiftColorHardenizeHover, RedsiftColorHardenizePrimary, RedsiftColorHardenizePrimaryActive, RedsiftColorHardenizePrimaryActiveHover, RedsiftColorHardenizeSecondary, RedsiftColorInfoActive, RedsiftColorInfoActiveHover, RedsiftColorInfoHover, RedsiftColorInfoPrimary, RedsiftColorInfoPrimaryActive, RedsiftColorInfoPrimaryActiveHover, RedsiftColorInfoSecondary, RedsiftColorNeutralBlack, RedsiftColorNeutralDarkgrey, RedsiftColorNeutralLightgrey, RedsiftColorNeutralMidgrey, RedsiftColorNeutralWhite, RedsiftColorNeutralXlightgrey, RedsiftColorNoDataActive, RedsiftColorNoDataActiveHover, RedsiftColorNoDataHover, RedsiftColorNoDataPrimary, RedsiftColorNoDataPrimaryActive, RedsiftColorNoDataPrimaryActiveHover, RedsiftColorNoDataSecondary, RedsiftColorOndmarcActive, RedsiftColorOndmarcActiveHover, RedsiftColorOndmarcHover, RedsiftColorOndmarcPrimary, RedsiftColorOndmarcPrimaryActive, RedsiftColorOndmarcPrimaryActiveHover, RedsiftColorOndmarcSecondary, RedsiftColorOndomainActive, RedsiftColorOndomainActiveHover, RedsiftColorOndomainHover, RedsiftColorOndomainPrimary, RedsiftColorOndomainPrimaryActive, RedsiftColorOndomainPrimaryActiveHover, RedsiftColorOndomainSecondary, RedsiftColorOninboxActive, RedsiftColorOninboxActiveHover, RedsiftColorOninboxHover, RedsiftColorOninboxPrimary, RedsiftColorOninboxPrimaryActive, RedsiftColorOninboxPrimaryActiveHover, RedsiftColorOninboxSecondary, RedsiftColorQuestionActive, RedsiftColorQuestionActiveHover, RedsiftColorQuestionHover, RedsiftColorQuestionPrimary, RedsiftColorQuestionPrimaryActive, RedsiftColorQuestionPrimaryActiveHover, RedsiftColorQuestionSecondary, RedsiftColorSuccessActive, RedsiftColorSuccessActiveHover, RedsiftColorSuccessHover, RedsiftColorSuccessPrimary, RedsiftColorSuccessPrimaryActive, RedsiftColorSuccessPrimaryActiveHover, RedsiftColorSuccessSecondary, RedsiftColorToolsActive, RedsiftColorToolsActiveHover, RedsiftColorToolsHover, RedsiftColorToolsPrimary, RedsiftColorToolsPrimaryActive, RedsiftColorToolsPrimaryActiveHover, RedsiftColorToolsSecondary, RedsiftColorWarningActive, RedsiftColorWarningActiveHover, RedsiftColorWarningHover, RedsiftColorWarningPrimary, RedsiftColorWarningPrimaryActive, RedsiftColorWarningPrimaryActiveHover, RedsiftColorWarningSecondary, RedsiftColorWebsiteActive, RedsiftColorWebsiteActiveHover, RedsiftColorWebsiteHover, RedsiftColorWebsitePrimary, RedsiftColorWebsitePrimaryActive, RedsiftColorWebsitePrimaryActiveHover, RedsiftColorWebsiteSecondary, RedsiftDataVizColorAquaDark, RedsiftDataVizColorAquaDarker, RedsiftDataVizColorAquaDarkerer, RedsiftDataVizColorAquaDefault, RedsiftDataVizColorAquaLight, RedsiftDataVizColorAquaLighter, RedsiftDataVizColorAquaLighterer, RedsiftDataVizColorBlueDark, RedsiftDataVizColorBlueDarker, RedsiftDataVizColorBlueDarkerer, RedsiftDataVizColorBlueDefault, RedsiftDataVizColorBlueLight, RedsiftDataVizColorBlueLighter, RedsiftDataVizColorBlueLighterer, RedsiftDataVizColorBrownDark, RedsiftDataVizColorBrownDarker, RedsiftDataVizColorBrownDarkerer, RedsiftDataVizColorBrownDefault, RedsiftDataVizColorBrownLight, RedsiftDataVizColorBrownLighter, RedsiftDataVizColorBrownLighterer, RedsiftDataVizColorGreenDark, RedsiftDataVizColorGreenDarker, RedsiftDataVizColorGreenDarkerer, RedsiftDataVizColorGreenDefault, RedsiftDataVizColorGreenLight, RedsiftDataVizColorGreenLighter, RedsiftDataVizColorGreenLighterer, RedsiftDataVizColorGreyDark, RedsiftDataVizColorGreyDarker, RedsiftDataVizColorGreyDarkerer, RedsiftDataVizColorGreyDefault, RedsiftDataVizColorGreyLight, RedsiftDataVizColorGreyLighter, RedsiftDataVizColorGreyLighterer, RedsiftDataVizColorOrangeDark, RedsiftDataVizColorOrangeDarker, RedsiftDataVizColorOrangeDarkerer, RedsiftDataVizColorOrangeDefault, RedsiftDataVizColorOrangeLight, RedsiftDataVizColorOrangeLighter, RedsiftDataVizColorOrangeLighterer, RedsiftDataVizColorPinkDark, RedsiftDataVizColorPinkDarker, RedsiftDataVizColorPinkDarkerer, RedsiftDataVizColorPinkDefault, RedsiftDataVizColorPinkLight, RedsiftDataVizColorPinkLighter, RedsiftDataVizColorPinkLighterer, RedsiftDataVizColorPurpleDark, RedsiftDataVizColorPurpleDarker, RedsiftDataVizColorPurpleDarkerer, RedsiftDataVizColorPurpleDefault, RedsiftDataVizColorPurpleLight, RedsiftDataVizColorPurpleLighter, RedsiftDataVizColorPurpleLighterer, RedsiftDataVizColorRedDark, RedsiftDataVizColorRedDarker, RedsiftDataVizColorRedDarkerer, RedsiftDataVizColorRedDefault, RedsiftDataVizColorRedLight, RedsiftDataVizColorRedLighter, RedsiftDataVizColorRedLighterer, RedsiftDataVizColorYellowDark, RedsiftDataVizColorYellowDarker, RedsiftDataVizColorYellowDarkerer, RedsiftDataVizColorYellowDefault, RedsiftDataVizColorYellowLight, RedsiftDataVizColorYellowLighter, RedsiftDataVizColorYellowLighterer, RedsiftLayoutZIndexDialog, RedsiftLayoutZIndexDropdown, RedsiftLayoutZIndexFooter, RedsiftLayoutZIndexHeader, RedsiftLayoutZIndexOverlay, RedsiftLayoutZIndexPopover, RedsiftLayoutZIndexSidePanel, RedsiftLayoutZIndexTooltip, RedsiftSideNavigationColorBackground, RedsiftSideNavigationColorMenuItemActive, RedsiftSideNavigationColorMenuItemBackgroundActive, RedsiftSideNavigationColorMenuItemBackgroundHover, RedsiftSideNavigationColorMenuItemBackgroundSecondary, RedsiftSideNavigationColorMenuItemTextDisabled, RedsiftSideNavigationColorMenuItemTextHover, RedsiftSideNavigationColorMenuItemTextResting, RedsiftSideNavigationColorScrollbarHover, RedsiftSideNavigationColorScrollbarResting, RedsiftTypographyBadgeFontFamily, RedsiftTypographyBadgeFontSize, RedsiftTypographyBadgeFontWeight, RedsiftTypographyBadgeLineHeight, RedsiftTypographyBody2FontFamily, RedsiftTypographyBody2FontSize, RedsiftTypographyBody2FontWeight, RedsiftTypographyBody2LineHeight, RedsiftTypographyBodyFontFamily, RedsiftTypographyBodyFontSize, RedsiftTypographyBodyFontWeight, RedsiftTypographyBodyLineHeight, RedsiftTypographyBodyTextTransform, RedsiftTypographyButtonFontFamily, RedsiftTypographyButtonFontSize, RedsiftTypographyButtonFontWeight, RedsiftTypographyButtonLineHeight, RedsiftTypographyButtonTextTransform, RedsiftTypographyCaptionFontFamily, RedsiftTypographyCaptionFontSize, RedsiftTypographyCaptionFontWeight, RedsiftTypographyCaptionLineHeight, RedsiftTypographyCaptionTextTransform, RedsiftTypographyChipFontFamily, RedsiftTypographyChipFontSize, RedsiftTypographyChipFontWeight, RedsiftTypographyChipLineHeight, RedsiftTypographyDatagridCellFontFamily, RedsiftTypographyDatagridCellFontSize, RedsiftTypographyDatagridCellFontWeight, RedsiftTypographyDatagridCellLineHeight, RedsiftTypographyDatagridHeaderFontFamily, RedsiftTypographyDatagridHeaderFontSize, RedsiftTypographyDatagridHeaderFontWeight, RedsiftTypographyDatagridHeaderLineHeight, RedsiftTypographyFontFamilyElectrolize, RedsiftTypographyFontFamilyRaleway, RedsiftTypographyFontFamilySourceCodePro, RedsiftTypographyFontWeightBold, RedsiftTypographyFontWeightMedium, RedsiftTypographyFontWeightRegular, RedsiftTypographyFontWeightSemiBold, RedsiftTypographyH1FontFamily, RedsiftTypographyH1FontSize, RedsiftTypographyH1FontWeight, RedsiftTypographyH1LineHeight, RedsiftTypographyH1TextTransform, RedsiftTypographyH2FontFamily, RedsiftTypographyH2FontSize, RedsiftTypographyH2FontWeight, RedsiftTypographyH2LineHeight, RedsiftTypographyH2TextTransform, RedsiftTypographyH3FontFamily, RedsiftTypographyH3FontSize, RedsiftTypographyH3FontWeight, RedsiftTypographyH3LineHeight, RedsiftTypographyH3TextTransform, RedsiftTypographyH4FontFamily, RedsiftTypographyH4FontSize, RedsiftTypographyH4FontWeight, RedsiftTypographyH4LineHeight, RedsiftTypographyH4TextTransform, RedsiftTypographyH5FontFamily, RedsiftTypographyH5FontSize, RedsiftTypographyH5FontWeight, RedsiftTypographyH5LineHeight, RedsiftTypographyH5TextTransform, RedsiftTypographyHelperFontFamily, RedsiftTypographyHelperFontSize, RedsiftTypographyHelperFontWeight, RedsiftTypographyHelperLineHeight, RedsiftTypographyInputTextFontFamily, RedsiftTypographyInputTextFontSize, RedsiftTypographyInputTextFontWeight, RedsiftTypographyInputTextLineHeight, RedsiftTypographyLinkFontFamily, RedsiftTypographyLinkFontSize, RedsiftTypographyLinkFontWeight, RedsiftTypographyLinkLineHeight, RedsiftTypographyPillFontFamily, RedsiftTypographyPillFontSize, RedsiftTypographyPillFontWeight, RedsiftTypographyPillLineHeight, RedsiftTypographySubtitleFontFamily, RedsiftTypographySubtitleFontSize, RedsiftTypographySubtitleFontWeight, RedsiftTypographySubtitleLineHeight, RedsiftTypographySubtitleTextTransform, RedsiftTypographyTooltipFontFamily, RedsiftTypographyTooltipFontSize, RedsiftTypographyTooltipFontWeight, RedsiftTypographyTooltipLineHeight, Shield, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuItem, SideNavigationMenuReducerActionType, Skeleton, SkeletonCircle, SkeletonText, SkeletonTextVariant, Spinner, SpinnerSize, StyledButton, StyledLink, Switch, SwitchGroup, SwitchGroupOrientation, Text, TextComponent, TextField, TextFieldVariant, TextVariant, baseContainer, baseFlexbox, baseGrid, baseInternalSpacing, baseLayout, basePositioning, baseSizing, baseSpacing, baseStyling, filterComponents, focusRing, isComponent, partitionComponents, useAppSidePanel, useBoundingClientRect, $325a3faab7a68acd$export$a16aca283550c30d as useCollator, $896ba0a80a8f4d36$export$85fd5fdf27bacc79 as useDateFormatter, $bb77f239b46e8c72$export$3274cf84b703fff as useFilter, $704cf1d3b684cc5c$export$535bd6ca7f90a273 as useIsSSR, $33bf17300c498528$export$a2f47a3d2973640 as useListFormatter, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 as useLocale, $fca6afa0e843324b$export$f12b703ca79dfbb1 as useLocalizedStringFormatter, $a916eb452884faea$export$b7a616150fdb9f44 as useNumberFormatter, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
|
|
11439
11556
|
//# sourceMappingURL=index.js.map
|