@bobbykim/mcl-container 0.2.0 → 0.4.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 +22 -0
- package/README.md +26 -4
- package/lib/mcl-container-a/MclContainerA.vue +6 -1
- package/lib/mcl-container-a/MclContainerA.vue.d.ts +5 -5
- package/lib/mcl-container-b/MclContainerB.vue +6 -2
- package/lib/mcl-container-b/MclContainerB.vue.d.ts +3 -3
- package/package.json +27 -1
- package/tsconfig.json +3 -7
- package/tsconfig.ts.json +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.4.0](https://github.com/bobbykim89/manguito-component-library/compare/@bobbykim/mcl-container@0.3.0...@bobbykim/mcl-container@0.4.0) (2024-03-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* tsconfig update, slots and emits update ([c30ff80](https://github.com/bobbykim89/manguito-component-library/commit/c30ff804c961d205ac097e20cd51285a15ca8966))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [0.3.0](https://github.com/bobbykim89/manguito-component-library/compare/@bobbykim/mcl-container@0.2.0...@bobbykim/mcl-container@0.3.0) (2024-02-27)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **/components/**/README.md,/deprecated:** update readme files, move deprecated packages to deprecated folder ([c0f8f7d](https://github.com/bobbykim89/manguito-component-library/commit/c0f8f7df158b8fcd99b4e3d191e02e3c8a9c144d))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# 0.2.0 (2024-02-27)
|
|
7
29
|
|
|
8
30
|
|
package/README.md
CHANGED
|
@@ -1,16 +1,38 @@
|
|
|
1
1
|
# @bobbykim/mcl-container
|
|
2
2
|
|
|
3
|
-
Add description
|
|
4
|
-
|
|
5
3
|
## Demo
|
|
6
4
|
|
|
7
|
-
[MCL
|
|
5
|
+
[MCL Storybook Page](https://manguito-component-library.vercel.app/)
|
|
6
|
+
|
|
7
|
+
- [MCL Container A](https://manguito-component-library.vercel.app/?path=/docs/sections-container-mclcontainera--mclcontainera)
|
|
8
|
+
- [MCL Container B](https://manguito-component-library.vercel.app/?path=/docs/sections-container-mclcontainerb--mclcontainerb)
|
|
8
9
|
|
|
9
10
|
## Install
|
|
10
11
|
|
|
12
|
+
```sh
|
|
13
|
+
npm i @bobbykim/mcl-container
|
|
14
|
+
```
|
|
15
|
+
|
|
11
16
|
## Usage
|
|
12
17
|
|
|
13
|
-
`import
|
|
18
|
+
`import { MclContainerA, MclContainerB } from "@bobbykim/mcl-container"`;
|
|
19
|
+
|
|
20
|
+
```vue
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
...
|
|
23
|
+
import { MclContainerA, MclContainerB } from "@bobbykim/mcl-container"
|
|
24
|
+
...
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<template>
|
|
28
|
+
<mcl-container-a></mcl-container-a>
|
|
29
|
+
<mcl-container-b></mcl-container-b>
|
|
30
|
+
</template>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Dependencies
|
|
34
|
+
|
|
35
|
+
- @bobbykim/manguito-theme
|
|
14
36
|
|
|
15
37
|
## Maintainer
|
|
16
38
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type {
|
|
3
3
|
ColorPalette,
|
|
4
|
-
DirectionX,
|
|
5
4
|
ColumnWidth,
|
|
5
|
+
DirectionX,
|
|
6
6
|
DirectionY,
|
|
7
7
|
} from '@bobbykim/manguito-theme'
|
|
8
8
|
import generateClass from '@bobbykim/manguito-theme'
|
|
@@ -25,6 +25,11 @@ const props = withDefaults(
|
|
|
25
25
|
leftColumnWidth: 50,
|
|
26
26
|
}
|
|
27
27
|
)
|
|
28
|
+
const slots = defineSlots<{
|
|
29
|
+
'left-column': any
|
|
30
|
+
'right-column': any
|
|
31
|
+
}>()
|
|
32
|
+
|
|
28
33
|
const generatePoints = (
|
|
29
34
|
location: DirectionY,
|
|
30
35
|
direction: DirectionX
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ColorPalette,
|
|
1
|
+
import type { ColorPalette, ColumnWidth, DirectionX } from '@bobbykim/manguito-theme';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
sectionBg?: ColorPalette | undefined;
|
|
4
4
|
containerBg?: ColorPalette | undefined;
|
|
@@ -34,10 +34,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
34
34
|
bottomDirection: DirectionX;
|
|
35
35
|
twoColumns: boolean;
|
|
36
36
|
leftColumnWidth: ColumnWidth;
|
|
37
|
-
}, {}>, {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
37
|
+
}, {}>, Readonly<{
|
|
38
|
+
'left-column': any;
|
|
39
|
+
'right-column': any;
|
|
40
|
+
}>>;
|
|
41
41
|
export default _default;
|
|
42
42
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
43
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { computed } from 'vue'
|
|
3
|
-
import generateClass from '@bobbykim/manguito-theme'
|
|
4
2
|
import type {
|
|
5
3
|
ColorPalette,
|
|
6
4
|
HeadingLevel,
|
|
7
5
|
HeadingSize,
|
|
8
6
|
} from '@bobbykim/manguito-theme'
|
|
7
|
+
import generateClass from '@bobbykim/manguito-theme'
|
|
8
|
+
import { computed } from 'vue'
|
|
9
9
|
|
|
10
10
|
const props = withDefaults(
|
|
11
11
|
defineProps<{
|
|
@@ -30,6 +30,10 @@ const props = withDefaults(
|
|
|
30
30
|
}
|
|
31
31
|
)
|
|
32
32
|
|
|
33
|
+
const slots = defineSlots<{
|
|
34
|
+
content: any
|
|
35
|
+
}>()
|
|
36
|
+
|
|
33
37
|
const getTitleClass = (
|
|
34
38
|
level: HeadingLevel,
|
|
35
39
|
size: HeadingSize,
|
|
@@ -43,9 +43,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
43
|
imgHeightDesktop: number;
|
|
44
44
|
titleLevel: HeadingLevel;
|
|
45
45
|
titleSize: HeadingSize;
|
|
46
|
-
}, {}>, {
|
|
47
|
-
content
|
|
48
|
-
}
|
|
46
|
+
}, {}>, Readonly<{
|
|
47
|
+
content: any;
|
|
48
|
+
}>>;
|
|
49
49
|
export default _default;
|
|
50
50
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
51
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
package/package.json
CHANGED
|
@@ -1 +1,27 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "@bobbykim/mcl-container",
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "vue-tsc --project tsconfig.vue.json && tsc --project tsconfig.ts.json"
|
|
9
|
+
},
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "Bobby Kim",
|
|
12
|
+
"url": "https://www.devbobbykim.com/"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://manguito-component-library.vercel.app/",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/bobbykim89/manguito-component-library.git"
|
|
18
|
+
},
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@bobbykim/manguito-theme": "^0.16.0"
|
|
25
|
+
},
|
|
26
|
+
"gitHead": "5b81953e5108fd166c0b89ebc6a24e6de9499635"
|
|
27
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": "../../../tsconfig.json",
|
|
3
|
-
"include": ["./**/*.ts"],
|
|
4
|
-
"exclude": ["node_modules", "./**/*.vue.d.ts"
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
"declaration": true
|
|
8
|
-
}
|
|
2
|
+
"extends": "../../../tsconfig.json",
|
|
3
|
+
"include": ["./**/*.ts", "./**/*.vue"],
|
|
4
|
+
"exclude": ["node_modules", "./**/*.vue.d.ts"]
|
|
9
5
|
}
|