@fctc/sme-widget-ui 2.0.4 → 2.0.5

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 CHANGED
@@ -33110,10 +33110,11 @@ var ToggleButtonField = (props) => {
33110
33110
  {
33111
33111
  style: {
33112
33112
  position: "absolute",
33113
- inset: 0
33113
+ inset: 0,
33114
+ backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
33114
33115
  },
33115
33116
  className: `rounded-full transition duration-300
33116
- ${field.value ? "bg-primary" : "bg-gray-300"}`,
33117
+ `,
33117
33118
  children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
33118
33119
  "span",
33119
33120
  {
package/dist/index.mjs CHANGED
@@ -32985,10 +32985,11 @@ var ToggleButtonField = (props) => {
32985
32985
  {
32986
32986
  style: {
32987
32987
  position: "absolute",
32988
- inset: 0
32988
+ inset: 0,
32989
+ backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
32989
32990
  },
32990
32991
  className: `rounded-full transition duration-300
32991
- ${field.value ? "bg-primary" : "bg-gray-300"}`,
32992
+ `,
32992
32993
  children: /* @__PURE__ */ jsx105(
32993
32994
  "span",
32994
32995
  {
package/dist/widgets.js CHANGED
@@ -32363,10 +32363,11 @@ var ToggleButtonField = (props) => {
32363
32363
  {
32364
32364
  style: {
32365
32365
  position: "absolute",
32366
- inset: 0
32366
+ inset: 0,
32367
+ backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
32367
32368
  },
32368
32369
  className: `rounded-full transition duration-300
32369
- ${field.value ? "bg-primary" : "bg-gray-300"}`,
32370
+ `,
32370
32371
  children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
32371
32372
  "span",
32372
32373
  {
package/dist/widgets.mjs CHANGED
@@ -32301,10 +32301,11 @@ var ToggleButtonField = (props) => {
32301
32301
  {
32302
32302
  style: {
32303
32303
  position: "absolute",
32304
- inset: 0
32304
+ inset: 0,
32305
+ backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
32305
32306
  },
32306
32307
  className: `rounded-full transition duration-300
32307
- ${field.value ? "bg-primary" : "bg-gray-300"}`,
32308
+ `,
32308
32309
  children: /* @__PURE__ */ jsx105(
32309
32310
  "span",
32310
32311
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",