@salutejs/sdds-cs 0.316.0-canary.1967.15065564602.0 → 0.316.0-canary.1967.15176713247.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.
@@ -17,7 +17,7 @@ export declare const Rating: import("react").FunctionComponent<import("@salutejs
17
17
  iconSlotOutline?: import("react").ReactNode;
18
18
  iconSlotHalf?: import("react").ReactNode;
19
19
  hasIcons?: boolean | undefined;
20
- iconQuantity?: 1 | 10 | 5 | undefined;
20
+ iconQuantity?: 1 | 5 | 10 | undefined;
21
21
  helperText?: string | undefined;
22
22
  helperTextStretching?: "fixed" | "filled" | undefined;
23
23
  size?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  import React, { useCallback, useRef, useState } from 'react';
2
2
  import type { ComponentProps } from 'react';
3
3
  import type { StoryObj, Meta } from '@storybook/react';
4
- import { IconSber } from '@salutejs/plasma-icons';
4
+ import { IconDisclosureRight, IconSber } from '@salutejs/plasma-icons';
5
5
  import { disableProps, InSpacingDecorator } from '@salutejs/plasma-sb-utils';
6
6
  import { action } from '@storybook/addon-actions';
7
7
 
@@ -139,7 +139,14 @@ type StoryLiveDemoProps = ComponentProps<typeof Notification> & {
139
139
  const StoryLiveDemo = ({ timeout, placement, ...rest }: StoryLiveDemoProps) => {
140
140
  const count = useRef(0);
141
141
  const handleClick = useCallback(() => {
142
- addNotification({ icon: <IconSber />, ...rest, ...getNotificationProps(count.current) }, timeout);
142
+ addNotification(
143
+ {
144
+ icon: <IconDisclosureRight color="inherit" />,
145
+ ...rest,
146
+ ...getNotificationProps(count.current),
147
+ },
148
+ timeout,
149
+ );
143
150
  count.current++;
144
151
  }, [count, rest]);
145
152
 
@@ -170,6 +177,8 @@ export const LiveDemo: StoryObj<StoryLiveDemoProps> = {
170
177
  role: 'alert',
171
178
  layout: 'vertical',
172
179
  placement: 'bottom-right',
180
+ width: '',
181
+ maxWidth: '',
173
182
  },
174
183
  render: (args) => <StoryLiveDemo {...args} />,
175
184
  };
@@ -164,7 +164,7 @@ export const Default: StoryObj<StoryPropsDefault> = {
164
164
  fixedDecimalScale: false,
165
165
  allowNegative: true,
166
166
  allowLeadingZeros: false,
167
- size: 'l',
167
+ size: 's',
168
168
  view: 'default',
169
169
  label: 'Лейбл',
170
170
  labelPlacement: 'outer',
@@ -1,7 +1,7 @@
1
1
  import React, { useCallback, useRef, useState } from 'react';
2
2
  import type { ComponentProps } from 'react';
3
3
  import type { StoryObj, Meta } from '@storybook/react';
4
- import { IconSber } from '@salutejs/plasma-icons';
4
+ import { IconDisclosureRight, IconSber } from '@salutejs/plasma-icons';
5
5
  import { disableProps, InSpacingDecorator } from '@salutejs/plasma-sb-utils';
6
6
  import { action } from '@storybook/addon-actions';
7
7
 
@@ -139,7 +139,14 @@ type StoryLiveDemoProps = ComponentProps<typeof Notification> & {
139
139
  const StoryLiveDemo = ({ timeout, placement, ...rest }: StoryLiveDemoProps) => {
140
140
  const count = useRef(0);
141
141
  const handleClick = useCallback(() => {
142
- addNotification({ icon: <IconSber />, ...rest, ...getNotificationProps(count.current) }, timeout);
142
+ addNotification(
143
+ {
144
+ icon: <IconDisclosureRight color="inherit" />,
145
+ ...rest,
146
+ ...getNotificationProps(count.current),
147
+ },
148
+ timeout,
149
+ );
143
150
  count.current++;
144
151
  }, [count, rest]);
145
152
 
@@ -170,6 +177,8 @@ export const LiveDemo: StoryObj<StoryLiveDemoProps> = {
170
177
  role: 'alert',
171
178
  layout: 'vertical',
172
179
  placement: 'bottom-right',
180
+ width: '',
181
+ maxWidth: '',
173
182
  },
174
183
  render: (args) => <StoryLiveDemo {...args} />,
175
184
  };
@@ -164,7 +164,7 @@ export const Default: StoryObj<StoryPropsDefault> = {
164
164
  fixedDecimalScale: false,
165
165
  allowNegative: true,
166
166
  allowLeadingZeros: false,
167
- size: 'l',
167
+ size: 's',
168
168
  view: 'default',
169
169
  label: 'Лейбл',
170
170
  labelPlacement: 'outer',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-cs",
3
- "version": "0.316.0-canary.1967.15065564602.0",
3
+ "version": "0.316.0-canary.1967.15176713247.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",
@@ -30,7 +30,7 @@
30
30
  "directory": "packages/sdds-cs"
31
31
  },
32
32
  "dependencies": {
33
- "@salutejs/plasma-new-hope": "0.324.0-canary.1967.15065564602.0",
33
+ "@salutejs/plasma-new-hope": "0.324.0-canary.1967.15176713247.0",
34
34
  "@salutejs/sdds-themes": "0.36.0"
35
35
  },
36
36
  "peerDependencies": {
@@ -123,5 +123,5 @@
123
123
  "Anton Vinogradov"
124
124
  ],
125
125
  "sideEffects": false,
126
- "gitHead": "1c0673275c25bc936b677d81d7d8181d2bd2b107"
126
+ "gitHead": "eee260124a6a8cc14e5211b5c1b05d72ef00bccc"
127
127
  }