@workday/canvas-kit-mcp 15.0.0-alpha.0051-next.0 → 15.0.0-alpha.0056-next.0
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.
|
@@ -18,6 +18,7 @@ space tokens, the new tokens aim to add more semantic meaning to allow for bette
|
|
|
18
18
|
- [Instructions](#instructions)
|
|
19
19
|
- [Component Promotions](#component-promotions)
|
|
20
20
|
- [Segmented Control](#segmented-control-)
|
|
21
|
+
- [Information Highlight](#information-highlight-)
|
|
21
22
|
- [Component Updates](#component-updates)
|
|
22
23
|
- [Buttons](#buttons)
|
|
23
24
|
- [Removals](#removals)
|
|
@@ -88,7 +89,7 @@ yarn remove @workday/canvas-kit-codemod
|
|
|
88
89
|
|
|
89
90
|
### Segmented Control ⚡️
|
|
90
91
|
|
|
91
|
-
We've promoted `SegmentedControl` from [Preview](
|
|
92
|
+
We've promoted `SegmentedControl` from [Preview](#preview) to [Main](#main). This replaces the deprecated `SegmentedControl` that was previously in Main.
|
|
92
93
|
|
|
93
94
|
**Before in v14**
|
|
94
95
|
|
|
@@ -186,6 +187,24 @@ The promoted `SegmentedControl` includes several new features:
|
|
|
186
187
|
</SegmentedControl>
|
|
187
188
|
```
|
|
188
189
|
|
|
190
|
+
### Information Highlight ⚡️
|
|
191
|
+
|
|
192
|
+
We've promoted `InformationHighlight` from [Preview](#preview) to [Main](#main). There are no changes to the functionality or styling of the component. The only change required is updating the import statement.
|
|
193
|
+
|
|
194
|
+
**Before in v14**
|
|
195
|
+
|
|
196
|
+
```tsx
|
|
197
|
+
import {InformationHighlight} from '@workday/canvas-kit-preview-react/information-highlight';
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
**After in v15**
|
|
201
|
+
|
|
202
|
+
```tsx
|
|
203
|
+
import {InformationHighlight} from '@workday/canvas-kit-react/information-highlight';
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
> 🤖 The codemod will handle the change of imports as shown above.
|
|
207
|
+
|
|
189
208
|
## Component Updates
|
|
190
209
|
|
|
191
210
|
### Buttons
|
|
@@ -288,6 +307,7 @@ yarn remove @workday/canvas-kit-codemod
|
|
|
288
307
|
|
|
289
308
|
The following automated transformations are available for upgrading to v15:
|
|
290
309
|
|
|
310
|
+
- **Promote Information Highlight**: promoteInformationHighlight
|
|
291
311
|
- **Promote Segmented Control**: promoteSegmentedControl
|
|
292
312
|
|
|
293
313
|
Run the codemod with: `npx @workday/canvas-kit-codemod v15 [path]`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-mcp",
|
|
3
|
-
"version": "15.0.0-alpha.
|
|
3
|
+
"version": "15.0.0-alpha.0056-next.0",
|
|
4
4
|
"description": "MCP package for Canvas Kit",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"tsx": "^4.7.0",
|
|
54
54
|
"typescript": "5.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "7ea41be00e30b2df431c3b8a49d5d2c24f3a9b8c"
|
|
57
57
|
}
|