@nilloq/ouds-web 0.1.0 → 0.1.4

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.
Files changed (64) hide show
  1. package/README.md +15 -38
  2. package/dist/button-BPOKh6G4.js +79 -0
  3. package/dist/button-LlRiSiGS.js +76 -0
  4. package/dist/button.js +2 -2
  5. package/dist/checkbox-BYrgMhwO.js +105 -0
  6. package/dist/checkbox-D-A_bSBK.js +79 -0
  7. package/dist/checkbox.js +5 -0
  8. package/dist/elements-button.js +2 -2
  9. package/dist/elements-checkbox.js +2 -0
  10. package/dist/elements-select.js +2 -0
  11. package/dist/elements-tag.js +2 -2
  12. package/dist/elements-text-input.js +2 -0
  13. package/dist/elements.js +7 -4
  14. package/dist/index.js +6 -3
  15. package/dist/{runtime-dom.esm-bundler-aqFyuQnx.js → runtime-dom.esm-bundler-BzNNnH8h.js} +1041 -855
  16. package/dist/select-CA6TVlpX.js +58 -0
  17. package/dist/select-CKHEHpJL.js +80 -0
  18. package/dist/select.js +5 -0
  19. package/dist/{tag-XX1_lffX.js → tag-B2qhuHjk.js} +9 -2
  20. package/dist/tag-BY32Hj5n.js +44 -0
  21. package/dist/tag.js +2 -2
  22. package/dist/text-input-DOUGu0A2.js +180 -0
  23. package/dist/text-input-t-iE4dFj.js +130 -0
  24. package/dist/text-input.js +5 -0
  25. package/dist/types/checkbox.d.ts +2 -0
  26. package/dist/types/components/button/Button.vue.d.ts +7 -4
  27. package/dist/types/components/button/button.options.d.ts +8 -0
  28. package/dist/types/components/button/button.types.d.ts +11 -6
  29. package/dist/types/components/checkbox/Checkbox.vue.d.ts +26 -0
  30. package/dist/types/components/checkbox/VueCheckbox.vue.d.ts +24 -0
  31. package/dist/types/components/checkbox/checkbox.types.d.ts +14 -0
  32. package/dist/types/components/select/Select.vue.d.ts +26 -0
  33. package/dist/types/components/select/VueSelect.vue.d.ts +24 -0
  34. package/dist/types/components/select/select.types.d.ts +12 -0
  35. package/dist/types/components/tag/Tag.vue.d.ts +3 -3
  36. package/dist/types/components/tag/tag.options.d.ts +4 -0
  37. package/dist/types/components/tag/tag.types.d.ts +7 -6
  38. package/dist/types/components/text-input/TextInput.vue.d.ts +41 -0
  39. package/dist/types/components/text-input/VueTextInput.vue.d.ts +34 -0
  40. package/dist/types/components/text-input/text-input.types.d.ts +20 -0
  41. package/dist/types/elements/button.d.ts +4 -3
  42. package/dist/types/elements/checkbox.d.ts +4 -0
  43. package/dist/types/elements/index.d.ts +8 -0
  44. package/dist/types/elements/select.d.ts +4 -0
  45. package/dist/types/elements/tag.d.ts +4 -3
  46. package/dist/types/elements/text-input.d.ts +4 -0
  47. package/dist/types/select.d.ts +2 -0
  48. package/dist/types/text-input.d.ts +2 -0
  49. package/dist/types/vue/button.d.ts +2 -1
  50. package/dist/types/vue/checkbox.d.ts +2 -0
  51. package/dist/types/vue/index.d.ts +10 -2
  52. package/dist/types/vue/select.d.ts +2 -0
  53. package/dist/types/vue/tag.d.ts +2 -1
  54. package/dist/types/vue/text-input.d.ts +2 -0
  55. package/dist/vue-button.js +2 -2
  56. package/dist/vue-checkbox.js +2 -0
  57. package/dist/vue-select.js +2 -0
  58. package/dist/vue-tag.js +2 -2
  59. package/dist/vue-text-input.js +2 -0
  60. package/dist/vue.js +6 -3
  61. package/package.json +53 -12
  62. package/dist/button-BxUIuMAv.js +0 -38
  63. package/dist/button-C5MSESb5.js +0 -35
  64. package/dist/tag-BGpa_wYn.js +0 -37
