@progress/kendo-react-layout 9.0.0-develop.2 → 9.0.0-develop.20

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 (67) hide show
  1. package/README.md +82 -82
  2. package/actionsheet/ActionSheet.js +1 -1
  3. package/actionsheet/ActionSheet.mjs +151 -162
  4. package/actionsheet/ActionSheetFooter.mjs +1 -10
  5. package/actionsheet/ActionSheetHeader.mjs +1 -10
  6. package/actionsheet/ActionSheetItem.mjs +10 -7
  7. package/appbar/AppBar.mjs +5 -30
  8. package/appbar/AppBarSection.mjs +4 -17
  9. package/appbar/AppBarSpacer.mjs +6 -16
  10. package/bottomnavigation/BottomNavigation.mjs +30 -54
  11. package/bottomnavigation/BottomNavigationItem.mjs +63 -61
  12. package/breadcrumb/Breadcrumb.mjs +39 -63
  13. package/breadcrumb/BreadcrumbDelimiter.mjs +29 -24
  14. package/breadcrumb/BreadcrumbLink.mjs +16 -18
  15. package/breadcrumb/BreadcrumbListItem.mjs +31 -29
  16. package/breadcrumb/BreadcrumbOrderedList.mjs +47 -42
  17. package/card/Avatar.mjs +15 -1
  18. package/card/CardBody.mjs +1 -11
  19. package/card/CardFooter.mjs +1 -11
  20. package/card/CardHeader.mjs +1 -11
  21. package/card/CardImage.mjs +1 -4
  22. package/card/CardSubtitle.mjs +1 -11
  23. package/card/CardTitle.mjs +1 -11
  24. package/dist/cdn/js/kendo-react-layout.js +1 -1
  25. package/drawer/Drawer.mjs +10 -21
  26. package/drawer/DrawerContent.mjs +6 -3
  27. package/drawer/DrawerItem.mjs +10 -10
  28. package/drawer/DrawerNavigation.mjs +109 -130
  29. package/expansionpanel/ExpansionPanel.mjs +12 -15
  30. package/expansionpanel/ExpansionPanelContent.mjs +3 -9
  31. package/gridlayout/GridLayout.mjs +1 -10
  32. package/gridlayout/GridLayoutItem.mjs +1 -10
  33. package/index.d.mts +43 -41
  34. package/index.d.ts +43 -41
  35. package/index.js +1 -1
  36. package/index.mjs +39 -38
  37. package/menu/components/MenuItemLink.mjs +4 -17
  38. package/menu/utils/getNewItemIdUponKeyboardNavigation.js +1 -1
  39. package/menu/utils/getNewItemIdUponKeyboardNavigation.mjs +55 -57
  40. package/menu/utils/hoverDelay.js +1 -1
  41. package/menu/utils/hoverDelay.mjs +2 -2
  42. package/menu/utils/itemsIdsUtils.js +1 -1
  43. package/menu/utils/itemsIdsUtils.mjs +14 -18
  44. package/menu/utils/misc.js +1 -1
  45. package/menu/utils/misc.mjs +2 -2
  46. package/menu/utils/prepareInputItemsForInternalWork.js +1 -1
  47. package/menu/utils/prepareInputItemsForInternalWork.mjs +30 -31
  48. package/package-metadata.mjs +1 -1
  49. package/package.json +6 -6
  50. package/panelbar/PanelBar.mjs +2 -7
  51. package/panelbar/util.js +1 -1
  52. package/panelbar/util.mjs +27 -40
  53. package/splitter/SplitterBar.mjs +23 -40
  54. package/splitter/SplitterPane.mjs +1 -11
  55. package/stacklayout/StackLayout.mjs +2 -14
  56. package/stepper/Step.mjs +25 -46
  57. package/stepper/Stepper.js +1 -1
  58. package/stepper/Stepper.mjs +147 -186
  59. package/tabstrip/TabStripContent.mjs +2 -14
  60. package/tabstrip/TabStripTab.mjs +2 -9
  61. package/tilelayout/InternalTile.mjs +31 -19
  62. package/tilelayout/ResizeHandlers.mjs +7 -1
  63. package/tilelayout/TileLayout.mjs +24 -20
  64. package/timeline/TimelineCard.mjs +1 -4
  65. package/timeline/TimelineHorizontal.mjs +52 -63
  66. package/timeline/TimelineVertical.mjs +7 -5
  67. package/timeline/utils.mjs +4 -1
