@progress/kendo-react-buttons 5.10.0-dev.202301091032 → 5.10.0-dev.202301111405

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 (43) hide show
  1. package/dist/cdn/js/kendo-react-buttons.js +1 -1
  2. package/dist/es/Button.d.ts +5 -15
  3. package/dist/es/Button.js +8 -10
  4. package/dist/es/ButtonInterface.d.ts +2 -0
  5. package/dist/es/ButtonInterface.js +1 -0
  6. package/dist/es/Chip/Chip.d.ts +16 -3
  7. package/dist/es/Chip/Chip.js +10 -5
  8. package/dist/es/FloatingActionButton/FloatingActionButton.js +19 -20
  9. package/dist/es/FloatingActionButton/interfaces/FloatingActionButtonProps.d.ts +5 -15
  10. package/dist/es/ListButton/ButtonItem.js +2 -6
  11. package/dist/es/ListButton/DropDownButton.d.ts +5 -1
  12. package/dist/es/ListButton/DropDownButton.js +3 -3
  13. package/dist/es/ListButton/SplitButton.d.ts +5 -1
  14. package/dist/es/ListButton/SplitButton.js +5 -4
  15. package/dist/es/ListButton/models/ButtonItem.d.ts +5 -0
  16. package/dist/es/ListButton/models/ButtonItem.js +1 -0
  17. package/dist/es/ListButton/models/ListButtonProps.d.ts +9 -14
  18. package/dist/es/main.d.ts +1 -2
  19. package/dist/es/package-metadata.js +1 -1
  20. package/dist/npm/Button.d.ts +5 -15
  21. package/dist/npm/Button.js +7 -9
  22. package/dist/npm/ButtonInterface.d.ts +2 -0
  23. package/dist/npm/ButtonInterface.js +1 -0
  24. package/dist/npm/Chip/Chip.d.ts +16 -3
  25. package/dist/npm/Chip/Chip.js +9 -4
  26. package/dist/npm/FloatingActionButton/FloatingActionButton.js +18 -19
  27. package/dist/npm/FloatingActionButton/interfaces/FloatingActionButtonProps.d.ts +5 -15
  28. package/dist/npm/ListButton/ButtonItem.js +1 -5
  29. package/dist/npm/ListButton/DropDownButton.d.ts +5 -1
  30. package/dist/npm/ListButton/DropDownButton.js +2 -2
  31. package/dist/npm/ListButton/SplitButton.d.ts +5 -1
  32. package/dist/npm/ListButton/SplitButton.js +4 -3
  33. package/dist/npm/ListButton/models/ButtonItem.d.ts +5 -0
  34. package/dist/npm/ListButton/models/ButtonItem.js +1 -0
  35. package/dist/npm/ListButton/models/ListButtonProps.d.ts +9 -14
  36. package/dist/npm/main.d.ts +1 -2
  37. package/dist/npm/package-metadata.js +1 -1
  38. package/dist/systemjs/kendo-react-buttons.js +1 -1
  39. package/package.json +14 -13
  40. package/dist/es/FloatingActionButton/models/shape.d.ts +0 -14
  41. package/dist/es/FloatingActionButton/models/shape.js +0 -1
  42. package/dist/npm/FloatingActionButton/models/shape.d.ts +0 -14
  43. package/dist/npm/FloatingActionButton/models/shape.js +0 -2
@@ -22,19 +22,6 @@ export interface ButtonProps extends ButtonInterface, React.ButtonHTMLAttributes
22
22
  * @default `medium`
23
23
  */
24
24
  size?: null | 'small' | 'medium' | 'large';
25
- /**
26
- * Configures the `shape` of the Button.
27
- *
28
- * The available options are:
29
- * - rectangle
30
- * - square
31
- * - null—Does not set a shape `className`.
32
- *
33
- * @default `null`
34
- *
35
- * @deprecated The `shape` property will be deprecated with version `^6` of the `@progress/kendo-react-buttons` package.
36
- */
37
- shape?: null | 'rectangle' | 'square';
38
25
  /**
39
26
  * Configures the `roundness` of the Button.
40
27
  *
@@ -97,11 +84,15 @@ export declare class Button extends React.Component<ButtonProps, ButtonState> {
97
84
  selected: PropTypes.Requireable<boolean>;
98
85
  togglable: PropTypes.Requireable<boolean>;
99
86
  icon: PropTypes.Requireable<string>;
87
+ svgIcon: PropTypes.Requireable<PropTypes.InferProps<{
88
+ name: PropTypes.Validator<string>;
89
+ content: PropTypes.Validator<string>;
90
+ viewBox: PropTypes.Validator<string>;
91
+ }>>;
100
92
  iconClass: PropTypes.Requireable<string>;
101
93
  imageUrl: PropTypes.Requireable<string>;
102
94
  imageAlt: PropTypes.Requireable<string>;
103
95
  size: PropTypes.Requireable<string | null>;
104
- shape: PropTypes.Requireable<string | null>;
105
96
  rounded: PropTypes.Requireable<string | null>;
106
97
  fillMode: PropTypes.Requireable<string | null>;
107
98
  themeColor: PropTypes.Requireable<string | null>;
@@ -112,7 +103,6 @@ export declare class Button extends React.Component<ButtonProps, ButtonState> {
112
103
  static defaultProps: {
113
104
  togglable: boolean;
114
105
  size: string;
115
- shape: null;
116
106
  rounded: string;
117
107
  fillMode: string;
118
108
  themeColor: string;
package/dist/es/Button.js CHANGED
@@ -37,20 +37,19 @@ var __rest = (this && this.__rest) || function (s, e) {
37
37
  };
38
38
  import * as React from 'react';
39
39
  import * as PropTypes from 'prop-types';
40
- import { classNames, kendoThemeMaps } from '@progress/kendo-react-common';
40
+ import { classNames, kendoThemeMaps, IconWrap, svgIconPropType } from '@progress/kendo-react-common';
41
41
  import { validatePackage } from '@progress/kendo-react-common';
42
42
  import { packageMetadata } from './package-metadata';
43
43
  /**
44
44
  * @hidden
45
45
  */
