@ckeditor/ckeditor5-table 0.0.0-nightly-20251125.0 → 0.0.0-nightly-20251126.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 (37) hide show
  1. package/build/table.js +1 -1
  2. package/dist/index-content.css +30 -1
  3. package/dist/index-editor.css +181 -88
  4. package/dist/index.css +300 -158
  5. package/dist/index.css.map +1 -1
  6. package/dist/index.js +12442 -9941
  7. package/dist/index.js.map +1 -1
  8. package/lang/contexts.json +6 -0
  9. package/package.json +9 -9
  10. package/src/augmentation.d.ts +7 -0
  11. package/src/converters/downcast.d.ts +26 -1
  12. package/src/converters/downcast.js +129 -3
  13. package/src/converters/tableproperties.d.ts +43 -1
  14. package/src/converters/tableproperties.js +186 -0
  15. package/src/converters/upcasttable.js +2 -11
  16. package/src/index.d.ts +5 -1
  17. package/src/index.js +5 -0
  18. package/src/plaintableoutput.js +0 -91
  19. package/src/tablecellproperties/tablecellpropertiesuiexperimental.d.ts +128 -0
  20. package/src/tablecellproperties/tablecellpropertiesuiexperimental.js +386 -0
  21. package/src/tablecellproperties/ui/tablecellpropertiesviewexperimental.d.ts +237 -0
  22. package/src/tablecellproperties/ui/tablecellpropertiesviewexperimental.js +633 -0
  23. package/src/tableconfig.d.ts +187 -10
  24. package/src/tableediting.d.ts +5 -0
  25. package/src/tableediting.js +28 -1
  26. package/src/tableproperties/tablepropertiesediting.js +250 -5
  27. package/src/tableproperties/tablepropertiesuiexperimental.d.ts +136 -0
  28. package/src/tableproperties/tablepropertiesuiexperimental.js +375 -0
  29. package/src/tableproperties/ui/tablepropertiesviewexperimental.d.ts +216 -0
  30. package/src/tableproperties/ui/tablepropertiesviewexperimental.js +544 -0
  31. package/src/utils/structure.d.ts +5 -1
  32. package/src/utils/structure.js +10 -0
  33. package/src/utils/ui/table-propertiesexperimental.d.ts +215 -0
  34. package/src/utils/ui/table-propertiesexperimental.js +391 -0
  35. package/theme/formrow-experimental.css +15 -0
  36. package/theme/tableform-experimental.css +61 -0
  37. package/theme/tableproperties-experimental.css +78 -0
@@ -0,0 +1,78 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+
6
+ :root {
7
+ --ck-content-table-style-spacing: 1.5em;
8
+ }
9
+
10
+ .ck.ck-table-properties-form {
11
+ & .ck-form__row {
12
+ &.ck-table-properties-form__alignment-row {
13
+ flex-wrap: wrap;
14
+ flex-basis: 0;
15
+ align-content: baseline;
16
+
17
+ & .ck.ck-toolbar .ck-toolbar__items {
18
+ flex-wrap: nowrap;
19
+ }
20
+ }
21
+ }
22
+ }
23
+
24
+ .ck-content {
25
+ & .table {
26
+ &.table-style-align-left {
27
+ float: left;
28
+ margin-right: var(--ck-content-table-style-spacing);
29
+ }
30
+
31
+ &.table-style-align-right {
32
+ float: right;
33
+ margin-left: var(--ck-content-table-style-spacing);
34
+ }
35
+
36
+ &.table-style-align-center {
37
+ margin-left: auto;
38
+ margin-right: auto;
39
+ }
40
+
41
+ &.table-style-block-align-left {
42
+ margin-left: 0;
43
+ margin-right: auto;
44
+ }
45
+
46
+ &.table-style-block-align-right {
47
+ margin-left: auto;
48
+ margin-right: 0;
49
+ }
50
+ }
51
+ }
52
+
53
+ .ck-editor__editable {
54
+ & .table.layout-table {
55
+ &.table-style-align-center {
56
+ margin-left: auto;
57
+ margin-right: auto;
58
+ }
59
+
60
+ &.table-style-align-left {
61
+ margin-right: var(--ck-content-table-style-spacing);
62
+ }
63
+
64
+ &.table-style-align-right {
65
+ margin-left: var(--ck-content-table-style-spacing);
66
+ }
67
+
68
+ &.table-style-block-align-left {
69
+ margin-left: 0;
70
+ margin-right: auto;
71
+ }
72
+
73
+ &.table-style-block-align-right {
74
+ margin-left: auto;
75
+ margin-right: 0;
76
+ }
77
+ }
78
+ }