@primer/styled-react 0.0.0-20251010231629 → 0.0.0-20251011004732

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,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 };
@@ -86,6 +86,7 @@
86
86
  "SegmentedControlButtonProps",
87
87
  "SegmentedControlIconButtonProps",
88
88
  "SegmentedControlProps",
89
+ "SelectProps",
89
90
  "SpinnerProps",
90
91
  "StateLabelProps",
91
92
  "SubNavLinkProps",
@@ -102,6 +103,8 @@
102
103
  "TableTitleProps",
103
104
  "TabNavLinkProps",
104
105
  "TabNavProps",
106
+ "TextareaProps",
107
+ "TextInputActionProps",
105
108
  "TextInputProps",
106
109
  "TextProps",
107
110
  "TimelineBadgeProps",
package/dist/index.d.ts CHANGED
@@ -4,10 +4,6 @@ export { Details } from '@primer/react';
4
4
  export { FormControl } from '@primer/react';
5
5
  export { IconButton } from '@primer/react';
6
6
  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
7
  export { ThemeProvider, useTheme, useColorSchemeVar, BaseStyles } from './components/FeatureFlaggedTheming';
12
8
  export { merge } from '@primer/react';
13
9
  export { theme } from '@primer/react';
@@ -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,MAAM,kBAAkB,CAAA;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAA;AACpC,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAA;AACrC,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAA;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAA;AACxC,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAA;AACzC,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAA;AACpC,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA;AACtC,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AACvC,OAAO,EAAC,KAAK,cAAc,EAAC,MAAM,eAAe,CAAA;AAGjD,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAE,iBAAiB,EAAE,UAAU,EAAC,MAAM,oCAAoC,CAAA;AACzG,OAAO,EAAC,KAAK,EAAC,MAAM,eAAe,CAAA;AACnC,OAAO,EAAC,KAAK,EAAC,MAAM,eAAe,CAAA;AACnC,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA;AAEtC,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5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AAM,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, FormControl, 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';
@@ -24,10 +24,13 @@ export { PageHeader } from './components/PageHeader.js';
24
24
  export { RadioGroup } from './components/RadioGroup.js';
25
25
  export { RelativeTime } from './components/RelativeTime.js';
26
26
  export { SegmentedControl } from './components/SegmentedControl.js';
27
+ export { Select } from './components/Select.js';
27
28
  export { Spinner } from './components/Spinner.js';
28
29
  export { StateLabel } from './components/StateLabel.js';
29
30
  export { SubNav } from './components/SubNav.js';
30
31
  export { Text } from './components/Text.js';
32
+ export { Textarea } from './components/Textarea.js';
33
+ export { TextInput } from './components/TextInput.js';
31
34
  export { Timeline } from './components/Timeline.js';
32
35
  export { ToggleSwitch } from './components/ToggleSwitch.js';
33
36
  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-20251010231629",
3
+ "version": "0.0.0-20251011004732",
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-20251010231629",
33
+ "@primer/react": "0.0.0-20251011004732",
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-20251010231629",
49
+ "@primer/react": "0.0.0-20251011004732",
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",