@bookjane2/bookjane-design-library 9.0.5 → 9.0.8

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 (78) hide show
  1. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.d.ts.map +1 -1
  2. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.js +23 -9
  3. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.js.map +1 -1
  4. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.d.ts +2 -0
  5. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.d.ts.map +1 -1
  6. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.js +7 -3
  7. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.js.map +1 -1
  8. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.styled.d.ts +2 -0
  9. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.styled.d.ts.map +1 -0
  10. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.styled.js +6 -0
  11. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.styled.js.map +1 -0
  12. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.test.d.ts +2 -0
  13. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.test.d.ts.map +1 -0
  14. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.test.js +114 -0
  15. package/lib/components/BKJCheckboxListItem/BKJCheckboxListItem.test.js.map +1 -0
  16. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.d.ts +1 -1
  17. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.d.ts.map +1 -1
  18. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.js +2 -2
  19. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.js.map +1 -1
  20. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.d.ts +3 -1
  21. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.d.ts.map +1 -1
  22. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.js +48 -0
  23. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.js.map +1 -1
  24. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.test.d.ts +22 -0
  25. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.test.d.ts.map +1 -0
  26. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.test.js +561 -0
  27. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.test.js.map +1 -0
  28. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.d.ts +41 -0
  29. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.types.d.ts.map +1 -1
  30. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.d.ts +6 -0
  31. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.d.ts.map +1 -1
  32. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.js +14 -0
  33. package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.utils.js.map +1 -1
  34. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.d.ts.map +1 -1
  35. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.d.ts +48 -0
  36. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.d.ts.map +1 -1
  37. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.js +99 -1
  38. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.hooks.js.map +1 -1
  39. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.js +107 -26
  40. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsync.context.js.map +1 -1
  41. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.d.ts.map +1 -1
  42. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.js +29 -3
  43. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncInput.js.map +1 -1
  44. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.d.ts.map +1 -1
  45. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.js +7 -1
  46. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncItem.js.map +1 -1
  47. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.d.ts.map +1 -1
  48. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.js +25 -6
  49. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptions.js.map +1 -1
  50. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.d.ts.map +1 -1
  51. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.js +6 -1
  52. package/lib/components/BKJComboBoxAsync/src/BKJComboBoxAsyncOptionsMapper.js.map +1 -1
  53. package/lib/components/BKJTimeInput/BKJTimeInput.stories.d.ts +3 -0
  54. package/lib/components/BKJTimeInput/BKJTimeInput.stories.d.ts.map +1 -1
  55. package/lib/components/BKJTimeInput/BKJTimeInput.stories.js +19 -0
  56. package/lib/components/BKJTimeInput/BKJTimeInput.stories.js.map +1 -1
  57. package/lib/components/BKJTimeInput/BKJTimeInput.test.d.ts +2 -0
  58. package/lib/components/BKJTimeInput/BKJTimeInput.test.d.ts.map +1 -0
  59. package/lib/components/BKJTimeInput/BKJTimeInput.test.js +141 -0
  60. package/lib/components/BKJTimeInput/BKJTimeInput.test.js.map +1 -0
  61. package/lib/components/BKJTimeInput/BKJTimeInput.types.d.ts +1 -0
  62. package/lib/components/BKJTimeInput/BKJTimeInput.types.d.ts.map +1 -1
  63. package/lib/components/BKJTimeInput/src/BKJTimeInput.context.d.ts.map +1 -1
  64. package/lib/components/BKJTimeInput/src/BKJTimeInput.context.js +2 -0
  65. package/lib/components/BKJTimeInput/src/BKJTimeInput.context.js.map +1 -1
  66. package/lib/components/BKJTimeInput/src/BKJTimeInputInput.d.ts.map +1 -1
  67. package/lib/components/BKJTimeInput/src/BKJTimeInputInput.js +10 -3
  68. package/lib/components/BKJTimeInput/src/BKJTimeInputInput.js.map +1 -1
  69. package/lib/components/BKJTimeInput/src/BKJTimeInputItem.d.ts.map +1 -1
  70. package/lib/components/BKJTimeInput/src/BKJTimeInputItem.js +4 -4
  71. package/lib/components/BKJTimeInput/src/BKJTimeInputItem.js.map +1 -1
  72. package/lib/components/BKJTimeInput/src/BKJTimeInputOptions.d.ts.map +1 -1
  73. package/lib/components/BKJTimeInput/src/BKJTimeInputOptions.js +9 -8
  74. package/lib/components/BKJTimeInput/src/BKJTimeInputOptions.js.map +1 -1
  75. package/lib/components/BKJTimeInput/src/BKJTimeInputOptionsMapper.d.ts.map +1 -1
  76. package/lib/components/BKJTimeInput/src/BKJTimeInputOptionsMapper.js +1 -1
  77. package/lib/components/BKJTimeInput/src/BKJTimeInputOptionsMapper.js.map +1 -1
  78. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"BKJCheckboxListItem.d.ts","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoD,MAAM,OAAO,CAAC;AAE7E,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAIlG,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAClC,iBAAiB,GAAG;IAClB,eAAe,CAAC,EAAE,2BAA2B,CAAC;IAC9C,eAAe,CAAC,EAAE,2BAA2B,CAAC;CAC/C,CAqDD,CAAC"}
