@atlaskit/editor-core 205.2.1 → 205.2.3
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 +18 -0
- package/dist/cjs/i18n/sk.js +3 -159
- package/dist/cjs/ui/ContentStyles/index.js +17 -3
- package/dist/cjs/ui/ContentStyles/tasks-and-decisions.js +122 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/i18n/sk.js +3 -159
- package/dist/es2019/ui/ContentStyles/index.js +20 -1
- package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +121 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/i18n/sk.js +3 -159
- package/dist/esm/ui/ContentStyles/index.js +18 -4
- package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +121 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +58 -134
- package/dist/types/i18n/sk.d.ts +2 -159
- package/dist/types/presets/universal.d.ts +58 -134
- package/dist/types/presets/useUniversalPreset.d.ts +58 -134
- package/dist/types/ui/ContentStyles/tasks-and-decisions.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +58 -134
- package/dist/types-ts4.5/i18n/sk.d.ts +2 -159
- package/dist/types-ts4.5/presets/universal.d.ts +58 -134
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +58 -134
- package/dist/types-ts4.5/ui/ContentStyles/tasks-and-decisions.d.ts +3 -0
- package/package.json +28 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 205.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#139158](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139158)
|
|
8
|
+
[`e535a2a6ac9ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e535a2a6ac9ea) -
|
|
9
|
+
[ux] [A11Y-10038] Announce status popup when it opens and let users know how to access the popup
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 205.2.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#135686](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/135686)
|
|
17
|
+
[`fad3e236fffd3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fad3e236fffd3) -
|
|
18
|
+
migrate decision item node to vanillajs
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 205.2.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/cjs/i18n/sk.js
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
7
8
|
/**
|
|
8
9
|
* NOTE:
|
|
9
10
|
*
|
|
@@ -12,163 +13,6 @@ exports.default = void 0;
|
|
|
12
13
|
*/
|
|
13
14
|
//Slovak
|
|
14
15
|
var _default = exports.default = {
|
|
15
|
-
'fabric.editor.
|
|
16
|
-
'fabric.editor.
|
|
17
|
-
'fabric.editor.addAltText': 'Alternatívny text',
|
|
18
|
-
'fabric.editor.alignImageCenter': 'Zarovnať do stredu',
|
|
19
|
-
'fabric.editor.alignImageLeft': 'Zarovnať vľavo',
|
|
20
|
-
'fabric.editor.alignImageRight': 'Zarovnať vpravo',
|
|
21
|
-
'fabric.editor.altText': 'Všetok text',
|
|
22
|
-
'fabric.editor.alttext.validation': 'Vymažte z alternatívneho textu všetky špeciálne znaky.',
|
|
23
|
-
'fabric.editor.annotate': 'Komentovať',
|
|
24
|
-
'fabric.editor.annotationToolbar': 'Panel s nástrojmi poznámok',
|
|
25
|
-
'fabric.editor.backLink': 'Vrátiť sa',
|
|
26
|
-
'fabric.editor.blockCardUnavailable': 'Vnorené prepojenie je v uzle {node} a jeho zobrazenie nemožno zmeniť',
|
|
27
|
-
'fabric.editor.blockquote.description': 'Vložiť citát alebo citáciu',
|
|
28
|
-
'fabric.editor.bold': 'Hrubé',
|
|
29
|
-
'fabric.editor.cancelButton': 'Zrušiť',
|
|
30
|
-
'fabric.editor.cardFloatingControls': 'Možnosti karty',
|
|
31
|
-
'fabric.editor.cellBackground': 'Pozadie buniek',
|
|
32
|
-
'fabric.editor.cellOptions': 'Možnosti bunky',
|
|
33
|
-
'fabric.editor.clearAltTextEdit': 'Vymazať alternatívny text',
|
|
34
|
-
'fabric.editor.clearCells': '{0, plural, one {Vymazať bunku} few {Vymazať bunky} many {Vymazať bunky} other {Vymazať bunky}}',
|
|
35
|
-
'fabric.editor.clearFormatting': 'Vymazať formátovanie',
|
|
36
|
-
'fabric.editor.clearLink': 'Vymazať prepojenie',
|
|
37
|
-
'fabric.editor.clearLinkText': 'Vymazať text',
|
|
38
|
-
'fabric.editor.closeAltTextEdit': 'Späť',
|
|
39
|
-
'fabric.editor.closeFindReplaceDialog': 'Zatvoriť',
|
|
40
|
-
'fabric.editor.closeHelpDialog': 'Zavrieť dialógové okno pomocníka',
|
|
41
|
-
'fabric.editor.code': 'Kód',
|
|
42
|
-
'fabric.editor.codeblock': 'Zlomok kódu',
|
|
43
|
-
'fabric.editor.codeblock.description': 'Zobraziť kód so zvýraznenou syntaxou',
|
|
44
|
-
'fabric.editor.columns': 'Rozloženia',
|
|
45
|
-
'fabric.editor.columns.description': 'Rozdeľte stránku pomocou sekcií',
|
|
46
|
-
'fabric.editor.configPanel.cancel': 'Zrušiť',
|
|
47
|
-
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': '„IsMultiple“ a „style: radio“ nie je možné kombinovať',
|
|
48
|
-
'fabric.editor.configPanel.formType.addField': 'Pridať pole',
|
|
49
|
-
'fabric.editor.configPanel.formType.removeField': 'Odstrániť pole',
|
|
50
|
-
'fabric.editor.configPanel.required': 'Povinné pole',
|
|
51
|
-
'fabric.editor.configPanel.submit': 'Odoslať',
|
|
52
|
-
'fabric.editor.date': 'Dátum',
|
|
53
|
-
'fabric.editor.date.description': 'Pridajte dátum pomocou kalendára',
|
|
54
|
-
'fabric.editor.decision': 'Rozhodnutie',
|
|
55
|
-
'fabric.editor.decision.description': 'Zaznamenajte rozhodnutia, aby sa mohli jednoducho sledovať',
|
|
56
|
-
'fabric.editor.decisionPlaceholder': 'Pridať rozhodnutie...',
|
|
57
|
-
'fabric.editor.displayInline': 'Zobraziť vo vnútri',
|
|
58
|
-
'fabric.editor.displayLink': 'Zobraziť ako text',
|
|
59
|
-
'fabric.editor.displayText': 'Text na zobrazenie',
|
|
60
|
-
'fabric.editor.edit': 'Upraviť',
|
|
61
|
-
'fabric.editor.editAltText': 'Upraviť alternatívny text',
|
|
62
|
-
'fabric.editor.editLink': 'Upraviť prepojenie',
|
|
63
|
-
'fabric.editor.editMode.inviteToEditButton.title': 'Pozvať na úpravu',
|
|
64
|
-
'fabric.editor.editorHelp': 'Pomoc editora',
|
|
65
|
-
'fabric.editor.emoji': 'Zábavný obrázok',
|
|
66
|
-
'fabric.editor.emoji.description': 'Použite emotikony na vyjadrenie nápadov 🎉 a emócií 😄',
|
|
67
|
-
'fabric.editor.error': 'Chyba',
|
|
68
|
-
'fabric.editor.errorPanel': 'Panel chýb',
|
|
69
|
-
'fabric.editor.errorPanel.description': 'Vyvolanie chýb vo farebnom paneli',
|
|
70
|
-
'fabric.editor.expand': 'Rozšírenie',
|
|
71
|
-
'fabric.editor.expand.description': 'Vložiť rozšírenie',
|
|
72
|
-
'fabric.editor.feedbackDialog': 'Poskytnúť spätnú väzbu',
|
|
73
|
-
'fabric.editor.feedbackDialog.description': 'Povedzte nám o svojej skúsenosti s používaním nového editora',
|
|
74
|
-
'fabric.editor.filesAndImages': 'Súbory a obrázky',
|
|
75
|
-
'fabric.editor.filesAndImages.description': 'Pridajte obrázky a ďalšie súbory na stránku',
|
|
76
|
-
'fabric.editor.find': 'Nájsť',
|
|
77
|
-
'fabric.editor.findNext': 'Nájsť ďalší',
|
|
78
|
-
'fabric.editor.findPrevious': 'Nájsť predchádzajúci',
|
|
79
|
-
'fabric.editor.findReplaceToolbarButton': 'Nájsť a nahradiť',
|
|
80
|
-
'fabric.editor.headerColumn': 'Stĺpec záhlavia',
|
|
81
|
-
'fabric.editor.headerRow': 'Riadok záhlavia',
|
|
82
|
-
'fabric.editor.heading1': 'Nadpis 1',
|
|
83
|
-
'fabric.editor.heading1Description': 'Použiť pre nadpis najvyššej úrovne',
|
|
84
|
-
'fabric.editor.heading2': 'Nadpis 2',
|
|
85
|
-
'fabric.editor.heading2Description': 'Použiť pre kľúčové časti',
|
|
86
|
-
'fabric.editor.heading3': 'Nadpis 3',
|
|
87
|
-
'fabric.editor.heading3Description': 'Použiť pre podriadené časti a nadpisy skupín',
|
|
88
|
-
'fabric.editor.heading4': 'Nadpis 4',
|
|
89
|
-
'fabric.editor.heading4Description': 'Použiť pre podnadpisy',
|
|
90
|
-
'fabric.editor.heading5': 'Nadpis 5',
|
|
91
|
-
'fabric.editor.heading5Description': 'Použiť pre zoskupenie položiek zoznamu',
|
|
92
|
-
'fabric.editor.heading6': 'Nadpis 6',
|
|
93
|
-
'fabric.editor.heading6Description': 'Použiť pre nadpisy nízkej úrovne',
|
|
94
|
-
'fabric.editor.help': 'Pomocník',
|
|
95
|
-
'fabric.editor.help.description': 'Preskúmať klávesové skratky a možnosti značenia',
|
|
96
|
-
'fabric.editor.helpDialogTips': 'Stlačením tlačidla {keyMap} rýchlo kedykoľvek otvorte tento dialóg',
|
|
97
|
-
'fabric.editor.horizontalRule': 'Rozdeľovač',
|
|
98
|
-
'fabric.editor.horizontalRule.description': 'Oddeľte obsah vodorovnou čiarou',
|
|
99
|
-
'fabric.editor.image': 'Obrázok',
|
|
100
|
-
'fabric.editor.info': 'Informácie',
|
|
101
|
-
'fabric.editor.infoPanel': 'Informačný panel',
|
|
102
|
-
'fabric.editor.infoPanel.description': 'Zvýrazniť informácie vo farebnom paneli',
|
|
103
|
-
'fabric.editor.insertMenu': 'Vložiť',
|
|
104
|
-
'fabric.editor.italic': 'Kurzíva',
|
|
105
|
-
'fabric.editor.keyboardShortcuts': 'Klávesové skratky',
|
|
106
|
-
'fabric.editor.layoutFixedWidth': 'Späť do centra',
|
|
107
|
-
'fabric.editor.layoutFullWidth': 'Celá šírka',
|
|
108
|
-
'fabric.editor.layoutWide': 'Rozšíriť',
|
|
109
|
-
'fabric.editor.leftSidebar': 'Ľavý bočný panel',
|
|
110
|
-
'fabric.editor.link': 'Prepojenie',
|
|
111
|
-
'fabric.editor.link.description': 'Vložiť prepojenie',
|
|
112
|
-
'fabric.editor.linkAddress': 'Adresa prepojenia',
|
|
113
|
-
'fabric.editor.linkPlaceholder': 'Vložiť prepojenie',
|
|
114
|
-
'fabric.editor.lists': 'Zoznamy',
|
|
115
|
-
'fabric.editor.markdown': 'Vyznačenie',
|
|
116
|
-
'fabric.editor.mediaAddLink': 'Pridať prepojenie',
|
|
117
|
-
'fabric.editor.mention': 'Spomenutie',
|
|
118
|
-
'fabric.editor.mention.description': 'Spomeňte niekoho a pošlite mu oznámenie',
|
|
119
|
-
'fabric.editor.mergeCells': 'Zlúčiť bunky',
|
|
120
|
-
'fabric.editor.moreFormatting': 'Ďalšie formátovanie',
|
|
121
|
-
'fabric.editor.normal': 'Normálny text',
|
|
122
|
-
'fabric.editor.note': 'Poznámka',
|
|
123
|
-
'fabric.editor.notePanel': 'Panel poznámok',
|
|
124
|
-
'fabric.editor.notePanel.description': 'Pridať poznámku do farebného panela',
|
|
125
|
-
'fabric.editor.numberedColumn': 'Číslovaný stĺpec',
|
|
126
|
-
'fabric.editor.orderedList': 'Očíslovaný zoznam',
|
|
127
|
-
'fabric.editor.orderedList.description': 'Vytvoriť zoradený zoznam',
|
|
128
|
-
'fabric.editor.other': 'Iné...',
|
|
129
|
-
'fabric.editor.pastePlainText': 'Vložiť obyčajný text',
|
|
130
|
-
'fabric.editor.placeholderAltText': 'Popísať obrázok alternatívnym textom',
|
|
131
|
-
'fabric.editor.placeholderText': 'Zástupný text',
|
|
132
|
-
'fabric.editor.placeholderTextPlaceholder': 'Pridať zástupný text',
|
|
133
|
-
'fabric.editor.quickInsert': 'Rýchlo vložiť',
|
|
134
|
-
'fabric.editor.redo': 'Vrátiť naspäť',
|
|
135
|
-
'fabric.editor.remove': 'Odstrániť',
|
|
136
|
-
'fabric.editor.replace': 'Nahradiť',
|
|
137
|
-
'fabric.editor.replaceAll': 'Nahradiť všetko',
|
|
138
|
-
'fabric.editor.replaceWith': 'Nahradiť textom',
|
|
139
|
-
'fabric.editor.rightSidebar': 'Pravý bočný panel',
|
|
140
|
-
'fabric.editor.saveButton': 'Uložiť',
|
|
141
|
-
'fabric.editor.selectLanguage': 'Vybrať jazyk',
|
|
142
|
-
'fabric.editor.splitCell': 'Rozdeliť bunky',
|
|
143
|
-
'fabric.editor.status': 'Stav',
|
|
144
|
-
'fabric.editor.status.description': 'Pridať vlastné označenie stavu',
|
|
145
|
-
'fabric.editor.statusPlaceholder': 'Nastaviť stav',
|
|
146
|
-
'fabric.editor.strike': 'Preškrtnúť',
|
|
147
|
-
'fabric.editor.subscript': 'Dolný index',
|
|
148
|
-
'fabric.editor.success': 'Úspech',
|
|
149
|
-
'fabric.editor.successPanel': 'Panel úspechov',
|
|
150
|
-
'fabric.editor.successPanel.description': 'Pridať tipy do farebného panela',
|
|
151
|
-
'fabric.editor.superscript': 'Horný index',
|
|
152
|
-
'fabric.editor.supportAltText': 'Alternatívny text je užitočný pre ľudí so zrakovým postihnutím používajúcich čítačky obrazovky.',
|
|
153
|
-
'fabric.editor.table': 'Tabuľka',
|
|
154
|
-
'fabric.editor.table.description': 'Vložiť tabuľku',
|
|
155
|
-
'fabric.editor.tableOptions': 'Možnosti tabuľky',
|
|
156
|
-
'fabric.editor.taskPlaceholder': 'Napíšte svoju činnosť. Pomocou "@" ju niekomu priraďte.',
|
|
157
|
-
'fabric.editor.textColor': 'Farba textu',
|
|
158
|
-
'fabric.editor.textStyles': 'Štýly textu',
|
|
159
|
-
'fabric.editor.threeColumns': 'Tri stĺpce',
|
|
160
|
-
'fabric.editor.threeColumnsWithSidebars': 'Tri stĺpce s bočnými panelmi',
|
|
161
|
-
'fabric.editor.twoColumns': 'Dva stĺpce',
|
|
162
|
-
'fabric.editor.underline': 'Podčiarknuť',
|
|
163
|
-
'fabric.editor.undo': 'Späť',
|
|
164
|
-
'fabric.editor.unlink': 'Zrušiť prepojenie',
|
|
165
|
-
'fabric.editor.unorderedList': 'Zoznam s odrážkami',
|
|
166
|
-
'fabric.editor.unorderedList.description': 'Vytvoriť nezoradený zoznam',
|
|
167
|
-
'fabric.editor.viewMore': 'Zobraziť ďalšie',
|
|
168
|
-
'fabric.editor.visit': 'Otvoriť prepojenie v novom okne',
|
|
169
|
-
'fabric.editor.warning': 'Varovanie',
|
|
170
|
-
'fabric.editor.warningPanel': 'Panel výstrah',
|
|
171
|
-
'fabric.editor.warningPanel.description': 'Pridať upozornenie do farebného panela',
|
|
172
|
-
'fabric.editor.wrapLeft': 'Zbaliť vľavo',
|
|
173
|
-
'fabric.editor.wrapRight': 'Zbaliť vpravo'
|
|
16
|
+
'fabric.editor.chromeCollapsedPlaceholder': 'None',
|
|
17
|
+
'fabric.editor.headingLink.toolbarHelpTitle': 'None'
|
|
174
18
|
};
|
|
@@ -127,6 +127,14 @@ var placeholderOverflowStyles = (0, _react2.css)({
|
|
|
127
127
|
textOverflow: 'ellipsis'
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
|
+
var placeholderWrapStyles = (0, _react2.css)({
|
|
131
|
+
// As part of controls work, we add placeholder `Search` to quick insert command
|
|
132
|
+
// This style is to prevent `/Search` being wrapped if it's triggered at the end of the line
|
|
133
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
134
|
+
'.ProseMirror mark[data-type-ahead-query="true"]:has(.placeholder-decoration-wrap)': {
|
|
135
|
+
whiteSpace: 'nowrap'
|
|
136
|
+
}
|
|
137
|
+
});
|
|
130
138
|
var firstBlockNodeStyles = (0, _react2.css)(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t> .", ",\n\t\t\t> .", ",\n\t\t\t> .", ",\n\t\t\t> div[data-task-list-local-id],\n\t\t> div[data-layout-section],\n\t\t> .", " {\n\t\t\t&:first-child {\n\t\t\t\tmargin-top: 0;\n\t\t\t}\n\t\t}\n\n\t\t> hr:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n"])), _panel.PanelSharedCssClassName.prefix, _styles.CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER, _styles.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, _styles.expandClassNames.prefix);
|
|
131
139
|
var firstBlockNodeStylesNew = (0, _react2.css)(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t> .", ",\n\t\t\t> .", ",\n\t\t\t> .", ",\n\t\t\t> div[data-task-list-local-id],\n\t\t> div[data-layout-section],\n\t\t> .", " {\n\t\t\t&:first-child {\n\t\t\t\tmargin-top: 0;\n\t\t\t}\n\t\t}\n\n\t\t> hr:first-child,\n\t\t> .ProseMirror-widget:first-child + hr {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n"])), _panel.PanelSharedCssClassName.prefix, _styles.CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER, _styles.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, _styles.expandClassNames.prefix);
|
|
132
140
|
|
|
@@ -146,15 +154,21 @@ var fixBlockControlStylesSSR = exports.fixBlockControlStylesSSR = function fixBl
|
|
|
146
154
|
// The breakpoint for small devices is 1266px, copied from getBreakpoint in platform/packages/editor/editor-common/src/ui/WidthProvider/index.tsx
|
|
147
155
|
var akEditorBreakpointForSmallDevice = "1266px";
|
|
148
156
|
var contentStyles = function contentStyles(props) {
|
|
149
|
-
return (0, _react2.css)(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: 52px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\t}\n\n\t.ProseMirror {\n\t\t--ak-editor-max-container-width: calc(100cqw - var(--ak-editor--large-gutter-padding));\n\t}\n\n\t/* We can't allow nodes that are inside other nodes to bleed from the parent container */\n\t.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block] {\n\t\t--ak-editor-max-container-width: 100%;\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (width >= ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t", "\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t/**\n\t * This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24\n\t *\n\t * 1. Merge and Release platform_editor_hide_cursor_when_pm_hideselection\n\t * 2. Cleanup duplicated style from platform_editor_advanced_code_blocks\n\t * https://product-fabric.atlassian.net/browse/ED-26331\n\t */\n\t", "\n\n\t/* This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24 */\n\t", "\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\tcaret-color: transparent;\n\t}\n\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\tdisplay: none;\n\t}\n\n\t", "\n\t", "\n\t", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t// For FullPage only when inside a table\n\t// Related code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\t// In the \"editorContentAreaContainerStyle\" function\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Legacy Link icon in the Atlaskit package\n is bigger than the others, new ADS icon does not have this issue\n */\n\t", "\n"])), _editorSharedStyles.akEditorGutterPadding, _editorSharedStyles.akEditorDefaultLayoutWidth, _editorSharedStyles.akEditorFullWidthLayoutWidth, _editorSharedStyles.akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, _editorSharedStyles.akEditorCalculatedWideLayoutWidth, (0, _editorSharedStyles.editorFontSize)({
|
|
157
|
+
return (0, _react2.css)(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: 52px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\t}\n\n\t.ProseMirror {\n\t\t--ak-editor-max-container-width: calc(100cqw - var(--ak-editor--large-gutter-padding));\n\t}\n\n\t/* We can't allow nodes that are inside other nodes to bleed from the parent container */\n\t.ProseMirror > div[data-prosemirror-node-block] [data-prosemirror-node-block] {\n\t\t--ak-editor-max-container-width: 100%;\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (width >= ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t", "\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t/**\n\t * This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24\n\t *\n\t * 1. Merge and Release platform_editor_hide_cursor_when_pm_hideselection\n\t * 2. Cleanup duplicated style from platform_editor_advanced_code_blocks\n\t * https://product-fabric.atlassian.net/browse/ED-26331\n\t */\n\t", "\n\n\t/* This prosemirror css style: https://github.com/ProseMirror/prosemirror-view/blob/f37ebb29befdbde3cd194fe13fe17b78e743d2f2/style/prosemirror.css#L24 */\n\t", "\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t.ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor) {\n\t\tcaret-color: transparent;\n\t}\n\t.ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor {\n\t\tdisplay: none;\n\t}\n\n\t", "\n\t", "\n\t", "\n\t", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n\t", "\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n // Switch between the two icons based on the visual refresh feature gate\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t// For FullPage only when inside a table\n\t// Related code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\t// In the \"editorContentAreaContainerStyle\" function\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Legacy Link icon in the Atlaskit package\n is bigger than the others, new ADS icon does not have this issue\n */\n\t", "\n"])), _editorSharedStyles.akEditorGutterPadding, _editorSharedStyles.akEditorDefaultLayoutWidth, _editorSharedStyles.akEditorFullWidthLayoutWidth, _editorSharedStyles.akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, _editorSharedStyles.akEditorCalculatedWideLayoutWidth, (0, _editorSharedStyles.editorFontSize)({
|
|
150
158
|
theme: props.theme
|
|
151
|
-
}), _styles.whitespaceSharedStyles, (0, _styles.paragraphSharedStyles)(props.typographyTheme), _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, (0, _platformFeatureFlags.fg)('editor_request_to_edit_task') ? null : (0, _react2.css)(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\topacity: 0.7;\n\t\t\t\t}\n\t\t\t"]))), (0, _platformFeatureFlags.fg)('platform_editor_hide_cursor_when_pm_hideselection') ? (0, _react2.css)(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, (0, _experiments.editorExperiment)('platform_editor_advanced_code_blocks', true) ? (0, _react2.css)(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, "var(--ds-border-focused, #8cf)", _styles5.placeholderTextStyles, placeholderStyles, (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? placeholderOverflowStyles : null, (0, _codeBlock.codeBlockStyles)(), (0, _styles2.blocktypeStyles)(props.typographyTheme), (0, _styles.codeMarkSharedStyles)(), _styles.textColorStyles, (0, _styles.backgroundColorStyles)(), listsStyles, ruleStyles(), (0, _media.mediaStyles)(), (0, _layout.layoutStyles)(props.viewMode), _collab.telepointerStyle, _selection.gapCursorStyles, (0, _panel2.panelStyles)(), mentionsStyles, (0, _experiments.editorExperiment)('platform_editor_vanilla_dom', true, {
|
|
159
|
+
}), _styles.whitespaceSharedStyles, (0, _styles.paragraphSharedStyles)(props.typographyTheme), _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, (0, _platformFeatureFlags.fg)('editor_request_to_edit_task') ? null : (0, _react2.css)(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\topacity: 0.7;\n\t\t\t\t}\n\t\t\t"]))), (0, _platformFeatureFlags.fg)('platform_editor_hide_cursor_when_pm_hideselection') ? (0, _react2.css)(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, (0, _experiments.editorExperiment)('platform_editor_advanced_code_blocks', true) ? (0, _react2.css)(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror-hideselection {\n\t\t\t\t\tcaret-color: transparent;\n\t\t\t\t}\n\t\t\t"]))) : null, "var(--ds-border-focused, #8cf)", _styles5.placeholderTextStyles, placeholderStyles, (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? placeholderOverflowStyles : null, (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_3') ? placeholderWrapStyles : null, (0, _codeBlock.codeBlockStyles)(), (0, _styles2.blocktypeStyles)(props.typographyTheme), (0, _styles.codeMarkSharedStyles)(), _styles.textColorStyles, (0, _styles.backgroundColorStyles)(), listsStyles, ruleStyles(), (0, _media.mediaStyles)(), (0, _layout.layoutStyles)(props.viewMode), _collab.telepointerStyle, _selection.gapCursorStyles, (0, _panel2.panelStyles)(), mentionsStyles, (0, _experiments.editorExperiment)('platform_editor_vanilla_dom', true, {
|
|
152
160
|
exposure: false
|
|
153
161
|
}) && vanillaMentionsStyles, (0, _experiments.editorExperiment)('platform_editor_vanilla_dom', true, {
|
|
154
162
|
exposure: false
|
|
155
163
|
}) && vanillaSelectionStyles, (0, _experiments.editorExperiment)('platform_editor_vanilla_dom', true, {
|
|
156
164
|
exposure: false
|
|
157
|
-
}) ? emojiStyles : reactEmojiStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(), _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles,
|
|
165
|
+
}) ? emojiStyles : reactEmojiStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(), _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, (0, _experiments.editorExperiment)('platform_editor_vanilla_dom', true, {
|
|
166
|
+
exposure: false
|
|
167
|
+
}) && _tasksAndDecisions.vanillaTaskDecisionStyles, (0, _experiments.editorExperiment)('platform_editor_vanilla_dom', true, {
|
|
168
|
+
exposure: false
|
|
169
|
+
}) && (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && _tasksAndDecisions.vanillaTaskDecisionIconWithVisualRefresh, (0, _experiments.editorExperiment)('platform_editor_vanilla_dom', true, {
|
|
170
|
+
exposure: false
|
|
171
|
+
}) && !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && _tasksAndDecisions.vanillaTaskDecisionIconWithoutVisualRefresh, _status.statusStyles, (0, _experiments.editorExperiment)('platform_editor_vanilla_dom', true) ? _status.vanillaStatusStyles : null, (0, _styles.annotationSharedStyles)(), (0, _styles.smartCardStyles)(), (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? (0, _styles.getSmartCardSharedStyles)() : _styles.smartCardSharedStyles, (0, _experiments.editorExperiment)('platform_editor_vanilla_dom', true) ? _date.dateVanillaStyles : null, _date.dateStyles, (0, _styles.embedCardStyles)(), _styles.unsupportedStyles, _styles.resizerStyles, (0, _aiPanels.aiPanelStyles)(props.colorMode), fixBlockControlStylesSSR(), _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT, !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? (0, _react2.css)(_templateObject14 || (_templateObject14 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.hyperlink-open-link {\n\t\t\t\t\tmin-width: 24px;\n\t\t\t\t\tsvg {\n\t\t\t\t\t\tmax-width: 18px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t"]))) : null);
|
|
158
172
|
};
|
|
159
173
|
var createEditorContentStyle = exports.createEditorContentStyle = function createEditorContentStyle(styles) {
|
|
160
174
|
return /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
@@ -4,11 +4,131 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.taskDecisionStyles = void 0;
|
|
7
|
+
exports.vanillaTaskDecisionStyles = exports.vanillaTaskDecisionIconWithoutVisualRefresh = exports.vanillaTaskDecisionIconWithVisualRefresh = exports.taskDecisionStyles = void 0;
|
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
11
11
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
12
12
|
var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
13
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
14
|
-
var taskDecisionStyles = exports.taskDecisionStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t[data-decision-wrapper] {\n\t\tcursor: pointer;\n\t}\n\n\t.", " > [data-decision-wrapper],\n\tol[data-node-type='decisionList'].", " {\n\t\tborder-radius: 4px;\n\t\t", "\n\t}\n\n\t.danger {\n\t\t.", ".", " > div {\n\t\t\tbox-shadow: 0 0 0 ", "px\n\t\t\t\t", ";\n\t\t\tbackground-color: ", ";\n\t\t\t&::after {\n\t\t\t\tcontent: none; /* reset the Blanket selection style */\n\t\t\t}\n\t\t}\n\t}\n"])), _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Blanket]), _styles.TaskDecisionSharedCssClassName.DECISION_CONTAINER, _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-blanket-danger, ".concat(_editorSharedStyles.akEditorDeleteBackgroundWithOpacity, ")"));
|
|
14
|
+
var taskDecisionStyles = exports.taskDecisionStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t[data-decision-wrapper] {\n\t\tcursor: pointer;\n\t}\n\n\t.", " > [data-decision-wrapper],\n\tol[data-node-type='decisionList'].", " {\n\t\tborder-radius: 4px;\n\t\t", "\n\t}\n\n\t.danger {\n\t\t.", ".", " > div {\n\t\t\tbox-shadow: 0 0 0 ", "px\n\t\t\t\t", ";\n\t\t\tbackground-color: ", ";\n\t\t\t&::after {\n\t\t\t\tcontent: none; /* reset the Blanket selection style */\n\t\t\t}\n\t\t}\n\t}\n"])), _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Blanket]), _styles.TaskDecisionSharedCssClassName.DECISION_CONTAINER, _editorSharedStyles.akEditorSelectedNodeClassName, _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-blanket-danger, ".concat(_editorSharedStyles.akEditorDeleteBackgroundWithOpacity, ")"));
|
|
15
|
+
|
|
16
|
+
// Combine this with taskDecisionStyles (above) when cleaning up the platform_editor_vanilla_dom experiment.
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
|
+
var vanillaTaskDecisionStyles = exports.vanillaTaskDecisionStyles = (0, _react.css)({
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
20
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"]': {
|
|
21
|
+
listStyleType: 'none'
|
|
22
|
+
},
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
24
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper]': {
|
|
25
|
+
display: 'flex',
|
|
26
|
+
flexDirection: 'row',
|
|
27
|
+
margin: "var(--ds-space-100, 8px)".concat(" 0 0 0"),
|
|
28
|
+
padding: "var(--ds-space-100, 8px)",
|
|
29
|
+
paddingLeft: "var(--ds-space-150, 12px)",
|
|
30
|
+
borderRadius: "var(--ds-border-radius-100, 4px)",
|
|
31
|
+
backgroundColor: "var(--ds-background-neutral, #091E420F)",
|
|
32
|
+
position: 'relative'
|
|
33
|
+
},
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
35
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"]': {
|
|
36
|
+
flex: '0 0 16px',
|
|
37
|
+
height: '16px',
|
|
38
|
+
width: '16px',
|
|
39
|
+
margin: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-150, 12px)", " 0 0"),
|
|
40
|
+
color: "var(--ds-icon-subtle, #626F86)",
|
|
41
|
+
display: 'flex',
|
|
42
|
+
alignItems: 'center',
|
|
43
|
+
justifyContent: 'center'
|
|
44
|
+
},
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
|
|
46
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"]:not(:has([data-empty]):not(:has([data-type-ahead]))) > [data-decision-wrapper] > [data-component="icon"]': {
|
|
47
|
+
color: "var(--ds-icon-success, #22A06B)"
|
|
48
|
+
},
|
|
49
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
50
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"] > span': {
|
|
51
|
+
display: 'inline-block',
|
|
52
|
+
flexShrink: 0,
|
|
53
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography -- Mirroring icon styles
|
|
54
|
+
lineHeight: 1
|
|
55
|
+
},
|
|
56
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
57
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"] > span > svg': {
|
|
58
|
+
overflow: 'hidden',
|
|
59
|
+
pointerEvents: 'none',
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
verticalAlign: 'bottom'
|
|
62
|
+
},
|
|
63
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
64
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="placeholder"]': {
|
|
65
|
+
margin: "0 0 0 calc(".concat("var(--ds-space-100, 8px)", " * 3.5)"),
|
|
66
|
+
position: 'absolute',
|
|
67
|
+
color: "var(--ds-text-subtlest, #626F86)",
|
|
68
|
+
pointerEvents: 'none',
|
|
69
|
+
textOverflow: 'ellipsis',
|
|
70
|
+
overflow: 'hidden',
|
|
71
|
+
whiteSpace: 'nowrap',
|
|
72
|
+
maxWidth: 'calc(100% - 50px)'
|
|
73
|
+
},
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-nested-selectors
|
|
75
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"]:not(:has([data-empty]):not(:has([data-type-ahead]))) > [data-decision-wrapper] > [data-component="placeholder"]': {
|
|
76
|
+
display: 'none'
|
|
77
|
+
},
|
|
78
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
79
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="content"]': {
|
|
80
|
+
margin: 0,
|
|
81
|
+
wordWrap: 'break-word',
|
|
82
|
+
minWidth: 0,
|
|
83
|
+
flex: '1 1 auto'
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
88
|
+
var vanillaTaskDecisionIconWithVisualRefresh = exports.vanillaTaskDecisionIconWithVisualRefresh = (0, _react.css)({
|
|
89
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
90
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"] > span > svg[data-icon-source="legacy"]': {
|
|
91
|
+
display: 'none'
|
|
92
|
+
},
|
|
93
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
94
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"] > span': {
|
|
95
|
+
boxSizing: 'border-box',
|
|
96
|
+
paddingInlineEnd: 'var(--ds--button--new-icon-padding-end, 0)',
|
|
97
|
+
paddingInlineStart: 'var(--ds--button--new-icon-padding-start, 0)',
|
|
98
|
+
'@media screen and (forced-colors: active)': {
|
|
99
|
+
color: 'canvastext',
|
|
100
|
+
filter: 'grayscale(1)'
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
104
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"] > span > svg': {
|
|
105
|
+
width: "var(--ds-space-300, 24px)",
|
|
106
|
+
height: "var(--ds-space-300, 24px)"
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
111
|
+
var vanillaTaskDecisionIconWithoutVisualRefresh = exports.vanillaTaskDecisionIconWithoutVisualRefresh = (0, _react.css)({
|
|
112
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
113
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"] > span > svg[data-icon-source="refreshed"]': {
|
|
114
|
+
display: 'none'
|
|
115
|
+
},
|
|
116
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
117
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"] > span': {
|
|
118
|
+
width: '32px',
|
|
119
|
+
height: '32px',
|
|
120
|
+
'@media screen and (forced-colors: active)': {
|
|
121
|
+
filter: 'grayscale(1)',
|
|
122
|
+
color: 'canvastext',
|
|
123
|
+
fill: 'canvas'
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
127
|
+
'[data-prosemirror-node-view-type="vanilla"][data-prosemirror-node-name="decisionItem"] > [data-decision-wrapper] > [data-component="icon"] > span > svg': {
|
|
128
|
+
maxWidth: '100%',
|
|
129
|
+
maxHeight: '100%',
|
|
130
|
+
fill: "var(--ds-surface, #FFFFFF)",
|
|
131
|
+
width: '32px',
|
|
132
|
+
height: '32px'
|
|
133
|
+
}
|
|
134
|
+
});
|
package/dist/es2019/i18n/sk.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
@@ -6,163 +7,6 @@
|
|
|
6
7
|
*/
|
|
7
8
|
//Slovak
|
|
8
9
|
export default {
|
|
9
|
-
'fabric.editor.
|
|
10
|
-
'fabric.editor.
|
|
11
|
-
'fabric.editor.addAltText': 'Alternatívny text',
|
|
12
|
-
'fabric.editor.alignImageCenter': 'Zarovnať do stredu',
|
|
13
|
-
'fabric.editor.alignImageLeft': 'Zarovnať vľavo',
|
|
14
|
-
'fabric.editor.alignImageRight': 'Zarovnať vpravo',
|
|
15
|
-
'fabric.editor.altText': 'Všetok text',
|
|
16
|
-
'fabric.editor.alttext.validation': 'Vymažte z alternatívneho textu všetky špeciálne znaky.',
|
|
17
|
-
'fabric.editor.annotate': 'Komentovať',
|
|
18
|
-
'fabric.editor.annotationToolbar': 'Panel s nástrojmi poznámok',
|
|
19
|
-
'fabric.editor.backLink': 'Vrátiť sa',
|
|
20
|
-
'fabric.editor.blockCardUnavailable': 'Vnorené prepojenie je v uzle {node} a jeho zobrazenie nemožno zmeniť',
|
|
21
|
-
'fabric.editor.blockquote.description': 'Vložiť citát alebo citáciu',
|
|
22
|
-
'fabric.editor.bold': 'Hrubé',
|
|
23
|
-
'fabric.editor.cancelButton': 'Zrušiť',
|
|
24
|
-
'fabric.editor.cardFloatingControls': 'Možnosti karty',
|
|
25
|
-
'fabric.editor.cellBackground': 'Pozadie buniek',
|
|
26
|
-
'fabric.editor.cellOptions': 'Možnosti bunky',
|
|
27
|
-
'fabric.editor.clearAltTextEdit': 'Vymazať alternatívny text',
|
|
28
|
-
'fabric.editor.clearCells': '{0, plural, one {Vymazať bunku} few {Vymazať bunky} many {Vymazať bunky} other {Vymazať bunky}}',
|
|
29
|
-
'fabric.editor.clearFormatting': 'Vymazať formátovanie',
|
|
30
|
-
'fabric.editor.clearLink': 'Vymazať prepojenie',
|
|
31
|
-
'fabric.editor.clearLinkText': 'Vymazať text',
|
|
32
|
-
'fabric.editor.closeAltTextEdit': 'Späť',
|
|
33
|
-
'fabric.editor.closeFindReplaceDialog': 'Zatvoriť',
|
|
34
|
-
'fabric.editor.closeHelpDialog': 'Zavrieť dialógové okno pomocníka',
|
|
35
|
-
'fabric.editor.code': 'Kód',
|
|
36
|
-
'fabric.editor.codeblock': 'Zlomok kódu',
|
|
37
|
-
'fabric.editor.codeblock.description': 'Zobraziť kód so zvýraznenou syntaxou',
|
|
38
|
-
'fabric.editor.columns': 'Rozloženia',
|
|
39
|
-
'fabric.editor.columns.description': 'Rozdeľte stránku pomocou sekcií',
|
|
40
|
-
'fabric.editor.configPanel.cancel': 'Zrušiť',
|
|
41
|
-
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': '„IsMultiple“ a „style: radio“ nie je možné kombinovať',
|
|
42
|
-
'fabric.editor.configPanel.formType.addField': 'Pridať pole',
|
|
43
|
-
'fabric.editor.configPanel.formType.removeField': 'Odstrániť pole',
|
|
44
|
-
'fabric.editor.configPanel.required': 'Povinné pole',
|
|
45
|
-
'fabric.editor.configPanel.submit': 'Odoslať',
|
|
46
|
-
'fabric.editor.date': 'Dátum',
|
|
47
|
-
'fabric.editor.date.description': 'Pridajte dátum pomocou kalendára',
|
|
48
|
-
'fabric.editor.decision': 'Rozhodnutie',
|
|
49
|
-
'fabric.editor.decision.description': 'Zaznamenajte rozhodnutia, aby sa mohli jednoducho sledovať',
|
|
50
|
-
'fabric.editor.decisionPlaceholder': 'Pridať rozhodnutie...',
|
|
51
|
-
'fabric.editor.displayInline': 'Zobraziť vo vnútri',
|
|
52
|
-
'fabric.editor.displayLink': 'Zobraziť ako text',
|
|
53
|
-
'fabric.editor.displayText': 'Text na zobrazenie',
|
|
54
|
-
'fabric.editor.edit': 'Upraviť',
|
|
55
|
-
'fabric.editor.editAltText': 'Upraviť alternatívny text',
|
|
56
|
-
'fabric.editor.editLink': 'Upraviť prepojenie',
|
|
57
|
-
'fabric.editor.editMode.inviteToEditButton.title': 'Pozvať na úpravu',
|
|
58
|
-
'fabric.editor.editorHelp': 'Pomoc editora',
|
|
59
|
-
'fabric.editor.emoji': 'Zábavný obrázok',
|
|
60
|
-
'fabric.editor.emoji.description': 'Použite emotikony na vyjadrenie nápadov 🎉 a emócií 😄',
|
|
61
|
-
'fabric.editor.error': 'Chyba',
|
|
62
|
-
'fabric.editor.errorPanel': 'Panel chýb',
|
|
63
|
-
'fabric.editor.errorPanel.description': 'Vyvolanie chýb vo farebnom paneli',
|
|
64
|
-
'fabric.editor.expand': 'Rozšírenie',
|
|
65
|
-
'fabric.editor.expand.description': 'Vložiť rozšírenie',
|
|
66
|
-
'fabric.editor.feedbackDialog': 'Poskytnúť spätnú väzbu',
|
|
67
|
-
'fabric.editor.feedbackDialog.description': 'Povedzte nám o svojej skúsenosti s používaním nového editora',
|
|
68
|
-
'fabric.editor.filesAndImages': 'Súbory a obrázky',
|
|
69
|
-
'fabric.editor.filesAndImages.description': 'Pridajte obrázky a ďalšie súbory na stránku',
|
|
70
|
-
'fabric.editor.find': 'Nájsť',
|
|
71
|
-
'fabric.editor.findNext': 'Nájsť ďalší',
|
|
72
|
-
'fabric.editor.findPrevious': 'Nájsť predchádzajúci',
|
|
73
|
-
'fabric.editor.findReplaceToolbarButton': 'Nájsť a nahradiť',
|
|
74
|
-
'fabric.editor.headerColumn': 'Stĺpec záhlavia',
|
|
75
|
-
'fabric.editor.headerRow': 'Riadok záhlavia',
|
|
76
|
-
'fabric.editor.heading1': 'Nadpis 1',
|
|
77
|
-
'fabric.editor.heading1Description': 'Použiť pre nadpis najvyššej úrovne',
|
|
78
|
-
'fabric.editor.heading2': 'Nadpis 2',
|
|
79
|
-
'fabric.editor.heading2Description': 'Použiť pre kľúčové časti',
|
|
80
|
-
'fabric.editor.heading3': 'Nadpis 3',
|
|
81
|
-
'fabric.editor.heading3Description': 'Použiť pre podriadené časti a nadpisy skupín',
|
|
82
|
-
'fabric.editor.heading4': 'Nadpis 4',
|
|
83
|
-
'fabric.editor.heading4Description': 'Použiť pre podnadpisy',
|
|
84
|
-
'fabric.editor.heading5': 'Nadpis 5',
|
|
85
|
-
'fabric.editor.heading5Description': 'Použiť pre zoskupenie položiek zoznamu',
|
|
86
|
-
'fabric.editor.heading6': 'Nadpis 6',
|
|
87
|
-
'fabric.editor.heading6Description': 'Použiť pre nadpisy nízkej úrovne',
|
|
88
|
-
'fabric.editor.help': 'Pomocník',
|
|
89
|
-
'fabric.editor.help.description': 'Preskúmať klávesové skratky a možnosti značenia',
|
|
90
|
-
'fabric.editor.helpDialogTips': 'Stlačením tlačidla {keyMap} rýchlo kedykoľvek otvorte tento dialóg',
|
|
91
|
-
'fabric.editor.horizontalRule': 'Rozdeľovač',
|
|
92
|
-
'fabric.editor.horizontalRule.description': 'Oddeľte obsah vodorovnou čiarou',
|
|
93
|
-
'fabric.editor.image': 'Obrázok',
|
|
94
|
-
'fabric.editor.info': 'Informácie',
|
|
95
|
-
'fabric.editor.infoPanel': 'Informačný panel',
|
|
96
|
-
'fabric.editor.infoPanel.description': 'Zvýrazniť informácie vo farebnom paneli',
|
|
97
|
-
'fabric.editor.insertMenu': 'Vložiť',
|
|
98
|
-
'fabric.editor.italic': 'Kurzíva',
|
|
99
|
-
'fabric.editor.keyboardShortcuts': 'Klávesové skratky',
|
|
100
|
-
'fabric.editor.layoutFixedWidth': 'Späť do centra',
|
|
101
|
-
'fabric.editor.layoutFullWidth': 'Celá šírka',
|
|
102
|
-
'fabric.editor.layoutWide': 'Rozšíriť',
|
|
103
|
-
'fabric.editor.leftSidebar': 'Ľavý bočný panel',
|
|
104
|
-
'fabric.editor.link': 'Prepojenie',
|
|
105
|
-
'fabric.editor.link.description': 'Vložiť prepojenie',
|
|
106
|
-
'fabric.editor.linkAddress': 'Adresa prepojenia',
|
|
107
|
-
'fabric.editor.linkPlaceholder': 'Vložiť prepojenie',
|
|
108
|
-
'fabric.editor.lists': 'Zoznamy',
|
|
109
|
-
'fabric.editor.markdown': 'Vyznačenie',
|
|
110
|
-
'fabric.editor.mediaAddLink': 'Pridať prepojenie',
|
|
111
|
-
'fabric.editor.mention': 'Spomenutie',
|
|
112
|
-
'fabric.editor.mention.description': 'Spomeňte niekoho a pošlite mu oznámenie',
|
|
113
|
-
'fabric.editor.mergeCells': 'Zlúčiť bunky',
|
|
114
|
-
'fabric.editor.moreFormatting': 'Ďalšie formátovanie',
|
|
115
|
-
'fabric.editor.normal': 'Normálny text',
|
|
116
|
-
'fabric.editor.note': 'Poznámka',
|
|
117
|
-
'fabric.editor.notePanel': 'Panel poznámok',
|
|
118
|
-
'fabric.editor.notePanel.description': 'Pridať poznámku do farebného panela',
|
|
119
|
-
'fabric.editor.numberedColumn': 'Číslovaný stĺpec',
|
|
120
|
-
'fabric.editor.orderedList': 'Očíslovaný zoznam',
|
|
121
|
-
'fabric.editor.orderedList.description': 'Vytvoriť zoradený zoznam',
|
|
122
|
-
'fabric.editor.other': 'Iné...',
|
|
123
|
-
'fabric.editor.pastePlainText': 'Vložiť obyčajný text',
|
|
124
|
-
'fabric.editor.placeholderAltText': 'Popísať obrázok alternatívnym textom',
|
|
125
|
-
'fabric.editor.placeholderText': 'Zástupný text',
|
|
126
|
-
'fabric.editor.placeholderTextPlaceholder': 'Pridať zástupný text',
|
|
127
|
-
'fabric.editor.quickInsert': 'Rýchlo vložiť',
|
|
128
|
-
'fabric.editor.redo': 'Vrátiť naspäť',
|
|
129
|
-
'fabric.editor.remove': 'Odstrániť',
|
|
130
|
-
'fabric.editor.replace': 'Nahradiť',
|
|
131
|
-
'fabric.editor.replaceAll': 'Nahradiť všetko',
|
|
132
|
-
'fabric.editor.replaceWith': 'Nahradiť textom',
|
|
133
|
-
'fabric.editor.rightSidebar': 'Pravý bočný panel',
|
|
134
|
-
'fabric.editor.saveButton': 'Uložiť',
|
|
135
|
-
'fabric.editor.selectLanguage': 'Vybrať jazyk',
|
|
136
|
-
'fabric.editor.splitCell': 'Rozdeliť bunky',
|
|
137
|
-
'fabric.editor.status': 'Stav',
|
|
138
|
-
'fabric.editor.status.description': 'Pridať vlastné označenie stavu',
|
|
139
|
-
'fabric.editor.statusPlaceholder': 'Nastaviť stav',
|
|
140
|
-
'fabric.editor.strike': 'Preškrtnúť',
|
|
141
|
-
'fabric.editor.subscript': 'Dolný index',
|
|
142
|
-
'fabric.editor.success': 'Úspech',
|
|
143
|
-
'fabric.editor.successPanel': 'Panel úspechov',
|
|
144
|
-
'fabric.editor.successPanel.description': 'Pridať tipy do farebného panela',
|
|
145
|
-
'fabric.editor.superscript': 'Horný index',
|
|
146
|
-
'fabric.editor.supportAltText': 'Alternatívny text je užitočný pre ľudí so zrakovým postihnutím používajúcich čítačky obrazovky.',
|
|
147
|
-
'fabric.editor.table': 'Tabuľka',
|
|
148
|
-
'fabric.editor.table.description': 'Vložiť tabuľku',
|
|
149
|
-
'fabric.editor.tableOptions': 'Možnosti tabuľky',
|
|
150
|
-
'fabric.editor.taskPlaceholder': 'Napíšte svoju činnosť. Pomocou "@" ju niekomu priraďte.',
|
|
151
|
-
'fabric.editor.textColor': 'Farba textu',
|
|
152
|
-
'fabric.editor.textStyles': 'Štýly textu',
|
|
153
|
-
'fabric.editor.threeColumns': 'Tri stĺpce',
|
|
154
|
-
'fabric.editor.threeColumnsWithSidebars': 'Tri stĺpce s bočnými panelmi',
|
|
155
|
-
'fabric.editor.twoColumns': 'Dva stĺpce',
|
|
156
|
-
'fabric.editor.underline': 'Podčiarknuť',
|
|
157
|
-
'fabric.editor.undo': 'Späť',
|
|
158
|
-
'fabric.editor.unlink': 'Zrušiť prepojenie',
|
|
159
|
-
'fabric.editor.unorderedList': 'Zoznam s odrážkami',
|
|
160
|
-
'fabric.editor.unorderedList.description': 'Vytvoriť nezoradený zoznam',
|
|
161
|
-
'fabric.editor.viewMore': 'Zobraziť ďalšie',
|
|
162
|
-
'fabric.editor.visit': 'Otvoriť prepojenie v novom okne',
|
|
163
|
-
'fabric.editor.warning': 'Varovanie',
|
|
164
|
-
'fabric.editor.warningPanel': 'Panel výstrah',
|
|
165
|
-
'fabric.editor.warningPanel.description': 'Pridať upozornenie do farebného panela',
|
|
166
|
-
'fabric.editor.wrapLeft': 'Zbaliť vľavo',
|
|
167
|
-
'fabric.editor.wrapRight': 'Zbaliť vpravo'
|
|
10
|
+
'fabric.editor.chromeCollapsedPlaceholder': 'None',
|
|
11
|
+
'fabric.editor.headingLink.toolbarHelpTitle': 'None'
|
|
168
12
|
};
|