@bobbykim/manguito-theme 0.7.0 → 0.8.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/CHANGELOG.md +12 -0
- package/index.d.ts +13 -0
- package/index.js +30 -0
- package/lib/collapse/Collapse.vue.d.ts +46 -0
- package/lib/collapse/index.types.d.ts +3 -0
- package/lib/collapse/index.types.js +1 -0
- package/lib/composables/index.d.ts +1 -0
- package/lib/composables/index.js +1 -0
- package/lib/composables/observeVisible.d.ts +1 -0
- package/lib/composables/observeVisible.js +24 -0
- package/lib/directives/index.d.ts +6 -0
- package/lib/directives/index.js +215 -0
- package/lib/directives/index.types.d.ts +14 -0
- package/lib/directives/index.types.js +1 -0
- package/lib/dropdown/DropdownContainer.vue.d.ts +19 -0
- package/lib/dropdown/DropdownContent.vue.d.ts +23 -0
- package/lib/dropdown/index.types.d.ts +4 -0
- package/lib/dropdown/index.types.js +1 -0
- package/lib/modal/Modal.vue.d.ts +112 -0
- package/lib/nav/HamburgerMenu.vue +1 -1
- package/lib/nav/HamburgerMenu.vue.d.ts +44 -0
- package/lib/sidebar/Sidebar.vue.d.ts +121 -0
- package/lib/tooltip/index.d.ts +62 -0
- package/lib/tooltip/index.js +71 -0
- package/package.json +5 -2
- package/theme/index.d.ts +94 -0
- package/theme/index.js +631 -0
- package/theme/theme.d.ts +88 -0
- package/theme/theme.js +831 -0
- package/theme/theme.types.d.ts +21 -0
- package/theme/theme.types.js +1 -0
- package/tsconfig.json +8 -4
- package/tsconfig.vue.json +9 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type ColorPalette = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'light-1' | 'light-2' | 'light-3' | 'light-4' | 'dark-1' | 'dark-2' | 'dark-3' | 'dark-4' | 'black' | 'white' | 'transparent';
|
|
2
|
+
export type SpacingLevel = '0' | '3xs' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
3
|
+
export type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4';
|
|
4
|
+
export type HeadingSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
+
export type BodyText = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
export type FontWeight = 'light' | 'normal' | 'bold';
|
|
7
|
+
export type Alignment = 'left' | 'center' | 'right';
|
|
8
|
+
export type VerticalAlignment = 'top' | 'center' | 'bottom';
|
|
9
|
+
export type CtaTarget = '_self' | '_blank';
|
|
10
|
+
export type Direction = 'left' | 'right' | 'top' | 'bottom';
|
|
11
|
+
export type DirectionY = 'top' | 'bottom';
|
|
12
|
+
export type DirectionX = 'left' | 'right';
|
|
13
|
+
type _RangeArray<T extends number, R extends unknown[] = []> = R['length'] extends T ? R : _RangeArray<T, [...R, 1]>;
|
|
14
|
+
type IntRange<T extends number[], E extends number, R extends number = never> = T['length'] extends E ? R | E : IntRange<[...T, 1], E, R | T['length']>;
|
|
15
|
+
export type Range<T extends number, R extends number> = IntRange<_RangeArray<T>, R>;
|
|
16
|
+
export type ButtonSize = 'small' | 'medium' | 'large';
|
|
17
|
+
export type OpacityRange = 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100;
|
|
18
|
+
export type ColumnWidth = 25 | 50 | 75 | 100;
|
|
19
|
+
export type CrossOrigin = 'use-credentials' | 'anonymous';
|
|
20
|
+
export type InputType = 'text' | 'email' | 'password';
|
|
21
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/tsconfig.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
2
|
+
"include": ["./**/*.ts"],
|
|
3
|
+
"exclude": ["node_modules", "./**/*.vue.d.ts", "./**/*.vue"],
|
|
4
4
|
"compilerOptions": {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
5
|
+
"skipLibCheck": true,
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"moduleResolution": "Node",
|
|
8
|
+
"strict": true,
|
|
9
|
+
"target": "ES6",
|
|
10
|
+
"declaration": true
|
|
7
11
|
}
|
|
8
12
|
}
|