@workday/canvas-kit-react 10.0.0-alpha.524-next.0 → 10.0.0-alpha.525-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,10 @@ import * as React from 'react';
2
2
  export declare const borderWidth = 1;
3
3
  export declare const borderColor: string;
4
4
  export declare const cellBorder: string;
5
+ /**
6
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
7
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
8
+ */
5
9
  export declare class Table extends React.Component<React.TableHTMLAttributes<HTMLTableElement>> {
6
10
  render(): JSX.Element;
7
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../table/lib/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,WAAW,IAAI,CAAC;AAC7B,eAAO,MAAM,WAAW,QAAiB,CAAC;AAC1C,eAAO,MAAM,UAAU,QAA0C,CAAC;AAYlE,qBAAa,KAAM,SAAQ,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IAC9E,MAAM;CAKd"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../table/lib/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,WAAW,IAAI,CAAC;AAC7B,eAAO,MAAM,WAAW,QAAiB,CAAC;AAC1C,eAAO,MAAM,UAAU,QAA0C,CAAC;AAYlE;;;GAGG;AACH,qBAAa,KAAM,SAAQ,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IAC9E,MAAM;CAKd"}
@@ -38,6 +38,10 @@ const TableComponent = styled_1.default('table')(tokens_1.type.levels.subtext.la
38
38
  borderSpacing: 0,
39
39
  },
40
40
  });
