fit-ui 2.5.4 → 2.6.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 (39) hide show
  1. package/dist/Documentation.html +3 -3
  2. package/dist/Fit.UI.css +102 -6
  3. package/dist/Fit.UI.js +986 -132
  4. package/dist/Fit.UI.min.css +1 -1
  5. package/dist/Fit.UI.min.js +1 -1
  6. package/dist/Resources/CKEditor/CHANGES.md +107 -0
  7. package/dist/Resources/CKEditor/LICENSE.md +1 -0
  8. package/dist/Resources/CKEditor/build-config.js +7 -3
  9. package/dist/Resources/CKEditor/ckeditor.js +638 -538
  10. package/dist/Resources/CKEditor/contents.css +208 -208
  11. package/dist/Resources/CKEditor/index.html +8 -0
  12. package/dist/Resources/CKEditor/lang/da.js +2 -2
  13. package/dist/Resources/CKEditor/lang/de.js +2 -2
  14. package/dist/Resources/CKEditor/lang/en.js +2 -2
  15. package/dist/Resources/CKEditor/plugins/autocomplete/skins/default.css +38 -0
  16. package/dist/Resources/CKEditor/plugins/base64image/dialogs/base64image.js +38 -33
  17. package/dist/Resources/CKEditor/plugins/base64image/plugin.js +1 -1
  18. package/dist/Resources/CKEditor/plugins/emoji/assets/iconsall.png +0 -0
  19. package/dist/Resources/CKEditor/plugins/emoji/assets/iconsall.svg +58 -0
  20. package/dist/Resources/CKEditor/plugins/emoji/emoji.json +1 -0
  21. package/dist/Resources/CKEditor/plugins/emoji/skins/default.css +237 -0
  22. package/dist/Resources/CKEditor/plugins/icons.png +0 -0
  23. package/dist/Resources/CKEditor/plugins/icons_hidpi.png +0 -0
  24. package/dist/Resources/CKEditor/plugins/link/dialogs/anchor.js +4 -4
  25. package/dist/Resources/CKEditor/skins/moono-lisa/dialog.css +5 -5
  26. package/dist/Resources/CKEditor/skins/moono-lisa/dialog_ie.css +5 -5
  27. package/dist/Resources/CKEditor/skins/moono-lisa/dialog_ie8.css +5 -5
  28. package/dist/Resources/CKEditor/skins/moono-lisa/dialog_iequirks.css +5 -5
  29. package/dist/Resources/CKEditor/skins/moono-lisa/editor.css +1 -1
  30. package/dist/Resources/CKEditor/skins/moono-lisa/editor_gecko.css +1 -1
  31. package/dist/Resources/CKEditor/skins/moono-lisa/editor_ie.css +1 -1
  32. package/dist/Resources/CKEditor/skins/moono-lisa/editor_ie8.css +1 -1
  33. package/dist/Resources/CKEditor/skins/moono-lisa/editor_iequirks.css +1 -1
  34. package/dist/Resources/CKEditor/skins/moono-lisa/icons.png +0 -0
  35. package/dist/Resources/CKEditor/skins/moono-lisa/icons_hidpi.png +0 -0
  36. package/dist/Resources/CKEditor/styles.js +137 -137
  37. package/package.json +1 -1
  38. package/types/index.d.ts +417 -38
  39. package/dist/Resources/CKEditor/plugins/resize/plugin.js +0 -187
package/dist/Fit.UI.css CHANGED
@@ -7,12 +7,14 @@ Stacking context, Z-index:
7
7
  - Dialog : 1200
8
8
  - Modal BG layer : 1200
9
9
  - Context menu : 1300 (mounted in <body>)
10
- - Calendar : 1300 (mounted in <body>, re-mounted next to control)
11
- - Dragging : 99999
10
+ - Calendar : 1300 (mounted in <body>, might be re-mounted next to control) - changed to 2000000 in DatePicker.css if html[data-fitui-companion="fluent-ui"]
11
+ - Dragging : 10000 (incremented by 1 every time draggable is being dragged)
12
12
  - CKEditor
13
- - Dialogs : 10010 (mounted in <body>, re-mounted next to control)
14
- - Image resize handlers : 10001 (mounted in <body>)
15
-
13
+ - Tags context menu : 9997 (mounted in <body>, might be re-mounted next to control) - changed to 2000000 in Input.css if html[data-fitui-companion="fluent-ui"]
14
+ - Image resize handlers : 9999 (mounted in <body>) - changed to 2000000 in Input.css if html[data-fitui-companion="fluent-ui"]
15
+ - Emoji panel : 10001 (mounted in <body>) - changed to 2000000 in Input.css if html[data-fitui-companion="fluent-ui"]
16
+ - Dialogs : 10010 (mounted in <body>, might be re-mounted next to control) - changed to 2000020 in Input.css (+10 compared to modal BG layer) if html[data-fitui-companion="fluent-ui"]
17
+ - Modal BG layer : 10000 (mounted in <body>) - changed to 2000010 in Input.css (+10 compared to image resize handlers) if html[data-fitui-companion="fluent-ui"]
16
18
  */
17
19
 
18
20
  .FitUiStyleCheck
@@ -3230,6 +3232,14 @@ div.fitui-datepicker
3230
3232
  z-index: 1300 !important; /* Using !important to override inline style */
3231
3233
  }
3232
3234
 
