@examind/block-editor 0.1.29 → 0.1.31

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 (4) hide show
  1. package/dist/index.css +55 -17
  2. package/dist/index.js +3099 -2752
  3. package/dist/index.mjs +2484 -2112
  4. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -279,6 +279,7 @@
279
279
  top: var(--sl-spacing-medium);
280
280
  width: 0;
281
281
  height: 100%;
282
+ transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out;
282
283
  }
283
284
  nav.disabled {
284
285
  display: none;
@@ -289,8 +290,8 @@
289
290
  }
290
291
  nav.hidden {
291
292
  opacity: 1;
292
- width: auto;
293
293
  height: 50px;
294
+ width: 50px;
294
295
  }
295
296
  main {
296
297
  flex-grow: 1;
@@ -1639,12 +1640,11 @@ sl-progress-bar {
1639
1640
  }
1640
1641
  table {
1641
1642
  position: relative;
1642
- border-spacing: 0;
1643
1643
  width: fit-content;
1644
1644
  table-layout: fixed;
1645
1645
  border-radius: var(--sl-border-radius-small);
1646
- border: 1px solid var(--sl-color-neutral-200);
1647
- border-collapse: separate;
1646
+ border-collapse: collapse;
1647
+ border-spacing: 0;
1648
1648
  overflow: hidden;
1649
1649
  }
1650
1650
  th,
@@ -1653,15 +1653,7 @@ sl-progress-bar {
1653
1653
  padding: var(--sl-spacing-3x-small) var(--sl-spacing-2x-small);
1654
1654
  text-align: left;
1655
1655
  vertical-align: top;
1656
- border-bottom: 1px solid var(--sl-color-neutral-200);
1657
- border-right: 1px solid var(--sl-color-neutral-200);
1658
- }
1659
- tr:last-child td {
1660
- border-bottom: 0;
1661
- }
1662
- tr td:last-child,
1663
- tr th:last-child {
1664
- border-right: 0;
1656
+ border: 1px solid var(--sl-color-neutral-200);
1665
1657
  }
1666
1658
  th,
1667
1659
  td {
@@ -2009,7 +2001,7 @@ sl-progress-bar {
2009
2001
  position: relative;
2010
2002
  display: flex;
2011
2003
  flex-direction: row;
2012
- align-items: center;
2004
+ align-items: start;
2013
2005
  gap: 6px;
2014
2006
  .none-of-the-above-item {
2015
2007
  width: 100%;
@@ -2022,6 +2014,7 @@ sl-progress-bar {
2022
2014
  flex-direction: row;
2023
2015
  align-items: center;
2024
2016
  gap: 6px;
2017
+ padding-block: 8px;
2025
2018
  .sl-icon {
2026
2019
  width: 20px;
2027
2020
  height: 20px;
@@ -2050,9 +2043,19 @@ sl-progress-bar {
2050
2043
  .nested-content {
2051
2044
  width: 100%;
2052
2045
  border-radius: 4px;
2053
- padding: 8px;
2046
+ padding-block: 8px;
2047
+ padding-inline: 8px;
2054
2048
  outline: 1px solid var(--sl-color-neutral-1000);
2055
2049
  }
2050
+ @media (max-width: 991px) {
2051
+ .nested-content {
2052
+ padding-block: 6px;
2053
+ }
2054
+ .controls {
2055
+ gap: 0;
2056
+ padding-block: 6px;
2057
+ }
2058
+ }
2056
2059
  .nested-content:focus {
2057
2060
  outline: 1px solid #7b00ff;
2058
2061
  }
@@ -2209,10 +2212,12 @@ sl-progress-bar {
2209
2212
  }
2210
2213
  .matching-question-prompt-question-item-controls {
2211
2214
  display: flex;
2215
+ align-self: start;
2212
2216
  flex-direction: row;
2213
2217
  align-items: center;
2214
2218
  gap: 8px;
2215
2219
  justify-content: end;
2220
+ padding-block: 8px;
2216
2221
  .sl-icon {
2217
2222
  width: 20px;
2218
2223
  height: 20px;
@@ -2238,16 +2243,28 @@ sl-progress-bar {
2238
2243
  color: var(--sl-color-danger-500);
2239
2244
  }
2240
2245
  }
2246
+ @media (max-width: 991px) {
2247
+ .matching-question-prompt-question-item-controls {
2248
+ gap: 0;
2249
+ padding-block: 6px;
2250
+ }
2251
+ }
2241
2252
  .matching-question-prompt-question-item {
2242
2253
  .nested-content {
2243
2254
  width: 100%;
2244
2255
  border-radius: 4px;
2245
- padding: 8px;
2256
+ padding-block: 8px;
2257
+ padding-inline: 8px;
2246
2258
  outline: 1px solid var(--sl-color-neutral-1000);
2247
2259
  }
2248
2260
  .nested-content:focus {
2249
2261
  outline: 1px solid #7b00ff;
2250
2262
  }
2263
+ @media (max-width: 991px) {
2264
+ .nested-content {
2265
+ padding-block: 6px;
2266
+ }
2267
+ }
2251
2268
  p,
2252
2269
  h1,
2253
2270
  h2,
@@ -2312,6 +2329,7 @@ sl-progress-bar {
2312
2329
  text-transform: uppercase;
2313
2330
  }
2314
2331
  .fill-in-the-blank-question-prompt-content {
2332
+ position: relative;
2315
2333
  .nested-content {
2316
2334
  width: 100%;
2317
2335
  border-radius: 4px;
@@ -2319,6 +2337,11 @@ sl-progress-bar {
2319
2337
  outline: 1px solid var(--sl-color-neutral-1000);
2320
2338
  background-color: var(--sl-color-neutral-50);
2321
2339
  }
2340
+ @media (max-width: 991px) {
2341
+ .nested-content {
2342
+ padding: 6px;
2343
+ }
2344
+ }
2322
2345
  p,
2323
2346
  h1,
2324
2347
  h2,
@@ -2387,10 +2410,12 @@ sl-progress-bar {
2387
2410
  }
2388
2411
  .journal-entry-question-prompt-question-item-controls {
2389
2412
  display: flex;
2413
+ align-self: start;
2390
2414
  flex-direction: row;
2391
2415
  align-items: center;
2392
2416
  gap: 8px;
2393
2417
  justify-content: start;
2418
+ padding-block: 8px;
2394
2419
  .sl-icon {
2395
2420
  width: 20px;
2396
2421
  height: 20px;
@@ -2420,21 +2445,34 @@ sl-progress-bar {
2420
2445
  }
2421
2446
  sl-checkbox::part(label) {
2422
2447
  color: var(--sl-color-neutral-1000);
2448
+ text-wrap: nowrap;
2423
2449
  }
2424
2450
  sl-checkbox::part(base) {
2425
2451
  align-items: center;
2426
2452
  }
2427
2453
  }
2454
+ @media (max-width: 991px) {
2455
+ .journal-entry-question-prompt-question-item-controls {
2456
+ gap: 0;
2457
+ padding-block: 6px;
2458
+ }
2459
+ }
2428
2460
  .journal-entry-question-prompt-question-item {
2429
2461
  .nested-content {
2430
2462
  width: 100%;
2431
2463
  border-radius: 4px;
2432
- padding: 8px;
2464
+ padding-block: 8px;
2465
+ padding-inline: 8px;
2433
2466
  outline: 1px solid var(--sl-color-neutral-1000);
2434
2467
  }
2435
2468
  .nested-content:focus {
2436
2469
  outline: 1px solid #7b00ff;
2437
2470
  }
2471
+ @media (max-width: 991px) {
2472
+ .nested-content {
2473
+ padding-block: 6px;
2474
+ }
2475
+ }
2438
2476
  p,
2439
2477
  h1,
2440
2478
  h2,