Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 0dc22f3

Browse files
committed
Merge branch 'test-branch'
2 parents 14ed8c0 + a64b4dd commit 0dc22f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+11237
-1037
lines changed

.babelrc

100644100755
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"presets": [
3-
"env",
4-
"react"
3+
["@babel/preset-env", { "targets": { "node": "current" } }],
4+
["@babel/preset-react"],
55
],
66
"plugins": [
7-
"date-fns",
8-
"transform-object-rest-spread",
9-
"transform-export-extensions"
7+
["@babel/plugin-proposal-class-properties"],
8+
["@babel/plugin-proposal-export-default-from"]
109
]
11-
}
10+
}
11+

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.github/issue_template.md

100644100755
File mode changed.

.github/pull_request_template.md

100644100755
File mode changed.

.gitignore

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist/
55
.idea
66
*.orig
77
lib/
8+
NOTES.txt

.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ node_modules/
22
.DS_Store
33
*.log
44
.gitignore
5+
.gitattributes
56
.git/
67
demo/
7-
webpack.config.js
8+
webpack/
89
yarn.lock.js
910
.postcssconfig
1011
.babelrc

.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"printWidth": 110,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": true,
7+
"trailingComma": "none",
8+
"bracketSpacing": true,
9+
"jsxBracketSameLine": false,
10+
"fluid": false
11+
}

.vscode/settings.json

100644100755
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"prettier.eslintIntegration": true,
32
"eslint.enable": true,
4-
"eslint.autoFixOnSave": true,
5-
"editor.tabSize": 2
3+
"editor.tabSize": 2,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.eslint": true
6+
}
67
}
File renamed without changes.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ focusedRange(DateRange) | Object | | It defines
126126
onRangeFocusChange(DateRange) | Object | | Callback function for focus changes
127127
preview(DateRange) | Object | | displays a preview range and overwrite DateRange's default preview. Expected shape: `{ startDate: Date, endDate: Date, color: String }`
128128
showPreview(DateRange) | bool | true | visibility of preview
129+
editableDateInputs(Calendar) | bool | false | whether dates can be edited in the Calendar's input fields
129130
dragSelectionEnabled(Calendar) | bool | true | whether dates can be selected via drag n drop
130131
onPreviewChange(DateRange) | Object | | Callback function for preview changes
131132
dateDisplayFormat(DateRange) | String | `MMM D, YYYY` | selected range preview formatter. Check out [date-fns's format option](https://date-fns.org/v2.0.0-alpha.7/docs/format)

0 commit comments

Comments
 (0)