@edu-tosel/design 1.0.311 → 1.0.313

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 { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useRef, useEffect } from "react";
2
+ import { useRef, useLayoutEffect } from "react";
3
3
  import { cn, isHTMLString } from "../../../util";
4
4
  import BannerMolecule from "./molecule/Banner";
5
5
  import gsap from "gsap";
@@ -20,7 +20,7 @@ export default function One({ event, button }) {
20
20
  sizes: "w-full xl:max-w-[796px]",
21
21
  spacing: "gap-y-8 ",
22
22
  };
23
- useEffect(() => {
23
+ useLayoutEffect(() => {
24
24
  if (!isMD)
25
25
  return;
26
26
  const ctx = gsap.context(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edu-tosel/design",
3
- "version": "1.0.311",
3
+ "version": "1.0.313",
4
4
  "description": "UI components for International TOSEL Committee",
5
5
  "keywords": [
6
6
  "jsx",
@@ -93,6 +93,7 @@ export default {
93
93
  "icon-default": "0 3px 7px 0px rgba(0, 0, 0, 0.1)",
94
94
  "icon-hover": "0 3px 10px 0px rgba(6, 86, 82, 0.38)",
95
95
  green: "0 0px 10px 0px rgba(16, 86, 82, 0.38)",
96
+ blue: "0 0px 10px 0px rgba(23, 58, 139, 0.30)",
96
97
  },
97
98
  flex: {
98
99
  2: "2 2 0%",
package/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.311
1
+ 1.0.313