wimui 0.24.4 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/_internal/ChartDataTable.cjs +2 -0
- package/dist/components/_internal/ChartDataTable.d.ts +43 -0
- package/dist/components/_internal/ChartDataTable.js +20 -0
- package/dist/components/_internal/chart-data-table.module.cjs +2 -0
- package/dist/components/_internal/chart-data-table.module.js +5 -0
- package/dist/components/_internal/chartTableData.cjs +0 -0
- package/dist/components/_internal/chartTableData.d.ts +53 -0
- package/dist/components/_internal/chartTableData.js +0 -0
- package/dist/components/ai/AgentStatus/agent-status.module.cjs +1 -1
- package/dist/components/ai/AgentStatus/agent-status.module.js +3 -3
- package/dist/components/ai/CodeDiffViewer/code-diff-viewer.module.cjs +1 -1
- package/dist/components/ai/CodeDiffViewer/code-diff-viewer.module.js +2 -2
- package/dist/components/ai/InteractiveGraph/interactive-graph.module.cjs +1 -1
- package/dist/components/ai/InteractiveGraph/interactive-graph.module.js +1 -1
- package/dist/components/charts/AreaChart/AreaChart.cjs +1 -1
- package/dist/components/charts/AreaChart/AreaChart.d.ts +7 -1
- package/dist/components/charts/AreaChart/AreaChart.js +85 -68
- package/dist/components/charts/BarChart/BarChart.cjs +1 -1
- package/dist/components/charts/BarChart/BarChart.d.ts +7 -1
- package/dist/components/charts/BarChart/BarChart.js +90 -73
- package/dist/components/charts/FunnelChart/FunnelChart.cjs +1 -1
- package/dist/components/charts/FunnelChart/FunnelChart.d.ts +7 -1
- package/dist/components/charts/FunnelChart/FunnelChart.js +60 -43
- package/dist/components/charts/GanttChart/gantt-chart.module.cjs +1 -1
- package/dist/components/charts/GanttChart/gantt-chart.module.js +1 -1
- package/dist/components/charts/GaugeChart/GaugeChart.cjs +1 -1
- package/dist/components/charts/GaugeChart/GaugeChart.d.ts +7 -1
- package/dist/components/charts/GaugeChart/GaugeChart.js +6 -4
- package/dist/components/charts/Heatmap/Heatmap.cjs +1 -1
- package/dist/components/charts/Heatmap/Heatmap.d.ts +7 -1
- package/dist/components/charts/Heatmap/Heatmap.js +101 -87
- package/dist/components/charts/LineChart/LineChart.cjs +1 -1
- package/dist/components/charts/LineChart/LineChart.d.ts +7 -1
- package/dist/components/charts/LineChart/LineChart.js +87 -70
- package/dist/components/charts/PieChart/PieChart.cjs +1 -1
- package/dist/components/charts/PieChart/PieChart.d.ts +7 -1
- package/dist/components/charts/PieChart/PieChart.js +65 -45
- package/dist/components/charts/RadarChart/RadarChart.cjs +1 -1
- package/dist/components/charts/RadarChart/RadarChart.d.ts +7 -1
- package/dist/components/charts/RadarChart/RadarChart.js +73 -56
- package/dist/components/charts/ScatterChart/ScatterChart.cjs +1 -1
- package/dist/components/charts/ScatterChart/ScatterChart.d.ts +7 -1
- package/dist/components/charts/ScatterChart/ScatterChart.js +85 -68
- package/dist/components/charts/Sparkline/Sparkline.cjs +1 -1
- package/dist/components/charts/Sparkline/Sparkline.js +52 -54
- package/dist/components/charts/Treemap/Treemap.cjs +1 -1
- package/dist/components/charts/Treemap/Treemap.d.ts +7 -1
- package/dist/components/charts/Treemap/Treemap.js +75 -61
- package/dist/components/data-display/CalendarHeatmap/calendar-heatmap.module.cjs +1 -1
- package/dist/components/data-display/CalendarHeatmap/calendar-heatmap.module.js +1 -1
- package/dist/components/data-display/Kanban/kanban.module.cjs +1 -1
- package/dist/components/data-display/Kanban/kanban.module.js +1 -1
- package/dist/components/data-display/NodeGraph/node-graph.module.cjs +1 -1
- package/dist/components/data-display/NodeGraph/node-graph.module.js +1 -1
- package/dist/components/feedback/Alert/alert.module.cjs +1 -1
- package/dist/components/feedback/Alert/alert.module.js +5 -5
- package/dist/components/feedback/ProgressRing/ProgressRing.d.ts +6 -1
- package/dist/components/feedback/Toast/toast.module.cjs +1 -1
- package/dist/components/feedback/Toast/toast.module.js +11 -11
- package/dist/components/form/FieldTemplate/field-template.module.cjs +1 -1
- package/dist/components/form/FieldTemplate/field-template.module.js +1 -1
- package/dist/components/helpers.cjs +1 -1
- package/dist/components/helpers.d.ts +18 -0
- package/dist/components/helpers.js +4 -1
- package/dist/components/layout/Footer/Footer.cjs +1 -1
- package/dist/components/layout/Footer/Footer.d.ts +15 -0
- package/dist/components/layout/Footer/Footer.js +15 -12
- package/dist/components/media/Gallery/gallery.module.cjs +1 -1
- package/dist/components/media/Gallery/gallery.module.js +11 -11
- package/dist/components/navigation/KeyboardShortcuts/KeyboardShortcuts.cjs +1 -1
- package/dist/components/navigation/KeyboardShortcuts/KeyboardShortcuts.d.ts +22 -0
- package/dist/components/navigation/KeyboardShortcuts/KeyboardShortcuts.js +31 -28
- package/dist/components/navigation/SpeedDial/SpeedDial.d.ts +24 -2
- package/dist/i18n/generated/keys.d.ts +1 -1
- package/dist/llms-full.txt +104 -11
- package/dist/llms.txt +1 -1
- package/dist/locales/en/common.json +1 -49
- package/dist/locales/en/form.json +1 -20
- package/dist/locales/ja/common.json +1 -49
- package/dist/locales/ja/form.json +1 -20
- package/dist/locales/pt/common.json +1 -49
- package/dist/locales/pt/form.json +1 -20
- package/dist/robots.txt +5 -0
- package/dist/styles.css +2 -2
- package/dist/types/generated-tokens.d.ts +1 -1
- package/dist/wimui.umd.css +1 -1
- package/dist/wimui.umd.js +3 -3
- package/package.json +35 -21
|
@@ -7,8 +7,23 @@ export interface FooterProps extends React.ComponentPropsWithoutRef<"footer"> {
|
|
|
7
7
|
/** Background color */
|
|
8
8
|
background?: "surface" | "surface-variant" | "inverse";
|
|
9
9
|
}
|
|
10
|
+
/** 見出しの段。`Dashboard` の `titleLevel` と同じ語彙に揃えてある(T211)。 */
|
|
11
|
+
export type FooterTitleLevel = 2 | 3 | 4 | 5 | 6;
|
|
10
12
|
export interface FooterSectionProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
11
13
|
title?: string;
|
|
14
|
+
/**
|
|
15
|
+
* `title` を見出しとして描くときの段(T211)。渡さなければ見出しにならず `p` のまま。
|
|
16
|
+
*
|
|
17
|
+
* 既定を見出しにしてはいけない(T191 の実績)── かつて `h4` 固定だった頃、ページに
|
|
18
|
+
* `h1` / `h2` があると段が飛んで axe の `heading-order` が鳴った
|
|
19
|
+
* (`Probes/SaginomiyaPool` で実際に出た)。フッタの欄名は文書の見出しではない、
|
|
20
|
+
* というのがそのときの判断で、ここはそれを踏襲する。
|
|
21
|
+
*
|
|
22
|
+
* ただし「欄名を見出しとして辿らせたい」ページも実在するので、段を明示したときだけ
|
|
23
|
+
* 見出しになるようにしてある。`Alert` の `titleTag`(既定 `div`)と同じ形。段を
|
|
24
|
+
* 決めるのはページ側の構造を知っている呼び出し元の仕事。
|
|
25
|
+
*/
|
|
26
|
+
titleLevel?: FooterTitleLevel;
|
|
12
27
|
}
|
|
13
28
|
export declare const FooterSection: React.ForwardRefExoticComponent<FooterSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
29
|
export type FooterBottomProps = React.ComponentPropsWithoutRef<"div">;
|
|
@@ -15,18 +15,21 @@ var a = t.forwardRef(({ className: t, children: i, bordered: a, fluid: o, backgr
|
|
|
15
15
|
})
|
|
16
16
|
}));
|
|
17
17
|
a.displayName = "Footer";
|
|
18
|
-
var o = t.forwardRef(({ className: t, children: a, title: o,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
children: o
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
18
|
+
var o = t.forwardRef(({ className: t, children: a, title: o, titleLevel: s, ...c }, l) => {
|
|
19
|
+
let u = s ? `h${s}` : null;
|
|
20
|
+
return /* @__PURE__ */ i("div", {
|
|
21
|
+
ref: l,
|
|
22
|
+
className: n(e.section, t),
|
|
23
|
+
...c,
|
|
24
|
+
children: [o && r(u || "p", {
|
|
25
|
+
className: e.sectionTitle,
|
|
26
|
+
children: o
|
|
27
|
+
}), /* @__PURE__ */ r("div", {
|
|
28
|
+
className: e.sectionContent,
|
|
29
|
+
children: a
|
|
30
|
+
})]
|
|
31
|
+
});
|
|
32
|
+
});
|
|
30
33
|
o.displayName = "Footer.Section";
|
|
31
34
|
var s = t.forwardRef(({ className: t, children: i, ...a }, o) => /* @__PURE__ */ r("div", {
|
|
32
35
|
ref: o,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_1s3aa_3`,t=`_toolbar_1s3aa_16`,n=`_toolbarCount_1s3aa_39`,r=`_toolbarActions_1s3aa_45`,i=`_toolbarClear_1s3aa_51`,a=`_grid_1s3aa_55`,o=`_item_1s3aa_90`,s=`_selected_1s3aa_101`,c=`_imageWrapper_1s3aa_101`,l=`_image_1s3aa_101`,u=`_checkboxOverlay_1s3aa_142`,d=`_checkbox_1s3aa_142`,f=`_selectedRing_1s3aa_164`,p=`_caption_1s3aa_172`,m=`_captionTitle_1s3aa_179`,h=`_captionText_1s3aa_188`,g={root:e,toolbar:t,"toolbar-in":`_toolbar-in_1s3aa_1`,toolbarCount:n,toolbarActions:r,toolbarClear:i,grid:a,"gap-xs":`_gap-xs_1s3aa_70`,"gap-sm":`_gap-sm_1s3aa_74`,"gap-md":`_gap-md_1s3aa_78`,"gap-lg":`_gap-lg_1s3aa_82`,"gap-xl":`_gap-xl_1s3aa_86`,item:o,selected:s,imageWrapper:c,"aspect-square":`_aspect-square_1s3aa_112`,"aspect-landscape":`_aspect-landscape_1s3aa_116`,"aspect-portrait":`_aspect-portrait_1s3aa_120`,"aspect-auto":`_aspect-auto_1s3aa_124`,image:l,checkboxOverlay:u,checkbox:d,selectedRing:f,caption:p,captionTitle:m,captionText:h};exports.caption=p,exports.captionText=h,exports.captionTitle=m,exports.checkbox=d,exports.checkboxOverlay=u,exports.default=g,exports.grid=a,exports.image=l,exports.imageWrapper=c,exports.item=o,exports.root=e,exports.selected=s,exports.selectedRing=f,exports.toolbar=t,exports.toolbarActions=r,exports.toolbarClear=i,exports.toolbarCount=n;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/media/Gallery/gallery.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_1s3aa_3", t = "_toolbar_1s3aa_16", n = "_toolbarCount_1s3aa_39", r = "_toolbarActions_1s3aa_45", i = "_toolbarClear_1s3aa_51", a = "_grid_1s3aa_55", o = "_item_1s3aa_90", s = "_selected_1s3aa_101", c = "_imageWrapper_1s3aa_101", l = "_image_1s3aa_101", u = "_checkboxOverlay_1s3aa_142", d = "_checkbox_1s3aa_142", f = "_selectedRing_1s3aa_164", p = "_caption_1s3aa_172", m = "_captionTitle_1s3aa_179", h = "_captionText_1s3aa_188", g = {
|
|
4
4
|
root: e,
|
|
5
5
|
toolbar: t,
|
|
6
|
-
"toolbar-in": "_toolbar-
|
|
6
|
+
"toolbar-in": "_toolbar-in_1s3aa_1",
|
|
7
7
|
toolbarCount: n,
|
|
8
8
|
toolbarActions: r,
|
|
9
9
|
toolbarClear: i,
|
|
10
10
|
grid: a,
|
|
11
|
-
"gap-xs": "_gap-
|
|
12
|
-
"gap-sm": "_gap-
|
|
13
|
-
"gap-md": "_gap-
|
|
14
|
-
"gap-lg": "_gap-
|
|
15
|
-
"gap-xl": "_gap-
|
|
11
|
+
"gap-xs": "_gap-xs_1s3aa_70",
|
|
12
|
+
"gap-sm": "_gap-sm_1s3aa_74",
|
|
13
|
+
"gap-md": "_gap-md_1s3aa_78",
|
|
14
|
+
"gap-lg": "_gap-lg_1s3aa_82",
|
|
15
|
+
"gap-xl": "_gap-xl_1s3aa_86",
|
|
16
16
|
item: o,
|
|
17
17
|
selected: s,
|
|
18
18
|
imageWrapper: c,
|
|
19
|
-
"aspect-square": "_aspect-
|
|
20
|
-
"aspect-landscape": "_aspect-
|
|
21
|
-
"aspect-portrait": "_aspect-
|
|
22
|
-
"aspect-auto": "_aspect-
|
|
19
|
+
"aspect-square": "_aspect-square_1s3aa_112",
|
|
20
|
+
"aspect-landscape": "_aspect-landscape_1s3aa_116",
|
|
21
|
+
"aspect-portrait": "_aspect-portrait_1s3aa_120",
|
|
22
|
+
"aspect-auto": "_aspect-auto_1s3aa_124",
|
|
23
23
|
image: l,
|
|
24
24
|
checkboxOverlay: u,
|
|
25
25
|
checkbox: d,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../typography/Kbd/Kbd.cjs"),n=require("./keyboard-shortcuts.module.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("classnames");i=e.__toESM(i,1);let a=require("react/jsx-runtime");var o=r.default.forwardRef(({shortcuts:e,title:o,separator:
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../typography/Kbd/Kbd.cjs"),n=require("./keyboard-shortcuts.module.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("classnames");i=e.__toESM(i,1);let a=require("react/jsx-runtime");var o=r.default.forwardRef(({shortcuts:e,title:o,titleLevel:s,separator:c=`+`,size:l=`md`,className:u,...d},f)=>{let p=s?`h${s}`:null;return(0,a.jsxs)(`div`,{className:(0,i.default)(`wim-keyboard-shortcuts`,n.default.root,n.default[l],u),children:[o&&(p?(0,a.jsx)(p,{className:n.default.title,children:o}):(0,a.jsx)(`p`,{className:n.default.title,children:o})),(0,a.jsx)(`dl`,{ref:f,className:n.default.list,...d,children:e.map((e,i)=>(0,a.jsxs)(`div`,{className:n.default.item,children:[(0,a.jsx)(`dt`,{className:n.default.label,children:e.label}),(0,a.jsx)(`dd`,{className:n.default.keys,children:e.keys.map((e,i)=>(0,a.jsxs)(r.default.Fragment,{children:[i>0&&(0,a.jsx)(`span`,{className:n.default.separator,"aria-hidden":`true`,children:c}),(0,a.jsx)(t.Kbd,{size:l,children:e})]},i))})]},i))})]})});o.displayName=`KeyboardShortcuts`,exports.KeyboardShortcuts=o;
|
|
@@ -6,11 +6,23 @@ export type ShortcutItem = {
|
|
|
6
6
|
/** Keys of the shortcut (e.g. ["Ctrl", "K"]) */
|
|
7
7
|
keys: string[];
|
|
8
8
|
};
|
|
9
|
+
/** 見出しの段。`Dashboard` の `titleLevel` と同じ語彙に揃えてある(T211)。 */
|
|
10
|
+
export type KeyboardShortcutsTitleLevel = 2 | 3 | 4 | 5 | 6;
|
|
9
11
|
export type KeyboardShortcutsProps = React.ComponentPropsWithoutRef<"dl"> & {
|
|
10
12
|
/** List of shortcuts to display */
|
|
11
13
|
shortcuts: ShortcutItem[];
|
|
12
14
|
/** Section title */
|
|
13
15
|
title?: string;
|
|
16
|
+
/**
|
|
17
|
+
* `title` を見出しとして描くときの段(T211)。渡さなければ見出しにならず `p` のまま。
|
|
18
|
+
*
|
|
19
|
+
* ショートカット一覧は「編集」「移動」のように節ごとに積んで使うので、段で辿れると
|
|
20
|
+
* 効く。ただし既定を見出しにはしない ── 段を決め打つとページに `h1` / `h2` がある
|
|
21
|
+
* 場合に段が飛び、axe の `heading-order` が鳴る(T191 で `Footer` が実際に踏んだ)。
|
|
22
|
+
* 段を決めるのはページ側の構造を知っている呼び出し元の仕事で、`Alert` の `titleTag`
|
|
23
|
+
* (既定 `div`)と同じ形。
|
|
24
|
+
*/
|
|
25
|
+
titleLevel?: KeyboardShortcutsTitleLevel;
|
|
14
26
|
/**
|
|
15
27
|
* Separator displayed between keys
|
|
16
28
|
* @default "+"
|
|
@@ -30,6 +42,16 @@ export declare const KeyboardShortcuts: React.ForwardRefExoticComponent<Omit<Rea
|
|
|
30
42
|
shortcuts: ShortcutItem[];
|
|
31
43
|
/** Section title */
|
|
32
44
|
title?: string;
|
|
45
|
+
/**
|
|
46
|
+
* `title` を見出しとして描くときの段(T211)。渡さなければ見出しにならず `p` のまま。
|
|
47
|
+
*
|
|
48
|
+
* ショートカット一覧は「編集」「移動」のように節ごとに積んで使うので、段で辿れると
|
|
49
|
+
* 効く。ただし既定を見出しにはしない ── 段を決め打つとページに `h1` / `h2` がある
|
|
50
|
+
* 場合に段が飛び、axe の `heading-order` が鳴る(T191 で `Footer` が実際に踏んだ)。
|
|
51
|
+
* 段を決めるのはページ側の構造を知っている呼び出し元の仕事で、`Alert` の `titleTag`
|
|
52
|
+
* (既定 `div`)と同じ形。
|
|
53
|
+
*/
|
|
54
|
+
titleLevel?: KeyboardShortcutsTitleLevel;
|
|
33
55
|
/**
|
|
34
56
|
* Separator displayed between keys
|
|
35
57
|
* @default "+"
|
|
@@ -5,34 +5,37 @@ import n from "react";
|
|
|
5
5
|
import r from "classnames";
|
|
6
6
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/navigation/KeyboardShortcuts/KeyboardShortcuts.tsx
|
|
8
|
-
var o = n.forwardRef(({ shortcuts: o, title: s,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
className: t.
|
|
12
|
-
children: s
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
children:
|
|
20
|
-
className: t.
|
|
21
|
-
children:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
className: t.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}))
|
|
8
|
+
var o = n.forwardRef(({ shortcuts: o, title: s, titleLevel: c, separator: l = "+", size: u = "md", className: d, ...f }, p) => {
|
|
9
|
+
let m = c ? `h${c}` : null;
|
|
10
|
+
return /* @__PURE__ */ a("div", {
|
|
11
|
+
className: r("wim-keyboard-shortcuts", t.root, t[u], d),
|
|
12
|
+
children: [s && i(m || "p", {
|
|
13
|
+
className: t.title,
|
|
14
|
+
children: s
|
|
15
|
+
}), /* @__PURE__ */ i("dl", {
|
|
16
|
+
ref: p,
|
|
17
|
+
className: t.list,
|
|
18
|
+
...f,
|
|
19
|
+
children: o.map((r, o) => /* @__PURE__ */ a("div", {
|
|
20
|
+
className: t.item,
|
|
21
|
+
children: [/* @__PURE__ */ i("dt", {
|
|
22
|
+
className: t.label,
|
|
23
|
+
children: r.label
|
|
24
|
+
}), /* @__PURE__ */ i("dd", {
|
|
25
|
+
className: t.keys,
|
|
26
|
+
children: r.keys.map((r, o) => /* @__PURE__ */ a(n.Fragment, { children: [o > 0 && /* @__PURE__ */ i("span", {
|
|
27
|
+
className: t.separator,
|
|
28
|
+
"aria-hidden": "true",
|
|
29
|
+
children: l
|
|
30
|
+
}), /* @__PURE__ */ i(e, {
|
|
31
|
+
size: u,
|
|
32
|
+
children: r
|
|
33
|
+
})] }, o))
|
|
34
|
+
})]
|
|
35
|
+
}, o))
|
|
36
|
+
})]
|
|
37
|
+
});
|
|
38
|
+
});
|
|
36
39
|
o.displayName = "KeyboardShortcuts";
|
|
37
40
|
//#endregion
|
|
38
41
|
export { o as KeyboardShortcuts };
|
|
@@ -14,7 +14,18 @@ export type SpeedDialProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
|
14
14
|
icon?: IconName;
|
|
15
15
|
/** Icon name for the main button when open */
|
|
16
16
|
activeIcon?: IconName;
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Direction in which actions expand.
|
|
19
|
+
*
|
|
20
|
+
* **The caller picks a direction that has room.** Actions are placed with
|
|
21
|
+
* plain CSS (`left: 100%` and friends) and are never measured, so this
|
|
22
|
+
* component does not flip when the viewport runs out — a `right` dial placed
|
|
23
|
+
* near the right edge pushes the page into a horizontal scroll. Anchor a
|
|
24
|
+
* `right` dial to the leading edge (and a `left` one to the trailing edge);
|
|
25
|
+
* `up` / `down` already grow inward from the trailing corner (T175).
|
|
26
|
+
*
|
|
27
|
+
* @default "up"
|
|
28
|
+
*/
|
|
18
29
|
direction?: "up" | "down" | "left" | "right";
|
|
19
30
|
/** Trigger mode to open the SpeedDial */
|
|
20
31
|
trigger?: "hover" | "click";
|
|
@@ -43,7 +54,18 @@ export declare const SpeedDial: React.ForwardRefExoticComponent<Omit<React.Detai
|
|
|
43
54
|
icon?: IconName;
|
|
44
55
|
/** Icon name for the main button when open */
|
|
45
56
|
activeIcon?: IconName;
|
|
46
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Direction in which actions expand.
|
|
59
|
+
*
|
|
60
|
+
* **The caller picks a direction that has room.** Actions are placed with
|
|
61
|
+
* plain CSS (`left: 100%` and friends) and are never measured, so this
|
|
62
|
+
* component does not flip when the viewport runs out — a `right` dial placed
|
|
63
|
+
* near the right edge pushes the page into a horizontal scroll. Anchor a
|
|
64
|
+
* `right` dial to the leading edge (and a `left` one to the trailing edge);
|
|
65
|
+
* `up` / `down` already grow inward from the trailing corner (T175).
|
|
66
|
+
*
|
|
67
|
+
* @default "up"
|
|
68
|
+
*/
|
|
47
69
|
direction?: "up" | "down" | "left" | "right";
|
|
48
70
|
/** Trigger mode to open the SpeedDial */
|
|
49
71
|
trigger?: "hover" | "click";
|