@progress/kendo-react-layout 14.5.0-develop.8 → 15.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/MenuMcpWrapper.d.ts +17 -0
  2. package/MenuMcpWrapper.js +8 -0
  3. package/MenuMcpWrapper.mjs +18 -0
  4. package/README.md +4 -4
  5. package/actionsheet/ActionSheet.d.ts +12 -0
  6. package/actionsheet/ActionSheet.js +1 -1
  7. package/actionsheet/ActionSheet.mjs +69 -68
  8. package/actionsheet/ActionSheetItem.js +1 -1
  9. package/actionsheet/ActionSheetItem.mjs +1 -3
  10. package/appbar/interfaces/AppBarProps.d.ts +2 -14
  11. package/bottomnavigation/BottomNavigation.js +1 -1
  12. package/bottomnavigation/BottomNavigation.mjs +81 -76
  13. package/bottomnavigation/BottomNavigationItem.js +1 -1
  14. package/bottomnavigation/BottomNavigationItem.mjs +34 -33
  15. package/bottomnavigation/BottomNavigationProps.d.ts +3 -13
  16. package/bottomnavigation/messages/index.d.ts +17 -0
  17. package/bottomnavigation/messages/index.js +8 -0
  18. package/bottomnavigation/messages/index.mjs +14 -0
  19. package/breadcrumb/Breadcrumb.js +1 -1
  20. package/breadcrumb/Breadcrumb.mjs +30 -28
  21. package/breadcrumb/BreadcrumbLink.js +1 -1
  22. package/breadcrumb/BreadcrumbLink.mjs +26 -26
  23. package/breadcrumb/messages/index.d.ts +17 -0
  24. package/breadcrumb/messages/index.js +8 -0
  25. package/breadcrumb/messages/index.mjs +14 -0
  26. package/card/Avatar.js +1 -1
  27. package/card/Avatar.mjs +14 -26
  28. package/card/interfaces/AvatarProps.d.ts +1 -8
  29. package/dist/cdn/js/kendo-react-layout.js +1 -1
  30. package/drawer/Drawer.d.ts +1 -1
  31. package/drawer/Drawer.js +1 -1
  32. package/drawer/Drawer.mjs +63 -63
  33. package/drawer/DrawerContent.d.ts +1 -1
  34. package/drawer/DrawerItem.d.ts +1 -1
  35. package/drawer/DrawerItem.js +1 -1
  36. package/drawer/DrawerItem.mjs +22 -23
  37. package/drawer/interfaces/DrawerProps.d.ts +8 -0
  38. package/expansionpanel/ExpansionPanel.js +1 -1
  39. package/expansionpanel/ExpansionPanel.mjs +50 -50
  40. package/expansionpanel/ExpansionPanelContent.js +1 -1
  41. package/expansionpanel/ExpansionPanelContent.mjs +7 -4
  42. package/index.d.mts +1 -2
  43. package/index.d.ts +1 -2
  44. package/index.js +1 -1
  45. package/index.mjs +128 -130
  46. package/menu/MenuProps.d.ts +6 -0
  47. package/menu/components/MenuItemArrow.d.ts +3 -3
  48. package/menu/components/MenuItemArrow.js +1 -1
  49. package/menu/components/MenuItemArrow.mjs +13 -23
  50. package/package-metadata.js +1 -1
  51. package/package-metadata.mjs +2 -2
  52. package/package.json +14 -9
  53. package/panelbar/PanelBar.js +1 -1
  54. package/panelbar/PanelBar.mjs +94 -91
  55. package/panelbar/PanelBarItem.js +1 -1
  56. package/panelbar/PanelBarItem.mjs +13 -15
  57. package/panelbar/interfaces/PanelBarProps.d.ts +8 -0
  58. package/panelbar/interfaces/RenderPanelBarItem.d.ts +1 -0
  59. package/panelbar/util.d.ts +1 -1
  60. package/panelbar/util.js +1 -1
  61. package/panelbar/util.mjs +62 -59
  62. package/splitter/SplitterBar.d.ts +1 -0
  63. package/splitter/SplitterBar.js +1 -1
  64. package/splitter/SplitterBar.mjs +81 -72
  65. package/stepper/Step.js +1 -1
  66. package/stepper/Step.mjs +79 -85
  67. package/stepper/Stepper.js +1 -1
  68. package/stepper/Stepper.mjs +134 -133
  69. package/stepper/interfaces/StepperProps.d.ts +8 -1
  70. package/stepper/messages/index.d.ts +12 -2
  71. package/stepper/messages/index.js +1 -1
  72. package/stepper/messages/index.mjs +8 -4
  73. package/tabstrip/TabStrip.d.ts +8 -1
  74. package/tabstrip/TabStrip.js +1 -1
  75. package/tabstrip/TabStrip.mjs +126 -125
  76. package/tabstrip/TabStripNavigation.js +1 -1
  77. package/tabstrip/TabStripNavigation.mjs +31 -31
  78. package/tilelayout/InternalTile.js +1 -1
  79. package/tilelayout/InternalTile.mjs +119 -115
  80. package/tilelayout/TileLayout.js +1 -1
  81. package/tilelayout/TileLayout.mjs +58 -58
  82. package/timeline/TimelineCard.d.ts +2 -0
  83. package/timeline/TimelineCard.js +1 -1
  84. package/timeline/TimelineCard.mjs +27 -18
  85. package/timeline/TimelineHorizontal.js +1 -1
  86. package/timeline/TimelineHorizontal.mjs +113 -109
