wimui 0.8.0 → 0.9.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.ja.md +32 -0
- package/README.md +32 -0
- package/dist/components/ai/CodeBlock/code-block.module.cjs +1 -1
- package/dist/components/ai/CodeBlock/code-block.module.js +1 -1
- package/dist/components/feedback/ErrorBoundary/errorboundary.module.cjs +1 -1
- package/dist/components/feedback/ErrorBoundary/errorboundary.module.js +1 -1
- package/dist/components/typography/Code/code.module.cjs +1 -1
- package/dist/components/typography/Code/code.module.js +1 -1
- package/dist/fonts/NOTICE.txt +43 -0
- package/dist/fonts/OFL-Noto-Sans-JP.txt +93 -0
- package/dist/fonts/OFL-Noto-Sans-Mono.txt +93 -0
- package/dist/fonts/OFL-Noto-Sans.txt +93 -0
- package/dist/llms-full.txt +2 -1
- package/dist/llms.txt +2 -1
- package/dist/styles.css +1 -1
- package/dist/wimui.umd.css +1 -1
- package/dist/wimui.umd.js +2 -2
- package/package.json +4 -1
package/README.ja.md
CHANGED
|
@@ -80,6 +80,38 @@ export const App = () => <Button>保存</Button>;
|
|
|
80
80
|
|
|
81
81
|
i18next の初期化は不要です。テーマ・密度・ロケールをまとめて扱うなら `WimProvider` を推奨します(後述)。
|
|
82
82
|
|
|
83
|
+
## フォント(任意・非同梱)
|
|
84
|
+
|
|
85
|
+
**パッケージにフォントのバイナリは含まれません**(`files: ["dist"]`)。`styles.css` もフォント配信元へリクエストしません。タイポグラフィのトークンは「推奨ファミリーを先頭に置き、以降はシステムフォントへフォールバック」する形です。
|
|
86
|
+
|
|
87
|
+
| トークン | スタック |
|
|
88
|
+
|---|---|
|
|
89
|
+
| `--wim-font-family-default` / `-en` / `-pt` | `"Noto Sans"` → Segoe UI → Roboto → Helvetica Neue → Arial |
|
|
90
|
+
| `--wim-font-family-ja` | `"Noto Sans JP"` → 游ゴシック体 → ヒラギノ角ゴ ProN → メイリオ |
|
|
91
|
+
| `--wim-font-family-mono` | `"Noto Sans Mono"` → Cascadia Code → Fira Code → Consolas → Monaco → Menlo |
|
|
92
|
+
|
|
93
|
+
したがって何もしなければ利用者の環境のフォントで表示され、動作に支障はありません。ドキュメントサイトと同じ見た目を再現したい場合は、フォントを自分で読み込んでください(トークンは既にそのファミリー名を指しているので、他の変更は不要です)。
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
npm install @fontsource/noto-sans @fontsource/noto-sans-mono
|
|
97
|
+
# 日本語を表示する場合のみ:
|
|
98
|
+
npm install @fontsource/noto-sans-jp
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
```tsx
|
|
102
|
+
// wimui/styles.css と同じエントリポイントで、その前に読み込む
|
|
103
|
+
import "@fontsource/noto-sans/latin-400.css";
|
|
104
|
+
import "@fontsource/noto-sans/latin-500.css";
|
|
105
|
+
import "@fontsource/noto-sans/latin-700.css";
|
|
106
|
+
import "@fontsource/noto-sans-mono/latin-400.css";
|
|
107
|
+
// 日本語:
|
|
108
|
+
import "@fontsource/noto-sans-jp/japanese-400.css";
|
|
109
|
+
|
|
110
|
+
import "wimui/styles.css";
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
コンポーネントが使うウェイトは 400 / 500 / 700 です。中欧・東欧の文字が必要なら `latin-ext-*` を追加してください(ポルトガル語の ã ç õ は `latin` に含まれます)。読み込み方法は問いません(自前ホストの `@font-face`、フォント配信サービス、`next/font` など)。トークンは `Noto Sans` / `Noto Sans JP` / `Noto Sans Mono` というファミリー名が解決できれば足ります。まったく別のフォントを使う場合は、トークン自体を上書きしてください(「デザイントークン」節を参照)。
|
|
114
|
+
|
|
83
115
|
### よく使う公開型・API
|
|
84
116
|
|
|
85
117
|
```tsx
|
package/README.md
CHANGED
|
@@ -78,6 +78,38 @@ export const App = () => <Button>Save</Button>;
|
|
|
78
78
|
|
|
79
79
|
No `i18next` initialization is required. To manage theme, density, and locale together, `WimProvider` is recommended (see below).
|
|
80
80
|
|
|
81
|
+
## Fonts (optional, not bundled)
|
|
82
|
+
|
|
83
|
+
**The package ships no font binaries** (`files: ["dist"]`), and `styles.css` makes no request to a font host. The typography tokens name a preferred family first and then fall back to system faces:
|
|
84
|
+
|
|
85
|
+
| Token | Stack |
|
|
86
|
+
|---|---|
|
|
87
|
+
| `--wim-font-family-default` / `-en` / `-pt` | `"Noto Sans"` → Segoe UI → Roboto → Helvetica Neue → Arial |
|
|
88
|
+
| `--wim-font-family-ja` | `"Noto Sans JP"` → Yu Gothic → Hiragino Kaku Gothic ProN → Meiryo |
|
|
89
|
+
| `--wim-font-family-mono` | `"Noto Sans Mono"` → Cascadia Code → Fira Code → Consolas → Monaco → Menlo |
|
|
90
|
+
|
|
91
|
+
So out of the box you get your users' system fonts, and everything still works. To reproduce the reference look of the documentation site, install the faces yourself — the design tokens already point at them, so nothing else changes:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
npm install @fontsource/noto-sans @fontsource/noto-sans-mono
|
|
95
|
+
# add only if you render Japanese:
|
|
96
|
+
npm install @fontsource/noto-sans-jp
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
```tsx
|
|
100
|
+
// at the same entry point as wimui/styles.css, before it
|
|
101
|
+
import "@fontsource/noto-sans/latin-400.css";
|
|
102
|
+
import "@fontsource/noto-sans/latin-500.css";
|
|
103
|
+
import "@fontsource/noto-sans/latin-700.css";
|
|
104
|
+
import "@fontsource/noto-sans-mono/latin-400.css";
|
|
105
|
+
// Japanese only:
|
|
106
|
+
import "@fontsource/noto-sans-jp/japanese-400.css";
|
|
107
|
+
|
|
108
|
+
import "wimui/styles.css";
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Weights 400 / 500 / 700 are the ones the components use. Add `latin-ext-*` for Central/Eastern European coverage; Portuguese diacritics (ã ç õ) are already in `latin`. Any other loading mechanism works too (self-hosted `@font-face`, a font host, `next/font`) — the tokens only need the family names `Noto Sans`, `Noto Sans JP`, and `Noto Sans Mono` to resolve. To use entirely different fonts, override the tokens instead (see "Design tokens").
|
|
112
|
+
|
|
81
113
|
### Commonly used public types / APIs
|
|
82
114
|
|
|
83
115
|
```tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_894do_3`,t=`_header_894do_11`,n=`_lang_894do_19`,r=`_headerActions_894do_27`,i=`_iconButton_894do_32`,a=`_copied_894do_53`,o=`_chevron_894do_59`,s=`_chevronUp_894do_62`,c=`_body_894do_65`,l=`_collapsed_894do_68`,u=`_pre_894do_72`,d=`_code_894do_84`,f=`_line_894do_88`,p=`_lineNumber_894do_91`,m=`_lineContent_894do_100`,h={root:e,header:t,lang:n,headerActions:r,iconButton:i,copied:a,chevron:o,chevronUp:s,body:c,collapsed:l,pre:u,code:d,line:f,lineNumber:p,lineContent:m};exports.body=c,exports.chevron=o,exports.chevronUp=s,exports.code=d,exports.collapsed=l,exports.copied=a,exports.default=h,exports.header=t,exports.headerActions=r,exports.iconButton=i,exports.lang=n,exports.line=f,exports.lineContent=m,exports.lineNumber=p,exports.pre=u,exports.root=e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/ai/CodeBlock/code-block.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_894do_3", t = "_header_894do_11", n = "_lang_894do_19", r = "_headerActions_894do_27", i = "_iconButton_894do_32", a = "_copied_894do_53", o = "_chevron_894do_59", s = "_chevronUp_894do_62", c = "_body_894do_65", l = "_collapsed_894do_68", u = "_pre_894do_72", d = "_code_894do_84", f = "_line_894do_88", p = "_lineNumber_894do_91", m = "_lineContent_894do_100", h = {
|
|
4
4
|
root: e,
|
|
5
5
|
header: t,
|
|
6
6
|
lang: n,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_fallback_25iy1_3`,t=`_details_25iy1_6`,n={fallback:e,details:t};exports.default=n,exports.details=t,exports.fallback=e;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_7efae_2`,t=`_inline_7efae_8`,n=`_block_7efae_16`,r={root:e,inline:t,block:n};exports.block=n,exports.default=r,exports.inline=t,exports.root=e;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Web font notice — WIM UI documentation site (Storybook)
|
|
2
|
+
=======================================================
|
|
3
|
+
|
|
4
|
+
This site serves the web fonts listed below. They are bundled from the
|
|
5
|
+
@fontsource npm packages (dev dependencies of this repository) so that the
|
|
6
|
+
documentation renders and screenshots identically without any request to a
|
|
7
|
+
third-party font host.
|
|
8
|
+
|
|
9
|
+
The published npm package (`wimui`, `files: ["dist"]`) contains NO font
|
|
10
|
+
binaries. Consumers get their host's fonts unless they opt in — see the
|
|
11
|
+
"Fonts" section of the project README.
|
|
12
|
+
|
|
13
|
+
Fonts
|
|
14
|
+
-----
|
|
15
|
+
|
|
16
|
+
1. Noto Sans
|
|
17
|
+
Source package: @fontsource/noto-sans 5.3.0
|
|
18
|
+
Subsets served: latin, latin-ext (weights 400 / 500 / 700)
|
|
19
|
+
License: SIL Open Font License 1.1 — see OFL-Noto-Sans.txt
|
|
20
|
+
Copyright 2022 The Noto Project Authors
|
|
21
|
+
(https://github.com/notofonts/latin-greek-cyrillic)
|
|
22
|
+
|
|
23
|
+
2. Noto Sans JP
|
|
24
|
+
Source package: @fontsource/noto-sans-jp 5.3.0
|
|
25
|
+
Subsets served: latin, japanese (weights 400 / 500 / 700)
|
|
26
|
+
License: SIL Open Font License 1.1 — see OFL-Noto-Sans-JP.txt
|
|
27
|
+
Upstream notice (google/fonts, ofl/notosansjp/OFL.txt):
|
|
28
|
+
Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font
|
|
29
|
+
Name 'Source'. The license file shipped inside the @fontsource package
|
|
30
|
+
carries the shorter attribution "Google Inc."; both are reproduced here so
|
|
31
|
+
the notice is not weaker than upstream's.
|
|
32
|
+
|
|
33
|
+
3. Noto Sans Mono
|
|
34
|
+
Source package: @fontsource/noto-sans-mono 5.3.0
|
|
35
|
+
Subsets served: latin, latin-ext (weights 400 / 500 / 700)
|
|
36
|
+
License: SIL Open Font License 1.1 — see OFL-Noto-Sans-Mono.txt
|
|
37
|
+
Copyright 2022 The Noto Project Authors
|
|
38
|
+
(https://github.com/notofonts/latin-greek-cyrillic)
|
|
39
|
+
|
|
40
|
+
The full OFL 1.1 text accompanies each family in this directory, as required
|
|
41
|
+
by the license when the font software is redistributed (OFL 1.1, condition 2).
|
|
42
|
+
The fonts are unmodified: no subsetting, renaming, or other change was applied
|
|
43
|
+
by this project beyond selecting which of the upstream subset files to serve.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Google Inc.
|
|
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 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic)
|
|
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 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic) NotoSans-Italic[wdth,wght].ttf: Copyright 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic)
|
|
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.
|
package/dist/llms-full.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.
|
|
7
|
+
**wimui** v0.9.0 — a React 19 component library: 216 documented components across 10 categories, with design tokens, dark mode, i18n (en/ja/pt-BR) and WAI-ARIA compliant a11y. Peer deps: react ^19, react-dom ^19 (plus optional peers for specific components — see package.json).
|
|
8
8
|
|
|
9
9
|
## Install & required setup
|
|
10
10
|
|
|
@@ -26,6 +26,7 @@ import { Stack, Grid } from "wimui/layout";
|
|
|
26
26
|
- **Density**: `data-density="comfortable|compact"`, or `WimProvider` / `setWimDensity()`.
|
|
27
27
|
- **Never hardcode** colors / spacing / sizes in consumer code — use the `--wim-*` CSS custom properties (tokens) that styles.css defines.
|
|
28
28
|
- **Form + RHF** helpers live in `wimui/rhf` (react-hook-form + zod), not the root barrel.
|
|
29
|
+
- **Fonts are NOT bundled** and styles.css requests none. The tokens name `"Noto Sans"` (default/en/pt), `"Noto Sans JP"` (ja) and `"Noto Sans Mono"` (mono) first, then fall back to system faces — so omitting fonts is valid and renders fine. To match the documentation site, have the app load those families itself (weights 400/500/700), e.g. `npm i @fontsource/noto-sans @fontsource/noto-sans-mono` then `import "@fontsource/noto-sans/latin-400.css"` before styles.css. Do not invent a `wimui/fonts.css` — it does not exist. To use different fonts, override `--wim-font-family-*` instead.
|
|
29
30
|
|
|
30
31
|
## Import paths
|
|
31
32
|
|
package/dist/llms.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.
|
|
7
|
+
**wimui** v0.9.0 — a React 19 component library: 216 documented components across 10 categories, with design tokens, dark mode, i18n (en/ja/pt-BR) and WAI-ARIA compliant a11y. Peer deps: react ^19, react-dom ^19 (plus optional peers for specific components — see package.json).
|
|
8
8
|
|
|
9
9
|
## Install & required setup
|
|
10
10
|
|
|
@@ -26,6 +26,7 @@ import { Stack, Grid } from "wimui/layout";
|
|
|
26
26
|
- **Density**: `data-density="comfortable|compact"`, or `WimProvider` / `setWimDensity()`.
|
|
27
27
|
- **Never hardcode** colors / spacing / sizes in consumer code — use the `--wim-*` CSS custom properties (tokens) that styles.css defines.
|
|
28
28
|
- **Form + RHF** helpers live in `wimui/rhf` (react-hook-form + zod), not the root barrel.
|
|
29
|
+
- **Fonts are NOT bundled** and styles.css requests none. The tokens name `"Noto Sans"` (default/en/pt), `"Noto Sans JP"` (ja) and `"Noto Sans Mono"` (mono) first, then fall back to system faces — so omitting fonts is valid and renders fine. To match the documentation site, have the app load those families itself (weights 400/500/700), e.g. `npm i @fontsource/noto-sans @fontsource/noto-sans-mono` then `import "@fontsource/noto-sans/latin-400.css"` before styles.css. Do not invent a `wimui/fonts.css` — it does not exist. To use different fonts, override `--wim-font-family-*` instead.
|
|
29
30
|
|
|
30
31
|
## Import paths
|
|
31
32
|
|