@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.mjs CHANGED
@@ -14173,12 +14173,13 @@ const SingleDragOption = ({
14173
14173
  const PillBackground = ({
14174
14174
  width = "100%",
14175
14175
  minHeight = "72px",
14176
- fill = "#FFE7B4",
14176
+ fill,
14177
14177
  children,
14178
14178
  className = "",
14179
14179
  style,
14180
14180
  ...rest
14181
14181
  }) => {
14182
+ const pillVarStyle = fill ? { "--exercise-pill-bg": fill } : {};
14182
14183
  return /* @__PURE__ */ jsxs(
14183
14184
  "div",
14184
14185
  {
@@ -14190,6 +14191,7 @@ const PillBackground = ({
14190
14191
  justifyContent: "center",
14191
14192
  width,
14192
14193
  minHeight,
14194
+ ...pillVarStyle,
14193
14195
  ...style
14194
14196
  },
14195
14197
  ...rest,
@@ -14211,8 +14213,8 @@ const PillBackground = ({
14211
14213
  children: /* @__PURE__ */ jsx(
14212
14214
  "path",
14213
14215
  {
14214
- 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",
14215
- fill
14216
+ className: "pill-bg-path",
14217
+ 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"
14216
14218
  }
14217
14219
  )
14218
14220
  }