@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/README.md +73 -73
- package/dist/colors-BdogYmJi.js.map +1 -1
- package/dist/colors-Dwh4VIMR.mjs.map +1 -1
- package/dist/constants.cjs.js.map +1 -1
- package/dist/constants.es.js.map +1 -1
- package/dist/icons.svg +10 -10
- package/dist/index.cjs.js +9 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +15 -2
- package/dist/index.es.js +1335 -1330
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/utils-D9D3Fg9O.mjs.map +1 -1
- package/dist/utils-DbIphMSk.js.map +1 -1
- package/package.json +91 -91
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
|
|
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
|
|