@progress/kendo-react-common 14.5.0-develop.9 → 15.0.0-develop.2

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/index.mjs CHANGED
@@ -12,12 +12,12 @@ import { BrowserSupportService as x } from "./browser-support.service.mjs";
12
12
  import { canUseDOM as d } from "./canUseDOM.mjs";
13
13
  import { canUseRef as l } from "./canUseRef.mjs";
14
14
  import { classNames as I, strippedClassNames as C } from "./classNames.mjs";
15
- import { clone as g, cloneArray as P, cloneDate as A, cloneObject as h, cloneValue as b } from "./clone.mjs";
16
- import { applyTrappedFocus as T, disableNavigatableContainer as v, enableNavigatableContainer as M, firstFocusableChild as S, focusFirstFocusableChild as B, focusLastFocusableChild as L, focusableChildren as F, keepFocusInContainer as N, lastFocusableChild as y } from "./trappedFocus.mjs";
15
+ import { clone as g, cloneArray as P, cloneDate as b, cloneObject as h, cloneValue as A } from "./clone.mjs";
16
+ import { applyTrappedFocus as M, disableNavigatableContainer as T, enableNavigatableContainer as v, firstFocusableChild as S, focusFirstFocusableChild as B, focusLastFocusableChild as L, focusableChildren as F, keepFocusInContainer as N, lastFocusableChild as y } from "./trappedFocus.mjs";
17
17
  import { FormComponent as w } from "./FormComponent.mjs";
18
- import { getTabIndex as k } from "./getTabIndex.mjs";
18
+ import { getTabIndex as _ } from "./getTabIndex.mjs";
19
19
  import { getter as U } from "./getter.mjs";
20
- import { guid as V } from "./guid.mjs";
20
+ import { guid as W } from "./guid.mjs";
21
21
  import { KEYS as G, Keys as H } from "./keys.mjs";
22
22
  import { noop as Z } from "./noop.mjs";
23
23
  import { getScrollbarWidth as X, setScrollbarWidth as Y } from "./scrollbarWidth.mjs";
@@ -28,17 +28,17 @@ import { getLicenseMessage as fe, hasValidLicense as de, validatePackage as ue }
28
28
  import { hasRelativeStackingContext as ce } from "./hasRelativeStackingContext.mjs";
29
29
  import { WatermarkOverlay as Ce } from "./watermark/WatermarkOverlay.mjs";
30
30
  import { applyDefaultProps as ge } from "./apply-default-props.mjs";
31
- import { dispatchEvent as Ae } from "./events/dispatchEvent.mjs";
32
- import { AsyncFocusBlur as be } from "./hocs/AsyncFocusBlur.mjs";
33
- import { createPropsContext as Te, withPropsContext as ve } from "./hocs/withPropsContext.mjs";
31
+ import { dispatchEvent as be } from "./events/dispatchEvent.mjs";
32
+ import { AsyncFocusBlur as Ae } from "./hocs/AsyncFocusBlur.mjs";
33
+ import { createPropsContext as Me, withPropsContext as Te } from "./hocs/withPropsContext.mjs";
34
34
  import { withIdHOC as Se } from "./hocs/use-id-hoc.mjs";
35
35
  import { withUnstyledHOC as Le } from "./hocs/use-unstyled-hoc.mjs";
36
36
  import { withAdaptiveModeContext as Ne } from "./hocs/use-adaptive-mode-hoc.mjs";
37
37
  import { withZIndexContext as Oe } from "./hocs/withzIndexContext.mjs";
38
- import { useDir as _e } from "./hooks/useDir.mjs";
39
- import { useAsyncFocusBlur as Re } from "./hooks/useAsyncFocusBlur.mjs";
38
+ import { useDir as Re } from "./hooks/useDir.mjs";
39
+ import { useAsyncFocusBlur as ke } from "./hooks/useAsyncFocusBlur.mjs";
40
40
  import { useRtl as Ke } from "./hooks/useRtl.mjs";
41
- import { useMouse as We } from "./hooks/useMouse.mjs";
41
+ import { useMouse as Ve } from "./hooks/useMouse.mjs";
42
42
  import { useCustomComponent as He } from "./hooks/useCustomComponent.mjs";
43
43
  import { usePropsContext as Ze } from "./hooks/usePropsContext.mjs";
44
44
  import { COLLECTION_ACTION as Xe, useCollection as Ye } from "./hooks/useCollection.mjs";
@@ -47,222 +47,231 @@ import { useWindow as $e } from "./hooks/useWindow.mjs";
47
47
  import { useId as oo } from "./hooks/use-id.mjs";
48
48
  import { useIsomorphicLayoutEffect as to } from "./hooks/use-isomorphic-layout-effect.mjs";
