@useinsider/ab-components 0.0.32 → 0.0.34

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/dist/icons.svg CHANGED
@@ -52,4 +52,7 @@
52
52
  <path
53
53
  d="M7.44041 7.33334C7.59931 7.33334 7.73057 7.38572 7.8342 7.49049C7.94473 7.59525 8 7.72795 8 7.88858V8.66668C8 8.79938 7.96546 8.90763 7.89637 8.99144C7.8342 9.07525 7.73403 9.11715 7.59586 9.11715H7.19171C7.05354 9.11715 6.94991 9.07525 6.88083 8.99144C6.81865 8.90763 6.78757 8.79938 6.78757 8.66668V8.55906H5.72021V12.7743H5.9171C6.04836 12.7743 6.15544 12.8092 6.23834 12.8791C6.32124 12.9419 6.36269 13.0432 6.36269 13.1829V13.5914C6.36269 13.7311 6.32124 13.8359 6.23834 13.9057C6.15544 13.9686 6.04836 14 5.9171 14H4.0829C3.78584 14 3.63731 13.8638 3.63731 13.5914V13.1829C3.63731 12.9105 3.78584 12.7743 4.0829 12.7743H4.26943V8.55906H3.21244V8.66668C3.21244 8.79938 3.17789 8.90763 3.10881 8.99144C3.04663 9.07525 2.94646 9.11715 2.80829 9.11715H2.40415C2.26598 9.11715 2.16235 9.07525 2.09326 8.99144C2.03109 8.90763 2 8.79938 2 8.66668V7.88858C2 7.72795 2.05181 7.59525 2.15544 7.49049C2.26598 7.38572 2.39724 7.33334 2.54922 7.33334H7.44041Z" />
54
54
  </symbol>
55
+ <symbol viewBox="0 0 24 24" data-token-name="line-reset" id="line-reset">
56
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M19.81 13c.606 0 1.081.529.94 1.117A9 9 0 1 1 19 6.342V5a1 1 0 1 1 2 0v4a1 1 0 0 1-1 1h-4a1 1 0 1 1 0-2h1.745a7 7 0 1 0 1.004 5.862c.135-.487.556-.862 1.061-.862z"></path>
57
+ </symbol>
55
58
  </svg>
package/dist/index.d.ts CHANGED
@@ -20,6 +20,17 @@ onSubmit?: (() => any) | undefined;
20
20
  hasOverlay: boolean;
21
21
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
22
22
 
