@serendie/ui 0.2.2 → 0.3.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.
Files changed (124) hide show
  1. package/dist/components/Accordion/AccordionGroup.d.ts +2 -0
  2. package/dist/components/Accordion/AccordionGroup.js +15 -0
  3. package/dist/components/Accordion/index.d.ts +2 -1
  4. package/dist/components/Accordion/index.js +3 -1
  5. package/dist/components/{Avatar.d.ts → Avatar/Avatar.d.ts} +2 -2
  6. package/dist/components/{Avatar.js → Avatar/Avatar.js} +10 -10
  7. package/dist/components/Avatar/index.d.ts +1 -0
  8. package/dist/components/Avatar/index.js +5 -0
  9. package/dist/components/{Badge.d.ts → Badge/Badge.d.ts} +2 -2
  10. package/dist/components/{Badge.js → Badge/Badge.js} +7 -7
  11. package/dist/components/Badge/index.d.ts +1 -0
  12. package/dist/components/Badge/index.js +6 -0
  13. package/dist/components/{Banner.d.ts → Banner/Banner.d.ts} +2 -2
  14. package/dist/components/{Banner.js → Banner/Banner.js} +8 -8
  15. package/dist/components/Banner/index.d.ts +1 -0
  16. package/dist/components/Banner/index.js +4 -0
  17. package/dist/components/{BottomNavigation.js → BottomNavigation/BottomNavigation.js} +3 -3
  18. package/dist/components/{BottomNavigationItem.d.ts → BottomNavigation/BottomNavigationItem.d.ts} +2 -2
  19. package/dist/components/{BottomNavigationItem.js → BottomNavigation/BottomNavigationItem.js} +5 -5
  20. package/dist/components/BottomNavigation/index.d.ts +2 -0
  21. package/dist/components/BottomNavigation/index.js +7 -0
  22. package/dist/components/{Button.d.ts → Button/Button.d.ts} +1 -1
  23. package/dist/components/{Button.js → Button/Button.js} +28 -56
  24. package/dist/components/Button/index.d.ts +1 -0
  25. package/dist/components/Button/index.js +5 -0
  26. package/dist/components/{CheckBox.d.ts → CheckBox/CheckBox.d.ts} +2 -2
  27. package/dist/components/{CheckBox.js → CheckBox/CheckBox.js} +11 -11
  28. package/dist/components/CheckBox/index.d.ts +1 -0
  29. package/dist/components/CheckBox/index.js +8 -0
  30. package/dist/components/ChoiceBox/ChoiceBox.d.ts +8 -0
  31. package/dist/components/ChoiceBox/ChoiceBox.js +83 -0
  32. package/dist/components/ChoiceBox/index.d.ts +1 -0
  33. package/dist/components/ChoiceBox/index.js +5 -0
  34. package/dist/components/{DashboardWidget.js → DashboardWidget/DashboardWidget.js} +8 -8
  35. package/dist/components/DashboardWidget/index.d.ts +1 -0
  36. package/dist/components/DashboardWidget/index.js +4 -0
  37. package/dist/components/{Divider.d.ts → Divider/Divider.d.ts} +2 -2
  38. package/dist/components/{Divider.js → Divider/Divider.js} +4 -4
  39. package/dist/components/Divider/index.d.ts +1 -0
  40. package/dist/components/Divider/index.js +5 -0
  41. package/dist/components/{Drawer.d.ts → Drawer/Drawer.d.ts} +2 -2
  42. package/dist/components/{Drawer.js → Drawer/Drawer.js} +15 -15
  43. package/dist/components/Drawer/index.d.ts +1 -0
  44. package/dist/components/Drawer/index.js +4 -0
  45. package/dist/components/{DropdownMenu.d.ts → DropdownMenu/DropdownMenu.d.ts} +1 -1
  46. package/dist/components/{DropdownMenu.js → DropdownMenu/DropdownMenu.js} +41 -68
  47. package/dist/components/DropdownMenu/index.d.ts +1 -0
  48. package/dist/components/DropdownMenu/index.js +5 -0
  49. package/dist/components/{IconButton.d.ts → IconButton/IconButton.d.ts} +1 -1
  50. package/dist/components/{IconButton.js → IconButton/IconButton.js} +4 -4
  51. package/dist/components/IconButton/index.d.ts +1 -0
  52. package/dist/components/IconButton/index.js +5 -0
  53. package/dist/components/{ListItem.d.ts → List/ListItem.d.ts} +1 -1
  54. package/dist/components/{ListItem.js → List/ListItem.js} +5 -5
  55. package/dist/components/List/index.d.ts +2 -0
  56. package/dist/components/List/index.js +7 -0
  57. package/dist/components/{ModalDialog.d.ts → ModalDialog/ModalDialog.d.ts} +2 -2
  58. package/dist/components/{ModalDialog.js → ModalDialog/ModalDialog.js} +13 -13
  59. package/dist/components/ModalDialog/index.d.ts +1 -0
  60. package/dist/components/ModalDialog/index.js +4 -0
  61. package/dist/components/{NotificationBadge.d.ts → NotificationBadge/NotificationBadge.d.ts} +2 -2
  62. package/dist/components/{NotificationBadge.js → NotificationBadge/NotificationBadge.js} +4 -4
  63. package/dist/components/NotificationBadge/index.d.ts +1 -0
  64. package/dist/components/NotificationBadge/index.js +4 -0
  65. package/dist/components/{PasswordField.d.ts → PasswordField/PasswordField.d.ts} +1 -1
  66. package/dist/components/{PasswordField.js → PasswordField/PasswordField.js} +3 -3
  67. package/dist/components/PasswordField/index.d.ts +1 -0
  68. package/dist/components/PasswordField/index.js +4 -0
  69. package/dist/components/{ProgressIndicator.d.ts → ProgressIndicator/ProgressIndicator.d.ts} +2 -2
  70. package/dist/components/{ProgressIndicator.js → ProgressIndicator/ProgressIndicator.js} +4 -4
  71. package/dist/components/ProgressIndicator/index.d.ts +1 -0
  72. package/dist/components/ProgressIndicator/index.js +5 -0
  73. package/dist/components/{RadioButton.d.ts → RadioButton/RadioButton.d.ts} +2 -2
  74. package/dist/components/{RadioButton.js → RadioButton/RadioButton.js} +11 -11
  75. package/dist/components/{RadioGroup.js → RadioButton/RadioGroup.js} +1 -1
  76. package/dist/components/RadioButton/index.d.ts +2 -0
  77. package/dist/components/RadioButton/index.js +10 -0
  78. package/dist/components/{Search.d.ts → Search/Search.d.ts} +2 -2
  79. package/dist/components/{Search.js → Search/Search.js} +17 -17
  80. package/dist/components/Search/index.d.ts +1 -0
  81. package/dist/components/Search/index.js +5 -0
  82. package/dist/components/{Select.d.ts → Select/Select.d.ts} +2 -2
  83. package/dist/components/{Select.js → Select/Select.js} +22 -22
  84. package/dist/components/Select/index.d.ts +1 -0
  85. package/dist/components/Select/index.js +5 -0
  86. package/dist/components/{Switch.d.ts → Switch/Switch.d.ts} +2 -2
  87. package/dist/components/{Switch.js → Switch/Switch.js} +9 -9
  88. package/dist/components/Switch/index.d.ts +1 -0
  89. package/dist/components/Switch/index.js +5 -0
  90. package/dist/components/{TabItem.d.ts → Tabs/TabItem.d.ts} +2 -2
  91. package/dist/components/{TabItem.js → Tabs/TabItem.js} +6 -6
  92. package/dist/components/Tabs/Tabs.d.ts +3 -0
  93. package/dist/components/{Tabs.js → Tabs/Tabs.js} +6 -6
  94. package/dist/components/Tabs/index.d.ts +2 -0
  95. package/dist/components/Tabs/index.js +8 -0
  96. package/dist/components/{TextArea.js → TextArea/TextArea.js} +8 -8
  97. package/dist/components/TextArea/index.d.ts +1 -0
  98. package/dist/components/TextArea/index.js +4 -0
  99. package/dist/components/{TextField.js → TextField/TextField.js} +13 -13
  100. package/dist/components/TextField/index.d.ts +1 -0
  101. package/dist/components/TextField/index.js +4 -0
  102. package/dist/components/{Toast.d.ts → Toast/Toast.d.ts} +1 -1
  103. package/dist/components/{Toast.js → Toast/Toast.js} +10 -10
  104. package/dist/components/Toast/index.d.ts +1 -0
  105. package/dist/components/Toast/index.js +6 -0
  106. package/dist/components/{TopAppBar.d.ts → TopAppBar/TopAppBar.d.ts} +3 -3
  107. package/dist/components/{TopAppBar.js → TopAppBar/TopAppBar.js} +5 -5
  108. package/dist/components/TopAppBar/index.d.ts +1 -0
  109. package/dist/components/TopAppBar/index.js +4 -0
  110. package/dist/index.d.ts +27 -32
  111. package/dist/index.js +35 -35
  112. package/package.json +1 -1
  113. package/dist/components/AccordionGroup.d.ts +0 -2
  114. package/dist/components/AccordionGroup.js +0 -15
  115. package/dist/components/ChoiceBox.d.ts +0 -8
  116. package/dist/components/ChoiceBox.js +0 -83
  117. package/dist/components/Tabs.d.ts +0 -3
  118. /package/dist/components/{BottomNavigation.d.ts → BottomNavigation/BottomNavigation.d.ts} +0 -0
  119. /package/dist/components/{DashboardWidget.d.ts → DashboardWidget/DashboardWidget.d.ts} +0 -0
  120. /package/dist/components/{List.d.ts → List/List.d.ts} +0 -0
  121. /package/dist/components/{List.js → List/List.js} +0 -0
  122. /package/dist/components/{RadioGroup.d.ts → RadioButton/RadioGroup.d.ts} +0 -0
  123. /package/dist/components/{TextArea.d.ts → TextArea/TextArea.d.ts} +0 -0
  124. /package/dist/components/{TextField.d.ts → TextField/TextField.d.ts} +0 -0
