@vaadin/vaadin-date-picker 20.0.1 → 20.0.5
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 +6 -49
- package/package.json +11 -11
- package/src/vaadin-date-picker.js +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
[](https://www.npmjs.com/package/@vaadin/vaadin-date-picker)
|
|
2
|
-
[](https://www.webcomponents.org/element/vaadin/vaadin-date-picker)
|
|
3
|
-
[](https://travis-ci.org/vaadin/vaadin-date-picker)
|
|
4
|
-
[](https://coveralls.io/github/vaadin/vaadin-date-picker?branch=master)
|
|
5
|
-
[](https://gitter.im/vaadin/web-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
|
6
|
-
|
|
7
|
-
[](https://vaadin.com/directory/component/vaadinvaadin-date-picker)
|
|
8
|
-
[](https://vaadin.com/directory/component/vaadinvaadin-date-picker)
|
|
9
|
-
|
|
10
1
|
# <vaadin-date-picker>
|
|
11
2
|
|
|
12
3
|
[Live Demo ↗](https://vaadin.com/components/vaadin-date-picker/html-examples)
|
|
@@ -15,9 +6,12 @@
|
|
|
15
6
|
|
|
16
7
|
[<vaadin-date-picker>](https://vaadin.com/components/vaadin-date-picker) is a Web Component providing a date selection field which includes a scrollable month calendar view, part of the [Vaadin components](https://vaadin.com/components).
|
|
17
8
|
|
|
9
|
+
[](https://www.npmjs.com/package/@vaadin/vaadin-date-picker)
|
|
10
|
+
[](https://vaadin.com/directory/component/vaadinvaadin-date-picker)
|
|
11
|
+
[](https://discord.gg/PHmkCKC)
|
|
12
|
+
|
|
18
13
|
```html
|
|
19
|
-
<vaadin-date-picker label="Label" placeholder="Placeholder">
|
|
20
|
-
</vaadin-date-picker>
|
|
14
|
+
<vaadin-date-picker label="Label" placeholder="Placeholder"></vaadin-date-picker>
|
|
21
15
|
```
|
|
22
16
|
|
|
23
17
|
[<img src="https://raw.githubusercontent.com/vaadin/vaadin-date-picker/master/screenshot.png" width="439" alt="Screenshot of vaadin-date-picker">](https://vaadin.com/components/vaadin-date-picker)
|
|
@@ -60,46 +54,9 @@ To use the Material theme, import the correspondent file from the `theme/materia
|
|
|
60
54
|
`vaadin-date-picker.js`
|
|
61
55
|
`vaadin-date-picker-light.js`
|
|
62
56
|
|
|
63
|
-
|
|
64
|
-
## Running APi docs and tests in a browser
|
|
65
|
-
|
|
66
|
-
1. Fork the `vaadin-date-picker` repository and clone it locally.
|
|
67
|
-
|
|
68
|
-
1. Make sure you have [node.js](https://nodejs.org/) 12.x installed.
|
|
69
|
-
|
|
70
|
-
1. Make sure you have [npm](https://www.npmjs.com/) installed.
|
|
71
|
-
|
|
72
|
-
1. When in the `vaadin-date-picker` directory, run `npm install` to install dependencies.
|
|
73
|
-
|
|
74
|
-
1. Run `npm start`, browser will automatically open the component API documentation.
|
|
75
|
-
|
|
76
|
-
1. You can also open visual tests, for example:
|
|
77
|
-
|
|
78
|
-
- http://127.0.0.1:3000/test/visual/default.html
|
|
79
|
-
|
|
80
|
-
## Running tests from the command line
|
|
81
|
-
|
|
82
|
-
1. When in the `vaadin-date-picker` directory, run `npm test`
|
|
83
|
-
|
|
84
|
-
## Debugging tests in the browser
|
|
85
|
-
|
|
86
|
-
1. Run `npm run debug`, then choose manual mode (M) and open the link in browser.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
## Following the coding style
|
|
90
|
-
|
|
91
|
-
We are using [ESLint](http://eslint.org/) for linting JavaScript code. You can check if your code is following our standards by running `npm run lint`, which will automatically lint all `.js` files.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
## Big Thanks
|
|
95
|
-
|
|
96
|
-
Cross-browser Testing Platform and Open Source <3 Provided by [Sauce Labs](https://saucelabs.com).
|
|
97
|
-
|
|
98
|
-
|
|
99
57
|
## Contributing
|
|
100
58
|
|
|
101
|
-
|
|
102
|
-
|
|
59
|
+
Read the [contributing guide](https://vaadin.com/docs/latest/guide/contributing/overview) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
|
|
103
60
|
|
|
104
61
|
## License
|
|
105
62
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/vaadin-date-picker",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.5",
|
|
4
4
|
"description": "Web component providing a date selection field with scrollable month calendar",
|
|
5
5
|
"main": "vaadin-date-picker.js",
|
|
6
6
|
"module": "vaadin-date-picker.js",
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
"@polymer/iron-media-query": "^3.0.0",
|
|
30
30
|
"@polymer/iron-resizable-behavior": "^3.0.0",
|
|
31
31
|
"@polymer/polymer": "^3.2.0",
|
|
32
|
-
"@vaadin/vaadin-button": "20.0.
|
|
33
|
-
"@vaadin/vaadin-control-state-mixin": "20.0.
|
|
34
|
-
"@vaadin/vaadin-element-mixin": "20.0.
|
|
35
|
-
"@vaadin/vaadin-lumo-styles": "20.0.
|
|
36
|
-
"@vaadin/vaadin-material-styles": "20.0.
|
|
37
|
-
"@vaadin/vaadin-overlay": "20.0.
|
|
38
|
-
"@vaadin/vaadin-text-field": "20.0.
|
|
39
|
-
"@vaadin/vaadin-themable-mixin": "20.0.
|
|
32
|
+
"@vaadin/vaadin-button": "^20.0.5",
|
|
33
|
+
"@vaadin/vaadin-control-state-mixin": "^20.0.5",
|
|
34
|
+
"@vaadin/vaadin-element-mixin": "^20.0.5",
|
|
35
|
+
"@vaadin/vaadin-lumo-styles": "^20.0.5",
|
|
36
|
+
"@vaadin/vaadin-material-styles": "^20.0.5",
|
|
37
|
+
"@vaadin/vaadin-overlay": "^20.0.5",
|
|
38
|
+
"@vaadin/vaadin-text-field": "^20.0.5",
|
|
39
|
+
"@vaadin/vaadin-themable-mixin": "^20.0.5"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@esm-bundle/chai": "^4.1.5",
|
|
43
43
|
"@vaadin/testing-helpers": "^0.2.1",
|
|
44
|
-
"@vaadin/vaadin-dialog": "20.0.
|
|
44
|
+
"@vaadin/vaadin-dialog": "^20.0.5",
|
|
45
45
|
"sinon": "^9.2.0"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "03da16363a1e41e29361cf0ac6d2664d9d801c19"
|
|
51
51
|
}
|