@bobbykim/manguito-theme 0.15.0 → 0.16.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/theme/theme.ts CHANGED
@@ -4,14 +4,14 @@
4
4
  * @Export RDSTheme - an abstract class
5
5
  */
6
6
  import type {
7
- ColorPalette,
8
- HeadingSize,
9
7
  BodyText,
8
+ ColorPalette,
10
9
  FontWeight,
11
- Range,
10
+ HeadingSize,
12
11
  OpacityRange,
13
- SpacingLevel,
14
12
  Alignment as Position,
13
+ Range,
14
+ SpacingLevel,
15
15
  } from './theme.types.js'
16
16
 
17
17
  export type ColorClass = {
@@ -200,6 +200,26 @@ abstract class MCLTheme {
200
200
  white: 'hover:text-white',
201
201
  transparent: 'hover:text-transparent',
202
202
  }
203
+ // focus text color class
204
+ protected static focusTextColor: ColorClass = {
205
+ primary: 'focus:text-primary',
206
+ secondary: 'focus:text-secondary',
207
+ success: 'focus:text-success',
208
+ danger: 'focus:text-danger',
209
+ info: 'focus:text-info',
210
+ warning: 'focus:text-warning',
211
+ 'light-1': 'focus:text-light-1',
212
+ 'light-2': 'focus:text-light-2',
213
+ 'light-3': 'focus:text-light-3',
214
+ 'light-4': 'focus:text-light-4',
215
+ 'dark-1': 'focus:text-dark-1',
216
+ 'dark-2': 'focus:text-dark-2',
217
+ 'dark-3': 'focus:text-dark-3',
218
+ 'dark-4': 'focus:text-dark-4',
219
+ black: 'focus:text-black',
220
+ white: 'focus:text-white',
221
+ transparent: 'focus:text-transparent',
222
+ }
203
223
  // disabled text color class
204
224
  protected static disabledTextColor: ColorClass = {
205
225
  primary: 'disabled:text-primary',
package/tsconfig.json CHANGED
@@ -1,9 +1,5 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.json",
3
- "include": ["./**/*.ts"],
4
- "exclude": ["node_modules", "./**/*.vue.d.ts", "./**/*.vue"],
5
- "compilerOptions": {
6
- "skipLibCheck": true,
7
- "declaration": true
8
- }
3
+ "include": ["./**/*.ts", "./**/*.vue"],
4
+ "exclude": ["node_modules", "./**/*.vue.d.ts"]
9
5
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "../../../tsconfig.json",
3
+ "include": ["./**/*.ts"],
4
+ "exclude": ["node_modules", "./**/*.vue.d.ts", "./**/*.vue"],
5
+ "compilerOptions": {
6
+ "skipLibCheck": true,
7
+ "declaration": true
8
+ }
9
+ }
@@ -1,3 +0,0 @@
1
- export interface CollapseEvent {
2
- visible: boolean;
3
- }
@@ -1,3 +0,0 @@
1
- export interface CollapseEvent {
2
- visible: boolean
3
- }
File without changes