@nilloq/ouds-web 0.1.5 → 0.1.7
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 +17 -72
- package/dist/alert-B4w3fDHo.js +89 -0
- package/dist/alert-Chns046l.js +77 -0
- package/dist/alert.js +2 -0
- package/dist/badge-CDpWg-AO.js +57 -0
- package/dist/badge-yaFEZnEW.js +54 -0
- package/dist/badge.js +2 -0
- package/dist/{button-LlRiSiGS.js → button-nN1Pcwm6.js} +36 -21
- package/dist/button-rgIJZsYq.js +94 -0
- package/dist/button.js +1 -1
- package/dist/checkbox-D7TFFuw3.js +196 -0
- package/dist/checkbox-DfYlHYR2.js +155 -0
- package/dist/checkbox.js +1 -1
- package/dist/chip-B3v4pWZD.js +92 -0
- package/dist/chip-DGfqitrQ.js +115 -0
- package/dist/chip.js +2 -0
- package/dist/control-item-slots-BDoeNuk4.js +15 -0
- package/dist/control-item-slots-Ddp7c8w8.js +12 -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-chip.js +2 -0
- 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 +14 -7
- package/dist/index.js +13 -6
- package/dist/modal-BAvMVUIE.js +193 -0
- package/dist/modal-BnT5Kxjg.js +181 -0
- package/dist/modal.js +2 -0
- package/dist/radio-CDq4r1_L.js +155 -0
- package/dist/radio-TaYThYkI.js +199 -0
- package/dist/radio.js +5 -0
- package/dist/{runtime-dom.esm-bundler-BzNNnH8h.js → runtime-dom.esm-bundler-DLryEdgJ.js} +987 -839
- package/dist/select--O3jL-En.js +134 -0
- package/dist/select-NiIx8bVD.js +191 -0
- package/dist/select.js +1 -1
- package/dist/switch-BmxLKPbL.js +179 -0
- package/dist/switch-D5N-j5F7.js +140 -0
- package/dist/switch.js +5 -0
- package/dist/tag-BvOt0v-c.js +84 -0
- package/dist/tag-Un7w0uDf.js +81 -0
- package/dist/tag.js +1 -1
- package/dist/text-area-BdmAyh3N.js +163 -0
- package/dist/text-area-BgYNtAMx.js +107 -0
- package/dist/text-area.js +5 -0
- package/dist/text-input-DgFIuIOA.js +235 -0
- package/dist/text-input-i559HVOP.js +163 -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/chip.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 +8 -5
- 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 -17
- package/dist/types/components/checkbox/VueCheckbox.vue.d.ts +18 -8
- package/dist/types/components/checkbox/checkbox.context.d.ts +2 -0
- package/dist/types/components/checkbox/checkbox.types.d.ts +20 -0
- package/dist/types/components/chip/Chip.vue.d.ts +38 -0
- package/dist/types/components/chip/VueChip.vue.d.ts +32 -0
- package/dist/types/components/chip/chip.context.d.ts +2 -0
- package/dist/types/components/chip/chip.types.d.ts +27 -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 +22 -0
- package/dist/types/components/radio/VueRadio.vue.d.ts +36 -0
- package/dist/types/components/radio/radio.context.d.ts +2 -0
- package/dist/types/components/radio/radio.types.d.ts +36 -0
- package/dist/types/components/select/Select.vue.d.ts +17 -17
- package/dist/types/components/select/VueSelect.vue.d.ts +24 -8
- package/dist/types/components/select/select.types.d.ts +28 -0
- package/dist/types/components/shared/control-item-slots.d.ts +3 -0
- package/dist/types/components/switch/Switch.vue.d.ts +20 -0
- package/dist/types/components/switch/VueSwitch.vue.d.ts +34 -0
- package/dist/types/components/switch/switch.context.d.ts +2 -0
- package/dist/types/components/switch/switch.types.d.ts +30 -0
- package/dist/types/components/tag/Tag.vue.d.ts +9 -4
- 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 +22 -0
- package/dist/types/components/text-area/VueTextArea.vue.d.ts +38 -0
- package/dist/types/components/text-area/text-area.types.d.ts +34 -0
- package/dist/types/components/text-input/TextInput.vue.d.ts +19 -34
- package/dist/types/components/text-input/VueTextInput.vue.d.ts +26 -16
- package/dist/types/components/text-input/text-input.types.d.ts +26 -0
- package/dist/types/elements/alert.d.ts +5 -0
- package/dist/types/elements/badge.d.ts +5 -0
- package/dist/types/elements/chip.d.ts +4 -0
- package/dist/types/elements/index.d.ts +15 -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/checkbox.d.ts +1 -1
- package/dist/types/vue/chip.d.ts +2 -0
- package/dist/types/vue/index.d.ts +16 -3
- package/dist/types/vue/modal.d.ts +3 -0
- package/dist/types/vue/radio.d.ts +2 -0
- package/dist/types/vue/select.d.ts +1 -1
- package/dist/types/vue/switch.d.ts +2 -0
- package/dist/types/vue/text-area.d.ts +2 -0
- package/dist/types/vue/text-input.d.ts +1 -1
- 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-chip.js +2 -0
- 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 +13 -6
- package/package.json +96 -11
- 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-CtTr5yfe.js +0 -151
- package/dist/text-input-l1F2arKl.js +0 -201
|
@@ -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,27 @@
|
|
|
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";
|
|
7
|
+
export { OudsChip, defineOudsChip } from "./chip.js";
|
|
3
8
|
export { OudsSelect, defineOudsSelect } from "./select.js";
|
|
4
9
|
export { OudsCheckbox, defineOudsCheckbox } from "./checkbox.js";
|
|
10
|
+
export { OudsRadio, defineOudsRadio } from "./radio.js";
|
|
11
|
+
export { OudsSwitch, defineOudsSwitch } from "./switch.js";
|
|
5
12
|
export { OudsTextInput, defineOudsTextInput } from "./text-input.js";
|
|
13
|
+
export { OudsTextArea, defineOudsTextArea } from "./text-area.js";
|
|
14
|
+
export type * from "../components/badge/badge.types.js";
|
|
6
15
|
export type * from "../components/button/button.types.js";
|
|
7
16
|
export type * from "../components/tag/tag.types.js";
|
|
17
|
+
export type * from "../components/chip/chip.types.js";
|
|
8
18
|
export type * from "../components/select/select.types.js";
|
|
9
19
|
export type * from "../components/checkbox/checkbox.types.js";
|
|
20
|
+
export type * from "../components/radio/radio.types.js";
|
|
21
|
+
export type * from "../components/switch/switch.types.js";
|
|
10
22
|
export type * from "../components/text-input/text-input.types.js";
|
|
23
|
+
export type * from "../components/text-area/text-area.types.js";
|
|
24
|
+
export * from "../components/badge/badge.options.js";
|
|
11
25
|
export * from "../components/button/button.options.js";
|
|
12
26
|
export * from "../components/tag/tag.options.js";
|
|
27
|
+
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,2 +1,2 @@
|
|
|
1
1
|
export { default as OudsCheckbox } from "../components/checkbox/VueCheckbox.vue";
|
|
2
|
-
export type { CheckboxElement } from "../components/checkbox/checkbox.types.js";
|
|
2
|
+
export type { CheckboxElement, CheckboxProps } from "../components/checkbox/checkbox.types.js";
|
|
@@ -1,12 +1,25 @@
|
|
|
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";
|
|
5
|
+
export { OudsChip } from "./chip.js";
|
|
3
6
|
export { OudsSelect } from "./select.js";
|
|
4
7
|
export { OudsCheckbox } from "./checkbox.js";
|
|
8
|
+
export { OudsRadio } from "./radio.js";
|
|
9
|
+
export { OudsSwitch } from "./switch.js";
|
|
5
10
|
export { OudsTextInput } from "./text-input.js";
|
|
11
|
+
export { OudsTextArea } from "./text-area.js";
|
|
12
|
+
export type { BadgeElement, BadgeVariant, BadgeSize } from "./badge.js";
|
|
6
13
|
export type { ButtonElement, ButtonVariant } from "./button.js";
|
|
7
14
|
export type { TagElement, TagVariant } from "./tag.js";
|
|
8
|
-
export type {
|
|
9
|
-
export type {
|
|
10
|
-
export type {
|
|
15
|
+
export type { ChipElement, ChipVariant, ChipInputType, ChipProps } from "./chip.js";
|
|
16
|
+
export type { SelectElement, SelectProps } from "../components/select/select.types.js";
|
|
17
|
+
export type { CheckboxElement, CheckboxProps } from "../components/checkbox/checkbox.types.js";
|
|
18
|
+
export type { RadioElement, RadioProps } from "../components/radio/radio.types.js";
|
|
19
|
+
export type { SwitchElement, SwitchProps } from "../components/switch/switch.types.js";
|
|
20
|
+
export type { TextInputElement, TextInputProps, } from "../components/text-input/text-input.types.js";
|
|
21
|
+
export type { TextAreaElement, TextAreaProps } 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";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as OudsSelect } from "../components/select/VueSelect.vue";
|
|
2
|
-
export type { SelectElement } from "../components/select/select.types.js";
|
|
2
|
+
export type { SelectElement, SelectProps } from "../components/select/select.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as OudsTextInput } from "../components/text-input/VueTextInput.vue";
|
|
2
|
-
export type { TextInputElement } from "../components/text-input/text-input.types.js";
|
|
2
|
+
export type { TextInputElement, TextInputProps, } from "../components/text-input/text-input.types.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-D7TFFuw3.js";
|
|
2
2
|
export { e as OudsCheckbox };
|
package/dist/vue-chip.js
ADDED
package/dist/vue-select.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./select-
|
|
1
|
+
import { t as e } from "./select-NiIx8bVD.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-DgFIuIOA.js";
|
|
2
2
|
export { e as OudsTextInput };
|
package/dist/vue.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
|
|
1
|
+
import { n as e, t } from "./alert-Chns046l.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 "./chip-DGfqitrQ.js";
|
|
6
|
+
import { t as m } from "./select-NiIx8bVD.js";
|
|
7
|
+
import { t as h } from "./checkbox-D7TFFuw3.js";
|
|
8
|
+
import { t as g } from "./radio-TaYThYkI.js";
|
|
9
|
+
import { t as _ } from "./switch-BmxLKPbL.js";
|
|
10
|
+
import { t as v } from "./text-input-DgFIuIOA.js";
|
|
11
|
+
import { t as y } from "./text-area-BdmAyh3N.js";
|
|
12
|
+
import { i as b, n as x, r as S, t as C } from "./modal-BnT5Kxjg.js";
|
|
13
|
+
export { e as OudsAlert, r as OudsBadge, a as OudsButton, h as OudsCheckbox, p as OudsChip, b as OudsModal, g as OudsRadio, m as OudsSelect, _ as OudsSwitch, d as OudsTag, y as OudsTextArea, v as OudsTextInput, t as alertVariants, i as badgeSizes, n as badgeVariants, l as buttonNavigations, s as buttonSizes, c as buttonTypes, o as buttonVariants, C as modalSizes, x as modalTypes, S 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.7",
|
|
4
4
|
"description": "Vue components and framework-independent custom elements styled with OUDS Web.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
"types": "./dist/types/tag.d.ts",
|
|
26
26
|
"import": "./dist/tag.js"
|
|
27
27
|
},
|
|
28
|
+
"./chip": {
|
|
29
|
+
"types": "./dist/types/chip.d.ts",
|
|
30
|
+
"import": "./dist/chip.js"
|
|
31
|
+
},
|
|
28
32
|
"./select": {
|
|
29
33
|
"types": "./dist/types/select.d.ts",
|
|
30
34
|
"import": "./dist/select.js"
|
|
@@ -33,10 +37,22 @@
|
|
|
33
37
|
"types": "./dist/types/checkbox.d.ts",
|
|
34
38
|
"import": "./dist/checkbox.js"
|
|
35
39
|
},
|
|
40
|
+
"./radio": {
|
|
41
|
+
"types": "./dist/types/radio.d.ts",
|
|
42
|
+
"import": "./dist/radio.js"
|
|
43
|
+
},
|
|
44
|
+
"./switch": {
|
|
45
|
+
"types": "./dist/types/switch.d.ts",
|
|
46
|
+
"import": "./dist/switch.js"
|
|
47
|
+
},
|
|
36
48
|
"./text-input": {
|
|
37
49
|
"types": "./dist/types/text-input.d.ts",
|
|
38
50
|
"import": "./dist/text-input.js"
|
|
39
51
|
},
|
|
52
|
+
"./text-area": {
|
|
53
|
+
"types": "./dist/types/text-area.d.ts",
|
|
54
|
+
"import": "./dist/text-area.js"
|
|
55
|
+
},
|
|
40
56
|
"./components": {
|
|
41
57
|
"types": "./dist/types/elements/index.d.ts",
|
|
42
58
|
"import": "./dist/elements.js"
|
|
@@ -49,6 +65,10 @@
|
|
|
49
65
|
"types": "./dist/types/elements/tag.d.ts",
|
|
50
66
|
"import": "./dist/elements-tag.js"
|
|
51
67
|
},
|
|
68
|
+
"./components/chip": {
|
|
69
|
+
"types": "./dist/types/elements/chip.d.ts",
|
|
70
|
+
"import": "./dist/elements-chip.js"
|
|
71
|
+
},
|
|
52
72
|
"./components/select": {
|
|
53
73
|
"types": "./dist/types/elements/select.d.ts",
|
|
54
74
|
"import": "./dist/elements-select.js"
|
|
@@ -57,10 +77,22 @@
|
|
|
57
77
|
"types": "./dist/types/elements/checkbox.d.ts",
|
|
58
78
|
"import": "./dist/elements-checkbox.js"
|
|
59
79
|
},
|
|
80
|
+
"./components/radio": {
|
|
81
|
+
"types": "./dist/types/elements/radio.d.ts",
|
|
82
|
+
"import": "./dist/elements-radio.js"
|
|
83
|
+
},
|
|
84
|
+
"./components/switch": {
|
|
85
|
+
"types": "./dist/types/elements/switch.d.ts",
|
|
86
|
+
"import": "./dist/elements-switch.js"
|
|
87
|
+
},
|
|
60
88
|
"./components/text-input": {
|
|
61
89
|
"types": "./dist/types/elements/text-input.d.ts",
|
|
62
90
|
"import": "./dist/elements-text-input.js"
|
|
63
91
|
},
|
|
92
|
+
"./components/text-area": {
|
|
93
|
+
"types": "./dist/types/elements/text-area.d.ts",
|
|
94
|
+
"import": "./dist/elements-text-area.js"
|
|
95
|
+
},
|
|
64
96
|
"./vue": {
|
|
65
97
|
"types": "./dist/types/vue/index.d.ts",
|
|
66
98
|
"import": "./dist/vue.js"
|
|
@@ -73,6 +105,10 @@
|
|
|
73
105
|
"types": "./dist/types/vue/tag.d.ts",
|
|
74
106
|
"import": "./dist/vue-tag.js"
|
|
75
107
|
},
|
|
108
|
+
"./vue/chip": {
|
|
109
|
+
"types": "./dist/types/vue/chip.d.ts",
|
|
110
|
+
"import": "./dist/vue-chip.js"
|
|
111
|
+
},
|
|
76
112
|
"./vue/select": {
|
|
77
113
|
"types": "./dist/types/vue/select.d.ts",
|
|
78
114
|
"import": "./dist/vue-select.js"
|
|
@@ -81,37 +117,86 @@
|
|
|
81
117
|
"types": "./dist/types/vue/checkbox.d.ts",
|
|
82
118
|
"import": "./dist/vue-checkbox.js"
|
|
83
119
|
},
|
|
120
|
+
"./vue/radio": {
|
|
121
|
+
"types": "./dist/types/vue/radio.d.ts",
|
|
122
|
+
"import": "./dist/vue-radio.js"
|
|
123
|
+
},
|
|
124
|
+
"./vue/switch": {
|
|
125
|
+
"types": "./dist/types/vue/switch.d.ts",
|
|
126
|
+
"import": "./dist/vue-switch.js"
|
|
127
|
+
},
|
|
84
128
|
"./vue/text-input": {
|
|
85
129
|
"types": "./dist/types/vue/text-input.d.ts",
|
|
86
130
|
"import": "./dist/vue-text-input.js"
|
|
87
131
|
},
|
|
88
|
-
"./
|
|
132
|
+
"./vue/text-area": {
|
|
133
|
+
"types": "./dist/types/vue/text-area.d.ts",
|
|
134
|
+
"import": "./dist/vue-text-area.js"
|
|
135
|
+
},
|
|
136
|
+
"./package.json": "./package.json",
|
|
137
|
+
"./badge": {
|
|
138
|
+
"types": "./dist/types/badge.d.ts",
|
|
139
|
+
"import": "./dist/badge.js"
|
|
140
|
+
},
|
|
141
|
+
"./components/badge": {
|
|
142
|
+
"types": "./dist/types/elements/badge.d.ts",
|
|
143
|
+
"import": "./dist/elements-badge.js"
|
|
144
|
+
},
|
|
145
|
+
"./vue/badge": {
|
|
146
|
+
"types": "./dist/types/vue/badge.d.ts",
|
|
147
|
+
"import": "./dist/vue-badge.js"
|
|
148
|
+
},
|
|
149
|
+
"./alert": {
|
|
150
|
+
"types": "./dist/types/alert.d.ts",
|
|
151
|
+
"import": "./dist/alert.js"
|
|
152
|
+
},
|
|
153
|
+
"./components/alert": {
|
|
154
|
+
"types": "./dist/types/elements/alert.d.ts",
|
|
155
|
+
"import": "./dist/elements-alert.js"
|
|
156
|
+
},
|
|
157
|
+
"./vue/alert": {
|
|
158
|
+
"types": "./dist/types/vue/alert.d.ts",
|
|
159
|
+
"import": "./dist/vue-alert.js"
|
|
160
|
+
},
|
|
161
|
+
"./modal": {
|
|
162
|
+
"types": "./dist/types/modal.d.ts",
|
|
163
|
+
"import": "./dist/modal.js"
|
|
164
|
+
},
|
|
165
|
+
"./components/modal": {
|
|
166
|
+
"types": "./dist/types/elements/modal.d.ts",
|
|
167
|
+
"import": "./dist/elements-modal.js"
|
|
168
|
+
},
|
|
169
|
+
"./vue/modal": {
|
|
170
|
+
"types": "./dist/types/vue/modal.d.ts",
|
|
171
|
+
"import": "./dist/vue-modal.js"
|
|
172
|
+
}
|
|
89
173
|
},
|
|
90
174
|
"publishConfig": {
|
|
91
175
|
"access": "public"
|
|
92
176
|
},
|
|
93
177
|
"scripts": {
|
|
94
|
-
"build": "vp build && vp build --config vite.vue.config.ts && vue-tsc --declaration --emitDeclarationOnly --noEmit false --outDir dist/types",
|
|
178
|
+
"build": "vp build && vp build --config vite.vue.config.ts && vue-tsc --declaration --emitDeclarationOnly --noEmit false --outDir dist/types --moduleResolution bundler --module esnext",
|
|
95
179
|
"dev": "vp build --watch",
|
|
96
180
|
"playground": "vp run build && vp dev --config playground/vite.config.ts",
|
|
97
181
|
"test": "vp test",
|
|
98
182
|
"check": "vp check && vue-tsc --noEmit",
|
|
183
|
+
"check:types": "vp run build && vue-tsc --noEmit -p tests/types/tsconfig.json",
|
|
99
184
|
"prepublishOnly": "vp run build",
|
|
100
185
|
"prepare": "vp config && vp run build"
|
|
101
186
|
},
|
|
102
187
|
"devDependencies": {
|
|
103
|
-
"@types/node": "^26.6.
|
|
104
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
105
|
-
"@vueuse/core": "^15.
|
|
188
|
+
"@types/node": "^26.6.11",
|
|
189
|
+
"@vitejs/plugin-vue": "^6.0.11",
|
|
190
|
+
"@vueuse/core": "^15.1.0",
|
|
106
191
|
"bumpp": "^12.3.0",
|
|
107
|
-
"marked": "^18.
|
|
108
|
-
"shiki": "^4.
|
|
192
|
+
"marked": "^18.3.0",
|
|
193
|
+
"shiki": "^4.6.0",
|
|
109
194
|
"shiki-transformer-copy-button": "^0.0.6",
|
|
110
195
|
"typescript": "^5.9.3",
|
|
111
196
|
"vite-plus": "catalog:",
|
|
112
|
-
"vue": "^3.5.
|
|
113
|
-
"vue-router": "^5.
|
|
114
|
-
"vue-tsc": "^3.3.
|
|
197
|
+
"vue": "^3.5.46",
|
|
198
|
+
"vue-router": "^5.5.1",
|
|
199
|
+
"vue-tsc": "^3.3.14"
|
|
115
200
|
},
|
|
116
201
|
"peerDependencies": {
|
|
117
202
|
"vue": ">=3.5.0"
|
package/dist/button-BPOKh6G4.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { a as e, b as t, c as n, f as r, i, o as a, r as o, t as s, u as c, y as l } from "./runtime-dom.esm-bundler-BzNNnH8h.js";
|
|
2
|
-
//#region src/components/button/Button.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var u = ["type", "disabled"], d = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "visually-hidden"
|
|
6
|
-
}, f = {
|
|
7
|
-
key: 1,
|
|
8
|
-
viewBox: "0 0 40 40",
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
class: "loader",
|
|
11
|
-
"aria-hidden": "true"
|
|
12
|
-
}, p = {
|
|
13
|
-
key: 2,
|
|
14
|
-
role: "status",
|
|
15
|
-
class: "visually-hidden"
|
|
16
|
-
}, m = /* @__PURE__ */ n({
|
|
17
|
-
__name: "Button",
|
|
18
|
-
props: {
|
|
19
|
-
type: { default: "button" },
|
|
20
|
-
variant: { default: "default" },
|
|
21
|
-
size: { default: "medium" },
|
|
22
|
-
iconOnly: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: !1
|
|
25
|
-
},
|
|
26
|
-
ariaLabel: {},
|
|
27
|
-
navigation: {},
|
|
28
|
-
disabled: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !1
|
|
31
|
-
},
|
|
32
|
-
loading: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: !1
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
setup(n) {
|
|
38
|
-
let s = o(() => [
|
|
39
|
-
"btn",
|
|
40
|
-
`btn-${n.variant}`,
|
|
41
|
-
{
|
|
42
|
-
"btn-icon": n.iconOnly,
|
|
43
|
-
"btn-small": n.size === "small",
|
|
44
|
-
"loading-indeterminate": n.loading
|
|
45
|
-
},
|
|
46
|
-
...n.navigation ? [`btn-${n.navigation}`] : []
|
|
47
|
-
]), m = o(() => n.type === "submit" || n.type === "reset" ? n.type : "button");
|
|
48
|
-
return (o, h) => (c(), a("button", {
|
|
49
|
-
class: l(s.value),
|
|
50
|
-
type: m.value,
|
|
51
|
-
disabled: n.disabled || n.loading
|
|
52
|
-
}, [
|
|
53
|
-
r(o.$slots, "default"),
|
|
54
|
-
n.ariaLabel ? (c(), a("span", d, t(n.ariaLabel), 1)) : e("", !0),
|
|
55
|
-
n.loading ? (c(), a("svg", f, [...h[0] ||= [i("circle", {
|
|
56
|
-
class: "loader-inner",
|
|
57
|
-
cx: "20",
|
|
58
|
-
cy: "20",
|
|
59
|
-
r: "17"
|
|
60
|
-
}, null, -1)]])) : e("", !0),
|
|
61
|
-
n.loading ? (c(), a("span", p, "Loading")) : e("", !0)
|
|
62
|
-
], 10, u));
|
|
63
|
-
}
|
|
64
|
-
}), h = [
|
|
65
|
-
"default",
|
|
66
|
-
"strong",
|
|
67
|
-
"brand",
|
|
68
|
-
"minimal",
|
|
69
|
-
"negative"
|
|
70
|
-
], g = ["medium", "small"], _ = [
|
|
71
|
-
"button",
|
|
72
|
-
"submit",
|
|
73
|
-
"reset"
|
|
74
|
-
], v = ["previous", "next"], y = s(m, { shadowRoot: !1 });
|
|
75
|
-
function b() {
|
|
76
|
-
typeof customElements < "u" && (customElements.get("ouds-button") || customElements.define("ouds-button", y));
|
|
77
|
-
}
|
|
78
|
-
//#endregion
|
|
79
|
-
export { _ as a, g as i, b as n, h as o, v as r, y as t };
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { computed as e, createBlock as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createSlots as a, createTextVNode as o, defineComponent as s, mergeModels as c, mergeProps as l, normalizeClass as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, unref as h, useAttrs as g, useId as _, useModel as v, watchEffect as y, withCtx as b } from "vue";
|
|
2
|
-
//#region src/components/checkbox/Checkbox.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var x = { class: "control-item-assets-container" }, S = [
|
|
4
|
-
"id",
|
|
5
|
-
"value",
|
|
6
|
-
"checked",
|
|
7
|
-
"disabled",
|
|
8
|
-
"required",
|
|
9
|
-
"aria-describedby"
|
|
10
|
-
], C = { class: "control-item-text-container" }, w = ["for"], T = ["id"], E = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "control-item-assets-container"
|
|
13
|
-
}, D = /* @__PURE__ */ s({
|
|
14
|
-
inheritAttrs: !1,
|
|
15
|
-
__name: "Checkbox",
|
|
16
|
-
props: {
|
|
17
|
-
id: {},
|
|
18
|
-
label: { default: "Checkbox" },
|
|
19
|
-
description: { default: "" },
|
|
20
|
-
value: { default: "" },
|
|
21
|
-
checked: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
default: !1
|
|
24
|
-
},
|
|
25
|
-
disabled: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: !1
|
|
28
|
-
},
|
|
29
|
-
required: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: !1
|
|
32
|
-
},
|
|
33
|
-
divider: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: !1
|
|
36
|
-
},
|
|
37
|
-
indeterminate: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: !1
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
setup(t) {
|
|
43
|
-
let a = g(), s = f(), c = _(), v = e(() => t.id || `ouds-checkbox-${c}`), b = e(() => `${v.value}-description`), D = e(() => {
|
|
44
|
-
let e = [a["aria-describedby"]];
|
|
45
|
-
return t.description && e.push(b.value), e.filter(Boolean).join(" ") || void 0;
|
|
46
|
-
}), O = e(() => ["checkbox-item", { "control-item-divider": t.divider }]);
|
|
47
|
-
return y(() => {
|
|
48
|
-
s.value && (s.value.indeterminate = t.indeterminate);
|
|
49
|
-
}), (e, c) => (d(), r("div", { class: u(O.value) }, [
|
|
50
|
-
i("div", x, [i("input", l({
|
|
51
|
-
ref_key: "input",
|
|
52
|
-
ref: s
|
|
53
|
-
}, h(a), {
|
|
54
|
-
id: v.value,
|
|
55
|
-
class: "control-item-indicator",
|
|
56
|
-
type: "checkbox",
|
|
57
|
-
value: t.value,
|
|
58
|
-
checked: t.checked,
|
|
59
|
-
disabled: t.disabled,
|
|
60
|
-
required: t.required,
|
|
61
|
-
"aria-describedby": D.value
|
|
62
|
-
}), null, 16, S)]),
|
|
63
|
-
i("div", C, [i("label", {
|
|
64
|
-
class: "control-item-label",
|
|
65
|
-
for: v.value
|
|
66
|
-
}, [p(e.$slots, "label", {}, () => [o(m(t.label), 1)])], 8, w), t.description ? (d(), r("p", {
|
|
67
|
-
key: 0,
|
|
68
|
-
id: b.value,
|
|
69
|
-
class: "control-item-description"
|
|
70
|
-
}, m(t.description), 9, T)) : n("", !0)]),
|
|
71
|
-
e.$slots.asset ? (d(), r("div", E, [p(e.$slots, "asset")])) : n("", !0)
|
|
72
|
-
], 2));
|
|
73
|
-
}
|
|
74
|
-
}), O = /* @__PURE__ */ s({
|
|
75
|
-
inheritAttrs: !1,
|
|
76
|
-
__name: "VueCheckbox",
|
|
77
|
-
props: {
|
|
78
|
-
modelValue: {
|
|
79
|
-
type: Boolean,
|
|
80
|
-
default: !1
|
|
81
|
-
},
|
|
82
|
-
modelModifiers: {}
|
|
83
|
-
},
|
|
84
|
-
emits: /*@__PURE__*/ c(["change"], ["update:modelValue"]),
|
|
85
|
-
setup(e, { emit: n }) {
|
|
86
|
-
let r = v(e, "modelValue"), i = n;
|
|
87
|
-
function o(e) {
|
|
88
|
-
r.value = e.target.checked, i("change", e);
|
|
89
|
-
}
|
|
90
|
-
return (e, n) => (d(), t(D, l(e.$attrs, {
|
|
91
|
-
checked: r.value,
|
|
92
|
-
onChange: o
|
|
93
|
-
}), a({ _: 2 }, [e.$slots.label ? {
|
|
94
|
-
name: "label",
|
|
95
|
-
fn: b(() => [p(e.$slots, "label")]),
|
|
96
|
-
key: "0"
|
|
97
|
-
} : void 0, e.$slots.asset ? {
|
|
98
|
-
name: "asset",
|
|
99
|
-
fn: b(() => [p(e.$slots, "asset")]),
|
|
100
|
-
key: "1"
|
|
101
|
-
} : void 0]), 1040, ["checked"]));
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
//#endregion
|
|
105
|
-
export { O as t };
|