@bobbykim/mcl-container 0.3.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 CHANGED
@@ -3,6 +3,17 @@
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
+
6
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)
7
18
 
8
19
 
@@ -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, DirectionX, ColumnWidth } from '@bobbykim/manguito-theme';
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
- "left-column"?(_: {}): any;
39
- "right-column"?(_: {}): any;
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?(_: {}): any;
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,11 +1,11 @@
1
1
  {
2
2
  "name": "@bobbykim/mcl-container",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "index.ts",
7
7
  "scripts": {
8
- "build": "vue-tsc --project tsconfig.vue.json && tsc"
8
+ "build": "vue-tsc --project tsconfig.vue.json && tsc --project tsconfig.ts.json"
9
9
  },
10
10
  "author": {
11
11
  "name": "Bobby Kim",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@bobbykim/manguito-theme": "^0.15.0"
24
+ "@bobbykim/manguito-theme": "^0.16.0"
25
25
  },
26
- "gitHead": "69d6ee1c4f91a74b226cb46182845201141805fa"
26
+ "gitHead": "5b81953e5108fd166c0b89ebc6a24e6de9499635"
27
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", "./**/*.vue"],
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
  }
@@ -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
+ }