@protonradio/proton-ui 0.7.3 → 0.7.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.
package/dist/index.d.ts CHANGED
@@ -618,25 +618,42 @@ declare interface ThemeVariables {
618
618
  "--proton-color__primary": string;
619
619
  "--proton-color__primary-light": string;
620
620
  "--proton-color__secondary": string;
621
+ "--proton-control__primary-super-dark": string;
622
+ "--proton-control__primary-dark": string;
623
+ "--proton-control__primary-medium": string;
624
+ "--proton-control__primary-medium-light": string;
625
+ "--proton-control__primary-light": string;
626
+ "--proton-control__primary-lightest": string;
627
+ "--proton-control__primary-super-light": string;
628
+ "--proton-control__secondary-super-dark": string;
629
+ "--proton-control__secondary-dark": string;
630
+ "--proton-control__secondary-medium": string;
631
+ "--proton-control__secondary-medium-light": string;
632
+ "--proton-control__secondary-light": string;
633
+ "--proton-control__secondary-lightest": string;
634
+ "--proton-control__secondary-super-light": string;
621
635
  }
622
636
 
623
637
  /**
624
638
  * A component that displays a loading tombstone. For use as a placeholder while loading content
625
639
  * @interface TombstoneProps
626
640
  */
627
- export declare const Tombstone: ({ width, height, borderRadius, ...props }: TombstoneProps) => JSX_2.Element;
641
+ export declare const Tombstone: ({ width, height, borderRadius, }: TombstoneProps) => JSX_2.Element;
628
642
 
629
643
  declare interface TombstoneProps {
630
644
  /**
631
645
  * The width of the tombstone.
646
+ * @default "100%"
632
647
  */
633
648
  width?: string;
634
649
  /**
635
650
  * The height of the tombstone.
651
+ * @default "1.5rem"
636
652
  */
637
653
  height?: string;
638
654
  /**
639
655
  * The border radius of the tombstone.
656
+ * @default "4px"
640
657
  */
641
658
  borderRadius?: string;
642
659
  }
@@ -707,7 +724,7 @@ declare const WARNING: {
707
724
  *
708
725
  * @returns {JSX.Element} A waveform visualization with optional timestamps and interactive features
709
726
  */
710
- export declare function Waveform({ data: waveformData, resolution, startDuration, endDuration, currentTime, showTimestamps, totalDuration, onClick, timestampColor: timestampColorProp, "data-testid": testId, }: WaveformProps): JSX_2.Element;
727
+ export declare function Waveform({ data: waveformData, resolution, startDuration, endDuration, currentTime, showTimestamps, totalDuration, onClick, "data-testid": testId, }: WaveformProps): JSX_2.Element;
711
728
 
712
729
  declare interface WaveformProps {
713
730
  /**
@@ -743,11 +760,6 @@ declare interface WaveformProps {
743
760
  * Click handler that receives the clicked position (0-1) and event.
744
761
  */
745
762
  onClick?: (position: number, e: React.MouseEvent<HTMLDivElement>) => void;
746
- /**
747
- * Custom color for timestamp text backgrounds.
748
- * Will use theme color by default.
749
- */
750
- timestampColor?: string;
751
763
  /**
752
764
  * Test ID for testing purposes.
753
765
  */