@usableapp/cardds 0.7.167 → 0.7.169
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/CHANGELOG.md +26 -0
- package/cardds.css +1 -1
- package/css/choice.css +1 -1
- package/css/finish.css +2 -2
- package/css/fonts.css +53 -24
- package/css/lists.css +6 -6
- package/css/parts.css +1 -1
- package/css/theme.template.css +2 -2
- package/css/tokens.css +5 -4
- package/dist/cardds.css +69 -39
- package/dist/catalog.json +1 -1
- package/docs/reference.md +5 -5
- package/fonts/LICENSES.md +94 -32
- package/fonts/noto-sans/cyrillic.woff2 +0 -0
- package/fonts/noto-sans/greek.woff2 +0 -0
- package/fonts/noto-sans/latin-ext.woff2 +0 -0
- package/fonts/noto-sans/latin.woff2 +0 -0
- package/fonts/noto-sans/vietnamese.woff2 +0 -0
- package/fonts/noto-sans-thai-looped/thai.woff2 +0 -0
- package/package.json +1 -1
- package/fonts/fc-pride-medium.otf +0 -0
- package/fonts/pk-nonthaburi-demo.ttf +0 -0
package/docs/reference.md
CHANGED
|
@@ -27,10 +27,10 @@ source of truth; every consuming project installs the npm package
|
|
|
27
27
|
`@usableapp/cardds`, never the other way round).
|
|
28
28
|
|
|
29
29
|
**Wireframe by default** — grayscale with visible outlines. Color is opt-in,
|
|
30
|
-
lives only in one file, applied with one attribute.
|
|
31
|
-
(`fonts/`, `css/fonts.css`):
|
|
32
|
-
and big numbers
|
|
33
|
-
|
|
30
|
+
lives only in one file, applied with one attribute. One family ships with it
|
|
31
|
+
(`fonts/`, `css/fonts.css`): the Noto Sans family (Noto Sans Thai Looped for Thai) for text and headings alike
|
|
32
|
+
(headings and big numbers are its heavy weights): Thai, Latin, Latin-ext, Vietnamese, Cyrillic, Greek, SIL OFL (commercial use allowed), real weights 100–900; other scripts fall to the system font (`--font-fallback`)
|
|
33
|
+
(`fonts/LICENSES.md`).
|
|
34
34
|
|
|
35
35
|
## Use
|
|
36
36
|
|
|
@@ -687,7 +687,7 @@ between at 40% down the screen (see *Anatomy*, "Where the centre is"):
|
|
|
687
687
|
error><Icon name="x" size="xs" /> Cancel request</Link></Foot>`, stories `Btn · OwnItemFoot`, `Foot · SplitLinks`).
|
|
688
688
|
Each link fills its half (the whole half is the tap target, a status row's height, at least `--tap`), its icon and
|
|
689
689
|
words centred at the link's small size, never wrapped. An `Icon` in any `Link` fills the line of the words, judged by the X (box `0.8em`, knob `--link-icon-size`: the X
|
|
690
|
-
draws 0.47em,
|
|
690
|
+
draws 0.47em, 83% of the Thai body, 0.566em in Noto Sans Thai Looped), its centre on the body band's centre (0.28em over the baseline, the line centred in the link's height), whatever its `size`: `size="xs"` may stay or go. Two `Btn`s (`Btn tone="warn"` for the cancel) still work as the
|
|
691
691
|
halves (story `Foot · Split`): the label words then (knob `--foot-split-font-size`), one short word each. The foot's status
|
|
692
692
|
`Rows` follow the two halves in the same `Foot split` and stand under them, a rule between, the same row pitch
|
|
693
693
|
(`<Foot split><Link sm>…</Link><Link sm error>…</Link><Rows>…</Rows></Foot>`, story `Foot · SplitOverStatus`).
|
package/fonts/LICENSES.md
CHANGED
|
@@ -1,44 +1,106 @@
|
|
|
1
1
|
# Font licenses
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Both families are under the SIL Open Font License 1.1 (commercial use, self-hosting and redistribution allowed; the fonts may not be sold on their own). Source of the files: Google Fonts (fonts.gstatic.com), the woff2 subsets per script.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
Free License
|
|
7
|
-
---------------------------------------------------------------------------------------
|
|
8
|
-
ฟอนต์ "PK Nonthaburi" เวอร์ชั่นฟรี แจกให้ใช้ได้สำหรับงานที่ไม่ใช่เชิงพาณิชย์เท่านั้น
|
|
9
|
-
เว้นแต่ท่านจะเป็น นักเรียน นักศึกษา ครู อาจารย์ สามารถใช้ในเชิงพาณิชย์ได้ฟรีแบบถูกลิขสิทธิ์
|
|
10
|
-
หากเป็นฟรีแลนซ์ องค์กร บริษัท รบกวนช่วยสนับสนุนซื้อฟอนต์ของเราเพื่อใช้งานในเชิงพาณิชย์
|
|
11
|
-
ส่วนนักเรียน หรือคุณครู หากต้องการฟอนต์ครบชุดทุกน้ำหนัก ก็สามารถสั่งซื้อได้เช่นกันในราคาพิเศษ
|
|
12
|
-
ดูรายละเอียดเพิ่มเติมได้ที่ www.pocketfonts.com หรือ Facebook Page : facebook.com/pocketfonts
|
|
13
|
-
---------------------------------------------------------------------------------------
|
|
14
|
-
Copyright © 2025 ALL RIGHT RESERVED | Pocket Fonts
|
|
15
|
-
## FC Pride [Non-commercial] Medium — Fontcraft Studio
|
|
5
|
+
## Noto Sans (Latin, Latin-ext, Vietnamese, Cyrillic, Greek; body and display) — `fonts/noto-sans/`
|
|
16
6
|
|
|
17
|
-
|
|
7
|
+
Copyright 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic)
|
|
8
|
+
Licensed under the SIL Open Font License, Version 1.1 (below).
|
|
9
|
+
|
|
10
|
+
Variable weight axis 100–900, one file per script (`latin`, `latin-ext`, `vietnamese`, `cyrillic`, `greek`).
|
|
11
|
+
|
|
12
|
+
## Noto Sans Thai Looped (Thai) — `fonts/noto-sans-thai-looped/`
|
|
13
|
+
|
|
14
|
+
Copyright 2022 The Noto Project Authors (https://github.com/notofonts/thai)
|
|
15
|
+
Licensed under the SIL Open Font License, Version 1.1 (below).
|
|
16
|
+
|
|
17
|
+
Variable weight axis 100–900 (`thai.woff2`).
|
|
18
|
+
|
|
19
|
+
## SIL Open Font License, Version 1.1
|
|
20
|
+
|
|
21
|
+
-----------------------------------------------------------
|
|
22
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
23
|
+
-----------------------------------------------------------
|
|
24
|
+
|
|
25
|
+
PREAMBLE
|
|
26
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
27
|
+
development of collaborative font projects, to support the font creation
|
|
28
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
29
|
+
open framework in which fonts may be shared and improved in partnership
|
|
30
|
+
with others.
|
|
31
|
+
|
|
32
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
33
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
34
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
35
|
+
redistributed and/or sold with any software provided that any reserved
|
|
36
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
37
|
+
however, cannot be released under any other type of license. The
|
|
38
|
+
requirement for fonts to remain under this license does not apply
|
|
39
|
+
to any document created using the fonts or their derivatives.
|
|
40
|
+
|
|
41
|
+
DEFINITIONS
|
|
42
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
43
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
44
|
+
include source files, build scripts and documentation.
|
|
45
|
+
|
|
46
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
47
|
+
copyright statement(s).
|
|
48
|
+
|
|
49
|
+
"Original Version" refers to the collection of Font Software components as
|
|
50
|
+
distributed by the Copyright Holder(s).
|
|
51
|
+
|
|
52
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
53
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
54
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
55
|
+
new environment.
|
|
56
|
+
|
|
57
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
58
|
+
writer or other person who contributed to the Font Software.
|
|
18
59
|
|
|
19
|
-
|
|
20
|
-
|
|
60
|
+
PERMISSION & CONDITIONS
|
|
61
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
62
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
63
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
64
|
+
Software, subject to the following conditions:
|
|
21
65
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
ท่านสามารถใช้ฟอนต์นี้ได้ฟรี! โดยไม่มีอะไรต้องกังวล
|
|
66
|
+
1) Neither the Font Software nor any of its individual components,
|
|
67
|
+
in Original or Modified Versions, may be sold by itself.
|
|
25
68
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
69
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
70
|
+
redistributed and/or sold with any software, provided that each copy
|
|
71
|
+
contains the above copyright notice and this license. These can be
|
|
72
|
+
included either as stand-alone text files, human-readable headers or
|
|
73
|
+
in the appropriate machine-readable metadata fields within text or
|
|
74
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
29
75
|
|
|
30
|
-
|
|
76
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
77
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
78
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
79
|
+
presented to the users.
|
|
31
80
|
|
|
32
|
-
|
|
33
|
-
|
|
81
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
82
|
+
Software shall not be used to promote, endorse or advertise any
|
|
83
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
84
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
85
|
+
permission.
|
|
34
86
|
|
|
35
|
-
|
|
87
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
88
|
+
must be distributed entirely under this license, and must not be
|
|
89
|
+
distributed under any other license. The requirement for fonts to
|
|
90
|
+
remain under this license does not apply to any document created
|
|
91
|
+
using the Font Software.
|
|
36
92
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
93
|
+
TERMINATION
|
|
94
|
+
This license becomes null and void if any of the above conditions are
|
|
95
|
+
not met.
|
|
40
96
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
97
|
+
DISCLAIMER
|
|
98
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
99
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
100
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
101
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
102
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
103
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
104
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
105
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
106
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usableapp/cardds",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.169",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "card-first mobile design system, React-first: the components in src/ are thin wrappers over the CSS contract (css/*.css stays the only truth); gallery/ shows every story live (npm run dev).",
|
|
Binary file
|
|
Binary file
|