@tipp/ui 1.6.27 → 1.6.29

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.
Files changed (115) hide show
  1. package/dist/app/index.cjs +2 -2
  2. package/dist/app/index.cjs.map +1 -1
  3. package/dist/app/index.js +47 -47
  4. package/dist/app/platform/coach-question-list.cjs +1 -1
  5. package/dist/app/platform/coach-question-list.cjs.map +1 -1
  6. package/dist/app/platform/coach-question-list.js +30 -30
  7. package/dist/app/platform/contents-card.cjs +1 -1
  8. package/dist/app/platform/contents-card.cjs.map +1 -1
  9. package/dist/app/platform/contents-card.js +30 -30
  10. package/dist/app/platform/curriculum-card.js +5 -5
  11. package/dist/app/platform/edit-coaching-time.cjs +2 -2
  12. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  13. package/dist/app/platform/edit-coaching-time.js +34 -34
  14. package/dist/app/platform/edit-service-type.cjs +2 -2
  15. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  16. package/dist/app/platform/edit-service-type.js +34 -34
  17. package/dist/app/platform/goal-manage-card-edit.cjs +1 -1
  18. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  19. package/dist/app/platform/goal-manage-card-edit.js +34 -34
  20. package/dist/app/platform/goal-manage-card-read.cjs +1 -1
  21. package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
  22. package/dist/app/platform/goal-manage-card-read.js +30 -30
  23. package/dist/app/platform/on-offline-radio-card.cjs +1 -1
  24. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  25. package/dist/app/platform/on-offline-radio-card.js +33 -33
  26. package/dist/app/platform/report-card.cjs +1 -1
  27. package/dist/app/platform/report-card.cjs.map +1 -1
  28. package/dist/app/platform/report-card.js +30 -30
  29. package/dist/app/platform/reservation-card.cjs +1 -1
  30. package/dist/app/platform/reservation-card.cjs.map +1 -1
  31. package/dist/app/platform/reservation-card.js +34 -34
  32. package/dist/app/platform/session-card.cjs +2 -2
  33. package/dist/app/platform/session-card.cjs.map +1 -1
  34. package/dist/app/platform/session-card.js +36 -36
  35. package/dist/app/platform/session-review-simple-read.cjs +1 -1
  36. package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
  37. package/dist/app/platform/session-review-simple-read.js +30 -30
  38. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +1 -1
  39. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
  40. package/dist/app/platform/userInfos/coaching-customer-info/index.js +32 -32
  41. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +1 -1
  42. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
  43. package/dist/app/platform/userInfos/coaching-customer-info/large.js +30 -30
  44. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +1 -1
  45. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
  46. package/dist/app/platform/userInfos/coaching-customer-info/medium.js +30 -30
  47. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +1 -1
  48. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
  49. package/dist/app/platform/userInfos/coaching-customer-info/small.js +29 -29
  50. package/dist/app/platform/userInfos/session-user-info-detail.cjs +1 -1
  51. package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
  52. package/dist/app/platform/userInfos/session-user-info-detail.js +29 -29
  53. package/dist/app/platform/userInfos/utils.cjs +1 -1
  54. package/dist/app/platform/userInfos/utils.cjs.map +1 -1
  55. package/dist/app/platform/userInfos/utils.js +29 -29
  56. package/dist/atoms/auto-sizing-input.cjs +1 -1
  57. package/dist/atoms/auto-sizing-input.cjs.map +1 -1
  58. package/dist/atoms/auto-sizing-input.js +1 -1
  59. package/dist/atoms/dialog.cjs +1 -1
  60. package/dist/atoms/dialog.cjs.map +1 -1
  61. package/dist/atoms/dialog.js +1 -1
  62. package/dist/atoms/index.cjs +2 -2
  63. package/dist/atoms/index.cjs.map +1 -1
  64. package/dist/atoms/index.js +65 -65
  65. package/dist/atoms/pagination.js +3 -3
  66. package/dist/charts/index.js +3 -3
  67. package/dist/chunk-5L3GY3OV.js +106 -0
  68. package/dist/chunk-5L3GY3OV.js.map +1 -0
  69. package/dist/chunk-B3TMWAJI.js +145 -0
  70. package/dist/chunk-B3TMWAJI.js.map +1 -0
  71. package/dist/chunk-B6JJT4VK.js +174 -0
  72. package/dist/chunk-B6JJT4VK.js.map +1 -0
  73. package/dist/chunk-DDXBIVPL.js +54 -0
  74. package/dist/chunk-DDXBIVPL.js.map +1 -0
  75. package/dist/chunk-F43CRBEH.js +357 -0
  76. package/dist/chunk-F43CRBEH.js.map +1 -0
  77. package/dist/chunk-ME5XT4JY.js +145 -0
  78. package/dist/chunk-ME5XT4JY.js.map +1 -0
  79. package/dist/chunk-UARPROHP.js +48 -0
  80. package/dist/chunk-UARPROHP.js.map +1 -0
  81. package/dist/icon.js +9 -9
  82. package/dist/icons/index.js +9 -9
  83. package/dist/index.cjs +2 -2
  84. package/dist/index.cjs.map +1 -1
  85. package/dist/index.js +97 -97
  86. package/dist/molecules/date-picker/date-picker-button.cjs +1 -1
  87. package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
  88. package/dist/molecules/date-picker/date-picker-button.js +29 -29
  89. package/dist/molecules/date-picker/index.js +3 -3
  90. package/dist/molecules/expand-table/index.cjs +1 -1
  91. package/dist/molecules/expand-table/index.cjs.map +1 -1
  92. package/dist/molecules/expand-table/index.js +30 -30
  93. package/dist/molecules/expand-table/row.cjs +1 -1
  94. package/dist/molecules/expand-table/row.cjs.map +1 -1
  95. package/dist/molecules/expand-table/row.js +29 -29
  96. package/dist/molecules/index.cjs +1 -1
  97. package/dist/molecules/index.cjs.map +1 -1
  98. package/dist/molecules/index.js +33 -33
  99. package/dist/molecules/learning-post.js +2 -2
  100. package/dist/molecules/navigation.cjs +1 -1
  101. package/dist/molecules/navigation.cjs.map +1 -1
  102. package/dist/molecules/navigation.js +29 -29
  103. package/dist/molecules/radio-button-card.cjs +1 -1
  104. package/dist/molecules/radio-button-card.cjs.map +1 -1
  105. package/dist/molecules/radio-button-card.js +29 -29
  106. package/dist/molecules/stepper.js +5 -5
  107. package/dist/molecules/tag-selector.cjs +1 -1
  108. package/dist/molecules/tag-selector.cjs.map +1 -1
  109. package/dist/molecules/tag-selector.js +30 -30
  110. package/dist/molecules/time-select.cjs +1 -1
  111. package/dist/molecules/time-select.cjs.map +1 -1
  112. package/dist/molecules/time-select.js +29 -29
  113. package/package.json +1 -1
  114. package/src/atoms/auto-sizing-input.tsx +1 -1
  115. package/src/atoms/dialog.tsx +1 -1
