@salutejs/sdds-serv 0.243.0-canary.1736.13152101875.0 → 0.243.0-canary.1749.13151026394.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -61,8 +61,7 @@ import { ColCount } from '@salutejs/plasma-new-hope/styled-components';
61
61
  import { ColOffsetProps } from '@salutejs/plasma-new-hope/styled-components';
62
62
  import { ColProps } from '@salutejs/plasma-new-hope/styled-components';
63
63
  import { ColSizeProps } from '@salutejs/plasma-new-hope/styled-components';
64
- import { ItemOption as ComboboxItemOption } from '@salutejs/plasma-new-hope';
65
- import type { ComboboxProps as ComboboxProps_2 } from '@salutejs/plasma-new-hope';
64
+ import type { ComboboxProps } from '@salutejs/plasma-new-hope';
66
65
  import { CommitInstanceCallback } from '@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types';
67
66
  import { ComponentProps } from 'react';
68
67
  import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -95,7 +94,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
95
94
  import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
96
95
  import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
97
96
  import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
98
- import { DropdownItemOption } from '@salutejs/plasma-new-hope';
97
+ import type { DropdownItemOption } from '@salutejs/plasma-new-hope';
99
98
  import type { DropdownNewProps } from '@salutejs/plasma-new-hope';
100
99
  import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
101
100
  import { DropdownPlacement } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
@@ -136,6 +135,8 @@ import { ImgHTMLAttributes } from 'react';
136
135
  import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
137
136
  import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
138
137
  import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
138
+ import type { ItemOption } from '@salutejs/plasma-new-hope';
139
+ import type { ItemOptionSelect } from '@salutejs/plasma-new-hope';
139
140
  import { JSXElementConstructor } from 'react';
140
141
  import { KeyboardEvent as KeyboardEvent_2 } from 'react';
141
142
  import { LabelProps } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
@@ -175,7 +176,7 @@ import { priceClasses } from '@salutejs/plasma-new-hope/styled-components';
175
176
  import { PriceProps } from '@salutejs/plasma-new-hope/types/components/Price/Price.types';
176
177
  import { ProgressProps } from '@salutejs/plasma-new-hope/styled-components';
177
178
  import { Property } from 'csstype';
178
- import { Props } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
179
+ import { Props as Props_2 } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
179
180
  import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
180
181
  import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
181
182
  import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components';
@@ -199,7 +200,6 @@ import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
199
200
  import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
200
201
  import { SegmentProvider } from '@salutejs/plasma-new-hope/styled-components';
201
202
  import { SegmentProviderProps } from '@salutejs/plasma-new-hope/styled-components';
202
- import { ItemOptionSelect as SelectItemOption } from '@salutejs/plasma-new-hope';
203
203
  import { SelectPlacement } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
204
204
  import { SelectPlacementBasic } from '@salutejs/plasma-new-hope/types/components/Select/Select.types';
205
205
  import type { SelectProps as SelectProps_2 } from '@salutejs/plasma-new-hope';
@@ -1401,16 +1401,10 @@ export { ColProps }
1401
1401
 
1402
1402
  export { ColSizeProps }
1403
1403
 
