@hotosm/ui 0.3.2-b5 → 0.3.2-b8
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/assets/logo/hamburger.svg +1 -0
- package/dist/chunks/{chunk.OSUPNFJP.js → chunk.2ULJ7GOD.js} +1 -1
- package/dist/chunks/chunk.D4UQX7IV.js +146 -0
- package/dist/chunks/chunk.JWXDWX4U.js +1 -0
- package/dist/chunks/{chunk.NQSLFHXC.js → chunk.NA5VYRZH.js} +1 -1
- package/dist/chunks/chunk.PDA7Y3OG.js +1253 -0
- package/dist/chunks/chunk.TTXUWWW4.js +1 -0
- package/dist/chunks/chunk.UOUAH7BX.js +1 -0
- package/dist/chunks/chunk.XV3ZU53D.js +1 -0
- 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 +8 -0
- 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.d.ts +9 -0
- package/dist/components/icons.js +1 -1
- package/dist/hotosm-ui.d.ts +1 -0
- package/dist/hotosm-ui.js +1 -1
- package/dist/themes/hot.css +2 -8
- package/dist/utils/shadow-dom-css.d.ts +30 -0
- package/package.json +1 -1
- package/dist/chunks/chunk.KO4EOD3I.js +0 -1
- package/dist/chunks/chunk.KWRSAL43.js +0 -1
- package/dist/chunks/chunk.RQCFXHIG.js +0 -1
- package/dist/chunks/chunk.SMFWK2VT.js +0 -1
- package/dist/chunks/chunk.UMBUH2EC.js +0 -690
- package/dist/chunks/chunk.WX25LIXR.js +0 -96
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import{b as f}from"./chunk.TNLBUOUK.js";import{a as c,c as g}from"./chunk.NI7UJOOZ.js";function b(t){var r,e,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(r=0;r<n;r++)t[r]&&(e=b(t[r]))&&(a&&(a+=" "),a+=e)}else for(e in t)t[e]&&(a&&(a+=" "),a+=e);return a}function y(){for(var t,r,e=0,a="",n=arguments.length;e<n;e++)(t=arguments[e])&&(r=b(t))&&(a&&(a+=" "),a+=r);return a}var x=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,p=y,z=(t,r)=>e=>{var a;if((r==null?void 0:r.variants)==null)return p(t,e==null?void 0:e.class,e==null?void 0:e.className);let{variants:n,defaultVariants:s}=r,w=Object.keys(n).map(o=>{let i=e==null?void 0:e[o],d=s==null?void 0:s[o];if(i===null)return null;let l=x(i)||x(d);return n[o][l]}),m=e&&Object.entries(e).reduce((o,i)=>{let[d,l]=i;return l===void 0||(o[d]=l),o},{}),j=r==null||(a=r.compoundVariants)===null||a===void 0?void 0:a.reduce((o,i)=>{let u=i,{class:d,className:l}=u,V=g(u,["class","className"]);return Object.entries(V).every(k=>{let[v,h]=k;return Array.isArray(h)?h.includes(c(c({},s),m)[v]):c(c({},s),m)[v]===h})?[...o,d,l]:o},[]);return p(t,w,j,e==null?void 0:e.class,e==null?void 0:e.className)};var _=z(`
|
|
2
|
-
header
|
|
3
|
-
`,{variants:{size:{small:"header--size-small",medium:"header--size-medium",large:"header--size-large"},borderBottom:{true:"border-bottom"}}}),B=f`
|
|
4
|
-
.header {
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
padding: 0 var(--hot-spacing-small);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.header.border-bottom {
|
|
12
|
-
border-bottom: var(--hot-spacing-3x-small) solid var(--hot-color-neutral-50);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.header--size-small {
|
|
16
|
-
height: var(--hot-spacing-4x-large);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.header--size-medium {
|
|
20
|
-
height: calc(var(--hot-spacing-4x-large) * 2);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.header--size-large {
|
|
24
|
-
height: calc(var(--hot-spacing-4x-large) * 4);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.header--link {
|
|
28
|
-
text-decoration: none;
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
justify-content: space-between;
|
|
32
|
-
gap: var(--hot-spacing-small);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.header--title {
|
|
36
|
-
color: var(--hot-color-neutral-950);
|
|
37
|
-
font-family: var(--hot-font-sans);
|
|
38
|
-
font-size: var(--hot-font-size-x-large);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.header--tab::part(base) {
|
|
42
|
-
font-size: var(--hot-font-size-medium);
|
|
43
|
-
font-weight: var(--hot-font-weight-normal);
|
|
44
|
-
color: var(--hot-color-neutral-950);
|
|
45
|
-
padding: var(--hot-spacing-small) var(--hot-spacing-small);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.header--tab-group::part(base) {
|
|
49
|
-
--track-color: transparent;
|
|
50
|
-
--indicator-color: none;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.header--nav {
|
|
54
|
-
justify-content: space-between;
|
|
55
|
-
justify-items: center;
|
|
56
|
-
gap: var(--hot-spacing-medium);
|
|
57
|
-
font-weight: var(--hot-font-weight-semibold);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.header--nav-mobile {
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.header--person-circle {
|
|
64
|
-
font-size: var(--hot-font-size-x-large);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.header--drawer {
|
|
68
|
-
font-size: var(--hot-font-size-x-large)
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.header--right-section {
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
gap: var(--hot-spacing-small);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.header--logo-img {
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.header--tab {
|
|
83
|
-
border-bottom: 2px solid;
|
|
84
|
-
border-color: transparent;
|
|
85
|
-
}
|
|
86
|
-
.header--tab-active {
|
|
87
|
-
border-color: var(--hot-color-neutral-1000);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/* Login Modal Styles */
|
|
91
|
-
.login-modal {
|
|
92
|
-
--width: 35rem;
|
|
93
|
-
--border-radius: 8px;
|
|
94
|
-
--background-color: white;
|
|
95
|
-
}
|
|
96
|
-
`;export{_ as a,B as b};
|