@serendie/ui 0.1.13 → 0.1.15

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 (63) hide show
  1. package/dist/components/AccordionGroup.d.ts +1 -1
  2. package/dist/components/DropdownMenu.js +67 -56
  3. package/dist/components/IconButton.d.ts +35 -5
  4. package/dist/components/PasswordField.d.ts +10 -0
  5. package/dist/components/Search.js +44 -29
  6. package/dist/components/Select.d.ts +3 -1
  7. package/dist/components/Select.js +29 -19
  8. package/dist/components/TextArea.js +5 -4
  9. package/dist/components/TextField.d.ts +2 -0
  10. package/dist/components/TextField.js +57 -46
  11. package/dist/index.d.ts +0 -1
  12. package/dist/index.js +27 -29
  13. package/dist/preset.d.ts +1 -1
  14. package/dist/styles.css +1 -1
  15. package/dist/tokens/getToken.js +1 -1
  16. package/dist/tokens/index.js +1 -1
  17. package/dist/ui/styled-system/css/conditions.js +13 -13
  18. package/dist/ui/styled-system/helpers.js +104 -101
  19. package/dist/ui/styled-system/jsx/is-valid-prop.js +1 -1
  20. package/package.json +4 -4
  21. package/styled-system/css/conditions.js +4 -2
  22. package/styled-system/helpers.js +15 -5
  23. package/styled-system/jsx/is-valid-prop.js +2 -2
  24. package/styled-system/themes/index.js +1 -1
  25. package/styled-system/tokens/tokens.d.ts +1 -1
  26. package/styled-system/types/composition.d.ts +26 -0
  27. package/styled-system/types/conditions.d.ts +35 -3
  28. package/styled-system/types/global.d.ts +1 -0
  29. package/styled-system/types/jsx.d.ts +1 -1
  30. package/styled-system/types/prop-type.d.ts +3 -8
  31. package/styled-system/types/selectors.d.ts +1 -1
  32. package/styled-system/types/static-css.d.ts +9 -4
  33. package/styled-system/types/style-props.d.ts +229 -205
  34. package/styled-system/types/system-types.d.ts +108 -3
  35. package/dist/assets/avatar.svg.js +0 -5
  36. package/dist/assets/check.svg.js +0 -5
  37. package/dist/assets/checkCircle.svg.js +0 -5
  38. package/dist/assets/error.svg.js +0 -5
  39. package/dist/assets/errorCircle.svg.js +0 -5
  40. package/dist/assets/errorFill.svg.js +0 -5
  41. package/dist/assets/icons/outline/close.svg.js +0 -5
  42. package/dist/assets/texture.svg.js +0 -5
  43. package/dist/components/SvgIcon.d.ts +0 -75
  44. package/dist/components/SvgIcon.js +0 -72
  45. package/dist/components/SvgIcon.stories.d.ts +0 -7
  46. package/dist/node_modules/@material-design-icons/svg/outlined/info.svg.js +0 -5
  47. package/dist/node_modules/@material-design-icons/svg/round/account_circle.svg.js +0 -5
  48. package/dist/node_modules/@material-design-icons/svg/round/add.svg.js +0 -5
  49. package/dist/node_modules/@material-design-icons/svg/round/arrow_outward.svg.js +0 -5
  50. package/dist/node_modules/@material-design-icons/svg/round/chevron_left.svg.js +0 -5
  51. package/dist/node_modules/@material-design-icons/svg/round/chevron_right.svg.js +0 -5
  52. package/dist/node_modules/@material-design-icons/svg/round/content_copy.svg.js +0 -5
  53. package/dist/node_modules/@material-design-icons/svg/round/expand_more.svg.js +0 -5
  54. package/dist/node_modules/@material-design-icons/svg/round/face.svg.js +0 -5
  55. package/dist/node_modules/@material-design-icons/svg/round/menu.svg.js +0 -5
  56. package/dist/node_modules/@material-design-icons/svg/round/search.svg.js +0 -5
  57. package/dist/node_modules/@material-design-icons/svg/round/settings.svg.js +0 -5
  58. /package/dist/{design-tokens → node_modules/@serendie/design-token}/dist/panda-tokens.js +0 -0
  59. /package/dist/{design-tokens → node_modules/@serendie/design-token}/dist/tokens.js +0 -0
  60. /package/styled-system/themes/{asagi.json → theme-asagi.json} +0 -0
  61. /package/styled-system/themes/{kurikawa.json → theme-kurikawa.json} +0 -0
  62. /package/styled-system/themes/{sumire.json → theme-sumire.json} +0 -0
  63. /package/styled-system/themes/{tsutsuji.json → theme-tsutsuji.json} +0 -0
