@progress/kendo-vue-inputs 10.2.0-develop.9 → 11.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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("./inputs-appearance-null-props.js"),n=require("./inputs-default-appearance-rendering-changes.js");exports.InputsAppearanceNullProps=e.default;exports.InputsDefaultAppearanceRenderingChanges=n.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 t=require("./utils.js"),n=`The size, rounded and fillMode props of the ColorPicker, Input, MaskedTextBox, NumericTextBox, Signature, TextArea and TextBox, the size and rounded props of the Checkbox, the size prop of the ColorPalette, FlatColorPicker and RadioButton, and the size, trackRounded and thumbRounded props of the Switch no longer have default values, and their types no longer accept null. 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 ColorGradient never had a default size, so it was not changed.
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: <TextBox :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.`,e=["size","rounded","fillMode"],l={Checkbox:["size","rounded"],ColorPalette:["size"],ColorPicker:e,FlatColorPicker:["size"],Input:e,MaskedTextBox:e,NumericTextBox:e,RadioButton:["size"],Signature:e,Switch:["size","trackRounded","thumbRounded"],TextArea:e,TextBox:e};function a(o,r){return t.removeNullProps(o,r,t.INPUTS_PACKAGE,l)}exports.aiInstructions=n;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 t=require("@progress/kendo-vue-common/codemods"),d=require("@progress/kendo-vue-common/codemods/detect"),n=require("./utils.js"),r=`The Checkbox, ColorPalette, ColorPicker, FlatColorPicker, Input, MaskedTextBox, NumericTextBox, RadioButton, Signature, Switch, TextArea and TextBox no longer apply default values to the size, rounded, fillMode, trackRounded and thumbRounded props that they support, so the classes that these defaults produced are not rendered unless the props are set explicitly. The props are now strict unions: null and arbitrary strings are not accepted, and 'none' is a valid rounded, trackRounded and thumbRounded value. The 'circle' option was removed from the Switch trackRounded and thumbRounded types; use 'full' for a fully rounded track or thumb. The ColorGradient never had a default size, but it no longer receives one from the FlatColorPicker and the ColorPicker popup.
9
+ Review your stylesheets, tests, snapshots and templates that reference the classes below, and every input that relies on the previous default look.
10
+ Before: the Input, TextBox, TextArea, MaskedTextBox and NumericTextBox rendered k-input-md k-rounded-md k-input-solid; the ColorPicker rendered k-picker-md k-rounded-md k-picker-solid; the Signature rendered k-signature-md k-rounded-md k-input-solid; the Checkbox rendered k-checkbox-md k-rounded-md; the RadioButton rendered k-radio-md; the Switch rendered k-switch-md and k-rounded-full on the root, track and thumb; the ColorPalette rendered k-colorpalette-md; the FlatColorPicker rendered k-coloreditor-md and passed the default size to the ColorGradient (k-colorgradient-md) and the ColorPalette.
11
+ After: none of these classes is rendered unless size, rounded, fillMode, trackRounded or thumbRounded is set explicitly.
12
+ Set the props explicitly (for example size="medium" rounded="medium" fillMode="solid") wherever the previous appearance must be kept, replace the Switch 'circle' value with 'full', and update the CSS selectors, test queries and snapshots that depend on the removed classes.`,a={imports:["Checkbox","ColorPalette","ColorPicker","FlatColorPicker","Input","MaskedTextBox","NumericTextBox","RadioButton","Signature","Switch","TextArea","TextBox"],props:[{components:["Switch"],names:["trackRounded","thumbRounded"],values:["circle"]}],classes:["k-input-md","k-input-solid","k-picker-md","k-picker-solid","k-signature-md","k-checkbox-md","k-radio-md","k-switch-md","k-colorpalette-md","k-coloreditor-md","k-colorgradient-md","k-rounded-md","k-rounded-full"]};function s(e,o){return t.isRenderingChangeTarget(e.path)&&d.detectChange(e,o,n.INPUTS_PACKAGE,a)&&t.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("node:path"),d=require("@progress/kendo-vue-common/codemods/sfc");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,c.get?c:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const h=P(E),x="@progress/kendo-vue-inputs",I=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 O(e,r){if(e.type!=="ObjectProperty"&&e.type!=="Property"||e.computed)return!1;const n=e.key;return n?.type==="Identifier"?b(n.name,r):(n?.type==="StringLiteral"||n?.type==="Literal")&&b(String(n.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),N=e=>e.type===7&&e.name==="bind"&&!e.arg;function J(e,r,n,c){const a=new Map,l=new Set;if(r.find(e.ImportDeclaration,{source:{value:n}}).forEach(t=>{const i=t.node;if(i.importKind!=="type")for(const s of i.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,i)=>t.type==="JSXIdentifier"?d.isModuleLevelReference(i,t.name)?a.get(t.name):void 0:t.type==="JSXMemberExpression"&&t.object.type==="JSXIdentifier"&&l.has(t.object.name)&&d.isModuleLevelReference(i,t.object.name)&&m(c,t.property.name)?t.property.name:void 0,S=(t,i)=>t?.type==="Identifier"?d.isModuleLevelReference(i,t.name)?a.get(t.name):void 0:t?.type==="MemberExpression"&&!t.computed&&t.object.type==="Identifier"&&l.has(t.object.name)&&d.isModuleLevelReference(i,t.object.name)&&t.property.type==="Identifier"&&m(c,t.property.name)?t.property.name:void 0;r.find(e.JSXOpeningElement).forEach(t=>{const i=y(t.node.name,t),s=i?m(c,i):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:i,arguments:s}=t.node;if(i.type!=="Identifier"||!["h","createVNode"].includes(i.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--)O(o[f],u)&&v(o[f].value)&&(o.slice(0,f).some(g)?o[f].value=e.identifier("undefined"):o.splice(f,1))})}function M(e,r,n,c){if(!I.has(h.extname(e.path))||!e.source.includes(n)||!/\bnull\b/.test(e.source))return e.source;try{return d.transformFile(e,r,{script:(a,l)=>J(a,l,n,c),template:a=>{const l=new Set;for(const y of Object.keys(c))for(const S of a.findElements(y,n))S.props.forEach((t,i)=>{!j(t,c[y])||l.has(t)||(l.add(t),S.props.slice(0,i).some(N)?a.setValue(t,"undefined"):a.removeAttribute(t))})}})}catch{return e.source}}exports.INPUTS_PACKAGE=x;exports.removeNullProps=M;
@@ -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("./inputs-rendering-changes.js");exports.InputsRenderingChanges=e.default;
@@ -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 t=require("@progress/kendo-vue-common/codemods"),r=require("@progress/kendo-vue-common/codemods/detect"),n=require("./utils.js"),a=`Default icons of the ColorInput, ColorPicker, NumericTextBox, Slider and Rating changed.
9
+ Review your stylesheets, tests and any code that references the caret-alt icons of these components or the star-outline icon of the unselected Rating items.
10
+ Before: the ColorInput uses caret-alt-expand and the ColorPicker arrow uses caret-alt-down; the NumericTextBox spinner buttons use caret-alt-up and caret-alt-down; the Slider increase and decrease buttons use caret-alt-up, caret-alt-down, caret-alt-left and caret-alt-right; an unselected Rating item uses star-outline (font classes k-i-caret-alt-expand, k-i-caret-alt-up, k-i-caret-alt-down, k-i-caret-alt-left, k-i-caret-alt-right, k-i-star-outline; SVG classes k-svg-i-*).
11
+ After: the ColorInput and ColorPicker use chevron-down; the NumericTextBox spinner buttons use chevron-up and chevron-down; the Slider buttons use chevron-up, chevron-down, chevron-left and chevron-right; an unselected Rating item uses star (font classes k-i-chevron-*, k-i-star; SVG classes k-svg-i-chevron-*, k-svg-i-star).
12
+ Update CSS selectors, test queries and snapshots that depend on the previous icon classes. Change only the selectors that target these components; the caret-alt classes can also belong to other components, and k-i-star is also used by selected Rating items.`,o={classes:["k-i-caret-alt-expand","k-i-caret-alt-up","k-i-caret-alt-down","k-i-caret-alt-left","k-i-caret-alt-right","k-i-star-outline","k-svg-i-caret-alt-expand","k-svg-i-caret-alt-up","k-svg-i-caret-alt-down","k-svg-i-caret-alt-left","k-svg-i-caret-alt-right","k-svg-i-star-outline"]};function c(e,s){return t.isRenderingChangeTarget(e.path)&&r.detectChange(e,s,n.INPUTS_PACKAGE,o)&&t.writeInstructionMarker(a,__filename,e.path),e.source}exports.aiInstructions=a;exports.default=c;
@@ -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-inputs";exports.INPUTS_PACKAGE=e;