@workday/canvas-kit-docs 10.1.2 → 10.1.4

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.
@@ -108979,6 +108979,116 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
108979
108979
  "name": "CanvasProvider"
108980
108980
  }
108981
108981
  },
108982
+ {
108983
+ "name": "useCanvasThemeToCssVars",
108984
+ "fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/CanvasProvider.tsx",
108985
+ "description": "",
108986
+ "declarations": [
108987
+ {
108988
+ "name": "useCanvasThemeToCssVars",
108989
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/CanvasProvider.tsx"
108990
+ }
108991
+ ],
108992
+ "tags": {},
108993
+ "type": {
108994
+ "kind": "function",
108995
+ "parameters": [
108996
+ {
108997
+ "kind": "parameter",
108998
+ "name": "theme",
108999
+ "type": {
109000
+ "kind": "union",
109001
+ "value": [
109002
+ {
109003
+ "kind": "symbol",
109004
+ "name": "PartialEmotionCanvasTheme",
109005
+ "value": "PartialEmotionCanvasTheme"
109006
+ },
109007
+ {
109008
+ "kind": "primitive",
109009
+ "value": "undefined"
109010
+ }
109011
+ ]
109012
+ },
109013
+ "required": false,
109014
+ "rest": false,
109015
+ "description": "",
109016
+ "declarations": [
109017
+ {
109018
+ "name": "theme",
109019
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/CanvasProvider.tsx"
109020
+ }
109021
+ ],
109022
+ "tags": {}
109023
+ },
109024
+ {
109025
+ "kind": "parameter",
109026
+ "name": "elemProps",
109027
+ "type": {
109028
+ "kind": "symbol",
109029
+ "name": "React.HTMLAttributes",
109030
+ "typeParameters": [
109031
+ {
109032
+ "kind": "symbol",
109033
+ "name": "HTMLElement",
109034
+ "value": "HTMLElement"
109035
+ }
109036
+ ],
109037
+ "value": "HTMLAttributes<T>"
109038
+ },
109039
+ "required": true,
109040
+ "rest": false,
109041
+ "description": "",
109042
+ "declarations": [
109043
+ {
109044
+ "name": "elemProps",
109045
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/CanvasProvider.tsx"
109046
+ }
109047
+ ],
109048
+ "tags": {}
109049
+ }
109050
+ ],
109051
+ "members": [],
109052
+ "returnType": {
109053
+ "kind": "object",
109054
+ "properties": [
109055
+ {
109056
+ "kind": "property",
109057
+ "name": "className",
109058
+ "type": {
109059
+ "kind": "primitive",
109060
+ "value": "string"
109061
+ },
109062
+ "description": "",
109063
+ "declarations": [
109064
+ {
109065
+ "name": "className",
109066
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/CanvasProvider.tsx"
109067
+ }
109068
+ ],
109069
+ "tags": {}
109070
+ },
109071
+ {
109072
+ "kind": "property",
109073
+ "name": "style",
109074
+ "type": {
109075
+ "kind": "external",
109076
+ "name": "CSSProperties",
109077
+ "url": "https://emotion.sh/docs/object-styles"
109078
+ },
109079
+ "description": "",
109080
+ "declarations": [
109081
+ {
109082
+ "name": "style",
109083
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/CanvasProvider.tsx"
109084
+ }
109085
+ ],
109086
+ "tags": {}
109087
+ }
109088
+ ]
109089
+ }
109090
+ }
109091
+ },
108982
109092
  {
108983
109093
  "name": "CanvasProvider",
108984
109094
  "fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/CanvasProvider.tsx",
@@ -117450,7 +117560,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
117450
117560
  {
117451
117561
  "name": "getFirstFocusableElement",
117452
117562
  "fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/utils/elements.ts",
117453
- "description": "Get the first focusable element in a container.",
117563
+ "description": "Get the first focusable element in a container.\n\nReturns an array of elements if the first focusable element is a radio group",
117454
117564
  "declarations": [
117455
117565
  {
117456
117566
  "name": "getFirstFocusableElement",
@@ -117485,6 +117595,14 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
117485
117595
  "returnType": {
117486
117596
  "kind": "union",
117487
117597
  "value": [
117598
+ {
117599
+ "kind": "array",
117600
+ "value": {
117601
+ "kind": "external",
117602
+ "name": "Element",
117603
+ "url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
117604
+ }
117605
+ },
117488
117606
  {
117489
117607
  "kind": "symbol",
117490
117608
  "name": "HTMLElement",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "10.1.2",
3
+ "version": "10.1.4",
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,10 +44,10 @@
44
44
  "dependencies": {
45
45
  "@emotion/styled": "^11.6.0",
46
46
  "@storybook/csf": "0.0.1",
47
- "@workday/canvas-kit-labs-react": "^10.1.2",
48
- "@workday/canvas-kit-preview-react": "^10.1.2",
49
- "@workday/canvas-kit-react": "^10.1.2",
50
- "@workday/canvas-kit-styling": "^10.1.2",
47
+ "@workday/canvas-kit-labs-react": "^10.1.4",
48
+ "@workday/canvas-kit-preview-react": "^10.1.4",
49
+ "@workday/canvas-kit-react": "^10.1.4",
50
+ "@workday/canvas-kit-styling": "^10.1.4",
51
51
  "@workday/canvas-system-icons-web": "^3.0.0",
52
52
  "@workday/canvas-tokens-web": "^1.0.0",
53
53
  "markdown-to-jsx": "^6.10.3",
@@ -59,5 +59,5 @@
59
59
  "mkdirp": "^1.0.3",
60
60
  "typescript": "4.2"
61
61
  },
62
- "gitHead": "d864e467103e916bb1beac651d19e9d9c7ead909"
62
+ "gitHead": "6dbd6f678e12887b64fa3c6289bbd026849fc26a"
63
63
  }