@takecasper/acuity-design-system 1.22.0 → 1.23.0

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.
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { AnchorHTMLAttributes } from 'react';
4
4
  import { ClassProp } from 'class-variance-authority/types';
5
5
  import { JSX as JSX_2 } from 'react/jsx-runtime';
6
6
  import { default as React_2 } from 'react';
7
+ import { ReactNode } from 'react';
7
8
  import { VariantProps } from 'class-variance-authority';
8
9
 
9
10
  export declare const Alert: ({ variant, isDismissible, showIcon, titleSize, title, description, content, closeAriaLabel, id, handleClose, ...props }: AlertProps) => JSX_2.Element;
@@ -177,6 +178,19 @@ export declare interface ModalProps {
177
178
  horizontalRule?: boolean;
178
179
  }
179
180
 
181
+ export declare const ProgressBar: ({ size, label, helperMessage, className, state, maxValue, value, hideIcon, ...props }: ProgressBarProps) => JSX_2.Element;
182
+
183
+ export declare interface ProgressBarProps {
184
+ size?: 'small' | 'large';
185
+ state?: 'in-progress' | 'error' | 'success' | 'indeterminate';
186
+ label?: string;
187
+ helperMessage?: string;
188
+ className?: string;
189
+ value?: number;
190
+ maxValue?: number;
191
+ hideIcon?: boolean;
192
+ }
193
+
180
194
  export declare const Radio: ({ label, name, id, disabled, onChange, onClick, ...props }: RadioProps) => JSX_2.Element;
181
195
 
182
196
  export declare interface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {
@@ -187,6 +201,25 @@ export declare interface RadioProps extends React.InputHTMLAttributes<HTMLInputE
187
201
  onClick?: (e: React.MouseEvent<HTMLInputElement | HTMLButtonElement, MouseEvent>) => void;
188
202
  }
189
203
 
204
+ export declare const Tab: ({ children }: TabProps) => ReactNode;
205
+
206
+ export declare interface TabProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
207
+ title: string;
208
+ id: string;
209
+ badgeText?: string;
210
+ children: React.ReactNode;
211
+ }
212
+
213
+ export declare const Tabs: ({ children, handleTabChange, activeTabIndex, isNested, className, ...props }: TabsProps) => JSX_2.Element;
214
+
215
+ export declare interface TabsProps extends React_2.HTMLAttributes<HTMLDivElement> {
216
+ handleTabChange: (index: number) => void;
217
+ isNested?: boolean;
218
+ activeTabIndex: number;
219
+ children: React_2.ReactNode;
220
+ className?: string;
221
+ }
222
+
190
223
  export declare const Textarea: ({ id, state, label, rows, cols, isResizable, optionalityLabel, helpText, message, disabled, ...props }: TextareaProps) => JSX_2.Element;
191
224
 
192
225
  export declare const TextareaAtom: ({ state, rows, cols, isResizable, disabled, ...props }: TextareaAtomProps) => JSX_2.Element;