@contentstudio/ui 0.1.46 → 0.1.47
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.d.ts +4 -2
- package/dist/index.js +5 -5
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1154,13 +1154,13 @@ export { SplitButton }
|
|
|
1154
1154
|
|
|
1155
1155
|
export declare interface SplitButtonProps {
|
|
1156
1156
|
/** The variant style of the button */
|
|
1157
|
-
variant?:
|
|
1157
|
+
variant?: "filled" | "light" | "outline" | "subtle" | "text";
|
|
1158
1158
|
/** The color theme of the button */
|
|
1159
1159
|
color?: ThemeColor | string;
|
|
1160
1160
|
/** The size of the button */
|
|
1161
1161
|
size?: ComponentSize;
|
|
1162
1162
|
/** The border radius of the button */
|
|
1163
|
-
radius?:
|
|
1163
|
+
radius?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
1164
1164
|
/** Whether the button is disabled */
|
|
1165
1165
|
disabled?: boolean;
|
|
1166
1166
|
/** Whether the button is in loading state */
|
|
@@ -1169,6 +1169,8 @@ export declare interface SplitButtonProps {
|
|
|
1169
1169
|
dropdownIcon?: Component;
|
|
1170
1170
|
/** Whether to show the divider between main button and dropdown */
|
|
1171
1171
|
showDivider?: boolean;
|
|
1172
|
+
/** Dropdown menu case*/
|
|
1173
|
+
dropdownMenuClass?: string;
|
|
1172
1174
|
}
|
|
1173
1175
|
|
|
1174
1176
|
export { Switch }
|
package/dist/index.js
CHANGED
|
@@ -35031,7 +35031,8 @@ const LL = /* @__PURE__ */ cI('<svg xmlns="http://www.w3.org/2000/svg" width="12
|
|
|
35031
35031
|
disabled: { type: Boolean, default: !1 },
|
|
35032
35032
|
loading: { type: Boolean, default: !1 },
|
|
35033
35033
|
dropdownIcon: null,
|
|
35034
|
-
showDivider: { type: Boolean, default: !0 }
|
|
35034
|
+
showDivider: { type: Boolean, default: !0 },
|
|
35035
|
+
dropdownMenuClass: { default: "" }
|
|
35035
35036
|
},
|
|
35036
35037
|
emits: ["click", "dropdown-click", "open", "close"],
|
|
35037
35038
|
setup(t, { emit: a }) {
|
|
@@ -35206,12 +35207,11 @@ const LL = /* @__PURE__ */ cI('<svg xmlns="http://www.w3.org/2000/svg" width="12
|
|
|
35206
35207
|
key: 0,
|
|
35207
35208
|
ref_key: "floatingRef",
|
|
35208
35209
|
ref: i,
|
|
35209
|
-
class: "cstu-dropdown-menu cstu-max-h-72 cstu-px-[12px] cstu-py-[13px] cstu-min-w-[225px] cstu-overflow-y-auto cstu-origin-top-left cstu-rounded-lg cstu-shadow-dropdown cstu-bg-white focus:cstu-outline-none",
|
|
35210
|
+
class: m(["cstu-dropdown-menu cstu-max-h-72 cstu-px-[12px] cstu-py-[13px] cstu-min-w-[225px] cstu-overflow-y-auto cstu-origin-top-left cstu-rounded-lg cstu-shadow-dropdown cstu-bg-white focus:cstu-outline-none cstu-z-50", [o.dropdownMenuClass]]),
|
|
35210
35211
|
style: W({
|
|
35211
35212
|
position: s(h),
|
|
35212
35213
|
top: `${s(r) ?? 0}px`,
|
|
35213
|
-
left: `${s(d) ?? 0}px
|
|
35214
|
-
zIndex: 50
|
|
35214
|
+
left: `${s(d) ?? 0}px`
|
|
35215
35215
|
}),
|
|
35216
35216
|
onClick: I[1] || (I[1] = xe(() => {
|
|
35217
35217
|
}, ["stop"])),
|
|
@@ -35221,7 +35221,7 @@ const LL = /* @__PURE__ */ cI('<svg xmlns="http://www.w3.org/2000/svg" width="12
|
|
|
35221
35221
|
f("div", PL, [
|
|
35222
35222
|
b(x.$slots, "menu")
|
|
35223
35223
|
])
|
|
35224
|
-
],
|
|
35224
|
+
], 38)) : C("", !0)
|
|
35225
35225
|
]),
|
|
35226
35226
|
_: 3
|
|
35227
35227
|
})
|