@up-packages/ui 0.12.4-qa → 0.13.0-qa

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.
@@ -11,11 +11,12 @@
11
11
  */
12
12
  export declare function formatCPF(text: string): string;
13
13
  /**
14
- * Formata CNPJ
15
- * @param text - CNPJ sem formatação (14 dígitos)
16
- * @returns CNPJ formatado (12.345.678/0001-90)
14
+ * Formata CNPJ (numérico ou alfanumérico — IN RFB 2.229/2024)
15
+ * @param text - CNPJ sem formatação (14 posições: dígitos e/ou letras A-Z)
16
+ * @returns CNPJ formatado (12.345.678/0001-90 ou 12.ABC.345/01DE-35)
17
17
  * @example
18
- * formatCNPJ('12345678000190') // '12.345.678/0001-90'
18
+ * formatCNPJ('12345678000190') // '12.345.678/0001-90'
19
+ * formatCNPJ('12ABC34501DE35') // '12.ABC.345/01DE-35'
19
20
  */
20
21
  export declare function formatCNPJ(text: string): string;
21
22
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up-packages/ui",
3
- "version": "0.12.4-qa",
3
+ "version": "0.13.0-qa",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "Biblioteca de componentes Vue 3 + Vuetify para Uplexis",