@nutui/nutui-react 2.6.5 → 2.6.6

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.
package/dist/style.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v2.6.5 Fri May 17 2024 15:43:12 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v2.6.6 Fri May 24 2024 15:04:22 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1489,7 +1489,7 @@ $tag-success-background-color: var(
1489
1489
  ) !default;
1490
1490
  $tag-danger-background-color: var(
1491
1491
  --nutui-tag-danger-background-color,
1492
- $color-primary
1492
+ $color-danger
1493
1493
  ) !default;
1494
1494
  $tag-warning-background-color: var(
1495
1495
  --nutui-tag-warning-background-color,
@@ -29,7 +29,7 @@ export interface InputProps extends BasicComponent {
29
29
  * 输入框为空时占位符
30
30
  * @default -
31
31
  */
32
- placeholder: string
32
+ placeholder?: string
33
33
  /**
34
34
  * 输入框内容对齐方式,可选值 left、center、right
35
35
  * @default left
@@ -9,7 +9,7 @@ export interface InputProps extends BasicComponent {
9
9
  name: string;
10
10
  defaultValue?: string;
11
11
  value?: string;
12
- placeholder: string;
12
+ placeholder?: string;
13
13
  align: InputAlign;
14
14
  disabled: boolean;
15
15
  readOnly: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui-react",
3
- "version": "2.6.5",
3
+ "version": "2.6.6",
4
4
  "style": "dist/style.css",
5
5
  "main": "dist/nutui.react.umd.js",
6
6
  "module": "dist/esm/nutui-react.es.js",