summaryrefslogtreecommitdiffstats
path: root/shared
Commit message (Collapse)AuthorAgeFilesLines
* VerticalLayout has spacing = true and margin = true by default .Ilia Motornyi2016-12-121-0/+11
| | | | | HorizontalLayout has spacing = true and margin = false by default. Fixes vaadin/framework8-issues#526
* Change Upload to be in immediate mode by default (#111)Pekka Hyvönen2016-12-121-1/+1
| | | Fixes vaadin/framework8-issues#547
* Update @since tag for 7.7.4.Denis Anisimov2016-12-091-1/+1
| | | | Change-Id: Ic6711221d0f09ad369c4074d805b237eccb2e5a7
* Make UPPER_CASE_PROPERTY_IDS more human friendly by default (#20380)Artur Signell2016-12-092-0/+58
| | | | Change-Id: I9bd845a08fa3c440f05d102ccf8920dfc1c95b6b
* Check for duplicate property ids when setting Grid columns or column order ↵Artur Signell2016-12-092-0/+73
| | | | | | (#20386) Change-Id: I76be83642f0e56e55b0c0e502ac6769de1ee8af0
* Change default suggestion popup width in ComboBox (#91)Aleksi Hietanen2016-12-081-1/+1
| | | Closes vaadin/framework8-issues#522
* Introduce dedicated shared states for every core vaadin component/ext. (#98)Denis2016-12-0832-35/+621
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce dedicated shared states for every core vaadin component/ext. Updated components are: - PasswordField - CustomField - AbstractListing - AbstractMultiSelect - ColorPicker - ColorPickerArea - DataCommunicator - Responsive - AbstractListingExtension - DetailsManager - AbstractRenderer - ClickableRenderer - ButtonRenderer - CheckBoxRenderer - DateRenderer - HtmlRenderer - ImageRenderer - NumberRenderer - ProgressBarRenderer - TextRenderer Fixes vaadin/framework8-issues#480.
* Add read-only support for single and multi select views for Grid. (#84)Denis2016-12-061-0/+5
| | | | | | * Add read-only support for single and multi select views for Grid. Fixes vaadin/framework8-issues#516
* Allow to set caption for the empty selection in a ComboBox.Denis Anisimov2016-12-011-0/+5
| | | | | | | Fixes vaadin/framework8-issues#163 Change-Id: Ib68ad5421934c8375a91d7948d860381a5adb9bb
* Add AbstractSelectionModel for GridPekka Hyvönen2016-11-303-5/+58
| | | | | | | | Also adds shared state for grid's selection models. This is mostly for making it possible later to modify the selection models, without breaking backwards API compatibility and having to duplicate code. Change-Id: If93720df282bf5ca3aff17a20b455d60b33f764c
* Enable select all checkbox for MultiSelection Grid.Pekka Hyvönen2016-11-301-0/+33
| | | | | | | It is by default shown only if used data provider is in-memory. Can be configured to be explicitly shown or hidden. Change-Id: I50569d915604c3722a22e14b7628663d5680ed83
* Provide access to window order position in windows stack (#14325).Denis Anisimov2016-11-292-0/+42
| | | Change-Id: I259c659987b5b15b354e16d0be1523f4ede809f0
* Correct all tests that introspect classpath for Vaadin classes.Denis Anisimov2016-11-291-2/+9
| | | | | | | | Fixes vaadin/framework8-issues#399 RemoveListenersDeprecatedTest test is fixed. Corrections are made to make the test above passes. Change-Id: I209a4693d241a1488b69b4742f48549dbf4bf0ac
* Add MultiSelect support for GridPekka Hyvönen2016-11-291-0/+39
| | | | | | | | | | | Still missing following things coming in next patches: - select all checkbox - firing an event when data provider is changed in grid - read only selection models for grid Part 1 for vaadin/framework8-issues#232 Change-Id: Ib2c7c81a838f43cb7c521a56d50139c91961f54a
* Add shared state for CustomComponent and DragAndDropWrapperHenri Sara2016-11-282-0/+54
| | | | Change-Id: Ib640e5ea97bccffb889d3213a4f588b828fb07bf
* Add state classes for Abstract(Single)ComponentContainerHenri Sara2016-11-288-13/+79
| | | | Change-Id: I6939fbc6f7aed0897f50b19f85fb62d0b8368cc7
* Reintroduce Grid Editor using BinderTeemu Suo-Anttila2016-11-254-0/+167
| | | | | | This patch restores the bean type to BinderValidationStatusHandler Change-Id: I9ace77a492c4823c15591fb1426e9bd216895fb0
* Grid merging header cellselmot2016-11-241-0/+4
| | | | Change-Id: Ia52bbef412fc8701f6b862960dfed9c08c17ff7a
* Make SelectionModel API only server side.Denis Anisimov2016-11-021-225/+0
| | | | | | | Client side doesn't use selection model anymore. Fixes vaadin/framework8-issues#421 Change-Id: If3ecb1c2f3a0024df9bfdfd182eaf8cf8625ac75
* Move read-only to AbstractFieldState (#8514)Teemu Suo-Anttila2016-11-022-1/+5
| | | | Change-Id: I0baea991bd80075d63c5d57e3b07f4e9fcb12676
* Clean up state hierarchy for AbstractFieldStateTeemu Suo-Anttila2016-11-027-46/+19
| | | | Change-Id: I33c8c977bf8cd2d4c637d7988586496ce963465f
* Move setReadOnly from Component to HasValueTeemu Suo-Anttila2016-11-021-0/+2
| | | | Change-Id: Ib867b71cab4cf5cda89f272986930297b7a84ced
* Replace setRequired & HasRequired with setRequiredIndicatorPekka Hyvönen2016-11-017-14/+45
| | | | | | | | | | | Vaadin 7 compatiblity fields still use setRequired via AbstractField (legacy). Public setRequiredIndicator is added to AbstractField, AbstractMultiSelect and AbstractSingleSelect. Internally it is still handled on AbstractComponent & -Connector level. Changes the declarative syntax, required -> required-indicator-visible. Fixes vaadin/framework8-issue#419 Change-Id: I940dc66944d27584bd78e5452aee627ee3abd03a
* Grid html/component content in headersAleksi Hietanen2016-10-251-0/+16
| | | | Change-Id: Ie6129b51d15d4f30a6b4c034999ff02deec1c6a7
* Implement basic footer support for GridTeemu Suo-Anttila2016-10-191-0/+3
| | | | Change-Id: I3db51521320767a28bc3acd9586b1453764a15bc
* Use placeholder instead of inputPrompt for DateFieldPekka Hyvönen2016-10-141-0/+4
| | | | | | | | | Renames the API server side and uses placeholder attribute for input. Removed PopupDateFieldInputPrompt test since it tests input prompt logic, that is no longer there after switching to native placeholder attribute for input element. Change-Id: I5c66456781f8703ba2e253134b88f8372825528f
* Remove AbstractComponent.immediatePekka Hyvönen2016-10-131-2/+0
| | | | | | | | | | | | | All components are now in immediate mode by default. V7 compatibility components will use AbstractLegacyComponent that has immediate. V7 ColorPickerPopup will not have setImmediate, since it extends V8 Window, which is not in V7 compatibility packages. Removed OutOfSync and ResynchronizeAfterAsyncRemoval Tests, since those tested UI in not immediate mode, which is invalid now. Removed WindowResizeListener, LazyWindowResize, test UIs, since both used immediate and there were no test run for either. Change-Id: Ie1c8cfa4c48461db944ff9b13efe8473c5a3298f
* Revert NativeSelect DOM structure change8.0.0.alpha4Aleksi Hietanen2016-10-071-4/+4
| | | | Change-Id: I11dcd769dd81a90b41cc74707ef8d6ef4ddc9be7
* Separate immediate mode for Upload from AbstactComponent.immediatePekka Hyvönen2016-10-071-0/+3
| | | | | | | | Makes it possible to remove the immediate from AbstractComponent. Part 2 / 2 of adding proper Upload immediateMode, first was to move old Upload to v7 compatiblity packages. Change-Id: Iff99df70d9465fa1f3bad4baae44a0488eba01c0
* Make ColorPicker subcomponents HasValuesJohannes Dahlström2016-10-052-4/+4
| | | | Change-Id: Ia0502ef515e2b44f105a3a4c6ae7b0b62b8ab6bb
* Make ColorPicker an AbstractField<Color>Johannes Dahlström2016-10-031-3/+2
| | | | | | | Remove old ColorSelector API from ColorPicker. The various subcomponents still implement ColorSelector for now. Change-Id: If0e30eda71c5fe30f7128056a65fb127a4953089
* Make AbstractDateField based on LocalDate (#125).Denis Anisimov2016-09-302-20/+3
| | | | Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb
* ListSelect with new data binding API8.0.0.alpha3Pekka Hyvönen2016-09-281-0/+33
| | | | | | | | No single select mode for list select. Based on AbstractMultiSelect. Removes feature for adding new items. Change-Id: I9a92aaf1f3d338a3b05c3aa4048f9db496dacd1d
* Initial support for multiple headers in new GridJohannes Dahlström2016-09-272-0/+60
| | | | Change-Id: I7a3fa34749322451ab5cef4465d4d7c76029c097
* TwinColSelect with new databinding APIPekka Hyvönen2016-09-274-20/+135
| | | | | | | | | | | | | | | | Removes feature for adding new items. Introduces a AbstractMultiSelect-abstraction layer, which is used in server side by TwinColSelect & CheckBoxGroup and on client side only TwinColSelect for now. Plan is to use it for ListSelect too. Further improvement would be to make AbstractMultiSelect use SelectionModel that extends AbstractSelectionModel and is thus used as an extension both as client & server side. Updates to JUnit 4.12 for easier use of @Parameterized test.. Change-Id: I64258c2229b9514d382693748e2ca562a1e448d4
* Reintroduce grid column sizingAleksi Hietanen2016-09-231-0/+24
| | | | Change-Id: Ie5e91c3e9c8f2c9d8c05415d5602e2eaf3bd960b
* Reintroduce grid column hidingAleksi Hietanen2016-09-202-5/+10
| | | | Change-Id: I8a0344dffe3f2ef84f8134e05d9b7340d9b603a0
* Create a RadioButtonGroup that replaces the single select case of OptionGroupelmot2016-09-162-0/+66
| | | | Change-Id: I56b0f1dfa889e2eaa3db9b0b0aac860f1bb4dea8
* Update @since tags for 8.0Henri Sara2016-09-142-2/+2
| | | | Change-Id: Iec8a81424e1cae9c3dc6c760732e0d48c4a38af2
* Use state for ComboBox selectionHenri Sara2016-09-143-44/+6
| | | | Change-Id: I612376b4030a750c987ba2d8016a4dc44bc02d41
* Convert ComboBox to inherit AbstractSingleSelectHenri Sara2016-09-141-2/+2
| | | | | | | ComboBoxState now inherits AbstractSingleSelectState, but still effectively communicates its selection via RPC. Change-Id: I47b6a73f275e0c4c63d70d2c2c8badc95a218157
* Implement support for binding single-select componentsJohannes Dahlström2016-09-141-3/+20
| | | | Change-Id: I340e802e5c8e6e036b54f81ec46beeb5e1c34329
* Add multi selection support to CheckBoxGroupLeif Åstrand2016-09-141-0/+2
| | | | | | | | This patch adds multi selection support only for CheckBoxGroup without even trying to generalize anything. Adopting the concepts to work with other components will be done separately. Change-Id: Id4ccd2c743b74cb022dc9dfd8cd8dae3bf8f0c54
* Create a CheckBoxGroup that replaces the multi select case of OptionGroupelmot2016-09-132-0/+63
| | | | Change-Id: I250c60741bc65443b66498a8d0b17541edb77bf1
* Make ComboBoxConnector extend AbstractListingConnectorHenri Sara2016-09-131-2/+2
| | | | Change-Id: I146b13d99b77beb2cf99019c5878b26f61b69b6c
* Remove unused state flag in AbstractFieldStateHenri Sara2016-09-131-1/+0
| | | | Change-Id: Ia7542be3b73eb4932cc3f2324e1da098a9844a4a
* Update ComboBox for new DataSource and communication mechanismHenri Sara2016-09-124-0/+202
| | | | | | | | This simplifies the client side state machine. This change does not modify the CSS class name v-filterselect. Change-Id: I2f4a6e5252045cb7698d582be90693e00961b342
* Update NativeSelect to use DataSource, extend AbstractListingJohannes Dahlström2016-09-121-0/+37
| | | | | | Selection and focus/blur support not yet implemented. Change-Id: I76752084442216e60055d93367475c1c0a612787
* Reimplement Grid selection model in terms of AbstractSingleSelectionJohannes Dahlström2016-09-122-5/+3
| | | | Change-Id: Id21cb0df32e07bd01f90a29a814dcf0775067bfa
* Implement new RichTextAreaArtur Signell2016-09-125-1/+116
| | | | Change-Id: I6f430c77caaad6d610133f340eba960f2268897e