@everchron/ec-shards 8.12.8 → 8.12.10
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/README.md +1 -1
- package/dist/ec-shards.js +12 -30
- package/dist/ec-shards.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Expected node version: >= 20.5.0
|
|
|
27
27
|
| `npm install` | Install the dependencies |
|
|
28
28
|
| `npm run dev` | Compiles and hot-reloads for app development |
|
|
29
29
|
| `npm run build` | Compiles, minifies, and builds package |
|
|
30
|
-
| `npm run test
|
|
30
|
+
| `npm run test` | Run Unit Tests with [Vitest](https://vitest.dev/) |
|
|
31
31
|
| `npm publish --access public` | Publishes built package to npm (main branch). **Note:** You must be logged into npm with an account that has access to the @everchron organization. Additionally, you need to bump the version number in `package.json` before publishing. |
|
|
32
32
|
| `npm publish --access public --tag beta` | Published built package to npm with a feature/branch tag |
|
|
33
33
|
|
package/dist/ec-shards.js
CHANGED
|
@@ -138,7 +138,7 @@ const L = /* @__PURE__ */ v(ui, [["render", fi], ["__scopeId", "data-v-8d624905"
|
|
|
138
138
|
},
|
|
139
139
|
computed: {
|
|
140
140
|
typeClass() {
|
|
141
|
-
return
|
|
141
|
+
return `ecs-alert-${this.type}`;
|
|
142
142
|
},
|
|
143
143
|
show() {
|
|
144
144
|
return !this.dismissed;
|
|
@@ -214,7 +214,7 @@ function yi(e, s, t, a, n, i) {
|
|
|
214
214
|
])) : u("", !0)
|
|
215
215
|
], 6)) : u("", !0);
|
|
216
216
|
}
|
|
217
|
-
const ks = /* @__PURE__ */ v(gi, [["render", yi], ["__scopeId", "data-v-
|
|
217
|
+
const ks = /* @__PURE__ */ v(gi, [["render", yi], ["__scopeId", "data-v-077ffd5b"]]), bi = {
|
|
218
218
|
name: "ecs-action-toolbar"
|
|
219
219
|
}, _i = {
|
|
220
220
|
class: "ecs-action-toolbar",
|
|
@@ -368,10 +368,6 @@ const fb = /* @__PURE__ */ v(Si, [["render", zi], ["__scopeId", "data-v-4e7ca115
|
|
|
368
368
|
backgroundColor: {
|
|
369
369
|
type: String
|
|
370
370
|
},
|
|
371
|
-
/** Overwrite the color (HEX), if needed. */
|
|
372
|
-
color: {
|
|
373
|
-
type: String
|
|
374
|
-
},
|
|
375
371
|
/** Adds custom styles (plain CSS) to the avatar. */
|
|
376
372
|
customStyle: {
|
|
377
373
|
type: Object
|
|
@@ -389,11 +385,6 @@ const fb = /* @__PURE__ */ v(Si, [["render", zi], ["__scopeId", "data-v-4e7ca115
|
|
|
389
385
|
rounded: {
|
|
390
386
|
type: Boolean,
|
|
391
387
|
default: !0
|
|
392
|
-
},
|
|
393
|
-
/** How much the avatar background should be lightened up. */
|
|
394
|
-
lighten: {
|
|
395
|
-
type: Number,
|
|
396
|
-
default: 80
|
|
397
388
|
}
|
|
398
389
|
},
|
|
399
390
|
data() {
|
|
@@ -458,16 +449,6 @@ const fb = /* @__PURE__ */ v(Si, [["render", zi], ["__scopeId", "data-v-4e7ca115
|
|
|
458
449
|
},
|
|
459
450
|
randomBackgroundColor(e, s) {
|
|
460
451
|
return s[e % s.length];
|
|
461
|
-
},
|
|
462
|
-
lightenColor(e, s) {
|
|
463
|
-
var t = !1;
|
|
464
|
-
e[0] === "#" && (e = e.slice(1), t = !0);
|
|
465
|
-
var a = parseInt(e, 16), n = (a >> 16) + s;
|
|
466
|
-
n > 255 ? n = 255 : n < 0 && (n = 0);
|
|
467
|
-
var i = (a >> 8 & 255) + s;
|
|
468
|
-
i > 255 ? i = 255 : i < 0 && (i = 0);
|
|
469
|
-
var r = (a & 255) + s;
|
|
470
|
-
return r > 255 ? r = 255 : r < 0 && (r = 0), (t ? "#" : "") + (r | i << 8 | n << 16).toString(16);
|
|
471
452
|
}
|
|
472
453
|
}
|
|
473
454
|
}, $i = ["role", "aria-label"], Pi = { key: 0 };
|
|
@@ -486,7 +467,7 @@ function Ti(e, s, t, a, n, i) {
|
|
|
486
467
|
})) : u("", !0)
|
|
487
468
|
], 14, $i);
|
|
488
469
|
}
|
|
489
|
-
const Mi = /* @__PURE__ */ v(Ei, [["render", Ti], ["__scopeId", "data-v-
|
|
470
|
+
const Mi = /* @__PURE__ */ v(Ei, [["render", Ti], ["__scopeId", "data-v-3529a698"]]), Li = {
|
|
490
471
|
components: { EcsIcon: M, EcsFocusRing: L },
|
|
491
472
|
emits: ["dismiss"],
|
|
492
473
|
props: {
|
|
@@ -627,7 +608,7 @@ const mb = /* @__PURE__ */ v(Ai, [["render", Ni], ["__scopeId", "data-v-d1ff2486
|
|
|
627
608
|
},
|
|
628
609
|
computed: {
|
|
629
610
|
typeClass() {
|
|
630
|
-
return
|
|
611
|
+
return `ecs-breadcrumb-${this.type}`;
|
|
631
612
|
}
|
|
632
613
|
}
|
|
633
614
|
}, Ri = {
|
|
@@ -659,7 +640,7 @@ function Fi(e, s, t, a, n, i) {
|
|
|
659
640
|
_(c)
|
|
660
641
|
], 2);
|
|
661
642
|
}
|
|
662
|
-
const pb = /* @__PURE__ */ v(Di, [["render", Fi], ["__scopeId", "data-v-
|
|
643
|
+
const pb = /* @__PURE__ */ v(Di, [["render", Fi], ["__scopeId", "data-v-4103c4c0"]]), Vi = {
|
|
663
644
|
name: "ecs-breadcrumb-title"
|
|
664
645
|
}, Hi = {
|
|
665
646
|
class: "ecs-breadcrumb-title",
|
|
@@ -3567,7 +3548,7 @@ const yb = /* @__PURE__ */ v(wo, [["render", Co], ["__scopeId", "data-v-83c21366
|
|
|
3567
3548
|
},
|
|
3568
3549
|
computed: {
|
|
3569
3550
|
typeClass() {
|
|
3570
|
-
return
|
|
3551
|
+
return `ecs-collapse-button-${this.type}`;
|
|
3571
3552
|
}
|
|
3572
3553
|
}
|
|
3573
3554
|
}, Bo = ["aria-expanded", "aria-label", "aria-controls", "aria-busy", "aria-disabled", "disabled"];
|
|
@@ -3590,7 +3571,7 @@ function zo(e, s, t, a, n, i) {
|
|
|
3590
3571
|
_(r)
|
|
3591
3572
|
], 10, Bo);
|
|
3592
3573
|
}
|
|
3593
|
-
const Os = /* @__PURE__ */ v(xo, [["render", zo], ["__scopeId", "data-v-
|
|
3574
|
+
const Os = /* @__PURE__ */ v(xo, [["render", zo], ["__scopeId", "data-v-c7222f39"]]);
|
|
3594
3575
|
function ft(e) {
|
|
3595
3576
|
"@babel/helpers - typeof";
|
|
3596
3577
|
return ft = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
|
|
@@ -4335,7 +4316,8 @@ const Jo = {
|
|
|
4335
4316
|
return this.icon && !this.$slots.default;
|
|
4336
4317
|
},
|
|
4337
4318
|
colorIsDark() {
|
|
4338
|
-
|
|
4319
|
+
if (this.selectedColor && this.selectedColor !== "")
|
|
4320
|
+
return C(this.selectedColor).isDark();
|
|
4339
4321
|
},
|
|
4340
4322
|
selectedColorBackground() {
|
|
4341
4323
|
if (this.selectedColor && this.selectedColor !== "")
|
|
@@ -4377,7 +4359,7 @@ function er(e, s, t, a, n, i) {
|
|
|
4377
4359
|
_(c)
|
|
4378
4360
|
], 14, Qo);
|
|
4379
4361
|
}
|
|
4380
|
-
const bb = /* @__PURE__ */ v(Jo, [["render", er], ["__scopeId", "data-v-
|
|
4362
|
+
const bb = /* @__PURE__ */ v(Jo, [["render", er], ["__scopeId", "data-v-6817d99f"]]), tr = {
|
|
4381
4363
|
name: "ecs-context-button-group"
|
|
4382
4364
|
}, sr = { class: "ecs-context-button-group" };
|
|
4383
4365
|
function ir(e, s, t, a, n, i) {
|
|
@@ -7603,7 +7585,7 @@ function Lu(e, s, t, a, n, i) {
|
|
|
7603
7585
|
], 10, Mu)) : u("", !0)
|
|
7604
7586
|
]);
|
|
7605
7587
|
}
|
|
7606
|
-
const Rb = /* @__PURE__ */ v(Eu, [["render", Lu], ["__scopeId", "data-v-
|
|
7588
|
+
const Rb = /* @__PURE__ */ v(Eu, [["render", Lu], ["__scopeId", "data-v-4da2f2f8"]]), Ou = {
|
|
7607
7589
|
name: "ecs-dialog",
|
|
7608
7590
|
emits: ["toggled", "cancel"],
|
|
7609
7591
|
props: {
|
|
@@ -13109,7 +13091,7 @@ function Yv(e, s, t, a, n, i) {
|
|
|
13109
13091
|
})
|
|
13110
13092
|
], 6);
|
|
13111
13093
|
}
|
|
13112
|
-
const O_ = /* @__PURE__ */ v(Gv, [["render", Yv], ["__scopeId", "data-v-
|
|
13094
|
+
const O_ = /* @__PURE__ */ v(Gv, [["render", Yv], ["__scopeId", "data-v-6d793ceb"]]), Xv = {
|
|
13113
13095
|
name: "ecs-sidebar-content",
|
|
13114
13096
|
props: {
|
|
13115
13097
|
/** Adds an inner padding to the content area. */
|