@@ -0,0 +1,48 @@
1
+ import {
2
+ __objRest,
3
+ __spreadValues
4
+ } from "./chunk-N552FDTV.js";
5
+
6
+ // src/atoms/auto-sizing-input.tsx
7
+ import {
8
+ forwardRef,
9
+ useCallback,
10
+ useEffect,
11
+ useRef,
12
+ useState
13
+ } from "react";
14
+ import { jsx, jsxs } from "react/jsx-runtime";
15
+ var AutoSizingInput = forwardRef(
16
+ (_a, ref) => {
17
+ var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
18
+ const [value, setValue] = useState(_value);
19
+ const [width, setWidth] = useState(0);
20
+ const span = useRef(null);
21
+ useEffect(() => {
22
+ span.current && setWidth(span.current.offsetWidth);
23
+ }, [value]);
24
+ const changeHandler = useCallback(
25
+ (evt) => {
26
+ onChange == null ? void 0 : onChange(evt);
27
+ setValue(evt.target.value);
28
+ },
29
+ [onChange]
30
+ );
31
+ useEffect(() => {
32
+ setValue(_value || "");
33
+ }, [_value]);
34
+ useEffect(() => {
35
+ onChangeValue == null ? void 0 : onChangeValue(value || "");
36
+ }, [value, onChangeValue]);
37
+ return /* @__PURE__ */ jsxs("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [
38
+ /* @__PURE__ */ jsx("input", __spreadValues({ onChange: changeHandler, ref, value }, rest)),
39
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", ref: span, style: rest.style, children: value })
40
+ ] });
41
+ }
42
+ );
43
+ AutoSizingInput.displayName = "AutoSizingInput";
44
+
45
+ export {
46
+ AutoSizingInput
47
+ };
48
+ //# sourceMappingURL=chunk-UARPROHP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/atoms/auto-sizing-input.tsx"],"sourcesContent":["import type { DetailedHTMLProps } from 'react';\nimport React, {\n forwardRef,\n useCallback,\n useEffect,\n useRef,\n useState,\n} from 'react';\n\nexport interface AutoSizingInputProps\n extends DetailedHTMLProps<\n React.InputHTMLAttributes<HTMLInputElement>,\n HTMLInputElement\n > {\n value?: string;\n onChangeValue?: (value: string) => void;\n onChange?: React.ChangeEventHandler<HTMLInputElement>;\n}\n\nexport const AutoSizingInput = forwardRef<\n HTMLInputElement,\n AutoSizingInputProps\n>(\n (\n { value: _value, onChangeValue, onChange, ...rest },\n ref\n ): React.ReactNode => {\n const [value, setValue] = useState(_value);\n const [width, setWidth] = useState(0);\n const span = useRef<HTMLSpanElement>(null);\n\n useEffect(() => {\n span.current && setWidth(span.current.offsetWidth);\n }, [value]);\n\n const changeHandler = useCallback<\n React.ChangeEventHandler<HTMLInputElement>\n >(\n (evt) => {\n onChange?.(evt);\n setValue(evt.target.value);\n },\n [onChange]\n );\n\n useEffect(() => {\n setValue(_value || '');\n }, [_value]);\n\n useEffect(() => {\n onChangeValue?.(value || '');\n }, [value, onChangeValue]);\n\n return (\n <div className=\"auto-sizing-input wrapper\" style={{ width: width + 24 }}>\n <input onChange={changeHandler} ref={ref} value={value} {...rest} />\n <span aria-hidden=\"true\" ref={span} style={rest.style}>\n {value}\n </span>\n </div>\n );\n }\n);\n\nAutoSizingInput.displayName = 'AutoSizingInput';\n"],"mappings":";;;;;;AACA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AA+CD,SACE,KADF;AAnCC,IAAM,kBAAkB;AAAA,EAI7B,CACE,IACA,QACoB;AAFpB,iBAAE,SAAO,QAAQ,eAAe,SAxBpC,IAwBI,IAA6C,iBAA7C,IAA6C,CAA3C,SAAe,iBAAe;AAGhC,UAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,MAAM;AACzC,UAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,CAAC;AACpC,UAAM,OAAO,OAAwB,IAAI;AAEzC,cAAU,MAAM;AACd,WAAK,WAAW,SAAS,KAAK,QAAQ,WAAW;AAAA,IACnD,GAAG,CAAC,KAAK,CAAC;AAEV,UAAM,gBAAgB;AAAA,MAGpB,CAAC,QAAQ;AACP,6CAAW;AACX,iBAAS,IAAI,OAAO,KAAK;AAAA,MAC3B;AAAA,MACA,CAAC,QAAQ;AAAA,IACX;AAEA,cAAU,MAAM;AACd,eAAS,UAAU,EAAE;AAAA,IACvB,GAAG,CAAC,MAAM,CAAC;AAEX,cAAU,MAAM;AACd,qDAAgB,SAAS;AAAA,IAC3B,GAAG,CAAC,OAAO,aAAa,CAAC;AAEzB,WACE,qBAAC,SAAI,WAAU,6BAA4B,OAAO,EAAE,OAAO,QAAQ,GAAG,GACpE;AAAA,0BAAC,0BAAM,UAAU,eAAe,KAAU,SAAkB,KAAM;AAAA,MAClE,oBAAC,UAAK,eAAY,QAAO,KAAK,MAAM,OAAO,KAAK,OAC7C,iBACH;AAAA,OACF;AAAA,EAEJ;AACF;AAEA,gBAAgB,cAAc;","names":[]}
package/dist/icon.js CHANGED
@@ -54,6 +54,15 @@ import {
54
54
  VideoIcon
55
55
  } from "./chunk-HLFG5ZTU.js";
