@comercti/react-components-hmg 0.15.2 → 0.15.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/index.d.ts CHANGED
@@ -256,16 +256,17 @@ dropdownRef: HTMLButtonElement;
256
256
 
257
257
  declare const __VLS_component_7: DefineComponent<__VLS_Props_11, {
258
258
  focus: () => void;
259
+ valorSemMascara: Ref<string | number, string | number>;
259
260
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
260
261
  "update:modelValue": (value: string | number | CustomEvent<any>) => any;
261
262
  change: (value: string | number | CustomEvent<any>) => any;
262
263
  input: (value: string | number | CustomEvent<any>) => any;
263
- blur: (value: Event) => any;
264
+ blur: (value: string | number | CustomEvent<any>) => any;
264
265
  }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
265
266
  "onUpdate:modelValue"?: (value: string | number | CustomEvent<any>) => any;
266
267
  onChange?: (value: string | number | CustomEvent<any>) => any;
267
268
  onInput?: (value: string | number | CustomEvent<any>) => any;
268
- onBlur?: (value: Event) => any;
269
+ onBlur?: (value: string | number | CustomEvent<any>) => any;
269
270
  }>, {
270
271
  invalid: boolean;
271
272
  disabled: boolean;
@@ -349,7 +350,7 @@ declare type __VLS_Props_11 = {
349
350
  type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'time' | 'datetime-local';
350
351
  /** ID única do input */
351
352
  id?: string;
352
- /** Máscara do input (cpf, cnpj, cel, tel, date, cep) o type do input deve ser o 'text' */
353
+ /** Máscara do input (Exemplo de formato esperado: ###.###.###-##)*/
353
354
  mask?: string | string[];
354
355
  /** Texto do placeholder do input */
355
356
  placeholder?: string;
@@ -1650,7 +1651,17 @@ declare interface Coluna {
1650
1651
  }
1651
1652
 
1652
1653
  declare type DataTableProps = {
1653
- /** Array utilizado no header da tabela */
1654
+ /** Array utilizado no header da tabela
1655
+ *
1656
+ * text: string
1657
+ *
1658
+ * value: string | ((item: Record<string, unknown>) => string)
1659
+ *
1660
+ * sortable?: boolean
1661
+ *
1662
+ * width?: string
1663
+ *
1664
+ */
1654
1665
  headers: Header[];
1655
1666
  /** Ativa a opção de selecinar os conteúdos da tabela */
1656
1667
  selectable?: boolean;
@@ -1952,6 +1963,7 @@ declare type Header = {
1952
1963
  text: string;
1953
1964
  value: string | ((item: Record<string, unknown>) => string);
1954
1965
  sortable?: boolean;
1966
+ width?: string;
1955
1967
  };
1956
1968
 
1957
1969
  declare interface IBreadcrumbsProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components-hmg",
3
- "version": "0.15.2",
3
+ "version": "0.15.4",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",