@itcase/ui 1.2.4 → 1.2.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 (39) hide show
  1. package/dist/cjs/components/FormField.js +4 -4
  2. package/dist/cjs/components/Pagination.js +26 -22
  3. package/dist/cjs/components/Select.js +252 -1220
  4. package/dist/cjs/context/Notifications.js +3 -2
  5. package/dist/components/FormField.js +4 -4
  6. package/dist/components/Pagination.js +27 -23
  7. package/dist/components/Select.js +252 -1220
  8. package/dist/context/Notifications.js +3 -2
  9. package/dist/css/components/DadataHintField/DadataHintField.css +1 -1
  10. package/dist/css/components/Swiper/Swiper.css +5 -5
  11. package/dist/css/mixins/mixin.css +73 -0
  12. package/dist/css/mixins/mixin_animation.css +8 -0
  13. package/dist/css/mixins/mixin_dark-light.css +16 -0
  14. package/dist/css/mixins/mixin_elevation.css +33 -0
  15. package/dist/css/{styles → mixins}/mixin_fill-gradient.css +1 -1
  16. package/dist/css/mixins/mixin_typography.css +70 -0
  17. package/dist/css/{styles/mixin_global.css → mixins/mixin_utils.css} +0 -30
  18. package/dist/types/components/Pagination/Pagination.d.ts +0 -10
  19. package/dist/types/components/Select/Select.interface.d.ts +91 -0
  20. package/dist/types/components/Select/SelectClearIndicator.d.ts +4 -11
  21. package/dist/types/components/Select/SelectContainer.d.ts +4 -1
  22. package/dist/types/components/Select/SelectControl.d.ts +4 -11
  23. package/dist/types/components/Select/SelectDropdownIndicator.d.ts +4 -13
  24. package/dist/types/components/Select/SelectGroupHeading.d.ts +4 -7
  25. package/dist/types/components/Select/SelectIndicatorsContainer.d.ts +4 -4
  26. package/dist/types/components/Select/SelectInput.d.ts +4 -12
  27. package/dist/types/components/Select/SelectLoadingIndicator.d.ts +5 -7
  28. package/dist/types/components/Select/SelectMenu.d.ts +4 -11
  29. package/dist/types/components/Select/SelectMultiValueContainer.d.ts +4 -1
  30. package/dist/types/components/Select/SelectMultiValueLabel.d.ts +4 -4
  31. package/dist/types/components/Select/SelectMultiValueRemove.d.ts +4 -4
  32. package/dist/types/components/Select/SelectNoOptions.d.ts +4 -12
  33. package/dist/types/components/Select/SelectOption.d.ts +4 -16
  34. package/dist/types/components/Select/SelectPlaceholder.d.ts +4 -11
  35. package/dist/types/components/Select/SelectSingleValue.d.ts +4 -12
  36. package/dist/types/components/Select/SelectValueContainer.d.ts +4 -11
  37. package/dist/types/components/Select/index.d.ts +3 -5
  38. package/package.json +24 -23
  39. package/dist/css/styles/mixin_elevation.css +0 -33
