@holyer-lib/ui 0.0.7 → 0.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/ui.cjs.js CHANGED
@@ -26,7 +26,7 @@ function __$styleInject(css) {
26
26
  return css;
27
27
  }
28
28
 
29
- __$styleInject(".hi-title {\n font-size: 24px;\n font-weight: bold;\n margin: 16px 0;\n border-left: 4px solid var(--td-brand-color);\n}\n");
29
+ __$styleInject(".hi-title {\n font-size: 24px;\n font-weight: bold;\n margin: 16px 0;\n border-left: 4px solid var(--td-brand-color);\n padding-left: 12px;\n}\n");
30
30
 
31
31
  //
32
32
  var script = {
@@ -168,6 +168,14 @@ __vue_render__._withStripped = true;
168
168
  undefined
169
169
  );
170
170
 
171
+ // 显式设置 name(避免 .vue 丢失)
172
+ __vue_component__.name = 'HiTitle';
173
+
174
+ // 添加 install
175
+ __vue_component__.install = (Vue) => {
176
+ Vue.component(__vue_component__.name, __vue_component__);
177
+ };
178
+
171
179
  const components = [__vue_component__];
172
180
 
173
181
  const install = function (Vue) {
package/dist/ui.esm.js CHANGED
@@ -22,7 +22,7 @@ function __$styleInject(css) {
22
22
  return css;
23
23
  }
24
24
 
25
- __$styleInject(".hi-title {\n font-size: 24px;\n font-weight: bold;\n margin: 16px 0;\n border-left: 4px solid var(--td-brand-color);\n}\n");
25
+ __$styleInject(".hi-title {\n font-size: 24px;\n font-weight: bold;\n margin: 16px 0;\n border-left: 4px solid var(--td-brand-color);\n padding-left: 12px;\n}\n");
26
26
 
27
27
  //
28
28
  var script = {
@@ -164,6 +164,14 @@ __vue_render__._withStripped = true;
164
164
  undefined
165
165
  );
166
166
 
167
+ // 显式设置 name(避免 .vue 丢失)
168
+ __vue_component__.name = 'HiTitle';
169
+
170
+ // 添加 install
171
+ __vue_component__.install = (Vue) => {
172
+ Vue.component(__vue_component__.name, __vue_component__);
173
+ };
174
+
167
175
  const components = [__vue_component__];
168
176
 
169
177
  const install = function (Vue) {
package/dist/ui.umd.js CHANGED
@@ -28,7 +28,7 @@
28
28
  return css;
29
29
  }
30
30
 
31
- __$styleInject(".hi-title {\n font-size: 24px;\n font-weight: bold;\n margin: 16px 0;\n border-left: 4px solid var(--td-brand-color);\n}\n");
31
+ __$styleInject(".hi-title {\n font-size: 24px;\n font-weight: bold;\n margin: 16px 0;\n border-left: 4px solid var(--td-brand-color);\n padding-left: 12px;\n}\n");
32
32
 
33
33
  //
34
34
  var script = {
@@ -170,6 +170,14 @@
170
170
  undefined
171
171
  );
172
172
 
173
+ // 显式设置 name(避免 .vue 丢失)
174
+ __vue_component__.name = 'HiTitle';
175
+
176
+ // 添加 install
177
+ __vue_component__.install = (Vue) => {
178
+ Vue.component(__vue_component__.name, __vue_component__);
179
+ };
180
+
173
181
  const components = [__vue_component__];
174
182
 
175
183
  const install = function (Vue) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holyer-lib/ui",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "main": "dist/ui.cjs.js",
5
5
  "module": "dist/ui.esm.js",
6
6
  "unpkg": "dist/ui.umd.js",
@@ -11,7 +11,7 @@
11
11
  "access": "public"
12
12
  },
13
13
  "dependencies": {
14
- "@holyer-lib/title": "1.0.0"
14
+ "@holyer-lib/title": "1.0.1"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "vue": "2.6.14"