@agentero/design-system 0.31.6 → 0.31.8
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.
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
<main>
|
|
595
595
|
<div class="wrap">
|
|
596
596
|
<div class="note ok" style="margin-bottom: 16px;">
|
|
597
|
-
Using <code>react-component-meta</code>. Generation took <strong>
|
|
597
|
+
Using <code>react-component-meta</code>. Generation took <strong>4.6s</strong>.
|
|
598
598
|
</div>
|
|
599
599
|
<h2 class="section-title">Components</h2>
|
|
600
600
|
<div class="grid" role="list">
|
package/package.json
CHANGED
package/src/switch/switch.js
CHANGED
|
@@ -10,9 +10,10 @@ var o = t({
|
|
|
10
10
|
wrapper: "inline-flex items-center gap-2.5",
|
|
11
11
|
root: [
|
|
12
12
|
"peer inline-flex shrink-0 cursor-pointer items-center rounded-full transition-colors",
|
|
13
|
-
"bg-
|
|
13
|
+
"bg-slate-200 enabled:hover:bg-slate-300",
|
|
14
|
+
"enabled:data-[state=checked]:bg-slate-700 enabled:data-[state=checked]:hover:bg-slate-900",
|
|
14
15
|
"focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus-ring-button-primary",
|
|
15
|
-
"disabled:cursor-not-allowed disabled:
|
|
16
|
+
"disabled:cursor-not-allowed disabled:bg-slate-100"
|
|
16
17
|
],
|
|
17
18
|
thumb: "block translate-x-0 rounded-full bg-bg-default-base-primary shadow-sm transition-transform",
|
|
18
19
|
label: ["cursor-pointer text-sm text-text-default-base-primary select-none", "peer-disabled:cursor-not-allowed peer-disabled:opacity-50"]
|