webcoreui 1.5.0-beta.1 → 1.5.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.
package/README.md
CHANGED
|
@@ -65,15 +65,15 @@ Webcore can be used as a standalone project, or it can be integrated into your e
|
|
|
65
65
|
|
|
66
66
|
Webcore components use Sass for styling. To use the component library, you must have the following packages installed:
|
|
67
67
|
|
|
68
|
-
- [Sass](https://www.npmjs.com/package/sass) - `v1.
|
|
68
|
+
- [Sass](https://www.npmjs.com/package/sass) - `v1.100`
|
|
69
69
|
- [TypeScript](https://www.npmjs.com/package/typescript) - `v5.9`
|
|
70
70
|
|
|
71
71
|
Depending on your project setup, you'll also need the following packages:
|
|
72
72
|
|
|
73
73
|
- **For Astro projects**
|
|
74
|
-
- [Astro](https://www.npmjs.com/package/astro) - `v5.
|
|
74
|
+
- [Astro](https://www.npmjs.com/package/astro) - `v5.18`
|
|
75
75
|
- **For Svelte projects**
|
|
76
|
-
- [Svelte](https://www.npmjs.com/package/svelte) - `v5.
|
|
76
|
+
- [Svelte](https://www.npmjs.com/package/svelte) - `v5.55`
|
|
77
77
|
- **For React projects**
|
|
78
78
|
- [React](https://www.npmjs.com/package/react) - `v19.2`
|
|
79
79
|
- [React DOM](https://www.npmjs.com/package/react-dom) -`v19.2`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useState } from 'react'
|
|
2
2
|
import type { AccordionProps } from './accordion'
|
|
3
3
|
|
|
4
4
|
import { classNames } from '../../utils/classNames'
|
|
@@ -7,8 +7,8 @@ import ChevronDown from '../../icons/chevron-down.svg?raw'
|
|
|
7
7
|
import Plus from '../../icons/plus.svg?raw'
|
|
8
8
|
|
|
9
9
|
import styles from './accordion.module.scss'
|
|
10
|
-
|
|
11
|
-
export type Props = AccordionProps
|
|
10
|
+
|
|
11
|
+
export type Props = AccordionProps
|
|
12
12
|
|
|
13
13
|
const Accordion = ({
|
|
14
14
|
items,
|