@serendie/ui 2.1.3 → 2.2.0-dev.202509240917
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/client.js +79 -74
- 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 +2 -2
- package/dist/components/Button/Button.js +22 -21
- package/dist/components/DatePicker/DatePicker.d.ts +13 -0
- package/dist/components/DatePicker/DatePicker.js +203 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.js +6 -0
- package/dist/components/DatePicker/parseDate.d.ts +1 -0
- package/dist/components/DatePicker/styles.d.ts +1 -0
- package/dist/components/DatePicker/styles.js +224 -0
- package/dist/components/IconButton/IconButton.d.ts +3 -3
- 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/Pagination/Pagination.js +14 -15
- package/dist/components/ProgressIndicator/AnimatedArc.d.ts +6 -0
- package/dist/components/ProgressIndicator/AnimatedArc.js +46 -0
- package/dist/components/ProgressIndicator/ProgressIndicator.d.ts +11 -29
- package/dist/components/ProgressIndicator/ProgressIndicator.js +201 -43
- package/dist/components/ProgressIndicator/ProgressIndicatorIndeterminate.d.ts +10 -0
- package/dist/components/ProgressIndicator/ProgressIndicatorIndeterminate.js +215 -0
- package/dist/components/ProgressIndicator/index.d.ts +4 -1
- package/dist/components/ProgressIndicator/index.js +3 -2
- package/dist/components/ProgressIndicator/util.d.ts +1 -0
- package/dist/components/ProgressIndicator/util.js +13 -0
- 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/TextField/TextField.js +59 -156
- package/dist/components/Toast/Toast.d.ts +1 -1
- package/dist/components/TopAppBar/TopAppBar.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +80 -75
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-content.js +15 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-control.js +13 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-input.js +14 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-label.js +13 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-month-select.js +13 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-next-trigger.js +14 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-positioner.js +14 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-prev-trigger.js +14 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-root.js +55 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-body.js +14 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell-trigger.js +19 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell.js +26 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-head.js +14 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-header.js +14 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-row.js +14 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-trigger.js +13 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view-control.js +14 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view.js +23 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-year-select.js +13 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker.anatomy.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-context.js +10 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-table-cell-props-context.js +10 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-table-props-context.js +10 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-view-props-context.js +12 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker.js +18 -0
- package/dist/node_modules/@ark-ui/react/dist/components/factory.js +11 -12
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-root.js +5 -4
- package/dist/node_modules/@ark-ui/react/dist/utils/use-event.js +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +36 -36
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +238 -235
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +88 -83
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +68 -67
- package/dist/node_modules/@internationalized/date/dist/CalendarDate.js +178 -0
- package/dist/node_modules/@internationalized/date/dist/DateFormatter.js +99 -0
- package/dist/node_modules/@internationalized/date/dist/GregorianCalendar.js +98 -0
- package/dist/node_modules/@internationalized/date/dist/conversion.js +135 -0
- package/dist/node_modules/@internationalized/date/dist/manipulation.js +205 -0
- package/dist/node_modules/@internationalized/date/dist/queries.js +202 -0
- package/dist/node_modules/@internationalized/date/dist/string.js +41 -0
- package/dist/node_modules/@internationalized/date/dist/utils.js +6 -0
- package/dist/node_modules/@internationalized/date/dist/weekStartData.js +100 -0
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +7 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
- package/dist/node_modules/@zag-js/anatomy/dist/index.js +15 -14
- package/dist/node_modules/@zag-js/aria-hidden/dist/index.js +23 -23
- package/dist/node_modules/@zag-js/collection/dist/index.js +102 -71
- package/dist/node_modules/@zag-js/combobox/dist/index.js +482 -426
- package/dist/node_modules/@zag-js/date-picker/dist/index.js +1826 -0
- package/dist/node_modules/@zag-js/date-utils/dist/index.js +366 -0
- package/dist/node_modules/@zag-js/dialog/dist/index.js +66 -64
- package/dist/node_modules/@zag-js/dismissable/dist/index.js +94 -69
- package/dist/node_modules/@zag-js/dom-query/dist/index.js +359 -300
- package/dist/node_modules/@zag-js/live-region/dist/index.js +39 -0
- package/dist/node_modules/@zag-js/menu/dist/index.js +357 -340
- package/dist/node_modules/@zag-js/popper/dist/index.js +123 -120
- package/dist/node_modules/@zag-js/presence/dist/index.js +17 -17
- package/dist/node_modules/@zag-js/radio-group/dist/index.js +118 -117
- package/dist/node_modules/@zag-js/react/dist/index.js +124 -121
- package/dist/node_modules/@zag-js/select/dist/index.js +211 -197
- package/dist/node_modules/@zag-js/toast/dist/index.js +73 -71
- package/dist/node_modules/@zag-js/tooltip/dist/index.js +31 -30
- package/dist/node_modules/@zag-js/utils/dist/index.js +150 -104
- package/dist/preset.d.ts +11 -1
- package/dist/recipes/index.d.ts +3 -2
- package/dist/recipes/index.js +5 -2
- package/dist/recipes/textFieldRecipe.d.ts +6 -0
- package/dist/recipes/textFieldRecipe.js +107 -0
- package/dist/styled-system/css/cva.js +43 -38
- package/dist/styled-system/recipes/create-recipe.js +37 -0
- package/dist/styled-system/recipes/text-field-recipe.js +61 -0
- package/dist/styles.css +1 -1
- package/dist/tokens/keyframes/index.d.ts +8 -0
- package/dist/tokens/keyframes/index.js +6 -2
- package/package.json +3 -3
- package/styled-system/recipes/create-recipe.js +82 -0
- package/styled-system/recipes/index.d.ts +2 -0
- package/styled-system/recipes/index.js +1 -0
- package/styled-system/recipes/text-field-recipe.d.ts +28 -0
- package/styled-system/recipes/text-field-recipe.js +72 -0
- package/styled-system/types/prop-type.d.ts +1 -1
- package/dist/node_modules/@zag-js/store/dist/index.js +0 -131
- package/dist/node_modules/proxy-compare/dist/index.js +0 -7
|
@@ -1,189 +1,92 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { SerendieSymbolAlertCircle as
|
|
3
|
-
import
|
|
4
|
-
import m, { forwardRef as
|
|
5
|
-
import {
|
|
6
|
-
import { cx as
|
|
7
|
-
import { css as
|
|
8
|
-
const
|
|
9
|
-
slots: [
|
|
10
|
-
"root",
|
|
11
|
-
"label",
|
|
12
|
-
"required",
|
|
13
|
-
"inputWrapper",
|
|
14
|
-
"leftContent",
|
|
15
|
-
"rightContent",
|
|
16
|
-
"input",
|
|
17
|
-
"icon",
|
|
18
|
-
"messageField",
|
|
19
|
-
"description",
|
|
20
|
-
"invalidMessage"
|
|
21
|
-
],
|
|
22
|
-
base: {
|
|
23
|
-
root: {
|
|
24
|
-
display: "inline-grid",
|
|
25
|
-
// 後から指定したCSSからwidthが上書きできないため、@layer componentsを指定
|
|
26
|
-
"@layer components": {
|
|
27
|
-
width: "min(100%, 300px)"
|
|
28
|
-
},
|
|
29
|
-
gridTemplateColumns: "auto",
|
|
30
|
-
rowGap: "sd.system.dimension.spacing.extraSmall",
|
|
31
|
-
textStyle: {
|
|
32
|
-
base: "sd.system.typography.body.medium_compact",
|
|
33
|
-
expanded: "sd.system.typography.body.medium_expanded"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
label: {
|
|
37
|
-
textStyle: {
|
|
38
|
-
base: "sd.system.typography.label.medium_compact",
|
|
39
|
-
expanded: "sd.system.typography.label.medium_expanded"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
inputWrapper: {
|
|
43
|
-
height: 48,
|
|
44
|
-
display: "grid",
|
|
45
|
-
gridTemplateColumns: "auto 1fr auto auto",
|
|
46
|
-
alignItems: "center",
|
|
47
|
-
outlineStyle: "solid",
|
|
48
|
-
outlineWidth: "sd.system.dimension.border.medium",
|
|
49
|
-
outlineColor: "sd.system.color.component.outline",
|
|
50
|
-
borderRadius: "sd.system.dimension.radius.medium",
|
|
51
|
-
backgroundColor: "sd.system.color.component.surface",
|
|
52
|
-
'&:has([data-focus="true"])': {
|
|
53
|
-
outlineWidth: "sd.system.dimension.border.thick",
|
|
54
|
-
outlineColor: "sd.system.color.impression.primary"
|
|
55
|
-
},
|
|
56
|
-
_focusWithin: {
|
|
57
|
-
outlineWidth: "sd.system.dimension.border.thick",
|
|
58
|
-
outlineColor: "sd.system.color.impression.primary"
|
|
59
|
-
},
|
|
60
|
-
_disabled: {
|
|
61
|
-
backgroundColor: "sd.system.color.interaction.disabled",
|
|
62
|
-
cursor: "not-allowed"
|
|
63
|
-
},
|
|
64
|
-
_invalid: {
|
|
65
|
-
outlineColor: "sd.system.color.impression.negative"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
leftContent: {
|
|
69
|
-
paddingLeft: "sd.system.dimension.spacing.medium"
|
|
70
|
-
},
|
|
71
|
-
rightContent: {
|
|
72
|
-
paddingRight: "sd.system.dimension.spacing.medium"
|
|
73
|
-
},
|
|
74
|
-
input: {
|
|
75
|
-
outline: "none",
|
|
76
|
-
paddingTop: "sd.system.dimension.spacing.extraSmall",
|
|
77
|
-
paddingRight: "sd.system.dimension.spacing.twoExtraSmall",
|
|
78
|
-
paddingBottom: "sd.system.dimension.spacing.extraSmall",
|
|
79
|
-
paddingLeft: "sd.system.dimension.spacing.medium"
|
|
80
|
-
},
|
|
81
|
-
icon: {
|
|
82
|
-
display: "grid",
|
|
83
|
-
placeItems: "center",
|
|
84
|
-
w: "48px",
|
|
85
|
-
h: "48px",
|
|
86
|
-
expanded: {
|
|
87
|
-
w: "44px",
|
|
88
|
-
h: "44px"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
required: {
|
|
92
|
-
pl: "sd.system.dimension.spacing.extraSmall",
|
|
93
|
-
color: "sd.system.color.impression.negative"
|
|
94
|
-
},
|
|
95
|
-
messageField: {
|
|
96
|
-
textStyle: {
|
|
97
|
-
base: "sd.system.typography.body.extraSmall_compact",
|
|
98
|
-
expanded: "sd.system.typography.body.extraSmall_expanded"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
invalidMessage: {
|
|
102
|
-
color: "sd.system.color.impression.negative"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}), K = L(
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { SerendieSymbolAlertCircle as A, SerendieSymbolClose as T } from "@serendie/symbols";
|
|
3
|
+
import W from "../../node_modules/merge-refs/dist/esm/index.js";
|
|
4
|
+
import m, { forwardRef as q } from "react";
|
|
5
|
+
import { textFieldRecipe as x } from "../../styled-system/recipes/text-field-recipe.js";
|
|
6
|
+
import { cx as z } from "../../styled-system/css/cx.js";
|
|
7
|
+
import { css as b } from "../../styled-system/css/css.js";
|
|
8
|
+
const L = q(
|
|
106
9
|
({
|
|
107
|
-
placeholder:
|
|
108
|
-
label:
|
|
109
|
-
description:
|
|
110
|
-
required:
|
|
111
|
-
invalidMessage:
|
|
112
|
-
invalid:
|
|
113
|
-
type:
|
|
114
|
-
disabled:
|
|
115
|
-
onChange:
|
|
116
|
-
value:
|
|
117
|
-
className:
|
|
118
|
-
leftContent:
|
|
119
|
-
rightContent:
|
|
120
|
-
...
|
|
10
|
+
placeholder: F,
|
|
11
|
+
label: d,
|
|
12
|
+
description: i,
|
|
13
|
+
required: u,
|
|
14
|
+
invalidMessage: c,
|
|
15
|
+
invalid: a,
|
|
16
|
+
type: S = "text",
|
|
17
|
+
disabled: n,
|
|
18
|
+
onChange: h,
|
|
19
|
+
value: f,
|
|
20
|
+
className: V,
|
|
21
|
+
leftContent: N,
|
|
22
|
+
rightContent: p,
|
|
23
|
+
...l
|
|
121
24
|
}, w) => {
|
|
122
|
-
const
|
|
123
|
-
var
|
|
124
|
-
const
|
|
25
|
+
const o = m.useRef(null), y = W(o, w), [C, P] = x.splitVariantProps(l), t = x(C), _ = i || a && c, [j, I] = m.useState(l.defaultValue || f), v = l.id || m.useId(), k = () => {
|
|
26
|
+
var R;
|
|
27
|
+
const s = {
|
|
125
28
|
target: { value: "" }
|
|
126
29
|
};
|
|
127
|
-
|
|
128
|
-
},
|
|
129
|
-
|
|
30
|
+
g(s), (R = l.onReset) == null || R.call(l, s), o.current && (o.current.value = "");
|
|
31
|
+
}, g = (s) => {
|
|
32
|
+
I(s.target.value), h && h(s);
|
|
130
33
|
};
|
|
131
|
-
return /* @__PURE__ */
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
34
|
+
return /* @__PURE__ */ r("div", { className: z(t.root, V), children: [
|
|
35
|
+
d ? /* @__PURE__ */ r("label", { className: t.label, htmlFor: v, children: [
|
|
36
|
+
d,
|
|
37
|
+
u && /* @__PURE__ */ e("span", { className: t.labelRequired, children: "必須" })
|
|
135
38
|
] }) : null,
|
|
136
|
-
/* @__PURE__ */
|
|
39
|
+
/* @__PURE__ */ r(
|
|
137
40
|
"div",
|
|
138
41
|
{
|
|
139
|
-
className:
|
|
140
|
-
"data-invalid":
|
|
141
|
-
"data-disabled":
|
|
42
|
+
className: t.inputWrapper,
|
|
43
|
+
"data-invalid": a ? !0 : void 0,
|
|
44
|
+
"data-disabled": n ? !0 : void 0,
|
|
142
45
|
children: [
|
|
143
|
-
|
|
46
|
+
N ? /* @__PURE__ */ e("div", { className: t.leftContent, children: N }) : /* @__PURE__ */ e("div", {}),
|
|
144
47
|
/* @__PURE__ */ e(
|
|
145
48
|
"input",
|
|
146
49
|
{
|
|
147
|
-
ref:
|
|
148
|
-
id:
|
|
149
|
-
placeholder:
|
|
150
|
-
required:
|
|
151
|
-
disabled:
|
|
152
|
-
value:
|
|
153
|
-
type:
|
|
154
|
-
className:
|
|
155
|
-
onChange:
|
|
156
|
-
...
|
|
50
|
+
ref: y,
|
|
51
|
+
id: v,
|
|
52
|
+
placeholder: F,
|
|
53
|
+
required: u,
|
|
54
|
+
disabled: n,
|
|
55
|
+
value: f,
|
|
56
|
+
type: S,
|
|
57
|
+
className: t.input,
|
|
58
|
+
onChange: g,
|
|
59
|
+
...P
|
|
157
60
|
}
|
|
158
61
|
),
|
|
159
|
-
|
|
160
|
-
(
|
|
62
|
+
p ? /* @__PURE__ */ e("div", { className: t.rightContent, children: p }) : /* @__PURE__ */ e("div", { className: t.icon, children: !n && /* disabledの場合はアイコンを表示しない */
|
|
63
|
+
(a ? /* @__PURE__ */ e(
|
|
161
64
|
"span",
|
|
162
65
|
{
|
|
163
|
-
className:
|
|
66
|
+
className: b({
|
|
164
67
|
color: "sd.system.color.impression.negative"
|
|
165
68
|
}),
|
|
166
|
-
children: /* @__PURE__ */ e(
|
|
69
|
+
children: /* @__PURE__ */ e(A, { width: 20, height: 20 })
|
|
167
70
|
}
|
|
168
|
-
) :
|
|
71
|
+
) : j ? /* @__PURE__ */ e(
|
|
169
72
|
"button",
|
|
170
73
|
{
|
|
171
|
-
className:
|
|
172
|
-
onClick:
|
|
74
|
+
className: b({ cursor: "pointer" }),
|
|
75
|
+
onClick: k,
|
|
173
76
|
"aria-label": "値をクリア",
|
|
174
|
-
children: /* @__PURE__ */ e(
|
|
77
|
+
children: /* @__PURE__ */ e(T, { width: 20, height: 20 })
|
|
175
78
|
}
|
|
176
79
|
) : null) })
|
|
177
80
|
]
|
|
178
81
|
}
|
|
179
82
|
),
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
83
|
+
_ && /* @__PURE__ */ r("div", { className: t.messageField, children: [
|
|
84
|
+
i && /* @__PURE__ */ e("p", { className: t.description, children: i }),
|
|
85
|
+
a && c && /* @__PURE__ */ e("p", { className: t.invalidMessage, children: c })
|
|
183
86
|
] })
|
|
184
87
|
] });
|
|
185
88
|
}
|
|
186
89
|
);
|
|
187
90
|
export {
|
|
188
|
-
|
|
91
|
+
L as TextField
|
|
189
92
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createToaster } from '@ark-ui/react';
|
|
2
|
-
export declare const ToastStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"
|
|
2
|
+
export declare const ToastStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"root" | "icon" | "text" | "textGroup", {
|
|
3
3
|
variant: {
|
|
4
4
|
default: {
|
|
5
5
|
root: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { RecipeVariantProps } from '../../../styled-system/css';
|
|
3
3
|
import { NotificationBadgeProps } from '../NotificationBadge';
|
|
4
|
-
declare const topAppBarStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"container" | "left" | "
|
|
4
|
+
declare const topAppBarStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"container" | "left" | "root" | "title" | "buttonContainer", {
|
|
5
5
|
type: {
|
|
6
6
|
navbar: {};
|
|
7
7
|
titleBar: {};
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './components/CheckBox/index.ts';
|
|
|
10
10
|
export * from './components/ChoiceBox/index.ts';
|
|
11
11
|
export * from './components/DashboardWidget/index.ts';
|
|
12
12
|
export * from './components/DataTable/index.ts';
|
|
13
|
+
export * from './components/DatePicker/index.ts';
|
|
13
14
|
export * from './components/Divider/index.ts';
|
|
14
15
|
export * from './components/Drawer/index.ts';
|
|
15
16
|
export * from './components/DropdownMenu/index.ts';
|
package/dist/index.js
CHANGED
|
@@ -1,50 +1,53 @@
|
|
|
1
1
|
import { SerendiePreset as e } from "./preset.js";
|
|
2
2
|
import { Accordion as a } from "./components/Accordion/Accordion.js";
|
|
3
3
|
import { AccordionGroup as m } from "./components/Accordion/AccordionGroup.js";
|
|
4
|
-
import { Avatar as
|
|
5
|
-
import { Badge as
|
|
4
|
+
import { Avatar as i, AvatarStyle as n } from "./components/Avatar/Avatar.js";
|
|
5
|
+
import { Badge as s, BadgeCloseButton as c, BadgeStyle as d } from "./components/Badge/Badge.js";
|
|
6
6
|
import { Banner as h } from "./components/Banner/Banner.js";
|
|
7
7
|
import { BottomNavigation as S } from "./components/BottomNavigation/BottomNavigation.js";
|
|
8
8
|
import { BottomNavigationItem as g, BottomNavigationItemStyle as y } from "./components/BottomNavigation/BottomNavigationItem.js";
|
|
9
9
|
import { Button as I, ButtonStyle as T } from "./components/Button/Button.js";
|
|
10
|
-
import { SerendieChartTheme as
|
|
11
|
-
import { compactChartMargin as
|
|
10
|
+
import { SerendieChartTheme as D } from "./components/Chart/SerendieChartTheme.js";
|
|
11
|
+
import { compactChartMargin as k, defaultChartMargin as v, getChartColor as M, getChartColors as w, legendChartMargin as A, spaciousChartMargin as L, useBarChartProps as N, useChartProps as R, useLineChartProps as F, usePieChartProps as G } from "./components/Chart/SerendieChartProps.js";
|
|
12
12
|
import { CheckBox as W, CheckBoxStyle as j, checkboxCheckedIconCss as q, checkboxIconCss as z, checkboxUncheckedIconCss as E } from "./components/CheckBox/CheckBox.js";
|
|
13
13
|
import { ChoiceBox as J, ChoiceBoxStyle as K } from "./components/ChoiceBox/ChoiceBox.js";
|
|
14
14
|
import { DashboardWidget as Q } from "./components/DashboardWidget/DashboardWidget.js";
|
|
15
15
|
import { DataTable as X } from "./components/DataTable/index.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
16
|
+
import { DatePicker as Z } from "./components/DatePicker/DatePicker.js";
|
|
17
|
+
import { Divider as $, DividerStyle as oo } from "./components/Divider/Divider.js";
|
|
18
|
+
import { Drawer as eo } from "./components/Drawer/Drawer.js";
|
|
19
|
+
import { DropdownMenu as ao, DropdownMenuStyle as po } from "./components/DropdownMenu/DropdownMenu.js";
|
|
20
|
+
import { IconButton as xo, IconButtonStyle as io } from "./components/IconButton/IconButton.js";
|
|
21
|
+
import { List as fo } from "./components/List/List.js";
|
|
22
|
+
import { ListItem as co, ListItemStyle as lo } from "./components/List/ListItem.js";
|
|
23
|
+
import { ModalDialog as Co } from "./components/ModalDialog/ModalDialog.js";
|
|
24
|
+
import { NotificationBadge as Bo } from "./components/NotificationBadge/NotificationBadge.js";
|
|
25
|
+
import { Pagination as yo, PaginationStyle as uo } from "./components/Pagination/Pagination.js";
|
|
26
|
+
import { PasswordField as To } from "./components/PasswordField/PasswordField.js";
|
|
27
|
+
import { ProgressIndicator as Do } from "./components/ProgressIndicator/ProgressIndicator.js";
|
|
28
|
+
import { ProgressIndicatorIndeterminate as ko } from "./components/ProgressIndicator/ProgressIndicatorIndeterminate.js";
|
|
29
|
+
import { RadioButton as Mo, RadioButtonStyle as wo, radioCheckedIconCss as Ao, radioIconCss as Lo, radioUncheckedIconCss as No } from "./components/RadioButton/RadioButton.js";
|
|
30
|
+
import { RadioGroup as Fo } from "./components/RadioButton/RadioGroup.js";
|
|
31
|
+
import { Search as Uo, SearchStyle as Wo } from "./components/Search/Search.js";
|
|
32
|
+
import { Select as qo, SelectStyle as zo } from "./components/Select/Select.js";
|
|
33
|
+
import { Switch as Ho, SwitchStyle as Jo } from "./components/Switch/Switch.js";
|
|
34
|
+
import { Tabs as Oo, TabsStyle as Qo } from "./components/Tabs/Tabs.js";
|
|
35
|
+
import { TabItem as Xo, TabItemStyle as Yo } from "./components/Tabs/TabItem.js";
|
|
36
|
+
import { TextArea as _o } from "./components/TextArea/TextArea.js";
|
|
37
|
+
import { TextField as or } from "./components/TextField/TextField.js";
|
|
38
|
+
import { Toast as er, ToastStyle as tr, toaster as ar } from "./components/Toast/Toast.js";
|
|
39
|
+
import { Tooltip as mr } from "./components/Tooltip/Tooltip.js";
|
|
40
|
+
import { TopAppBar as ir } from "./components/TopAppBar/TopAppBar.js";
|
|
41
|
+
import { DataTableComponent as fr } from "./components/DataTable/DataTableComponent.js";
|
|
42
|
+
import { parse as cr } from "./node_modules/@zag-js/date-picker/dist/index.js";
|
|
40
43
|
export {
|
|
41
44
|
a as Accordion,
|
|
42
45
|
m as AccordionGroup,
|
|
43
|
-
|
|
46
|
+
i as Avatar,
|
|
44
47
|
n as AvatarStyle,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
s as Badge,
|
|
49
|
+
c as BadgeCloseButton,
|
|
50
|
+
d as BadgeStyle,
|
|
48
51
|
h as Banner,
|
|
49
52
|
S as BottomNavigation,
|
|
50
53
|
g as BottomNavigationItem,
|
|
@@ -57,58 +60,60 @@ export {
|
|
|
57
60
|
K as ChoiceBoxStyle,
|
|
58
61
|
Q as DashboardWidget,
|
|
59
62
|
X as DataTable,
|
|
60
|
-
|
|
61
|
-
Z as
|
|
62
|
-
|
|
63
|
-
oo as
|
|
64
|
-
eo as
|
|
65
|
-
|
|
66
|
-
po as
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
fo as
|
|
70
|
-
co as
|
|
71
|
-
lo as
|
|
72
|
-
Co as
|
|
73
|
-
Bo as
|
|
74
|
-
|
|
75
|
-
uo as
|
|
76
|
-
To as
|
|
77
|
-
|
|
78
|
-
ko as
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
63
|
+
fr as DataTableComponent,
|
|
64
|
+
Z as DatePicker,
|
|
65
|
+
$ as Divider,
|
|
66
|
+
oo as DividerStyle,
|
|
67
|
+
eo as Drawer,
|
|
68
|
+
ao as DropdownMenu,
|
|
69
|
+
po as DropdownMenuStyle,
|
|
70
|
+
xo as IconButton,
|
|
71
|
+
io as IconButtonStyle,
|
|
72
|
+
fo as List,
|
|
73
|
+
co as ListItem,
|
|
74
|
+
lo as ListItemStyle,
|
|
75
|
+
Co as ModalDialog,
|
|
76
|
+
Bo as NotificationBadge,
|
|
77
|
+
yo as Pagination,
|
|
78
|
+
uo as PaginationStyle,
|
|
79
|
+
To as PasswordField,
|
|
80
|
+
Do as ProgressIndicator,
|
|
81
|
+
ko as ProgressIndicatorIndeterminate,
|
|
82
|
+
Mo as RadioButton,
|
|
83
|
+
wo as RadioButtonStyle,
|
|
84
|
+
Fo as RadioGroup,
|
|
85
|
+
Uo as Search,
|
|
86
|
+
Wo as SearchStyle,
|
|
87
|
+
qo as Select,
|
|
88
|
+
zo as SelectStyle,
|
|
89
|
+
D as SerendieChartTheme,
|
|
86
90
|
e as SerendiePreset,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
91
|
+
Ho as Switch,
|
|
92
|
+
Jo as SwitchStyle,
|
|
93
|
+
Xo as TabItem,
|
|
94
|
+
Yo as TabItemStyle,
|
|
95
|
+
Oo as Tabs,
|
|
96
|
+
Qo as TabsStyle,
|
|
97
|
+
_o as TextArea,
|
|
98
|
+
or as TextField,
|
|
99
|
+
er as Toast,
|
|
100
|
+
tr as ToastStyle,
|
|
101
|
+
mr as Tooltip,
|
|
102
|
+
ir as TopAppBar,
|
|
99
103
|
q as checkboxCheckedIconCss,
|
|
100
104
|
z as checkboxIconCss,
|
|
101
105
|
E as checkboxUncheckedIconCss,
|
|
102
|
-
|
|
106
|
+
k as compactChartMargin,
|
|
103
107
|
v as defaultChartMargin,
|
|
104
108
|
M as getChartColor,
|
|
105
109
|
w as getChartColors,
|
|
106
110
|
A as legendChartMargin,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
111
|
+
cr as parseDate,
|
|
112
|
+
Ao as radioCheckedIconCss,
|
|
113
|
+
Lo as radioIconCss,
|
|
114
|
+
No as radioUncheckedIconCss,
|
|
110
115
|
L as spaciousChartMargin,
|
|
111
|
-
|
|
116
|
+
ar as toaster,
|
|
112
117
|
N as useBarChartProps,
|
|
113
118
|
R as useChartProps,
|
|
114
119
|
F as useLineChartProps,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as s } from "react";
|
|
3
|
+
import { composeRefs as p } from "../../utils/compose-refs.js";
|
|
4
|
+
import { ark as i } from "../factory.js";
|
|
5
|
+
import { usePresenceContext as f } from "../presence/use-presence-context.js";
|
|
6
|
+
import { useDatePickerContext as c } from "./use-date-picker-context.js";
|
|
7
|
+
import { mergeProps as P } from "../../../../../@zag-js/core/dist/index.js";
|
|
8
|
+
const a = s((r, o) => {
|
|
9
|
+
const t = c(), e = f(), n = P(t.getContentProps(), e.getPresenceProps(), r);
|
|
10
|
+
return e.unmounted ? null : /* @__PURE__ */ m(i.div, { ...n, ref: p(e.ref, o) });
|
|
11
|
+
});
|
|
12
|
+
a.displayName = "DatePickerContent";
|
|
13
|
+
export {
|
|
14
|
+
a as DatePickerContent
|
|
15
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as i } from "react";
|
|
3
|
+
import { ark as p } from "../factory.js";
|
|
4
|
+
import { useDatePickerContext as s } from "./use-date-picker-context.js";
|
|
5
|
+
import { mergeProps as a } from "../../../../../@zag-js/core/dist/index.js";
|
|
6
|
+
const n = i((r, o) => {
|
|
7
|
+
const t = s(), e = a(t.getControlProps(), r);
|
|
8
|
+
return /* @__PURE__ */ m(p.div, { ...e, ref: o });
|
|
9
|
+
});
|
|
10
|
+
n.displayName = "DatePickerControl";
|
|
11
|
+
export {
|
|
12
|
+
n as DatePickerControl
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as n } from "react";
|
|
3
|
+
import { createSplitProps as s } from "../../utils/create-split-props.js";
|
|
4
|
+
import { ark as a } from "../factory.js";
|
|
5
|
+
import { useDatePickerContext as c } from "./use-date-picker-context.js";
|
|
6
|
+
import { mergeProps as P } from "../../../../../@zag-js/core/dist/index.js";
|
|
7
|
+
const f = n((r, o) => {
|
|
8
|
+
const [t, e] = s()(r, ["index", "fixOnBlur"]), p = c(), i = P(p.getInputProps(t), e);
|
|
9
|
+
return /* @__PURE__ */ m(a.input, { ...i, ref: o });
|
|
10
|
+
});
|
|
11
|
+
f.displayName = "DatePickerInput";
|
|
12
|
+
export {
|
|
13
|
+
f as DatePickerInput
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
|
+
import { ark as i } from "../factory.js";
|
|
4
|
+
import { useDatePickerContext as p } from "./use-date-picker-context.js";
|
|
5
|
+
import { mergeProps as s } from "../../../../../@zag-js/core/dist/index.js";
|
|
6
|
+
const c = a((r, e) => {
|
|
7
|
+
const o = p(), t = s(o.getLabelProps(), r);
|
|
8
|
+
return /* @__PURE__ */ m(i.label, { ...t, ref: e });
|
|
9
|
+
});
|
|
10
|
+
c.displayName = "DatePickerLabel";
|
|
11
|
+
export {
|
|
12
|
+
c as DatePickerLabel
|
|
13
|
+
};
|
package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-month-select.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
|
+
import { ark as p } from "../factory.js";
|
|
4
|
+
import { useDatePickerContext as l } from "./use-date-picker-context.js";
|
|
5
|
+
import { mergeProps as n } from "../../../../../@zag-js/core/dist/index.js";
|
|
6
|
+
const s = a((o, c) => {
|
|
7
|
+
const e = l(), i = n(e.getMonthSelectProps(), o);
|
|
8
|
+
return /* @__PURE__ */ t(p.select, { ...i, ref: c, children: e.getMonths().map((r, m) => /* @__PURE__ */ t("option", { value: r.value, children: r.label }, m)) });
|
|
9
|
+
});
|
|
10
|
+
s.displayName = "DatePickerMonthSelect";
|
|
11
|
+
export {
|
|
12
|
+
s as DatePickerMonthSelect
|
|
13
|
+
};
|
package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-next-trigger.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p } from "react";
|
|
3
|
+
import { ark as s } from "../factory.js";
|
|
4
|
+
import { useDatePickerContext as P } from "./use-date-picker-context.js";
|
|
5
|
+
import { useDatePickerViewPropsContext as a } from "./use-date-picker-view-props-context.js";
|
|
6
|
+
import { mergeProps as c } from "../../../../../@zag-js/core/dist/index.js";
|
|
7
|
+
const g = p((r, e) => {
|
|
8
|
+
const t = P(), o = a(), i = c(t.getNextTriggerProps(o), r);
|
|
9
|
+
return /* @__PURE__ */ m(s.button, { ...i, ref: e });
|
|
10
|
+
});
|
|
11
|
+
g.displayName = "DatePickerNextTrigger";
|
|
12
|
+
export {
|
|
13
|
+
g as DatePickerNextTrigger
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as n } from "react";
|
|
3
|
+
import { ark as s } from "../factory.js";
|
|
4
|
+
import { usePresenceContext as m } from "../presence/use-presence-context.js";
|
|
5
|
+
import { useDatePickerContext as p } from "./use-date-picker-context.js";
|
|
6
|
+
import { mergeProps as c } from "../../../../../@zag-js/core/dist/index.js";
|
|
7
|
+
const P = n((e, r) => {
|
|
8
|
+
const o = p(), t = c(o.getPositionerProps(), e);
|
|
9
|
+
return m().unmounted ? null : /* @__PURE__ */ i(s.div, { ...t, ref: r });
|
|
10
|
+
});
|
|
11
|
+
P.displayName = "DatePickerPositioner";
|
|
12
|
+
export {
|
|
13
|
+
P as DatePickerPositioner
|
|
14
|
+
};
|
package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-prev-trigger.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p } from "react";
|
|
3
|
+
import { ark as s } from "../factory.js";
|
|
4
|
+
import { useDatePickerContext as P } from "./use-date-picker-context.js";
|
|
5
|
+
import { useDatePickerViewPropsContext as a } from "./use-date-picker-view-props-context.js";
|
|
6
|
+
import { mergeProps as c } from "../../../../../@zag-js/core/dist/index.js";
|
|
7
|
+
const g = p((r, e) => {
|
|
8
|
+
const o = P(), t = a(), i = c(o.getPrevTriggerProps(t), r);
|
|
9
|
+
return /* @__PURE__ */ m(s.button, { ...i, ref: e });
|
|
10
|
+
});
|
|
11
|
+
g.displayName = "DatePickerPrevTrigger";
|
|
12
|
+
export {
|
|
13
|
+
g as DatePickerPrevTrigger
|
|
14
|
+
};
|