@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.
Files changed (62) hide show
  1. package/README.md +80 -2
  2. package/dist/button-DdoJkL_N.js +59 -0
  3. package/dist/button-z6rNROko.js +62 -0
  4. package/dist/button.js +2 -0
  5. package/dist/checkbox-BYrgMhwO.js +105 -0
  6. package/dist/checkbox-CS0xyJ93.js +79 -0
  7. package/dist/checkbox.js +5 -0
  8. package/dist/elements-button.js +2 -0
  9. package/dist/elements-checkbox.js +2 -0
  10. package/dist/elements-select.js +2 -0
  11. package/dist/elements-tag.js +2 -0
  12. package/dist/elements-text-input.js +2 -0
  13. package/dist/elements.js +8 -0
  14. package/dist/index.js +7 -0
  15. package/dist/runtime-dom.esm-bundler-Bh0p0Jto.js +2782 -0
  16. package/dist/select-6rG9CVMu.js +58 -0
  17. package/dist/select-CKHEHpJL.js +80 -0
  18. package/dist/select.js +5 -0
  19. package/dist/tag-Gq6ZayFl.js +37 -0
  20. package/dist/tag-XX1_lffX.js +34 -0
  21. package/dist/tag.js +2 -0
  22. package/dist/text-input-9GVktDML.js +113 -0
  23. package/dist/text-input-DLbvTlpY.js +73 -0
  24. package/dist/text-input.js +5 -0
  25. package/dist/types/button.d.ts +1 -0
  26. package/dist/types/checkbox.d.ts +2 -0
  27. package/dist/types/components/button/Button.vue.d.ts +22 -0
  28. package/dist/types/components/button/button.types.d.ts +14 -0
  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 +20 -0
  36. package/dist/types/components/tag/tag.types.d.ts +9 -0
  37. package/dist/types/components/text-input/TextInput.vue.d.ts +31 -0
  38. package/dist/types/components/text-input/VueTextInput.vue.d.ts +30 -0
  39. package/dist/types/components/text-input/text-input.types.d.ts +14 -0
  40. package/dist/types/elements/button.d.ts +4 -0
  41. package/dist/types/elements/checkbox.d.ts +4 -0
  42. package/dist/types/elements/index.d.ts +10 -0
  43. package/dist/types/elements/select.d.ts +4 -0
  44. package/dist/types/elements/tag.d.ts +4 -0
  45. package/dist/types/elements/text-input.d.ts +4 -0
  46. package/dist/types/index.d.ts +1 -0
  47. package/dist/types/select.d.ts +2 -0
  48. package/dist/types/tag.d.ts +1 -0
  49. package/dist/types/text-input.d.ts +2 -0
  50. package/dist/types/vue/button.d.ts +2 -0
  51. package/dist/types/vue/checkbox.d.ts +2 -0
  52. package/dist/types/vue/index.d.ts +10 -0
  53. package/dist/types/vue/select.d.ts +2 -0
  54. package/dist/types/vue/tag.d.ts +2 -0
  55. package/dist/types/vue/text-input.d.ts +2 -0
  56. package/dist/vue-button.js +2 -0
  57. package/dist/vue-checkbox.js +2 -0
  58. package/dist/vue-select.js +2 -0
  59. package/dist/vue-tag.js +2 -0
  60. package/dist/vue-text-input.js +2 -0
  61. package/dist/vue.js +6 -0
  62. 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 { 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
+ export declare function defineOudsTag(): 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,2 @@
1
+ export { OudsSelect, defineOudsSelect } from "./elements/select.js";
2
+ export type * from "./components/select/select.types.js";
@@ -0,0 +1 @@
1
+ export * from "./elements/tag.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";
@@ -0,0 +1,2 @@
1
+ export { default as OudsButton } from "../components/button/Button.vue";
2
+ export type { ButtonElement, ButtonVariant } from "../components/button/button.types.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";
@@ -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";
@@ -0,0 +1,2 @@
1
+ export { default as OudsSelect } from "../components/select/VueSelect.vue";
2
+ export type { SelectElement } from "../components/select/select.types.js";
@@ -0,0 +1,2 @@
1
+ export { default as OudsTag } from "../components/tag/Tag.vue";
2
+ export type { TagElement, TagVariant } from "../components/tag/tag.types.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";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./button-DdoJkL_N.js";
2
+ export { e as OudsButton };
@@ -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 };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./tag-XX1_lffX.js";
2
+ export { e as OudsTag };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./text-input-9GVktDML.js";
2
+ export { e as OudsTextInput };
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.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
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
+ }