wimui 0.64.13 → 0.65.1
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 +2 -2
- package/README.md +2 -2
- package/dist/components/ai/CodeDiffViewer/CodeDiffViewer.cjs +1 -1
- package/dist/components/ai/CodeDiffViewer/CodeDiffViewer.js +1 -1
- package/dist/components/ai/CodeDiffViewer/code-diff-viewer.module.cjs +1 -1
- package/dist/components/ai/CodeDiffViewer/code-diff-viewer.module.js +29 -28
- package/dist/components/feedback/Spinner/Spinner.cjs +1 -1
- package/dist/components/feedback/Spinner/Spinner.js +1 -0
- package/dist/components/form/RichTextEditor/markdown.cjs +1 -1
- package/dist/components/form/RichTextEditor/markdown.js +12 -9
- package/dist/components/media/Image/Image.cjs +1 -1
- package/dist/components/media/Image/Image.js +1 -0
- package/dist/components/media/Video/Video.cjs +1 -1
- package/dist/components/media/Video/Video.d.ts +2 -2
- package/dist/components/media/Video/Video.js +44 -41
- package/dist/components/navigation/Pagination/Pagination.d.ts +8 -0
- package/dist/components/navigation/TabBar/TabBar.cjs +1 -1
- package/dist/components/navigation/TabBar/TabBar.js +1 -1
- package/dist/components/overlay/HoverCard/HoverCard.cjs +1 -1
- package/dist/components/overlay/HoverCard/HoverCard.d.ts +2 -1
- package/dist/components/overlay/HoverCard/HoverCard.js +2 -1
- package/dist/components/overlay/HoverCard/hover-card.module.cjs +1 -1
- package/dist/components/overlay/HoverCard/hover-card.module.js +1 -1
- package/dist/components/overlay/Popover/Popover.cjs +1 -1
- package/dist/components/overlay/Popover/Popover.d.ts +0 -2
- package/dist/components/overlay/Popover/Popover.js +13 -13
- package/dist/llms-full.txt +2 -2
- package/dist/llms.txt +1 -1
- package/dist/rhf/zod.d.ts +1 -1
- 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 +2 -2
- package/package.json +29 -27
|
@@ -40,8 +40,6 @@ export declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<Popove
|
|
|
40
40
|
export type PopoverContentProps = {
|
|
41
41
|
children: ReactNode;
|
|
42
42
|
className?: string;
|
|
43
|
-
align?: "left" | "right" | "center";
|
|
44
|
-
side?: "top" | "bottom";
|
|
45
43
|
/** Whether the popover is modal. If true, focus will be trapped inside and interaction with outside will be disabled. */
|
|
46
44
|
modal?: boolean;
|
|
47
45
|
};
|
|
@@ -74,26 +74,26 @@ var p = s.createContext(null), m = ({ children: e, className: t, defaultOpen: n
|
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
76
|
h.displayName = "PopoverTrigger";
|
|
77
|
-
var g = s.forwardRef(({ children: e, className: t,
|
|
78
|
-
let
|
|
79
|
-
if (
|
|
80
|
-
let { open:
|
|
77
|
+
var g = s.forwardRef(({ children: e, className: t, style: r, modal: i = !1, ...o }, m) => {
|
|
78
|
+
let h = s.useContext(p);
|
|
79
|
+
if (h == null) throw Error("Popover components must be wrapped in <Popover />");
|
|
80
|
+
let { open: g, refs: _, floatingStyles: v, getFloatingProps: y, context: b, triggerId: x } = h, S = o["aria-label"] != null || o["aria-labelledby"] != null ? o["aria-labelledby"] : x, C = f([_.setFloating, m]);
|
|
81
81
|
return /* @__PURE__ */ l(d, { children: /* @__PURE__ */ l(n, {
|
|
82
|
-
show:
|
|
82
|
+
show: g,
|
|
83
83
|
preset: "fade",
|
|
84
84
|
children: /* @__PURE__ */ l(u, {
|
|
85
|
-
context:
|
|
86
|
-
modal:
|
|
85
|
+
context: b,
|
|
86
|
+
modal: i,
|
|
87
87
|
children: /* @__PURE__ */ l("div", {
|
|
88
|
-
ref:
|
|
88
|
+
ref: C,
|
|
89
89
|
style: {
|
|
90
|
-
...
|
|
91
|
-
...
|
|
90
|
+
...v,
|
|
91
|
+
...r
|
|
92
92
|
},
|
|
93
|
-
className: c(a.content, a[
|
|
93
|
+
className: c(a.content, a[h.variant], t),
|
|
94
94
|
role: "dialog",
|
|
95
|
-
...
|
|
96
|
-
"aria-labelledby":
|
|
95
|
+
...y(o),
|
|
96
|
+
"aria-labelledby": S,
|
|
97
97
|
children: e
|
|
98
98
|
})
|
|
99
99
|
})
|
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.65.1 — a React 19 component library: 228 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
|
|
|
@@ -3136,7 +3136,7 @@ Ignored when `truncate` is set (one line wins; they cannot both apply).
|
|
|
3136
3136
|
- `defaultIndex: number` = 0 — Index of the item shown first
|
|
3137
3137
|
- **Video** — A component for embedding and controlling local or remote video content
|
|
3138
3138
|
- `src: string` — Source URL of the video
|
|
3139
|
-
- `width: string | number` — Width of the video
|
|
3139
|
+
- `width: string | number` — Width of the video. A number is px; a string is used as is. Never wider than its container. Defaults to 100%.
|
|
3140
3140
|
- `height: string | number` — Height of the video
|
|
3141
3141
|
- `autoPlay: boolean` = false — Whether to start playing automatically
|
|
3142
3142
|
- `loop: boolean` = false — Whether to loop playback
|
package/dist/llms.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.
|
|
7
|
+
**wimui** v0.65.1 — a React 19 component library: 228 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
|
|
package/dist/rhf/zod.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Re-export `@hookform/resolvers/zod` so apps can wire zod schemas without an extra import path.
|
|
3
|
-
* Requires optional peers: `zod` (^3.25 || ^4), `@hookform/resolvers` (^5.1 || ^6), `react-hook-form` (^7.55).
|
|
3
|
+
* Requires optional peers: `zod` (^3.25 || ^4), `@hookform/resolvers` (^5.1 || ^6 || ^7), `react-hook-form` (^7.55).
|
|
4
4
|
* See README「サポート行列(peer)」.
|
|
5
5
|
*/
|
|
6
6
|
export { zodResolver } from '@hookform/resolvers/zod';
|