@tipp/ui 1.6.4 → 1.6.5
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/app/index.cjs +8 -5
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +6 -6
- package/dist/app/platform/edit-coaching-time.cjs +8 -5
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +3 -3
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +2 -2
- package/dist/app/platform/goal-manage-card-edit.cjs +7 -4
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +3 -3
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +2 -2
- package/dist/app/platform/reservation-card.cjs +8 -5
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +3 -3
- package/dist/app/platform/session-card.cjs +8 -5
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +4 -4
- package/dist/chunk-AEHUSHES.js +145 -0
- package/dist/chunk-AEHUSHES.js.map +1 -0
- package/dist/chunk-AGURJ3T5.js +277 -0
- package/dist/chunk-AGURJ3T5.js.map +1 -0
- package/dist/chunk-C7XYI4HY.js +277 -0
- package/dist/chunk-C7XYI4HY.js.map +1 -0
- package/dist/chunk-EPZ2D427.js +145 -0
- package/dist/chunk-EPZ2D427.js.map +1 -0
- package/dist/chunk-EVCB4ZZJ.js +60 -0
- package/dist/chunk-EVCB4ZZJ.js.map +1 -0
- package/dist/chunk-FUTVSARU.js +145 -0
- package/dist/chunk-FUTVSARU.js.map +1 -0
- package/dist/chunk-GGXPZLTY.js +62 -0
- package/dist/chunk-GGXPZLTY.js.map +1 -0
- package/dist/chunk-LUE7QN3Z.js +192 -0
- package/dist/chunk-LUE7QN3Z.js.map +1 -0
- package/dist/chunk-R6BHSDHQ.js +145 -0
- package/dist/chunk-R6BHSDHQ.js.map +1 -0
- package/dist/chunk-SQKKAVI3.js +145 -0
- package/dist/chunk-SQKKAVI3.js.map +1 -0
- package/dist/chunk-TNJG6DRI.js +174 -0
- package/dist/chunk-TNJG6DRI.js.map +1 -0
- package/dist/chunk-UH3EXAIO.js +277 -0
- package/dist/chunk-UH3EXAIO.js.map +1 -0
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/molecules/date-picker/date-picker-button.cjs +7 -4
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +1 -1
- package/dist/molecules/form/form.d.cts +1 -1
- package/dist/molecules/form/form.d.ts +1 -1
- package/dist/molecules/index.cjs +8 -5
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +2 -2
- package/dist/molecules/time-select.cjs +1 -1
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +1 -1
- package/package.json +1 -1
- package/src/molecules/date-picker/date-picker-button.tsx +7 -4
- package/src/molecules/time-select.tsx +3 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ReservationCard
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-UH3EXAIO.js";
|
|
4
4
|
import "../../chunk-4UV3GA6V.js";
|
|
5
5
|
import "../../chunk-FLMSBAPO.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-GGXPZLTY.js";
|
|
7
7
|
import "../../chunk-GGYG5EKG.js";
|
|
8
8
|
import "../../chunk-OHBXWFQ7.js";
|
|
9
9
|
import "../../chunk-PCWEW2UL.js";
|
|
@@ -11,7 +11,7 @@ import "../../chunk-OCINOC2X.js";
|
|
|
11
11
|
import "../../chunk-LEA3N4OQ.js";
|
|
12
12
|
import "../../chunk-WUULPI2P.js";
|
|
13
13
|
import "../../chunk-V4ZJJM3V.js";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-EVCB4ZZJ.js";
|
|
15
15
|
import "../../chunk-V2DF2GUE.js";
|
|
16
16
|
import "../../chunk-ZXQZRIRS.js";
|
|
17
17
|
import "../../chunk-W4GH6ZKK.js";
|
|
@@ -1119,16 +1119,19 @@ function DatePickerButton(props) {
|
|
|
1119
1119
|
const buttonProps = (0, import_react26.useMemo)(() => {
|
|
1120
1120
|
const variant = "outline";
|
|
1121
1121
|
const color = "gray";
|
|
1122
|
-
return { size, color, variant };
|
|
1123
|
-
}, [size]);
|
|
1122
|
+
return { size, color, variant, disabled };
|
|
1123
|
+
}, [disabled, size]);
|
|
1124
1124
|
const selectFormat = (0, import_react26.useMemo)(() => {
|
|
1125
1125
|
if (formatProps)
|
|
1126
1126
|
return formatProps;
|
|
1127
1127
|
return (date) => date ? (0, import_date_fns.format)(date, "yyyy\uB144 MM\uC6D4 dd\uC77C") : placeholder;
|
|
1128
1128
|
}, [formatProps, placeholder]);
|
|
1129
1129
|
const className = (0, import_react26.useMemo)(() => {
|
|
1130
|
-
return (0, import_clsx.clsx)(
|
|
1131
|
-
|
|
1130
|
+
return (0, import_clsx.clsx)(
|
|
1131
|
+
"date-picker-button",
|
|
1132
|
+
(disabled || props.readOnly) && "disabled"
|
|
1133
|
+
);
|
|
1134
|
+
}, [disabled, props.readOnly]);
|
|
1132
1135
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1133
1136
|
DatePicker,
|
|
1134
1137
|
__spreadProps(__spreadValues({
|
|
@@ -1195,7 +1198,7 @@ function TimeSelect(_a) {
|
|
|
1195
1198
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
1196
1199
|
}, [maxTime, minTime, time]);
|
|
1197
1200
|
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
1198
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" } }) }),
|
|
1201
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" }, children: value }) }),
|
|
1199
1202
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
1200
1203
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
1201
1204
|
if (!visible) {
|