@citolab/qti-components 7.6.0 → 7.8.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.
package/dist/item.css CHANGED
@@ -158,11 +158,13 @@
158
158
 
159
159
  .spot {
160
160
 
161
- box-sizing: border-box;
162
161
  width: 100%;
163
162
  height: 100%;
164
163
  background-color: transparent;
165
- padding: 0;
164
+ margin: 0 !important;
165
+ padding: 0 !important;
166
+ border: 0 !important;
167
+ box-sizing: border-box !important;
166
168
  border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
167
169
  outline: none;
168
170
  }
@@ -1952,12 +1954,6 @@ qti-response-declaration {
1952
1954
  box-sizing: border-box;
1953
1955
  }
1954
1956
 
1955
- *,
1956
- *::before,
1957
- *::after {
1958
- box-sizing: inherit;
1959
- }
1960
-
1961
1957
  /* components */
1962
1958
 
1963
1959
  @layer qti-components {
@@ -2507,16 +2503,20 @@ qti-response-declaration {
2507
2503
  outline: 4px solid var(--qti-disabled-bg);
2508
2504
  }
2509
2505
 
2510
- box-sizing: border-box;
2511
-
2512
2506
  width: 100%;
2513
2507
 
2514
2508
  height: 100%;
2515
2509
 
2516
2510
  background-color: transparent;
2517
2511
 
2512
+ margin: 0;
2513
+
2518
2514
  padding: 0;
2519
2515
 
2516
+ border: 0;
2517
+
2518
+ box-sizing: border-box;
2519
+
2520
2520
  border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2521
2521
 
2522
2522
  outline: none
@@ -2552,16 +2552,20 @@ qti-response-declaration {
2552
2552
  outline: 4px solid var(--qti-disabled-bg);
2553
2553
  }
2554
2554
 
2555
- box-sizing: border-box;
2556
-
2557
2555
  width: 100%;
2558
2556
 
2559
2557
  height: 100%;
2560
2558
 
2561
2559
  background-color: transparent;
2562
2560
 
2561
+ margin: 0;
2562
+
2563
2563
  padding: 0;
2564
2564
 
2565
+ border: 0;
2566
+
2567
+ box-sizing: border-box;
2568
+
2565
2569
  border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2566
2570
 
2567
2571
  outline: none
@@ -3123,16 +3127,16 @@ qti-response-declaration {
3123
3127
  }
3124
3128
  }
3125
3129
 
3126
- qti-order-interaction:state(--dragzone-active)::part(drags) {
3127
- border-color: var(--qti-border-active);
3128
- background-color: var(--qti-bg-active);
3129
- }
3130
+ qti-order-interaction {
3131
+ &:state(--dragzone-active)::part(drags) {
3132
+ border-color: var(--qti-border-active);
3133
+ background-color: var(--qti-bg-active);
3134
+ }
3130
3135
 
3131
- qti-order-interaction:state(--dragzone-enabled)::part(drags) {
3132
- background-color: var(--qti-bg-active);
3133
- }
3136
+ &:state(--dragzone-enabled)::part(drags) {
3137
+ background-color: var(--qti-bg-active);
3138
+ }
3134
3139
 
3135
- qti-order-interaction {
3136
3140
  &::part(qti-simple-choice),
3137
3141
  & qti-simple-choice {
3138
3142
 
@@ -3253,16 +3257,20 @@ qti-response-declaration {
3253
3257
  outline: 4px solid var(--qti-disabled-bg);
3254
3258
  }
3255
3259
 
3256
- box-sizing: border-box;
3257
-
3258
3260
  width: 100%;
3259
3261
 
3260
3262
  height: 100%;
3261
3263
 
3262
3264
  background-color: transparent;
3263
3265
 
3266
+ margin: 0;
3267
+
3264
3268
  padding: 0;
3265
3269
 
3270
+ border: 0;
3271
+
3272
+ box-sizing: border-box;
3273
+
3266
3274
  border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3267
3275
 
3268
3276
  outline: none
@@ -3297,16 +3305,20 @@ qti-response-declaration {
3297
3305
  outline: 4px solid var(--qti-disabled-bg);
3298
3306
  }
3299
3307
 
3300
- box-sizing: border-box;
3301
-
3302
3308
  width: 100%;
3303
3309
 
3304
3310
  height: 100%;
3305
3311
 
3306
3312
  background-color: transparent;
3307
3313
 
3314
+ margin: 0;
3315
+
3308
3316
  padding: 0;
3309
3317
 
3318
+ border: 0;
3319
+
3320
+ box-sizing: border-box;
3321
+
3310
3322
  border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3311
3323
 
3312
3324
  outline: none
@@ -3527,16 +3539,20 @@ qti-response-declaration {
3527
3539
  outline: 4px solid var(--qti-disabled-bg);
3528
3540
  }
3529
3541
 
3530
- box-sizing: border-box;
3531
-
3532
3542
  width: 100%;
3533
3543
 
3534
3544
  height: 100%;
3535
3545
 
3536
3546
  background-color: transparent;
3537
3547
 
3548
+ margin: 0;
3549
+
3538
3550
  padding: 0;
3539
3551
 
3552
+ border: 0;
3553
+
3554
+ box-sizing: border-box;
3555
+
3540
3556
  border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3541
3557
 
3542
3558
  outline: none
@@ -3571,16 +3587,20 @@ qti-response-declaration {
3571
3587
  outline: 4px solid var(--qti-disabled-bg);
3572
3588
  }
3573
3589
 
3574
- box-sizing: border-box;
3575
-
3576
3590
  width: 100%;
3577
3591
 
3578
3592
  height: 100%;
3579
3593
 
3580
3594
  background-color: transparent;
3581
3595
 
3596
+ margin: 0;
3597
+
3582
3598
  padding: 0;
3583
3599
 
3600
+ border: 0;
3601
+
3602
+ box-sizing: border-box;
3603
+
3584
3604
  border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3585
3605
 
3586
3606
  outline: none
@@ -371,6 +371,8 @@ declare const QtiHotspotInteraction_base: (abstract new (...args: any[]) => Choi
371
371
  declare class QtiHotspotInteraction extends QtiHotspotInteraction_base {
372
372
  static styles: CSSResultGroup;
373
373
  render(): lit_html.TemplateResult<1>;
374
+ private imageLoadPromise;
375
+ private getImageLoadPromise;
374
376
  private positionHotspotOnRegister;
375
377
  connectedCallback(): void;
376
378
  disconnectedCallback(): void;
@@ -95,10 +95,10 @@ import {
95
95
  QtiVariable,
96
96
  qtiAndMixin,
97
97
  qtiSubtractMixin
98
- } from "../chunks/chunk-G7ZPPP7O.js";
98
+ } from "../chunks/chunk-7YO5JFT3.js";
99
99
  import {
100
100
  QtiModalFeedback
101
- } from "../chunks/chunk-2WTHXWS3.js";
101
+ } from "../chunks/chunk-YD7FVKDP.js";
102
102
  import "../chunks/chunk-ELDMXTUQ.js";
103
103
  import "../chunks/chunk-WFUXZ4UT.js";
104
104
  import "../chunks/chunk-SV4K25ZI.js";