@scrabble-solver/scrabble-solver 2.9.3 → 2.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +11 -11
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/eslint/.cache_8dgz12 +1 -1
  5. package/.next/cache/next-server.js.nft.json +1 -1
  6. package/.next/cache/webpack/client-production/0.pack +0 -0
  7. package/.next/cache/webpack/client-production/index.pack +0 -0
  8. package/.next/cache/webpack/edge-server-production/0.pack +0 -0
  9. package/.next/cache/webpack/edge-server-production/index.pack +0 -0
  10. package/.next/cache/webpack/server-production/0.pack +0 -0
  11. package/.next/cache/webpack/server-production/index.pack +0 -0
  12. package/.next/next-server.js.nft.json +1 -1
  13. package/.next/prerender-manifest.json +1 -1
  14. package/.next/routes-manifest.json +1 -1
  15. package/.next/server/chunks/{429.js → 131.js} +2 -3652
  16. package/.next/server/chunks/413.js +399 -199
  17. package/.next/server/chunks/44.js +71 -45
  18. package/.next/server/chunks/515.js +1114 -542
  19. package/.next/server/chunks/911.js +96 -2
  20. package/.next/server/chunks/939.js +1 -0
  21. package/.next/server/middleware-build-manifest.js +1 -1
  22. package/.next/server/pages/404.html +2 -2
  23. package/.next/server/pages/404.js.nft.json +1 -1
  24. package/.next/server/pages/500.html +2 -2
  25. package/.next/server/pages/_app.js.nft.json +1 -1
  26. package/.next/server/pages/api/dictionary/[locale]/[word].js +49 -11
  27. package/.next/server/pages/api/dictionary/[locale]/[word].js.nft.json +1 -1
  28. package/.next/server/pages/api/dictionary/[locale].js +1 -8
  29. package/.next/server/pages/api/dictionary/[locale].js.nft.json +1 -1
  30. package/.next/server/pages/api/solve.js +67 -57
  31. package/.next/server/pages/api/solve.js.nft.json +1 -1
  32. package/.next/server/pages/api/verify.js +2 -9
  33. package/.next/server/pages/api/verify.js.nft.json +1 -1
  34. package/.next/server/pages/index.html +9 -1
  35. package/.next/server/pages/index.js +43 -36
  36. package/.next/server/pages/index.js.nft.json +1 -1
  37. package/.next/server/pages/index.json +1 -1
  38. package/.next/server/pages-manifest.json +1 -1
  39. package/.next/static/chunks/368-8b386c3106556f62.js +1 -0
  40. package/.next/static/chunks/pages/{404-8650986dc56dab75.js → 404-932294135c3206dd.js} +1 -1
  41. package/.next/static/chunks/pages/_app-8f0df20f771045ed.js +1 -0
  42. package/.next/static/chunks/pages/index-8af7a9d7a2cd98a7.js +1 -0
  43. package/.next/static/css/6b1833fd19d3a74a.css +1 -0
  44. package/.next/static/css/a6154e4ca046ca13.css +1 -0
  45. package/.next/static/css/bad53af6f8616677.css +1 -0
  46. package/.next/static/hf94cues-LcXZRCpAzQ6w/_buildManifest.js +1 -0
  47. package/.next/static/{s5pE_3C3ebZuSfaqE7xat → hf94cues-LcXZRCpAzQ6w}/_ssgManifest.js +0 -0
  48. package/.next/trace +52 -52
  49. package/package.json +9 -9
  50. package/src/components/Board/components/Cell/Cell.module.scss +45 -9
  51. package/src/components/Board/hooks/useGrid.ts +6 -4
  52. package/src/components/Dictionary/Dictionary.module.scss +8 -1
  53. package/src/components/EmptyState/EmptyState.tsx +6 -2
  54. package/src/components/Loading/Loading.tsx +13 -2
  55. package/src/components/NavButtons/NavButtons.module.scss +8 -7
  56. package/src/components/NavButtons/NavButtons.tsx +35 -28
  57. package/src/components/PlainTiles/PlainTiles.tsx +7 -1
  58. package/src/components/PlainTiles/Tile.tsx +4 -3
  59. package/src/components/Rack/Rack.tsx +18 -4
  60. package/src/components/Radio/Radio.module.scss +1 -1
  61. package/src/components/RemainingTiles/Character.tsx +7 -2
  62. package/src/components/RemainingTiles/RemainingTiles.tsx +28 -20
  63. package/src/components/Results/Cell.tsx +5 -3
  64. package/src/components/Results/Result.tsx +8 -3
  65. package/src/components/Results/Results.module.scss +31 -9
  66. package/src/components/Results/Results.tsx +8 -4
  67. package/src/components/Results/getColumns.ts +58 -0
  68. package/src/components/Settings/components/AutoGroupTilesSetting/AutoGroupTilesSetting.tsx +2 -2
  69. package/src/components/Settings/components/ConfigSetting/ConfigSetting.module.scss +1 -0
  70. package/src/components/Settings/components/LocaleSetting/LocaleSetting.module.scss +12 -1
  71. package/src/components/Settings/components/LocaleSetting/LocaleSetting.tsx +1 -1
  72. package/src/components/Settings/components/LocaleSetting/options.ts +16 -2
  73. package/src/components/Sidebar/Sidebar.module.scss +42 -8
  74. package/src/components/SvgFontCss/SvgFontCss.tsx +8 -7
  75. package/src/components/SvgFontCss/createCss.ts +11 -0
  76. package/src/components/SvgFontCss/createStyle.ts +9 -0
  77. package/src/components/SvgFontCss/createSvg.ts +10 -0
  78. package/src/components/SvgFontFix/SvgFontFix.module.scss +5 -0
  79. package/src/components/SvgFontFix/SvgFontFix.tsx +21 -0
  80. package/src/components/SvgFontFix/index.ts +1 -0
  81. package/src/components/Tile/Tile.module.scss +10 -2
  82. package/src/components/Tile/Tile.tsx +4 -0
  83. package/src/components/Tile/TilePure.tsx +3 -1
  84. package/src/components/Words/Words.tsx +4 -3
  85. package/src/components/index.ts +1 -0
  86. package/src/hooks/index.ts +2 -0
  87. package/src/hooks/useDirection.ts +22 -0
  88. package/src/hooks/useLanguage.ts +22 -0
  89. package/src/i18n/constants.ts +53 -0
  90. package/src/i18n/fa.json +56 -0
  91. package/src/i18n/fr.json +1 -1
  92. package/src/i18n/i18n.ts +22 -0
  93. package/src/i18n/index.ts +2 -20
  94. package/src/icons/FlagFa.svg +95 -0
  95. package/src/icons/index.ts +1 -0
  96. package/src/lib/createComparator.ts +22 -0
  97. package/src/lib/createKeyComparator.ts +4 -2
  98. package/src/lib/createStringComparator.ts +5 -0
  99. package/src/lib/detectLocale.ts +4 -0
  100. package/src/lib/getRemainingTiles.ts +4 -2
  101. package/src/lib/getRemainingTilesGroups.ts +54 -31
  102. package/src/lib/index.ts +2 -2
  103. package/src/lib/sortResults.ts +11 -9
  104. package/src/lib/unorderedArraysEqual.ts +3 -2
  105. package/src/pages/api/verify.ts +1 -1
  106. package/src/pages/index.module.scss +7 -18
  107. package/src/pages/index.tsx +10 -2
  108. package/src/sdk/findWordDefinitions.ts +1 -1
  109. package/src/service-worker/routeVerifyRequests.ts +1 -1
  110. package/src/state/sagas.ts +19 -5
  111. package/src/state/selectors.ts +15 -7
  112. package/src/styles/global.scss +6 -1
  113. package/.next/static/chunks/880-18e3aea6915aebe7.js +0 -1
  114. package/.next/static/chunks/pages/_app-183f598b1d4d480b.js +0 -1
  115. package/.next/static/chunks/pages/index-f1cef1e67e14d022.js +0 -1
  116. package/.next/static/css/751e8a14776d05d8.css +0 -1
  117. package/.next/static/css/ad2a08918868cad8.css +0 -1
  118. package/.next/static/css/e8de67ad5ea35427.css +0 -1
  119. package/.next/static/s5pE_3C3ebZuSfaqE7xat/_buildManifest.js +0 -1
  120. package/src/components/Results/constants.ts +0 -42
  121. package/src/lib/comparator.ts +0 -16
  122. package/src/lib/stringComparator.ts +0 -5
