@comercti/react-components 0.11.0 → 0.12.0

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/index.d.ts CHANGED
@@ -2048,11 +2048,15 @@ declare interface optsRadio {
2048
2048
 
2049
2049
  declare type PaginationProps = {
2050
2050
  /** Total de páginas */
2051
- totalPages: number;
2051
+ totalPages?: number;
2052
2052
  /** Página atual */
2053
2053
  currentPage: number;
2054
2054
  /** Itens por página */
2055
- itemsPerPage: number;
2055
+ itemsPerPage?: number;
2056
+ /** totalItems + itemsPerPage, geram o total de páginas (alternativa ao totalPages) */
2057
+ totalItems?: number;
2058
+ /** Valor do currentPage para two-way binding (v-model) */
2059
+ modelValue?: number;
2056
2060
  };
2057
2061
 
2058
2062
  export declare const removeCeToast: (id: number) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",