@comercti/react-components 0.24.0 → 0.27.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
@@ -24,6 +24,7 @@ order: "asc" | "desc";
24
24
  }>, {
25
25
  search: boolean;
26
26
  selectable: boolean;
27
+ singleSelect: boolean;
27
28
  striped: boolean;
28
29
  orderByServer: boolean;
29
30
  expandLine: boolean;
@@ -225,6 +226,7 @@ openTheFirst: boolean;
225
226
  allOpen: boolean;
226
227
  direction: "row" | "column";
227
228
  closeCollapse: number | null;
229
+ openCollapse: number[] | null;
228
230
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
229
231
 
230
232
  declare const __VLS_component_3: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
@@ -270,7 +272,7 @@ redirect: (item: ItensMenu_2) => any;
270
272
  onSelected?: (value: Coluna[]) => any;
271
273
  onRedirect?: (item: ItensMenu_2) => any;
272
274
  }>, {
273
- type: "menu" | "selection";
275
+ type: "menu" | "selection" | "button";
274
276
  background: "white" | "black";
275
277
  itemsMenu: ItensMenu_2[];
276
278
  itemsSelection: ItemsSelection[];
@@ -783,6 +785,7 @@ declare type __VLS_Props_35 = {
783
785
  closeCollapse?: number | null;
784
786
  disabled?: IFields;
785
787
  invalid?: number[];
788
+ openCollapse?: number[] | null;
786
789
  };
787
790
 
788
791
  declare type __VLS_Props_4 = {
@@ -1819,6 +1822,10 @@ declare type DataTableProps = {
1819
1822
  headers: Header[];
1820
1823
  /** Ativa a opção de selecinar os conteúdos da tabela */
1821
1824
  selectable?: boolean;
1825
+ /** Ativa a opção de selecinar apenas um conteúdo da tabela */
1826
+ singleSelect?: boolean;
1827
+ /** Array de objetos que estão inicialmente selecionados na tabela */
1828
+ initialSelectedRows?: Record<string, any>[];
1822
1829
  /** Ativa o input de pesquisa da tabela */
1823
1830
  search?: boolean;
1824
1831
  /** Array de objetos que serão exibidos na tabela */
@@ -2035,7 +2042,10 @@ background: "smoky" | "transparent" | "black";
2035
2042
  showLoading: boolean;
2036
2043
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2037
2044
 
2038
- declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2045
+ declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {
2046
+ position: "horizontal" | "vertical";
2047
+ showInitialStep: boolean;
2048
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2039
2049
 
2040
2050
  declare const _default_40: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
2041
2051
 
@@ -2068,8 +2078,8 @@ updatePerPage: (value: number) => any;
2068
2078
  onUpdatePerPage?: (value: number) => any;
2069
2079
  }>, {
2070
2080
  disabled: boolean;
2071
- textDirection: "left" | "right";
2072
2081
  position: "top" | "bottom";
2082
+ textDirection: "left" | "right";
2073
2083
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
2074
2084
  menuRef: HTMLDivElement;
2075
2085
  referenceRef: HTMLButtonElement;
@@ -2123,7 +2133,7 @@ declare interface DropdownProps {
2123
2133
  /** Define os itens do dropdown tipo seleção */
2124
2134
  itemsSelection?: ItemsSelection[];
2125
2135
  /** Define o tipo do dropdown */
2126
- type?: 'menu' | 'selection';
2136
+ type?: 'menu' | 'selection' | 'button';
2127
2137
  /** Define a cor de fundo */
2128
2138
  background?: 'white' | 'black';
2129
2139
  /** Permite redirecionamento */
@@ -2237,12 +2247,15 @@ declare interface IItems {
2237
2247
  title: string;
2238
2248
  description: string;
2239
2249
  status: keyof IStatus;
2250
+ showDescription?: boolean;
2240
2251
  }
2241
2252
 
2242
2253
  declare type IProgressStepsProps = {
2243
2254
  /** Define os itens que serão exibidos */
2244
2255
  items: IItems[];
2245
- variant?: 'primary' | 'secondary';
2256
+ position?: 'horizontal' | 'vertical';
2257
+ showInitialStep?: boolean;
2258
+ titleInitialStep?: string;
2246
2259
  };
2247
2260
 
2248
2261
  export declare const isMobile: Ref<boolean, boolean>;
@@ -2379,6 +2392,7 @@ declare interface SliderProps {
2379
2392
  showValue?: boolean;
2380
2393
  size?: 'small' | 'large';
2381
2394
  modelValue?: number | number[];
2395
+ showPercentage?: boolean;
2382
2396
  }
2383
2397
 
2384
2398
  declare interface SubMenu {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components",
3
- "version": "0.24.0",
3
+ "version": "0.27.0",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",