@salutejs/sdds-cs 0.317.0-canary.1991.15256515100.0 → 0.317.0-canary.1993.15271190997.0

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.
Files changed (81) hide show
  1. package/components/Accordion/Accordion.d.ts +10 -9
  2. package/components/Attach/Attach.d.ts +159 -158
  3. package/components/Autocomplete/Autocomplete.d.ts +353 -352
  4. package/components/Avatar/Avatar.d.ts +47 -46
  5. package/components/AvatarGroup/AvatarGroup.d.ts +2 -1
  6. package/components/Badge/Badge.d.ts +41 -40
  7. package/components/Breadcrumbs/Breadcrumbs.d.ts +4 -3
  8. package/components/Button/Button.d.ts +71 -71
  9. package/components/ButtonGroup/ButtonGroup.d.ts +1 -0
  10. package/components/Calendar/CalendarBase.config.js +1 -1
  11. package/components/Calendar/CalendarDouble.config.js +1 -1
  12. package/components/Card/Card.d.ts +6 -5
  13. package/components/Cell/Cell.d.ts +20 -19
  14. package/components/Checkbox/Checkbox.d.ts +1 -1
  15. package/components/Chip/Chip.d.ts +1 -0
  16. package/components/ChipGroup/ChipGroup.d.ts +1 -0
  17. package/components/Combobox/Combobox.d.ts +951 -951
  18. package/components/Counter/Counter.d.ts +1 -0
  19. package/components/DatePicker/DatePicker.config.js +1 -1
  20. package/components/DatePicker/DatePicker.d.ts +54 -53
  21. package/components/Divider/Divider.d.ts +1 -0
  22. package/components/Drawer/Drawer.d.ts +19 -18
  23. package/components/Dropdown/Dropdown.d.ts +52 -52
  24. package/components/Dropzone/Dropzone.d.ts +16 -15
  25. package/components/EmptyState/EmptyState.d.ts +1 -0
  26. package/components/Flow/Flow.d.ts +2 -1
  27. package/components/Grid/Grid.d.ts +1 -0
  28. package/components/IconButton/IconButton.d.ts +36 -35
  29. package/components/Image/Image.d.ts +4 -3
  30. package/components/Indicator/Indicator.d.ts +1 -0
  31. package/components/Link/Link.d.ts +2 -1
  32. package/components/Mask/Mask.d.ts +225 -224
  33. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  34. package/components/NumberInput/NumberInput.d.ts +39 -38
  35. package/components/Pagination/Pagination.d.ts +1 -0
  36. package/components/Popover/Popover.d.ts +1 -0
  37. package/components/Price/Price.d.ts +1 -0
  38. package/components/Progress/Progress.d.ts +1 -0
  39. package/components/Radiobox/Radiobox.d.ts +1 -1
  40. package/components/Range/Range.d.ts +106 -105
  41. package/components/Rating/Rating.d.ts +14 -13
  42. package/components/Segment/Segment.d.ts +9 -8
  43. package/components/Select/Select.config.js +3 -3
  44. package/components/Select/Select.d.ts +244 -244
  45. package/components/Sheet/Sheet.d.ts +1 -0
  46. package/components/Skeleton/Skeleton.d.ts +5 -4
  47. package/components/Slider/Slider.d.ts +105 -96
  48. package/components/Spinner/Spinner.d.ts +14 -9
  49. package/components/Steps/Steps.d.ts +1 -0
  50. package/components/Switch/Switch.d.ts +1 -1
  51. package/components/Table/Table.d.ts +1 -0
  52. package/components/Tabs/TabItem.d.ts +23 -23
  53. package/components/Tabs/Tabs.d.ts +1 -1
  54. package/components/TextArea/TextArea.d.ts +206 -205
  55. package/components/TextField/TextField.d.ts +225 -224
  56. package/components/Toast/Toast.d.ts +1 -0
  57. package/components/ToastNew/ToastNew.d.ts +1 -1
  58. package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
  59. package/components/Tokens/Typography/Typography.styles.d.ts +24 -23
  60. package/components/Toolbar/Toolbar.d.ts +6 -5
  61. package/components/Tree/Tree.d.ts +1 -0
  62. package/components/Typography/Typography.d.ts +205 -204
  63. package/components/ViewContainer/ViewContainer.d.ts +1 -0
  64. package/emotion/cjs/components/Calendar/Calendar.stories.tsx +40 -32
  65. package/emotion/cjs/components/Calendar/CalendarBase.config.js +1 -1
  66. package/emotion/cjs/components/Calendar/CalendarDouble.config.js +1 -1
  67. package/emotion/cjs/components/DatePicker/DatePicker.config.js +1 -1
  68. package/emotion/cjs/components/DatePicker/DatePicker.stories.tsx +6 -0
  69. package/emotion/cjs/components/Select/Select.config.js +3 -3
  70. package/emotion/es/components/Calendar/Calendar.stories.tsx +40 -32
  71. package/emotion/es/components/Calendar/CalendarBase.config.js +1 -1
  72. package/emotion/es/components/Calendar/CalendarDouble.config.js +1 -1
  73. package/emotion/es/components/DatePicker/DatePicker.config.js +1 -1
  74. package/emotion/es/components/DatePicker/DatePicker.stories.tsx +6 -0
  75. package/emotion/es/components/Select/Select.config.js +3 -3
  76. package/es/components/Calendar/CalendarBase.config.js +1 -1
  77. package/es/components/Calendar/CalendarDouble.config.js +1 -1
  78. package/es/components/DatePicker/DatePicker.config.js +1 -1
  79. package/es/components/Select/Select.config.js +3 -3
  80. package/mixins/index.d.ts +2 -1
  81. package/package.json +8 -8
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Кнопка.
3
4
  */
