@cube-dev/ui-kit 0.6.60 → 0.7.1

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 (59) hide show
  1. package/dist/cjs/components/content/PrismCode/PrismCode.d.ts +2 -2
  2. package/dist/cjs/components/content/Text.d.ts +0 -2
  3. package/dist/cjs/components/forms/TextInput/TextInputBase.d.ts +1 -1
  4. package/dist/cjs/components/layout/Flex.d.ts +2 -2
  5. package/dist/cjs/components/layout/Grid.d.ts +2 -2
  6. package/dist/cjs/components/layout/Space.d.ts +2 -2
  7. package/dist/cjs/components/pickers/ComboBox/ComboBox.d.ts +1 -1
  8. package/dist/cjs/components/pickers/Select/Select.d.ts +1 -2
  9. package/dist/cjs/components/types.d.ts +19 -6
  10. package/dist/cjs/index.d.ts +1 -1
  11. package/dist/cjs/index.js +14 -11
  12. package/dist/cjs/index.js.map +1 -1
  13. package/dist/cjs/providers/BreakpointsProvider.d.ts +7 -5
  14. package/dist/cjs/providers/StylesProvider.d.ts +8 -6
  15. package/dist/cjs/shared/form.d.ts +7 -0
  16. package/dist/cjs/stories/components/StyledButton.d.ts +4 -0
  17. package/dist/cjs/styled.d.ts +7 -26
  18. package/dist/cjs/styles/align.d.ts +9 -0
  19. package/dist/cjs/styles/justify.d.ts +9 -0
  20. package/dist/cjs/styles/list.d.ts +2 -2
  21. package/dist/cjs/styles/margin.d.ts +7 -1
  22. package/dist/cjs/styles/marginBlock.d.ts +8 -0
  23. package/dist/cjs/styles/marginInline.d.ts +8 -0
  24. package/dist/cjs/styles/types.d.ts +13 -4
  25. package/dist/cjs/{css-properties.d.ts → tokens.d.ts} +13 -2
  26. package/dist/cjs/utils/mergeStyles.d.ts +2 -0
  27. package/dist/cjs/utils/renderStyles.d.ts +1 -0
  28. package/dist/cjs/utils/responsive.d.ts +1 -1
  29. package/dist/cjs/utils/styles.d.ts +3 -3
  30. package/dist/mjs/components/content/PrismCode/PrismCode.d.ts +2 -2
  31. package/dist/mjs/components/content/Text.d.ts +0 -2
  32. package/dist/mjs/components/forms/TextInput/TextInputBase.d.ts +1 -1
  33. package/dist/mjs/components/layout/Flex.d.ts +2 -2
  34. package/dist/mjs/components/layout/Grid.d.ts +2 -2
  35. package/dist/mjs/components/layout/Space.d.ts +2 -2
  36. package/dist/mjs/components/pickers/ComboBox/ComboBox.d.ts +1 -1
  37. package/dist/mjs/components/pickers/Select/Select.d.ts +1 -2
  38. package/dist/mjs/components/types.d.ts +19 -6
  39. package/dist/mjs/index.d.ts +1 -1
  40. package/dist/mjs/index.js +15 -12
  41. package/dist/mjs/index.js.map +1 -1
  42. package/dist/mjs/providers/BreakpointsProvider.d.ts +7 -5
  43. package/dist/mjs/providers/StylesProvider.d.ts +8 -6
  44. package/dist/mjs/shared/form.d.ts +7 -0
  45. package/dist/mjs/stories/components/StyledButton.d.ts +4 -0
  46. package/dist/mjs/styled.d.ts +7 -26
  47. package/dist/mjs/styles/align.d.ts +9 -0
  48. package/dist/mjs/styles/justify.d.ts +9 -0
  49. package/dist/mjs/styles/list.d.ts +2 -2
  50. package/dist/mjs/styles/margin.d.ts +7 -1
  51. package/dist/mjs/styles/marginBlock.d.ts +8 -0
  52. package/dist/mjs/styles/marginInline.d.ts +8 -0
  53. package/dist/mjs/styles/types.d.ts +13 -4
  54. package/dist/mjs/{css-properties.d.ts → tokens.d.ts} +13 -2
  55. package/dist/mjs/utils/mergeStyles.d.ts +2 -0
  56. package/dist/mjs/utils/renderStyles.d.ts +1 -0
  57. package/dist/mjs/utils/responsive.d.ts +1 -1
  58. package/dist/mjs/utils/styles.d.ts +3 -3
  59. package/package.json +82 -81
