@hotosm/ui 0.3.2-b9 → 0.3.3-b1
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/chunks/chunk.4IHZBYNQ.js +1 -0
- package/dist/chunks/{chunk.NA5VYRZH.js → chunk.BPPYCS7U.js} +1 -1
- package/dist/chunks/chunk.IGQ7CODZ.js +1 -0
- package/dist/chunks/chunk.M3ZIZPKF.js +1 -0
- package/dist/chunks/{chunk.2ULJ7GOD.js → chunk.SMJLJ4AN.js} +1 -1
- package/dist/chunks/chunk.UUHEHDRS.js +1 -0
- package/dist/chunks/{chunk.PDA7Y3OG.js → chunk.XJWPNRXI.js} +94 -23
- package/dist/components/button/button.component.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/consent/consent.component.js +1 -1
- package/dist/components/consent/consent.js +1 -1
- package/dist/components/header/header.component.d.ts +2 -0
- package/dist/components/header/header.component.js +1 -1
- package/dist/components/header/header.js +1 -1
- package/dist/components/icons.js +1 -1
- package/dist/hotosm-ui.js +1 -1
- package/dist/themes/hot-wa-override.css +75 -0
- package/dist/utils/shadow-dom-css.d.ts +6 -2
- package/package.json +1 -1
- package/dist/assets/logo/hamburger.svg +0 -1
- package/dist/chunks/chunk.JWXDWX4U.js +0 -1
- package/dist/chunks/chunk.TTXUWWW4.js +0 -1
- package/dist/chunks/chunk.UOUAH7BX.js +0 -1
- package/dist/chunks/chunk.XV3ZU53D.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as t}from"./chunk.BPPYCS7U.js";var o=t;customElements.define("hot-button",t);export{o as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as l}from"./chunk.O6I2TNK3.js";import{b as o}from"./chunk.6Y3X2E2V.js";import{a as n}from"./chunk.
|
|
1
|
+
import{a as l}from"./chunk.O6I2TNK3.js";import{b as o}from"./chunk.6Y3X2E2V.js";import{a as n}from"./chunk.M3ZIZPKF.js";import{e as t,k as c}from"./chunk.TNLBUOUK.js";import{d as s,e as i,f as a,g as r}from"./chunk.NI7UJOOZ.js";n();var p,d,h,y,g,m,$,S,f,e=class extends c{constructor(){super(...arguments);this.name="hot-button";a(this,p,"primary");a(this,d,"medium");a(this,h,"default");a(this,y,!1);a(this,g,!1);a(this,m,"");a(this,$,"start");a(this,S,"button");a(this,f,"")}get variant(){return i(this,p)}set variant(w){r(this,p,w)}get size(){return i(this,d)}set size(w){r(this,d,w)}get appearance(){return i(this,h)}set appearance(w){r(this,h,w)}get disabled(){return i(this,y)}set disabled(w){r(this,y,w)}get loading(){return i(this,g)}set loading(w){r(this,g,w)}get icon(){return i(this,m)}set icon(w){r(this,m,w)}get iconPosition(){return i(this,$)}set iconPosition(w){r(this,$,w)}get type(){return i(this,S)}set type(w){r(this,S,w)}get hotColor(){return i(this,f)}set hotColor(w){r(this,f,w)}render(){let w=`hot-button${this.hotColor?` hot-${this.hotColor}`:""}`;return t`
|
|
2
2
|
<wa-button
|
|
3
3
|
variant="${this.variant}"
|
|
4
4
|
size="${this.size}"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk.SMJLJ4AN.js";var n=e;customElements.define("hot-consent",e);export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function i(){let e=()=>{window.WebAwesome&&window.WebAwesome.iconRegistry||setTimeout(e,100)};e()}var n=i;export{n as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as o}from"./chunk.6Y3X2E2V.js";import{a as l}from"./chunk.
|
|
1
|
+
import{b as o}from"./chunk.6Y3X2E2V.js";import{a as l}from"./chunk.M3ZIZPKF.js";import{a as d}from"./chunk.GTNRNZDH.js";import{e as r,k as c}from"./chunk.TNLBUOUK.js";import{d as s,e as a,f as n,g as i}from"./chunk.NI7UJOOZ.js";l();var u,g,p,b,h,m,v,e=class extends c{constructor(){super(...arguments);this.name="hot-consent";n(this,u,"");n(this,g,!1);n(this,p,!0);n(this,b,"About the information we collect");n(this,h,"We use cookies and similar technologies to recognize and analyze your visits, and measure traffic usage and activity.");n(this,m,"I Agree");n(this,v,"I Do Not Agree")}get consentId(){return a(this,u)}set consentId(t){i(this,u,t)}get force(){return a(this,g)}set force(t){i(this,g,t)}get isOpen(){return a(this,p)}set isOpen(t){i(this,p,t)}get title(){return a(this,b)}set title(t){i(this,b,t)}get message(){return a(this,h)}set message(t){i(this,h,t)}get agreeLabel(){return a(this,m)}set agreeLabel(t){i(this,m,t)}get notAgreeLabel(){return a(this,v)}set notAgreeLabel(t){i(this,v,t)}render(){return this.isOpen?r`
|
|
2
2
|
<div class="consent-overlay">
|
|
3
3
|
<div class="consent-container">
|
|
4
4
|
<wa-callout variant="brand" appearance="outlined filled" size="large" class="consent-callout">
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e}from"./chunk.XJWPNRXI.js";var r=e;customElements.define("hot-header",e);export{r as a};
|