@twintag/twintag-form 1.4.0-beta.2 → 1.4.0-beta.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,5 +1,5 @@
1
1
 
2
- > @twintag/twintag-form@1.4.0-beta.2 build C:\Users\daryl\Desktop\twintag-projects\twintag-admin\packages\twintag-form
2
+ > @twintag/twintag-form@1.4.0-beta.3 build C:\Users\daryl\Desktop\twintag-projects\twintag-admin\packages\twintag-form
3
3
  > tsc && vite build
4
4
 
5
5
  vite v5.2.11 building for production...
@@ -14,8 +14,8 @@ computing gzip size...
14
14
  [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/prettier.config.d.mts
15
15
  [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/dev/main.d.ts
16
16
  [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/vite.config.d.ts
17
- [vite:dts] Declaration files built in 5207ms.
17
+ [vite:dts] Declaration files built in 5747ms.
18
18
 
19
19
  dist/twintag-form.webcomponent.js 119.76 kB │ gzip: 33.52 kB
20
- dist/twintag-form.react.js 706.32 kB │ gzip: 144.27 kB
21
- ✓ built in 9.63s
20
+ dist/twintag-form.react.js 706.33 kB │ gzip: 144.27 kB
21
+ ✓ built in 12.63s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @twintag/twintag-form
2
2
 
3
+ ## 1.4.0-beta.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: accordion does not expand when `value` is not provided
8
+
3
9
  ## 1.4.0-beta.2
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -247,13 +247,17 @@ Each input can be customized with the following optional options:
247
247
  ```json
248
248
  {
249
249
  "type": "accordion",
250
+ "props": {
251
+ "defaultValue": "first-item" // optional: default expanded item
252
+ },
250
253
  "children": [
251
254
  {
252
255
  "type": "accordion",
253
256
  "props": {
254
257
  "subtype": "item",
255
- "label": "Your label"
256
- "icon": "archive-box-x-mark",
258
+ "value": "first-item", // optional
259
+ "label": "Your label",
260
+ "icon": "archive-box-x-mark"
257
261
  },
258
262
  "children": [
259
263
  {