@flysk-tech/amocrm-kommo-vue-ui-kit 0.0.7 → 0.1.1

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/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  Разработано компанией **[Флайск](https://flysk.ru?utm_source=github&utm_medium=readme&utm_campaign=vue-ui-kit)** — официальным партнёром amoCRM/Kommo. Наш вклад в развитие экосистемы amoCRM/Kommo.
6
6
 
7
+ [![CI](https://github.com/flysk-tech/amocrm-kommo-vue-ui-kit/actions/workflows/ci.yml/badge.svg)](https://github.com/flysk-tech/amocrm-kommo-vue-ui-kit/actions/workflows/ci.yml)
7
8
  [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/)
8
9
  [![Vue 3](https://img.shields.io/badge/Vue-3-4FC08D?logo=vue.js)](https://vuejs.org/)
9
10
  [![Storybook](https://img.shields.io/badge/Storybook-docs-FF4785?logo=storybook)](https://flysk-tech.github.io/amocrm-kommo-vue-ui-kit/)
package/dist/index.d.ts CHANGED
@@ -39,7 +39,7 @@ optionRef: Ref<({
39
39
  $: ComponentInternalInstance;
40
40
  $data: {};
41
41
  $props: {
42
- readonly className?: string | undefined;
42
+ readonly class?: string | undefined;
43
43
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
44
44
  $attrs: {
45
45
  [x: string]: unknown;
@@ -58,7 +58,7 @@ $host: Element | null;
58
58
  $emit: (event: string, ...args: any[]) => void;
59
59
  $el: HTMLSpanElement;
60
60
  $options: ComponentOptionsBase<Readonly<{
61
- className?: string;
61
+ class?: string;
62
62
  }> & Readonly<{}>, {
63
63
  optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
64
64
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -82,7 +82,7 @@ $forceUpdate: () => void;
82
82
  $nextTick: nextTick;
83
83
  $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;
84
84
  } & Readonly<{}> & Omit<Readonly<{
85
- className?: string;
85
+ class?: string;
86
86
  }> & Readonly<{}>, "optionRef"> & ShallowUnwrapRef< {
87
87
  optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
88
88
  }> & {} & ComponentCustomProperties & {} & {
@@ -93,7 +93,7 @@ default?(_: {}): any;
93
93
  $: ComponentInternalInstance;
94
94
  $data: {};
95
95
  $props: {
96
- readonly className?: string | undefined;
96
+ readonly class?: string | undefined;
97
97
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
98
98
  $attrs: {
99
99
  [x: string]: unknown;
@@ -112,7 +112,7 @@ $host: Element | null;
112
112
  $emit: (event: string, ...args: any[]) => void;
113
113
  $el: HTMLSpanElement;
114
114
  $options: ComponentOptionsBase<Readonly<{
115
- className?: string;
115
+ class?: string;
116
116
  }> & Readonly<{}>, {
117
117
  optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
118
118
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -136,7 +136,7 @@ $forceUpdate: () => void;
136
136
  $nextTick: nextTick;
137
137
  $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;
138
138
  } & Readonly<{}> & Omit<Readonly<{
139
- className?: string;
139
+ class?: string;
140
140
  }> & Readonly<{}>, "optionRef"> & ShallowUnwrapRef< {
141
141
  optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
142
142
  }> & {} & ComponentCustomProperties & {} & {
@@ -145,14 +145,14 @@ default?(_: {}): any;
145
145
  };
146
146
  }) | null>;
147
147
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
148
- className: string;
148
+ class: string;
149
149
  placeholder: string;
150
150
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
151
151
  optionRef: ({
152
152
  $: ComponentInternalInstance;
153
153
  $data: {};
154
154
  $props: {
155
- readonly className?: string | undefined;
155
+ readonly class?: string | undefined;
156
156
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
157
157
  $attrs: {
158
158
  [x: string]: unknown;
@@ -171,7 +171,7 @@ $host: Element | null;
171
171
  $emit: (event: string, ...args: any[]) => void;
172
172
  $el: HTMLSpanElement;
173
173
  $options: ComponentOptionsBase<Readonly<{
174
- className?: string;
174
+ class?: string;
175
175
  }> & Readonly<{}>, {
176
176
  optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
177
177
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -195,7 +195,7 @@ $forceUpdate: () => void;
195
195
  $nextTick: nextTick;
196
196
  $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;
197
197
  } & Readonly<{}> & Omit<Readonly<{
198
- className?: string;
198
+ class?: string;
199
199
  }> & Readonly<{}>, "optionRef"> & ShallowUnwrapRef< {
200
200
  optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
201
201
  }> & {} & ComponentCustomProperties & {} & {
@@ -294,7 +294,7 @@ declare const __VLS_component_23: DefineComponent<ItemRootProps, {}, {}, {}, {},
294
294
  declare const __VLS_component_24: DefineComponent<Props_5, {
295
295
  buttonRef: Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
296
296
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_5> & Readonly<{}>, {
297
- className: string;
297
+ class: string;
298
298
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
299
299
  buttonRef: HTMLButtonElement;
300
300
  }, HTMLButtonElement>;
@@ -802,26 +802,26 @@ declare type __VLS_Props = {
802
802
 
803
803
  declare type __VLS_Props_2 = {
804
804
  theme: ListThemeType;
805
- className?: string;
805
+ class?: string;
806
806
  container?: Element | DocumentFragment | null;
807
807
  };
808
808
 
809
809
  declare type __VLS_Props_3 = {
810
810
  item: SelectItem_2;
811
811
  index: number;
812
- className?: string;
812
+ class?: string;
813
813
  theme: SelectItemThemeType;
814
814
  };
815
815
 
816
816
  declare type __VLS_Props_4 = {
817
817
  placeholder?: string;
818
- className?: string;
818
+ class?: string;
819
819
  name?: string;
820
820
  };
821
821
 
822
822
  declare type __VLS_Props_5 = {
823
823
  theme: SelectArrowThemeType;
824
- className?: string;
824
+ class?: string;
825
825
  };
826
826
 
827
827
  declare type __VLS_Props_6 = {
@@ -829,7 +829,7 @@ declare type __VLS_Props_6 = {
829
829
  };
830
830
 
831
831
  declare type __VLS_Props_7 = {
832
- className?: string;
832
+ class?: string;
833
833
  };
834
834
 
835
835
  declare function __VLS_template(): {
@@ -862,7 +862,7 @@ declare function __VLS_template_11(): {
862
862
  $: ComponentInternalInstance;
863
863
  $data: {};
864
864
  $props: {
865
- readonly className?: string | undefined;
865
+ readonly class?: string | undefined;
866
866
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
867
867
  $attrs: {
868
868
  [x: string]: unknown;
@@ -881,7 +881,7 @@ declare function __VLS_template_11(): {
881
881
  $emit: (event: string, ...args: any[]) => void;
882
882
  $el: HTMLSpanElement;
883
883
  $options: ComponentOptionsBase<Readonly<{
884
- className?: string;
884
+ class?: string;
885
885
  }> & Readonly<{}>, {
886
886
  optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
887
887
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -905,7 +905,7 @@ declare function __VLS_template_11(): {
905
905
  $nextTick: nextTick;
906
906
  $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;
907
907
  } & Readonly<{}> & Omit<Readonly<{
908
- className?: string;
908
+ class?: string;
909
909
  }> & Readonly<{}>, "optionRef"> & ShallowUnwrapRef< {
910
910
  optionRef: Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
911
911
  }> & {} & ComponentCustomProperties & {} & {
@@ -2184,7 +2184,7 @@ export declare interface CheckboxGroupItemRootProps {
2184
2184
  value: string;
2185
2185
  isDisabled?: boolean;
2186
2186
  isDefaultChecked?: boolean;
2187
- className?: string;
2187
+ class?: string;
2188
2188
  theme: CheckboxGroupItemRootThemeType;
2189
2189
  }
2190
2190
 
@@ -3438,7 +3438,7 @@ isInvalid: boolean;
3438
3438
  checkedStyle: CheckedStyleType;
3439
3439
  }> | null>;
3440
3440
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
3441
- className: string;
3441
+ class: string;
3442
3442
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
3443
3443
  checkboxRef: CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{}>, {
3444
3444
  inputRef: Ref<CreateComponentPublicInstanceWithMixins<Readonly<VisuallyHiddenInputProps> & Readonly<{}>, {
@@ -4748,7 +4748,7 @@ export declare interface ItemRootProps {
4748
4748
  isDefaultActive?: boolean;
4749
4749
  name: string;
4750
4750
  theme: ItemRootThemeType;
4751
- className?: string;
4751
+ class?: string;
4752
4752
  }
4753
4753
 
4754
4754
  export declare const ItemRootSelectAll: __VLS_WithTemplateSlots_3<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
@@ -4888,11 +4888,11 @@ export declare interface PortalProps {
4888
4888
  }
4889
4889
 
4890
4890
  declare type Props = CheckboxProps_2 & {
4891
- className?: string;
4891
+ class?: string;
4892
4892
  };
4893
4893
 
4894
4894
  declare type Props_2 = RadioProps & {
4895
- className?: string;
4895
+ class?: string;
4896
4896
  };
4897
4897
 
4898
4898
  declare type Props_3 = InputProps & {
@@ -4904,7 +4904,7 @@ declare type Props_4 = TextAreaProps & {
4904
4904
  };
4905
4905
 
4906
4906
  declare type Props_5 = TabProps & {
4907
- className?: string;
4907
+ class?: string;
4908
4908
  };
4909
4909
 
4910
4910
  export declare function provideTheme(initialConfig?: Partial<ThemeConfig>): ThemeContext;
@@ -5148,7 +5148,7 @@ isPlaceholderVisibleOnFocus: boolean;
5148
5148
  }> | null>;
5149
5149
  }, {}, {}, {}, {}> | null>;
5150
5150
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {
5151
- className: string;
5151
+ class: string;
5152
5152
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
5153
5153
  inputRef: CreateComponentPublicInstanceWithMixins<Readonly<VisuallyHiddenInputProps> & Readonly<{}>, {
5154
5154
  inputRef: Ref<CreateComponentPublicInstanceWithMixins<Readonly<BaseInputProps> & Readonly<{}>, {
@@ -5335,7 +5335,7 @@ export declare interface RadioGroupItemRootProps {
5335
5335
  isReadonly?: boolean;
5336
5336
  value?: string | number;
5337
5337
  id?: string;
5338
- className?: string;
5338
+ class?: string;
5339
5339
  onInput?: any;
5340
5340
  onFocus?: any;
5341
5341
  onBlur?: any;
@@ -5389,7 +5389,7 @@ export declare interface RadioProps {
5389
5389
  /**
5390
5390
  * `class` attribute for `Radio`.
5391
5391
  */
5392
- className?: string;
5392
+ class?: string;
5393
5393
  /**
5394
5394
  * Object with CSS theme properties.
5395
5395
  */
@@ -5932,7 +5932,7 @@ export declare const Tab: __VLS_WithTemplateSlots_29<typeof __VLS_component_24,
5932
5932
  export declare const TabPrimaryTheme: TabThemeType;
5933
5933
 
5934
5934
  export declare interface TabProps {
5935
- className?: string;
5935
+ class?: string;
5936
5936
  theme: TabThemeType;
5937
5937
  onClick?: (event: MouseEvent) => void;
5938
5938
  }