pangea-lib 2.11.337 → 2.11.339

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.
@@ -2,27 +2,27 @@ import { AppColorName, AppColor, AppColors } from './colors.types';
2
2
 
3
3
  export declare const useColorsStore: import('pinia').StoreDefinition<"pga-colors", import('pinia')._UnwrapAll<Pick<{
4
4
  colors: import('vue').Ref<{
5
- textFirst: {
5
+ "text-first": {
6
6
  light: `#${string}`;
7
7
  dark: `#${string}`;
8
8
  };
9
- textSecond: {
9
+ "text-second": {
10
10
  light: `#${string}`;
11
11
  dark: `#${string}`;
12
12
  };
13
- textThird: {
13
+ "text-third": {
14
14
  light: `#${string}`;
15
15
  dark: `#${string}`;
16
16
  };
17
- backgroundFirst: {
17
+ "background-first": {
18
18
  light: `#${string}`;
19
19
  dark: `#${string}`;
20
20
  };
21
- backgroundSecond: {
21
+ "background-second": {
22
22
  light: `#${string}`;
23
23
  dark: `#${string}`;
24
24
  };
25
- backgroundThird: {
25
+ "background-third": {
26
26
  light: `#${string}`;
27
27
  dark: `#${string}`;
28
28
  };
@@ -77,27 +77,27 @@ export declare const useColorsStore: import('pinia').StoreDefinition<"pga-colors
77
77
  }>;
78
78
  }, "colors">>, Pick<{
79
79
  colors: import('vue').Ref<{
80
- textFirst: {
80
+ "text-first": {
81
81
  light: `#${string}`;
82
82
  dark: `#${string}`;
83
83
  };
84
- textSecond: {
84
+ "text-second": {
85
85
  light: `#${string}`;
86
86
  dark: `#${string}`;
87
87
  };
88
- textThird: {
88
+ "text-third": {
89
89
  light: `#${string}`;
90
90
  dark: `#${string}`;
91
91
  };
92
- backgroundFirst: {
92
+ "background-first": {
93
93
  light: `#${string}`;
94
94
  dark: `#${string}`;
95
95
  };
96
- backgroundSecond: {
96
+ "background-second": {
97
97
  light: `#${string}`;
98
98
  dark: `#${string}`;
99
99
  };
100
- backgroundThird: {
100
+ "background-third": {
101
101
  light: `#${string}`;
102
102
  dark: `#${string}`;
103
103
  };
@@ -152,27 +152,27 @@ export declare const useColorsStore: import('pinia').StoreDefinition<"pga-colors
152
152
  }>;
153
153
  }, never>, Pick<{
154
154
  colors: import('vue').Ref<{
155
- textFirst: {
155
+ "text-first": {
156
156
  light: `#${string}`;
157
157
  dark: `#${string}`;
158
158
  };
159
- textSecond: {
159
+ "text-second": {
160
160
  light: `#${string}`;
161
161
  dark: `#${string}`;
162
162
  };
163
- textThird: {
163
+ "text-third": {
164
164
  light: `#${string}`;
165
165
  dark: `#${string}`;
166
166
  };
167
- backgroundFirst: {
167
+ "background-first": {
168
168
  light: `#${string}`;
169
169
  dark: `#${string}`;
170
170
  };
171
- backgroundSecond: {
171
+ "background-second": {
172
172
  light: `#${string}`;
173
173
  dark: `#${string}`;
174
174
  };
175
- backgroundThird: {
175
+ "background-third": {
176
176
  light: `#${string}`;
177
177
  dark: `#${string}`;
178
178
  };
@@ -1,6 +1,6 @@
1
1
  import { ColorHex } from '../types/color';
2
2
 
3
- export type AppColorNameTheme = 'textFirst' | 'textSecond' | 'textThird' | 'backgroundFirst' | 'backgroundSecond' | 'backgroundThird';
3
+ export type AppColorNameTheme = 'text-first' | 'text-second' | 'text-third' | 'background-first' | 'background-second' | 'background-third';
4
4
  export type AppColorNameProp = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'grey' | 'red' | 'purple' | 'sky' | 'aqua' | 'beige';
5
5
  export type AppColorNameInformative = 'info' | 'link' | 'error' | 'overlay';
6
6
  export type AppColorName = AppColorNameTheme | AppColorNameProp | AppColorNameInformative;
@@ -1,19 +1,27 @@
1
1
  import { TextProp, Icon, Size } from '../../types';
2
+ import { AppColorName } from '../../colors';
2
3
 
3
4
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
5
  text?: TextProp;
5
6
  icon?: import('@fortawesome/fontawesome-common-types').IconName | Icon;
6
7
  size?: Size;
8
+ color?: AppColorName;
9
+ preventUnderline?: boolean;
7
10
  }>, {
8
11
  size: string;
12
+ color: string;
9
13
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
14
  text?: TextProp;
11
15
  icon?: import('@fortawesome/fontawesome-common-types').IconName | Icon;
12
16
  size?: Size;
17
+ color?: AppColorName;
18
+ preventUnderline?: boolean;
13
19
  }>, {
14
20
  size: string;
21
+ color: string;
15
22
  }>>>, {
16
23
  size: Size;
24
+ color: AppColorName;
17
25
  }, {}>, {
18
26
  default?(_: {}): any;
19
27
  }>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "2.11.337",
4
+ "version": "2.11.339",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea#readme",