@workday/canvas-kit-react 11.0.0-alpha.671-next.0 → 11.0.0-alpha.693-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 (152) hide show
  1. package/checkbox/lib/CheckBackground.tsx +48 -0
  2. package/checkbox/lib/Checkbox.tsx +18 -355
  3. package/checkbox/lib/CheckboxCheck.tsx +81 -0
  4. package/checkbox/lib/CheckboxContainer.tsx +58 -0
  5. package/checkbox/lib/CheckboxInput.tsx +279 -0
  6. package/checkbox/lib/CheckboxRipple.tsx +21 -0
  7. package/collection/lib/useCursorListModel.tsx +86 -90
  8. package/collection/lib/useListItemAllowChildStrings.ts +3 -3
  9. package/collection/lib/useListRenderItem.tsx +1 -1
  10. package/combobox/lib/hooks/useComboboxInput.ts +1 -0
  11. package/combobox/lib/hooks/useComboboxKeyboardTypeAhead.ts +3 -3
  12. package/combobox/lib/hooks/useComboboxModel.tsx +1 -2
  13. package/common/README.md +32 -14
  14. package/common/lib/styles/errorRing.ts +2 -2
  15. package/common/lib/styles/focusRing.ts +4 -17
  16. package/dist/commonjs/avatar/lib/Avatar.js +1 -1
  17. package/dist/commonjs/badge/lib/CountBadge.js +8 -8
  18. package/dist/commonjs/banner/lib/Banner.js +1 -1
  19. package/dist/commonjs/button/lib/BaseButton.js +22 -22
  20. package/dist/commonjs/button/lib/DeleteButton.js +1 -1
  21. package/dist/commonjs/button/lib/PrimaryButton.js +2 -2
  22. package/dist/commonjs/button/lib/SecondaryButton.js +2 -2
  23. package/dist/commonjs/button/lib/TertiaryButton.js +15 -15
  24. package/dist/commonjs/button/lib/ToolbarDropdownButton.js +6 -1
  25. package/dist/commonjs/button/lib/ToolbarIconButton.js +6 -1
  26. package/dist/commonjs/button/lib/deprecated_Button.js +2 -2
  27. package/dist/commonjs/card/lib/Card.js +1 -1
  28. package/dist/commonjs/card/lib/CardHeading.js +1 -1
  29. package/dist/commonjs/checkbox/lib/CheckBackground.d.ts +10 -0
  30. package/dist/commonjs/checkbox/lib/CheckBackground.d.ts.map +1 -0
  31. package/dist/commonjs/checkbox/lib/CheckBackground.js +42 -0
  32. package/dist/commonjs/checkbox/lib/Checkbox.d.ts +3 -45
  33. package/dist/commonjs/checkbox/lib/Checkbox.d.ts.map +1 -1
  34. package/dist/commonjs/checkbox/lib/Checkbox.js +10 -204
  35. package/dist/commonjs/checkbox/lib/CheckboxCheck.d.ts +10 -0
  36. package/dist/commonjs/checkbox/lib/CheckboxCheck.d.ts.map +1 -0
  37. package/dist/commonjs/checkbox/lib/CheckboxCheck.js +51 -0
  38. package/dist/commonjs/checkbox/lib/CheckboxContainer.d.ts +13 -0
  39. package/dist/commonjs/checkbox/lib/CheckboxContainer.d.ts.map +1 -0
  40. package/dist/commonjs/checkbox/lib/CheckboxContainer.js +37 -0
  41. package/dist/commonjs/checkbox/lib/CheckboxInput.d.ts +48 -0
  42. package/dist/commonjs/checkbox/lib/CheckboxInput.d.ts.map +1 -0
  43. package/dist/commonjs/checkbox/lib/CheckboxInput.js +59 -0
  44. package/dist/commonjs/checkbox/lib/CheckboxRipple.d.ts +2 -0
  45. package/dist/commonjs/checkbox/lib/CheckboxRipple.d.ts.map +1 -0
  46. package/dist/commonjs/checkbox/lib/CheckboxRipple.js +33 -0
  47. package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
  48. package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts +2 -1
  49. package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
  50. package/dist/commonjs/collection/lib/useListItemAllowChildStrings.js +1 -1
  51. package/dist/commonjs/collection/lib/useListRenderItem.js +1 -1
  52. package/dist/commonjs/combobox/lib/hooks/useComboboxInput.d.ts +1 -0
  53. package/dist/commonjs/combobox/lib/hooks/useComboboxInput.d.ts.map +1 -1
  54. package/dist/commonjs/combobox/lib/hooks/useComboboxInput.js +1 -0
  55. package/dist/commonjs/combobox/lib/hooks/useComboboxKeyboardTypeAhead.js +2 -3
  56. package/dist/commonjs/combobox/lib/hooks/useComboboxModel.d.ts.map +1 -1
  57. package/dist/commonjs/combobox/lib/hooks/useComboboxModel.js +1 -2
  58. package/dist/commonjs/common/lib/AccessibleHide.js +1 -1
  59. package/dist/commonjs/common/lib/CanvasProvider.js +1 -1
  60. package/dist/commonjs/common/lib/styles/errorRing.js +2 -2
  61. package/dist/commonjs/common/lib/styles/focusRing.d.ts.map +1 -1
  62. package/dist/commonjs/common/lib/styles/focusRing.js +5 -16
  63. package/dist/commonjs/form-field/lib/Label.js +3 -7
  64. package/dist/commonjs/loading-dots/lib/LoadingDots.js +3 -3
  65. package/dist/commonjs/radio/lib/Radio.js +17 -3
  66. package/dist/commonjs/select/lib/Select.d.ts +2 -1
  67. package/dist/commonjs/select/lib/Select.d.ts.map +1 -1
  68. package/dist/commonjs/select/lib/Select.js +5 -3
  69. package/dist/commonjs/select/lib/hooks/useSelectInput.d.ts +7 -1
  70. package/dist/commonjs/select/lib/hooks/useSelectInput.d.ts.map +1 -1
  71. package/dist/commonjs/select/lib/hooks/useSelectInput.js +45 -4
  72. package/dist/commonjs/select/lib/hooks/useSelectModel.d.ts.map +1 -1
  73. package/dist/commonjs/select/lib/hooks/useSelectModel.js +1 -2
  74. package/dist/commonjs/switch/lib/Switch.js +2 -2
  75. package/dist/commonjs/tabs/lib/TabsItem.js +1 -1
  76. package/dist/commonjs/text/lib/LabelText.js +24 -24
  77. package/dist/commonjs/text/lib/Text.js +15 -15
  78. package/dist/commonjs/text-input/lib/TextInput.js +3 -3
  79. package/dist/commonjs/tooltip/lib/OverflowTooltip.d.ts.map +1 -1
  80. package/dist/commonjs/tooltip/lib/OverflowTooltip.js +3 -2
  81. package/dist/es6/avatar/lib/Avatar.js +1 -1
  82. package/dist/es6/badge/lib/CountBadge.js +7 -7
  83. package/dist/es6/banner/lib/Banner.js +1 -1
  84. package/dist/es6/button/lib/BaseButton.js +22 -22
  85. package/dist/es6/button/lib/DeleteButton.js +1 -1
  86. package/dist/es6/button/lib/PrimaryButton.js +2 -2
  87. package/dist/es6/button/lib/SecondaryButton.js +2 -2
  88. package/dist/es6/button/lib/TertiaryButton.js +15 -15
  89. package/dist/es6/button/lib/ToolbarDropdownButton.js +6 -1
  90. package/dist/es6/button/lib/ToolbarIconButton.js +6 -1
  91. package/dist/es6/button/lib/deprecated_Button.js +2 -2
  92. package/dist/es6/card/lib/Card.js +1 -1
  93. package/dist/es6/card/lib/CardHeading.js +1 -1
  94. package/dist/es6/checkbox/lib/CheckBackground.d.ts +10 -0
  95. package/dist/es6/checkbox/lib/CheckBackground.d.ts.map +1 -0
  96. package/dist/es6/checkbox/lib/CheckBackground.js +20 -0
  97. package/dist/es6/checkbox/lib/Checkbox.d.ts +3 -45
  98. package/dist/es6/checkbox/lib/Checkbox.d.ts.map +1 -1
  99. package/dist/es6/checkbox/lib/Checkbox.js +11 -205
  100. package/dist/es6/checkbox/lib/CheckboxCheck.d.ts +10 -0
  101. package/dist/es6/checkbox/lib/CheckboxCheck.d.ts.map +1 -0
  102. package/dist/es6/checkbox/lib/CheckboxCheck.js +29 -0
  103. package/dist/es6/checkbox/lib/CheckboxContainer.d.ts +13 -0
  104. package/dist/es6/checkbox/lib/CheckboxContainer.d.ts.map +1 -0
  105. package/dist/es6/checkbox/lib/CheckboxContainer.js +15 -0
  106. package/dist/es6/checkbox/lib/CheckboxInput.d.ts +48 -0
  107. package/dist/es6/checkbox/lib/CheckboxInput.d.ts.map +1 -0
  108. package/dist/es6/checkbox/lib/CheckboxInput.js +37 -0
  109. package/dist/es6/checkbox/lib/CheckboxRipple.d.ts +2 -0
  110. package/dist/es6/checkbox/lib/CheckboxRipple.d.ts.map +1 -0
  111. package/dist/es6/checkbox/lib/CheckboxRipple.js +11 -0
  112. package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
  113. package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts +2 -1
  114. package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
  115. package/dist/es6/collection/lib/useListItemAllowChildStrings.js +1 -1
  116. package/dist/es6/collection/lib/useListRenderItem.js +1 -1
  117. package/dist/es6/combobox/lib/hooks/useComboboxInput.d.ts +1 -0
  118. package/dist/es6/combobox/lib/hooks/useComboboxInput.d.ts.map +1 -1
  119. package/dist/es6/combobox/lib/hooks/useComboboxInput.js +1 -0
  120. package/dist/es6/combobox/lib/hooks/useComboboxKeyboardTypeAhead.js +2 -3
  121. package/dist/es6/combobox/lib/hooks/useComboboxModel.d.ts.map +1 -1
  122. package/dist/es6/combobox/lib/hooks/useComboboxModel.js +1 -2
  123. package/dist/es6/common/lib/AccessibleHide.js +1 -1
  124. package/dist/es6/common/lib/CanvasProvider.js +1 -1
  125. package/dist/es6/common/lib/styles/errorRing.js +2 -2
  126. package/dist/es6/common/lib/styles/focusRing.d.ts.map +1 -1
  127. package/dist/es6/common/lib/styles/focusRing.js +5 -16
  128. package/dist/es6/form-field/lib/Label.js +3 -7
  129. package/dist/es6/loading-dots/lib/LoadingDots.js +2 -2
  130. package/dist/es6/radio/lib/Radio.js +17 -3
  131. package/dist/es6/select/lib/Select.d.ts +2 -1
  132. package/dist/es6/select/lib/Select.d.ts.map +1 -1
  133. package/dist/es6/select/lib/Select.js +5 -3
  134. package/dist/es6/select/lib/hooks/useSelectInput.d.ts +7 -1
  135. package/dist/es6/select/lib/hooks/useSelectInput.d.ts.map +1 -1
  136. package/dist/es6/select/lib/hooks/useSelectInput.js +43 -5
  137. package/dist/es6/select/lib/hooks/useSelectModel.d.ts.map +1 -1
  138. package/dist/es6/select/lib/hooks/useSelectModel.js +1 -2
  139. package/dist/es6/switch/lib/Switch.js +2 -2
  140. package/dist/es6/tabs/lib/TabsItem.js +1 -1
  141. package/dist/es6/text/lib/LabelText.js +24 -24
  142. package/dist/es6/text/lib/Text.js +15 -15
  143. package/dist/es6/text-input/lib/TextInput.js +3 -3
  144. package/dist/es6/tooltip/lib/OverflowTooltip.d.ts.map +1 -1
  145. package/dist/es6/tooltip/lib/OverflowTooltip.js +3 -2
  146. package/form-field/lib/Label.tsx +10 -10
  147. package/package.json +4 -4
  148. package/select/lib/Select.tsx +51 -4
  149. package/select/lib/hooks/useSelectInput.ts +86 -44
  150. package/select/lib/hooks/useSelectModel.tsx +1 -2
  151. package/text-input/lib/TextInput.tsx +3 -3
  152. package/tooltip/lib/OverflowTooltip.tsx +3 -2