@@ -1,6 +1,8 @@
1
- /// <reference types="react" />
1
+ import { ReactNode } from 'react';
2
2
  export declare const BreakpointsContext: import("react").Context<number[]>;
3
- export declare function BreakpointsProvider({ value, children }: {
4
- value: any;
5
- children: any;
6
- }): JSX.Element;
3
+ interface BreakpointsProviderProps {
4
+ value: number[];
5
+ children: ReactNode;
6
+ }
7
+ export declare function BreakpointsProvider({ value, children, }: BreakpointsProviderProps): JSX.Element;
8
+ export {};
@@ -1,8 +1,10 @@
1
- /// <reference types="react" />
1
+ import { ReactNode } from 'react';
2
2
  import { Styles } from '../styles/types';
3
3
  export declare const StyleContext: import("react").Context<any>;
4
- export declare function StyleProvider({ children, ...props }: {
5
- [x: string]: any;
6
- children: any;
7
- }): JSX.Element;
8
- export declare function useContextStyles(name: any, props?: any): Styles;
4
+ interface StyleProviderProps {
5
+ children?: ReactNode;
6
+ [key: string]: any;
7
+ }
8
+ export declare function StyleProvider({ children, ...props }: StyleProviderProps): JSX.Element;
9
+ export declare function useContextStyles(name: string, props?: Record<string, any>): Styles | null;
10
+ export {};
@@ -44,11 +44,18 @@ export interface FormBaseProps {
44
44
  validateTrigger?: ValidateTrigger;
45
45
  }
46
46
  export interface FormFieldProps extends FormBaseProps {
47
+ /** Whether the field is inside the form. Private field. */
47
48
  insideForm?: boolean;
49
+ /** A text label of the field */
48
50
  label?: ReactNode;
51
+ /** Custom label props */
49
52
  labelProps?: Props;
53
+ /** Message for the field. Some additional information or error notice. */
50
54
  message?: ReactNode;
55
+ /** A tooltip that is shown inside the label */
51
56
  tooltip?: ReactNode;
57
+ /** Whether the element should receive focus on render. */
58
+ autoFocus?: boolean;
52
59
  }
