@salutejs/plasma-b2c 1.512.0-canary.1736.13152101875.0 → 1.512.0-canary.1749.13151026394.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-b2c.api.md +9 -15
- package/components/Dropdown/Dropdown.d.ts +1 -40
- package/components/Dropdown/index.d.ts +1 -2
- package/components/Select/Select.d.ts +1 -1
- package/components/Select/index.d.ts +1 -2
- package/css/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/css/cjs/components/Select/Select.js.map +1 -1
- package/css/es/components/Dropdown/Dropdown.js.map +1 -1
- package/css/es/components/Select/Select.js.map +1 -1
- package/es/components/Dropdown/index.js +1 -0
- package/package.json +5 -5
- package/temp/plasma-b2c.api.md +9 -15
package/api/plasma-b2c.api.md
CHANGED
@@ -131,13 +131,15 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
131
131
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
132
132
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
133
133
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
134
|
-
import { DropdownItemOption } from '@salutejs/plasma-new-hope';
|
134
|
+
import type { DropdownItemOption } from '@salutejs/plasma-new-hope';
|
135
135
|
import { DropdownItemProps } from '@salutejs/plasma-hope';
|
136
136
|
import { DropdownItem as DropdownItemType } from '@salutejs/plasma-hope';
|
137
137
|
import type { DropdownNewProps } from '@salutejs/plasma-new-hope';
|
138
|
+
import type { DropdownNodeSelect } from '@salutejs/plasma-new-hope';
|
138
139
|
import { DropdownNodeType } from '@salutejs/plasma-hope';
|
139
140
|
import { DropdownPlacement } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
140
141
|
import { DropdownPopupProps } from '@salutejs/plasma-hope';
|
142
|
+
import { DropdownProps } from '@salutejs/plasma-new-hope/styled-components';
|
141
143
|
import { DropdownTrigger } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
142
144
|
import { dropzoneClasses } from '@salutejs/plasma-new-hope/styled-components';
|
143
145
|
import { dropzoneTokens } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -269,9 +271,9 @@ import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
269
271
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
270
272
|
import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
|
271
273
|
import { SelectGroup } from '@salutejs/plasma-hope';
|
272
|
-
import { DropdownNodeSelect as SelectItemOption } from '@salutejs/plasma-new-hope';
|
273
274
|
import { SelectPlacement } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
|
274
275
|
import { SelectPlacementBasic } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
|
276
|
+
import { MergedSelectProps as SelectProps } from '@salutejs/plasma-new-hope/styled-components';
|
275
277
|
import { SelectProps as SelectPropsHope } from '@salutejs/plasma-hope';
|
276
278
|
import { selectText } from '@salutejs/plasma-hope';
|
277
279
|
import { setRef } from '@salutejs/plasma-core';
|
@@ -1959,8 +1961,6 @@ default: PolymorphicClassName;
|
|
1959
1961
|
// @public (undocumented)
|
1960
1962
|
export const DropdownItem: React_2.ForwardRefExoticComponent<DropdownItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
1961
1963
|
|
1962
|
-
export { DropdownItemOption }
|
1963
|
-
|
1964
1964
|
export { DropdownItemProps }
|
1965
1965
|
|
1966
1966
|
export { DropdownItemType }
|
@@ -1975,10 +1975,7 @@ export const DropdownPopup: React_2.ForwardRefExoticComponent<DropdownPopupProps
|
|
1975
1975
|
|
1976
1976
|
export { DropdownPopupProps }
|
1977
1977
|
|
1978
|
-
|
1979
|
-
//
|
1980
|
-
// @public (undocumented)
|
1981
|
-
export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
1978
|
+
export { DropdownProps }
|
1982
1979
|
|
1983
1980
|
// @public (undocumented)
|
1984
1981
|
export const Dropzone: FunctionComponent<PropsType< {
|
@@ -3626,17 +3623,14 @@ export { SegmentProvider }
|
|
3626
3623
|
|
3627
3624
|
export { SegmentProviderProps }
|
3628
3625
|
|
3626
|
+
// Warning: (ae-forgotten-export) The symbol "SelectProps_2" needs to be exported by the entry point index.d.ts
|
3627
|
+
//
|
3629
3628
|
// @public (undocumented)
|
3630
|
-
export const Select: <T, K extends
|
3629
|
+
export const Select: <T, K extends DropdownNodeSelect>(props: SelectProps_2<T, K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
3631
3630
|
|
3632
3631
|
export { SelectGroup }
|
3633
3632
|
|
3634
|
-
export {
|
3635
|
-
|
3636
|
-
// Warning: (ae-forgotten-export) The symbol "SelectNewHope" needs to be exported by the entry point index.d.ts
|
3637
|
-
//
|
3638
|
-
// @public (undocumented)
|
3639
|
-
export type SelectProps<T, K extends SelectItemOption> = DistributiveOmit<MergedSelectProps<T, K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
3633
|
+
export { SelectProps }
|
3640
3634
|
|
3641
3635
|
export { SelectPropsHope }
|
3642
3636
|
|
@@ -1,44 +1,5 @@
|
|
1
1
|
import type { DropdownItemOption, DropdownNewProps } from '@salutejs/plasma-new-hope';
|
2
|
-
import React
|
3
|
-
declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
4
|
-
size: {
|
5
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
-
};
|
10
|
-
view: {
|
11
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
-
};
|
13
|
-
}> & {
|
14
|
-
items: DropdownItemOption[];
|
15
|
-
alwaysOpened?: boolean | undefined;
|
16
|
-
children?: React.ReactNode;
|
17
|
-
itemRole?: string | undefined;
|
18
|
-
onHover?: ((index: number) => void) | undefined;
|
19
|
-
onItemSelect?: ((item: DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
20
|
-
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger | undefined;
|
21
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement | undefined;
|
22
|
-
offset?: [number, number] | undefined;
|
23
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
24
|
-
hasArrow?: boolean | undefined;
|
25
|
-
closeOnSelect?: boolean | undefined;
|
26
|
-
closeOnOverlayClick?: boolean | undefined;
|
27
|
-
onToggle?: ((isOpen: boolean, event: Event | React.SyntheticEvent<Element, Event>) => void) | undefined;
|
28
|
-
size?: string | undefined;
|
29
|
-
view?: string | undefined;
|
30
|
-
variant?: "normal" | "tight" | undefined;
|
31
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
32
|
-
renderItem?: ((item: DropdownItemOption) => React.ReactNode) | undefined;
|
33
|
-
zIndex?: import("csstype").Property.ZIndex | undefined;
|
34
|
-
beforeList?: React.ReactNode;
|
35
|
-
afterList?: React.ReactNode;
|
36
|
-
onItemClick?: ((item: DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
37
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
38
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
39
|
-
hoverIndex?: number | undefined;
|
40
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
41
|
-
export declare type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
2
|
+
import React from 'react';
|
42
3
|
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "view" | "size"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
43
4
|
size: {
|
44
5
|
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
export { withAssistiveDropdown } from '@salutejs/plasma-hope';
|
2
|
+
export type { DropdownProps } from '@salutejs/plasma-new-hope/styled-components';
|
2
3
|
export { Dropdown } from './Dropdown';
|
3
|
-
export type { DropdownProps } from './Dropdown';
|
4
|
-
export type { DropdownItemOption } from '@salutejs/plasma-new-hope';
|
5
4
|
export { DropdownItem } from './components/DropdownItem';
|
6
5
|
export { DropdownPopup } from './components/DropdownPopup';
|
7
6
|
export { DropdownList } from './components/DropdownList';
|
@@ -327,6 +327,6 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
327
327
|
hasItems?: boolean | undefined;
|
328
328
|
isOpen?: boolean | undefined;
|
329
329
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
330
|
-
|
330
|
+
declare type SelectProps<T, K extends DropdownNodeSelect> = DistributiveOmit<MergedSelectPropsNewHope<T, K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
331
331
|
declare const Select: <T, K extends DropdownNodeSelect>(props: SelectProps<T, K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
332
332
|
export { Select };
|
@@ -1,5 +1,4 @@
|
|
1
1
|
export { Select } from './Select';
|
2
2
|
export type { SelectProps as SelectPropsHope } from '@salutejs/plasma-hope';
|
3
|
-
export type { SelectProps } from '
|
4
|
-
export type { DropdownNodeSelect as SelectItemOption } from '@salutejs/plasma-new-hope';
|
3
|
+
export type { MergedSelectProps as SelectProps } from '@salutejs/plasma-new-hope/styled-components';
|
5
4
|
export { SelectGroup } from '@salutejs/plasma-hope';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.js","sources":["../../../../src-css/components/Dropdown/Dropdown.tsx"],"sourcesContent":["import { dropdownConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope';\nimport type { DropdownItemOption, DropdownNewProps } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\n\nimport { config } from './Dropdown.config';\n\nconst mergedConfig = mergeConfig(dropdownConfig, config);\nconst DropdownNewHope = component(mergedConfig);\n\
|
1
|
+
{"version":3,"file":"Dropdown.js","sources":["../../../../src-css/components/Dropdown/Dropdown.tsx"],"sourcesContent":["import { dropdownConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope';\nimport type { DropdownItemOption, DropdownNewProps } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\n\nimport { config } from './Dropdown.config';\n\nconst mergedConfig = mergeConfig(dropdownConfig, config);\nconst DropdownNewHope = component(mergedConfig);\n\ntype DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> &\n Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;\n\nconst DropdownComponent = <T extends DropdownItemOption>(\n props: DropdownProps<T>,\n ref: ForwardedRef<HTMLButtonElement>,\n) => {\n return <DropdownNewHope ref={ref} {...(props as any)} />;\n};\n\nconst Dropdown = fixedForwardRef(DropdownComponent);\n\nexport { Dropdown };\n"],"names":["mergedConfig","mergeConfig","dropdownConfig","config","DropdownNewHope","component","DropdownComponent","props","ref","React","createElement","_extends","Dropdown","fixedForwardRef"],"mappings":";;;;;;;;;;;;;AAMA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,4BAAc,EAAEC,sBAAM,CAAC,CAAA;AACxD,IAAMC,eAAe,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;AAK/C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CACnBC,KAAuB,EACvBC,GAAoC,EACnC;AACD,EAAA,oBAAOC,sBAAA,CAAAC,aAAA,CAACN,eAAe,EAAAO,iCAAA,CAAA;AAACH,IAAAA,GAAG,EAAEA,GAAAA;GAAUD,EAAAA,KAAK,CAAW,CAAC,CAAA;AAC5D,CAAC,CAAA;AAED,IAAMK,QAAQ,gBAAGC,6BAAe,CAACP,iBAAiB;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.js","sources":["../../../../src-css/components/Select/Select.tsx"],"sourcesContent":["import { selectConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\nimport type {\n DropdownNodeSelect,\n MergedSelectProps as MergedSelectPropsNewHope,\n DistributiveOmit,\n DistributivePick,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Select.config';\n\nconst mergedConfig = mergeConfig(selectConfig, config);\nconst SelectNewHope = component(mergedConfig);\n\
|
1
|
+
{"version":3,"file":"Select.js","sources":["../../../../src-css/components/Select/Select.tsx"],"sourcesContent":["import { selectConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\nimport type {\n DropdownNodeSelect,\n MergedSelectProps as MergedSelectPropsNewHope,\n DistributiveOmit,\n DistributivePick,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Select.config';\n\nconst mergedConfig = mergeConfig(selectConfig, config);\nconst SelectNewHope = component(mergedConfig);\n\ntype SelectProps<T, K extends DropdownNodeSelect> = DistributiveOmit<\n MergedSelectPropsNewHope<T, K>,\n 'size' | 'view' | 'chipView' | 'disabled'\n> &\n DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;\n\nconst SelectComponent = <T, K extends DropdownNodeSelect>(\n props: SelectProps<T, K>,\n ref: ForwardedRef<HTMLButtonElement>,\n) => {\n return <SelectNewHope ref={ref} {...(props as any)} />;\n};\n\nconst Select = fixedForwardRef(SelectComponent);\n\nexport { Select };\n"],"names":["mergedConfig","mergeConfig","selectConfig","config","SelectNewHope","component","SelectComponent","props","ref","React","createElement","_extends","Select","fixedForwardRef"],"mappings":";;;;;;;;;;;;;AAWA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,0BAAY,EAAEC,oBAAM,CAAC,CAAA;AACtD,IAAMC,aAAa,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;AAQ7C,IAAMM,eAAe,GAAG,SAAlBA,eAAeA,CACjBC,KAAwB,EACxBC,GAAoC,EACnC;AACD,EAAA,oBAAOC,sBAAA,CAAAC,aAAA,CAACN,aAAa,EAAAO,iCAAA,CAAA;AAACH,IAAAA,GAAG,EAAEA,GAAAA;GAAUD,EAAAA,KAAK,CAAW,CAAC,CAAA;AAC1D,CAAC,CAAA;AAED,IAAMK,MAAM,gBAAGC,6BAAe,CAACP,eAAe;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.js","sources":["../../../../src-css/components/Dropdown/Dropdown.tsx"],"sourcesContent":["import { dropdownConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope';\nimport type { DropdownItemOption, DropdownNewProps } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\n\nimport { config } from './Dropdown.config';\n\nconst mergedConfig = mergeConfig(dropdownConfig, config);\nconst DropdownNewHope = component(mergedConfig);\n\
|
1
|
+
{"version":3,"file":"Dropdown.js","sources":["../../../../src-css/components/Dropdown/Dropdown.tsx"],"sourcesContent":["import { dropdownConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope';\nimport type { DropdownItemOption, DropdownNewProps } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\n\nimport { config } from './Dropdown.config';\n\nconst mergedConfig = mergeConfig(dropdownConfig, config);\nconst DropdownNewHope = component(mergedConfig);\n\ntype DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> &\n Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;\n\nconst DropdownComponent = <T extends DropdownItemOption>(\n props: DropdownProps<T>,\n ref: ForwardedRef<HTMLButtonElement>,\n) => {\n return <DropdownNewHope ref={ref} {...(props as any)} />;\n};\n\nconst Dropdown = fixedForwardRef(DropdownComponent);\n\nexport { Dropdown };\n"],"names":["mergedConfig","mergeConfig","dropdownConfig","config","DropdownNewHope","component","DropdownComponent","props","ref","React","createElement","_extends","Dropdown","fixedForwardRef"],"mappings":";;;;;AAMA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,cAAc,EAAEC,MAAM,CAAC,CAAA;AACxD,IAAMC,eAAe,gBAAGC,SAAS,CAACL,YAAY,CAAC,CAAA;AAK/C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CACnBC,KAAuB,EACvBC,GAAoC,EACnC;AACD,EAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACN,eAAe,EAAAO,QAAA,CAAA;AAACH,IAAAA,GAAG,EAAEA,GAAAA;GAAUD,EAAAA,KAAK,CAAW,CAAC,CAAA;AAC5D,CAAC,CAAA;AAED,IAAMK,QAAQ,gBAAGC,eAAe,CAACP,iBAAiB;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.js","sources":["../../../../src-css/components/Select/Select.tsx"],"sourcesContent":["import { selectConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\nimport type {\n DropdownNodeSelect,\n MergedSelectProps as MergedSelectPropsNewHope,\n DistributiveOmit,\n DistributivePick,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Select.config';\n\nconst mergedConfig = mergeConfig(selectConfig, config);\nconst SelectNewHope = component(mergedConfig);\n\
|
1
|
+
{"version":3,"file":"Select.js","sources":["../../../../src-css/components/Select/Select.tsx"],"sourcesContent":["import { selectConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\nimport type {\n DropdownNodeSelect,\n MergedSelectProps as MergedSelectPropsNewHope,\n DistributiveOmit,\n DistributivePick,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Select.config';\n\nconst mergedConfig = mergeConfig(selectConfig, config);\nconst SelectNewHope = component(mergedConfig);\n\ntype SelectProps<T, K extends DropdownNodeSelect> = DistributiveOmit<\n MergedSelectPropsNewHope<T, K>,\n 'size' | 'view' | 'chipView' | 'disabled'\n> &\n DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;\n\nconst SelectComponent = <T, K extends DropdownNodeSelect>(\n props: SelectProps<T, K>,\n ref: ForwardedRef<HTMLButtonElement>,\n) => {\n return <SelectNewHope ref={ref} {...(props as any)} />;\n};\n\nconst Select = fixedForwardRef(SelectComponent);\n\nexport { Select };\n"],"names":["mergedConfig","mergeConfig","selectConfig","config","SelectNewHope","component","SelectComponent","props","ref","React","createElement","_extends","Select","fixedForwardRef"],"mappings":";;;;;AAWA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,YAAY,EAAEC,MAAM,CAAC,CAAA;AACtD,IAAMC,aAAa,gBAAGC,SAAS,CAACL,YAAY,CAAC,CAAA;AAQ7C,IAAMM,eAAe,GAAG,SAAlBA,eAAeA,CACjBC,KAAwB,EACxBC,GAAoC,EACnC;AACD,EAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACN,aAAa,EAAAO,QAAA,CAAA;AAACH,IAAAA,GAAG,EAAEA,GAAAA;GAAUD,EAAAA,KAAK,CAAW,CAAC,CAAA;AAC1D,CAAC,CAAA;AAED,IAAMK,MAAM,gBAAGC,eAAe,CAACP,eAAe;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-b2c",
|
3
|
-
"version": "1.512.0-canary.
|
3
|
+
"version": "1.512.0-canary.1749.13151026394.0",
|
4
4
|
"description": "Salute Design System / React UI kit for business-related web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -43,8 +43,8 @@
|
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
45
|
"@salutejs/plasma-core": "1.191.0",
|
46
|
-
"@salutejs/plasma-hope": "1.
|
47
|
-
"@salutejs/plasma-new-hope": "0.
|
46
|
+
"@salutejs/plasma-hope": "1.330.0-canary.1749.13151026394.0",
|
47
|
+
"@salutejs/plasma-new-hope": "0.257.0-dev.0",
|
48
48
|
"@salutejs/plasma-themes": "0.28.0",
|
49
49
|
"@salutejs/plasma-tokens-b2c": "0.56.0",
|
50
50
|
"@salutejs/plasma-tokens-web": "1.61.0",
|
@@ -72,7 +72,7 @@
|
|
72
72
|
"@rollup/plugin-node-resolve": "15.2.3",
|
73
73
|
"@salutejs/plasma-colors": "0.14.0",
|
74
74
|
"@salutejs/plasma-cy-utils": "0.122.0",
|
75
|
-
"@salutejs/plasma-icons": "1.
|
75
|
+
"@salutejs/plasma-icons": "1.211.0-canary.1749.13151026394.0",
|
76
76
|
"@salutejs/plasma-sb-utils": "0.191.0",
|
77
77
|
"@storybook/addon-docs": "7.6.17",
|
78
78
|
"@storybook/addon-essentials": "7.6.17",
|
@@ -108,5 +108,5 @@
|
|
108
108
|
"react"
|
109
109
|
],
|
110
110
|
"sideEffects": false,
|
111
|
-
"gitHead": "
|
111
|
+
"gitHead": "3655e42ed2d6f598889648b69c349a1c71bb3979"
|
112
112
|
}
|
package/temp/plasma-b2c.api.md
CHANGED
@@ -131,13 +131,15 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
131
131
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
132
132
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
133
133
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
134
|
-
import { DropdownItemOption } from '@salutejs/plasma-new-hope';
|
134
|
+
import type { DropdownItemOption } from '@salutejs/plasma-new-hope';
|
135
135
|
import { DropdownItemProps } from '@salutejs/plasma-hope';
|
136
136
|
import { DropdownItem as DropdownItemType } from '@salutejs/plasma-hope';
|
137
137
|
import type { DropdownNewProps } from '@salutejs/plasma-new-hope';
|
138
|
+
import type { DropdownNodeSelect } from '@salutejs/plasma-new-hope';
|
138
139
|
import { DropdownNodeType } from '@salutejs/plasma-hope';
|
139
140
|
import { DropdownPlacement } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
140
141
|
import { DropdownPopupProps } from '@salutejs/plasma-hope';
|
142
|
+
import { DropdownProps } from '@salutejs/plasma-new-hope/styled-components';
|
141
143
|
import { DropdownTrigger } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
142
144
|
import { dropzoneClasses } from '@salutejs/plasma-new-hope/styled-components';
|
143
145
|
import { dropzoneTokens } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -269,9 +271,9 @@ import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
269
271
|
import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
|
270
272
|
import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
|
271
273
|
import { SelectGroup } from '@salutejs/plasma-hope';
|
272
|
-
import { DropdownNodeSelect as SelectItemOption } from '@salutejs/plasma-new-hope';
|
273
274
|
import { SelectPlacement } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
|
274
275
|
import { SelectPlacementBasic } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
|
276
|
+
import { MergedSelectProps as SelectProps } from '@salutejs/plasma-new-hope/styled-components';
|
275
277
|
import { SelectProps as SelectPropsHope } from '@salutejs/plasma-hope';
|
276
278
|
import { selectText } from '@salutejs/plasma-hope';
|
277
279
|
import { setRef } from '@salutejs/plasma-core';
|
@@ -1959,8 +1961,6 @@ default: PolymorphicClassName;
|
|
1959
1961
|
// @public (undocumented)
|
1960
1962
|
export const DropdownItem: React_2.ForwardRefExoticComponent<DropdownItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
1961
1963
|
|
1962
|
-
export { DropdownItemOption }
|
1963
|
-
|
1964
1964
|
export { DropdownItemProps }
|
1965
1965
|
|
1966
1966
|
export { DropdownItemType }
|
@@ -1975,10 +1975,7 @@ export const DropdownPopup: React_2.ForwardRefExoticComponent<DropdownPopupProps
|
|
1975
1975
|
|
1976
1976
|
export { DropdownPopupProps }
|
1977
1977
|
|
1978
|
-
|
1979
|
-
//
|
1980
|
-
// @public (undocumented)
|
1981
|
-
export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
1978
|
+
export { DropdownProps }
|
1982
1979
|
|
1983
1980
|
// @public (undocumented)
|
1984
1981
|
export const Dropzone: FunctionComponent<PropsType< {
|
@@ -3626,17 +3623,14 @@ export { SegmentProvider }
|
|
3626
3623
|
|
3627
3624
|
export { SegmentProviderProps }
|
3628
3625
|
|
3626
|
+
// Warning: (ae-forgotten-export) The symbol "SelectProps_2" needs to be exported by the entry point index.d.ts
|
3627
|
+
//
|
3629
3628
|
// @public (undocumented)
|
3630
|
-
export const Select: <T, K extends
|
3629
|
+
export const Select: <T, K extends DropdownNodeSelect>(props: SelectProps_2<T, K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
3631
3630
|
|
3632
3631
|
export { SelectGroup }
|
3633
3632
|
|
3634
|
-
export {
|
3635
|
-
|
3636
|
-
// Warning: (ae-forgotten-export) The symbol "SelectNewHope" needs to be exported by the entry point index.d.ts
|
3637
|
-
//
|
3638
|
-
// @public (undocumented)
|
3639
|
-
export type SelectProps<T, K extends SelectItemOption> = DistributiveOmit<MergedSelectProps<T, K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
3633
|
+
export { SelectProps }
|
3640
3634
|
|
3641
3635
|
export { SelectPropsHope }
|
3642
3636
|
|