@protonradio/proton-ui 0.7.2 → 0.7.3

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
@@ -456,7 +456,7 @@ export { Row }
456
456
  /**
457
457
  * A search input component with optional clear functionality and URL parameter sync.
458
458
  */
459
- export declare const SearchInput: ({ name, placeholder, autoComplete, isClearable, error, defaultValue, value: controlledValue, "data-testid": testId, onChange, onClear, }: SearchInputProps) => JSX_2.Element;
459
+ export declare const SearchInput: ({ name, placeholder, autoComplete, isClearable, isDisabled, error, defaultValue, value: controlledValue, "data-testid": testId, onChange, onClear, }: SearchInputProps) => JSX_2.Element;
460
460
 
461
461
  declare interface SearchInputProps extends Omit<BaseInputProps, "prefix" | "suffix" | "value" | "onChange" | "description" | "descriptionPosition" | "label"> {
462
462
  /** Should the clear button be shown when there is text? */
@@ -601,7 +601,7 @@ export declare const ThemeProvider: default_2.FC<ThemeProviderProps>;
601
601
  declare interface ThemeProviderProps {
602
602
  theme: Theme;
603
603
  children: ReactNode;
604
- palette: Palette;
604
+ palette?: Palette;
605
605
  }
606
606
 
607
607
  export declare const THEMES: {
@@ -620,11 +620,24 @@ declare interface ThemeVariables {
620
620
  "--proton-color__secondary": string;
621
621
  }
622
622
 
623
+ /**
624
+ * A component that displays a loading tombstone. For use as a placeholder while loading content
625
+ * @interface TombstoneProps
626
+ */
623
627
  export declare const Tombstone: ({ width, height, borderRadius, ...props }: TombstoneProps) => JSX_2.Element;
624
628
 
625
629
  declare interface TombstoneProps {
630
+ /**
631
+ * The width of the tombstone.
632
+ */
626
633
  width?: string;
634
+ /**
635
+ * The height of the tombstone.
636
+ */
627
637
  height?: string;
638
+ /**
639
+ * The border radius of the tombstone.
640
+ */
628
641
  borderRadius?: string;
629
642
  }
630
643