@workday/canvas-kit-docs 11.0.20 → 11.0.22

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.
@@ -160,7 +160,7 @@ the popup's stack context when entering/exiting fullscreen.
160
160
 
161
161
  <ExampleCodeBlock code={FullScreen} />
162
162
 
163
- ### Opening an external window
163
+ ### Opening an External Window
164
164
 
165
165
  A popup can open an external window. This isn't supported directly. The `Popup.Popper` subcomponent
166
166
  is replaced with a custom subcomponent that connects to the Popup model and controls the lifecycle
@@ -16,7 +16,7 @@ import {
16
16
  import {Tooltip} from '@workday/canvas-kit-react/tooltip';
17
17
  import {Popup, usePopupModel} from '@workday/canvas-kit-react/popup';
18
18
  import {SecondaryButton} from '@workday/canvas-kit-react/button';
19
- import {Flex} from '../../../layout';
19
+ import {Flex} from '@workday/canvas-kit-react/layout';
20
20
 
21
21
  const mainContentStyles = createStyles({
22
22
  padding: system.space.x4,
@@ -106,7 +106,6 @@ const ExternalWindowPortal = ({
106
106
  onWindowClose();
107
107
  };
108
108
 
109
-
110
109
  window.addEventListener('unload', closeWindow);
111
110
  newWindow?.addEventListener('unload', closeWindow);
112
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "11.0.20",
3
+ "version": "11.0.22",
4
4
  "description": "Documentation components of Canvas Kit components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -44,10 +44,10 @@
44
44
  "dependencies": {
45
45
  "@emotion/styled": "^11.6.0",
46
46
  "@storybook/csf": "0.0.1",
47
- "@workday/canvas-kit-labs-react": "^11.0.20",
48
- "@workday/canvas-kit-preview-react": "^11.0.20",
49
- "@workday/canvas-kit-react": "^11.0.20",
50
- "@workday/canvas-kit-styling": "^11.0.20",
47
+ "@workday/canvas-kit-labs-react": "^11.0.22",
48
+ "@workday/canvas-kit-preview-react": "^11.0.22",
49
+ "@workday/canvas-kit-react": "^11.0.22",
50
+ "@workday/canvas-kit-styling": "^11.0.22",
51
51
  "@workday/canvas-system-icons-web": "^3.0.0",
52
52
  "@workday/canvas-tokens-web": "^2.0.0",
53
53
  "markdown-to-jsx": "^7.2.0",
@@ -59,5 +59,5 @@
59
59
  "mkdirp": "^1.0.3",
60
60
  "typescript": "4.2"
61
61
  },
62
- "gitHead": "d0151684ede96da03067c069fec4011c898f7101"
62
+ "gitHead": "653fbad7dd8523bdc6b5aa06580dafeee691fe39"
63
63
  }