@@ -0,0 +1,24 @@
1
+ type __VLS_ModelProps = {
2
+ modelValue?: string;
3
+ };
4
+ declare var __VLS_10: {}, __VLS_12: {};
5
+ type __VLS_Slots = {} & {
6
+ label?: (props: typeof __VLS_10) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_12) => any;
9
+ };
10
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
11
+ change: (event: Event) => any;
12
+ "update:modelValue": (value: string) => any;
13
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
14
+ onChange?: ((event: Event) => any) | undefined;
15
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,12 @@
1
+ export type SelectElement = HTMLElement & {
2
+ id: string;
3
+ label: string;
4
+ helperText: string;
5
+ value: string;
6
+ outlined: boolean;
7
+ disabled: boolean;
8
+ required: boolean;
9
+ };
10
+ export type SelectConstructor = CustomElementConstructor & {
11
+ new (initialProps?: Partial<SelectElement>): SelectElement;
12
+ };
@@ -1,8 +1,8 @@
1
- import type { OudsTagVariant } from "./tag.types.js";
1
+ import type { TagVariant, TagSize } from "./tag.types.js";
2
2
  type __VLS_Props = {
3
- variant?: OudsTagVariant;
3
+ variant?: TagVariant;
4
4
  statusIcon?: boolean;
5
- size?: "medium" | "small";
5
+ size?: TagSize;
6
6
  muted?: boolean;
7
7
  };
8
8
  declare var __VLS_1: {};
