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.
- package/dist/components/_internal/useCloseWhenReferenceGone.cjs +2 -0
- package/dist/components/_internal/useCloseWhenReferenceGone.d.ts +9 -0
- package/dist/components/_internal/useCloseWhenReferenceGone.js +17 -0
- package/dist/components/_internal/useFloatingElement.cjs +1 -1
- package/dist/components/_internal/useFloatingElement.js +28 -25
- package/dist/components/form/Combobox/Combobox.cjs +1 -1
- package/dist/components/form/Combobox/Combobox.js +1 -0
- package/dist/components/form/RangeSlider/RangeSlider.cjs +1 -1
- package/dist/components/form/RangeSlider/RangeSlider.js +113 -111
- package/dist/components/form/Slider/Slider.cjs +1 -1
- package/dist/components/form/Slider/Slider.js +77 -75
- package/dist/components/overlay/Dropdown/Dropdown.cjs +1 -1
- package/dist/components/overlay/Dropdown/Dropdown.js +99 -98
- package/dist/i18n/generated/common.d.ts +1 -1
- package/dist/llms/AppShell.md +2 -0
- package/dist/llms/Avatar.md +2 -0
- package/dist/llms/Badge.md +2 -0
- package/dist/llms/ButtonGroup.md +2 -0
- package/dist/llms/Card.md +2 -0
- package/dist/llms/CodeBlock.md +2 -0
- package/dist/llms/CopyButton.md +2 -0
- package/dist/llms/DataGrid.md +2 -0
- package/dist/llms/Dialog.md +1 -1
- package/dist/llms/Drawer.md +1 -1
- package/dist/llms/Fieldset.md +2 -0
- package/dist/llms/FileUpload.md +1 -1
- package/dist/llms/Indicator.md +2 -0
- package/dist/llms/InlineEdit.md +1 -1
- package/dist/llms/Input.md +2 -0
- package/dist/llms/List.md +2 -0
- package/dist/llms/OverflowList.md +1 -1
- package/dist/llms/Pagination.md +2 -0
- package/dist/llms/Popover.md +1 -1
- package/dist/llms/QueryBuilder.md +2 -0
- package/dist/llms/Radio.md +2 -0
- package/dist/llms/RadioGroup.md +2 -0
- package/dist/llms/Result.md +2 -0
- package/dist/llms/SegmentedControl.md +1 -1
- package/dist/llms/Spinner.md +1 -1
- package/dist/llms/SplitButton.md +2 -0
- package/dist/llms/Splitter.md +1 -1
- package/dist/llms/Stats.md +1 -1
- package/dist/llms/Stepper.md +2 -0
- package/dist/llms/Table.md +2 -0
- package/dist/llms/Text.md +2 -0
- package/dist/llms-full.txt +32 -32
- package/dist/llms.txt +32 -32
- package/dist/locales/en/common.json +2 -1
- package/dist/locales/ja/common.json +2 -1
- package/dist/locales/pt/common.json +2 -1
- package/dist/utilities/slider-utils.cjs +1 -1
- package/dist/utilities/slider-utils.d.ts +5 -0
- package/dist/utilities/slider-utils.js +2 -2
- package/dist/wimui.umd.js +5 -5
- 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 {
|
|
6
|
-
import
|
|
7
|
-
import { forwardRef as
|
|
8
|
-
import
|
|
9
|
-
import { jsx as
|
|
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
|
|
12
|
-
let
|
|
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
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
}, [
|
|
16
|
+
l(() => {
|
|
17
|
+
H.current || Y(L);
|
|
18
|
+
}, [L, Y]);
|
|
19
19
|
let X = (e) => {
|
|
20
|
-
if (
|
|
21
|
-
|
|
22
|
-
let t = "touches" in e ? e.touches[0].clientX : e.clientX, n = q(t,
|
|
23
|
-
|
|
24
|
-
}, Z =
|
|
25
|
-
if (!
|
|
26
|
-
let t = "touches" in e ? e.touches[0].clientX : e.clientX, n = q(t,
|
|
27
|
-
|
|
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 =
|
|
34
|
-
if (
|
|
35
|
-
|
|
36
|
-
let e =
|
|
37
|
-
|
|
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
|
-
}, [
|
|
40
|
-
|
|
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
|
|
44
|
-
if (
|
|
43
|
+
let ae = (e) => {
|
|
44
|
+
if (b) return;
|
|
45
45
|
let t;
|
|
46
|
-
if (e.key === "ArrowLeft" || e.key === "ArrowDown") t = Math.max(
|
|
47
|
-
else if (e.key === "ArrowRight" || e.key === "ArrowUp") t = Math.min(
|
|
48
|
-
else if (e.key === "
|
|
49
|
-
else if (e.key === "
|
|
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
|
-
|
|
52
|
-
}, $ = J(
|
|
53
|
-
return /* @__PURE__ */
|
|
54
|
-
label:
|
|
55
|
-
error:
|
|
56
|
-
required:
|
|
57
|
-
layout:
|
|
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:
|
|
61
|
-
styles:
|
|
62
|
-
children: /* @__PURE__ */
|
|
62
|
+
className: C,
|
|
63
|
+
styles: A,
|
|
64
|
+
children: /* @__PURE__ */ h(k ? e : "div", {
|
|
63
65
|
role: "presentation",
|
|
64
|
-
className:
|
|
65
|
-
ref:
|
|
66
|
-
...
|
|
67
|
-
onMouseDown: n(
|
|
68
|
-
onTouchStart: n(
|
|
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__ */
|
|
71
|
-
className:
|
|
72
|
-
ref:
|
|
73
|
-
children: [/* @__PURE__ */
|
|
74
|
-
ref:
|
|
75
|
-
className:
|
|
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__ */
|
|
78
|
-
ref:
|
|
79
|
-
className:
|
|
79
|
+
}), /* @__PURE__ */ m("div", {
|
|
80
|
+
ref: z,
|
|
81
|
+
className: o.thumb,
|
|
80
82
|
style: { left: `${$}%` },
|
|
81
83
|
role: "slider",
|
|
82
|
-
"aria-valuemin":
|
|
83
|
-
"aria-valuemax":
|
|
84
|
-
"aria-valuenow":
|
|
85
|
-
"aria-disabled":
|
|
86
|
-
"aria-labelledby":
|
|
87
|
-
"aria-label":
|
|
88
|
-
"aria-describedby": [
|
|
89
|
-
"aria-invalid":
|
|
90
|
-
tabIndex:
|
|
91
|
-
onKeyDown:
|
|
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__ */
|
|
95
|
-
ref:
|
|
96
|
+
/* @__PURE__ */ m("input", {
|
|
97
|
+
ref: V,
|
|
96
98
|
type: "hidden",
|
|
97
|
-
name:
|
|
98
|
-
value:
|
|
99
|
+
name: w,
|
|
100
|
+
value: L
|
|
99
101
|
}),
|
|
100
|
-
|
|
102
|
+
k ? /* @__PURE__ */ m(t, { children: j }) : null
|
|
101
103
|
]
|
|
102
104
|
})
|
|
103
105
|
});
|
|
104
106
|
});
|
|
105
|
-
|
|
107
|
+
g.displayName = "Slider";
|
|
106
108
|
//#endregion
|
|
107
|
-
export {
|
|
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
|
|
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 "
|
|
9
|
-
import u
|
|
10
|
-
import _ from "
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
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
|
|
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
|
-
}),
|
|
32
|
-
let [
|
|
33
|
-
|
|
34
|
-
}, [
|
|
35
|
-
open:
|
|
36
|
-
placement:
|
|
37
|
-
whileElementsMounted:
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
C(4),
|
|
41
|
+
S(),
|
|
42
|
+
w({ padding: 8 })
|
|
42
43
|
]
|
|
43
|
-
}),
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
}), H = c(I, k);
|
|
45
|
+
m(() => {
|
|
46
|
+
L.current = 0;
|
|
46
47
|
});
|
|
47
|
-
let
|
|
48
|
-
let e =
|
|
49
|
-
return
|
|
50
|
-
},
|
|
51
|
-
let e = !
|
|
52
|
-
|
|
53
|
-
},
|
|
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
|
-
|
|
56
|
+
N(!1), F(-1), t && z.reference.current?.focus?.({ preventScroll: !0 });
|
|
56
57
|
}, [
|
|
57
|
-
|
|
58
|
+
N,
|
|
58
59
|
z.floating,
|
|
59
60
|
z.reference
|
|
60
61
|
]);
|
|
61
|
-
|
|
62
|
+
m(() => {
|
|
62
63
|
let e = (e) => {
|
|
63
64
|
let t = e.target, n = z.floating.current?.contains(t) ?? !1;
|
|
64
|
-
|
|
65
|
+
I.current && !I.current.contains(t) && !n && Q();
|
|
65
66
|
};
|
|
66
|
-
return
|
|
67
|
+
return M && document.addEventListener("mousedown", e), () => {
|
|
67
68
|
document.removeEventListener("mousedown", e);
|
|
68
69
|
};
|
|
69
70
|
}, [
|
|
70
|
-
|
|
71
|
+
M,
|
|
71
72
|
z.floating,
|
|
72
|
-
|
|
73
|
-
]), n(
|
|
74
|
-
let
|
|
75
|
-
if (!
|
|
76
|
-
let t = Array.from((z.floating.current ??
|
|
77
|
-
if (o(e,
|
|
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:
|
|
80
|
-
current:
|
|
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(),
|
|
85
|
+
n >= 0 && (e.preventDefault(), F(n));
|
|
85
86
|
} else switch (e.key) {
|
|
86
87
|
case "ArrowDown":
|
|
87
|
-
e.preventDefault(),
|
|
88
|
+
e.preventDefault(), F((e) => e < t.length - 1 ? e + 1 : 0);
|
|
88
89
|
break;
|
|
89
90
|
case "ArrowUp":
|
|
90
|
-
e.preventDefault(),
|
|
91
|
+
e.preventDefault(), F((e) => e > 0 ? e - 1 : t.length - 1);
|
|
91
92
|
break;
|
|
92
93
|
case "Home":
|
|
93
|
-
e.preventDefault(),
|
|
94
|
+
e.preventDefault(), F(0);
|
|
94
95
|
break;
|
|
95
96
|
case "End":
|
|
96
|
-
e.preventDefault(),
|
|
97
|
+
e.preventDefault(), F(t.length - 1);
|
|
97
98
|
break;
|
|
98
|
-
case "Tab":
|
|
99
|
+
case "Tab": Q();
|
|
99
100
|
}
|
|
100
101
|
};
|
|
101
|
-
|
|
102
|
-
|
|
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
|
-
|
|
105
|
-
|
|
105
|
+
P,
|
|
106
|
+
M,
|
|
106
107
|
z.floating
|
|
107
108
|
]);
|
|
108
|
-
let
|
|
109
|
-
return /* @__PURE__ */
|
|
109
|
+
let ne = d ? e : "div";
|
|
110
|
+
return /* @__PURE__ */ y(E.Provider, {
|
|
110
111
|
value: {
|
|
111
|
-
isOpen:
|
|
112
|
-
toggle:
|
|
113
|
-
close:
|
|
114
|
-
menuId:
|
|
115
|
-
triggerId:
|
|
116
|
-
setTriggerIdOverride:
|
|
117
|
-
setMenuIdOverride:
|
|
118
|
-
focusedIndex:
|
|
119
|
-
setFocusedIndex:
|
|
120
|
-
registerItem:
|
|
121
|
-
containerRef:
|
|
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__ */
|
|
129
|
-
...
|
|
129
|
+
children: /* @__PURE__ */ y(ne, {
|
|
130
|
+
...O,
|
|
130
131
|
role: "none",
|
|
131
|
-
className:
|
|
132
|
-
ref:
|
|
133
|
-
onKeyDown:
|
|
134
|
-
children: /* @__PURE__ */
|
|
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
|
-
|
|
139
|
-
var
|
|
140
|
-
let { toggle:
|
|
141
|
-
|
|
142
|
-
let b = i ? e : "div", x = c(
|
|
143
|
-
return /* @__PURE__ */
|
|
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:
|
|
148
|
-
onClick:
|
|
148
|
+
className: v(u.trigger, r),
|
|
149
|
+
onClick: l,
|
|
149
150
|
"aria-haspopup": "menu",
|
|
150
151
|
"aria-expanded": f,
|
|
151
|
-
"aria-controls": f ?
|
|
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(),
|
|
156
|
+
(e.key === "Enter" || e.key === " " || e.key === "ArrowDown" && !f) && (e.preventDefault(), l());
|
|
156
157
|
},
|
|
157
|
-
children: /* @__PURE__ */
|
|
158
|
+
children: /* @__PURE__ */ y(t, { children: n })
|
|
158
159
|
});
|
|
159
160
|
});
|
|
160
|
-
|
|
161
|
-
var
|
|
162
|
-
let { isOpen:
|
|
163
|
-
|
|
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__ */
|
|
168
|
-
...
|
|
168
|
+
return /* @__PURE__ */ y(b, { children: /* @__PURE__ */ y(r, {
|
|
169
|
+
...l,
|
|
169
170
|
ref: w,
|
|
170
|
-
show: i === void 0 ?
|
|
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:
|
|
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
|
-
|
|
184
|
-
var
|
|
185
|
-
let { close: s, focusedIndex: c, setFocusedIndex:
|
|
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__ */
|
|
189
|
+
return /* @__PURE__ */ y(i, {
|
|
189
190
|
...a,
|
|
190
191
|
ref: o,
|
|
191
|
-
className:
|
|
192
|
+
className: v(u.item, r),
|
|
192
193
|
onClick: h,
|
|
193
|
-
onFocus: () =>
|
|
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
|
-
|
|
204
|
-
var
|
|
204
|
+
A.displayName = "Dropdown.Item";
|
|
205
|
+
var j = f((e, t) => /* @__PURE__ */ y(D, {
|
|
205
206
|
...e,
|
|
206
207
|
ref: t
|
|
207
208
|
}));
|
|
208
|
-
|
|
209
|
+
j.displayName = "Dropdown", j.Trigger = O, j.Menu = k, j.Item = A;
|
|
209
210
|
//#endregion
|
|
210
|
-
export {
|
|
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>;
|