@workday/canvas-kit-react 7.2.1 → 7.2.4

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,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { Placement, PopperOptions } from './Popper';
3
- export interface PopupPopperProps {
2
+ import { Placement, PopperOptions, PopperProps } from './Popper';
3
+ export interface PopupPopperProps extends PopperProps {
4
4
  /**
5
5
  * The placement of the `Popper` contents relative to the `anchorElement`. Accepts `auto`, `top`,
6
6
  * `right`, `bottom`, or `left`. Each placement can also be modified using any of the following
@@ -12,7 +12,6 @@ export interface PopupPopperProps {
12
12
  * The additional options passed to the Popper's `popper.js` instance.
13
13
  */
14
14
  popperOptions?: Partial<PopperOptions>;
15
- children?: React.ReactNode;
16
15
  }
17
16
  export declare const PopupPopper: import("../../common").ElementComponentM<"div", PopupPopperProps, {
18
17
  state: {
@@ -1 +1 @@
1
- {"version":3,"file":"PopupPopper.d.ts","sourceRoot":"","sources":["../../../../popup/lib/PopupPopper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAC,SAAS,EAAE,aAAa,EAAS,MAAM,UAAU,CAAC;AAE1D,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;EAMtB,CAAC"}
1
+ {"version":3,"file":"PopupPopper.d.ts","sourceRoot":"","sources":["../../../../popup/lib/PopupPopper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAC,SAAS,EAAE,aAAa,EAAU,WAAW,EAAC,MAAM,UAAU,CAAC;AAEvE,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD;;;;;OAKG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;EAMtB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { Placement, PopperOptions } from './Popper';
3
- export interface PopupPopperProps {
2
+ import { Placement, PopperOptions, PopperProps } from './Popper';
3
+ export interface PopupPopperProps extends PopperProps {
4
4
  /**
5
5
  * The placement of the `Popper` contents relative to the `anchorElement`. Accepts `auto`, `top`,
6
6
  * `right`, `bottom`, or `left`. Each placement can also be modified using any of the following
@@ -12,7 +12,6 @@ export interface PopupPopperProps {
12
12
  * The additional options passed to the Popper's `popper.js` instance.
13
13
  */
14
14
  popperOptions?: Partial<PopperOptions>;
15
- children?: React.ReactNode;
16
15
  }
17
16
  export declare const PopupPopper: import("../../common").ElementComponentM<"div", PopupPopperProps, {
18
17
  state: {
@@ -1 +1 @@
1
- {"version":3,"file":"PopupPopper.d.ts","sourceRoot":"","sources":["../../../../popup/lib/PopupPopper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAC,SAAS,EAAE,aAAa,EAAS,MAAM,UAAU,CAAC;AAE1D,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;EAMtB,CAAC"}
1
+ {"version":3,"file":"PopupPopper.d.ts","sourceRoot":"","sources":["../../../../popup/lib/PopupPopper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAC,SAAS,EAAE,aAAa,EAAU,WAAW,EAAC,MAAM,UAAU,CAAC;AAEvE,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD;;;;;OAKG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;EAMtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "7.2.1",
3
+ "version": "7.2.4",
4
4
  "description": "The parent module that contains all Workday Canvas Kit React components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -49,9 +49,9 @@
49
49
  "@emotion/styled": "^11.6.0",
50
50
  "@popperjs/core": "^2.5.4",
51
51
  "@workday/canvas-colors-web": "^2.0.0",
52
- "@workday/canvas-kit-labs-react": "^7.2.1",
53
- "@workday/canvas-kit-popup-stack": "^7.2.1",
54
- "@workday/canvas-kit-preview-react": "^7.2.1",
52
+ "@workday/canvas-kit-labs-react": "^7.2.4",
53
+ "@workday/canvas-kit-popup-stack": "^7.2.4",
54
+ "@workday/canvas-kit-preview-react": "^7.2.4",
55
55
  "@workday/canvas-system-icons-web": "^3.0.0",
56
56
  "@workday/design-assets-types": "^0.2.8",
57
57
  "chroma-js": "^2.1.0",
@@ -70,5 +70,5 @@
70
70
  "@workday/canvas-accent-icons-web": "^3.0.0",
71
71
  "@workday/canvas-applet-icons-web": "^2.0.0"
72
72
  },
73
- "gitHead": "ed7a5b8c4072cc64cbf34f87de2605b40ec9e68c"
73
+ "gitHead": "045294352d747ce4a75eab985c437b4986dc27ed"
74
74
  }
@@ -3,9 +3,9 @@ import * as React from 'react';
3
3
  import {createSubcomponent} from '@workday/canvas-kit-react/common';
4
4
 
5
5
  import {usePopupModel, usePopupPopper} from './hooks';
6
- import {Placement, PopperOptions, Popper} from './Popper';
6
+ import {Placement, PopperOptions, Popper, PopperProps} from './Popper';
7
7
 
8
- export interface PopupPopperProps {
8
+ export interface PopupPopperProps extends PopperProps {
9
9
  /**
10
10
  * The placement of the `Popper` contents relative to the `anchorElement`. Accepts `auto`, `top`,
11
11
  * `right`, `bottom`, or `left`. Each placement can also be modified using any of the following
@@ -17,7 +17,6 @@ export interface PopupPopperProps {
17
17
  * The additional options passed to the Popper's `popper.js` instance.
18
18
  */
19
19
  popperOptions?: Partial<PopperOptions>;
20
- children?: React.ReactNode;
21
20
  }
22
21
 
23
22
  export const PopupPopper = createSubcomponent('div')({