@@ -0,0 +1,4 @@
1
+ export declare const tagVariants: readonly ["neutral", "accent", "positive", "info", "warning", "negative"];
2
+ export declare const tagSizes: readonly ["medium", "small"];
3
+ export type TagVariant = (typeof tagVariants)[number];
4
+ export type TagSize = (typeof tagSizes)[number];
@@ -1,9 +1,10 @@
1
- export type OudsTagVariant = "neutral" | "accent" | "positive" | "info" | "warning" | "negative";
2
- export type OudsTagElement = HTMLElement & {
3
- variant: OudsTagVariant;
4
- size: "medium" | "small";
1
+ import type { TagVariant, TagSize } from "./tag.options.js";
2
+ export type { TagVariant, TagSize } from "./tag.options.js";
3
+ export type TagElement = HTMLElement & {
4
+ variant: TagVariant;
5
+ size: TagSize;
5
6
  muted: boolean;
6
7
  };
7
- export type OudsTagConstructor = CustomElementConstructor & {
8
- new (initialProps?: Partial<OudsTagElement>): OudsTagElement;
8
+ export type TagConstructor = CustomElementConstructor & {
9
+ new (initialProps?: Partial<TagElement>): TagElement;
9
10
  };
@@ -0,0 +1,41 @@
1
+ type __VLS_Props = {
2
+ id?: string;
3
+ label?: string;
4
+ placeholder?: string;
5
+ helperText?: string;
6
+ errorText?: string;
7
+ helperLink?: string;
8
+ helperLinkHref?: string;
9
+ prefix?: string;
10
+ suffix?: string;
11
+ value?: string;
12
+ type?: string;
13
+ outlined?: boolean;
14
+ disabled?: boolean;
15
+ readonly?: boolean;
16
+ required?: boolean;
17
+ invalid?: boolean;
18
+ };
19
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
20
+ type __VLS_Slots = {} & {
21
+ leading?: (props: typeof __VLS_1) => any;
22
+ } & {
23
+ label?: (props: typeof __VLS_3) => any;
24
+ } & {
25
+ trailing?: (props: typeof __VLS_5) => any;
26
+ } & {
27
+ helper?: (props: typeof __VLS_7) => any;
28
+ } & {
29
+ error?: (props: typeof __VLS_9) => any;
30
+ } & {
31
+ 'helper-link'?: (props: typeof __VLS_11) => any;
32
+ };
33
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
34
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
+ declare const _default: typeof __VLS_export;
36
+ export default _default;
37
+ type __VLS_WithSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,34 @@
1
+ type __VLS_ModelProps = {
2
+ modelValue?: string;
3
+ };
4
+ declare var __VLS_11: {}, __VLS_14: {}, __VLS_17: {}, __VLS_20: {}, __VLS_23: {}, __VLS_26: {};
5
+ type __VLS_Slots = {} & {
6
+ label?: (props: typeof __VLS_11) => any;
7
+ } & {
8
+ leading?: (props: typeof __VLS_14) => any;
9
+ } & {
10
+ trailing?: (props: typeof __VLS_17) => any;
11
+ } & {
12
+ helper?: (props: typeof __VLS_20) => any;
13
+ } & {
14
+ error?: (props: typeof __VLS_23) => any;
15
+ } & {
16
+ 'helper-link'?: (props: typeof __VLS_26) => any;
17
+ };
18
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
19
+ input: (event: Event) => any;
20
+ change: (event: Event) => any;
21
+ "update:modelValue": (value: string) => any;
22
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
23
+ onInput?: ((event: Event) => any) | undefined;
24
+ onChange?: ((event: Event) => any) | undefined;
25
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,20 @@
1
+ export type TextInputElement = HTMLElement & {
2
+ id: string;
3
+ label: string;
4
+ helperText: string;
5
+ errorText: string;
6
+ helperLink: string;
7
+ helperLinkHref: string;
8
+ prefix: string;
9
+ suffix: string;
10
+ value: string;
11
+ type: string;
12
+ outlined: boolean;
13
+ disabled: boolean;
14
+ readonly: boolean;
15
+ required: boolean;
16
+ invalid: boolean;
17
+ };
18
+ export type TextInputConstructor = CustomElementConstructor & {
19
+ new (initialProps?: Partial<TextInputElement>): TextInputElement;
20
+ };
@@ -1,4 +1,5 @@
1
- import type { OudsButtonConstructor } from "../components/button/button.types.js";
2
- export type { OudsButtonConstructor, OudsButtonElement, OudsButtonVariant, } from "../components/button/button.types.js";
3
- export declare const OudsButton: OudsButtonConstructor;
1
+ import type { ButtonConstructor } from "../components/button/button.types.js";
2
+ export type { ButtonConstructor, ButtonElement, ButtonVariant, } from "../components/button/button.types.js";
3
+ export declare const OudsButton: ButtonConstructor;
4
4
  export declare function defineOudsButton(): void;
5
+ export * from "../components/button/button.options.js";
@@ -0,0 +1,4 @@
1
+ import type { CheckboxConstructor } from "../components/checkbox/checkbox.types.js";
2
+ export type { CheckboxConstructor, CheckboxElement, } from "../components/checkbox/checkbox.types.js";
3
+ export declare const OudsCheckbox: CheckboxConstructor;
4
+ export declare function defineOudsCheckbox(): void;
@@ -1,4 +1,12 @@
1
1
  export { OudsButton, defineOudsButton } from "./button.js";
2
2
  export { OudsTag, defineOudsTag } from "./tag.js";
3
+ export { OudsSelect, defineOudsSelect } from "./select.js";
4
+ export { OudsCheckbox, defineOudsCheckbox } from "./checkbox.js";
5
+ export { OudsTextInput, defineOudsTextInput } from "./text-input.js";
3
6
  export type * from "../components/button/button.types.js";
4
7
  export type * from "../components/tag/tag.types.js";
8
+ export type * from "../components/select/select.types.js";
9
+ export type * from "../components/checkbox/checkbox.types.js";
10
+ export type * from "../components/text-input/text-input.types.js";
11
+ export * from "../components/button/button.options.js";
12
+ export * from "../components/tag/tag.options.js";
@@ -0,0 +1,4 @@
1
+ import type { SelectConstructor } from "../components/select/select.types.js";
2
+ export type { SelectConstructor, SelectElement } from "../components/select/select.types.js";
3
+ export declare const OudsSelect: SelectConstructor;
4
+ export declare function defineOudsSelect(): void;
@@ -1,4 +1,5 @@
1
- import type { OudsTagConstructor } from "../components/tag/tag.types.js";
2
- export type { OudsTagConstructor, OudsTagElement, OudsTagVariant, } from "../components/tag/tag.types.js";
3
- export declare const OudsTag: OudsTagConstructor;
1
+ import type { TagConstructor } from "../components/tag/tag.types.js";
2
+ export type { TagConstructor, TagElement, TagVariant } from "../components/tag/tag.types.js";
3
+ export declare const OudsTag: TagConstructor;
4
4
  export declare function defineOudsTag(): void;
5
+ export * from "../components/tag/tag.options.js";
@@ -0,0 +1,4 @@
1
+ import type { TextInputConstructor } from "../components/text-input/text-input.types.js";
2
+ export type { TextInputConstructor, TextInputElement, } from "../components/text-input/text-input.types.js";
3
+ export declare const OudsTextInput: TextInputConstructor;
4
+ export declare function defineOudsTextInput(): void;
@@ -0,0 +1,2 @@
1
+ export { OudsSelect, defineOudsSelect } from "./elements/select.js";
2
+ export type * from "./components/select/select.types.js";
@@ -0,0 +1,2 @@
1
+ export { OudsTextInput, defineOudsTextInput } from "./elements/text-input.js";
2
+ export type * from "./components/text-input/text-input.types.js";
@@ -1,2 +1,3 @@
1
1
  export { default as OudsButton } from "../components/button/Button.vue";
2
- export type { OudsButtonElement, OudsButtonVariant } from "../components/button/button.types.js";
2
+ export type { ButtonElement, ButtonVariant } from "../components/button/button.types.js";
3
+ export * from "../components/button/button.options.js";
@@ -0,0 +1,2 @@
1
+ export { default as OudsCheckbox } from "../components/checkbox/VueCheckbox.vue";
2
+ export type { CheckboxElement } from "../components/checkbox/checkbox.types.js";
@@ -1,4 +1,12 @@
1
1
  export { OudsButton } from "./button.js";
2
2
  export { OudsTag } from "./tag.js";
3
- export type { OudsButtonElement, OudsButtonVariant } from "./button.js";
4
- export type { OudsTagElement, OudsTagVariant } from "./tag.js";
3
+ export { OudsSelect } from "./select.js";
4
+ export { OudsCheckbox } from "./checkbox.js";
5
+ export { OudsTextInput } from "./text-input.js";
6
+ export type { ButtonElement, ButtonVariant } from "./button.js";
7
+ export type { TagElement, TagVariant } from "./tag.js";
8
+ export type { SelectElement } from "../components/select/select.types.js";
9
+ export type { CheckboxElement } from "../components/checkbox/checkbox.types.js";
10
+ export type { TextInputElement } from "../components/text-input/text-input.types.js";
11
+ export * from "../components/button/button.options.js";
12
+ export * from "../components/tag/tag.options.js";
@@ -0,0 +1,2 @@
1
+ export { default as OudsSelect } from "../components/select/VueSelect.vue";
2
+ export type { SelectElement } from "../components/select/select.types.js";
@@ -1,2 +1,3 @@
1
1
  export { default as OudsTag } from "../components/tag/Tag.vue";
2
- export type { OudsTagElement, OudsTagVariant } from "../components/tag/tag.types.js";
2
+ export type { TagElement, TagVariant } from "../components/tag/tag.types.js";
3
+ export * from "../components/tag/tag.options.js";
@@ -0,0 +1,2 @@
1
+ export { default as OudsTextInput } from "../components/text-input/VueTextInput.vue";
2
+ export type { TextInputElement } from "../components/text-input/text-input.types.js";
@@ -1,2 +1,2 @@
1
- import { t as e } from "./button-C5MSESb5.js";
2
- export { e as OudsButton };
1
+ import { a as e, i as t, n, r, t as i } from "./button-LlRiSiGS.js";
2
+ export { e as OudsButton, i as buttonNavigations, n as buttonSizes, r as buttonTypes, t as buttonVariants };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./checkbox-BYrgMhwO.js";
2
+ export { e as OudsCheckbox };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./select-CKHEHpJL.js";
2
+ export { e as OudsSelect };
package/dist/vue-tag.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./tag-XX1_lffX.js";
2
- export { e as OudsTag };
1
+ import { n as e, r as t, t as n } from "./tag-B2qhuHjk.js";
2
+ export { t as OudsTag, n as tagSizes, e as tagVariants };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./text-input-DOUGu0A2.js";
2
+ export { e as OudsTextInput };
package/dist/vue.js CHANGED
@@ -1,3 +1,6 @@
1
- import { t as e } from "./button-C5MSESb5.js";
2
- import { t } from "./tag-XX1_lffX.js";
3
- export { e as OudsButton, t as OudsTag };
1
+ import { a as e, i as t, n, r, t as i } from "./button-LlRiSiGS.js";
2
+ import { n as a, r as o, t as s } from "./tag-B2qhuHjk.js";
3
+ import { t as c } from "./select-CKHEHpJL.js";
4
+ import { t as l } from "./checkbox-BYrgMhwO.js";
5
+ import { t as u } from "./text-input-DOUGu0A2.js";
6
+ export { e as OudsButton, l as OudsCheckbox, c as OudsSelect, o as OudsTag, u as OudsTextInput, i as buttonNavigations, n as buttonSizes, r as buttonTypes, t as buttonVariants, s as tagSizes, a as tagVariants };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nilloq/ouds-web",
3
- "version": "0.1.0",
3
+ "version": "0.1.4",
4
4
  "description": "Vue components and framework-independent custom elements styled with OUDS Web.",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -25,6 +25,18 @@
25
25
  "types": "./dist/types/tag.d.ts",
26
26
  "import": "./dist/tag.js"
27
27
  },
28
+ "./select": {
29
+ "types": "./dist/types/select.d.ts",
30
+ "import": "./dist/select.js"
31
+ },
32
+ "./checkbox": {
33
+ "types": "./dist/types/checkbox.d.ts",
34
+ "import": "./dist/checkbox.js"
35
+ },
36
+ "./text-input": {
37
+ "types": "./dist/types/text-input.d.ts",
38
+ "import": "./dist/text-input.js"
39
+ },
28
40
  "./components": {
29
41
  "types": "./dist/types/elements/index.d.ts",
30
42
  "import": "./dist/elements.js"
@@ -37,6 +49,18 @@
37
49
  "types": "./dist/types/elements/tag.d.ts",
38
50
  "import": "./dist/elements-tag.js"
39
51
  },
52
+ "./components/select": {
53
+ "types": "./dist/types/elements/select.d.ts",
54
+ "import": "./dist/elements-select.js"
55
+ },
56
+ "./components/checkbox": {
57
+ "types": "./dist/types/elements/checkbox.d.ts",
58
+ "import": "./dist/elements-checkbox.js"
59
+ },
60
+ "./components/text-input": {
61
+ "types": "./dist/types/elements/text-input.d.ts",
62
+ "import": "./dist/elements-text-input.js"
63
+ },
40
64
  "./vue": {
41
65
  "types": "./dist/types/vue/index.d.ts",
42
66
  "import": "./dist/vue.js"
@@ -49,18 +73,42 @@
49
73
  "types": "./dist/types/vue/tag.d.ts",
50
74
  "import": "./dist/vue-tag.js"
51
75
  },
76
+ "./vue/select": {
77
+ "types": "./dist/types/vue/select.d.ts",
78
+ "import": "./dist/vue-select.js"
79
+ },
80
+ "./vue/checkbox": {
81
+ "types": "./dist/types/vue/checkbox.d.ts",
82
+ "import": "./dist/vue-checkbox.js"
83
+ },
84
+ "./vue/text-input": {
85
+ "types": "./dist/types/vue/text-input.d.ts",
86
+ "import": "./dist/vue-text-input.js"
87
+ },
52
88
  "./package.json": "./package.json"
53
89
  },
