varmory 1.0.6 → 1.0.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.
- package/README.md +2 -0
- package/dist/varmory.mjs +15 -13
- package/dist/varmory.umd.js +9 -7
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -7,6 +7,8 @@ Drop in an interactive browser for the Quasar components you use and any custom
|
|
|
7
7
|
- [Component Showcase](https://varmory-dec8b20a1b83.herokuapp.com/)
|
|
8
8
|
- [MCP Server](https://varmory-dec8b20a1b83.herokuapp.com/#docs/MCP)
|
|
9
9
|
|
|
10
|
+
> See [**themed_varmory**](https://github.com/jeka-kiselyov/themed_varmory) for a reference example of using varmory as a base to build your own themed component library — swappable themes, a theme store, custom components, and an MCP server with an extended set of components and API definitions.
|
|
11
|
+
|
|
10
12
|
## Installation
|
|
11
13
|
|
|
12
14
|
```bash
|
package/dist/varmory.mjs
CHANGED
|
@@ -6664,6 +6664,8 @@ Drop in an interactive browser for the Quasar components you use and any custom
|
|
|
6664
6664
|
- [Component Showcase](https://varmory-dec8b20a1b83.herokuapp.com/)
|
|
6665
6665
|
- [MCP Server](https://varmory-dec8b20a1b83.herokuapp.com/#docs/MCP)
|
|
6666
6666
|
|
|
6667
|
+
> See [**themed_varmory**](https://github.com/jeka-kiselyov/themed_varmory) for a reference example of using varmory as a base to build your own themed component library — swappable themes, a theme store, custom components, and an MCP server with an extended set of components and API definitions.
|
|
6668
|
+
|
|
6667
6669
|
## Installation
|
|
6668
6670
|
|
|
6669
6671
|
\`\`\`bash
|
|
@@ -8638,16 +8640,16 @@ function dz(t, e, o, i, n, s) {
|
|
|
8638
8640
|
modelValue: n.toggleValue,
|
|
8639
8641
|
"onUpdate:modelValue": e[2] || (e[2] = (r) => n.toggleValue = r),
|
|
8640
8642
|
label: "Toggle me",
|
|
8641
|
-
"toggle-color": "
|
|
8642
|
-
color: "
|
|
8643
|
-
"text-color": "
|
|
8643
|
+
"toggle-color": "accent",
|
|
8644
|
+
color: "primary",
|
|
8645
|
+
"text-color": "primary",
|
|
8644
8646
|
outline: "",
|
|
8645
8647
|
options: [
|
|
8646
|
-
{ label: "One", value: "one" },
|
|
8647
|
-
{ label: "Two", value: "two" },
|
|
8648
|
-
{ label: "Three", value: "three" }
|
|
8648
|
+
{ label: "One", value: "one", icon: n.toggleValue == "one" ? "check_circle" : void 0 },
|
|
8649
|
+
{ label: "Two", value: "two", icon: n.toggleValue == "two" ? "check_circle" : void 0 },
|
|
8650
|
+
{ label: "Three", value: "three", icon: n.toggleValue == "three" ? "check_circle" : void 0 }
|
|
8649
8651
|
]
|
|
8650
|
-
}, null, 8, ["modelValue"])
|
|
8652
|
+
}, null, 8, ["modelValue", "options"])
|
|
8651
8653
|
])
|
|
8652
8654
|
])
|
|
8653
8655
|
]);
|
|
@@ -21202,14 +21204,14 @@ export default {
|
|
|
21202
21204
|
<QBtnToggle
|
|
21203
21205
|
v-model="toggleValue"
|
|
21204
21206
|
label="Toggle me"
|
|
21205
|
-
toggle-color="
|
|
21206
|
-
color="
|
|
21207
|
-
text-color="
|
|
21207
|
+
toggle-color="accent"
|
|
21208
|
+
color="primary"
|
|
21209
|
+
text-color="primary"
|
|
21208
21210
|
outline
|
|
21209
21211
|
:options="[
|
|
21210
|
-
{ label: 'One', value: 'one' },
|
|
21211
|
-
{ label: 'Two', value: 'two' },
|
|
21212
|
-
{ label: 'Three', value: 'three' }
|
|
21212
|
+
{ label: 'One', value: 'one', icon: (toggleValue == 'one' ? 'check_circle' : undefined) },
|
|
21213
|
+
{ label: 'Two', value: 'two', icon: (toggleValue == 'two' ? 'check_circle' : undefined) },
|
|
21214
|
+
{ label: 'Three', value: 'three', icon: (toggleValue == 'three' ? 'check_circle' : undefined) }
|
|
21213
21215
|
]"
|
|
21214
21216
|
/>
|
|
21215
21217
|
</div>
|