@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
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
OnOfflineRadioCard
|
|
3
3
|
} from "../../chunk-4UV3GA6V.js";
|
|
4
4
|
import "../../chunk-FLMSBAPO.js";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-GGXPZLTY.js";
|
|
6
6
|
import "../../chunk-GGYG5EKG.js";
|
|
7
7
|
import "../../chunk-OHBXWFQ7.js";
|
|
8
8
|
import "../../chunk-PCWEW2UL.js";
|
|
@@ -10,7 +10,7 @@ import "../../chunk-OCINOC2X.js";
|
|
|
10
10
|
import "../../chunk-LEA3N4OQ.js";
|
|
11
11
|
import "../../chunk-WUULPI2P.js";
|
|
12
12
|
import "../../chunk-V4ZJJM3V.js";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-EVCB4ZZJ.js";
|
|
14
14
|
import "../../chunk-V2DF2GUE.js";
|
|
15
15
|
import "../../chunk-ZXQZRIRS.js";
|
|
16
16
|
import "../../chunk-W4GH6ZKK.js";
|
|
@@ -1015,16 +1015,19 @@ function DatePickerButton(props) {
|
|
|
1015
1015
|
const buttonProps = (0, import_react26.useMemo)(() => {
|
|
1016
1016
|
const variant = "outline";
|
|
1017
1017
|
const color = "gray";
|
|
1018
|
-
return { size, color, variant };
|
|
1019
|
-
}, [size]);
|
|
1018
|
+
return { size, color, variant, disabled };
|
|
1019
|
+
}, [disabled, size]);
|
|
1020
1020
|
const selectFormat = (0, import_react26.useMemo)(() => {
|
|
1021
1021
|
if (formatProps)
|
|
1022
1022
|
return formatProps;
|
|
1023
1023
|
return (date) => date ? (0, import_date_fns.format)(date, "yyyy\uB144 MM\uC6D4 dd\uC77C") : placeholder;
|
|
1024
1024
|
}, [formatProps, placeholder]);
|
|
1025
1025
|
const className = (0, import_react26.useMemo)(() => {
|
|
1026
|
-
return (0, import_clsx.clsx)(
|
|
1027
|
-
|
|
1026
|
+
return (0, import_clsx.clsx)(
|
|
1027
|
+
"date-picker-button",
|
|
1028
|
+
(disabled || props.readOnly) && "disabled"
|
|
1029
|
+
);
|
|
1030
|
+
}, [disabled, props.readOnly]);
|
|
1028
1031
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1029
1032
|
DatePicker,
|
|
1030
1033
|
__spreadProps(__spreadValues({
|
|
@@ -1091,7 +1094,7 @@ function TimeSelect(_a) {
|
|
|
1091
1094
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
1092
1095
|
}, [maxTime, minTime, time]);
|
|
1093
1096
|
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
1094
|
-
/* @__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" } }) }),
|
|
1097
|
+
/* @__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 }) }),
|
|
1095
1098
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
1096
1099
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
1097
1100
|
if (!visible) {
|