@salutejs/plasma-b2c 1.490.0-canary.1681.12494238870.0 → 1.490.0-canary.1681.12503763792.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ export { Note } from './Note';
2
+ export { noteTokens, noteClasses } from '@salutejs/plasma-new-hope/styled-components';
package/es/index.js CHANGED
@@ -75,4 +75,5 @@ export * from './components/ChipGroup';
75
75
  export * from './components/NumberInput';
76
76
  export * from './components/Dropzone';
77
77
  export * from './components/Rating';
78
- export * from './components/Tree';
78
+ export * from './components/Tree';
79
+ export * from './components/Note';
package/index.d.ts CHANGED
@@ -76,3 +76,4 @@ export * from './components/NumberInput';
76
76
  export * from './components/Dropzone';
77
77
  export * from './components/Rating';
78
78
  export * from './components/Tree';
79
+ export * from './components/Note';
package/index.js CHANGED
@@ -860,4 +860,15 @@ Object.keys(_Tree).forEach(function (key) {
860
860
  return _Tree[key];
861
861
  }
862
862
  });
863
+ });
864
+ var _Note = /*#__PURE__*/require("./components/Note");
865
+ Object.keys(_Note).forEach(function (key) {
866
+ if (key === "default" || key === "__esModule") return;
867
+ if (key in exports && exports[key] === _Note[key]) return;
868
+ Object.defineProperty(exports, key, {
869
+ enumerable: true,
870
+ get: function get() {
871
+ return _Note[key];
872
+ }
873
+ });
863
874
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-b2c",
3
- "version": "1.490.0-canary.1681.12494238870.0",
3
+ "version": "1.490.0-canary.1681.12503763792.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",
@@ -42,13 +42,13 @@
42
42
  "atLeast": 99.97
43
43
  },
44
44
  "dependencies": {
45
- "@salutejs/plasma-core": "1.190.0-dev.0",
46
- "@salutejs/plasma-hope": "1.327.0-dev.0",
47
- "@salutejs/plasma-new-hope": "0.236.0-canary.1681.12494238870.0",
48
- "@salutejs/plasma-themes": "0.28.0-dev.0",
49
- "@salutejs/plasma-tokens-b2c": "0.54.1-dev.0",
50
- "@salutejs/plasma-tokens-web": "1.59.1-dev.0",
51
- "@salutejs/plasma-typo": "0.40.1-dev.0"
45
+ "@salutejs/plasma-core": "1.191.0-canary.1681.12503763792.0",
46
+ "@salutejs/plasma-hope": "1.328.0-canary.1681.12503763792.0",
47
+ "@salutejs/plasma-new-hope": "0.236.0-canary.1681.12503763792.0",
48
+ "@salutejs/plasma-themes": "0.28.0",
49
+ "@salutejs/plasma-tokens-b2c": "0.56.0-canary.1681.12503763792.0",
50
+ "@salutejs/plasma-tokens-web": "1.61.0-canary.1681.12503763792.0",
51
+ "@salutejs/plasma-typo": "0.41.0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@salutejs/plasma-icons": "^1.0.0",
@@ -70,10 +70,10 @@
70
70
  "@rollup/plugin-babel": "6.0.4",
71
71
  "@rollup/plugin-commonjs": "25.0.7",
72
72
  "@rollup/plugin-node-resolve": "15.2.3",
73
- "@salutejs/plasma-colors": "0.13.1-dev.0",
74
- "@salutejs/plasma-cy-utils": "0.121.0-dev.0",
75
- "@salutejs/plasma-icons": "1.210.0-dev.0",
76
- "@salutejs/plasma-sb-utils": "0.189.0-dev.0",
73
+ "@salutejs/plasma-colors": "0.14.0",
74
+ "@salutejs/plasma-cy-utils": "0.122.0-canary.1681.12503763792.0",
75
+ "@salutejs/plasma-icons": "1.210.0",
76
+ "@salutejs/plasma-sb-utils": "0.190.0-canary.1681.12503763792.0",
77
77
  "@storybook/addon-docs": "7.6.17",
78
78
  "@storybook/addon-essentials": "7.6.17",
79
79
  "@storybook/addon-knobs": "7.0.2",
@@ -108,5 +108,5 @@
108
108
  "react"
109
109
  ],
110
110
  "sideEffects": false,
111
- "gitHead": "cad98e4d797935f40a9a3386ae7c7325512f6954"
111
+ "gitHead": "2633f07e55f076ef03ffbd476d73e6f5f341789a"
112
112
  }
@@ -191,6 +191,8 @@ import { ModalView } from '@salutejs/plasma-hope';
191
191
  import { monthLongName } from '@salutejs/plasma-core';
192
192
  import { monthShortName } from '@salutejs/plasma-core';
193
193
  import { MouseEvent as MouseEvent_2 } from 'react';
194
+ import { noteClasses } from '@salutejs/plasma-new-hope/styled-components';
195
+ import { noteTokens } from '@salutejs/plasma-new-hope/styled-components';
194
196
  import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
195
197
  import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
196
198
  import { NotificationPlacement } from '@salutejs/plasma-new-hope/styled-components';
@@ -2973,6 +2975,37 @@ export { monthLongName }
2973
2975
 
2974
2976
  export { monthShortName }
2975
2977
 
2978
+ // @public (undocumented)
2979
+ export const Note: FunctionComponent<PropsType< {
2980
+ view: {
2981
+ default: PolymorphicClassName;
2982
+ positive: PolymorphicClassName;
2983
+ warning: PolymorphicClassName;
2984
+ negative: PolymorphicClassName;
2985
+ info: PolymorphicClassName;
2986
+ };
2987
+ size: {
2988
+ l: PolymorphicClassName;
2989
+ m: PolymorphicClassName;
2990
+ s: PolymorphicClassName;
2991
+ xs: PolymorphicClassName;
2992
+ };
2993
+ }> & {
2994
+ title?: string | undefined;
2995
+ text?: string | undefined;
2996
+ contentBefore?: ReactNode;
2997
+ contentBeforeSizing?: "fixed" | "scalable" | undefined;
2998
+ stretch?: boolean | undefined;
2999
+ width?: string | number | undefined;
3000
+ height?: string | number | undefined;
3001
+ view?: string | undefined;
3002
+ size?: string | undefined;
3003
+ } & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
3004
+
3005
+ export { noteClasses }
3006
+
3007
+ export { noteTokens }
3008
+
2976
3009
  // @public (undocumented)
2977
3010
  const Notification_2: React_2.FunctionComponent<PropsType< {
2978
3011
  view: {