@alfalab/core-components 42.14.0-beta.0 → 42.14.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/calendar-input/Component-10db897e.d.ts +183 -3
- package/calendar-input/Component-69921c40.d.ts +12 -172
- package/calendar-input/Component.desktop-b5b4c59f.d.ts +5 -72
- package/calendar-input/components/calendar-input/Component.d.ts +1 -1
- package/calendar-input/index-89f0cb07.d.ts +1 -1
- package/calendar-input/index-ebda875c.d.ts +1 -1
- package/calendar-input/index-f034f741.d.ts +2 -80
- package/calendar-input/mobile-c219f8ca.d.ts +368 -1
- package/confirmation/component.desktop.js +1 -1
- package/confirmation/component.mobile.js +1 -1
- package/confirmation/component.responsive.js +1 -1
- package/confirmation/components/base-confirmation/component.js +1 -1
- package/confirmation/components/base-confirmation/index.js +1 -1
- package/confirmation/components/index.js +1 -1
- package/confirmation/components/screens/index.js +1 -1
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/components/screens/initial/index.js +1 -1
- package/confirmation/desktop.js +1 -1
- package/confirmation/esm/component.desktop.js +1 -1
- package/confirmation/esm/component.mobile.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile.js +1 -1
- package/confirmation/esm/shared.js +1 -1
- package/confirmation/index.js +1 -1
- package/confirmation/mobile.js +1 -1
- package/confirmation/modern/component.desktop.js +1 -1
- package/confirmation/modern/component.mobile.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile.js +1 -1
- package/confirmation/modern/shared.js +1 -1
- package/confirmation/shared.js +1 -1
- package/date-range-input/esm/Component-10db897e.d.ts +295 -4
- package/date-range-input/esm/Component-b5b4c59f.d.ts +1 -1
- package/date-range-input/esm/Component.desktop-b5b4c59f.d.ts +1 -8
- package/date-range-input/esm/index-ebda875c.d.ts +1 -34
- package/date-range-input/esm/index-f034f741.d.ts +5 -2
- package/date-time-input/esm/Component-10db897e.d.ts +4 -295
- package/date-time-input/esm/Component-69921c40.d.ts +172 -12
- package/date-time-input/esm/Component.desktop-b5b4c59f.d.ts +72 -5
- package/date-time-input/esm/components/date-time-input/Component.d.ts +1 -1
- package/date-time-input/esm/index-89f0cb07.d.ts +1 -1
- package/date-time-input/esm/index-ebda875c.d.ts +34 -1
- package/date-time-input/esm/index-f034f741.d.ts +80 -2
- package/date-time-input/esm/mobile-c219f8ca.d.ts +1 -368
- package/date-time-input/modern/Component-10db897e.d.ts +295 -4
- package/date-time-input/modern/Component-5684a67d.d.ts +23 -0
- package/date-time-input/modern/Component-69921c40.d.ts +12 -172
- package/date-time-input/modern/Component-e2b6c730.d.ts +76 -0
- package/date-time-input/modern/Component.desktop-b5b4c59f.d.ts +5 -72
- package/date-time-input/modern/components/date-time-input/Component.d.ts +1 -1
- package/date-time-input/modern/{desktop-69921c40.d.ts → desktop-89f0cb07.d.ts} +1 -1
- package/date-time-input/modern/index-89f0cb07.d.ts +1 -1
- package/date-time-input/modern/index-ebda875c.d.ts +1 -34
- package/date-time-input/modern/index-f034f741.d.ts +2 -80
- package/date-time-input/modern/mobile-c219f8ca.d.ts +368 -1
- package/date-time-input/modern/utils-e0a54580.d.ts +8 -0
- package/gallery/Component.js +2 -2
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/header/index.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/index.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/components/index.js +2 -2
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/index.js +2 -2
- package/gallery/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/index.js +2 -2
- package/input-autocomplete/esm/Component-0f4b9bed.d.ts +70 -3
- package/input-autocomplete/esm/Component-ebda875c.d.ts +8 -293
- package/input-autocomplete/esm/Component.desktop.d.ts +1 -1
- package/input-autocomplete/esm/Component.mobile.d.ts +2 -2
- package/input-autocomplete/esm/Component.modal.mobile.d.ts +3 -3
- package/input-autocomplete/esm/Component.responsive.d.ts +4 -4
- package/input-autocomplete/esm/hook-8abfea97.d.ts +4 -4
- package/input-autocomplete/esm/index-bdb4c6b9.d.ts +2 -180
- package/input-autocomplete/esm/index-c76d6398.d.ts +6 -184
- package/input-autocomplete/esm/index-ebda875c.d.ts +117 -190
- package/input-autocomplete/esm/index-f12ee135.d.ts +3 -275
- package/input-autocomplete/esm/shared-4cd3936b.d.ts +59 -1
- package/input-autocomplete/esm/types-72dda473.d.ts +276 -0
- package/international-phone-input/modern/Component-0f4b9bed.d.ts +3 -70
- package/international-phone-input/modern/Component-4cd3936b.d.ts +5 -17
- package/international-phone-input/modern/Component-8b2c2707.d.ts +1 -1
- package/international-phone-input/modern/Component-96988a65.d.ts +19 -0
- package/international-phone-input/modern/Component-ebda875c.d.ts +98 -9
- package/international-phone-input/modern/{Component.desktop-9cded6b9.d.ts → Component.desktop-4cd3936b.d.ts} +2 -2
- package/international-phone-input/modern/Component.desktop-ebda875c.d.ts +18 -0
- package/international-phone-input/modern/Component.responsive.d.ts +3 -3
- package/international-phone-input/modern/desktop-232828f7.d.ts +1 -1
- package/international-phone-input/modern/hook-8abfea97.d.ts +4 -4
- package/international-phone-input/modern/index-bdb4c6b9.d.ts +180 -2
- package/international-phone-input/modern/index-c44170fe.d.ts +1 -1
- package/international-phone-input/modern/index-c76d6398.d.ts +182 -4
- package/international-phone-input/modern/index-ebda875c.d.ts +1 -1
- package/international-phone-input/modern/mobile-4c19bc40.d.ts +121 -3
- package/international-phone-input/modern/mobile-96988a65.d.ts +2 -1
- package/international-phone-input/modern/shared-4cd3936b.d.ts +1 -59
- package/package.json +2 -2
- package/pure-cell/component.js +1 -1
- package/pure-cell/components/content/component.js +1 -1
- package/pure-cell/components/content/index.d.ts +1 -1
- package/pure-cell/components/content/index.js +1 -1
- package/pure-cell/components/main/component.js +1 -1
- package/pure-cell/components/main/index.d.ts +1 -1
- package/pure-cell/components/main/index.js +1 -1
- package/pure-cell/components/text/component.js +1 -1
- package/pure-cell/components/text/index.d.ts +1 -1
- package/pure-cell/components/text/index.js +1 -1
- package/pure-cell/esm/component.js +1 -1
- package/pure-cell/esm/components/content/component.js +1 -1
- package/pure-cell/esm/components/content/index.d.ts +1 -1
- package/pure-cell/esm/components/content/index.js +1 -1
- package/pure-cell/esm/components/main/component.js +1 -1
- package/pure-cell/esm/components/main/index.d.ts +1 -1
- package/pure-cell/esm/components/main/index.js +1 -1
- package/pure-cell/esm/components/text/component.js +1 -1
- package/pure-cell/esm/components/text/index.d.ts +1 -1
- package/pure-cell/esm/components/text/index.js +1 -1
- package/pure-cell/esm/index.js +1 -1
- package/pure-cell/index.js +1 -1
- package/pure-cell/modern/component.js +1 -1
- package/pure-cell/modern/components/content/component.js +1 -1
- package/pure-cell/modern/components/content/index.d.ts +1 -1
- package/pure-cell/modern/components/content/index.js +1 -1
- package/pure-cell/modern/components/main/component.js +1 -1
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +1 -1
- package/pure-cell/modern/components/text/component.js +1 -1
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +1 -1
- package/pure-cell/modern/index.js +1 -1
- package/select/Component.desktop.d.ts +0 -2
- package/select/Component.mobile-f1f15074.d.ts +2 -2
- package/select/Component.mobile.js +1 -1
- package/select/Component.modal.mobile.js +1 -1
- package/select/Component.responsive.js +1 -1
- package/select/esm/Component.mobile.js +1 -1
- package/select/esm/Component.modal.mobile.js +1 -1
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared.js +1 -1
- package/select/index.js +1 -1
- package/select/mobile-96988a65.d.ts +6 -2
- package/select/mobile.js +1 -1
- package/select/modern/Component.mobile.js +1 -1
- package/select/modern/Component.modal.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared.js +1 -1
- package/select-with-tags/components/tag-list/component.js +1 -1
- package/select-with-tags/cssm/Component.desktop-0aa4e915.d.ts +1 -1
- package/select-with-tags/cssm/Component.mobile-16b1285a.d.ts +1 -1
- package/select-with-tags/cssm/Component.responsive-3109f463.d.ts +1 -1
- package/select-with-tags/cssm/components/tag-list/component.js +1 -1
- package/select-with-tags/esm/components/tag-list/component.js +1 -1
- package/select-with-tags/modern/components/tag-list/component.js +1 -1
- package/table/esm/desktop-69921c40.d.ts +1 -1
- package/table/esm/index-ebda875c.d.ts +1 -1
- package/table/esm/mobile-89f0cb07.d.ts +1 -1
- package/tabs/cssm/index-ebda875c.d.ts +86 -21
- package/tabs/modern/index-ebda875c.d.ts +86 -21
- package/themes/compiled/mobile-dark-bluetint.css +46 -46
- package/themes/dist/compiled/mobile-dark-bluetint.css +160 -160
- package/calendar-input/Component-ebda875c.d.ts +0 -35
- package/date-time-input/modern/Component-b5b4c59f.d.ts +0 -389
- package/input-autocomplete/esm/Component-72dda473.d.ts +0 -53
- package/international-phone-input/modern/Component-9cded6b9.d.ts +0 -7
- package/international-phone-input/modern/Component.mobile-4cd3936b.d.ts +0 -98
- package/international-phone-input/modern/Component.mobile-ebda875c.d.ts +0 -6
- package/international-phone-input/modern/Component.modal.mobile-4cd3936b.d.ts +0 -91
- /package/{date-time-input/esm → calendar-input}/Component-5684a67d.d.ts +0 -0
- /package/{date-time-input/esm → calendar-input}/Component-e2b6c730.d.ts +0 -0
- /package/{date-time-input/esm → calendar-input}/Component.desktop-89f0cb07.d.ts +0 -0
- /package/calendar-input/{Component.responsive-0aa4e915.d.ts → Component.responsive-16b1285a.d.ts} +0 -0
- /package/{date-time-input/esm → calendar-input}/desktop-89f0cb07.d.ts +0 -0
- /package/{date-time-input/esm → calendar-input}/desktop-b5b4c59f.d.ts +0 -0
- /package/calendar-input/{shared-f034f741.d.ts → shared-71d94e2b.d.ts} +0 -0
- /package/{date-time-input/esm → calendar-input}/utils-e0a54580.d.ts +0 -0
- /package/confirmation/{countdown-section-6c6108cc.d.ts → countdown-section-3dcecb18.d.ts} +0 -0
- /package/confirmation/{countdown-section-6c6108cc.js → countdown-section-3dcecb18.js} +0 -0
- /package/confirmation/esm/{countdown-section-d6bdbf45.d.ts → countdown-section-9f91f07f.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-d6bdbf45.js → countdown-section-9f91f07f.js} +0 -0
- /package/confirmation/modern/{countdown-section-3348e907.d.ts → countdown-section-f642a386.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-3348e907.js → countdown-section-f642a386.js} +0 -0
- /package/date-range-input/esm/{Component.mobile-16b1285a.d.ts → Component.mobile-89f0cb07.d.ts} +0 -0
- /package/{calendar-input → date-time-input/esm}/Component-b5b4c59f.d.ts +0 -0
- /package/{calendar-input → date-time-input/esm}/Component.desktop-0aa4e915.d.ts +0 -0
- /package/date-time-input/{modern → esm}/Component.mobile-ebda875c.d.ts +0 -0
- /package/date-time-input/{modern → esm}/Component.responsive-0aa4e915.d.ts +0 -0
- /package/date-time-input/{modern → esm}/Component.responsive-785df74d.d.ts +0 -0
- /package/{calendar-input → date-time-input/esm}/desktop-63dec22f.d.ts +0 -0
- /package/{calendar-input → date-time-input/esm}/desktop-69921c40.d.ts +0 -0
- /package/date-time-input/modern/{Component.desktop-0aa4e915.d.ts → Component.desktop-89f0cb07.d.ts} +0 -0
- /package/date-time-input/{esm → modern}/Component.desktop-ebda875c.d.ts +0 -0
- /package/date-time-input/{esm → modern}/Component.responsive-16b1285a.d.ts +0 -0
- /package/date-time-input/{esm → modern}/Component.responsive-d7e9f69d.d.ts +0 -0
- /package/date-time-input/modern/{desktop-63dec22f.d.ts → desktop-b5b4c59f.d.ts} +0 -0
- /package/gallery/{buttons-956df736.d.ts → buttons-ef2e58f2.d.ts} +0 -0
- /package/gallery/{buttons-956df736.js → buttons-ef2e58f2.js} +0 -0
- /package/gallery/esm/{buttons-aea7680d.d.ts → buttons-80a64e3d.d.ts} +0 -0
- /package/gallery/esm/{buttons-aea7680d.js → buttons-80a64e3d.js} +0 -0
- /package/gallery/esm/{slide-b35666e6.d.ts → slide-855e46a2.d.ts} +0 -0
- /package/gallery/esm/{slide-b35666e6.js → slide-855e46a2.js} +0 -0
- /package/gallery/modern/{buttons-1db6ece7.d.ts → buttons-9cfec478.d.ts} +0 -0
- /package/gallery/modern/{buttons-1db6ece7.js → buttons-9cfec478.js} +0 -0
- /package/gallery/modern/{slide-bfc856d6.d.ts → slide-11296bd8.d.ts} +0 -0
- /package/gallery/modern/{slide-bfc856d6.js → slide-11296bd8.js} +0 -0
- /package/gallery/{slide-cb28b058.d.ts → slide-53929d57.d.ts} +0 -0
- /package/gallery/{slide-cb28b058.js → slide-53929d57.js} +0 -0
- /package/{select → input/esm}/Component.mobile-ebda875c.d.ts +0 -0
- /package/{international-phone-input/modern → input-autocomplete/esm}/Component-69921c40.d.ts +0 -0
- /package/{international-phone-input/modern → input-autocomplete/esm}/Component.modal.mobile-0f4b9bed.d.ts +0 -0
- /package/input-autocomplete/esm/{desktop-89f0cb07.d.ts → desktop-69921c40.d.ts} +0 -0
- /package/input-autocomplete/esm/{mobile-511e54fa.d.ts → mobile-89f0cb07.d.ts} +0 -0
- /package/{international-phone-input/modern → input-autocomplete/esm}/mobile-f28cbba0.d.ts +0 -0
- /package/{international-phone-input/modern → input-autocomplete/esm}/useSkeleton-ebda875c.d.ts +0 -0
- /package/{international-phone-input/modern → input-autocomplete/esm}/utils-1574ad8b.d.ts +0 -0
- /package/{input-autocomplete/esm → international-phone-input/modern}/Component-511e54fa.d.ts +0 -0
- /package/{input-autocomplete/esm → international-phone-input/modern}/Component-aed0af6e.d.ts +0 -0
- /package/{input-autocomplete/esm → international-phone-input/modern}/Component-f12ee135.d.ts +0 -0
- /package/international-phone-input/modern/{Component.responsive-785df74d.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
- /package/{input-autocomplete/esm → international-phone-input/modern}/hook-ebda875c.d.ts +0 -0
- /package/{input-autocomplete/esm → international-phone-input/modern}/mobile-45dc17c6.d.ts +0 -0
- /package/international-phone-input/modern/{mobile-89f0cb07.d.ts → mobile-511e54fa.d.ts} +0 -0
- /package/{input-autocomplete/esm → international-phone-input/modern}/useSkeleton-1b036d4b.d.ts +0 -0
- /package/pure-cell/{component-e27ea294.d.ts → component-0a51b9f9.d.ts} +0 -0
- /package/pure-cell/{component-e27ea294.js → component-0a51b9f9.js} +0 -0
- /package/pure-cell/esm/{component-91d54387.d.ts → component-47bb10a4.d.ts} +0 -0
- /package/pure-cell/esm/{component-91d54387.js → component-47bb10a4.js} +0 -0
- /package/pure-cell/modern/{component-b4d6f3df.d.ts → component-f7278cdd.d.ts} +0 -0
- /package/pure-cell/modern/{component-b4d6f3df.js → component-f7278cdd.js} +0 -0
- /package/{input/esm → select}/Component.desktop-ebda875c.d.ts +0 -0
- /package/select/esm/{hook-1e576b85.d.ts → hook-7cea01ed.d.ts} +0 -0
- /package/select/esm/{hook-1e576b85.js → hook-7cea01ed.js} +0 -0
- /package/select/{hook-ccde557f.d.ts → hook-26f637c3.d.ts} +0 -0
- /package/select/{hook-ccde557f.js → hook-26f637c3.js} +0 -0
- /package/select/modern/{hook-99a2fb1e.d.ts → hook-8fde8bd7.d.ts} +0 -0
- /package/select/modern/{hook-99a2fb1e.js → hook-8fde8bd7.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
-
declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<
|
|
4
|
+
declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
5
|
export { ButtonDesktop };
|
|
6
6
|
export type { CommonButtonProps as ButtonDesktopProps } from "./typings-89f0cb07";
|
|
@@ -71,7 +71,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
71
71
|
icon: ElementType<{
|
|
72
72
|
className?: string;
|
|
73
73
|
}> | ReactElement;
|
|
74
|
-
view?: "
|
|
74
|
+
view?: "transparent" | "primary" | "secondary" | "tertiary" | "negative" | undefined;
|
|
75
75
|
size?: "s" | "xxs" | "xs" | undefined;
|
|
76
76
|
className?: string | undefined;
|
|
77
77
|
alignIcon?: "center" | "left" | "right" | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
-
declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<
|
|
4
|
+
declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
5
|
export { ButtonMobile };
|
|
6
6
|
export type { CommonButtonProps as ButtonMobileProps } from "./typings-89f0cb07";
|
|
@@ -1,40 +1,105 @@
|
|
|
1
|
-
/// <reference types="react-transition-group" />
|
|
2
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react-transition-group" />
|
|
3
3
|
import React from "react";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { ButtonHTMLAttributes, ReactNode, RefObject } from "react";
|
|
5
|
+
type StyleColors = {
|
|
6
|
+
default: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
inverted: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
type NativeProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
14
|
+
type BaseTagProps = Omit<NativeProps, "onClick"> & {
|
|
8
15
|
/**
|
|
9
|
-
*
|
|
16
|
+
* Отображение кнопки в отмеченном (зажатом) состоянии
|
|
10
17
|
*/
|
|
11
|
-
|
|
18
|
+
checked?: boolean;
|
|
12
19
|
/**
|
|
13
|
-
*
|
|
20
|
+
* Размер компонента
|
|
21
|
+
*/
|
|
22
|
+
size?: "xxs" | "xs" | "s" | "m" | "l" | "xl";
|
|
23
|
+
/**
|
|
24
|
+
* Дочерние элементы.
|
|
14
25
|
*/
|
|
15
|
-
|
|
26
|
+
children?: ReactNode;
|
|
16
27
|
/**
|
|
17
|
-
*
|
|
28
|
+
* Дополнительный класс для обёртки children
|
|
18
29
|
*/
|
|
19
|
-
|
|
30
|
+
childrenClassName?: string;
|
|
20
31
|
/**
|
|
21
|
-
*
|
|
32
|
+
* Слот слева
|
|
22
33
|
*/
|
|
23
|
-
|
|
34
|
+
leftAddons?: ReactNode;
|
|
24
35
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* http://reactcommunity.org/react-transition-group/css-transition#CSSTransition-prop-classNames
|
|
36
|
+
* Слот справа
|
|
28
37
|
*/
|
|
29
|
-
|
|
38
|
+
rightAddons?: ReactNode;
|
|
30
39
|
/**
|
|
31
40
|
* Идентификатор для систем автоматизированного тестирования
|
|
32
41
|
*/
|
|
33
42
|
dataTestId?: string;
|
|
34
43
|
/**
|
|
35
|
-
*
|
|
44
|
+
* Обработчик нажатия
|
|
36
45
|
*/
|
|
37
|
-
|
|
46
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, payload: {
|
|
47
|
+
checked: boolean;
|
|
48
|
+
name?: string;
|
|
49
|
+
}) => void;
|
|
50
|
+
/**
|
|
51
|
+
* ref на children
|
|
52
|
+
*/
|
|
53
|
+
childrenRef?: RefObject<HTMLSpanElement>;
|
|
54
|
+
/**
|
|
55
|
+
* Набор цветов для компонента
|
|
56
|
+
*/
|
|
57
|
+
colors?: "default" | "inverted";
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated данный проп больше не используется, временно оставлен для обратной совместимости
|
|
60
|
+
* Используйте props shape и view
|
|
61
|
+
* Вариант тега
|
|
62
|
+
*/
|
|
63
|
+
variant?: "default" | "alt";
|
|
64
|
+
/**
|
|
65
|
+
* Форма тега
|
|
66
|
+
*/
|
|
67
|
+
shape?: "rounded" | "rectangular";
|
|
68
|
+
/**
|
|
69
|
+
* Стиль тега
|
|
70
|
+
*/
|
|
71
|
+
view?: "outlined" | "filled";
|
|
72
|
+
/**
|
|
73
|
+
* Основные стили компонента.
|
|
74
|
+
*/
|
|
75
|
+
styles?: {
|
|
76
|
+
[key: string]: string;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Стили компонента для default и inverted режима.
|
|
80
|
+
*/
|
|
81
|
+
colorStylesMap?: StyleColors;
|
|
38
82
|
};
|
|
39
|
-
declare const
|
|
40
|
-
|
|
83
|
+
declare const BaseTag: React.ForwardRefExoticComponent<Omit<NativeProps, "onClick"> & {
|
|
84
|
+
checked?: boolean | undefined;
|
|
85
|
+
size?: "s" | "xxs" | "xs" | "m" | "l" | "xl" | undefined;
|
|
86
|
+
children?: ReactNode;
|
|
87
|
+
childrenClassName?: string | undefined;
|
|
88
|
+
leftAddons?: ReactNode;
|
|
89
|
+
rightAddons?: ReactNode;
|
|
90
|
+
dataTestId?: string | undefined;
|
|
91
|
+
onClick?: ((event: React.MouseEvent<HTMLButtonElement, MouseEvent>, payload: {
|
|
92
|
+
checked: boolean;
|
|
93
|
+
name?: string;
|
|
94
|
+
}) => void) | undefined;
|
|
95
|
+
childrenRef?: React.RefObject<HTMLSpanElement> | undefined;
|
|
96
|
+
colors?: "default" | "inverted" | undefined;
|
|
97
|
+
variant?: "default" | "alt" | undefined;
|
|
98
|
+
shape?: "rounded" | "rectangular" | undefined;
|
|
99
|
+
view?: "outlined" | "filled" | undefined;
|
|
100
|
+
styles?: {
|
|
101
|
+
[key: string]: string;
|
|
102
|
+
} | undefined;
|
|
103
|
+
colorStylesMap?: StyleColors | undefined;
|
|
104
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
105
|
+
export { StyleColors, NativeProps, BaseTagProps, BaseTag };
|
|
@@ -1,40 +1,105 @@
|
|
|
1
|
-
/// <reference types="react-transition-group" />
|
|
2
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react-transition-group" />
|
|
3
3
|
import React from "react";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { ButtonHTMLAttributes, ReactNode, RefObject } from "react";
|
|
5
|
+
type StyleColors = {
|
|
6
|
+
default: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
inverted: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
type NativeProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
14
|
+
type BaseTagProps = Omit<NativeProps, "onClick"> & {
|
|
8
15
|
/**
|
|
9
|
-
*
|
|
16
|
+
* Отображение кнопки в отмеченном (зажатом) состоянии
|
|
10
17
|
*/
|
|
11
|
-
|
|
18
|
+
checked?: boolean;
|
|
12
19
|
/**
|
|
13
|
-
*
|
|
20
|
+
* Размер компонента
|
|
21
|
+
*/
|
|
22
|
+
size?: "xxs" | "xs" | "s" | "m" | "l" | "xl";
|
|
23
|
+
/**
|
|
24
|
+
* Дочерние элементы.
|
|
14
25
|
*/
|
|
15
|
-
|
|
26
|
+
children?: ReactNode;
|
|
16
27
|
/**
|
|
17
|
-
*
|
|
28
|
+
* Дополнительный класс для обёртки children
|
|
18
29
|
*/
|
|
19
|
-
|
|
30
|
+
childrenClassName?: string;
|
|
20
31
|
/**
|
|
21
|
-
*
|
|
32
|
+
* Слот слева
|
|
22
33
|
*/
|
|
23
|
-
|
|
34
|
+
leftAddons?: ReactNode;
|
|
24
35
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* http://reactcommunity.org/react-transition-group/css-transition#CSSTransition-prop-classNames
|
|
36
|
+
* Слот справа
|
|
28
37
|
*/
|
|
29
|
-
|
|
38
|
+
rightAddons?: ReactNode;
|
|
30
39
|
/**
|
|
31
40
|
* Идентификатор для систем автоматизированного тестирования
|
|
32
41
|
*/
|
|
33
42
|
dataTestId?: string;
|
|
34
43
|
/**
|
|
35
|
-
*
|
|
44
|
+
* Обработчик нажатия
|
|
36
45
|
*/
|
|
37
|
-
|
|
46
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, payload: {
|
|
47
|
+
checked: boolean;
|
|
48
|
+
name?: string;
|
|
49
|
+
}) => void;
|
|
50
|
+
/**
|
|
51
|
+
* ref на children
|
|
52
|
+
*/
|
|
53
|
+
childrenRef?: RefObject<HTMLSpanElement>;
|
|
54
|
+
/**
|
|
55
|
+
* Набор цветов для компонента
|
|
56
|
+
*/
|
|
57
|
+
colors?: "default" | "inverted";
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated данный проп больше не используется, временно оставлен для обратной совместимости
|
|
60
|
+
* Используйте props shape и view
|
|
61
|
+
* Вариант тега
|
|
62
|
+
*/
|
|
63
|
+
variant?: "default" | "alt";
|
|
64
|
+
/**
|
|
65
|
+
* Форма тега
|
|
66
|
+
*/
|
|
67
|
+
shape?: "rounded" | "rectangular";
|
|
68
|
+
/**
|
|
69
|
+
* Стиль тега
|
|
70
|
+
*/
|
|
71
|
+
view?: "outlined" | "filled";
|
|
72
|
+
/**
|
|
73
|
+
* Основные стили компонента.
|
|
74
|
+
*/
|
|
75
|
+
styles?: {
|
|
76
|
+
[key: string]: string;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Стили компонента для default и inverted режима.
|
|
80
|
+
*/
|
|
81
|
+
colorStylesMap?: StyleColors;
|
|
38
82
|
};
|
|
39
|
-
declare const
|
|
40
|
-
|
|
83
|
+
declare const BaseTag: React.ForwardRefExoticComponent<Omit<NativeProps, "onClick"> & {
|
|
84
|
+
checked?: boolean | undefined;
|
|
85
|
+
size?: "s" | "xxs" | "xs" | "m" | "l" | "xl" | undefined;
|
|
86
|
+
children?: ReactNode;
|
|
87
|
+
childrenClassName?: string | undefined;
|
|
88
|
+
leftAddons?: ReactNode;
|
|
89
|
+
rightAddons?: ReactNode;
|
|
90
|
+
dataTestId?: string | undefined;
|
|
91
|
+
onClick?: ((event: React.MouseEvent<HTMLButtonElement, MouseEvent>, payload: {
|
|
92
|
+
checked: boolean;
|
|
93
|
+
name?: string;
|
|
94
|
+
}) => void) | undefined;
|
|
95
|
+
childrenRef?: React.RefObject<HTMLSpanElement> | undefined;
|
|
96
|
+
colors?: "default" | "inverted" | undefined;
|
|
97
|
+
variant?: "default" | "alt" | undefined;
|
|
98
|
+
shape?: "rounded" | "rectangular" | undefined;
|
|
99
|
+
view?: "outlined" | "filled" | undefined;
|
|
100
|
+
styles?: {
|
|
101
|
+
[key: string]: string;
|
|
102
|
+
} | undefined;
|
|
103
|
+
colorStylesMap?: StyleColors | undefined;
|
|
104
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
105
|
+
export { StyleColors, NativeProps, BaseTagProps, BaseTag };
|
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
background: #e7e8ea;
|
|
3
3
|
} .card-image__loaded_57q9o {
|
|
4
4
|
background: transparent
|
|
5
|
+
}.backdrop__backdrop_1rsma {
|
|
6
|
+
-webkit-tap-highlight-color: transparent;
|
|
7
|
+
} .backdrop__appear_1rsma,
|
|
8
|
+
.backdrop__enter_1rsma {
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
} .backdrop__appearActive_1rsma,
|
|
11
|
+
.backdrop__enterActive_1rsma,
|
|
12
|
+
.backdrop__appearDone_1rsma,
|
|
13
|
+
.backdrop__enterDone_1rsma {
|
|
14
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
15
|
+
} .backdrop__exit_1rsma {
|
|
16
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
17
|
+
} .backdrop__exitActive_1rsma,
|
|
18
|
+
.backdrop__exitDone_1rsma {
|
|
19
|
+
background-color: transparent;
|
|
5
20
|
}.badge__component_e7tmj.badge__background-accent_e7tmj {
|
|
6
21
|
background-color: #ef3124;
|
|
7
22
|
color: #fff;
|
|
@@ -62,23 +77,6 @@
|
|
|
62
77
|
background-color: #fff;
|
|
63
78
|
} .badge__dot_e7tmj.badge__outlineCount_e7tmj {
|
|
64
79
|
border: 1px solid #121212;
|
|
65
|
-
}.backdrop__backdrop_1rsma {
|
|
66
|
-
-webkit-tap-highlight-color: transparent;
|
|
67
|
-
} .backdrop__appear_1rsma,
|
|
68
|
-
.backdrop__enter_1rsma {
|
|
69
|
-
background-color: transparent;
|
|
70
|
-
} .backdrop__appearActive_1rsma,
|
|
71
|
-
.backdrop__enterActive_1rsma,
|
|
72
|
-
.backdrop__appearDone_1rsma,
|
|
73
|
-
.backdrop__enterDone_1rsma {
|
|
74
|
-
background-color: rgba(0, 0, 0, 0.8);
|
|
75
|
-
} .backdrop__exit_1rsma {
|
|
76
|
-
background-color: rgba(0, 0, 0, 0.8);
|
|
77
|
-
} .backdrop__exitActive_1rsma,
|
|
78
|
-
.backdrop__exitDone_1rsma {
|
|
79
|
-
background-color: transparent;
|
|
80
|
-
}.divider__component_1d6xd {
|
|
81
|
-
border-bottom: 1px solid #2b2b2e;
|
|
82
80
|
}.checkbox__box_sfr01 {
|
|
83
81
|
color: #0e0e0e;
|
|
84
82
|
background-color: #0e0e0e;
|
|
@@ -143,6 +141,8 @@
|
|
|
143
141
|
} .checkbox__indeterminateLine_sfr01 {
|
|
144
142
|
background-color: #0e0e0e;
|
|
145
143
|
} @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
144
|
+
}.divider__component_1d6xd {
|
|
145
|
+
border-bottom: 1px solid #2b2b2e;
|
|
146
146
|
}.dropzone__component_v063l {
|
|
147
147
|
border: 1px dashed #c5c5c7;
|
|
148
148
|
} .dropzone__component_v063l:not(.dropzone__disabled_v063l):hover {
|
|
@@ -189,7 +189,25 @@
|
|
|
189
189
|
}
|
|
190
190
|
.hatching-progress-bar__accent_pur5b {
|
|
191
191
|
background: #ef3124;
|
|
192
|
-
}
|
|
192
|
+
}.indicator__component_2u6ai {
|
|
193
|
+
color: #fff;
|
|
194
|
+
background-color: #ef3124;
|
|
195
|
+
} .indicator__red_2u6ai {
|
|
196
|
+
background-color: #ef3124;
|
|
197
|
+
color: #fff
|
|
198
|
+
} .indicator__red_2u6ai.indicator__border_2u6ai {
|
|
199
|
+
outline: 2px solid #000;
|
|
200
|
+
} .indicator__white_2u6ai {
|
|
201
|
+
background-color: #121212;
|
|
202
|
+
color: #fff
|
|
203
|
+
} .indicator__white_2u6ai.indicator__border_2u6ai {
|
|
204
|
+
outline: 2px solid #000;
|
|
205
|
+
} .indicator__grey_2u6ai {
|
|
206
|
+
background-color: rgba(255, 255, 255, 0.06);
|
|
207
|
+
color: #fff
|
|
208
|
+
} .indicator__grey_2u6ai.indicator__border_2u6ai {
|
|
209
|
+
outline: 2px solid #000;
|
|
210
|
+
}@media (max-width: 599px) {
|
|
193
211
|
}
|
|
194
212
|
@media (min-width: 320px) {
|
|
195
213
|
}
|
|
@@ -249,25 +267,7 @@
|
|
|
249
267
|
stroke: rgba(255, 255, 255, 0.1);
|
|
250
268
|
fill: transparent;
|
|
251
269
|
} .icon-view__children_1fhon {
|
|
252
|
-
}
|
|
253
|
-
color: #fff;
|
|
254
|
-
background-color: #ef3124;
|
|
255
|
-
} .indicator__red_2u6ai {
|
|
256
|
-
background-color: #ef3124;
|
|
257
|
-
color: #fff
|
|
258
|
-
} .indicator__red_2u6ai.indicator__border_2u6ai {
|
|
259
|
-
outline: 2px solid #000;
|
|
260
|
-
} .indicator__white_2u6ai {
|
|
261
|
-
background-color: #121212;
|
|
262
|
-
color: #fff
|
|
263
|
-
} .indicator__white_2u6ai.indicator__border_2u6ai {
|
|
264
|
-
outline: 2px solid #000;
|
|
265
|
-
} .indicator__grey_2u6ai {
|
|
266
|
-
background-color: rgba(255, 255, 255, 0.06);
|
|
267
|
-
color: #fff
|
|
268
|
-
} .indicator__grey_2u6ai.indicator__border_2u6ai {
|
|
269
|
-
outline: 2px solid #000;
|
|
270
|
-
}@keyframes loader__blink_1q9w6 {
|
|
270
|
+
}@keyframes loader__blink_1q9w6 {
|
|
271
271
|
}.link__primary_1lbzd {
|
|
272
272
|
color: #fff;
|
|
273
273
|
border-bottom-color: #fff
|
|
@@ -454,7 +454,14 @@
|
|
|
454
454
|
background: #ef3124;
|
|
455
455
|
} .slider__component_163oc .noUi-pips {
|
|
456
456
|
color: rgba(235, 235, 245, 0.54);
|
|
457
|
-
}.
|
|
457
|
+
}.spinner__component_eogru {
|
|
458
|
+
color: #fff;
|
|
459
|
+
}
|
|
460
|
+
@keyframes spinner__spin_animation_1mhwf {
|
|
461
|
+
}
|
|
462
|
+
.spinner__component_slf61 {
|
|
463
|
+
color: #0e0e0e;
|
|
464
|
+
}.status__soft_10xqa.status__green_10xqa {
|
|
458
465
|
background: rgba(19, 164, 99, 0.1);
|
|
459
466
|
color: #13a463;
|
|
460
467
|
} .status__soft_10xqa.status__orange_10xqa {
|
|
@@ -491,14 +498,7 @@
|
|
|
491
498
|
background: #219187;
|
|
492
499
|
} .status__contrast_10xqa.status__purple_10xqa {
|
|
493
500
|
background: #673ab7;
|
|
494
|
-
}.
|
|
495
|
-
color: #fff;
|
|
496
|
-
}
|
|
497
|
-
@keyframes spinner__spin_animation_1mhwf {
|
|
498
|
-
}
|
|
499
|
-
.spinner__component_slf61 {
|
|
500
|
-
color: #0e0e0e;
|
|
501
|
-
}.switch__component_1u5ir {
|
|
501
|
+
}.switch__component_1u5ir {
|
|
502
502
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
503
503
|
} .switch__switch_1u5ir {
|
|
504
504
|
background-color: #85858d;
|