@protonradio/proton-ui 0.7.6 → 0.7.7
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.cjs.js +8 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.es.js +1914 -1883
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -498,7 +498,7 @@ declare interface ScreenOverlayProps {
|
|
|
498
498
|
/**
|
|
499
499
|
* A search input component with optional clear functionality and URL parameter sync.
|
|
500
500
|
*/
|
|
501
|
-
export declare const SearchInput: ({ name, placeholder, autoComplete, isClearable, error, defaultValue, value: controlledValue, "data-testid": testId, onChange, onClear, }: SearchInputProps) => JSX_2.Element;
|
|
501
|
+
export declare const SearchInput: ({ name, placeholder, autoComplete, isClearable, isDisabled, error, defaultValue, value: controlledValue, "data-testid": testId, onChange, onClear, }: SearchInputProps) => JSX_2.Element;
|
|
502
502
|
|
|
503
503
|
declare interface SearchInputProps extends Omit<BaseInputProps, "prefix" | "suffix" | "value" | "onChange" | "description" | "descriptionPosition" | "label"> {
|
|
504
504
|
/** Should the clear button be shown when there is text? */
|
|
@@ -676,6 +676,30 @@ declare interface ThemeVariables {
|
|
|
676
676
|
"--proton-control__secondary-super-light": string;
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
+
/**
|
|
680
|
+
* A component that displays a loading tombstone. For use as a placeholder while loading content
|
|
681
|
+
* @interface TombstoneProps
|
|
682
|
+
*/
|
|
683
|
+
export declare const Tombstone: ({ width, height, borderRadius, }: TombstoneProps) => JSX_2.Element;
|
|
684
|
+
|
|
685
|
+
declare interface TombstoneProps {
|
|
686
|
+
/**
|
|
687
|
+
* The width of the tombstone.
|
|
688
|
+
* @default "100%"
|
|
689
|
+
*/
|
|
690
|
+
width?: string;
|
|
691
|
+
/**
|
|
692
|
+
* The height of the tombstone.
|
|
693
|
+
* @default "1.5rem"
|
|
694
|
+
*/
|
|
695
|
+
height?: string;
|
|
696
|
+
/**
|
|
697
|
+
* The border radius of the tombstone.
|
|
698
|
+
* @default "4px"
|
|
699
|
+
*/
|
|
700
|
+
borderRadius?: string;
|
|
701
|
+
}
|
|
702
|
+
|
|
679
703
|
export declare function Tooltip({ children, arrow, ...props }: TooltipProps): JSX_2.Element;
|
|
680
704
|
|
|
681
705
|
export declare interface TooltipProps extends Omit<TooltipProps_2, "children"> {
|