@commandcenterio/convert-ui 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -200,11 +200,11 @@ var AnimateBorder = ({
200
200
 
201
201
  // src/AnimatedHeader/AnimatedHeader.tsx
202
202
  var import_react3 = require("@gsap/react");
203
- var import_gsap = require("gsap");
204
- var import_ScrollTrigger = require("gsap/ScrollTrigger");
205
- var import_TextPlugin = require("gsap/TextPlugin");
203
+ var import_gsap = __toESM(require("gsap/dist/gsap"));
204
+ var import_ScrollTrigger = require("gsap/dist/ScrollTrigger");
205
+ var import_TextPlugin = require("gsap/dist/TextPlugin");
206
206
  var import_jsx_runtime3 = require("react/jsx-runtime");
207
- import_gsap.gsap.registerPlugin(import_TextPlugin.TextPlugin, import_ScrollTrigger.ScrollTrigger);
207
+ import_gsap.default.registerPlugin(import_TextPlugin.TextPlugin, import_ScrollTrigger.ScrollTrigger);
208
208
  var AnimatedHeader = function({
209
209
  textToAnimate,
210
210
  textClassNames,
@@ -218,7 +218,7 @@ var AnimatedHeader = function({
218
218
  const modifiedId = "#" + identifiers.child;
219
219
  const modifiedParentId = "#" + identifiers.parent;
220
220
  (0, import_react3.useGSAP)(() => {
221
- import_gsap.gsap.timeline().fromTo(
221
+ import_gsap.default.timeline().fromTo(
222
222
  modifiedId,
223
223
  {
224
224
  scale: scaleAnimation.start
@@ -908,9 +908,9 @@ var SellingPropContainer = function({
908
908
  };
909
909
 
910
910
  // src/StackedScroller/StackedScroller.tsx
911
- var import_gsap3 = require("gsap");
912
911
  var import_react10 = require("@gsap/react");
913
- var import_ScrollTrigger3 = require("gsap/ScrollTrigger");
912
+ var import_gsap3 = require("gsap/dist/gsap");
913
+ var import_ScrollTrigger3 = require("gsap/dist/ScrollTrigger");
914
914
  var import_react11 = require("react");
915
915
  var import_jsx_runtime19 = require("react/jsx-runtime");
916
916
  import_gsap3.gsap.registerPlugin(import_ScrollTrigger3.ScrollTrigger);
package/dist/index.mjs CHANGED
@@ -144,9 +144,9 @@ var AnimateBorder = ({
144
144
 
145
145
  // src/AnimatedHeader/AnimatedHeader.tsx
146
146
  import { useGSAP } from "@gsap/react";
147
- import { gsap } from "gsap";
148
- import { ScrollTrigger } from "gsap/ScrollTrigger";
149
- import { TextPlugin } from "gsap/TextPlugin";
147
+ import gsap from "gsap/dist/gsap";
148
+ import { ScrollTrigger } from "gsap/dist/ScrollTrigger";
149
+ import { TextPlugin } from "gsap/dist/TextPlugin";
150
150
  import { jsx as jsx3 } from "react/jsx-runtime";
151
151
  gsap.registerPlugin(TextPlugin, ScrollTrigger);
152
152
  var AnimatedHeader = function({
@@ -852,9 +852,9 @@ var SellingPropContainer = function({
852
852
  };
853
853
 
854
854
  // src/StackedScroller/StackedScroller.tsx
855
- import { gsap as gsap3 } from "gsap";
856
855
  import { useGSAP as useGSAP3 } from "@gsap/react";
857
- import { ScrollTrigger as ScrollTrigger3 } from "gsap/ScrollTrigger";
856
+ import { gsap as gsap3 } from "gsap/dist/gsap";
857
+ import { ScrollTrigger as ScrollTrigger3 } from "gsap/dist/ScrollTrigger";
858
858
  import { useState as useState2 } from "react";
859
859
  import { jsx as jsx19, jsxs as jsxs14 } from "react/jsx-runtime";
860
860
  gsap3.registerPlugin(ScrollTrigger3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commandcenterio/convert-ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -16,8 +16,8 @@
16
16
  "react": "^18.2.0",
17
17
  "tsup": "^8.0.1",
18
18
  "typescript": "^5.3.3",
19
- "@repo/eslint-config": "0.0.0",
20
- "@repo/typescript-config": "0.0.0"
19
+ "@repo/typescript-config": "0.0.0",
20
+ "@repo/eslint-config": "0.0.0"
21
21
  },
22
22
  "publishConfig": {
23
23
  "access": "public"