wimui 0.8.0 → 0.10.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.
Files changed (38) hide show
  1. package/README.ja.md +32 -0
  2. package/README.md +32 -0
  3. package/dist/components/ai/CodeBlock/code-block.module.cjs +1 -1
  4. package/dist/components/ai/CodeBlock/code-block.module.js +1 -1
  5. package/dist/components/data-display/Badge/badge.module.cjs +1 -1
  6. package/dist/components/data-display/Badge/badge.module.js +1 -1
  7. package/dist/components/data-display/Chip/chip.module.cjs +1 -1
  8. package/dist/components/data-display/Chip/chip.module.js +2 -2
  9. package/dist/components/data-display/Stats/stats.module.cjs +1 -1
  10. package/dist/components/data-display/Stats/stats.module.js +1 -1
  11. package/dist/components/data-display/Tag/tag.module.cjs +1 -1
  12. package/dist/components/data-display/Tag/tag.module.js +1 -1
  13. package/dist/components/feedback/ErrorBoundary/errorboundary.module.cjs +1 -1
  14. package/dist/components/feedback/ErrorBoundary/errorboundary.module.js +1 -1
  15. package/dist/components/typography/Code/code.module.cjs +1 -1
  16. package/dist/components/typography/Code/code.module.js +1 -1
  17. package/dist/fonts/NOTICE.txt +43 -0
  18. package/dist/fonts/OFL-Noto-Sans-JP.txt +93 -0
  19. package/dist/fonts/OFL-Noto-Sans-Mono.txt +93 -0
  20. package/dist/fonts/OFL-Noto-Sans.txt +93 -0
  21. package/dist/icon/grid.cjs +2 -0
  22. package/dist/icon/grid.js +72 -0
  23. package/dist/icon/index.cjs +1 -1
  24. package/dist/icon/index.d.ts +5 -1
  25. package/dist/icon/index.js +98 -94
  26. package/dist/icon/menu.cjs +2 -0
  27. package/dist/icon/menu.js +36 -0
  28. package/dist/icons.cjs +1 -1
  29. package/dist/icons.js +51 -49
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.js +216 -214
  32. package/dist/llms-full.txt +5 -4
  33. package/dist/llms.txt +5 -4
  34. package/dist/styles.css +2 -2
  35. package/dist/types/generated-tokens.d.ts +1 -1
  36. package/dist/wimui.umd.css +1 -1
  37. package/dist/wimui.umd.js +5 -5
  38. 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=`_root_1rkn7_3`,t=`_header_1rkn7_11`,n=`_lang_1rkn7_19`,r=`_headerActions_1rkn7_27`,i=`_iconButton_1rkn7_32`,a=`_copied_1rkn7_53`,o=`_chevron_1rkn7_59`,s=`_chevronUp_1rkn7_62`,c=`_body_1rkn7_65`,l=`_collapsed_1rkn7_68`,u=`_pre_1rkn7_72`,d=`_code_1rkn7_84`,f=`_line_1rkn7_87`,p=`_lineNumber_1rkn7_90`,m=`_lineContent_1rkn7_99`,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;
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 = "_root_1rkn7_3", t = "_header_1rkn7_11", n = "_lang_1rkn7_19", r = "_headerActions_1rkn7_27", i = "_iconButton_1rkn7_32", a = "_copied_1rkn7_53", o = "_chevron_1rkn7_59", s = "_chevronUp_1rkn7_62", c = "_body_1rkn7_65", l = "_collapsed_1rkn7_68", u = "_pre_1rkn7_72", d = "_code_1rkn7_84", f = "_line_1rkn7_87", p = "_lineNumber_1rkn7_90", m = "_lineContent_1rkn7_99", h = {
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=`_root_119ux_2`,t=`_sm_119ux_15`,n=`_iconOnly_119ux_21`,r=`_md_119ux_28`,i=`_lg_119ux_41`,a=`_primary_119ux_54`,o=`_solid_119ux_54`,s=`_outline_119ux_60`,c=`_subtle_119ux_65`,l=`_secondary_119ux_71`,u=`_success_119ux_88`,d=`_warning_119ux_105`,f=`_danger_119ux_122`,p=`_info_119ux_139`,m=`_neutral_119ux_156`,h=`_interactive_119ux_173`,g=`_icon_119ux_21`,_={root:e,sm:t,iconOnly:n,md:r,lg:i,primary:a,solid:o,outline:s,subtle:c,secondary:l,success:u,warning:d,danger:f,info:p,neutral:m,interactive:h,icon:g};exports.danger=f,exports.default=_,exports.icon=g,exports.iconOnly=n,exports.info=p,exports.interactive=h,exports.lg=i,exports.md=r,exports.neutral=m,exports.outline=s,exports.primary=a,exports.root=e,exports.secondary=l,exports.sm=t,exports.solid=o,exports.subtle=c,exports.success=u,exports.warning=d;
2
+ var e=`_root_ezkdw_2`,t=`_sm_ezkdw_15`,n=`_iconOnly_ezkdw_21`,r=`_md_ezkdw_28`,i=`_lg_ezkdw_41`,a=`_primary_ezkdw_54`,o=`_solid_ezkdw_54`,s=`_outline_ezkdw_60`,c=`_subtle_ezkdw_65`,l=`_secondary_ezkdw_71`,u=`_success_ezkdw_88`,d=`_warning_ezkdw_105`,f=`_danger_ezkdw_122`,p=`_info_ezkdw_139`,m=`_neutral_ezkdw_156`,h=`_interactive_ezkdw_173`,g=`_icon_ezkdw_21`,_={root:e,sm:t,iconOnly:n,md:r,lg:i,primary:a,solid:o,outline:s,subtle:c,secondary:l,success:u,warning:d,danger:f,info:p,neutral:m,interactive:h,icon:g};exports.danger=f,exports.default=_,exports.icon=g,exports.iconOnly=n,exports.info=p,exports.interactive=h,exports.lg=i,exports.md=r,exports.neutral=m,exports.outline=s,exports.primary=a,exports.root=e,exports.secondary=l,exports.sm=t,exports.solid=o,exports.subtle=c,exports.success=u,exports.warning=d;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  //#region src/components/data-display/Badge/badge.module.scss
3
- var e = "_root_119ux_2", t = "_sm_119ux_15", n = "_iconOnly_119ux_21", r = "_md_119ux_28", i = "_lg_119ux_41", a = "_primary_119ux_54", o = "_solid_119ux_54", s = "_outline_119ux_60", c = "_subtle_119ux_65", l = "_secondary_119ux_71", u = "_success_119ux_88", d = "_warning_119ux_105", f = "_danger_119ux_122", p = "_info_119ux_139", m = "_neutral_119ux_156", h = "_interactive_119ux_173", g = "_icon_119ux_21", _ = {
3
+ var e = "_root_ezkdw_2", t = "_sm_ezkdw_15", n = "_iconOnly_ezkdw_21", r = "_md_ezkdw_28", i = "_lg_ezkdw_41", a = "_primary_ezkdw_54", o = "_solid_ezkdw_54", s = "_outline_ezkdw_60", c = "_subtle_ezkdw_65", l = "_secondary_ezkdw_71", u = "_success_ezkdw_88", d = "_warning_ezkdw_105", f = "_danger_ezkdw_122", p = "_info_ezkdw_139", m = "_neutral_ezkdw_156", h = "_interactive_ezkdw_173", g = "_icon_ezkdw_21", _ = {
4
4
  root: e,
5
5
  sm: t,
6
6
  iconOnly: n,
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_root_zlt38_2`,t=`_md_zlt38_19`,n=`_avatar_zlt38_24`,r=`_sm_zlt38_29`,i=`_lg_zlt38_39`,a=`_clickable_zlt38_49`,o=`_primary_zlt38_60`,s=`_solid_zlt38_60`,c=`_outline_zlt38_66`,l=`_subtle_zlt38_71`,u=`_secondary_zlt38_77`,d=`_success_zlt38_94`,f=`_warning_zlt38_111`,p=`_danger_zlt38_128`,m=`_info_zlt38_145`,h=`_neutral_zlt38_162`,g=`_selected_zlt38_179`,_=`_disabled_zlt38_182`,v=`_label_zlt38_206`,y=`_icon_zlt38_211`,b={root:e,md:t,avatar:n,sm:r,lg:i,clickable:a,primary:o,solid:s,outline:c,subtle:l,secondary:u,success:d,warning:f,danger:p,info:m,neutral:h,selected:g,disabled:_,delete:`_delete_zlt38_190`,label:v,icon:y};exports.avatar=n,exports.clickable=a,exports.danger=p,exports.default=b,exports.disabled=_,exports.icon=y,exports.info=m,exports.label=v,exports.lg=i,exports.md=t,exports.neutral=h,exports.outline=c,exports.primary=o,exports.root=e,exports.secondary=u,exports.selected=g,exports.sm=r,exports.solid=s,exports.subtle=l,exports.success=d,exports.warning=f;
2
+ var e=`_root_ssq7s_2`,t=`_md_ssq7s_19`,n=`_avatar_ssq7s_24`,r=`_sm_ssq7s_29`,i=`_lg_ssq7s_39`,a=`_clickable_ssq7s_49`,o=`_primary_ssq7s_60`,s=`_solid_ssq7s_60`,c=`_outline_ssq7s_66`,l=`_subtle_ssq7s_71`,u=`_secondary_ssq7s_77`,d=`_success_ssq7s_94`,f=`_warning_ssq7s_111`,p=`_danger_ssq7s_128`,m=`_info_ssq7s_145`,h=`_neutral_ssq7s_162`,g=`_selected_ssq7s_179`,_=`_disabled_ssq7s_182`,v=`_label_ssq7s_206`,y=`_icon_ssq7s_211`,b={root:e,md:t,avatar:n,sm:r,lg:i,clickable:a,primary:o,solid:s,outline:c,subtle:l,secondary:u,success:d,warning:f,danger:p,info:m,neutral:h,selected:g,disabled:_,delete:`_delete_ssq7s_190`,label:v,icon:y};exports.avatar=n,exports.clickable=a,exports.danger=p,exports.default=b,exports.disabled=_,exports.icon=y,exports.info=m,exports.label=v,exports.lg=i,exports.md=t,exports.neutral=h,exports.outline=c,exports.primary=o,exports.root=e,exports.secondary=u,exports.selected=g,exports.sm=r,exports.solid=s,exports.subtle=l,exports.success=d,exports.warning=f;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  //#region src/components/data-display/Chip/chip.module.scss
3
- var e = "_root_zlt38_2", t = "_md_zlt38_19", n = "_avatar_zlt38_24", r = "_sm_zlt38_29", i = "_lg_zlt38_39", a = "_clickable_zlt38_49", o = "_primary_zlt38_60", s = "_solid_zlt38_60", c = "_outline_zlt38_66", l = "_subtle_zlt38_71", u = "_secondary_zlt38_77", d = "_success_zlt38_94", f = "_warning_zlt38_111", p = "_danger_zlt38_128", m = "_info_zlt38_145", h = "_neutral_zlt38_162", g = "_selected_zlt38_179", _ = "_disabled_zlt38_182", v = "_label_zlt38_206", y = "_icon_zlt38_211", b = {
3
+ var e = "_root_ssq7s_2", t = "_md_ssq7s_19", n = "_avatar_ssq7s_24", r = "_sm_ssq7s_29", i = "_lg_ssq7s_39", a = "_clickable_ssq7s_49", o = "_primary_ssq7s_60", s = "_solid_ssq7s_60", c = "_outline_ssq7s_66", l = "_subtle_ssq7s_71", u = "_secondary_ssq7s_77", d = "_success_ssq7s_94", f = "_warning_ssq7s_111", p = "_danger_ssq7s_128", m = "_info_ssq7s_145", h = "_neutral_ssq7s_162", g = "_selected_ssq7s_179", _ = "_disabled_ssq7s_182", v = "_label_ssq7s_206", y = "_icon_ssq7s_211", b = {
4
4
  root: e,
5
5
  md: t,
6
6
  avatar: n,
@@ -19,7 +19,7 @@ var e = "_root_zlt38_2", t = "_md_zlt38_19", n = "_avatar_zlt38_24", r = "_sm_zl
19
19
  neutral: h,
20
20
  selected: g,
21
21
  disabled: _,
22
- delete: "_delete_zlt38_190",
22
+ delete: "_delete_ssq7s_190",
23
23
  label: v,
24
24
  icon: y
25
25
  };
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_root_wkhzl_3`,t=`_inner_wkhzl_6`,n=`_label_wkhzl_12`,r=`_value_wkhzl_18`,i=`_description_wkhzl_24`,a=`_trend_wkhzl_29`,o=`_up_wkhzl_39`,s=`_down_wkhzl_43`,c=`_neutral_wkhzl_47`,l={root:e,inner:t,label:n,value:r,description:i,trend:a,up:o,down:s,neutral:c};exports.default=l,exports.description=i,exports.down=s,exports.inner=t,exports.label=n,exports.neutral=c,exports.root=e,exports.trend=a,exports.up=o,exports.value=r;
2
+ var e=`_root_1ky8j_3`,t=`_inner_1ky8j_6`,n=`_label_1ky8j_12`,r=`_value_1ky8j_18`,i=`_description_1ky8j_24`,a=`_trend_1ky8j_29`,o=`_up_1ky8j_49`,s=`_down_1ky8j_53`,c=`_neutral_1ky8j_57`,l={root:e,inner:t,label:n,value:r,description:i,trend:a,up:o,down:s,neutral:c};exports.default=l,exports.description=i,exports.down=s,exports.inner=t,exports.label=n,exports.neutral=c,exports.root=e,exports.trend=a,exports.up=o,exports.value=r;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  //#region src/components/data-display/Stats/stats.module.scss
3
- var e = "_root_wkhzl_3", t = "_inner_wkhzl_6", n = "_label_wkhzl_12", r = "_value_wkhzl_18", i = "_description_wkhzl_24", a = "_trend_wkhzl_29", o = "_up_wkhzl_39", s = "_down_wkhzl_43", c = "_neutral_wkhzl_47", l = {
3
+ var e = "_root_1ky8j_3", t = "_inner_1ky8j_6", n = "_label_1ky8j_12", r = "_value_1ky8j_18", i = "_description_1ky8j_24", a = "_trend_1ky8j_29", o = "_up_1ky8j_49", s = "_down_1ky8j_53", c = "_neutral_1ky8j_57", l = {
4
4
  root: e,
5
5
  inner: t,
6
6
  label: n,
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_root_1t2m9_2`,t=`_md_1t2m9_14`,n=`_sm_1t2m9_18`,r=`_lg_1t2m9_22`,i=`_primary_1t2m9_26`,a=`_solid_1t2m9_26`,o=`_outline_1t2m9_32`,s=`_subtle_1t2m9_37`,c=`_secondary_1t2m9_43`,l=`_success_1t2m9_60`,u=`_warning_1t2m9_77`,d=`_danger_1t2m9_94`,f=`_info_1t2m9_111`,p=`_neutral_1t2m9_128`,m=`_disabled_1t2m9_145`,h=`_closeButton_1t2m9_153`,g=`_interactive_1t2m9_156`,_=`_icon_1t2m9_168`,v={root:e,md:t,sm:n,lg:r,primary:i,solid:a,outline:o,subtle:s,secondary:c,success:l,warning:u,danger:d,info:f,neutral:p,disabled:m,closeButton:h,interactive:g,icon:_};exports.closeButton=h,exports.danger=d,exports.default=v,exports.disabled=m,exports.icon=_,exports.info=f,exports.interactive=g,exports.lg=r,exports.md=t,exports.neutral=p,exports.outline=o,exports.primary=i,exports.root=e,exports.secondary=c,exports.sm=n,exports.solid=a,exports.subtle=s,exports.success=l,exports.warning=u;
2
+ var e=`_root_nhy4r_2`,t=`_md_nhy4r_14`,n=`_sm_nhy4r_18`,r=`_lg_nhy4r_22`,i=`_primary_nhy4r_26`,a=`_solid_nhy4r_26`,o=`_outline_nhy4r_32`,s=`_subtle_nhy4r_37`,c=`_secondary_nhy4r_43`,l=`_success_nhy4r_60`,u=`_warning_nhy4r_77`,d=`_danger_nhy4r_94`,f=`_info_nhy4r_111`,p=`_neutral_nhy4r_128`,m=`_disabled_nhy4r_145`,h=`_closeButton_nhy4r_153`,g=`_interactive_nhy4r_156`,_=`_icon_nhy4r_168`,v={root:e,md:t,sm:n,lg:r,primary:i,solid:a,outline:o,subtle:s,secondary:c,success:l,warning:u,danger:d,info:f,neutral:p,disabled:m,closeButton:h,interactive:g,icon:_};exports.closeButton=h,exports.danger=d,exports.default=v,exports.disabled=m,exports.icon=_,exports.info=f,exports.interactive=g,exports.lg=r,exports.md=t,exports.neutral=p,exports.outline=o,exports.primary=i,exports.root=e,exports.secondary=c,exports.sm=n,exports.solid=a,exports.subtle=s,exports.success=l,exports.warning=u;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  //#region src/components/data-display/Tag/tag.module.scss
3
- var e = "_root_1t2m9_2", t = "_md_1t2m9_14", n = "_sm_1t2m9_18", r = "_lg_1t2m9_22", i = "_primary_1t2m9_26", a = "_solid_1t2m9_26", o = "_outline_1t2m9_32", s = "_subtle_1t2m9_37", c = "_secondary_1t2m9_43", l = "_success_1t2m9_60", u = "_warning_1t2m9_77", d = "_danger_1t2m9_94", f = "_info_1t2m9_111", p = "_neutral_1t2m9_128", m = "_disabled_1t2m9_145", h = "_closeButton_1t2m9_153", g = "_interactive_1t2m9_156", _ = "_icon_1t2m9_168", v = {
3
+ var e = "_root_nhy4r_2", t = "_md_nhy4r_14", n = "_sm_nhy4r_18", r = "_lg_nhy4r_22", i = "_primary_nhy4r_26", a = "_solid_nhy4r_26", o = "_outline_nhy4r_32", s = "_subtle_nhy4r_37", c = "_secondary_nhy4r_43", l = "_success_nhy4r_60", u = "_warning_nhy4r_77", d = "_danger_nhy4r_94", f = "_info_nhy4r_111", p = "_neutral_nhy4r_128", m = "_disabled_nhy4r_145", h = "_closeButton_nhy4r_153", g = "_interactive_nhy4r_156", _ = "_icon_nhy4r_168", v = {
4
4
  root: e,
5
5
  md: t,
6
6
  sm: n,
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_fallback_10nbr_3`,t=`_details_10nbr_6`,n={fallback:e,details:t};exports.default=n,exports.details=t,exports.fallback=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,6 +1,6 @@
1
1
  "use client";
2
2
  //#region src/components/feedback/ErrorBoundary/errorboundary.module.scss
3
- var e = "_fallback_10nbr_3", t = "_details_10nbr_6", n = {
3
+ var e = "_fallback_25iy1_3", t = "_details_25iy1_6", n = {
4
4
  fallback: e,
5
5
  details: t
6
6
  };
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_root_1qdym_2`,t=`_inline_1qdym_8`,n=`_block_1qdym_16`,r={root:e,inline:t,block:n};exports.block=n,exports.default=r,exports.inline=t,exports.root=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;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  //#region src/components/typography/Code/code.module.scss
3
- var e = "_root_1qdym_2", t = "_inline_1qdym_8", n = "_block_1qdym_16", r = {
3
+ var e = "_root_7efae_2", t = "_inline_7efae_8", n = "_block_7efae_16", r = {
4
4
  root: e,
5
5
  inline: t,
6
6
  block: n
@@ -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.
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ const e=require("../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t);let n=require("react/jsx-runtime");var r=e=>(0,n.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:[(0,n.jsx)(`rect`,{x:3,y:3,width:4,height:4}),(0,n.jsx)(`rect`,{x:10,y:3,width:4,height:4}),(0,n.jsx)(`rect`,{x:17,y:3,width:4,height:4}),(0,n.jsx)(`rect`,{x:3,y:10,width:4,height:4}),(0,n.jsx)(`rect`,{x:10,y:10,width:4,height:4}),(0,n.jsx)(`rect`,{x:17,y:10,width:4,height:4}),(0,n.jsx)(`rect`,{x:3,y:17,width:4,height:4}),(0,n.jsx)(`rect`,{x:10,y:17,width:4,height:4}),(0,n.jsx)(`rect`,{x:17,y:17,width:4,height:4})]});exports.default=r;
@@ -0,0 +1,72 @@
1
+ "use client";
2
+ import "react";
3
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
4
+ //#region src/icon/grid.svg?react
5
+ var n = (n) => /* @__PURE__ */ t("svg", {
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ viewBox: "0 0 24 24",
8
+ fill: "none",
9
+ stroke: "currentColor",
10
+ strokeWidth: 2,
11
+ strokeLinecap: "round",
12
+ strokeLinejoin: "round",
13
+ ...n,
14
+ children: [
15
+ /* @__PURE__ */ e("rect", {
16
+ x: 3,
17
+ y: 3,
18
+ width: 4,
19
+ height: 4
20
+ }),
21
+ /* @__PURE__ */ e("rect", {
22
+ x: 10,
23
+ y: 3,
24
+ width: 4,
25
+ height: 4
26
+ }),
27
+ /* @__PURE__ */ e("rect", {
28
+ x: 17,
29
+ y: 3,
30
+ width: 4,
31
+ height: 4
32
+ }),
33
+ /* @__PURE__ */ e("rect", {
34
+ x: 3,
35
+ y: 10,
36
+ width: 4,
37
+ height: 4
38
+ }),
39
+ /* @__PURE__ */ e("rect", {
40
+ x: 10,
41
+ y: 10,
42
+ width: 4,
43
+ height: 4
44
+ }),
45
+ /* @__PURE__ */ e("rect", {
46
+ x: 17,
47
+ y: 10,
48
+ width: 4,
49
+ height: 4
50
+ }),
51
+ /* @__PURE__ */ e("rect", {
52
+ x: 3,
53
+ y: 17,
54
+ width: 4,
55
+ height: 4
56
+ }),
57
+ /* @__PURE__ */ e("rect", {
58
+ x: 10,
59
+ y: 17,
60
+ width: 4,
61
+ height: 4
62
+ }),
63
+ /* @__PURE__ */ e("rect", {
64
+ x: 17,
65
+ y: 17,
66
+ width: 4,
67
+ height: 4
68
+ })
69
+ ]
70
+ });
71
+ //#endregion
72
+ export { n as default };