@fctc/sme-widget-ui 2.2.2 → 2.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/dist/index.js CHANGED
@@ -33133,7 +33133,7 @@ var ToggleButtonField = (props) => {
33133
33133
  style: {
33134
33134
  position: "absolute",
33135
33135
  inset: 0,
33136
- backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
33136
+ background: field.value ? "var(--color-primary)" : "#D1D5D8"
33137
33137
  },
33138
33138
  className: `rounded-full transition duration-300
33139
33139
  `,
@@ -33146,7 +33146,7 @@ var ToggleButtonField = (props) => {
33146
33146
  bottom: "2px",
33147
33147
  width: "16px",
33148
33148
  height: "16px",
33149
- backgroundColor: "white",
33149
+ background: "white",
33150
33150
  borderRadius: "9999px",
33151
33151
  transition: "transform 0.3s",
33152
33152
  transform: field.value ? "translateX(12px)" : "translateX(0)"
package/dist/index.mjs CHANGED
@@ -33007,7 +33007,7 @@ var ToggleButtonField = (props) => {
33007
33007
  style: {
33008
33008
  position: "absolute",
33009
33009
  inset: 0,
33010
- backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
33010
+ background: field.value ? "var(--color-primary)" : "#D1D5D8"
33011
33011
  },
33012
33012
  className: `rounded-full transition duration-300
33013
33013
  `,
@@ -33020,7 +33020,7 @@ var ToggleButtonField = (props) => {
33020
33020
  bottom: "2px",
33021
33021
  width: "16px",
33022
33022
  height: "16px",
33023
- backgroundColor: "white",
33023
+ background: "white",
33024
33024
  borderRadius: "9999px",
33025
33025
  transition: "transform 0.3s",
33026
33026
  transform: field.value ? "translateX(12px)" : "translateX(0)"
package/dist/widgets.js CHANGED
@@ -32384,7 +32384,7 @@ var ToggleButtonField = (props) => {
32384
32384
  style: {
32385
32385
  position: "absolute",
32386
32386
  inset: 0,
32387
- backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
32387
+ background: field.value ? "var(--color-primary)" : "#D1D5D8"
32388
32388
  },
32389
32389
  className: `rounded-full transition duration-300
32390
32390
  `,
@@ -32397,7 +32397,7 @@ var ToggleButtonField = (props) => {
32397
32397
  bottom: "2px",
32398
32398
  width: "16px",
32399
32399
  height: "16px",
32400
- backgroundColor: "white",
32400
+ background: "white",
32401
32401
  borderRadius: "9999px",
32402
32402
  transition: "transform 0.3s",
32403
32403
  transform: field.value ? "translateX(12px)" : "translateX(0)"
package/dist/widgets.mjs CHANGED
@@ -32322,7 +32322,7 @@ var ToggleButtonField = (props) => {
32322
32322
  style: {
32323
32323
  position: "absolute",
32324
32324
  inset: 0,
32325
- backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
32325
+ background: field.value ? "var(--color-primary)" : "#D1D5D8"
32326
32326
  },
32327
32327
  className: `rounded-full transition duration-300
32328
32328
  `,
@@ -32335,7 +32335,7 @@ var ToggleButtonField = (props) => {
32335
32335
  bottom: "2px",
32336
32336
  width: "16px",
32337
32337
  height: "16px",
32338
- backgroundColor: "white",
32338
+ background: "white",
32339
32339
  borderRadius: "9999px",
32340
32340
  transition: "transform 0.3s",
32341
32341
  transform: field.value ? "translateX(12px)" : "translateX(0)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",