@lowdefy/docs 4.0.0-alpha.6 → 4.0.0-alpha.7
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/CHANGELOG.md +75 -104
- package/actions/JsAction.yaml +6 -6
- package/blocks/container/Affix.yaml +1 -1
- package/blocks/container/Alert.yaml +2 -2
- package/blocks/container/Badge.yaml +1 -1
- package/blocks/container/Box.yaml +1 -1
- package/blocks/container/Card.yaml +1 -1
- package/blocks/container/Collapse.yaml +1 -1
- package/blocks/container/Comment.yaml +4 -4
- package/blocks/container/ConfirmModal.yaml +1 -1
- package/blocks/container/Descriptions.yaml +2 -2
- package/blocks/container/Drawer.yaml +1 -1
- package/blocks/container/Label.yaml +1 -2
- package/blocks/container/Modal.yaml +1 -1
- package/blocks/container/PageHCF.yaml +1 -1
- package/blocks/container/PageHCSF.yaml +1 -1
- package/blocks/container/PageHSCF.yaml +1 -1
- package/blocks/container/PageHeaderMenu.yaml +3 -3
- package/blocks/container/PageSHCF.yaml +1 -1
- package/blocks/container/PageSiderMenu.yaml +3 -3
- package/blocks/container/Result.yaml +2 -2
- package/blocks/container/Span.yaml +1 -1
- package/blocks/container/Spin.yaml +2 -2
- package/blocks/container/Tabs.yaml +2 -2
- package/blocks/container/Tooltip.yaml +1 -1
- package/blocks/display/Anchor.yaml +1 -2
- package/blocks/display/Avatar.yaml +1 -2
- package/blocks/display/Breadcrumb.yaml +2 -3
- package/blocks/display/Button.yaml +7 -7
- package/blocks/display/DangerousHtml.yaml +1 -1
- package/blocks/display/DangerousMarkdown.yaml +1 -1
- package/blocks/display/Divider.yaml +1 -3
- package/blocks/display/EChart.yaml +1 -1
- package/blocks/display/Html.yaml +2 -2
- package/blocks/display/Icon.yaml +1 -3
- package/blocks/display/Img.yaml +1 -1
- package/blocks/display/Markdown.yaml +5 -6
- package/blocks/display/MarkdownWithCode.yaml +3 -5
- package/blocks/display/Menu.yaml +3 -3
- package/blocks/display/Message.yaml +1 -1
- package/blocks/display/MobileMenu.yaml +3 -4
- package/blocks/display/Notification.yaml +2 -2
- package/blocks/display/Paragraph.yaml +2 -4
- package/blocks/display/Progress.yaml +8 -9
- package/blocks/display/Skeleton.yaml +1 -2
- package/blocks/display/Statistic.yaml +3 -5
- package/blocks/display/Title.yaml +1 -1
- package/blocks/input/AutoComplete.yaml +1 -2
- package/blocks/input/ButtonSelector.yaml +1 -2
- package/blocks/input/CheckboxSelector.yaml +1 -2
- package/blocks/input/CheckboxSwitch.yaml +1 -1
- package/blocks/input/ChromeColorSelector.yaml +1 -2
- package/blocks/input/CircleColorSelector.yaml +1 -2
- package/blocks/input/ColorSelector.yaml +1 -2
- package/blocks/input/CompactColorSelector.yaml +1 -2
- package/blocks/input/DateRangeSelector.yaml +1 -2
- package/blocks/input/DateSelector.yaml +1 -2
- package/blocks/input/DateTimeSelector.yaml +1 -2
- package/blocks/input/GithubColorSelector.yaml +1 -2
- package/blocks/input/MonthSelector.yaml +1 -2
- package/blocks/input/MultipleSelector.yaml +1 -1
- package/blocks/input/NumberInput.yaml +1 -1
- package/blocks/input/Pagination.yaml +3 -3
- package/blocks/input/ParagraphInput.yaml +1 -1
- package/blocks/input/PasswordInput.yaml +1 -1
- package/blocks/input/RadioSelector.yaml +1 -1
- package/blocks/input/RatingSlider.yaml +1 -1
- package/blocks/input/S3UploadButton.yaml +1 -1
- package/blocks/input/Selector.yaml +1 -1
- package/blocks/input/SliderColorSelector.yaml +1 -1
- package/blocks/input/SwatchesColorSelector.yaml +1 -1
- package/blocks/input/Switch.yaml +1 -1
- package/blocks/input/TextArea.yaml +1 -2
- package/blocks/input/TextInput.yaml +7 -7
- package/blocks/input/TitleInput.yaml +1 -1
- package/blocks/input/TwitterColorSelector.yaml +1 -1
- package/blocks/input/WeekSelector.yaml +1 -1
- package/blocks/list/ControlledList.yaml +18 -18
- package/blocks/list/List.yaml +16 -17
- package/blocks/list/TimelineList.yaml +23 -22
- package/concepts/cli.yaml +7 -7
- package/concepts/custom-blocks.yaml +16 -2
- package/concepts/custom-code.yaml +5 -4
- package/concepts/lowdefy-schema.yaml +5 -4
- package/connections/AxiosHttp.yaml +1 -1
- package/connections/Knex.yaml +7 -7
- package/connections/MongoDB.yaml +176 -47
- package/deployment/aws-lambda.yaml +3 -3
- package/deployment/docker.yaml +4 -4
- package/deployment/node-server.yaml +1 -1
- package/howto/generate-csv.yaml.njk +7 -6
- package/howto/generate-pdf.yaml.njk +21 -21
- package/howto/generateCsv/lowdefy.yaml +32 -31
- package/howto/generatePdf/lowdefy.yaml +10 -9
- package/introduction.yaml +1 -1
- package/lowdefy.yaml +1 -1
- package/menus.yaml +26 -29
- package/operators/_actions.yaml +2 -2
- package/operators/_get.yaml +6 -6
- package/operators/_js.yaml +2 -2
- package/operators/_ref.yaml +40 -6
- package/operators/_yaml.yaml +39 -15
- package/package.json +6 -7
- package/pages.yaml +8 -8
- package/public/sitemap.xml +204 -204
- package/templates/blocks/defaultValueTransformer.js +4 -2
- package/templates/blocks/exampleTransformer.js +1 -1
- package/templates/blocks/propertiesFormTransformer.js +3 -3
- package/templates/blocks/propertiesGetterTransformer.js +2 -2
- package/templates/blocks/schemaTransformer.js +1 -1
- package/templates/blocks/template.yaml.njk +3 -4
- package/templates/blog.yaml.njk +5 -5
- package/templates/cli_command.yaml.njk +2 -2
- package/templates/footer.yaml.njk +18 -18
- package/templates/general.yaml.njk +4 -4
- package/templates/generateSitemap.js +1 -2
- package/templates/header.yaml +2 -2
- package/templates/navigation_buttons.yaml +2 -2
- package/templates/operatorsMethodTransformer.js +2 -2
- package/templates/test/array.test.js +146 -166
- package/templates/test/boolean.test.js +13 -17
- package/templates/test/button.test.js +21 -25
- package/templates/test/color.test.js +21 -23
- package/templates/test/enum.test.js +15 -19
- package/templates/test/icon.test.js +17 -21
- package/templates/test/integer.test.js +13 -17
- package/templates/test/manual.test.js +66 -74
- package/templates/test/number.test.js +13 -17
- package/templates/test/object.test.js +90 -98
- package/templates/test/oneOf.test.js +108 -120
- package/templates/test/string.test.js +13 -17
- package/templates/test/yaml.test.js +96 -112
- package/tutorial/tutorial-actions-operators-config.yaml +4 -4
- package/tutorial/tutorial-actions-operators.yaml +6 -6
- package/tutorial/tutorial-add-blocks-config.yaml +4 -4
- package/tutorial/tutorial-add-blocks.yaml +4 -4
- package/tutorial/tutorial-create-page-config.yaml +2 -2
- package/tutorial/tutorial-create-page.yaml +4 -4
- package/tutorial/tutorial-deploy.yaml +2 -2
- package/tutorial/tutorial-requests-config.yaml +4 -4
- package/tutorial/tutorial-requests.yaml +2 -2
- package/tutorial/tutorial-start.yaml +6 -6
- package/users/login-and-logout.yaml +2 -2
- package/users/protected-pages.yaml +2 -2
- package/users/roles.yaml +2 -2
- package/users/users-introduction.yaml +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,212 +3,183 @@
|
|
|
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
|
-
# [4.0.0-alpha.
|
|
6
|
+
# [4.0.0-alpha.7](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.6...v4.0.0-alpha.7) (2022-02-21)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
10
10
|
|
|
11
|
-
* **
|
|
11
|
+
* **cli:** Change additional base dir references to config. ([e20cfdf](https://github.com/lowdefy/lowdefy/commit/e20cfdfdcb1f079ea80450b87608ae57ab4e30f8))
|
|
12
|
+
* **connection-mongodb:** Update MongoDB connection docs ([7f0fccf](https://github.com/lowdefy/lowdefy/commit/7f0fccffe308a14331c8c6f3ddb3c4579387facb))
|
|
13
|
+
* **docs:** Add CircleColorSelector to transformer and fix typo. ([9eea4f1](https://github.com/lowdefy/lowdefy/commit/9eea4f10b145929ace661f52809594cb02580a00))
|
|
14
|
+
* **docs:** Add docs on ES Modules in build resolvers and transformers. ([8a3605e](https://github.com/lowdefy/lowdefy/commit/8a3605e840b9f0a86fbf58f47ecbb507e85605fe))
|
|
15
|
+
* **docs:** Comment our JsAction usage. ([27a2361](https://github.com/lowdefy/lowdefy/commit/27a2361fc626a78a7b34b2bcdd074bc352a6a677))
|
|
16
|
+
* **docs:** Update paths for all blocks and some icon name fixes. ([e4369bb](https://github.com/lowdefy/lowdefy/commit/e4369bb3453c19d76f083b139f317de7dd96e090))
|
|
17
|
+
* Fix docs transformer fns tests. ([8a0e331](https://github.com/lowdefy/lowdefy/commit/8a0e3313abe15bee9ce28aa2d8b8f91a3482bae3))
|
|
18
|
+
* Fix V4 tests. ([d082d0c](https://github.com/lowdefy/lowdefy/commit/d082d0c335eb4426acadbf30a08de64266d9f004))
|
|
19
|
+
* Move S3UploadButton to plugin-aws. ([540aa03](https://github.com/lowdefy/lowdefy/commit/540aa035d2ed0672b0f3e233c1cee90e82d4bb52))
|
|
20
|
+
* Update docs for Anchor. ([53117b8](https://github.com/lowdefy/lowdefy/commit/53117b88cf759991539265ca84c0f47a9b45a911))
|
|
12
21
|
|
|
13
22
|
|
|
14
23
|
### Features
|
|
15
24
|
|
|
16
|
-
* Add
|
|
25
|
+
* **build:** Add buildPath to config. ([1cce024](https://github.com/lowdefy/lowdefy/commit/1cce024339bc89e4192d86f09d1a9ec233663f02))
|
|
26
|
+
* **build:** Use dynamic import for build resolver and transformer functions. ([c9db72a](https://github.com/lowdefy/lowdefy/commit/c9db72ac55109a85cfc821dfbbf87e54b4881d59))
|
|
27
|
+
* **cli:** Rename base-directory to config-directory. ([f09c569](https://github.com/lowdefy/lowdefy/commit/f09c569f0e4207ce31a9e5e002f8eb30ea221bc5))
|
|
28
|
+
* **docs:** Add docs for the Link component. ([37b80b1](https://github.com/lowdefy/lowdefy/commit/37b80b172bc078ab4b83f5932fc8d0908c5baf6f))
|
|
29
|
+
* **operators:** Change dependancy from js-yaml to yaml. ([cbb71d8](https://github.com/lowdefy/lowdefy/commit/cbb71d809b3117dbaf89b23c17a2229a24235308))
|
|
30
|
+
* **server:** Add ariaLabel and rel properties to Link. ([95b4447](https://github.com/lowdefy/lowdefy/commit/95b44473a3f67741951e4d020a0ad84a90805d94))
|
|
31
|
+
* **server:** Add replace and scroll to Link. ([9d6ac04](https://github.com/lowdefy/lowdefy/commit/9d6ac04b09f7c2281ebc699de504bba8b8b5e13b))
|
|
17
32
|
|
|
18
33
|
|
|
34
|
+
### BREAKING CHANGES
|
|
19
35
|
|
|
36
|
+
* **connection-mongodb:** The MongoDB driver was updated to v4, which has some changes to the option variable names.
|
|
37
|
+
* **operators:** _yaml.parse now takes an array or an object data instead of a string.
|
|
38
|
+
* href and strong property removed for Anchor block, replaced with Link properties.
|
|
39
|
+
* **cli:** Rename base-directory to config-directory.
|
|
20
40
|
|
|
21
41
|
|
|
22
|
-
# [4.0.0-alpha.5](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.4...v4.0.0-alpha.5) (2021-11-27)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @lowdefy/docs
|
|
25
42
|
|
|
43
|
+
## [3.23.2](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.5...v3.23.2) (2021-11-29)
|
|
26
44
|
|
|
27
45
|
|
|
28
46
|
|
|
29
47
|
|
|
30
|
-
# [4.0.0-alpha.4](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.3...v4.0.0-alpha.4) (2021-11-25)
|
|
31
48
|
|
|
32
|
-
|
|
49
|
+
# [4.0.0-alpha.6](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.5...v4.0.0-alpha.6) (2022-01-20)
|
|
33
50
|
|
|
51
|
+
### Bug Fixes
|
|
34
52
|
|
|
53
|
+
- **docs:** Added redis connection documentation. ([ee1620b](https://github.com/lowdefy/lowdefy/commit/ee1620bb41d8aa3f32e05e9b7e03c7986365c59f))
|
|
35
54
|
|
|
55
|
+
### Features
|
|
36
56
|
|
|
57
|
+
- Add \_diff to client operators as well as server. ([4e23fec](https://github.com/lowdefy/lowdefy/commit/4e23fec8a4985d7453dfcf750298bc0bedeb34a2))
|
|
37
58
|
|
|
38
|
-
# [4.0.0-alpha.
|
|
59
|
+
# [4.0.0-alpha.5](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.4...v4.0.0-alpha.5) (2021-11-27)
|
|
39
60
|
|
|
40
61
|
**Note:** Version bump only for package @lowdefy/docs
|
|
41
62
|
|
|
63
|
+
# [4.0.0-alpha.4](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.3...v4.0.0-alpha.4) (2021-11-25)
|
|
42
64
|
|
|
65
|
+
**Note:** Version bump only for package @lowdefy/docs
|
|
43
66
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
# [4.0.0-alpha.2](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.1...v4.0.0-alpha.2) (2021-11-25)
|
|
67
|
+
# [4.0.0-alpha.3](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.2...v4.0.0-alpha.3) (2021-11-25)
|
|
47
68
|
|
|
48
69
|
**Note:** Version bump only for package @lowdefy/docs
|
|
49
70
|
|
|
71
|
+
# [4.0.0-alpha.2](https://github.com/lowdefy/lowdefy/compare/v4.0.0-alpha.1...v4.0.0-alpha.2) (2021-11-25)
|
|
50
72
|
|
|
73
|
+
## [3.23.2](https://github.com/lowdefy/lowdefy/compare/v3.23.1...v3.23.2) (2021-11-29)
|
|
51
74
|
|
|
75
|
+
**Note:** Version bump only for package @lowdefy/docs
|
|
52
76
|
|
|
53
77
|
|
|
54
78
|
# [4.0.0-alpha.1](https://github.com/lowdefy/lowdefy/compare/v3.23.1...v4.0.0-alpha.1) (2021-11-25)
|
|
55
79
|
|
|
56
|
-
|
|
57
80
|
### Bug Fixes
|
|
58
81
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
82
|
+
- **docs:** Document that \_index operator is client side only. ([72c8228](https://github.com/lowdefy/lowdefy/commit/72c82282a3e6bcd3eb2eeaf3c09b395a0f152405))
|
|
83
|
+
- Replace all front end testing with @testing-library/react, jest and other updates. ([22ec295](https://github.com/lowdefy/lowdefy/commit/22ec2954047853096aabcddba7a2c509342f95f2))
|
|
62
84
|
|
|
63
85
|
### Features
|
|
64
86
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
87
|
+
- **blocksAntd:** Add HolderOutlined icon. ([c39c387](https://github.com/lowdefy/lowdefy/commit/c39c38752e4a681a1146e44b6638ff8486ff9da9))
|
|
88
|
+
- **blocksAntd:** Convert Alert to container and add action content area. ([49c6baa](https://github.com/lowdefy/lowdefy/commit/49c6baabeedd4ed5aaaf14f1d7b4ae5d2545d6cf))
|
|
89
|
+
- **blocksAntd:** Drawer: Add extra content area and contentWrapperStyle property. ([9273fac](https://github.com/lowdefy/lowdefy/commit/9273facac41e5ee6341c80e698f4367b7d8686f3))
|
|
90
|
+
- **blocks:** Convert all context category blocks to container. ([6bc03c8](https://github.com/lowdefy/lowdefy/commit/6bc03c86b80a3506c2b85076626ae15a401bcdfc))
|
|
91
|
+
- **blockTools:** Update to @emotion/css, optimize makeCssClass standarise jest settings. ([947defa](https://github.com/lowdefy/lowdefy/commit/947defa3d8934e061933b1e218b79f2f97456054))
|
|
92
|
+
- Replace server side state with payload and \_payload operator. ([1f928d9](https://github.com/lowdefy/lowdefy/commit/1f928d93db4cbe886d322a1a3998a817d769485f))
|
|
72
93
|
|
|
73
94
|
### BREAKING CHANGES
|
|
74
95
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
96
|
+
- The \_event, \_global, \_input, \_state, and \_url_query operators are no longer evaluated in connections or requests.
|
|
79
97
|
|
|
80
98
|
|
|
81
99
|
## [3.23.1](https://github.com/lowdefy/lowdefy/compare/v3.23.0...v3.23.1) (2021-11-20)
|
|
82
100
|
|
|
83
101
|
**Note:** Version bump only for package @lowdefy/docs
|
|
84
102
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
103
|
# [3.23.0](https://github.com/lowdefy/lowdefy/compare/v3.23.0-alpha.0...v3.23.0) (2021-11-19)
|
|
90
104
|
|
|
91
|
-
|
|
92
105
|
### Bug Fixes
|
|
93
106
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
107
|
+
- **docs:** Fix \_ref resolver function example. ([0903094](https://github.com/lowdefy/lowdefy/commit/0903094ce531f4d8ab7849deb91ab3d6b7e5fd82))
|
|
108
|
+
- **docs:** Included onSearch event example in MultipleSelector and Selector docs. ([0e53cb8](https://github.com/lowdefy/lowdefy/commit/0e53cb8f93ed49e0122ac038113d7378f67501f7))
|
|
100
109
|
|
|
101
110
|
# [3.23.0-alpha.0](https://github.com/lowdefy/lowdefy/compare/v3.22.0...v3.23.0-alpha.0) (2021-11-09)
|
|
102
111
|
|
|
103
|
-
|
|
104
112
|
### Bug Fixes
|
|
105
113
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
- Add \_switch operator to docs. ([c5c6f0c](https://github.com/lowdefy/lowdefy/commit/c5c6f0c9a5b0dfc89e09835d3ab940195a077504))
|
|
115
|
+
- Support .yml in lowdefy.yaml file. ([0f7cc2a](https://github.com/lowdefy/lowdefy/commit/0f7cc2a7612a5ad9a8164d5a5437dde5c6d7da49)), closes [#902](https://github.com/lowdefy/lowdefy/issues/902)
|
|
116
|
+
- **docs:** Add avatar and links to blog template. ([d855599](https://github.com/lowdefy/lowdefy/commit/d855599398cae041933dd8b11aaf77648f87d4c2))
|
|
117
|
+
- **docs:** Add how to generate pdfs. ([7b35550](https://github.com/lowdefy/lowdefy/commit/7b35550fa944995be8f8a9d0e809971cabcf12af))
|
|
118
|
+
- **docs:** Fix the iframe videos in the docs. ([c4a957a](https://github.com/lowdefy/lowdefy/commit/c4a957a12ea5adf018b373d8da8c5116e064205f))
|
|
119
|
+
- improvements on blog template. ([30e2291](https://github.com/lowdefy/lowdefy/commit/30e22917fed9932e43cde942532654aa4a6aeac6))
|
|
120
|
+
- **docs:** Add how to generate CSVs. ([2cc8e45](https://github.com/lowdefy/lowdefy/commit/2cc8e45b165aa755dceb9e40525f8a0511fb3485))
|
|
114
121
|
|
|
115
122
|
### Features
|
|
116
123
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
- **docs:** Add how to generate csv. ([3257f51](https://github.com/lowdefy/lowdefy/commit/3257f514b95f7cafb8ac30998194e7ae0a327862))
|
|
125
|
+
- **docs:** Add videos to how tos. ([57c7779](https://github.com/lowdefy/lowdefy/commit/57c77798f0356c606cf90bfd36a4f63ab8d0ff36))
|
|
126
|
+
- Add generate pdf how to. ([5bde460](https://github.com/lowdefy/lowdefy/commit/5bde460934e2dc94d677af5f287e3c85c0ff4c34))
|
|
127
|
+
- **docs:** Added switch operator documentation. ([7c42c78](https://github.com/lowdefy/lowdefy/commit/7c42c7882422ea89332b32bcef985b5bc5059ec8))
|
|
125
128
|
|
|
126
129
|
# [3.22.0](https://github.com/lowdefy/lowdefy/compare/v3.22.0-alpha.1...v3.22.0) (2021-09-27)
|
|
127
130
|
|
|
128
|
-
|
|
129
131
|
### Bug Fixes
|
|
130
132
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
- **cli:** Use renderer served from blocks server url if configured. ([69d14b4](https://github.com/lowdefy/lowdefy/commit/69d14b4a862827beac955a5039df225af689f297)), closes [#840](https://github.com/lowdefy/lowdefy/issues/840)
|
|
134
|
+
- **docs:** Fix AxiosHttp connection type spelling in docs. ([d9b53a0](https://github.com/lowdefy/lowdefy/commit/d9b53a034111bc65813d81c036376d05274ff6c7))
|
|
134
135
|
|
|
135
136
|
### Features
|
|
136
137
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
- Add `_array.reduce` examples. ([c9a6b50](https://github.com/lowdefy/lowdefy/commit/c9a6b50017c05774654388244b06076646449ce9))
|
|
142
139
|
|
|
143
140
|
# [3.22.0-alpha.1](https://github.com/lowdefy/lowdefy/compare/v3.22.0-alpha.0...v3.22.0-alpha.1) (2021-09-20)
|
|
144
141
|
|
|
145
|
-
|
|
146
142
|
### Bug Fixes
|
|
147
143
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
144
|
+
- **docs:** Added CheckboxSwitch examples and CheckboxSelector note. ([9cf56bf](https://github.com/lowdefy/lowdefy/commit/9cf56bfbaa5c7a75c55d24d2f965ec351c1672e0))
|
|
145
|
+
- **docs:** Added copyable and ellipsis config to Title block. ([9f8632e](https://github.com/lowdefy/lowdefy/commit/9f8632ec577196ea45471470a9dd13d3dbc09446))
|
|
146
|
+
- **docs:** Change npx commands to specific versions for deployments. ([f2c380b](https://github.com/lowdefy/lowdefy/commit/f2c380b07a78defff79281d5c07c61a718bfe750))
|
|
147
|
+
- **docs:** Convert CLI commands to npx commands. ([c9cd643](https://github.com/lowdefy/lowdefy/commit/c9cd643f3809fdc0cde7ba47e17e392b3236c17b))
|
|
148
|
+
- **docs:** Update CLI npm install docs. ([98a8b71](https://github.com/lowdefy/lowdefy/commit/98a8b71ff2ef961ccfcb8b94e115b4162881dd38))
|
|
154
149
|
|
|
155
150
|
### Features
|
|
156
151
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
152
|
+
- **docs:** Add \_get operator switch example. ([b727b9e](https://github.com/lowdefy/lowdefy/commit/b727b9edd0f37d3d10d5add32cbd9411fa4b6f98))
|
|
153
|
+
- **docs:** Added CheckboxSwitch docs. ([81752aa](https://github.com/lowdefy/lowdefy/commit/81752aa927f1d6050a290440ca15a87c05f3ea51))
|
|
163
154
|
|
|
164
155
|
# [3.22.0-alpha.0](https://github.com/lowdefy/lowdefy/compare/v3.21.2...v3.22.0-alpha.0) (2021-09-08)
|
|
165
156
|
|
|
166
|
-
|
|
167
157
|
### Features
|
|
168
158
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
159
|
+
- **docs:** Add Stripe documentation. ([ed963ec](https://github.com/lowdefy/lowdefy/commit/ed963ec823ef19e88ed8320d71b83a7eef2e6cfe))
|
|
160
|
+
- **docs:** Added Password Input block docs. ([ee8bda4](https://github.com/lowdefy/lowdefy/commit/ee8bda4a5bd6248c03433a720652d72c3b9ddbae))
|
|
175
161
|
|
|
176
162
|
## [3.21.2](https://github.com/lowdefy/lowdefy/compare/v3.21.2-alpha.0...v3.21.2) (2021-08-31)
|
|
177
163
|
|
|
178
164
|
**Note:** Version bump only for package @lowdefy/docs
|
|
179
165
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
166
|
## [3.21.2-alpha.0](https://github.com/lowdefy/lowdefy/compare/v3.21.1...v3.21.2-alpha.0) (2021-08-31)
|
|
185
167
|
|
|
186
|
-
|
|
187
168
|
### Bug Fixes
|
|
188
169
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
170
|
+
- Downgrade mongodb driver to LTS version 3.6.12. ([24f94f6](https://github.com/lowdefy/lowdefy/commit/24f94f644256cfc4f1b09c3122f2525c58f1502c))
|
|
194
171
|
|
|
195
172
|
## [3.21.1](https://github.com/lowdefy/lowdefy/compare/v3.21.0...v3.21.1) (2021-08-26)
|
|
196
173
|
|
|
197
|
-
|
|
198
174
|
### Bug Fixes
|
|
199
175
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
176
|
+
- **docs:** Add missing hash docs. ([2520555](https://github.com/lowdefy/lowdefy/commit/2520555212b699bf58d9a01b5db996cb2f5b44cb))
|
|
177
|
+
- **docs:** Add responsive layout docs and video. ([5c31dac](https://github.com/lowdefy/lowdefy/commit/5c31dacda32ec8688dcf6605756c6a1262867adf))
|
|
178
|
+
- **docs:** Update node server docs. ([bb64d3e](https://github.com/lowdefy/lowdefy/commit/bb64d3e850b0c60a5129babbb5b144a577d8635d))
|
|
204
179
|
|
|
205
180
|
### Features
|
|
206
181
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
182
|
+
- **docs:** Added responsive setup to Layout Concepts. ([0635433](https://github.com/lowdefy/lowdefy/commit/0635433df47ff1fd1fe067231ea0a9ff4b3f652e))
|
|
212
183
|
|
|
213
184
|
# [3.21.0](https://github.com/lowdefy/lowdefy/compare/v3.20.4...v3.21.0) (2021-08-25)
|
|
214
185
|
|
package/actions/JsAction.yaml
CHANGED
|
@@ -66,7 +66,7 @@ _ref:
|
|
|
66
66
|
```yaml
|
|
67
67
|
# lowdefy.yaml
|
|
68
68
|
name: intercom-example
|
|
69
|
-
lowdefy: '3.23.
|
|
69
|
+
lowdefy: '3.23.2'
|
|
70
70
|
app:
|
|
71
71
|
html:
|
|
72
72
|
appendBody: |
|
|
@@ -94,7 +94,7 @@ _ref:
|
|
|
94
94
|
events:
|
|
95
95
|
onInitAsync:
|
|
96
96
|
- id: set_intercom_user
|
|
97
|
-
type: JsAction
|
|
97
|
+
type: JsAction # TODO:
|
|
98
98
|
params:
|
|
99
99
|
name: setIntercomUser
|
|
100
100
|
blocks:
|
|
@@ -137,7 +137,7 @@ _ref:
|
|
|
137
137
|
```yaml
|
|
138
138
|
# file: lowdefy.yaml
|
|
139
139
|
name: text-highlight-example
|
|
140
|
-
lowdefy: '3.23.
|
|
140
|
+
lowdefy: '3.23.2'
|
|
141
141
|
app:
|
|
142
142
|
html:
|
|
143
143
|
# Load the custom modules into the index.html head tag.
|
|
@@ -196,14 +196,14 @@ _ref:
|
|
|
196
196
|
type: TextInput
|
|
197
197
|
properties:
|
|
198
198
|
title: Type to search products
|
|
199
|
-
prefix:
|
|
199
|
+
prefix: AiOutlinedSearch
|
|
200
200
|
events:
|
|
201
201
|
onChange:
|
|
202
202
|
- id: get_search # get search_products query for search.input
|
|
203
203
|
type: Request
|
|
204
204
|
params: search_products
|
|
205
205
|
- id: apply_highlight # apply the highlight transformation to the request data.
|
|
206
|
-
type: JsAction
|
|
206
|
+
type: JsAction # TODO:
|
|
207
207
|
params:
|
|
208
208
|
name: highlightText
|
|
209
209
|
args:
|
|
@@ -271,7 +271,7 @@ _ref:
|
|
|
271
271
|
events:
|
|
272
272
|
onClick:
|
|
273
273
|
- id: loop_requests
|
|
274
|
-
type: JsAction
|
|
274
|
+
type: JsAction # TODO:
|
|
275
275
|
params:
|
|
276
276
|
name: loopRequests
|
|
277
277
|
args:
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Affix
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Affix/schema.json
|
|
21
21
|
filePath: blocks/container/Affix.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
An Affix block makes it's content stick to the viewport.
|
|
@@ -17,8 +17,8 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Alert
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
21
|
-
filePath: blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Alert/schema.json
|
|
21
|
+
filePath: blocks/container/Alert.yaml
|
|
22
22
|
init_property_values:
|
|
23
23
|
message: Alerts help to highlight important information.
|
|
24
24
|
description_content: |
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Badge
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Badge/schema.json
|
|
21
21
|
filePath: blocks/container/Badge.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
Small numerical value or status descriptor for UI elements. Badge is used as a container block, describing its content block.
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Box
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-basic/src/blocks/Box/schema.json
|
|
21
21
|
filePath: blocks/container/Box.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
A Box is a container that places sub-blocks into a html `<div>`.
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Card
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Card/schema.json
|
|
21
21
|
filePath: blocks/container/Card.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
A Card container places blocks on a white background with a card border.
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Collapse
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Collapse/schema.json
|
|
21
21
|
description_content: |
|
|
22
22
|
A container with collapsible panels. The area keys are user defined, and should be listed under the `panels` property. Each panel also has a 'extra' content area, the key of which can be defined in the `panels.$.extraKey` property.
|
|
23
23
|
init_state_values:
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Comment
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Comment/schema.json
|
|
21
21
|
filePath: blocks/container/Comment.yaml
|
|
22
22
|
init_state_values:
|
|
23
23
|
__type_block.properties.avatar: object
|
|
@@ -33,11 +33,11 @@ _ref:
|
|
|
33
33
|
block:
|
|
34
34
|
id: comment_ex
|
|
35
35
|
type: Comment
|
|
36
|
-
properties:
|
|
36
|
+
properties:
|
|
37
37
|
author: The Dude
|
|
38
38
|
content: Yeah, well, you know, that’s just, like, your opinion, man.
|
|
39
39
|
datetime: 18 January, 1998
|
|
40
|
-
avatar:
|
|
41
|
-
color:
|
|
40
|
+
avatar:
|
|
41
|
+
color: '#402B18'
|
|
42
42
|
content: TD
|
|
43
43
|
shape: square
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: ConfirmModal
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/ConfirmModal/schema.json
|
|
21
21
|
filePath: blocks/container/ConfirmModal.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
A popup container, presenting the user with a modal confirmation dialog.
|
|
@@ -17,8 +17,8 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Descriptions
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
21
|
-
filePath: blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Descriptions/schema.json
|
|
21
|
+
filePath: blocks/container/Descriptions.yaml
|
|
22
22
|
init_state_values:
|
|
23
23
|
__type_block.properties.column: number
|
|
24
24
|
__type_block.properties.items: object[]
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Drawer
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Drawer/schema.json
|
|
21
21
|
filePath: blocks/container/Drawer.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
A panel which slides in from the edge of the screen.
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Label
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Label/schema.json
|
|
21
21
|
filePath: blocks/container/Label.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
A container that provides a label for a input block. Most input block use Label by default.
|
|
@@ -26,4 +26,3 @@ _ref:
|
|
|
26
26
|
areas:
|
|
27
27
|
- content
|
|
28
28
|
# - label
|
|
29
|
-
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Modal
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Modal/schema.json
|
|
21
21
|
filePath: blocks/container/Modal.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
A popup container, presenting the user with a modal dialog.
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageHCF
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/PageHCF/schema.json
|
|
21
21
|
filePath: blocks/container/PageHCF.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
Page HCF provides a minimal layout structure for a page container with a header, content and footer area.
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageHCSF
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/PageHCSF/schema.json
|
|
21
21
|
filePath: blocks/container/PageHCSF.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
Page HCSF provides a minimal layout structure for a page container with a header, content, sider and footer arrangement.
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageHSCF
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/PageHSCF/schema.json
|
|
21
21
|
filePath: blocks/container/PageHSCF.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
Page HSCF provides a minimal layout structure for a page container with a header, sider, content, and footer arrangement.
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageHeaderMenu
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/PageHeaderMenu/schema.json
|
|
21
21
|
filePath: blocks/container/PageHeaderMenu.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
The Page Header Menu block provides a structured layout for a page with a header containing a menu, content and footer area.
|
|
@@ -27,13 +27,13 @@ _ref:
|
|
|
27
27
|
type: MenuLink
|
|
28
28
|
pageId: home
|
|
29
29
|
properties:
|
|
30
|
-
icon:
|
|
30
|
+
icon: AiOutlinedHome
|
|
31
31
|
title: Home
|
|
32
32
|
- id: pages
|
|
33
33
|
type: MenuGroup
|
|
34
34
|
properties:
|
|
35
35
|
title: Pages
|
|
36
|
-
icon:
|
|
36
|
+
icon: AiOutlinedLayout
|
|
37
37
|
links:
|
|
38
38
|
- id: page1
|
|
39
39
|
type: MenuLink
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageSHCF
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/PageSHCF/schema.json
|
|
21
21
|
filePath: blocks/container/PageSHCF.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
Page SHCF provides a minimal layout structure for a page container with a sider, header, content, and footer arrangement.
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: PageSiderMenu
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/PageSiderMenu/schema.json
|
|
21
21
|
filePath: blocks/container/PageSiderMenu.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
The Page Sider Menu block provides a structured layout for a page with a header, sider including menu, content and footer area.
|
|
@@ -27,13 +27,13 @@ _ref:
|
|
|
27
27
|
type: MenuLink
|
|
28
28
|
pageId: home
|
|
29
29
|
properties:
|
|
30
|
-
icon:
|
|
30
|
+
icon: AiOutlinedHome
|
|
31
31
|
title: Home
|
|
32
32
|
- id: pages
|
|
33
33
|
type: MenuGroup
|
|
34
34
|
properties:
|
|
35
35
|
title: Pages
|
|
36
|
-
icon:
|
|
36
|
+
icon: AiOutlinedLayout
|
|
37
37
|
links:
|
|
38
38
|
- id: page1
|
|
39
39
|
type: MenuLink
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Result
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Result/schema.json
|
|
21
21
|
filePath: blocks/container/Result.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
Used to provide feedback the results of a task or error.
|
|
@@ -29,6 +29,6 @@ _ref:
|
|
|
29
29
|
block:
|
|
30
30
|
id: error_example
|
|
31
31
|
type: Result
|
|
32
|
-
properties:
|
|
32
|
+
properties:
|
|
33
33
|
status: 500
|
|
34
34
|
title: An error occurred
|
|
@@ -17,7 +17,7 @@ _ref:
|
|
|
17
17
|
vars:
|
|
18
18
|
block_type: Span
|
|
19
19
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
20
|
+
schema: ../plugins/blocks/blocks-basic/src/blocks/Span/schema.json
|
|
21
21
|
filePath: blocks/container/Span.yaml
|
|
22
22
|
description_content: |
|
|
23
23
|
A Span is a container that places sub-blocks into a html `<span>`.
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
+
# TODO: Create antd spinner block.
|
|
15
16
|
_ref:
|
|
16
17
|
path: templates/blocks/template.yaml.njk
|
|
17
18
|
vars:
|
|
18
19
|
block_type: Spin
|
|
19
20
|
category: container
|
|
20
|
-
schema: ../blocks/
|
|
21
|
+
schema: ../plugins/blocks/blocks-antd/src/blocks/Spin/schema.json
|
|
21
22
|
filePath: blocks/container/Spin.yaml
|
|
22
23
|
description_content: |
|
|
23
24
|
A loading spinner. Can be used as a display block, or as container wrapping another block, with the `spinning` property set in `state`.
|
|
24
25
|
areas:
|
|
25
26
|
- content
|
|
26
27
|
# - indicator
|
|
27
|
-
|