@@ -6,126 +6,131 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import * as o from "react";
9
- import l from "prop-types";
10
- import { focusFirstFocusableChild as T, useId as B, useDir as _, classNames as $, dispatchEvent as S, Keys as g } from "@progress/kendo-react-common";
11
- import { POSITION_MODE_CLASSES as L, ITEM_FLOW_CLASSES as P } from "./models/utils.mjs";
12
- import { BottomNavigationItem as A } from "./BottomNavigationItem.mjs";
13
- const w = o.forwardRef((r, I) => {
14
- const s = o.useRef(null), b = o.useCallback(() => {
15
- s.current && T(s.current);
16
- }, []), d = o.useCallback(
9
+ import a from "prop-types";
10
+ import { focusFirstFocusableChild as B, useId as _, useDir as $, classNames as z, dispatchEvent as k, Keys as S } from "@progress/kendo-react-common";
11
+ import { POSITION_MODE_CLASSES as P, ITEM_FLOW_CLASSES as H } from "./models/utils.mjs";
12
+ import { BottomNavigationItem as j } from "./BottomNavigationItem.mjs";
13
+ import { useLocalization as W } from "@progress/kendo-react-intl";
14
+ import { bottomNavigationAriaLabel as I, messages as q } from "./messages/index.mjs";
15
+ const N = o.forwardRef((l, w) => {
16
+ const r = o.useRef(null), b = o.useCallback(() => {
17
+ r.current && B(r.current);
18
+ }, []), c = o.useCallback(
17
19
  () => ({
18
- element: s.current,
20
+ element: r.current,
19
21
  focus: b
20
22
  }),
21
23
  [b]
22
24
  );
23
- o.useImperativeHandle(I, d);
25
+ o.useImperativeHandle(w, c);
24
26
  const {
25
- positionMode: v = i.positionMode,
26
- itemFlow: C = i.itemFlow,
27
- border: M = i.border,
28
- className: h,
29
- items: a,
27
+ positionMode: v = s.positionMode,
28
+ itemFlow: C = s.itemFlow,
29
+ border: M = s.border,
30
+ className: g,
31
+ items: i,
30
32
  item: E,
31
- itemRender: N,
32
- disabled: c,
33
- style: F,
34
- id: k,
33
+ itemRender: F,
34
+ disabled: d,
35
+ style: L,
36
+ id: p,
35
37
  onSelect: m,
36
38
  onKeyDown: y
37
- } = r, p = B(), O = _(s, r.dir), f = o.useMemo(() => r.fillMode === null ? null : r.fillMode || i.fillMode, [r.fillMode]), u = o.useMemo(() => r.themeColor || i.themeColor, [r.themeColor]), D = o.useMemo(
38
- () => $(
39
+ } = l, O = W(), h = _(), D = $(r, l.dir), f = o.useMemo(() => l.fillMode === null ? null : l.fillMode || s.fillMode, [l.fillMode]), u = o.useMemo(() => l.themeColor || s.themeColor, [l.themeColor]), R = o.useMemo(
40
+ () => z(
39
41
  "k-bottom-nav",
40
- L[v],
41
- P[C],
42
+ P[v],
43
+ H[C],
42
44
  {
43
45
  [`k-bottom-nav-${f}`]: f,
44
46
  [`k-bottom-nav-${u}`]: !!u,
45
47
  "k-bottom-nav-border": M,
46
- "k-disabled": c
48
+ "k-disabled": d
47
49
  },
48
- h
50
+ g
49
51
  ),
50
- [v, u, f, C, M, c, h]
52
+ [v, u, f, C, M, d, g]
51
53
  ), n = o.useCallback(
52
54
  (e, t) => {
53
- a && !a[t].disabled && m && S(m, e, d(), {
54
- itemTarget: a[t],
55
+ i && !i[t].disabled && m && k(m, e, c(), {
56
+ itemTarget: i[t],
55
57
  itemIndex: t
56
58
  });
57
59
  },
58
- [a, m]
59
- ), R = o.useCallback(
60
+ [i, m]
61
+ ), K = o.useCallback(
60
62
  (e, t) => {
61
63
  n(e, t);
62
64
  },
63
65
  [n]
64
- ), K = o.useCallback(
66
+ ), T = o.useCallback(
65
67
  (e, t) => {
66
68
  switch (e.keyCode) {
67
- case g.enter:
68
- case g.space:
69
+ case S.enter:
70
+ case S.space:
69
71
  n(e, t), e.preventDefault();
70
72
  break;
71
73
  }
72
- S(
74
+ k(
73
75
  y,
74
76
  e,
75
- d(),
77
+ c(),
76
78
  void 0
77
79
  );
78
80
  },
79
81
  [n, y]
82
+ ), A = O.toLanguageString(
83
+ I,
84
+ q[I]
80
85
  );
81
- return /* @__PURE__ */ o.createElement("nav", { ref: s, className: D, style: F, id: k || p, dir: O }, a && a.map((e, t) => /* @__PURE__ */ o.createElement(
82
- A,
86
+ return /* @__PURE__ */ o.createElement(
87
+ "nav",
83
88
  {
84
- ...e,
85
- key: t,
86
- index: t,
87
- id: `${k || p}-${t}`,
88
- disabled: c || e.disabled,
89
- selected: e.selected,
90
- dataItem: e,
91
- item: E,
92
- render: N,
93
- onSelect: R,
94
- onKeyDown: K
95
- }
96
- )));
97
- }), i = {
89
+ ref: r,
90
+ className: R,
91
+ style: L,
92
+ id: p || h,
93
+ dir: D,
94
+ "aria-label": A
95
+ },
96
+ i && i.map((e, t) => /* @__PURE__ */ o.createElement(
97
+ j,
98
+ {
99
+ ...e,
100
+ key: t,
101
+ index: t,
102
+ id: `${p || h}-${t}`,
103
+ disabled: d || e.disabled,
104
+ selected: e.selected,
105
+ dataItem: e,
106
+ item: E,
107
+ render: F,
108
+ onSelect: K,
109
+ onKeyDown: T
110
+ }
111
+ ))
112
+ );
113
+ }), s = {
98
114
  themeColor: void 0,
99
115
  fillMode: void 0,
100
116
  itemFlow: "vertical",
101
117
  positionMode: "fixed",
102
118
  border: !0
103
119
  };
104
- w.propTypes = {
105
- className: l.string,
106
- style: l.object,
107
- id: l.string,
108
- dir: l.string,
109
- themeColor: l.oneOf([
110
- "primary",
111
- "secondary",
112
- "tertiary",
113
- "info",
114
- "success",
115
- "warning",
116
- "error",
117
- "dark",
118
- "light",
119
- "inverse"
120
- ]),
121
- fillMode: l.oneOf(["solid", "flat"]),
122
- itemFlow: l.oneOf(["vertical", "horizontal"]),
123
- border: l.bool,
124
- disabled: l.bool,
125
- selected: l.number,
126
- onSelect: l.func
120
+ N.propTypes = {
121
+ className: a.string,
122
+ style: a.object,
123
+ id: a.string,
124
+ dir: a.string,
125
+ themeColor: a.oneOf(["base", "primary", "secondary", "tertiary", "inverse"]),
126
+ fillMode: a.oneOf(["solid", "flat"]),
127
+ itemFlow: a.oneOf(["vertical", "horizontal"]),
128
+ border: a.bool,
129
+ disabled: a.bool,
130
+ selected: a.number,
131
+ onSelect: a.func
127
132
  };
128
- w.displayName = "KendoReactBottomNavigation";
133
+ N.displayName = "KendoReactBottomNavigation";
129
134
  export {
130
- w as BottomNavigation
135
+ N as BottomNavigation
131
136
  };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),n=require("prop-types"),u=require("@progress/kendo-react-common");function D(t){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const l=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(c,o,l.get?l:{enumerable:!0,get:()=>t[o]})}}return c.default=t,Object.freeze(c)}const e=D(w),b=e.forwardRef((t,c)=>{const o=e.useRef(null);e.useImperativeHandle(c,()=>({element:o.current}));const{className:l,style:k,selected:r,disabled:a,item:N,render:x,dataItem:C,icon:g,svgIcon:p,text:f,id:R,onSelect:i,onKeyDown:m,index:s,tabIndex:j=E.tabIndex}=t,O=e.useMemo(()=>u.classNames("k-bottom-nav-item",{"k-selected":r,"k-disabled":a},l),[r,a,l]),P=e.useCallback(d=>{i&&s!==void 0&&!a&&i(d,s)},[i,s,a]),S=e.useCallback(d=>{m&&s!==void 0&&!a&&m(d,s)},[m,s,a]),v=x,I=N,y=e.createElement("span",{ref:o,className:O,style:k,role:"link",id:R,tabIndex:j,onClick:P,onKeyDown:S,"aria-current":r,"aria-disabled":a},I?e.createElement(I,{itemIndex:s,item:C}):e.createElement(e.Fragment,null,(g||p)&&e.createElement(u.IconWrap,{className:"k-bottom-nav-item-icon",name:g,icon:p,size:"xlarge"}),f&&e.createElement("span",{className:"k-bottom-nav-item-text",style:{userSelect:"none"}},f)));return v!==void 0?v.call(void 0,y,t):y}),E={tabIndex:0};b.propTypes={className:n.string,style:n.object,id:n.string,disabled:n.bool,selected:n.bool,icon:n.string,svgIcon:u.svgIconPropType,text:n.string,tabIndex:n.number};b.displayName="KendoReactBottomNavigationItem";exports.BottomNavigationItem=b;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),n=require("prop-types"),f=require("@progress/kendo-react-common");function D(t){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const l=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(c,o,l.get?l:{enumerable:!0,get:()=>t[o]})}}return c.default=t,Object.freeze(c)}const e=D(w),g=e.forwardRef((t,c)=>{const o=e.useRef(null);e.useImperativeHandle(c,()=>({element:o.current}));const{className:l,style:k,selected:i,disabled:a,item:N,render:x,dataItem:C,icon:m,svgIcon:r,text:d,id:R,onSelect:u,onKeyDown:b,index:s,tabIndex:j=E.tabIndex}=t,O=e.useMemo(()=>f.classNames("k-bottom-nav-item",{"k-selected":i,"k-disabled":a},l),[i,a,l]),P=e.useCallback(p=>{u&&s!==void 0&&!a&&u(p,s)},[u,s,a]),S=e.useCallback(p=>{b&&s!==void 0&&!a&&b(p,s)},[b,s,a]),v=x,y=N,I=e.createElement("span",{ref:o,className:O,style:k,role:"link",id:R,tabIndex:j,onClick:P,onKeyDown:S,"aria-current":i,"aria-disabled":a,"aria-label":d?void 0:(r==null?void 0:r.name)||m||void 0},y?e.createElement(y,{itemIndex:s,item:C}):e.createElement(e.Fragment,null,(m||r)&&e.createElement(f.IconWrap,{className:"k-bottom-nav-item-icon",name:m,icon:r,size:"xlarge"}),d&&e.createElement("span",{className:"k-bottom-nav-item-text",style:{userSelect:"none"}},d)));return v!==void 0?v.call(void 0,I,t):I}),E={tabIndex:0};g.propTypes={className:n.string,style:n.object,id:n.string,disabled:n.bool,selected:n.bool,icon:n.string,svgIcon:f.svgIconPropType,text:n.string,tabIndex:n.number};g.displayName="KendoReactBottomNavigationItem";exports.BottomNavigationItem=g;
