@eightshift/frontend-libs-tailwind 1.4.8 → 2.0.0
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/CHANGELOG.md +20 -0
- package/bun.lockb +0 -0
- package/package.json +28 -35
- package/scripts/components/block-inserter.js +1 -1
- package/scripts/components/file-picker.js +17 -3
- package/scripts/components/picker-placeholder.js +5 -7
- package/scripts/components/server-side-render.js +1 -1
- package/scripts/components/settings/settings.js +21 -20
- package/blocks/init/assets/application-admin.js +0 -10
- package/blocks/init/assets/application.js +0 -13
- package/blocks/init/assets/fonts/fraunces-italic-latin-extended.woff2 +0 -0
- package/blocks/init/assets/fonts/fraunces-italic-latin.woff2 +0 -0
- package/blocks/init/assets/fonts/fraunces-latin-extended.woff2 +0 -0
- package/blocks/init/assets/fonts/fraunces-latin.woff2 +0 -0
- package/blocks/init/assets/fonts/noto-sans-italic-latin-extended.woff2 +0 -0
- package/blocks/init/assets/fonts/noto-sans-italic-latin.woff2 +0 -0
- package/blocks/init/assets/fonts/noto-sans-latin-extended.woff2 +0 -0
- package/blocks/init/assets/fonts/noto-sans-latin.woff2 +0 -0
- package/blocks/init/assets/images/index.js +0 -5
- package/blocks/init/assets/scripts/application-admin.js +0 -7
- package/blocks/init/assets/scripts/application.js +0 -3
- package/blocks/init/assets/scripts/theme-colors.js +0 -39
- package/blocks/init/assets/styles/application-admin.css +0 -6
- package/blocks/init/assets/styles/application.css +0 -3
- package/blocks/init/src/Blocks/assets/application-blocks-editor.js +0 -14
- package/blocks/init/src/Blocks/assets/application-blocks-frontend.js +0 -13
- package/blocks/init/src/Blocks/assets/application-blocks.js +0 -9
- package/blocks/init/src/Blocks/assets/scripts/application-blocks-editor.js +0 -65
- package/blocks/init/src/Blocks/assets/scripts/application-blocks-frontend.js +0 -24
- package/blocks/init/src/Blocks/assets/scripts/link-section-editor.js +0 -262
- package/blocks/init/src/Blocks/assets/scripts/shared.js +0 -25
- package/blocks/init/src/Blocks/assets/styles/application-blocks-editor.css +0 -15
- package/blocks/init/src/Blocks/assets/styles/application-blocks-frontend.css +0 -9
- package/blocks/init/src/Blocks/assets/styles/application-blocks.css +0 -1
- package/blocks/init/src/Blocks/assets/styles/editor/editor-overrides.css +0 -15
- package/blocks/init/src/Blocks/assets/styles/fonts.css +0 -90
- package/blocks/init/src/Blocks/assets/styles/tailwind.css +0 -30
- package/blocks/init/src/Blocks/components/admin-theme-options/admin-theme-options.php +0 -20
- package/blocks/init/src/Blocks/components/admin-theme-options/assets-admin/index.js +0 -36
- package/blocks/init/src/Blocks/components/admin-theme-options/assets-admin/pages/parts.js +0 -56
- package/blocks/init/src/Blocks/components/admin-theme-options/manifest.json +0 -5
- package/blocks/init/src/Blocks/components/button/assets/index.js +0 -22
- package/blocks/init/src/Blocks/components/button/button.php +0 -88
- package/blocks/init/src/Blocks/components/button/components/button-editor.js +0 -36
- package/blocks/init/src/Blocks/components/button/components/button-options.js +0 -134
- package/blocks/init/src/Blocks/components/button/manifest.json +0 -302
- package/blocks/init/src/Blocks/components/card/card.php +0 -42
- package/blocks/init/src/Blocks/components/card/components/card-editor.js +0 -43
- package/blocks/init/src/Blocks/components/card/components/card-options.js +0 -55
- package/blocks/init/src/Blocks/components/card/manifest.json +0 -111
- package/blocks/init/src/Blocks/components/head/head.php +0 -52
- package/blocks/init/src/Blocks/components/head/manifest.json +0 -17
- package/blocks/init/src/Blocks/components/heading/components/heading-editor.js +0 -26
- package/blocks/init/src/Blocks/components/heading/components/heading-options.js +0 -62
- package/blocks/init/src/Blocks/components/heading/heading.php +0 -45
- package/blocks/init/src/Blocks/components/heading/manifest.json +0 -76
- package/blocks/init/src/Blocks/components/hero/components/hero-editor.js +0 -42
- package/blocks/init/src/Blocks/components/hero/components/hero-options.js +0 -100
- package/blocks/init/src/Blocks/components/hero/hero.php +0 -45
- package/blocks/init/src/Blocks/components/hero/manifest.json +0 -96
- package/blocks/init/src/Blocks/components/icon/components/icon-editor.js +0 -23
- package/blocks/init/src/Blocks/components/icon/components/icon-options.js +0 -65
- package/blocks/init/src/Blocks/components/icon/icon.php +0 -53
- package/blocks/init/src/Blocks/components/icon/manifest.json +0 -1238
- package/blocks/init/src/Blocks/components/image/components/image-editor.js +0 -64
- package/blocks/init/src/Blocks/components/image/components/image-options.js +0 -111
- package/blocks/init/src/Blocks/components/image/image.php +0 -68
- package/blocks/init/src/Blocks/components/image/manifest.json +0 -125
- package/blocks/init/src/Blocks/components/list/components/list-editor.js +0 -30
- package/blocks/init/src/Blocks/components/list/components/list-options.js +0 -62
- package/blocks/init/src/Blocks/components/list/list.php +0 -32
- package/blocks/init/src/Blocks/components/list/manifest.json +0 -127
- package/blocks/init/src/Blocks/components/load-more/assets/index.js +0 -19
- package/blocks/init/src/Blocks/components/load-more/assets/load-more.js +0 -146
- package/blocks/init/src/Blocks/components/load-more/components/load-more-editor.js +0 -14
- package/blocks/init/src/Blocks/components/load-more/components/load-more-options.js +0 -19
- package/blocks/init/src/Blocks/components/load-more/load-more.php +0 -47
- package/blocks/init/src/Blocks/components/load-more/manifest.json +0 -39
- package/blocks/init/src/Blocks/components/modal/assets/index.js +0 -27
- package/blocks/init/src/Blocks/components/modal/manifest.json +0 -48
- package/blocks/init/src/Blocks/components/modal/modal.php +0 -46
- package/blocks/init/src/Blocks/components/paragraph/components/paragraph-editor.js +0 -38
- package/blocks/init/src/Blocks/components/paragraph/components/paragraph-options.js +0 -48
- package/blocks/init/src/Blocks/components/paragraph/manifest.json +0 -81
- package/blocks/init/src/Blocks/components/paragraph/paragraph.php +0 -33
- package/blocks/init/src/Blocks/components/post-header/manifest.json +0 -5
- package/blocks/init/src/Blocks/components/post-header/post-header.php +0 -24
- package/blocks/init/src/Blocks/components/quote/components/quote-editor.js +0 -53
- package/blocks/init/src/Blocks/components/quote/components/quote-options.js +0 -29
- package/blocks/init/src/Blocks/components/quote/manifest.json +0 -47
- package/blocks/init/src/Blocks/components/quote/quote.php +0 -49
- package/blocks/init/src/Blocks/components/share/assets/index.js +0 -39
- package/blocks/init/src/Blocks/components/share/components/share-editor.js +0 -28
- package/blocks/init/src/Blocks/components/share/components/share-options.js +0 -112
- package/blocks/init/src/Blocks/components/share/manifest.json +0 -72
- package/blocks/init/src/Blocks/components/share/share.php +0 -69
- package/blocks/init/src/Blocks/components/tracking-before-body-end/manifest.json +0 -5
- package/blocks/init/src/Blocks/components/tracking-before-body-end/tracking-before-body-end.php +0 -9
- package/blocks/init/src/Blocks/components/tracking-head/manifest.json +0 -5
- package/blocks/init/src/Blocks/components/tracking-head/tracking-head.php +0 -9
- package/blocks/init/src/Blocks/components/video/components/video-editor.js +0 -74
- package/blocks/init/src/Blocks/components/video/components/video-options.js +0 -279
- package/blocks/init/src/Blocks/components/video/manifest.json +0 -120
- package/blocks/init/src/Blocks/components/video/video.php +0 -70
- package/blocks/init/src/Blocks/custom/accordion/accordion-block.js +0 -15
- package/blocks/init/src/Blocks/custom/accordion/accordion.php +0 -28
- package/blocks/init/src/Blocks/custom/accordion/assets/index.js +0 -37
- package/blocks/init/src/Blocks/custom/accordion/components/accordion-editor.js +0 -22
- package/blocks/init/src/Blocks/custom/accordion/components/accordion-options.js +0 -18
- package/blocks/init/src/Blocks/custom/accordion/manifest.json +0 -32
- package/blocks/init/src/Blocks/custom/accordion-item/accordion-item-block.js +0 -19
- package/blocks/init/src/Blocks/custom/accordion-item/accordion-item.php +0 -46
- package/blocks/init/src/Blocks/custom/accordion-item/components/accordion-item-editor.js +0 -60
- package/blocks/init/src/Blocks/custom/accordion-item/manifest.json +0 -69
- package/blocks/init/src/Blocks/custom/button/button-block.js +0 -13
- package/blocks/init/src/Blocks/custom/button/button.php +0 -11
- package/blocks/init/src/Blocks/custom/button/components/button-editor.js +0 -12
- package/blocks/init/src/Blocks/custom/button/components/button-options.js +0 -12
- package/blocks/init/src/Blocks/custom/button/manifest.json +0 -18
- package/blocks/init/src/Blocks/custom/card/card-block.js +0 -13
- package/blocks/init/src/Blocks/custom/card/card.php +0 -11
- package/blocks/init/src/Blocks/custom/card/components/card-editor.js +0 -12
- package/blocks/init/src/Blocks/custom/card/components/card-options.js +0 -15
- package/blocks/init/src/Blocks/custom/card/manifest.json +0 -18
- package/blocks/init/src/Blocks/custom/carousel/assets/index.js +0 -46
- package/blocks/init/src/Blocks/custom/carousel/assets/navigation.js +0 -31
- package/blocks/init/src/Blocks/custom/carousel/assets/pagination.js +0 -40
- package/blocks/init/src/Blocks/custom/carousel/carousel-block.js +0 -21
- package/blocks/init/src/Blocks/custom/carousel/carousel.php +0 -61
- package/blocks/init/src/Blocks/custom/carousel/components/carousel-editor.js +0 -25
- package/blocks/init/src/Blocks/custom/carousel/components/carousel-options.js +0 -47
- package/blocks/init/src/Blocks/custom/carousel/manifest.json +0 -130
- package/blocks/init/src/Blocks/custom/column/column-block.js +0 -21
- package/blocks/init/src/Blocks/custom/column/column-hooks.js +0 -32
- package/blocks/init/src/Blocks/custom/column/column.php +0 -21
- package/blocks/init/src/Blocks/custom/column/components/column-editor.js +0 -22
- package/blocks/init/src/Blocks/custom/column/components/column-options.js +0 -580
- package/blocks/init/src/Blocks/custom/column/manifest.json +0 -625
- package/blocks/init/src/Blocks/custom/columns/columns-block.js +0 -20
- package/blocks/init/src/Blocks/custom/columns/columns.php +0 -21
- package/blocks/init/src/Blocks/custom/columns/components/columns-editor.js +0 -81
- package/blocks/init/src/Blocks/custom/columns/components/columns-options.js +0 -104
- package/blocks/init/src/Blocks/custom/columns/manifest.json +0 -581
- package/blocks/init/src/Blocks/custom/featured-content/components/featured-content-editor.js +0 -28
- package/blocks/init/src/Blocks/custom/featured-content/components/featured-content-options.js +0 -248
- package/blocks/init/src/Blocks/custom/featured-content/featured-content-block.js +0 -13
- package/blocks/init/src/Blocks/custom/featured-content/featured-content.php +0 -139
- package/blocks/init/src/Blocks/custom/featured-content/manifest.json +0 -131
- package/blocks/init/src/Blocks/custom/featured-content/partials/cards.php +0 -39
- package/blocks/init/src/Blocks/custom/group/components/group-editor.js +0 -6
- package/blocks/init/src/Blocks/custom/group/group-block.js +0 -14
- package/blocks/init/src/Blocks/custom/group/group.php +0 -10
- package/blocks/init/src/Blocks/custom/group/manifest.json +0 -32
- package/blocks/init/src/Blocks/custom/heading/components/heading-editor.js +0 -15
- package/blocks/init/src/Blocks/custom/heading/components/heading-options.js +0 -38
- package/blocks/init/src/Blocks/custom/heading/heading-block.js +0 -13
- package/blocks/init/src/Blocks/custom/heading/heading-transforms.js +0 -26
- package/blocks/init/src/Blocks/custom/heading/heading.php +0 -15
- package/blocks/init/src/Blocks/custom/heading/manifest.json +0 -79
- package/blocks/init/src/Blocks/custom/hero/components/hero-editor.js +0 -12
- package/blocks/init/src/Blocks/custom/hero/components/hero-options.js +0 -14
- package/blocks/init/src/Blocks/custom/hero/hero-block.js +0 -13
- package/blocks/init/src/Blocks/custom/hero/hero.php +0 -11
- package/blocks/init/src/Blocks/custom/hero/manifest.json +0 -17
- package/blocks/init/src/Blocks/custom/image/components/image-editor.js +0 -12
- package/blocks/init/src/Blocks/custom/image/components/image-options.js +0 -14
- package/blocks/init/src/Blocks/custom/image/image-block.js +0 -13
- package/blocks/init/src/Blocks/custom/image/image.php +0 -11
- package/blocks/init/src/Blocks/custom/image/manifest.json +0 -33
- package/blocks/init/src/Blocks/custom/list/components/list-editor.js +0 -14
- package/blocks/init/src/Blocks/custom/list/components/list-options.js +0 -39
- package/blocks/init/src/Blocks/custom/list/list-block.js +0 -13
- package/blocks/init/src/Blocks/custom/list/list.php +0 -15
- package/blocks/init/src/Blocks/custom/list/manifest.json +0 -58
- package/blocks/init/src/Blocks/custom/map/assets/index.js +0 -20
- package/blocks/init/src/Blocks/custom/map/assets/map-controller.js +0 -41
- package/blocks/init/src/Blocks/custom/map/assets/utils.js +0 -161
- package/blocks/init/src/Blocks/custom/map/components/map-components.js +0 -403
- package/blocks/init/src/Blocks/custom/map/components/map-editor.js +0 -56
- package/blocks/init/src/Blocks/custom/map/components/map-options.js +0 -550
- package/blocks/init/src/Blocks/custom/map/manifest.json +0 -79
- package/blocks/init/src/Blocks/custom/map/map-block.js +0 -13
- package/blocks/init/src/Blocks/custom/map/map.php +0 -52
- package/blocks/init/src/Blocks/custom/map/styles.css +0 -2
- package/blocks/init/src/Blocks/custom/modal/components/modal-editor.js +0 -90
- package/blocks/init/src/Blocks/custom/modal/manifest.json +0 -51
- package/blocks/init/src/Blocks/custom/modal/modal-block.js +0 -14
- package/blocks/init/src/Blocks/custom/modal/modal.php +0 -20
- package/blocks/init/src/Blocks/custom/paragraph/components/paragraph-editor.js +0 -17
- package/blocks/init/src/Blocks/custom/paragraph/components/paragraph-options.js +0 -38
- package/blocks/init/src/Blocks/custom/paragraph/manifest.json +0 -82
- package/blocks/init/src/Blocks/custom/paragraph/paragraph-block.js +0 -13
- package/blocks/init/src/Blocks/custom/paragraph/paragraph-transforms.js +0 -46
- package/blocks/init/src/Blocks/custom/paragraph/paragraph.php +0 -15
- package/blocks/init/src/Blocks/custom/quote/components/quote-editor.js +0 -12
- package/blocks/init/src/Blocks/custom/quote/components/quote-options.js +0 -14
- package/blocks/init/src/Blocks/custom/quote/manifest.json +0 -17
- package/blocks/init/src/Blocks/custom/quote/quote-block.js +0 -13
- package/blocks/init/src/Blocks/custom/quote/quote.php +0 -13
- package/blocks/init/src/Blocks/custom/share/components/share-editor.js +0 -6
- package/blocks/init/src/Blocks/custom/share/components/share-options.js +0 -12
- package/blocks/init/src/Blocks/custom/share/manifest.json +0 -19
- package/blocks/init/src/Blocks/custom/share/share-block.js +0 -13
- package/blocks/init/src/Blocks/custom/share/share.php +0 -11
- package/blocks/init/src/Blocks/custom/site-footer/components/site-footer-editor.js +0 -57
- package/blocks/init/src/Blocks/custom/site-footer/components/site-footer-options.js +0 -106
- package/blocks/init/src/Blocks/custom/site-footer/manifest.json +0 -73
- package/blocks/init/src/Blocks/custom/site-footer/site-footer-block.js +0 -13
- package/blocks/init/src/Blocks/custom/site-footer/site-footer.php +0 -74
- package/blocks/init/src/Blocks/custom/site-navigation/assets/index.js +0 -9
- package/blocks/init/src/Blocks/custom/site-navigation/components/site-navigation-editor.js +0 -42
- package/blocks/init/src/Blocks/custom/site-navigation/components/site-navigation-options.js +0 -73
- package/blocks/init/src/Blocks/custom/site-navigation/manifest.json +0 -77
- package/blocks/init/src/Blocks/custom/site-navigation/site-navigation-block.js +0 -13
- package/blocks/init/src/Blocks/custom/site-navigation/site-navigation.php +0 -99
- package/blocks/init/src/Blocks/custom/table-of-contents/assets/index.js +0 -58
- package/blocks/init/src/Blocks/custom/table-of-contents/components/table-of-contents-editor.js +0 -38
- package/blocks/init/src/Blocks/custom/table-of-contents/components/table-of-contents-options.js +0 -32
- package/blocks/init/src/Blocks/custom/table-of-contents/manifest.json +0 -48
- package/blocks/init/src/Blocks/custom/table-of-contents/table-of-contents-block.js +0 -13
- package/blocks/init/src/Blocks/custom/table-of-contents/table-of-contents.php +0 -31
- package/blocks/init/src/Blocks/custom/video/components/video-editor.js +0 -6
- package/blocks/init/src/Blocks/custom/video/components/video-options.js +0 -12
- package/blocks/init/src/Blocks/custom/video/manifest.json +0 -29
- package/blocks/init/src/Blocks/custom/video/video-block.js +0 -13
- package/blocks/init/src/Blocks/custom/video/video.php +0 -22
- package/blocks/init/src/Blocks/manifest.json +0 -32
- package/blocks/init/src/Blocks/variations/card-simple/manifest.json +0 -17
- package/blocks/init/src/Blocks/wrapper/components/wrapper-editor.js +0 -12
- package/blocks/init/src/Blocks/wrapper/components/wrapper-options.js +0 -364
- package/blocks/init/src/Blocks/wrapper/manifest.json +0 -459
- package/blocks/init/src/Blocks/wrapper/styles-editor.css +0 -13
- package/blocks/init/src/Blocks/wrapper/styles.css +0 -19
- package/blocks/init/src/Blocks/wrapper/wrapper.js +0 -27
- package/blocks/init/src/Blocks/wrapper/wrapper.php +0 -34
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { __ } from '@wordpress/i18n';
|
|
2
|
-
import { BlockInserter, checkAttr, getAttrKey } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
3
|
-
import { RichText, useBlockProps, useInnerBlocksProps } from '@wordpress/block-editor';
|
|
4
|
-
import { AnimatedVisibility, InputField, Notice, TriggeredPopover } from '@eightshift/ui-components';
|
|
5
|
-
import { icons } from '@eightshift/ui-components/icons';
|
|
6
|
-
import manifest from '../manifest.json';
|
|
7
|
-
|
|
8
|
-
export const ModalEditor = ({ attributes, setAttributes, clientId }) => {
|
|
9
|
-
const modalId = checkAttr('modalId', attributes, manifest);
|
|
10
|
-
const modalTitle = checkAttr('modalTitle', attributes, manifest);
|
|
11
|
-
|
|
12
|
-
const blockProps = useBlockProps();
|
|
13
|
-
const innerBlocksProps = useInnerBlocksProps(blockProps, {
|
|
14
|
-
renderAppender: () => (
|
|
15
|
-
<BlockInserter
|
|
16
|
-
clientId={clientId}
|
|
17
|
-
small
|
|
18
|
-
/>
|
|
19
|
-
),
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
return (
|
|
23
|
-
<div className='p-8'>
|
|
24
|
-
<div className='mx-auto max-h-[80vh] min-h-[40vh] w-full max-w-[50vw] rounded-lg border border-dashed border-gray-400 p-4'>
|
|
25
|
-
<div className='flex justify-between gap-4'>
|
|
26
|
-
<RichText
|
|
27
|
-
placeholder={__('Modal title', '%g_textdomain%')}
|
|
28
|
-
value={modalTitle}
|
|
29
|
-
onChange={(value) => setAttributes({ [getAttrKey('modalTitle', attributes, manifest)]: value })}
|
|
30
|
-
allowedFormats={[]}
|
|
31
|
-
withoutInteractiveFormatting
|
|
32
|
-
disableLineBreaks
|
|
33
|
-
/>
|
|
34
|
-
|
|
35
|
-
<TriggeredPopover
|
|
36
|
-
triggerButtonIcon={icons.options}
|
|
37
|
-
triggerButtonProps={{
|
|
38
|
-
className: modalId?.length < 1 && '[&>svg]:animate-pulse [&>svg]:duration-1000 [&>svg]:text-red-500',
|
|
39
|
-
type: modalId?.length > 0 ? 'default' : 'danger',
|
|
40
|
-
}}
|
|
41
|
-
className='w-80 !p-2'
|
|
42
|
-
>
|
|
43
|
-
<InputField
|
|
44
|
-
icon={icons.id}
|
|
45
|
-
label={__('Modal unique identifier', '%g_textdomain%')}
|
|
46
|
-
help={__('Used for opening the modal', '%g_textdomain%')}
|
|
47
|
-
value={modalId}
|
|
48
|
-
onChange={(value) => setAttributes({ [getAttrKey('modalId', attributes, manifest)]: value })}
|
|
49
|
-
className='es-uic-font-mono'
|
|
50
|
-
/>
|
|
51
|
-
</TriggeredPopover>
|
|
52
|
-
</div>
|
|
53
|
-
|
|
54
|
-
{modalId?.length > 0 && (
|
|
55
|
-
<div
|
|
56
|
-
{...innerBlocksProps}
|
|
57
|
-
className='space-y-3'
|
|
58
|
-
/>
|
|
59
|
-
)}
|
|
60
|
-
|
|
61
|
-
<AnimatedVisibility
|
|
62
|
-
noInitial
|
|
63
|
-
visible={modalId?.length < 1}
|
|
64
|
-
className='mx-auto mt-4 w-80'
|
|
65
|
-
>
|
|
66
|
-
<Notice
|
|
67
|
-
type='warning'
|
|
68
|
-
label={__('Modal unique identifier not set', '%g_textdomain%')}
|
|
69
|
-
/>
|
|
70
|
-
</AnimatedVisibility>
|
|
71
|
-
</div>
|
|
72
|
-
<AnimatedVisibility
|
|
73
|
-
noInitial
|
|
74
|
-
visible={modalId?.length > 0}
|
|
75
|
-
className='mx-auto mt-4 w-80'
|
|
76
|
-
>
|
|
77
|
-
<Notice
|
|
78
|
-
type='success'
|
|
79
|
-
label={__('Modal is ready to use', '%g_textdomain%')}
|
|
80
|
-
subtitle={
|
|
81
|
-
<>
|
|
82
|
-
{__('To open, set an URL in any element that accepts it to ', '%g_textdomain%')}
|
|
83
|
-
<span className='es-uic-font-mono select-all font-medium'>:open-modal-{modalId}:</span>
|
|
84
|
-
</>
|
|
85
|
-
}
|
|
86
|
-
/>
|
|
87
|
-
</AnimatedVisibility>
|
|
88
|
-
</div>
|
|
89
|
-
);
|
|
90
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/infinum/eightshift-frontend-libs-tailwind/main/schemas/block.json",
|
|
3
|
-
"blockName": "modal",
|
|
4
|
-
"title": "Modal",
|
|
5
|
-
"description": "Show extra content that is initially hidden from users.",
|
|
6
|
-
"category": "eightshift",
|
|
7
|
-
"icon": {
|
|
8
|
-
"src": "es-modal"
|
|
9
|
-
},
|
|
10
|
-
"keywords": [
|
|
11
|
-
"modal"
|
|
12
|
-
],
|
|
13
|
-
"example": {
|
|
14
|
-
"attributes": {
|
|
15
|
-
"modalId": "my-demo-preview-modal",
|
|
16
|
-
"modalTitle": "Demo modal"
|
|
17
|
-
},
|
|
18
|
-
"innerBlocks": [
|
|
19
|
-
{
|
|
20
|
-
"name": "eightshift-boilerplate/heading",
|
|
21
|
-
"attributes": {
|
|
22
|
-
"headingHeadingContent": "Lorem ipsum dolor sit amet"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "eightshift-boilerplate/paragraph",
|
|
27
|
-
"attributes": {
|
|
28
|
-
"paragraphParagraphContent": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquam est id semper aliquet. Aenean accumsan lacus justo, a lacinia turpis semper condimentum. "
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
"attributes": {
|
|
34
|
-
"modalId": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
},
|
|
37
|
-
"modalTitle": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
"wrapperUse": {
|
|
42
|
-
"type": "boolean",
|
|
43
|
-
"default": false
|
|
44
|
-
},
|
|
45
|
-
"wrapperNoControls": {
|
|
46
|
-
"type": "boolean",
|
|
47
|
-
"default": true
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"hasInnerBlocks": true
|
|
51
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { useSelect } from '@wordpress/data';
|
|
2
|
-
import { overrideInnerBlockAttributes } from '@eightshift/frontend-libs-tailwind/scripts/editor';
|
|
3
|
-
import { ModalEditor } from './components/modal-editor';
|
|
4
|
-
|
|
5
|
-
export const Modal = (props) => {
|
|
6
|
-
useSelect((select) => {
|
|
7
|
-
overrideInnerBlockAttributes(select, props.clientId, {
|
|
8
|
-
wrapperNoWidthControls: true,
|
|
9
|
-
wrapperWidth: 'none',
|
|
10
|
-
});
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
return <ModalEditor {...props} />;
|
|
14
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Modal block template.
|
|
5
|
-
*
|
|
6
|
-
* @package %g_namespace%
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
use %g_namespace_vendor_prefix%\EightshiftLibs\Helpers\Helpers;
|
|
10
|
-
|
|
11
|
-
$manifest = Helpers::getManifestByDir(__DIR__);
|
|
12
|
-
|
|
13
|
-
$modalId = Helpers::checkAttr('modalId', $attributes, $manifest);
|
|
14
|
-
$modalTitle = Helpers::checkAttr('modalTitle', $attributes, $manifest);
|
|
15
|
-
|
|
16
|
-
echo Helpers::render('modal', [
|
|
17
|
-
'modalId' => $modalId,
|
|
18
|
-
'modalTitle' => $modalTitle,
|
|
19
|
-
'modalContent' => $renderContent,
|
|
20
|
-
]);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { tailwindClasses, props } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
3
|
-
import { ParagraphEditor as EditorComponent } from '../../../components/paragraph/components/paragraph-editor';
|
|
4
|
-
import manifest from './../manifest.json';
|
|
5
|
-
|
|
6
|
-
export const ParagraphEditor = ({ attributes, setAttributes, onReplace, mergeBlocks }) => {
|
|
7
|
-
return (
|
|
8
|
-
<EditorComponent
|
|
9
|
-
{...props('paragraph', attributes)}
|
|
10
|
-
setAttributes={setAttributes}
|
|
11
|
-
mergeBlocks={mergeBlocks}
|
|
12
|
-
onReplace={onReplace}
|
|
13
|
-
onRemove={onReplace ? () => onReplace([]) : undefined}
|
|
14
|
-
additionalClass={tailwindClasses(attributes, manifest)}
|
|
15
|
-
/>
|
|
16
|
-
);
|
|
17
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { __ } from '@wordpress/i18n';
|
|
2
|
-
import { checkAttr, getAttrKey, getOption, props } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
3
|
-
import { ParagraphOptions as OptionsComponent } from '../../../components/paragraph/components/paragraph-options';
|
|
4
|
-
import { OptionSelect, ColorPicker } from '@eightshift/ui-components';
|
|
5
|
-
import { getColorOption } from '../../../assets/scripts/shared';
|
|
6
|
-
import manifest from '../manifest.json';
|
|
7
|
-
|
|
8
|
-
export const ParagraphOptions = ({ attributes, setAttributes }) => {
|
|
9
|
-
const paragraphAlign = checkAttr('paragraphAlign', attributes, manifest);
|
|
10
|
-
const paragraphColor = checkAttr('paragraphColor', attributes, manifest);
|
|
11
|
-
|
|
12
|
-
return (
|
|
13
|
-
<OptionsComponent
|
|
14
|
-
{...props('paragraph', attributes, {
|
|
15
|
-
setAttributes,
|
|
16
|
-
})}
|
|
17
|
-
additionalControls={
|
|
18
|
-
<>
|
|
19
|
-
<ColorPicker
|
|
20
|
-
colors={getColorOption('paragraphColor', manifest)}
|
|
21
|
-
onChange={(value) => setAttributes({ [getAttrKey('paragraphColor', attributes, manifest)]: value })}
|
|
22
|
-
type='textColor'
|
|
23
|
-
value={paragraphColor}
|
|
24
|
-
aria-label={__('Text color', '%g_textdomain%')}
|
|
25
|
-
/>
|
|
26
|
-
|
|
27
|
-
<OptionSelect
|
|
28
|
-
value={paragraphAlign}
|
|
29
|
-
onChange={(value) => setAttributes({ [getAttrKey('paragraphAlign', attributes, manifest)]: value })}
|
|
30
|
-
options={getOption('paragraphAlign', attributes, manifest)}
|
|
31
|
-
aria-label={__('Text alignment', '%g_textdomain%')}
|
|
32
|
-
/>
|
|
33
|
-
</>
|
|
34
|
-
}
|
|
35
|
-
controlOnly
|
|
36
|
-
/>
|
|
37
|
-
);
|
|
38
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/infinum/eightshift-frontend-libs-tailwind/main/schemas/block.json",
|
|
3
|
-
"blockName": "paragraph",
|
|
4
|
-
"title": "Paragraph",
|
|
5
|
-
"description": "The block that starts it all.",
|
|
6
|
-
"category": "eightshift",
|
|
7
|
-
"icon": {
|
|
8
|
-
"src": "es-paragraph"
|
|
9
|
-
},
|
|
10
|
-
"keywords": [
|
|
11
|
-
"paragraph",
|
|
12
|
-
"text",
|
|
13
|
-
"content"
|
|
14
|
-
],
|
|
15
|
-
"example": {
|
|
16
|
-
"attributes": {
|
|
17
|
-
"paragraphAlign": "start"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"attributes": {
|
|
21
|
-
"paragraphAlign": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"default": "start"
|
|
24
|
-
},
|
|
25
|
-
"paragraphColor": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"default": "black"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"options": {
|
|
31
|
-
"paragraphAlign": [
|
|
32
|
-
{
|
|
33
|
-
"tooltip": "Start",
|
|
34
|
-
"value": "start",
|
|
35
|
-
"icon": "textAlignLeft"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"tooltip": "Center",
|
|
39
|
-
"value": "center",
|
|
40
|
-
"icon": "textAlignCenter"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"tooltip": "End",
|
|
44
|
-
"value": "end",
|
|
45
|
-
"icon": "textAlignRight"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"paragraphColor": [
|
|
49
|
-
"black",
|
|
50
|
-
"white"
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
"components": {
|
|
54
|
-
"paragraph": "paragraph"
|
|
55
|
-
},
|
|
56
|
-
"mergeableAttributes": [
|
|
57
|
-
{
|
|
58
|
-
"attribute": "paragraphContent",
|
|
59
|
-
"mergeStrategy": "append"
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"tailwind": {
|
|
63
|
-
"options": {
|
|
64
|
-
"paragraphAlign": {
|
|
65
|
-
"twClasses": {
|
|
66
|
-
"start": "text-start",
|
|
67
|
-
"center": "text-center",
|
|
68
|
-
"end": "text-end"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"paragraphColor": {
|
|
72
|
-
"twClasses": {
|
|
73
|
-
"black": "text-gray-900 [&>a]:text-navy-900",
|
|
74
|
-
"white": "text-gray-50 [&>a]:text-navy-900"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"supports": {
|
|
80
|
-
"splitting": true
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ParagraphEditor } from './components/paragraph-editor';
|
|
2
|
-
import { ParagraphOptions } from './components/paragraph-options';
|
|
3
|
-
import { GutenbergBlock } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
4
|
-
|
|
5
|
-
export const Paragraph = (props) => {
|
|
6
|
-
return (
|
|
7
|
-
<GutenbergBlock
|
|
8
|
-
{...props}
|
|
9
|
-
options={ParagraphOptions}
|
|
10
|
-
editor={ParagraphEditor}
|
|
11
|
-
/>
|
|
12
|
-
);
|
|
13
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { createBlock } from '@wordpress/blocks';
|
|
2
|
-
import globalManifest from '../../manifest.json';
|
|
3
|
-
import manifestParagraph from './manifest.json';
|
|
4
|
-
import manifestHeading from '../heading/manifest.json';
|
|
5
|
-
|
|
6
|
-
export const transforms = {
|
|
7
|
-
from: [
|
|
8
|
-
{
|
|
9
|
-
type: 'block',
|
|
10
|
-
blocks: [`${globalManifest.namespace}/${manifestHeading.blockName}`],
|
|
11
|
-
transform: (attributes) => {
|
|
12
|
-
let paragraphAttributes = {};
|
|
13
|
-
|
|
14
|
-
for (const attribute in attributes) {
|
|
15
|
-
if (attribute.startsWith('block')) {
|
|
16
|
-
continue;
|
|
17
|
-
}
|
|
18
|
-
const attrKey = attribute.replace('heading', 'paragraph').replace('Heading', 'Paragraph');
|
|
19
|
-
paragraphAttributes[attrKey] = attributes[attribute];
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return createBlock(`${globalManifest.namespace}/${manifestParagraph.blockName}`, paragraphAttributes);
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
type: 'raw',
|
|
27
|
-
priority: 20,
|
|
28
|
-
selector: 'p',
|
|
29
|
-
schema: ({ phrasingContentSchema, isPaste }) => ({
|
|
30
|
-
p: {
|
|
31
|
-
children: phrasingContentSchema,
|
|
32
|
-
attributes: isPaste ? [] : ['style', 'id'],
|
|
33
|
-
},
|
|
34
|
-
}),
|
|
35
|
-
transform(node) {
|
|
36
|
-
const { namespace } = globalManifest;
|
|
37
|
-
|
|
38
|
-
const { blockName } = manifestParagraph;
|
|
39
|
-
|
|
40
|
-
return createBlock(`${namespace}/${blockName}`, {
|
|
41
|
-
paragraphParagraphContent: node.innerHTML,
|
|
42
|
-
});
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Paragraph block template.
|
|
5
|
-
*
|
|
6
|
-
* @package %g_namespace%
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
use %g_namespace_vendor_prefix%\EightshiftLibs\Helpers\Helpers;
|
|
10
|
-
|
|
11
|
-
$manifest = Helpers::getManifestByDir(__DIR__);
|
|
12
|
-
|
|
13
|
-
echo Helpers::render('paragraph', Helpers::props('paragraph', $attributes, [
|
|
14
|
-
'additionalClass' => Helpers::tailwindClasses('base', $attributes, $manifest),
|
|
15
|
-
]));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { props } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
2
|
-
import { QuoteEditor as EditorComponent } from '../../../components/quote/components/quote-editor';
|
|
3
|
-
|
|
4
|
-
export const QuoteEditor = ({ attributes, setAttributes }) => {
|
|
5
|
-
return (
|
|
6
|
-
<EditorComponent
|
|
7
|
-
{...props('quote', attributes, {
|
|
8
|
-
setAttributes,
|
|
9
|
-
})}
|
|
10
|
-
/>
|
|
11
|
-
);
|
|
12
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { __ } from '@wordpress/i18n';
|
|
2
|
-
import { props } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
3
|
-
import { QuoteOptions as OptionsComponent } from '../../../components/quote/components/quote-options';
|
|
4
|
-
|
|
5
|
-
export const QuoteOptions = ({ attributes, setAttributes }) => {
|
|
6
|
-
return (
|
|
7
|
-
<OptionsComponent
|
|
8
|
-
{...props('quote', attributes, {
|
|
9
|
-
setAttributes,
|
|
10
|
-
})}
|
|
11
|
-
controlOnly
|
|
12
|
-
/>
|
|
13
|
-
);
|
|
14
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/infinum/eightshift-frontend-libs-tailwind/main/schemas/block.json",
|
|
3
|
-
"blockName": "quote",
|
|
4
|
-
"title": "Quote",
|
|
5
|
-
"description": "Showcase a quote.",
|
|
6
|
-
"category": "eightshift",
|
|
7
|
-
"icon": {
|
|
8
|
-
"src": "es-card-review"
|
|
9
|
-
},
|
|
10
|
-
"keywords": [
|
|
11
|
-
"quote",
|
|
12
|
-
"quote"
|
|
13
|
-
],
|
|
14
|
-
"components": {
|
|
15
|
-
"quote": "quote"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { QuoteEditor } from './components/quote-editor';
|
|
2
|
-
import { QuoteOptions } from './components/quote-options';
|
|
3
|
-
import { GutenbergBlock } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
4
|
-
|
|
5
|
-
export const Quote = (props) => {
|
|
6
|
-
return (
|
|
7
|
-
<GutenbergBlock
|
|
8
|
-
{...props}
|
|
9
|
-
options={QuoteOptions}
|
|
10
|
-
editor={QuoteEditor}
|
|
11
|
-
/>
|
|
12
|
-
);
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Quote block template.
|
|
5
|
-
*
|
|
6
|
-
* @package %g_namespace%
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
use %g_namespace_vendor_prefix%\EightshiftLibs\Helpers\Helpers;
|
|
10
|
-
|
|
11
|
-
$manifest = Helpers::getManifestByDir(__DIR__);
|
|
12
|
-
|
|
13
|
-
echo Helpers::render('quote', Helpers::props('quote', $attributes));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { props } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
2
|
-
import { ShareEditor as EditorComponent } from '../../../components/share/components/share-editor';
|
|
3
|
-
|
|
4
|
-
export const ShareEditor = ({ attributes, setAttributes }) => {
|
|
5
|
-
return <EditorComponent {...props('share', attributes, { setAttributes })} />;
|
|
6
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { __ } from '@wordpress/i18n';
|
|
2
|
-
import { props } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
3
|
-
import { ShareOptions as OptionsComponent } from '../../../components/share/components/share-options';
|
|
4
|
-
|
|
5
|
-
export const ShareOptions = ({ attributes, setAttributes }) => {
|
|
6
|
-
return (
|
|
7
|
-
<OptionsComponent
|
|
8
|
-
{...props('share', attributes, { setAttributes })}
|
|
9
|
-
controlOnly
|
|
10
|
-
/>
|
|
11
|
-
);
|
|
12
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/infinum/eightshift-frontend-libs-tailwind/main/schemas/block.json",
|
|
3
|
-
"blockName": "share",
|
|
4
|
-
"title": "Share",
|
|
5
|
-
"description": "Link to social media accounts or share the current post.",
|
|
6
|
-
"category": "eightshift",
|
|
7
|
-
"icon": {
|
|
8
|
-
"src": "es-social-share"
|
|
9
|
-
},
|
|
10
|
-
"keywords": [
|
|
11
|
-
"social",
|
|
12
|
-
"network",
|
|
13
|
-
"networks",
|
|
14
|
-
"share"
|
|
15
|
-
],
|
|
16
|
-
"components": {
|
|
17
|
-
"share": "share"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ShareEditor } from './components/share-editor';
|
|
2
|
-
import { ShareOptions } from './components/share-options';
|
|
3
|
-
import { GutenbergBlock } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
4
|
-
|
|
5
|
-
export const Share = (props) => {
|
|
6
|
-
return (
|
|
7
|
-
<GutenbergBlock
|
|
8
|
-
{...props}
|
|
9
|
-
options={ShareOptions}
|
|
10
|
-
editor={ShareEditor}
|
|
11
|
-
/>
|
|
12
|
-
);
|
|
13
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { __ } from '@wordpress/i18n';
|
|
2
|
-
import { RichText } from '@wordpress/block-editor';
|
|
3
|
-
import { checkAttr, getAttrKey, tailwindClasses, props } from '@eightshift/frontend-libs-tailwind/scripts';
|
|
4
|
-
import { ImagePlaceholder } from '@eightshift/ui-components';
|
|
5
|
-
import { ShareEditor } from '../../../components/share/components/share-editor';
|
|
6
|
-
import { LinkSectionEditor } from '../../../assets/scripts/link-section-editor';
|
|
7
|
-
import manifest from '../manifest.json';
|
|
8
|
-
|
|
9
|
-
export const SiteFooterEditor = ({ attributes, setAttributes }) => {
|
|
10
|
-
const siteFooterPrimary = checkAttr('siteFooterPrimary', attributes, manifest);
|
|
11
|
-
const siteFooterCopyright = checkAttr('siteFooterCopyright', attributes, manifest);
|
|
12
|
-
const siteFooterLogoUrl = checkAttr('siteFooterLogoUrl', attributes, manifest);
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<div className={tailwindClasses(attributes, manifest)}>
|
|
16
|
-
<div className={tailwindClasses('topContainer', attributes, manifest)}>
|
|
17
|
-
<ImagePlaceholder
|
|
18
|
-
style='simple'
|
|
19
|
-
imageMode='contain'
|
|
20
|
-
url={siteFooterLogoUrl}
|
|
21
|
-
size='fullWidth'
|
|
22
|
-
className={tailwindClasses('logo', attributes, manifest)}
|
|
23
|
-
/>
|
|
24
|
-
|
|
25
|
-
<div className={tailwindClasses('linksContainer', attributes, manifest)}>
|
|
26
|
-
<LinkSectionEditor
|
|
27
|
-
links={siteFooterPrimary}
|
|
28
|
-
onChange={(value) => setAttributes({ [getAttrKey('siteFooterPrimary', attributes, manifest)]: value })}
|
|
29
|
-
classNames={{
|
|
30
|
-
sectionContainer: tailwindClasses('sectionContainer', attributes, manifest),
|
|
31
|
-
sectionTitle: tailwindClasses('sectionTitle', attributes, manifest),
|
|
32
|
-
link: tailwindClasses('link', attributes, manifest),
|
|
33
|
-
}}
|
|
34
|
-
/>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<div className={tailwindClasses('bottomContainer', attributes, manifest)}>
|
|
39
|
-
<span className={tailwindClasses('copyright', attributes, manifest)}>
|
|
40
|
-
©
|
|
41
|
-
<RichText
|
|
42
|
-
placeholder={__('Copyright', '%g_textdomain%')}
|
|
43
|
-
value={siteFooterCopyright}
|
|
44
|
-
onChange={(value) => setAttributes({ [getAttrKey('siteFooterCopyright', attributes, manifest)]: value })}
|
|
45
|
-
allowedFormats={[]}
|
|
46
|
-
/>
|
|
47
|
-
</span>
|
|
48
|
-
|
|
49
|
-
<ShareEditor
|
|
50
|
-
{...props('share', attributes, {
|
|
51
|
-
setAttributes,
|
|
52
|
-
})}
|
|
53
|
-
/>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
);
|
|
57
|
-
};
|