@jk-core/components 1.2.0 → 1.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jk-core/components",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "types": "./dist/index.d.ts",
@@ -36,9 +36,6 @@
36
36
  "components",
37
37
  "calendar"
38
38
  ],
39
- "peerDependencies": {
40
- "react": "^19.1.0"
41
- },
42
39
  "scripts": {
43
40
  "build": "yarn clean && vite build",
44
41
  "clean:win": "if exist dist rmdir /S /Q dist",
@@ -1,4 +1,4 @@
1
-
1
+ 'use client';
2
2
  import RangeCalendar from './RangeCalendar';
3
3
  import ScrollCalendar from './ScrollCalendar';
4
4
  import SingleCalendar from './SingleCalendar';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useRef, useState } from 'react';
2
3
  import { cn } from '@jk-core/utils';
3
4
  import styles from './Accordion.module.scss';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useEffect, useRef, useState } from 'react';
2
3
  import { createPortal } from 'react-dom';
3
4
  import { cn } from '@jk-core/utils';
@@ -1,4 +1,4 @@
1
-
1
+ 'use client';
2
2
  import { useMemo, useState } from 'react';
3
3
  import LeftArrowIcon from './arrow-left.svg';
4
4
  import RightArrowIcon from './arrow-right.svg';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Children, Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
2
3
  import styles from './RollingBanner.module.scss';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useMemo, useState } from 'react';
2
3
  import { cn } from '@jk-core/utils';
3
4
  import styles from './SegmentButton.module.scss';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useState } from 'react';
2
3
  import { cn } from '@jk-core/utils';
3
4
  import styles from './SwitchButton.module.scss';