@progress/kendo-react-common 8.4.0-develop.5 → 8.4.0-develop.7
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 +1 -1
- package/dist/cdn/js/kendo-react-common.js +1 -1
- package/index.d.mts +1413 -45
- package/index.d.ts +1413 -45
- package/package.json +1 -1
- package/unstyled/buttons.mjs +3 -22
- package/unstyled/dateinputs.mjs +11 -52
- package/unstyled/dropdowns.js +1 -1
- package/unstyled/dropdowns.mjs +218 -234
- package/unstyled/grid.mjs +1 -7
- package/unstyled/icons.js +1 -1
- package/unstyled/icons.mjs +13 -14
- package/unstyled/json-classes.js +1 -1
- package/unstyled/json-classes.mjs +4 -4
package/unstyled/icons.mjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
9
|
import { base as e, icon as r, themeColorMap as i, sizeMap as p } from "./json-classes.mjs";
|
|
10
|
-
const
|
|
10
|
+
const c = {
|
|
11
11
|
wrapper: {
|
|
12
12
|
main: `${e.prefix}-${r.prefix}`,
|
|
13
13
|
svgPrefix: `${e.prefix}-${r.svg}-${r.prefix}`,
|
|
@@ -24,8 +24,7 @@ const n = {
|
|
|
24
24
|
warning: `${e.prefix}-${r.color}-${i.warning}`,
|
|
25
25
|
error: `${e.prefix}-${r.color}-${i.error}`,
|
|
26
26
|
dark: `${e.prefix}-${r.color}-${i.dark}`,
|
|
27
|
-
light: `${e.prefix}-${r.color}-${i.light}
|
|
28
|
-
inverse: `${e.prefix}-${r.color}-${i.inverse}`
|
|
27
|
+
light: `${e.prefix}-${r.color}-${i.light}`
|
|
29
28
|
},
|
|
30
29
|
size: {
|
|
31
30
|
default: "",
|
|
@@ -45,23 +44,23 @@ const n = {
|
|
|
45
44
|
}
|
|
46
45
|
}, m = {
|
|
47
46
|
wrapper: (o) => {
|
|
48
|
-
const { iconNameProp: x, themeColor: l, flipH:
|
|
47
|
+
const { iconNameProp: x, themeColor: l, flipH: a, flipV: f, size: s, c: n = c } = o, $ = n.wrapper || {};
|
|
49
48
|
return {
|
|
50
|
-
[$.main]: !0,
|
|
51
|
-
[$.svgPrefix]: !0,
|
|
49
|
+
[$.main || ""]: !0,
|
|
50
|
+
[$.svgPrefix || ""]: !0,
|
|
52
51
|
[`${$.namePrefix || ""}${x}`]: x,
|
|
53
|
-
[$.themeColor[l]]: l,
|
|
54
|
-
[$.flipH]:
|
|
55
|
-
[$.flipV]: f,
|
|
56
|
-
[$.size[
|
|
52
|
+
[$.themeColor[l] || ""]: l,
|
|
53
|
+
[$.flipH || ""]: a,
|
|
54
|
+
[$.flipV || ""]: f,
|
|
55
|
+
[$.size[s] || ""]: $.size[s]
|
|
57
56
|
};
|
|
58
57
|
},
|
|
59
58
|
svg: (o) => {
|
|
60
|
-
const { flipH: x, flipV: l, c:
|
|
59
|
+
const { flipH: x, flipV: l, c: a = c } = o, f = a.svg;
|
|
61
60
|
return {
|
|
62
|
-
[f.main]: !0,
|
|
63
|
-
[f.flipH]: x,
|
|
64
|
-
[f.flipV]: l
|
|
61
|
+
[f.main || ""]: !0,
|
|
62
|
+
[f.flipH || ""]: x,
|
|
63
|
+
[f.flipV || ""]: l
|
|
65
64
|
};
|
|
66
65
|
}
|
|
67
66
|
};
|
package/unstyled/json-classes.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={prefix:"k",important:"!",rtl:"rtl",rounded:"rounded",value:"value",state:"state",filter:"filter",virtual:"virtual",infinite:"infinite",clear:"clear",reset:"reset",data:"data",nodata:"nodata",scroller:"scroller"},n={center:"center",hbox:"hbox",vstack:"vstack",hstack:"hstack",overflow:"overflow"},t={actionsheet:"actionsheet",calendar:"calendar",buttongroup:"buttongroup",dateinput:"dateinput",datetime:"datetime",datetimepicker:"datetimepicker",dropdownlist:"dropdownlist",combobox:"combobox",maskedtextbox:"maskedtextbox",menu:"menu",searchbox:"searchbox",timepicker:"timepicker"},l={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",xxlarge:"xxl",xxxlarge:"xxxl"},s={solid:"solid",outline:"outline",flat:"flat",link:"link",clear:"clear"},c={base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inherit:"inherit",inverse:"inverse"},d={small:"sm",medium:"md",large:"lg",full:"full"},p={vertical:"vertical",horizontal:"horizontal"},m={height:"height",width:"width"},f={default:"cursor-default"},u={up:"up",down:"down",left:"left",right:"right",start:"start",mid:"mid",end:"end"},r={actions:"actions",container:"container",content:"content",group:"group",row:"row",nav:"nav",wrap:"wrap",wrapper:"wrapper",list:"list",placeholder:"placeholder",popup:"popup",item:"item",part:"part",picker:"picker",separator:"separator",spacer:"spacer",tab:"tab",titlebar:"titlebar",
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={prefix:"k",important:"!",rtl:"rtl",rounded:"rounded",value:"value",state:"state",filter:"filter",virtual:"virtual",infinite:"infinite",clear:"clear",reset:"reset",data:"data",nodata:"nodata",scroller:"scroller"},n={center:"center",hbox:"hbox",vstack:"vstack",hstack:"hstack",overflow:"overflow"},t={actionsheet:"actionsheet",calendar:"calendar",buttongroup:"buttongroup",dateinput:"dateinput",datetime:"datetime",datetimepicker:"datetimepicker",dropdownlist:"dropdownlist",combobox:"combobox",maskedtextbox:"maskedtextbox",menu:"menu",searchbox:"searchbox",timepicker:"timepicker"},l={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",xxlarge:"xxl",xxxlarge:"xxxl"},s={solid:"solid",outline:"outline",flat:"flat",link:"link",clear:"clear"},c={base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inherit:"inherit",inverse:"inverse"},d={small:"sm",medium:"md",large:"lg",full:"full"},p={vertical:"vertical",horizontal:"horizontal"},m={height:"height",width:"width"},f={default:"cursor-default"},u={up:"up",down:"down",left:"left",right:"right",start:"start",mid:"mid",end:"end"},r={actions:"actions",container:"container",content:"content",group:"group",row:"row",nav:"nav",wrap:"wrap",wrapper:"wrapper",list:"list",placeholder:"placeholder",popup:"popup",item:"item",part:"part",picker:"picker",separator:"separator",spacer:"spacer",tab:"tab",titlebar:"titlebar",optionLabel:"optionlabel",view:"view"},o={table:"table",text:"text",button:"button",tbody:"tbody",thead:"thead",tr:"tr",th:"th",td:"td",header:"header",footer:"footer",icon:"icon",title:"title",subtitle:"subtitle",link:"link",label:"label",ul:"ul",caption:"caption"},x={increase:"increase",decrease:"decrease",cancel:"cancel",accept:"accept",split:"split"},h={active:"active",adaptive:"adaptive",first:"first",focus:"focus",pending:"pending",last:"last",draggable:"draggable",filterable:"filterable",grouping:"grouping",selected:"selected",disabled:"disabled",hidden:"hidden",highlight:"highlight",invalid:"invalid",loading:"loading",required:"required",checked:"checked",empty:"empty",scrollable:"scrollable",sorted:"sorted",sort:"sort",sticky:"sticky",stretched:"stretched",order:"order",alt:"alt",edit:"edit",template:"template",shown:"shown",horizontal:"horizontal",vertical:"vertical",fullscreen:"fullscreen",bottom:"bottom"},b={prefix:"animation",child:"child",relative:"relative",slide:"slide",appear:"appear",active:"active",enter:"enter",exit:"exit",pushRight:"push-right",pushLeft:"push-left",pushDown:"push-down",pushUp:"push-up",expandVertical:"expand-vertical",expandHorizontal:"expand-horizontal",fade:"fade",zoomIn:"zoom-in",zoomOut:"zoom-out",slideIn:"slide-in",slideDown:"slide-down",slideUp:"slide-up",slideRight:"slide-right",slideLeft:"slide-left",revealVertical:"reveal-vertical",revealHorizontal:"reveal-horizontal","animation-container":"animation-container","animation-container-shown":"animation-container-shown","animation-container-relative":"animation-container-relative","animation-container-fixed":"animation-container-fixed","child-animation-container":"child-animation-container"},i={input:"input",inner:"inner",spin:"spin",spinner:"spinner",maskedtextbox:"maskedtextbox",radio:"radio",textbox:"textbox",prefix:"prefix",suffix:"suffix"},g={week:"week",weekdays:"weekdays",weekend:"weekend",month:"month",year:"year",decade:"decade",century:"century",number:"number",navigation:"navigation",marker:"marker",now:"now",range:"range",today:"today",other:"other",date:"date",time:"time",selector:"selector",timeselector:"timeselector"},v={prefix:"icon",svg:"svg",i:"i",color:"color",flipH:"flip-h",flipV:"flip-v"},w={label:"label",text:"text",floatingLabel:"floating-label",container:"container",hint:"form-hint",error:"form-error"},k={form:"form",field:"field"},y={prefix:"popup"},a={prefix:"grid",ariaRoot:"aria-root",tableWrap:"table-wrap",master:"master",column:"column",cell:"cell",cellInner:"cell-inner",row:"row",group:"group",hierarchy:"hierarchy",detail:"detail",noRecords:"norecords",pager:"pager"},P=`${e.prefix}-${i.input}`,$=`${e.prefix}-${t.calendar}`,M=`${e.prefix}-${t.maskedtextbox}`,z=`${e.prefix}-${i.radio}`,L=`${e.prefix}-${o.button}`,I=`${e.prefix}-${t.menu}`,D=`${e.prefix}-${r.picker}`,R=`${e.prefix}-${t.dropdownlist}`,S=`${e.prefix}-${t.combobox}`,U=`${e.prefix}-${a.prefix}`,j={base:e,actions:x,animation:b,sizeMap:l,components:t,cssUtils:n,directionMap:u,fillModeMap:s,themeColorMap:c,roundedMap:d,orientationMap:p,elements:o,states:h,dimensions:m,containers:r,cursor:f,inputs:i,dateInputs:g,labels:w,forms:k,popup:y,icon:v,grid:a};exports.actions=x;exports.animationStyles=b;exports.base=e;exports.buttonPrefix=L;exports.calendarPrefix=$;exports.comboBoxPrefix=S;exports.components=t;exports.containers=r;exports.cssUtils=n;exports.cursor=f;exports.dateInputs=g;exports.ddbPrefix=I;exports.dimensions=m;exports.directionMap=u;exports.dropDownListPrefix=R;exports.elements=o;exports.fillModeMap=s;exports.forms=k;exports.grid=a;exports.gridPrefix=U;exports.icon=v;exports.inputPrefix=P;exports.inputs=i;exports.jsonTheme=j;exports.labels=w;exports.maskedPrefix=M;exports.orientationMap=p;exports.pickerPrefix=D;exports.popup=y;exports.radioPrefix=z;exports.roundedMap=d;exports.sizeMap=l;exports.states=h;exports.themeColorMap=c;
|
|
@@ -107,7 +107,7 @@ const e = {
|
|
|
107
107
|
spacer: "spacer",
|
|
108
108
|
tab: "tab",
|
|
109
109
|
titlebar: "titlebar",
|
|
110
|
-
|
|
110
|
+
optionLabel: "optionlabel",
|
|
111
111
|
view: "view"
|
|
112
112
|
}, a = {
|
|
113
113
|
table: "table",
|
|
@@ -258,7 +258,7 @@ const e = {
|
|
|
258
258
|
detail: "detail",
|
|
259
259
|
noRecords: "norecords",
|
|
260
260
|
pager: "pager"
|
|
261
|
-
}, $ = `${e.prefix}-${i.input}`, z = `${e.prefix}-${t.calendar}`, P = `${e.prefix}-${t.maskedtextbox}`, M = `${e.prefix}-${i.radio}`,
|
|
261
|
+
}, $ = `${e.prefix}-${i.input}`, z = `${e.prefix}-${t.calendar}`, P = `${e.prefix}-${t.maskedtextbox}`, M = `${e.prefix}-${i.radio}`, L = `${e.prefix}-${a.button}`, I = `${e.prefix}-${t.menu}`, R = `${e.prefix}-${r.picker}`, D = `${e.prefix}-${t.dropdownlist}`, H = `${e.prefix}-${t.combobox}`, U = `${e.prefix}-${o.prefix}`, V = {
|
|
262
262
|
base: e,
|
|
263
263
|
actions: h,
|
|
264
264
|
animation: b,
|
|
@@ -287,7 +287,7 @@ export {
|
|
|
287
287
|
h as actions,
|
|
288
288
|
b as animationStyles,
|
|
289
289
|
e as base,
|
|
290
|
-
|
|
290
|
+
L as buttonPrefix,
|
|
291
291
|
z as calendarPrefix,
|
|
292
292
|
H as comboBoxPrefix,
|
|
293
293
|
t as components,
|
|
@@ -295,7 +295,7 @@ export {
|
|
|
295
295
|
n as cssUtils,
|
|
296
296
|
u as cursor,
|
|
297
297
|
g as dateInputs,
|
|
298
|
-
|
|
298
|
+
I as ddbPrefix,
|
|
299
299
|
m as dimensions,
|
|
300
300
|
f as directionMap,
|
|
301
301
|
D as dropDownListPrefix,
|