@sb1/ffe-datepicker-react 100.8.1 → 100.8.2
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/README.md +10 -10
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -15,28 +15,28 @@ Make sure you import the less-files from these packages.
|
|
|
15
15
|
|
|
16
16
|
## Requirements
|
|
17
17
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
18
|
+
- ~~i18n~~
|
|
19
|
+
- ~~Show calendar on focus~~
|
|
20
|
+
- ~~Handle various input-formats (see simpledate.test.js)~~
|
|
21
|
+
- Validate on blur on the whole component (both the input and the calendar)
|
|
22
22
|
|
|
23
23
|
### a11y
|
|
24
24
|
|
|
25
25
|
Requirements for full a11y-compliance:
|
|
26
26
|
|
|
27
|
-
-
|
|
27
|
+
- https://www.w3.org/TR/wai-aria-practices/#datepicker
|
|
28
28
|
|
|
29
29
|
Examples:
|
|
30
30
|
|
|
31
|
-
-
|
|
31
|
+
- https://hanshillen.github.io/jqtest/#goto_datepicker
|
|
32
32
|
|
|
33
33
|
## Other
|
|
34
34
|
|
|
35
35
|
Evaluated implementations:
|
|
36
36
|
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
37
|
+
- Pickaday (or variants of it): Not a11y compliant. Lacks ARIA-roles and keyboard navigation
|
|
38
|
+
- http://jquense.github.io/react-widgets/docs/#/datetime-picker : Lacks keyboard navigation
|
|
39
|
+
- https://hacker0x01.github.io/react-datepicker/ : Lacks keyboard navigation
|
|
40
40
|
|
|
41
41
|
## Development
|
|
42
42
|
|
|
@@ -48,6 +48,6 @@ npm run build
|
|
|
48
48
|
npm start
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
A local instance of `
|
|
51
|
+
A local instance of `Storybook` with live reloading will run at http://localhost:6006/.
|
|
52
52
|
|
|
53
53
|
Example implementations using the latest versions of all components are also available at https://sparebank1.github.io/designsystem.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-datepicker-react",
|
|
3
|
-
"version": "100.8.
|
|
3
|
+
"version": "100.8.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "SpareBank 1",
|
|
6
6
|
"files": [
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"test:watch": "ffe-buildtool jest --watch"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@sb1/ffe-datepicker": "^100.8.
|
|
28
|
-
"@sb1/ffe-dropdown-react": "^100.8.
|
|
29
|
-
"@sb1/ffe-form": "^100.8.
|
|
30
|
-
"@sb1/ffe-form-react": "^100.8.
|
|
31
|
-
"@sb1/ffe-icons-react": "^100.8.
|
|
27
|
+
"@sb1/ffe-datepicker": "^100.8.2",
|
|
28
|
+
"@sb1/ffe-dropdown-react": "^100.8.2",
|
|
29
|
+
"@sb1/ffe-form": "^100.8.2",
|
|
30
|
+
"@sb1/ffe-form-react": "^100.8.2",
|
|
31
|
+
"@sb1/ffe-icons-react": "^100.8.2",
|
|
32
32
|
"@testing-library/react": "^16.0.0",
|
|
33
33
|
"@types/lodash.debounce": "^4.0.9",
|
|
34
34
|
"classnames": "^2.3.1",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"uuid": "^9.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@sb1/ffe-buildtool": "^100.8.
|
|
39
|
+
"@sb1/ffe-buildtool": "^100.8.2",
|
|
40
40
|
"eslint": "^9.22.0",
|
|
41
41
|
"react": "^18.2.0",
|
|
42
42
|
"react-dom": "^18.2.0"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "50fbbbdb2023a60add7158e8c5bd6443c4f9c95e"
|
|
51
51
|
}
|