@workday/canvas-kit-docs 14.0.0-alpha.1211-next.0 → 14.0.0-alpha.1212-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.
|
@@ -106,7 +106,8 @@ yarn remove @workday/canvas-kit-codemod
|
|
|
106
106
|
|
|
107
107
|
### Branding Changes 💅
|
|
108
108
|
|
|
109
|
-
Several components have been refactored to reflect our new brand direction. Most of these changes
|
|
109
|
+
Several components have been refactored to reflect our new brand direction. Most of these changes
|
|
110
|
+
revolve around the use of our new brand colors.
|
|
110
111
|
|
|
111
112
|
The following components have been updated:
|
|
112
113
|
|
|
@@ -114,6 +115,7 @@ The following components have been updated:
|
|
|
114
115
|
- `Buttons` [#3394](https://github.com/Workday/canvas-kit/pull/3394)
|
|
115
116
|
- `ColorPicker` (Main) [#3307](https://github.com/Workday/canvas-kit/pull/3307)
|
|
116
117
|
- `ColorPicker` (preview) [#3307](https://github.com/Workday/canvas-kit/pull/3307)
|
|
118
|
+
- `InformationHighlight` [#3443](https://github.com/Workday/canvas-kit/pull/3443)
|
|
117
119
|
- `LoadingDots` (Main) [#3393](https://github.com/Workday/canvas-kit/pull/3393)
|
|
118
120
|
- `Pagination` (Preview) [#3300](https://github.com/Workday/canvas-kit/pull/3300)
|
|
119
121
|
- `SearchForm` (Labs) [#3303](https://github.com/Workday/canvas-kit/pull/3303)
|
|
@@ -126,9 +128,9 @@ The following components have been updated:
|
|
|
126
128
|
|
|
127
129
|
#### TertiaryButton
|
|
128
130
|
|
|
129
|
-
The `TertiaryButton` component no longer supports the `isThemable` prop.
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
The `TertiaryButton` component no longer supports the `isThemable` prop. To customize the appearance
|
|
132
|
+
of `TertiaryButton`, use the `cs` prop for custom styles or the `colors` prop for palette-based
|
|
133
|
+
color overrides.
|
|
132
134
|
|
|
133
135
|
The shape of `TertiaryButton` has changed to have rounded corners, aligning with other buttons and
|
|
134
136
|
our new brand direction.
|
|
@@ -344,16 +346,20 @@ const customTheme = {
|
|
|
344
346
|
|
|
345
347
|
**PR:** [#3287](https://github.com/Workday/canvas-kit/pull/3287)
|
|
346
348
|
|
|
347
|
-
Preview `StatusIndicator` is a rounder and more vibrant base emphasis (`low`). The `emphasis` prop
|
|
349
|
+
Preview `StatusIndicator` is a rounder and more vibrant base emphasis (`low`). The `emphasis` prop
|
|
350
|
+
is now deprecated and the `high` emphasis will be removed in a later version.
|
|
348
351
|
|
|
349
352
|
Variant names of the preview `StatusIndicator` have been updated by the following mapping:
|
|
353
|
+
|
|
350
354
|
- `blue` -> `primary`
|
|
351
355
|
- `green` -> `success`
|
|
352
356
|
- `orange` -> `caution`
|
|
353
357
|
- `red` -> `critical`
|
|
354
358
|
- `gray` -> `neutral`
|
|
355
359
|
|
|
356
|
-
The `StatusIndicatorVariant` type has been updated to contain the new variant names listed above. If
|
|
360
|
+
The `StatusIndicatorVariant` type has been updated to contain the new variant names listed above. If
|
|
361
|
+
you use the old variant values, update to use the new ones mapped above. It has also been
|
|
362
|
+
deprecated. Use `StatusIndicatorProps['variant']` instead.
|
|
357
363
|
|
|
358
364
|
## Deprecations
|
|
359
365
|
|
|
@@ -405,9 +411,13 @@ promoted or replaced a component or utility.
|
|
|
405
411
|
|
|
406
412
|
**PR:** [#3429](https://github.com/Workday/canvas-kit/pull/3439)
|
|
407
413
|
|
|
408
|
-
Long overdue, but a sign of moving forward, we are removing our `DeprecatedButton`. Our design
|
|
414
|
+
Long overdue, but a sign of moving forward, we are removing our `DeprecatedButton`. Our design
|
|
415
|
+
system supported this for quite some time, but with the advancement in theming, our components API
|
|
416
|
+
and our flexibility, it is time for us to finally remove this component. This component has served
|
|
417
|
+
as a reminder of how far we've come and it part we're thankful for this change.
|
|
409
418
|
|
|
410
|
-
Al though unlikely, but not impossible, if you were using `DeprecatedButton` please use our flexible
|
|
419
|
+
Al though unlikely, but not impossible, if you were using `DeprecatedButton` please use our flexible
|
|
420
|
+
and themable buttons like `PrimaryButton`, `ScondaryButton` or `TertiaryButton`.
|
|
411
421
|
|
|
412
422
|
### Menu (preview)
|
|
413
423
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "14.0.0-alpha.
|
|
3
|
+
"version": "14.0.0-alpha.1212-next.0",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@emotion/styled": "^11.6.0",
|
|
46
46
|
"@stackblitz/sdk": "^1.11.0",
|
|
47
47
|
"@storybook/csf": "0.0.1",
|
|
48
|
-
"@workday/canvas-kit-labs-react": "^14.0.0-alpha.
|
|
49
|
-
"@workday/canvas-kit-preview-react": "^14.0.0-alpha.
|
|
50
|
-
"@workday/canvas-kit-react": "^14.0.0-alpha.
|
|
51
|
-
"@workday/canvas-kit-styling": "^14.0.0-alpha.
|
|
48
|
+
"@workday/canvas-kit-labs-react": "^14.0.0-alpha.1212-next.0",
|
|
49
|
+
"@workday/canvas-kit-preview-react": "^14.0.0-alpha.1212-next.0",
|
|
50
|
+
"@workday/canvas-kit-react": "^14.0.0-alpha.1212-next.0",
|
|
51
|
+
"@workday/canvas-kit-styling": "^14.0.0-alpha.1212-next.0",
|
|
52
52
|
"@workday/canvas-system-icons-web": "^3.0.35",
|
|
53
53
|
"@workday/canvas-tokens-web": "3.0.0-alpha.12",
|
|
54
54
|
"markdown-to-jsx": "^7.2.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"mkdirp": "^1.0.3",
|
|
62
62
|
"typescript": "5.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "4061f71f096822b9165e03d503a7f22ee01c1565"
|
|
65
65
|
}
|