@oneblink/apps-react 8.13.1-beta.2 → 8.13.1

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.
@@ -5,7 +5,122 @@
5
5
  .ob-quill-content.content .ql-list-no-margin {
6
6
  margin-top: 0;
7
7
  margin-bottom: 0;
8
- }
8
+ // to match indent of legacy lists.
9
+ margin-left: 2.9rem;
10
+ }
11
+
12
+ /* Sub list 4 levels deep */
13
+ .ob-quill-content
14
+ ol.ql-list-no-margin
15
+ > li
16
+ > ol.ql-list-no-margin
17
+ > li
18
+ > ol.ql-list-no-margin
19
+ > li
20
+ > ol.ql-list-no-margin
21
+ > li,
22
+ /* Sub list 7 levels deep */
23
+ .ob-quill-content
24
+ ol.ql-list-no-margin
25
+ > li
26
+ > ol.ql-list-no-margin
27
+ > li
28
+ > ol.ql-list-no-margin
29
+ > li
30
+ > ol.ql-list-no-margin
31
+ > li
32
+ > ol.ql-list-no-margin
33
+ > li
34
+ > ol.ql-list-no-margin
35
+ > li
36
+ > ol.ql-list-no-margin
37
+ > li {
38
+ list-style: decimal;
39
+ }
40
+
41
+ /* Sub list 2 levels deep */
42
+ .ob-quill-content ol.ql-list-no-margin > li > ol.ql-list-no-margin > li,
43
+ /* Sub list 5 levels deep */
44
+ .ob-quill-content
45
+ ol.ql-list-no-margin
46
+ > li
47
+ > ol.ql-list-no-margin
48
+ > li
49
+ > ol.ql-list-no-margin
50
+ > li
51
+ > ol.ql-list-no-margin
52
+ > li
53
+ > ol.ql-list-no-margin
54
+ > li,
55
+ /* Sub list 8 levels deep */
56
+ .ob-quill-content
57
+ ol.ql-list-no-margin
58
+ > li
59
+ > ol.ql-list-no-margin
60
+ > li
61
+ > ol.ql-list-no-margin
62
+ > li
63
+ > ol.ql-list-no-margin
64
+ > li
65
+ > ol.ql-list-no-margin
66
+ > li
67
+ > ol.ql-list-no-margin
68
+ > li
69
+ > ol.ql-list-no-margin
70
+ > li
71
+ > ol.ql-list-no-margin
72
+ > li {
73
+ list-style: lower-alpha;
74
+ }
75
+
76
+ /* Sub list 3 levels deep */
77
+ .ob-quill-content
78
+ ol.ql-list-no-margin
79
+ > li
80
+ > ol.ql-list-no-margin
81
+ > li
82
+ > ol.ql-list-no-margin
83
+ > li,
84
+ /* Sub list 6 levels deep */
85
+ .ob-quill-content
86
+ ol.ql-list-no-margin
87
+ > li
88
+ > ol.ql-list-no-margin
89
+ > li
90
+ > ol.ql-list-no-margin
91
+ > li
92
+ > ol.ql-list-no-margin
93
+ > li
94
+ > ol.ql-list-no-margin
95
+ > li
96
+ > ol.ql-list-no-margin
97
+ > li,
98
+ /* The Quill editor does not allow more than 9 levels of nested lists
99
+ so we are safe to stop here for lists created with Quill */
100
+ .ob-quill-content
101
+ ol.ql-list-no-margin
102
+ > li
103
+ > ol.ql-list-no-margin
104
+ > li
105
+ > ol.ql-list-no-margin
106
+ > li
107
+ > ol.ql-list-no-margin
108
+ > li
109
+ > ol.ql-list-no-margin
110
+ > li
111
+ > ol.ql-list-no-margin
112
+ > li
113
+ > ol.ql-list-no-margin
114
+ > li
115
+ > ol.ql-list-no-margin
116
+ > li
117
+ > ol.ql-list-no-margin
118
+ > li {
119
+ list-style: lower-roman;
120
+ }
121
+
122
+ /* Legacy lists */
123
+
9
124
  .ob-quill-legacy-content p,
