@smilekite/lego-bricks 1.0.7 → 1.0.8

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/dist/bundle.css CHANGED
@@ -1,8 +1,4 @@
1
1
 
2
- .l-image-component[data-v-1e970aa2] {
3
- max-width: 100%;
4
- }
5
-
6
2
  h2.l-text-component[data-v-6bf95b7a], p.l-text-component[data-v-6bf95b7a] {
7
3
  margin-bottom: 0;
8
4
  }
@@ -14,3 +10,7 @@ button.l-text-component[data-v-6bf95b7a] {
14
10
  box-sizing: border-box;
15
11
  white-space: pre-wrap;
16
12
  }
13
+
14
+ .l-image-component[data-v-1e970aa2] {
15
+ max-width: 100%;
16
+ }
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
8
8
  default: string;
9
9
  };
10
10
  }, {
11
- styleProps: any;
11
+ styleProps: import("vue").ComputedRef<Record<string, any>>;
12
12
  handleClick: () => void;
13
13
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
14
  isEditing: {
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<{
4
4
  default: boolean;
5
5
  };
6
6
  }, {
7
- styleProps: any;
7
+ styleProps: import("vue").ComputedRef<Record<string, any>>;
8
8
  handleClick: () => void;
9
9
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
10
  isEditing: {
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  default: string;
13
13
  };
14
14
  }, {
15
- styleProps: any;
15
+ styleProps: import("vue").ComputedRef<Record<string, any>>;
16
16
  handleClick: () => void;
17
17
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
18
  isEditing: {
@@ -2,9 +2,7 @@ import { CommonComponentProps } from '../defaultProps';
2
2
  declare const useComponentCommon: (props: Readonly<Partial<CommonComponentProps & {
3
3
  isEditing: boolean;
4
4
  }>>, picks: string[]) => {
5
- styleProps: import("vue").ComputedRef<Partial<Readonly<Partial<CommonComponentProps & {
6
- isEditing: boolean;
7
- }>>>>;
5
+ styleProps: import("vue").ComputedRef<Record<string, any>>;
8
6
  handleClick: () => void;
9
7
  };
10
8
  export default useComponentCommon;
@@ -76,7 +76,7 @@ const useComponentCommon = (props, picks) => {
76
76
  };
77
77
  return {
78
78
  styleProps,
79
- handleClick
79
+ handleClick,
80
80
  };
81
81
  };
82
82
 
@@ -100,7 +100,7 @@ var script = defineComponent({
100
100
  // 抽离并且获得 styleProps
101
101
  const { styleProps, handleClick } = useComponentCommon(props, textStylePropNames);
102
102
  return {
103
- styleProps: styleProps.value,
103
+ styleProps,
104
104
  handleClick
105
105
  };
106
106
  }
@@ -143,7 +143,7 @@ var script$1 = defineComponent({
143
143
  // 抽离并且获得 styleProps
144
144
  const { styleProps, handleClick } = useComponentCommon(props, imageStylePropsNames);
145
145
  return {
146
- styleProps: styleProps.value,
146
+ styleProps,
147
147
  handleClick
148
148
  };
149
149
  },
@@ -180,7 +180,7 @@ var script$2 = defineComponent({
180
180
  // 抽离并且获得 styleProps
181
181
  const { styleProps, handleClick } = useComponentCommon(props, shapeStylePropsNames);
182
182
  return {
183
- styleProps: styleProps.value,
183
+ styleProps,
184
184
  handleClick
185
185
  };
186
186
  }
@@ -79,7 +79,7 @@
79
79
  };
80
80
  return {
81
81
  styleProps,
82
- handleClick
82
+ handleClick,
83
83
  };
84
84
  };
85
85
 
@@ -103,7 +103,7 @@
103
103
  // 抽离并且获得 styleProps
104
104
  const { styleProps, handleClick } = useComponentCommon(props, textStylePropNames);
105
105
  return {
106
- styleProps: styleProps.value,
106
+ styleProps,
107
107
  handleClick
108
108
  };
109
109
  }
@@ -146,7 +146,7 @@
146
146
  // 抽离并且获得 styleProps
147
147
  const { styleProps, handleClick } = useComponentCommon(props, imageStylePropsNames);
148
148
  return {
149
- styleProps: styleProps.value,
149
+ styleProps,
150
150
  handleClick
151
151
  };
152
152
  },
@@ -183,7 +183,7 @@
183
183
  // 抽离并且获得 styleProps
184
184
  const { styleProps, handleClick } = useComponentCommon(props, shapeStylePropsNames);
185
185
  return {
186
- styleProps: styleProps.value,
186
+ styleProps,
187
187
  handleClick
188
188
  };
189
189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smilekite/lego-bricks",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "author": "smiley",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",