@pie-lib/math-input 6.13.0-beta.0 → 6.14.0
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.json +6 -1536
- package/CHANGELOG.md +124 -129
- package/lib/horizontal-keypad.js +1 -1
- package/lib/horizontal-keypad.js.map +1 -0
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -0
- package/lib/keypad/index.js +4 -4
- package/lib/keypad/index.js.map +1 -0
- package/lib/keypad/keys-layout.js +1 -1
- package/lib/keypad/keys-layout.js.map +1 -0
- package/lib/keys/basic-operators.js +1 -1
- package/lib/keys/basic-operators.js.map +1 -0
- package/lib/keys/chars.js +1 -1
- package/lib/keys/chars.js.map +1 -0
- package/lib/keys/comparison.js +1 -1
- package/lib/keys/comparison.js.map +1 -0
- package/lib/keys/constants.js +1 -1
- package/lib/keys/constants.js.map +1 -0
- package/lib/keys/digits.js +1 -1
- package/lib/keys/digits.js.map +1 -0
- package/lib/keys/edit.js +1 -1
- package/lib/keys/edit.js.map +1 -0
- package/lib/keys/exponent.js +1 -1
- package/lib/keys/exponent.js.map +1 -0
- package/lib/keys/fractions.js +1 -1
- package/lib/keys/fractions.js.map +1 -0
- package/lib/keys/geometry.js +1 -1
- package/lib/keys/geometry.js.map +1 -0
- package/lib/keys/grades.js +1 -1
- package/lib/keys/grades.js.map +1 -0
- package/lib/keys/index.js +1 -1
- package/lib/keys/index.js.map +1 -0
- package/lib/keys/log.js +1 -1
- package/lib/keys/log.js.map +1 -0
- package/lib/keys/logic.js +1 -1
- package/lib/keys/logic.js.map +1 -0
- package/lib/keys/matrices.js +1 -1
- package/lib/keys/matrices.js.map +1 -0
- package/lib/keys/misc.js +1 -1
- package/lib/keys/misc.js.map +1 -0
- package/lib/keys/navigation.js +1 -1
- package/lib/keys/navigation.js.map +1 -0
- package/lib/keys/operators.js +1 -1
- package/lib/keys/operators.js.map +1 -0
- package/lib/keys/statistics.js +1 -1
- package/lib/keys/statistics.js.map +1 -0
- package/lib/keys/sub-sup.js +1 -1
- package/lib/keys/sub-sup.js.map +1 -0
- package/lib/keys/trigonometry.js +1 -1
- package/lib/keys/trigonometry.js.map +1 -0
- package/lib/keys/utils.js +1 -1
- package/lib/keys/utils.js.map +1 -0
- package/lib/keys/vars.js +1 -1
- package/lib/keys/vars.js.map +1 -0
- package/lib/math-input.js +1 -1
- package/lib/math-input.js.map +1 -0
- package/lib/mq/common-mq-styles.js +1 -1
- package/lib/mq/common-mq-styles.js.map +1 -0
- package/lib/mq/custom-elements.js +1 -1
- package/lib/mq/custom-elements.js.map +1 -0
- package/lib/mq/index.js +1 -1
- package/lib/mq/index.js.map +1 -0
- package/lib/mq/input.js +1 -1
- package/lib/mq/input.js.map +1 -0
- package/lib/mq/static.js +1 -1
- package/lib/mq/static.js.map +1 -0
- package/lib/shared/constants.js +16 -0
- package/lib/updateSpans.js +1 -1
- package/lib/updateSpans.js.map +1 -0
- package/package.json +4 -2
- package/src/__tests__/math-input-test.jsx +1 -1
- package/src/index.jsx +1 -1
- package/src/keypad/index.jsx +3 -3
- package/lib/__tests__/math-input-test.js +0 -109
- package/lib/keypad/__tests__/index.test.js +0 -41
- package/lib/keypad/__tests__/keys-layout.test.js +0 -15
- package/lib/keys/__tests__/utils.test.js +0 -60
- package/lib/mq/__tests__/input.test.js +0 -119
- package/lib/mq/__tests__/static.test.js +0 -74
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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
|
-
# [6.
|
|
6
|
+
# [6.14.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.14.0) (2025-07-31)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
# [6.
|
|
14
|
+
# [6.13.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.13.0) (2025-07-31)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
17
17
|
|
|
@@ -19,18 +19,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
### Bug Fixes
|
|
22
|
+
# [6.12.0-beta.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.8) (2025-07-25)
|
|
26
23
|
|
|
27
|
-
|
|
24
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
28
25
|
|
|
29
26
|
|
|
30
27
|
|
|
31
28
|
|
|
32
29
|
|
|
33
|
-
|
|
30
|
+
# [6.12.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.7) (2025-07-25)
|
|
34
31
|
|
|
35
32
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
36
33
|
|
|
@@ -38,52 +35,47 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
38
35
|
|
|
39
36
|
|
|
40
37
|
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
# [6.12.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.7) (2025-07-25)
|
|
43
39
|
|
|
44
|
-
|
|
40
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
45
41
|
|
|
46
|
-
* made sure font roboto is used for insert special characters PD-1914 ([cc875de](https://github.com/pie-framework/pie-lib/commit/cc875de6f04a673ca614c5072f9e4efc3bc71a70))
|
|
47
42
|
|
|
48
43
|
|
|
49
44
|
|
|
50
45
|
|
|
46
|
+
# [6.12.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.6) (2025-07-25)
|
|
51
47
|
|
|
52
|
-
|
|
48
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
53
49
|
|
|
54
50
|
|
|
55
|
-
### Bug Fixes
|
|
56
51
|
|
|
57
|
-
* **eslint:** fix eslint problems-PD-2732 ([9eb9976](https://github.com/pie-framework/pie-lib/commit/9eb9976749753da86e1057a07bd2cfc65bf64ae4))
|
|
58
|
-
* **math-input:** add required import for MathQuill-PD-2732 ([532d786](https://github.com/pie-framework/pie-lib/commit/532d7866fa48a5f9ac68f6d26f31b0e28ac54acf))
|
|
59
52
|
|
|
60
53
|
|
|
54
|
+
# [6.12.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.6) (2025-07-25)
|
|
61
55
|
|
|
56
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
62
57
|
|
|
63
58
|
|
|
64
|
-
# [6.11.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.13...@pie-lib/math-input@6.11.0) (2023-04-07)
|
|
65
59
|
|
|
66
60
|
|
|
67
|
-
### Features
|
|
68
61
|
|
|
69
|
-
|
|
62
|
+
# [6.12.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.5) (2025-07-25)
|
|
70
63
|
|
|
64
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
71
65
|
|
|
72
66
|
|
|
73
67
|
|
|
74
68
|
|
|
75
|
-
## [6.10.13](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.12...@pie-lib/math-input@6.10.13) (2023-03-20)
|
|
76
69
|
|
|
70
|
+
# [6.12.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.5) (2025-07-25)
|
|
77
71
|
|
|
78
|
-
|
|
72
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
79
73
|
|
|
80
|
-
* **math-input:** add important to mq button padding to fix issue in IBX with css priority PD-2702 ([3e40576](https://github.com/pie-framework/pie-lib/commit/3e405767f070ec22cf9315ef9f852f8c8c7d6228))
|
|
81
74
|
|
|
82
75
|
|
|
83
76
|
|
|
84
77
|
|
|
85
|
-
|
|
86
|
-
## [6.10.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.10...@pie-lib/math-input@6.10.12) (2023-01-31)
|
|
78
|
+
# [6.12.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.4) (2025-07-25)
|
|
87
79
|
|
|
88
80
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
89
81
|
|
|
@@ -91,7 +83,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
91
83
|
|
|
92
84
|
|
|
93
85
|
|
|
94
|
-
|
|
86
|
+
# [6.12.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.3) (2025-07-25)
|
|
95
87
|
|
|
96
88
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
97
89
|
|
|
@@ -99,7 +91,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
99
91
|
|
|
100
92
|
|
|
101
93
|
|
|
102
|
-
|
|
94
|
+
# [6.12.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.4) (2025-07-23)
|
|
103
95
|
|
|
104
96
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
105
97
|
|
|
@@ -107,7 +99,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
107
99
|
|
|
108
100
|
|
|
109
101
|
|
|
110
|
-
|
|
102
|
+
# [6.12.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.3) (2025-07-23)
|
|
111
103
|
|
|
112
104
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
113
105
|
|
|
@@ -115,7 +107,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
115
107
|
|
|
116
108
|
|
|
117
109
|
|
|
118
|
-
|
|
110
|
+
# [6.12.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.3) (2025-07-20)
|
|
119
111
|
|
|
120
112
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
121
113
|
|
|
@@ -123,7 +115,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
123
115
|
|
|
124
116
|
|
|
125
117
|
|
|
126
|
-
|
|
118
|
+
# [6.12.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.2) (2025-07-20)
|
|
127
119
|
|
|
128
120
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
129
121
|
|
|
@@ -131,7 +123,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
131
123
|
|
|
132
124
|
|
|
133
125
|
|
|
134
|
-
|
|
126
|
+
# [6.12.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.1) (2025-07-20)
|
|
135
127
|
|
|
136
128
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
137
129
|
|
|
@@ -139,32 +131,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
139
131
|
|
|
140
132
|
|
|
141
133
|
|
|
142
|
-
# [6.
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
### Features
|
|
146
|
-
|
|
147
|
-
* **math-input:** solve eslint error ([b4489aa](https://github.com/pie-framework/pie-lib/commit/b4489aad65d5a92989ea32294589b5a030019ecb))
|
|
148
|
-
|
|
134
|
+
# [6.12.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.2) (2025-07-20)
|
|
149
135
|
|
|
136
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
150
137
|
|
|
151
138
|
|
|
152
139
|
|
|
153
|
-
# [6.9.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.8.4...@pie-lib/math-input@6.9.0) (2022-12-19)
|
|
154
140
|
|
|
155
141
|
|
|
156
|
-
|
|
142
|
+
# [6.12.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.1) (2025-07-20)
|
|
157
143
|
|
|
158
|
-
|
|
159
|
-
* **math-input:** add labels to math-operators and buttons that screen readers can use ([ad64881](https://github.com/pie-framework/pie-lib/commit/ad648818c060de1fad9c30b62d3bf73d8d7481fb))
|
|
160
|
-
* **math-input:** refactor ([71bd61c](https://github.com/pie-framework/pie-lib/commit/71bd61cb1e0efb5b2a3e0119eea0239a4863e9ac))
|
|
161
|
-
* **math-input:** update snapshots ([4fe88e1](https://github.com/pie-framework/pie-lib/commit/4fe88e1264667218b59ecfd956e205ae22d0f2a6))
|
|
144
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
162
145
|
|
|
163
146
|
|
|
164
147
|
|
|
165
148
|
|
|
166
149
|
|
|
167
|
-
|
|
150
|
+
# [6.12.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.1) (2025-07-20)
|
|
168
151
|
|
|
169
152
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
170
153
|
|
|
@@ -172,208 +155,220 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
172
155
|
|
|
173
156
|
|
|
174
157
|
|
|
175
|
-
|
|
158
|
+
# [6.12.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.0) (2025-07-20)
|
|
176
159
|
|
|
160
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
177
161
|
|
|
178
|
-
### Bug Fixes
|
|
179
162
|
|
|
180
|
-
* PD-1858 not working with the fraction button in Advanced Multi mode (mq.Static) PD-2030 PD-2031 ([46d1168](https://github.com/pie-framework/pie-lib/commit/46d116874c063524c764cb6d7035fed6bfa84dfb))
|
|
181
163
|
|
|
182
164
|
|
|
183
165
|
|
|
166
|
+
# [6.13.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.13.0-beta.0) (2025-07-15)
|
|
184
167
|
|
|
168
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
185
169
|
|
|
186
|
-
|
|
170
|
+
# [6.12.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.4...@pie-lib/math-input@6.12.0-beta.0) (2025-07-15)
|
|
187
171
|
|
|
172
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
173
|
+
|
|
174
|
+
## [6.11.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.3...@pie-lib/math-input@6.11.4) (2023-07-04)
|
|
188
175
|
|
|
189
176
|
### Bug Fixes
|
|
190
177
|
|
|
191
|
-
|
|
192
|
-
* PD-1858 not working with a mixed number if the integer part is multi-digit PD-2029 ([773f51c](https://github.com/pie-framework/pie-lib/commit/773f51cc54a2af72a1e9bd225ba9be27d8b1de52))
|
|
178
|
+
- prevent crash PD-2150 ([3491c09](https://github.com/pie-framework/pie-lib/commit/3491c09aa5ad947e1248254e79043e5a909d2cde))
|
|
193
179
|
|
|
180
|
+
## [6.11.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.2...@pie-lib/math-input@6.11.3) (2023-06-24)
|
|
194
181
|
|
|
182
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
195
183
|
|
|
184
|
+
## [6.11.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.1...@pie-lib/math-input@6.11.2) (2023-05-22)
|
|
196
185
|
|
|
186
|
+
### Bug Fixes
|
|
197
187
|
|
|
198
|
-
|
|
188
|
+
- made sure font roboto is used for insert special characters PD-1914 ([cc875de](https://github.com/pie-framework/pie-lib/commit/cc875de6f04a673ca614c5072f9e4efc3bc71a70))
|
|
199
189
|
|
|
200
|
-
|
|
190
|
+
## [6.11.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.11.0...@pie-lib/math-input@6.11.1) (2023-04-19)
|
|
201
191
|
|
|
192
|
+
### Bug Fixes
|
|
202
193
|
|
|
194
|
+
- **eslint:** fix eslint problems-PD-2732 ([9eb9976](https://github.com/pie-framework/pie-lib/commit/9eb9976749753da86e1057a07bd2cfc65bf64ae4))
|
|
195
|
+
- **math-input:** add required import for MathQuill-PD-2732 ([532d786](https://github.com/pie-framework/pie-lib/commit/532d7866fa48a5f9ac68f6d26f31b0e28ac54acf))
|
|
203
196
|
|
|
197
|
+
# [6.11.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.13...@pie-lib/math-input@6.11.0) (2023-04-07)
|
|
204
198
|
|
|
199
|
+
### Features
|
|
205
200
|
|
|
206
|
-
|
|
201
|
+
- **math-input:** add two exponent buttons to the grade 3-5 math editor PD-2728 ([b7b87a5](https://github.com/pie-framework/pie-lib/commit/b7b87a5c0c2ca2c3e600cdac696cab3c0a576e87))
|
|
207
202
|
|
|
203
|
+
## [6.10.13](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.12...@pie-lib/math-input@6.10.13) (2023-03-20)
|
|
208
204
|
|
|
209
|
-
###
|
|
205
|
+
### Bug Fixes
|
|
210
206
|
|
|
211
|
-
|
|
212
|
-
* parse latex when there's an integer and a space before a fraction (remove white space) PD-1858 ([85654e5](https://github.com/pie-framework/pie-lib/commit/85654e54b9feef656c0002e9d1b2bda2394f398e))
|
|
213
|
-
* **math-input:** feedback ([6b6ee68](https://github.com/pie-framework/pie-lib/commit/6b6ee6852c6226c446a498ad64c2b43e23f9c154))
|
|
214
|
-
* **math-input:** Make math-input style inline with mathjax's one ([e988f63](https://github.com/pie-framework/pie-lib/commit/e988f635f6f75cbe882b3bf7efb716de13fd893d))
|
|
207
|
+
- **math-input:** add important to mq button padding to fix issue in IBX with css priority PD-2702 ([3e40576](https://github.com/pie-framework/pie-lib/commit/3e405767f070ec22cf9315ef9f852f8c8c7d6228))
|
|
215
208
|
|
|
209
|
+
## [6.10.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.10...@pie-lib/math-input@6.10.12) (2023-01-31)
|
|
216
210
|
|
|
211
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
217
212
|
|
|
213
|
+
## [6.10.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.9...@pie-lib/math-input@6.10.10) (2023-01-31)
|
|
218
214
|
|
|
215
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
219
216
|
|
|
220
|
-
## [6.
|
|
217
|
+
## [6.10.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.8...@pie-lib/math-input@6.10.9) (2023-01-31)
|
|
221
218
|
|
|
219
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
222
220
|
|
|
223
|
-
|
|
221
|
+
## [6.10.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.7...@pie-lib/math-input@6.10.8) (2023-01-31)
|
|
224
222
|
|
|
225
|
-
|
|
223
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
226
224
|
|
|
225
|
+
## [6.10.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.4...@pie-lib/math-input@6.10.7) (2023-01-31)
|
|
227
226
|
|
|
227
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
228
228
|
|
|
229
|
+
## [6.10.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.2...@pie-lib/math-input@6.10.4) (2023-01-31)
|
|
229
230
|
|
|
231
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
230
232
|
|
|
231
|
-
## [6.
|
|
233
|
+
## [6.10.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.10.0...@pie-lib/math-input@6.10.2) (2023-01-31)
|
|
232
234
|
|
|
235
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
233
236
|
|
|
234
|
-
|
|
237
|
+
# [6.10.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.9.0...@pie-lib/math-input@6.10.0) (2023-01-03)
|
|
235
238
|
|
|
236
|
-
|
|
237
|
-
* Revert "feat(math-toolbar): Make math-toolbar preview style inline with mathjax" ([bb86c35](https://github.com/pie-framework/pie-lib/commit/bb86c35ed56228c673020faf5ea089fb99418fd8))
|
|
239
|
+
### Features
|
|
238
240
|
|
|
241
|
+
- **math-input:** solve eslint error ([b4489aa](https://github.com/pie-framework/pie-lib/commit/b4489aad65d5a92989ea32294589b5a030019ecb))
|
|
239
242
|
|
|
243
|
+
# [6.9.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.8.4...@pie-lib/math-input@6.9.0) (2022-12-19)
|
|
240
244
|
|
|
245
|
+
### Features
|
|
241
246
|
|
|
247
|
+
- **math-input:** add aria label property for latex buttons ([5aa5b35](https://github.com/pie-framework/pie-lib/commit/5aa5b351c969e13a6a225c7c3d5015e70a3d1c18))
|
|
248
|
+
- **math-input:** add labels to math-operators and buttons that screen readers can use ([ad64881](https://github.com/pie-framework/pie-lib/commit/ad648818c060de1fad9c30b62d3bf73d8d7481fb))
|
|
249
|
+
- **math-input:** refactor ([71bd61c](https://github.com/pie-framework/pie-lib/commit/71bd61cb1e0efb5b2a3e0119eea0239a4863e9ac))
|
|
250
|
+
- **math-input:** update snapshots ([4fe88e1](https://github.com/pie-framework/pie-lib/commit/4fe88e1264667218b59ecfd956e205ae22d0f2a6))
|
|
242
251
|
|
|
243
|
-
|
|
252
|
+
## [6.8.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.8.3...@pie-lib/math-input@6.8.4) (2022-11-23)
|
|
244
253
|
|
|
254
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
245
255
|
|
|
246
|
-
|
|
256
|
+
## [6.8.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.8.2...@pie-lib/math-input@6.8.3) (2022-11-17)
|
|
247
257
|
|
|
248
|
-
|
|
249
|
-
* **math-toolbar:** Make math-toolbar preview style inline with mathjax ([266b1bc](https://github.com/pie-framework/pie-lib/commit/266b1bc9a277530fd653edfacbb836596957dd33))
|
|
250
|
-
* **math-toolbar:** Make math-toolbar style inline with mathjax for Geometry ([811bde0](https://github.com/pie-framework/pie-lib/commit/811bde0aa97633822fa3260666e298e841b6b9f7))
|
|
251
|
-
* **plugins:** added special characters adding capabilities [PD-1462] ([b9f41e1](https://github.com/pie-framework/pie-lib/commit/b9f41e11f44df140a66145d0b04558ca2b0ea48e))
|
|
258
|
+
### Bug Fixes
|
|
252
259
|
|
|
260
|
+
- PD-1858 not working with the fraction button in Advanced Multi mode (mq.Static) PD-2030 PD-2031 ([46d1168](https://github.com/pie-framework/pie-lib/commit/46d116874c063524c764cb6d7035fed6bfa84dfb))
|
|
253
261
|
|
|
262
|
+
## [6.8.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.8.1...@pie-lib/math-input@6.8.2) (2022-11-14)
|
|
254
263
|
|
|
264
|
+
### Bug Fixes
|
|
255
265
|
|
|
266
|
+
- PD-1858 (Math editor tweak to better handle the entry of mixed numbers) - not working with a mixed number if the integer part is multi-digit PD-1858, PD-2029, PD-2030, PD-2031 ([158e76a](https://github.com/pie-framework/pie-lib/commit/158e76a48bec66b1f026811bb1856fa4af5668f3))
|
|
267
|
+
- PD-1858 not working with a mixed number if the integer part is multi-digit PD-2029 ([773f51c](https://github.com/pie-framework/pie-lib/commit/773f51cc54a2af72a1e9bd225ba9be27d8b1de52))
|
|
256
268
|
|
|
257
|
-
## [6.
|
|
269
|
+
## [6.8.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.8.0...@pie-lib/math-input@6.8.1) (2022-08-30)
|
|
258
270
|
|
|
259
271
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
260
272
|
|
|
273
|
+
# [6.8.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.7.2...@pie-lib/math-input@6.8.0) (2022-08-29)
|
|
261
274
|
|
|
275
|
+
### Features
|
|
262
276
|
|
|
277
|
+
- parse latex when there's an integer and a space before a fraction (remove white space) - wip - PD-1858 ([13995de](https://github.com/pie-framework/pie-lib/commit/13995de67283a3c800f41ee8221f6d2e3f10a7ad))
|
|
278
|
+
- parse latex when there's an integer and a space before a fraction (remove white space) PD-1858 ([85654e5](https://github.com/pie-framework/pie-lib/commit/85654e54b9feef656c0002e9d1b2bda2394f398e))
|
|
279
|
+
- **math-input:** feedback ([6b6ee68](https://github.com/pie-framework/pie-lib/commit/6b6ee6852c6226c446a498ad64c2b43e23f9c154))
|
|
280
|
+
- **math-input:** Make math-input style inline with mathjax's one ([e988f63](https://github.com/pie-framework/pie-lib/commit/e988f635f6f75cbe882b3bf7efb716de13fd893d))
|
|
263
281
|
|
|
282
|
+
## [6.7.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.7.1...@pie-lib/math-input@6.7.2) (2022-07-19)
|
|
264
283
|
|
|
265
|
-
|
|
284
|
+
### Bug Fixes
|
|
266
285
|
|
|
286
|
+
- bump mathquill to 1.1.3 ([48b84c5](https://github.com/pie-framework/pie-lib/commit/48b84c534cbf519e172a80d18a48b26eda3cf7e6))
|
|
267
287
|
|
|
268
|
-
|
|
288
|
+
## [6.7.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.7.0...@pie-lib/math-input@6.7.1) (2022-07-18)
|
|
269
289
|
|
|
270
|
-
|
|
290
|
+
### Reverts
|
|
271
291
|
|
|
292
|
+
- Revert "feat(math-toolbar): Make math-toolbar style inline with mathjax for Geometry" ([fee3f22](https://github.com/pie-framework/pie-lib/commit/fee3f22897a03d1d5c892f731dfc441dba9ed10f))
|
|
293
|
+
- Revert "feat(math-toolbar): Make math-toolbar preview style inline with mathjax" ([bb86c35](https://github.com/pie-framework/pie-lib/commit/bb86c35ed56228c673020faf5ea089fb99418fd8))
|
|
272
294
|
|
|
295
|
+
# [6.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.10...@pie-lib/math-input@6.7.0) (2022-07-18)
|
|
273
296
|
|
|
297
|
+
### Features
|
|
274
298
|
|
|
299
|
+
- **characters:** special character accents span 2 rows, added border for visibility [PD-1462](<[c60b0bc](https://github.com/pie-framework/pie-lib/commit/c60b0bc8ff45cc01f53bc752fd5dd64da623f6be)>)
|
|
300
|
+
- **math-toolbar:** Make math-toolbar preview style inline with mathjax ([266b1bc](https://github.com/pie-framework/pie-lib/commit/266b1bc9a277530fd653edfacbb836596957dd33))
|
|
301
|
+
- **math-toolbar:** Make math-toolbar style inline with mathjax for Geometry ([811bde0](https://github.com/pie-framework/pie-lib/commit/811bde0aa97633822fa3260666e298e841b6b9f7))
|
|
302
|
+
- **plugins:** added special characters adding capabilities [PD-1462](<[b9f41e1](https://github.com/pie-framework/pie-lib/commit/b9f41e11f44df140a66145d0b04558ca2b0ea48e)>)
|
|
275
303
|
|
|
276
|
-
## [6.6.
|
|
304
|
+
## [6.6.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.9...@pie-lib/math-input@6.6.10) (2022-06-13)
|
|
277
305
|
|
|
278
306
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
279
307
|
|
|
308
|
+
## [6.6.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.8...@pie-lib/math-input@6.6.9) (2022-04-12)
|
|
280
309
|
|
|
310
|
+
### Bug Fixes
|
|
281
311
|
|
|
312
|
+
- **math-input:** PD-1669 handle latex with errors in keypad buttons ([6b36f17](https://github.com/pie-framework/pie-lib/commit/6b36f175deffbd0a0fe021f4f7a11d7c4f14a014))
|
|
282
313
|
|
|
283
|
-
|
|
284
|
-
## [6.6.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.6...@pie-lib/math-input@6.6.7) (2022-01-10)
|
|
314
|
+
## [6.6.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.7...@pie-lib/math-input@6.6.8) (2022-02-04)
|
|
285
315
|
|
|
286
316
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
287
317
|
|
|
318
|
+
## [6.6.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.6...@pie-lib/math-input@6.6.7) (2022-01-10)
|
|
288
319
|
|
|
289
|
-
|
|
290
|
-
|
|
320
|
+
**Note:** Version bump only for package @pie-lib/math-input
|
|
291
321
|
|
|
292
322
|
## [6.6.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.5...@pie-lib/math-input@6.6.6) (2021-10-04)
|
|
293
323
|
|
|
294
|
-
|
|
295
324
|
### Bug Fixes
|
|
296
325
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
326
|
+
- **math-input:** Fixed left-right arrow button ([6109149](https://github.com/pie-framework/pie-lib/commit/6109149))
|
|
302
327
|
|
|
303
328
|
## [6.6.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.4...@pie-lib/math-input@6.6.5) (2021-10-04)
|
|
304
329
|
|
|
305
|
-
|
|
306
330
|
### Bug Fixes
|
|
307
331
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
332
|
+
- **math-input:** create proper latex expression for log base button ([ca0c3f0](https://github.com/pie-framework/pie-lib/commit/ca0c3f0))
|
|
333
|
+
- **math-input:** Made overarc button consistent with the others PD-1315 ([8726469](https://github.com/pie-framework/pie-lib/commit/8726469))
|
|
334
|
+
- **math-input:** Made segment, ray and line buttons more consistent PD-1315 ([e7e4e29](https://github.com/pie-framework/pie-lib/commit/e7e4e29))
|
|
315
335
|
|
|
316
336
|
## [6.6.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.3...@pie-lib/math-input@6.6.4) (2021-09-20)
|
|
317
337
|
|
|
318
|
-
|
|
319
338
|
### Bug Fixes
|
|
320
339
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
340
|
+
- **math-input, math-toolbar:** Adjusted parallelogram button size ([699431e](https://github.com/pie-framework/pie-lib/commit/699431e))
|
|
326
341
|
|
|
327
342
|
## [6.6.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.2...@pie-lib/math-input@6.6.3) (2021-09-16)
|
|
328
343
|
|
|
329
|
-
|
|
330
344
|
### Bug Fixes
|
|
331
345
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
346
|
+
- **math-input:** render measured angle as m + angle sign PD-368 ([670fb56](https://github.com/pie-framework/pie-lib/commit/670fb56))
|
|
337
347
|
|
|
338
348
|
## [6.6.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.1...@pie-lib/math-input@6.6.2) (2021-09-08)
|
|
339
349
|
|
|
340
350
|
**Note:** Version bump only for package @pie-lib/math-input
|
|
341
351
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
352
|
## [6.6.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.6.0...@pie-lib/math-input@6.6.1) (2021-09-08)
|
|
347
353
|
|
|
348
|
-
|
|
349
354
|
### Bug Fixes
|
|
350
355
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
- **math-input:** default latex when received is wrong ([d872f60](https://github.com/pie-framework/pie-lib/commit/d872f60))
|
|
357
|
+
- **math-input:** default latex when received is wrong (2) ([dc71307](https://github.com/pie-framework/pie-lib/commit/dc71307))
|
|
358
|
+
- **math-input:** fix e button on advanced algebra math editor PD-1280 ([dbfb53b](https://github.com/pie-framework/pie-lib/commit/dbfb53b))
|
|
359
|
+
- **math-input:** Fixed arrows button for pits ([66dd6a9](https://github.com/pie-framework/pie-lib/commit/66dd6a9))
|
|
359
360
|
|
|
360
361
|
# [6.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.14...@pie-lib/math-input@6.6.0) (2021-08-30)
|
|
361
362
|
|
|
362
|
-
|
|
363
363
|
### Bug Fixes
|
|
364
364
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
365
|
+
- **math-input:** Fixed custom keys behavior and changed label for (),[] and absolute value PD-1251 ([39f2ddb](https://github.com/pie-framework/pie-lib/commit/39f2ddb))
|
|
366
|
+
- **math-toolbar:** Made segment, ray and line more consistent PD-1264 ([1a2ad37](https://github.com/pie-framework/pie-lib/commit/1a2ad37))
|
|
367
|
+
- **math-toolbar & math-input:** render parallel sign with bigger font PD-1258 ([418fc28](https://github.com/pie-framework/pie-lib/commit/418fc28))
|
|
369
368
|
|
|
370
369
|
### Features
|
|
371
370
|
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
371
|
+
- **math-input, math-toolbar:** add long division button in math editor PD-888 ([3056990](https://github.com/pie-framework/pie-lib/commit/3056990))
|
|
377
372
|
|
|
378
373
|
## [6.5.14](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-input@6.5.12...@pie-lib/math-input@6.5.14) (2021-06-25)
|
|
379
374
|
|
package/lib/horizontal-keypad.js
CHANGED
|
@@ -121,4 +121,4 @@ exports["default"] = HorizontalKeypad;
|
|
|
121
121
|
noDecimal: false,
|
|
122
122
|
additionalKeys: []
|
|
123
123
|
});
|
|
124
|
-
//# sourceMappingURL=
|
|
124
|
+
//# sourceMappingURL=horizontal-keypad.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/horizontal-keypad.jsx"],"names":["toOldModel","d","command","value","type","write","keystroke","HorizontalKeypad","data","onClick","props","mode","onFocus","controlledKeypadMode","noDecimal","className","additionalKeys","layoutForKeyPad","setKeypadInteraction","normalizedKeys","keypadPress","React","Component","PropTypes","string","bool","oneOfType","number","object","func","isRequired","array"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAACC,CAAD,EAAO;AACxB,MAAIA,CAAC,CAACC,OAAN,EAAe;AACb,WAAO;AAAEC,MAAAA,KAAK,EAAEF,CAAC,CAACC,OAAX;AAAoBE,MAAAA,IAAI,EAAE;AAA1B,KAAP;AACD,GAFD,MAEO,IAAIH,CAAC,CAACI,KAAN,EAAa;AAClB,WAAO;AAAEF,MAAAA,KAAK,EAAEF,CAAC,CAACI;AAAX,KAAP;AACD,GAFM,MAEA,IAAIJ,CAAC,CAACK,SAAN,EAAiB;AACtB,WAAO;AAAEF,MAAAA,IAAI,EAAE,QAAR;AAAkBD,MAAAA,KAAK,EAAEF,CAAC,CAACK;AAA3B,KAAP;AACD;AACF,CARD;;IAUqBC,gB;;;;;;;;;;;;;;;oGAmBL,UAACC,IAAD,EAAU;AACtB,UAAQC,OAAR,GAAoB,MAAKC,KAAzB,CAAQD,OAAR;AAEAA,MAAAA,OAAO,CAACT,UAAU,CAACQ,IAAD,CAAX,CAAP;AACD,K;;;;;;WAED,kBAAS;AACP,wBASI,KAAKE,KATT;AAAA,UACEC,IADF,eACEA,IADF;AAAA,UAEEC,OAFF,eAEEA,OAFF;AAAA,UAGEC,oBAHF,eAGEA,oBAHF;AAAA,UAIEC,SAJF,eAIEA,SAJF;AAAA,UAKEC,SALF,eAKEA,SALF;AAAA,UAMEC,cANF,eAMEA,cANF;AAAA,UAOEC,eAPF,eAOEA,eAPF;AAAA,UAQEC,oBARF,eAQEA,oBARF;AAUA,UAAMC,cAAc,GAAG,qCAAwBH,cAAxB,CAAvB;AAEA,0BACE,gCAAC,kBAAD;AACE,QAAA,SAAS,EAAED,SADb;AAEE,QAAA,oBAAoB,EAAEF,oBAFxB;AAGE,QAAA,OAAO,EAAED,OAHX;AAIE,QAAA,SAAS,EAAEE,SAJb;AAKE,QAAA,eAAe,EAAEG,eALnB;AAME,QAAA,cAAc,EAAE,yBAAa,0BAAaN,IAAb,CAAb,EAAiCQ,cAAjC,CANlB;AAOE,QAAA,OAAO,EAAE,KAAKC,WAPhB;AAQE,QAAA,IAAI,EAAET,IARR;AASE,QAAA,oBAAoB,EAAEO;AATxB,QADF;AAaD;;;EAnD2CG,kBAAMC,S;;;iCAA/Bf,gB,eACA;AACjBQ,EAAAA,SAAS,EAAEQ,sBAAUC,MADJ;AAEjBX,EAAAA,oBAAoB,EAAEU,sBAAUE,IAFf;AAGjBd,EAAAA,IAAI,EAAEY,sBAAUG,SAAV,CAAoB,CAACH,sBAAUC,MAAX,EAAmBD,sBAAUI,MAA7B,CAApB,CAHW;AAIjBV,EAAAA,eAAe,EAAEM,sBAAUK,MAJV;AAKjBnB,EAAAA,OAAO,EAAEc,sBAAUM,IAAV,CAAeC,UALP;AAMjBlB,EAAAA,OAAO,EAAEW,sBAAUM,IANF;AAOjBf,EAAAA,SAAS,EAAES,sBAAUE,IAPJ;AAQjBT,EAAAA,cAAc,EAAEO,sBAAUQ,KART;AASjBb,EAAAA,oBAAoB,EAAEK,sBAAUM;AATf,C;iCADAtB,gB,kBAaG;AACpBI,EAAAA,IAAI,EAAE,YADc;AAEpBG,EAAAA,SAAS,EAAE,KAFS;AAGpBE,EAAAA,cAAc,EAAE;AAHI,C","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { keysForGrade, normalizeAdditionalKeys } from './keys/grades';\nimport { extendKeySet } from './keys/utils';\nimport Keypad from './keypad';\n\nconst toOldModel = (d) => {\n if (d.command) {\n return { value: d.command, type: 'command' };\n } else if (d.write) {\n return { value: d.write };\n } else if (d.keystroke) {\n return { type: 'cursor', value: d.keystroke };\n }\n};\n\nexport default class HorizontalKeypad extends React.Component {\n static propTypes = {\n className: PropTypes.string,\n controlledKeypadMode: PropTypes.bool,\n mode: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n layoutForKeyPad: PropTypes.object,\n onClick: PropTypes.func.isRequired,\n onFocus: PropTypes.func,\n noDecimal: PropTypes.bool,\n additionalKeys: PropTypes.array,\n setKeypadInteraction: PropTypes.func,\n };\n\n static defaultProps = {\n mode: 'scientific',\n noDecimal: false,\n additionalKeys: [],\n };\n\n keypadPress = (data) => {\n const { onClick } = this.props;\n\n onClick(toOldModel(data));\n };\n\n render() {\n const {\n mode,\n onFocus,\n controlledKeypadMode,\n noDecimal,\n className,\n additionalKeys,\n layoutForKeyPad,\n setKeypadInteraction,\n } = this.props;\n const normalizedKeys = normalizeAdditionalKeys(additionalKeys);\n\n return (\n <Keypad\n className={className}\n controlledKeypadMode={controlledKeypadMode}\n onFocus={onFocus}\n noDecimal={noDecimal}\n layoutForKeyPad={layoutForKeyPad}\n additionalKeys={extendKeySet(keysForGrade(mode), normalizedKeys)}\n onPress={this.keypadPress}\n mode={mode}\n setKeypadInteraction={setKeypadInteraction}\n />\n );\n }\n}\n"],"file":"horizontal-keypad.js"}
|
package/lib/index.js
CHANGED
|
@@ -73,4 +73,4 @@ var removeBrackets = function removeBrackets(s) {
|
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
exports.removeBrackets = removeBrackets;
|
|
76
|
-
//# sourceMappingURL=
|
|
76
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.jsx"],"names":["addLeftBracket","s","indexOf","addRightBracket","length","rmLeftBracket","substring","rmRightBracket","addBrackets","removeBrackets"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAUA;;;;AAEA;;AAEA;;;;;;;;AAZA,IAAMA,cAAc,GAAG,SAAjBA,cAAiB,CAACC,CAAD;AAAA,SAAQA,CAAC,CAACC,OAAF,CAAU,KAAV,MAAqB,CAArB,GAAyBD,CAAzB,gBAAmCA,CAAnC,CAAR;AAAA,CAAvB;;AACA,IAAME,eAAe,GAAG,SAAlBA,eAAkB,CAACF,CAAD;AAAA,SAAQA,CAAC,CAACC,OAAF,CAAU,KAAV,MAAqBD,CAAC,CAACG,MAAF,GAAW,CAAhC,GAAoCH,CAApC,aAA2CA,CAA3C,QAAR;AAAA,CAAxB;;AACA,IAAMI,aAAa,GAAG,SAAhBA,aAAgB,CAACJ,CAAD;AAAA,SAAQA,CAAC,CAACC,OAAF,CAAU,KAAV,MAAqB,CAArB,GAAyBD,CAAC,CAACK,SAAF,CAAY,CAAZ,CAAzB,GAA0CL,CAAlD;AAAA,CAAtB;;AACA,IAAMM,cAAc,GAAG,SAAjBA,cAAiB,CAACN,CAAD;AAAA,SAAQA,CAAC,CAACC,OAAF,CAAU,KAAV,MAAqBD,CAAC,CAACG,MAAF,GAAW,CAAhC,GAAoCH,CAAC,CAACK,SAAF,CAAY,CAAZ,EAAeL,CAAC,CAACG,MAAF,GAAW,CAA1B,CAApC,GAAmEH,CAA3E;AAAA,CAAvB;;AAEA,IAAMO,WAAW,GAAG,SAAdA,WAAc,CAACP,CAAD;AAAA,SAAOE,eAAe,CAACH,cAAc,CAACC,CAAD,CAAf,CAAtB;AAAA,CAApB;;;;AACA,IAAMQ,cAAc,GAAG,SAAjBA,cAAiB,CAACR,CAAD;AAAA,SAAOM,cAAc,CAACF,aAAa,CAACJ,CAAD,CAAd,CAArB;AAAA,CAAvB","sourcesContent":["import { keysForGrade } from './keys/grades';\nimport { updateSpans } from './updateSpans';\n\nconst addLeftBracket = (s) => (s.indexOf('\\\\(') === 0 ? s : `\\\\(${s}`);\nconst addRightBracket = (s) => (s.indexOf('\\\\)') === s.length - 2 ? s : `${s}\\\\)`);\nconst rmLeftBracket = (s) => (s.indexOf('\\\\(') === 0 ? s.substring(2) : s);\nconst rmRightBracket = (s) => (s.indexOf('\\\\)') === s.length - 2 ? s.substring(0, s.length - 2) : s);\n\nconst addBrackets = (s) => addRightBracket(addLeftBracket(s));\nconst removeBrackets = (s) => rmRightBracket(rmLeftBracket(s));\n\nimport * as keys from './keys';\n\nimport HorizontalKeypad from './horizontal-keypad';\n\nimport * as mq from './mq';\n\nexport { keysForGrade, addBrackets, removeBrackets, keys, HorizontalKeypad, mq, updateSpans };\n"],"file":"index.js"}
|