@clickhouse/click-ui 0.0.205 → 0.0.207

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.
@@ -17000,7 +17000,6 @@ const Wrapper$3 = pt.div.withConfig({
17000
17000
  resize: ${$resize};
17001
17001
  overflow: auto;
17002
17002
  `}
17003
- padding: 0 ${theme2.click.field.space.x};
17004
17003
  ${$error ? `
17005
17004
  font: ${theme2.click.field.typography.fieldText.error};
17006
17005
  border: 1px solid ${theme2.click.field.color.stroke.error};
@@ -17084,9 +17083,13 @@ const InputWrapper = ({
17084
17083
  const InputElement = pt.input.withConfig({
17085
17084
  componentId: "sc-1pvd2nj-2"
17086
17085
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
17087
- theme: theme2
17086
+ theme: theme2,
17087
+ $hasStartContent,
17088
+ $hasEndContent
17088
17089
  }) => `
17089
17090
  padding: ${theme2.click.field.space.y} 0;
17091
+ padding-left: ${$hasStartContent ? "0" : theme2.click.field.space.x};
17092
+ padding-right: ${$hasEndContent ? "0" : theme2.click.field.space.x};
17090
17093
  &::placeholder {
17091
17094
  color: ${theme2.click.field.color.placeholder.default};
17092
17095
  }
@@ -17116,26 +17119,21 @@ const TextAreaElement = pt.textarea.withConfig({
17116
17119
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
17117
17120
  theme: theme2
17118
17121
  }) => `
17119
- padding: ${theme2.click.field.space.y} 0;
17122
+ padding: ${theme2.click.field.space.y} ${theme2.click.field.space.x};
17120
17123
  align-self: stretch;
17121
17124
  &::placeholder {
17122
17125
  color: ${theme2.click.field.color.placeholder.default};
17123
17126
  }
17124
17127
  `);
17125
- pt(InputWrapper).withConfig({
17126
- componentId: "sc-1pvd2nj-5"
17127
- })(["resize:vertical;overflow:auto;color:red;"]);
17128
17128
  const IconButton = pt.button.withConfig({
17129
- componentId: "sc-1pvd2nj-6"
17129
+ componentId: "sc-1pvd2nj-5"
17130
17130
  })(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
17131
- theme: theme2,
17132
- $show
17131
+ theme: theme2
17133
17132
  }) => `
17134
17133
  padding: ${theme2.click.field.space.y} 0;
17135
- visibility: ${$show ? "visible" : "hidden"};
17136
17134
  `);
17137
17135
  pt.svg.withConfig({
17138
- componentId: "sc-1pvd2nj-7"
17136
+ componentId: "sc-1pvd2nj-6"
17139
17137
  })(["", ""], ({
17140
17138
  theme: theme2
17141
17139
  }) => `
@@ -17146,6 +17144,29 @@ pt.svg.withConfig({
17146
17144
  padding-right: ${theme2.click.field.space.x};
17147
17145
  }
17148
17146
  `);
17147
+ const InputStartContent = pt.div.withConfig({
17148
+ componentId: "sc-1pvd2nj-7"
17149
+ })(["", ""], ({
17150
+ theme: theme2
17151
+ }) => `
17152
+ padding-left: ${theme2.click.field.space.x};
17153
+ cursor: text;
17154
+ gap: ${theme2.click.field.space.gap};
17155
+ display: flex;
17156
+ align-self: stretch;
17157
+ align-items: center;
17158
+ `);
17159
+ const InputEndContent = pt.div.withConfig({
17160
+ componentId: "sc-1pvd2nj-8"
17161
+ })(["", ""], ({
17162
+ theme: theme2
17163
+ }) => `
17164
+ padding-right: ${theme2.click.field.space.x};
17165
+ gap: ${theme2.click.field.space.gap};
17166
+ display: flex;
17167
+ align-self: stretch;
17168
+ align-items: center;
17169
+ `);
17149
17170
  const locale = "en-US";
17150
17171
  const selectedDateFormatter = new Intl.DateTimeFormat(locale, {
17151
17172
  day: "2-digit",
@@ -17171,8 +17192,8 @@ const DatePickerInput = ({
17171
17192
  const defaultId = useId();
17172
17193
  const formattedSelectedDate = selectedDate instanceof Date ? selectedDateFormatter.format(selectedDate) : "";
17173
17194
  return /* @__PURE__ */ jsxs(HighlightedInputWrapper, { $isActive: isActive, disabled, id: id ?? defaultId, children: [
17174
- /* @__PURE__ */ jsx(SvgImage, { name: "calendar" }),
17175
- /* @__PURE__ */ jsx(InputElement, { "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
17195
+ /* @__PURE__ */ jsx(InputStartContent, { children: /* @__PURE__ */ jsx(SvgImage, { name: "calendar" }) }),
17196
+ /* @__PURE__ */ jsx(InputElement, { $hasStartContent: true, "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
17176
17197
  ] });
17177
17198
  };
17178
17199
  const weekdayFormatter = new Intl.DateTimeFormat(locale, {
@@ -35092,9 +35113,10 @@ const PasswordField = forwardRef(({
35092
35113
  const onChange = (e) => {
35093
35114
  onChangeProp(e.target.value, e);
35094
35115
  };
35116
+ const hasEndContent = value.length > 0;
35095
35117
  return /* @__PURE__ */ jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, error: error2, orientation, dir, children: [
35096
- /* @__PURE__ */ jsx(InputElement, { ref, type: viewPassword ? "text" : "password", id: id ?? defaultId, disabled, value, onChange, ...props }),
35097
- /* @__PURE__ */ jsx(IconButton, { disabled, onClick: togglePasswordViewer, $show: value.length > 0, children: /* @__PURE__ */ jsx(SvgImage, { name: viewPassword ? "eye-closed" : "eye", size: "md" }) })
35118
+ /* @__PURE__ */ jsx(InputElement, { $hasStartContent: false, $hasEndContent: hasEndContent, ref, type: viewPassword ? "text" : "password", id: id ?? defaultId, disabled, value, onChange, ...props }),
35119
+ hasEndContent && /* @__PURE__ */ jsx(InputEndContent, { children: /* @__PURE__ */ jsx(IconButton, { disabled, onClick: togglePasswordViewer, children: /* @__PURE__ */ jsx(SvgImage, { name: viewPassword ? "eye-closed" : "eye", size: "md" }) }) })
35098
35120
  ] });
35099
35121
  });
35100
35122
  const CustomSelect = pt.div.withConfig({
@@ -35253,7 +35275,7 @@ const ProgressContainer = pt.div.withConfig({
35253
35275
  $progress,
35254
35276
  $type
35255
35277
  }) => `
35256
- background: ${$completed ? theme2.click.field.color.background.default : `linear-gradient(to right, ${theme2.global.color.accent.default} 0%, ${theme2.global.color.accent.default} ${$progress}%, ${theme2.click.field.color.background.default} ${$progress}%, ${theme2.click.field.color.background.default} 100%)`};
35278
+ background: ${$completed && $type === "default" ? theme2.click.field.color.background.default : `linear-gradient(to right, ${theme2.global.color.accent.default} 0%, ${theme2.global.color.accent.default} ${$progress}%, ${theme2.click.field.color.background.default} ${$progress}%, ${theme2.click.field.color.background.default} 100%)`};
35257
35279
  background-size: calc(100% + 2px);
35258
35280
  background-position: center;
35259
35281
  gap: ${theme2.click.field.space.gap};
@@ -35610,38 +35632,16 @@ const RadioGroupIndicator = pt($f99a8c78507165f7$export$adb584737d712b70).withCo
35610
35632
  }
35611
35633
  `);
35612
35634
  const SearchField = forwardRef(({
35613
- disabled,
35614
- label,
35615
- error: error2,
35616
- id,
35617
- loading,
35618
- clear = true,
35619
- value = "",
35620
- onChange: onChangeProp,
35621
- orientation,
35622
- dir,
35623
35635
  isFilter = false,
35636
+ clear = true,
35624
35637
  ...props
35625
35638
  }, ref) => {
35626
- const inputRef = useRef(null);
35627
- const defaultId = useId();
35628
- const onChange = (e) => {
35629
- onChangeProp(e.target.value, e);
35630
- };
35631
- const clearInput = () => {
35632
- onChangeProp("");
35633
- };
35634
- return /* @__PURE__ */ jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, error: error2, orientation, dir, children: [
35635
- /* @__PURE__ */ jsx(SvgImage, { name: isFilter ? "filter" : "search", size: "sm" }),
35636
- /* @__PURE__ */ jsx(InputElement, { ref: mergeRefs([inputRef, ref]), type: "text", id: id ?? defaultId, disabled, value, onChange, ...props }),
35637
- clear && /* @__PURE__ */ jsx(IconButton, { disabled, onClick: clearInput, $show: value.length > 0, "aria-label": "clear input", "data-testid": "search-close", children: /* @__PURE__ */ jsx(SvgImage, { name: "cross", size: "sm" }) }),
35638
- loading && /* @__PURE__ */ jsx(SvgImage, { name: "loading-animated", size: "sm" })
35639
- ] });
35639
+ return /* @__PURE__ */ jsx(TextField, { startContent: /* @__PURE__ */ jsx(SvgImage, { name: isFilter ? "filter" : "search", size: "sm" }), clear, ref, ...props });
35640
35640
  });
35641
35641
  const useUpdateEffect = (effect, deps) => {
35642
35642
  const isFirstMount = useRef(true);
35643
35643
  useEffect(() => {
35644
- if (isFirstMount) {
35644
+ if (isFirstMount.current) {
35645
35645
  isFirstMount.current = false;
35646
35646
  return;
35647
35647
  }
@@ -41067,6 +41067,8 @@ const TextField = forwardRef(({
41067
41067
  onChange: onChangeProp,
41068
41068
  orientation,
41069
41069
  dir,
41070
+ startContent,
41071
+ endContent,
41070
41072
  ...props
41071
41073
  }, ref) => {
41072
41074
  const inputRef = useRef(null);
@@ -41077,10 +41079,21 @@ const TextField = forwardRef(({
41077
41079
  const clearInput = () => {
41078
41080
  onChangeProp("");
41079
41081
  };
41082
+ const handleStartContentClick = () => {
41083
+ var _a;
41084
+ (_a = inputRef.current) == null ? void 0 : _a.focus();
41085
+ };
41086
+ const hasStartContent = Boolean(startContent);
41087
+ const hasClear = clear && value.length > 0;
41088
+ const hasEndContent = Boolean(hasClear || loading || endContent);
41080
41089
  return /* @__PURE__ */ jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, labelColor, error: error2, orientation, dir, children: [
41081
- /* @__PURE__ */ jsx(InputElement, { ref: mergeRefs([inputRef, ref]), type, id: id ?? defaultId, disabled, value, onChange, ...props }),
41082
- clear && /* @__PURE__ */ jsx(IconButton, { disabled, onClick: clearInput, $show: value.length > 0, "aria-label": "clear input", children: /* @__PURE__ */ jsx(SvgImage, { name: "cross", size: "sm" }) }),
41083
- loading && /* @__PURE__ */ jsx(SvgImage, { name: "loading-animated", size: "sm" })
41090
+ startContent && /* @__PURE__ */ jsx(InputStartContent, { onClick: handleStartContentClick, children: startContent }),
41091
+ /* @__PURE__ */ jsx(InputElement, { $hasStartContent: hasStartContent, $hasEndContent: hasEndContent, ref: mergeRefs([inputRef, ref]), type, id: id ?? defaultId, disabled, value, onChange, ...props }),
41092
+ hasEndContent && /* @__PURE__ */ jsxs(InputEndContent, { children: [
41093
+ endContent ? endContent : null,
41094
+ hasClear && /* @__PURE__ */ jsx(IconButton, { disabled, onClick: clearInput, "aria-label": "clear input", "data-testid": "textfield-clear", children: /* @__PURE__ */ jsx(SvgImage, { name: "cross", size: "sm" }) }),
41095
+ loading && /* @__PURE__ */ jsx(SvgImage, { name: "loading-animated", size: "sm" })
41096
+ ] })
41084
41097
  ] });
41085
41098
  });
41086
41099
  const $ea1ef594cf570d83$export$439d29a4e110a164 = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
@@ -17016,7 +17016,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17016
17016
  resize: ${$resize};
17017
17017
  overflow: auto;
17018
17018
  `}
17019
- padding: 0 ${theme2.click.field.space.x};
17020
17019
  ${$error ? `
17021
17020
  font: ${theme2.click.field.typography.fieldText.error};
17022
17021
  border: 1px solid ${theme2.click.field.color.stroke.error};
@@ -17100,9 +17099,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17100
17099
  const InputElement = pt.input.withConfig({
17101
17100
  componentId: "sc-1pvd2nj-2"
17102
17101
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
17103
- theme: theme2
17102
+ theme: theme2,
17103
+ $hasStartContent,
17104
+ $hasEndContent
17104
17105
  }) => `
17105
17106
  padding: ${theme2.click.field.space.y} 0;
17107
+ padding-left: ${$hasStartContent ? "0" : theme2.click.field.space.x};
17108
+ padding-right: ${$hasEndContent ? "0" : theme2.click.field.space.x};
17106
17109
  &::placeholder {
17107
17110
  color: ${theme2.click.field.color.placeholder.default};
17108
17111
  }
@@ -17132,26 +17135,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17132
17135
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
17133
17136
  theme: theme2
17134
17137
  }) => `
17135
- padding: ${theme2.click.field.space.y} 0;
17138
+ padding: ${theme2.click.field.space.y} ${theme2.click.field.space.x};
17136
17139
  align-self: stretch;
17137
17140
  &::placeholder {
17138
17141
  color: ${theme2.click.field.color.placeholder.default};
17139
17142
  }
17140
17143
  `);
17141
- pt(InputWrapper).withConfig({
17142
- componentId: "sc-1pvd2nj-5"
17143
- })(["resize:vertical;overflow:auto;color:red;"]);
17144
17144
  const IconButton = pt.button.withConfig({
17145
- componentId: "sc-1pvd2nj-6"
17145
+ componentId: "sc-1pvd2nj-5"
17146
17146
  })(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
17147
- theme: theme2,
17148
- $show
17147
+ theme: theme2
17149
17148
  }) => `
17150
17149
  padding: ${theme2.click.field.space.y} 0;
17151
- visibility: ${$show ? "visible" : "hidden"};
17152
17150
  `);
