@useinsider/ab-components 0.0.94 → 0.0.96

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
@@ -39,6 +39,9 @@
39
39
  <symbol height="4px" width="4px" viewBox="0 0 4 4" fill="none" data-token-name="chip-close" id="chip-close">
40
40
  <path fill-rule="evenodd" clip-rule="evenodd" d="M2.90636 0.187621C3.1566 -0.0624794 3.56242 -0.0625658 3.81261 0.187621C4.06279 0.437808 4.06271 0.84363 3.81261 1.09387L2.90636 2.00012L3.81261 2.90637C4.06268 3.15661 4.06279 3.56244 3.81261 3.81262C3.56243 4.06276 3.15659 4.06268 2.90636 3.81262L2.00011 2.90637L1.09386 3.81262C0.843617 4.06272 0.437795 4.06281 0.187608 3.81262C-0.062579 3.56243 -0.0624929 3.15661 0.187608 2.90637L1.09386 2.00012L0.187608 1.09387C-0.0625045 0.843647 -0.0625442 0.43782 0.187608 0.187621C0.437804 -0.0625747 0.843619 -0.0625059 1.09386 0.187621L2.00011 1.09387L2.90636 0.187621Z" fill="currentColor"/>
41
41
  </symbol>
42
+ <symbol viewBox="0 0 16 16" fill="none" data-token-name="chip-close-16" id="chip-close-16">
43
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11.0264 4.16699C11.2492 3.94443 11.6103 3.94425 11.833 4.16699C12.0557 4.38972 12.0556 4.75078 11.833 4.97363L8.80663 7.99999L11.833 11.0264C12.0556 11.2492 12.0557 11.6103 11.833 11.833C11.6103 12.0557 11.2492 12.0556 11.0264 11.833L7.99999 8.80663L4.97363 11.833C4.75078 12.0556 4.38972 12.0557 4.16699 11.833C3.94425 11.6103 3.94443 11.2492 4.16699 11.0264L7.19335 7.99999L4.16699 4.97363C3.94443 4.75078 3.94425 4.38972 4.16699 4.16699C4.38972 3.94425 4.75078 3.94443 4.97363 4.16699L7.99999 7.19335L11.0264 4.16699Z" fill="currentColor"/>
44
+ </symbol>
42
45
  <symbol id="no-color" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
43
46
  <path d="M19 2.5C20.3807 2.5 21.5 3.61929 21.5 5V19C21.5 20.3807 20.3807 21.5 19 21.5H5C3.61929 21.5 2.5 20.3807 2.5 19V5C2.5 3.61929 3.61929 2.5 5 2.5H19Z" fill="white"/>
44
47
  <path d="M9 15L15 9" stroke="#495366" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
@@ -478,6 +481,9 @@
478
481
  <path d="M135.191 112.021C135.964 112.871 137.292 112.897 138.098 112.078L148.177 101.826C149.021 100.968 150.427 101.044 151.173 101.989L166.705 121.658C167.74 122.97 166.806 124.897 165.135 124.897H99.0035C97.3374 124.897 96.4018 122.98 97.4271 121.667L117.47 95.9983C118.233 95.021 119.693 94.9665 120.527 95.8841L135.191 112.021ZM143.932 89C146.056 89.0001 147.777 90.7218 147.777 92.8457C147.777 94.9698 146.056 96.6923 143.932 96.6924C141.807 96.6924 140.085 94.9699 140.085 92.8457C140.085 90.7217 141.808 89 143.932 89Z" fill="#5D6980"/>
479
482
  <path d="M97.4687 137C97.4687 138.105 98.3642 139 99.4687 139L166.469 139C167.573 139 168.469 138.105 168.469 137L168.469 135C168.469 133.895 167.573 133 166.469 133L99.4688 133C98.3642 133 97.4687 133.895 97.4687 135L97.4687 137Z" fill="#5D6980"/>
480
483
  </symbol>
