@workday/canvas-kit-labs-react 8.0.0-alpha.204-next.4 → 8.0.0-alpha.216-next.4
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/combobox/README.md +4 -4
- package/package.json +3 -3
package/combobox/README.md
CHANGED
|
@@ -24,7 +24,7 @@ See here for
|
|
|
24
24
|
|
|
25
25
|
```tsx
|
|
26
26
|
import {Combobox} from '@workday/canvas-kit-labs-react/combobox';
|
|
27
|
-
import {
|
|
27
|
+
import {DeprecatedMenuItem} from '@workday/canvas-kit-preview-react/menu';
|
|
28
28
|
import {TextInput} from '@workday/canvas-kit-react/text-input';
|
|
29
29
|
import {FormField} from '@workday/canvas-kit-react/form-field';
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ const autocompleteCallback = event => console.log('Adjust menu items here')
|
|
|
32
32
|
|
|
33
33
|
<FormField id='id-123' label='Example'>
|
|
34
34
|
<Combobox
|
|
35
|
-
autocompleteItems={[<
|
|
35
|
+
autocompleteItems={[<DeprecatedMenuItem>Item 1</DeprecatedMenuItem>]}
|
|
36
36
|
onChange={autocompleteCallback}
|
|
37
37
|
onFocus={() => { console.log('focus') }}
|
|
38
38
|
onBlur={() => { console.log('blur') }}
|
|
@@ -84,9 +84,9 @@ Default: `'Reset Search Input'`
|
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|
|
87
|
-
#### `autocompleteItems: React.ReactElement<
|
|
87
|
+
#### `autocompleteItems: React.ReactElement<DeprecatedMenuItemProps>[] | ComboBoxMenuItemGroup[]`
|
|
88
88
|
|
|
89
|
-
> An array of
|
|
89
|
+
> An array of DeprecatedMenuItems to show under the input. You can also optional group the results.
|
|
90
90
|
|
|
91
91
|
---
|
|
92
92
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-labs-react",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.216-next.4+df0f1156",
|
|
4
4
|
"description": "Canvas Kit Labs is an incubator for new and experimental components. Since we have a rather rigorous process for getting components in at a production level, it can be valuable to make them available earlier while we continuously iterate on the API/functionality. The Labs modules allow us to do that as needed.",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@emotion/react": "^11.7.1",
|
|
48
48
|
"@emotion/styled": "^11.6.0",
|
|
49
|
-
"@workday/canvas-kit-react": "^8.0.0-alpha.
|
|
49
|
+
"@workday/canvas-kit-react": "^8.0.0-alpha.216-next.4+df0f1156",
|
|
50
50
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
51
51
|
"@workday/design-assets-types": "^0.2.8",
|
|
52
52
|
"chroma-js": "^2.1.0",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/lodash.flatten": "^4.4.6"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "df0f115637454a88469b36a9686c0c666995290f"
|
|
60
60
|
}
|