@superdispatch/ui 0.22.1 → 0.22.2

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.
Files changed (33) hide show
  1. package/dist-node/index.js +83 -10
  2. package/dist-node/index.js.map +1 -1
  3. package/dist-src/avatar/AvatarOverrides.js +1 -1
  4. package/dist-src/avatar-button/AvatarButton.js +1 -1
  5. package/dist-src/button/ButtonOverrides.js +1 -1
  6. package/dist-src/card-button/CardButton.js +1 -1
  7. package/dist-src/checkbox/CheckboxOverrides.js +1 -1
  8. package/dist-src/chip/ChipOverrides.js +1 -1
  9. package/dist-src/description-list/DescriptionList.js +1 -1
  10. package/dist-src/drawer/DrawerActions.js +1 -1
  11. package/dist-src/drawer/DrawerTitle.js +1 -1
  12. package/dist-src/icon-button/IconButtonOverrides.js +1 -1
  13. package/dist-src/index.js +2 -1
  14. package/dist-src/link/LinkOverrides.js +1 -1
  15. package/dist-src/list/ListOverrides.js +1 -1
  16. package/dist-src/overflow-text/OverflowText.js +1 -1
  17. package/dist-src/pagination/PaginationOverrides.js +1 -1
  18. package/dist-src/paper/PaperOverrides.js +1 -1
  19. package/dist-src/radio/RadioFieldCard.js +80 -0
  20. package/dist-src/radio/RadioOverrides.js +1 -1
  21. package/dist-src/snackbar/SnackbarContent.js +1 -1
  22. package/dist-src/svg-icon/SvgIconOverrides.js +1 -1
  23. package/dist-src/switch/SwitchOverrides.js +1 -1
  24. package/dist-src/tabs/TabsOverrides.js +1 -1
  25. package/dist-src/tag/Tag.js +1 -1
  26. package/dist-src/text-field/TextFieldOverrides.js +1 -1
  27. package/dist-src/theme/ThemeProvider.js +1 -1
  28. package/dist-src/tooltip/TooltipOverrides.js +1 -1
  29. package/dist-types/index.d.ts +123 -110
  30. package/dist-web/index.js +87 -15
  31. package/dist-web/index.js.map +1 -1
  32. package/package.json +1 -1
  33. /package/dist-src/{theme → color}/Color.js +0 -0
