@contentstudio/ui 0.1.25 → 0.1.27

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
@@ -19,6 +19,7 @@ import { InjectionKey } from 'vue';
19
19
  import { default as ListItem } from './components/ListItem/ListItem.vue';
20
20
  import { default as Loader } from './Loader.vue';
21
21
  import { default as Modal } from './Modal.vue';
22
+ import { default as Pagination } from './Pagination.vue';
22
23
  import { Placement } from '@floating-ui/vue';
23
24
  import { default as Progress } from './Progress.vue';
24
25
  import { default as Radio } from './components/Radio/Radio.vue';
@@ -569,11 +570,15 @@ export declare interface LoaderProps {
569
570
  /** Loader variant */
570
571
  variant?: LoaderVariant;
571
572
  /** Loader color */
572
- color?: ThemeColor;
573
+ color?: ThemeColor | string;
573
574
  /** Loader size */
574
575
  size?: ComponentSize;
575
576
  /** Custom class names */
576
577
  class?: string;
578
+ /** Whether the loader is visible */
579
+ loading?: boolean;
580
+ /** Border radius (for oval variant) */
581
+ radius?: string;
577
582
  }
578
583
 
579
584
  export declare type LoaderVariant = 'oval' | 'dots' | 'bars';
@@ -712,6 +717,41 @@ export declare interface ModalProps {
712
717
  ariaLabel?: string;
713
718
  }
714
719
 
720
+ export { Pagination }
721
+
722
+ export declare interface PaginationProps {
723
+ /** Total number of pages */
724
+ total: number;
725
+ /** Current active page */
726
+ modelValue?: number;
727
+ /** Number of siblings displayed on the left and right of the current page */
728
+ siblings?: number;
729
+ /** Number of elements visible at the beginning and end */
730
+ boundaries?: number;
731
+ /** Pagination variant */
732
+ variant?: PaginationVariant;
733
+ /** Pagination color */
734
+ color?: ThemeColor | string;
735
+ /** Pagination size */
736
+ size?: ComponentSize;
737
+ /** Whether to show the first/last controls */
738
+ withEdges?: boolean;
739
+ /** Whether to show the previous/next controls */
740
+ withControls?: boolean;
741
+ /** Whether to show the pages */
742
+ withPages?: boolean;
743
+ /** Whether the pagination is disabled */
744
+ disabled?: boolean;
745
+ /** Whether to automatically adjust text color based on background */
746
+ autoContrast?: boolean;
747
+ /** Custom class names */
748
+ class?: string;
749
+ /** Border radius */
750
+ radius?: string;
751
+ }
752
+
753
+ export declare type PaginationVariant = 'filled' | 'outline';
754
+
715
755
  declare type Position = 'top-start' | 'top-end' | 'top-center' | 'bottom-start' | 'bottom-end' | 'bottom-center' | 'middle-start' | 'middle-end' | 'middle-center';
716
756
 
717
757
  export { Progress }
@@ -737,6 +777,14 @@ export declare interface ProgressProps {
737
777
  class?: string;
738
778
  /** Multiple sections for segmented progress bar */
739
779
  sections?: ProgressSection[];
780
+ /** Minimum value marker (stamp line) */
781
+ minValue?: number;
782
+ /** Whether to show the minimum value marker */
783
+ showMinValue?: boolean;
784
+ /** Color of the minimum value marker */
785
+ minValueColor?: string;
786
+ /** Position of the value label ('top' or 'right') */
787
+ valuePosition?: 'top' | 'right';
740
788
  }
741
789
 
742
790
  export declare type ProgressRadius = 'none' | 'sm' | 'md' | 'lg' | 'full';