imbric-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.babelrc.json +3 -0
- package/.commitlintrc.json +3 -0
- package/.dockerignore +14 -0
- package/.editorconfig +13 -0
- package/.eslintignore +1 -0
- package/.eslintrc.json +36 -0
- package/.huskyrc.json +6 -0
- package/.lintstagedrc.json +5 -0
- package/.nvmrc +1 -0
- package/.prettierignore +1 -0
- package/.prettierrc.json +4 -0
- package/.releaserc.json +13 -0
- package/.storybook/main.js +13 -0
- package/.storybook/preview-head.html +2 -0
- package/.storybook/preview.js +53 -0
- package/.stylelintrc.json +14 -0
- package/.vscode/launch.json +15 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +0 -0
- package/Dockerfile +17 -0
- package/README.md +69 -0
- package/atoms/AlertModal/AlertModal.js +69 -0
- package/atoms/AlertModal/AlertModal.module.css +3 -0
- package/atoms/AlertModal/AlertModal.stories.js +30 -0
- package/atoms/AlertModal/constants.js +4 -0
- package/atoms/AlertModal/index.js +3 -0
- package/atoms/Avatar/Avatar.js +36 -0
- package/atoms/Avatar/Avatar.module.css +3 -0
- package/atoms/Avatar/Avatar.stories.js +29 -0
- package/atoms/Avatar/__snapshots__/Avatar.stories.js.snap +105 -0
- package/atoms/Avatar/constants.js +3 -0
- package/atoms/Avatar/helpers.js +7 -0
- package/atoms/Avatar/index.js +3 -0
- package/atoms/Button/Button.js +83 -0
- package/atoms/Button/Button.module.css +85 -0
- package/atoms/Button/Button.stories.js +47 -0
- package/atoms/Button/Button.test.js +60 -0
- package/atoms/Button/__snapshots__/Button.stories.js.snap +191 -0
- package/atoms/Button/constants.js +3 -0
- package/atoms/Button/index.js +3 -0
- package/atoms/Card/Card.js +48 -0
- package/atoms/Card/Card.module.css +52 -0
- package/atoms/Card/Card.stories.js +41 -0
- package/atoms/Card/__snapshots__/Card.stories.js.snap +136 -0
- package/atoms/Card/constants.js +4 -0
- package/atoms/Card/index.js +3 -0
- package/atoms/Check/Check.js +28 -0
- package/atoms/Check/Check.module.css +11 -0
- package/atoms/Check/Check.stories.js +15 -0
- package/atoms/Check/__snapshots__/Check.stories.js.snap +67 -0
- package/atoms/Check/index.js +2 -0
- package/atoms/Checkbox/Checkbox.js +77 -0
- package/atoms/Checkbox/Checkbox.module.css +60 -0
- package/atoms/Checkbox/Checkbox.stories.js +30 -0
- package/atoms/Checkbox/constants.js +1 -0
- package/atoms/Checkbox/index.js +3 -0
- package/atoms/Divider/Divider.js +22 -0
- package/atoms/Divider/Divider.module.css +25 -0
- package/atoms/Divider/Divider.stories.js +23 -0
- package/atoms/Divider/__snapshots__/Divider.stories.js.snap +22 -0
- package/atoms/Divider/constants.js +3 -0
- package/atoms/Divider/index.js +3 -0
- package/atoms/Heading/Heading.js +37 -0
- package/atoms/Heading/Heading.module.css +70 -0
- package/atoms/Heading/Heading.stories.js +46 -0
- package/atoms/Heading/__snapshots__/Heading.stories.js.snap +189 -0
- package/atoms/Heading/constants.js +5 -0
- package/atoms/Heading/index.js +3 -0
- package/atoms/Icon/Icon.js +66 -0
- package/atoms/Icon/Icon.module.css +142 -0
- package/atoms/Icon/Icon.stories.js +48 -0
- package/atoms/Icon/__snapshots__/Icon.stories.js.snap +1311 -0
- package/atoms/Icon/constants.js +1091 -0
- package/atoms/Icon/helpers.js +9 -0
- package/atoms/Icon/index.js +3 -0
- package/atoms/Input/Input.js +229 -0
- package/atoms/Input/Input.module.css +83 -0
- package/atoms/Input/Input.stories.js +38 -0
- package/atoms/Input/__snapshots__/Input.stories.js.snap +101 -0
- package/atoms/Input/constants.js +3 -0
- package/atoms/Input/index.js +3 -0
- package/atoms/Label/Label.js +31 -0
- package/atoms/Label/Label.module.css +42 -0
- package/atoms/Label/Label.stories.js +26 -0
- package/atoms/Label/constants.js +1 -0
- package/atoms/Label/index.js +3 -0
- package/atoms/LinkItem/LinkItem.js +38 -0
- package/atoms/LinkItem/LinkItem.module.css +19 -0
- package/atoms/LinkItem/LinkItem.stories.js +30 -0
- package/atoms/LinkItem/__snapshots__/Link.stories.js.snap +118 -0
- package/atoms/LinkItem/constants.js +5 -0
- package/atoms/LinkItem/index.js +3 -0
- package/atoms/Loading/Loading.js +30 -0
- package/atoms/Loading/Loading.module.css +51 -0
- package/atoms/Loading/Loading.stories.js +17 -0
- package/atoms/Loading/__snapshots__/Loading.stories.js.snap +26 -0
- package/atoms/Loading/index.js +2 -0
- package/atoms/Modal/Modal.js +121 -0
- package/atoms/Modal/Modal.module.css +142 -0
- package/atoms/Modal/Modal.stories.js +43 -0
- package/atoms/Modal/__snapshots__/Modal.stories.js.snap +239 -0
- package/atoms/Modal/constants.js +1 -0
- package/atoms/Modal/index.js +3 -0
- package/atoms/Paragraph/Paragraph.js +56 -0
- package/atoms/Paragraph/Paragraph.module.css +72 -0
- package/atoms/Paragraph/Paragraph.stories.js +52 -0
- package/atoms/Paragraph/__snapshots__/Paragraph.stories.js.snap +230 -0
- package/atoms/Paragraph/constants.js +5 -0
- package/atoms/Paragraph/index.js +3 -0
- package/atoms/Picture/Picture.js +47 -0
- package/atoms/Picture/Picture.module.css +16 -0
- package/atoms/Picture/Picture.stories.js +32 -0
- package/atoms/Picture/__snapshots__/Picture.stories.js.snap +156 -0
- package/atoms/Picture/index.js +2 -0
- package/atoms/Tab/Tab.js +41 -0
- package/atoms/Tab/Tab.module.css +17 -0
- package/atoms/Tab/Tab.stories.js +27 -0
- package/atoms/Tab/constants.js +1 -0
- package/atoms/Tab/index.js +3 -0
- package/atoms/Textarea/Textarea.js +137 -0
- package/atoms/Textarea/Textarea.module.css +54 -0
- package/atoms/Textarea/Textarea.stories.js +16 -0
- package/atoms/Textarea/__snapshots__/Textarea.stories.js.snap +25 -0
- package/atoms/Textarea/index.js +2 -0
- package/atoms/Toggle/Toggle.js +56 -0
- package/atoms/Toggle/Toggle.module.css +41 -0
- package/atoms/Toggle/Toggle.stories.js +21 -0
- package/atoms/Toggle/constants.js +1 -0
- package/atoms/Toggle/index.js +3 -0
- package/codecov.yml +2 -0
- package/helpers/storybook.js +29 -0
- package/helpers/storybook.test.js +40 -0
- package/helpers/styles.js +37 -0
- package/helpers/styles.test.js +222 -0
- package/hocs/withStyles.js +17 -0
- package/hook/useAddColumn.js +40 -0
- package/hook/useMedia.js +22 -0
- package/hook/useStateDate.js +25 -0
- package/hook/useTable.js +54 -0
- package/index.js +71 -0
- package/jest.config.js +23 -0
- package/jest.setup.js +13 -0
- package/layout/CenteredContent/CenteredContent.js +30 -0
- package/layout/CenteredContent/CenteredContent.module.css +12 -0
- package/layout/CenteredContent/CenteredContent.stories.js +22 -0
- package/layout/CenteredContent/__snapshots__/CenteredContent.stories.js.snap +27 -0
- package/layout/CenteredContent/index.js +2 -0
- package/layout/Container/Container.js +29 -0
- package/layout/Container/Container.module.css +14 -0
- package/layout/Container/Container.stories.js +22 -0
- package/layout/Container/__snapshots__/Container.stories.js.snap +27 -0
- package/layout/Container/index.js +2 -0
- package/layout/DynamicTable/DynamicTable.js +372 -0
- package/layout/DynamicTable/DynamicTable.module.css +76 -0
- package/layout/DynamicTable/DynamicTable.stories.js +79 -0
- package/layout/DynamicTable/constants.js +323 -0
- package/layout/DynamicTable/index.js +3 -0
- package/layout/FlexColumnContent/FlexColumnContent.js +26 -0
- package/layout/FlexColumnContent/FlexColumnContent.module.css +5 -0
- package/layout/FlexColumnContent/FlexColumnContent.stories.js +28 -0
- package/layout/FlexColumnContent/constants.js +1 -0
- package/layout/FlexColumnContent/index.js +3 -0
- package/layout/FullHeightContent/FullHeightContent.js +40 -0
- package/layout/FullHeightContent/FullHeightContent.module.css +21 -0
- package/layout/FullHeightContent/FullHeightContent.stories.js +22 -0
- package/layout/FullHeightContent/__snapshots__/FullHeightContent.stories.js.snap +41 -0
- package/layout/FullHeightContent/index.js +2 -0
- package/layout/Navbar/Navbar.js +247 -0
- package/layout/Navbar/Navbar.module.css +35 -0
- package/layout/Navbar/Navbar.stories.js +20 -0
- package/layout/Navbar/constants.js +35 -0
- package/layout/Navbar/index.js +2 -0
- package/layout/Sidebar/Sidebar.js +115 -0
- package/layout/Sidebar/Sidebar.module.css +387 -0
- package/layout/Sidebar/Sidebar.stories.js +28 -0
- package/layout/Sidebar/constants.js +228 -0
- package/layout/Sidebar/index.js +3 -0
- package/layout/Spacer/Spacer.js +40 -0
- package/layout/Spacer/Spacer.module.css +12 -0
- package/layout/Spacer/Spacer.stories.js +25 -0
- package/layout/Spacer/__snapshots__/Spacer.stories.js.snap +97 -0
- package/layout/Spacer/components/Horizontal/Horizontal.js +43 -0
- package/layout/Spacer/components/Horizontal/Horizontal.stories.js +32 -0
- package/layout/Spacer/components/Horizontal/__snapshots__/Horizontal.stories.js.snap +97 -0
- package/layout/Spacer/components/Horizontal/index.js +1 -0
- package/layout/Spacer/components/Vertical/Vertical.js +31 -0
- package/layout/Spacer/components/Vertical/Vertical.stories.js +25 -0
- package/layout/Spacer/components/Vertical/__snapshots__/Vertical.stories.js.snap +85 -0
- package/layout/Spacer/components/Vertical/index.js +1 -0
- package/layout/Spacer/components/index.js +2 -0
- package/layout/Spacer/constants.js +5 -0
- package/layout/Spacer/helpers.js +3 -0
- package/layout/Spacer/index.js +3 -0
- package/molecules/Accordion/Accordion.js +70 -0
- package/molecules/Accordion/Accordion.module.css +12 -0
- package/molecules/Accordion/Accordion.stories.js +31 -0
- package/molecules/Accordion/__snapshots__/Accordion.stories.js.snap +228 -0
- package/molecules/Accordion/index.js +2 -0
- package/molecules/AddButton/AddButton.js +137 -0
- package/molecules/AddButton/AddButton.module.css +128 -0
- package/molecules/AddButton/AddButton.stories.js +47 -0
- package/molecules/AddButton/__snapshots__/AddButton.stories.js.snap +326 -0
- package/molecules/AddButton/constants.js +6 -0
- package/molecules/AddButton/handlers.js +58 -0
- package/molecules/AddButton/handlers.test.js +19 -0
- package/molecules/AddButton/helpers.js +6 -0
- package/molecules/AddButton/helpers.test.js +41 -0
- package/molecules/AddButton/hooks.js +14 -0
- package/molecules/AddButton/index.js +3 -0
- package/molecules/ButtonIcon/ButtonIcon.js +41 -0
- package/molecules/ButtonIcon/ButtonIcon.stories.js +27 -0
- package/molecules/ButtonIcon/__snapshots__/ButtonIcon.stories.js.snap +178 -0
- package/molecules/ButtonIcon/constants.js +6 -0
- package/molecules/ButtonIcon/index.js +2 -0
- package/molecules/CardDefault/CardDefault.js +65 -0
- package/molecules/CardDefault/CardDefault.module.css +19 -0
- package/molecules/CardDefault/CardDefault.stories.js +23 -0
- package/molecules/CardDefault/constants.js +1 -0
- package/molecules/CardDefault/index.js +3 -0
- package/molecules/CardProductTypesBooking/CardProductTypesBooking.js +89 -0
- package/molecules/CardProductTypesBooking/CardProductTypesBooking.module.css +118 -0
- package/molecules/CardProductTypesBooking/CardProductTypesBooking.stories.js +25 -0
- package/molecules/CardProductTypesBooking/constants.js +1 -0
- package/molecules/CardProductTypesBooking/index.js +3 -0
- package/molecules/CardServiceDetail/CardServiceDetail.js +400 -0
- package/molecules/CardServiceDetail/CardServiceDetail.module.css +222 -0
- package/molecules/CardServiceDetail/CardServiceDetail.stories.js +23 -0
- package/molecules/CardServiceDetail/constants.js +1 -0
- package/molecules/CardServiceDetail/index.js +3 -0
- package/molecules/CardServices/CardServices.js +461 -0
- package/molecules/CardServices/CardServices.module.css +213 -0
- package/molecules/CardServices/CardServices.stories.js +41 -0
- package/molecules/CardServices/constants.js +5 -0
- package/molecules/CardServices/index.js +3 -0
- package/molecules/CardServicesFinalized/CardServicesFinalized.js +381 -0
- package/molecules/CardServicesFinalized/CardServicesFinalized.module.css +213 -0
- package/molecules/CardServicesFinalized/CardServicesFinalized.stories.js +23 -0
- package/molecules/CardServicesFinalized/constants.js +1 -0
- package/molecules/CardServicesFinalized/index.js +3 -0
- package/molecules/CheckList/CheckList.js +135 -0
- package/molecules/CheckList/CheckList.module.css +94 -0
- package/molecules/CheckList/CheckList.stories.js +25 -0
- package/molecules/CheckList/constants.js +23 -0
- package/molecules/CheckList/index.js +3 -0
- package/molecules/ColumnTable/ColumnTable.js +154 -0
- package/molecules/ColumnTable/ColumnTable.module.css +51 -0
- package/molecules/ColumnTable/ColumnTable.stories.js +26 -0
- package/molecules/ColumnTable/constants.js +117 -0
- package/molecules/ColumnTable/index.js +3 -0
- package/molecules/DatePicker/DatePicker.js +242 -0
- package/molecules/DatePicker/DatePicker.module.css +38 -0
- package/molecules/DatePicker/DatePicker.stories.js +23 -0
- package/molecules/DatePicker/constants.js +3 -0
- package/molecules/DatePicker/index.js +3 -0
- package/molecules/DatePickerTime/DatePickerTime.js +133 -0
- package/molecules/DatePickerTime/DatePickerTime.module.css +3 -0
- package/molecules/DatePickerTime/DatePickerTime.stories.js +18 -0
- package/molecules/DatePickerTime/constants.js +1 -0
- package/molecules/DatePickerTime/index.js +3 -0
- package/molecules/Dropdown/Dropdown.js +62 -0
- package/molecules/Dropdown/Dropdown.module.css +52 -0
- package/molecules/Dropdown/Dropdown.stories.js +41 -0
- package/molecules/Dropdown/__snapshots__/Dropdown.stories.js.snap +181 -0
- package/molecules/Dropdown/index.js +2 -0
- package/molecules/DynamicSelect/DynamicSelect.js +186 -0
- package/molecules/DynamicSelect/DynamicSelect.module.css +10 -0
- package/molecules/DynamicSelect/DynamicSelect.stories.js +32 -0
- package/molecules/DynamicSelect/constants.js +7 -0
- package/molecules/DynamicSelect/index.js +3 -0
- package/molecules/Error/Error.js +35 -0
- package/molecules/Error/Error.module.css +12 -0
- package/molecules/Error/Error.stories.js +18 -0
- package/molecules/Error/__snapshots__/Error.stories.js.snap +134 -0
- package/molecules/Error/index.js +2 -0
- package/molecules/FooterTable/FooterTable.js +166 -0
- package/molecules/FooterTable/FooterTable.module.css +63 -0
- package/molecules/FooterTable/FooterTable.stories.js +23 -0
- package/molecules/FooterTable/constants.js +9 -0
- package/molecules/FooterTable/index.js +3 -0
- package/molecules/IconLabel/IconLabel.js +83 -0
- package/molecules/IconLabel/IconLabel.module.css +16 -0
- package/molecules/IconLabel/IconLabel.stories.js +25 -0
- package/molecules/IconLabel/__snapshots__/IconLabel.stories.js.snap +211 -0
- package/molecules/IconLabel/constants.js +6 -0
- package/molecules/IconLabel/index.js +3 -0
- package/molecules/InputAutocomplete/InputAutocomplete.js +221 -0
- package/molecules/InputAutocomplete/InputAutocomplete.module.css +55 -0
- package/molecules/InputAutocomplete/InputAutocomplete.stories.js +23 -0
- package/molecules/InputAutocomplete/constants.js +1 -0
- package/molecules/InputAutocomplete/index.js +3 -0
- package/molecules/ItemMenu/ItemMenu.js +134 -0
- package/molecules/ItemMenu/ItemMenu.module.css +363 -0
- package/molecules/ItemMenu/ItemMenu.stories.js +42 -0
- package/molecules/ItemMenu/constants.js +36 -0
- package/molecules/ItemMenu/index.js +3 -0
- package/molecules/LoadingError/LoadingError.js +31 -0
- package/molecules/LoadingError/LoadingError.stories.js +24 -0
- package/molecules/LoadingError/__snapshots__/LoadingError.stories.js.snap +109 -0
- package/molecules/LoadingError/index.js +1 -0
- package/molecules/RowTable/RowTable.js +928 -0
- package/molecules/RowTable/RowTable.module.css +63 -0
- package/molecules/RowTable/RowTable.stories.js +26 -0
- package/molecules/RowTable/constants.js +798 -0
- package/molecules/RowTable/index.js +3 -0
- package/molecules/Score/Score.js +61 -0
- package/molecules/Score/Score.module.css +11 -0
- package/molecules/Score/Score.stories.js +13 -0
- package/molecules/Score/__snapshots__/Score.stories.js.snap +100 -0
- package/molecules/Score/faces/happy.svg +7 -0
- package/molecules/Score/faces/normal.svg +6 -0
- package/molecules/Score/faces/sad.svg +6 -0
- package/molecules/Score/index.js +2 -0
- package/molecules/Tabs/Tabs.js +59 -0
- package/molecules/Tabs/Tabs.module.css +13 -0
- package/molecules/Tabs/Tabs.stories.js +34 -0
- package/molecules/Tabs/constants.js +34 -0
- package/molecules/Tabs/index.js +3 -0
- package/molecules/Task/Task.js +114 -0
- package/molecules/Task/Task.module.css +47 -0
- package/molecules/Task/Task.stories.js +47 -0
- package/molecules/Task/__snapshots__/Task.stories.js.snap +953 -0
- package/molecules/Task/constants.js +1 -0
- package/molecules/Task/index.js +3 -0
- package/molecules/TaskCounter/TaskCounter.js +74 -0
- package/molecules/TaskCounter/TaskCounter.module.css +11 -0
- package/molecules/TaskCounter/TaskCounter.stories.js +26 -0
- package/molecules/TaskCounter/__snapshots__/TaskCounter.stories.js.snap +177 -0
- package/molecules/TaskCounter/index.js +2 -0
- package/package.json +119 -0
- package/pages/Login/Login.js +102 -0
- package/pages/Login/Login.module.css +5 -0
- package/pages/Login/Login.stories.js +23 -0
- package/pages/Login/constants.js +1 -0
- package/pages/Login/index.js +3 -0
- package/pages/Login/validation/loginSchema.js +5 -0
- package/public/favicon.ico +0 -0
- package/public/static/google-maps.png +0 -0
- package/public/static/images/folders-folder.svg +26 -0
- package/public/static/images/permissions.svg +14 -0
- package/public/static/images/reports-results.svg +18 -0
- package/public/static/logo.svg +19 -0
- package/public/static/logologin.png +0 -0
- package/public/static/logologin.svg +16 -0
- package/public/static/logologintagos.svg +19 -0
- package/public/static/logotipo.svg +50 -0
- package/public/static/logotipoS.svg +26 -0
- package/public/static/taxisvalencia_logod.png +0 -0
- package/scripts/build-tokens.js +40 -0
- package/scripts/create-component.js +128 -0
- package/storybook.test.js +13 -0
- package/styles/GrupoMutua.css +391 -0
- package/styles/default.css +391 -0
- package/styles/globals.css +1524 -0
- package/styles/radiotaxiaragon.css +391 -0
- package/styles/spartan.css +391 -0
- package/styles/tagos.css +391 -0
- package/styles/taxisvalencia.css +391 -0
- package/styles/tokens.css +391 -0
- package/templates/component/Component.js +22 -0
- package/templates/component/Component.module.css +3 -0
- package/templates/component/Component.stories.js +23 -0
- package/templates/component/constants.js +1 -0
- package/templates/component/index.js +3 -0
- package/tokens/Token/Helper.js +30 -0
- package/tokens/Token/Token.js +13 -0
- package/tokens/Token/Token.module.css +64 -0
- package/tokens/Token/components/Color.js +21 -0
- package/tokens/Token/components/Color.stories.js +126 -0
- package/tokens/Token/components/FontFamily.js +24 -0
- package/tokens/Token/components/FontFamily.stories.js +32 -0
- package/tokens/Token/components/FontSize.js +24 -0
- package/tokens/Token/components/FontSize.stories.js +31 -0
- package/tokens/Token/components/FontWeight.js +24 -0
- package/tokens/Token/components/FontWeight.stories.js +31 -0
- package/tokens/Token/components/Spacing.js +24 -0
- package/tokens/Token/components/Spacing.stories.js +29 -0
- package/tokens/Token/components/__snapshots__/Color.stories.js.snap +7169 -0
- package/tokens/Token/components/__snapshots__/FontFamily.stories.js.snap +133 -0
- package/tokens/Token/components/__snapshots__/FontSize.stories.js.snap +261 -0
- package/tokens/Token/components/__snapshots__/FontWeight.stories.js.snap +317 -0
- package/tokens/Token/components/__snapshots__/Spacing.stories.js.snap +229 -0
- package/tokens/Token/components/index.js +5 -0
- package/tokens/Token/helpers.js +17 -0
- package/tokens/Token/index.js +1 -0
- package/tokens/index.js +472 -0
- package/utils/isEmpty.js +28 -0
- package/utils/isEmpty.test.js +125 -0
- package/utils/isObject.js +4 -0
- package/utils/keyboardCodes.js +6 -0
- package/utils/testUtils/matchMediaMock.js +14 -0
- package/utils/testUtils/svgrMock.js +2 -0
- package/utils/toCapitalize.js +4 -0
- package/utils/toKebabCase.js +8 -0
- package/utils/toPascalCase.js +20 -0
- package/webpack/cssModules.js +30 -0
- package/webpack/loadConfigs.js +6 -0
- package/webpack/reactInlineSvg.js +22 -0
@@ -0,0 +1,181 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`Storyshots Molecules/Dropdown Default 1`] = `
|
4
|
+
<div
|
5
|
+
style={
|
6
|
+
Object {
|
7
|
+
"alignContent": "flex-start",
|
8
|
+
"display": "flex",
|
9
|
+
"flexDirection": "column",
|
10
|
+
"flexWrap": "wrap",
|
11
|
+
"gap": "10px 30px",
|
12
|
+
"height": "100%",
|
13
|
+
"justifyContent": "flex-start",
|
14
|
+
"maxHeight": "auto",
|
15
|
+
}
|
16
|
+
}
|
17
|
+
>
|
18
|
+
<div
|
19
|
+
className="dropdown"
|
20
|
+
>
|
21
|
+
<div
|
22
|
+
className="dropdown-icon icon color-base size-md background-highlight"
|
23
|
+
style={
|
24
|
+
Object {
|
25
|
+
"height": 35,
|
26
|
+
"width": 35,
|
27
|
+
}
|
28
|
+
}
|
29
|
+
>
|
30
|
+
<svg
|
31
|
+
height={35}
|
32
|
+
viewBox="0 0 15 9"
|
33
|
+
width={35}
|
34
|
+
xmlns="http://www.w3.org/2000/svg"
|
35
|
+
>
|
36
|
+
<path
|
37
|
+
clipRule="evenodd"
|
38
|
+
d="M7.82633 8.70623L0.882568 1.54063L1.89405 0.496826L7.82633 6.61863L13.7586 0.496826L14.7701 1.54063L7.82633 8.70623Z"
|
39
|
+
fillRule="evenodd"
|
40
|
+
/>
|
41
|
+
</svg>
|
42
|
+
</div>
|
43
|
+
<select
|
44
|
+
className="dropdown-select"
|
45
|
+
onChange={[Function]}
|
46
|
+
value=""
|
47
|
+
>
|
48
|
+
<option
|
49
|
+
value={800}
|
50
|
+
>
|
51
|
+
8:00 AM
|
52
|
+
</option>
|
53
|
+
<option
|
54
|
+
value={1300}
|
55
|
+
>
|
56
|
+
1:00 PM
|
57
|
+
</option>
|
58
|
+
</select>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
`;
|
62
|
+
|
63
|
+
exports[`Storyshots Molecules/Dropdown Inline 1`] = `
|
64
|
+
<div
|
65
|
+
style={
|
66
|
+
Object {
|
67
|
+
"alignContent": "flex-start",
|
68
|
+
"display": "flex",
|
69
|
+
"flexDirection": "column",
|
70
|
+
"flexWrap": "wrap",
|
71
|
+
"gap": "10px 30px",
|
72
|
+
"height": "100%",
|
73
|
+
"justifyContent": "flex-start",
|
74
|
+
"maxHeight": "auto",
|
75
|
+
}
|
76
|
+
}
|
77
|
+
>
|
78
|
+
<div
|
79
|
+
className="dropdown is-inline"
|
80
|
+
>
|
81
|
+
<div
|
82
|
+
className="dropdown-icon icon color-base size-md background-highlight"
|
83
|
+
style={
|
84
|
+
Object {
|
85
|
+
"height": 35,
|
86
|
+
"width": 35,
|
87
|
+
}
|
88
|
+
}
|
89
|
+
>
|
90
|
+
<svg
|
91
|
+
height={35}
|
92
|
+
viewBox="0 0 15 9"
|
93
|
+
width={35}
|
94
|
+
xmlns="http://www.w3.org/2000/svg"
|
95
|
+
>
|
96
|
+
<path
|
97
|
+
clipRule="evenodd"
|
98
|
+
d="M7.82633 8.70623L0.882568 1.54063L1.89405 0.496826L7.82633 6.61863L13.7586 0.496826L14.7701 1.54063L7.82633 8.70623Z"
|
99
|
+
fillRule="evenodd"
|
100
|
+
/>
|
101
|
+
</svg>
|
102
|
+
</div>
|
103
|
+
<select
|
104
|
+
className="dropdown-select"
|
105
|
+
onChange={[Function]}
|
106
|
+
value=""
|
107
|
+
>
|
108
|
+
<option
|
109
|
+
value={800}
|
110
|
+
>
|
111
|
+
8:00 AM
|
112
|
+
</option>
|
113
|
+
<option
|
114
|
+
value={1300}
|
115
|
+
>
|
116
|
+
1:00 PM
|
117
|
+
</option>
|
118
|
+
</select>
|
119
|
+
</div>
|
120
|
+
</div>
|
121
|
+
`;
|
122
|
+
|
123
|
+
exports[`Storyshots Molecules/Dropdown Value 1`] = `
|
124
|
+
<div
|
125
|
+
style={
|
126
|
+
Object {
|
127
|
+
"alignContent": "flex-start",
|
128
|
+
"display": "flex",
|
129
|
+
"flexDirection": "column",
|
130
|
+
"flexWrap": "wrap",
|
131
|
+
"gap": "10px 30px",
|
132
|
+
"height": "100%",
|
133
|
+
"justifyContent": "flex-start",
|
134
|
+
"maxHeight": "auto",
|
135
|
+
}
|
136
|
+
}
|
137
|
+
>
|
138
|
+
<div
|
139
|
+
className="dropdown"
|
140
|
+
>
|
141
|
+
<div
|
142
|
+
className="dropdown-icon icon color-base size-md background-highlight"
|
143
|
+
style={
|
144
|
+
Object {
|
145
|
+
"height": 35,
|
146
|
+
"width": 35,
|
147
|
+
}
|
148
|
+
}
|
149
|
+
>
|
150
|
+
<svg
|
151
|
+
height={35}
|
152
|
+
viewBox="0 0 15 9"
|
153
|
+
width={35}
|
154
|
+
xmlns="http://www.w3.org/2000/svg"
|
155
|
+
>
|
156
|
+
<path
|
157
|
+
clipRule="evenodd"
|
158
|
+
d="M7.82633 8.70623L0.882568 1.54063L1.89405 0.496826L7.82633 6.61863L13.7586 0.496826L14.7701 1.54063L7.82633 8.70623Z"
|
159
|
+
fillRule="evenodd"
|
160
|
+
/>
|
161
|
+
</svg>
|
162
|
+
</div>
|
163
|
+
<select
|
164
|
+
className="dropdown-select"
|
165
|
+
onChange={[Function]}
|
166
|
+
value={1300}
|
167
|
+
>
|
168
|
+
<option
|
169
|
+
value={800}
|
170
|
+
>
|
171
|
+
8:00 AM
|
172
|
+
</option>
|
173
|
+
<option
|
174
|
+
value={1300}
|
175
|
+
>
|
176
|
+
1:00 PM
|
177
|
+
</option>
|
178
|
+
</select>
|
179
|
+
</div>
|
180
|
+
</div>
|
181
|
+
`;
|
@@ -0,0 +1,186 @@
|
|
1
|
+
import React from 'react'
|
2
|
+
import Select from 'react-select'
|
3
|
+
import PropTypes from 'prop-types'
|
4
|
+
import styles from './DynamicSelect.module.css'
|
5
|
+
import withStyles from '../../hocs/withStyles'
|
6
|
+
|
7
|
+
|
8
|
+
export const DynamicSelect = ({
|
9
|
+
getStyles,
|
10
|
+
optionsSelect,
|
11
|
+
value,
|
12
|
+
defaultValue,
|
13
|
+
placeholder,
|
14
|
+
isMulti,
|
15
|
+
isClearable,
|
16
|
+
isDisabled,
|
17
|
+
isLoading,
|
18
|
+
isRtl,
|
19
|
+
isSearchable,
|
20
|
+
isInline,
|
21
|
+
onChange,
|
22
|
+
onFocus,
|
23
|
+
onBlur,
|
24
|
+
closeMenuOnSelect,
|
25
|
+
maxMenuHeight,
|
26
|
+
instanceId,
|
27
|
+
}) => {
|
28
|
+
|
29
|
+
|
30
|
+
const customStyles = {
|
31
|
+
|
32
|
+
option: (base, state) => ({
|
33
|
+
...base,
|
34
|
+
cursor: 'pointer',
|
35
|
+
width: "max-content",
|
36
|
+
minWidth: "100%",
|
37
|
+
position: 'relative',
|
38
|
+
backgroundColor: state.isSelected ? 'var(--color-primary)' : 'transparent',
|
39
|
+
"&:hover": {
|
40
|
+
backgroundColor: "var(--color-primary-highlight)",
|
41
|
+
color: 'var(--color-primary)',
|
42
|
+
},
|
43
|
+
// "&:active": {
|
44
|
+
// backgroundColor: "var(--color-primary)"
|
45
|
+
// }
|
46
|
+
}),
|
47
|
+
control: (base, state) => ({
|
48
|
+
...base,
|
49
|
+
cursor: 'pointer',
|
50
|
+
width: '100%',
|
51
|
+
borderRadius: 0,
|
52
|
+
border: 'var(--border-width-thin) solid var(--color-brand-white-lilac)',
|
53
|
+
// border: state.isFocused ? "var(--border-width-thin) solid var(--color-brand-white-lilac)" : "var(--border-width-thin) solid var(--color-brand-white-lilac)",
|
54
|
+
boxShadow: state.isFocused ? "0 0 0 1px var(--color-primary), 0 0 10px 0 var(--color-primary)" : "none",
|
55
|
+
"&:hover": {
|
56
|
+
borderColor: "var(--color-primary)"
|
57
|
+
}
|
58
|
+
}),
|
59
|
+
input: (base) => ({
|
60
|
+
...base,
|
61
|
+
cursor: 'pointer',
|
62
|
+
margin: '2px',
|
63
|
+
paddingBottom: '2px',
|
64
|
+
paddingTop: '2px',
|
65
|
+
}),
|
66
|
+
|
67
|
+
placeholder: (base) => ({
|
68
|
+
...base,
|
69
|
+
color: 'var(--color-brand-white-lilac)',
|
70
|
+
fontWeight: 'var(--font-weight-light)',
|
71
|
+
whiteSpace: 'nowrap',
|
72
|
+
overflow: 'hidden',
|
73
|
+
textOverflow: 'ellipsis',
|
74
|
+
}),
|
75
|
+
|
76
|
+
valueContainer: (base, state) => ({
|
77
|
+
...base,
|
78
|
+
textOverflow: "ellipsis",
|
79
|
+
whiteSpace: "nowrap",
|
80
|
+
overflow: "hidden",
|
81
|
+
// display: "inline-grid"
|
82
|
+
// maxHeight: "38px",
|
83
|
+
}),
|
84
|
+
|
85
|
+
container: (base) => ({
|
86
|
+
...base,
|
87
|
+
// width: "max-content",
|
88
|
+
minWidth: "100%",
|
89
|
+
}),
|
90
|
+
|
91
|
+
menu: (base) => ({
|
92
|
+
...base,
|
93
|
+
width: "max-content",
|
94
|
+
minWidth: "100%",
|
95
|
+
}),
|
96
|
+
|
97
|
+
// menu: styles => ({ ...styles,
|
98
|
+
// width: '500px'
|
99
|
+
// })
|
100
|
+
|
101
|
+
// indicatorsContainer: (provided, state) => ({
|
102
|
+
// ...provided,
|
103
|
+
// height: '50px',
|
104
|
+
// }),
|
105
|
+
|
106
|
+
}
|
107
|
+
|
108
|
+
// const handleChange = (value) => {
|
109
|
+
// console.group('Value Changed');
|
110
|
+
// console.log(value);
|
111
|
+
// // console.log(`action: ${actionMeta.action}`);
|
112
|
+
// console.groupEnd();
|
113
|
+
// };
|
114
|
+
|
115
|
+
return (
|
116
|
+
|
117
|
+
<div className={getStyles('dynamic-select', {
|
118
|
+
'is-inline': isInline,
|
119
|
+
})}>
|
120
|
+
<Select
|
121
|
+
name="basic"
|
122
|
+
// className="basic-single"
|
123
|
+
// classNamePrefix="select"
|
124
|
+
placeholder={placeholder}
|
125
|
+
styles={customStyles}
|
126
|
+
options={optionsSelect}
|
127
|
+
defaultValue={defaultValue}
|
128
|
+
value={value}
|
129
|
+
isMulti={isMulti}
|
130
|
+
isClearable={isClearable}
|
131
|
+
isDisabled={isDisabled}
|
132
|
+
isLoading={isLoading}
|
133
|
+
isRtl={isRtl}
|
134
|
+
isSearchable={isSearchable}
|
135
|
+
onChange={onChange}
|
136
|
+
onFocus={onFocus}
|
137
|
+
onBlur={onBlur}
|
138
|
+
closeMenuOnSelect={closeMenuOnSelect}
|
139
|
+
maxMenuHeight={maxMenuHeight}
|
140
|
+
autosize={true}
|
141
|
+
instanceId={instanceId}
|
142
|
+
/>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
)
|
146
|
+
}
|
147
|
+
|
148
|
+
DynamicSelect.propTypes = {
|
149
|
+
getStyles: PropTypes.func.isRequired,
|
150
|
+
defaultValue: PropTypes.any,
|
151
|
+
value: PropTypes.any,
|
152
|
+
placeholder: PropTypes.string,
|
153
|
+
isMulti: PropTypes.bool,
|
154
|
+
isClearable: PropTypes.bool,
|
155
|
+
isDisabled: PropTypes.bool,
|
156
|
+
isLoading: PropTypes.bool,
|
157
|
+
isRtl: PropTypes.bool,
|
158
|
+
isSearchable: PropTypes.bool,
|
159
|
+
isInline: PropTypes.bool,
|
160
|
+
onChange: PropTypes.func,
|
161
|
+
onFocus: PropTypes.func,
|
162
|
+
onBlur: PropTypes.func,
|
163
|
+
closeMenuOnSelect: PropTypes.bool,
|
164
|
+
maxMenuHeight: PropTypes.number,
|
165
|
+
instanceId: PropTypes.string,
|
166
|
+
}
|
167
|
+
|
168
|
+
DynamicSelect.defaultProps = {
|
169
|
+
getStyles: () => { },
|
170
|
+
placeholder: 'seleccionar',
|
171
|
+
isMulti: false,
|
172
|
+
isClearable: true,
|
173
|
+
isDisabled: false,
|
174
|
+
isLoading: false,
|
175
|
+
isRtl: false,
|
176
|
+
isSearchable: false,
|
177
|
+
isInline: false,
|
178
|
+
onChange: () => { },
|
179
|
+
onFocus: () => { },
|
180
|
+
onBlur: () => { },
|
181
|
+
closeMenuOnSelect: true,
|
182
|
+
maxMenuHeight: 300,
|
183
|
+
instanceId: ''
|
184
|
+
}
|
185
|
+
|
186
|
+
export default withStyles(styles)(DynamicSelect)
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { DynamicSelect, styles, options } from '.'
|
2
|
+
|
3
|
+
import {
|
4
|
+
getTemplate,
|
5
|
+
getListTemplate,
|
6
|
+
getOptionsArgTypes,
|
7
|
+
} from '../../helpers/storybook'
|
8
|
+
|
9
|
+
const Template = getTemplate(DynamicSelect, styles)
|
10
|
+
const ListTemplate = getListTemplate(DynamicSelect, styles)
|
11
|
+
|
12
|
+
export default {
|
13
|
+
title: 'Molecules/DynamicSelect',
|
14
|
+
component: DynamicSelect,
|
15
|
+
args: {
|
16
|
+
optionsSelect: options.optionsSelect,
|
17
|
+
defaultValue: options.optionsSelect[0],
|
18
|
+
placeholder: 'seleccionar',
|
19
|
+
isMulti: false,
|
20
|
+
isClearable: true,
|
21
|
+
isDisabled: false,
|
22
|
+
isLoading: false,
|
23
|
+
isRtl: false,
|
24
|
+
isSearchable: false,
|
25
|
+
isInline: false,
|
26
|
+
},
|
27
|
+
argTypes: {
|
28
|
+
// types: getOptionsArgTypes(options.types),
|
29
|
+
},
|
30
|
+
}
|
31
|
+
|
32
|
+
export const Default = Template.bind({})
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import React from 'react'
|
2
|
+
import PropTypes from 'prop-types'
|
3
|
+
|
4
|
+
import styles from './Error.module.css'
|
5
|
+
import withStyles from '../../hocs/withStyles'
|
6
|
+
|
7
|
+
import Spacer from '../../layout/Spacer'
|
8
|
+
import Paragraph from '../../atoms/Paragraph'
|
9
|
+
import Heading from '../../atoms/Heading'
|
10
|
+
import Icon from '../../atoms/Icon'
|
11
|
+
|
12
|
+
export const Error = ({ title, children, getStyles }) => {
|
13
|
+
return (
|
14
|
+
<div className={getStyles('error')}>
|
15
|
+
<Icon className="icon-warning" name="warning" size="lg" />
|
16
|
+
<Spacer.Horizontal size="sm" />
|
17
|
+
<div>
|
18
|
+
{title && <Heading>{title}</Heading>}
|
19
|
+
<Paragraph size="sm">{children}</Paragraph>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
)
|
23
|
+
}
|
24
|
+
|
25
|
+
Error.propTypes = {
|
26
|
+
children: PropTypes.node.isRequired,
|
27
|
+
getStyles: PropTypes.func.isRequired,
|
28
|
+
title: PropTypes.string,
|
29
|
+
}
|
30
|
+
|
31
|
+
Error.defaultProps = {
|
32
|
+
getStyles: () => {},
|
33
|
+
}
|
34
|
+
|
35
|
+
export default withStyles(styles)(Error)
|
@@ -0,0 +1,12 @@
|
|
1
|
+
.error {
|
2
|
+
display: flex;
|
3
|
+
padding: 10px 20px;
|
4
|
+
border-top: 2px solid var(--color-red-500);
|
5
|
+
background: var(--color-red-100);
|
6
|
+
color: var(--color-red-800);
|
7
|
+
border-radius: var(--border-radius-sm);
|
8
|
+
}
|
9
|
+
|
10
|
+
.error :global(.icon-warning) {
|
11
|
+
margin-top: -4px;
|
12
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Error, styles } from '.'
|
2
|
+
|
3
|
+
import { getTemplate } from '../../helpers/storybook'
|
4
|
+
|
5
|
+
const Template = getTemplate(Error, styles)
|
6
|
+
|
7
|
+
export default {
|
8
|
+
title: 'Molecules/Error',
|
9
|
+
component: Error,
|
10
|
+
args: {
|
11
|
+
children:
|
12
|
+
"Meets counts consumed 200 Meriadoc tombs rabble noble crash thread. Another kind Imladris. Dump each Kingdom mere other's by blame ugly sending bestow mist adventure.",
|
13
|
+
},
|
14
|
+
}
|
15
|
+
|
16
|
+
export const Default = Template.bind({})
|
17
|
+
export const Title = Template.bind({})
|
18
|
+
Title.args = { title: 'Lindir glowers saw 111th utter.' }
|
@@ -0,0 +1,134 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`Storyshots Molecules/Error Default 1`] = `
|
4
|
+
<div
|
5
|
+
style={
|
6
|
+
Object {
|
7
|
+
"alignContent": "flex-start",
|
8
|
+
"display": "flex",
|
9
|
+
"flexDirection": "column",
|
10
|
+
"flexWrap": "wrap",
|
11
|
+
"gap": "10px 30px",
|
12
|
+
"height": "100%",
|
13
|
+
"justifyContent": "flex-start",
|
14
|
+
"maxHeight": "auto",
|
15
|
+
}
|
16
|
+
}
|
17
|
+
>
|
18
|
+
<div
|
19
|
+
className="error"
|
20
|
+
>
|
21
|
+
<div
|
22
|
+
className="icon-warning icon color-base size-md background-transparent"
|
23
|
+
style={
|
24
|
+
Object {
|
25
|
+
"height": 35,
|
26
|
+
"width": 35,
|
27
|
+
}
|
28
|
+
}
|
29
|
+
>
|
30
|
+
<svg
|
31
|
+
height={35}
|
32
|
+
viewBox="0 0 20 20"
|
33
|
+
width={35}
|
34
|
+
xmlns="http://www.w3.org/2000/svg"
|
35
|
+
>
|
36
|
+
<path
|
37
|
+
clipRule="evenodd"
|
38
|
+
d="M10 20C4.48612 20 0 15.5139 0 10C0 4.48612 4.48612 0 10 0C15.5139 0 20 4.48612 20 10C20 15.5139 15.5139 20 10 20ZM10 1.09864C5.09155 1.09864 1.09864 5.09155 1.09864 10C1.09864 14.9084 5.09155 18.9014 10 18.9014C14.9084 18.9014 18.9014 14.9084 18.9014 10C18.9014 5.09155 14.9084 1.09864 10 1.09864Z"
|
39
|
+
fillRule="evenodd"
|
40
|
+
/>
|
41
|
+
<path
|
42
|
+
d="M10.7837 11.8579H9.25293L9.08447 4.33594H10.9595L10.7837 11.8579ZM9.0332 14.1577C9.0332 13.8794 9.12354 13.6499 9.3042 13.4692C9.48486 13.2837 9.73145 13.1909 10.0439 13.1909C10.3564 13.1909 10.603 13.2837 10.7837 13.4692C10.9644 13.6499 11.0547 13.8794 11.0547 14.1577C11.0547 14.4263 10.9668 14.6509 10.791 14.8315C10.6152 15.0122 10.3662 15.1025 10.0439 15.1025C9.72168 15.1025 9.47266 15.0122 9.29688 14.8315C9.12109 14.6509 9.0332 14.4263 9.0332 14.1577Z"
|
43
|
+
/>
|
44
|
+
</svg>
|
45
|
+
</div>
|
46
|
+
<div
|
47
|
+
className="spacer horizontal"
|
48
|
+
style={
|
49
|
+
Object {
|
50
|
+
"height": "100%",
|
51
|
+
"maxHeight": "auto",
|
52
|
+
"width": 15,
|
53
|
+
}
|
54
|
+
}
|
55
|
+
/>
|
56
|
+
<div>
|
57
|
+
<p
|
58
|
+
className="paragraph color-base size-md weight-normal"
|
59
|
+
>
|
60
|
+
Meets counts consumed 200 Meriadoc tombs rabble noble crash thread. Another kind Imladris. Dump each Kingdom mere other's by blame ugly sending bestow mist adventure.
|
61
|
+
</p>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
`;
|
66
|
+
|
67
|
+
exports[`Storyshots Molecules/Error Title 1`] = `
|
68
|
+
<div
|
69
|
+
style={
|
70
|
+
Object {
|
71
|
+
"alignContent": "flex-start",
|
72
|
+
"display": "flex",
|
73
|
+
"flexDirection": "column",
|
74
|
+
"flexWrap": "wrap",
|
75
|
+
"gap": "10px 30px",
|
76
|
+
"height": "100%",
|
77
|
+
"justifyContent": "flex-start",
|
78
|
+
"maxHeight": "auto",
|
79
|
+
}
|
80
|
+
}
|
81
|
+
>
|
82
|
+
<div
|
83
|
+
className="error"
|
84
|
+
>
|
85
|
+
<div
|
86
|
+
className="icon-warning icon color-base size-md background-transparent"
|
87
|
+
style={
|
88
|
+
Object {
|
89
|
+
"height": 35,
|
90
|
+
"width": 35,
|
91
|
+
}
|
92
|
+
}
|
93
|
+
>
|
94
|
+
<svg
|
95
|
+
height={35}
|
96
|
+
viewBox="0 0 20 20"
|
97
|
+
width={35}
|
98
|
+
xmlns="http://www.w3.org/2000/svg"
|
99
|
+
>
|
100
|
+
<path
|
101
|
+
clipRule="evenodd"
|
102
|
+
d="M10 20C4.48612 20 0 15.5139 0 10C0 4.48612 4.48612 0 10 0C15.5139 0 20 4.48612 20 10C20 15.5139 15.5139 20 10 20ZM10 1.09864C5.09155 1.09864 1.09864 5.09155 1.09864 10C1.09864 14.9084 5.09155 18.9014 10 18.9014C14.9084 18.9014 18.9014 14.9084 18.9014 10C18.9014 5.09155 14.9084 1.09864 10 1.09864Z"
|
103
|
+
fillRule="evenodd"
|
104
|
+
/>
|
105
|
+
<path
|
106
|
+
d="M10.7837 11.8579H9.25293L9.08447 4.33594H10.9595L10.7837 11.8579ZM9.0332 14.1577C9.0332 13.8794 9.12354 13.6499 9.3042 13.4692C9.48486 13.2837 9.73145 13.1909 10.0439 13.1909C10.3564 13.1909 10.603 13.2837 10.7837 13.4692C10.9644 13.6499 11.0547 13.8794 11.0547 14.1577C11.0547 14.4263 10.9668 14.6509 10.791 14.8315C10.6152 15.0122 10.3662 15.1025 10.0439 15.1025C9.72168 15.1025 9.47266 15.0122 9.29688 14.8315C9.12109 14.6509 9.0332 14.4263 9.0332 14.1577Z"
|
107
|
+
/>
|
108
|
+
</svg>
|
109
|
+
</div>
|
110
|
+
<div
|
111
|
+
className="spacer horizontal"
|
112
|
+
style={
|
113
|
+
Object {
|
114
|
+
"height": "100%",
|
115
|
+
"maxHeight": "auto",
|
116
|
+
"width": 15,
|
117
|
+
}
|
118
|
+
}
|
119
|
+
/>
|
120
|
+
<div>
|
121
|
+
<h1
|
122
|
+
className="heading color-base size-md weight-bold"
|
123
|
+
>
|
124
|
+
Lindir glowers saw 111th utter.
|
125
|
+
</h1>
|
126
|
+
<p
|
127
|
+
className="paragraph color-base size-md weight-normal"
|
128
|
+
>
|
129
|
+
Meets counts consumed 200 Meriadoc tombs rabble noble crash thread. Another kind Imladris. Dump each Kingdom mere other's by blame ugly sending bestow mist adventure.
|
130
|
+
</p>
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
</div>
|
134
|
+
`;
|