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.
- 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/data-display/Badge/badge.module.cjs +1 -1
- package/dist/components/data-display/Badge/badge.module.js +1 -1
- package/dist/components/data-display/Chip/chip.module.cjs +1 -1
- package/dist/components/data-display/Chip/chip.module.js +2 -2
- package/dist/components/data-display/Stats/stats.module.cjs +1 -1
- package/dist/components/data-display/Stats/stats.module.js +1 -1
- package/dist/components/data-display/Tag/tag.module.cjs +1 -1
- package/dist/components/data-display/Tag/tag.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/icon/grid.cjs +2 -0
- package/dist/icon/grid.js +72 -0
- package/dist/icon/index.cjs +1 -1
- package/dist/icon/index.d.ts +5 -1
- package/dist/icon/index.js +98 -94
- package/dist/icon/menu.cjs +2 -0
- package/dist/icon/menu.js +36 -0
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +51 -49
- package/dist/index.cjs +1 -1
- package/dist/index.js +216 -214
- package/dist/llms-full.txt +5 -4
- package/dist/llms.txt +5 -4
- package/dist/styles.css +2 -2
- package/dist/types/generated-tokens.d.ts +1 -1
- package/dist/wimui.umd.css +1 -1
- package/dist/wimui.umd.js +5 -5
- package/package.json +4 -1
package/dist/llms.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.
|
|
7
|
+
**wimui** v0.10.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
|
|
|
@@ -186,7 +187,7 @@ export function BillingOverview() {
|
|
|
186
187
|
|
|
187
188
|
- **AppShell** — Basic application shell layout
|
|
188
189
|
- **AspectRatio** — Fixed ratio container
|
|
189
|
-
- **BentoGrid** — Modern card grid
|
|
190
|
+
- **BentoGrid** — Modern card grid (aka Waffle Menu, Bento Menu, Grid Menu, Candy Bar Menu, Chocolate Bar Menu, ベントーメニュー, ワッフルメニュー)
|
|
190
191
|
- **Box** — Polymorphic box
|
|
191
192
|
- **Center** — Radial centering
|
|
192
193
|
- **Container** — Layout wrapper
|
|
@@ -294,7 +295,7 @@ export function BillingOverview() {
|
|
|
294
295
|
- **BackTop** — Back to top button
|
|
295
296
|
- **Breadcrumb** — Location trace
|
|
296
297
|
- **CommandPalette** — Cmd+K search overlay
|
|
297
|
-
- **HamburgerMenu** — Toggleable menu
|
|
298
|
+
- **HamburgerMenu** — Toggleable menu (aka Sandwich Menu, Navigation Drawer Trigger, Nav Toggle, Cheeseburger Menu, Veggie Burger Menu, Pancake Menu, Bacon Menu, Hot Dog Menu, ハンバーガーメニュー, サンドイッチメニュー)
|
|
298
299
|
- **KeyboardShortcuts** — Display a structured list of keyboard shortcuts
|
|
299
300
|
- **Link** — Hyperlinks
|
|
300
301
|
- **Menubar** — Desktop-style application menu bar with floating File / Edit / View submenus.
|
|
@@ -351,7 +352,7 @@ export function BillingOverview() {
|
|
|
351
352
|
- **ContextMenu** — Right-click menus
|
|
352
353
|
- **Dialog** — Focused task windows
|
|
353
354
|
- **Drawer** — Slide-out detail panels
|
|
354
|
-
- **Dropdown** — Overlay selection menu
|
|
355
|
+
- **Dropdown** — Overlay selection menu (aka Overflow Menu, Kebab Menu, Meatball Menu, Vertical Ellipsis, Horizontal Ellipsis, Three Dots Menu, More Menu, App Switcher, オーバーフローメニュー, ケバブメニュー, ミートボールメニュー)
|
|
355
356
|
- **FocusTrap** — Focus management
|
|
356
357
|
- **HoverCard** — Rich content on hover
|
|
357
358
|
- **Menu** — General menus
|