@@ -1,5 +1,5 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
- import { Color } from "../theme/Color.js";
2
+ import { Color } from "../color/Color.js";
3
3
  export function overrideAvatar(theme) {
4
4
  theme.overrides.MuiAvatar = {
5
5
  root: _objectSpread(_objectSpread({}, theme.typography.h5), {}, {
@@ -6,7 +6,7 @@ import { Avatar, ButtonBase, CircularProgress } from '@material-ui/core';
6
6
  import { makeStyles } from '@material-ui/styles';
7
7
  import clsx from 'clsx';
8
8
  import { forwardRef } from 'react';
9
- import { Color } from "../theme/Color.js";
9
+ import { Color } from "../color/Color.js";
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import { jsxs as _jsxs } from "react/jsx-runtime";
12
12
  var useStyles = /*#__PURE__*/makeStyles(theme => {
@@ -1,4 +1,4 @@
1
- import { Color } from "../theme/Color.js";
1
+ import { Color } from "../color/Color.js";
2
2
 
3
3
  function outlineShadow() {
4
4
  var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
@@ -5,7 +5,7 @@ import { ButtonBase, Typography } from '@material-ui/core';
5
5
  import { makeStyles } from '@material-ui/styles';
6
6
  import clsx from 'clsx';
7
7
  import { forwardRef } from 'react';
8
- import { Color } from "../theme/Color.js";
8
+ import { Color } from "../color/Color.js";
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
10
  import { jsxs as _jsxs } from "react/jsx-runtime";
11
11
  import { Fragment as _Fragment } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { SvgIcon } from '@material-ui/core';
2
- import { Color } from "../theme/Color.js";
2
+ import { Color } from "../color/Color.js";
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  import { jsxs as _jsxs } from "react/jsx-runtime";
5
5
  export function overrideCheckbox(theme) {
@@ -1,6 +1,6 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
2
  import { SvgIcon } from '@material-ui/core';
3
- import { Color } from "../theme/Color.js";
3
+ import { Color } from "../color/Color.js";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  export function overrideChip(theme) {
6
6
  var sm = theme.breakpoints.up('sm');
@@ -5,8 +5,8 @@ import { SvgIcon, Typography } from '@material-ui/core';
5
5
  import { makeStyles } from '@material-ui/styles';
6
6
  import clsx from 'clsx';
7
7
  import { forwardRef } from 'react';
8
+ import { Color } from "../color/Color.js";
8
9
  import { OverflowText } from "../overflow-text/OverflowText.js";
9
- import { Color } from "../theme/Color.js";
10
10
  import { isEmptyReactNode } from "../utils/isEmptyReactNode.js";
11
11
  import { useUID } from "../utils/useUID.js";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -5,7 +5,7 @@ import { AppBar, Toolbar } from '@material-ui/core';
5
5
  import { makeStyles } from '@material-ui/styles';
6
6
  import clsx from 'clsx';
7
7
  import { forwardRef } from 'react';
8
- import { Color } from "../theme/Color.js";
8
+ import { Color } from "../color/Color.js";
9
9
  import { VisibilityObserver } from "../utils/VisibilityObserver.js";
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import { Fragment as _Fragment } from "react/jsx-runtime";
@@ -5,7 +5,7 @@ import { AppBar, Grid, Toolbar, Typography } from '@material-ui/core';
5
5
  import { makeStyles } from '@material-ui/styles';
6
6
  import clsx from 'clsx';
7
7
  import { forwardRef } from 'react';
8
- import { Color } from "../theme/Color.js";
8
+ import { Color } from "../color/Color.js";
9
9
  import { VisibilityObserver } from "../utils/VisibilityObserver.js";
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { Color } from "../theme/Color.js";
1
+ import { Color } from "../color/Color.js";
2
2
  export function overrideIconButton(theme) {
3
3
  theme.overrides.MuiIconButton = {
4
4
  root: {
package/dist-src/index.js CHANGED
@@ -5,6 +5,7 @@ export * from "./button/Button.js";
5
5
  export * from "./card-button/CardButton.js";
6
6
  export * from "./checkbox/CheckboxField.js";
7
7
  export * from "./checkbox/CheckboxGroudField.js";
8
+ export * from "./color/Color.js";
8
9
  export * from "./columns/Column.js";
9
10
  export * from "./columns/Columns.js";
10
11
  export * from "./description-list/DescriptionList.js";
@@ -25,6 +26,7 @@ export * from "./props/CollapseProp.js";
25
26
  export * from "./props/ResponsiveProp.js";
26
27
  export * from "./props/SpaceProp.js";
27
28
  export * from "./radio/RadioField.js";
29
+ export * from "./radio/RadioFieldCard.js";
28
30
  export * from "./radio/RadioGroupField.js";
29
31
  export * from "./responsive/CollapseBreakpoint.js";
30
32
  export * from "./responsive/MinBreakpoint.js";
@@ -34,7 +36,6 @@ export * from "./snackbar/SnackbarContent.js";
34
36
  export * from "./snackbar/SnackbarStack.js";
35
37
  export * from "./stack/Stack.js";
36
38
  export * from "./tag/Tag.js";
37
- export * from "./theme/Color.js";
38
39
  export * from "./theme/SuperDispatchTheme.js";
39
40
  export * from "./theme/ThemeProvider.js";
40
41
  export * from "./tiles/Tiles.js";
@@ -1,4 +1,4 @@
1
- import { Color } from "../theme/Color.js";
1
+ import { Color } from "../color/Color.js";
2
2
 
3
3
  function line(color) {
4
4
  return "linear-gradient(to right, ".concat(color, " 0%, ").concat(color, " 100%)");
@@ -1,4 +1,4 @@
1
- import { Color } from "../theme/Color.js";
1
+ import { Color } from "../color/Color.js";
2
2
  export function overrideList(theme) {
3
3
  theme.overrides.MuiListItem = {
4
4
  root: {
@@ -6,7 +6,7 @@ import { Tooltip, Typography } from '@material-ui/core';
6
6
  import { makeStyles } from '@material-ui/styles';
7
7
  import clsx from 'clsx';
8
8
  import { forwardRef, useState } from 'react';
9
- import { Color } from "../theme/Color.js";
9
+ import { Color } from "../color/Color.js";
10
10
  import { VisibilityObserver } from "../utils/VisibilityObserver.js";
11
11
  import { jsx as _jsx } from "react/jsx-runtime";
12
12
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { Color } from "../theme/Color.js";
1
+ import { Color } from "../color/Color.js";
2
2
  export function overridePagination(theme) {
3
3
  var props = {};
4
4
  var overrides = {
@@ -1,4 +1,4 @@
1
- import { Color } from "../theme/Color.js";
1
+ import { Color } from "../color/Color.js";
2
2
  export function overridePaper(theme) {
3
3
  theme.props.MuiPaper = {
4
4
  elevation: 0
@@ -0,0 +1,80 @@
1
+ import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["name", "value", "label", "caption", "disabled", "icon", "checked", "onChange"];
4
+ import { ButtonBase, Card as MuiCard, FormControlLabel as MuiFormControlLabel, Radio } from '@material-ui/core';
5
+ import { Box, TextBox } from '@superdispatch/ui-lab';
6
+ import { forwardRef } from 'react';
7
+ import styled from 'styled-components';
8
+ import { Column } from "../columns/Column.js";
9
+ import { Columns } from "../columns/Columns.js";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ var ClickableCard = /*#__PURE__*/styled(ButtonBase).withConfig({
13
+ displayName: "RadioFieldCard__ClickableCard",
14
+ componentId: "SD__sc-5etge2-0"
15
+ })(["display:block;text-align:initial;width:100%;"]);
16
+ var Card = /*#__PURE__*/styled(MuiCard).withConfig({
17
+ displayName: "RadioFieldCard__Card",
18
+ componentId: "SD__sc-5etge2-1"
19
+ })(["width:100%;opacity:", ";"], props => props.disabled ? 0.5 : 1);
20
+ var FormControlLabel = /*#__PURE__*/styled(MuiFormControlLabel).withConfig({
21
+ displayName: "RadioFieldCard__FormControlLabel",
22
+ componentId: "SD__sc-5etge2-2"
23
+ })(["width:100%;"]);
24
+ export var RadioFieldCard = /*#__PURE__*/forwardRef((_ref, ref) => {
25
+ var {
26
+ name,
27
+ value,
28
+ label,
29
+ caption,
30
+ disabled,
31
+ icon,
32
+ checked,
33
+ onChange
34
+ } = _ref,
35
+ props = _objectWithoutProperties(_ref, _excluded);
36
+
37
+ return /*#__PURE__*/_jsx(Card, {
38
+ disabled: disabled,
39
+ children: /*#__PURE__*/_jsx(ClickableCard, _objectSpread(_objectSpread({
40
+ name: name,
41
+ disabled: disabled
42
+ }, props), {}, {
43
+ children: /*#__PURE__*/_jsx(Box, {
44
+ borderRadius: "small",
45
+ borderWidth: "small",
46
+ padding: ['small'],
47
+ width: "100%",
48
+ borderColor: checked ? 'Blue300' : 'Silver500',
49
+ children: /*#__PURE__*/_jsxs(Columns, {
50
+ space: "small",
51
+ children: [/*#__PURE__*/_jsxs(Column, {
52
+ children: [/*#__PURE__*/_jsx(FormControlLabel, {
53
+ value: value,
54
+ name: name,
55
+ control: /*#__PURE__*/_jsx(Radio, {
56
+ ref: ref,
57
+ checked: checked
58
+ }),
59
+ label: /*#__PURE__*/_jsx(TextBox, {
60
+ variant: "heading-4",
61
+ children: label
62
+ })
63
+ }), /*#__PURE__*/_jsx(Box, {
64
+ paddingLeft: "large",
65
+ children: /*#__PURE__*/_jsx(TextBox, {
66
+ color: "secondary",
67
+ variant: "caption",
68
+ children: caption
69
+ })
70
+ })]
71
+ }), /*#__PURE__*/_jsx(Column, {
72
+ width: "content",
73
+ children: icon
74
+ })]
75
+ })
76
+ })
77
+ }))
78
+ }, value);
79
+ });
80
+ if (process.env.NODE_ENV !== "production") RadioFieldCard.displayName = "RadioFieldCard";
@@ -1,5 +1,5 @@
1
1
  import { SvgIcon } from '@material-ui/core';
2
- import { Color } from "../theme/Color.js";
2
+ import { Color } from "../color/Color.js";
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  import { jsxs as _jsxs } from "react/jsx-runtime";
5
5
  export function overrideRadio(theme) {
@@ -7,7 +7,7 @@ import { CheckCircle, Close, Warning } from '@material-ui/icons';
7
7
  import { makeStyles } from '@material-ui/styles';
8
8
  import clsx from 'clsx';
9
9
  import { forwardRef } from 'react';
10
- import { Color } from "../theme/Color.js";
10
+ import { Color } from "../color/Color.js";
11
11
  import { jsx as _jsx } from "react/jsx-runtime";
12
12
  import { Fragment as _Fragment } from "react/jsx-runtime";
13
13
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { Color } from "../theme/Color.js";
1
+ import { Color } from "../color/Color.js";
2
2
  export function overrideSvgIcon(theme) {
3
3
  var sm = theme.breakpoints.up('sm');
4
4
  theme.overrides.MuiSvgIcon = {
@@ -1,4 +1,4 @@
1
- import { Color } from "../theme/Color.js";
1
+ import { Color } from "../color/Color.js";
2
2
  export function overrideSwitch(theme) {
3
3
  var sm = theme.breakpoints.up('sm');
4
4
  theme.props.MuiSwitch = {
@@ -1,5 +1,5 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
- import { Color } from "../theme/Color.js";
2
+ import { Color } from "../color/Color.js";
3
3
  export function overrideTabs(theme) {
4
4
  theme.props.MuiTabs = {
5
5
  variant: 'scrollable',
@@ -5,7 +5,7 @@ import { Typography } from '@material-ui/core';
5
5
  import { makeStyles } from '@material-ui/styles';
6
6
  import cx from 'clsx';
7
7
  import { forwardRef } from 'react';
8
- import { Color } from "../theme/Color.js";
8
+ import { Color } from "../color/Color.js";
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
10
  var useStyles = /*#__PURE__*/makeStyles(theme => ({
11
11
  root: {
@@ -1,7 +1,7 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
2
  import { SvgIcon } from '@material-ui/core';
3
3
  import { forwardRef } from 'react';
4
- import { Color } from "../theme/Color.js";
4
+ import { Color } from "../color/Color.js";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  var SelectIcon = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/_jsx(SvgIcon, _objectSpread(_objectSpread({
7
7
  ref: ref
@@ -10,6 +10,7 @@ import { overrideButton } from "../button/ButtonOverrides.js";
10
10
  import { overrideCard } from "../card/CardOverrides.js";
11
11
  import { overrideCheckbox } from "../checkbox/CheckboxOverrides.js";
12
12
  import { overrideChip } from "../chip/ChipOverrides.js";
13
+ import { Color } from "../color/Color.js";
13
14
  import { overrideDialog } from "../dialog/DialogOverrides.js";
14
15
  import { overrideDrawer } from "../drawer/DrawerOverrides.js";
15
16
  import { overrideIconButton } from "../icon-button/IconButtonOverrides.js";
@@ -29,7 +30,6 @@ import { overrideTextField } from "../text-field/TextFieldOverrides.js";
29
30
  import { overrideToolbar } from "../toolbar/ToolbarOverrides.js";
30
31
  import { overrideTooltip } from "../tooltip/TooltipOverrides.js";
31
32
  import { createTypographyOptions, overrideTypography } from "../typography/TypographyOverrides.js";
32
- import { Color } from "./Color.js";
33
33
  import { jsx as _jsx } from "react/jsx-runtime";
34
34
  import { jsxs as _jsxs } from "react/jsx-runtime";
35
35
 
@@ -1,5 +1,5 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
- import { Color } from "../theme/Color.js";
2
+ import { Color } from "../color/Color.js";
3
3
  export function overrideTooltip(theme) {
4
4
  theme.props.MuiTooltip = {
5
5
  arrow: true
@@ -96,6 +96,115 @@ interface CheckboxGroupFieldProps extends Omit<FormControlProps, 'hiddenLabel' |
96
96
  }
97
97
  declare const CheckboxGroupField: ForwardRefExoticComponent<CheckboxGroupFieldProps>;
98
98
 
99
+ declare type ColorVariant = 'grey' | 'silver' | 'blue' | 'green' | 'purple' | 'red' | 'teal' | 'yellow';
100
+ declare enum Color {
101
+ White = "#fff",
102
+ White50 = "rgba(255, 255, 255, 0.5)",
103
+ White40 = "rgba(255, 255, 255, 0.4)",
104
+ White20 = "rgba(255, 255, 255, 0.2)",
105
+ White10 = "rgba(255, 255, 255, 0.1)",
106
+ White08 = "rgba(255, 255, 255, 0.08)",
107
+ Transparent = "rgba(0, 0, 0, 0)",
108
+ Black = "#000",
109
+ Black50 = "rgba(0, 0, 0, 0.5)",
110
+ Black20 = "rgba(0, 0, 0, 0.2)",
111
+ /**@deprecated Use Dark100 */
112
+ Grey100 = "#8F949E",
113
+ /**@deprecated Use Dark200 */
114
+ Grey200 = "#6A707C",
115
+ /**@deprecated Use Dark300 */
116
+ Grey300 = "#5B6371",
117
+ /**@deprecated Use Dark400 */
118
+ Grey400 = "#323C4E",
119
+ /**@deprecated Use Dark450 */
120
+ Grey450 = "#222F44",
121
+ /**@deprecated Use Dark500 */
122
+ Grey500 = "#192334",
123
+ Dark100 = "#8F949E",
124
+ Dark200 = "#6A707C",
125
+ Dark300 = "#5B6371",
126
+ /**@deprecated */
127
+ Dark400 = "#323C4E",
128
+ /**@deprecated */
129
+ Dark450 = "#222F44",
130
+ Dark500 = "#192334",
131
+ /**@deprecated */
132
+ Silver100 = "#F6F7F8",
133
+ Silver200 = "#F3F5F8",
134
+ /**@deprecated */
135
+ Silver300 = "#E8ECF0",
136
+ Silver400 = "#E1E5EA",
137
+ Silver500 = "#C4CDD5",
138
+ Blue50 = "#EBF4FF",
139
+ /** @deprecated */
140
+ Blue75 = "#CCE5FF",
141
+ /** @deprecated */
142
+ Blue100 = "#A8D1FF",
143
+ /** @deprecated */
144
+ Blue200 = "#66ADFF",
145
+ Blue300 = "#0070F5",
146
+ /** @deprecated */
147
+ Blue400 = "#0063DB",
148
+ Blue500 = "#0063DB",
149
+ Green50 = "#ECF9EF",
150
+ /** @deprecated */
151
+ Green75 = "#C8F4D1",
152
+ /** @deprecated */
153
+ Green100 = "#90EAAE",
154
+ /** @deprecated */
155
+ Green200 = "#5DDA87",
156
+ Green300 = "#03872F",
157
+ /** @deprecated */
158
+ Green400 = "#1E8F46",
159
+ Green500 = "#007A29",
160
+ Purple50 = "#EFEEFC",
161
+ /** @deprecated */
162
+ Purple75 = "#DCDBF5",
163
+ /** @deprecated */
164
+ Purple100 = "#CBC8EE",
165
+ /** @deprecated */
166
+ Purple200 = "#A7A1E8",
167
+ Purple300 = "#6559CF",
168
+ /** @deprecated */
169
+ Purple400 = "#473ABB",
170
+ Purple500 = "#473ABB",
171
+ Red50 = "#FFEDEB",
172
+ /** @deprecated */
173
+ Red75 = "#FDD9D3",
174
+ /** @deprecated */
175
+ Red100 = "#FDC2BA",
176
+ /** @deprecated */
177
+ Red200 = "#FE988B",
178
+ Red300 = "#E5230D",
179
+ /** @deprecated */
180
+ Red400 = "#D9210D",
181
+ Red500 = "#C31909",
182
+ Teal50 = "#E3F6FC",
183
+ /** @deprecated */
184
+ Teal75 = "#BEEDF9",
185
+ /** @deprecated */
186
+ Teal100 = "#91E3F8",
187
+ /** @deprecated */
188
+ Teal200 = "#61D3EF",
189
+ Teal300 = "#007EAB",
190
+ /** @deprecated */
191
+ Teal400 = "#008DB8",
192
+ Teal500 = "#00678A",
193
+ Yellow50 = "#FFF7DC",
194
+ /** @deprecated */
195
+ Yellow75 = "#FFF1C2",
196
+ /** @deprecated */
197
+ Yellow100 = "#FFE494",
198
+ /** @deprecated */
199
+ Yellow200 = "#FFDC6B",
200
+ Yellow300 = "#E8671C",
201
+ /** @deprecated */
202
+ Yellow400 = "#FFA91F",
203
+ Yellow500 = "#B84807"
204
+ }
205
+ declare type ColorProp = keyof typeof Color;
206
+ declare function isColorProp(name: unknown): name is ColorProp;
207
+
99
208
  declare type ResponsivePropPrimitive = boolean | number | string;
100
209
  declare type ResponsivePropTupleInit<T extends ResponsivePropPrimitive> = readonly [mobile: T, tablet?: T, desktop?: T];
101
210
  declare type ResponsiveProp<T extends ResponsivePropPrimitive> = T | ResponsivePropTupleInit<T>;
@@ -263,6 +372,19 @@ interface RadioFieldProps extends Omit<RadioProps, 'onBlur' | 'onChange'>, Pick<
263
372
  }
264
373
  declare const RadioField: ForwardRefExoticComponent<RadioFieldProps>;
265
374
 
375
+ interface RadioCardItemProps {
376
+ value: string;
377
+ label: string;
378
+ name?: string;
379
+ caption?: string;
380
+ icon?: React.ReactNode;
381
+ }
382
+ interface RadioCardProps extends Omit<ButtonBaseProps, 'name' | 'value'>, RadioCardItemProps {
383
+ disabled?: boolean;
384
+ checked?: boolean;
385
+ }
386
+ declare const RadioFieldCard: ForwardRefExoticComponent<RadioCardProps>;
387
+
266
388
  interface RadioGroupFieldProps extends Omit<FormControlProps, 'hiddenLabel' | 'onChange'>, Pick<RadioGroupProps, 'name' | 'value' | 'onChange'> {
267
389
  RadioGroupProps?: Omit<RadioGroupProps, 'value' | 'onChange' | 'children'>;
268
390
  label?: ReactNode;
@@ -340,115 +462,6 @@ interface TagProps extends RefAttributes<unknown>, Omit<TypographyProps, 'ref' |
340
462
  }
341
463
  declare const Tag: ForwardRefExoticComponent<TagProps>;
342
464
 
343
- declare type ColorVariant = 'grey' | 'silver' | 'blue' | 'green' | 'purple' | 'red' | 'teal' | 'yellow';
344
- declare enum Color {
345
- White = "#fff",
346
- White50 = "rgba(255, 255, 255, 0.5)",
347
- White40 = "rgba(255, 255, 255, 0.4)",
348
- White20 = "rgba(255, 255, 255, 0.2)",
349
- White10 = "rgba(255, 255, 255, 0.1)",
350
- White08 = "rgba(255, 255, 255, 0.08)",
351
- Transparent = "rgba(0, 0, 0, 0)",
352
- Black = "#000",
353
- Black50 = "rgba(0, 0, 0, 0.5)",
354
- Black20 = "rgba(0, 0, 0, 0.2)",
355
- /**@deprecated Use Dark100 */
356
- Grey100 = "#8F949E",
357
- /**@deprecated Use Dark200 */
358
- Grey200 = "#6A707C",
359
- /**@deprecated Use Dark300 */
360
- Grey300 = "#5B6371",
361
- /**@deprecated Use Dark400 */
362
- Grey400 = "#323C4E",
363
- /**@deprecated Use Dark450 */
364
- Grey450 = "#222F44",
365
- /**@deprecated Use Dark500 */
366
- Grey500 = "#192334",
367
- Dark100 = "#8F949E",
368
- Dark200 = "#6A707C",
369
- Dark300 = "#5B6371",
370
- /**@deprecated */
371
- Dark400 = "#323C4E",
372
- /**@deprecated */
373
- Dark450 = "#222F44",
374
- Dark500 = "#192334",
375
- /**@deprecated */
376
- Silver100 = "#F6F7F8",
377
- Silver200 = "#F3F5F8",
378
- /**@deprecated */
379
- Silver300 = "#E8ECF0",
380
- Silver400 = "#E1E5EA",
381
- Silver500 = "#C4CDD5",
382
- Blue50 = "#EBF4FF",
383
- /** @deprecated */
384
- Blue75 = "#CCE5FF",
385
- /** @deprecated */
386
- Blue100 = "#A8D1FF",
387
- /** @deprecated */
388
- Blue200 = "#66ADFF",
389
- Blue300 = "#0070F5",
390
- /** @deprecated */
391
- Blue400 = "#0063DB",
392
- Blue500 = "#0063DB",
393
- Green50 = "#ECF9EF",
394
- /** @deprecated */
395
- Green75 = "#C8F4D1",
396
- /** @deprecated */
397
- Green100 = "#90EAAE",
398
- /** @deprecated */
399
- Green200 = "#5DDA87",
400
- Green300 = "#03872F",
401
- /** @deprecated */
402
- Green400 = "#1E8F46",
403
- Green500 = "#007A29",
404
- Purple50 = "#EFEEFC",
405
- /** @deprecated */
406
- Purple75 = "#DCDBF5",
407
- /** @deprecated */
408
- Purple100 = "#CBC8EE",
409
- /** @deprecated */
410
- Purple200 = "#A7A1E8",
411
- Purple300 = "#6559CF",
412
- /** @deprecated */
413
- Purple400 = "#473ABB",
414
- Purple500 = "#473ABB",
415
- Red50 = "#FFEDEB",
416
- /** @deprecated */
417
- Red75 = "#FDD9D3",
418
- /** @deprecated */
419
- Red100 = "#FDC2BA",
420
- /** @deprecated */
421
- Red200 = "#FE988B",
422
- Red300 = "#E5230D",
423
- /** @deprecated */
424
- Red400 = "#D9210D",
425
- Red500 = "#C31909",
426
- Teal50 = "#E3F6FC",
427
- /** @deprecated */
428
- Teal75 = "#BEEDF9",
429
- /** @deprecated */
430
- Teal100 = "#91E3F8",
431
- /** @deprecated */
432
- Teal200 = "#61D3EF",
433
- Teal300 = "#007EAB",
434
- /** @deprecated */
435
- Teal400 = "#008DB8",
436
- Teal500 = "#00678A",
437
- Yellow50 = "#FFF7DC",
438
- /** @deprecated */
439
- Yellow75 = "#FFF1C2",
440
- /** @deprecated */
441
- Yellow100 = "#FFE494",
442
- /** @deprecated */
443
- Yellow200 = "#FFDC6B",
444
- Yellow300 = "#E8671C",
445
- /** @deprecated */
446
- Yellow400 = "#FFA91F",
447
- Yellow500 = "#B84807"
448
- }
449
- declare type ColorProp = keyof typeof Color;
450
- declare function isColorProp(name: unknown): name is ColorProp;
451
-
452
465
  declare type SuperDispatchTheme = Readonly<Required<Theme>>;
453
466
 
454
467
  interface ThemeProviderProps {
@@ -503,4 +516,4 @@ interface VisibilityObserverProps extends VisibilityObserverOptions {
503
516
  }
504
517
  declare function VisibilityObserver({ render, onChange, ...options }: VisibilityObserverProps): null | ReactElement;
505
518
 
506
- export { AdaptiveToolbar, AdaptiveToolbarDropdownItem, AdaptiveToolbarItem, AdaptiveToolbarProps, AdaptiveVerticalToolbar, AdaptiveVerticalToolbarItem, AdaptiveVerticalToolbarProps, AvatarButton, AvatarButtonClassKey, AvatarButtonProps, Button, ButtonProps, CardButton, CardButtonClassKey, CardButtonProps, CheckboxField, CheckboxFieldProps, CheckboxGroupField, CheckboxGroupFieldProps, CollapseBreakpoint, CollapseProp, Color, ColorProp, ColorVariant, Column, ColumnProps, ColumnWidth, Columns, ColumnsProps, DescriptionList, DescriptionListItem, DescriptionListItemProps, DescriptionListProps, DrawerActions, DrawerActionsProps, DrawerContent, DrawerContentProps, DrawerList, DrawerListProps, DrawerTitle, DrawerTitleProps, DropdownButton, ElementVisibility, ExitTransitionPlaceholder, GridStack, GridStackProps, HorizontalAlign, InfoCard, InfoCardClassKey, InfoCardProps, InfoTooltip, Inline, InlineGrid, InlineGridProps, InlineProps, MinBreakpoint, NegativeSpaceProp, NumberField, NumberFieldProps, OverflowText, OverflowTextProps, PartialResponsivePropRecord, RadioField, RadioFieldProps, RadioGroupField, RadioGroupFieldProps, ResponsiveContext, ResponsiveContextProvider, ResponsiveContextProviderProps, ResponsiveProp, ResponsivePropPrimitive, ResponsivePropRecord, ResponsivePropTuple, ResponsivePropTupleInit, Snackbar, SnackbarCloseReason, SnackbarContent, SnackbarContentProps, SnackbarProps, SnackbarStack, SnackbarStackConsumer, SnackbarStackOptions, SnackbarStackProvider, SnackbarStackProviderProps, SnackbarVariant, SpaceProp, Stack, StackProps, SuperDispatchTheme, Tag, TagClassKey, TagProps, ThemeProvider, ThemeProviderProps, Tiles, TilesColumns, TilesProps, TilesSpace, VerticalAlign, VisibilityObserver, VisibilityObserverOptions, VisibilityObserverProps, VisibilityObserverRenderProps, assignRef, isColorProp, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useMinBreakpoint, useResizeObserver, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };
519
+ export { AdaptiveToolbar, AdaptiveToolbarDropdownItem, AdaptiveToolbarItem, AdaptiveToolbarProps, AdaptiveVerticalToolbar, AdaptiveVerticalToolbarItem, AdaptiveVerticalToolbarProps, AvatarButton, AvatarButtonClassKey, AvatarButtonProps, Button, ButtonProps, CardButton, CardButtonClassKey, CardButtonProps, CheckboxField, CheckboxFieldProps, CheckboxGroupField, CheckboxGroupFieldProps, CollapseBreakpoint, CollapseProp, Color, ColorProp, ColorVariant, Column, ColumnProps, ColumnWidth, Columns, ColumnsProps, DescriptionList, DescriptionListItem, DescriptionListItemProps, DescriptionListProps, DrawerActions, DrawerActionsProps, DrawerContent, DrawerContentProps, DrawerList, DrawerListProps, DrawerTitle, DrawerTitleProps, DropdownButton, ElementVisibility, ExitTransitionPlaceholder, GridStack, GridStackProps, HorizontalAlign, InfoCard, InfoCardClassKey, InfoCardProps, InfoTooltip, Inline, InlineGrid, InlineGridProps, InlineProps, MinBreakpoint, NegativeSpaceProp, NumberField, NumberFieldProps, OverflowText, OverflowTextProps, PartialResponsivePropRecord, RadioCardItemProps, RadioField, RadioFieldCard, RadioFieldProps, RadioGroupField, RadioGroupFieldProps, ResponsiveContext, ResponsiveContextProvider, ResponsiveContextProviderProps, ResponsiveProp, ResponsivePropPrimitive, ResponsivePropRecord, ResponsivePropTuple, ResponsivePropTupleInit, Snackbar, SnackbarCloseReason, SnackbarContent, SnackbarContentProps, SnackbarProps, SnackbarStack, SnackbarStackConsumer, SnackbarStackOptions, SnackbarStackProvider, SnackbarStackProviderProps, SnackbarVariant, SpaceProp, Stack, StackProps, SuperDispatchTheme, Tag, TagClassKey, TagProps, ThemeProvider, ThemeProviderProps, Tiles, TilesColumns, TilesProps, TilesSpace, VerticalAlign, VisibilityObserver, VisibilityObserverOptions, VisibilityObserverProps, VisibilityObserverRenderProps, assignRef, isColorProp, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useMinBreakpoint, useResizeObserver, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };