@histoire/controls 1.0.0-alpha.4 → 1.0.0-alpha.5
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.
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
package/dist/index.es.js
CHANGED
|
@@ -16,7 +16,7 @@ const qh = {
|
|
|
16
16
|
flat: "htw-bg-transparent hover:htw-bg-gray-500/20 htw-text-gray-900 dark:htw-text-gray-100"
|
|
17
17
|
};
|
|
18
18
|
return (e, i) => (P(), q("button", {
|
|
19
|
-
class: gt(["histoire-button htw-cursor-pointer htw-rounded-sm", t[e.color ?? "default"]])
|
|
19
|
+
class: gt(["histoire-button htw-cursor-pointer htw-rounded-sm htw-border-none", t[e.color ?? "default"]])
|
|
20
20
|
}, [
|
|
21
21
|
ht(e.$slots, "default")
|
|
22
22
|
], 2));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@histoire/controls",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-alpha.
|
|
4
|
+
"version": "1.0.0-alpha.5",
|
|
5
5
|
"description": "Prebuilt controls components",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Guillaume Chau"
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@codemirror/state": "^6.4.1",
|
|
39
39
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
40
40
|
"@codemirror/view": "^6.35.0",
|
|
41
|
-
"@histoire/shared": "^1.0.0-alpha.
|
|
42
|
-
"@histoire/vendors": "^1.0.0-alpha.
|
|
41
|
+
"@histoire/shared": "^1.0.0-alpha.5",
|
|
42
|
+
"@histoire/vendors": "^1.0.0-alpha.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^22.10.1",
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import HstCopyIcon from './HstCopyIcon.vue'
|
|
3
|
+
|
|
4
|
+
function initState() {
|
|
5
|
+
return {
|
|
6
|
+
content: 'Text fo copy',
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<Story
|
|
13
|
+
title="internals/HstCopyIcon"
|
|
14
|
+
>
|
|
15
|
+
<Variant
|
|
16
|
+
title="default"
|
|
17
|
+
:init-state="initState"
|
|
18
|
+
>
|
|
19
|
+
<template #default="{ state }">
|
|
20
|
+
<HstCopyIcon
|
|
21
|
+
:content="state.content"
|
|
22
|
+
/>
|
|
23
|
+
</template>
|
|
24
|
+
</Variant>
|
|
25
|
+
</Story>
|
|
26
|
+
</template>
|