@useinsider/ab-components 0.0.107 → 0.0.109

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
@@ -589,4 +589,10 @@
589
589
  <symbol id="line-vertical-gap" viewBox="0 0 24 24" fill="none">
590
590
  <path d="M21 3V4C21 4.5 20.5 5 20 5H4C3.5 5 3 4.5 3 4V3M21 21V20C21 19.5 20.5 19 20 19H4C3.5 19 3 19.5 3 20V21M16 12H8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
591
591
  </symbol>
592
+ <symbol id="line-countdown" width="18" height="22" viewBox="0 0 18 22" fill="none">
593
+ <path d="M9 4C13.9706 4 18 8.02944 18 13C18 17.9706 13.9706 22 9 22C4.02944 22 0 17.9706 0 13C0 8.02944 4.02944 4 9 4ZM9 6C5.13401 6 2 9.13401 2 13C2 16.866 5.13401 20 9 20C12.866 20 16 16.866 16 13C16 9.13401 12.866 6 9 6ZM11.293 9.29297C11.6835 8.90244 12.3165 8.90244 12.707 9.29297C13.0975 9.68349 13.0976 10.3165 12.707 10.707L9.70703 13.707C9.31651 14.0975 8.68349 14.0975 8.29297 13.707C7.90245 13.3165 7.90245 12.6835 8.29297 12.293L11.293 9.29297ZM11 0C11.5523 0 12 0.447715 12 1C12 1.55228 11.5523 2 11 2H7C6.44772 2 6 1.55228 6 1C6 0.447715 6.44772 0 7 0H11Z" fill="currentColor"/>
594
+ </symbol>
595
+ <symbol id="line-calendar" width="18" height="18" viewBox="0 0 18 18" fill="none">
596
+ <path d="M13 0C13.5523 0 14 0.447715 14 1H16C17.1046 1 18 1.89543 18 3V16C18 17.1046 17.1046 18 16 18H2C0.895431 18 4.02666e-09 17.1046 0 16V3C0 1.89543 0.895431 1 2 1H4C4 0.447715 4.44772 0 5 0C5.55228 0 6 0.447715 6 1H12C12 0.447715 12.4477 0 13 0ZM2 8V16H16V8H2ZM2 6H16V3H14L13.9951 3.10254C13.9438 3.60667 13.5177 4 13 4C12.4477 4 12 3.55228 12 3H6L5.99512 3.10254C5.94379 3.60667 5.51768 4 5 4C4.44772 4 4 3.55228 4 3H2V6Z" fill="currentColor"/>
597
+ </symbol>
592
598
  </svg>
package/dist/index.d.ts CHANGED
@@ -25,31 +25,33 @@ import { WatchOptions } from 'vue';
25
25
  import { WatchStopHandle } from 'vue';
26
26
 
27
27
  declare const __VLS_component: DefineComponent<CheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
28
- "update:modelValue": (value: boolean) => any;
29
28
  change: (checked: boolean) => any;
