@workday/canvas-kit-react 12.0.0-alpha.846-next.0 → 12.0.0-alpha.852-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.
@@ -184,6 +184,7 @@ export const Avatar: AvatarOverload = React.forwardRef(
184
184
  onLoad={loadImage}
185
185
  isLoaded={imageLoaded}
186
186
  objectFit={objectFit}
187
+ loading="lazy"
187
188
  />
188
189
  </StyledStack>
189
190
  )}
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../avatar/lib/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAAO,EAAC,QAAQ,EAAC,MAAM,SAAS,CAAC;AAIjC,OAAO,EAAmB,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAGtF,oBAAY,aAAa;IACvB,KAAK,IAAA;IACL,IAAI,IAAA;CACL;AAED,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAChF;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,oBAAoB,GAAG,MAAM,CAAC;IACrC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,EAAE,CAAC,EAAE,KAAK,CAAC;IACX;;;;;OAKG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC;CAChC;AAED;;GAEG;AACH,aAAK,cAAc,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,GAC1F,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAEvC;;GAEG;AACH,aAAK,cAAc,GAAG;IACpB,CAAC,KAAK,EAAE;QAAC,EAAE,EA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B,CAAC,CAAC,GAC1F,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAEvC;;GAEG;AACH,aAAK,cAAc,GAAG;IACpB,CAAC,KAAK,EAAE;QAAC,EAAE,EAAE,KAAK,CAAA;KAAC,GAAG,cAAc,GAAG;QAAC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAA;KAAC,GAAG,KAAK,CAAC,YAAY,CAAC;IAC3F,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG;QAAC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAA;KAAC,GAAG,KAAK,CAAC,YAAY,CAAC;IAC5F,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,IAAI,EAAE,OAAO,oBAAoB,CAAC;CACnC,CAAC;AAyEF,eAAO,MAAM,MAAM,EAAE,cA2Db,CAAC"}
@@ -102,7 +102,7 @@ exports.Avatar = react_1.default.forwardRef(({ variant = AvatarVariant.Light, si
102
102
  react_1.default.createElement(StyledStack, { size: size },
103
103
  react_1.default.createElement(StyledIcon, { icon: canvas_system_icons_web_1.userIcon, background: background, size: size, isImageLoaded: imageLoaded })),
104
104
  url && (react_1.default.createElement(StyledStack, { size: size },
105
- react_1.default.createElement(StyledImage, { src: url, alt: altText, onLoad: loadImage, isLoaded: imageLoaded, objectFit: objectFit })))));
105
+ react_1.default.createElement(StyledImage, { src: url, alt: altText, onLoad: loadImage, isLoaded: imageLoaded, objectFit: objectFit, loading: "lazy" })))));
106
106
  }); // AvatarProps and forwardRef signatures are incompatible, so we must force cast
107
107
  exports.Avatar.Variant = AvatarVariant;
108
108
  exports.Avatar.Size = icon_1.SystemIconCircleSize;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../select/lib/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EA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;;;;;;;;;;OAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASL,CAAC"}