54
90
  "publishConfig": {
55
91
  "access": "public"
56
92
  },
93
+ "scripts": {
94
+ "build": "vp build && vp build --config vite.vue.config.ts && vue-tsc --declaration --emitDeclarationOnly --noEmit false --outDir dist/types",
95
+ "dev": "vp build --watch",
96
+ "playground": "vp run build && vp dev --config playground/vite.config.ts",
97
+ "test": "vp test",
98
+ "check": "vp check && vue-tsc --noEmit",
99
+ "prepublishOnly": "vp run build",
100
+ "prepare": "vp config && vp run build"
101
+ },
57
102
  "devDependencies": {
58
103
  "@types/node": "^26.6.5",
59
104
  "@vitejs/plugin-vue": "^6.0.10",
60
105
  "@vueuse/core": "^15.0.0",
61
- "bumpp": "^11.1.0",
106
+ "bumpp": "^12.3.0",
107
+ "marked": "^18.1.1",
108
+ "shiki": "^4.5.0",
109
+ "shiki-transformer-copy-button": "^0.0.6",
62
110
  "typescript": "^5.9.3",
63
- "vite-plus": "1.0.0",
111
+ "vite-plus": "catalog:",
64
112
  "vue": "^3.5.44",
65
113
  "vue-router": "^5.4.0",
66
114
  "vue-tsc": "^3.3.13"
@@ -77,14 +125,7 @@
77
125
  "packageManager": {
78
126
  "name": "pnpm",
79
127
  "version": "12.9.1",
80
- "onFail": "download"
128
+ "onFail": "warn"
81
129
  }
82
- },
83
- "scripts": {
84
- "build": "vp build && vp build --config vite.vue.config.ts && vue-tsc --declaration --emitDeclarationOnly --noEmit false --outDir dist/types",
85
- "dev": "vp build --watch",
86
- "playground": "vp run build && vp dev --config playground/vite.config.ts",
87
- "test": "vp test",
88
- "check": "vp check && vue-tsc --noEmit"
89
130
  }
