@progress/kendo-react-inputs 9.4.0-develop.24 → 9.4.0-develop.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.txt +51 -40
- package/checkbox/Checkbox.js +1 -1
- package/checkbox/Checkbox.mjs +1 -0
- package/colors/ColorContrastLabels.js +1 -1
- package/colors/ColorContrastLabels.mjs +3 -2
- package/colors/ColorContrastSvg.js +1 -1
- package/colors/ColorContrastSvg.mjs +12 -11
- package/colors/ColorGradient.js +1 -1
- package/colors/ColorGradient.mjs +75 -85
- package/colors/ColorInput.js +1 -1
- package/colors/ColorInput.mjs +45 -55
- package/colors/ColorPalette.js +1 -1
- package/colors/ColorPalette.mjs +47 -55
- package/colors/ColorPicker.js +1 -1
- package/colors/ColorPicker.mjs +184 -327
- package/colors/FlatColorPicker.js +1 -1
- package/colors/FlatColorPicker.mjs +157 -246
- package/colors/HexInput.js +1 -1
- package/colors/HexInput.mjs +9 -10
- package/colors/Picker.js +1 -1
- package/colors/Picker.mjs +21 -20
- package/colors/models/palette-presets.js +1 -1
- package/colors/models/palette-presets.mjs +2 -1
- package/colors/utils/color-cache.js +1 -1
- package/colors/utils/color-cache.mjs +13 -12
- package/colors/utils/color-palette.service.js +1 -1
- package/colors/utils/color-palette.service.mjs +1 -0
- package/colors/utils/color-parser.js +1 -1
- package/colors/utils/color-parser.mjs +6 -5
- package/colors/utils/misc.js +1 -1
- package/colors/utils/misc.mjs +1 -0
- package/colors/utils/svg-calc.js +1 -1
- package/colors/utils/svg-calc.mjs +10 -9
- package/dist/cdn/js/kendo-react-inputs.js +1 -8
- package/index.d.mts +10 -126
- package/index.d.ts +10 -126
- package/index.js +1 -2
- package/index.mjs +4 -4
- package/input/Input.js +1 -1
- package/input/Input.mjs +9 -8
- package/input/InputClearValue.js +1 -1
- package/input/InputClearValue.mjs +4 -3
- package/input/InputPrefix.js +1 -1
- package/input/InputPrefix.mjs +5 -4
- package/input/InputSeparator.js +1 -1
- package/input/InputSeparator.mjs +9 -8
- package/input/InputSuffix.js +1 -1
- package/input/InputSuffix.mjs +5 -4
- package/input/InputValidationIcon.js +1 -1
- package/input/InputValidationIcon.mjs +4 -3
- package/maskedtextbox/MaskedTextBox.js +1 -1
- package/maskedtextbox/MaskedTextBox.mjs +1 -0
- package/maskedtextbox/masking.service.js +1 -1
- package/maskedtextbox/masking.service.mjs +1 -0
- package/maskedtextbox/parsing/combinators.js +1 -1
- package/maskedtextbox/parsing/combinators.mjs +9 -8
- package/maskedtextbox/parsing/parsers.js +1 -1
- package/maskedtextbox/parsing/parsers.mjs +1 -0
- package/maskedtextbox/parsing/result.js +1 -1
- package/maskedtextbox/parsing/result.mjs +8 -7
- package/maskedtextbox/parsing/stream.js +1 -1
- package/maskedtextbox/parsing/stream.mjs +1 -0
- package/maskedtextbox/utils.js +1 -1
- package/maskedtextbox/utils.mjs +12 -11
- package/messages/index.js +1 -1
- package/messages/index.mjs +38 -39
- package/numerictextbox/NumericTextBox.js +1 -1
- package/numerictextbox/NumericTextBox.mjs +1 -0
- package/numerictextbox/utils/index.js +1 -1
- package/numerictextbox/utils/index.mjs +1 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +3 -2
- package/package.json +10 -10
- package/radiobutton/RadioButton.js +1 -1
- package/radiobutton/RadioButton.mjs +1 -0
- package/radiobutton/RadioGroup.js +1 -1
- package/radiobutton/RadioGroup.mjs +1 -0
- package/range-slider/RangeSlider.js +1 -1
- package/range-slider/RangeSlider.mjs +1 -0
- package/range-slider/range-raducer.js +1 -1
- package/range-slider/range-raducer.mjs +3 -2
- package/rating/Rating.js +1 -1
- package/rating/Rating.mjs +1 -0
- package/rating/RatingItem.js +1 -1
- package/rating/RatingItem.mjs +1 -0
- package/rating/rating-reducer.js +1 -1
- package/rating/rating-reducer.mjs +1 -0
- package/rating/utils/index.js +1 -1
- package/rating/utils/index.mjs +1 -0
- package/signature/Signature.js +1 -1
- package/signature/Signature.mjs +1 -0
- package/signature/utils/index.js +1 -1
- package/signature/utils/index.mjs +4 -3
- package/slider/Slider.js +1 -1
- package/slider/Slider.mjs +1 -0
- package/slider/SliderLabel.js +1 -1
- package/slider/SliderLabel.mjs +4 -3
- package/switch/Switch.js +1 -1
- package/switch/Switch.mjs +1 -0
- package/textarea/TextArea.js +1 -1
- package/textarea/TextArea.mjs +1 -0
- package/textbox/Textbox.js +1 -1
- package/textbox/Textbox.mjs +8 -7
- package/common/AdaptiveMode.js +0 -8
- package/common/AdaptiveMode.mjs +0 -73
package/colors/ColorPalette.mjs
CHANGED
|
@@ -5,33 +5,34 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
+
"use client";
|
|
8
9
|
import * as i from "react";
|
|
9
10
|
import s from "prop-types";
|
|
10
|
-
import { ColorPaletteService as
|
|
11
|
-
import { KEYS as
|
|
12
|
-
import { packageMetadata as
|
|
13
|
-
import { PALETTEPRESETS as
|
|
14
|
-
import { isPresent as
|
|
15
|
-
import { parseColor as
|
|
16
|
-
const
|
|
11
|
+
import { ColorPaletteService as E } from "./utils/color-palette.service.mjs";
|
|
12
|
+
import { KEYS as a, validatePackage as k, classNames as C, getTabIndex as R, dispatchEvent as F, createPropsContext as N, withIdHOC as P, withPropsContext as T } from "@progress/kendo-react-common";
|
|
13
|
+
import { packageMetadata as I } from "../package-metadata.mjs";
|
|
14
|
+
import { PALETTEPRESETS as D } from "./models/palette-presets.mjs";
|
|
15
|
+
import { isPresent as L } from "./utils/misc.mjs";
|
|
16
|
+
import { parseColor as U } from "./utils/color-parser.mjs";
|
|
17
|
+
const x = 24, m = 10, z = "office", n = class n extends i.Component {
|
|
17
18
|
constructor(t) {
|
|
18
19
|
super(t), this.wrapperRef = i.createRef(), this.paletteService = null, this.focus = () => {
|
|
19
20
|
this.wrapperRef && this.wrapperRef.current && this.wrapperRef.current.focus();
|
|
20
21
|
}, this.onKeyDown = (e) => {
|
|
21
22
|
switch (e.key) {
|
|
22
|
-
case
|
|
23
|
+
case a.down:
|
|
23
24
|
this.handleCellNavigation(0, 1);
|
|
24
25
|
break;
|
|
25
|
-
case
|
|
26
|
+
case a.up:
|
|
26
27
|
this.handleCellNavigation(0, -1);
|
|
27
28
|
break;
|
|
28
|
-
case
|
|
29
|
+
case a.right:
|
|
29
30
|
this.handleCellNavigation(1, 0);
|
|
30
31
|
break;
|
|
31
|
-
case
|
|
32
|
+
case a.left:
|
|
32
33
|
this.handleCellNavigation(-1, 0);
|
|
33
34
|
break;
|
|
34
|
-
case
|
|
35
|
+
case a.enter:
|
|
35
36
|
this.handleEnter(e);
|
|
36
37
|
break;
|
|
37
38
|
default:
|
|
@@ -44,7 +45,7 @@ const z = 24, f = 10, L = "office", a = class a extends i.Component {
|
|
|
44
45
|
this.paletteService && (this.setState({ focusedColor: this.state.selectedColor || this.paletteService.colorRows[0][0] }), this.props.onFocus && this.props.onFocus.call(void 0, e));
|
|
45
46
|
}, this.onBlur = () => {
|
|
46
47
|
this.setState({ focusedColor: void 0 });
|
|
47
|
-
},
|
|
48
|
+
}, k(I), this.state = {
|
|
48
49
|
selectedColor: this.props.value !== void 0 ? this.props.value : this.props.defaultValue ? this.props.defaultValue : void 0,
|
|
49
50
|
isFirstRender: !0
|
|
50
51
|
};
|
|
@@ -56,29 +57,22 @@ const z = 24, f = 10, L = "office", a = class a extends i.Component {
|
|
|
56
57
|
* @hidden
|
|
57
58
|
*/
|
|
58
59
|
render() {
|
|
59
|
-
const t = this.getPaletteInfo(), e = this.paletteService = new
|
|
60
|
+
const t = this.getPaletteInfo(), e = this.paletteService = new E();
|
|
60
61
|
e.setColorMatrix(t.colors, t.columns);
|
|
61
|
-
const o = e.getCellCoordsFor(this.state.selectedColor), r = e.getCellCoordsFor(this.state.focusedColor);
|
|
62
|
+
const o = e.getCellCoordsFor(this.state.selectedColor), r = e.getCellCoordsFor(this.state.focusedColor), l = C("k-colorpalette", { "k-disabled": this.props.disabled }, this.props.className);
|
|
62
63
|
return t.colors.length ? /* @__PURE__ */ i.createElement(
|
|
63
64
|
"div",
|
|
64
65
|
{
|
|
65
66
|
id: this.props.id,
|
|
66
67
|
role: "grid",
|
|
67
|
-
className:
|
|
68
|
-
"k-colorpalette",
|
|
69
|
-
{
|
|
70
|
-
[`k-colorpalette-${E.sizeMap[this.props.size] || this.props.size}`]: this.props.size,
|
|
71
|
-
"k-disabled": this.props.disabled
|
|
72
|
-
},
|
|
73
|
-
this.props.className
|
|
74
|
-
),
|
|
68
|
+
className: l,
|
|
75
69
|
onFocus: this.onFocus,
|
|
76
70
|
onBlur: this.onBlur,
|
|
77
71
|
onKeyDown: this.onKeyDown,
|
|
78
72
|
"aria-disabled": this.props.ariaDisabled || (this.props.disabled ? "true" : void 0),
|
|
79
73
|
"aria-labelledby": this.props.ariaLabelledBy,
|
|
80
74
|
"aria-describedby": this.props.ariaDescribedBy,
|
|
81
|
-
tabIndex:
|
|
75
|
+
tabIndex: R(this.props.tabIndex, this.props.disabled),
|
|
82
76
|
ref: this.wrapperRef
|
|
83
77
|
},
|
|
84
78
|
/* @__PURE__ */ i.createElement("table", { className: "k-colorpalette-table", role: "presentation" }, /* @__PURE__ */ i.createElement("tbody", { role: "rowgroup" }, this.renderRows(e.colorRows, o, r)))
|
|
@@ -113,7 +107,7 @@ const z = 24, f = 10, L = "office", a = class a extends i.Component {
|
|
|
113
107
|
this.isUncontrolled && this.setState({ selectedColor: this.state.focusedColor }), this.dispatchChangeEvent(this.state.focusedColor, t);
|
|
114
108
|
}
|
|
115
109
|
dispatchChangeEvent(t, e) {
|
|
116
|
-
|
|
110
|
+
F(this.props.onChange, e, this, { value: t, rgbaValue: U(t, "rgba") });
|
|
117
111
|
}
|
|
118
112
|
get focusedColorCooridanates() {
|
|
119
113
|
return this.state.focusedColor && this.paletteService ? this.paletteService.getCellCoordsFor(this.state.focusedColor) : void 0;
|
|
@@ -123,33 +117,33 @@ const z = 24, f = 10, L = "office", a = class a extends i.Component {
|
|
|
123
117
|
}
|
|
124
118
|
getPaletteInfo() {
|
|
125
119
|
if (typeof this.props.palette == "string") {
|
|
126
|
-
const t =
|
|
127
|
-
return
|
|
120
|
+
const t = D[this.props.palette];
|
|
121
|
+
return L(t) ? {
|
|
128
122
|
colors: t.colors,
|
|
129
|
-
columns: this.props.columns || t.columns ||
|
|
123
|
+
columns: this.props.columns || t.columns || m
|
|
130
124
|
} : { colors: [], columns: 0 };
|
|
131
125
|
}
|
|
132
|
-
return { colors: this.props.palette || [], columns: this.props.columns ||
|
|
126
|
+
return { colors: this.props.palette || [], columns: this.props.columns || m };
|
|
133
127
|
}
|
|
134
128
|
renderRows(t, e, o) {
|
|
135
|
-
return t.map((r,
|
|
129
|
+
return t.map((r, l) => /* @__PURE__ */ i.createElement("tr", { role: "row", key: l }, this.renderColumns(r, l, e, o)));
|
|
136
130
|
}
|
|
137
131
|
renderColumns(t, e, o, r) {
|
|
138
|
-
const
|
|
132
|
+
const l = o !== void 0 && o.row === e, g = o && o.col, v = r !== void 0 && r.row === e, b = r && r.col, h = typeof this.props.tileSize != "number" ? this.props.tileSize : { width: this.props.tileSize, height: this.props.tileSize }, u = h.width + "px", S = h.height + "px";
|
|
139
133
|
return t.map((d, c) => {
|
|
140
|
-
const
|
|
141
|
-
"k-selected":
|
|
142
|
-
"k-focus":
|
|
134
|
+
const f = l && g === c, w = C("k-colorpalette-tile", {
|
|
135
|
+
"k-selected": f,
|
|
136
|
+
"k-focus": v && b === c
|
|
143
137
|
});
|
|
144
138
|
return /* @__PURE__ */ i.createElement(
|
|
145
139
|
"td",
|
|
146
140
|
{
|
|
147
141
|
role: "gridcell",
|
|
148
|
-
className:
|
|
142
|
+
className: w,
|
|
149
143
|
"aria-label": d,
|
|
150
|
-
"aria-selected":
|
|
151
|
-
style: { backgroundColor: d },
|
|
152
|
-
onClick: (
|
|
144
|
+
"aria-selected": f ? !0 : this.props.disabled ? void 0 : !1,
|
|
145
|
+
style: { backgroundColor: d, width: u, height: S, minWidth: u },
|
|
146
|
+
onClick: (y) => this.onColorClick(d, y),
|
|
153
147
|
id: this.createCellId({ row: e, col: c }),
|
|
154
148
|
key: c
|
|
155
149
|
}
|
|
@@ -160,7 +154,7 @@ const z = 24, f = 10, L = "office", a = class a extends i.Component {
|
|
|
160
154
|
return `${this.guid}_${t.row}_${t.col}`;
|
|
161
155
|
}
|
|
162
156
|
};
|
|
163
|
-
|
|
157
|
+
n.displayName = "ColorPalette", n.propTypes = {
|
|
164
158
|
palette: s.oneOfType([s.arrayOf(s.string.isRequired), s.string]),
|
|
165
159
|
columns: s.number,
|
|
166
160
|
tileSize: s.any,
|
|
@@ -173,26 +167,24 @@ a.displayName = "ColorPalette", a.propTypes = {
|
|
|
173
167
|
id: s.string,
|
|
174
168
|
ariaLabelledBy: s.string,
|
|
175
169
|
ariaDescribedBy: s.string,
|
|
176
|
-
className: s.string
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
tileSize: z,
|
|
181
|
-
size: "medium"
|
|
170
|
+
className: s.string
|
|
171
|
+
}, n.defaultProps = {
|
|
172
|
+
palette: z,
|
|
173
|
+
tileSize: x
|
|
182
174
|
};
|
|
183
|
-
let p =
|
|
184
|
-
const
|
|
185
|
-
|
|
186
|
-
|
|
175
|
+
let p = n;
|
|
176
|
+
const B = N(), A = P(
|
|
177
|
+
T(
|
|
178
|
+
B,
|
|
187
179
|
p
|
|
188
180
|
)
|
|
189
181
|
);
|
|
190
|
-
|
|
182
|
+
A.displayName = "KendoReactColorPalette";
|
|
191
183
|
export {
|
|
192
|
-
|
|
193
|
-
|
|
184
|
+
A as ColorPalette,
|
|
185
|
+
B as ColorPalettePropsContext,
|
|
194
186
|
p as ColorPaletteWithoutContext,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
187
|
+
m as DEFAULT_COLUMNS_COUNT,
|
|
188
|
+
z as DEFAULT_PRESET,
|
|
189
|
+
x as DEFAULT_TILE_SIZE
|
|
198
190
|
};
|
package/colors/ColorPicker.js
CHANGED
|
@@ -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
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const fe=require("react"),r=require("prop-types"),o=require("@progress/kendo-react-common"),ke=require("../package-metadata.js"),me=require("./Picker.js"),ge=require("./ColorGradient.js"),M=require("./ColorPalette.js"),be=require("@progress/kendo-react-buttons"),ve=require("@progress/kendo-svg-icons"),F=require("../messages/index.js"),Ee=require("@progress/kendo-react-intl");function Ce(c){const m=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(c){for(const a in c)if(a!=="default"){const b=Object.getOwnPropertyDescriptor(c,a);Object.defineProperty(m,a,b.get?b:{enumerable:!0,get:()=>c[a]})}}return m.default=c,Object.freeze(m)}const e=Ce(fe),ye={opacity:!0},Pe={palette:M.DEFAULT_PRESET,tileSize:M.DEFAULT_TILE_SIZE},L=c=>c!==void 0,K=o.createPropsContext(),B=e.forwardRef((c,m)=>{o.validatePackage(ke.packageMetadata);const a=o.usePropsContext(K,c),b=Ee.useLocalization(),{size:P=k.size,rounded:T=k.rounded,fillMode:q=k.fillMode,gradientSettings:U=k.gradientSettings,paletteSettings:$=k.paletteSettings,view:u=k.view,popupSettings:W,valid:Z,disabled:w,tabIndex:J,icon:S,svgIcon:I,iconClassName:v,onChange:R,onFocus:D,onBlur:N,onActiveColorClick:h,className:Q}=a,l=e.useRef(null),g=e.useRef(null),E=e.useRef(null),f=e.useRef(),X=e.useRef(null),[Y,x]=e.useState(!1),[ee,te]=e.useState(a.defaultValue),[ne,oe]=e.useState(!1),A=L(a.value),d=L(a.open),i=A?a.value:ee,C=d?a.open:ne,_=e.useCallback(()=>{l.current&&l.current.focus()},[]);e.useImperativeHandle(m,()=>({element:l.current,actionElement:X.current,value:i,focus:_}),[i,_]);const p=e.useCallback((t,s)=>{d||(!t&&!s&&l&&l.current&&l.current.focus(),oe(t))},[d]),z=e.useMemo(()=>new o.Navigation({root:l,selectors:[".k-colorpicker",".k-color-picker-popup"],tabIndex:0,keyboardEvents:{keydown:{Escape:(t,s,n)=>{p(!1)},Enter:(t,s,n)=>{!d&&t===l.current&&(n.preventDefault(),n.stopPropagation(),p(!0))},ArrowDown:(t,s,n)=>{n.altKey&&(n.preventDefault(),n.stopPropagation(),p(!0))},ArrowUp:(t,s,n)=>{n.altKey&&(n.preventDefault(),n.stopPropagation(),p(!1))},Tab:(t,s,n)=>{var V,j;if(o.getActiveElement(document)!==l.current){const G=(V=E.current)==null?void 0:V.wrapperRef.current,y=(j=g.current)==null?void 0:j.wrapperRef.current;u==="palette"&&G?o.keepFocusInContainer(n,G):u==="gradient"&&y?o.keepFocusInContainer(n,y):u==="combo"&&y&&o.keepFocusInContainer(n,y.parentElement)}}}}}),[p,d]),ae=e.useCallback(z.triggerKeyboardEvent.bind(z),[]),re=e.useCallback(()=>{d||(g.current&&g.current.wrapperRef.current?o.focusFirstFocusableChild(g.current.wrapperRef.current):E.current&&E.current.focus())},[d]),le=e.useCallback(()=>{p(!C,!0)},[C]),ce=e.useCallback(t=>{h&&h.call(void 0,{syntheticEvent:t,nativeEvent:t.nativeEvent,value:i})},[h,i]),ie=e.useCallback(t=>{f.current?(clearTimeout(f.current),f.current=void 0):x(!0),D&&D.call(void 0,{nativeEvent:t.nativeEvent,syntheticEvent:t})},[D]),se=e.useCallback(()=>{p(!1,!0),x(!1),f.current=void 0},[]),ue=e.useCallback(t=>{clearTimeout(f.current),f.current=window.setTimeout(se),N&&N.call(void 0,{nativeEvent:t.nativeEvent,syntheticEvent:t})},[N]),O=e.useCallback((t,s)=>{const n=s?t.rgbaValue:t.value;A||te(n),R&&R.call(void 0,{value:n,nativeEvent:t.nativeEvent,syntheticEvent:t.syntheticEvent})},[A,R]),de=e.useCallback(t=>O(t,!0),[L,O]),H=o.useDir(l,a.dir),pe=Z!==!1;return e.createElement("span",{id:a.id,role:"combobox","aria-label":a.ariaLabel,"aria-labelledby":a.ariaLabelledBy,"aria-describedby":a.ariaDescribedBy,"aria-haspopup":"dialog","aria-expanded":C,"aria-disabled":w?"true":void 0,className:o.classNames("k-colorpicker","k-picker","k-icon-picker",{[`k-picker-${o.kendoThemeMaps.sizeMap[P]||P}`]:P,[`k-picker-${q}`]:q,[`k-rounded-${o.kendoThemeMaps.roundedMap[T]||T}`]:T,"k-invalid":!pe,"k-disabled":w,"k-focus":Y,className:Q}),ref:l,tabIndex:o.getTabIndex(J,w),title:a.title,onKeyDown:ae,onFocus:ie,onBlur:ue,dir:H},e.createElement(me.Picker,{dir:H,open:C,onOpen:re,popupAnchor:l.current||void 0,popupSettings:{...W},input:e.createElement("span",{onClick:ce,className:"k-input-inner"},e.createElement("span",{className:o.classNames("k-value-icon","k-color-preview",{"k-no-color":!i,"k-icon-color-preview":S||I||v})},v&&e.createElement("span",{className:o.classNames("k-color-preview-icon",v)}),!v&&(S||I)&&e.createElement(o.IconWrap,{name:S,icon:I}),e.createElement("span",{className:"k-color-preview-mask",style:{backgroundColor:i}}))),button:e.createElement(be.Button,{tabIndex:-1,type:"button",onClick:le,className:"k-input-button",rounded:null,icon:"caret-alt-down",svgIcon:ve.caretAltDownIcon,"aria-label":b.toLanguageString(F.colorPickerDropdownButtonAriaLabel,F.messages[F.colorPickerDropdownButtonAriaLabel])}),content:e.createElement(e.Fragment,null,(u==="combo"||u==="gradient")&&e.createElement(ge.ColorGradient,{...U,ref:g,isInsidePopup:!0,value:i,onChange:O}),(u==="combo"||u==="palette")&&e.createElement(M.ColorPalette,{...$,ref:E,value:i,onChange:de}))}))});B.propTypes={value:r.string,defaultValue:r.string,disabled:r.bool,view:r.oneOf(["gradient","palette","combo"]),dir:r.string,id:r.string,icon:r.string,svgIcon:o.svgIconPropType,ariaLabelledBy:r.string,ariaDescribedBy:r.string,size:r.oneOf([null,"small","medium","large"]),rounded:r.oneOf([null,"small","medium","large","full"]),fillMode:r.oneOf([null,"solid","flat","outline"]),className:r.string};const k={size:"medium",rounded:"medium",fillMode:"solid",view:"palette",gradientSettings:ye,paletteSettings:Pe};B.displayName="KendoColorPicker";exports.ColorPicker=B;exports.ColorPickerPropsContext=K;
|