@nilloq/ouds-web 0.1.4 → 0.1.6
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/LICENSE +21 -0
- package/README.md +49 -6
- package/dist/alert-By364Om4.js +77 -0
- package/dist/alert-bsnEmrzb.js +89 -0
- package/dist/alert.js +2 -0
- package/dist/badge-fffoaFuZ.js +57 -0
- package/dist/badge-yaFEZnEW.js +54 -0
- package/dist/badge.js +2 -0
- package/dist/button-BUziAVbu.js +94 -0
- package/dist/{button-LlRiSiGS.js → button-nN1Pcwm6.js} +36 -21
- package/dist/button.js +1 -1
- package/dist/checkbox-PAgQqiIw.js +145 -0
- package/dist/checkbox-g6cqR6wz.js +170 -0
- package/dist/checkbox.js +1 -1
- package/dist/control-item-slots-BNXNsI1e.js +12 -0
- package/dist/control-item-slots-XV8Gjvf1.js +9 -0
- package/dist/elements-alert.js +2 -0
- package/dist/elements-badge.js +2 -0
- package/dist/elements-button.js +1 -1
- package/dist/elements-checkbox.js +1 -1
- package/dist/elements-modal.js +2 -0
- package/dist/elements-radio.js +2 -0
- package/dist/elements-select.js +1 -1
- package/dist/elements-switch.js +2 -0
- package/dist/elements-tag.js +1 -1
- package/dist/elements-text-area.js +2 -0
- package/dist/elements-text-input.js +1 -1
- package/dist/elements.js +13 -7
- package/dist/index.js +12 -6
- package/dist/modal-CHjaB_yR.js +181 -0
- package/dist/modal-IEXNB8St.js +193 -0
- package/dist/modal.js +2 -0
- package/dist/radio-Cmrtred_.js +147 -0
- package/dist/radio-CqVqsZ7n.js +175 -0
- package/dist/radio.js +5 -0
- package/dist/{runtime-dom.esm-bundler-BzNNnH8h.js → runtime-dom.esm-bundler-BeOO_l6v.js} +987 -839
- package/dist/select-Bpou1HIY.js +167 -0
- package/dist/select-CWjTpHGb.js +126 -0
- package/dist/select.js +1 -1
- package/dist/switch-CFv0JUeq.js +132 -0
- package/dist/switch-DEYsTCw5.js +157 -0
- package/dist/switch.js +5 -0
- package/dist/tag-BdB0YDBJ.js +84 -0
- package/dist/tag-Un7w0uDf.js +81 -0
- package/dist/tag.js +1 -1
- package/dist/text-area-DkjEGpHg.js +99 -0
- package/dist/text-area-DqBoz2_d.js +139 -0
- package/dist/text-area.js +5 -0
- package/dist/text-input-DnWjB1vE.js +207 -0
- package/dist/text-input-DxzwRS2R.js +157 -0
- package/dist/text-input.js +1 -1
- package/dist/types/alert.d.ts +1 -0
- package/dist/types/badge.d.ts +1 -0
- package/dist/types/components/alert/Alert.vue.d.ts +37 -0
- package/dist/types/components/alert/alert.context.d.ts +2 -0
- package/dist/types/components/alert/alert.options.d.ts +2 -0
- package/dist/types/components/alert/alert.types.d.ts +14 -0
- package/dist/types/components/badge/Badge.vue.d.ts +26 -0
- package/dist/types/components/badge/badge.options.d.ts +4 -0
- package/dist/types/components/badge/badge.types.d.ts +13 -0
- package/dist/types/components/button/Button.vue.d.ts +7 -4
- package/dist/types/components/button/button.options.d.ts +1 -1
- package/dist/types/components/button/button.types.d.ts +2 -0
- package/dist/types/components/checkbox/Checkbox.vue.d.ts +13 -6
- package/dist/types/components/checkbox/VueCheckbox.vue.d.ts +9 -5
- package/dist/types/components/checkbox/checkbox.context.d.ts +2 -0
- package/dist/types/components/checkbox/checkbox.types.d.ts +4 -0
- package/dist/types/components/modal/Modal.vue.d.ts +86 -0
- package/dist/types/components/modal/modal.context.d.ts +2 -0
- package/dist/types/components/modal/modal.options.d.ts +7 -0
- package/dist/types/components/modal/modal.types.d.ts +28 -0
- package/dist/types/components/radio/Radio.vue.d.ts +37 -0
- package/dist/types/components/radio/VueRadio.vue.d.ts +34 -0
- package/dist/types/components/radio/radio.context.d.ts +2 -0
- package/dist/types/components/radio/radio.types.d.ts +20 -0
- package/dist/types/components/select/Select.vue.d.ts +21 -4
- package/dist/types/components/select/VueSelect.vue.d.ts +15 -5
- package/dist/types/components/select/select.types.d.ts +10 -0
- package/dist/types/components/shared/control-item-slots.d.ts +2 -0
- package/dist/types/components/switch/Switch.vue.d.ts +32 -0
- package/dist/types/components/switch/VueSwitch.vue.d.ts +28 -0
- package/dist/types/components/switch/switch.context.d.ts +2 -0
- package/dist/types/components/switch/switch.types.d.ts +17 -0
- package/dist/types/components/tag/Tag.vue.d.ts +8 -3
- package/dist/types/components/tag/tag.options.d.ts +1 -1
- package/dist/types/components/tag/tag.types.d.ts +4 -0
- package/dist/types/components/text-area/TextArea.vue.d.ts +36 -0
- package/dist/types/components/text-area/VueTextArea.vue.d.ts +32 -0
- package/dist/types/components/text-area/text-area.types.d.ts +19 -0
- package/dist/types/components/text-input/TextInput.vue.d.ts +19 -15
- package/dist/types/components/text-input/VueTextInput.vue.d.ts +17 -13
- package/dist/types/components/text-input/text-input.types.d.ts +3 -0
- package/dist/types/elements/alert.d.ts +5 -0
- package/dist/types/elements/badge.d.ts +5 -0
- package/dist/types/elements/index.d.ts +13 -0
- package/dist/types/elements/modal.d.ts +5 -0
- package/dist/types/elements/radio.d.ts +4 -0
- package/dist/types/elements/switch.d.ts +4 -0
- package/dist/types/elements/text-area.d.ts +4 -0
- package/dist/types/modal.d.ts +1 -0
- package/dist/types/radio.d.ts +2 -0
- package/dist/types/switch.d.ts +2 -0
- package/dist/types/text-area.d.ts +2 -0
- package/dist/types/vue/alert.d.ts +3 -0
- package/dist/types/vue/badge.d.ts +3 -0
- package/dist/types/vue/index.d.ts +11 -0
- package/dist/types/vue/modal.d.ts +3 -0
- package/dist/types/vue/radio.d.ts +2 -0
- package/dist/types/vue/switch.d.ts +2 -0
- package/dist/types/vue/text-area.d.ts +2 -0
- package/dist/vue-alert.js +2 -0
- package/dist/vue-badge.js +2 -0
- package/dist/vue-button.js +1 -1
- package/dist/vue-checkbox.js +1 -1
- package/dist/vue-modal.js +2 -0
- package/dist/vue-radio.js +2 -0
- package/dist/vue-select.js +1 -1
- package/dist/vue-switch.js +2 -0
- package/dist/vue-tag.js +1 -1
- package/dist/vue-text-area.js +2 -0
- package/dist/vue-text-input.js +1 -1
- package/dist/vue.js +12 -6
- package/package.json +82 -10
- package/dist/button-BPOKh6G4.js +0 -79
- package/dist/checkbox-BYrgMhwO.js +0 -105
- package/dist/checkbox-D-A_bSBK.js +0 -79
- package/dist/select-CA6TVlpX.js +0 -58
- package/dist/select-CKHEHpJL.js +0 -80
- package/dist/tag-B2qhuHjk.js +0 -41
- package/dist/tag-BY32Hj5n.js +0 -44
- package/dist/text-input-DOUGu0A2.js +0 -180
- package/dist/text-input-t-iE4dFj.js +0 -130
|
@@ -4,11 +4,16 @@ type __VLS_Props = {
|
|
|
4
4
|
statusIcon?: boolean;
|
|
5
5
|
size?: TagSize;
|
|
6
6
|
muted?: boolean;
|
|
7
|
+
bullet?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
7
10
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
declare const __VLS_template: () => {
|
|
12
|
+
__VLS_Slots: {
|
|
13
|
+
default?: (props: {}) => any;
|
|
14
|
+
};
|
|
11
15
|
};
|
|
16
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
12
17
|
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>;
|
|
13
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const tagVariants: readonly ["neutral", "accent", "positive", "info", "warning", "negative"];
|
|
1
|
+
export declare const tagVariants: readonly ["neutral", "accent", "positive", "info", "warning", "negative", "categorical-1", "categorical-2", "categorical-3", "categorical-4", "categorical-5"];
|
|
2
2
|
export declare const tagSizes: readonly ["medium", "small"];
|
|
3
3
|
export type TagVariant = (typeof tagVariants)[number];
|
|
4
4
|
export type TagSize = (typeof tagSizes)[number];
|
|
@@ -4,6 +4,10 @@ export type TagElement = HTMLElement & {
|
|
|
4
4
|
variant: TagVariant;
|
|
5
5
|
size: TagSize;
|
|
6
6
|
muted: boolean;
|
|
7
|
+
statusIcon: boolean;
|
|
8
|
+
bullet: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
loading: boolean;
|
|
7
11
|
};
|
|
8
12
|
export type TagConstructor = CustomElementConstructor & {
|
|
9
13
|
new (initialProps?: Partial<TagElement>): TagElement;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
helperText?: string;
|
|
5
|
+
errorText?: string;
|
|
6
|
+
helperLink?: string;
|
|
7
|
+
helperLinkHref?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
outlined?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
invalid?: boolean;
|
|
14
|
+
maxWidth?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_template: () => {
|
|
17
|
+
__VLS_Slots: {
|
|
18
|
+
label?: (props: {}) => any;
|
|
19
|
+
} & {
|
|
20
|
+
'helper-text'?: (props: {}) => any;
|
|
21
|
+
} & {
|
|
22
|
+
'error-text'?: (props: {}) => any;
|
|
23
|
+
} & {
|
|
24
|
+
'helper-link'?: (props: {}) => any;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
28
|
+
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>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_template: () => {
|
|
5
|
+
__VLS_Slots: {
|
|
6
|
+
label?: (props: {}) => any;
|
|
7
|
+
} & {
|
|
8
|
+
'helper-text'?: (props: {}) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'error-text'?: (props: {}) => any;
|
|
11
|
+
} & {
|
|
12
|
+
'helper-link'?: (props: {}) => any;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
16
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
17
|
+
input: (event: Event) => any;
|
|
18
|
+
change: (event: Event) => any;
|
|
19
|
+
"update:modelValue": (value: string) => any;
|
|
20
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
21
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
22
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type TextAreaElement = HTMLElement & {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
placeholder: string;
|
|
5
|
+
helperText: string;
|
|
6
|
+
errorText: string;
|
|
7
|
+
helperLink: string;
|
|
8
|
+
helperLinkHref: string;
|
|
9
|
+
value: string;
|
|
10
|
+
outlined: boolean;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
readonly: boolean;
|
|
13
|
+
required: boolean;
|
|
14
|
+
invalid: boolean;
|
|
15
|
+
maxWidth: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type TextAreaConstructor = CustomElementConstructor & {
|
|
18
|
+
new (initialProps?: Partial<TextAreaElement>): TextAreaElement;
|
|
19
|
+
};
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
id?: string;
|
|
3
2
|
label?: string;
|
|
4
3
|
placeholder?: string;
|
|
5
4
|
helperText?: string;
|
|
6
5
|
errorText?: string;
|
|
7
6
|
helperLink?: string;
|
|
8
7
|
helperLinkHref?: string;
|
|
9
|
-
prefix?: string;
|
|
10
8
|
suffix?: string;
|
|
11
9
|
value?: string;
|
|
12
10
|
type?: string;
|
|
@@ -15,21 +13,27 @@ type __VLS_Props = {
|
|
|
15
13
|
readonly?: boolean;
|
|
16
14
|
required?: boolean;
|
|
17
15
|
invalid?: boolean;
|
|
16
|
+
maxWidth?: boolean;
|
|
17
|
+
loading?: boolean;
|
|
18
18
|
};
|
|
19
|
-
declare
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} & {
|
|
23
|
-
|
|
24
|
-
} & {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} & {
|
|
29
|
-
|
|
30
|
-
} & {
|
|
31
|
-
|
|
19
|
+
declare const __VLS_template: () => {
|
|
20
|
+
__VLS_Slots: {
|
|
21
|
+
'leading-icon'?: (props: {}) => any;
|
|
22
|
+
} & {
|
|
23
|
+
label?: (props: {}) => any;
|
|
24
|
+
} & {
|
|
25
|
+
'trailing-action'?: (props: {
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
}) => any;
|
|
28
|
+
} & {
|
|
29
|
+
'helper-text'?: (props: {}) => any;
|
|
30
|
+
} & {
|
|
31
|
+
'error-text'?: (props: {}) => any;
|
|
32
|
+
} & {
|
|
33
|
+
'helper-link'?: (props: {}) => any;
|
|
34
|
+
};
|
|
32
35
|
};
|
|
36
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
33
37
|
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
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
39
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
type __VLS_ModelProps = {
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
};
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} & {
|
|
8
|
-
|
|
9
|
-
} & {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} & {
|
|
14
|
-
|
|
15
|
-
} & {
|
|
16
|
-
|
|
4
|
+
declare const __VLS_template: () => {
|
|
5
|
+
__VLS_Slots: {
|
|
6
|
+
label?: (props: {}) => any;
|
|
7
|
+
} & {
|
|
8
|
+
'leading-icon'?: (props: {}) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'trailing-action'?: (props: {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
}) => any;
|
|
13
|
+
} & {
|
|
14
|
+
'helper-text'?: (props: {}) => any;
|
|
15
|
+
} & {
|
|
16
|
+
'error-text'?: (props: {}) => any;
|
|
17
|
+
} & {
|
|
18
|
+
'helper-link'?: (props: {}) => any;
|
|
19
|
+
};
|
|
17
20
|
};
|
|
21
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
18
22
|
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
19
23
|
input: (event: Event) => any;
|
|
20
24
|
change: (event: Event) => any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type TextInputElement = HTMLElement & {
|
|
2
2
|
id: string;
|
|
3
3
|
label: string;
|
|
4
|
+
placeholder: string;
|
|
4
5
|
helperText: string;
|
|
5
6
|
errorText: string;
|
|
6
7
|
helperLink: string;
|
|
@@ -14,6 +15,8 @@ export type TextInputElement = HTMLElement & {
|
|
|
14
15
|
readonly: boolean;
|
|
15
16
|
required: boolean;
|
|
16
17
|
invalid: boolean;
|
|
18
|
+
maxWidth: boolean;
|
|
19
|
+
loading: boolean;
|
|
17
20
|
};
|
|
18
21
|
export type TextInputConstructor = CustomElementConstructor & {
|
|
19
22
|
new (initialProps?: Partial<TextInputElement>): TextInputElement;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { AlertConstructor } from "../components/alert/alert.types.js";
|
|
2
|
+
export type { AlertConstructor, AlertElement, AlertVariant, } from "../components/alert/alert.types.js";
|
|
3
|
+
export * from "../components/alert/alert.options.js";
|
|
4
|
+
export declare const OudsAlert: AlertConstructor;
|
|
5
|
+
export declare function defineOudsAlert(): void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { BadgeConstructor } from "../components/badge/badge.types.js";
|
|
2
|
+
export type { BadgeConstructor, BadgeElement, BadgeVariant, BadgeSize, } from "../components/badge/badge.types.js";
|
|
3
|
+
export declare const OudsBadge: BadgeConstructor;
|
|
4
|
+
export declare function defineOudsBadge(): void;
|
|
5
|
+
export * from "../components/badge/badge.options.js";
|
|
@@ -1,12 +1,25 @@
|
|
|
1
|
+
export { OudsAlert, defineOudsAlert } from "./alert.js";
|
|
2
|
+
export type * from "../components/alert/alert.types.js";
|
|
3
|
+
export * from "../components/alert/alert.options.js";
|
|
4
|
+
export { OudsBadge, defineOudsBadge } from "./badge.js";
|
|
1
5
|
export { OudsButton, defineOudsButton } from "./button.js";
|
|
2
6
|
export { OudsTag, defineOudsTag } from "./tag.js";
|
|
3
7
|
export { OudsSelect, defineOudsSelect } from "./select.js";
|
|
4
8
|
export { OudsCheckbox, defineOudsCheckbox } from "./checkbox.js";
|
|
9
|
+
export { OudsRadio, defineOudsRadio } from "./radio.js";
|
|
10
|
+
export { OudsSwitch, defineOudsSwitch } from "./switch.js";
|
|
5
11
|
export { OudsTextInput, defineOudsTextInput } from "./text-input.js";
|
|
12
|
+
export { OudsTextArea, defineOudsTextArea } from "./text-area.js";
|
|
13
|
+
export type * from "../components/badge/badge.types.js";
|
|
6
14
|
export type * from "../components/button/button.types.js";
|
|
7
15
|
export type * from "../components/tag/tag.types.js";
|
|
8
16
|
export type * from "../components/select/select.types.js";
|
|
9
17
|
export type * from "../components/checkbox/checkbox.types.js";
|
|
18
|
+
export type * from "../components/radio/radio.types.js";
|
|
19
|
+
export type * from "../components/switch/switch.types.js";
|
|
10
20
|
export type * from "../components/text-input/text-input.types.js";
|
|
21
|
+
export type * from "../components/text-area/text-area.types.js";
|
|
22
|
+
export * from "../components/badge/badge.options.js";
|
|
11
23
|
export * from "../components/button/button.options.js";
|
|
12
24
|
export * from "../components/tag/tag.options.js";
|
|
25
|
+
export * from "./modal.js";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ModalConstructor } from "../components/modal/modal.types.js";
|
|
2
|
+
export type * from "../components/modal/modal.types.js";
|
|
3
|
+
export * from "../components/modal/modal.options.js";
|
|
4
|
+
export declare const OudsModal: ModalConstructor;
|
|
5
|
+
export declare function defineOudsModal(): void;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SwitchConstructor } from "../components/switch/switch.types.js";
|
|
2
|
+
export type { SwitchConstructor, SwitchElement } from "../components/switch/switch.types.js";
|
|
3
|
+
export declare const OudsSwitch: SwitchConstructor;
|
|
4
|
+
export declare function defineOudsSwitch(): void;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TextAreaConstructor } from "../components/text-area/text-area.types.js";
|
|
2
|
+
export type { TextAreaConstructor, TextAreaElement, } from "../components/text-area/text-area.types.js";
|
|
3
|
+
export declare const OudsTextArea: TextAreaConstructor;
|
|
4
|
+
export declare function defineOudsTextArea(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./elements/modal.js";
|
|
@@ -1,12 +1,23 @@
|
|
|
1
|
+
export * from "./alert.js";
|
|
2
|
+
export { OudsBadge } from "./badge.js";
|
|
1
3
|
export { OudsButton } from "./button.js";
|
|
2
4
|
export { OudsTag } from "./tag.js";
|
|
3
5
|
export { OudsSelect } from "./select.js";
|
|
4
6
|
export { OudsCheckbox } from "./checkbox.js";
|
|
7
|
+
export { OudsRadio } from "./radio.js";
|
|
8
|
+
export { OudsSwitch } from "./switch.js";
|
|
5
9
|
export { OudsTextInput } from "./text-input.js";
|
|
10
|
+
export { OudsTextArea } from "./text-area.js";
|
|
11
|
+
export type { BadgeElement, BadgeVariant, BadgeSize } from "./badge.js";
|
|
6
12
|
export type { ButtonElement, ButtonVariant } from "./button.js";
|
|
7
13
|
export type { TagElement, TagVariant } from "./tag.js";
|
|
8
14
|
export type { SelectElement } from "../components/select/select.types.js";
|
|
9
15
|
export type { CheckboxElement } from "../components/checkbox/checkbox.types.js";
|
|
16
|
+
export type { RadioElement } from "../components/radio/radio.types.js";
|
|
17
|
+
export type { SwitchElement } from "../components/switch/switch.types.js";
|
|
10
18
|
export type { TextInputElement } from "../components/text-input/text-input.types.js";
|
|
19
|
+
export type { TextAreaElement } from "../components/text-area/text-area.types.js";
|
|
20
|
+
export * from "../components/badge/badge.options.js";
|
|
11
21
|
export * from "../components/button/button.options.js";
|
|
12
22
|
export * from "../components/tag/tag.options.js";
|
|
23
|
+
export * from "./modal.js";
|
package/dist/vue-button.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./button-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./button-nN1Pcwm6.js";
|
|
2
2
|
export { e as OudsButton, i as buttonNavigations, n as buttonSizes, r as buttonTypes, t as buttonVariants };
|
package/dist/vue-checkbox.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./checkbox-
|
|
1
|
+
import { t as e } from "./checkbox-g6cqR6wz.js";
|
|
2
2
|
export { e as OudsCheckbox };
|
package/dist/vue-select.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./select-
|
|
1
|
+
import { t as e } from "./select-Bpou1HIY.js";
|
|
2
2
|
export { e as OudsSelect };
|
package/dist/vue-tag.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./tag-
|
|
1
|
+
import { n as e, r as t, t as n } from "./tag-Un7w0uDf.js";
|
|
2
2
|
export { t as OudsTag, n as tagSizes, e as tagVariants };
|
package/dist/vue-text-input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./text-input-
|
|
1
|
+
import { t as e } from "./text-input-DnWjB1vE.js";
|
|
2
2
|
export { e as OudsTextInput };
|
package/dist/vue.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
|
|
1
|
+
import { n as e, t } from "./alert-By364Om4.js";
|
|
2
|
+
import { n, r, t as i } from "./badge-yaFEZnEW.js";
|
|
3
|
+
import { a, i as o, n as s, r as c, t as l } from "./button-nN1Pcwm6.js";
|
|
4
|
+
import { n as u, r as d, t as f } from "./tag-Un7w0uDf.js";
|
|
5
|
+
import { t as p } from "./select-Bpou1HIY.js";
|
|
6
|
+
import { t as m } from "./checkbox-g6cqR6wz.js";
|
|
7
|
+
import { t as h } from "./radio-CqVqsZ7n.js";
|
|
8
|
+
import { t as g } from "./switch-DEYsTCw5.js";
|
|
9
|
+
import { t as _ } from "./text-input-DnWjB1vE.js";
|
|
10
|
+
import { t as v } from "./text-area-DqBoz2_d.js";
|
|
11
|
+
import { i as y, n as b, r as x, t as S } from "./modal-CHjaB_yR.js";
|
|
12
|
+
export { e as OudsAlert, r as OudsBadge, a as OudsButton, m as OudsCheckbox, y as OudsModal, h as OudsRadio, p as OudsSelect, g as OudsSwitch, d as OudsTag, v as OudsTextArea, _ as OudsTextInput, t as alertVariants, i as badgeSizes, n as badgeVariants, l as buttonNavigations, s as buttonSizes, c as buttonTypes, o as buttonVariants, S as modalSizes, b as modalTypes, x as modalVariants, f as tagSizes, u as tagVariants };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nilloq/ouds-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Vue components and framework-independent custom elements styled with OUDS Web.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -33,10 +33,22 @@
|
|
|
33
33
|
"types": "./dist/types/checkbox.d.ts",
|
|
34
34
|
"import": "./dist/checkbox.js"
|
|
35
35
|
},
|
|
36
|
+
"./radio": {
|
|
37
|
+
"types": "./dist/types/radio.d.ts",
|
|
38
|
+
"import": "./dist/radio.js"
|
|
39
|
+
},
|
|
40
|
+
"./switch": {
|
|
41
|
+
"types": "./dist/types/switch.d.ts",
|
|
42
|
+
"import": "./dist/switch.js"
|
|
43
|
+
},
|
|
36
44
|
"./text-input": {
|
|
37
45
|
"types": "./dist/types/text-input.d.ts",
|
|
38
46
|
"import": "./dist/text-input.js"
|
|
39
47
|
},
|
|
48
|
+
"./text-area": {
|
|
49
|
+
"types": "./dist/types/text-area.d.ts",
|
|
50
|
+
"import": "./dist/text-area.js"
|
|
51
|
+
},
|
|
40
52
|
"./components": {
|
|
41
53
|
"types": "./dist/types/elements/index.d.ts",
|
|
42
54
|
"import": "./dist/elements.js"
|
|
@@ -57,10 +69,22 @@
|
|
|
57
69
|
"types": "./dist/types/elements/checkbox.d.ts",
|
|
58
70
|
"import": "./dist/elements-checkbox.js"
|
|
59
71
|
},
|
|
72
|
+
"./components/radio": {
|
|
73
|
+
"types": "./dist/types/elements/radio.d.ts",
|
|
74
|
+
"import": "./dist/elements-radio.js"
|
|
75
|
+
},
|
|
76
|
+
"./components/switch": {
|
|
77
|
+
"types": "./dist/types/elements/switch.d.ts",
|
|
78
|
+
"import": "./dist/elements-switch.js"
|
|
79
|
+
},
|
|
60
80
|
"./components/text-input": {
|
|
61
81
|
"types": "./dist/types/elements/text-input.d.ts",
|
|
62
82
|
"import": "./dist/elements-text-input.js"
|
|
63
83
|
},
|
|
84
|
+
"./components/text-area": {
|
|
85
|
+
"types": "./dist/types/elements/text-area.d.ts",
|
|
86
|
+
"import": "./dist/elements-text-area.js"
|
|
87
|
+
},
|
|
64
88
|
"./vue": {
|
|
65
89
|
"types": "./dist/types/vue/index.d.ts",
|
|
66
90
|
"import": "./dist/vue.js"
|
|
@@ -81,11 +105,59 @@
|
|
|
81
105
|
"types": "./dist/types/vue/checkbox.d.ts",
|
|
82
106
|
"import": "./dist/vue-checkbox.js"
|
|
83
107
|
},
|
|
108
|
+
"./vue/radio": {
|
|
109
|
+
"types": "./dist/types/vue/radio.d.ts",
|
|
110
|
+
"import": "./dist/vue-radio.js"
|
|
111
|
+
},
|
|
112
|
+
"./vue/switch": {
|
|
113
|
+
"types": "./dist/types/vue/switch.d.ts",
|
|
114
|
+
"import": "./dist/vue-switch.js"
|
|
115
|
+
},
|
|
84
116
|
"./vue/text-input": {
|
|
85
117
|
"types": "./dist/types/vue/text-input.d.ts",
|
|
86
118
|
"import": "./dist/vue-text-input.js"
|
|
87
119
|
},
|
|
88
|
-
"./
|
|
120
|
+
"./vue/text-area": {
|
|
121
|
+
"types": "./dist/types/vue/text-area.d.ts",
|
|
122
|
+
"import": "./dist/vue-text-area.js"
|
|
123
|
+
},
|
|
124
|
+
"./package.json": "./package.json",
|
|
125
|
+
"./badge": {
|
|
126
|
+
"types": "./dist/types/badge.d.ts",
|
|
127
|
+
"import": "./dist/badge.js"
|
|
128
|
+
},
|
|
129
|
+
"./components/badge": {
|
|
130
|
+
"types": "./dist/types/elements/badge.d.ts",
|
|
131
|
+
"import": "./dist/elements-badge.js"
|
|
132
|
+
},
|
|
133
|
+
"./vue/badge": {
|
|
134
|
+
"types": "./dist/types/vue/badge.d.ts",
|
|
135
|
+
"import": "./dist/vue-badge.js"
|
|
136
|
+
},
|
|
137
|
+
"./alert": {
|
|
138
|
+
"types": "./dist/types/alert.d.ts",
|
|
139
|
+
"import": "./dist/alert.js"
|
|
140
|
+
},
|
|
141
|
+
"./components/alert": {
|
|
142
|
+
"types": "./dist/types/elements/alert.d.ts",
|
|
143
|
+
"import": "./dist/elements-alert.js"
|
|
144
|
+
},
|
|
145
|
+
"./vue/alert": {
|
|
146
|
+
"types": "./dist/types/vue/alert.d.ts",
|
|
147
|
+
"import": "./dist/vue-alert.js"
|
|
148
|
+
},
|
|
149
|
+
"./modal": {
|
|
150
|
+
"types": "./dist/types/modal.d.ts",
|
|
151
|
+
"import": "./dist/modal.js"
|
|
152
|
+
},
|
|
153
|
+
"./components/modal": {
|
|
154
|
+
"types": "./dist/types/elements/modal.d.ts",
|
|
155
|
+
"import": "./dist/elements-modal.js"
|
|
156
|
+
},
|
|
157
|
+
"./vue/modal": {
|
|
158
|
+
"types": "./dist/types/vue/modal.d.ts",
|
|
159
|
+
"import": "./dist/vue-modal.js"
|
|
160
|
+
}
|
|
89
161
|
},
|
|
90
162
|
"publishConfig": {
|
|
91
163
|
"access": "public"
|
|
@@ -100,18 +172,18 @@
|
|
|
100
172
|
"prepare": "vp config && vp run build"
|
|
101
173
|
},
|
|
102
174
|
"devDependencies": {
|
|
103
|
-
"@types/node": "^26.6.
|
|
104
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
105
|
-
"@vueuse/core": "^15.
|
|
175
|
+
"@types/node": "^26.6.11",
|
|
176
|
+
"@vitejs/plugin-vue": "^6.0.11",
|
|
177
|
+
"@vueuse/core": "^15.1.0",
|
|
106
178
|
"bumpp": "^12.3.0",
|
|
107
|
-
"marked": "^18.
|
|
108
|
-
"shiki": "^4.
|
|
179
|
+
"marked": "^18.3.0",
|
|
180
|
+
"shiki": "^4.6.0",
|
|
109
181
|
"shiki-transformer-copy-button": "^0.0.6",
|
|
110
182
|
"typescript": "^5.9.3",
|
|
111
183
|
"vite-plus": "catalog:",
|
|
112
|
-
"vue": "^3.5.
|
|
113
|
-
"vue-router": "^5.
|
|
114
|
-
"vue-tsc": "^3.3.
|
|
184
|
+
"vue": "^3.5.46",
|
|
185
|
+
"vue-router": "^5.5.1",
|
|
186
|
+
"vue-tsc": "^3.3.14"
|
|
115
187
|
},
|
|
116
188
|
"peerDependencies": {
|
|
117
189
|
"vue": ">=3.5.0"
|