@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.
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +6 -0
- package/README.md +6 -2
- package/dev/main.tsx +453 -453
- package/dist/twintag-form.react.js +6 -2
- package/lib/components/containers/accordion.tsx +6 -2
- package/lib/components/provider.tsx +163 -163
- package/lib/index.tsx +41 -41
- package/lib/types/index.ts +13 -11
- package/package.json +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @twintag/twintag-form@1.4.0-beta.
|
|
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
|
[36mvite v5.2.11 [32mbuilding for production...[36m[39m
|
|
@@ -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
|
|
17
|
+
[vite:dts] Declaration files built in 5747ms.
|
|
18
18
|
|
|
19
19
|
[2mdist/[22m[36mtwintag-form.webcomponent.js [39m[1m[2m119.76 kB[22m[1m[22m[2m │ gzip: 33.52 kB[22m
|
|
20
|
-
[2mdist/[22m[36mtwintag-form.react.js [39m[1m[33m706.
|
|
21
|
-
[32m✓ built in
|
|
20
|
+
[2mdist/[22m[36mtwintag-form.react.js [39m[1m[33m706.33 kB[39m[22m[2m │ gzip: 144.27 kB[22m
|
|
21
|
+
[32m✓ built in 12.63s[39m
|
package/CHANGELOG.md
CHANGED
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
|
-
"
|
|
256
|
-
"
|
|
258
|
+
"value": "first-item", // optional
|
|
259
|
+
"label": "Your label",
|
|
260
|
+
"icon": "archive-box-x-mark"
|
|
257
261
|
},
|
|
258
262
|
"children": [
|
|
259
263
|
{
|