484
+ <symbol viewBox="0 0 24 24" id="dynamic-content-icon">
485
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M7.33769 2.03699C9.58203 0.986855 12.1155 0.72453 14.5271 1.29382C16.9388 1.86316 19.088 3.23067 20.6258 5.17371C22.1633 7.11668 22.9998 9.52212 22.9998 11.9999V12.9999C22.9998 14.0607 22.578 15.0779 21.8279 15.828C21.0778 16.5781 20.0606 16.9998 18.9998 16.9999C17.9389 16.9999 16.9218 16.5781 16.1717 15.828C16.0125 15.6689 15.8687 15.4973 15.74 15.3163C14.8241 16.3486 13.4884 16.9998 11.9998 16.9999C9.23837 16.9999 6.9998 14.7613 6.9998 11.9999C6.99988 9.23852 9.23842 6.99988 11.9998 6.99988C13.1252 6.99992 14.1633 7.37241 14.9988 7.99988C14.9989 7.44767 15.4476 6.99989 15.9998 6.99988C16.5519 6.99998 16.9997 7.44773 16.9998 7.99988V12.9999C16.9998 13.5303 17.2107 14.0389 17.5857 14.4139C17.9608 14.789 18.4694 14.9999 18.9998 14.9999C19.5302 14.9998 20.0388 14.789 20.4139 14.4139C20.7888 14.0389 20.9998 13.5302 20.9998 12.9999V11.9999C20.9998 9.97265 20.3154 8.0046 19.0574 6.41492C17.7993 4.82517 16.0403 3.70692 14.0672 3.24109C12.0942 2.77539 10.0215 2.98937 8.18534 3.84851C6.34929 4.7077 4.85669 6.16143 3.94999 7.97449C3.04332 9.78784 2.77588 11.8551 3.19023 13.8397C3.60467 15.8242 4.67674 17.6111 6.2332 18.91C7.78971 20.209 9.73979 20.9443 11.7664 20.997C13.7929 21.0495 15.7784 20.4164 17.4002 19.2001C17.842 18.869 18.4683 18.9586 18.7996 19.4003C19.1308 19.842 19.041 20.4683 18.5994 20.7997C16.6171 22.2863 14.1907 23.0603 11.7137 22.996C9.23678 22.9315 6.85427 22.0327 4.95195 20.4452C3.04948 18.8574 1.73869 16.6736 1.23222 14.2479C0.725868 11.8225 1.05295 9.29711 2.16093 7.08093C3.26909 4.86472 5.09343 3.08719 7.33769 2.03699ZM11.9998 8.99988C10.343 8.99988 8.99988 10.3431 8.9998 11.9999C8.9998 13.6567 10.3429 14.9999 11.9998 14.9999C13.6566 14.9998 14.9998 13.6567 14.9998 11.9999C14.9997 10.3432 13.6565 8.99998 11.9998 8.99988Z" fill="currentColor"/>
486
+ </symbol>
481
487
  <symbol viewBox="0 0 40 40" fill="none" id="line-architect-test-journey">
482
488
  <path d="M20.8998 11.2939C21.2916 10.902 21.9268 10.9021 22.3187 11.2939L28.7064 17.6806C29.0983 18.0725 29.0984 18.7085 28.7064 19.1005C28.3144 19.4924 27.6784 19.4924 27.2865 19.1005L26.5775 18.3905L16.9964 27.9706C15.6247 29.3424 13.4004 29.3424 12.0287 27.9706C10.6572 26.5988 10.657 24.3745 12.0287 23.0028L21.6097 13.4228L20.8998 12.7128C20.5081 12.3209 20.508 11.6858 20.8998 11.2939ZM15.8714 21.9999H20.1292L25.1576 16.9716L23.0287 14.8417L15.8714 21.9999Z" fill="currentColor"/>
483
489
  </symbol>
package/dist/index.d.ts CHANGED
@@ -1,10 +1,28 @@
1
+ import { AllowedComponentProps } from 'vue';
2
+ import { ComponentCustomProperties } from 'vue';
3
+ import { ComponentCustomProps } from 'vue';
4
+ import { ComponentInternalInstance } from 'vue';
5
+ import { ComponentOptionsBase } from 'vue';
1
6
  import { ComponentOptionsMixin } from 'vue';
2
7
  import { ComponentProvideOptions } from 'vue';
8
+ import { ComponentPublicInstance } from 'vue';
9
+ import { CSSProperties } from 'vue';
10
+ import { DebuggerEvent } from 'vue';
3
11
  import { DefineComponent } from 'vue';
4
12
  import { DirectiveBinding } from 'vue';
13
+ import { GlobalComponents } from 'vue';
14
+ import { GlobalDirectives } from 'vue';
15
+ import { nextTick } from 'vue';
16
+ import { OnCleanup } from '@vue/reactivity';
5
17
  import { Placement } from '@floating-ui/vue';
