@bookjane2/bookjane-design-library 9.0.30 → 9.0.31
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/BKJAvatar/BKJAvatar.styled.d.ts +1 -1
- package/lib/components/BKJBadge/BKJBadge.d.ts.map +1 -1
- package/lib/components/BKJBadge/BKJBadge.js +1 -4
- package/lib/components/BKJBadge/BKJBadge.js.map +1 -1
- package/lib/components/BKJBadge/BKJBadge.stories.d.ts +0 -1
- package/lib/components/BKJBadge/BKJBadge.stories.d.ts.map +1 -1
- package/lib/components/BKJBadge/BKJBadge.stories.js +0 -8
- package/lib/components/BKJBadge/BKJBadge.stories.js.map +1 -1
- package/lib/components/BKJBadge/BKJBadge.test.js +11 -59
- package/lib/components/BKJBadge/BKJBadge.test.js.map +1 -1
- package/lib/components/BKJBadge/BKJBadge.types.d.ts +2 -9
- package/lib/components/BKJBadge/BKJBadge.types.d.ts.map +1 -1
- package/lib/components/BKJButtonIconTextInput/BKJButtonIconTextInput.styled.d.ts +2 -2
- package/lib/components/BKJComboBox/BKJComboBox.d.ts +1 -1
- package/lib/components/BKJComboBox/BKJComboBox.stories.d.ts +1 -1
- package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.d.ts +1 -1
- package/lib/components/BKJComboBoxAsync/BKJComboBoxAsync.stories.d.ts +1 -1
- package/lib/components/BKJDialog/BKJDialog.styled.d.ts +1 -1
- package/lib/components/BKJDialogChildren/BKJDialogChildren.styled.d.ts +1 -1
- package/lib/components/BKJFileInput/BKJFileInput.styled.d.ts +2 -2
- package/lib/components/BKJIcon/src/general/Eye.d.ts +1 -1
- package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.d.ts +1 -1
- package/lib/components/BKJPhoneNumberInput/BKJPhoneNumberInput.stories.d.ts +1 -1
- package/lib/components/BKJPillDropdown/BKJPillDropdown.styled.d.ts +2 -2
- package/lib/components/BKJPillSelect/BKJPillSelect.styled.d.ts +2 -2
- package/lib/components/BKJSelect/BKJSelect.styled.d.ts +1 -1
- package/lib/components/BKJTextInput/BKJTextInput.d.ts +1 -1
- package/lib/components/BKJTextInput/BKJTextInput.stories.d.ts +1 -1
- package/lib/components/BKJToggleInput/BKJToggleInput.styled.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ export declare const Avatar: import("styled-components/dist/types").IStyledCompo
|
|
|
3
3
|
}>> & string;
|
|
4
4
|
export declare const PendingSignUpIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Pick<import("../BKJIcon/BKJIcon.types.js").IBKJIconProps & {
|
|
5
5
|
children?: import("react").ReactNode;
|
|
6
|
-
}, "string" | "target" | "name" | "filter" | "fill" | "values" | "style" | "id" | "type" | "end" | "alphabetic" | "ideographic" | "mathematical" | "accumulate" | "local" | "color" | "hanging" | "unicode" | "clip" | "stroke" | "x" | "y" | "children" | "
|
|
6
|
+
}, "string" | "target" | "name" | "filter" | "fill" | "values" | "style" | "id" | "type" | "end" | "alphabetic" | "ideographic" | "mathematical" | "accumulate" | "local" | "color" | "hanging" | "unicode" | "clip" | "stroke" | "x" | "y" | "children" | "className" | "lang" | "tabIndex" | "role" | "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" | "width" | "css" | "crossOrigin" | "height" | "href" | "max" | "media" | "method" | "min" | "key" | "clipPath" | "mask" | "path" | "offset" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "cursor" | "cx" | "cy" | "d" | "direction" | "display" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "opacity" | "order" | "overflow" | "paintOrder" | "pointerEvents" | "r" | "rotate" | "rx" | "ry" | "scale" | "shapeRendering" | "stopColor" | "stopOpacity" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "textDecoration" | "textRendering" | "transform" | "unicodeBidi" | "vectorEffect" | "visibility" | "wordSpacing" | "writingMode" | "iconName" | "spacing" | "secondaryColor" | "accentHeight" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
7
7
|
ref?: import("react").Ref<SVGSVGElement>;
|
|
8
8
|
}, {
|
|
9
9
|
width: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJBadge.d.ts","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"BKJBadge.d.ts","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAI7C,CAAC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { BadgeWrapper } from './BKJBadge.styled.js';
|
|
3
|
-
export const BKJBadge = ({ variant, children,
|
|
4
|
-
const computedRole = role ?? (children == null ? 'img' : undefined);
|
|
5
|
-
return (_jsx(BadgeWrapper, { variant: variant, "aria-label": ariaLabel, role: computedRole, ...rest, children: children }));
|
|
6
|
-
};
|
|
3
|
+
export const BKJBadge = ({ variant, children, ...rest }) => (_jsx(BadgeWrapper, { variant: variant, ...rest, children: children }));
|
|
7
4
|
//# sourceMappingURL=BKJBadge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJBadge.js","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,MAAM,CAAC,MAAM,QAAQ,GAA6B,CAAC,
|
|
1
|
+
{"version":3,"file":"BKJBadge.js","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,MAAM,CAAC,MAAM,QAAQ,GAA6B,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACpF,KAAC,YAAY,IAAC,OAAO,EAAE,OAAO,KAAM,IAAI,YACrC,QAAQ,GACI,CAChB,CAAC"}
|
|
@@ -19,6 +19,5 @@ declare const _default: {
|
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
21
21
|
export declare const Default: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IBKJBadgeProps>;
|
|
22
|
-
export declare const WithAriaLabel: StoryFn;
|
|
23
22
|
export declare const AllVariants: StoryFn;
|
|
24
23
|
//# sourceMappingURL=BKJBadge.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJBadge.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,OAAO,EAA4B,cAAc,EAAE,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;AAE5E,wBA4CE;AAQF,eAAO,MAAM,OAAO,0GAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BKJBadge.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,OAAO,EAA4B,cAAc,EAAE,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;AAE5E,wBA4CE;AAQF,eAAO,MAAM,OAAO,0GAAoB,CAAC;AAmCzC,eAAO,MAAM,WAAW,EAAE,OAYzB,CAAC"}
|
|
@@ -49,14 +49,6 @@ export default {
|
|
|
49
49
|
const Template = ({ children, ...rest }) => (_jsx(BKJThemeProvider, { children: _jsx(BKJBadge, { ...rest, children: children }) }));
|
|
50
50
|
export const Default = Template.bind({});
|
|
51
51
|
Default.args = { children: 'Accepted', variant: 'GreenPill' };
|
|
52
|
-
export const WithAriaLabel = () => (_jsx(BKJThemeProvider, { children: _jsx(BKJBadge, { variant: "RedPill", "aria-label": "3 errors" }) }));
|
|
53
|
-
WithAriaLabel.parameters = {
|
|
54
|
-
docs: {
|
|
55
|
-
description: {
|
|
56
|
-
story: 'Badge with no children + aria-label. The component auto-applies `role="img"` so the aria-label reaches assistive technology consistently across screen readers. Per WEB-4843 Clarification 2026-05-06 Q2.',
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
52
|
const ALL_VARIANTS = [
|
|
61
53
|
'Orange',
|
|
62
54
|
'OrangePill',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJBadge.stories.js","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGpE,eAAe;IACb,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,QAAQ;IACnB,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;aACf;YACD,MAAM,EAAE;gBACN,QAAQ;gBACR,YAAY;gBACZ,OAAO;gBACP,WAAW;gBACX,KAAK;gBACL,SAAS;gBACT,MAAM;gBACN,UAAU;gBACV,WAAW;gBACX,eAAe;gBACf,SAAS;gBACT,aAAa;gBACb,UAAU;gBACV,cAAc;gBACd,aAAa;gBACb,cAAc;gBACd,cAAc;gBACd,eAAe;gBACf,eAAe;gBACf,gBAAgB;gBAChB,UAAU;gBACV,aAAa;gBACb,cAAc;gBACd,eAAe;gBACf,iBAAiB;gBACjB,aAAa;gBACb,YAAY;aACb;SACF;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,QAAQ,GAA4B,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnE,KAAC,gBAAgB,cACf,KAAC,QAAQ,OAAK,IAAI,YAAG,QAAQ,GAAY,GACxB,CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAEzC,OAAO,CAAC,IAAI,GAAG,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;AAE9D,MAAM,
|
|
1
|
+
{"version":3,"file":"BKJBadge.stories.js","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGpE,eAAe;IACb,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,QAAQ;IACnB,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;aACf;YACD,MAAM,EAAE;gBACN,QAAQ;gBACR,YAAY;gBACZ,OAAO;gBACP,WAAW;gBACX,KAAK;gBACL,SAAS;gBACT,MAAM;gBACN,UAAU;gBACV,WAAW;gBACX,eAAe;gBACf,SAAS;gBACT,aAAa;gBACb,UAAU;gBACV,cAAc;gBACd,aAAa;gBACb,cAAc;gBACd,cAAc;gBACd,eAAe;gBACf,eAAe;gBACf,gBAAgB;gBAChB,UAAU;gBACV,aAAa;gBACb,cAAc;gBACd,eAAe;gBACf,iBAAiB;gBACjB,aAAa;gBACb,YAAY;aACb;SACF;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,QAAQ,GAA4B,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnE,KAAC,gBAAgB,cACf,KAAC,QAAQ,OAAK,IAAI,YAAG,QAAQ,GAAY,GACxB,CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAEzC,OAAO,CAAC,IAAI,GAAG,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;AAE9D,MAAM,YAAY,GAA+B;IAC/C,QAAQ;IACR,YAAY;IACZ,OAAO;IACP,WAAW;IACX,KAAK;IACL,SAAS;IACT,MAAM;IACN,UAAU;IACV,WAAW;IACX,eAAe;IACf,SAAS;IACT,aAAa;IACb,UAAU;IACV,cAAc;IACd,aAAa;IACb,cAAc;IACd,cAAc;IACd,eAAe;IACf,eAAe;IACf,gBAAgB;IAChB,UAAU;IACV,aAAa;IACb,cAAc;IACd,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,YAAY;IACZ,kBAAkB;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAY,GAAG,EAAE,CAAC,CACxC,KAAC,gBAAgB,cACf,cACE,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAExF,YAAY,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAC7B,KAAC,QAAQ,IAAe,OAAO,EAAE,OAAO,YACrC,OAAO,IADK,OAAO,CAEX,CACZ,CAAC,GACE,GACW,CACpB,CAAC;AAEF,WAAW,CAAC,UAAU,GAAG;IACvB,IAAI,EAAE;QACJ,WAAW,EAAE;YACX,KAAK,EACH,oLAAoL;SACvL;KACF;CACF,CAAC"}
|
|
@@ -1,93 +1,45 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { screen } from '@testing-library/react';
|
|
3
2
|
import { renderAndCheckA11y, renderWithTheme } from '../../test-utils/index.js';
|
|
4
3
|
import { BKJBadge } from './BKJBadge.js';
|
|
5
|
-
describe('BKJBadge type contract (compile-time
|
|
6
|
-
it('rejects no-children
|
|
7
|
-
// @ts-expect-error — BKJBadge
|
|
8
|
-
//
|
|
9
|
-
// and the strict-mode safety check is gone.
|
|
4
|
+
describe('BKJBadge type contract (compile-time)', () => {
|
|
5
|
+
it('rejects no-children at compile time', () => {
|
|
6
|
+
// @ts-expect-error — BKJBadge requires children. If this directive ever becomes
|
|
7
|
+
// "unused", IBKJBadgeProps has been loosened and children is no longer required.
|
|
10
8
|
const _bad = _jsx(BKJBadge, { variant: "GreenPill" });
|
|
11
9
|
void _bad;
|
|
12
10
|
});
|
|
13
11
|
});
|
|
14
|
-
describe('BKJBadge children
|
|
12
|
+
describe('BKJBadge children render', () => {
|
|
15
13
|
it('renders children text as a real text node and no role attribute', () => {
|
|
16
14
|
const { container } = renderWithTheme(_jsx(BKJBadge, { variant: "GreenPill", children: "Accepted" }));
|
|
17
15
|
const wrapper = container.firstChild;
|
|
18
16
|
expect(wrapper).not.toBeNull();
|
|
19
17
|
expect(wrapper.tagName).toBe('DIV');
|
|
20
18
|
expect(wrapper).not.toHaveAttribute('role');
|
|
21
|
-
expect(wrapper).not.toHaveAttribute('aria-label');
|
|
22
19
|
expect(wrapper.textContent).toBe('Accepted');
|
|
23
20
|
expect(wrapper.firstChild?.nodeType).toBe(Node.TEXT_NODE);
|
|
24
21
|
});
|
|
25
|
-
it('children
|
|
22
|
+
it('children render is axe-clean', async () => {
|
|
26
23
|
const { axeResults } = await renderAndCheckA11y(_jsx(BKJBadge, { variant: "GreenPill", children: "Accepted" }));
|
|
27
24
|
expect(axeResults).toHaveNoViolations();
|
|
28
25
|
});
|
|
29
|
-
|
|
30
|
-
describe('BKJBadge no-children + aria-label render (FR-002 / FR-004 / FR-005 / FR-008 (b)–(c) / FR-009 (b)–(d))', () => {
|
|
31
|
-
it('aria-label-only render produces role="img" and matching aria-label', () => {
|
|
32
|
-
const { container } = renderWithTheme(_jsx(BKJBadge, { variant: "RedPill", "aria-label": "3 errors" }));
|
|
33
|
-
const wrapper = container.firstChild;
|
|
34
|
-
expect(wrapper).toHaveAttribute('role', 'img');
|
|
35
|
-
expect(wrapper).toHaveAttribute('aria-label', '3 errors');
|
|
36
|
-
expect(wrapper.textContent).toBe('');
|
|
37
|
-
});
|
|
38
|
-
it('aria-label-only render is reachable via getByRole("img", { name: ... })', () => {
|
|
39
|
-
renderWithTheme(_jsx(BKJBadge, { variant: "RedPill", "aria-label": "3 errors" }));
|
|
40
|
-
expect(screen.getByRole('img', { name: '3 errors' })).toBeInTheDocument();
|
|
41
|
-
});
|
|
42
|
-
it('aria-label-only render is axe-clean', async () => {
|
|
43
|
-
const { axeResults } = await renderAndCheckA11y(_jsx(BKJBadge, { variant: "RedPill", "aria-label": "3 errors" }));
|
|
44
|
-
expect(axeResults).toHaveNoViolations();
|
|
45
|
-
});
|
|
46
|
-
it('empty aria-label still applies role="img" (Clarification 2026-05-06 Q3)', () => {
|
|
47
|
-
const { container } = renderWithTheme(_jsx(BKJBadge, { variant: "RedPill", "aria-label": "" }));
|
|
48
|
-
const wrapper = container.firstChild;
|
|
49
|
-
expect(wrapper).toHaveAttribute('role', 'img');
|
|
50
|
-
expect(wrapper).toHaveAttribute('aria-label', '');
|
|
51
|
-
});
|
|
52
|
-
it('both children and aria-label: aria-label flows through, no role attribute (FR-003)', () => {
|
|
26
|
+
it('consumer-supplied aria-label flows through to the wrapper', () => {
|
|
53
27
|
const { container } = renderWithTheme(_jsx(BKJBadge, { variant: "GreenPill", "aria-label": "Status", children: "Accepted" }));
|
|
54
28
|
const wrapper = container.firstChild;
|
|
55
29
|
expect(wrapper).toHaveAttribute('aria-label', 'Status');
|
|
56
|
-
expect(wrapper).not.toHaveAttribute('role');
|
|
57
30
|
expect(wrapper.textContent).toBe('Accepted');
|
|
58
31
|
});
|
|
59
|
-
it('both-present render is axe-clean', async () => {
|
|
60
|
-
const { axeResults } = await renderAndCheckA11y(_jsx(BKJBadge, { variant: "GreenPill", "aria-label": "Status", children: "Accepted" }));
|
|
61
|
-
expect(axeResults).toHaveNoViolations();
|
|
62
|
-
});
|
|
63
|
-
it('consumer-supplied role overrides auto-applied role="img" (FR-005)', () => {
|
|
64
|
-
const { container } = renderWithTheme(_jsx(BKJBadge, { variant: "RedPill", "aria-label": "3 errors", role: "status" }));
|
|
65
|
-
const wrapper = container.firstChild;
|
|
66
|
-
expect(wrapper).toHaveAttribute('role', 'status');
|
|
67
|
-
expect(wrapper.getAttribute('role')).not.toBe('img');
|
|
68
|
-
expect(wrapper).toHaveAttribute('aria-label', '3 errors');
|
|
69
|
-
});
|
|
70
32
|
});
|
|
71
|
-
describe('BKJBadge variant sweep
|
|
33
|
+
describe('BKJBadge variant sweep', () => {
|
|
72
34
|
const VARIANTS_TO_SWEEP = [
|
|
73
35
|
'Orange',
|
|
74
36
|
'GreenPill',
|
|
75
37
|
'AcceptedPill',
|
|
76
38
|
];
|
|
77
39
|
VARIANTS_TO_SWEEP.forEach((variant) => {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
expect(axeResults).toHaveNoViolations();
|
|
82
|
-
});
|
|
83
|
-
it('aria-label-only is axe-clean', async () => {
|
|
84
|
-
const { axeResults } = await renderAndCheckA11y(_jsx(BKJBadge, { variant: variant, "aria-label": "3 errors" }));
|
|
85
|
-
expect(axeResults).toHaveNoViolations();
|
|
86
|
-
});
|
|
87
|
-
it('both-present is axe-clean', async () => {
|
|
88
|
-
const { axeResults } = await renderAndCheckA11y(_jsx(BKJBadge, { variant: variant, "aria-label": "Status", children: "Accepted" }));
|
|
89
|
-
expect(axeResults).toHaveNoViolations();
|
|
90
|
-
});
|
|
40
|
+
it(`variant=${variant} children render is axe-clean`, async () => {
|
|
41
|
+
const { axeResults } = await renderAndCheckA11y(_jsx(BKJBadge, { variant: variant, children: "Accepted" }));
|
|
42
|
+
expect(axeResults).toHaveNoViolations();
|
|
91
43
|
});
|
|
92
44
|
});
|
|
93
45
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJBadge.test.js","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"BKJBadge.test.js","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,QAAQ,CAAC,uCAAuC,EAAE,GAAG,EAAE;IACrD,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE;QAC7C,gFAAgF;QAChF,iFAAiF;QACjF,MAAM,IAAI,GAAG,KAAC,QAAQ,IAAC,OAAO,EAAC,WAAW,GAAG,CAAC;QAC9C,KAAK,IAAI,CAAC;IACZ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACxC,EAAE,CAAC,iEAAiE,EAAE,GAAG,EAAE;QACzE,MAAM,EAAE,SAAS,EAAE,GAAG,eAAe,CAAC,KAAC,QAAQ,IAAC,OAAO,EAAC,WAAW,yBAAoB,CAAC,CAAC;QACzF,MAAM,OAAO,GAAG,SAAS,CAAC,UAAyB,CAAC;QACpD,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACpC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,MAAM,CAAC,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC5D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8BAA8B,EAAE,KAAK,IAAI,EAAE;QAC5C,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,kBAAkB,CAC7C,KAAC,QAAQ,IAAC,OAAO,EAAC,WAAW,yBAAoB,CAClD,CAAC;QACF,MAAM,CAAC,UAAU,CAAC,CAAC,kBAAkB,EAAE,CAAC;IAC1C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2DAA2D,EAAE,GAAG,EAAE;QACnE,MAAM,EAAE,SAAS,EAAE,GAAG,eAAe,CACnC,KAAC,QAAQ,IAAC,OAAO,EAAC,WAAW,gBAAY,QAAQ,yBAEtC,CACZ,CAAC;QACF,MAAM,OAAO,GAAG,SAAS,CAAC,UAAyB,CAAC;QACpD,MAAM,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;QACxD,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACtC,MAAM,iBAAiB,GAA+B;QACpD,QAAQ;QACR,WAAW;QACX,cAAc;KACf,CAAC;IAEF,iBAAiB,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACpC,EAAE,CAAC,WAAW,OAAO,+BAA+B,EAAE,KAAK,IAAI,EAAE;YAC/D,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,kBAAkB,CAC7C,KAAC,QAAQ,IAAC,OAAO,EAAE,OAAO,yBAAqB,CAChD,CAAC;YACF,MAAM,CAAC,UAAU,CAAC,CAAC,kBAAkB,EAAE,CAAC;QAC1C,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Interpolation } from 'styled-components';
|
|
3
|
-
|
|
3
|
+
export interface IBKJBadgeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
4
4
|
variant: BKJThemeBadgeVariantType;
|
|
5
|
-
};
|
|
6
|
-
export type IBKJBadgeProps = (IBKJBadgeBase & {
|
|
7
5
|
children: React.ReactNode;
|
|
8
|
-
|
|
9
|
-
}) | (IBKJBadgeBase & {
|
|
10
|
-
children?: never;
|
|
11
|
-
'aria-label': string;
|
|
12
|
-
});
|
|
6
|
+
}
|
|
13
7
|
export interface IBKJThemeBadge {
|
|
14
8
|
Orange: Interpolation<any>;
|
|
15
9
|
OrangePill: Interpolation<any>;
|
|
@@ -41,5 +35,4 @@ export interface IBKJThemeBadge {
|
|
|
41
35
|
PendingBlockPill: Interpolation<any>;
|
|
42
36
|
}
|
|
43
37
|
export type BKJThemeBadgeVariantType = keyof IBKJThemeBadge;
|
|
44
|
-
export {};
|
|
45
38
|
//# sourceMappingURL=BKJBadge.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJBadge.types.d.ts","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"BKJBadge.types.d.ts","sourceRoot":"","sources":["../../../src/components/BKJBadge/BKJBadge.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5F,OAAO,EAAE,wBAAwB,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC3B,UAAU,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC/B,KAAK,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC1B,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC9B,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACxB,OAAO,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC5B,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACzB,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC7B,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC9B,aAAa,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAClC,OAAO,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC5B,WAAW,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAChC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC7B,YAAY,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACjC,WAAW,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAChC,YAAY,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACjC,YAAY,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACjC,aAAa,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAClC,aAAa,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAClC,cAAc,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACnC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC7B,WAAW,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAChC,YAAY,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACjC,aAAa,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAClC,eAAe,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACpC,WAAW,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAChC,UAAU,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC/B,gBAAgB,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;CACtC;AAED,MAAM,MAAM,wBAAwB,GAAG,MAAM,cAAc,CAAC"}
|
|
@@ -10,12 +10,12 @@ export declare const ButtonIconTextInputRequiredAsterisk: import("styled-compone
|
|
|
10
10
|
export declare const ButtonIconTextInputIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
11
|
export declare const ButtonIconTextInputIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Pick<import("../BKJIcon/BKJIcon.types.js").IBKJIconProps & {
|
|
12
12
|
children?: import("react").ReactNode;
|
|
13
|
-
}, "string" | "target" | "name" | "filter" | "fill" | "values" | "style" | "id" | "type" | "end" | "alphabetic" | "ideographic" | "mathematical" | "accumulate" | "local" | "color" | "hanging" | "unicode" | "clip" | "stroke" | "x" | "y" | "children" | "
|
|
13
|
+
}, "string" | "target" | "name" | "filter" | "fill" | "values" | "style" | "id" | "type" | "end" | "alphabetic" | "ideographic" | "mathematical" | "accumulate" | "local" | "color" | "hanging" | "unicode" | "clip" | "stroke" | "x" | "y" | "children" | "className" | "lang" | "tabIndex" | "role" | "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" | "width" | "css" | "crossOrigin" | "height" | "href" | "max" | "media" | "method" | "min" | "key" | "clipPath" | "mask" | "path" | "offset" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "cursor" | "cx" | "cy" | "d" | "direction" | "display" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "opacity" | "order" | "overflow" | "paintOrder" | "pointerEvents" | "r" | "rotate" | "rx" | "ry" | "scale" | "shapeRendering" | "stopColor" | "stopOpacity" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "textDecoration" | "textRendering" | "transform" | "unicodeBidi" | "vectorEffect" | "visibility" | "wordSpacing" | "writingMode" | "iconName" | "spacing" | "secondaryColor" | "accentHeight" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
14
14
|
ref?: import("react").Ref<SVGSVGElement>;
|
|
15
15
|
}, never>> & string & Omit<import("react").FC<import("../BKJIcon/BKJIcon.types.js").IBKJIconProps>, keyof import("react").Component<any, {}, any>>;
|
|
16
16
|
export declare const ButtonIconTextInputButtonIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Pick<import("../BKJIcon/BKJIcon.types.js").IBKJIconProps & {
|
|
17
17
|
children?: import("react").ReactNode;
|
|
18
|
-
}, "string" | "target" | "name" | "filter" | "fill" | "values" | "style" | "id" | "type" | "end" | "alphabetic" | "ideographic" | "mathematical" | "accumulate" | "local" | "color" | "hanging" | "unicode" | "clip" | "stroke" | "x" | "y" | "children" | "
|
|
18
|
+
}, "string" | "target" | "name" | "filter" | "fill" | "values" | "style" | "id" | "type" | "end" | "alphabetic" | "ideographic" | "mathematical" | "accumulate" | "local" | "color" | "hanging" | "unicode" | "clip" | "stroke" | "x" | "y" | "children" | "className" | "lang" | "tabIndex" | "role" | "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" | "width" | "css" | "crossOrigin" | "height" | "href" | "max" | "media" | "method" | "min" | "key" | "clipPath" | "mask" | "path" | "offset" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "cursor" | "cx" | "cy" | "d" | "direction" | "display" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "opacity" | "order" | "overflow" | "paintOrder" | "pointerEvents" | "r" | "rotate" | "rx" | "ry" | "scale" | "shapeRendering" | "stopColor" | "stopOpacity" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "textDecoration" | "textRendering" | "transform" | "unicodeBidi" | "vectorEffect" | "visibility" | "wordSpacing" | "writingMode" | "iconName" | "spacing" | "secondaryColor" | "accentHeight" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
19
19
|
ref?: import("react").Ref<SVGSVGElement>;
|
|
20
20
|
}, never>> & string & Omit<import("react").FC<import("../BKJIcon/BKJIcon.types.js").IBKJIconProps>, keyof import("react").Component<any, {}, any>>;
|
|
21
21
|
export declare const ButtonIconTextInput: import("styled-components/dist/types").IStyledComponentBase<"web", any> & string;
|
|
@@ -3,5 +3,5 @@ import { IBKJComboBoxProps } from './BKJComboBox.types.js';
|
|
|
3
3
|
* BookJane's 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 BKJComboBox: import("react").ForwardRefExoticComponent<Pick<IBKJComboBoxProps<import("./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" | "
|
|
6
|
+
export declare const BKJComboBox: import("react").ForwardRefExoticComponent<Pick<IBKJComboBoxProps<import("./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" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "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" | "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" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "key" | "leftIconProps" | "rightIconProps" | "labelProps" | "fieldSetProps" | "description" | "isRequired" | "error" | "openBorderLocation" | "useFocusBorder" | "options" | "onIsOpenChange" | "allowedAutoPlacements" | "showFullFocusBorder" | "$dropdownHeight"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
7
|
//# sourceMappingURL=BKJComboBox.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IBKJComboBoxProps } from './BKJComboBox.types.js';
|
|
2
2
|
declare const setup: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<Pick<IBKJComboBoxProps<import("./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" | "
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Pick<IBKJComboBoxProps<import("./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" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "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" | "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" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "key" | "leftIconProps" | "rightIconProps" | "labelProps" | "fieldSetProps" | "description" | "isRequired" | "error" | "openBorderLocation" | "useFocusBorder" | "options" | "onIsOpenChange" | "allowedAutoPlacements" | "showFullFocusBorder" | "$dropdownHeight"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
5
5
|
argTypes: {};
|
|
6
6
|
};
|
|
7
7
|
export declare const Default: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IBKJComboBoxProps<import("./BKJComboBox.types.js").IBKJComboBoxOption<string | number, string, string | number>>>;
|
|
@@ -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" | "
|
|
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" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "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" | "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" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "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
|