diff --git a/apps/swirl-docs/CHANGELOG.md b/apps/swirl-docs/CHANGELOG.md
index bdfc2a704..5e252dfee 100644
--- a/apps/swirl-docs/CHANGELOG.md
+++ b/apps/swirl-docs/CHANGELOG.md
@@ -1,5 +1,597 @@
# swirl-docs
+## 0.1.466
+
+### Patch Changes
+
+- Updated dependencies
+ [[`ecbd8609`](https://github.com/getflip/swirl/commit/ecbd860903169e635c00a8c2384b1c4139201915)]:
+ - @getflip/swirl-components@0.257.0
+ - @getflip/swirl-components-react@0.257.0
+
+## 0.1.465
+
+### Patch Changes
+
+- Updated dependencies
+ [[`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e),
+ [`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e)]:
+ - @getflip/swirl-components@0.256.2
+ - @getflip/swirl-components-react@0.256.2
+
+## 0.1.464
+
+### Patch Changes
+
+- Updated dependencies
+ [[`fc1e576a`](https://github.com/getflip/swirl/commit/fc1e576a90245b42bacb5fa79304d16857c34d21)]:
+ - @getflip/swirl-components@0.256.1
+ - @getflip/swirl-components-react@0.256.1
+
+## 0.1.463
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9ef1d493`](https://github.com/getflip/swirl/commit/9ef1d4938a1fe84e9f56d8f60396824604fb59bc)]:
+ - @getflip/swirl-components@0.256.0
+ - @getflip/swirl-components-react@0.256.0
+
+## 0.1.462
+
+### Patch Changes
+
+- Updated dependencies
+ [[`f0ad90c4`](https://github.com/getflip/swirl/commit/f0ad90c49defa3aa8332b99339075001c8386564),
+ [`d3a68077`](https://github.com/getflip/swirl/commit/d3a68077f15c596f6fed41bc375c2e319ae75b89)]:
+ - @getflip/swirl-components@0.255.0
+ - @getflip/swirl-components-react@0.255.0
+
+## 0.1.461
+
+### Patch Changes
+
+- Updated dependencies
+ [[`59d8466f`](https://github.com/getflip/swirl/commit/59d8466fbfa2e53b416233759100c03574cd8b8e)]:
+ - @getflip/swirl-components@0.254.1
+ - @getflip/swirl-components-react@0.254.1
+
+## 0.1.460
+
+### Patch Changes
+
+- Updated dependencies
+ [[`31540c9a`](https://github.com/getflip/swirl/commit/31540c9a09aa3bcf8cebe3406f0cd2fb54f9682f)]:
+ - @getflip/swirl-components@0.254.0
+ - @getflip/swirl-icons@0.45.0
+ - @getflip/swirl-components-react@0.254.0
+
+## 0.1.459
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2a44f406`](https://github.com/getflip/swirl/commit/2a44f4067ddf8636c2e9b03fdde9d7e8bf72af4c)]:
+ - @getflip/swirl-components@0.253.0
+ - @getflip/swirl-components-react@0.253.0
+
+## 0.1.458
+
+### Patch Changes
+
+- Updated dependencies
+ [[`d97f762b`](https://github.com/getflip/swirl/commit/d97f762b1b38fcb0d5136845b78256046059c729)]:
+ - @getflip/swirl-components@0.252.1
+ - @getflip/swirl-components-react@0.252.1
+
+## 0.1.457
+
+### Patch Changes
+
+- Updated dependencies
+ [[`63609b09`](https://github.com/getflip/swirl/commit/63609b0941b8121e542cbed881ab1c8ae91cd1a9)]:
+ - @getflip/swirl-components@0.252.0
+ - @getflip/swirl-components-react@0.252.0
+
+## 0.1.456
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9012ceca`](https://github.com/getflip/swirl/commit/9012cecaf6816a262388ff4f021b92fe5d6e2770)]:
+ - @getflip/swirl-components@0.251.0
+ - @getflip/swirl-components-react@0.251.0
+
+## 0.1.455
+
+### Patch Changes
+
+- Updated dependencies
+ [[`de49d0e6`](https://github.com/getflip/swirl/commit/de49d0e6abc6452ec334bf848a1eb0709d129897)]:
+ - @getflip/swirl-components@0.250.0
+ - @getflip/swirl-components-react@0.250.0
+
+## 0.1.454
+
+### Patch Changes
+
+- Updated dependencies
+ [[`6a531e70`](https://github.com/getflip/swirl/commit/6a531e7041d5208604f2f6dd3fa7429acd6aa3ff)]:
+ - @getflip/swirl-components@0.249.1
+ - @getflip/swirl-components-react@0.249.1
+
+## 0.1.453
+
+### Patch Changes
+
+- Updated dependencies
+ [[`1f6c1d13`](https://github.com/getflip/swirl/commit/1f6c1d133c82cc2891301a2acc8b9427951fcc6b)]:
+ - @getflip/swirl-components@0.249.0
+ - @getflip/swirl-components-react@0.249.0
+
+## 0.1.452
+
+### Patch Changes
+
+- Updated dependencies
+ [[`14e5b4b6`](https://github.com/getflip/swirl/commit/14e5b4b6c32e54dcd44dbccde5179b1dd0dc153b)]:
+ - @getflip/swirl-components@0.248.0
+ - @getflip/swirl-components-react@0.248.0
+
+## 0.1.451
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b36913d7`](https://github.com/getflip/swirl/commit/b36913d7e431c755cdf2bcdd8e0048dd1bbe7464)]:
+ - @getflip/swirl-components@0.247.1
+ - @getflip/swirl-components-react@0.247.1
+
+## 0.1.450
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2a7aebd1`](https://github.com/getflip/swirl/commit/2a7aebd1e210a5d98913083ea5b8520bd7421ad6)]:
+ - @getflip/swirl-components@0.247.0
+ - @getflip/swirl-components-react@0.247.0
+
+## 0.1.449
+
+### Patch Changes
+
+- Updated dependencies
+ [[`02ef115a`](https://github.com/getflip/swirl/commit/02ef115a7b41be4eb2b827e1c8ba4ac03934dcfd)]:
+ - @getflip/swirl-components@0.246.0
+ - @getflip/swirl-components-react@0.246.0
+
+## 0.1.448
+
+### Patch Changes
+
+- Updated dependencies
+ [[`091d8868`](https://github.com/getflip/swirl/commit/091d88684f020c37ae2d40300c55e8f49e42ec36)]:
+ - @getflip/swirl-components@0.245.0
+ - @getflip/swirl-components-react@0.245.0
+
+## 0.1.447
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0772ac8a`](https://github.com/getflip/swirl/commit/0772ac8a4031b73faa1e31058d625a2cf5e6e031)]:
+ - @getflip/swirl-components@0.244.0
+ - @getflip/swirl-components-react@0.244.0
+
+## 0.1.446
+
+### Patch Changes
+
+- Updated dependencies
+ [[`d2cc34fa`](https://github.com/getflip/swirl/commit/d2cc34fa7bd77ffb1217334b7051f890553f0cc8)]:
+ - @getflip/swirl-components@0.243.0
+ - @getflip/swirl-components-react@0.243.0
+
+## 0.1.445
+
+### Patch Changes
+
+- Updated dependencies
+ [[`5fc723fa`](https://github.com/getflip/swirl/commit/5fc723facdd2311bb8ae3e27de31ef996e274fb4)]:
+ - @getflip/swirl-components@0.242.0
+ - @getflip/swirl-components-react@0.242.0
+
+## 0.1.444
+
+### Patch Changes
+
+- Updated dependencies
+ [[`c330be6d`](https://github.com/getflip/swirl/commit/c330be6df11783c0defa2b741928b7e564183241)]:
+ - @getflip/swirl-components@0.241.4
+ - @getflip/swirl-components-react@0.241.4
+
+## 0.1.443
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2cdc24e3`](https://github.com/getflip/swirl/commit/2cdc24e3296d5354102d7628ae734ed25f861f93)]:
+ - @getflip/swirl-components@0.241.3
+ - @getflip/swirl-components-react@0.241.3
+
+## 0.1.442
+
+### Patch Changes
+
+- Updated dependencies
+ [[`1bd66440`](https://github.com/getflip/swirl/commit/1bd66440355b44833f9b89dd7a925a0de7c44b61)]:
+ - @getflip/swirl-components@0.241.2
+ - @getflip/swirl-components-react@0.241.2
+
+## 0.1.441
+
+### Patch Changes
+
+- Updated dependencies
+ [[`cf172218`](https://github.com/getflip/swirl/commit/cf172218751c3ea8d52e97020702bb1a0d1c8b5b)]:
+ - @getflip/swirl-components@0.241.1
+ - @getflip/swirl-components-react@0.241.1
+
+## 0.1.440
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b3f8bbeb`](https://github.com/getflip/swirl/commit/b3f8bbeb32f85c7d4ad4a611b95c5c1439768856)]:
+ - @getflip/swirl-components@0.241.0
+ - @getflip/swirl-components-react@0.241.0
+
+## 0.1.439
+
+### Patch Changes
+
+- Updated dependencies
+ [[`c69cf843`](https://github.com/getflip/swirl/commit/c69cf843057ad7e2459cb80b8aaf1714879dcdec)]:
+ - @getflip/swirl-components@0.240.1
+ - @getflip/swirl-components-react@0.240.1
+
+## 0.1.438
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b6f26c1a`](https://github.com/getflip/swirl/commit/b6f26c1a8dc26eb2e0d45f3691301d75553a0122)]:
+ - @getflip/swirl-components@0.240.0
+ - @getflip/swirl-components-react@0.240.0
+
+## 0.1.437
+
+### Patch Changes
+
+- Updated dependencies
+ [[`5af61856`](https://github.com/getflip/swirl/commit/5af61856e645072dda5059a285465be703252199)]:
+ - @getflip/swirl-components@0.239.1
+ - @getflip/swirl-components-react@0.239.1
+
+## 0.1.436
+
+### Patch Changes
+
+- Updated dependencies
+ [[`fea94a96`](https://github.com/getflip/swirl/commit/fea94a96753fa7fb1537e5d6430b22be3d11b791),
+ [`229add12`](https://github.com/getflip/swirl/commit/229add12139d2015c794f5108915b676de0501cf)]:
+ - @getflip/swirl-components@0.239.0
+ - @getflip/swirl-components-react@0.239.0
+ - @getflip/swirl-icons@0.44.0
+
+## 0.1.435
+
+### Patch Changes
+
+- Updated dependencies
+ [[`e8981393`](https://github.com/getflip/swirl/commit/e8981393a765e106a8006df7a2752438aa3b9350)]:
+ - @getflip/swirl-components@0.238.0
+ - @getflip/swirl-components-react@0.238.0
+
+## 0.1.434
+
+### Patch Changes
+
+- Updated dependencies
+ [[`1e4569a1`](https://github.com/getflip/swirl/commit/1e4569a196c9efb0c7d221685722253fb7ea23f9)]:
+ - @getflip/swirl-components@0.237.0
+ - @getflip/swirl-components-react@0.237.0
+
+## 0.1.433
+
+### Patch Changes
+
+- Updated dependencies
+ [[`ec850064`](https://github.com/getflip/swirl/commit/ec850064fe4e3639222161bce3c3a313ba9bc698)]:
+ - @getflip/swirl-components@0.236.1
+ - @getflip/swirl-components-react@0.236.1
+
+## 0.1.432
+
+### Patch Changes
+
+- Updated dependencies
+ [[`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0),
+ [`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0),
+ [`d7142aa4`](https://github.com/getflip/swirl/commit/d7142aa41ea06e662155d221285196d85ff58572)]:
+ - @getflip/swirl-components@0.236.0
+ - @getflip/swirl-components-react@0.236.0
+
+## 0.1.431
+
+### Patch Changes
+
+- Updated dependencies
+ [[`cadf77f3`](https://github.com/getflip/swirl/commit/cadf77f34397e530e35060dbc31e1c71b6141ea2)]:
+ - @getflip/swirl-components@0.235.1
+ - @getflip/swirl-components-react@0.235.1
+
+## 0.1.430
+
+### Patch Changes
+
+- Updated dependencies
+ [[`95a50fe3`](https://github.com/getflip/swirl/commit/95a50fe33070170ccee37d3d5a4ff3cfc6047458),
+ [`f66bfa94`](https://github.com/getflip/swirl/commit/f66bfa94fc5d230d71fb1efe8d3ded1d8d6dbc0b)]:
+ - @getflip/swirl-components@0.235.0
+ - @getflip/swirl-components-react@0.235.0
+
+## 0.1.429
+
+### Patch Changes
+
+- Updated dependencies
+ [[`28309df9`](https://github.com/getflip/swirl/commit/28309df93eef2c55134ac1f51c60c073662d6860)]:
+ - @getflip/swirl-components@0.234.0
+ - @getflip/swirl-components-react@0.234.0
+ - @getflip/swirl-icons@0.43.0
+
+## 0.1.428
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0ec94e7e`](https://github.com/getflip/swirl/commit/0ec94e7e002a3c00ed43cc31125e47575506cfac)]:
+ - @getflip/swirl-components@0.233.1
+ - @getflip/swirl-components-react@0.233.1
+
+## 0.1.427
+
+### Patch Changes
+
+- Updated dependencies
+ [[`8fc64d9c`](https://github.com/getflip/swirl/commit/8fc64d9c1637c04e46ecaf221199e23be73379ef)]:
+ - @getflip/swirl-components@0.233.0
+ - @getflip/swirl-components-react@0.233.0
+
+## 0.1.426
+
+### Patch Changes
+
+- Updated dependencies
+ [[`62afe3d8`](https://github.com/getflip/swirl/commit/62afe3d80984f5016703b178412e9120d68b400e),
+ [`c917a77a`](https://github.com/getflip/swirl/commit/c917a77a2bd1b378d6176f667b4e25e175ca9f3e)]:
+ - @getflip/swirl-components@0.231.0
+ - @getflip/swirl-components-react@0.232.0
+
+## 0.1.425
+
+### Patch Changes
+
+- Updated dependencies
+ [[`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d),
+ [`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d)]:
+ - @getflip/swirl-components@0.230.1
+ - @getflip/swirl-components-react@0.231.0
+ - @getflip/swirl-icons@0.42.0
+
+## 0.1.424
+
+### Patch Changes
+
+- Updated dependencies
+ [[`08326ecc`](https://github.com/getflip/swirl/commit/08326ecc29ae06fa14ee77705c3d6858c6bf27c8)]:
+ - @getflip/swirl-components@0.230.0
+ - @getflip/swirl-components-react@0.230.0
+
+## 0.1.423
+
+### Patch Changes
+
+- Updated dependencies
+ [[`947da5d3`](https://github.com/getflip/swirl/commit/947da5d3cc60b5a0e040c487ae4b3c5137294c51),
+ [`c22e465f`](https://github.com/getflip/swirl/commit/c22e465fbb938e2da9900a0c1390ed2458b32ddb)]:
+ - @getflip/swirl-components@0.229.0
+ - @getflip/swirl-components-react@0.229.0
+
+## 0.1.422
+
+### Patch Changes
+
+- Updated dependencies
+ [[`815a91bd`](https://github.com/getflip/swirl/commit/815a91bd6b0e2348e3277073116004f50db77477)]:
+ - @getflip/swirl-components@0.228.0
+ - @getflip/swirl-icons@0.41.0
+ - @getflip/swirl-components-react@0.228.0
+
+## 0.1.421
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2025e3e4`](https://github.com/getflip/swirl/commit/2025e3e4735595b40190cc5b1e22d9ed53fdcb6f)]:
+ - @getflip/swirl-components@0.227.0
+ - @getflip/swirl-components-react@0.227.0
+
+## 0.1.420
+
+### Patch Changes
+
+- Updated dependencies
+ [[`bce80621`](https://github.com/getflip/swirl/commit/bce80621f5e9d3e47d68e6278d1e7e499b096809),
+ [`b1b7b434`](https://github.com/getflip/swirl/commit/b1b7b434b04e593e53ba71b20c358e5315e52e63)]:
+ - @getflip/swirl-components@0.226.1
+ - @getflip/swirl-components-react@0.226.1
+
+## 0.1.419
+
+### Patch Changes
+
+- Updated dependencies
+ [[`fbf71bc9`](https://github.com/getflip/swirl/commit/fbf71bc94c4eb9e5276b002dc40a90c582feb69f)]:
+ - @getflip/swirl-components@0.226.0
+ - @getflip/swirl-components-react@0.226.0
+
+## 0.1.418
+
+### Patch Changes
+
+- Updated dependencies
+ [[`97c45d46`](https://github.com/getflip/swirl/commit/97c45d46eb7cec30d6c49b6192c2b7a51aaf95a9)]:
+ - @getflip/swirl-components@0.225.2
+ - @getflip/swirl-components-react@0.225.2
+
+## 0.1.417
+
+### Patch Changes
+
+- Updated dependencies
+ [[`3f98de9e`](https://github.com/getflip/swirl/commit/3f98de9e198a3f25c57551f14ee6495ab0f7d837)]:
+ - @getflip/swirl-components@0.225.1
+ - @getflip/swirl-components-react@0.225.1
+
+## 0.1.416
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0c855fb9`](https://github.com/getflip/swirl/commit/0c855fb9772d0555da72b82cee6df30e9d6ac8d1)]:
+ - @getflip/swirl-components@0.225.0
+ - @getflip/swirl-components-react@0.225.0
+
+## 0.1.415
+
+### Patch Changes
+
+- Updated dependencies
+ [[`6a1af78a`](https://github.com/getflip/swirl/commit/6a1af78a11afe552d7e49f1b2ed93f5ba0623c9a)]:
+ - @getflip/swirl-components@0.224.0
+ - @getflip/swirl-components-react@0.224.0
+
+## 0.1.414
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9df750c0`](https://github.com/getflip/swirl/commit/9df750c0eb68db1c28bba983461d1cec3f1d31ba)]:
+ - @getflip/swirl-components@0.223.0
+ - @getflip/swirl-components-react@0.223.0
+
+## 0.1.413
+
+### Patch Changes
+
+- Updated dependencies
+ [[`4390b336`](https://github.com/getflip/swirl/commit/4390b336e500e2785eda0db99e2b6f9d98a5bd0f)]:
+ - @getflip/swirl-components@0.222.1
+ - @getflip/swirl-components-react@0.222.1
+
+## 0.1.412
+
+### Patch Changes
+
+- Updated dependencies
+ [[`265823b5`](https://github.com/getflip/swirl/commit/265823b565cf3050ef6889d6f2fe5990fc893de3)]:
+ - @getflip/swirl-components@0.222.0
+ - @getflip/swirl-components-react@0.222.0
+
+## 0.1.411
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0e9413cf`](https://github.com/getflip/swirl/commit/0e9413cfbc2add299f8360078ef2df3cddd1153f)]:
+ - @getflip/swirl-components@0.221.0
+ - @getflip/swirl-components-react@0.221.0
+
+## 0.1.410
+
+### Patch Changes
+
+- Updated dependencies
+ [[`93f59bef`](https://github.com/getflip/swirl/commit/93f59bef3ce31d09e112795f7c520564c0d99355)]:
+ - @getflip/swirl-components@0.220.5
+ - @getflip/swirl-components-react@0.220.5
+
+## 0.1.409
+
+### Patch Changes
+
+- Updated dependencies
+ [[`cfaf2b8f`](https://github.com/getflip/swirl/commit/cfaf2b8fa3cfb53df041b7d6c60e64a6a5df1e00)]:
+ - @getflip/swirl-components@0.220.4
+ - @getflip/swirl-components-react@0.220.4
+
+## 0.1.408
+
+### Patch Changes
+
+- Updated dependencies
+ [[`875d491a`](https://github.com/getflip/swirl/commit/875d491a355ce89d2f15f880ad55f0b714ab0aaf)]:
+ - @getflip/swirl-components@0.220.3
+ - @getflip/swirl-components-react@0.220.3
+
+## 0.1.407
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b54e20a7`](https://github.com/getflip/swirl/commit/b54e20a77aae792a8e3afa5f0069457a5985530f)]:
+ - @getflip/swirl-components@0.220.2
+ - @getflip/swirl-components-react@0.220.2
+
+## 0.1.406
+
+### Patch Changes
+
+- Updated dependencies
+ [[`ebde720e`](https://github.com/getflip/swirl/commit/ebde720ea7a1e80d9e8db13e9852d3601013a5f6)]:
+ - @getflip/swirl-components@0.220.1
+ - @getflip/swirl-components-react@0.220.1
+
+## 0.1.405
+
+### Patch Changes
+
+- Updated dependencies
+ [[`e9ffdb07`](https://github.com/getflip/swirl/commit/e9ffdb073a2b8dcfcaf56ecdb87fbd037ba3d125)]:
+ - @getflip/swirl-components@0.220.0
+ - @getflip/swirl-components-react@0.220.0
+
+## 0.1.404
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9b7ec15d`](https://github.com/getflip/swirl/commit/9b7ec15d6f3f8ad7fb5886fa79c0ec56c28e06d6)]:
+ - @getflip/swirl-components@0.219.0
+ - @getflip/swirl-icons@0.40.0
+ - @getflip/swirl-components-react@0.219.0
+
+## 0.1.403
+
+### Patch Changes
+
+- Updated dependencies
+ [[`a842a881`](https://github.com/getflip/swirl/commit/a842a8813b8c124fa952124053c648a43fd826c3)]:
+ - @getflip/swirl-components@0.218.0
+ - @getflip/swirl-components-react@0.218.0
+
## 0.1.402
### Patch Changes
diff --git a/apps/swirl-docs/package.json b/apps/swirl-docs/package.json
index 810b0bce2..6febd8824 100644
--- a/apps/swirl-docs/package.json
+++ b/apps/swirl-docs/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"name": "swirl-docs",
- "version": "0.1.402",
+ "version": "0.1.466",
"author": "Flip GmbH",
"description": "Swirl documentation",
"licence": "SEE LICENCE IN LICENSE.md",
@@ -28,9 +28,9 @@
"@algolia/autocomplete-theme-classic": "^1.7.4",
"@floating-ui/dom": "^1.1.0",
"@floating-ui/react": "^0.18.0",
- "@getflip/swirl-components": "^0.217.0",
- "@getflip/swirl-components-react": "^0.217.0",
- "@getflip/swirl-icons": "^0.39.0",
+ "@getflip/swirl-components": "^0.257.0",
+ "@getflip/swirl-components-react": "^0.257.0",
+ "@getflip/swirl-icons": "^0.45.0",
"@getflip/swirl-tokens": "^2.6.0",
"@mdx-js/loader": "^2.1.3",
"@next/mdx": "^12.2.5",
diff --git a/apps/swirl-docs/src/components/Documentation/EndpointDescription/Parameter.tsx b/apps/swirl-docs/src/components/Documentation/EndpointDescription/Parameter.tsx
index 5a6b7baca..5ab87f0fa 100644
--- a/apps/swirl-docs/src/components/Documentation/EndpointDescription/Parameter.tsx
+++ b/apps/swirl-docs/src/components/Documentation/EndpointDescription/Parameter.tsx
@@ -1,7 +1,5 @@
-import { SwirlIconAdd, SwirlIconRemove } from "@getflip/swirl-components-react";
import classNames from "classnames";
-import { AnimatePresence, motion } from "framer-motion";
-import { ReactNode, useState } from "react";
+import { ReactNode } from "react";
import { Tag } from "../../Tags";
import { DocumentationMarkdown } from "../DocumentationMarkdown";
import {
@@ -9,14 +7,18 @@ import {
HttpStatusCode,
isValidStatusCode,
} from "../HttpStatusCodeMapper";
+import { isProdDeployment } from "@swirl/lib/env";
+import { Expandable } from "../Expandable";
interface ParameterProps {
children?: ReactNode;
name: string;
type?: string;
required?: boolean;
+ hidden?: boolean;
description?: string;
enumValues?: string[];
+ array?: boolean;
}
export function Parameter({
@@ -25,12 +27,12 @@ export function Parameter({
type,
description,
required,
+ hidden,
enumValues,
+ array,
}: ParameterProps) {
- const [isExpanded, setIsExpanded] = useState(false);
-
- function toggle() {
- setIsExpanded((expanded) => !expanded);
+ if (isProdDeployment && hidden) {
+ return null;
}
return (
@@ -56,8 +58,9 @@ export function Parameter({
{isValidStatusCode(name) &&
`${getStatusText(Number(name) as HttpStatusCode)}`}
- {type && }
+ {type && }
{required && }
+ {hidden && }
{description && (
@@ -65,66 +68,37 @@ export function Parameter({
)}
{enumValues?.length && (
-
-
+
+
+
Possible enum values
+
+
+ {enumValues.map((value) => (
+
+ ))}
+
-
- {enumValues.map((value) => (
-
- ))}
-
-
- )}
- {children && (
-
-
-
- {isExpanded && (
-
- {children}
-
- )}
-
-
+
)}
+ {children &&
{children}}
);
}
diff --git a/apps/swirl-docs/src/components/Documentation/EndpointDescription/ParameterFactory.tsx b/apps/swirl-docs/src/components/Documentation/EndpointDescription/ParameterFactory.tsx
index 82c737823..ceff45785 100644
--- a/apps/swirl-docs/src/components/Documentation/EndpointDescription/ParameterFactory.tsx
+++ b/apps/swirl-docs/src/components/Documentation/EndpointDescription/ParameterFactory.tsx
@@ -23,8 +23,6 @@ export class EndpointParameterFactory {
getRenderer(type: string): ParameterRenderer {
switch (type) {
- case "array":
- return new ArrayParameterRenderer();
case "object":
return new ObjectParameterRenderer();
case "boolean":
@@ -57,6 +55,8 @@ class ObjectParameterRenderer implements ParameterRenderer {
name={parameter.name}
type={parameter.type}
description={parameter.description}
+ hidden={parameter.hidden}
+ array={parameter.array}
required={
parameter.required || schema?.required?.includes(parameter.name)
}
@@ -83,6 +83,9 @@ class PrimitiveParameterRenderer implements ParameterRenderer {
name={parameter.name}
type={parameter.type}
description={parameter.description}
+ hidden={parameter.hidden}
+ array={parameter.array}
+ enumValues={parameter.enum}
required={
parameter.required || schema?.required?.includes(parameter.name)
}
@@ -90,63 +93,3 @@ class PrimitiveParameterRenderer implements ParameterRenderer {
);
}
}
-
-class ArrayParameterRenderer implements ParameterRenderer {
- render(
- parameter: OperationSchemaObject,
- schema?: OpenAPIV3_1.BaseSchemaObject
- ) {
- if (parameter.items?.type === "object") {
- return (
-
- {Object.keys(parameter.items?.properties).map((name) => {
- const isRequired = parameter.items?.required
- ? parameter.items?.required.includes(name)
- : false;
- return (
-
- );
- })}
-
- );
- }
-
- return (
-
- {parameter.items?.type === "string" && (
-
- )}
-
- );
- }
-}
diff --git a/apps/swirl-docs/src/components/Documentation/Expandable.tsx b/apps/swirl-docs/src/components/Documentation/Expandable.tsx
new file mode 100644
index 000000000..d148bfe04
--- /dev/null
+++ b/apps/swirl-docs/src/components/Documentation/Expandable.tsx
@@ -0,0 +1,48 @@
+import { ReactNode, useState } from "react";
+import { SwirlIconAdd, SwirlIconRemove } from "@getflip/swirl-components-react";
+import { AnimatePresence, motion } from "framer-motion";
+
+interface ExpandableProps {
+ children: ReactNode;
+}
+
+export function Expandable({ children }: ExpandableProps) {
+ const [isExpanded, setIsExpanded] = useState(false);
+
+ function toggle() {
+ setIsExpanded((expanded) => !expanded);
+ }
+
+ return (
+
+
+
+ {isExpanded && (
+
+ {children}
+
+ )}
+
+
+ )
+}
diff --git a/apps/swirl-docs/src/lib/docs/src/docs.model.ts b/apps/swirl-docs/src/lib/docs/src/docs.model.ts
index 26a41a92a..2758f7c15 100644
--- a/apps/swirl-docs/src/lib/docs/src/docs.model.ts
+++ b/apps/swirl-docs/src/lib/docs/src/docs.model.ts
@@ -90,14 +90,14 @@ export type ApiDoc = {
export type OperationSchemaObject = {
name: string;
- type:
- | OpenAPIV3_1.ArraySchemaObjectType
- | OpenAPIV3_1.NonArraySchemaObjectType;
+ type: OpenAPIV3_1.NonArraySchemaObjectType;
description: string;
required: boolean;
+ hidden: boolean;
+ array: boolean;
properties?: OperationSchemaObject[];
- items?: any;
statusCode?: string;
+ enum?: string[];
};
export type OperationParamType =
diff --git a/apps/swirl-docs/src/scripts/ApiDocumentation/EndpointMapper.ts b/apps/swirl-docs/src/scripts/ApiDocumentation/EndpointMapper.ts
index e4b870002..5a1f35d14 100644
--- a/apps/swirl-docs/src/scripts/ApiDocumentation/EndpointMapper.ts
+++ b/apps/swirl-docs/src/scripts/ApiDocumentation/EndpointMapper.ts
@@ -86,20 +86,12 @@ export class EndpointMapper {
}));
return responseBodySchemas.map((response) => {
- const requiredProperties = response.schema?.required || [];
const parameters: Array = Object.entries(
response.schema?.properties || {}
).map(([name, property]) => {
const prop = property as SchemaObject;
- return {
- name: String(name),
- type: prop.type as OperationSchemaObject["type"],
- description: prop.description || "",
- required: requiredProperties.includes(name),
- properties: this.getEndpointOperationSchemaObject(prop),
- items: this.getEndpointParamArrayItems(prop),
- };
+ return this.toOperationSchemaObject(name, prop, response.schema);
});
return {
@@ -114,58 +106,68 @@ export class EndpointMapper {
parameters?: ReturnType
): OperationSchemas | undefined {
return parameters?.map((parameter) => {
- const label = parameter.label || "other";
const type = parameter.type as OperationParamType;
- const requiredParams = parameter.schema.required || [];
- const parametersObject = parameter.schema.properties || {};
- if (
- typeof parametersObject === "object" &&
- Array.isArray(requiredParams)
- ) {
- const parameters: Array = Object.keys(
- parametersObject
- ).map((parameter) => {
- const prop = parametersObject[parameter] as SchemaObject;
-
- return {
- name: String(parameter),
- type: prop.type as OperationSchemaObject["type"],
- description: prop.description || "",
- required: requiredParams.includes(parameter),
- properties: this.getEndpointOperationSchemaObject(prop),
- items: this.getEndpointParamArrayItems(prop),
- };
- });
- return { title: label, type, parameters: parameters };
+ const label = parameter.label || "other";
+
+ return {
+ type,
+ title: label,
+ parameters: this.getEndpointTopLevelSchema(parameter.schema) ?? [],
}
- return { title: label, type, parameters: [] };
});
}
- private getEndpointParamArrayItems(
- prop: SchemaObject
- ): Array | undefined {
- if (prop.type === "array" && prop.items) {
- return prop.items as Array;
+
+ private getEndpointTopLevelSchema(
+ parent: SchemaObject
+ ): OperationSchemaObject[] | undefined {
+ if (parent.type !== "object") {
+ return undefined;
}
- return undefined;
+
+ if (!parent.properties) {
+ return undefined;
+ }
+
+ return Object.entries(parent.properties).map(([name, child]) => {
+ return this.toOperationSchemaObject(name, child, parent);
+ });
}
- private getEndpointOperationSchemaObject(
- prop: SchemaObject
- ): OperationSchemaObject[] | undefined {
- if (prop.type === "object") {
- if (prop.properties) {
- return Object.entries(prop.properties).map(([name, prop]) => {
- return {
- name,
- type: prop.type as OperationSchemaObject["type"],
- description: prop.description || "",
- required: prop.required || false,
- properties: this.getEndpointOperationSchemaObject(prop),
- };
- });
- }
+ private toOperationSchemaObject(name: string, prop: SchemaObject, parentObject?: SchemaObject): OperationSchemaObject {
+ const hiddenProps = parentObject ?
+ (FlipApiExtensions.getHiddenParams(parentObject) || [])
+ : [];
+
+ const requiredPropsInParent = this.determineRequiredProperties(parentObject);
+ const childProperties = prop.properties || {};
+ const hasRequiredFlag = typeof prop.required === "boolean" && prop.required;
+
+ if (prop.type == "array") {
+ // If the property is an array, we want to render the items only.
+ return this.toOperationSchemaObject(name, prop.items as SchemaObject, prop);
}
- return undefined;
+
+ return {
+ name,
+ array: parentObject?.type === "array", // Used to determine whether this property is rendered as part of an array.
+ type: prop.type as OperationSchemaObject["type"],
+ description: prop.description || "",
+ required: hasRequiredFlag || requiredPropsInParent.includes(name) || false,
+ properties: Object.entries(childProperties).map(([name, child]) => this.toOperationSchemaObject(name, child, prop)),
+ hidden: hiddenProps.includes(name),
+ enum: prop.enum as string[],
+ };
+ }
+
+ private determineRequiredProperties(parentObject?: SchemaObject): string[] {
+ if (!parentObject) {
+ return [];
+ }
+
+ if (!Array.isArray(parentObject.required)) {
+ return [];
+ }
+
+ return parentObject.required;
}
}
diff --git a/apps/swirl-docs/src/scripts/ApiDocumentation/FlipApiExtensions.ts b/apps/swirl-docs/src/scripts/ApiDocumentation/FlipApiExtensions.ts
index 295805a93..0619bbff4 100644
--- a/apps/swirl-docs/src/scripts/ApiDocumentation/FlipApiExtensions.ts
+++ b/apps/swirl-docs/src/scripts/ApiDocumentation/FlipApiExtensions.ts
@@ -1,4 +1,5 @@
import { Operation } from "oas";
+import { SchemaObject } from "oas/dist/rmoas.types";
export class FlipApiExtensions {
static getErrorCodes(operation: Operation): string[] | undefined {
@@ -32,4 +33,21 @@ export class FlipApiExtensions {
return resourceName;
}
}
+
+ static getHiddenParams(schemaObject: SchemaObject): string[] | undefined {
+ if (!schemaObject) {
+ return;
+ }
+
+ if (!("x-flip-hidden" in schemaObject)) {
+ return;
+ }
+
+ const hiddenFields = schemaObject["x-flip-hidden"];
+ if (!Array.isArray(hiddenFields)) {
+ return;
+ }
+
+ return hiddenFields;
+ }
}
diff --git a/packages/bridge/CHANGELOG.md b/packages/bridge/CHANGELOG.md
index e357c56cf..0b5541b9b 100644
--- a/packages/bridge/CHANGELOG.md
+++ b/packages/bridge/CHANGELOG.md
@@ -1,5 +1,533 @@
# @getflip/bridge
+## 0.6.30
+
+### Patch Changes
+
+- Updated dependencies
+ [[`ecbd8609`](https://github.com/getflip/swirl/commit/ecbd860903169e635c00a8c2384b1c4139201915)]:
+ - @getflip/swirl-components@0.257.0
+
+## 0.6.29
+
+### Patch Changes
+
+- Updated dependencies
+ [[`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e),
+ [`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e)]:
+ - @getflip/swirl-components@0.256.2
+
+## 0.6.28
+
+### Patch Changes
+
+- Updated dependencies
+ [[`fc1e576a`](https://github.com/getflip/swirl/commit/fc1e576a90245b42bacb5fa79304d16857c34d21)]:
+ - @getflip/swirl-components@0.256.1
+
+## 0.6.27
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9ef1d493`](https://github.com/getflip/swirl/commit/9ef1d4938a1fe84e9f56d8f60396824604fb59bc)]:
+ - @getflip/swirl-components@0.256.0
+
+## 0.6.26
+
+### Patch Changes
+
+- Updated dependencies
+ [[`f0ad90c4`](https://github.com/getflip/swirl/commit/f0ad90c49defa3aa8332b99339075001c8386564),
+ [`d3a68077`](https://github.com/getflip/swirl/commit/d3a68077f15c596f6fed41bc375c2e319ae75b89)]:
+ - @getflip/swirl-components@0.255.0
+
+## 0.6.25
+
+### Patch Changes
+
+- Updated dependencies
+ [[`59d8466f`](https://github.com/getflip/swirl/commit/59d8466fbfa2e53b416233759100c03574cd8b8e)]:
+ - @getflip/swirl-components@0.254.1
+
+## 0.6.24
+
+### Patch Changes
+
+- Updated dependencies
+ [[`31540c9a`](https://github.com/getflip/swirl/commit/31540c9a09aa3bcf8cebe3406f0cd2fb54f9682f)]:
+ - @getflip/swirl-components@0.254.0
+
+## 0.6.23
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2a44f406`](https://github.com/getflip/swirl/commit/2a44f4067ddf8636c2e9b03fdde9d7e8bf72af4c)]:
+ - @getflip/swirl-components@0.253.0
+
+## 0.6.22
+
+### Patch Changes
+
+- Updated dependencies
+ [[`d97f762b`](https://github.com/getflip/swirl/commit/d97f762b1b38fcb0d5136845b78256046059c729)]:
+ - @getflip/swirl-components@0.252.1
+
+## 0.6.21
+
+### Patch Changes
+
+- Updated dependencies
+ [[`63609b09`](https://github.com/getflip/swirl/commit/63609b0941b8121e542cbed881ab1c8ae91cd1a9)]:
+ - @getflip/swirl-components@0.252.0
+
+## 0.6.20
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9012ceca`](https://github.com/getflip/swirl/commit/9012cecaf6816a262388ff4f021b92fe5d6e2770)]:
+ - @getflip/swirl-components@0.251.0
+
+## 0.6.19
+
+### Patch Changes
+
+- Updated dependencies
+ [[`de49d0e6`](https://github.com/getflip/swirl/commit/de49d0e6abc6452ec334bf848a1eb0709d129897)]:
+ - @getflip/swirl-components@0.250.0
+
+## 0.6.18
+
+### Patch Changes
+
+- Updated dependencies
+ [[`6a531e70`](https://github.com/getflip/swirl/commit/6a531e7041d5208604f2f6dd3fa7429acd6aa3ff)]:
+ - @getflip/swirl-components@0.249.1
+
+## 0.6.17
+
+### Patch Changes
+
+- Updated dependencies
+ [[`1f6c1d13`](https://github.com/getflip/swirl/commit/1f6c1d133c82cc2891301a2acc8b9427951fcc6b)]:
+ - @getflip/swirl-components@0.249.0
+
+## 0.6.16
+
+### Patch Changes
+
+- Updated dependencies
+ [[`14e5b4b6`](https://github.com/getflip/swirl/commit/14e5b4b6c32e54dcd44dbccde5179b1dd0dc153b)]:
+ - @getflip/swirl-components@0.248.0
+
+## 0.6.15
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b36913d7`](https://github.com/getflip/swirl/commit/b36913d7e431c755cdf2bcdd8e0048dd1bbe7464)]:
+ - @getflip/swirl-components@0.247.1
+
+## 0.6.14
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2a7aebd1`](https://github.com/getflip/swirl/commit/2a7aebd1e210a5d98913083ea5b8520bd7421ad6)]:
+ - @getflip/swirl-components@0.247.0
+
+## 0.6.13
+
+### Patch Changes
+
+- Updated dependencies
+ [[`02ef115a`](https://github.com/getflip/swirl/commit/02ef115a7b41be4eb2b827e1c8ba4ac03934dcfd)]:
+ - @getflip/swirl-components@0.246.0
+
+## 0.6.12
+
+### Patch Changes
+
+- Updated dependencies
+ [[`091d8868`](https://github.com/getflip/swirl/commit/091d88684f020c37ae2d40300c55e8f49e42ec36)]:
+ - @getflip/swirl-components@0.245.0
+
+## 0.6.11
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0772ac8a`](https://github.com/getflip/swirl/commit/0772ac8a4031b73faa1e31058d625a2cf5e6e031)]:
+ - @getflip/swirl-components@0.244.0
+
+## 0.6.10
+
+### Patch Changes
+
+- Updated dependencies
+ [[`d2cc34fa`](https://github.com/getflip/swirl/commit/d2cc34fa7bd77ffb1217334b7051f890553f0cc8)]:
+ - @getflip/swirl-components@0.243.0
+
+## 0.6.9
+
+### Patch Changes
+
+- Updated dependencies
+ [[`5fc723fa`](https://github.com/getflip/swirl/commit/5fc723facdd2311bb8ae3e27de31ef996e274fb4)]:
+ - @getflip/swirl-components@0.242.0
+
+## 0.6.8
+
+### Patch Changes
+
+- Updated dependencies
+ [[`c330be6d`](https://github.com/getflip/swirl/commit/c330be6df11783c0defa2b741928b7e564183241)]:
+ - @getflip/swirl-components@0.241.4
+
+## 0.6.7
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2cdc24e3`](https://github.com/getflip/swirl/commit/2cdc24e3296d5354102d7628ae734ed25f861f93)]:
+ - @getflip/swirl-components@0.241.3
+
+## 0.6.6
+
+### Patch Changes
+
+- Updated dependencies
+ [[`1bd66440`](https://github.com/getflip/swirl/commit/1bd66440355b44833f9b89dd7a925a0de7c44b61)]:
+ - @getflip/swirl-components@0.241.2
+
+## 0.6.5
+
+### Patch Changes
+
+- Updated dependencies
+ [[`cf172218`](https://github.com/getflip/swirl/commit/cf172218751c3ea8d52e97020702bb1a0d1c8b5b)]:
+ - @getflip/swirl-components@0.241.1
+
+## 0.6.4
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b3f8bbeb`](https://github.com/getflip/swirl/commit/b3f8bbeb32f85c7d4ad4a611b95c5c1439768856)]:
+ - @getflip/swirl-components@0.241.0
+
+## 0.6.3
+
+### Patch Changes
+
+- Updated dependencies
+ [[`c69cf843`](https://github.com/getflip/swirl/commit/c69cf843057ad7e2459cb80b8aaf1714879dcdec)]:
+ - @getflip/swirl-components@0.240.1
+
+## 0.6.2
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b6f26c1a`](https://github.com/getflip/swirl/commit/b6f26c1a8dc26eb2e0d45f3691301d75553a0122)]:
+ - @getflip/swirl-components@0.240.0
+
+## 0.6.1
+
+### Patch Changes
+
+- Updated dependencies
+ [[`5af61856`](https://github.com/getflip/swirl/commit/5af61856e645072dda5059a285465be703252199)]:
+ - @getflip/swirl-components@0.239.1
+
+## 0.6.0
+
+### Minor Changes
+
+- [`17a76d54`](https://github.com/getflip/swirl/commit/17a76d54ca7a7ec8b469a8db07f68039b9ea1cde)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "setTheme" method
+
+## 0.5.72
+
+### Patch Changes
+
+- Updated dependencies
+ [[`fea94a96`](https://github.com/getflip/swirl/commit/fea94a96753fa7fb1537e5d6430b22be3d11b791),
+ [`229add12`](https://github.com/getflip/swirl/commit/229add12139d2015c794f5108915b676de0501cf)]:
+ - @getflip/swirl-components@0.239.0
+
+## 0.5.71
+
+### Patch Changes
+
+- Updated dependencies
+ [[`e8981393`](https://github.com/getflip/swirl/commit/e8981393a765e106a8006df7a2752438aa3b9350)]:
+ - @getflip/swirl-components@0.238.0
+
+## 0.5.70
+
+### Patch Changes
+
+- Updated dependencies
+ [[`1e4569a1`](https://github.com/getflip/swirl/commit/1e4569a196c9efb0c7d221685722253fb7ea23f9)]:
+ - @getflip/swirl-components@0.237.0
+
+## 0.5.69
+
+### Patch Changes
+
+- Updated dependencies
+ [[`ec850064`](https://github.com/getflip/swirl/commit/ec850064fe4e3639222161bce3c3a313ba9bc698)]:
+ - @getflip/swirl-components@0.236.1
+
+## 0.5.68
+
+### Patch Changes
+
+- Updated dependencies
+ [[`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0),
+ [`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0),
+ [`d7142aa4`](https://github.com/getflip/swirl/commit/d7142aa41ea06e662155d221285196d85ff58572)]:
+ - @getflip/swirl-components@0.236.0
+
+## 0.5.67
+
+### Patch Changes
+
+- Updated dependencies
+ [[`cadf77f3`](https://github.com/getflip/swirl/commit/cadf77f34397e530e35060dbc31e1c71b6141ea2)]:
+ - @getflip/swirl-components@0.235.1
+
+## 0.5.66
+
+### Patch Changes
+
+- Updated dependencies
+ [[`95a50fe3`](https://github.com/getflip/swirl/commit/95a50fe33070170ccee37d3d5a4ff3cfc6047458),
+ [`f66bfa94`](https://github.com/getflip/swirl/commit/f66bfa94fc5d230d71fb1efe8d3ded1d8d6dbc0b)]:
+ - @getflip/swirl-components@0.235.0
+
+## 0.5.65
+
+### Patch Changes
+
+- Updated dependencies
+ [[`28309df9`](https://github.com/getflip/swirl/commit/28309df93eef2c55134ac1f51c60c073662d6860)]:
+ - @getflip/swirl-components@0.234.0
+
+## 0.5.64
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0ec94e7e`](https://github.com/getflip/swirl/commit/0ec94e7e002a3c00ed43cc31125e47575506cfac)]:
+ - @getflip/swirl-components@0.233.1
+
+## 0.5.63
+
+### Patch Changes
+
+- Updated dependencies
+ [[`8fc64d9c`](https://github.com/getflip/swirl/commit/8fc64d9c1637c04e46ecaf221199e23be73379ef)]:
+ - @getflip/swirl-components@0.233.0
+
+## 0.5.62
+
+### Patch Changes
+
+- Updated dependencies
+ [[`62afe3d8`](https://github.com/getflip/swirl/commit/62afe3d80984f5016703b178412e9120d68b400e),
+ [`c917a77a`](https://github.com/getflip/swirl/commit/c917a77a2bd1b378d6176f667b4e25e175ca9f3e)]:
+ - @getflip/swirl-components@0.231.0
+
+## 0.5.61
+
+### Patch Changes
+
+- Updated dependencies
+ [[`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d)]:
+ - @getflip/swirl-components@0.230.1
+
+## 0.5.60
+
+### Patch Changes
+
+- Updated dependencies
+ [[`08326ecc`](https://github.com/getflip/swirl/commit/08326ecc29ae06fa14ee77705c3d6858c6bf27c8)]:
+ - @getflip/swirl-components@0.230.0
+
+## 0.5.59
+
+### Patch Changes
+
+- Updated dependencies
+ [[`947da5d3`](https://github.com/getflip/swirl/commit/947da5d3cc60b5a0e040c487ae4b3c5137294c51),
+ [`c22e465f`](https://github.com/getflip/swirl/commit/c22e465fbb938e2da9900a0c1390ed2458b32ddb)]:
+ - @getflip/swirl-components@0.229.0
+
+## 0.5.58
+
+### Patch Changes
+
+- Updated dependencies
+ [[`815a91bd`](https://github.com/getflip/swirl/commit/815a91bd6b0e2348e3277073116004f50db77477)]:
+ - @getflip/swirl-components@0.228.0
+
+## 0.5.57
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2025e3e4`](https://github.com/getflip/swirl/commit/2025e3e4735595b40190cc5b1e22d9ed53fdcb6f)]:
+ - @getflip/swirl-components@0.227.0
+
+## 0.5.56
+
+### Patch Changes
+
+- Updated dependencies
+ [[`bce80621`](https://github.com/getflip/swirl/commit/bce80621f5e9d3e47d68e6278d1e7e499b096809),
+ [`b1b7b434`](https://github.com/getflip/swirl/commit/b1b7b434b04e593e53ba71b20c358e5315e52e63)]:
+ - @getflip/swirl-components@0.226.1
+
+## 0.5.55
+
+### Patch Changes
+
+- Updated dependencies
+ [[`fbf71bc9`](https://github.com/getflip/swirl/commit/fbf71bc94c4eb9e5276b002dc40a90c582feb69f)]:
+ - @getflip/swirl-components@0.226.0
+
+## 0.5.54
+
+### Patch Changes
+
+- Updated dependencies
+ [[`97c45d46`](https://github.com/getflip/swirl/commit/97c45d46eb7cec30d6c49b6192c2b7a51aaf95a9)]:
+ - @getflip/swirl-components@0.225.2
+
+## 0.5.53
+
+### Patch Changes
+
+- Updated dependencies
+ [[`3f98de9e`](https://github.com/getflip/swirl/commit/3f98de9e198a3f25c57551f14ee6495ab0f7d837)]:
+ - @getflip/swirl-components@0.225.1
+
+## 0.5.52
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0c855fb9`](https://github.com/getflip/swirl/commit/0c855fb9772d0555da72b82cee6df30e9d6ac8d1)]:
+ - @getflip/swirl-components@0.225.0
+
+## 0.5.51
+
+### Patch Changes
+
+- Updated dependencies
+ [[`6a1af78a`](https://github.com/getflip/swirl/commit/6a1af78a11afe552d7e49f1b2ed93f5ba0623c9a)]:
+ - @getflip/swirl-components@0.224.0
+
+## 0.5.50
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9df750c0`](https://github.com/getflip/swirl/commit/9df750c0eb68db1c28bba983461d1cec3f1d31ba)]:
+ - @getflip/swirl-components@0.223.0
+
+## 0.5.49
+
+### Patch Changes
+
+- Updated dependencies
+ [[`4390b336`](https://github.com/getflip/swirl/commit/4390b336e500e2785eda0db99e2b6f9d98a5bd0f)]:
+ - @getflip/swirl-components@0.222.1
+
+## 0.5.48
+
+### Patch Changes
+
+- Updated dependencies
+ [[`265823b5`](https://github.com/getflip/swirl/commit/265823b565cf3050ef6889d6f2fe5990fc893de3)]:
+ - @getflip/swirl-components@0.222.0
+
+## 0.5.47
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0e9413cf`](https://github.com/getflip/swirl/commit/0e9413cfbc2add299f8360078ef2df3cddd1153f)]:
+ - @getflip/swirl-components@0.221.0
+
+## 0.5.46
+
+### Patch Changes
+
+- Updated dependencies
+ [[`93f59bef`](https://github.com/getflip/swirl/commit/93f59bef3ce31d09e112795f7c520564c0d99355)]:
+ - @getflip/swirl-components@0.220.5
+
+## 0.5.45
+
+### Patch Changes
+
+- Updated dependencies
+ [[`cfaf2b8f`](https://github.com/getflip/swirl/commit/cfaf2b8fa3cfb53df041b7d6c60e64a6a5df1e00)]:
+ - @getflip/swirl-components@0.220.4
+
+## 0.5.44
+
+### Patch Changes
+
+- Updated dependencies
+ [[`875d491a`](https://github.com/getflip/swirl/commit/875d491a355ce89d2f15f880ad55f0b714ab0aaf)]:
+ - @getflip/swirl-components@0.220.3
+
+## 0.5.43
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b54e20a7`](https://github.com/getflip/swirl/commit/b54e20a77aae792a8e3afa5f0069457a5985530f)]:
+ - @getflip/swirl-components@0.220.2
+
+## 0.5.42
+
+### Patch Changes
+
+- Updated dependencies
+ [[`ebde720e`](https://github.com/getflip/swirl/commit/ebde720ea7a1e80d9e8db13e9852d3601013a5f6)]:
+ - @getflip/swirl-components@0.220.1
+
+## 0.5.41
+
+### Patch Changes
+
+- Updated dependencies
+ [[`e9ffdb07`](https://github.com/getflip/swirl/commit/e9ffdb073a2b8dcfcaf56ecdb87fbd037ba3d125)]:
+ - @getflip/swirl-components@0.220.0
+
+## 0.5.40
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9b7ec15d`](https://github.com/getflip/swirl/commit/9b7ec15d6f3f8ad7fb5886fa79c0ec56c28e06d6)]:
+ - @getflip/swirl-components@0.219.0
+
+## 0.5.39
+
+### Patch Changes
+
+- Updated dependencies
+ [[`a842a881`](https://github.com/getflip/swirl/commit/a842a8813b8c124fa952124053c648a43fd826c3)]:
+ - @getflip/swirl-components@0.218.0
+
## 0.5.38
### Patch Changes
diff --git a/packages/bridge/README.md b/packages/bridge/README.md
index a1ebbf98f..cb956a415 100644
--- a/packages/bridge/README.md
+++ b/packages/bridge/README.md
@@ -116,6 +116,22 @@ import { getTheme } from "@getflip/bridge";
const theme = await getTheme();
```
+#### `setTheme`
+
+Set the theme. Pass `undefined` to reset to the user's system theme.
+
+**Param** `"light" | "dark" | undefined`
+
+**Returns** `Promise<"light" | "dark" | undefined>`
+
+**Example**
+
+```js
+import { setTheme } from "@getflip/bridge";
+
+const newTheme = await setTheme("dark");
+```
+
### Dialogs
#### `createDialog`
@@ -375,7 +391,7 @@ Shows a toast by the host app.
{
text: string;
duration?: number;
- icon?: string;
+ icon?: string;
intent?: SwirlToastIntent;
}
```
@@ -393,7 +409,6 @@ await showToast({
icon: "icon",
intent: "success",
});
-
```
## Events
diff --git a/packages/bridge/package.json b/packages/bridge/package.json
index 33427ec6d..a236552a7 100644
--- a/packages/bridge/package.json
+++ b/packages/bridge/package.json
@@ -1,6 +1,6 @@
{
"name": "@getflip/bridge",
- "version": "0.5.38",
+ "version": "0.6.30",
"description": "Flip JavaScript Bridge for external integrations.",
"main": "dist/index.cjs.js",
"module": "dist/index.mjs",
@@ -18,7 +18,7 @@
"test:watch": "jest --watchAll"
},
"dependencies": {
- "@getflip/swirl-components": "^0.217.0",
+ "@getflip/swirl-components": "^0.257.0",
"uuid": "^9.0.0"
},
"devDependencies": {
diff --git a/packages/bridge/src/theming/theming.spec.ts b/packages/bridge/src/theming/theming.spec.ts
index f3bbbdfd6..6a4536cec 100644
--- a/packages/bridge/src/theming/theming.spec.ts
+++ b/packages/bridge/src/theming/theming.spec.ts
@@ -1,5 +1,5 @@
import { makeRequest } from "../messaging";
-import { getTheme } from "./theming";
+import { getTheme, setTheme } from "./theming";
jest.mock("../messaging", () => ({
makeRequest: jest.fn(),
@@ -22,4 +22,20 @@ describe("theming", () => {
method: "GET_THEME",
});
});
+
+ test("'setTheme' sends correct request", async () => {
+ await setTheme("dark");
+
+ const makeRequestMock = makeRequest as unknown as jest.Mock<
+ typeof makeRequest
+ >;
+
+ expect(makeRequestMock).toHaveBeenCalledWith({
+ id: makeRequestMock.mock.calls[0][0].id,
+ method: "SET_THEME",
+ params: {
+ theme: "dark",
+ },
+ });
+ });
});
diff --git a/packages/bridge/src/theming/theming.ts b/packages/bridge/src/theming/theming.ts
index 22bdaab53..0d283ffe9 100644
--- a/packages/bridge/src/theming/theming.ts
+++ b/packages/bridge/src/theming/theming.ts
@@ -1,7 +1,13 @@
+import { SwirlOSTheme } from "@getflip/swirl-components";
import { v4 as uuidv4 } from "uuid";
import { makeRequest } from "../messaging";
import { BridgeMethod } from "../types";
-import { GetThemeRequest, GetThemeResult } from "./theming.types";
+import {
+ GetThemeRequest,
+ GetThemeResult,
+ SetThemeRequest,
+ SetThemeResult,
+} from "./theming.types";
export function getTheme() {
const request: GetThemeRequest = {
@@ -11,3 +17,13 @@ export function getTheme() {
return makeRequest(request);
}
+
+export function setTheme(theme: SwirlOSTheme) {
+ const request: SetThemeRequest = {
+ id: uuidv4(),
+ method: BridgeMethod.SET_THEME,
+ params: { theme },
+ };
+
+ return makeRequest(request);
+}
diff --git a/packages/bridge/src/theming/theming.types.ts b/packages/bridge/src/theming/theming.types.ts
index fac41b441..6c7ca4333 100644
--- a/packages/bridge/src/theming/theming.types.ts
+++ b/packages/bridge/src/theming/theming.types.ts
@@ -1,6 +1,6 @@
import { SwirlOSTheme } from "@getflip/swirl-components/dist/types/components/swirl-theme-provider/swirl-theme-provider.types";
-import { BridgeMethod } from "../types";
import { BridgeRequest } from "../messaging/messaging.types";
+import { BridgeMethod } from "../types";
export type GetThemeRequest = BridgeRequest;
@@ -8,3 +8,10 @@ export type GetThemeResult = {
activeTheme: SwirlOSTheme;
preferredTheme: SwirlOSTheme | undefined;
};
+
+export type SetThemeRequest = BridgeRequest<
+ BridgeMethod.SET_THEME,
+ { theme: SwirlOSTheme | undefined }
+>;
+
+export type SetThemeResult = SwirlOSTheme | undefined;
diff --git a/packages/bridge/src/types.ts b/packages/bridge/src/types.ts
index ae11567aa..c6ede2b7b 100644
--- a/packages/bridge/src/types.ts
+++ b/packages/bridge/src/types.ts
@@ -13,7 +13,7 @@ import {
OpenModalResult,
} from "./modal";
import { NavigateResult } from "./navigation";
-import { GetThemeResult } from "./theming";
+import { GetThemeResult, SetThemeResult } from "./theming";
import { ShowToastResult } from "./toast";
export type BridgeOptions = {
@@ -43,6 +43,7 @@ export enum BridgeMethod {
NAVIGATE = "NAVIGATE",
OPEN_DIALOG = "OPEN_DIALOG",
OPEN_MODAL = "OPEN_MODAL",
+ SET_THEME = "SET_THEME",
SHOW_TOAST = "SHOW_TOAST",
SUBSCRIBE = "SUBSCRIBE",
UNSUBSCRIBE = "UNSUBSCRIBE",
@@ -61,6 +62,7 @@ export type BridgeMethodResultMapping = {
[BridgeMethod.NAVIGATE]: NavigateResult;
[BridgeMethod.OPEN_DIALOG]: OpenDialogResult;
[BridgeMethod.OPEN_MODAL]: OpenModalResult;
+ [BridgeMethod.SET_THEME]: SetThemeResult;
[BridgeMethod.SHOW_TOAST]: ShowToastResult;
[BridgeMethod.SUBSCRIBE]: SubscribeResult;
[BridgeMethod.UNSUBSCRIBE]: UnsubscribeResult;
diff --git a/packages/swirl-components-angular/CHANGELOG.md b/packages/swirl-components-angular/CHANGELOG.md
index c895809d4..14da173ab 100644
--- a/packages/swirl-components-angular/CHANGELOG.md
+++ b/packages/swirl-components-angular/CHANGELOG.md
@@ -1,5 +1,930 @@
# @getflip/swirl-components-angular
+## 0.257.0
+
+### Minor Changes
+
+- [#864](https://github.com/getflip/swirl/pull/864)
+ [`ecbd8609`](https://github.com/getflip/swirl/commit/ecbd860903169e635c00a8c2384b1c4139201915)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Added animation and
+ wrapper element to swirl navigation item component
+
+### Patch Changes
+
+- Updated dependencies
+ [[`ecbd8609`](https://github.com/getflip/swirl/commit/ecbd860903169e635c00a8c2384b1c4139201915)]:
+ - @getflip/swirl-components@0.257.0
+
+## 0.256.2
+
+### Patch Changes
+
+- [#862](https://github.com/getflip/swirl/pull/862)
+ [`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Made check for
+ expandable component clearer
+
+* [#862](https://github.com/getflip/swirl/pull/862)
+ [`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Fixed expandable
+ event swollowing
+
+* Updated dependencies
+ [[`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e),
+ [`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e)]:
+ - @getflip/swirl-components@0.256.2
+
+## 0.256.1
+
+### Patch Changes
+
+- [#860](https://github.com/getflip/swirl/pull/860)
+ [`fc1e576a`](https://github.com/getflip/swirl/commit/fc1e576a90245b42bacb5fa79304d16857c34d21)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Fixed expandable
+ event swollowing
+
+- Updated dependencies
+ [[`fc1e576a`](https://github.com/getflip/swirl/commit/fc1e576a90245b42bacb5fa79304d16857c34d21)]:
+ - @getflip/swirl-components@0.256.1
+
+## 0.256.0
+
+### Minor Changes
+
+- [#853](https://github.com/getflip/swirl/pull/853)
+ [`9ef1d493`](https://github.com/getflip/swirl/commit/9ef1d4938a1fe84e9f56d8f60396824604fb59bc)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Refactored Swirl
+ Tree Navigation Item
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9ef1d493`](https://github.com/getflip/swirl/commit/9ef1d4938a1fe84e9f56d8f60396824604fb59bc)]:
+ - @getflip/swirl-components@0.256.0
+
+## 0.255.0
+
+### Minor Changes
+
+- [#856](https://github.com/getflip/swirl/pull/856)
+ [`f0ad90c4`](https://github.com/getflip/swirl/commit/f0ad90c49defa3aa8332b99339075001c8386564)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Added secondary
+ label and changed tooltip color
+
+* [#857](https://github.com/getflip/swirl/pull/857)
+ [`d3a68077`](https://github.com/getflip/swirl/commit/d3a68077f15c596f6fed41bc375c2e319ae75b89)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Add
+ iconPosition prop to swirl-tag
+
+### Patch Changes
+
+- Updated dependencies
+ [[`f0ad90c4`](https://github.com/getflip/swirl/commit/f0ad90c49defa3aa8332b99339075001c8386564),
+ [`d3a68077`](https://github.com/getflip/swirl/commit/d3a68077f15c596f6fed41bc375c2e319ae75b89)]:
+ - @getflip/swirl-components@0.255.0
+
+## 0.254.1
+
+### Patch Changes
+
+- [`59d8466f`](https://github.com/getflip/swirl/commit/59d8466fbfa2e53b416233759100c03574cd8b8e)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix disabled styles of
+ swirl-button when used as a link
+
+- Updated dependencies
+ [[`59d8466f`](https://github.com/getflip/swirl/commit/59d8466fbfa2e53b416233759100c03574cd8b8e)]:
+ - @getflip/swirl-components@0.254.1
+
+## 0.254.0
+
+### Minor Changes
+
+- [`31540c9a`](https://github.com/getflip/swirl/commit/31540c9a09aa3bcf8cebe3406f0cd2fb54f9682f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add post approval icon
+
+### Patch Changes
+
+- Updated dependencies
+ [[`31540c9a`](https://github.com/getflip/swirl/commit/31540c9a09aa3bcf8cebe3406f0cd2fb54f9682f)]:
+ - @getflip/swirl-components@0.254.0
+
+## 0.253.0
+
+### Minor Changes
+
+- [`2a44f406`](https://github.com/getflip/swirl/commit/2a44f4067ddf8636c2e9b03fdde9d7e8bf72af4c)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "tooltip" prop to swirl-radio
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2a44f406`](https://github.com/getflip/swirl/commit/2a44f4067ddf8636c2e9b03fdde9d7e8bf72af4c)]:
+ - @getflip/swirl-components@0.253.0
+
+## 0.252.1
+
+### Patch Changes
+
+- [#850](https://github.com/getflip/swirl/pull/850)
+ [`d97f762b`](https://github.com/getflip/swirl/commit/d97f762b1b38fcb0d5136845b78256046059c729)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Hide the
+ swirl-shell-navigation-item gradient if collapsed
+
+- Updated dependencies
+ [[`d97f762b`](https://github.com/getflip/swirl/commit/d97f762b1b38fcb0d5136845b78256046059c729)]:
+ - @getflip/swirl-components@0.252.1
+
+## 0.252.0
+
+### Minor Changes
+
+- [#845](https://github.com/getflip/swirl/pull/845)
+ [`63609b09`](https://github.com/getflip/swirl/commit/63609b0941b8121e542cbed881ab1c8ae91cd1a9)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Fix
+ swirl-app-bar to allow truncation of heading
+
+### Patch Changes
+
+- Updated dependencies
+ [[`63609b09`](https://github.com/getflip/swirl/commit/63609b0941b8121e542cbed881ab1c8ae91cd1a9)]:
+ - @getflip/swirl-components@0.252.0
+
+## 0.251.0
+
+### Minor Changes
+
+- [#846](https://github.com/getflip/swirl/pull/846)
+ [`9012ceca`](https://github.com/getflip/swirl/commit/9012cecaf6816a262388ff4f021b92fe5d6e2770)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Remove
+ duplicate menu shadow
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9012ceca`](https://github.com/getflip/swirl/commit/9012cecaf6816a262388ff4f021b92fe5d6e2770)]:
+ - @getflip/swirl-components@0.251.0
+
+## 0.250.0
+
+### Minor Changes
+
+- [#839](https://github.com/getflip/swirl/pull/839)
+ [`de49d0e6`](https://github.com/getflip/swirl/commit/de49d0e6abc6452ec334bf848a1eb0709d129897)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Improve
+ loading and gif handling
+
+### Patch Changes
+
+- Updated dependencies
+ [[`de49d0e6`](https://github.com/getflip/swirl/commit/de49d0e6abc6452ec334bf848a1eb0709d129897)]:
+ - @getflip/swirl-components@0.250.0
+
+## 0.249.1
+
+### Patch Changes
+
+- [`6a531e70`](https://github.com/getflip/swirl/commit/6a531e7041d5208604f2f6dd3fa7429acd6aa3ff)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Minor styling fix for
+ swirl-select
+
+- Updated dependencies
+ [[`6a531e70`](https://github.com/getflip/swirl/commit/6a531e7041d5208604f2f6dd3fa7429acd6aa3ff)]:
+ - @getflip/swirl-components@0.249.1
+
+## 0.249.0
+
+### Minor Changes
+
+- [#838](https://github.com/getflip/swirl/pull/838)
+ [`1f6c1d13`](https://github.com/getflip/swirl/commit/1f6c1d133c82cc2891301a2acc8b9427951fcc6b)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Add
+ swirl-toggle-button and swirl-toggle-group components
+
+### Patch Changes
+
+- Updated dependencies
+ [[`1f6c1d13`](https://github.com/getflip/swirl/commit/1f6c1d133c82cc2891301a2acc8b9427951fcc6b)]:
+ - @getflip/swirl-components@0.249.0
+
+## 0.248.0
+
+### Minor Changes
+
+- [`14e5b4b6`](https://github.com/getflip/swirl/commit/14e5b4b6c32e54dcd44dbccde5179b1dd0dc153b)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "standalone" prop to
+ swirl-select
+
+### Patch Changes
+
+- Updated dependencies
+ [[`14e5b4b6`](https://github.com/getflip/swirl/commit/14e5b4b6c32e54dcd44dbccde5179b1dd0dc153b)]:
+ - @getflip/swirl-components@0.248.0
+
+## 0.247.1
+
+### Patch Changes
+
+- [`b36913d7`](https://github.com/getflip/swirl/commit/b36913d7e431c755cdf2bcdd8e0048dd1bbe7464)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix a minor styling issue of the
+ swirl-pagination component
+
+- Updated dependencies
+ [[`b36913d7`](https://github.com/getflip/swirl/commit/b36913d7e431c755cdf2bcdd8e0048dd1bbe7464)]:
+ - @getflip/swirl-components@0.247.1
+
+## 0.247.0
+
+### Minor Changes
+
+- [#835](https://github.com/getflip/swirl/pull/835)
+ [`2a7aebd1`](https://github.com/getflip/swirl/commit/2a7aebd1e210a5d98913083ea5b8520bd7421ad6)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "avatar" slot to
+ swirl-option-list-item
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2a7aebd1`](https://github.com/getflip/swirl/commit/2a7aebd1e210a5d98913083ea5b8520bd7421ad6)]:
+ - @getflip/swirl-components@0.247.0
+
+## 0.246.0
+
+### Minor Changes
+
+- [#833](https://github.com/getflip/swirl/pull/833)
+ [`02ef115a`](https://github.com/getflip/swirl/commit/02ef115a7b41be4eb2b827e1c8ba4ac03934dcfd)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Fix value
+ update issue in the swirl-date-input component
+
+### Patch Changes
+
+- Updated dependencies
+ [[`02ef115a`](https://github.com/getflip/swirl/commit/02ef115a7b41be4eb2b827e1c8ba4ac03934dcfd)]:
+ - @getflip/swirl-components@0.246.0
+
+## 0.245.0
+
+### Minor Changes
+
+- [#827](https://github.com/getflip/swirl/pull/827)
+ [`091d8868`](https://github.com/getflip/swirl/commit/091d88684f020c37ae2d40300c55e8f49e42ec36)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Update shell
+ nav item styles
+
+### Patch Changes
+
+- Updated dependencies
+ [[`091d8868`](https://github.com/getflip/swirl/commit/091d88684f020c37ae2d40300c55e8f49e42ec36)]:
+ - @getflip/swirl-components@0.245.0
+
+## 0.244.0
+
+### Minor Changes
+
+- [#830](https://github.com/getflip/swirl/pull/830)
+ [`0772ac8a`](https://github.com/getflip/swirl/commit/0772ac8a4031b73faa1e31058d625a2cf5e6e031)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Pass the
+ datepicker start date in the short ISO format
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0772ac8a`](https://github.com/getflip/swirl/commit/0772ac8a4031b73faa1e31058d625a2cf5e6e031)]:
+ - @getflip/swirl-components@0.244.0
+
+## 0.243.0
+
+### Minor Changes
+
+- [#828](https://github.com/getflip/swirl/pull/828)
+ [`d2cc34fa`](https://github.com/getflip/swirl/commit/d2cc34fa7bd77ffb1217334b7051f890553f0cc8)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Make
+ swirl-date-picker in the swirl-date-input open on the selected date
+
+### Patch Changes
+
+- Updated dependencies
+ [[`d2cc34fa`](https://github.com/getflip/swirl/commit/d2cc34fa7bd77ffb1217334b7051f890553f0cc8)]:
+ - @getflip/swirl-components@0.243.0
+
+## 0.242.0
+
+### Minor Changes
+
+- [#825](https://github.com/getflip/swirl/pull/825)
+ [`5fc723fa`](https://github.com/getflip/swirl/commit/5fc723facdd2311bb8ae3e27de31ef996e274fb4)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Make image
+ grid static image sizes
+
+### Patch Changes
+
+- Updated dependencies
+ [[`5fc723fa`](https://github.com/getflip/swirl/commit/5fc723facdd2311bb8ae3e27de31ef996e274fb4)]:
+ - @getflip/swirl-components@0.242.0
+
+## 0.241.4
+
+### Patch Changes
+
+- [#823](https://github.com/getflip/swirl/pull/823)
+ [`c330be6d`](https://github.com/getflip/swirl/commit/c330be6df11783c0defa2b741928b7e564183241)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Fixed positioning
+ of swirl-toolbar children through the wrap property
+
+- Updated dependencies
+ [[`c330be6d`](https://github.com/getflip/swirl/commit/c330be6df11783c0defa2b741928b7e564183241)]:
+ - @getflip/swirl-components@0.241.4
+
+## 0.241.3
+
+### Patch Changes
+
+- [#821](https://github.com/getflip/swirl/pull/821)
+ [`2cdc24e3`](https://github.com/getflip/swirl/commit/2cdc24e3296d5354102d7628ae734ed25f861f93)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Fix
+ swirl-option-list-item applied width
+
+- Updated dependencies
+ [[`2cdc24e3`](https://github.com/getflip/swirl/commit/2cdc24e3296d5354102d7628ae734ed25f861f93)]:
+ - @getflip/swirl-components@0.241.3
+
+## 0.241.2
+
+### Patch Changes
+
+- [#819](https://github.com/getflip/swirl/pull/819)
+ [`1bd66440`](https://github.com/getflip/swirl/commit/1bd66440355b44833f9b89dd7a925a0de7c44b61)
+ Thanks [@danizep](https://github.com/danizep)! - Add large size to flat, plain
+ and on-image SwirlButtons
+
+- Updated dependencies
+ [[`1bd66440`](https://github.com/getflip/swirl/commit/1bd66440355b44833f9b89dd7a925a0de7c44b61)]:
+ - @getflip/swirl-components@0.241.2
+
+## 0.241.1
+
+### Patch Changes
+
+- [`cf172218`](https://github.com/getflip/swirl/commit/cf172218751c3ea8d52e97020702bb1a0d1c8b5b)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Reduce the amount of
+ swirl-tooltip repositionings
+
+- Updated dependencies
+ [[`cf172218`](https://github.com/getflip/swirl/commit/cf172218751c3ea8d52e97020702bb1a0d1c8b5b)]:
+ - @getflip/swirl-components@0.241.1
+
+## 0.241.0
+
+### Minor Changes
+
+- [`b3f8bbeb`](https://github.com/getflip/swirl/commit/b3f8bbeb32f85c7d4ad4a611b95c5c1439768856) -
+ Update gif controls icon size
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b3f8bbeb`](https://github.com/getflip/swirl/commit/b3f8bbeb32f85c7d4ad4a611b95c5c1439768856)]:
+ - @getflip/swirl-components@0.241.0
+
+## 0.240.1
+
+### Patch Changes
+
+- [`c69cf843`](https://github.com/getflip/swirl/commit/c69cf843057ad7e2459cb80b8aaf1714879dcdec)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix children update issue of
+ swirl-tree-view-item
+
+- Updated dependencies
+ [[`c69cf843`](https://github.com/getflip/swirl/commit/c69cf843057ad7e2459cb80b8aaf1714879dcdec)]:
+ - @getflip/swirl-components@0.240.1
+
+## 0.240.0
+
+### Minor Changes
+
+- [#813](https://github.com/getflip/swirl/pull/813)
+ [`b6f26c1a`](https://github.com/getflip/swirl/commit/b6f26c1a8dc26eb2e0d45f3691301d75553a0122)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Add gif
+ playback functionality to image grid items
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b6f26c1a`](https://github.com/getflip/swirl/commit/b6f26c1a8dc26eb2e0d45f3691301d75553a0122)]:
+ - @getflip/swirl-components@0.240.0
+
+## 0.239.1
+
+### Patch Changes
+
+- [`5af61856`](https://github.com/getflip/swirl/commit/5af61856e645072dda5059a285465be703252199)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix swirl-lightbox focus trap
+ being triggered too early in some cases
+
+- Updated dependencies
+ [[`5af61856`](https://github.com/getflip/swirl/commit/5af61856e645072dda5059a285465be703252199)]:
+ - @getflip/swirl-components@0.239.1
+
+## 0.239.0
+
+### Minor Changes
+
+- [#810](https://github.com/getflip/swirl/pull/810)
+ [`fea94a96`](https://github.com/getflip/swirl/commit/fea94a96753fa7fb1537e5d6430b22be3d11b791)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Added prop to
+ disable expanding tree items
+
+* [#808](https://github.com/getflip/swirl/pull/808)
+ [`229add12`](https://github.com/getflip/swirl/commit/229add12139d2015c794f5108915b676de0501cf)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Replaced gif
+ icon
+
+### Patch Changes
+
+- Updated dependencies
+ [[`fea94a96`](https://github.com/getflip/swirl/commit/fea94a96753fa7fb1537e5d6430b22be3d11b791),
+ [`229add12`](https://github.com/getflip/swirl/commit/229add12139d2015c794f5108915b676de0501cf)]:
+ - @getflip/swirl-components@0.239.0
+
+## 0.238.0
+
+### Minor Changes
+
+- [#806](https://github.com/getflip/swirl/pull/806)
+ [`e8981393`](https://github.com/getflip/swirl/commit/e8981393a765e106a8006df7a2752438aa3b9350)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Add color
+ selector to tree view item icons
+
+### Patch Changes
+
+- Updated dependencies
+ [[`e8981393`](https://github.com/getflip/swirl/commit/e8981393a765e106a8006df7a2752438aa3b9350)]:
+ - @getflip/swirl-components@0.238.0
+
+## 0.237.0
+
+### Minor Changes
+
+- [#804](https://github.com/getflip/swirl/pull/804)
+ [`1e4569a1`](https://github.com/getflip/swirl/commit/1e4569a196c9efb0c7d221685722253fb7ea23f9)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "collapsibleNavigation" prop
+ to swirl-app-layout to allow users to collapse the navigation
+
+### Patch Changes
+
+- Updated dependencies
+ [[`1e4569a1`](https://github.com/getflip/swirl/commit/1e4569a196c9efb0c7d221685722253fb7ea23f9)]:
+ - @getflip/swirl-components@0.237.0
+
+## 0.236.1
+
+### Patch Changes
+
+- [#802](https://github.com/getflip/swirl/pull/802)
+ [`ec850064`](https://github.com/getflip/swirl/commit/ec850064fe4e3639222161bce3c3a313ba9bc698)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix swirl-shell-layout and
+ swirl-app-layout scroll detection and border visibility
+- Updated dependencies
+ [[`ec850064`](https://github.com/getflip/swirl/commit/ec850064fe4e3639222161bce3c3a313ba9bc698)]:
+ - @getflip/swirl-components@0.236.1
+
+## 0.236.0
+
+### Minor Changes
+
+- [#800](https://github.com/getflip/swirl/pull/800)
+ [`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add
+ bordered-block-end-when-scrolled and bordered-block-start-when-scrolled props
+ to swirl-box
+
+* [#800](https://github.com/getflip/swirl/pull/800)
+ [`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Reveal borders of
+ swirl-shell-layout and swirl-app-layout on scroll
+
+### Patch Changes
+
+- [`d7142aa4`](https://github.com/getflip/swirl/commit/d7142aa41ea06e662155d221285196d85ff58572)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix a keyboard control issue of
+ swirl-tree-view
+
+- Updated dependencies
+ [[`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0),
+ [`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0),
+ [`d7142aa4`](https://github.com/getflip/swirl/commit/d7142aa41ea06e662155d221285196d85ff58572)]:
+ - @getflip/swirl-components@0.236.0
+
+## 0.235.1
+
+### Patch Changes
+
+- [#798](https://github.com/getflip/swirl/pull/798)
+ [`cadf77f3`](https://github.com/getflip/swirl/commit/cadf77f34397e530e35060dbc31e1c71b6141ea2)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Prevent
+ valueChange event propagation in swirl-select
+
+- Updated dependencies
+ [[`cadf77f3`](https://github.com/getflip/swirl/commit/cadf77f34397e530e35060dbc31e1c71b6141ea2)]:
+ - @getflip/swirl-components@0.235.1
+
+## 0.235.0
+
+### Minor Changes
+
+- [#796](https://github.com/getflip/swirl/pull/796)
+ [`95a50fe3`](https://github.com/getflip/swirl/commit/95a50fe33070170ccee37d3d5a4ff3cfc6047458)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Remove drag
+ behavior when the swirl-lightbox has only one item
+
+### Patch Changes
+
+- [`f66bfa94`](https://github.com/getflip/swirl/commit/f66bfa94fc5d230d71fb1efe8d3ded1d8d6dbc0b)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Only emit swirl-tree-view-item
+ expansion state events if not already in same state
+- Updated dependencies
+ [[`95a50fe3`](https://github.com/getflip/swirl/commit/95a50fe33070170ccee37d3d5a4ff3cfc6047458),
+ [`f66bfa94`](https://github.com/getflip/swirl/commit/f66bfa94fc5d230d71fb1efe8d3ded1d8d6dbc0b)]:
+ - @getflip/swirl-components@0.235.0
+
+## 0.234.0
+
+### Minor Changes
+
+- [#794](https://github.com/getflip/swirl/pull/794)
+ [`28309df9`](https://github.com/getflip/swirl/commit/28309df93eef2c55134ac1f51c60c073662d6860)
+ Thanks [@danizep](https://github.com/danizep)! - Add livestream icons
+
+### Patch Changes
+
+- Updated dependencies
+ [[`28309df9`](https://github.com/getflip/swirl/commit/28309df93eef2c55134ac1f51c60c073662d6860)]:
+ - @getflip/swirl-components@0.234.0
+
+## 0.233.1
+
+### Patch Changes
+
+- [`0ec94e7e`](https://github.com/getflip/swirl/commit/0ec94e7e002a3c00ed43cc31125e47575506cfac)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Adjust swirl-tree-view expansion
+ change event
+
+- Updated dependencies
+ [[`0ec94e7e`](https://github.com/getflip/swirl/commit/0ec94e7e002a3c00ed43cc31125e47575506cfac)]:
+ - @getflip/swirl-components@0.233.1
+
+## 0.233.0
+
+### Minor Changes
+
+- [#789](https://github.com/getflip/swirl/pull/789)
+ [`8fc64d9c`](https://github.com/getflip/swirl/commit/8fc64d9c1637c04e46ecaf221199e23be73379ef)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add swirl-tree-view and
+ swirl-tree-view-item components
+
+### Patch Changes
+
+- Updated dependencies
+ [[`8fc64d9c`](https://github.com/getflip/swirl/commit/8fc64d9c1637c04e46ecaf221199e23be73379ef)]:
+ - @getflip/swirl-components@0.233.0
+
+## 0.232.0
+
+### Minor Changes
+
+- [`c917a77a`](https://github.com/getflip/swirl/commit/c917a77a2bd1b378d6176f667b4e25e175ca9f3e)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Align package versions
+
+### Patch Changes
+
+- Updated dependencies
+ [[`62afe3d8`](https://github.com/getflip/swirl/commit/62afe3d80984f5016703b178412e9120d68b400e),
+ [`c917a77a`](https://github.com/getflip/swirl/commit/c917a77a2bd1b378d6176f667b4e25e175ca9f3e)]:
+ - @getflip/swirl-components@0.231.0
+
+## 0.231.0
+
+### Minor Changes
+
+- [`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add icons
+
+### Patch Changes
+
+- [`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Minor style adjustments of teh
+ swirl-shell-layout
+
+- Updated dependencies
+ [[`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d)]:
+ - @getflip/swirl-components@0.230.1
+
+## 0.230.0
+
+### Minor Changes
+
+- [#787](https://github.com/getflip/swirl/pull/787)
+ [`08326ecc`](https://github.com/getflip/swirl/commit/08326ecc29ae06fa14ee77705c3d6858c6bf27c8)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Fix
+ Navigation labels not showing
+
+### Patch Changes
+
+- Updated dependencies
+ [[`08326ecc`](https://github.com/getflip/swirl/commit/08326ecc29ae06fa14ee77705c3d6858c6bf27c8)]:
+ - @getflip/swirl-components@0.230.0
+
+## 0.229.0
+
+### Minor Changes
+
+- [`c22e465f`](https://github.com/getflip/swirl/commit/c22e465fbb938e2da9900a0c1390ed2458b32ddb) -
+ Fix changeset
+
+### Patch Changes
+
+- [#785](https://github.com/getflip/swirl/pull/785)
+ [`947da5d3`](https://github.com/getflip/swirl/commit/947da5d3cc60b5a0e040c487ae4b3c5137294c51)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Add spacing
+ prop to swirl-resource-list
+
+- Updated dependencies
+ [[`947da5d3`](https://github.com/getflip/swirl/commit/947da5d3cc60b5a0e040c487ae4b3c5137294c51),
+ [`c22e465f`](https://github.com/getflip/swirl/commit/c22e465fbb938e2da9900a0c1390ed2458b32ddb)]:
+ - @getflip/swirl-components@0.229.0
+
+## 0.228.0
+
+### Minor Changes
+
+- [`815a91bd`](https://github.com/getflip/swirl/commit/815a91bd6b0e2348e3277073116004f50db77477)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add icons "public" and
+ "public-off"
+
+### Patch Changes
+
+- Updated dependencies
+ [[`815a91bd`](https://github.com/getflip/swirl/commit/815a91bd6b0e2348e3277073116004f50db77477)]:
+ - @getflip/swirl-components@0.228.0
+
+## 0.227.0
+
+### Minor Changes
+
+- [#782](https://github.com/getflip/swirl/pull/782)
+ [`2025e3e4`](https://github.com/getflip/swirl/commit/2025e3e4735595b40190cc5b1e22d9ed53fdcb6f)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Add
+ responsive prop to text
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2025e3e4`](https://github.com/getflip/swirl/commit/2025e3e4735595b40190cc5b1e22d9ed53fdcb6f)]:
+ - @getflip/swirl-components@0.227.0
+
+## 0.226.1
+
+### Patch Changes
+
+- [`bce80621`](https://github.com/getflip/swirl/commit/bce80621f5e9d3e47d68e6278d1e7e499b096809)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix secondary navigation state
+ restoration of swirl-shell-layout
+
+* [#778](https://github.com/getflip/swirl/pull/778)
+ [`b1b7b434`](https://github.com/getflip/swirl/commit/b1b7b434b04e593e53ba71b20c358e5315e52e63)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Fix
+ swirl-file-viewer-pdf current page number
+
+* Updated dependencies
+ [[`bce80621`](https://github.com/getflip/swirl/commit/bce80621f5e9d3e47d68e6278d1e7e499b096809),
+ [`b1b7b434`](https://github.com/getflip/swirl/commit/b1b7b434b04e593e53ba71b20c358e5315e52e63)]:
+ - @getflip/swirl-components@0.226.1
+
+## 0.226.0
+
+### Minor Changes
+
+- [#775](https://github.com/getflip/swirl/pull/775)
+ [`fbf71bc9`](https://github.com/getflip/swirl/commit/fbf71bc94c4eb9e5276b002dc40a90c582feb69f)
+ Thanks [@maraikeschneider](https://github.com/maraikeschneider)! - Fix
+ handling of table layout when table is rendered within a modal
+
+### Patch Changes
+
+- Updated dependencies
+ [[`fbf71bc9`](https://github.com/getflip/swirl/commit/fbf71bc94c4eb9e5276b002dc40a90c582feb69f)]:
+ - @getflip/swirl-components@0.226.0
+
+## 0.225.2
+
+### Patch Changes
+
+- [`97c45d46`](https://github.com/getflip/swirl/commit/97c45d46eb7cec30d6c49b6192c2b7a51aaf95a9)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Improve download handling of
+ fallback file viewer
+
+- Updated dependencies
+ [[`97c45d46`](https://github.com/getflip/swirl/commit/97c45d46eb7cec30d6c49b6192c2b7a51aaf95a9)]:
+ - @getflip/swirl-components@0.225.2
+
+## 0.225.1
+
+### Patch Changes
+
+- [`3f98de9e`](https://github.com/getflip/swirl/commit/3f98de9e198a3f25c57551f14ee6495ab0f7d837)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Make swirl-file-viewer-fallback
+ respect disabled downloads
+
+- Updated dependencies
+ [[`3f98de9e`](https://github.com/getflip/swirl/commit/3f98de9e198a3f25c57551f14ee6495ab0f7d837)]:
+ - @getflip/swirl-components@0.225.1
+
+## 0.225.0
+
+### Minor Changes
+
+- [`0c855fb9`](https://github.com/getflip/swirl/commit/0c855fb9772d0555da72b82cee6df30e9d6ac8d1)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add swirl-file-viewer-fallback
+ for unsupported file types
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0c855fb9`](https://github.com/getflip/swirl/commit/0c855fb9772d0555da72b82cee6df30e9d6ac8d1)]:
+ - @getflip/swirl-components@0.225.0
+
+## 0.224.0
+
+### Minor Changes
+
+- [`6a1af78a`](https://github.com/getflip/swirl/commit/6a1af78a11afe552d7e49f1b2ed93f5ba0623c9a)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add chipClick event to swirl-chip
+
+### Patch Changes
+
+- Updated dependencies
+ [[`6a1af78a`](https://github.com/getflip/swirl/commit/6a1af78a11afe552d7e49f1b2ed93f5ba0623c9a)]:
+ - @getflip/swirl-components@0.224.0
+
+## 0.223.0
+
+### Minor Changes
+
+- [#770](https://github.com/getflip/swirl/pull/770)
+ [`9df750c0`](https://github.com/getflip/swirl/commit/9df750c0eb68db1c28bba983461d1cec3f1d31ba)
+ Thanks [@maraikeschneider](https://github.com/maraikeschneider)! - Apply
+ sticky property to table columns and cells
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9df750c0`](https://github.com/getflip/swirl/commit/9df750c0eb68db1c28bba983461d1cec3f1d31ba)]:
+ - @getflip/swirl-components@0.223.0
+
+## 0.222.1
+
+### Patch Changes
+
+- [`4390b336`](https://github.com/getflip/swirl/commit/4390b336e500e2785eda0db99e2b6f9d98a5bd0f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Don't close mobile shell
+ navigation when secondary navigation is toggled
+
+- Updated dependencies
+ [[`4390b336`](https://github.com/getflip/swirl/commit/4390b336e500e2785eda0db99e2b6f9d98a5bd0f)]:
+ - @getflip/swirl-components@0.222.1
+
+## 0.222.0
+
+### Minor Changes
+
+- [`265823b5`](https://github.com/getflip/swirl/commit/265823b565cf3050ef6889d6f2fe5990fc893de3)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add font-size prop to
+ swirl-text-input and swirl-form-control
+
+### Patch Changes
+
+- Updated dependencies
+ [[`265823b5`](https://github.com/getflip/swirl/commit/265823b565cf3050ef6889d6f2fe5990fc893de3)]:
+ - @getflip/swirl-components@0.222.0
+
+## 0.221.0
+
+### Minor Changes
+
+- [`0e9413cf`](https://github.com/getflip/swirl/commit/0e9413cfbc2add299f8360078ef2df3cddd1153f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "border-color" prop to
+ swirl-box
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0e9413cf`](https://github.com/getflip/swirl/commit/0e9413cfbc2add299f8360078ef2df3cddd1153f)]:
+ - @getflip/swirl-components@0.221.0
+
+## 0.220.5
+
+### Patch Changes
+
+- [`93f59bef`](https://github.com/getflip/swirl/commit/93f59bef3ce31d09e112795f7c520564c0d99355)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix swirl-shell-navigation-item
+ label wrapping
+
+- Updated dependencies
+ [[`93f59bef`](https://github.com/getflip/swirl/commit/93f59bef3ce31d09e112795f7c520564c0d99355)]:
+ - @getflip/swirl-components@0.220.5
+
+## 0.220.4
+
+### Patch Changes
+
+- [`cfaf2b8f`](https://github.com/getflip/swirl/commit/cfaf2b8fa3cfb53df041b7d6c60e64a6a5df1e00)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Tweak swirl-shell-navigation-item
+ spacing
+
+- Updated dependencies
+ [[`cfaf2b8f`](https://github.com/getflip/swirl/commit/cfaf2b8fa3cfb53df041b7d6c60e64a6a5df1e00)]:
+ - @getflip/swirl-components@0.220.4
+
+## 0.220.3
+
+### Patch Changes
+
+- [`875d491a`](https://github.com/getflip/swirl/commit/875d491a355ce89d2f15f880ad55f0b714ab0aaf)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Tweak swirl-shell-navigation-item
+ styling
+
+- Updated dependencies
+ [[`875d491a`](https://github.com/getflip/swirl/commit/875d491a355ce89d2f15f880ad55f0b714ab0aaf)]:
+ - @getflip/swirl-components@0.220.3
+
+## 0.220.2
+
+### Patch Changes
+
+- [`b54e20a7`](https://github.com/getflip/swirl/commit/b54e20a77aae792a8e3afa5f0069457a5985530f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix allowed shell layout
+ navigation markup
+
+- Updated dependencies
+ [[`b54e20a7`](https://github.com/getflip/swirl/commit/b54e20a77aae792a8e3afa5f0069457a5985530f)]:
+ - @getflip/swirl-components@0.220.2
+
+## 0.220.1
+
+### Patch Changes
+
+- [`ebde720e`](https://github.com/getflip/swirl/commit/ebde720ea7a1e80d9e8db13e9852d3601013a5f6)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix shell layout navigation item
+ handling if items change at runtime
+
+- Updated dependencies
+ [[`ebde720e`](https://github.com/getflip/swirl/commit/ebde720ea7a1e80d9e8db13e9852d3601013a5f6)]:
+ - @getflip/swirl-components@0.220.1
+
+## 0.220.0
+
+### Minor Changes
+
+- [#762](https://github.com/getflip/swirl/pull/762)
+ [`e9ffdb07`](https://github.com/getflip/swirl/commit/e9ffdb073a2b8dcfcaf56ecdb87fbd037ba3d125)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add optional grid layout for
+ shell layout navigation
+
+### Patch Changes
+
+- Updated dependencies
+ [[`e9ffdb07`](https://github.com/getflip/swirl/commit/e9ffdb073a2b8dcfcaf56ecdb87fbd037ba3d125)]:
+ - @getflip/swirl-components@0.220.0
+
+## 0.219.0
+
+### Minor Changes
+
+- [#760](https://github.com/getflip/swirl/pull/760)
+ [`9b7ec15d`](https://github.com/getflip/swirl/commit/9b7ec15d6f3f8ad7fb5886fa79c0ec56c28e06d6)
+ Thanks [@koraxis](https://github.com/koraxis)! - Add RemoveCircle icon
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9b7ec15d`](https://github.com/getflip/swirl/commit/9b7ec15d6f3f8ad7fb5886fa79c0ec56c28e06d6)]:
+ - @getflip/swirl-components@0.219.0
+
+## 0.218.0
+
+### Minor Changes
+
+- [#758](https://github.com/getflip/swirl/pull/758)
+ [`a842a881`](https://github.com/getflip/swirl/commit/a842a8813b8c124fa952124053c648a43fd826c3)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Avatar group
+ customizable badge size
+
+### Patch Changes
+
+- Updated dependencies
+ [[`a842a881`](https://github.com/getflip/swirl/commit/a842a8813b8c124fa952124053c648a43fd826c3)]:
+ - @getflip/swirl-components@0.218.0
+
## 0.217.0
### Minor Changes
diff --git a/packages/swirl-components-angular/package.json b/packages/swirl-components-angular/package.json
index 44bd0b817..dfa762702 100644
--- a/packages/swirl-components-angular/package.json
+++ b/packages/swirl-components-angular/package.json
@@ -1,6 +1,6 @@
{
"name": "@getflip/swirl-components-angular",
- "version": "0.217.0",
+ "version": "0.257.0",
"scripts": {
"ng": "ng",
"build": "ng build"
@@ -14,7 +14,7 @@
"@angular/platform-browser": "^16.2.12",
"@angular/platform-browser-dynamic": "^16.2.12",
"@angular/router": "^16.2.12",
- "@getflip/swirl-components": "^0.217.0",
+ "@getflip/swirl-components": "^0.257.0",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.3"
@@ -26,4 +26,4 @@
"ng-packagr": "^16.2.3",
"typescript": "~4.9.5"
}
-}
\ No newline at end of file
+}
diff --git a/packages/swirl-components-react/CHANGELOG.md b/packages/swirl-components-react/CHANGELOG.md
index c595e3ff2..46428fbf9 100644
--- a/packages/swirl-components-react/CHANGELOG.md
+++ b/packages/swirl-components-react/CHANGELOG.md
@@ -1,5 +1,930 @@
# @getflip/swirl-components-react
+## 0.257.0
+
+### Minor Changes
+
+- [#864](https://github.com/getflip/swirl/pull/864)
+ [`ecbd8609`](https://github.com/getflip/swirl/commit/ecbd860903169e635c00a8c2384b1c4139201915)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Added animation and
+ wrapper element to swirl navigation item component
+
+### Patch Changes
+
+- Updated dependencies
+ [[`ecbd8609`](https://github.com/getflip/swirl/commit/ecbd860903169e635c00a8c2384b1c4139201915)]:
+ - @getflip/swirl-components@0.257.0
+
+## 0.256.2
+
+### Patch Changes
+
+- [#862](https://github.com/getflip/swirl/pull/862)
+ [`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Made check for
+ expandable component clearer
+
+* [#862](https://github.com/getflip/swirl/pull/862)
+ [`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Fixed expandable
+ event swollowing
+
+* Updated dependencies
+ [[`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e),
+ [`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e)]:
+ - @getflip/swirl-components@0.256.2
+
+## 0.256.1
+
+### Patch Changes
+
+- [#860](https://github.com/getflip/swirl/pull/860)
+ [`fc1e576a`](https://github.com/getflip/swirl/commit/fc1e576a90245b42bacb5fa79304d16857c34d21)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Fixed expandable
+ event swollowing
+
+- Updated dependencies
+ [[`fc1e576a`](https://github.com/getflip/swirl/commit/fc1e576a90245b42bacb5fa79304d16857c34d21)]:
+ - @getflip/swirl-components@0.256.1
+
+## 0.256.0
+
+### Minor Changes
+
+- [#853](https://github.com/getflip/swirl/pull/853)
+ [`9ef1d493`](https://github.com/getflip/swirl/commit/9ef1d4938a1fe84e9f56d8f60396824604fb59bc)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Refactored Swirl
+ Tree Navigation Item
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9ef1d493`](https://github.com/getflip/swirl/commit/9ef1d4938a1fe84e9f56d8f60396824604fb59bc)]:
+ - @getflip/swirl-components@0.256.0
+
+## 0.255.0
+
+### Minor Changes
+
+- [#856](https://github.com/getflip/swirl/pull/856)
+ [`f0ad90c4`](https://github.com/getflip/swirl/commit/f0ad90c49defa3aa8332b99339075001c8386564)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Added secondary
+ label and changed tooltip color
+
+* [#857](https://github.com/getflip/swirl/pull/857)
+ [`d3a68077`](https://github.com/getflip/swirl/commit/d3a68077f15c596f6fed41bc375c2e319ae75b89)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Add
+ iconPosition prop to swirl-tag
+
+### Patch Changes
+
+- Updated dependencies
+ [[`f0ad90c4`](https://github.com/getflip/swirl/commit/f0ad90c49defa3aa8332b99339075001c8386564),
+ [`d3a68077`](https://github.com/getflip/swirl/commit/d3a68077f15c596f6fed41bc375c2e319ae75b89)]:
+ - @getflip/swirl-components@0.255.0
+
+## 0.254.1
+
+### Patch Changes
+
+- [`59d8466f`](https://github.com/getflip/swirl/commit/59d8466fbfa2e53b416233759100c03574cd8b8e)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix disabled styles of
+ swirl-button when used as a link
+
+- Updated dependencies
+ [[`59d8466f`](https://github.com/getflip/swirl/commit/59d8466fbfa2e53b416233759100c03574cd8b8e)]:
+ - @getflip/swirl-components@0.254.1
+
+## 0.254.0
+
+### Minor Changes
+
+- [`31540c9a`](https://github.com/getflip/swirl/commit/31540c9a09aa3bcf8cebe3406f0cd2fb54f9682f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add post approval icon
+
+### Patch Changes
+
+- Updated dependencies
+ [[`31540c9a`](https://github.com/getflip/swirl/commit/31540c9a09aa3bcf8cebe3406f0cd2fb54f9682f)]:
+ - @getflip/swirl-components@0.254.0
+
+## 0.253.0
+
+### Minor Changes
+
+- [`2a44f406`](https://github.com/getflip/swirl/commit/2a44f4067ddf8636c2e9b03fdde9d7e8bf72af4c)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "tooltip" prop to swirl-radio
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2a44f406`](https://github.com/getflip/swirl/commit/2a44f4067ddf8636c2e9b03fdde9d7e8bf72af4c)]:
+ - @getflip/swirl-components@0.253.0
+
+## 0.252.1
+
+### Patch Changes
+
+- [#850](https://github.com/getflip/swirl/pull/850)
+ [`d97f762b`](https://github.com/getflip/swirl/commit/d97f762b1b38fcb0d5136845b78256046059c729)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Hide the
+ swirl-shell-navigation-item gradient if collapsed
+
+- Updated dependencies
+ [[`d97f762b`](https://github.com/getflip/swirl/commit/d97f762b1b38fcb0d5136845b78256046059c729)]:
+ - @getflip/swirl-components@0.252.1
+
+## 0.252.0
+
+### Minor Changes
+
+- [#845](https://github.com/getflip/swirl/pull/845)
+ [`63609b09`](https://github.com/getflip/swirl/commit/63609b0941b8121e542cbed881ab1c8ae91cd1a9)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Fix
+ swirl-app-bar to allow truncation of heading
+
+### Patch Changes
+
+- Updated dependencies
+ [[`63609b09`](https://github.com/getflip/swirl/commit/63609b0941b8121e542cbed881ab1c8ae91cd1a9)]:
+ - @getflip/swirl-components@0.252.0
+
+## 0.251.0
+
+### Minor Changes
+
+- [#846](https://github.com/getflip/swirl/pull/846)
+ [`9012ceca`](https://github.com/getflip/swirl/commit/9012cecaf6816a262388ff4f021b92fe5d6e2770)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Remove
+ duplicate menu shadow
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9012ceca`](https://github.com/getflip/swirl/commit/9012cecaf6816a262388ff4f021b92fe5d6e2770)]:
+ - @getflip/swirl-components@0.251.0
+
+## 0.250.0
+
+### Minor Changes
+
+- [#839](https://github.com/getflip/swirl/pull/839)
+ [`de49d0e6`](https://github.com/getflip/swirl/commit/de49d0e6abc6452ec334bf848a1eb0709d129897)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Improve
+ loading and gif handling
+
+### Patch Changes
+
+- Updated dependencies
+ [[`de49d0e6`](https://github.com/getflip/swirl/commit/de49d0e6abc6452ec334bf848a1eb0709d129897)]:
+ - @getflip/swirl-components@0.250.0
+
+## 0.249.1
+
+### Patch Changes
+
+- [`6a531e70`](https://github.com/getflip/swirl/commit/6a531e7041d5208604f2f6dd3fa7429acd6aa3ff)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Minor styling fix for
+ swirl-select
+
+- Updated dependencies
+ [[`6a531e70`](https://github.com/getflip/swirl/commit/6a531e7041d5208604f2f6dd3fa7429acd6aa3ff)]:
+ - @getflip/swirl-components@0.249.1
+
+## 0.249.0
+
+### Minor Changes
+
+- [#838](https://github.com/getflip/swirl/pull/838)
+ [`1f6c1d13`](https://github.com/getflip/swirl/commit/1f6c1d133c82cc2891301a2acc8b9427951fcc6b)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Add
+ swirl-toggle-button and swirl-toggle-group components
+
+### Patch Changes
+
+- Updated dependencies
+ [[`1f6c1d13`](https://github.com/getflip/swirl/commit/1f6c1d133c82cc2891301a2acc8b9427951fcc6b)]:
+ - @getflip/swirl-components@0.249.0
+
+## 0.248.0
+
+### Minor Changes
+
+- [`14e5b4b6`](https://github.com/getflip/swirl/commit/14e5b4b6c32e54dcd44dbccde5179b1dd0dc153b)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "standalone" prop to
+ swirl-select
+
+### Patch Changes
+
+- Updated dependencies
+ [[`14e5b4b6`](https://github.com/getflip/swirl/commit/14e5b4b6c32e54dcd44dbccde5179b1dd0dc153b)]:
+ - @getflip/swirl-components@0.248.0
+
+## 0.247.1
+
+### Patch Changes
+
+- [`b36913d7`](https://github.com/getflip/swirl/commit/b36913d7e431c755cdf2bcdd8e0048dd1bbe7464)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix a minor styling issue of the
+ swirl-pagination component
+
+- Updated dependencies
+ [[`b36913d7`](https://github.com/getflip/swirl/commit/b36913d7e431c755cdf2bcdd8e0048dd1bbe7464)]:
+ - @getflip/swirl-components@0.247.1
+
+## 0.247.0
+
+### Minor Changes
+
+- [#835](https://github.com/getflip/swirl/pull/835)
+ [`2a7aebd1`](https://github.com/getflip/swirl/commit/2a7aebd1e210a5d98913083ea5b8520bd7421ad6)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "avatar" slot to
+ swirl-option-list-item
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2a7aebd1`](https://github.com/getflip/swirl/commit/2a7aebd1e210a5d98913083ea5b8520bd7421ad6)]:
+ - @getflip/swirl-components@0.247.0
+
+## 0.246.0
+
+### Minor Changes
+
+- [#833](https://github.com/getflip/swirl/pull/833)
+ [`02ef115a`](https://github.com/getflip/swirl/commit/02ef115a7b41be4eb2b827e1c8ba4ac03934dcfd)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Fix value
+ update issue in the swirl-date-input component
+
+### Patch Changes
+
+- Updated dependencies
+ [[`02ef115a`](https://github.com/getflip/swirl/commit/02ef115a7b41be4eb2b827e1c8ba4ac03934dcfd)]:
+ - @getflip/swirl-components@0.246.0
+
+## 0.245.0
+
+### Minor Changes
+
+- [#827](https://github.com/getflip/swirl/pull/827)
+ [`091d8868`](https://github.com/getflip/swirl/commit/091d88684f020c37ae2d40300c55e8f49e42ec36)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Update shell
+ nav item styles
+
+### Patch Changes
+
+- Updated dependencies
+ [[`091d8868`](https://github.com/getflip/swirl/commit/091d88684f020c37ae2d40300c55e8f49e42ec36)]:
+ - @getflip/swirl-components@0.245.0
+
+## 0.244.0
+
+### Minor Changes
+
+- [#830](https://github.com/getflip/swirl/pull/830)
+ [`0772ac8a`](https://github.com/getflip/swirl/commit/0772ac8a4031b73faa1e31058d625a2cf5e6e031)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Pass the
+ datepicker start date in the short ISO format
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0772ac8a`](https://github.com/getflip/swirl/commit/0772ac8a4031b73faa1e31058d625a2cf5e6e031)]:
+ - @getflip/swirl-components@0.244.0
+
+## 0.243.0
+
+### Minor Changes
+
+- [#828](https://github.com/getflip/swirl/pull/828)
+ [`d2cc34fa`](https://github.com/getflip/swirl/commit/d2cc34fa7bd77ffb1217334b7051f890553f0cc8)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Make
+ swirl-date-picker in the swirl-date-input open on the selected date
+
+### Patch Changes
+
+- Updated dependencies
+ [[`d2cc34fa`](https://github.com/getflip/swirl/commit/d2cc34fa7bd77ffb1217334b7051f890553f0cc8)]:
+ - @getflip/swirl-components@0.243.0
+
+## 0.242.0
+
+### Minor Changes
+
+- [#825](https://github.com/getflip/swirl/pull/825)
+ [`5fc723fa`](https://github.com/getflip/swirl/commit/5fc723facdd2311bb8ae3e27de31ef996e274fb4)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Make image
+ grid static image sizes
+
+### Patch Changes
+
+- Updated dependencies
+ [[`5fc723fa`](https://github.com/getflip/swirl/commit/5fc723facdd2311bb8ae3e27de31ef996e274fb4)]:
+ - @getflip/swirl-components@0.242.0
+
+## 0.241.4
+
+### Patch Changes
+
+- [#823](https://github.com/getflip/swirl/pull/823)
+ [`c330be6d`](https://github.com/getflip/swirl/commit/c330be6df11783c0defa2b741928b7e564183241)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Fixed positioning
+ of swirl-toolbar children through the wrap property
+
+- Updated dependencies
+ [[`c330be6d`](https://github.com/getflip/swirl/commit/c330be6df11783c0defa2b741928b7e564183241)]:
+ - @getflip/swirl-components@0.241.4
+
+## 0.241.3
+
+### Patch Changes
+
+- [#821](https://github.com/getflip/swirl/pull/821)
+ [`2cdc24e3`](https://github.com/getflip/swirl/commit/2cdc24e3296d5354102d7628ae734ed25f861f93)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Fix
+ swirl-option-list-item applied width
+
+- Updated dependencies
+ [[`2cdc24e3`](https://github.com/getflip/swirl/commit/2cdc24e3296d5354102d7628ae734ed25f861f93)]:
+ - @getflip/swirl-components@0.241.3
+
+## 0.241.2
+
+### Patch Changes
+
+- [#819](https://github.com/getflip/swirl/pull/819)
+ [`1bd66440`](https://github.com/getflip/swirl/commit/1bd66440355b44833f9b89dd7a925a0de7c44b61)
+ Thanks [@danizep](https://github.com/danizep)! - Add large size to flat, plain
+ and on-image SwirlButtons
+
+- Updated dependencies
+ [[`1bd66440`](https://github.com/getflip/swirl/commit/1bd66440355b44833f9b89dd7a925a0de7c44b61)]:
+ - @getflip/swirl-components@0.241.2
+
+## 0.241.1
+
+### Patch Changes
+
+- [`cf172218`](https://github.com/getflip/swirl/commit/cf172218751c3ea8d52e97020702bb1a0d1c8b5b)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Reduce the amount of
+ swirl-tooltip repositionings
+
+- Updated dependencies
+ [[`cf172218`](https://github.com/getflip/swirl/commit/cf172218751c3ea8d52e97020702bb1a0d1c8b5b)]:
+ - @getflip/swirl-components@0.241.1
+
+## 0.241.0
+
+### Minor Changes
+
+- [`b3f8bbeb`](https://github.com/getflip/swirl/commit/b3f8bbeb32f85c7d4ad4a611b95c5c1439768856) -
+ Update gif controls icon size
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b3f8bbeb`](https://github.com/getflip/swirl/commit/b3f8bbeb32f85c7d4ad4a611b95c5c1439768856)]:
+ - @getflip/swirl-components@0.241.0
+
+## 0.240.1
+
+### Patch Changes
+
+- [`c69cf843`](https://github.com/getflip/swirl/commit/c69cf843057ad7e2459cb80b8aaf1714879dcdec)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix children update issue of
+ swirl-tree-view-item
+
+- Updated dependencies
+ [[`c69cf843`](https://github.com/getflip/swirl/commit/c69cf843057ad7e2459cb80b8aaf1714879dcdec)]:
+ - @getflip/swirl-components@0.240.1
+
+## 0.240.0
+
+### Minor Changes
+
+- [#813](https://github.com/getflip/swirl/pull/813)
+ [`b6f26c1a`](https://github.com/getflip/swirl/commit/b6f26c1a8dc26eb2e0d45f3691301d75553a0122)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Add gif
+ playback functionality to image grid items
+
+### Patch Changes
+
+- Updated dependencies
+ [[`b6f26c1a`](https://github.com/getflip/swirl/commit/b6f26c1a8dc26eb2e0d45f3691301d75553a0122)]:
+ - @getflip/swirl-components@0.240.0
+
+## 0.239.1
+
+### Patch Changes
+
+- [`5af61856`](https://github.com/getflip/swirl/commit/5af61856e645072dda5059a285465be703252199)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix swirl-lightbox focus trap
+ being triggered too early in some cases
+
+- Updated dependencies
+ [[`5af61856`](https://github.com/getflip/swirl/commit/5af61856e645072dda5059a285465be703252199)]:
+ - @getflip/swirl-components@0.239.1
+
+## 0.239.0
+
+### Minor Changes
+
+- [#810](https://github.com/getflip/swirl/pull/810)
+ [`fea94a96`](https://github.com/getflip/swirl/commit/fea94a96753fa7fb1537e5d6430b22be3d11b791)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Added prop to
+ disable expanding tree items
+
+* [#808](https://github.com/getflip/swirl/pull/808)
+ [`229add12`](https://github.com/getflip/swirl/commit/229add12139d2015c794f5108915b676de0501cf)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Replaced gif
+ icon
+
+### Patch Changes
+
+- Updated dependencies
+ [[`fea94a96`](https://github.com/getflip/swirl/commit/fea94a96753fa7fb1537e5d6430b22be3d11b791),
+ [`229add12`](https://github.com/getflip/swirl/commit/229add12139d2015c794f5108915b676de0501cf)]:
+ - @getflip/swirl-components@0.239.0
+
+## 0.238.0
+
+### Minor Changes
+
+- [#806](https://github.com/getflip/swirl/pull/806)
+ [`e8981393`](https://github.com/getflip/swirl/commit/e8981393a765e106a8006df7a2752438aa3b9350)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Add color
+ selector to tree view item icons
+
+### Patch Changes
+
+- Updated dependencies
+ [[`e8981393`](https://github.com/getflip/swirl/commit/e8981393a765e106a8006df7a2752438aa3b9350)]:
+ - @getflip/swirl-components@0.238.0
+
+## 0.237.0
+
+### Minor Changes
+
+- [#804](https://github.com/getflip/swirl/pull/804)
+ [`1e4569a1`](https://github.com/getflip/swirl/commit/1e4569a196c9efb0c7d221685722253fb7ea23f9)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "collapsibleNavigation" prop
+ to swirl-app-layout to allow users to collapse the navigation
+
+### Patch Changes
+
+- Updated dependencies
+ [[`1e4569a1`](https://github.com/getflip/swirl/commit/1e4569a196c9efb0c7d221685722253fb7ea23f9)]:
+ - @getflip/swirl-components@0.237.0
+
+## 0.236.1
+
+### Patch Changes
+
+- [#802](https://github.com/getflip/swirl/pull/802)
+ [`ec850064`](https://github.com/getflip/swirl/commit/ec850064fe4e3639222161bce3c3a313ba9bc698)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix swirl-shell-layout and
+ swirl-app-layout scroll detection and border visibility
+- Updated dependencies
+ [[`ec850064`](https://github.com/getflip/swirl/commit/ec850064fe4e3639222161bce3c3a313ba9bc698)]:
+ - @getflip/swirl-components@0.236.1
+
+## 0.236.0
+
+### Minor Changes
+
+- [#800](https://github.com/getflip/swirl/pull/800)
+ [`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add
+ bordered-block-end-when-scrolled and bordered-block-start-when-scrolled props
+ to swirl-box
+
+* [#800](https://github.com/getflip/swirl/pull/800)
+ [`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Reveal borders of
+ swirl-shell-layout and swirl-app-layout on scroll
+
+### Patch Changes
+
+- [`d7142aa4`](https://github.com/getflip/swirl/commit/d7142aa41ea06e662155d221285196d85ff58572)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix a keyboard control issue of
+ swirl-tree-view
+
+- Updated dependencies
+ [[`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0),
+ [`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0),
+ [`d7142aa4`](https://github.com/getflip/swirl/commit/d7142aa41ea06e662155d221285196d85ff58572)]:
+ - @getflip/swirl-components@0.236.0
+
+## 0.235.1
+
+### Patch Changes
+
+- [#798](https://github.com/getflip/swirl/pull/798)
+ [`cadf77f3`](https://github.com/getflip/swirl/commit/cadf77f34397e530e35060dbc31e1c71b6141ea2)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Prevent
+ valueChange event propagation in swirl-select
+
+- Updated dependencies
+ [[`cadf77f3`](https://github.com/getflip/swirl/commit/cadf77f34397e530e35060dbc31e1c71b6141ea2)]:
+ - @getflip/swirl-components@0.235.1
+
+## 0.235.0
+
+### Minor Changes
+
+- [#796](https://github.com/getflip/swirl/pull/796)
+ [`95a50fe3`](https://github.com/getflip/swirl/commit/95a50fe33070170ccee37d3d5a4ff3cfc6047458)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Remove drag
+ behavior when the swirl-lightbox has only one item
+
+### Patch Changes
+
+- [`f66bfa94`](https://github.com/getflip/swirl/commit/f66bfa94fc5d230d71fb1efe8d3ded1d8d6dbc0b)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Only emit swirl-tree-view-item
+ expansion state events if not already in same state
+- Updated dependencies
+ [[`95a50fe3`](https://github.com/getflip/swirl/commit/95a50fe33070170ccee37d3d5a4ff3cfc6047458),
+ [`f66bfa94`](https://github.com/getflip/swirl/commit/f66bfa94fc5d230d71fb1efe8d3ded1d8d6dbc0b)]:
+ - @getflip/swirl-components@0.235.0
+
+## 0.234.0
+
+### Minor Changes
+
+- [#794](https://github.com/getflip/swirl/pull/794)
+ [`28309df9`](https://github.com/getflip/swirl/commit/28309df93eef2c55134ac1f51c60c073662d6860)
+ Thanks [@danizep](https://github.com/danizep)! - Add livestream icons
+
+### Patch Changes
+
+- Updated dependencies
+ [[`28309df9`](https://github.com/getflip/swirl/commit/28309df93eef2c55134ac1f51c60c073662d6860)]:
+ - @getflip/swirl-components@0.234.0
+
+## 0.233.1
+
+### Patch Changes
+
+- [`0ec94e7e`](https://github.com/getflip/swirl/commit/0ec94e7e002a3c00ed43cc31125e47575506cfac)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Adjust swirl-tree-view expansion
+ change event
+
+- Updated dependencies
+ [[`0ec94e7e`](https://github.com/getflip/swirl/commit/0ec94e7e002a3c00ed43cc31125e47575506cfac)]:
+ - @getflip/swirl-components@0.233.1
+
+## 0.233.0
+
+### Minor Changes
+
+- [#789](https://github.com/getflip/swirl/pull/789)
+ [`8fc64d9c`](https://github.com/getflip/swirl/commit/8fc64d9c1637c04e46ecaf221199e23be73379ef)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add swirl-tree-view and
+ swirl-tree-view-item components
+
+### Patch Changes
+
+- Updated dependencies
+ [[`8fc64d9c`](https://github.com/getflip/swirl/commit/8fc64d9c1637c04e46ecaf221199e23be73379ef)]:
+ - @getflip/swirl-components@0.233.0
+
+## 0.232.0
+
+### Minor Changes
+
+- [`c917a77a`](https://github.com/getflip/swirl/commit/c917a77a2bd1b378d6176f667b4e25e175ca9f3e)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Align package versions
+
+### Patch Changes
+
+- Updated dependencies
+ [[`62afe3d8`](https://github.com/getflip/swirl/commit/62afe3d80984f5016703b178412e9120d68b400e),
+ [`c917a77a`](https://github.com/getflip/swirl/commit/c917a77a2bd1b378d6176f667b4e25e175ca9f3e)]:
+ - @getflip/swirl-components@0.231.0
+
+## 0.231.0
+
+### Minor Changes
+
+- [`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add icons
+
+### Patch Changes
+
+- [`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Minor style adjustments of teh
+ swirl-shell-layout
+
+- Updated dependencies
+ [[`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d)]:
+ - @getflip/swirl-components@0.230.1
+
+## 0.230.0
+
+### Minor Changes
+
+- [#787](https://github.com/getflip/swirl/pull/787)
+ [`08326ecc`](https://github.com/getflip/swirl/commit/08326ecc29ae06fa14ee77705c3d6858c6bf27c8)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Fix
+ Navigation labels not showing
+
+### Patch Changes
+
+- Updated dependencies
+ [[`08326ecc`](https://github.com/getflip/swirl/commit/08326ecc29ae06fa14ee77705c3d6858c6bf27c8)]:
+ - @getflip/swirl-components@0.230.0
+
+## 0.229.0
+
+### Minor Changes
+
+- [`c22e465f`](https://github.com/getflip/swirl/commit/c22e465fbb938e2da9900a0c1390ed2458b32ddb) -
+ Fix changeset
+
+### Patch Changes
+
+- [#785](https://github.com/getflip/swirl/pull/785)
+ [`947da5d3`](https://github.com/getflip/swirl/commit/947da5d3cc60b5a0e040c487ae4b3c5137294c51)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Add spacing
+ prop to swirl-resource-list
+
+- Updated dependencies
+ [[`947da5d3`](https://github.com/getflip/swirl/commit/947da5d3cc60b5a0e040c487ae4b3c5137294c51),
+ [`c22e465f`](https://github.com/getflip/swirl/commit/c22e465fbb938e2da9900a0c1390ed2458b32ddb)]:
+ - @getflip/swirl-components@0.229.0
+
+## 0.228.0
+
+### Minor Changes
+
+- [`815a91bd`](https://github.com/getflip/swirl/commit/815a91bd6b0e2348e3277073116004f50db77477)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add icons "public" and
+ "public-off"
+
+### Patch Changes
+
+- Updated dependencies
+ [[`815a91bd`](https://github.com/getflip/swirl/commit/815a91bd6b0e2348e3277073116004f50db77477)]:
+ - @getflip/swirl-components@0.228.0
+
+## 0.227.0
+
+### Minor Changes
+
+- [#782](https://github.com/getflip/swirl/pull/782)
+ [`2025e3e4`](https://github.com/getflip/swirl/commit/2025e3e4735595b40190cc5b1e22d9ed53fdcb6f)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Add
+ responsive prop to text
+
+### Patch Changes
+
+- Updated dependencies
+ [[`2025e3e4`](https://github.com/getflip/swirl/commit/2025e3e4735595b40190cc5b1e22d9ed53fdcb6f)]:
+ - @getflip/swirl-components@0.227.0
+
+## 0.226.1
+
+### Patch Changes
+
+- [`bce80621`](https://github.com/getflip/swirl/commit/bce80621f5e9d3e47d68e6278d1e7e499b096809)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix secondary navigation state
+ restoration of swirl-shell-layout
+
+* [#778](https://github.com/getflip/swirl/pull/778)
+ [`b1b7b434`](https://github.com/getflip/swirl/commit/b1b7b434b04e593e53ba71b20c358e5315e52e63)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Fix
+ swirl-file-viewer-pdf current page number
+
+* Updated dependencies
+ [[`bce80621`](https://github.com/getflip/swirl/commit/bce80621f5e9d3e47d68e6278d1e7e499b096809),
+ [`b1b7b434`](https://github.com/getflip/swirl/commit/b1b7b434b04e593e53ba71b20c358e5315e52e63)]:
+ - @getflip/swirl-components@0.226.1
+
+## 0.226.0
+
+### Minor Changes
+
+- [#775](https://github.com/getflip/swirl/pull/775)
+ [`fbf71bc9`](https://github.com/getflip/swirl/commit/fbf71bc94c4eb9e5276b002dc40a90c582feb69f)
+ Thanks [@maraikeschneider](https://github.com/maraikeschneider)! - Fix
+ handling of table layout when table is rendered within a modal
+
+### Patch Changes
+
+- Updated dependencies
+ [[`fbf71bc9`](https://github.com/getflip/swirl/commit/fbf71bc94c4eb9e5276b002dc40a90c582feb69f)]:
+ - @getflip/swirl-components@0.226.0
+
+## 0.225.2
+
+### Patch Changes
+
+- [`97c45d46`](https://github.com/getflip/swirl/commit/97c45d46eb7cec30d6c49b6192c2b7a51aaf95a9)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Improve download handling of
+ fallback file viewer
+
+- Updated dependencies
+ [[`97c45d46`](https://github.com/getflip/swirl/commit/97c45d46eb7cec30d6c49b6192c2b7a51aaf95a9)]:
+ - @getflip/swirl-components@0.225.2
+
+## 0.225.1
+
+### Patch Changes
+
+- [`3f98de9e`](https://github.com/getflip/swirl/commit/3f98de9e198a3f25c57551f14ee6495ab0f7d837)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Make swirl-file-viewer-fallback
+ respect disabled downloads
+
+- Updated dependencies
+ [[`3f98de9e`](https://github.com/getflip/swirl/commit/3f98de9e198a3f25c57551f14ee6495ab0f7d837)]:
+ - @getflip/swirl-components@0.225.1
+
+## 0.225.0
+
+### Minor Changes
+
+- [`0c855fb9`](https://github.com/getflip/swirl/commit/0c855fb9772d0555da72b82cee6df30e9d6ac8d1)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add swirl-file-viewer-fallback
+ for unsupported file types
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0c855fb9`](https://github.com/getflip/swirl/commit/0c855fb9772d0555da72b82cee6df30e9d6ac8d1)]:
+ - @getflip/swirl-components@0.225.0
+
+## 0.224.0
+
+### Minor Changes
+
+- [`6a1af78a`](https://github.com/getflip/swirl/commit/6a1af78a11afe552d7e49f1b2ed93f5ba0623c9a)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add chipClick event to swirl-chip
+
+### Patch Changes
+
+- Updated dependencies
+ [[`6a1af78a`](https://github.com/getflip/swirl/commit/6a1af78a11afe552d7e49f1b2ed93f5ba0623c9a)]:
+ - @getflip/swirl-components@0.224.0
+
+## 0.223.0
+
+### Minor Changes
+
+- [#770](https://github.com/getflip/swirl/pull/770)
+ [`9df750c0`](https://github.com/getflip/swirl/commit/9df750c0eb68db1c28bba983461d1cec3f1d31ba)
+ Thanks [@maraikeschneider](https://github.com/maraikeschneider)! - Apply
+ sticky property to table columns and cells
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9df750c0`](https://github.com/getflip/swirl/commit/9df750c0eb68db1c28bba983461d1cec3f1d31ba)]:
+ - @getflip/swirl-components@0.223.0
+
+## 0.222.1
+
+### Patch Changes
+
+- [`4390b336`](https://github.com/getflip/swirl/commit/4390b336e500e2785eda0db99e2b6f9d98a5bd0f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Don't close mobile shell
+ navigation when secondary navigation is toggled
+
+- Updated dependencies
+ [[`4390b336`](https://github.com/getflip/swirl/commit/4390b336e500e2785eda0db99e2b6f9d98a5bd0f)]:
+ - @getflip/swirl-components@0.222.1
+
+## 0.222.0
+
+### Minor Changes
+
+- [`265823b5`](https://github.com/getflip/swirl/commit/265823b565cf3050ef6889d6f2fe5990fc893de3)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add font-size prop to
+ swirl-text-input and swirl-form-control
+
+### Patch Changes
+
+- Updated dependencies
+ [[`265823b5`](https://github.com/getflip/swirl/commit/265823b565cf3050ef6889d6f2fe5990fc893de3)]:
+ - @getflip/swirl-components@0.222.0
+
+## 0.221.0
+
+### Minor Changes
+
+- [`0e9413cf`](https://github.com/getflip/swirl/commit/0e9413cfbc2add299f8360078ef2df3cddd1153f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "border-color" prop to
+ swirl-box
+
+### Patch Changes
+
+- Updated dependencies
+ [[`0e9413cf`](https://github.com/getflip/swirl/commit/0e9413cfbc2add299f8360078ef2df3cddd1153f)]:
+ - @getflip/swirl-components@0.221.0
+
+## 0.220.5
+
+### Patch Changes
+
+- [`93f59bef`](https://github.com/getflip/swirl/commit/93f59bef3ce31d09e112795f7c520564c0d99355)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix swirl-shell-navigation-item
+ label wrapping
+
+- Updated dependencies
+ [[`93f59bef`](https://github.com/getflip/swirl/commit/93f59bef3ce31d09e112795f7c520564c0d99355)]:
+ - @getflip/swirl-components@0.220.5
+
+## 0.220.4
+
+### Patch Changes
+
+- [`cfaf2b8f`](https://github.com/getflip/swirl/commit/cfaf2b8fa3cfb53df041b7d6c60e64a6a5df1e00)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Tweak swirl-shell-navigation-item
+ spacing
+
+- Updated dependencies
+ [[`cfaf2b8f`](https://github.com/getflip/swirl/commit/cfaf2b8fa3cfb53df041b7d6c60e64a6a5df1e00)]:
+ - @getflip/swirl-components@0.220.4
+
+## 0.220.3
+
+### Patch Changes
+
+- [`875d491a`](https://github.com/getflip/swirl/commit/875d491a355ce89d2f15f880ad55f0b714ab0aaf)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Tweak swirl-shell-navigation-item
+ styling
+
+- Updated dependencies
+ [[`875d491a`](https://github.com/getflip/swirl/commit/875d491a355ce89d2f15f880ad55f0b714ab0aaf)]:
+ - @getflip/swirl-components@0.220.3
+
+## 0.220.2
+
+### Patch Changes
+
+- [`b54e20a7`](https://github.com/getflip/swirl/commit/b54e20a77aae792a8e3afa5f0069457a5985530f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix allowed shell layout
+ navigation markup
+
+- Updated dependencies
+ [[`b54e20a7`](https://github.com/getflip/swirl/commit/b54e20a77aae792a8e3afa5f0069457a5985530f)]:
+ - @getflip/swirl-components@0.220.2
+
+## 0.220.1
+
+### Patch Changes
+
+- [`ebde720e`](https://github.com/getflip/swirl/commit/ebde720ea7a1e80d9e8db13e9852d3601013a5f6)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix shell layout navigation item
+ handling if items change at runtime
+
+- Updated dependencies
+ [[`ebde720e`](https://github.com/getflip/swirl/commit/ebde720ea7a1e80d9e8db13e9852d3601013a5f6)]:
+ - @getflip/swirl-components@0.220.1
+
+## 0.220.0
+
+### Minor Changes
+
+- [#762](https://github.com/getflip/swirl/pull/762)
+ [`e9ffdb07`](https://github.com/getflip/swirl/commit/e9ffdb073a2b8dcfcaf56ecdb87fbd037ba3d125)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add optional grid layout for
+ shell layout navigation
+
+### Patch Changes
+
+- Updated dependencies
+ [[`e9ffdb07`](https://github.com/getflip/swirl/commit/e9ffdb073a2b8dcfcaf56ecdb87fbd037ba3d125)]:
+ - @getflip/swirl-components@0.220.0
+
+## 0.219.0
+
+### Minor Changes
+
+- [#760](https://github.com/getflip/swirl/pull/760)
+ [`9b7ec15d`](https://github.com/getflip/swirl/commit/9b7ec15d6f3f8ad7fb5886fa79c0ec56c28e06d6)
+ Thanks [@koraxis](https://github.com/koraxis)! - Add RemoveCircle icon
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9b7ec15d`](https://github.com/getflip/swirl/commit/9b7ec15d6f3f8ad7fb5886fa79c0ec56c28e06d6)]:
+ - @getflip/swirl-components@0.219.0
+
+## 0.218.0
+
+### Minor Changes
+
+- [#758](https://github.com/getflip/swirl/pull/758)
+ [`a842a881`](https://github.com/getflip/swirl/commit/a842a8813b8c124fa952124053c648a43fd826c3)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Avatar group
+ customizable badge size
+
+### Patch Changes
+
+- Updated dependencies
+ [[`a842a881`](https://github.com/getflip/swirl/commit/a842a8813b8c124fa952124053c648a43fd826c3)]:
+ - @getflip/swirl-components@0.218.0
+
## 0.217.0
### Minor Changes
diff --git a/packages/swirl-components-react/package.json b/packages/swirl-components-react/package.json
index 7f5e36649..3dd125c6b 100644
--- a/packages/swirl-components-react/package.json
+++ b/packages/swirl-components-react/package.json
@@ -1,6 +1,6 @@
{
"name": "@getflip/swirl-components-react",
- "version": "0.217.0",
+ "version": "0.257.0",
"type": "module",
"files": [
"dist"
@@ -18,7 +18,7 @@
"build": "tsc && vite build"
},
"dependencies": {
- "@getflip/swirl-components": "^0.217.0",
+ "@getflip/swirl-components": "^0.257.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
diff --git a/packages/swirl-components/.eslintrc.js b/packages/swirl-components/.eslintrc.js
index bfad9aeb7..2ee0ef364 100644
--- a/packages/swirl-components/.eslintrc.js
+++ b/packages/swirl-components/.eslintrc.js
@@ -10,5 +10,6 @@ module.exports = {
"@stencil/decorators-context": "off",
"@stencil/dependency-suggestions": "off",
"@stencil/no-unused-watch": "off",
+ "@stencil/strict-boolean-conditions": "off",
},
};
diff --git a/packages/swirl-components/.storybook/preview-head.html b/packages/swirl-components/.storybook/preview-head.html
index 28e16b789..d2b47c9ec 100644
--- a/packages/swirl-components/.storybook/preview-head.html
+++ b/packages/swirl-components/.storybook/preview-head.html
@@ -37,7 +37,7 @@
.sbdocs .docblock-source,
.sbdocs hr:not(:first-child),
- .sbdocs ul:not(:first-child),
+ .sbdocs ul:not(:first-child):not(.tree-view-item__children),
.sbdocs ol:not(:first-child),
.sbdocs p:not(:first-child),
.sbdocs preview:not(:first-child),
diff --git a/packages/swirl-components/CHANGELOG.md b/packages/swirl-components/CHANGELOG.md
index ad45084fb..25000278a 100644
--- a/packages/swirl-components/CHANGELOG.md
+++ b/packages/swirl-components/CHANGELOG.md
@@ -1,5 +1,627 @@
# @getflip/swirl-components
+## 0.257.0
+
+### Minor Changes
+
+- [#864](https://github.com/getflip/swirl/pull/864)
+ [`ecbd8609`](https://github.com/getflip/swirl/commit/ecbd860903169e635c00a8c2384b1c4139201915)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Added animation and
+ wrapper element to swirl navigation item component
+
+## 0.256.2
+
+### Patch Changes
+
+- [#862](https://github.com/getflip/swirl/pull/862)
+ [`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Made check for
+ expandable component clearer
+
+* [#862](https://github.com/getflip/swirl/pull/862)
+ [`f5d91707`](https://github.com/getflip/swirl/commit/f5d91707d06757e62d5d27e152aed97d9c80b92e)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Fixed expandable
+ event swollowing
+
+## 0.256.1
+
+### Patch Changes
+
+- [#860](https://github.com/getflip/swirl/pull/860)
+ [`fc1e576a`](https://github.com/getflip/swirl/commit/fc1e576a90245b42bacb5fa79304d16857c34d21)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Fixed expandable
+ event swollowing
+
+## 0.256.0
+
+### Minor Changes
+
+- [#853](https://github.com/getflip/swirl/pull/853)
+ [`9ef1d493`](https://github.com/getflip/swirl/commit/9ef1d4938a1fe84e9f56d8f60396824604fb59bc)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Refactored Swirl
+ Tree Navigation Item
+
+## 0.255.0
+
+### Minor Changes
+
+- [#856](https://github.com/getflip/swirl/pull/856)
+ [`f0ad90c4`](https://github.com/getflip/swirl/commit/f0ad90c49defa3aa8332b99339075001c8386564)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Added secondary
+ label and changed tooltip color
+
+* [#857](https://github.com/getflip/swirl/pull/857)
+ [`d3a68077`](https://github.com/getflip/swirl/commit/d3a68077f15c596f6fed41bc375c2e319ae75b89)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Add
+ iconPosition prop to swirl-tag
+
+## 0.254.1
+
+### Patch Changes
+
+- [`59d8466f`](https://github.com/getflip/swirl/commit/59d8466fbfa2e53b416233759100c03574cd8b8e)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix disabled styles of
+ swirl-button when used as a link
+
+## 0.254.0
+
+### Minor Changes
+
+- [`31540c9a`](https://github.com/getflip/swirl/commit/31540c9a09aa3bcf8cebe3406f0cd2fb54f9682f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add post approval icon
+
+### Patch Changes
+
+- Updated dependencies
+ [[`31540c9a`](https://github.com/getflip/swirl/commit/31540c9a09aa3bcf8cebe3406f0cd2fb54f9682f)]:
+ - @getflip/swirl-icons@0.45.0
+
+## 0.253.0
+
+### Minor Changes
+
+- [`2a44f406`](https://github.com/getflip/swirl/commit/2a44f4067ddf8636c2e9b03fdde9d7e8bf72af4c)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "tooltip" prop to swirl-radio
+
+## 0.252.1
+
+### Patch Changes
+
+- [#850](https://github.com/getflip/swirl/pull/850)
+ [`d97f762b`](https://github.com/getflip/swirl/commit/d97f762b1b38fcb0d5136845b78256046059c729)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Hide the
+ swirl-shell-navigation-item gradient if collapsed
+
+## 0.252.0
+
+### Minor Changes
+
+- [#845](https://github.com/getflip/swirl/pull/845)
+ [`63609b09`](https://github.com/getflip/swirl/commit/63609b0941b8121e542cbed881ab1c8ae91cd1a9)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Fix
+ swirl-app-bar to allow truncation of heading
+
+## 0.251.0
+
+### Minor Changes
+
+- [#846](https://github.com/getflip/swirl/pull/846)
+ [`9012ceca`](https://github.com/getflip/swirl/commit/9012cecaf6816a262388ff4f021b92fe5d6e2770)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Remove
+ duplicate menu shadow
+
+## 0.250.0
+
+### Minor Changes
+
+- [#839](https://github.com/getflip/swirl/pull/839)
+ [`de49d0e6`](https://github.com/getflip/swirl/commit/de49d0e6abc6452ec334bf848a1eb0709d129897)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Improve
+ loading and gif handling
+
+## 0.249.1
+
+### Patch Changes
+
+- [`6a531e70`](https://github.com/getflip/swirl/commit/6a531e7041d5208604f2f6dd3fa7429acd6aa3ff)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Minor styling fix for
+ swirl-select
+
+## 0.249.0
+
+### Minor Changes
+
+- [#838](https://github.com/getflip/swirl/pull/838)
+ [`1f6c1d13`](https://github.com/getflip/swirl/commit/1f6c1d133c82cc2891301a2acc8b9427951fcc6b)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Add
+ swirl-toggle-button and swirl-toggle-group components
+
+## 0.248.0
+
+### Minor Changes
+
+- [`14e5b4b6`](https://github.com/getflip/swirl/commit/14e5b4b6c32e54dcd44dbccde5179b1dd0dc153b)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "standalone" prop to
+ swirl-select
+
+## 0.247.1
+
+### Patch Changes
+
+- [`b36913d7`](https://github.com/getflip/swirl/commit/b36913d7e431c755cdf2bcdd8e0048dd1bbe7464)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix a minor styling issue of the
+ swirl-pagination component
+
+## 0.247.0
+
+### Minor Changes
+
+- [#835](https://github.com/getflip/swirl/pull/835)
+ [`2a7aebd1`](https://github.com/getflip/swirl/commit/2a7aebd1e210a5d98913083ea5b8520bd7421ad6)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "avatar" slot to
+ swirl-option-list-item
+
+## 0.246.0
+
+### Minor Changes
+
+- [#833](https://github.com/getflip/swirl/pull/833)
+ [`02ef115a`](https://github.com/getflip/swirl/commit/02ef115a7b41be4eb2b827e1c8ba4ac03934dcfd)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Fix value
+ update issue in the swirl-date-input component
+
+## 0.245.0
+
+### Minor Changes
+
+- [#827](https://github.com/getflip/swirl/pull/827)
+ [`091d8868`](https://github.com/getflip/swirl/commit/091d88684f020c37ae2d40300c55e8f49e42ec36)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Update shell
+ nav item styles
+
+## 0.244.0
+
+### Minor Changes
+
+- [#830](https://github.com/getflip/swirl/pull/830)
+ [`0772ac8a`](https://github.com/getflip/swirl/commit/0772ac8a4031b73faa1e31058d625a2cf5e6e031)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Pass the
+ datepicker start date in the short ISO format
+
+## 0.243.0
+
+### Minor Changes
+
+- [#828](https://github.com/getflip/swirl/pull/828)
+ [`d2cc34fa`](https://github.com/getflip/swirl/commit/d2cc34fa7bd77ffb1217334b7051f890553f0cc8)
+ Thanks [@matvlaovi-flip](https://github.com/matvlaovi-flip)! - Make
+ swirl-date-picker in the swirl-date-input open on the selected date
+
+## 0.242.0
+
+### Minor Changes
+
+- [#825](https://github.com/getflip/swirl/pull/825)
+ [`5fc723fa`](https://github.com/getflip/swirl/commit/5fc723facdd2311bb8ae3e27de31ef996e274fb4)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Make image
+ grid static image sizes
+
+## 0.241.4
+
+### Patch Changes
+
+- [#823](https://github.com/getflip/swirl/pull/823)
+ [`c330be6d`](https://github.com/getflip/swirl/commit/c330be6df11783c0defa2b741928b7e564183241)
+ Thanks [@webspaceadam](https://github.com/webspaceadam)! - Fixed positioning
+ of swirl-toolbar children through the wrap property
+
+## 0.241.3
+
+### Patch Changes
+
+- [#821](https://github.com/getflip/swirl/pull/821)
+ [`2cdc24e3`](https://github.com/getflip/swirl/commit/2cdc24e3296d5354102d7628ae734ed25f861f93)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Fix
+ swirl-option-list-item applied width
+
+## 0.241.2
+
+### Patch Changes
+
+- [#819](https://github.com/getflip/swirl/pull/819)
+ [`1bd66440`](https://github.com/getflip/swirl/commit/1bd66440355b44833f9b89dd7a925a0de7c44b61)
+ Thanks [@danizep](https://github.com/danizep)! - Add large size to flat, plain
+ and on-image SwirlButtons
+
+## 0.241.1
+
+### Patch Changes
+
+- [`cf172218`](https://github.com/getflip/swirl/commit/cf172218751c3ea8d52e97020702bb1a0d1c8b5b)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Reduce the amount of
+ swirl-tooltip repositionings
+
+## 0.241.0
+
+### Minor Changes
+
+- [`b3f8bbeb`](https://github.com/getflip/swirl/commit/b3f8bbeb32f85c7d4ad4a611b95c5c1439768856) -
+ Update gif controls icon size
+
+## 0.240.1
+
+### Patch Changes
+
+- [`c69cf843`](https://github.com/getflip/swirl/commit/c69cf843057ad7e2459cb80b8aaf1714879dcdec)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix children update issue of
+ swirl-tree-view-item
+
+## 0.240.0
+
+### Minor Changes
+
+- [#813](https://github.com/getflip/swirl/pull/813)
+ [`b6f26c1a`](https://github.com/getflip/swirl/commit/b6f26c1a8dc26eb2e0d45f3691301d75553a0122)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Add gif
+ playback functionality to image grid items
+
+## 0.239.1
+
+### Patch Changes
+
+- [`5af61856`](https://github.com/getflip/swirl/commit/5af61856e645072dda5059a285465be703252199)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix swirl-lightbox focus trap
+ being triggered too early in some cases
+
+## 0.239.0
+
+### Minor Changes
+
+- [#810](https://github.com/getflip/swirl/pull/810)
+ [`fea94a96`](https://github.com/getflip/swirl/commit/fea94a96753fa7fb1537e5d6430b22be3d11b791)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Added prop to
+ disable expanding tree items
+
+* [#808](https://github.com/getflip/swirl/pull/808)
+ [`229add12`](https://github.com/getflip/swirl/commit/229add12139d2015c794f5108915b676de0501cf)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Replaced gif
+ icon
+
+### Patch Changes
+
+- Updated dependencies
+ [[`229add12`](https://github.com/getflip/swirl/commit/229add12139d2015c794f5108915b676de0501cf)]:
+ - @getflip/swirl-icons@0.44.0
+
+## 0.238.0
+
+### Minor Changes
+
+- [#806](https://github.com/getflip/swirl/pull/806)
+ [`e8981393`](https://github.com/getflip/swirl/commit/e8981393a765e106a8006df7a2752438aa3b9350)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Add color
+ selector to tree view item icons
+
+## 0.237.0
+
+### Minor Changes
+
+- [#804](https://github.com/getflip/swirl/pull/804)
+ [`1e4569a1`](https://github.com/getflip/swirl/commit/1e4569a196c9efb0c7d221685722253fb7ea23f9)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "collapsibleNavigation" prop
+ to swirl-app-layout to allow users to collapse the navigation
+
+## 0.236.1
+
+### Patch Changes
+
+- [#802](https://github.com/getflip/swirl/pull/802)
+ [`ec850064`](https://github.com/getflip/swirl/commit/ec850064fe4e3639222161bce3c3a313ba9bc698)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix swirl-shell-layout and
+ swirl-app-layout scroll detection and border visibility
+
+## 0.236.0
+
+### Minor Changes
+
+- [#800](https://github.com/getflip/swirl/pull/800)
+ [`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add
+ bordered-block-end-when-scrolled and bordered-block-start-when-scrolled props
+ to swirl-box
+
+* [#800](https://github.com/getflip/swirl/pull/800)
+ [`369515d4`](https://github.com/getflip/swirl/commit/369515d4e38ed4b0c63977c529fcf06ca8d5dfc0)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Reveal borders of
+ swirl-shell-layout and swirl-app-layout on scroll
+
+### Patch Changes
+
+- [`d7142aa4`](https://github.com/getflip/swirl/commit/d7142aa41ea06e662155d221285196d85ff58572)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix a keyboard control issue of
+ swirl-tree-view
+
+## 0.235.1
+
+### Patch Changes
+
+- [#798](https://github.com/getflip/swirl/pull/798)
+ [`cadf77f3`](https://github.com/getflip/swirl/commit/cadf77f34397e530e35060dbc31e1c71b6141ea2)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Prevent
+ valueChange event propagation in swirl-select
+
+## 0.235.0
+
+### Minor Changes
+
+- [#796](https://github.com/getflip/swirl/pull/796)
+ [`95a50fe3`](https://github.com/getflip/swirl/commit/95a50fe33070170ccee37d3d5a4ff3cfc6047458)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Remove drag
+ behavior when the swirl-lightbox has only one item
+
+### Patch Changes
+
+- [`f66bfa94`](https://github.com/getflip/swirl/commit/f66bfa94fc5d230d71fb1efe8d3ded1d8d6dbc0b)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Only emit swirl-tree-view-item
+ expansion state events if not already in same state
+
+## 0.234.0
+
+### Minor Changes
+
+- [#794](https://github.com/getflip/swirl/pull/794)
+ [`28309df9`](https://github.com/getflip/swirl/commit/28309df93eef2c55134ac1f51c60c073662d6860)
+ Thanks [@danizep](https://github.com/danizep)! - Add livestream icons
+
+### Patch Changes
+
+- Updated dependencies
+ [[`28309df9`](https://github.com/getflip/swirl/commit/28309df93eef2c55134ac1f51c60c073662d6860)]:
+ - @getflip/swirl-icons@0.43.0
+
+## 0.233.1
+
+### Patch Changes
+
+- [`0ec94e7e`](https://github.com/getflip/swirl/commit/0ec94e7e002a3c00ed43cc31125e47575506cfac)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Adjust swirl-tree-view expansion
+ change event
+
+## 0.233.0
+
+### Minor Changes
+
+- [#789](https://github.com/getflip/swirl/pull/789)
+ [`8fc64d9c`](https://github.com/getflip/swirl/commit/8fc64d9c1637c04e46ecaf221199e23be73379ef)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add swirl-tree-view and
+ swirl-tree-view-item components
+
+## 0.232.0
+
+### Minor Changes
+
+- [`62afe3d8`](https://github.com/getflip/swirl/commit/62afe3d80984f5016703b178412e9120d68b400e)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Align versions
+
+* [`c917a77a`](https://github.com/getflip/swirl/commit/c917a77a2bd1b378d6176f667b4e25e175ca9f3e)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Align package versions
+
+## 0.230.1
+
+### Patch Changes
+
+- [`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Minor style adjustments of teh
+ swirl-shell-layout
+
+- Updated dependencies
+ [[`63a350b4`](https://github.com/getflip/swirl/commit/63a350b4b3567954149ae1159f660a6fe748323d)]:
+ - @getflip/swirl-icons@0.42.0
+
+## 0.230.0
+
+### Minor Changes
+
+- [#787](https://github.com/getflip/swirl/pull/787)
+ [`08326ecc`](https://github.com/getflip/swirl/commit/08326ecc29ae06fa14ee77705c3d6858c6bf27c8)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Fix
+ Navigation labels not showing
+
+## 0.229.0
+
+### Minor Changes
+
+- [`c22e465f`](https://github.com/getflip/swirl/commit/c22e465fbb938e2da9900a0c1390ed2458b32ddb) -
+ Fix changeset
+
+### Patch Changes
+
+- [#785](https://github.com/getflip/swirl/pull/785)
+ [`947da5d3`](https://github.com/getflip/swirl/commit/947da5d3cc60b5a0e040c487ae4b3c5137294c51)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Add spacing
+ prop to swirl-resource-list
+
+## 0.228.0
+
+### Minor Changes
+
+- [`815a91bd`](https://github.com/getflip/swirl/commit/815a91bd6b0e2348e3277073116004f50db77477)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add icons "public" and
+ "public-off"
+
+### Patch Changes
+
+- Updated dependencies
+ [[`815a91bd`](https://github.com/getflip/swirl/commit/815a91bd6b0e2348e3277073116004f50db77477)]:
+ - @getflip/swirl-icons@0.41.0
+
+## 0.227.0
+
+### Minor Changes
+
+- [#782](https://github.com/getflip/swirl/pull/782)
+ [`2025e3e4`](https://github.com/getflip/swirl/commit/2025e3e4735595b40190cc5b1e22d9ed53fdcb6f)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Add
+ responsive prop to text
+
+## 0.226.1
+
+### Patch Changes
+
+- [`bce80621`](https://github.com/getflip/swirl/commit/bce80621f5e9d3e47d68e6278d1e7e499b096809)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix secondary navigation state
+ restoration of swirl-shell-layout
+
+* [#778](https://github.com/getflip/swirl/pull/778)
+ [`b1b7b434`](https://github.com/getflip/swirl/commit/b1b7b434b04e593e53ba71b20c358e5315e52e63)
+ Thanks [@joseabernardes](https://github.com/joseabernardes)! - Fix
+ swirl-file-viewer-pdf current page number
+
+## 0.226.0
+
+### Minor Changes
+
+- [#775](https://github.com/getflip/swirl/pull/775)
+ [`fbf71bc9`](https://github.com/getflip/swirl/commit/fbf71bc94c4eb9e5276b002dc40a90c582feb69f)
+ Thanks [@maraikeschneider](https://github.com/maraikeschneider)! - Fix
+ handling of table layout when table is rendered within a modal
+
+## 0.225.2
+
+### Patch Changes
+
+- [`97c45d46`](https://github.com/getflip/swirl/commit/97c45d46eb7cec30d6c49b6192c2b7a51aaf95a9)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Improve download handling of
+ fallback file viewer
+
+## 0.225.1
+
+### Patch Changes
+
+- [`3f98de9e`](https://github.com/getflip/swirl/commit/3f98de9e198a3f25c57551f14ee6495ab0f7d837)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Make swirl-file-viewer-fallback
+ respect disabled downloads
+
+## 0.225.0
+
+### Minor Changes
+
+- [`0c855fb9`](https://github.com/getflip/swirl/commit/0c855fb9772d0555da72b82cee6df30e9d6ac8d1)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add swirl-file-viewer-fallback
+ for unsupported file types
+
+## 0.224.0
+
+### Minor Changes
+
+- [`6a1af78a`](https://github.com/getflip/swirl/commit/6a1af78a11afe552d7e49f1b2ed93f5ba0623c9a)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add chipClick event to swirl-chip
+
+## 0.223.0
+
+### Minor Changes
+
+- [#770](https://github.com/getflip/swirl/pull/770)
+ [`9df750c0`](https://github.com/getflip/swirl/commit/9df750c0eb68db1c28bba983461d1cec3f1d31ba)
+ Thanks [@maraikeschneider](https://github.com/maraikeschneider)! - Apply
+ sticky property to table columns and cells
+
+## 0.222.1
+
+### Patch Changes
+
+- [`4390b336`](https://github.com/getflip/swirl/commit/4390b336e500e2785eda0db99e2b6f9d98a5bd0f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Don't close mobile shell
+ navigation when secondary navigation is toggled
+
+## 0.222.0
+
+### Minor Changes
+
+- [`265823b5`](https://github.com/getflip/swirl/commit/265823b565cf3050ef6889d6f2fe5990fc893de3)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add font-size prop to
+ swirl-text-input and swirl-form-control
+
+## 0.221.0
+
+### Minor Changes
+
+- [`0e9413cf`](https://github.com/getflip/swirl/commit/0e9413cfbc2add299f8360078ef2df3cddd1153f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add "border-color" prop to
+ swirl-box
+
+## 0.220.5
+
+### Patch Changes
+
+- [`93f59bef`](https://github.com/getflip/swirl/commit/93f59bef3ce31d09e112795f7c520564c0d99355)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix swirl-shell-navigation-item
+ label wrapping
+
+## 0.220.4
+
+### Patch Changes
+
+- [`cfaf2b8f`](https://github.com/getflip/swirl/commit/cfaf2b8fa3cfb53df041b7d6c60e64a6a5df1e00)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Tweak swirl-shell-navigation-item
+ spacing
+
+## 0.220.3
+
+### Patch Changes
+
+- [`875d491a`](https://github.com/getflip/swirl/commit/875d491a355ce89d2f15f880ad55f0b714ab0aaf)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Tweak swirl-shell-navigation-item
+ styling
+
+## 0.220.2
+
+### Patch Changes
+
+- [`b54e20a7`](https://github.com/getflip/swirl/commit/b54e20a77aae792a8e3afa5f0069457a5985530f)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix allowed shell layout
+ navigation markup
+
+## 0.220.1
+
+### Patch Changes
+
+- [`ebde720e`](https://github.com/getflip/swirl/commit/ebde720ea7a1e80d9e8db13e9852d3601013a5f6)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Fix shell layout navigation item
+ handling if items change at runtime
+
+## 0.220.0
+
+### Minor Changes
+
+- [#762](https://github.com/getflip/swirl/pull/762)
+ [`e9ffdb07`](https://github.com/getflip/swirl/commit/e9ffdb073a2b8dcfcaf56ecdb87fbd037ba3d125)
+ Thanks [@Sqrrl](https://github.com/Sqrrl)! - Add optional grid layout for
+ shell layout navigation
+
+## 0.219.0
+
+### Minor Changes
+
+- [#760](https://github.com/getflip/swirl/pull/760)
+ [`9b7ec15d`](https://github.com/getflip/swirl/commit/9b7ec15d6f3f8ad7fb5886fa79c0ec56c28e06d6)
+ Thanks [@koraxis](https://github.com/koraxis)! - Add RemoveCircle icon
+
+### Patch Changes
+
+- Updated dependencies
+ [[`9b7ec15d`](https://github.com/getflip/swirl/commit/9b7ec15d6f3f8ad7fb5886fa79c0ec56c28e06d6)]:
+ - @getflip/swirl-icons@0.40.0
+
+## 0.218.0
+
+### Minor Changes
+
+- [#758](https://github.com/getflip/swirl/pull/758)
+ [`a842a881`](https://github.com/getflip/swirl/commit/a842a8813b8c124fa952124053c648a43fd826c3)
+ Thanks [@AshleyBekemeier](https://github.com/AshleyBekemeier)! - Avatar group
+ customizable badge size
+
## 0.217.0
### Minor Changes
diff --git a/packages/swirl-components/icons.json b/packages/swirl-components/icons.json
index f79405d9d..a5cb3ced5 100644
--- a/packages/swirl-components/icons.json
+++ b/packages/swirl-components/icons.json
@@ -1 +1 @@
-{"Add":{"id":"Add","name":"add"},"AddModerator":{"id":"AddModerator","name":"add-moderator"},"AddPhoto":{"id":"AddPhoto","name":"add-photo"},"AddReaction":{"id":"AddReaction","name":"add-reaction"},"AdminPanelSettings":{"id":"AdminPanelSettings","name":"admin-panel-settings"},"Ai":{"id":"Ai","name":"ai"},"Apps":{"id":"Apps","name":"apps"},"ArrowBack":{"id":"ArrowBack","name":"arrow-back"},"ArrowDownward":{"id":"ArrowDownward","name":"arrow-downward"},"ArrowForward":{"id":"ArrowForward","name":"arrow-forward"},"ArrowLeft":{"id":"ArrowLeft","name":"arrow-left"},"ArrowRight":{"id":"ArrowRight","name":"arrow-right"},"ArrowRightSmall":{"id":"ArrowRightSmall","name":"arrow-right-small"},"ArrowUpward":{"id":"ArrowUpward","name":"arrow-upward"},"AspectRatio":{"id":"AspectRatio","name":"aspect-ratio"},"Attachment":{"id":"Attachment","name":"attachment"},"BarChart":{"id":"BarChart","name":"bar-chart"},"Block":{"id":"Block","name":"block"},"Bookmark":{"id":"Bookmark","name":"bookmark"},"BookmarkFilled":{"id":"BookmarkFilled","name":"bookmark-filled"},"Cancel":{"id":"Cancel","name":"cancel"},"ChatBubble":{"id":"ChatBubble","name":"chat-bubble"},"Chats":{"id":"Chats","name":"chats"},"ChatsFilled":{"id":"ChatsFilled","name":"chats-filled"},"Check":{"id":"Check","name":"check"},"CheckCircle":{"id":"CheckCircle","name":"check-circle"},"CheckSmall":{"id":"CheckSmall","name":"check-small"},"CheckStrong":{"id":"CheckStrong","name":"check-strong"},"ChevronLeft":{"id":"ChevronLeft","name":"chevron-left"},"ChevronRight":{"id":"ChevronRight","name":"chevron-right"},"Close":{"id":"Close","name":"close"},"CloseSmall":{"id":"CloseSmall","name":"close-small"},"CloudUpload":{"id":"CloudUpload","name":"cloud-upload"},"Column":{"id":"Column","name":"column"},"Comment":{"id":"Comment","name":"comment"},"Copy":{"id":"Copy","name":"copy"},"Crop":{"id":"Crop","name":"crop"},"DarkMode":{"id":"DarkMode","name":"dark-mode"},"DateRange":{"id":"DateRange","name":"date-range"},"Delete":{"id":"Delete","name":"delete"},"Description":{"id":"Description","name":"description"},"Desktop":{"id":"Desktop","name":"desktop"},"Directory":{"id":"Directory","name":"directory"},"DirectoryFilled":{"id":"DirectoryFilled","name":"directory-filled"},"Discover":{"id":"Discover","name":"discover"},"DockLeft":{"id":"DockLeft","name":"dock-left"},"Dot":{"id":"Dot","name":"dot"},"DoubleArrowLeft":{"id":"DoubleArrowLeft","name":"double-arrow-left"},"DoubleArrowRight":{"id":"DoubleArrowRight","name":"double-arrow-right"},"Download":{"id":"Download","name":"download"},"DragHandle":{"id":"DragHandle","name":"drag-handle"},"Edit":{"id":"Edit","name":"edit"},"EmojiMood":{"id":"EmojiMood","name":"emoji-mood"},"EmojiSatisfied":{"id":"EmojiSatisfied","name":"emoji-satisfied"},"Error":{"id":"Error","name":"error"},"ExpandLess":{"id":"ExpandLess","name":"expand-less"},"ExpandMore":{"id":"ExpandMore","name":"expand-more"},"Experiment":{"id":"Experiment","name":"experiment"},"File":{"id":"File","name":"file"},"FileCopy":{"id":"FileCopy","name":"file-copy"},"Filter":{"id":"Filter","name":"filter"},"Folder":{"id":"Folder","name":"folder"},"FolderShared":{"id":"FolderShared","name":"folder-shared"},"FormatHOne":{"id":"FormatHOne","name":"format-h-one"},"Fullscreen":{"id":"Fullscreen","name":"fullscreen"},"FullscreenExit":{"id":"FullscreenExit","name":"fullscreen-exit"},"Gif":{"id":"Gif","name":"gif"},"GroupAdd":{"id":"GroupAdd","name":"group-add"},"GroupAssign":{"id":"GroupAssign","name":"group-assign"},"Groups":{"id":"Groups","name":"groups"},"GroupsFilled":{"id":"GroupsFilled","name":"groups-filled"},"HamburgerMenu":{"id":"HamburgerMenu","name":"hamburger-menu"},"Help":{"id":"Help","name":"help"},"Highlight":{"id":"Highlight","name":"highlight"},"History":{"id":"History","name":"history"},"Home":{"id":"Home","name":"home"},"Image":{"id":"Image","name":"image"},"ImproveText":{"id":"ImproveText","name":"improve-text"},"Info":{"id":"Info","name":"info"},"InsertBelow":{"id":"InsertBelow","name":"insert-below"},"InsertOnTop":{"id":"InsertOnTop","name":"insert-on-top"},"Inventory":{"id":"Inventory","name":"inventory"},"Keyboard":{"id":"Keyboard","name":"keyboard"},"KeyboardHide":{"id":"KeyboardHide","name":"keyboard-hide"},"LightMode":{"id":"LightMode","name":"light-mode"},"Like":{"id":"Like","name":"like"},"Link":{"id":"Link","name":"link"},"Load":{"id":"Load","name":"load"},"Lock":{"id":"Lock","name":"lock"},"LockOpen":{"id":"LockOpen","name":"lock-open"},"LockPerson":{"id":"LockPerson","name":"lock-person"},"Login":{"id":"Login","name":"login"},"Logout":{"id":"Logout","name":"logout"},"LongText":{"id":"LongText","name":"long-text"},"Mail":{"id":"Mail","name":"mail"},"ManageAccounts":{"id":"ManageAccounts","name":"manage-accounts"},"MarkChatRead":{"id":"MarkChatRead","name":"mark-chat-read"},"MarkChatUnread":{"id":"MarkChatUnread","name":"mark-chat-unread"},"Mention":{"id":"Mention","name":"mention"},"Menu":{"id":"Menu","name":"menu"},"MenuBook":{"id":"MenuBook","name":"menu-book"},"MenuFilled":{"id":"MenuFilled","name":"menu-filled"},"Message":{"id":"Message","name":"message"},"Mic":{"id":"Mic","name":"mic"},"MicOff":{"id":"MicOff","name":"mic-off"},"MoreHorizontal":{"id":"MoreHorizontal","name":"more-horizontal"},"MoreVertikal":{"id":"MoreVertikal","name":"more-vertikal"},"News":{"id":"News","name":"news"},"NewsFilled":{"id":"NewsFilled","name":"news-filled"},"NewsOff":{"id":"NewsOff","name":"news-off"},"Notifications":{"id":"Notifications","name":"notifications"},"NotificationsActive":{"id":"NotificationsActive","name":"notifications-active"},"NotificationsOff":{"id":"NotificationsOff","name":"notifications-off"},"OpenInFull":{"id":"OpenInFull","name":"open-in-full"},"OpenInNew":{"id":"OpenInNew","name":"open-in-new"},"Pause":{"id":"Pause","name":"pause"},"PauseCircle":{"id":"PauseCircle","name":"pause-circle"},"PeopleAlt":{"id":"PeopleAlt","name":"people-alt"},"Person":{"id":"Person","name":"person"},"PersonOff":{"id":"PersonOff","name":"person-off"},"Phone":{"id":"Phone","name":"phone"},"PhotoCamera":{"id":"PhotoCamera","name":"photo-camera"},"Pin":{"id":"Pin","name":"pin"},"PinOff":{"id":"PinOff","name":"pin-off"},"Place":{"id":"Place","name":"place"},"PlayArrow":{"id":"PlayArrow","name":"play-arrow"},"Poll":{"id":"Poll","name":"poll"},"Print":{"id":"Print","name":"print"},"RatioFourToThree":{"id":"RatioFourToThree","name":"ratio-four-to-three"},"RatioFreeform":{"id":"RatioFreeform","name":"ratio-freeform"},"RatioSixteenToNine":{"id":"RatioSixteenToNine","name":"ratio-sixteen-to-nine"},"RatioSquare":{"id":"RatioSquare","name":"ratio-square"},"RatioThreeToFour":{"id":"RatioThreeToFour","name":"ratio-three-to-four"},"RatioThreeToTwo":{"id":"RatioThreeToTwo","name":"ratio-three-to-two"},"Recieved":{"id":"Recieved","name":"recieved"},"Remove":{"id":"Remove","name":"remove"},"RemoveModerator":{"id":"RemoveModerator","name":"remove-moderator"},"Reply":{"id":"Reply","name":"reply"},"Report":{"id":"Report","name":"report"},"Roadmap":{"id":"Roadmap","name":"roadmap"},"RotateLeft":{"id":"RotateLeft","name":"rotate-left"},"RotateRight":{"id":"RotateRight","name":"rotate-right"},"Search":{"id":"Search","name":"search"},"SearchStrong":{"id":"SearchStrong","name":"search-strong"},"Secure":{"id":"Secure","name":"secure"},"Send":{"id":"Send","name":"send"},"Settings":{"id":"Settings","name":"settings"},"ShortText":{"id":"ShortText","name":"short-text"},"Simplify":{"id":"Simplify","name":"simplify"},"Spellcheck":{"id":"Spellcheck","name":"spellcheck"},"Stop":{"id":"Stop","name":"stop"},"Sync":{"id":"Sync","name":"sync"},"Tasks":{"id":"Tasks","name":"tasks"},"TasksFilled":{"id":"TasksFilled","name":"tasks-filled"},"Terminal":{"id":"Terminal","name":"terminal"},"Time":{"id":"Time","name":"time"},"TimeFilled":{"id":"TimeFilled","name":"time-filled"},"Today":{"id":"Today","name":"today"},"TodayFilled":{"id":"TodayFilled","name":"today-filled"},"Translate":{"id":"Translate","name":"translate"},"TreeStructure":{"id":"TreeStructure","name":"tree-structure"},"Undo":{"id":"Undo","name":"undo"},"UnlockPerson":{"id":"UnlockPerson","name":"unlock-person"},"UserAdd":{"id":"UserAdd","name":"user-add"},"UserAssign":{"id":"UserAssign","name":"user-assign"},"VideoCamera":{"id":"VideoCamera","name":"video-camera"},"VideoCameraOff":{"id":"VideoCameraOff","name":"video-camera-off"},"VideoLibrary":{"id":"VideoLibrary","name":"video-library"},"Visibility":{"id":"Visibility","name":"visibility"},"VisibilityOff":{"id":"VisibilityOff","name":"visibility-off"},"Voice":{"id":"Voice","name":"voice"},"Warning":{"id":"Warning","name":"warning"},"WebAsset":{"id":"WebAsset","name":"web-asset"},"WebAssetOff":{"id":"WebAssetOff","name":"web-asset-off"},"Work":{"id":"Work","name":"work"}}
\ No newline at end of file
+{"Add":{"id":"Add","name":"add"},"AddModerator":{"id":"AddModerator","name":"add-moderator"},"AddPhoto":{"id":"AddPhoto","name":"add-photo"},"AddReaction":{"id":"AddReaction","name":"add-reaction"},"AdminPanelSettings":{"id":"AdminPanelSettings","name":"admin-panel-settings"},"Ai":{"id":"Ai","name":"ai"},"Apps":{"id":"Apps","name":"apps"},"ArrowBack":{"id":"ArrowBack","name":"arrow-back"},"ArrowDownward":{"id":"ArrowDownward","name":"arrow-downward"},"ArrowForward":{"id":"ArrowForward","name":"arrow-forward"},"ArrowLeft":{"id":"ArrowLeft","name":"arrow-left"},"ArrowRight":{"id":"ArrowRight","name":"arrow-right"},"ArrowRightSmall":{"id":"ArrowRightSmall","name":"arrow-right-small"},"ArrowUpward":{"id":"ArrowUpward","name":"arrow-upward"},"AspectRatio":{"id":"AspectRatio","name":"aspect-ratio"},"Attachment":{"id":"Attachment","name":"attachment"},"BarChart":{"id":"BarChart","name":"bar-chart"},"Block":{"id":"Block","name":"block"},"Bookmark":{"id":"Bookmark","name":"bookmark"},"BookmarkFilled":{"id":"BookmarkFilled","name":"bookmark-filled"},"Cancel":{"id":"Cancel","name":"cancel"},"ChatBubble":{"id":"ChatBubble","name":"chat-bubble"},"Chats":{"id":"Chats","name":"chats"},"ChatsFilled":{"id":"ChatsFilled","name":"chats-filled"},"Check":{"id":"Check","name":"check"},"CheckCircle":{"id":"CheckCircle","name":"check-circle"},"CheckSmall":{"id":"CheckSmall","name":"check-small"},"CheckStrong":{"id":"CheckStrong","name":"check-strong"},"ChevronLeft":{"id":"ChevronLeft","name":"chevron-left"},"ChevronRight":{"id":"ChevronRight","name":"chevron-right"},"Close":{"id":"Close","name":"close"},"CloseSmall":{"id":"CloseSmall","name":"close-small"},"CloudUpload":{"id":"CloudUpload","name":"cloud-upload"},"Column":{"id":"Column","name":"column"},"Comment":{"id":"Comment","name":"comment"},"Copy":{"id":"Copy","name":"copy"},"Crop":{"id":"Crop","name":"crop"},"DarkMode":{"id":"DarkMode","name":"dark-mode"},"DateRange":{"id":"DateRange","name":"date-range"},"Delete":{"id":"Delete","name":"delete"},"Description":{"id":"Description","name":"description"},"Desktop":{"id":"Desktop","name":"desktop"},"Directory":{"id":"Directory","name":"directory"},"DirectoryFilled":{"id":"DirectoryFilled","name":"directory-filled"},"Discover":{"id":"Discover","name":"discover"},"DockLeft":{"id":"DockLeft","name":"dock-left"},"DockLeftCollapse":{"id":"DockLeftCollapse","name":"dock-left-collapse"},"DockLeftExpand":{"id":"DockLeftExpand","name":"dock-left-expand"},"Dot":{"id":"Dot","name":"dot"},"DoubleArrowLeft":{"id":"DoubleArrowLeft","name":"double-arrow-left"},"DoubleArrowRight":{"id":"DoubleArrowRight","name":"double-arrow-right"},"Download":{"id":"Download","name":"download"},"DragHandle":{"id":"DragHandle","name":"drag-handle"},"Edit":{"id":"Edit","name":"edit"},"EmojiMood":{"id":"EmojiMood","name":"emoji-mood"},"EmojiSatisfied":{"id":"EmojiSatisfied","name":"emoji-satisfied"},"Error":{"id":"Error","name":"error"},"ExpandLess":{"id":"ExpandLess","name":"expand-less"},"ExpandMore":{"id":"ExpandMore","name":"expand-more"},"Experiment":{"id":"Experiment","name":"experiment"},"File":{"id":"File","name":"file"},"FileCopy":{"id":"FileCopy","name":"file-copy"},"Filter":{"id":"Filter","name":"filter"},"Folder":{"id":"Folder","name":"folder"},"FolderShared":{"id":"FolderShared","name":"folder-shared"},"FormatHOne":{"id":"FormatHOne","name":"format-h-one"},"Fullscreen":{"id":"Fullscreen","name":"fullscreen"},"FullscreenExit":{"id":"FullscreenExit","name":"fullscreen-exit"},"Gif":{"id":"Gif","name":"gif"},"GroupAdd":{"id":"GroupAdd","name":"group-add"},"GroupAssign":{"id":"GroupAssign","name":"group-assign"},"Groups":{"id":"Groups","name":"groups"},"GroupsFilled":{"id":"GroupsFilled","name":"groups-filled"},"HamburgerMenu":{"id":"HamburgerMenu","name":"hamburger-menu"},"Help":{"id":"Help","name":"help"},"Highlight":{"id":"Highlight","name":"highlight"},"History":{"id":"History","name":"history"},"Home":{"id":"Home","name":"home"},"Image":{"id":"Image","name":"image"},"ImproveText":{"id":"ImproveText","name":"improve-text"},"Info":{"id":"Info","name":"info"},"InsertBelow":{"id":"InsertBelow","name":"insert-below"},"InsertOnTop":{"id":"InsertOnTop","name":"insert-on-top"},"Inventory":{"id":"Inventory","name":"inventory"},"Keyboard":{"id":"Keyboard","name":"keyboard"},"KeyboardHide":{"id":"KeyboardHide","name":"keyboard-hide"},"LightMode":{"id":"LightMode","name":"light-mode"},"Like":{"id":"Like","name":"like"},"Link":{"id":"Link","name":"link"},"Live":{"id":"Live","name":"live"},"Load":{"id":"Load","name":"load"},"Lock":{"id":"Lock","name":"lock"},"LockOpen":{"id":"LockOpen","name":"lock-open"},"LockPerson":{"id":"LockPerson","name":"lock-person"},"Login":{"id":"Login","name":"login"},"Logout":{"id":"Logout","name":"logout"},"LongText":{"id":"LongText","name":"long-text"},"Mail":{"id":"Mail","name":"mail"},"ManageAccounts":{"id":"ManageAccounts","name":"manage-accounts"},"MarkChatRead":{"id":"MarkChatRead","name":"mark-chat-read"},"MarkChatUnread":{"id":"MarkChatUnread","name":"mark-chat-unread"},"Mention":{"id":"Mention","name":"mention"},"Menu":{"id":"Menu","name":"menu"},"MenuBook":{"id":"MenuBook","name":"menu-book"},"MenuFilled":{"id":"MenuFilled","name":"menu-filled"},"Message":{"id":"Message","name":"message"},"Mic":{"id":"Mic","name":"mic"},"MicOff":{"id":"MicOff","name":"mic-off"},"MoreHorizontal":{"id":"MoreHorizontal","name":"more-horizontal"},"MoreVertikal":{"id":"MoreVertikal","name":"more-vertikal"},"News":{"id":"News","name":"news"},"NewsFilled":{"id":"NewsFilled","name":"news-filled"},"NewsOff":{"id":"NewsOff","name":"news-off"},"Notifications":{"id":"Notifications","name":"notifications"},"NotificationsActive":{"id":"NotificationsActive","name":"notifications-active"},"NotificationsOff":{"id":"NotificationsOff","name":"notifications-off"},"OpenInFull":{"id":"OpenInFull","name":"open-in-full"},"OpenInNew":{"id":"OpenInNew","name":"open-in-new"},"Pause":{"id":"Pause","name":"pause"},"PauseCircle":{"id":"PauseCircle","name":"pause-circle"},"PeopleAlt":{"id":"PeopleAlt","name":"people-alt"},"Person":{"id":"Person","name":"person"},"PersonOff":{"id":"PersonOff","name":"person-off"},"Phone":{"id":"Phone","name":"phone"},"PhotoCamera":{"id":"PhotoCamera","name":"photo-camera"},"Pin":{"id":"Pin","name":"pin"},"PinOff":{"id":"PinOff","name":"pin-off"},"Place":{"id":"Place","name":"place"},"PlayArrow":{"id":"PlayArrow","name":"play-arrow"},"Poll":{"id":"Poll","name":"poll"},"PostApproval":{"id":"PostApproval","name":"post-approval"},"Present":{"id":"Present","name":"present"},"Print":{"id":"Print","name":"print"},"Public":{"id":"Public","name":"public"},"PublicOff":{"id":"PublicOff","name":"public-off"},"RatioFourToThree":{"id":"RatioFourToThree","name":"ratio-four-to-three"},"RatioFreeform":{"id":"RatioFreeform","name":"ratio-freeform"},"RatioSixteenToNine":{"id":"RatioSixteenToNine","name":"ratio-sixteen-to-nine"},"RatioSquare":{"id":"RatioSquare","name":"ratio-square"},"RatioThreeToFour":{"id":"RatioThreeToFour","name":"ratio-three-to-four"},"RatioThreeToTwo":{"id":"RatioThreeToTwo","name":"ratio-three-to-two"},"Recieved":{"id":"Recieved","name":"recieved"},"Remove":{"id":"Remove","name":"remove"},"RemoveCircle":{"id":"RemoveCircle","name":"remove-circle"},"RemoveModerator":{"id":"RemoveModerator","name":"remove-moderator"},"Reply":{"id":"Reply","name":"reply"},"Report":{"id":"Report","name":"report"},"Roadmap":{"id":"Roadmap","name":"roadmap"},"RotateLeft":{"id":"RotateLeft","name":"rotate-left"},"RotateRight":{"id":"RotateRight","name":"rotate-right"},"Screenshare":{"id":"Screenshare","name":"screenshare"},"ScreenshareOff":{"id":"ScreenshareOff","name":"screenshare-off"},"Search":{"id":"Search","name":"search"},"SearchStrong":{"id":"SearchStrong","name":"search-strong"},"Secure":{"id":"Secure","name":"secure"},"Send":{"id":"Send","name":"send"},"Settings":{"id":"Settings","name":"settings"},"ShortText":{"id":"ShortText","name":"short-text"},"Simplify":{"id":"Simplify","name":"simplify"},"Spellcheck":{"id":"Spellcheck","name":"spellcheck"},"Stop":{"id":"Stop","name":"stop"},"Sync":{"id":"Sync","name":"sync"},"Tasks":{"id":"Tasks","name":"tasks"},"TasksFilled":{"id":"TasksFilled","name":"tasks-filled"},"Terminal":{"id":"Terminal","name":"terminal"},"Time":{"id":"Time","name":"time"},"TimeFilled":{"id":"TimeFilled","name":"time-filled"},"Today":{"id":"Today","name":"today"},"TodayFilled":{"id":"TodayFilled","name":"today-filled"},"Translate":{"id":"Translate","name":"translate"},"TreeStructure":{"id":"TreeStructure","name":"tree-structure"},"Undo":{"id":"Undo","name":"undo"},"UnlockPerson":{"id":"UnlockPerson","name":"unlock-person"},"UserAdd":{"id":"UserAdd","name":"user-add"},"UserAssign":{"id":"UserAssign","name":"user-assign"},"VideoCamera":{"id":"VideoCamera","name":"video-camera"},"VideoCameraOff":{"id":"VideoCameraOff","name":"video-camera-off"},"VideoLibrary":{"id":"VideoLibrary","name":"video-library"},"VideoPlayer":{"id":"VideoPlayer","name":"video-player"},"Visibility":{"id":"Visibility","name":"visibility"},"VisibilityOff":{"id":"VisibilityOff","name":"visibility-off"},"Voice":{"id":"Voice","name":"voice"},"Warning":{"id":"Warning","name":"warning"},"WebAsset":{"id":"WebAsset","name":"web-asset"},"WebAssetOff":{"id":"WebAssetOff","name":"web-asset-off"},"Work":{"id":"Work","name":"work"}}
\ No newline at end of file
diff --git a/packages/swirl-components/package.json b/packages/swirl-components/package.json
index 06c496a93..12c1e1f17 100644
--- a/packages/swirl-components/package.json
+++ b/packages/swirl-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@getflip/swirl-components",
- "version": "0.217.0",
+ "version": "0.257.0",
"description": "Swirl Design System Web Component Library",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
@@ -42,7 +42,7 @@
},
"dependencies": {
"@floating-ui/dom": "1.0.1",
- "@getflip/swirl-icons": "^0.39.0",
+ "@getflip/swirl-icons": "^0.45.0",
"@getflip/swirl-tokens": "^2.6.0",
"@stencil/core": "^4.18.1",
"a11y-dialog": "^7.5.2",
diff --git a/packages/swirl-components/public/menu-item-1.png b/packages/swirl-components/public/menu-item-1.png
new file mode 100644
index 000000000..7efa067e4
Binary files /dev/null and b/packages/swirl-components/public/menu-item-1.png differ
diff --git a/packages/swirl-components/public/menu-item-2.png b/packages/swirl-components/public/menu-item-2.png
new file mode 100644
index 000000000..8c28c6989
Binary files /dev/null and b/packages/swirl-components/public/menu-item-2.png differ
diff --git a/packages/swirl-components/public/menu-item-3.png b/packages/swirl-components/public/menu-item-3.png
new file mode 100644
index 000000000..33f9a2a43
Binary files /dev/null and b/packages/swirl-components/public/menu-item-3.png differ
diff --git a/packages/swirl-components/public/menu-item-4.png b/packages/swirl-components/public/menu-item-4.png
new file mode 100644
index 000000000..87f79cb7b
Binary files /dev/null and b/packages/swirl-components/public/menu-item-4.png differ
diff --git a/packages/swirl-components/public/sample.gif b/packages/swirl-components/public/sample.gif
new file mode 100644
index 000000000..a57e161f4
Binary files /dev/null and b/packages/swirl-components/public/sample.gif differ
diff --git a/packages/swirl-components/src/components.d.ts b/packages/swirl-components/src/components.d.ts
index abb77bd15..fc2822467 100644
--- a/packages/swirl-components/src/components.d.ts
+++ b/packages/swirl-components/src/components.d.ts
@@ -8,13 +8,13 @@ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
import { SwirlHeadingLevel } from "./components/swirl-heading/swirl-heading";
import { SwirlActionListItemIntent, SwirlActionListItemSize } from "./components/swirl-action-list-item/swirl-action-list-item";
import { SwirlAppBarPadding } from "./components/swirl-app-bar/swirl-app-bar";
-import { SwirlAppLayoutMobileView } from "./components/swirl-app-layout/swirl-app-layout";
+import { SwirlAppLayoutMobileView, SwirlAppLayoutNavigationExpansionState } from "./components/swirl-app-layout/swirl-app-layout";
import { SwirlAutocompleteSuggestion, SwirlAutocompleteValue } from "./components/swirl-autocomplete/swirl-autocomplete";
import { SwirlTextInputMode } from "./components/swirl-text-input/swirl-text-input";
import { SwirlAvatarBadgePosition, SwirlAvatarColor, SwirlAvatarLoading, SwirlAvatarSize, SwirlAvatarToolPosition, SwirlAvatarVariant } from "./components/swirl-avatar/swirl-avatar";
import { SwirlBadgeIntent, SwirlBadgeSize, SwirlBadgeVariant } from "./components/swirl-badge/swirl-badge";
import { SwirlBannerAriaRole, SwirlBannerIntent, SwirlBannerSize } from "./components/swirl-banner/swirl-banner";
-import { SwirlBoxOverflow, SwirlBoxPadding, SwirlBoxPosition } from "./components/swirl-box/swirl-box";
+import { SwirlBoxBorderColor, SwirlBoxOverflow, SwirlBoxPadding, SwirlBoxPosition } from "./components/swirl-box/swirl-box";
import { SwirlButtonIconPosition, SwirlButtonIntent, SwirlButtonSize, SwirlButtonTextAlign, SwirlButtonType, SwirlButtonVariant } from "./components/swirl-button/swirl-button";
import { SwirlButtonGroupOrientation } from "./components/swirl-button-group/swirl-button-group";
import { SwirlCardBorderRadius, SwirlCardElevationLevel, SwirlCardIntent, SwirlCardJustifyContent, SwirlCardOverflow, SwirlCardPadding } from "./components/swirl-card/swirl-card";
@@ -27,7 +27,7 @@ import { SwirlEmojiSize } from "./components/swirl-emoji/swirl-emoji.types";
import { SwirlButtonVariant as SwirlButtonVariant1 } from "./components/swirl-button/swirl-button";
import { SwirlFileViewerPdfViewMode, SwirlFileViewerPdfZoom } from "./components/swirl-file-viewer/viewers/swirl-file-viewer-pdf/swirl-file-viewer-pdf";
import { SwirlFileViewerPdfViewMode as SwirlFileViewerPdfViewMode1, SwirlFileViewerPdfZoom as SwirlFileViewerPdfZoom1 } from "./components/swirl-file-viewer/viewers/swirl-file-viewer-pdf/swirl-file-viewer-pdf";
-import { SwirlFormControlLabelPosition } from "./components/swirl-form-control/swirl-form-control";
+import { SwirlFormControlFontSize, SwirlFormControlLabelPosition } from "./components/swirl-form-control/swirl-form-control";
import { SwirlFormGroupOrientation } from "./components/swirl-form-group/swirl-form-group";
import { SwirlHeadingAlign, SwirlHeadingLevel as SwirlHeadingLevel1, SwirlHeadingTag } from "./components/swirl-heading/swirl-heading";
import { SwirlIconColor } from "./components/swirl-icon/swirl-icon";
@@ -47,13 +47,15 @@ import { SwirlPopoverAnimation } from "./components/swirl-popover/swirl-popover"
import { ComputePositionReturn, Placement, Strategy } from "@floating-ui/dom";
import { SwirlProgressIndicatorSize, SwirlProgressIndicatorVariant } from "./components/swirl-progress-indicator/swirl-progress-indicator";
import { SwirlRadioState, SwirlRadioVariant } from "./components/swirl-radio/swirl-radio";
+import { SwirlStackSpacing } from "./components/swirl-stack/swirl-stack";
import { SwirlResourceListItemLabelWeight } from "./components/swirl-resource-list-item/swirl-resource-list-item";
import { SwirlSearchVariant } from "./components/swirl-search/swirl-search";
import { SwirlSeparatorBorderColor, SwirlSeparatorOrientation, SwirlSeparatorSpacing } from "./components/swirl-separator/swirl-separator";
+import { SwirlLabelColor } from "./components/swirl-shell-navigation-item/swirl-shell-navigation-item";
import { SwirlSkeletonBoxBorderRadius } from "./components/swirl-skeleton-box/swirl-skeleton-box";
import { SwirlSkeletonTextSize } from "./components/swirl-skeleton-text/swirl-skeleton-text";
import { SwirlSpinnerSize } from "./components/swirl-spinner/swirl-spinner";
-import { SwirlStackAlign, SwirlStackJustify, SwirlStackOrientation, SwirlStackSpacing } from "./components/swirl-stack/swirl-stack";
+import { SwirlStackAlign, SwirlStackJustify, SwirlStackOrientation, SwirlStackSpacing as SwirlStackSpacing1 } from "./components/swirl-stack/swirl-stack";
import { SwirlStatusIndicatorIntent } from "./components/swirl-status-indicator/swirl-status-indicator";
import { SwirlSwitchLabelPosition } from "./components/swirl-switch/swirl-switch";
import { SwirlSymbolSize } from "./components/swirl-symbol/swirl-symbol.types";
@@ -61,9 +63,9 @@ import { SwirlTabPadding } from "./components/swirl-tab/swirl-tab";
import { SwirlTabBarJustify, SwirlTabBarPadding, SwirlTabBarTab } from "./components/swirl-tab-bar/swirl-tab-bar";
import { SwirlTableColumnSort } from "./components/swirl-table-column/swirl-table-column";
import { SwirlTabBarJustify as SwirlTabBarJustify1, SwirlTabBarPadding as SwirlTabBarPadding1 } from "./components/swirl-tab-bar/swirl-tab-bar";
-import { SwirlTagIntent, SwirlTagSize, SwirlTagVariant } from "./components/swirl-tag/swirl-tag";
+import { SwirlTagIconPosition, SwirlTagIntent, SwirlTagSize, SwirlTagVariant } from "./components/swirl-tag/swirl-tag";
import { SwirlTextAlign, SwirlTextColor, SwirlTextFontFamily, SwirlTextFontStyle, SwirlTextSize, SwirlTextTruncateDirection, SwirlTextWeight, SwirlTextWhiteSpace } from "./components/swirl-text/swirl-text";
-import { SwirlTextInputMode as SwirlTextInputMode1, SwirlTextInputType } from "./components/swirl-text-input/swirl-text-input";
+import { SwirlTextInputFontSize, SwirlTextInputMode as SwirlTextInputMode1, SwirlTextInputType } from "./components/swirl-text-input/swirl-text-input";
import { SwirlOSTheme, SwirlOSThemeChangeEventData, SwirlThemeProviderConfig } from "./components/swirl-theme-provider/swirl-theme-provider.types";
import { SwirlThumbnailFormat, SwirlThumbnailSize } from "./components/swirl-thumbnail/swirl-thumbnail";
import { SwirlToastIntent } from "./components/swirl-toast/swirl-toast";
@@ -73,13 +75,13 @@ import { SwirlTooltipPosition } from "./components/swirl-tooltip/swirl-tooltip";
export { SwirlHeadingLevel } from "./components/swirl-heading/swirl-heading";
export { SwirlActionListItemIntent, SwirlActionListItemSize } from "./components/swirl-action-list-item/swirl-action-list-item";
export { SwirlAppBarPadding } from "./components/swirl-app-bar/swirl-app-bar";
-export { SwirlAppLayoutMobileView } from "./components/swirl-app-layout/swirl-app-layout";
+export { SwirlAppLayoutMobileView, SwirlAppLayoutNavigationExpansionState } from "./components/swirl-app-layout/swirl-app-layout";
export { SwirlAutocompleteSuggestion, SwirlAutocompleteValue } from "./components/swirl-autocomplete/swirl-autocomplete";
export { SwirlTextInputMode } from "./components/swirl-text-input/swirl-text-input";
export { SwirlAvatarBadgePosition, SwirlAvatarColor, SwirlAvatarLoading, SwirlAvatarSize, SwirlAvatarToolPosition, SwirlAvatarVariant } from "./components/swirl-avatar/swirl-avatar";
export { SwirlBadgeIntent, SwirlBadgeSize, SwirlBadgeVariant } from "./components/swirl-badge/swirl-badge";
export { SwirlBannerAriaRole, SwirlBannerIntent, SwirlBannerSize } from "./components/swirl-banner/swirl-banner";
-export { SwirlBoxOverflow, SwirlBoxPadding, SwirlBoxPosition } from "./components/swirl-box/swirl-box";
+export { SwirlBoxBorderColor, SwirlBoxOverflow, SwirlBoxPadding, SwirlBoxPosition } from "./components/swirl-box/swirl-box";
export { SwirlButtonIconPosition, SwirlButtonIntent, SwirlButtonSize, SwirlButtonTextAlign, SwirlButtonType, SwirlButtonVariant } from "./components/swirl-button/swirl-button";
export { SwirlButtonGroupOrientation } from "./components/swirl-button-group/swirl-button-group";
export { SwirlCardBorderRadius, SwirlCardElevationLevel, SwirlCardIntent, SwirlCardJustifyContent, SwirlCardOverflow, SwirlCardPadding } from "./components/swirl-card/swirl-card";
@@ -92,7 +94,7 @@ export { SwirlEmojiSize } from "./components/swirl-emoji/swirl-emoji.types";
export { SwirlButtonVariant as SwirlButtonVariant1 } from "./components/swirl-button/swirl-button";
export { SwirlFileViewerPdfViewMode, SwirlFileViewerPdfZoom } from "./components/swirl-file-viewer/viewers/swirl-file-viewer-pdf/swirl-file-viewer-pdf";
export { SwirlFileViewerPdfViewMode as SwirlFileViewerPdfViewMode1, SwirlFileViewerPdfZoom as SwirlFileViewerPdfZoom1 } from "./components/swirl-file-viewer/viewers/swirl-file-viewer-pdf/swirl-file-viewer-pdf";
-export { SwirlFormControlLabelPosition } from "./components/swirl-form-control/swirl-form-control";
+export { SwirlFormControlFontSize, SwirlFormControlLabelPosition } from "./components/swirl-form-control/swirl-form-control";
export { SwirlFormGroupOrientation } from "./components/swirl-form-group/swirl-form-group";
export { SwirlHeadingAlign, SwirlHeadingLevel as SwirlHeadingLevel1, SwirlHeadingTag } from "./components/swirl-heading/swirl-heading";
export { SwirlIconColor } from "./components/swirl-icon/swirl-icon";
@@ -112,13 +114,15 @@ export { SwirlPopoverAnimation } from "./components/swirl-popover/swirl-popover"
export { ComputePositionReturn, Placement, Strategy } from "@floating-ui/dom";
export { SwirlProgressIndicatorSize, SwirlProgressIndicatorVariant } from "./components/swirl-progress-indicator/swirl-progress-indicator";
export { SwirlRadioState, SwirlRadioVariant } from "./components/swirl-radio/swirl-radio";
+export { SwirlStackSpacing } from "./components/swirl-stack/swirl-stack";
export { SwirlResourceListItemLabelWeight } from "./components/swirl-resource-list-item/swirl-resource-list-item";
export { SwirlSearchVariant } from "./components/swirl-search/swirl-search";
export { SwirlSeparatorBorderColor, SwirlSeparatorOrientation, SwirlSeparatorSpacing } from "./components/swirl-separator/swirl-separator";
+export { SwirlLabelColor } from "./components/swirl-shell-navigation-item/swirl-shell-navigation-item";
export { SwirlSkeletonBoxBorderRadius } from "./components/swirl-skeleton-box/swirl-skeleton-box";
export { SwirlSkeletonTextSize } from "./components/swirl-skeleton-text/swirl-skeleton-text";
export { SwirlSpinnerSize } from "./components/swirl-spinner/swirl-spinner";
-export { SwirlStackAlign, SwirlStackJustify, SwirlStackOrientation, SwirlStackSpacing } from "./components/swirl-stack/swirl-stack";
+export { SwirlStackAlign, SwirlStackJustify, SwirlStackOrientation, SwirlStackSpacing as SwirlStackSpacing1 } from "./components/swirl-stack/swirl-stack";
export { SwirlStatusIndicatorIntent } from "./components/swirl-status-indicator/swirl-status-indicator";
export { SwirlSwitchLabelPosition } from "./components/swirl-switch/swirl-switch";
export { SwirlSymbolSize } from "./components/swirl-symbol/swirl-symbol.types";
@@ -126,9 +130,9 @@ export { SwirlTabPadding } from "./components/swirl-tab/swirl-tab";
export { SwirlTabBarJustify, SwirlTabBarPadding, SwirlTabBarTab } from "./components/swirl-tab-bar/swirl-tab-bar";
export { SwirlTableColumnSort } from "./components/swirl-table-column/swirl-table-column";
export { SwirlTabBarJustify as SwirlTabBarJustify1, SwirlTabBarPadding as SwirlTabBarPadding1 } from "./components/swirl-tab-bar/swirl-tab-bar";
-export { SwirlTagIntent, SwirlTagSize, SwirlTagVariant } from "./components/swirl-tag/swirl-tag";
+export { SwirlTagIconPosition, SwirlTagIntent, SwirlTagSize, SwirlTagVariant } from "./components/swirl-tag/swirl-tag";
export { SwirlTextAlign, SwirlTextColor, SwirlTextFontFamily, SwirlTextFontStyle, SwirlTextSize, SwirlTextTruncateDirection, SwirlTextWeight, SwirlTextWhiteSpace } from "./components/swirl-text/swirl-text";
-export { SwirlTextInputMode as SwirlTextInputMode1, SwirlTextInputType } from "./components/swirl-text-input/swirl-text-input";
+export { SwirlTextInputFontSize, SwirlTextInputMode as SwirlTextInputMode1, SwirlTextInputType } from "./components/swirl-text-input/swirl-text-input";
export { SwirlOSTheme, SwirlOSThemeChangeEventData, SwirlThemeProviderConfig } from "./components/swirl-theme-provider/swirl-theme-provider.types";
export { SwirlThumbnailFormat, SwirlThumbnailSize } from "./components/swirl-thumbnail/swirl-thumbnail";
export { SwirlToastIntent } from "./components/swirl-toast/swirl-toast";
@@ -209,8 +213,13 @@ export namespace Components {
* @param mobileView
*/
"changeMobileView": (mobileView: SwirlAppLayoutMobileView, transition?: boolean) => Promise;
+ "collapsibleNavigation"?: boolean;
"ctaIcon"?: string;
"ctaLabel"?: string;
+ /**
+ * Get state of the collapsible navigation
+ */
+ "getCollapsibleNavigationState": () => Promise;
"hasNavigation": boolean;
"hideAppBar"?: boolean;
/**
@@ -218,7 +227,14 @@ export namespace Components {
*/
"hideSidebar": () => Promise;
"navigationBackButtonLabel"?: string;
+ "navigationExpansionStateStorageKey"?: string;
"navigationLabel"?: string;
+ "navigationOverlayLabel"?: string;
+ "navigationToggleLabel"?: string;
+ /**
+ * Set state of the collapsible navigation
+ */
+ "setCollapsibleNavigationState": (state: SwirlAppLayoutNavigationExpansionState) => Promise;
"showNavigationBackButton"?: boolean;
/**
* Show the sidebar
@@ -290,9 +306,12 @@ export namespace Components {
}
interface SwirlBox {
"basis"?: string;
+ "borderColor"?: SwirlBoxBorderColor;
"bordered"?: boolean;
"borderedBlockEnd"?: boolean;
+ "borderedBlockEndWhenScrolled"?: boolean;
"borderedBlockStart"?: boolean;
+ "borderedBlockStartWhenScrolled"?: boolean;
"borderedInlineEnd"?: boolean;
"borderedInlineStart"?: boolean;
"bottom"?: string;
@@ -607,6 +626,12 @@ export namespace Components {
"errorMessage"?: string;
"file": string;
}
+ interface SwirlFileViewerFallback {
+ "disableDownload"?: boolean;
+ "downloadButtonLabel"?: string;
+ "file": string;
+ "fileName"?: string;
+ }
interface SwirlFileViewerImage {
"description"?: string;
"errorMessage"?: string;
@@ -665,11 +690,13 @@ export namespace Components {
"description"?: string;
"disabled"?: boolean;
"errorMessage"?: string;
+ "fontSize"?: SwirlFormControlFontSize;
"hideLabel"?: boolean;
"inline"?: boolean;
"invalid"?: boolean;
"label": string;
"labelPosition"?: SwirlFormControlLabelPosition;
+ "secondaryLabel"?: string;
"tooltip"?: string;
}
interface SwirlFormGroup {
@@ -874,6 +901,14 @@ export namespace Components {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
}
+ interface SwirlIconDockLeftCollapse {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
+ interface SwirlIconDockLeftExpand {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
interface SwirlIconDot {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
@@ -1038,6 +1073,10 @@ export namespace Components {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
}
+ interface SwirlIconLive {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
interface SwirlIconLoad {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
@@ -1198,10 +1237,26 @@ export namespace Components {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
}
+ interface SwirlIconPostApproval {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
+ interface SwirlIconPresent {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
interface SwirlIconPrint {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
}
+ interface SwirlIconPublic {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
+ interface SwirlIconPublicOff {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
interface SwirlIconRatioFourToThree {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
@@ -1234,6 +1289,10 @@ export namespace Components {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
}
+ interface SwirlIconRemoveCircle {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
interface SwirlIconRemoveModerator {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
@@ -1258,6 +1317,14 @@ export namespace Components {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
}
+ interface SwirlIconScreenshare {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
+ interface SwirlIconScreenshareOff {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
interface SwirlIconSearch {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
@@ -1362,6 +1429,10 @@ export namespace Components {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
}
+ interface SwirlIconVideoPlayer {
+ "color"?: SwirlIconColor1;
+ "size": SwirlIconSize;
+ }
interface SwirlIconVisibility {
"color"?: SwirlIconColor1;
"size": SwirlIconSize;
@@ -1396,10 +1467,23 @@ export namespace Components {
}
interface SwirlImageGridItem {
"alt": string;
+ "gifPauseLabel"?: string;
+ "gifPlayLabel"?: string;
"icon"?: string;
"interactive"?: boolean;
"loading"?: SwirlImageGridItemLoading;
"overlay"?: string;
+ /**
+ * Stop Gif playback.
+ * @returns
+ */
+ "pause": () => Promise;
+ /**
+ * Start Gif playback.
+ * @returns
+ */
+ "play": () => Promise;
+ "showGifControls"?: boolean;
"src": string;
}
interface SwirlInlineError {
@@ -1654,6 +1738,7 @@ export namespace Components {
"inputName": string;
"invalid"?: boolean;
"label"?: string;
+ "tooltip"?: string;
"value": string;
"variant"?: SwirlRadioVariant;
}
@@ -1668,6 +1753,7 @@ export namespace Components {
"assistiveTextItemMoving"?: string;
"controllingElement"?: HTMLElement;
"label"?: string;
+ "spacing"?: SwirlStackSpacing;
}
interface SwirlResourceListFileItem {
"description"?: string;
@@ -1727,6 +1813,7 @@ export namespace Components {
"searchLoading"?: boolean;
"searchPlaceholder"?: string;
"selectId"?: string;
+ "standalone"?: boolean;
"swirlAriaDescribedby"?: string;
"value"?: string[];
"withSearch"?: boolean;
@@ -1740,13 +1827,19 @@ export namespace Components {
"brandedHeader"?: boolean;
"browserBackButtonLabel"?: string;
"browserForwardButtonLabel"?: string;
+ "collapseNavigationButtonLabel"?: string;
+ "enableSecondaryNavGridLayout"?: boolean;
+ "expandNavigationButtonLabel"?: string;
+ "gridNavLayoutToggleLabel"?: string;
/**
* Hides the mobile navigation.
*/
"hideMobileNavigation": () => Promise;
"hideMobileNavigationButtonLabel"?: string;
+ "listNavLayoutToggleLabel"?: string;
"navigationLabel"?: string;
- "navigationToggleLabel"?: string;
+ "secondaryNavCollapseLabel"?: string;
+ "secondaryNavExpandLabel"?: string;
/**
* Opens the mobile navigation.
*/
@@ -1762,9 +1855,14 @@ export namespace Components {
"active"?: boolean;
"badgeLabel"?: string;
"boxed"?: boolean;
+ "hideLabel": boolean;
"href"?: string;
+ "inlineLabel"?: boolean;
+ "inlineLabelColor": SwirlLabelColor;
"label": string;
"target"?: string;
+ "tiled"?: boolean;
+ "withGradient"?: boolean;
}
interface SwirlSkeletonBox {
"animated"?: boolean;
@@ -1788,7 +1886,7 @@ export namespace Components {
"height"?: string;
"justify"?: SwirlStackJustify;
"orientation"?: SwirlStackOrientation;
- "spacing"?: SwirlStackSpacing;
+ "spacing"?: SwirlStackSpacing1;
"wrap"?: boolean;
}
interface SwirlStatusIndicator {
@@ -2049,6 +2147,7 @@ export namespace Components {
interface SwirlTag {
"bordered"?: boolean;
"icon"?: string;
+ "iconPosition": SwirlTagIconPosition;
"intent"?: SwirlTagIntent;
"label": string;
"removable"?: boolean;
@@ -2064,6 +2163,7 @@ export namespace Components {
"fontFamily"?: SwirlTextFontFamily;
"fontStyle"?: SwirlTextFontStyle;
"lines"?: number;
+ "responsive"?: boolean;
"size"?: SwirlTextSize;
"truncate"?: boolean;
"truncateDirection"?: SwirlTextTruncateDirection;
@@ -2081,6 +2181,7 @@ export namespace Components {
"disableDynamicWidth"?: boolean;
"disabled"?: boolean;
"focusInput": () => Promise;
+ "fontSize"?: SwirlTextInputFontSize;
"inline"?: boolean;
"invalid"?: boolean;
"max"?: number;
@@ -2185,23 +2286,59 @@ export namespace Components {
*/
"toast": (newToast: SwirlToastConfig) => Promise;
}
+ interface SwirlToggleButton {
+ "identifier": string;
+ "isPressed": boolean;
+ "label": string;
+ }
+ interface SwirlToggleGroup {
+ "selectedToggleId": string;
+ }
interface SwirlToolbar {
"label": string;
"orientation"?: SwirlToolbarOrientation;
}
interface SwirlTooltip {
+ "active": boolean;
"content": string;
"delay"?: number;
"position"?: SwirlTooltipPosition;
"positioning"?: Strategy;
}
+ interface SwirlTreeNavigation {
+ "label": string;
+ }
interface SwirlTreeNavigationItem {
"active"?: boolean;
+ "collapse": () => Promise;
+ "expand": () => Promise;
+ "expandable"?: boolean;
+ "external"?: boolean;
"href"?: string;
"icon"?: string;
"label": string;
+ "level"?: number;
+ "navigationItemId": string;
"target"?: string;
}
+ interface SwirlTreeView {
+ "expandItems": (itemIds: string[]) => Promise;
+ "initiallyExpandedItemIds"?: string[];
+ "label": string;
+ }
+ interface SwirlTreeViewItem {
+ "active"?: boolean;
+ "collapse": () => Promise;
+ "expand": () => Promise;
+ "expandable"?: boolean;
+ "href"?: string;
+ "icon"?: string;
+ "iconColor"?: SwirlIconColor1;
+ "itemId": string;
+ "label": string;
+ "select": (focus?: boolean) => Promise;
+ "unselect": () => Promise;
+ }
interface SwirlVideoThumbnail {
"duration"?: string;
"durationLabel"?: string;
@@ -2287,6 +2424,10 @@ export interface SwirlFileViewerCsvCustomEvent extends CustomEvent {
detail: T;
target: HTMLSwirlFileViewerCsvElement;
}
+export interface SwirlFileViewerFallbackCustomEvent extends CustomEvent {
+ detail: T;
+ target: HTMLSwirlFileViewerFallbackElement;
+}
export interface SwirlFileViewerImageCustomEvent extends CustomEvent {
detail: T;
target: HTMLSwirlFileViewerImageElement;
@@ -2407,6 +2548,22 @@ export interface SwirlToastCustomEvent extends CustomEvent {
detail: T;
target: HTMLSwirlToastElement;
}
+export interface SwirlToggleGroupCustomEvent extends CustomEvent {
+ detail: T;
+ target: HTMLSwirlToggleGroupElement;
+}
+export interface SwirlTreeNavigationItemCustomEvent extends CustomEvent {
+ detail: T;
+ target: HTMLSwirlTreeNavigationItemElement;
+}
+export interface SwirlTreeViewCustomEvent extends CustomEvent {
+ detail: T;
+ target: HTMLSwirlTreeViewElement;
+}
+export interface SwirlTreeViewItemCustomEvent extends CustomEvent {
+ detail: T;
+ target: HTMLSwirlTreeViewItemElement;
+}
declare global {
interface HTMLFileManagerElement extends Components.FileManager, HTMLStencilElement {
}
@@ -2496,6 +2653,7 @@ declare global {
"ctaClick": MouseEvent;
"mobileViewChange": SwirlAppLayoutMobileView;
"navigationBackButtonClick": MouseEvent;
+ "navigationExpansionStateChange": SwirlAppLayoutNavigationExpansionState;
"sidebarToggle": boolean;
}
interface HTMLSwirlAppLayoutElement extends Components.SwirlAppLayout, HTMLStencilElement {
@@ -2648,6 +2806,7 @@ declare global {
new (): HTMLSwirlCheckboxElement;
};
interface HTMLSwirlChipElementEventMap {
+ "chipClick": MouseEvent;
"remove": MouseEvent;
}
interface HTMLSwirlChipElement extends Components.SwirlChip, HTMLStencilElement {
@@ -2891,6 +3050,23 @@ declare global {
prototype: HTMLSwirlFileViewerCsvElement;
new (): HTMLSwirlFileViewerCsvElement;
};
+ interface HTMLSwirlFileViewerFallbackElementEventMap {
+ "activate": HTMLElement;
+ }
+ interface HTMLSwirlFileViewerFallbackElement extends Components.SwirlFileViewerFallback, HTMLStencilElement {
+ addEventListener(type: K, listener: (this: HTMLSwirlFileViewerFallbackElement, ev: SwirlFileViewerFallbackCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: HTMLSwirlFileViewerFallbackElement, ev: SwirlFileViewerFallbackCustomEvent) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
+ }
+ var HTMLSwirlFileViewerFallbackElement: {
+ prototype: HTMLSwirlFileViewerFallbackElement;
+ new (): HTMLSwirlFileViewerFallbackElement;
+ };
interface HTMLSwirlFileViewerImageElementEventMap {
"activate": HTMLElement;
}
@@ -3260,6 +3436,18 @@ declare global {
prototype: HTMLSwirlIconDockLeftElement;
new (): HTMLSwirlIconDockLeftElement;
};
+ interface HTMLSwirlIconDockLeftCollapseElement extends Components.SwirlIconDockLeftCollapse, HTMLStencilElement {
+ }
+ var HTMLSwirlIconDockLeftCollapseElement: {
+ prototype: HTMLSwirlIconDockLeftCollapseElement;
+ new (): HTMLSwirlIconDockLeftCollapseElement;
+ };
+ interface HTMLSwirlIconDockLeftExpandElement extends Components.SwirlIconDockLeftExpand, HTMLStencilElement {
+ }
+ var HTMLSwirlIconDockLeftExpandElement: {
+ prototype: HTMLSwirlIconDockLeftExpandElement;
+ new (): HTMLSwirlIconDockLeftExpandElement;
+ };
interface HTMLSwirlIconDotElement extends Components.SwirlIconDot, HTMLStencilElement {
}
var HTMLSwirlIconDotElement: {
@@ -3506,6 +3694,12 @@ declare global {
prototype: HTMLSwirlIconLinkElement;
new (): HTMLSwirlIconLinkElement;
};
+ interface HTMLSwirlIconLiveElement extends Components.SwirlIconLive, HTMLStencilElement {
+ }
+ var HTMLSwirlIconLiveElement: {
+ prototype: HTMLSwirlIconLiveElement;
+ new (): HTMLSwirlIconLiveElement;
+ };
interface HTMLSwirlIconLoadElement extends Components.SwirlIconLoad, HTMLStencilElement {
}
var HTMLSwirlIconLoadElement: {
@@ -3746,12 +3940,36 @@ declare global {
prototype: HTMLSwirlIconPollElement;
new (): HTMLSwirlIconPollElement;
};
+ interface HTMLSwirlIconPostApprovalElement extends Components.SwirlIconPostApproval, HTMLStencilElement {
+ }
+ var HTMLSwirlIconPostApprovalElement: {
+ prototype: HTMLSwirlIconPostApprovalElement;
+ new (): HTMLSwirlIconPostApprovalElement;
+ };
+ interface HTMLSwirlIconPresentElement extends Components.SwirlIconPresent, HTMLStencilElement {
+ }
+ var HTMLSwirlIconPresentElement: {
+ prototype: HTMLSwirlIconPresentElement;
+ new (): HTMLSwirlIconPresentElement;
+ };
interface HTMLSwirlIconPrintElement extends Components.SwirlIconPrint, HTMLStencilElement {
}
var HTMLSwirlIconPrintElement: {
prototype: HTMLSwirlIconPrintElement;
new (): HTMLSwirlIconPrintElement;
};
+ interface HTMLSwirlIconPublicElement extends Components.SwirlIconPublic, HTMLStencilElement {
+ }
+ var HTMLSwirlIconPublicElement: {
+ prototype: HTMLSwirlIconPublicElement;
+ new (): HTMLSwirlIconPublicElement;
+ };
+ interface HTMLSwirlIconPublicOffElement extends Components.SwirlIconPublicOff, HTMLStencilElement {
+ }
+ var HTMLSwirlIconPublicOffElement: {
+ prototype: HTMLSwirlIconPublicOffElement;
+ new (): HTMLSwirlIconPublicOffElement;
+ };
interface HTMLSwirlIconRatioFourToThreeElement extends Components.SwirlIconRatioFourToThree, HTMLStencilElement {
}
var HTMLSwirlIconRatioFourToThreeElement: {
@@ -3800,6 +4018,12 @@ declare global {
prototype: HTMLSwirlIconRemoveElement;
new (): HTMLSwirlIconRemoveElement;
};
+ interface HTMLSwirlIconRemoveCircleElement extends Components.SwirlIconRemoveCircle, HTMLStencilElement {
+ }
+ var HTMLSwirlIconRemoveCircleElement: {
+ prototype: HTMLSwirlIconRemoveCircleElement;
+ new (): HTMLSwirlIconRemoveCircleElement;
+ };
interface HTMLSwirlIconRemoveModeratorElement extends Components.SwirlIconRemoveModerator, HTMLStencilElement {
}
var HTMLSwirlIconRemoveModeratorElement: {
@@ -3836,6 +4060,18 @@ declare global {
prototype: HTMLSwirlIconRotateRightElement;
new (): HTMLSwirlIconRotateRightElement;
};
+ interface HTMLSwirlIconScreenshareElement extends Components.SwirlIconScreenshare, HTMLStencilElement {
+ }
+ var HTMLSwirlIconScreenshareElement: {
+ prototype: HTMLSwirlIconScreenshareElement;
+ new (): HTMLSwirlIconScreenshareElement;
+ };
+ interface HTMLSwirlIconScreenshareOffElement extends Components.SwirlIconScreenshareOff, HTMLStencilElement {
+ }
+ var HTMLSwirlIconScreenshareOffElement: {
+ prototype: HTMLSwirlIconScreenshareOffElement;
+ new (): HTMLSwirlIconScreenshareOffElement;
+ };
interface HTMLSwirlIconSearchElement extends Components.SwirlIconSearch, HTMLStencilElement {
}
var HTMLSwirlIconSearchElement: {
@@ -3992,6 +4228,12 @@ declare global {
prototype: HTMLSwirlIconVideoLibraryElement;
new (): HTMLSwirlIconVideoLibraryElement;
};
+ interface HTMLSwirlIconVideoPlayerElement extends Components.SwirlIconVideoPlayer, HTMLStencilElement {
+ }
+ var HTMLSwirlIconVideoPlayerElement: {
+ prototype: HTMLSwirlIconVideoPlayerElement;
+ new (): HTMLSwirlIconVideoPlayerElement;
+ };
interface HTMLSwirlIconVisibilityElement extends Components.SwirlIconVisibility, HTMLStencilElement {
}
var HTMLSwirlIconVisibilityElement: {
@@ -4041,6 +4283,8 @@ declare global {
new (): HTMLSwirlImageGridElement;
};
interface HTMLSwirlImageGridItemElementEventMap {
+ "gifStarted": void;
+ "gifStopped": void;
"imageError": void;
"imageLoad": void;
}
@@ -5019,6 +5263,29 @@ declare global {
prototype: HTMLSwirlToastProviderElement;
new (): HTMLSwirlToastProviderElement;
};
+ interface HTMLSwirlToggleButtonElement extends Components.SwirlToggleButton, HTMLStencilElement {
+ }
+ var HTMLSwirlToggleButtonElement: {
+ prototype: HTMLSwirlToggleButtonElement;
+ new (): HTMLSwirlToggleButtonElement;
+ };
+ interface HTMLSwirlToggleGroupElementEventMap {
+ "selectedToggleChange": string;
+ }
+ interface HTMLSwirlToggleGroupElement extends Components.SwirlToggleGroup, HTMLStencilElement {
+ addEventListener(type: K, listener: (this: HTMLSwirlToggleGroupElement, ev: SwirlToggleGroupCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: HTMLSwirlToggleGroupElement, ev: SwirlToggleGroupCustomEvent) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
+ }
+ var HTMLSwirlToggleGroupElement: {
+ prototype: HTMLSwirlToggleGroupElement;
+ new (): HTMLSwirlToggleGroupElement;
+ };
interface HTMLSwirlToolbarElement extends Components.SwirlToolbar, HTMLStencilElement {
}
var HTMLSwirlToolbarElement: {
@@ -5031,12 +5298,67 @@ declare global {
prototype: HTMLSwirlTooltipElement;
new (): HTMLSwirlTooltipElement;
};
+ interface HTMLSwirlTreeNavigationElement extends Components.SwirlTreeNavigation, HTMLStencilElement {
+ }
+ var HTMLSwirlTreeNavigationElement: {
+ prototype: HTMLSwirlTreeNavigationElement;
+ new (): HTMLSwirlTreeNavigationElement;
+ };
+ interface HTMLSwirlTreeNavigationItemElementEventMap {
+ "expansionChange": boolean;
+ }
interface HTMLSwirlTreeNavigationItemElement extends Components.SwirlTreeNavigationItem, HTMLStencilElement {
+ addEventListener(type: K, listener: (this: HTMLSwirlTreeNavigationItemElement, ev: SwirlTreeNavigationItemCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: HTMLSwirlTreeNavigationItemElement, ev: SwirlTreeNavigationItemCustomEvent) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLSwirlTreeNavigationItemElement: {
prototype: HTMLSwirlTreeNavigationItemElement;
new (): HTMLSwirlTreeNavigationItemElement;
};
+ interface HTMLSwirlTreeViewElementEventMap {
+ "itemExpansionChanged": {
+ itemId: string;
+ expanded: boolean;
+ };
+ }
+ interface HTMLSwirlTreeViewElement extends Components.SwirlTreeView, HTMLStencilElement {
+ addEventListener(type: K, listener: (this: HTMLSwirlTreeViewElement, ev: SwirlTreeViewCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: HTMLSwirlTreeViewElement, ev: SwirlTreeViewCustomEvent) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
+ }
+ var HTMLSwirlTreeViewElement: {
+ prototype: HTMLSwirlTreeViewElement;
+ new (): HTMLSwirlTreeViewElement;
+ };
+ interface HTMLSwirlTreeViewItemElementEventMap {
+ "expandedChange": boolean;
+ "itemSelected": HTMLSwirlTreeViewItemElement;
+ }
+ interface HTMLSwirlTreeViewItemElement extends Components.SwirlTreeViewItem, HTMLStencilElement {
+ addEventListener(type: K, listener: (this: HTMLSwirlTreeViewItemElement, ev: SwirlTreeViewItemCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: HTMLSwirlTreeViewItemElement, ev: SwirlTreeViewItemCustomEvent) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
+ }
+ var HTMLSwirlTreeViewItemElement: {
+ prototype: HTMLSwirlTreeViewItemElement;
+ new (): HTMLSwirlTreeViewItemElement;
+ };
interface HTMLSwirlVideoThumbnailElement extends Components.SwirlVideoThumbnail, HTMLStencilElement {
}
var HTMLSwirlVideoThumbnailElement: {
@@ -5092,6 +5414,7 @@ declare global {
"swirl-file-viewer": HTMLSwirlFileViewerElement;
"swirl-file-viewer-audio": HTMLSwirlFileViewerAudioElement;
"swirl-file-viewer-csv": HTMLSwirlFileViewerCsvElement;
+ "swirl-file-viewer-fallback": HTMLSwirlFileViewerFallbackElement;
"swirl-file-viewer-image": HTMLSwirlFileViewerImageElement;
"swirl-file-viewer-pdf": HTMLSwirlFileViewerPdfElement;
"swirl-file-viewer-text": HTMLSwirlFileViewerTextElement;
@@ -5146,6 +5469,8 @@ declare global {
"swirl-icon-directory-filled": HTMLSwirlIconDirectoryFilledElement;
"swirl-icon-discover": HTMLSwirlIconDiscoverElement;
"swirl-icon-dock-left": HTMLSwirlIconDockLeftElement;
+ "swirl-icon-dock-left-collapse": HTMLSwirlIconDockLeftCollapseElement;
+ "swirl-icon-dock-left-expand": HTMLSwirlIconDockLeftExpandElement;
"swirl-icon-dot": HTMLSwirlIconDotElement;
"swirl-icon-double-arrow-left": HTMLSwirlIconDoubleArrowLeftElement;
"swirl-icon-double-arrow-right": HTMLSwirlIconDoubleArrowRightElement;
@@ -5187,6 +5512,7 @@ declare global {
"swirl-icon-light-mode": HTMLSwirlIconLightModeElement;
"swirl-icon-like": HTMLSwirlIconLikeElement;
"swirl-icon-link": HTMLSwirlIconLinkElement;
+ "swirl-icon-live": HTMLSwirlIconLiveElement;
"swirl-icon-load": HTMLSwirlIconLoadElement;
"swirl-icon-lock": HTMLSwirlIconLockElement;
"swirl-icon-lock-open": HTMLSwirlIconLockOpenElement;
@@ -5227,7 +5553,11 @@ declare global {
"swirl-icon-place": HTMLSwirlIconPlaceElement;
"swirl-icon-play-arrow": HTMLSwirlIconPlayArrowElement;
"swirl-icon-poll": HTMLSwirlIconPollElement;
+ "swirl-icon-post-approval": HTMLSwirlIconPostApprovalElement;
+ "swirl-icon-present": HTMLSwirlIconPresentElement;
"swirl-icon-print": HTMLSwirlIconPrintElement;
+ "swirl-icon-public": HTMLSwirlIconPublicElement;
+ "swirl-icon-public-off": HTMLSwirlIconPublicOffElement;
"swirl-icon-ratio-four-to-three": HTMLSwirlIconRatioFourToThreeElement;
"swirl-icon-ratio-freeform": HTMLSwirlIconRatioFreeformElement;
"swirl-icon-ratio-sixteen-to-nine": HTMLSwirlIconRatioSixteenToNineElement;
@@ -5236,12 +5566,15 @@ declare global {
"swirl-icon-ratio-three-to-two": HTMLSwirlIconRatioThreeToTwoElement;
"swirl-icon-recieved": HTMLSwirlIconRecievedElement;
"swirl-icon-remove": HTMLSwirlIconRemoveElement;
+ "swirl-icon-remove-circle": HTMLSwirlIconRemoveCircleElement;
"swirl-icon-remove-moderator": HTMLSwirlIconRemoveModeratorElement;
"swirl-icon-reply": HTMLSwirlIconReplyElement;
"swirl-icon-report": HTMLSwirlIconReportElement;
"swirl-icon-roadmap": HTMLSwirlIconRoadmapElement;
"swirl-icon-rotate-left": HTMLSwirlIconRotateLeftElement;
"swirl-icon-rotate-right": HTMLSwirlIconRotateRightElement;
+ "swirl-icon-screenshare": HTMLSwirlIconScreenshareElement;
+ "swirl-icon-screenshare-off": HTMLSwirlIconScreenshareOffElement;
"swirl-icon-search": HTMLSwirlIconSearchElement;
"swirl-icon-search-strong": HTMLSwirlIconSearchStrongElement;
"swirl-icon-secure": HTMLSwirlIconSecureElement;
@@ -5268,6 +5601,7 @@ declare global {
"swirl-icon-video-camera": HTMLSwirlIconVideoCameraElement;
"swirl-icon-video-camera-off": HTMLSwirlIconVideoCameraOffElement;
"swirl-icon-video-library": HTMLSwirlIconVideoLibraryElement;
+ "swirl-icon-video-player": HTMLSwirlIconVideoPlayerElement;
"swirl-icon-visibility": HTMLSwirlIconVisibilityElement;
"swirl-icon-visibility-off": HTMLSwirlIconVisibilityOffElement;
"swirl-icon-voice": HTMLSwirlIconVoiceElement;
@@ -5386,9 +5720,14 @@ declare global {
"swirl-time-input": HTMLSwirlTimeInputElement;
"swirl-toast": HTMLSwirlToastElement;
"swirl-toast-provider": HTMLSwirlToastProviderElement;
+ "swirl-toggle-button": HTMLSwirlToggleButtonElement;
+ "swirl-toggle-group": HTMLSwirlToggleGroupElement;
"swirl-toolbar": HTMLSwirlToolbarElement;
"swirl-tooltip": HTMLSwirlTooltipElement;
+ "swirl-tree-navigation": HTMLSwirlTreeNavigationElement;
"swirl-tree-navigation-item": HTMLSwirlTreeNavigationItemElement;
+ "swirl-tree-view": HTMLSwirlTreeViewElement;
+ "swirl-tree-view-item": HTMLSwirlTreeViewItemElement;
"swirl-video-thumbnail": HTMLSwirlVideoThumbnailElement;
"swirl-visually-hidden": HTMLSwirlVisuallyHiddenElement;
}
@@ -5448,15 +5787,20 @@ declare namespace LocalJSX {
interface SwirlAppLayout {
"appName": string;
"backToNavigationViewButtonLabel"?: string;
+ "collapsibleNavigation"?: boolean;
"ctaIcon"?: string;
"ctaLabel"?: string;
"hasNavigation"?: boolean;
"hideAppBar"?: boolean;
"navigationBackButtonLabel"?: string;
+ "navigationExpansionStateStorageKey"?: string;
"navigationLabel"?: string;
+ "navigationOverlayLabel"?: string;
+ "navigationToggleLabel"?: string;
"onCtaClick"?: (event: SwirlAppLayoutCustomEvent) => void;
"onMobileViewChange"?: (event: SwirlAppLayoutCustomEvent) => void;
"onNavigationBackButtonClick"?: (event: SwirlAppLayoutCustomEvent) => void;
+ "onNavigationExpansionStateChange"?: (event: SwirlAppLayoutCustomEvent) => void;
"onSidebarToggle"?: (event: SwirlAppLayoutCustomEvent) => void;
"showNavigationBackButton"?: boolean;
"sidebarCloseButtonLabel"?: string;
@@ -5526,9 +5870,12 @@ declare namespace LocalJSX {
}
interface SwirlBox {
"basis"?: string;
+ "borderColor"?: SwirlBoxBorderColor;
"bordered"?: boolean;
"borderedBlockEnd"?: boolean;
+ "borderedBlockEndWhenScrolled"?: boolean;
"borderedBlockStart"?: boolean;
+ "borderedBlockStartWhenScrolled"?: boolean;
"borderedInlineEnd"?: boolean;
"borderedInlineStart"?: boolean;
"bottom"?: string;
@@ -5651,6 +5998,7 @@ declare namespace LocalJSX {
"intent"?: SwirlChipIntent;
"interactive"?: boolean;
"label": string;
+ "onChipClick"?: (event: SwirlChipCustomEvent) => void;
"onRemove"?: (event: SwirlChipCustomEvent) => void;
"pressed"?: boolean;
"progress"?: number;
@@ -5823,6 +6171,13 @@ declare namespace LocalJSX {
"file": string;
"onActivate"?: (event: SwirlFileViewerCsvCustomEvent) => void;
}
+ interface SwirlFileViewerFallback {
+ "disableDownload"?: boolean;
+ "downloadButtonLabel"?: string;
+ "file": string;
+ "fileName"?: string;
+ "onActivate"?: (event: SwirlFileViewerFallbackCustomEvent) => void;
+ }
interface SwirlFileViewerImage {
"description"?: string;
"errorMessage"?: string;
@@ -5856,11 +6211,13 @@ declare namespace LocalJSX {
"description"?: string;
"disabled"?: boolean;
"errorMessage"?: string;
+ "fontSize"?: SwirlFormControlFontSize;
"hideLabel"?: boolean;
"inline"?: boolean;
"invalid"?: boolean;
"label": string;
"labelPosition"?: SwirlFormControlLabelPosition;
+ "secondaryLabel"?: string;
"tooltip"?: string;
}
interface SwirlFormGroup {
@@ -6065,6 +6422,14 @@ declare namespace LocalJSX {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
}
+ interface SwirlIconDockLeftCollapse {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
+ interface SwirlIconDockLeftExpand {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
interface SwirlIconDot {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
@@ -6229,6 +6594,10 @@ declare namespace LocalJSX {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
}
+ interface SwirlIconLive {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
interface SwirlIconLoad {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
@@ -6389,10 +6758,26 @@ declare namespace LocalJSX {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
}
+ interface SwirlIconPostApproval {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
+ interface SwirlIconPresent {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
interface SwirlIconPrint {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
}
+ interface SwirlIconPublic {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
+ interface SwirlIconPublicOff {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
interface SwirlIconRatioFourToThree {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
@@ -6425,6 +6810,10 @@ declare namespace LocalJSX {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
}
+ interface SwirlIconRemoveCircle {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
interface SwirlIconRemoveModerator {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
@@ -6449,6 +6838,14 @@ declare namespace LocalJSX {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
}
+ interface SwirlIconScreenshare {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
+ interface SwirlIconScreenshareOff {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
interface SwirlIconSearch {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
@@ -6553,6 +6950,10 @@ declare namespace LocalJSX {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
}
+ interface SwirlIconVideoPlayer {
+ "color"?: SwirlIconColor1;
+ "size"?: SwirlIconSize;
+ }
interface SwirlIconVisibility {
"color"?: SwirlIconColor1;
"size"?: SwirlIconSize;
@@ -6587,12 +6988,17 @@ declare namespace LocalJSX {
}
interface SwirlImageGridItem {
"alt": string;
+ "gifPauseLabel"?: string;
+ "gifPlayLabel"?: string;
"icon"?: string;
"interactive"?: boolean;
"loading"?: SwirlImageGridItemLoading;
+ "onGifStarted"?: (event: SwirlImageGridItemCustomEvent) => void;
+ "onGifStopped"?: (event: SwirlImageGridItemCustomEvent) => void;
"onImageError"?: (event: SwirlImageGridItemCustomEvent) => void;
"onImageLoad"?: (event: SwirlImageGridItemCustomEvent) => void;
"overlay"?: string;
+ "showGifControls"?: boolean;
"src": string;
}
interface SwirlInlineError {
@@ -6792,6 +7198,7 @@ declare namespace LocalJSX {
"invalid"?: boolean;
"label"?: string;
"onValueChange"?: (event: SwirlRadioCustomEvent) => void;
+ "tooltip"?: string;
"value": string;
"variant"?: SwirlRadioVariant;
}
@@ -6812,6 +7219,7 @@ declare namespace LocalJSX {
oldIndex: number;
newIndex: number;
}>) => void;
+ "spacing"?: SwirlStackSpacing;
}
interface SwirlResourceListFileItem {
"description"?: string;
@@ -6880,6 +7288,7 @@ declare namespace LocalJSX {
"searchLoading"?: boolean;
"searchPlaceholder"?: string;
"selectId"?: string;
+ "standalone"?: boolean;
"swirlAriaDescribedby"?: string;
"value"?: string[];
"withSearch"?: boolean;
@@ -6893,11 +7302,17 @@ declare namespace LocalJSX {
"brandedHeader"?: boolean;
"browserBackButtonLabel"?: string;
"browserForwardButtonLabel"?: string;
+ "collapseNavigationButtonLabel"?: string;
+ "enableSecondaryNavGridLayout"?: boolean;
+ "expandNavigationButtonLabel"?: string;
+ "gridNavLayoutToggleLabel"?: string;
"hideMobileNavigationButtonLabel"?: string;
+ "listNavLayoutToggleLabel"?: string;
"navigationLabel"?: string;
- "navigationToggleLabel"?: string;
"onSidebarToggleClick"?: (event: SwirlShellLayoutCustomEvent) => void;
"onSkipLinkClick"?: (event: SwirlShellLayoutCustomEvent) => void;
+ "secondaryNavCollapseLabel"?: string;
+ "secondaryNavExpandLabel"?: string;
"sidebarActive"?: boolean;
"sidebarToggleBadge"?: string | boolean;
"sidebarToggleBadgeAriaLabel"?: string;
@@ -6909,9 +7324,14 @@ declare namespace LocalJSX {
"active"?: boolean;
"badgeLabel"?: string;
"boxed"?: boolean;
+ "hideLabel"?: boolean;
"href"?: string;
+ "inlineLabel"?: boolean;
+ "inlineLabelColor"?: SwirlLabelColor;
"label": string;
"target"?: string;
+ "tiled"?: boolean;
+ "withGradient"?: boolean;
}
interface SwirlSkeletonBox {
"animated"?: boolean;
@@ -6935,7 +7355,7 @@ declare namespace LocalJSX {
"height"?: string;
"justify"?: SwirlStackJustify;
"orientation"?: SwirlStackOrientation;
- "spacing"?: SwirlStackSpacing;
+ "spacing"?: SwirlStackSpacing1;
"wrap"?: boolean;
}
interface SwirlStatusIndicator {
@@ -7188,6 +7608,7 @@ declare namespace LocalJSX {
interface SwirlTag {
"bordered"?: boolean;
"icon"?: string;
+ "iconPosition"?: SwirlTagIconPosition;
"intent"?: SwirlTagIntent;
"label": string;
"onRemove"?: (event: SwirlTagCustomEvent) => void;
@@ -7204,6 +7625,7 @@ declare namespace LocalJSX {
"fontFamily"?: SwirlTextFontFamily;
"fontStyle"?: SwirlTextFontStyle;
"lines"?: number;
+ "responsive"?: boolean;
"size"?: SwirlTextSize;
"truncate"?: boolean;
"truncateDirection"?: SwirlTextTruncateDirection;
@@ -7219,6 +7641,7 @@ declare namespace LocalJSX {
"clearable"?: boolean;
"disableDynamicWidth"?: boolean;
"disabled"?: boolean;
+ "fontSize"?: SwirlTextInputFontSize;
"inline"?: boolean;
"invalid"?: boolean;
"max"?: number;
@@ -7299,23 +7722,60 @@ declare namespace LocalJSX {
*/
"globalDuration"?: number;
}
+ interface SwirlToggleButton {
+ "identifier": string;
+ "isPressed"?: boolean;
+ "label": string;
+ }
+ interface SwirlToggleGroup {
+ "onSelectedToggleChange"?: (event: SwirlToggleGroupCustomEvent) => void;
+ "selectedToggleId": string;
+ }
interface SwirlToolbar {
"label"?: string;
"orientation"?: SwirlToolbarOrientation;
}
interface SwirlTooltip {
+ "active"?: boolean;
"content": string;
"delay"?: number;
"position"?: SwirlTooltipPosition;
"positioning"?: Strategy;
}
+ interface SwirlTreeNavigation {
+ "label": string;
+ }
interface SwirlTreeNavigationItem {
"active"?: boolean;
+ "expandable"?: boolean;
+ "external"?: boolean;
"href"?: string;
"icon"?: string;
"label": string;
+ "level"?: number;
+ "navigationItemId": string;
+ "onExpansionChange"?: (event: SwirlTreeNavigationItemCustomEvent) => void;
"target"?: string;
}
+ interface SwirlTreeView {
+ "initiallyExpandedItemIds"?: string[];
+ "label": string;
+ "onItemExpansionChanged"?: (event: SwirlTreeViewCustomEvent<{
+ itemId: string;
+ expanded: boolean;
+ }>) => void;
+ }
+ interface SwirlTreeViewItem {
+ "active"?: boolean;
+ "expandable"?: boolean;
+ "href"?: string;
+ "icon"?: string;
+ "iconColor"?: SwirlIconColor1;
+ "itemId": string;
+ "label": string;
+ "onExpandedChange"?: (event: SwirlTreeViewItemCustomEvent) => void;
+ "onItemSelected"?: (event: SwirlTreeViewItemCustomEvent) => void;
+ }
interface SwirlVideoThumbnail {
"duration"?: string;
"durationLabel"?: string;
@@ -7367,6 +7827,7 @@ declare namespace LocalJSX {
"swirl-file-viewer": SwirlFileViewer;
"swirl-file-viewer-audio": SwirlFileViewerAudio;
"swirl-file-viewer-csv": SwirlFileViewerCsv;
+ "swirl-file-viewer-fallback": SwirlFileViewerFallback;
"swirl-file-viewer-image": SwirlFileViewerImage;
"swirl-file-viewer-pdf": SwirlFileViewerPdf;
"swirl-file-viewer-text": SwirlFileViewerText;
@@ -7421,6 +7882,8 @@ declare namespace LocalJSX {
"swirl-icon-directory-filled": SwirlIconDirectoryFilled;
"swirl-icon-discover": SwirlIconDiscover;
"swirl-icon-dock-left": SwirlIconDockLeft;
+ "swirl-icon-dock-left-collapse": SwirlIconDockLeftCollapse;
+ "swirl-icon-dock-left-expand": SwirlIconDockLeftExpand;
"swirl-icon-dot": SwirlIconDot;
"swirl-icon-double-arrow-left": SwirlIconDoubleArrowLeft;
"swirl-icon-double-arrow-right": SwirlIconDoubleArrowRight;
@@ -7462,6 +7925,7 @@ declare namespace LocalJSX {
"swirl-icon-light-mode": SwirlIconLightMode;
"swirl-icon-like": SwirlIconLike;
"swirl-icon-link": SwirlIconLink;
+ "swirl-icon-live": SwirlIconLive;
"swirl-icon-load": SwirlIconLoad;
"swirl-icon-lock": SwirlIconLock;
"swirl-icon-lock-open": SwirlIconLockOpen;
@@ -7502,7 +7966,11 @@ declare namespace LocalJSX {
"swirl-icon-place": SwirlIconPlace;
"swirl-icon-play-arrow": SwirlIconPlayArrow;
"swirl-icon-poll": SwirlIconPoll;
+ "swirl-icon-post-approval": SwirlIconPostApproval;
+ "swirl-icon-present": SwirlIconPresent;
"swirl-icon-print": SwirlIconPrint;
+ "swirl-icon-public": SwirlIconPublic;
+ "swirl-icon-public-off": SwirlIconPublicOff;
"swirl-icon-ratio-four-to-three": SwirlIconRatioFourToThree;
"swirl-icon-ratio-freeform": SwirlIconRatioFreeform;
"swirl-icon-ratio-sixteen-to-nine": SwirlIconRatioSixteenToNine;
@@ -7511,12 +7979,15 @@ declare namespace LocalJSX {
"swirl-icon-ratio-three-to-two": SwirlIconRatioThreeToTwo;
"swirl-icon-recieved": SwirlIconRecieved;
"swirl-icon-remove": SwirlIconRemove;
+ "swirl-icon-remove-circle": SwirlIconRemoveCircle;
"swirl-icon-remove-moderator": SwirlIconRemoveModerator;
"swirl-icon-reply": SwirlIconReply;
"swirl-icon-report": SwirlIconReport;
"swirl-icon-roadmap": SwirlIconRoadmap;
"swirl-icon-rotate-left": SwirlIconRotateLeft;
"swirl-icon-rotate-right": SwirlIconRotateRight;
+ "swirl-icon-screenshare": SwirlIconScreenshare;
+ "swirl-icon-screenshare-off": SwirlIconScreenshareOff;
"swirl-icon-search": SwirlIconSearch;
"swirl-icon-search-strong": SwirlIconSearchStrong;
"swirl-icon-secure": SwirlIconSecure;
@@ -7543,6 +8014,7 @@ declare namespace LocalJSX {
"swirl-icon-video-camera": SwirlIconVideoCamera;
"swirl-icon-video-camera-off": SwirlIconVideoCameraOff;
"swirl-icon-video-library": SwirlIconVideoLibrary;
+ "swirl-icon-video-player": SwirlIconVideoPlayer;
"swirl-icon-visibility": SwirlIconVisibility;
"swirl-icon-visibility-off": SwirlIconVisibilityOff;
"swirl-icon-voice": SwirlIconVoice;
@@ -7661,9 +8133,14 @@ declare namespace LocalJSX {
"swirl-time-input": SwirlTimeInput;
"swirl-toast": SwirlToast;
"swirl-toast-provider": SwirlToastProvider;
+ "swirl-toggle-button": SwirlToggleButton;
+ "swirl-toggle-group": SwirlToggleGroup;
"swirl-toolbar": SwirlToolbar;
"swirl-tooltip": SwirlTooltip;
+ "swirl-tree-navigation": SwirlTreeNavigation;
"swirl-tree-navigation-item": SwirlTreeNavigationItem;
+ "swirl-tree-view": SwirlTreeView;
+ "swirl-tree-view-item": SwirlTreeViewItem;
"swirl-video-thumbnail": SwirlVideoThumbnail;
"swirl-visually-hidden": SwirlVisuallyHidden;
}
@@ -7720,6 +8197,7 @@ declare module "@stencil/core" {
"swirl-file-viewer": LocalJSX.SwirlFileViewer & JSXBase.HTMLAttributes;
"swirl-file-viewer-audio": LocalJSX.SwirlFileViewerAudio & JSXBase.HTMLAttributes;
"swirl-file-viewer-csv": LocalJSX.SwirlFileViewerCsv & JSXBase.HTMLAttributes;
+ "swirl-file-viewer-fallback": LocalJSX.SwirlFileViewerFallback & JSXBase.HTMLAttributes;
"swirl-file-viewer-image": LocalJSX.SwirlFileViewerImage & JSXBase.HTMLAttributes;
"swirl-file-viewer-pdf": LocalJSX.SwirlFileViewerPdf & JSXBase.HTMLAttributes;
"swirl-file-viewer-text": LocalJSX.SwirlFileViewerText & JSXBase.HTMLAttributes;
@@ -7774,6 +8252,8 @@ declare module "@stencil/core" {
"swirl-icon-directory-filled": LocalJSX.SwirlIconDirectoryFilled & JSXBase.HTMLAttributes;
"swirl-icon-discover": LocalJSX.SwirlIconDiscover & JSXBase.HTMLAttributes;
"swirl-icon-dock-left": LocalJSX.SwirlIconDockLeft & JSXBase.HTMLAttributes;
+ "swirl-icon-dock-left-collapse": LocalJSX.SwirlIconDockLeftCollapse & JSXBase.HTMLAttributes;
+ "swirl-icon-dock-left-expand": LocalJSX.SwirlIconDockLeftExpand & JSXBase.HTMLAttributes;
"swirl-icon-dot": LocalJSX.SwirlIconDot & JSXBase.HTMLAttributes;
"swirl-icon-double-arrow-left": LocalJSX.SwirlIconDoubleArrowLeft & JSXBase.HTMLAttributes;
"swirl-icon-double-arrow-right": LocalJSX.SwirlIconDoubleArrowRight & JSXBase.HTMLAttributes;
@@ -7815,6 +8295,7 @@ declare module "@stencil/core" {
"swirl-icon-light-mode": LocalJSX.SwirlIconLightMode & JSXBase.HTMLAttributes;
"swirl-icon-like": LocalJSX.SwirlIconLike & JSXBase.HTMLAttributes;
"swirl-icon-link": LocalJSX.SwirlIconLink & JSXBase.HTMLAttributes;
+ "swirl-icon-live": LocalJSX.SwirlIconLive & JSXBase.HTMLAttributes;
"swirl-icon-load": LocalJSX.SwirlIconLoad & JSXBase.HTMLAttributes;
"swirl-icon-lock": LocalJSX.SwirlIconLock & JSXBase.HTMLAttributes;
"swirl-icon-lock-open": LocalJSX.SwirlIconLockOpen & JSXBase.HTMLAttributes;
@@ -7855,7 +8336,11 @@ declare module "@stencil/core" {
"swirl-icon-place": LocalJSX.SwirlIconPlace & JSXBase.HTMLAttributes;
"swirl-icon-play-arrow": LocalJSX.SwirlIconPlayArrow & JSXBase.HTMLAttributes;
"swirl-icon-poll": LocalJSX.SwirlIconPoll & JSXBase.HTMLAttributes;
+ "swirl-icon-post-approval": LocalJSX.SwirlIconPostApproval & JSXBase.HTMLAttributes;
+ "swirl-icon-present": LocalJSX.SwirlIconPresent & JSXBase.HTMLAttributes;
"swirl-icon-print": LocalJSX.SwirlIconPrint & JSXBase.HTMLAttributes;
+ "swirl-icon-public": LocalJSX.SwirlIconPublic & JSXBase.HTMLAttributes;
+ "swirl-icon-public-off": LocalJSX.SwirlIconPublicOff & JSXBase.HTMLAttributes;
"swirl-icon-ratio-four-to-three": LocalJSX.SwirlIconRatioFourToThree & JSXBase.HTMLAttributes;
"swirl-icon-ratio-freeform": LocalJSX.SwirlIconRatioFreeform & JSXBase.HTMLAttributes;
"swirl-icon-ratio-sixteen-to-nine": LocalJSX.SwirlIconRatioSixteenToNine & JSXBase.HTMLAttributes;
@@ -7864,12 +8349,15 @@ declare module "@stencil/core" {
"swirl-icon-ratio-three-to-two": LocalJSX.SwirlIconRatioThreeToTwo & JSXBase.HTMLAttributes;
"swirl-icon-recieved": LocalJSX.SwirlIconRecieved & JSXBase.HTMLAttributes;
"swirl-icon-remove": LocalJSX.SwirlIconRemove & JSXBase.HTMLAttributes;
+ "swirl-icon-remove-circle": LocalJSX.SwirlIconRemoveCircle & JSXBase.HTMLAttributes;
"swirl-icon-remove-moderator": LocalJSX.SwirlIconRemoveModerator & JSXBase.HTMLAttributes;
"swirl-icon-reply": LocalJSX.SwirlIconReply & JSXBase.HTMLAttributes;
"swirl-icon-report": LocalJSX.SwirlIconReport & JSXBase.HTMLAttributes;
"swirl-icon-roadmap": LocalJSX.SwirlIconRoadmap & JSXBase.HTMLAttributes;
"swirl-icon-rotate-left": LocalJSX.SwirlIconRotateLeft & JSXBase.HTMLAttributes;
"swirl-icon-rotate-right": LocalJSX.SwirlIconRotateRight & JSXBase.HTMLAttributes;
+ "swirl-icon-screenshare": LocalJSX.SwirlIconScreenshare & JSXBase.HTMLAttributes;
+ "swirl-icon-screenshare-off": LocalJSX.SwirlIconScreenshareOff & JSXBase.HTMLAttributes;
"swirl-icon-search": LocalJSX.SwirlIconSearch & JSXBase.HTMLAttributes;
"swirl-icon-search-strong": LocalJSX.SwirlIconSearchStrong & JSXBase.HTMLAttributes;
"swirl-icon-secure": LocalJSX.SwirlIconSecure & JSXBase.HTMLAttributes;
@@ -7896,6 +8384,7 @@ declare module "@stencil/core" {
"swirl-icon-video-camera": LocalJSX.SwirlIconVideoCamera & JSXBase.HTMLAttributes;
"swirl-icon-video-camera-off": LocalJSX.SwirlIconVideoCameraOff & JSXBase.HTMLAttributes;
"swirl-icon-video-library": LocalJSX.SwirlIconVideoLibrary & JSXBase.HTMLAttributes;
+ "swirl-icon-video-player": LocalJSX.SwirlIconVideoPlayer & JSXBase.HTMLAttributes;
"swirl-icon-visibility": LocalJSX.SwirlIconVisibility & JSXBase.HTMLAttributes;
"swirl-icon-visibility-off": LocalJSX.SwirlIconVisibilityOff & JSXBase.HTMLAttributes;
"swirl-icon-voice": LocalJSX.SwirlIconVoice & JSXBase.HTMLAttributes;
@@ -8014,9 +8503,14 @@ declare module "@stencil/core" {
"swirl-time-input": LocalJSX.SwirlTimeInput & JSXBase.HTMLAttributes;
"swirl-toast": LocalJSX.SwirlToast & JSXBase.HTMLAttributes;
"swirl-toast-provider": LocalJSX.SwirlToastProvider & JSXBase.HTMLAttributes;
+ "swirl-toggle-button": LocalJSX.SwirlToggleButton & JSXBase.HTMLAttributes;
+ "swirl-toggle-group": LocalJSX.SwirlToggleGroup & JSXBase.HTMLAttributes;
"swirl-toolbar": LocalJSX.SwirlToolbar & JSXBase.HTMLAttributes;
"swirl-tooltip": LocalJSX.SwirlTooltip & JSXBase.HTMLAttributes;
+ "swirl-tree-navigation": LocalJSX.SwirlTreeNavigation & JSXBase.HTMLAttributes;
"swirl-tree-navigation-item": LocalJSX.SwirlTreeNavigationItem & JSXBase.HTMLAttributes;
+ "swirl-tree-view": LocalJSX.SwirlTreeView & JSXBase.HTMLAttributes;
+ "swirl-tree-view-item": LocalJSX.SwirlTreeViewItem & JSXBase.HTMLAttributes;
"swirl-video-thumbnail": LocalJSX.SwirlVideoThumbnail & JSXBase.HTMLAttributes;
"swirl-visually-hidden": LocalJSX.SwirlVisuallyHidden & JSXBase.HTMLAttributes;
}
diff --git a/packages/swirl-components/src/components/swirl-app-bar/swirl-app-bar.css b/packages/swirl-components/src/components/swirl-app-bar/swirl-app-bar.css
index 84f08440e..f3bec65c8 100644
--- a/packages/swirl-components/src/components/swirl-app-bar/swirl-app-bar.css
+++ b/packages/swirl-components/src/components/swirl-app-bar/swirl-app-bar.css
@@ -17,10 +17,6 @@
padding-left: var(--s-space-16);
align-items: center;
gap: var(--s-space-16);
-
- @media (--from-desktop) {
- min-width: min-content;
- }
}
.app-bar--has-cta {
@@ -58,7 +54,7 @@
align-items: center;
@media (--from-desktop) {
- min-width: min-content;
+ min-width: 0;
flex-grow: 0;
}
}
diff --git a/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.css b/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.css
index 1e01b15d6..d84f91e8a 100644
--- a/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.css
+++ b/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.css
@@ -16,6 +16,7 @@
& > img {
width: 100%;
height: 100%;
+ object-fit: cover;
}
}
diff --git a/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.spec.tsx b/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.spec.tsx
index f85ef7c1d..fd6446717 100644
--- a/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.spec.tsx
+++ b/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.spec.tsx
@@ -34,7 +34,7 @@ describe("swirl-app-icon", () => {
-
+
diff --git a/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.tsx b/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.tsx
index ae369fd38..ca2792cf1 100644
--- a/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.tsx
+++ b/packages/swirl-components/src/components/swirl-app-icon/swirl-app-icon.tsx
@@ -38,11 +38,11 @@ export class SwirlAppIcon {
{showImage && (
)}
{showIcon && (
diff --git a/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout-base.css b/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout-base.css
index 71adccb22..3c9876ff4 100644
--- a/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout-base.css
+++ b/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout-base.css
@@ -1,4 +1,6 @@
:host {
+ --header-height: 3.5625rem;
+
position: relative;
z-index: 1;
display: flex;
@@ -25,7 +27,7 @@
width: 100%;
height: 100%;
grid-template-columns: 100%;
- grid-template-rows: 3.5625rem 1fr;
+ grid-template-rows: var(--header-height) 1fr;
grid-template-areas:
"body"
"body";
@@ -90,6 +92,67 @@
display: none;
}
}
+
+ &.app-layout--nav-collapsible {
+ @media (--from-desktop) {
+ &.app-layout--nav-collapsed {
+ & .app-layout__grid {
+ grid-template-columns: 0 1fr;
+ }
+ }
+
+ &.app-layout--nav-overlayed {
+ & .app-layout__grid {
+ grid-template-columns: 0 1fr;
+ }
+
+ & .app-layout__header,
+ & .app-layout__navigation {
+ position: absolute;
+ z-index: 4;
+ top: 0;
+ left: 0;
+ width: 22.5rem;
+ animation: app-layout-nav-overlay-slide-in-desktop 0.1s;
+ animation-fill-mode: forwards;
+ }
+
+ & .app-layout__header {
+ &:after {
+ position: absolute;
+ z-index: 1;
+ top: 0;
+ left: calc(100% + var(--s-border-width-default));
+ display: block;
+ width: 2rem;
+ height: 100vh;
+ background-image: linear-gradient(
+ to right,
+ rgba(0, 0, 0, 0.05) 0,
+ rgba(0, 0, 0, 0) 80%,
+ rgba(0, 0, 0, 0) 100%
+ );
+ content: "";
+ }
+ }
+
+ & .app-layout__navigation {
+ z-index: 3;
+ bottom: 0;
+ }
+ }
+ }
+
+ @media (--from-large-desktop) {
+ &.app-layout--nav-overlayed {
+ & .app-layout__header,
+ & .app-layout__navigation {
+ width: 25rem;
+ animation: app-layout-nav-overlay-slide-in-large-desktop 0.1s;
+ }
+ }
+ }
+ }
}
.app-layout--has-sidebar {
@@ -140,18 +203,33 @@
.app-layout--has-navigation.app-layout--has-sidebar {
&.app-layout--sidebar-active {
- @media (--from-larger-desktop) {
- & .app-layout__grid {
- animation: app-layout-sidebar-slide-in 0.3s;
+ & .app-layout__grid {
+ @media (--from-larger-desktop) {
grid-template-columns: 25rem 1fr 25rem;
grid-template-areas:
"header body sidebar"
"navigation body sidebar";
+ }
+ }
+ }
+
+ &.app-layout--sidebar-opening {
+ @media (--from-larger-desktop) {
+ & .app-layout__grid {
+ animation: app-layout-sidebar-slide-in 0.3s;
+ animation-fill-mode: forwards;
@media (prefers-reduced-motion) {
animation: none;
}
}
+
+ &.app-layout--nav-collapsed,
+ &.app-layout--nav-overlayed {
+ & .app-layout__grid {
+ animation: app-layout-sidebar-slide-in-with-collapsed-nav 0.3s;
+ }
+ }
}
}
@@ -164,6 +242,13 @@
animation: none;
}
}
+
+ &.app-layout--nav-collapsed,
+ &.app-layout--nav-overlayed {
+ & .app-layout__grid {
+ animation: app-layout-sidebar-slide-out-with-collapsed-nav 0.3s;
+ }
+ }
}
}
@@ -184,6 +269,22 @@
}
}
+ &.app-layout--nav-collapsible {
+ @media (--from-desktop) {
+ &.app-layout--nav-collapsed {
+ & .app-layout__grid {
+ grid-template-columns: 0 1fr;
+ }
+ }
+
+ &.app-layout--nav-overlayed {
+ & .app-layout__grid {
+ grid-template-columns: 0 1fr;
+ }
+ }
+ }
+ }
+
@media (--from-tablet) and (--to-larger-desktop) {
& .app-layout__sidebar {
position: absolute;
@@ -274,7 +375,7 @@
.app-layout--has-bottom-bar {
& .app-layout__body {
- grid-template-rows: minmax(3.5rem, auto) auto 1fr auto;
+ grid-template-rows: minmax(var(--header-height), auto) auto 1fr auto;
grid-template-areas:
"app-bar"
"banner"
@@ -282,6 +383,10 @@
"bottom-bar";
}
+ & .app-layout__content {
+ border-bottom: var(--s-border-width-default) solid transparent;
+ }
+
& .app-layout__bottom-bar {
display: block;
}
@@ -318,16 +423,48 @@
}
}
+.app-layout--content-scrollable {
+ &:not(.app-layout--content-scrolled-to-top) {
+ & .app-layout__app-bar {
+ border-bottom-color: var(--s-border-default);
+ }
+ }
+
+ &.app-layout--has-bottom-bar:not(.app-layout--content-scrolled-to-bottom) {
+ & .app-layout__content {
+ border-bottom-color: var(--s-border-default);
+ }
+ }
+}
+
+.app-layout--nav-scrollable {
+ &:not(.app-layout--nav-scrolled-to-top) {
+ & .app-layout__header {
+ border-bottom-color: var(--s-border-default);
+ }
+ }
+}
+
+.app-layout--sidebar-scrollable {
+ &:not(.app-layout--sidebar-scrolled-to-top) {
+ & .app-layout__sidebar-header,
+ & .app-layout__custom-sidebar-header {
+ border-bottom-color: var(--s-border-default);
+ }
+ }
+}
+
.app-layout__header {
z-index: 1;
display: flex;
min-width: 0;
+ height: var(--header-height);
padding-top: var(--s-space-12);
padding-right: var(--s-space-8);
padding-bottom: var(--s-space-12);
padding-left: var(--s-space-8);
align-items: center;
- border-bottom: var(--s-border-width-default) solid var(--s-border-default);
+ border-bottom: var(--s-border-width-default) solid transparent;
background-color: var(--s-background-default);
grid-area: header;
gap: var(--s-space-8);
@@ -393,13 +530,26 @@
grid-area: navigation;
}
+.app-layout__nav-overlay-toggle,
+.app-layout__nav-expansion-toggle {
+ display: none;
+
+ @media (--from-desktop) {
+ display: block;
+ }
+}
+
+.app-layout__nav-expansion-toggle {
+ padding-left: var(--s-space-16);
+}
+
.app-layout__body {
z-index: 2;
display: grid;
width: 100%;
height: 100%;
grid-area: body;
- grid-template-rows: minmax(3.5rem, auto) auto 1fr;
+ grid-template-rows: minmax(var(--header-height), auto) auto 1fr;
grid-template-areas:
"app-bar"
"banner"
@@ -409,10 +559,11 @@
.app-layout__app-bar {
--swirl-tab-bar-border-width: 0;
--swirl-tab-bar-height: 3.5rem;
+
display: flex;
min-width: 0;
align-items: center;
- border-bottom: var(--s-border-width-default) solid var(--s-border-default);
+ border-bottom: var(--s-border-width-default) solid transparent;
background-color: var(--s-background-default);
grid-area: app-bar;
gap: var(--s-space-8);
@@ -422,7 +573,6 @@
display: none;
min-width: 0;
align-items: center;
- border-top: var(--s-border-width-default) solid var(--s-border-default);
background-color: var(--s-background-default);
grid-area: bottom-bar;
}
@@ -471,7 +621,7 @@
height: 100%;
border-left: var(--s-border-width-default) solid var(--s-border-default);
grid-area: sidebar;
- grid-template-rows: 3.5625rem 1fr;
+ grid-template-rows: var(--header-height) 1fr;
grid-template-areas:
"sidebar-header"
"sidebar-content";
@@ -493,7 +643,7 @@
.app-layout__custom-sidebar-header {
display: none;
min-width: 0;
- border-bottom: var(--s-border-width-default) solid var(--s-border-default);
+ border-bottom: var(--s-border-width-default) solid transparent;
background-color: var(--s-background-default);
grid-area: sidebar-header;
}
@@ -506,7 +656,7 @@
padding-bottom: var(--s-space-12);
padding-left: var(--s-space-8);
align-items: center;
- border-bottom: var(--s-border-width-default) solid var(--s-border-default);
+ border-bottom: var(--s-border-width-default) solid transparent;
background-color: var(--s-background-default);
grid-area: sidebar-header;
gap: var(--s-space-8);
@@ -537,3 +687,23 @@
background-color: var(--s-background-default);
grid-area: sidebar-content;
}
+
+@keyframes app-layout-nav-overlay-slide-in-desktop {
+ from {
+ width: 0;
+ }
+
+ to {
+ width: 22.5rem;
+ }
+}
+
+@keyframes app-layout-nav-overlay-slide-in-large-desktop {
+ from {
+ width: 0;
+ }
+
+ to {
+ width: 25rem;
+ }
+}
diff --git a/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout-transitions.css b/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout-transitions.css
index 15fb31227..88900fbc9 100644
--- a/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout-transitions.css
+++ b/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout-transitions.css
@@ -334,6 +334,17 @@
}
}
+@keyframes app-layout-sidebar-slide-in-with-collapsed-nav {
+ from {
+ overflow: hidden;
+ grid-template-columns: 0 1fr 0;
+ }
+ to {
+ overflow: hidden;
+ grid-template-columns: 0 1fr 25rem;
+ }
+}
+
@keyframes app-layout-sidebar-slide-out {
from {
overflow: hidden;
@@ -345,6 +356,17 @@
}
}
+@keyframes app-layout-sidebar-slide-out-with-collapsed-nav {
+ from {
+ overflow: hidden;
+ grid-template-columns: 0 1fr 25rem;
+ }
+ to {
+ overflow: hidden;
+ grid-template-columns: 0 1fr 0;
+ }
+}
+
@keyframes app-layout-no-nav-sidebar-slide-in {
from {
overflow: hidden;
diff --git a/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout.spec.tsx b/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout.spec.tsx
index 1f208d7f6..beec4ccb9 100644
--- a/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout.spec.tsx
+++ b/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout.spec.tsx
@@ -182,45 +182,4 @@ describe("swirl-app-layout", () => {
expect(spy.mock.calls[0][0].detail).toBe("body");
expect(spy.mock.calls[1][0].detail).toBe("sidebar");
});
-
- it("toggles the sidebar", async () => {
- const page = await newSpecPage({
- components: [SwirlAppLayout],
- html: `
-
- Sidebar
-
- `,
- });
-
- const container = page.root.shadowRoot.children[0];
- const spy = jest.fn();
-
- page.root.addEventListener("sidebarToggle", spy);
-
- expect(
- container.classList.contains("app-layout--sidebar-active")
- ).toBeFalsy();
-
- await (page.root as HTMLSwirlAppLayoutElement).toggleSidebar();
- await page.waitForChanges();
-
- expect(
- container.classList.contains("app-layout--sidebar-active")
- ).toBeTruthy();
-
- await (page.root as HTMLSwirlAppLayoutElement).toggleSidebar();
-
- // wait for animation
- await new Promise((resolve) => setTimeout(resolve, 300));
-
- await page.waitForChanges();
-
- expect(
- container.classList.contains("app-layout--sidebar-active")
- ).toBeFalsy();
-
- expect(spy.mock.calls[0][0].detail).toBe(true);
- expect(spy.mock.calls[1][0].detail).toBe(false);
- });
});
diff --git a/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout.tsx b/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout.tsx
index ce9556e34..6704f6a8e 100644
--- a/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout.tsx
+++ b/packages/swirl-components/src/components/swirl-app-layout/swirl-app-layout.tsx
@@ -5,18 +5,32 @@ import {
EventEmitter,
h,
Host,
+ Listen,
Method,
Prop,
State,
Watch,
} from "@stencil/core";
import classnames from "classnames";
-import { isMobileViewport, prefersReducedMotion } from "../../utils";
+import {
+ debounce,
+ getDesktopMediaQuery,
+ isMobileViewport,
+ prefersReducedMotion,
+} from "../../utils";
export type SwirlAppLayoutMobileView = "navigation" | "body" | "sidebar";
+export type SwirlAppLayoutNavigationExpansionState =
+ | "expanded"
+ | "collapsed"
+ | "overlayed";
+
export type SwirlAppLayoutTransitionStyle = "none" | "slides" | "dialog";
+const SWIRL_APP_LAYOUT_NAV_EXPANSION_STATE_STORAGE_KEY =
+ "SWIRL_APP_LAYOUT_NAV_EXPANSION_STATE";
+
/**
* @slot content - Main content area
* @slot navigation - The navigation area content
@@ -41,32 +55,62 @@ export class SwirlAppLayout {
@Prop() appName!: string;
@Prop() backToNavigationViewButtonLabel?: string = "Back to navigation";
+ @Prop() collapsibleNavigation?: boolean;
@Prop() ctaIcon?: string;
@Prop() ctaLabel?: string;
@Prop({ mutable: true }) hasNavigation: boolean;
@Prop() hideAppBar?: boolean;
@Prop() navigationBackButtonLabel?: string = "Go back";
+ @Prop() navigationExpansionStateStorageKey?: string =
+ SWIRL_APP_LAYOUT_NAV_EXPANSION_STATE_STORAGE_KEY;
+ @Prop() navigationToggleLabel?: string = "Toggle navigation";
+ @Prop() navigationOverlayLabel?: string = "Show navigation";
@Prop() navigationLabel?: string;
@Prop() showNavigationBackButton?: boolean;
@Prop() sidebarCloseButtonLabel?: string = "Close sidebar";
@Prop() sidebarHeading?: string;
@Prop() transitionStyle?: string = "slides";
+ @State() contentScrollState = {
+ scrollable: false,
+ scrolledToTop: false,
+ scrolledToBottom: false,
+ };
@State() hasCustomAppBarBackButton: boolean;
@State() hasSidebar: boolean;
+ @State() isDesktop: boolean;
@State() mobileView: SwirlAppLayoutMobileView = "navigation";
+ @State() navScrollState = {
+ scrollable: false,
+ scrolledToTop: false,
+ };
+ @State() navExpansionState: SwirlAppLayoutNavigationExpansionState =
+ "expanded";
@State() sidebarActive: boolean;
@State() sidebarClosing: boolean;
+ @State() sidebarOpening: boolean;
+ @State() sidebarScrollState = {
+ scrollable: false,
+ scrolledToTop: false,
+ };
@State() transitioningFrom: string;
@State() transitioningTo: string;
@Event() ctaClick: EventEmitter;
@Event() mobileViewChange: EventEmitter;
@Event() navigationBackButtonClick: EventEmitter;
+ @Event()
+ navigationExpansionStateChange: EventEmitter;
@Event() sidebarToggle: EventEmitter;
+ private contentEl: HTMLElement;
+ private desktopMediaQuery: MediaQueryList = getDesktopMediaQuery();
+ private headerEl: HTMLElement;
private mutationObserver: MutationObserver;
+ private navEl: HTMLElement;
private sidebarClosingTimeout: NodeJS.Timeout;
+ private sidebarOpeningTimeout: NodeJS.Timeout;
+ private sidebarEl: HTMLElement;
private transitionTimeout: NodeJS.Timeout;
componentWillLoad() {
@@ -86,10 +130,50 @@ export class SwirlAppLayout {
});
}
+ componentDidLoad() {
+ this.desktopMediaQuery.onchange = this.desktopMediaQueryHandler;
+
+ queueMicrotask(() => {
+ this.isDesktop = this.desktopMediaQuery.matches;
+
+ this.restoreNavExpansionState();
+ this.updateContentScrollState();
+ this.updateSidebarScrollState();
+ this.updateNavScrollState();
+ });
+ }
+
disconnectedCallback() {
+ this.desktopMediaQuery.removeEventListener?.(
+ "change",
+ this.desktopMediaQueryHandler
+ );
+
this.mutationObserver?.disconnect();
}
+ @Listen("click", { target: "document" })
+ onDocumentClick(event: MouseEvent) {
+ if (!this.collapsibleNavigation || this.navExpansionState !== "overlayed") {
+ return;
+ }
+
+ const clickedInsideOfOverlayedNav =
+ event.composedPath().includes(this.navEl) ||
+ event.composedPath().includes(this.headerEl);
+
+ if (!clickedInsideOfOverlayedNav) {
+ this.setCollapsibleNavigationState("collapsed");
+ }
+ }
+
+ @Listen("keydown")
+ onKeyDown(event: KeyboardEvent) {
+ if (event.key === "Escape" && this.navExpansionState === "overlayed") {
+ this.setCollapsibleNavigationState("collapsed");
+ }
+ }
+
@Watch("mobileView")
watchMobileView() {
this.checkMobileView();
@@ -104,10 +188,21 @@ export class SwirlAppLayout {
return;
}
- this.sidebarActive = true;
- this.changeMobileView("sidebar");
+ if (Boolean(this.sidebarOpeningTimeout)) {
+ clearTimeout(this.sidebarOpeningTimeout);
+ }
+
+ this.sidebarOpening = true;
+
+ const delay = isMobileViewport() || prefersReducedMotion() ? 0 : 300;
+
+ this.sidebarOpeningTimeout = setTimeout(() => {
+ this.sidebarActive = true;
+ this.sidebarOpening = false;
- this.sidebarToggle.emit(true);
+ this.changeMobileView("sidebar");
+ this.sidebarToggle.emit(true);
+ }, delay);
}
/**
@@ -152,6 +247,35 @@ export class SwirlAppLayout {
}
}
+ /**
+ * Get state of the collapsible navigation
+ */
+ @Method()
+ async getCollapsibleNavigationState() {
+ return this.navExpansionState;
+ }
+
+ /**
+ * Set state of the collapsible navigation
+ */
+ @Method()
+ async setCollapsibleNavigationState(
+ state: SwirlAppLayoutNavigationExpansionState
+ ) {
+ if (!this.collapsibleNavigation) {
+ return;
+ }
+
+ this.navExpansionState = state;
+
+ this.navigationExpansionStateChange.emit(this.navExpansionState);
+
+ localStorage.setItem(
+ this.navigationExpansionStateStorageKey,
+ this.navExpansionState
+ );
+ }
+
/**
* Change the currently displayed view on mobile viewports
* @param mobileView
@@ -203,6 +327,10 @@ export class SwirlAppLayout {
}, delay);
}
+ private desktopMediaQueryHandler = (event: MediaQueryListEvent) => {
+ this.isDesktop = event.matches;
+ };
+
private checkMobileView() {
if (
(this.mobileView === "navigation" && !this.hasNavigation) ||
@@ -255,6 +383,96 @@ export class SwirlAppLayout {
this.hideSidebar();
};
+ private updateContentScrollState() {
+ const newContentScrollState = {
+ scrollable: this.contentEl.scrollHeight > this.contentEl.clientHeight,
+ scrolledToTop: this.contentEl.scrollTop === 0,
+ scrolledToBottom:
+ Math.round(this.contentEl.scrollTop + this.contentEl.clientHeight) >=
+ this.contentEl.scrollHeight,
+ };
+
+ if (
+ Object.keys(newContentScrollState).some(
+ (key) => newContentScrollState[key] !== this.contentScrollState[key]
+ )
+ ) {
+ this.contentScrollState = newContentScrollState;
+ }
+ }
+
+ private onContentScroll = debounce(() => {
+ this.updateContentScrollState();
+ }, 16);
+
+ private updateNavScrollState() {
+ const newNavScrollState = {
+ scrollable: this.navEl.scrollHeight > this.navEl.clientHeight,
+ scrolledToTop: this.navEl.scrollTop === 0,
+ };
+
+ if (
+ Object.keys(newNavScrollState).some(
+ (key) => newNavScrollState[key] !== this.navScrollState[key]
+ )
+ ) {
+ this.navScrollState = newNavScrollState;
+ }
+ }
+
+ private onNavScroll = debounce(() => {
+ this.updateNavScrollState();
+ }, 16);
+
+ private updateSidebarScrollState() {
+ const newSidebarScrollState = {
+ scrollable: this.sidebarEl.scrollHeight > this.sidebarEl.clientHeight,
+ scrolledToTop: this.sidebarEl.scrollTop === 0,
+ };
+
+ if (
+ Object.keys(newSidebarScrollState).some(
+ (key) => newSidebarScrollState[key] !== this.sidebarScrollState[key]
+ )
+ ) {
+ this.sidebarScrollState = newSidebarScrollState;
+ }
+ }
+
+ private onSidebarScroll = debounce(() => {
+ this.updateSidebarScrollState();
+ }, 16);
+
+ private toggleNavigation = () => {
+ if (!this.collapsibleNavigation) {
+ return;
+ }
+
+ const newNavExpansionState =
+ this.navExpansionState === "expanded" ? "collapsed" : "expanded";
+
+ this.setCollapsibleNavigationState(newNavExpansionState);
+ };
+
+ private overlayNavigation = (event: MouseEvent) => {
+ event.stopPropagation();
+ this.setCollapsibleNavigationState("overlayed");
+ };
+
+ private restoreNavExpansionState() {
+ if (!this.collapsibleNavigation) {
+ return;
+ }
+
+ const restoredNavExpansionState = localStorage.getItem(
+ this.navigationExpansionStateStorageKey
+ ) as SwirlAppLayoutNavigationExpansionState | undefined;
+
+ if (Boolean(restoredNavExpansionState)) {
+ this.setCollapsibleNavigationState(restoredNavExpansionState);
+ }
+ }
+
render() {
const showBackToNavigationButton =
(this.mobileView === "body" || this.transitioningTo) &&
@@ -279,13 +497,25 @@ export class SwirlAppLayout {
Boolean(this.el.querySelector('[slot="floating-action-button"]')) ||
Boolean(this.ctaLabel);
+ const navigationActive =
+ this.hasNavigation &&
+ (!this.collapsibleNavigation ||
+ this.navExpansionState !== "collapsed" ||
+ !this.isDesktop);
+
const className = classnames(
"app-layout",
`app-layout--mobile-view-${this.mobileView}`,
+ `app-layout--nav-${this.isDesktop ? this.navExpansionState : "expanded"}`,
`app-layout--transitioning-from-${this.transitioningFrom}`,
`app-layout--transitioning-to-${this.transitioningTo}`,
`app-layout--transition-style-${this.transitionStyle}`,
{
+ "app-layout--content-scrollable": this.contentScrollState.scrollable,
+ "app-layout--content-scrolled-to-top":
+ this.contentScrollState.scrolledToTop,
+ "app-layout--content-scrolled-to-bottom":
+ this.contentScrollState.scrolledToBottom,
"app-layout--has-app-bar-mobile-menu-button": hasAppBarMobileMenuButton,
"app-layout--has-app-bar-controls": hasAppBarControls,
"app-layout--has-bottom-bar": hasBottomBar,
@@ -296,9 +526,17 @@ export class SwirlAppLayout {
"app-layout--has-navigation": this.hasNavigation,
"app-layout--has-sidebar": this.hasSidebar,
"app-layout--hide-app-bar": this.hideAppBar,
+ "app-layout--nav-collapsible":
+ this.collapsibleNavigation && this.isDesktop,
+ "app-layout--nav-scrollable": this.navScrollState.scrollable,
+ "app-layout--nav-scrolled-to-top": this.navScrollState.scrolledToTop,
"app-layout--sidebar-active":
this.mobileView === "sidebar" || this.sidebarActive,
"app-layout--sidebar-closing": this.sidebarClosing,
+ "app-layout--sidebar-opening": this.sidebarOpening,
+ "app-layout--sidebar-scrollable": this.sidebarScrollState.scrollable,
+ "app-layout--sidebar-scrolled-to-top":
+ this.sidebarScrollState.scrolledToTop,
}
);
@@ -306,10 +544,27 @@ export class SwirlAppLayout {