@useloops/design-system 1.4.402 → 1.4.404
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/dist/esm/index.js +4 -4
- package/dist/index.d.ts +20 -39
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2026,6 +2026,7 @@ interface TopNumber {
|
|
|
2026
2026
|
interface ExtendedTestStatusProps {
|
|
2027
2027
|
status: TestStatusProps['status'];
|
|
2028
2028
|
segments: TopNumber[];
|
|
2029
|
+
loading?: boolean;
|
|
2029
2030
|
}
|
|
2030
2031
|
declare const ExtendedTestStatus: FunctionComponent<ExtendedTestStatusProps>;
|
|
2031
2032
|
|
|
@@ -2042,54 +2043,34 @@ interface StyledLinearProgressProps extends LinearProgressProps {
|
|
|
2042
2043
|
barColor?: KpiIndicatorColor$1;
|
|
2043
2044
|
}
|
|
2044
2045
|
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
* @param {number | null | undefined} [props.respondentCount] - Optional count of respondents displayed in a column.
|
|
2054
|
-
* @param {object} [props.icon] - Optional icon configuration (emoji or standard icon).
|
|
2055
|
-
* @param {boolean} [props.hideIcon] - If true, hides the icon.
|
|
2056
|
-
* @param {boolean} [props.hideCheckbox] - If true, hides the checkbox.
|
|
2057
|
-
* @param {boolean} [props.hideUnitColumn1] - If true, hides the first unit column (value).
|
|
2058
|
-
* @param {boolean} [props.hideUnitColumn2] - If true, hides the second unit column (respondent count).
|
|
2059
|
-
* @param {object} [props.checkboxProps] - Additional props for the checkbox.
|
|
2060
|
-
* @param {object} [props.slotProps] - Additional slot props for customizing subcomponents.
|
|
2061
|
-
* @param {boolean} [props.percentageSymbol] - If true, appends a percentage symbol to the value.
|
|
2062
|
-
* @param {boolean} [props.checkedDefaultValue] - The initial checked state of the checkbox.
|
|
2063
|
-
*
|
|
2064
|
-
* @returns {JSX.Element} The rendered GraphBar component.
|
|
2065
|
-
*/
|
|
2046
|
+
interface GraphBarSlotProps {
|
|
2047
|
+
graphBar?: StyledLinearProgressProps;
|
|
2048
|
+
graphBarTypography?: Omit<TypographyProps, 'component' | 'variation'>;
|
|
2049
|
+
checkbox?: CheckboxProps$2;
|
|
2050
|
+
icon?: IconProps$1;
|
|
2051
|
+
emojiIcon?: BoxProps$1;
|
|
2052
|
+
tooltip?: TooltipProps$2;
|
|
2053
|
+
}
|
|
2066
2054
|
interface GraphBarProps {
|
|
2067
|
-
hideIcon?: boolean;
|
|
2068
|
-
hideCheckbox?: boolean;
|
|
2069
|
-
hideUnitColumn1?: boolean;
|
|
2070
|
-
hideUnitColumn2?: boolean;
|
|
2071
|
-
icon?: {
|
|
2072
|
-
type: 'emoji' | 'icon';
|
|
2073
|
-
name: CommentEmotion | IconName$2;
|
|
2074
|
-
};
|
|
2075
2055
|
id: string;
|
|
2076
2056
|
label: string;
|
|
2077
2057
|
value: number;
|
|
2078
|
-
tooltipContent?: ReactNode;
|
|
2079
2058
|
respondentCount?: number;
|
|
2080
2059
|
maxValue?: number;
|
|
2060
|
+
tooltipContent?: ReactNode;
|
|
2061
|
+
icon?: {
|
|
2062
|
+
type: 'emoji' | 'icon';
|
|
2063
|
+
name: CommentEmotion | IconName$2;
|
|
2064
|
+
};
|
|
2065
|
+
hideIcon?: boolean;
|
|
2066
|
+
hideCheckbox?: boolean;
|
|
2067
|
+
hideUnitColumn1?: boolean;
|
|
2068
|
+
hideUnitColumn2?: boolean;
|
|
2081
2069
|
checked?: boolean;
|
|
2082
2070
|
disabled?: boolean;
|
|
2083
|
-
onChange?:
|
|
2084
|
-
slotProps: {
|
|
2085
|
-
graphBar?: StyledLinearProgressProps;
|
|
2086
|
-
graphBarTypography?: Omit<TypographyProps, 'component' | 'variation'>;
|
|
2087
|
-
checkbox?: CheckboxProps$2;
|
|
2088
|
-
icon?: IconProps$1;
|
|
2089
|
-
emojiIcon?: BoxProps$1;
|
|
2090
|
-
tooltip?: TooltipProps$2;
|
|
2091
|
-
};
|
|
2071
|
+
onChange?: (checked: boolean) => void;
|
|
2092
2072
|
percentageSymbol?: boolean;
|
|
2073
|
+
slotProps?: GraphBarSlotProps;
|
|
2093
2074
|
}
|
|
2094
2075
|
declare const GraphBar: FunctionComponent<GraphBarProps>;
|
|
2095
2076
|
|