@workday/canvas-kit-labs-react 9.1.20 → 9.1.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.
@@ -18,9 +18,6 @@ const getConvertedStyles = (
18
18
  };
19
19
 
20
20
  /**
21
- * @deprecated Now that IE11 is no longer supported, we encourage consumers to use [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties)
22
- *
23
- *
24
21
  * A helpful hook for supporting bidirectional styles.
25
22
  * * Read below for more detail or [view the docs](https://github.com/Workday/canvas-kit/blob/master/modules/labs-react/common/README.md#useThemeRTL).
26
23
  *
@@ -48,6 +45,8 @@ const getConvertedStyles = (
48
45
  *
49
46
  * return <span css={errorTextStyles} {...props} />;
50
47
  * }
48
+ *
49
+ * @deprecated ⚠️ `useThemeRTL` has been deprecated and will be removed in a future major version. Now that IE11 is no longer supported, we encourage consumers to use [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties).
51
50
  */
52
51
  export function useThemeRTL() {
53
52
  const theme = useTheme();
@@ -1,9 +1,6 @@
1
1
  import { CSSProperties } from '@workday/canvas-kit-react/tokens';
2
2
  export declare type ComponentStyles = Record<string, CSSProperties>;
3
3
  /**
4
- * @deprecated Now that IE11 is no longer supported, we encourage consumers to use [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties)
5
- *
6
- *
7
4
  * A helpful hook for supporting bidirectional styles.
8
5
  * * Read below for more detail or [view the docs](https://github.com/Workday/canvas-kit/blob/master/modules/labs-react/common/README.md#useThemeRTL).
9
6
  *
@@ -31,6 +28,8 @@ export declare type ComponentStyles = Record<string, CSSProperties>;
31
28
  *
32
29
  * return <span css={errorTextStyles} {...props} />;
33
30
  * }
31
+ *
32
+ * @deprecated ⚠️ `useThemeRTL` has been deprecated and will be removed in a future major version. Now that IE11 is no longer supported, we encourage consumers to use [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties).
34
33
  */
35
34
  export declare function useThemeRTL(): {
36
35
  themeRTL: (...cssObject: CSSProperties[]) => CSSProperties;
@@ -1 +1 @@
1
- {"version":3,"file":"useThemeRTL.d.ts","sourceRoot":"","sources":["../../../../../common/lib/theming/useThemeRTL.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAI/D,oBAAY,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AAc5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,WAAW;6BAMD,aAAa,EAAE;;EAYxC"}
1
+ {"version":3,"file":"useThemeRTL.d.ts","sourceRoot":"","sources":["../../../../../common/lib/theming/useThemeRTL.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAI/D,oBAAY,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AAc5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,WAAW;6BAMD,aAAa,EAAE;;EAYxC"}
@@ -14,9 +14,6 @@ const getConvertedStyles = (styles, convertFunc) => {
14
14
  return convertFunc ? convertFunc(styles) : styles;
15
15
  };
16
16
  /**
17
- * @deprecated Now that IE11 is no longer supported, we encourage consumers to use [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties)
18
- *
19
- *
20
17
  * A helpful hook for supporting bidirectional styles.
21
18
  * * Read below for more detail or [view the docs](https://github.com/Workday/canvas-kit/blob/master/modules/labs-react/common/README.md#useThemeRTL).
22
19
  *
@@ -44,6 +41,8 @@ const getConvertedStyles = (styles, convertFunc) => {
44
41
  *
45
42
  * return <span css={errorTextStyles} {...props} />;
46
43
  * }
44
+ *
45
+ * @deprecated ⚠️ `useThemeRTL` has been deprecated and will be removed in a future major version. Now that IE11 is no longer supported, we encourage consumers to use [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties).
47
46
  */
48
47
  function useThemeRTL() {
49
48
  const theme = common_1.useTheme();
@@ -1,9 +1,6 @@
1
1
  import { CSSProperties } from '@workday/canvas-kit-react/tokens';
2
2
  export declare type ComponentStyles = Record<string, CSSProperties>;
3
3
  /**
4
- * @deprecated Now that IE11 is no longer supported, we encourage consumers to use [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties)
5
- *
6
- *
7
4
  * A helpful hook for supporting bidirectional styles.
8
5
  * * Read below for more detail or [view the docs](https://github.com/Workday/canvas-kit/blob/master/modules/labs-react/common/README.md#useThemeRTL).
9
6
  *
@@ -31,6 +28,8 @@ export declare type ComponentStyles = Record<string, CSSProperties>;
31
28
  *
32
29
  * return <span css={errorTextStyles} {...props} />;
33
30
  * }
31
+ *
32
+ * @deprecated ⚠️ `useThemeRTL` has been deprecated and will be removed in a future major version. Now that IE11 is no longer supported, we encourage consumers to use [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties).
34
33
  */
35
34
  export declare function useThemeRTL(): {
36
35
  themeRTL: (...cssObject: CSSProperties[]) => CSSProperties;
@@ -1 +1 @@
1
- {"version":3,"file":"useThemeRTL.d.ts","sourceRoot":"","sources":["../../../../../common/lib/theming/useThemeRTL.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAI/D,oBAAY,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AAc5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,WAAW;6BAMD,aAAa,EAAE;;EAYxC"}
1
+ {"version":3,"file":"useThemeRTL.d.ts","sourceRoot":"","sources":["../../../../../common/lib/theming/useThemeRTL.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAI/D,oBAAY,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AAc5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,WAAW;6BAMD,aAAa,EAAE;;EAYxC"}
@@ -8,9 +8,6 @@ const getConvertedStyles = (styles, convertFunc) => {
8
8
  return convertFunc ? convertFunc(styles) : styles;
9
9
  };
10
10
  /**
11
- * @deprecated Now that IE11 is no longer supported, we encourage consumers to use [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties)
12
- *
13
- *
14
11
  * A helpful hook for supporting bidirectional styles.
15
12
  * * Read below for more detail or [view the docs](https://github.com/Workday/canvas-kit/blob/master/modules/labs-react/common/README.md#useThemeRTL).
16
13
  *
@@ -38,6 +35,8 @@ const getConvertedStyles = (styles, convertFunc) => {
38
35
  *
39
36
  * return <span css={errorTextStyles} {...props} />;
40
37
  * }
38
+ *
39
+ * @deprecated ⚠️ `useThemeRTL` has been deprecated and will be removed in a future major version. Now that IE11 is no longer supported, we encourage consumers to use [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties).
41
40
  */
42
41
  export function useThemeRTL() {
43
42
  const theme = useTheme();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-labs-react",
3
- "version": "9.1.20",
3
+ "version": "9.1.22",
4
4
  "description": "Canvas Kit Labs is an incubator for new and experimental components. Since we have a rather rigorous process for getting components in at a production level, it can be valuable to make them available earlier while we continuously iterate on the API/functionality. The Labs modules allow us to do that as needed.",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -46,7 +46,7 @@
46
46
  "dependencies": {
47
47
  "@emotion/react": "^11.7.1",
48
48
  "@emotion/styled": "^11.6.0",
49
- "@workday/canvas-kit-react": "^9.1.20",
49
+ "@workday/canvas-kit-react": "^9.1.22",
50
50
  "@workday/canvas-system-icons-web": "^3.0.0",
51
51
  "@workday/design-assets-types": "^0.2.8",
52
52
  "chroma-js": "^2.1.0",
@@ -56,5 +56,5 @@
56
56
  "devDependencies": {
57
57
  "@types/lodash.flatten": "^4.4.6"
58
58
  },
59
- "gitHead": "bc7ee7591923119553f1bbb2d3fd93c2e4c005d1"
59
+ "gitHead": "b00fd1c6dd6d3c2653d4ec7e518df12427557562"
60
60
  }