@scrabble-solver/scrabble-solver 2.13.7 → 2.13.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +11 -11
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/eslint/.cache_8dgz12 +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/577.js +1 -1
- package/.next/server/chunks/807.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/index.js +1 -1
- package/.next/server/pages/index.json +1 -1
- package/.next/static/7zESQYo9UAqNh9LV0b7Sd/_buildManifest.js +1 -0
- package/.next/static/chunks/{main-6e708370ad13b1f9.js → main-b5b360c6afb66b05.js} +1 -1
- package/.next/static/chunks/pages/{404-9d5621b1ca024a45.js → 404-63b972b24be99c62.js} +1 -1
- package/.next/static/chunks/pages/_app-a2848b7efa6bb6b0.js +17 -0
- package/.next/static/chunks/pages/{index-710b5c27542027be.js → index-7b73be2915cc7099.js} +1 -1
- package/.next/static/css/6682db14f926d4c7.css +1 -0
- package/.next/static/css/b37850c8d5270d91.css +2 -0
- package/.next/trace +44 -44
- package/package.json +12 -12
- package/src/components/Alert/Alert.module.scss +3 -12
- package/src/components/Board/Board.module.scss +1 -4
- package/src/components/Board/components/Actions/Actions.module.scss +7 -27
- package/src/components/Board/components/Cell/Cell.module.scss +5 -32
- package/src/components/Board/components/InputPrompt/InputPrompt.module.scss +4 -18
- package/src/components/Board/hooks/useBackgroundImage.tsx +15 -4
- package/src/components/Button/Button.module.scss +1 -8
- package/src/components/Dictionary/Dictionary.module.scss +1 -8
- package/src/components/Loading/Loading.module.scss +1 -4
- package/src/components/Modal/Modal.module.scss +2 -16
- package/src/components/Rack/Rack.module.scss +4 -18
- package/src/components/Rack/components/InputPrompt/InputPrompt.module.scss +1 -4
- package/src/components/Results/Results.module.scss +7 -39
- package/src/components/Results/useColumns.ts +1 -1
- package/src/components/Solver/components/ResultCandidatePicker/ResultCandidatePicker.module.scss +9 -40
- package/src/components/Tile/Tile.module.scss +6 -26
- package/src/components/index.ts +0 -1
- package/src/i18n/languages/german.json +1 -1
- package/src/icons/index.ts +0 -2
- package/src/modals/KeyMapModal/components/Mapping/Mapping.module.scss +2 -2
- package/src/modals/MenuModal/MenuModal.module.scss +2 -15
- package/src/modals/RemainingTilesModal/RemainingTilesModal.module.scss +1 -7
- package/src/modals/WordsModal/WordsModal.module.scss +2 -15
- package/src/styles/mixins.scss +2 -5
- package/.next/static/QbBIK_mEs1LhYSpQwv6rZ/_buildManifest.js +0 -1
- package/.next/static/chunks/pages/_app-7bc3bf713c40526a.js +0 -17
- package/.next/static/css/11366b7489cf90ac.css +0 -1
- package/.next/static/css/fe70298e6f597553.css +0 -2
- package/src/components/Checkbox/Checkbox.module.scss +0 -45
- package/src/components/Checkbox/Checkbox.tsx +0 -38
- package/src/components/Checkbox/index.ts +0 -1
- package/src/icons/CheckboxChecked.svg +0 -4
- package/src/icons/CheckboxEmpty.svg +0 -4
- /package/.next/static/{QbBIK_mEs1LhYSpQwv6rZ → 7zESQYo9UAqNh9LV0b7Sd}/_ssgManifest.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/scrabble-solver",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.8",
|
|
4
4
|
"description": "Scrabble Solver 2 - App",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16"
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
"start": "env-cmd next start -p 3333"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@floating-ui/react": "^0.26.
|
|
30
|
+
"@floating-ui/react": "^0.26.17",
|
|
31
31
|
"@kamilmielnik/trie": "^3.0.0",
|
|
32
32
|
"@reduxjs/toolkit": "^2.2.5",
|
|
33
|
-
"@scrabble-solver/configs": "^2.13.
|
|
34
|
-
"@scrabble-solver/constants": "^2.13.
|
|
35
|
-
"@scrabble-solver/dictionaries": "^2.13.
|
|
36
|
-
"@scrabble-solver/logger": "^2.13.
|
|
37
|
-
"@scrabble-solver/solver": "^2.13.
|
|
38
|
-
"@scrabble-solver/types": "^2.13.
|
|
39
|
-
"@scrabble-solver/word-definitions": "^2.13.
|
|
33
|
+
"@scrabble-solver/configs": "^2.13.8",
|
|
34
|
+
"@scrabble-solver/constants": "^2.13.8",
|
|
35
|
+
"@scrabble-solver/dictionaries": "^2.13.8",
|
|
36
|
+
"@scrabble-solver/logger": "^2.13.8",
|
|
37
|
+
"@scrabble-solver/solver": "^2.13.8",
|
|
38
|
+
"@scrabble-solver/types": "^2.13.8",
|
|
39
|
+
"@scrabble-solver/word-definitions": "^2.13.8",
|
|
40
40
|
"classnames": "^2.5.1",
|
|
41
41
|
"env-cmd": "^10.1.0",
|
|
42
42
|
"include-media": "^2.0.0",
|
|
43
43
|
"include-media-query-builder": "^1.1.0",
|
|
44
|
-
"next": "^14.2.
|
|
44
|
+
"next": "^14.2.4",
|
|
45
45
|
"normalize.css": "^8.0.1",
|
|
46
46
|
"react": "^18.3.1",
|
|
47
47
|
"react-cool-onclickoutside": "^1.7.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@types/react-window": "^1.8.8",
|
|
71
71
|
"@types/redux": "^3.6.31",
|
|
72
72
|
"@types/redux-saga": "^0.10.5",
|
|
73
|
-
"sass": "^1.77.
|
|
73
|
+
"sass": "^1.77.5"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "294a7a790843ef9d260be52a3144e323c8ac0641"
|
|
76
76
|
}
|
|
@@ -14,18 +14,9 @@
|
|
|
14
14
|
justify-content: center;
|
|
15
15
|
padding: var(--spacing--m);
|
|
16
16
|
color: var(--color--foreground--secondary);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
border-bottom-left-radius: var(--border--radius);
|
|
21
|
-
border-right: var(--border);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
[dir='rtl'] & {
|
|
25
|
-
border-top-right-radius: var(--border--radius);
|
|
26
|
-
border-bottom-right-radius: var(--border--radius);
|
|
27
|
-
border-left: var(--border);
|
|
28
|
-
}
|
|
17
|
+
border-start-start-radius: var(--border--radius);
|
|
18
|
+
border-end-start-radius: var(--border--radius);
|
|
19
|
+
border-inline-end: var(--border);
|
|
29
20
|
|
|
30
21
|
.error & {
|
|
31
22
|
background-color: var(--color--red--light);
|
|
@@ -46,10 +46,7 @@
|
|
|
46
46
|
.iconBackground,
|
|
47
47
|
.icon {
|
|
48
48
|
position: absolute;
|
|
49
|
-
|
|
50
|
-
right: calc((100% - var(--size)) / 2);
|
|
51
|
-
bottom: calc((100% - var(--size)) / 2);
|
|
52
|
-
left: calc((100% - var(--size)) / 2);
|
|
49
|
+
inset: calc((100% - var(--size)) / 2);
|
|
53
50
|
width: var(--size);
|
|
54
51
|
height: var(--size);
|
|
55
52
|
}
|
|
@@ -18,36 +18,16 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
& + & {
|
|
21
|
-
|
|
22
|
-
border-left: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
[dir='rtl'] & {
|
|
26
|
-
border-right: none;
|
|
27
|
-
}
|
|
21
|
+
border-inline-start: none;
|
|
28
22
|
}
|
|
29
23
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
border-bottom-right-radius: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:last-child {
|
|
37
|
-
border-top-left-radius: 0;
|
|
38
|
-
border-bottom-left-radius: 0;
|
|
39
|
-
}
|
|
24
|
+
&:first-child {
|
|
25
|
+
border-start-end-radius: 0;
|
|
26
|
+
border-end-end-radius: 0;
|
|
40
27
|
}
|
|
41
28
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
border-bottom-left-radius: 0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&:last-child {
|
|
49
|
-
border-top-right-radius: 0;
|
|
50
|
-
border-bottom-right-radius: 0;
|
|
51
|
-
}
|
|
29
|
+
&:last-child {
|
|
30
|
+
border-start-start-radius: 0;
|
|
31
|
+
border-end-start-radius: 0;
|
|
52
32
|
}
|
|
53
33
|
}
|
|
@@ -7,10 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
input {
|
|
9
9
|
position: absolute;
|
|
10
|
-
|
|
11
|
-
right: -100%;
|
|
12
|
-
left: -100%;
|
|
13
|
-
bottom: -100%;
|
|
10
|
+
inset: -100%;
|
|
14
11
|
width: 300%;
|
|
15
12
|
height: 300%;
|
|
16
13
|
clip-path: inset((100% / 3));
|
|
@@ -55,43 +52,19 @@
|
|
|
55
52
|
@include lighthouse-input-size-hack;
|
|
56
53
|
|
|
57
54
|
&.sharpTopLeft {
|
|
58
|
-
|
|
59
|
-
border-top-left-radius: 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
[dir='rtl'] & {
|
|
63
|
-
border-top-right-radius: 0;
|
|
64
|
-
}
|
|
55
|
+
border-start-start-radius: 0;
|
|
65
56
|
}
|
|
66
57
|
|
|
67
58
|
&.sharpTopRight {
|
|
68
|
-
|
|
69
|
-
border-top-right-radius: 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
[dir='rtl'] & {
|
|
73
|
-
border-top-left-radius: 0;
|
|
74
|
-
}
|
|
59
|
+
border-start-end-radius: 0;
|
|
75
60
|
}
|
|
76
61
|
|
|
77
62
|
&.sharpBottomLeft {
|
|
78
|
-
|
|
79
|
-
border-bottom-left-radius: 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
[dir='rtl'] & {
|
|
83
|
-
border-bottom-right-radius: 0;
|
|
84
|
-
}
|
|
63
|
+
border-end-start-radius: 0;
|
|
85
64
|
}
|
|
86
65
|
|
|
87
66
|
&.sharpBottomRight {
|
|
88
|
-
|
|
89
|
-
border-bottom-right-radius: 0;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
[dir='rtl'] & {
|
|
93
|
-
border-bottom-left-radius: 0;
|
|
94
|
-
}
|
|
67
|
+
border-end-end-radius: 0;
|
|
95
68
|
}
|
|
96
69
|
|
|
97
70
|
&:focus-within {
|
|
@@ -9,15 +9,8 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.toggleDirection {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
border-bottom-right-radius: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
[dir='rtl'] & {
|
|
18
|
-
border-top-left-radius: 0;
|
|
19
|
-
border-bottom-left-radius: 0;
|
|
20
|
-
}
|
|
12
|
+
border-start-end-radius: 0;
|
|
13
|
+
border-end-end-radius: 0;
|
|
21
14
|
}
|
|
22
15
|
|
|
23
16
|
.input {
|
|
@@ -32,15 +25,8 @@
|
|
|
32
25
|
}
|
|
33
26
|
|
|
34
27
|
.insert {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
border-bottom-left-radius: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
[dir='rtl'] & {
|
|
41
|
-
border-top-right-radius: 0;
|
|
42
|
-
border-bottom-right-radius: 0;
|
|
43
|
-
}
|
|
28
|
+
border-start-start-radius: 0;
|
|
29
|
+
border-end-start-radius: 0;
|
|
44
30
|
}
|
|
45
31
|
|
|
46
32
|
.insertIcon {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* eslint-disable max-statements */
|
|
1
|
+
/* eslint-disable max-lines, max-statements */
|
|
2
2
|
|
|
3
3
|
import { BONUS_CHARACTER, BONUS_WORD } from '@scrabble-solver/constants';
|
|
4
4
|
import { useMemo } from 'react';
|
|
@@ -146,10 +146,21 @@ const useBackgroundImage = () => {
|
|
|
146
146
|
</symbol>
|
|
147
147
|
</defs>
|
|
148
148
|
|
|
149
|
-
|
|
149
|
+
{showCoordinates === 'hidden' && (
|
|
150
|
+
<rect fill="white" height={viewBoxHeight} rx={borderRadius} width={viewBoxWidth} x="0" y="0" />
|
|
151
|
+
)}
|
|
150
152
|
|
|
151
153
|
{showCoordinates !== 'hidden' && (
|
|
152
154
|
<>
|
|
155
|
+
<rect fill={COLOR_BACKGROUND} height={viewBoxHeight} rx={borderRadius} width={viewBoxWidth} x="0" y="0" />
|
|
156
|
+
<rect
|
|
157
|
+
fill="white"
|
|
158
|
+
height={viewBoxHeight - coordinatesSize}
|
|
159
|
+
width={viewBoxWidth - coordinatesSize}
|
|
160
|
+
x={direction === 'ltr' ? coordinatesSize : 0}
|
|
161
|
+
y={coordinatesSize}
|
|
162
|
+
/>
|
|
163
|
+
|
|
153
164
|
<rect fill={COLOR_BACKGROUND} height={coordinatesSize} rx={borderRadius} width={viewBoxWidth} x="0" y="0" />
|
|
154
165
|
<rect
|
|
155
166
|
fill={COLOR_BACKGROUND}
|
|
@@ -159,10 +170,10 @@ const useBackgroundImage = () => {
|
|
|
159
170
|
y="0"
|
|
160
171
|
width={coordinatesSize}
|
|
161
172
|
/>
|
|
162
|
-
<use href={`#${HORIZONTAL_LINE}`} y={coordinatesSize} />
|
|
173
|
+
<use href={`#${HORIZONTAL_LINE}`} y={coordinatesSize - BORDER_WIDTH} />
|
|
163
174
|
<use
|
|
164
175
|
href={`#${VERTICAL_LINE}`}
|
|
165
|
-
x={direction === 'ltr' ? coordinatesSize : viewBoxWidth - coordinatesSize - BORDER_WIDTH}
|
|
176
|
+
x={direction === 'ltr' ? coordinatesSize - BORDER_WIDTH : viewBoxWidth - coordinatesSize - BORDER_WIDTH}
|
|
166
177
|
/>
|
|
167
178
|
</>
|
|
168
179
|
)}
|
|
@@ -3,14 +3,7 @@
|
|
|
3
3
|
.modal,
|
|
4
4
|
.closeButton {
|
|
5
5
|
top: 0;
|
|
6
|
-
|
|
7
|
-
[dir='ltr'] & {
|
|
8
|
-
right: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
[dir='rtl'] & {
|
|
12
|
-
left: 0;
|
|
13
|
-
}
|
|
6
|
+
inset-inline-end: 0;
|
|
14
7
|
}
|
|
15
8
|
|
|
16
9
|
.modal {
|
|
@@ -92,14 +85,7 @@
|
|
|
92
85
|
.title {
|
|
93
86
|
font-size: var(--font--size--h1);
|
|
94
87
|
font-weight: 300;
|
|
95
|
-
|
|
96
|
-
[dir='ltr'] & {
|
|
97
|
-
padding-right: calc(var(--square-button--size) + var(--spacing--s));
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
[dir='rtl'] & {
|
|
101
|
-
padding-left: calc(var(--square-button--size) + var(--spacing--s));
|
|
102
|
-
}
|
|
88
|
+
padding-inline-end: calc(var(--square-button--size) + var(--spacing--s));
|
|
103
89
|
}
|
|
104
90
|
|
|
105
91
|
.closeButton {
|
|
@@ -77,25 +77,11 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.sharpLeft {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
border-bottom-left-radius: 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
[dir='rtl'] & {
|
|
86
|
-
border-top-right-radius: 0;
|
|
87
|
-
border-bottom-right-radius: 0;
|
|
88
|
-
}
|
|
80
|
+
border-start-start-radius: 0;
|
|
81
|
+
border-end-start-radius: 0;
|
|
89
82
|
}
|
|
90
83
|
|
|
91
84
|
.sharpRight {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
border-bottom-right-radius: 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
[dir='rtl'] & {
|
|
98
|
-
border-top-left-radius: 0;
|
|
99
|
-
border-bottom-left-radius: 0;
|
|
100
|
-
}
|
|
85
|
+
border-start-end-radius: 0;
|
|
86
|
+
border-end-end-radius: 0;
|
|
101
87
|
}
|
|
@@ -24,10 +24,7 @@ $row-padding-horizontal: calc(var(--spacing--m) + var(--spacing--s));
|
|
|
24
24
|
|
|
25
25
|
.listContainer {
|
|
26
26
|
position: absolute;
|
|
27
|
-
|
|
28
|
-
left: 0;
|
|
29
|
-
right: 0;
|
|
30
|
-
bottom: 0;
|
|
27
|
+
inset: 0;
|
|
31
28
|
}
|
|
32
29
|
|
|
33
30
|
.list {
|
|
@@ -61,23 +58,11 @@ $row-padding-horizontal: calc(var(--spacing--m) + var(--spacing--s));
|
|
|
61
58
|
background-color: var(--color--background);
|
|
62
59
|
|
|
63
60
|
&:first-child {
|
|
64
|
-
|
|
65
|
-
border-top-left-radius: inherit;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
[dir='rtl'] & {
|
|
69
|
-
border-top-right-radius: inherit;
|
|
70
|
-
}
|
|
61
|
+
border-start-start-radius: inherit;
|
|
71
62
|
}
|
|
72
63
|
|
|
73
64
|
&:last-child {
|
|
74
|
-
|
|
75
|
-
border-top-right-radius: inherit;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
[dir='rtl'] & {
|
|
79
|
-
border-top-left-radius: inherit;
|
|
80
|
-
}
|
|
65
|
+
border-start-end-radius: inherit;
|
|
81
66
|
}
|
|
82
67
|
}
|
|
83
68
|
|
|
@@ -97,11 +82,7 @@ $row-padding-horizontal: calc(var(--spacing--m) + var(--spacing--s));
|
|
|
97
82
|
@include ellipsis;
|
|
98
83
|
|
|
99
84
|
flex: 0 1 auto;
|
|
100
|
-
text-align:
|
|
101
|
-
|
|
102
|
-
[dir='rtl'] & {
|
|
103
|
-
text-align: right;
|
|
104
|
-
}
|
|
85
|
+
text-align: start;
|
|
105
86
|
}
|
|
106
87
|
|
|
107
88
|
.result {
|
|
@@ -163,26 +144,13 @@ $row-padding-horizontal: calc(var(--spacing--m) + var(--spacing--s));
|
|
|
163
144
|
|
|
164
145
|
.result &:first-child,
|
|
165
146
|
.headerButton:first-child & {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
text-align: left;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
[dir='rtl'] & {
|
|
172
|
-
padding-right: $row-padding-horizontal;
|
|
173
|
-
text-align: right;
|
|
174
|
-
}
|
|
147
|
+
text-align: start;
|
|
148
|
+
padding-inline-start: $row-padding-horizontal;
|
|
175
149
|
}
|
|
176
150
|
|
|
177
151
|
.result &:last-child,
|
|
178
152
|
.headerButton:last-child & {
|
|
179
|
-
|
|
180
|
-
padding-right: $row-padding-horizontal;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
[dir='rtl'] & {
|
|
184
|
-
padding-left: $row-padding-horizontal;
|
|
185
|
-
}
|
|
153
|
+
padding-inline-end: $row-padding-horizontal;
|
|
186
154
|
}
|
|
187
155
|
|
|
188
156
|
&:last-child {
|
|
@@ -7,7 +7,7 @@ import getCoordinatesColumn from './getCoordinatesColumn';
|
|
|
7
7
|
import getLocaleColumns from './getLocaleColumns';
|
|
8
8
|
import { Column } from './types';
|
|
9
9
|
|
|
10
|
-
const COLUMNS_XS = [ResultColumn.Word, ResultColumn.Points];
|
|
10
|
+
const COLUMNS_XS = [ResultColumn.Coordinates, ResultColumn.Word, ResultColumn.Points];
|
|
11
11
|
|
|
12
12
|
const COLUMNS_S = [...COLUMNS_XS, ResultColumn.BlanksCount, ResultColumn.WordsCount];
|
|
13
13
|
|
package/src/components/Solver/components/ResultCandidatePicker/ResultCandidatePicker.module.scss
CHANGED
|
@@ -82,23 +82,11 @@
|
|
|
82
82
|
.points {
|
|
83
83
|
flex: 0 0 auto;
|
|
84
84
|
font-weight: bold;
|
|
85
|
+
border-inline-end: var(--border);
|
|
85
86
|
|
|
86
|
-
|
|
87
|
-
border-
|
|
88
|
-
|
|
89
|
-
@include media('<xs') {
|
|
90
|
-
border-right: none;
|
|
91
|
-
padding-right: var(--spacing--xs);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
[dir='rtl'] & {
|
|
96
|
-
border-left: var(--border);
|
|
97
|
-
|
|
98
|
-
@include media('<xs') {
|
|
99
|
-
border-left: none;
|
|
100
|
-
padding-left: var(--spacing--xs);
|
|
101
|
-
}
|
|
87
|
+
@include media('<xs') {
|
|
88
|
+
border-inline-end: none;
|
|
89
|
+
padding-inline-end: var(--spacing--xs);
|
|
102
90
|
}
|
|
103
91
|
}
|
|
104
92
|
|
|
@@ -110,40 +98,21 @@
|
|
|
110
98
|
text-align: center;
|
|
111
99
|
white-space: pre-wrap;
|
|
112
100
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
text-align: left;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
[dir='rtl'] & {
|
|
121
|
-
@include media('<xs') {
|
|
122
|
-
padding: var(--spacing--m);
|
|
123
|
-
text-align: right;
|
|
124
|
-
}
|
|
101
|
+
@include media('<xs') {
|
|
102
|
+
padding: var(--spacing--m);
|
|
103
|
+
text-align: start;
|
|
125
104
|
}
|
|
126
105
|
}
|
|
127
106
|
|
|
128
107
|
.iconContainer {
|
|
129
108
|
flex: 0 0 auto;
|
|
130
109
|
display: flex;
|
|
131
|
-
|
|
132
|
-
[dir='ltr'] & {
|
|
133
|
-
padding-right: var(--spacing--l);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
[dir='rtl'] & {
|
|
137
|
-
padding-left: var(--spacing--l);
|
|
138
|
-
}
|
|
110
|
+
padding-inline-end: var(--spacing--l);
|
|
139
111
|
}
|
|
140
112
|
|
|
141
113
|
.spinnerContainer {
|
|
142
114
|
position: absolute;
|
|
143
|
-
|
|
144
|
-
right: 0;
|
|
145
|
-
bottom: 0;
|
|
146
|
-
left: 0;
|
|
115
|
+
inset: 0;
|
|
147
116
|
display: flex;
|
|
148
117
|
align-items: center;
|
|
149
118
|
justify-content: center;
|
|
@@ -76,10 +76,7 @@
|
|
|
76
76
|
|
|
77
77
|
.input {
|
|
78
78
|
position: absolute;
|
|
79
|
-
|
|
80
|
-
right: 0;
|
|
81
|
-
bottom: 0;
|
|
82
|
-
left: 0;
|
|
79
|
+
inset: 0;
|
|
83
80
|
width: 100%;
|
|
84
81
|
height: 100%;
|
|
85
82
|
border: none;
|
|
@@ -98,6 +95,8 @@
|
|
|
98
95
|
@include text-stroke(var(--background-color), 1px);
|
|
99
96
|
|
|
100
97
|
position: absolute;
|
|
98
|
+
inset-block-end: 1%;
|
|
99
|
+
inset-inline-end: 9%;
|
|
101
100
|
font-weight: bold;
|
|
102
101
|
user-select: none;
|
|
103
102
|
pointer-events: none;
|
|
@@ -106,16 +105,6 @@
|
|
|
106
105
|
@include media('<xs') {
|
|
107
106
|
display: none;
|
|
108
107
|
}
|
|
109
|
-
|
|
110
|
-
[dir='ltr'] & {
|
|
111
|
-
bottom: 1%;
|
|
112
|
-
right: 9%;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
[dir='rtl'] & {
|
|
116
|
-
top: 1%;
|
|
117
|
-
left: 9%;
|
|
118
|
-
}
|
|
119
108
|
}
|
|
120
109
|
|
|
121
110
|
.alert {
|
|
@@ -124,6 +113,9 @@
|
|
|
124
113
|
position: absolute;
|
|
125
114
|
width: var(--size);
|
|
126
115
|
height: var(--size);
|
|
116
|
+
inset-block-start: 0;
|
|
117
|
+
inset-inline-end: 0;
|
|
118
|
+
border-start-end-radius: inherit;
|
|
127
119
|
background: radial-gradient(
|
|
128
120
|
var(--color--error--opposite),
|
|
129
121
|
var(--color--error--opposite) 85%,
|
|
@@ -132,16 +124,4 @@
|
|
|
132
124
|
);
|
|
133
125
|
color: var(--color--error);
|
|
134
126
|
pointer-events: none;
|
|
135
|
-
|
|
136
|
-
[dir='ltr'] & {
|
|
137
|
-
top: 0;
|
|
138
|
-
right: 0;
|
|
139
|
-
border-top-right-radius: inherit;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
[dir='rtl'] & {
|
|
143
|
-
top: 0;
|
|
144
|
-
left: 0;
|
|
145
|
-
border-top-left-radius: inherit;
|
|
146
|
-
}
|
|
147
127
|
}
|
package/src/components/index.ts
CHANGED
|
@@ -2,7 +2,6 @@ export { default as Alert } from './Alert';
|
|
|
2
2
|
export { default as Badge } from './Badge';
|
|
3
3
|
export { default as Board } from './Board';
|
|
4
4
|
export { default as Button } from './Button';
|
|
5
|
-
export { default as Checkbox } from './Checkbox';
|
|
6
5
|
export { default as Dictionary } from './Dictionary';
|
|
7
6
|
export { default as DictionaryInput } from './DictionaryInput';
|
|
8
7
|
export { default as EmptyState } from './EmptyState';
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dictionary.empty-state.no-definitions": "Wort existiert im Wörterbuch aber hat keine Definition.",
|
|
23
23
|
"dictionary.empty-state.no-results": "Wort kann nicht im Wörterbuch gefunden werden.",
|
|
24
24
|
"dictionary.empty-state.not-allowed": "Dieses Wort ist nicht erlaubt.",
|
|
25
|
-
"dictionary.empty-state.uninitialized": "Die
|
|
25
|
+
"dictionary.empty-state.uninitialized": "Die Wörterbuchdefinition wird hier angezeigt.",
|
|
26
26
|
"dictionary.input.placeholder": "Durchsuche Wörterbuch…",
|
|
27
27
|
"dictionary.input.title": "Durch Kommas getrennte Wörter",
|
|
28
28
|
"empty-state.error": "Fehler",
|
package/src/icons/index.ts
CHANGED
|
@@ -5,8 +5,6 @@ export { default as ArrowUp } from './ArrowUp.svg';
|
|
|
5
5
|
export { default as BookHalf } from './BookHalf.svg';
|
|
6
6
|
export { default as CardChecklist } from './CardChecklist.svg';
|
|
7
7
|
export { default as Check } from './Check.svg';
|
|
8
|
-
export { default as CheckboxChecked } from './CheckboxChecked.svg';
|
|
9
|
-
export { default as CheckboxEmpty } from './CheckboxEmpty.svg';
|
|
10
8
|
export { default as ChevronDown } from './ChevronDown.svg';
|
|
11
9
|
export { default as ChevronLeft } from './ChevronLeft.svg';
|
|
12
10
|
export { default as ChevronRight } from './ChevronRight.svg';
|