@salutejs/plasma-web 1.492.0-canary.1681.12494238870.0 → 1.492.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-web",
3
- "version": "1.492.0-canary.1681.12494238870.0",
3
+ "version": "1.492.0-canary.1681.12503763792.0",
4
4
  "description": "Salute Design System / React UI kit for web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -19,14 +19,14 @@
19
19
  "directory": "packages/plasma-web"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-core": "1.190.0-dev.0",
23
- "@salutejs/plasma-hope": "1.327.0-dev.0",
24
- "@salutejs/plasma-new-hope": "0.236.0-canary.1681.12494238870.0",
25
- "@salutejs/plasma-themes": "0.28.0-dev.0",
26
- "@salutejs/plasma-tokens-b2b": "1.43.1-dev.0",
27
- "@salutejs/plasma-tokens-b2c": "0.54.1-dev.0",
28
- "@salutejs/plasma-tokens-web": "1.59.1-dev.0",
29
- "@salutejs/plasma-typo": "0.40.1-dev.0"
22
+ "@salutejs/plasma-core": "1.191.0-canary.1681.12503763792.0",
23
+ "@salutejs/plasma-hope": "1.328.0-canary.1681.12503763792.0",
24
+ "@salutejs/plasma-new-hope": "0.236.0-canary.1681.12503763792.0",
25
+ "@salutejs/plasma-themes": "0.28.0",
26
+ "@salutejs/plasma-tokens-b2b": "1.44.0",
27
+ "@salutejs/plasma-tokens-b2c": "0.56.0-canary.1681.12503763792.0",
28
+ "@salutejs/plasma-tokens-web": "1.61.0-canary.1681.12503763792.0",
29
+ "@salutejs/plasma-typo": "0.41.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@salutejs/plasma-icons": "^1.0.0",
@@ -48,10 +48,10 @@
48
48
  "@rollup/plugin-babel": "6.0.4",
49
49
  "@rollup/plugin-commonjs": "25.0.7",
50
50
  "@rollup/plugin-node-resolve": "15.2.3",
51
- "@salutejs/plasma-colors": "0.13.1-dev.0",
52
- "@salutejs/plasma-cy-utils": "0.121.0-dev.0",
53
- "@salutejs/plasma-icons": "1.210.0-dev.0",
54
- "@salutejs/plasma-sb-utils": "0.189.0-dev.0",
51
+ "@salutejs/plasma-colors": "0.14.0",
52
+ "@salutejs/plasma-cy-utils": "0.122.0-canary.1681.12503763792.0",
53
+ "@salutejs/plasma-icons": "1.210.0",
54
+ "@salutejs/plasma-sb-utils": "0.190.0-canary.1681.12503763792.0",
55
55
  "@storybook/addon-docs": "7.6.17",
56
56
  "@storybook/addon-essentials": "7.6.17",
57
57
  "@storybook/addons": "7.6.17",
@@ -111,5 +111,5 @@
111
111
  "Fanil Zubairov"
112
112
  ],
113
113
  "sideEffects": false,
114
- "gitHead": "cad98e4d797935f40a9a3386ae7c7325512f6954"
114
+ "gitHead": "2633f07e55f076ef03ffbd476d73e6f5f341789a"
115
115
  }
@@ -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';
@@ -2975,6 +2977,37 @@ export { monthLongName }
2975
2977
 
2976
2978
  export { monthShortName }
2977
2979
 
2980
+ // @public (undocumented)
2981
+ export const Note: FunctionComponent<PropsType< {
2982
+ view: {
2983
+ default: PolymorphicClassName;
2984
+ positive: PolymorphicClassName;
2985
+ warning: PolymorphicClassName;
2986
+ negative: PolymorphicClassName;
2987
+ info: PolymorphicClassName;
2988
+ };
2989
+ size: {
2990
+ l: PolymorphicClassName;
2991
+ m: PolymorphicClassName;
2992
+ s: PolymorphicClassName;
2993
+ xs: PolymorphicClassName;
2994
+ };
2995
+ }> & {
2996
+ title?: string | undefined;
2997
+ text?: string | undefined;
2998
+ contentBefore?: ReactNode;
2999
+ contentBeforeSizing?: "fixed" | "scalable" | undefined;
3000
+ stretch?: boolean | undefined;
3001
+ width?: string | number | undefined;
3002
+ height?: string | number | undefined;
3003
+ view?: string | undefined;
3004
+ size?: string | undefined;
3005
+ } & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
3006
+
3007
+ export { noteClasses }
3008
+
3009
+ export { noteTokens }
3010
+
2978
3011
  // @public (undocumented)
2979
3012
  const Notification_2: React_2.FunctionComponent<PropsType< {
2980
3013
  view: {