@@ -33,12 +33,14 @@ exports.SelectInput = common_1.createSubcomponent(text_input_1.TextInput)({
33
33
  // We need to create a proxy between the multiple inputs. We need to redirect a few methods to
34
34
  // the visible input
35
35
  react_1.default.useImperativeHandle(elementRef, () => {
36
- localRef.current.focus = (options) => {
37
- textInputProps.ref.current.focus(options);
38
- };
39
- localRef.current.blur = () => {
40
- textInputProps.ref.current.blur();
41
- };
36
+ if (localRef.current) {
37
+ localRef.current.focus = (options) => {
38
+ textInputProps.ref.current.focus(options);
39
+ };
40
+ localRef.current.blur = () => {
41
+ textInputProps.ref.current.blur();
42
+ };
43
+ }
42
44
  return localRef.current;
43
45
  }, [textInputProps.ref, localRef]);
44
46
  return (react_1.default.createElement(text_input_1.InputGroup, { "data-width": "ck-formfield-width" },
@@ -57,7 +59,7 @@ exports.SelectItem = common_1.createSubcomponent('li')({
57
59
  })(({ children, ...elemProps }, Element, _model) => {
58
60
  return (react_1.default.createElement(combobox_1.Combobox.Menu.Item, Object.assign({ role: "option", as: Element }, elemProps), children));
59
61
  });
60
- const selectCardStyles = canvas_kit_styling_1.createStyles({ name: "2fefdf", styles: "max-height:18.75rem;" });
62
+ const selectCardStyles = canvas_kit_styling_1.createStyles({ name: "555ee5", styles: "max-height:18.75rem;" });
61
63
  exports.SelectCard = common_1.createSubcomponent('div')({
62
64
  modelHook: useSelectModel_1.useSelectModel,
63
65
  elemPropsHook: useSelectCard_1.useSelectCard,
@@ -1,4 +1,3 @@
1
- export * from './lib/InputIconContainer';
2
1
  export * from './lib/TextInput';
3
2
  export { InputGroup, useInputGroupModel } from './lib/InputGroup';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../text-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAC,UAAU,EAAE,kBAAkB,EAAC,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../text-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAC,UAAU,EAAE,kBAAkB,EAAC,MAAM,kBAAkB,CAAC"}
@@ -11,7 +11,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  exports.useInputGroupModel = exports.InputGroup = void 0;
14
- __exportStar(require("./lib/InputIconContainer"), exports);
15
14
  __exportStar(require("./lib/TextInput"), exports);
16
15
  var InputGroup_1 = require("./lib/InputGroup");
17
16
  Object.defineProperty(exports, "InputGroup", { enumerable: true, get: function () { return InputGroup_1.InputGroup; } });
@@ -1 +1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IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG;QAAC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAA;KAAC,GAAG,KAAK,CAAC,YAAY,CAAC;IAC5F,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,IAAI,EAAE,OAAO,oBAAoB,CAAC;CACnC,CAAC;AAyEF,eAAO,MAAM,MAAM,EAAE,cA2Db,CAAC"}
@@ -77,7 +77,7 @@ export const Avatar = React.forwardRef(({ variant = AvatarVariant.Light, size =
77
77
  React.createElement(StyledStack, { size: size },
78
78
  React.createElement(StyledIcon, { icon: userIcon, background: background, size: size, isImageLoaded: imageLoaded })),
79
79
  url && (React.createElement(StyledStack, { size: size },
80
- React.createElement(StyledImage, { src: url, alt: altText, onLoad: loadImage, isLoaded: imageLoaded, objectFit: objectFit })))));
80
+ React.createElement(StyledImage, { src: url, alt: altText, onLoad: loadImage, isLoaded: imageLoaded, objectFit: objectFit, loading: "lazy" })))));
81
81
  }); // AvatarProps and forwardRef signatures are incompatible, so we must force cast
82
82
  Avatar.Variant = AvatarVariant;
83
83
  Avatar.Size = SystemIconCircleSize;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../select/lib/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAA8B,OAAO,EAAS,MAAM,6BAA6B,CAAC;AACzF,OAAO,EAAa,SAAS,EAAC,MAAM,sCAAsC,CAAC;AAM3E,OAAO,EAEL,YAAY,EAEZ,SAAS,EAEV,MAAM,kCAAkC,CAAC;AAG1C,MAAM,WAAW,gBAAiB,SAAQ,YAAY,CAAC,OAAO,SAAS,CAAC,EAAE,OAAO;IAC/E;;;;OAIG;IACH,cAAc,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASL,CAAC"}
@@ -27,12 +27,14 @@ export const SelectInput = createSubcomponent(TextInput)({
27
27
  // We need to create a proxy between the multiple inputs. We need to redirect a few methods to
28
28
  // the visible input
29
29
  React.useImperativeHandle(elementRef, () => {
30
- localRef.current.focus = (options) => {
31
- textInputProps.ref.current.focus(options);
32
- };
33
- localRef.current.blur = () => {
34
- textInputProps.ref.current.blur();
35
- };
30
+ if (localRef.current) {
31
+ localRef.current.focus = (options) => {
32
+ textInputProps.ref.current.focus(options);
33
+ };
34
+ localRef.current.blur = () => {
35
+ textInputProps.ref.current.blur();
36
+ };
37
+ }
36
38
  return localRef.current;
37
39
  }, [textInputProps.ref, localRef]);
38
40
  return (React.createElement(InputGroup, { "data-width": "ck-formfield-width" },
@@ -51,7 +53,7 @@ export const SelectItem = createSubcomponent('li')({
51
53
  })(({ children, ...elemProps }, Element, _model) => {
52
54
  return (React.createElement(Combobox.Menu.Item, Object.assign({ role: "option", as: Element }, elemProps), children));
53
55
  });
54
- const selectCardStyles = createStyles({ name: "2fefdf", styles: "max-height:18.75rem;" });
56
+ const selectCardStyles = createStyles({ name: "555ee5", styles: "max-height:18.75rem;" });
55
57
  export const SelectCard = createSubcomponent('div')({
56
58
  modelHook: useSelectModel,
57
59
  elemPropsHook: useSelectCard,
@@ -1,4 +1,3 @@
1
- export * from './lib/InputIconContainer';
2
1
  export * from './lib/TextInput';
3
2
  export { InputGroup, useInputGroupModel } from './lib/InputGroup';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../text-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAC,UAAU,EAAE,kBAAkB,EAAC,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../text-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAC,UAAU,EAAE,kBAAkB,EAAC,MAAM,kBAAkB,CAAC"}
@@ -1,3 +1,2 @@
1
- export * from './lib/InputIconContainer';
2
1
  export * from './lib/TextInput';
3
2
  export { InputGroup, useInputGroupModel } from './lib/InputGroup';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "12.0.0-alpha.846-next.0",
3
+ "version": "12.0.0-alpha.852-next.0",
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,8 +49,8 @@
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-popup-stack": "^12.0.0-alpha.846-next.0",
53
- "@workday/canvas-kit-styling": "^12.0.0-alpha.846-next.0",
52
+ "@workday/canvas-kit-popup-stack": "^12.0.0-alpha.852-next.0",
53
+ "@workday/canvas-kit-styling": "^12.0.0-alpha.852-next.0",
54
54
  "@workday/canvas-system-icons-web": "^3.0.0",
55
55
  "@workday/canvas-tokens-web": "^2.0.0",
56
56
  "@workday/design-assets-types": "^0.2.8",
@@ -67,5 +67,5 @@
67
67
  "@workday/canvas-accent-icons-web": "^3.0.0",
68
68
  "@workday/canvas-applet-icons-web": "^2.0.0"
69
69
  },
70
- "gitHead": "92573a5cb42a250072618c814c0bc78edaf0480a"
70
+ "gitHead": "bbd7343aec2a6657b8eff4981a7aa4a6e47af161"
71
71
  }
@@ -86,12 +86,14 @@ export const SelectInput = createSubcomponent(TextInput)({
86
86
  React.useImperativeHandle(
87
87
  elementRef,
88
88
  () => {
89
- localRef.current!.focus = (options?: FocusOptions) => {
90
- textInputProps.ref.current!.focus(options);
91
- };
92
- localRef.current!.blur = () => {
93
- textInputProps.ref.current!.blur();
94
- };
89
+ if (localRef.current) {
90
+ localRef.current.focus = (options?: FocusOptions) => {
91
+ textInputProps.ref.current!.focus(options);
92
+ };
93
+ localRef.current.blur = () => {
94
+ textInputProps.ref.current!.blur();
95
+ };
96
+ }
95
97
 
96
98
  return localRef.current!;
97
99
  },
@@ -1,3 +1,2 @@
1
- export * from './lib/InputIconContainer';
2
1
  export * from './lib/TextInput';
3
2
  export {InputGroup, useInputGroupModel} from './lib/InputGroup';
@@ -1,18 +0,0 @@
1
- import * as React from 'react';
2
- import { GrowthBehavior } from '@workday/canvas-kit-react/common';
3
- import { SystemIcon } from '@workday/canvas-kit-react/icon';
4
- /**
5
- * ### ⚠️ We've deprecated `InputIconContainerProps` from Main because it doesn't handle bidirectionality or icons at the start of an input. ⚠️
6
- * Please consider using [`InputGroup`](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-text-input--icons) instead.
7
- * @deprecated
8
- */
9
- export interface InputIconContainerProps extends GrowthBehavior {
10
- icon?: React.ReactElement<typeof SystemIcon>;
11
- }
12
- /**
13
- * ### ⚠️ We've deprecated `InputIconContainer` from Main because it doesn't handle bidirectionality or icons at the start of an input. ⚠️
14
- * Please consider using [`InputGroup`](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-text-input--icons) instead.
15
- * @deprecated
16
- */
17
- export declare const InputIconContainer: React.FunctionComponent<React.PropsWithChildren<InputIconContainerProps>>;
18
- //# sourceMappingURL=InputIconContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputIconContainer.d.ts","sourceRoot":"","sources":["../../../../text-input/lib/InputIconContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;CAC9C;AAaD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CACtD,KAAK,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,CAMjD,CAAC"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
21
- var __importDefault = (this && this.__importDefault) || function (mod) {
22
- return (mod && mod.__esModule) ? mod : { "default": mod };
23
- };
24
- Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.InputIconContainer = void 0;
26
- const React = __importStar(require("react"));
27
- const styled_1 = __importDefault(require("@emotion/styled"));
28
- const tokens_1 = require("@workday/canvas-kit-react/tokens");
29
- const Container = styled_1.default('div')(({ grow }) => ({
30
- display: grow ? 'block' : 'inline-block',
31
- position: 'relative',
32
- }));
33
- const IconContainer = styled_1.default('div')({
34
- position: 'absolute',
35
- top: tokens_1.space.xxs,
36
- right: tokens_1.space.xxs,
37
- });
38
- /**
39
- * ### ⚠️ We've deprecated `InputIconContainer` from Main because it doesn't handle bidirectionality or icons at the start of an input. ⚠️
40
- * Please consider using [`InputGroup`](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-text-input--icons) instead.
41
- * @deprecated
42
- */
43
- const InputIconContainer = ({ grow, children, icon }) => (React.createElement(Container, { grow: grow },
44
- children,
45
- icon && React.createElement(IconContainer, null, icon)));
46
- exports.InputIconContainer = InputIconContainer;
@@ -1,18 +0,0 @@
1
- import * as React from 'react';
2
- import { GrowthBehavior } from '@workday/canvas-kit-react/common';
3
- import { SystemIcon } from '@workday/canvas-kit-react/icon';
4
- /**
5
- * ### ⚠️ We've deprecated `InputIconContainerProps` from Main because it doesn't handle bidirectionality or icons at the start of an input. ⚠️
6
- * Please consider using [`InputGroup`](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-text-input--icons) instead.
7
- * @deprecated
8
- */
9
- export interface InputIconContainerProps extends GrowthBehavior {
10
- icon?: React.ReactElement<typeof SystemIcon>;
11
- }
12
- /**
13
- * ### ⚠️ We've deprecated `InputIconContainer` from Main because it doesn't handle bidirectionality or icons at the start of an input. ⚠️
14
- * Please consider using [`InputGroup`](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-text-input--icons) instead.
15
- * @deprecated
16
- */
17
- export declare const InputIconContainer: React.FunctionComponent<React.PropsWithChildren<InputIconContainerProps>>;
18
- //# sourceMappingURL=InputIconContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputIconContainer.d.ts","sourceRoot":"","sources":["../../../../text-input/lib/InputIconContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;CAC9C;AAaD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CACtD,KAAK,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,CAMjD,CAAC"}
@@ -1,20 +0,0 @@
1
- import * as React from 'react';
2
- import styled from '@emotion/styled';
3
- import { space } from '@workday/canvas-kit-react/tokens';
4
- const Container = styled('div')(({ grow }) => ({
5
- display: grow ? 'block' : 'inline-block',
6
- position: 'relative',
7
- }));
8
- const IconContainer = styled('div')({
9
- position: 'absolute',
10
- top: space.xxs,
11
- right: space.xxs,
12
- });
13
- /**
14
- * ### ⚠️ We've deprecated `InputIconContainer` from Main because it doesn't handle bidirectionality or icons at the start of an input. ⚠️
15
- * Please consider using [`InputGroup`](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-text-input--icons) instead.
16
- * @deprecated
17
- */
18
- export const InputIconContainer = ({ grow, children, icon }) => (React.createElement(Container, { grow: grow },
19
- children,
20
- icon && React.createElement(IconContainer, null, icon)));
@@ -1,39 +0,0 @@
1
- import * as React from 'react';
2
- import styled from '@emotion/styled';
3
- import {GrowthBehavior} from '@workday/canvas-kit-react/common';
4
- import {space} from '@workday/canvas-kit-react/tokens';
5
- import {SystemIcon} from '@workday/canvas-kit-react/icon';
6
-
7
- /**
8
- * ### ⚠️ We've deprecated `InputIconContainerProps` from Main because it doesn't handle bidirectionality or icons at the start of an input. ⚠️
9
- * Please consider using [`InputGroup`](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-text-input--icons) instead.
10
- * @deprecated
11
- */
12
- export interface InputIconContainerProps extends GrowthBehavior {
13
- icon?: React.ReactElement<typeof SystemIcon>;
14
- }
15
-
16
- const Container = styled('div')<InputIconContainerProps>(({grow}) => ({
17
- display: grow ? 'block' : 'inline-block',
18
- position: 'relative',
19
- }));
20
-
21
- const IconContainer = styled('div')({
22
- position: 'absolute',
23
- top: space.xxs,
24
- right: space.xxs,
25
- });
26
-
27
- /**
28
- * ### ⚠️ We've deprecated `InputIconContainer` from Main because it doesn't handle bidirectionality or icons at the start of an input. ⚠️
29
- * Please consider using [`InputGroup`](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-text-input--icons) instead.
30
- * @deprecated
31
- */
32
- export const InputIconContainer: React.FunctionComponent<
33
- React.PropsWithChildren<InputIconContainerProps>
34
- > = ({grow, children, icon}) => (
35
- <Container grow={grow}>
36
- {children}
37
- {icon && <IconContainer>{icon}</IconContainer>}
38
- </Container>
39
- );