@lynx-js/lynx-ui-button 3.139.0 → 3.142.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @lynx-js/lynx-ui-button
2
2
 
3
+ ## 3.142.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Accept React 18 and newer types. ReactLynx still defines the compatible versions for each app. ([#383](https://github.com/lynx-family/lynx-ui/pull/383))
8
+
9
+ - Updated dependencies [[`49cb3c5`](https://github.com/lynx-family/lynx-ui/commit/49cb3c5b20d9346ff0f8b314367b4c8e354d195d)]:
10
+ - @lynx-js/lynx-ui-common@3.142.0
11
+
3
12
  ## 3.139.0
4
13
 
5
14
  ### Patch Changes
@@ -1,2 +1,2 @@
1
- export * from './index.docs.js';
1
+ export type * from './index.docs.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAIA,mBAAmB,cAAc,CAAA"}
@@ -78,7 +78,7 @@ export interface ButtonRenderProps {
78
78
  /**
79
79
  * UI variants applied by Button based on its interactive status.
80
80
  * Use them as CSS selectors to style different states.
81
- * @zh Button 根据交互状态注入的 ui-variants,可用于 CSS selector 按状态定制样式。
81
+ * @zh Button 根据交互状态注入的 UI variants,可用于 CSS selector 按状态定制样式。
82
82
  */
83
83
  export interface ButtonUIVariants {
84
84
  /**
@@ -1 +1 @@
1
- export * from "./index.docs.jsx";
1
+ export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/lynx-ui-button",
3
- "version": "3.139.0",
3
+ "version": "3.142.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/lynx-family/lynx-ui.git",
@@ -27,7 +27,7 @@
27
27
  "dependencies": {
28
28
  "@lynx-js/react-use": "0.2.2",
29
29
  "clsx": "^2.1.1",
30
- "@lynx-js/lynx-ui-common": "3.139.0"
30
+ "@lynx-js/lynx-ui-common": "3.142.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@lynx-js/react": "0.123.1",
@@ -39,7 +39,7 @@
39
39
  "peerDependencies": {
40
40
  "@lynx-js/react": ">=0.100.0",
41
41
  "@lynx-js/types": "*",
42
- "@types/react": "^18"
42
+ "@types/react": ">=18"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"
@@ -91,7 +91,7 @@ export interface ButtonRenderProps {
91
91
  /**
92
92
  * UI variants applied by Button based on its interactive status.
93
93
  * Use them as CSS selectors to style different states.
94
- * @zh Button 根据交互状态注入的 ui-variants,可用于 CSS selector 按状态定制样式。
94
+ * @zh Button 根据交互状态注入的 UI variants,可用于 CSS selector 按状态定制样式。
95
95
  */
96
96
  export interface ButtonUIVariants {
97
97
  /**
@@ -2,4 +2,4 @@
2
2
  // Licensed under the Apache License Version 2.0 that can be found in the
3
3
  // LICENSE file in the root directory of this source tree.
4
4
 
5
- export * from './index.docs'
5
+ export type * from './index.docs'