29
+ "update:modelValue": (value: boolean) => any;
30
30
  }, string, PublicProps, Readonly<CheckboxProps> & Readonly<{
31
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
32
31
  onChange?: ((checked: boolean) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
33
33
  }>, {
34
34
  label: string;
35
35
  disabled: boolean;
36
36
  name: string;
37
- checked: boolean;
38
37
  value: string | number;
38
+ checked: boolean;
39
39
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
40
40
 
41
- declare const __VLS_component_10: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
41
+ declare const __VLS_component_10: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
42
+ text: string;
43
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
42
44
  triggerRef: HTMLDivElement;
43
45
  tooltipRef: HTMLDivElement;
44
46
  floatingArrowRef: HTMLDivElement;
45
47
  }, any>;
46
48
 
47
49
  declare const __VLS_component_2: DefineComponent<ColorPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
48
- "color-change": (color: string) => any;
49
50
  close: () => any;
51
+ "color-change": (color: string) => any;
50
52
  }, string, PublicProps, Readonly<ColorPickerProps> & Readonly<{
51
- "onColor-change"?: ((color: string) => any) | undefined;
52
53
  onClose?: (() => any) | undefined;
54
+ "onColor-change"?: ((color: string) => any) | undefined;
53
55
  }>, {
54
56
  color: string;
55
57
  title: string;
@@ -74,31 +76,32 @@ borderTriangleAlign: string;
74
76
  declare const __VLS_component_4: DefineComponent<InBasicTextInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
75
77
  click: (event: MouseEvent) => any;
76
78
  input: (value: string | number) => any;
77
- "update:modelValue": (value: string | number) => any;
79
+ blur: (event: FocusEvent) => any;
78
80
  change: (value: string | number) => any;
79
81
  focus: (event: FocusEvent) => any;
80
- blur: (event: FocusEvent) => any;
81
- keyup: (event: KeyboardEvent) => any;
82
82
  keypress: (event: KeyboardEvent) => any;
83
+ keyup: (event: KeyboardEvent) => any;
83
84
  paste: (event: ClipboardEvent) => any;
85
+ "update:modelValue": (value: string | number) => any;
84
86
  leftIconClick: (event: MouseEvent) => any;
85
87
  rightIconClick: (event: MouseEvent) => any;
86
88
  }, string, PublicProps, Readonly<InBasicTextInputProps> & Readonly<{
87
89
  onClick?: ((event: MouseEvent) => any) | undefined;
88
90
  onInput?: ((value: string | number) => any) | undefined;
89
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
91
+ onBlur?: ((event: FocusEvent) => any) | undefined;
90
92
  onChange?: ((value: string | number) => any) | undefined;
91
93
  onFocus?: ((event: FocusEvent) => any) | undefined;
92
- onBlur?: ((event: FocusEvent) => any) | undefined;
93
- onKeyup?: ((event: KeyboardEvent) => any) | undefined;
94
94
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
95
+ onKeyup?: ((event: KeyboardEvent) => any) | undefined;
95
96
  onPaste?: ((event: ClipboardEvent) => any) | undefined;
97
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
96
98
  onLeftIconClick?: ((event: MouseEvent) => any) | undefined;
97
99
  onRightIconClick?: ((event: MouseEvent) => any) | undefined;
98
100
  }>, {
99
101
  leftIconName: IconNames;
100
102
  rightIconName: IconNames;
101
103
  type: "text" | "number";
104
+ preventXss: boolean;
102
105
  modelValue: string | number;
103
106
  theme: "grey" | "white";
104
107
  labelStatus: boolean;
@@ -117,7 +120,6 @@ maxValue: number | string;
117
120
  autoFocus: boolean;
118
121
  allowDecimal: boolean;
119
122
  allowComma: boolean;
120
- preventXss: boolean;
121
123
  helperMessageStatus: boolean;
122
124
  helperMessage: string;
123
125
  stateMessage: string;
@@ -165,6 +167,7 @@ value: string;
165
167
  "onItem-added"?: ((item: MenuItem) => any) | undefined;
166
168
  "onSelect-item"?: ((item: MenuItem) => any) | undefined;
167
169
  }>, {
170
+ position: "bottom" | "top";
168
171
  modelValue: string;
169
172
  menuHeight: number;
170
173
  addable: boolean;
@@ -179,11 +182,11 @@ rotateArrow: boolean;
179
182
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
180
183
 
181
184
  declare const __VLS_component_8: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
182
- submit: () => any;
183
185
  close: () => any;
186
+ submit: () => any;
184
187
  }, string, PublicProps, Readonly<ModalProps> & Readonly<{
185
- onSubmit?: (() => any) | undefined;
186
188
  onClose?: (() => any) | undefined;
189
+ onSubmit?: (() => any) | undefined;
187
190
  }>, {
188
191
  hasOverlay: boolean;
189
192
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -193,16 +196,16 @@ isOpen: Ref<boolean, boolean>;
193
196
  toggle: () => void;
194
197
  close: () => void;
195
198
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
196
- "update:modelValue": (value: boolean) => any;
197
199
  close: () => any;
200
+ "update:modelValue": (value: boolean) => any;
198
201
  open: () => any;
199
202
  }, string, PublicProps, Readonly<PopoverProps> & Readonly<{
200
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
201
203
  onClose?: (() => any) | undefined;
204
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
202
205
  onOpen?: (() => any) | undefined;
203
206
  }>, {
204
- modelValue: boolean;
205
207
  position: "bottom" | "top";
208
+ modelValue: boolean;
206
209
  gap: number;
207
210
  align: "left" | "center" | "right" | "left-side" | "right-side";
208
211
  positionStrategy: "fixed" | "absolute";
@@ -217,7 +220,7 @@ contentRef: HTMLDivElement;
217
220
 
218
221
  declare type __VLS_Props = {
219
222
  id: string;
220
- text: string;
223
+ text?: string;
221
224
  placement?: Placement;
222
225
  arrowPlacement?: ArrowPlacement;
223
226
  status?: boolean;
@@ -463,6 +466,64 @@ declare interface ButtonProps {
463
466
  customClass?: string;
464
467
  }
465
468
 
469
+ export declare const Calendar: DefineComponent<CalendarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
470
+ cancel: () => any;
471
+ "update:modelValue": (value: string) => any;
472
+ apply: () => any;
473
+ }, string, PublicProps, Readonly<CalendarProps> & Readonly<{
474
+ onCancel?: (() => any) | undefined;
475
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
476
+ onApply?: (() => any) | undefined;
477
+ }>, {
478
+ width: number;
479
+ modelValue: string;
480
+ min: string;
481
+ max: string;
482
+ format: CalendarDateFormat;
483
+ disabledDateTooltip: string;
484
+ firstDayOfWeek: 0 | 1;
485
+ locale: string;
486
+ placeholder: string;
487
+ applyLabel: string;
488
+ cancelLabel: string;
489
+ inputAriaLabel: string;
490
+ prevMonthLabel: string;
491
+ nextMonthLabel: string;
492
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
493
+
494
+ export declare type CalendarDateFormat = 'YYYY-MM-DD' | 'DD/MM/YYYY' | 'MM/DD/YYYY';
495
+
496
+ export declare interface CalendarProps {
497
+ /** Selected date, in `format` (default ISO `YYYY-MM-DD`). */
498
+ modelValue?: string;
499
+ /** Earliest selectable date, in `format`. Days before this are disabled. */
500
+ min?: string;
501
+ /** Latest selectable date, in `format`. Days after this are disabled. */
502
+ max?: string;
503
+ /** Date format for the value (modelValue/min/max/emit) and the input. Default ISO. */
504
+ format?: CalendarDateFormat;
505
+ /** Tooltip shown when hovering a disabled (out-of-range) day. */
506
+ disabledDateTooltip?: string;
507
+ /** 0 = Sunday, 1 = Monday (default). */
508
+ firstDayOfWeek?: 0 | 1;
509
+ /** BCP-47 locale for month/weekday labels. */
510
+ locale?: string;
511
+ /** Placeholder for the date input when nothing is picked. */
512
+ placeholder?: string;
513
+ /** Footer confirm-button label (consumer passes a translated string). */
514
+ applyLabel?: string;
515
+ /** Footer cancel-button label (consumer passes a translated string). */
516
+ cancelLabel?: string;
517
+ /** Card width in px (default 252). Lets the consumer size the picker. */
518
+ width?: number;
519
+ /** Accessible name for the date input. Falls back to `placeholder`. */
520
+ inputAriaLabel?: string;
521
+ /** Accessible name for the previous-month button (consumer passes a translated string). */
522
+ prevMonthLabel?: string;
523
+ /** Accessible name for the next-month button (consumer passes a translated string). */
524
+ nextMonthLabel?: string;
525
+ }
526
+
466
527
  export declare interface CascadingListItem {
467
528
  id: string;
468
529
  label: string;
@@ -768,7 +829,7 @@ size: number | string;
768
829
  *
769
830
  * NOTE: This file was auto-generated from 'icons.svg'
770
831
  */
771
- 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' | 'inline-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-move' | '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' | 'list-item-arrow-right' | 'dropdown-arrow' | 'line-architect-test-journey' | 'no-personalization' | 'no-search-result' | 'insert-before' | 'insert-after' | 'insert-prepend' | 'insert-append' | 'line-drag-handle' | 'line-column-1' | 'line-column-2' | 'line-column-3' | 'line-column-4' | 'line-horizontal-gap' | 'line-vertical-gap';
832
+ 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' | 'inline-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-move' | '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' | 'list-item-arrow-right' | 'dropdown-arrow' | 'line-architect-test-journey' | 'no-personalization' | 'no-search-result' | 'insert-before' | 'insert-after' | 'insert-prepend' | 'insert-append' | 'line-drag-handle' | 'line-column-1' | 'line-column-2' | 'line-column-3' | 'line-column-4' | 'line-horizontal-gap' | 'line-vertical-gap' | 'line-countdown' | 'line-calendar';
772
833
 
773
834
  declare interface IconProps {
774
835
  name: AllIconNames;
@@ -836,6 +897,7 @@ declare interface InDropdownMenuProps {
836
897
  width?: number;
837
898
  mode?: 'primary' | 'smart';
838
899
  anchorSelector?: string;
900
+ position?: 'bottom' | 'top';
839
901
  }
840
902
 
841
903
  export declare const InInfoBox: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
@@ -906,11 +968,11 @@ declare interface InRadioButtonProps {
906
968
  }
907
969
 
908
970
  export declare const InTabs: DefineComponent<InTabsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
909
- "update:modelValue": (value: string) => any;
910
971
  change: (value: string) => any;
972
+ "update:modelValue": (value: string) => any;
911
973
  }, string, PublicProps, Readonly<InTabsProps> & Readonly<{
912
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
913
974
  onChange?: ((value: string) => any) | undefined;
975
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
914
976
  }>, {
915
977
  disabled: boolean;
916
978
  modelValue: string;
@@ -926,27 +988,27 @@ export declare const InTextArea: DefineComponent<InTextAreaProps, {
926
988
  textareaRef: Ref<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
927
989
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
928
990
  click: (event: MouseEvent) => any;
929
- "update:modelValue": (value: string) => any;
930
991
  blur: (event: FocusEvent) => any;
931
- keyup: (event: KeyboardEvent) => any;
992
+ cut: (event: ClipboardEvent) => any;
932
993
  keypress: (event: KeyboardEvent) => any;
994
+ keyup: (event: KeyboardEvent) => any;
933
995
  paste: (event: ClipboardEvent) => any;
934
- cut: (event: ClipboardEvent) => any;
996
+ "update:modelValue": (value: string) => any;
935
997
  }, string, PublicProps, Readonly<InTextAreaProps> & Readonly<{
936
998
  onClick?: ((event: MouseEvent) => any) | undefined;
937
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
938
999
  onBlur?: ((event: FocusEvent) => any) | undefined;
939
- onKeyup?: ((event: KeyboardEvent) => any) | undefined;
1000
+ onCut?: ((event: ClipboardEvent) => any) | undefined;
940
1001
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
1002
+ onKeyup?: ((event: KeyboardEvent) => any) | undefined;
941
1003
  onPaste?: ((event: ClipboardEvent) => any) | undefined;
942
- onCut?: ((event: ClipboardEvent) => any) | undefined;
1004
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
943
1005
  }>, {
944
1006
  label: string;
945
1007
  disabled: boolean;
946
1008
  type: "default" | "smart";
947
- theme: "grey" | "white";
948
1009
  preventXss: boolean;
949
1010
  invalid: boolean;
1011
+ theme: "grey" | "white";
950
1012
  withLabel: boolean;
951
1013
  invalidMessage: string;
952
1014
  rowLength: number;
@@ -1018,25 +1080,25 @@ declare interface ModalProps {
1018
1080
 
1019
1081
  export declare const NumberInput: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1020
1082
  input: (event: Event) => any;
1021
- "update:modelValue": (args_0: number | undefined) => any;
1083
+ blur: (event: FocusEvent) => any;
1022
1084
  change: (event: Event) => any;
1023
1085
  focus: (event: FocusEvent) => any;
1024
- blur: (event: FocusEvent) => any;
1025
1086
  paste: (event: ClipboardEvent) => any;
1087
+ "update:modelValue": (args_0: number | undefined) => any;
1026
1088
  }, string, PublicProps, Readonly<Props> & Readonly<{
1027
1089
  onInput?: ((event: Event) => any) | undefined;
1028
- "onUpdate:modelValue"?: ((args_0: number | undefined) => any) | undefined;
1090
+ onBlur?: ((event: FocusEvent) => any) | undefined;
1029
1091
  onChange?: ((event: Event) => any) | undefined;
1030
1092
  onFocus?: ((event: FocusEvent) => any) | undefined;
1031
- onBlur?: ((event: FocusEvent) => any) | undefined;
1032
1093
  onPaste?: ((event: ClipboardEvent) => any) | undefined;
1094
+ "onUpdate:modelValue"?: ((args_0: number | undefined) => any) | undefined;
1033
1095
  }>, {
1034
1096
  size: "default" | "small";
1035
1097
  label: string;
1036
- modelValue: number;
1037
1098
  error: string;
1038
- max: number;
1099
+ modelValue: number;
1039
1100
  min: number;
1101
+ max: number;
1040
1102
  placeholder: string;
1041
1103
  maxLength: number;
1042
1104
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -1219,22 +1281,22 @@ export declare interface TabItem {
1219
1281
 
1220
1282
  export declare const TextInput: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1221
1283
  input: (event: Event) => any;
1222
- "update:modelValue": (args_0: string | undefined) => any;
1284
+ blur: (event: FocusEvent) => any;
1223
1285
  change: (event: Event) => any;
1224
1286
  focus: (event: FocusEvent) => any;
1225
- blur: (event: FocusEvent) => any;
1226
1287
  paste: (event: ClipboardEvent) => any;
1288
+ "update:modelValue": (args_0: string | undefined) => any;
1227
1289
  }, string, PublicProps, Readonly<Props_2> & Readonly<{
1228
1290
  onInput?: ((event: Event) => any) | undefined;
1229
- "onUpdate:modelValue"?: ((args_0: string | undefined) => any) | undefined;
1291
+ onBlur?: ((event: FocusEvent) => any) | undefined;
1230
1292
  onChange?: ((event: Event) => any) | undefined;
1231
1293
  onFocus?: ((event: FocusEvent) => any) | undefined;
1232
- onBlur?: ((event: FocusEvent) => any) | undefined;
1233
1294
  onPaste?: ((event: ClipboardEvent) => any) | undefined;
1295
+ "onUpdate:modelValue"?: ((args_0: string | undefined) => any) | undefined;
1234
1296
  }>, {
1235
1297
  label: string;
1236
- modelValue: string;
1237
1298
  error: string;
1299
+ modelValue: string;
1238
1300
  placeholder: string;
1239
1301
  maxHeight: number;
1240
1302
  mode: "primary" | "smart";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/ab-components",
3
- "version": "0.0.107",
3
+ "version": "0.0.109",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"