@nilloq/ouds-web 0.0.0-stage → 0.1.3
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 +80 -2
- package/dist/button-DdoJkL_N.js +59 -0
- package/dist/button-z6rNROko.js +62 -0
- package/dist/button.js +2 -0
- package/dist/checkbox-BYrgMhwO.js +105 -0
- package/dist/checkbox-CS0xyJ93.js +79 -0
- package/dist/checkbox.js +5 -0
- package/dist/elements-button.js +2 -0
- package/dist/elements-checkbox.js +2 -0
- package/dist/elements-select.js +2 -0
- package/dist/elements-tag.js +2 -0
- package/dist/elements-text-input.js +2 -0
- package/dist/elements.js +8 -0
- package/dist/index.js +7 -0
- package/dist/runtime-dom.esm-bundler-Bh0p0Jto.js +2782 -0
- package/dist/select-6rG9CVMu.js +58 -0
- package/dist/select-CKHEHpJL.js +80 -0
- package/dist/select.js +5 -0
- package/dist/tag-Gq6ZayFl.js +37 -0
- package/dist/tag-XX1_lffX.js +34 -0
- package/dist/tag.js +2 -0
- package/dist/text-input-9GVktDML.js +113 -0
- package/dist/text-input-DLbvTlpY.js +73 -0
- package/dist/text-input.js +5 -0
- package/dist/types/button.d.ts +1 -0
- package/dist/types/checkbox.d.ts +2 -0
- package/dist/types/components/button/Button.vue.d.ts +22 -0
- package/dist/types/components/button/button.types.d.ts +14 -0
- package/dist/types/components/checkbox/Checkbox.vue.d.ts +26 -0
- package/dist/types/components/checkbox/VueCheckbox.vue.d.ts +24 -0
- package/dist/types/components/checkbox/checkbox.types.d.ts +14 -0
- package/dist/types/components/select/Select.vue.d.ts +26 -0
- package/dist/types/components/select/VueSelect.vue.d.ts +24 -0
- package/dist/types/components/select/select.types.d.ts +12 -0
- package/dist/types/components/tag/Tag.vue.d.ts +20 -0
- package/dist/types/components/tag/tag.types.d.ts +9 -0
- package/dist/types/components/text-input/TextInput.vue.d.ts +31 -0
- package/dist/types/components/text-input/VueTextInput.vue.d.ts +30 -0
- package/dist/types/components/text-input/text-input.types.d.ts +14 -0
- package/dist/types/elements/button.d.ts +4 -0
- package/dist/types/elements/checkbox.d.ts +4 -0
- package/dist/types/elements/index.d.ts +10 -0
- package/dist/types/elements/select.d.ts +4 -0
- package/dist/types/elements/tag.d.ts +4 -0
- package/dist/types/elements/text-input.d.ts +4 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/select.d.ts +2 -0
- package/dist/types/tag.d.ts +1 -0
- package/dist/types/text-input.d.ts +2 -0
- package/dist/types/vue/button.d.ts +2 -0
- package/dist/types/vue/checkbox.d.ts +2 -0
- package/dist/types/vue/index.d.ts +10 -0
- package/dist/types/vue/select.d.ts +2 -0
- package/dist/types/vue/tag.d.ts +2 -0
- package/dist/types/vue/text-input.d.ts +2 -0
- package/dist/vue-button.js +2 -0
- package/dist/vue-checkbox.js +2 -0
- package/dist/vue-select.js +2 -0
- package/dist/vue-tag.js +2 -0
- package/dist/vue-text-input.js +2 -0
- package/dist/vue.js +6 -0
- package/package.json +126 -4
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_11: {}, __VLS_14: {}, __VLS_17: {}, __VLS_20: {};
|
|
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
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
15
|
+
input: (event: Event) => any;
|
|
16
|
+
change: (event: Event) => any;
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
19
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
20
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type TextInputElement = HTMLElement & {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
helperText: string;
|
|
5
|
+
value: string;
|
|
6
|
+
type: string;
|
|
7
|
+
outlined: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
readonly: boolean;
|
|
10
|
+
required: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type TextInputConstructor = CustomElementConstructor & {
|
|
13
|
+
new (initialProps?: Partial<TextInputElement>): TextInputElement;
|
|
14
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
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
|
+
export declare function defineOudsButton(): void;
|
|
@@ -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;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { OudsButton, defineOudsButton } from "./button.js";
|
|
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";
|
|
6
|
+
export type * from "../components/button/button.types.js";
|
|
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";
|
|
@@ -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;
|
|
@@ -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 @@
|
|
|
1
|
+
export * from "./elements/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./elements/tag.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { OudsButton } from "./button.js";
|
|
2
|
+
export { OudsTag } 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";
|
package/dist/vue-tag.js
ADDED
package/dist/vue.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { t as e } from "./button-DdoJkL_N.js";
|
|
2
|
+
import { t } from "./tag-XX1_lffX.js";
|
|
3
|
+
import { t as n } from "./select-CKHEHpJL.js";
|
|
4
|
+
import { t as r } from "./checkbox-BYrgMhwO.js";
|
|
5
|
+
import { t as i } from "./text-input-9GVktDML.js";
|
|
6
|
+
export { e as OudsButton, r as OudsCheckbox, n as OudsSelect, t as OudsTag, i as OudsTextInput };
|
package/package.json
CHANGED
|
@@ -1,6 +1,128 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nilloq/ouds-web",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Vue components and framework-independent custom elements styled with OUDS Web.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"type": "module",
|
|
10
|
+
"sideEffects": [
|
|
11
|
+
"./dist/index.js",
|
|
12
|
+
"./dist/elements.js"
|
|
13
|
+
],
|
|
14
|
+
"types": "./dist/types/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/types/index.d.ts",
|
|
18
|
+
"import": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./button": {
|
|
21
|
+
"types": "./dist/types/button.d.ts",
|
|
22
|
+
"import": "./dist/button.js"
|
|
23
|
+
},
|
|
24
|
+
"./tag": {
|
|
25
|
+
"types": "./dist/types/tag.d.ts",
|
|
26
|
+
"import": "./dist/tag.js"
|
|
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
|
+
},
|
|
40
|
+
"./components": {
|
|
41
|
+
"types": "./dist/types/elements/index.d.ts",
|
|
42
|
+
"import": "./dist/elements.js"
|
|
43
|
+
},
|
|
44
|
+
"./components/button": {
|
|
45
|
+
"types": "./dist/types/elements/button.d.ts",
|
|
46
|
+
"import": "./dist/elements-button.js"
|
|
47
|
+
},
|
|
48
|
+
"./components/tag": {
|
|
49
|
+
"types": "./dist/types/elements/tag.d.ts",
|
|
50
|
+
"import": "./dist/elements-tag.js"
|
|
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
|
+
},
|
|
64
|
+
"./vue": {
|
|
65
|
+
"types": "./dist/types/vue/index.d.ts",
|
|
66
|
+
"import": "./dist/vue.js"
|
|
67
|
+
},
|
|
68
|
+
"./vue/button": {
|
|
69
|
+
"types": "./dist/types/vue/button.d.ts",
|
|
70
|
+
"import": "./dist/vue-button.js"
|
|
71
|
+
},
|
|
72
|
+
"./vue/tag": {
|
|
73
|
+
"types": "./dist/types/vue/tag.d.ts",
|
|
74
|
+
"import": "./dist/vue-tag.js"
|
|
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
|
+
},
|
|
88
|
+
"./package.json": "./package.json"
|
|
89
|
+
},
|
|
90
|
+
"publishConfig": {
|
|
91
|
+
"access": "public"
|
|
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
|
+
},
|
|
102
|
+
"devDependencies": {
|
|
103
|
+
"@types/node": "^26.6.5",
|
|
104
|
+
"@vitejs/plugin-vue": "^6.0.10",
|
|
105
|
+
"@vueuse/core": "^15.0.0",
|
|
106
|
+
"bumpp": "^12.3.0",
|
|
107
|
+
"typescript": "^5.9.3",
|
|
108
|
+
"vite-plus": "catalog:",
|
|
109
|
+
"vue": "^3.5.44",
|
|
110
|
+
"vue-router": "^5.4.0",
|
|
111
|
+
"vue-tsc": "^3.3.13"
|
|
112
|
+
},
|
|
113
|
+
"peerDependencies": {
|
|
114
|
+
"vue": ">=3.5.0"
|
|
115
|
+
},
|
|
116
|
+
"peerDependenciesMeta": {
|
|
117
|
+
"vue": {
|
|
118
|
+
"optional": true
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"devEngines": {
|
|
122
|
+
"packageManager": {
|
|
123
|
+
"name": "pnpm",
|
|
124
|
+
"version": "12.9.1",
|
|
125
|
+
"onFail": "warn"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|