- Add a panel for dynamically adjusting properties in the development environment.
- New Function: A cell can bind multiple events.
- Refactoring most of the old code.
- Modify the document according to the updated content of v1.7.0.
- 修改bug-滚动到指定行的索引小于当前可视区域内第一行的索引时,滚动异常.
- Update dependency package.
- Rewrite the scrolling logic; improve some comments, and modify some incorrect comments.
- Improve the readability of some source code, such as variable naming.
- Modify the className of the outermost container of the component to more recognizable and unique characters to avoid polluting other components or pages.
- Cancel the mouse events of the outermost container and the events bound to the cell row in the code, and replace the original functions with React events. See Article 6 for details.
- Added React event support, and 3 additional scroll-related custom events.
- The disclosed attributes and methods have been optimized and adjusted.
This version has not updated features, only some field names and comments have been optimized. In addition, the version of the core dependency library has been updated, as well as some updates in the development mode. The details are as follows:
- Remove yarn.lock and package-lock.json from .gitignore
- Update the version of highlight.js in development mode. The version used before the update (v 9.15.6) has a vulnerability. In fact, the version before v 10.4.1 has this vulnerability
- Update the version of the core dependency library
- Optimized the parameter structure of the callback function exposed to the object unit (note that props can be re-assigned through the callback function of the object unit, and the component has been updated. This function has existed before, but it is not explained in the text)
- Update the README.md file
- New object cell: input.
- Optimization of generation rules for object cells. You can now add custom attributes, react-related HTML attributes, and HTML attributes specified by w3school in the configuration of the object cell to make the resulting tags more friendly.
- Modify the description of the fields available in the object cell in the README.md file.
1.5.1 For some reason, v1.5.1 has disappeared! Don't panic, everything in v1.5.1 is included in v1.6.0. But I recommend using the latest version.
- Fix bug: when setting css property {border-collapse: 'collapse'}, 'border-spacing' is invalid because it is ignored.
- Fix bug: Numeric parsing error when custom cell width value is 'avg' or multiple values separated by commas.
- Fix bug: When deactivating list auto scrolling, you can't manually control the list to scroll to the specified row.
- Fix bug: Callback functions for object cell {type: 'radio', ...} and {type: 'checkbox', ...} are not available. Note: This bug exists in all versions prior to version 1.5.1.
- Optimize the parameter structure of the callback function.
- Refactored part of the code.
- Customize the text of the header serial number.
- Configuration item update: property.body.row.rowCheckbox is no longer set directly to a Boolean value, but an object.
- Custom row selection box or row serial number inserted into which column of the list.
- You can define partial styles of the body, which usually do not affect the layout of the list.
- Body height changes with list height whenever.
- Fix bug: When the row selection or row number feature is enabled, the columns in the header are misaligned with the columns in the body.
- Refactoring the code logic for row hover effects.
- Normal text can also be written as an object cell to increase the event.
- Modify the logic of scrolling.
- The height calculation method of the scroll area is updated: the padding of the component and the width of the border are now subtracted.
- Performance optimization: Pause component scrolling when switching to other tabbed pages in the browser.
- Fix default parameters of property.scroll, consistent with previous versions.
- Fix bug: when scrolling by row and scrolling to the last row, the component will stop scrolling.
- New object cell: drop-down list.
- Some methods of the component can be used to manipulate the component in the object cell's callback function. For example:
scrollTo(9)can scroll the list to a row with index 9. - update README document.
- Integrate the original scrolling function related components of the component and add some new scrolling configuration. You can configure it in ‘property.scroll’.
- Fix bug: When obsolete properties are used, the program is terminated when the obsolete property and the new substitution property (if any) do not belong to the child of the same object.
- Print outdated property warnings only in the development environment.
- Added a description of modifying the data structure in the readme file: a new way of writing about row. (This feature is already available in version 1.2.1, but not in the readme file)
- Fix bug: jsx is invalid in data.
- Rewrite button, radio, and checkbox custom events; Rewrite the logic of radio and checkbox.
- Readme file can be switched to Chinese or English.
- A warning will be printed on the console when using the obsolete property.
- Cancel the definition of the click event of the row in the property in the 1.2.0 version, instead of defining it in the data property, just like other object cells.
- Events can be added to rows, and previous versions can only add events to cells.
- Fix bug: When the line number feature is enabled, the style of the row number cell is applied to all cells in the row.
- Added two examples to be applied to actual projects.
- Use
webpack externals: Prevent bundling of certain imported packages and instead retrieve these external dependencies at runtime. - Only publish useful files to npm
- Update the README document: Add 'img' to the object cell type. The 'img' type can also be used in previous versions, just to supplement the documentation.
- Display the specific configuration of each demo.
- Write configuration documents.
- Modify the configuration file structure.
- The outermost container can customize the className property.
- Modify the CI configuration file.
- optimize some of the code.
- Modify the error in the CI configuration file.
- Write unit test cases.
- Complete WebPack development framework.
- Add unit test.
- add codecov.
- Adjust the frame structure, add examples and app directories, and improve the README.md file.
[Unpublished] This version was released due to misoperation. This version has major flaws and has been withdrawn.
- Custom className attribute: The tags inside the cell (such as: button, a, input, etc.) can customize the className property.
[beta] Start beta test.
- Fixed bug in post-compilation reference component error reporting.
- Data update animation.
- Cell click event.
- Row number.
- Cells can be customized to the following formats: checkbox, radio, link, and button.
[alpha] Alpha test phase.