@@ -9,67 +9,68 @@ import * as e from "react";
9
9
  import t from "prop-types";
10
10
  import { classNames as D, IconWrap as P, svgIconPropType as T } from "@progress/kendo-react-common";
11
11
  const f = e.forwardRef(
12
- (m, g) => {
13
- const i = e.useRef(null);
12
+ (d, x) => {
13
+ const b = e.useRef(null);
14
14
  e.useImperativeHandle(
15
- g,
15
+ x,
16
16
  () => ({
17
- element: i.current
17
+ element: b.current
18
18
  })
19
19
  );
20
20
  const {
21
- className: r,
22
- style: x,
23
- selected: a,
24
- disabled: n,
25
- item: k,
26
- render: y,
27
- dataItem: N,
28
- icon: d,
29
- svgIcon: b,
30
- text: p,
21
+ className: p,
22
+ style: k,
23
+ selected: s,
24
+ disabled: a,
25
+ item: y,
26
+ render: N,
27
+ dataItem: g,
28
+ icon: l,
29
+ svgIcon: o,
30
+ text: i,
31
31
  id: C,
32
- onSelect: s,
33
- onKeyDown: l,
34
- index: o,
32
+ onSelect: m,
33
+ onKeyDown: r,
34
+ index: n,
35
35
  tabIndex: E = h.tabIndex
36
- } = m, R = e.useMemo(
36
+ } = d, R = e.useMemo(
37
37
  () => D(
38
38
  "k-bottom-nav-item",
39
39
  {
40
- "k-selected": a,
41
- "k-disabled": n
40
+ "k-selected": s,
41
+ "k-disabled": a
42
42
  },
43
- r
43
+ p
44
44
  ),
45
- [a, n, r]
45
+ [s, a, p]
46
46
  ), w = e.useCallback(
47
47
  (c) => {
48
- s && o !== void 0 && !n && s(c, o);
48
+ m && n !== void 0 && !a && m(c, n);
49
49
  },
50
- [s, o, n]
50
+ [m, n, a]
51
51
  ), K = e.useCallback(
52
52
  (c) => {
53
- l && o !== void 0 && !n && l(c, o);
53
+ r && n !== void 0 && !a && r(c, n);
54
54
  },
55
- [l, o, n]
56
- ), I = y, v = k, u = /* @__PURE__ */ e.createElement(
55
+ [r, n, a]
56
+ ), v = N, u = y, I = /* @__PURE__ */ e.createElement(
57
57
  "span",
58
58
  {
59
- ref: i,
59
+ ref: b,
60
60
  className: R,
61
- style: x,
61
+ style: k,
62
62
  role: "link",
63
63
  id: C,
64
64
  tabIndex: E,
65
65
  onClick: w,
66
66
  onKeyDown: K,
67
- "aria-current": a,
68
- "aria-disabled": n
67
+ "aria-current": s,
68
+ "aria-disabled": a,
69
+ "aria-label": i ? void 0 : (o == null ? void 0 : o.name) || l || void 0
69
70
  },
70
- v ? /* @__PURE__ */ e.createElement(v, { itemIndex: o, item: N }) : /* @__PURE__ */ e.createElement(e.Fragment, null, (d || b) && /* @__PURE__ */ e.createElement(P, { className: "k-bottom-nav-item-icon", name: d, icon: b, size: "xlarge" }), p && /* @__PURE__ */ e.createElement("span", { className: "k-bottom-nav-item-text", style: { userSelect: "none" } }, p))
71
+ u ? /* @__PURE__ */ e.createElement(u, { itemIndex: n, item: g }) : /* @__PURE__ */ e.createElement(e.Fragment, null, (l || o) && /* @__PURE__ */ e.createElement(P, { className: "k-bottom-nav-item-icon", name: l, icon: o, size: "xlarge" }), i && /* @__PURE__ */ e.createElement("span", { className: "k-bottom-nav-item-text", style: { userSelect: "none" } }, i))
71
72
  );
72
- return I !== void 0 ? I.call(void 0, u, m) : u;
73
+ return v !== void 0 ? v.call(void 0, I, d) : I;
73
74
  }
74
75
  ), h = {
75
76
  tabIndex: 0
@@ -52,15 +52,10 @@ export interface BottomNavigationProps {
52
52
  * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/appearance#toc-theme-color)).
53
53
  *
54
54
  * The possible values are:
55
+ * * `base` — Applies coloring based on the base theme color.
55
56
  * * `primary` — Applies coloring based on the primary theme color.
56
57
  * * `secondary` — Applies coloring based on the secondary theme color.
57
58
  * * `tertiary` — Applies coloring based on the tertiary theme color.
58
- * * `info` — Applies coloring based on the info theme color.
59
- * * `success` — Applies coloring based on the success theme color.
60
- * * `warning` — Applies coloring based on the warning theme color.
61
- * * `error` — Applies coloring based on the error theme color.
62
- * * `dark` — Applies coloring based on the dark theme color.
63
- * * `light` — Applies coloring based on the light theme color.
64
59
  * * `inverse` — Applies coloring based on the inverted theme color.
65
60
  *
66
61
  * @default undefined (theme-controlled)
@@ -216,15 +211,10 @@ export type BottomNavigationItemFlow = 'vertical' | 'horizontal';
216
211
  * * `primary` (Default) — Applies coloring based on the primary theme color.
217
212
  * * `secondary` — Applies coloring based on the secondary theme color.
218
213
  * * `tertiary` — Applies coloring based on the tertiary theme color.
219
- * * `info` — Applies coloring based on the info theme color.
220
- * * `success` — Applies coloring based on the success theme color.
221
- * * `warning` — Applies coloring based on the warning theme color.
222
- * * `error` — Applies coloring based on the error theme color.
223
- * * `dark` — Applies coloring based on the dark theme color.
224
- * * `light` — Applies coloring based on the light theme color.
214
+ * * `base` — Applies coloring based on the base theme color.
225
215
  * * `inverse` — Applies coloring based on the inverted theme color.
226
216
  */
227
- export type BottomNavigationThemeColor = 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
217
+ export type BottomNavigationThemeColor = 'base' | 'primary' | 'secondary' | 'tertiary' | 'inverse';
228
218
  /**
229
219
  * Specifies the BottomNavigation position and behavior when the page is scrolled
230
220
  * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/bottomnavigation/positioning#toc-position-mode)).
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare const bottomNavigationAriaLabel = "bottomNavigation.ariaLabel";
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare const messages: {
16
+ "bottomNavigation.ariaLabel": string;
17
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t="bottomNavigation.ariaLabel",a={[t]:"Bottom navigation"};exports.bottomNavigationAriaLabel=t;exports.messages=a;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ const a = "bottomNavigation.ariaLabel", o = {
9
+ [a]: "Bottom navigation"
10
+ };
11
+ export {
12
+ a as bottomNavigationAriaLabel,
13
+ o as messages
14
+ };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("react"),i=require("prop-types"),o=require("@progress/kendo-react-common"),h=require("./BreadcrumbListItem.js"),T=require("./BreadcrumbDelimiter.js"),M=require("./BreadcrumbLink.js"),R=require("./BreadcrumbOrderedList.js");function q(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(l,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return l.default=e,Object.freeze(l)}const r=q(B),F=r.forwardRef((e,l)=>{const n=r.useRef(null),a=r.useRef(null),y=r.useMemo(()=>e.breadcrumbOrderedList||R.BreadcrumbOrderedList,[e.breadcrumbOrderedList]),L=r.useMemo(()=>e.breadcrumbListItem||h.BreadcrumbListItem,[e.breadcrumbListItem]),O=r.useMemo(()=>e.breadcrumbDelimiter||T.BreadcrumbDelimiter,[e.breadcrumbDelimiter]),I=r.useMemo(()=>e.breadcrumbLink||M.BreadcrumbLink,[e.breadcrumbLink]),D=r.useCallback(()=>{a.current&&a.current.focus()},[a]),E=r.useMemo(()=>e.disabled||!1,[e.disabled]);r.useImperativeHandle(n,()=>({element:a.current,focus:D,props:e})),r.useImperativeHandle(l,()=>n.current);const g=o.useDir(a,e.dir),k=t=>{n.current&&o.dispatchEvent(e.onItemSelect,t,t.target,{id:t.target.id})},C=t=>{n.current&&o.dispatchEvent(e.onKeyDown,t,t.target,{id:t.target.id})},S=e.valueField||b.valueField,v=e.iconField||b.iconField,u=e.iconClassField||b.iconClassField,m=e.textField||b.textField,f=e.size||"medium";return r.createElement("nav",{"aria-label":e.ariaLabel,id:e.id,style:e.style,ref:a,dir:g,className:o.classNames("k-breadcrumb k-breadcrumb-wrap",{"k-rtl":g==="rtl","k-disabled":E,[`k-breadcrumb-${o.kendoThemeMaps.sizeMap[f]||f}`]:f},e.className)},r.createElement(y,{rootItem:!0},r.createElement(r.Fragment,null,e.data.map((t,c,s)=>{const d=t[S];if(c===0)return r.createElement(L,{key:d,isFirstItem:!0,isLastItem:s.length-1===c},r.createElement(I,{isLast:s.length-1===c,isFirst:!0,id:String(d),icon:t[v]||void 0,iconClass:t[u]?String(t[u]):void 0,text:t[m]?String(t[m]):void 0,disabled:t.disabled||!1,onItemSelect:k,onKeyDown:C,...e}))}))),r.createElement(y,{rootItem:!1},r.createElement(r.Fragment,null,e.data.map((t,c,s)=>{const d=t[S];if(c!==0)return r.createElement(L,{key:d,isFirstItem:!1,isLastItem:s.length-1===c},r.createElement(O,{dir:g}),r.createElement(I,{isLast:s.length-1===c,isFirst:!1,id:String(d),icon:t[v]||void 0,iconClass:t[u]?String(t[u]):void 0,text:t[m]?String(t[m]):void 0,disabled:t.disabled||!1,onItemSelect:k,onKeyDown:C,...e}))}))))}),w={id:i.string,style:i.object,className:i.string,breadcrumbOrderedList:i.elementType,breadcrumbListItem:i.elementType,breadcrumbDelimiter:i.elementType,breadcrumbLink:i.elementType,data:i.arrayOf(i.shape({id:i.string,text:i.string,icon:i.any,iconClass:i.string})),dir:i.oneOf(["ltr","rtl"]),disabled:i.bool,valueField:i.string,textField:i.string,iconField:i.string,iconClassField:i.string,onItemSelect:i.func,ariaLabel:i.string},b={valueField:"id",textField:"text",iconField:"icon",iconClassField:"iconClass"};F.displayName="KendoReactBreadcrumb";F.propTypes=w;exports.Breadcrumb=F;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react"),n=require("prop-types"),o=require("@progress/kendo-react-common"),q=require("@progress/kendo-react-intl"),L=require("./messages/index.js"),M=require("./BreadcrumbListItem.js"),R=require("./BreadcrumbDelimiter.js"),w=require("./BreadcrumbLink.js"),j=require("./BreadcrumbOrderedList.js");function x(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(l,i,a.get?a:{enumerable:!0,get:()=>e[i]})}}return l.default=e,Object.freeze(l)}const r=x(T),F=r.forwardRef((e,l)=>{const i=r.useRef(null),a=r.useRef(null),y=r.useMemo(()=>e.breadcrumbOrderedList||j.BreadcrumbOrderedList,[e.breadcrumbOrderedList]),I=r.useMemo(()=>e.breadcrumbListItem||M.BreadcrumbListItem,[e.breadcrumbListItem]),D=r.useMemo(()=>e.breadcrumbDelimiter||R.BreadcrumbDelimiter,[e.breadcrumbDelimiter]),k=r.useMemo(()=>e.breadcrumbLink||w.BreadcrumbLink,[e.breadcrumbLink]),E=r.useCallback(()=>{a.current&&a.current.focus()},[a]),B=r.useMemo(()=>e.disabled||!1,[e.disabled]);r.useImperativeHandle(i,()=>({element:a.current,focus:E,props:e})),r.useImperativeHandle(l,()=>i.current);const h=q.useLocalization(),g=o.useDir(a,e.dir),S=t=>{i.current&&o.dispatchEvent(e.onItemSelect,t,t.target,{id:t.target.id})},C=t=>{i.current&&o.dispatchEvent(e.onKeyDown,t,t.target,{id:t.target.id})},v=e.valueField||b.valueField,O=e.iconField||b.iconField,u=e.iconClassField||b.iconClassField,m=e.textField||b.textField,f=e.size;return r.createElement("nav",{"aria-label":e.ariaLabel||h.toLanguageString(L.breadcrumbAriaLabel,L.messages[L.breadcrumbAriaLabel]),id:e.id,style:e.style,ref:a,dir:g,className:o.classNames("k-breadcrumb k-breadcrumb-wrap",{"k-rtl":g==="rtl","k-disabled":B,[`k-breadcrumb-${o.kendoThemeMaps.sizeMap[f]||f}`]:f},e.className)},r.createElement(y,{rootItem:!0},r.createElement(r.Fragment,null,e.data.map((t,c,s)=>{const d=t[v];if(c===0)return r.createElement(I,{key:d,isFirstItem:!0,isLastItem:s.length-1===c},r.createElement(k,{isLast:s.length-1===c,isFirst:!0,id:String(d),icon:t[O]||void 0,iconClass:t[u]?String(t[u]):void 0,text:t[m]?String(t[m]):void 0,disabled:t.disabled||!1,onItemSelect:S,onKeyDown:C,...e}))}))),r.createElement(y,{rootItem:!1},r.createElement(r.Fragment,null,e.data.map((t,c,s)=>{const d=t[v];if(c!==0)return r.createElement(I,{key:d,isFirstItem:!1,isLastItem:s.length-1===c},r.createElement(D,{dir:g}),r.createElement(k,{isLast:s.length-1===c,isFirst:!1,id:String(d),icon:t[O]||void 0,iconClass:t[u]?String(t[u]):void 0,text:t[m]?String(t[m]):void 0,disabled:t.disabled||!1,onItemSelect:S,onKeyDown:C,...e}))}))))}),z={id:n.string,style:n.object,className:n.string,breadcrumbOrderedList:n.elementType,breadcrumbListItem:n.elementType,breadcrumbDelimiter:n.elementType,breadcrumbLink:n.elementType,data:n.arrayOf(n.shape({id:n.string,text:n.string,icon:n.any,iconClass:n.string})),dir:n.oneOf(["ltr","rtl"]),disabled:n.bool,valueField:n.string,textField:n.string,iconField:n.string,iconClassField:n.string,onItemSelect:n.func,ariaLabel:n.string},b={valueField:"id",textField:"text",iconField:"icon",iconClassField:"iconClass"};F.displayName="KendoReactBreadcrumb";F.propTypes=z;exports.Breadcrumb=F;
@@ -7,48 +7,50 @@
7
7
  */
8
8
  import * as r from "react";
9
9
  import i from "prop-types";
10
- import { useDir as T, classNames as M, kendoThemeMaps as O, dispatchEvent as C } from "@progress/kendo-react-common";
11
- import { BreadcrumbListItem as w } from "./BreadcrumbListItem.mjs";
12
- import { BreadcrumbDelimiter as x } from "./BreadcrumbDelimiter.mjs";
13
- import { BreadcrumbLink as B } from "./BreadcrumbLink.mjs";
14
- import { BreadcrumbOrderedList as R } from "./BreadcrumbOrderedList.mjs";
10
+ import { useDir as O, classNames as w, kendoThemeMaps as x, dispatchEvent as C } from "@progress/kendo-react-common";
11
+ import { useLocalization as B } from "@progress/kendo-react-intl";
12
+ import { breadcrumbAriaLabel as S, messages as R } from "./messages/index.mjs";
13
+ import { BreadcrumbListItem as z } from "./BreadcrumbListItem.mjs";
14
+ import { BreadcrumbDelimiter as K } from "./BreadcrumbDelimiter.mjs";
15
+ import { BreadcrumbLink as N } from "./BreadcrumbLink.mjs";
16
+ import { BreadcrumbOrderedList as H } from "./BreadcrumbOrderedList.mjs";
15
17
  const v = r.forwardRef((e, E) => {
16
- const d = r.useRef(null), n = r.useRef(null), f = r.useMemo(
17
- () => e.breadcrumbOrderedList || R,
18
+ const c = r.useRef(null), n = r.useRef(null), f = r.useMemo(
19
+ () => e.breadcrumbOrderedList || H,
18
20
  [e.breadcrumbOrderedList]
19
21
  ), g = r.useMemo(
20
- () => e.breadcrumbListItem || w,
22
+ () => e.breadcrumbListItem || z,
21
23
  [e.breadcrumbListItem]
22
- ), S = r.useMemo(
23
- () => e.breadcrumbDelimiter || x,
24
+ ), D = r.useMemo(
25
+ () => e.breadcrumbDelimiter || K,
24
26
  [e.breadcrumbDelimiter]
25
- ), F = r.useMemo(() => e.breadcrumbLink || B, [e.breadcrumbLink]), D = r.useCallback(() => {
27
+ ), F = r.useMemo(() => e.breadcrumbLink || N, [e.breadcrumbLink]), h = r.useCallback(() => {
26
28
  n.current && n.current.focus();
27
- }, [n]), h = r.useMemo(() => e.disabled || !1, [e.disabled]);
28
- r.useImperativeHandle(d, () => ({
29
+ }, [n]), T = r.useMemo(() => e.disabled || !1, [e.disabled]);
30
+ r.useImperativeHandle(c, () => ({
29
31
  element: n.current,
30
- focus: D,
32
+ focus: h,
31
33
  props: e
32
- })), r.useImperativeHandle(E, () => d.current);
33
- const u = T(n, e.dir), L = (t) => {
34
- d.current && C(e.onItemSelect, t, t.target, { id: t.target.id });
34
+ })), r.useImperativeHandle(E, () => c.current);
35
+ const M = B(), u = O(n, e.dir), L = (t) => {
36
+ c.current && C(e.onItemSelect, t, t.target, { id: t.target.id });
35
37
  }, y = (t) => {
36
- d.current && C(e.onKeyDown, t, t.target, { id: t.target.id });
37
- }, I = e.valueField || o.valueField, k = e.iconField || o.iconField, c = e.iconClassField || o.iconClassField, m = e.textField || o.textField, b = e.size || "medium";
38
+ c.current && C(e.onKeyDown, t, t.target, { id: t.target.id });
39
+ }, I = e.valueField || o.valueField, k = e.iconField || o.iconField, d = e.iconClassField || o.iconClassField, m = e.textField || o.textField, b = e.size;
38
40
  return /* @__PURE__ */ r.createElement(
39
41
  "nav",
40
42
  {
41
- "aria-label": e.ariaLabel,
43
+ "aria-label": e.ariaLabel || M.toLanguageString(S, R[S]),
42
44
  id: e.id,
43
45
  style: e.style,
44
46
  ref: n,
45
47
  dir: u,
46
- className: M(
48
+ className: w(
47
49
  "k-breadcrumb k-breadcrumb-wrap",
48
50
  {
49
51
  "k-rtl": u === "rtl",
50
- "k-disabled": h,
51
- [`k-breadcrumb-${O.sizeMap[b] || b}`]: b
52
+ "k-disabled": T,
53
+ [`k-breadcrumb-${x.sizeMap[b] || b}`]: b
52
54
  },
53
55
  e.className
54
56
  )
@@ -63,7 +65,7 @@ const v = r.forwardRef((e, E) => {
63
65
  isFirst: !0,
64
66
  id: String(s),
65
67
  icon: t[k] || void 0,
66
- iconClass: t[c] ? String(t[c]) : void 0,
68
+ iconClass: t[d] ? String(t[d]) : void 0,
67
69
  text: t[m] ? String(t[m]) : void 0,
68
70
  disabled: t.disabled || !1,
69
71
  onItemSelect: L,
@@ -75,14 +77,14 @@ const v = r.forwardRef((e, E) => {
75
77
  /* @__PURE__ */ r.createElement(f, { rootItem: !1 }, /* @__PURE__ */ r.createElement(r.Fragment, null, e.data.map((t, a, l) => {
76
78
  const s = t[I];
77
79
  if (a !== 0)
78
- return /* @__PURE__ */ r.createElement(g, { key: s, isFirstItem: !1, isLastItem: l.length - 1 === a }, /* @__PURE__ */ r.createElement(S, { dir: u }), /* @__PURE__ */ r.createElement(
80
+ return /* @__PURE__ */ r.createElement(g, { key: s, isFirstItem: !1, isLastItem: l.length - 1 === a }, /* @__PURE__ */ r.createElement(D, { dir: u }), /* @__PURE__ */ r.createElement(
79
81
  F,
80
82
  {
81
83
  isLast: l.length - 1 === a,
82
84
  isFirst: !1,
83
85
  id: String(s),
84
86
  icon: t[k] || void 0,
85
- iconClass: t[c] ? String(t[c]) : void 0,
87
+ iconClass: t[d] ? String(t[d]) : void 0,
86
88
  text: t[m] ? String(t[m]) : void 0,
87
89
  disabled: t.disabled || !1,
88
90
  onItemSelect: L,
@@ -92,7 +94,7 @@ const v = r.forwardRef((e, E) => {
92
94
  ));
93
95
  })))
94
96
  );
95
- }), K = {
97
+ }), P = {
96
98
  id: i.string,
97
99
  style: i.object,
98
100
  className: i.string,
@@ -123,7 +125,7 @@ const v = r.forwardRef((e, E) => {
123
125
  iconClassField: "iconClass"
124
126
  };
125
127
  v.displayName = "KendoReactBreadcrumb";
126
- v.propTypes = K;
128
+ v.propTypes = P;
127
129
  export {
128
130
  v as Breadcrumb
129
131
  };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),t=require("prop-types"),l=require("@progress/kendo-react-common");function m(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const a=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(r,c,a.get?a:{enumerable:!0,get:()=>e[c]})}}return r.default=e,Object.freeze(r)}const n=m(b),d=n.forwardRef((e,r)=>{const c=n.useRef(null),a=n.useRef(null),s=n.useCallback(()=>{a.current&&a.current.focus()},[a]);n.useImperativeHandle(c,()=>({element:a.current,focus:s,props:e})),n.useImperativeHandle(r,()=>c.current);const u=n.useCallback(i=>{e.id&&l.dispatchEvent(e.onItemSelect,i,i.target,{id:e.id})},[e.onItemSelect]),o=n.useCallback(i=>{e.id&&l.dispatchEvent(e.onKeyDown,i,i.target,{id:e.id})},[e.onKeyDown]);return n.createElement("a",{href:"#","aria-current":e.ariaCurrent?e.ariaCurrent:e.isLast,role:"link",id:e.id,ref:a,style:e.style,dir:l.useDir(a,e.dir),tabIndex:l.getTabIndex(e.tabIndex,e.disabled),className:l.classNames(e.className,{"k-breadcrumb-root-link":e.isFirst,"k-breadcrumb-link":!e.isFirst,"k-breadcrumb-icontext-link":(e.icon!==void 0||e.iconClass!==void 0)&&e.text,"k-breadcrumb-icon-link":(e.icon!==void 0||e.iconClass!==void 0)&&!e.text,"k-disabled":e.disabled}),onClick:i=>{i.preventDefault(),u(i)},onKeyDown:o},e.iconClass?n.createElement("span",{className:l.classNames("k-icon",e.iconClass)}):e.icon?e.icon:"",e.text&&n.createElement("span",{className:"k-breadcrumb-item-text"},e.text))}),f={id:t.string,className:t.string,tabIndex:t.number,style:t.object,dir:t.string,disabled:t.bool,text:t.string,icon:t.node,iconClass:t.string,onClick:t.func,ariaCurrent:t.bool};d.displayName="KendoReactBreadcrumbLink";d.propTypes=f;exports.BreadcrumbLink=d;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),t=require("prop-types"),l=require("@progress/kendo-react-common");function m(e){const d=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const a=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(d,c,a.get?a:{enumerable:!0,get:()=>e[c]})}}return d.default=e,Object.freeze(d)}const n=m(b),r=n.forwardRef((e,d)=>{const c=n.useRef(null),a=n.useRef(null),s=n.useCallback(()=>{a.current&&a.current.focus()},[a]);n.useImperativeHandle(c,()=>({element:a.current,focus:s,props:e})),n.useImperativeHandle(d,()=>c.current);const u=n.useCallback(i=>{e.id&&l.dispatchEvent(e.onItemSelect,i,i.target,{id:e.id})},[e.onItemSelect]),o=n.useCallback(i=>{e.id&&l.dispatchEvent(e.onKeyDown,i,i.target,{id:e.id})},[e.onKeyDown]);return n.createElement("a",{href:"#","aria-current":e.ariaCurrent||e.isLast?"page":void 0,"aria-disabled":e.disabled||e.isLast||void 0,id:e.id,ref:a,style:e.style,dir:l.useDir(a,e.dir),tabIndex:l.getTabIndex(e.tabIndex,e.disabled),className:l.classNames(e.className,{"k-breadcrumb-root-link":e.isFirst,"k-breadcrumb-link":!e.isFirst,"k-breadcrumb-icontext-link":(e.icon!==void 0||e.iconClass!==void 0)&&e.text,"k-breadcrumb-icon-link":(e.icon!==void 0||e.iconClass!==void 0)&&!e.text,"k-disabled":e.disabled}),onClick:i=>{i.preventDefault(),u(i)},onKeyDown:o},e.iconClass?n.createElement("span",{className:l.classNames("k-icon",e.iconClass)}):e.icon?e.icon:"",e.text&&n.createElement("span",{className:"k-breadcrumb-item-text"},e.text))}),f={id:t.string,className:t.string,tabIndex:t.number,style:t.object,dir:t.string,disabled:t.bool,text:t.string,icon:t.node,iconClass:t.string,onClick:t.func,ariaCurrent:t.bool};r.displayName="KendoReactBreadcrumbLink";r.propTypes=f;exports.BreadcrumbLink=r;