@nilloq/ouds-web 0.1.5 → 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.
Files changed (132) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +49 -6
  3. package/dist/alert-By364Om4.js +77 -0
  4. package/dist/alert-bsnEmrzb.js +89 -0
  5. package/dist/alert.js +2 -0
  6. package/dist/badge-fffoaFuZ.js +57 -0
  7. package/dist/badge-yaFEZnEW.js +54 -0
  8. package/dist/badge.js +2 -0
  9. package/dist/button-BUziAVbu.js +94 -0
  10. package/dist/{button-LlRiSiGS.js → button-nN1Pcwm6.js} +36 -21
  11. package/dist/button.js +1 -1
  12. package/dist/checkbox-PAgQqiIw.js +145 -0
  13. package/dist/checkbox-g6cqR6wz.js +170 -0
  14. package/dist/checkbox.js +1 -1
  15. package/dist/control-item-slots-BNXNsI1e.js +12 -0
  16. package/dist/control-item-slots-XV8Gjvf1.js +9 -0
  17. package/dist/elements-alert.js +2 -0
  18. package/dist/elements-badge.js +2 -0
  19. package/dist/elements-button.js +1 -1
  20. package/dist/elements-checkbox.js +1 -1
  21. package/dist/elements-modal.js +2 -0
  22. package/dist/elements-radio.js +2 -0
  23. package/dist/elements-select.js +1 -1
  24. package/dist/elements-switch.js +2 -0
  25. package/dist/elements-tag.js +1 -1
  26. package/dist/elements-text-area.js +2 -0
  27. package/dist/elements-text-input.js +1 -1
  28. package/dist/elements.js +13 -7
  29. package/dist/index.js +12 -6
  30. package/dist/modal-CHjaB_yR.js +181 -0
  31. package/dist/modal-IEXNB8St.js +193 -0
  32. package/dist/modal.js +2 -0
  33. package/dist/radio-Cmrtred_.js +147 -0
  34. package/dist/radio-CqVqsZ7n.js +175 -0
  35. package/dist/radio.js +5 -0
  36. package/dist/{runtime-dom.esm-bundler-BzNNnH8h.js → runtime-dom.esm-bundler-BeOO_l6v.js} +987 -839
  37. package/dist/select-Bpou1HIY.js +167 -0
  38. package/dist/select-CWjTpHGb.js +126 -0
  39. package/dist/select.js +1 -1
  40. package/dist/switch-CFv0JUeq.js +132 -0
  41. package/dist/switch-DEYsTCw5.js +157 -0
  42. package/dist/switch.js +5 -0
  43. package/dist/tag-BdB0YDBJ.js +84 -0
  44. package/dist/tag-Un7w0uDf.js +81 -0
  45. package/dist/tag.js +1 -1
  46. package/dist/text-area-DkjEGpHg.js +99 -0
  47. package/dist/text-area-DqBoz2_d.js +139 -0
  48. package/dist/text-area.js +5 -0
  49. package/dist/text-input-DnWjB1vE.js +207 -0
  50. package/dist/text-input-DxzwRS2R.js +157 -0
  51. package/dist/text-input.js +1 -1
  52. package/dist/types/alert.d.ts +1 -0
  53. package/dist/types/badge.d.ts +1 -0
  54. package/dist/types/components/alert/Alert.vue.d.ts +37 -0
  55. package/dist/types/components/alert/alert.context.d.ts +2 -0
  56. package/dist/types/components/alert/alert.options.d.ts +2 -0
  57. package/dist/types/components/alert/alert.types.d.ts +14 -0
  58. package/dist/types/components/badge/Badge.vue.d.ts +26 -0
  59. package/dist/types/components/badge/badge.options.d.ts +4 -0
  60. package/dist/types/components/badge/badge.types.d.ts +13 -0
  61. package/dist/types/components/button/Button.vue.d.ts +7 -4
  62. package/dist/types/components/button/button.options.d.ts +1 -1
  63. package/dist/types/components/button/button.types.d.ts +2 -0
  64. package/dist/types/components/checkbox/Checkbox.vue.d.ts +13 -6
  65. package/dist/types/components/checkbox/VueCheckbox.vue.d.ts +9 -5
  66. package/dist/types/components/checkbox/checkbox.context.d.ts +2 -0
  67. package/dist/types/components/checkbox/checkbox.types.d.ts +4 -0
  68. package/dist/types/components/modal/Modal.vue.d.ts +86 -0
  69. package/dist/types/components/modal/modal.context.d.ts +2 -0
  70. package/dist/types/components/modal/modal.options.d.ts +7 -0
  71. package/dist/types/components/modal/modal.types.d.ts +28 -0
  72. package/dist/types/components/radio/Radio.vue.d.ts +37 -0
  73. package/dist/types/components/radio/VueRadio.vue.d.ts +34 -0
  74. package/dist/types/components/radio/radio.context.d.ts +2 -0
  75. package/dist/types/components/radio/radio.types.d.ts +20 -0
  76. package/dist/types/components/select/Select.vue.d.ts +21 -4
  77. package/dist/types/components/select/VueSelect.vue.d.ts +15 -5
  78. package/dist/types/components/select/select.types.d.ts +10 -0
  79. package/dist/types/components/shared/control-item-slots.d.ts +2 -0
  80. package/dist/types/components/switch/Switch.vue.d.ts +32 -0
  81. package/dist/types/components/switch/VueSwitch.vue.d.ts +28 -0
  82. package/dist/types/components/switch/switch.context.d.ts +2 -0
  83. package/dist/types/components/switch/switch.types.d.ts +17 -0
  84. package/dist/types/components/tag/Tag.vue.d.ts +8 -3
  85. package/dist/types/components/tag/tag.options.d.ts +1 -1
  86. package/dist/types/components/tag/tag.types.d.ts +4 -0
  87. package/dist/types/components/text-area/TextArea.vue.d.ts +36 -0
  88. package/dist/types/components/text-area/VueTextArea.vue.d.ts +32 -0
  89. package/dist/types/components/text-area/text-area.types.d.ts +19 -0
  90. package/dist/types/components/text-input/TextInput.vue.d.ts +17 -15
  91. package/dist/types/components/text-input/VueTextInput.vue.d.ts +17 -13
  92. package/dist/types/components/text-input/text-input.types.d.ts +1 -0
  93. package/dist/types/elements/alert.d.ts +5 -0
  94. package/dist/types/elements/badge.d.ts +5 -0
  95. package/dist/types/elements/index.d.ts +13 -0
  96. package/dist/types/elements/modal.d.ts +5 -0
  97. package/dist/types/elements/radio.d.ts +4 -0
  98. package/dist/types/elements/switch.d.ts +4 -0
  99. package/dist/types/elements/text-area.d.ts +4 -0
  100. package/dist/types/modal.d.ts +1 -0
  101. package/dist/types/radio.d.ts +2 -0
  102. package/dist/types/switch.d.ts +2 -0
  103. package/dist/types/text-area.d.ts +2 -0
  104. package/dist/types/vue/alert.d.ts +3 -0
  105. package/dist/types/vue/badge.d.ts +3 -0
  106. package/dist/types/vue/index.d.ts +11 -0
  107. package/dist/types/vue/modal.d.ts +3 -0
  108. package/dist/types/vue/radio.d.ts +2 -0
  109. package/dist/types/vue/switch.d.ts +2 -0
  110. package/dist/types/vue/text-area.d.ts +2 -0
  111. package/dist/vue-alert.js +2 -0
  112. package/dist/vue-badge.js +2 -0
  113. package/dist/vue-button.js +1 -1
  114. package/dist/vue-checkbox.js +1 -1
  115. package/dist/vue-modal.js +2 -0
  116. package/dist/vue-radio.js +2 -0
  117. package/dist/vue-select.js +1 -1
  118. package/dist/vue-switch.js +2 -0
  119. package/dist/vue-tag.js +1 -1
  120. package/dist/vue-text-area.js +2 -0
  121. package/dist/vue-text-input.js +1 -1
  122. package/dist/vue.js +12 -6
  123. package/package.json +82 -10
  124. package/dist/button-BPOKh6G4.js +0 -79
  125. package/dist/checkbox-BYrgMhwO.js +0 -105
  126. package/dist/checkbox-D-A_bSBK.js +0 -79
  127. package/dist/select-CA6TVlpX.js +0 -58
  128. package/dist/select-CKHEHpJL.js +0 -80
  129. package/dist/tag-B2qhuHjk.js +0 -41
  130. package/dist/tag-BY32Hj5n.js +0 -44
  131. package/dist/text-input-CtTr5yfe.js +0 -151
  132. package/dist/text-input-l1F2arKl.js +0 -201
