@atlaskit/editor-shared-styles 2.11.0 → 2.12.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +214 -207
  2. package/afm-jira/tsconfig.json +31 -0
  3. package/dist/cjs/consts/consts.js +4 -1
  4. package/dist/cjs/consts/index.js +6 -0
  5. package/dist/cjs/index.js +6 -0
  6. package/dist/cjs/shortcut/shortcut.js +1 -1
  7. package/dist/es2019/consts/consts.js +1 -0
  8. package/dist/es2019/consts/index.js +1 -1
  9. package/dist/es2019/index.js +1 -1
  10. package/dist/es2019/shortcut/shortcut.js +10 -10
  11. package/dist/esm/consts/consts.js +3 -0
  12. package/dist/esm/consts/index.js +1 -1
  13. package/dist/esm/index.js +1 -1
  14. package/dist/esm/shortcut/shortcut.js +1 -1
  15. package/dist/types/consts/consts.d.ts +1 -0
  16. package/dist/types/consts/index.d.ts +1 -1
  17. package/dist/types/index.d.ts +1 -1
  18. package/dist/types/selection/index.d.ts +1 -1
  19. package/dist/types-ts4.5/consts/consts.d.ts +1 -0
  20. package/dist/types-ts4.5/consts/index.d.ts +1 -1
  21. package/dist/types-ts4.5/index.d.ts +1 -1
  22. package/dist/types-ts4.5/selection/index.d.ts +1 -1
  23. package/package.json +6 -5
  24. package/report.api.md +50 -53
  25. package/src/consts/consts.test.ts +17 -17
  26. package/src/consts/consts.ts +119 -119
  27. package/src/consts/index.ts +98 -97
  28. package/src/consts/types.ts +1 -1
  29. package/src/index.ts +100 -99
  30. package/src/overflow-shadow/overflow-shadow.ts +11 -17
  31. package/src/scrollbar-styles.ts +3 -12
  32. package/src/selection/__tests__/unit/utils.ts +30 -34
  33. package/src/selection/index.ts +1 -4
  34. package/src/selection/types.ts +4 -4
  35. package/src/selection/utils.ts +22 -27
  36. package/src/shortcut/shortcut.ts +13 -13
  37. package/tsconfig.app.json +44 -44
  38. package/tsconfig.dev.json +38 -38
@@ -1,51 +1,51 @@
1
1
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
2
2
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
3
  import {
4
- B100,
5
- B300,
6
- B400,
7
- B50,
8
- B500,
9
- B75,
10
- DN50,
11
- DN70,
12
- G100,
13
- G300,
14
- G500,
15
- N0,
16
- N100,
17
- N20,
18
- N200,
19
- N30,
20
- N40,
21
- N50,
22
- N500,
23
- N70,
24
- N700,
25
- N800,
26
- N900,
27
- P100,
28
- P300,
29
- P500,
30
- R100,
31
- R300,
32
- R400,
33
- R50,
34
- R500,
35
- R75,
36
- T100,
37
- T300,
38
- T500,
39
- Y100,
40
- Y300,
41
- Y500,
4
+ B100,
5
+ B300,
6
+ B400,
7
+ B50,
8
+ B500,
9
+ B75,
10
+ DN50,
11
+ DN70,
12
+ G100,
13
+ G300,
14
+ G500,
15
+ N0,
16
+ N100,
17
+ N20,
18
+ N200,
19
+ N30,
20
+ N40,
21
+ N50,
22
+ N500,
23
+ N70,
24
+ N700,
25
+ N800,
26
+ N900,
27
+ P100,
28
+ P300,
29
+ P500,
30
+ R100,
31
+ R300,
32
+ R400,
33
+ R50,
34
+ R500,
35
+ R75,
36
+ T100,
37
+ T300,
38
+ T500,
39
+ Y100,
40
+ Y300,
41
+ Y500,
42
42
  } from '@atlaskit/theme/colors';
43
43
  import {
44
- codeFontFamily,
45
- fontSize as defaultFontSize,
46
- // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
47
- gridSize,
48
- layers,
44
+ codeFontFamily,
45
+ fontSize as defaultFontSize,
46
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
47
+ gridSize,
48
+ layers,
49
49
  } from '@atlaskit/theme/constants';
