@scrabble-solver/scrabble-solver 2.14.0 → 2.15.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 (55) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +14 -14
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/eslint/.cache_8dgz12 +1 -1
  5. package/.next/cache/webpack/client-production/0.pack +0 -0
  6. package/.next/cache/webpack/client-production/index.pack +0 -0
  7. package/.next/cache/webpack/client-production/index.pack.old +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/edge-server-production/index.pack.old +0 -0
  11. package/.next/cache/webpack/server-production/0.pack +0 -0
  12. package/.next/cache/webpack/server-production/index.pack +0 -0
  13. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  14. package/.next/prerender-manifest.json +1 -1
  15. package/.next/required-server-files.json +1 -1
  16. package/.next/routes-manifest.json +1 -1
  17. package/.next/server/chunks/331.js +3 -3
  18. package/.next/server/chunks/807.js +1 -1
  19. package/.next/server/chunks/911.js +1 -1
  20. package/.next/server/chunks/977.js +1 -1
  21. package/.next/server/middleware-build-manifest.js +1 -1
  22. package/.next/server/pages/404.html +1 -1
  23. package/.next/server/pages/404.js.nft.json +1 -1
  24. package/.next/server/pages/500.html +1 -1
  25. package/.next/server/pages/_app.js.nft.json +1 -1
  26. package/.next/server/pages/api/dictionary/[locale]/[word].js +2 -2
  27. package/.next/server/pages/index.html +1 -1
  28. package/.next/server/pages/index.js +1 -1
  29. package/.next/server/pages/index.js.nft.json +1 -1
  30. package/.next/server/pages/index.json +1 -1
  31. package/.next/server/pages-manifest.json +1 -1
  32. package/.next/static/{TxfjxrH5h31sPQxPhrJzG → _wmO1o8nRNndcRUW0qFct}/_buildManifest.js +1 -1
  33. package/.next/static/chunks/framework-a6ccb1a1ec9e2929.js +1 -0
  34. package/.next/static/chunks/main-95ec913189851e35.js +1 -0
  35. package/.next/static/chunks/pages/_app-079be27740c6daa8.js +1 -0
  36. package/.next/static/chunks/pages/{index-86d9ad372c48c8b7.js → index-4143525ec0fa83bb.js} +1 -1
  37. package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  38. package/.next/static/css/{14625ff7b4d265d0.css → ac3349339fcf58f2.css} +1 -1
  39. package/.next/trace +45 -45
  40. package/next-env.d.ts +1 -1
  41. package/package.json +9 -9
  42. package/src/components/Board/Board.tsx +3 -3
  43. package/src/components/Radio/Radio.module.scss +3 -2
  44. package/src/i18n/constants.ts +12 -1
  45. package/src/i18n/i18n.ts +2 -0
  46. package/src/i18n/languages/turkish.json +78 -0
  47. package/src/icons/FlagTr.svg +4 -0
  48. package/src/icons/index.ts +1 -0
  49. package/src/pages/_app.tsx +11 -2
  50. package/.next/prerender-manifest.js +0 -1
  51. package/.next/static/chunks/framework-c623a49d0bf89652.js +0 -49
  52. package/.next/static/chunks/main-8b0b4e610892a916.js +0 -1
  53. package/.next/static/chunks/pages/_app-2912876c7b6e698e.js +0 -17
  54. package/.next/static/chunks/polyfills-78c92fac7aa8fdd8.js +0 -1
  55. /package/.next/static/{TxfjxrH5h31sPQxPhrJzG → _wmO1o8nRNndcRUW0qFct}/_ssgManifest.js +0 -0
package/next-env.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  /// <reference types="next/image-types/global" />
3
3
 
4
4
  // NOTE: This file should not be edited
5
- // see https://nextjs.org/docs/basic-features/typescript for more information.
5
+ // see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/scrabble-solver",
3
- "version": "2.14.0",
3
+ "version": "2.15.1",
4
4
  "description": "Scrabble Solver 2 - App",
