@synerise/ds-date-picker 1.3.21 → 1.4.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.
- package/CHANGELOG.md +10 -0
- package/README.md +8 -7
- package/package.json +14 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.4.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@1.4.0...@synerise/ds-date-picker@1.4.1) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-date-picker
|
|
9
|
+
|
|
10
|
+
# [1.4.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@1.3.21...@synerise/ds-date-picker@1.4.0) (2026-03-09)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **date-picker:** change to vitest ([96ccf56](https://github.com/Synerise/synerise-design/commit/96ccf56c17f559421fb2c128d5573da3d6211361))
|
|
15
|
+
|
|
6
16
|
## [1.3.21](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@1.3.20...@synerise/ds-date-picker@1.3.21) (2026-02-23)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @synerise/ds-date-picker
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ yarn add @synerise/ds-date-picker
|
|
|
18
18
|
```
|
|
19
19
|
import DatePicker from '@synerise/ds-date-picker'
|
|
20
20
|
|
|
21
|
-
<DatePicker />
|
|
21
|
+
<DatePicker onApply={(date) => console.log(date)} />
|
|
22
22
|
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -57,9 +57,10 @@ import DatePicker from '@synerise/ds-date-picker'
|
|
|
57
57
|
|
|
58
58
|
### Texts
|
|
59
59
|
|
|
60
|
-
| Property
|
|
61
|
-
|
|
|
62
|
-
| apply
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
|
|
|
60
|
+
| Property | Description | Type | Default |
|
|
61
|
+
| ---------------- | ---------------------------------------- | --------- | ------------- |
|
|
62
|
+
| apply | Text for apply button | ReactNode | "Apply" |
|
|
63
|
+
| now | Text for "Now" button in footer | ReactNode | "Now" |
|
|
64
|
+
| inputPlaceholder | Placeholder text for the input | string | - |
|
|
65
|
+
| clearTooltip | Tooltip on the clear button | ReactNode | "Clear" |
|
|
66
|
+
| quickPicks | Label above the quick picks column | ReactNode | "Quick picks" |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-date-picker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "DatePicker UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
24
|
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
25
|
"prepublish": "pnpm run build",
|
|
26
|
-
"test": "
|
|
27
|
-
"test:watch": "
|
|
26
|
+
"test": "vitest run",
|
|
27
|
+
"test:watch": "vitest",
|
|
28
28
|
"types": "tsc --noEmit",
|
|
29
29
|
"check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
|
|
30
30
|
"upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@date-fns/upgrade": "^1.0.3",
|
|
39
|
-
"@synerise/ds-button": "^1.5.
|
|
40
|
-
"@synerise/ds-dropdown": "^1.
|
|
41
|
-
"@synerise/ds-icon": "^1.
|
|
42
|
-
"@synerise/ds-input": "^1.6.
|
|
43
|
-
"@synerise/ds-time-picker": "^1.2.
|
|
44
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
45
|
-
"@synerise/ds-typography": "^1.1.
|
|
46
|
-
"@synerise/ds-utils": "^1.
|
|
39
|
+
"@synerise/ds-button": "^1.5.17",
|
|
40
|
+
"@synerise/ds-dropdown": "^1.3.1",
|
|
41
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
42
|
+
"@synerise/ds-input": "^1.6.9",
|
|
43
|
+
"@synerise/ds-time-picker": "^1.2.23",
|
|
44
|
+
"@synerise/ds-tooltip": "^1.4.9",
|
|
45
|
+
"@synerise/ds-typography": "^1.1.12",
|
|
46
|
+
"@synerise/ds-utils": "^1.7.0",
|
|
47
47
|
"classnames": "^2.5.1",
|
|
48
48
|
"date-fns": "2.16.1",
|
|
49
49
|
"lodash.range": "^3.2.0",
|
|
@@ -51,7 +51,8 @@
|
|
|
51
51
|
"uuid": "^8.3.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@types/lodash.range": "^3.2.9"
|
|
54
|
+
"@types/lodash.range": "^3.2.9",
|
|
55
|
+
"vitest": "4"
|
|
55
56
|
},
|
|
56
57
|
"peerDependencies": {
|
|
57
58
|
"@synerise/ds-core": "*",
|
|
@@ -60,5 +61,5 @@
|
|
|
60
61
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
61
62
|
"styled-components": "^5.3.3"
|
|
62
63
|
},
|
|
63
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
64
65
|
}
|