@dxtmisha/functional 1.10.1 → 1.10.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.
Files changed (2) hide show
  1. package/dist/library.js +13 -8
  2. package/package.json +1 -1
package/dist/library.js CHANGED
@@ -238,14 +238,19 @@ var z = class {
238
238
  updateClasses() {
239
239
  var e, t, n;
240
240
  let r = (e = this.classesSub) == null ? void 0 : e.value, i = (t = this.options) == null || (t = t.classes) == null ? void 0 : t.value;
241
- return r && i ? {
242
- ...r,
243
- ...i,
244
- main: {
245
- ...this.toClass(r == null ? void 0 : r.main),
246
- ...this.toClass(i == null ? void 0 : i.main)
247
- }
248
- } : (n = i == null ? r : i) == null ? { main: {} } : n;
241
+ if (r && i) {
242
+ var a;
243
+ return {
244
+ ...r,
245
+ ...i,
246
+ main: {
247
+ ...this.toClass(r == null ? void 0 : r.main),
248
+ ...this.toClass(i == null ? void 0 : i.main),
249
+ ...this.toClass((a = this.attrs) == null ? void 0 : a.class)
250
+ }
251
+ };
252
+ }
253
+ return (n = i == null ? r : i) == null ? { main: {} } : n;
249
254
  }
250
255
  updateStyles() {
251
256
  var e, t, n;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dxtmisha/functional",
3
3
  "private": false,
4
- "version": "1.10.1",
4
+ "version": "1.10.2",
5
5
  "type": "module",
6
6
  "description": "A comprehensive library of utilities, base classes, and Vue 3 composables for reactive web development. Extends @dxtmisha/functional-basic with Composition API.",
7
7
  "keywords": [