@workday/canvas-kit-docs 9.1.9 → 9.1.11
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.
- package/dist/es6/lib/docs.js +1 -1
- package/package.json +5 -5
package/dist/es6/lib/docs.js
CHANGED
|
@@ -110500,7 +110500,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
110500
110500
|
{
|
|
110501
110501
|
"name": "pickForegroundColor",
|
|
110502
110502
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/colorUtils.ts",
|
|
110503
|
-
"description": "Chooses foreground color with
|
|
110503
|
+
"description": "Chooses foreground color with accessible contrast against background. If contrast ratio\nis greater than 4.5:1, chooses provided light or dark color (favoring light color). If neither\nhave a high enough contrast ratio, picks the first color of the following that meets 4.5:1 or higher:\n[frenchVanilla100, blackPepper300, blackPepper400, blackPepper500, blackPepper600]\n(https://www.w3.org/TR/WCAG20-TECHS/G18.html)",
|
|
110504
110504
|
"declarations": [
|
|
110505
110505
|
{
|
|
110506
110506
|
"name": "pickForegroundColor",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.11",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@emotion/styled": "^11.6.0",
|
|
46
46
|
"@storybook/csf": "0.0.1",
|
|
47
|
-
"@workday/canvas-kit-labs-react": "^9.1.
|
|
48
|
-
"@workday/canvas-kit-preview-react": "^9.1.
|
|
49
|
-
"@workday/canvas-kit-react": "^9.1.
|
|
47
|
+
"@workday/canvas-kit-labs-react": "^9.1.11",
|
|
48
|
+
"@workday/canvas-kit-preview-react": "^9.1.11",
|
|
49
|
+
"@workday/canvas-kit-react": "^9.1.11",
|
|
50
50
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
51
51
|
"markdown-to-jsx": "^6.10.3",
|
|
52
52
|
"ts-node": "^10.9.1"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"mkdirp": "^1.0.3",
|
|
58
58
|
"typescript": "4.2"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "59071fde7d7166dd786144435c1263551ed88e1f"
|
|
61
61
|
}
|