@serendie/ui 2.2.3 → 2.2.4-dev.202510160446

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 (40) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +1 -1
  2. package/dist/components/Avatar/Avatar.d.ts +1 -1
  3. package/dist/components/Banner/Banner.d.ts +1 -1
  4. package/dist/components/BottomNavigation/BottomNavigationItem.d.ts +1 -1
  5. package/dist/components/Button/Button.d.ts +2 -2
  6. package/dist/components/DatePicker/DatePicker.d.ts +5 -5
  7. package/dist/components/DatePicker/DatePicker.js +79 -77
  8. package/dist/components/DropdownMenu/DropdownMenu.d.ts +1 -1
  9. package/dist/components/IconButton/IconButton.d.ts +3 -3
  10. package/dist/components/List/ListItem.d.ts +1 -1
  11. package/dist/components/ModalDialog/ModalDialog.d.ts +1 -1
  12. package/dist/components/NotificationBadge/NotificationBadge.d.ts +1 -1
  13. package/dist/components/Pagination/Pagination.d.ts +1 -1
  14. package/dist/components/Search/Search.d.ts +1 -1
  15. package/dist/components/Select/Select.d.ts +1 -1
  16. package/dist/components/Select/Select.js +12 -8
  17. package/dist/components/Switch/Switch.d.ts +1 -1
  18. package/dist/components/Tabs/Tabs.d.ts +1 -1
  19. package/dist/components/TextArea/TextArea.d.ts +1 -0
  20. package/dist/components/TextArea/TextArea.js +15 -8
  21. package/dist/components/TextField/TextField.d.ts +2 -0
  22. package/dist/components/TextField/TextField.js +4 -2
  23. package/dist/components/Toast/Toast.d.ts +1 -1
  24. package/dist/components/TopAppBar/TopAppBar.d.ts +1 -1
  25. package/dist/preset.d.ts +0 -3
  26. package/dist/preset.js +7 -9
  27. package/dist/recipes/textFieldRecipe.d.ts +9 -2
  28. package/dist/recipes/textFieldRecipe.js +13 -3
  29. package/dist/styled-system/css/cva.js +38 -43
  30. package/dist/styles.css +1 -1
  31. package/package.json +1 -1
  32. package/dist/recipes/index.d.ts +0 -3
  33. package/dist/recipes/index.js +0 -7
  34. package/dist/styled-system/recipes/create-recipe.js +0 -37
  35. package/dist/styled-system/recipes/text-field-recipe.js +0 -61
  36. package/styled-system/recipes/create-recipe.js +0 -82
  37. package/styled-system/recipes/index.d.ts +0 -2
  38. package/styled-system/recipes/index.js +0 -1
  39. package/styled-system/recipes/text-field-recipe.d.ts +0 -28
  40. package/styled-system/recipes/text-field-recipe.js +0 -72
@@ -1,6 +1,6 @@
1
1
  import { AccordionItemProps } from '@ark-ui/react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/types';