49
49
  import { useImmediateInheritState as so } from "./hooks/use-immediate-inherit-state.mjs";
50
- import { Icon as no } from "./icons/Icon.mjs";
51
- import { SvgIcon as io } from "./icons/SvgIcon.mjs";
52
- import { IconWrap as fo } from "./icons/IconWrap.mjs";
53
- import { IconsContext as lo } from "./icons/IconsContext.mjs";
54
- import { svgIconPropType as Io, toIconClass as Co, toIconName as Eo } from "./icons/utils.mjs";
55
- import { Typography as Po } from "./typography/Typography.mjs";
56
- import { DragAndDrop as ho } from "./drag-n-drop/index.mjs";
57
- import { Draggable as Do } from "./Draggable.mjs";
58
- import { Droppable as vo } from "./Droppable.mjs";
59
- import { useDraggable as So } from "./hooks/useDraggable.mjs";
60
- import { useDroppable as Lo } from "./hooks/useDroppable.mjs";
61
- import { kendoThemeMaps as No } from "./theme.mjs";
62
- import { memoizeOne as Oo } from "./memoize.mjs";
63
- import { Navigation as _o } from "./navigation.mjs";
64
- import { getActiveElement as Ro, getInnerActiveElement as Uo } from "./getActiveElement.mjs";
65
- import { getFileExtensionIcon as Vo } from "./fileExtensionIcon.mjs";
66
- import { TreeFieldsService as Go } from "./tree-utils/FieldsService.mjs";
67
- import { SortedPublicItemIds as jo } from "./tree-utils/SortedPublicItemIds.mjs";
68
- import { addItem as zo, areAllDirectChildrenChecked as Xo, getAllDirectIndirectChildrenIds as Yo, getAllParents as qo, hasChildren as Jo, isEnabledAndAllParentsEnabled as Qo, isItemExpandedAndWithChildren as $o, removeItem as er, resolveItemId as or, resolveItemsIds as rr, updateItem as tr } from "./tree-utils/itemUtils.mjs";
69
- import { getNestedValue as sr, isArray as ar } from "./tree-utils/misc.mjs";
70
- import { RowHeightService as mr } from "./rowHeightService.mjs";
71
- import { deepMerge as xr, isObject as fr, isPromise as dr } from "./deep-merge.mjs";
72
- import { KENDO_PASTE_EVENT_NAME as lr, createKendoPasteEvent as cr, dispatchKendoPasteEvent as Ir, getKendoPasteEventTarget as Cr } from "./kendopaste/KendoPasteEvent.mjs";
73
- import { UnstyledContext as gr, useUnstyled as Pr } from "./unstyled/unstyled-context.mjs";
74
- import { actions as hr, animationStyles as br, base as Dr, buttonPrefix as Tr, calendarPrefix as vr, comboBoxPrefix as Mr, components as Sr, containers as Br, cssUtils as Lr, cursor as Fr, dateInputs as Nr, ddbPrefix as yr, dimensions as Or, directionMap as wr, dropDownListPrefix as _r, elements as kr, fillModeMap as Rr, forms as Ur, grid as Kr, gridPrefix as Vr, gridRowReorder as Wr, icon as Gr, inputPrefix as Hr, inputs as jr, jsonTheme as Zr, labels as zr, maskedPrefix as Xr, orientationMap as Yr, pickerPrefix as qr, popup as Jr, radioPrefix as Qr, roundedMap as $r, sizeMap as et, states as ot, themeColorMap as rt } from "./unstyled/json-classes.mjs";
75
- import { radioButtonClasses as pt, radioGroupClasses as st, uInput as at, uMaskedTextBox as nt, uRadioButton as mt, uRadioGroup as it, uTextBox as xt } from "./unstyled/inputs.mjs";
76
- import { subscribeToKendoPaste as dt, useKendoPaste as ut } from "./kendopaste/useKendoPaste.mjs";
77
- import { uAnimation as ct } from "./unstyled/animations.mjs";
78
- import { uButton as Ct, uButtonGroup as Et, uDropDownButton as gt } from "./unstyled/buttons.mjs";
79
- import { uCalendar as At, uDateInput as ht, uDateTimePicker as bt, uTime as Dt, uTimePicker as Tt } from "./unstyled/dateinputs.mjs";
80
- import { uComboBox as Mt, uDropDownList as St, uDropDownsActionSheet as Bt, uDropDownsBase as Lt } from "./unstyled/dropdowns.mjs";
81
- import { uError as Nt, uFloatingLabel as yt, uHint as Ot, uLabel as wt } from "./unstyled/labels.mjs";
82
- import { uForm as kt } from "./unstyled/form.mjs";
83
- import { uGrid as Ut } from "./unstyled/grid.mjs";
84
- import { uPopup as Vt } from "./unstyled/popup.mjs";
85
- import { uSvgIcon as Gt } from "./unstyled/icons.mjs";
50
+ import { usePaidChildrenWatermark as no } from "./hooks/usePaidChildrenWatermark.mjs";
51
+ import { useMergedRef as io } from "./hooks/useMergedRef.mjs";
52
+ import { Icon as fo } from "./icons/Icon.mjs";
53
+ import { SvgIcon as lo } from "./icons/SvgIcon.mjs";
54
+ import { IconWrap as Io } from "./icons/IconWrap.mjs";
55
+ import { IconsContext as Eo } from "./icons/IconsContext.mjs";
56
+ import { svgIconPropType as Po, toIconClass as bo, toIconName as ho } from "./icons/utils.mjs";
57
+ import { Typography as Do } from "./typography/Typography.mjs";
58
+ import { DragAndDrop as To } from "./drag-n-drop/index.mjs";
59
+ import { Draggable as So } from "./Draggable.mjs";
60
+ import { Droppable as Lo } from "./Droppable.mjs";
61
+ import { useDraggable as No } from "./hooks/useDraggable.mjs";
62
+ import { useDroppable as Oo } from "./hooks/useDroppable.mjs";
63
+ import { kendoThemeMaps as Ro } from "./theme.mjs";
64
+ import { memoizeOne as ko } from "./memoize.mjs";
65
+ import { Navigation as Ko } from "./navigation.mjs";
66
+ import { getActiveElement as Vo, getInnerActiveElement as Go } from "./getActiveElement.mjs";
67
+ import { getFileExtensionIcon as jo } from "./fileExtensionIcon.mjs";
68
+ import { TreeFieldsService as zo } from "./tree-utils/FieldsService.mjs";
69
+ import { SortedPublicItemIds as Yo } from "./tree-utils/SortedPublicItemIds.mjs";
70
+ import { addItem as Jo, areAllDirectChildrenChecked as Qo, getAllDirectIndirectChildrenIds as $o, getAllParents as er, hasChildren as or, isEnabledAndAllParentsEnabled as rr, isItemExpandedAndWithChildren as tr, removeItem as pr, resolveItemId as sr, resolveItemsIds as ar, updateItem as nr } from "./tree-utils/itemUtils.mjs";
71
+ import { getNestedValue as ir, isArray as xr } from "./tree-utils/misc.mjs";
72
+ import { RowHeightService as dr } from "./rowHeightService.mjs";
73
+ import { deepMerge as lr, isObject as cr, isPromise as Ir } from "./deep-merge.mjs";
74
+ import { WebMcpContext as Er, WebMcpProvider as gr, getModelContext as Pr, useWebMcpRegister as br } from "./WebMcpProvider.mjs";
75
+ import { KENDO_PASTE_EVENT_NAME as Ar, createKendoPasteEvent as Dr, dispatchKendoPasteEvent as Mr, getKendoPasteEventTarget as Tr } from "./kendopaste/KendoPasteEvent.mjs";
76
+ import { UnstyledContext as Sr, useUnstyled as Br } from "./unstyled/unstyled-context.mjs";
77
+ import { actions as Fr, animationStyles as Nr, base as yr, buttonPrefix as Or, calendarPrefix as wr, comboBoxPrefix as Rr, components as _r, containers as kr, cssUtils as Ur, cursor as Kr, dateInputs as Wr, ddbPrefix as Vr, dimensions as Gr, directionMap as Hr, dropDownListPrefix as jr, elements as Zr, fillModeMap as zr, forms as Xr, grid as Yr, gridPrefix as qr, gridRowReorder as Jr, icon as Qr, inputPrefix as $r, inputs as et, jsonTheme as ot, labels as rt, maskedPrefix as tt, orientationMap as pt, pickerPrefix as st, popup as at, radioPrefix as nt, roundedMap as mt, sizeMap as it, states as xt, themeColorMap as ft } from "./unstyled/json-classes.mjs";
78
+ import { radioButtonClasses as ut, radioGroupClasses as lt, uInput as ct, uMaskedTextBox as It, uRadioButton as Ct, uRadioGroup as Et, uTextBox as gt } from "./unstyled/inputs.mjs";
79
+ import { subscribeToKendoPaste as bt, useKendoPaste as ht } from "./kendopaste/useKendoPaste.mjs";
80
+ import { uAnimation as Dt } from "./unstyled/animations.mjs";
81
+ import { uButton as Tt, uButtonGroup as vt, uDropDownButton as St } from "./unstyled/buttons.mjs";
82
+ import { uCalendar as Lt, uDateInput as Ft, uDateTimePicker as Nt, uTime as yt, uTimePicker as Ot } from "./unstyled/dateinputs.mjs";
83
+ import { uComboBox as Rt, uDropDownList as _t, uDropDownsActionSheet as kt, uDropDownsBase as Ut } from "./unstyled/dropdowns.mjs";
84
+ import { uError as Wt, uFloatingLabel as Vt, uHint as Gt, uLabel as Ht } from "./unstyled/labels.mjs";
85
+ import { uForm as Zt } from "./unstyled/form.mjs";
86
+ import { uGrid as Xt } from "./unstyled/grid.mjs";
87
+ import { uPopup as qt } from "./unstyled/popup.mjs";
88
+ import { uSvgIcon as Qt } from "./unstyled/icons.mjs";
86
89
  export {
87
90
  $ as ADAPTIVE_MEDIUM_BREAKPOINT,
88
91
  ee as ADAPTIVE_SMALL_BREAKPOINT,
89
92
  a as AdaptiveModeContext,
90
- be as AsyncFocusBlur,
93
+ Ae as AsyncFocusBlur,
91
94
  x as BrowserSupportService,
92
95
  Xe as COLLECTION_ACTION,
93
- ho as DragAndDrop,
94
- Do as Draggable,
95
- vo as Droppable,
96
+ To as DragAndDrop,
97
+ So as Draggable,
98
+ Lo as Droppable,
96
99
  oe as FIELD_REGEX,
97
100
  re as FOCUSABLE_ELEMENTS,
98
101
  te as FOCUSABLE_ELEMENTS_BASE,
99
102
  w as FormComponent,
100
- no as Icon,
101
- fo as IconWrap,
102
- lo as IconsContext,
103
- lr as KENDO_PASTE_EVENT_NAME,
103
+ fo as Icon,
104
+ Io as IconWrap,
105
+ Eo as IconsContext,
106
+ Ar as KENDO_PASTE_EVENT_NAME,
104
107
  G as KEYS,
105
108
  H as Keys,
106
- _o as Navigation,
107
- mr as RowHeightService,
108
- jo as SortedPublicItemIds,
109
- io as SvgIcon,
109
+ Ko as Navigation,
110
+ dr as RowHeightService,
111
+ Yo as SortedPublicItemIds,
112
+ lo as SvgIcon,
110
113
  pe as TABBABLE_ELEMENTS,
111
- Go as TreeFieldsService,
112
- Po as Typography,
113
- gr as UnstyledContext,
114
+ zo as TreeFieldsService,
115
+ Do as Typography,
116
+ Sr as UnstyledContext,
114
117
  Ce as WatermarkOverlay,
118
+ Er as WebMcpContext,
119
+ gr as WebMcpProvider,
115
120
  t as ZIndexContext,
116
- hr as actions,
117
- zo as addItem,
118
- br as animationStyles,
121
+ Fr as actions,
122
+ Jo as addItem,
123
+ Nr as animationStyles,
119
124
  ge as applyDefaultProps,
120
- T as applyTrappedFocus,
121
- Xo as areAllDirectChildrenChecked,
122
- Dr as base,
123
- Tr as buttonPrefix,
124
- vr as calendarPrefix,
125
+ M as applyTrappedFocus,
126
+ Qo as areAllDirectChildrenChecked,
127
+ yr as base,
128
+ Or as buttonPrefix,
129
+ wr as calendarPrefix,
125
130
  d as canUseDOM,
126
131
  l as canUseRef,
127
132
  I as classNames,
128
133
  g as clone,
129
134
  P as cloneArray,
130
- A as cloneDate,
135
+ b as cloneDate,
131
136
  h as cloneObject,
132
- b as cloneValue,
133
- Mr as comboBoxPrefix,
134
- Sr as components,
135
- Br as containers,
136
- cr as createKendoPasteEvent,
137
- Te as createPropsContext,
138
- Lr as cssUtils,
139
- Fr as cursor,
140
- Nr as dateInputs,
141
- yr as ddbPrefix,
142
- xr as deepMerge,
137
+ A as cloneValue,
138
+ Rr as comboBoxPrefix,
139
+ _r as components,
140
+ kr as containers,
141
+ Dr as createKendoPasteEvent,
142
+ Me as createPropsContext,
143
+ Ur as cssUtils,
144
+ Kr as cursor,
145
+ Wr as dateInputs,
146
+ Vr as ddbPrefix,
147
+ lr as deepMerge,
143
148
  n as defaultValue,
144
- Or as dimensions,
145
- wr as directionMap,
146
- v as disableNavigatableContainer,
147
- Ae as dispatchEvent,
148
- Ir as dispatchKendoPasteEvent,
149
- _r as dropDownListPrefix,
150
- kr as elements,
151
- M as enableNavigatableContainer,
149
+ Gr as dimensions,
150
+ Hr as directionMap,
151
+ T as disableNavigatableContainer,
152
+ be as dispatchEvent,
153
+ Mr as dispatchKendoPasteEvent,
154
+ jr as dropDownListPrefix,
155
+ Zr as elements,
156
+ v as enableNavigatableContainer,
152
157
  ae as extendDataItem,
153
- Rr as fillModeMap,
158
+ zr as fillModeMap,
154
159
  S as firstFocusableChild,
155
160
  B as focusFirstFocusableChild,
156
161
  L as focusLastFocusableChild,
157
162
  F as focusableChildren,
158
- Ur as forms,
159
- Ro as getActiveElement,
160
- Yo as getAllDirectIndirectChildrenIds,
161
- qo as getAllParents,
162
- Vo as getFileExtensionIcon,
163
- Uo as getInnerActiveElement,
163
+ Xr as forms,
164
+ Vo as getActiveElement,
165
+ $o as getAllDirectIndirectChildrenIds,
166
+ er as getAllParents,
167
+ jo as getFileExtensionIcon,
168
+ Go as getInnerActiveElement,
164
169
  ne as getItemPath,
165
- Cr as getKendoPasteEventTarget,
170
+ Tr as getKendoPasteEventTarget,
166
171
  fe as getLicenseMessage,
167
- sr as getNestedValue,
172
+ Pr as getModelContext,
173
+ ir as getNestedValue,
168
174
  X as getScrollbarWidth,
169
- k as getTabIndex,
175
+ _ as getTabIndex,
170
176
  U as getter,
171
- Kr as grid,
172
- Vr as gridPrefix,
173
- Wr as gridRowReorder,
174
- V as guid,
175
- Jo as hasChildren,
177
+ Yr as grid,
178
+ qr as gridPrefix,
179
+ Jr as gridRowReorder,
180
+ W as guid,
181
+ or as hasChildren,
176
182
  ce as hasRelativeStackingContext,
177
183
  de as hasValidLicense,
178
- Gr as icon,
179
- Hr as inputPrefix,
180
- jr as inputs,
181
- ar as isArray,
182
- Qo as isEnabledAndAllParentsEnabled,
183
- $o as isItemExpandedAndWithChildren,
184
- fr as isObject,
185
- dr as isPromise,
186
- Zr as jsonTheme,
184
+ Qr as icon,
185
+ $r as inputPrefix,
186
+ et as inputs,
187
+ xr as isArray,
188
+ rr as isEnabledAndAllParentsEnabled,
189
+ tr as isItemExpandedAndWithChildren,
190
+ cr as isObject,
191
+ Ir as isPromise,
192
+ ot as jsonTheme,
187
193
  N as keepFocusInContainer,
188
- No as kendoThemeMaps,
189
- zr as labels,
194
+ Ro as kendoThemeMaps,
195
+ rt as labels,
190
196
  y as lastFocusableChild,
191
197
  me as mapTree,
192
198
  ie as mapTreeItem,
193
- Xr as maskedPrefix,
194
- Oo as memoizeOne,
199
+ tt as maskedPrefix,
200
+ ko as memoizeOne,
195
201
  Z as noop,
196
- Yr as orientationMap,
197
- qr as pickerPrefix,
198
- Jr as popup,
199
- pt as radioButtonClasses,
200
- st as radioGroupClasses,
201
- Qr as radioPrefix,
202
- er as removeItem,
203
- or as resolveItemId,
204
- rr as resolveItemsIds,
205
- $r as roundedMap,
202
+ pt as orientationMap,
203
+ st as pickerPrefix,
204
+ at as popup,
205
+ ut as radioButtonClasses,
206
+ lt as radioGroupClasses,
207
+ nt as radioPrefix,
208
+ pr as removeItem,
209
+ sr as resolveItemId,
210
+ ar as resolveItemsIds,
211
+ mt as roundedMap,
206
212
  Y as setScrollbarWidth,
207
213
  J as setter,
208
- et as sizeMap,
209
- ot as states,
214
+ it as sizeMap,
215
+ xt as states,
210
216
  C as strippedClassNames,
211
- dt as subscribeToKendoPaste,
212
- Io as svgIconPropType,
213
- rt as themeColorMap,
214
- Co as toIconClass,
215
- Eo as toIconName,
217
+ bt as subscribeToKendoPaste,
218
+ Po as svgIconPropType,
219
+ ft as themeColorMap,
220
+ bo as toIconClass,
221
+ ho as toIconName,
216
222
  e as treeIdUtils,
217
- ct as uAnimation,
218
- Ct as uButton,
219
- Et as uButtonGroup,
220
- At as uCalendar,
221
- Mt as uComboBox,
222
- ht as uDateInput,
223
- bt as uDateTimePicker,
224
- gt as uDropDownButton,
225
- St as uDropDownList,
226
- Bt as uDropDownsActionSheet,
227
- Lt as uDropDownsBase,
228
- Nt as uError,
229
- yt as uFloatingLabel,
230
- kt as uForm,
231
- Ut as uGrid,
232
- Ot as uHint,
233
- at as uInput,
234
- wt as uLabel,
235
- nt as uMaskedTextBox,
236
- Vt as uPopup,
237
- mt as uRadioButton,
238
- it as uRadioGroup,
239
- Gt as uSvgIcon,
240
- xt as uTextBox,
241
- Dt as uTime,
242
- Tt as uTimePicker,
243
- tr as updateItem,
223
+ Dt as uAnimation,
224
+ Tt as uButton,
225
+ vt as uButtonGroup,
226
+ Lt as uCalendar,
227
+ Rt as uComboBox,
228
+ Ft as uDateInput,
229
+ Nt as uDateTimePicker,
230
+ St as uDropDownButton,
231
+ _t as uDropDownList,
232
+ kt as uDropDownsActionSheet,
233
+ Ut as uDropDownsBase,
234
+ Wt as uError,
235
+ Vt as uFloatingLabel,
236
+ Zt as uForm,
237
+ Xt as uGrid,
238
+ Gt as uHint,
239
+ ct as uInput,
240
+ Ht as uLabel,
241
+ It as uMaskedTextBox,
242
+ qt as uPopup,
243
+ Ct as uRadioButton,
244
+ Et as uRadioGroup,
245
+ Qt as uSvgIcon,
246
+ gt as uTextBox,
247
+ yt as uTime,
248
+ Ot as uTimePicker,
249
+ nr as updateItem,
244
250
  m as useAdaptiveModeContext,
245
- Re as useAsyncFocusBlur,
251
+ ke as useAsyncFocusBlur,
246
252
  Ye as useCollection,
247
253
  He as useCustomComponent,
248
- _e as useDir,
254
+ Re as useDir,
249
255
  Je as useDocument,
250
- So as useDraggable,
251
- Lo as useDroppable,
256
+ No as useDraggable,
257
+ Oo as useDroppable,
252
258
  oo as useId,
253
259
  so as useImmediateInheritState,
254
260
  to as useIsomorphicLayoutEffect,
255
- ut as useKendoPaste,
256
- We as useMouse,
261
+ ht as useKendoPaste,
262
+ io as useMergedRef,
263
+ Ve as useMouse,
264
+ no as usePaidChildrenWatermark,
257
265
  Ze as usePropsContext,
258
266
  Ke as useRtl,
259
- Pr as useUnstyled,
267
+ Br as useUnstyled,
268
+ br as useWebMcpRegister,
260
269
  $e as useWindow,
261
270
  p as useZIndexContext,
262
271
  ue as validatePackage,
263
272
  Ne as withAdaptiveModeContext,
264
273
  Se as withIdHOC,
265
- ve as withPropsContext,
274
+ Te as withPropsContext,
266
275
  Le as withUnstyledHOC,
267
276
  Oe as withZIndexContext
268
277
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-common",
3
- "version": "14.5.0-develop.9",
3
+ "version": "15.0.0-develop.2",
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",
@@ -52,10 +52,6 @@ export interface ButtonWrapperClasses {
52
52
  warning?: string;
53
53
  /** Error theme color */
54
54
  error?: string;
55
- /** Dark theme color */
56
- dark?: string;
57
- /** Light theme color */
58
- light?: string;
59
55
  /** Inverse theme color */
60
56
  inverse?: string;
61
57
  };
@@ -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 c=require("./interfaces/common.js"),e=require("./json-classes.js"),d={wrapper:{main:e.buttonPrefix,size:{xs:`${e.buttonPrefix}-${e.sizeMap.xsmall}`,small:`${e.buttonPrefix}-${e.sizeMap.small}`,medium:`${e.buttonPrefix}-${e.sizeMap.medium}`,large:`${e.buttonPrefix}-${e.sizeMap.large}`},fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}`},themeColor:{base:`${e.buttonPrefix}-${e.themeColorMap.base}`,primary:`${e.buttonPrefix}-${e.themeColorMap.primary}`,secondary:`${e.buttonPrefix}-${e.themeColorMap.secondary}`,tertiary:`${e.buttonPrefix}-${e.themeColorMap.tertiary}`,info:`${e.buttonPrefix}-${e.themeColorMap.info}`,success:`${e.buttonPrefix}-${e.themeColorMap.success}`,warning:`${e.buttonPrefix}-${e.themeColorMap.warning}`,error:`${e.buttonPrefix}-${e.themeColorMap.error}`,dark:`${e.buttonPrefix}-${e.themeColorMap.dark}`,light:`${e.buttonPrefix}-${e.themeColorMap.light}`,inverse:`${e.buttonPrefix}-${e.themeColorMap.inverse}`},rounded:{small:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.small}`,medium:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.medium}`,large:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.large}`},iconButton:`${e.base.prefix}-${e.elements.icon}-${e.elements.button}`,disabled:`${e.base.prefix}-${e.states.disabled}`,selected:`${e.base.prefix}-${e.states.selected}`,isRtl:`${e.base.prefix}-${e.base.rtl}`},text:`${e.buttonPrefix}-${e.elements.text}`,icon:`${e.buttonPrefix}-${e.elements.icon}`},x={wrapper:o=>{const{isRtl:r,selected:n,disabled:s,size:t,fillMode:u,rounded:a,themeColor:$,iconButton:f,c:m=d}=o,i=m.wrapper,p=$&&i.themeColor?i.themeColor[$]:void 0;return{[i.main]:!0,[i.size[t]]:t&&i.size[t],[`${e.buttonPrefix}-${t}`]:t&&!i.size[t],[i.fillMode[u]]:u&&i.fillMode[u],[p]:p,[i.rounded[a]]:a&&i.rounded[a],[`${e.base.prefix}-${e.base.rounded}-${a}`]:a&&!i.rounded[a],[i.iconButton]:f,[i.disabled]:s,[i.selected]:n,[i.isRtl]:r}},text:o=>{const{c:r=d}=o;return{[r.text]:!0}},icon:o=>{const{c:r=d}=o;return{[r.icon]:!0}}},b={wrapper:{main:`${e.buttonPrefix}-${e.containers.group}`,stretched:`${e.buttonPrefix}-${e.containers.group}-${e.states.stretched}`,disabled:`${e.base.prefix}-${e.states.disabled}`},position:{start:`${e.base.prefix}-${e.containers.group}-${e.directionMap.start}`,end:`${e.base.prefix}-${e.containers.group}-${e.directionMap.end}`}},M={wrapper:o=>{const{stretched:r,disabled:n,c:s=b}=o,t=s.wrapper;return{[t.main]:!0,[t.stretched]:r,[t.disabled]:n}},position:o=>{const{start:r,end:n,c:s=b}=o,t=s.position;return{[t.start]:r,[t.end]:n}}},l={wrapper:{main:`${e.ddbPrefix}-${e.elements.button}`,focus:`${e.base.prefix}-${e.states.focus}`,disabled:`${e.base.prefix}-${e.states.disabled}`},ul:{group:`${e.ddbPrefix}-${e.containers.group}`,size:{small:`${e.ddbPrefix}-${e.containers.group}-${e.sizeMap.small}`,medium:`${e.ddbPrefix}-${e.containers.group}-${e.sizeMap.medium}`,large:`${e.ddbPrefix}-${e.containers.group}-${e.sizeMap.large}`}},li:{item:`${e.base.prefix}-${e.containers.item}`,focus:`${e.base.prefix}-${e.states.focus}`},item:`${e.ddbPrefix}-${e.containers.item}`,link:{main:`${e.base.prefix}-${e.elements.link}`,link:`${e.ddbPrefix}-${e.elements.link}`,selected:`${e.base.prefix}-${e.states.selected}`,disabled:`${e.base.prefix}-${e.states.disabled}`},popup:`${e.ddbPrefix}-${e.containers.popup}`},P={wrapper:o=>{const{focused:r,disabled:n,c:s=l}=o,t=s.wrapper;return{[t.main]:!0,[t.focus]:r,[t.disabled]:n}},ul:o=>{const{size:r,c:n=l}=o,s=n.ul;return{[s.group]:!0,[s.size[r]]:s.size[r],[`${e.ddbPrefix}-${e.containers.group}-${r}`]:r&&!s.size[r]}},li:o=>{const{focused:r,c:n=l}=o,s=n.li;return{[s.item]:!0,[s.focus]:r}},item:c.getClassByName(l,"item"),link:o=>{const{selected:r,disabled:n,c:s=l}=o,t=s.link;return{[t.main]:!0,[t.link]:!0,[t.selected]:r,[t.disabled]:n}},popup:c.getClassByName(l,"popup")};exports.uButton=x;exports.uButtonGroup=M;exports.uDropDownButton=P;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./interfaces/common.js"),e=require("./json-classes.js"),d={wrapper:{main:e.buttonPrefix,size:{xs:`${e.buttonPrefix}-${e.sizeMap.xsmall}`,small:`${e.buttonPrefix}-${e.sizeMap.small}`,medium:`${e.buttonPrefix}-${e.sizeMap.medium}`,large:`${e.buttonPrefix}-${e.sizeMap.large}`},fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}`},themeColor:{base:`${e.buttonPrefix}-${e.themeColorMap.base}`,primary:`${e.buttonPrefix}-${e.themeColorMap.primary}`,secondary:`${e.buttonPrefix}-${e.themeColorMap.secondary}`,tertiary:`${e.buttonPrefix}-${e.themeColorMap.tertiary}`,info:`${e.buttonPrefix}-${e.themeColorMap.info}`,success:`${e.buttonPrefix}-${e.themeColorMap.success}`,warning:`${e.buttonPrefix}-${e.themeColorMap.warning}`,error:`${e.buttonPrefix}-${e.themeColorMap.error}`,inverse:`${e.buttonPrefix}-${e.themeColorMap.inverse}`},rounded:{small:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.small}`,medium:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.medium}`,large:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.large}`},iconButton:`${e.base.prefix}-${e.elements.icon}-${e.elements.button}`,disabled:`${e.base.prefix}-${e.states.disabled}`,selected:`${e.base.prefix}-${e.states.selected}`,isRtl:`${e.base.prefix}-${e.base.rtl}`},text:`${e.buttonPrefix}-${e.elements.text}`,icon:`${e.buttonPrefix}-${e.elements.icon}`},M={wrapper:o=>{const{isRtl:t,selected:i,disabled:s,size:r,fillMode:u,rounded:a,themeColor:$,iconButton:m,c:x=d}=o,n=x.wrapper,p=$&&n.themeColor?n.themeColor[$]:void 0,c=r?n.size[r]||`${e.buttonPrefix}-${r}`:void 0;return{[n.main]:!0,[c]:!!c,[n.fillMode[u]]:u&&n.fillMode[u],[p]:p,[n.rounded[a]]:a&&n.rounded[a],[`${e.base.prefix}-${e.base.rounded}-${a}`]:a&&!n.rounded[a],[n.iconButton]:m,[n.disabled]:s,[n.selected]:i,[n.isRtl]:t}},text:o=>{const{c:t=d}=o;return{[t.text]:!0}},icon:o=>{const{c:t=d}=o;return{[t.icon]:!0}}},f={wrapper:{main:`${e.buttonPrefix}-${e.containers.group}`,stretched:`${e.buttonPrefix}-${e.containers.group}-${e.states.stretched}`,disabled:`${e.base.prefix}-${e.states.disabled}`},position:{start:`${e.base.prefix}-${e.containers.group}-${e.directionMap.start}`,end:`${e.base.prefix}-${e.containers.group}-${e.directionMap.end}`}},P={wrapper:o=>{const{stretched:t,disabled:i,c:s=f}=o,r=s.wrapper;return{[r.main]:!0,[r.stretched]:t,[r.disabled]:i}},position:o=>{const{start:t,end:i,c:s=f}=o,r=s.position;return{[r.start]:t,[r.end]:i}}},l={wrapper:{main:`${e.ddbPrefix}-${e.elements.button}`,focus:`${e.base.prefix}-${e.states.focus}`,disabled:`${e.base.prefix}-${e.states.disabled}`},ul:{group:`${e.ddbPrefix}-${e.containers.group}`,size:{small:`${e.ddbPrefix}-${e.containers.group}-${e.sizeMap.small}`,medium:`${e.ddbPrefix}-${e.containers.group}-${e.sizeMap.medium}`,large:`${e.ddbPrefix}-${e.containers.group}-${e.sizeMap.large}`}},li:{item:`${e.base.prefix}-${e.containers.item}`,focus:`${e.base.prefix}-${e.states.focus}`},item:`${e.ddbPrefix}-${e.containers.item}`,link:{main:`${e.base.prefix}-${e.elements.link}`,link:`${e.ddbPrefix}-${e.elements.link}`,selected:`${e.base.prefix}-${e.states.selected}`,disabled:`${e.base.prefix}-${e.states.disabled}`},popup:`${e.ddbPrefix}-${e.containers.popup}`},g={wrapper:o=>{const{focused:t,disabled:i,c:s=l}=o,r=s.wrapper;return{[r.main]:!0,[r.focus]:t,[r.disabled]:i}},ul:o=>{const{size:t,c:i=l}=o,s=i.ul;return{[s.group]:!0,[s.size[t]]:s.size[t],[`${e.ddbPrefix}-${e.containers.group}-${t}`]:t&&!s.size[t]}},li:o=>{const{focused:t,c:i=l}=o,s=i.li;return{[s.item]:!0,[s.focus]:t}},item:b.getClassByName(l,"item"),link:o=>{const{selected:t,disabled:i,c:s=l}=o,r=s.link;return{[r.main]:!0,[r.link]:!0,[r.selected]:t,[r.disabled]:i}},popup:b.getClassByName(l,"popup")};exports.uButton=M;exports.uButtonGroup=P;exports.uDropDownButton=g;