@contentstudio/ui 0.1.26 → 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';
@@ -716,6 +717,41 @@ export declare interface ModalProps {
716
717
  ariaLabel?: string;
717
718
  }
718
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
+
719
755
  declare type Position = 'top-start' | 'top-end' | 'top-center' | 'bottom-start' | 'bottom-end' | 'bottom-center' | 'middle-start' | 'middle-end' | 'middle-center';
720
756
 
721
757
  export { Progress }