5
5
  "engines": {
6
6
  "node": ">=16"
@@ -30,13 +30,13 @@
30
30
  "@floating-ui/react": "^0.26.20",
31
31
  "@kamilmielnik/trie": "^3.0.0",
32
32
  "@reduxjs/toolkit": "^2.2.7",
33
- "@scrabble-solver/configs": "^2.14.0",
34
- "@scrabble-solver/constants": "^2.14.0",
35
- "@scrabble-solver/dictionaries": "^2.14.0",
36
- "@scrabble-solver/logger": "^2.14.0",
37
- "@scrabble-solver/solver": "^2.14.0",
38
- "@scrabble-solver/types": "^2.14.0",
39
- "@scrabble-solver/word-definitions": "^2.14.0",
33
+ "@scrabble-solver/configs": "^2.15.1",
34
+ "@scrabble-solver/constants": "^2.15.1",
35
+ "@scrabble-solver/dictionaries": "^2.15.1",
36
+ "@scrabble-solver/logger": "^2.15.1",
37
+ "@scrabble-solver/solver": "^2.15.1",
38
+ "@scrabble-solver/types": "^2.15.1",
39
+ "@scrabble-solver/word-definitions": "^2.15.1",
40
40
  "classnames": "^2.5.1",
41
41
  "env-cmd": "^10.1.0",
42
42
  "include-media": "^2.0.0",
@@ -73,5 +73,5 @@
73
73
  "@types/redux-saga": "^0.10.5",
74
74
  "sass": "^1.77.8"
75
75
  },
76
- "gitHead": "013ecd9af1dcd04b1426358221c8131cdafd7331"
76
+ "gitHead": "87368a417385a1757e05d1a165bf0e644d94f425"
77
77
  }
@@ -9,7 +9,7 @@ import { useDispatch } from 'react-redux';
9
9
 
10
10
  import { useAppLayout } from 'hooks';
11
11
  import { LOCALE_FEATURES } from 'i18n';