1404
- // @public (undocumented)
1405
- export const Combobox: <T extends ComboboxItemOption>(props: ComboboxProps<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1406
-
1407
- export { ComboboxItemOption }
1408
-
1409
- // Warning: (ae-forgotten-export) The symbol "PropsFromConfig" needs to be exported by the entry point index.d.ts
1410
- // Warning: (ae-forgotten-export) The symbol "ComboboxNew" needs to be exported by the entry point index.d.ts
1404
+ // Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
1411
1405
  //
1412
1406
  // @public (undocumented)
1413
- export type ComboboxProps<T extends ComboboxItemOption> = DistributiveOmit<ComboboxProps_2<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
1407
+ export const Combobox: <T extends ItemOption>(props: Props<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1414
1408
 
1415
1409
  // @public
1416
1410
  export const Counter: FunctionComponent<PropsType< {
@@ -1676,13 +1670,6 @@ default: PolymorphicClassName;
1676
1670
  hoverIndex?: number | undefined;
1677
1671
  } & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "size" | "view"> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1678
1672
 
1679
- export { DropdownItemOption }
1680
-
1681
- // Warning: (ae-forgotten-export) The symbol "DropdownNewHope" needs to be exported by the entry point index.d.ts
1682
- //
1683
- // @public (undocumented)
1684
- export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
1685
-
1686
1673
  // @public (undocumented)
1687
1674
  export const Dropzone: FunctionComponent<PropsType< {
1688
1675
  view: {
@@ -1769,7 +1756,7 @@ m: PolymorphicClassName;
1769
1756
  s: PolymorphicClassName;
1770
1757
  xs: PolymorphicClassName;
1771
1758
  };
1772
- }> & Props & RefAttributes<HTMLDivElement>>;
1759
+ }> & Props_2 & RefAttributes<HTMLDivElement>>;
1773
1760
 
1774
1761
  // @public (undocumented)
1775
1762
  export const Flow: FunctionComponent<PropsType< {}> & FlowProps & {
@@ -3188,15 +3175,10 @@ export { SegmentProvider }
3188
3175
 
3189
3176
  export { SegmentProviderProps }
3190
3177
 
3191
- // @public (undocumented)
3192
- export const Select: <K extends SelectItemOption>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
3193
-
3194
- export { SelectItemOption }
3195
-
3196
- // Warning: (ae-forgotten-export) The symbol "SelectNewHope" needs to be exported by the entry point index.d.ts
3178
+ // Warning: (ae-forgotten-export) The symbol "SelectProps" needs to be exported by the entry point index.d.ts
3197
3179
  //
3198
3180
  // @public (undocumented)
3199
- export type SelectProps<K extends SelectItemOption> = DistributiveOmit<SelectProps_2<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
3181
+ export const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
3200
3182
 
3201
3183
  // @public
3202
3184
  export const Sheet: FunctionComponent<PropsType< {
@@ -1161,6 +1161,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1161
1161
  hintContentLeft?: undefined;
1162
1162
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>))>;
1163
1163
  declare type PropsFromConfig = keyof typeof config['variations'];
1164
- export declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
1164
+ declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
1165
1165
  declare const Combobox: <T extends ItemOption>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
1166
1166
  export { Combobox };
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.js","sources":["../../src-css/components/Combobox/Combobox.tsx"],"sourcesContent":["import {\n comboboxNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ItemOption, ComboboxProps, DistributiveOmit, DistributivePick } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps } from 'react';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nconst ComboboxNew = component(mergedConfig);\n\ntype PropsFromConfig = keyof typeof config['variations'];\n\nexport type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> &\n DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;\n\nconst ComboboxComponent = <T extends ItemOption>(props: Props<T>, ref: React.ForwardedRef<HTMLInputElement>) => {\n return <ComboboxNew ref={ref} {...(props as any)} />;\n};\n\nconst Combobox = fixedForwardRef(ComboboxComponent);\n\nexport { Combobox };\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","ComboboxNew","component","ComboboxComponent","props","ref","React","createElement","_extends","Combobox","fixedForwardRef"],"mappings":";;;;;;;;;;;;;AAWA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,sBAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;AAO3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CAA0BC,KAAe,EAAEC,GAAyC,EAAK;AAC5G,EAAA,oBAAOC,sBAAA,CAAAC,aAAA,CAACN,WAAW,EAAAO,iCAAA,CAAA;AAACH,IAAAA,GAAG,EAAEA,GAAAA;GAAUD,EAAAA,KAAK,CAAW,CAAC,CAAA;AACxD,CAAC,CAAA;AAED,IAAMK,QAAQ,gBAAGC,6BAAe,CAACP,iBAAiB;;;;"}
1
+ {"version":3,"file":"Combobox.js","sources":["../../src-css/components/Combobox/Combobox.tsx"],"sourcesContent":["import {\n comboboxNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ItemOption, ComboboxProps, DistributiveOmit, DistributivePick } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps } from 'react';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nconst ComboboxNew = component(mergedConfig);\n\ntype PropsFromConfig = keyof typeof config['variations'];\n\ntype Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> &\n DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;\n\nconst ComboboxComponent = <T extends ItemOption>(props: Props<T>, ref: React.ForwardedRef<HTMLInputElement>) => {\n return <ComboboxNew ref={ref} {...(props as any)} />;\n};\n\nconst Combobox = fixedForwardRef(ComboboxComponent);\n\nexport { Combobox };\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","ComboboxNew","component","ComboboxComponent","props","ref","React","createElement","_extends","Combobox","fixedForwardRef"],"mappings":";;;;;;;;;;;;;AAWA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,sBAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;AAO3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CAA0BC,KAAe,EAAEC,GAAyC,EAAK;AAC5G,EAAA,oBAAOC,sBAAA,CAAAC,aAAA,CAACN,WAAW,EAAAO,iCAAA,CAAA;AAACH,IAAAA,GAAG,EAAEA,GAAAA;GAAUD,EAAAA,KAAK,CAAW,CAAC,CAAA;AACxD,CAAC,CAAA;AAED,IAAMK,QAAQ,gBAAGC,6BAAe,CAACP,iBAAiB;;;;"}
@@ -1,3 +1 @@
1
1
  export { Combobox } from './Combobox';
