@alfalab/core-components 47.0.0-beta.1 → 47.0.0-beta.2
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/base-modal/Component.js +2 -1
- package/base-modal/cssm/Component.js +2 -1
- package/base-modal/esm/Component.js +2 -1
- package/base-modal/esm/index.js +1 -0
- package/base-modal/modern/Component.js +2 -1
- package/base-modal/modern/index.js +1 -0
- package/calendar-range/utils.js +3 -1
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- 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-preview/Component.js +1 -1
- package/gallery/esm/components/image-preview/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/components/navigation-bar/Component.js +1 -1
- package/gallery/esm/components/navigation-bar/index.js +1 -1
- package/gallery/esm/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-preview/Component.js +1 -1
- package/gallery/modern/components/image-preview/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/components/navigation-bar/Component.js +1 -1
- package/gallery/modern/components/navigation-bar/index.js +1 -1
- package/gallery/modern/index.js +2 -2
- package/icon-button/Component.d.ts +10 -0
- package/icon-button/Component.js +4 -3
- package/icon-button/cssm/Component.d.ts +10 -0
- package/icon-button/cssm/Component.js +2 -1
- package/icon-button/cssm/default.module.css +35 -3
- package/icon-button/cssm/inverted.module.css +35 -3
- package/icon-button/default.css +35 -3
- package/icon-button/esm/Component.d.ts +10 -0
- package/icon-button/esm/Component.js +4 -3
- package/icon-button/esm/default.css +35 -3
- package/icon-button/esm/inverted.css +35 -3
- package/icon-button/inverted.css +35 -3
- package/icon-button/modern/Component.d.ts +10 -0
- package/icon-button/modern/Component.js +4 -3
- package/icon-button/modern/default.css +35 -3
- package/icon-button/modern/inverted.css +35 -3
- package/input/components/base-input/Component.d.ts +2 -2
- package/input/cssm/components/base-input/Component.d.ts +2 -2
- package/input/esm/components/base-input/Component.d.ts +2 -2
- package/input/modern/components/base-input/Component.d.ts +2 -2
- package/international-phone-input/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/Component.responsive.d.ts +4 -4
- package/international-phone-input/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/cssm/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/cssm/Component.responsive.d.ts +4 -4
- package/international-phone-input/cssm/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/cssm/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/cssm/types.d.ts +1 -1
- package/international-phone-input/cssm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/cssm/utils-89376c31.d.ts +1 -1
- package/international-phone-input/esm/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/esm/Component.responsive.d.ts +4 -4
- package/international-phone-input/esm/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/esm/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/esm/types.d.ts +1 -1
- package/international-phone-input/esm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/esm/utils-89376c31.d.ts +1 -1
- package/international-phone-input/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/modern/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/modern/Component.responsive.d.ts +4 -4
- package/international-phone-input/modern/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/modern/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/modern/types.d.ts +1 -1
- package/international-phone-input/modern/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/modern/utils-89376c31.d.ts +1 -1
- package/international-phone-input/types.d.ts +1 -1
- package/international-phone-input/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/utils-89376c31.d.ts +1 -1
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/notification/Component.js +2 -1
- package/notification/cssm/Component.js +2 -1
- package/notification/esm/Component.js +2 -1
- package/notification/esm/index.js +1 -0
- package/notification/modern/Component.js +2 -1
- package/notification/modern/index.js +1 -0
- package/notification-manager/component.js +2 -1
- package/notification-manager/cssm/component.js +2 -1
- package/notification-manager/esm/component.js +2 -1
- package/notification-manager/esm/index.js +1 -0
- package/notification-manager/modern/component.js +2 -1
- package/notification-manager/modern/index.js +1 -0
- package/package.json +2 -1
- package/picker-button/Component-0f35b62f.d.ts +5 -0
- package/picker-button/Component-c44170fe.d.ts +2 -2
- package/picker-button/cssm/Component-0f35b62f.d.ts +5 -0
- package/picker-button/cssm/Component-c44170fe.d.ts +2 -2
- package/picker-button/cssm/field/Component.d.ts +1 -1
- package/picker-button/cssm/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/cssm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/cssm/utils-89376c31.d.ts +1 -1
- package/picker-button/esm/Component-0f35b62f.d.ts +5 -0
- package/picker-button/esm/Component-c44170fe.d.ts +2 -2
- package/picker-button/esm/field/Component.d.ts +1 -1
- package/picker-button/esm/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/esm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/esm/utils-89376c31.d.ts +1 -1
- package/picker-button/field/Component.d.ts +1 -1
- package/picker-button/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/modern/Component-0f35b62f.d.ts +5 -0
- package/picker-button/modern/Component-c44170fe.d.ts +2 -2
- package/picker-button/modern/field/Component.d.ts +1 -1
- package/picker-button/modern/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/modern/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/modern/utils-89376c31.d.ts +1 -1
- package/picker-button/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/utils-89376c31.d.ts +1 -1
- package/popover/Component.js +2 -1
- package/popover/cssm/Component.js +2 -1
- package/popover/esm/Component.js +2 -1
- package/popover/esm/index.js +1 -0
- package/popover/modern/Component.js +2 -1
- package/popover/modern/index.js +1 -0
- package/select/components/base-select/Component.js +2 -2
- package/select/components/options-list/Component.js +2 -2
- package/select/components/virtual-options-list/Component.js +4 -2
- package/select/cssm/components/base-select/Component.js +2 -2
- package/select/cssm/components/options-list/Component.js +2 -2
- package/select/cssm/components/virtual-options-list/Component.js +4 -2
- package/select/cssm/typings.d.ts +32 -0
- package/select/esm/components/base-select/Component.js +2 -2
- package/select/esm/components/options-list/Component.js +2 -2
- package/select/esm/components/virtual-options-list/Component.js +4 -2
- package/select/esm/typings.d.ts +32 -0
- package/select/modern/components/base-select/Component.js +2 -2
- package/select/modern/components/options-list/Component.js +2 -2
- package/select/modern/components/virtual-options-list/Component.js +2 -2
- package/select/modern/typings.d.ts +32 -0
- package/select/typings.d.ts +32 -0
- package/stack/component.js +4 -4
- package/stack/cssm/component.js +4 -4
- package/stack/cssm/index.d.ts +0 -1
- package/stack/cssm/index.js +0 -3
- package/stack/esm/component.js +1 -1
- package/stack/esm/index.d.ts +0 -1
- package/stack/esm/index.js +1 -1
- package/stack/index.d.ts +0 -1
- package/stack/index.js +0 -3
- package/stack/modern/component.js +1 -1
- package/stack/modern/index.d.ts +0 -1
- package/stack/modern/index.js +1 -1
- package/status/Component.d.ts +2 -1
- package/status/Component.js +2 -2
- package/status/cssm/Component.d.ts +2 -1
- package/status/cssm/Component.js +1 -1
- package/status/cssm/index.module.css +74 -29
- package/status/esm/Component.d.ts +2 -1
- package/status/esm/Component.js +2 -2
- package/status/esm/index.css +55 -27
- package/status/index.css +55 -27
- package/status/modern/Component.d.ts +2 -1
- package/status/modern/Component.js +2 -2
- package/status/modern/index.css +55 -27
- package/themes/click.css +0 -1516
- package/themes/compiled/mobile-dark-bluetint.css +210 -50
- package/themes/corp.css +0 -1516
- package/themes/intranet.css +0 -1516
- package/themes/mobile.css +0 -1516
- package/themes/site.css +0 -1516
- package/toast/components/base-toast/component.js +2 -1
- package/toast/cssm/components/base-toast/component.js +2 -1
- package/toast/esm/Component.responsive.js +1 -0
- package/toast/esm/components/base-toast/component.js +2 -1
- package/toast/esm/components/base-toast/index.js +1 -0
- package/toast/esm/desktop/Component.desktop.js +1 -0
- package/toast/esm/desktop/index.js +1 -0
- package/toast/esm/index.js +1 -0
- package/toast/esm/mobile/Component.mobile.js +1 -0
- package/toast/esm/mobile/index.js +1 -0
- package/toast/modern/Component.responsive.js +1 -0
- package/toast/modern/components/base-toast/component.js +2 -1
- package/toast/modern/components/base-toast/index.js +1 -0
- package/toast/modern/desktop/Component.desktop.js +1 -0
- package/toast/modern/desktop/index.js +1 -0
- package/toast/modern/index.js +1 -0
- package/toast/modern/mobile/Component.mobile.js +1 -0
- package/toast/modern/mobile/index.js +1 -0
- package/toast-plate/components/base-toast-plate/component.js +1 -1
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/Component.responsive.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/component.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/index.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/desktop/Component.desktop.js +1 -1
- package/toast-plate/esm/desktop/index.js +1 -1
- package/toast-plate/esm/index-307da6d7.d.ts +1 -1
- package/toast-plate/esm/index.js +1 -1
- package/toast-plate/esm/mobile/Component.mobile.js +1 -1
- package/toast-plate/esm/mobile/index.js +1 -1
- package/toast-plate/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/Component.responsive.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/component.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/index.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/modern/desktop/Component.desktop.js +1 -1
- package/toast-plate/modern/desktop/index.js +1 -1
- package/toast-plate/modern/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/index.js +1 -1
- package/toast-plate/modern/mobile/Component.mobile.js +1 -1
- package/toast-plate/modern/mobile/index.js +1 -1
- package/universal-date-input/cssm/index-5712fce2.d.ts +1 -13
- package/universal-date-input/esm/index-5712fce2.d.ts +1 -13
- package/universal-date-input/index-5712fce2.d.ts +1 -13
- package/universal-date-input/modern/index-5712fce2.d.ts +1 -13
- package/international-phone-input/cssm/index-136acbb1.d.ts +0 -28
- package/international-phone-input/esm/index-136acbb1.d.ts +0 -28
- package/international-phone-input/index-136acbb1.d.ts +0 -28
- package/international-phone-input/modern/index-136acbb1.d.ts +0 -28
- package/picker-button/Component-1fe708ea.d.ts +0 -5
- package/picker-button/cssm/Component-1fe708ea.d.ts +0 -5
- package/picker-button/esm/Component-1fe708ea.d.ts +0 -5
- package/picker-button/modern/Component-1fe708ea.d.ts +0 -5
- package/stack/context.d.ts +0 -29
- package/stack/context.js +0 -34
- package/stack/cssm/context.d.ts +0 -29
- package/stack/cssm/context.js +0 -34
- package/stack/esm/context.d.ts +0 -29
- package/stack/esm/context.js +0 -31
- package/stack/modern/context.d.ts +0 -29
- package/stack/modern/context.js +0 -31
- /package/gallery/{buttons-36b3ca68.d.ts → buttons-2c587253.d.ts} +0 -0
- /package/gallery/{buttons-36b3ca68.js → buttons-2c587253.js} +0 -0
- /package/gallery/esm/{buttons-49e609ab.d.ts → buttons-fb317559.d.ts} +0 -0
- /package/gallery/esm/{buttons-49e609ab.js → buttons-fb317559.js} +0 -0
- /package/gallery/esm/{slide-01af06f1.d.ts → slide-cb44c8ba.d.ts} +0 -0
- /package/gallery/esm/{slide-01af06f1.js → slide-cb44c8ba.js} +0 -0
- /package/gallery/modern/{buttons-9e01c41d.d.ts → buttons-0d4c9cc6.d.ts} +0 -0
- /package/gallery/modern/{buttons-9e01c41d.js → buttons-0d4c9cc6.js} +0 -0
- /package/gallery/modern/{slide-0932c021.d.ts → slide-3771e01f.d.ts} +0 -0
- /package/gallery/modern/{slide-0932c021.js → slide-3771e01f.js} +0 -0
- /package/gallery/{slide-cbb98cfd.d.ts → slide-a4b1c89f.d.ts} +0 -0
- /package/gallery/{slide-cbb98cfd.js → slide-a4b1c89f.js} +0 -0
- /package/modal/esm/{layout.module-8f4bb5c4.js → layout.module-5977466c.js} +0 -0
- /package/modal/{layout.module-dd4e6f62.js → layout.module-74b07012.js} +0 -0
- /package/modal/modern/{layout.module-6bc66458.js → layout.module-565c309a.js} +0 -0
- /package/toast-plate/esm/{getDataTestId-1e8085ca.d.ts → getDataTestId-32922464.d.ts} +0 -0
- /package/toast-plate/esm/{getDataTestId-1e8085ca.js → getDataTestId-32922464.js} +0 -0
- /package/toast-plate/{getDataTestId-4ff6c5ff.d.ts → getDataTestId-64de4ccf.d.ts} +0 -0
- /package/toast-plate/{getDataTestId-4ff6c5ff.js → getDataTestId-64de4ccf.js} +0 -0
- /package/toast-plate/modern/{getDataTestId-11ebf806.d.ts → getDataTestId-4d724a67.d.ts} +0 -0
- /package/toast-plate/modern/{getDataTestId-11ebf806.js → getDataTestId-4d724a67.js} +0 -0
|
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
7
7
|
clearableCountryCode?: boolean | undefined;
|
|
8
8
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
9
9
|
clear?: boolean | undefined;
|
|
10
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
10
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
11
11
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
12
12
|
onChange?: ((phone: string) => void) | undefined;
|
|
13
13
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -26,15 +26,15 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
26
26
|
clearableCountryCode?: boolean | undefined;
|
|
27
27
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
28
28
|
clear?: boolean | undefined;
|
|
29
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
29
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
30
30
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
31
31
|
onChange?: ((phone: string) => void) | undefined;
|
|
32
32
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
33
33
|
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
34
34
|
} & {
|
|
35
|
-
options: (import("./typings-
|
|
35
|
+
options: (import("./typings-0f35b62f").OptionShape | import("./typings-0f35b62f").GroupShape)[];
|
|
36
36
|
} & Omit<import("../input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
|
|
37
|
-
options: (import("./typings-
|
|
37
|
+
options: (import("./typings-0f35b62f").OptionShape | import("./typings-0f35b62f").GroupShape)[];
|
|
38
38
|
} & Omit<import("../input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
|
|
39
39
|
breakpoint?: number | undefined;
|
|
40
40
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
9
9
|
clearableCountryCode?: boolean | undefined;
|
|
10
10
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
11
11
|
clear?: boolean | undefined;
|
|
12
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
12
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
13
13
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
14
14
|
onChange?: ((phone: string) => void) | undefined;
|
|
15
15
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptgroupProps } from "./typings-
|
|
3
|
+
import { OptgroupProps } from "./typings-0f35b62f";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
|
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
7
7
|
clearableCountryCode?: boolean | undefined;
|
|
8
8
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
9
9
|
clear?: boolean | undefined;
|
|
10
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
10
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
11
11
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
12
12
|
onChange?: ((phone: string) => void) | undefined;
|
|
13
13
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -26,15 +26,15 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
26
26
|
clearableCountryCode?: boolean | undefined;
|
|
27
27
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
28
28
|
clear?: boolean | undefined;
|
|
29
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
29
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
30
30
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
31
31
|
onChange?: ((phone: string) => void) | undefined;
|
|
32
32
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
33
33
|
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
34
34
|
} & {
|
|
35
|
-
options: (import("./typings-
|
|
35
|
+
options: (import("./typings-0f35b62f").OptionShape | import("./typings-0f35b62f").GroupShape)[];
|
|
36
36
|
} & Omit<import("../../input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
|
|
37
|
-
options: (import("./typings-
|
|
37
|
+
options: (import("./typings-0f35b62f").OptionShape | import("./typings-0f35b62f").GroupShape)[];
|
|
38
38
|
} & Omit<import("../../input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
|
|
39
39
|
breakpoint?: number | undefined;
|
|
40
40
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
package/international-phone-input/cssm/components/base-international-phone-input/Component.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
9
9
|
clearableCountryCode?: boolean | undefined;
|
|
10
10
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
11
11
|
clear?: boolean | undefined;
|
|
12
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
12
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
13
13
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
14
14
|
onChange?: ((phone: string) => void) | undefined;
|
|
15
15
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
type StackProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Render prop, в который передается функция.
|
|
5
|
+
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
6
|
+
*/
|
|
7
|
+
children: (value: number) => ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Исходное значение для z-index.
|
|
10
|
+
* @default 5
|
|
11
|
+
*/
|
|
12
|
+
value?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const Stack: FC<StackProps>;
|
|
15
|
+
export { StackProps, Stack };
|
|
@@ -5,7 +5,7 @@ import { InputMobileProps } from "../../input/mobile";
|
|
|
5
5
|
import { InputAutocompleteProps } from "../../input-autocomplete";
|
|
6
6
|
import { InputAutocompleteDesktopProps } from "../../input-autocomplete/desktop";
|
|
7
7
|
import { InputAutocompleteMobileProps } from "../../input-autocomplete/mobile";
|
|
8
|
-
import { OptionShape } from "./typings-
|
|
8
|
+
import { OptionShape } from "./typings-0f35b62f";
|
|
9
9
|
import { SharedCountrySelectProps } from "./components/country-select/index";
|
|
10
10
|
type Country = {
|
|
11
11
|
name: string;
|
|
@@ -872,6 +872,11 @@ type IconButtonProps = {
|
|
|
872
872
|
* Дополнительный класс
|
|
873
873
|
*/
|
|
874
874
|
className?: string;
|
|
875
|
+
/**
|
|
876
|
+
* Включает прозрачный фон
|
|
877
|
+
* @default false
|
|
878
|
+
*/
|
|
879
|
+
transparentBg?: boolean;
|
|
875
880
|
/**
|
|
876
881
|
* Выравнивание иконки
|
|
877
882
|
* @default 'center'
|
|
@@ -893,6 +898,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
893
898
|
view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
|
|
894
899
|
size?: "s" | "xs" | 48 | 56 | 24 | 32 | 40 | "xxs" | undefined;
|
|
895
900
|
className?: string | undefined;
|
|
901
|
+
transparentBg?: boolean | undefined;
|
|
896
902
|
alignIcon?: "center" | "right" | "left" | undefined;
|
|
897
903
|
dataTestId?: string | undefined;
|
|
898
904
|
colors?: "default" | "inverted" | undefined;
|
|
@@ -1419,6 +1425,18 @@ type OptionsListProps = {
|
|
|
1419
1425
|
* Указать индекс пункта для hover состояния
|
|
1420
1426
|
*/
|
|
1421
1427
|
setHighlightedIndex?: (index: number) => void;
|
|
1428
|
+
/**
|
|
1429
|
+
* Обработчик добавления в список выбранных вариантов
|
|
1430
|
+
*/
|
|
1431
|
+
addSelectedItem?: (item: OptionShape) => void;
|
|
1432
|
+
/**
|
|
1433
|
+
* Обработчик удаления из списка выбранных вариантов
|
|
1434
|
+
*/
|
|
1435
|
+
removeSelectedItem?: (item: OptionShape) => void;
|
|
1436
|
+
/**
|
|
1437
|
+
* Значение поиска
|
|
1438
|
+
*/
|
|
1439
|
+
search?: string;
|
|
1422
1440
|
};
|
|
1423
1441
|
type OptgroupProps = {
|
|
1424
1442
|
/**
|
|
@@ -1438,6 +1456,26 @@ type OptgroupProps = {
|
|
|
1438
1456
|
* Дочерние элементы
|
|
1439
1457
|
*/
|
|
1440
1458
|
children?: ReactNode;
|
|
1459
|
+
/**
|
|
1460
|
+
* Список вариантов выбора в группе
|
|
1461
|
+
*/
|
|
1462
|
+
options?: OptionShape[];
|
|
1463
|
+
/**
|
|
1464
|
+
* Список выбранных вариантов в группе
|
|
1465
|
+
*/
|
|
1466
|
+
selectedItems?: OptionShape[];
|
|
1467
|
+
/**
|
|
1468
|
+
* Обработчик добавления в список выбранных вариантов
|
|
1469
|
+
*/
|
|
1470
|
+
addSelectedItem?: (item: OptionShape) => void;
|
|
1471
|
+
/**
|
|
1472
|
+
* Обработчик удаления из списка выбранных вариантов
|
|
1473
|
+
*/
|
|
1474
|
+
removeSelectedItem?: (item: OptionShape) => void;
|
|
1475
|
+
/**
|
|
1476
|
+
* Значение поиска
|
|
1477
|
+
*/
|
|
1478
|
+
search?: string;
|
|
1441
1479
|
};
|
|
1442
1480
|
type OptionProps = {
|
|
1443
1481
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-0f35b62f";
|
|
3
3
|
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
4
|
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
5
|
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptgroupProps } from "./typings-
|
|
3
|
+
import { OptgroupProps } from "./typings-0f35b62f";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
|
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
7
7
|
clearableCountryCode?: boolean | undefined;
|
|
8
8
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
9
9
|
clear?: boolean | undefined;
|
|
10
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
10
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
11
11
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
12
12
|
onChange?: ((phone: string) => void) | undefined;
|
|
13
13
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -26,15 +26,15 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
26
26
|
clearableCountryCode?: boolean | undefined;
|
|
27
27
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
28
28
|
clear?: boolean | undefined;
|
|
29
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
29
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
30
30
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
31
31
|
onChange?: ((phone: string) => void) | undefined;
|
|
32
32
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
33
33
|
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
34
34
|
} & {
|
|
35
|
-
options: (import("./typings-
|
|
35
|
+
options: (import("./typings-0f35b62f").OptionShape | import("./typings-0f35b62f").GroupShape)[];
|
|
36
36
|
} & Omit<import("../../input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
|
|
37
|
-
options: (import("./typings-
|
|
37
|
+
options: (import("./typings-0f35b62f").OptionShape | import("./typings-0f35b62f").GroupShape)[];
|
|
38
38
|
} & Omit<import("../../input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
|
|
39
39
|
breakpoint?: number | undefined;
|
|
40
40
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
package/international-phone-input/esm/components/base-international-phone-input/Component.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
9
9
|
clearableCountryCode?: boolean | undefined;
|
|
10
10
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
11
11
|
clear?: boolean | undefined;
|
|
12
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
12
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
13
13
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
14
14
|
onChange?: ((phone: string) => void) | undefined;
|
|
15
15
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
type StackProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Render prop, в который передается функция.
|
|
5
|
+
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
6
|
+
*/
|
|
7
|
+
children: (value: number) => ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Исходное значение для z-index.
|
|
10
|
+
* @default 5
|
|
11
|
+
*/
|
|
12
|
+
value?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const Stack: FC<StackProps>;
|
|
15
|
+
export { StackProps, Stack };
|
|
@@ -5,7 +5,7 @@ import { InputMobileProps } from "../../input/mobile";
|
|
|
5
5
|
import { InputAutocompleteProps } from "../../input-autocomplete";
|
|
6
6
|
import { InputAutocompleteDesktopProps } from "../../input-autocomplete/desktop";
|
|
7
7
|
import { InputAutocompleteMobileProps } from "../../input-autocomplete/mobile";
|
|
8
|
-
import { OptionShape } from "./typings-
|
|
8
|
+
import { OptionShape } from "./typings-0f35b62f";
|
|
9
9
|
import { SharedCountrySelectProps } from "./components/country-select/index";
|
|
10
10
|
type Country = {
|
|
11
11
|
name: string;
|
|
@@ -872,6 +872,11 @@ type IconButtonProps = {
|
|
|
872
872
|
* Дополнительный класс
|
|
873
873
|
*/
|
|
874
874
|
className?: string;
|
|
875
|
+
/**
|
|
876
|
+
* Включает прозрачный фон
|
|
877
|
+
* @default false
|
|
878
|
+
*/
|
|
879
|
+
transparentBg?: boolean;
|
|
875
880
|
/**
|
|
876
881
|
* Выравнивание иконки
|
|
877
882
|
* @default 'center'
|
|
@@ -893,6 +898,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
893
898
|
view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
|
|
894
899
|
size?: "s" | "xs" | 48 | 56 | 24 | 32 | 40 | "xxs" | undefined;
|
|
895
900
|
className?: string | undefined;
|
|
901
|
+
transparentBg?: boolean | undefined;
|
|
896
902
|
alignIcon?: "center" | "right" | "left" | undefined;
|
|
897
903
|
dataTestId?: string | undefined;
|
|
898
904
|
colors?: "default" | "inverted" | undefined;
|
|
@@ -1419,6 +1425,18 @@ type OptionsListProps = {
|
|
|
1419
1425
|
* Указать индекс пункта для hover состояния
|
|
1420
1426
|
*/
|
|
1421
1427
|
setHighlightedIndex?: (index: number) => void;
|
|
1428
|
+
/**
|
|
1429
|
+
* Обработчик добавления в список выбранных вариантов
|
|
1430
|
+
*/
|
|
1431
|
+
addSelectedItem?: (item: OptionShape) => void;
|
|
1432
|
+
/**
|
|
1433
|
+
* Обработчик удаления из списка выбранных вариантов
|
|
1434
|
+
*/
|
|
1435
|
+
removeSelectedItem?: (item: OptionShape) => void;
|
|
1436
|
+
/**
|
|
1437
|
+
* Значение поиска
|
|
1438
|
+
*/
|
|
1439
|
+
search?: string;
|
|
1422
1440
|
};
|
|
1423
1441
|
type OptgroupProps = {
|
|
1424
1442
|
/**
|
|
@@ -1438,6 +1456,26 @@ type OptgroupProps = {
|
|
|
1438
1456
|
* Дочерние элементы
|
|
1439
1457
|
*/
|
|
1440
1458
|
children?: ReactNode;
|
|
1459
|
+
/**
|
|
1460
|
+
* Список вариантов выбора в группе
|
|
1461
|
+
*/
|
|
1462
|
+
options?: OptionShape[];
|
|
1463
|
+
/**
|
|
1464
|
+
* Список выбранных вариантов в группе
|
|
1465
|
+
*/
|
|
1466
|
+
selectedItems?: OptionShape[];
|
|
1467
|
+
/**
|
|
1468
|
+
* Обработчик добавления в список выбранных вариантов
|
|
1469
|
+
*/
|
|
1470
|
+
addSelectedItem?: (item: OptionShape) => void;
|
|
1471
|
+
/**
|
|
1472
|
+
* Обработчик удаления из списка выбранных вариантов
|
|
1473
|
+
*/
|
|
1474
|
+
removeSelectedItem?: (item: OptionShape) => void;
|
|
1475
|
+
/**
|
|
1476
|
+
* Значение поиска
|
|
1477
|
+
*/
|
|
1478
|
+
search?: string;
|
|
1441
1479
|
};
|
|
1442
1480
|
type OptionProps = {
|
|
1443
1481
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-0f35b62f";
|
|
3
3
|
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
4
|
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
5
|
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
type StackProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Render prop, в который передается функция.
|
|
5
|
+
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
6
|
+
*/
|
|
7
|
+
children: (value: number) => ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Исходное значение для z-index.
|
|
10
|
+
* @default 5
|
|
11
|
+
*/
|
|
12
|
+
value?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const Stack: FC<StackProps>;
|
|
15
|
+
export { StackProps, Stack };
|
package/international-phone-input/modern/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptgroupProps } from "./typings-
|
|
3
|
+
import { OptgroupProps } from "./typings-0f35b62f";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
|
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
7
7
|
clearableCountryCode?: boolean | undefined;
|
|
8
8
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
9
9
|
clear?: boolean | undefined;
|
|
10
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
10
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
11
11
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
12
12
|
onChange?: ((phone: string) => void) | undefined;
|
|
13
13
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -26,15 +26,15 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
26
26
|
clearableCountryCode?: boolean | undefined;
|
|
27
27
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
28
28
|
clear?: boolean | undefined;
|
|
29
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
29
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
30
30
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
31
31
|
onChange?: ((phone: string) => void) | undefined;
|
|
32
32
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
33
33
|
onFocus?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
34
34
|
} & {
|
|
35
|
-
options: (import("./typings-
|
|
35
|
+
options: (import("./typings-0f35b62f").OptionShape | import("./typings-0f35b62f").GroupShape)[];
|
|
36
36
|
} & Omit<import("../../input-autocomplete/types").InputAutocompleteCommonProps, "onChange" | "onInput"> & {
|
|
37
|
-
options: (import("./typings-
|
|
37
|
+
options: (import("./typings-0f35b62f").OptionShape | import("./typings-0f35b62f").GroupShape)[];
|
|
38
38
|
} & Omit<import("../../input-autocomplete/types").InputAutocompleteMobileProps, "onChange" | "onInput"> & {
|
|
39
39
|
breakpoint?: number | undefined;
|
|
40
40
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
package/international-phone-input/modern/components/base-international-phone-input/Component.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
9
9
|
clearableCountryCode?: boolean | undefined;
|
|
10
10
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
11
11
|
clear?: boolean | undefined;
|
|
12
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
12
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-0f35b62f").OptionShape) => boolean) | undefined;
|
|
13
13
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
14
14
|
onChange?: ((phone: string) => void) | undefined;
|
|
15
15
|
onBlur?: ((event: React.FocusEvent<HTMLDivElement | HTMLInputElement, Element>) => void) | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
type StackProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Render prop, в который передается функция.
|
|
5
|
+
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
6
|
+
*/
|
|
7
|
+
children: (value: number) => ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Исходное значение для z-index.
|
|
10
|
+
* @default 5
|
|
11
|
+
*/
|
|
12
|
+
value?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const Stack: FC<StackProps>;
|
|
15
|
+
export { StackProps, Stack };
|
|
@@ -5,7 +5,7 @@ import { InputMobileProps } from "../../input/mobile";
|
|
|
5
5
|
import { InputAutocompleteProps } from "../../input-autocomplete";
|
|
6
6
|
import { InputAutocompleteDesktopProps } from "../../input-autocomplete/desktop";
|
|
7
7
|
import { InputAutocompleteMobileProps } from "../../input-autocomplete/mobile";
|
|
8
|
-
import { OptionShape } from "./typings-
|
|
8
|
+
import { OptionShape } from "./typings-0f35b62f";
|
|
9
9
|
import { SharedCountrySelectProps } from "./components/country-select/index";
|
|
10
10
|
type Country = {
|
|
11
11
|
name: string;
|
|
@@ -872,6 +872,11 @@ type IconButtonProps = {
|
|
|
872
872
|
* Дополнительный класс
|
|
873
873
|
*/
|
|
874
874
|
className?: string;
|
|
875
|
+
/**
|
|
876
|
+
* Включает прозрачный фон
|
|
877
|
+
* @default false
|
|
878
|
+
*/
|
|
879
|
+
transparentBg?: boolean;
|
|
875
880
|
/**
|
|
876
881
|
* Выравнивание иконки
|
|
877
882
|
* @default 'center'
|
|
@@ -893,6 +898,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
893
898
|
view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
|
|
894
899
|
size?: "s" | "xs" | 48 | 56 | 24 | 32 | 40 | "xxs" | undefined;
|
|
895
900
|
className?: string | undefined;
|
|
901
|
+
transparentBg?: boolean | undefined;
|
|
896
902
|
alignIcon?: "center" | "right" | "left" | undefined;
|
|
897
903
|
dataTestId?: string | undefined;
|
|
898
904
|
colors?: "default" | "inverted" | undefined;
|
|
@@ -1419,6 +1425,18 @@ type OptionsListProps = {
|
|
|
1419
1425
|
* Указать индекс пункта для hover состояния
|
|
1420
1426
|
*/
|
|
1421
1427
|
setHighlightedIndex?: (index: number) => void;
|
|
1428
|
+
/**
|
|
1429
|
+
* Обработчик добавления в список выбранных вариантов
|
|
1430
|
+
*/
|
|
1431
|
+
addSelectedItem?: (item: OptionShape) => void;
|
|
1432
|
+
/**
|
|
1433
|
+
* Обработчик удаления из списка выбранных вариантов
|
|
1434
|
+
*/
|
|
1435
|
+
removeSelectedItem?: (item: OptionShape) => void;
|
|
1436
|
+
/**
|
|
1437
|
+
* Значение поиска
|
|
1438
|
+
*/
|
|
1439
|
+
search?: string;
|
|
1422
1440
|
};
|
|
1423
1441
|
type OptgroupProps = {
|
|
1424
1442
|
/**
|
|
@@ -1438,6 +1456,26 @@ type OptgroupProps = {
|
|
|
1438
1456
|
* Дочерние элементы
|
|
1439
1457
|
*/
|
|
1440
1458
|
children?: ReactNode;
|
|
1459
|
+
/**
|
|
1460
|
+
* Список вариантов выбора в группе
|
|
1461
|
+
*/
|
|
1462
|
+
options?: OptionShape[];
|
|
1463
|
+
/**
|
|
1464
|
+
* Список выбранных вариантов в группе
|
|
1465
|
+
*/
|
|
1466
|
+
selectedItems?: OptionShape[];
|
|
1467
|
+
/**
|
|
1468
|
+
* Обработчик добавления в список выбранных вариантов
|
|
1469
|
+
*/
|
|
1470
|
+
addSelectedItem?: (item: OptionShape) => void;
|
|
1471
|
+
/**
|
|
1472
|
+
* Обработчик удаления из списка выбранных вариантов
|
|
1473
|
+
*/
|
|
1474
|
+
removeSelectedItem?: (item: OptionShape) => void;
|
|
1475
|
+
/**
|
|
1476
|
+
* Значение поиска
|
|
1477
|
+
*/
|
|
1478
|
+
search?: string;
|
|
1441
1479
|
};
|
|
1442
1480
|
type OptionProps = {
|
|
1443
1481
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-0f35b62f";
|
|
3
3
|
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
4
|
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
5
|
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
@@ -5,7 +5,7 @@ import { InputMobileProps } from "../input/mobile";
|
|
|
5
5
|
import { InputAutocompleteProps } from "../input-autocomplete";
|
|
6
6
|
import { InputAutocompleteDesktopProps } from "../input-autocomplete/desktop";
|
|
7
7
|
import { InputAutocompleteMobileProps } from "../input-autocomplete/mobile";
|
|
8
|
-
import { OptionShape } from "./typings-
|
|
8
|
+
import { OptionShape } from "./typings-0f35b62f";
|
|
9
9
|
import { SharedCountrySelectProps } from "./components/country-select/index";
|
|
10
10
|
type Country = {
|
|
11
11
|
name: string;
|
|
@@ -872,6 +872,11 @@ type IconButtonProps = {
|
|
|
872
872
|
* Дополнительный класс
|
|
873
873
|
*/
|
|
874
874
|
className?: string;
|
|
875
|
+
/**
|
|
876
|
+
* Включает прозрачный фон
|
|
877
|
+
* @default false
|
|
878
|
+
*/
|
|
879
|
+
transparentBg?: boolean;
|
|
875
880
|
/**
|
|
876
881
|
* Выравнивание иконки
|
|
877
882
|
* @default 'center'
|
|
@@ -893,6 +898,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
893
898
|
view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
|
|
894
899
|
size?: "s" | "xs" | 48 | 56 | 24 | 32 | 40 | "xxs" | undefined;
|
|
895
900
|
className?: string | undefined;
|
|
901
|
+
transparentBg?: boolean | undefined;
|
|
896
902
|
alignIcon?: "center" | "right" | "left" | undefined;
|
|
897
903
|
dataTestId?: string | undefined;
|
|
898
904
|
colors?: "default" | "inverted" | undefined;
|
|
@@ -1419,6 +1425,18 @@ type OptionsListProps = {
|
|
|
1419
1425
|
* Указать индекс пункта для hover состояния
|
|
1420
1426
|
*/
|
|
1421
1427
|
setHighlightedIndex?: (index: number) => void;
|
|
1428
|
+
/**
|
|
1429
|
+
* Обработчик добавления в список выбранных вариантов
|
|
1430
|
+
*/
|
|
1431
|
+
addSelectedItem?: (item: OptionShape) => void;
|
|
1432
|
+
/**
|
|
1433
|
+
* Обработчик удаления из списка выбранных вариантов
|
|
1434
|
+
*/
|
|
1435
|
+
removeSelectedItem?: (item: OptionShape) => void;
|
|
1436
|
+
/**
|
|
1437
|
+
* Значение поиска
|
|
1438
|
+
*/
|
|
1439
|
+
search?: string;
|
|
1422
1440
|
};
|
|
1423
1441
|
type OptgroupProps = {
|
|
1424
1442
|
/**
|
|
@@ -1438,6 +1456,26 @@ type OptgroupProps = {
|
|
|
1438
1456
|
* Дочерние элементы
|
|
1439
1457
|
*/
|
|
1440
1458
|
children?: ReactNode;
|
|
1459
|
+
/**
|
|
1460
|
+
* Список вариантов выбора в группе
|
|
1461
|
+
*/
|
|
1462
|
+
options?: OptionShape[];
|
|
1463
|
+
/**
|
|
1464
|
+
* Список выбранных вариантов в группе
|
|
1465
|
+
*/
|
|
1466
|
+
selectedItems?: OptionShape[];
|
|
1467
|
+
/**
|
|
1468
|
+
* Обработчик добавления в список выбранных вариантов
|
|
1469
|
+
*/
|
|
1470
|
+
addSelectedItem?: (item: OptionShape) => void;
|
|
1471
|
+
/**
|
|
1472
|
+
* Обработчик удаления из списка выбранных вариантов
|
|
1473
|
+
*/
|
|
1474
|
+
removeSelectedItem?: (item: OptionShape) => void;
|
|
1475
|
+
/**
|
|
1476
|
+
* Значение поиска
|
|
1477
|
+
*/
|
|
1478
|
+
search?: string;
|
|
1441
1479
|
};
|
|
1442
1480
|
type OptionProps = {
|
|
1443
1481
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-0f35b62f";
|
|
3
3
|
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
4
|
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
5
|
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var cn = require('classnames');
|
|
5
5
|
var coreComponentsShared = require('../../../shared');
|
|
6
6
|
var ResponsiveContext = require('../../ResponsiveContext.js');
|
|
7
|
-
var layout_module = require('../../layout.module-
|
|
7
|
+
var layout_module = require('../../layout.module-74b07012.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
10
|
|
|
@@ -6,7 +6,7 @@ var coreComponentsShared = require('../../../shared');
|
|
|
6
6
|
var consts = require('../../consts.js');
|
|
7
7
|
var Context = require('../../Context.js');
|
|
8
8
|
var ResponsiveContext = require('../../ResponsiveContext.js');
|
|
9
|
-
var layout_module = require('../../layout.module-
|
|
9
|
+
var layout_module = require('../../layout.module-74b07012.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
12
12
|
|
|
@@ -12,7 +12,7 @@ import './consts.js';
|
|
|
12
12
|
import './Context.js';
|
|
13
13
|
import '../../base-modal/esm';
|
|
14
14
|
import './ResponsiveContext.js';
|
|
15
|
-
import './layout.module-
|
|
15
|
+
import './layout.module-5977466c.js';
|
|
16
16
|
import '../../navigation-bar-private/esm';
|
|
17
17
|
import 'react-merge-refs';
|
|
18
18
|
|
|
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { getDataTestId } from '../../../../shared/esm';
|
|
4
4
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
5
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
5
|
+
import { l as layoutStyles } from '../../layout.module-5977466c.js';
|
|
6
6
|
|
|
7
7
|
var styles = {"component":"modal__component_6629a"};
|
|
8
8
|
require('./index.css');
|