@clickhouse/click-ui 0.0.160 → 0.0.162

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.
@@ -32547,9 +32547,17 @@ const Wrapper$3 = styled.div.withConfig({
32547
32547
  }
32548
32548
  }
32549
32549
  `);
32550
+ const StyledLabel = styled(Label$1).withConfig({
32551
+ componentId: "sc-1pvd2nj-1"
32552
+ })(["", ""], ({
32553
+ $labelColor
32554
+ }) => `
32555
+ ${$labelColor ? `color: ${$labelColor};` : ""}
32556
+ `);
32550
32557
  const InputWrapper = ({
32551
32558
  id,
32552
32559
  label = "",
32560
+ labelColor,
32553
32561
  error: error2,
32554
32562
  disabled,
32555
32563
  children,
@@ -32562,11 +32570,11 @@ const InputWrapper = ({
32562
32570
  /* @__PURE__ */ jsxRuntimeExports.jsx(Wrapper$3, { $error: !!error2, $resize: resize, "data-resize": resize, className: disabled ? "disabled" : "", children }),
32563
32571
  !!error2 && error2 !== true && /* @__PURE__ */ jsxRuntimeExports.jsx(Error$1, { children: error2 })
32564
32572
  ] }),
32565
- label && /* @__PURE__ */ jsxRuntimeExports.jsx(Label$1, { htmlFor: id, disabled, error: !!error2, children: label })
32573
+ label && /* @__PURE__ */ jsxRuntimeExports.jsx(StyledLabel, { htmlFor: id, disabled, error: !!error2, $labelColor: labelColor, children: label })
32566
32574
  ] });
32567
32575
  };
32568
32576
  const InputElement = styled.input.withConfig({
32569
- componentId: "sc-1pvd2nj-1"
32577
+ componentId: "sc-1pvd2nj-2"
32570
32578
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
32571
32579
  theme: theme2
32572
32580
  }) => `
