@candy.thieves/ui-kit-lumos 0.0.63 → 0.0.64

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.
@@ -4,12 +4,10 @@ export type InputProps = {
4
4
  error?: string;
5
5
  startAdornment?: ReactNode;
6
6
  endAdornment?: ReactNode;
7
- containerClassName?: string;
8
7
  } & ComponentPropsWithoutRef<'input'>;
9
8
  export declare const Input: import("react").ForwardRefExoticComponent<{
10
9
  label?: string;
11
10
  error?: string;
12
11
  startAdornment?: ReactNode;
13
12
  endAdornment?: ReactNode;
14
- containerClassName?: string;
15
13
  } & Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
@@ -20,7 +20,6 @@ export * from './ReadMore';
20
20
  export * from './Scroll';
21
21
  export * from './SearchInput';
22
22
  export * from './Select';
23
- export * from './SearchableSelect';
24
23
  export * from './Sidebar';
25
24
  export * from './Slider';
26
25
  export * from './Table';
@@ -5,5 +5,3 @@ export declare const TAB_INDEX: {
5
5
  readonly ENABLED: 0;
6
6
  readonly DISABLED: -1;
7
7
  };
8
- export declare const DEBOUNCE_DELAY = 500;
9
- export declare const OPTIONS_QUANTITY = 50;
@@ -1,3 +1,2 @@
1
1
  export * from './useScrollThumbs';
2
2
  export * from './useThumbDrag';
3
- export * from './useDebounce';
@@ -6,6 +6,5 @@ export { isThemeColor } from './isThemeColor';
6
6
  export { getFirstLetterCapitalized } from './getFirstLetterCapitalized';
7
7
  export { isAudioAttachment } from './isAudioAttachment';
8
8
  export { formatTime } from './formatTime';
9
- export { getOptions } from './getOptions';
10
9
  export { DAYS_IN_WEEK, formatValue, getCalendarDates, getClosestEnabledDate, getDateBetween, getDateRange, getDatesEqual, getStartOfDay, getStartOfMonth, isYearSelectable, MONTH_OPTIONS, YEAR_OPTIONS, } from './datePicker';
11
10
  export type { DatePickerMode, DatePickerValue, DateRange } from './datePicker';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@candy.thieves/ui-kit-lumos",
3
3
  "private": false,
4
4
  "packageManager": "pnpm@10.34.5",
5
- "version": "0.0.63",
5
+ "version": "0.0.64",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "main": "dist/index.js",
@@ -1,49 +0,0 @@
1
- import { Select as SelectPrimitive } from 'radix-ui';
2
- import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
3
- import { type SelectItem } from '@/components';
4
- export type SearchableSelectProps = Omit<ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, 'children'> & {
5
- className?: string;
6
- contentProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Content>;
7
- contentClassName?: string;
8
- debounceDelay?: number;
9
- groupLabelClassName?: string;
10
- iconProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Icon>;
11
- itemClassName?: string;
12
- label?: ReactNode;
13
- labelProps?: ComponentPropsWithoutRef<'label'>;
14
- onSearchChange?: (value: string) => void;
15
- options: SelectItem[];
16
- placeholder?: ReactNode;
17
- portalProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Portal>;
18
- searchPlaceholder?: string;
19
- separatorClassName?: string;
20
- triggerIcon?: ReactNode;
21
- triggerProps?: Omit<ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children'>;
22
- valueProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Value>;
23
- viewportProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Viewport>;
24
- };
25
- export declare const SearchableSelect: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSharedProps & {
26
- value?: string;
27
- defaultValue?: string;
28
- onValueChange?(value: string): void;
29
- }, "children"> & {
30
- className?: string;
31
- contentProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Content>;
32
- contentClassName?: string;
33
- debounceDelay?: number;
34
- groupLabelClassName?: string;
35
- iconProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Icon>;
36
- itemClassName?: string;
37
- label?: ReactNode;
38
- labelProps?: ComponentPropsWithoutRef<"label">;
39
- onSearchChange?: (value: string) => void;
40
- options: SelectItem[];
41
- placeholder?: ReactNode;
42
- portalProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Portal>;
43
- searchPlaceholder?: string;
44
- separatorClassName?: string;
45
- triggerIcon?: ReactNode;
46
- triggerProps?: Omit<ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, "children">;
47
- valueProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Value>;
48
- viewportProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Viewport>;
49
- } & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1 +0,0 @@
1
- export * from './SearchableSelect';
@@ -1 +0,0 @@
1
- export declare const useDebounce: <T>(value: T, delay: number) => T;
@@ -1,2 +0,0 @@
1
- import type { SelectItem, SelectOption } from '@/components';
2
- export declare const getOptions: (items: SelectItem[]) => SelectOption[];