nsarrazin HF staff commited on
Commit
c97d5d1
1 Parent(s): e656737

Upgrade tailwindcss to version 3.4 (#664)

Browse files

* Upgrade tailwindcss to version 3.4

* lint

package-lock.json CHANGED
@@ -28,7 +28,7 @@
28
  "postcss": "^8.4.31",
29
  "serpapi": "^1.1.1",
30
  "tailwind-scrollbar": "^3.0.0",
31
- "tailwindcss": "^3.3.1",
32
  "zod": "^3.22.3"
33
  },
34
  "devDependencies": {
@@ -63,6 +63,17 @@
63
  "openai": "^4.14.2"
64
  }
65
  },
 
 
 
 
 
 
 
 
 
 
 
66
  "node_modules/@ampproject/remapping": {
67
  "version": "2.2.1",
68
  "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
@@ -2816,9 +2827,9 @@
2816
  "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="
2817
  },
2818
  "node_modules/fast-glob": {
2819
- "version": "3.2.12",
2820
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz",
2821
- "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==",
2822
  "dependencies": {
2823
  "@nodelib/fs.stat": "^2.0.2",
2824
  "@nodelib/fs.walk": "^1.2.3",
@@ -2992,9 +3003,12 @@
2992
  }
2993
  },
2994
  "node_modules/function-bind": {
2995
- "version": "1.1.1",
2996
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
2997
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
 
 
 
2998
  },
2999
  "node_modules/get-func-name": {
3000
  "version": "2.0.2",
@@ -3143,17 +3157,6 @@
3143
  "uglify-js": "^3.1.4"
3144
  }
3145
  },
3146
- "node_modules/has": {
3147
- "version": "1.0.3",
3148
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
3149
- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
3150
- "dependencies": {
3151
- "function-bind": "^1.1.1"
3152
- },
3153
- "engines": {
3154
- "node": ">= 0.4.0"
3155
- }
3156
- },
3157
  "node_modules/has-flag": {
3158
  "version": "4.0.0",
3159
  "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -3168,6 +3171,17 @@
3168
  "resolved": "https://registry.npmjs.org/hash-wasm/-/hash-wasm-4.9.0.tgz",
3169
  "integrity": "sha512-7SW7ejyfnRxuOc7ptQHSf4LDoZaWOivfzqw+5rpcQku0nHfmicPKE51ra9BiRLAmT8+gGLestr1XroUkqdjL6w=="
3170
  },
 
 
 
 
 
 
 
 
 
 
 
3171
  "node_modules/highlight.js": {
3172
  "version": "11.7.0",
3173
  "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.7.0.tgz",
@@ -3375,11 +3389,11 @@
3375
  }
3376
  },
3377
  "node_modules/is-core-module": {
3378
- "version": "2.11.0",
3379
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",
3380
- "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",
3381
  "dependencies": {
3382
- "has": "^1.0.3"
3383
  },
3384
  "funding": {
3385
  "url": "https://github.com/sponsors/ljharb"
@@ -3460,9 +3474,9 @@
3460
  "dev": true
3461
  },
3462
  "node_modules/jiti": {
3463
- "version": "1.18.2",
3464
- "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz",
3465
- "integrity": "sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==",
3466
  "bin": {
3467
  "jiti": "bin/jiti.js"
3468
  }
@@ -4602,16 +4616,16 @@
4602
  }
4603
  },