17153
17151
  pt.svg.withConfig({
17154
- componentId: "sc-1pvd2nj-7"
17152
+ componentId: "sc-1pvd2nj-6"
17155
17153
  })(["", ""], ({
17156
17154
  theme: theme2
17157
17155
  }) => `
@@ -17162,6 +17160,29 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17162
17160
  padding-right: ${theme2.click.field.space.x};
17163
17161
  }
17164
17162
  `);
17163
+ const InputStartContent = pt.div.withConfig({
17164
+ componentId: "sc-1pvd2nj-7"
17165
+ })(["", ""], ({
17166
+ theme: theme2
17167
+ }) => `
17168
+ padding-left: ${theme2.click.field.space.x};
17169
+ cursor: text;
17170
+ gap: ${theme2.click.field.space.gap};
17171
+ display: flex;
17172
+ align-self: stretch;
17173
+ align-items: center;
17174
+ `);
17175
+ const InputEndContent = pt.div.withConfig({
17176
+ componentId: "sc-1pvd2nj-8"
17177
+ })(["", ""], ({
17178
+ theme: theme2
17179
+ }) => `
17180
+ padding-right: ${theme2.click.field.space.x};
17181
+ gap: ${theme2.click.field.space.gap};
17182
+ display: flex;
17183
+ align-self: stretch;
17184
+ align-items: center;
17185
+ `);
17165
17186
  const locale = "en-US";
