@workday/canvas-kit-docs 13.2.51 → 13.2.53
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,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": "13.2.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "13.2.
|
|
23
|
-
"@workday/canvas-kit-react": "13.2.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^13.2.
|
|
25
|
-
"@workday/canvas-kit-styling": "13.2.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "13.2.53",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "13.2.53",
|
|
23
|
+
"@workday/canvas-kit-react": "13.2.53",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^13.2.53",
|
|
25
|
+
"@workday/canvas-kit-styling": "13.2.53",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.22",
|
|
27
27
|
"@workday/canvas-tokens-web": "2.0.0"
|
|
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": "13.2.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "13.2.
|
|
23
|
-
"@workday/canvas-kit-react": "13.2.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^13.2.
|
|
25
|
-
"@workday/canvas-kit-styling": "13.2.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "13.2.53",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "13.2.53",
|
|
23
|
+
"@workday/canvas-kit-react": "13.2.53",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^13.2.53",
|
|
25
|
+
"@workday/canvas-kit-styling": "13.2.53",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.22",
|
|
27
27
|
"@workday/canvas-tokens-web": "2.0.0"
|
|
28
28
|
},
|
|
@@ -3,6 +3,7 @@ import Link from './examples/Hyperlink';
|
|
|
3
3
|
import LinkInverse from './examples/HyperlinkInverse';
|
|
4
4
|
import ExternalLink from './examples/ExternalHyperlink';
|
|
5
5
|
import ExternalLinkInverse from './examples/ExternalHyperlinkInverse';
|
|
6
|
+
import ExternalLinkRTL from './examples/ExternalHyperlinkRTL';
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
# Canvas Kit Hyperlinks
|
|
@@ -51,6 +52,10 @@ link on a dark or colorful background such as `blueberry400`.
|
|
|
51
52
|
|
|
52
53
|
<ExampleCodeBlock code={ExternalLinkInverse} />
|
|
53
54
|
|
|
55
|
+
`ExternalHyperlink`s will also flip the icon for right-to-left (RTL) languages.
|
|
56
|
+
|
|
57
|
+
<ExampleCodeBlock code={ExternalLinkRTL} />
|
|
58
|
+
|
|
54
59
|
### Component API
|
|
55
60
|
|
|
56
61
|
<SymbolDoc
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {ExternalHyperlink} from '@workday/canvas-kit-react/button';
|
|
2
|
+
import {CanvasProvider, ContentDirection} from '@workday/canvas-kit-react/common';
|
|
3
|
+
|
|
4
|
+
export default () => (
|
|
5
|
+
<CanvasProvider theme={{canvas: {direction: ContentDirection.RTL}}}>
|
|
6
|
+
<ExternalHyperlink href="https://workday.com" iconLabel="Opens link in new window">
|
|
7
|
+
השועל החום המהיר קופץ מעל הכלב העצל
|
|
8
|
+
</ExternalHyperlink>
|
|
9
|
+
</CanvasProvider>
|
|
10
|
+
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.53",
|
|
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": "^13.2.
|
|
49
|
-
"@workday/canvas-kit-preview-react": "^13.2.
|
|
50
|
-
"@workday/canvas-kit-react": "^13.2.
|
|
51
|
-
"@workday/canvas-kit-styling": "^13.2.
|
|
48
|
+
"@workday/canvas-kit-labs-react": "^13.2.53",
|
|
49
|
+
"@workday/canvas-kit-preview-react": "^13.2.53",
|
|
50
|
+
"@workday/canvas-kit-react": "^13.2.53",
|
|
51
|
+
"@workday/canvas-kit-styling": "^13.2.53",
|
|
52
52
|
"@workday/canvas-system-icons-web": "^3.0.35",
|
|
53
53
|
"@workday/canvas-tokens-web": "^2.1.1",
|
|
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": "5ee03f1a6d3f3e9d9f296163e73cba6f4c212099"
|
|
65
65
|
}
|