@bobbykim/manguito-theme 0.17.0 → 0.19.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/LICENSE.md +1 -1
- package/README.md +3 -2
- package/dist/core.cjs +2 -0
- package/dist/core.d.ts +676 -0
- package/dist/core.js +2088 -0
- package/dist/mcl-theme.cjs +1 -0
- package/dist/mcl-theme.d.ts +12 -0
- package/dist/mcl-theme.js +608 -0
- package/package.json +28 -7
- package/CHANGELOG.md +0 -137
- package/index.d.ts +0 -13
- package/index.js +0 -18
- package/index.ts +0 -29
- package/lib/collapse/Collapse.vue +0 -126
- package/lib/collapse/Collapse.vue.d.ts +0 -55
- package/lib/composables/index.d.ts +0 -1
- package/lib/composables/index.js +0 -1
- package/lib/composables/index.ts +0 -1
- package/lib/composables/observeVisible.d.ts +0 -1
- package/lib/composables/observeVisible.js +0 -24
- package/lib/composables/observeVisible.ts +0 -24
- package/lib/directives/index.d.ts +0 -6
- package/lib/directives/index.js +0 -186
- package/lib/directives/index.ts +0 -211
- package/lib/directives/index.types.d.ts +0 -14
- package/lib/directives/index.types.js +0 -1
- package/lib/directives/index.types.ts +0 -15
- package/lib/dropdown/DropdownContainer.vue +0 -50
- package/lib/dropdown/DropdownContainer.vue.d.ts +0 -19
- package/lib/dropdown/DropdownContent.vue +0 -69
- package/lib/dropdown/DropdownContent.vue.d.ts +0 -42
- package/lib/dropdown/index.types.d.ts +0 -4
- package/lib/dropdown/index.types.js +0 -1
- package/lib/dropdown/index.types.ts +0 -4
- package/lib/header/HeaderHorizontal.vue +0 -158
- package/lib/header/HeaderHorizontal.vue.d.ts +0 -84
- package/lib/header/HeaderVertical.vue +0 -116
- package/lib/header/HeaderVertical.vue.d.ts +0 -70
- package/lib/header/NavDrawer.vue +0 -121
- package/lib/header/NavDrawer.vue.d.ts +0 -43
- package/lib/header/index.types.d.ts +0 -1
- package/lib/header/index.types.js +0 -1
- package/lib/header/index.types.ts +0 -1
- package/lib/modal/Modal.vue +0 -227
- package/lib/modal/Modal.vue.d.ts +0 -108
- package/lib/sidebar/Sidebar.vue +0 -256
- package/lib/sidebar/Sidebar.vue.d.ts +0 -113
- package/lib/theme/generateClass.d.ts +0 -2
- package/lib/theme/generateClass.js +0 -18
- package/lib/theme/generateClass.ts +0 -25
- package/lib/theme/index.d.ts +0 -95
- package/lib/theme/index.js +0 -642
- package/lib/theme/index.ts +0 -676
- package/lib/theme/theme.d.ts +0 -89
- package/lib/theme/theme.js +0 -851
- package/lib/theme/theme.ts +0 -893
- package/lib/theme/theme.types.d.ts +0 -21
- package/lib/theme/theme.types.js +0 -1
- package/lib/theme/theme.types.ts +0 -68
- package/lib/tooltip/index.d.ts +0 -62
- package/lib/tooltip/index.js +0 -71
- package/lib/tooltip/index.ts +0 -76
- package/themeVariables.cjs +0 -607
- package/tsconfig.json +0 -5
- package/tsconfig.ts.json +0 -9
- package/tsconfig.vue.json +0 -9
package/lib/theme/theme.d.ts
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @TailwindCSS - Good practice is to let all of used classes to be in full instead of generated dynamically using methods such as string literal.
|
|
3
|
-
* @Interface - Classes for color, header text, body text, border color, border width(top, left).
|
|
4
|
-
* @Export RDSTheme - an abstract class
|
|
5
|
-
*/
|
|
6
|
-
import type { BodyText, ColorPalette, FontWeight, HeadingSize, OpacityRange, Alignment as Position, Range, SpacingLevel } from './theme.types.js';
|
|
7
|
-
export type ColorClass = {
|
|
8
|
-
[key in ColorPalette]: string;
|
|
9
|
-
};
|
|
10
|
-
export type HeaderSizeClass = {
|
|
11
|
-
[key in HeadingSize]: string;
|
|
12
|
-
};
|
|
13
|
-
export type BodyTextClass = {
|
|
14
|
-
[key in BodyText]: string;
|
|
15
|
-
};
|
|
16
|
-
export type FontWeightClass = {
|
|
17
|
-
[key in FontWeight]: string;
|
|
18
|
-
};
|
|
19
|
-
export type BorderWidth = {
|
|
20
|
-
[key in Range<1, 12>]: string;
|
|
21
|
-
};
|
|
22
|
-
export type Opacity = {
|
|
23
|
-
[key in OpacityRange]: string;
|
|
24
|
-
};
|
|
25
|
-
export type Spacing = {
|
|
26
|
-
[key in SpacingLevel]: string;
|
|
27
|
-
};
|
|
28
|
-
export type Alignment = {
|
|
29
|
-
[key in Position]: string;
|
|
30
|
-
};
|
|
31
|
-
declare abstract class MCLTheme {
|
|
32
|
-
protected static bgColor: ColorClass;
|
|
33
|
-
protected static hoverBgColor: ColorClass;
|
|
34
|
-
protected static focusBgColor: ColorClass;
|
|
35
|
-
protected static beforeBgColor: ColorClass;
|
|
36
|
-
protected static afterBgColor: ColorClass;
|
|
37
|
-
protected static bgActiveColor: ColorClass;
|
|
38
|
-
protected static textColor: ColorClass;
|
|
39
|
-
protected static hoverTextColor: ColorClass;
|
|
40
|
-
protected static focusTextColor: ColorClass;
|
|
41
|
-
protected static disabledTextColor: ColorClass;
|
|
42
|
-
protected static svgFillColor: ColorClass;
|
|
43
|
-
protected static ringColor: ColorClass;
|
|
44
|
-
protected static ringFocusColor: ColorClass;
|
|
45
|
-
protected static ringActiveColor: ColorClass;
|
|
46
|
-
protected static ringOffsetColor: ColorClass;
|
|
47
|
-
protected static dummyColor: ColorClass;
|
|
48
|
-
protected static btnColor: ColorClass;
|
|
49
|
-
protected static listColor: ColorClass;
|
|
50
|
-
protected static heading1: HeaderSizeClass;
|
|
51
|
-
protected static heading2: HeaderSizeClass;
|
|
52
|
-
protected static heading3: HeaderSizeClass;
|
|
53
|
-
protected static heading4: HeaderSizeClass;
|
|
54
|
-
protected static bodyText: BodyTextClass;
|
|
55
|
-
protected static fontweight: FontWeightClass;
|
|
56
|
-
protected static borderColor: ColorClass;
|
|
57
|
-
protected static borderXColor: ColorClass;
|
|
58
|
-
protected static borderYColor: ColorClass;
|
|
59
|
-
protected static borderTopColor: ColorClass;
|
|
60
|
-
protected static borderBottomColor: ColorClass;
|
|
61
|
-
protected static borderLeftColor: ColorClass;
|
|
62
|
-
protected static borderRightColor: ColorClass;
|
|
63
|
-
protected static borderWidth: BorderWidth;
|
|
64
|
-
protected static borderXWidth: BorderWidth;
|
|
65
|
-
protected static borderYWidth: BorderWidth;
|
|
66
|
-
protected static borderTopWidth: BorderWidth;
|
|
67
|
-
protected static borderBottomWidth: BorderWidth;
|
|
68
|
-
protected static borderLeftWidth: BorderWidth;
|
|
69
|
-
protected static borderRightWidth: BorderWidth;
|
|
70
|
-
protected static backgroundOpacity: Opacity;
|
|
71
|
-
protected static opacity: Opacity;
|
|
72
|
-
protected static margin: Spacing;
|
|
73
|
-
protected static marginX: Spacing;
|
|
74
|
-
protected static marginY: Spacing;
|
|
75
|
-
protected static marginTop: Spacing;
|
|
76
|
-
protected static marginBottom: Spacing;
|
|
77
|
-
protected static marginLeft: Spacing;
|
|
78
|
-
protected static marginRight: Spacing;
|
|
79
|
-
protected static padding: Spacing;
|
|
80
|
-
protected static paddingX: Spacing;
|
|
81
|
-
protected static paddingY: Spacing;
|
|
82
|
-
protected static paddingTop: Spacing;
|
|
83
|
-
protected static paddingBottom: Spacing;
|
|
84
|
-
protected static paddingLeft: Spacing;
|
|
85
|
-
protected static paddingRight: Spacing;
|
|
86
|
-
protected static gap: Spacing;
|
|
87
|
-
protected static textAlign: Alignment;
|
|
88
|
-
}
|
|
89
|
-
export default MCLTheme;
|