@hotosm/ui 0.3.1-b1 → 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.
Files changed (47) hide show
  1. package/dist/chunks/{chunk.XYLRVYKD.js → chunk.3Y46BCZT.js} +1 -1
  2. package/dist/chunks/{chunk.DQ7UCE7O.js → chunk.4YLAIDAG.js} +1 -1
  3. package/dist/chunks/chunk.54RIFX2M.js +669 -0
  4. package/dist/chunks/chunk.6ZDEZIWM.js +73 -0
  5. package/dist/chunks/{chunk.N5L63ITD.js → chunk.IG27I42A.js} +1 -1
  6. package/dist/chunks/chunk.NI7UJOOZ.js +1 -0
  7. package/dist/chunks/chunk.PE4OKGWW.js +700 -0
  8. package/dist/chunks/chunk.PQUDDU4D.js +69 -0
  9. package/dist/chunks/{chunk.277I73JI.js → chunk.T4GALJJA.js} +1 -1
  10. package/dist/chunks/chunk.U4P7XQR4.js +40 -0
  11. package/dist/chunks/{chunk.TVZQJVLS.js → chunk.UTSKEKTV.js} +1 -1
  12. package/dist/chunks/{chunk.TJK2P3MY.js → chunk.WBE5WRYN.js} +1 -1
  13. package/dist/components/consent/consent.component.d.ts +3 -3
  14. package/dist/components/consent/consent.component.js +1 -1
  15. package/dist/components/consent/consent.js +1 -1
  16. package/dist/components/consent/consent.styles.js +1 -1
  17. package/dist/components/header/header.component.d.ts +3 -3
  18. package/dist/components/header/header.component.js +1 -1
  19. package/dist/components/header/header.js +1 -1
  20. package/dist/components/header/header.styles.js +1 -1
  21. package/dist/components/icons.js +1 -1
  22. package/dist/components/logo/logo.component.js +1 -1
  23. package/dist/components/logo/logo.js +1 -1
  24. package/dist/components/logo/logo.styles.js +1 -1
  25. package/dist/components/tracking/tracking.component.d.ts +3 -3
  26. package/dist/components/tracking/tracking.component.js +1 -1
  27. package/dist/components/tracking/tracking.js +1 -1
  28. package/dist/hotosm-ui.js +1 -1
  29. package/package.json +4 -3
  30. package/dist/chunks/chunk.2C7KHCNI.js +0 -40
  31. package/dist/chunks/chunk.3BMRK6RX.js +0 -94
  32. package/dist/chunks/chunk.6QXNTVCU.js +0 -1
  33. package/dist/chunks/chunk.7P5E5KMI.js +0 -73
  34. package/dist/chunks/chunk.BLTVEIFI.js +0 -1
  35. package/dist/chunks/chunk.GRD7DOAE.js +0 -14
  36. package/dist/chunks/chunk.GTA7FK6E.js +0 -1
  37. package/dist/chunks/chunk.H27BHZTL.js +0 -1
  38. package/dist/chunks/chunk.NK4IZUTO.js +0 -1
  39. package/dist/chunks/chunk.PICS5Z5K.js +0 -1
  40. package/dist/chunks/chunk.RGDK5VTE.js +0 -1
  41. package/dist/chunks/chunk.V76UU3GK.js +0 -1
  42. package/dist/chunks/chunk.W5TPMQK4.js +0 -1
  43. package/dist/react/consent/index.js +0 -1
  44. package/dist/react/header/index.js +0 -1
  45. package/dist/react/index.js +0 -1
  46. package/dist/react/logo/index.js +0 -1
  47. 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,4 +1,4 @@
1
- import{a as v}from"./chunk.2C7KHCNI.js";import{a as c,c as u}from"./chunk.RGDK5VTE.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(`
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
3
  `,{variants:{size:{small:"header--size-small",medium:"header--size-medium",large:"header--size-large"},borderBottom:{true:"border-bottom"}}}),B=v`
4
4
  .header {
@@ -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};