smoothly 0.3.64 → 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.
@@ -59,7 +59,7 @@ export class SmoothlyDisplay {
59
59
  "mutable": false,
60
60
  "complexType": {
61
61
  "original": "Type",
62
- "resolved": "\"card-csc\" | \"card-expires\" | \"card-number\" | \"date\" | \"date-time\" | \"divisor\" | \"email\" | \"identity-number\" | \"password\" | \"percent\" | \"phone\" | \"postal-code\" | \"price\" | \"text\"",
62
+ "resolved": "\"card-csc\" | \"card-expires\" | \"card-number\" | \"date\" | \"date-time\" | \"divisor\" | \"duration\" | \"email\" | \"identity-number\" | \"password\" | \"percent\" | \"phone\" | \"postal-code\" | \"price\" | \"text\"",
63
63
  "references": {
64
64
  "Type": {
65
65
  "location": "import",
@@ -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
  }