@examind/block-editor 0.1.30 → 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 +49 -16
  2. package/dist/index.js +3098 -2752
  3. package/dist/index.mjs +2483 -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 {
@@ -2051,9 +2043,19 @@ sl-progress-bar {
2051
2043
  .nested-content {
2052
2044
  width: 100%;
2053
2045
  border-radius: 4px;
2054
- padding: 8px;
2046
+ padding-block: 8px;
2047
+ padding-inline: 8px;
2055
2048
  outline: 1px solid var(--sl-color-neutral-1000);
2056
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
+ }
2057
2059
  .nested-content:focus {
2058
2060
  outline: 1px solid #7b00ff;
2059
2061
  }
@@ -2241,16 +2243,28 @@ sl-progress-bar {
2241
2243
  color: var(--sl-color-danger-500);
2242
2244
  }
2243
2245
  }
2246
+ @media (max-width: 991px) {
2247
+ .matching-question-prompt-question-item-controls {
2248
+ gap: 0;
2249
+ padding-block: 6px;
2250
+ }
2251
+ }
2244
2252
  .matching-question-prompt-question-item {
2245
2253
  .nested-content {
2246
2254
  width: 100%;
2247
2255
  border-radius: 4px;
2248
- padding: 8px;
2256
+ padding-block: 8px;
2257
+ padding-inline: 8px;
2249
2258
  outline: 1px solid var(--sl-color-neutral-1000);
2250
2259
  }
2251
2260
  .nested-content:focus {
2252
2261
  outline: 1px solid #7b00ff;
2253
2262
  }
2263
+ @media (max-width: 991px) {
2264
+ .nested-content {
2265
+ padding-block: 6px;
2266
+ }
2267
+ }
2254
2268
  p,
2255
2269
  h1,
2256
2270
  h2,
@@ -2315,6 +2329,7 @@ sl-progress-bar {
2315
2329
  text-transform: uppercase;
2316
2330
  }
2317
2331
  .fill-in-the-blank-question-prompt-content {
2332
+ position: relative;
2318
2333
  .nested-content {
2319
2334
  width: 100%;
2320
2335
  border-radius: 4px;
@@ -2322,6 +2337,11 @@ sl-progress-bar {
2322
2337
  outline: 1px solid var(--sl-color-neutral-1000);
2323
2338
  background-color: var(--sl-color-neutral-50);
2324
2339
  }
2340
+ @media (max-width: 991px) {
2341
+ .nested-content {
2342
+ padding: 6px;
2343
+ }
2344
+ }
2325
2345
  p,
2326
2346
  h1,
2327
2347
  h2,
@@ -2425,21 +2445,34 @@ sl-progress-bar {
2425
2445
  }
2426
2446
  sl-checkbox::part(label) {
2427
2447
  color: var(--sl-color-neutral-1000);
2448
+ text-wrap: nowrap;
2428
2449
  }
2429
2450
  sl-checkbox::part(base) {
2430
2451
  align-items: center;
2431
2452
  }
2432
2453
  }
2454
+ @media (max-width: 991px) {
2455
+ .journal-entry-question-prompt-question-item-controls {
2456
+ gap: 0;
2457
+ padding-block: 6px;
2458
+ }
2459
+ }
2433
2460
  .journal-entry-question-prompt-question-item {
2434
2461
  .nested-content {
2435
2462
  width: 100%;
2436
2463
  border-radius: 4px;
2437
- padding: 8px;
2464
+ padding-block: 8px;
2465
+ padding-inline: 8px;
2438
2466
  outline: 1px solid var(--sl-color-neutral-1000);
2439
2467
  }
2440
2468
  .nested-content:focus {
2441
2469
  outline: 1px solid #7b00ff;
2442
2470
  }
2471
+ @media (max-width: 991px) {
2472
+ .nested-content {
2473
+ padding-block: 6px;
2474
+ }
2475
+ }
2443
2476
  p,
2444
2477
  h1,
2445
2478
  h2,