50
50
  import { token } from '@atlaskit/tokens';
51
51
 
@@ -77,12 +77,12 @@ export const akEditorSelectedBgColor = B50;
77
77
  export const akEditorSelectedBlanketColor = B75;
78
78
  export const akEditorSelectedBorderSize = 1;
79
79
  export const akEditorSelectedBorder = `${akEditorSelectedBorderSize}px solid ${token(
80
- 'color.border.selected',
81
- akEditorSelectedBorderColor,
80
+ 'color.border.selected',
81
+ akEditorSelectedBorderColor,
82
82
  )}`;
83
83
  export const akEditorSelectedBoxShadow = `0 0 0 ${akEditorSelectedBorderSize}px ${token(
84
- 'color.border.selected',
85
- akEditorSelectedBorderColor,
84
+ 'color.border.selected',
85
+ akEditorSelectedBorderColor,
86
86
  )}`;
87
87
  export const akEditorSelectedIconColor = B400;
88
88
  export const akEditorSelectedBorderBoldSize = 2;
@@ -100,11 +100,9 @@ export const akEditorFloatingPanelZIndex = layers.layer();
100
100
  // z-index used for pickers (date, emoji, mentions) and type-aheads, hyperlinks
101
101
  export const akEditorFloatingDialogZIndex = akEditorMenuZIndex + 10;
102
102
  // z-index used for table cell menu options button on a sticky header
103
- export const akEditorTableCellOnStickyHeaderZIndex =
104
- akEditorFloatingDialogZIndex - 5;
103
+ export const akEditorTableCellOnStickyHeaderZIndex = akEditorFloatingDialogZIndex - 5;
105
104
  // z-index used for floating toolbars table cell menu which are above block toolbars
106
- export const akEditorFloatingOverlapPanelZIndex =
107
- akEditorFloatingPanelZIndex + 5;
105
+ export const akEditorFloatingOverlapPanelZIndex = akEditorFloatingPanelZIndex + 5;
108
106
  export const akEditorMentionSelected = N100;
109
107
  export const akEditorTableToolbarSize = 11;
110
108
  export const akEditorTableBorder = N50;
@@ -130,6 +128,8 @@ export const akEditorFullWidthLayoutLineLength = 1792;
130
128
  export const akEditorTableNumberColumnWidth = 42;
131
129
  export const akEditorBreakoutPadding = 96;
132
130
  export const akEditorGutterPadding = 32;
131
+ export const akEditorGutterPaddingDynamic = () =>
132
+ getBooleanFF('platform.editor.core.increase-full-page-guttering') ? 52 : 32;
133
133
  export const akEditorMobileBreakoutPoint = 720;
134
134
  export const akEditorTableCellMinWidth = 48;
135
135
  export const akEditorTableLegacyCellMinWidth = 128;
@@ -161,76 +161,76 @@ export const MAX_BROWSER_SCROLLBAR_HEIGHT = 20;
161
161
  export const ATLASSIAN_NAVIGATION_HEIGHT = '56px';
162
162
 
163
163
  export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = () =>
164
- getBooleanFF('platform.confluence.frontend.narrow-full-page-editor-toolbar') ? token('space.500', '40px') : '56px';
164
+ getBooleanFF('platform.confluence.frontend.narrow-full-page-editor-toolbar')
165
+ ? token('space.500', '40px')
166
+ : '56px';
165
167
 
166
168
  export const akEditorSelectedNodeClassName = 'ak-editor-selected-node';
167
169
 
168
170
  export const editorFontSize = ({ theme }: { theme: EditorTheme }) =>
169
- theme && theme.baseFontSize ? theme.baseFontSize : defaultFontSize();
171
+ theme && theme.baseFontSize ? theme.baseFontSize : defaultFontSize();
170
172
 
171
173
  export const relativeSize =
172
- (multiplier: number) =>
173
- ({ theme }: { theme: EditorTheme }) =>
174
- editorFontSize({ theme }) * multiplier;
174
+ (multiplier: number) =>
175
+ ({ theme }: { theme: EditorTheme }) =>
176
+ editorFontSize({ theme }) * multiplier;
175
177
 