package/.next/BUILD_ID CHANGED
@@ -1 +1 @@
1
- s5pE_3C3ebZuSfaqE7xat
1
+ hf94cues-LcXZRCpAzQ6w
@@ -5,8 +5,8 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/s5pE_3C3ebZuSfaqE7xat/_buildManifest.js",
9
- "static/s5pE_3C3ebZuSfaqE7xat/_ssgManifest.js"
8
+ "static/hf94cues-LcXZRCpAzQ6w/_buildManifest.js",
9
+ "static/hf94cues-LcXZRCpAzQ6w/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [],
12
12
  "pages": {
@@ -15,26 +15,26 @@
15
15
  "static/chunks/framework-4556c45dd113b893.js",
16
16
  "static/chunks/main-a75cf611e061d8f8.js",
17
17
  "static/chunks/546-447e243fc9de2c59.js",
18
- "static/css/e8de67ad5ea35427.css",
19
- "static/chunks/880-18e3aea6915aebe7.js",
20
- "static/css/751e8a14776d05d8.css",
21
- "static/chunks/pages/index-f1cef1e67e14d022.js"
18
+ "static/css/a6154e4ca046ca13.css",
19
+ "static/chunks/368-8b386c3106556f62.js",
20
+ "static/css/6b1833fd19d3a74a.css",
21
+ "static/chunks/pages/index-8af7a9d7a2cd98a7.js"
22
22
  ],
23
23
  "/404": [
24
24
  "static/chunks/webpack-5752944655d749a0.js",
25
25
  "static/chunks/framework-4556c45dd113b893.js",
26
26
  "static/chunks/main-a75cf611e061d8f8.js",
27
27
  "static/chunks/546-447e243fc9de2c59.js",
28
- "static/css/e8de67ad5ea35427.css",
29
- "static/chunks/880-18e3aea6915aebe7.js",
30
- "static/chunks/pages/404-8650986dc56dab75.js"
28
+ "static/css/a6154e4ca046ca13.css",
29
+ "static/chunks/368-8b386c3106556f62.js",
30
+ "static/chunks/pages/404-932294135c3206dd.js"
31
31
  ],
32
32
  "/_app": [
33
33
  "static/chunks/webpack-5752944655d749a0.js",
34
34
  "static/chunks/framework-4556c45dd113b893.js",
35
35
  "static/chunks/main-a75cf611e061d8f8.js",
36
- "static/css/ad2a08918868cad8.css",
37
- "static/chunks/pages/_app-183f598b1d4d480b.js"
36
+ "static/css/bad53af6f8616677.css",
37
+ "static/chunks/pages/_app-8f0df20f771045ed.js"
38
38
  ],
39
39
  "/_error": [
40
40
  "static/chunks/webpack-5752944655d749a0.js",