@smg-automotive/components 25.10.0 → 25.10.1-feat-cleanup.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.
- package/dist/cjs/components/formControlSection/index.d.ts +0 -1
- package/dist/cjs/components/formControlSection/index.d.ts.map +1 -1
- package/dist/cjs/components/index.d.ts +0 -1
- package/dist/cjs/components/index.d.ts.map +1 -1
- package/dist/cjs/index.js +17 -49
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/formControlSection/index.d.ts +0 -1
- package/dist/esm/components/formControlSection/index.d.ts.map +1 -1
- package/dist/esm/components/formControlSection/index.js +2 -2
- package/dist/esm/components/formControlSection/index.js.map +1 -1
- package/dist/esm/components/index.d.ts +0 -1
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/index.js +0 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +44 -77
- package/package.json +1 -1
- package/dist/cjs/components/radio/QuestionWithFollowUp.d.ts +0 -34
- package/dist/cjs/components/radio/QuestionWithFollowUp.d.ts.map +0 -1
- package/dist/esm/components/radio/QuestionWithFollowUp.d.ts +0 -34
- package/dist/esm/components/radio/QuestionWithFollowUp.d.ts.map +0 -1
- package/dist/esm/components/radio/QuestionWithFollowUp.js +0 -40
- package/dist/esm/components/radio/QuestionWithFollowUp.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/formControlSection/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAarD,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/formControlSection/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAarD,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CA4CpD,CAAC;AAIF,eAAe,kBAAkB,CAAC;AAClC,OAAO,EAAE,KAAK,IAAI,uBAAuB,EAAE,CAAC"}
|
|
@@ -171,10 +171,10 @@ import '../icons/BalanceIcon.js';
|
|
|
171
171
|
import '../icons/ParagraphIcon.js';
|
|
172
172
|
|
|
173
173
|
var FormControlSection = function (_a) {
|
|
174
|
-
var children = _a.children, errorMessage = _a.errorMessage, id = _a.id, label = _a.label, hint = _a.hint, tooltip = _a.tooltip
|
|
174
|
+
var children = _a.children, errorMessage = _a.errorMessage, id = _a.id, label = _a.label, hint = _a.hint, tooltip = _a.tooltip;
|
|
175
175
|
var isInvalid = !!errorMessage;
|
|
176
176
|
return (React.createElement(FormControl, { id: id, isInvalid: isInvalid },
|
|
177
|
-
React.createElement(Box, { border:
|
|
177
|
+
React.createElement(Box, { border: "1px solid", borderRadius: "sm", borderColor: isInvalid ? 'red.500' : 'gray.400', padding: "2xl" },
|
|
178
178
|
React.createElement(Flex, { flexDirection: "column" },
|
|
179
179
|
React.createElement(Box, { mb: "lg" },
|
|
180
180
|
React.createElement(Flex, { alignItems: "center" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/formControlSection/index.tsx"],"sourcesContent":[null],"names":["ChakraFormControl"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/formControlSection/index.tsx"],"sourcesContent":[null],"names":["ChakraFormControl"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,IAAM,kBAAkB,GAAiC,UAAC,EAOzD,EAAA;AANC,IAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,YAAY,GAAA,EAAA,CAAA,YAAA,EACZ,EAAE,GAAA,EAAA,CAAA,EAAA,EACF,KAAK,WAAA,EACL,IAAI,GAAA,EAAA,CAAA,IAAA,EACJ,OAAO,GAAA,EAAA,CAAA,OAAA;AAEP,IAAA,IAAM,SAAS,GAAG,CAAC,CAAC,YAAY;IAEhC,QACE,KAAA,CAAA,aAAA,CAACA,WAAiB,EAAA,EAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAA;QAC7C,KAAA,CAAA,aAAA,CAAC,GAAG,EAAA,EACF,MAAM,EAAC,WAAW,EAClB,YAAY,EAAC,IAAI,EACjB,WAAW,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,EAC/C,OAAO,EAAC,KAAK,EAAA;AAEb,YAAA,KAAA,CAAA,aAAA,CAAC,IAAI,EAAA,EAAC,aAAa,EAAC,QAAQ,EAAA;AAC1B,gBAAA,KAAA,CAAA,aAAA,CAAC,GAAG,EAAA,EAAC,EAAE,EAAC,IAAI,EAAA;AACV,oBAAA,KAAA,CAAA,aAAA,CAAC,IAAI,EAAA,EAAC,UAAU,EAAC,QAAQ,EAAA;wBACtB,KAAK,IACJ,oBAAC,IAAI,EAAA,EAAC,KAAK,EAAC,UAAU,EAAC,SAAS,EAAC,UAAU,EAAA,EACxC,KAAK,CACD,IACL,IAAI;wBACP,OAAO,IACN,oBAAC,OAAO,EAAA,EAAC,KAAK,EAAE,OAAO,EAAA;AACrB,4BAAA,KAAA,CAAA,aAAA,CAAC,eAAe,EAAA,EAAC,EAAE,EAAC,IAAI,EAAA,CAAG,CACnB,IACR,IAAI,CACH;oBACN,IAAI,IACH,oBAAC,IAAI,EAAA,EAAC,KAAK,EAAC,UAAU,EAAC,SAAS,EAAC,MAAM,IACpC,IAAI,CACA,IACL,IAAI,CACJ;AACL,gBAAA,QAAQ,CACJ,CACH;AACN,QAAA,KAAA,CAAA,aAAA,CAAC,gBAAgB,EAAA,IAAA,EAAE,YAAY,CAAoB,CACjC;AAExB;AAEA,kBAAkB,CAAC,WAAW,GAAG,oBAAoB;;;;"}
|
|
@@ -57,7 +57,6 @@ export { FilterHeading } from './filterPatterns/Heading';
|
|
|
57
57
|
export { OpenFilterButton } from './filterPatterns/modal/OpenFilterButton';
|
|
58
58
|
export { default as Radio, RadioGroup } from './radio';
|
|
59
59
|
export { default as RadioList } from './radio/RadioList';
|
|
60
|
-
export { default as QuestionWithFollowUp } from './radio/QuestionWithFollowUp';
|
|
61
60
|
export { default as RangeFilterInput } from './rangeFilterInput';
|
|
62
61
|
export { default as RangeSlider } from './rangeSlider';
|
|
63
62
|
export { default as DiscreteSlider } from './discreteSlider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,6BAA6B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B,KAAK,KAAK,IAAI,kBAAkB,GACjC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AAExB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAE3B,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,oBAAoB,GACrB,MAAM,mBAAmB,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -55,7 +55,6 @@ export { FilterHeading } from './components/filterPatterns/Heading.js';
|
|
|
55
55
|
export { OpenFilterButton } from './components/filterPatterns/modal/OpenFilterButton.js';
|
|
56
56
|
export { default as Radio } from './components/radio/index.js';
|
|
57
57
|
export { default as RadioList } from './components/radio/RadioList.js';
|
|
58
|
-
export { default as QuestionWithFollowUp } from './components/radio/QuestionWithFollowUp.js';
|
|
59
58
|
export { default as RangeFilterInput } from './components/rangeFilterInput/index.js';
|
|
60
59
|
export { default as RangeSlider } from './components/rangeSlider/index.js';
|
|
61
60
|
export { default as DiscreteSlider } from './components/discreteSlider/index.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -124,14 +124,14 @@ declare const AccordionPanel: FC<PropsWithChildren<AccordionPanelProps>>;
|
|
|
124
124
|
|
|
125
125
|
declare const AccordionItem: FC<PropsWithChildren<AccordionItemProps>>;
|
|
126
126
|
|
|
127
|
-
type Props$
|
|
127
|
+
type Props$G = {
|
|
128
128
|
title: string;
|
|
129
129
|
text: string;
|
|
130
130
|
imageUrl: string;
|
|
131
131
|
url: string;
|
|
132
132
|
maxImgW?: ResponsiveValue<Sizes>;
|
|
133
133
|
};
|
|
134
|
-
declare const ArticleTeaser: FC<Props$
|
|
134
|
+
declare const ArticleTeaser: FC<Props$G>;
|
|
135
135
|
|
|
136
136
|
type SharedProps$4 = Omit<BareAlertProps, 'onClose'>;
|
|
137
137
|
type DismissibleProps = SharedProps$4 & {
|
|
@@ -192,8 +192,8 @@ type LinkProps = Overwrite<SharedProps$3, LinkButton & {
|
|
|
192
192
|
}>;
|
|
193
193
|
type IconProps = IconButton & Never<Pick<SharedProps$3, 'leftIcon' | 'rightIcon' | 'children'>>;
|
|
194
194
|
type IconButtonProps = Overwrite<ButtonType, IconProps> | Overwrite<SubmitType, IconProps> | Overwrite<LinkProps, IconProps>;
|
|
195
|
-
type Props$
|
|
196
|
-
declare const Button: React.ForwardRefExoticComponent<Props$
|
|
195
|
+
type Props$F = ButtonProps | IconButtonProps | LinkProps;
|
|
196
|
+
declare const Button: React.ForwardRefExoticComponent<Props$F & React.RefAttributes<HTMLLinkElement | HTMLButtonElement>>;
|
|
197
197
|
|
|
198
198
|
type SharedProps$2 = {
|
|
199
199
|
startIndex?: number;
|
|
@@ -219,14 +219,14 @@ type FullScreenProps = {
|
|
|
219
219
|
paginationType?: never;
|
|
220
220
|
children: FullScreenSlide[];
|
|
221
221
|
} & SharedProps$2;
|
|
222
|
-
type Props$
|
|
222
|
+
type Props$E = DefaultProps | FullScreenProps;
|
|
223
223
|
declare enum PaginationType {
|
|
224
224
|
Thumbnail = "thumbnail",
|
|
225
225
|
Number = "number",
|
|
226
226
|
None = "none",
|
|
227
227
|
Dot = "dot"
|
|
228
228
|
}
|
|
229
|
-
declare const Carousel: FC<Props$
|
|
229
|
+
declare const Carousel: FC<Props$E>;
|
|
230
230
|
|
|
231
231
|
type CenterProps = Pick<CenterProps$1, 'children' | 'padding'>;
|
|
232
232
|
declare const Center: FC<CenterProps>;
|
|
@@ -258,7 +258,7 @@ type Item<ItemKey, FilterName> = {
|
|
|
258
258
|
key: ItemKey;
|
|
259
259
|
label: string;
|
|
260
260
|
};
|
|
261
|
-
type Props$
|
|
261
|
+
type Props$D<ItemKey extends string, FilterName extends string> = {
|
|
262
262
|
alwaysExpanded?: boolean;
|
|
263
263
|
/**
|
|
264
264
|
* @template ItemKey
|
|
@@ -284,7 +284,7 @@ type Props$E<ItemKey extends string, FilterName extends string> = {
|
|
|
284
284
|
language: Language$1;
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
-
declare function CheckboxFilter<ItemKey extends string, FilterName extends string>({ alwaysExpanded, items, onApply, numberOfColumnsOnDesktop, onToggleCheckboxGroup, language, }: Props$
|
|
287
|
+
declare function CheckboxFilter<ItemKey extends string, FilterName extends string>({ alwaysExpanded, items, onApply, numberOfColumnsOnDesktop, onToggleCheckboxGroup, language, }: Props$D<ItemKey, FilterName>): React.JSX.Element;
|
|
288
288
|
|
|
289
289
|
interface CheckboxGroupProps extends CheckboxProps {
|
|
290
290
|
/**
|
|
@@ -305,27 +305,27 @@ type ChipProps = {
|
|
|
305
305
|
declare const Chip: FC<PropsWithChildren<ChipProps>>;
|
|
306
306
|
|
|
307
307
|
type CountVariant = 'primary' | 'inverted' | 'info' | 'success' | 'warning' | 'error';
|
|
308
|
-
interface Props$
|
|
308
|
+
interface Props$C {
|
|
309
309
|
variant?: CountVariant;
|
|
310
310
|
count: number;
|
|
311
311
|
ariaLabel?: string;
|
|
312
312
|
}
|
|
313
|
-
declare const Count: FC<Props$
|
|
313
|
+
declare const Count: FC<Props$C>;
|
|
314
314
|
|
|
315
|
-
interface Props$
|
|
315
|
+
interface Props$B extends Pick<InputProps, 'onFocus' | 'onBlur' | 'onChange'> {
|
|
316
316
|
size?: 'md' | 'lg';
|
|
317
317
|
min?: Date;
|
|
318
318
|
value?: string;
|
|
319
319
|
isInvalid?: boolean;
|
|
320
320
|
}
|
|
321
|
-
declare const DatePicker: React.ForwardRefExoticComponent<Props$
|
|
321
|
+
declare const DatePicker: React.ForwardRefExoticComponent<Props$B & React.RefAttributes<HTMLInputElement>>;
|
|
322
322
|
|
|
323
|
-
interface Props$
|
|
323
|
+
interface Props$A extends Pick<InputProps, 'onFocus' | 'onBlur' | 'onChange'> {
|
|
324
324
|
size?: 'md' | 'lg';
|
|
325
325
|
value?: string;
|
|
326
326
|
isInvalid?: boolean;
|
|
327
327
|
}
|
|
328
|
-
declare const TimePicker: React.ForwardRefExoticComponent<Props$
|
|
328
|
+
declare const TimePicker: React.ForwardRefExoticComponent<Props$A & React.RefAttributes<HTMLInputElement>>;
|
|
329
329
|
|
|
330
330
|
declare enum Brand {
|
|
331
331
|
AutoScout24 = "autoscout24",
|
|
@@ -353,31 +353,31 @@ declare const Drawer: FC<PropsWithChildren<DrawerProps>>;
|
|
|
353
353
|
|
|
354
354
|
declare const DrawerBody: FC<PropsWithChildren<ModalBodyProps>>;
|
|
355
355
|
|
|
356
|
-
interface Props$
|
|
356
|
+
interface Props$z extends DrawerContentProps {
|
|
357
357
|
withCloseButton?: boolean;
|
|
358
358
|
}
|
|
359
|
-
declare const DrawerContent: FC<PropsWithChildren<Props$
|
|
359
|
+
declare const DrawerContent: FC<PropsWithChildren<Props$z>>;
|
|
360
360
|
|
|
361
361
|
declare const DrawerOverlay: FC<PropsWithChildren>;
|
|
362
362
|
|
|
363
363
|
type Efficiency = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G';
|
|
364
|
-
interface Props$
|
|
364
|
+
interface Props$y {
|
|
365
365
|
efficiency: Efficiency;
|
|
366
366
|
}
|
|
367
|
-
declare const EnergyLabel: FC<Props$
|
|
367
|
+
declare const EnergyLabel: FC<Props$y>;
|
|
368
368
|
|
|
369
369
|
type ErrorStatusCode = 404 | 500 | 'clientSide' | 'UNVERIFIED_EMAIL' | 'INITIAL_UNVERIFIED_EMAIL' | 'USER_BLOCKED' | 'UNKNOWN_AUTH_ERROR' | 'EMAIL_CHANGE_VERIFICATION_ERROR';
|
|
370
370
|
|
|
371
|
-
interface Props$
|
|
371
|
+
interface Props$x {
|
|
372
372
|
statusCode: ErrorStatusCode;
|
|
373
373
|
language: Language$1;
|
|
374
374
|
onButtonClick?: () => void;
|
|
375
375
|
}
|
|
376
|
-
declare const ErrorPage: FC<Props$
|
|
376
|
+
declare const ErrorPage: FC<Props$x>;
|
|
377
377
|
|
|
378
378
|
declare const Flex: FC<Omit<FlexProps, 'gap' | 'columnGap' | 'rowGap'>>;
|
|
379
379
|
|
|
380
|
-
type Props$
|
|
380
|
+
type Props$w = {
|
|
381
381
|
isDisabled?: boolean;
|
|
382
382
|
isRequired?: boolean;
|
|
383
383
|
errorMessage?: string;
|
|
@@ -389,7 +389,7 @@ type Props$x = {
|
|
|
389
389
|
labelButtonText?: string;
|
|
390
390
|
labelButtonOnClick?: () => void;
|
|
391
391
|
};
|
|
392
|
-
declare const FormControl: FC<PropsWithChildren<Props$
|
|
392
|
+
declare const FormControl: FC<PropsWithChildren<Props$w>>;
|
|
393
393
|
|
|
394
394
|
type FormLabelProps = {
|
|
395
395
|
size?: 'sm' | 'lg';
|
|
@@ -402,8 +402,8 @@ declare const Grid: ComponentWithAs<'div', GridProps>;
|
|
|
402
402
|
|
|
403
403
|
declare const GridItem: ComponentWithAs<'div', GridItemProps>;
|
|
404
404
|
|
|
405
|
-
type Props$
|
|
406
|
-
declare const Hide: FC<Props$
|
|
405
|
+
type Props$v = Omit<HideProps, 'ssr'> & Omit<BoxProps, 'sx'>;
|
|
406
|
+
declare const Hide: FC<Props$v>;
|
|
407
407
|
|
|
408
408
|
type SharedProps$1 = {
|
|
409
409
|
placeholder?: string;
|
|
@@ -439,10 +439,10 @@ type DebouncedInputPros = {
|
|
|
439
439
|
debounce: true;
|
|
440
440
|
setInputValue: (value: string) => void;
|
|
441
441
|
} & SharedProps$1;
|
|
442
|
-
type Props$
|
|
443
|
-
declare const Input: React.ForwardRefExoticComponent<Props$
|
|
442
|
+
type Props$u = ControlledInputProps | InputPros | DebouncedInputPros;
|
|
443
|
+
declare const Input: React.ForwardRefExoticComponent<Props$u & React.RefAttributes<HTMLInputElement>>;
|
|
444
444
|
|
|
445
|
-
interface Props$
|
|
445
|
+
interface Props$t extends Partial<Omit<LinkProps$1, 'href' | 'onClick'>> {
|
|
446
446
|
leftIcon?: ReactNode;
|
|
447
447
|
rightIcon?: ReactNode;
|
|
448
448
|
disabled?: boolean;
|
|
@@ -452,7 +452,7 @@ interface Props$u extends Partial<Omit<LinkProps$1, 'href' | 'onClick'>> {
|
|
|
452
452
|
replace?: boolean;
|
|
453
453
|
prefetch?: boolean;
|
|
454
454
|
}
|
|
455
|
-
declare const Link: React.ForwardRefExoticComponent<Props$
|
|
455
|
+
declare const Link: React.ForwardRefExoticComponent<Props$t & React.RefAttributes<HTMLAnchorElement>>;
|
|
456
456
|
|
|
457
457
|
declare const ColorPicker: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
458
458
|
|
|
@@ -468,17 +468,17 @@ type ListProps = {
|
|
|
468
468
|
|
|
469
469
|
declare const styleTypes$1: readonly ["decimal", "lower-alpha", "lower-roman", "upper-alpha", "upper-roman"];
|
|
470
470
|
type StyleType$1 = (typeof styleTypes$1)[number];
|
|
471
|
-
type Props$
|
|
471
|
+
type Props$s = PropsWithChildren<ListProps & {
|
|
472
472
|
styleType?: StyleType$1;
|
|
473
473
|
}>;
|
|
474
|
-
declare const OrderedList: FC<Props$
|
|
474
|
+
declare const OrderedList: FC<Props$s>;
|
|
475
475
|
|
|
476
476
|
declare const styleTypes: readonly ["disc", "circle", "square", "initial"];
|
|
477
477
|
type StyleType = (typeof styleTypes)[number];
|
|
478
|
-
type Props$
|
|
478
|
+
type Props$r = PropsWithChildren<ListProps & {
|
|
479
479
|
styleType?: StyleType;
|
|
480
480
|
}>;
|
|
481
|
-
declare const UnorderedList: FC<Props$
|
|
481
|
+
declare const UnorderedList: FC<Props$r>;
|
|
482
482
|
|
|
483
483
|
type SearchFieldOptions = {
|
|
484
484
|
placeholder?: string;
|
|
@@ -517,7 +517,7 @@ type ListItemType = CheckboxListItem | RadioButtonListItem;
|
|
|
517
517
|
type ListItemWithChildren = ListItemType & {
|
|
518
518
|
children?: ListItemType[];
|
|
519
519
|
};
|
|
520
|
-
type Props$
|
|
520
|
+
type Props$q = {
|
|
521
521
|
listItems: ListItemWithChildren[];
|
|
522
522
|
NoResults?: FC;
|
|
523
523
|
EmptyQueryPlaceholder?: FC;
|
|
@@ -529,7 +529,7 @@ type Props$r = {
|
|
|
529
529
|
};
|
|
530
530
|
listRef?: React.RefObject<HTMLUListElement | null>;
|
|
531
531
|
};
|
|
532
|
-
declare const SearchableList: React.ForwardRefExoticComponent<Props$
|
|
532
|
+
declare const SearchableList: React.ForwardRefExoticComponent<Props$q & React.RefAttributes<HTMLInputElement>>;
|
|
533
533
|
|
|
534
534
|
interface MenuItem {
|
|
535
535
|
text: JSX.Element | string;
|
|
@@ -550,12 +550,12 @@ declare const Menu: FC<MenuProps>;
|
|
|
550
550
|
|
|
551
551
|
declare const MissingImage: FC;
|
|
552
552
|
|
|
553
|
-
type Props$
|
|
553
|
+
type Props$p = {
|
|
554
554
|
totalPages: number;
|
|
555
555
|
currentPage: number;
|
|
556
556
|
onChange: (page: number) => void;
|
|
557
557
|
} & Pick<BoxProps, 'marginTop' | 'marginBottom'>;
|
|
558
|
-
declare const Pagination: FC<PropsWithChildren<Props$
|
|
558
|
+
declare const Pagination: FC<PropsWithChildren<Props$p>>;
|
|
559
559
|
|
|
560
560
|
type ContentPadding = '2xl' | 0;
|
|
561
561
|
type MaxWidth = '6xl' | '8xl';
|
|
@@ -641,7 +641,7 @@ declare const PopoverFilter: FC<PopoverFilterProps>;
|
|
|
641
641
|
type OpenFilterButtonPaddingX = '0' | 'md';
|
|
642
642
|
type OpenFilterButtonDisplayType = 'default' | 'inline';
|
|
643
643
|
type Variant = 'sm' | 'md';
|
|
644
|
-
type Props$
|
|
644
|
+
type Props$o = Pick<FilterPatternProps, 'label' | 'displayValue' | 'Icon' | 'isApplied'> & Pick<ButtonProps$1, 'backgroundColor' | 'color'> & {
|
|
645
645
|
appliedLabel?: string;
|
|
646
646
|
onClick: () => void;
|
|
647
647
|
variant?: Variant;
|
|
@@ -653,7 +653,7 @@ type Props$p = Pick<FilterPatternProps, 'label' | 'displayValue' | 'Icon' | 'isA
|
|
|
653
653
|
onResetFilter?: () => void;
|
|
654
654
|
displayType?: OpenFilterButtonDisplayType;
|
|
655
655
|
};
|
|
656
|
-
declare const OpenFilterButton: FC<Props$
|
|
656
|
+
declare const OpenFilterButton: FC<Props$o>;
|
|
657
657
|
|
|
658
658
|
type ModalFilterProps = FilterPatternProps & Omit<ActionButtonProps, 'onClose'> & {
|
|
659
659
|
onModalOpen?: () => void;
|
|
@@ -670,14 +670,14 @@ type ModalFilterProps = FilterPatternProps & Omit<ActionButtonProps, 'onClose'>
|
|
|
670
670
|
|
|
671
671
|
declare const ModalFilter: FC<ModalFilterProps>;
|
|
672
672
|
|
|
673
|
-
type Props$
|
|
673
|
+
type Props$n = {
|
|
674
674
|
onClose?: () => void;
|
|
675
675
|
language: Language$1;
|
|
676
676
|
contentRef?: RefObject<HTMLElement | null>;
|
|
677
677
|
} & Pick<FilterPatternProps, 'Icon' | 'isApplied' | 'label' | 'numberOfAppliedFilters' | 'onResetFilter'>;
|
|
678
|
-
declare const FilterHeading: FC<Props$
|
|
678
|
+
declare const FilterHeading: FC<Props$n>;
|
|
679
679
|
|
|
680
|
-
interface Props$
|
|
680
|
+
interface Props$m {
|
|
681
681
|
name?: string;
|
|
682
682
|
value: string;
|
|
683
683
|
label?: string;
|
|
@@ -688,45 +688,13 @@ interface Props$n {
|
|
|
688
688
|
isDisabled?: boolean;
|
|
689
689
|
variant?: 'fontRegular' | 'fontBold';
|
|
690
690
|
}
|
|
691
|
-
declare const Radio: React.ForwardRefExoticComponent<Props$
|
|
691
|
+
declare const Radio: React.ForwardRefExoticComponent<Props$m & React.RefAttributes<HTMLInputElement>>;
|
|
692
692
|
|
|
693
693
|
type RadioListProps = {
|
|
694
694
|
options: JSX.Element[];
|
|
695
695
|
} & Pick<UseRadioGroupProps, 'name' | 'defaultValue' | 'onChange'>;
|
|
696
696
|
declare const RadioList: FC<RadioListProps>;
|
|
697
697
|
|
|
698
|
-
type FollowUpProps = {
|
|
699
|
-
id: string;
|
|
700
|
-
name: string;
|
|
701
|
-
options: {
|
|
702
|
-
label: string;
|
|
703
|
-
value: string;
|
|
704
|
-
}[];
|
|
705
|
-
groupLabel: string;
|
|
706
|
-
tooltip?: string;
|
|
707
|
-
hint?: string;
|
|
708
|
-
};
|
|
709
|
-
type Option$1 = {
|
|
710
|
-
label: string;
|
|
711
|
-
value: string;
|
|
712
|
-
};
|
|
713
|
-
type Props$m<TOptions extends readonly Option$1[] = Option$1[]> = {
|
|
714
|
-
id: string;
|
|
715
|
-
name: string;
|
|
716
|
-
values: Record<string, string>;
|
|
717
|
-
onChange: (values: Record<string, string>) => void;
|
|
718
|
-
options: TOptions;
|
|
719
|
-
groupLabel: string;
|
|
720
|
-
tooltip?: string;
|
|
721
|
-
errorMessage?: string;
|
|
722
|
-
hint?: string;
|
|
723
|
-
followUps?: Partial<Record<TOptions[number]['value'], FollowUpProps>>;
|
|
724
|
-
recurring?: boolean;
|
|
725
|
-
};
|
|
726
|
-
declare const QuestionWithFollowUp: React.ForwardRefExoticComponent<Props$m<Option$1[]> & {
|
|
727
|
-
children?: React.ReactNode | undefined;
|
|
728
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
729
|
-
|
|
730
698
|
type RangeFilterInputField<Name> = {
|
|
731
699
|
name: Name;
|
|
732
700
|
value?: number | null;
|
|
@@ -1035,7 +1003,6 @@ type Props$4 = {
|
|
|
1035
1003
|
label?: string;
|
|
1036
1004
|
hint?: string;
|
|
1037
1005
|
tooltip?: string;
|
|
1038
|
-
recurring?: boolean;
|
|
1039
1006
|
};
|
|
1040
1007
|
declare const FormControlSection: FC<PropsWithChildren<Props$4>>;
|
|
1041
1008
|
|
|
@@ -1456,5 +1423,5 @@ declare class Logger {
|
|
|
1456
1423
|
}
|
|
1457
1424
|
declare const logger: Logger;
|
|
1458
1425
|
|
|
1459
|
-
export { Accordion, AccordionButton, AccordionItem, AccordionPanel, AddPhotoIcon, AdvancedSearchIcon, Alert, AndroidIcon, AppLayout, AppLayoutContent, AppLayoutFooter, AppLayoutHeader, AppleIcon, ArrowCircleIcon, ArrowDiagonalIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArticleTeaser, AutoScout24AppLogo, AutoScout24Icon, AvatarIcon, AvatarWithNotificationIcon, Badge, BalanceIcon, BankNotesIcon, BatteryIcon, BookmarkIcon, BreadcrumbLink, Breadcrumbs, BulbIcon, Button, CabrioletIcon, CalculatorIcon, CalendarIcon, CallIcon, CamperIcon, CarConditionIcon, CarIcon, Carousel, CartIcon, CategoryAIcon, CategoryAMinusIcon, CategoryAOneIcon, Center, ChartIcon, ChatBubbleIcon, CheckShieldIcon, Checkbox, CheckboxFilter, CheckboxGroup, CheckmarkCircleColorIcon, CheckmarkCircleIcon, CheckmarkIcon, ChevronDownLargeIcon, ChevronDownSmallIcon, ChevronLeftLargeIcon, ChevronLeftSmallIcon, ChevronRightLargeIcon, ChevronRightSmallIcon, ChevronRightTinyIcon, ChevronUpLargeIcon, ChevronUpSmallIcon, ChfCurrencyIcon, Chip, CloseIcon, CollapseIcon, ColorPicker, CompareIcon, ConsumptionIcon, CopyIcon, Count, CoupeIcon, CreditCardIcon, CreditIcon, DatePicker, DaylightIcon, DeleteIcon, DevOverlay, DigitalContractIcon, DiscreteSlider, DocumentCheckIcon, DocumentIcon, DoubleChevronDownIcon, DoubleChevronUpIcon, DoubleLineIcon, DownloadIcon, DragIcon, Drawer, DrawerBody, DrawerContent, DrawerOverlay, DriveSystemIcon, DriveSystemLargeIcon, DriveTypeIcon, EnergyLabel, EquipmentIcon, ErrorIcon, ErrorPage, ExchangeIcon, ExpandIcon, EyeCrossedIcon, EyeIcon, FacebookIcon, FilterHeading, FlagIcon, FlameIcon, FlashIcon, Flex, FocusedHeader, Footer, FormControl, FormControlSection, FormLabel, ForwardIcon, FullHeight, GalleryHeader, GarageIcon, GasStationIcon, GlobeIcon, GoogleIcon, Grid, GridItem, H1, H2, H3, H4, H5, H6, HamburgerMenuIcon, Navigation as HeaderNavigation, HeartIcon, Hide, HighlightedText, HistoryClockIcon, HouseIcon, ImageIcon, InfinityCircleIcon, InfoIcon, InformationBubbleIcon, InformationIcon, Input, SingleColumnCenteredLayout as InsertionLayout, InstagramIcon, InteriorIcon, LabelIcon, LayoutWithVehicleReference, Link, LinkedinIcon, List, ListIcon, LocationPinIcon, LockIcon, LogoutIcon, MagnifierIcon, MagnifierLargeIcon, MarkedText, Menu, MessageIcon, MiniVanIcon, MinusIcon, MissingImage, MissingImageIcon, Modal, ModalCloseButton, ModalFilter, MotoScout24AppLogo, MotoScout24Icon, MotorcycleIcon, NoPhotoIcon, NotAvailableIcon, NotAvailableSquareIcon, OpenFilterButton, OptimizerIcon, OrderedList, OverflowVerticalIcon, PageLayout, Pagination, PaginationType, ParagraphIcon, PartialClockIcon, PenIcon, PickUpIcon, PlusCircleIcon, PlusIcon, Popover, PopoverFilter, PrintIcon, QualitySealIcon,
|
|
1460
|
-
export type { Item as CheckboxFilterItem, CountVariant, ListItemWithChildren, Option, Props$
|
|
1426
|
+
export { Accordion, AccordionButton, AccordionItem, AccordionPanel, AddPhotoIcon, AdvancedSearchIcon, Alert, AndroidIcon, AppLayout, AppLayoutContent, AppLayoutFooter, AppLayoutHeader, AppleIcon, ArrowCircleIcon, ArrowDiagonalIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArticleTeaser, AutoScout24AppLogo, AutoScout24Icon, AvatarIcon, AvatarWithNotificationIcon, Badge, BalanceIcon, BankNotesIcon, BatteryIcon, BookmarkIcon, BreadcrumbLink, Breadcrumbs, BulbIcon, Button, CabrioletIcon, CalculatorIcon, CalendarIcon, CallIcon, CamperIcon, CarConditionIcon, CarIcon, Carousel, CartIcon, CategoryAIcon, CategoryAMinusIcon, CategoryAOneIcon, Center, ChartIcon, ChatBubbleIcon, CheckShieldIcon, Checkbox, CheckboxFilter, CheckboxGroup, CheckmarkCircleColorIcon, CheckmarkCircleIcon, CheckmarkIcon, ChevronDownLargeIcon, ChevronDownSmallIcon, ChevronLeftLargeIcon, ChevronLeftSmallIcon, ChevronRightLargeIcon, ChevronRightSmallIcon, ChevronRightTinyIcon, ChevronUpLargeIcon, ChevronUpSmallIcon, ChfCurrencyIcon, Chip, CloseIcon, CollapseIcon, ColorPicker, CompareIcon, ConsumptionIcon, CopyIcon, Count, CoupeIcon, CreditCardIcon, CreditIcon, DatePicker, DaylightIcon, DeleteIcon, DevOverlay, DigitalContractIcon, DiscreteSlider, DocumentCheckIcon, DocumentIcon, DoubleChevronDownIcon, DoubleChevronUpIcon, DoubleLineIcon, DownloadIcon, DragIcon, Drawer, DrawerBody, DrawerContent, DrawerOverlay, DriveSystemIcon, DriveSystemLargeIcon, DriveTypeIcon, EnergyLabel, EquipmentIcon, ErrorIcon, ErrorPage, ExchangeIcon, ExpandIcon, EyeCrossedIcon, EyeIcon, FacebookIcon, FilterHeading, FlagIcon, FlameIcon, FlashIcon, Flex, FocusedHeader, Footer, FormControl, FormControlSection, FormLabel, ForwardIcon, FullHeight, GalleryHeader, GarageIcon, GasStationIcon, GlobeIcon, GoogleIcon, Grid, GridItem, H1, H2, H3, H4, H5, H6, HamburgerMenuIcon, Navigation as HeaderNavigation, HeartIcon, Hide, HighlightedText, HistoryClockIcon, HouseIcon, ImageIcon, InfinityCircleIcon, InfoIcon, InformationBubbleIcon, InformationIcon, Input, SingleColumnCenteredLayout as InsertionLayout, InstagramIcon, InteriorIcon, LabelIcon, LayoutWithVehicleReference, Link, LinkedinIcon, List, ListIcon, LocationPinIcon, LockIcon, LogoutIcon, MagnifierIcon, MagnifierLargeIcon, MarkedText, Menu, MessageIcon, MiniVanIcon, MinusIcon, MissingImage, MissingImageIcon, Modal, ModalCloseButton, ModalFilter, MotoScout24AppLogo, MotoScout24Icon, MotorcycleIcon, NoPhotoIcon, NotAvailableIcon, NotAvailableSquareIcon, OpenFilterButton, OptimizerIcon, OrderedList, OverflowVerticalIcon, PageLayout, Pagination, PaginationType, ParagraphIcon, PartialClockIcon, PenIcon, PickUpIcon, PlusCircleIcon, PlusIcon, Popover, PopoverFilter, PrintIcon, QualitySealIcon, Radio, RadioList, RangeFilterInput, RangeFilterInputWithSlider, RangeIcon, RangeSlider, Rating, RoadIcon, RocketIcon, RotateIcon, SafeNumberIcon, SaveSearchIcon, ScreenIcon, SearchField, SearchableList, Section, SedanIcon, Select, SelectMenu, ShareIcon, Show, SimpleGrid, SimpleHeader, Skeleton, SmallCarIcon, SortIcon, SpeakerIcon, Spinner, Stack, StarCircleIcon, StarIcon, SteeringWheelIcon, SuvIcon, SwissFlagIcon, Switch, Tab, TabList, TabPanel, TabPanels, Tabs, TenantSelection, Textarea, ThemeProvider, ThreeSixtyIcon, ThumbsDownIcon, ThumbsUpIcon, TiltedRectangleIcon, TimeIcon, TimePicker, Tooltip, TooltipIcon, TopListingBadge, TopListingIcon, TopVehicleSharedBadge, TrailerIcon, TransmissionIcon, TrashIcon, TriangleIcon, TruckIcon, TwitterIcon, TwoColumnsLayout, UnorderedList, UserTypeExternal, UtilityVehicleIcon, VanIcon, VehiclePowerIcon, VehicleReference, VehicleTypesMotorcycleIcon, VehicleTypesMotorcycleStarIcon, VideoCameraIcon, VideoIcon, ViewCarIcon, ViewMotorcycleIcon, WagonIcon, WarningIcon, WarrantyIcon, WhatsAppIcon, WindowsIcon, YoutubeIcon, autoScout24Theme, breakpoints, convertRemEmToPx, logger, motoScout24Theme, repeatArea, useDebouncedOnChange, useFocusWhenVisible, useMediaQuery, useToast };
|
|
1427
|
+
export type { Item as CheckboxFilterItem, CountVariant, ListItemWithChildren, Option, Props$E as Props, SearchFieldOptions, TenantSelectionProps, Props$3 as ThemeProviderProps };
|
package/package.json
CHANGED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type FollowUpProps = {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
options: {
|
|
6
|
-
label: string;
|
|
7
|
-
value: string;
|
|
8
|
-
}[];
|
|
9
|
-
groupLabel: string;
|
|
10
|
-
tooltip?: string;
|
|
11
|
-
hint?: string;
|
|
12
|
-
};
|
|
13
|
-
export type Option = {
|
|
14
|
-
label: string;
|
|
15
|
-
value: string;
|
|
16
|
-
};
|
|
17
|
-
export type Props<TOptions extends readonly Option[] = Option[]> = {
|
|
18
|
-
id: string;
|
|
19
|
-
name: string;
|
|
20
|
-
values: Record<string, string>;
|
|
21
|
-
onChange: (values: Record<string, string>) => void;
|
|
22
|
-
options: TOptions;
|
|
23
|
-
groupLabel: string;
|
|
24
|
-
tooltip?: string;
|
|
25
|
-
errorMessage?: string;
|
|
26
|
-
hint?: string;
|
|
27
|
-
followUps?: Partial<Record<TOptions[number]['value'], FollowUpProps>>;
|
|
28
|
-
recurring?: boolean;
|
|
29
|
-
};
|
|
30
|
-
declare const QuestionWithFollowUp: React.ForwardRefExoticComponent<Props<Option[]> & {
|
|
31
|
-
children?: React.ReactNode | undefined;
|
|
32
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
33
|
-
export default QuestionWithFollowUp;
|
|
34
|
-
//# sourceMappingURL=QuestionWithFollowUp.d.ts.map
|
|
@@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zB,CAAC;AAGF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type FollowUpProps = {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
options: {
|
|
6
|
-
label: string;
|
|
7
|
-
value: string;
|
|
8
|
-
}[];
|
|
9
|
-
groupLabel: string;
|
|
10
|
-
tooltip?: string;
|
|
11
|
-
hint?: string;
|
|
12
|
-
};
|
|
13
|
-
export type Option = {
|
|
14
|
-
label: string;
|
|
15
|
-
value: string;
|
|
16
|
-
};
|
|
17
|
-
export type Props<TOptions extends readonly Option[] = Option[]> = {
|
|
18
|
-
id: string;
|
|
19
|
-
name: string;
|
|
20
|
-
values: Record<string, string>;
|
|
21
|
-
onChange: (values: Record<string, string>) => void;
|
|
22
|
-
options: TOptions;
|
|
23
|
-
groupLabel: string;
|
|
24
|
-
tooltip?: string;
|
|
25
|
-
errorMessage?: string;
|
|
26
|
-
hint?: string;
|
|
27
|
-
followUps?: Partial<Record<TOptions[number]['value'], FollowUpProps>>;
|
|
28
|
-
recurring?: boolean;
|
|
29
|
-
};
|
|
30
|
-
declare const QuestionWithFollowUp: React.ForwardRefExoticComponent<Props<Option[]> & {
|
|
31
|
-
children?: React.ReactNode | undefined;
|
|
32
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
33
|
-
export default QuestionWithFollowUp;
|
|
34
|
-
//# sourceMappingURL=QuestionWithFollowUp.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionWithFollowUp.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/QuestionWithFollowUp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAS7D,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtD,MAAM,MAAM,KAAK,CAAC,QAAQ,SAAS,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,IAAI;IACjE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;IACnD,OAAO,EAAE,QAAQ,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC;IACtE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,oBAAoB;;0CA+EzB,CAAC;AAGF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { __assign } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import React, { forwardRef } from 'react';
|
|
3
|
-
import FormControlSection from '../formControlSection/index.js';
|
|
4
|
-
import Flex from '../flex/index.js';
|
|
5
|
-
import { RadioGroup, Divider } from '@chakra-ui/react';
|
|
6
|
-
import Radio from './index.js';
|
|
7
|
-
|
|
8
|
-
var QuestionWithFollowUp = forwardRef(function (_a, ref) {
|
|
9
|
-
var name = _a.name, values = _a.values, onChange = _a.onChange, options = _a.options, groupLabel = _a.groupLabel, tooltip = _a.tooltip, id = _a.id, errorMessage = _a.errorMessage, hint = _a.hint, followUps = _a.followUps, recurring = _a.recurring;
|
|
10
|
-
var currentValue = values[id];
|
|
11
|
-
var handleChange = function (groupId, value) {
|
|
12
|
-
var _a;
|
|
13
|
-
var newValues = __assign(__assign({}, values), (_a = {}, _a[groupId] = value, _a));
|
|
14
|
-
if (followUps) {
|
|
15
|
-
for (var _i = 0, _b = Object.entries(followUps); _i < _b.length; _i++) {
|
|
16
|
-
var _c = _b[_i], key = _c[0], followUp = _c[1];
|
|
17
|
-
if (!followUp)
|
|
18
|
-
continue;
|
|
19
|
-
if (key !== value && followUp.id in newValues) {
|
|
20
|
-
delete newValues[followUp.id];
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
onChange(newValues);
|
|
25
|
-
};
|
|
26
|
-
return (React.createElement(FormControlSection, { id: id, errorMessage: errorMessage, label: groupLabel, hint: hint, tooltip: tooltip, recurring: recurring },
|
|
27
|
-
React.createElement(RadioGroup, { value: currentValue || '', onChange: function (value) { return handleChange(id, value); } },
|
|
28
|
-
React.createElement(Flex, { flexDirection: "column" },
|
|
29
|
-
options.map(function (_a) {
|
|
30
|
-
var label = _a.label, value = _a.value;
|
|
31
|
-
return (React.createElement(Radio, { key: value, name: name, value: value, isChecked: value === currentValue, ref: ref, label: label, isInvalid: false }));
|
|
32
|
-
}),
|
|
33
|
-
(followUps === null || followUps === void 0 ? void 0 : followUps[currentValue]) ? (React.createElement(React.Fragment, null,
|
|
34
|
-
React.createElement(Divider, { marginY: "xl" }),
|
|
35
|
-
React.createElement(QuestionWithFollowUp, __assign({}, followUps[currentValue], { values: values, onChange: onChange, recurring: true })))) : null))));
|
|
36
|
-
});
|
|
37
|
-
Radio.displayName = 'QuestionWithFollowUp';
|
|
38
|
-
|
|
39
|
-
export { QuestionWithFollowUp as default };
|
|
40
|
-
//# sourceMappingURL=QuestionWithFollowUp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionWithFollowUp.js","sources":["../../../../../src/components/radio/QuestionWithFollowUp.tsx"],"sourcesContent":[null],"names":["ChakraRadioGroup"],"mappings":";;;;;;;AAkCA,IAAM,oBAAoB,GAAG,UAAU,CAIrC,UACE,EAYC,EACD,GAAG,EAAA;AAZD,IAAA,IAAA,IAAI,GAAA,EAAA,CAAA,IAAA,EACJ,MAAM,GAAA,EAAA,CAAA,MAAA,EACN,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,OAAO,GAAA,EAAA,CAAA,OAAA,EACP,UAAU,gBAAA,EACV,OAAO,GAAA,EAAA,CAAA,OAAA,EACP,EAAE,GAAA,EAAA,CAAA,EAAA,EACF,YAAY,GAAA,EAAA,CAAA,YAAA,EACZ,IAAI,GAAA,EAAA,CAAA,IAAA,EACJ,SAAS,GAAA,EAAA,CAAA,SAAA,EACT,SAAS,GAAA,EAAA,CAAA,SAAA;AAIX,IAAA,IAAM,YAAY,GAAG,MAAM,CAAC,EAAE,CAAC;AAE/B,IAAA,IAAM,YAAY,GAAG,UAAC,OAAe,EAAE,KAAa,EAAA;;QAClD,IAAM,SAAS,yBAAQ,MAAM,CAAA,GAAA,EAAA,GAAA,EAAA,EAAA,EAAA,CAAG,OAAO,CAAA,GAAG,KAAK,MAAE;QAEjD,IAAI,SAAS,EAAE;AACb,YAAA,KAA8B,IAAA,EAAA,GAAA,CAAyB,EAAzB,EAAA,GAAA,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,EAAzB,EAAA,GAAA,EAAA,CAAA,MAAyB,EAAzB,EAAA,EAAyB,EAAE;AAA9C,gBAAA,IAAA,WAAe,EAAd,GAAG,GAAA,EAAA,CAAA,CAAA,CAAA,EAAE,QAAQ,GAAA,EAAA,CAAA,CAAA,CAAA;AACvB,gBAAA,IAAI,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