@salutejs/plasma-new-hope 0.70.0-canary.1160.8541256541.0 → 0.70.0-canary.1160.8552305660.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.70.0-canary.1160.8541256541.0",
3
+ "version": "0.70.0-canary.1160.8552305660.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -102,5 +102,5 @@
102
102
  "react-popper": "2.3.0",
103
103
  "storeon": "3.1.5"
104
104
  },
105
- "gitHead": "a7e2c0ff7afbd1e55280d97c0e5a49cf9ca92959"
105
+ "gitHead": "0ac942742e2e134122fc4cee0ff92791c703c145"
106
106
  }
@@ -82,8 +82,8 @@ const StoryDefault = ({
82
82
  <TextField
83
83
  {...rest}
84
84
  value={text}
85
- contentLeft={enableContentLeft ? <IconPlaceholder /> : undefined}
86
- contentRight={enableContentRight ? <IconPlaceholder /> : undefined}
85
+ contentLeft={enableContentLeft ? <IconPlaceholder size={rest.size} /> : undefined}
86
+ contentRight={enableContentRight ? <IconPlaceholder size={rest.size} /> : undefined}
87
87
  view={view}
88
88
  onChange={(e) => {
89
89
  setText(e.target.value);
@@ -82,12 +82,12 @@ const StoryDefault = ({
82
82
  <TextField
83
83
  {...rest}
84
84
  value={text}
85
- contentLeft={enableContentLeft ? <IconPlaceholder /> : undefined}
86
- contentRight={enableContentRight ? <IconPlaceholder /> : undefined}
85
+ contentLeft={enableContentLeft ? <IconPlaceholder size={rest.size} /> : undefined}
86
+ contentRight={enableContentRight ? <IconPlaceholder size={rest.size} /> : undefined}
87
87
  view={view}
88
- onChange={(_, value) => {
89
- setText(value);
90
- onChange(value);
88
+ onChange={(e) => {
89
+ setText(e.target.value);
90
+ onChange(e.target.value);
91
91
  }}
92
92
  onFocus={onFocus}
93
93
  onBlur={onBlur}
@@ -82,12 +82,12 @@ const StoryDefault = ({
82
82
  <TextField
83
83
  {...rest}
84
84
  value={text}
85
- contentLeft={enableContentLeft ? <IconPlaceholder /> : undefined}
86
- contentRight={enableContentRight ? <IconPlaceholder /> : undefined}
85
+ contentLeft={enableContentLeft ? <IconPlaceholder size={rest.size} /> : undefined}
86
+ contentRight={enableContentRight ? <IconPlaceholder size={rest.size} /> : undefined}
87
87
  view={view}
88
- onChange={(_, value) => {
89
- setText(value);
90
- onChange(value);
88
+ onChange={(e) => {
89
+ setText(e.target.value);
90
+ onChange(e.target.value);
91
91
  }}
92
92
  onFocus={onFocus}
93
93
  onBlur={onBlur}
@@ -82,8 +82,8 @@ const StoryDefault = ({
82
82
  <TextField
83
83
  {...rest}
84
84
  value={text}
85
- contentLeft={enableContentLeft ? <IconPlaceholder /> : undefined}
86
- contentRight={enableContentRight ? <IconPlaceholder /> : undefined}
85
+ contentLeft={enableContentLeft ? <IconPlaceholder size={rest.size} /> : undefined}
86
+ contentRight={enableContentRight ? <IconPlaceholder size={rest.size} /> : undefined}
87
87
  view={view}
88
88
  onChange={(e) => {
89
89
  setText(e.target.value);
@@ -82,12 +82,12 @@ const StoryDefault = ({
82
82
  <TextField
83
83
  {...rest}
84
84
  value={text}
85
- contentLeft={enableContentLeft ? <IconPlaceholder /> : undefined}
86
- contentRight={enableContentRight ? <IconPlaceholder /> : undefined}
85
+ contentLeft={enableContentLeft ? <IconPlaceholder size={rest.size} /> : undefined}
86
+ contentRight={enableContentRight ? <IconPlaceholder size={rest.size} /> : undefined}
87
87
  view={view}
88
- onChange={(_, value) => {
89
- setText(value);
90
- onChange(value);
88
+ onChange={(e) => {
89
+ setText(e.target.value);
90
+ onChange(e.target.value);
91
91
  }}
92
92
  onFocus={onFocus}
93
93
  onBlur={onBlur}
@@ -82,12 +82,12 @@ const StoryDefault = ({
82
82
  <TextField
83
83
  {...rest}
84
84
  value={text}
85
- contentLeft={enableContentLeft ? <IconPlaceholder /> : undefined}
86
- contentRight={enableContentRight ? <IconPlaceholder /> : undefined}
85
+ contentLeft={enableContentLeft ? <IconPlaceholder size={rest.size} /> : undefined}
86
+ contentRight={enableContentRight ? <IconPlaceholder size={rest.size} /> : undefined}
87
87
  view={view}
88
- onChange={(_, value) => {
89
- setText(value);
90
- onChange(value);
88
+ onChange={(e) => {
89
+ setText(e.target.value);
90
+ onChange(e.target.value);
91
91
  }}
92
92
  onFocus={onFocus}
93
93
  onBlur={onBlur}