@cobre-npm/ds-v3 0.3.0 → 0.3.1

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.
@@ -620,7 +620,6 @@
620
620
  --cobre-checkbox-radius-small: 6px;
621
621
  --cobre-checkbox-radius-medium: 8px;
622
622
  --cobre-checkbox-bg: var(--cobre-primary-10);
623
- --cobre-checkbox-border: none;
624
623
  --cobre-checkbox-icon-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
625
624
 
626
625
  --cobre-checkbox-input-checked-bg: var(--cobre-secondary-50);
@@ -8,6 +8,7 @@ export interface Option {
8
8
  text: string;
9
9
  method: (path: string) => void;
10
10
  };
11
+ theme?: "error";
11
12
  }
12
13
  interface Props {
13
14
  options: Array<Option>;
@@ -1,4 +1,4 @@
1
- import type { MenuItem } from '../interfaces/menu.interface';
1
+ import type { MenuItem } from "../interfaces/menu.interface";
2
2
  interface Props {
3
3
  items: MenuItem[] | undefined;
4
4
  itemActive: string;
@@ -1,7 +1,8 @@
1
1
  interface Props {
2
2
  closeToast: (e?: MouseEvent) => void;
3
3
  message?: string;
4
- type?: 'success' | 'error';
4
+ type?: "success" | "error";
5
+ showCloseButton?: boolean;
5
6
  btnLabel?: string;
6
7
  btnAction?: () => void | Promise<void>;
7
8
  }
@@ -9,15 +10,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
9
10
  message: string;
10
11
  type: string;
11
12
  btnLabel: string;
13
+ showCloseButton: boolean;
12
14
  btnAction: () => void;
13
15
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
16
  message: string;
15
17
  type: string;
16
18
  btnLabel: string;
19
+ showCloseButton: boolean;
17
20
  btnAction: () => void;
18
21
  }>>>, {
19
22
  type: "success" | "error";
20
23
  message: string;
24
+ showCloseButton: boolean;
21
25
  btnLabel: string;
22
26
  btnAction: () => void | Promise<void>;
23
27
  }, {}>;
@@ -30,7 +30,7 @@ export { default as CobreEmptyState } from './CobreEmptyState/CobreEmptyState.vu
30
30
  export { default as CobreLogoField } from './CobreLogoField/CobreLogoField.vue';
31
31
  export { default as CobreTruncateTooltipText } from './CobreTruncateTooltipText/CobreTruncateTooltipText.vue';
32
32
  export { default as CobreInput } from './CobreInput/CobreInput.vue';
33
- export { default as CobreDrawer } from './CobreDrawer/CobreDrawer.vue';
33
+ export { default as CobreFloatModal } from './CobreFloatModal/CobreFloatModal.vue';
34
34
  export { default as CobreCountryFlag } from './CobreCountryFlag/CobreCountryFlag.vue';
35
35
  export { default as CobreSelect } from './CobreSelect/CobreSelect.vue';
36
36
  export { default as CobreInputUrl } from './CobreInputUrl/CobreInputUrl.vue';
@@ -1,5 +1,3 @@
1
1
  export declare const getParams: (url?: string) => {
2
2
  [x: string]: string;
3
3
  };
4
- export declare const makeBodyNotScrollable: () => string;
5
- export declare const makeBodyScrollable: () => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobre-npm/ds-v3",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"