@nexxtmove/ui 1.40.0 → 1.40.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.
package/dist/index.js
CHANGED
|
@@ -384,7 +384,7 @@ var yt = { funda: { render: vt } }, Q = /* @__PURE__ */ p({
|
|
|
384
384
|
e.labelPosition === "after" ? A(d.$slots, "default", { key: 1 }) : o("", !0)
|
|
385
385
|
]));
|
|
386
386
|
}
|
|
387
|
-
}), St = { class: "
|
|
387
|
+
}), St = { class: "py-4" }, Ct = { class: "flex items-center [&>label]:flex [&>label]:w-full [&>label]:gap-3" }, wt = { class: "grow text-left small-normal text-gray-900" }, Tt = {
|
|
388
388
|
key: 1,
|
|
389
389
|
class: "small-normal text-gray-900"
|
|
390
390
|
}, Et = ["inert"], Dt = { class: "px-1 pt-1.5 pb-1" }, $ = /* @__PURE__ */ p({
|
package/package.json
CHANGED
|
@@ -12,6 +12,11 @@ interface NexxtEditorSettingsBlockProps {
|
|
|
12
12
|
switchable?: boolean
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* One labelled setting in the editor sidebar, optionally collapsible via a
|
|
17
|
+
* switch. The block draws no separator of its own: the consumer groups and
|
|
18
|
+
* divides blocks on the wrapper, e.g. `divide-y divide-gray-200`.
|
|
19
|
+
*/
|
|
15
20
|
defineOptions({ name: 'NexxtEditorSettingsBlock' })
|
|
16
21
|
|
|
17
22
|
const { label, switchable = false } = defineProps<NexxtEditorSettingsBlockProps>()
|
|
@@ -32,7 +37,7 @@ const inert = computed(() => (open.value ? undefined : true))
|
|
|
32
37
|
</script>
|
|
33
38
|
|
|
34
39
|
<template>
|
|
35
|
-
<div class="
|
|
40
|
+
<div class="py-4">
|
|
36
41
|
<!--
|
|
37
42
|
Switch.vue sets `inheritAttrs: false` and binds `$attrs` on its sr-only
|
|
38
43
|
input, so a class on <Switch> never reaches its root <label>. The child
|