@workday/canvas-kit-docs 15.0.0-alpha.0074-next.0 → 15.0.0-alpha.0075-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,9 @@ space tokens, the new tokens aim to add more semantic meaning to allow for bette
18
18
  - [Codemod](#codemod)
19
19
  - [Instructions](#instructions)
20
20
  - [Component Promotions](#component-promotions)
21
+ - [Pill](#pill-)
22
+ - [Segmented Control](#segmented-control-)
23
+ - [Information Highlight](#information-highlight-)
21
24
  - [Segmented Control ⚡️](#segmented-control-️)
22
25
  - [API Differences](#api-differences)
23
26
  - [Structure Changes](#structure-changes)
@@ -102,6 +105,28 @@ yarn remove @workday/canvas-kit-codemod
102
105
 
103
106
  ## Component Promotions
104
107
 
108
+ ### Pill ⚡️
109
+
110
+ **PR** [#3634](https://github.com/Workday/canvas-kit/pull/3634)
111
+
112
+ We've promoted `Pill` from [Preview](#preview) to [Main](#main). There are no changes to the
113
+ functionality or styling of the component. The only change required is updating the import
114
+ statement.
115
+
116
+ **Before in v14**
117
+
118
+ ```tsx
119
+ import {Pill} from '@workday/canvas-kit-preview-react/pill';
120
+ ```
121
+
122
+ **After in v15**
123
+
124
+ ```tsx
125
+ import {Pill} from '@workday/canvas-kit-react/pill';
126
+ ```
127
+
128
+ > 🤖 The codemod will handle the change of imports as shown above.
129
+
105
130
  ### Segmented Control ⚡️
106
131
 
107
132
  We've promoted `SegmentedControl` from [Preview](#preview) to [Main](#main). This replaces the deprecated `SegmentedControl` that was previously in Main.
@@ -17,7 +17,7 @@ information.
17
17
  ## Installation
18
18
 
19
19
  ```sh
20
- yarn add @workday/canvas-kit-preview-react
20
+ yarn add @workday/canvas-kit-react
21
21
  ```
22
22
 
23
23
  ## Usage
@@ -108,4 +108,4 @@ or view the example below.
108
108
 
109
109
  ## Component API
110
110
 
111
- <SymbolDoc name="Pill" fileName="/preview-react/" />
111
+ <SymbolDoc name="Pill" fileName="/react/" />
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- import {Pill} from '@workday/canvas-kit-preview-react/pill';
3
+ import {Pill} from '@workday/canvas-kit-react/pill';
4
4
 
5
5
  import {BodyText} from '@workday/canvas-kit-react/text';
6
6
  import {createStyles} from '@workday/canvas-kit-styling';
@@ -1,4 +1,4 @@
1
- import {Pill, pillCountStencil, pillStencil} from '@workday/canvas-kit-preview-react/pill';
1
+ import {Pill, pillCountStencil, pillStencil} from '@workday/canvas-kit-react/pill';
2
2
 
3
3
  import {createStencil} from '@workday/canvas-kit-styling';
4
4
  import {system} from '@workday/canvas-tokens-web';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- import {Pill} from '@workday/canvas-kit-preview-react/pill';
3
+ import {Pill} from '@workday/canvas-kit-react/pill';
4
4
  // @ts-ignore: Cannot find module error
5
5
  import testAvatar from './test-avatar.png';
6
6
  import {BodyText} from '@workday/canvas-kit-react/text';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import {Pill} from '@workday/canvas-kit-preview-react/pill';
2
+ import {Pill} from '@workday/canvas-kit-react/pill';
3
3
  import {BodyText} from '@workday/canvas-kit-react/text';
4
4
  import {createStyles} from '@workday/canvas-kit-styling';
5
5
  import {system} from '@workday/canvas-tokens-web';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- import {Pill} from '@workday/canvas-kit-preview-react/pill';
3
+ import {Pill} from '@workday/canvas-kit-react/pill';
4
4
  import {createStyles} from '@workday/canvas-kit-styling';
5
5
  import {system} from '@workday/canvas-tokens-web';
6
6
 
@@ -1,4 +1,4 @@
1
- import {Pill} from '@workday/canvas-kit-preview-react/pill';
1
+ import {Pill} from '@workday/canvas-kit-react/pill';
2
2
  import {createStyles} from '@workday/canvas-kit-styling';
3
3
  import {system} from '@workday/canvas-tokens-web';
4
4
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- import {Pill} from '@workday/canvas-kit-preview-react/pill';
3
+ import {Pill} from '@workday/canvas-kit-react/pill';
4
4
  // @ts-ignore: Cannot find module error
5
5
  import testAvatar from './test-avatar.png';
6
6
  import {BodyText} from '@workday/canvas-kit-react/text';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "15.0.0-alpha.0074-next.0",
3
+ "version": "15.0.0-alpha.0075-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": "^15.0.0-alpha.0074-next.0",
49
- "@workday/canvas-kit-preview-react": "^15.0.0-alpha.0074-next.0",
50
- "@workday/canvas-kit-react": "^15.0.0-alpha.0074-next.0",
51
- "@workday/canvas-kit-styling": "^15.0.0-alpha.0074-next.0",
48
+ "@workday/canvas-kit-labs-react": "^15.0.0-alpha.0075-next.0",
49
+ "@workday/canvas-kit-preview-react": "^15.0.0-alpha.0075-next.0",
50
+ "@workday/canvas-kit-react": "^15.0.0-alpha.0075-next.0",
51
+ "@workday/canvas-kit-styling": "^15.0.0-alpha.0075-next.0",
52
52
  "@workday/canvas-system-icons-web": "^3.0.36",
53
53
  "@workday/canvas-tokens-web": "4.0.0-alpha.3",
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": "3fbdd82f3f92e4c6aaebd87c84fcdcd6b39f87cc"
64
+ "gitHead": "85c5dfa329d29263f96a49be74ef55f551990c7b"
65
65
  }