Gathering detailed insights and metrics for select-timezone-material-ui
Gathering detailed insights and metrics for select-timezone-material-ui
Gathering detailed insights and metrics for select-timezone-material-ui
Gathering detailed insights and metrics for select-timezone-material-ui
It allows you to select one of the timezones defined by Moment.Timezone from a material-ui like dropdown component
npm install select-timezone-material-ui
Typescript
Module System
TypeScript (96.47%)
JavaScript (3.53%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
8 Stars
21 Commits
3 Forks
1 Branches
1 Contributors
Updated on Apr 07, 2025
Latest Version
3.1.0
Package Id
select-timezone-material-ui@3.1.0
Unpacked Size
15.80 kB
Size
4.88 kB
File Count
7
Published on
Dec 10, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
It allows you to select one of the timezones defined by Moment.Timezone from a material-ui like dropdown component.
Selecting a timezone will also select all other timezones with the same offset.
You can access the storybook for this component here.
The component accepts the props defined bellow in the table.
Name | Type | Required | Default | Description |
---|---|---|---|---|
defaultTimezoneName | string | no | undefined | The initially selected timezone |
FormHelperTextProps | FormHelperTextProps | no | undefined | The props passed to helper text |
helperText | string | no | undefined | The helper text |
id | string | no | undefined | The id of the field |
InputLabelProps | InputLabelProps | no | undefined | The Props passed to label |
label | string | yes | - | The label of the field |
onChange | (timezoneName: string, timezoneOffset: number) => void | yes | - | The callback function called when the option is changed |
showTimezoneOffset | boolean | no | false | The options include the GMT offset if it is true |
timezoneName | string | no | undefined | The selected timezone |
SelectTimezoneMaterialUi uses | Material-ui | React |
---|---|---|
1.0.x | 4.2.0 | 16.8.6 |
2.0.x | 4.3.0 | 16.8.6 |
2.1.x | 4.3.1 | 16.8.6 |
2.2.x | 4.9.0 | 16.9.0 |
2.3.x | 4.9.7 | 16.9.0 |
2.4.x | 4.10.2 | 16.9.0 |
2.5.x | 4.11.0 | 16.9.0 |
2.6.x | 4.11.3 | 16.9.0 or 17.0.0 |
2.7.x | 4.12.3 | 16.9.0 or 17.0.0 |
2.8.x | 5.0.3 | 16.9.0 or 17.0.0 |
3.0.x | 5.10.17 | >=18.0.0 |
3.1.x | 5.14.20 | >=18.0.0 |
The base component which allows to create read-only or creatable select components for selecting only one or more values:
1import * as React from 'react'; 2import SelectTimezoneMaterialUi from 'input-material-ui'; 3 4class App extends React.Component { 5 render() { 6 return ( 7 <div className="App"> 8 <SelectTimezoneMaterialUi 9 label="Timezone" 10 helperText="Please select a timezone from the list" 11 onChange={onChange} 12 /> 13 </div> 14 ); 15 } 16 17 handleChange = (timezoneName: string, timezoneOffset: number) => { 18 console.log(timezoneName); 19 }; 20} 21 22export default App;
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/21 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
38 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More