@workday/canvas-kit-react 9.1.0-461-next.0 → 9.1.0-465-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.
@@ -2,6 +2,11 @@ import * as React from 'react';
2
2
  import { CanvasSystemIcon } from '@workday/design-assets-types';
3
3
  import { GenericStyle } from '@workday/canvas-kit-react/common';
4
4
  import { CSSProperties } from '@workday/canvas-kit-react/tokens';
5
+ /**
6
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
7
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
8
+ * @deprecated
9
+ */
5
10
  export declare enum StatusIndicatorType {
6
11
  Gray = "gray",
7
12
  Orange = "orange",
@@ -10,10 +15,20 @@ export declare enum StatusIndicatorType {
10
15
  Red = "red",
11
16
  Transparent = "transparent"
12
17
  }
18
+ /**
19
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
20
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
21
+ * @deprecated
22
+ */
13
23
  export declare enum StatusIndicatorEmphasis {
14
24
  High = "high",
15
25
  Low = "low"
16
26
  }
27
+ /**
28
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
29
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
30
+ * @deprecated
31
+ */
17
32
  export interface StatusIndicatorGenericStyle extends GenericStyle {
18
33
  styles: CSSProperties;
19
34
  variants: {
@@ -22,7 +37,17 @@ export interface StatusIndicatorGenericStyle extends GenericStyle {
22
37
  };
23
38
  };
24
39
  }
40
+ /**
41
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
42
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
43
+ * @deprecated
44
+ */
25
45
  export declare const statusIndicatorStyles: StatusIndicatorGenericStyle;
46
+ /**
47
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
48
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
49
+ * @deprecated
50
+ */
26
51
  export interface StatusIndicatorProps extends React.HTMLAttributes<HTMLSpanElement> {
27
52
  /**
28
53
  * The type of the StatusIndicator. Accepts `Gray`, `Orange`, `Blue`, `Green`, `Red`, or `Transparent`.
@@ -47,6 +72,11 @@ export interface StatusIndicatorProps extends React.HTMLAttributes<HTMLSpanEleme
47
72
  */
48
73
  icon?: CanvasSystemIcon;
49
74
  }
75
+ /**
76
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
77
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
78
+ * @deprecated
79
+ */
50
80
  export declare class StatusIndicator extends React.Component<StatusIndicatorProps> {
51
81
  static Type: typeof StatusIndicatorType;
52
82
  static Emphasis: typeof StatusIndicatorEmphasis;
@@ -1 +1 @@
1
- {"version":3,"file":"StatusIndicator.d.ts","sourceRoot":"","sources":["../../../../status-indicator/lib/StatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAC,YAAY,EAAe,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAoC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAGlG,oBAAY,mBAAmB;IAC7B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,WAAW,gBAAgB;CAC5B;AAED,oBAAY,uBAAuB;IACjC,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IA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YAAY;IAC/D,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE;SACP,UAAU,IAAI,mBAAmB,GAAG;aAClC,cAAc,IAAI,uBAAuB,CAAC,CAAC,EAAE,aAAa;SAC5D;KACF,CAAC;CACH;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,2BA2EnC,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IACjF;;OAEG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,uBAAuB,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAkBD;;;;GAIG;AACH,qBAAa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC;IACxE,OAAc,IAAI,6BAAuB;IACzC,OAAc,QAAQ,iCAA2B;IAE1C,MAAM;CA0Bd"}
@@ -27,6 +27,11 @@ const React = __importStar(require("react"));
27
27
  const icon_1 = require("@workday/canvas-kit-react/icon");
28
28
  const tokens_1 = require("@workday/canvas-kit-react/tokens");
29
29
  const styled_1 = __importDefault(require("@emotion/styled"));
30
+ /**
31
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
32
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
33
+ * @deprecated
34
+ */
30
35
  var StatusIndicatorType;
31
36
  (function (StatusIndicatorType) {
32
37
  StatusIndicatorType["Gray"] = "gray";
@@ -36,11 +41,21 @@ var StatusIndicatorType;
36
41
  StatusIndicatorType["Red"] = "red";
37
42
  StatusIndicatorType["Transparent"] = "transparent";
38
43
  })(StatusIndicatorType = exports.StatusIndicatorType || (exports.StatusIndicatorType = {}));
44
+ /**
45
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
46
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
47
+ * @deprecated
48
+ */
39
49
  var StatusIndicatorEmphasis;
40
50
  (function (StatusIndicatorEmphasis) {
41
51
  StatusIndicatorEmphasis["High"] = "high";
42
52
  StatusIndicatorEmphasis["Low"] = "low";
43
53
  })(StatusIndicatorEmphasis = exports.StatusIndicatorEmphasis || (exports.StatusIndicatorEmphasis = {}));
54
+ /**
55
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
56
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
57
+ * @deprecated
58
+ */
44
59
  exports.statusIndicatorStyles = {
45
60
  classname: 'status-indicator',
46
61
  styles: {
@@ -129,6 +144,11 @@ const StatusLabel = styled_1.default('span')({
129
144
  whiteSpace: 'nowrap',
130
145
  textOverflow: 'ellipsis',
131
146
  });
147
+ /**
148
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
149
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
150
+ * @deprecated
151
+ */
132
152
  class StatusIndicator extends React.Component {
133
153
  render() {
134
154
  const { emphasis = StatusIndicatorEmphasis.High, maxWidth = 200, type, icon, label, ...elemProps } = this.props;
@@ -2,6 +2,11 @@ import * as React from 'react';
2
2
  import { CanvasSystemIcon } from '@workday/design-assets-types';
3
3
  import { GenericStyle } from '@workday/canvas-kit-react/common';
4
4
  import { CSSProperties } from '@workday/canvas-kit-react/tokens';
5
+ /**
6
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
7
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
8
+ * @deprecated
9
+ */
5
10
  export declare enum StatusIndicatorType {
6
11
  Gray = "gray",
7
12
  Orange = "orange",
@@ -10,10 +15,20 @@ export declare enum StatusIndicatorType {
10
15
  Red = "red",
11
16
  Transparent = "transparent"
12
17
  }
18
+ /**
19
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
20
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
21
+ * @deprecated
22
+ */
13
23
  export declare enum StatusIndicatorEmphasis {
14
24
  High = "high",
15
25
  Low = "low"
16
26
  }
27
+ /**
28
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
29
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
30
+ * @deprecated
31
+ */
17
32
  export interface StatusIndicatorGenericStyle extends GenericStyle {
18
33
  styles: CSSProperties;
19
34
  variants: {
@@ -22,7 +37,17 @@ export interface StatusIndicatorGenericStyle extends GenericStyle {
22
37
  };
23
38
  };
24
39
  }
40
+ /**
41
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
42
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
43
+ * @deprecated
44
+ */
25
45
  export declare const statusIndicatorStyles: StatusIndicatorGenericStyle;
46
+ /**
47
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
48
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
49
+ * @deprecated
50
+ */
26
51
  export interface StatusIndicatorProps extends React.HTMLAttributes<HTMLSpanElement> {
27
52
  /**
28
53
  * The type of the StatusIndicator. Accepts `Gray`, `Orange`, `Blue`, `Green`, `Red`, or `Transparent`.
@@ -47,6 +72,11 @@ export interface StatusIndicatorProps extends React.HTMLAttributes<HTMLSpanEleme
47
72
  */
48
73
  icon?: CanvasSystemIcon;
49
74
  }
75
+ /**
76
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
77
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
78
+ * @deprecated
79
+ */
50
80
  export declare class StatusIndicator extends React.Component<StatusIndicatorProps> {
51
81
  static Type: typeof StatusIndicatorType;
52
82
  static Emphasis: typeof StatusIndicatorEmphasis;
@@ -1 +1 @@
1
- {"version":3,"file":"StatusIndicator.d.ts","sourceRoot":"","sources":["../../../../status-indicator/lib/StatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAC,YAAY,EAAe,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAoC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAGlG,oBAAY,mBAAmB;IAC7B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,WAAW,gBAAgB;CAC5B;AAED,oBAAY,uBAAuB;IACjC,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAC/D,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE;SACP,UAAU,IAAI,mBAAmB,GAAG;aAClC,cAAc,IAAI,uBAAuB,CAAC,CAAC,EAAE,aAAa;SAC5D;KACF,CAAC;CACH;AAED,eAAO,MAAM,qBAAqB,EAAE,2BA2EnC,CAAC;AAEF,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IACjF;;OAEG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,uBAAuB,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MA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AAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAkBD;;;;GAIG;AACH,qBAAa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC;IACxE,OAAc,IAAI,6BAAuB;IACzC,OAAc,QAAQ,iCAA2B;IAE1C,MAAM;CA0Bd"}
@@ -2,6 +2,11 @@ import * as React from 'react';
2
2
  import { SystemIcon } from '@workday/canvas-kit-react/icon';
3
3
  import { borderRadius, colors, type, space } from '@workday/canvas-kit-react/tokens';
4
4
  import styled from '@emotion/styled';
5
+ /**
6
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
7
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
8
+ * @deprecated
9
+ */
5
10
  export var StatusIndicatorType;
6
11
  (function (StatusIndicatorType) {
7
12
  StatusIndicatorType["Gray"] = "gray";
@@ -11,11 +16,21 @@ export var StatusIndicatorType;
11
16
  StatusIndicatorType["Red"] = "red";
12
17
  StatusIndicatorType["Transparent"] = "transparent";
13
18
  })(StatusIndicatorType || (StatusIndicatorType = {}));
19
+ /**
20
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
21
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
22
+ * @deprecated
23
+ */
14
24
  export var StatusIndicatorEmphasis;
15
25
  (function (StatusIndicatorEmphasis) {
16
26
  StatusIndicatorEmphasis["High"] = "high";
17
27
  StatusIndicatorEmphasis["Low"] = "low";
18
28
  })(StatusIndicatorEmphasis || (StatusIndicatorEmphasis = {}));
29
+ /**
30
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
31
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
32
+ * @deprecated
33
+ */
19
34
  export const statusIndicatorStyles = {
20
35
  classname: 'status-indicator',
21
36
  styles: {
@@ -104,6 +119,11 @@ const StatusLabel = styled('span')({
104
119
  whiteSpace: 'nowrap',
105
120
  textOverflow: 'ellipsis',
106
121
  });
122
+ /**
123
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
124
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
125
+ * @deprecated
126
+ */
107
127
  export class StatusIndicator extends React.Component {
108
128
  render() {
109
129
  const { emphasis = StatusIndicatorEmphasis.High, maxWidth = 200, type, icon, label, ...elemProps } = this.props;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "9.1.0-461-next.0",
3
+ "version": "9.1.0-465-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,7 +49,7 @@
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": "^9.1.0-461-next.0",
52
+ "@workday/canvas-kit-popup-stack": "^9.1.0-465-next.0",
53
53
  "@workday/canvas-system-icons-web": "^3.0.0",
54
54
  "@workday/design-assets-types": "^0.2.8",
55
55
  "chroma-js": "^2.1.0",
@@ -66,5 +66,5 @@
66
66
  "@workday/canvas-accent-icons-web": "^3.0.0",
67
67
  "@workday/canvas-applet-icons-web": "^2.0.0"
68
68
  },
69
- "gitHead": "67ad53e6be69d4c5bff04ab40784466efef4dfe0"
69
+ "gitHead": "7a79dee636b2588e041a410e98617adf0807ed54"
70
70
  }
@@ -5,6 +5,11 @@ import {GenericStyle, PickRequired} from '@workday/canvas-kit-react/common';
5
5
  import {borderRadius, colors, type, space, CSSProperties} from '@workday/canvas-kit-react/tokens';
6
6
  import styled from '@emotion/styled';
7
7
 
8
+ /**
9
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
10
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
11
+ * @deprecated
12
+ */
8
13
  export enum StatusIndicatorType {
9
14
  Gray = 'gray',
10
15
  Orange = 'orange',
@@ -14,11 +19,21 @@ export enum StatusIndicatorType {
14
19
  Transparent = 'transparent',
15
20
  }
16
21
 
22
+ /**
23
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
24
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
25
+ * @deprecated
26
+ */
17
27
  export enum StatusIndicatorEmphasis {
18
28
  High = 'high',
19
29
  Low = 'low',
20
30
  }
21
31
 
32
+ /**
33
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
34
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
35
+ * @deprecated
36
+ */
22
37
  export interface StatusIndicatorGenericStyle extends GenericStyle {
23
38
  styles: CSSProperties;
24
39
  variants: {
@@ -28,6 +43,11 @@ export interface StatusIndicatorGenericStyle extends GenericStyle {
28
43
  };
29
44
  }
30
45
 
46
+ /**
47
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
48
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
49
+ * @deprecated
50
+ */
31
51
  export const statusIndicatorStyles: StatusIndicatorGenericStyle = {
32
52
  classname: 'status-indicator',
33
53
  styles: {
@@ -105,6 +125,11 @@ export const statusIndicatorStyles: StatusIndicatorGenericStyle = {
105
125
  },
106
126
  };
107
127
 
128
+ /**
129
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
130
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
131
+ * @deprecated
132
+ */
108
133
  export interface StatusIndicatorProps extends React.HTMLAttributes<HTMLSpanElement> {
109
134
  /**
110
135
  * The type of the StatusIndicator. Accepts `Gray`, `Orange`, `Blue`, `Green`, `Red`, or `Transparent`.
@@ -146,6 +171,11 @@ const StatusLabel = styled('span')({
146
171
  textOverflow: 'ellipsis',
147
172
  });
148
173
 
174
+ /**
175
+ * ### ⚠️ Status Indicator has been deprecated and will be removed in v11 ⚠️
176
+ * - Please consider using [`Status Indicator`](https://workday.github.io/canvas-kit/?path=/docs/preview-status-indicator--basic) in preview
177
+ * @deprecated
178
+ */
149
179
  export class StatusIndicator extends React.Component<StatusIndicatorProps> {
150
180
  public static Type = StatusIndicatorType;
151
181
  public static Emphasis = StatusIndicatorEmphasis;