@@ -1,2 +1,2 @@
1
1
  import { Accordion } from '@ark-ui/react';
2
- export declare const AccordionGroup: import('../../styled-system/jsx').StyledComponent<import('react').ForwardRefExoticComponent<Accordion.RootProps & import('react').RefAttributes<HTMLDivElement>>, {}>;
2
+ export declare const AccordionGroup: import('../../styled-system/types').StyledComponent<import('react').ForwardRefExoticComponent<Accordion.RootProps & import('react').RefAttributes<HTMLDivElement>>, {}>;
@@ -1,4 +1,4 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
2
  import "../preset.js";
3
3
  import "./Accordion.js";
4
4
  import "./AccordionGroup.js";
@@ -7,9 +7,9 @@ import "./Badge.js";
7
7
  import "./Banner.js";
8
8
  import "../ui/styled-system/css/css.js";
9
9
  import "../ui/styled-system/helpers.js";
10
- import { sva as l } from "../ui/styled-system/css/sva.js";
10
+ import { sva as c } from "../ui/styled-system/css/sva.js";
11
11
  import "./BottomNavigationItem.js";
12
- import { Button as c } from "./Button.js";
12
+ import { Button as l } from "./Button.js";
13
13
  import "./CheckBox.js";
14
14
  import "./ChoiceBox.js";
15
15
  import "./DashboardWidget.js";
@@ -23,7 +23,6 @@ import "./ProgressIndicator.js";
23
23
  import "./RadioButton.js";
24
24
  import "./Search.js";
25
25
  import "./Select.js";
26
- import "react";
27
26
  import "./Switch.js";
28
27
  import "./TabItem.js";
29
28
  import "./Tabs.js";
@@ -31,15 +30,15 @@ import "./TextArea.js";
31
30
  import "./TextField.js";
32
31
  import "./Toast.js";
33
32
  import "./TopAppBar.js";
34
- import { SerendieSymbol as s } from "../node_modules/@serendie/symbols/dist/symbols2.js";
33
+ import { SerendieSymbol as m } from "../node_modules/@serendie/symbols/dist/symbols2.js";
35
34
  import { Portal as u } from "../node_modules/@ark-ui/react/dist/components/portal/portal.js";
36
35
  import { MenuRoot as g } from "../node_modules/@ark-ui/react/dist/components/menu/menu-root.js";
37
36
  import { MenuTrigger as h } from "../node_modules/@ark-ui/react/dist/components/menu/menu-trigger.js";
38
37
  import { MenuPositioner as f } from "../node_modules/@ark-ui/react/dist/components/menu/menu-positioner.js";
39
- import { MenuContent as b } from "../node_modules/@ark-ui/react/dist/components/menu/menu-content.js";
40
- import { MenuItemGroup as x } from "../node_modules/@ark-ui/react/dist/components/menu/menu-item-group.js";
38
+ import { MenuContent as x } from "../node_modules/@ark-ui/react/dist/components/menu/menu-content.js";
39
+ import { MenuItemGroup as b } from "../node_modules/@ark-ui/react/dist/components/menu/menu-item-group.js";
41
40
  import { MenuItem as S } from "../node_modules/@ark-ui/react/dist/components/menu/menu-item.js";