41
+ /**
42
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
43
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
44
+ */
41
45
  class Table extends React.Component {
42
46
  render() {
43
47
  const { children, ...elemProps } = this.props;
@@ -1,5 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { StyledType } from '@workday/canvas-kit-react/common';
3
+ /**
4
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
5
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
6
+ */
3
7
  export declare enum TableRowState {
4
8
  Error = 0,
5
9
  Alert = 1,
@@ -8,6 +12,10 @@ export declare enum TableRowState {
8
12
  Hover = 4,
9
13
  Selected = 5
10
14
  }
15
+ /**
16
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
17
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
18
+ */
11
19
  export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
12
20
  /**
13
21
  * The state of the TableRow. Accepts `Error`, `Alert`, `InputError`, `InputAlert`, `Hover`, or `Selected`.
@@ -19,6 +27,10 @@ export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement>
19
27
  */
20
28
  header?: boolean;
21
29
  }
30
+ /**
31
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
32
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
33
+ */
22
34
  export declare const TableRow: import("@workday/canvas-kit-react/common").ElementComponent<"tr", TableRowProps & StyledType> & {
23
35
  State: typeof TableRowState;
24
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../table/lib/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAkB,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAG7E,oBAAY,aAAa;IACvB,KAAK,IAAA;IACL,KAAK,IAAA;IACL,UAAU,IAAA;IACV,UAAU,IAAA;IACV,KAAK,IAAA;IACL,QAAQ,IAAA;CACT;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,mBAAmB,CAAC;IAC9E;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAuKD,eAAO,MAAM,QAAQ;;CAgBnB,CAAC"}
1
+ {"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../table/lib/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAkB,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAG7E;;;GAGG;AACH,oBAAY,aAAa;IACvB,KAAK,IAAA;IACL,KAAK,IAAA;IACL,UAAU,IAAA;IACV,UAAU,IAAA;IACV,KAAK,IAAA;IACL,QAAQ,IAAA;CACT;AAED;;;GAGG;AACH,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,mBAAmB,CAAC;IAC9E;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAuKD;;;GAGG;AACH,eAAO,MAAM,QAAQ;;CAgBnB,CAAC"}
@@ -29,6 +29,10 @@ const polished_1 = require("polished");
29
29
  const tokens_1 = require("@workday/canvas-kit-react/tokens");
30
30
  const common_1 = require("@workday/canvas-kit-react/common");
31
31
  const Table_1 = require("./Table");
32
+ /**
33
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
34
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
35
+ */
32
36
  var TableRowState;
33
37
  (function (TableRowState) {
34
38
  TableRowState[TableRowState["Error"] = 0] = "Error";
@@ -189,6 +193,10 @@ const StyledTableRow = styled_1.default('tr')({
189
193
  };
190
194
  }
191
195
  });
196
+ /**
197
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
198
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
199
+ */
192
200
  exports.TableRow = common_1.createComponent('tr')({
193
201
  displayName: 'TableRow',
194
202
  Component: ({ state, header, children, ...elemProps }, ref, Element) => {
@@ -2,6 +2,10 @@ import * as React from 'react';
2
2
  export declare const borderWidth = 1;
3
3
  export declare const borderColor: string;
4
4
  export declare const cellBorder: string;
5
+ /**
6
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
7
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
8
+ */
5
9
  export declare class Table extends React.Component<React.TableHTMLAttributes<HTMLTableElement>> {
6
10
  render(): JSX.Element;
7
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../table/lib/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,WAAW,IAAI,CAAC;AAC7B,eAAO,MAAM,WAAW,QAAiB,CAAC;AAC1C,eAAO,MAAM,UAAU,QAA0C,CAAC;AAYlE,qBAAa,KAAM,SAAQ,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IAC9E,MAAM;CAKd"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../table/lib/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,WAAW,IAAI,CAAC;AAC7B,eAAO,MAAM,WAAW,QAAiB,CAAC;AAC1C,eAAO,MAAM,UAAU,QAA0C,CAAC;AAYlE;;;GAGG;AACH,qBAAa,KAAM,SAAQ,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IAC9E,MAAM;CAKd"}
@@ -13,6 +13,10 @@ const TableComponent = styled('table')(type.levels.subtext.large, {
13
13
  borderSpacing: 0,
14
14
  },
15
15
  });
16
+ /**
17
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
18
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
19
+ */
16
20
  export class Table extends React.Component {
17
21
  render() {
18
22
  const { children, ...elemProps } = this.props;
@@ -1,5 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { StyledType } from '@workday/canvas-kit-react/common';
3
+ /**
4
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
5
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
6
+ */
3
7
  export declare enum TableRowState {
4
8
  Error = 0,
5
9
  Alert = 1,
@@ -8,6 +12,10 @@ export declare enum TableRowState {
8
12
  Hover = 4,
9
13
  Selected = 5
10
14
  }
15
+ /**
16
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
17
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
18
+ */
11
19
  export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
12
20
  /**
13
21
  * The state of the TableRow. Accepts `Error`, `Alert`, `InputError`, `InputAlert`, `Hover`, or `Selected`.
@@ -19,6 +27,10 @@ export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement>
19
27
  */
20
28
  header?: boolean;
21
29
  }
30
+ /**
31
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
32
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
33
+ */
22
34
  export declare const TableRow: import("@workday/canvas-kit-react/common").ElementComponent<"tr", TableRowProps & StyledType> & {
23
35
  State: typeof TableRowState;
24
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../table/lib/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAkB,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAG7E,oBAAY,aAAa;IACvB,KAAK,IAAA;IACL,KAAK,IAAA;IACL,UAAU,IAAA;IACV,UAAU,IAAA;IACV,KAAK,IAAA;IACL,QAAQ,IAAA;CACT;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,mBAAmB,CAAC;IAC9E;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAuKD,eAAO,MAAM,QAAQ;;CAgBnB,CAAC"}
1
+ {"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../table/lib/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAkB,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAG7E;;;GAGG;AACH,oBAAY,aAAa;IACvB,KAAK,IAAA;IACL,KAAK,IAAA;IACL,UAAU,IAAA;IACV,UAAU,IAAA;IACV,KAAK,IAAA;IACL,QAAQ,IAAA;CACT;AAED;;;GAGG;AACH,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,mBAAmB,CAAC;IAC9E;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAuKD;;;GAGG;AACH,eAAO,MAAM,QAAQ;;CAgBnB,CAAC"}
@@ -4,6 +4,10 @@ import { rgba } from 'polished';
4
4
  import { colors, space, spaceNumbers, statusColors } from '@workday/canvas-kit-react/tokens';
5
5
  import { createComponent } from '@workday/canvas-kit-react/common';
6
6
  import { borderColor, borderWidth, cellBorder } from './Table';
7
+ /**
8
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
9
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
10
+ */
7
11
  export var TableRowState;
8
12
  (function (TableRowState) {
9
13
  TableRowState[TableRowState["Error"] = 0] = "Error";
@@ -164,6 +168,10 @@ const StyledTableRow = styled('tr')({
164
168
  };
165
169
  }
166
170
  });
171
+ /**
172
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
173
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
174
+ */
167
175
  export const TableRow = createComponent('tr')({
168
176
  displayName: 'TableRow',
169
177
  Component: ({ state, header, children, ...elemProps }, ref, Element) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "10.0.0-alpha.524-next.0",
3
+ "version": "10.0.0-alpha.525-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": "^10.0.0-alpha.524-next.0",
52
+ "@workday/canvas-kit-popup-stack": "^10.0.0-alpha.525-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": "c98487a89390aff75e2686a7a902b02f675c3521"
69
+ "gitHead": "a7a213818a44c659130da784eef3915d8f0f15c5"
70
70
  }
@@ -16,6 +16,10 @@ const TableComponent = styled('table')(type.levels.subtext.large, {
16
16
  },
17
17
  });
18
18
 
19
+ /**
20
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
21
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
22
+ */
19
23
  export class Table extends React.Component<React.TableHTMLAttributes<HTMLTableElement>> {
20
24
  public render() {
21
25
  const {children, ...elemProps} = this.props;
@@ -5,6 +5,10 @@ import {colors, space, spaceNumbers, statusColors} from '@workday/canvas-kit-rea
5
5
  import {createComponent, StyledType} from '@workday/canvas-kit-react/common';
6
6
  import {borderColor, borderWidth, cellBorder} from './Table';
7
7
 
8
+ /**
9
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
10
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
11
+ */
8
12
  export enum TableRowState {
9
13
  Error,
10
14
  Alert,
@@ -14,6 +18,10 @@ export enum TableRowState {
14
18
  Selected,
15
19
  }
16
20
 
21
+ /**
22
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
23
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
24
+ */
17
25
  export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
18
26
  /**
19
27
  * The state of the TableRow. Accepts `Error`, `Alert`, `InputError`, `InputAlert`, `Hover`, or `Selected`.
@@ -192,6 +200,10 @@ const StyledTableRow = styled('tr')<TableRowProps>(
192
200
  }
193
201
  );
194
202
 
203
+ /**
204
+ * @deprecated ⚠️ `Table` has been deprecated and will be removed in a future major version.
205
+ * Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead.
206
+ */
195
207
  export const TableRow = createComponent('tr')({
196
208
  displayName: 'TableRow',
197
209
  Component: (