smoothly 0.3.65 → 0.3.66
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/cjs/smoothly-accordion_53.cjs.entry.js +5 -1
- package/dist/collection/components/icon/alertCircle.js +1 -0
- package/dist/collection/components/icon/index.js +4 -1
- package/dist/custom-elements/index.js +5 -1
- package/dist/esm/smoothly-accordion_53.entry.js +5 -1
- package/dist/smoothly/{p-158aa6a1.entry.js → p-f3f1338e.entry.js} +1 -1
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/icon/alertCircle.d.ts +1 -0
- package/package.json +1 -1
|
@@ -8359,6 +8359,8 @@ const SmoothlyFrame = class {
|
|
|
8359
8359
|
};
|
|
8360
8360
|
SmoothlyFrame.style = styleCss$y;
|
|
8361
8361
|
|
|
8362
|
+
const alertCircle = `<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><title>ionicons-v5-a</title><path d="M256,48C141.31,48,48,141.31,48,256s93.31,208,208,208,208-93.31,208-208S370.69,48,256,48Zm0,319.91a20,20,0,1,1,20-20A20,20,0,0,1,256,367.91Zm21.72-201.15-5.74,122a16,16,0,0,1-32,0l-5.74-121.94v-.05a21.74,21.74,0,1,1,43.44,0Z"/></svg>`;
|
|
8363
|
+
|
|
8362
8364
|
const styleCss$x = "[size].sc-smoothly-icon-h{background:none}.sc-smoothly-icon-h{display:block;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0)}[hidden].sc-smoothly-icon-h{display:none}[size=tiny].sc-smoothly-icon-h{width:1.2em;height:1.2em}[size=small].sc-smoothly-icon-h{width:1.4em;height:1.4em}[size=medium].sc-smoothly-icon-h{width:1.8em;height:1.8em}[size=large].sc-smoothly-icon-h{width:2.8em;height:2.8em}[size=xlarge].sc-smoothly-icon-h{width:4em;height:4em}";
|
|
8363
8365
|
|
|
8364
8366
|
const SmoothlyIcon = class {
|
|
@@ -8372,7 +8374,9 @@ const SmoothlyIcon = class {
|
|
|
8372
8374
|
this.document = undefined;
|
|
8373
8375
|
}
|
|
8374
8376
|
async loadDocument() {
|
|
8375
|
-
if (this.name)
|
|
8377
|
+
if (this.name == "alert-circle")
|
|
8378
|
+
this.document = alertCircle;
|
|
8379
|
+
else if (this.name)
|
|
8376
8380
|
try {
|
|
8377
8381
|
this.document = await Listenable.Icon.load(this.name);
|
|
8378
8382
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const alertCircle = `<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><title>ionicons-v5-a</title><path d="M256,48C141.31,48,48,141.31,48,256s93.31,208,208,208,208-93.31,208-208S370.69,48,256,48Zm0,319.91a20,20,0,1,1,20-20A20,20,0,0,1,256,367.91Zm21.72-201.15-5.74,122a16,16,0,0,1-32,0l-5.74-121.94v-.05a21.74,21.74,0,1,1,43.44,0Z"/></svg>`;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Icon } from "../../model";
|
|
2
|
+
import { alertCircle } from "./alertCircle";
|
|
2
3
|
export class SmoothlyIcon {
|
|
3
4
|
constructor() {
|
|
4
5
|
this.color = undefined;
|
|
@@ -9,7 +10,9 @@ export class SmoothlyIcon {
|
|
|
9
10
|
this.document = undefined;
|
|
10
11
|
}
|
|
11
12
|
async loadDocument() {
|
|
12
|
-
if (this.name)
|
|
13
|
+
if (this.name == "alert-circle")
|
|
14
|
+
this.document = alertCircle;
|
|
15
|
+
else if (this.name)
|
|
13
16
|
try {
|
|
14
17
|
this.document = await Icon.load(this.name);
|
|
15
18
|
}
|
|
@@ -28101,6 +28101,8 @@ const SmoothlyGoogleFont$1 = class extends HTMLElement {
|
|
|
28101
28101
|
}
|
|
28102
28102
|
};
|
|
28103
28103
|
|
|
28104
|
+
const alertCircle = `<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><title>ionicons-v5-a</title><path d="M256,48C141.31,48,48,141.31,48,256s93.31,208,208,208,208-93.31,208-208S370.69,48,256,48Zm0,319.91a20,20,0,1,1,20-20A20,20,0,0,1,256,367.91Zm21.72-201.15-5.74,122a16,16,0,0,1-32,0l-5.74-121.94v-.05a21.74,21.74,0,1,1,43.44,0Z"/></svg>`;
|
|
28105
|
+
|
|
28104
28106
|
const styleCss$B = "[size].sc-smoothly-icon-h{background:none}.sc-smoothly-icon-h{display:block;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0)}[hidden].sc-smoothly-icon-h{display:none}[size=tiny].sc-smoothly-icon-h{width:1.2em;height:1.2em}[size=small].sc-smoothly-icon-h{width:1.4em;height:1.4em}[size=medium].sc-smoothly-icon-h{width:1.8em;height:1.8em}[size=large].sc-smoothly-icon-h{width:2.8em;height:2.8em}[size=xlarge].sc-smoothly-icon-h{width:4em;height:4em}";
|
|
28105
28107
|
|
|
28106
28108
|
const SmoothlyIcon$1 = class extends HTMLElement {
|
|
@@ -28115,7 +28117,9 @@ const SmoothlyIcon$1 = class extends HTMLElement {
|
|
|
28115
28117
|
this.document = undefined;
|
|
28116
28118
|
}
|
|
28117
28119
|
async loadDocument() {
|
|
28118
|
-
if (this.name)
|
|
28120
|
+
if (this.name == "alert-circle")
|
|
28121
|
+
this.document = alertCircle;
|
|
28122
|
+
else if (this.name)
|
|
28119
28123
|
try {
|
|
28120
28124
|
this.document = await Icon.load(this.name);
|
|
28121
28125
|
}
|
|
@@ -8355,6 +8355,8 @@ const SmoothlyFrame = class {
|
|
|
8355
8355
|
};
|
|
8356
8356
|
SmoothlyFrame.style = styleCss$y;
|
|
8357
8357
|
|
|
8358
|
+
const alertCircle = `<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><title>ionicons-v5-a</title><path d="M256,48C141.31,48,48,141.31,48,256s93.31,208,208,208,208-93.31,208-208S370.69,48,256,48Zm0,319.91a20,20,0,1,1,20-20A20,20,0,0,1,256,367.91Zm21.72-201.15-5.74,122a16,16,0,0,1-32,0l-5.74-121.94v-.05a21.74,21.74,0,1,1,43.44,0Z"/></svg>`;
|
|
8359
|
+
|
|
8358
8360
|
const styleCss$x = "[size].sc-smoothly-icon-h{background:none}.sc-smoothly-icon-h{display:block;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0)}[hidden].sc-smoothly-icon-h{display:none}[size=tiny].sc-smoothly-icon-h{width:1.2em;height:1.2em}[size=small].sc-smoothly-icon-h{width:1.4em;height:1.4em}[size=medium].sc-smoothly-icon-h{width:1.8em;height:1.8em}[size=large].sc-smoothly-icon-h{width:2.8em;height:2.8em}[size=xlarge].sc-smoothly-icon-h{width:4em;height:4em}";
|
|
8359
8361
|
|
|
8360
8362
|
const SmoothlyIcon = class {
|
|
@@ -8368,7 +8370,9 @@ const SmoothlyIcon = class {
|
|
|
8368
8370
|
this.document = undefined;
|
|
8369
8371
|
}
|
|
8370
8372
|
async loadDocument() {
|
|
8371
|
-
if (this.name)
|
|
8373
|
+
if (this.name == "alert-circle")
|
|
8374
|
+
this.document = alertCircle;
|
|
8375
|
+
else if (this.name)
|
|
8372
8376
|
try {
|
|
8373
8377
|
this.document = await Icon.load(this.name);
|
|
8374
8378
|
}
|