3235
+ /* Fluent UI compatibility */
3236
+ html[data-fitui-companion="fluent-ui"] div.fitui-datepicker
3237
+ {
3238
+ /* Calendar widget is mounted in document root - make sure it stays on top
3239
+ of everything else in Fluent UI which use very aggressive z-index values. */
3240
+ z-index: 2000000 !important; /* Using !important to override inline style */
3241
+ }
3242
+
3233
3243
  td.fitui-datepicker-week-col
3234
3244
  {
3235
3245
  font-weight: bold;
@@ -4049,6 +4059,12 @@ table.cke_dialog_contents label:empty
4049
4059
  overflow: auto !important; /* Using !mportant since CKEditor styles load on demand after Fit.UI styles */
4050
4060
  }
4051
4061
 
4062
+ /* Reduce z-index for image resize handlers to allow modal image dialog background layer to stay on top */
4063
+ div#ckimgrsz
4064
+ {
4065
+ z-index: 9999; /* Defaults to 10001 but modal dialog background layer has z-index 10000 */
4066
+ }
4067
+
4052
4068
  /* CKEditor - bootstrapck skin overrides */
4053
4069
 
4054
4070
  /* Override: The bootstrapck skin define margins for content
@@ -4077,8 +4093,10 @@ div.FitUiControlInput[data-resizable="disabled"] .cke_chrome[data-skin="bootstra
4077
4093
  padding: 0px 3px 3px 3px;
4078
4094
  }
4079
4095
 
4096
+ /* CKEditor - bottom panel, resize handler, and information panel */
4097
+
4080
4098
  /* Optimize how resize handler looks in modern browsers */
4081
- @supports not (-ms-high-contrast: none)
4099
+ @supports (font-kerning: normal) /* Exclude legacy browsers (IE, Edge 12-18, etc.) by detecting support for modern feature */
4082
4100
  {
4083
4101
  div.cke span.cke_bottom
4084
4102
  {
@@ -4100,7 +4118,85 @@ div.FitUiControlInput[data-resizable="disabled"] .cke_chrome[data-skin="bootstra
4100
4118
  }
4101
4119
  }
4102
4120
 
4121
+ /* Editor information panel at the bottom of editor (moono-lisa skin) */
4122
+ div.cke[data-skin="moono-lisa"] div.FitUiControlInputInfoPanel
4123
+ {
4124
+ background-color: #F8F8F8;
4125
+ border-top: 1px solid #D1D1D1;
4126
+ font-size: 0.8em;
4127
+ padding-top: 0.2em;
4128
+ padding-bottom: 0.2em;
4129
+ color: #585858;
4130
+ }
4131
+ /* Visually merge bottom panel with information panel (moono-lisa skin) */
4132
+ @supports (font-kerning: normal) /* Exclude legacy browsers (IE, Edge 12-18, etc.) by detecting support for modern feature */
4133
+ {
4134
+ div.cke[data-skin="moono-lisa"] div.FitUiControlInputInfoPanel + span.cke_bottom
4135
+ {
4136
+ padding: 0px;
4137
+ border: none;
4138
+ }
4103
4139
 
4140
+ div.cke[data-skin="moono-lisa"] div.FitUiControlInputInfoPanel + span.cke_bottom > span.cke_resizer
4141
+ {
4142
+ top: -9px;
4143
+ }
4144
+ }
4145
+
4146
+ /* Editor information panel at the bottom of editor (bootstrapck skin) */
4147
+ div.cke[data-skin="bootstrapck"] div.FitUiControlInputInfoPanel
4148
+ {
4149
+ background-color: #EEEEEE;
4150
+ font-size: 0.8em;
4151
+ padding-top: 0.2em;
4152
+ color: #585858;
4153
+ }
4154
+
4155
+ /* CKEditor - tags/mentions support */
4156
+
4157
+ div.cke a[data-tag-id]
4158
+ {
4159
+ background-color: #F5FbFF;
4160
+ border: 0.065em solid #C6dAE1;
4161
+ border-radius: 0.2em;
4162
+ text-decoration: none;
4163
+ font-size: 0.95em;
4164
+ color: blue;
4165
+ cursor: default;
4166
+ }
4167
+
4168
+ /* Fluent UI compatibility */
4169
+
4170
+ /* The following elements are mounted in document root - make sure they stay on
4171
+ top of everything else in Fluent UI which use very aggressive z-index values. */
4172
+
4173
+ /* Image resize handlers */
4174
+ html[data-fitui-companion="fluent-ui"] div#ckimgrsz
4175
+ {
4176
+ z-index: 2000000;
4177
+ }
4178
+
4179
+ /* Tags/mentions/autocomplete context menu */
4180
+ html[data-fitui-companion="fluent-ui"] ul.cke_autocomplete_panel
4181
+ {
4182
+ z-index: 2000000 !important; /* Using !important to override inline style */
4183
+ }
4184
+
4185
+ /* Panels such as the toolbar's emoji panel/callout */
4186
+ html[data-fitui-companion="fluent-ui"] div.cke_panel
4187
+ {
4188
+ z-index: 2000000 !important; /* Using !important to override inline style */
4189
+ }
4190
+
4191
+ /* Dialogs (e.g. link and image dialogs) */
4192
+ html[data-fitui-companion="fluent-ui"] div.cke_dialog_background_cover
4193
+ {
4194
+ z-index: 2000010 !important; /* Using !important to override inline style */
4195
+ }
4196
+ html[data-fitui-companion="fluent-ui"] div.cke_dialog_container
4197
+ {
4198
+ z-index: 2000020 !important; /* Using !important to override inline style */
4199
+ }
4104
4200
  div.FitUiControlListView
4105
4201
  {
4106
4202
  overflow-y: auto;