4604
  "node_modules/postcss-import": {
4605
- "version": "14.1.0",
4606
- "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz",
4607
- "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==",
4608
  "dependencies": {
4609
  "postcss-value-parser": "^4.0.0",
4610
  "read-cache": "^1.0.0",
4611
  "resolve": "^1.1.7"
4612
  },
4613
  "engines": {
4614
- "node": ">=10.0.0"
4615
  },
4616
  "peerDependencies": {
4617
  "postcss": "^8.0.0"
@@ -4639,6 +4653,7 @@
4639
  "version": "3.1.4",
4640
  "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz",
4641
  "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==",
 
4642
  "dependencies": {
4643
  "lilconfig": "^2.0.5",
4644
  "yaml": "^1.10.2"
@@ -4664,11 +4679,11 @@
4664
  }
4665
  },
4666
  "node_modules/postcss-nested": {
4667
- "version": "6.0.0",
4668
- "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.0.tgz",
4669
- "integrity": "sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==",
4670
  "dependencies": {
4671
- "postcss-selector-parser": "^6.0.10"
4672
  },
4673
  "engines": {
4674
  "node": ">=12.0"
@@ -5035,17 +5050,6 @@
5035
  "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz",
5036
  "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag=="
5037
  },
5038
- "node_modules/quick-lru": {
5039
- "version": "5.1.1",
5040
- "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",
5041
- "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==",
5042
- "engines": {
5043
- "node": ">=10"
5044
- },
5045
- "funding": {
5046
- "url": "https://github.com/sponsors/sindresorhus"
5047
- }
5048
- },
5049
  "node_modules/rc": {
5050
  "version": "1.2.8",
5051
  "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
@@ -5112,11 +5116,11 @@
5112
  "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="
5113
  },
5114
  "node_modules/resolve": {
5115
- "version": "1.22.1",
5116
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
5117
- "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
5118
  "dependencies": {
5119
- "is-core-module": "^2.9.0",
5120
  "path-parse": "^1.0.7",
5121
  "supports-preserve-symlinks-flag": "^1.0.0"
5122
  },
@@ -5866,44 +5870,89 @@
5866
  }
5867
  },
5868
  "node_modules/tailwindcss": {
5869
- "version": "3.3.1",
5870
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.1.tgz",
5871
- "integrity": "sha512-Vkiouc41d4CEq0ujXl6oiGFQ7bA3WEhUZdTgXAhtKxSy49OmKs8rEfQmupsfF0IGW8fv2iQkp1EVUuapCFrZ9g==",
5872
  "dependencies": {
 
5873
  "arg": "^5.0.2",
5874
  "chokidar": "^3.5.3",
5875
- "color-name": "^1.1.4",
5876
  "didyoumean": "^1.2.2",
5877
  "dlv": "^1.1.3",
5878
- "fast-glob": "^3.2.12",
5879
  "glob-parent": "^6.0.2",
5880
  "is-glob": "^4.0.3",
5881
- "jiti": "^1.17.2",
5882
- "lilconfig": "^2.0.6",
5883
  "micromatch": "^4.0.5",
5884
  "normalize-path": "^3.0.0",
5885
  "object-hash": "^3.0.0",
5886
  "picocolors": "^1.0.0",
5887
- "postcss": "^8.0.9",
5888
- "postcss-import": "^14.1.0",
5889
- "postcss-js": "^4.0.0",
5890
- "postcss-load-config": "^3.1.4",
5891
- "postcss-nested": "6.0.0",
5892
  "postcss-selector-parser": "^6.0.11",
5893
- "postcss-value-parser": "^4.2.0",
5894
- "quick-lru": "^5.1.1",
5895
- "resolve": "^1.22.1",
5896
- "sucrase": "^3.29.0"
5897
  },
5898
  "bin": {
5899
  "tailwind": "lib/cli.js",
5900
  "tailwindcss": "lib/cli.js"
5901
  },
5902
  "engines": {
5903
- "node": ">=12.13.0"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5904
  },
5905
  "peerDependencies": {
5906
- "postcss": "^8.0.9"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5907
  }
5908
  },
5909
  "node_modules/tar-fs": {
@@ -6665,6 +6714,7 @@
6665
  "version": "1.10.2",
6666
  "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
6667
  "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
 
6668
  "engines": {
6669
  "node": ">= 6"
6670
  }
 
28
  "postcss": "^8.4.31",
29
  "serpapi": "^1.1.1",
30
  "tailwind-scrollbar": "^3.0.0",
31
+ "tailwindcss": "^3.4.0",
32
  "zod": "^3.22.3"
33
  },
34
  "devDependencies": {
 
63
  "openai": "^4.14.2"
64
  }
65
  },
66
+ "node_modules/@alloc/quick-lru": {
67
+ "version": "5.2.0",
68
+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
69
+ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
70
+ "engines": {
71
+ "node": ">=10"
72
+ },
73
+ "funding": {
74
+ "url": "https://github.com/sponsors/sindresorhus"
75
+ }
76
+ },
77
  "node_modules/@ampproject/remapping": {
78
  "version": "2.2.1",
79
  "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
 
2827
  "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="
2828
  },
2829
  "node_modules/fast-glob": {
2830
+ "version": "3.3.2",
2831
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
2832
+ "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
2833
  "dependencies": {
2834
  "@nodelib/fs.stat": "^2.0.2",
2835
  "@nodelib/fs.walk": "^1.2.3",
 
3003
  }
3004
  },
