@workday/canvas-kit-docs 14.3.12 → 14.3.13
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/stackblitzFiles/packageJSONFile.js +5 -5
- package/dist/es6/lib/stackblitzFiles/packageJSONFile.ts +5 -5
- package/dist/es6/mdx/accessibility/examples/PageStructure/LandmarkRegions.d.ts +1 -1
- package/dist/es6/mdx/accessibility/examples/PageStructure/LandmarkRegions.d.ts.map +1 -1
- package/dist/es6/mdx/accessibility/examples/PageStructure/LandmarkRegions.js +1 -1
- package/dist/mdx/accessibility/PageStructure.mdx +2 -2
- package/package.json +6 -6
|
@@ -18,11 +18,11 @@ export const packageJSONFile = `{
|
|
|
18
18
|
"@emotion/react": "11.11.4",
|
|
19
19
|
"@types/react": "18.2.60",
|
|
20
20
|
"@types/react-dom": "18.2.19",
|
|
21
|
-
"@workday/canvas-kit-labs-react": "14.3.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "14.3.
|
|
23
|
-
"@workday/canvas-kit-react": "14.3.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^14.3.
|
|
25
|
-
"@workday/canvas-kit-styling": "14.3.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "14.3.13",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "14.3.13",
|
|
23
|
+
"@workday/canvas-kit-react": "14.3.13",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^14.3.13",
|
|
25
|
+
"@workday/canvas-kit-styling": "14.3.13",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.36",
|
|
27
27
|
"@workday/canvas-tokens-web": "3.1.2"
|
|
28
28
|
},
|
|
@@ -18,11 +18,11 @@ export const packageJSONFile = `{
|
|
|
18
18
|
"@emotion/react": "11.11.4",
|
|
19
19
|
"@types/react": "18.2.60",
|
|
20
20
|
"@types/react-dom": "18.2.19",
|
|
21
|
-
"@workday/canvas-kit-labs-react": "14.3.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "14.3.
|
|
23
|
-
"@workday/canvas-kit-react": "14.3.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^14.3.
|
|
25
|
-
"@workday/canvas-kit-styling": "14.3.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "14.3.13",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "14.3.13",
|
|
23
|
+
"@workday/canvas-kit-react": "14.3.13",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^14.3.13",
|
|
25
|
+
"@workday/canvas-kit-styling": "14.3.13",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.36",
|
|
27
27
|
"@workday/canvas-tokens-web": "3.1.2"
|
|
28
28
|
},
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const LandmarkRegions: () => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
//# sourceMappingURL=LandmarkRegions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LandmarkRegions.d.ts","sourceRoot":"","sources":["../../../../../../mdx/accessibility/examples/PageStructure/LandmarkRegions.tsx"],"names":[],"mappings":"AAuBA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"LandmarkRegions.d.ts","sourceRoot":"","sources":["../../../../../../mdx/accessibility/examples/PageStructure/LandmarkRegions.tsx"],"names":[],"mappings":"AAuBA,eAAO,MAAM,eAAe,+CAyB3B,CAAC"}
|
|
@@ -17,6 +17,6 @@ const regionStyles = createStyles({
|
|
|
17
17
|
const headingStyles = createStyles({
|
|
18
18
|
margin: system.space.zero,
|
|
19
19
|
});
|
|
20
|
-
export const
|
|
20
|
+
export const LandmarkRegions = () => {
|
|
21
21
|
return (_jsxs(Grid, { cs: gridLayoutStyles, children: [_jsx(Grid, { as: "header", gridArea: "Header", cs: regionStyles, children: _jsx(Heading, { size: "small", cs: headingStyles, children: "Page Header" }) }), _jsx(Grid, { as: "nav", gridArea: "SideBar", cs: regionStyles, children: _jsx(Heading, { size: "small", cs: headingStyles, children: "Navigation" }) }), _jsx(Grid, { as: "main", gridArea: "BodyContent", cs: regionStyles, children: _jsx(Heading, { size: "small", cs: headingStyles, children: "Main Content" }) }), _jsx(Grid, { as: "footer", gridArea: "Footer", cs: regionStyles, children: _jsx(Heading, { size: "small", cs: headingStyles, children: "Page Footer" }) })] }));
|
|
22
22
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {ExampleCodeBlock} from '@workday/canvas-kit-docs';
|
|
2
|
-
import
|
|
2
|
+
import LandmarkRegions from './examples/PageStructure/LandmarkRegions';
|
|
3
3
|
import FullPageDemo from './examples/PageStructure/FullPageDemo';
|
|
4
4
|
|
|
5
5
|
|
|
@@ -33,7 +33,7 @@ navigation sections, make sure to give them different names so a screen reader c
|
|
|
33
33
|
For example, a global navigation region should be distinguishable from a bread crumb navigation
|
|
34
34
|
region.
|
|
35
35
|
|
|
36
|
-
<ExampleCodeBlock code={
|
|
36
|
+
<ExampleCodeBlock code={LandmarkRegions} />
|
|
37
37
|
|
|
38
38
|
### Using Headings to Outline Your Content
|
|
39
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.13",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@emotion/styled": "^11.6.0",
|
|
46
46
|
"@stackblitz/sdk": "^1.11.0",
|
|
47
47
|
"@storybook/csf": "0.0.1",
|
|
48
|
-
"@workday/canvas-kit-labs-react": "^14.3.
|
|
49
|
-
"@workday/canvas-kit-preview-react": "^14.3.
|
|
50
|
-
"@workday/canvas-kit-react": "^14.3.
|
|
51
|
-
"@workday/canvas-kit-styling": "^14.3.
|
|
48
|
+
"@workday/canvas-kit-labs-react": "^14.3.13",
|
|
49
|
+
"@workday/canvas-kit-preview-react": "^14.3.13",
|
|
50
|
+
"@workday/canvas-kit-react": "^14.3.13",
|
|
51
|
+
"@workday/canvas-kit-styling": "^14.3.13",
|
|
52
52
|
"@workday/canvas-system-icons-web": "^3.0.36",
|
|
53
53
|
"@workday/canvas-tokens-web": "^3.1.6",
|
|
54
54
|
"markdown-to-jsx": "^7.2.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"mkdirp": "^1.0.3",
|
|
62
62
|
"typescript": "5.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "bee190925f52a52352d04952d0874f3f77ffcd28"
|
|
65
65
|
}
|