wimui 0.76.0 → 0.76.3

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 (55) hide show
  1. package/dist/components/_internal/useCloseWhenReferenceGone.cjs +2 -0
  2. package/dist/components/_internal/useCloseWhenReferenceGone.d.ts +9 -0
  3. package/dist/components/_internal/useCloseWhenReferenceGone.js +17 -0
  4. package/dist/components/_internal/useFloatingElement.cjs +1 -1
  5. package/dist/components/_internal/useFloatingElement.js +28 -25
  6. package/dist/components/form/Combobox/Combobox.cjs +1 -1
  7. package/dist/components/form/Combobox/Combobox.js +1 -0
  8. package/dist/components/form/RangeSlider/RangeSlider.cjs +1 -1
  9. package/dist/components/form/RangeSlider/RangeSlider.js +113 -111
  10. package/dist/components/form/Slider/Slider.cjs +1 -1
  11. package/dist/components/form/Slider/Slider.js +77 -75
  12. package/dist/components/overlay/Dropdown/Dropdown.cjs +1 -1
  13. package/dist/components/overlay/Dropdown/Dropdown.js +99 -98
  14. package/dist/i18n/generated/common.d.ts +1 -1
  15. package/dist/llms/AppShell.md +2 -0
  16. package/dist/llms/Avatar.md +2 -0
  17. package/dist/llms/Badge.md +2 -0
  18. package/dist/llms/ButtonGroup.md +2 -0
  19. package/dist/llms/Card.md +2 -0
  20. package/dist/llms/CodeBlock.md +2 -0
  21. package/dist/llms/CopyButton.md +2 -0
  22. package/dist/llms/DataGrid.md +2 -0
  23. package/dist/llms/Dialog.md +1 -1
  24. package/dist/llms/Drawer.md +1 -1
  25. package/dist/llms/Fieldset.md +2 -0
  26. package/dist/llms/FileUpload.md +1 -1
  27. package/dist/llms/Indicator.md +2 -0
  28. package/dist/llms/InlineEdit.md +1 -1
  29. package/dist/llms/Input.md +2 -0
  30. package/dist/llms/List.md +2 -0
  31. package/dist/llms/OverflowList.md +1 -1
  32. package/dist/llms/Pagination.md +2 -0
  33. package/dist/llms/Popover.md +1 -1
  34. package/dist/llms/QueryBuilder.md +2 -0
  35. package/dist/llms/Radio.md +2 -0
  36. package/dist/llms/RadioGroup.md +2 -0
  37. package/dist/llms/Result.md +2 -0
  38. package/dist/llms/SegmentedControl.md +1 -1
  39. package/dist/llms/Spinner.md +1 -1
  40. package/dist/llms/SplitButton.md +2 -0
  41. package/dist/llms/Splitter.md +1 -1
  42. package/dist/llms/Stats.md +1 -1
  43. package/dist/llms/Stepper.md +2 -0
  44. package/dist/llms/Table.md +2 -0
  45. package/dist/llms/Text.md +2 -0
  46. package/dist/llms-full.txt +32 -32
  47. package/dist/llms.txt +32 -32
  48. package/dist/locales/en/common.json +2 -1
  49. package/dist/locales/ja/common.json +2 -1
  50. package/dist/locales/pt/common.json +2 -1
  51. package/dist/utilities/slider-utils.cjs +1 -1
  52. package/dist/utilities/slider-utils.d.ts +5 -0
  53. package/dist/utilities/slider-utils.js +2 -2
  54. package/dist/wimui.umd.js +5 -5
  55. package/package.json +2 -2
@@ -2,106 +2,108 @@
2
2
  import { Root as e, Slottable as t } from "../../../node_modules/@radix-ui/react-slot/dist/index.js";
3
3
  import { composeEventHandlers as n } from "../../_internal/composeEventHandlers.js";
4
4
  import { FieldTemplate as r } from "../FieldTemplate/FieldTemplate.js";
5
- import { useSliderCommon as i } from "../../../utilities/slider-utils.js";
6
- import a from "./slider.module.js";
7
- import { forwardRef as o, useCallback as s, useEffect as c, useId as l, useRef as u, useState as d } from "react";
8
- import f from "classnames";
9
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
5
+ import { largeStepOf as i, useSliderCommon as a } from "../../../utilities/slider-utils.js";
6
+ import o from "./slider.module.js";
7
+ import { forwardRef as s, useCallback as c, useEffect as l, useId as u, useRef as d, useState as f } from "react";
8
+ import p from "classnames";
9
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
10
10
  //#region src/components/form/Slider/Slider.tsx