3005
  "node_modules/function-bind": {
3006
+ "version": "1.1.2",
3007
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
3008
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
3009
+ "funding": {
3010
+ "url": "https://github.com/sponsors/ljharb"
3011
+ }
3012
  },
3013
  "node_modules/get-func-name": {
3014
  "version": "2.0.2",
 
3157
  "uglify-js": "^3.1.4"
3158
  }
3159
  },
 
 
 
 
 
 
 
 
 
 
 
3160
  "node_modules/has-flag": {
3161
  "version": "4.0.0",
3162
  "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
 
3171
  "resolved": "https://registry.npmjs.org/hash-wasm/-/hash-wasm-4.9.0.tgz",
3172
  "integrity": "sha512-7SW7ejyfnRxuOc7ptQHSf4LDoZaWOivfzqw+5rpcQku0nHfmicPKE51ra9BiRLAmT8+gGLestr1XroUkqdjL6w=="
3173
  },
3174
+ "node_modules/hasown": {
3175
+ "version": "2.0.0",
3176
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
3177
+ "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
3178
+ "dependencies": {
3179
+ "function-bind": "^1.1.2"
3180
+ },
3181
+ "engines": {
3182
+ "node": ">= 0.4"
3183
+ }
3184
+ },
3185
  "node_modules/highlight.js": {
3186
  "version": "11.7.0",
3187
  "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.7.0.tgz",
 
3389
  }
3390
  },
3391
  "node_modules/is-core-module": {
3392
+ "version": "2.13.1",
3393
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
3394
+ "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
3395
  "dependencies": {
3396
+ "hasown": "^2.0.0"
3397
  },
3398
  "funding": {
3399
  "url": "https://github.com/sponsors/ljharb"
 
3474
  "dev": true
3475
  },
3476
  "node_modules/jiti": {
3477
+ "version": "1.21.0",
3478
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz",
3479
+ "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==",
3480
  "bin": {
3481
  "jiti": "bin/jiti.js"
3482
  }
 
4616
  }
4617
  },