42
- const v = l({
41
+ const v = c({
43
42
  slots: ["content", "itemGroup", "item", "itemIcon", "button", "buttonIcon"],
44
43
  base: {
45
44
  content: {
@@ -110,65 +109,77 @@ const v = l({
110
109
  transition: "transform 0.2s"
111
110
  }
112
111
  }
113
- }), pe = ({
112
+ }), po = ({
114
113
  styleType: r = "default",
115
114
  title: i,
116
115
  items: d,
117
- disabled: m,
116
+ disabled: s,
118
117
  icon: p,
119
118
  ...a
120
119
  }) => {
121
- const o = v();
122
- return /* @__PURE__ */ n(g, { ...a, children: [
123
- /* @__PURE__ */ e(h, { asChild: !0, children: r === "iconButton" ? /* @__PURE__ */ e(
124
- y,
125
- {
126
- icon: p || /* @__PURE__ */ e(
127
- s,
120
+ const e = v();
121
+ return /* @__PURE__ */ n(
122
+ g,
123
+ {
124
+ positioning: {
125
+ offset: {
126
+ mainAxis: 1,
127
+ crossAxis: 0
128
+ }
129
+ },
130
+ ...a,
131
+ children: [
132
+ /* @__PURE__ */ o(h, { asChild: !0, children: r === "iconButton" ? /* @__PURE__ */ o(
133
+ y,
128
134
  {
129
- name: "menu",
130
- size: 24,
131
- className: o.buttonIcon
135
+ icon: p || /* @__PURE__ */ o(
136
+ m,
137
+ {
138
+ name: "menu",
139
+ size: 24,
140
+ className: e.buttonIcon
141
+ }
142
+ ),
143
+ shape: "rectangle",
144
+ disabled: s,
145
+ styleType: "outlined",
146
+ title: i
132
147
  }
133
- ),
134
- shape: "rectangle",
135
- disabled: m,
136
- styleType: "outlined",
137
- title: i
138
- }
139
- ) : /* @__PURE__ */ e(
140
- c,
141
- {
142
- styleType: "rectangle",
143
- size: "medium",
144
- disabled: m,
145
- rightIcon: /* @__PURE__ */ e(
146
- s,
148
+ ) : /* @__PURE__ */ o(
149
+ l,
147
150
  {
148
- name: "chevron-down",
149
- size: 24,
150
- className: o.buttonIcon
151
+ styleType: "rectangle",
152
+ size: "medium",
153
+ disabled: s,
154
+ rightIcon: /* @__PURE__ */ o(
155
+ m,
156
+ {
157
+ name: "chevron-down",
158
+ size: 24,
159
+ className: e.buttonIcon
160
+ }
161
+ ),
162
+ className: e.button,
163
+ children: i
151
164
  }
152
- ),
153
- className: o.button,
154
- children: i
155
- }
156
- ) }),
157
- /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(b, { className: o.content, children: /* @__PURE__ */ e(x, { className: o.itemGroup, children: d.map((t) => /* @__PURE__ */ n(
158
- S,
159
- {
160
- value: t.value,
161
- className: o.item,
162
- children: [
163
- t.icon && /* @__PURE__ */ e("div", { className: o.itemIcon, children: t.icon }),
164
- t.label
165
- ]
166
- },
167
- t.value
168
- )) }) }) }) })
169
- ] });
165
+ ) }),
166
+ /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o(f, { children: /* @__PURE__ */ o(x, { className: e.content, children: /* @__PURE__ */ o(b, { className: e.itemGroup, children: d.map((t) => /* @__PURE__ */ n(
167
+ S,
168
+ {
169
+ value: t.value,
170
+ className: e.item,
171
+ children: [
172
+ t.icon && /* @__PURE__ */ o("div", { className: e.itemIcon, children: t.icon }),
173
+ t.label
174
+ ]
175
+ },
176
+ t.value
177
+ )) }) }) }) })
178
+ ]
179
+ }
180
+ );
170
181
  };
171
182
  export {
172
- pe as DropdownMenu,
183
+ po as DropdownMenu,
173
184
  v as DropdownMenuStyle
174
185
  };
@@ -1,5 +1,4 @@
1
- import { default as React, ComponentProps } from 'react';
2
- import { RecipeVariantProps } from '../../styled-system/types';
1
+ import { default as React } from 'react';
3
2
  export declare const IconButtonStyle: import('../../styled-system/types').RecipeRuntimeFn<{
4
3
  shape: {
5
4
  rectangle: {
@@ -74,8 +73,39 @@ export declare const IconButtonStyle: import('../../styled-system/types').Recipe
74
73
  };
75
74
  };
76
75
  }>;
