@bytebrand/fe-ui-core 4.8.46 → 4.8.47
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/media/locales/de/promoSlider.json +0 -1
- package/media/locales/en/promoSlider.json +0 -1
- package/package.json +5 -3
- package/source/components/AccordionWidget/AccordionWidget.styl +0 -1
- package/source/components/AccordionWidget/AccordionWidget.tsx +4 -8
- package/source/components/VehicleDetailedSidebar/VehicleDetailedSidebar.tsx +11 -23
- package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.styl +0 -5
- package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.tsx +1 -3
- package/source/components/VehicleSmallCard/VehicleData/VehicleInfo/VehicleInfo.styl +1 -1
- package/source/components/VehicleSmallCard/VehicleData/VehicleInfo/VehicleInfo.tsx +11 -24
- package/source/components/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.styl +2 -3
- package/source/components/VehicleSmallCard/VehicleData/VehicleProperty/VehicleProperty.styl +1 -4
- package/source/components/VehicleSmallCard/VehicleData/VehicleProperty/VehicleProperty.tsx +2 -3
- package/source/components/VehicleSmallCard/VehicleData/VehicleTitle/VehicleTitle.tsx +1 -1
- package/source/components/VehicleSmallCard/VehicleSmallCard.tsx +6 -15
- package/source/components/_common/MaterialAccordionGroup/MaterialAccordionGroup.styled.tsx +1 -4
- package/source/components/_common/withStats/withStats.styl +21 -0
- package/source/components/_common/withStats/withStats.tsx +21 -4
- package/source/framework/DataTransformers.ts +0 -1
- package/source/framework/constants/common.ts +4 -8
- package/source/framework/types/types.ts +0 -1
- package/source/framework/vehiclesProps/decoratedLightProps.tsx +12 -48
- package/source/framework/vehiclesProps/decoratedProps.tsx +8 -35
- package/source/locales/data.ts +5 -4
- package/.husky/pre-push +0 -4
- package/.storybook/addons.js +0 -4
- package/.storybook/config.js +0 -64
- package/.storybook/postcss.config.js +0 -6
- package/.storybook/preview-head.html +0 -10
- package/.storybook/webpack.config.js +0 -130
- package/__tests__/components/Checkout/OrderOverviewItem/OrderOverviewItem.test.tsx +0 -42
- package/__tests__/components/Checkout/PaymentTypeCard/PaymentTypeCard.test.tsx +0 -50
- package/__tests__/components/Checkout/RadioGroup.test.tsx +0 -95
- package/__tests__/components/Checkout/ServiceCardWrapper.test.tsx +0 -53
- package/__tests__/components/Checkout/Switcher.test.tsx +0 -43
- package/__tests__/components/UserDasboardPage/sections/CheckoutSection/CheckoutSection.test.tsx +0 -613
- package/__tests__/components/UserDasboardPage/sections/FavoriteSection/FavoriteSection.test.tsx +0 -335
- package/__tests__/components/UserDasboardPage/sections/OrderStatusSection/AdditionalOrderInfo.test.tsx +0 -127
- package/__tests__/components/UserDasboardPage/sections/OrderStatusSection/OrderStatusCar.test.tsx +0 -58
- package/__tests__/components/UserDasboardPage/sections/OrderStatusSection/OrderStatusCard.test.tsx +0 -74
- package/__tests__/components/UserDasboardPage/sections/OrderStatusSection/OrderStatusSection.test.tsx +0 -62
- package/__tests__/components/UserDasboardPage/sections/RequestedCarsSection/RequestedCarsSection.test.tsx +0 -117
- package/__tests__/components/Vehicle/VehicleFormattedPrice/VehicleFormattedPrice.test.tsx +0 -58
- package/__tests__/components/VehicleSmallCard/VehicleInfo.test.tsx +0 -88
- package/__tests__/components/VehicleSmallCard/VehicleTitle.test.tsx +0 -91
- package/__tests__/components/_common/Badge/Badge.test.tsx +0 -15
- package/__tests__/components/_common/IconSVG/IconSVG.test.tsx +0 -23
- package/__tests__/components/_common/Image/Image.test.tsx +0 -82
- package/__tests__/components/_common/MaterialAutocomplete/MaterialAutocomplete.test.tsx +0 -49
- package/__tests__/components/_common/MaterialDatePicker/MaterialDatePicker.test.tsx +0 -54
- package/__tests__/components/_common/MaterialField/MaterialField.test.tsx +0 -58
- package/__tests__/components/_common/StarButton/StarButton.test.tsx +0 -46
- package/__tests__/mockedData/financingConfig.js +0 -202
- package/__tests__/mockedData/mockedPendingRequestedCar.js +0 -69
- package/__tests__/utils/CommonUtils/addPrefixToKeys.test.ts +0 -18
- package/__tests__/utils/CommonUtils/arrToObj.test.js +0 -32
- package/__tests__/utils/CommonUtils/checkRangeValuesOnEqual.test.ts +0 -17
- package/__tests__/utils/CommonUtils/fixNumber.test.ts +0 -20
- package/__tests__/utils/CommonUtils/formatMileage.test.ts +0 -8
- package/__tests__/utils/CommonUtils/getChipFilterValue.test.ts +0 -22
- package/__tests__/utils/CommonUtils/getFormattedNumber.test.ts +0 -19
- package/__tests__/utils/CommonUtils/getFormattedPrice.test.ts +0 -19
- package/__tests__/utils/CommonUtils/getGroupValuesForQuery.test.ts +0 -51
- package/__tests__/utils/CommonUtils/getOfferSliders.test.ts +0 -64
- package/__tests__/utils/CommonUtils/getPriceRating.test.ts +0 -26
- package/__tests__/utils/CommonUtils/getPriceRatingConfig.test.ts +0 -33
- package/__tests__/utils/CommonUtils/preloadNearbyImages.test.ts +0 -9
- package/__tests__/utils/CommonUtils/sliceLessThan.test.ts +0 -23
- package/__tests__/utils/CommonUtils/sliceMoreThan.test.ts +0 -23
- package/source/components/AdvantageItem/AdvantageItem.story.js +0 -23
- package/source/components/Alternative/Dealer.story.js +0 -32
- package/source/components/Alternative/Dealer.story.styl +0 -3
- package/source/components/Breadcrumbs/Breadcrumbs.story.js +0 -40
- package/source/components/Breadcrumbs/FirstInfoBlock/FirstInfoBlock.story.js +0 -45
- package/source/components/Checkout/OrderOverviewItem/OrderOverviewItem.story.js +0 -243
- package/source/components/Checkout/OrderOverviewItem/OrderOverviewItem.story.styl +0 -21
- package/source/components/Checkout/RadioCards/RadioGroupCheckout.story.js +0 -105
- package/source/components/Checkout/RadioCards/RadioGroupCheckout.story.styl +0 -37
- package/source/components/Checkout/Switcher/Switcher.story.js +0 -41
- package/source/components/Checkout/Switcher/Switcher.story.styl +0 -2
- package/source/components/CompactSearchWidget/CompactSearchWidget.story.js +0 -187
- package/source/components/ContactForm/ContactForm.story.js +0 -94
- package/source/components/ContactForm/ContactForm.story.styl +0 -0
- package/source/components/ContactInfo/ContactInfo.story.js +0 -58
- package/source/components/CustomerQuote/CustomerQuote.story.js +0 -41
- package/source/components/CustomerQuotesSlider/CustomerQuotesSlider.story.js +0 -73
- package/source/components/CustomerQuotesSlider/CustomerQuotesSlider.story.styl +0 -5
- package/source/components/FormattedNumber/FormattedNumber.story.js +0 -114
- package/source/components/InfoBlocks/InfoBlockWrapper.story.js +0 -101
- package/source/components/InfoBlocks/InfoBlockWrapper.story.styl +0 -46
- package/source/components/OfferPanel/AboAccordion/AboFaq/AboFaq.story.js +0 -97
- package/source/components/OfferPanel/OfferPanel.story.js +0 -139
- package/source/components/OfferPanel/RangeGroup/RangeGroup.story.js +0 -35
- package/source/components/OfferPanel/RangeGroup/RangeGroup.story.styl +0 -3
- package/source/components/PriceRating/PriceRating.story.js +0 -39
- package/source/components/PriceRating/PriceRating.story.styl +0 -2
- package/source/components/PriceRatingDetailed/PriceRatingDetailed.story.js +0 -78
- package/source/components/PriceRatingDetailed/PriceRatingDetailed.story.styl +0 -11
- package/source/components/RateSearchValue/RateSearchValue.story.js +0 -78
- package/source/components/RateSearchValue/RateSearchValue.story.styl +0 -2
- package/source/components/RateSearchWidget/RateSearchWidget.story.js +0 -57
- package/source/components/RateSearchWidget/RateSearchWidget.story.styl +0 -12
- package/source/components/SearchFilters/FiltersFactory.story.js +0 -273
- package/source/components/SearchPage/Filters/MakeModel/MakeModel.story.js +0 -12
- package/source/components/SearchWidget/BasicDataWidget/BasicDataWidget.story.js +0 -834
- package/source/components/SearchWidget/BasicDataWidget/BasicDataWidget.story.styl +0 -40
- package/source/components/SearchWidget/SearchWidget.story.js +0 -191
- package/source/components/SearchWidget/SearchWidget.story.styl +0 -6
- package/source/components/Stepper/Stepper.story.js +0 -119
- package/source/components/Stepper/Stepper.story.styl +0 -41
- package/source/components/Theme.story.js +0 -36
- package/source/components/Theme.story.styl +0 -85
- package/source/components/TickerText/TickerText.story.js +0 -17
- package/source/components/UserDashboardPage/sections/OrderStatusSection/OrderStatusSection.story.js +0 -95
- package/source/components/UserDashboardPage/sections/RequestedCarsSection/RequestedCarsSection.story.js +0 -97
- package/source/components/Vehicle/VehicleConsumption/VehicleConsumption.story.js +0 -31
- package/source/components/Vehicle/VehicleFormattedPrice/VehicleFormattedPrice.story.js +0 -247
- package/source/components/VehicleCompared/CompareGeneral/CompareGeneral.story.js +0 -30
- package/source/components/VehicleCompared/ComparePrice/ComparePrice.story.js +0 -18
- package/source/components/VehicleCompared/CompareTitle/CompareTitle.story.js +0 -19
- package/source/components/VehicleDetailedSidebar/VehicleDetailedSidebar.story.js +0 -44
- package/source/components/VehicleDetailedSlider/VehicleDetailedSlider.story.js +0 -120
- package/source/components/VehiclePromoSlider/VehiclePromoInfo/VehiclePromoInfo.story.js +0 -42
- package/source/components/VehiclePromoSlider/VehiclePromoSlide/VehiclePromoSlide.story.js +0 -62
- package/source/components/VehiclePromoSlider/VehiclePromoSlider.story.js +0 -42
- package/source/components/VehicleSmallCard/VehicleSmallCard.story.js +0 -412
- package/source/components/VehicleSmallCard/VehicleSmallCard.story.styl +0 -56
- package/source/components/VehicleSmallCardForDealerships/VehicleSmallCardForDealerships.story.js +0 -199
- package/source/components/VehicleSmallCardForDealerships/VehicleSmallCardForDealerships.story.styl +0 -40
- package/source/components/_common/Accordion/Accordion.story.js +0 -36
- package/source/components/_common/Badge/Badge.story.js +0 -27
- package/source/components/_common/Badge/Badge.story.styl +0 -5
- package/source/components/_common/Bubble/Bubble.story.js +0 -52
- package/source/components/_common/Button/Button.story.js +0 -52
- package/source/components/_common/Button/Button.story.styl +0 -5
- package/source/components/_common/ButtonOld/Button.story.js +0 -54
- package/source/components/_common/ButtonOld/Button.story.styl +0 -5
- package/source/components/_common/Checkbox/Checkbox.story.js +0 -85
- package/source/components/_common/Checkbox/Checkbox.story.styl +0 -14
- package/source/components/_common/CheckboxMaterial/CheckboxMaterial.story.js +0 -126
- package/source/components/_common/CheckboxMaterial/CheckboxMaterial.story.styl +0 -14
- package/source/components/_common/Chip/Chip.story.js +0 -43
- package/source/components/_common/ChipList/ChipList.story.js +0 -36
- package/source/components/_common/DropDown/DropDown.story.js +0 -35
- package/source/components/_common/ExpandablePanel/ExpandablePanel.story.js +0 -41
- package/source/components/_common/Histogram/Histogram.story.js +0 -51
- package/source/components/_common/IconSVG/IconSVG.story.js +0 -21
- package/source/components/_common/IconSVG/IconSVG.story.styl +0 -25
- package/source/components/_common/Image/Image.story.js +0 -142
- package/source/components/_common/Image/Image.story.styl +0 -18
- package/source/components/_common/ImagesSet/ImagesSet.story.js +0 -34
- package/source/components/_common/ImagesSet/ImagesSet.story.styl +0 -4
- package/source/components/_common/Loader/Loader.story.js +0 -21
- package/source/components/_common/MaterialAccordionGroup/MaterialAccordionGroup.story.js +0 -49
- package/source/components/_common/MaterialDatePicker/MaterialDatePicker.story.js +0 -45
- package/source/components/_common/MaterialDatePicker/MaterialDatePicker.story.styl +0 -6
- package/source/components/_common/MaterialField/MaterialField.story.js +0 -87
- package/source/components/_common/MaterialField/MaterialField.story.styl +0 -34
- package/source/components/_common/MaterialSelect/MaterialSelect.story.js +0 -52
- package/source/components/_common/MaterialSelect/MaterialSelect.story.styl +0 -6
- package/source/components/_common/MaterialStepButton/MaterialStepButton.story.js +0 -47
- package/source/components/_common/MaterialStepButton/MaterialStepButton.story.styl +0 -6
- package/source/components/_common/MaterialSwitch/MaterialSwitch.story.js +0 -17
- package/source/components/_common/MaterialTooltip/MaterialTooltip.story.js +0 -10
- package/source/components/_common/Modal/Modal.story.js +0 -37
- package/source/components/_common/MuiGroupedSelect/MuiGroupedSelect.story.js +0 -21
- package/source/components/_common/PropertySelector/PSGroup.story.js +0 -93
- package/source/components/_common/PropertySelector/PSGroup.story.styl +0 -25
- package/source/components/_common/PropertySelector/ProperySelector.story.js +0 -83
- package/source/components/_common/Radio/FormRadioGroup.story.js +0 -28
- package/source/components/_common/Radio/FormRadioGroup.story.styl +0 -2
- package/source/components/_common/Radio/Radio.story.js +0 -54
- package/source/components/_common/Radio/RadioGroup.story.js +0 -90
- package/source/components/_common/Radio/RadioGroup.story.styl +0 -39
- package/source/components/_common/Range/Range.story.js +0 -46
- package/source/components/_common/Range/Range.story.styl +0 -5
- package/source/components/_common/SliderArrow/SliderArrow.story.js +0 -18
- package/source/components/_common/Tabs/Tabs.story.js +0 -56
- package/source/components/_common/TimePicker/TimePicker.story.js +0 -37
- package/source/components/_common/Tooltip/Tooltip.story.js +0 -28
- package/source/components/_common/UserMenu/MaterialMenu.story.js +0 -73
- package/source/components/_common/VehicleSlider/VehicleSlider.story.js +0 -99
- package/source/components/_common/VehicleSlider/VehicleSlider.story.styl +0 -0
- package/source/components/_common/withLabel/withLabel.story.js +0 -62
- package/source/components/_common/withPopover/withPopover.story.js +0 -48
- package/source/components/_common/withPopover/withPopover.story.styl +0 -54
- package/source/components/_common/withStats/withStats.story.js +0 -75
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
2
|
-
import { storiesOf } from '@storybook/react';
|
|
3
|
-
import { action } from '@storybook/addon-actions';
|
|
4
|
-
|
|
5
|
-
import { ROW_STYLES } from '../../../framework/constants';
|
|
6
|
-
import CheckboxMaterial from './CheckboxMaterial';
|
|
7
|
-
|
|
8
|
-
import styles from './CheckboxMaterial.story.styl';
|
|
9
|
-
|
|
10
|
-
// Props related to FormCheckbox stories
|
|
11
|
-
const basePropsForm = {
|
|
12
|
-
field: { bind: () => { } },
|
|
13
|
-
label: 'Some label here'
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const withErrorForm = {
|
|
17
|
-
field: { bind: () => { }, hasError: true, error: 'Something went wrong'},
|
|
18
|
-
label: 'Some label here',
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const CheckboxWrap = () => {
|
|
22
|
-
const [checked, setChecked] = useState(false);
|
|
23
|
-
const [checkedBox, setCheckedBox] = useState({
|
|
24
|
-
0: true,
|
|
25
|
-
1: false,
|
|
26
|
-
2: true,
|
|
27
|
-
3: false,
|
|
28
|
-
4: true,
|
|
29
|
-
5: false,
|
|
30
|
-
6: true
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
const customProps = {
|
|
34
|
-
checked: checkedBox[0],
|
|
35
|
-
onChange: (e, checked) => {
|
|
36
|
-
const updatedValue = !checkedBox[e.target.value]
|
|
37
|
-
// setCheckedBox({...checkedBox, [e.target.value]: updatedValue});
|
|
38
|
-
// checked = checkedBox[e.target.value];
|
|
39
|
-
if (e.target.value === '2') {
|
|
40
|
-
setCheckedBox({0: false, 1: false, 2: true});
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
setCheckedBox({...checkedBox, [e.target.value]: updatedValue, 2: false})
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
onFocus: action('checkbox focus'),
|
|
47
|
-
onBlur: action('checkbox blur')
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Props related to the Checkbox stories
|
|
51
|
-
const baseProps = {
|
|
52
|
-
checked,
|
|
53
|
-
value: 'some bitchy value',
|
|
54
|
-
label: <span>wow, so label!</span>,
|
|
55
|
-
onChange: (e, checked) => {
|
|
56
|
-
setChecked(checked => !checked);
|
|
57
|
-
},
|
|
58
|
-
onFocus: action('checkbox focus'),
|
|
59
|
-
onBlur: action('checkbox blur')
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
const disabledChecked = Object.assign({}, baseProps, { disabled: true });
|
|
64
|
-
const reversedProps = Object.assign({}, baseProps, { reversed: true });
|
|
65
|
-
const disabledUnChecked = Object.assign({}, baseProps, { disabled: true, checked: true });
|
|
66
|
-
const withoutLabel = Object.assign({}, baseProps, { label: false, checked: !checked });
|
|
67
|
-
const errorProps = Object.assign({}, baseProps, { error: true });
|
|
68
|
-
const customLabel = Object.assign({}, baseProps, {
|
|
69
|
-
label: <div className={styles.label}><span className={styles.coupe} />Coupe</div>
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
return (
|
|
73
|
-
<>
|
|
74
|
-
<div>
|
|
75
|
-
<div style={ROW_STYLES}>
|
|
76
|
-
<CheckboxMaterial {...baseProps} />
|
|
77
|
-
</div>
|
|
78
|
-
<div style={ROW_STYLES}>
|
|
79
|
-
<CheckboxMaterial {...reversedProps} />
|
|
80
|
-
</div>
|
|
81
|
-
<div style={ROW_STYLES}>
|
|
82
|
-
<CheckboxMaterial {...disabledChecked} />
|
|
83
|
-
</div>
|
|
84
|
-
<div style={ROW_STYLES}>
|
|
85
|
-
<CheckboxMaterial {...disabledUnChecked} />
|
|
86
|
-
</div>
|
|
87
|
-
<div style={ROW_STYLES}>
|
|
88
|
-
<CheckboxMaterial {...withoutLabel} />
|
|
89
|
-
</div>
|
|
90
|
-
<div style={ROW_STYLES}>
|
|
91
|
-
<CheckboxMaterial {...errorProps} />
|
|
92
|
-
</div>
|
|
93
|
-
<div style={ROW_STYLES}>
|
|
94
|
-
<CheckboxMaterial {...customLabel} />
|
|
95
|
-
</div>
|
|
96
|
-
</div>
|
|
97
|
-
<div>
|
|
98
|
-
<div style={ROW_STYLES}>
|
|
99
|
-
<CheckboxMaterial {...customProps} value={0} checked={checkedBox[0]} label='label'/>
|
|
100
|
-
</div>
|
|
101
|
-
<div style={ROW_STYLES}>
|
|
102
|
-
<CheckboxMaterial {...customProps} value={1} checked={checkedBox[1]} label='label'/>
|
|
103
|
-
</div>
|
|
104
|
-
<div style={ROW_STYLES}>
|
|
105
|
-
<CheckboxMaterial {...customProps} value={2} checked={checkedBox[2]} label='label'/>
|
|
106
|
-
</div>
|
|
107
|
-
<div style={ROW_STYLES}>
|
|
108
|
-
<CheckboxMaterial {...customProps} value={3} checked={checkedBox[3]} label='label'/>
|
|
109
|
-
</div>
|
|
110
|
-
<div style={ROW_STYLES}>
|
|
111
|
-
<CheckboxMaterial {...customProps} value={4} checked={checkedBox[4]} label='label'/>
|
|
112
|
-
</div>
|
|
113
|
-
<div style={ROW_STYLES}>
|
|
114
|
-
<CheckboxMaterial {...customProps} value={5} checked={checkedBox[5]} label='label'/>
|
|
115
|
-
</div>
|
|
116
|
-
<div style={ROW_STYLES}>
|
|
117
|
-
<CheckboxMaterial {...customProps} value={6} checked={checkedBox[6]} label='label'/>
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
</>
|
|
121
|
-
)
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
storiesOf('_Common_UI', module)
|
|
125
|
-
.add('CheckboxMaterial', () => <CheckboxWrap />)
|
|
126
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
.label
|
|
2
|
-
display: inline-block
|
|
3
|
-
vertical-align: middle
|
|
4
|
-
|
|
5
|
-
.coupe
|
|
6
|
-
display: inline-block
|
|
7
|
-
vertical-align: middle
|
|
8
|
-
width: 50px
|
|
9
|
-
height: 50px
|
|
10
|
-
background-image: url('../../../../media/images/body-type-coupe.svg')
|
|
11
|
-
background-size: contain
|
|
12
|
-
background-repeat: no-repeat
|
|
13
|
-
background-position: center
|
|
14
|
-
margin-right: 20px
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { storiesOf } from '@storybook/react';
|
|
3
|
-
import { action } from '@storybook/addon-actions';
|
|
4
|
-
|
|
5
|
-
import { COLUMN_STYLES, CONTAINER_STYLES, ROW_STYLES } from '../../../framework/constants';
|
|
6
|
-
import { ChipExample } from '../../../framework/constants/Search';
|
|
7
|
-
|
|
8
|
-
import Chip from './Chip';
|
|
9
|
-
|
|
10
|
-
// Props related to the Chip stories
|
|
11
|
-
const baseProps = {
|
|
12
|
-
chip: ChipExample,
|
|
13
|
-
onClick: action('chip click'),
|
|
14
|
-
onDelete: action('chip delete')
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
const longText = {
|
|
18
|
-
...baseProps,
|
|
19
|
-
chip: { key: '111', value: 'Veeeeeeeeerrrrrrry looooooooong manufacturer name'}
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
const withoutContent = {
|
|
23
|
-
...baseProps,
|
|
24
|
-
chip: { }
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
storiesOf('_Common_UI', module)
|
|
29
|
-
.add('Chip', () => (
|
|
30
|
-
<div style={{ ... CONTAINER_STYLES, background: '#BADA' }}>
|
|
31
|
-
<div style={COLUMN_STYLES}>
|
|
32
|
-
<div style={ROW_STYLES}>
|
|
33
|
-
<Chip {...baseProps} />
|
|
34
|
-
</div>
|
|
35
|
-
<div style={ROW_STYLES}>
|
|
36
|
-
<Chip {...longText} />
|
|
37
|
-
</div>
|
|
38
|
-
<div style={ROW_STYLES}>
|
|
39
|
-
<Chip {...withoutContent} />
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
));
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { storiesOf } from '@storybook/react';
|
|
3
|
-
import { action } from '@storybook/addon-actions';
|
|
4
|
-
|
|
5
|
-
import { COLUMN_STYLES, CONTAINER_STYLES, ROW_STYLES } from '../../../framework/constants';
|
|
6
|
-
import { ChipListExample } from '../../../framework/constants/Search';
|
|
7
|
-
|
|
8
|
-
import ChipList from './ChipList';
|
|
9
|
-
|
|
10
|
-
const chipListBase = {
|
|
11
|
-
chips: ChipListExample,
|
|
12
|
-
onChipClick: action('chip click'),
|
|
13
|
-
onChipDelete: action('chip delete'),
|
|
14
|
-
onChipsClear: action('chips clear all')
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
// Please note, that empty list message
|
|
18
|
-
// visible only on mobile devices.
|
|
19
|
-
const chipListEmpty = {
|
|
20
|
-
...chipListBase,
|
|
21
|
-
chips: []
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
storiesOf('_Common_UI', module)
|
|
25
|
-
.add('ChipList', () => (
|
|
26
|
-
<div style={{ ...CONTAINER_STYLES, width: '400px', background: '#BADA' }}>
|
|
27
|
-
<div style={{...COLUMN_STYLES, width: '100%' }}>
|
|
28
|
-
<div style={ROW_STYLES}>
|
|
29
|
-
<ChipList {...chipListBase} />
|
|
30
|
-
</div>
|
|
31
|
-
<div style={ROW_STYLES}>
|
|
32
|
-
<ChipList {...chipListEmpty} />
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
));
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
import { storiesOf } from '@storybook/react';
|
|
4
|
-
import FormDropDown from './FormDropDown';
|
|
5
|
-
import DropDown from './DropDown';
|
|
6
|
-
|
|
7
|
-
//const container = {
|
|
8
|
-
// maxWidth: 200
|
|
9
|
-
//};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const selectorTextProps = {
|
|
13
|
-
//type: 'text',
|
|
14
|
-
//checked: true,
|
|
15
|
-
//name: 'color',
|
|
16
|
-
//
|
|
17
|
-
//content: 123,
|
|
18
|
-
//label: <span>wow so label. <b>much content</b></span>,
|
|
19
|
-
//
|
|
20
|
-
//tooltip: 'some text here',
|
|
21
|
-
//onChange: action('change')
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
const ddProps = {
|
|
25
|
-
field: { bind: () => { } },
|
|
26
|
-
errorPosition: 'BottomLeft'
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
storiesOf('_Common_UI', module)
|
|
30
|
-
.add('Dropdown', () => (
|
|
31
|
-
<DropDown {...selectorTextProps} />
|
|
32
|
-
))
|
|
33
|
-
.add('FormDropdown', () => (
|
|
34
|
-
<FormDropDown {...ddProps} />
|
|
35
|
-
));
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { storiesOf } from '@storybook/react';
|
|
3
|
-
import { action } from '@storybook/addon-actions';
|
|
4
|
-
import { FiltersFactory } from '../../SearchFilters/FiltersFactory';
|
|
5
|
-
|
|
6
|
-
import ExpandablePanel from './ExpandablePanel';
|
|
7
|
-
import { MMS_GROUPS } from '../../../framework/constants/filters';
|
|
8
|
-
import { BODY_TYPES } from '../../../framework/constants/selectors';
|
|
9
|
-
|
|
10
|
-
const Label = ({ opened }) => (
|
|
11
|
-
<div style={{ padding: 10 }}>Some label here.</div>
|
|
12
|
-
);
|
|
13
|
-
|
|
14
|
-
const Content = ({ opened }) => (
|
|
15
|
-
<div style={{ padding: 10 }}>
|
|
16
|
-
{FiltersFactory['MAKE_MODEL'](MakeModelProps)}
|
|
17
|
-
</div>
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
const props = {
|
|
21
|
-
//isOpened: true,
|
|
22
|
-
id: 'uniquePanelId',
|
|
23
|
-
onPanelFocus: action('onPanelFocus'),
|
|
24
|
-
label: <Label />,
|
|
25
|
-
onToggle: action('change state')
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const MakeModelProps = {
|
|
29
|
-
MMS_GROUPS,
|
|
30
|
-
BODY_TYPE: {
|
|
31
|
-
options: BODY_TYPES,
|
|
32
|
-
values: []
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
storiesOf('_Common_UI', module)
|
|
37
|
-
.add('ExpandablePanel', () => (
|
|
38
|
-
<ExpandablePanel {...props}>
|
|
39
|
-
<Content />
|
|
40
|
-
</ExpandablePanel>
|
|
41
|
-
));
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Slider from '@bytebrand/fe-histoslider';
|
|
3
|
-
import { storiesOf } from '@storybook/react';
|
|
4
|
-
import { action } from '@storybook/addon-actions';
|
|
5
|
-
|
|
6
|
-
import { PRICE_HISTOGRAM } from '../../../framework/data';
|
|
7
|
-
|
|
8
|
-
// Stateful container for testing interaction
|
|
9
|
-
class HistosliderContainer extends React.Component {
|
|
10
|
-
state = {
|
|
11
|
-
selection: null
|
|
12
|
-
};
|
|
13
|
-
setSelection = selection => {
|
|
14
|
-
(() => action("setSelection"))();
|
|
15
|
-
this.setState({ selection });
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
render() {
|
|
19
|
-
const histogram = PRICE_HISTOGRAM.map((item) => ({
|
|
20
|
-
x0: item.from,
|
|
21
|
-
x: item.to,
|
|
22
|
-
y: item.count
|
|
23
|
-
}));
|
|
24
|
-
const props = {
|
|
25
|
-
handleLabelFormat: ',.2r',
|
|
26
|
-
data: histogram,
|
|
27
|
-
// How much to pad the slider and histogram by, defaults to 20
|
|
28
|
-
padding: 0,
|
|
29
|
-
// The extent of the selection, this doesn't have to be sorted (and you shouldn't sort it to store it)
|
|
30
|
-
selection: this.state.selection,
|
|
31
|
-
// A function to handle a change in the selection
|
|
32
|
-
onChange: this.setSelection
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
return (
|
|
36
|
-
<div>
|
|
37
|
-
<Slider {...props} />
|
|
38
|
-
<Slider {...props} disableHistogram />
|
|
39
|
-
</div>
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
storiesOf('_Common_UI', module)
|
|
45
|
-
.add('Histogram', () => (
|
|
46
|
-
<div>
|
|
47
|
-
<HistosliderContainer />
|
|
48
|
-
</div>
|
|
49
|
-
));
|
|
50
|
-
|
|
51
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import components from './IconSVGConfig';
|
|
3
|
-
|
|
4
|
-
import { storiesOf } from '@storybook/react';
|
|
5
|
-
|
|
6
|
-
import IconSVG from './IconSVG';
|
|
7
|
-
import styles from './IconSVG.story.styl';
|
|
8
|
-
|
|
9
|
-
const iconNames = Object.keys(components);
|
|
10
|
-
|
|
11
|
-
storiesOf('_Common_UI', module)
|
|
12
|
-
.add('IconSVG', () => (
|
|
13
|
-
<div style={{display: 'flex', flexWrap: 'wrap'}}>
|
|
14
|
-
{iconNames.map((name) => (
|
|
15
|
-
<div style={{width: '250px', margin: '10px', padding: '10px', border: '1px solid black', display: 'flex', justifyContent: 'space-between', alignItems: 'center'}}>
|
|
16
|
-
<IconSVG customDimensions name={name}/>
|
|
17
|
-
<div> - {name}</div>
|
|
18
|
-
</div>
|
|
19
|
-
))}
|
|
20
|
-
</div>
|
|
21
|
-
));
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
@import '../../../theme/theme.styl'
|
|
2
|
-
|
|
3
|
-
.wrapper
|
|
4
|
-
margin-bottom: 10px
|
|
5
|
-
text-align: center
|
|
6
|
-
|
|
7
|
-
.camera
|
|
8
|
-
fill: $grassGreen
|
|
9
|
-
|
|
10
|
-
.sliderEye
|
|
11
|
-
fill: $primary
|
|
12
|
-
width: 3em
|
|
13
|
-
height: 3em
|
|
14
|
-
|
|
15
|
-
.star
|
|
16
|
-
fill: $yellow
|
|
17
|
-
width: 40px
|
|
18
|
-
height: 30px
|
|
19
|
-
stroke: black
|
|
20
|
-
stroke-width: 1px
|
|
21
|
-
|
|
22
|
-
.checkBlue
|
|
23
|
-
fill: $primary
|
|
24
|
-
width: 3em
|
|
25
|
-
height: 3em
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import styles from './Image.story.styl'
|
|
3
|
-
import { storiesOf } from '@storybook/react';
|
|
4
|
-
|
|
5
|
-
import Image from './Image.tsx';
|
|
6
|
-
import {COLUMN_STYLES, CONTAINER_STYLES, ROW_STYLES} from '../../../framework/constants';
|
|
7
|
-
|
|
8
|
-
const SRC_HORIZONTAL = 'https://placekitten.com/150/100';
|
|
9
|
-
const SRC_SQUARE = 'https://placekitten.com/150/150';
|
|
10
|
-
const SRC_VERTICAL = 'https://placekitten.com/100/150';
|
|
11
|
-
|
|
12
|
-
const SRC_SMALL = 'https://dummyimage.com/3000x2000/000000/fff.png&text=SMALL+IMAGE';
|
|
13
|
-
const SRC_LARGE = 'https://dummyimage.com/3000x2000/eb00eb/ffffff.png&text=LARGE+IMAGE';
|
|
14
|
-
|
|
15
|
-
storiesOf('_Common_UI', module)
|
|
16
|
-
.add('Image', () => (
|
|
17
|
-
<div style={CONTAINER_STYLES}>
|
|
18
|
-
<div style={COLUMN_STYLES}>
|
|
19
|
-
|
|
20
|
-
<div style={ROW_STYLES}>
|
|
21
|
-
<div className={styles.row}>
|
|
22
|
-
<div className={styles.col}>
|
|
23
|
-
<h2 className={styles.title}>{`<Image width='100%' ratioW={4} ratioH={3} />`}</h2>
|
|
24
|
-
<div className={styles.row}>
|
|
25
|
-
<div className={styles.col}>
|
|
26
|
-
<Image srcSmall={SRC_SMALL} srcLarge={SRC_LARGE} width='500px' ratioW={4} ratioH={3} />
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
{/* <div className={styles.col}>
|
|
31
|
-
<h2 className={styles.title}>{`<Image width='100%' height={200} />`}</h2>
|
|
32
|
-
<div className={styles.row}>
|
|
33
|
-
<div className={styles.col} style={{ width: '300px', maxWidth: '100%', margin: '0 auto' }}>
|
|
34
|
-
<Image src={SRC_VERTICAL} width='100%' height={200} />
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
</div> */}
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
{/* <div style={ROW_STYLES}>
|
|
42
|
-
<h2 className={styles.title}>{`<Image width={200} ratioW={4} ratioH={3} />`}</h2>
|
|
43
|
-
<div className={styles.row}>
|
|
44
|
-
<div className={styles.col}>
|
|
45
|
-
<Image src={SRC_HORIZONTAL} width={200} ratioW={4} ratioH={3} />
|
|
46
|
-
<div className={styles.label}>(horizontal image 150x100)</div>
|
|
47
|
-
</div>
|
|
48
|
-
<div className={styles.col}>
|
|
49
|
-
<Image src={SRC_SQUARE} width={200} ratioW={4} ratioH={3} />
|
|
50
|
-
<div className={styles.label}>(square image 150x150)</div>
|
|
51
|
-
</div>
|
|
52
|
-
<div className={styles.col}>
|
|
53
|
-
<Image src={SRC_VERTICAL} width={200} ratioW={4} ratioH={3} />
|
|
54
|
-
<div className={styles.label}>(vertical image 100x150)</div>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
<div style={ROW_STYLES}>
|
|
60
|
-
<h2 className={styles.title}>{`<Image width={200} ratioW={11} ratioH={5} />`}</h2>
|
|
61
|
-
<div className={styles.row}>
|
|
62
|
-
<div className={styles.col}>
|
|
63
|
-
<Image src={SRC_HORIZONTAL} width={200} ratioW={11} ratioH={5} />
|
|
64
|
-
<div className={styles.label}>(horizontal image 150x100)</div>
|
|
65
|
-
</div>
|
|
66
|
-
<div className={styles.col}>
|
|
67
|
-
<Image src={SRC_SQUARE} width={200} ratioW={11} ratioH={5} />
|
|
68
|
-
<div className={styles.label}>(square image 150x150)</div>
|
|
69
|
-
</div>
|
|
70
|
-
<div className={styles.col}>
|
|
71
|
-
<Image src={SRC_VERTICAL} width={200} ratioW={11} ratioH={5} />
|
|
72
|
-
<div className={styles.label}>(vertical image 100x150)</div>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
|
|
77
|
-
<div style={ROW_STYLES}>
|
|
78
|
-
<h2 className={styles.title}>{`<Image width={250} height={200} />`}</h2>
|
|
79
|
-
<div className={styles.row}>
|
|
80
|
-
<div className={styles.col}>
|
|
81
|
-
<Image src={SRC_HORIZONTAL} width={250} height={200} />
|
|
82
|
-
<div className={styles.label}>(horizontal image 150x100)</div>
|
|
83
|
-
</div>
|
|
84
|
-
<div className={styles.col}>
|
|
85
|
-
<Image src={SRC_SQUARE} width={250} height={200} />
|
|
86
|
-
<div className={styles.label}>(square image 150x150)</div>
|
|
87
|
-
</div>
|
|
88
|
-
<div className={styles.col}>
|
|
89
|
-
<Image src={SRC_VERTICAL} width={250} height={200} />
|
|
90
|
-
<div className={styles.label}>(vertical image 100x150)</div>
|
|
91
|
-
</div>
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
|
|
95
|
-
<div style={ROW_STYLES}>
|
|
96
|
-
<h2 className={styles.title}>{`<Image width={200} height={250} />`}</h2>
|
|
97
|
-
<div className={styles.row}>
|
|
98
|
-
<div className={styles.col}>
|
|
99
|
-
<Image src={SRC_HORIZONTAL} width={200} height={250} />
|
|
100
|
-
<div className={styles.label}>(horizontal image 150x100)</div>
|
|
101
|
-
</div>
|
|
102
|
-
<div className={styles.col}>
|
|
103
|
-
<Image src={SRC_SQUARE} width={200} height={250} />
|
|
104
|
-
<div className={styles.label}>(square image 150x150)</div>
|
|
105
|
-
</div>
|
|
106
|
-
<div className={styles.col}>
|
|
107
|
-
<Image src={SRC_VERTICAL} width={200} height={250} />
|
|
108
|
-
<div className={styles.label}>(vertical image 100x150)</div>
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
|
|
113
|
-
<div style={ROW_STYLES}>
|
|
114
|
-
<h2 className={styles.title}>{`<Image width={200} height={200} />`}</h2>
|
|
115
|
-
<div className={styles.row}>
|
|
116
|
-
<div className={styles.col}>
|
|
117
|
-
<Image src={SRC_HORIZONTAL} width={200} height={200} />
|
|
118
|
-
<div className={styles.label}>(horizontal image 150x100)</div>
|
|
119
|
-
</div>
|
|
120
|
-
<div className={styles.col}>
|
|
121
|
-
<Image src={SRC_SQUARE} width={200} height={200} />
|
|
122
|
-
<div className={styles.label}>(square image 150x150)</div>
|
|
123
|
-
</div>
|
|
124
|
-
<div className={styles.col}>
|
|
125
|
-
<Image src={SRC_VERTICAL} width={200} height={200} />
|
|
126
|
-
<div className={styles.label}>(vertical image 100x150)</div>
|
|
127
|
-
</div>
|
|
128
|
-
</div>
|
|
129
|
-
</div>
|
|
130
|
-
|
|
131
|
-
<div style={ROW_STYLES}>
|
|
132
|
-
<h2 className={styles.title}>Error</h2>
|
|
133
|
-
<div className={styles.row}>
|
|
134
|
-
<div className={styles.col}>
|
|
135
|
-
<Image src='http://wrong.src.url' width={100} height={100} />
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
</div>*/}
|
|
139
|
-
|
|
140
|
-
</div>
|
|
141
|
-
</div>
|
|
142
|
-
));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
.title
|
|
2
|
-
text-align center
|
|
3
|
-
margin-top 20px
|
|
4
|
-
margin-bottom 10px
|
|
5
|
-
font-size 18px
|
|
6
|
-
|
|
7
|
-
.row
|
|
8
|
-
display flex
|
|
9
|
-
justify-content: space-between
|
|
10
|
-
flex-wrap: nowrap
|
|
11
|
-
text-align center
|
|
12
|
-
|
|
13
|
-
.col
|
|
14
|
-
margin 0 10px
|
|
15
|
-
|
|
16
|
-
.label
|
|
17
|
-
font-size 12px
|
|
18
|
-
margin-top 10px
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { storiesOf } from '@storybook/react';
|
|
3
|
-
import { action } from '@storybook/addon-actions';
|
|
4
|
-
import { Resizable } from 're-resizable';
|
|
5
|
-
import ImagesSet from './ImagesSet';
|
|
6
|
-
import styles from './ImagesSet.story.styl';
|
|
7
|
-
|
|
8
|
-
const PLACEHOLDER_IMAGE_URL = 'https://images.autode-stage.de//noimage/small';
|
|
9
|
-
const IMAGE_URL = 'http://picsum.photos/400/300/?random';
|
|
10
|
-
const images = [];
|
|
11
|
-
for (let i = 0; i <= 7; i++) {
|
|
12
|
-
images.push({ url: `${IMAGE_URL}&tag=${Math.random()}`, description: '' });
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
const resizableProps = {
|
|
16
|
-
className: styles.resizable,
|
|
17
|
-
defaultSize: { width: 770, height: 390 }
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const imagesSetProps = {
|
|
21
|
-
images,
|
|
22
|
-
imageSizes: [2, 1, 1, 2, 1, 1, 1, 2, 1],
|
|
23
|
-
columnsCount: 4,
|
|
24
|
-
rowsCount: 3,
|
|
25
|
-
onImageClick: action('click'),
|
|
26
|
-
placeholderUrl: PLACEHOLDER_IMAGE_URL
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
storiesOf('_Common_UI', module)
|
|
30
|
-
.add('ImagesSet', () => (
|
|
31
|
-
<Resizable {...resizableProps}>
|
|
32
|
-
<ImagesSet {...imagesSetProps} />
|
|
33
|
-
</Resizable>
|
|
34
|
-
));
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
import { storiesOf } from '@storybook/react';
|
|
4
|
-
|
|
5
|
-
import Loader from './Loader.tsx';
|
|
6
|
-
import { CONTAINER_STYLES } from '../../../framework/constants';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
storiesOf('_Common_UI', module)
|
|
10
|
-
.add('Loader', () => (
|
|
11
|
-
<div style={CONTAINER_STYLES}>
|
|
12
|
-
<Loader size='tiny' />
|
|
13
|
-
<Loader size='small' />
|
|
14
|
-
<Loader size='medium' />
|
|
15
|
-
<Loader size='large' />
|
|
16
|
-
|
|
17
|
-
<div style={{ width: 40, height: 40 }}>
|
|
18
|
-
<Loader fluid />
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
));
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
2
|
-
import { storiesOf } from '@storybook/react';
|
|
3
|
-
import MaterialAccordionGroup from './MaterialAccordionGroup';
|
|
4
|
-
|
|
5
|
-
const MaterialAccordionGroupComponent = () => {
|
|
6
|
-
const [switchValue, setSwitchValue] = useState(false);
|
|
7
|
-
const handleSwitch = (value) => {
|
|
8
|
-
setSwitchValue(value);
|
|
9
|
-
};
|
|
10
|
-
const switchProps = {
|
|
11
|
-
value: switchValue,
|
|
12
|
-
onChange: handleSwitch
|
|
13
|
-
}
|
|
14
|
-
return (
|
|
15
|
-
<>
|
|
16
|
-
<MaterialAccordionGroup
|
|
17
|
-
title='Collaps item 1'
|
|
18
|
-
tooltipText='tooltipText'
|
|
19
|
-
withSwitch
|
|
20
|
-
switchProps={switchProps}
|
|
21
|
-
>
|
|
22
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
|
|
23
|
-
malesuada lacus ex, sit amet blandit leo lobortis eget. Lorem ipsum dolor
|
|
24
|
-
sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex,
|
|
25
|
-
sit amet blandit leo lobortis eget.
|
|
26
|
-
</MaterialAccordionGroup>
|
|
27
|
-
<MaterialAccordionGroup
|
|
28
|
-
title='collaps item 1'
|
|
29
|
-
>
|
|
30
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
|
|
31
|
-
malesuada lacus ex, sit amet blandit leo lobortis eget. Lorem ipsum dolor
|
|
32
|
-
sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex,
|
|
33
|
-
sit amet blandit leo lobortis eget.
|
|
34
|
-
</MaterialAccordionGroup>
|
|
35
|
-
<MaterialAccordionGroup
|
|
36
|
-
title='collaps item 1'
|
|
37
|
-
tooltipText='tooltipText 3'
|
|
38
|
-
>
|
|
39
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
|
|
40
|
-
malesuada lacus ex, sit amet blandit leo lobortis eget. Lorem ipsum dolor
|
|
41
|
-
sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex,
|
|
42
|
-
sit amet blandit leo lobortis eget.
|
|
43
|
-
</MaterialAccordionGroup>
|
|
44
|
-
</>
|
|
45
|
-
)
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
storiesOf('_Common_UI', module)
|
|
49
|
-
.add('MaterialAccordionGroup', () => <MaterialAccordionGroupComponent />)
|