@lynx-js/lynx-ui-switch 3.135.4 → 3.137.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,21 @@
1
1
  # @lynx-js/lynx-ui-switch
2
2
 
3
+ ## 3.137.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Emit declaration imports with explicit ESM-compatible paths. ([#280](https://github.com/lynx-family/lynx-ui/pull/280))
8
+
9
+ - Updated dependencies [[`064ea4e`](https://github.com/lynx-family/lynx-ui/commit/064ea4e49cd3d0ac5754519cbee43d8ab3040024)]:
10
+ - @lynx-js/lynx-ui-common@3.137.0
11
+
12
+ ## 3.136.0
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [[`0257f8b`](https://github.com/lynx-family/lynx-ui/commit/0257f8bc9fbe6b8a51df00663c7860827ce468b2)]:
17
+ - @lynx-js/lynx-ui-common@3.136.0
18
+
3
19
  ## 3.135.4
4
20
 
5
21
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { Switch, SwitchThumb, SwitchTrack } from './switch';
2
- export type { SwitchProps, SwitchThumbProps, SwitchTrackProps, SwitchRenderProps, } from './types';
1
+ export { Switch, SwitchThumb, SwitchTrack } from './switch.js';
2
+ export type { SwitchProps, SwitchThumbProps, SwitchTrackProps, SwitchRenderProps, } from './types/index.js';
3
3
  //# sourceMappingURL=index.d.ts.map
package/dist/switch.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from '@lynx-js/react';
2
- import type { SwitchProps, SwitchThumbProps, SwitchTrackProps } from './types';
2
+ import type { SwitchProps, SwitchThumbProps, SwitchTrackProps } from './types/index.js';
3
3
  declare function Switch({ style, className, children, onChange, checked: checkedProp, defaultChecked, disabled, switchProps, }: SwitchProps): ReactNode;
4
4
  declare function SwitchThumb(props: SwitchThumbProps): ReactNode;
5
5
  declare function SwitchTrack(props: SwitchTrackProps): ReactNode;
@@ -1,2 +1,2 @@
1
- export type * from './index.docs';
1
+ export type * from './index.docs.js';
2
2
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/lynx-ui-switch",
3
- "version": "3.135.4",
3
+ "version": "3.137.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.135.4"
30
+ "@lynx-js/lynx-ui-common": "3.137.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@lynx-js/react": "0.123.1",
package/tsconfig.json CHANGED
@@ -6,4 +6,9 @@
6
6
  "include": [
7
7
  "src",
8
8
  ],
9
+ "exclude": [
10
+ "**/*.test.ts",
11
+ "**/*.test.tsx",
12
+ "**/__tests__/**",
13
+ ],
9
14
  }