@@ -10,69 +10,71 @@ import * as e from "react";
10
10
  import t from "prop-types";
11
11
  import { validatePackage as P, classNames as D, svgIconPropType as T, IconWrap as h } from "@progress/kendo-react-common";
12
12
  import { packageMetadata as B } from "../package-metadata.mjs";
13
- const g = e.forwardRef((i, f) => {
14
- P(B);
15
- const m = e.useRef(null);
16
- e.useImperativeHandle(
17
- f,
18
- () => ({
19
- element: m.current
20
- })
21
- );
22
- const {
23
- className: r,
24
- style: k,
25
- selected: o,
26
- disabled: a,
27
- item: x,
28
- render: y,
29
- dataItem: N,
30
- icon: d,
31
- svgIcon: b,
32
- text: p,
33
- id: C,
34
- onSelect: s,
35
- onKeyDown: l,
36
- index: n,
37
- tabIndex: E = M.tabIndex
38
- } = i, R = e.useMemo(
39
- () => D(
40
- "k-bottom-nav-item",
41
- {
42
- "k-selected": o,
43
- "k-disabled": a
44
- },
45
- r
46
- ),
47
- [o, a, r]
48
- ), w = e.useCallback(
49
- (c) => {
50
- s && n !== void 0 && !a && s(c, n);
51
- },
52
- [s, n, a]
53
- ), K = e.useCallback(
54
- (c) => {
55
- l && n !== void 0 && !a && l(c, n);
56
- },
57
- [l, n, a]
58
- ), v = y, I = x, u = /* @__PURE__ */ e.createElement(
59
- "span",
60
- {
61
- ref: m,
62
- className: R,
13
+ const g = e.forwardRef(
14
+ (i, f) => {
15
+ P(B);
16
+ const m = e.useRef(null);
17
+ e.useImperativeHandle(
18
+ f,
19
+ () => ({
20
+ element: m.current
21
+ })
22
+ );
23
+ const {
24
+ className: r,
63
25
  style: k,
64
- role: "link",
26
+ selected: o,
27
+ disabled: a,
28
+ item: x,
29
+ render: y,
30
+ dataItem: N,
31
+ icon: d,
32
+ svgIcon: b,
33
+ text: p,
65
34
  id: C,
66
- tabIndex: E,
67
- onClick: w,
68
- onKeyDown: K,
69
- "aria-current": o,
70
- "aria-disabled": a
71
- },
72
- I ? /* @__PURE__ */ e.createElement(I, { itemIndex: n, item: N }) : /* @__PURE__ */ e.createElement(e.Fragment, null, (d || b) && /* @__PURE__ */ e.createElement(h, { 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))
73
- );
74
- return v !== void 0 ? v.call(void 0, u, i) : u;
75
- }), M = {
35
+ onSelect: s,
36
+ onKeyDown: l,
37
+ index: n,
38
+ tabIndex: E = M.tabIndex
39
+ } = i, R = e.useMemo(
40
+ () => D(
41
+ "k-bottom-nav-item",
42
+ {
43
+ "k-selected": o,
44
+ "k-disabled": a
45
+ },
46
+ r
47
+ ),
48
+ [o, a, r]
49
+ ), w = e.useCallback(
50
+ (c) => {
51
+ s && n !== void 0 && !a && s(c, n);
52
+ },
53
+ [s, n, a]
54
+ ), K = e.useCallback(
55
+ (c) => {
56
+ l && n !== void 0 && !a && l(c, n);
57
+ },
58
+ [l, n, a]
59
+ ), v = y, I = x, u = /* @__PURE__ */ e.createElement(
60
+ "span",
61
+ {
62
+ ref: m,
63
+ className: R,
64
+ style: k,
65
+ role: "link",
66
+ id: C,
67
+ tabIndex: E,
68
+ onClick: w,
69
+ onKeyDown: K,
70
+ "aria-current": o,
71
+ "aria-disabled": a
72
+ },
73
+ I ? /* @__PURE__ */ e.createElement(I, { itemIndex: n, item: N }) : /* @__PURE__ */ e.createElement(e.Fragment, null, (d || b) && /* @__PURE__ */ e.createElement(h, { 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))
74
+ );
75
+ return v !== void 0 ? v.call(void 0, u, i) : u;
76
+ }
77
+ ), M = {
76
78
  tabIndex: 0
77
79
  };
78
80
  g.propTypes = {
@@ -25,18 +25,9 @@ const v = r.forwardRef((e, E) => {
25
25
  ), S = r.useMemo(
26
26
  () => e.breadcrumbDelimiter || R,
27
27
  [e.breadcrumbDelimiter]
28
- ), F = r.useMemo(
29
- () => e.breadcrumbLink || K,
30
- [e.breadcrumbLink]
31
- ), D = r.useCallback(
32
- () => {
33
- n.current && n.current.focus();
34
- },
35
- [n]
36
- ), h = r.useMemo(
37
- () => e.disabled || !1,
38
- [e.disabled]
39
- );
28
+ ), F = r.useMemo(() => e.breadcrumbLink || K, [e.breadcrumbLink]), D = r.useCallback(() => {
29
+ n.current && n.current.focus();
30
+ }, [n]), h = r.useMemo(() => e.disabled || !1, [e.disabled]);
40
31
  r.useImperativeHandle(s, () => ({
41
32
  element: n.current,
42
33
  focus: D,
@@ -69,57 +60,40 @@ const v = r.forwardRef((e, E) => {
69
60
  /* @__PURE__ */ r.createElement(f, { rootItem: !0 }, /* @__PURE__ */ r.createElement(r.Fragment, null, e.data.map((t, a, l) => {
70
61
  const d = t[I];
71
62
  if (a === 0)
72
- return /* @__PURE__ */ r.createElement(
73
- g,
63
+ return /* @__PURE__ */ r.createElement(g, { key: d, isFirstItem: !0, isLastItem: l.length - 1 === a }, /* @__PURE__ */ r.createElement(
64
+ F,
74
65
  {
75
- key: d,
76
- isFirstItem: !0,
77
- isLastItem: l.length - 1 === a
78
- },
79
- /* @__PURE__ */ r.createElement(
80
- F,
81
- {
82
- isLast: l.length - 1 === a,
83
- isFirst: !0,
84
- id: String(d),
85
- icon: t[k] || void 0,
86
- iconClass: t[c] ? String(t[c]) : void 0,
87
- text: t[m] ? String(t[m]) : void 0,
88
- disabled: t.disabled || !1,
89
- onItemSelect: L,
90
- onKeyDown: y,
91
- ...e
92
- }
93
- )
94
- );
66
+ isLast: l.length - 1 === a,
67
+ isFirst: !0,
68
+ id: String(d),
69
+ icon: t[k] || void 0,
70
+ iconClass: t[c] ? String(t[c]) : void 0,
71
+ text: t[m] ? String(t[m]) : void 0,
72
+ disabled: t.disabled || !1,
73
+ onItemSelect: L,
74
+ onKeyDown: y,
75
+ ...e
76
+ }
77
+ ));
95
78
  }))),
96
79
  /* @__PURE__ */ r.createElement(f, { rootItem: !1 }, /* @__PURE__ */ r.createElement(r.Fragment, null, e.data.map((t, a, l) => {
97
80
  const d = t[I];
98
81
  if (a !== 0)
99
- return /* @__PURE__ */ r.createElement(
100
- g,
82
+ return /* @__PURE__ */ r.createElement(g, { key: d, isFirstItem: !1, isLastItem: l.length - 1 === a }, /* @__PURE__ */ r.createElement(S, { dir: u }), /* @__PURE__ */ r.createElement(
83
+ F,
101
84
  {
102
- key: d,
103
- isFirstItem: !1,
104
- isLastItem: l.length - 1 === a
105
- },
106
- /* @__PURE__ */ r.createElement(S, { dir: u }),
107
- /* @__PURE__ */ r.createElement(
108
- F,
109
- {
110
- isLast: l.length - 1 === a,
111
- isFirst: !1,
112
- id: String(d),
113
- icon: t[k] || void 0,
114
- iconClass: t[c] ? String(t[c]) : void 0,
115
- text: t[m] ? String(t[m]) : void 0,
116
- disabled: t.disabled || !1,
117
- onItemSelect: L,
118
- onKeyDown: y,
119
- ...e
120
- }
121
- )
122
- );
85
+ isLast: l.length - 1 === a,
86
+ isFirst: !1,
87
+ id: String(d),
88
+ icon: t[k] || void 0,
89
+ iconClass: t[c] ? String(t[c]) : void 0,
90
+ text: t[m] ? String(t[m]) : void 0,
91
+ disabled: t.disabled || !1,
92
+ onItemSelect: L,
93
+ onKeyDown: y,
94
+ ...e
95
+ }
96
+ ));
123
97
  })))
124
98
  );
125
99
  }), z = {
@@ -130,12 +104,14 @@ const v = r.forwardRef((e, E) => {
130
104
  breadcrumbListItem: i.elementType,
131
105
  breadcrumbDelimiter: i.elementType,
132
106
  breadcrumbLink: i.elementType,
133
- data: i.arrayOf(i.shape({
134
- id: i.string,
135
- text: i.string,
136
- icon: i.any,
137
- iconClass: i.string
138
- })),
107
+ data: i.arrayOf(
108
+ i.shape({
109
+ id: i.string,
110
+ text: i.string,
111
+ icon: i.any,
112
+ iconClass: i.string
113
+ })
114
+ ),
139
115
  dir: i.oneOf(["ltr", "rtl"]),
140
116
  disabled: i.bool,
141
117
  valueField: i.string,
@@ -11,30 +11,35 @@ import t from "prop-types";
11
11
  import { validatePackage as l, IconWrap as o } from "@progress/kendo-react-common";
12
12
  import { chevronLeftIcon as d, chevronRightIcon as s } from "@progress/kendo-svg-icons";
13
13
  import { packageMetadata as u } from "../package-metadata.mjs";
14
- const m = r.forwardRef((e, c) => {
15
- l(u);
16
- const a = r.useRef(null), n = r.useRef(null);
17
- return r.useImperativeHandle(a, () => {
18
- var i;
19
- return {
20
- element: ((i = n.current) == null ? void 0 : i.element) || null,
21
- props: e
22
- };
23
- }), r.useImperativeHandle(c, () => a.current), /* @__PURE__ */ r.createElement(
24
- o,
25
- {
26
- ref: n,
27
- id: e.id,
28
- "aria-hidden": !0,
29
- tabIndex: e.tabIndex,
30
- style: e.style,
31
- name: e.dir === "rtl" ? "chevron-left" : "chevron-right",
32
- icon: e.dir === "rtl" ? d : s,
33
- className: "k-breadcrumb-delimiter-icon",
34
- size: "xsmall"
35
- }
36
- );
37
- }), f = {
14
+ const m = r.forwardRef(
15
+ (e, c) => {
16
+ l(u);
17
+ const a = r.useRef(null), n = r.useRef(null);
18
+ return r.useImperativeHandle(a, () => {
19
+ var i;
20
+ return {
21
+ element: ((i = n.current) == null ? void 0 : i.element) || null,
22
+ props: e
23
+ };
24
+ }), r.useImperativeHandle(
25
+ c,
26
+ () => a.current
27
+ ), /* @__PURE__ */ r.createElement(
28
+ o,
29
+ {
30
+ ref: n,
31
+ id: e.id,
32
+ "aria-hidden": !0,
33
+ tabIndex: e.tabIndex,
34
+ style: e.style,
35
+ name: e.dir === "rtl" ? "chevron-left" : "chevron-right",
36
+ icon: e.dir === "rtl" ? d : s,
37
+ className: "k-breadcrumb-delimiter-icon",
38
+ size: "xsmall"
39
+ }
40
+ );
41
+ }
42
+ ), f = {
38
43
  id: t.string,
39
44
  className: t.string,
40
45
  style: t.object,
@@ -12,12 +12,9 @@ import { validatePackage as b, dispatchEvent as l, useDir as k, getTabIndex as f
12
12
  import { packageMetadata as C } from "../package-metadata.mjs";
13
13
  const r = t.forwardRef((e, s) => {
14
14
  b(C);
15
- const c = t.useRef(null), i = t.useRef(null), m = t.useCallback(
16
- () => {
17
- i.current && i.current.focus();
18
- },
19
- [i]
20
- );
15
+ const c = t.useRef(null), i = t.useRef(null), m = t.useCallback(() => {
16
+ i.current && i.current.focus();
17
+ }, [i]);
21
18
  t.useImperativeHandle(c, () => ({
22
19
  element: i.current,
23
20
  focus: m,
@@ -25,12 +22,16 @@ const r = t.forwardRef((e, s) => {
25
22
  })), t.useImperativeHandle(s, () => c.current);
26
23
  const u = t.useCallback(
27
24
  (n) => {
28
- e.id && l(e.onItemSelect, n, n.target, { id: e.id });
25
+ e.id && l(e.onItemSelect, n, n.target, {
26
+ id: e.id
27
+ });
29
28
  },
30
29
  [e.onItemSelect]
31
30
  ), o = t.useCallback(
32
31
  (n) => {
33
- e.id && l(e.onKeyDown, n, n.target, { id: e.id });
32
+ e.id && l(e.onKeyDown, n, n.target, {
33
+ id: e.id
34
+ });
34
35
  },
35
36
  [e.onKeyDown]
36
37
  );
@@ -45,16 +46,13 @@ const r = t.forwardRef((e, s) => {
45
46
  style: e.style,
46
47
  dir: k(i, e.dir),
47
48
  tabIndex: f(e.tabIndex, e.disabled),
48
- className: d(
49
- e.className,
50
- {
51
- "k-breadcrumb-root-link": e.isFirst,
52
- "k-breadcrumb-link": !e.isFirst,
53
- "k-breadcrumb-icontext-link": (e.icon !== void 0 || e.iconClass !== void 0) && e.text,
54
- "k-breadcrumb-icon-link": (e.icon !== void 0 || e.iconClass !== void 0) && !e.text,
55
- "k-disabled": e.disabled
56
- }
57
- ),
49
+ className: d(e.className, {
50
+ "k-breadcrumb-root-link": e.isFirst,
51
+ "k-breadcrumb-link": !e.isFirst,
52
+ "k-breadcrumb-icontext-link": (e.icon !== void 0 || e.iconClass !== void 0) && e.text,
53
+ "k-breadcrumb-icon-link": (e.icon !== void 0 || e.iconClass !== void 0) && !e.text,
54
+ "k-disabled": e.disabled
55
+ }),
58
56
  onClick: (n) => {
59
57
  n.preventDefault(), u(n);
60
58
  },
@@ -10,36 +10,38 @@ import * as t from "react";
10
10
  import a from "prop-types";
11
11
  import { validatePackage as l, classNames as n } from "@progress/kendo-react-common";
12
12
  import { packageMetadata as u } from "../package-metadata.mjs";
13
- const c = t.forwardRef((e, m) => {
14
- l(u);
15
- const s = t.useRef(null), r = t.useRef(null), i = t.useCallback(
16
- () => {
13
+ const c = t.forwardRef(
14
+ (e, m) => {
15
+ l(u);
16
+ const s = t.useRef(null), r = t.useRef(null), i = t.useCallback(() => {
17
17
  r.current && r.current.focus();
18
- },
19
- [r]
20
- );
21
- return t.useImperativeHandle(s, () => ({
22
- element: r.current,
23
- focus: i,
24
- props: e
25
- })), t.useImperativeHandle(m, () => s.current), /* @__PURE__ */ t.createElement(
26
- "li",
27
- {
28
- ref: r,
29
- id: e.id,
30
- style: e.style,
31
- className: n(
32
- "k-breadcrumb-item",
33
- {
34
- "k-breadcrumb-root-item": e.isFirstItem,
35
- "k-breadcrumb-last-item": e.isLastItem
36
- },
37
- e.className
38
- )
39
- },
40
- e.children
41
- );
42
- }), d = {
18
+ }, [r]);
19
+ return t.useImperativeHandle(s, () => ({
20
+ element: r.current,
21
+ focus: i,
22
+ props: e
23
+ })), t.useImperativeHandle(
24
+ m,
25
+ () => s.current
26
+ ), /* @__PURE__ */ t.createElement(
27
+ "li",
28
+ {
29
+ ref: r,
30
+ id: e.id,
31
+ style: e.style,
32
+ className: n(
33
+ "k-breadcrumb-item",
34
+ {
35
+ "k-breadcrumb-root-item": e.isFirstItem,
36
+ "k-breadcrumb-last-item": e.isLastItem
37
+ },
38
+ e.className
39
+ )
40
+ },
41
+ e.children
42
+ );
43
+ }
44
+ ), d = {
43
45
  id: a.string,
44
46
  className: a.string,
45
47
  children: a.any,
@@ -10,48 +10,53 @@ import * as a from "react";
10
10
  import t from "prop-types";
11
11
  import { validatePackage as s, useDir as l, getTabIndex as i, classNames as n } from "@progress/kendo-react-common";
12
12
  import { packageMetadata as b } from "../package-metadata.mjs";
13
- const c = a.forwardRef((e, m) => {
14
- s(b);
15
- const r = a.useRef(null), d = a.useRef(null);
16
- return a.useImperativeHandle(r, () => ({
17
- element: d.current,
18
- props: e
19
- })), a.useImperativeHandle(m, () => r.current), /* @__PURE__ */ a.createElement(a.Fragment, null, e.rootItem ? /* @__PURE__ */ a.createElement(
20
- "ol",
21
- {
22
- id: e.id,
23
- ref: d,
24
- style: e.style,
25
- dir: l(d, e.dir),
26
- tabIndex: i(e.tabIndex, e.disabled),
27
- className: n(
28
- "k-breadcrumb-root-item-container",
29
- {
30
- "k-disabled": e.disabled
31
- },
32
- e.className
33
- )
34
- },
35
- e.children
36
- ) : /* @__PURE__ */ a.createElement(
37
- "ol",
38
- {
39
- id: e.id,
40
- ref: d,
41
- style: e.style,
42
- dir: l(d, e.dir),
43
- tabIndex: i(e.tabIndex, e.disabled),
44
- className: n(
45
- "k-breadcrumb-container !k-flex-wrap",
46
- {
47
- "k-disabled": e.disabled
48
- },
49
- e.className
50
- )
51
- },
52
- e.children
53
- ));
54
- }), u = {
13
+ const c = a.forwardRef(
14
+ (e, m) => {
15
+ s(b);
16
+ const r = a.useRef(null), d = a.useRef(null);
17
+ return a.useImperativeHandle(r, () => ({
18
+ element: d.current,
19
+ props: e
20
+ })), a.useImperativeHandle(
21
+ m,
22
+ () => r.current
23
+ ), /* @__PURE__ */ a.createElement(a.Fragment, null, e.rootItem ? /* @__PURE__ */ a.createElement(
24
+ "ol",
25
+ {
26
+ id: e.id,
27
+ ref: d,
28
+ style: e.style,
29
+ dir: l(d, e.dir),
30
+ tabIndex: i(e.tabIndex, e.disabled),
31
+ className: n(
32
+ "k-breadcrumb-root-item-container",
33
+ {
34
+ "k-disabled": e.disabled
35
+ },
36
+ e.className
37
+ )
38
+ },
39
+ e.children
40
+ ) : /* @__PURE__ */ a.createElement(
41
+ "ol",
42
+ {
43
+ id: e.id,
44
+ ref: d,
45
+ style: e.style,
46
+ dir: l(d, e.dir),
47
+ tabIndex: i(e.tabIndex, e.disabled),
48
+ className: n(
49
+ "k-breadcrumb-container !k-flex-wrap",
50
+ {
51
+ "k-disabled": e.disabled
52
+ },
53
+ e.className
54
+ )
55
+ },
56
+ e.children
57
+ ));
58
+ }
59
+ ), u = {
55
60
  id: t.string,
56
61
  className: t.string,
57
62
  children: t.element,
package/card/Avatar.mjs CHANGED
@@ -46,7 +46,21 @@ n.propTypes = {
46
46
  rounded: a.oneOf([null, "small", "medium", "large", "full"]),
47
47
  fillMode: a.oneOf([null, "solid", "outline"]),
48
48
  /* eslint-disable max-len */
49
- themeColor: a.oneOf([null, "base", "dark", "error", "info", "inverse", "inverse", "light", "primary", "secondary", "success", "tertiary", "warning"])
49
+ themeColor: a.oneOf([
50
+ null,
51
+ "base",
52
+ "dark",
53
+ "error",
54
+ "info",
55
+ "inverse",
56
+ "inverse",
57
+ "light",
58
+ "primary",
59
+ "secondary",
60
+ "success",
61
+ "tertiary",
62
+ "warning"
63
+ ])
50
64
  };
51
65
  export {
52
66
  n as Avatar
package/card/CardBody.mjs CHANGED
@@ -9,17 +9,7 @@
9
9
  import * as s from "react";
10
10
  import r from "prop-types";
11
11
  import { classNames as a } from "@progress/kendo-react-common";
12
- const t = (e) => /* @__PURE__ */ s.createElement(
13
- "div",
14
- {
15
- style: e.style,
16
- className: a(
17
- "k-card-body",
18
- e.className
19
- )
20
- },
21
- e.children
22
- );
12
+ const t = (e) => /* @__PURE__ */ s.createElement("div", { style: e.style, className: a("k-card-body", e.className) }, e.children);
23
13
  t.propTypes = {
24
14
  className: r.string
25
15
  };
@@ -9,17 +9,7 @@
9
9
  import * as r from "react";
10
10
  import s from "prop-types";
11
11
  import { classNames as t } from "@progress/kendo-react-common";
12
- const a = (e) => /* @__PURE__ */ r.createElement(
13
- "div",
14
- {
15
- style: e.style,
16
- className: t(
17
- "k-card-footer",
18
- e.className
19
- )
20
- },
21
- e.children
22
- );
12
+ const a = (e) => /* @__PURE__ */ r.createElement("div", { style: e.style, className: t("k-card-footer", e.className) }, e.children);
23
13
  a.propTypes = {
24
14
  className: s.string
25
15
  };
@@ -9,17 +9,7 @@
9
9
  import * as r from "react";
10
10
  import a from "prop-types";
11
11
  import { classNames as s } from "@progress/kendo-react-common";
12
- const t = (e) => /* @__PURE__ */ r.createElement(
13
- "div",
14
- {
15
- style: e.style,
16
- className: s(
17
- "k-card-header",
18
- e.className
19
- )
20
- },
21
- e.children
22
- );
12
+ const t = (e) => /* @__PURE__ */ r.createElement("div", { style: e.style, className: s("k-card-header", e.className) }, e.children);
23
13
  t.propTypes = {
24
14
  className: a.string
25
15
  };
@@ -18,10 +18,7 @@ const c = (e) => {
18
18
  "img",
19
19
  {
20
20
  style: s.style,
21
- className: t(
22
- "k-card-media",
23
- s.className
24
- ),
21
+ className: t("k-card-media", s.className),
25
22
  src: s.src,
26
23
  alt: s.alt
27
24
  }
@@ -9,17 +9,7 @@
9
9
  import * as t from "react";
10
10
  import s from "prop-types";
11
11
  import { classNames as r } from "@progress/kendo-react-common";
12
- const a = (e) => /* @__PURE__ */ t.createElement(
13
- "div",
14
- {
15
- style: e.style,
16
- className: r(
17
- "k-card-subtitle",
18
- e.className
19
- )
20
- },
21
- e.children
22
- );
12
+ const a = (e) => /* @__PURE__ */ t.createElement("div", { style: e.style, className: r("k-card-subtitle", e.className) }, e.children);
23
13
  a.propTypes = {
24
14
  className: s.string
25
15
  };