@@ -36,8 +36,9 @@ function NotificationsProvider(props) {
36
36
  // Check on need to hide, if current notification is target for hide
37
37
  const isNeedToHide = String(notificationItem.id) === String(targetId);
38
38
  // Callback for close if exists
39
- if (isNeedToHide && typeof notificationItem.onClose === 'function') {
40
- notificationItem.onClose();
39
+ if (isNeedToHide) {
40
+ clearTimeout(notificationItem._closeTimeout);
41
+ notificationItem.onClose && notificationItem.onClose();
41
42
  }
42
43
  // Save in state if no need to hide
43
44
  return !isNeedToHide;
@@ -1,4 +1,4 @@
1
- .react-dadata__container{position:relative}.react-dadata__input{border:1px solid #ccc;border-radius:4px;box-sizing:border-box;display:block;font-size:16px;height:38px;outline:none;padding:0 10px;width:100%}.react-dadata__input:focus{border-color:#007cd6;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 0 3px rgba(0,124,214,.3)}.react-dadata__suggestions{background-color:#fff;border-radius:4px;box-shadow:0 1px 6px 3px rgba(0,0,0,.1);left:0;list-style:none;margin:0;overflow:hidden;padding:0;position:absolute;right:0;text-align:left;top:calc(100% + 8px);z-index:10}.react-dadata__suggestion-note{color:#828282;font-size:14px;padding:10px 10px 5px}.react-dadata__suggestion{background:none;border:none;box-sizing:border-box;cursor:pointer;display:block;font-size:15px;padding:7px 10px;text-align:left;width:100%}.react-dadata__suggestion--line-through{text-decoration:line-through}.react-dadata__suggestion-subtitle{color:#777;font-size:14px;margin-top:4px}.react-dadata__suggestion-subtitle-item{display:inline-block;margin-bottom:4px;margin-right:16px}.react-dadata__suggestion-subtitle-item:last-child{margin-right:0}.react-dadata__suggestion--current{background-color:rgba(0,124,214,.15)}.react-dadata__suggestion:hover{background-color:rgba(0,124,214,.1)}.react-dadata mark{background:none}.react-dadata--highlighted{color:#0094ff}.react-dadata {
1
+ .react-dadata__container{position:relative}.react-dadata__input{box-sizing:border-box;border:1px solid #ccc;border-radius:4px;outline:none;width:100%;height:38px;padding:0 10px;font-size:16px;display:block}.react-dadata__input:focus{border-color:#007cd6;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 0 3px rgba(0,124,214,.3)}.react-dadata__suggestions{z-index:10;text-align:left;background-color:#fff;border-radius:4px;margin:0;padding:0;list-style:none;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:hidden;box-shadow:0 1px 6px 3px rgba(0,0,0,.1)}.react-dadata__suggestion-note{color:#828282;padding:10px 10px 5px;font-size:14px}.react-dadata__suggestion{cursor:pointer;box-sizing:border-box;text-align:left;background:0 0;border:none;width:100%;padding:7px 10px;font-size:15px;display:block}.react-dadata__suggestion--line-through{text-decoration:line-through}.react-dadata__suggestion-subtitle{color:#777;margin-top:4px;font-size:14px}.react-dadata__suggestion-subtitle-item{margin-bottom:4px;margin-right:16px;display:inline-block}.react-dadata__suggestion-subtitle-item:last-child{margin-right:0}.react-dadata__suggestion--current{background-color:rgba(0,124,214,.15)}.react-dadata__suggestion:hover{background-color:rgba(0,124,214,.1)}.react-dadata mark{background:0 0}.react-dadata--highlighted{color:#0094ff}.react-dadata {
2
2
  &__container {
3
3
  width: 100%;
4
4
  ^&__input {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper 11.1.10
2
+ * Swiper 11.1.12
3
3
  * Most modern mobile touch slider and framework with hardware accelerated transitions
4
4
  * https://swiperjs.com
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: August 21, 2024
10
+ * Released on: September 1, 2024
11
11
  */
12
12
 
13
13
  /* FONT_START */
@@ -760,7 +760,7 @@ button.swiper-pagination-bullet {
760
760
  pointer-events: auto;
761
761
  }
762
762
 
763
- .swiper-cube {
763
+ .swiper.swiper-cube {
764
764
  overflow: visible;
765
765
  }
766
766
 
@@ -834,7 +834,7 @@ button.swiper-pagination-bullet {
834
834
 
835
835
  /* Cube slide shadows end */
836
836
 
837
- .swiper-flip {
837
+ .swiper.swiper-flip {
838
838
  overflow: visible;
839
839
  }
840
840
 
@@ -874,7 +874,7 @@ button.swiper-pagination-bullet {
874
874
  transition-property: transform, opacity, height;
875
875
  }
876
876
 
877
- .swiper-cards {
877
+ .swiper.swiper-cards {
878
878
  overflow: visible;
879
879
  }
880
880
 
@@ -0,0 +1,73 @@
1
+ /* stylelint-disable length-zero-no-unit */
2
+
3
+ @define-mixin h1 $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
4
+ @mixin font $weight, 32px, 48px, $minLetterSpacing, 80px, 96px, $maxLetterSpacing,
5
+ var(--font-primary);
6
+ }
7
+
8
+ @define-mixin h2 $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
9
+ @mixin font $weight, 24px, 28px, $minLetterSpacing, 56px, 64px, $maxLetterSpacing,
10
+ var(--font-primary);
11
+ }
12
+
13
+ @define-mixin h3 $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
14
+ @mixin font $weight, 24px, 28px, $minLetterSpacing, 40px, 48px, $maxLetterSpacing,
15
+ var(--font-primary);
16
+ }
17
+
18
+ @define-mixin h4 $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
19
+ @mixin font $weight, 22px, 24px, $minLetterSpacing, 22px, 24px, $maxLetterSpacing,
20
+ var(--font-primary);
21
+ }
22
+
23
+ @define-mixin h5 $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
24
+ @mixin font $weight, 16px, 24px, $minLetterSpacing, 16px, 24px, $maxLetterSpacing,
25
+ var(--font-primary);
26
+ }
27
+
28
+ @define-mixin h6 $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
29
+ @mixin font $weight, 14px, 20px, $minLetterSpacing, 14px, 20px, $maxLetterSpacing,
30
+ var(--font-primary);
31
+ }
32
+
33
+ @define-mixin p $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
34
+ @mixin font $weight, 14px, 20px, $minLetterSpacing, 18px, 28px, $maxLetterSpacing,
35
+ var(--font-primary);
36
+ }
37
+
38
+ @define-mixin text-xs $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
39
+ @mixin font $weight, 9px, 12px, $minLetterSpacing, 9px, 12px, $maxLetterSpacing,
40
+ var(--font-primary);
41
+ }
42
+
43
+ @define-mixin text-s $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
44
+ @mixin font $weight, 10px, 12px, $minLetterSpacing, 10px, 12px, $maxLetterSpacing,
45
+ var(--font-primary);
46
+ }
47
+
48
+ @define-mixin text-m $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
49
+ @mixin font $weight, 12px, 18px, $minLetterSpacing, 12px, 18px, $maxLetterSpacing,
50
+ var(--font-primary);
51
+ }
52
+
53
+ @define-mixin text-l $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
54
+ @mixin font $weight, 14px, 20px, $minLetterSpacing, 14px, 20px, $maxLetterSpacing,
55
+ var(--font-primary);
56
+ }
57
+
58
+ @define-mixin text-xl $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
59
+ @mixin font $weight, 16px, 24px, $minLetterSpacing, 16px, 24px, $maxLetterSpacing,
60
+ var(--font-primary);
61
+ }
62
+
63
+ @define-mixin text-xxl $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
64
+ @mixin font $weight, 16px, 24px, $minLetterSpacing, 16px, 24px, $maxLetterSpacing,
65
+ var(--font-primary);
66
+ }
67
+
68
+ @define-mixin text-gradient-primary {
69
+ color: transparent;
70
+ background: linear-gradient(90deg, hsla(266, 100%, 64%, 1) 0%, hsla(213, 79%, 68%, 1) 50%);
71
+ background-clip: text;
72
+ text-fill-color: transparent;
73
+ }
@@ -0,0 +1,8 @@
1
+ @define-mixin disableAnimation {
2
+ transform: translate(0, 0);
3
+ opacity: 100%;
4
+ }
5
+
6
+ @define-mixin easing $ease: easeInSine, $type: all, $time: 0.2s {
7
+ transition: $type $time $ease;
8
+ }
@@ -0,0 +1,16 @@
1
+ @define-mixin dark {
2
+ @media (prefers-color-scheme: dark) {
3
+ & {
4
+ @mixin-content;
5
+ }
6
+ }
7
+ }
8
+
9
+ @define-mixin light {
10
+ @media (prefers-color-scheme: light) {
11
+ & {
12
+ @mixin-content;
13
+ }
14
+ }
15
+ @mixin-content;
16
+ }
@@ -0,0 +1,33 @@
1
+ /* stylelint-disable length-zero-no-unit */
2
+
3
+ @define-mixin elevation-1 {
4
+ box-shadow: var(--elevation-1);
5
+ }
6
+
7
+ @define-mixin elevation-2 {
8
+ box-shadow: var(--elevation-2);
9
+ }
10
+
11
+ @define-mixin elevation-4 {
12
+ box-shadow: var(--elevation-4);
13
+ }
14
+
15
+ @define-mixin elevation-6 {
16
+ box-shadow: var(--elevation-6);
17
+ }
18
+
19
+ @define-mixin elevation-8 {
20
+ box-shadow: var(--elevation-8);
21
+ }
22
+
23
+ @define-mixin elevation-12 {
24
+ box-shadow: var(--elevation-12);
25
+ }
26
+
27
+ @define-mixin elevation-16 {
28
+ box-shadow: var(--elevation-16);
29
+ }
30
+
31
+ @define-mixin elevation-24 {
32
+ box-shadow: var(--elevation-24);
33
+ }
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  @define-mixin fill-gradient_surface-primary-diagonal-left {
18
- background: linear-gradient(to bottom, hsla(0, 0%, 0%, 0) 0%,hsla(0,0%,0%,0.65) 100%);
18
+ background: linear-gradient(to bottom, hsla(0, 0%, 0%, 0) 0%, hsla(0,0%,0%,0.65) 100%);
19
19
  }