46
46
  function iconElement(_a) {
47
- var imageUrl = _a.imageUrl, icon = _a.icon, iconClass = _a.iconClass, imageAlt = _a.imageAlt;
47
+ var imageUrl = _a.imageUrl, name = _a.name, iconClass = _a.iconClass, svgIcon = _a.svgIcon, imageAlt = _a.imageAlt;
48
48
  if (imageUrl) {
49
49
  return (React.createElement("img", { role: "presentation", className: 'k-button-icon', alt: imageAlt, src: imageUrl }));
50
50
  }
51
- else if (icon) {
52
- var iconClasses = classNames('k-button-icon k-icon', 'k-i-' + icon);
53
- return (React.createElement("span", { role: "presentation", className: iconClasses }));
51
+ else if (name || svgIcon) {
52
+ return React.createElement(IconWrap, { className: 'k-button-icon', name: name, icon: svgIcon });
54
53
  }
55
54
  else if (iconClass) {
56
55
  return (React.createElement("span", { role: "presentation", className: classNames('k-button-icon', iconClass) }));
@@ -108,18 +107,18 @@ var Button = /** @class */ (function (_super) {
108
107
  Button.prototype.render = function () {
109
108
  var _a;
110
109
  var _this = this;
111
- var _b = this.props, children = _b.children, togglable = _b.togglable, icon = _b.icon, iconClass = _b.iconClass, imageUrl = _b.imageUrl, imageAlt = _b.imageAlt, className = _b.className, onClick = _b.onClick, _c = _b.size, size = _c === void 0 ? Button.defaultProps.size : _c, _d = _b.shape, shape = _d === void 0 ? Button.defaultProps.shape : _d, _e = _b.rounded, rounded = _e === void 0 ? Button.defaultProps.rounded : _e, _f = _b.fillMode, fillMode = _f === void 0 ? Button.defaultProps.fillMode : _f, _g = _b.themeColor, themeColor = _g === void 0 ? Button.defaultProps.themeColor : _g, htmlAttributes = __rest(_b, ["children", "togglable", "icon", "iconClass", "imageUrl", "imageAlt", "className", "onClick", "size", "shape", "rounded", "fillMode", "themeColor"]);
110
+ var _b = this.props, children = _b.children, togglable = _b.togglable, icon = _b.icon, iconClass = _b.iconClass, svgIcon = _b.svgIcon, imageUrl = _b.imageUrl, imageAlt = _b.imageAlt, className = _b.className, onClick = _b.onClick, _c = _b.size, size = _c === void 0 ? Button.defaultProps.size : _c, _d = _b.rounded, rounded = _d === void 0 ? Button.defaultProps.rounded : _d, _e = _b.fillMode, fillMode = _e === void 0 ? Button.defaultProps.fillMode : _e, _f = _b.themeColor, themeColor = _f === void 0 ? Button.defaultProps.themeColor : _f, htmlAttributes = __rest(_b, ["children", "togglable", "icon", "iconClass", "svgIcon", "imageUrl", "imageAlt", "className", "onClick", "size", "rounded", "fillMode", "themeColor"]);
112
111
  var hasIcon = (icon !== undefined || iconClass !== undefined || imageUrl !== undefined);
113
112
  var hasChildren = children !== undefined;
114
113
  var iconEl = iconElement({
115
- icon: icon,
114
+ name: icon,
115
+ svgIcon: svgIcon,
116
116
  iconClass: iconClass,
117
117
  imageUrl: imageUrl,
118
118
  imageAlt: imageAlt
119
119
  });
120
120
  return (React.createElement("button", __assign({ ref: function (button) { return _this._element = button; }, "aria-pressed": togglable ? this.state.selected : undefined }, htmlAttributes, { onClick: this.handleClick, className: classNames('k-button', (_a = {},
121
121
  _a["k-button-".concat(kendoThemeMaps.sizeMap[size] || size)] = size,
122
- _a["k-button-".concat(shape)] = shape,
123
122
  _a["k-button-".concat(fillMode)] = fillMode,
124
123
  _a["k-button-".concat(fillMode, "-").concat(themeColor)] = Boolean(fillMode && themeColor),
125
124
  _a["k-rounded-".concat(kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
@@ -147,11 +146,11 @@ var Button = /** @class */ (function (_super) {
147
146
  selected: PropTypes.bool,
148
147
  togglable: PropTypes.bool,
149
148
  icon: PropTypes.string,
149
+ svgIcon: svgIconPropType,
150
150
  iconClass: PropTypes.string,
151
151
  imageUrl: PropTypes.string,
152
152
  imageAlt: PropTypes.string,
153
153
  size: PropTypes.oneOf([null, 'small', 'medium', 'large']),
154
- shape: PropTypes.oneOf([null, 'rectangle', 'square']),
155
154
  rounded: PropTypes.oneOf([null, 'small', 'medium', 'large', 'full']),
156
155
  fillMode: PropTypes.oneOf([null, 'flat', 'link', 'outline', 'solid']),
157
156
  // eslint-disable-next-line max-len
@@ -163,7 +162,6 @@ var Button = /** @class */ (function (_super) {
163
162
  Button.defaultProps = {
164
163
  togglable: false,
165
164
  size: 'medium',
166
- shape: null,
167
165
  rounded: 'medium',
168
166
  fillMode: 'solid',
169
167
  themeColor: 'base'
@@ -1,3 +1,4 @@
1
+ import { SVGIcon } from '@progress/kendo-react-common';
1
2
  /**
2
3
  * Inherits the native HTML Button. Represents the properties which can be set to a Button.
3
4
  */
@@ -18,6 +19,7 @@ export interface ButtonInterface {
18
19
  * Defines the name for an existing icon in a KendoReact theme ([see example]({% slug icons_button %})). The icon is rendered inside the Button by a `span.k-icon` element.
19
20
  */
20
21
  icon?: string;
22
+ svgIcon?: SVGIcon;
21
23
  /**
22
24
  * Defines a CSS class&mdash;or multiple classes separated by spaces&mdash;which are applied to a `span` element inside the Button ([see example]({% slug icons_button %})). Allows the usage of custom icons.
23
25
  */
@@ -1,2 +1,3 @@
1
+ /* eslint-disable max-len */
1
2
  export {};
2
3
  // tslint:enable:max-line-length
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { SVGIcon } from '@progress/kendo-react-common';
2
3
  import { ChipRemoveEvent, ChipMouseEvent, ChipFocusEvent, ChipKeyboardEvent } from './../models/index';
3
4
  /**
4
5
  * Represents the properties of [Chip]({% slug api_buttons_chip %}) component.
@@ -41,21 +42,33 @@ export interface ChipProps {
41
42
  */
42
43
  removable?: boolean;
43
44
  /**
44
- * Determines if the Chip has custom `removeIcon`.
45
+ * Determines if the Chip has custom font `removeIcon`.
45
46
  */
46
47
  removeIcon?: string;
48
+ /**
49
+ * Determines if the Chip has custom SVG `removeIcon`.
50
+ */
51
+ removeSvgIcon?: SVGIcon;
47
52
  /**
48
53
  * Determines if the Chip is disabled.
49
54
  */
50
55
  disabled?: boolean;
51
56
  /**
52
- * Determines if the Chip has an `icon`.
57
+ * Determines if the Chip has a font `icon`.
53
58
  */
54
59
  icon?: string;
55
60
  /**
56
- * Determines if the Chip has custom selection `icon`.
61
+ * Determines if the Chip has an SVG `icon`.
62
+ */
63
+ svgIcon?: SVGIcon;
64
+ /**
65
+ * Determines if the Chip has custom selection font `icon`.
57
66
  */
58
67
  selectedIcon?: string;
68
+ /**
69
+ * Determines if the Chip has custom selection SVG `icon`.
70
+ */
71
+ selectedSvgIcon?: SVGIcon;
59
72
  /**
60
73
  * Triggered on Chip removing.
61
74
  */
@@ -12,7 +12,7 @@ var __assign = (this && this.__assign) || function () {
12
12
  import * as React from 'react';
13
13
  import * as PropTypes from 'prop-types';
14
14
  import { ChipListSelectionContext, ChipListFocusContext, ChipListDataContext } from './ChipList';
15
- import { classNames, useDir, getTabIndex, Keys, kendoThemeMaps } from '@progress/kendo-react-common';
15
+ import { classNames, useDir, getTabIndex, Keys, IconWrap, kendoThemeMaps, toIconName, svgIconPropType } from '@progress/kendo-react-common';
16
16
  import { FOCUS_ACTION } from './focus-reducer';
17
17
  import { DATA_ACTION } from './data-reducer';
18
18
  import { SELECTION_ACTION } from './selection-reducer';
@@ -117,15 +117,17 @@ export var Chip = React.forwardRef(function (props, ref) {
117
117
  _a["k-chip-".concat(props.fillMode)] = props.fillMode,
118
118
  _a["k-chip-".concat(props.fillMode, "-").concat(props.themeColor)] = Boolean(props.fillMode && props.themeColor),
119
119
  _a), props.className), "aria-checked": selected, "aria-disabled": props.disabled, "aria-describedby": props.ariaDescribedBy, onFocus: handleFocus, onBlur: handleBlur, onKeyDown: handleKeyDown }),
120
- (selected && props.selectedIcon) && React.createElement("span", { className: classNames('k-chip-icon', 'k-icon', props.selectedIcon) }),
121
- props.icon && React.createElement("span", { className: classNames('k-chip-icon', 'k-icon', props.icon) }),
120
+ (selected && (props.selectedIcon || props.selectedSvgIcon)) &&
121
+ React.createElement(IconWrap, { className: 'k-chip-icon', name: props.selectedIcon ? toIconName(props.selectedIcon) : undefined, icon: props.selectedSvgIcon }),
122
+ (props.icon || props.svgIcon) &&
123
+ React.createElement(IconWrap, { className: 'k-chip-icon', name: props.icon ? toIconName(props.icon) : undefined, icon: props.svgIcon }),
122
124
  React.createElement("span", { className: 'k-chip-content' }, props.children !== undefined
123
125
  ? props.children
124
126
  : props.text &&
125
127
  React.createElement("span", { "aria-label": props.text, className: 'k-chip-label' }, props.text)),
126
128
  props.removable && (React.createElement("span", { className: "k-chip-actions" },
127
- React.createElement("span", { className: classNames('k-chip-action', 'k-chip-remove-action') },
128
- React.createElement("span", { className: classNames('k-icon', props.removeIcon), onClick: handleRemove }))))));
129
+ React.createElement("span", { className: classNames('k-chip-action', 'k-chip-remove-action'), onClick: handleRemove },
130
+ React.createElement(IconWrap, { name: props.removeIcon ? toIconName(props.removeIcon) : undefined, icon: props.removeSvgIcon }))))));
129
131
  });
130
132
  var propTypes = {
131
133
  id: PropTypes.string,
@@ -134,9 +136,12 @@ var propTypes = {
134
136
  dir: PropTypes.oneOf(['ltr', 'rtl']),
135
137
  removable: PropTypes.bool,
136
138
  removeIcon: PropTypes.string,
139
+ removeIconSvg: svgIconPropType,
137
140
  disabled: PropTypes.bool,
138
141
  icon: PropTypes.string,
142
+ svgIcon: svgIconPropType,
139
143
  selectedIcon: PropTypes.string,
144
+ selectedIconSvg: svgIconPropType,
140
145
  onRemove: PropTypes.func,
141
146
  dataItem: PropTypes.any,
142
147
  selected: PropTypes.bool,
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import * as React from 'react';
24
24
  import * as PropTypes from 'prop-types';
25
- import { kendoThemeMaps, useZIndexContext, validatePackage, ZIndexContext } from '@progress/kendo-react-common';
25
+ import { IconWrap, kendoThemeMaps, svgIconPropType, useZIndexContext, validatePackage, ZIndexContext } from '@progress/kendo-react-common';
26
26
  import { classNames, guid, useDir, dispatchEvent, Keys, getTabIndex } from '@progress/kendo-react-common';
27
27
  import { FloatingActionButtonItem } from './FloatingActionButtonItem';
28
28
  import { packageMetadata } from '../package-metadata';
@@ -47,7 +47,7 @@ var DEFAULT_FAB_ZINDEX = 100;
47
47
  */
48
48
  export var FloatingActionButton = React.forwardRef(function (props, ref) {
49
49
  validatePackage(packageMetadata);
50
- var _a = props.align, align = _a === void 0 ? defaultProps.align : _a, alignOffset = props.alignOffset, className = props.className, disabled = props.disabled, icon = props.icon, iconClass = props.iconClass, id = props.id, items = props.items, item = props.item, text = props.text, _b = props.positionMode, positionMode = _b === void 0 ? defaultProps.positionMode : _b, _c = props.shape, shape = _c === void 0 ? defaultProps.shape : _c, _d = props.size, size = _d === void 0 ? defaultProps.size : _d, style = props.style, _e = props.rounded, rounded = _e === void 0 ? defaultProps.rounded : _e, _f = props.themeColor, themeColor = _f === void 0 ? defaultProps.themeColor : _f, overlayStyle = props.overlayStyle, tabIndex = props.tabIndex, accessKey = props.accessKey, _g = props.popupSettings, popupSettings = _g === void 0 ? {} : _g, modal = props.modal, onClick = props.onClick, onItemClick = props.onItemClick, onFocus = props.onFocus, onBlur = props.onBlur, onKeyDown = props.onKeyDown, onOpen = props.onOpen, onClose = props.onClose, others = __rest(props, ["align", "alignOffset", "className", "disabled", "icon", "iconClass", "id", "items", "item", "text", "positionMode", "shape", "size", "style", "rounded", "themeColor", "overlayStyle", "tabIndex", "accessKey", "popupSettings", "modal", "onClick", "onItemClick", "onFocus", "onBlur", "onKeyDown", "onOpen", "onClose"]);
50
+ var _a = props.align, align = _a === void 0 ? defaultProps.align : _a, alignOffset = props.alignOffset, className = props.className, disabled = props.disabled, icon = props.icon, svgIcon = props.svgIcon, iconClass = props.iconClass, id = props.id, items = props.items, item = props.item, text = props.text, _b = props.positionMode, positionMode = _b === void 0 ? defaultProps.positionMode : _b, _c = props.size, size = _c === void 0 ? defaultProps.size : _c, style = props.style, _d = props.rounded, rounded = _d === void 0 ? defaultProps.rounded : _d, _e = props.themeColor, themeColor = _e === void 0 ? defaultProps.themeColor : _e, overlayStyle = props.overlayStyle, tabIndex = props.tabIndex, accessKey = props.accessKey, _f = props.popupSettings, popupSettings = _f === void 0 ? {} : _f, modal = props.modal, onClick = props.onClick, onItemClick = props.onItemClick, onFocus = props.onFocus, onBlur = props.onBlur, onKeyDown = props.onKeyDown, onOpen = props.onOpen, onClose = props.onClose, others = __rest(props, ["align", "alignOffset", "className", "disabled", "icon", "svgIcon", "iconClass", "id", "items", "item", "text", "positionMode", "size", "style", "rounded", "themeColor", "overlayStyle", "tabIndex", "accessKey", "popupSettings", "modal", "onClick", "onItemClick", "onFocus", "onBlur", "onKeyDown", "onOpen", "onClose"]);
51
51
  var zIndexContext = useZIndexContext();
52
52
  var currentZIndex = zIndexContext ? zIndexContext + ZINDEX_FAB_STEP : DEFAULT_FAB_ZINDEX;
53
53
  var target = React.useRef(null);
@@ -65,9 +65,9 @@ export var FloatingActionButton = React.forwardRef(function (props, ref) {
65
65
  }); }, [focusElement]);
66
66
  React.useImperativeHandle(target, getImperativeHandle);
67
67
  React.useImperativeHandle(ref, function () { return target.current; });
68
- var _h = React.useState(false), open = _h[0], setOpen = _h[1];
69
- var _j = React.useState(false), focused = _j[0], setFocused = _j[1];
70
- var _k = React.useState(-1), focusedIndex = _k[0], setFocusedIndex = _k[1];
68
+ var _g = React.useState(false), open = _g[0], setOpen = _g[1];
69
+ var _h = React.useState(false), focused = _h[0], setFocused = _h[1];
70
+ var _j = React.useState(-1), focusedIndex = _j[0], setFocusedIndex = _j[1];
71
71
  var buttonId = React.useMemo(function () { return guid(); }, []);
72
72
  var dir = useDir(elementRef, props.dir);
73
73
  var isRtl = dir === 'rtl';
@@ -201,31 +201,31 @@ export var FloatingActionButton = React.forwardRef(function (props, ref) {
201
201
  }, [onKeyDown, focusedIndex, setFocusedIndex, isRtl, setOpen]);
202
202
  var buttonClassNames = React.useMemo(function () {
203
203
  var _a;
204
- return classNames('k-fab k-fab-solid', (_a = {},
205
- _a["k-fab-".concat(shape)] = shape,
206
- _a['k-fab-sm'] = size === 'small',
207
- _a['k-fab-md'] = size === 'medium',
208
- _a['k-fab-lg'] = size === 'large',
209
- _a['k-disabled'] = disabled,
210
- _a['k-pos-absolute'] = positionMode === 'absolute',
211
- _a['k-pos-fixed'] = positionMode === 'fixed',
212
- _a['k-focus'] = focused,
204
+ return classNames('k-fab k-fab-solid', (_a = {
205
+ 'k-fab-sm': size === 'small',
206
+ 'k-fab-md': size === 'medium',
207
+ 'k-fab-lg': size === 'large',
208
+ 'k-disabled': disabled,
209
+ 'k-pos-absolute': positionMode === 'absolute',
210
+ 'k-pos-fixed': positionMode === 'fixed',
211
+ 'k-focus': focused
212
+ },
213
213
  _a["k-rounded-".concat(kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
214
214
  _a["k-fab-solid-".concat(themeColor)] = themeColor,
215
215
  _a), "k-".concat(align.vertical, "-").concat(align.horizontal), className);
216
- }, [themeColor, size, rounded, shape, disabled, positionMode, align, focused, className]);
216
+ }, [themeColor, size, rounded, disabled, positionMode, align, focused, className]);
217
217
  var fabItems = (items && (items.map(function (element, index) {
218
218
  return (React.createElement(FloatingActionButtonItem, __assign({}, element, { key: index, index: index, id: "".concat(listId, "-").concat(index), disabled: disabled || element.disabled, focused: focusedIndex === index, dataItem: element, item: item, className: classNames(element.className, getTextDirectionClass(dir || 'ltr', align.horizontal)), onClick: handleItemClick, onDown: handleItemDown })));
219
219
  })));
220
- var isIconFab = icon && !text;
220
+ var isIconFab = Boolean((icon || svgIcon) && !text);
221
221
  var fabWidth = elementRef.current ? elementRef.current.offsetWidth : 0;
222
222
  var iconWidth = 32;
223
223
  var spacing = (fabWidth / 2) - (iconWidth / 2);
224
224
  return (React.createElement(ZIndexContext.Provider, { value: currentZIndex },
225
225
  React.createElement(React.Fragment, null,
226
226
  React.createElement("button", __assign({ ref: elementRef, id: id || buttonId, role: items ? 'menubutton' : 'button', type: 'button', "aria-disabled": disabled, "aria-expanded": items ? open : undefined, "aria-haspopup": items ? true : false, "aria-label": "".concat(text || '', " floatingactionbutton"), "aria-owns": items ? listId : undefined, "aria-activedescendant": focusedIndex >= 0 && items ? "".concat(listId, "-").concat(focusedIndex) : undefined, tabIndex: getTabIndex(tabIndex, disabled), accessKey: accessKey, dir: dir, disabled: disabled, className: buttonClassNames, style: style, onClick: handleClick, onMouseDown: handleMouseDown, onFocus: handleFocus, onBlur: handleBlur, onKeyDown: handleKeyDown }, others),
227
- icon ?
228
- React.createElement("span", { role: "presentation", className: classNames("k-fab-icon k-icon k-i-".concat(icon)) }) :
227
+ (icon || svgIcon) ?
228
+ React.createElement(IconWrap, { className: "k-fab-icon", name: icon, icon: svgIcon }) :
229
229
  iconClass ?
230
230
  React.createElement("span", { role: "presentation", className: iconClass }) :
231
231
  null,
@@ -249,6 +249,7 @@ FloatingActionButton.propTypes = {
249
249
  accessKey: PropTypes.string,
250
250
  disabled: PropTypes.bool,
251
251
  icon: PropTypes.string,
252
+ svgIcon: svgIconPropType,
252
253
  iconClass: PropTypes.string,
253
254
  text: PropTypes.string,
254
255
  alignOffset: PropTypes.shape({
@@ -260,7 +261,6 @@ FloatingActionButton.propTypes = {
260
261
  horizontal: PropTypes.oneOf(['start', 'center', 'end'])
261
262
  }),
262
263
  positionMode: PropTypes.oneOf(['absolute', 'fixed']),
263
- shape: PropTypes.oneOf([null, 'rectangle', 'square']),
264
264
  size: PropTypes.oneOf([null, 'small', 'medium', 'large']),
265
265
  rounded: PropTypes.oneOf([null, 'small', 'medium', 'large', 'full']),
266
266
  themeColor: PropTypes.oneOf([null,
@@ -273,7 +273,6 @@ FloatingActionButton.propTypes = {
273
273
  };
274
274
  var defaultProps = {
275
275
  align: { vertical: 'bottom', horizontal: 'end' },
276
- shape: null,
277
276
  size: 'medium',
278
277
  rounded: 'full',
279
278
  themeColor: 'primary',
@@ -5,10 +5,10 @@ import { FloatingActionButtonAlign } from '../models/align';
5
5
  import { FloatingActionButtonAlignOffset } from '../models/align-offset';
6
6
  import { FloatingActionButtonEvent, FloatingActionButtonItemEvent } from '../models/events';
7
7
  import { FloatingActionButtonPositionMode } from '../models/position-mode';
8
- import { FloatingActionButtonShape } from '../models/shape';
9
8
  import { FloatingActionButtonSize } from '../models/size';
10
9
  import { FloatingActionButtonThemeColor } from '../models/theme-color';
11
10
  import { FloatingActionButtonRounded } from '../models/rounded';
11
+ import { SVGIcon } from '@progress/kendo-react-common';
12
12
  /**
13
13
  * @hidden
14
14
  */
@@ -41,6 +41,10 @@ export interface FloatingActionButtonProps extends Omit<React.ButtonHTMLAttribut
41
41
  * Defines the icon rendered in the Floating Action Button [see example]({% slug contenttypes_floatingactionbutton %}).
42
42
  */
43
43
  icon?: string;
44
+ /**
45
+ * Defines the SVG icon rendered in the Floating Action Button [see example]({% slug contenttypes_floatingactionbutton %}).
46
+ */
47
+ svgIcon?: SVGIcon;
44
48
  /**
45
49
  * Defines a CSS class or multiple classes separated by spaces which are applied
46
50
  * to a `span` element inside the Floating Action Button. Allows the usage of custom icons.
@@ -97,20 +101,6 @@ export interface FloatingActionButtonProps extends Omit<React.ButtonHTMLAttribut
97
101
  * * 'absolute'
98
102
  */
99
103
  positionMode?: FloatingActionButtonPositionMode;
100
- /**
101
- * Specifies the shape of the Floating Action Button
102
- * [see example]({% slug appearance_floatingactionbutton %}).
103
- *
104
- * The possible values are:
105
- * * `rectangle`&mdash;Applies no border radius on the FloatingActionButton.
106
- * * `square`&mdash;Applies square shape on the FloatingActionButton.
107
- * * `null`&mdash;Does not set a shape `className`.
108
- *
109
- * @default null
110
- *
111
- * @deprecated The `shape` property will be deprecated with version `^6` of the `@progress/kendo-react-buttons` package.
112
- */
113
- shape?: FloatingActionButtonShape;
114
104
  /**
115
105
  * Specifies the size of the Floating Action Button
116
106
  * [see example]({% slug appearance_floatingactionbutton %}).
@@ -1,10 +1,9 @@
1
1
  import * as React from 'react';
2
- import { classNames } from '@progress/kendo-react-common';
2
+ import { classNames, IconWrap } from '@progress/kendo-react-common';
3
3
  /**
4
4
  * @hidden
5
5
  */
6
6
  export var ButtonItem = function (props) {
7
- var _a;
8
7
  var handleClick = React.useCallback(function (event) {
9
8
  props.onClick(event, props.index);
10
9
  }, [props]);
@@ -16,10 +15,7 @@ export var ButtonItem = function (props) {
16
15
  }), key: "icon" }, As
17
16
  ? (React.createElement(As, { item: props.dataItem, itemIndex: props.index }))
18
17
  : (React.createElement(React.Fragment, null,
19
- (props.dataItem.icon || props.dataItem.iconClass) && (React.createElement("span", { className: classNames('k-icon', (_a = {},
20
- _a["k-i-".concat(props.dataItem.icon)] = props.dataItem.icon,
21
- _a["".concat(props.dataItem.iconClass)] = props.dataItem.iconClass,
22
- _a)) })),
18
+ (props.dataItem.icon || props.dataItem.iconClass) && (React.createElement(IconWrap, { className: props.dataItem.iconClass, name: props.dataItem.icon, icon: props.dataItem.svgIcon })),
23
19
  (props.dataItem.imageUrl) && (React.createElement("img", { role: "presentation", alt: "", src: props.dataItem.imageUrl, className: 'k-icon' })),
24
20
  (text) && (React.createElement("span", { className: "k-menu-link-text" }, text))))))));
25
21
  return ((props.item !== undefined && /* to be removed in 5.0.0 */
@@ -46,6 +46,11 @@ export declare class DropDownButton extends React.Component<DropDownButtonProps,
46
46
  tabIndex: PropTypes.Requireable<number>;
47
47
  disabled: PropTypes.Requireable<boolean>;
48
48
  icon: PropTypes.Requireable<string>;
49
+ svgIcon: PropTypes.Requireable<PropTypes.InferProps<{
50
+ name: PropTypes.Validator<string>;
51
+ content: PropTypes.Validator<string>;
52
+ viewBox: PropTypes.Validator<string>;
53
+ }>>;
49
54
  iconClass: PropTypes.Requireable<string>;
50
55
  imageUrl: PropTypes.Requireable<string>;
51
56
  popupSettings: PropTypes.Requireable<object>;
@@ -61,7 +66,6 @@ export declare class DropDownButton extends React.Component<DropDownButtonProps,
61
66
  static defaultProps: {
62
67
  size: string;
63
68
  rounded: string;
64
- shape: null;
65
69
  fillMode: string;
66
70
  themeColor: string;
67
71
  };
@@ -27,7 +27,7 @@ var __assign = (this && this.__assign) || function () {
27
27
  import * as React from 'react';
28
28
  import * as PropTypes from 'prop-types';
29
29
  import { Button } from './../main';
30
- import { classNames, guid, Keys, kendoThemeMaps } from '@progress/kendo-react-common';
30
+ import { classNames, guid, Keys, kendoThemeMaps, svgIconPropType } from '@progress/kendo-react-common';
31
31
  import { dispatchEvent } from '@progress/kendo-react-common';
32
32
  import { navigate as navigation } from './utils/navigation';
33
33
  import { DropDownButtonItem } from './DropDownButtonItem';
@@ -215,7 +215,7 @@ var DropDownButton = /** @class */ (function (_super) {
215
215
  return (React.createElement("div", { id: id, style: style, className: classNames('k-dropdown-button', {
216
216
  'k-focus': this.state.focused
217
217
  }, this.props.className), onKeyDown: this.onKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, dir: dir, ref: function (el) { return _this.wrapper = el; } },
218
- React.createElement(Button, { size: this.props.size, shape: this.props.shape, rounded: this.props.rounded, fillMode: this.props.fillMode, themeColor: this.props.themeColor, onClick: this.onClickMainButton, onMouseDown: this.mouseDown, disabled: disabled || undefined, tabIndex: tabIndex, accessKey: this.props.accessKey, icon: this.props.icon, iconClass: this.props.iconClass, className: this.props.buttonClass, imageUrl: this.props.imageUrl, dir: dir, ref: function (btn) { return _this.mainButton = btn && btn.element; }, type: "button", "aria-haspopup": true, "aria-expanded": this.opened || undefined, "aria-label": this.props.ariaLabel, "aria-controls": this.opened ? this.guid : undefined, id: 'button-' + this.guid, title: this.props.title }, this.props.text),
218
+ React.createElement(Button, { size: this.props.size, rounded: this.props.rounded, fillMode: this.props.fillMode, themeColor: this.props.themeColor, onClick: this.onClickMainButton, onMouseDown: this.mouseDown, disabled: disabled || undefined, tabIndex: tabIndex, accessKey: this.props.accessKey, icon: this.props.icon, svgIcon: this.props.svgIcon, iconClass: this.props.iconClass, className: this.props.buttonClass, imageUrl: this.props.imageUrl, dir: dir, ref: function (btn) { return _this.mainButton = btn && btn.element; }, type: "button", "aria-haspopup": true, "aria-expanded": this.opened || undefined, "aria-label": this.props.ariaLabel, "aria-controls": this.opened ? this.guid : undefined, id: 'button-' + this.guid, title: this.props.title }, this.props.text),
219
219
  this.renderPopup(rtl)));
220
220
  };
221
221
  /**
@@ -285,6 +285,7 @@ var DropDownButton = /** @class */ (function (_super) {
285
285
  tabIndex: PropTypes.number,
286
286
  disabled: PropTypes.bool,
287
287
  icon: PropTypes.string,
288
+ svgIcon: svgIconPropType,
288
289
  iconClass: PropTypes.string,
289
290
  imageUrl: PropTypes.string,
290
291
  popupSettings: PropTypes.object,
@@ -300,7 +301,6 @@ var DropDownButton = /** @class */ (function (_super) {
300
301
  DropDownButton.defaultProps = {
301
302
  size: 'medium',
302
303
  rounded: 'medium',
303
- shape: null,
304
304
  fillMode: 'solid',
305
305
  themeColor: 'base'
306
306
  };
@@ -48,6 +48,11 @@ export declare class SplitButton extends React.Component<SplitButtonProps, Split
48
48
  tabIndex: PropTypes.Requireable<number>;
49
49
  disabled: PropTypes.Requireable<boolean>;
50
50
  icon: PropTypes.Requireable<string>;
51
+ svgIcon: PropTypes.Requireable<PropTypes.InferProps<{
52
+ name: PropTypes.Validator<string>;
53
+ content: PropTypes.Validator<string>;
54
+ viewBox: PropTypes.Validator<string>;
55
+ }>>;
51
56
  iconClass: PropTypes.Requireable<string>;
52
57
  imageUrl: PropTypes.Requireable<string>;
53
58
  popupSettings: PropTypes.Requireable<object>;
@@ -63,7 +68,6 @@ export declare class SplitButton extends React.Component<SplitButtonProps, Split
63
68
  static defaultProps: {
64
69
  size: string;
65
70
  rounded: string;
66
- shape: null;
67
71
  fillMode: string;
68
72
  themeColor: string;
69
73
  };
@@ -16,7 +16,7 @@ var __extends = (this && this.__extends) || (function () {
16
16
  import * as React from 'react';
17
17
  import * as PropTypes from 'prop-types';
18
18
  import { Button } from './../main';
19
- import { classNames, guid, kendoThemeMaps, Keys } from '@progress/kendo-react-common';
19
+ import { classNames, guid, kendoThemeMaps, Keys, svgIconPropType } from '@progress/kendo-react-common';
20
20
  import { dispatchEvent } from '@progress/kendo-react-common';
21
21
  import { ButtonItem } from './ButtonItem';
22
22
  import { SplitButtonItem } from './SplitButtonItem';
@@ -25,6 +25,7 @@ import { Popup } from '@progress/kendo-react-popup';
25
25
  import { getAnchorAlign, getPopupAlign } from './utils/popup';
26
26
  import { validatePackage } from '@progress/kendo-react-common';
27
27
  import { packageMetadata } from '../package-metadata';
28
+ import { caretAltDownIcon } from '@progress/kendo-svg-icons';
28
29
  /**
29
30
  * Represents the [KendoReact SplitButton component]({% slug overview_splitbutton %}).
30
31
  *
@@ -220,8 +221,8 @@ var SplitButton = /** @class */ (function (_super) {
220
221
  return (React.createElement("div", { id: id, style: style, className: classNames('k-split-button', 'k-button-group', {
221
222
  'k-focus': this.state.focused
222
223
  }, "k-rounded-".concat(kendoThemeMaps.roundedMap[this.props.rounded || 'medium']), this.props.className), onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, dir: dir, ref: function (el) { return _this.wrapper = el; } },
223
- React.createElement(Button, { ref: function (el) { return _this.mainButton = el && el.element; }, type: "button", size: this.props.size, rounded: this.props.rounded, fillMode: this.props.fillMode, themeColor: this.props.themeColor, onClick: function (event) { return _this.onItemClick(event, -1); }, disabled: disabled || undefined, tabIndex: tabIndex, accessKey: this.props.accessKey, className: this.props.buttonClass, icon: this.props.icon, iconClass: this.props.iconClass, imageUrl: this.props.imageUrl, dir: dir, "aria-disabled": disabled, "aria-haspopup": true, "aria-expanded": this.opened || undefined, "aria-label": this.props.ariaLabel, "aria-controls": this.opened ? this.guid : undefined, id: 'button-' + this.guid, title: this.props.title }, this.props.text),
224
- React.createElement(Button, { type: "button", size: this.props.size, rounded: this.props.rounded, fillMode: this.props.fillMode, themeColor: this.props.themeColor, icon: "caret-alt-down", className: "k-split-button-arrow", disabled: disabled || undefined, tabIndex: -1, onClick: this.onSplitPartClick, onMouseDown: this.onDownSplitPart, onPointerDown: this.onDownSplitPart, dir: dir, "aria-label": "menu toggling button" }),
224
+ React.createElement(Button, { ref: function (el) { return _this.mainButton = el && el.element; }, type: "button", size: this.props.size, rounded: this.props.rounded, fillMode: this.props.fillMode, themeColor: this.props.themeColor, onClick: function (event) { return _this.onItemClick(event, -1); }, disabled: disabled || undefined, tabIndex: tabIndex, accessKey: this.props.accessKey, className: this.props.buttonClass, icon: this.props.icon, svgIcon: this.props.svgIcon, iconClass: this.props.iconClass, imageUrl: this.props.imageUrl, dir: dir, "aria-disabled": disabled, "aria-haspopup": true, "aria-expanded": this.opened || undefined, "aria-label": this.props.ariaLabel, "aria-controls": this.opened ? this.guid : undefined, id: 'button-' + this.guid, title: this.props.title }, this.props.text),
225
+ React.createElement(Button, { type: "button", size: this.props.size, rounded: this.props.rounded, fillMode: this.props.fillMode, themeColor: this.props.themeColor, icon: "caret-alt-down", svgIcon: caretAltDownIcon, className: "k-split-button-arrow", disabled: disabled || undefined, tabIndex: -1, onClick: this.onSplitPartClick, onMouseDown: this.onDownSplitPart, onPointerDown: this.onDownSplitPart, dir: dir, "aria-label": "menu toggling button" }),
225
226
  this.renderPopup(rtl)));
226
227
  };
227
228
  /**
@@ -298,6 +299,7 @@ var SplitButton = /** @class */ (function (_super) {
298
299
  tabIndex: PropTypes.number,
299
300
  disabled: PropTypes.bool,
300
301
  icon: PropTypes.string,
302
+ svgIcon: svgIconPropType,
301
303
  iconClass: PropTypes.string,
302
304
  imageUrl: PropTypes.string,
303
305
  popupSettings: PropTypes.object,
@@ -313,7 +315,6 @@ var SplitButton = /** @class */ (function (_super) {
313
315
  SplitButton.defaultProps = {
314
316
  size: 'medium',
315
317
  rounded: 'medium',
316
- shape: null,
317
318
  fillMode: 'solid',
318
319
  themeColor: 'base'
319
320
  };
@@ -1,3 +1,4 @@
1
+ import { SVGIcon } from '@progress/kendo-react-common';
1
2
  /**
2
3
  * The interface for describing items that can be passed to the `items` property of the SplitButton or the DropDownButton as an alternative to passing them as children.
3
4
  */
@@ -10,6 +11,10 @@ export interface ButtonItem {
10
11
  * Defines an icon that will be rendered next to the item text.
11
12
  */
12
13
  icon?: string;
14
+ /**
15
+ * Defines an SVG icon that will be rendered next to the item text.
16
+ */
17
+ svgIcon?: SVGIcon;
13
18
  /**
14
19
  * Defines an icon with a custom CSS class that will be rendered next to the item text.
15
20
  */
@@ -1,2 +1,3 @@
1
+ /* eslint-disable max-len */
1
2
  export {};
2
3
  // tslint:enable:max-line-length
@@ -2,7 +2,7 @@
2
2
  import { ButtonsPopupSettings } from './PopupSettings';
3
3
  import { SplitButtonClickEvent, SplitButtonItemClickEvent, SplitButtonFocusEvent, SplitButtonBlurEvent, SplitButtonOpenEvent, SplitButtonCloseEvent, DropDownButtonItemClickEvent, DropDownButtonFocusEvent, DropDownButtonBlurEvent, DropDownButtonOpenEvent, DropDownButtonCloseEvent } from './events';
4
4
  import { ButtonItemProps } from '../ButtonItem';
5
- import { KendoReactComponentBaseProps } from '@progress/kendo-react-common';
5
+ import { KendoReactComponentBaseProps, SVGIcon } from '@progress/kendo-react-common';
6
6
  export interface DropDownButtonProps extends KendoReactComponentBaseProps {
7
7
  /**
8
8
  * Specifies the `accessKey` of the main button.
@@ -44,6 +44,10 @@ export interface DropDownButtonProps extends KendoReactComponentBaseProps {
44
44
  * Defines an icon that will be rendered next to the main button text ([see example]({% slug icons_dropdownbutton %})).
45
45
  */
46
46
  icon?: string;
47
+ /**
48
+ * Defines a SVG icon that will be rendered next to the main button text ([see example]({% slug icons_dropdownbutton %})).
49
+ */
50
+ svgIcon?: SVGIcon;
47
51
  /**
48
52
  * Defines an icon with a custom CSS class that will be rendered next to the main button text ([see example]({% slug icons_dropdownbutton %})).
49
53
  */
@@ -116,19 +120,6 @@ export interface DropDownButtonProps extends KendoReactComponentBaseProps {
116
120
  * @default `medium`
117
121
  */
118
122
  size?: null | 'small' | 'medium' | 'large';
119
- /**
120
- * Configures the `shape` of the DropDownButton.
121
- *
122
- * The available options are:
123
- * - rectangle
124
- * - square
125
- * - null&mdash;Does not set a shape `className`.
126
- *
127
- * @default `null`
128
- *
129
- * @deprecated The `shape` property will be deprecated with version `^6` of the `@progress/kendo-react-buttons` package.
130
- */
131
- shape?: null | 'rectangle' | 'square';
132
123
  /**
133
124
  * Configures the `roundness` of the DropDownButton.
134
125
  *
@@ -212,6 +203,10 @@ export interface SplitButtonProps extends KendoReactComponentBaseProps {
212
203
  * Defines an icon that will be rendered next to the main button text ([see example]({% slug icons_splitbutton %})).
213
204
  */
214
205
  icon?: string;
206
+ /**
207
+ * Defines a SVG icon that will be rendered next to the main button text ([see example]({% slug icons_splitbutton %})).
208
+ */
209
+ svgIcon?: SVGIcon;
215
210
  /**
216
211
  * Defines an icon with a custom CSS class that will be rendered next to the main button text ([see example]({% slug icons_splitbutton %})).
217
212
  */
package/dist/es/main.d.ts CHANGED
@@ -26,8 +26,7 @@ export * from './FloatingActionButton/models/events';
26
26
  import { FloatingActionButtonAlign } from './FloatingActionButton/models/align';
27
27
  import { FloatingActionButtonAlignOffset } from './FloatingActionButton/models/align-offset';
28
28
  import { FloatingActionButtonPositionMode } from './FloatingActionButton/models/position-mode';
29
- import { FloatingActionButtonShape } from './FloatingActionButton/models/shape';
30
29
  import { FloatingActionButtonSize } from './FloatingActionButton/models/size';
31
30
  import { FloatingActionButtonRounded } from './FloatingActionButton/models/rounded';
32
31
  import { FloatingActionButtonThemeColor } from './FloatingActionButton/models/theme-color';
33
- export { Toolbar, ToolbarProps, ToolbarItem, ToolbarItemProps, ToolbarSeparator, ToolbarResizeEvent, ToolbarSpacer, ToolbarSpacerProps, toolbarButtons, Button, ButtonProps, ButtonGroup, ButtonGroupProps, SplitButton, SplitButtonItem, SplitButtonItemProps, DropDownButton, DropDownButtonProps, DropDownButtonItem, DropDownButtonItemProps, ButtonItem, ButtonItemProps, SplitButtonFocusEvent, SplitButtonBlurEvent, SplitButtonClickEvent, SplitButtonOpenEvent, SplitButtonCloseEvent, SplitButtonItemClickEvent, DropDownButtonFocusEvent, DropDownButtonBlurEvent, DropDownButtonOpenEvent, DropDownButtonCloseEvent, DropDownButtonItemClickEvent, ButtonsPopupSettings, Chip, ChipProps, ChipHandle, ChipRemoveEvent, ChipMouseEvent, ChipKeyboardEvent, ChipFocusEvent, ChipList, ChipListProps, ChipListHandle, ChipListDataChangeEvent, ChipListChangeEvent, FloatingActionButton, FloatingActionButtonProps, FloatingActionButtonHandle, FloatingActionButtonItem, FloatingActionButtonItemHandle, FloatingActionButtonItemProps, FloatingActionButtonPopupSettings, FloatingActionButtonAlign, FloatingActionButtonAlignOffset, FloatingActionButtonPositionMode, FloatingActionButtonSize, FloatingActionButtonShape, FloatingActionButtonRounded, FloatingActionButtonThemeColor };
32
+ export { Toolbar, ToolbarProps, ToolbarItem, ToolbarItemProps, ToolbarSeparator, ToolbarResizeEvent, ToolbarSpacer, ToolbarSpacerProps, toolbarButtons, Button, ButtonProps, ButtonGroup, ButtonGroupProps, SplitButton, SplitButtonItem, SplitButtonItemProps, DropDownButton, DropDownButtonProps, DropDownButtonItem, DropDownButtonItemProps, ButtonItem, ButtonItemProps, SplitButtonFocusEvent, SplitButtonBlurEvent, SplitButtonClickEvent, SplitButtonOpenEvent, SplitButtonCloseEvent, SplitButtonItemClickEvent, DropDownButtonFocusEvent, DropDownButtonBlurEvent, DropDownButtonOpenEvent, DropDownButtonCloseEvent, DropDownButtonItemClickEvent, ButtonsPopupSettings, Chip, ChipProps, ChipHandle, ChipRemoveEvent, ChipMouseEvent, ChipKeyboardEvent, ChipFocusEvent, ChipList, ChipListProps, ChipListHandle, ChipListDataChangeEvent, ChipListChangeEvent, FloatingActionButton, FloatingActionButtonProps, FloatingActionButtonHandle, FloatingActionButtonItem, FloatingActionButtonItemHandle, FloatingActionButtonItemProps, FloatingActionButtonPopupSettings, FloatingActionButtonAlign, FloatingActionButtonAlignOffset, FloatingActionButtonPositionMode, FloatingActionButtonSize, FloatingActionButtonRounded, FloatingActionButtonThemeColor };
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-buttons',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1673258873,
8
+ publishDate: 1673444453,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
11
11
  };