@micromag/screen-text 0.3.541 → 0.3.569
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/es/index.js +4 -6
- package/package.json +12 -13
- package/lib/index.js +0 -399
package/es/index.js
CHANGED
|
@@ -175,15 +175,13 @@ var TextScreen = function TextScreen(_ref) {
|
|
|
175
175
|
};
|
|
176
176
|
TextScreen.propTypes = propTypes;
|
|
177
177
|
TextScreen.defaultProps = defaultProps;
|
|
178
|
-
var TextScreen$1 = TextScreen;
|
|
179
178
|
|
|
180
179
|
var TextTitleScreen = function TextTitleScreen(_ref) {
|
|
181
180
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
182
|
-
return /*#__PURE__*/React.createElement(TextScreen
|
|
181
|
+
return /*#__PURE__*/React.createElement(TextScreen, Object.assign({}, props, {
|
|
183
182
|
withTitle: true
|
|
184
183
|
}));
|
|
185
184
|
};
|
|
186
|
-
var TextTitleScreen$1 = TextTitleScreen;
|
|
187
185
|
|
|
188
186
|
// import * as transforms from './transforms/index';
|
|
189
187
|
|
|
@@ -207,7 +205,7 @@ var definition = [{
|
|
|
207
205
|
"value": "Text"
|
|
208
206
|
}]
|
|
209
207
|
}),
|
|
210
|
-
component: TextScreen
|
|
208
|
+
component: TextScreen,
|
|
211
209
|
layouts: ['top', 'middle', 'bottom'],
|
|
212
210
|
// transforms,
|
|
213
211
|
fields: [{
|
|
@@ -301,7 +299,7 @@ var definition = [{
|
|
|
301
299
|
"value": "Text with title"
|
|
302
300
|
}]
|
|
303
301
|
}),
|
|
304
|
-
component: TextTitleScreen
|
|
302
|
+
component: TextTitleScreen,
|
|
305
303
|
layouts: ['top', 'middle', 'bottom', 'split'],
|
|
306
304
|
// transforms,
|
|
307
305
|
fields: [{
|
|
@@ -391,4 +389,4 @@ var definition = [{
|
|
|
391
389
|
}]
|
|
392
390
|
}];
|
|
393
391
|
|
|
394
|
-
export { TextScreen
|
|
392
|
+
export { TextScreen, definition as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-text",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.569",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -30,12 +30,11 @@
|
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
32
|
"license": "ISC",
|
|
33
|
-
"
|
|
33
|
+
"type": "module",
|
|
34
34
|
"module": "es/index.js",
|
|
35
35
|
"style": "assets/css/styles.css",
|
|
36
36
|
"exports": {
|
|
37
37
|
".": {
|
|
38
|
-
"require": "./lib/index.js",
|
|
39
38
|
"import": "./es/index.js"
|
|
40
39
|
},
|
|
41
40
|
"./assets/css/styles": "./assets/css/styles.css",
|
|
@@ -61,15 +60,15 @@
|
|
|
61
60
|
},
|
|
62
61
|
"dependencies": {
|
|
63
62
|
"@babel/runtime": "^7.13.10",
|
|
64
|
-
"@micromag/core": "^0.3.
|
|
65
|
-
"@micromag/element-background": "^0.3.
|
|
66
|
-
"@micromag/element-container": "^0.3.
|
|
67
|
-
"@micromag/element-footer": "^0.3.
|
|
68
|
-
"@micromag/element-header": "^0.3.
|
|
69
|
-
"@micromag/element-heading": "^0.3.
|
|
70
|
-
"@micromag/element-layout": "^0.3.
|
|
71
|
-
"@micromag/element-text": "^0.3.
|
|
72
|
-
"@micromag/transforms": "^0.3.
|
|
63
|
+
"@micromag/core": "^0.3.569",
|
|
64
|
+
"@micromag/element-background": "^0.3.569",
|
|
65
|
+
"@micromag/element-container": "^0.3.569",
|
|
66
|
+
"@micromag/element-footer": "^0.3.569",
|
|
67
|
+
"@micromag/element-header": "^0.3.569",
|
|
68
|
+
"@micromag/element-heading": "^0.3.569",
|
|
69
|
+
"@micromag/element-layout": "^0.3.569",
|
|
70
|
+
"@micromag/element-text": "^0.3.569",
|
|
71
|
+
"@micromag/transforms": "^0.3.569",
|
|
73
72
|
"classnames": "^2.2.6",
|
|
74
73
|
"lodash": "^4.17.21",
|
|
75
74
|
"prop-types": "^15.7.2",
|
|
@@ -80,5 +79,5 @@
|
|
|
80
79
|
"access": "public",
|
|
81
80
|
"registry": "https://registry.npmjs.org/"
|
|
82
81
|
},
|
|
83
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "ceb71f23a32ab8df4a1563a1e5cd5598e539de4d"
|
|
84
83
|
}
|
package/lib/index.js
DELETED
|
@@ -1,399 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var reactIntl = require('react-intl');
|
|
6
|
-
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
|
-
var classNames = require('classnames');
|
|
8
|
-
var PropTypes = require('prop-types');
|
|
9
|
-
var React = require('react');
|
|
10
|
-
var core = require('@micromag/core');
|
|
11
|
-
var components = require('@micromag/core/components');
|
|
12
|
-
var contexts = require('@micromag/core/contexts');
|
|
13
|
-
var utils = require('@micromag/core/utils');
|
|
14
|
-
var Background = require('@micromag/element-background');
|
|
15
|
-
var Container = require('@micromag/element-container');
|
|
16
|
-
var Footer = require('@micromag/element-footer');
|
|
17
|
-
var Header = require('@micromag/element-header');
|
|
18
|
-
var Heading = require('@micromag/element-heading');
|
|
19
|
-
var Layout = require('@micromag/element-layout');
|
|
20
|
-
var Text = require('@micromag/element-text');
|
|
21
|
-
var _objectDestructuringEmpty = require('@babel/runtime/helpers/objectDestructuringEmpty');
|
|
22
|
-
var _extends = require('@babel/runtime/helpers/extends');
|
|
23
|
-
|
|
24
|
-
var styles = {"container":"micromag-screen-text-container","background":"micromag-screen-text-background","disabled":"micromag-screen-text-disabled","hidden":"micromag-screen-text-hidden","placeholder":"micromag-screen-text-placeholder","content":"micromag-screen-text-content","emptyTitle":"micromag-screen-text-emptyTitle","emptyText":"micromag-screen-text-emptyText","title":"micromag-screen-text-title","withMargin":"micromag-screen-text-withMargin","isPlaceholder":"micromag-screen-text-isPlaceholder","layout":"micromag-screen-text-layout"};
|
|
25
|
-
|
|
26
|
-
var propTypes = {
|
|
27
|
-
layout: PropTypes.oneOf(['top', 'middle', 'bottom', 'split']),
|
|
28
|
-
text: core.PropTypes.textElement,
|
|
29
|
-
title: core.PropTypes.headingElement,
|
|
30
|
-
withTitle: PropTypes.bool,
|
|
31
|
-
spacing: PropTypes.number,
|
|
32
|
-
header: core.PropTypes.header,
|
|
33
|
-
footer: core.PropTypes.footer,
|
|
34
|
-
background: core.PropTypes.backgroundElement,
|
|
35
|
-
current: PropTypes.bool,
|
|
36
|
-
active: PropTypes.bool,
|
|
37
|
-
className: PropTypes.string
|
|
38
|
-
};
|
|
39
|
-
var defaultProps = {
|
|
40
|
-
layout: 'top',
|
|
41
|
-
text: null,
|
|
42
|
-
title: null,
|
|
43
|
-
withTitle: false,
|
|
44
|
-
spacing: 20,
|
|
45
|
-
header: null,
|
|
46
|
-
footer: null,
|
|
47
|
-
background: null,
|
|
48
|
-
current: true,
|
|
49
|
-
active: true,
|
|
50
|
-
className: null
|
|
51
|
-
};
|
|
52
|
-
var TextScreen = function TextScreen(_ref) {
|
|
53
|
-
var layout = _ref.layout,
|
|
54
|
-
text = _ref.text,
|
|
55
|
-
title = _ref.title,
|
|
56
|
-
withTitle = _ref.withTitle,
|
|
57
|
-
spacing = _ref.spacing,
|
|
58
|
-
header = _ref.header,
|
|
59
|
-
footer = _ref.footer,
|
|
60
|
-
background = _ref.background,
|
|
61
|
-
current = _ref.current,
|
|
62
|
-
active = _ref.active,
|
|
63
|
-
className = _ref.className;
|
|
64
|
-
var _useScreenSize = contexts.useScreenSize(),
|
|
65
|
-
width = _useScreenSize.width,
|
|
66
|
-
height = _useScreenSize.height,
|
|
67
|
-
resolution = _useScreenSize.resolution;
|
|
68
|
-
var _useScreenRenderConte = contexts.useScreenRenderContext(),
|
|
69
|
-
isView = _useScreenRenderConte.isView,
|
|
70
|
-
isPreview = _useScreenRenderConte.isPreview,
|
|
71
|
-
isPlaceholder = _useScreenRenderConte.isPlaceholder,
|
|
72
|
-
isEdit = _useScreenRenderConte.isEdit;
|
|
73
|
-
var _useViewerContext = contexts.useViewerContext(),
|
|
74
|
-
viewerTopHeight = _useViewerContext.topHeight,
|
|
75
|
-
viewerBottomHeight = _useViewerContext.bottomHeight,
|
|
76
|
-
viewerBottomSidesWidth = _useViewerContext.bottomSidesWidth;
|
|
77
|
-
var _useViewerWebView = contexts.useViewerWebView(),
|
|
78
|
-
openWebView = _useViewerWebView.open;
|
|
79
|
-
var _usePlaybackContext = contexts.usePlaybackContext(),
|
|
80
|
-
muted = _usePlaybackContext.muted;
|
|
81
|
-
var mediaRef = contexts.usePlaybackMediaRef(current);
|
|
82
|
-
var hasTitle = utils.isTextFilled(title);
|
|
83
|
-
var hasText = utils.isTextFilled(text);
|
|
84
|
-
var isSplitted = layout === 'split';
|
|
85
|
-
var isTopLayout = layout === 'top';
|
|
86
|
-
var isMiddleLayout = layout === 'middle';
|
|
87
|
-
var isBottomLayout = layout === 'bottom';
|
|
88
|
-
var verticalAlign = isSplitted ? null : layout;
|
|
89
|
-
var titleWithMargin = hasTitle && hasText && !isSplitted;
|
|
90
|
-
var backgroundPlaying = current && (isView || isEdit);
|
|
91
|
-
var backgroundShouldLoad = current || active;
|
|
92
|
-
var hasHeader = utils.isHeaderFilled(header);
|
|
93
|
-
var hasFooter = utils.isFooterFilled(footer);
|
|
94
|
-
var footerProps = utils.getFooterProps(footer, {
|
|
95
|
-
isView: isView,
|
|
96
|
-
current: current,
|
|
97
|
-
openWebView: openWebView,
|
|
98
|
-
isPreview: isPreview
|
|
99
|
-
});
|
|
100
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
101
|
-
className: classNames([styles.container, _defineProperty(_defineProperty({}, className, className !== null), styles.isPlaceholder, isPlaceholder)]),
|
|
102
|
-
"data-screen-ready": true
|
|
103
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
104
|
-
width: width,
|
|
105
|
-
height: height,
|
|
106
|
-
className: styles.content
|
|
107
|
-
}, /*#__PURE__*/React.createElement(Layout, {
|
|
108
|
-
className: styles.layout,
|
|
109
|
-
fullscreen: true,
|
|
110
|
-
verticalAlign: verticalAlign,
|
|
111
|
-
style: !isPlaceholder ? {
|
|
112
|
-
padding: spacing,
|
|
113
|
-
paddingTop: (!isPreview ? viewerTopHeight : 0) + (hasHeader ? spacing / 2 : spacing),
|
|
114
|
-
paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (hasFooter ? spacing / 2 : spacing)
|
|
115
|
-
} : null
|
|
116
|
-
}, !isPlaceholder && hasHeader ? /*#__PURE__*/React.createElement("div", {
|
|
117
|
-
style: {
|
|
118
|
-
paddingBottom: spacing
|
|
119
|
-
}
|
|
120
|
-
}, /*#__PURE__*/React.createElement(Header, header)) : null, !isPlaceholder && hasFooter && isMiddleLayout ? /*#__PURE__*/React.createElement(Layout.Spacer, {
|
|
121
|
-
key: "spacer-cta-top"
|
|
122
|
-
}) : null, !isPlaceholder && hasHeader && isBottomLayout ? /*#__PURE__*/React.createElement(Layout.Spacer, {
|
|
123
|
-
key: "spacer-cta-top"
|
|
124
|
-
}) : null, !isPlaceholder && hasHeader && !hasFooter && isMiddleLayout ? /*#__PURE__*/React.createElement(Layout.Spacer, {
|
|
125
|
-
key: "spacer-cta-top"
|
|
126
|
-
}) : null, withTitle ? /*#__PURE__*/React.createElement(components.ScreenElement, {
|
|
127
|
-
key: "title",
|
|
128
|
-
placeholder: "title",
|
|
129
|
-
emptyLabel: /*#__PURE__*/React.createElement(reactIntl.FormattedMessage, {
|
|
130
|
-
id: "2ZOPe+",
|
|
131
|
-
defaultMessage: [{
|
|
132
|
-
"type": 0,
|
|
133
|
-
"value": "Title"
|
|
134
|
-
}]
|
|
135
|
-
}),
|
|
136
|
-
emptyClassName: styles.emptyTitle,
|
|
137
|
-
isEmpty: !hasTitle
|
|
138
|
-
}, hasTitle ? /*#__PURE__*/React.createElement(Heading, Object.assign({
|
|
139
|
-
className: classNames([styles.title, _defineProperty({}, styles.withMargin, titleWithMargin)])
|
|
140
|
-
}, title)) : null) : null, isSplitted && withTitle ? /*#__PURE__*/React.createElement(Layout.Spacer, {
|
|
141
|
-
key: "spacer"
|
|
142
|
-
}) : null, /*#__PURE__*/React.createElement(components.ScreenElement, {
|
|
143
|
-
key: "description",
|
|
144
|
-
placeholder: "text",
|
|
145
|
-
emptyLabel: /*#__PURE__*/React.createElement(reactIntl.FormattedMessage, {
|
|
146
|
-
id: "z4CiV1",
|
|
147
|
-
defaultMessage: [{
|
|
148
|
-
"type": 0,
|
|
149
|
-
"value": "Text"
|
|
150
|
-
}]
|
|
151
|
-
}),
|
|
152
|
-
emptyClassName: styles.emptyText,
|
|
153
|
-
isEmpty: !hasText
|
|
154
|
-
}, hasText ? /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
155
|
-
className: styles.text
|
|
156
|
-
}, text)) : null), !isPlaceholder && hasFooter && (isTopLayout || isMiddleLayout) ? /*#__PURE__*/React.createElement(Layout.Spacer, {
|
|
157
|
-
key: "spacer-cta-bottom"
|
|
158
|
-
}) : null, !isPlaceholder && hasHeader && !hasFooter && isMiddleLayout ? /*#__PURE__*/React.createElement(Layout.Spacer, {
|
|
159
|
-
key: "spacer-cta-bottom"
|
|
160
|
-
}) : null, !isPlaceholder && hasFooter ? /*#__PURE__*/React.createElement("div", {
|
|
161
|
-
className: styles.footer,
|
|
162
|
-
style: {
|
|
163
|
-
paddingTop: spacing,
|
|
164
|
-
paddingLeft: Math.max(0, viewerBottomSidesWidth - spacing),
|
|
165
|
-
paddingRight: Math.max(0, viewerBottomSidesWidth - spacing)
|
|
166
|
-
}
|
|
167
|
-
}, /*#__PURE__*/React.createElement(Footer, footerProps)) : null)), !isPlaceholder ? /*#__PURE__*/React.createElement(Background, {
|
|
168
|
-
background: background,
|
|
169
|
-
width: width,
|
|
170
|
-
height: height,
|
|
171
|
-
resolution: resolution,
|
|
172
|
-
playing: backgroundPlaying,
|
|
173
|
-
muted: muted,
|
|
174
|
-
shouldLoad: backgroundShouldLoad,
|
|
175
|
-
mediaRef: mediaRef,
|
|
176
|
-
withoutVideo: isPreview,
|
|
177
|
-
className: styles.background
|
|
178
|
-
}) : null);
|
|
179
|
-
};
|
|
180
|
-
TextScreen.propTypes = propTypes;
|
|
181
|
-
TextScreen.defaultProps = defaultProps;
|
|
182
|
-
var TextScreen$1 = TextScreen;
|
|
183
|
-
|
|
184
|
-
var TextTitleScreen = function TextTitleScreen(_ref) {
|
|
185
|
-
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
186
|
-
return /*#__PURE__*/React.createElement(TextScreen$1, Object.assign({}, props, {
|
|
187
|
-
withTitle: true
|
|
188
|
-
}));
|
|
189
|
-
};
|
|
190
|
-
var TextTitleScreen$1 = TextTitleScreen;
|
|
191
|
-
|
|
192
|
-
// import * as transforms from './transforms/index';
|
|
193
|
-
|
|
194
|
-
var definition = [{
|
|
195
|
-
id: 'text',
|
|
196
|
-
type: 'screen',
|
|
197
|
-
group: {
|
|
198
|
-
label: reactIntl.defineMessage({
|
|
199
|
-
id: "fIawTr",
|
|
200
|
-
defaultMessage: [{
|
|
201
|
-
"type": 0,
|
|
202
|
-
"value": "Text"
|
|
203
|
-
}]
|
|
204
|
-
}),
|
|
205
|
-
order: 2
|
|
206
|
-
},
|
|
207
|
-
title: reactIntl.defineMessage({
|
|
208
|
-
id: "S9YpbV",
|
|
209
|
-
defaultMessage: [{
|
|
210
|
-
"type": 0,
|
|
211
|
-
"value": "Text"
|
|
212
|
-
}]
|
|
213
|
-
}),
|
|
214
|
-
component: TextScreen$1,
|
|
215
|
-
layouts: ['top', 'middle', 'bottom'],
|
|
216
|
-
// transforms,
|
|
217
|
-
fields: [{
|
|
218
|
-
name: 'layout',
|
|
219
|
-
type: 'screen-layout',
|
|
220
|
-
defaultValue: 'top',
|
|
221
|
-
label: reactIntl.defineMessage({
|
|
222
|
-
id: "4iBXj2",
|
|
223
|
-
defaultMessage: [{
|
|
224
|
-
"type": 0,
|
|
225
|
-
"value": "Layout"
|
|
226
|
-
}]
|
|
227
|
-
})
|
|
228
|
-
}, {
|
|
229
|
-
name: 'text',
|
|
230
|
-
type: 'text-element',
|
|
231
|
-
theme: {
|
|
232
|
-
textStyle: 'text'
|
|
233
|
-
},
|
|
234
|
-
label: reactIntl.defineMessage({
|
|
235
|
-
id: "4E2gbX",
|
|
236
|
-
defaultMessage: [{
|
|
237
|
-
"type": 0,
|
|
238
|
-
"value": "Text"
|
|
239
|
-
}]
|
|
240
|
-
})
|
|
241
|
-
}, {
|
|
242
|
-
name: 'background',
|
|
243
|
-
type: 'background',
|
|
244
|
-
label: reactIntl.defineMessage({
|
|
245
|
-
id: "+MPZRu",
|
|
246
|
-
defaultMessage: [{
|
|
247
|
-
"type": 0,
|
|
248
|
-
"value": "Background"
|
|
249
|
-
}]
|
|
250
|
-
})
|
|
251
|
-
}, {
|
|
252
|
-
name: 'header',
|
|
253
|
-
type: 'header',
|
|
254
|
-
label: reactIntl.defineMessage({
|
|
255
|
-
id: "rhuDxI",
|
|
256
|
-
defaultMessage: [{
|
|
257
|
-
"type": 0,
|
|
258
|
-
"value": "Header"
|
|
259
|
-
}]
|
|
260
|
-
}),
|
|
261
|
-
theme: {
|
|
262
|
-
badge: {
|
|
263
|
-
label: {
|
|
264
|
-
textStyle: 'badge'
|
|
265
|
-
},
|
|
266
|
-
boxStyle: 'badge'
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}, {
|
|
270
|
-
name: 'footer',
|
|
271
|
-
type: 'footer',
|
|
272
|
-
label: reactIntl.defineMessage({
|
|
273
|
-
id: "g4nybp",
|
|
274
|
-
defaultMessage: [{
|
|
275
|
-
"type": 0,
|
|
276
|
-
"value": "Footer"
|
|
277
|
-
}]
|
|
278
|
-
}),
|
|
279
|
-
theme: {
|
|
280
|
-
callToAction: {
|
|
281
|
-
label: {
|
|
282
|
-
textStyle: 'cta'
|
|
283
|
-
},
|
|
284
|
-
boxStyle: 'cta'
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}]
|
|
288
|
-
}, {
|
|
289
|
-
id: 'text-title',
|
|
290
|
-
type: 'screen',
|
|
291
|
-
group: {
|
|
292
|
-
label: reactIntl.defineMessage({
|
|
293
|
-
id: "fIawTr",
|
|
294
|
-
defaultMessage: [{
|
|
295
|
-
"type": 0,
|
|
296
|
-
"value": "Text"
|
|
297
|
-
}]
|
|
298
|
-
}),
|
|
299
|
-
order: 2
|
|
300
|
-
},
|
|
301
|
-
title: reactIntl.defineMessage({
|
|
302
|
-
id: "oCBQKV",
|
|
303
|
-
defaultMessage: [{
|
|
304
|
-
"type": 0,
|
|
305
|
-
"value": "Text with title"
|
|
306
|
-
}]
|
|
307
|
-
}),
|
|
308
|
-
component: TextTitleScreen$1,
|
|
309
|
-
layouts: ['top', 'middle', 'bottom', 'split'],
|
|
310
|
-
// transforms,
|
|
311
|
-
fields: [{
|
|
312
|
-
name: 'layout',
|
|
313
|
-
type: 'screen-layout',
|
|
314
|
-
defaultValue: 'top',
|
|
315
|
-
label: reactIntl.defineMessage({
|
|
316
|
-
id: "4iBXj2",
|
|
317
|
-
defaultMessage: [{
|
|
318
|
-
"type": 0,
|
|
319
|
-
"value": "Layout"
|
|
320
|
-
}]
|
|
321
|
-
})
|
|
322
|
-
}, {
|
|
323
|
-
name: 'title',
|
|
324
|
-
type: 'heading-element',
|
|
325
|
-
inline: true,
|
|
326
|
-
theme: {
|
|
327
|
-
textStyle: 'heading2'
|
|
328
|
-
},
|
|
329
|
-
label: reactIntl.defineMessage({
|
|
330
|
-
id: "N25iDO",
|
|
331
|
-
defaultMessage: [{
|
|
332
|
-
"type": 0,
|
|
333
|
-
"value": "Title"
|
|
334
|
-
}]
|
|
335
|
-
})
|
|
336
|
-
}, {
|
|
337
|
-
name: 'text',
|
|
338
|
-
type: 'text-element',
|
|
339
|
-
theme: {
|
|
340
|
-
textStyle: 'text'
|
|
341
|
-
},
|
|
342
|
-
label: reactIntl.defineMessage({
|
|
343
|
-
id: "4E2gbX",
|
|
344
|
-
defaultMessage: [{
|
|
345
|
-
"type": 0,
|
|
346
|
-
"value": "Text"
|
|
347
|
-
}]
|
|
348
|
-
})
|
|
349
|
-
}, {
|
|
350
|
-
name: 'background',
|
|
351
|
-
type: 'background',
|
|
352
|
-
label: reactIntl.defineMessage({
|
|
353
|
-
id: "+MPZRu",
|
|
354
|
-
defaultMessage: [{
|
|
355
|
-
"type": 0,
|
|
356
|
-
"value": "Background"
|
|
357
|
-
}]
|
|
358
|
-
})
|
|
359
|
-
}, {
|
|
360
|
-
name: 'header',
|
|
361
|
-
type: 'header',
|
|
362
|
-
label: reactIntl.defineMessage({
|
|
363
|
-
id: "rhuDxI",
|
|
364
|
-
defaultMessage: [{
|
|
365
|
-
"type": 0,
|
|
366
|
-
"value": "Header"
|
|
367
|
-
}]
|
|
368
|
-
}),
|
|
369
|
-
theme: {
|
|
370
|
-
badge: {
|
|
371
|
-
label: {
|
|
372
|
-
textStyle: 'badge'
|
|
373
|
-
},
|
|
374
|
-
boxStyle: 'badge'
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}, {
|
|
378
|
-
name: 'footer',
|
|
379
|
-
type: 'footer',
|
|
380
|
-
label: reactIntl.defineMessage({
|
|
381
|
-
id: "g4nybp",
|
|
382
|
-
defaultMessage: [{
|
|
383
|
-
"type": 0,
|
|
384
|
-
"value": "Footer"
|
|
385
|
-
}]
|
|
386
|
-
}),
|
|
387
|
-
theme: {
|
|
388
|
-
callToAction: {
|
|
389
|
-
label: {
|
|
390
|
-
textStyle: 'cta'
|
|
391
|
-
},
|
|
392
|
-
boxStyle: 'cta'
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
}]
|
|
396
|
-
}];
|
|
397
|
-
|
|
398
|
-
exports.TextScreen = TextScreen$1;
|
|
399
|
-
exports.default = definition;
|