@workday/canvas-kit-react 11.0.0-alpha.760-next.0 → 11.0.0-alpha.764-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.
Files changed (37) hide show
  1. package/checkbox/lib/CheckBackground.tsx +17 -15
  2. package/checkbox/lib/CheckboxCheck.tsx +15 -18
  3. package/checkbox/lib/CheckboxContainer.tsx +22 -22
  4. package/checkbox/lib/CheckboxInput.tsx +37 -78
  5. package/checkbox/lib/CheckboxRipple.tsx +12 -10
  6. package/dist/commonjs/checkbox/lib/CheckBackground.d.ts +19 -1
  7. package/dist/commonjs/checkbox/lib/CheckBackground.d.ts.map +1 -1
  8. package/dist/commonjs/checkbox/lib/CheckBackground.js +10 -7
  9. package/dist/commonjs/checkbox/lib/CheckboxCheck.d.ts.map +1 -1
  10. package/dist/commonjs/checkbox/lib/CheckboxCheck.js +8 -6
  11. package/dist/commonjs/checkbox/lib/CheckboxContainer.d.ts +0 -1
  12. package/dist/commonjs/checkbox/lib/CheckboxContainer.d.ts.map +1 -1
  13. package/dist/commonjs/checkbox/lib/CheckboxContainer.js +5 -4
  14. package/dist/commonjs/checkbox/lib/CheckboxInput.d.ts.map +1 -1
  15. package/dist/commonjs/checkbox/lib/CheckboxInput.js +7 -12
  16. package/dist/commonjs/checkbox/lib/CheckboxRipple.d.ts.map +1 -1
  17. package/dist/commonjs/checkbox/lib/CheckboxRipple.js +4 -2
  18. package/dist/commonjs/select/lib/Select.d.ts +4 -4
  19. package/dist/commonjs/select/lib/Select.d.ts.map +1 -1
  20. package/dist/commonjs/select/lib/Select.js +6 -6
  21. package/dist/es6/checkbox/lib/CheckBackground.d.ts +19 -1
  22. package/dist/es6/checkbox/lib/CheckBackground.d.ts.map +1 -1
  23. package/dist/es6/checkbox/lib/CheckBackground.js +10 -7
  24. package/dist/es6/checkbox/lib/CheckboxCheck.d.ts.map +1 -1
  25. package/dist/es6/checkbox/lib/CheckboxCheck.js +10 -8
  26. package/dist/es6/checkbox/lib/CheckboxContainer.d.ts +0 -1
  27. package/dist/es6/checkbox/lib/CheckboxContainer.d.ts.map +1 -1
  28. package/dist/es6/checkbox/lib/CheckboxContainer.js +5 -4
  29. package/dist/es6/checkbox/lib/CheckboxInput.d.ts.map +1 -1
  30. package/dist/es6/checkbox/lib/CheckboxInput.js +10 -15
  31. package/dist/es6/checkbox/lib/CheckboxRipple.d.ts.map +1 -1
  32. package/dist/es6/checkbox/lib/CheckboxRipple.js +5 -3
  33. package/dist/es6/select/lib/Select.d.ts +4 -4
  34. package/dist/es6/select/lib/Select.d.ts.map +1 -1
  35. package/dist/es6/select/lib/Select.js +6 -6
  36. package/package.json +4 -4
  37. package/select/lib/Select.tsx +6 -5
@@ -42,6 +42,7 @@ const selectIconsStencil = createStencil({
42
42
  pointerEvents: 'none',
43
43
  },
44
44
  });
45
+
45
46
  const hiddenSelectInputStencil = createStencil({
46
47
  base: {
47
48
  position: 'absolute',
@@ -49,7 +50,7 @@ const hiddenSelectInputStencil = createStencil({
49
50
  bottom: system.space.zero,
50
51
  left: system.space.zero,
51
52
  right: system.space.zero,
52
- opacity: 0,
53
+ opacity: system.opacity.zero,
53
54
  cursor: 'default',
54
55
  pointerEvents: 'none',
55
56
  },
@@ -187,7 +188,7 @@ export const Select = createContainer()({
187
188
  * `Select.Popper` renders a {@link ComboboxPopper Combobox.Menu.Popper}. You have access to all `Popper` props.
188
189
  *
189
190
  * ```tsx
190
- * <Select item={options}>
191
+ * <Select items={options}>
191
192
  * <FormField label="Your Label">
192
193
  * <Select.Input onChange={(event) => handleChange(event)}>
193
194
  * <Select.Popper>
@@ -204,7 +205,7 @@ export const Select = createContainer()({
204
205
  * **Note: The card will be the width of its corresponding `Select.Input`**.
205
206
  *
206
207
  * ```tsx
207
- * <Select item={options}>
208
+ * <Select items={options}>
208
209
  * <FormField label="Your Label">
209
210
  * <Select.Input onChange={(event) => handleChange(event)}>
210
211
  * <Select.Popper>
@@ -221,7 +222,7 @@ export const Select = createContainer()({
221
222
  * `Select.List` renders a {@link ComboboxMenuList Combobox.Menu.List}. You have access to all `ListBox` props.
222
223
  *
223
224
  * ```tsx
224
- * <Select item={options}>
225
+ * <Select items={options}>
225
226
  * <FormField label="Your Label">
226
227
  * <Select.Input onChange={(event) => handleChange(event)}>
227
228
  * <Select.Popper>
@@ -240,7 +241,7 @@ export const Select = createContainer()({
240
241
  * `Select.Item` renders a {@link ComboboxMenuItem Combobox.Menu.Item} with aria role of `option`. You can optionally render a `Icon`.
241
242
  *
242
243
  * ```tsx
243
- * <Select item={options}>
244
+ * <Select items={options}>
244
245
  * <FormField label="Your Label">
245
246
  * <Select.Input onChange={(event) => handleChange(event)}>
246
247
  * <Select.Popper>