@hotosm/ui 0.3.0-b9 → 0.3.1-b2
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.LPP5A7DY.js → chunk.3Y46BCZT.js} +2 -2
- package/dist/chunks/chunk.4YLAIDAG.js +6 -0
- package/dist/chunks/chunk.54RIFX2M.js +669 -0
- package/dist/chunks/chunk.6ZDEZIWM.js +73 -0
- package/dist/chunks/{chunk.FRQNABAW.js → chunk.IG27I42A.js} +3 -3
- package/dist/chunks/chunk.NI7UJOOZ.js +1 -0
- package/dist/chunks/chunk.PE4OKGWW.js +700 -0
- package/dist/chunks/chunk.PQUDDU4D.js +69 -0
- package/dist/chunks/{chunk.G3D6QL7M.js → chunk.T4GALJJA.js} +1 -1
- package/dist/chunks/chunk.U4P7XQR4.js +40 -0
- package/dist/chunks/{chunk.KTVXG6ZT.js → chunk.UTSKEKTV.js} +1 -1
- package/dist/chunks/{chunk.DH7XQ5FD.js → chunk.WBE5WRYN.js} +7 -7
- package/dist/components/consent/consent.component.d.ts +3 -3
- package/dist/components/consent/consent.component.js +1 -1
- package/dist/components/consent/consent.js +1 -1
- package/dist/components/consent/consent.styles.js +1 -1
- package/dist/components/header/header.component.d.ts +3 -3
- package/dist/components/header/header.component.js +1 -1
- package/dist/components/header/header.js +1 -1
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/icons.js +1 -1
- package/dist/components/logo/logo.component.js +1 -1
- package/dist/components/logo/logo.js +1 -1
- package/dist/components/logo/logo.styles.js +1 -1
- package/dist/components/tracking/tracking.component.d.ts +3 -3
- package/dist/components/tracking/tracking.component.js +1 -1
- package/dist/components/tracking/tracking.js +1 -1
- package/dist/hotosm-ui.js +1 -1
- package/package.json +5 -6
- package/dist/chunks/chunk.6VU523R3.js +0 -1
- package/dist/chunks/chunk.ASODQHWD.js +0 -1
- package/dist/chunks/chunk.BPXXHUUZ.js +0 -1
- package/dist/chunks/chunk.HIBNS72H.js +0 -94
- package/dist/chunks/chunk.KJNIHMV5.js +0 -1
- package/dist/chunks/chunk.KLERXQ4L.js +0 -1
- package/dist/chunks/chunk.N5ZPC4QF.js +0 -1
- package/dist/chunks/chunk.PJ3V5264.js +0 -6
- package/dist/chunks/chunk.VQWI2U6Y.js +0 -1
- package/dist/chunks/chunk.WEGVR65B.js +0 -1
- package/dist/chunks/chunk.YDNYCQ33.js +0 -1
- package/dist/react/consent/index.js +0 -1
- package/dist/react/header/index.js +0 -1
- package/dist/react/index.js +0 -1
- package/dist/react/logo/index.js +0 -1
- package/dist/react/tracking/index.js +0 -1
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import{c as d,d as m}from"./chunk.U4P7XQR4.js";import{a as l,b as p}from"./chunk.NI7UJOOZ.js";var y={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:m},g=(e=y,o,t)=>{let{kind:a,metadata:c}=t,i=globalThis.litPropertyMetadata.get(c);if(i===void 0&&globalThis.litPropertyMetadata.set(c,i=new Map),a==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(t.name,e),a==="accessor"){let{name:n}=t;return{set(s){let r=o.get.call(this);o.set.call(this,s),this.requestUpdate(n,r,e)},init(s){return s!==void 0&&this.C(n,void 0,e,s),s}}}if(a==="setter"){let{name:n}=t;return function(s){let r=this[n];o.call(this,s),this.requestUpdate(n,r,e)}}throw Error("Unsupported decorator location: "+a)};function f(e){return(o,t)=>typeof t=="object"?g(e,o,t):((a,c,i)=>{let n=c.hasOwnProperty(i);return c.constructor.createProperty(i,a),n?Object.getOwnPropertyDescriptor(c,i):void 0})(e,o,t)}function v(e){return f(p(l({},e),{state:!0,attribute:!1}))}var O=e=>(o,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(e,o)}):customElements.define(e,o)};var u=(e,o,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(e,o,t),t);function A(e,o){return(t,a,c)=>{let i=n=>{var s,r;return(r=(s=n.renderRoot)==null?void 0:s.querySelector(e))!=null?r:null};if(o){let{get:n,set:s}=typeof a=="object"?t:c!=null?c:(()=>{let r=Symbol();return{get(){return this[r]},set(h){this[r]=h}}})();return u(t,a,{get(){let r=n.call(this);return r===void 0&&(r=i(this),(r!==null||this.hasUpdated)&&s.call(this,r)),r}})}return u(t,a,{get(){return i(this)}})}}export{O as a,f as b,v as c,A as d};
|
|
2
|
+
/*! Bundled license information:
|
|
3
|
+
|
|
4
|
+
@lit/reactive-element/decorators/property.js:
|
|
5
|
+
(**
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2017 Google LLC
|
|
8
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
+
*)
|
|
10
|
+
|
|
11
|
+
@lit/reactive-element/decorators/state.js:
|
|
12
|
+
(**
|
|
13
|
+
* @license
|
|
14
|
+
* Copyright 2017 Google LLC
|
|
15
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
16
|
+
*)
|
|
17
|
+
|
|
18
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
19
|
+
(**
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2017 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*)
|
|
24
|
+
|
|
25
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
26
|
+
(**
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2017 Google LLC
|
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
+
*)
|
|
31
|
+
|
|
32
|
+
@lit/reactive-element/decorators/base.js:
|
|
33
|
+
(**
|
|
34
|
+
* @license
|
|
35
|
+
* Copyright 2017 Google LLC
|
|
36
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
|
+
*)
|
|
38
|
+
|
|
39
|
+
@lit/reactive-element/decorators/query.js:
|
|
40
|
+
(**
|
|
41
|
+
* @license
|
|
42
|
+
* Copyright 2017 Google LLC
|
|
43
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
44
|
+
*)
|
|
45
|
+
|
|
46
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
47
|
+
(**
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright 2017 Google LLC
|
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
+
*)
|
|
52
|
+
|
|
53
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
54
|
+
(**
|
|
55
|
+
* @license
|
|
56
|
+
* Copyright 2017 Google LLC
|
|
57
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
+
*)
|
|
59
|
+
|
|
60
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
61
|
+
(**
|
|
62
|
+
* @license
|
|
63
|
+
* Copyright 2021 Google LLC
|
|
64
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
65
|
+
*)
|
|
66
|
+
|
|
67
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
68
|
+
(**
|
|
69
|
+
* @license
|
|
70
|
+
* Copyright 2017 Google LLC
|
|
71
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
+
*)
|
|
73
|
+
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as v}from"./chunk.U4P7XQR4.js";import{a as c,c as u}from"./chunk.NI7UJOOZ.js";function p(t){var o,e,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(o=0;o<i;o++)t[o]&&(e=p(t[o]))&&(r&&(r+=" "),r+=e)}else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function b(){for(var t,o,e=0,r="",i=arguments.length;e<i;e++)(t=arguments[e])&&(o=p(t))&&(r&&(r+=" "),r+=o);return r}var x=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,y=b,w=(t,o)=>e=>{var r;if((o==null?void 0:o.variants)==null)return y(t,e==null?void 0:e.class,e==null?void 0:e.className);let{variants:i,defaultVariants:s}=o,z=Object.keys(i).map(a=>{let n=e==null?void 0:e[a],d=s==null?void 0:s[a];if(n===null)return null;let l=x(n)||x(d);return i[a][l]}),h=e&&Object.entries(e).reduce((a,n)=>{let[d,l]=n;return l===void 0||(a[d]=l),a},{}),j=o==null||(r=o.compoundVariants)===null||r===void 0?void 0:r.reduce((a,n)=>{let g=n,{class:d,className:l}=g,k=u(g,["class","className"]);return Object.entries(k).every(V=>{let[f,m]=V;return Array.isArray(m)?m.includes(c(c({},s),h)[f]):c(c({},s),h)[f]===m})?[...a,d,l]:a},[]);return y(t,z,j,e==null?void 0:e.class,e==null?void 0:e.className)};var _=w(`
|
|
2
2
|
header
|
|
3
|
-
`,{variants:{size:{small:"header--size-small",medium:"header--size-medium",large:"header--size-large"},borderBottom:{true:"border-bottom"}}}),
|
|
3
|
+
`,{variants:{size:{small:"header--size-small",medium:"header--size-medium",large:"header--size-large"},borderBottom:{true:"border-bottom"}}}),B=v`
|
|
4
4
|
.header {
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
@@ -168,4 +168,4 @@ import{css as e}from"lit";import{cva as o}from"class-variance-authority";var a=o
|
|
|
168
168
|
font-weight: 400;
|
|
169
169
|
line-height: 1.5;
|
|
170
170
|
}
|
|
171
|
-
`;export{a,
|
|
171
|
+
`;export{_ as a,B as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var j=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var i=(a,b,c)=>b in a?j(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,q=(a,b)=>{for(var c in b||(b={}))k.call(b,c)&&i(a,c,b[c]);if(f)for(var c of f(b))l.call(b,c)&&i(a,c,b[c]);return a},r=(a,b)=>n(a,p(b));var s=(a,b)=>{var c={};for(var d in a)k.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&f)for(var d of f(a))b.indexOf(d)<0&&l.call(a,d)&&(c[d]=a[d]);return c};var t=(a,b,c,d)=>{for(var e=d>1?void 0:d?o(b,c):b,g=a.length-1,h;g>=0;g--)(h=a[g])&&(e=(d?h(b,c,e):h(e))||e);return d&&e&&j(b,c,e),e};var m=(a,b,c)=>{if(!b.has(a))throw TypeError("Cannot "+c)};var u=(a,b,c)=>(m(a,b,"read from private field"),c?c.call(a):b.get(a)),v=(a,b,c)=>{if(b.has(a))throw TypeError("Cannot add the same private member more than once");b instanceof WeakSet?b.add(a):b.set(a,c)},w=(a,b,c,d)=>(m(a,b,"write to private field"),d?d.call(a,c):b.set(a,c),c);export{q as a,r as b,s as c,t as d,u as e,v as f,w as g};
|