@agencecinq/utils 2.0.2 → 2.0.3

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,13 +1,13 @@
1
1
 
2
2
  
3
- > @agencecinq/utils@2.0.1 build /Users/19h47/Sites/agencecinq-shopify/packages/utils
3
+ > @agencecinq/utils@2.0.3 build /Users/19h47/Sites/agencecinq-shopify/packages/utils
4
4
  > vite build
5
5
 
6
6
  vite v7.3.1 building client environment for production...
7
- transforming (1) src/index.tstransforming (3) src/events.ts✓ 7 modules transformed.
7
+ transforming (1) src/index.tstransforming (2) src/events.ts✓ 7 modules transformed.
8
8
  rendering chunks (1)...
9
9
  [vite:dts] Start generate declaration files...
10
10
  computing gzip size (0)...computing gzip size (1)...dist/index.js 3.28 kB │ gzip: 1.52 kB
11
- [vite:dts] Declaration files built in 2669ms.
11
+ [vite:dts] Declaration files built in 5578ms.
12
12
  
13
- ✓ built in 3.22s
13
+ ✓ built in 6.11s
@@ -17,3 +17,4 @@ declare const breakpoints: {
17
17
  };
18
18
  declare const production: boolean;
19
19
  export { html, body, isDebug, scroll, mouse, breakpoints, production };
20
+ //# sourceMappingURL=environment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../src/environment.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI,aAA2B,CAAC;AACtC,QAAA,MAAQ,IAAI,aAAa,CAAC;AAC1B,QAAA,MAAM,OAAO,SAAkC,CAAC;AAEhD,QAAA,MAAM,MAAM;;;CAGX,CAAC;AAEF,QAAA,MAAM,KAAK;;;CAGV,CAAC;AAWF,QAAA,MAAM,WAAW;;;;;CAKhB,CAAC;AAEF,QAAA,MAAM,UAAU,SAAuB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC"}
package/dist/events.d.ts CHANGED
@@ -6,3 +6,4 @@ export declare const EVENTS: {
6
6
  VARIANT_CHANGE: string;
7
7
  };
8
8
  export type EventNames = typeof EVENTS[keyof typeof EVENTS];
9
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;CAMlB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,OAAO,MAAM,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC"}
@@ -2,3 +2,4 @@ declare function getFocusableElements(container: HTMLElement): HTMLElement[];
2
2
  declare function addTrapFocus(container: HTMLElement, elementToFocus?: HTMLElement): void;
3
3
  declare function removeTrapFocus(elementToFocus?: HTMLElement | null): void;
4
4
  export { addTrapFocus, removeTrapFocus, getFocusableElements };
5
+ //# sourceMappingURL=focus-trap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"focus-trap.d.ts","sourceRoot":"","sources":["../src/focus-trap.ts"],"names":[],"mappings":"AAaA,iBAAS,oBAAoB,CAAC,SAAS,EAAE,WAAW,GAAG,WAAW,EAAE,CAkBnE;AAED,iBAAS,YAAY,CAAC,SAAS,EAAE,WAAW,EAAE,cAAc,GAAE,WAAuB,GAAG,IAAI,CAyC3F;AAED,iBAAS,eAAe,CAAC,cAAc,GAAE,WAAW,GAAG,IAAW,GAAG,IAAI,CAQxE;AAED,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -4,3 +4,4 @@ export * from './throttle';
4
4
  export * from './environment';
5
5
  export * from './focus-trap';
6
6
  export * from './keycode';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC"}
package/dist/keycode.d.ts CHANGED
@@ -15,3 +15,4 @@ export declare const keycode: {
15
15
  ARROW_DOWN: number;
16
16
  DELETE: number;
17
17
  };
18
+ //# sourceMappingURL=keycode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keycode.d.ts","sourceRoot":"","sources":["../src/keycode.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;CAgBnB,CAAC"}
package/dist/scroll.d.ts CHANGED
@@ -7,3 +7,4 @@
7
7
  */
8
8
  export declare function disableScroll(): void;
9
9
  export declare function enableScroll(position?: number | boolean | undefined): void;
10
+ //# sourceMappingURL=scroll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll.d.ts","sourceRoot":"","sources":["../src/scroll.ts"],"names":[],"mappings":"AAuBA;;;;;;GAMG;AACH,wBAAgB,aAAa,SAoB5B;AAED,wBAAgB,YAAY,CAAC,QAAQ,GAAE,MAAM,GAAG,OAAO,GAAG,SAAa,GAAG,IAAI,CAuB7E"}
@@ -10,3 +10,4 @@ interface ThrottleFunction {
10
10
  */
11
11
  export declare const throttle: ThrottleFunction;
12
12
  export {};
13
+ //# sourceMappingURL=throttle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"throttle.d.ts","sourceRoot":"","sources":["../src/throttle.ts"],"names":[],"mappings":"AAAA,UAAU,gBAAgB;IACxB,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;CAC1E;AACD;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,EAAE,gBAiBtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agencecinq/utils",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
package/tsconfig.json CHANGED
@@ -1,16 +1,12 @@
1
1
  {
2
+ "extends": "../../tsconfig.json",
2
3
  "compilerOptions": {
3
- "target": "ESNext",
4
- "module": "ESNext",
5
- "moduleResolution": "bundler",
6
- "strict": true,
7
- "declaration": true,
8
4
  "outDir": "./dist",
5
+ "rootDir": "./src",
6
+ "composite": true,
9
7
  "baseUrl": ".",
10
- "paths": {
11
- "@agencecinq/utils": ["./src/index.ts"]
12
- },
13
- "types": ["vite/client"]
8
+ "types": ["vite/client", "node"]
14
9
  },
15
- "include": ["src/**/*"]
10
+ "include": ["src/**/*"],
11
+ "exclude": ["dist", "node_modules"]
16
12
  }