@progress/kendo-vue-indicators 10.2.0-develop.11 → 10.2.0-develop.13
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/codemods/v8/index.js +8 -0
- package/codemods/v8/indicators-appearance-null-props.js +13 -0
- package/codemods/v8/indicators-default-appearance-rendering-changes.js +12 -0
- package/codemods/v8/utils.js +8 -0
- package/codemods/v9/badge-theme-color.js +14 -0
- package/codemods/v9/index.js +8 -0
- package/codemods/v9/loader-theme-color.js +13 -0
- package/codemods/v9/utils.js +8 -0
- package/dist/cdn/js/kendo-vue-indicators.js +1 -1
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +38 -3
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./indicators-appearance-null-props.js"),a=require("./indicators-default-appearance-rendering-changes.js");exports.IndicatorsAppearanceNullProps=e.default;exports.IndicatorsDefaultAppearanceRenderingChanges=a.default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./utils.js"),r=`The size, rounded and fillMode props of the Badge and BadgeContainer (the themeColor prop of the Badge, but not of the BadgeContainer) and the size prop of the Loader no longer have default values (and the Badge props no longer accept null in their types). The codemod removed (or replaced with undefined when an earlier spread / v-bind object may provide the prop) the literal null values (size={null}, :fill-mode="null") that it could locate statically; omitting the prop is equivalent to the previous null.
|
|
9
|
+
The themeColor default of the BadgeContainer and the Loader ('primary') was not removed, so themeColor={null} on these two components was left unchanged: omitting it now renders the primary color.
|
|
10
|
+
Review the places the codemod cannot reach: values that evaluate to null at runtime (for example :size="compact ? 'small' : null"), props passed through v-bind="obj" or JSX spreads, wrappers that forward these props, and the types of those wrappers.
|
|
11
|
+
Before: <Badge :size="null" :fill-mode="null" /> rendered no size and fillMode classes, while an omitted prop rendered the default class.
|
|
12
|
+
After: the prop is omitted and no class is rendered; use undefined (or omit the prop) instead of null.
|
|
13
|
+
Replace null with undefined, or omit the prop, in the remaining places.`,n={Badge:["size","rounded","fillMode","themeColor"],BadgeContainer:["size","rounded","fillMode"],Loader:["size"]};function a(o,t){return e.removeNullProps(o,t,e.INDICATORS_PACKAGE,n)}exports.aiInstructions=r;exports.default=a;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("@progress/kendo-vue-common/codemods"),t=require("@progress/kendo-vue-common/codemods/detect"),o=require("./utils.js"),a=`The Badge no longer applies default values to the size, rounded, fillMode and themeColor props, the BadgeContainer no longer applies default values to size, rounded and fillMode, and the Loader no longer applies a default size. The classes that these defaults produced are not rendered unless the props are set explicitly. The Badge props are now strict unions: null and arbitrary strings are not accepted, and 'none' is a valid rounded value. The themeColor default of the BadgeContainer and the Loader ('primary') was not removed. When themeColor is set on the Badge, it renders a single k-badge-<themeColor> class instead of the combined k-badge-<fillMode>-<themeColor> class.
|
|
9
|
+
Review your stylesheets, tests, snapshots and templates that reference the classes below, and every Badge, BadgeContainer and Loader that relies on the previous default look.
|
|
10
|
+
Before: the Badge rendered k-badge-md k-badge-solid k-badge-solid-primary k-rounded-md; the badge element of the BadgeContainer rendered k-badge-md k-badge-solid k-badge-solid-primary k-rounded-md; the Loader rendered k-loader-md.
|
|
11
|
+
After: none of these classes is rendered unless size, rounded, fillMode (and themeColor for the Badge) is set. The Badge renders k-badge-primary (and so on) for an explicit themeColor; the BadgeContainer renders the combined k-badge-<fillMode>-<themeColor> class only when fillMode is set; the Loader still renders k-loader-primary because its themeColor default is unchanged.
|
|
12
|
+
Set the props explicitly (for example size="medium" rounded="medium" fillMode="solid" themeColor="primary") wherever the previous appearance must be kept, and update the CSS selectors, test queries and snapshots that depend on the removed or renamed classes.`,s=["solid","outline"],n=["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"],i={imports:["Badge","BadgeContainer","Loader"],classes:["k-badge-md","k-badge-solid","k-rounded-md","k-loader-md",...s.flatMap(e=>n.map(r=>`k-badge-${e}-${r}`))]};function l(e,r){return d.isRenderingChangeTarget(e.path)&&t.detectChange(e,r,o.INDICATORS_PACKAGE,i)&&d.writeInstructionMarker(a,__filename,e.path),e.source}exports.aiInstructions=a;exports.default=l;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("node:path"),d=require("@progress/kendo-vue-common/codemods/sfc");function I(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const c=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,c.get?c:{enumerable:!0,get:()=>e[i]})}}return r.default=e,Object.freeze(r)}const O=I(E),h="@progress/kendo-vue-indicators",P=new Set([".ts",".tsx",".js",".jsx",".vue"]),m=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)?e[r]:void 0,v=e=>e?.type==="NullLiteral"||e?.type==="Literal"&&e.value===null&&!e.regex,b=(e,r)=>r.includes(d.camelize(e));function x(e,r){if(e.type!=="ObjectProperty"&&e.type!=="Property"||e.computed)return!1;const i=e.key;return i?.type==="Identifier"?b(i.name,r):(i?.type==="StringLiteral"||i?.type==="Literal")&&b(String(i.value),r)}function j(e,r){return e.type===7&&e.name==="bind"&&!!e.arg?.isStatic&&b(e.arg.content,r)&&e.exp?.content.trim()==="null"}const L=new Set(["JSXSpreadAttribute","SpreadElement","SpreadProperty","ExperimentalSpreadProperty"]),g=e=>L.has(e?.type),A=e=>e.type===7&&e.name==="bind"&&!e.arg;function N(e,r,i,c){const a=new Map,l=new Set;if(r.find(e.ImportDeclaration,{source:{value:i}}).forEach(t=>{const n=t.node;if(n.importKind!=="type")for(const s of n.specifiers??[])s.type==="ImportSpecifier"&&s.importKind!=="type"?m(c,s.imported.name)&&a.set(s.local?.name??s.imported.name,s.imported.name):s.type==="ImportNamespaceSpecifier"&&s.local&&l.add(s.local.name)}),!a.size&&!l.size)return;const y=(t,n)=>t.type==="JSXIdentifier"?d.isModuleLevelReference(n,t.name)?a.get(t.name):void 0:t.type==="JSXMemberExpression"&&t.object.type==="JSXIdentifier"&&l.has(t.object.name)&&d.isModuleLevelReference(n,t.object.name)&&m(c,t.property.name)?t.property.name:void 0,S=(t,n)=>t?.type==="Identifier"?d.isModuleLevelReference(n,t.name)?a.get(t.name):void 0:t?.type==="MemberExpression"&&!t.computed&&t.object.type==="Identifier"&&l.has(t.object.name)&&d.isModuleLevelReference(n,t.object.name)&&t.property.type==="Identifier"&&m(c,t.property.name)?t.property.name:void 0;r.find(e.JSXOpeningElement).forEach(t=>{const n=y(t.node.name,t),s=n?m(c,n):void 0;if(!s)return;const p=t.node.attributes??[];for(let u=p.length-1;u>=0;u--){const o=p[u];o.type==="JSXAttribute"&&o.name.type==="JSXIdentifier"&&b(o.name.name,s)&&o.value?.type==="JSXExpressionContainer"&&v(o.value.expression)&&(p.slice(0,u).some(g)?o.value.expression=e.identifier("undefined"):p.splice(u,1))}}),r.find(e.CallExpression).forEach(t=>{const{callee:n,arguments:s}=t.node;if(n.type!=="Identifier"||!["h","createVNode"].includes(n.name))return;const p=S(s[0],t),u=p?m(c,p):void 0;if(!u||s[1]?.type!=="ObjectExpression")return;const o=s[1].properties;for(let f=o.length-1;f>=0;f--)x(o[f],u)&&v(o[f].value)&&(o.slice(0,f).some(g)?o[f].value=e.identifier("undefined"):o.splice(f,1))})}function J(e,r,i,c){if(!P.has(O.extname(e.path))||!e.source.includes(i)||!/\bnull\b/.test(e.source))return e.source;try{return d.transformFile(e,r,{script:(a,l)=>N(a,l,i,c),template:a=>{const l=new Set;for(const y of Object.keys(c))for(const S of a.findElements(y,i))S.props.forEach((t,n)=>{!j(t,c[y])||l.has(t)||(l.add(t),S.props.slice(0,n).some(A)?a.setValue(t,"undefined"):a.removeAttribute(t))})}})}catch{return e.source}}exports.INDICATORS_PACKAGE=h;exports.removeNullProps=J;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("@progress/kendo-vue-common/codemods"),o=require("@progress/kendo-vue-common/codemods/detect"),n=require("./utils.js"),r=`The Badge and BadgeContainer theme colors changed.
|
|
9
|
+
Badge: themeColor no longer accepts 'dark' and 'light' (removed from BadgeProps and BadgeThemeColor). The prop validator now accepts only 'base', 'primary', 'secondary', 'tertiary', 'info', 'success', 'warning' and 'error', so 'inverse' and 'inherit' are also rejected; the BadgeThemeColor type no longer includes 'inherit', 'dark', 'light' or 'inverse'.
|
|
10
|
+
BadgeContainer: the validator accepts 'base', 'primary', 'secondary', 'tertiary', 'info', 'success', 'warning', 'error' and 'inverse'; 'dark' and 'light' were removed. The default themeColor changed from 'primary' to 'base', so a BadgeContainer without themeColor renders k-badge-base (and k-badge-<fillMode>-base) instead of k-badge-primary (and k-badge-<fillMode>-primary).
|
|
11
|
+
Review every Badge and BadgeContainer that sets themeColor (theme-color) to a removed value, every BadgeContainer that relies on the default themeColor, and any code that references the k-badge-dark and k-badge-light classes.
|
|
12
|
+
Before: <Badge themeColor="dark" />; <BadgeContainer /> renders k-badge-primary.
|
|
13
|
+
After: themeColor is one of the supported values listed above; <BadgeContainer /> renders k-badge-base. Set themeColor="primary" on BadgeContainer to keep the previous default appearance. There is no one-to-one replacement for 'dark' and 'light': choose the supported value that matches the design intent.
|
|
14
|
+
Update the themeColor values and any CSS selectors or tests that depend on the removed k-badge-dark and k-badge-light classes or on the previous BadgeContainer default.`,d={imports:["BadgeContainer"],props:[{components:["Badge"],names:["themeColor"],values:["dark","light","inverse","inherit"]},{components:["BadgeContainer"],names:["themeColor"],values:["dark","light"]}],classes:["k-badge-dark","k-badge-light"]};function s(e,t){return a.isRenderingChangeTarget(e.path)&&o.detectChange(e,t,n.INDICATORS_PACKAGE,d)&&a.writeInstructionMarker(r,__filename,e.path),e.source}exports.aiInstructions=r;exports.default=s;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./badge-theme-color.js"),o=require("./loader-theme-color.js");exports.BadgeThemeColor=e.default;exports.LoaderThemeColor=o.default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("@progress/kendo-vue-common/codemods"),t=require("@progress/kendo-vue-common/codemods/detect"),s=require("./utils.js"),o=`The Loader themeColor prop (LoaderThemeColor) now accepts only 'base', 'primary', 'secondary' and 'tertiary'. The 'info', 'success', 'warning', 'error', 'dark', 'light' and 'inverse' values were removed, together with the k-loader-info, k-loader-success, k-loader-warning, k-loader-error, k-loader-dark, k-loader-light and k-loader-inverse classes; the new k-loader-base class was added.
|
|
9
|
+
The default themeColor changed from 'primary' to no value: a Loader without themeColor no longer renders k-loader-primary.
|
|
10
|
+
Review every Loader that sets themeColor (theme-color) to a removed value, every Loader that relies on the default color, and any code that references the removed classes.
|
|
11
|
+
Before: <Loader /> renders k-loader-primary; <Loader themeColor="success" /> renders k-loader-success.
|
|
12
|
+
After: <Loader /> renders no k-loader-<color> class; themeColor is 'base', 'primary', 'secondary' or 'tertiary'. Set themeColor="primary" explicitly to keep the previous default appearance. There is no one-to-one replacement for the removed values: choose the supported value that matches the design intent.
|
|
13
|
+
Update the themeColor values and any CSS selectors or tests that depend on the removed classes or on the previous default.`,n={imports:["Loader"],props:[{components:["Loader"],names:["themeColor"],values:["info","success","warning","error","dark","light","inverse"]}],classes:["k-loader-info","k-loader-success","k-loader-warning","k-loader-error","k-loader-dark","k-loader-light","k-loader-inverse"]};function d(e,a){return r.isRenderingChangeTarget(e.path)&&t.detectChange(e,a,s.INDICATORS_PACKAGE,n)&&r.writeInstructionMarker(o,__filename,e.path),e.source}exports.aiInstructions=o;exports.default=d;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="@progress/kendo-vue-indicators";exports.INDICATORS_PACKAGE=e;
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
13
13
|
*-------------------------------------------------------------------------------------------
|
|
14
14
|
*/
|
|
15
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("@progress/kendo-vue-common")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-vue-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueIndicators={},e.Vue,e.KendoVueCommon)}(this,function(e,t,n){"use strict";const i={name:"@progress/kendo-vue-indicators",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:1636623080,version:"10.2.0-develop.
|
|
15
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("@progress/kendo-vue-common")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-vue-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueIndicators={},e.Vue,e.KendoVueCommon)}(this,function(e,t,n){"use strict";const i={name:"@progress/kendo-vue-indicators",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:1636623080,version:"10.2.0-develop.13",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},o=t.defineComponent({name:"KendoBadge",props:{dir:String,align:{type:Object,default:void 0},size:{type:String,validator:function(e){return["small","medium","large"].includes(e)}},fillMode:{type:String,validator:function(e){return["solid","tint","outline"].includes(e)}},themeColor:{type:String,validator:function(e){return["base","primary","secondary","tertiary","info","success","warning","error"].includes(e)}},rounded:{type:String,validator:function(e){return["none","small","medium","large","full"].includes(e)}},position:{type:String,default:void 0,validator:function(e){return["edge","outside","inside","inline"].includes(e)}},cutoutBorder:Boolean},created(){n.validatePackage(i),this.currentDir=void 0},mounted(){this.currentDir=n.getDir(this.$el,this.$props.dir)},computed:{badgeClasses(){const{size:e,fillMode:t,cutoutBorder:i,position:o,align:r,themeColor:a,rounded:l}=this.$props,s="inline"===o;return{"k-badge":!0,"k-badge-sm":"small"===e,"k-badge-md":"medium"===e,"k-badge-lg":"large"===e,[`k-badge-${t}`]:t,[`k-badge-${a}`]:a,[`k-rounded-${n.kendoThemeMaps.roundedMap[l]||l}`]:l,"k-badge-border-cutout":i,[`k-badge-${o}`]:o&&!s,"k-top-start":!s&&"top"===(null==r?void 0:r.vertical)&&"start"===(null==r?void 0:r.horizontal),"k-top-end":!s&&"top"===(null==r?void 0:r.vertical)&&"end"===(null==r?void 0:r.horizontal),"k-bottom-start":!s&&"bottom"===(null==r?void 0:r.vertical)&&"start"===(null==r?void 0:r.horizontal),"k-bottom-end":!s&&"bottom"===(null==r?void 0:r.vertical)&&"end"===(null==r?void 0:r.horizontal)}}},render(){const e=n.getDefaultSlots(this);return t.createVNode("span",{class:this.badgeClasses,dir:this.currentDir},[e])},methods:{focusElement(){this.$el&&this.$el.focus()}}}),r=t.defineComponent({name:"KendoBadgeContainer",props:{dir:String,align:{type:Object,default:function(){return{vertical:"top",horizontal:"end"}}},size:{type:String,validator:function(e){return["none","small","medium","large"].includes(e)}},fillMode:{type:String,validator:function(e){return["solid","tint","outline"].includes(e)}},themeColor:{type:String,default:"base",validator:function(e){return["base","primary","secondary","tertiary","info","success","warning","error","inverse"].includes(e)}},rounded:{type:String,validator:function(e){return[null,"small","medium","large","full"].includes(e)}},position:{type:String,default:"edge",validator:function(e){return["edge","outside","inside","inline"].includes(e)}},cutoutBorder:Boolean,content:[String,Function,Object]},created(){n.validatePackage(i),this.currentDir=void 0},mounted(){this.currentDir=n.getDir(this.$el,this.$props.dir)},computed:{badgeContainerClasses:()=>({"k-badge-container":!0}),badgeClasses(){const{size:e,fillMode:t,cutoutBorder:i,position:o,align:r,themeColor:a,rounded:l}=this.$props,s="inline"===o;return{"k-badge":!0,"k-badge-sm":"small"===e,"k-badge-md":"medium"===e,"k-badge-lg":"large"===e,[`k-badge-${t}`]:t,[`k-badge-${a}`]:a,[`k-badge-${t}-${a}`]:!(!t||!a),[`k-rounded-${n.kendoThemeMaps.roundedMap[l]||l}`]:l,"k-badge-border-cutout":i,[`k-badge-${o}`]:o&&!s,"k-top-start":!s&&"top"===(null==r?void 0:r.vertical)&&"start"===(null==r?void 0:r.horizontal),"k-top-end":!s&&"top"===(null==r?void 0:r.vertical)&&"end"===(null==r?void 0:r.horizontal),"k-bottom-start":!s&&"bottom"===(null==r?void 0:r.vertical)&&"start"===(null==r?void 0:r.horizontal),"k-bottom-end":!s&&"bottom"===(null==r?void 0:r.vertical)&&"end"===(null==r?void 0:r.horizontal)}}},render(){const e=n.getDefaultSlots(this),i=n.templateRendering.call(this,this.content,n.getListeners.call(this)),o=n.getTemplate.call(this,{h:t.h,template:i,additionalProps:this.$props});return t.createVNode("span",{class:this.badgeContainerClasses,style:{display:"inline-block"},dir:this.currentDir},[e,t.createVNode("span",{class:this.badgeClasses,dir:this.currentDir},[o])])},methods:{focusElement(){this.$el&&this.$el.focus()}}}),a={pulsing:2,"infinite-spinner":3,"converging-spinner":4},l=t.defineComponent({name:"KendoLoader",props:{type:{type:String,default:"pulsing",validator:function(e){return["pulsing","infinite-spinner","converging-spinner"].includes(e)}},size:{type:String,validator:function(e){return["none","small","medium","large"].includes(e)}},themeColor:{type:String,default:void 0,validator:function(e){return["base","primary","secondary","tertiary"].includes(e)}}},created(){n.validatePackage(i)},computed:{loaderClasses(){const{type:e,size:t,themeColor:n}=this.$props;return{"k-loader":!0,"k-loader-sm":"small"===t,"k-loader-md":"medium"===t,"k-loader-lg":"large"===t,"k-loader-primary":"primary"===n,"k-loader-secondary":"secondary"===n,"k-loader-tertiary":"tertiary"===n,"k-loader-base":"base"===n,"k-loader-pulsing-2":"pulsing"===e,"k-loader-spinner-3":"infinite-spinner"===e,"k-loader-spinner-4":"converging-spinner"===e}}},render(){const{type:e}=this.$props,n=new Array(a[e]);return n.fill(0,0,a[e]),t.createVNode("div",{class:this.loaderClasses,role:"status","aria-label":this.$attrs["aria-label"]||"Loading"},[t.createVNode("div",{class:"k-loader-canvas"},[n.map(function(e,n){return t.createVNode("span",{key:n,class:"k-loader-segment"},null)},this)])])},methods:{focus(e){this.$el&&this.$el.focus(e)}}}),s=t.defineComponent({name:"KendoSkeleton",props:{animation:{type:[Object,Boolean],default:function(){return{type:"pulse"}},validator:function(e){return!1===e||["wave","pulse"].includes(e.type)}},shape:{type:String,default:"text",validator:function(e){return["circle","rectangle","text"].includes(e)}},ariaBusy:{type:Boolean,default:void 0},role:{type:String,default:void 0}},created(){n.validatePackage(i)},computed:{skeletonClasses(){return{"k-skeleton":!0,"k-skeleton-circle":"circle"===this.shape,"k-skeleton-rect":"rectangle"===this.shape,"k-skeleton-text":"text"===this.shape,"k-skeleton-pulse":n.isObject(this.animation)&&"pulse"===this.animation.type,"k-skeleton-wave":n.isObject(this.animation)&&"wave"===this.animation.type||!0===this.animation}}},render(){return t.createVNode("span",{role:this.$props.role,class:this.skeletonClasses,"aria-busy":this.$props.ariaBusy},null)}});e.Badge=o,e.BadgeContainer=r,e.Loader=l,e.Skeleton=s});
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-indicators",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-indicators",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1793800428,version:"10.2.0-develop.13",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "10.2.0-develop.
|
|
13
|
+
publishDate: 1793800428,
|
|
14
|
+
version: "10.2.0-develop.13",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-indicators",
|
|
3
|
-
"version": "10.2.0-develop.
|
|
3
|
+
"version": "10.2.0-develop.13",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@progress/kendo-licensing": "^1.12.0",
|
|
28
|
-
"@progress/kendo-vue-common": "10.2.0-develop.
|
|
28
|
+
"@progress/kendo-vue-common": "10.2.0-develop.13",
|
|
29
29
|
"vue": "^3.0.2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {},
|
|
@@ -42,10 +42,45 @@
|
|
|
42
42
|
"@progress": {
|
|
43
43
|
"friendlyName": "Indicators",
|
|
44
44
|
"framework": "Kendo UI for Vue",
|
|
45
|
+
"migrations": {
|
|
46
|
+
"options": {
|
|
47
|
+
"parser": "tsx",
|
|
48
|
+
"pattern": "*.{js,jsx,ts,tsx,vue,json,css,scss,sass,less}"
|
|
49
|
+
},
|
|
50
|
+
"codemods": {
|
|
51
|
+
"8": [
|
|
52
|
+
{
|
|
53
|
+
"description": "Removes literal null values of the size, rounded and fillMode props of the Badge and BadgeContainer, the themeColor prop of the Badge and the size prop of the Loader, whose default values were removed.",
|
|
54
|
+
"file": "codemods/v8/indicators-appearance-null-props",
|
|
55
|
+
"prompt": false
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"description": "Flags files affected by the removed default size, rounded, fillMode and themeColor values of the Badge, BadgeContainer and Loader and the classes they produced.",
|
|
59
|
+
"file": "codemods/v8/indicators-default-appearance-rendering-changes",
|
|
60
|
+
"prompt": false,
|
|
61
|
+
"instructionsOnly": true
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"9": [
|
|
65
|
+
{
|
|
66
|
+
"description": "Flags files affected by the removed Badge and BadgeContainer themeColor values, the k-badge-dark and k-badge-light classes and the BadgeContainer default themeColor change.",
|
|
67
|
+
"file": "codemods/v9/badge-theme-color",
|
|
68
|
+
"prompt": false,
|
|
69
|
+
"instructionsOnly": true
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"description": "Flags files affected by the removed Loader themeColor values, the removed k-loader-<color> classes and the Loader default themeColor change.",
|
|
73
|
+
"file": "codemods/v9/loader-theme-color",
|
|
74
|
+
"prompt": false,
|
|
75
|
+
"instructionsOnly": true
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
45
80
|
"package": {
|
|
46
81
|
"productName": "Kendo UI for Vue",
|
|
47
82
|
"productCode": "KENDOUIVUE",
|
|
48
|
-
"publishDate":
|
|
83
|
+
"publishDate": 1793800428,
|
|
49
84
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
50
85
|
}
|
|
51
86
|
},
|