@pie-element/match 12.2.2-beta.4 → 12.2.3

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/CHANGELOG.md CHANGED
@@ -3,70 +3,90 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [12.2.2-beta.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.2.2-beta.3...@pie-element/match@12.2.2-beta.4) (2026-09-11)
6
+ ## [12.2.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.2.2...@pie-element/match@12.2.3) (2026-09-17)
7
7
 
8
8
  **Note:** Version bump only for package @pie-element/match
9
9
 
10
- ## [12.2.2-beta.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.2.2-beta.2...@pie-element/match@12.2.2-beta.3) (2026-09-04)
10
+ ## [12.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.2.1...@pie-element/match@12.2.2) (2026-09-04)
11
11
 
12
- **Note:** Version bump only for package @pie-element/match
12
+ ### Bug Fixes
13
+
14
+ - bump libs PIE-978, PIE-980 ([96489ba](https://github.com/pie-framework/pie-elements/commit/96489ba3c220604f21c3ce4500d79f4389266e9e))
13
15
 
14
- ## [12.2.2-beta.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.4.0-beta.7...@pie-element/match@12.2.2-beta.2) (2026-08-26)
16
+ ## [12.2.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.2.0...@pie-element/match@12.2.1) (2026-08-26)
15
17
 
16
18
  **Note:** Version bump only for package @pie-element/match
17
19
 
18
- # [12.4.0-beta.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.4.0-beta.6...@pie-element/match@12.4.0-beta.7) (2026-08-20)
20
+ # [12.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.11...@pie-element/match@12.2.0) (2026-08-21)
19
21
 
20
- **Note:** Version bump only for package @pie-element/match
22
+ ### Bug Fixes
21
23
 
22
- # [12.4.0-beta.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.4.0-beta.5...@pie-element/match@12.4.0-beta.6) (2026-08-14)
24
+ - move [@pie-lib](https://github.com/pie-lib) deps back to latest, off next prereleases PIE-927 ([a53e012](https://github.com/pie-framework/pie-elements/commit/a53e0127eb4ac95ece54e1e2bd669ae4974f4251))
25
+ - **theming:** move the grey palette reads onto --pie-\* tokens PIE-856 ([d7d005b](https://github.com/pie-framework/pie-elements/commit/d7d005bf081843335b4b0377852f2ecd075cb62d)), closes [#000000](https://github.com/pie-framework/pie-elements/issues/000000) [#E0E1E6](https://github.com/pie-framework/pie-elements/issues/E0E1E6) [#646464](https://github.com/pie-framework/pie-elements/issues/646464) [#616161](https://github.com/pie-framework/pie-elements/issues/616161) [#E0E1E6](https://github.com/pie-framework/pie-elements/issues/E0E1E6) [#C0C3](https://github.com/pie-framework/pie-elements/issues/C0C3)
23
26
 
24
- **Note:** Version bump only for package @pie-element/match
27
+ ### Features
25
28
 
26
- # [12.4.0-beta.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.4.0-beta.4...@pie-element/match@12.4.0-beta.5) (2026-08-11)
29
+ - bump libs PIE-856, PIE-681, PIE-927 ([cb26d7a](https://github.com/pie-framework/pie-elements/commit/cb26d7afa6c99522533c321d5ff8ce3148a66e9e))
27
30
 
28
- **Note:** Version bump only for package @pie-element/match
31
+ ## [12.1.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.10...@pie-element/match@12.1.11) (2026-08-19)
29
32
 
30
- # [12.4.0-beta.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.4.0-beta.3...@pie-element/match@12.4.0-beta.4) (2026-08-11)
33
+ ### Bug Fixes
31
34
 
32
- **Note:** Version bump only for package @pie-element/match
35
+ - bump libs and shared modules PIE-681, PIE-708 ([08af8b5](https://github.com/pie-framework/pie-elements/commit/08af8b5802aecc8ee5454a1b6d60277d7ec94204))
33
36
 
34
- # [12.4.0-beta.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.4.0-beta.2...@pie-element/match@12.4.0-beta.3) (2026-08-11)
37
+ ## [12.1.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.8...@pie-element/match@12.1.10) (2026-08-13)
35
38
 
36
39
  **Note:** Version bump only for package @pie-element/match
37
40
 
38
- # [12.4.0-beta.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.4.0-beta.1...@pie-element/match@12.4.0-beta.2) (2026-08-11)
41
+ ## [12.1.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.7...@pie-element/match@12.1.9) (2026-08-11)
39
42
 
40
43
  **Note:** Version bump only for package @pie-element/match
41
44
 
42
- # [12.4.0-beta.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.4.0-beta.0...@pie-element/match@12.4.0-beta.1) (2026-08-07)
45
+ ## [12.1.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.7...@pie-element/match@12.1.8) (2026-07-31)
43
46
 
44
47
  **Note:** Version bump only for package @pie-element/match
45
48
 
46
- # [12.4.0-beta.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.3.0-beta.0...@pie-element/match@12.4.0-beta.0) (2026-08-07)
49
+ ## [12.1.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.6...@pie-element/match@12.1.7) (2026-07-08)
47
50
 
48
- **Note:** Version bump only for package @pie-element/match
51
+ ### Bug Fixes
49
52
 
50
- # [12.3.0-beta.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.3.0-beta.0...@pie-element/match@12.3.0-beta.1) (2026-08-07)
53
+ - bump libs & shared modules PIE-706, PIE-702, PIE-679, PIE-698 ([5b1a8c4](https://github.com/pie-framework/pie-elements/commit/5b1a8c4c3eba2126fc43d78fd0187e7cd11d5424))
51
54
 
52
- **Note:** Version bump only for package @pie-element/match
55
+ ## [12.1.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.5...@pie-element/match@12.1.6) (2026-07-02)
53
56
 
54
- # [12.3.0-beta.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.2.0-beta.0...@pie-element/match@12.3.0-beta.0) (2026-08-07)
57
+ ### Bug Fixes
55
58
 
56
- **Note:** Version bump only for package @pie-element/match
59
+ - bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
60
+ - sync libs versions ([48b5be9](https://github.com/pie-framework/pie-elements/commit/48b5be9559eb5b5235ca05f51c5f0161032a7041))
57
61
 
58
- # [12.2.0-beta.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.0...@pie-element/match@12.2.0-beta.0) (2026-08-07)
62
+ ## [12.1.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.4...@pie-element/match@12.1.5) (2026-06-22)
59
63
 
60
64
  ### Bug Fixes
61
65
 
62
- - bump libs & shared modules PIE-706, PIE-702, PIE-679, PIE-698 ([5b1a8c4](https://github.com/pie-framework/pie-elements/commit/5b1a8c4c3eba2126fc43d78fd0187e7cd11d5424))
63
- - bump shared modules and libs PIE-600, PIE-602 ([ce99f6a](https://github.com/pie-framework/pie-elements/commit/ce99f6af50cb855b666a6df9340f9f5445fde4c4))
64
- - bump shared modules and libs PIE-661 PIE-664 PIE-683 PIE-666 PIE-656 PIE-657 PIE-658 PIE-659 PIE-670 ([ebd6be4](https://github.com/pie-framework/pie-elements/commit/ebd6be4fd48fca41ad4c4908f606b25334731aed))
65
66
  - bump shared modules and libs PIE-674, PIE-662, PIE-705, PIE-674, PIE-963 ([78a3f64](https://github.com/pie-framework/pie-elements/commit/78a3f64652c9581c61bd4159f3210fc1e32d8bcf))
66
- - bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
67
- - bump shared modules and libsPIE-603, PIE-604, PIE-663, PIE-662, PIE-678 ([e61c7a7](https://github.com/pie-framework/pie-elements/commit/e61c7a7d23744586337dfbb17a18ebfc656c202f))
68
67
  - handle webcomponent lifecycle on every element that misses it PIE-703 ([9d5923f](https://github.com/pie-framework/pie-elements/commit/9d5923f973f0471e1e8f69ad4309cfc63d980d93))
69
- - sync libs versions ([48b5be9](https://github.com/pie-framework/pie-elements/commit/48b5be9559eb5b5235ca05f51c5f0161032a7041))
68
+
69
+ ## [12.1.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.3...@pie-element/match@12.1.4) (2026-06-17)
70
+
71
+ ### Bug Fixes
72
+
73
+ - bump shared modules and libs PIE-661 PIE-664 PIE-683 PIE-666 PIE-656 PIE-657 PIE-658 PIE-659 PIE-670 ([ebd6be4](https://github.com/pie-framework/pie-elements/commit/ebd6be4fd48fca41ad4c4908f606b25334731aed))
74
+
75
+ ## [12.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.2...@pie-element/match@12.1.3) (2026-06-12)
76
+
77
+ ### Bug Fixes
78
+
79
+ - bump shared modules and libsPIE-603, PIE-604, PIE-663, PIE-662, PIE-678 ([e61c7a7](https://github.com/pie-framework/pie-elements/commit/e61c7a7d23744586337dfbb17a18ebfc656c202f))
80
+
81
+ ## [12.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.1...@pie-element/match@12.1.2) (2026-06-04)
82
+
83
+ ### Bug Fixes
84
+
85
+ - bump shared modules and libs PIE-600, PIE-602 ([ce99f6a](https://github.com/pie-framework/pie-elements/commit/ce99f6af50cb855b666a6df9340f9f5445fde4c4))
86
+
87
+ ## [12.1.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.0...@pie-element/match@12.1.1) (2026-05-21)
88
+
89
+ **Note:** Version bump only for package @pie-element/match
70
90
 
71
91
  # [12.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match@12.1.0-next.1...@pie-element/match@12.1.0) (2026-05-21)
72
92
 
@@ -3,70 +3,90 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [10.4.0-beta.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.4.0-beta.9...@pie-element/match-configure@10.4.0-beta.10) (2026-09-11)
6
+ ## [10.2.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.2.2...@pie-element/match-configure@10.2.3) (2026-09-17)
7
7
 
8
8
  **Note:** Version bump only for package @pie-element/match-configure
9
9
 
10
- # [10.4.0-beta.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.4.0-beta.8...@pie-element/match-configure@10.4.0-beta.9) (2026-09-04)
10
+ ## [10.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.2.1...@pie-element/match-configure@10.2.2) (2026-09-04)
11
11
 
12
- **Note:** Version bump only for package @pie-element/match-configure
12
+ ### Bug Fixes
13
+
14
+ - bump libs PIE-978, PIE-980 ([96489ba](https://github.com/pie-framework/pie-elements/commit/96489ba3c220604f21c3ce4500d79f4389266e9e))
13
15
 
14
- # [10.4.0-beta.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.4.0-beta.7...@pie-element/match-configure@10.4.0-beta.8) (2026-08-26)
16
+ ## [10.2.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.2.0...@pie-element/match-configure@10.2.1) (2026-08-26)
15
17
 
16
18
  **Note:** Version bump only for package @pie-element/match-configure
17
19
 
18
- # [10.4.0-beta.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.4.0-beta.6...@pie-element/match-configure@10.4.0-beta.7) (2026-08-20)
20
+ # [10.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.11...@pie-element/match-configure@10.2.0) (2026-08-21)
19
21
 
20
- **Note:** Version bump only for package @pie-element/match-configure
22
+ ### Bug Fixes
21
23
 
22
- # [10.4.0-beta.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.4.0-beta.5...@pie-element/match-configure@10.4.0-beta.6) (2026-08-14)
24
+ - move [@pie-lib](https://github.com/pie-lib) deps back to latest, off next prereleases PIE-927 ([a53e012](https://github.com/pie-framework/pie-elements/commit/a53e0127eb4ac95ece54e1e2bd669ae4974f4251))
25
+ - **theming:** move the grey palette reads onto --pie-\* tokens PIE-856 ([d7d005b](https://github.com/pie-framework/pie-elements/commit/d7d005bf081843335b4b0377852f2ecd075cb62d)), closes [#000000](https://github.com/pie-framework/pie-elements/issues/000000) [#E0E1E6](https://github.com/pie-framework/pie-elements/issues/E0E1E6) [#646464](https://github.com/pie-framework/pie-elements/issues/646464) [#616161](https://github.com/pie-framework/pie-elements/issues/616161) [#E0E1E6](https://github.com/pie-framework/pie-elements/issues/E0E1E6) [#C0C3](https://github.com/pie-framework/pie-elements/issues/C0C3)
23
26
 
24
- **Note:** Version bump only for package @pie-element/match-configure
27
+ ### Features
25
28
 
26
- # [10.4.0-beta.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.4.0-beta.4...@pie-element/match-configure@10.4.0-beta.5) (2026-08-11)
29
+ - bump libs PIE-856, PIE-681, PIE-927 ([cb26d7a](https://github.com/pie-framework/pie-elements/commit/cb26d7afa6c99522533c321d5ff8ce3148a66e9e))
27
30
 
28
- **Note:** Version bump only for package @pie-element/match-configure
31
+ ## [10.1.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.10...@pie-element/match-configure@10.1.11) (2026-08-19)
29
32
 
30
- # [10.4.0-beta.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.4.0-beta.3...@pie-element/match-configure@10.4.0-beta.4) (2026-08-11)
33
+ ### Bug Fixes
31
34
 
32
- **Note:** Version bump only for package @pie-element/match-configure
35
+ - bump libs and shared modules PIE-681, PIE-708 ([08af8b5](https://github.com/pie-framework/pie-elements/commit/08af8b5802aecc8ee5454a1b6d60277d7ec94204))
33
36
 
34
- # [10.4.0-beta.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.4.0-beta.2...@pie-element/match-configure@10.4.0-beta.3) (2026-08-11)
37
+ ## [10.1.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.8...@pie-element/match-configure@10.1.10) (2026-08-13)
35
38
 
36
39
  **Note:** Version bump only for package @pie-element/match-configure
37
40
 
38
- # [10.4.0-beta.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.4.0-beta.1...@pie-element/match-configure@10.4.0-beta.2) (2026-08-11)
41
+ ## [10.1.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.7...@pie-element/match-configure@10.1.9) (2026-08-11)
39
42
 
40
43
  **Note:** Version bump only for package @pie-element/match-configure
41
44
 
42
- # [10.4.0-beta.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.4.0-beta.0...@pie-element/match-configure@10.4.0-beta.1) (2026-08-07)
45
+ ## [10.1.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.7...@pie-element/match-configure@10.1.8) (2026-07-31)
43
46
 
44
47
  **Note:** Version bump only for package @pie-element/match-configure
45
48
 
46
- # [10.4.0-beta.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.3.0-beta.0...@pie-element/match-configure@10.4.0-beta.0) (2026-08-07)
49
+ ## [10.1.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.6...@pie-element/match-configure@10.1.7) (2026-07-08)
47
50
 
48
- **Note:** Version bump only for package @pie-element/match-configure
51
+ ### Bug Fixes
49
52
 
50
- # [10.3.0-beta.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.3.0-beta.0...@pie-element/match-configure@10.3.0-beta.1) (2026-08-07)
53
+ - bump libs & shared modules PIE-706, PIE-702, PIE-679, PIE-698 ([5b1a8c4](https://github.com/pie-framework/pie-elements/commit/5b1a8c4c3eba2126fc43d78fd0187e7cd11d5424))
51
54
 
52
- **Note:** Version bump only for package @pie-element/match-configure
55
+ ## [10.1.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.5...@pie-element/match-configure@10.1.6) (2026-07-02)
53
56
 
54
- # [10.3.0-beta.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.2.0-beta.0...@pie-element/match-configure@10.3.0-beta.0) (2026-08-07)
57
+ ### Bug Fixes
55
58
 
56
- **Note:** Version bump only for package @pie-element/match-configure
59
+ - bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
60
+ - sync libs versions ([48b5be9](https://github.com/pie-framework/pie-elements/commit/48b5be9559eb5b5235ca05f51c5f0161032a7041))
57
61
 
58
- # [10.2.0-beta.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.0...@pie-element/match-configure@10.2.0-beta.0) (2026-08-07)
62
+ ## [10.1.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.4...@pie-element/match-configure@10.1.5) (2026-06-22)
59
63
 
60
64
  ### Bug Fixes
61
65
 
62
- - bump libs & shared modules PIE-706, PIE-702, PIE-679, PIE-698 ([5b1a8c4](https://github.com/pie-framework/pie-elements/commit/5b1a8c4c3eba2126fc43d78fd0187e7cd11d5424))
63
- - bump shared modules and libs PIE-600, PIE-602 ([ce99f6a](https://github.com/pie-framework/pie-elements/commit/ce99f6af50cb855b666a6df9340f9f5445fde4c4))
64
- - bump shared modules and libs PIE-661 PIE-664 PIE-683 PIE-666 PIE-656 PIE-657 PIE-658 PIE-659 PIE-670 ([ebd6be4](https://github.com/pie-framework/pie-elements/commit/ebd6be4fd48fca41ad4c4908f606b25334731aed))
65
66
  - bump shared modules and libs PIE-674, PIE-662, PIE-705, PIE-674, PIE-963 ([78a3f64](https://github.com/pie-framework/pie-elements/commit/78a3f64652c9581c61bd4159f3210fc1e32d8bcf))
66
- - bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
67
- - bump shared modules and libsPIE-603, PIE-604, PIE-663, PIE-662, PIE-678 ([e61c7a7](https://github.com/pie-framework/pie-elements/commit/e61c7a7d23744586337dfbb17a18ebfc656c202f))
68
67
  - handle webcomponent lifecycle on every element that misses it PIE-703 ([9d5923f](https://github.com/pie-framework/pie-elements/commit/9d5923f973f0471e1e8f69ad4309cfc63d980d93))
69
- - sync libs versions ([48b5be9](https://github.com/pie-framework/pie-elements/commit/48b5be9559eb5b5235ca05f51c5f0161032a7041))
68
+
69
+ ## [10.1.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.3...@pie-element/match-configure@10.1.4) (2026-06-17)
70
+
71
+ ### Bug Fixes
72
+
73
+ - bump shared modules and libs PIE-661 PIE-664 PIE-683 PIE-666 PIE-656 PIE-657 PIE-658 PIE-659 PIE-670 ([ebd6be4](https://github.com/pie-framework/pie-elements/commit/ebd6be4fd48fca41ad4c4908f606b25334731aed))
74
+
75
+ ## [10.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.2...@pie-element/match-configure@10.1.3) (2026-06-12)
76
+
77
+ ### Bug Fixes
78
+
79
+ - bump shared modules and libsPIE-603, PIE-604, PIE-663, PIE-662, PIE-678 ([e61c7a7](https://github.com/pie-framework/pie-elements/commit/e61c7a7d23744586337dfbb17a18ebfc656c202f))
80
+
81
+ ## [10.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.1...@pie-element/match-configure@10.1.2) (2026-06-04)
82
+
83
+ ### Bug Fixes
84
+
85
+ - bump shared modules and libs PIE-600, PIE-602 ([ce99f6a](https://github.com/pie-framework/pie-elements/commit/ce99f6af50cb855b666a6df9340f9f5445fde4c4))
86
+
87
+ ## [10.1.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.0...@pie-element/match-configure@10.1.1) (2026-05-21)
88
+
89
+ **Note:** Version bump only for package @pie-element/match-configure
70
90
 
71
91
  # [10.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-configure@10.1.0-next.1...@pie-element/match-configure@10.1.0) (2026-05-21)
72
92
 
@@ -18,6 +18,7 @@ var _debug = _interopRequireDefault(require("debug"));
18
18
  var _lodashEs = require("lodash-es");
19
19
  var _editableHtmlTipTap = _interopRequireWildcard(require("@pie-lib/editable-html-tip-tap"));
20
20
  var _drag = require("@pie-lib/drag");
21
+ var _renderUi = require("@pie-lib/render-ui");
21
22
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
22
23
  const log = (0, _debug.default)('pie-elements:match:configure');
23
24
  const Container = (0, _styles.styled)('div')(({
@@ -34,7 +35,7 @@ const RowContainer = (0, _styles.styled)('div')(({
34
35
  alignItems: 'center',
35
36
  flex: 1,
36
37
  width: '100%',
37
- borderBottom: `2px solid ${theme.palette.grey['A100']}`,
38
+ borderBottom: `2px solid ${_renderUi.color.border()}`,
38
39
  paddingBottom: theme.spacing(2),
39
40
  marginTop: theme.spacing(2),
40
41
  marginBottom: theme.spacing(1)
@@ -1 +1 @@
1
- {"version":3,"file":"answer-config-block.js","names":["_utils","require","React","_interopRequireWildcard","_classnames","_interopRequireDefault","_propTypes","_Typography","_styles","_addRow","_row","_debug","_lodashEs","_editableHtmlTipTap","_drag","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","log","debug","Container","styled","theme","marginBottom","spacing","display","flexDirection","RowContainer","alignItems","flex","width","borderBottom","palette","grey","paddingBottom","marginTop","RowItem","justifyContent","padding","textAlign","DeleteIcon","minWidth","RowTable","ColumnErrorText","fontSize","typography","color","error","main","paddingTop","ErrorText","GlobalStyles","fontWeight","AnswerConfigBlock","Component","constructor","args","_defineProperty2","event","active","over","activeData","data","current","overData","type","from","index","to","model","onChange","props","newModel","rows","movedRow","remainingRows","reduce","acc","item","push","update","slice","name","isBoolean","target","value","checked","headerIndex","headers","render","onAddRow","imageSupport","configuration","toolbarOpts","spellCheck","uploadSoundSupport","baseInputConfiguration","maxImageWidth","maxImageHeight","mathMlOptions","minQuestions","errors","correctResponseError","rowsErrors","columnsErrors","noOfRowsError","columnsLengthError","filteredDefaultPlugins","DEFAULT_PLUGINS","filter","p","defaultImageMaxWidth","prompt","defaultImageMaxHeight","createElement","DragProvider","onDragEnd","moveRow","component","style","overflow","settings","map","header","idx","key","className","cx","questionText","sx","marginRight","maxWidth","onHeaderChange","markup","label","activePlugins","pluginProps","getPluginProps","inputConfiguration","autoWidthToolbar","languageCharactersProps","language","row","onDeleteRow","id","rowTitles","onAddClick","PropTypes","object","isRequired","func","shape","add","delete","bool","_default","exports"],"sources":["../src/answer-config-block.jsx"],"sourcesContent":["import { getPluginProps } from './utils';\nimport * as React from 'react';\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport Typography from '@mui/material/Typography';\nimport { styled } from '@mui/material/styles';\nimport AddRow from './add-row';\nimport Row from './row';\nimport debug from 'debug';\nimport { set } from 'lodash-es';\nimport EditableHtml, { DEFAULT_PLUGINS } from '@pie-lib/editable-html-tip-tap';\nimport { DragProvider } from '@pie-lib/drag';\n\nconst log = debug('pie-elements:match:configure');\n\nconst Container = styled('div')(({ theme }) => ({\n marginBottom: theme.spacing(2.5),\n display: 'flex',\n flexDirection: 'column',\n}));\n\nconst RowContainer = styled('div')(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n flex: 1,\n width: '100%',\n borderBottom: `2px solid ${theme.palette.grey['A100']}`,\n paddingBottom: theme.spacing(2),\n marginTop: theme.spacing(2),\n marginBottom: theme.spacing(1),\n}));\n\nconst RowItem = styled('div')(({ theme }) => ({\n flex: 1,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n flexDirection: 'column',\n '&> div': {\n width: '120px',\n padding: `0 ${theme.spacing(1)}`,\n textAlign: 'center',\n },\n}));\n\nconst DeleteIcon = styled('div')(({ theme }) => ({\n flex: 0.5,\n minWidth: '45px',\n padding: `0 ${theme.spacing(1)}`,\n}));\n\nconst RowTable = styled('div')({\n display: 'flex',\n flexDirection: 'column',\n});\n\nconst ColumnErrorText = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize - 2,\n color: theme.palette.error.main,\n paddingTop: `${theme.spacing(1)} !important`,\n width: 'fit-content !important',\n}));\n\nconst ErrorText = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize - 2,\n color: theme.palette.error.main,\n paddingBottom: theme.spacing(1),\n}));\n\n// Global styles for EditableHtml components\nconst GlobalStyles = styled('div')(({ theme }) => ({\n '& .marginBottom': {\n marginBottom: theme.typography.fontSize - 2 + theme.spacing(1),\n },\n '& .headerInput': {\n '& > div': {\n fontWeight: 'bold',\n },\n },\n}));\n\nclass AnswerConfigBlock extends React.Component {\n static propTypes = {\n model: PropTypes.object.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n onDeleteRow: PropTypes.func.isRequired,\n onAddRow: PropTypes.func.isRequired,\n imageSupport: PropTypes.shape({\n add: PropTypes.func.isRequired,\n delete: PropTypes.func.isRequired,\n }),\n uploadSoundSupport: PropTypes.shape({\n add: PropTypes.func.isRequired,\n delete: PropTypes.func.isRequired,\n }),\n toolbarOpts: PropTypes.object,\n spellCheck: PropTypes.bool,\n };\n\n moveRow = (event) => {\n const { active, over } = event;\n\n if (!over || !active) return;\n\n const activeData = active.data.current;\n const overData = over.data.current;\n\n if (activeData?.type === 'row' && overData?.type === 'row') {\n const from = activeData.index;\n const to = overData.index;\n\n const { model, onChange } = this.props;\n const newModel = { ...model };\n const rows = newModel.rows || [];\n\n log('[moveRow]: ', from, to);\n\n const { movedRow, remainingRows } = rows.reduce(\n (acc, item, index) => {\n if (index === from) {\n acc.movedRow = item;\n } else {\n acc.remainingRows.push(item);\n }\n\n return acc;\n },\n { movedRow: null, remainingRows: [] },\n );\n\n const update = [...remainingRows.slice(0, to), movedRow, ...remainingRows.slice(to)];\n\n log('update: ', update);\n\n newModel.rows = update;\n\n onChange(newModel);\n }\n };\n\n onChange =\n (name, isBoolean) =>\n ({ target }) => {\n const { model, onChange } = this.props;\n let value;\n\n if (isBoolean) {\n value = target.checked;\n } else {\n value = target.value;\n }\n\n set(model, name, value);\n onChange(model, name);\n };\n\n onHeaderChange = (headerIndex) => (value) => {\n const { model, onChange } = this.props;\n const newModel = { ...model };\n\n if (headerIndex === 0) {\n newModel.headers[headerIndex] = value;\n onChange(newModel);\n\n return;\n }\n\n newModel.headers[headerIndex] = value;\n onChange(newModel);\n };\n\n render() {\n const { model, onAddRow, imageSupport, configuration, toolbarOpts, spellCheck, uploadSoundSupport } = this.props;\n const {\n baseInputConfiguration = {},\n headers = {},\n rows = {},\n maxImageWidth = {},\n maxImageHeight = {},\n mathMlOptions = {},\n minQuestions,\n } = configuration || {};\n const { errors } = model || {};\n const { correctResponseError, rowsErrors, columnsErrors, noOfRowsError, columnsLengthError } = errors || {};\n\n const filteredDefaultPlugins = (DEFAULT_PLUGINS || []).filter(\n (p) => p !== 'table' && p !== 'bulleted-list' && p !== 'numbered-list',\n );\n\n const defaultImageMaxWidth = maxImageWidth && maxImageWidth.prompt;\n const defaultImageMaxHeight = maxImageHeight && maxImageHeight.prompt;\n\n return (\n <GlobalStyles>\n <DragProvider onDragEnd={this.moveRow}>\n <Container>\n <Typography type=\"body1\" component=\"div\">\n Click on the labels to edit or remove. Set the correct answers by clicking each correct answer per row.\n </Typography>\n\n <RowTable style={configuration.width ? { width: configuration.width, overflow: 'scroll' } : {}}>\n <RowContainer>\n {headers.settings &&\n (model.headers || []).map((header, idx) => (\n <RowItem\n key={idx}\n className={cx({\n questionText: idx === 0,\n })}\n sx={\n idx === 0\n ? {\n flex: 2,\n display: 'flex',\n justifyContent: 'flex-start',\n marginRight: 1,\n '&> div': {\n width: '100%',\n padding: 0,\n maxWidth: 'unset',\n textAlign: 'left',\n minWidth: '200px',\n },\n }\n : {}\n }\n >\n <EditableHtml\n onChange={this.onHeaderChange(idx)}\n markup={header}\n className={columnsErrors && !columnsErrors[idx] ? 'marginBottom' : 'headerInput'}\n label={'column label'}\n activePlugins={filteredDefaultPlugins}\n pluginProps={getPluginProps(headers?.inputConfiguration, baseInputConfiguration)}\n autoWidthToolbar\n spellCheck={spellCheck}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n error={columnsErrors && columnsErrors[idx]}\n />\n {columnsErrors && columnsErrors[idx] && <ColumnErrorText>{columnsErrors[idx]}</ColumnErrorText>}\n </RowItem>\n ))}\n <DeleteIcon />\n </RowContainer>\n\n {model.rows.map((row, idx) => (\n <Row\n key={idx}\n model={model}\n row={row}\n idx={idx}\n onDeleteRow={this.props.onDeleteRow}\n onChange={this.props.onChange}\n imageSupport={imageSupport}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheck}\n error={rowsErrors?.[row.id]}\n maxImageWidth={(maxImageWidth && maxImageWidth.rowTitles) || defaultImageMaxWidth}\n maxImageHeight={(maxImageHeight && maxImageHeight.rowTitles) || defaultImageMaxHeight}\n uploadSoundSupport={uploadSoundSupport}\n mathMlOptions={mathMlOptions}\n minQuestions={minQuestions}\n inputConfiguration={getPluginProps(rows?.inputConfiguration, baseInputConfiguration)}\n />\n ))}\n\n {correctResponseError && <ErrorText>{correctResponseError}</ErrorText>}\n {noOfRowsError && <ErrorText>{noOfRowsError}</ErrorText>}\n {columnsLengthError && <ErrorText>{columnsLengthError}</ErrorText>}\n\n <AddRow onAddClick={onAddRow} />\n </RowTable>\n </Container>\n </DragProvider>\n </GlobalStyles>\n );\n }\n}\n\nexport default AnswerConfigBlock;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAD,sBAAA,CAAAJ,OAAA;AACA,IAAAM,WAAA,GAAAF,sBAAA,CAAAJ,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAJ,sBAAA,CAAAJ,OAAA;AACA,IAAAS,IAAA,GAAAL,sBAAA,CAAAJ,OAAA;AACA,IAAAU,MAAA,GAAAN,sBAAA,CAAAJ,OAAA;AACA,IAAAW,SAAA,GAAAX,OAAA;AACA,IAAAY,mBAAA,GAAAV,uBAAA,CAAAF,OAAA;AACA,IAAAa,KAAA,GAAAb,OAAA;AAA6C,SAAAE,wBAAAY,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAd,uBAAA,YAAAA,CAAAY,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA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,kBAAS,CAACI,KAAK,CAAC;IAC5BC,GAAG,EAAEL,kBAAS,CAACG,IAAI,CAACD,UAAU;IAC9BI,MAAM,EAAEN,kBAAS,CAACG,IAAI,CAACD;EACzB,CAAC,CAAC;EACFtD,kBAAkB,EAAEoD,kBAAS,CAACI,KAAK,CAAC;IAClCC,GAAG,EAAEL,kBAAS,CAACG,IAAI,CAACD,UAAU;IAC9BI,MAAM,EAAEN,kBAAS,CAACG,IAAI,CAACD;EACzB,CAAC,CAAC;EACFxD,WAAW,EAAEsD,kBAAS,CAACC,MAAM;EAC7BtD,UAAU,EAAEqD,kBAAS,CAACO;AACxB,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAnJ,OAAA,GAuLY4C,iBAAiB","ignoreList":[]}
1
+ {"version":3,"file":"answer-config-block.js","names":["_utils","require","React","_interopRequireWildcard","_classnames","_interopRequireDefault","_propTypes","_Typography","_styles","_addRow","_row","_debug","_lodashEs","_editableHtmlTipTap","_drag","_renderUi","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","log","debug","Container","styled","theme","marginBottom","spacing","display","flexDirection","RowContainer","alignItems","flex","width","borderBottom","color","border","paddingBottom","marginTop","RowItem","justifyContent","padding","textAlign","DeleteIcon","minWidth","RowTable","ColumnErrorText","fontSize","typography","palette","error","main","paddingTop","ErrorText","GlobalStyles","fontWeight","AnswerConfigBlock","Component","constructor","args","_defineProperty2","event","active","over","activeData","data","current","overData","type","from","index","to","model","onChange","props","newModel","rows","movedRow","remainingRows","reduce","acc","item","push","update","slice","name","isBoolean","target","value","checked","headerIndex","headers","render","onAddRow","imageSupport","configuration","toolbarOpts","spellCheck","uploadSoundSupport","baseInputConfiguration","maxImageWidth","maxImageHeight","mathMlOptions","minQuestions","errors","correctResponseError","rowsErrors","columnsErrors","noOfRowsError","columnsLengthError","filteredDefaultPlugins","DEFAULT_PLUGINS","filter","p","defaultImageMaxWidth","prompt","defaultImageMaxHeight","createElement","DragProvider","onDragEnd","moveRow","component","style","overflow","settings","map","header","idx","key","className","cx","questionText","sx","marginRight","maxWidth","onHeaderChange","markup","label","activePlugins","pluginProps","getPluginProps","inputConfiguration","autoWidthToolbar","languageCharactersProps","language","row","onDeleteRow","id","rowTitles","onAddClick","PropTypes","object","isRequired","func","shape","add","delete","bool","_default","exports"],"sources":["../src/answer-config-block.jsx"],"sourcesContent":["import { getPluginProps } from './utils';\nimport * as React from 'react';\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport Typography from '@mui/material/Typography';\nimport { styled } from '@mui/material/styles';\nimport AddRow from './add-row';\nimport Row from './row';\nimport debug from 'debug';\nimport { set } from 'lodash-es';\nimport EditableHtml, { DEFAULT_PLUGINS } from '@pie-lib/editable-html-tip-tap';\nimport { DragProvider } from '@pie-lib/drag';\nimport { color } from '@pie-lib/render-ui';\n\nconst log = debug('pie-elements:match:configure');\n\nconst Container = styled('div')(({ theme }) => ({\n marginBottom: theme.spacing(2.5),\n display: 'flex',\n flexDirection: 'column',\n}));\n\nconst RowContainer = styled('div')(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n flex: 1,\n width: '100%',\n borderBottom: `2px solid ${color.border()}`,\n paddingBottom: theme.spacing(2),\n marginTop: theme.spacing(2),\n marginBottom: theme.spacing(1),\n}));\n\nconst RowItem = styled('div')(({ theme }) => ({\n flex: 1,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n flexDirection: 'column',\n '&> div': {\n width: '120px',\n padding: `0 ${theme.spacing(1)}`,\n textAlign: 'center',\n },\n}));\n\nconst DeleteIcon = styled('div')(({ theme }) => ({\n flex: 0.5,\n minWidth: '45px',\n padding: `0 ${theme.spacing(1)}`,\n}));\n\nconst RowTable = styled('div')({\n display: 'flex',\n flexDirection: 'column',\n});\n\nconst ColumnErrorText = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize - 2,\n color: theme.palette.error.main,\n paddingTop: `${theme.spacing(1)} !important`,\n width: 'fit-content !important',\n}));\n\nconst ErrorText = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize - 2,\n color: theme.palette.error.main,\n paddingBottom: theme.spacing(1),\n}));\n\n// Global styles for EditableHtml components\nconst GlobalStyles = styled('div')(({ theme }) => ({\n '& .marginBottom': {\n marginBottom: theme.typography.fontSize - 2 + theme.spacing(1),\n },\n '& .headerInput': {\n '& > div': {\n fontWeight: 'bold',\n },\n },\n}));\n\nclass AnswerConfigBlock extends React.Component {\n static propTypes = {\n model: PropTypes.object.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n onDeleteRow: PropTypes.func.isRequired,\n onAddRow: PropTypes.func.isRequired,\n imageSupport: PropTypes.shape({\n add: PropTypes.func.isRequired,\n delete: PropTypes.func.isRequired,\n }),\n uploadSoundSupport: PropTypes.shape({\n add: PropTypes.func.isRequired,\n delete: PropTypes.func.isRequired,\n }),\n toolbarOpts: PropTypes.object,\n spellCheck: PropTypes.bool,\n };\n\n moveRow = (event) => {\n const { active, over } = event;\n\n if (!over || !active) return;\n\n const activeData = active.data.current;\n const overData = over.data.current;\n\n if (activeData?.type === 'row' && overData?.type === 'row') {\n const from = activeData.index;\n const to = overData.index;\n\n const { model, onChange } = this.props;\n const newModel = { ...model };\n const rows = newModel.rows || [];\n\n log('[moveRow]: ', from, to);\n\n const { movedRow, remainingRows } = rows.reduce(\n (acc, item, index) => {\n if (index === from) {\n acc.movedRow = item;\n } else {\n acc.remainingRows.push(item);\n }\n\n return acc;\n },\n { movedRow: null, remainingRows: [] },\n );\n\n const update = [...remainingRows.slice(0, to), movedRow, ...remainingRows.slice(to)];\n\n log('update: ', update);\n\n newModel.rows = update;\n\n onChange(newModel);\n }\n };\n\n onChange =\n (name, isBoolean) =>\n ({ target }) => {\n const { model, onChange } = this.props;\n let value;\n\n if (isBoolean) {\n value = target.checked;\n } else {\n value = target.value;\n }\n\n set(model, name, value);\n onChange(model, name);\n };\n\n onHeaderChange = (headerIndex) => (value) => {\n const { model, onChange } = this.props;\n const newModel = { ...model };\n\n if (headerIndex === 0) {\n newModel.headers[headerIndex] = value;\n onChange(newModel);\n\n return;\n }\n\n newModel.headers[headerIndex] = value;\n onChange(newModel);\n };\n\n render() {\n const { model, onAddRow, imageSupport, configuration, toolbarOpts, spellCheck, uploadSoundSupport } = this.props;\n const {\n baseInputConfiguration = {},\n headers = {},\n rows = {},\n maxImageWidth = {},\n maxImageHeight = {},\n mathMlOptions = {},\n minQuestions,\n } = configuration || {};\n const { errors } = model || {};\n const { correctResponseError, rowsErrors, columnsErrors, noOfRowsError, columnsLengthError } = errors || {};\n\n const filteredDefaultPlugins = (DEFAULT_PLUGINS || []).filter(\n (p) => p !== 'table' && p !== 'bulleted-list' && p !== 'numbered-list',\n );\n\n const defaultImageMaxWidth = maxImageWidth && maxImageWidth.prompt;\n const defaultImageMaxHeight = maxImageHeight && maxImageHeight.prompt;\n\n return (\n <GlobalStyles>\n <DragProvider onDragEnd={this.moveRow}>\n <Container>\n <Typography type=\"body1\" component=\"div\">\n Click on the labels to edit or remove. Set the correct answers by clicking each correct answer per row.\n </Typography>\n\n <RowTable style={configuration.width ? { width: configuration.width, overflow: 'scroll' } : {}}>\n <RowContainer>\n {headers.settings &&\n (model.headers || []).map((header, idx) => (\n <RowItem\n key={idx}\n className={cx({\n questionText: idx === 0,\n })}\n sx={\n idx === 0\n ? {\n flex: 2,\n display: 'flex',\n justifyContent: 'flex-start',\n marginRight: 1,\n '&> div': {\n width: '100%',\n padding: 0,\n maxWidth: 'unset',\n textAlign: 'left',\n minWidth: '200px',\n },\n }\n : {}\n }\n >\n <EditableHtml\n onChange={this.onHeaderChange(idx)}\n markup={header}\n className={columnsErrors && !columnsErrors[idx] ? 'marginBottom' : 'headerInput'}\n label={'column label'}\n activePlugins={filteredDefaultPlugins}\n pluginProps={getPluginProps(headers?.inputConfiguration, baseInputConfiguration)}\n autoWidthToolbar\n spellCheck={spellCheck}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n error={columnsErrors && columnsErrors[idx]}\n />\n {columnsErrors && columnsErrors[idx] && <ColumnErrorText>{columnsErrors[idx]}</ColumnErrorText>}\n </RowItem>\n ))}\n <DeleteIcon />\n </RowContainer>\n\n {model.rows.map((row, idx) => (\n <Row\n key={idx}\n model={model}\n row={row}\n idx={idx}\n onDeleteRow={this.props.onDeleteRow}\n onChange={this.props.onChange}\n imageSupport={imageSupport}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheck}\n error={rowsErrors?.[row.id]}\n maxImageWidth={(maxImageWidth && maxImageWidth.rowTitles) || defaultImageMaxWidth}\n maxImageHeight={(maxImageHeight && maxImageHeight.rowTitles) || defaultImageMaxHeight}\n uploadSoundSupport={uploadSoundSupport}\n mathMlOptions={mathMlOptions}\n minQuestions={minQuestions}\n inputConfiguration={getPluginProps(rows?.inputConfiguration, baseInputConfiguration)}\n />\n ))}\n\n {correctResponseError && <ErrorText>{correctResponseError}</ErrorText>}\n {noOfRowsError && <ErrorText>{noOfRowsError}</ErrorText>}\n {columnsLengthError && <ErrorText>{columnsLengthError}</ErrorText>}\n\n <AddRow onAddClick={onAddRow} />\n </RowTable>\n </Container>\n </DragProvider>\n </GlobalStyles>\n );\n }\n}\n\nexport default AnswerConfigBlock;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAD,sBAAA,CAAAJ,OAAA;AACA,IAAAM,WAAA,GAAAF,sBAAA,CAAAJ,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAJ,sBAAA,CAAAJ,OAAA;AACA,IAAAS,IAAA,GAAAL,sBAAA,CAAAJ,OAAA;AACA,IAAAU,MAAA,GAAAN,s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C,eAElEzH,KAAA,CAAAiI,aAAA,CAAC1H,OAAA,CAAAiB,OAAM;MAACyI,UAAU,EAAExD;IAAS,CAAE,CACvB,CACD,CACC,CACF,CAAC;EAEnB;AACF;AAAC,IAAAjC,gBAAA,CAAAhD,OAAA,EAtMK4C,iBAAiB,eACF;EACjBgB,KAAK,EAAE8E,kBAAS,CAACC,MAAM,CAACC,UAAU;EAClCzD,aAAa,EAAEuD,kBAAS,CAACC,MAAM,CAACC,UAAU;EAC1C/E,QAAQ,EAAE6E,kBAAS,CAACG,IAAI,CAACD,UAAU;EACnCN,WAAW,EAAEI,kBAAS,CAACG,IAAI,CAACD,UAAU;EACtC3D,QAAQ,EAAEyD,kBAAS,CAACG,IAAI,CAACD,UAAU;EACnC1D,YAAY,EAAEwD,kBAAS,CAACI,KAAK,CAAC;IAC5BC,GAAG,EAAEL,kBAAS,CAACG,IAAI,CAACD,UAAU;IAC9BI,MAAM,EAAEN,kBAAS,CAACG,IAAI,CAACD;EACzB,CAAC,CAAC;EACFtD,kBAAkB,EAAEoD,kBAAS,CAACI,KAAK,CAAC;IAClCC,GAAG,EAAEL,kBAAS,CAACG,IAAI,CAACD,UAAU;IAC9BI,MAAM,EAAEN,kBAAS,CAACG,IAAI,CAACD;EACzB,CAAC,CAAC;EACFxD,WAAW,EAAEsD,kBAAS,CAACC,MAAM;EAC7BtD,UAAU,EAAEqD,kBAAS,CAACO;AACxB,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAnJ,OAAA,GAuLY4C,iBAAiB","ignoreList":[]}
@@ -83,7 +83,7 @@ const Separator = (0, _styles.styled)('hr')(({
83
83
  }) => ({
84
84
  marginTop: theme.spacing(2),
85
85
  border: 0,
86
- borderTop: `2px solid ${theme.palette.grey['A100']}`,
86
+ borderTop: `2px solid ${_renderUi.color.border()}`,
87
87
  width: '100%'
88
88
  }));
89
89
  const ErrorText = (0, _styles.styled)('div')(({
@@ -1 +1 @@
1
- {"version":3,"file":"row.js","names":["_react","_interopRequireDefault","require","_propTypes","_styles","_configUi","_DragHandle","_Radio","_IconButton","_Delete","_core","_debug","_editableHtmlTipTap","_interopRequireWildcard","_renderUi","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","log","debug","canDrag","exports","DragHandleStyled","styled","cursor","RowContainer","theme","marginTop","spacing","display","alignItems","flex","RowItem","justifyContent","minWidth","padding","RadioButtonStyled","Radio","error","width","color","palette","main","tertiary","DeleteIcon","QuestionText","maxWidth","textAlign","marginRight","Separator","border","borderTop","grey","ErrorText","fontSize","typography","paddingTop","Row","React","Component","constructor","args","_defineProperty2","dialog","open","text","rowIndex","value","model","onChange","props","newModel","rows","title","rowValueIndex","event","choiceMode","values","length","target","checked","idx","onDeleteRow","minQuestions","setState","componentDidMount","document","addEventListener","onMouseUpOnHandle","render","imageSupport","row","inputConfiguration","toolbarOpts","spellCheck","maxImageWidth","maxImageHeight","uploadSoundSupport","mathMlOptions","state","filteredDefaultPlugins","DEFAULT_PLUGINS","filter","p","createElement","style","itemID","onMouseDown","onMouseDownOnHandle","autoWidthToolbar","disableUnderline","label","markup","onRowTitleChange","pluginProps","activePlugins","languageCharactersProps","language","map","rowValue","rowIdx","key","includes","onRowValueChange","Checkbox","onClick","size","AlertDialog","onConfirm","PropTypes","object","isRequired","number","func","shape","add","delete","string","bool","DraggableRow","attributes","listeners","setNodeRef","setDragRef","transform","transition","isDragging","useDraggable","id","data","type","index","setDropRef","isOver","useDroppable","x","y","undefined","opacity","backgroundColor","filteredListeners","onKeyDown","closest","isContentEditable","onPointerDown","ref","_extends2","_default"],"sources":["../src/row.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { styled } from '@mui/material/styles';\nimport { AlertDialog, Checkbox } from '@pie-lib/config-ui';\nimport DragHandle from '@mui/icons-material/DragHandle';\nimport Radio from '@mui/material/Radio';\nimport IconButton from '@mui/material/IconButton';\nimport Delete from '@mui/icons-material/Delete';\nimport { useDraggable, useDroppable } from '@dnd-kit/core';\nimport debug from 'debug';\nimport EditableHtml, { DEFAULT_PLUGINS } from '@pie-lib/editable-html-tip-tap';\nimport { color } from '@pie-lib/render-ui';\n\nconst log = debug('@pie-element:categorize:configure:choice');\n\nexport let canDrag = false;\n\nconst DragHandleStyled = styled('span')({\n cursor: 'move',\n});\n\nconst RowContainer = styled('div')(({ theme }) => ({\n marginTop: theme.spacing(2),\n display: 'flex',\n alignItems: 'center',\n flex: 1,\n}));\n\nconst RowItem = styled('div')(({ theme }) => ({\n flex: 1,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n minWidth: '120px',\n padding: `0 ${theme.spacing(1)}`,\n}));\n\nconst RadioButtonStyled = styled(Radio)(({ theme, error }) => ({\n '& input': {\n width: '100% !important',\n },\n '&.MuiRadio-root': {\n color: `${error ? theme.palette.error.main : color.tertiary()} !important`,\n },\n}));\n\nconst DeleteIcon = styled('div')(({ theme }) => ({\n flex: 0.5,\n display: 'flex',\n justifyContent: 'center',\n minWidth: '45px',\n padding: `0 ${theme.spacing(1)}`,\n}));\n\nconst QuestionText = styled(RowItem)(({ theme }) => ({\n flex: 2,\n display: 'flex',\n justifyContent: 'flex-start',\n padding: 0,\n maxWidth: 'unset',\n textAlign: 'left',\n minWidth: '200px',\n marginRight: theme.spacing(1),\n '&> div': {\n width: '100%',\n },\n}));\n\nconst Separator = styled('hr')(({ theme }) => ({\n marginTop: theme.spacing(2),\n border: 0,\n borderTop: `2px solid ${theme.palette.grey['A100']}`,\n width: '100%',\n}));\n\nconst ErrorText = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize - 2,\n color: theme.palette.error.main,\n paddingTop: theme.spacing(1),\n}));\n\nexport class Row extends React.Component {\n static propTypes = {\n model: PropTypes.object.isRequired,\n row: PropTypes.object.isRequired,\n idx: PropTypes.number.isRequired,\n maxImageWidth: PropTypes.object,\n maxImageHeight: PropTypes.object,\n onDeleteRow: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n imageSupport: PropTypes.shape({\n add: PropTypes.func.isRequired,\n delete: PropTypes.func.isRequired,\n }),\n uploadSoundSupport: PropTypes.shape({\n add: PropTypes.func.isRequired,\n delete: PropTypes.func.isRequired,\n }),\n inputConfiguration: PropTypes.object,\n toolbarOpts: PropTypes.object,\n error: PropTypes.string,\n spellCheck: PropTypes.bool,\n minQuestions: PropTypes.number,\n };\n\n static defaultProps = {};\n\n state = {\n dialog: {\n open: false,\n text: '',\n },\n };\n\n componentDidMount() {\n document.addEventListener('mouseup', this.onMouseUpOnHandle);\n }\n\n onRowTitleChange = (rowIndex) => (value) => {\n const { model, onChange } = this.props;\n const newModel = { ...model };\n\n newModel.rows[rowIndex].title = value;\n onChange(newModel);\n };\n\n onRowValueChange = (rowIndex, rowValueIndex) => (event) => {\n const { model, onChange } = this.props;\n const newModel = { ...model };\n\n if (model.choiceMode === 'radio') {\n for (let i = 0; i < newModel.rows[rowIndex].values.length; i++) {\n newModel.rows[rowIndex].values[i] = false;\n }\n }\n\n newModel.rows[rowIndex].values[rowValueIndex] = event.target.checked;\n\n onChange(newModel);\n };\n\n onDeleteRow = (idx) => () => {\n const { model, onDeleteRow, minQuestions } = this.props;\n\n if (model.rows && model.rows.length === minQuestions) {\n this.setState({\n dialog: {\n open: true,\n text: `There should be at least ${minQuestions} question row` + (minQuestions > 1 ? 's' : '') + '.',\n },\n });\n } else {\n onDeleteRow(idx);\n }\n };\n\n onMouseDownOnHandle = () => {\n canDrag = true;\n };\n\n onMouseUpOnHandle = () => {\n canDrag = false;\n };\n\n render() {\n const {\n imageSupport,\n model,\n row,\n idx,\n inputConfiguration = {},\n toolbarOpts,\n spellCheck,\n error,\n maxImageWidth,\n maxImageHeight,\n uploadSoundSupport,\n mathMlOptions = {},\n } = this.props;\n const { dialog } = this.state;\n\n const filteredDefaultPlugins = (DEFAULT_PLUGINS || []).filter(\n (p) => p !== 'bulleted-list' && p !== 'numbered-list',\n );\n\n return (\n <div style={{ width: '100%' }}>\n <DragHandleStyled itemID={'handle'} onMouseDown={this.onMouseDownOnHandle}>\n <DragHandle color={'primary'} />\n </DragHandleStyled>\n\n <RowContainer>\n <QuestionText>\n <EditableHtml\n imageSupport={imageSupport}\n autoWidthToolbar\n disableUnderline\n label={'label'}\n markup={row.title}\n onChange={this.onRowTitleChange(idx)}\n pluginProps={inputConfiguration}\n toolbarOpts={toolbarOpts}\n activePlugins={filteredDefaultPlugins}\n spellCheck={spellCheck}\n maxImageWidth={maxImageWidth}\n maxImageHeight={maxImageHeight}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n error={error && error !== 'No correct response defined.'}\n mathMlOptions={mathMlOptions} />\n </QuestionText>\n\n {row.values.map((rowValue, rowIdx) => (\n <RowItem key={rowIdx}>\n {model.choiceMode === 'radio' ? (\n <RadioButtonStyled\n error={error?.includes('No correct response defined.')}\n onChange={this.onRowValueChange(idx, rowIdx)}\n checked={rowValue === true} />\n ) : (\n <Checkbox\n onChange={this.onRowValueChange(idx, rowIdx)}\n checked={rowValue === true}\n label={''}\n error={error?.includes('No correct response defined.')} />\n )}\n </RowItem>\n ))}\n\n <DeleteIcon>\n <IconButton onClick={this.onDeleteRow(idx)} aria-label=\"Delete\" size=\"large\">\n <Delete />\n </IconButton>\n </DeleteIcon>\n </RowContainer>\n\n {error && <ErrorText>{error}</ErrorText>}\n <Separator />\n\n <AlertDialog\n open={dialog.open}\n title=\"Warning\"\n text={dialog.text}\n onConfirm={() => this.setState({ dialog: { open: false } })} />\n </div>\n );\n }\n}\n\n// Create a wrapper component for drag and drop functionality\nfunction DraggableRow(props) {\n const {\n attributes,\n listeners,\n setNodeRef: setDragRef,\n transform,\n transition,\n isDragging,\n } = useDraggable({\n id: `row-${props.row.id}`,\n data: {\n type: 'row',\n index: props.idx,\n id: props.row.id,\n },\n });\n\n const {\n setNodeRef: setDropRef,\n isOver,\n } = useDroppable({\n id: `row-drop-${props.row.id}`,\n data: {\n type: 'row',\n index: props.idx,\n id: props.row.id,\n },\n });\n\n const style = {\n transform: transform ? `translate3d(${transform.x}px, ${transform.y}px, 0)` : undefined,\n transition,\n opacity: isDragging ? 0.5 : 1,\n backgroundColor: isOver ? 'rgba(0, 0, 0, 0.1)' : 'transparent',\n };\n\n // edit listeners to prevent dragging when interacting with editable-html element\n const filteredListeners = {\n ...listeners,\n onKeyDown: (e) => {\n const target = e.target;\n if (\n target.closest('[contenteditable]') ||\n target.closest('input') ||\n target.closest('textarea') ||\n target.isContentEditable\n ) {\n return;\n }\n listeners?.onKeyDown?.(e);\n },\n onPointerDown: (e) => {\n const target = e.target;\n if (\n target.closest('[contenteditable]') ||\n target.closest('input') ||\n target.closest('textarea') ||\n target.isContentEditable\n ) {\n return;\n }\n listeners?.onPointerDown?.(e);\n },\n };\n\n return (\n <div ref={setDropRef} style={style}>\n <div ref={setDragRef} {...filteredListeners} {...attributes}>\n <Row {...props} />\n </div>\n </div>\n );\n}\n\nexport default DraggableRow;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,MAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,WAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,OAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,KAAA,GAAAR,OAAA;AACA,IAAAS,MAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,mBAAA,GAAAC,uBAAA,CAAAX,OAAA;AACA,IAAAY,SAAA,GAAAZ,OAAA;AAA2C,SAAAW,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD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CAACmF,OAAO,CAAC,UAAU,CAAC,IAC1BnF,MAAM,CAACoF,iBAAiB,EACxB;QACA;MACF;MACAtB,SAAS,EAAEuB,aAAa,GAAGrK,CAAC,CAAC;IAC/B;EACF,CAAC;EAED,oBACEf,MAAA,CAAAyB,OAAA,CAAA+F,aAAA;IAAK6D,GAAG,EAAEb,UAAW;IAAC/C,KAAK,EAAEA;EAAM,gBACjCzH,MAAA,CAAAyB,OAAA,CAAA+F,aAAA,YAAA8D,SAAA,CAAA7J,OAAA;IAAK4J,GAAG,EAAEtB;EAAW,GAAKiB,iBAAiB,EAAMpB,UAAU,gBACzD5J,MAAA,CAAAyB,OAAA,CAAA+F,aAAA,CAAC/C,GAAG,EAAKa,KAAQ,CACd,CACF,CAAC;AAEV;AAAC,IAAAiG,QAAA,GAAAlJ,OAAA,CAAAZ,OAAA,GAEckI,YAAY","ignoreList":[]}
1
+ {"version":3,"file":"row.js","names":["_react","_interopRequireDefault","require","_propTypes","_styles","_configUi","_DragHandle","_Radio","_IconButton","_Delete","_core","_debug","_editableHtmlTipTap","_interopRequireWildcard","_renderUi","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","log","debug","canDrag","exports","DragHandleStyled","styled","cursor","RowContainer","theme","marginTop","spacing","display","alignItems","flex","RowItem","justifyContent","minWidth","padding","RadioButtonStyled","Radio","error","width","color","palette","main","tertiary","DeleteIcon","QuestionText","maxWidth","textAlign","marginRight","Separator","border","borderTop","ErrorText","fontSize","typography","paddingTop","Row","React","Component","constructor","args","_defineProperty2","dialog","open","text","rowIndex","value","model","onChange","props","newModel","rows","title","rowValueIndex","event","choiceMode","values","length","target","checked","idx","onDeleteRow","minQuestions","setState","componentDidMount","document","addEventListener","onMouseUpOnHandle","render","imageSupport","row","inputConfiguration","toolbarOpts","spellCheck","maxImageWidth","maxImageHeight","uploadSoundSupport","mathMlOptions","state","filteredDefaultPlugins","DEFAULT_PLUGINS","filter","p","createElement","style","itemID","onMouseDown","onMouseDownOnHandle","autoWidthToolbar","disableUnderline","label","markup","onRowTitleChange","pluginProps","activePlugins","languageCharactersProps","language","map","rowValue","rowIdx","key","includes","onRowValueChange","Checkbox","onClick","size","AlertDialog","onConfirm","PropTypes","object","isRequired","number","func","shape","add","delete","string","bool","DraggableRow","attributes","listeners","setNodeRef","setDragRef","transform","transition","isDragging","useDraggable","id","data","type","index","setDropRef","isOver","useDroppable","x","y","undefined","opacity","backgroundColor","filteredListeners","onKeyDown","closest","isContentEditable","onPointerDown","ref","_extends2","_default"],"sources":["../src/row.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { styled } from '@mui/material/styles';\nimport { AlertDialog, Checkbox } from '@pie-lib/config-ui';\nimport DragHandle from '@mui/icons-material/DragHandle';\nimport Radio from '@mui/material/Radio';\nimport IconButton from '@mui/material/IconButton';\nimport Delete from '@mui/icons-material/Delete';\nimport { useDraggable, useDroppable } from '@dnd-kit/core';\nimport debug from 'debug';\nimport EditableHtml, { DEFAULT_PLUGINS } from '@pie-lib/editable-html-tip-tap';\nimport { color } from '@pie-lib/render-ui';\n\nconst log = debug('@pie-element:categorize:configure:choice');\n\nexport let canDrag = false;\n\nconst DragHandleStyled = styled('span')({\n cursor: 'move',\n});\n\nconst RowContainer = styled('div')(({ theme }) => ({\n marginTop: theme.spacing(2),\n display: 'flex',\n alignItems: 'center',\n flex: 1,\n}));\n\nconst RowItem = styled('div')(({ theme }) => ({\n flex: 1,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n minWidth: '120px',\n padding: `0 ${theme.spacing(1)}`,\n}));\n\nconst RadioButtonStyled = styled(Radio)(({ theme, error }) => ({\n '& input': {\n width: '100% !important',\n },\n '&.MuiRadio-root': {\n color: `${error ? theme.palette.error.main : color.tertiary()} !important`,\n },\n}));\n\nconst DeleteIcon = styled('div')(({ theme }) => ({\n flex: 0.5,\n display: 'flex',\n justifyContent: 'center',\n minWidth: '45px',\n padding: `0 ${theme.spacing(1)}`,\n}));\n\nconst QuestionText = styled(RowItem)(({ theme }) => ({\n flex: 2,\n display: 'flex',\n justifyContent: 'flex-start',\n padding: 0,\n maxWidth: 'unset',\n textAlign: 'left',\n minWidth: '200px',\n marginRight: theme.spacing(1),\n '&> div': {\n width: '100%',\n },\n}));\n\nconst Separator = styled('hr')(({ theme }) => ({\n marginTop: theme.spacing(2),\n border: 0,\n borderTop: `2px solid ${color.border()}`,\n width: '100%',\n}));\n\nconst ErrorText = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize - 2,\n color: theme.palette.error.main,\n paddingTop: theme.spacing(1),\n}));\n\nexport class Row extends React.Component {\n static propTypes = {\n model: PropTypes.object.isRequired,\n row: PropTypes.object.isRequired,\n idx: PropTypes.number.isRequired,\n maxImageWidth: PropTypes.object,\n maxImageHeight: PropTypes.object,\n onDeleteRow: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n imageSupport: PropTypes.shape({\n add: PropTypes.func.isRequired,\n delete: PropTypes.func.isRequired,\n }),\n uploadSoundSupport: PropTypes.shape({\n add: PropTypes.func.isRequired,\n delete: PropTypes.func.isRequired,\n }),\n inputConfiguration: PropTypes.object,\n toolbarOpts: PropTypes.object,\n error: PropTypes.string,\n spellCheck: PropTypes.bool,\n minQuestions: PropTypes.number,\n };\n\n static defaultProps = {};\n\n state = {\n dialog: {\n open: false,\n text: '',\n },\n };\n\n componentDidMount() {\n document.addEventListener('mouseup', this.onMouseUpOnHandle);\n }\n\n onRowTitleChange = (rowIndex) => (value) => {\n const { model, onChange } = this.props;\n const newModel = { ...model };\n\n newModel.rows[rowIndex].title = value;\n onChange(newModel);\n };\n\n onRowValueChange = (rowIndex, rowValueIndex) => (event) => {\n const { model, onChange } = this.props;\n const newModel = { ...model };\n\n if (model.choiceMode === 'radio') {\n for (let i = 0; i < newModel.rows[rowIndex].values.length; i++) {\n newModel.rows[rowIndex].values[i] = false;\n }\n }\n\n newModel.rows[rowIndex].values[rowValueIndex] = event.target.checked;\n\n onChange(newModel);\n };\n\n onDeleteRow = (idx) => () => {\n const { model, onDeleteRow, minQuestions } = this.props;\n\n if (model.rows && model.rows.length === minQuestions) {\n this.setState({\n dialog: {\n open: true,\n text: `There should be at least ${minQuestions} question row` + (minQuestions > 1 ? 's' : '') + '.',\n },\n });\n } else {\n onDeleteRow(idx);\n }\n };\n\n onMouseDownOnHandle = () => {\n canDrag = true;\n };\n\n onMouseUpOnHandle = () => {\n canDrag = false;\n };\n\n render() {\n const {\n imageSupport,\n model,\n row,\n idx,\n inputConfiguration = {},\n toolbarOpts,\n spellCheck,\n error,\n maxImageWidth,\n maxImageHeight,\n uploadSoundSupport,\n mathMlOptions = {},\n } = this.props;\n const { dialog } = this.state;\n\n const filteredDefaultPlugins = (DEFAULT_PLUGINS || []).filter(\n (p) => p !== 'bulleted-list' && p !== 'numbered-list',\n );\n\n return (\n <div style={{ width: '100%' }}>\n <DragHandleStyled itemID={'handle'} onMouseDown={this.onMouseDownOnHandle}>\n <DragHandle color={'primary'} />\n </DragHandleStyled>\n\n <RowContainer>\n <QuestionText>\n <EditableHtml\n imageSupport={imageSupport}\n autoWidthToolbar\n disableUnderline\n label={'label'}\n markup={row.title}\n onChange={this.onRowTitleChange(idx)}\n pluginProps={inputConfiguration}\n toolbarOpts={toolbarOpts}\n activePlugins={filteredDefaultPlugins}\n spellCheck={spellCheck}\n maxImageWidth={maxImageWidth}\n maxImageHeight={maxImageHeight}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n error={error && error !== 'No correct response defined.'}\n mathMlOptions={mathMlOptions} />\n </QuestionText>\n\n {row.values.map((rowValue, rowIdx) => (\n <RowItem key={rowIdx}>\n {model.choiceMode === 'radio' ? (\n <RadioButtonStyled\n error={error?.includes('No correct response defined.')}\n onChange={this.onRowValueChange(idx, rowIdx)}\n checked={rowValue === true} />\n ) : (\n <Checkbox\n onChange={this.onRowValueChange(idx, rowIdx)}\n checked={rowValue === true}\n label={''}\n error={error?.includes('No correct response defined.')} />\n )}\n </RowItem>\n ))}\n\n <DeleteIcon>\n <IconButton onClick={this.onDeleteRow(idx)} aria-label=\"Delete\" size=\"large\">\n <Delete />\n </IconButton>\n </DeleteIcon>\n </RowContainer>\n\n {error && <ErrorText>{error}</ErrorText>}\n <Separator />\n\n <AlertDialog\n open={dialog.open}\n title=\"Warning\"\n text={dialog.text}\n onConfirm={() => this.setState({ dialog: { open: false } })} />\n </div>\n );\n }\n}\n\n// Create a wrapper component for drag and drop functionality\nfunction DraggableRow(props) {\n const {\n attributes,\n listeners,\n setNodeRef: setDragRef,\n transform,\n transition,\n isDragging,\n } = useDraggable({\n id: `row-${props.row.id}`,\n data: {\n type: 'row',\n index: props.idx,\n id: props.row.id,\n },\n });\n\n const {\n setNodeRef: setDropRef,\n isOver,\n } = useDroppable({\n id: `row-drop-${props.row.id}`,\n data: {\n type: 'row',\n index: props.idx,\n id: props.row.id,\n },\n });\n\n const style = {\n transform: transform ? `translate3d(${transform.x}px, ${transform.y}px, 0)` : undefined,\n transition,\n opacity: isDragging ? 0.5 : 1,\n backgroundColor: isOver ? 'rgba(0, 0, 0, 0.1)' : 'transparent',\n };\n\n // edit listeners to prevent dragging when interacting with editable-html element\n const filteredListeners = {\n ...listeners,\n onKeyDown: (e) => {\n const target = e.target;\n if (\n target.closest('[contenteditable]') ||\n target.closest('input') ||\n target.closest('textarea') ||\n target.isContentEditable\n ) {\n return;\n }\n listeners?.onKeyDown?.(e);\n },\n onPointerDown: (e) => {\n const target = e.target;\n if (\n target.closest('[contenteditable]') ||\n target.closest('input') ||\n target.closest('textarea') ||\n target.isContentEditable\n ) {\n return;\n }\n listeners?.onPointerDown?.(e);\n },\n };\n\n return (\n <div ref={setDropRef} style={style}>\n <div ref={setDragRef} {...filteredListeners} {...attributes}>\n <Row {...props} />\n </div>\n </div>\n );\n}\n\nexport default DraggableRow;\n"],"mappings":";;;;;;;;;AAAA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B,GAAG;IACxB,GAAGnB,SAAS;IACZoB,SAAS,EAAGjK,CAAC,IAAK;MAChB,MAAM+E,MAAM,GAAG/E,CAAC,CAAC+E,MAAM;MACvB,IACEA,MAAM,CAACmF,OAAO,CAAC,mBAAmB,CAAC,IACnCnF,MAAM,CAACmF,OAAO,CAAC,OAAO,CAAC,IACvBnF,MAAM,CAACmF,OAAO,CAAC,UAAU,CAAC,IAC1BnF,MAAM,CAACoF,iBAAiB,EACxB;QACA;MACF;MACAtB,SAAS,EAAEoB,SAAS,GAAGjK,CAAC,CAAC;IAC3B,CAAC;IACDoK,aAAa,EAAGpK,CAAC,IAAK;MACpB,MAAM+E,MAAM,GAAG/E,CAAC,CAAC+E,MAAM;MACvB,IACEA,MAAM,CAACmF,OAAO,CAAC,mBAAmB,CAAC,IACnCnF,MAAM,CAACmF,OAAO,CAAC,OAAO,CAAC,IACvBnF,MAAM,CAACmF,OAAO,CAAC,UAAU,CAAC,IAC1BnF,MAAM,CAACoF,iBAAiB,EACxB;QACA;MACF;MACAtB,SAAS,EAAEuB,aAAa,GAAGpK,CAAC,CAAC;IAC/B;EACF,CAAC;EAED,oBACEf,MAAA,CAAAyB,OAAA,CAAA8F,aAAA;IAAK6D,GAAG,EAAEb,UAAW;IAAC/C,KAAK,EAAEA;EAAM,gBACjCxH,MAAA,CAAAyB,OAAA,CAAA8F,aAAA,YAAA8D,SAAA,CAAA5J,OAAA;IAAK2J,GAAG,EAAEtB;EAAW,GAAKiB,iBAAiB,EAAMpB,UAAU,gBACzD3J,MAAA,CAAAyB,OAAA,CAAA8F,aAAA,CAAC/C,GAAG,EAAKa,KAAQ,CACd,CACF,CAAC;AAEV;AAAC,IAAAiG,QAAA,GAAAjJ,OAAA,CAAAZ,OAAA,GAEciI,YAAY","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pie-element/match-configure",
3
3
  "private": true,
4
- "version": "10.4.0-beta.10",
4
+ "version": "10.2.3",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
@@ -13,11 +13,11 @@
13
13
  "@mui/icons-material": "^7.3.4",
14
14
  "@mui/material": "^7.3.4",
15
15
  "@pie-framework/pie-configure-events": "^1.3.0",
16
- "@pie-lib/config-ui": "13.1.0-beta.8",
17
- "@pie-lib/drag": "4.0.6",
18
- "@pie-lib/editable-html-tip-tap": "2.2.0-beta.8",
19
- "@pie-lib/render-ui": "6.1.3",
20
- "@pie-lib/test-utils": "2.0.2",
16
+ "@pie-lib/config-ui": "13.0.20",
17
+ "@pie-lib/drag": "4.1.3",
18
+ "@pie-lib/editable-html-tip-tap": "2.1.18",
19
+ "@pie-lib/render-ui": "7.0.2",
20
+ "@pie-lib/test-utils": "2.0.3",
21
21
  "classnames": "^2.2.6",
22
22
  "debug": "^4.1.1",
23
23
  "lodash-es": "^4.17.23",
@@ -3,64 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [10.4.0-beta.10](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.4.0-beta.9...@pie-element/match-controller@10.4.0-beta.10) (2026-09-11)
6
+ ## [10.1.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.1.2...@pie-element/match-controller@10.1.4) (2026-08-13)
7
7
 
8
8
  **Note:** Version bump only for package @pie-element/match-controller
9
9
 
10
- # [10.4.0-beta.9](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.4.0-beta.8...@pie-element/match-controller@10.4.0-beta.9) (2026-09-04)
10
+ ## [10.1.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.1.2...@pie-element/match-controller@10.1.3) (2026-08-11)
11
11
 
12
12
  **Note:** Version bump only for package @pie-element/match-controller
13
13
 
14
- # [10.4.0-beta.8](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.4.0-beta.7...@pie-element/match-controller@10.4.0-beta.8) (2026-08-26)
14
+ ## [10.1.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.1.1...@pie-element/match-controller@10.1.2) (2026-07-02)
15
15
 
16
- **Note:** Version bump only for package @pie-element/match-controller
17
-
18
- # [10.4.0-beta.7](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.4.0-beta.6...@pie-element/match-controller@10.4.0-beta.7) (2026-08-20)
19
-
20
- **Note:** Version bump only for package @pie-element/match-controller
21
-
22
- # [10.4.0-beta.6](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.4.0-beta.5...@pie-element/match-controller@10.4.0-beta.6) (2026-08-14)
23
-
24
- **Note:** Version bump only for package @pie-element/match-controller
25
-
26
- # [10.4.0-beta.5](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.4.0-beta.4...@pie-element/match-controller@10.4.0-beta.5) (2026-08-11)
27
-
28
- **Note:** Version bump only for package @pie-element/match-controller
29
-
30
- # [10.4.0-beta.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.4.0-beta.3...@pie-element/match-controller@10.4.0-beta.4) (2026-08-11)
31
-
32
- **Note:** Version bump only for package @pie-element/match-controller
33
-
34
- # [10.4.0-beta.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.4.0-beta.2...@pie-element/match-controller@10.4.0-beta.3) (2026-08-11)
35
-
36
- **Note:** Version bump only for package @pie-element/match-controller
37
-
38
- # [10.4.0-beta.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.4.0-beta.1...@pie-element/match-controller@10.4.0-beta.2) (2026-08-11)
39
-
40
- **Note:** Version bump only for package @pie-element/match-controller
41
-
42
- # [10.4.0-beta.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.4.0-beta.0...@pie-element/match-controller@10.4.0-beta.1) (2026-08-07)
43
-
44
- **Note:** Version bump only for package @pie-element/match-controller
45
-
46
- # [10.4.0-beta.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.3.0-beta.0...@pie-element/match-controller@10.4.0-beta.0) (2026-08-07)
47
-
48
- **Note:** Version bump only for package @pie-element/match-controller
49
-
50
- # [10.3.0-beta.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.3.0-beta.0...@pie-element/match-controller@10.3.0-beta.1) (2026-08-07)
16
+ ### Bug Fixes
51
17
 
52
- **Note:** Version bump only for package @pie-element/match-controller
18
+ - bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
53
19
 
54
- # [10.3.0-beta.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.2.0-beta.0...@pie-element/match-controller@10.3.0-beta.0) (2026-08-07)
20
+ ## [10.1.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.1.0...@pie-element/match-controller@10.1.1) (2026-05-21)
55
21
 
56
22
  **Note:** Version bump only for package @pie-element/match-controller
57
23
 
58
- # [10.2.0-beta.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.1.0...@pie-element/match-controller@10.2.0-beta.0) (2026-08-07)
59
-
60
- ### Bug Fixes
61
-
62
- - bump shared modules and libs PIE-695, PIE-697, PIE-699, PIE-680, PIE-714, PIE-665, PIE-656 ([4b76ae7](https://github.com/pie-framework/pie-elements/commit/4b76ae75d1c5ea6d55f7c6fb53f299dfcbda2b1f))
63
-
64
24
  # [10.1.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/match-controller@10.1.0-next.1...@pie-element/match-controller@10.1.0) (2026-05-21)
65
25
 
66
26
  ### Bug Fixes
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pie-element/match-controller",
3
3
  "private": true,
4
- "version": "10.4.0-beta.10",
4
+ "version": "10.1.4",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "12.2.2-beta.4",
7
+ "version": "12.2.3",
8
8
  "main": "lib/index.js",
9
9
  "description": "",
10
10
  "scripts": {
@@ -16,10 +16,10 @@
16
16
  "@mui/icons-material": "^7.3.4",
17
17
  "@mui/material": "^7.3.4",
18
18
  "@pie-framework/pie-player-events": "^0.1.0",
19
- "@pie-lib/correct-answer-toggle": "4.0.5",
19
+ "@pie-lib/correct-answer-toggle": "4.0.8",
20
20
  "@pie-lib/math-rendering": "5.1.0",
21
- "@pie-lib/render-ui": "6.1.3",
22
- "@pie-lib/test-utils": "2.0.2",
21
+ "@pie-lib/render-ui": "7.0.2",
22
+ "@pie-lib/test-utils": "2.0.3",
23
23
  "classnames": "^2.2.6",
24
24
  "debug": "^4.1.1",
25
25
  "lodash-es": "^4.17.23",
@@ -29,6 +29,6 @@
29
29
  },
30
30
  "author": "",
31
31
  "license": "ISC",
32
- "gitHead": "ea2044e67d20167c0cdee2d96f4914a710255e54",
32
+ "gitHead": "bd790474fe017b02ae4eaa21d4d18959fa1a0bb3",
33
33
  "module": "src/index.js"
34
34
  }