@saasira/holi 0.1.5 → 0.1.6

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/holi.html CHANGED
@@ -128,6 +128,15 @@
128
128
  </template>
129
129
 
130
130
 
131
+ <!-- Template: themeswitcher.html src/templates/components/themeswitcher.html -->
132
+ <template id="themeswitcher-template">
133
+ <section class="holi-themeswitcher">
134
+ <label data-role="theme-label" for="holi-theme-switcher-select">@{label}</label>
135
+ <select id="holi-theme-switcher-select" data-role="theme-select"></select>
136
+ </section>
137
+ </template>
138
+
139
+
131
140
  <!-- Template: textarea.html src/templates/components/textarea.html -->
132
141
  <template id="textarea-field-template">
133
142
  <div class="holi-textarea" role="group">
@@ -263,6 +272,36 @@
263
272
  </template>
264
273
 
265
274
 
275
+ <!-- Template: refresh.html src/templates/components/refresh.html -->
276
+ <template id="refresh-template">
277
+ <section class="holi-refresh" data-state="idle" tabindex="0">
278
+ <div class="holi-refresh__handle" data-role="handle" aria-hidden="true">
279
+ <div class="holi-refresh__icon">
280
+ <span class="holi-refresh__icon-arrow"></span>
281
+ <span class="holi-refresh__icon-spinner"></span>
282
+ </div>
283
+ <div class="holi-refresh__label" data-role="label">Pull to refresh</div>
284
+ <div class="holi-refresh__progress">
285
+ <span class="holi-refresh__progress-bar" data-role="progress"></span>
286
+ </div>
287
+ </div>
288
+ <div class="holi-refresh__content" data-role="content"></div>
289
+ </section>
290
+ </template>
291
+
292
+
293
+ <!-- Template: rating.html src/templates/components/rating.html -->
294
+ <template id="rating-template">
295
+ <div class="rating" data-role="rating-root" data-rating="0">
296
+ <i class="fa fa-star-o" data-value="1" aria-hidden="true"></i>
297
+ <i class="fa fa-star-o" data-value="2" aria-hidden="true"></i>
298
+ <i class="fa fa-star-o" data-value="3" aria-hidden="true"></i>
299
+ <i class="fa fa-star-o" data-value="4" aria-hidden="true"></i>
300
+ <i class="fa fa-star-o" data-value="5" aria-hidden="true"></i>
301
+ </div>
302
+ </template>
303
+
304
+
266
305
  <!-- Template: radio.html src/templates/components/radio.html -->
267
306
  <template id="radio-group-template">
268
307
  <fieldset class="holi-radio-group">
@@ -286,6 +325,21 @@
286
325
  </template>
287
326
 
288
327
 
328
+ <!-- Template: pwa.html src/templates/components/pwa.html -->
329
+ <!-- Theme color meta (dynamic via JS) -->
330
+ <meta name="theme-color" content="#2563eb">
331
+
332
+ <!-- iOS Safari -->
333
+ <link rel="apple-touch-icon" href="/icons/icon-192.png">
334
+ <meta name="apple-mobile-web-app-capable" content="yes">
335
+ <meta name="apple-mobile-web-app-status-bar-style" content="default">
336
+ <meta name="apple-mobile-web-app-title" content="HF Components">
337
+
338
+ <!-- Microsoft/Edge -->
339
+ <meta name="msapplication-TileImage" content="/icons/icon-192.png">
340
+ <meta name="msapplication-TileColor" content="#2563eb">
341
+
342
+
289
343
  <!-- Template: progress.html src/templates/components/progress.html -->
290
344
  <template id="progress">
291
345
  <section class="progress" role="progressbar" aria-valuemin="0" aria-valuemax="100">
@@ -312,6 +366,24 @@
312
366
  </template>
313
367
 
314
368
 
369
+ <!-- Template: offline.html src/templates/components/offline.html -->
370
+ <template id="offline-template">
371
+ <section class="holi-offline-indicator" data-status="online" data-visible="false" hidden aria-live="polite" aria-atomic="true" role="status">
372
+ <div class="holi-offline-indicator__badge" aria-hidden="true">
373
+ <span class="holi-offline-indicator__dot"></span>
374
+ </div>
375
+ <div class="holi-offline-indicator__message">
376
+ <span class="holi-offline-indicator__status" data-role="status-text">Offline</span>
377
+ <span class="holi-offline-indicator__meta">
378
+ <span class="holi-offline-indicator__sync" data-role="sync-text">0 pending</span>
379
+ <span class="holi-offline-indicator__attempts" data-role="attempt-text">Retry 0/5</span>
380
+ </span>
381
+ </div>
382
+ <button type="button" class="holi-offline-indicator__retry" data-action="retry" aria-label="Retry connection">Retry</button>
383
+ </section>
384
+ </template>
385
+
386
+
315
387
  <!-- Template: menubar.html src/templates/components/menubar.html -->
316
388
  <template id="menubar-template">
317
389
  <nav class="holi-menubar" data-mode="bar" aria-label="Site menu">
@@ -321,12 +393,28 @@
321
393
  </template>
322
394
 
323
395
 
396
+ <!-- Template: localeswitcher.html src/templates/components/localeswitcher.html -->
397
+ <template id="localeswitcher-template">
398
+ <section class="holi-localeswitcher">
399
+ <label data-role="locale-label" for="holi-locale-switcher-select">@{label}</label>
400
+ <select id="holi-locale-switcher-select" data-role="locale-select"></select>
401
+ </section>
402
+ </template>
403
+
404
+
324
405
  <!-- Template: loader.html src/templates/components/loader.html -->
325
406
  <template id="loader-template">
326
407
  <section class="holi-loader" data-scope="inline" hidden>
327
408
  <div class="holi-loader-backdrop"></div>
328
409
  <div class="holi-loader-body" role="status" aria-live="polite" aria-atomic="true">
329
- <span class="holi-loader-spinner" aria-hidden="true"></span>
410
+ <span class="holi-loader-spinner" data-role="loader-spinner" data-type="spinner" aria-hidden="true">
411
+ <span class="holi-loader-spinner-ring" aria-hidden="true"></span>
412
+ <span class="holi-loader-dots" aria-hidden="true">
413
+ <span class="holi-loader-dot"></span>
414
+ <span class="holi-loader-dot"></span>
415
+ <span class="holi-loader-dot"></span>
416
+ </span>
417
+ </span>
330
418
  <span class="holi-loader-message" data-role="loader-message">Loading...</span>
331
419
  </div>
332
420
  </section>