@operato/data-grist 0.3.9 → 0.3.16

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.
Files changed (90) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/assets/images/no-image.png +0 -0
  3. package/custom-elements.json +747 -180
  4. package/demo/index.html +38 -62
  5. package/dist/src/configure/list-option-builder.js +0 -2
  6. package/dist/src/configure/list-option-builder.js.map +1 -1
  7. package/dist/src/configure/zero-config.d.ts +0 -1
  8. package/dist/src/configure/zero-config.js +0 -2
  9. package/dist/src/configure/zero-config.js.map +1 -1
  10. package/dist/src/data-card/data-card.d.ts +3 -6
  11. package/dist/src/data-card/data-card.js +3 -130
  12. package/dist/src/data-card/data-card.js.map +1 -1
  13. package/dist/src/data-card/record-card.d.ts +0 -1
  14. package/dist/src/data-card/record-card.js +16 -13
  15. package/dist/src/data-card/record-card.js.map +1 -1
  16. package/dist/src/data-grid/data-grid-body.d.ts +1 -1
  17. package/dist/src/data-grid/data-grid-body.js +5 -5
  18. package/dist/src/data-grid/data-grid-body.js.map +1 -1
  19. package/dist/src/data-grid/data-grid-field.d.ts +1 -1
  20. package/dist/src/data-grid/data-grid-field.js +4 -2
  21. package/dist/src/data-grid/data-grid-field.js.map +1 -1
  22. package/dist/src/data-grid/data-grid-header.d.ts +1 -0
  23. package/dist/src/data-grid/data-grid-header.js +9 -1
  24. package/dist/src/data-grid/data-grid-header.js.map +1 -1
  25. package/dist/src/data-grid/data-grid.d.ts +8 -5
  26. package/dist/src/data-grid/data-grid.js +7 -133
  27. package/dist/src/data-grid/data-grid.js.map +1 -1
  28. package/dist/src/data-grist.d.ts +1 -0
  29. package/dist/src/data-grist.js +4 -4
  30. package/dist/src/data-grist.js.map +1 -1
  31. package/dist/src/data-list/data-list.d.ts +3 -6
  32. package/dist/src/data-list/data-list.js +3 -130
  33. package/dist/src/data-list/data-list.js.map +1 -1
  34. package/dist/src/data-manipulator.d.ts +20 -0
  35. package/dist/src/data-manipulator.js +148 -0
  36. package/dist/src/data-manipulator.js.map +1 -0
  37. package/dist/src/editors/registry.d.ts +1 -1
  38. package/dist/src/editors/registry.js.map +1 -1
  39. package/dist/src/gutters/gutter-button.js +1 -0
  40. package/dist/src/gutters/gutter-button.js.map +1 -1
  41. package/dist/src/gutters/gutter-row-selector.js +1 -0
  42. package/dist/src/gutters/gutter-row-selector.js.map +1 -1
  43. package/dist/src/record-view/event-handlers/record-view-body-click-handler.d.ts +7 -0
  44. package/dist/src/record-view/event-handlers/record-view-body-click-handler.js +22 -0
  45. package/dist/src/record-view/event-handlers/record-view-body-click-handler.js.map +1 -0
  46. package/dist/src/record-view/event-handlers/record-view-body-keydown-handler.d.ts +7 -0
  47. package/dist/src/record-view/event-handlers/record-view-body-keydown-handler.js +96 -0
  48. package/dist/src/record-view/event-handlers/record-view-body-keydown-handler.js.map +1 -0
  49. package/dist/src/record-view/record-creator.d.ts +13 -0
  50. package/dist/src/record-view/record-creator.js +90 -0
  51. package/dist/src/record-view/record-creator.js.map +1 -0
  52. package/dist/src/record-view/record-view-body.d.ts +4 -5
  53. package/dist/src/record-view/record-view-body.js +19 -44
  54. package/dist/src/record-view/record-view-body.js.map +1 -1
  55. package/dist/src/record-view/record-view.d.ts +7 -2
  56. package/dist/src/record-view/record-view.js +114 -41
  57. package/dist/src/record-view/record-view.js.map +1 -1
  58. package/dist/src/renderers/image-renderer.js +12 -4
  59. package/dist/src/renderers/image-renderer.js.map +1 -1
  60. package/dist/src/sorters/sorters-control.d.ts +12 -0
  61. package/dist/src/sorters/sorters-control.js +106 -0
  62. package/dist/src/sorters/sorters-control.js.map +1 -0
  63. package/dist/src/types.d.ts +2 -3
  64. package/dist/src/types.js.map +1 -1
  65. package/dist/tsconfig.tsbuildinfo +1 -1
  66. package/package.json +10 -8
  67. package/src/configure/list-option-builder.ts +0 -2
  68. package/src/configure/zero-config.ts +0 -2
  69. package/src/data-card/data-card.ts +4 -156
  70. package/src/data-card/record-card.ts +17 -14
  71. package/src/data-grid/data-grid-body.ts +6 -6
  72. package/src/data-grid/data-grid-field.ts +5 -3
  73. package/src/data-grid/data-grid-header.ts +11 -1
  74. package/src/data-grid/data-grid.ts +19 -149
  75. package/src/data-grist.ts +5 -4
  76. package/src/data-list/data-list.ts +4 -156
  77. package/src/data-manipulator.ts +201 -0
  78. package/src/editors/registry.ts +2 -3
  79. package/src/gutters/gutter-button.ts +3 -2
  80. package/src/gutters/gutter-row-selector.ts +3 -2
  81. package/src/record-view/event-handlers/record-view-body-click-handler.ts +28 -0
  82. package/src/record-view/event-handlers/record-view-body-keydown-handler.ts +115 -0
  83. package/src/record-view/record-creator.ts +111 -0
  84. package/src/record-view/record-view-body.ts +21 -58
  85. package/src/record-view/record-view.ts +123 -48
  86. package/src/renderers/image-renderer.ts +14 -5
  87. package/src/sorters/sorters-control.ts +111 -0
  88. package/src/types.ts +10 -3
  89. package/themes/grist-theme.css +2 -22
  90. package/yarn-error.log +16718 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,77 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### [0.3.16](https://github.com/hatiolab/operato/compare/v0.3.15...v0.3.16) (2022-01-19)