77
- type ButtonProps = RecipeVariantProps<typeof IconButtonStyle> & ComponentProps<"button"> & {
78
- icon: React.ReactElement;
76
+ type StyleType = "filled" | "outlined" | "ghost";
77
+ type Size = "large" | "medium" | "small";
78
+ type RectangleProps = {
79
+ shape: "rectangle";
80
+ size?: Exclude<Size, "large">;
81
+ };
82
+ type CircleProps = {
83
+ shape: "circle";
84
+ size?: Exclude<Size, "large">;
85
+ styleType?: StyleType;
86
+ };
87
+ type CircleLargeProps = {
88
+ shape: "circle";
89
+ size: "large";
90
+ styleType?: Exclude<StyleType, "ghost">;
79
91
  };
80
- export declare const IconButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
92
+ export declare const IconButton: React.ForwardRefExoticComponent<(Omit<{
93
+ shape?: "circle" | "rectangle" | undefined;
94
+ styleType?: "filled" | "outlined" | "ghost" | undefined;
95
+ size?: "small" | "large" | "medium" | undefined;
96
+ } & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
97
+ icon: React.ReactElement;
98
+ } & RectangleProps, "ref"> | Omit<{
99
+ shape?: "circle" | "rectangle" | undefined;
100
+ styleType?: "filled" | "outlined" | "ghost" | undefined;
101
+ size?: "small" | "large" | "medium" | undefined;
102
+ } & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
103
+ icon: React.ReactElement;
104
+ } & CircleProps, "ref"> | Omit<{
105
+ shape?: "circle" | "rectangle" | undefined;
106
+ styleType?: "filled" | "outlined" | "ghost" | undefined;
107
+ size?: "small" | "large" | "medium" | undefined;
108
+ } & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
109
+ icon: React.ReactElement;
110
+ } & CircleLargeProps, "ref">) & React.RefAttributes<HTMLButtonElement>>;
81
111
  export {};
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { TextField } from './TextField';
3
+ type PasswordFieldProps = Omit<React.ComponentProps<typeof TextField>, "type" | "rightContent"> & {
4
+ /**
5
+ * パスワードの表示/非表示切り替えを無効にする
6
+ */
7
+ disableToggle?: boolean;
8
+ };
9
+ export declare const PasswordField: React.ForwardRefExoticComponent<Omit<PasswordFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
10
+ export {};
@@ -1,4 +1,4 @@
1
- import { jsxs as i, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
2
  import "../ui/styled-system/css/css.js";
3
3
  import { cx as c } from "../ui/styled-system/css/cx.js";
4
4
  import "../ui/styled-system/helpers.js";
@@ -146,38 +146,53 @@ const a = p({
146
146
  defaultVariants: {
147
147
  size: "medium"
148
148
  }
149
- }), A = ({
150
- items: e = [],
149
+ }), q = ({
150
+ items: i = [],
151
151
  ...d
152
152
  }) => {
153
- const [r, t] = a.splitVariantProps(d), s = a(r);
154
- return /* @__PURE__ */ i(x, { items: e, lazyMount: !0, unmountOnExit: !0, ...t, children: [
155
- /* @__PURE__ */ i(b, { className: c(s.control, t.className), children: [
156
- /* @__PURE__ */ o("div", { className: s.iconBox, children: /* @__PURE__ */ o(m, { name: "magnifying-glass", className: s.icon }) }),
157
- /* @__PURE__ */ o(u, { className: s.input }),
158
- e.length > 0 && /* @__PURE__ */ o(h, { children: /* @__PURE__ */ o("div", { className: s.closeIcon, children: /* @__PURE__ */ o(m, { name: "close", className: s.icon }) }) })
159
- ] }),
160
- e.length > 0 && /* @__PURE__ */ o(y, { children: /* @__PURE__ */ o(f, { children: /* @__PURE__ */ o(S, { className: s.combobox, children: /* @__PURE__ */ o(w, { id: "framework", children: e.map((n, l) => /* @__PURE__ */ i(
161
- C,
162
- {
163
- item: n,
164
- className: s.comboboxItem,
165
- children: [
166
- /* @__PURE__ */ o(
167
- g,
168
- {
169
- w: "sd.system.dimension.spacing.large",
170
- h: "sd.system.dimension.spacing.large"
171
- }
172
- ),
173
- /* @__PURE__ */ o(I, { children: n })
174
- ]
153
+ const [r, n] = a.splitVariantProps(d), s = a(r);
154
+ return /* @__PURE__ */ e(
155
+ x,
156
+ {
157
+ items: i,
158
+ lazyMount: !0,
159
+ unmountOnExit: !0,
160
+ positioning: {
161
+ offset: {
162
+ mainAxis: 2,
163
+ crossAxis: 0
164
+ }
175
165
  },
176
- l
177
- )) }) }) }) })
178
- ] });
166
+ ...n,
167
+ children: [
168
+ /* @__PURE__ */ e(b, { className: c(s.control, n.className), children: [
169
+ /* @__PURE__ */ o("div", { className: s.iconBox, children: /* @__PURE__ */ o(m, { name: "magnifying-glass", className: s.icon }) }),
170
+ /* @__PURE__ */ o(u, { className: s.input }),
171
+ i.length > 0 && /* @__PURE__ */ o(h, { children: /* @__PURE__ */ o("div", { className: s.closeIcon, children: /* @__PURE__ */ o(m, { name: "close", className: s.icon }) }) })
172
+ ] }),
173
+ i.length > 0 && /* @__PURE__ */ o(y, { children: /* @__PURE__ */ o(f, { children: /* @__PURE__ */ o(S, { className: s.combobox, children: /* @__PURE__ */ o(w, { id: "framework", children: i.map((t, l) => /* @__PURE__ */ e(
174
+ C,
175
+ {
176
+ item: t,
177
+ className: s.comboboxItem,
178
+ children: [
179
+ /* @__PURE__ */ o(
180
+ g,
181
+ {
182
+ w: "sd.system.dimension.spacing.large",
183
+ h: "sd.system.dimension.spacing.large"
184
+ }
185
+ ),
186
+ /* @__PURE__ */ o(I, { children: t })
187
+ ]
188
+ },
189
+ l
190
+ )) }) }) }) })
191
+ ]
192
+ }
193
+ );
179
194
  };
180
195
  export {
181
- A as Search,
196
+ q as Search,
182
197
  a as SearchStyle
183
198
  };
@@ -22,7 +22,9 @@ export declare const SelectStyle: import('../../styled-system/types').SlotRecipe
22
22
  };
23
23
  small: {
24
24
  root: {
25
- gridTemplateColumns: "minmax(auto, 150px)";
25
+ "@layer components": {
26
+ width: "min(100%, 150px)";
27
+ };
26
28
  textStyle: {
27
29
  base: "sd.system.typography.body.small_compact";
28
30
  };
@@ -3,8 +3,8 @@ import { css as d } from "../ui/styled-system/css/css.js";
3
3
  import { cx as h } from "../ui/styled-system/css/cx.js";
4
4
  import "../ui/styled-system/helpers.js";
5
5
  import { sva as b } from "../ui/styled-system/css/sva.js";
6
- import { useId as S } from "react";
7
- import { ListItem as f } from "./ListItem.js";
6
+ import { useId as f } from "react";
7
+ import { ListItem as S } from "./ListItem.js";
8
8
  import { List as v } from "./List.js";
9
9
  import { SerendieSymbol as w } from "../node_modules/@serendie/symbols/dist/symbols2.js";
10
10
  import { Portal as _ } from "../node_modules/@ark-ui/react/dist/components/portal/portal.js";
@@ -16,12 +16,14 @@ import { SelectValueText as R } from "../node_modules/@ark-ui/react/dist/compone
16
16
  import { SelectPositioner as I } from "../node_modules/@ark-ui/react/dist/components/select/select-positioner.js";
17
17
  import { SelectContent as V } from "../node_modules/@ark-ui/react/dist/components/select/select-content.js";
18
18
  import { SelectItem as B } from "../node_modules/@ark-ui/react/dist/components/select/select-item.js";
19
- const n = b({
19
+ const l = b({
20
20
  slots: ["root", "valueText", "trigger", "content", "item", "iconBox"],
21
21
  base: {
22
22
  root: {
23
23
  display: "inline-grid",
24
- gridTemplateColumns: "minmax(auto, 300px)",
24
+ "@layer components": {
25
+ width: "min(100%, 300px)"
26
+ },
25
27
  rowGap: "sd.system.dimension.spacing.extraSmall"
26
28
  },
27
29
  trigger: {
@@ -120,7 +122,9 @@ const n = b({
120
122
  },
121
123
  small: {
122
124
  root: {
123
- gridTemplateColumns: "minmax(auto, 150px)",
125
+ "@layer components": {
126
+ width: "min(100%, 150px)"
127
+ },
124
128
  textStyle: {
125
129
  base: "sd.system.typography.body.small_compact"
126
130
  }
@@ -151,23 +155,29 @@ const n = b({
151
155
  }
152
156
  }), Y = ({
153
157
  placeholder: c = "",
154
- label: m,
158
+ label: r,
155
159
  required: p,
156
- invalid: a,
157
- invalidMessage: r,
160
+ invalid: m,
161
+ invalidMessage: a,
158
162
  className: y,
159
- ...l
163
+ ...n
160
164
  }) => {
161
- const [o, g] = n.splitVariantProps(l), s = n(o), u = S();
165
+ const [o, g] = l.splitVariantProps(n), s = l(o), u = f();
162
166
  return /* @__PURE__ */ i(
163
167
  C,
164
168
  {
165
169
  ...g,
166
- invalid: a,
170
+ invalid: m,
167
171
  className: h(s.root, y),
168
- positioning: { sameWidth: !0 },
172
+ positioning: {
173
+ sameWidth: !0,
174
+ offset: {
175
+ mainAxis: 1,
176
+ crossAxis: 0
177
+ }
178
+ },
169
179
  children: [
170
- m && o.size != "small" && // smallの場合はラベルを表示しない
180
+ r && o.size != "small" && // smallの場合はラベルを表示しない
171
181
  /* @__PURE__ */ i(
172
182
  T,
173
183
  {
@@ -178,7 +188,7 @@ const n = b({
178
188
  }
179
189
  }),
180
190
  children: [
181
- m,
191
+ r,
182
192
  p && // とりあえず必須メッセージはハードコード
183
193
  /* @__PURE__ */ e(
184
194
  "span",
@@ -210,7 +220,7 @@ const n = b({
210
220
  }
211
221
  )
212
222
  ] }) }),
213
- a && r && /* @__PURE__ */ e(
223
+ m && a && /* @__PURE__ */ e(
214
224
  "div",
215
225
  {
216
226
  className: d({
@@ -220,11 +230,11 @@ const n = b({
220
230
  },
221
231
  color: "sd.system.color.impression.negative"
222
232
  }),
223
- children: r
233
+ children: a
224
234
  }
225
235
  ),
226
- /* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(I, { children: /* @__PURE__ */ e(V, { className: s.content, children: /* @__PURE__ */ e(v, { id: u, children: l.items.map((t, x) => /* @__PURE__ */ e(B, { item: t, children: /* @__PURE__ */ e(
227
- f,
236
+ /* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(I, { children: /* @__PURE__ */ e(V, { className: s.content, children: /* @__PURE__ */ e(v, { id: u, children: n.items.map((t, x) => /* @__PURE__ */ e(B, { item: t, children: /* @__PURE__ */ e(
237
+ S,
228
238
  {
229
239
  title: t.label,
230
240
  value: t.value,
@@ -238,5 +248,5 @@ const n = b({
238
248
  };
239
249
  export {
240
250
  Y as Select,
241
- n as SelectStyle
251
+ l as SelectStyle
242
252
  };
@@ -4,8 +4,8 @@ import _ from "../node_modules/merge-refs/dist/esm/index.js";
4
4
  import "../ui/styled-system/css/css.js";
5
5
  import { cx as w } from "../ui/styled-system/css/cx.js";
6
6
  import "../ui/styled-system/helpers.js";
7
- import { sva as N } from "../ui/styled-system/css/sva.js";
8
- const c = N({
7
+ import { sva as C } from "../ui/styled-system/css/sva.js";
8
+ const c = C({
9
9
  slots: [
10
10
  "root",
11
11
  "label",
@@ -44,6 +44,7 @@ const c = N({
44
44
  outlineWidth: "sd.system.dimension.border.medium",
45
45
  outlineColor: "sd.system.color.component.outline",
46
46
  borderRadius: "sd.system.dimension.radius.medium",
47
+ backgroundColor: "sd.system.color.component.surface",
47
48
  _focusWithin: {
48
49
  outlineWidth: "sd.system.dimension.border.thick",
49
50
  outlineColor: "sd.system.color.impression.primary"
@@ -96,7 +97,7 @@ const c = N({
96
97
  }
97
98
  }
98
99
  }
99
- }), k = v(
100
+ }), j = v(
100
101
  ({
101
102
  placeholder: y,
102
103
  label: r,
@@ -142,5 +143,5 @@ const c = N({
142
143
  }
143
144
  );
144
145
  export {
145
- k as TextArea
146
+ j as TextArea
146
147
  };
@@ -4,4 +4,6 @@ export declare const TextField: React.ForwardRefExoticComponent<{
4
4
  description?: string;
5
5
  invalid?: boolean;
6
6
  invalidMessage?: string;
7
+ leftContent?: React.ReactNode;
8
+ rightContent?: React.ReactNode;
7
9
  } & Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;