@lowdefy/blocks-loaders 6.0.0 → 7.0.0

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.
@@ -23,6 +23,21 @@
23
23
  type: 'object',
24
24
  additionalProperties: false,
25
25
  properties: {
26
+ progress: {
27
+ type: 'number',
28
+ default: 30,
29
+ description: 'Progress percentage to show, from 0 to 100.'
30
+ },
31
+ shadow: {
32
+ type: 'boolean',
33
+ default: true,
34
+ description: 'Render the glowing shadow at the head of the bar.'
35
+ },
36
+ transitionTime: {
37
+ type: 'number',
38
+ default: 1000,
39
+ description: 'Width transition duration in milliseconds.'
40
+ },
26
41
  height: {
27
42
  type: [
28
43
  'number',
@@ -23,6 +23,15 @@
23
23
  type: 'object',
24
24
  additionalProperties: false,
25
25
  properties: {
26
+ shape: {
27
+ type: 'string',
28
+ default: 'default',
29
+ description: 'Shape of the skeleton; round gives fully rounded ends.',
30
+ enum: [
31
+ 'default',
32
+ 'round'
33
+ ]
34
+ },
26
35
  size: {
27
36
  type: 'string',
28
37
  default: 'medium',
@@ -24,6 +24,11 @@
24
24
  type: 'object',
25
25
  additionalProperties: false,
26
26
  properties: {
27
+ label: {
28
+ type: 'boolean',
29
+ default: true,
30
+ description: 'Render the label skeleton. Set to false for an input without a label.'
31
+ },
27
32
  size: {
28
33
  type: 'string',
29
34
  default: 'medium',
@@ -159,7 +159,7 @@
159
159
  flex: 0 0 auto
160
160
  properties:
161
161
  title: Refresh
162
- icon: AiOutlineReload
162
+ icon: refresh
163
163
  color: primary
164
164
  variant: outlined
165
165
  size: small
@@ -248,7 +248,7 @@
248
248
  title: Submit
249
249
  color: primary
250
250
  variant: solid
251
- icon: AiOutlineSend
251
+ icon: send
252
252
  events:
253
253
  onClick:
254
254
  - id: spinner_btn_loading_set_state
@@ -24,13 +24,11 @@
24
24
  additionalProperties: false,
25
25
  properties: {
26
26
  size: {
27
- type: 'string',
28
- description: 'Size of the icon spinner.',
29
- enum: [
30
- 'small',
31
- 'medium',
32
- 'large'
33
- ]
27
+ type: [
28
+ 'string',
29
+ 'number'
30
+ ],
31
+ description: 'Size of the icon spinner: small, medium, large, or a pixel number.'
34
32
  }
35
33
  }
36
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/blocks-loaders",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Lowdefy loader blocks.",
6
6
  "homepage": "https://lowdefy.com",
@@ -31,6 +31,9 @@
31
31
  "url": "https://github.com/lowdefy/lowdefy.git"
32
32
  },
33
33
  "type": "module",
34
+ "sideEffects": [
35
+ "**/*.css"
36
+ ],
34
37
  "exports": {
35
38
  "./*": "./dist/*",
36
39
  "./blocks": "./dist/blocks.js",
@@ -42,16 +45,16 @@
42
45
  "dist/*"
43
46
  ],
44
47
  "dependencies": {
45
- "@lowdefy/block-utils": "6.0.0",
46
- "@lowdefy/helpers": "6.0.0"
48
+ "@lowdefy/block-utils": "7.0.0",
49
+ "@lowdefy/helpers": "7.0.0"
47
50
  },
48
51
  "peerDependencies": {
49
52
  "react": ">=18",
50
53
  "react-dom": ">=18"
51
54
  },
52
55
  "devDependencies": {
53
- "@lowdefy/block-dev-e2e": "6.0.0",
54
- "@lowdefy/e2e-utils": "6.0.0",
56
+ "@lowdefy/block-dev-e2e": "7.0.0",
57
+ "@lowdefy/e2e-utils": "7.0.0",
55
58
  "@playwright/test": "1.59.1",
56
59
  "@swc/cli": "0.8.1",
57
60
  "@swc/core": "1.15.32",