@serendie/ui 2.2.4 → 2.2.5-dev.202510301500
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/Accordion.d.ts +1 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/BottomNavigation/BottomNavigationItem.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +3 -3
- package/dist/components/Button/Button.js +13 -13
- package/dist/components/DatePicker/DatePicker.d.ts +5 -5
- package/dist/components/DatePicker/DatePicker.js +79 -77
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Divider/Divider.js +4 -4
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/components/IconButton/IconButton.d.ts +5 -5
- package/dist/components/IconButton/IconButton.js +6 -6
- package/dist/components/List/ListItem.d.ts +1 -1
- package/dist/components/ModalDialog/ModalDialog.d.ts +1 -1
- package/dist/components/NotificationBadge/NotificationBadge.d.ts +1 -1
- package/dist/components/Pagination/Pagination.d.ts +1 -1
- package/dist/components/RadioButton/RadioButton.js +10 -10
- package/dist/components/Search/Search.d.ts +1 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Switch/Switch.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/TextArea/TextArea.d.ts +1 -0
- package/dist/components/TextArea/TextArea.js +15 -8
- package/dist/components/TextField/TextField.d.ts +2 -0
- package/dist/components/TextField/TextField.js +4 -2
- package/dist/components/Toast/Toast.d.ts +1 -1
- package/dist/components/TopAppBar/TopAppBar.d.ts +1 -1
- package/dist/node_modules/@serendie/design-token/dist/panda-tokens.js +20 -5
- package/dist/node_modules/@serendie/design-token/dist/tokens.js +10 -5
- package/dist/preset.d.ts +20 -8
- package/dist/preset.js +7 -9
- package/dist/recipes/textFieldRecipe.d.ts +9 -2
- package/dist/recipes/textFieldRecipe.js +13 -3
- package/dist/styled-system/css/cva.js +38 -43
- package/dist/styled-system/tokens/index.js +35 -15
- package/dist/styles.css +1 -1
- package/dist/tokens/getToken.d.ts +10 -5
- package/dist/tokens/index.d.ts +20 -5
- package/package.json +2 -2
- package/styled-system/themes/theme-asagi.json +1 -1
- package/styled-system/themes/theme-kurikawa.json +1 -1
- package/styled-system/themes/theme-sumire.json +1 -1
- package/styled-system/themes/theme-tsutsuji.json +1 -1
- package/styled-system/tokens/index.js +35 -15
- package/styled-system/tokens/tokens.d.ts +2 -2
- package/dist/recipes/index.d.ts +0 -3
- package/dist/recipes/index.js +0 -7
- package/dist/styled-system/recipes/create-recipe.js +0 -37
- package/dist/styled-system/recipes/text-field-recipe.js +0 -61
- package/styled-system/recipes/create-recipe.js +0 -82
- package/styled-system/recipes/index.d.ts +0 -2
- package/styled-system/recipes/index.js +0 -1
- package/styled-system/recipes/text-field-recipe.d.ts +0 -28
- 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<"
|
|
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<"
|
|
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<"
|
|
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<"
|
|
3
|
+
export declare const BottomNavigationItemStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"icon" | "label" | "root" | "iconGroup" | "badge", {
|
|
4
4
|
isActive: {
|
|
5
5
|
true: {
|
|
6
6
|
label: {
|
|
@@ -40,7 +40,7 @@ export declare const ButtonStyle: import('../../../styled-system/types').RecipeR
|
|
|
40
40
|
bgColor: "sd.system.color.interaction.hoveredVariant";
|
|
41
41
|
outlineWidth: "sd.system.dimension.border.medium";
|
|
42
42
|
outlineStyle: "solid";
|
|
43
|
-
outlineColor: "sd.system.color.component.
|
|
43
|
+
outlineColor: "sd.system.color.component.outlineDim";
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
_disabled: {
|
|
@@ -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?: "
|
|
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?: "
|
|
127
|
+
size?: "small" | "medium" | undefined;
|
|
128
128
|
} & {
|
|
129
129
|
leftIcon?: never;
|
|
130
130
|
} & {
|
|
@@ -16,7 +16,7 @@ const d = {
|
|
|
16
16
|
bgColor: "sd.system.color.interaction.hoveredVariant"
|
|
17
17
|
},
|
|
18
18
|
_focusVisible: {
|
|
19
|
-
outlineColor: "sd.system.color.component.
|
|
19
|
+
outlineColor: "sd.system.color.component.outlineDim",
|
|
20
20
|
bgColor: "sd.system.color.interaction.hoveredVariant"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
@@ -25,7 +25,7 @@ const d = {
|
|
|
25
25
|
color: "sd.system.color.interaction.disabledOnSurface",
|
|
26
26
|
outline: "none"
|
|
27
27
|
}
|
|
28
|
-
},
|
|
28
|
+
}, l = h({
|
|
29
29
|
base: {
|
|
30
30
|
borderRadius: "sd.system.dimension.radius.full",
|
|
31
31
|
position: "relative",
|
|
@@ -80,7 +80,7 @@ const d = {
|
|
|
80
80
|
bgColor: "sd.system.color.interaction.hoveredVariant",
|
|
81
81
|
outlineWidth: "sd.system.dimension.border.medium",
|
|
82
82
|
outlineStyle: "solid",
|
|
83
|
-
outlineColor: "sd.system.color.component.
|
|
83
|
+
outlineColor: "sd.system.color.component.outlineDim"
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
_disabled: {
|
|
@@ -118,17 +118,17 @@ const d = {
|
|
|
118
118
|
styleType: "filled",
|
|
119
119
|
size: "medium"
|
|
120
120
|
}
|
|
121
|
-
}),
|
|
121
|
+
}), t = v("span", {
|
|
122
122
|
base: {
|
|
123
123
|
position: "relative",
|
|
124
124
|
zIndex: "sd.system.elevation.zIndex.base"
|
|
125
125
|
}
|
|
126
126
|
}), R = b.forwardRef(
|
|
127
|
-
(n,
|
|
127
|
+
(n, a) => {
|
|
128
128
|
const [
|
|
129
129
|
r,
|
|
130
|
-
{ children: m, leftIcon: e, rightIcon: s, isLoading:
|
|
131
|
-
] =
|
|
130
|
+
{ children: m, leftIcon: e, rightIcon: s, isLoading: i, className: c, ...y }
|
|
131
|
+
] = l.splitVariantProps(n), p = l(r), u = x(
|
|
132
132
|
e || s ? n.size === "medium" ? {
|
|
133
133
|
//アイコンがある側 `spacing.medium`、無い側は`spacing.extraLarge`
|
|
134
134
|
paddingLeft: e ? "sd.system.dimension.spacing.medium" : "sd.system.dimension.spacing.extraLarge",
|
|
@@ -142,11 +142,11 @@ const d = {
|
|
|
142
142
|
return /* @__PURE__ */ g(
|
|
143
143
|
"button",
|
|
144
144
|
{
|
|
145
|
-
ref:
|
|
145
|
+
ref: a,
|
|
146
146
|
className: _(p, u, c),
|
|
147
147
|
...y,
|
|
148
148
|
children: [
|
|
149
|
-
|
|
149
|
+
i && /* @__PURE__ */ o(
|
|
150
150
|
f,
|
|
151
151
|
{
|
|
152
152
|
type: "circular",
|
|
@@ -154,9 +154,9 @@ const d = {
|
|
|
154
154
|
color: "subtle"
|
|
155
155
|
}
|
|
156
156
|
),
|
|
157
|
-
!
|
|
158
|
-
/* @__PURE__ */ o(
|
|
159
|
-
!
|
|
157
|
+
!i && e && /* @__PURE__ */ o(t, { p: "2px", children: e }),
|
|
158
|
+
/* @__PURE__ */ o(t, { children: m }),
|
|
159
|
+
!i && s && /* @__PURE__ */ o(t, { p: "2px", children: s })
|
|
160
160
|
]
|
|
161
161
|
}
|
|
162
162
|
);
|
|
@@ -164,5 +164,5 @@ const d = {
|
|
|
164
164
|
);
|
|
165
165
|
export {
|
|
166
166
|
R as Button,
|
|
167
|
-
|
|
167
|
+
l as ButtonStyle
|
|
168
168
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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
|
|
2
|
-
import { SerendieSymbolCalendar as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import { datePickerStyles as
|
|
5
|
-
import { textFieldRecipe as
|
|
6
|
-
import { Portal as
|
|
7
|
-
import { DatePickerRoot as
|
|
8
|
-
import { DatePickerLabel as
|
|
9
|
-
import { DatePickerControl as
|
|
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
|
|
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
|
|
15
|
-
import { DatePickerContent as
|
|
16
|
-
import { DatePickerView as
|
|
17
|
-
import { DatePickerContext as
|
|
18
|
-
import { DatePickerViewControl as
|
|
19
|
-
import { DatePickerYearSelect as
|
|
20
|
-
import { DatePickerPrevTrigger as
|
|
21
|
-
import { DatePickerMonthSelect as
|
|
22
|
-
import { DatePickerNextTrigger as
|
|
23
|
-
import { DatePickerTable as
|
|
24
|
-
import { DatePickerTableHead as
|
|
25
|
-
import { DatePickerTableRow as
|
|
26
|
-
import { DatePickerTableHeader as
|
|
27
|
-
import { DatePickerTableBody as
|
|
28
|
-
import { DatePickerTableCell as
|
|
29
|
-
import { DatePickerTableCellTrigger as
|
|
30
|
-
const
|
|
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:
|
|
35
|
+
requiredLabel: s,
|
|
36
36
|
invalid: n,
|
|
37
37
|
invalidMessage: c,
|
|
38
38
|
selectionMode: p = "single",
|
|
39
|
-
startPlaceholder:
|
|
40
|
-
endPlaceholder:
|
|
41
|
-
locale:
|
|
42
|
-
isCalendarOnly:
|
|
43
|
-
...
|
|
44
|
-
},
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
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:
|
|
50
|
-
...
|
|
51
|
-
ref:
|
|
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(
|
|
57
|
+
children: /* @__PURE__ */ e(C, {})
|
|
56
58
|
}
|
|
57
59
|
) : /* @__PURE__ */ a(
|
|
58
|
-
|
|
60
|
+
b,
|
|
59
61
|
{
|
|
60
|
-
locale:
|
|
61
|
-
...
|
|
62
|
-
ref:
|
|
62
|
+
locale: P,
|
|
63
|
+
...m,
|
|
64
|
+
ref: N,
|
|
63
65
|
selectionMode: p,
|
|
64
66
|
className: i.root,
|
|
65
|
-
open:
|
|
66
|
-
onOpenChange: (
|
|
67
|
+
open: g,
|
|
68
|
+
onOpenChange: (u) => {
|
|
67
69
|
var k;
|
|
68
|
-
d(
|
|
70
|
+
d(u.open), (k = m.onOpenChange) == null || k.call(m, u);
|
|
69
71
|
},
|
|
70
72
|
children: [
|
|
71
|
-
/* @__PURE__ */ a(
|
|
72
|
-
o && /* @__PURE__ */ a(
|
|
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:
|
|
76
|
+
l && /* @__PURE__ */ e("span", { className: i.labelRequired, children: s ?? "必須" })
|
|
75
77
|
] }),
|
|
76
78
|
/* @__PURE__ */ a(
|
|
77
|
-
|
|
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":
|
|
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(
|
|
92
|
-
|
|
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:
|
|
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(
|
|
118
|
+
/* @__PURE__ */ e(j, {}),
|
|
117
119
|
/* @__PURE__ */ e(
|
|
118
120
|
f,
|
|
119
121
|
{
|
|
120
122
|
index: 1,
|
|
121
|
-
placeholder:
|
|
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(
|
|
150
|
+
/* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(z, { className: R.positioner, children: /* @__PURE__ */ e(C, {}) }) })
|
|
149
151
|
]
|
|
150
152
|
}
|
|
151
153
|
);
|
|
152
154
|
}
|
|
153
|
-
),
|
|
154
|
-
const r =
|
|
155
|
-
return /* @__PURE__ */ e(
|
|
156
|
-
/* @__PURE__ */ a(
|
|
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(
|
|
159
|
-
/* @__PURE__ */ e(
|
|
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(
|
|
164
|
+
/* @__PURE__ */ e(X, { className: r.prevTrigger, children: /* @__PURE__ */ e(V, {}) }),
|
|
163
165
|
/* @__PURE__ */ e(
|
|
164
|
-
|
|
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(
|
|
174
|
+
/* @__PURE__ */ e($, { className: r.nextTrigger, children: /* @__PURE__ */ e(A, {}) })
|
|
173
175
|
] })
|
|
174
176
|
] }),
|
|
175
|
-
/* @__PURE__ */ a(
|
|
176
|
-
/* @__PURE__ */ e(
|
|
177
|
-
|
|
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
|
-
|
|
184
|
+
s
|
|
183
185
|
)) }) }),
|
|
184
|
-
/* @__PURE__ */ e(
|
|
185
|
-
|
|
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
|
-
|
|
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
|
-
)) },
|
|
200
|
+
)) }, s)) })
|
|
199
201
|
] })
|
|
200
202
|
] }) }) }) });
|
|
201
203
|
};
|
|
202
204
|
export {
|
|
203
|
-
|
|
205
|
+
je as DatePicker
|
|
204
206
|
};
|
|
@@ -9,7 +9,7 @@ export declare const DividerStyle: import('../../../styled-system/types').Recipe
|
|
|
9
9
|
borderColor: "sd.reference.color.scale.gray.300";
|
|
10
10
|
};
|
|
11
11
|
dark: {
|
|
12
|
-
borderColor: "sd.system.color.component.
|
|
12
|
+
borderColor: "sd.system.color.component.outlineDim";
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
type: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { cva as n } from "../../styled-system/css/cva.js";
|
|
3
|
-
import { cx as
|
|
3
|
+
import { cx as l } from "../../styled-system/css/cx.js";
|
|
4
4
|
const r = n({
|
|
5
5
|
base: {
|
|
6
6
|
border: "none"
|
|
@@ -14,7 +14,7 @@ const r = n({
|
|
|
14
14
|
borderColor: "sd.reference.color.scale.gray.300"
|
|
15
15
|
},
|
|
16
16
|
dark: {
|
|
17
|
-
borderColor: "sd.system.color.component.
|
|
17
|
+
borderColor: "sd.system.color.component.outlineDim"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
type: {
|
|
@@ -38,8 +38,8 @@ const r = n({
|
|
|
38
38
|
type: "horizontal"
|
|
39
39
|
}
|
|
40
40
|
}), h = (e) => {
|
|
41
|
-
const [o,
|
|
42
|
-
return /* @__PURE__ */ d("hr", { className:
|
|
41
|
+
const [o, s] = r.splitVariantProps(e), { className: t, ...i } = s;
|
|
42
|
+
return /* @__PURE__ */ d("hr", { className: l(r(o), t), ...i });
|
|
43
43
|
};
|
|
44
44
|
export {
|
|
45
45
|
h as Divider,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MenuRootProps } from '@ark-ui/react';
|
|
2
|
-
export declare const DropdownMenuStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"
|
|
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;
|
|
@@ -33,7 +33,7 @@ export declare const IconButtonStyle: import('../../../styled-system/types').Rec
|
|
|
33
33
|
bgColor: "sd.system.color.interaction.hoveredVariant";
|
|
34
34
|
};
|
|
35
35
|
_focusVisible: {
|
|
36
|
-
outlineColor: "sd.system.color.component.
|
|
36
|
+
outlineColor: "sd.system.color.component.outlineDim";
|
|
37
37
|
bgColor: "sd.system.color.interaction.hoveredVariant";
|
|
38
38
|
};
|
|
39
39
|
};
|
|
@@ -46,7 +46,7 @@ export declare const IconButtonStyle: import('../../../styled-system/types').Rec
|
|
|
46
46
|
};
|
|
47
47
|
_focusVisible: {
|
|
48
48
|
bgColor: "sd.system.color.interaction.hoveredVariant";
|
|
49
|
-
outlineColor: "sd.system.color.component.
|
|
49
|
+
outlineColor: "sd.system.color.component.outlineDim";
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
_disabled: {
|
|
@@ -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?: "
|
|
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?: "
|
|
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?: "
|
|
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,8 +1,8 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { cva as
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { cva as a } from "../../styled-system/css/cva.js";
|
|
4
4
|
import { cx as m } from "../../styled-system/css/cx.js";
|
|
5
|
-
const e =
|
|
5
|
+
const e = a({
|
|
6
6
|
base: {
|
|
7
7
|
position: "relative",
|
|
8
8
|
display: "inline-flex",
|
|
@@ -58,7 +58,7 @@ const e = c({
|
|
|
58
58
|
bgColor: "sd.system.color.interaction.hoveredVariant"
|
|
59
59
|
},
|
|
60
60
|
_focusVisible: {
|
|
61
|
-
outlineColor: "sd.system.color.component.
|
|
61
|
+
outlineColor: "sd.system.color.component.outlineDim",
|
|
62
62
|
bgColor: "sd.system.color.interaction.hoveredVariant"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -71,7 +71,7 @@ const e = c({
|
|
|
71
71
|
},
|
|
72
72
|
_focusVisible: {
|
|
73
73
|
bgColor: "sd.system.color.interaction.hoveredVariant",
|
|
74
|
-
outlineColor: "sd.system.color.component.
|
|
74
|
+
outlineColor: "sd.system.color.component.outlineDim"
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
_disabled: {
|
|
@@ -103,7 +103,7 @@ const e = c({
|
|
|
103
103
|
styleType: "filled",
|
|
104
104
|
size: "medium"
|
|
105
105
|
}
|
|
106
|
-
}), g =
|
|
106
|
+
}), g = c.forwardRef(
|
|
107
107
|
({ icon: o, className: s, ...r }, n) => {
|
|
108
108
|
const [i, t] = e.splitVariantProps(r), l = e(i);
|
|
109
109
|
return /* @__PURE__ */ d("button", { ref: n, className: m(l, s), ...t, children: o });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
|
-
export declare const ListItemStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"
|
|
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<"
|
|
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<"
|
|
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<"
|
|
3
|
+
export declare const PaginationStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"item" | "root" | "ellipsis" | "prevTrigger" | "nextTrigger", {
|
|
4
4
|
size: {
|
|
5
5
|
medium: {
|
|
6
6
|
root: {
|