@@ -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 var __VLS_1: {};
9
- type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_1) => any;
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;
@@ -18,20 +16,24 @@ type __VLS_Props = {
18
16
  maxWidth?: boolean;
19
17
  loading?: boolean;
20
18
  };
21
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
22
- type __VLS_Slots = {} & {
23
- 'leading-icon'?: (props: typeof __VLS_1) => any;
24
- } & {
25
- label?: (props: typeof __VLS_3) => any;
26
- } & {
27
- 'trailing-action'?: (props: typeof __VLS_5) => any;
28
- } & {
29
- 'helper-text'?: (props: typeof __VLS_7) => any;
30
- } & {
31
- 'error-text'?: (props: typeof __VLS_9) => any;
32
- } & {
33
- 'helper-link'?: (props: typeof __VLS_11) => any;
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
+ };
34
35
  };
36
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
35
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>;
36
38
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
39
  declare const _default: typeof __VLS_export;
@@ -1,20 +1,24 @@
1
1
  type __VLS_ModelProps = {
2
2
  modelValue?: string;
3
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-icon'?: (props: typeof __VLS_14) => any;
9
- } & {
10
- 'trailing-action'?: (props: typeof __VLS_17) => any;
11
- } & {
12
- 'helper-text'?: (props: typeof __VLS_20) => any;
13
- } & {
14
- 'error-text'?: (props: typeof __VLS_23) => any;
15
- } & {
16
- 'helper-link'?: (props: typeof __VLS_26) => any;
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;
@@ -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 { RadioConstructor } from "../components/radio/radio.types.js";
2
+ export type { RadioConstructor, RadioElement } from "../components/radio/radio.types.js";
3
+ export declare const OudsRadio: RadioConstructor;
4
+ export declare function defineOudsRadio(): 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";
@@ -0,0 +1,2 @@
1
+ export { OudsRadio, defineOudsRadio } from "./elements/radio.js";
2
+ export type * from "./components/radio/radio.types.js";
@@ -0,0 +1,2 @@
1
+ export { OudsSwitch, defineOudsSwitch } from "./elements/switch.js";
2
+ export type * from "./components/switch/switch.types.js";
@@ -0,0 +1,2 @@
1
+ export { OudsTextArea, defineOudsTextArea } from "./elements/text-area.js";
2
+ export type * from "./components/text-area/text-area.types.js";
@@ -0,0 +1,3 @@
1
+ export { default as OudsAlert } from "../components/alert/Alert.vue";
2
+ export type { AlertElement, AlertVariant } from "../components/alert/alert.types.js";
3
+ export * from "../components/alert/alert.options.js";
@@ -0,0 +1,3 @@
1
+ export { default as OudsBadge } from "../components/badge/Badge.vue";
2
+ export type { BadgeElement, BadgeVariant, BadgeSize } from "../components/badge/badge.types.js";
3
+ export * from "../components/badge/badge.options.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";
@@ -0,0 +1,3 @@
1
+ export { default as OudsModal } from "../components/modal/Modal.vue";
2
+ export type * from "../components/modal/modal.types.js";
3
+ export * from "../components/modal/modal.options.js";
@@ -0,0 +1,2 @@
1
+ export { default as OudsRadio } from "../components/radio/VueRadio.vue";
2
+ export type { RadioElement } from "../components/radio/radio.types.js";
@@ -0,0 +1,2 @@
1
+ export { default as OudsSwitch } from "../components/switch/VueSwitch.vue";
2
+ export type { SwitchElement } from "../components/switch/switch.types.js";
@@ -0,0 +1,2 @@
1
+ export { default as OudsTextArea } from "../components/text-area/VueTextArea.vue";
2
+ export type { TextAreaElement } from "../components/text-area/text-area.types.js";
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./alert-By364Om4.js";
2
+ export { e as OudsAlert, t as alertVariants };
@@ -0,0 +1,2 @@
1
+ import { n as e, r as t, t as n } from "./badge-yaFEZnEW.js";
2
+ export { t as OudsBadge, n as badgeSizes, e as badgeVariants };
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, r, t as i } from "./button-LlRiSiGS.js";
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 };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./checkbox-BYrgMhwO.js";
1
+ import { t as e } from "./checkbox-g6cqR6wz.js";
2
2
  export { e as OudsCheckbox };
@@ -0,0 +1,2 @@
1
+ import { i as e, n as t, r as n, t as r } from "./modal-CHjaB_yR.js";
2
+ export { e as OudsModal, r as modalSizes, t as modalTypes, n as modalVariants };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./radio-CqVqsZ7n.js";
2
+ export { e as OudsRadio };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./select-CKHEHpJL.js";
1
+ import { t as e } from "./select-Bpou1HIY.js";
2
2
  export { e as OudsSelect };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./switch-DEYsTCw5.js";
2
+ export { e as OudsSwitch };
package/dist/vue-tag.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "./tag-B2qhuHjk.js";
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 };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./text-area-DqBoz2_d.js";
2
+ export { e as OudsTextArea };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./text-input-l1F2arKl.js";
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 { 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-l1F2arKl.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 };
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.5",
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
- "./package.json": "./package.json"
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.5",
104
- "@vitejs/plugin-vue": "^6.0.10",
105
- "@vueuse/core": "^15.0.0",
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.1.1",
108
- "shiki": "^4.5.0",
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.44",
113
- "vue-router": "^5.4.0",
114
- "vue-tsc": "^3.3.13"
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"