@cobre-npm/ds-v3 0.121.1 → 0.123.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.
@@ -481,6 +481,15 @@
481
481
  --cobre-btn-v3-ghost-warning-disabled-color: var(--cobre-red-40);
482
482
  --cobre-btn-v3-ghost-warning-disabled-border: none;
483
483
 
484
+ // Ghost Light
485
+ --cobre-btn-v3-ghost-light-color: var(--cobre-white);
486
+ --cobre-btn-v3-ghost-light-hover-color: var(--cobre-primary-20);
487
+ --cobre-btn-v3-ghost-light-active-color: var(--cobre-primary-40);
488
+ --cobre-btn-v3-ghost-light-focus-color: var(--cobre-primary-5);
489
+ --cobre-btn-v3-ghost-light-focus-border: var(--cobre-border-stroke-L) solid var(--cobre-secondary-50);
490
+ --cobre-btn-v3-ghost-light-focus-box-shadow: 0 0 0 0.25rem var(--cobre-primary-50);
491
+ --cobre-btn-v3-ghost-light-disabled-color: var(--cobre-primary-60);
492
+
484
493
  // Link
485
494
  --cobre-btn-v3-link-bg: transparent;
486
495
  --cobre-btn-v3-link-color: var(--cobre-secondary-50);
@@ -1,10 +1,14 @@
1
- import { ButtonThemes } from '../../../types/button.types';
1
+ import { ButtonThemes, ButtonColors } from '../../../types/button.types';
2
2
  type Sizes = 'big' | 'medium' | 'small' | 'auto';
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  theme: {
5
5
  type: () => ButtonThemes;
6
6
  default: string;
7
7
  };
8
+ color: {
9
+ type: () => ButtonColors;
10
+ default: string;
11
+ };
8
12
  size: {
9
13
  type: () => Sizes;
10
14
  default: string;
@@ -34,6 +38,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
34
38
  size: import("vue").Ref<Sizes, Sizes>;
35
39
  label: import("vue").Ref<string, string>;
36
40
  theme: import("vue").Ref<ButtonThemes, ButtonThemes>;
41
+ color: import("vue").Ref<ButtonColors, ButtonColors>;
37
42
  isLoading: import("vue").Ref<boolean, boolean>;
38
43
  isInline: import("vue").Ref<boolean, boolean>;
39
44
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -41,6 +46,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
41
46
  type: () => ButtonThemes;
42
47
  default: string;
43
48
  };
49
+ color: {
50
+ type: () => ButtonColors;
51
+ default: string;
52
+ };
44
53
  size: {
45
54
  type: () => Sizes;
46
55
  default: string;
@@ -66,6 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
75
  size: Sizes;
67
76
  label: string;
68
77
  theme: ButtonThemes;
78
+ color: ButtonColors;
69
79
  isLoading: boolean;
70
80
  isInline: boolean;
71
81
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -3,6 +3,7 @@ interface Props {
3
3
  hasCloseButton?: boolean;
4
4
  theme?: 'dark' | 'light';
5
5
  overflow?: 'auto' | 'visible' | 'hidden';
6
+ flushContent?: boolean;
6
7
  }
7
8
  declare var __VLS_12: {};
8
9
  type __VLS_Slots = {} & {
@@ -20,6 +21,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
20
21
  theme: "dark" | "light";
21
22
  hasCloseButton: boolean;
22
23
  overflow: "auto" | "visible" | "hidden";
24
+ flushContent: boolean;
23
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
26
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
27
  export default _default;
@@ -1 +1,2 @@
1
1
  export type ButtonThemes = 'primary' | 'secondary' | 'ghost' | 'ghost-small' | 'ghost-teal' | 'ghost-warning' | 'link' | 'single' | 'filter' | 'secondary-cloudy' | 'secondary-cloudy-warning' | 'icon' | 'icon-cloudy' | 'toolbar' | 'primary-warning' | 'chip';
2
+ export type ButtonColors = 'default' | 'light';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobre-npm/ds-v3",
3
- "version": "0.121.1",
3
+ "version": "0.123.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"