studiokit-scaffolding-js 7.0.12-next.1.5 → 7.0.12-next.1.7

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/LICENSE +21 -21
  2. package/README.md +137 -137
  3. package/lib/components/ActionList.js +1 -5
  4. package/lib/components/Dropdowns/UserDropdown.js +1 -3
  5. package/lib/components/Groups/CreateEditCopySaveButtons.js +1 -5
  6. package/lib/components/Groups/ExternalGroups/Attach.js +1 -3
  7. package/lib/components/Groups/RosterSyncInfo.js +1 -7
  8. package/lib/components/HOC/SearchPersistorComponent.js +2 -2
  9. package/lib/components/Impersonation/UserDetail.css +22 -22
  10. package/lib/components/Notifications.d.ts +1 -1
  11. package/lib/components/Notifications.js +2 -2
  12. package/lib/components/Quill/ImageDropModule.js +1 -1
  13. package/lib/components/Quill/TableModule/index.css +171 -171
  14. package/lib/css/base/_base.css +98 -98
  15. package/lib/css/base/_typography.css +130 -130
  16. package/lib/css/components/_alert.css +86 -86
  17. package/lib/css/components/_bootstrap-grid.css +28 -28
  18. package/lib/css/components/_buttons.css +397 -397
  19. package/lib/css/components/_forms.css +101 -101
  20. package/lib/css/components/_menu.css +56 -56
  21. package/lib/css/components/_modals.css +46 -46
  22. package/lib/css/components/_quill.css +315 -315
  23. package/lib/css/components/_tables.css +497 -497
  24. package/lib/css/components/_tags.css +12 -12
  25. package/lib/css/index-with-variables.css +15 -15
  26. package/lib/css/index.css +14 -14
  27. package/lib/css/utils/_border.css +463 -463
  28. package/lib/css/utils/_color.css +317 -317
  29. package/lib/css/utils/_display.css +305 -305
  30. package/lib/css/utils/_general.css +48 -48
  31. package/lib/css/utils/_icon.css +16 -16
  32. package/lib/css/utils/_text.css +25 -25
  33. package/lib/css/utils/_width.css +60 -60
  34. package/lib/css/variables.css +84 -84
  35. package/lib/hooks/usePrevious.d.ts +14 -1
  36. package/lib/hooks/usePrevious.js +23 -1
  37. package/lib/utils/fetch.js +9 -7
  38. package/lib/utils/url.d.ts +2 -2
  39. package/package.json +214 -214