20
20
 
21
21
  @define-mixin fill-gradient_surface-primary-diagonal-right {
@@ -0,0 +1,70 @@
1
+ @define-mixin h1-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
2
+ @mixin font $weight, var(--typography-h1-min), var(--typography-h1-max), $minLetterSpacing,
3
+ var(--typography-h1-min-line-height), var(--typography-h1-max-line-height), $maxLetterSpacing,
4
+ var(--typography-h1-font);
5
+ }
6
+
7
+ @define-mixin h2-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
8
+ @mixin font $weight, 26px, 32px, $minLetterSpacing, 46px, 58px, $maxLetterSpacing,
9
+ var(--font-primary);
10
+ }
11
+
12
+ @define-mixin h3-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
13
+ @mixin font $weight, 18px, 24px, $minLetterSpacing, 32px, 40px, $maxLetterSpacing,
14
+ var(--font-primary);
15
+ }
16
+
17
+ @define-mixin h4-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
18
+ @mixin font $weight, 16px, 18px, $minLetterSpacing, 24px, 30px, $maxLetterSpacing,
19
+ var(--font-primary);
20
+ }
21
+
22
+ @define-mixin h5-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
23
+ @mixin font $weight, 14px, 16px, $minLetterSpacing, 18px, 26px, $maxLetterSpacing,
24
+ var(--font-primary);
25
+ }
26
+
27
+ @define-mixin h6-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
28
+ @mixin font $weight, 12px, 18px, $minLetterSpacing, 16px, 24px, $maxLetterSpacing,
29
+ var(--font-primary);
30
+ }
31
+
32
+ @define-mixin p-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
33
+ @mixin font $weight, 12px, 16px, $minLetterSpacing, 16px, 24px, $maxLetterSpacing,
34
+ var(--font-primary);
35
+ }
36
+
37
+ @define-mixin text-xxl-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
38
+ @mixin font $weight, 24px, 28px, $minLetterSpacing, 24px, 28px, $maxLetterSpacing,
39
+ var(--font-primary);
40
+ }
41
+
42
+ @define-mixin text-xl-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
43
+ @mixin font $weight, 20px, 24px, $minLetterSpacing, 20px, 24px, $maxLetterSpacing,
44
+ var(--font-primary);
45
+ }
46
+
47
+ @define-mixin text-l-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
48
+ @mixin font $weight, 18px, 24px, $minLetterSpacing, 18px, 24px, $maxLetterSpacing,
49
+ var(--font-primary);
50
+ }
51
+
52
+ @define-mixin text-m-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
53
+ @mixin font $weight, 16px, 18px, $minLetterSpacing, 16px, 20px, $maxLetterSpacing,
54
+ var(--font-primary);
55
+ }
56
+
57
+ @define-mixin text-s-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
58
+ @mixin font $weight, 14px, 18px, $minLetterSpacing, 14px, 18px, $maxLetterSpacing,
59
+ var(--font-primary);
60
+ }
61
+
62
+ @define-mixin text-xs-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
63
+ @mixin font $weight, 12px, 16px, $minLetterSpacing, 12px, 16px, $maxLetterSpacing,
64
+ var(--font-primary);
65
+ }
66
+
67
+ @define-mixin text-xxs-new $weight: normal, $minLetterSpacing: 0px, $maxLetterSpacing: 0px {
68
+ @mixin font $weight, 10px, 14px, $minLetterSpacing, 10px, 14px, $maxLetterSpacing,
69
+ var(--font-primary);
70
+ }
@@ -14,36 +14,6 @@
14
14
  }