@@ -10,33 +11,33 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
10
11
  xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
12
  };
12
13
  }> & (({
13
- size?: string;
14
- view?: string;
14
+ size?: string | undefined;
15
+ view?: string | undefined;
15
16
  contentLeft?: import("react").ReactNode;
16
17
  contentRight?: import("react").ReactNode;
17
- alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
18
- alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
19
- stretching?: "fixed" | "filled" | "auto";
18
+ alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
19
+ alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
20
+ stretching?: "fixed" | "auto" | "filled" | undefined;
20
21
  content?: import("react").ReactNode;
21
- description?: string;
22
+ description?: string | undefined;
22
23
  } & {
23
- title?: string;
24
- subtitle?: string;
25
- label?: string;
26
- children?: never;
24
+ title?: string | undefined;
25
+ subtitle?: string | undefined;
26
+ label?: string | undefined;
27
+ children?: undefined;
27
28
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
28
- size?: string;
29
- view?: string;
29
+ size?: string | undefined;
30
+ view?: string | undefined;
30
31
  contentLeft?: import("react").ReactNode;
31
32
  contentRight?: import("react").ReactNode;
32
- alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
33
- alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
34
- stretching?: "fixed" | "filled" | "auto";
33
+ alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
34
+ alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
35
+ stretching?: "fixed" | "auto" | "filled" | undefined;
35
36
  content?: import("react").ReactNode;
36
- description?: string;
37
+ description?: string | undefined;
37
38
  } & {
38
- title?: never;
39
- subtitle?: never;
40
- label?: never;
39
+ title?: undefined;
40
+ subtitle?: undefined;
41
+ label?: undefined;
41
42
  children?: import("react").ReactNode;
42
43
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
@@ -13,7 +13,7 @@ declare const CheckboxComponent: import("react").FunctionComponent<import("@salu
13
13
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
14
  };
15
15
  }> & import("@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
16
- export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
16
+ export declare type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
17
17
  /**
18
18
  * Флажок или чекбокс. Позволяет пользователю управлять параметром с двумя состояниями — ☑ включено и ☐ отключено.
19
19
  */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Компонент chip.
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const ChipGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
2
3
  view: {
3
4
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;