@workday/canvas-kit-docs 16.2.16 → 16.2.18
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/specs.js +112 -0
- package/dist/es6/lib/stackblitzFiles/packageJSONFile.js +5 -5
- package/dist/es6/lib/stackblitzFiles/packageJSONFile.ts +5 -5
- package/dist/mdx/react/information-highlight/examples/Basic.tsx +0 -2
- package/dist/mdx/react/information-highlight/examples/Body.tsx +0 -2
- package/dist/mdx/react/information-highlight/examples/Heading.tsx +0 -2
- package/dist/mdx/react/text-input/examples/StandaloneGrow.tsx +13 -0
- package/package.json +6 -6
package/dist/es6/lib/specs.js
CHANGED
|
@@ -1881,6 +1881,52 @@ module.exports = {specifications: [
|
|
|
1881
1881
|
"name": "should have an element with a role of \"heading\""
|
|
1882
1882
|
}
|
|
1883
1883
|
]
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"type": "describe",
|
|
1887
|
+
"name": "given the Heading is the last element",
|
|
1888
|
+
"children": [
|
|
1889
|
+
{
|
|
1890
|
+
"type": "it",
|
|
1891
|
+
"name": "should not have any axe errors"
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"type": "it",
|
|
1895
|
+
"name": "should not add space below the Heading"
|
|
1896
|
+
}
|
|
1897
|
+
]
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"type": "describe",
|
|
1901
|
+
"name": "given the Body is the last element",
|
|
1902
|
+
"children": [
|
|
1903
|
+
{
|
|
1904
|
+
"type": "it",
|
|
1905
|
+
"name": "should not have any axe errors"
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
"type": "it",
|
|
1909
|
+
"name": "should not add space below the Body"
|
|
1910
|
+
}
|
|
1911
|
+
]
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"type": "describe",
|
|
1915
|
+
"name": "given the Heading and Body are followed by other content",
|
|
1916
|
+
"children": [
|
|
1917
|
+
{
|
|
1918
|
+
"type": "it",
|
|
1919
|
+
"name": "should not have any axe errors"
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"type": "it",
|
|
1923
|
+
"name": "should add space between the Heading and the Body"
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"type": "it",
|
|
1927
|
+
"name": "should add space between the Body and the Link"
|
|
1928
|
+
}
|
|
1929
|
+
]
|
|
1884
1930
|
}
|
|
1885
1931
|
]
|
|
1886
1932
|
}
|
|
@@ -7339,6 +7385,44 @@ module.exports = {specifications: [
|
|
|
7339
7385
|
"type": "describe",
|
|
7340
7386
|
"name": "Text Area",
|
|
7341
7387
|
"children": [
|
|
7388
|
+
{
|
|
7389
|
+
"type": "describe",
|
|
7390
|
+
"name": "given TextArea has grow enabled directly",
|
|
7391
|
+
"children": [
|
|
7392
|
+
{
|
|
7393
|
+
"type": "it",
|
|
7394
|
+
"name": "should preserve the default resize behavior"
|
|
7395
|
+
}
|
|
7396
|
+
]
|
|
7397
|
+
},
|
|
7398
|
+
{
|
|
7399
|
+
"type": "describe",
|
|
7400
|
+
"name": "given the 'Grow' story is rendered",
|
|
7401
|
+
"children": [
|
|
7402
|
+
{
|
|
7403
|
+
"type": "it",
|
|
7404
|
+
"name": "should not have any axe errors"
|
|
7405
|
+
},
|
|
7406
|
+
{
|
|
7407
|
+
"type": "it",
|
|
7408
|
+
"name": "should remain resizable in both directions"
|
|
7409
|
+
}
|
|
7410
|
+
]
|
|
7411
|
+
},
|
|
7412
|
+
{
|
|
7413
|
+
"type": "describe",
|
|
7414
|
+
"name": "given the 'ResizeConstraints' story is rendered",
|
|
7415
|
+
"children": [
|
|
7416
|
+
{
|
|
7417
|
+
"type": "it",
|
|
7418
|
+
"name": "should not have any axe errors"
|
|
7419
|
+
},
|
|
7420
|
+
{
|
|
7421
|
+
"type": "it",
|
|
7422
|
+
"name": "should respect the vertical resize constraint"
|
|
7423
|
+
}
|
|
7424
|
+
]
|
|
7425
|
+
},
|
|
7342
7426
|
{
|
|
7343
7427
|
"type": "describe",
|
|
7344
7428
|
"name": "given the 'Basic' story is rendered",
|
|
@@ -7413,6 +7497,34 @@ module.exports = {specifications: [
|
|
|
7413
7497
|
"type": "describe",
|
|
7414
7498
|
"name": "TextInput",
|
|
7415
7499
|
"children": [
|
|
7500
|
+
{
|
|
7501
|
+
"type": "describe",
|
|
7502
|
+
"name": "given the 'StandaloneGrow' story is rendered",
|
|
7503
|
+
"children": [
|
|
7504
|
+
{
|
|
7505
|
+
"type": "it",
|
|
7506
|
+
"name": "should not have any axe errors"
|
|
7507
|
+
},
|
|
7508
|
+
{
|
|
7509
|
+
"type": "it",
|
|
7510
|
+
"name": "should fill its container without becoming resizable"
|
|
7511
|
+
}
|
|
7512
|
+
]
|
|
7513
|
+
},
|
|
7514
|
+
{
|
|
7515
|
+
"type": "describe",
|
|
7516
|
+
"name": "given the 'Grow' story is rendered",
|
|
7517
|
+
"children": [
|
|
7518
|
+
{
|
|
7519
|
+
"type": "it",
|
|
7520
|
+
"name": "should not have any axe errors"
|
|
7521
|
+
},
|
|
7522
|
+
{
|
|
7523
|
+
"type": "it",
|
|
7524
|
+
"name": "should fill the field without becoming resizable"
|
|
7525
|
+
}
|
|
7526
|
+
]
|
|
7527
|
+
},
|
|
7416
7528
|
{
|
|
7417
7529
|
"type": "describe",
|
|
7418
7530
|
"name": "given the 'Basic' story is rendered",
|
|
@@ -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": "16.2.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "16.2.
|
|
23
|
-
"@workday/canvas-kit-react": "16.2.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^16.2.
|
|
25
|
-
"@workday/canvas-kit-styling": "16.2.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "16.2.18",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "16.2.18",
|
|
23
|
+
"@workday/canvas-kit-react": "16.2.18",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^16.2.18",
|
|
25
|
+
"@workday/canvas-kit-styling": "16.2.18",
|
|
26
26
|
"@workday/canvas-system-icons-web": "^5.0.3",
|
|
27
27
|
"@workday/canvas-expressive-icons-web": "1.0.1",
|
|
28
28
|
"@workday/canvas-tokens-web": "4.4.0-beta.11"
|
|
@@ -19,11 +19,11 @@ export const packageJSONFile = `{
|
|
|
19
19
|
"@emotion/react": "11.11.4",
|
|
20
20
|
"@types/react": "18.2.60",
|
|
21
21
|
"@types/react-dom": "18.2.19",
|
|
22
|
-
"@workday/canvas-kit-labs-react": "16.2.
|
|
23
|
-
"@workday/canvas-kit-preview-react": "16.2.
|
|
24
|
-
"@workday/canvas-kit-react": "16.2.
|
|
25
|
-
"@workday/canvas-kit-react-fonts": "^16.2.
|
|
26
|
-
"@workday/canvas-kit-styling": "16.2.
|
|
22
|
+
"@workday/canvas-kit-labs-react": "16.2.18",
|
|
23
|
+
"@workday/canvas-kit-preview-react": "16.2.18",
|
|
24
|
+
"@workday/canvas-kit-react": "16.2.18",
|
|
25
|
+
"@workday/canvas-kit-react-fonts": "^16.2.18",
|
|
26
|
+
"@workday/canvas-kit-styling": "16.2.18",
|
|
27
27
|
"@workday/canvas-system-icons-web": "^5.0.3",
|
|
28
28
|
"@workday/canvas-expressive-icons-web": "1.0.1",
|
|
29
29
|
"@workday/canvas-tokens-web": "4.4.0-beta.11"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {useUniqueId} from '@workday/canvas-kit-react/common';
|
|
2
|
+
import {TextInput} from '@workday/canvas-kit-react/text-input';
|
|
3
|
+
|
|
4
|
+
export default () => {
|
|
5
|
+
const id = useUniqueId();
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<div>
|
|
9
|
+
<label htmlFor={id}>Street Address</label>
|
|
10
|
+
<TextInput id={id} grow />
|
|
11
|
+
</div>
|
|
12
|
+
);
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "16.2.
|
|
3
|
+
"version": "16.2.18",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"@stackblitz/sdk": "^1.11.0",
|
|
49
49
|
"@storybook/csf": "0.0.1",
|
|
50
50
|
"@workday/canvas-expressive-icons-web": "1.0.2",
|
|
51
|
-
"@workday/canvas-kit-labs-react": "^16.2.
|
|
52
|
-
"@workday/canvas-kit-preview-react": "^16.2.
|
|
53
|
-
"@workday/canvas-kit-react": "^16.2.
|
|
54
|
-
"@workday/canvas-kit-styling": "^16.2.
|
|
51
|
+
"@workday/canvas-kit-labs-react": "^16.2.18",
|
|
52
|
+
"@workday/canvas-kit-preview-react": "^16.2.18",
|
|
53
|
+
"@workday/canvas-kit-react": "^16.2.18",
|
|
54
|
+
"@workday/canvas-kit-styling": "^16.2.18",
|
|
55
55
|
"@workday/canvas-system-icons-web": "^5.0.3",
|
|
56
56
|
"@workday/canvas-tokens-web": "^4.4.0",
|
|
57
57
|
"markdown-to-jsx": "^7.2.0",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"mkdirp": "^1.0.3",
|
|
65
65
|
"typescript": "5.0"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "d91767c1992493b3567bdf51469bf29c98898403"
|
|
68
68
|
}
|