@progress/kendo-react-common 8.4.0-develop.3 → 8.4.0-develop.4
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/classNames.js +1 -1
- package/classNames.mjs +8 -7
- package/dist/cdn/js/kendo-react-common.js +1 -1
- package/index.d.mts +12 -6
- package/index.d.ts +12 -6
- package/index.js +1 -1
- package/index.mjs +205 -204
- package/package.json +1 -1
- package/unstyled/buttons.js +1 -1
- package/unstyled/buttons.mjs +115 -87
- package/unstyled/dateinputs.js +1 -1
- package/unstyled/dateinputs.mjs +99 -93
- package/unstyled/dropdowns.js +1 -1
- package/unstyled/dropdowns.mjs +94 -92
- package/unstyled/form.js +1 -1
- package/unstyled/form.mjs +20 -22
- package/unstyled/inputs.js +1 -1
- package/unstyled/inputs.mjs +77 -87
- 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 +7 -6
package/index.d.ts
CHANGED
|
@@ -267,6 +267,7 @@ export declare const buttonPrefix: string;
|
|
|
267
267
|
*/
|
|
268
268
|
export declare interface ButtonsClassStructure {
|
|
269
269
|
uButton?: WidgetClassStructure;
|
|
270
|
+
uButtonGroup?: WidgetClassStructure;
|
|
270
271
|
uDropDownButton?: WidgetClassStructure;
|
|
271
272
|
}
|
|
272
273
|
|
|
@@ -394,6 +395,7 @@ export declare const cssUtils: {
|
|
|
394
395
|
center: string;
|
|
395
396
|
hbox: string;
|
|
396
397
|
vstack: string;
|
|
398
|
+
hstack: string;
|
|
397
399
|
overflow: string;
|
|
398
400
|
};
|
|
399
401
|
|
|
@@ -891,7 +893,6 @@ export declare const focusLastFocusableChild: (element: HTMLElement, elementsSel
|
|
|
891
893
|
*/
|
|
892
894
|
export declare interface FormClassStructure {
|
|
893
895
|
uForm?: WidgetClassStructure;
|
|
894
|
-
uFormField?: WidgetClassStructure;
|
|
895
896
|
}
|
|
896
897
|
|
|
897
898
|
/**
|
|
@@ -1932,6 +1933,11 @@ export declare const states: {
|
|
|
1932
1933
|
bottom: string;
|
|
1933
1934
|
};
|
|
1934
1935
|
|
|
1936
|
+
/**
|
|
1937
|
+
* @hidden
|
|
1938
|
+
*/
|
|
1939
|
+
export declare const strippedClassNames: (...args: any[]) => string;
|
|
1940
|
+
|
|
1935
1941
|
/**
|
|
1936
1942
|
* @hidden
|
|
1937
1943
|
*/
|
|
@@ -2245,6 +2251,11 @@ export declare const uAnimation: WidgetClassStructure;
|
|
|
2245
2251
|
*/
|
|
2246
2252
|
export declare const uButton: WidgetClassStructure;
|
|
2247
2253
|
|
|
2254
|
+
/**
|
|
2255
|
+
* @hidden
|
|
2256
|
+
*/
|
|
2257
|
+
export declare const uButtonGroup: WidgetClassStructure;
|
|
2258
|
+
|
|
2248
2259
|
/**
|
|
2249
2260
|
* @hidden
|
|
2250
2261
|
*/
|
|
@@ -2300,11 +2311,6 @@ export declare const uFloatingLabel: WidgetClassStructure;
|
|
|
2300
2311
|
*/
|
|
2301
2312
|
export declare const uForm: WidgetClassStructure;
|
|
2302
2313
|
|
|
2303
|
-
/**
|
|
2304
|
-
* @hidden
|
|
2305
|
-
*/
|
|
2306
|
-
export declare const uFormField: WidgetClassStructure;
|
|
2307
|
-
|
|
2308
2314
|
/**
|
|
2309
2315
|
* @hidden
|
|
2310
2316
|
*/
|
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"),
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./tree-utils/itemIdUtils.js"),p=require("./contexts/ZIndexContext.js"),P=require("./browser-support.service.js"),S=require("./canUseDOM.js"),v=require("./canUseRef.js"),m=require("./classNames.js"),s=require("./clone.js"),o=require("./trappedFocus.js"),A=require("./FormComponent.js"),f=require("./getTabIndex.js"),T=require("./getter.js"),y=require("./guid.js"),I=require("./keys.js"),B=require("./noop.js"),C=require("./scrollbarWidth.js"),F=require("./setter.js"),i=require("./constants/main.js"),u=require("./treeDataOperations.js"),g=require("./validate-package.js"),L=require("./hasRelativeStackingContext.js"),M=require("./watermark/WatermarkOverlay.js"),w=require("./events/dispatchEvent.js"),k=require("./hocs/AsyncFocusBlur.js"),q=require("./hocs/withPropsContext.js"),O=require("./hocs/use-id-hoc.js"),N=require("./hocs/use-unstyled-hoc.js"),U=require("./hooks/useDir.js"),R=require("./hooks/useAsyncFocusBlur.js"),W=require("./hooks/useRtl.js"),_=require("./hooks/useMouse.js"),H=require("./hooks/useCustomComponent.js"),G=require("./hooks/usePropsContext.js"),b=require("./hooks/useCollection.js"),j=require("./hooks/useDocument.js"),V=require("./hooks/useWindow.js"),z=require("./hooks/use-id.js"),Z=require("./hooks/use-isomorphic-layout-effect.js"),K=require("./icons/Icon.js"),X=require("./icons/SvgIcon.js"),Y=require("./icons/IconWrap.js"),$=require("./icons/IconsContext.js"),l=require("./icons/utils.js"),J=require("./typography/Typography.js"),Q=require("./drag-n-drop/index.js"),ee=require("./Draggable.js"),te=require("./Droppable.js"),oe=require("./hooks/useDraggable.js"),re=require("./hooks/useDroppable.js"),se=require("./theme.js"),ne=require("./memoize.js"),ie=require("./navigation.js"),h=require("./getActiveElement.js"),ue=require("./tree-utils/FieldsService.js"),ae=require("./tree-utils/SortedPublicItemIds.js"),t=require("./tree-utils/itemUtils.js"),x=require("./tree-utils/misc.js"),ce=require("./rowHeightService.js"),D=require("./unstyled/main.js"),le=require("./unstyled/animations.js"),de=require("./unstyled/icons.js"),d=require("./unstyled/buttons.js"),a=require("./unstyled/dropdowns.js"),n=require("./unstyled/dateinputs.js"),r=require("./unstyled/inputs.js"),c=require("./unstyled/labels.js"),pe=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=p.ZIndexContext;exports.useZIndexContext=p.useZIndexContext;exports.BrowserSupportService=P.BrowserSupportService;exports.canUseDOM=S.canUseDOM;exports.canUseRef=v.canUseRef;exports.classNames=m.classNames;exports.strippedClassNames=m.strippedClassNames;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=A.FormComponent;exports.getTabIndex=f.getTabIndex;exports.getter=T.getter;exports.guid=y.guid;exports.KEYS=I.KEYS;exports.Keys=I.Keys;exports.noop=B.noop;exports.getScrollbarWidth=C.getScrollbarWidth;exports.setScrollbarWidth=C.setScrollbarWidth;exports.setter=F.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=g.shouldShowValidationUI;exports.validatePackage=g.validatePackage;exports.hasRelativeStackingContext=L.hasRelativeStackingContext;exports.WatermarkOverlay=M.WatermarkOverlay;exports.dispatchEvent=w.dispatchEvent;exports.AsyncFocusBlur=k.AsyncFocusBlur;exports.createPropsContext=q.createPropsContext;exports.withPropsContext=q.withPropsContext;exports.withIdHOC=O.withIdHOC;exports.withUnstyledHOC=N.withUnstyledHOC;exports.useDir=U.useDir;exports.useAsyncFocusBlur=R.useAsyncFocusBlur;exports.useRtl=W.useRtl;exports.useMouse=_.useMouse;exports.useCustomComponent=H.useCustomComponent;exports.usePropsContext=G.usePropsContext;exports.COLLECTION_ACTION=b.COLLECTION_ACTION;exports.useCollection=b.useCollection;exports.useDocument=j.useDocument;exports.useWindow=V.useWindow;exports.useId=z.useId;exports.useIsomorphicLayoutEffect=Z.useIsomorphicLayoutEffect;exports.Icon=K.Icon;exports.SvgIcon=X.SvgIcon;exports.IconWrap=Y.IconWrap;exports.IconsContext=$.IconsContext;exports.svgIconPropType=l.svgIconPropType;exports.toIconClass=l.toIconClass;exports.toIconName=l.toIconName;exports.Typography=J.Typography;exports.DragAndDrop=Q.DragAndDrop;exports.Draggable=ee.Draggable;exports.Droppable=te.Droppable;exports.useDraggable=oe.useDraggable;exports.useDroppable=re.useDroppable;exports.kendoThemeMaps=se.kendoThemeMaps;exports.memoizeOne=ne.memoizeOne;exports.Navigation=ie.Navigation;exports.getActiveElement=h.getActiveElement;exports.getInnerActiveElement=h.getInnerActiveElement;exports.TreeFieldsService=ue.TreeFieldsService;exports.SortedPublicItemIds=ae.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=x.getNestedValue;exports.isArray=x.isArray;exports.RowHeightService=ce.RowHeightService;exports.UnstyledContext=D.UnstyledContext;exports.useUnstyled=D.useUnstyled;exports.uAnimation=le.uAnimation;exports.uSvgIcon=de.uSvgIcon;exports.uButton=d.uButton;exports.uButtonGroup=d.uButtonGroup;exports.uDropDownButton=d.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=pe.uForm;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
|
@@ -9,230 +9,231 @@
|
|
|
9
9
|
import * as e from "./tree-utils/itemIdUtils.mjs";
|
|
10
10
|
import { ZIndexContext as t, useZIndexContext as p } from "./contexts/ZIndexContext.mjs";
|
|
11
11
|
import { BrowserSupportService as a } from "./browser-support.service.mjs";
|
|
12
|
-
import { canUseDOM as
|
|
12
|
+
import { canUseDOM as n } from "./canUseDOM.mjs";
|
|
13
13
|
import { canUseRef as x } from "./canUseRef.mjs";
|
|
14
|
-
import { classNames as l } from "./classNames.mjs";
|
|
15
|
-
import { clone as
|
|
16
|
-
import { applyTrappedFocus as
|
|
17
|
-
import { FormComponent as
|
|
18
|
-
import { getTabIndex as
|
|
14
|
+
import { classNames as l, strippedClassNames as u } from "./classNames.mjs";
|
|
15
|
+
import { clone as c, cloneArray as I, cloneDate as C, cloneObject as h, cloneValue as b } from "./clone.mjs";
|
|
16
|
+
import { applyTrappedFocus as E, disableNavigatableContainer as D, enableNavigatableContainer as P, firstFocusableChild as A, focusFirstFocusableChild as S, focusLastFocusableChild as T, focusableChildren as B, keepFocusInContainer as v, lastFocusableChild as F } from "./trappedFocus.mjs";
|
|
17
|
+
import { FormComponent as L } from "./FormComponent.mjs";
|
|
18
|
+
import { getTabIndex as w } from "./getTabIndex.mjs";
|
|
19
19
|
import { getter as k } from "./getter.mjs";
|
|
20
|
-
import { guid as
|
|
21
|
-
import { KEYS as
|
|
22
|
-
import { noop as
|
|
23
|
-
import { getScrollbarWidth as
|
|
24
|
-
import { setter as
|
|
25
|
-
import { FIELD_REGEX as
|
|
26
|
-
import { extendDataItem as
|
|
27
|
-
import { shouldShowValidationUI as
|
|
20
|
+
import { guid as U } from "./guid.mjs";
|
|
21
|
+
import { KEYS as W, Keys as _ } from "./keys.mjs";
|
|
22
|
+
import { noop as H } from "./noop.mjs";
|
|
23
|
+
import { getScrollbarWidth as j, setScrollbarWidth as z } from "./scrollbarWidth.mjs";
|
|
24
|
+
import { setter as Z } from "./setter.mjs";
|
|
25
|
+
import { FIELD_REGEX as Y, FOCUSABLE_ELEMENTS as q, FOCUSABLE_ELEMENTS_BASE as J, TABBABLE_ELEMENTS as Q } from "./constants/main.mjs";
|
|
26
|
+
import { extendDataItem as ee, getItemPath as oe, mapTree as re, mapTreeItem as te } from "./treeDataOperations.mjs";
|
|
27
|
+
import { shouldShowValidationUI as se, validatePackage as ae } from "./validate-package.mjs";
|
|
28
28
|
import { hasRelativeStackingContext as ne } from "./hasRelativeStackingContext.mjs";
|
|
29
|
-
import { WatermarkOverlay as
|
|
30
|
-
import { dispatchEvent as
|
|
31
|
-
import { AsyncFocusBlur as
|
|
32
|
-
import { createPropsContext as
|
|
33
|
-
import { withIdHOC as
|
|
34
|
-
import { withUnstyledHOC as
|
|
35
|
-
import { useDir as
|
|
36
|
-
import { useAsyncFocusBlur as
|
|
37
|
-
import { useRtl as
|
|
38
|
-
import { useMouse as
|
|
39
|
-
import { useCustomComponent as
|
|
40
|
-
import { usePropsContext as
|
|
41
|
-
import { COLLECTION_ACTION as ke, useCollection as
|
|
42
|
-
import { useDocument as
|
|
43
|
-
import { useWindow as
|
|
44
|
-
import { useId as
|
|
45
|
-
import { useIsomorphicLayoutEffect as
|
|
46
|
-
import { Icon as
|
|
47
|
-
import { SvgIcon as
|
|
48
|
-
import { IconWrap as
|
|
49
|
-
import { IconsContext as
|
|
50
|
-
import { svgIconPropType as
|
|
51
|
-
import { Typography as
|
|
52
|
-
import { DragAndDrop as
|
|
29
|
+
import { WatermarkOverlay as xe } from "./watermark/WatermarkOverlay.mjs";
|
|
30
|
+
import { dispatchEvent as le } from "./events/dispatchEvent.mjs";
|
|
31
|
+
import { AsyncFocusBlur as de } from "./hocs/AsyncFocusBlur.mjs";
|
|
32
|
+
import { createPropsContext as Ie, withPropsContext as Ce } from "./hocs/withPropsContext.mjs";
|
|
33
|
+
import { withIdHOC as be } from "./hocs/use-id-hoc.mjs";
|
|
34
|
+
import { withUnstyledHOC as Ee } from "./hocs/use-unstyled-hoc.mjs";
|
|
35
|
+
import { useDir as Pe } from "./hooks/useDir.mjs";
|
|
36
|
+
import { useAsyncFocusBlur as Se } from "./hooks/useAsyncFocusBlur.mjs";
|
|
37
|
+
import { useRtl as Be } from "./hooks/useRtl.mjs";
|
|
38
|
+
import { useMouse as Fe } from "./hooks/useMouse.mjs";
|
|
39
|
+
import { useCustomComponent as Le } from "./hooks/useCustomComponent.mjs";
|
|
40
|
+
import { usePropsContext as we } from "./hooks/usePropsContext.mjs";
|
|
41
|
+
import { COLLECTION_ACTION as ke, useCollection as Oe } from "./hooks/useCollection.mjs";
|
|
42
|
+
import { useDocument as Re } from "./hooks/useDocument.mjs";
|
|
43
|
+
import { useWindow as _e } from "./hooks/useWindow.mjs";
|
|
44
|
+
import { useId as He } from "./hooks/use-id.mjs";
|
|
45
|
+
import { useIsomorphicLayoutEffect as je } from "./hooks/use-isomorphic-layout-effect.mjs";
|
|
46
|
+
import { Icon as Ke } from "./icons/Icon.mjs";
|
|
47
|
+
import { SvgIcon as Xe } from "./icons/SvgIcon.mjs";
|
|
48
|
+
import { IconWrap as qe } from "./icons/IconWrap.mjs";
|
|
49
|
+
import { IconsContext as Qe } from "./icons/IconsContext.mjs";
|
|
50
|
+
import { svgIconPropType as eo, toIconClass as oo, toIconName as ro } from "./icons/utils.mjs";
|
|
51
|
+
import { Typography as po } from "./typography/Typography.mjs";
|
|
52
|
+
import { DragAndDrop as ao } from "./drag-n-drop/index.mjs";
|
|
53
53
|
import { Draggable as no } from "./Draggable.mjs";
|
|
54
|
-
import { Droppable as
|
|
55
|
-
import { useDraggable as
|
|
56
|
-
import { useDroppable as
|
|
57
|
-
import { kendoThemeMaps as
|
|
58
|
-
import { memoizeOne as
|
|
59
|
-
import { Navigation as
|
|
60
|
-
import { getActiveElement as
|
|
61
|
-
import { TreeFieldsService as
|
|
54
|
+
import { Droppable as xo } from "./Droppable.mjs";
|
|
55
|
+
import { useDraggable as lo } from "./hooks/useDraggable.mjs";
|
|
56
|
+
import { useDroppable as co } from "./hooks/useDroppable.mjs";
|
|
57
|
+
import { kendoThemeMaps as Co } from "./theme.mjs";
|
|
58
|
+
import { memoizeOne as bo } from "./memoize.mjs";
|
|
59
|
+
import { Navigation as Eo } from "./navigation.mjs";
|
|
60
|
+
import { getActiveElement as Po, getInnerActiveElement as Ao } from "./getActiveElement.mjs";
|
|
61
|
+
import { TreeFieldsService as To } from "./tree-utils/FieldsService.mjs";
|
|
62
62
|
import { SortedPublicItemIds as vo } from "./tree-utils/SortedPublicItemIds.mjs";
|
|
63
|
-
import { addItem as
|
|
64
|
-
import { getNestedValue as
|
|
65
|
-
import { RowHeightService as
|
|
66
|
-
import { UnstyledContext as
|
|
67
|
-
import { uAnimation as
|
|
68
|
-
import { uSvgIcon as
|
|
69
|
-
import { uButton as
|
|
70
|
-
import { uComboBox as
|
|
71
|
-
import { uCalendar as
|
|
72
|
-
import { radioButtonClasses as
|
|
73
|
-
import { uError as
|
|
74
|
-
import { uForm as
|
|
75
|
-
import { uPopup as
|
|
76
|
-
import { uGrid as
|
|
77
|
-
import { actions as
|
|
63
|
+
import { addItem as yo, areAllDirectChildrenChecked as Lo, getAllDirectIndirectChildrenIds as Mo, getAllParents as wo, hasChildren as No, isEnabledAndAllParentsEnabled as ko, isItemExpandedAndWithChildren as Oo, removeItem as Uo, resolveItemId as Ro, resolveItemsIds as Wo, updateItem as _o } from "./tree-utils/itemUtils.mjs";
|
|
64
|
+
import { getNestedValue as Ho, isArray as Vo } from "./tree-utils/misc.mjs";
|
|
65
|
+
import { RowHeightService as zo } from "./rowHeightService.mjs";
|
|
66
|
+
import { UnstyledContext as Zo, useUnstyled as Xo } from "./unstyled/main.mjs";
|
|
67
|
+
import { uAnimation as qo } from "./unstyled/animations.mjs";
|
|
68
|
+
import { uSvgIcon as Qo } from "./unstyled/icons.mjs";
|
|
69
|
+
import { uButton as er, uButtonGroup as or, uDropDownButton as rr } from "./unstyled/buttons.mjs";
|
|
70
|
+
import { uComboBox as pr, uDropDownList as sr, uDropDownsActionSheet as ar, uDropDownsBase as mr } from "./unstyled/dropdowns.mjs";
|
|
71
|
+
import { uCalendar as ir, uDateInput as xr, uDateTimePicker as fr, uTime as lr, uTimePicker as ur } from "./unstyled/dateinputs.mjs";
|
|
72
|
+
import { radioButtonClasses as cr, radioGroupClasses as Ir, uInput as Cr, uMaskedTextBox as hr, uRadioButton as br, uRadioGroup as gr, uTextBox as Er } from "./unstyled/inputs.mjs";
|
|
73
|
+
import { uError as Pr, uFloatingLabel as Ar, uHint as Sr, uLabel as Tr } from "./unstyled/labels.mjs";
|
|
74
|
+
import { uForm as vr } from "./unstyled/form.mjs";
|
|
75
|
+
import { uPopup as yr } from "./unstyled/popup.mjs";
|
|
76
|
+
import { uGrid as Mr } from "./unstyled/grid.mjs";
|
|
77
|
+
import { actions as Nr, animationStyles as kr, base as Or, buttonPrefix as Ur, calendarPrefix as Rr, comboBoxPrefix as Wr, components as _r, containers as Gr, cssUtils as Hr, cursor as Vr, dateInputs as jr, ddbPrefix as zr, dimensions as Kr, directionMap as Zr, dropDownListPrefix as Xr, elements as Yr, fillModeMap as qr, forms as Jr, grid as Qr, gridPrefix as $r, icon as et, inputPrefix as ot, inputs as rt, jsonTheme as tt, labels as pt, maskedPrefix as st, orientationMap as at, pickerPrefix as mt, popup as nt, radioPrefix as it, roundedMap as xt, sizeMap as ft, states as lt, themeColorMap as ut } from "./unstyled/json-classes.mjs";
|
|
78
78
|
export {
|
|
79
|
-
|
|
79
|
+
de as AsyncFocusBlur,
|
|
80
80
|
a as BrowserSupportService,
|
|
81
81
|
ke as COLLECTION_ACTION,
|
|
82
|
-
|
|
82
|
+
ao as DragAndDrop,
|
|
83
83
|
no as Draggable,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
84
|
+
xo as Droppable,
|
|
85
|
+
Y as FIELD_REGEX,
|
|
86
|
+
q as FOCUSABLE_ELEMENTS,
|
|
87
|
+
J as FOCUSABLE_ELEMENTS_BASE,
|
|
88
|
+
L as FormComponent,
|
|
89
|
+
Ke as Icon,
|
|
90
|
+
qe as IconWrap,
|
|
91
|
+
Qe as IconsContext,
|
|
92
|
+
W as KEYS,
|
|
93
|
+
_ as Keys,
|
|
94
|
+
Eo as Navigation,
|
|
95
|
+
zo as RowHeightService,
|
|
96
96
|
vo as SortedPublicItemIds,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
Xe as SvgIcon,
|
|
98
|
+
Q as TABBABLE_ELEMENTS,
|
|
99
|
+
To as TreeFieldsService,
|
|
100
|
+
po as Typography,
|
|
101
|
+
Zo as UnstyledContext,
|
|
102
|
+
xe as WatermarkOverlay,
|
|
103
103
|
t as ZIndexContext,
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
Nr as actions,
|
|
105
|
+
yo as addItem,
|
|
106
106
|
kr as animationStyles,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
107
|
+
E as applyTrappedFocus,
|
|
108
|
+
Lo as areAllDirectChildrenChecked,
|
|
109
|
+
Or as base,
|
|
110
|
+
Ur as buttonPrefix,
|
|
111
|
+
Rr as calendarPrefix,
|
|
112
|
+
n as canUseDOM,
|
|
113
113
|
x as canUseRef,
|
|
114
114
|
l as classNames,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
115
|
+
c as clone,
|
|
116
|
+
I as cloneArray,
|
|
117
|
+
C as cloneDate,
|
|
118
|
+
h as cloneObject,
|
|
119
|
+
b as cloneValue,
|
|
120
|
+
Wr as comboBoxPrefix,
|
|
121
|
+
_r as components,
|
|
122
|
+
Gr as containers,
|
|
123
|
+
Ie as createPropsContext,
|
|
124
|
+
Hr as cssUtils,
|
|
125
|
+
Vr as cursor,
|
|
126
|
+
jr as dateInputs,
|
|
127
|
+
zr as ddbPrefix,
|
|
128
|
+
Kr as dimensions,
|
|
129
|
+
Zr as directionMap,
|
|
130
|
+
D as disableNavigatableContainer,
|
|
131
|
+
le as dispatchEvent,
|
|
132
|
+
Xr as dropDownListPrefix,
|
|
133
|
+
Yr as elements,
|
|
134
|
+
P as enableNavigatableContainer,
|
|
135
|
+
ee as extendDataItem,
|
|
136
|
+
qr as fillModeMap,
|
|
137
|
+
A as firstFocusableChild,
|
|
138
|
+
S as focusFirstFocusableChild,
|
|
139
|
+
T as focusLastFocusableChild,
|
|
140
|
+
B as focusableChildren,
|
|
141
|
+
Jr as forms,
|
|
142
|
+
Po as getActiveElement,
|
|
143
|
+
Mo as getAllDirectIndirectChildrenIds,
|
|
144
|
+
wo as getAllParents,
|
|
145
|
+
Ao as getInnerActiveElement,
|
|
146
|
+
oe as getItemPath,
|
|
147
|
+
Ho as getNestedValue,
|
|
148
|
+
j as getScrollbarWidth,
|
|
149
|
+
w as getTabIndex,
|
|
150
150
|
k as getter,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
151
|
+
Qr as grid,
|
|
152
|
+
$r as gridPrefix,
|
|
153
|
+
U as guid,
|
|
154
|
+
No as hasChildren,
|
|
155
155
|
ne as hasRelativeStackingContext,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
156
|
+
et as icon,
|
|
157
|
+
ot as inputPrefix,
|
|
158
|
+
rt as inputs,
|
|
159
|
+
Vo as isArray,
|
|
160
160
|
ko as isEnabledAndAllParentsEnabled,
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
Oo as isItemExpandedAndWithChildren,
|
|
162
|
+
tt as jsonTheme,
|
|
163
163
|
v as keepFocusInContainer,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
164
|
+
Co as kendoThemeMaps,
|
|
165
|
+
pt as labels,
|
|
166
|
+
F as lastFocusableChild,
|
|
167
|
+
re as mapTree,
|
|
168
|
+
te as mapTreeItem,
|
|
169
|
+
st as maskedPrefix,
|
|
170
|
+
bo as memoizeOne,
|
|
171
|
+
H as noop,
|
|
172
|
+
at as orientationMap,
|
|
173
|
+
mt as pickerPrefix,
|
|
174
174
|
nt as popup,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
oo as
|
|
175
|
+
cr as radioButtonClasses,
|
|
176
|
+
Ir as radioGroupClasses,
|
|
177
|
+
it as radioPrefix,
|
|
178
|
+
Uo as removeItem,
|
|
179
|
+
Ro as resolveItemId,
|
|
180
|
+
Wo as resolveItemsIds,
|
|
181
|
+
xt as roundedMap,
|
|
182
|
+
z as setScrollbarWidth,
|
|
183
|
+
Z as setter,
|
|
184
|
+
se as shouldShowValidationUI,
|
|
185
|
+
ft as sizeMap,
|
|
186
|
+
lt as states,
|
|
187
|
+
u as strippedClassNames,
|
|
188
|
+
eo as svgIconPropType,
|
|
189
|
+
ut as themeColorMap,
|
|
190
|
+
oo as toIconClass,
|
|
191
|
+
ro as toIconName,
|
|
191
192
|
e as treeIdUtils,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
193
|
+
qo as uAnimation,
|
|
194
|
+
er as uButton,
|
|
195
|
+
or as uButtonGroup,
|
|
196
|
+
ir as uCalendar,
|
|
197
|
+
pr as uComboBox,
|
|
198
|
+
xr as uDateInput,
|
|
199
|
+
fr as uDateTimePicker,
|
|
200
|
+
rr as uDropDownButton,
|
|
201
|
+
sr as uDropDownList,
|
|
202
|
+
ar as uDropDownsActionSheet,
|
|
201
203
|
mr as uDropDownsBase,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
We as useWindow,
|
|
204
|
+
Pr as uError,
|
|
205
|
+
Ar as uFloatingLabel,
|
|
206
|
+
vr as uForm,
|
|
207
|
+
Mr as uGrid,
|
|
208
|
+
Sr as uHint,
|
|
209
|
+
Cr as uInput,
|
|
210
|
+
Tr as uLabel,
|
|
211
|
+
hr as uMaskedTextBox,
|
|
212
|
+
yr as uPopup,
|
|
213
|
+
br as uRadioButton,
|
|
214
|
+
gr as uRadioGroup,
|
|
215
|
+
Qo as uSvgIcon,
|
|
216
|
+
Er as uTextBox,
|
|
217
|
+
lr as uTime,
|
|
218
|
+
ur as uTimePicker,
|
|
219
|
+
_o as updateItem,
|
|
220
|
+
Se as useAsyncFocusBlur,
|
|
221
|
+
Oe as useCollection,
|
|
222
|
+
Le as useCustomComponent,
|
|
223
|
+
Pe as useDir,
|
|
224
|
+
Re as useDocument,
|
|
225
|
+
lo as useDraggable,
|
|
226
|
+
co as useDroppable,
|
|
227
|
+
He as useId,
|
|
228
|
+
je as useIsomorphicLayoutEffect,
|
|
229
|
+
Fe as useMouse,
|
|
230
|
+
we as usePropsContext,
|
|
231
|
+
Be as useRtl,
|
|
232
|
+
Xo as useUnstyled,
|
|
233
|
+
_e as useWindow,
|
|
233
234
|
p as useZIndexContext,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
235
|
+
ae as validatePackage,
|
|
236
|
+
be as withIdHOC,
|
|
237
|
+
Ce as withPropsContext,
|
|
238
|
+
Ee as withUnstyledHOC
|
|
238
239
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-common",
|
|
3
|
-
"version": "8.4.0-develop.
|
|
3
|
+
"version": "8.4.0-develop.4",
|
|
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",
|
package/unstyled/buttons.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("./json-classes.js"),
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("./interfaces/common.js"),e=require("./json-classes.js"),f={wrapper:{main:e.buttonPrefix,size:{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:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.base}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.base}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.base}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.base}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.base}`}},primary:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.primary}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.primary}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.primary}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.primary}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.primary}`}},secondary:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.secondary}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.secondary}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.secondary}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.secondary}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.secondary}`}},tertiary:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.tertiary}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.tertiary}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.tertiary}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.tertiary}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.tertiary}`}},info:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.info}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.info}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.info}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.info}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.info}`}},success:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.success}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.success}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.success}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.success}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.success}`}},warning:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.warning}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.warning}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.warning}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.warning}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.warning}`}},error:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.error}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.error}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.error}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.error}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.error}`}},dark:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.dark}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.dark}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.dark}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.dark}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.dark}`}},light:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.light}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.light}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.light}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.light}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.light}`}},inverse:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.inverse}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.inverse}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.inverse}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.inverse}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${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:i=>{const{isRtl:o,selected:r,disabled:l,size:t,fillMode:d,rounded:s,themeColor:b,iconButton:c,c:m=f}=i,a=m.wrapper,n=a.themeColor[b],p=n.fillMode[d];return{[a.main]:!0,[a.size[t]]:a.size[t],[`${e.buttonPrefix}-${t}`]:t&&!a.size[t],[a.fillMode[d]]:a.fillMode[d],[p]:p,[a.rounded[s]]:a.rounded[s],[`${e.base.prefix}-${e.base.rounded}-${s}`]:s&&!a.rounded[s],[a.iconButton]:c,[n.disabled]:l&&n&&n.disabled,[n.selected]:r&&n&&n.selected,[a.disabled]:l,[a.selected]:r,[a.isRtl]:o}},text:i=>{const{c:o=f}=i;return{[o.text]:!0}},icon:i=>{const{c:o=f}=i;return{[o.icon]:!0}}},u={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:i=>{const{stretched:o,disabled:r,c:l=u}=i,t=l.wrapper;return{[t.main]:!0,[t.stretched]:o,[t.disabled]:r}},position:i=>{const{start:o,end:r,c:l=u}=i,t=l.position;return{[t.start]:o,[t.end]:r}}},$={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}`},h={wrapper:i=>{const{focused:o,disabled:r,c:l=$}=i,t=l.wrapper;return{[t.main]:!0,[t.focus]:o,[t.disabled]:r}},ul:i=>{const{size:o,c:r=$}=i,l=r.ul;return{[l.group]:!0,[l.size[o]]:l.size[o],[`${e.ddbPrefix}-${e.containers.group}-${o}`]:o&&!l.size[o]}},li:i=>{const{focused:o,c:r=$}=i,l=r.li;return{[l.item]:!0,[l.focus]:o}},item:M.getClassByName($,"item"),link:i=>{const{selected:o,disabled:r,c:l=$}=i,t=l.link;return{[t.main]:!0,[t.link]:!0,[t.selected]:o,[t.disabled]:r}},popup:M.getClassByName($,"popup")};exports.uButton=x;exports.uButtonGroup=P;exports.uDropDownButton=h;
|