7
+
8
+
9
+ ### :bug: Bug Fix
10
+
11
+ * css selector ':scope' ([f675478](https://github.com/hatiolab/operato/commit/f675478aa96cbcd43b0870ce394390857f2a6a71))
12
+ * grid editor key 'esc' and 'enter' ([6d5c202](https://github.com/hatiolab/operato/commit/6d5c202aff31ba201b675e9aa0ee655eebd3473d))
13
+ * separate data-manipulator from data-grid/list/card ([8c5de61](https://github.com/hatiolab/operato/commit/8c5de6115b04cd46035bd5ca7d023ed3c0ed43e0))
14
+ * sorters-control & record-view ([6387b06](https://github.com/hatiolab/operato/commit/6387b061202f241967ecef1aaff75dee96bb1add))
15
+
16
+
17
+ ### :rocket: New Features
18
+
19
+ * added data-grist sorters-control ([c7718ae](https://github.com/hatiolab/operato/commit/c7718ae0217d6592800ed2279a334a78e1f486bc))
20
+ * closest-element in @operato/utils ([f517bde](https://github.com/hatiolab/operato/commit/f517bdea07de913a349da5cb99a25b5eab53548e))
21
+
22
+
23
+
24
+ ### [0.3.15](https://github.com/hatiolab/operato/compare/v0.3.14...v0.3.15) (2022-01-17)
25
+
26
+
27
+ ### :bug: Bug Fix
28
+
29
+ * applied no-image.png to data-grist image-renderer ([18612a6](https://github.com/hatiolab/operato/commit/18612a6ce8bca7dda7edda1168a79c689cae84cc))
30
+ * data-grist image-renderer width limit ([4eda4ed](https://github.com/hatiolab/operato/commit/4eda4edc35863a4803c15f4efd65416bcc33cc8d))
31
+
32
+
33
+
34
+ ### [0.3.14](https://github.com/hatiolab/operato/compare/v0.3.13...v0.3.14) (2022-01-16)
35
+
36
+
37
+ ### :bug: Bug Fix
38
+
39
+ * support data-grist record view for thumbnail upload ([5c4f3d9](https://github.com/hatiolab/operato/commit/5c4f3d9e0e58c47619074a287bc6ada6519f11f7))
40
+
41
+
42
+
43
+ ### [0.3.13](https://github.com/hatiolab/operato/compare/v0.3.12...v0.3.13) (2022-01-15)
44
+
45
+ **Note:** Version bump only for package @operato/data-grist
46
+
47
+
48
+
49
+
50
+
51
+ ### [0.3.12](https://github.com/hatiolab/operato/compare/v0.3.11...v0.3.12) (2022-01-15)
52
+
53
+ **Note:** Version bump only for package @operato/data-grist
54
+
55
+
56
+
57
+
58
+
59
+ ### [0.3.11](https://github.com/hatiolab/operato/compare/v0.3.10...v0.3.11) (2022-01-15)
60
+
61
+ **Note:** Version bump only for package @operato/data-grist
62
+
63
+
64
+
65
+
66
+
67
+ ### [0.3.10](https://github.com/hatiolab/operato/compare/v0.3.9...v0.3.10) (2022-01-15)
68
+
69
+
70
+ ### :bug: Bug Fix
71
+
72
+ * avoid exceptions due to undefined data ([4290e19](https://github.com/hatiolab/operato/commit/4290e190f45211ab44ef30244ae680f93e200b85))
73
+ * data-grist record-view ([aa71ec5](https://github.com/hatiolab/operato/commit/aa71ec5600f4dbccd05fcbc249445c73a41d2168))
74
+
75
+
76
+
6
77
  ### [0.3.9](https://github.com/hatiolab/operato/compare/v0.3.8...v0.3.9) (2022-01-15)
7
78
 
8
79
 
Binary file