@bookjane2/bookjane-design-library 9.0.18 → 9.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/BKJCheckbox/BKJCheckbox.types.d.ts +1 -0
- package/lib/components/BKJCheckbox/BKJCheckbox.types.d.ts.map +1 -1
- package/lib/components/BKJChip/BKJChip.d.ts.map +1 -1
- package/lib/components/BKJChip/BKJChip.js +2 -2
- package/lib/components/BKJChip/BKJChip.js.map +1 -1
- package/lib/components/BKJChip/BKJChip.styled.d.ts +1 -0
- package/lib/components/BKJChip/BKJChip.styled.d.ts.map +1 -1
- package/lib/components/BKJChip/BKJChip.styled.js +18 -0
- package/lib/components/BKJChip/BKJChip.styled.js.map +1 -1
- package/lib/components/BKJChip/BKJChip.types.d.ts +3 -1
- package/lib/components/BKJChip/BKJChip.types.d.ts.map +1 -1
- package/lib/components/BKJComboBox/BKJComboBox.d.ts +1 -2
- package/lib/components/BKJComboBox/BKJComboBox.d.ts.map +1 -1
- package/lib/components/BKJComboBox/BKJComboBox.js +5 -5
- package/lib/components/BKJComboBox/BKJComboBox.js.map +1 -1
- package/lib/components/BKJComboBox/BKJComboBox.stories.d.ts +1 -1
- package/lib/components/BKJComboBox/BKJComboBox.types.d.ts +1 -0
- package/lib/components/BKJComboBox/BKJComboBox.types.d.ts.map +1 -1
- package/lib/components/BKJComboBox/src/BKJComboBox.context.d.ts.map +1 -1
- package/lib/components/BKJComboBox/src/BKJComboBox.context.js +2 -0
- package/lib/components/BKJComboBox/src/BKJComboBox.context.js.map +1 -1
- package/lib/components/BKJComboBox/src/BKJComboBoxInput.d.ts +4 -1
- package/lib/components/BKJComboBox/src/BKJComboBoxInput.d.ts.map +1 -1
- package/lib/components/BKJComboBox/src/BKJComboBoxInput.js +5 -3
- package/lib/components/BKJComboBox/src/BKJComboBoxInput.js.map +1 -1
- package/lib/components/BKJComboBox/src/BKJComboBoxOptions.d.ts.map +1 -1
- package/lib/components/BKJComboBox/src/BKJComboBoxOptions.js +2 -1
- package/lib/components/BKJComboBox/src/BKJComboBoxOptions.js.map +1 -1
- package/lib/components/BKJFileInput/BKJFileInput.d.ts.map +1 -1
- package/lib/components/BKJFileInput/BKJFileInput.js +19 -3
- package/lib/components/BKJFileInput/BKJFileInput.js.map +1 -1
- package/lib/components/BKJFileInput/BKJFileInput.stories.d.ts +5 -0
- package/lib/components/BKJFileInput/BKJFileInput.stories.d.ts.map +1 -1
- package/lib/components/BKJFileInput/BKJFileInput.stories.js +29 -1
- package/lib/components/BKJFileInput/BKJFileInput.stories.js.map +1 -1
- package/lib/components/BKJFileInput/BKJFileInput.styled.d.ts +1 -1
- package/lib/components/BKJFileInput/BKJFileInput.styled.d.ts.map +1 -1
- package/lib/components/BKJFileInput/BKJFileInput.styled.js +4 -1
- package/lib/components/BKJFileInput/BKJFileInput.styled.js.map +1 -1
- package/lib/components/BKJFileInput/BKJFileInput.test.d.ts +2 -0
- package/lib/components/BKJFileInput/BKJFileInput.test.d.ts.map +1 -0
- package/lib/components/BKJFileInput/BKJFileInput.test.js +141 -0
- package/lib/components/BKJFileInput/BKJFileInput.test.js.map +1 -0
- package/lib/components/BKJListItem/BKJListItem.js +1 -1
- package/lib/components/BKJListItem/BKJListItem.js.map +1 -1
- package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts +2 -4
- package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts.map +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.context.d.ts.map +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.context.js +17 -20
- package/lib/components/BKJPillSelect/BKJPillSelect.context.js.map +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.d.ts.map +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.js +8 -11
- package/lib/components/BKJPillSelect/BKJPillSelect.js.map +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.stories.d.ts +3 -0
- package/lib/components/BKJPillSelect/BKJPillSelect.stories.d.ts.map +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.stories.js +55 -16
- package/lib/components/BKJPillSelect/BKJPillSelect.stories.js.map +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.styled.d.ts +3 -5
- package/lib/components/BKJPillSelect/BKJPillSelect.styled.d.ts.map +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.styled.js +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.styled.js.map +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.test.d.ts +2 -0
- package/lib/components/BKJPillSelect/BKJPillSelect.test.d.ts.map +1 -0
- package/lib/components/BKJPillSelect/BKJPillSelect.test.js +237 -0
- package/lib/components/BKJPillSelect/BKJPillSelect.test.js.map +1 -0
- package/lib/components/BKJPillSelect/BKJPillSelect.types.d.ts +1 -1
- package/lib/components/BKJPillSelect/BKJPillSelect.types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9,12 +9,10 @@ export declare const RequiredAsterisk: import("styled-components/dist/types").IS
|
|
|
9
9
|
}, "disabled" | "key" | keyof import("react").LabelHTMLAttributes<HTMLLabelElement>> & {
|
|
10
10
|
ref?: import("react").Ref<HTMLLabelElement>;
|
|
11
11
|
}, never>> & string;
|
|
12
|
-
export declare const BKJPillSelectWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").
|
|
12
|
+
export declare const BKJPillSelectWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
13
|
export declare const TextAreaWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextAreaWrapperProps>> & string;
|
|
14
|
-
export declare const BKJPillSelectComboBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxProps<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxOption<string | number, string, string | number
|
|
15
|
-
children?: import("react").ReactNode;
|
|
16
|
-
}, {
|
|
14
|
+
export declare const BKJPillSelectComboBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Pick<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxProps<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxOption<string | number, string, string | number>>, "target" | "name" | "value" | "label" | "checked" | "filter" | "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "title" | "id" | "selected" | "disabled" | "variant" | "type" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "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" | "onIsOpenChange" | "allowedAutoPlacements" | "showFullFocusBorder" | "$dropdownHeight"> & import("react").RefAttributes<HTMLInputElement>, {
|
|
17
15
|
hasValue: boolean;
|
|
18
16
|
isFocused: boolean;
|
|
19
|
-
}>> & string & Omit<import("react").
|
|
17
|
+
}>> & string & Omit<import("react").ForwardRefExoticComponent<Pick<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxProps<import("../BKJComboBox/BKJComboBox.types.js").IBKJComboBoxOption<string | number, string, string | number>>, "target" | "name" | "value" | "label" | "checked" | "filter" | "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "title" | "id" | "selected" | "disabled" | "variant" | "type" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "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" | "onIsOpenChange" | "allowedAutoPlacements" | "showFullFocusBorder" | "$dropdownHeight"> & import("react").RefAttributes<HTMLInputElement>>, keyof import("react").Component<any, {}, any>>;
|
|
20
18
|
//# sourceMappingURL=BKJPillSelect.styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJPillSelect.styled.d.ts","sourceRoot":"","sources":["../../../src/components/BKJPillSelect/BKJPillSelect.styled.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAEpF,eAAO,MAAM,UAAU;eAA6B,OAAO;YAE1D,CAAC;AAEF,eAAO,MAAM,YAAY,sOAExB,CAAC;AAEF,eAAO,MAAM,YAAY,uSAUxB,CAAC;AAEF,eAAO,MAAM,gBAAgB;eApBuB,OAAO;;;mBAsB1D,CAAC;AAEF,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"BKJPillSelect.styled.d.ts","sourceRoot":"","sources":["../../../src/components/BKJPillSelect/BKJPillSelect.styled.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAEpF,eAAO,MAAM,UAAU;eAA6B,OAAO;YAE1D,CAAC;AAEF,eAAO,MAAM,YAAY,sOAExB,CAAC;AAEF,eAAO,MAAM,YAAY,uSAUxB,CAAC;AAEF,eAAO,MAAM,gBAAgB;eApBuB,OAAO;;;mBAsB1D,CAAC;AAEF,eAAO,MAAM,oBAAoB,6NAIhC,CAAC;AAEF,eAAO,MAAM,eAAe,yPAgD3B,CAAC;AAEF,eAAO,MAAM,qBAAqB;cAAmC,OAAO;eAAa,OAAO;40MAY/F,CAAC"}
|
|
@@ -21,7 +21,7 @@ export const InputMessage = styled.label `
|
|
|
21
21
|
export const RequiredAsterisk = styled(InputLabel) `
|
|
22
22
|
${InputRequiredAsteriskCSS}
|
|
23
23
|
`;
|
|
24
|
-
export const BKJPillSelectWrapper = styled.
|
|
24
|
+
export const BKJPillSelectWrapper = styled.div `
|
|
25
25
|
${InputWrapperCSS};
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJPillSelect.styled.js","sourceRoot":"","sources":["../../../src/components/BKJPillSelect/BKJPillSelect.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,eAAe,EACf,YAAY,GACb,MAAM,WAAW,CAAC;AAGnB,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAwB;IAC1D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2C;IAC/F,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CACjB,QAAQ;IACR,GAAG,CAAA;;;;;;KAMF;;IAED,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAA,EAAE,CAAC,CAAC,CAAC,GAAG,CAAA,EAAE,CAAC;CACjD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BKJPillSelect.test.d.ts","sourceRoot":"","sources":["../../../src/components/BKJPillSelect/BKJPillSelect.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
class ResizeObserverMock {
|
|
3
|
+
observe() { }
|
|
4
|
+
unobserve() { }
|
|
5
|
+
disconnect() { }
|
|
6
|
+
}
|
|
7
|
+
globalThis.ResizeObserver =
|
|
8
|
+
ResizeObserverMock;
|
|
9
|
+
import { act, render, screen, waitFor } from '@testing-library/react';
|
|
10
|
+
import userEvent from '@testing-library/user-event';
|
|
11
|
+
import { computeAccessibleName } from 'dom-accessibility-api';
|
|
12
|
+
import { useState } from 'react';
|
|
13
|
+
import { renderAndCheckA11y } from '../../test-utils/index.js';
|
|
14
|
+
import { BKJChip } from '../BKJChip/index.js';
|
|
15
|
+
import { BKJComboBox } from '../BKJComboBox/index.js';
|
|
16
|
+
import { BKJThemeProvider } from '../../providers/BKJThemeProvider/index.js';
|
|
17
|
+
import { BKJPillSelect } from './BKJPillSelect.js';
|
|
18
|
+
const SAMPLE_OPTIONS = Array.from({ length: 12 }, (_, i) => ({
|
|
19
|
+
id: String(i + 1),
|
|
20
|
+
value: String(i + 1),
|
|
21
|
+
label: `Item Number #${i + 1}`,
|
|
22
|
+
}));
|
|
23
|
+
afterEach(() => {
|
|
24
|
+
document.querySelectorAll('#dropdown-root').forEach((el) => el.remove());
|
|
25
|
+
document.getElementById('a11y-status-message')?.remove();
|
|
26
|
+
});
|
|
27
|
+
function ControlledHarness({ initialValue = [], options = SAMPLE_OPTIONS, validations = [], ...rest }) {
|
|
28
|
+
const [value, setValue] = useState(initialValue);
|
|
29
|
+
return (_jsx(BKJPillSelect, { label: "Industries", required: true, max: 10, ...rest, name: "industries", options: options, value: value, onChange: (e) => setValue(e.target.value), validations: validations }));
|
|
30
|
+
}
|
|
31
|
+
function renderHarness(overrides = {}) {
|
|
32
|
+
return render(_jsx(BKJThemeProvider, { children: _jsx(ControlledHarness, { ...overrides }) }));
|
|
33
|
+
}
|
|
34
|
+
async function renderHarnessWithA11y(overrides = {}) {
|
|
35
|
+
return renderAndCheckA11y(_jsx(BKJThemeProvider, { children: _jsx(ControlledHarness, { ...overrides }) }));
|
|
36
|
+
}
|
|
37
|
+
describe('BKJPillSelect', () => {
|
|
38
|
+
describe('Accessibility (axe)', () => {
|
|
39
|
+
it('has no axe violations in default empty state', async () => {
|
|
40
|
+
const { axeResults } = await renderHarnessWithA11y();
|
|
41
|
+
expect(axeResults).toHaveNoViolations();
|
|
42
|
+
});
|
|
43
|
+
it('has no axe violations with chips and dropdown closed', async () => {
|
|
44
|
+
const { axeResults } = await renderHarnessWithA11y({
|
|
45
|
+
initialValue: ['1', '5'],
|
|
46
|
+
});
|
|
47
|
+
expect(axeResults).toHaveNoViolations();
|
|
48
|
+
});
|
|
49
|
+
it('has no axe violations in error state', async () => {
|
|
50
|
+
const { axeResults } = await renderHarnessWithA11y({
|
|
51
|
+
error: 'At least 1 option is required',
|
|
52
|
+
});
|
|
53
|
+
expect(axeResults).toHaveNoViolations();
|
|
54
|
+
});
|
|
55
|
+
it('has no axe violations in max-reached state', async () => {
|
|
56
|
+
const { axeResults } = await renderHarnessWithA11y({
|
|
57
|
+
initialValue: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'],
|
|
58
|
+
max: 10,
|
|
59
|
+
});
|
|
60
|
+
expect(axeResults).toHaveNoViolations();
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
describe('Multi-select state', () => {
|
|
64
|
+
it('listbox carries aria-multiselectable="true" when dropdown is open', async () => {
|
|
65
|
+
const user = userEvent.setup();
|
|
66
|
+
renderHarness();
|
|
67
|
+
const input = screen.getByRole('combobox');
|
|
68
|
+
await act(async () => {
|
|
69
|
+
await user.click(input);
|
|
70
|
+
});
|
|
71
|
+
const listbox = document.querySelector('[role="listbox"]');
|
|
72
|
+
expect(listbox).not.toBeNull();
|
|
73
|
+
expect(listbox).toHaveAttribute('aria-multiselectable', 'true');
|
|
74
|
+
});
|
|
75
|
+
it('multi-select dropdown does NOT auto-highlight a default option on open', async () => {
|
|
76
|
+
const user = userEvent.setup();
|
|
77
|
+
renderHarness();
|
|
78
|
+
const input = screen.getByRole('combobox');
|
|
79
|
+
await act(async () => {
|
|
80
|
+
await user.click(input);
|
|
81
|
+
});
|
|
82
|
+
const activeDescendant = input.getAttribute('aria-activedescendant');
|
|
83
|
+
expect(activeDescendant === null || activeDescendant === '').toBe(true);
|
|
84
|
+
});
|
|
85
|
+
it('option aria-selected reflects chips array', () => {
|
|
86
|
+
renderHarness({ initialValue: ['5'] });
|
|
87
|
+
expect(screen.getByRole('button', { name: 'Remove Item Number #5' })).toBeInTheDocument();
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
describe('Keyboard chip removal', () => {
|
|
91
|
+
it('each chip remove button is a focusable tab stop with accessible name', () => {
|
|
92
|
+
renderHarness({ initialValue: ['1', '5', '10'] });
|
|
93
|
+
const removeButtons = screen.getAllByRole('button', { name: /^Remove Item Number #/ });
|
|
94
|
+
expect(removeButtons).toHaveLength(3);
|
|
95
|
+
expect(computeAccessibleName(removeButtons[0])).toBe('Remove Item Number #1');
|
|
96
|
+
expect(computeAccessibleName(removeButtons[1])).toBe('Remove Item Number #5');
|
|
97
|
+
expect(computeAccessibleName(removeButtons[2])).toBe('Remove Item Number #10');
|
|
98
|
+
expect(removeButtons[0].tagName).toBe('BUTTON');
|
|
99
|
+
expect(removeButtons[0]).toHaveAttribute('type', 'button');
|
|
100
|
+
});
|
|
101
|
+
it('Enter activates chip removal', async () => {
|
|
102
|
+
const user = userEvent.setup();
|
|
103
|
+
renderHarness({ initialValue: ['1', '5', '10'] });
|
|
104
|
+
const removeButton = screen.getByRole('button', { name: 'Remove Item Number #5' });
|
|
105
|
+
removeButton.focus();
|
|
106
|
+
await act(async () => {
|
|
107
|
+
await user.keyboard('{Enter}');
|
|
108
|
+
});
|
|
109
|
+
expect(screen.queryByRole('button', { name: 'Remove Item Number #5' })).not.toBeInTheDocument();
|
|
110
|
+
});
|
|
111
|
+
it('Space activates chip removal', async () => {
|
|
112
|
+
const user = userEvent.setup();
|
|
113
|
+
renderHarness({ initialValue: ['1', '5', '10'] });
|
|
114
|
+
const removeButton = screen.getByRole('button', { name: 'Remove Item Number #5' });
|
|
115
|
+
removeButton.focus();
|
|
116
|
+
await act(async () => {
|
|
117
|
+
await user.keyboard(' ');
|
|
118
|
+
});
|
|
119
|
+
expect(screen.queryByRole('button', { name: 'Remove Item Number #5' })).not.toBeInTheDocument();
|
|
120
|
+
});
|
|
121
|
+
it('focus moves to combobox input after removing a middle chip', async () => {
|
|
122
|
+
const user = userEvent.setup();
|
|
123
|
+
renderHarness({ initialValue: ['1', '5', '10'] });
|
|
124
|
+
const removeFive = screen.getByRole('button', { name: 'Remove Item Number #5' });
|
|
125
|
+
removeFive.focus();
|
|
126
|
+
await act(async () => {
|
|
127
|
+
await user.keyboard('{Enter}');
|
|
128
|
+
});
|
|
129
|
+
expect(document.activeElement).toBe(screen.getByRole('combobox'));
|
|
130
|
+
});
|
|
131
|
+
it('focus moves to combobox input after removing the last chip in the row', async () => {
|
|
132
|
+
const user = userEvent.setup();
|
|
133
|
+
renderHarness({ initialValue: ['1', '5', '10'] });
|
|
134
|
+
const removeTen = screen.getByRole('button', { name: 'Remove Item Number #10' });
|
|
135
|
+
removeTen.focus();
|
|
136
|
+
await act(async () => {
|
|
137
|
+
await user.keyboard('{Enter}');
|
|
138
|
+
});
|
|
139
|
+
expect(document.activeElement).toBe(screen.getByRole('combobox'));
|
|
140
|
+
});
|
|
141
|
+
it('focus moves to combobox input when no chips remain', async () => {
|
|
142
|
+
const user = userEvent.setup();
|
|
143
|
+
renderHarness({ initialValue: ['5'] });
|
|
144
|
+
const removeFive = screen.getByRole('button', { name: 'Remove Item Number #5' });
|
|
145
|
+
removeFive.focus();
|
|
146
|
+
await act(async () => {
|
|
147
|
+
await user.keyboard('{Enter}');
|
|
148
|
+
});
|
|
149
|
+
await waitFor(() => {
|
|
150
|
+
expect(document.activeElement).toBe(screen.getByRole('combobox'));
|
|
151
|
+
}, { timeout: 200 });
|
|
152
|
+
});
|
|
153
|
+
it('disabled BKJPillSelect excludes chip remove buttons from tab order', () => {
|
|
154
|
+
renderHarness({ initialValue: ['1', '5'], disabled: true });
|
|
155
|
+
const removeButtons = screen.getAllByRole('button', { name: /^Remove Item Number #/ });
|
|
156
|
+
removeButtons.forEach((btn) => {
|
|
157
|
+
expect(btn).toBeDisabled();
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
describe('Combobox ARIA and label association', () => {
|
|
162
|
+
it('combobox input carries inherited combobox ARIA attributes', () => {
|
|
163
|
+
renderHarness();
|
|
164
|
+
const input = screen.getByRole('combobox');
|
|
165
|
+
expect(input).toHaveAttribute('aria-haspopup', 'listbox');
|
|
166
|
+
expect(input).toHaveAttribute('aria-controls', expect.stringMatching(/.+/));
|
|
167
|
+
expect(input).toHaveAttribute('aria-expanded', 'false');
|
|
168
|
+
expect(input).toHaveAttribute('aria-autocomplete', 'list');
|
|
169
|
+
});
|
|
170
|
+
it('input accessible name is exactly the label text — empty state', () => {
|
|
171
|
+
renderHarness({ label: 'Industries', required: true });
|
|
172
|
+
const input = screen.getByRole('combobox');
|
|
173
|
+
expect(computeAccessibleName(input).trim()).toBe('Industries *');
|
|
174
|
+
});
|
|
175
|
+
it('accessible name does NOT include chip-area or count text', () => {
|
|
176
|
+
renderHarness({ initialValue: ['1', '5'], label: 'Industries' });
|
|
177
|
+
const wrapper = document.querySelector('div[class*="BKJPillSelect"]');
|
|
178
|
+
if (wrapper)
|
|
179
|
+
expect(wrapper).not.toHaveAttribute('aria-label');
|
|
180
|
+
});
|
|
181
|
+
it('InputLabel has stable id matching input aria-labelledby', () => {
|
|
182
|
+
renderHarness({ label: 'Industries' });
|
|
183
|
+
const input = screen.getByRole('combobox');
|
|
184
|
+
const ariaLabelledBy = input.getAttribute('aria-labelledby');
|
|
185
|
+
expect(ariaLabelledBy).toMatch(/^BKJPillSelect_.*_Label$/);
|
|
186
|
+
const labelEl = document.getElementById(ariaLabelledBy);
|
|
187
|
+
expect(labelEl).not.toBeNull();
|
|
188
|
+
expect(labelEl?.textContent).toContain('Industries');
|
|
189
|
+
});
|
|
190
|
+
it('BKJPillSelectWrapper is a <div>; aria-labelledby on input is the accessible-name source', () => {
|
|
191
|
+
const { container } = renderHarness();
|
|
192
|
+
const wrapper = container.firstChild;
|
|
193
|
+
expect(wrapper.tagName).toBe('DIV');
|
|
194
|
+
const input = screen.getByRole('combobox');
|
|
195
|
+
const ariaLabelledBy = input.getAttribute('aria-labelledby');
|
|
196
|
+
expect(ariaLabelledBy).toMatch(/^BKJPillSelect_.*_Label$/);
|
|
197
|
+
expect(computeAccessibleName(input).trim()).toBe('Industries *');
|
|
198
|
+
});
|
|
199
|
+
it('error message is rendered in the accessible tree (single, not duplicated)', () => {
|
|
200
|
+
const { container } = renderHarness({ error: 'At least 1 option is required' });
|
|
201
|
+
const matches = Array.from(container.querySelectorAll('*')).filter((el) => el.textContent === 'At least 1 option is required' && el.children.length === 0);
|
|
202
|
+
expect(matches).toHaveLength(1);
|
|
203
|
+
});
|
|
204
|
+
});
|
|
205
|
+
describe('Non-regression', () => {
|
|
206
|
+
it('BKJChip without closeAriaLabel renders the legacy <div onMouseDown> tree', () => {
|
|
207
|
+
const { container } = render(_jsx(BKJThemeProvider, { children: _jsx(BKJChip, { variant: "Purple", onClose: () => undefined, children: "label" }) }));
|
|
208
|
+
expect(container.querySelector('button')).toBeNull();
|
|
209
|
+
});
|
|
210
|
+
it('BKJChip with closeAriaLabel renders a <button> with the aria-label', () => {
|
|
211
|
+
const { container } = render(_jsx(BKJThemeProvider, { children: _jsx(BKJChip, { variant: "Purple", onClose: () => undefined, closeAriaLabel: "Remove label", children: "label" }) }));
|
|
212
|
+
const btn = container.querySelector('button[type="button"]');
|
|
213
|
+
expect(btn).not.toBeNull();
|
|
214
|
+
expect(btn).toHaveAttribute('aria-label', 'Remove label');
|
|
215
|
+
expect(computeAccessibleName(btn)).toBe('Remove label');
|
|
216
|
+
});
|
|
217
|
+
it('BKJComboBox without aria-labelledby prop does not emit BKJPillSelect-pattern id', () => {
|
|
218
|
+
render(_jsx(BKJThemeProvider, { children: _jsx(BKJComboBox, { label: "Test", name: "x", type: "Single", action: "OpenToggle", value: [], options: SAMPLE_OPTIONS, onChange: () => undefined }) }));
|
|
219
|
+
const input = screen.getByRole('combobox');
|
|
220
|
+
const ariaLabelledBy = input.getAttribute('aria-labelledby') ?? '';
|
|
221
|
+
expect(ariaLabelledBy).not.toMatch(/BKJPillSelect_.*_Label/);
|
|
222
|
+
});
|
|
223
|
+
it('BKJComboBox single-select listbox does not carry aria-multiselectable', async () => {
|
|
224
|
+
const user = userEvent.setup();
|
|
225
|
+
render(_jsx(BKJThemeProvider, { children: _jsx(BKJComboBox, { label: "Test", name: "x", type: "Single", action: "OpenToggle", value: [], options: SAMPLE_OPTIONS, onChange: () => undefined }) }));
|
|
226
|
+
const input = screen.getByRole('combobox');
|
|
227
|
+
await act(async () => {
|
|
228
|
+
await user.click(input);
|
|
229
|
+
});
|
|
230
|
+
const listbox = document.querySelector('[role="listbox"]');
|
|
231
|
+
if (listbox) {
|
|
232
|
+
expect(listbox.hasAttribute('aria-multiselectable')).toBe(false);
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
});
|
|
237
|
+
//# sourceMappingURL=BKJPillSelect.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BKJPillSelect.test.js","sourceRoot":"","sources":["../../../src/components/BKJPillSelect/BKJPillSelect.test.tsx"],"names":[],"mappings":";AAAA,MAAM,kBAAkB;IACtB,OAAO,KAAU,CAAC;IAClB,SAAS,KAAU,CAAC;IACpB,UAAU,KAAU,CAAC;CACtB;AACA,UAAuE,CAAC,cAAc;IACrF,kBAAkB,CAAC;AAErB,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,MAAM,cAAc,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC3D,EAAE,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;IACpB,KAAK,EAAE,gBAAgB,CAAC,GAAG,CAAC,EAAE;CAC/B,CAAC,CAAC,CAAC;AAEJ,SAAS,CAAC,GAAG,EAAE;IACb,QAAQ,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAA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CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,uEAAuE,EAAE,KAAK,IAAI,EAAE;YACrF,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,EAAE,CAAC;YAC/B,MAAM,CACJ,KAAC,gBAAgB,cACf,KAAC,WAAW,IACV,KAAK,EAAC,MAAM,EACZ,IAAI,EAAC,GAAG,EACR,IAAI,EAAC,QAAQ,EACb,MAAM,EAAC,YAAY,EACnB,KAAK,EAAE,EAAE,EACT,OAAO,EAAE,cAAqB,EAC9B,QAAQ,EAAE,GAAG,EAAE,CAAC,SAAS,GACzB,GACe,CACpB,CAAC;YACF,MAAM,KAAK,GAAG,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;YAC3C,MAAM,GAAG,CAAC,KAAK,IAAI,EAAE;gBACnB,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAC1B,CAAC,CAAC,CAAC;YACH,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAuB,CAAC;YACjF,IAAI,OAAO,EAAE,CAAC;gBACZ,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnE,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -19,7 +19,7 @@ export interface IBKJPillSelectContext extends InputHTMLAttributes<HTMLInputElem
|
|
|
19
19
|
onInputBlur: FocusEventHandler<HTMLInputElement>;
|
|
20
20
|
isFocused: boolean;
|
|
21
21
|
onIsOpenChange: (args: {}) => void;
|
|
22
|
-
onChipRemove: (label: string) => MouseEventHandler<HTMLDivElement>;
|
|
22
|
+
onChipRemove: (label: string) => MouseEventHandler<HTMLDivElement | HTMLButtonElement>;
|
|
23
23
|
uuid: string;
|
|
24
24
|
isMaxLimitReached: boolean;
|
|
25
25
|
options?: IBKJComboBoxProps['options'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJPillSelect.types.d.ts","sourceRoot":"","sources":["../../../src/components/BKJPillSelect/BKJPillSelect.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,cAAc,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAEzF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,CAAC,eAAe,CAAC,CAAC;IAC1D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IACpD,QAAQ,CAAC,GAAG,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CACrC;
|
|
1
|
+
{"version":3,"file":"BKJPillSelect.types.d.ts","sourceRoot":"","sources":["../../../src/components/BKJPillSelect/BKJPillSelect.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,cAAc,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAEzF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,CAAC,eAAe,CAAC,CAAC;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