176
178
  export const relativeFontSizeToBase16 = (px: number | string) => {
177
- if (typeof px === 'string') {
178
- px = parseInt(px);
179
- }
180
- if (isNaN(px)) {
181
- throw new Error(`Invalid font size: '${px}'`);
182
- }
183
- return `${px / 16}rem`;
179
+ if (typeof px === 'string') {
180
+ px = parseInt(px);
181
+ }
182
+ if (isNaN(px)) {
183
+ throw new Error(`Invalid font size: '${px}'`);
184
+ }
185
+ return `${px / 16}rem`;
184
186
  };
185
187
 
186
188
  export const VIEWPORT_SIZES = {
187
- laptopHiDPI: { width: 1440, height: 900 },
188
- laptopMDPI: { width: 1280, height: 800 },
189
- tabletL: { width: 1024, height: 1366 },
190
- tabletS: { width: 768, height: 1024 },
191
- mobileM: { width: 414, height: 736 },
192
- mobileS: { width: 375, height: 667 },
193
- mobileXS: { width: 320, height: 568 },
189
+ laptopHiDPI: { width: 1440, height: 900 },
190
+ laptopMDPI: { width: 1280, height: 800 },
191
+ tabletL: { width: 1024, height: 1366 },
192
+ tabletS: { width: 768, height: 1024 },
193
+ mobileM: { width: 414, height: 736 },
194
+ mobileS: { width: 375, height: 667 },
195
+ mobileXS: { width: 320, height: 568 },
194
196
  };
195
197
 
196
198
  // to be updated in ED-10790: this should be variable threshold based on how many buttons enabled on main toolbar
197
199
  export const akEditorMobileMaxWidth = 0;
198
200
 
199
201
  export const getTableCellBackgroundDarkModeColors = [
200
- ['White', '#000000'],
201
- ['Light blue', '#0C294F'],
202
- ['Light teal', '#0C343B'],
203
- ['Light green', '#052E21'],
204
- ['Light yellow', '#484123'],
205
- ['Light red', '#441C13'],
206
- ['Light purple', '#282249'],
202
+ ['White', '#000000'],
203
+ ['Light blue', '#0C294F'],
204
+ ['Light teal', '#0C343B'],
205
+ ['Light green', '#052E21'],
206
+ ['Light yellow', '#484123'],
207
+ ['Light red', '#441C13'],
208
+ ['Light purple', '#282249'],
207
209
 
208
- ['Light gray', '#202328'],
209
- ['Blue', '#0B3165'],
210
- ['Teal', '#044853'],
211
- ['Green', '#053927'],
212
- ['Yellow', '#6F5C25'],
213
- ['Red', '#582013'],
214
- ['Purple', '#3E327B'],
210
+ ['Light gray', '#202328'],
211
+ ['Blue', '#0B3165'],
212
+ ['Teal', '#044853'],
213
+ ['Green', '#053927'],
214
+ ['Yellow', '#6F5C25'],
215
+ ['Red', '#582013'],
216
+ ['Purple', '#3E327B'],
215
217
 
216
- ['Gray', '#475262'],
217
- ['Dark blue', '#003884'],
218
- ['Dark teal', '#055866'],
219
- ['Dark green', '#044932'],
220
- ['Dark yellow', '#82641C'],
221
- ['Dark red', '#6B2A19'],
222
- ['Dark purple', '#4D38B2'],
218
+ ['Gray', '#475262'],
219
+ ['Dark blue', '#003884'],
220
+ ['Dark teal', '#055866'],
221
+ ['Dark green', '#044932'],
222
+ ['Dark yellow', '#82641C'],
223
+ ['Dark red', '#6B2A19'],
224
+ ['Dark purple', '#4D38B2'],
223
225
  ]
224
- .map(([colorName, colorValue]) =>
225
- getTableCellBackgroundDarkModeColorCSS(colorName, colorValue),
226
- )
227
- .join('\n');
226
+ .map(([colorName, colorValue]) => getTableCellBackgroundDarkModeColorCSS(colorName, colorValue))
227
+ .join('\n');
228
228
 
