@workday/canvas-kit-docs 15.0.12 → 16.0.0-alpha.0392-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.
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
 
3
- import * as CanvasAccenttIcons from '@workday/canvas-accent-icons-web';
3
+ import * as CanvasAccentIcons from '@workday/canvas-accent-icons-web';
4
4
  import {AccentIcon} from '@workday/canvas-kit-react/icon';
5
5
  import {Box, Flex} from '@workday/canvas-kit-react/layout';
6
6
  import {TextInput} from '@workday/canvas-kit-react/text-input';
7
7
  import {createStyles, px2rem} from '@workday/canvas-kit-styling';
8
8
  import {system} from '@workday/canvas-tokens-web';
9
9
 
10
- const ImportedIcons = Object.keys(CanvasAccenttIcons);
10
+ const ImportedIcons = Object.keys(CanvasAccentIcons);
11
11
 
12
12
  const allIcons = ImportedIcons.filter(icon => icon !== 'CanvasAccentIcons');
13
13
 
@@ -52,7 +52,7 @@ export default () => {
52
52
  return (
53
53
  <Flex cs={styleOverrides.individualIconContainer} key={index}>
54
54
  <Box>
55
- <AccentIcon icon={CanvasAccenttIcons[singleIcon]} />
55
+ <AccentIcon icon={CanvasAccentIcons[singleIcon]} />
56
56
  </Box>
57
57
  <Box>{singleIcon}</Box>
58
58
  </Flex>
@@ -1,5 +1,5 @@
1
- import {rocketIcon} from '@workday/canvas-accent-icons-web';
2
- import {AccentIcon} from '@workday/canvas-kit-react/icon';
1
+ import {rocketIcon} from '@workday/canvas-expressive-icons-web';
2
+ import {ExpressiveIcon} from '@workday/canvas-kit-react/icon';
3
3
  import {Flex} from '@workday/canvas-kit-react/layout';
4
4
  import {SidePanel} from '@workday/canvas-kit-react/side-panel';
5
5
  import {Text} from '@workday/canvas-kit-react/text';
@@ -34,7 +34,7 @@ export default () => {
34
34
  <Flex cs={stylesOverride.pageContainer}>
35
35
  <SidePanel initialTransitionState="expanded">
36
36
  <Flex cs={stylesOverride.panelContainer}>
37
- <AccentIcon icon={rocketIcon} cs={stylesOverride.accentIcon} />
37
+ <ExpressiveIcon icon={rocketIcon} cs={stylesOverride.accentIcon} />
38
38
  <SidePanel.Heading size="small" cs={stylesOverride.panelHeading}>
39
39
  Tasks Panel
40
40
  </SidePanel.Heading>
@@ -1,9 +1,7 @@
1
- import * as React from 'react';
2
-
3
- import {rocketIcon} from '@workday/canvas-accent-icons-web';
4
- import {AccentIcon} from '@workday/canvas-kit-react/icon';
1
+ import {rocketIcon} from '@workday/canvas-expressive-icons-web';
2
+ import {ExpressiveIcon} from '@workday/canvas-kit-react/icon';
5
3
  import {Flex} from '@workday/canvas-kit-react/layout';
6
- import {SidePanel, useSidePanelModel} from '@workday/canvas-kit-react/side-panel';
4
+ import {SidePanel} from '@workday/canvas-kit-react/side-panel';
7
5
  import {createStyles, px2rem} from '@workday/canvas-kit-styling';
8
6
  import {system} from '@workday/canvas-tokens-web';
9
7
 
@@ -22,7 +20,7 @@ export default () => {
22
20
  <SidePanel>
23
21
  <SidePanel.Heading size="small">
24
22
  <Flex cs={flexHeadingStyles}>
25
- <AccentIcon icon={rocketIcon} />
23
+ <ExpressiveIcon icon={rocketIcon} />
26
24
  Tasks Panel
27
25
  </Flex>
28
26
  </SidePanel.Heading>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "15.0.12",
3
+ "version": "16.0.0-alpha.0392-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",
@@ -47,12 +47,12 @@
47
47
  "@stackblitz/sdk": "^1.11.0",
48
48
  "@storybook/csf": "0.0.1",
49
49
  "@workday/canvas-expressive-icons-web": "1.0.2",
50
- "@workday/canvas-kit-labs-react": "^15.0.12",
51
- "@workday/canvas-kit-preview-react": "^15.0.12",
52
- "@workday/canvas-kit-react": "^15.0.12",
53
- "@workday/canvas-kit-styling": "^15.0.12",
50
+ "@workday/canvas-kit-labs-react": "^16.0.0-alpha.0392-next.0",
51
+ "@workday/canvas-kit-preview-react": "^16.0.0-alpha.0392-next.0",
52
+ "@workday/canvas-kit-react": "^16.0.0-alpha.0392-next.0",
53
+ "@workday/canvas-kit-styling": "^16.0.0-alpha.0392-next.0",
54
54
  "@workday/canvas-system-icons-web": "4.0.4",
55
- "@workday/canvas-tokens-web": "4.3.0",
55
+ "@workday/canvas-tokens-web": "4.4.0-beta.0",
56
56
  "markdown-to-jsx": "^7.2.0",
57
57
  "react-syntax-highlighter": "^15.5.0",
58
58
  "ts-node": "^10.9.1"
@@ -63,5 +63,5 @@
63
63
  "mkdirp": "^1.0.3",
64
64
  "typescript": "5.0"
65
65
  },
66
- "gitHead": "57e1d2aa95217bc571c783954ed79e59f7cb436d"
66
+ "gitHead": "461a289ee8683d689d5ee88cd9f166afb56fbfa7"
67
67
  }