10
125
  .ob-quill-legacy-content ol,
11
126
  .ob-quill-legacy-content ul,
@@ -96,6 +211,7 @@
96
211
  .ob-quill-legacy-content ol li.ql-indent-2:before {
97
212
  content: counter(list-2, lower-roman) '. ';
98
213
  }
214
+
99
215
  .ob-quill-legacy-content ol li.ql-indent-2 {
100
216
  counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
101
217
  }
@@ -105,6 +221,7 @@
105
221
  .ob-quill-legacy-content ol li.ql-indent-3:before {
106
222
  content: counter(list-3, decimal) '. ';
107
223
  }
224
+
108
225
  .ob-quill-legacy-content ol li.ql-indent-3 {
109
226
  counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
110
227
  }
@@ -114,6 +231,7 @@
114
231
  .ob-quill-legacy-content ol li.ql-indent-4:before {
115
232
  content: counter(list-4, lower-alpha) '. ';
116
233
  }
234
+
117
235
  .ob-quill-legacy-content ol li.ql-indent-4 {
118
236
  counter-reset: list-5 list-6 list-7 list-8 list-9;
119
237
  }
@@ -132,6 +250,7 @@
132
250
  .ob-quill-legacy-content ol li.ql-indent-6:before {
133
251
  content: counter(list-6, decimal) '. ';
134
252
  }
253
+
135
254
  .ob-quill-legacy-content ol li.ql-indent-6 {
136
255
  counter-reset: list-7 list-8 list-9;
137
256
  }
@@ -141,6 +260,7 @@
141
260
  .ob-quill-legacy-content ol li.ql-indent-7:before {
142
261
  content: counter(list-7, lower-alpha) '. ';
143
262
  }
263
+
144
264
  .ob-quill-legacy-content ol li.ql-indent-7 {
145
265
  counter-reset: list-8 list-9;
146
266
  }
@@ -150,6 +270,7 @@
150
270
  .ob-quill-legacy-content ol li.ql-indent-8:before {
151
271
  content: counter(list-8, lower-roman) '. ';
152
272
  }
273
+
153
274
  .ob-quill-legacy-content ol li.ql-indent-8 {
154
275
  counter-reset: list-9;
155
276
  }
package/dist/styles.css CHANGED
@@ -8470,8 +8470,30 @@ button on-loading {
8470
8470
  .ob-quill-content.content .ql-list-no-margin {
8471
8471
  margin-top: 0;
8472
8472
  margin-bottom: 0;
8473
+ margin-left: 2.9rem;
8473
8474
  }
8474
8475
 
8476
+ /* Sub list 4 levels deep */
8477
+ .ob-quill-content ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li,
8478
+ .ob-quill-content ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li {
8479
+ list-style: decimal;
8480
+ }
8481
+
8482
+ /* Sub list 2 levels deep */
8483
+ .ob-quill-content ol.ql-list-no-margin > li > ol.ql-list-no-margin > li,
8484
+ .ob-quill-content ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li,
8485
+ .ob-quill-content ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li {
8486
+ list-style: lower-alpha;
8487
+ }
8488
+
8489
+ /* Sub list 3 levels deep */
8490
+ .ob-quill-content ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li,
8491
+ .ob-quill-content ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li,
8492
+ .ob-quill-content ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li > ol.ql-list-no-margin > li {
8493
+ list-style: lower-roman;
8494
+ }
8495
+
8496
+ /* Legacy lists */
8475
8497
  .ob-quill-legacy-content p,
8476
8498
  .ob-quill-legacy-content ol,
8477
8499
  .ob-quill-legacy-content ul,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oneblink/apps-react",
3
3
  "description": "Helper functions for OneBlink apps in ReactJS.",
4
- "version": "8.13.1-beta.2",
4
+ "version": "8.13.1",
5
5
  "author": "OneBlink <developers@oneblink.io> (https://oneblink.io)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/oneblink/apps-react/issues"