229
229
  export function getTableCellBackgroundDarkModeColorCSS(
230
- colorName: string,
231
- colorValue: string,
230
+ colorName: string,
231
+ colorValue: string,
232
232
  ): string {
233
- return `
233
+ return `
234
234
  &[colorname="${colorName}"] {
235
235
  background-color: ${colorValue} !important; // !important to override default style color
236
236
  }
@@ -238,25 +238,25 @@ export function getTableCellBackgroundDarkModeColorCSS(
238
238
  }
239
239
 
240
240
  export const avatarColors = [
241
- token('color.icon.accent.red', R100),
242
- token('color.background.accent.red.bolder.hovered', R300),
243
- token('color.icon.accent.magenta', R500),
244
- token('color.background.accent.magenta.bolder.hovered', Y100),
245
- token('color.icon.accent.orange', Y300),
246
- token('color.background.accent.orange.bolder.hovered', Y500),
247
- token('color.icon.accent.green', G100),
248
- token('color.background.accent.green.bolder.hovered', G300),
249
- token('color.icon.accent.blue', G500),
250
- token('color.background.accent.blue.bolder.hovered', T100),
251
- token('color.icon.accent.teal', T300),
252
- token('color.background.accent.teal.bolder.hovered', T500),
253
- token('color.icon.accent.lime', B100),
254
- token('color.background.accent.lime.bolder.hovered', B300),
255
- token('color.icon.accent.purple', B500),
256
- token('color.background.accent.purple.bolder.hovered', N70),
257
- token('color.icon.accent.gray', N200),
258
- token('color.background.accent.gray.bolder.hovered', N800),
259
- token('color.icon.accent.yellow', P100),
260
- token('color.background.accent.yellow.bolder.hovered', P300),
261
- token('color.background.accent.yellow.bolder.pressed', P500),
241
+ token('color.icon.accent.red', R100),
242
+ token('color.background.accent.red.bolder.hovered', R300),
243
+ token('color.icon.accent.magenta', R500),
244
+ token('color.background.accent.magenta.bolder.hovered', Y100),
245
+ token('color.icon.accent.orange', Y300),
246
+ token('color.background.accent.orange.bolder.hovered', Y500),
247
+ token('color.icon.accent.green', G100),
248
+ token('color.background.accent.green.bolder.hovered', G300),
249
+ token('color.icon.accent.blue', G500),
250
+ token('color.background.accent.blue.bolder.hovered', T100),
251
+ token('color.icon.accent.teal', T300),
252
+ token('color.background.accent.teal.bolder.hovered', T500),
253
+ token('color.icon.accent.lime', B100),
254
+ token('color.background.accent.lime.bolder.hovered', B300),
255
+ token('color.icon.accent.purple', B500),
256
+ token('color.background.accent.purple.bolder.hovered', N70),
257
+ token('color.icon.accent.gray', N200),
258
+ token('color.background.accent.gray.bolder.hovered', N800),
259
+ token('color.icon.accent.yellow', P100),
260
+ token('color.background.accent.yellow.bolder.hovered', P300),
261
+ token('color.background.accent.yellow.bolder.pressed', P500),
262
262
  ];
@@ -1,100 +1,101 @@
1
1
  export type { EditorTheme } from './types';
2
2
  export {
3
- akEditorActiveBackground,
4
- akEditorActiveForeground,
5
- akEditorBlockquoteBorderColor,
6
- akEditorBreakoutPadding,
7
- akEditorCodeBackground,
8
- akEditorCodeBlockPadding,
9
- akEditorCodeFontFamily,
10
- akEditorCodeInlinePadding,
11
- akEditorContextPanelWidth,
12
- akEditorDefaultLayoutWidth,
13
- akEditorDeleteBackground,
14
- akEditorDeleteBackgroundShaded,
15
- akEditorDeleteBackgroundWithOpacity,
16
- akEditorDeleteBorder,
17
- akEditorDeleteIconColor,
18
- akEditorDropdownActiveBackground,
19
- akEditorFloatingDialogZIndex,
20
- akEditorFloatingOverlapPanelZIndex,
21
- akEditorFloatingPanelZIndex,
22
- akEditorFocus,
23
- akEditorFullPageMaxWidth,
24
- akEditorFullPageDefaultFontSize,
25
- akEditorFullWidthLayoutWidth,
26
- akEditorFullWidthLayoutLineLength,
27
- akEditorGridLineZIndex,
28
- akEditorGutterPadding,
29
- akEditorInactiveForeground,
30
- akEditorMediaResizeHandlerPadding,
31
- akEditorMediaResizeHandlerPaddingWide,
32
- akEditorMentionSelected,
33
- akEditorMenuZIndex,
34
- akEditorStickyHeaderZIndex,
35
- akEditorMobileBreakoutPoint,
36
- akEditorPopupBackground,
37
- akEditorPopupText,
38
- akEditorPrimaryButton,
39
- akEditorSelectedBorderColor,
40
- akEditorSelectedBorderBoldSize,
41
- akEditorSelectedBorderSize,
42
- akEditorSelectedBorder,
43
- akEditorSelectedBoxShadow,
44
- akEditorSelectedIconColor,
45
- akEditorCustomIconSize,
46
- akEditorSelectedBlanketColor,
47
- akEditorSelectedBgColor,
48
- akEditorSelectedBlanketOpacity,
49
- akEditorSmallZIndex,
50
- akEditorShadowZIndex,
51
- akEditorSubtleAccent,
52
- akEditorSwoopCubicBezier,
53
- akEditorTableBorder,
54
- akEditorTableBorderDark,
55
- akEditorTableBorderDelete,
56
- akEditorTableBorderRadius,
57
- akEditorTableBorderSelected,
58
- akEditorTableCellBackgroundOpacity,
59
- akEditorTableCellDelete,
60
- akEditorTableCellMinWidth,
61
- akEditorTableCellOnStickyHeaderZIndex,
62
- akEditorTableCellSelected,
63
- akEditorTableFloatingControls,
64
- akEditorTableHeaderCellBackground,
65
- akEditorTableHeaderCellBackgroundDark,
66
- akEditorTableLegacyCellMinWidth,
67
- akEditorTableNumberColumnWidth,
68
- akEditorTableToolbar,
69
- akEditorTableToolbarDark,
70
- akEditorTableToolbarDelete,
71
- akEditorTableToolbarSelected,
72
- akEditorTableToolbarSize,
73
- akEditorUnitZIndex,
74
- akEditorCalculatedWideLayoutWidth,
75
- akEditorWideLayoutWidth,
76
- akLayoutGutterOffset,
77
- akRichMediaResizeZIndex,
78
- avatarColors,
79
- blockNodesVerticalMargin,
80
- breakoutWideScaleRatio,
81
- editorFontSize,
82
- gridMediumMaxWidth,
83
- relativeSize,
84
- relativeFontSizeToBase16,
85
- DEFAULT_EMBED_CARD_HEIGHT,
86
- DEFAULT_EMBED_CARD_WIDTH,
87
- akEditorLineHeight,
88
- akEditorRuleBackground,
89
- akEditorRuleBorderRadius,
90
- akEditorSelectedNodeClassName,
91
- akEditorToolbarKeylineHeight,
92
- MAX_BROWSER_SCROLLBAR_HEIGHT,
93
- VIEWPORT_SIZES,
94
- akEditorMobileMaxWidth,
95
- getTableCellBackgroundDarkModeColors,
96
- ATLASSIAN_NAVIGATION_HEIGHT,
97
- FULL_PAGE_EDITOR_TOOLBAR_HEIGHT,
98
- akEditorTableCellBlanketSelected,
99
- akEditorTableCellBlanketDeleted,
3
+ akEditorActiveBackground,
4
+ akEditorActiveForeground,
5
+ akEditorBlockquoteBorderColor,
6
+ akEditorBreakoutPadding,
7
+ akEditorCodeBackground,
8
+ akEditorCodeBlockPadding,
9
+ akEditorCodeFontFamily,
10
+ akEditorCodeInlinePadding,
11
+ akEditorContextPanelWidth,
12
+ akEditorDefaultLayoutWidth,
13
+ akEditorDeleteBackground,
14
+ akEditorDeleteBackgroundShaded,
15
+ akEditorDeleteBackgroundWithOpacity,
16
+ akEditorDeleteBorder,
17
+ akEditorDeleteIconColor,
18
+ akEditorDropdownActiveBackground,
19
+ akEditorFloatingDialogZIndex,
20
+ akEditorFloatingOverlapPanelZIndex,
21
+ akEditorFloatingPanelZIndex,
22
+ akEditorFocus,
23
+ akEditorFullPageMaxWidth,
24
+ akEditorFullPageDefaultFontSize,
25
+ akEditorFullWidthLayoutWidth,
26
+ akEditorFullWidthLayoutLineLength,
27
+ akEditorGridLineZIndex,
28
+ akEditorGutterPadding,
29
+ akEditorGutterPaddingDynamic,
30
+ akEditorInactiveForeground,
31
+ akEditorMediaResizeHandlerPadding,
32
+ akEditorMediaResizeHandlerPaddingWide,
33
+ akEditorMentionSelected,
34
+ akEditorMenuZIndex,
35
+ akEditorStickyHeaderZIndex,
36
+ akEditorMobileBreakoutPoint,
37
+ akEditorPopupBackground,
38
+ akEditorPopupText,
39
+ akEditorPrimaryButton,
40
+ akEditorSelectedBorderColor,
41
+ akEditorSelectedBorderBoldSize,
42
+ akEditorSelectedBorderSize,
43
+ akEditorSelectedBorder,
44
+ akEditorSelectedBoxShadow,
45
+ akEditorSelectedIconColor,
46
+ akEditorCustomIconSize,
47
+ akEditorSelectedBlanketColor,
48
+ akEditorSelectedBgColor,
49
+ akEditorSelectedBlanketOpacity,
50
+ akEditorSmallZIndex,
51
+ akEditorShadowZIndex,
52
+ akEditorSubtleAccent,
53
+ akEditorSwoopCubicBezier,
54
+ akEditorTableBorder,
55
+ akEditorTableBorderDark,
56
+ akEditorTableBorderDelete,
57
+ akEditorTableBorderRadius,
58
+ akEditorTableBorderSelected,
59
+ akEditorTableCellBackgroundOpacity,
60
+ akEditorTableCellDelete,
61
+ akEditorTableCellMinWidth,
62
+ akEditorTableCellOnStickyHeaderZIndex,
63
+ akEditorTableCellSelected,
64
+ akEditorTableFloatingControls,
65
+ akEditorTableHeaderCellBackground,
66
+ akEditorTableHeaderCellBackgroundDark,
67
+ akEditorTableLegacyCellMinWidth,
68
+ akEditorTableNumberColumnWidth,
69
+ akEditorTableToolbar,
70
+ akEditorTableToolbarDark,
71
+ akEditorTableToolbarDelete,
72
+ akEditorTableToolbarSelected,
73
+ akEditorTableToolbarSize,
74
+ akEditorUnitZIndex,
75
+ akEditorCalculatedWideLayoutWidth,
76
+ akEditorWideLayoutWidth,
77
+ akLayoutGutterOffset,
78
+ akRichMediaResizeZIndex,
79
+ avatarColors,
80
+ blockNodesVerticalMargin,
81
+ breakoutWideScaleRatio,
82
+ editorFontSize,
83
+ gridMediumMaxWidth,
84
+ relativeSize,
85
+ relativeFontSizeToBase16,
86
+ DEFAULT_EMBED_CARD_HEIGHT,
87
+ DEFAULT_EMBED_CARD_WIDTH,
88
+ akEditorLineHeight,
89
+ akEditorRuleBackground,
90
+ akEditorRuleBorderRadius,
91
+ akEditorSelectedNodeClassName,
92
+ akEditorToolbarKeylineHeight,
93
+ MAX_BROWSER_SCROLLBAR_HEIGHT,
94
+ VIEWPORT_SIZES,
95
+ akEditorMobileMaxWidth,
96
+ getTableCellBackgroundDarkModeColors,
97
+ ATLASSIAN_NAVIGATION_HEIGHT,
98
+ FULL_PAGE_EDITOR_TOOLBAR_HEIGHT,
99
+ akEditorTableCellBlanketSelected,
100
+ akEditorTableCellBlanketDeleted,
100
101
  } from './consts';
@@ -1,3 +1,3 @@
1
1
  export type EditorTheme = {
2
- baseFontSize?: number;
2
+ baseFontSize?: number;
3
3
  };