90
- }
131
+ }
@@ -1,38 +0,0 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, s as o, t as s } from "./runtime-dom.esm-bundler-aqFyuQnx.js";
2
- //#region src/components/button/Button.vue?vue&type=script&setup=true&lang.ts
3
- var c = ["type", "disabled"], l = s(/* @__PURE__ */ a({
4
- __name: "Button",
5
- props: {
6
- type: { default: "button" },
7
- variant: { default: "default" },
8
- size: { default: "medium" },
9
- iconOnly: {
10
- type: Boolean,
11
- default: !1
12
- },
13
- disabled: {
14
- type: Boolean,
15
- default: !1
16
- }
17
- },
18
- setup(a) {
19
- let s = i(() => [
20
- "btn",
21
- `btn-${a.variant}`,
22
- {
23
- "btn-icon": a.iconOnly,
24
- "btn-small": a.size === "small"
25
- }
26
- ]), l = i(() => a.type === "submit" || a.type === "reset" ? a.type : "button");
27
- return (i, u) => (o(), n("button", {
28
- class: r(s.value),
29
- type: l.value,
30
- disabled: a.disabled
31
- }, [t(i.$slots, "default", {}, () => [u[0] ||= e("Button", -1)])], 10, c));
32
- }
33
- }), { shadowRoot: !1 });
34
- function u() {
35
- typeof customElements < "u" && (customElements.get("ouds-button") || customElements.define("ouds-button", l));
36
- }
37
- //#endregion
38
- export { u as n, l as t };
@@ -1,35 +0,0 @@
1
- import { computed as e, createElementBlock as t, createTextVNode as n, defineComponent as r, normalizeClass as i, openBlock as a, renderSlot as o } from "vue";
2
- //#region src/components/button/Button.vue?vue&type=script&setup=true&lang.ts
3
- var s = ["type", "disabled"], c = /* @__PURE__ */ r({
4
- __name: "Button",
5
- props: {
6
- type: { default: "button" },
7
- variant: { default: "default" },
8
- size: { default: "medium" },
9
- iconOnly: {
10
- type: Boolean,
11
- default: !1
12
- },
13
- disabled: {
14
- type: Boolean,
15
- default: !1
16
- }
17
- },
18
- setup(r) {
19
- let c = e(() => [
20
- "btn",
21
- `btn-${r.variant}`,
22
- {
23
- "btn-icon": r.iconOnly,
24
- "btn-small": r.size === "small"
25
- }
26
- ]), l = e(() => r.type === "submit" || r.type === "reset" ? r.type : "button");
27
- return (e, u) => (a(), t("button", {
28
- class: i(c.value),
29
- type: l.value,
30
- disabled: r.disabled
31
- }, [o(e.$slots, "default", {}, () => [u[0] ||= n("Button", -1)])], 10, s));
32
- }
33
- });
34
- //#endregion
35
- export { c as t };
@@ -1,37 +0,0 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./runtime-dom.esm-bundler-aqFyuQnx.js";
2
- //#region src/components/tag/Tag.vue?vue&type=script&setup=true&lang.ts
3
- var l = {
4
- key: 0,
5
- class: "tag-status-icon",
6
- "aria-hidden": "true"
7
- }, u = c(/* @__PURE__ */ a({
8
- __name: "Tag",
9
- props: {
10
- variant: { default: "neutral" },
11
- statusIcon: {
12
- type: Boolean,
13
- default: !1
14
- },
15
- size: { default: "medium" },
16
- muted: {
17
- type: Boolean,
18
- default: !1
19
- }
20
- },
21
- setup(a) {
22
- let c = i(() => [
23
- "tag",
24
- a.variant !== "neutral" && `tag-${a.variant}`,
25
- {
26
- "tag-muted": a.muted,
27
- "tag-small": a.size === "small"
28
- }
29
- ]);
30
- return (i, u) => (s(), n("span", { class: r(c.value) }, [a.statusIcon ? (s(), n("span", l)) : o("", !0), t(i.$slots, "default", {}, () => [u[0] ||= e("Tag", -1)])], 2));
31
- }
32
- }), { shadowRoot: !1 });
33
- function d() {
34
- typeof customElements < "u" && (customElements.get("ouds-tag") || customElements.define("ouds-tag", u));
35
- }
36
- //#endregion
37
- export { d as n, u as t };