@workday/canvas-kit-react 8.0.7 → 8.0.9

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.
@@ -27,9 +27,7 @@ function safeLocalStorageSet(key: string, value: string): void {
27
27
  // a. if localStorage isn't primed, use clientWidth of the browsers
28
28
  // b. if < 768, default to 'touch'
29
29
  // c. else default to 'mouse'
30
- let localStorageValue = ((typeof localStorage !== 'undefined'
31
- ? safeLocalStorageGet('modality')
32
- : '') ||
30
+ let localStorageValue = (safeLocalStorageGet('modality') ||
33
31
  (typeof document !== 'undefined'
34
32
  ? document.documentElement.clientWidth < 768
35
33
  ? 'touch'
@@ -1 +1 @@
1
- {"version":3,"file":"useModalityType.d.ts","sourceRoot":"","sources":["../../../../../common/lib/utils/useModalityType.ts"],"names":[],"mappings":"AAEA,aAAK,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC;AA+C1C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,QAAO,QAkBlC,CAAC"}
1
+ {"version":3,"file":"useModalityType.d.ts","sourceRoot":"","sources":["../../../../../common/lib/utils/useModalityType.ts"],"names":[],"mappings":"AAEA,aAAK,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC;AA6C1C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,QAAO,QAkBlC,CAAC"}
@@ -30,9 +30,7 @@ function safeLocalStorageSet(key, value) {
30
30
  // a. if localStorage isn't primed, use clientWidth of the browsers
31
31
  // b. if < 768, default to 'touch'
32
32
  // c. else default to 'mouse'
33
- var localStorageValue = ((typeof localStorage !== 'undefined'
34
- ? safeLocalStorageGet('modality')
35
- : '') ||
33
+ var localStorageValue = (safeLocalStorageGet('modality') ||
36
34
  (typeof document !== 'undefined'
37
35
  ? document.documentElement.clientWidth < 768
38
36
  ? 'touch'
@@ -1 +1 @@
1
- {"version":3,"file":"useModalityType.d.ts","sourceRoot":"","sources":["../../../../../common/lib/utils/useModalityType.ts"],"names":[],"mappings":"AAEA,aAAK,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC;AA+C1C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,QAAO,QAkBlC,CAAC"}
1
+ {"version":3,"file":"useModalityType.d.ts","sourceRoot":"","sources":["../../../../../common/lib/utils/useModalityType.ts"],"names":[],"mappings":"AAEA,aAAK,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC;AA6C1C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,QAAO,QAkBlC,CAAC"}
@@ -24,9 +24,7 @@ function safeLocalStorageSet(key, value) {
24
24
  // a. if localStorage isn't primed, use clientWidth of the browsers
25
25
  // b. if < 768, default to 'touch'
26
26
  // c. else default to 'mouse'
27
- var localStorageValue = ((typeof localStorage !== 'undefined'
28
- ? safeLocalStorageGet('modality')
29
- : '') ||
27
+ var localStorageValue = (safeLocalStorageGet('modality') ||
30
28
  (typeof document !== 'undefined'
31
29
  ? document.documentElement.clientWidth < 768
32
30
  ? 'touch'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "8.0.7",
3
+ "version": "8.0.9",
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": "^8.0.7",
52
+ "@workday/canvas-kit-popup-stack": "^8.0.9",
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",
@@ -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": "22496753e49ca4f54fcea13a8498ab1c6d42e9a3"
70
+ "gitHead": "9d2020979e7f6c9c6e23905df8478d99506c2c6a"
71
71
  }