@progress/kendo-react-common 8.3.0-develop.9 → 8.4.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.
- package/dist/cdn/js/kendo-react-common.js +1 -1
- package/icons/SvgIcon.js +1 -1
- package/icons/SvgIcon.mjs +67 -61
- package/index.d.mts +15 -0
- package/index.d.ts +15 -0
- package/index.js +1 -1
- package/index.mjs +86 -84
- package/package.json +1 -1
- package/unstyled/dateinputs.js +1 -1
- package/unstyled/dateinputs.mjs +37 -37
- package/unstyled/dropdowns.js +1 -1
- package/unstyled/dropdowns.mjs +277 -145
- package/unstyled/form.js +1 -1
- package/unstyled/form.mjs +21 -20
- package/unstyled/icons.js +1 -1
- package/unstyled/icons.mjs +51 -34
- package/unstyled/inputs.js +1 -1
- package/unstyled/inputs.mjs +146 -180
- package/unstyled/interfaces/common.js +1 -1
- package/unstyled/interfaces/common.mjs +1 -1
- package/unstyled/json-classes.js +1 -1
- package/unstyled/json-classes.mjs +27 -22
- package/unstyled/labels.js +1 -1
- package/unstyled/labels.mjs +67 -59
package/icons/SvgIcon.mjs
CHANGED
|
@@ -7,92 +7,98 @@
|
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
9
|
import * as t from "react";
|
|
10
|
-
import
|
|
11
|
-
import { classNames as
|
|
12
|
-
import { uSvgIcon as
|
|
13
|
-
import { useUnstyled as
|
|
14
|
-
const
|
|
10
|
+
import s from "prop-types";
|
|
11
|
+
import { classNames as w } from "../classNames.mjs";
|
|
12
|
+
import { uSvgIcon as x } from "../unstyled/icons.mjs";
|
|
13
|
+
import { useUnstyled as R } from "../unstyled/main.mjs";
|
|
14
|
+
const y = t.forwardRef((e, b) => {
|
|
15
15
|
const {
|
|
16
|
-
children:
|
|
16
|
+
children: z,
|
|
17
17
|
className: a,
|
|
18
|
-
svgClassName:
|
|
19
|
-
icon:
|
|
18
|
+
svgClassName: N,
|
|
19
|
+
icon: o,
|
|
20
20
|
flip: c,
|
|
21
|
-
id:
|
|
22
|
-
tabIndex:
|
|
21
|
+
id: p,
|
|
22
|
+
tabIndex: I,
|
|
23
23
|
size: h,
|
|
24
|
-
style:
|
|
25
|
-
svgStyle:
|
|
26
|
-
themeColor:
|
|
27
|
-
viewBox:
|
|
24
|
+
style: l,
|
|
25
|
+
svgStyle: M,
|
|
26
|
+
themeColor: r,
|
|
27
|
+
viewBox: m,
|
|
28
28
|
name: O,
|
|
29
29
|
onClick: S,
|
|
30
|
-
...
|
|
31
|
-
} = e,
|
|
30
|
+
...B
|
|
31
|
+
} = e, d = t.useRef(null), f = R(), u = f && f.uSvgIcon;
|
|
32
32
|
t.useImperativeHandle(
|
|
33
|
-
|
|
33
|
+
b,
|
|
34
34
|
() => ({
|
|
35
|
-
element:
|
|
35
|
+
element: d.current
|
|
36
36
|
})
|
|
37
37
|
);
|
|
38
|
-
const
|
|
39
|
-
() =>
|
|
40
|
-
[
|
|
41
|
-
),
|
|
42
|
-
() => h ||
|
|
38
|
+
const g = t.useMemo(
|
|
39
|
+
() => o ? o.name : n.icon,
|
|
40
|
+
[o]
|
|
41
|
+
), v = t.useMemo(
|
|
42
|
+
() => h || n.size,
|
|
43
43
|
[h]
|
|
44
|
-
),
|
|
45
|
-
() => c ||
|
|
44
|
+
), i = t.useMemo(
|
|
45
|
+
() => c || n.flip,
|
|
46
46
|
[c]
|
|
47
|
-
), p = t.useMemo(
|
|
48
|
-
() => d || l.viewBox,
|
|
49
|
-
[d]
|
|
50
|
-
), B = t.useMemo(
|
|
51
|
-
() => P(M.wrapper({
|
|
52
|
-
iconNameProp: f,
|
|
53
|
-
themeColor: m,
|
|
54
|
-
flipH: s === "horizontal" || s === "both",
|
|
55
|
-
flipV: s === "vertical" || s === "both",
|
|
56
|
-
size: g
|
|
57
|
-
}), a),
|
|
58
|
-
[f, m, g, s, a]
|
|
59
47
|
), C = t.useMemo(
|
|
60
|
-
() =>
|
|
61
|
-
[
|
|
48
|
+
() => m || n.viewBox,
|
|
49
|
+
[m]
|
|
50
|
+
), P = t.useMemo(
|
|
51
|
+
() => w(x.wrapper({
|
|
52
|
+
c: u,
|
|
53
|
+
iconNameProp: g,
|
|
54
|
+
themeColor: r,
|
|
55
|
+
flipH: i === "horizontal" || i === "both",
|
|
56
|
+
flipV: i === "vertical" || i === "both",
|
|
57
|
+
size: v
|
|
58
|
+
}), a),
|
|
59
|
+
[g, r, v, i, a]
|
|
60
|
+
), H = t.useMemo(
|
|
61
|
+
() => e.width && e.height ? { width: e.width, height: e.height, ...l } : e.width ? { width: e.width, height: e.width, ...l } : e.height ? { width: e.height, height: e.height, ...l } : { ...l },
|
|
62
|
+
[e.width, e.height, l]
|
|
62
63
|
);
|
|
63
64
|
return /* @__PURE__ */ t.createElement(
|
|
64
65
|
"span",
|
|
65
66
|
{
|
|
66
|
-
className:
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
className: w(x.svg({
|
|
68
|
+
c: u,
|
|
69
|
+
themeColor: r,
|
|
70
|
+
flipH: i === "horizontal" || i === "both",
|
|
71
|
+
flipV: i === "vertical" || i === "both"
|
|
72
|
+
}), P),
|
|
73
|
+
style: H,
|
|
74
|
+
ref: d,
|
|
69
75
|
onClick: S,
|
|
70
76
|
"aria-hidden": !0
|
|
71
77
|
},
|
|
72
78
|
/* @__PURE__ */ t.createElement(
|
|
73
79
|
"svg",
|
|
74
80
|
{
|
|
75
|
-
id:
|
|
76
|
-
className:
|
|
77
|
-
style:
|
|
81
|
+
id: p,
|
|
82
|
+
className: N,
|
|
83
|
+
style: M,
|
|
78
84
|
"aria-hidden": !0,
|
|
79
|
-
tabIndex:
|
|
85
|
+
tabIndex: I,
|
|
80
86
|
focusable: !1,
|
|
81
87
|
xmlns: "http://www.w3.org/2000/svg",
|
|
82
|
-
viewBox:
|
|
83
|
-
dangerouslySetInnerHTML:
|
|
84
|
-
...
|
|
88
|
+
viewBox: o ? o.viewBox : C,
|
|
89
|
+
dangerouslySetInnerHTML: o ? { __html: o.content } : void 0,
|
|
90
|
+
...B
|
|
85
91
|
},
|
|
86
|
-
|
|
92
|
+
o ? void 0 : z
|
|
87
93
|
)
|
|
88
94
|
);
|
|
89
95
|
});
|
|
90
|
-
|
|
91
|
-
style:
|
|
92
|
-
classNames:
|
|
93
|
-
children:
|
|
94
|
-
icon:
|
|
95
|
-
themeColor:
|
|
96
|
+
y.propTypes = {
|
|
97
|
+
style: s.object,
|
|
98
|
+
classNames: s.string,
|
|
99
|
+
children: s.any,
|
|
100
|
+
icon: s.object,
|
|
101
|
+
themeColor: s.oneOf([
|
|
96
102
|
"inherit",
|
|
97
103
|
"primary",
|
|
98
104
|
"secondary",
|
|
@@ -105,16 +111,16 @@ v.propTypes = {
|
|
|
105
111
|
"light",
|
|
106
112
|
"inverse"
|
|
107
113
|
]),
|
|
108
|
-
size:
|
|
109
|
-
flip:
|
|
114
|
+
size: s.oneOf(["default", "xsmall", "small", "medium", "large", "xlarge", "xxlarge", "xxxlarge"]),
|
|
115
|
+
flip: s.oneOf(["default", "horizontal", "vertical", "both"])
|
|
110
116
|
};
|
|
111
|
-
const
|
|
117
|
+
const n = {
|
|
112
118
|
size: "default",
|
|
113
119
|
flip: "default",
|
|
114
120
|
icon: "",
|
|
115
121
|
viewBox: "0 0 24 24"
|
|
116
122
|
};
|
|
117
|
-
|
|
123
|
+
y.displayName = "KendoSvgIcon";
|
|
118
124
|
export {
|
|
119
|
-
|
|
125
|
+
y as SvgIcon
|
|
120
126
|
};
|
package/index.d.mts
CHANGED
|
@@ -124,7 +124,9 @@ export declare const base: {
|
|
|
124
124
|
infinite: string;
|
|
125
125
|
clear: string;
|
|
126
126
|
reset: string;
|
|
127
|
+
data: string;
|
|
127
128
|
nodata: string;
|
|
129
|
+
scroller: string;
|
|
128
130
|
};
|
|
129
131
|
|
|
130
132
|
/** @hidden */
|
|
@@ -328,6 +330,11 @@ export declare interface CollectionAction<T> {
|
|
|
328
330
|
item: T;
|
|
329
331
|
}
|
|
330
332
|
|
|
333
|
+
/**
|
|
334
|
+
* @hidden
|
|
335
|
+
*/
|
|
336
|
+
export declare const comboBoxPrefix: string;
|
|
337
|
+
|
|
331
338
|
/**
|
|
332
339
|
* @hidden
|
|
333
340
|
*/
|
|
@@ -339,6 +346,7 @@ export declare const components: {
|
|
|
339
346
|
datetime: string;
|
|
340
347
|
datetimepicker: string;
|
|
341
348
|
dropdownlist: string;
|
|
349
|
+
combobox: string;
|
|
342
350
|
maskedtextbox: string;
|
|
343
351
|
menu: string;
|
|
344
352
|
searchbox: string;
|
|
@@ -644,6 +652,7 @@ export declare interface DropDownsClassStructure {
|
|
|
644
652
|
uDropDownsActionSheet?: WidgetClassStructure;
|
|
645
653
|
uDropDownsBase?: WidgetClassStructure;
|
|
646
654
|
uDropDownList?: WidgetClassStructure;
|
|
655
|
+
uComboBox?: WidgetClassStructure;
|
|
647
656
|
}
|
|
648
657
|
|
|
649
658
|
/**
|
|
@@ -741,6 +750,7 @@ export declare const elements: {
|
|
|
741
750
|
footer: string;
|
|
742
751
|
icon: string;
|
|
743
752
|
title: string;
|
|
753
|
+
subtitle: string;
|
|
744
754
|
link: string;
|
|
745
755
|
label: string;
|
|
746
756
|
ul: string;
|
|
@@ -2240,6 +2250,11 @@ export declare const uButton: WidgetClassStructure;
|
|
|
2240
2250
|
*/
|
|
2241
2251
|
export declare const uCalendar: WidgetClassStructure;
|
|
2242
2252
|
|
|
2253
|
+
/**
|
|
2254
|
+
* @hidden
|
|
2255
|
+
*/
|
|
2256
|
+
export declare const uComboBox: WidgetClassStructure;
|
|
2257
|
+
|
|
2243
2258
|
/**
|
|
2244
2259
|
* @hidden
|
|
2245
2260
|
*/
|
package/index.d.ts
CHANGED
|
@@ -124,7 +124,9 @@ export declare const base: {
|
|
|
124
124
|
infinite: string;
|
|
125
125
|
clear: string;
|
|
126
126
|
reset: string;
|
|
127
|
+
data: string;
|
|
127
128
|
nodata: string;
|
|
129
|
+
scroller: string;
|
|
128
130
|
};
|
|
129
131
|
|
|
130
132
|
/** @hidden */
|
|
@@ -328,6 +330,11 @@ export declare interface CollectionAction<T> {
|
|
|
328
330
|
item: T;
|
|
329
331
|
}
|
|
330
332
|
|
|
333
|
+
/**
|
|
334
|
+
* @hidden
|
|
335
|
+
*/
|
|
336
|
+
export declare const comboBoxPrefix: string;
|
|
337
|
+
|
|
331
338
|
/**
|
|
332
339
|
* @hidden
|
|
333
340
|
*/
|
|
@@ -339,6 +346,7 @@ export declare const components: {
|
|
|
339
346
|
datetime: string;
|
|
340
347
|
datetimepicker: string;
|
|
341
348
|
dropdownlist: string;
|
|
349
|
+
combobox: string;
|
|
342
350
|
maskedtextbox: string;
|
|
343
351
|
menu: string;
|
|
344
352
|
searchbox: string;
|
|
@@ -644,6 +652,7 @@ export declare interface DropDownsClassStructure {
|
|
|
644
652
|
uDropDownsActionSheet?: WidgetClassStructure;
|
|
645
653
|
uDropDownsBase?: WidgetClassStructure;
|
|
646
654
|
uDropDownList?: WidgetClassStructure;
|
|
655
|
+
uComboBox?: WidgetClassStructure;
|
|
647
656
|
}
|
|
648
657
|
|
|
649
658
|
/**
|
|
@@ -741,6 +750,7 @@ export declare const elements: {
|
|
|
741
750
|
footer: string;
|
|
742
751
|
icon: string;
|
|
743
752
|
title: string;
|
|
753
|
+
subtitle: string;
|
|
744
754
|
link: string;
|
|
745
755
|
label: string;
|
|
746
756
|
ul: string;
|
|
@@ -2240,6 +2250,11 @@ export declare const uButton: WidgetClassStructure;
|
|
|
2240
2250
|
*/
|
|
2241
2251
|
export declare const uCalendar: WidgetClassStructure;
|
|
2242
2252
|
|
|
2253
|
+
/**
|
|
2254
|
+
* @hidden
|
|
2255
|
+
*/
|
|
2256
|
+
export declare const uComboBox: WidgetClassStructure;
|
|
2257
|
+
|
|
2243
2258
|
/**
|
|
2244
2259
|
* @hidden
|
|
2245
2260
|
*/
|
package/index.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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./tree-utils/itemIdUtils.js"),d=require("./contexts/ZIndexContext.js"),
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./tree-utils/itemIdUtils.js"),d=require("./contexts/ZIndexContext.js"),P=require("./browser-support.service.js"),S=require("./canUseDOM.js"),v=require("./canUseRef.js"),A=require("./classNames.js"),s=require("./clone.js"),o=require("./trappedFocus.js"),f=require("./FormComponent.js"),T=require("./getTabIndex.js"),F=require("./getter.js"),y=require("./guid.js"),p=require("./keys.js"),B=require("./noop.js"),m=require("./scrollbarWidth.js"),L=require("./setter.js"),i=require("./constants/main.js"),u=require("./treeDataOperations.js"),I=require("./validate-package.js"),M=require("./hasRelativeStackingContext.js"),w=require("./watermark/WatermarkOverlay.js"),k=require("./events/dispatchEvent.js"),O=require("./hocs/AsyncFocusBlur.js"),C=require("./hocs/withPropsContext.js"),U=require("./hocs/use-id-hoc.js"),N=require("./hocs/use-unstyled-hoc.js"),R=require("./hooks/useDir.js"),W=require("./hooks/useAsyncFocusBlur.js"),_=require("./hooks/useRtl.js"),H=require("./hooks/useMouse.js"),G=require("./hooks/useCustomComponent.js"),j=require("./hooks/usePropsContext.js"),g=require("./hooks/useCollection.js"),V=require("./hooks/useDocument.js"),z=require("./hooks/useWindow.js"),Z=require("./hooks/use-id.js"),K=require("./hooks/use-isomorphic-layout-effect.js"),X=require("./icons/Icon.js"),Y=require("./icons/SvgIcon.js"),$=require("./icons/IconWrap.js"),J=require("./icons/IconsContext.js"),l=require("./icons/utils.js"),Q=require("./typography/Typography.js"),ee=require("./drag-n-drop/index.js"),te=require("./Draggable.js"),oe=require("./Droppable.js"),re=require("./hooks/useDraggable.js"),se=require("./hooks/useDroppable.js"),ne=require("./theme.js"),ie=require("./memoize.js"),ue=require("./navigation.js"),q=require("./getActiveElement.js"),ae=require("./tree-utils/FieldsService.js"),ce=require("./tree-utils/SortedPublicItemIds.js"),t=require("./tree-utils/itemUtils.js"),b=require("./tree-utils/misc.js"),le=require("./rowHeightService.js"),h=require("./unstyled/main.js"),de=require("./unstyled/animations.js"),pe=require("./unstyled/icons.js"),x=require("./unstyled/buttons.js"),a=require("./unstyled/dropdowns.js"),n=require("./unstyled/dateinputs.js"),r=require("./unstyled/inputs.js"),c=require("./unstyled/labels.js"),D=require("./unstyled/form.js"),me=require("./unstyled/popup.js"),Ie=require("./unstyled/grid.js"),e=require("./unstyled/json-classes.js");exports.treeIdUtils=E;exports.ZIndexContext=d.ZIndexContext;exports.useZIndexContext=d.useZIndexContext;exports.BrowserSupportService=P.BrowserSupportService;exports.canUseDOM=S.canUseDOM;exports.canUseRef=v.canUseRef;exports.classNames=A.classNames;exports.clone=s.clone;exports.cloneArray=s.cloneArray;exports.cloneDate=s.cloneDate;exports.cloneObject=s.cloneObject;exports.cloneValue=s.cloneValue;exports.applyTrappedFocus=o.applyTrappedFocus;exports.disableNavigatableContainer=o.disableNavigatableContainer;exports.enableNavigatableContainer=o.enableNavigatableContainer;exports.firstFocusableChild=o.firstFocusableChild;exports.focusFirstFocusableChild=o.focusFirstFocusableChild;exports.focusLastFocusableChild=o.focusLastFocusableChild;exports.focusableChildren=o.focusableChildren;exports.keepFocusInContainer=o.keepFocusInContainer;exports.lastFocusableChild=o.lastFocusableChild;exports.FormComponent=f.FormComponent;exports.getTabIndex=T.getTabIndex;exports.getter=F.getter;exports.guid=y.guid;exports.KEYS=p.KEYS;exports.Keys=p.Keys;exports.noop=B.noop;exports.getScrollbarWidth=m.getScrollbarWidth;exports.setScrollbarWidth=m.setScrollbarWidth;exports.setter=L.setter;exports.FIELD_REGEX=i.FIELD_REGEX;exports.FOCUSABLE_ELEMENTS=i.FOCUSABLE_ELEMENTS;exports.FOCUSABLE_ELEMENTS_BASE=i.FOCUSABLE_ELEMENTS_BASE;exports.TABBABLE_ELEMENTS=i.TABBABLE_ELEMENTS;exports.extendDataItem=u.extendDataItem;exports.getItemPath=u.getItemPath;exports.mapTree=u.mapTree;exports.mapTreeItem=u.mapTreeItem;exports.shouldShowValidationUI=I.shouldShowValidationUI;exports.validatePackage=I.validatePackage;exports.hasRelativeStackingContext=M.hasRelativeStackingContext;exports.WatermarkOverlay=w.WatermarkOverlay;exports.dispatchEvent=k.dispatchEvent;exports.AsyncFocusBlur=O.AsyncFocusBlur;exports.createPropsContext=C.createPropsContext;exports.withPropsContext=C.withPropsContext;exports.withIdHOC=U.withIdHOC;exports.withUnstyledHOC=N.withUnstyledHOC;exports.useDir=R.useDir;exports.useAsyncFocusBlur=W.useAsyncFocusBlur;exports.useRtl=_.useRtl;exports.useMouse=H.useMouse;exports.useCustomComponent=G.useCustomComponent;exports.usePropsContext=j.usePropsContext;exports.COLLECTION_ACTION=g.COLLECTION_ACTION;exports.useCollection=g.useCollection;exports.useDocument=V.useDocument;exports.useWindow=z.useWindow;exports.useId=Z.useId;exports.useIsomorphicLayoutEffect=K.useIsomorphicLayoutEffect;exports.Icon=X.Icon;exports.SvgIcon=Y.SvgIcon;exports.IconWrap=$.IconWrap;exports.IconsContext=J.IconsContext;exports.svgIconPropType=l.svgIconPropType;exports.toIconClass=l.toIconClass;exports.toIconName=l.toIconName;exports.Typography=Q.Typography;exports.DragAndDrop=ee.DragAndDrop;exports.Draggable=te.Draggable;exports.Droppable=oe.Droppable;exports.useDraggable=re.useDraggable;exports.useDroppable=se.useDroppable;exports.kendoThemeMaps=ne.kendoThemeMaps;exports.memoizeOne=ie.memoizeOne;exports.Navigation=ue.Navigation;exports.getActiveElement=q.getActiveElement;exports.getInnerActiveElement=q.getInnerActiveElement;exports.TreeFieldsService=ae.TreeFieldsService;exports.SortedPublicItemIds=ce.SortedPublicItemIds;exports.addItem=t.addItem;exports.areAllDirectChildrenChecked=t.areAllDirectChildrenChecked;exports.getAllDirectIndirectChildrenIds=t.getAllDirectIndirectChildrenIds;exports.getAllParents=t.getAllParents;exports.hasChildren=t.hasChildren;exports.isEnabledAndAllParentsEnabled=t.isEnabledAndAllParentsEnabled;exports.isItemExpandedAndWithChildren=t.isItemExpandedAndWithChildren;exports.removeItem=t.removeItem;exports.resolveItemId=t.resolveItemId;exports.resolveItemsIds=t.resolveItemsIds;exports.updateItem=t.updateItem;exports.getNestedValue=b.getNestedValue;exports.isArray=b.isArray;exports.RowHeightService=le.RowHeightService;exports.UnstyledContext=h.UnstyledContext;exports.useUnstyled=h.useUnstyled;exports.uAnimation=de.uAnimation;exports.uSvgIcon=pe.uSvgIcon;exports.uButton=x.uButton;exports.uDropDownButton=x.uDropDownButton;exports.uComboBox=a.uComboBox;exports.uDropDownList=a.uDropDownList;exports.uDropDownsActionSheet=a.uDropDownsActionSheet;exports.uDropDownsBase=a.uDropDownsBase;exports.uCalendar=n.uCalendar;exports.uDateInput=n.uDateInput;exports.uDateTimePicker=n.uDateTimePicker;exports.uTime=n.uTime;exports.uTimePicker=n.uTimePicker;exports.radioButtonClasses=r.radioButtonClasses;exports.radioGroupClasses=r.radioGroupClasses;exports.uInput=r.uInput;exports.uMaskedTextBox=r.uMaskedTextBox;exports.uRadioButton=r.uRadioButton;exports.uRadioGroup=r.uRadioGroup;exports.uTextBox=r.uTextBox;exports.uError=c.uError;exports.uFloatingLabel=c.uFloatingLabel;exports.uHint=c.uHint;exports.uLabel=c.uLabel;exports.uForm=D.uForm;exports.uFormField=D.uFormField;exports.uPopup=me.uPopup;exports.uGrid=Ie.uGrid;exports.actions=e.actions;exports.animationStyles=e.animationStyles;exports.base=e.base;exports.buttonPrefix=e.buttonPrefix;exports.calendarPrefix=e.calendarPrefix;exports.comboBoxPrefix=e.comboBoxPrefix;exports.components=e.components;exports.containers=e.containers;exports.cssUtils=e.cssUtils;exports.cursor=e.cursor;exports.dateInputs=e.dateInputs;exports.ddbPrefix=e.ddbPrefix;exports.dimensions=e.dimensions;exports.directionMap=e.directionMap;exports.dropDownListPrefix=e.dropDownListPrefix;exports.elements=e.elements;exports.fillModeMap=e.fillModeMap;exports.forms=e.forms;exports.grid=e.grid;exports.gridPrefix=e.gridPrefix;exports.icon=e.icon;exports.inputPrefix=e.inputPrefix;exports.inputs=e.inputs;exports.jsonTheme=e.jsonTheme;exports.labels=e.labels;exports.maskedPrefix=e.maskedPrefix;exports.orientationMap=e.orientationMap;exports.pickerPrefix=e.pickerPrefix;exports.popup=e.popup;exports.radioPrefix=e.radioPrefix;exports.roundedMap=e.roundedMap;exports.sizeMap=e.sizeMap;exports.states=e.states;exports.themeColorMap=e.themeColorMap;
|
package/index.mjs
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"use client";
|
|
9
9
|
import * as e from "./tree-utils/itemIdUtils.mjs";
|
|
10
10
|
import { ZIndexContext as t, useZIndexContext as p } from "./contexts/ZIndexContext.mjs";
|
|
11
|
-
import { BrowserSupportService as
|
|
11
|
+
import { BrowserSupportService as a } from "./browser-support.service.mjs";
|
|
12
12
|
import { canUseDOM as s } from "./canUseDOM.mjs";
|
|
13
13
|
import { canUseRef as x } from "./canUseRef.mjs";
|
|
14
14
|
import { classNames as l } from "./classNames.mjs";
|
|
15
15
|
import { clone as d, cloneArray as c, cloneDate as I, cloneObject as C, cloneValue as h } from "./clone.mjs";
|
|
16
|
-
import { applyTrappedFocus as
|
|
16
|
+
import { applyTrappedFocus as g, disableNavigatableContainer as E, enableNavigatableContainer as D, firstFocusableChild as P, focusFirstFocusableChild as A, focusLastFocusableChild as S, focusableChildren as T, keepFocusInContainer as v, lastFocusableChild as B } from "./trappedFocus.mjs";
|
|
17
17
|
import { FormComponent as y } from "./FormComponent.mjs";
|
|
18
18
|
import { getTabIndex as M } from "./getTabIndex.mjs";
|
|
19
19
|
import { getter as k } from "./getter.mjs";
|
|
@@ -24,18 +24,18 @@ import { getScrollbarWidth as V, setScrollbarWidth as j } from "./scrollbarWidth
|
|
|
24
24
|
import { setter as K } from "./setter.mjs";
|
|
25
25
|
import { FIELD_REGEX as X, FOCUSABLE_ELEMENTS as Y, FOCUSABLE_ELEMENTS_BASE as q, TABBABLE_ELEMENTS as J } from "./constants/main.mjs";
|
|
26
26
|
import { extendDataItem as $, getItemPath as ee, mapTree as oe, mapTreeItem as re } from "./treeDataOperations.mjs";
|
|
27
|
-
import { shouldShowValidationUI as pe, validatePackage as
|
|
27
|
+
import { shouldShowValidationUI as pe, validatePackage as me } from "./validate-package.mjs";
|
|
28
28
|
import { hasRelativeStackingContext as ne } from "./hasRelativeStackingContext.mjs";
|
|
29
29
|
import { WatermarkOverlay as ie } from "./watermark/WatermarkOverlay.mjs";
|
|
30
30
|
import { dispatchEvent as fe } from "./events/dispatchEvent.mjs";
|
|
31
31
|
import { AsyncFocusBlur as ue } from "./hocs/AsyncFocusBlur.mjs";
|
|
32
32
|
import { createPropsContext as ce, withPropsContext as Ie } from "./hocs/withPropsContext.mjs";
|
|
33
33
|
import { withIdHOC as he } from "./hocs/use-id-hoc.mjs";
|
|
34
|
-
import { withUnstyledHOC as
|
|
34
|
+
import { withUnstyledHOC as ge } from "./hocs/use-unstyled-hoc.mjs";
|
|
35
35
|
import { useDir as De } from "./hooks/useDir.mjs";
|
|
36
|
-
import { useAsyncFocusBlur as
|
|
36
|
+
import { useAsyncFocusBlur as Ae } from "./hooks/useAsyncFocusBlur.mjs";
|
|
37
37
|
import { useRtl as Te } from "./hooks/useRtl.mjs";
|
|
38
|
-
import { useMouse as
|
|
38
|
+
import { useMouse as Be } from "./hooks/useMouse.mjs";
|
|
39
39
|
import { useCustomComponent as ye } from "./hooks/useCustomComponent.mjs";
|
|
40
40
|
import { usePropsContext as Me } from "./hooks/usePropsContext.mjs";
|
|
41
41
|
import { COLLECTION_ACTION as ke, useCollection as Ne } from "./hooks/useCollection.mjs";
|
|
@@ -49,37 +49,37 @@ import { IconWrap as Ye } from "./icons/IconWrap.mjs";
|
|
|
49
49
|
import { IconsContext as Je } from "./icons/IconsContext.mjs";
|
|
50
50
|
import { svgIconPropType as $e, toIconClass as eo, toIconName as oo } from "./icons/utils.mjs";
|
|
51
51
|
import { Typography as to } from "./typography/Typography.mjs";
|
|
52
|
-
import { DragAndDrop as
|
|
52
|
+
import { DragAndDrop as mo } from "./drag-n-drop/index.mjs";
|
|
53
53
|
import { Draggable as no } from "./Draggable.mjs";
|
|
54
54
|
import { Droppable as io } from "./Droppable.mjs";
|
|
55
55
|
import { useDraggable as fo } from "./hooks/useDraggable.mjs";
|
|
56
56
|
import { useDroppable as uo } from "./hooks/useDroppable.mjs";
|
|
57
57
|
import { kendoThemeMaps as Io } from "./theme.mjs";
|
|
58
58
|
import { memoizeOne as ho } from "./memoize.mjs";
|
|
59
|
-
import { Navigation as
|
|
60
|
-
import { getActiveElement as Do, getInnerActiveElement as
|
|
59
|
+
import { Navigation as go } from "./navigation.mjs";
|
|
60
|
+
import { getActiveElement as Do, getInnerActiveElement as Po } from "./getActiveElement.mjs";
|
|
61
61
|
import { TreeFieldsService as So } from "./tree-utils/FieldsService.mjs";
|
|
62
62
|
import { SortedPublicItemIds as vo } from "./tree-utils/SortedPublicItemIds.mjs";
|
|
63
|
-
import { addItem as
|
|
63
|
+
import { addItem as Fo, areAllDirectChildrenChecked as yo, getAllDirectIndirectChildrenIds as Lo, getAllParents as Mo, hasChildren as wo, isEnabledAndAllParentsEnabled as ko, isItemExpandedAndWithChildren as No, removeItem as Oo, resolveItemId as Uo, resolveItemsIds as Ro, updateItem as Wo } from "./tree-utils/itemUtils.mjs";
|
|
64
64
|
import { getNestedValue as Go, isArray as Ho } from "./tree-utils/misc.mjs";
|
|
65
65
|
import { RowHeightService as jo } from "./rowHeightService.mjs";
|
|
66
66
|
import { UnstyledContext as Ko, useUnstyled as Zo } from "./unstyled/main.mjs";
|
|
67
67
|
import { uAnimation as Yo } from "./unstyled/animations.mjs";
|
|
68
68
|
import { uSvgIcon as Jo } from "./unstyled/icons.mjs";
|
|
69
69
|
import { uButton as $o, uDropDownButton as er } from "./unstyled/buttons.mjs";
|
|
70
|
-
import {
|
|
71
|
-
import { uCalendar as
|
|
72
|
-
import { radioButtonClasses as
|
|
73
|
-
import { uError as
|
|
74
|
-
import { uForm as
|
|
70
|
+
import { uComboBox as rr, uDropDownList as tr, uDropDownsActionSheet as pr, uDropDownsBase as mr } from "./unstyled/dropdowns.mjs";
|
|
71
|
+
import { uCalendar as nr, uDateInput as sr, uDateTimePicker as ir, uTime as xr, uTimePicker as fr } from "./unstyled/dateinputs.mjs";
|
|
72
|
+
import { radioButtonClasses as ur, radioGroupClasses as dr, uInput as cr, uMaskedTextBox as Ir, uRadioButton as Cr, uRadioGroup as hr, uTextBox as br } from "./unstyled/inputs.mjs";
|
|
73
|
+
import { uError as Er, uFloatingLabel as Dr, uHint as Pr, uLabel as Ar } from "./unstyled/labels.mjs";
|
|
74
|
+
import { uForm as Tr, uFormField as vr } from "./unstyled/form.mjs";
|
|
75
75
|
import { uPopup as Fr } from "./unstyled/popup.mjs";
|
|
76
|
-
import { uGrid as
|
|
77
|
-
import { actions as
|
|
76
|
+
import { uGrid as Lr } from "./unstyled/grid.mjs";
|
|
77
|
+
import { actions as wr, animationStyles as kr, base as Nr, buttonPrefix as Or, calendarPrefix as Ur, comboBoxPrefix as Rr, components as Wr, containers as _r, cssUtils as Gr, cursor as Hr, dateInputs as Vr, ddbPrefix as jr, dimensions as zr, directionMap as Kr, dropDownListPrefix as Zr, elements as Xr, fillModeMap as Yr, forms as qr, grid as Jr, gridPrefix as Qr, icon as $r, inputPrefix as et, inputs as ot, jsonTheme as rt, labels as tt, maskedPrefix as pt, orientationMap as mt, pickerPrefix as at, popup as nt, radioPrefix as st, roundedMap as it, sizeMap as xt, states as ft, themeColorMap as lt } from "./unstyled/json-classes.mjs";
|
|
78
78
|
export {
|
|
79
79
|
ue as AsyncFocusBlur,
|
|
80
|
-
|
|
80
|
+
a as BrowserSupportService,
|
|
81
81
|
ke as COLLECTION_ACTION,
|
|
82
|
-
|
|
82
|
+
mo as DragAndDrop,
|
|
83
83
|
no as Draggable,
|
|
84
84
|
io as Droppable,
|
|
85
85
|
X as FIELD_REGEX,
|
|
@@ -91,7 +91,7 @@ export {
|
|
|
91
91
|
Je as IconsContext,
|
|
92
92
|
R as KEYS,
|
|
93
93
|
W as Keys,
|
|
94
|
-
|
|
94
|
+
go as Navigation,
|
|
95
95
|
jo as RowHeightService,
|
|
96
96
|
vo as SortedPublicItemIds,
|
|
97
97
|
Ze as SvgIcon,
|
|
@@ -101,14 +101,14 @@ export {
|
|
|
101
101
|
Ko as UnstyledContext,
|
|
102
102
|
ie as WatermarkOverlay,
|
|
103
103
|
t as ZIndexContext,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
wr as actions,
|
|
105
|
+
Fo as addItem,
|
|
106
|
+
kr as animationStyles,
|
|
107
|
+
g as applyTrappedFocus,
|
|
108
108
|
yo as areAllDirectChildrenChecked,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
Nr as base,
|
|
110
|
+
Or as buttonPrefix,
|
|
111
|
+
Ur as calendarPrefix,
|
|
112
112
|
s as canUseDOM,
|
|
113
113
|
x as canUseRef,
|
|
114
114
|
l as classNames,
|
|
@@ -117,104 +117,106 @@ export {
|
|
|
117
117
|
I as cloneDate,
|
|
118
118
|
C as cloneObject,
|
|
119
119
|
h as cloneValue,
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
Rr as comboBoxPrefix,
|
|
121
|
+
Wr as components,
|
|
122
|
+
_r as containers,
|
|
122
123
|
ce as createPropsContext,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
124
|
+
Gr as cssUtils,
|
|
125
|
+
Hr as cursor,
|
|
126
|
+
Vr as dateInputs,
|
|
127
|
+
jr as ddbPrefix,
|
|
128
|
+
zr as dimensions,
|
|
129
|
+
Kr as directionMap,
|
|
129
130
|
E as disableNavigatableContainer,
|
|
130
131
|
fe as dispatchEvent,
|
|
131
|
-
|
|
132
|
-
|
|
132
|
+
Zr as dropDownListPrefix,
|
|
133
|
+
Xr as elements,
|
|
133
134
|
D as enableNavigatableContainer,
|
|
134
135
|
$ as extendDataItem,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
Yr as fillModeMap,
|
|
137
|
+
P as firstFocusableChild,
|
|
138
|
+
A as focusFirstFocusableChild,
|
|
138
139
|
S as focusLastFocusableChild,
|
|
139
140
|
T as focusableChildren,
|
|
140
|
-
|
|
141
|
+
qr as forms,
|
|
141
142
|
Do as getActiveElement,
|
|
142
143
|
Lo as getAllDirectIndirectChildrenIds,
|
|
143
144
|
Mo as getAllParents,
|
|
144
|
-
|
|
145
|
+
Po as getInnerActiveElement,
|
|
145
146
|
ee as getItemPath,
|
|
146
147
|
Go as getNestedValue,
|
|
147
148
|
V as getScrollbarWidth,
|
|
148
149
|
M as getTabIndex,
|
|
149
150
|
k as getter,
|
|
150
|
-
|
|
151
|
-
|
|
151
|
+
Jr as grid,
|
|
152
|
+
Qr as gridPrefix,
|
|
152
153
|
O as guid,
|
|
153
154
|
wo as hasChildren,
|
|
154
155
|
ne as hasRelativeStackingContext,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
$r as icon,
|
|
157
|
+
et as inputPrefix,
|
|
158
|
+
ot as inputs,
|
|
158
159
|
Ho as isArray,
|
|
159
160
|
ko as isEnabledAndAllParentsEnabled,
|
|
160
161
|
No as isItemExpandedAndWithChildren,
|
|
161
|
-
|
|
162
|
+
rt as jsonTheme,
|
|
162
163
|
v as keepFocusInContainer,
|
|
163
164
|
Io as kendoThemeMaps,
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
tt as labels,
|
|
166
|
+
B as lastFocusableChild,
|
|
166
167
|
oe as mapTree,
|
|
167
168
|
re as mapTreeItem,
|
|
168
|
-
|
|
169
|
+
pt as maskedPrefix,
|
|
169
170
|
ho as memoizeOne,
|
|
170
171
|
G as noop,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
172
|
+
mt as orientationMap,
|
|
173
|
+
at as pickerPrefix,
|
|
174
|
+
nt as popup,
|
|
175
|
+
ur as radioButtonClasses,
|
|
176
|
+
dr as radioGroupClasses,
|
|
177
|
+
st as radioPrefix,
|
|
177
178
|
Oo as removeItem,
|
|
178
179
|
Uo as resolveItemId,
|
|
179
180
|
Ro as resolveItemsIds,
|
|
180
|
-
|
|
181
|
+
it as roundedMap,
|
|
181
182
|
j as setScrollbarWidth,
|
|
182
183
|
K as setter,
|
|
183
184
|
pe as shouldShowValidationUI,
|
|
184
|
-
|
|
185
|
-
|
|
185
|
+
xt as sizeMap,
|
|
186
|
+
ft as states,
|
|
186
187
|
$e as svgIconPropType,
|
|
187
|
-
|
|
188
|
+
lt as themeColorMap,
|
|
188
189
|
eo as toIconClass,
|
|
189
190
|
oo as toIconName,
|
|
190
191
|
e as treeIdUtils,
|
|
191
192
|
Yo as uAnimation,
|
|
192
193
|
$o as uButton,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
sr as
|
|
194
|
+
nr as uCalendar,
|
|
195
|
+
rr as uComboBox,
|
|
196
|
+
sr as uDateInput,
|
|
197
|
+
ir as uDateTimePicker,
|
|
196
198
|
er as uDropDownButton,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
199
|
+
tr as uDropDownList,
|
|
200
|
+
pr as uDropDownsActionSheet,
|
|
201
|
+
mr as uDropDownsBase,
|
|
202
|
+
Er as uError,
|
|
203
|
+
Dr as uFloatingLabel,
|
|
204
|
+
Tr as uForm,
|
|
205
|
+
vr as uFormField,
|
|
206
|
+
Lr as uGrid,
|
|
207
|
+
Pr as uHint,
|
|
208
|
+
cr as uInput,
|
|
207
209
|
Ar as uLabel,
|
|
208
|
-
|
|
210
|
+
Ir as uMaskedTextBox,
|
|
209
211
|
Fr as uPopup,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
+
Cr as uRadioButton,
|
|
213
|
+
hr as uRadioGroup,
|
|
212
214
|
Jo as uSvgIcon,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
215
|
+
br as uTextBox,
|
|
216
|
+
xr as uTime,
|
|
217
|
+
fr as uTimePicker,
|
|
216
218
|
Wo as updateItem,
|
|
217
|
-
|
|
219
|
+
Ae as useAsyncFocusBlur,
|
|
218
220
|
Ne as useCollection,
|
|
219
221
|
ye as useCustomComponent,
|
|
220
222
|
De as useDir,
|
|
@@ -223,14 +225,14 @@ export {
|
|
|
223
225
|
uo as useDroppable,
|
|
224
226
|
Ge as useId,
|
|
225
227
|
Ve as useIsomorphicLayoutEffect,
|
|
226
|
-
|
|
228
|
+
Be as useMouse,
|
|
227
229
|
Me as usePropsContext,
|
|
228
230
|
Te as useRtl,
|
|
229
231
|
Zo as useUnstyled,
|
|
230
232
|
We as useWindow,
|
|
231
233
|
p as useZIndexContext,
|
|
232
|
-
|
|
234
|
+
me as validatePackage,
|
|
233
235
|
he as withIdHOC,
|
|
234
236
|
Ie as withPropsContext,
|
|
235
|
-
|
|
237
|
+
ge as withUnstyledHOC
|
|
236
238
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-common",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0-develop.1",
|
|
4
4
|
"description": "React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|