@hotosm/ui 2.1.3 → 3.0.0
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/README.md +23 -10
- package/dist/assets/fonts/archivo-OFL.txt +93 -0
- package/dist/assets/fonts/archivo-latin-ext-wght-italic.woff2 +0 -0
- package/dist/assets/fonts/archivo-latin-ext-wght-normal.woff2 +0 -0
- package/dist/assets/fonts/archivo-latin-wght-italic.woff2 +0 -0
- package/dist/assets/fonts/archivo-latin-wght-normal.woff2 +0 -0
- package/dist/assets/fonts/archivo-vietnamese-wght-italic.woff2 +0 -0
- package/dist/assets/fonts/archivo-vietnamese-wght-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-OFL.txt +93 -0
- package/dist/assets/fonts/barlow-condensed-OFL.txt +93 -0
- package/dist/assets/fonts/barlow-condensed-latin-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-ext-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-ext-700-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-vietnamese-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-vietnamese-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-vietnamese-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-vietnamese-700-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-ext-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-ext-700-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-vietnamese-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-vietnamese-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-vietnamese-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-vietnamese-700-normal.woff2 +0 -0
- package/dist/chunks/{chunk.R7BKNF25.js → chunk.7BYMVIPM.js} +1 -1
- package/dist/chunks/{chunk.347QGSW2.js → chunk.BAC53IGT.js} +1 -1
- package/dist/chunks/{chunk.TJOQKPXN.js → chunk.DFQYQQJP.js} +1 -1
- package/dist/chunks/{chunk.VSRVTIBV.js → chunk.JTJUFKO5.js} +1 -1
- package/dist/chunks/{chunk.DY7CT6FN.js → chunk.NP2E72A6.js} +1 -1
- package/dist/chunks/{chunk.B77WIT2F.js → chunk.WSSLY3L6.js} +1 -1
- 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/file-input-dropzone/file-input-dropzone.component.js +1 -1
- package/dist/components/file-input-dropzone/file-input-dropzone.js +1 -1
- package/dist/components/list-card/list-card.component.js +1 -1
- package/dist/components/list-card/list-card.js +1 -1
- package/dist/components/list-card/list-card.styles.js +1 -1
- package/dist/hotosm-ui.js +1 -1
- package/dist/style-core.css +1 -1
- package/dist/style.css +1 -1
- package/dist/themes/hot-font-face.css +354 -0
- package/dist/themes/hot.css +91 -111
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ Or from CDN:
|
|
|
94
94
|
<!-- markdownlint-disable MD013 -->
|
|
95
95
|
|
|
96
96
|
```html
|
|
97
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@hotosm/ui@
|
|
97
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@hotosm/ui@3.0.0/dist/style.css" />
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
<!-- markdownlint-enable MD013 -->
|
|
@@ -104,11 +104,22 @@ load the WebAwesome base stylesheets themselves - most apps don't need it.
|
|
|
104
104
|
|
|
105
105
|
### Fonts
|
|
106
106
|
|
|
107
|
-
**
|
|
108
|
-
|
|
107
|
+
**Nothing to add.** `style.css` and `style-core.css` include self-hosted
|
|
108
|
+
`@font-face` rules for the HOT brand fonts: Archivo (`--hot-font-sans`),
|
|
109
|
+
Barlow (`--hot-font-sans-variant`) and Barlow Condensed
|
|
110
|
+
(`--hot-font-sans-variant-condensed`). The woff2 files ship in
|
|
111
|
+
`dist/assets/fonts` as latin / latin-ext / vietnamese subsets with
|
|
112
|
+
`unicode-range`, so browsers only download what a page renders. Remove any
|
|
113
|
+
Google Fonts `<link>` for these families.
|
|
109
114
|
|
|
110
|
-
|
|
111
|
-
|
|
115
|
+
Scripts these fonts don't cover fall back to Helvetica (Apple) or Noto
|
|
116
|
+
(Android / ChromeOS), then the system sans. Set `lang` on `<html>` and on any
|
|
117
|
+
content in a different language from the page (e.g. user-created project
|
|
118
|
+
names) - browsers use it to pick the right fallback, and it is what future
|
|
119
|
+
per-language `:lang()` tweaks will hook onto.
|
|
120
|
+
|
|
121
|
+
See [MADR 0014](https://docs.hotosm.org/decisions/0014-ui-fonts) and the
|
|
122
|
+
[font test page](https://hotosm.github.io/ui-design/html/font-test.html).
|
|
112
123
|
|
|
113
124
|
---
|
|
114
125
|
|
|
@@ -135,8 +146,10 @@ Add the required WebAwesome classes to your `<html>` element:
|
|
|
135
146
|
### Semantic variants
|
|
136
147
|
|
|
137
148
|
`brand`, `danger`, `warning` and `neutral` follow the HOT palette with no extra
|
|
138
|
-
classes. `
|
|
139
|
-
|
|
149
|
+
classes. Since 3.0.0 `brand` follows HOT primary, which is grey (see
|
|
150
|
+
[hotosm/ui-design](https://github.com/hotosm/ui-design/blob/main/css/dist/hot.css)).
|
|
151
|
+
`success` stays green rather than the HOT teal, which reads poorly against a
|
|
152
|
+
red danger.
|
|
140
153
|
|
|
141
154
|
Any variant can take any hue via WebAwesome's
|
|
142
155
|
[variant classes](https://webawesome.com/docs/utilities/color/), which override
|
|
@@ -249,7 +262,7 @@ element registrations and most `wa-*` elements never register.
|
|
|
249
262
|
<!-- Fonts: see "Fonts" above -->
|
|
250
263
|
|
|
251
264
|
<!-- WebAwesome base styles + HOT theme, self-contained -->
|
|
252
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@hotosm/ui@
|
|
265
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@hotosm/ui@3.0.0/dist/style.css" />
|
|
253
266
|
|
|
254
267
|
<script type="importmap">
|
|
255
268
|
{
|
|
@@ -262,11 +275,11 @@ element registrations and most `wa-*` elements never register.
|
|
|
262
275
|
<!-- Register every wa-* element, then the hot-* components -->
|
|
263
276
|
<script
|
|
264
277
|
type="module"
|
|
265
|
-
src="https://cdn.jsdelivr.net/npm/@hotosm/ui@
|
|
278
|
+
src="https://cdn.jsdelivr.net/npm/@hotosm/ui@3.0.0/dist/webawesome-all.js"
|
|
266
279
|
></script>
|
|
267
280
|
<script
|
|
268
281
|
type="module"
|
|
269
|
-
src="https://cdn.jsdelivr.net/npm/@hotosm/ui@
|
|
282
|
+
src="https://cdn.jsdelivr.net/npm/@hotosm/ui@3.0.0/dist/hotosm-ui.js"
|
|
270
283
|
></script>
|
|
271
284
|
</head>
|
|
272
285
|
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo) Archivo-Italic[wdth,wght].ttf: Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-ThinItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-ExtraLight.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-ExtraLightItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-Light.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-LightItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-Regular.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-Italic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-Medium.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-MediumItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-SemiBold.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-SemiBoldItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-Bold.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-BoldItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-ExtraBold.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-ExtraBoldItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-Black.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) Barlow-BlackItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-ThinItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-ExtraLight.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-ExtraLightItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Light.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-LightItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Regular.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Italic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Medium.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-MediumItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-SemiBold.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-SemiBoldItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Bold.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-BoldItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-ExtraBold.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-ExtraBoldItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Black.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-BlackItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as e}from"./chunk.
|
|
1
|
+
import{b as e}from"./chunk.NP2E72A6.js";var n=e;customElements.get("hot-consent")||customElements.define("hot-consent",e);export{n as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as t}from"./chunk.
|
|
1
|
+
import{b as t}from"./chunk.WSSLY3L6.js";var a=t;customElements.get("hot-list-card")||customElements.define("hot-list-card",t);export{a};
|
|
@@ -11,7 +11,7 @@ import{a as o}from"./chunk.HOF672RD.js";var t=o`
|
|
|
11
11
|
padding: var(--hot-spacing-small);
|
|
12
12
|
border: 1px solid var(--hot-color-neutral-200);
|
|
13
13
|
border-radius: var(--hot-border-radius-medium);
|
|
14
|
-
background-color: var(--hot-color-neutral-
|
|
14
|
+
background-color: var(--hot-color-neutral-0);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.list-icon {
|
|
@@ -139,7 +139,7 @@ import{a as o}from"./chunk.HOF672RD.js";var e=o`
|
|
|
139
139
|
/* High contrast mode support */
|
|
140
140
|
@media (prefers-contrast: high) {
|
|
141
141
|
.consent-callout {
|
|
142
|
-
border: 2px solid var(--hot-color-neutral-
|
|
142
|
+
border: 2px solid var(--hot-color-neutral-1000);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.consent-button {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as l}from"./chunk.KO4EOD3I.js";import{a as d}from"./chunk.
|
|
1
|
+
import{a as l}from"./chunk.KO4EOD3I.js";import{a as d}from"./chunk.JTJUFKO5.js";import{a as o}from"./chunk.DVVFVLNQ.js";import{d as r,g as c}from"./chunk.HOF672RD.js";import{d as s,e as a,f as n,g as i}from"./chunk.N2W26RCT.js";Promise.allSettled([import("@awesome.me/webawesome/dist/components/callout/callout.js"),import("@awesome.me/webawesome/dist/components/icon/icon.js"),import("@awesome.me/webawesome/dist/components/button/button.js")]);l();var u,g,p,b,h,m,e=class extends c{constructor(){super(...arguments);this.name="hot-consent";n(this,u,"");n(this,g,!1);n(this,p,"About the information we collect");n(this,b,"We use cookies and similar technologies to recognize and analyze your visits, and measure traffic usage and activity.");n(this,h,"I Agree");n(this,m,"I Do Not Agree")}get consentId(){return a(this,u)}set consentId(t){i(this,u,t)}get isOpen(){return a(this,g)}set isOpen(t){i(this,g,t)}get title(){return a(this,p)}set title(t){i(this,p,t)}get message(){return a(this,b)}set message(t){i(this,b,t)}get agreeLabel(){return a(this,h)}set agreeLabel(t){i(this,h,t)}get notAgreeLabel(){return a(this,m)}set notAgreeLabel(t){i(this,m,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="l" class="consent-callout">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as r}from"./chunk.
|
|
1
|
+
import{a as r}from"./chunk.DFQYQQJP.js";import{a as n}from"./chunk.DVVFVLNQ.js";import{d as a,g as c}from"./chunk.HOF672RD.js";import{d as t,e as s,f as o,g as i}from"./chunk.N2W26RCT.js";Promise.allSettled([import("@awesome.me/webawesome/dist/components/icon/icon.js")]);var h,m,d,v,u,y,e=class extends c{constructor(){super(...arguments);this.name="hot-list-card";o(this,h,"");o(this,m,"");o(this,d,"");o(this,v,"");o(this,u,!1);o(this,y,!1)}get title(){return s(this,h)}set title(l){i(this,h,l)}get subtitle(){return s(this,m)}set subtitle(l){i(this,m,l)}get icon(){return s(this,d)}set icon(l){i(this,d,l)}get itemId(){return s(this,v)}set itemId(l){i(this,v,l)}get showRemove(){return s(this,u)}set showRemove(l){i(this,u,l)}get showIcon(){return s(this,y)}set showIcon(l){i(this,y,l)}_handleRemove(){this.dispatchEvent(new CustomEvent("hot-remove",{detail:{id:this.itemId},bubbles:!0,composed:!0}))}_handleKeyDown(l){(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),this._handleRemove())}render(){let l=this.showIcon&&this.icon;return a`
|
|
2
2
|
<div class="list-item" role="listitem">
|
|
3
3
|
${l?a`<wa-icon name=${this.icon} class="list-icon" aria-hidden="true"></wa-icon>`:""}
|
|
4
4
|
<div class="list-info">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk.
|
|
1
|
+
import{a,b}from"../../chunks/chunk.NP2E72A6.js";import"../../chunks/chunk.KO4EOD3I.js";import"../../chunks/chunk.JTJUFKO5.js";import"../../chunks/chunk.DVVFVLNQ.js";import"../../chunks/chunk.HOF672RD.js";import"../../chunks/chunk.N2W26RCT.js";export{a as Consent,b as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.7BYMVIPM.js";import"../../chunks/chunk.NP2E72A6.js";import"../../chunks/chunk.KO4EOD3I.js";import"../../chunks/chunk.JTJUFKO5.js";import"../../chunks/chunk.DVVFVLNQ.js";import"../../chunks/chunk.HOF672RD.js";import"../../chunks/chunk.N2W26RCT.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.JTJUFKO5.js";import"../../chunks/chunk.HOF672RD.js";import"../../chunks/chunk.N2W26RCT.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk.45EZ2EC2.js";import"../../chunks/chunk.AYSFL7J5.js";import"../../chunks/chunk.
|
|
1
|
+
import{a,b}from"../../chunks/chunk.45EZ2EC2.js";import"../../chunks/chunk.AYSFL7J5.js";import"../../chunks/chunk.BAC53IGT.js";import"../../chunks/chunk.WSSLY3L6.js";import"../../chunks/chunk.DFQYQQJP.js";import"../../chunks/chunk.DVVFVLNQ.js";import"../../chunks/chunk.HOF672RD.js";import"../../chunks/chunk.N2W26RCT.js";export{a as FileInputDropzone,b as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.GP3AB7RO.js";import"../../chunks/chunk.45EZ2EC2.js";import"../../chunks/chunk.AYSFL7J5.js";import"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.GP3AB7RO.js";import"../../chunks/chunk.45EZ2EC2.js";import"../../chunks/chunk.AYSFL7J5.js";import"../../chunks/chunk.BAC53IGT.js";import"../../chunks/chunk.WSSLY3L6.js";import"../../chunks/chunk.DFQYQQJP.js";import"../../chunks/chunk.DVVFVLNQ.js";import"../../chunks/chunk.HOF672RD.js";import"../../chunks/chunk.N2W26RCT.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk.
|
|
1
|
+
import{a,b}from"../../chunks/chunk.WSSLY3L6.js";import"../../chunks/chunk.DFQYQQJP.js";import"../../chunks/chunk.DVVFVLNQ.js";import"../../chunks/chunk.HOF672RD.js";import"../../chunks/chunk.N2W26RCT.js";export{a as ListCard,b as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.BAC53IGT.js";import"../../chunks/chunk.WSSLY3L6.js";import"../../chunks/chunk.DFQYQQJP.js";import"../../chunks/chunk.DVVFVLNQ.js";import"../../chunks/chunk.HOF672RD.js";import"../../chunks/chunk.N2W26RCT.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.DFQYQQJP.js";import"../../chunks/chunk.HOF672RD.js";import"../../chunks/chunk.N2W26RCT.js";export{a as default};
|
package/dist/hotosm-ui.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunks/chunk.TMPPHKMO.js";import"./chunks/chunk.LJ4XIP4K.js";import"./chunks/chunk.LIASDRWH.js";import{a as y}from"./chunks/chunk.HJTJO26W.js";import"./chunks/chunk.LH3TTPVQ.js";import"./chunks/chunk.IVW6CBE7.js";import{a as u}from"./chunks/chunk.D2QPKXC3.js";import"./chunks/chunk.RPCVLKA4.js";import{a as S}from"./chunks/chunk.GP3AB7RO.js";import{a as m}from"./chunks/chunk.G7OBK7EE.js";import"./chunks/chunk.JCAWUWEO.js";import"./chunks/chunk.7X5TBZPD.js";import{a as f}from"./chunks/chunk.HY6LFZQK.js";import"./chunks/chunk.HPW4YC7W.js";import{a as d}from"./chunks/chunk.
|
|
1
|
+
import{a as p}from"./chunks/chunk.TMPPHKMO.js";import"./chunks/chunk.LJ4XIP4K.js";import"./chunks/chunk.LIASDRWH.js";import{a as y}from"./chunks/chunk.HJTJO26W.js";import"./chunks/chunk.LH3TTPVQ.js";import"./chunks/chunk.IVW6CBE7.js";import{a as u}from"./chunks/chunk.D2QPKXC3.js";import"./chunks/chunk.RPCVLKA4.js";import{a as S}from"./chunks/chunk.GP3AB7RO.js";import{a as m}from"./chunks/chunk.G7OBK7EE.js";import"./chunks/chunk.JCAWUWEO.js";import"./chunks/chunk.7X5TBZPD.js";import{a as f}from"./chunks/chunk.HY6LFZQK.js";import"./chunks/chunk.HPW4YC7W.js";import{a as d}from"./chunks/chunk.7BYMVIPM.js";import"./chunks/chunk.NP2E72A6.js";import"./chunks/chunk.KO4EOD3I.js";import"./chunks/chunk.JTJUFKO5.js";import"./chunks/chunk.45EZ2EC2.js";import"./chunks/chunk.AYSFL7J5.js";import{a as h}from"./chunks/chunk.BAC53IGT.js";import"./chunks/chunk.WSSLY3L6.js";import"./chunks/chunk.DFQYQQJP.js";import"./chunks/chunk.DVVFVLNQ.js";import"./chunks/chunk.HOF672RD.js";import"./chunks/chunk.N2W26RCT.js";function a(t,e=document){let o=[],r=e.querySelectorAll(t);return o.push(...Array.from(r)),e.querySelectorAll("*").forEach(i=>{i.shadowRoot&&o.push(...a(t,i.shadowRoot))}),o}function g(t){let{css:e,selector:o="wa-button",all:r=!0,styleId:s="hot-theme-injection"}=t;(r?a(o):[a(o)[0]].filter(Boolean)).forEach(n=>{if(!n)return;let c=()=>{if(!n.shadowRoot){setTimeout(c,10);return}if(n.shadowRoot.getElementById(s))return;let l=document.createElement("style");l.id=s,l.textContent=e,n.shadowRoot.appendChild(l)};c()})}export{f as Announcement,d as Consent,S as FileInputDropzone,m as Header,h as ListCard,p as Logo,y as ToolMenu,u as Tracking,g as injectCSSIntoShadowDOM};
|