@vmz/ui 0.1.20 → 0.1.21
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/package.json
CHANGED
package/src/components/Badge.vmz
CHANGED
|
@@ -136,6 +136,8 @@
|
|
|
136
136
|
* Variants: primary | secondary | ghost | danger
|
|
137
137
|
*/
|
|
138
138
|
export default class Button {
|
|
139
|
+
/** @type {'contents'} Direct host: no layout box (`ui-direct-host-box`). */
|
|
140
|
+
static __vmzHostBox = 'contents';
|
|
139
141
|
public type: string = "button";
|
|
140
142
|
public variant: string = "primary";
|
|
141
143
|
public disabled: boolean = false;
|
package/src/components/Icon.vmz
CHANGED
package/src/components/Link.vmz
CHANGED
package/src/components/Tag.vmz
CHANGED
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
.vmz-ui-tag[data-status='warning']{color:var(--vmz-status-warning-foreground);background:color-mix(in srgb,var(--vmz-status-warning-accent) 12%,var(--vmz-surface-paper));border-color:color-mix(in srgb,var(--vmz-status-warning-accent) 45%,var(--vmz-line-default))}
|
|
13
13
|
.vmz-ui-tag[data-status='error']{color:var(--vmz-status-danger-foreground);background:color-mix(in srgb,var(--vmz-status-danger-accent) 12%,var(--vmz-surface-paper));border-color:color-mix(in srgb,var(--vmz-status-danger-accent) 45%,var(--vmz-line-default))}
|
|
14
14
|
</style>
|
|
15
|
-
<script client>export default class Tag { public status: string = ''; }</script>
|
|
15
|
+
<script client>export default class Tag { static __vmzHostBox = 'contents'; public status: string = ''; }</script>
|