wimui 0.64.3 → 0.64.5
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/dist/ai/code-diff-viewer.js +1 -2
- package/dist/ai/interactive-graph.js +1 -2
- package/dist/ai/markdown-renderer.js +1 -2
- package/dist/ai/streaming-text.js +1 -2
- package/dist/components/_internal/observeMove.cjs +1 -1
- package/dist/components/_internal/observeMove.js +9 -10
- package/dist/components/ai/SourceCitation/SourceCitation.cjs +1 -1
- package/dist/components/ai/SourceCitation/SourceCitation.js +1 -1
- package/dist/components/charts/SankeyChart/SankeyChart.cjs +1 -1
- package/dist/components/charts/SankeyChart/SankeyChart.js +1 -5
- package/dist/components/data-display/Accordion/Accordion.cjs +1 -1
- package/dist/components/data-display/Accordion/Accordion.js +1 -5
- package/dist/components/data-display/Carousel/Carousel.cjs +1 -1
- package/dist/components/data-display/Carousel/Carousel.js +2 -14
- package/dist/components/data-display/DataGrid/DataGrid.cjs +1 -1
- package/dist/components/data-display/DataGrid/DataGrid.js +180 -171
- package/dist/components/data-display/NodeGraph/NodeGraph.cjs +1 -1
- package/dist/components/data-display/NodeGraph/NodeGraph.js +1 -7
- package/dist/components/data-display/ScheduleView/ScheduleView.cjs +1 -1
- package/dist/components/data-display/ScheduleView/ScheduleView.js +3 -1
- package/dist/components/data-display/SwipeAction/SwipeAction.cjs +1 -1
- package/dist/components/data-display/SwipeAction/SwipeAction.js +9 -10
- package/dist/components/data-display/TreeDiagram/TreeDiagram.cjs +1 -1
- package/dist/components/data-display/TreeDiagram/TreeDiagram.js +94 -73
- package/dist/components/feedback/Tour/Tour.cjs +1 -1
- package/dist/components/feedback/Tour/Tour.js +2 -6
- package/dist/components/form/Button/Button.cjs +1 -1
- package/dist/components/form/Button/Button.js +58 -55
- package/dist/components/form/Combobox/Combobox.cjs +1 -1
- package/dist/components/form/Combobox/Combobox.js +2 -5
- package/dist/components/form/Dropzone/Dropzone.cjs +1 -1
- package/dist/components/form/Dropzone/Dropzone.js +83 -68
- package/dist/components/form/FileUpload/FileUpload.cjs +1 -1
- package/dist/components/form/FileUpload/FileUpload.js +64 -47
- package/dist/components/form/FloatButton/FloatButton.cjs +1 -1
- package/dist/components/form/FloatButton/FloatButton.js +7 -6
- package/dist/components/form/InlineEdit/InlineEdit.cjs +1 -1
- package/dist/components/form/InlineEdit/InlineEdit.js +76 -73
- package/dist/components/form/RichTextEditor/RichTextEditor.cjs +1 -1
- package/dist/components/form/RichTextEditor/RichTextEditor.js +117 -129
- package/dist/components/form/SegmentedControl/SegmentedControl.cjs +1 -1
- package/dist/components/form/SegmentedControl/SegmentedControl.js +1 -1
- package/dist/components/form/ToggleGroup/ToggleGroup.cjs +1 -1
- package/dist/components/form/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/components/form/TreeSelect/TreeSelect.cjs +1 -1
- package/dist/components/form/TreeSelect/TreeSelect.js +1 -7
- package/dist/components/layout/InteractiveArea/InteractiveArea.cjs +1 -1
- package/dist/components/layout/InteractiveArea/InteractiveArea.js +1 -5
- package/dist/components/media/Audio/hooks/useAudioPlayer.cjs +1 -1
- package/dist/components/media/Audio/hooks/useAudioPlayer.js +1 -9
- package/dist/components/media/Lightbox/Lightbox.cjs +1 -1
- package/dist/components/media/Lightbox/Lightbox.js +5 -9
- package/dist/components/navigation/CommandPalette/CommandPalette.cjs +1 -1
- package/dist/components/navigation/CommandPalette/CommandPalette.js +1 -8
- package/dist/components/navigation/TabNavigation/TabNavigation.cjs +1 -1
- package/dist/components/navigation/TabNavigation/TabNavigation.js +1 -5
- package/dist/data-display/json-diff-viewer.js +1 -2
- package/dist/data-display/markdown.js +1 -2
- package/dist/data-display/node-graph.js +1 -2
- package/dist/data-display/qr-code.js +1 -2
- package/dist/data-display/schedule-view.js +1 -2
- package/dist/form/rich-text-editor.js +1 -2
- package/dist/i18n/generated/common.cjs +1 -1
- package/dist/i18n/generated/common.d.ts +1 -1
- package/dist/i18n/generated/common.js +15 -6
- package/dist/i18n/generated/form.cjs +1 -1
- package/dist/i18n/generated/form.d.ts +1 -1
- package/dist/i18n/generated/form.js +6 -3
- package/dist/llms-full.txt +1 -1
- package/dist/llms.txt +1 -1
- package/dist/locales/en/common.json +5 -1
- package/dist/locales/en/form.json +2 -1
- package/dist/locales/ja/common.json +5 -1
- package/dist/locales/ja/form.json +2 -1
- package/dist/locales/pt/common.json +5 -1
- package/dist/locales/pt/form.json +2 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +18 -17
- package/dist/rhf/zod.js +1 -2
- package/dist/wimui.umd.js +5 -5
- package/package.json +44 -44
|
@@ -26,7 +26,8 @@ var e = {
|
|
|
26
26
|
dropzone: { description: "Drag and drop files here, or click to select" },
|
|
27
27
|
fileupload: {
|
|
28
28
|
button: "Choose file",
|
|
29
|
-
no_file: "No file selected"
|
|
29
|
+
no_file: "No file selected",
|
|
30
|
+
selected: "Selected: {{files}}"
|
|
30
31
|
},
|
|
31
32
|
form: {
|
|
32
33
|
optional: "Optional",
|
|
@@ -147,7 +148,8 @@ var e = {
|
|
|
147
148
|
dropzone: { description: "ここにファイルをドラッグ&ドロップ、またはクリックして選択" },
|
|
148
149
|
fileupload: {
|
|
149
150
|
button: "ファイルを選択",
|
|
150
|
-
no_file: "選択されていません"
|
|
151
|
+
no_file: "選択されていません",
|
|
152
|
+
selected: "選択したファイル: {{files}}"
|
|
151
153
|
},
|
|
152
154
|
form: {
|
|
153
155
|
optional: "任意",
|
|
@@ -253,7 +255,8 @@ var e = {
|
|
|
253
255
|
dropzone: { description: "Arraste e solte os arquivos aqui ou clique para selecionar" },
|
|
254
256
|
fileupload: {
|
|
255
257
|
button: "Selecionar arquivo",
|
|
256
|
-
no_file: "Nenhum arquivo selecionado"
|
|
258
|
+
no_file: "Nenhum arquivo selecionado",
|
|
259
|
+
selected: "Selecionado: {{files}}"
|
|
257
260
|
},
|
|
258
261
|
form: {
|
|
259
262
|
optional: "Opcional",
|
package/dist/llms-full.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.64.
|
|
7
|
+
**wimui** v0.64.5 — 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/llms.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.64.
|
|
7
|
+
**wimui** v0.64.5 — 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
|
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"seek": "Seek",
|
|
55
55
|
"select_all_rows": "Select all rows",
|
|
56
56
|
"select_row": "Select row",
|
|
57
|
+
"select_row_numbered": "Select row {{row}}",
|
|
57
58
|
"settings": "Settings",
|
|
58
59
|
"show_password": "Show password",
|
|
59
60
|
"signature_canvas": "Signature canvas",
|
|
@@ -655,7 +656,10 @@
|
|
|
655
656
|
"dataGrid": {
|
|
656
657
|
"displaying": "Showing {{shown}} of {{total}}",
|
|
657
658
|
"loading_more": "Loading more…",
|
|
658
|
-
"rows_selected": "({{selected}} selected)"
|
|
659
|
+
"rows_selected": "({{selected}} selected)",
|
|
660
|
+
"sort_cleared": "Sorting by {{column}} cleared",
|
|
661
|
+
"sorted_ascending": "Sorted by {{column}}, ascending",
|
|
662
|
+
"sorted_descending": "Sorted by {{column}}, descending"
|
|
659
663
|
},
|
|
660
664
|
"presence": {
|
|
661
665
|
"online": "Online",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"seek": "シーク",
|
|
55
55
|
"select_all_rows": "すべての行を選択",
|
|
56
56
|
"select_row": "行を選択",
|
|
57
|
+
"select_row_numbered": "{{row}} 行目を選択",
|
|
57
58
|
"settings": "設定",
|
|
58
59
|
"show_password": "パスワードを表示",
|
|
59
60
|
"signature_canvas": "署名キャンバス",
|
|
@@ -655,7 +656,10 @@
|
|
|
655
656
|
"dataGrid": {
|
|
656
657
|
"displaying": "{{total}} 件中 {{shown}} 件を表示",
|
|
657
658
|
"loading_more": "さらに読み込み中…",
|
|
658
|
-
"rows_selected": "({{selected}} 件を選択中)"
|
|
659
|
+
"rows_selected": "({{selected}} 件を選択中)",
|
|
660
|
+
"sort_cleared": "{{column}} の並べ替えを解除しました",
|
|
661
|
+
"sorted_ascending": "{{column}} を昇順で並べ替えました",
|
|
662
|
+
"sorted_descending": "{{column}} を降順で並べ替えました"
|
|
659
663
|
},
|
|
660
664
|
"presence": {
|
|
661
665
|
"online": "オンライン",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"seek": "Procurar",
|
|
55
55
|
"select_all_rows": "Selecionar todas as linhas",
|
|
56
56
|
"select_row": "Selecionar linha",
|
|
57
|
+
"select_row_numbered": "Selecionar linha {{row}}",
|
|
57
58
|
"settings": "Configurações",
|
|
58
59
|
"show_password": "Mostrar senha",
|
|
59
60
|
"signature_canvas": "Tela de assinatura",
|
|
@@ -655,7 +656,10 @@
|
|
|
655
656
|
"dataGrid": {
|
|
656
657
|
"displaying": "Exibindo {{shown}} de {{total}}",
|
|
657
658
|
"loading_more": "Carregando mais…",
|
|
658
|
-
"rows_selected": "({{selected}} selecionados)"
|
|
659
|
+
"rows_selected": "({{selected}} selecionados)",
|
|
660
|
+
"sort_cleared": "Ordenação por {{column}} removida",
|
|
661
|
+
"sorted_ascending": "Ordenado por {{column}}, crescente",
|
|
662
|
+
"sorted_descending": "Ordenado por {{column}}, decrescente"
|
|
659
663
|
},
|
|
660
664
|
"presence": {
|
|
661
665
|
"online": "Online",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../../_virtual/_rolldown/runtime.cjs"),t=require("../../react-compose-refs/dist/index.cjs");let n=require("react"),r=e.__toESM(n,1);n=e.__toESM(n);var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0});function o(e){let n=r.forwardRef((n,i)=>{let{children:a,...o}=n,s=null,c=!1,l=[];
|
|
2
|
+
const e=require("../../../../_virtual/_rolldown/runtime.cjs"),t=require("../../react-compose-refs/dist/index.cjs");let n=require("react"),r=e.__toESM(n,1);n=e.__toESM(n);var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0});function o(e){let n=r.forwardRef((n,i)=>{let{children:a,...o}=n,s=null,c=!1,l=[];a=v(a),r.Children.forEach(a,e=>{if(m(e)){c=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;for(;g(n)&&typeof S==`function`;)n=S(n._payload);s=d(t,n),l.push(s?.props?.children)}else l.push(e)}),s?s=r.cloneElement(s,void 0,l):!c&&r.Children.count(a)===1&&r.isValidElement(a)&&(s=a);let u=s?p(s):void 0,h=t.useComposedRefs(i,u);if(!s){if(a||a===0)throw Error(c?x(e):b(e));return a}let _=f(o,s.props??{});return s.type!==r.Fragment&&(_.ref=i?h:u),r.cloneElement(s,_)});return n.displayName=`${e}.Slot`,n}a(o,`createSlot`);var s=o(`Slot`),c=Symbol.for(`radix.slottable`);function l(e){let t=a(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=c,t}a(l,`createSlottable`);var u=l(`Slottable`),d=a((e,t)=>`child`in e.props?r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null:r.isValidElement(t)?t:null,`getSlottableElementFromSlottable`);function f(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`?n[r]=[i,a].filter(Boolean).join(` `):r===`aria-describedby`&&(n[r]=y(a,i))}return{...e,...n}}a(f,`mergeProps`);function p(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}a(p,`getElementRef`);function m(e){return r.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===c}a(m,`isSlottable`);var h=Symbol.for(`react.lazy`);function g(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===h&&`_payload`in e&&_(e._payload)}a(g,`isLazyComponent`);function _(e){return typeof e==`object`&&!!e&&`then`in e}a(_,`isPromiseLike`);function v(e){let t=e;for(;g(t)&&typeof S==`function`;)t=S(t._payload);return t}a(v,`useUnwrappedLazy`);function y(...e){let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(` `):void 0}a(y,`concatAriaDescribedby`);var b=a(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),x=a(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),S=r.use;exports.Root=s,exports.Slot=s,exports.Slottable=u,exports.createSlot=o,exports.createSlottable=l;
|
|
@@ -10,20 +10,21 @@ var n = Object.defineProperty, r = (e, t) => n(e, "name", {
|
|
|
10
10
|
function i(n) {
|
|
11
11
|
let r = t.forwardRef((r, i) => {
|
|
12
12
|
let { children: a, ...o } = r, s = null, c = !1, p = [];
|
|
13
|
-
|
|
13
|
+
a = g(a), t.Children.forEach(a, (e) => {
|
|
14
14
|
if (f(e)) {
|
|
15
15
|
c = !0;
|
|
16
16
|
let t = e, n = "child" in t.props ? t.props.child : t.props.children;
|
|
17
|
-
m(n) && typeof
|
|
17
|
+
for (; m(n) && typeof b == "function";) n = b(n._payload);
|
|
18
|
+
s = l(t, n), p.push(s?.props?.children);
|
|
18
19
|
} else p.push(e);
|
|
19
20
|
}), s ? s = t.cloneElement(s, void 0, p) : !c && t.Children.count(a) === 1 && t.isValidElement(a) && (s = a);
|
|
20
|
-
let h = s ? d(s) : void 0,
|
|
21
|
+
let h = s ? d(s) : void 0, _ = e(i, h);
|
|
21
22
|
if (!s) {
|
|
22
|
-
if (a || a === 0) throw Error(c ?
|
|
23
|
+
if (a || a === 0) throw Error(c ? y(n) : v(n));
|
|
23
24
|
return a;
|
|
24
25
|
}
|
|
25
|
-
let
|
|
26
|
-
return s.type !== t.Fragment && (
|
|
26
|
+
let x = u(o, s.props ?? {});
|
|
27
|
+
return s.type !== t.Fragment && (x.ref = i ? _ : h), t.cloneElement(s, x);
|
|
27
28
|
});
|
|
28
29
|
return r.displayName = `${n}.Slot`, r;
|
|
29
30
|
}
|
|
@@ -35,13 +36,7 @@ function s(e) {
|
|
|
35
36
|
return t.displayName = `${e}.Slottable`, t.__radixId = o, t;
|
|
36
37
|
}
|
|
37
38
|
r(s, "createSlottable");
|
|
38
|
-
var c = /* @__PURE__ */ s("Slottable"), l = /* @__PURE__ */ r((e, n) =>
|
|
39
|
-
if ("child" in e.props) {
|
|
40
|
-
let n = e.props.child;
|
|
41
|
-
return t.isValidElement(n) ? t.cloneElement(n, void 0, e.props.children(n.props.children)) : null;
|
|
42
|
-
}
|
|
43
|
-
return t.isValidElement(n) ? n : null;
|
|
44
|
-
}, "getSlottableElementFromSlottable");
|
|
39
|
+
var c = /* @__PURE__ */ s("Slottable"), l = /* @__PURE__ */ r((e, n) => "child" in e.props ? t.isValidElement(n) ? t.cloneElement(n, void 0, e.props.children(n.props.children)) : null : t.isValidElement(n) ? n : null, "getSlottableElementFromSlottable");
|
|
45
40
|
function u(e, t) {
|
|
46
41
|
let n = { ...t };
|
|
47
42
|
for (let r in t) {
|
|
@@ -52,7 +47,7 @@ function u(e, t) {
|
|
|
52
47
|
} : i && (n[r] = i) : r === "style" ? n[r] = {
|
|
53
48
|
...i,
|
|
54
49
|
...a
|
|
55
|
-
} : r === "className" ? n[r] = [i, a].filter(Boolean).join(" ") : r === "aria-describedby" && (n[r] =
|
|
50
|
+
} : r === "className" ? n[r] = [i, a].filter(Boolean).join(" ") : r === "aria-describedby" && (n[r] = _(a, i));
|
|
56
51
|
}
|
|
57
52
|
return {
|
|
58
53
|
...e,
|
|
@@ -78,12 +73,18 @@ function h(e) {
|
|
|
78
73
|
return typeof e == "object" && !!e && "then" in e;
|
|
79
74
|
}
|
|
80
75
|
r(h, "isPromiseLike");
|
|
81
|
-
function g(
|
|
76
|
+
function g(e) {
|
|
77
|
+
let t = e;
|
|
78
|
+
for (; m(t) && typeof b == "function";) t = b(t._payload);
|
|
79
|
+
return t;
|
|
80
|
+
}
|
|
81
|
+
r(g, "useUnwrappedLazy");
|
|
82
|
+
function _(...e) {
|
|
82
83
|
let t = /* @__PURE__ */ new Set();
|
|
83
84
|
for (let n of e) if (typeof n == "string") for (let e of String(n).trim().split(/\s+/)) e && t.add(e);
|
|
84
85
|
return t.size > 0 ? Array.from(t).join(" ") : void 0;
|
|
85
86
|
}
|
|
86
|
-
r(
|
|
87
|
-
var
|
|
87
|
+
r(_, "concatAriaDescribedby");
|
|
88
|
+
var v = /* @__PURE__ */ r((e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, "createSlotError"), y = /* @__PURE__ */ r((e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, "createSlottableError"), b = t.use;
|
|
88
89
|
//#endregion
|
|
89
90
|
export { a as Root, a as Slot, c as Slottable, i as createSlot, s as createSlottable };
|
package/dist/rhf/zod.js
CHANGED