23
+ declare const __VLS_component_3: DefineComponent<InInfoBoxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<InInfoBoxProps> & Readonly<{}>, {
24
+ variant: "information" | "warning" | "alert" | "smart" | "neutral";
25
+ size: "small" | "medium" | "large";
26
+ theme: "light" | "dark";
27
+ titleStatus: boolean;
28
+ titleText: string;
29
+ descriptionStatus: boolean;
30
+ descriptionText: string;
31
+ fullWidthContentStatus: boolean;
32
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
33
+
23
34
  declare type __VLS_Props = {
24
35
  id: string;
25
36
  text: string;
@@ -52,10 +63,21 @@ declare function __VLS_template_2(): {
52
63
  rootEl: any;
53
64
  };
54
65
 
66
+ declare function __VLS_template_3(): {
67
+ attrs: Partial<{}>;
68
+ slots: {
69
+ default?(_: {}): any;
70
+ };
71
+ refs: {};
72
+ rootEl: HTMLDivElement;
73
+ };
74
+
55
75
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
56
76
 
57
77
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
58
78
 
79
+ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
80
+
59
81
  declare type __VLS_WithTemplateSlots<T, S> = T & {
60
82
  new (): {
61
83
  $slots: S;
@@ -68,6 +90,12 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
68
90
  };
69
91
  };
70
92
 
93
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
94
+ new (): {
95
+ $slots: S;
96
+ };
97
+ };
98
+
71
99
  export declare const Button: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
72
100
  click: (event: MouseEvent) => any;
73
101
  }, string, PublicProps, Readonly<ButtonProps> & Readonly<{
@@ -135,7 +163,7 @@ size: 16 | 24;
135
163
  *
136
164
  * NOTE: This file was auto-generated from 'icons.svg'
137
165
  */
138
- declare type IconNames = 'icon-info-box-error' | 'icon-tooltip-info' | 'filled-info-circle' | 'line-caution-triangle' | 'filled-error-box' | 'filled-info-circle' | 'line-check-natural' | 'loading-circle' | 'icon-smart';
166
+ declare type IconNames = 'icon-info-box-error' | 'icon-tooltip-info' | 'filled-info-circle' | 'line-caution-triangle' | 'filled-error-box' | 'filled-info-circle' | 'line-check-natural' | 'loading-circle' | 'icon-smart' | 'line-reset';
139
167
 
140
168
  declare interface IconProps {
141
169
  name: IconNames;
@@ -143,6 +171,62 @@ declare interface IconProps {
143
171
  color?: string;
144
172
  }
145
173
 
174
+ export declare const InInfoBox: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
175
+
176
+ export declare interface InInfoBoxProps {
177
+ id: string;
178
+ theme?: 'light' | 'dark';
179
+ variant?: 'information' | 'warning' | 'alert' | 'smart' | 'neutral';
180
+ titleStatus?: boolean;
181
+ titleText?: string;
182
+ descriptionStatus?: boolean;
183
+ descriptionText?: string;
184
+ size?: 'small' | 'medium' | 'large';
185
+ fullWidthContentStatus?: boolean;
186
+ }
187
+
188
+ export declare const InTextArea: DefineComponent<InTextAreaProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
189
+ click: (event: MouseEvent) => any;
190
+ cut: (event: ClipboardEvent) => any;
191
+ keypress: (event: KeyboardEvent) => any;
192
+ keyup: (event: KeyboardEvent) => any;
193
+ paste: (event: ClipboardEvent) => any;
194
+ "update:modelValue": (value: string) => any;
195
+ }, string, PublicProps, Readonly<InTextAreaProps> & Readonly<{
196
+ onClick?: ((event: MouseEvent) => any) | undefined;
197
+ onCut?: ((event: ClipboardEvent) => any) | undefined;
198
+ onKeypress?: ((event: KeyboardEvent) => any) | undefined;
199
+ onKeyup?: ((event: KeyboardEvent) => any) | undefined;
200
+ onPaste?: ((event: ClipboardEvent) => any) | undefined;
201
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
202
+ }>, {
203
+ label: string;
204
+ disabled: boolean;
205
+ invalid: boolean;
206
+ preventXss: boolean;
207
+ theme: "grey" | "white";
208
+ withLabel: boolean;
209
+ invalidMessage: string;
210
+ rowLength: number;
211
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
212
+ textareaRef: HTMLTextAreaElement;
213
+ }, HTMLFieldSetElement>;
214
+
215
+ export declare interface InTextAreaProps {
216
+ id: string;
217
+ name: string;
218
+ modelValue: string;
219
+ label?: string;
220
+ withLabel?: boolean;
221
+ placeholder: string;
222
+ disabled?: boolean;
223
+ invalid?: boolean;
224
+ invalidMessage?: string;
225
+ theme?: 'grey' | 'white';
226
+ rowLength?: number;
227
+ preventXss?: boolean;
228
+ }
229
+
146
230
  declare interface MenuItem {
147
231
  text: string;
148
232
  value: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/ab-components",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -46,7 +46,7 @@
46
46
  ]
47
47
  },
48
48
  "peerDependencies": {
49
- "vue": "^3.5.13"
49
+ "vue": ">=3.4.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@chromatic-com/storybook": "3.2.4",
@@ -63,7 +63,7 @@
63
63
  "@storybook/vue3-vite": "8.5.6",
64
64
  "@stylistic/eslint-plugin": "2.10.1",
65
65
  "@stylistic/eslint-plugin-migrate": "2.10.1",
66
- "@tsconfig/node22": "^22.0.0",
66
+ "@tsconfig/node20": "20.1.4",
67
67
  "@types/eslint": "8.56.12",
68
68
  "@types/eslint__eslintrc": "2.1.2",
69
69
  "@types/eslint__js": "8.42.3",
@@ -102,6 +102,7 @@
102
102
  "vite-plugin-dts": "4.5.0",
103
103
  "vite-plugin-vue-devtools": "7.7.2",
104
104
  "vitest": "3.0.5",
105
+ "vue": "3.5.13",
105
106
  "vue-eslint-parser": "9.4.3",
106
107
  "vue-tsc": "2.2.2"
107
108
  },