maquinaweb-ui 2.4.0 → 2.6.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.
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, ElementType } from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/container-animation/container-animation.d.ts
5
5
  type ContainerAnimationProps<T extends ElementType = 'div'> = ComponentProps<'div'> & ComponentProps<T> & {
@@ -23,7 +23,7 @@ declare const ContainerAnimation: <T extends ElementType = "div">({
23
23
  distance,
24
24
  hideNotInView,
25
25
  ...props
26
- }: ContainerAnimationProps<T>) => react_jsx_runtime0.JSX.Element;
26
+ }: ContainerAnimationProps<T>) => react_jsx_runtime2.JSX.Element;
27
27
  //#endregion
28
28
  export { ContainerAnimation, type ContainerAnimationProps };
29
29
  //# sourceMappingURL=container-animation.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,8 +1,26 @@
1
- /// <reference path="./global.d.ts" />
2
-
3
- // This file loads global type declarations for IDE auto-import support.
1
+ // Auto-generated type declarations for IDE auto-import support
4
2
  // Components must be imported from their specific subpaths:
5
3
  // Example: import { SplitTextPoor } from 'maquinaweb-ui/split-text-poor'
6
4
  //
7
5
  // DO NOT import from 'maquinaweb-ui' directly - there is no default export.
8
6
  // The package exports only subpaths for optimal tree-shaking.
7
+
8
+ // Module declarations for auto-import discovery
9
+ declare module "maquinaweb-ui/text-field" {
10
+ export { InputText } from "maquinaweb-ui/dist/text-field";
11
+ export { InputTextProps } from "maquinaweb-ui/dist/text-field";
12
+ export { QueryTextField } from "maquinaweb-ui/dist/text-field";
13
+ export { QueryTextFieldProps } from "maquinaweb-ui/dist/text-field";
14
+ export { TextField } from "maquinaweb-ui/dist/text-field";
15
+ export { TextFieldProps } from "maquinaweb-ui/dist/text-field";
16
+ }
17
+
18
+ declare module "maquinaweb-ui/container-animation" {
19
+ export { ContainerAnimation } from "maquinaweb-ui/dist/container-animation";
20
+ export { ContainerAnimationProps } from "maquinaweb-ui/dist/container-animation";
21
+ }
22
+
23
+ declare module "maquinaweb-ui/split-text-poor" {
24
+ export { SplitTextPoor } from "maquinaweb-ui/dist/split-text-poor";
25
+ export { SplitTextPoorProps } from "maquinaweb-ui/dist/split-text-poor";
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maquinaweb-ui",
3
- "version": "2.4.0",
3
+ "version": "2.6.0",
4
4
  "description": "A minimal React component library",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -112,6 +112,7 @@
112
112
  },
113
113
  "main": "./dist/index.d.ts",
114
114
  "types": "./dist/index.d.ts",
115
+ "typings": "./dist/index.d.ts",
115
116
  "typesVersions": {
116
117
  "*": {
117
118
  "text-field": [
package/dist/global.d.ts DELETED
@@ -1,20 +0,0 @@
1
- // Auto-generated global type declarations for IDE auto-import
2
- // These module declarations allow TypeScript/IDEs to discover exports automatically
3
- declare module "maquinaweb-ui/text-field" {
4
- export { InputText } from "maquinaweb-ui/dist/text-field";
5
- export { InputTextProps } from "maquinaweb-ui/dist/text-field";
6
- export { QueryTextField } from "maquinaweb-ui/dist/text-field";
7
- export { QueryTextFieldProps } from "maquinaweb-ui/dist/text-field";
8
- export { TextField } from "maquinaweb-ui/dist/text-field";
9
- export { TextFieldProps } from "maquinaweb-ui/dist/text-field";
10
- }
11
-
12
- declare module "maquinaweb-ui/container-animation" {
13
- export { ContainerAnimation } from "maquinaweb-ui/dist/container-animation";
14
- export { ContainerAnimationProps } from "maquinaweb-ui/dist/container-animation";
15
- }
16
-
17
- declare module "maquinaweb-ui/split-text-poor" {
18
- export { SplitTextPoor } from "maquinaweb-ui/dist/split-text-poor";
19
- export { SplitTextPoorProps } from "maquinaweb-ui/dist/split-text-poor";
20
- }