1
+ {"version":3,"file":"BKJCheckboxListItem.d.ts","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,EAAE,EAA+B,MAAM,OAAO,CAAC;AAKrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAG/E,OAAO,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAIlG,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAClC,iBAAiB,GAAG;IAClB,eAAe,CAAC,EAAE,2BAA2B,CAAC;IAC9C,eAAe,CAAC,EAAE,2BAA2B,CAAC;CAC/C,CA+ED,CAAC"}
@@ -1,11 +1,16 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { forwardRef, useCallback, useMemo } from 'react';
3
- import { BKJCheckbox } from '../BKJCheckbox/BKJCheckbox.js';
2
+ import { forwardRef, useMemo, useRef } from 'react';
3
+ import { v4 as uuidv4 } from 'uuid';
4
+ import { BKJIcon } from '../index.js';
5
+ import { BKJCheckboxDisplay, BKJCheckboxInput } from '../BKJCheckbox/BKJCheckbox.styled.js';
6
+ import { BKJCheck } from '../BKJCheckbox/src/BKJCheck.js';
4
7
  import { ListItemWrapper } from '../BKJListItem/BKJListItem.styled.js';
5
8
  import { ListItemText, SubLabel } from '../common/ListItemBaseCSS/index.js';
6
- import { BKJIcon } from '../index.js';
9
+ import { LabelWrapper } from './BKJCheckboxListItem.styled.js';
7
10
  export const BKJCheckboxListItem = forwardRef((props, ref) => {
8
11
  const { onChange, name, subLabel, label, className, disabled = false, isTargeted = false, showPeopleIcon = false, selected, value, listItemVariant = 'LeftAlignAlternatingBackgroundColor', checkboxVariant = 'GreenSolid', ...rest } = props;
12
+ const inputIdRef = useRef(`bkj-cbli-input-${uuidv4()}`);
13
+ const labelIdRef = useRef(`bkj-cbli-label-${uuidv4()}`);
9
14
  const checked = useMemo(() => {
10
15
  if (Array.isArray(selected)) {
11
16
  return selected?.some((str) => String(str) === String(value));
@@ -14,11 +19,20 @@ export const BKJCheckboxListItem = forwardRef((props, ref) => {
14
19
  return false;
15
20
  }
16
21
  }, [selected, value]);
17
- const handleClick = useCallback((event) => {
18
- event.preventDefault && event.preventDefault();
19
- if (onChange)
20
- onChange({ ...event, target: { ...event.target, checked, name, value, label } });
21
- }, [checked, label, name, onChange, value]);
22
- return (_jsxs(ListItemWrapper, { ...rest, variant: listItemVariant, role: "listbox", onClick: handleClick, className: className, checked: checked, disabled: disabled, isTargeted: isTargeted, ref: ref, children: [_jsx(BKJCheckbox, { variant: checkboxVariant, value: checked, disabled: disabled, readOnly: true }), showPeopleIcon && (_jsx(BKJIcon, { iconName: "Group2", width: 16, height: 14 })), _jsx(ListItemText, { children: label }), subLabel && _jsx(SubLabel, { children: subLabel })] }));
22
+ const handleInputChange = (event) => {
23
+ if (!onChange)
24
+ return;
25
+ onChange({
26
+ ...event,
27
+ target: {
28
+ ...event.target,
29
+ checked: event.target.checked,
30
+ name,
31
+ value,
32
+ label,
33
+ },
34
+ });
35
+ };
36
+ return (_jsx(ListItemWrapper, { ...rest, variant: listItemVariant, className: className, checked: checked, disabled: disabled, isTargeted: isTargeted, ref: ref, children: _jsxs(LabelWrapper, { htmlFor: inputIdRef.current, children: [_jsx(BKJCheckboxInput, { type: "checkbox", id: inputIdRef.current, "aria-labelledby": labelIdRef.current, checked: checked, disabled: disabled, name: name, onChange: handleInputChange }), _jsx(BKJCheckboxDisplay, { "aria-hidden": "true", value: checked, disabled: disabled, variant: checkboxVariant, children: _jsx(BKJCheck, { variant: checkboxVariant, checked: checked, disabled: disabled }) }), showPeopleIcon && (_jsx(BKJIcon, { iconName: "Group2", width: 16, height: 14, "aria-hidden": "true" })), _jsx(ListItemText, { id: labelIdRef.current, children: label }), subLabel && _jsx(SubLabel, { children: subLabel })] }) }));
23
37
  });
24
38
  //# sourceMappingURL=BKJCheckboxListItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJCheckboxListItem.js","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,E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CAAC,CAAC;IACxB,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,eAAe,OACV,IAAI,EACR,OAAO,EAAE,eAAe,EACxB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,GAAG,EAAE,GAAG,YAER,MAAC,YAAY,IAAC,OAAO,EAAE,UAAU,CAAC,OAAO,aACvC,KAAC,gBAAgB,IACf,IAAI,EAAC,UAAU,EACf,EAAE,EAAE,UAAU,CAAC,OAAO,qBACL,UAAU,CAAC,OAAO,EACnC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,iBAAiB,GAC3B,EACF,KAAC,kBAAkB,mBACL,MAAM,EAClB,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,eAAe,YAExB,KAAC,QAAQ,IAAC,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,GAAI,GACzD,EACpB,cAAc,IAAI,CACjB,KAAC,OAAO,IAAC,QAAQ,EAAC,QAAQ,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,iBAAc,MAAM,GAAG,CACxE,EACD,KAAC,YAAY,IAAC,EAAE,EAAE,UAAU,CAAC,OAAO,YAAG,KAAK,GAAgB,EAC3D,QAAQ,IAAI,KAAC,QAAQ,cAAE,QAAQ,GAAY,IAC/B,GACC,CACnB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -8,4 +8,6 @@ declare const _default: {
8
8
  export default _default;
9
9
  export declare const Default: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, {}>;
10
10
  export declare const Multiple: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, {}>;
11
+ export declare const WithSubLabel: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, {}>;
12
+ export declare const WithPeopleIcon: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, {}>;
11
13
  //# sourceMappingURL=BKJCheckboxListItem.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJCheckboxListItem.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.tsx"],"names":[],"mappings":";;;;;;;AAGA,wBAGE;AAgCF,eAAO,MAAM,OAAO,8FAAoB,CAAC;AAgCzC,eAAO,MAAM,QAAQ,8FAA4B,CAAC"}
1
+ {"version":3,"file":"BKJCheckboxListItem.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.tsx"],"names":[],"mappings":";;;;;;;AAGA,wBAGE;AAgCF,eAAO,MAAM,OAAO,8FAAoB,CAAC;AAgCzC,eAAO,MAAM,QAAQ,8FAA4B,CAAC;AA+BlD,eAAO,MAAM,YAAY,8FAAgC,CAAC;AA+B1D,eAAO,MAAM,cAAc,8FAAkC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { BKJCheckboxListItem } from './BKJCheckboxListItem.js';
3
3
  export default {
4
4
  title: 'List Elements/BKJCheckboxListItem',
@@ -6,11 +6,15 @@ export default {
6
6
  };
7
7
  const noop = () => void 0;
8
8
  const selected1 = ['two'];
9
- const Template = () => (_jsxs(_Fragment, { children: [_jsx(BKJCheckboxListItem, { onChange: noop, value: "one", label: "Item One", name: "test", selected: selected1 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "two", label: "Item Two", name: "test", selected: selected1 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "three", label: "Item Three", name: "test", selected: selected1 })] }));
9
+ const Template = () => (_jsxs("ul", { children: [_jsx(BKJCheckboxListItem, { onChange: noop, value: "one", label: "Item One", name: "test", selected: selected1 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "two", label: "Item Two", name: "test", selected: selected1 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "three", label: "Item Three", name: "test", selected: selected1 })] }));
10
10
  export const Default = Template.bind({});
11
11
  const selected2 = ['one', 'three'];
12
12
  const MultipleTemplate = () => {
13
- return (_jsxs(_Fragment, { children: [_jsx(BKJCheckboxListItem, { onChange: noop, value: "one", label: "Item One", name: "test", selected: selected2 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "two", label: "Item Two", name: "test", selected: selected2 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "three", label: "Item Three", name: "test", selected: selected2 })] }));
13
+ return (_jsxs("ul", { children: [_jsx(BKJCheckboxListItem, { onChange: noop, value: "one", label: "Item One", name: "test", selected: selected2 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "two", label: "Item Two", name: "test", selected: selected2 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "three", label: "Item Three", name: "test", selected: selected2 })] }));
14
14
  };
15
15
  export const Multiple = MultipleTemplate.bind({});
16
+ const WithSubLabelTemplate = () => (_jsxs("ul", { children: [_jsx(BKJCheckboxListItem, { onChange: noop, value: "one", label: "Item One", subLabel: "on-call today", name: "test", selected: selected1 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "two", label: "Item Two", subLabel: "off today", name: "test", selected: selected1 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "three", label: "Item Three", subLabel: "on-call tomorrow", name: "test", selected: selected1 })] }));
17
+ export const WithSubLabel = WithSubLabelTemplate.bind({});
18
+ const WithPeopleIconTemplate = () => (_jsxs("ul", { children: [_jsx(BKJCheckboxListItem, { onChange: noop, value: "one", label: "Item One", showPeopleIcon: true, name: "test", selected: selected1 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "two", label: "Item Two", showPeopleIcon: true, name: "test", selected: selected1 }), _jsx(BKJCheckboxListItem, { onChange: noop, value: "three", label: "Item Three", showPeopleIcon: true, name: "test", selected: selected1 })] }));
19
+ export const WithPeopleIcon = WithPeopleIconTemplate.bind({});
16
20
  //# sourceMappingURL=BKJCheckboxListItem.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJCheckboxListItem.stories.js","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,eAAe;IACb,KAAK,EAAE,mCAAmC;IAC1C,SAAS,EAAE,mBAAmB;CAC/B,CAAC;AAEF,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;AAE1B,MAAM,SAAS,GAAG,CAAC,KAAK,CAAC,CAAC;AAE1B,MAAM,QAAQ,GAAgB,GAAG,EAAE,CAAC,CAClC,8BACE,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,KAAK,EACX,KAAK,EAAC,UAAU,EAChB,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,EACF,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,KAAK,EACX,KAAK,EAAC,UAAU,EAChB,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,EACF,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,OAAO,EACb,KAAK,EAAC,YAAY,EAClB,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,IACD,CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAEzC,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AAEnC,MAAM,gBAAgB,GAAgB,GAAG,EAAE;IACzC,OAAO,CACL,8BACE,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,KAAK,EACX,KAAK,EAAC,UAAU,EAChB,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,EACF,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,KAAK,EACX,KAAK,EAAC,UAAU,EAChB,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,EACF,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,OAAO,EACb,KAAK,EAAC,YAAY,EAClB,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,IACD,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"BKJCheckboxListItem.stories.js","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,eAAe;IACb,KAAK,EAAE,mCAAmC;IAC1C,SAAS,EAAE,mBAAmB;CAC/B,CAAC;AAEF,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;AAE1B,MAAM,SAAS,GAAG,CAAC,KAAK,CAAC,CAAC;AAE1B,MAAM,QAAQ,GAAgB,GAAG,EAAE,CAAC,CAClC,yBACE,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,KAAK,EACX,KAAK,EAAC,UAAU,EAChB,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,EACF,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,KAAK,EACX,KAAK,EAAC,UAAU,EAChB,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACn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AAQ,EAAC,WAAW,EACpB,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,EACF,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,OAAO,EACb,KAAK,EAAC,YAAY,EAClB,QAAQ,EAAC,kBAAkB,EAC3B,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,IACC,CACN,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAE1D,MAAM,sBAAsB,GAAgB,GAAG,EAAE,CAAC,CAChD,yBACE,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,KAAK,EACX,KAAK,EAAC,UAAU,EAChB,cAAc,QACd,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,EACF,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,KAAK,EACX,KAAK,EAAC,UAAU,EAChB,cAAc,QACd,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,EACF,KAAC,mBAAmB,IAClB,QAAQ,EAAE,IAAI,EACd,KAAK,EAAC,OAAO,EACb,KAAK,EAAC,YAAY,EAClB,cAAc,QACd,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,SAAS,GACnB,IACC,CACN,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,sBAAsB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const LabelWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
2
+ //# sourceMappingURL=BKJCheckboxListItem.styled.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BKJCheckboxListItem.styled.d.ts","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.styled.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,sOAGxB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import styled from 'styled-components';
2
+ export const LabelWrapper = styled.label `
3
+ display: contents;
4
+ cursor: pointer;
5
+ `;
6
+ //# sourceMappingURL=BKJCheckboxListItem.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BKJCheckboxListItem.styled.js","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAAA;;;CAGvC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BKJCheckboxListItem.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BKJCheckboxListItem.test.d.ts","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,114 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ jest.mock('uuid', () => {
3
+ let counter = 0;
4
+ return {
5
+ v4: jest.fn(() => {
6
+ counter += 1;
7
+ const hex = counter.toString(16).padStart(12, '0');
8
+ return `00000000-0000-0000-0000-${hex}`;
9
+ }),
10
+ };
11
+ });
12
+ import { fireEvent, screen } from '@testing-library/react';
13
+ import { renderAndCheckA11y, renderWithTheme } from '../../test-utils/index.js';
14
+ import { BKJCheckboxListItem } from './BKJCheckboxListItem.js';
15
+ const noop = () => void 0;
16
+ describe('BKJCheckboxListItem', () => {
17
+ describe('Click to toggle', () => {
18
+ it('click on the primary label text toggles and fires onChange with post-toggle checked', () => {
19
+ const onChange = jest.fn();
20
+ renderWithTheme(_jsx("ul", { children: _jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", selected: [], onChange: onChange }) }));
21
+ fireEvent.click(screen.getByText('Item One'));
22
+ expect(onChange).toHaveBeenCalledTimes(1);
23
+ expect(onChange.mock.calls[0][0].target.checked).toBe(true);
24
+ expect(onChange.mock.calls[0][0].target.value).toBe('one');
25
+ expect(onChange.mock.calls[0][0].target.name).toBe('prefs');
26
+ expect(onChange.mock.calls[0][0].target.label).toBe('Item One');
27
+ });
28
+ it('click on the sub-label text toggles (sub-label is inside the <label>)', () => {
29
+ const onChange = jest.fn();
30
+ renderWithTheme(_jsx("ul", { children: _jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", subLabel: "on-call today", selected: [], onChange: onChange }) }));
31
+ fireEvent.click(screen.getByText('on-call today'));
32
+ expect(onChange).toHaveBeenCalledTimes(1);
33
+ expect(onChange.mock.calls[0][0].target.checked).toBe(true);
34
+ });
35
+ it('click on a checked row toggles to unchecked (post-toggle value fix)', () => {
36
+ const onChange = jest.fn();
37
+ renderWithTheme(_jsx("ul", { children: _jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", selected: ['one'], onChange: onChange }) }));
38
+ fireEvent.click(screen.getByRole('checkbox'));
39
+ expect(onChange).toHaveBeenCalledTimes(1);
40
+ expect(onChange.mock.calls[0][0].target.checked).toBe(false);
41
+ });
42
+ it('a disabled row marks the input disabled and suppresses pointer events on the wrapper', () => {
43
+ // Note on jsdom: fireEvent.click bypasses both the native `disabled` attribute
44
+ // and CSS `pointer-events: none`, so we cannot programmatically assert "click
45
+ // does not fire onChange" without user-event (not a project dep). We instead
46
+ // assert the two mechanisms that enforce this in the browser are both wired:
47
+ // 1. the native input has the `disabled` attribute (native click suppression)
48
+ // 2. the <li> wrapper has `pointer-events: none` (CSS click suppression)
49
+ // The manual click walkthrough in quickstart.md §4 is the authoritative check.
50
+ const { container } = renderWithTheme(_jsx("ul", { children: _jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", selected: [], disabled: true, onChange: () => void 0 }) }));
51
+ const input = screen.getByRole('checkbox');
52
+ expect(input).toBeDisabled();
53
+ const listItem = container.querySelector('li');
54
+ expect(listItem).not.toBeNull();
55
+ expect(getComputedStyle(listItem).pointerEvents).toBe('none');
56
+ });
57
+ });
58
+ describe('Keyboard', () => {
59
+ it('native input is focusable when not disabled', () => {
60
+ renderWithTheme(_jsx("ul", { children: _jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", selected: [], onChange: noop }) }));
61
+ const input = screen.getByRole('checkbox');
62
+ input.focus();
63
+ expect(input).toHaveFocus();
64
+ expect(input.tabIndex).toBeGreaterThanOrEqual(0);
65
+ });
66
+ it('fires onChange with post-toggle checked when the native input is activated', () => {
67
+ const onChange = jest.fn();
68
+ renderWithTheme(_jsx("ul", { children: _jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", selected: [], onChange: onChange }) }));
69
+ const input = screen.getByRole('checkbox');
70
+ fireEvent.click(input);
71
+ expect(onChange).toHaveBeenCalledTimes(1);
72
+ expect(onChange.mock.calls[0][0].target.checked).toBe(true);
73
+ });
74
+ it('disabled input cannot receive focus', () => {
75
+ renderWithTheme(_jsx("ul", { children: _jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", selected: [], disabled: true, onChange: noop }) }));
76
+ const input = screen.getByRole('checkbox');
77
+ expect(input).toBeDisabled();
78
+ input.focus();
79
+ expect(input).not.toHaveFocus();
80
+ });
81
+ it('Enter on a focused input does not fire onChange (no custom handler)', () => {
82
+ const onChange = jest.fn();
83
+ renderWithTheme(_jsx("ul", { children: _jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", selected: [], onChange: onChange }) }));
84
+ const input = screen.getByRole('checkbox');
85
+ input.focus();
86
+ fireEvent.keyDown(input, { key: 'Enter', code: 'Enter' });
87
+ expect(onChange).not.toHaveBeenCalled();
88
+ });
89
+ });
90
+ describe('Accessibility', () => {
91
+ it('has no accessibility violations in unchecked state', async () => {
92
+ const { axeResults } = await renderAndCheckA11y(_jsx("ul", { children: _jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", selected: [], onChange: noop }) }));
93
+ expect(axeResults).toHaveNoViolations();
94
+ });
95
+ it('has no accessibility violations in checked state', async () => {
96
+ const { axeResults } = await renderAndCheckA11y(_jsx("ul", { children: _jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", selected: ['one'], onChange: noop }) }));
97
+ expect(axeResults).toHaveNoViolations();
98
+ });
99
+ it('generates a unique input id and unique labelledby target for each instance', () => {
100
+ renderWithTheme(_jsxs("ul", { children: [_jsx(BKJCheckboxListItem, { name: "prefs", value: "one", label: "Item One", selected: [], onChange: noop }), _jsx(BKJCheckboxListItem, { name: "prefs", value: "two", label: "Item Two", selected: [], onChange: noop })] }));
101
+ const inputs = screen.getAllByRole('checkbox');
102
+ expect(inputs).toHaveLength(2);
103
+ const [firstId, secondId] = inputs.map((el) => el.id);
104
+ expect(firstId).toMatch(/^bkj-cbli-input-[0-9a-f-]{36}$/);
105
+ expect(secondId).toMatch(/^bkj-cbli-input-[0-9a-f-]{36}$/);
106
+ expect(firstId).not.toBe(secondId);
107
+ const [firstLabelledBy, secondLabelledBy] = inputs.map((el) => el.getAttribute('aria-labelledby'));
108
+ expect(firstLabelledBy).toMatch(/^bkj-cbli-label-[0-9a-f-]{36}$/);
109
+ expect(secondLabelledBy).toMatch(/^bkj-cbli-label-[0-9a-f-]{36}$/);
110
+ expect(firstLabelledBy).not.toBe(secondLabelledBy);
111
+ });
112
+ });
113
+ });
114
+ //# sourceMappingURL=BKJCheckboxListItem.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BKJCheckboxListItem.test.js","sourceRoot":"","sources":["../../../src/components/BKJCheckboxListItem/BKJCheckboxListItem.test.tsx"],"names":[],"mappings":";AAAA,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE;IACrB,IAAI,OAAO,GAAG,CAAC,CAAC;IAChB,OAAO;QACL,EAAE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AE,CAAC,CAAC;YACtD,MAAM,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;YAC1D,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;YAC3D,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAEnC,MAAM,CAAC,eAAe,EAAE,gBAAgB,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAC5D,EAAE,CAAC,YAAY,CAAC,iBAAiB,CAAC,CACnC,CAAC;YACF,MAAM,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;YAClE,MAAM,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;YACnE,MAAM,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -3,5 +3,5 @@ import { IBKJComboBoxAsyncProps } from './BKJComboBoxAsync.types.js';
3
3
  * BookJane's Asynchronous Searchable Select Component
4
4
  * @authors [David Zahiri](https://github.com/twistedrc1017), [Matthew J. Wong](https://github.com/matthew-jay-wong)
5
5
  */
6
- export declare const BKJComboBoxAsync: import("react").ForwardRefExoticComponent<Pick<IBKJComboBoxAsyncProps, "target" | "name" | "value" | "label" | "checked" | "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "title" | "id" | "selected" | "disabled" | "subLabelPosition" | "variant" | "type" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "icon" | "multiple" | "width" | "css" | "isOpen" | "overrides" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "leftIconProps" | "rightIconProps" | "labelProps" | "fieldSetProps" | "description" | "isRequired" | "error" | "openBorderLocation" | "useFocusBorder" | "options" | "searchKey" | "context" | "searchValue" | "onSearchChange" | "cacheKey" | "showFullFocusBorder"> & import("react").RefAttributes<HTMLInputElement>>;
6
+ export declare const BKJComboBoxAsync: import("react").ForwardRefExoticComponent<Pick<IBKJComboBoxAsyncProps, "target" | "name" | "value" | "label" | "checked" | "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "title" | "id" | "selected" | "disabled" | "subLabelPosition" | "variant" | "type" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "icon" | "multiple" | "width" | "css" | "isOpen" | "overrides" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "leftIconProps" | "rightIconProps" | "labelProps" | "fieldSetProps" | "description" | "isRequired" | "error" | "openBorderLocation" | "useFocusBorder" | "options" | "searchKey" | "context" | "searchValue" | "onSearchChange" | "loadingLabel" | "resultsCountLabel" | "noResultsLabel" | "cacheKey" | "showFullFocusBorder"> & import("react").RefAttributes<HTMLInputElement>>;
7
7
  //# sourceMappingURL=BKJComboBoxAsync.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJComboBoxAsync.d.ts","sourceRoot":"","sources":["../../../src/components/BKJComboBoxAsync/BKJComboBoxAsync.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAKlE;;;GAGG;AAEH,eAAO,MAAM,gBAAgB,upMA6D5B,CAAC"}
1
+ {"version":3,"file":"BKJComboBoxAsync.d.ts","sourceRoot":"","sources":["../../../src/components/BKJComboBoxAsync/BKJComboBoxAsync.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAKlE;;;GAGG;AAEH,eAAO,MAAM,gBAAgB,itMAmE5B,CAAC"}
@@ -9,10 +9,10 @@ import { BKJComboBoxOptions } from './src/BKJComboBoxAsyncOptions.js';
9
9
  * @authors [David Zahiri](https://github.com/twistedrc1017), [Matthew J. Wong](https://github.com/matthew-jay-wong)
10
10
  */
11
11
  export const BKJComboBoxAsync = forwardRef((props, ref) => {
12
- const { autoComplete = 'off', label = undefined, name, onChange, onSearchChange, searchValue = '', options = [], value = undefined, type = 'Single', action = 'OpenToggle', variant = 'Search', placeholder = 'Begin typing to see results...', context, required, disabled = undefined, searchKey, icon = undefined, className, overrides = [], subLabelPosition = 'right', showFullFocusBorder = true, } = props;
12
+ const { autoComplete = 'off', label = undefined, name, onChange, onSearchChange, searchValue = '', options = [], value = undefined, type = 'Single', action = 'OpenToggle', variant = 'Search', placeholder = 'Begin typing to see results...', context, required, disabled = undefined, searchKey, icon = undefined, className, overrides = [], subLabelPosition = 'right', showFullFocusBorder = true, loadingLabel, resultsCountLabel, noResultsLabel, } = props;
13
13
  const targetElement = usePortalTargetElement('dropdown-root');
14
14
  if (!targetElement)
15
15
  return _jsx(Fragment, {});
16
- return (_jsxs(BKJComboBoxAsyncProvider, { name: name, type: type, icon: icon, value: value, label: label, action: action, context: context, variant: variant, options: options, onChange: onChange, required: required, disabled: disabled, error: props.error, searchKey: searchKey, placeholder: placeholder, searchValue: searchValue, onSearchChange: onSearchChange, portalTargetElement: targetElement, subLabelPosition: subLabelPosition, children: [_jsx(BKJComboBoxAsyncInput, { ref: ref, autoComplete: autoComplete, className: className, overrides: overrides, showFullFocusBorder: showFullFocusBorder }), _jsx(BKJComboBoxOptions, { overrides: overrides })] }));
16
+ return (_jsxs(BKJComboBoxAsyncProvider, { name: name, type: type, icon: icon, value: value, label: label, action: action, context: context, variant: variant, options: options, onChange: onChange, required: required, disabled: disabled, error: props.error, searchKey: searchKey, placeholder: placeholder, searchValue: searchValue, onSearchChange: onSearchChange, portalTargetElement: targetElement, subLabelPosition: subLabelPosition, loadingLabel: loadingLabel, resultsCountLabel: resultsCountLabel, noResultsLabel: noResultsLabel, children: [_jsx(BKJComboBoxAsyncInput, { ref: ref, autoComplete: autoComplete, className: className, overrides: overrides, showFullFocusBorder: showFullFocusBorder }), _jsx(BKJComboBoxOptions, { overrides: overrides })] }));
17
17
  });
18
18
  //# sourceMappingURL=BKJComboBoxAsync.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJComboBoxAsync.js","sourceRoot":"","sources":["../../../src/components/BKJComboBoxAsync/BKJComboBoxAsync.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE;;;GAGG;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CACxC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACb,MAAM,EACJ,YAAY,GAAG,KAAK,EACpB,KA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I,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,cAAc,EAC9B,mBAAmB,EAAE,aAAa,EAClC,gBAAgB,EAAE,gBAAgB,EAClC,YAAY,EAAE,YAAY,EAC1B,iBAAiB,EAAE,iBAAiB,EACpC,cAAc,EAAE,cAAc,aAE9B,KAAC,qBAAqB,IACpB,GAAG,EAAE,GAAG,EACR,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,EACpB,mBAAmB,EAAE,mBAAmB,GACxC,EACF,KAAC,kBAAkB,IAAC,SAAS,EAAE,SAAS,GAAI,IACnB,CAC5B,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { IBKJComboBoxAsyncProps } from './BKJComboBoxAsync.types.js';
2
2
  declare const setup: {
3
3
  title: string;
4
- component: import("react").ForwardRefExoticComponent<Pick<IBKJComboBoxAsyncProps, "target" | "name" | "value" | "label" | "checked" | "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "title" | "id" | "selected" | "disabled" | "subLabelPosition" | "variant" | "type" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "icon" | "multiple" | "width" | "css" | "isOpen" | "overrides" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "leftIconProps" | "rightIconProps" | "labelProps" | "fieldSetProps" | "description" | "isRequired" | "error" | "openBorderLocation" | "useFocusBorder" | "options" | "searchKey" | "context" | "searchValue" | "onSearchChange" | "cacheKey" | "showFullFocusBorder"> & import("react").RefAttributes<HTMLInputElement>>;
4
+ component: import("react").ForwardRefExoticComponent<Pick<IBKJComboBoxAsyncProps, "target" | "name" | "value" | "label" | "checked" | "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "title" | "id" | "selected" | "disabled" | "subLabelPosition" | "variant" | "type" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "icon" | "multiple" | "width" | "css" | "isOpen" | "overrides" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "leftIconProps" | "rightIconProps" | "labelProps" | "fieldSetProps" | "description" | "isRequired" | "error" | "openBorderLocation" | "useFocusBorder" | "options" | "searchKey" | "context" | "searchValue" | "onSearchChange" | "loadingLabel" | "resultsCountLabel" | "noResultsLabel" | "cacheKey" | "showFullFocusBorder"> & import("react").RefAttributes<HTMLInputElement>>;
5
5
  argTypes: {};
6
6
  };
7
7
  export declare const Default: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IBKJComboBoxAsyncProps>;
8
+ export declare const Loading: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IBKJComboBoxAsyncProps>;
9
+ export declare const EmptyResults: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IBKJComboBoxAsyncProps>;
8
10
  export default setup;
9
11
  //# sourceMappingURL=BKJComboBoxAsync.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJComboBoxAsync.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAelE,QAAA,MAAM,KAAK;;;;CAIV,CAAC;AAuFF,eAAO,MAAM,OAAO,kHAAoB,CAAC;AAIzC,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"BKJComboBoxAsync.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAelE,QAAA,MAAM,KAAK;;;;CAIV,CAAC;AAuFF,eAAO,MAAM,OAAO,kHAAoB,CAAC;AAyCzC,eAAO,MAAM,OAAO,kHAA2B,CAAC;AAwChD,eAAO,MAAM,YAAY,kHAAyB,CAAC;AAGnD,eAAe,KAAK,CAAC"}
@@ -90,5 +90,53 @@ const Template = () => {
90
90
  };
91
91
  export const Default = Template.bind({});
92
92
  Default.args = {};
93
+ // WEB-4815 / T013: fetch in flight, no options yet. Reviewers confirm
94
+ // `aria-busy="true"` on the listbox and a "Loading results…" live-region
95
+ // announcement after ~1s.
96
+ const LoadingTemplate = () => {
97
+ const { values: values2, onChange: onChange2 } = useFormBehaviors({
98
+ initialState: { byName: 'ac' },
99
+ isDirtyCheckEnabled: true,
100
+ type: 'EDIT',
101
+ validations: {},
102
+ onSubmit: () => { },
103
+ });
104
+ const LoadingContext = createContext({
105
+ __typename: 'GraphQLAPI',
106
+ loadMore: () => null,
107
+ status: 'LOADING',
108
+ fetch: () => null,
109
+ values: {},
110
+ isLoading: true,
111
+ data: { pageInfo: { hasNextPage: false } },
112
+ });
113
+ return (_jsx(BKJComboBoxAsync, { searchValue: values2.byName, searchKey: "byName", onSearchChange: onChange2, type: "Single", value: undefined, options: [], name: "location", action: "OpenToggle", onChange: () => null, context: LoadingContext, icon: "Location1" }));
114
+ };
115
+ export const Loading = LoadingTemplate.bind({});
116
+ Loading.args = {};
117
+ // WEB-4815 / T022: fetch resolved with zero options. Reviewers confirm
118
+ // an in-listbox `role="option" aria-disabled="true"` "No results" element
119
+ // exists and is AT-announceable. No live-region "No results" announcement.
120
+ const EmptyTemplate = () => {
121
+ const { values: values2, onChange: onChange2 } = useFormBehaviors({
122
+ initialState: { byName: 'zzzz' },
123
+ isDirtyCheckEnabled: true,
124
+ type: 'EDIT',
125
+ validations: {},
126
+ onSubmit: () => { },
127
+ });
128
+ const EmptyContext = createContext({
129
+ __typename: 'GraphQLAPI',
130
+ loadMore: () => null,
131
+ status: 'READY',
132
+ fetch: () => null,
133
+ values: {},
134
+ isLoading: false,
135
+ data: { pageInfo: { hasNextPage: false } },
136
+ });
137
+ return (_jsx(BKJComboBoxAsync, { searchValue: values2.byName, searchKey: "byName", onSearchChange: onChange2, type: "Single", value: undefined, options: [], name: "location", action: "OpenToggle", onChange: () => null, context: EmptyContext, icon: "Location1" }));
138
+ };
139
+ export const EmptyResults = EmptyTemplate.bind({});
140
+ EmptyResults.args = {};
93
141
  export default setup;
94
142
  //# sourceMappingURL=BKJComboBoxAsync.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJComboBoxAsync.stories.js","sourceRoot":"","sources":["../../../src/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.tsx"],"names":[],"mappings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AAE,YAAY;QACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI;QACpB,MAAM,EAAE,OAAgB;QACxB,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI;QACjB,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE;KAC3C,CAAiC,CAAC;IACnC,OAAO,CACL,KAAC,gBAAgB,IACf,WAAW,EAAE,OAAO,CAAC,MAAgB,EACrC,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAE,SAAS,EACzB,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,EAAE,EACX,IAAI,EAAC,UAAU,EACf,MAAM,EAAC,YAAY,EACnB,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,EACpB,OAAO,EAAE,YAAY,EACrB,IAAI,EAAC,WAAW,GAChB,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnD,YAAY,CAAC,IAAI,GAAG,EAAE,CAAC;AAEvB,eAAe,KAAK,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * BKJComboBoxAsync.test.tsx
3
+ *
4
+ * WEB-4815 — BKJComboBoxAsync Accessibility (WCAG 2.1 Level A)
5
+ *
6
+ * Asserts:
7
+ * - Accessibility (axe): clean closed / loading / loaded-with-results /
8
+ * empty states (FR-007; T019, T027, T042a).
9
+ * - Async busy state and loading announcement (FR-002, FR-003, FR-005,
10
+ * FR-006; I-A01, I-A02, I-A03; T014–T018).
11
+ * - Empty and results-count (FR-004; I-A04, I-A05; T023–T028).
12
+ * - Inherited combobox ARIA and keyboard (FR-001; I-01..I-12 from WEB-4811;
13
+ * T034–T042 + T040 stale-fetch/SC-004, T041 close-during-fetch).
14
+ * - Error state (I-11 inherited; T042).
15
+ * - No-regression smoke (SC-006; T045–T047).
16
+ *
17
+ * T003 / Phase 1 finding: WEB-4811 did NOT extract a shared combobox-ARIA
18
+ * helper. Its patterns are inlined per-component; WEB-4815 replicates the
19
+ * same patterns in BKJComboBoxAsync rather than importing a helper.
20
+ */
21
+ export {};
22
+ //# sourceMappingURL=BKJComboBoxAsync.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BKJComboBoxAsync.test.d.ts","sourceRoot":"","sources":["../../../src/components/BKJComboBoxAsync/BKJComboBoxAsync.test.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG"}