@primer/styled-react 0.0.0-20251011013600 → 0.0.0-20251011022920

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.
@@ -1,12 +1,14 @@
1
- import { Autocomplete as PrimerAutocomplete, type AutocompleteOverlayProps as PrimerAutocompleteOverlayProps, type SlotMarker } from '@primer/react';
1
+ import { Autocomplete as PrimerAutocomplete, type AutocompleteOverlayProps as PrimerAutocompleteOverlayProps, type AutocompleteInputProps as PrimerAutocompleteInputProps, type SlotMarker } from '@primer/react';
2
2
  import { type SxProp } from '../sx';
3
3
  import type { ComponentProps } from 'react';
4
4
  export type AutocompleteOverlayProps = PrimerAutocompleteOverlayProps & SxProp;
5
5
  declare const AutocompleteOverlay: React.ComponentType<AutocompleteOverlayProps> & SlotMarker;
6
+ export type AutocompleteInputProps = PrimerAutocompleteInputProps & SxProp;
7
+ declare const AutocompleteInput: React.ComponentType<AutocompleteInputProps>;
6
8
  interface AutocompleteExport {
7
9
  (props: ComponentProps<typeof PrimerAutocomplete>): React.ReactNode;
8
10
  Context: typeof PrimerAutocomplete.Context;
9
- Input: typeof PrimerAutocomplete.Input;
11
+ Input: typeof AutocompleteInput;
10
12
  Menu: typeof PrimerAutocomplete.Menu;
11
13
  Overlay: typeof AutocompleteOverlay;
12
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../src/components/Autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,IAAI,kBAAkB,EAClC,KAAK,wBAAwB,IAAI,8BAA8B,EAC/D,KAAK,UAAU,EAChB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,OAAO,CAAA;AAEzC,MAAM,MAAM,wBAAwB,GAAG,8BAA8B,GAAG,MAAM,CAAA;AAE9E,QAAA,MAAM,mBAAmB,EA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AA;IAC1C,KAAK,EAAE,OAAO,iBAAiB,CAAA;IAC/B,IAAI,EAAE,OAAO,kBAAkB,CAAC,IAAI,CAAA;IACpC,OAAO,EAAE,OAAO,mBAAmB,CAAA;CACpC;AAED,QAAA,MAAM,YAAY,EAAE,kBAKlB,CAAA;AAIF,OAAO,EAAC,YAAY,EAAC,CAAA"}
@@ -7,9 +7,15 @@ const AutocompleteOverlay = styled(Autocomplete$1.Overlay).withConfig({
7
7
  displayName: "Autocomplete__AutocompleteOverlay",
8
8
  componentId: "sc-j8ax2e-0"
9
9
  })(["", ""], sx);
10
+ const AutocompleteInput = styled(Autocomplete$1.Input).withConfig({
11
+ shouldForwardProp: prop => prop !== 'sx'
12
+ }).withConfig({
13
+ displayName: "Autocomplete__AutocompleteInput",
14
+ componentId: "sc-j8ax2e-1"
15
+ })(["", ""], sx);
10
16
  const Autocomplete = Object.assign(Autocomplete$1, {
11
17
  Context: Autocomplete$1.Context,
12
- Input: Autocomplete$1.Input,
18
+ Input: AutocompleteInput,
13
19
  Menu: Autocomplete$1.Menu,
14
20
  Overlay: AutocompleteOverlay
15
21
  });
@@ -0,0 +1,12 @@
1
+ import { FormControl as PrimerFormControl, type FormControlProps as PrimerFormControlProps, type SxProp } from '@primer/react';
2
+ import { type PropsWithChildren } from 'react';
3
+ type FormControlProps = PropsWithChildren<PrimerFormControlProps> & SxProp;
4
+ declare const FormControlImpl: React.ComponentType<FormControlProps>;
5
+ declare const FormControl: typeof FormControlImpl & {
6
+ Caption: typeof PrimerFormControl.Caption;
7
+ LeadingVisual: typeof PrimerFormControl.LeadingVisual;
8
+ Validation: typeof PrimerFormControl.Validation;
9
+ Label: typeof PrimerFormControl.Label;
10
+ };
11
+ export { FormControl, type FormControlProps };
12
+ //# sourceMappingURL=FormControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../src/components/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,IAAI,iBAAiB,EAChC,KAAK,gBAAgB,IAAI,sBAAsB,EAC/C,KAAK,MAAM,EACZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAAC,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAI5C,KAAK,gBAAgB,GAAG,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,MAAM,CAAA;AAE1E,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAI1D,CAAA;AAED,QAAA,MAAM,WAAW,EAKX,OAAO,eAAe,GAAG;IAC7B,OAAO,EAAE,OAAO,iBAAiB,CAAC,OAAO,CAAA;IACzC,aAAa,EAAE,OAAO,iBAAiB,CAAC,aAAa,CAAA;IACrD,UAAU,EAAE,OAAO,iBAAiB,CAAC,UAAU,CAAA;IAC/C,KAAK,EAAE,OAAO,iBAAiB,CAAC,KAAK,CAAA;CACtC,CAAA;AAED,OAAO,EAAC,WAAW,EAAE,KAAK,gBAAgB,EAAC,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { FormControl as FormControl$1, sx } from '@primer/react';
2
+ import styled from 'styled-components';
3
+
4
+ const FormControlImpl = styled(FormControl$1).withConfig({
5
+ shouldForwardProp: prop => prop !== 'sx'
6
+ }).withConfig({
7
+ displayName: "FormControl__FormControlImpl",
8
+ componentId: "sc-1642wfe-0"
9
+ })(["", ""], sx);
10
+ const FormControl = Object.assign(FormControlImpl, {
11
+ Caption: FormControl$1.Caption,
12
+ LeadingVisual: FormControl$1.LeadingVisual,
13
+ Validation: FormControl$1.Validation,
14
+ Label: FormControl$1.Label
15
+ });
16
+
17
+ export { FormControl };
@@ -0,0 +1,8 @@
1
+ import { type SelectProps as PrimerSelectProps } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ type SelectProps = PrimerSelectProps & SxProp & {
4
+ as?: React.ElementType;
5
+ };
6
+ declare const Select: ({ as, ...props }: SelectProps) => import("react").JSX.Element;
7
+ export { Select, type SelectProps };
8
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/components/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,WAAW,IAAI,iBAAiB,EAAC,MAAM,eAAe,CAAA;AAC3F,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAIrC,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAOxE,QAAA,MAAM,MAAM,GAAI,kBAAgB,WAAW,gCAE1C,CAAA;AAED,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAC,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { Select as Select$1, sx } from '@primer/react';
2
+ import styled from 'styled-components';
3
+ import { jsx } from 'react/jsx-runtime';
4
+
5
+ const StyledSelect = styled(Select$1).withConfig({
6
+ shouldForwardProp: prop => prop !== 'sx'
7
+ }).withConfig({
8
+ displayName: "Select__StyledSelect",
9
+ componentId: "sc-1pyiuc8-0"
10
+ })(["", ""], sx);
11
+ const Select = ({
12
+ as,
13
+ ...props
14
+ }) => {
15
+ return /*#__PURE__*/jsx(StyledSelect, {
16
+ ...props,
17
+ ...(as ? {
18
+ forwardedAs: as
19
+ } : {})
20
+ });
21
+ };
22
+
23
+ export { Select };
@@ -0,0 +1,15 @@
1
+ import { type TextInputProps as PrimerTextInputProps, type TextInputActionProps as PrimerTextInputActionProps } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ import type { ForwardRefExoticComponent, RefAttributes } from 'react';
4
+ import { type ForwardRefComponent } from '../polymorphic';
5
+ export type TextInputProps = PrimerTextInputProps & SxProp & {
6
+ as?: React.ElementType;
7
+ };
8
+ export type TextInputActionProps = PrimerTextInputActionProps & SxProp;
9
+ declare const TextInputAction: ForwardRefComponent<'button', TextInputActionProps>;
10
+ type TextInputComposite = ForwardRefExoticComponent<TextInputProps & RefAttributes<HTMLInputElement>> & {
11
+ Action: typeof TextInputAction;
12
+ };
13
+ export declare const TextInput: TextInputComposite;
14
+ export {};
15
+ //# sourceMappingURL=TextInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../src/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,IAAI,oBAAoB,EAC3C,KAAK,oBAAoB,IAAI,0BAA0B,EACxD,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,KAAK,EAAC,yBAAyB,EAAE,aAAa,EAAC,MAAM,OAAO,CAAA;AACnE,OAAO,EAAC,KAAK,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AACrF,MAAM,MAAM,oBAAoB,GAAG,0BAA0B,GAAG,MAAM,CAAA;AAYtE,QAAA,MAAM,eAAe,EAAE,mBAAmB,CAAC,QAAQ,EAAE,oBAAoB,CAIxE,CAAA;AAED,KAAK,kBAAkB,GAAG,yBAAyB,CAAC,cAAc,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC,GAAG;IACtG,MAAM,EAAE,OAAO,eAAe,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,kBAEtB,CAAA"}
@@ -0,0 +1,36 @@
1
+ import { TextInput as TextInput$1, sx } from '@primer/react';
2
+ import { forwardRef } from 'react';
3
+ import styled from 'styled-components';
4
+ import { jsx } from 'react/jsx-runtime';
5
+
6
+ const StyledTextInput = styled(TextInput$1).withConfig({
7
+ shouldForwardProp: prop => prop !== 'sx'
8
+ }).withConfig({
9
+ displayName: "TextInput__StyledTextInput",
10
+ componentId: "sc-ttxlvl-0"
11
+ })(["", ""], sx);
12
+ const TextInputImpl = /*#__PURE__*/forwardRef(({
13
+ as,
14
+ ...props
15
+ }, ref) => {
16
+ return /*#__PURE__*/jsx(StyledTextInput, {
17
+ ref: ref,
18
+ ...props,
19
+ ...(as ? {
20
+ forwardedAs: as
21
+ } : {})
22
+ });
23
+ });
24
+ const TextInputAction = styled(TextInput$1.Action).withConfig({
25
+ shouldForwardProp: prop => prop !== 'sx'
26
+ }).withConfig({
27
+ displayName: "TextInput__TextInputAction",
28
+ componentId: "sc-ttxlvl-1"
29
+ })(["", ""], sx);
30
+ const TextInput = Object.assign(TextInputImpl, {
31
+ Action: TextInputAction
32
+ });
33
+ TextInputAction.displayName = 'TextInputAction';
34
+ TextInputImpl.displayName = 'TextInput';
35
+
36
+ export { TextInput };
@@ -0,0 +1,9 @@
1
+ import { type TextareaProps as PrimerTextareaProps } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ import type { ForwardRefComponent } from '../polymorphic';
4
+ type TextareaProps = PrimerTextareaProps & SxProp & {
5
+ as?: React.ElementType;
6
+ };
7
+ declare const Textarea: ForwardRefComponent<"textarea", TextareaProps>;
8
+ export { Textarea, type TextareaProps };
9
+ //# sourceMappingURL=Textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../src/components/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,aAAa,IAAI,mBAAmB,EAAC,MAAM,eAAe,CAAA;AAEnG,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,KAAK,aAAa,GAAG,mBAAmB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAQ5E,QAAA,MAAM,QAAQ,EAER,mBAAmB,CAAC,UAAU,EAAE,aAAa,CAAC,CAAA;AAEpD,OAAO,EAAC,QAAQ,EAAE,KAAK,aAAa,EAAC,CAAA"}
@@ -0,0 +1,25 @@
1
+ import { Textarea as Textarea$1, sx } from '@primer/react';
2
+ import styled from 'styled-components';
3
+ import { forwardRef } from 'react';
4
+ import { jsx } from 'react/jsx-runtime';
5
+
6
+ const StyledTextarea = styled(Textarea$1).withConfig({
7
+ shouldForwardProp: prop => prop !== 'sx'
8
+ }).withConfig({
9
+ displayName: "Textarea__StyledTextarea",
10
+ componentId: "sc-40d1gp-0"
11
+ })(["", ""], sx);
12
+ const Textarea = /*#__PURE__*/forwardRef(({
13
+ as,
14
+ ...props
15
+ }, ref) => {
16
+ return /*#__PURE__*/jsx(StyledTextarea, {
17
+ ...props,
18
+ ...(as ? {
19
+ forwardedAs: as
20
+ } : {}),
21
+ ref: ref
22
+ });
23
+ });
24
+
25
+ export { Textarea };
@@ -71,6 +71,7 @@
71
71
  "DataTableContainerProps",
72
72
  "DialogHeaderProps",
73
73
  "DialogProps",
74
+ "FormControlProps",
74
75
  "HeaderProps",
75
76
  "LabelProps",
76
77
  "LinkButtonProps",
@@ -86,6 +87,7 @@
86
87
  "SegmentedControlButtonProps",
87
88
  "SegmentedControlIconButtonProps",
88
89
  "SegmentedControlProps",
90
+ "SelectProps",
89
91
  "SpinnerProps",
90
92
  "StateLabelProps",
91
93
  "SubNavLinkProps",
@@ -102,6 +104,8 @@
102
104
  "TableTitleProps",
103
105
  "TabNavLinkProps",
104
106
  "TabNavProps",
107
+ "TextareaProps",
108
+ "TextInputActionProps",
105
109
  "TextInputProps",
106
110
  "TextProps",
107
111
  "TimelineBadgeProps",
package/dist/index.d.ts CHANGED
@@ -1,13 +1,8 @@
1
1
  export { Box, type BoxProps } from './components/Box';
2
2
  export { Button } from '@primer/react';
3
3
  export { Details } from '@primer/react';
4
- export { FormControl } from '@primer/react';
5
4
  export { IconButton } from '@primer/react';
6
5
  export { ProgressBar } from '@primer/react';
7
- export { Select } from '@primer/react';
8
- export { Textarea } from '@primer/react';
9
- export { TextInput } from '@primer/react';
10
- export { type TextInputProps } from '@primer/react';
11
6
  export { ThemeProvider, useTheme, useColorSchemeVar, BaseStyles } from './components/FeatureFlaggedTheming';
12
7
  export { merge } from '@primer/react';
13
8
  export { theme } from '@primer/react';
@@ -23,6 +18,7 @@ export { CircleBadge } from './components/CircleBadge';
23
18
  export { CounterLabel, type CounterLabelProps } from './components/CounterLabel';
24
19
  export { Dialog, type DialogProps } from './components/Dialog';
25
20
  export { Flash } from './components/Flash';
21
+ export { FormControl, type FormControlProps } from './components/FormControl';
26
22
  export { Header, type HeaderProps } from './components/Header';
27
23
  export { Heading } from './components/Heading';
28
24
  export { Label, type LabelProps } from './components/Label';
@@ -35,10 +31,13 @@ export { PageHeader, type PageHeaderProps, type PageHeaderActionsProps, type Pag
35
31
  export { RadioGroup, type RadioGroupProps } from './components/RadioGroup';
36
32
  export { RelativeTime, type RelativeTimeProps } from './components/RelativeTime';
37
33
  export { SegmentedControl, type SegmentedControlProps, type SegmentedControlButtonProps, type SegmentedControlIconButtonProps, } from './components/SegmentedControl';
34
+ export { Select, type SelectProps } from './components/Select';
38
35
  export { Spinner, type SpinnerProps } from './components/Spinner';
39
36
  export { StateLabel, type StateLabelProps } from './components/StateLabel';
40
37
  export { SubNav, type SubNavProps, type SubNavLinkProps } from './components/SubNav';
41
38
  export { Text, type TextProps } from './components/Text';
39
+ export { Textarea, type TextareaProps } from './components/Textarea';
40
+ export { TextInput, type TextInputProps, type TextInputActionProps } from './components/TextInput';
42
41
  export { Timeline, type TimelineProps, type TimelineItemProps, type TimelineBadgeProps, type TimelineBodyProps, type TimelineBreakProps, } from './components/Timeline';
43
42
  export { ToggleSwitch, type ToggleSwitchProps } from './components/ToggleSwitch';
44
43
  export { Tooltip, type TooltipProps } from './components/Tooltip';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAC,GAAG,EAAE,KAAK,QAAQ,EAAC,MA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C,MAAM,mBAAmB,CAAA;AACtD,OAAO,EAAC,QAAQ,EAAE,KAAK,aAAa,EAAC,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAC,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,oBAAoB,EAAC,MAAM,wBAAwB,CAAA;AAChG,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAC,YAAY,EAAE,KAAK,iBAAiB,EAAC,MAAM,2BAA2B,CAAA;AAC9E,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAC,KAAK,EAAE,KAAK,UAAU,EAAC,MAAM,oBAAoB,CAAA;AACzD,OAAO,EAAC,QAAQ,EAAE,KAAK,aAAa,EAAC,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAC,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,qBAAqB,EAAC,MAAM,2BAA2B,CAAA;AAE1G,OAAO,EAAC,EAAE,EAAE,KAAK,MAAM,EAAC,MAAM,MAAM,CAAA;AAEpC,YAAY,EAAC,uBAAuB,EAAC,MAAM,gBAAgB,CAAA"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { Box, Button, Details, FormControl, IconButton, ProgressBar, Select, TextInput, Textarea, merge, sx, theme, themeGet } from '@primer/react';
2
+ export { Box, Button, Details, IconButton, ProgressBar, merge, sx, theme, themeGet } from '@primer/react';
3
3
  export { BaseStyles, ThemeProvider, useColorSchemeVar, useTheme } from './components/FeatureFlaggedTheming.js';
4
4
  export { ActionList } from './components/ActionList.js';
5
5
  export { ActionMenu } from './components/ActionMenu.js';
@@ -12,6 +12,7 @@ export { CircleBadge } from './components/CircleBadge.js';
12
12
  export { CounterLabel } from './components/CounterLabel.js';
13
13
  export { Dialog } from './components/Dialog.js';
14
14
  export { Flash } from './components/Flash.js';
15
+ export { FormControl } from './components/FormControl.js';
15
16
  export { Header } from './components/Header.js';
16
17
  export { Heading } from './components/Heading.js';
17
18
  export { Label } from './components/Label.js';
@@ -24,10 +25,13 @@ export { PageHeader } from './components/PageHeader.js';
24
25
  export { RadioGroup } from './components/RadioGroup.js';
25
26
  export { RelativeTime } from './components/RelativeTime.js';
26
27
  export { SegmentedControl } from './components/SegmentedControl.js';
28
+ export { Select } from './components/Select.js';
27
29
  export { Spinner } from './components/Spinner.js';
28
30
  export { StateLabel } from './components/StateLabel.js';
29
31
  export { SubNav } from './components/SubNav.js';
30
32
  export { Text } from './components/Text.js';
33
+ export { Textarea } from './components/Textarea.js';
34
+ export { TextInput } from './components/TextInput.js';
31
35
  export { Timeline } from './components/Timeline.js';
32
36
  export { ToggleSwitch } from './components/ToggleSwitch.js';
33
37
  export { Tooltip } from './components/Tooltip.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/styled-react",
3
- "version": "0.0.0-20251011013600",
3
+ "version": "0.0.0-20251011022920",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -30,7 +30,7 @@
30
30
  "devDependencies": {
31
31
  "@babel/preset-react": "^7.27.1",
32
32
  "@babel/preset-typescript": "^7.27.1",
33
- "@primer/react": "0.0.0-20251011013600",
33
+ "@primer/react": "0.0.0-20251011022920",
34
34
  "@rollup/plugin-babel": "^6.0.4",
35
35
  "@types/react": "18.3.11",
36
36
  "@types/react-dom": "18.3.1",
@@ -46,7 +46,7 @@
46
46
  "typescript": "^5.9.2"
47
47
  },
48
48
  "peerDependencies": {
49
- "@primer/react": "0.0.0-20251011013600",
49
+ "@primer/react": "0.0.0-20251011022920",
50
50
  "@types/react": "18.x || 19.x",
51
51
  "@types/react-dom": "18.x || 19.x",
52
52
  "@types/react-is": "18.x || 19.x",