56
56
  import "./chunk-7WVKYXIG.js";
57
+ import {
58
+ TriangleArrowUpIcon
59
+ } from "./chunk-NDUKDKGB.js";
60
+ import {
61
+ CameraDisabledIcon
62
+ } from "./chunk-T6CF4F7J.js";
63
+ import {
64
+ CameraIcon
65
+ } from "./chunk-A75U32HT.js";
57
66
  import {
58
67
  TriangleArrowDownIcon
59
68
  } from "./chunk-BSTJBBEX.js";
@@ -66,15 +75,6 @@ import {
66
75
  import {
67
76
  PhoneRingIcon
68
77
  } from "./chunk-UFYNSPJQ.js";
69
- import {
70
- TriangleArrowUpIcon
71
- } from "./chunk-NDUKDKGB.js";
72
- import {
73
- CameraDisabledIcon
74
- } from "./chunk-T6CF4F7J.js";
75
- import {
76
- CameraIcon
77
- } from "./chunk-A75U32HT.js";
78
78
  import "./chunk-N552FDTV.js";
79
79
  export {
80
80
  ArchiveIcon,
@@ -1,4 +1,13 @@
1
1
  import "../chunk-7WVKYXIG.js";
2
+ import {
3
+ TriangleArrowUpIcon
4
+ } from "../chunk-NDUKDKGB.js";
5
+ import {
6
+ CameraDisabledIcon
7
+ } from "../chunk-T6CF4F7J.js";
8
+ import {
9
+ CameraIcon
10
+ } from "../chunk-A75U32HT.js";
2
11
  import {
3
12
  TriangleArrowDownIcon
4
13
  } from "../chunk-BSTJBBEX.js";
@@ -11,15 +20,6 @@ import {
11
20
  import {
12
21
  PhoneRingIcon
13
22
  } from "../chunk-UFYNSPJQ.js";
14
- import {
15
- TriangleArrowUpIcon
16
- } from "../chunk-NDUKDKGB.js";
17
- import {
18
- CameraDisabledIcon
19
- } from "../chunk-T6CF4F7J.js";
20
- import {
21
- CameraIcon
22
- } from "../chunk-A75U32HT.js";
23
23
  import "../chunk-N552FDTV.js";
24
24
  export {
25
25
  CameraDisabledIcon,
package/dist/index.cjs CHANGED
@@ -613,7 +613,7 @@ function Content2(props) {
613
613
  }, rest), {
614
614
  children: [
615
615
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_themes19.Flex, { gap: "2", justify: "between", width: "100%", children: [
616
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Title, { asChild: true, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Heading2, { align: "center", mb: "2", variant: "heading3", children: title }) : title }),
616
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Title, { asChild: true, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Heading2, { mb: "2", variant: "heading3", children: title }) : title }),
617
617
  !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Close, { asChild: true, className: "DialogClose", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes18.IconButton, { color: "gray", variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_icons.Cross1Icon, {}) }) })
618
618
  ] }),
619
619
  children,
@@ -1600,7 +1600,7 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
1600
1600
  }, [value, onChangeValue]);
1601
1601
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [
1602
1602
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("input", __spreadValues({ onChange: changeHandler, ref, value }, rest)),
1603
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { "aria-hidden": "true", ref: span, children: value })
1603
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { "aria-hidden": "true", ref: span, style: rest.style, children: value })
1604
1604
  ] });
1605
1605
  }
1606
1606
  );