@salutejs/sdds-cs 0.237.2-canary.1732.13046307319.0 → 0.237.2-canary.1732.13047023818.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -61,7 +61,8 @@ 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 type { ComboboxProps } from '@salutejs/plasma-new-hope';
64
+ import { ItemOption as ComboboxItemOption } from '@salutejs/plasma-new-hope';
65
+ import type { ComboboxProps as ComboboxProps_2 } from '@salutejs/plasma-new-hope';
65
66
  import { CommitInstanceCallback } from '@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types';
66
67
  import { ComponentProps } from 'react';
67
68
  import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -135,7 +136,6 @@ import { ImgHTMLAttributes } from 'react';
135
136
  import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
136
137
  import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
137
138
  import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
138
- import type { ItemOption } from '@salutejs/plasma-new-hope';
139
139
  import { JSXElementConstructor } from 'react';
140
140
  import { KeyboardEvent as KeyboardEvent_2 } from 'react';
141
141
  import { LabelProps } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
@@ -172,7 +172,7 @@ import { priceClasses } from '@salutejs/plasma-new-hope/styled-components';
172
172
  import { PriceProps } from '@salutejs/plasma-new-hope/types/components/Price/Price.types';
173
173
  import { ProgressProps } from '@salutejs/plasma-new-hope/styled-components';
174
174
  import { Property } from 'csstype';
175
- import { Props as Props_2 } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
175
+ import { Props } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
176
176
  import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
177
177
  import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
178
178
  import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components';
@@ -1281,10 +1281,16 @@ export { ColProps }
1281
1281
 
1282
1282
  export { ColSizeProps }
1283
1283
 
1284
- // Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
1284
+ // @public (undocumented)
1285
+ export const Combobox: <T extends ComboboxItemOption>(props: ComboboxProps<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1286
+
1287
+ export { ComboboxItemOption }
1288
+
1289
+ // Warning: (ae-forgotten-export) The symbol "PropsFromConfig" needs to be exported by the entry point index.d.ts
1290
+ // Warning: (ae-forgotten-export) The symbol "ComboboxNew" needs to be exported by the entry point index.d.ts
1285
1291
  //
1286
1292
  // @public (undocumented)
1287
- export const Combobox: <T extends ItemOption>(props: Props<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1293
+ export type ComboboxProps<T extends ComboboxItemOption> = DistributiveOmit<ComboboxProps_2<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
1288
1294
 
1289
1295
  // @public
1290
1296
  export const Counter: FunctionComponent<PropsType< {
@@ -1625,7 +1631,7 @@ m: PolymorphicClassName;
1625
1631
  s: PolymorphicClassName;
1626
1632
  xs: PolymorphicClassName;
1627
1633
  };
1628
- }> & Props_2 & RefAttributes<HTMLDivElement>>;
1634
+ }> & Props & RefAttributes<HTMLDivElement>>;
1629
1635
 
1630
1636
  // @public (undocumented)
1631
1637
  export const Flow: FunctionComponent<PropsType< {}> & FlowProps & {
@@ -1149,6 +1149,6 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1149
1149
  hintContentLeft?: undefined;
1150
1150
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & React.RefAttributes<HTMLInputElement>))>;
1151
1151
  declare type PropsFromConfig = keyof typeof config['variations'];
1152
- declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
1152
+ export declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
1153
1153
  declare const Combobox: <T extends ItemOption>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
1154
1154
  export { Combobox };
@@ -1 +1,3 @@
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-cs",
3
- "version": "0.237.2-canary.1732.13046307319.0",
3
+ "version": "0.237.2-canary.1732.13047023818.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS CS web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -123,5 +123,5 @@
123
123
  "Anton Vinogradov"
124
124
  ],
125
125
  "sideEffects": false,
126
- "gitHead": "986496e64b2373769ed02d341e703820d58dd4ac"
126
+ "gitHead": "98160d242a1f16d20447981735e089c1fc1affe4"
127
127
  }