11
- var h = o(({ value: o, defaultValue: h = 0, min: g = 0, max: _ = 100, step: v = 1, disabled: y = !1, onChange: b, onAfterChange: x, className: S, name: C, label: w, error: T, required: E, layout: ee = "vertical", id: te, "aria-label": ne, "aria-labelledby": re, "aria-describedby": D, asChild: O = !1, styles: k, children: A, ...j }, M) => {
12
- let N = o !== void 0, [P, F] = d(h), I = N ? o : P, L = u(null), R = u(null), z = u(null), B = u(null), V = u(!1), H = u(I), U = l(), W = te || U, G = `wim-slider-label-${W}`, K = `wim-slider-error-${W}`, { calculateValue: q } = i(g, _, v), J = s((e) => (e - g) / (_ - g) * 100, [g, _]), Y = s((e) => {
11
+ var g = s(({ value: s, defaultValue: g = 0, min: _ = 0, max: v = 100, step: y = 1, disabled: b = !1, onChange: x, onAfterChange: S, className: C, name: w, label: T, error: E, required: ee, layout: te = "vertical", id: ne, "aria-label": re, "aria-labelledby": D, "aria-describedby": O, asChild: k = !1, styles: A, children: j, ...M }, N) => {
12
+ let P = s !== void 0, [F, I] = f(g), L = P ? s : F, R = d(null), z = d(null), B = d(null), V = d(null), H = d(!1), U = d(L), ie = u(), W = ne || ie, G = `wim-slider-label-${W}`, K = `wim-slider-error-${W}`, { calculateValue: q } = a(_, v, y), J = c((e) => (e - _) / (v - _) * 100, [_, v]), Y = c((e) => {
13
13
  let t = J(e);
14
- z.current && (z.current.style.width = `${t}%`), R.current && (R.current.style.left = `${t}%`, R.current.setAttribute("aria-valuenow", String(e))), B.current && (B.current.value = String(e));
14
+ B.current && (B.current.style.width = `${t}%`), z.current && (z.current.style.left = `${t}%`, z.current.setAttribute("aria-valuenow", String(e))), V.current && (V.current.value = String(e));
15
15
  }, [J]);
16
- c(() => {
17
- V.current || Y(I);
18
- }, [I, Y]);
16
+ l(() => {
17
+ H.current || Y(L);
18
+ }, [L, Y]);
19
19
  let X = (e) => {
20
- if (y) return;
21
- V.current = !0;
22
- let t = "touches" in e ? e.touches[0].clientX : e.clientX, n = q(t, L.current);
23
- H.current = n, Y(n), b?.(n), e.preventDefault();
24
- }, Z = s((e) => {
25
- if (!V.current || y) return;
26
- let t = "touches" in e ? e.touches[0].clientX : e.clientX, n = q(t, L.current);
27
- H.current = n, Y(n), b?.(n);
20
+ if (b) return;
21
+ H.current = !0;
22
+ let t = "touches" in e ? e.touches[0].clientX : e.clientX, n = q(t, R.current);
23
+ U.current = n, Y(n), x?.(n), e.preventDefault();
24
+ }, Z = c((e) => {
25
+ if (!H.current || b) return;
26
+ let t = "touches" in e ? e.touches[0].clientX : e.clientX, n = q(t, R.current);
27
+ U.current = n, Y(n), x?.(n);
28
28
  }, [
29
- y,
30
- q,
31
29
  b,
30
+ q,
31
+ x,
32
32
  Y
33
- ]), Q = s(() => {
34
- if (V.current) {
35
- V.current = !1;
36
- let e = H.current;
37
- N || F(e), x?.(e);
33
+ ]), Q = c(() => {
34
+ if (H.current) {
35
+ H.current = !1;
36
+ let e = U.current;
37
+ P || I(e), S?.(e);
38
38
  }
39
- }, [N, x]);
40
- c(() => (document.addEventListener("mousemove", Z), document.addEventListener("mouseup", Q), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("touchend", Q), () => {
39
+ }, [P, S]);
40
+ l(() => (document.addEventListener("mousemove", Z), document.addEventListener("mouseup", Q), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("touchend", Q), () => {
41
41
  document.removeEventListener("mousemove", Z), document.removeEventListener("mouseup", Q), document.removeEventListener("touchmove", Z), document.removeEventListener("touchend", Q);
42
42
  }), [Z, Q]);
43
- let ie = (e) => {
44
- if (y) return;
43
+ let ae = (e) => {
44
+ if (b) return;
45
45
  let t;
46
- if (e.key === "ArrowLeft" || e.key === "ArrowDown") t = Math.max(g, I - v);
47
- else if (e.key === "ArrowRight" || e.key === "ArrowUp") t = Math.min(_, I + v);
48
- else if (e.key === "Home") t = g;
49
- else if (e.key === "End") t = _;
46
+ if (e.key === "ArrowLeft" || e.key === "ArrowDown") t = Math.max(_, L - y);
47
+ else if (e.key === "ArrowRight" || e.key === "ArrowUp") t = Math.min(v, L + y);
48
+ else if (e.key === "PageDown") t = Math.max(_, L - i(_, v, y));
49
+ else if (e.key === "PageUp") t = Math.min(v, L + i(_, v, y));
50
+ else if (e.key === "Home") t = _;
51
+ else if (e.key === "End") t = v;
50
52
  else return;
51
- N || F(t), b?.(t), e.preventDefault();
52
- }, $ = J(I);
53
- return /* @__PURE__ */ p(r, {
54
- label: w,
55
- error: T,
56
- required: E,
57
- layout: ee,
53
+ P || I(t), x?.(t), e.preventDefault();
54
+ }, $ = J(L);
55
+ return /* @__PURE__ */ m(r, {
56
+ label: T,
57
+ error: E,
58
+ required: ee,
59
+ layout: te,
58
60
  labelId: G,
59
61
  errorId: K,
60
- className: S,
61
- styles: k,
62
- children: /* @__PURE__ */ m(O ? e : "div", {
62
+ className: C,
63
+ styles: A,
64
+ children: /* @__PURE__ */ h(k ? e : "div", {
63
65
  role: "presentation",
64
- className: f("wim-slider", a.root, y && a.disabled, T && a.danger),
65
- ref: M,
66
- ...j,
67
- onMouseDown: n(j.onMouseDown, X),
68
- onTouchStart: n(j.onTouchStart, X),
66
+ className: p("wim-slider", o.root, b && o.disabled, E && o.danger),
67
+ ref: N,
68
+ ...M,
69
+ onMouseDown: n(M.onMouseDown, X),
70
+ onTouchStart: n(M.onTouchStart, X),
69
71
  children: [
70
- /* @__PURE__ */ m("div", {
71
- className: a.trackContainer,
72
- ref: L,
73
- children: [/* @__PURE__ */ p("div", {
74
- ref: z,
75
- className: a.track,
72
+ /* @__PURE__ */ h("div", {
73
+ className: o.trackContainer,
74
+ ref: R,
75
+ children: [/* @__PURE__ */ m("div", {
76
+ ref: B,
77
+ className: o.track,
76
78
  style: { width: `${$}%` }
77
- }), /* @__PURE__ */ p("div", {
78
- ref: R,
79
- className: a.thumb,
79
+ }), /* @__PURE__ */ m("div", {
80
+ ref: z,
81
+ className: o.thumb,
80
82
  style: { left: `${$}%` },
81
83
  role: "slider",
82
- "aria-valuemin": g,
83
- "aria-valuemax": _,
84
- "aria-valuenow": I,
85
- "aria-disabled": y,
86
- "aria-labelledby": w ? G : re,
87
- "aria-label": w ? void 0 : ne,
88
- "aria-describedby": [D, T ? K : void 0].filter(Boolean).join(" ") || void 0,
89
- "aria-invalid": T ? !0 : void 0,
90
- tabIndex: y ? -1 : 0,
91
- onKeyDown: ie
84
+ "aria-valuemin": _,
85
+ "aria-valuemax": v,
86
+ "aria-valuenow": L,
87
+ "aria-disabled": b,
88
+ "aria-labelledby": T ? G : D,
89
+ "aria-label": T ? void 0 : re,
90
+ "aria-describedby": [O, E ? K : void 0].filter(Boolean).join(" ") || void 0,
91
+ "aria-invalid": E ? !0 : void 0,
92
+ tabIndex: b ? -1 : 0,
93
+ onKeyDown: ae
92
94
  })]
93
95
  }),
94
- /* @__PURE__ */ p("input", {
95
- ref: B,
96
+ /* @__PURE__ */ m("input", {
97
+ ref: V,
96
98
  type: "hidden",
97
- name: C,
98
- value: I
99
+ name: w,
100
+ value: L
99
101
  }),
100
- O ? /* @__PURE__ */ p(t, { children: A }) : null
102
+ k ? /* @__PURE__ */ m(t, { children: j }) : null
101
103
  ]
102
104
  })
103
105
  });
104
106
  });
105
- h.displayName = "Slider";
107
+ g.displayName = "Slider";
106
108
  //#endregion
107
- export { h as Slider, h as default };
109
+ export { g as Slider, g as default };
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../node_modules/@radix-ui/react-slot/dist/index.cjs"),n=require("../../_internal/escapeStack.cjs"),r=require("../../layout/Transition/Transition.cjs"),i=require("../../_internal/BaseListItem/BaseListItem.cjs"),a=require("../../_internal/typeahead.cjs"),o=require("../../_internal/mergeRefs.cjs"),s=require("./dropdown.module.cjs");let c=require("react");c=e.__toESM(c,1);let l=require("classnames");l=e.__toESM(l,1);let u=require("react/jsx-runtime"),d=require("@floating-ui/react");var f=c.default.createContext({isOpen:!1,toggle:()=>{},close:()=>{},menuId:``,triggerId:``,setTriggerIdOverride:()=>{},setMenuIdOverride:()=>{},focusedIndex:-1,setFocusedIndex:()=>{},registerItem:()=>0,containerRef:{current:null},setReference:()=>{},setFloating:()=>{},floatingStyles:{},floatingRef:{current:null},setAlign:()=>{}}),p=(0,c.forwardRef)(({children:e,className:r,asChild:i=!1,defaultOpen:p=!1,open:m,onOpenChange:h,...g},_)=>{let[v,y]=(0,c.useState)(p),b=m??v,x=(0,c.useCallback)(e=>{m===void 0&&y(e),h?.(e)},[m,h]),[S,C]=(0,c.useState)(-1),w=(0,c.useRef)(null),T=(0,c.useRef)(0),[E,D]=(0,c.useState)(`left`),{refs:O,floatingStyles:k}=(0,d.useFloating)({open:b,placement:E===`right`?`bottom-end`:`bottom-start`,whileElementsMounted:d.autoUpdate,middleware:[(0,d.offset)(4),(0,d.flip)(),(0,d.shift)({padding:8})]}),A=o.mergeRefs(w,_);(0,c.useEffect)(()=>{T.current=0});let j=()=>{let e=T.current;return T.current+=1,e},M=(0,c.useId)(),[N,P]=(0,c.useState)(void 0),[F,I]=(0,c.useState)(void 0),L=F??`wim-dropdown-menu-${M}`,R=N??`wim-dropdown-trigger-${M}`,z=()=>{let e=!b;x(e),C(e?0:-1)},B=(0,c.useCallback)(()=>{let e=O.floating.current,t=!!e&&e.contains(document.activeElement);x(!1),C(-1),t&&O.reference.current?.focus?.({preventScroll:!0})},[x,O.floating,O.reference]);(0,c.useEffect)(()=>{let e=e=>{let t=e.target,n=O.floating.current?.contains(t)??!1;w.current&&!w.current.contains(t)&&!n&&B()};return b&&document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[b,O.floating,B]),n.useEscapeLayer(b,B);let V=a.useTypeahead(),H=e=>{if(!b)return;let t=Array.from((O.floating.current??w.current)?.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`)||[]);if(a.isTypeaheadKey(e,V.typing())){let n=a.findTypeaheadIndex({query:V.push(e.key),current:S,count:t.length,getText:e=>t[e].textContent??``});n>=0&&(e.preventDefault(),C(n))}else switch(e.key){case`ArrowDown`:e.preventDefault(),C(e=>e<t.length-1?e+1:0);break;case`ArrowUp`:e.preventDefault(),C(e=>e>0?e-1:t.length-1);break;case`Home`:e.preventDefault(),C(0);break;case`End`:e.preventDefault(),C(t.length-1);break;case`Tab`:B()}};(0,c.useEffect)(()=>{b&&S>=0&&Array.from((O.floating.current??w.current)?.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`)||[])[S]?.focus({preventScroll:!0})},[S,b,O.floating]);let U=i?t.Root:`div`;return(0,u.jsx)(f.Provider,{value:{isOpen:b,toggle:z,close:B,menuId:L,triggerId:R,setTriggerIdOverride:P,setMenuIdOverride:I,focusedIndex:S,setFocusedIndex:C,registerItem:j,containerRef:w,setReference:O.setReference,setFloating:O.setFloating,floatingStyles:k,floatingRef:O.floating,setAlign:D},children:(0,u.jsx)(U,{...g,role:`none`,className:(0,l.default)(`wim-dropdown`,s.default.root,r),ref:A,onKeyDown:H,children:(0,u.jsx)(t.Slottable,{children:e})})})});p.displayName=`Dropdown`;var m=(0,c.forwardRef)(({children:e,className:n,asChild:r=!1,id:i,...a},d)=>{let{toggle:p,isOpen:m,menuId:h,triggerId:g,setTriggerIdOverride:_,setReference:v}=c.default.useContext(f);(0,c.useEffect)(()=>(_(i),()=>_(void 0)),[i,_]);let y=r?t.Root:`div`,b=o.mergeRefs(v,d);return(0,u.jsx)(y,{...a,ref:b,id:i??g,className:(0,l.default)(s.default.trigger,n),onClick:p,"aria-haspopup":`menu`,"aria-expanded":m,"aria-controls":m?h:void 0,role:`button`,tabIndex:0,onKeyDown:e=>{(e.key===`Enter`||e.key===` `||e.key===`ArrowDown`&&!m)&&(e.preventDefault(),p())},children:(0,u.jsx)(t.Slottable,{children:e})})});m.displayName=`Dropdown.Trigger`;var h=(0,c.forwardRef)(({children:e,className:t,align:n=`left`,show:i,style:a,id:p,"aria-labelledby":m,...h},g)=>{let{isOpen:_,menuId:v,triggerId:y,setMenuIdOverride:b,setFloating:x,floatingStyles:S,setAlign:C}=c.default.useContext(f);(0,c.useEffect)(()=>(b(p),()=>b(void 0)),[p,b]),(0,c.useEffect)(()=>{C(n)},[n,C]);let w=o.mergeRefs(x,g);return(0,u.jsx)(d.FloatingPortal,{children:(0,u.jsx)(r.Transition,{...h,ref:w,show:i===void 0?_:i,preset:`fade`,id:p??v,style:{...S,...a},className:(0,l.default)(s.default.menu,t),role:`menu`,"aria-labelledby":m??y,children:e})})});h.displayName=`Dropdown.Menu`;var g=(0,c.forwardRef)(({children:e,onClick:t,disabled:n=!1,className:r,...a},o)=>{let{close:d,focusedIndex:p,setFocusedIndex:m,registerItem:h}=c.default.useContext(f),[g]=(0,c.useState)(()=>h()),_=p===g,v=e=>{n||(e.stopPropagation(),t&&t(),d())};return(0,u.jsx)(i.BaseListItem,{...a,ref:o,className:(0,l.default)(s.default.item,r),onClick:v,onFocus:()=>m(g),disabled:n,role:`menuitem`,tabIndex:_?0:-1,onKeyDown:e=>{!n&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),v(e))},children:e})});g.displayName=`Dropdown.Item`;var _=(0,c.forwardRef)((e,t)=>(0,u.jsx)(p,{...e,ref:t}));_.displayName=`Dropdown`,_.Trigger=m,_.Menu=h,_.Item=g,exports.Dropdown=_,exports.default=_,exports.DropdownItem=g,exports.DropdownMenu=h,exports.DropdownTrigger=m;
2
+ const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../node_modules/@radix-ui/react-slot/dist/index.cjs"),n=require("../../_internal/escapeStack.cjs"),r=require("../../layout/Transition/Transition.cjs"),i=require("../../_internal/BaseListItem/BaseListItem.cjs"),a=require("../../_internal/typeahead.cjs"),o=require("../../_internal/mergeRefs.cjs"),s=require("../../_internal/useCloseWhenReferenceGone.cjs"),c=require("./dropdown.module.cjs");let l=require("react");l=e.__toESM(l,1);let u=require("classnames");u=e.__toESM(u,1);let d=require("react/jsx-runtime"),f=require("@floating-ui/react");var p=l.default.createContext({isOpen:!1,toggle:()=>{},close:()=>{},menuId:``,triggerId:``,setTriggerIdOverride:()=>{},setMenuIdOverride:()=>{},focusedIndex:-1,setFocusedIndex:()=>{},registerItem:()=>0,containerRef:{current:null},setReference:()=>{},setFloating:()=>{},floatingStyles:{},floatingRef:{current:null},setAlign:()=>{}}),m=(0,l.forwardRef)(({children:e,className:r,asChild:i=!1,defaultOpen:m=!1,open:h,onOpenChange:g,..._},v)=>{let[y,b]=(0,l.useState)(m),x=h??y,S=(0,l.useCallback)(e=>{h===void 0&&b(e),g?.(e)},[h,g]),[C,w]=(0,l.useState)(-1),T=(0,l.useRef)(null),E=(0,l.useRef)(0),[D,O]=(0,l.useState)(`left`),{refs:k,floatingStyles:A,elements:j}=(0,f.useFloating)({open:x,placement:D===`right`?`bottom-end`:`bottom-start`,whileElementsMounted:f.autoUpdate,middleware:[(0,f.offset)(4),(0,f.flip)(),(0,f.shift)({padding:8})]}),M=o.mergeRefs(T,v);(0,l.useEffect)(()=>{E.current=0});let N=()=>{let e=E.current;return E.current+=1,e},P=(0,l.useId)(),[F,I]=(0,l.useState)(void 0),[L,R]=(0,l.useState)(void 0),z=L??`wim-dropdown-menu-${P}`,B=F??`wim-dropdown-trigger-${P}`,V=()=>{let e=!x;S(e),w(e?0:-1)},H=(0,l.useCallback)(()=>{let e=k.floating.current,t=!!e&&e.contains(document.activeElement);S(!1),w(-1),t&&k.reference.current?.focus?.({preventScroll:!0})},[S,k.floating,k.reference]);(0,l.useEffect)(()=>{let e=e=>{let t=e.target,n=k.floating.current?.contains(t)??!1;T.current&&!T.current.contains(t)&&!n&&H()};return x&&document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[x,k.floating,H]),n.useEscapeLayer(x,H),s.useCloseWhenReferenceGone(x,j.reference,H);let U=a.useTypeahead(),W=e=>{if(!x)return;let t=Array.from((k.floating.current??T.current)?.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`)||[]);if(a.isTypeaheadKey(e,U.typing())){let n=a.findTypeaheadIndex({query:U.push(e.key),current:C,count:t.length,getText:e=>t[e].textContent??``});n>=0&&(e.preventDefault(),w(n))}else switch(e.key){case`ArrowDown`:e.preventDefault(),w(e=>e<t.length-1?e+1:0);break;case`ArrowUp`:e.preventDefault(),w(e=>e>0?e-1:t.length-1);break;case`Home`:e.preventDefault(),w(0);break;case`End`:e.preventDefault(),w(t.length-1);break;case`Tab`:H()}};(0,l.useEffect)(()=>{x&&C>=0&&Array.from((k.floating.current??T.current)?.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`)||[])[C]?.focus({preventScroll:!0})},[C,x,k.floating]);let G=i?t.Root:`div`;return(0,d.jsx)(p.Provider,{value:{isOpen:x,toggle:V,close:H,menuId:z,triggerId:B,setTriggerIdOverride:I,setMenuIdOverride:R,focusedIndex:C,setFocusedIndex:w,registerItem:N,containerRef:T,setReference:k.setReference,setFloating:k.setFloating,floatingStyles:A,floatingRef:k.floating,setAlign:O},children:(0,d.jsx)(G,{..._,role:`none`,className:(0,u.default)(`wim-dropdown`,c.default.root,r),ref:M,onKeyDown:W,children:(0,d.jsx)(t.Slottable,{children:e})})})});m.displayName=`Dropdown`;var h=(0,l.forwardRef)(({children:e,className:n,asChild:r=!1,id:i,...a},s)=>{let{toggle:f,isOpen:m,menuId:h,triggerId:g,setTriggerIdOverride:_,setReference:v}=l.default.useContext(p);(0,l.useEffect)(()=>(_(i),()=>_(void 0)),[i,_]);let y=r?t.Root:`div`,b=o.mergeRefs(v,s);return(0,d.jsx)(y,{...a,ref:b,id:i??g,className:(0,u.default)(c.default.trigger,n),onClick:f,"aria-haspopup":`menu`,"aria-expanded":m,"aria-controls":m?h:void 0,role:`button`,tabIndex:0,onKeyDown:e=>{(e.key===`Enter`||e.key===` `||e.key===`ArrowDown`&&!m)&&(e.preventDefault(),f())},children:(0,d.jsx)(t.Slottable,{children:e})})});h.displayName=`Dropdown.Trigger`;var g=(0,l.forwardRef)(({children:e,className:t,align:n=`left`,show:i,style:a,id:s,"aria-labelledby":m,...h},g)=>{let{isOpen:_,menuId:v,triggerId:y,setMenuIdOverride:b,setFloating:x,floatingStyles:S,setAlign:C}=l.default.useContext(p);(0,l.useEffect)(()=>(b(s),()=>b(void 0)),[s,b]),(0,l.useEffect)(()=>{C(n)},[n,C]);let w=o.mergeRefs(x,g);return(0,d.jsx)(f.FloatingPortal,{children:(0,d.jsx)(r.Transition,{...h,ref:w,show:i===void 0?_:i,preset:`fade`,id:s??v,style:{...S,...a},className:(0,u.default)(c.default.menu,t),role:`menu`,"aria-labelledby":m??y,children:e})})});g.displayName=`Dropdown.Menu`;var _=(0,l.forwardRef)(({children:e,onClick:t,disabled:n=!1,className:r,...a},o)=>{let{close:s,focusedIndex:f,setFocusedIndex:m,registerItem:h}=l.default.useContext(p),[g]=(0,l.useState)(()=>h()),_=f===g,v=e=>{n||(e.stopPropagation(),t&&t(),s())};return(0,d.jsx)(i.BaseListItem,{...a,ref:o,className:(0,u.default)(c.default.item,r),onClick:v,onFocus:()=>m(g),disabled:n,role:`menuitem`,tabIndex:_?0:-1,onKeyDown:e=>{!n&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),v(e))},children:e})});_.displayName=`Dropdown.Item`;var v=(0,l.forwardRef)((e,t)=>(0,d.jsx)(m,{...e,ref:t}));v.displayName=`Dropdown`,v.Trigger=h,v.Menu=g,v.Item=_,exports.Dropdown=v,exports.default=v,exports.DropdownItem=_,exports.DropdownMenu=g,exports.DropdownTrigger=h;
@@ -5,13 +5,14 @@ import { Transition as r } from "../../layout/Transition/Transition.js";
5
5
  import { BaseListItem as i } from "../../_internal/BaseListItem/BaseListItem.js";
6
6
  import { findTypeaheadIndex as a, isTypeaheadKey as o, useTypeahead as s } from "../../_internal/typeahead.js";
7
7
  import { mergeRefs as c } from "../../_internal/mergeRefs.js";
8
- import l from "./dropdown.module.js";
9
- import u, { forwardRef as d, useCallback as f, useEffect as p, useId as m, useRef as h, useState as g } from "react";
10
- import _ from "classnames";
11
- import { jsx as v } from "react/jsx-runtime";
12
- import { FloatingPortal as y, autoUpdate as b, flip as x, offset as S, shift as C, useFloating as w } from "@floating-ui/react";
8
+ import { useCloseWhenReferenceGone as l } from "../../_internal/useCloseWhenReferenceGone.js";
9
+ import u from "./dropdown.module.js";
10
+ import d, { forwardRef as f, useCallback as p, useEffect as m, useId as h, useRef as g, useState as _ } from "react";
11
+ import v from "classnames";
12
+ import { jsx as y } from "react/jsx-runtime";
13
+ import { FloatingPortal as b, autoUpdate as x, flip as S, offset as C, shift as w, useFloating as T } from "@floating-ui/react";
13
14
  //#region src/components/overlay/Dropdown/Dropdown.tsx
14
- var T = u.createContext({
15
+ var E = d.createContext({
15
16
  isOpen: !1,
16
17
  toggle: () => {},
17
18
  close: () => {},
@@ -28,169 +29,169 @@ var T = u.createContext({
28
29
  floatingStyles: {},
29
30
  floatingRef: { current: null },
30
31
  setAlign: () => {}
31
- }), E = d(({ children: r, className: i, asChild: u = !1, defaultOpen: d = !1, open: y, onOpenChange: E, ...D }, O) => {
32
- let [k, A] = g(d), j = y ?? k, M = f((e) => {
33
- y === void 0 && A(e), E?.(e);
34
- }, [y, E]), [N, P] = g(-1), F = h(null), I = h(0), [L, R] = g("left"), { refs: z, floatingStyles: B } = w({
35
- open: j,
36
- placement: L === "right" ? "bottom-end" : "bottom-start",
37
- whileElementsMounted: b,
32
+ }), D = f(({ children: r, className: i, asChild: d = !1, defaultOpen: f = !1, open: b, onOpenChange: D, ...O }, k) => {
33
+ let [A, j] = _(f), M = b ?? A, N = p((e) => {
34
+ b === void 0 && j(e), D?.(e);
35
+ }, [b, D]), [P, F] = _(-1), I = g(null), L = g(0), [ee, R] = _("left"), { refs: z, floatingStyles: B, elements: V } = T({
36
+ open: M,
37
+ placement: ee === "right" ? "bottom-end" : "bottom-start",
38
+ whileElementsMounted: x,
38
39
  middleware: [
39
- S(4),
40
- x(),
41
- C({ padding: 8 })
40
+ C(4),
41
+ S(),
42
+ w({ padding: 8 })
42
43
  ]
43
- }), V = c(F, O);
44
- p(() => {
45
- I.current = 0;
44
+ }), H = c(I, k);
45
+ m(() => {
46
+ L.current = 0;
46
47
  });
47
- let H = () => {
48
- let e = I.current;
49
- return I.current += 1, e;
50
- }, U = m(), [W, G] = g(void 0), [K, q] = g(void 0), J = K ?? `wim-dropdown-menu-${U}`, Y = W ?? `wim-dropdown-trigger-${U}`, X = () => {
51
- let e = !j;
52
- M(e), P(e ? 0 : -1);
53
- }, Z = f(() => {
48
+ let U = () => {
49
+ let e = L.current;
50
+ return L.current += 1, e;
51
+ }, W = h(), [G, K] = _(void 0), [q, J] = _(void 0), Y = q ?? `wim-dropdown-menu-${W}`, X = G ?? `wim-dropdown-trigger-${W}`, Z = () => {
52
+ let e = !M;
53
+ N(e), F(e ? 0 : -1);
54
+ }, Q = p(() => {
54
55
  let e = z.floating.current, t = !!e && e.contains(document.activeElement);
55
- M(!1), P(-1), t && z.reference.current?.focus?.({ preventScroll: !0 });
56
+ N(!1), F(-1), t && z.reference.current?.focus?.({ preventScroll: !0 });
56
57
  }, [
57
- M,
58
+ N,
58
59
  z.floating,
59
60
  z.reference
60
61
  ]);
61
- p(() => {
62
+ m(() => {
62
63
  let e = (e) => {
63
64
  let t = e.target, n = z.floating.current?.contains(t) ?? !1;
64
- F.current && !F.current.contains(t) && !n && Z();
65
+ I.current && !I.current.contains(t) && !n && Q();
65
66
  };
66
- return j && document.addEventListener("mousedown", e), () => {
67
+ return M && document.addEventListener("mousedown", e), () => {
67
68
  document.removeEventListener("mousedown", e);
68
69
  };
69
70
  }, [
70
- j,
71
+ M,
71
72
  z.floating,
72
- Z
73
- ]), n(j, Z);
74
- let Q = s(), $ = (e) => {
75
- if (!j) return;
76
- let t = Array.from((z.floating.current ?? F.current)?.querySelectorAll("[role=\"menuitem\"]:not([aria-disabled=\"true\"])") || []);
77
- if (o(e, Q.typing())) {
73
+ Q
74
+ ]), n(M, Q), l(M, V.reference, Q);
75
+ let $ = s(), te = (e) => {
76
+ if (!M) return;
77
+ let t = Array.from((z.floating.current ?? I.current)?.querySelectorAll("[role=\"menuitem\"]:not([aria-disabled=\"true\"])") || []);
78
+ if (o(e, $.typing())) {
78
79
  let n = a({
79
- query: Q.push(e.key),
80
- current: N,
80
+ query: $.push(e.key),
81
+ current: P,
81
82
  count: t.length,
82
83
  getText: (e) => t[e].textContent ?? ""
83
84
  });
84
- n >= 0 && (e.preventDefault(), P(n));
85
+ n >= 0 && (e.preventDefault(), F(n));
85
86
  } else switch (e.key) {
86
87
  case "ArrowDown":
87
- e.preventDefault(), P((e) => e < t.length - 1 ? e + 1 : 0);
88
+ e.preventDefault(), F((e) => e < t.length - 1 ? e + 1 : 0);
88
89
  break;
89
90
  case "ArrowUp":
90
- e.preventDefault(), P((e) => e > 0 ? e - 1 : t.length - 1);
91
+ e.preventDefault(), F((e) => e > 0 ? e - 1 : t.length - 1);
91
92
  break;
92
93
  case "Home":
93
- e.preventDefault(), P(0);
94
+ e.preventDefault(), F(0);
94
95
  break;
95
96
  case "End":
96
- e.preventDefault(), P(t.length - 1);
97
+ e.preventDefault(), F(t.length - 1);
97
98
  break;
98
- case "Tab": Z();
99
+ case "Tab": Q();
99
100
  }
100
101
  };
101
- p(() => {
102
- j && N >= 0 && Array.from((z.floating.current ?? F.current)?.querySelectorAll("[role=\"menuitem\"]:not([aria-disabled=\"true\"])") || [])[N]?.focus({ preventScroll: !0 });
102
+ m(() => {
103
+ M && P >= 0 && Array.from((z.floating.current ?? I.current)?.querySelectorAll("[role=\"menuitem\"]:not([aria-disabled=\"true\"])") || [])[P]?.focus({ preventScroll: !0 });
103
104
  }, [
104
- N,
105
- j,
105
+ P,
106
+ M,
106
107
  z.floating
107
108
  ]);
108
- let ee = u ? e : "div";
109
- return /* @__PURE__ */ v(T.Provider, {
109
+ let ne = d ? e : "div";
110
+ return /* @__PURE__ */ y(E.Provider, {
110
111
  value: {
111
- isOpen: j,
112
- toggle: X,
113
- close: Z,
114
- menuId: J,
115
- triggerId: Y,
116
- setTriggerIdOverride: G,
117
- setMenuIdOverride: q,
118
- focusedIndex: N,
119
- setFocusedIndex: P,
120
- registerItem: H,
121
- containerRef: F,
112
+ isOpen: M,
113
+ toggle: Z,
114
+ close: Q,
115
+ menuId: Y,
116
+ triggerId: X,
117
+ setTriggerIdOverride: K,
118
+ setMenuIdOverride: J,
119
+ focusedIndex: P,
120
+ setFocusedIndex: F,
121
+ registerItem: U,
122
+ containerRef: I,
122
123
  setReference: z.setReference,
123
124
  setFloating: z.setFloating,
124
125
  floatingStyles: B,
125
126
  floatingRef: z.floating,
126
127
  setAlign: R
127
128
  },
128
- children: /* @__PURE__ */ v(ee, {
129
- ...D,
129
+ children: /* @__PURE__ */ y(ne, {
130
+ ...O,
130
131
  role: "none",
131
- className: _("wim-dropdown", l.root, i),
132
- ref: V,
133
- onKeyDown: $,
134
- children: /* @__PURE__ */ v(t, { children: r })
132
+ className: v("wim-dropdown", u.root, i),
133
+ ref: H,
134
+ onKeyDown: te,
135
+ children: /* @__PURE__ */ y(t, { children: r })
135
136
  })
136
137
  });
137
138
  });
138
- E.displayName = "Dropdown";
139
- var D = d(({ children: n, className: r, asChild: i = !1, id: a, ...o }, s) => {
140
- let { toggle: d, isOpen: f, menuId: m, triggerId: h, setTriggerIdOverride: g, setReference: y } = u.useContext(T);
141
- p(() => (g(a), () => g(void 0)), [a, g]);
142
- let b = i ? e : "div", x = c(y, s);
143
- return /* @__PURE__ */ v(b, {
139
+ D.displayName = "Dropdown";
140
+ var O = f(({ children: n, className: r, asChild: i = !1, id: a, ...o }, s) => {
141
+ let { toggle: l, isOpen: f, menuId: p, triggerId: h, setTriggerIdOverride: g, setReference: _ } = d.useContext(E);
142
+ m(() => (g(a), () => g(void 0)), [a, g]);
143
+ let b = i ? e : "div", x = c(_, s);
144
+ return /* @__PURE__ */ y(b, {
144
145
  ...o,
145
146
  ref: x,
146
147
  id: a ?? h,
147
- className: _(l.trigger, r),
148
- onClick: d,
148
+ className: v(u.trigger, r),
149
+ onClick: l,
149
150
  "aria-haspopup": "menu",
150
151
  "aria-expanded": f,
151
- "aria-controls": f ? m : void 0,
152
+ "aria-controls": f ? p : void 0,
152
153
  role: "button",
153
154
  tabIndex: 0,
154
155
  onKeyDown: (e) => {
155
- (e.key === "Enter" || e.key === " " || e.key === "ArrowDown" && !f) && (e.preventDefault(), d());
156
+ (e.key === "Enter" || e.key === " " || e.key === "ArrowDown" && !f) && (e.preventDefault(), l());
156
157
  },
157
- children: /* @__PURE__ */ v(t, { children: n })
158
+ children: /* @__PURE__ */ y(t, { children: n })
158
159
  });
159
160
  });
160
- D.displayName = "Dropdown.Trigger";
161
- var O = d(({ children: e, className: t, align: n = "left", show: i, style: a, id: o, "aria-labelledby": s, ...d }, f) => {
162
- let { isOpen: m, menuId: h, triggerId: g, setMenuIdOverride: b, setFloating: x, floatingStyles: S, setAlign: C } = u.useContext(T);
163
- p(() => (b(o), () => b(void 0)), [o, b]), p(() => {
161
+ O.displayName = "Dropdown.Trigger";
162
+ var k = f(({ children: e, className: t, align: n = "left", show: i, style: a, id: o, "aria-labelledby": s, ...l }, f) => {
163
+ let { isOpen: p, menuId: h, triggerId: g, setMenuIdOverride: _, setFloating: x, floatingStyles: S, setAlign: C } = d.useContext(E);
164
+ m(() => (_(o), () => _(void 0)), [o, _]), m(() => {
164
165
  C(n);
165
166
  }, [n, C]);
166
167
  let w = c(x, f);
167
- return /* @__PURE__ */ v(y, { children: /* @__PURE__ */ v(r, {
168
- ...d,
168
+ return /* @__PURE__ */ y(b, { children: /* @__PURE__ */ y(r, {
169
+ ...l,
169
170
  ref: w,
170
- show: i === void 0 ? m : i,
171
+ show: i === void 0 ? p : i,
171
172
  preset: "fade",
172
173
  id: o ?? h,
173
174
  style: {
174
175
  ...S,
175
176
  ...a
176
177
  },
177
- className: _(l.menu, t),
178
+ className: v(u.menu, t),
178
179
  role: "menu",
179
180
  "aria-labelledby": s ?? g,
180
181
  children: e
181
182
  }) });
182
183
  });
183
- O.displayName = "Dropdown.Menu";
184
- var k = d(({ children: e, onClick: t, disabled: n = !1, className: r, ...a }, o) => {
185
- let { close: s, focusedIndex: c, setFocusedIndex: d, registerItem: f } = u.useContext(T), [p] = g(() => f()), m = c === p, h = (e) => {
184
+ k.displayName = "Dropdown.Menu";
185
+ var A = f(({ children: e, onClick: t, disabled: n = !1, className: r, ...a }, o) => {
186
+ let { close: s, focusedIndex: c, setFocusedIndex: l, registerItem: f } = d.useContext(E), [p] = _(() => f()), m = c === p, h = (e) => {
186
187
  n || (e.stopPropagation(), t && t(), s());
187
188
  };
188
- return /* @__PURE__ */ v(i, {
189
+ return /* @__PURE__ */ y(i, {
189
190
  ...a,
190
191
  ref: o,
191
- className: _(l.item, r),
192
+ className: v(u.item, r),
192
193
  onClick: h,
193
- onFocus: () => d(p),
194
+ onFocus: () => l(p),
194
195
  disabled: n,
195
196
  role: "menuitem",
196
197
  tabIndex: m ? 0 : -1,
@@ -200,11 +201,11 @@ var k = d(({ children: e, onClick: t, disabled: n = !1, className: r, ...a }, o)
200
201
  children: e
201
202
  });
202
203
  });
203
- k.displayName = "Dropdown.Item";
204
- var A = d((e, t) => /* @__PURE__ */ v(E, {
204
+ A.displayName = "Dropdown.Item";
205
+ var j = f((e, t) => /* @__PURE__ */ y(D, {
205
206
  ...e,
206
207
  ref: t
207
208
  }));
208
- A.displayName = "Dropdown", A.Trigger = D, A.Menu = O, A.Item = k;
209
+ j.displayName = "Dropdown", j.Trigger = O, j.Menu = k, j.Item = A;
209
210
  //#endregion
210
- export { A as Dropdown, A as default, k as DropdownItem, O as DropdownMenu, D as DropdownTrigger };
211
+ export { j as Dropdown, j as default, A as DropdownItem, k as DropdownMenu, O as DropdownTrigger };
@@ -1,3 +1,3 @@
1
1
  import { WimNamespace } from '../instance.js';
2
- export type CommonKey = "a11y.attach_file" | "a11y.back_to_top" | "a11y.breadcrumb" | "a11y.calendar" | "a11y.clear_date" | "a11y.clear_input" | "a11y.clear_selection" | "a11y.clear_text" | "a11y.close" | "a11y.close_dialog" | "a11y.close_menu" | "a11y.close_tour" | "a11y.considerations" | "a11y.cover_art" | "a11y.crop_target" | "a11y.data_grid" | "a11y.delete" | "a11y.edit" | "a11y.exit_fullscreen" | "a11y.fullscreen" | "a11y.go_to_next_page" | "a11y.go_to_page" | "a11y.go_to_prev_page" | "a11y.hide_password" | "a11y.icon_fallback" | "a11y.items_per_page" | "a11y.jump_to_page" | "a11y.kanban_board" | "a11y.kanban_column_count" | "a11y.left_icon_action" | "a11y.loading" | "a11y.move_card" | "a11y.move_to_column" | "a11y.mute" | "a11y.next_month" | "a11y.next_slide" | "a11y.next_track" | "a11y.open_calendar" | "a11y.open_dropdown" | "a11y.open_menu" | "a11y.pagination_nav" | "a11y.pause" | "a11y.picture_in_picture" | "a11y.play" | "a11y.playlist" | "a11y.prev_month" | "a11y.prev_slide" | "a11y.resize_panel" | "a11y.right_icon_action" | "a11y.scroll_progress" | "a11y.search" | "a11y.seek" | "a11y.select_all_rows" | "a11y.select_row" | "a11y.select_row_numbered" | "a11y.settings" | "a11y.show_password" | "a11y.signature_canvas" | "a11y.skip_backward" | "a11y.skip_forward" | "a11y.unmute" | "a11y.volume" | "account" | "action.add" | "action.back" | "action.cancel" | "action.clear" | "action.close" | "action.confirm" | "action.copy" | "action.delete" | "action.edit" | "action.finish" | "action.next" | "action.ok" | "action.previous" | "action.save" | "action.search" | "action.submit" | "analytics" | "aspect.ratio" | "audience" | "audio.bass_boost" | "audio.repeat_all" | "audio.repeat_off" | "audio.repeat_single" | "audio.shuffle" | "audio.unknown_artist" | "audio.unknown_title" | "autosave.aria_label" | "autosave.error" | "autosave.saved" | "autosave.saved_at" | "autosave.saving" | "barcode.aria_label" | "barcode.invalid" | "bottom" | "chat.ai_assistant" | "chat.attachment_prefix" | "chat.placeholder" | "chat.placeholder_interactive" | "chat.send" | "chat.support" | "chat.tool_input" | "chat.tool_output" | "chat.user_avatar" | "chat.you" | "comment.action_context" | "comment.delete" | "comment.edit" | "comment.edited" | "comment.reply" | "common.all" | "common.appearance" | "common.as" | "common.children" | "common.className" | "common.color" | "common.component" | "common.content" | "common.custom" | "common.dark" | "common.default" | "common.delivery" | "common.description" | "common.disabled" | "common.do" | "common.done" | "common.dont" | "common.error" | "common.features" | "common.ghost" | "common.heatmap_less" | "common.heatmap_more" | "common.heatmap_title" | "common.horizontal" | "common.id" | "common.intensity" | "common.intent" | "common.label" | "common.large" | "common.layout" | "common.light" | "common.medium" | "common.name" | "common.neutral" | "common.no" | "common.none" | "common.or" | "common.password" | "common.placeholder" | "common.primary" | "common.props" | "common.ref" | "common.reload" | "common.rounded" | "common.secondary" | "common.size" | "common.small" | "common.status" | "common.style" | "common.success" | "common.title" | "common.type" | "common.usage" | "common.value" | "common.variant" | "common.vertical" | "common.warning" | "common.yes" | "copied" | "copy.to_clipboard" | "dashboard.intro" | "dashboard.tokens_link" | "dataGrid.displaying" | "dataGrid.loading_more" | "dataGrid.rows_selected" | "dataGrid.sort_cleared" | "dataGrid.sorted_ascending" | "dataGrid.sorted_descending" | "doc.a11y_spec_title" | "doc.anatomy_module_note" | "doc.anatomy_title" | "doc.api_reference" | "doc.baseListItem_a11y_desc" | "doc.baseListItem_anatomy_content_desc" | "doc.baseListItem_anatomy_content_label" | "doc.baseListItem_anatomy_root_desc" | "doc.baseListItem_anatomy_root_label" | "doc.baseListItem_best_practice_1" | "doc.baseListItem_best_practice_2" | "doc.baseListItem_choice_alt_when" | "doc.baseListItem_choice_matrix_desc" | "doc.baseListItem_choice_use_when" | "doc.baseListItem_content_guideline_1" | "doc.baseListItem_content_guideline_2" | "doc.baseListItem_design_intent" | "doc.baseListItem_i18n_desc" | "doc.baseListItem_keyboard_desc" | "doc.baseListItem_long_desc" | "doc.baseListItem_motion_desc" | "doc.baseListItem_responsive_desc" | "doc.baseListItem_scenario_1" | "doc.baseListItem_scenario_2" | "doc.baseListItem_tokens_desc" | "doc.baseListItem_usage_desc" | "doc.best_practice_footer" | "doc.best_practices_title" | "doc.button_a11y_desc" | "doc.button_motion_desc" | "doc.button_scenario_desc" | "doc.choice_matrix_title" | "doc.component" | "doc.content_guidelines_title" | "doc.danger" | "doc.description" | "doc.design_intent_title" | "doc.fieldTemplate_a11y_desc" | "doc.i18n_docgen_intro" | "doc.i18n_docgen_none" | "doc.i18n_title" | "doc.iconButton_desc" | "doc.inputBase_a11y_desc" | "doc.json_viewer_a11y_desc" | "doc.json_viewer_best_practice_1" | "doc.json_viewer_best_practice_2" | "doc.json_viewer_choice_matrix_desc" | "doc.json_viewer_content_guideline_1" | "doc.json_viewer_content_guideline_2" | "doc.json_viewer_desc" | "doc.json_viewer_design_intent" | "doc.json_viewer_i18n_desc" | "doc.json_viewer_keyboard_desc" | "doc.json_viewer_motion_desc" | "doc.json_viewer_responsive_desc" | "doc.json_viewer_scenario_1" | "doc.json_viewer_scenario_2" | "doc.keyboard_nav_title" | "doc.label" | "doc.label_a11y_desc" | "doc.label_best_practice_1" | "doc.label_best_practice_2" | "doc.label_choice_matrix_desc" | "doc.label_choice_self_when" | "doc.label_design_intent" | "doc.label_i18n_desc" | "doc.label_keyboard_desc" | "doc.label_motion_desc" | "doc.label_responsive_desc" | "doc.label_scenario_1" | "doc.label_scenario_2" | "doc.label_tokens_desc" | "doc.location" | "doc.motion_spec_title" | "doc.op_cancel" | "doc.op_edit_save" | "doc.op_navigate" | "doc.props_none" | "doc.props_title" | "doc.pull_to_refresh_a11y_desc" | "doc.pull_to_refresh_best_practice_1" | "doc.pull_to_refresh_best_practice_2" | "doc.pull_to_refresh_choice_matrix_desc" | "doc.pull_to_refresh_content_guideline_1" | "doc.pull_to_refresh_content_guideline_2" | "doc.pull_to_refresh_desc" | "doc.pull_to_refresh_design_intent" | "doc.pull_to_refresh_i18n_desc" | "doc.pull_to_refresh_keyboard_desc" | "doc.pull_to_refresh_motion_desc" | "doc.pull_to_refresh_responsive_desc" | "doc.pull_to_refresh_scenario_1" | "doc.pull_to_refresh_scenario_2" | "doc.real_world_scenarios_title" | "doc.recommendation" | "doc.responsive_title" | "doc.scenario" | "doc.scenario_404_title" | "doc.scenario_admin_title" | "doc.scenario_agreement_title" | "doc.scenario_ai_title" | "doc.scenario_article_title" | "doc.scenario_chat_title" | "doc.scenario_collab_title" | "doc.scenario_comment_title" | "doc.scenario_confirm_title" | "doc.scenario_copy_title" | "doc.scenario_cta_title" | "doc.scenario_dashboard_title" | "doc.scenario_delete_title" | "doc.scenario_detail_title" | "doc.scenario_ec_title" | "doc.scenario_event_title" | "doc.scenario_fail_title" | "doc.scenario_faq_title" | "doc.scenario_feature_title" | "doc.scenario_feed_title" | "doc.scenario_files_title" | "doc.scenario_filter_title" | "doc.scenario_form_title" | "doc.scenario_gallery_title" | "doc.scenario_gender_title" | "doc.scenario_help_title" | "doc.scenario_hero_title" | "doc.scenario_icon_title" | "doc.scenario_inbox_title" | "doc.scenario_init_title" | "doc.scenario_list_title" | "doc.scenario_maintenance_title" | "doc.scenario_nav_title" | "doc.scenario_notif_title" | "doc.scenario_pagination_title" | "doc.scenario_payment_title" | "doc.scenario_product_title" | "doc.scenario_products_title" | "doc.scenario_profile_title" | "doc.scenario_refresh_title" | "doc.scenario_save_title" | "doc.scenario_search_title" | "doc.scenario_settings_title" | "doc.scenario_shipping_title" | "doc.scenario_sns_title" | "doc.scenario_stats_title" | "doc.scenario_status_title" | "doc.scenario_subscription_title" | "doc.scenario_toc_title" | "doc.scenario_toggle_title" | "doc.scenario_toolbar_title" | "doc.scenario_trial_title" | "doc.scenario_undo_title" | "doc.scenario_user_title" | "doc.scenario_warehouse_title" | "doc.scenario_warning_title" | "doc.see_more" | "doc.speed_dial_a11y_desc" | "doc.speed_dial_best_practice_1" | "doc.speed_dial_best_practice_2" | "doc.speed_dial_choice_matrix_desc" | "doc.speed_dial_content_guideline_1" | "doc.speed_dial_content_guideline_2" | "doc.speed_dial_desc" | "doc.speed_dial_design_intent" | "doc.speed_dial_i18n_desc" | "doc.speed_dial_keyboard_desc" | "doc.speed_dial_motion_desc" | "doc.speed_dial_responsive_desc" | "doc.speed_dial_scenario_1" | "doc.speed_dial_scenario_2" | "doc.std_column_component" | "doc.std_column_no" | "doc.std_column_yes" | "doc.std_header_loading_state" | "doc.std_header_unified_sizing" | "doc.stories" | "doc.story_default" | "doc.story_disabled" | "doc.story_error" | "doc.story_ghost" | "doc.story_horizontal" | "doc.story_multiple_icons" | "doc.story_no_label" | "doc.story_states" | "doc.story_with_badge" | "doc.story_with_icon" | "doc.story_with_icons" | "doc.story_with_right_section" | "doc.summary" | "doc.swipe_action_a11y_desc" | "doc.swipe_action_best_practice_1" | "doc.swipe_action_best_practice_2" | "doc.swipe_action_choice_matrix_desc" | "doc.swipe_action_content_guideline_1" | "doc.swipe_action_content_guideline_2" | "doc.swipe_action_desc" | "doc.swipe_action_design_intent" | "doc.swipe_action_full_swipe_title" | "doc.swipe_action_full_swipe_usage" | "doc.swipe_action_i18n_desc" | "doc.swipe_action_keyboard_desc" | "doc.swipe_action_motion_desc" | "doc.swipe_action_responsive_desc" | "doc.swipe_action_scenario_1" | "doc.swipe_action_scenario_2" | "doc.swipeable_list_desc" | "doc.swipeable_list_usage" | "doc.tag_deletable" | "doc.tag_deletable_desc" | "doc.test_description" | "doc.test_title" | "doc.transfer_i18n_desc" | "doc.transition" | "doc.usage" | "doc.usage_scenario" | "error.boundary_hide_details" | "error.boundary_retry" | "error.boundary_show_details" | "error.boundary_title" | "error.invalid" | "error.required" | "fri" | "greeting" | "guide.action_std_affected_components" | "guide.action_std_concept_desc" | "guide.action_std_concept_title" | "guide.action_std_desc" | "guide.action_std_note_desc" | "guide.action_std_note_title" | "guide.action_std_rule_1_desc" | "guide.action_std_rule_1_title" | "guide.action_std_rule_2_desc" | "guide.action_std_rule_2_title" | "guide.action_std_rule_3_desc" | "guide.action_std_rule_3_title" | "guide.action_std_rule_4_desc" | "guide.action_std_rule_4_title" | "guide.action_std_rule_header_desc" | "guide.action_std_rule_header_title" | "guide.action_std_rules_title" | "guide.action_std_title" | "guide.numeric_std_concept_desc" | "guide.numeric_std_concept_title" | "guide.numeric_std_desc" | "guide.numeric_std_exp_notation_desc" | "guide.numeric_std_i18n_desc" | "guide.numeric_std_keyboard_desc" | "guide.numeric_std_problem_2_desc" | "guide.numeric_std_problem_3_title" | "guide.numeric_std_problem_4_desc" | "guide.numeric_std_problem_4_title" | "guide.numeric_std_problems_title" | "guide.numeric_std_recommend_desc" | "guide.numeric_std_recommend_title" | "guide.numeric_std_responsive_desc" | "guide.numeric_std_spin_button_warning" | "guide.numeric_std_table_behavior" | "guide.numeric_std_table_browser" | "guide.numeric_std_table_input_disabled" | "guide.numeric_std_table_input_js_empty" | "guide.numeric_std_table_input_status" | "guide.numeric_std_title" | "guide.numeric_std_tokens_desc" | "guide.numeric_std_usage_do_1" | "guide.numeric_std_usage_dont_1" | "guide.numeric_std_usage_warning_desc" | "home" | "imageCompare.handle" | "jsonViewer.addItem" | "jsonViewer.collapse" | "jsonViewer.copy" | "jsonViewer.deleteItem" | "jsonViewer.edit" | "jsonViewer.expand" | "jsonViewer.title" | "language.en" | "language.ja" | "language.pt" | "language.support" | "learn.more" | "left" | "modelSelector.context" | "modelSelector.input" | "modelSelector.output" | "modelSelector.placeholder" | "mon" | "month.apr" | "month.aug" | "month.dec" | "month.feb" | "month.jan" | "month.jul" | "month.jun" | "month.mar" | "month.may" | "month.nov" | "month.oct" | "month.sep" | "new" | "no.data" | "no.options_found" | "no.results_found" | "nodeGraph.add_node" | "nodeGraph.label" | "nodeGraph.new_node" | "nodeGraph.node_name" | "notifications" | "optional" | "overview" | "pagination.go" | "pagination.go_to" | "pagination.items_per_page" | "pagination.page_status" | "placeholder.email" | "placeholder.name" | "placeholder.search" | "playback.rate" | "playback.speed" | "presence.away" | "presence.busy" | "presence.offline" | "presence.online" | "processing" | "profile" | "pullToRefresh.loading" | "pullToRefresh.pull" | "pullToRefresh.release" | "quality" | "rangeSlider.end" | "rangeSlider.end_of" | "rangeSlider.start" | "rangeSlider.start_of" | "reaction.add_reaction" | "reaction.aria_label" | "reaction.react_with" | "reports" | "required" | "right" | "sampletextforscrollarea" | "sat" | "saving" | "scheduleView.label" | "settings" | "speedDial.close" | "speedDial.open" | "standard" | "standard_list_item" | "status.active" | "status.completed" | "status.error" | "status.idle" | "status.info" | "status.loading" | "status.pending" | "status.success" | "status.warning" | "std.column_auto_integrated" | "std.column_component" | "std.column_no" | "std.column_yes" | "std.header_loading_state" | "std.header_unified_sizing" | "std.std_column_component" | "std.std_column_no" | "std.std_column_yes" | "std.std_header_loading_state" | "std.std_header_unified_sizing" | "story.carousel_slide_label" | "story.thoughtprocess_title_streaming" | "story.thoughtprocess_title_thinking" | "sun" | "theme.system" | "theme.toggle" | "threadList.delete" | "threadList.empty" | "threadList.label" | "threadList.new_thread" | "thu" | "token.bp_cq_criterion" | "token.bp_cq_examples" | "token.bp_cq_label" | "token.bp_cq_note" | "token.bp_cq_usage_desc" | "token.bp_cq_usage_title" | "token.bp_cq_why_desc" | "token.bp_cq_why_title" | "token.bp_decision_col" | "token.bp_desc" | "token.bp_down_desc" | "token.bp_lg_device" | "token.bp_list" | "token.bp_md_device" | "token.bp_mq_criterion" | "token.bp_mq_examples" | "token.bp_mq_label" | "token.bp_mq_vs_cq_desc" | "token.bp_mq_vs_cq_title" | "token.bp_scss" | "token.bp_scss_desc" | "token.bp_sm_device" | "token.bp_th_device" | "token.bp_th_key" | "token.bp_th_width" | "token.bp_title" | "token.bp_up_desc" | "token.bp_xl_device" | "token.breakpoints" | "token.color_checker_desc" | "token.color_checker_title" | "token.color_ct_desc" | "token.color_ct_title" | "token.color_interaction_oklch_desc" | "token.color_interaction_oklch_title" | "token.color_pccs_th1" | "token.color_pccs_th2" | "token.color_pccs_th3" | "token.color_rgb_alpha_desc" | "token.color_rgb_alpha_title" | "token.colors" | "token.effects" | "token.overview_desc" | "token.overview_title" | "token.pccs" | "token.pccs_desc" | "token.spacings" | "token.type_alias" | "token.type_alias_desc" | "token.type_alias_th1" | "token.type_alias_th2" | "token.type_decor" | "token.type_desc1" | "token.type_desc2" | "token.type_ff_desc" | "token.type_ff_en" | "token.type_ff_ja" | "token.type_ff_lang" | "token.type_ff_pt" | "token.type_ff_stack" | "token.type_fontfamily" | "token.type_lh_jpan" | "token.type_lh_jpan_loose" | "token.type_lh_jpan_normal" | "token.type_lh_jpan_tight" | "token.type_lh_latn" | "token.type_lh_latn_loose" | "token.type_lh_latn_normal" | "token.type_lh_latn_tight" | "token.type_lineheight" | "token.type_lineheight_lang_desc" | "token.type_lineheight_lang_title" | "token.type_size" | "token.type_text_ex_large" | "token.type_text_ex_small" | "token.type_text_large" | "token.type_text_medium" | "token.type_text_small" | "token.type_title" | "token.type_weight" | "token.typography" | "top" | "tue" | "upload" | "username" | "video.fit_contain" | "video.fit_cover" | "video.fit_fill" | "video.fit_scale_down" | "video.label" | "wed" | "welcome";
2
+ export type CommonKey = "a11y.attach_file" | "a11y.back_to_top" | "a11y.breadcrumb" | "a11y.calendar" | "a11y.clear_date" | "a11y.clear_input" | "a11y.clear_selection" | "a11y.clear_text" | "a11y.close" | "a11y.close_dialog" | "a11y.close_menu" | "a11y.close_tour" | "a11y.considerations" | "a11y.cover_art" | "a11y.crop_target" | "a11y.data_grid" | "a11y.delete" | "a11y.edit" | "a11y.exit_fullscreen" | "a11y.fullscreen" | "a11y.go_to_next_page" | "a11y.go_to_page" | "a11y.go_to_prev_page" | "a11y.hide_password" | "a11y.icon_fallback" | "a11y.items_per_page" | "a11y.jump_to_page" | "a11y.kanban_board" | "a11y.kanban_column_count" | "a11y.left_icon_action" | "a11y.loading" | "a11y.move_card" | "a11y.move_to_column" | "a11y.mute" | "a11y.next_month" | "a11y.next_slide" | "a11y.next_track" | "a11y.open_calendar" | "a11y.open_dropdown" | "a11y.open_menu" | "a11y.pagination_nav" | "a11y.pause" | "a11y.picture_in_picture" | "a11y.play" | "a11y.playlist" | "a11y.prev_month" | "a11y.prev_slide" | "a11y.resize_panel" | "a11y.right_icon_action" | "a11y.scroll_progress" | "a11y.search" | "a11y.seek" | "a11y.select_all_rows" | "a11y.select_row" | "a11y.select_row_numbered" | "a11y.settings" | "a11y.show_password" | "a11y.signature_canvas" | "a11y.skip_backward" | "a11y.skip_forward" | "a11y.unmute" | "a11y.volume" | "account" | "action.add" | "action.back" | "action.cancel" | "action.clear" | "action.close" | "action.confirm" | "action.copy" | "action.delete" | "action.edit" | "action.finish" | "action.next" | "action.ok" | "action.previous" | "action.save" | "action.search" | "action.submit" | "analytics" | "aspect.ratio" | "audience" | "audio.bass_boost" | "audio.repeat_all" | "audio.repeat_off" | "audio.repeat_single" | "audio.shuffle" | "audio.unknown_artist" | "audio.unknown_title" | "autosave.aria_label" | "autosave.error" | "autosave.saved" | "autosave.saved_at" | "autosave.saving" | "barcode.aria_label" | "barcode.invalid" | "bottom" | "chat.ai_assistant" | "chat.attachment_prefix" | "chat.placeholder" | "chat.placeholder_interactive" | "chat.send" | "chat.support" | "chat.tool_input" | "chat.tool_output" | "chat.user_avatar" | "chat.you" | "comment.action_context" | "comment.delete" | "comment.edit" | "comment.edited" | "comment.reply" | "common.all" | "common.appearance" | "common.as" | "common.children" | "common.className" | "common.color" | "common.component" | "common.content" | "common.custom" | "common.dark" | "common.default" | "common.delivery" | "common.description" | "common.disabled" | "common.do" | "common.done" | "common.dont" | "common.error" | "common.features" | "common.ghost" | "common.heatmap_less" | "common.heatmap_more" | "common.heatmap_title" | "common.horizontal" | "common.id" | "common.intensity" | "common.intent" | "common.label" | "common.large" | "common.layout" | "common.light" | "common.medium" | "common.name" | "common.neutral" | "common.no" | "common.none" | "common.or" | "common.password" | "common.placeholder" | "common.primary" | "common.props" | "common.ref" | "common.reload" | "common.rounded" | "common.secondary" | "common.size" | "common.small" | "common.status" | "common.style" | "common.success" | "common.tertiary" | "common.title" | "common.type" | "common.usage" | "common.value" | "common.variant" | "common.vertical" | "common.warning" | "common.yes" | "copied" | "copy.to_clipboard" | "dashboard.intro" | "dashboard.tokens_link" | "dataGrid.displaying" | "dataGrid.loading_more" | "dataGrid.rows_selected" | "dataGrid.sort_cleared" | "dataGrid.sorted_ascending" | "dataGrid.sorted_descending" | "doc.a11y_spec_title" | "doc.anatomy_module_note" | "doc.anatomy_title" | "doc.api_reference" | "doc.baseListItem_a11y_desc" | "doc.baseListItem_anatomy_content_desc" | "doc.baseListItem_anatomy_content_label" | "doc.baseListItem_anatomy_root_desc" | "doc.baseListItem_anatomy_root_label" | "doc.baseListItem_best_practice_1" | "doc.baseListItem_best_practice_2" | "doc.baseListItem_choice_alt_when" | "doc.baseListItem_choice_matrix_desc" | "doc.baseListItem_choice_use_when" | "doc.baseListItem_content_guideline_1" | "doc.baseListItem_content_guideline_2" | "doc.baseListItem_design_intent" | "doc.baseListItem_i18n_desc" | "doc.baseListItem_keyboard_desc" | "doc.baseListItem_long_desc" | "doc.baseListItem_motion_desc" | "doc.baseListItem_responsive_desc" | "doc.baseListItem_scenario_1" | "doc.baseListItem_scenario_2" | "doc.baseListItem_tokens_desc" | "doc.baseListItem_usage_desc" | "doc.best_practice_footer" | "doc.best_practices_title" | "doc.button_a11y_desc" | "doc.button_motion_desc" | "doc.button_scenario_desc" | "doc.choice_matrix_title" | "doc.component" | "doc.content_guidelines_title" | "doc.danger" | "doc.description" | "doc.design_intent_title" | "doc.fieldTemplate_a11y_desc" | "doc.i18n_docgen_intro" | "doc.i18n_docgen_none" | "doc.i18n_title" | "doc.iconButton_desc" | "doc.inputBase_a11y_desc" | "doc.json_viewer_a11y_desc" | "doc.json_viewer_best_practice_1" | "doc.json_viewer_best_practice_2" | "doc.json_viewer_choice_matrix_desc" | "doc.json_viewer_content_guideline_1" | "doc.json_viewer_content_guideline_2" | "doc.json_viewer_desc" | "doc.json_viewer_design_intent" | "doc.json_viewer_i18n_desc" | "doc.json_viewer_keyboard_desc" | "doc.json_viewer_motion_desc" | "doc.json_viewer_responsive_desc" | "doc.json_viewer_scenario_1" | "doc.json_viewer_scenario_2" | "doc.keyboard_nav_title" | "doc.label" | "doc.label_a11y_desc" | "doc.label_best_practice_1" | "doc.label_best_practice_2" | "doc.label_choice_matrix_desc" | "doc.label_choice_self_when" | "doc.label_design_intent" | "doc.label_i18n_desc" | "doc.label_keyboard_desc" | "doc.label_motion_desc" | "doc.label_responsive_desc" | "doc.label_scenario_1" | "doc.label_scenario_2" | "doc.label_tokens_desc" | "doc.location" | "doc.motion_spec_title" | "doc.op_cancel" | "doc.op_edit_save" | "doc.op_navigate" | "doc.props_none" | "doc.props_title" | "doc.pull_to_refresh_a11y_desc" | "doc.pull_to_refresh_best_practice_1" | "doc.pull_to_refresh_best_practice_2" | "doc.pull_to_refresh_choice_matrix_desc" | "doc.pull_to_refresh_content_guideline_1" | "doc.pull_to_refresh_content_guideline_2" | "doc.pull_to_refresh_desc" | "doc.pull_to_refresh_design_intent" | "doc.pull_to_refresh_i18n_desc" | "doc.pull_to_refresh_keyboard_desc" | "doc.pull_to_refresh_motion_desc" | "doc.pull_to_refresh_responsive_desc" | "doc.pull_to_refresh_scenario_1" | "doc.pull_to_refresh_scenario_2" | "doc.real_world_scenarios_title" | "doc.recommendation" | "doc.responsive_title" | "doc.scenario" | "doc.scenario_404_title" | "doc.scenario_admin_title" | "doc.scenario_agreement_title" | "doc.scenario_ai_title" | "doc.scenario_article_title" | "doc.scenario_chat_title" | "doc.scenario_collab_title" | "doc.scenario_comment_title" | "doc.scenario_confirm_title" | "doc.scenario_copy_title" | "doc.scenario_cta_title" | "doc.scenario_dashboard_title" | "doc.scenario_delete_title" | "doc.scenario_detail_title" | "doc.scenario_ec_title" | "doc.scenario_event_title" | "doc.scenario_fail_title" | "doc.scenario_faq_title" | "doc.scenario_feature_title" | "doc.scenario_feed_title" | "doc.scenario_files_title" | "doc.scenario_filter_title" | "doc.scenario_form_title" | "doc.scenario_gallery_title" | "doc.scenario_gender_title" | "doc.scenario_help_title" | "doc.scenario_hero_title" | "doc.scenario_icon_title" | "doc.scenario_inbox_title" | "doc.scenario_init_title" | "doc.scenario_list_title" | "doc.scenario_maintenance_title" | "doc.scenario_nav_title" | "doc.scenario_notif_title" | "doc.scenario_pagination_title" | "doc.scenario_payment_title" | "doc.scenario_product_title" | "doc.scenario_products_title" | "doc.scenario_profile_title" | "doc.scenario_refresh_title" | "doc.scenario_save_title" | "doc.scenario_search_title" | "doc.scenario_settings_title" | "doc.scenario_shipping_title" | "doc.scenario_sns_title" | "doc.scenario_stats_title" | "doc.scenario_status_title" | "doc.scenario_subscription_title" | "doc.scenario_toc_title" | "doc.scenario_toggle_title" | "doc.scenario_toolbar_title" | "doc.scenario_trial_title" | "doc.scenario_undo_title" | "doc.scenario_user_title" | "doc.scenario_warehouse_title" | "doc.scenario_warning_title" | "doc.see_more" | "doc.speed_dial_a11y_desc" | "doc.speed_dial_best_practice_1" | "doc.speed_dial_best_practice_2" | "doc.speed_dial_choice_matrix_desc" | "doc.speed_dial_content_guideline_1" | "doc.speed_dial_content_guideline_2" | "doc.speed_dial_desc" | "doc.speed_dial_design_intent" | "doc.speed_dial_i18n_desc" | "doc.speed_dial_keyboard_desc" | "doc.speed_dial_motion_desc" | "doc.speed_dial_responsive_desc" | "doc.speed_dial_scenario_1" | "doc.speed_dial_scenario_2" | "doc.std_column_component" | "doc.std_column_no" | "doc.std_column_yes" | "doc.std_header_loading_state" | "doc.std_header_unified_sizing" | "doc.stories" | "doc.story_default" | "doc.story_disabled" | "doc.story_error" | "doc.story_ghost" | "doc.story_horizontal" | "doc.story_multiple_icons" | "doc.story_no_label" | "doc.story_states" | "doc.story_with_badge" | "doc.story_with_icon" | "doc.story_with_icons" | "doc.story_with_right_section" | "doc.summary" | "doc.swipe_action_a11y_desc" | "doc.swipe_action_best_practice_1" | "doc.swipe_action_best_practice_2" | "doc.swipe_action_choice_matrix_desc" | "doc.swipe_action_content_guideline_1" | "doc.swipe_action_content_guideline_2" | "doc.swipe_action_desc" | "doc.swipe_action_design_intent" | "doc.swipe_action_full_swipe_title" | "doc.swipe_action_full_swipe_usage" | "doc.swipe_action_i18n_desc" | "doc.swipe_action_keyboard_desc" | "doc.swipe_action_motion_desc" | "doc.swipe_action_responsive_desc" | "doc.swipe_action_scenario_1" | "doc.swipe_action_scenario_2" | "doc.swipeable_list_desc" | "doc.swipeable_list_usage" | "doc.tag_deletable" | "doc.tag_deletable_desc" | "doc.test_description" | "doc.test_title" | "doc.transfer_i18n_desc" | "doc.transition" | "doc.usage" | "doc.usage_scenario" | "error.boundary_hide_details" | "error.boundary_retry" | "error.boundary_show_details" | "error.boundary_title" | "error.invalid" | "error.required" | "fri" | "greeting" | "guide.action_std_affected_components" | "guide.action_std_concept_desc" | "guide.action_std_concept_title" | "guide.action_std_desc" | "guide.action_std_note_desc" | "guide.action_std_note_title" | "guide.action_std_rule_1_desc" | "guide.action_std_rule_1_title" | "guide.action_std_rule_2_desc" | "guide.action_std_rule_2_title" | "guide.action_std_rule_3_desc" | "guide.action_std_rule_3_title" | "guide.action_std_rule_4_desc" | "guide.action_std_rule_4_title" | "guide.action_std_rule_header_desc" | "guide.action_std_rule_header_title" | "guide.action_std_rules_title" | "guide.action_std_title" | "guide.numeric_std_concept_desc" | "guide.numeric_std_concept_title" | "guide.numeric_std_desc" | "guide.numeric_std_exp_notation_desc" | "guide.numeric_std_i18n_desc" | "guide.numeric_std_keyboard_desc" | "guide.numeric_std_problem_2_desc" | "guide.numeric_std_problem_3_title" | "guide.numeric_std_problem_4_desc" | "guide.numeric_std_problem_4_title" | "guide.numeric_std_problems_title" | "guide.numeric_std_recommend_desc" | "guide.numeric_std_recommend_title" | "guide.numeric_std_responsive_desc" | "guide.numeric_std_spin_button_warning" | "guide.numeric_std_table_behavior" | "guide.numeric_std_table_browser" | "guide.numeric_std_table_input_disabled" | "guide.numeric_std_table_input_js_empty" | "guide.numeric_std_table_input_status" | "guide.numeric_std_title" | "guide.numeric_std_tokens_desc" | "guide.numeric_std_usage_do_1" | "guide.numeric_std_usage_dont_1" | "guide.numeric_std_usage_warning_desc" | "home" | "imageCompare.handle" | "jsonViewer.addItem" | "jsonViewer.collapse" | "jsonViewer.copy" | "jsonViewer.deleteItem" | "jsonViewer.edit" | "jsonViewer.expand" | "jsonViewer.title" | "language.en" | "language.ja" | "language.pt" | "language.support" | "learn.more" | "left" | "modelSelector.context" | "modelSelector.input" | "modelSelector.output" | "modelSelector.placeholder" | "mon" | "month.apr" | "month.aug" | "month.dec" | "month.feb" | "month.jan" | "month.jul" | "month.jun" | "month.mar" | "month.may" | "month.nov" | "month.oct" | "month.sep" | "new" | "no.data" | "no.options_found" | "no.results_found" | "nodeGraph.add_node" | "nodeGraph.label" | "nodeGraph.new_node" | "nodeGraph.node_name" | "notifications" | "optional" | "overview" | "pagination.go" | "pagination.go_to" | "pagination.items_per_page" | "pagination.page_status" | "placeholder.email" | "placeholder.name" | "placeholder.search" | "playback.rate" | "playback.speed" | "presence.away" | "presence.busy" | "presence.offline" | "presence.online" | "processing" | "profile" | "pullToRefresh.loading" | "pullToRefresh.pull" | "pullToRefresh.release" | "quality" | "rangeSlider.end" | "rangeSlider.end_of" | "rangeSlider.start" | "rangeSlider.start_of" | "reaction.add_reaction" | "reaction.aria_label" | "reaction.react_with" | "reports" | "required" | "right" | "sampletextforscrollarea" | "sat" | "saving" | "scheduleView.label" | "settings" | "speedDial.close" | "speedDial.open" | "standard" | "standard_list_item" | "status.active" | "status.completed" | "status.error" | "status.idle" | "status.info" | "status.loading" | "status.pending" | "status.success" | "status.warning" | "std.column_auto_integrated" | "std.column_component" | "std.column_no" | "std.column_yes" | "std.header_loading_state" | "std.header_unified_sizing" | "std.std_column_component" | "std.std_column_no" | "std.std_column_yes" | "std.std_header_loading_state" | "std.std_header_unified_sizing" | "story.carousel_slide_label" | "story.thoughtprocess_title_streaming" | "story.thoughtprocess_title_thinking" | "sun" | "theme.system" | "theme.toggle" | "threadList.delete" | "threadList.empty" | "threadList.label" | "threadList.new_thread" | "thu" | "token.bp_cq_criterion" | "token.bp_cq_examples" | "token.bp_cq_label" | "token.bp_cq_note" | "token.bp_cq_usage_desc" | "token.bp_cq_usage_title" | "token.bp_cq_why_desc" | "token.bp_cq_why_title" | "token.bp_decision_col" | "token.bp_desc" | "token.bp_down_desc" | "token.bp_lg_device" | "token.bp_list" | "token.bp_md_device" | "token.bp_mq_criterion" | "token.bp_mq_examples" | "token.bp_mq_label" | "token.bp_mq_vs_cq_desc" | "token.bp_mq_vs_cq_title" | "token.bp_scss" | "token.bp_scss_desc" | "token.bp_sm_device" | "token.bp_th_device" | "token.bp_th_key" | "token.bp_th_width" | "token.bp_title" | "token.bp_up_desc" | "token.bp_xl_device" | "token.breakpoints" | "token.color_checker_desc" | "token.color_checker_title" | "token.color_ct_desc" | "token.color_ct_title" | "token.color_interaction_oklch_desc" | "token.color_interaction_oklch_title" | "token.color_pccs_th1" | "token.color_pccs_th2" | "token.color_pccs_th3" | "token.color_rgb_alpha_desc" | "token.color_rgb_alpha_title" | "token.colors" | "token.effects" | "token.overview_desc" | "token.overview_title" | "token.pccs" | "token.pccs_desc" | "token.spacings" | "token.type_alias" | "token.type_alias_desc" | "token.type_alias_th1" | "token.type_alias_th2" | "token.type_decor" | "token.type_desc1" | "token.type_desc2" | "token.type_ff_desc" | "token.type_ff_en" | "token.type_ff_ja" | "token.type_ff_lang" | "token.type_ff_pt" | "token.type_ff_stack" | "token.type_fontfamily" | "token.type_lh_jpan" | "token.type_lh_jpan_loose" | "token.type_lh_jpan_normal" | "token.type_lh_jpan_tight" | "token.type_lh_latn" | "token.type_lh_latn_loose" | "token.type_lh_latn_normal" | "token.type_lh_latn_tight" | "token.type_lineheight" | "token.type_lineheight_lang_desc" | "token.type_lineheight_lang_title" | "token.type_size" | "token.type_text_ex_large" | "token.type_text_ex_small" | "token.type_text_large" | "token.type_text_medium" | "token.type_text_small" | "token.type_title" | "token.type_weight" | "token.typography" | "top" | "tue" | "upload" | "username" | "video.fit_contain" | "video.fit_cover" | "video.fit_fill" | "video.fit_scale_down" | "video.label" | "wed" | "welcome";
3
3
  export declare const commonNs: WimNamespace<"common", CommonKey>;