@workday/canvas-kit-docs 16.2.16 → 16.2.17

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.
@@ -7339,6 +7339,44 @@ module.exports = {specifications: [
7339
7339
  "type": "describe",
7340
7340
  "name": "Text Area",
7341
7341
  "children": [
7342
+ {
7343
+ "type": "describe",
7344
+ "name": "given TextArea has grow enabled directly",
7345
+ "children": [
7346
+ {
7347
+ "type": "it",
7348
+ "name": "should preserve the default resize behavior"
7349
+ }
7350
+ ]
7351
+ },
7352
+ {
7353
+ "type": "describe",
7354
+ "name": "given the 'Grow' story is rendered",
7355
+ "children": [
7356
+ {
7357
+ "type": "it",
7358
+ "name": "should not have any axe errors"
7359
+ },
7360
+ {
7361
+ "type": "it",
7362
+ "name": "should remain resizable in both directions"
7363
+ }
7364
+ ]
7365
+ },
7366
+ {
7367
+ "type": "describe",
7368
+ "name": "given the 'ResizeConstraints' story is rendered",
7369
+ "children": [
7370
+ {
7371
+ "type": "it",
7372
+ "name": "should not have any axe errors"
7373
+ },
7374
+ {
7375
+ "type": "it",
7376
+ "name": "should respect the vertical resize constraint"
7377
+ }
7378
+ ]
7379
+ },
7342
7380
  {
7343
7381
  "type": "describe",
7344
7382
  "name": "given the 'Basic' story is rendered",
@@ -7413,6 +7451,34 @@ module.exports = {specifications: [
7413
7451
  "type": "describe",
7414
7452
  "name": "TextInput",
7415
7453
  "children": [
7454
+ {
7455
+ "type": "describe",
7456
+ "name": "given the 'StandaloneGrow' story is rendered",
7457
+ "children": [
7458
+ {
7459
+ "type": "it",
7460
+ "name": "should not have any axe errors"
7461
+ },
7462
+ {
7463
+ "type": "it",
7464
+ "name": "should fill its container without becoming resizable"
7465
+ }
7466
+ ]
7467
+ },
7468
+ {
7469
+ "type": "describe",
7470
+ "name": "given the 'Grow' story is rendered",
7471
+ "children": [
7472
+ {
7473
+ "type": "it",
7474
+ "name": "should not have any axe errors"
7475
+ },
7476
+ {
7477
+ "type": "it",
7478
+ "name": "should fill the field without becoming resizable"
7479
+ }
7480
+ ]
7481
+ },
7416
7482
  {
7417
7483
  "type": "describe",
7418
7484
  "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.16",
22
- "@workday/canvas-kit-preview-react": "16.2.16",
23
- "@workday/canvas-kit-react": "16.2.16",
24
- "@workday/canvas-kit-react-fonts": "^16.2.16",
25
- "@workday/canvas-kit-styling": "16.2.16",
21
+ "@workday/canvas-kit-labs-react": "16.2.17",
22
+ "@workday/canvas-kit-preview-react": "16.2.17",
23
+ "@workday/canvas-kit-react": "16.2.17",
24
+ "@workday/canvas-kit-react-fonts": "^16.2.17",
25
+ "@workday/canvas-kit-styling": "16.2.17",
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.16",
23
- "@workday/canvas-kit-preview-react": "16.2.16",
24
- "@workday/canvas-kit-react": "16.2.16",
25
- "@workday/canvas-kit-react-fonts": "^16.2.16",
26
- "@workday/canvas-kit-styling": "16.2.16",
22
+ "@workday/canvas-kit-labs-react": "16.2.17",
23
+ "@workday/canvas-kit-preview-react": "16.2.17",
24
+ "@workday/canvas-kit-react": "16.2.17",
25
+ "@workday/canvas-kit-react-fonts": "^16.2.17",
26
+ "@workday/canvas-kit-styling": "16.2.17",
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.16",
3
+ "version": "16.2.17",
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.16",
52
- "@workday/canvas-kit-preview-react": "^16.2.16",
53
- "@workday/canvas-kit-react": "^16.2.16",
54
- "@workday/canvas-kit-styling": "^16.2.16",
51
+ "@workday/canvas-kit-labs-react": "^16.2.17",
52
+ "@workday/canvas-kit-preview-react": "^16.2.17",
53
+ "@workday/canvas-kit-react": "^16.2.17",
54
+ "@workday/canvas-kit-styling": "^16.2.17",
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": "1ca6177d8f970d92386feb639b60e55378c2434a"
67
+ "gitHead": "0f8c8323535a82078f116200d138fb40f9002b7c"
68
68
  }