@bytebrand/fe-ui-core-autobahn 1.0.212 → 1.0.214
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/cards/CarCard.tsx +13 -51
- package/cards/CarRow.tsx +1 -5
- package/cards/cardParts.tsx +1358 -1368
- package/cards/types.ts +182 -182
- package/constants/app.ts +1 -11
- package/constants/core.ts +1 -12
- package/data/toAutobahnCar.ts +600 -600
- package/locales/de/autobahn.json +901 -891
- package/locales/en/autobahn.json +901 -891
- package/package.json +2 -2
- package/theme/md3.css +15986 -15678
- package/ui/CreditKeyFigures.tsx +244 -244
- package/ui/Stars.tsx +36 -18
- package/ui/index.ts +96 -96
- package/vdp/FinanceCalculator.tsx +1148 -1148
- package/vdp/VdpModules.tsx +4605 -3869
- package/vdp/index.ts +9 -0
- package/vdp/types.ts +32 -2
package/ui/index.ts
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
// Autobahn (auto.de redesign) — presentational UI primitives.
|
|
2
|
-
//
|
|
3
|
-
// Typed, pure React 18 + TS port of the design kit's primitives from
|
|
4
|
-
// docs/redesign/design-source/ui_kits/website/ui.jsx. The original kit exported
|
|
5
|
-
// everything via `Object.assign(window, {...})`; here each primitive is a real
|
|
6
|
-
// ES module with an explicit props interface, re-exported below.
|
|
7
|
-
//
|
|
8
|
-
// SCOPING — IMPORTANT:
|
|
9
|
-
// These components rely on the scoped CSS layer at
|
|
10
|
-
// services/fe-main/source/theme/autobahn/ (md3.css)
|
|
11
|
-
// where EVERY utility class is scoped under `.md3` (e.g. `.md3 .mbtn`,
|
|
12
|
-
// `.md3 .chip`, `.md3 .statchip--good`, `.md3 .segmented .on`, `.md3 .mfield`,
|
|
13
|
-
// `.md3 .num`, `.md3 .car-arrow`, `.md3 .imglabel`, `.md3 .md-title`, …).
|
|
14
|
-
// They therefore ONLY render correctly inside a `<div className="md3">` subtree.
|
|
15
|
-
//
|
|
16
|
-
// All components are pure/presentational: no store, no API, no window access.
|
|
17
|
-
|
|
18
|
-
export { default as Icon } from './Icon';
|
|
19
|
-
export type { IconProps } from './Icon';
|
|
20
|
-
|
|
21
|
-
export { default as Button } from './Button';
|
|
22
|
-
export type { ButtonProps, ButtonVariant, ButtonSize } from './Button';
|
|
23
|
-
|
|
24
|
-
export { default as IconButton } from './IconButton';
|
|
25
|
-
export type { IconButtonProps } from './IconButton';
|
|
26
|
-
|
|
27
|
-
export { default as Chip } from './Chip';
|
|
28
|
-
export type { ChipProps } from './Chip';
|
|
29
|
-
|
|
30
|
-
export { default as StatChip } from './StatChip';
|
|
31
|
-
export type { StatChipProps, StatChipTone } from './StatChip';
|
|
32
|
-
|
|
33
|
-
export { default as CreditCostNotice, CREDIT_COST_WARNING_DE } from './CreditCostNotice';
|
|
34
|
-
export type { CreditCostNoticeProps, CreditCostNoticeTone, CreditCostNoticeSize } from './CreditCostNotice';
|
|
35
|
-
|
|
36
|
-
export { default as CreditKeyFigures, creditKeyFigureLines, hasCreditKeyFigures, leasingKeyFigures } from './CreditKeyFigures';
|
|
37
|
-
export type { CreditKeyFiguresProps, CreditKeyFiguresData, LeasingKeyFigureInputs } from './CreditKeyFigures';
|
|
38
|
-
|
|
39
|
-
export { default as Segmented } from './Segmented';
|
|
40
|
-
export type { SegmentedProps, SegmentedOption } from './Segmented';
|
|
41
|
-
|
|
42
|
-
export { default as FormField } from './FormField';
|
|
43
|
-
export type { FormFieldProps } from './FormField';
|
|
44
|
-
|
|
45
|
-
export { default as Dropdown } from './Dropdown';
|
|
46
|
-
export type { DropdownProps, DropdownOption } from './Dropdown';
|
|
47
|
-
|
|
48
|
-
export { scrollFieldIntoView } from './scrollFieldIntoView';
|
|
49
|
-
|
|
50
|
-
export { default as Spec } from './Spec';
|
|
51
|
-
export type { SpecProps } from './Spec';
|
|
52
|
-
|
|
53
|
-
export { default as Price } from './Price';
|
|
54
|
-
export type { PriceProps } from './Price';
|
|
55
|
-
|
|
56
|
-
export { default as Stars } from './Stars';
|
|
57
|
-
export type { StarsProps } from './Stars';
|
|
58
|
-
|
|
59
|
-
export { default as PriceEvalBar } from './PriceEvalBar';
|
|
60
|
-
export type { PriceEvalBarProps } from './PriceEvalBar';
|
|
61
|
-
|
|
62
|
-
export { default as SaveChip } from './SaveChip';
|
|
63
|
-
export type { SaveChipProps } from './SaveChip';
|
|
64
|
-
|
|
65
|
-
export { default as CardCarousel } from './CardCarousel';
|
|
66
|
-
export type { CardCarouselProps } from './CardCarousel';
|
|
67
|
-
|
|
68
|
-
// ── md3 kit (Group-B in-place rebuild) — form-bound + layout + overlay primitives ──
|
|
69
|
-
export { default as FormDropdown } from './FormDropdown';
|
|
70
|
-
export type { FormDropdownProps } from './FormDropdown';
|
|
71
|
-
export { default as FormCheckbox } from './FormCheckbox';
|
|
72
|
-
export type { FormCheckboxProps } from './FormCheckbox';
|
|
73
|
-
export { default as FormRadioGroup } from './FormRadioGroup';
|
|
74
|
-
export type { FormRadioGroupProps } from './FormRadioGroup';
|
|
75
|
-
export { default as FormRadio } from './FormRadio';
|
|
76
|
-
export type { FormRadioProps } from './FormRadio';
|
|
77
|
-
export { default as Accordion } from './Accordion';
|
|
78
|
-
export type { AccordionProps } from './Accordion';
|
|
79
|
-
export { default as Modal } from './Modal';
|
|
80
|
-
export type { ModalProps, ModalSize } from './Modal';
|
|
81
|
-
export { default as DatePicker } from './DatePicker';
|
|
82
|
-
export type { DatePickerProps } from './DatePicker';
|
|
83
|
-
export { default as Table, Thead, Tbody, Tr, Th, Td } from './Table';
|
|
84
|
-
export type { TableProps, TheadProps, TbodyProps, TrProps, ThProps, TdProps, TableAlign } from './Table';
|
|
85
|
-
export { default as Switch } from './Switch';
|
|
86
|
-
export type { SwitchProps } from './Switch';
|
|
87
|
-
export { default as Textarea } from './Textarea';
|
|
88
|
-
export type { TextareaProps } from './Textarea';
|
|
89
|
-
export { default as Pagination } from './Pagination';
|
|
90
|
-
export type { PaginationProps } from './Pagination';
|
|
91
|
-
export { default as Stepper } from './Stepper';
|
|
92
|
-
export type { StepperProps, StepperStep, StepStatus } from './Stepper';
|
|
93
|
-
export { default as FileUpload } from './FileUpload';
|
|
94
|
-
export type { FileUploadProps } from './FileUpload';
|
|
95
|
-
export { default as Skeleton } from './Skeleton';
|
|
96
|
-
export type { SkeletonProps } from './Skeleton';
|
|
1
|
+
// Autobahn (auto.de redesign) — presentational UI primitives.
|
|
2
|
+
//
|
|
3
|
+
// Typed, pure React 18 + TS port of the design kit's primitives from
|
|
4
|
+
// docs/redesign/design-source/ui_kits/website/ui.jsx. The original kit exported
|
|
5
|
+
// everything via `Object.assign(window, {...})`; here each primitive is a real
|
|
6
|
+
// ES module with an explicit props interface, re-exported below.
|
|
7
|
+
//
|
|
8
|
+
// SCOPING — IMPORTANT:
|
|
9
|
+
// These components rely on the scoped CSS layer at
|
|
10
|
+
// services/fe-main/source/theme/autobahn/ (md3.css)
|
|
11
|
+
// where EVERY utility class is scoped under `.md3` (e.g. `.md3 .mbtn`,
|
|
12
|
+
// `.md3 .chip`, `.md3 .statchip--good`, `.md3 .segmented .on`, `.md3 .mfield`,
|
|
13
|
+
// `.md3 .num`, `.md3 .car-arrow`, `.md3 .imglabel`, `.md3 .md-title`, …).
|
|
14
|
+
// They therefore ONLY render correctly inside a `<div className="md3">` subtree.
|
|
15
|
+
//
|
|
16
|
+
// All components are pure/presentational: no store, no API, no window access.
|
|
17
|
+
|
|
18
|
+
export { default as Icon } from './Icon';
|
|
19
|
+
export type { IconProps } from './Icon';
|
|
20
|
+
|
|
21
|
+
export { default as Button } from './Button';
|
|
22
|
+
export type { ButtonProps, ButtonVariant, ButtonSize } from './Button';
|
|
23
|
+
|
|
24
|
+
export { default as IconButton } from './IconButton';
|
|
25
|
+
export type { IconButtonProps } from './IconButton';
|
|
26
|
+
|
|
27
|
+
export { default as Chip } from './Chip';
|
|
28
|
+
export type { ChipProps } from './Chip';
|
|
29
|
+
|
|
30
|
+
export { default as StatChip } from './StatChip';
|
|
31
|
+
export type { StatChipProps, StatChipTone } from './StatChip';
|
|
32
|
+
|
|
33
|
+
export { default as CreditCostNotice, CREDIT_COST_WARNING_DE } from './CreditCostNotice';
|
|
34
|
+
export type { CreditCostNoticeProps, CreditCostNoticeTone, CreditCostNoticeSize } from './CreditCostNotice';
|
|
35
|
+
|
|
36
|
+
export { default as CreditKeyFigures, creditKeyFigureLines, hasCreditKeyFigures, leasingKeyFigures } from './CreditKeyFigures';
|
|
37
|
+
export type { CreditKeyFiguresProps, CreditKeyFiguresData, LeasingKeyFigureInputs } from './CreditKeyFigures';
|
|
38
|
+
|
|
39
|
+
export { default as Segmented } from './Segmented';
|
|
40
|
+
export type { SegmentedProps, SegmentedOption } from './Segmented';
|
|
41
|
+
|
|
42
|
+
export { default as FormField } from './FormField';
|
|
43
|
+
export type { FormFieldProps } from './FormField';
|
|
44
|
+
|
|
45
|
+
export { default as Dropdown } from './Dropdown';
|
|
46
|
+
export type { DropdownProps, DropdownOption } from './Dropdown';
|
|
47
|
+
|
|
48
|
+
export { scrollFieldIntoView } from './scrollFieldIntoView';
|
|
49
|
+
|
|
50
|
+
export { default as Spec } from './Spec';
|
|
51
|
+
export type { SpecProps } from './Spec';
|
|
52
|
+
|
|
53
|
+
export { default as Price } from './Price';
|
|
54
|
+
export type { PriceProps } from './Price';
|
|
55
|
+
|
|
56
|
+
export { default as Stars } from './Stars';
|
|
57
|
+
export type { StarsProps } from './Stars';
|
|
58
|
+
|
|
59
|
+
export { default as PriceEvalBar } from './PriceEvalBar';
|
|
60
|
+
export type { PriceEvalBarProps } from './PriceEvalBar';
|
|
61
|
+
|
|
62
|
+
export { default as SaveChip } from './SaveChip';
|
|
63
|
+
export type { SaveChipProps } from './SaveChip';
|
|
64
|
+
|
|
65
|
+
export { default as CardCarousel } from './CardCarousel';
|
|
66
|
+
export type { CardCarouselProps } from './CardCarousel';
|
|
67
|
+
|
|
68
|
+
// ── md3 kit (Group-B in-place rebuild) — form-bound + layout + overlay primitives ──
|
|
69
|
+
export { default as FormDropdown } from './FormDropdown';
|
|
70
|
+
export type { FormDropdownProps } from './FormDropdown';
|
|
71
|
+
export { default as FormCheckbox } from './FormCheckbox';
|
|
72
|
+
export type { FormCheckboxProps } from './FormCheckbox';
|
|
73
|
+
export { default as FormRadioGroup } from './FormRadioGroup';
|
|
74
|
+
export type { FormRadioGroupProps } from './FormRadioGroup';
|
|
75
|
+
export { default as FormRadio } from './FormRadio';
|
|
76
|
+
export type { FormRadioProps } from './FormRadio';
|
|
77
|
+
export { default as Accordion } from './Accordion';
|
|
78
|
+
export type { AccordionProps } from './Accordion';
|
|
79
|
+
export { default as Modal } from './Modal';
|
|
80
|
+
export type { ModalProps, ModalSize } from './Modal';
|
|
81
|
+
export { default as DatePicker } from './DatePicker';
|
|
82
|
+
export type { DatePickerProps } from './DatePicker';
|
|
83
|
+
export { default as Table, Thead, Tbody, Tr, Th, Td } from './Table';
|
|
84
|
+
export type { TableProps, TheadProps, TbodyProps, TrProps, ThProps, TdProps, TableAlign } from './Table';
|
|
85
|
+
export { default as Switch } from './Switch';
|
|
86
|
+
export type { SwitchProps } from './Switch';
|
|
87
|
+
export { default as Textarea } from './Textarea';
|
|
88
|
+
export type { TextareaProps } from './Textarea';
|
|
89
|
+
export { default as Pagination } from './Pagination';
|
|
90
|
+
export type { PaginationProps } from './Pagination';
|
|
91
|
+
export { default as Stepper } from './Stepper';
|
|
92
|
+
export type { StepperProps, StepperStep, StepStatus } from './Stepper';
|
|
93
|
+
export { default as FileUpload } from './FileUpload';
|
|
94
|
+
export type { FileUploadProps } from './FileUpload';
|
|
95
|
+
export { default as Skeleton } from './Skeleton';
|
|
96
|
+
export type { SkeletonProps } from './Skeleton';
|