17166
17187
  const selectedDateFormatter = new Intl.DateTimeFormat(locale, {
17167
17188
  day: "2-digit",
@@ -17187,8 +17208,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17187
17208
  const defaultId = React.useId();
17188
17209
  const formattedSelectedDate = selectedDate instanceof Date ? selectedDateFormatter.format(selectedDate) : "";
17189
17210
  return /* @__PURE__ */ jsxRuntime.jsxs(HighlightedInputWrapper, { $isActive: isActive, disabled, id: id ?? defaultId, children: [
17190
- /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "calendar" }),
17191
- /* @__PURE__ */ jsxRuntime.jsx(InputElement, { "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
17211
+ /* @__PURE__ */ jsxRuntime.jsx(InputStartContent, { children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "calendar" }) }),
17212
+ /* @__PURE__ */ jsxRuntime.jsx(InputElement, { $hasStartContent: true, "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
17192
17213
  ] });
17193
17214
  };
17194
17215
  const weekdayFormatter = new Intl.DateTimeFormat(locale, {
@@ -35108,9 +35129,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35108
35129
  const onChange = (e) => {
35109
35130
  onChangeProp(e.target.value, e);
35110
35131
  };
35132
+ const hasEndContent = value.length > 0;
35111
35133
  return /* @__PURE__ */ jsxRuntime.jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, error: error2, orientation, dir, children: [
35112
- /* @__PURE__ */ jsxRuntime.jsx(InputElement, { ref, type: viewPassword ? "text" : "password", id: id ?? defaultId, disabled, value, onChange, ...props }),
35113
- /* @__PURE__ */ jsxRuntime.jsx(IconButton, { disabled, onClick: togglePasswordViewer, $show: value.length > 0, children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: viewPassword ? "eye-closed" : "eye", size: "md" }) })
35134
+ /* @__PURE__ */ jsxRuntime.jsx(InputElement, { $hasStartContent: false, $hasEndContent: hasEndContent, ref, type: viewPassword ? "text" : "password", id: id ?? defaultId, disabled, value, onChange, ...props }),
35135
+ hasEndContent && /* @__PURE__ */ jsxRuntime.jsx(InputEndContent, { children: /* @__PURE__ */ jsxRuntime.jsx(IconButton, { disabled, onClick: togglePasswordViewer, children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: viewPassword ? "eye-closed" : "eye", size: "md" }) }) })
35114
35136
  ] });
35115
35137
  });
35116
35138
  const CustomSelect = pt.div.withConfig({
@@ -35269,7 +35291,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35269
35291
  $progress,
35270
35292
  $type
35271
35293
  }) => `
35272
- background: ${$completed ? theme2.click.field.color.background.default : `linear-gradient(to right, ${theme2.global.color.accent.default} 0%, ${theme2.global.color.accent.default} ${$progress}%, ${theme2.click.field.color.background.default} ${$progress}%, ${theme2.click.field.color.background.default} 100%)`};
35294
+ background: ${$completed && $type === "default" ? theme2.click.field.color.background.default : `linear-gradient(to right, ${theme2.global.color.accent.default} 0%, ${theme2.global.color.accent.default} ${$progress}%, ${theme2.click.field.color.background.default} ${$progress}%, ${theme2.click.field.color.background.default} 100%)`};
35273
35295
  background-size: calc(100% + 2px);
35274
35296
  background-position: center;
35275
35297
  gap: ${theme2.click.field.space.gap};
@@ -35626,38 +35648,16 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35626
35648
  }
35627
35649
  `);
35628
35650
  const SearchField = React.forwardRef(({
35629
- disabled,
35630
- label,
35631
- error: error2,
35632
- id,
35633
- loading,
35634
- clear = true,
35635
- value = "",
35636
- onChange: onChangeProp,
35637
- orientation,
35638
- dir,
35639
35651
  isFilter = false,
35652
+ clear = true,
35640
35653
  ...props
35641
35654
  }, ref) => {
35642
- const inputRef = React.useRef(null);
35643
- const defaultId = React.useId();
35644
- const onChange = (e) => {
35645
- onChangeProp(e.target.value, e);
35646
- };
35647
- const clearInput = () => {
35648
- onChangeProp("");
35649
- };
35650
- return /* @__PURE__ */ jsxRuntime.jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, error: error2, orientation, dir, children: [
35651
- /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: isFilter ? "filter" : "search", size: "sm" }),
35652
- /* @__PURE__ */ jsxRuntime.jsx(InputElement, { ref: mergeRefs([inputRef, ref]), type: "text", id: id ?? defaultId, disabled, value, onChange, ...props }),
35653
- clear && /* @__PURE__ */ jsxRuntime.jsx(IconButton, { disabled, onClick: clearInput, $show: value.length > 0, "aria-label": "clear input", "data-testid": "search-close", children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", size: "sm" }) }),
35654
- loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
35655
- ] });
35655
+ return /* @__PURE__ */ jsxRuntime.jsx(TextField, { startContent: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: isFilter ? "filter" : "search", size: "sm" }), clear, ref, ...props });
35656
35656
  });
