myshell-react-lib 0.1.55 → 0.1.56
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.cjs +18 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +18 -4
- package/dist/index.js.map +1 -1
- package/dist/styles/design2-dark.scss +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12079,12 +12079,14 @@ var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
|
12079
12079
|
var switchSize = {
|
|
12080
12080
|
sm: "w-7 h-4",
|
|
12081
12081
|
md: "w-[34px] h-5",
|
|
12082
|
-
lg: "w-10 h-6"
|
|
12082
|
+
lg: "w-10 h-6",
|
|
12083
|
+
xl: "w-12 h-7"
|
|
12083
12084
|
};
|
|
12084
12085
|
var switchVerticalSize = {
|
|
12085
12086
|
sm: "h-7 w-4",
|
|
12086
12087
|
md: "h-[34px] w-5",
|
|
12087
|
-
lg: "h-10 w-6"
|
|
12088
|
+
lg: "h-10 w-6",
|
|
12089
|
+
xl: "h-12 w-7"
|
|
12088
12090
|
};
|
|
12089
12091
|
var switchRootVariants = (0, import_class_variance_authority16.cva)('peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-2 data-[state=unchecked]:focus-visible:bg-cc-Switch-bg-default disabled:cursor-not-allowed disabled:opacity-30 data-[state="checked"]:bg-cc-Switch-bg-on data-[state="unchecked"]:bg-cc-Switch-bg-default', {
|
|
12090
12092
|
variants: {
|
|
@@ -12108,6 +12110,11 @@ var switchRootVariants = (0, import_class_variance_authority16.cva)('peer inline
|
|
|
12108
12110
|
vertical: true,
|
|
12109
12111
|
size: "lg",
|
|
12110
12112
|
className: switchVerticalSize.lg
|
|
12113
|
+
},
|
|
12114
|
+
{
|
|
12115
|
+
vertical: true,
|
|
12116
|
+
size: "xl",
|
|
12117
|
+
className: switchVerticalSize.xl
|
|
12111
12118
|
}
|
|
12112
12119
|
],
|
|
12113
12120
|
defaultVariants: {
|
|
@@ -12120,7 +12127,8 @@ var switchThumbVariants = (0, import_class_variance_authority16.cva)("pointer-ev
|
|
|
12120
12127
|
size: {
|
|
12121
12128
|
sm: "w-3 h-3 data-[state=checked]:translate-x-3",
|
|
12122
12129
|
md: "w-4 h-4 data-[state=checked]:translate-x-[14px]",
|
|
12123
|
-
lg: "w-5 h-5 data-[state=checked]:translate-x-4"
|
|
12130
|
+
lg: "w-5 h-5 data-[state=checked]:translate-x-4",
|
|
12131
|
+
xl: "w-6 h-6 data-[state=checked]:translate-x-5"
|
|
12124
12132
|
},
|
|
12125
12133
|
vertical: {
|
|
12126
12134
|
true: "data-[state=checked]:translate-x-0 data-[state=unchecked]:translate-x-0"
|
|
@@ -12141,6 +12149,11 @@ var switchThumbVariants = (0, import_class_variance_authority16.cva)("pointer-ev
|
|
|
12141
12149
|
vertical: true,
|
|
12142
12150
|
size: "lg",
|
|
12143
12151
|
className: "data-[state=unchecked]:translate-y-4 data-[state=checked]:translate-y-0"
|
|
12152
|
+
},
|
|
12153
|
+
{
|
|
12154
|
+
vertical: true,
|
|
12155
|
+
size: "xl",
|
|
12156
|
+
className: "data-[state=unchecked]:translate-y-5 data-[state=checked]:translate-y-0"
|
|
12144
12157
|
}
|
|
12145
12158
|
],
|
|
12146
12159
|
defaultVariants: {
|
|
@@ -12153,7 +12166,8 @@ var switchThumbIconVariants = (0, import_class_variance_authority16.cva)("flex i
|
|
|
12153
12166
|
size: {
|
|
12154
12167
|
sm: "w-2 h-2",
|
|
12155
12168
|
md: "w-3 h-3",
|
|
12156
|
-
lg: "w-4 h-4"
|
|
12169
|
+
lg: "w-4 h-4",
|
|
12170
|
+
xl: "w-4 h-4"
|
|
12157
12171
|
}
|
|
12158
12172
|
}
|
|
12159
12173
|
});
|