53
60
  export declare type ValidationRuleBase = {
54
61
  [key: string]: any;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledButton: import("react").ComponentType<import("../../components/actions/Button/Button").CubeButtonProps & import("react").RefAttributes<import("@react-types/shared").FocusableRefValue<HTMLElement, HTMLElement>>>;
3
+ export declare const GlobalStyledHeading: any;
4
+ export declare function Block(): JSX.Element;
@@ -1,30 +1,11 @@
1
- /// <reference types="react" />
2
- import { AllBaseProps, BaseStyleProps, Props } from './components/types';
1
+ import { ComponentType } from 'react';
2
+ import { AllBaseProps, BaseStyleProps, StyledProps } from './components/types';
3
3
  import { Styles, StylesInterface } from './styles/types';
4
4
  import { ResponsiveStyleValue } from './utils/styles';
5
- export interface StyledProps<T extends string, K extends PossibleStyleNames> {
6
- /** The name of the element. It can be used to override styles in context. */
7
- name?: string;
8
- /** The tag name of the element. */
9
- tag?: string;
10
- /** Default styles of the element. */
11
- styles?: Styles;
12
- /** Default css of the element. */
13
- css?: string | ((props: Props) => string);
14
- /** Default attributes */
15
- attrs?: Record<string, any>;
16
- /** The list of styles that can be provided by props */
17
- styleProps?: K;
18
- /** The list of available modifiers. Providing it will show a warning each time you set an incorrect modifier on the element */
19
- availableMods?: T[];
20
- }
21
- export declare type PossibleStyleNames = readonly (keyof StylesInterface)[];
22
- export declare type AllPossibleStyleNames = readonly (keyof StylesInterface)[];
23
- export declare type AllBasePropsWithMods<T extends string, K extends PossibleStyleNames> = Omit<AllBaseProps, 'mods'> & {
24
- mods?: Record<T, boolean | null | undefined>;
25
- } & {
5
+ export declare type AllBasePropsWithMods<K extends (keyof StylesInterface)[]> = AllBaseProps & {
26
6
  [key in K[number]]?: ResponsiveStyleValue<StylesInterface[key]>;
27
7
  } & BaseStyleProps;
28
- export declare function styled<T extends string, K extends PossibleStyleNames>(options: StyledProps<T, K>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<Omit<AllBaseProps<"div">, "mods"> & {
29
- mods?: Record<T, boolean | null | undefined> | undefined;
30
- } & { [key in K[number]]?: ResponsiveStyleValue<StylesInterface[key]>; } & BaseStyleProps> & import("react").RefAttributes<unknown>>;
8
+ declare function styled<K extends (keyof StylesInterface)[]>(options: StyledProps<K>, secondArg?: never): any;
9
+ declare function styled(selector: string, styles?: Styles): any;
10
+ declare function styled<K extends (keyof StylesInterface)[], C = {}>(Component: ComponentType<C>, options?: Pick<StyledProps<K>, 'styles' | 'props' | 'name' | 'tag'>): ComponentType<C>;
11
+ export { styled };
@@ -0,0 +1,9 @@
1
+ export declare function alignStyle({ align }: {
2
+ align: any;
3
+ }): {
4
+ 'align-items': string;
5
+ 'align-content': string;
6
+ } | undefined;
7
+ export declare namespace alignStyle {
8
+ var __lookupStyles: string[];
9
+ }
@@ -0,0 +1,9 @@
1
+ export declare function justifyStyle({ justify }: {
2
+ justify: any;
3
+ }): {
4
+ 'justify-items': string;
5
+ 'justify-content': string;
6
+ } | undefined;
7
+ export declare namespace justifyStyle {
8
+ var __lookupStyles: string[];
9
+ }
@@ -4,6 +4,6 @@ export declare const BLOCK_STYLES: readonly ["reset", "padding", "paddingInline"
4
4
  export declare const COLOR_STYLES: readonly ["color", "fill"];
5
5
  export declare const TEXT_STYLES: readonly ["textTransform", "fontWeight", "fontStyle"];
6
6
  export declare const DIMENSION_STYLES: readonly ["width", "height", "flexBasis", "flexGrow", "flexShrink", "flex"];
7
- export declare const FLOW_STYLES: readonly ["flow", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "gap", "columnGap", "rowGap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
8
- export declare const CONTAINER_STYLES: readonly ["display", "font", "preset", "hide", "opacity", "whiteSpace", "color", "fill", "width", "height", "flexBasis", "flexGrow", "flexShrink", "flex", "gridArea", "order", "gridColumn", "gridRow", "placeSelf", "alignSelf", "justifySelf", "zIndex", "margin", "reset", "padding", "paddingInline", "paddingBlock", "shadow", "border", "radius", "opacity", "overflow", "styledScrollbar", "hide", "outline", "textAlign", "flow", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "gap", "columnGap", "rowGap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
7
+ export declare const FLOW_STYLES: readonly ["flow", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "align", "justify", "gap", "columnGap", "rowGap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
8
+ export declare const CONTAINER_STYLES: readonly ["display", "font", "preset", "hide", "opacity", "whiteSpace", "color", "fill", "width", "height", "flexBasis", "flexGrow", "flexShrink", "flex", "gridArea", "order", "gridColumn", "gridRow", "placeSelf", "alignSelf", "justifySelf", "zIndex", "margin", "reset", "padding", "paddingInline", "paddingBlock", "shadow", "border", "radius", "opacity", "overflow", "styledScrollbar", "hide", "outline", "textAlign", "flow", "placeItems", "placeContent", "alignItems", "alignContent", "justifyItems", "justifyContent", "align", "justify", "gap", "columnGap", "rowGap", "gridColumns", "gridRows", "gridTemplate", "gridAreas"];
9
9
  export declare const OUTER_STYLES: readonly ["gridArea", "order", "gridColumn", "gridRow", "placeSelf", "alignSelf", "justifySelf", "zIndex", "margin", "width", "height", "flexBasis", "flexGrow", "flexShrink", "flex"];
@@ -1,5 +1,11 @@
1
- export declare function marginStyle({ margin }: {
1
+ export declare function marginStyle({ margin, marginBlock, marginInline, marginTop, marginRight, marginBottom, marginLeft, }: {
2
2
  margin: any;
3
+ marginBlock: any;
4
+ marginInline: any;
5
+ marginTop: any;
6
+ marginRight: any;
7
+ marginBottom: any;
8
+ marginLeft: any;
3
9
  }): any;
4
10
  export declare namespace marginStyle {
5
11
  var __lookupStyles: string[];
@@ -0,0 +1,8 @@
1
+ export declare function marginBlockStyle({ marginBlock: margin, marginTop, marginBottom, }: {
2
+ marginBlock: any;
3
+ marginTop: any;
4
+ marginBottom: any;
5
+ }): {};
6
+ export declare namespace marginBlockStyle {
7
+ var __lookupStyles: string[];
8
+ }
@@ -0,0 +1,8 @@
1
+ export declare function marginInlineStyle({ marginInline: margin, marginLeft, marginRight, }: {
2
+ marginInline: any;
3
+ marginLeft: any;
4
+ marginRight: any;
5
+ }): {};
6
+ export declare namespace marginInlineStyle {
7
+ var __lookupStyles: string[];
8
+ }
@@ -4,7 +4,7 @@ declare type NamedColor = 'purple' | 'purple-text' | 'purple-01' | 'purple-02' |
4
4
  declare type Digit = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
5
5
  declare type OpaquePercentage = '' | `.${Digit}` | `.${Digit}${Digit}` | '.100';
6
6
  export declare type NoType = false | null | undefined;
7
- export interface StylesInterface extends Omit<CSSProperties, 'color' | 'fill' | 'font' | 'outline'> {
7
+ export interface StylesInterface extends Omit<CSSProperties, 'color' | 'fill' | 'font' | 'outline' | 'type'> {
8
8
  /** Set the background color of the element.
9
9
  * ```
10
10
  * fill="#{name_of_the_color}"
@@ -48,7 +48,7 @@ export interface StylesInterface extends Omit<CSSProperties, 'color' | 'fill' |
48
48
  * Syntax: `[[<value> | [ <verticalValue> <horizontalValue>] ]? [ [ leaf | backleaf ] | [ 'top' | 'right' | 'bottom' | 'top' ]{1,2} ] ] | [ 'round' | 'ellipse' ] | true`
49
49
  * Examples: `"1x"`, `"2x 4x"`, `"top"`, `"round"`, `"3x leaf"`, `"ellipse"`.
50
50
  */
51
- radius?: 'round' | 'ellipse' | 'leaf' | 'backleaf' | string;
51
+ radius?: 'round' | 'ellipse' | 'leaf' | 'backleaf' | string | true;
52
52
  /**
53
53
  * The group radius style rounds the corners of a container's outer border edge by applying radius style to to its children.
54
54
  * Syntax: `<value> [ 'round' | 'ellipse' ]? | true`
@@ -90,9 +90,18 @@ export interface StylesInterface extends Omit<CSSProperties, 'color' | 'fill' |
90
90
  * The preset style sets the base text settings according to the names preset. Affected styles: `font-size`, `line-height`, `letter-spacing`, `font-weight` and `text-transform`.
91
91
  */
92
92
  preset?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h5s' | 'h5m' | 'h6' | 't1' | 't2' | 't3' | 't4' | 't4m' | 'p1' | 'p2' | 'p3' | 'p4' | 'tag' | 'default' | string;
93
+ /**
94
+ * Shorthand for align-items and align-content.
95
+ */
96
+ align?: CSSProperties['alignItems'] | CSSProperties['alignContent'];
97
+ /**
98
+ * Shorthand for justify-items and justify-content.
99
+ */
100
+ justify?: CSSProperties['justifyItems'] | CSSProperties['justifyContent'];
93
101
  }
94
- export declare type SuffixSelector = `&${string}`;
95
- export declare type NotSuffixSelector = Exclude<string, SuffixSelector | keyof StylesInterface>;
102
+ export declare type SuffixForSelector = '&' | '.' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z';
103
+ export declare type Selector = `${SuffixForSelector}${string}`;
104
+ export declare type NotSelector = Exclude<string, Selector | keyof StylesInterface>;
96
105
  export declare type StylesWithoutSelectors = {
97
106
  [key in keyof StylesInterface]?: ResponsiveStyleValue<StylesInterface[key]>;
98
107
  };
@@ -1,4 +1,4 @@
1
- declare const PROPS: {
1
+ declare const TOKENS: {
2
2
  'font-size': string;
3
3
  'line-height': string;
4
4
  'input-font-size': string;
@@ -9,6 +9,7 @@ declare const PROPS: {
9
9
  'outline-width': string;
10
10
  'border-width': string;
11
11
  radius: string;
12
+ 'leaf-sharp-radius': string;
12
13
  transition: string;
13
14
  'clear-color': string;
14
15
  'border-color': string;
@@ -117,6 +118,16 @@ declare const PROPS: {
117
118
  'p4-line-height': string;
118
119
  'p4-letter-spacing': string;
119
120
  'p4-font-weight': string;
121
+ 'c1-font-size': string;
122
+ 'c1-line-height': string;
123
+ 'c1-letter-spacing': string;
124
+ 'c1-font-weight': string;
125
+ 'c1-text-transform': string;
126
+ 'c2-font-size': string;
127
+ 'c2-line-height': string;
128
+ 'c2-letter-spacing': string;
129
+ 'c2-font-weight': string;
130
+ 'c2-text-transform': string;
120
131
  'tag-font-size': string;
121
132
  'tag-line-height': string;
122
133
  'tag-letter-spacing': string;
@@ -138,4 +149,4 @@ declare const PROPS: {
138
149
  'default-letter-spacing': string;
139
150
  'default-font-weight': string;
140
151
  };
141
- export default PROPS;
152
+ export { TOKENS };
@@ -0,0 +1,2 @@
1
+ import { Styles } from '../styles/types';
2
+ export declare function mergeStyles(...objects: (Styles | undefined | null)[]): Styles;
@@ -1,4 +1,5 @@
1
1
  import { Styles } from '../styles/types';
2
+ export declare function isSelector(key: any): any;
2
3
  /**
3
4
  * Render style props to complete Styled Components CSS.
4
5
  * @param styles - Complete style props.
@@ -6,4 +6,4 @@ export interface ResponsiveZone {
6
6
  mediaQuery?: string;
7
7
  }
8
8
  export declare function pointsToZones(points: number[]): any;
9
- export declare function normalizeStyleZones(value: ResponsiveStyleValue, zoneNumber: number): any[] | null | undefined;
9
+ export declare function normalizeStyleZones(value: ResponsiveStyleValue, zoneNumber: number): any[] | null;
@@ -1,5 +1,5 @@
1
1
  import { Styles } from '../styles/types';
2
- export declare type StyleValue<T = string> = number | null | boolean | undefined | T;
2
+ export declare type StyleValue<T = string> = T | boolean | number | null;
3
3
  export declare type StyleValueStateMap<T = string> = {
4
4
  [key: string]: StyleValue<T>;
5
5
  };
@@ -57,7 +57,7 @@ export declare const CUSTOM_UNITS: {
57
57
  lh: string;
58
58
  rp: string;
59
59
  gp: string;
60
- wh: string;
60
+ wh: (num: any) => string;
61
61
  sp: (num: any) => string;
62
62
  };
63
63
  export declare const DIRECTIONS: string[];
@@ -176,7 +176,7 @@ export declare function styleStateMapToStyleStateDataList(styleStateMap: StyleSt
176
176
  states: {
177
177
  model: null;
178
178
  mods: never[];
179
- value: string | number | boolean | null | undefined;
179
+ value: string | number | boolean | null;
180
180
  }[];
181
181
  mods: never[];
182
182
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cube-dev/ui-kit",
3
- "version": "0.6.60",
3
+ "version": "0.7.1",
4
4
  "description": "UIKit for Cube Projects",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/mjs/index.js",
@@ -37,111 +37,111 @@
37
37
  ],
38
38
  "author": "Cube Dev Team",
39
39
  "devDependencies": {
40
- "@ant-design/icons": "^4.4.0",
41
- "@open-wc/testing": "^2.5.32",
42
- "@react-aria/button": "^3.3.2",
43
- "@react-aria/checkbox": "^3.2.2",
44
- "@react-aria/combobox": "^3.0.1",
45
- "@react-aria/dialog": "^3.1.3",
46
- "@react-aria/focus": "^3.4.0",
47
- "@react-aria/i18n": "^3.3.1",
48
- "@react-aria/interactions": "^3.5.0",
49
- "@react-aria/listbox": "^3.3.0",
50
- "@react-aria/numberfield": "^3.0.0",
51
- "@react-aria/overlays": "^3.7.2",
52
- "@react-aria/radio": "^3.1.4",
53
- "@react-aria/searchfield": "^3.1.3",
54
- "@react-aria/select": "^3.3.2",
55
- "@react-aria/ssr": "^3.0.2",
56
- "@react-aria/switch": "^3.1.2",
57
- "@react-aria/textfield": "^3.3.0",
40
+ "@ant-design/icons": "^4.7.0",
41
+ "@open-wc/testing": "^3.0.3",
42
+ "@react-aria/button": "^3.3.4",
43
+ "@react-aria/checkbox": "^3.2.3",
44
+ "@react-aria/combobox": "^3.2.1",
45
+ "@react-aria/dialog": "^3.1.4",
46
+ "@react-aria/focus": "^3.5.0",
47
+ "@react-aria/i18n": "^3.3.4",
48
+ "@react-aria/interactions": "^3.7.0",
49
+ "@react-aria/listbox": "^3.4.0",
50
+ "@react-aria/numberfield": "^3.1.1",
51
+ "@react-aria/overlays": "^3.7.3",
52
+ "@react-aria/radio": "^3.1.6",
53
+ "@react-aria/searchfield": "^3.2.2",
54
+ "@react-aria/select": "^3.6.0",
55
+ "@react-aria/ssr": "^3.1.0",
56
+ "@react-aria/switch": "^3.1.3",
57
+ "@react-aria/textfield": "^3.5.0",
58
58
  "@react-aria/tooltip": "^3.1.3",
59
- "@react-aria/utils": "^3.8.1",
60
- "@react-spectrum/utils": "^3.6.2",
61
- "@react-stately/checkbox": "^3.0.2",
62
- "@react-stately/collections": "^3.3.3",
59
+ "@react-aria/utils": "^3.11.0",
60
+ "@react-spectrum/utils": "^3.6.3",
61
+ "@react-stately/checkbox": "^3.0.3",
62
+ "@react-stately/collections": "^3.3.4",
63
63
  "@react-stately/combobox": "^3.0.1",
64
- "@react-stately/numberfield": "^3.0.1",
65
- "@react-stately/overlays": "^3.1.2",
66
- "@react-stately/radio": "^3.3.1",
67
- "@react-stately/searchfield": "^3.1.2",
68
- "@react-stately/select": "^3.1.2",
69
- "@react-stately/toggle": "^3.2.2",
64
+ "@react-stately/numberfield": "^3.0.2",
65
+ "@react-stately/overlays": "^3.1.3",
66
+ "@react-stately/radio": "^3.3.2",
67
+ "@react-stately/searchfield": "^3.1.3",
68
+ "@react-stately/select": "^3.1.3",
69
+ "@react-stately/toggle": "^3.2.3",
70
70
  "@react-stately/tooltip": "^3.0.5",
71
- "@react-stately/utils": "^3.2.1",
72
- "@react-types/button": "^3.4.0",
73
- "@react-types/checkbox": "^3.2.2",
74
- "@react-types/combobox": "^3.0.1",
75
- "@react-types/dialog": "^3.3.0",
76
- "@react-types/numberfield": "^3.0.1",
71
+ "@react-stately/utils": "^3.3.0",
72
+ "@react-types/button": "^3.4.1",
73
+ "@react-types/checkbox": "^3.2.3",
74
+ "@react-types/combobox": "^3.2.1",
75
+ "@react-types/dialog": "^3.3.1",
76
+ "@react-types/numberfield": "^3.1.0",
77
77
  "@react-types/overlays": "^3.5.1",
78
78
  "@react-types/radio": "^3.1.2",
79
- "@react-types/select": "^3.3.0",
80
- "@react-types/shared": "^3.8.0",
79
+ "@react-types/select": "^3.5.1",
80
+ "@react-types/shared": "^3.10.1",
81
81
  "@react-types/switch": "^3.1.2",
82
- "@react-types/textfield": "^3.2.3",
82
+ "@react-types/textfield": "^3.3.0",
83
83
  "@react-types/tooltip": "^3.1.2",
84
- "@rollup/plugin-babel": "^5.2.1",
85
- "@rollup/plugin-commonjs": "^15.1.0",
84
+ "@rollup/plugin-babel": "^5.3.0",
85
+ "@rollup/plugin-commonjs": "^21.0.1",
86
86
  "@rollup/plugin-json": "^4.1.0",
87
- "@rollup/plugin-node-resolve": "^13.0.4",
88
- "@rollup/plugin-typescript": "^8.2.3",
89
- "@rollup/plugin-url": "^5.0.1",
90
- "@size-limit/preset-big-lib": "^4.11.0",
87
+ "@rollup/plugin-node-resolve": "^13.1.1",
88
+ "@rollup/plugin-typescript": "^8.3.0",
89
+ "@rollup/plugin-url": "^6.1.0",
90
+ "@size-limit/preset-big-lib": "^7.0.5",
91
91
  "@storybook/addon-actions": "^6.4.9",
92
92
  "@storybook/addon-essentials": "^6.4.9",
93
93
  "@storybook/addon-knobs": "^6.4.0",
94
94
  "@storybook/addon-links": "^6.4.9",
95
95
  "@storybook/preset-create-react-app": "^4.0.0",
96
96
  "@storybook/react": "^6.4.9",
97
- "@svgr/rollup": "^5.4.0",
98
- "@testing-library/jest-dom": "^5.11.9",
99
- "@testing-library/react": "^11.0.0",
100
- "@types/react": "^17.0.15",
101
- "@types/react-dom": "^17.0.9",
102
- "@typescript-eslint/eslint-plugin": "^4.28.5",
103
- "@typescript-eslint/parser": "^4.28.5",
104
- "@web/test-runner": "^0.9.7",
97
+ "@svgr/rollup": "^6.1.2",
98
+ "@testing-library/jest-dom": "^5.16.1",
99
+ "@testing-library/react": "^12.1.2",
100
+ "@types/react": "^17.0.38",
101
+ "@types/react-dom": "^17.0.11",
102
+ "@typescript-eslint/eslint-plugin": "^5.8.1",
103
+ "@typescript-eslint/parser": "^5.8.1",
104
+ "@web/test-runner": "^0.13.23",
105
105
  "babel-eslint": "^10.1.0",
106
- "chai": "^4.2.0",
107
- "chromatic": "^5.9.2",
106
+ "chai": "^4.3.4",
107
+ "chromatic": "^6.3.3",
108
108
  "clipboard-copy": "^4.0.1",
109
109
  "clsx": "^1.1.1",
110
- "css-loader": "^5.0.1",
110
+ "css-loader": "^6.5.1",
111
111
  "dotize": "^0.3.0",
112
112
  "email-validator": "^2.0.4",
113
- "eslint": "^7.14.0",
113
+ "eslint": "^8.5.0",
114
114
  "eslint-config-prettier": "^8.3.0",
115
- "eslint-config-react-app": "^6.0.0",
116
- "eslint-plugin-flowtype": "^5.2.0",
117
- "eslint-plugin-import": "^2.22.1",
118
- "eslint-plugin-jsx-a11y": "^6.4.1",
119
- "eslint-plugin-react": "^7.21.5",
120
- "eslint-plugin-react-hooks": "^4.2.0",
115
+ "eslint-config-react-app": "^7.0.0",
116
+ "eslint-plugin-flowtype": "^8.0.3",
117
+ "eslint-plugin-import": "^2.25.3",
118
+ "eslint-plugin-jsx-a11y": "^6.5.1",
119
+ "eslint-plugin-react": "^7.28.0",
120
+ "eslint-plugin-react-hooks": "^4.3.0",
121
121
  "eslint-plugin-storybook": "^0.5.5",
122
- "jest": "^26.6.3",
123
- "less-loader": "^7.1.0",
124
- "netlify-cli": "^6.9.6",
122
+ "jest": "^27.4.5",
123
+ "less-loader": "^10.2.0",
124
+ "netlify-cli": "^8.6.0",
125
125
  "parcel-bundler": "^1.12.4",
126
- "prettier": "^2.0.5",
127
- "prismjs": "^1.23.0",
128
- "react": "^17.0.1",
129
- "react-dom": "^17.0.1",
130
- "react-router": "^5.2.0",
131
- "react-test-renderer": "^17.0.1",
132
- "react-transition-group": "^4.4.1",
133
- "rollup": "^2.55.0",
134
- "rollup-plugin-less": "^1.1.2",
126
+ "prettier": "^2.5.1",
127
+ "prismjs": "^1.25.0",
128
+ "react": ">=17.0.2",
129
+ "react-dom": ">=17.0.2",
130
+ "react-router": "^6.2.1",
131
+ "react-test-renderer": "^17.0.2",
132
+ "react-transition-group": "^4.4.2",
133
+ "rollup": "^2.62.0",
134
+ "rollup-plugin-less": "^1.1.3",
135
135
  "rollup-plugin-local-resolve": "^1.0.7",
136
- "rollup-plugin-postcss": "^3.1.8",
136
+ "rollup-plugin-postcss": "^4.0.2",
137
137
  "rollup-plugin-replace": "^2.2.0",
138
138
  "rollup-plugin-terser": "^7.0.2",
139
- "rollup-plugin-visualizer": "^4.2.2",
140
- "size-limit": "^4.11.0",
139
+ "rollup-plugin-visualizer": "^5.5.2",
140
+ "size-limit": "^7.0.5",
141
141
  "storybook-addon-styled-component-theme": "^2.0.0",
142
- "style-loader": "^2.0.0",
143
- "styled-components": "^5.3.0",
144
- "typescript": "^4.4.4",
142
+ "style-loader": "^3.3.1",
143
+ "styled-components": "^5.3.3",
144
+ "typescript": "^4.5.4",
145
145
  "valid-url": "^1.0.9"
146
146
  },
147
147
  "size-limit": [
@@ -163,7 +163,8 @@
163
163
  "react-dom": ">= 17.0.0"
164
164
  },
165
165
  "dependencies": {
166
- "dom-helpers": "^5.2.1"
166
+ "dom-helpers": "^5.2.1",
167
+ "react-is": "^17.0.2"
167
168
  },
168
169
  "license": "MIT"
169
170
  }