@@ -1,202 +1,13 @@
1
1
  import * as React from 'react';
2
- import { createComponent, ErrorType, useUniqueId, focusRing, mouseFocusBehavior, getErrorColors, styled, useTheme, useLocalRef, } from '@workday/canvas-kit-react/common';
3
- import { borderRadius, colors, inputColors, space } from '@workday/canvas-kit-react/tokens';
4
- import { SystemIcon } from '@workday/canvas-kit-react/icon';
5
- import { checkSmallIcon } from '@workday/canvas-system-icons-web';
6
- import { LabelText } from '@workday/canvas-kit-react/text';
7
- import { base } from '@workday/canvas-tokens-web';
8
- import { cssVar } from '@workday/canvas-kit-styling';
9
- const CheckboxContainer = styled('div')({
10
- display: 'flex',
11
- alignItems: 'center',
12
- minHeight: space.m,
13
- position: 'relative',
14
- });
15
- /**
16
- * Using a wrapper prevents the browser default behavior of trigging
17
- * :hover on the checkbox when you hover on it's corresponding label.
18
- * This stops the ripple from showing when you hover on the label.
19
- */
20
- const CheckboxInputWrapper = styled('div')({
21
- display: 'flex',
22
- height: `calc(${space.s} + 2px)`,
23
- minWidth: `calc(${space.s} + 2px)`,
24
- marginTop: '3px',
25
- alignSelf: 'flex-start',
26
- });
27
- const CheckboxRipple = styled('span')({
28
- borderRadius: borderRadius.circle,
29
- boxShadow: `0 0 0 0 ${colors.soap200}`,
30
- height: `calc(${space.s} + 2px)`,
31
- transition: 'box-shadow 150ms ease-out',
32
- width: `calc(${space.s} + 2px)`,
33
- position: 'absolute',
34
- pointerEvents: 'none', // This is a decorative element we don't want it to block clicks to input
35
- }, ({ variant }) => ({
36
- opacity: variant === 'inverse' ? '0.4' : '1',
37
- }));
38
- /**
39
- * Note: `~ div:first-of-type` refers to `CheckboxBackground`
40
- * and was easier to use than a component selector in this case.
41
- */
42
- const CheckboxInput = styled('input')(({ theme: { canvas: { palette: { primary: themePrimary, common: { focusOutline: themeFocusOutline }, }, }, }, variant, }) => ({
43
- borderRadius: borderRadius.s,
44
- width: space.m,
45
- height: space.m,
46
- margin: 0,
47
- marginTop: '-3px',
48
- marginLeft: '-3px',
49
- position: 'absolute',
50
- opacity: 0,
51
- '&:not(:disabled)': {
52
- cursor: 'pointer',
53
- },
54
- // States
55
- '&:not(:checked):not(:indeterminate):not(:disabled):not(:focus):hover, &:not(:checked):not(:indeterminate):not(:disabled):active': {
56
- '~ div:first-of-type': {
57
- borderColor: variant === 'inverse' ? colors.soap300 : inputColors.hoverBorder,
58
- },
59
- },
60
- '&:checked ~ div:first-of-type, &:indeterminate ~ div:first-of-type': {
61
- borderColor: variant === 'inverse' ? colors.soap300 : themePrimary.main,
62
- backgroundColor: variant === 'inverse' ? colors.frenchVanilla100 : themePrimary.main,
63
- },
64
- '&:disabled ~ div:first-of-type': {
65
- borderColor: base.licorice100,
66
- backgroundColor: variant === 'inverse' ? colors.soap300 : inputColors.disabled.background,
67
- opacity: variant === 'inverse' ? '.4' : '1',
68
- },
69
- '&:disabled:checked ~ div:first-of-type, &:disabled:indeterminate ~ div:first-of-type': {
70
- borderColor: variant === 'inverse' ? colors.soap300 : themePrimary.light,
71
- backgroundColor: variant === 'inverse' ? colors.frenchVanilla100 : themePrimary.light,
72
- },
73
- // Focus
74
- '&:focus, &:active': {
75
- outline: 'none',
76
- },
77
- '&:focus ~ div:first-of-type': {
78
- borderColor: variant === 'inverse' ? colors.blackPepper400 : themePrimary.main,
79
- borderWidth: '2px',
80
- boxShadow: 'none',
81
- ...{ boxShadow: `0 0 0 ${0} ${variant === 'inverse' ? colors.blackPepper400 : undefined}, 0 0 0 calc(${variant === 'inverse' ? 2 : 0} + ${0}) ${variant === 'inverse' ? colors.frenchVanilla100 : undefined}` },
82
- },
83
- '&:checked:focus ~ div:first-of-type, &:indeterminate:focus ~ div:first-of-type': {
84
- ...{ boxShadow: `0 0 0 ${2} ${variant === 'inverse' ? colors.blackPepper400 : undefined}, 0 0 0 calc(${2} + ${2}) ${variant === 'inverse' ? colors.frenchVanilla100 : themeFocusOutline}` },
85
- borderColor: variant === 'inverse' ? colors.frenchVanilla100 : themePrimary.main,
86
- borderWidth: '2px',
87
- '& span': {
88
- marginLeft: '-7px',
89
- },
90
- },
91
- ...mouseFocusBehavior({
92
- '&:focus ~ div:first-of-type': {
93
- border: variant === 'inverse'
94
- ? `1px solid ${colors.soap300}`
95
- : `1px solid ${inputColors.hoverBorder}`,
96
- boxShadow: 'none',
97
- '& span': {
98
- marginLeft: '-6px',
99
- },
100
- },
101
- '&:checked ~ div:first-of-type, &:indeterminate ~ div:first-of-type': {
102
- borderColor: variant === 'inverse' ? colors.soap300 : themePrimary.main,
103
- },
104
- '&:disabled:checked ~ div:first-of-type, &:disabled:indeterminate ~ div:first-of-type': {
105
- borderColor: themePrimary.light,
106
- backgroundColor: variant === 'inverse' ? colors.frenchVanilla100 : themePrimary.light,
107
- },
108
- }),
109
- }), ({ disabled }) => ({
110
- '&:hover ~ span:first-of-type': {
111
- boxShadow: disabled
112
- ? undefined
113
- : `0 0 0 calc((${space.l} - (${space.s} + 2px)) / 2) ${colors.soap200}`,
114
- },
115
- }), ({ theme, error, variant }) => {
116
- const errorColors = getErrorColors(error, theme);
117
- if (errorColors.outer === errorColors.inner) {
118
- errorColors.outer = 'transparent';
119
- }
120
- const errorStyles = {
121
- '& ~ div:first-of-type': {
122
- border: variant === 'inverse' ? `1px solid ${colors.soap300}` : `1px solid ${errorColors.inner}`,
123
- boxShadow: `0 0 0 1px ${errorColors.inner}, 0 0 0 2px ${errorColors.outer}`,
124
- },
125
- '&:not(:checked):not(:indeterminate):not(:disabled):not(:focus):hover, &:not(:checked):not(:indeterminate):not(:disabled):active': {
126
- '~ div:first-of-type': {
127
- borderColor: variant === 'inverse' ? `1px solid ${colors.soap300}` : errorColors.inner,
128
- },
129
- },
130
- '&:checked ~ div:first-of-type, &:indeterminate ~ div:first-of-type': {
131
- borderColor: variant === 'inverse' ? colors.soap300 : theme.canvas.palette.primary.main,
132
- boxShadow: `
133
- 0 0 0 2px ${colors.frenchVanilla100},
134
- 0 0 0 4px ${errorColors.inner},
135
- 0 0 0 5px ${errorColors.outer}`,
136
- },
137
- };
138
- return {
139
- // Error rings take precedence over focus
140
- ...mouseFocusBehavior({
141
- ...errorStyles,
142
- '&:not(:checked):not(:indeterminate):focus ~ div:first-of-type': {
143
- border: `1px solid ${errorColors.inner}`,
144
- boxShadow: `0 0 0 1px ${errorColors.inner}, 0 0 0 2px ${errorColors.outer}`,
145
- },
146
- }),
147
- ...errorStyles,
148
- };
149
- });
150
- const CheckboxBackground = styled('div')({
151
- alignItems: 'center',
152
- backgroundColor: colors.frenchVanilla100,
153
- borderRadius: borderRadius.s,
154
- boxSizing: 'border-box',
155
- display: 'flex',
156
- height: `calc(${space.s} + 2px)`,
157
- justifyContent: 'center',
158
- padding: '0px 2px',
159
- pointerEvents: 'none',
160
- position: 'absolute',
161
- transition: 'border 200ms ease, background 200ms',
162
- width: `calc(${space.s} + 2px)`,
163
- }, ({ variant }) => ({
164
- border: `1px solid ${variant === 'inverse' ? colors.soap300 : inputColors.border}`,
165
- }));
166
- const CheckboxCheck = styled('div')({
167
- display: 'flex',
168
- flexDirection: 'column',
169
- // When using align-items: center on a flex container in the column direction,
170
- // the contents of flex item, if too big, will overflow their container in IE 10-11.
171
- // max-width: 100%; is a workaround
172
- // https://github.com/philipwalton/flexbugs#flexbug-2
173
- maxWidth: '100%',
174
- pointerEvents: 'none',
175
- transition: 'transform 200ms ease, opacity 200ms ease',
176
- span: {
177
- // This is necessary because we're using max-width: 100% in the CheckboxCheck container
178
- // in order for the Checkbox to render properly on IE 11
179
- marginLeft: '-6px',
180
- transition: 'margin 200ms ease',
181
- },
182
- }, ({ checked, indeterminate }) => ({
183
- opacity: checked || indeterminate ? 1 : 0,
184
- transform: checked || indeterminate ? 'scale(1)' : 'scale(0.5)',
185
- }));
186
- const IndeterminateBox = styled('div')({
187
- width: '10px',
188
- height: '2px',
189
- }, ({ theme, variant }) => ({
190
- backgroundColor: variant === 'inverse'
191
- ? theme.canvas.palette.primary.main
192
- : theme.canvas.palette.primary.contrast,
193
- }));
2
+ import { createComponent, ErrorType, useUniqueId, useLocalRef, } from '@workday/canvas-kit-react/common';
3
+ import { CheckboxRipple } from './CheckboxRipple';
4
+ import { CheckboxContainer } from './CheckboxContainer';
5
+ import { CheckboxCheck } from './CheckboxCheck';
6
+ import { CheckboxInput } from './CheckboxInput';
194
7
  export const Checkbox = createComponent('input')({
195
8
  displayName: 'Checkbox',
196
- Component: ({ checked = false, label = '',
197
- // TODO: Fix useTheme and make it a real hook
198
- // eslint-disable-next-line react-hooks/rules-of-hooks
199
- theme = useTheme(), id, disabled, indeterminate, variant, ...elemProps }, ref, Element) => {
9
+ Component: ({ id, label = '', ...elemProps }, ref, Element) => {
10
+ const { checked = false, disabled, error, indeterminate, variant } = elemProps;
200
11
  const inputId = useUniqueId(id);
201
12
  const { localRef, elementRef } = useLocalRef(ref);
202
13
  React.useEffect(() => {
@@ -204,15 +15,10 @@ export const Checkbox = createComponent('input')({
204
15
  localRef.current.indeterminate = indeterminate;
205
16
  }
206
17
  }, [indeterminate, localRef]);
207
- return (React.createElement(CheckboxContainer, null,
208
- React.createElement(CheckboxInputWrapper, { disabled: disabled },
209
- React.createElement(CheckboxInput, Object.assign({ as: Element, checked: checked, disabled: disabled, id: inputId, ref: elementRef, type: "checkbox", variant: variant, "aria-checked": indeterminate ? 'mixed' : checked }, elemProps)),
210
- React.createElement(CheckboxRipple, { variant: variant }),
211
- React.createElement(CheckboxBackground, { variant: variant, checked: checked, disabled: disabled },
212
- React.createElement(CheckboxCheck, { checked: checked, indeterminate: indeterminate }, indeterminate ? (React.createElement(IndeterminateBox, { variant: variant })) : checked ? (React.createElement(SystemIcon, { icon: checkSmallIcon, color: variant === 'inverse'
213
- ? theme.canvas.palette.primary.main
214
- : theme.canvas.palette.primary.contrast })) : null))),
215
- label && (React.createElement(LabelText, { htmlFor: inputId, disabled: disabled, variant: variant, paddingInlineStart: space.xs, cursor: "pointer" }, label))));
18
+ return (React.createElement(CheckboxContainer, { label: label, disabled: disabled, id: inputId, variant: variant },
19
+ React.createElement(CheckboxInput, Object.assign({ as: Element, id: inputId, ref: elementRef }, elemProps)),
20
+ React.createElement(CheckboxRipple, null),
21
+ React.createElement(CheckboxCheck, { variant: variant, checked: checked, indeterminate: indeterminate, error: error })));
216
22
  },
217
23
  subComponents: {
218
24
  ErrorType,
@@ -0,0 +1,10 @@
1
+ import { ErrorType } from '@workday/canvas-kit-react/common';
2
+ interface CheckboxCheckProps {
3
+ checked: boolean;
4
+ error?: ErrorType;
5
+ indeterminate?: boolean;
6
+ variant?: 'inverse';
7
+ }
8
+ export declare const CheckboxCheck: import("@workday/canvas-kit-react/common").ElementComponent<"div", CheckboxCheckProps>;
9
+ export {};
10
+ //# sourceMappingURL=CheckboxCheck.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxCheck.d.ts","sourceRoot":"","sources":["../../../../checkbox/lib/CheckboxCheck.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAkB,MAAM,kCAAkC,CAAC;AAO5E,UAAU,kBAAkB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AA6CD,eAAO,MAAM,aAAa,wFAsBxB,CAAC"}
@@ -0,0 +1,29 @@
1
+ import * as React from 'react';
2
+ import { createComponent } from '@workday/canvas-kit-react/common';
3
+ import { createStencil, createStyles, cssVar, calc, px2rem } from '@workday/canvas-kit-styling';
4
+ import { brand, system } from '@workday/canvas-tokens-web';
5
+ import { SystemIcon } from '@workday/canvas-kit-react/icon';
6
+ import { checkSmallIcon } from '@workday/canvas-system-icons-web';
7
+ import { CheckBackground } from './CheckBackground';
8
+ const checkboxCheckStencil = createStencil({
9
+ base: { name: "e9m2ww", styles: "display:flex;flex-direction:column;max-width:100%;pointer-events:none;transition:transform 200ms ease, opacity 200ms ease;span{margin-inline-start:calc(0.375rem * -1);transition:margin 200ms ease;}opacity:0px;transform:scale(0.5);" },
10
+ modifiers: {
11
+ modifiers: {
12
+ true: { name: "11cckse", styles: "opacity:1px;transform:scale(1);" }
13
+ },
14
+ modifiers: {
15
+ true: { name: "11cckse", styles: "opacity:1px;transform:scale(1);" }
16
+ },
17
+ modifiers: {
18
+ inverse: { name: "18xh6xb", styles: "& > div{background-color:var(--cnvs-brand-primary-base, rgba(8,117,225,1));}" }
19
+ }
20
+ }
21
+ }, "checkbox-check");
22
+ const indeterminateBoxStyles = createStyles({ name: "1ekwrf6", styles: "width:calc(var(--cnvs-sys-space-x2) + 0.125rem);height:calc(var(--cnvs-sys-space-x1) / 2);background-color:var(--cnvs-brand-primary-accent, rgba(255,255,255,1));" });
23
+ export const CheckboxCheck = createComponent('div')({
24
+ displayName: 'CheckboxCheck',
25
+ Component: ({ checked, error, indeterminate, variant }) => {
26
+ return (React.createElement(CheckBackground, { error: error },
27
+ React.createElement("div", Object.assign({}, checkboxCheckStencil({ checked, indeterminate, variant })), indeterminate ? (React.createElement("div", { className: indeterminateBoxStyles })) : (checked && (React.createElement(SystemIcon, { icon: checkSmallIcon, color: variant === 'inverse' ? cssVar(brand.primary.base) : cssVar(brand.primary.accent) }))))));
28
+ },
29
+ });
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import { CSProps } from '@workday/canvas-kit-styling';
3
+ interface CheckboxContainerProps extends CSProps {
4
+ children: React.ReactNode;
5
+ disabled?: boolean;
6
+ id: string;
7
+ label: string;
8
+ variant?: 'inverse';
9
+ }
10
+ export declare const inputVars: import("@workday/canvas-kit-styling").CsVars<"errorInner" | "errorOuter" | "alertInner" | "alertOuter", never>;
11
+ export declare const CheckboxContainer: import("@workday/canvas-kit-react/common").ElementComponent<"div", CheckboxContainerProps>;
12
+ export {};
13
+ //# sourceMappingURL=CheckboxContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxContainer.d.ts","sourceRoot":"","sources":["../../../../checkbox/lib/CheckboxContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,OAAO,EAAiD,MAAM,6BAA6B,CAAC;AAIpG,UAAU,sBAAuB,SAAQ,OAAO;IAC9C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,gHAAqE,CAAC;AAwB5F,eAAO,MAAM,iBAAiB,4FAmB5B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import { createComponent } from '@workday/canvas-kit-react/common';
3
+ import { calc, createStyles, cssVar, px2rem, createVars } from '@workday/canvas-kit-styling';
4
+ import { system } from '@workday/canvas-tokens-web';
5
+ import { LabelText } from '@workday/canvas-kit-react/text';
6
+ export const inputVars = createVars({ id: "cnvs-input", args: ["errorInner", "errorOuter", "alertInner", "alertOuter"] });
7
+ const checkboxContainerStyles = createStyles({ name: "flsw04", styles: "display:flex;align-items:center;min-height:var(--cnvs-sys-space-x6, calc(0.25rem * 6));position:relative;&>div{display:flex;height:calc(var(--cnvs-sys-space-x4) + 0.125rem);min-width:calc(var(--cnvs-sys-space-x4) + 0.125rem);margin-top:0.1875rem;align-self:flex-start;}& > label{padding-inline-start:var(--cnvs-sys-space-x3, calc(var(--cnvs-base-unit) * 3));}" });
8
+ export const CheckboxContainer = createComponent('div')({
9
+ displayName: 'CheckboxContainer',
10
+ Component: ({ children, disabled, id, label, variant }) => {
11
+ return (React.createElement("div", { className: checkboxContainerStyles },
12
+ React.createElement("div", null, children),
13
+ label && (React.createElement(LabelText, { htmlFor: id, disabled: disabled, variant: variant, style: { cursor: disabled ? 'default' : 'pointer' } }, label))));
14
+ },
15
+ });
@@ -0,0 +1,48 @@
1
+ import * as React from 'react';
2
+ import { ErrorType } from '@workday/canvas-kit-react/common';
3
+ import { CSProps } from '@workday/canvas-kit-styling';
4
+ export interface CheckboxProps extends CSProps {
5
+ /**
6
+ * If true, set the Checkbox to the checked state.
7
+ * @default false
8
+ */
9
+ checked?: boolean;
10
+ /**
11
+ * If true, set the Checkbox to the disabled state.
12
+ * @default false
13
+ */
14
+ disabled?: boolean;
15
+ /**
16
+ * The type of error associated with the Checkbox (if applicable).
17
+ */
18
+ error?: ErrorType;
19
+ /**
20
+ * The HTML `id` of the underlying checkbox input element. This is required if `label` is defined as a non-empty string.
21
+ * @default {useUniqueId}
22
+ */
23
+ id?: string;
24
+ /**
25
+ * If true, set the Checkbox to an indeterminate state. Use this on a Checkbox with nested child Checkboxes to denote that some (but not all) child Checkboxes are checked.
26
+ * @default false
27
+ */
28
+ indeterminate?: boolean;
29
+ /**
30
+ * The text of the Checkbox label.
31
+ * @default ''
32
+ */
33
+ label?: string;
34
+ /**
35
+ * The function called when the Checkbox state changes.
36
+ */
37
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
38
+ /**
39
+ * The value of the Checkbox.
40
+ */
41
+ value?: string;
42
+ /**
43
+ * The variant for the checkbox
44
+ */
45
+ variant?: 'inverse' | undefined;
46
+ }
47
+ export declare const CheckboxInput: import("@workday/canvas-kit-react/common").ElementComponent<"input", CheckboxProps>;
48
+ //# sourceMappingURL=CheckboxInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxInput.d.ts","sourceRoot":"","sources":["../../../../checkbox/lib/CheckboxInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAA6B,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAEvF,OAAO,EAML,OAAO,EACR,MAAM,6BAA6B,CAAC;AAIrC,MAAM,WAAW,aAAc,SAAQ,OAAO;IAC5C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC;AAgND,eAAO,MAAM,aAAa,qFAcxB,CAAC"}
@@ -0,0 +1,37 @@
1
+ import * as React from 'react';
2
+ import { createComponent, focusRing } from '@workday/canvas-kit-react/common';
3
+ import { calc, createStencil, cssVar, handleCsProp, px2rem, } from '@workday/canvas-kit-styling';
4
+ import { base, brand, system } from '@workday/canvas-tokens-web';
5
+ import { backgroundVars } from './CheckBackground';
6
+ const checkboxInputStencil = createStencil({
7
+ base: { name: "44rtbm", styles: "border-radius:var(--cnvs-sys-shape-half, calc(0.25rem * 0.5));width:var(--cnvs-sys-space-x6, calc(0.25rem * 6));height:var(--cnvs-sys-space-x6, calc(0.25rem * 6));margin:var(--cnvs-sys-space-zero, 0);margin-top:calc(0.1875rem * -1);margin-inline-start:calc(0.1875rem * -1);position:absolute;opacity:0px;&:not(:disabled){cursor:pointer;}&:where(:hover, .hover) ~ span:first-of-type{box-shadow:0 0 0 0.4375rem var(--cnvs-base-palette-soap-200, rgba(240,241,242,1));}&:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active) ~ div:first-of-type{border-color:var(--cnvs-base-palette-licorice-500, rgba(51,61,71,1));}&:where(:checked, :indeterminate) ~ div:first-of-type{border-color:var(--cnvs-brand-primary-base, rgba(8,117,225,1));background-color:var(--cnvs-brand-primary-base, rgba(8,117,225,1));}&:disabled ~ div:first-of-type{border-color:var(--cnvs-base-palette-licorice-100, rgba(161,170,179,1));background-color:var(--cnvs-base-palette-soap-100, rgba(246,247,248,1));opacity:1px;}&:disabled:where(:checked, :indeterminate) ~ div:first-of-type{border-color:var(--cnvs-brand-primary-light, rgba(166,210,255,1));background-color:var(--cnvs-brand-primary-light, rgba(166,210,255,1));}&:where(:focus-visible, :active, .focus, .active){outline:none;}&:where(:focus-visible, .focus) ~ div:first-of-type{border-color:var(--cnvs-brand-primary-base, rgba(8,117,225,1));border-width:0.125rem;box-shadow:0 0 0 0px var(--cnvs-base-palette-french-vanilla-100), 0 0 0 0px var(--cnvs-brand-common-focus-outline);}&:checked:focus-visible, &:indeterminate:focus-visible, &:checked.focus, &:indeterminate.focus{& ~ div:first-of-type{box-shadow:0 0 0 2px var(--cnvs-base-palette-french-vanilla-100), 0 0 0 4px var(--cnvs-brand-common-focus-outline, var(--cnvs-base-palette-blueberry-400));border-color:var(--cnvs-brand-primary-base, rgba(8,117,225,1));border-width:0.125rem;span{margin-inline-start:calc(0.4375rem * -1);}}}" },
8
+ modifiers: {
9
+ modifiers: {
10
+ inverse: { name: "k4w4a2", styles: "& ~ span:first-of-type{opacity:var(--cnvs-sys-opacity-disabled, 0.4);}& ~ div:first-of-type{border-color:var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));}&:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active) ~ div:first-of-type{border-color:var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));}&:where(:checked, :indeterminate) ~ div:first-of-type{border-color:var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));background-color:var(--cnvs-base-palette-french-vanilla-100, rgba(255,255,255,1));}&:disabled ~ div:first-of-type{background-color:var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));opacity:var(--cnvs-sys-opacity-disabled, 0.4);}&:disabled:where(:checked, :indeterminate) ~ div:first-of-type{border-color:var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));background-color:var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));}&:where(:focus-visible, .focus) ~ div:first-of-type{border-color:var(--cnvs-base-palette-black-pepper-400, rgba(51,51,51,1));box-shadow:0 0 0 0px var(--cnvs-base-palette-black-pepper-400, rgba(51,51,51,1)), 0 0 0 2px var(--cnvs-base-palette-french-vanilla-100, rgba(255,255,255,1));}&:checked:focus-visible, &:checked.focus, &:indeterminate:focus-visible, &:indeterminate.focus{& ~ div:first-of-type{box-shadow:0 0 0 2px var(--cnvs-base-palette-black-pepper-400, rgba(51,51,51,1)), 0 0 0 4px var(--cnvs-base-palette-french-vanilla-100, rgba(255,255,255,1));border-color:var(--cnvs-base-palette-french-vanilla-100, rgba(255,255,255,1));}}" }
11
+ },
12
+ modifiers: {
13
+ true: { name: "fg9j9p", styles: "&:where(:hover, .hover) ~ span:first-of-type{box-shadow:none;}" }
14
+ },
15
+ modifiers: {
16
+ error: { name: "cgjiki", styles: "&:not(:where(:focus-visible, .focus)) ~ div:first-of-type{border-color:var(--cnvs-background-inner);box-shadow:\n 0 0 0 0.0625rem var(--cnvs-background-inner), \n 0 0 0 0.125rem var(--cnvs-background-outer);}&:where(:checked, :indeterminate) ~ div:first-of-type{border-color:transparent;box-shadow:\n 0 0 0 0.125rem var(--cnvs-base-palette-french-vanilla-100, rgba(255,255,255,1)),\n 0 0 0 0.25rem var(--cnvs-background-inner),\n 0 0 0 0.3125rem var(--cnvs-background-outer);}&:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active) ~ div:first-of-type{border-color:var(--cnvs-background-inner);}" },
17
+ alert: { name: "hps6d7", styles: "&:not(:where(:focus-visible, .focus)) ~ div:first-of-type{border:0.0625rem solid var(--cnvs-background-inner);box-shadow:\n 0 0 0 0.0625rem var(--cnvs-background-inner), \n 0 0 0 0.125rem var(--cnvs-background-outer);}&:not(where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active) ~ div:first-of-type{border-color:var(--cnvs-background-inner);}&:where(:checked, :indeterminate) ~ div:first-of-type{border-color:transparent;box-shadow:\n 0 0 0 0.125rem var(--cnvs-base-palette-french-vanilla-100, rgba(255,255,255,1)),\n 0 0 0 0.25rem var(--cnvs-background-inner),\n 0 0 0 0.3125rem var(--cnvs-background-outer);}" }
18
+ }
19
+ },
20
+ compound: [
21
+ {
22
+ modifiers: { variant: 'inverse', error: 'error' },
23
+ styles: { name: "b2voah", styles: "&:not(:where(:focus-visible, .focus)) ~ div:first-of-type{border:0.0625rem solid var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));}&:not(where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active) ~ div:first-of-type{border-color:var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));}&:where(:checked, :indeterminate) ~ div:first-of-type{border-color:var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));}" }
24
+ },
25
+ {
26
+ modifiers: { variant: 'inverse', error: 'alert' },
27
+ styles: { name: "b2voah", styles: "&:not(:where(:focus-visible, .focus)) ~ div:first-of-type{border:0.0625rem solid var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));}&:not(where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active) ~ div:first-of-type{border-color:var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));}&:where(:checked, :indeterminate) ~ div:first-of-type{border-color:var(--cnvs-base-palette-soap-300, rgba(232,235,237,1));}" }
28
+ }
29
+ ]
30
+ }, "checkbox-input");
31
+ export const CheckboxInput = createComponent('input')({
32
+ displayName: 'CheckboxInput',
33
+ Component: ({ variant, error, ...elemProps }, ref, Element) => {
34
+ const { checked, disabled, indeterminate } = elemProps;
35
+ return (React.createElement(Element, Object.assign({ type: "checkbox", ref: ref, "aria-checked": indeterminate ? 'mixed' : checked }, handleCsProp(elemProps, checkboxInputStencil({ variant, disabled, error })))));
36
+ },
37
+ });
@@ -0,0 +1,2 @@
1
+ export declare const CheckboxRipple: import("@workday/canvas-kit-react/common").ElementComponent<"span", unknown>;
2
+ //# sourceMappingURL=CheckboxRipple.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxRipple.d.ts","sourceRoot":"","sources":["../../../../checkbox/lib/CheckboxRipple.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,cAAc,8EAKzB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { createComponent } from '@workday/canvas-kit-react/common';
3
+ import { calc, createStyles, px2rem } from '@workday/canvas-kit-styling';
4
+ import { system } from '@workday/canvas-tokens-web';
5
+ const checkboxRippleStyles = createStyles({ name: "1uqo782", styles: "border-radius:var(--cnvs-sys-shape-round, calc(0.25rem * 250));box-shadow:none;height:calc(var(--cnvs-sys-space-x4) + 0.125rem);width:calc(var(--cnvs-sys-space-x4) + 0.125rem);transition:box-shadow 150ms ease-out;position:absolute;pointer-events:none;" });
6
+ export const CheckboxRipple = createComponent('span')({
7
+ displayName: 'CheckboxRipple',
8
+ Component: elemProps => {
9
+ return React.createElement("span", Object.assign({ className: checkboxRippleStyles }, elemProps));
10
+ },
11
+ });
@@ -1 +1 @@
1
- {"version":3,"file":"useCursorListModel.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useCursorListModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA0B,OAAO,EAAC,MAAM,kCAAkC,CAAC;AAElF,OAAO,EAAmB,IAAI,EAAC,MAAM,oBAAo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MAAM,CAAA;KAAC;IAIvB;;;;;OAKG;;IAKH;;;OAGG;;IAKH;;;;;OAKG;;IAOH;;;;;OAKG;;IAKH,mDAAmD;;IAKnD,kDAAkD;;;;;;;;;;;;;;;;;;QA3ElD,wDAAwD;;QAExD;;;;WAIG;;QAEH;;;WAGG;;QAEH;;;;;;WAMG;;8BArCyD,MAAM;;;;;;;;;;;;;;;;;;;QA2ClE,mEAAmE;mBACxD;YAAC,EAAE,EAAE,MAAM,CAAA;SAAC;QAIvB;;;;;WAKG;;QAKH;;;WAGG;;QAKH;;;;;WAKG;;QAOH;;;;;WAKG;;QAKH,mDAAmD;;QAKnD,kDAAkD;;;;;;;;;;;;;;;;;;;EA0BpD,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { Item } from '@workday/canvas-kit-react/collection';
1
2
  /**
2
3
  * This elemProps hook allows for children values to be considered identifiers if the children are
3
4
  * strings. This can be useful for autocomplete or select components that allow string values. This
@@ -47,7 +48,7 @@ export declare const useListItemAllowChildStrings: import("@workday/canvas-kit-r
47
48
  indexRef: import("react").MutableRefObject<number>;
48
49
  nonInteractiveIds: string[];
49
50
  isVirtualized: boolean;
50
- items: import("@workday/canvas-kit-react/collection").Item<any>[];
51
+ items: Item<any>[];
51
52
  };
52
53
  events: {
53
54
  select(data: {
@@ -1 +1 @@
1
- {"version":3,"file":"useListItemAllowChildStrings.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useListItemAllowChildStrings.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASxC,CAAC"}
1
+ {"version":3,"file":"useListItemAllowChildStrings.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useListItemAllowChildStrings.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,IAAI,EAAC,MAAM,sCAAsC,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASxC,CAAC"}
@@ -27,7 +27,7 @@ import { useListModel } from '@workday/canvas-kit-react/collection';
27
27
  */
28
28
  export const useListItemAllowChildStrings = createElemPropsHook(useListModel)((_, __, elemProps = {}) => {
29
29
  const props = {};
30
- if (!elemProps['data-id'] && typeof elemProps.children === 'string') {
30
+ if (!elemProps['data-id'] && !elemProps.item && typeof elemProps.children === 'string') {
31
31
  props['data-id'] = elemProps.children;
32
32
  }
33
33
  return props;
@@ -36,7 +36,7 @@ export function useListRenderItems(model, children) {
36
36
  if (React.isValidElement(child)) {
37
37
  return React.cloneElement(child, {
38
38
  key: item.id || item.index,
39
- item: item.value,
39
+ item: item,
40
40
  });
41
41
  }
42
42
  return child;
@@ -92,6 +92,7 @@ export declare const useComboboxInput: import("@workday/canvas-kit-react/common"
92
92
  readonly 'aria-expanded': boolean;
93
93
  readonly 'aria-autocomplete': "list";
94
94
  readonly 'aria-controls': `${string}-list`;
95
+ readonly 'aria-activedescendant': null | undefined;
95
96
  readonly id: string;
96
97
  readonly ref: (instance: unknown) => void;
97
98
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"useComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../combobox/lib/hooks/useComboboxInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA6BN,mBAAmB;6BActB,gBAAgB;;8BAIf,gBAAgB;;;;;;;;;;;;;;;;;;EAoBpC,CAAC"}
1
+ {"version":3,"file":"useComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../combobox/lib/hooks/useComboboxInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA6BN,mBAAmB;6BActB,gBAAgB;;8BAIf,gBAAgB;;;;;;;;;;;;;;;;;;;EAqBpC,CAAC"}
@@ -65,6 +65,7 @@ export const useComboboxInput = composeHooks(createElemPropsHook(useComboboxMode
65
65
  'aria-expanded': model.state.visibility === 'visible',
66
66
  'aria-autocomplete': 'list',
67
67
  'aria-controls': `${model.state.id}-list`,
68
+ 'aria-activedescendant': model.state.visibility === 'hidden' ? null : undefined,
68
69
  id: model.state.id,
69
70
  ref: elementRef,
70
71
  };
@@ -46,12 +46,11 @@ export const useComboboxKeyboardTypeAhead = createElemPropsHook(useComboboxModel
46
46
  }
47
47
  return -1;
48
48
  };
49
- const currentItem = model.navigation.getItem(model.state.cursorId, model);
50
- const cursorFocusedIndex = currentItem.index;
49
+ const currentItemIndex = model.state.items.length > 0 ? model.navigation.getItem(model.state.cursorId, model).index : 0;
51
50
  const handleKeyboardTypeAhead = (key, numOptions) => {
52
51
  // If the starting point is beyond the list of options, reset it
53
52
  // to the beginning of the list
54
- const startNumber = keySofar.current.length === 0 ? cursorFocusedIndex + 1 : cursorFocusedIndex;
53
+ const startNumber = keySofar.current.length === 0 ? currentItemIndex + 1 : currentItemIndex;
55
54
  const start = startNumber === numOptions ? 0 : startNumber;
56
55
  // Keeps track of the current key types and adds to it
57
56
  // if you type `de` vs `d` for denver
@@ -1 +1 @@
1
- {"version":3,"file":"useComboboxModel.d.ts","sourceRoot":"","sources":["../../../../../combobox/lib/hooks/useComboboxModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;;;;GAMG;AACH,eAAO,MAAM,aAAa;;oBAIN,MAAM,WAAW,CAAC,gBAAgB,C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;;;;;QAHH;;;WAGG;;;;QASH;;WAEG;wBACa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAlEN,MAAM,WAAW,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;oBAAnC,MAAM,WAAW,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmDnD;;;OAGG;;;IASH;;OAEG;oBACa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAftB;;;WAGG;;;;QASH;;WAEG;wBACa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAlEN,MAAM,WAAW,CAAC,gBAAgB,CAAC;;;;EAwErD,CAAC"}
@@ -49,8 +49,7 @@ export const useComboboxModel = createModelHook({
49
49
  const input = useInputModel(config);
50
50
  const menu = useMenuModel(useMenuModel.mergeConfig(config, {
51
51
  onSelect({ id }) {
52
- const textValue = menu.navigation.getItem(id, menu).textValue || id;
53
- dispatchInputEvent(menu.state.targetRef.current, textValue);
52
+ dispatchInputEvent(menu.state.targetRef.current, id);
54
53
  },
55
54
  }));
56
55
  const [width, setWidth] = React.useState(0);
@@ -17,7 +17,7 @@ export const accessibleHide = {
17
17
  padding: 0,
18
18
  border: 0,
19
19
  };
20
- const accessibleHideStyles = createStyles({ name: "i8ri0", styles: "clip:rect(1px, 1px, 1px, 1px);clip-path:polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px);position:absolute;overflow:hidden;white-space:nowrap;height:1px;width:1px;margin:-1px;padding:0px;border:0px;" });
20
+ const accessibleHideStyles = createStyles({ name: "1jqqftm", styles: "clip:rect(1px, 1px, 1px, 1px);clip-path:polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px);position:absolute;overflow:hidden;white-space:nowrap;height:1px;width:1px;margin:-1px;padding:0px;border:0px;" });
21
21
  /**
22
22
  * A convenient component wrapper to visually hide content, while still making it accessible to screen readers
23
23
  */
@@ -6,7 +6,7 @@ import { brand } from '@workday/canvas-tokens-web';
6
6
  import { cache } from '@emotion/css';
7
7
  import { createStyles } from '@workday/canvas-kit-styling';
8
8
  // copied from brand/_variables.css
9
- const defaultBranding = createStyles({ name: "i8ri1", styles: "--cnvs-brand-error-darkest:rgba(128,22,14,1);--cnvs-brand-common-alert-inner:var(--cnvs-base-palette-cantaloupe-400);--cnvs-brand-common-error-inner:var(--cnvs-base-palette-cinnamon-500);--cnvs-brand-common-focus-outline:var(--cnvs-base-palette-blueberry-400);--cnvs-brand-neutral-accent:var(--cnvs-base-palette-french-vanilla-100);--cnvs-brand-neutral-darkest:var(--cnvs-base-palette-licorice-400);--cnvs-brand-neutral-dark:var(--cnvs-base-palette-licorice-300);--cnvs-brand-neutral-base:var(--cnvs-base-palette-soap-600);--cnvs-brand-neutral-light:var(--cnvs-base-palette-soap-300);--cnvs-brand-neutral-lightest:var(--cnvs-base-palette-soap-200);--cnvs-brand-success-accent:var(--cnvs-base-palette-french-vanilla-100);--cnvs-brand-success-darkest:var(--cnvs-base-palette-green-apple-600);--cnvs-brand-success-dark:var(--cnvs-base-palette-green-apple-500);--cnvs-brand-success-base:var(--cnvs-base-palette-green-apple-400);--cnvs-brand-success-light:var(--cnvs-base-palette-green-apple-300);--cnvs-brand-success-lightest:var(--cnvs-base-palette-green-apple-100);--cnvs-brand-error-accent:var(--cnvs-base-palette-french-vanilla-100);--cnvs-brand-error-dark:var(--cnvs-base-palette-cinnamon-600);--cnvs-brand-error-base:var(--cnvs-base-palette-cinnamon-500);--cnvs-brand-error-light:var(--cnvs-base-palette-cinnamon-200);--cnvs-brand-error-lightest:var(--cnvs-base-palette-cinnamon-100);--cnvs-brand-alert-accent:var(--cnvs-base-palette-french-vanilla-100);--cnvs-brand-alert-darkest:var(--cnvs-base-palette-cantaloupe-600);--cnvs-brand-alert-dark:var(--cnvs-base-palette-cantaloupe-500);--cnvs-brand-alert-base:var(--cnvs-base-palette-cantaloupe-400);--cnvs-brand-alert-light:var(--cnvs-base-palette-cantaloupe-200);--cnvs-brand-alert-lightest:var(--cnvs-base-palette-cantaloupe-100);--cnvs-brand-primary-accent:var(--cnvs-base-palette-french-vanilla-100);--cnvs-brand-primary-darkest:var(--cnvs-base-palette-blueberry-600);--cnvs-brand-primary-dark:var(--cnvs-base-palette-blueberry-500);--cnvs-brand-primary-base:var(--cnvs-base-palette-blueberry-400);--cnvs-brand-primary-light:var(--cnvs-base-palette-blueberry-200);--cnvs-brand-primary-lightest:var(--cnvs-base-palette-blueberry-100);--cnvs-brand-gradient-primary:linear-gradient(90deg, var(--cnvs-brand-primary-base) 0%, var(--cnvs-brand-primary-dark) 100%);" });
9
+ const defaultBranding = createStyles({ name: "192nfdp", styles: "--cnvs-brand-error-darkest:rgba(128,22,14,1);--cnvs-brand-common-alert-inner:var(--cnvs-base-palette-cantaloupe-400);--cnvs-brand-common-error-inner:var(--cnvs-base-palette-cinnamon-500);--cnvs-brand-common-focus-outline:var(--cnvs-base-palette-blueberry-400);--cnvs-brand-neutral-accent:var(--cnvs-base-palette-french-vanilla-100);--cnvs-brand-neutral-darkest:var(--cnvs-base-palette-licorice-400);--cnvs-brand-neutral-dark:var(--cnvs-base-palette-licorice-300);--cnvs-brand-neutral-base:var(--cnvs-base-palette-soap-600);--cnvs-brand-neutral-light:var(--cnvs-base-palette-soap-300);--cnvs-brand-neutral-lightest:var(--cnvs-base-palette-soap-200);--cnvs-brand-success-accent:var(--cnvs-base-palette-french-vanilla-100);--cnvs-brand-success-darkest:var(--cnvs-base-palette-green-apple-600);--cnvs-brand-success-dark:var(--cnvs-base-palette-green-apple-500);--cnvs-brand-success-base:var(--cnvs-base-palette-green-apple-400);--cnvs-brand-success-light:var(--cnvs-base-palette-green-apple-300);--cnvs-brand-success-lightest:var(--cnvs-base-palette-green-apple-100);--cnvs-brand-error-accent:var(--cnvs-base-palette-french-vanilla-100);--cnvs-brand-error-dark:var(--cnvs-base-palette-cinnamon-600);--cnvs-brand-error-base:var(--cnvs-base-palette-cinnamon-500);--cnvs-brand-error-light:var(--cnvs-base-palette-cinnamon-200);--cnvs-brand-error-lightest:var(--cnvs-base-palette-cinnamon-100);--cnvs-brand-alert-accent:var(--cnvs-base-palette-french-vanilla-100);--cnvs-brand-alert-darkest:var(--cnvs-base-palette-cantaloupe-600);--cnvs-brand-alert-dark:var(--cnvs-base-palette-cantaloupe-500);--cnvs-brand-alert-base:var(--cnvs-base-palette-cantaloupe-400);--cnvs-brand-alert-light:var(--cnvs-base-palette-cantaloupe-200);--cnvs-brand-alert-lightest:var(--cnvs-base-palette-cantaloupe-100);--cnvs-brand-primary-accent:var(--cnvs-base-palette-french-vanilla-100);--cnvs-brand-primary-darkest:var(--cnvs-base-palette-blueberry-600);--cnvs-brand-primary-dark:var(--cnvs-base-palette-blueberry-500);--cnvs-brand-primary-base:var(--cnvs-base-palette-blueberry-400);--cnvs-brand-primary-light:var(--cnvs-base-palette-blueberry-200);--cnvs-brand-primary-lightest:var(--cnvs-base-palette-blueberry-100);--cnvs-brand-gradient-primary:linear-gradient(90deg, var(--cnvs-brand-primary-base) 0%, var(--cnvs-brand-primary-dark) 100%);" });
10
10
  const mappedKeys = {
11
11
  lightest: 'lightest',
12
12
  light: 'light',
@@ -49,10 +49,10 @@ export function errorRing(error, theme) {
49
49
  borderColor: errorColors.outer,
50
50
  transition: '100ms box-shadow',
51
51
  boxShadow: errorBoxShadow,
52
- '&:hover, &:disabled': {
52
+ '&:hover, &:disabled, &.hover, &.disabled': {
53
53
  borderColor: errorColors.outer,
54
54
  },
55
- '&:focus:not([disabled])': {
55
+ '&:focus-visible:not([disabled]), &.focus:not([disabled])': {
56
56
  borderColor: errorColors.outer,
57
57
  boxShadow: `${errorBoxShadow},
58
58
  0 0 0 2px ${colors.frenchVanilla100},
@@ -1 +1 @@
1
- {"version":3,"file":"focusRing.d.ts","sourceRoot":"","sources":["../../../../../common/lib/styles/focusRing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAK3D,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAqDD;;;;;;;;;;;;;;GAcG;AAEH;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,OAAO,GAAE,gBAAqB,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,SAAS,CAsBlF"}
1
+ {"version":3,"file":"focusRing.d.ts","sourceRoot":"","sources":["../../../../../common/lib/styles/focusRing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAIhD,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AA2CD;;;;;;;;;;;;;;GAcG;AAEH;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,OAAO,GAAE,gBAAqB,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,SAAS,CAoBlF"}