6
18
  import { PublicProps } from 'vue';
7
19
  import { Ref } from 'vue';
20
+ import { default as SearchInput } from './SearchInput.vue';
21
+ import { ShallowUnwrapRef } from 'vue';
22
+ import { Slot } from 'vue';
23
+ import { VNodeProps } from 'vue';
24
+ import { WatchOptions } from 'vue';
25
+ import { WatchStopHandle } from 'vue';
8
26
 
9
27
  declare const __VLS_component: DefineComponent<CheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
28
  "update:modelValue": (value: boolean) => any;
@@ -20,6 +38,12 @@ checked: boolean;
20
38
  value: string | number;
21
39
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
22
40
 
41
+ declare const __VLS_component_10: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
42
+ triggerRef: HTMLDivElement;
43
+ tooltipRef: HTMLDivElement;
44
+ floatingArrowRef: HTMLDivElement;
45
+ }, any>;
46
+
23
47
  declare const __VLS_component_2: DefineComponent<ColorPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
24
48
  "color-change": (color: string) => any;
25
49
  close: () => any;
@@ -114,7 +138,12 @@ fullWidthContentStatus: boolean;
114
138
  autoSize: boolean;
115
139
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
116
140
 
117
- declare const __VLS_component_6: DefineComponent<InDropdownMenuProps, {
141
+ declare const __VLS_component_6: DefineComponent<TypographyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TypographyProps> & Readonly<{}>, {
142
+ variant: TypographyVariant;
143
+ as: string;
144
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
145
+
146
+ declare const __VLS_component_7: DefineComponent<InDropdownMenuProps, {
118
147
  isOpen: Ref<boolean, boolean>;
119
148
  toggleMenu: () => void;
120
149
  closeMenu: () => void;
@@ -148,7 +177,7 @@ showSelectedIcon: boolean;
148
177
  rotateArrow: boolean;
149
178
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
150
179
 
151
- declare const __VLS_component_7: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
180
+ declare const __VLS_component_8: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
152
181
  submit: () => any;
153
182
  close: () => any;
154
183
  }, string, PublicProps, Readonly<ModalProps> & Readonly<{
@@ -158,7 +187,7 @@ onClose?: (() => any) | undefined;
158
187
  hasOverlay: boolean;
159
188
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
160
189
 
161
- declare const __VLS_component_8: DefineComponent<PopoverProps, {
190
+ declare const __VLS_component_9: DefineComponent<PopoverProps, {
162
191
  isOpen: Ref<boolean, boolean>;
163
192
  toggle: () => void;
164
193
  close: () => void;
@@ -181,12 +210,6 @@ popoverRef: HTMLDivElement;
181
210
  contentRef: HTMLDivElement;
182
211
  }, HTMLDivElement>;
183
212
 
184
- declare const __VLS_component_9: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
185
- triggerRef: HTMLDivElement;
186
- tooltipRef: HTMLDivElement;
187
- floatingArrowRef: HTMLDivElement;
188
- }, any>;
189
-
190
213
  declare type __VLS_Props = {
191
214
  id: string;
192
215
  text: string;
@@ -207,6 +230,20 @@ declare function __VLS_template(): {
207
230
  rootEl: HTMLLabelElement;
208
231
  };
209
232
 
233
+ declare function __VLS_template_10(): {
234
+ attrs: Partial<{}>;
235
+ slots: {
236
+ default?(_: {}): any;
237
+ contentSlot?(_: {}): any;
238
+ };
239
+ refs: {
240
+ triggerRef: HTMLDivElement;
241
+ tooltipRef: HTMLDivElement;
242
+ floatingArrowRef: HTMLDivElement;
243
+ };
244
+ rootEl: any;
245
+ };
246
+
210
247
  declare function __VLS_template_2(): {
211
248
  attrs: Partial<{}>;
212
249
  slots: {
@@ -252,6 +289,15 @@ declare function __VLS_template_5(): {
252
289
  };
253
290
 
254
291
  declare function __VLS_template_6(): {
292
+ attrs: Partial<{}>;
293
+ slots: {
294
+ default?(_: {}): any;
295
+ };
296
+ refs: {};
297
+ rootEl: any;
298
+ };
299
+
300
+ declare function __VLS_template_7(): {
255
301
  attrs: Partial<{}>;
256
302
  slots: {
257
303
  trigger?(_: {
@@ -270,7 +316,7 @@ declare function __VLS_template_6(): {
270
316
  rootEl: HTMLDivElement;
271
317
  };
272
318
 
273
- declare function __VLS_template_7(): {
319
+ declare function __VLS_template_8(): {
274
320
  attrs: Partial<{}>;
275
321
  slots: {
276
322
  section?(_: {}): any;
@@ -279,7 +325,7 @@ declare function __VLS_template_7(): {
279
325
  rootEl: any;
280
326
  };
281
327
 
282
- declare function __VLS_template_8(): {
328
+ declare function __VLS_template_9(): {
283
329
  attrs: Partial<{}>;
284
330
  slots: {
285
331
  trigger?(_: {
@@ -295,22 +341,10 @@ declare function __VLS_template_8(): {
295
341
  rootEl: HTMLDivElement;
296
342
  };
297
343
 
298
- declare function __VLS_template_9(): {
299
- attrs: Partial<{}>;
300
- slots: {
301
- default?(_: {}): any;
302
- contentSlot?(_: {}): any;
303
- };
304
- refs: {
305
- triggerRef: HTMLDivElement;
306
- tooltipRef: HTMLDivElement;
307
- floatingArrowRef: HTMLDivElement;
308
- };
309
- rootEl: any;
310
- };
311
-
312
344
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
313
345
 
346
+ declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
347
+
314
348
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
315
349
 
316
350
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -333,6 +367,12 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
333
367
  };
334
368
  };
335
369
 
370
+ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
371
+ new (): {
372
+ $slots: S;
373
+ };
374
+ };
375
+
336
376
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
337
377
  new (): {
338
378
  $slots: S;
@@ -416,6 +456,91 @@ declare interface ButtonProps {
416
456
  customClass?: string;
417
457
  }
418
458
 
459
+ export declare interface CascadingListItem {
460
+ id: string;
461
+ label: string;
462
+ subtitle?: string;
463
+ testId?: string;
464
+ disabled?: boolean;
465
+ }
466
+
467
+ export declare const CascadingMenu: DefineComponent<CascadingMenuProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
468
+ select: (payload: {
469
+ itemId: string;
470
+ subItemId: string;
471
+ }) => any;
472
+ "update:open": (value: boolean) => any;
473
+ "item-click": (itemId: string) => any;
474
+ "item-expand": (itemId: string) => any;
475
+ }, string, PublicProps, Readonly<CascadingMenuProps> & Readonly<{
476
+ onSelect?: ((payload: {
477
+ itemId: string;
478
+ subItemId: string;
479
+ }) => any) | undefined;
480
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
481
+ "onItem-click"?: ((itemId: string) => any) | undefined;
482
+ "onItem-expand"?: ((itemId: string) => any) | undefined;
483
+ }>, {
484
+ width: number;
485
+ listStyle: CSSProperties;
486
+ menuStyle: CSSProperties;
487
+ listWidth: number;
488
+ listMaxHeight: number;
489
+ loadingText: string;
490
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
491
+ menuRef: HTMLDivElement;
492
+ listRef: HTMLDivElement;
493
+ }, any>;
494
+
495
+ export declare type CascadingMenuEntry = CascadingMenuItem | CascadingMenuGroup;
496
+
497
+ export declare interface CascadingMenuGroup {
498
+ kind: 'group';
499
+ label: string;
500
+ items: CascadingMenuItem[];
501
+ }
502
+
503
+ export declare interface CascadingMenuItem {
504
+ kind?: 'item';
505
+ id: string;
506
+ label: string;
507
+ testId?: string;
508
+ subList?: CascadingSubList;
509
+ hasChildren?: boolean;
510
+ }
511
+
512
+ export declare interface CascadingMenuProps {
513
+ open: boolean;
514
+ anchor: HTMLElement | CascadingVirtualAnchor | null;
515
+ items: CascadingMenuEntry[];
516
+ width?: number;
517
+ listWidth?: number;
518
+ listMaxHeight?: number;
519
+ loadingText?: string;
520
+ menuStyle?: CSSProperties;
521
+ listStyle?: CSSProperties;
522
+ }
523
+
524
+ export declare interface CascadingSelectPayload {
525
+ itemId: string;
526
+ subItemId: string;
527
+ }
528
+
529
+ export declare interface CascadingSubList {
530
+ items: CascadingListItem[];
531
+ searchable?: boolean;
532
+ searchPlaceholder?: string;
533
+ loading?: boolean;
534
+ error?: string | null;
535
+ emptyText?: string;
536
+ testId?: string;
537
+ }
538
+
539
+ export declare interface CascadingVirtualAnchor {
540
+ getBoundingClientRect(): DOMRect;
541
+ contextElement?: Element;
542
+ }
543
+
419
544
  export declare const Checkbox: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
420
545
 
421
546
  export declare interface CheckboxProps {
@@ -559,7 +684,7 @@ size: number | string;
559
684
  *
560
685
  * NOTE: This file was auto-generated from 'icons.svg'
561
686
  */
562
- export declare type IconNames = 'icon-info-box-error' | 'icon-tooltip-info' | 'filled-info-circle' | 'filled-caution-circle' | 'filled-caution-triangle' | 'filled-caution-triangle-colored' | 'filled-error-box-colored' | 'line-plus-netural' | 'line-close-netural' | 'chip-close' | 'no-color' | 'line-search' | 'filled-dropdown-down' | 'dropdown-down-icon' | 'filled-text-bold' | 'filled-text-italic' | 'filled-text-underline' | 'filled-text-strikethrough' | 'line-caution-triangle' | 'filled-error-box' | 'filled-info-circle' | 'line-check-natural' | 'loading-circle' | 'icon-smart' | 'line-reset' | 'line-arrow-left' | 'line-arrow-up' | 'line-figma' | 'line-academy-02' | 'line-undo' | 'line-redo' | 'line-ai-message-reply-plus' | 'line-architect-segments-closed' | 'line-ai-stop-icon' | 'line-ai-send-icon' | 'line-smart-sirius-ai' | 'line-smart-ai' | 'line-minus-netural' | 'line-check-netural' | 'filled-caution-triangle' | 'line-tooltip' | 'filled-warning-badge' | 'line-help-circle' | 'gamification-icon' | 'popup-icon' | 'line-delete' | 'line-duplicate' | 'line-test-link' | 'text-color-icon' | 'corner-icon' | 'border-icon' | 'border-color' | 'fill-color-icon' | 'text-icon' | 'mixed-text-color-icon' | 'line-height-icon' | 'letter-spacing-icon' | 'filled-text-aligned-left' | 'filled-text-aligned-center' | 'filled-text-aligned-right' | 'filled-text-aligned-justified' | 'filled-aligned-bottom' | 'filled-aligned-middle' | 'filled-aligned-top' | 'button-actions' | 'border-none' | 'border-solid' | 'border-dashed' | 'border-dotted' | 'individual-borders' | 'border-left' | 'border-top' | 'border-right' | 'border-bottom' | 'corner-top-left' | 'corner-top-right' | 'corner-bottom-left' | 'corner-bottom-right' | 'corners-individual' | 'padding-horizontal' | 'padding-vertical' | 'padding-individual' | 'padding-left' | 'padding-right' | 'padding-bottom' | 'padding-top' | 'line-password' | 'line-left-to-bottom' | 'line-right-to-top' | 'line-horizontal' | 'line-vertical' | 'line-change' | 'feedback-helpful' | 'feedback-not-helpful' | 'feedback-helpful-selected' | 'feedback-not-helpful-selected' | 'line-code' | 'line-menu-experiment' | 'line-architect-ai-generate' | 'line-mobile-landscape' | 'line-history' | 'line-navigate' | 'line-edit-code' | 'line-refresh' | 'line-coupon' | 'line-external-link' | 'line-open-website' | 'line-empty-box' | 'line-no-search-result' | 'line-palette' | 'line-no-color-theme' | 'line-chevron-small-down' | 'line-spinner' | 'illustration-no-preview' | 'line-architect-test-journey';
687
+ export declare type IconNames = 'icon-info-box-error' | 'icon-tooltip-info' | 'filled-info-circle' | 'filled-caution-circle' | 'filled-caution-triangle' | 'filled-caution-triangle-colored' | 'filled-error-box-colored' | 'line-plus-netural' | 'line-close-netural' | 'chip-close' | 'chip-close-16' | 'no-color' | 'line-search' | 'filled-dropdown-down' | 'dropdown-down-icon' | 'filled-text-bold' | 'filled-text-italic' | 'filled-text-underline' | 'filled-text-strikethrough' | 'line-caution-triangle' | 'filled-error-box' | 'filled-info-circle' | 'line-check-natural' | 'loading-circle' | 'icon-smart' | 'line-reset' | 'line-arrow-left' | 'line-arrow-up' | 'line-figma' | 'line-academy-02' | 'line-undo' | 'line-redo' | 'line-ai-message-reply-plus' | 'line-architect-segments-closed' | 'line-ai-stop-icon' | 'line-ai-send-icon' | 'line-smart-sirius-ai' | 'line-smart-ai' | 'line-minus-netural' | 'line-check-netural' | 'filled-caution-triangle' | 'line-tooltip' | 'filled-warning-badge' | 'line-help-circle' | 'gamification-icon' | 'popup-icon' | 'line-delete' | 'line-duplicate' | 'line-test-link' | 'text-color-icon' | 'corner-icon' | 'border-icon' | 'border-color' | 'fill-color-icon' | 'text-icon' | 'mixed-text-color-icon' | 'line-height-icon' | 'letter-spacing-icon' | 'filled-text-aligned-left' | 'filled-text-aligned-center' | 'filled-text-aligned-right' | 'filled-text-aligned-justified' | 'filled-aligned-bottom' | 'filled-aligned-middle' | 'filled-aligned-top' | 'button-actions' | 'border-none' | 'border-solid' | 'border-dashed' | 'border-dotted' | 'individual-borders' | 'border-left' | 'border-top' | 'border-right' | 'border-bottom' | 'corner-top-left' | 'corner-top-right' | 'corner-bottom-left' | 'corner-bottom-right' | 'corners-individual' | 'padding-horizontal' | 'padding-vertical' | 'padding-individual' | 'padding-left' | 'padding-right' | 'padding-bottom' | 'padding-top' | 'line-password' | 'line-left-to-bottom' | 'line-right-to-top' | 'line-horizontal' | 'line-vertical' | 'line-change' | 'feedback-helpful' | 'feedback-not-helpful' | 'feedback-helpful-selected' | 'feedback-not-helpful-selected' | 'line-code' | 'line-menu-experiment' | 'line-architect-ai-generate' | 'line-mobile-landscape' | 'line-history' | 'line-navigate' | 'line-edit-code' | 'line-refresh' | 'line-coupon' | 'line-external-link' | 'line-open-website' | 'line-empty-box' | 'line-no-search-result' | 'line-palette' | 'line-no-color-theme' | 'line-chevron-small-down' | 'line-spinner' | 'illustration-no-preview' | 'dynamic-content-icon' | 'line-architect-test-journey';
563
688
 
564
689
  declare interface IconProps {
565
690
  name: AllIconNames;
@@ -611,7 +736,7 @@ declare interface InBoxProps {
611
736
  borderTriangleAlign?: string;
612
737
  }
613
738
 
614
- export declare const InDropdownMenu: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
739
+ export declare const InDropdownMenu: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
615
740
 
616
741
  declare interface InDropdownMenuProps {
617
742
  modelValue?: string;
@@ -795,7 +920,7 @@ declare interface MenuItem_2 {
795
920
  value: string;
796
921
  }
797
922
 
798
- export declare const Modal: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
923
+ export declare const Modal: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
799
924
 
800
925
  declare interface ModalProps {
801
926
  title: string;
@@ -833,14 +958,67 @@ maxLength: number;
833
958
 
834
959
  export declare const OnPageMessage: DefineComponent<OnPageMessageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<OnPageMessageProps> & Readonly<{}>, {
835
960
  variant: "default" | "warning" | "alert" | "success";
836
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
961
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
962
+ textRef: ({
963
+ $: ComponentInternalInstance;
964
+ $data: {};
965
+ $props: {
966
+ readonly variant?: TypographyVariant | undefined;
967
+ readonly as?: string | undefined;
968
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
969
+ $attrs: {
970
+ [x: string]: unknown;
971
+ };
972
+ $refs: {
973
+ [x: string]: unknown;
974
+ };
975
+ $slots: Readonly<{
976
+ [name: string]: Slot<any> | undefined;
977
+ }>;
978
+ $root: ComponentPublicInstance | null;
979
+ $parent: ComponentPublicInstance | null;
980
+ $host: Element | null;
981
+ $emit: (event: string, ...args: any[]) => void;
982
+ $el: any;
983
+ $options: ComponentOptionsBase<Readonly<TypographyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
984
+ variant: TypographyVariant;
985
+ as: string;
986
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
987
+ beforeCreate?: (() => void) | (() => void)[];
988
+ created?: (() => void) | (() => void)[];
989
+ beforeMount?: (() => void) | (() => void)[];
990
+ mounted?: (() => void) | (() => void)[];
991
+ beforeUpdate?: (() => void) | (() => void)[];
992
+ updated?: (() => void) | (() => void)[];
993
+ activated?: (() => void) | (() => void)[];
994
+ deactivated?: (() => void) | (() => void)[];
995
+ beforeDestroy?: (() => void) | (() => void)[];
996
+ beforeUnmount?: (() => void) | (() => void)[];
997
+ destroyed?: (() => void) | (() => void)[];
998
+ unmounted?: (() => void) | (() => void)[];
999
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1000
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1001
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1002
+ };
1003
+ $forceUpdate: () => void;
1004
+ $nextTick: nextTick;
1005
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1006
+ } & Readonly<{
1007
+ variant: TypographyVariant;
1008
+ as: string;
1009
+ }> & Omit<Readonly<TypographyProps> & Readonly<{}>, "variant" | "as"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
1010
+ $slots: {
1011
+ default?(_: {}): any;
1012
+ };
1013
+ }) | null;
1014
+ }, HTMLDivElement>;
837
1015
 
838
1016
  declare interface OnPageMessageProps {
839
1017
  variant?: 'default' | 'warning' | 'alert' | 'success';
840
1018
  text: string;
841
1019
  }
842
1020
 
843
- export declare const Popover: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
1021
+ export declare const Popover: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
844
1022
 
845
1023
  declare interface PopoverProps {
846
1024
  modelValue?: boolean;
@@ -881,6 +1059,8 @@ declare interface Props_2 {
881
1059
  mode?: 'primary' | 'smart';
882
1060
  }
883
1061
 
1062
+ export { SearchInput }
1063
+
884
1064
  export declare const SegmentButton: DefineComponent<SegmentButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
885
1065
  click: (value: string) => any;
886
1066
  "update:modelValue": (value: string) => any;
@@ -914,6 +1094,34 @@ export declare interface SegmentType {
914
1094
  tooltip?: string;
915
1095
  }
916
1096
 
1097
+ export declare const SelectField: DefineComponent<SelectFieldProps, {
1098
+ triggerRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
1099
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1100
+ toggle: () => any;
1101
+ }, string, PublicProps, Readonly<SelectFieldProps> & Readonly<{
1102
+ onToggle?: (() => any) | undefined;
1103
+ }>, {
1104
+ label: string;
1105
+ disabled: boolean;
1106
+ value: string;
1107
+ error: string;
1108
+ placeholder: string;
1109
+ isOpen: boolean;
1110
+ helperText: string;
1111
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
1112
+ triggerRef: HTMLButtonElement;
1113
+ }, HTMLFieldSetElement>;
1114
+
1115
+ declare interface SelectFieldProps {
1116
+ label?: string;
1117
+ placeholder?: string;
1118
+ value?: string;
1119
+ isOpen?: boolean;
1120
+ error?: string;
1121
+ helperText?: string;
1122
+ disabled?: boolean;
1123
+ }
1124
+
917
1125
  export declare interface TabItem {
918
1126
  value: string;
919
1127
  label: string;
@@ -964,6 +1172,15 @@ declare interface ToggleProps {
964
1172
  disabled?: boolean;
965
1173
  }
966
1174
 
967
- export declare const Tooltip: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1175
+ export declare const Tooltip: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1176
+
1177
+ export declare const Typography: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
1178
+
1179
+ declare interface TypographyProps {
1180
+ variant?: TypographyVariant;
1181
+ as?: string;
1182
+ }
1183
+
1184
+ declare type TypographyVariant = 'heading' | 'title' | 'body' | 'body-muted' | 'label' | 'detail' | 'detail-muted' | 'detail-danger' | 'section';
968
1185
 
969
1186
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/ab-components",
3
- "version": "0.0.94",
3
+ "version": "0.0.96",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"