@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.
- package/dist/components/Accordion/AccordionGroup.d.ts +2 -0
- package/dist/components/Accordion/AccordionGroup.js +15 -0
- package/dist/components/Accordion/index.d.ts +2 -1
- package/dist/components/Accordion/index.js +3 -1
- package/dist/components/{Avatar.d.ts → Avatar/Avatar.d.ts} +2 -2
- package/dist/components/{Avatar.js → Avatar/Avatar.js} +10 -10
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Avatar/index.js +5 -0
- package/dist/components/{Badge.d.ts → Badge/Badge.d.ts} +2 -2
- package/dist/components/{Badge.js → Badge/Badge.js} +7 -7
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Badge/index.js +6 -0
- package/dist/components/{Banner.d.ts → Banner/Banner.d.ts} +2 -2
- package/dist/components/{Banner.js → Banner/Banner.js} +8 -8
- package/dist/components/Banner/index.d.ts +1 -0
- package/dist/components/Banner/index.js +4 -0
- package/dist/components/{BottomNavigation.js → BottomNavigation/BottomNavigation.js} +3 -3
- package/dist/components/{BottomNavigationItem.d.ts → BottomNavigation/BottomNavigationItem.d.ts} +2 -2
- package/dist/components/{BottomNavigationItem.js → BottomNavigation/BottomNavigationItem.js} +5 -5
- package/dist/components/BottomNavigation/index.d.ts +2 -0
- package/dist/components/BottomNavigation/index.js +7 -0
- package/dist/components/{Button.d.ts → Button/Button.d.ts} +1 -1
- package/dist/components/{Button.js → Button/Button.js} +28 -56
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.js +5 -0
- package/dist/components/{CheckBox.d.ts → CheckBox/CheckBox.d.ts} +2 -2
- package/dist/components/{CheckBox.js → CheckBox/CheckBox.js} +11 -11
- package/dist/components/CheckBox/index.d.ts +1 -0
- package/dist/components/CheckBox/index.js +8 -0
- package/dist/components/ChoiceBox/ChoiceBox.d.ts +8 -0
- package/dist/components/ChoiceBox/ChoiceBox.js +83 -0
- package/dist/components/ChoiceBox/index.d.ts +1 -0
- package/dist/components/ChoiceBox/index.js +5 -0
- package/dist/components/{DashboardWidget.js → DashboardWidget/DashboardWidget.js} +8 -8
- package/dist/components/DashboardWidget/index.d.ts +1 -0
- package/dist/components/DashboardWidget/index.js +4 -0
- package/dist/components/{Divider.d.ts → Divider/Divider.d.ts} +2 -2
- package/dist/components/{Divider.js → Divider/Divider.js} +4 -4
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/Divider/index.js +5 -0
- package/dist/components/{Drawer.d.ts → Drawer/Drawer.d.ts} +2 -2
- package/dist/components/{Drawer.js → Drawer/Drawer.js} +15 -15
- package/dist/components/Drawer/index.d.ts +1 -0
- package/dist/components/Drawer/index.js +4 -0
- package/dist/components/{DropdownMenu.d.ts → DropdownMenu/DropdownMenu.d.ts} +1 -1
- package/dist/components/{DropdownMenu.js → DropdownMenu/DropdownMenu.js} +41 -68
- package/dist/components/DropdownMenu/index.d.ts +1 -0
- package/dist/components/DropdownMenu/index.js +5 -0
- package/dist/components/{IconButton.d.ts → IconButton/IconButton.d.ts} +1 -1
- package/dist/components/{IconButton.js → IconButton/IconButton.js} +4 -4
- package/dist/components/IconButton/index.d.ts +1 -0
- package/dist/components/IconButton/index.js +5 -0
- package/dist/components/{ListItem.d.ts → List/ListItem.d.ts} +1 -1
- package/dist/components/{ListItem.js → List/ListItem.js} +5 -5
- package/dist/components/List/index.d.ts +2 -0
- package/dist/components/List/index.js +7 -0
- package/dist/components/{ModalDialog.d.ts → ModalDialog/ModalDialog.d.ts} +2 -2
- package/dist/components/{ModalDialog.js → ModalDialog/ModalDialog.js} +13 -13
- package/dist/components/ModalDialog/index.d.ts +1 -0
- package/dist/components/ModalDialog/index.js +4 -0
- package/dist/components/{NotificationBadge.d.ts → NotificationBadge/NotificationBadge.d.ts} +2 -2
- package/dist/components/{NotificationBadge.js → NotificationBadge/NotificationBadge.js} +4 -4
- package/dist/components/NotificationBadge/index.d.ts +1 -0
- package/dist/components/NotificationBadge/index.js +4 -0
- package/dist/components/{PasswordField.d.ts → PasswordField/PasswordField.d.ts} +1 -1
- package/dist/components/{PasswordField.js → PasswordField/PasswordField.js} +3 -3
- package/dist/components/PasswordField/index.d.ts +1 -0
- package/dist/components/PasswordField/index.js +4 -0
- package/dist/components/{ProgressIndicator.d.ts → ProgressIndicator/ProgressIndicator.d.ts} +2 -2
- package/dist/components/{ProgressIndicator.js → ProgressIndicator/ProgressIndicator.js} +4 -4
- package/dist/components/ProgressIndicator/index.d.ts +1 -0
- package/dist/components/ProgressIndicator/index.js +5 -0
- package/dist/components/{RadioButton.d.ts → RadioButton/RadioButton.d.ts} +2 -2
- package/dist/components/{RadioButton.js → RadioButton/RadioButton.js} +11 -11
- package/dist/components/{RadioGroup.js → RadioButton/RadioGroup.js} +1 -1
- package/dist/components/RadioButton/index.d.ts +2 -0
- package/dist/components/RadioButton/index.js +10 -0
- package/dist/components/{Search.d.ts → Search/Search.d.ts} +2 -2
- package/dist/components/{Search.js → Search/Search.js} +17 -17
- package/dist/components/Search/index.d.ts +1 -0
- package/dist/components/Search/index.js +5 -0
- package/dist/components/{Select.d.ts → Select/Select.d.ts} +2 -2
- package/dist/components/{Select.js → Select/Select.js} +22 -22
- package/dist/components/Select/index.d.ts +1 -0
- package/dist/components/Select/index.js +5 -0
- package/dist/components/{Switch.d.ts → Switch/Switch.d.ts} +2 -2
- package/dist/components/{Switch.js → Switch/Switch.js} +9 -9
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Switch/index.js +5 -0
- package/dist/components/{TabItem.d.ts → Tabs/TabItem.d.ts} +2 -2
- package/dist/components/{TabItem.js → Tabs/TabItem.js} +6 -6
- package/dist/components/Tabs/Tabs.d.ts +3 -0
- package/dist/components/{Tabs.js → Tabs/Tabs.js} +6 -6
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tabs/index.js +8 -0
- package/dist/components/{TextArea.js → TextArea/TextArea.js} +8 -8
- package/dist/components/TextArea/index.d.ts +1 -0
- package/dist/components/TextArea/index.js +4 -0
- package/dist/components/{TextField.js → TextField/TextField.js} +13 -13
- package/dist/components/TextField/index.d.ts +1 -0
- package/dist/components/TextField/index.js +4 -0
- package/dist/components/{Toast.d.ts → Toast/Toast.d.ts} +1 -1
- package/dist/components/{Toast.js → Toast/Toast.js} +10 -10
- package/dist/components/Toast/index.d.ts +1 -0
- package/dist/components/Toast/index.js +6 -0
- package/dist/components/{TopAppBar.d.ts → TopAppBar/TopAppBar.d.ts} +3 -3
- package/dist/components/{TopAppBar.js → TopAppBar/TopAppBar.js} +5 -5
- package/dist/components/TopAppBar/index.d.ts +1 -0
- package/dist/components/TopAppBar/index.js +4 -0
- package/dist/index.d.ts +27 -32
- package/dist/index.js +35 -35
- package/package.json +1 -1
- package/dist/components/AccordionGroup.d.ts +0 -2
- package/dist/components/AccordionGroup.js +0 -15
- package/dist/components/ChoiceBox.d.ts +0 -8
- package/dist/components/ChoiceBox.js +0 -83
- package/dist/components/Tabs.d.ts +0 -3
- /package/dist/components/{BottomNavigation.d.ts → BottomNavigation/BottomNavigation.d.ts} +0 -0
- /package/dist/components/{DashboardWidget.d.ts → DashboardWidget/DashboardWidget.d.ts} +0 -0
- /package/dist/components/{List.d.ts → List/List.d.ts} +0 -0
- /package/dist/components/{List.js → List/List.js} +0 -0
- /package/dist/components/{RadioGroup.d.ts → RadioButton/RadioGroup.d.ts} +0 -0
- /package/dist/components/{TextArea.d.ts → TextArea/TextArea.d.ts} +0 -0
- /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 "
|
|
3
|
-
import
|
|
4
|
-
import "
|
|
5
|
-
import
|
|
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 "
|
|
8
|
-
import { Box as g } from "
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SelectRootProps } from '@ark-ui/react';
|
|
2
|
-
import { RecipeVariantProps } from '
|
|
3
|
-
export declare const SelectStyle: import('
|
|
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 {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import { List as v } from "
|
|
9
|
-
import {
|
|
10
|
-
import { Portal as _ } from "
|
|
11
|
-
import { SelectRoot as C } from "
|
|
12
|
-
import { SelectLabel as T } from "
|
|
13
|
-
import { SelectControl as N } from "
|
|
14
|
-
import { SelectTrigger as z } from "
|
|
15
|
-
import { SelectValueText as R } from "
|
|
16
|
-
import { SelectPositioner as I } from "
|
|
17
|
-
import { SelectContent as V } from "
|
|
18
|
-
import { SelectItem as B } from "
|
|
19
|
-
const l =
|
|
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 =
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
237
|
+
w,
|
|
238
238
|
{
|
|
239
239
|
title: t.label,
|
|
240
240
|
value: t.value,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Select.tsx';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Switch as ArkSwitch, SwitchRootProps } from '@ark-ui/react';
|
|
2
|
-
import { RecipeVariantProps } from '
|
|
3
|
-
export declare const SwitchStyle: import('
|
|
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 "
|
|
4
|
-
import { cx as t } from "
|
|
5
|
-
import "
|
|
6
|
-
import { sva as b } from "
|
|
7
|
-
import { SwitchRoot as h } from "
|
|
8
|
-
import { SwitchLabel as i } from "
|
|
9
|
-
import { SwitchControl as g } from "
|
|
10
|
-
import { SwitchThumb as f } from "
|
|
11
|
-
import { SwitchHiddenInput as x } from "
|
|
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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tabs as ArkTabs } from '@ark-ui/react';
|
|
2
|
-
import { RecipeVariantProps } from '
|
|
3
|
-
export declare const TabItemStyle: import('
|
|
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 "
|
|
3
|
-
import { cx as b } from "
|
|
4
|
-
import "
|
|
5
|
-
import { sva as u } from "
|
|
6
|
-
import { NotificationBadge as i } from "
|
|
7
|
-
import { TabTrigger as h } from "
|
|
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 "
|
|
3
|
-
import { cx as n } from "
|
|
4
|
-
import "
|
|
5
|
-
import { sva as l } from "
|
|
6
|
-
import { TabsRoot as p } from "
|
|
7
|
-
import { TabList as c } from "
|
|
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: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as a, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import _ from "
|
|
4
|
-
import "
|
|
5
|
-
import { cx as w } from "
|
|
6
|
-
import "
|
|
7
|
-
import { sva as C } from "
|
|
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 =
|
|
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 =
|
|
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';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
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 =
|
|
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 =
|
|
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:
|
|
164
|
+
className: S({
|
|
165
165
|
color: "sd.system.color.impression.negative"
|
|
166
166
|
}),
|
|
167
|
-
children: /* @__PURE__ */ e(
|
|
167
|
+
children: /* @__PURE__ */ e(v, { name: "alert-circle", size: 20 })
|
|
168
168
|
}
|
|
169
169
|
) : V ? /* @__PURE__ */ e(
|
|
170
170
|
"button",
|
|
171
171
|
{
|
|
172
|
-
className:
|
|
172
|
+
className: S({ cursor: "pointer" }),
|
|
173
173
|
onClick: P,
|
|
174
174
|
"aria-label": "値をクリア",
|
|
175
|
-
children: /* @__PURE__ */ e(
|
|
175
|
+
children: /* @__PURE__ */ e(v, { name: "close", size: 20 })
|
|
176
176
|
}
|
|
177
177
|
) : null) })
|
|
178
178
|
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TextField.tsx';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createToaster } from '@ark-ui/react';
|
|
2
|
-
export declare const ToastStyle: import('
|
|
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 "
|
|
3
|
-
import "
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { createToaster as l } from "
|
|
7
|
-
import { Toaster as d } from "
|
|
8
|
-
import { ToastRoot as p } from "
|
|
9
|
-
import { ToastTitle as y } from "
|
|
10
|
-
const x =
|
|
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
|
-
|
|
78
|
+
c,
|
|
79
79
|
{
|
|
80
80
|
name: s,
|
|
81
81
|
size: 24,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Toast.tsx';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
|
-
import { RecipeVariantProps } from '
|
|
3
|
-
import { NotificationBadgeProps } from '
|
|
4
|
-
declare const topAppBarStyle: import('
|
|
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 "
|
|
3
|
-
import { cx as d } from "
|
|
4
|
-
import "
|
|
5
|
-
import { sva as y } from "
|
|
6
|
-
import { NotificationBadge as x } from "
|
|
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';
|
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/
|
|
4
|
-
export * from './components/
|
|
5
|
-
export * from './components/
|
|
6
|
-
export * from './components/
|
|
7
|
-
export * from './components/
|
|
8
|
-
export * from './components/
|
|
9
|
-
export * from './components/
|
|
10
|
-
export * from './components/
|
|
11
|
-
export * from './components/
|
|
12
|
-
export * from './components/
|
|
13
|
-
export * from './components/
|
|
14
|
-
export * from './components/
|
|
15
|
-
export * from './components/
|
|
16
|
-
export * from './components/
|
|
17
|
-
export * from './components/
|
|
18
|
-
export * from './components/
|
|
19
|
-
export * from './components/
|
|
20
|
-
export * from './components/
|
|
21
|
-
export * from './components/
|
|
22
|
-
export * from './components/
|
|
23
|
-
export * from './components/
|
|
24
|
-
export * from './components/
|
|
25
|
-
export * from './components/
|
|
26
|
-
export * from './components/
|
|
27
|
-
export * from './components/
|
|
28
|
-
export * from './components/
|
|
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';
|