@lumx/vue 3.20.1-alpha.0 → 3.20.1-alpha.2
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/index.js +22 -26
- package/package.json +3 -3
- package/src/Icon.tsx +2 -4
- package/src/components/icon/Icon.tsx +2 -4
- package/src/icon/Icon.tsx +2 -4
package/index.js
CHANGED
|
@@ -120,10 +120,10 @@ var W = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
|
120
120
|
function P(r) {
|
|
121
121
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
122
122
|
}
|
|
123
|
-
var V,
|
|
123
|
+
var V, $r;
|
|
124
124
|
function xt() {
|
|
125
|
-
if (
|
|
126
|
-
|
|
125
|
+
if ($r) return V;
|
|
126
|
+
$r = 1;
|
|
127
127
|
function r() {
|
|
128
128
|
return r = Object.assign ? Object.assign.bind() : function(u) {
|
|
129
129
|
for (var a, c = 1; c < arguments.length; c++) for (var s in a = arguments[c], a) Object.prototype.hasOwnProperty.call(a, s) && (u[s] = a[s]);
|
|
@@ -154,16 +154,16 @@ function xt() {
|
|
|
154
154
|
return V = o, V;
|
|
155
155
|
}
|
|
156
156
|
var Tt = xt();
|
|
157
|
-
const
|
|
157
|
+
const $e = /* @__PURE__ */ P(Tt);
|
|
158
158
|
var G = { exports: {} };
|
|
159
159
|
/*!
|
|
160
160
|
Copyright (c) 2018 Jed Watson.
|
|
161
161
|
Licensed under the MIT License (MIT), see
|
|
162
162
|
http://jedwatson.github.io/classnames
|
|
163
163
|
*/
|
|
164
|
-
var
|
|
164
|
+
var zr;
|
|
165
165
|
function qt() {
|
|
166
|
-
return
|
|
166
|
+
return zr || (zr = 1, (function(r) {
|
|
167
167
|
(function() {
|
|
168
168
|
var e = {}.hasOwnProperty;
|
|
169
169
|
function t() {
|
|
@@ -195,7 +195,7 @@ function qt() {
|
|
|
195
195
|
})(G)), G.exports;
|
|
196
196
|
}
|
|
197
197
|
var St = qt();
|
|
198
|
-
const
|
|
198
|
+
const ze = /* @__PURE__ */ P(St);
|
|
199
199
|
var K, Yr;
|
|
200
200
|
function Ye() {
|
|
201
201
|
if (Yr) return K;
|
|
@@ -203,19 +203,19 @@ function Ye() {
|
|
|
203
203
|
var r = typeof W == "object" && W && W.Object === Object && W;
|
|
204
204
|
return K = r, K;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
206
|
+
var $, Hr;
|
|
207
207
|
function m() {
|
|
208
|
-
if (Hr) return
|
|
208
|
+
if (Hr) return $;
|
|
209
209
|
Hr = 1;
|
|
210
210
|
var r = Ye(), e = typeof self == "object" && self && self.Object === Object && self, t = r || e || Function("return this")();
|
|
211
|
-
return
|
|
211
|
+
return $ = t, $;
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var z, Jr;
|
|
214
214
|
function Br() {
|
|
215
|
-
if (Jr) return
|
|
215
|
+
if (Jr) return z;
|
|
216
216
|
Jr = 1;
|
|
217
217
|
var r = m(), e = r.Symbol;
|
|
218
|
-
return
|
|
218
|
+
return z = e, z;
|
|
219
219
|
}
|
|
220
220
|
var Y, Zr;
|
|
221
221
|
function At() {
|
|
@@ -534,14 +534,14 @@ function Kt() {
|
|
|
534
534
|
}
|
|
535
535
|
I.exports;
|
|
536
536
|
var Oe;
|
|
537
|
-
function
|
|
537
|
+
function $t() {
|
|
538
538
|
return Oe || (Oe = 1, (function(r, e) {
|
|
539
539
|
var t = m(), n = Kt(), o = e && !e.nodeType && e, i = o && !0 && r && !r.nodeType && r, u = i && i.exports === o, a = u ? t.Buffer : void 0, c = a ? a.isBuffer : void 0, s = c || n;
|
|
540
540
|
r.exports = s;
|
|
541
541
|
})(I, I.exports)), I.exports;
|
|
542
542
|
}
|
|
543
543
|
var qr, Re;
|
|
544
|
-
function
|
|
544
|
+
function zt() {
|
|
545
545
|
if (Re) return qr;
|
|
546
546
|
Re = 1;
|
|
547
547
|
var r = R(), e = et(), t = L(), n = "[object Arguments]", o = "[object Array]", i = "[object Boolean]", u = "[object Date]", a = "[object Error]", c = "[object Function]", s = "[object Map]", p = "[object Number]", b = "[object Object]", l = "[object RegExp]", f = "[object Set]", v = "[object String]", g = "[object WeakMap]", _ = "[object ArrayBuffer]", q = "[object DataView]", y = "[object Float32Array]", x = "[object Float64Array]", T = "[object Int8Array]", S = "[object Int16Array]", A = "[object Int32Array]", F = "[object Uint8Array]", k = "[object Uint8ClampedArray]", M = "[object Uint16Array]", h = "[object Uint32Array]", d = {};
|
|
@@ -581,14 +581,14 @@ var Ar, Ce;
|
|
|
581
581
|
function Jt() {
|
|
582
582
|
if (Ce) return Ar;
|
|
583
583
|
Ce = 1;
|
|
584
|
-
var r =
|
|
584
|
+
var r = zt(), e = Yt(), t = Ht(), n = t && t.isTypedArray, o = n ? e(n) : r;
|
|
585
585
|
return Ar = o, Ar;
|
|
586
586
|
}
|
|
587
587
|
var Or, Ee;
|
|
588
588
|
function Zt() {
|
|
589
589
|
if (Ee) return Or;
|
|
590
590
|
Ee = 1;
|
|
591
|
-
var r = Et(), e = Bt(), t = Vt(), n = rt(), o = Gt(), i =
|
|
591
|
+
var r = Et(), e = Bt(), t = Vt(), n = rt(), o = Gt(), i = $t(), u = Je(), a = Jt(), c = "[object Map]", s = "[object Set]", p = Object.prototype, b = p.hasOwnProperty;
|
|
592
592
|
function l(f) {
|
|
593
593
|
if (f == null)
|
|
594
594
|
return !0;
|
|
@@ -973,7 +973,7 @@ function bn({ prefix: r, ...e }) {
|
|
|
973
973
|
const t = {};
|
|
974
974
|
return tt(e) || Object.keys(e).forEach((n) => {
|
|
975
975
|
t[gn({ prefix: r, type: n, value: e[n] })] = He(e[n]) ? e[n] : !vn(e[n]);
|
|
976
|
-
}),
|
|
976
|
+
}), ze(r, t);
|
|
977
977
|
}
|
|
978
978
|
function yn(r, e) {
|
|
979
979
|
return `${bt}-${B(r)}`;
|
|
@@ -1003,11 +1003,11 @@ const at = "Icon", E = yn(at), hn = {}, w = {
|
|
|
1003
1003
|
let g = f;
|
|
1004
1004
|
!g && i && v === U.dark && (g = "L2");
|
|
1005
1005
|
let _ = a;
|
|
1006
|
-
return a && i ? a === O.xxs || a === O.xs ? _ = O.s : a === O.xxl && (_ = O.xl) : i && (_ = O.m), r("i",
|
|
1006
|
+
return a && i ? a === O.xxs || a === O.xs ? _ = O.s : a === O.xxl && (_ = O.xl) : i && (_ = O.m), r("i", $e([{
|
|
1007
1007
|
ref: p
|
|
1008
1008
|
}, b, {
|
|
1009
1009
|
attrs: {
|
|
1010
|
-
className:
|
|
1010
|
+
className: ze(t, bn({
|
|
1011
1011
|
color: v,
|
|
1012
1012
|
colorVariant: g,
|
|
1013
1013
|
hasShape: i,
|
|
@@ -1080,13 +1080,9 @@ const Kn = pt({
|
|
|
1080
1080
|
}
|
|
1081
1081
|
// GenericProps may include other props, but these are the main ones from IconProps
|
|
1082
1082
|
},
|
|
1083
|
-
setup
|
|
1084
|
-
return {
|
|
1085
|
-
props: r
|
|
1086
|
-
};
|
|
1087
|
-
},
|
|
1083
|
+
// setup function removed; props are accessible via this.props in render
|
|
1088
1084
|
render() {
|
|
1089
|
-
return gt(w,
|
|
1085
|
+
return gt(w, $e([{}, this.$props]));
|
|
1090
1086
|
}
|
|
1091
1087
|
});
|
|
1092
1088
|
export {
|
package/package.json
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"url": "https://github.com/lumapps/design-system/issues"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@lumx/core": "^3.20.1-alpha.
|
|
10
|
-
"@lumx/icons": "^3.20.1-alpha.
|
|
9
|
+
"@lumx/core": "^3.20.1-alpha.2",
|
|
10
|
+
"@lumx/icons": "^3.20.1-alpha.2",
|
|
11
11
|
"vue-demi": "^0.14.10"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"storybook:vue2": "vue-demi-switch 2 vue2 && yarn start:storybook"
|
|
118
118
|
},
|
|
119
119
|
"sideEffects": false,
|
|
120
|
-
"version": "3.20.1-alpha.
|
|
120
|
+
"version": "3.20.1-alpha.2"
|
|
121
121
|
}
|
package/src/Icon.tsx
CHANGED
|
@@ -41,10 +41,8 @@ export default defineComponent({
|
|
|
41
41
|
},
|
|
42
42
|
// GenericProps may include other props, but these are the main ones from IconProps
|
|
43
43
|
},
|
|
44
|
-
setup
|
|
45
|
-
return { props };
|
|
46
|
-
},
|
|
44
|
+
// setup function removed; props are accessible via this.props in render
|
|
47
45
|
render() {
|
|
48
|
-
return <UI {...this
|
|
46
|
+
return <UI {...this.$props} />;
|
|
49
47
|
},
|
|
50
48
|
});
|
|
@@ -41,10 +41,8 @@ export default defineComponent({
|
|
|
41
41
|
},
|
|
42
42
|
// GenericProps may include other props, but these are the main ones from IconProps
|
|
43
43
|
},
|
|
44
|
-
setup
|
|
45
|
-
return { props };
|
|
46
|
-
},
|
|
44
|
+
// setup function removed; props are accessible via this.props in render
|
|
47
45
|
render() {
|
|
48
|
-
return <UI {...this
|
|
46
|
+
return <UI {...this.$props} />;
|
|
49
47
|
},
|
|
50
48
|
});
|
package/src/icon/Icon.tsx
CHANGED
|
@@ -41,10 +41,8 @@ export default defineComponent({
|
|
|
41
41
|
},
|
|
42
42
|
// GenericProps may include other props, but these are the main ones from IconProps
|
|
43
43
|
},
|
|
44
|
-
setup
|
|
45
|
-
return { props };
|
|
46
|
-
},
|
|
44
|
+
// setup function removed; props are accessible via this.props in render
|
|
47
45
|
render() {
|
|
48
|
-
return <UI {...this
|
|
46
|
+
return <UI {...this.$props} />;
|
|
49
47
|
},
|
|
50
48
|
});
|