@ssa-ui-kit/core 2.27.0 → 2.27.1
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.
|
@@ -8,4 +8,4 @@ import { TypeaheadProps } from './types';
|
|
|
8
8
|
* Aria attributes are set according to
|
|
9
9
|
* https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
|
|
10
10
|
**/
|
|
11
|
-
export declare const Typeahead: ({ name, label, selectedItems, defaultSelectedItems, isOpen, isDisabled, isMultiple, children, className, startIcon, endIcon, error, success, helperText, validationSchema, placeholder, startIconClassName, endIconClassName, optionsClassName, wrapperClassName, filterOptions, width, onChange, onEmptyChange, onClearAll, onRemoveSelectedClick, renderOption, }: TypeaheadProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const Typeahead: ({ name, label, selectedItems, defaultSelectedItems, isOpen, isDisabled, isMultiple, children, className, startIcon, endIcon, error, success, helperText, validationSchema, placeholder, startIconClassName, endIconClassName, popoverClassName, optionsClassName, wrapperClassName, filterOptions, width, onChange, onEmptyChange, onClearAll, onRemoveSelectedClick, renderOption, }: TypeaheadProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -19395,6 +19395,7 @@ const Typeahead = ({
|
|
|
19395
19395
|
placeholder = 'Select something',
|
|
19396
19396
|
startIconClassName,
|
|
19397
19397
|
endIconClassName,
|
|
19398
|
+
popoverClassName,
|
|
19398
19399
|
optionsClassName,
|
|
19399
19400
|
wrapperClassName,
|
|
19400
19401
|
filterOptions,
|
|
@@ -19454,6 +19455,7 @@ const Typeahead = ({
|
|
|
19454
19455
|
children: (0,jsx_runtime_namespaceObject.jsx)(TypeaheadFocusTrap, {
|
|
19455
19456
|
children: (0,jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
19456
19457
|
children: [(0,jsx_runtime_namespaceObject.jsx)(TypeaheadTrigger_TypeaheadTrigger, {}), (0,jsx_runtime_namespaceObject.jsx)(PopoverContent, {
|
|
19458
|
+
className: popoverClassName,
|
|
19457
19459
|
css: /*#__PURE__*/(0,react_namespaceObject.css)({
|
|
19458
19460
|
width: hookResult.triggerRef.current?.clientWidth,
|
|
19459
19461
|
boxShadow: `-4px 4px 14px 0px ${theme.colors.greyDarker14}`,
|