@@ -1,315 +1,315 @@
1
- @custom-selector :--quill-typography h1, h2, h3, h4, h5, h6, p, ol, ul, pre, blockquote;
2
- @custom-selector :--quill-plaintext p, ol, ul;
3
-
4
- :root {
5
- --quill-min-height: 10rem;
6
- --quill-max-height: 60vh;
7
- --quill-toolbars-height: 111px;
8
- }
9
-
10
- .quill {
11
- margin-bottom: 15px;
12
- border-bottom-color: var(--color-medium-dark-grey);
13
- }
14
-
15
- /* Loader */
16
-
17
- .quill-loader {
18
- min-height: calc(var(--quill-min-height) + var(--quill-toolbars-height));
19
- max-height: calc(var(--quill-max-height) + var(--quill-toolbars-height));
20
- position: relative;
21
- border: 1px solid var(--color-light-grey);
22
- }
23
-
24
- .quill-loader-inner {
25
- position: absolute;
26
- top: calc(50% - 20px - 1.25rem);
27
- left: calc(50% - 20px);
28
- }
29
-
30
- /* Editor */
31
-
32
- .ql-editor {
33
- background-color: var(--color-white);
34
- min-height: var(--quill-min-height);
35
- max-height: var(--quill-max-height);
36
- overflow: auto;
37
-
38
- & :--quill-typography {
39
- margin-bottom: 0.5rem;
40
- }
41
-
42
- & :--quill-plaintext {
43
- font-size: 1rem;
44
- }
45
- }
46
-
47
- /* Expandable toolbar */
48
-
49
- .more-options {
50
- float: right !important;
51
- padding: 0 0 0 2px !important;
52
- height: 30px !important;
53
-
54
- &.expanded {
55
- background: var(--color-light-grey) !important;
56
- }
57
- }
58
-
59
- .more-options-toolbar {
60
- border-top: 0 solid var(--color-light-grey);
61
- margin: 0;
62
- padding: 0;
63
- height: 0;
64
- transition: border-top linear 0.05s, margin linear 0.3s, padding linear 0.3s, height linear 0.3s, visibility linear 0.5s;
65
-
66
- & .ql-formats {
67
- opacity: 0;
68
- transition: opacity linear 0.3s;
69
- }
70
-
71
- &.expanded {
72
- border-top: 1px solid var(--color-light-grey);
73
- margin: 0.6rem -0.6rem 0;
74
- padding: 0.6rem 0.6rem 0;
75
- height: 36px;
76
-
77
- & .ql-formats {
78
- opacity: 1;
79
- }
80
- }
81
- }
82
-
83
- /* Toolbar */
84
-
85
- .ql-toolbar.ql-snow {
86
- padding: 0.6rem;
87
-
88
- &.disabled-invisible {
89
- padding: 0;
90
- height: 0;
91
- border-bottom: none;
92
- }
93
-
94
- &.read-only {
95
- background-color: var(--color-off-white);
96
- padding-top: 1rem;
97
- }
98
-
99
- &.Inline {
100
- background-color: var(--color-white);
101
- border-style: none;
102
- padding-left: 2px;
103
- padding-top: 1.2rem;
104
- border-top-right-radius: 0.5rem;
105
- border-bottom-right-radius: 0.5rem;
106
-
107
- &.read-only {
108
- background-color: var(--color-off-white);
109
- }
110
- }
111
- }
112
-
113
- .ql-container.ql-snow {
114
- border-top: none;
115
- overflow: visible;
116
- }
117
-
118
- .ql-toolbar.ql-snow .ql-formats {
119
- margin-right: 10px;
120
-
121
- &:last-child {
122
- margin-right: 0;
123
- }
124
- }
125
-
126
- /* Align */
127
-
128
- .ql-align svg {
129
- float: left;
130
- }
131
-
132
- /* Alpha Ordered List */
133
-
134
- .ql-editor ol[data-value="alpha"] > li {
135
- &::before {
136
- content: counter(list-0, lower-alpha) '. ';
137
- }
138
-
139
- &.ql-indent-1::before {
140
- content: counter(list-1, lower-roman) '. ';
141
- }
142
-
143
- &.ql-indent-2::before {
144
- content: counter(list-2, decimal) '. ';
145
- }
146
-
147
- &.ql-indent-3::before {
148
- content: counter(list-3, lower-alpha) '. ';
149
- }
150
-
151
- &.ql-indent-4::before {
152
- content: counter(list-4, lower-roman) '. ';
153
- }
154
-
155
- &.ql-indent-5::before {
156
- content: counter(list-5, decimal) '. ';
157
- }
158
-
159
- &.ql-indent-6::before {
160
- content: counter(list-6, lower-alpha) '. ';
161
- }
162
-
163
- &.ql-indent-7::before {
164
- content: counter(list-7, lower-roman) '. ';
165
- }
166
-
167
- &.ql-indent-8::before {
168
- content: counter(list-8, decimal) '. ';
169
- }
170
- }
171
-
172
- /* Images */
173
-
174
- .ql-snow .ql-editor img {
175
- max-width: 100%;
176
- object-fit: contain;
177
- }
178
-
179
- /* Disabled and Read Only */
180
-
181
- .ql-disabled {
182
- & .ql-editor {
183
- background-color: var(--color-off-white);
184
- }
185
- }
186
-
187
- .blurred-editor {
188
- overflow-y: auto;
189
-
190
- & .ql-editor {
191
- min-height: auto;
192
- max-height: none;
193
- padding: 0;
194
- background-color: var(--color-white);
195
- }
196
-
197
- & .ql-toolbar {
198
- display: none;
199
- }
200
-
201
- & .ql-container.ql-snow {
202
- border: none;
203
- }
204
- }
205
-
206
- /* stylelint-disable no-descending-specificity */
207
- .ql-snow.ql-toolbar,
208
- .ql-snow .ql-toolbar {
209
- /* Hover/Focus/Active overrides */
210
- & button:hover,
211
- & button:focus,
212
- & button.ql-active,
213
- & .ql-picker-label:hover,
214
- & .ql-picker-label:focus,
215
- & .ql-picker-label.ql-active,
216
- & .ql-picker-item:hover,
217
- & .ql-picker-item:focus,
218
- & .ql-picker-item.ql-selected {
219
- color: var(--color-primary) !important;
220
-
221
- & .ql-fill,
222
- & .ql-stroke.ql-fill {
223
- fill: var(--color-primary) !important;
224
- }
225
-
226
- & .ql-stroke {
227
- stroke: var(--color-primary) !important;
228
- }
229
- }
230
-
231
- /* Focus overrides */
232
- & button:focus,
233
- & button.ql-active,
234
- & .ql-picker-label:focus,
235
- & .ql-picker-label.ql-active,
236
- & .ql-picker-item:focus,
237
- & .ql-picker-item.ql-selected {
238
- outline: 2px solid var(--color-primary) !important;
239
- }
240
-
241
- /* Disabled overrides */
242
- & .ql-formula:disabled,
243
- & button:disabled,
244
- & button:hover:disabled,
245
- & button:focus:disabled,
246
- & button.ql-active:disabled {
247
- color: #777 !important;
248
- cursor: default;
249
-
250
- & svg {
251
- cursor: default;
252
- }
253
-
254
- & .ql-fill,
255
- & .ql-stroke.ql-fill {
256
- fill: #777 !important;
257
- cursor: default;
258
- }
259
-
260
- & .ql-stroke {
261
- stroke: #777 !important;
262
- }
263
- }
264
- }
265
-
266
- /* Inline - display with no background */
267
-
268
- .quill.inline {
269
- margin-bottom: 0;
270
-
271
- & .ql-container {
272
- background-color: transparent;
273
- }
274
-
275
- & .ql-editor {
276
- background-color: transparent;
277
- padding: 0.5rem 0;
278
- }
279
-
280
- & p:last-of-type {
281
- margin-bottom: 0;
282
- }
283
- }
284
-
285
- /* Hide line break in otherwise empty paragraph immediately preceded by a list */
286
- .quill.blurred-editor {
287
- & ol ~ p br:only-child,
288
- & ul ~ p br:only-child {
289
- display: none;
290
- }
291
- }
292
-
293
- .quill:focus-within {
294
- border-color: #80bdff;
295
- box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
296
- transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
297
- position: relative;
298
- z-index: 1;
299
-
300
- & .ql-container.ql-snow {
301
- border-color: #80bdff;
302
- transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
303
- }
304
- }
305
-
306
- .error {
307
- & .quill:focus-within {
308
- border-color: var(--color-red);
309
- box-shadow: 0 0 0 0.2rem rgb(220 53 69 / 25%);
310
-
311
- & .ql-container.ql-snow {
312
- border-color: var(--color-red);
313
- }
314
- }
315
- }
1
+ @custom-selector :--quill-typography h1, h2, h3, h4, h5, h6, p, ol, ul, pre, blockquote;
2
+ @custom-selector :--quill-plaintext p, ol, ul;
3
+
4
+ :root {
5
+ --quill-min-height: 10rem;
6
+ --quill-max-height: 60vh;
7
+ --quill-toolbars-height: 111px;
8
+ }
9
+
10
+ .quill {
11
+ margin-bottom: 15px;
12
+ border-bottom-color: var(--color-medium-dark-grey);
13
+ }
14
+
15
+ /* Loader */
16
+
17
+ .quill-loader {
18
+ min-height: calc(var(--quill-min-height) + var(--quill-toolbars-height));
19
+ max-height: calc(var(--quill-max-height) + var(--quill-toolbars-height));
20
+ position: relative;
21
+ border: 1px solid var(--color-light-grey);
22
+ }
23
+
24
+ .quill-loader-inner {
25
+ position: absolute;
26
+ top: calc(50% - 20px - 1.25rem);
27
+ left: calc(50% - 20px);
28
+ }
29
+
30
+ /* Editor */
31
+
32
+ .ql-editor {
33
+ background-color: var(--color-white);
34
+ min-height: var(--quill-min-height);
35
+ max-height: var(--quill-max-height);
36
+ overflow: auto;
37
+
38
+ & :--quill-typography {
39
+ margin-bottom: 0.5rem;
40
+ }
41
+
42
+ & :--quill-plaintext {
43
+ font-size: 1rem;
44
+ }
45
+ }
46
+
47
+ /* Expandable toolbar */
48
+
49
+ .more-options {
50
+ float: right !important;
51
+ padding: 0 0 0 2px !important;
52
+ height: 30px !important;
53
+
54
+ &.expanded {
55
+ background: var(--color-light-grey) !important;
56
+ }
57
+ }
58
+
59
+ .more-options-toolbar {
60
+ border-top: 0 solid var(--color-light-grey);
61
+ margin: 0;
62
+ padding: 0;
63
+ height: 0;
64
+ transition: border-top linear 0.05s, margin linear 0.3s, padding linear 0.3s, height linear 0.3s, visibility linear 0.5s;
65
+
66
+ & .ql-formats {
67
+ opacity: 0;
68
+ transition: opacity linear 0.3s;
69
+ }
70
+
71
+ &.expanded {
72
+ border-top: 1px solid var(--color-light-grey);
73
+ margin: 0.6rem -0.6rem 0;
74
+ padding: 0.6rem 0.6rem 0;
75
+ height: 36px;
76
+
77
+ & .ql-formats {
78
+ opacity: 1;
79
+ }
80
+ }
81
+ }
82
+
83
+ /* Toolbar */
84
+
85
+ .ql-toolbar.ql-snow {
86
+ padding: 0.6rem;
87
+
88
+ &.disabled-invisible {
89
+ padding: 0;
90
+ height: 0;
91
+ border-bottom: none;
92
+ }
93
+
94
+ &.read-only {
95
+ background-color: var(--color-off-white);
96
+ padding-top: 1rem;
97
+ }
98
+
99
+ &.Inline {
100
+ background-color: var(--color-white);
101
+ border-style: none;
102
+ padding-left: 2px;
103
+ padding-top: 1.2rem;
104
+ border-top-right-radius: 0.5rem;
105
+ border-bottom-right-radius: 0.5rem;
106
+
107
+ &.read-only {
108
+ background-color: var(--color-off-white);
109
+ }
110
+ }
111
+ }
112
+
113
+ .ql-container.ql-snow {
114
+ border-top: none;
115
+ overflow: visible;
116
+ }
117
+
118
+ .ql-toolbar.ql-snow .ql-formats {
119
+ margin-right: 10px;
120
+
121
+ &:last-child {
122
+ margin-right: 0;
123
+ }
124
+ }
125
+
126
+ /* Align */
127
+
128
+ .ql-align svg {
129
+ float: left;
130
+ }
131
+
132
+ /* Alpha Ordered List */
133
+
134
+ .ql-editor ol[data-value="alpha"] > li {
135
+ &::before {
136
+ content: counter(list-0, lower-alpha) '. ';
137
+ }
138
+
139
+ &.ql-indent-1::before {
140
+ content: counter(list-1, lower-roman) '. ';
141
+ }
142
+
143
+ &.ql-indent-2::before {
144
+ content: counter(list-2, decimal) '. ';
145
+ }
146
+
147
+ &.ql-indent-3::before {
148
+ content: counter(list-3, lower-alpha) '. ';
149
+ }
150
+
151
+ &.ql-indent-4::before {
152
+ content: counter(list-4, lower-roman) '. ';
153
+ }
154
+
155
+ &.ql-indent-5::before {
156
+ content: counter(list-5, decimal) '. ';
157
+ }
158
+
159
+ &.ql-indent-6::before {
160
+ content: counter(list-6, lower-alpha) '. ';
161
+ }
162
+
163
+ &.ql-indent-7::before {
164
+ content: counter(list-7, lower-roman) '. ';
165
+ }
166
+
167
+ &.ql-indent-8::before {
168
+ content: counter(list-8, decimal) '. ';
169
+ }
170
+ }
171
+
172
+ /* Images */
173
+
174
+ .ql-snow .ql-editor img {
175
+ max-width: 100%;
176
+ object-fit: contain;
177
+ }
178
+
179
+ /* Disabled and Read Only */
180
+
181
+ .ql-disabled {
182
+ & .ql-editor {
183
+ background-color: var(--color-off-white);
184
+ }
185
+ }
186
+
187
+ .blurred-editor {
188
+ overflow-y: auto;
189
+
190
+ & .ql-editor {
191
+ min-height: auto;
192
+ max-height: none;
193
+ padding: 0;
194
+ background-color: var(--color-white);
195
+ }
196
+
197
+ & .ql-toolbar {
198
+ display: none;
199
+ }
200
+
201
+ & .ql-container.ql-snow {
202
+ border: none;
203
+ }
204
+ }
205
+
206
+ /* stylelint-disable no-descending-specificity */
207
+ .ql-snow.ql-toolbar,
208
+ .ql-snow .ql-toolbar {
209
+ /* Hover/Focus/Active overrides */
210
+ & button:hover,
211
+ & button:focus,
212
+ & button.ql-active,
213
+ & .ql-picker-label:hover,
214
+ & .ql-picker-label:focus,
215
+ & .ql-picker-label.ql-active,
216
+ & .ql-picker-item:hover,
217
+ & .ql-picker-item:focus,
218
+ & .ql-picker-item.ql-selected {
219
+ color: var(--color-primary) !important;
220
+
221
+ & .ql-fill,
222
+ & .ql-stroke.ql-fill {
223
+ fill: var(--color-primary) !important;
224
+ }
225
+
226
+ & .ql-stroke {
227
+ stroke: var(--color-primary) !important;
228
+ }
229
+ }
230
+
231
+ /* Focus overrides */
232
+ & button:focus,
233
+ & button.ql-active,
234
+ & .ql-picker-label:focus,
235
+ & .ql-picker-label.ql-active,
236
+ & .ql-picker-item:focus,
237
+ & .ql-picker-item.ql-selected {
238
+ outline: 2px solid var(--color-primary) !important;
239
+ }
240
+
241
+ /* Disabled overrides */
242
+ & .ql-formula:disabled,
243
+ & button:disabled,
244
+ & button:hover:disabled,
245
+ & button:focus:disabled,
246
+ & button.ql-active:disabled {
247
+ color: #777 !important;
248
+ cursor: default;
249
+
250
+ & svg {
251
+ cursor: default;
252
+ }
253
+
254
+ & .ql-fill,
255
+ & .ql-stroke.ql-fill {
256
+ fill: #777 !important;
257
+ cursor: default;
258
+ }
259
+
260
+ & .ql-stroke {
261
+ stroke: #777 !important;
262
+ }
263
+ }
264
+ }
265
+
266
+ /* Inline - display with no background */
267
+
268
+ .quill.inline {
269
+ margin-bottom: 0;
270
+
271
+ & .ql-container {
272
+ background-color: transparent;
273
+ }
274
+
275
+ & .ql-editor {
276
+ background-color: transparent;
277
+ padding: 0.5rem 0;
278
+ }
279
+
280
+ & p:last-of-type {
281
+ margin-bottom: 0;
282
+ }
283
+ }
284
+
285
+ /* Hide line break in otherwise empty paragraph immediately preceded by a list */
286
+ .quill.blurred-editor {
287
+ & ol ~ p br:only-child,
288
+ & ul ~ p br:only-child {
289
+ display: none;
290
+ }
291
+ }
292
+
293
+ .quill:focus-within {
294
+ border-color: #80bdff;
295
+ box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
296
+ transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
297
+ position: relative;
298
+ z-index: 1;
299
+
300
+ & .ql-container.ql-snow {
301
+ border-color: #80bdff;
302
+ transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
303
+ }
304
+ }
305
+
306
+ .error {
307
+ & .quill:focus-within {
308
+ border-color: var(--color-red);
309
+ box-shadow: 0 0 0 0.2rem rgb(220 53 69 / 25%);
310
+
311
+ & .ql-container.ql-snow {
312
+ border-color: var(--color-red);
313
+ }
314
+ }
315
+ }