@purple/phoenix-components 5.7.0 → 5.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -4,22 +4,22 @@ import { DefaultTheme, IntrinsicElementsKeys } from 'styled-components';
4
4
  import { LayoutProps, FlexboxProps, GridProps, BackgroundColorProps, BackgroundProps, OpacityProps, PositionProps, BorderProps, DisplayProps } from 'styled-system';
5
5
  import * as CSS from 'csstype';
6
6
  import { Props } from 'react-select';
7
- import { DayPickerProps } from 'react-day-picker';
7
+ import { DayPickerSingleProps, DayPickerProps, DayPickerRangeProps } from 'react-day-picker';
8
8
  import { Props as Props$1 } from 'tippy.js';
9
9
  import { Accept } from 'react-dropzone';
10
10
  import { TippyProps } from '@tippyjs/react';
11
11
  export { TabPanel, Tabs } from 'react-tabs';
12
12
 
13
- declare type GenericComponentProps = {
13
+ type GenericComponentProps = {
14
14
  testId?: string;
15
15
  className?: string;
16
16
  };
17
17
 
18
- declare type CSSValue = (string & {}) | number;
19
- declare type CSSColor = string & {};
18
+ type CSSValue = (string & {}) | number;
19
+ type CSSColor = string & {};
20
20
 
21
21
  declare const Spacing: readonly ["3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
22
- declare type Spacing = typeof Spacing[number];
22
+ type Spacing = typeof Spacing[number];
23
23
  declare const isSpacing: (size?: Spacing | CSSValue) => size is "3xs" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
24
24
  declare const getSpacingCssValue: (theme: DefaultTheme, value?: Spacing | CSSValue, defaultValue?: string) => string;
25
25
 
@@ -44,25 +44,25 @@ interface PaddingProps {
44
44
  }
45
45
 
46
46
  declare const ColorTheme: readonly ["brand", "success", "warning", "error", "info", "neutral"];
47
- declare type ColorTheme = typeof ColorTheme[number];
47
+ type ColorTheme = typeof ColorTheme[number];
48
48
  declare const isColorTheme: (color?: Color) => color is "brand" | "success" | "warning" | "error" | "info" | "neutral";
49
49
  declare const TextColor: readonly ["primary", "secondary", "tertiary", "quaternary"];
50
- declare type TextColor = typeof TextColor[number];
50
+ type TextColor = typeof TextColor[number];
51
51
  declare const isTextColor: (color?: Color) => color is "primary" | "secondary" | "tertiary" | "quaternary";
52
- declare type Color = TextColor | ColorTheme | CSSColor;
52
+ type Color = TextColor | ColorTheme | CSSColor;
53
53
 
54
54
  declare const Sizing: readonly ["xs", "sm", "md", "lg"];
55
- declare type Sizing = typeof Sizing[number];
55
+ type Sizing = typeof Sizing[number];
56
56
  declare const isSizing: (size?: Sizing | CSSValue) => size is "xs" | "sm" | "md" | "lg";
57
57
  declare const SizingSmMd: readonly ["sm", "md"];
58
- declare type SizingSmMd = typeof SizingSmMd[number];
58
+ type SizingSmMd = typeof SizingSmMd[number];
59
59
  declare const SizingMdLg: readonly ["md", "lg"];
60
- declare type SizingMdLg = typeof SizingMdLg[number];
60
+ type SizingMdLg = typeof SizingMdLg[number];
61
61
  declare const SizingSmMdLg: readonly ["sm", "md", "lg"];
62
- declare type SizingSmMdLg = typeof SizingSmMdLg[number];
62
+ type SizingSmMdLg = typeof SizingSmMdLg[number];
63
63
 
64
64
  declare const TextAlignment: readonly ["left", "center", "right", "justify"];
65
- declare type TextAlignment = typeof TextAlignment[number];
65
+ type TextAlignment = typeof TextAlignment[number];
66
66
 
67
67
  interface CommonTextProps<T> extends HTMLAttributes<T>, GenericComponentProps, TextAlignProp {
68
68
  color?: Color;
@@ -86,7 +86,7 @@ interface BoxProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'>, Layout
86
86
  declare const Box: React$1.FC<BoxProps>;
87
87
 
88
88
  declare const IconAlignment: readonly ["left", "right"];
89
- declare type IconAlignment = typeof IconAlignment[number];
89
+ type IconAlignment = typeof IconAlignment[number];
90
90
 
91
91
  declare const PhoenixIconsOutlinedSrc: {
92
92
  readonly actions: string;
@@ -288,14 +288,14 @@ declare const PhoenixIconsSrc: {
288
288
  readonly withdrawal: string;
289
289
  readonly wrench: string;
290
290
  };
291
- declare const PhoenixIconsOutlined: ("filter" | "revert" | "document" | "list" | "search" | "email" | "copy" | "download" | "actions" | "add-circle" | "android" | "angled-arrow-left" | "angled-arrow-right" | "apple" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "asterisk" | "bell" | "browser" | "bullet-point" | "burger" | "calendar" | "camera" | "chat" | "check" | "check-circle" | "clock" | "cog" | "cross" | "deposit" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "dots-handle-reorder" | "driving-licence" | "edit" | "ellipsis" | "exclamation" | "exit" | "external" | "eye" | "forward-arrow" | "gift" | "history" | "house" | "id-card" | "info-circle" | "language" | "later" | "lightning" | "lock" | "paper" | "passport" | "photo-user" | "pin" | "play-circle" | "profile" | "question-circle" | "refresh" | "refund" | "scales" | "star" | "smartphone" | "star-circle" | "stopwatch" | "subtract-circle" | "times-circle" | "transfer" | "trash" | "upload" | "windows" | "withdrawal" | "wrench")[];
292
- declare type PhoenixIconsOutlined = keyof typeof PhoenixIconsOutlinedSrc;
291
+ declare const PhoenixIconsOutlined: ("search" | "filter" | "revert" | "document" | "list" | "email" | "copy" | "download" | "actions" | "add-circle" | "android" | "angled-arrow-left" | "angled-arrow-right" | "apple" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "asterisk" | "bell" | "browser" | "bullet-point" | "burger" | "calendar" | "camera" | "chat" | "check" | "check-circle" | "clock" | "cog" | "cross" | "deposit" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "dots-handle-reorder" | "driving-licence" | "edit" | "ellipsis" | "exclamation" | "exit" | "external" | "eye" | "forward-arrow" | "gift" | "history" | "house" | "id-card" | "info-circle" | "language" | "later" | "lightning" | "lock" | "paper" | "passport" | "photo-user" | "pin" | "play-circle" | "profile" | "question-circle" | "refresh" | "refund" | "scales" | "star" | "smartphone" | "star-circle" | "stopwatch" | "subtract-circle" | "times-circle" | "transfer" | "trash" | "upload" | "windows" | "withdrawal" | "wrench")[];
292
+ type PhoenixIconsOutlined = keyof typeof PhoenixIconsOutlinedSrc;
293
293
  declare const PhoenixIconsColored: ("browser-brand" | "calendar-brand" | "camera-brand" | "driving-licence-brand" | "email-brand" | "exclamation-error" | "exclamation-warning" | "house-brand" | "id-card-brand" | "language-brand" | "lock-brand" | "lock-success" | "paper-brand" | "passport-brand" | "photo-user-brand" | "pin-brand" | "question-circle-brand" | "smartphone-brand" | "star-brand" | "star-warning" | "trash-error")[];
294
- declare type PhoenixIconsColored = keyof typeof PhoenixIconsColoredSrc;
295
- declare const PhoenixIcons: ("filter" | "revert" | "document" | "list" | "search" | "email" | "copy" | "download" | "actions" | "add-circle" | "android" | "angled-arrow-left" | "angled-arrow-right" | "apple" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "asterisk" | "bell" | "browser" | "bullet-point" | "burger" | "calendar" | "camera" | "chat" | "check" | "check-circle" | "clock" | "cog" | "cross" | "deposit" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "dots-handle-reorder" | "driving-licence" | "edit" | "ellipsis" | "exclamation" | "exit" | "external" | "eye" | "forward-arrow" | "gift" | "history" | "house" | "id-card" | "info-circle" | "language" | "later" | "lightning" | "lock" | "paper" | "passport" | "photo-user" | "pin" | "play-circle" | "profile" | "question-circle" | "refresh" | "refund" | "scales" | "star" | "smartphone" | "star-circle" | "stopwatch" | "subtract-circle" | "times-circle" | "transfer" | "trash" | "upload" | "windows" | "withdrawal" | "wrench" | "browser-brand" | "calendar-brand" | "camera-brand" | "driving-licence-brand" | "email-brand" | "exclamation-error" | "exclamation-warning" | "house-brand" | "id-card-brand" | "language-brand" | "lock-brand" | "lock-success" | "paper-brand" | "passport-brand" | "photo-user-brand" | "pin-brand" | "question-circle-brand" | "smartphone-brand" | "star-brand" | "star-warning" | "trash-error")[];
296
- declare type PhoenixIcons = keyof typeof PhoenixIconsSrc;
294
+ type PhoenixIconsColored = keyof typeof PhoenixIconsColoredSrc;
295
+ declare const PhoenixIcons: ("search" | "filter" | "revert" | "document" | "list" | "email" | "copy" | "download" | "actions" | "add-circle" | "android" | "angled-arrow-left" | "angled-arrow-right" | "apple" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "asterisk" | "bell" | "browser" | "bullet-point" | "burger" | "calendar" | "camera" | "chat" | "check" | "check-circle" | "clock" | "cog" | "cross" | "deposit" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "dots-handle-reorder" | "driving-licence" | "edit" | "ellipsis" | "exclamation" | "exit" | "external" | "eye" | "forward-arrow" | "gift" | "history" | "house" | "id-card" | "info-circle" | "language" | "later" | "lightning" | "lock" | "paper" | "passport" | "photo-user" | "pin" | "play-circle" | "profile" | "question-circle" | "refresh" | "refund" | "scales" | "star" | "smartphone" | "star-circle" | "stopwatch" | "subtract-circle" | "times-circle" | "transfer" | "trash" | "upload" | "windows" | "withdrawal" | "wrench" | "browser-brand" | "calendar-brand" | "camera-brand" | "driving-licence-brand" | "email-brand" | "exclamation-error" | "exclamation-warning" | "house-brand" | "id-card-brand" | "language-brand" | "lock-brand" | "lock-success" | "paper-brand" | "passport-brand" | "photo-user-brand" | "pin-brand" | "question-circle-brand" | "smartphone-brand" | "star-brand" | "star-warning" | "trash-error")[];
296
+ type PhoenixIcons = keyof typeof PhoenixIconsSrc;
297
297
 
298
- declare type IconType = PhoenixIconsOutlined | React.ReactElement | string;
298
+ type IconType = PhoenixIconsOutlined | React.ReactElement | string;
299
299
 
300
300
  interface CommonButtonProps extends MarginProps {
301
301
  colorTheme?: ColorTheme;
@@ -326,8 +326,8 @@ interface CardProps extends PaddingProps, MarginProps, GenericComponentProps {
326
326
  }
327
327
  declare const Card: React$1.FC<PropsWithChildren<CardProps>>;
328
328
 
329
- declare type FormControlWarningType = ReactElement | string;
330
- declare type FormControlErrorType = ReactElement | string | boolean;
329
+ type FormControlWarningType = ReactElement | string;
330
+ type FormControlErrorType = ReactElement | string | boolean;
331
331
 
332
332
  interface CheckboxRadioCommonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>, GenericComponentProps {
333
333
  colorTheme?: ColorTheme;
@@ -337,8 +337,8 @@ interface CheckboxRadioCommonProps extends Omit<InputHTMLAttributes<HTMLInputEle
337
337
  error?: FormControlErrorType;
338
338
  }
339
339
 
340
- declare type CheckboxProps = CheckboxRadioCommonProps;
341
- declare const Checkbox: React$1.VoidFunctionComponent<CheckboxProps>;
340
+ type CheckboxProps = CheckboxRadioCommonProps;
341
+ declare const Checkbox: React$1.FC<CheckboxProps>;
342
342
 
343
343
  interface ClosableButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, GenericComponentProps {
344
344
  onClose?: React$1.MouseEventHandler<HTMLButtonElement>;
@@ -441,14 +441,11 @@ interface DateInputProps extends GenericComponentProps {
441
441
  }
442
442
  declare const DateInput: React$1.FC<DateInputProps>;
443
443
 
444
- interface CommonDatePickerProps extends GenericComponentProps, Pick<DayPickerProps, 'className' | 'selectedDays' | 'modifiers' | 'onDayClick' | 'locale' | 'months' | 'weekdaysLong' | 'weekdaysShort'> {
445
- dayPickerProps?: DayPickerProps;
446
- yearMonthSelect?: boolean;
447
- }
448
-
449
- interface DatePickerProps extends CommonDatePickerProps, GenericComponentProps {
444
+ interface DatePickerProps extends DayPickerSingleProps, GenericComponentProps {
450
445
  value: Date | null;
451
446
  onChange: (date: Date | null) => void;
447
+ dayPickerProps?: DayPickerProps;
448
+ yearMonthSelect?: boolean;
452
449
  }
453
450
  declare const DatePicker: React$1.FC<DatePickerProps>;
454
451
 
@@ -456,9 +453,11 @@ interface DateRangeValue {
456
453
  from: Date | null;
457
454
  to: Date | null;
458
455
  }
459
- interface DateRangePickerProps extends CommonDatePickerProps, GenericComponentProps {
456
+ interface DateRangePickerProps extends DayPickerRangeProps, GenericComponentProps {
460
457
  value: DateRangeValue;
461
458
  onChange: (dates: DateRangeValue) => void;
459
+ dayPickerProps?: DayPickerProps;
460
+ yearMonthSelect?: boolean;
462
461
  }
463
462
  declare const DateRangePicker: React$1.FC<DateRangePickerProps>;
464
463
 
@@ -509,7 +508,7 @@ declare const Flex: React$1.FC<BoxProps>;
509
508
 
510
509
  declare const Grid: React$1.FC<BoxProps>;
511
510
 
512
- declare type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4';
511
+ type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4';
513
512
  interface HeadingProps extends CommonTextProps<HTMLHeadingElement>, PaddingProps, MarginProps {
514
513
  element?: HeadingElement;
515
514
  }
@@ -536,7 +535,7 @@ interface ImageProps extends Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, '
536
535
  }
537
536
  declare const Image: React$1.FC<ImageProps>;
538
537
 
539
- declare type LabelProps = React$1.LabelHTMLAttributes<HTMLLabelElement> & GenericComponentProps & PaddingProps & MarginProps;
538
+ type LabelProps = React$1.LabelHTMLAttributes<HTMLLabelElement> & GenericComponentProps & PaddingProps & MarginProps;
540
539
  declare const Label: React$1.FC<LabelProps>;
541
540
 
542
541
  interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, GenericComponentProps, MarginProps, PaddingProps {
@@ -601,7 +600,7 @@ interface MultiSelectProps<Option extends SelectOption = SelectOption> extends C
601
600
  }
602
601
  declare const MultiSelect: <Option extends SelectOption = SelectOption>({ value, testId, ...props }: MultiSelectProps<Option>) => React$1.ReactElement;
603
602
 
604
- declare type SubRange = number | [number] | [number, number];
603
+ type SubRange = number | [number] | [number, number];
605
604
  interface CommonSliderProps extends GenericComponentProps {
606
605
  range: {
607
606
  min: SubRange;
@@ -612,7 +611,7 @@ interface CommonSliderProps extends GenericComponentProps {
612
611
  step?: number;
613
612
  }
614
613
 
615
- declare type MultiSliderValue = (number | string)[];
614
+ type MultiSliderValue = (number | string)[];
616
615
  interface MultiSliderProps extends CommonSliderProps {
617
616
  value: MultiSliderValue;
618
617
  onChange(value: MultiSliderValue): void;
@@ -640,7 +639,7 @@ interface ParagraphProps extends CommonTextProps<HTMLParagraphElement>, PaddingP
640
639
  }
641
640
  declare const Paragraph: React$1.FC<ParagraphProps>;
642
641
 
643
- declare type RadioProps = CheckboxRadioCommonProps;
642
+ type RadioProps = CheckboxRadioCommonProps;
644
643
  declare const Radio: React$1.VoidFunctionComponent<RadioProps>;
645
644
 
646
645
  interface SelectNativeProps<Option extends SelectOption = SelectOption> extends FormControlProps {
@@ -676,7 +675,7 @@ interface SelectPickerOption {
676
675
  }
677
676
  declare const SelectPicker: React$1.FC<SelectPickerProps>;
678
677
 
679
- declare type SliderValue = number | string;
678
+ type SliderValue = number | string;
680
679
  interface SliderProps extends CommonSliderProps, GenericComponentProps {
681
680
  value: SliderValue;
682
681
  onChange(value: SliderValue): void;
@@ -706,12 +705,12 @@ interface TabProps extends Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>,
706
705
  tabIndex?: string;
707
706
  id?: string;
708
707
  }
709
- declare type TabFunctionProps = React$1.ForwardRefExoticComponent<TabProps> & {
708
+ type TabFunctionProps = React$1.ForwardRefExoticComponent<TabProps> & {
710
709
  tabsRole?: 'Tab';
711
710
  } & React$1.RefAttributes<HTMLAnchorElement>;
712
711
  declare const Tab: TabFunctionProps;
713
712
 
714
- declare type TabListProps = GenericComponentProps & TabListCommonProps;
713
+ type TabListProps = GenericComponentProps & TabListCommonProps;
715
714
  declare const TabList: React$1.FC<PropsWithChildren<TabListProps>> & {
716
715
  tabsRole: 'TabList';
717
716
  };
@@ -739,7 +738,7 @@ interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'si
739
738
  }
740
739
  declare const TextInput: React$1.ForwardRefExoticComponent<React$1.PropsWithoutRef<TextInputProps> & React$1.RefAttributes<HTMLInputElement>>;
741
740
 
742
- declare type TimezonePickerProps = Omit<SelectProps, 'options'> & GenericComponentProps;
741
+ type TimezonePickerProps = Omit<SelectProps, 'options'> & GenericComponentProps;
743
742
  declare const TimezonePicker: React$1.FC<TimezonePickerProps>;
744
743
 
745
744
  declare const getOptions: () => SelectOption[];
@@ -752,7 +751,7 @@ interface ToggleProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'
752
751
  }
753
752
  declare const Toggle: React$1.FC<ToggleProps>;
754
753
 
755
- declare type TooltipProps = Omit<TippyProps, 'theme'> & GenericComponentProps;
754
+ type TooltipProps = Omit<TippyProps, 'theme'> & GenericComponentProps;
756
755
  declare const Tooltip: React$1.FC<TooltipProps>;
757
756
 
758
757
  declare const prefixedTheme: {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@purple/phoenix-components",
3
- "version": "5.7.0",
3
+ "version": "5.9.0",
4
4
  "description": "",
5
5
  "main": "dist/bundle.umd.js",
6
6
  "module": "dist/bundle.esm.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "engines": {
10
- "node": ">=12"
10
+ "node": ">=18"
11
11
  },
12
12
  "files": [
13
13
  "dist"
@@ -36,13 +36,13 @@
36
36
  "prepare": "husky install",
37
37
  "prebuild": "rimraf dist",
38
38
  "dev": "npm run storybook",
39
- "storybook": "start-storybook -p 6006",
40
- "storybook:build": "build-storybook -c .storybook",
39
+ "storybook": "storybook dev -p 6006",
40
+ "storybook:build": "storybook build -c .storybook",
41
41
  "predeploy": "npm run storybook:build",
42
42
  "release:feature": "standard-version && git push --follow-tags",
43
43
  "release:publish": "npm run build && npm publish --access public && npm run deploy-storybook",
44
44
  "deploy-storybook": "npm run storybook:build && cp -r .circleci storybook-static && cp -r storybook-build-v4 storybook-static/v4 && storybook-to-ghpages -e=storybook-static",
45
- "snapshot": "build-storybook -c .storybook && percy storybook ./storybook-static",
45
+ "snapshot": "storybook build -c .storybook && percy storybook ./storybook-static",
46
46
  "percy": "if [[ $(git rev-parse --symbolic-full-name --abbrev-ref HEAD) != \"master\" ]]; then percy storybook ./storybook-static; else echo \"ERROR: percy should not be run on master because these snapshots are auto-approved\"; fi;",
47
47
  "test": "jest"
48
48
  },
@@ -61,7 +61,7 @@
61
61
  "lodash": "~4.17.21",
62
62
  "nanoid": "~3.3.4",
63
63
  "nouislider": "~15.6.1",
64
- "react-day-picker": "~7.4.10",
64
+ "react-day-picker": "^8.7.1",
65
65
  "react-dropzone": "~14.2.2",
66
66
  "react-inlinesvg": "~3.0.1",
67
67
  "react-pdf": "~5.7.2",
@@ -75,26 +75,32 @@
75
75
  "styled-components": ">=5.3"
76
76
  },
77
77
  "devDependencies": {
78
- "@babel/core": "^7.19.1",
79
- "@babel/preset-env": "^7.19.1",
78
+ "@babel/core": "^7.21.8",
79
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
80
+ "@babel/preset-env": "^7.21.5",
80
81
  "@babel/preset-react": "^7.18.6",
81
- "@babel/preset-typescript": "^7.18.6",
82
+ "@babel/preset-typescript": "^7.21.5",
82
83
  "@commitlint/cli": "^17.0.0",
83
84
  "@commitlint/config-conventional": "^17.0.0",
84
- "@percy/cli": "^1.17.0",
85
- "@percy/storybook": "^4.3.4",
85
+ "@ironkinoko/rollup-plugin-styles": "^4.0.3",
86
+ "@percy/cli": "^1.26.0",
87
+ "@percy/storybook": "^4.3.6",
86
88
  "@pxblue/storybook-rtl-addon": "^1.0.1",
87
89
  "@rollup/plugin-json": "^6.0.0",
88
- "@rollup/plugin-node-resolve": "^13.0.4",
89
- "@rollup/plugin-typescript": "^8.2.1",
90
- "@rollup/plugin-url": "^6.0.0",
91
- "@storybook/addon-a11y": "^6.5.12",
92
- "@storybook/addon-docs": "^6.5.12",
93
- "@storybook/addon-essentials": "^6.5.12",
94
- "@storybook/addon-links": "^6.5.12",
95
- "@storybook/addon-viewport": "^6.5.12",
96
- "@storybook/react": "^6.5.12",
97
- "@storybook/storybook-deployer": "^2.8.10",
90
+ "@rollup/plugin-node-resolve": "^15.0.2",
91
+ "@rollup/plugin-terser": "^0.4.3",
92
+ "@rollup/plugin-typescript": "^11.1.1",
93
+ "@rollup/plugin-url": "^8.0.1",
94
+ "@storybook/addon-a11y": "^7.0.21",
95
+ "@storybook/addon-docs": "^7.0.21",
96
+ "@storybook/addon-essentials": "^7.0.21",
97
+ "@storybook/addon-links": "^7.0.21",
98
+ "@storybook/addon-mdx-gfm": "^7.0.21",
99
+ "@storybook/addon-viewport": "^7.0.21",
100
+ "@storybook/blocks": "^7.0.21",
101
+ "@storybook/react": "^7.0.21",
102
+ "@storybook/react-webpack5": "^7.0.21",
103
+ "@storybook/storybook-deployer": "^2.8.16",
98
104
  "@testing-library/jest-dom": "^5.16.5",
99
105
  "@testing-library/react": "^14.0.0",
100
106
  "@types/countries-and-timezones": "^3.2.3",
@@ -116,6 +122,7 @@
116
122
  "eslint-plugin-react": "^7.23.2",
117
123
  "eslint-plugin-react-hooks": "^4.2.0",
118
124
  "eslint-plugin-simple-import-sort": "^7.0.0",
125
+ "eslint-plugin-storybook": "^0.6.12",
119
126
  "husky": "^7.0.1",
120
127
  "jest": "^27.2.4",
121
128
  "lint-staged": "^12.0.0",
@@ -124,15 +131,15 @@
124
131
  "react": "^18.2.0",
125
132
  "react-docgen-typescript-loader": "^3.1.1",
126
133
  "react-dom": "^18.2.0",
134
+ "react-is": "^18.2.0",
135
+ "remark-gfm": "^3.0.1",
127
136
  "rimraf": "^3.0.0",
128
- "rollup": "^2.63.0",
129
- "rollup-plugin-dts": "^4.0.0",
137
+ "rollup": "^3.22.0",
138
+ "rollup-plugin-dts": "^5.3.0",
130
139
  "rollup-plugin-peer-deps-external": "^2.2.0",
131
- "rollup-plugin-styles": "^4.0.0",
132
- "rollup-plugin-terser": "^7.0.2",
133
140
  "standard-version": "^9.3.0",
134
- "storybook-addon-designs": "^6.0.0",
135
- "storybook-design-token": "^2.8.2",
141
+ "storybook": "^7.0.21",
142
+ "storybook-design-token": "^3.0.0-beta.3",
136
143
  "style-dictionary": "^3.7.2",
137
144
  "styled-components": "^5.3.5",
138
145
  "ts-node": "^10.9.1",