35657
35657
  const useUpdateEffect = (effect, deps) => {
35658
35658
  const isFirstMount = React.useRef(true);
35659
35659
  React.useEffect(() => {
35660
- if (isFirstMount) {
35660
+ if (isFirstMount.current) {
35661
35661
  isFirstMount.current = false;
35662
35662
  return;
35663
35663
  }
@@ -41083,6 +41083,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41083
41083
  onChange: onChangeProp,
41084
41084
  orientation,
41085
41085
  dir,
41086
+ startContent,
41087
+ endContent,
41086
41088
  ...props
41087
41089
  }, ref) => {
41088
41090
  const inputRef = React.useRef(null);
@@ -41093,10 +41095,21 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41093
41095
  const clearInput = () => {
41094
41096
  onChangeProp("");
41095
41097
  };
41098
+ const handleStartContentClick = () => {
41099
+ var _a;
41100
+ (_a = inputRef.current) == null ? void 0 : _a.focus();
41101
+ };
41102
+ const hasStartContent = Boolean(startContent);
41103
+ const hasClear = clear && value.length > 0;
41104
+ const hasEndContent = Boolean(hasClear || loading || endContent);
41096
41105
  return /* @__PURE__ */ jsxRuntime.jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, labelColor, error: error2, orientation, dir, children: [
41097
- /* @__PURE__ */ jsxRuntime.jsx(InputElement, { ref: mergeRefs([inputRef, ref]), type, id: id ?? defaultId, disabled, value, onChange, ...props }),
41098
- clear && /* @__PURE__ */ jsxRuntime.jsx(IconButton, { disabled, onClick: clearInput, $show: value.length > 0, "aria-label": "clear input", children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", size: "sm" }) }),
41099
- loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
41106
+ startContent && /* @__PURE__ */ jsxRuntime.jsx(InputStartContent, { onClick: handleStartContentClick, children: startContent }),
41107
+ /* @__PURE__ */ jsxRuntime.jsx(InputElement, { $hasStartContent: hasStartContent, $hasEndContent: hasEndContent, ref: mergeRefs([inputRef, ref]), type, id: id ?? defaultId, disabled, value, onChange, ...props }),
41108
+ hasEndContent && /* @__PURE__ */ jsxRuntime.jsxs(InputEndContent, { children: [
41109
+ endContent ? endContent : null,
41110
+ hasClear && /* @__PURE__ */ jsxRuntime.jsx(IconButton, { disabled, onClick: clearInput, "aria-label": "clear input", "data-testid": "textfield-clear", children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", size: "sm" }) }),
41111
+ loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
41112
+ ] })
41100
41113
  ] });
41101
41114
  });
41102
41115
  const $ea1ef594cf570d83$export$439d29a4e110a164 = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
@@ -15832,7 +15832,6 @@ const Wrapper$3 = styled.div.withConfig({
15832
15832
  resize: ${$resize};
15833
15833
  overflow: auto;
15834
15834
  `}
15835
- padding: 0 ${theme2.click.field.space.x};
15836
15835
  ${$error ? `
15837
15836
  font: ${theme2.click.field.typography.fieldText.error};
15838
15837
  border: 1px solid ${theme2.click.field.color.stroke.error};
@@ -15916,9 +15915,13 @@ const InputWrapper = ({
15916
15915
  const InputElement = styled.input.withConfig({
15917
15916
  componentId: "sc-1pvd2nj-2"
15918
15917
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
15919
- theme: theme2
15918
+ theme: theme2,
15919
+ $hasStartContent,
15920
+ $hasEndContent
15920
15921
  }) => `
15921
15922
  padding: ${theme2.click.field.space.y} 0;
15923
+ padding-left: ${$hasStartContent ? "0" : theme2.click.field.space.x};
15924
+ padding-right: ${$hasEndContent ? "0" : theme2.click.field.space.x};
15922
15925
  &::placeholder {
15923
15926
  color: ${theme2.click.field.color.placeholder.default};
15924
15927
  }
@@ -15948,26 +15951,21 @@ const TextAreaElement = styled.textarea.withConfig({
15948
15951
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
15949
15952
  theme: theme2
15950
15953
  }) => `
15951
- padding: ${theme2.click.field.space.y} 0;
15954
+ padding: ${theme2.click.field.space.y} ${theme2.click.field.space.x};
15952
15955
  align-self: stretch;
15953
15956
  &::placeholder {
15954
15957
  color: ${theme2.click.field.color.placeholder.default};
15955
15958
  }
15956
15959
  `);
15957
- styled(InputWrapper).withConfig({
15958
- componentId: "sc-1pvd2nj-5"
15959
- })(["resize:vertical;overflow:auto;color:red;"]);
15960
15960
  const IconButton = styled.button.withConfig({
15961
- componentId: "sc-1pvd2nj-6"
15961
+ componentId: "sc-1pvd2nj-5"
15962
15962
  })(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
15963
- theme: theme2,
15964
- $show
15963
+ theme: theme2
15965
15964
  }) => `
15966
15965
  padding: ${theme2.click.field.space.y} 0;
15967
- visibility: ${$show ? "visible" : "hidden"};
15968
15966
  `);
15969
15967
  styled.svg.withConfig({
15970
- componentId: "sc-1pvd2nj-7"
15968
+ componentId: "sc-1pvd2nj-6"
15971
15969
  })(["", ""], ({
15972
15970
  theme: theme2
15973
15971
  }) => `
@@ -15978,6 +15976,29 @@ styled.svg.withConfig({
15978
15976
  padding-right: ${theme2.click.field.space.x};
15979
15977
  }
15980
15978
  `);
15979
+ const InputStartContent = styled.div.withConfig({
15980
+ componentId: "sc-1pvd2nj-7"
15981
+ })(["", ""], ({
15982
+ theme: theme2
15983
+ }) => `
15984
+ padding-left: ${theme2.click.field.space.x};
15985
+ cursor: text;
15986
+ gap: ${theme2.click.field.space.gap};
15987
+ display: flex;
15988
+ align-self: stretch;
15989
+ align-items: center;
15990
+ `);
15991
+ const InputEndContent = styled.div.withConfig({
15992
+ componentId: "sc-1pvd2nj-8"
15993
+ })(["", ""], ({
15994
+ theme: theme2
15995
+ }) => `
15996
+ padding-right: ${theme2.click.field.space.x};
15997
+ gap: ${theme2.click.field.space.gap};
15998
+ display: flex;
15999
+ align-self: stretch;
16000
+ align-items: center;
16001
+ `);
15981
16002
  const locale = "en-US";
15982
16003
  const selectedDateFormatter = new Intl.DateTimeFormat(locale, {
15983
16004
  day: "2-digit",
@@ -16003,8 +16024,8 @@ const DatePickerInput = ({
16003
16024
  const defaultId = useId();
16004
16025
  const formattedSelectedDate = selectedDate instanceof Date ? selectedDateFormatter.format(selectedDate) : "";
16005
16026
  return /* @__PURE__ */ jsxs(HighlightedInputWrapper, { $isActive: isActive, disabled, id: id ?? defaultId, children: [
16006
- /* @__PURE__ */ jsx(SvgImage, { name: "calendar" }),
16007
- /* @__PURE__ */ jsx(InputElement, { "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
16027
+ /* @__PURE__ */ jsx(InputStartContent, { children: /* @__PURE__ */ jsx(SvgImage, { name: "calendar" }) }),
16028
+ /* @__PURE__ */ jsx(InputElement, { $hasStartContent: true, "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
16008
16029
  ] });
16009
16030
  };
16010
16031
  const weekdayFormatter = new Intl.DateTimeFormat(locale, {
@@ -33924,9 +33945,10 @@ const PasswordField = forwardRef(({
33924
33945
  const onChange = (e) => {
33925
33946
  onChangeProp(e.target.value, e);
33926
33947
  };
33948
+ const hasEndContent = value.length > 0;
33927
33949
  return /* @__PURE__ */ jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, error: error2, orientation, dir, children: [
33928
- /* @__PURE__ */ jsx(InputElement, { ref, type: viewPassword ? "text" : "password", id: id ?? defaultId, disabled, value, onChange, ...props }),
33929
- /* @__PURE__ */ jsx(IconButton, { disabled, onClick: togglePasswordViewer, $show: value.length > 0, children: /* @__PURE__ */ jsx(SvgImage, { name: viewPassword ? "eye-closed" : "eye", size: "md" }) })
33950
+ /* @__PURE__ */ jsx(InputElement, { $hasStartContent: false, $hasEndContent: hasEndContent, ref, type: viewPassword ? "text" : "password", id: id ?? defaultId, disabled, value, onChange, ...props }),
33951
+ hasEndContent && /* @__PURE__ */ jsx(InputEndContent, { children: /* @__PURE__ */ jsx(IconButton, { disabled, onClick: togglePasswordViewer, children: /* @__PURE__ */ jsx(SvgImage, { name: viewPassword ? "eye-closed" : "eye", size: "md" }) }) })
33930
33952
  ] });
33931
33953
  });
33932
33954
  const CustomSelect = styled.div.withConfig({
@@ -34085,7 +34107,7 @@ const ProgressContainer = styled.div.withConfig({
34085
34107
  $progress,
34086
34108
  $type
34087
34109
  }) => `
34088
- background: ${$completed ? theme2.click.field.color.background.default : `linear-gradient(to right, ${theme2.global.color.accent.default} 0%, ${theme2.global.color.accent.default} ${$progress}%, ${theme2.click.field.color.background.default} ${$progress}%, ${theme2.click.field.color.background.default} 100%)`};
34110
+ background: ${$completed && $type === "default" ? theme2.click.field.color.background.default : `linear-gradient(to right, ${theme2.global.color.accent.default} 0%, ${theme2.global.color.accent.default} ${$progress}%, ${theme2.click.field.color.background.default} ${$progress}%, ${theme2.click.field.color.background.default} 100%)`};
34089
34111
  background-size: calc(100% + 2px);
34090
34112
  background-position: center;
34091
34113
  gap: ${theme2.click.field.space.gap};
@@ -34442,38 +34464,16 @@ const RadioGroupIndicator = styled($f99a8c78507165f7$export$adb584737d712b70).wi
34442
34464
  }
34443
34465
  `);
34444
34466
  const SearchField = forwardRef(({
34445
- disabled,
34446
- label,
34447
- error: error2,
34448
- id,
34449
- loading,
34450
- clear = true,
34451
- value = "",
34452
- onChange: onChangeProp,
34453
- orientation,
34454
- dir,
34455
34467
  isFilter = false,
34468
+ clear = true,
34456
34469
  ...props
34457
34470
  }, ref) => {
34458
- const inputRef = useRef(null);
34459
- const defaultId = useId();
34460
- const onChange = (e) => {
34461
- onChangeProp(e.target.value, e);
34462
- };
34463
- const clearInput = () => {
34464
- onChangeProp("");
34465
- };
34466
- return /* @__PURE__ */ jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, error: error2, orientation, dir, children: [
34467
- /* @__PURE__ */ jsx(SvgImage, { name: isFilter ? "filter" : "search", size: "sm" }),
34468
- /* @__PURE__ */ jsx(InputElement, { ref: mergeRefs([inputRef, ref]), type: "text", id: id ?? defaultId, disabled, value, onChange, ...props }),
34469
- clear && /* @__PURE__ */ jsx(IconButton, { disabled, onClick: clearInput, $show: value.length > 0, "aria-label": "clear input", "data-testid": "search-close", children: /* @__PURE__ */ jsx(SvgImage, { name: "cross", size: "sm" }) }),
34470
- loading && /* @__PURE__ */ jsx(SvgImage, { name: "loading-animated", size: "sm" })
34471
- ] });
34471
+ return /* @__PURE__ */ jsx(TextField, { startContent: /* @__PURE__ */ jsx(SvgImage, { name: isFilter ? "filter" : "search", size: "sm" }), clear, ref, ...props });
34472
34472
  });
34473
34473
  const useUpdateEffect = (effect, deps) => {
34474
34474
  const isFirstMount = useRef(true);
34475
34475
  useEffect(() => {
34476
- if (isFirstMount) {
34476
+ if (isFirstMount.current) {
34477
34477
  isFirstMount.current = false;
34478
34478
  return;
34479
34479
  }
@@ -39899,6 +39899,8 @@ const TextField = forwardRef(({
39899
39899
  onChange: onChangeProp,
39900
39900
  orientation,
39901
39901
  dir,
39902
+ startContent,
39903
+ endContent,
39902
39904
  ...props
39903
39905
  }, ref) => {
39904
39906
  const inputRef = useRef(null);
@@ -39909,10 +39911,21 @@ const TextField = forwardRef(({
39909
39911
  const clearInput = () => {
39910
39912
  onChangeProp("");
39911
39913
  };
39914
+ const handleStartContentClick = () => {
39915
+ var _a;
39916
+ (_a = inputRef.current) == null ? void 0 : _a.focus();
39917
+ };
39918
+ const hasStartContent = Boolean(startContent);
39919
+ const hasClear = clear && value.length > 0;
39920
+ const hasEndContent = Boolean(hasClear || loading || endContent);
39912
39921
  return /* @__PURE__ */ jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, labelColor, error: error2, orientation, dir, children: [
39913
- /* @__PURE__ */ jsx(InputElement, { ref: mergeRefs([inputRef, ref]), type, id: id ?? defaultId, disabled, value, onChange, ...props }),
39914
- clear && /* @__PURE__ */ jsx(IconButton, { disabled, onClick: clearInput, $show: value.length > 0, "aria-label": "clear input", children: /* @__PURE__ */ jsx(SvgImage, { name: "cross", size: "sm" }) }),
39915
- loading && /* @__PURE__ */ jsx(SvgImage, { name: "loading-animated", size: "sm" })
39922
+ startContent && /* @__PURE__ */ jsx(InputStartContent, { onClick: handleStartContentClick, children: startContent }),
39923
+ /* @__PURE__ */ jsx(InputElement, { $hasStartContent: hasStartContent, $hasEndContent: hasEndContent, ref: mergeRefs([inputRef, ref]), type, id: id ?? defaultId, disabled, value, onChange, ...props }),
39924
+ hasEndContent && /* @__PURE__ */ jsxs(InputEndContent, { children: [
39925
+ endContent ? endContent : null,
39926
+ hasClear && /* @__PURE__ */ jsx(IconButton, { disabled, onClick: clearInput, "aria-label": "clear input", "data-testid": "textfield-clear", children: /* @__PURE__ */ jsx(SvgImage, { name: "cross", size: "sm" }) }),
39927
+ loading && /* @__PURE__ */ jsx(SvgImage, { name: "loading-animated", size: "sm" })
39928
+ ] })
39916
39929
  ] });
39917
39930
  });
39918
39931
  const $ea1ef594cf570d83$export$439d29a4e110a164 = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
@@ -15847,7 +15847,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
15847
15847
  resize: ${$resize};
15848
15848
  overflow: auto;
15849
15849
  `}
15850
- padding: 0 ${theme2.click.field.space.x};
15851
15850
  ${$error ? `
15852
15851
  font: ${theme2.click.field.typography.fieldText.error};
15853
15852
  border: 1px solid ${theme2.click.field.color.stroke.error};
@@ -15931,9 +15930,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
15931
15930
  const InputElement = styled.styled.input.withConfig({
15932
15931
  componentId: "sc-1pvd2nj-2"
15933
15932
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
15934
- theme: theme2
15933
+ theme: theme2,
15934
+ $hasStartContent,
15935
+ $hasEndContent
15935
15936
  }) => `
15936
15937
  padding: ${theme2.click.field.space.y} 0;
15938
+ padding-left: ${$hasStartContent ? "0" : theme2.click.field.space.x};
15939
+ padding-right: ${$hasEndContent ? "0" : theme2.click.field.space.x};
15937
15940
  &::placeholder {
15938
15941
  color: ${theme2.click.field.color.placeholder.default};
15939
15942
  }
@@ -15963,26 +15966,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
15963
15966
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
15964
15967
  theme: theme2
15965
15968
  }) => `
15966
- padding: ${theme2.click.field.space.y} 0;
15969
+ padding: ${theme2.click.field.space.y} ${theme2.click.field.space.x};
15967
15970
  align-self: stretch;
15968
15971
  &::placeholder {
15969
15972
  color: ${theme2.click.field.color.placeholder.default};
15970
15973
  }
15971
15974
  `);
15972
- styled.styled(InputWrapper).withConfig({
15973
- componentId: "sc-1pvd2nj-5"
15974
- })(["resize:vertical;overflow:auto;color:red;"]);
15975
15975
  const IconButton = styled.styled.button.withConfig({
15976
- componentId: "sc-1pvd2nj-6"
15976
+ componentId: "sc-1pvd2nj-5"
15977
15977
  })(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
15978
- theme: theme2,
15979
- $show
15978
+ theme: theme2
15980
15979
  }) => `
15981
15980
  padding: ${theme2.click.field.space.y} 0;
15982
- visibility: ${$show ? "visible" : "hidden"};
15983
15981
  `);
15984
15982
  styled.styled.svg.withConfig({
15985
- componentId: "sc-1pvd2nj-7"
15983
+ componentId: "sc-1pvd2nj-6"
15986
15984
  })(["", ""], ({
15987
15985
  theme: theme2
15988
15986
  }) => `
@@ -15993,6 +15991,29 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
15993
15991
  padding-right: ${theme2.click.field.space.x};
15994
15992
  }
15995
15993
  `);
15994
+ const InputStartContent = styled.styled.div.withConfig({
15995
+ componentId: "sc-1pvd2nj-7"
15996
+ })(["", ""], ({
15997
+ theme: theme2
15998
+ }) => `
15999
+ padding-left: ${theme2.click.field.space.x};
16000
+ cursor: text;
16001
+ gap: ${theme2.click.field.space.gap};
16002
+ display: flex;
16003
+ align-self: stretch;
16004
+ align-items: center;
16005
+ `);
16006
+ const InputEndContent = styled.styled.div.withConfig({
16007
+ componentId: "sc-1pvd2nj-8"
16008
+ })(["", ""], ({
16009
+ theme: theme2
16010
+ }) => `
16011
+ padding-right: ${theme2.click.field.space.x};
16012
+ gap: ${theme2.click.field.space.gap};
16013
+ display: flex;
16014
+ align-self: stretch;
16015
+ align-items: center;
16016
+ `);
15996
16017
  const locale = "en-US";
15997
16018
  const selectedDateFormatter = new Intl.DateTimeFormat(locale, {
15998
16019
  day: "2-digit",
@@ -16018,8 +16039,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
16018
16039
  const defaultId = React.useId();
16019
16040
  const formattedSelectedDate = selectedDate instanceof Date ? selectedDateFormatter.format(selectedDate) : "";
16020
16041
  return /* @__PURE__ */ jsxRuntime.jsxs(HighlightedInputWrapper, { $isActive: isActive, disabled, id: id ?? defaultId, children: [
16021
- /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "calendar" }),
16022
- /* @__PURE__ */ jsxRuntime.jsx(InputElement, { "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
16042
+ /* @__PURE__ */ jsxRuntime.jsx(InputStartContent, { children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "calendar" }) }),
16043
+ /* @__PURE__ */ jsxRuntime.jsx(InputElement, { $hasStartContent: true, "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
16023
16044
  ] });
16024
16045
  };
16025
16046
  const weekdayFormatter = new Intl.DateTimeFormat(locale, {
@@ -33939,9 +33960,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
33939
33960
  const onChange = (e) => {
33940
33961
  onChangeProp(e.target.value, e);
33941
33962
  };
33963
+ const hasEndContent = value.length > 0;
33942
33964
  return /* @__PURE__ */ jsxRuntime.jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, error: error2, orientation, dir, children: [
33943
- /* @__PURE__ */ jsxRuntime.jsx(InputElement, { ref, type: viewPassword ? "text" : "password", id: id ?? defaultId, disabled, value, onChange, ...props }),
33944
- /* @__PURE__ */ jsxRuntime.jsx(IconButton, { disabled, onClick: togglePasswordViewer, $show: value.length > 0, children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: viewPassword ? "eye-closed" : "eye", size: "md" }) })
33965
+ /* @__PURE__ */ jsxRuntime.jsx(InputElement, { $hasStartContent: false, $hasEndContent: hasEndContent, ref, type: viewPassword ? "text" : "password", id: id ?? defaultId, disabled, value, onChange, ...props }),
33966
+ hasEndContent && /* @__PURE__ */ jsxRuntime.jsx(InputEndContent, { children: /* @__PURE__ */ jsxRuntime.jsx(IconButton, { disabled, onClick: togglePasswordViewer, children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: viewPassword ? "eye-closed" : "eye", size: "md" }) }) })
33945
33967
  ] });