4618
  "node_modules/postcss-import": {
4619
+ "version": "15.1.0",
4620
+ "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",
4621
+ "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",
4622
  "dependencies": {
4623
  "postcss-value-parser": "^4.0.0",
4624
  "read-cache": "^1.0.0",
4625
  "resolve": "^1.1.7"
4626
  },
4627
  "engines": {
4628
+ "node": ">=14.0.0"
4629
  },
4630
  "peerDependencies": {
4631
  "postcss": "^8.0.0"
 
4653
  "version": "3.1.4",
4654
  "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz",
4655
  "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==",
4656
+ "dev": true,
4657
  "dependencies": {
4658
  "lilconfig": "^2.0.5",
4659
  "yaml": "^1.10.2"
 
4679
  }
4680
  },
4681
  "node_modules/postcss-nested": {
4682
+ "version": "6.0.1",
4683
+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz",
4684
+ "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==",
4685
  "dependencies": {
4686
+ "postcss-selector-parser": "^6.0.11"
4687
  },
4688
  "engines": {
4689
  "node": ">=12.0"
 
5050
  "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz",
5051
  "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag=="
5052
  },
 
 
 
 
 
 
 
 
 
 
 
5053
  "node_modules/rc": {
5054
  "version": "1.2.8",
5055
  "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
 
5116
  "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="
5117
  },
5118
  "node_modules/resolve": {
5119
+ "version": "1.22.8",
5120
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
5121
+ "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
5122
  "dependencies": {
5123
+ "is-core-module": "^2.13.0",
5124
  "path-parse": "^1.0.7",
5125
  "supports-preserve-symlinks-flag": "^1.0.0"
5126
  },
 
5870
  }
5871
  },
5872
  "node_modules/tailwindcss": {
5873
+ "version": "3.4.0",
5874
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.0.tgz",
5875
+ "integrity": "sha512-VigzymniH77knD1dryXbyxR+ePHihHociZbXnLZHUyzf2MMs2ZVqlUrZ3FvpXP8pno9JzmILt1sZPD19M3IxtA==",
5876
  "dependencies": {
5877
+ "@alloc/quick-lru": "^5.2.0",
5878
  "arg": "^5.0.2",
5879
  "chokidar": "^3.5.3",
 
5880
  "didyoumean": "^1.2.2",
5881
  "dlv": "^1.1.3",
5882
+ "fast-glob": "^3.3.0",
5883
  "glob-parent": "^6.0.2",
5884
  "is-glob": "^4.0.3",
5885
+ "jiti": "^1.19.1",
5886
+ "lilconfig": "^2.1.0",
5887
  "micromatch": "^4.0.5",
5888
  "normalize-path": "^3.0.0",
5889
  "object-hash": "^3.0.0",
5890
  "picocolors": "^1.0.0",
5891
+ "postcss": "^8.4.23",
5892
+ "postcss-import": "^15.1.0",
5893
+ "postcss-js": "^4.0.1",
5894
+ "postcss-load-config": "^4.0.1",
5895
+ "postcss-nested": "^6.0.1",
5896
  "postcss-selector-parser": "^6.0.11",
5897
+ "resolve": "^1.22.2",
5898
+ "sucrase": "^3.32.0"
 
 
5899
  },
5900
  "bin": {
5901
  "tailwind": "lib/cli.js",
5902
  "tailwindcss": "lib/cli.js"
5903
  },
5904
  "engines": {
5905
+ "node": ">=14.0.0"
5906
+ }
5907
+ },
5908
+ "node_modules/tailwindcss/node_modules/postcss-load-config": {
5909
+ "version": "4.0.2",
5910
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz",
5911
+ "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==",
5912
+ "funding": [
5913
+ {
5914
+ "type": "opencollective",
5915
+ "url": "https://opencollective.com/postcss/"
5916
+ },
5917
+ {
5918
+ "type": "github",
5919
+ "url": "https://github.com/sponsors/ai"
5920
+ }
5921
+ ],
5922
+ "dependencies": {
5923
+ "lilconfig": "^3.0.0",
5924
+ "yaml": "^2.3.4"
5925
+ },
5926
+ "engines": {
5927
+ "node": ">= 14"
5928
  },
5929
  "peerDependencies": {
5930
+ "postcss": ">=8.0.9",
5931
+ "ts-node": ">=9.0.0"
5932
+ },
5933
+ "peerDependenciesMeta": {
5934
+ "postcss": {
5935
+ "optional": true
5936
+ },
5937
+ "ts-node": {
5938
+ "optional": true
5939
+ }
5940
+ }
5941
+ },
5942
+ "node_modules/tailwindcss/node_modules/postcss-load-config/node_modules/lilconfig": {
5943
+ "version": "3.0.0",
5944
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz",
5945
+ "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==",
5946
+ "engines": {
5947
+ "node": ">=14"
5948
+ }
5949
+ },
5950
+ "node_modules/tailwindcss/node_modules/yaml": {
5951
+ "version": "2.3.4",
5952
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz",
5953
+ "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==",
5954
+ "engines": {
5955
+ "node": ">= 14"
5956
  }
5957
  },
5958
  "node_modules/tar-fs": {
 
6714
  "version": "1.10.2",
6715
  "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
6716
  "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
6717
+ "dev": true,
6718
  "engines": {
6719
  "node": ">= 6"
6720
  }
package.json CHANGED
@@ -64,7 +64,7 @@
64
  "postcss": "^8.4.31",
65
  "serpapi": "^1.1.1",
66
  "tailwind-scrollbar": "^3.0.0",
67
- "tailwindcss": "^3.3.1",
68
  "zod": "^3.22.3"
69
  },
70
  "optionalDependencies": {
 
64
  "postcss": "^8.4.31",
65
  "serpapi": "^1.1.1",
66
  "tailwind-scrollbar": "^3.0.0",
67
+ "tailwindcss": "^3.4.0",
68
  "zod": "^3.22.3"
69
  },
70
  "optionalDependencies": {
src/lib/components/MobileNav.svelte CHANGED
@@ -30,7 +30,7 @@
30
  </script>
31
 
32
  <nav
33
- class="flex h-12 items-center justify-between border-b bg-gray-50 px-4 dark:border-gray-800 dark:bg-gray-800/70 md:hidden"
34
  >
35
  <button
36
  type="button"
 
30
  </script>
31
 
32
  <nav
33
+ class="flex h-12 items-center justify-between border-b bg-gray-50 px-4 md:hidden dark:border-gray-800 dark:bg-gray-800/70"
34
  >
35
  <button
36
  type="button"
src/lib/components/NavMenu.svelte CHANGED
@@ -61,7 +61,7 @@
61
  </a>
62
  </div>
63
  <div
64
- class="scrollbar-custom flex flex-col gap-1 overflow-y-auto rounded-r-xl from-gray-50 px-3 pb-3 pt-2 dark:from-gray-800/30 max-sm:bg-gradient-to-t md:bg-gradient-to-l"
65
  >
66
  {#each Object.entries(groupedConversations) as [group, convs]}
67
  {#if convs.length}
@@ -89,7 +89,7 @@
89
  >
90
  <button
91
  type="submit"
92
- class="ml-auto h-6 flex-none items-center gap-1.5 rounded-md border bg-white px-2 text-gray-700 shadow-sm group-hover:flex hover:shadow-none dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400 dark:hover:text-gray-300 md:hidden"
93
  >
94
  Sign Out
95
  </button>
 
61
  </a>
62
  </div>
63
  <div
64
+ class="scrollbar-custom flex flex-col gap-1 overflow-y-auto rounded-r-xl from-gray-50 px-3 pb-3 pt-2 max-sm:bg-gradient-to-t md:bg-gradient-to-l dark:from-gray-800/30"
65
  >
66
  {#each Object.entries(groupedConversations) as [group, convs]}
67
  {#if convs.length}
 
89
  >
90
  <button
91
  type="submit"
92
+ class="ml-auto h-6 flex-none items-center gap-1.5 rounded-md border bg-white px-2 text-gray-700 shadow-sm group-hover:flex hover:shadow-none md:hidden dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400 dark:hover:text-gray-300"
93
  >
94
  Sign Out
95
  </button>
src/lib/components/chat/ChatIntroduction.svelte CHANGED
@@ -78,7 +78,7 @@
78
  {#each currentModelMetadata.promptExamples as example}
79
  <button
80
  type="button"
81
- class="rounded-xl border bg-gray-50 p-2.5 text-gray-600 hover:bg-gray-100 dark:border-gray-800 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700 sm:p-4"
82
  on:click={() => dispatch("message", example.prompt)}
83
  >
84
  {example.title}
 
78
  {#each currentModelMetadata.promptExamples as example}
79
  <button
80
  type="button"
81
+ class="rounded-xl border bg-gray-50 p-2.5 text-gray-600 hover:bg-gray-100 sm:p-4 dark:border-gray-800 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700"
82
  on:click={() => dispatch("message", example.prompt)}
83
  >
84
  {example.title}
src/lib/components/chat/ChatMessage.svelte CHANGED
@@ -158,7 +158,7 @@
158
  {/if}
159
 
160
  <div
161
- class="prose max-w-none dark:prose-invert max-sm:prose-sm prose-headings:font-semibold prose-h1:text-lg prose-h2:text-base prose-h3:text-base prose-pre:bg-gray-800 dark:prose-pre:bg-gray-900"
162
  bind:this={contentEl}
163
  >
164
  {#each tokens as token}
@@ -266,7 +266,7 @@
266
  <div class="absolute right-0 top-3.5 flex gap-2 lg:-right-2">
267
  {#if downloadLink}
268
  <a
269
- class="rounded-lg border border-gray-100 p-1 text-xs text-gray-400 group-hover:block hover:text-gray-500 dark:border-gray-800 dark:text-gray-400 dark:hover:text-gray-300 md:hidden"
270
  title="Download prompt and parameters"
271
  type="button"
272
  target="_blank"
@@ -277,7 +277,7 @@
277
  {/if}
278
  {#if !readOnly}
279
  <button
280
- class="cursor-pointer rounded-lg border border-gray-100 p-1 text-xs text-gray-400 group-hover:block hover:text-gray-500 dark:border-gray-800 dark:text-gray-400 dark:hover:text-gray-300 md:hidden lg:-right-2"
281
  title="Retry"
282
  type="button"
283
  on:click={() => dispatch("retry", { content: message.content, id: message.id })}
 
158
  {/if}
159
 
160
  <div
161
+ class="prose max-w-none max-sm:prose-sm dark:prose-invert prose-headings:font-semibold prose-h1:text-lg prose-h2:text-base prose-h3:text-base prose-pre:bg-gray-800 dark:prose-pre:bg-gray-900"
162
  bind:this={contentEl}
163
  >
164
  {#each tokens as token}
 
266
  <div class="absolute right-0 top-3.5 flex gap-2 lg:-right-2">
267
  {#if downloadLink}
268
  <a
269
+ class="rounded-lg border border-gray-100 p-1 text-xs text-gray-400 group-hover:block hover:text-gray-500 md:hidden dark:border-gray-800 dark:text-gray-400 dark:hover:text-gray-300"
270
  title="Download prompt and parameters"
271
  type="button"
272
  target="_blank"
 
277
  {/if}
278
  {#if !readOnly}
279
  <button
280
+ class="cursor-pointer rounded-lg border border-gray-100 p-1 text-xs text-gray-400 group-hover:block hover:text-gray-500 md:hidden lg:-right-2 dark:border-gray-800 dark:text-gray-400 dark:hover:text-gray-300"
281
  title="Retry"
282
  type="button"
283
  on:click={() => dispatch("retry", { content: message.content, id: message.id })}
src/lib/components/chat/ChatWindow.svelte CHANGED
@@ -109,7 +109,7 @@
109
  />
110
 
111
  <div
112
- class="dark:via-gray-80 pointer-events-none absolute inset-x-0 bottom-0 z-0 mx-auto flex w-full max-w-3xl flex-col items-center justify-center bg-gradient-to-t from-white via-white/80 to-white/0 px-3.5 py-4 dark:border-gray-800 dark:from-gray-900 dark:to-gray-900/0 max-md:border-t max-md:bg-white max-md:dark:bg-gray-900 sm:px-5 md:py-8 xl:max-w-4xl [&>*]:pointer-events-auto"
113
  >
114
  {#if sources.length}
115
  <div class="flex flex-row flex-wrap justify-center gap-2.5 max-md:pb-3">
@@ -190,13 +190,13 @@
190
 
191
  {#if loading}
192
  <button
193
- class="btn mx-1 my-1 inline-block h-[2.4rem] self-end rounded-lg bg-transparent p-1 px-[0.7rem] text-gray-400 disabled:opacity-60 enabled:hover:text-gray-700 dark:disabled:opacity-40 enabled:dark:hover:text-gray-100 md:hidden"
194
  on:click={() => dispatch("stop")}
195
  >
196
  <CarbonStopFilledAlt />
197
  </button>
198
  <div
199
- class="mx-1 my-1 hidden h-[2.4rem] items-center p-1 px-[0.7rem] text-gray-400 disabled:opacity-60 enabled:hover:text-gray-700 dark:disabled:opacity-40 enabled:dark:hover:text-gray-100 md:flex"
200
  >
201
  <EosIconsLoading />
202
  </div>
 
109
  />
110
 
111
  <div
112
+ class="dark:via-gray-80 pointer-events-none absolute inset-x-0 bottom-0 z-0 mx-auto flex w-full max-w-3xl flex-col items-center justify-center bg-gradient-to-t from-white via-white/80 to-white/0 px-3.5 py-4 max-md:border-t max-md:bg-white sm:px-5 md:py-8 xl:max-w-4xl dark:border-gray-800 dark:from-gray-900 dark:to-gray-900/0 max-md:dark:bg-gray-900 [&>*]:pointer-events-auto"
113
  >
114
  {#if sources.length}
115
  <div class="flex flex-row flex-wrap justify-center gap-2.5 max-md:pb-3">
 
190
 
191
  {#if loading}
192
  <button
193
+ class="btn mx-1 my-1 inline-block h-[2.4rem] self-end rounded-lg bg-transparent p-1 px-[0.7rem] text-gray-400 disabled:opacity-60 enabled:hover:text-gray-700 md:hidden dark:disabled:opacity-40 enabled:dark:hover:text-gray-100"
194
  on:click={() => dispatch("stop")}
195
  >
196
  <CarbonStopFilledAlt />
197
  </button>
198
  <div
199
+ class="mx-1 my-1 hidden h-[2.4rem] items-center p-1 px-[0.7rem] text-gray-400 disabled:opacity-60 enabled:hover:text-gray-700 md:flex dark:disabled:opacity-40 enabled:dark:hover:text-gray-100"
200
  >
201
  <EosIconsLoading />
202
  </div>
src/routes/+layout.svelte CHANGED
@@ -148,7 +148,7 @@
148
  </svelte:head>
149
 
150
  <div
151
- class="grid h-full w-screen grid-cols-1 grid-rows-[auto,1fr] overflow-hidden text-smd dark:text-gray-300 md:grid-cols-[280px,1fr] md:grid-rows-[1fr]"
152
  >
153
  <MobileNav
154
  isOpen={isNavOpen}
 
148
  </svelte:head>
149
 
150
  <div
151
+ class="grid h-full w-screen grid-cols-1 grid-rows-[auto,1fr] overflow-hidden text-smd md:grid-cols-[280px,1fr] md:grid-rows-[1fr] dark:text-gray-300"
152
  >
153
  <MobileNav
154
  isOpen={isNavOpen}