15
15
  }
16
16
 
17
- @define-mixin dark {
18
- @media (prefers-color-scheme: dark) {
19
- & {
20
- @mixin-content;
21
- }
22
- }
23
- }
24
-
25
- @define-mixin light {
26
- @media (prefers-color-scheme: light) {
27
- & {
28
- @mixin-content;
29
- }
30
- }
31
- @mixin-content;
32
- }
33
-
34
- @define-mixin disableAnimation {
35
- transform: translate(0, 0);
36
- opacity: 100%;
37
- }
38
-
39
- @define-mixin easing $ease: easeInSine, $type: all, $time: 0.2s {
40
- transition: $type $time $ease;
41
- }
42
-
43
- @define-mixin easing $ease: easeInSine, $type: all, $time: 0.2s {
44
- transition: $type $time $ease;
45
- }
46
-
47
17
  @define-mixin word-wrap {
48
18
  overflow-wrap: break-word;
49
19
  word-wrap: break-word;
@@ -1,13 +1,3 @@
1
1
  import { iPaginationProps } from './Pagination.interface';
2
2
  declare function Pagination(props: iPaginationProps): import("react/jsx-runtime").JSX.Element;
3
- declare namespace Pagination {
4
- var defaultProps: {
5
- pageNumber: number;
6
- perPageCount: number;
7
- allItemsCount: number;
8
- pageCountArray: number[];
9
- isPageCountDropdownReversed: boolean;
10
- pageCountDropdownItemLabelColorActive: string;
11
- };
12
- }
13
3
  export { Pagination };
@@ -0,0 +1,91 @@
1
+ import type { ReactNode } from 'react';
2
+ import { GroupBase, Props } from 'react-select';
3
+ import { borderColorHoverPropsType, sizeOptionPropsType, tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
4
+ import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
+ interface iSelectThemeColor extends iSelectPropsCustom {
6
+ }
7
+ type tSelectAppearance = {
8
+ [key in tAppearanceKeysDefault]?: iSelectThemeColor;
9
+ };
10
+ interface iSelectConfig {
11
+ appearance: tSelectAppearance | undefined;
12
+ setAppearance: (newComponent: tSelectAppearance) => void;
13
+ }
14
+ interface iSelectProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> extends Pick<Props<Option, IsMulti, Group>, 'className' | 'closeMenuOnSelect' | 'defaultValue' | 'filterOption' | 'hideSelectedOptions' | 'instanceId' | 'isClearable' | 'isDisabled' | 'isLoading' | 'isMulti' | 'isSearchable' | 'loadingMessage' | 'onChange' | 'onInputChange' | 'openMenuOnClick' | 'options' | 'value'>, iSelectPropsCustom {
15
+ }
16
+ interface iSelectCustomComponentsProps {
17
+ data?: {
18
+ label?: ReactNode;
19
+ optionAfter?: ReactNode;
20
+ optionBefore?: ReactNode;
21
+ };
22
+ selectProps?: iSelectPropsCustom;
23
+ }
24
+ interface iSelectPropsCustom {
25
+ after?: ReactNode;
26
+ appearance?: tAppearanceKeysDefault;
27
+ badgeAppearance?: tAppearanceKeysDefault;
28
+ badgeSize?: tSizeProps;
29
+ badgeTextSize?: tTextSizeProps;
30
+ before?: ReactNode;
31
+ clearIcon?: any;
32
+ clearIconFill?: tItemColorProps;
33
+ dividerDirection?: tDirectionProps;
34
+ dividerFill?: tFillProps;
35
+ dividerSize?: tSizeProps;
36
+ dropdownFillHover?: tFillHoverProps;
37
+ dropdownIcon?: any;
38
+ dropdownIconFill?: tItemColorProps;
39
+ dropdownIconShape?: tShapeProps;
40
+ elevation?: number;
41
+ fetchingData?: ReactNode;
42
+ headingFill?: string;
43
+ headingFillHover?: string;
44
+ headingTextColor?: tTextColorProps;
45
+ headingTextSize?: tTextSizeProps;
46
+ headingTextWeight?: tTextWeightProps;
47
+ hideValueContainer?: boolean;
48
+ inputAfter?: ReactNode;
49
+ inputBefore?: ReactNode;
50
+ inputBorderColor?: tBorderColorProps;
51
+ inputBorderColorHover?: borderColorHoverPropsType;
52
+ inputCaretColor?: string;
53
+ inputFill?: string;
54
+ inputShape?: string;
55
+ inputTextColor?: tTextColorProps;
56
+ inputTextSize?: tTextSizeProps;
57
+ inputValue?: string;
58
+ loadingIndicator?: ReactNode;
59
+ menuAfter?: ReactNode;
60
+ menuBefore?: ReactNode;
61
+ menuItemSize?: string;
62
+ multipleItemFill?: tFillProps;
63
+ multipleItemFillHover?: tFillHoverProps;
64
+ multipleItemIcon?: any;
65
+ multipleItemIconFill?: tItemColorProps;
66
+ multipleItemTextColor?: tTextColorProps;
67
+ multipleItemTextSize?: tTextSizeProps;
68
+ noOptionsSearchText?: ReactNode;
69
+ noOptionsText?: ReactNode;
70
+ noOptionsTextColor?: tTextColorProps;
71
+ noOptionsTextSize?: tTextSizeProps;
72
+ optionAfter?: ReactNode;
73
+ optionBefore?: ReactNode;
74
+ optionBorder?: string;
75
+ optionBorderType?: string;
76
+ optionFill?: string;
77
+ optionFillHover?: string;
78
+ optionSelected?: ReactNode;
79
+ optionShape?: tShapeProps;
80
+ optionTextColor?: tTextColorProps;
81
+ optionTextSize?: tTextSizeProps;
82
+ placeholder?: ReactNode;
83
+ placeholderTextColor?: tTextColorProps;
84
+ placeholderTextSize?: tTextSizeProps;
85
+ showBadge?: boolean;
86
+ showDivider?: boolean;
87
+ size?: sizeOptionPropsType;
88
+ isCreatable?: boolean;
89
+ set?: string;
90
+ }
91
+ export type { iSelectCustomComponentsProps, iSelectThemeColor, iSelectPropsCustom, tSelectAppearance, iSelectConfig, iSelectProps, };
@@ -1,11 +1,4 @@
1
- export function SelectClearIndicator(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectClearIndicator {
3
- namespace propTypes {
4
- let children: PropTypes.Requireable<any>;
5
- let selectProps: PropTypes.Requireable<PropTypes.InferProps<{
6
- clearIcon: PropTypes.Requireable<string>;
7
- clearIconFill: PropTypes.Requireable<string>;
8
- }>>;
9
- }
10
- }
11
- import PropTypes from 'prop-types';
1
+ import { ClearIndicatorProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare function SelectClearIndicator(props: ClearIndicatorProps & iSelectCustomComponentsProps): import("react/jsx-runtime").JSX.Element;
4
+ export { SelectClearIndicator };
@@ -1,2 +1,5 @@
1
- export const SelectContainer: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
1
  import React from 'react';
2
+ import { GroupBase } from 'react-select';
3
+ import { iSelectProps } from './Select.interface';
4
+ declare const SelectContainer: React.ForwardRefExoticComponent<iSelectProps<unknown, boolean, GroupBase<unknown>> & React.RefAttributes<unknown>>;
5
+ export { SelectContainer };
@@ -1,11 +1,4 @@
1
- export function SelectControl(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectControl {
3
- namespace propTypes {
4
- let selectProps: PropTypes.Requireable<PropTypes.InferProps<{
5
- inputFill: PropTypes.Requireable<string>;
6
- inputShape: PropTypes.Requireable<string>;
7
- set: PropTypes.Requireable<string>;
8
- }>>;
9
- }
10
- }
11
- import PropTypes from 'prop-types';
1
+ import { ControlProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectControl: (props: ControlProps & iSelectCustomComponentsProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectControl };
@@ -1,13 +1,4 @@
1
- export function SelectDropdownIndicator(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectDropdownIndicator {
3
- namespace propTypes {
4
- let children: PropTypes.Requireable<any>;
5
- let selectProps: PropTypes.Requireable<PropTypes.InferProps<{
6
- dropdownFillHover: PropTypes.Requireable<string>;
7
- dropdownIcon: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.ReactElementLike | null | undefined>>;
8
- dropdownIconFill: PropTypes.Requireable<string>;
9
- dropdownIconShape: PropTypes.Requireable<string>;
10
- }>>;
11
- }
12
- }
13
- import PropTypes from 'prop-types';
1
+ import { DropdownIndicatorProps, GroupBase } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectDropdownIndicator: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: DropdownIndicatorProps<Option, IsMulti, Group> & iSelectCustomComponentsProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectDropdownIndicator };
@@ -1,7 +1,4 @@
1
- export function SelectGroupHeading(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectGroupHeading {
3
- namespace propTypes {
4
- let selectProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
5
- }
6
- }
7
- import PropTypes from 'prop-types';
1
+ import { GroupHeadingProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectGroupHeading: (props: GroupHeadingProps & iSelectCustomComponentsProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectGroupHeading };
@@ -1,4 +1,4 @@
1
- export function SelectIndicatorsContainer(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectIndicatorsContainer {
3
- let propTypes: {};
4
- }
1
+ import { IndicatorsContainerProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectIndicatorsContainer: (props: IndicatorsContainerProps & iSelectCustomComponentsProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectIndicatorsContainer };
@@ -1,12 +1,4 @@
1
- export function SelectInput(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectInput {
3
- namespace propTypes {
4
- let selectProps: PropTypes.Requireable<PropTypes.InferProps<{
5
- inputTextSize: PropTypes.Requireable<string>;
6
- inputTextColor: PropTypes.Requireable<string>;
7
- inputCaretColor: PropTypes.Requireable<string>;
8
- }>>;
9
- let children: PropTypes.Requireable<any>;
10
- }
11
- }
12
- import PropTypes from 'prop-types';
1
+ import { InputProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectInput: (props: InputProps & iSelectCustomComponentsProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectInput };
@@ -1,7 +1,5 @@
1
- export function SelectLoadingIndicator(props: any): any;
2
- export namespace SelectLoadingIndicator {
3
- namespace propTypes {
4
- let selectProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
5
- }
6
- }
7
- import PropTypes from 'prop-types';
1
+ import React from 'react';
2
+ import { LoadingIndicatorProps } from 'react-select';
3
+ import { iSelectCustomComponentsProps } from './Select.interface';
4
+ declare const SelectLoadingIndicator: (props: iSelectCustomComponentsProps & LoadingIndicatorProps) => React.ReactNode;
5
+ export { SelectLoadingIndicator };
@@ -1,11 +1,4 @@
1
- export function SelectMenu(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectMenu {
3
- namespace propTypes {
4
- let selectProps: PropTypes.Requireable<PropTypes.InferProps<{
5
- fetchingData: PropTypes.Requireable<any>;
6
- set: PropTypes.Requireable<string>;
7
- }>>;
8
- let children: PropTypes.Requireable<any>;
9
- }
10
- }
11
- import PropTypes from 'prop-types';
1
+ import { MenuProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectMenu: (props: iSelectCustomComponentsProps & MenuProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectMenu };
@@ -1 +1,4 @@
1
- export function SelectMultiValueContainer(props: any): import("react/jsx-runtime").JSX.Element;
1
+ import { MultiValueGenericProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectMultiValueContainer: (props: iSelectCustomComponentsProps & MultiValueGenericProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectMultiValueContainer };
@@ -1,4 +1,4 @@
1
- export function SelectMultiValueLabel(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectMultiValueLabel {
3
- let propTypes: {};
4
- }
1
+ import { MultiValueGenericProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectMultiValueLabel: (props: iSelectCustomComponentsProps & MultiValueGenericProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectMultiValueLabel };
@@ -1,4 +1,4 @@
1
- export function SelectMultiValueRemove(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectMultiValueRemove {
3
- let propTypes: {};
4
- }
1
+ import { MultiValueRemoveProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectMultiValueRemove: (props: iSelectCustomComponentsProps & MultiValueRemoveProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectMultiValueRemove };
@@ -1,12 +1,4 @@
1
- export function SelectNoOptions(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectNoOptions {
3
- namespace propTypes {
4
- let selectProps: PropTypes.Requireable<PropTypes.InferProps<{
5
- noOptionsTextSize: PropTypes.Requireable<string>;
6
- noOptionsTextColor: PropTypes.Requireable<string>;
7
- noOptionsText: PropTypes.Requireable<string>;
8
- }>>;
9
- let children: PropTypes.Requireable<any>;
10
- }
11
- }
12
- import PropTypes from 'prop-types';
1
+ import { NoticeProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectNoOptions: (props: iSelectCustomComponentsProps & NoticeProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectNoOptions };
@@ -1,16 +1,4 @@
1
- export function SelectOption(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectOption {
3
- namespace propTypes {
4
- let selectProps: PropTypes.Requireable<PropTypes.InferProps<{
5
- optionFill: PropTypes.Requireable<string>;
6
- optionTextSize: PropTypes.Requireable<string>;
7
- optionTextColor: PropTypes.Requireable<string>;
8
- optionShape: PropTypes.Requireable<string>;
9
- optionBefore: PropTypes.Requireable<any>;
10
- optionAfter: PropTypes.Requireable<any>;
11
- }>>;
12
- let label: PropTypes.Requireable<string>;
13
- let isSelected: PropTypes.Requireable<any>;
14
- }
15
- }
16
- import PropTypes from 'prop-types';
1
+ import { GroupBase, OptionProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectOption: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: iSelectCustomComponentsProps & OptionProps<Option, IsMulti, Group>) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectOption };
@@ -1,11 +1,4 @@
1
- export function SelectPlaceholder(props: any): import("react/jsx-runtime").JSX.Element;
2
- export namespace SelectPlaceholder {
3
- namespace propTypes {
4
- let selectProps: PropTypes.Requireable<PropTypes.InferProps<{
5
- placeholderTextSize: PropTypes.Requireable<string>;
6
- placeholderTextColor: PropTypes.Requireable<string>;
7
- }>>;
8
- let children: PropTypes.Requireable<any>;
9
- }
10
- }
11
- import PropTypes from 'prop-types';
1
+ import { GroupBase, PlaceholderProps } from 'react-select';
2
+ import { iSelectCustomComponentsProps } from './Select.interface';
3
+ declare const SelectPlaceholder: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(props: iSelectCustomComponentsProps & PlaceholderProps<Option, IsMulti, Group>) => import("react/jsx-runtime").JSX.Element;
4
+ export { SelectPlaceholder };