12
- import { BORDER_WIDTH, TRANSITION } from 'parameters';
12
+ import { TRANSITION } from 'parameters';
13
13
  import {
14
14
  boardSlice,
15
15
  cellFilterSlice,
@@ -176,8 +176,8 @@ const Board: FunctionComponent<Props> = ({ className }) => {
176
176
  ref={floatingFocus.refs.setFloating}
177
177
  style={{
178
178
  position: floatingFocus.strategy,
179
- top: floatingFocus.y + cellSize - (showCoordinates === 'hidden' ? 0 : BORDER_WIDTH),
180
- left: floatingFocus.x - (showCoordinates === 'hidden' ? 0 : BORDER_WIDTH),
179
+ top: floatingFocus.y + cellSize,
180
+ left: floatingFocus.x,
181
181
  width: cellSize,
182
182
  height: cellSize,
183
183
  opacity: hasFocus ? 1 : 0,
@@ -51,8 +51,9 @@ $radio-box-size: $radio-size + 2 * $radio-inner-border;
51
51
  &::after {
52
52
  content: ' ';
53
53
  position: absolute;
54
- top: $radio-inner-border;
55
- left: $radio-inner-border;
54
+ top: 50%;
55
+ left: 50%;
56
+ transform: translate(-50%, -50%);
56
57
  width: $radio-inner-size;
57
58
  height: $radio-inner-size;
58
59
  background-color: transparent;
@@ -2,7 +2,7 @@ import { COMMA_ARABIC, COMMA_LATIN } from '@scrabble-solver/constants';
2
2
  import { Locale } from '@scrabble-solver/types';
3
3
  import { FunctionComponent, SVGAttributes } from 'react';
4
4
 
5
- import { FlagDe, FlagEs, FlagFa, FlagFr, FlagGb, FlagPl, FlagRo, FlagUs } from 'icons';
5
+ import { FlagDe, FlagEs, FlagFa, FlagFr, FlagGb, FlagPl, FlagRo, FlagTr, FlagUs } from 'icons';
6
6
 
7
7
  interface LocaleFeatures {
8
8
  comma: string;
@@ -105,4 +105,15 @@ export const LOCALE_FEATURES: Record<Locale, LocaleFeatures> = {
105
105
  separator: `${COMMA_LATIN} `,
106
106
  vowels: true,
107
107
  },
108
+ [Locale.TR_TR]: {
109
+ comma: COMMA_LATIN,
110
+ consonants: true,
111
+ direction: 'ltr',
112
+ Icon: FlagTr,
113
+ label: 'Türkçe',
114
+ locale: Locale.TR_TR,
115
+ name: 'Turkish',
116
+ separator: `${COMMA_LATIN} `,
117
+ vowels: true,
118
+ },
108
119
  };
package/src/i18n/i18n.ts CHANGED
@@ -9,6 +9,7 @@ import persian from './languages/persian.json';
9
9
  import polish from './languages/polish.json';
10
10
  import romanian from './languages/romanian.json';
11
11
  import spanish from './languages/spanish.json';
12
+ import turkish from './languages/turkish.json';
12
13
 
13
14
  const i18n: Record<Locale, Translations> = {
14
15
  [Locale.DE_DE]: german,
@@ -19,6 +20,7 @@ const i18n: Record<Locale, Translations> = {
19
20
  [Locale.FR_FR]: french,
20
21
  [Locale.PL_PL]: polish,
21
22
  [Locale.RO_RO]: romanian,
23
+ [Locale.TR_TR]: turkish,
22
24
  };
23
25
 
24
26
  export default i18n;
@@ -0,0 +1,78 @@
1
+ {
2
+ "cell.enter-word": "Kelimeyi girin",
3
+ "cell.filter-cell.exclude": "Hedefi hariç tut",
4
+ "cell.filter-cell.include": "Hedef varış noktası",
5
+ "cell.set-blank": "Boş olarak işaretle",
6
+ "cell.set-not-blank": "Boş değil olarak işaretle",
7
+ "cell.tile.location": "Tahta: harfler ({{x}}, {{y}})",
8
+ "cell.toggle-direction": "Yazma yönü - geçiş yapmak için tıklayın",
9
+ "common.arrows": "Ok tuşları",
10
+ "common.blanks": "Jokerler",
11
+ "common.clear": "Sıfırla",
12
+ "common.close": "Kapat",
13
+ "common.consonants": "Ünlü harfler",
14
+ "common.loading": "Yükleniyor",
15
+ "common.next": "Sonraki",
16
+ "common.points": "Puanlar",
17
+ "common.previous": "Öncesi",
18
+ "common.space": "Boşluk çubuğu",
19
+ "common.tiles": "Taşlar",
20
+ "common.two-letter-tiles": "İki Harfli",
21
+ "common.vowels": "Ünsüz harfler",
22
+ "common.word": "Kelime",
23
+ "common.words": "Kelimeler",
24
+ "dictionary": "Sözlük",
25
+ "dictionary.empty-state.no-definitions": "Kelime sözlükte var ama tanımı yok.",
26
+ "dictionary.empty-state.no-results": "Sözlükte kelime tanımı bulunamadı.",
27
+ "dictionary.empty-state.not-allowed": "Bu kelimeye izin verilmiyor.",
28
+ "dictionary.empty-state.uninitialized": "En son vurgulanan kelimenin sözlük tanımı burada gösterilecektir.",
29
+ "dictionary.input.placeholder": "Sözlükte ara...",
30
+ "dictionary.input.title": "Virgülle ayrılmış kelimeler",
31
+ "empty-state.error": "Hata",
32
+ "empty-state.info": "Bilgi",
33
+ "empty-state.success": "Evet!",
34
+ "empty-state.warning": "Aman hayır!",
35
+ "github": "GitHub'da bu projeye bakın",
36
+ "keyMap": "Klavye Kısayolları",
37
+ "keyMap.board": "Tahta",
38
+ "keyMap.board.toggle-blank": "Taşı joker olarak işaretle/olmaktan çıkar",
39
+ "keyMap.board.toggle-cell-filter": "Hedef filtresini değiştir",
40
+ "keyMap.board.toggle-direction": "Yazma yönünü değiştir",
41
+ "keyMap.board-and-rack": "Tahta ve Deste",
42
+ "keyMap.board-and-rack.insert-two-letter-tile": "İki harfli kutucuğu ekle",
43
+ "keyMap.board-and-rack.navigate": "Gezinme",
44
+ "keyMap.board-and-rack.remove-tile": "Taşı kaldır",
45
+ "keyMap.board-and-rack.submit": "Çözmeye başla",
46
+ "keyMap.rack": "Deste",
47
+ "keyMap.rack.insert-blank": "Joker ekle (spacebar)",
48
+ "menu": "Menü",
49
+ "rack.placeholder": "Taşlar…",
50
+ "rack.tile.location": "Deste: harfler ({{index}})",
51
+ "rack.touchscreen.placeholder": "Taşlar…",
52
+ "remaining-tiles": "Kalan taşlar",
53
+ "results": "Sonuçlar",
54
+ "results.empty-state.no-results": "Sonuç bulunamadı - kelime üretilemedi.",
55
+ "results.empty-state.outdated": "Sonuçlar güncelliğini yitirmiştir.",
56
+ "results.empty-state.uninitialized": "Harflerinizden oluşturulan kelimeler burada gösterilecektir.",
57
+ "results.input.placeholder": "Sonuçları Ara... (RegExp)",
58
+ "results.insert": "Sokmak",
59
+ "results.preview": "Önizleme",
60
+ "results.solve": "Çöz",
61
+ "settings": "Ayarlar",
62
+ "settings.autoGroupTiles": "Kalan taşları grupla",
63
+ "settings.autoGroupTiles.left": "Soldaki",
64
+ "settings.autoGroupTiles.right": "Sağdaki",
65
+ "settings.autoGroupTiles.null": "Gruplamayın",
66
+ "settings.game": "Oyun",
67
+ "settings.inputMode": "Giriş Methodu",
68
+ "settings.inputMode.keyboard": "Klavye",
69
+ "settings.inputMode.touchscreen": "Dokunmatik ekran",
70
+ "settings.language": "Dil",
71
+ "settings.showCoordinates": "Koordinatlar",
72
+ "settings.showCoordinates.alternative": "Alternatif",
73
+ "settings.showCoordinates.hidden": "Gizlenmiş",
74
+ "settings.showCoordinates.original": "Orijinal",
75
+ "words": "Oluşturulan kelimeler",
76
+ "words.invalid": "Geçersiz",
77
+ "words.valid": "Geçerli"
78
+ }
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -30000 90000 60000">
2
+ <path fill="#e30a17" d="m0-30000h90000v60000H0z" />
3
+ <path fill="#fff" d="m41750 0 13568-4408-8386 11541V-7133l8386 11541zm925 8021a15000 15000 0 1 1 0-16042 12000 12000 0 1 0 0 16042z" />
4
+ </svg>
@@ -27,6 +27,7 @@ export { default as FlagFr } from './FlagFr.svg';
27
27
  export { default as FlagGb } from './FlagGb.svg';
28
28
  export { default as FlagPl } from './FlagPl.svg';
29
29
  export { default as FlagRo } from './FlagRo.svg';
30
+ export { default as FlagTr } from './FlagTr.svg';
30
31
  export { default as FlagUs } from './FlagUs.svg';
31
32
  export { default as GeoAlt } from './GeoAlt.svg';
32
33
  export { default as Github } from './Github.svg';
@@ -18,7 +18,8 @@ const KEYWORDS = [
18
18
  'Scrabble',
19
19
  'Solver',
20
20
  'Super Scrabble',
21
- 'Super Scrabble Solver',
21
+ 'Kelimelik',
22
+ 'Literaki',
22
23
  'Board',
23
24
  'Open-source',
24
25
  'Open',
@@ -26,14 +27,22 @@ const KEYWORDS = [
26
27
  'Word',
27
28
  'Finder',
28
29
  'Cheating',
29
- 'Literaki',
30
30
  'Word',
31
31
  'English',
32
32
  'Français',
33
+ 'French',
33
34
  'Deutsch',
35
+ 'German',
34
36
  'Polski',
37
+ 'Polish',
35
38
  'فارسی',
39
+ 'Farsi',
36
40
  'Español',
41
+ 'Spanish',
42
+ 'Română',
43
+ 'Romanian',
44
+ 'Türkçe',
45
+ 'Turkish',
37
46
  'SOWPODS',
38
47
  'TWL06',
39
48
  'SJP',
@@ -1 +0,0 @@
1
- self.__PRERENDER_MANIFEST="{\"version\":4,\"routes\":{\"/\":{\"initialRevalidateSeconds\":false,\"srcRoute\":null,\"dataRoute\":\"/_next/data/TxfjxrH5h31sPQxPhrJzG/index.json\"}},\"dynamicRoutes\":{},\"notFoundRoutes\":[],\"preview\":{\"previewModeId\":\"process.env.__NEXT_PREVIEW_MODE_ID\",\"previewModeSigningKey\":\"process.env.__NEXT_PREVIEW_MODE_SIGNING_KEY\",\"previewModeEncryptionKey\":\"process.env.__NEXT_PREVIEW_MODE_ENCRYPTION_KEY\"}}"