@comercti/react-components 0.24.0 → 0.25.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
@@ -225,6 +225,7 @@ openTheFirst: boolean;
225
225
  allOpen: boolean;
226
226
  direction: "row" | "column";
227
227
  closeCollapse: number | null;
228
+ openCollapse: number[] | null;
228
229
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
229
230
 
230
231
  declare const __VLS_component_3: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
@@ -270,7 +271,7 @@ redirect: (item: ItensMenu_2) => any;
270
271
  onSelected?: (value: Coluna[]) => any;
271
272
  onRedirect?: (item: ItensMenu_2) => any;
272
273
  }>, {
273
- type: "menu" | "selection";
274
+ type: "menu" | "selection" | "button";
274
275
  background: "white" | "black";
275
276
  itemsMenu: ItensMenu_2[];
276
277
  itemsSelection: ItemsSelection[];
@@ -783,6 +784,7 @@ declare type __VLS_Props_35 = {
783
784
  closeCollapse?: number | null;
784
785
  disabled?: IFields;
785
786
  invalid?: number[];
787
+ openCollapse?: number[] | null;
786
788
  };
787
789
 
788
790
  declare type __VLS_Props_4 = {
@@ -2035,7 +2037,10 @@ background: "smoky" | "transparent" | "black";
2035
2037
  showLoading: boolean;
2036
2038
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2037
2039
 
2038
- declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2040
+ declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {
2041
+ position: "horizontal" | "vertical";
2042
+ showInitialStep: boolean;
2043
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2039
2044
 
2040
2045
  declare const _default_40: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
2041
2046
 
@@ -2068,8 +2073,8 @@ updatePerPage: (value: number) => any;
2068
2073
  onUpdatePerPage?: (value: number) => any;
2069
2074
  }>, {
2070
2075
  disabled: boolean;
2071
- textDirection: "left" | "right";
2072
2076
  position: "top" | "bottom";
2077
+ textDirection: "left" | "right";
2073
2078
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
2074
2079
  menuRef: HTMLDivElement;
2075
2080
  referenceRef: HTMLButtonElement;
@@ -2123,7 +2128,7 @@ declare interface DropdownProps {
2123
2128
  /** Define os itens do dropdown tipo seleção */
2124
2129
  itemsSelection?: ItemsSelection[];
2125
2130
  /** Define o tipo do dropdown */
2126
- type?: 'menu' | 'selection';
2131
+ type?: 'menu' | 'selection' | 'button';
2127
2132
  /** Define a cor de fundo */
2128
2133
  background?: 'white' | 'black';
2129
2134
  /** Permite redirecionamento */
@@ -2237,12 +2242,15 @@ declare interface IItems {
2237
2242
  title: string;
2238
2243
  description: string;
2239
2244
  status: keyof IStatus;
2245
+ showDescription?: boolean;
2240
2246
  }
2241
2247
 
2242
2248
  declare type IProgressStepsProps = {
2243
2249
  /** Define os itens que serão exibidos */
2244
2250
  items: IItems[];
2245
- variant?: 'primary' | 'secondary';
2251
+ position?: 'horizontal' | 'vertical';
2252
+ showInitialStep?: boolean;
2253
+ titleInitialStep?: string;
2246
2254
  };
2247
2255
 
2248
2256
  export declare const isMobile: Ref<boolean, boolean>;
@@ -2379,6 +2387,7 @@ declare interface SliderProps {
2379
2387
  showValue?: boolean;
2380
2388
  size?: 'small' | 'large';
2381
2389
  modelValue?: number | number[];
2390
+ showPercentage?: boolean;
2382
2391
  }
2383
2392
 
2384
2393
  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.25.0",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",