@max-ts/kit 1.8.0 → 1.8.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,MAAM,CAAC,EACtB,SAAS,EACT,
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,wBAAgB,MAAM,CAAC,EACtB,SAAS,EACT,IAAe,EACf,GAAG,KAAK,EACR,EAAE,WAAW,CAAC,IAAI,+BAclB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,yBAAiB,WAAW,CAAC;IAC5B,KAAY,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,GAAG;QACtC,IAAI,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,yBAAiB,WAAW,CAAC;IAC5B,KAAY,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,GAAG;QACtC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;KAC1B,CAAC;CACF"}
|
package/lib/index.mjs
CHANGED
|
@@ -5428,7 +5428,7 @@ const Sidebar_Sidebar = Object.assign(SidebarRoot, {
|
|
|
5428
5428
|
});
|
|
5429
5429
|
var Switch_styles_css_root = 'style__gj1ia10';
|
|
5430
5430
|
var Switch_styles_css_thumb = 'style__gj1ia11';
|
|
5431
|
-
function Switch_Switch({ className, size = '
|
|
5431
|
+
function Switch_Switch({ className, size = 'medium', ...props }) {
|
|
5432
5432
|
return /*#__PURE__*/ jsx(Switch.Root, {
|
|
5433
5433
|
"data-slot": "switch",
|
|
5434
5434
|
"data-size": size,
|
package/lib/styles.css
CHANGED
|
@@ -5554,12 +5554,12 @@ a.outline__1af895x4:hover {
|
|
|
5554
5554
|
position: relative;
|
|
5555
5555
|
}
|
|
5556
5556
|
|
|
5557
|
-
.style__gj1ia10[data-size="
|
|
5557
|
+
.style__gj1ia10[data-size="small"] {
|
|
5558
5558
|
width: 24px;
|
|
5559
5559
|
height: 14px;
|
|
5560
5560
|
}
|
|
5561
5561
|
|
|
5562
|
-
.style__gj1ia10[data-size="
|
|
5562
|
+
.style__gj1ia10[data-size="medium"] {
|
|
5563
5563
|
width: 32px;
|
|
5564
5564
|
height: 18.4px;
|
|
5565
5565
|
}
|
|
@@ -5589,29 +5589,29 @@ a.outline__1af895x4:hover {
|
|
|
5589
5589
|
display: block;
|
|
5590
5590
|
}
|
|
5591
5591
|
|
|
5592
|
-
.style__gj1ia10[data-size="
|
|
5592
|
+
.style__gj1ia10[data-size="small"] .style__gj1ia11 {
|
|
5593
5593
|
width: 12px;
|
|
5594
5594
|
height: 12px;
|
|
5595
5595
|
}
|
|
5596
5596
|
|
|
5597
|
-
.style__gj1ia10[data-size="
|
|
5597
|
+
.style__gj1ia10[data-size="medium"] .style__gj1ia11 {
|
|
5598
5598
|
width: 16px;
|
|
5599
5599
|
height: 16px;
|
|
5600
5600
|
}
|
|
5601
5601
|
|
|
5602
|
-
.style__gj1ia10[data-size="
|
|
5602
|
+
.style__gj1ia10[data-size="small"][data-unchecked] .style__gj1ia11 {
|
|
5603
5603
|
transform: translateX(0);
|
|
5604
5604
|
}
|
|
5605
5605
|
|
|
5606
|
-
.style__gj1ia10[data-size="
|
|
5606
|
+
.style__gj1ia10[data-size="small"][data-checked] .style__gj1ia11 {
|
|
5607
5607
|
transform: translateX(calc(100% - 2px));
|
|
5608
5608
|
}
|
|
5609
5609
|
|
|
5610
|
-
.style__gj1ia10[data-size="
|
|
5610
|
+
.style__gj1ia10[data-size="medium"][data-unchecked] .style__gj1ia11 {
|
|
5611
5611
|
transform: translateX(0);
|
|
5612
5612
|
}
|
|
5613
5613
|
|
|
5614
|
-
.style__gj1ia10[data-size="
|
|
5614
|
+
.style__gj1ia10[data-size="medium"][data-checked] .style__gj1ia11 {
|
|
5615
5615
|
transform: translateX(calc(100% - 2px));
|
|
5616
5616
|
}
|
|
5617
5617
|
|