33946
33968
  });
33947
33969
  const CustomSelect = styled.styled.div.withConfig({
@@ -34100,7 +34122,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
34100
34122
  $progress,
34101
34123
  $type
34102
34124
  }) => `
34103
- background: ${$completed ? theme2.click.field.color.background.default : `linear-gradient(to right, ${theme2.global.color.accent.default} 0%, ${theme2.global.color.accent.default} ${$progress}%, ${theme2.click.field.color.background.default} ${$progress}%, ${theme2.click.field.color.background.default} 100%)`};
34125
+ background: ${$completed && $type === "default" ? theme2.click.field.color.background.default : `linear-gradient(to right, ${theme2.global.color.accent.default} 0%, ${theme2.global.color.accent.default} ${$progress}%, ${theme2.click.field.color.background.default} ${$progress}%, ${theme2.click.field.color.background.default} 100%)`};
34104
34126
  background-size: calc(100% + 2px);
34105
34127
  background-position: center;
34106
34128
  gap: ${theme2.click.field.space.gap};
@@ -34457,38 +34479,16 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
34457
34479
  }
34458
34480
  `);
34459
34481
  const SearchField = React.forwardRef(({
34460
- disabled,
34461
- label,
34462
- error: error2,
34463
- id,
34464
- loading,
34465
- clear = true,
34466
- value = "",
34467
- onChange: onChangeProp,
34468
- orientation,
34469
- dir,
34470
34482
  isFilter = false,
34483
+ clear = true,
34471
34484
  ...props
34472
34485
  }, ref) => {
34473
- const inputRef = React.useRef(null);
34474
- const defaultId = React.useId();
34475
- const onChange = (e) => {
34476
- onChangeProp(e.target.value, e);
34477
- };
34478
- const clearInput = () => {
34479
- onChangeProp("");
34480
- };
34481
- return /* @__PURE__ */ jsxRuntime.jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, error: error2, orientation, dir, children: [
34482
- /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: isFilter ? "filter" : "search", size: "sm" }),
34483
- /* @__PURE__ */ jsxRuntime.jsx(InputElement, { ref: mergeRefs([inputRef, ref]), type: "text", id: id ?? defaultId, disabled, value, onChange, ...props }),
34484
- clear && /* @__PURE__ */ jsxRuntime.jsx(IconButton, { disabled, onClick: clearInput, $show: value.length > 0, "aria-label": "clear input", "data-testid": "search-close", children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", size: "sm" }) }),
34485
- loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
34486
- ] });
34486
+ return /* @__PURE__ */ jsxRuntime.jsx(TextField, { startContent: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: isFilter ? "filter" : "search", size: "sm" }), clear, ref, ...props });
34487
34487
  });
