@useloops/design-system 1.4.410 → 1.4.412
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 +3 -3
- package/dist/index.d.ts +6 -2
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1369,12 +1369,13 @@ declare const HtmlParser: FC<HtmlParserProps>;
|
|
|
1369
1369
|
|
|
1370
1370
|
type IconButtonSizing = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1371
1371
|
type IconButtonShapeMap = 'default' | 'round';
|
|
1372
|
-
type IconButtonVariation = 'default' | 'toggle' | 'outlined' | 'raised';
|
|
1372
|
+
type IconButtonVariation = 'default' | 'toggle' | 'outlined' | 'raised' | 'elevated';
|
|
1373
1373
|
|
|
1374
1374
|
declare const defaultStyle: (theme: Theme) => CSSObject;
|
|
1375
1375
|
declare const toggle: (theme: Theme) => CSSObject;
|
|
1376
1376
|
declare const outlined: (theme: Theme) => CSSObject;
|
|
1377
1377
|
declare const raised: (theme: Theme) => CSSObject;
|
|
1378
|
+
declare const elevated: (theme: Theme) => CSSObject;
|
|
1378
1379
|
declare const getIconButtonRadius: (shape: IconButtonShapeMap, theme: Theme) => CSSObject;
|
|
1379
1380
|
declare const buttonSizeMap: {
|
|
1380
1381
|
xs: number;
|
|
@@ -1396,6 +1397,7 @@ declare const getIconSizing: (sizing: IconButtonSizing) => CSSObject;
|
|
|
1396
1397
|
declare const IconButton_variantHelpers_IconSizeMap: typeof IconSizeMap;
|
|
1397
1398
|
declare const IconButton_variantHelpers_buttonSizeMap: typeof buttonSizeMap;
|
|
1398
1399
|
declare const IconButton_variantHelpers_defaultStyle: typeof defaultStyle;
|
|
1400
|
+
declare const IconButton_variantHelpers_elevated: typeof elevated;
|
|
1399
1401
|
declare const IconButton_variantHelpers_getIconButtonRadius: typeof getIconButtonRadius;
|
|
1400
1402
|
declare const IconButton_variantHelpers_getIconButtonSizing: typeof getIconButtonSizing;
|
|
1401
1403
|
declare const IconButton_variantHelpers_getIconSizing: typeof getIconSizing;
|
|
@@ -1403,7 +1405,7 @@ declare const IconButton_variantHelpers_outlined: typeof outlined;
|
|
|
1403
1405
|
declare const IconButton_variantHelpers_raised: typeof raised;
|
|
1404
1406
|
declare const IconButton_variantHelpers_toggle: typeof toggle;
|
|
1405
1407
|
declare namespace IconButton_variantHelpers {
|
|
1406
|
-
export { IconButton_variantHelpers_IconSizeMap as IconSizeMap, IconButton_variantHelpers_buttonSizeMap as buttonSizeMap, IconButton_variantHelpers_defaultStyle as defaultStyle, IconButton_variantHelpers_getIconButtonRadius as getIconButtonRadius, IconButton_variantHelpers_getIconButtonSizing as getIconButtonSizing, IconButton_variantHelpers_getIconSizing as getIconSizing, IconButton_variantHelpers_outlined as outlined, IconButton_variantHelpers_raised as raised, IconButton_variantHelpers_toggle as toggle };
|
|
1408
|
+
export { IconButton_variantHelpers_IconSizeMap as IconSizeMap, IconButton_variantHelpers_buttonSizeMap as buttonSizeMap, IconButton_variantHelpers_defaultStyle as defaultStyle, IconButton_variantHelpers_elevated as elevated, IconButton_variantHelpers_getIconButtonRadius as getIconButtonRadius, IconButton_variantHelpers_getIconButtonSizing as getIconButtonSizing, IconButton_variantHelpers_getIconSizing as getIconSizing, IconButton_variantHelpers_outlined as outlined, IconButton_variantHelpers_raised as raised, IconButton_variantHelpers_toggle as toggle };
|
|
1407
1409
|
}
|
|
1408
1410
|
|
|
1409
1411
|
interface IconButtonBaseProps extends IconButtonProps$1 {
|
|
@@ -2234,12 +2236,14 @@ interface QuestionBlockProps {
|
|
|
2234
2236
|
preQuestionText?: string;
|
|
2235
2237
|
questionText: string;
|
|
2236
2238
|
supportText?: string;
|
|
2239
|
+
loading?: boolean;
|
|
2237
2240
|
}
|
|
2238
2241
|
declare const QuestionBlock: FunctionComponent<QuestionBlockProps>;
|
|
2239
2242
|
|
|
2240
2243
|
type QuestionType = 'single-punch' | 'multi-punch' | 'slider' | 'likert' | 'rank' | 'open-question' | 'emoji' | 'focus';
|
|
2241
2244
|
interface QuestionLabelProps extends PropsWithChildren {
|
|
2242
2245
|
type?: QuestionType;
|
|
2246
|
+
loading?: boolean;
|
|
2243
2247
|
}
|
|
2244
2248
|
declare const QuestionLabel: FunctionComponent<QuestionLabelProps>;
|
|
2245
2249
|
|