aprog 2.2.91 → 2.2.93

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/package.json +1 -1
  2. package/src/svg.js +63 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aprog",
3
- "version": "2.2.91",
3
+ "version": "2.2.93",
4
4
  "description": "Допоміжна JavaScript-бібліотека для проєктів",
5
5
  "main": "index.js",
6
6
  "exports": {
package/src/svg.js CHANGED
@@ -111,6 +111,32 @@ export const svg = ({
111
111
  </svg>
112
112
  `,
113
113
 
114
+ left: `
115
+ <svg id="${id}"
116
+ class="${classes}"
117
+ width="${w}"
118
+ height="${h}"
119
+ fill="${fill}"
120
+ stroke="${stroke}"
121
+ stroke-width="${strokeWidth}"
122
+ viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
123
+ <path d="M15.7071 4.29289C16.0976 4.68342 16.0976 5.31658 15.7071 5.70711L9.41421 12L15.7071 18.2929C16.0976 18.6834 16.0976 19.3166 15.7071 19.7071C15.3166 20.0976 14.6834 20.0976 14.2929 19.7071L7.29289 12.7071C7.10536 12.5196 7 12.2652 7 12C7 11.7348 7.10536 11.4804 7.29289 11.2929L14.2929 4.29289C14.6834 3.90237 15.3166 3.90237 15.7071 4.29289Z"></path>
124
+ </svg>
125
+ `,
126
+
127
+ right: `
128
+ <svg id="${id}"
129
+ class="${classes}"
130
+ width="${w}"
131
+ height="${h}"
132
+ fill="${fill}"
133
+ stroke="${stroke}"
134
+ stroke-width="${strokeWidth}"
135
+ viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
136
+ <path d="M8.29289 4.29289C8.68342 3.90237 9.31658 3.90237 9.70711 4.29289L16.7071 11.2929C17.0976 11.6834 17.0976 12.3166 16.7071 12.7071L9.70711 19.7071C9.31658 20.0976 8.68342 20.0976 8.29289 19.7071C7.90237 19.3166 7.90237 18.6834 8.29289 18.2929L14.5858 12L8.29289 5.70711C7.90237 5.31658 7.90237 4.68342 8.29289 4.29289Z"></path>
137
+ </svg>
138
+ `,
139
+
114
140
  user: `
115
141
  <svg id="${id}"
116
142
  class="${classes}"
@@ -168,14 +194,43 @@ export const svg = ({
168
194
  `,
169
195
 
170
196
  info: `
171
- <svg id="${id}" class="${classes}" width="${w}" height="${h}" fill="${fill}" stroke="${stroke}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
172
- <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
173
- <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
174
- <g id="SVGRepo_iconCarrier">
175
- <path d="M12 17V11" stroke="${stroke}" stroke-width="2" stroke-linecap="round"></path>
176
- <circle cx="1" cy="1" r="1" transform="matrix(1 0 0 -1 11 9)" fill="${stroke}"></circle>
177
- <path d="M7 3.33782C8.47087 2.48697 10.1786 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 10.1786 2.48697 8.47087 3.33782 7" stroke="${stroke}" stroke-width="2" stroke-linecap="round"></path>
178
- </g>
197
+ <svg id="${id}"
198
+ class="${classes}"
199
+ width="${w}"
200
+ height="${h}"
201
+ fill="${fill}"
202
+ stroke="${stroke}"
203
+ stroke-width="${strokeWidth}"
204
+ viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
205
+ <path d="M12 17V11" stroke-linecap="round"></path>
206
+ <circle cx="1" cy="1" r="1" transform="matrix(1 0 0 -1 11 9)"></circle>
207
+ <path d="M7 3.33782C8.47087 2.48697 10.1786 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 10.1786 2.48697 8.47087 3.33782 7" stroke-linecap="round"></path>
208
+ </svg>
209
+ `,
210
+
211
+ play: `
212
+ <svg id="${id}"
213
+ class="${classes}"
214
+ width="${w}"
215
+ height="${h}"
216
+ fill="${fill}"
217
+ stroke="${stroke}"
218
+ stroke-width="${strokeWidth}"
219
+ viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
220
+ <path d="M21.4086 9.35258C23.5305 10.5065 23.5305 13.4935 21.4086 14.6474L8.59662 21.6145C6.53435 22.736 4 21.2763 4 18.9671L4 5.0329C4 2.72368 6.53435 1.26402 8.59661 2.38548L21.4086 9.35258Z"></path>
221
+ </svg>
222
+ `,
223
+
224
+ pause: `
225
+ <svg id="${id}"
226
+ class="${classes}"
227
+ width="${w}"
228
+ height="${h}"
229
+ fill="${fill}"
230
+ stroke="${stroke}"
231
+ stroke-width="${strokeWidth}"
232
+ viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
233
+ <path d="M2 6C2 4.11438 2 3.17157 2.58579 2.58579C3.17157 2 4.11438 2 6 2C7.88562 2 8.82843 2 9.41421 2.58579C10 3.17157 10 4.11438 10 6V18C10 19.8856 10 20.8284 9.41421 21.4142C8.82843 22 7.88562 22 6 22C4.11438 22 3.17157 22 2.58579 21.4142C2 20.8284 2 19.8856 2 18V6Z" fill="#1C274C"></path> <path d="M14 6C14 4.11438 14 3.17157 14.5858 2.58579C15.1716 2 16.1144 2 18 2C19.8856 2 20.8284 2 21.4142 2.58579C22 3.17157 22 4.11438 22 6V18C22 19.8856 22 20.8284 21.4142 21.4142C20.8284 22 19.8856 22 18 22C16.1144 22 15.1716 22 14.5858 21.4142C14 20.8284 14 19.8856 14 18V6Z"></path>
179
234
  </svg>
180
235
  `
181
236
  }