34488
34488
  const useUpdateEffect = (effect, deps) => {
34489
34489
  const isFirstMount = React.useRef(true);
34490
34490
  React.useEffect(() => {
34491
- if (isFirstMount) {
34491
+ if (isFirstMount.current) {
34492
34492
  isFirstMount.current = false;
34493
34493
  return;
34494
34494
  }
@@ -39914,6 +39914,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39914
39914
  onChange: onChangeProp,
39915
39915
  orientation,
39916
39916
  dir,
39917
+ startContent,
39918
+ endContent,
39917
39919
  ...props
39918
39920
  }, ref) => {
39919
39921
  const inputRef = React.useRef(null);
@@ -39924,10 +39926,21 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
39924
39926
  const clearInput = () => {
39925
39927
  onChangeProp("");
39926
39928
  };
39929
+ const handleStartContentClick = () => {
39930
+ var _a;
39931
+ (_a = inputRef.current) == null ? void 0 : _a.focus();
39932
+ };
39933
+ const hasStartContent = Boolean(startContent);
39934
+ const hasClear = clear && value.length > 0;
39935
+ const hasEndContent = Boolean(hasClear || loading || endContent);
39927
39936
  return /* @__PURE__ */ jsxRuntime.jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, labelColor, error: error2, orientation, dir, children: [
39928
- /* @__PURE__ */ jsxRuntime.jsx(InputElement, { ref: mergeRefs([inputRef, ref]), type, id: id ?? defaultId, disabled, value, onChange, ...props }),
39929
- clear && /* @__PURE__ */ jsxRuntime.jsx(IconButton, { disabled, onClick: clearInput, $show: value.length > 0, "aria-label": "clear input", children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", size: "sm" }) }),
39930
- loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
39937
+ startContent && /* @__PURE__ */ jsxRuntime.jsx(InputStartContent, { onClick: handleStartContentClick, children: startContent }),
39938
+ /* @__PURE__ */ jsxRuntime.jsx(InputElement, { $hasStartContent: hasStartContent, $hasEndContent: hasEndContent, ref: mergeRefs([inputRef, ref]), type, id: id ?? defaultId, disabled, value, onChange, ...props }),
39939
+ hasEndContent && /* @__PURE__ */ jsxRuntime.jsxs(InputEndContent, { children: [
39940
+ endContent ? endContent : null,
39941
+ hasClear && /* @__PURE__ */ jsxRuntime.jsx(IconButton, { disabled, onClick: clearInput, "aria-label": "clear input", "data-testid": "textfield-clear", children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", size: "sm" }) }),
39942
+ loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
39943
+ ] })
39931
39944
  ] });
39932
39945
  });
39933
39946
  const $ea1ef594cf570d83$export$439d29a4e110a164 = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
@@ -6,7 +6,7 @@ import { PaymentName, PaymentProps } from '../icons/Payments';
6
6
 
7
7
  export type IconSize = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
8
8
  export type IconState = "default" | "success" | "warning" | "danger" | "info";
9
- export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "chart-area", "chart-bar-horizontal", "chart-donut", "chart-heatmap", "chart-scatter", "chart-stacked-horizontal", "chart-stacked-vertical", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "minus", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "trash", "tree-structure", "upgrade", "upload", "url", "user", "users", "warning", "waves"];
9
+ export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "chart-area", "chart-bar-horizontal", "chart-donut", "chart-heatmap", "chart-scatter", "chart-stacked-horizontal", "chart-stacked-vertical", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "minus", "mcp", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "trash", "tree-structure", "upgrade", "upload", "url", "user", "users", "warning", "waves"];
10
10
  export type IconName = (typeof ICON_NAMES)[number];
11
11
  export interface IconProps extends SVGAttributes<HTMLOrSVGElement> {
12
12
  name: IconName;
@@ -13,15 +13,20 @@ export interface WrapperProps {
13
13
  resize?: "none" | "vertical" | "horizontal" | "both";
14
14
  }
15
15
  export declare const InputWrapper: ({ className, id, label, labelColor, error, disabled, children, orientation, dir, resize, }: WrapperProps) => import("react/jsx-runtime").JSX.Element;
16
- export declare const InputElement: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
17
- export declare const NumberInputElement: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>, "ref"> & {
16
+ export declare const InputElement: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
17
+ $hasStartContent?: boolean;
18
+ $hasEndContent?: boolean;
19
+ }>> & string;
20
+ export declare const NumberInputElement: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "$hasStartContent" | "$hasEndContent"> & {
21
+ $hasStartContent?: boolean;
22
+ $hasEndContent?: boolean;
23
+ }, "ref"> & {
18
24
  ref?: ((instance: HTMLInputElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLInputElement> | null | undefined;
19
25
  }, {
20
26
  $hideControls?: boolean;
21
27
  }>> & string;
22
28
  export declare const TextAreaElement: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, never>> & string;
23
- export declare const TextAreaWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<WrapperProps, never>> & string & Omit<({ className, id, label, labelColor, error, disabled, children, orientation, dir, resize, }: WrapperProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
24
- export declare const IconButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
25
- $show?: boolean;
26
- }>> & string;
29
+ export declare const IconButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
27
30
  export declare const IconWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGProps<SVGSVGElement>, never>> & string;
31
+ export declare const InputStartContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
32
+ export declare const InputEndContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,13 +1,6 @@
1
- import { ChangeEvent, InputHTMLAttributes } from 'react';
2
- import { WrapperProps } from './InputWrapper';
1
+ import { TextFieldProps } from './TextField';
3
2
 
4
- export interface SearchFieldProps extends Omit<WrapperProps, "id" | "children">, Omit<InputHTMLAttributes<HTMLInputElement>, "children" | "type" | "string" | "onChange" | "dir"> {
5
- loading?: boolean;
6
- value?: string;
7
- clear?: boolean;
8
- onChange: (inputValue: string, e?: ChangeEvent<HTMLInputElement>) => void;
9
- orientation?: "vertical" | "horizontal";
10
- dir?: "start" | "end";
3
+ export interface SearchFieldProps extends Omit<TextFieldProps, "type" | "startContent" | "endContent"> {
11
4
  isFilter?: boolean;
12
5
  }
13
6
  export declare const SearchField: import('react').ForwardRefExoticComponent<SearchFieldProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -1,4 +1,4 @@
1
- import { ChangeEvent, InputHTMLAttributes } from 'react';
1
+ import { ChangeEvent, InputHTMLAttributes, ReactNode } from 'react';
2
2
  import { WrapperProps } from './InputWrapper';
3
3
 
4
4
  export interface TextFieldProps extends Omit<WrapperProps, "id" | "children">, Omit<InputHTMLAttributes<HTMLInputElement>, "children" | "type" | "value" | "onChange" | "dir"> {
@@ -10,5 +10,13 @@ export interface TextFieldProps extends Omit<WrapperProps, "id" | "children">, O
10
10
  onChange: (inputValue: string, e?: ChangeEvent<HTMLInputElement>) => void;
11
11
  orientation?: "vertical" | "horizontal";
12
12
  dir?: "start" | "end";
13
+ /**
14
+ * Additional content to the left of the control
15
+ */
16
+ startContent?: ReactNode;
17
+ /**
18
+ * Additional content to the right of the control
19
+ */
20
+ endContent?: ReactNode;
13
21
  }
14
22
  export declare const TextField: import('react').ForwardRefExoticComponent<TextFieldProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -1,4 +1,59 @@
1
1
  import { ThemeName } from '../theme';
2
2
 
3
- declare const renderCUI: (children: React.ReactNode, theme?: ThemeName) => import('@testing-library/react').RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
3
+ declare const renderCUI: (children: React.ReactNode, theme?: ThemeName) => {
4
+ rerender: (rerenderChildren: React.ReactNode) => void;
5
+ container: HTMLElement;
6
+ baseElement: HTMLElement;
7
+ debug: (baseElement?: import('react-dom/client').Container | (Element | Document) | Array<import('react-dom/client').Container | (Element | Document)>, maxLength?: number, options?: import('pretty-format').OptionsReceived) => void;
8
+ unmount: () => void;
9
+ asFragment: () => DocumentFragment;
10
+ getByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement;
11
+ getAllByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement[];
12
+ queryByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement | null;
13
+ queryAllByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement[];
14
+ findByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
15
+ findAllByLabelText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
16
+ getByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement;
17
+ getAllByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
18
+ queryByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement | null;
19
+ queryAllByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
20
+ findByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
21
+ findAllByPlaceholderText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
22
+ getByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement;
23
+ getAllByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement[];
24
+ queryByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement | null;
25
+ queryAllByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined) => HTMLElement[];
26
+ findByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
27
+ findAllByText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
28
+ getByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement;
29
+ getAllByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
30
+ queryByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement | null;
31
+ queryAllByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
32
+ findByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
33
+ findAllByAltText: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
34
+ getByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement;
35
+ getAllByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
36
+ queryByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement | null;
37
+ queryAllByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
38
+ findByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
39
+ findAllByTitle: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
40
+ getByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement;
41
+ getAllByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
42
+ queryByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement | null;
43
+ queryAllByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
44
+ findByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
45
+ findAllByDisplayValue: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
46
+ getByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined) => HTMLElement;
47
+ getAllByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined) => HTMLElement[];
48
+ queryByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined) => HTMLElement | null;
49
+ queryAllByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined) => HTMLElement[];
50
+ findByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
51
+ findAllByRole: (role: import('@testing-library/react').ByRoleMatcher, options?: import('@testing-library/react').ByRoleOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
52
+ getByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement;
53
+ getAllByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
54
+ queryByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement | null;
55
+ queryAllByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined) => HTMLElement[];
56
+ findByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement>;
57
+ findAllByTestId: (id: import('@testing-library/react').Matcher, options?: import('@testing-library/react').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/react').waitForOptions | undefined) => Promise<HTMLElement[]>;
58
+ };
4
59
  export { renderCUI };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.205",
3
+ "version": "0.0.207",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",