@marigold/components 6.6.3 → 6.6.4
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 +9 -5
- package/dist/index.mjs +9 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3349,9 +3349,15 @@ var _Switch = (0, import_react45.forwardRef)(
|
|
|
3349
3349
|
selected,
|
|
3350
3350
|
disabled,
|
|
3351
3351
|
readOnly,
|
|
3352
|
-
...
|
|
3352
|
+
...rest
|
|
3353
3353
|
}, ref) => {
|
|
3354
3354
|
const classNames2 = (0, import_system58.useClassNames)({ component: "Switch", size, variant });
|
|
3355
|
+
const props = {
|
|
3356
|
+
isDisabled: disabled,
|
|
3357
|
+
isReadOnly: readOnly,
|
|
3358
|
+
isSelected: selected,
|
|
3359
|
+
...rest
|
|
3360
|
+
};
|
|
3355
3361
|
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3356
3362
|
import_react_aria_components12.Switch,
|
|
3357
3363
|
{
|
|
@@ -3363,11 +3369,9 @@ var _Switch = (0, import_react45.forwardRef)(
|
|
|
3363
3369
|
"flex items-center justify-between gap-[1ch]",
|
|
3364
3370
|
classNames2.container
|
|
3365
3371
|
),
|
|
3366
|
-
isDisabled: disabled,
|
|
3367
|
-
isReadOnly: readOnly,
|
|
3368
3372
|
children: [
|
|
3369
|
-
children,
|
|
3370
|
-
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "
|
|
3373
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(_Label, { elementType: "span", children }),
|
|
3374
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3371
3375
|
"div",
|
|
3372
3376
|
{
|
|
3373
3377
|
className: (0, import_system58.cn)(
|
package/dist/index.mjs
CHANGED
|
@@ -3343,9 +3343,15 @@ var _Switch = forwardRef16(
|
|
|
3343
3343
|
selected,
|
|
3344
3344
|
disabled,
|
|
3345
3345
|
readOnly,
|
|
3346
|
-
...
|
|
3346
|
+
...rest
|
|
3347
3347
|
}, ref) => {
|
|
3348
3348
|
const classNames2 = useClassNames37({ component: "Switch", size, variant });
|
|
3349
|
+
const props = {
|
|
3350
|
+
isDisabled: disabled,
|
|
3351
|
+
isReadOnly: readOnly,
|
|
3352
|
+
isSelected: selected,
|
|
3353
|
+
...rest
|
|
3354
|
+
};
|
|
3349
3355
|
return /* @__PURE__ */ jsxs31(
|
|
3350
3356
|
Switch,
|
|
3351
3357
|
{
|
|
@@ -3357,11 +3363,9 @@ var _Switch = forwardRef16(
|
|
|
3357
3363
|
"flex items-center justify-between gap-[1ch]",
|
|
3358
3364
|
classNames2.container
|
|
3359
3365
|
),
|
|
3360
|
-
isDisabled: disabled,
|
|
3361
|
-
isReadOnly: readOnly,
|
|
3362
3366
|
children: [
|
|
3363
|
-
children,
|
|
3364
|
-
/* @__PURE__ */ jsx71("div", { className: "
|
|
3367
|
+
/* @__PURE__ */ jsx71(_Label, { elementType: "span", children }),
|
|
3368
|
+
/* @__PURE__ */ jsx71("div", { className: "relative", children: /* @__PURE__ */ jsx71(
|
|
3365
3369
|
"div",
|
|
3366
3370
|
{
|
|
3367
3371
|
className: cn37(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marigold/components",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.4",
|
|
4
4
|
"description": "Components for the Marigold Design System",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"@react-types/table": "3.9.0",
|
|
86
86
|
"@react-types/tooltip": "3.4.5",
|
|
87
87
|
"react-aria-components": "1.0.0-beta.2",
|
|
88
|
-
"@marigold/icons": "1.2.
|
|
89
|
-
"@marigold/system": "6.6.
|
|
88
|
+
"@marigold/icons": "1.2.25",
|
|
89
|
+
"@marigold/system": "6.6.4",
|
|
90
90
|
"@marigold/types": "1.1.0"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|