@ssa-ui-kit/core 2.26.1 → 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.
|
@@ -6,6 +6,7 @@ export interface PieChartTooltipProps {
|
|
|
6
6
|
isEnabled?: boolean;
|
|
7
7
|
isFullscreenEnabled?: boolean;
|
|
8
8
|
dimension?: string;
|
|
9
|
+
className?: string;
|
|
9
10
|
outputType?: 'value' | 'value+dimension' | 'dimension' | 'percentage' | 'value+percentage' | 'percentage+value' | 'value+dimension+percentage';
|
|
10
11
|
valueRoundingDigits?: number | false;
|
|
11
12
|
percentageRoundingDigits?: number;
|
|
@@ -57,4 +58,5 @@ export type PieChartTooltipViewProps = {
|
|
|
57
58
|
x: number;
|
|
58
59
|
y: number;
|
|
59
60
|
} | null;
|
|
61
|
+
className?: string;
|
|
60
62
|
};
|
|
@@ -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
|
@@ -6771,7 +6771,8 @@ const PieChartTooltip = /*#__PURE__*/(0,external_react_namespaceObject.forwardRe
|
|
|
6771
6771
|
dimension,
|
|
6772
6772
|
isFullscreenMode,
|
|
6773
6773
|
position,
|
|
6774
|
-
isOpen
|
|
6774
|
+
isOpen,
|
|
6775
|
+
className
|
|
6775
6776
|
}, ref) {
|
|
6776
6777
|
const theme = (0,react_namespaceObject.useTheme)();
|
|
6777
6778
|
if (!isOpen) {
|
|
@@ -6797,6 +6798,7 @@ const PieChartTooltip = /*#__PURE__*/(0,external_react_namespaceObject.forwardRe
|
|
|
6797
6798
|
visibility: point ? 'visible' : 'hidden',
|
|
6798
6799
|
zIndex: 10
|
|
6799
6800
|
}, true ? "" : 0, true ? "" : 0),
|
|
6801
|
+
className: className,
|
|
6800
6802
|
children: point && (0,jsx_runtime_namespaceObject.jsxs)((external_react_default()).Fragment, {
|
|
6801
6803
|
children: [(0,jsx_runtime_namespaceObject.jsx)("div", {
|
|
6802
6804
|
css: /*#__PURE__*/(0,react_namespaceObject.css)({
|
|
@@ -7037,6 +7039,7 @@ const PieChartInternal = ({
|
|
|
7037
7039
|
position: tooltipPosition,
|
|
7038
7040
|
dimension: dimension,
|
|
7039
7041
|
outputType: outputType,
|
|
7042
|
+
className: tooltipProps?.className,
|
|
7040
7043
|
isFullscreenMode: isFullscreenMode,
|
|
7041
7044
|
ref: refs.setFloating
|
|
7042
7045
|
})
|
|
@@ -19392,6 +19395,7 @@ const Typeahead = ({
|
|
|
19392
19395
|
placeholder = 'Select something',
|
|
19393
19396
|
startIconClassName,
|
|
19394
19397
|
endIconClassName,
|
|
19398
|
+
popoverClassName,
|
|
19395
19399
|
optionsClassName,
|
|
19396
19400
|
wrapperClassName,
|
|
19397
19401
|
filterOptions,
|
|
@@ -19451,6 +19455,7 @@ const Typeahead = ({
|
|
|
19451
19455
|
children: (0,jsx_runtime_namespaceObject.jsx)(TypeaheadFocusTrap, {
|
|
19452
19456
|
children: (0,jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
19453
19457
|
children: [(0,jsx_runtime_namespaceObject.jsx)(TypeaheadTrigger_TypeaheadTrigger, {}), (0,jsx_runtime_namespaceObject.jsx)(PopoverContent, {
|
|
19458
|
+
className: popoverClassName,
|
|
19454
19459
|
css: /*#__PURE__*/(0,react_namespaceObject.css)({
|
|
19455
19460
|
width: hookResult.triggerRef.current?.clientWidth,
|
|
19456
19461
|
boxShadow: `-4px 4px 14px 0px ${theme.colors.greyDarker14}`,
|