@@ -32581,7 +32589,7 @@ const InputElement = styled.input.withConfig({
32581
32589
  }
32582
32590
  `);
32583
32591
  const NumberInputElement = styled(InputElement).withConfig({
32584
- componentId: "sc-1pvd2nj-2"
32592
+ componentId: "sc-1pvd2nj-3"
32585
32593
  })(["", ""], ({
32586
32594
  $hideControls
32587
32595
  }) => `
@@ -32596,7 +32604,7 @@ const NumberInputElement = styled(InputElement).withConfig({
32596
32604
  ` : ""}
32597
32605
  `);
32598
32606
  const TextAreaElement = styled.textarea.withConfig({
32599
- componentId: "sc-1pvd2nj-3"
32607
+ componentId: "sc-1pvd2nj-4"
32600
32608
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
32601
32609
  theme: theme2
32602
32610
  }) => `
@@ -32607,10 +32615,10 @@ const TextAreaElement = styled.textarea.withConfig({
32607
32615
  }
32608
32616
  `);
32609
32617
  styled(InputWrapper).withConfig({
32610
- componentId: "sc-1pvd2nj-4"
32618
+ componentId: "sc-1pvd2nj-5"
32611
32619
  })(["resize:vertical;overflow:auto;color:red;"]);
32612
32620
  const IconButton = styled.button.withConfig({
32613
- componentId: "sc-1pvd2nj-5"
32621
+ componentId: "sc-1pvd2nj-6"
32614
32622
  })(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
32615
32623
  theme: theme2,
32616
32624
  $show
@@ -32619,7 +32627,7 @@ const IconButton = styled.button.withConfig({
32619
32627
  visibility: ${$show ? "visible" : "hidden"};
32620
32628
  `);
32621
32629
  styled.svg.withConfig({
32622
- componentId: "sc-1pvd2nj-6"
32630
+ componentId: "sc-1pvd2nj-7"
32623
32631
  })(["", ""], ({
32624
32632
  theme: theme2
32625
32633
  }) => `
@@ -33339,7 +33347,16 @@ const StyledSelectTrigger = styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).wi
33339
33347
  `);
33340
33348
  const SelectPopoverContent = styled($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2).withConfig({
33341
33349
  componentId: "sc-oudbwg-3"
33342
- })(["width:var(--radix-popover-trigger-width);max-height:var(--radix-popover-content-available-height);border-radius:0.25rem;pointer-events:auto;", " overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"], ({
33350
+ })(["width:var(--radix-popover-trigger-width);max-height:var(--radix-popover-content-available-height);border-radius:0.25rem;pointer-events:auto;", " ", " overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"], ({
33351
+ $useFullWidthItems,
33352
+ $itemCharacterLimit
33353
+ }) => `
33354
+ ${$useFullWidthItems ? `
33355
+ max-width: ${$itemCharacterLimit};
33356
+ min-width: var(--radix-popover-trigger-width);
33357
+ width: 100%;
33358
+ ` : "width: var(--radix-popover-trigger-width)"};
33359
+ `, ({
33343
33360
  theme: theme2
33344
33361
  }) => `
33345
33362
  border: 1px solid ${theme2.click.genericMenu.item.color.stroke.default};
@@ -36878,6 +36895,8 @@ const InternalSelect = ({
36878
36895
  selectLabel,
36879
36896
  showSearch = false,
36880
36897
  container,
36898
+ useFullWidthItems = false,
36899
+ itemCharacterLimit = "64ch",
36881
36900
  ...props
36882
36901
  }) => {
36883
36902
  const defaultId = useId();
@@ -37053,7 +37072,7 @@ const InternalSelect = ({
37053
37072
  onUpdateSearch("");
37054
37073
  }, onOpenAutoFocus: () => {
37055
37074
  setHighlighted(visibleList.current[0]);
37056
- }, align: "start", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(SelectList, { children: [
37075
+ }, align: "start", $useFullWidthItems: useFullWidthItems, $itemCharacterLimit: itemCharacterLimit, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(SelectList, { children: [
37057
37076
  /* @__PURE__ */ jsxRuntimeExports.jsxs(SearchBarContainer, { $showSearch: showSearch, children: [
37058
37077
  /* @__PURE__ */ jsxRuntimeExports.jsx(SearchBar, { ref: inputRef, value: search, onChange: (e) => onUpdateSearch(e.target.value), "data-testid": "select-search-input", onKeyDown, $showSearch: showSearch }),
37059
37078
  /* @__PURE__ */ jsxRuntimeExports.jsx(SearchClose, { as: IconButton$1, icon: "cross", onClick: clearSearch, "data-testid": "select-search-close", $showClose: search.length > 0, size: "xs" })
@@ -38774,6 +38793,7 @@ const TextField = forwardRef(({
38774
38793
  type,
38775
38794
  disabled,
38776
38795
  label,
38796
+ labelColor,
38777
38797
  error: error2,
38778
38798
  id,
38779
38799
  loading,
@@ -38791,7 +38811,7 @@ const TextField = forwardRef(({
38791
38811
  const clearInput = () => {
38792
38812
  onChangeProp("");
38793
38813
  };
38794
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, error: error2, orientation, dir, children: [
38814
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, labelColor, error: error2, orientation, dir, children: [
38795
38815
  /* @__PURE__ */ jsxRuntimeExports.jsx(InputElement, { ref: mergeRefs([inputRef, ref]), type, id: id ?? defaultId, disabled, value, onChange, ...props }),
38796
38816
  clear && /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { disabled, onClick: clearInput, $show: value.length > 0, "aria-label": "clear input", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "cross", size: "sm" }) }),
38797
38817
  loading && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "loading-animated", size: "sm" })
@@ -32564,9 +32564,17 @@ var __publicField = (obj, key, value) => {
32564
32564
  }
32565
32565
  }
32566
32566
  `);
32567
+ const StyledLabel = styled(Label$1).withConfig({
32568
+ componentId: "sc-1pvd2nj-1"
32569
+ })(["", ""], ({
32570
+ $labelColor
32571
+ }) => `
32572
+ ${$labelColor ? `color: ${$labelColor};` : ""}
32573
+ `);
32567
32574
  const InputWrapper = ({
32568
32575
  id,
32569
32576
  label = "",
32577
+ labelColor,
32570
32578
  error: error2,
32571
32579
  disabled,
32572
32580
  children,
@@ -32579,11 +32587,11 @@ var __publicField = (obj, key, value) => {
32579
32587
  /* @__PURE__ */ jsxRuntimeExports.jsx(Wrapper$3, { $error: !!error2, $resize: resize, "data-resize": resize, className: disabled ? "disabled" : "", children }),
32580
32588
  !!error2 && error2 !== true && /* @__PURE__ */ jsxRuntimeExports.jsx(Error$1, { children: error2 })
32581
32589
  ] }),
32582
- label && /* @__PURE__ */ jsxRuntimeExports.jsx(Label$1, { htmlFor: id, disabled, error: !!error2, children: label })
32590
+ label && /* @__PURE__ */ jsxRuntimeExports.jsx(StyledLabel, { htmlFor: id, disabled, error: !!error2, $labelColor: labelColor, children: label })
32583
32591
  ] });
32584
32592
  };
32585
32593
  const InputElement = styled.input.withConfig({
32586
- componentId: "sc-1pvd2nj-1"
32594
+ componentId: "sc-1pvd2nj-2"
32587
32595
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
32588
32596
  theme: theme2
32589
32597
  }) => `
@@ -32598,7 +32606,7 @@ var __publicField = (obj, key, value) => {
32598
32606
  }
32599
32607
  `);
32600
32608
  const NumberInputElement = styled(InputElement).withConfig({
32601
- componentId: "sc-1pvd2nj-2"
32609
+ componentId: "sc-1pvd2nj-3"
32602
32610
  })(["", ""], ({
32603
32611
  $hideControls
32604
32612
  }) => `
@@ -32613,7 +32621,7 @@ var __publicField = (obj, key, value) => {
32613
32621
  ` : ""}
32614
32622
  `);
32615
32623
  const TextAreaElement = styled.textarea.withConfig({
32616
- componentId: "sc-1pvd2nj-3"
32624
+ componentId: "sc-1pvd2nj-4"
32617
32625
  })(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
32618
32626
  theme: theme2
32619
32627
  }) => `
@@ -32624,10 +32632,10 @@ var __publicField = (obj, key, value) => {
32624
32632
  }
32625
32633
  `);
32626
32634
  styled(InputWrapper).withConfig({
32627
- componentId: "sc-1pvd2nj-4"
32635
+ componentId: "sc-1pvd2nj-5"
32628
32636
  })(["resize:vertical;overflow:auto;color:red;"]);
32629
32637
  const IconButton = styled.button.withConfig({
32630
- componentId: "sc-1pvd2nj-5"
32638
+ componentId: "sc-1pvd2nj-6"
32631
32639
  })(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
32632
32640
  theme: theme2,
32633
32641
  $show
@@ -32636,7 +32644,7 @@ var __publicField = (obj, key, value) => {
32636
32644
  visibility: ${$show ? "visible" : "hidden"};
32637
32645
  `);
32638
32646
  styled.svg.withConfig({
32639
- componentId: "sc-1pvd2nj-6"
32647
+ componentId: "sc-1pvd2nj-7"
32640
32648
  })(["", ""], ({
32641
32649
  theme: theme2
32642
32650
  }) => `
@@ -33356,7 +33364,16 @@ var __publicField = (obj, key, value) => {
33356
33364
  `);
33357
33365
  const SelectPopoverContent = styled($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2).withConfig({
33358
33366
  componentId: "sc-oudbwg-3"
33359
- })(["width:var(--radix-popover-trigger-width);max-height:var(--radix-popover-content-available-height);border-radius:0.25rem;pointer-events:auto;", " overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"], ({
33367
+ })(["width:var(--radix-popover-trigger-width);max-height:var(--radix-popover-content-available-height);border-radius:0.25rem;pointer-events:auto;", " ", " overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"], ({
33368
+ $useFullWidthItems,
33369
+ $itemCharacterLimit
33370
+ }) => `
33371
+ ${$useFullWidthItems ? `
33372
+ max-width: ${$itemCharacterLimit};
33373
+ min-width: var(--radix-popover-trigger-width);
33374
+ width: 100%;
33375
+ ` : "width: var(--radix-popover-trigger-width)"};
33376
+ `, ({
33360
33377
  theme: theme2
33361
33378
  }) => `
33362
33379
  border: 1px solid ${theme2.click.genericMenu.item.color.stroke.default};
@@ -36895,6 +36912,8 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
36895
36912
  selectLabel,
36896
36913
  showSearch = false,
36897
36914
  container,
36915
+ useFullWidthItems = false,
36916
+ itemCharacterLimit = "64ch",
36898
36917
  ...props
36899
36918
  }) => {
36900
36919
  const defaultId = React.useId();
@@ -37070,7 +37089,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
37070
37089
  onUpdateSearch("");
37071
37090
  }, onOpenAutoFocus: () => {
37072
37091
  setHighlighted(visibleList.current[0]);
37073
- }, align: "start", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(SelectList, { children: [
37092
+ }, align: "start", $useFullWidthItems: useFullWidthItems, $itemCharacterLimit: itemCharacterLimit, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(SelectList, { children: [
37074
37093
  /* @__PURE__ */ jsxRuntimeExports.jsxs(SearchBarContainer, { $showSearch: showSearch, children: [
37075
37094
  /* @__PURE__ */ jsxRuntimeExports.jsx(SearchBar, { ref: inputRef, value: search, onChange: (e) => onUpdateSearch(e.target.value), "data-testid": "select-search-input", onKeyDown, $showSearch: showSearch }),
37076
37095
  /* @__PURE__ */ jsxRuntimeExports.jsx(SearchClose, { as: IconButton$1, icon: "cross", onClick: clearSearch, "data-testid": "select-search-close", $showClose: search.length > 0, size: "xs" })
@@ -38791,6 +38810,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
38791
38810
  type,
38792
38811
  disabled,
38793
38812
  label,
38813
+ labelColor,
38794
38814
  error: error2,
38795
38815
  id,
38796
38816
  loading,
@@ -38808,7 +38828,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
38808
38828
  const clearInput = () => {
38809
38829
  onChangeProp("");
38810
38830
  };
38811
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, error: error2, orientation, dir, children: [
38831
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(InputWrapper, { disabled, id: id ?? defaultId, label, labelColor, error: error2, orientation, dir, children: [
38812
38832
  /* @__PURE__ */ jsxRuntimeExports.jsx(InputElement, { ref: mergeRefs([inputRef, ref]), type, id: id ?? defaultId, disabled, value, onChange, ...props }),
38813
38833
  clear && /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { disabled, onClick: clearInput, $show: value.length > 0, "aria-label": "clear input", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "cross", size: "sm" }) }),
38814
38834
  loading && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "loading-animated", size: "sm" })
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
3
3
  export interface WrapperProps {
4
4
  id: string;
5
5
  label?: ReactNode;
6
+ labelColor?: string;
6
7
  error?: ReactNode;
7
8
  disabled?: boolean;
8
9
  children: ReactNode;
@@ -10,7 +11,7 @@ export interface WrapperProps {
10
11
  dir?: "start" | "end";
11
12
  resize?: "none" | "vertical" | "horizontal" | "both";
12
13
  }
13
- export declare const InputWrapper: ({ id, label, error, disabled, children, orientation, dir, resize, }: WrapperProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const InputWrapper: ({ id, label, labelColor, error, disabled, children, orientation, dir, resize, }: WrapperProps) => import("react/jsx-runtime").JSX.Element;
14
15
  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;
15
16
  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
17
  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;
@@ -18,7 +19,7 @@ export declare const NumberInputElement: import('styled-components/dist/types').
18
19
  $hideControls?: boolean;
19
20
  }>> & string;
20
21
  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;
21
- export declare const TextAreaWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<WrapperProps, never>> & string & Omit<({ id, label, error, disabled, children, orientation, dir, resize, }: WrapperProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
22
+ export declare const TextAreaWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<WrapperProps, never>> & string & Omit<({ id, label, labelColor, error, disabled, children, orientation, dir, resize, }: WrapperProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
22
23
  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>, {
23
24
  $show?: boolean;
24
25
  }>> & string;
@@ -4,6 +4,7 @@ import { WrapperProps } from './InputWrapper';
4
4
  export interface TextFieldProps extends Omit<WrapperProps, "id" | "children">, Omit<InputHTMLAttributes<HTMLInputElement>, "children" | "type" | "value" | "onChange" | "dir"> {
5
5
  type?: "text" | "email" | "tel" | "url";
6
6
  loading?: boolean;
7
+ labelColor?: string;
7
8
  value?: string;
8
9
  clear?: boolean;
9
10
  onChange: (inputValue: string, e?: ChangeEvent<HTMLInputElement>) => void;
@@ -6,6 +6,8 @@ export interface SelectProps extends Omit<SelectContainerProps, "onChange" | "va
6
6
  value?: string;
7
7
  placeholder?: string;
8
8
  onOpenChange?: (open: boolean) => void;
9
+ useFullWidthItems?: boolean;
10
+ itemCharacterLimit?: string;
9
11
  }
10
12
  export declare const Select: {
11
13
  ({ value: valueProp, defaultValue, onSelect: onSelectProp, options, children, onOpenChange: onOpenChangeProp, ...props }: SelectProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { SelectContainerProps, SelectGroupProps, SelectItemProps } from './types';
2
2
 
3
- export declare const InternalSelect: ({ label, children, orientation, dir, disabled, id, error, value: selectedValues, onChange, onSelect, open, onOpenChange, name, form, allowCreateOption, customText, options, sortable, placeholder, multiple, checkbox, selectLabel, showSearch, container, ...props }: SelectContainerProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const InternalSelect: ({ label, children, orientation, dir, disabled, id, error, value: selectedValues, onChange, onSelect, open, onOpenChange, name, form, allowCreateOption, customText, options, sortable, placeholder, multiple, checkbox, selectLabel, showSearch, container, useFullWidthItems, itemCharacterLimit, ...props }: SelectContainerProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export declare const SelectGroup: import('react').ForwardRefExoticComponent<SelectGroupProps & import('react').RefAttributes<HTMLDivElement>>;
5
5
  export declare const SelectItem: import('react').ForwardRefExoticComponent<SelectItemProps & import('react').RefAttributes<HTMLDivElement>>;
6
6
  export declare const MultiSelectCheckboxItem: import('react').ForwardRefExoticComponent<SelectItemProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -5,9 +5,12 @@ export declare const StyledSelectTrigger: import('styled-components/dist/types')
5
5
  }, {
6
6
  $error: boolean;
7
7
  }>> & string & Omit<import('react').ForwardRefExoticComponent<import('@radix-ui/react-popover').PopoverTriggerProps & import('react').RefAttributes<HTMLButtonElement>>, keyof import('react').Component<any, {}, any>>;
8
- export declare const SelectPopoverContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('@radix-ui/react-popover').PopoverContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
8
+ export declare const SelectPopoverContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('@radix-ui/react-popover').PopoverContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
9
9
  ref?: ((instance: HTMLDivElement | 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<HTMLDivElement> | null | undefined;
10
- }, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('@radix-ui/react-popover').PopoverContentProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
10
+ }, {
11
+ $useFullWidthItems: boolean;
12
+ $itemCharacterLimit?: string;
13
+ }>> & string & Omit<import('react').ForwardRefExoticComponent<import('@radix-ui/react-popover').PopoverContentProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
11
14
  export declare const SearchBarContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
12
15
  $showSearch: boolean;
13
16
  }>> & string;
@@ -67,6 +67,8 @@ interface InternalSelectProps extends PopoverProps, Omit<HTMLAttributes<HTMLDivE
67
67
  showSearch?: boolean;
68
68
  customText?: string;
69
69
  container?: HTMLElement;
70
+ useFullWidthItems?: boolean;
71
+ itemCharacterLimit?: string;
70
72
  }
71
73
  export type SelectOptionProp = SelectOptionType | SelectChildrenType;
72
74
  export type SelectContainerProps = SelectOptionProp & InternalSelectProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.160",
3
+ "version": "0.0.162",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",