@mathscan/math-exercise-engine 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14175,12 +14175,13 @@ const SingleDragOption = ({
|
|
|
14175
14175
|
const PillBackground = ({
|
|
14176
14176
|
width = "100%",
|
|
14177
14177
|
minHeight = "72px",
|
|
14178
|
-
fill
|
|
14178
|
+
fill,
|
|
14179
14179
|
children,
|
|
14180
14180
|
className = "",
|
|
14181
14181
|
style,
|
|
14182
14182
|
...rest
|
|
14183
14183
|
}) => {
|
|
14184
|
+
const pillVarStyle = fill ? { "--exercise-pill-bg": fill } : {};
|
|
14184
14185
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14185
14186
|
"div",
|
|
14186
14187
|
{
|
|
@@ -14192,6 +14193,7 @@ const PillBackground = ({
|
|
|
14192
14193
|
justifyContent: "center",
|
|
14193
14194
|
width,
|
|
14194
14195
|
minHeight,
|
|
14196
|
+
...pillVarStyle,
|
|
14195
14197
|
...style
|
|
14196
14198
|
},
|
|
14197
14199
|
...rest,
|
|
@@ -14213,8 +14215,8 @@ const PillBackground = ({
|
|
|
14213
14215
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14214
14216
|
"path",
|
|
14215
14217
|
{
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
|
+
className: "pill-bg-path",
|
|
14219
|
+
d: "M439.707 0C457.071 0 472.52 8.196 482.398 20.9297C498.608 26.3308 510 39.1028 510 54C510 68.8966 498.608 81.667 482.399 87.0684C472.521 99.803 457.072 108 439.707 108H70.8975C53.653 108 38.2956 99.9172 28.4092 87.333C11.7719 82.0918 0.00025108 69.1432 0 54C0 38.8562 11.7721 25.906 28.4102 20.665C38.2966 8.08186 53.6537 0 70.8975 0H439.707Z"
|
|
14218
14220
|
}
|
|
14219
14221
|
)
|
|
14220
14222
|
}
|