@@ -1,22 +1,22 @@
1
1
  import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
- import "../styled-system/css/css.js";
3
- import { cx as c } from "../styled-system/css/cx.js";
4
- import "../styled-system/helpers.js";
5
- import { sva as p } from "../styled-system/css/sva.js";
2
+ import { SerendieSymbol as m } from "../../node_modules/@serendie/symbols/dist/symbols2.js";
3
+ import "../../styled-system/css/css.js";
4
+ import { cx as c } from "../../styled-system/css/cx.js";
5
+ import "../../styled-system/helpers.js";
6
+ import { sva as p } from "../../styled-system/css/sva.js";
6
7
  import "react";
7
- import "../styled-system/jsx/is-valid-prop.js";
8
- import { Box as g } from "../styled-system/jsx/box.js";
9
- import { SerendieSymbol as m } from "../node_modules/@serendie/symbols/dist/symbols2.js";
10
- import { Portal as y } from "../node_modules/@ark-ui/react/dist/components/portal/portal.js";
11
- import { ComboboxRoot as x } from "../node_modules/@ark-ui/react/dist/components/combobox/combobox-root.js";
12
- import { ComboboxControl as b } from "../node_modules/@ark-ui/react/dist/components/combobox/combobox-control.js";
13
- import { ComboboxInput as u } from "../node_modules/@ark-ui/react/dist/components/combobox/combobox-input.js";
14
- import { ComboboxTrigger as h } from "../node_modules/@ark-ui/react/dist/components/combobox/combobox-trigger.js";
15
- import { ComboboxPositioner as f } from "../node_modules/@ark-ui/react/dist/components/combobox/combobox-positioner.js";
16
- import { ComboboxContent as S } from "../node_modules/@ark-ui/react/dist/components/combobox/combobox-content.js";
17
- import { ComboboxItemGroup as w } from "../node_modules/@ark-ui/react/dist/components/combobox/combobox-item-group.js";
18
- import { ComboboxItem as C } from "../node_modules/@ark-ui/react/dist/components/combobox/combobox-item.js";
19
- import { ComboboxItemText as I } from "../node_modules/@ark-ui/react/dist/components/combobox/combobox-item-text.js";
8
+ import "../../styled-system/jsx/is-valid-prop.js";
9
+ import { Box as g } from "../../styled-system/jsx/box.js";
10
+ import { Portal as y } from "../../node_modules/@ark-ui/react/dist/components/portal/portal.js";
11
+ import { ComboboxRoot as x } from "../../node_modules/@ark-ui/react/dist/components/combobox/combobox-root.js";
12
+ import { ComboboxControl as b } from "../../node_modules/@ark-ui/react/dist/components/combobox/combobox-control.js";
13
+ import { ComboboxInput as u } from "../../node_modules/@ark-ui/react/dist/components/combobox/combobox-input.js";
14
+ import { ComboboxTrigger as h } from "../../node_modules/@ark-ui/react/dist/components/combobox/combobox-trigger.js";
15
+ import { ComboboxPositioner as f } from "../../node_modules/@ark-ui/react/dist/components/combobox/combobox-positioner.js";
16
+ import { ComboboxContent as S } from "../../node_modules/@ark-ui/react/dist/components/combobox/combobox-content.js";
17
+ import { ComboboxItemGroup as w } from "../../node_modules/@ark-ui/react/dist/components/combobox/combobox-item-group.js";
18
+ import { ComboboxItem as C } from "../../node_modules/@ark-ui/react/dist/components/combobox/combobox-item.js";
19
+ import { ComboboxItemText as I } from "../../node_modules/@ark-ui/react/dist/components/combobox/combobox-item-text.js";
20
20
  const a = p({
21
21
  slots: [
22
22
  "input",
@@ -0,0 +1 @@
1
+ export * from './Search.tsx';
@@ -0,0 +1,5 @@
1
+ import { Search as S, SearchStyle as a } from "./Search.js";
2
+ export {
3
+ S as Search,
4
+ a as SearchStyle
5
+ };
@@ -1,6 +1,6 @@
1
1
  import { SelectRootProps } from '@ark-ui/react';
2
- import { RecipeVariantProps } from '../../styled-system/css';
3
- export declare const SelectStyle: import('../../styled-system/types').SlotRecipeRuntimeFn<"content" | "item" | "root" | "iconBox" | "valueText" | "trigger", {
2
+ import { RecipeVariantProps } from '../../../styled-system/css';
3
+ export declare const SelectStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"content" | "item" | "root" | "iconBox" | "valueText" | "trigger", {
4
4
  size: {
5
5
  medium: {
6
6
  root: {
@@ -1,22 +1,22 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { css as d } from "../styled-system/css/css.js";
3
- import { cx as h } from "../styled-system/css/cx.js";
4
- import "../styled-system/helpers.js";
5
- import { sva as b } from "../styled-system/css/sva.js";
6
- import { useId as f } from "react";
7
- import { ListItem as S } from "./ListItem.js";
8
- import { List as v } from "./List.js";
9
- import { SerendieSymbol as w } from "../node_modules/@serendie/symbols/dist/symbols2.js";
10
- import { Portal as _ } from "../node_modules/@ark-ui/react/dist/components/portal/portal.js";
11
- import { SelectRoot as C } from "../node_modules/@ark-ui/react/dist/components/select/select-root.js";
12
- import { SelectLabel as T } from "../node_modules/@ark-ui/react/dist/components/select/select-label.js";
13
- import { SelectControl as N } from "../node_modules/@ark-ui/react/dist/components/select/select-control.js";
14
- import { SelectTrigger as z } from "../node_modules/@ark-ui/react/dist/components/select/select-trigger.js";
15
- import { SelectValueText as R } from "../node_modules/@ark-ui/react/dist/components/select/select-value-text.js";
16
- import { SelectPositioner as I } from "../node_modules/@ark-ui/react/dist/components/select/select-positioner.js";
17
- import { SelectContent as V } from "../node_modules/@ark-ui/react/dist/components/select/select-content.js";
18
- import { SelectItem as B } from "../node_modules/@ark-ui/react/dist/components/select/select-item.js";
19
- const l = b({
2
+ import { SerendieSymbol as h } from "../../node_modules/@serendie/symbols/dist/symbols2.js";
3
+ import { useId as b } from "react";
4
+ import { css as d } from "../../styled-system/css/css.js";
5
+ import { cx as f } from "../../styled-system/css/cx.js";
6
+ import "../../styled-system/helpers.js";
7
+ import { sva as S } from "../../styled-system/css/sva.js";
8
+ import { List as v } from "../List/List.js";
9
+ import { ListItem as w } from "../List/ListItem.js";
10
+ import { Portal as _ } from "../../node_modules/@ark-ui/react/dist/components/portal/portal.js";
11
+ import { SelectRoot as C } from "../../node_modules/@ark-ui/react/dist/components/select/select-root.js";
12
+ import { SelectLabel as T } from "../../node_modules/@ark-ui/react/dist/components/select/select-label.js";
13
+ import { SelectControl as N } from "../../node_modules/@ark-ui/react/dist/components/select/select-control.js";
14
+ import { SelectTrigger as z } from "../../node_modules/@ark-ui/react/dist/components/select/select-trigger.js";
15
+ import { SelectValueText as R } from "../../node_modules/@ark-ui/react/dist/components/select/select-value-text.js";
16
+ import { SelectPositioner as I } from "../../node_modules/@ark-ui/react/dist/components/select/select-positioner.js";
17
+ import { SelectContent as V } from "../../node_modules/@ark-ui/react/dist/components/select/select-content.js";
18
+ import { SelectItem as B } from "../../node_modules/@ark-ui/react/dist/components/select/select-item.js";
19
+ const l = S({
20
20
  slots: ["root", "valueText", "trigger", "content", "item", "iconBox"],
21
21
  base: {
22
22
  root: {
@@ -162,13 +162,13 @@ const l = b({
162
162
  className: y,
163
163
  ...n
164
164
  }) => {
165
- const [o, g] = l.splitVariantProps(n), s = l(o), u = f();
165
+ const [o, g] = l.splitVariantProps(n), s = l(o), u = b();
166
166
  return /* @__PURE__ */ i(
167
167
  C,
168
168
  {
169
169
  ...g,
170
170
  invalid: m,
171
- className: h(s.root, y),
171
+ className: f(s.root, y),
172
172
  positioning: {
173
173
  sameWidth: !0,
174
174
  offset: {
@@ -212,7 +212,7 @@ const l = b({
212
212
  }
213
213
  ),
214
214
  /* @__PURE__ */ e(
215
- w,
215
+ h,
216
216
  {
217
217
  name: "chevron-down",
218
218
  className: s.iconBox,
@@ -234,7 +234,7 @@ const l = b({
234
234
  }
235
235
  ),
236
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,
237
+ w,
238
238
  {
239
239
  title: t.label,
240
240
  value: t.value,
@@ -0,0 +1 @@
1
+ export * from './Select.tsx';
@@ -0,0 +1,5 @@
1
+ import { Select as l, SelectStyle as S } from "./Select.js";
2
+ export {
3
+ l as Select,
4
+ S as SelectStyle
5
+ };
@@ -1,6 +1,6 @@
1
1
  import { Switch as ArkSwitch, SwitchRootProps } from '@ark-ui/react';
2
- import { RecipeVariantProps } from '../../styled-system/css';
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">>;
2
+ import { RecipeVariantProps } from '../../../styled-system/css';
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,14 +1,14 @@
1
1
  import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as y } from "react";
3
- import { css as u } from "../styled-system/css/css.js";
4
- import { cx as t } from "../styled-system/css/cx.js";
5
- import "../styled-system/helpers.js";
6
- import { sva as b } from "../styled-system/css/sva.js";
7
- import { SwitchRoot as h } from "../node_modules/@ark-ui/react/dist/components/switch/switch-root.js";
8
- import { SwitchLabel as i } from "../node_modules/@ark-ui/react/dist/components/switch/switch-label.js";
9
- import { SwitchControl as g } from "../node_modules/@ark-ui/react/dist/components/switch/switch-control.js";
10
- import { SwitchThumb as f } from "../node_modules/@ark-ui/react/dist/components/switch/switch-thumb.js";
11
- import { SwitchHiddenInput as x } from "../node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js";
3
+ import { css as u } from "../../styled-system/css/css.js";
4
+ import { cx as t } from "../../styled-system/css/cx.js";
5
+ import "../../styled-system/helpers.js";
6
+ import { sva as b } from "../../styled-system/css/sva.js";
7
+ import { SwitchRoot as h } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-root.js";
8
+ import { SwitchLabel as i } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-label.js";
9
+ import { SwitchControl as g } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-control.js";
10
+ import { SwitchThumb as f } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-thumb.js";
11
+ import { SwitchHiddenInput as x } from "../../node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js";
12
12
  const n = b({
13
13
  slots: ["root", "control", "thumb", "label", "textGroup", "helperText"],
14
14
  base: {
@@ -0,0 +1 @@
1
+ export * from './Switch.tsx';
@@ -0,0 +1,5 @@
1
+ import { Switch as c, SwitchStyle as e } from "./Switch.js";
2
+ export {
3
+ c as Switch,
4
+ e as SwitchStyle
5
+ };
@@ -1,6 +1,6 @@
1
1
  import { Tabs as ArkTabs } from '@ark-ui/react';
2
- import { RecipeVariantProps } from '../../styled-system/css';
3
- export declare const TabItemStyle: import('../../styled-system/types').SlotRecipeRuntimeFn<"badge" | "dot" | "trigger" | "badgeBox", import('../../styled-system/types').SlotRecipeVariantRecord<"badge" | "dot" | "trigger" | "badgeBox">>;
2
+ import { RecipeVariantProps } from '../../../styled-system/css';
3
+ export declare const TabItemStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"badge" | "dot" | "trigger" | "badgeBox", import('../../../styled-system/types').SlotRecipeVariantRecord<"badge" | "dot" | "trigger" | "badgeBox">>;
4
4
  type TabItemBaseProps = {
5
5
  title: string;
6
6
  value: string;
@@ -1,10 +1,10 @@
1
1
  import { jsxs as y, jsx as o } from "react/jsx-runtime";
2
- import "../styled-system/css/css.js";
3
- import { cx as b } from "../styled-system/css/cx.js";
4
- import "../styled-system/helpers.js";
5
- import { sva as u } from "../styled-system/css/sva.js";
6
- import { NotificationBadge as i } from "./NotificationBadge.js";
7
- import { TabTrigger as h } from "../node_modules/@ark-ui/react/dist/components/tabs/tab-trigger.js";
2
+ import "../../styled-system/css/css.js";
3
+ import { cx as b } from "../../styled-system/css/cx.js";
4
+ import "../../styled-system/helpers.js";
5
+ import { sva as u } from "../../styled-system/css/sva.js";
6
+ import { NotificationBadge as i } from "../NotificationBadge/NotificationBadge.js";
7
+ import { TabTrigger as h } from "../../node_modules/@ark-ui/react/dist/components/tabs/tab-trigger.js";
8
8
  const l = u({
9
9
  slots: ["trigger", "dot", "badgeBox", "badge"],
10
10
  base: {
@@ -0,0 +1,3 @@
1
+ import { Tabs as ArkTabs } from '@ark-ui/react';
2
+ export declare const TabsStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"list" | "root", import('../../../styled-system/types').SlotRecipeVariantRecord<"list" | "root">>;
3
+ export declare const Tabs: ({ children, className, ...props }: ArkTabs.RootProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import "../styled-system/css/css.js";
3
- import { cx as n } from "../styled-system/css/cx.js";
4
- import "../styled-system/helpers.js";
5
- import { sva as l } from "../styled-system/css/sva.js";
6
- import { TabsRoot as p } from "../node_modules/@ark-ui/react/dist/components/tabs/tabs-root.js";
7
- import { TabList as c } from "../node_modules/@ark-ui/react/dist/components/tabs/tab-list.js";
2
+ import "../../styled-system/css/css.js";
3
+ import { cx as n } from "../../styled-system/css/cx.js";
4
+ import "../../styled-system/helpers.js";
5
+ import { sva as l } from "../../styled-system/css/sva.js";
6
+ import { TabsRoot as p } from "../../node_modules/@ark-ui/react/dist/components/tabs/tabs-root.js";
7
+ import { TabList as c } from "../../node_modules/@ark-ui/react/dist/components/tabs/tab-list.js";
8
8
  const o = l({
9
9
  slots: ["root", "list"],
10
10
  base: {
@@ -0,0 +1,2 @@
1
+ export * from './Tabs.tsx';
2
+ export * from './TabItem.tsx';
@@ -0,0 +1,8 @@
1
+ import { Tabs as a, TabsStyle as b } from "./Tabs.js";
2
+ import { TabItem as o, TabItemStyle as r } from "./TabItem.js";
3
+ export {
4
+ o as TabItem,
5
+ r as TabItemStyle,
6
+ a as Tabs,
7
+ b as TabsStyle
8
+ };
@@ -1,10 +1,10 @@
1
1
  import { jsxs as a, jsx as s } from "react/jsx-runtime";
2
- import p, { forwardRef as v } from "react";
3
- import _ from "../node_modules/merge-refs/dist/esm/index.js";
4
- import "../styled-system/css/css.js";
5
- import { cx as w } from "../styled-system/css/cx.js";
6
- import "../styled-system/helpers.js";
7
- import { sva as C } from "../styled-system/css/sva.js";
2
+ import v from "../../node_modules/merge-refs/dist/esm/index.js";
3
+ import p, { forwardRef as _ } from "react";
4
+ import "../../styled-system/css/css.js";
5
+ import { cx as w } from "../../styled-system/css/cx.js";
6
+ import "../../styled-system/helpers.js";
7
+ import { sva as C } from "../../styled-system/css/sva.js";
8
8
  const c = C({
9
9
  slots: [
10
10
  "root",
@@ -97,7 +97,7 @@ const c = C({
97
97
  }
98
98
  }
99
99
  }
100
- }), j = v(
100
+ }), j = _(
101
101
  ({
102
102
  placeholder: y,
103
103
  label: r,
@@ -109,7 +109,7 @@ const c = C({
109
109
  className: u,
110
110
  ...l
111
111
  }, g) => {
112
- const x = p.useRef(null), h = _(x, g), [b, f] = c.splitVariantProps(l), e = c(b), S = t || i && o, m = l.id || p.useId();
112
+ const x = p.useRef(null), h = v(x, g), [b, f] = c.splitVariantProps(l), e = c(b), S = t || i && o, m = l.id || p.useId();
113
113
  return /* @__PURE__ */ a("div", { className: w(e.root, u), children: [
114
114
  r ? /* @__PURE__ */ a("label", { className: e.label, htmlFor: m, children: [
115
115
  r,
@@ -0,0 +1 @@
1
+ export * from './TextArea.tsx';
@@ -0,0 +1,4 @@
1
+ import { TextArea as o } from "./TextArea.js";
2
+ export {
3
+ o as TextArea
4
+ };
@@ -1,11 +1,11 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import m, { forwardRef as j } from "react";
3
- import q from "../node_modules/merge-refs/dist/esm/index.js";
4
- import { css as v } from "../styled-system/css/css.js";
5
- import { cx as z } from "../styled-system/css/cx.js";
6
- import "../styled-system/helpers.js";
7
- import { sva as L } from "../styled-system/css/sva.js";
8
- import { SerendieSymbol as S } from "../node_modules/@serendie/symbols/dist/symbols2.js";
2
+ import { SerendieSymbol as v } from "../../node_modules/@serendie/symbols/dist/symbols2.js";
3
+ import j from "../../node_modules/merge-refs/dist/esm/index.js";
4
+ import m, { forwardRef as q } from "react";
5
+ import { css as S } from "../../styled-system/css/css.js";
6
+ import { cx as z } from "../../styled-system/css/cx.js";
7
+ import "../../styled-system/helpers.js";
8
+ import { sva as L } from "../../styled-system/css/sva.js";
9
9
  const C = L({
10
10
  slots: [
11
11
  "root",
@@ -103,7 +103,7 @@ const C = L({
103
103
  color: "sd.system.color.impression.negative"
104
104
  }
105
105
  }
106
- }), K = j(
106
+ }), K = q(
107
107
  ({
108
108
  placeholder: N,
109
109
  label: c,
@@ -120,7 +120,7 @@ const C = L({
120
120
  rightContent: h,
121
121
  ...t
122
122
  }, R) => {
123
- const r = m.useRef(null), W = q(r, R), [F, k] = C.splitVariantProps(t), s = C(F), T = a || o && d, [V, I] = m.useState(t.defaultValue || y), x = t.id || m.useId(), P = () => {
123
+ const r = m.useRef(null), W = j(r, R), [F, k] = C.splitVariantProps(t), s = C(F), T = a || o && d, [V, I] = m.useState(t.defaultValue || y), x = t.id || m.useId(), P = () => {
124
124
  var b;
125
125
  const i = {
126
126
  target: { value: "" }
@@ -161,18 +161,18 @@ const C = L({
161
161
  (o ? /* @__PURE__ */ e(
162
162
  "span",
163
163
  {
164
- className: v({
164
+ className: S({
165
165
  color: "sd.system.color.impression.negative"
166
166
  }),
167
- children: /* @__PURE__ */ e(S, { name: "alert-circle", size: 20 })
167
+ children: /* @__PURE__ */ e(v, { name: "alert-circle", size: 20 })
168
168
  }
169
169
  ) : V ? /* @__PURE__ */ e(
170
170
  "button",
171
171
  {
172
- className: v({ cursor: "pointer" }),
172
+ className: S({ cursor: "pointer" }),
173
173
  onClick: P,
174
174
  "aria-label": "値をクリア",
175
- children: /* @__PURE__ */ e(S, { name: "close", size: 20 })
175
+ children: /* @__PURE__ */ e(v, { name: "close", size: 20 })
176
176
  }
177
177
  ) : null) })
178
178
  ]
@@ -0,0 +1 @@
1
+ export * from './TextField.tsx';
@@ -0,0 +1,4 @@
1
+ import { TextField as r } from "./TextField.js";
2
+ export {
3
+ r as TextField
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { createToaster } from '@ark-ui/react';
2
- export declare const ToastStyle: import('../../styled-system/types').SlotRecipeRuntimeFn<"icon" | "text" | "root" | "textGroup", {
2
+ export declare const ToastStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"icon" | "text" | "root" | "textGroup", {
3
3
  variant: {
4
4
  default: {
5
5
  root: {
@@ -1,13 +1,13 @@
1
1
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
2
- import "../styled-system/css/css.js";
3
- import "../styled-system/helpers.js";
4
- import { sva as c } from "../styled-system/css/sva.js";
5
- import { SerendieSymbol as m } from "../node_modules/@serendie/symbols/dist/symbols2.js";
6
- import { createToaster as l } from "../node_modules/@ark-ui/react/dist/components/toast/create-toaster.js";
7
- import { Toaster as d } from "../node_modules/@ark-ui/react/dist/components/toast/toaster.js";
8
- import { ToastRoot as p } from "../node_modules/@ark-ui/react/dist/components/toast/toast-root.js";
9
- import { ToastTitle as y } from "../node_modules/@ark-ui/react/dist/components/toast/toast-title.js";
10
- const x = c({
2
+ import { SerendieSymbol as c } from "../../node_modules/@serendie/symbols/dist/symbols2.js";
3
+ import "../../styled-system/css/css.js";
4
+ import "../../styled-system/helpers.js";
5
+ import { sva as m } from "../../styled-system/css/sva.js";
6
+ import { createToaster as l } from "../../node_modules/@ark-ui/react/dist/components/toast/create-toaster.js";
7
+ import { Toaster as d } from "../../node_modules/@ark-ui/react/dist/components/toast/toaster.js";
8
+ import { ToastRoot as p } from "../../node_modules/@ark-ui/react/dist/components/toast/toast-root.js";
9
+ import { ToastTitle as y } from "../../node_modules/@ark-ui/react/dist/components/toast/toast-title.js";
10
+ const x = m({
11
11
  slots: ["root", "textGroup", "text", "icon"],
12
12
  base: {
13
13
  root: {
@@ -75,7 +75,7 @@ const x = c({
75
75
  const a = e.type === "error" ? "error" : "default", o = x({ variant: a }), s = i[e.type];
76
76
  return /* @__PURE__ */ t(p, { className: o.root, children: /* @__PURE__ */ n("div", { className: o.textGroup, children: [
77
77
  s && /* @__PURE__ */ t(
78
- m,
78
+ c,
79
79
  {
80
80
  name: s,
81
81
  size: 24,
@@ -0,0 +1 @@
1
+ export * from './Toast.tsx';
@@ -0,0 +1,6 @@
1
+ import { Toast as a, ToastStyle as e, toaster as r } from "./Toast.js";
2
+ export {
3
+ a as Toast,
4
+ e as ToastStyle,
5
+ r as toaster
6
+ };
@@ -1,7 +1,7 @@
1
1
  import { ComponentProps } from 'react';
2
- import { RecipeVariantProps } from '../../styled-system/css';
3
- import { NotificationBadgeProps } from './NotificationBadge';
4
- declare const topAppBarStyle: import('../../styled-system/types').SlotRecipeRuntimeFn<"container" | "left" | "title" | "root" | "buttonContainer", {
2
+ import { RecipeVariantProps } from '../../../styled-system/css';
3
+ import { NotificationBadgeProps } from '../NotificationBadge';
4
+ declare const topAppBarStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"container" | "left" | "title" | "root" | "buttonContainer", {
5
5
  type: {
6
6
  navbar: {};
7
7
  titleBar: {};
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
- import "../styled-system/css/css.js";
3
- import { cx as d } from "../styled-system/css/cx.js";
4
- import "../styled-system/helpers.js";
5
- import { sva as y } from "../styled-system/css/sva.js";
6
- import { NotificationBadge as x } from "./NotificationBadge.js";
2
+ import "../../styled-system/css/css.js";
3
+ import { cx as d } from "../../styled-system/css/cx.js";
4
+ import "../../styled-system/helpers.js";
5
+ import { sva as y } from "../../styled-system/css/sva.js";
6
+ import { NotificationBadge as x } from "../NotificationBadge/NotificationBadge.js";
7
7
  const i = y({
8
8
  slots: ["root", "container", "left", "buttonContainer", "title"],
9
9
  base: {
@@ -0,0 +1 @@
1
+ export * from './TopAppBar.tsx';
@@ -0,0 +1,4 @@
1
+ import { TopAppBar as r } from "./TopAppBar.js";
2
+ export {
3
+ r as TopAppBar
4
+ };
package/dist/index.d.ts CHANGED
@@ -1,33 +1,28 @@
1
1
  export { SerendiePreset } from './preset';
2
- export * from './components/Accordion';
3
- export * from './components/AccordionGroup.tsx';
4
- export * from './components/Avatar.tsx';
5
- export * from './components/Badge.tsx';
6
- export * from './components/Banner.tsx';
7
- export * from './components/BottomNavigation.tsx';
8
- export * from './components/BottomNavigationItem.tsx';
9
- export * from './components/Button.tsx';
10
- export * from './components/CheckBox.tsx';
11
- export * from './components/ChoiceBox.tsx';
12
- export * from './components/DashboardWidget.tsx';
13
- export * from './components/Divider.tsx';
14
- export * from './components/Drawer.tsx';
15
- export * from './components/DropdownMenu.tsx';
16
- export * from './components/IconButton.tsx';
17
- export * from './components/List.tsx';
18
- export * from './components/ListItem.tsx';
19
- export * from './components/ModalDialog.tsx';
20
- export * from './components/NotificationBadge.tsx';
21
- export * from './components/PasswordField.tsx';
22
- export * from './components/ProgressIndicator.tsx';
23
- export * from './components/RadioButton.tsx';
24
- export * from './components/RadioGroup.tsx';
25
- export * from './components/Search.tsx';
26
- export * from './components/Select.tsx';
27
- export * from './components/Switch.tsx';
28
- export * from './components/TabItem.tsx';
29
- export * from './components/Tabs.tsx';
30
- export * from './components/TextArea.tsx';
31
- export * from './components/TextField.tsx';
32
- export * from './components/Toast.tsx';
33
- export * from './components/TopAppBar.tsx';
2
+ export * from './components/Accordion/index.ts';
3
+ export * from './components/Avatar/index.ts';
4
+ export * from './components/Badge/index.ts';
5
+ export * from './components/Banner/index.ts';
6
+ export * from './components/BottomNavigation/index.ts';
7
+ export * from './components/Button/index.ts';
8
+ export * from './components/CheckBox/index.ts';
9
+ export * from './components/ChoiceBox/index.ts';
10
+ export * from './components/DashboardWidget/index.ts';
11
+ export * from './components/Divider/index.ts';
12
+ export * from './components/Drawer/index.ts';
13
+ export * from './components/DropdownMenu/index.ts';
14
+ export * from './components/IconButton/index.ts';
15
+ export * from './components/List/index.ts';
16
+ export * from './components/ModalDialog/index.ts';
17
+ export * from './components/NotificationBadge/index.ts';
18
+ export * from './components/PasswordField/index.ts';
19
+ export * from './components/ProgressIndicator/index.ts';
20
+ export * from './components/RadioButton/index.ts';
21
+ export * from './components/Search/index.ts';
22
+ export * from './components/Select/index.ts';
23
+ export * from './components/Switch/index.ts';
24
+ export * from './components/Tabs/index.ts';
25
+ export * from './components/TextArea/index.ts';
26
+ export * from './components/TextField/index.ts';
27
+ export * from './components/Toast/index.ts';
28
+ export * from './components/TopAppBar/index.ts';