@lowdefy/docs 3.21.1 → 3.22.0-alpha.1
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 +52 -0
- package/actions/JsAction.yaml +2 -2
- package/blocks/display/Title.yaml +4 -2
- package/blocks/input/CheckboxSwitch.yaml +56 -0
- package/blocks/input/PasswordInput.yaml +48 -0
- package/concepts/cli.yaml +11 -3
- package/concepts/custom-blocks.yaml +2 -2
- package/concepts/custom-code.yaml +3 -3
- package/connections/AxiosHttp.yaml +1 -1
- package/connections/MongoDB.yaml +52 -193
- package/connections/Stripe.yaml +139 -0
- package/deployment/aws-lambda.yaml +2 -2
- package/deployment/docker.yaml +2 -2
- package/deployment/netlify.yaml +1 -1
- package/lowdefy.yaml +1 -1
- package/menus.yaml +11 -2
- package/operators/_actions.yaml +1 -1
- package/operators/_get.yaml +15 -0
- package/operators/_js.yaml +2 -2
- package/operators/_ref.yaml +4 -4
- package/package.json +2 -2
- package/pages.yaml +3 -0
- package/public/sitemap.xml +198 -198
- package/tutorial/tutorial-create-page.yaml +1 -1
- package/tutorial/tutorial-start.yaml +1 -1
- 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 +1 -1
- package/version.yaml +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,58 @@
|
|
|
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
|
+
# [3.22.0-alpha.1](https://github.com/lowdefy/lowdefy/compare/v3.22.0-alpha.0...v3.22.0-alpha.1) (2021-09-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **docs:** Added CheckboxSwitch examples and CheckboxSelector note. ([9cf56bf](https://github.com/lowdefy/lowdefy/commit/9cf56bfbaa5c7a75c55d24d2f965ec351c1672e0))
|
|
12
|
+
* **docs:** Added copyable and ellipsis config to Title block. ([9f8632e](https://github.com/lowdefy/lowdefy/commit/9f8632ec577196ea45471470a9dd13d3dbc09446))
|
|
13
|
+
* **docs:** Change npx commands to specific versions for deployments. ([f2c380b](https://github.com/lowdefy/lowdefy/commit/f2c380b07a78defff79281d5c07c61a718bfe750))
|
|
14
|
+
* **docs:** Convert CLI commands to npx commands. ([c9cd643](https://github.com/lowdefy/lowdefy/commit/c9cd643f3809fdc0cde7ba47e17e392b3236c17b))
|
|
15
|
+
* **docs:** Update CLI npm install docs. ([98a8b71](https://github.com/lowdefy/lowdefy/commit/98a8b71ff2ef961ccfcb8b94e115b4162881dd38))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **docs:** Add _get operator switch example. ([b727b9e](https://github.com/lowdefy/lowdefy/commit/b727b9edd0f37d3d10d5add32cbd9411fa4b6f98))
|
|
21
|
+
* **docs:** Added CheckboxSwitch docs. ([81752aa](https://github.com/lowdefy/lowdefy/commit/81752aa927f1d6050a290440ca15a87c05f3ea51))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# [3.22.0-alpha.0](https://github.com/lowdefy/lowdefy/compare/v3.21.2...v3.22.0-alpha.0) (2021-09-08)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* **docs:** Add Stripe documentation. ([ed963ec](https://github.com/lowdefy/lowdefy/commit/ed963ec823ef19e88ed8320d71b83a7eef2e6cfe))
|
|
33
|
+
* **docs:** Added Password Input block docs. ([ee8bda4](https://github.com/lowdefy/lowdefy/commit/ee8bda4a5bd6248c03433a720652d72c3b9ddbae))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## [3.21.2](https://github.com/lowdefy/lowdefy/compare/v3.21.2-alpha.0...v3.21.2) (2021-08-31)
|
|
40
|
+
|
|
41
|
+
**Note:** Version bump only for package @lowdefy/docs
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## [3.21.2-alpha.0](https://github.com/lowdefy/lowdefy/compare/v3.21.1...v3.21.2-alpha.0) (2021-08-31)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Bug Fixes
|
|
51
|
+
|
|
52
|
+
* Downgrade mongodb driver to LTS version 3.6.12. ([24f94f6](https://github.com/lowdefy/lowdefy/commit/24f94f644256cfc4f1b09c3122f2525c58f1502c))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
6
58
|
## [3.21.1](https://github.com/lowdefy/lowdefy/compare/v3.21.0...v3.21.1) (2021-08-26)
|
|
7
59
|
|
|
8
60
|
|
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.21.
|
|
69
|
+
lowdefy: '3.21.2'
|
|
70
70
|
app:
|
|
71
71
|
html:
|
|
72
72
|
appendBody: |
|
|
@@ -137,7 +137,7 @@ _ref:
|
|
|
137
137
|
```yaml
|
|
138
138
|
# file: lowdefy.yaml
|
|
139
139
|
name: text-highlight-example
|
|
140
|
-
lowdefy: '3.21.
|
|
140
|
+
lowdefy: '3.21.2'
|
|
141
141
|
app:
|
|
142
142
|
html:
|
|
143
143
|
# Load the custom modules into the index.html head tag.
|
|
@@ -20,11 +20,13 @@ _ref:
|
|
|
20
20
|
schema: ../blocks/blocksAntd/src/blocks/Title/Title.json
|
|
21
21
|
filePath: blocks/display/Title.yaml
|
|
22
22
|
init_state_values:
|
|
23
|
+
__type_block.properties.copyable: boolean
|
|
24
|
+
__type_block.properties.ellipsis: boolean
|
|
25
|
+
__boolean_block.properties.copyable: false
|
|
26
|
+
__boolean_block.properties.ellipsis: false
|
|
23
27
|
__type_block.properties.value: number
|
|
24
28
|
__number_block.properties.value: 33.3
|
|
25
29
|
init_property_values:
|
|
26
30
|
content: A title block.
|
|
27
31
|
description_content: |
|
|
28
32
|
A title component. Corresponds to html h1, h2, h3 and h4 elements.
|
|
29
|
-
|
|
30
|
-
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
+
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
_ref:
|
|
16
|
+
path: templates/blocks/template.yaml.njk
|
|
17
|
+
vars:
|
|
18
|
+
block_type: CheckboxSwitch
|
|
19
|
+
value_type: any[]
|
|
20
|
+
category: input
|
|
21
|
+
schema: ../blocks/blocksAntd/src/blocks/CheckboxSwitch/CheckboxSwitch.json
|
|
22
|
+
filePath: blocks/input/CheckboxSwitch.yaml
|
|
23
|
+
description_content: |
|
|
24
|
+
The `CheckboxSwitch` block allows a user to select a boolean value between (true/false).
|
|
25
|
+
|
|
26
|
+
> A similar switch block is `Switch`. Alternatively the `CheckboxSelector` can be used to list multiple options.
|
|
27
|
+
examples:
|
|
28
|
+
- title: Checkbox only
|
|
29
|
+
block:
|
|
30
|
+
id: checkbox_example
|
|
31
|
+
type: CheckboxSwitch
|
|
32
|
+
properties:
|
|
33
|
+
label:
|
|
34
|
+
disabled: true
|
|
35
|
+
- title: Description only
|
|
36
|
+
block:
|
|
37
|
+
id: description_example
|
|
38
|
+
type: CheckboxSwitch
|
|
39
|
+
properties:
|
|
40
|
+
description: Option
|
|
41
|
+
- title: Description and label
|
|
42
|
+
block:
|
|
43
|
+
id: description_label_example
|
|
44
|
+
type: CheckboxSwitch
|
|
45
|
+
properties:
|
|
46
|
+
description: Option
|
|
47
|
+
label:
|
|
48
|
+
title: Label
|
|
49
|
+
- title: Agree to terms and conditions
|
|
50
|
+
block:
|
|
51
|
+
id: terms_example
|
|
52
|
+
type: CheckboxSwitch
|
|
53
|
+
properties:
|
|
54
|
+
description: I agree to the terms and conditions and privacy policy as found on the website.... Thoroughly I agree to the terms and conditions and privacy policy as found on the website....
|
|
55
|
+
label:
|
|
56
|
+
disabled: true
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Copyright 2020-2021 Lowdefy, Inc
|
|
2
|
+
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
_ref:
|
|
16
|
+
path: templates/blocks/template.yaml.njk
|
|
17
|
+
vars:
|
|
18
|
+
block_type: PasswordInput
|
|
19
|
+
value_type: string
|
|
20
|
+
category: input
|
|
21
|
+
schema: ../blocks/blocksAntd/src/blocks/PasswordInput/PasswordInput.json
|
|
22
|
+
filePath: blocks/input/PasswordInput.yaml
|
|
23
|
+
description_content: |
|
|
24
|
+
The `PasswordInput` block is a single line password input.
|
|
25
|
+
|
|
26
|
+
examples:
|
|
27
|
+
- title: Required password input
|
|
28
|
+
block:
|
|
29
|
+
id: required_example
|
|
30
|
+
type: PasswordInput
|
|
31
|
+
required: true
|
|
32
|
+
properties:
|
|
33
|
+
title: Required password input
|
|
34
|
+
- title: Placeholder
|
|
35
|
+
block:
|
|
36
|
+
id: placeholder_example
|
|
37
|
+
type: PasswordInput
|
|
38
|
+
properties:
|
|
39
|
+
placeholder: Placeholder
|
|
40
|
+
- title: Password
|
|
41
|
+
block:
|
|
42
|
+
id: password
|
|
43
|
+
type: PasswordInput
|
|
44
|
+
properties:
|
|
45
|
+
title: Password
|
|
46
|
+
placeholder: Your password
|
|
47
|
+
label:
|
|
48
|
+
span: 6
|
package/concepts/cli.yaml
CHANGED
|
@@ -38,7 +38,15 @@ _ref:
|
|
|
38
38
|
npx lowdefy@version <command>
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Alternative, you can install the CLI globally or to a npm project (with a `package.json` file) via npm
|
|
41
|
+
Alternative, you can install the CLI globally or to a npm project (with a `package.json` file) via npm or yarn.
|
|
42
|
+
|
|
43
|
+
To install the CLI globally run:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
npm install lowdefy -g
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The CLI can then be run using `lowdefy` as the executable name:
|
|
42
50
|
|
|
43
51
|
```
|
|
44
52
|
lowdefy <command>
|
|
@@ -90,12 +98,12 @@ _ref:
|
|
|
90
98
|
|
|
91
99
|
Run the dev server, watching a relative directory for file changes:
|
|
92
100
|
```txt
|
|
93
|
-
lowdefy dev --watch ../other-project
|
|
101
|
+
npx lowdefy@latest dev --watch ../other-project
|
|
94
102
|
```
|
|
95
103
|
|
|
96
104
|
Run the dev server, ignoring the public directory:
|
|
97
105
|
```txt
|
|
98
|
-
lowdefy dev --watch-ignore public/**
|
|
106
|
+
npx lowdefy@latest dev --watch-ignore public/**
|
|
99
107
|
```
|
|
100
108
|
|
|
101
109
|
# Configuration
|
|
@@ -45,7 +45,7 @@ _ref:
|
|
|
45
45
|
|
|
46
46
|
```yaml
|
|
47
47
|
name: dashboard-app
|
|
48
|
-
lowdefy: 3.21.
|
|
48
|
+
lowdefy: 3.21.2
|
|
49
49
|
types:
|
|
50
50
|
AmChartsXY:
|
|
51
51
|
url: https://blocks-cdn.lowdefy.com/v3.10.1/blocks-amcharts/meta/AmChartsXY.json
|
|
@@ -95,7 +95,7 @@ _ref:
|
|
|
95
95
|
|
|
96
96
|
```yaml
|
|
97
97
|
name: dashboard-app
|
|
98
|
-
lowdefy: 3.21.
|
|
98
|
+
lowdefy: 3.21.2
|
|
99
99
|
types:
|
|
100
100
|
MyCustomBlock:
|
|
101
101
|
url: http://localhost:3002/meta/MyCustomBlock.json
|
|
@@ -53,7 +53,7 @@ _ref:
|
|
|
53
53
|
|
|
54
54
|
```yaml
|
|
55
55
|
name: google-analytics-example
|
|
56
|
-
lowdefy: 3.21.
|
|
56
|
+
lowdefy: 3.21.2
|
|
57
57
|
# ...
|
|
58
58
|
app:
|
|
59
59
|
html:
|
|
@@ -98,7 +98,7 @@ _ref:
|
|
|
98
98
|
```yaml
|
|
99
99
|
# /lowdefy.yaml
|
|
100
100
|
name: json-todos
|
|
101
|
-
lowdefy: 3.21.
|
|
101
|
+
lowdefy: 3.21.2
|
|
102
102
|
app:
|
|
103
103
|
html:
|
|
104
104
|
appendHead:
|
|
@@ -156,7 +156,7 @@ _ref:
|
|
|
156
156
|
```yaml
|
|
157
157
|
# /lowdefy.yaml
|
|
158
158
|
name: operator-example
|
|
159
|
-
lowdefy: 3.21.
|
|
159
|
+
lowdefy: 3.21.2
|
|
160
160
|
app:
|
|
161
161
|
html:
|
|
162
162
|
appendHead:
|