@startupjs-ui/date-time-picker 0.2.0-alpha.1 → 0.2.0
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 +19 -0
- package/components/Calendar/Header/index.tsx +2 -2
- package/components/TimeSelect/index.tsx +2 -2
- package/index.tsx +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
# [0.2.0](https://github.com/startupjs/startupjs-ui/compare/v0.1.23...v0.2.0) (2026-05-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* [v0.2] add accessibility features to most components, which also dramatically improves E2E testability ([#22](https://github.com/startupjs/startupjs-ui/issues/22)) ([b563e2f](https://github.com/startupjs/startupjs-ui/commit/b563e2fa498a8a83bd5abc7836d120f6d2381e3f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [0.2.0-alpha.2](https://github.com/startupjs/startupjs-ui/compare/v0.2.0-alpha.1...v0.2.0-alpha.2) (2026-04-20)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @startupjs-ui/date-time-picker
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [0.2.0-alpha.1](https://github.com/startupjs/startupjs-ui/compare/v0.2.0-alpha.0...v0.2.0-alpha.1) (2026-04-10)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @startupjs-ui/date-time-picker
|
|
@@ -64,14 +64,14 @@ function Header ({
|
|
|
64
64
|
variant='text'
|
|
65
65
|
disabled=isPrevDisabled
|
|
66
66
|
icon=faAngleLeft
|
|
67
|
-
onPress=()=> onChangeMonth(-1)
|
|
67
|
+
onPress=() => onChangeMonth(-1)
|
|
68
68
|
)
|
|
69
69
|
Button.button(
|
|
70
70
|
color='text-description'
|
|
71
71
|
variant='text'
|
|
72
72
|
disabled=isNextDisabled
|
|
73
73
|
icon=faAngleRight
|
|
74
|
-
onPress=()=> onChangeMonth(1)
|
|
74
|
+
onPress=() => onChangeMonth(1)
|
|
75
75
|
)
|
|
76
76
|
`
|
|
77
77
|
}
|
|
@@ -96,7 +96,7 @@ function TimeSelect ({
|
|
|
96
96
|
Div.cell(
|
|
97
97
|
styleName={ isActive }
|
|
98
98
|
disabled=item.disabled
|
|
99
|
-
onPress=()=> onChangeDate && onChangeDate(item.value)
|
|
99
|
+
onPress=() => onChangeDate && onChangeDate(item.value)
|
|
100
100
|
)
|
|
101
101
|
Span.label(styleName={ isActive })
|
|
102
102
|
= item.label
|
|
@@ -115,7 +115,7 @@ function TimeSelect ({
|
|
|
115
115
|
length,
|
|
116
116
|
index
|
|
117
117
|
})
|
|
118
|
-
keyExtractor=item=> String(item.value)
|
|
118
|
+
keyExtractor=item => String(item.value)
|
|
119
119
|
)
|
|
120
120
|
`
|
|
121
121
|
}
|
package/index.tsx
CHANGED
|
@@ -431,7 +431,7 @@ function DateTimePicker ({
|
|
|
431
431
|
function renderWrapper (children: ReactNode): ReactNode {
|
|
432
432
|
return pug`
|
|
433
433
|
Div.popoverWrapper
|
|
434
|
-
Div.popoverOverlay(feedback=false onPress=()=> onChangeVisible(false))
|
|
434
|
+
Div.popoverOverlay(feedback=false onPress=() => onChangeVisible(false))
|
|
435
435
|
= children
|
|
436
436
|
`
|
|
437
437
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startupjs-ui/date-time-picker",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
12
12
|
"@react-native-community/datetimepicker": "^8.4.4",
|
|
13
|
-
"@startupjs-ui/abstract-popover": "^0.2.0
|
|
14
|
-
"@startupjs-ui/button": "^0.2.0
|
|
15
|
-
"@startupjs-ui/core": "^0.2.0
|
|
16
|
-
"@startupjs-ui/div": "^0.2.0
|
|
17
|
-
"@startupjs-ui/divider": "^0.2.0
|
|
18
|
-
"@startupjs-ui/drawer": "^0.2.0
|
|
19
|
-
"@startupjs-ui/flat-list": "^0.2.0
|
|
20
|
-
"@startupjs-ui/icon": "^0.2.0
|
|
21
|
-
"@startupjs-ui/popover": "^0.2.0
|
|
22
|
-
"@startupjs-ui/span": "^0.2.0
|
|
23
|
-
"@startupjs-ui/text-input": "^0.2.0
|
|
13
|
+
"@startupjs-ui/abstract-popover": "^0.2.0",
|
|
14
|
+
"@startupjs-ui/button": "^0.2.0",
|
|
15
|
+
"@startupjs-ui/core": "^0.2.0",
|
|
16
|
+
"@startupjs-ui/div": "^0.2.0",
|
|
17
|
+
"@startupjs-ui/divider": "^0.2.0",
|
|
18
|
+
"@startupjs-ui/drawer": "^0.2.0",
|
|
19
|
+
"@startupjs-ui/flat-list": "^0.2.0",
|
|
20
|
+
"@startupjs-ui/icon": "^0.2.0",
|
|
21
|
+
"@startupjs-ui/popover": "^0.2.0",
|
|
22
|
+
"@startupjs-ui/span": "^0.2.0",
|
|
23
|
+
"@startupjs-ui/text-input": "^0.2.0",
|
|
24
24
|
"moment-timezone": "^0.5.31",
|
|
25
25
|
"react-native-safe-area-context": "^5.6.0"
|
|
26
26
|
},
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"react-native": "*",
|
|
30
30
|
"startupjs": "*"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "0c586b841cba1c9d820542f6eca07470f5ea2659"
|
|
33
33
|
}
|