3
- declare const AccordionStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"icon" | "description" | "item" | "title" | "itemIndicator", {
3
+ declare const AccordionStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"item" | "title" | "itemIndicator" | "icon" | "description", {
4
4
  isLeftIcon: {
5
5
  true: {
6
6
  item: {
@@ -1,6 +1,6 @@
1
1
  import { AvatarRootProps } from '@ark-ui/react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- export declare const AvatarStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "image" | "fallback", {
3
+ export declare const AvatarStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"image" | "root" | "fallback", {
4
4
  size: {
5
5
  small: {
6
6
  root: {
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- declare const BannerStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"container" | "icon" | "description" | "title", {
3
+ declare const BannerStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"title" | "icon" | "description" | "container", {
4
4
  type: {
5
5
  information: {
6
6
  container: {
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- export declare const BottomNavigationItemStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "label" | "icon" | "iconGroup" | "badge", {
3
+ export declare const BottomNavigationItemStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"icon" | "label" | "root" | "iconGroup" | "badge", {
4
4
  isActive: {
5
5
  true: {
6
6
  label: {
@@ -117,14 +117,14 @@ type ButtonLoadingProps = {
117
117
  };
118
118
  export declare const Button: React.ForwardRefExoticComponent<(Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
119
119
  styleType?: "filled" | "outlined" | "ghost" | "rectangle" | undefined;
120
- size?: "medium" | "small" | undefined;
120
+ size?: "small" | "medium" | undefined;
121
121
  } & {
122
122
  leftIcon?: React.ReactElement;
123
123
  } & {
124
124
  rightIcon?: never;
125
125
  } & ButtonLoadingProps, "ref"> | Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
126
126
  styleType?: "filled" | "outlined" | "ghost" | "rectangle" | undefined;
127
- size?: "medium" | "small" | undefined;
127
+ size?: "small" | "medium" | undefined;
128
128
  } & {
129
129
  leftIcon?: never;
130
130
  } & {
@@ -1,5 +1,7 @@
1
- import { DatePickerRootProps } from '@ark-ui/react';
2
- interface DatePickerProps extends DatePickerRootProps {
1
+ import { DatePicker as ArkDatePicker } from '@ark-ui/react';
2
+ export declare const DatePicker: import('react').ForwardRefExoticComponent<ArkDatePicker.RootProps & {
3
+ fullWidth?: boolean | undefined;
4
+ } & {
3
5
  placeholder?: string;
4
6
  label?: string;
5
7
  required?: boolean;
@@ -9,6 +11,4 @@ interface DatePickerProps extends DatePickerRootProps {
9
11
  startPlaceholder?: string;
10
12
  endPlaceholder?: string;
11
13
  isCalendarOnly?: boolean;
12
- }
13
- export declare const DatePicker: import('react').ForwardRefExoticComponent<DatePickerProps & import('react').RefAttributes<HTMLDivElement>>;
14
- export {};
14
+ } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,80 +1,82 @@
1
- import { jsx as e, jsxs as a, Fragment as C } from "react/jsx-runtime";
2
- import { SerendieSymbolCalendar as F, SerendieSymbolArrowRight as I, SerendieSymbolChevronDown as W, SerendieSymbolChevronLeft as O, SerendieSymbolChevronRight as j } from "@serendie/symbols";
3
- import { forwardRef as H, useState as A } from "react";
4
- import { datePickerStyles as v } from "./styles.js";
5
- import { textFieldRecipe as L } from "../../styled-system/recipes/text-field-recipe.js";
6
- import { Portal as V } from "../../node_modules/@ark-ui/react/dist/components/portal/portal.js";
7
- import { DatePickerRoot as D } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-root.js";
8
- import { DatePickerLabel as q } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-label.js";
9
- import { DatePickerControl as B } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-control.js";
1
+ import { jsx as e, jsxs as a, Fragment as v } from "react/jsx-runtime";
2
+ import { SerendieSymbolCalendar as O, SerendieSymbolArrowRight as j, SerendieSymbolChevronDown as H, SerendieSymbolChevronLeft as V, SerendieSymbolChevronRight as A } from "@serendie/symbols";
3
+ import { forwardRef as L, useState as q } from "react";
4
+ import { datePickerStyles as x } from "./styles.js";
5
+ import { textFieldRecipe as D } from "../../recipes/textFieldRecipe.js";
6
+ import { Portal as B } from "../../node_modules/@ark-ui/react/dist/components/portal/portal.js";
7
+ import { DatePickerRoot as b } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-root.js";
8
+ import { DatePickerLabel as J } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-label.js";
9
+ import { DatePickerControl as Y } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-control.js";
10
10
  import { cx as h } from "../../styled-system/css/cx.js";
11
- import { DatePickerTrigger as J } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-trigger.js";
11
+ import { DatePickerTrigger as _ } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-trigger.js";
12
12
  import { css as t } from "../../styled-system/css/css.js";
13
13
  import { DatePickerInput as f } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-input.js";
14
- import { DatePickerPositioner as Y } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-positioner.js";
15
- import { DatePickerContent as _ } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-content.js";
16
- import { DatePickerView as z } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view.js";
17
- import { DatePickerContext as E } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-context.js";
18
- import { DatePickerViewControl as G } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view-control.js";
19
- import { DatePickerYearSelect as K } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-year-select.js";
20
- import { DatePickerPrevTrigger as Q } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-prev-trigger.js";
21
- import { DatePickerMonthSelect as U } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-month-select.js";
22
- import { DatePickerNextTrigger as X } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-next-trigger.js";
23
- import { DatePickerTable as Z } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table.js";
24
- import { DatePickerTableHead as $ } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-head.js";
25
- import { DatePickerTableRow as b } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-row.js";
26
- import { DatePickerTableHeader as M } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-header.js";
27
- import { DatePickerTableBody as ee } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-body.js";
28
- import { DatePickerTableCell as re } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell.js";
29
- import { DatePickerTableCellTrigger as ie } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell-trigger.js";
30
- const We = H(
14
+ import { DatePickerPositioner as z } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-positioner.js";
15
+ import { DatePickerContent as E } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-content.js";
16
+ import { DatePickerView as G } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view.js";
17
+ import { DatePickerContext as K } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-context.js";
18
+ import { DatePickerViewControl as Q } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view-control.js";
19
+ import { DatePickerYearSelect as U } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-year-select.js";
20
+ import { DatePickerPrevTrigger as X } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-prev-trigger.js";
21
+ import { DatePickerMonthSelect as Z } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-month-select.js";
22
+ import { DatePickerNextTrigger as $ } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-next-trigger.js";
23
+ import { DatePickerTable as M } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table.js";
24
+ import { DatePickerTableHead as ee } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-head.js";
25
+ import { DatePickerTableRow as y } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-row.js";
26
+ import { DatePickerTableHeader as re } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-header.js";
27
+ import { DatePickerTableBody as ie } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-body.js";
28
+ import { DatePickerTableCell as ae } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell.js";
29
+ import { DatePickerTableCellTrigger as te } from "../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell-trigger.js";
30
+ const je = L(
31
31
  ({
32
32
  placeholder: r = "日付を選択",
33
33
  label: o,
34
34
  required: l,
35
- requiredLabel: m,
35
+ requiredLabel: s,
36
36
  invalid: n,
37
37
  invalidMessage: c,
38
38
  selectionMode: p = "single",
39
- startPlaceholder: x = "開始日",
40
- endPlaceholder: S = "終了日",
41
- locale: N = "ja-JP",
42
- isCalendarOnly: T = !1,
43
- ...s
44
- }, g) => {
45
- const w = v(), i = L(), [u, d] = A(!1), R = p === "range";
46
- return T ? /* @__PURE__ */ e(
47
- D,
39
+ startPlaceholder: S = "開始日",
40
+ endPlaceholder: T = "終了日",
41
+ locale: P = "ja-JP",
42
+ isCalendarOnly: w = !1,
43
+ ...m
44
+ }, N) => {
45
+ const R = x(), [F, I] = D.splitVariantProps({
46
+ ...m
47
+ }), i = D(F), [g, d] = q(!1), W = p === "range";
48
+ return w ? /* @__PURE__ */ e(
49
+ b,
48
50
  {
49
- locale: N,
50
- ...s,
51
- ref: g,
51
+ locale: P,
52
+ ...I,
53
+ ref: N,
52
54
  selectionMode: p,
53
55
  open: !0,
54
56
  className: i.root,
55
- children: /* @__PURE__ */ e(y, {})
57
+ children: /* @__PURE__ */ e(C, {})
56
58
  }
57
59
  ) : /* @__PURE__ */ a(
58
- D,
60
+ b,
59
61
  {
60
- locale: N,
61
- ...s,
62
- ref: g,
62
+ locale: P,
63
+ ...m,
64
+ ref: N,
63
65
  selectionMode: p,
64
66
  className: i.root,
65
- open: u,
66
- onOpenChange: (P) => {
67
+ open: g,
68
+ onOpenChange: (u) => {
67
69
  var k;
68
- d(P.open), (k = s.onOpenChange) == null || k.call(s, P);
70
+ d(u.open), (k = m.onOpenChange) == null || k.call(m, u);
69
71
  },
70
72
  children: [
71
- /* @__PURE__ */ a(C, { children: [
72
- o && /* @__PURE__ */ a(q, { className: i.label, children: [
73
+ /* @__PURE__ */ a(v, { children: [
74
+ o && /* @__PURE__ */ a(J, { className: i.label, children: [
73
75
  o,
74
- l && /* @__PURE__ */ e("span", { className: i.labelRequired, children: m ?? "必須" })
76
+ l && /* @__PURE__ */ e("span", { className: i.labelRequired, children: s ?? "必須" })
75
77
  ] }),
76
78
  /* @__PURE__ */ a(
77
- B,
79
+ Y,
78
80
  {
79
81
  className: h(
80
82
  i.inputWrapper,
@@ -85,11 +87,11 @@ const We = H(
85
87
  }
86
88
  })
87
89
  ),
88
- "data-expanded": u ? !0 : void 0,
90
+ "data-expanded": g ? !0 : void 0,
89
91
  "data-Invalid": n,
90
92
  children: [
91
- /* @__PURE__ */ e("div", { className: i.leftContent, children: /* @__PURE__ */ e(J, { className: t({ display: "flex" }), children: /* @__PURE__ */ e(F, {}) }) }),
92
- R ? /* @__PURE__ */ a(
93
+ /* @__PURE__ */ e("div", { className: i.leftContent, children: /* @__PURE__ */ e(_, { className: t({ display: "flex" }), children: /* @__PURE__ */ e(O, {}) }) }),
94
+ W ? /* @__PURE__ */ a(
93
95
  "div",
94
96
  {
95
97
  className: t({
@@ -102,7 +104,7 @@ const We = H(
102
104
  f,
103
105
  {
104
106
  index: 0,
105
- placeholder: x,
107
+ placeholder: S,
106
108
  className: h(
107
109
  i.input,
108
110
  t({
@@ -113,12 +115,12 @@ const We = H(
113
115
  onFocus: () => d(!0)
114
116
  }
115
117
  ),
116
- /* @__PURE__ */ e(I, {}),
118
+ /* @__PURE__ */ e(j, {}),
117
119
  /* @__PURE__ */ e(
118
120
  f,
119
121
  {
120
122
  index: 1,
121
- placeholder: S,
123
+ placeholder: T,
122
124
  className: h(
123
125
  i.input,
124
126
  t({
@@ -145,23 +147,23 @@ const We = H(
145
147
  ),
146
148
  n && c && /* @__PURE__ */ e("div", { className: i.messageField, children: /* @__PURE__ */ e("p", { className: i.invalidMessage, children: c }) })
147
149
  ] }),
148
- /* @__PURE__ */ e(V, { children: /* @__PURE__ */ e(Y, { className: w.positioner, children: /* @__PURE__ */ e(y, {}) }) })
150
+ /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(z, { className: R.positioner, children: /* @__PURE__ */ e(C, {}) }) })
149
151
  ]
150
152
  }
151
153
  );
152
154
  }
153
- ), y = () => {
154
- const r = v();
155
- return /* @__PURE__ */ e(_, { className: r.content, children: /* @__PURE__ */ e(z, { view: "day", className: r.view, children: /* @__PURE__ */ e(E, { children: (o) => /* @__PURE__ */ a(C, { children: [
156
- /* @__PURE__ */ a(G, { className: r.viewControl, children: [
155
+ ), C = () => {
156
+ const r = x();
157
+ return /* @__PURE__ */ e(E, { className: r.content, children: /* @__PURE__ */ e(G, { view: "day", className: r.view, children: /* @__PURE__ */ e(K, { children: (o) => /* @__PURE__ */ a(v, { children: [
158
+ /* @__PURE__ */ a(Q, { className: r.viewControl, children: [
157
159
  /* @__PURE__ */ a("div", { className: r.selectWrapper, children: [
158
- /* @__PURE__ */ e(K, { className: r.select }),
159
- /* @__PURE__ */ e(W, { className: r.selectIcon })
160
+ /* @__PURE__ */ e(U, { className: r.select }),
161
+ /* @__PURE__ */ e(H, { className: r.selectIcon })
160
162
  ] }),
161
163
  /* @__PURE__ */ a("div", { className: t({ display: "flex", alignItems: "center" }), children: [
162
- /* @__PURE__ */ e(Q, { className: r.prevTrigger, children: /* @__PURE__ */ e(O, {}) }),
164
+ /* @__PURE__ */ e(X, { className: r.prevTrigger, children: /* @__PURE__ */ e(V, {}) }),
163
165
  /* @__PURE__ */ e(
164
- U,
166
+ Z,
165
167
  {
166
168
  className: t({
167
169
  appearance: "none",
@@ -169,25 +171,25 @@ const We = H(
169
171
  })
170
172
  }
171
173
  ),
172
- /* @__PURE__ */ e(X, { className: r.nextTrigger, children: /* @__PURE__ */ e(j, {}) })
174
+ /* @__PURE__ */ e($, { className: r.nextTrigger, children: /* @__PURE__ */ e(A, {}) })
173
175
  ] })
174
176
  ] }),
175
- /* @__PURE__ */ a(Z, { className: r.table, children: [
176
- /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(b, { children: o.weekDays.map((l, m) => /* @__PURE__ */ e(
177
- M,
177
+ /* @__PURE__ */ a(M, { className: r.table, children: [
178
+ /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ e(y, { children: o.weekDays.map((l, s) => /* @__PURE__ */ e(
179
+ re,
178
180
  {
179
181
  className: r.tableHeader,
180
182
  children: l.narrow
181
183
  },
182
- m
184
+ s
183
185
  )) }) }),
184
- /* @__PURE__ */ e(ee, { children: o.weeks.map((l, m) => /* @__PURE__ */ e(b, { children: l.map((n, c) => /* @__PURE__ */ e(
185
- re,
186
+ /* @__PURE__ */ e(ie, { children: o.weeks.map((l, s) => /* @__PURE__ */ e(y, { children: l.map((n, c) => /* @__PURE__ */ e(
187
+ ae,
186
188
  {
187
189
  value: n,
188
190
  className: r.tableCell,
189
191
  children: /* @__PURE__ */ e(
190
- ie,
192
+ te,
191
193
  {
192
194
  className: r.tableCellTrigger,
193
195
  children: n.day
@@ -195,10 +197,10 @@ const We = H(
195
197
  )
196
198
  },
197
199
  c
198
- )) }, m)) })
200
+ )) }, s)) })
199
201
  ] })
200
202
  ] }) }) }) });
201
203
  };
202
204
  export {
203
- We as DatePicker
205
+ je as DatePicker
204
206
  };
@@ -1,5 +1,5 @@
1
1
  import { MenuRootProps } from '@ark-ui/react';
2
- export declare const DropdownMenuStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"content" | "item" | "button" | "itemGroup" | "itemIcon" | "buttonIcon", import('../../../styled-system/types').SlotRecipeVariantRecord<"content" | "item" | "button" | "itemGroup" | "itemIcon" | "buttonIcon">>;
2
+ export declare const DropdownMenuStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"item" | "content" | "button" | "itemGroup" | "itemIcon" | "buttonIcon", import('../../../styled-system/types').SlotRecipeVariantRecord<"item" | "content" | "button" | "itemGroup" | "itemIcon" | "buttonIcon">>;
3
3
  export type MenuItemProps = {
4
4
  value: string;
5
5
  label: string;
@@ -92,19 +92,19 @@ type CircleLargeProps = {
92
92
  export declare const IconButton: React.ForwardRefExoticComponent<(Omit<{
93
93
  shape?: "circle" | "rectangle" | undefined;
94
94
  styleType?: "filled" | "outlined" | "ghost" | undefined;
95
- size?: "medium" | "small" | "large" | undefined;
95
+ size?: "small" | "large" | "medium" | undefined;
96
96
  } & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
97
97
  icon: React.ReactElement;
98
98
  } & RectangleProps, "ref"> | Omit<{
99
99
  shape?: "circle" | "rectangle" | undefined;
100
100
  styleType?: "filled" | "outlined" | "ghost" | undefined;
101
- size?: "medium" | "small" | "large" | undefined;
101
+ size?: "small" | "large" | "medium" | undefined;
102
102
  } & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
103
103
  icon: React.ReactElement;
104
104
  } & CircleProps, "ref"> | Omit<{
105
105
  shape?: "circle" | "rectangle" | undefined;
106
106
  styleType?: "filled" | "outlined" | "ghost" | undefined;
107
- size?: "medium" | "small" | "large" | undefined;
107
+ size?: "small" | "large" | "medium" | undefined;
108
108
  } & React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
109
109
  icon: React.ReactElement;
110
110
  } & CircleLargeProps, "ref">) & React.RefAttributes<HTMLButtonElement>>;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
- export declare const ListItemStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "description" | "title" | "badge" | "leftIcon" | "rightIcon" | "wrapper" | "textGroup", {
2
+ export declare const ListItemStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"title" | "description" | "root" | "badge" | "leftIcon" | "rightIcon" | "wrapper" | "textGroup", {
3
3
  isLargeLeftIcon: {
4
4
  true: {
5
5
  leftIcon: {
@@ -1,6 +1,6 @@
1
1
  import { DialogRootProps } from '@ark-ui/react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- declare const ModalDialogStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"content" | "description" | "title" | "backdrop" | "contentInner" | "closeTrigger" | "buttonWrapper", import('../../../styled-system/types').SlotRecipeVariantRecord<"content" | "description" | "title" | "backdrop" | "contentInner" | "closeTrigger" | "buttonWrapper">>;
3
+ declare const ModalDialogStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"title" | "description" | "content" | "backdrop" | "contentInner" | "closeTrigger" | "buttonWrapper", import('../../../styled-system/types').SlotRecipeVariantRecord<"title" | "description" | "content" | "backdrop" | "contentInner" | "closeTrigger" | "buttonWrapper">>;
4
4
  type Props = {
5
5
  isOpen: boolean;
6
6
  title: string;
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- declare const NotificationBadgeStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "text", {
3
+ declare const NotificationBadgeStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"text" | "root", {
4
4
  size: {
5
5
  small: {
6
6
  root: {
@@ -1,6 +1,6 @@
1
1
  import { default as React, ComponentProps } from 'react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- export declare const PaginationStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "item" | "ellipsis" | "prevTrigger" | "nextTrigger", {
3
+ export declare const PaginationStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"item" | "root" | "ellipsis" | "prevTrigger" | "nextTrigger", {
4
4
  size: {
5
5
  medium: {
6
6
  root: {
@@ -1,6 +1,6 @@
1
1
  import { ComboboxRootProps } from '@ark-ui/react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- export declare const SearchStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"input" | "icon" | "combobox" | "control" | "comboboxItem" | "iconBox" | "closeIcon", {
3
+ export declare const SearchStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"icon" | "input" | "combobox" | "control" | "comboboxItem" | "iconBox" | "closeIcon", {
4
4
  size: {
5
5
  medium: {
6
6
  iconBox: {
@@ -1,6 +1,6 @@
1
1
  import { SelectRootProps } from '@ark-ui/react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- export declare const SelectStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"content" | "root" | "item" | "valueText" | "iconBox" | "trigger", {
3
+ export declare const SelectStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"item" | "content" | "root" | "valueText" | "iconBox" | "trigger", {
4
4
  size: {
5
5
  medium: {
6
6
  root: {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { SerendieSymbolChevronDown as f } from "@serendie/symbols";
2
+ import { SerendieSymbolChevronDown as S } from "@serendie/symbols";
3
3
  import { List as v } from "../List/List.js";
4
4
  import { ListItem as w } from "../List/ListItem.js";
5
5
  import { createListCollection as _ } from "../../node_modules/@ark-ui/react/dist/components/collection/list-collection.js";
@@ -15,7 +15,7 @@ import { SelectValueText as P } from "../../node_modules/@ark-ui/react/dist/comp
15
15
  import { SelectPositioner as B } from "../../node_modules/@ark-ui/react/dist/components/select/select-positioner.js";
16
16
  import { SelectContent as I } from "../../node_modules/@ark-ui/react/dist/components/select/select-content.js";
17
17
  import { SelectItem as O } from "../../node_modules/@ark-ui/react/dist/components/select/select-item.js";
18
- const n = T({
18
+ const l = T({
19
19
  slots: ["root", "valueText", "trigger", "content", "item", "iconBox"],
20
20
  base: {
21
21
  root: {
@@ -94,8 +94,12 @@ const n = T({
94
94
  w: "40px",
95
95
  display: "flex",
96
96
  justifyContent: "center",
97
+ transition: "transform 0.2s",
97
98
  "[data-disabled] &": {
98
99
  color: "sd.system.color.interaction.disabledOnSurface"
100
+ },
101
+ "[data-state='open'] &": {
102
+ transform: "rotate(180deg)"
99
103
  }
100
104
  }
101
105
  },
@@ -163,7 +167,7 @@ const n = T({
163
167
  items: u = [],
164
168
  ...x
165
169
  }) => {
166
- const [t, h] = n.splitVariantProps(x), o = n(t), { collection: j, ...b } = h, l = _({
170
+ const [t, h] = l.splitVariantProps(x), o = l(t), { collection: j, ...b } = h, n = _({
167
171
  items: u,
168
172
  itemToString: (s) => s.label,
169
173
  itemToValue: (s) => s.value
@@ -172,7 +176,7 @@ const n = T({
172
176
  N,
173
177
  {
174
178
  ...b,
175
- collection: l,
179
+ collection: n,
176
180
  invalid: a,
177
181
  className: z(o.root, g),
178
182
  positioning: {
@@ -216,7 +220,7 @@ const n = T({
216
220
  className: o.valueText
217
221
  }
218
222
  ),
219
- /* @__PURE__ */ e(f, { className: o.iconBox })
223
+ /* @__PURE__ */ e(S, { className: o.iconBox })
220
224
  ] }) }),
221
225
  a && m && /* @__PURE__ */ e(
222
226
  "div",
@@ -231,7 +235,7 @@ const n = T({
231
235
  children: m
232
236
  }
233
237
  ),
234
- /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(I, { className: o.content, children: /* @__PURE__ */ e(v, { children: l.items.map((s, S) => /* @__PURE__ */ e(O, { item: s, children: /* @__PURE__ */ e(
238
+ /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(I, { className: o.content, children: /* @__PURE__ */ e(v, { children: n.items.map((s, f) => /* @__PURE__ */ e(O, { item: s, children: /* @__PURE__ */ e(
235
239
  w,
236
240
  {
237
241
  title: s.label,
@@ -239,12 +243,12 @@ const n = T({
239
243
  className: o.item,
240
244
  size: t.size == "small" ? "small" : void 0
241
245
  }
242
- ) }, S)) }) }) }) })
246
+ ) }, f)) }) }) }) })
243
247
  ]
244
248
  }
245
249
  );
246
250
  };
247
251
  export {
248
252
  M as Select,
249
- n as SelectStyle
253
+ l as SelectStyle
250
254
  };
@@ -1,6 +1,6 @@
1
1
  import { Switch as ArkSwitch, SwitchRootProps } from '@ark-ui/react';
2
2
  import { RecipeVariantProps } from '../../../styled-system/css';
3
- export declare const SwitchStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "label" | "helperText" | "textGroup" | "control" | "thumb", import('../../../styled-system/types').SlotRecipeVariantRecord<"root" | "label" | "helperText" | "textGroup" | "control" | "thumb">>;
3
+ export declare const SwitchStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"label" | "root" | "helperText" | "textGroup" | "control" | "thumb", import('../../../styled-system/types').SlotRecipeVariantRecord<"label" | "root" | "helperText" | "textGroup" | "control" | "thumb">>;
4
4
  type SwitchItemProps = {
5
5
  label: string;
6
6
  helperText?: string;
@@ -1,3 +1,3 @@
1
1
  import { Tabs as ArkTabs } from '@ark-ui/react';
2
- export declare const TabsStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "list", import('../../../styled-system/types').SlotRecipeVariantRecord<"root" | "list">>;
2
+ export declare const TabsStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"list" | "root", import('../../../styled-system/types').SlotRecipeVariantRecord<"list" | "root">>;
3
3
  export declare const Tabs: ({ children, className, ...props }: ArkTabs.RootProps) => import("react/jsx-runtime").JSX.Element;
@@ -6,4 +6,5 @@ export declare const TextArea: React.ForwardRefExoticComponent<{
6
6
  invalidMessage?: string;
7
7
  autoAdjustHeight?: boolean;
8
8
  requiredLabel?: string;
9
+ fullWidth?: boolean;
9
10
  } & Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
@@ -93,9 +93,16 @@ const p = C({
93
93
  minHeight: "2lh"
94
94
  }
95
95
  }
96
+ },
97
+ fullWidth: {
98
+ true: {
99
+ root: {
100
+ width: "100%"
101
+ }
102
+ }
96
103
  }
97
104
  }
98
- }), W = w(
105
+ }), A = w(
99
106
  ({
100
107
  placeholder: y,
101
108
  label: r,
@@ -104,11 +111,11 @@ const p = C({
104
111
  requiredLabel: u,
105
112
  invalidMessage: o,
106
113
  invalid: a,
107
- disabled: n,
114
+ disabled: l,
108
115
  className: g,
109
- ...l
110
- }, x) => {
111
- const h = c.useRef(null), b = _(h, x), [f, S] = p.splitVariantProps(l), e = p(f), v = t || a && o, m = l.id || c.useId();
116
+ ...n
117
+ }, h) => {
118
+ const x = c.useRef(null), b = _(x, h), [f, S] = p.splitVariantProps(n), e = p(f), v = t || a && o, m = n.id || c.useId();
112
119
  return /* @__PURE__ */ i("div", { className: N(e.root, g), children: [
113
120
  r ? /* @__PURE__ */ i("label", { className: e.label, htmlFor: m, children: [
114
121
  r,
@@ -119,7 +126,7 @@ const p = C({
119
126
  {
120
127
  className: e.wrapper,
121
128
  "data-invalid": a ? !0 : void 0,
122
- "data-disabled": n ? !0 : void 0,
129
+ "data-disabled": l ? !0 : void 0,
123
130
  children: /* @__PURE__ */ s(
124
131
  "textarea",
125
132
  {
@@ -127,7 +134,7 @@ const p = C({
127
134
  id: m,
128
135
  placeholder: y,
129
136
  required: d,
130
- disabled: n,
137
+ disabled: l,
131
138
  className: e.textarea,
132
139
  ...S
133
140
  }
@@ -142,5 +149,5 @@ const p = C({
142
149
  }
143
150
  );
144
151
  export {
145
- W as TextArea
152
+ A as TextArea
146
153
  };
@@ -7,4 +7,6 @@ export declare const TextField: React.ForwardRefExoticComponent<{
7
7
  leftContent?: React.ReactNode;
8
8
  rightContent?: React.ReactNode;
9
9
  requiredLabel?: string;
10
+ } & {
11
+ fullWidth?: boolean | undefined;
10
12
  } & Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { SerendieSymbolAlertCircle as T, SerendieSymbolClose as W } from "@serendie/symbols";
3
3
  import q from "../../node_modules/merge-refs/dist/esm/index.js";
4
4
  import m, { forwardRef as z } from "react";
5
- import { textFieldRecipe as x } from "../../styled-system/recipes/text-field-recipe.js";
5
+ import { textFieldRecipe as x } from "../../recipes/textFieldRecipe.js";
6
6
  import { cx as B } from "../../styled-system/css/cx.js";
7
7
  import { css as b } from "../../styled-system/css/css.js";
8
8
  const M = z(
@@ -23,7 +23,9 @@ const M = z(
23
23
  rightContent: p,
24
24
  ...l
25
25
  }, y) => {
26
- const o = m.useRef(null), C = q(o, y), [P, _] = x.splitVariantProps(l), t = x(P), j = i || a && c, [I, k] = m.useState(l.defaultValue || f), v = l.id || m.useId(), A = () => {
26
+ const o = m.useRef(null), C = q(o, y), [P, _] = x.splitVariantProps({
27
+ ...l
28
+ }), t = x(P), j = i || a && c, [I, k] = m.useState(l.defaultValue || f), v = l.id || m.useId(), A = () => {
27
29
  var R;
28
30
  const s = {
29
31
  target: { value: "" }
@@ -1,5 +1,5 @@
1
1
  import { createToaster } from '@ark-ui/react';
2
- export declare const ToastStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "icon" | "text" | "textGroup", {
2
+ export declare const ToastStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"icon" | "text" | "root" | "textGroup", {
3
3
  variant: {
4
4
  default: {
5
5
  root: {