@workday/canvas-kit-docs 14.0.0-alpha.1174-next.0 → 14.0.0-alpha.1176-next.0
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 +21 -21
- package/dist/mdx/labs-react/ai-assistant-ingress-button/{AiAssistantIngressButton.mdx → AIAssistantIngressButton.mdx} +2 -2
- package/dist/mdx/labs-react/ai-assistant-ingress-button/examples/Basic.tsx +2 -2
- package/dist/mdx/labs-react/ai-assistant-ingress-button/examples/Inverse.tsx +2 -2
- package/package.json +6 -6
package/dist/es6/lib/docs.js
CHANGED
|
@@ -8,19 +8,19 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
8
8
|
[
|
|
9
9
|
|
|
10
10
|
{
|
|
11
|
-
"name": "
|
|
12
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
11
|
+
"name": "AIAssistantIngressButtonProps",
|
|
12
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressButton.tsx",
|
|
13
13
|
"description": "",
|
|
14
14
|
"declarations": [
|
|
15
15
|
{
|
|
16
|
-
"name": "
|
|
17
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
16
|
+
"name": "AIAssistantIngressButtonProps",
|
|
17
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressButton.tsx"
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"tags": {},
|
|
21
21
|
"type": {
|
|
22
22
|
"kind": "alias",
|
|
23
|
-
"name": "
|
|
23
|
+
"name": "AIAssistantIngressButton"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
{
|
|
@@ -34,13 +34,13 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"name": "
|
|
38
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
37
|
+
"name": "AIAssistantIngressButtonStencil",
|
|
38
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressButton.tsx",
|
|
39
39
|
"description": "",
|
|
40
40
|
"declarations": [
|
|
41
41
|
{
|
|
42
|
-
"name": "
|
|
43
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
42
|
+
"name": "AIAssistantIngressButtonStencil",
|
|
43
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressButton.tsx"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
46
|
"tags": {},
|
|
@@ -723,20 +723,20 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
723
723
|
}
|
|
724
724
|
},
|
|
725
725
|
{
|
|
726
|
-
"name": "
|
|
727
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
726
|
+
"name": "AIAssistantIngressButton",
|
|
727
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressButton.tsx",
|
|
728
728
|
"description": "",
|
|
729
729
|
"declarations": [
|
|
730
730
|
{
|
|
731
|
-
"name": "
|
|
732
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
731
|
+
"name": "AIAssistantIngressButton",
|
|
732
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressButton.tsx"
|
|
733
733
|
}
|
|
734
734
|
],
|
|
735
735
|
"tags": {},
|
|
736
736
|
"type": {
|
|
737
737
|
"kind": "enhancedComponent",
|
|
738
738
|
"componentType": "regular",
|
|
739
|
-
"displayName": "
|
|
739
|
+
"displayName": "AIAssistantIngressButton",
|
|
740
740
|
"props": [
|
|
741
741
|
{
|
|
742
742
|
"kind": "property",
|
|
@@ -750,7 +750,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
750
750
|
"declarations": [
|
|
751
751
|
{
|
|
752
752
|
"name": "toggled",
|
|
753
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
753
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressButton.tsx"
|
|
754
754
|
}
|
|
755
755
|
],
|
|
756
756
|
"tags": {}
|
|
@@ -767,7 +767,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
767
767
|
"declarations": [
|
|
768
768
|
{
|
|
769
769
|
"name": "variant",
|
|
770
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
770
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressButton.tsx"
|
|
771
771
|
}
|
|
772
772
|
],
|
|
773
773
|
"tags": {}
|
|
@@ -1091,13 +1091,13 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
1091
1091
|
}
|
|
1092
1092
|
},
|
|
1093
1093
|
{
|
|
1094
|
-
"name": "
|
|
1095
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
1094
|
+
"name": "getAIAssistantIngressIcon",
|
|
1095
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressIcon.tsx",
|
|
1096
1096
|
"description": "",
|
|
1097
1097
|
"declarations": [
|
|
1098
1098
|
{
|
|
1099
|
-
"name": "
|
|
1100
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
1099
|
+
"name": "getAIAssistantIngressIcon",
|
|
1100
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressIcon.tsx"
|
|
1101
1101
|
}
|
|
1102
1102
|
],
|
|
1103
1103
|
"tags": {},
|
|
@@ -1117,7 +1117,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
1117
1117
|
"declarations": [
|
|
1118
1118
|
{
|
|
1119
1119
|
"name": "svgId",
|
|
1120
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/
|
|
1120
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/labs-react/ai-assistant-ingress-button/lib/AIAssistantIngressIcon.tsx"
|
|
1121
1121
|
}
|
|
1122
1122
|
],
|
|
1123
1123
|
"tags": {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {SymbolDoc, Specifications, ExampleCodeBlock} from '@workday/canvas-kit-docs';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import {AIAssistantIngressButton} from '@workday/canvas-kit-labs-react/ai-assistant-ingress-button';
|
|
4
4
|
import Basic from './examples/Basic';
|
|
5
5
|
import Inverse from './examples/Inverse';
|
|
6
6
|
|
|
@@ -32,4 +32,4 @@ The Button can also be used on dark backgrounds.
|
|
|
32
32
|
|
|
33
33
|
## Component API
|
|
34
34
|
|
|
35
|
-
<SymbolDoc name="
|
|
35
|
+
<SymbolDoc name="AIAssistantIngressButton" hideDescription />
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {useState} from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import {AIAssistantIngressButton} from '@workday/canvas-kit-labs-react/ai-assistant-ingress-button';
|
|
4
4
|
|
|
5
5
|
export default () => {
|
|
6
6
|
const [toggled, setToggled] = useState(false);
|
|
7
7
|
return (
|
|
8
8
|
<div>
|
|
9
|
-
<
|
|
9
|
+
<AIAssistantIngressButton
|
|
10
10
|
aria-label={toggled ? 'Hide AI Assistant' : 'Show AI Assistant'}
|
|
11
11
|
onClick={() => setToggled(!toggled)}
|
|
12
12
|
toggled={toggled}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {useState} from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import {AIAssistantIngressButton} from '@workday/canvas-kit-labs-react/ai-assistant-ingress-button';
|
|
4
4
|
import {createStyles} from '@workday/canvas-kit-styling';
|
|
5
5
|
import {system} from '@workday/canvas-tokens-web';
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ export default () => {
|
|
|
13
13
|
const [toggled, setToggled] = useState(false);
|
|
14
14
|
return (
|
|
15
15
|
<div className={darkBackground}>
|
|
16
|
-
<
|
|
16
|
+
<AIAssistantIngressButton
|
|
17
17
|
variant="inverse"
|
|
18
18
|
onClick={() => setToggled(!toggled)}
|
|
19
19
|
aria-label={toggled ? 'Hide Assistant' : 'Show Assistant'}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "14.0.0-alpha.
|
|
3
|
+
"version": "14.0.0-alpha.1176-next.0",
|
|
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.0.0-alpha.
|
|
49
|
-
"@workday/canvas-kit-preview-react": "^14.0.0-alpha.
|
|
50
|
-
"@workday/canvas-kit-react": "^14.0.0-alpha.
|
|
51
|
-
"@workday/canvas-kit-styling": "^14.0.0-alpha.
|
|
48
|
+
"@workday/canvas-kit-labs-react": "^14.0.0-alpha.1176-next.0",
|
|
49
|
+
"@workday/canvas-kit-preview-react": "^14.0.0-alpha.1176-next.0",
|
|
50
|
+
"@workday/canvas-kit-react": "^14.0.0-alpha.1176-next.0",
|
|
51
|
+
"@workday/canvas-kit-styling": "^14.0.0-alpha.1176-next.0",
|
|
52
52
|
"@workday/canvas-system-icons-web": "^3.0.35",
|
|
53
53
|
"@workday/canvas-tokens-web": "3.0.0-alpha.9",
|
|
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": "30279d7c3d004668196c395d1fc3050cc6e373c6"
|
|
65
65
|
}
|