2
- export type { Props as ComboboxProps } from './Combobox';
3
- export type { ItemOption as ComboboxItemOption } from '@salutejs/plasma-new-hope';
@@ -1,44 +1,5 @@
1
1
  import type { DropdownItemOption, DropdownNewProps } from '@salutejs/plasma-new-hope';
2
- import React, { ComponentProps } from '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>, "size" | "view"> & 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 +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\nexport type 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
+ {"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,3 +1 @@
1
1
  export { Dropdown } from './Dropdown';
2
- export type { DropdownProps } from './Dropdown';
3
- export type { DropdownItemOption } from '@salutejs/plasma-new-hope';
@@ -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
- export declare type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
330
+ declare type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
331
331
  declare const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
332
332
  export { Select };
@@ -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 type {\n SelectProps as SelectPropsNewHope,\n ItemOptionSelect,\n DistributivePick,\n DistributiveOmit,\n} from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\n\nimport { config } from './Select.config';\n\nconst mergedConfig = mergeConfig(selectConfig, config);\nconst SelectNewHope = component(mergedConfig);\n\nexport type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<\n SelectPropsNewHope<K>,\n 'size' | 'view' | 'chipView' | 'disabled'\n> &\n DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;\n\nconst SelectComponent = <K extends ItemOptionSelect>(props: SelectProps<K>, ref: ForwardedRef<HTMLButtonElement>) => {\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,CAAgCC,KAAqB,EAAEC,GAAoC,EAAK;AACjH,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
+ {"version":3,"file":"Select.js","sources":["../../src-css/components/Select/Select.tsx"],"sourcesContent":["import { selectConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope';\nimport type {\n SelectProps as SelectPropsNewHope,\n ItemOptionSelect,\n DistributivePick,\n DistributiveOmit,\n} from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\n\nimport { config } from './Select.config';\n\nconst mergedConfig = mergeConfig(selectConfig, config);\nconst SelectNewHope = component(mergedConfig);\n\ntype SelectProps<K extends ItemOptionSelect> = DistributiveOmit<\n SelectPropsNewHope<K>,\n 'size' | 'view' | 'chipView' | 'disabled'\n> &\n DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;\n\nconst SelectComponent = <K extends ItemOptionSelect>(props: SelectProps<K>, ref: ForwardedRef<HTMLButtonElement>) => {\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,CAAgCC,KAAqB,EAAEC,GAAoC,EAAK;AACjH,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,3 +1 @@
1
1
  export { Select } from './Select';
2
- export type { SelectProps } from './Select';
3
- export type { ItemOptionSelect as SelectItemOption } from '@salutejs/plasma-new-hope';
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.js","sources":["../../../src-css/components/Combobox/Combobox.tsx"],"sourcesContent":["import {\n comboboxNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ItemOption, ComboboxProps, DistributiveOmit, DistributivePick } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps } from 'react';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nconst ComboboxNew = component(mergedConfig);\n\ntype PropsFromConfig = keyof typeof config['variations'];\n\nexport type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> &\n DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;\n\nconst ComboboxComponent = <T extends ItemOption>(props: Props<T>, ref: React.ForwardedRef<HTMLInputElement>) => {\n return <ComboboxNew ref={ref} {...(props as any)} />;\n};\n\nconst Combobox = fixedForwardRef(ComboboxComponent);\n\nexport { Combobox };\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","ComboboxNew","component","ComboboxComponent","props","ref","React","createElement","_extends","Combobox","fixedForwardRef"],"mappings":";;;;;AAWA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,iBAAiB,EAAEC,MAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,SAAS,CAACL,YAAY,CAAC,CAAA;AAO3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CAA0BC,KAAe,EAAEC,GAAyC,EAAK;AAC5G,EAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACN,WAAW,EAAAO,QAAA,CAAA;AAACH,IAAAA,GAAG,EAAEA,GAAAA;GAAUD,EAAAA,KAAK,CAAW,CAAC,CAAA;AACxD,CAAC,CAAA;AAED,IAAMK,QAAQ,gBAAGC,eAAe,CAACP,iBAAiB;;;;"}
1
+ {"version":3,"file":"Combobox.js","sources":["../../../src-css/components/Combobox/Combobox.tsx"],"sourcesContent":["import {\n comboboxNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ItemOption, ComboboxProps, DistributiveOmit, DistributivePick } from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps } from 'react';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nconst ComboboxNew = component(mergedConfig);\n\ntype PropsFromConfig = keyof typeof config['variations'];\n\ntype Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> &\n DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;\n\nconst ComboboxComponent = <T extends ItemOption>(props: Props<T>, ref: React.ForwardedRef<HTMLInputElement>) => {\n return <ComboboxNew ref={ref} {...(props as any)} />;\n};\n\nconst Combobox = fixedForwardRef(ComboboxComponent);\n\nexport { Combobox };\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","ComboboxNew","component","ComboboxComponent","props","ref","React","createElement","_extends","Combobox","fixedForwardRef"],"mappings":";;;;;AAWA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,iBAAiB,EAAEC,MAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,SAAS,CAACL,YAAY,CAAC,CAAA;AAO3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CAA0BC,KAAe,EAAEC,GAAyC,EAAK;AAC5G,EAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACN,WAAW,EAAAO,QAAA,CAAA;AAACH,IAAAA,GAAG,EAAEA,GAAAA;GAAUD,EAAAA,KAAK,CAAW,CAAC,CAAA;AACxD,CAAC,CAAA;AAED,IAAMK,QAAQ,gBAAGC,eAAe,CAACP,iBAAiB;;;;"}
@@ -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\nexport type 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
+ {"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 type {\n SelectProps as SelectPropsNewHope,\n ItemOptionSelect,\n DistributivePick,\n DistributiveOmit,\n} from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\n\nimport { config } from './Select.config';\n\nconst mergedConfig = mergeConfig(selectConfig, config);\nconst SelectNewHope = component(mergedConfig);\n\nexport type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<\n SelectPropsNewHope<K>,\n 'size' | 'view' | 'chipView' | 'disabled'\n> &\n DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;\n\nconst SelectComponent = <K extends ItemOptionSelect>(props: SelectProps<K>, ref: ForwardedRef<HTMLButtonElement>) => {\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,CAAgCC,KAAqB,EAAEC,GAAoC,EAAK;AACjH,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;;;;"}
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 type {\n SelectProps as SelectPropsNewHope,\n ItemOptionSelect,\n DistributivePick,\n DistributiveOmit,\n} from '@salutejs/plasma-new-hope';\nimport React, { ComponentProps, ForwardedRef } from 'react';\n\nimport { config } from './Select.config';\n\nconst mergedConfig = mergeConfig(selectConfig, config);\nconst SelectNewHope = component(mergedConfig);\n\ntype SelectProps<K extends ItemOptionSelect> = DistributiveOmit<\n SelectPropsNewHope<K>,\n 'size' | 'view' | 'chipView' | 'disabled'\n> &\n DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;\n\nconst SelectComponent = <K extends ItemOptionSelect>(props: SelectProps<K>, ref: ForwardedRef<HTMLButtonElement>) => {\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,CAAgCC,KAAqB,EAAEC,GAAoC,EAAK;AACjH,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/sdds-serv",
3
- "version": "0.243.0-canary.1736.13152101875.0",
3
+ "version": "0.243.0-canary.1749.13151026394.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS SERV web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  "directory": "packages/sdds-serv"
33
33
  },
34
34
  "dependencies": {
35
- "@salutejs/plasma-new-hope": "0.258.0-canary.1736.13152101875.0",
35
+ "@salutejs/plasma-new-hope": "0.257.0-dev.0",
36
36
  "@salutejs/sdds-themes": "0.31.0"
37
37
  },
38
38
  "peerDependencies": {
@@ -65,7 +65,7 @@
65
65
  "@salutejs/plasma-colors": "0.14.0",
66
66
  "@salutejs/plasma-core": "1.191.0",
67
67
  "@salutejs/plasma-cy-utils": "0.122.0",
68
- "@salutejs/plasma-icons": "1.210.1-dev.0",
68
+ "@salutejs/plasma-icons": "1.211.0-canary.1749.13151026394.0",
69
69
  "@salutejs/plasma-sb-utils": "0.191.0",
70
70
  "@storybook/addon-docs": "7.6.17",
71
71
  "@storybook/addon-essentials": "7.6.17",
@@ -136,5 +136,5 @@
136
136
  "sideEffects": [
137
137
  "*.css"
138
138
  ],
139
- "gitHead": "5e04af48405a21b7d902b0ff4dc24557fdb55227"
139
+ "gitHead": "3655e42ed2d6f598889648b69c349a1c71bb3979"
140
140
  }