@clicktap/ui 0.3.2 → 0.3.4

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.
@@ -0,0 +1,3 @@
1
+ import { AccordionProps } from '@nextui-org/accordion';
2
+ export declare function Accordion({ children, ...props }: AccordionProps): import("react/jsx-runtime").JSX.Element;
3
+ export default Accordion;
@@ -62,7 +62,7 @@ export declare const CollapsibleContentRoot: import("styled-components").IStyled
62
62
  "aria-colindextext"?: string | undefined;
63
63
  "aria-colspan"?: number | undefined;
64
64
  "aria-controls"?: string | undefined;
65
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
65
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
66
66
  "aria-describedby"?: string | undefined;
67
67
  "aria-description"?: string | undefined;
68
68
  "aria-details"?: string | undefined;
package/Meter/styles.d.ts CHANGED
@@ -66,7 +66,7 @@ export declare const StyledBarFill: import("styled-components").IStyledComponent
66
66
  "aria-colindextext"?: string | undefined;
67
67
  "aria-colspan"?: number | undefined;
68
68
  "aria-controls"?: string | undefined;
69
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
69
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
70
70
  "aria-describedby"?: string | undefined;
71
71
  "aria-description"?: string | undefined;
72
72
  "aria-details"?: string | undefined;
@@ -1,7 +1,11 @@
1
- import { type ComboBoxProps as AriaComboBoxProps, type ValidationResult } from 'react-aria-components';
1
+ import { ComboBoxRenderProps, type ComboBoxProps as AriaComboBoxProps, type ValidationResult } from 'react-aria-components';
2
2
  import { Key, ReactNode } from 'react';
3
3
  export type ComboBoxPopoverAnimationState = 'unmounted' | 'hidden' | 'visible';
4
- interface ComboBoxProps<T extends object> extends Omit<AriaComboBoxProps<T>, 'children'> {
4
+ type CustomSelectSlots = {
5
+ buttonIcon?: ReactNode | ((values: ComboBoxRenderProps) => ReactNode);
6
+ loadingIcon?: ReactNode;
7
+ };
8
+ export interface SelectProps<T extends object> extends Omit<AriaComboBoxProps<T>, 'children'> {
5
9
  label?: string;
6
10
  description?: string | null;
7
11
  errorMessage?: string | ((validation: ValidationResult) => string);
@@ -9,8 +13,9 @@ interface ComboBoxProps<T extends object> extends Omit<AriaComboBoxProps<T>, 'ch
9
13
  key?: Key | null;
10
14
  isLoading?: boolean;
11
15
  children: ReactNode | ((item: T) => ReactNode);
16
+ slots?: CustomSelectSlots;
12
17
  }
13
- export declare function Select<T extends object>({ label, description, errorMessage, children, placeholder, key, isLoading, ...props }: ComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
18
+ export declare function Select<T extends object>({ label, description, errorMessage, children, placeholder, key, isLoading, slots, ...props }: SelectProps<T>): import("react/jsx-runtime").JSX.Element;
14
19
  export declare namespace Select {
15
20
  var defaultProps: {
16
21
  label: undefined;
@@ -19,6 +24,10 @@ export declare namespace Select {
19
24
  placeholder: string;
20
25
  key: undefined;
21
26
  isLoading: boolean;
27
+ slots: {
28
+ loadingIcon: undefined;
29
+ buttonIcon: undefined;
30
+ };
22
31
  };
23
32
  }
24
33
  export default Select;
package/Tabs/styles.d.ts CHANGED
@@ -68,7 +68,7 @@ export declare const TabOverlay: import("styled-components").IStyledComponent<"w
68
68
  "aria-colindextext"?: string | undefined;
69
69
  "aria-colspan"?: number | undefined;
70
70
  "aria-controls"?: string | undefined;
71
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
71
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
72
72
  "aria-describedby"?: string | undefined;
73
73
  "aria-description"?: string | undefined;
74
74
  "aria-details"?: string | undefined;
@@ -332,7 +332,7 @@ export declare const TabOverlay: import("styled-components").IStyledComponent<"w
332
332
  "aria-colindextext"?: string | undefined;
333
333
  "aria-colspan"?: number | undefined;
334
334
  "aria-controls"?: string | undefined;
335
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
335
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
336
336
  "aria-describedby"?: string | undefined;
337
337
  "aria-description"?: string | undefined;
338
338
  "aria-details"?: string | undefined;
package/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './Avatar/Avatar';
2
2
  export * from './Avatar/AvatarGroup/AvatarGroup';
3
+ export * from './Accordion/Accordion';
3
4
  export * from './Badge/Badge';
4
5
  export * from './Breadcrumbs/BreadcrumbEllipsis';
5
6
  export * from './Breadcrumbs/BreadcrumbItem';