@lowdefy/blocks-loaders 5.5.1 → 6.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.
- package/dist/blocks/ProgressBar/gallery.yaml +102 -0
- package/dist/blocks/ProgressBar/tests/ProgressBar.e2e.yaml +35 -0
- package/dist/blocks/ProgressBar/tests.yaml +16 -0
- package/dist/blocks/Skeleton/gallery.yaml +268 -0
- package/dist/blocks/Skeleton/tests/Skeleton.e2e.yaml +26 -0
- package/dist/blocks/Skeleton/tests.yaml +30 -0
- package/dist/blocks/SkeletonAvatar/gallery.yaml +218 -0
- package/dist/blocks/SkeletonAvatar/tests/SkeletonAvatar.e2e.yaml +35 -0
- package/dist/blocks/SkeletonAvatar/tests.yaml +41 -0
- package/dist/blocks/SkeletonButton/gallery.yaml +241 -0
- package/dist/blocks/SkeletonButton/tests/SkeletonButton.e2e.yaml +30 -0
- package/dist/blocks/SkeletonButton/tests.yaml +41 -0
- package/dist/blocks/SkeletonInput/gallery.yaml +215 -0
- package/dist/blocks/SkeletonInput/tests/SkeletonInput.e2e.yaml +30 -0
- package/dist/blocks/SkeletonInput/tests.yaml +59 -0
- package/dist/blocks/SkeletonParagraph/gallery.yaml +197 -0
- package/dist/blocks/SkeletonParagraph/tests/SkeletonParagraph.e2e.yaml +25 -0
- package/dist/blocks/SkeletonParagraph/tests.yaml +35 -0
- package/dist/blocks/Spinner/gallery.yaml +262 -0
- package/dist/blocks/Spinner/tests/Spinner.e2e.yaml +30 -0
- package/dist/blocks/Spinner/tests.yaml +28 -0
- package/package.json +9 -9
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# Copyright 2020-2026 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
|
+
- title: Basic (Default 4 Lines)
|
|
16
|
+
blocks:
|
|
17
|
+
- id: basic_default
|
|
18
|
+
type: SkeletonParagraph
|
|
19
|
+
|
|
20
|
+
- title: Row Count
|
|
21
|
+
blocks:
|
|
22
|
+
- id: rows_1
|
|
23
|
+
type: SkeletonParagraph
|
|
24
|
+
properties:
|
|
25
|
+
lines: 1
|
|
26
|
+
- id: rows_2
|
|
27
|
+
type: SkeletonParagraph
|
|
28
|
+
properties:
|
|
29
|
+
lines: 2
|
|
30
|
+
- id: rows_3
|
|
31
|
+
type: SkeletonParagraph
|
|
32
|
+
properties:
|
|
33
|
+
lines: 3
|
|
34
|
+
- id: rows_4
|
|
35
|
+
type: SkeletonParagraph
|
|
36
|
+
properties:
|
|
37
|
+
lines: 4
|
|
38
|
+
- id: rows_6
|
|
39
|
+
type: SkeletonParagraph
|
|
40
|
+
properties:
|
|
41
|
+
lines: 6
|
|
42
|
+
- id: rows_8
|
|
43
|
+
type: SkeletonParagraph
|
|
44
|
+
properties:
|
|
45
|
+
lines: 8
|
|
46
|
+
|
|
47
|
+
- title: Width - Percentage
|
|
48
|
+
blocks:
|
|
49
|
+
- id: width_100
|
|
50
|
+
type: SkeletonParagraph
|
|
51
|
+
properties:
|
|
52
|
+
width: '100%'
|
|
53
|
+
lines: 3
|
|
54
|
+
- id: width_75
|
|
55
|
+
type: SkeletonParagraph
|
|
56
|
+
properties:
|
|
57
|
+
width: '75%'
|
|
58
|
+
lines: 3
|
|
59
|
+
- id: width_50
|
|
60
|
+
type: SkeletonParagraph
|
|
61
|
+
properties:
|
|
62
|
+
width: '50%'
|
|
63
|
+
lines: 3
|
|
64
|
+
|
|
65
|
+
- title: Width - Pixel
|
|
66
|
+
blocks:
|
|
67
|
+
- id: width_px_400
|
|
68
|
+
type: SkeletonParagraph
|
|
69
|
+
properties:
|
|
70
|
+
width: 400
|
|
71
|
+
lines: 3
|
|
72
|
+
- id: width_px_300
|
|
73
|
+
type: SkeletonParagraph
|
|
74
|
+
properties:
|
|
75
|
+
width: 300
|
|
76
|
+
lines: 3
|
|
77
|
+
- id: width_px_200
|
|
78
|
+
type: SkeletonParagraph
|
|
79
|
+
properties:
|
|
80
|
+
width: 200
|
|
81
|
+
lines: 3
|
|
82
|
+
|
|
83
|
+
- title: Active (Animated)
|
|
84
|
+
blocks:
|
|
85
|
+
- id: active_default
|
|
86
|
+
type: SkeletonParagraph
|
|
87
|
+
properties:
|
|
88
|
+
lines: 4
|
|
89
|
+
- id: active_short
|
|
90
|
+
type: SkeletonParagraph
|
|
91
|
+
properties:
|
|
92
|
+
lines: 2
|
|
93
|
+
width: '60%'
|
|
94
|
+
|
|
95
|
+
- title: Single Line
|
|
96
|
+
blocks:
|
|
97
|
+
- id: single_full
|
|
98
|
+
type: SkeletonParagraph
|
|
99
|
+
properties:
|
|
100
|
+
lines: 1
|
|
101
|
+
width: '100%'
|
|
102
|
+
- id: single_half
|
|
103
|
+
type: SkeletonParagraph
|
|
104
|
+
properties:
|
|
105
|
+
lines: 1
|
|
106
|
+
width: '50%'
|
|
107
|
+
|
|
108
|
+
- title: Article Skeleton Composition
|
|
109
|
+
blocks:
|
|
110
|
+
- id: article_skeleton
|
|
111
|
+
type: Box
|
|
112
|
+
layout:
|
|
113
|
+
gap: 16
|
|
114
|
+
blocks:
|
|
115
|
+
- id: article_title
|
|
116
|
+
type: Skeleton
|
|
117
|
+
properties:
|
|
118
|
+
width: '60%'
|
|
119
|
+
height: 24
|
|
120
|
+
- id: article_subtitle
|
|
121
|
+
type: Skeleton
|
|
122
|
+
properties:
|
|
123
|
+
width: '40%'
|
|
124
|
+
height: 16
|
|
125
|
+
- id: article_body
|
|
126
|
+
type: SkeletonParagraph
|
|
127
|
+
properties:
|
|
128
|
+
lines: 6
|
|
129
|
+
- id: article_body_2
|
|
130
|
+
type: SkeletonParagraph
|
|
131
|
+
properties:
|
|
132
|
+
lines: 4
|
|
133
|
+
|
|
134
|
+
- title: Card with Paragraph Composition
|
|
135
|
+
blocks:
|
|
136
|
+
- id: card_with_para
|
|
137
|
+
type: Box
|
|
138
|
+
style:
|
|
139
|
+
padding: 16
|
|
140
|
+
border: 1px solid #f0f0f0
|
|
141
|
+
borderRadius: 8
|
|
142
|
+
maxWidth: 400
|
|
143
|
+
layout:
|
|
144
|
+
gap: 12
|
|
145
|
+
blocks:
|
|
146
|
+
- id: card_header_row
|
|
147
|
+
type: Box
|
|
148
|
+
layout:
|
|
149
|
+
gap: 12
|
|
150
|
+
align: center
|
|
151
|
+
direction: row
|
|
152
|
+
blocks:
|
|
153
|
+
- id: card_avatar
|
|
154
|
+
type: SkeletonAvatar
|
|
155
|
+
layout:
|
|
156
|
+
flex: 0 0 auto
|
|
157
|
+
properties:
|
|
158
|
+
size: large
|
|
159
|
+
shape: round
|
|
160
|
+
- id: card_header_lines
|
|
161
|
+
type: Box
|
|
162
|
+
layout:
|
|
163
|
+
gap: 6
|
|
164
|
+
blocks:
|
|
165
|
+
- id: card_name
|
|
166
|
+
type: Skeleton
|
|
167
|
+
properties:
|
|
168
|
+
width: 140
|
|
169
|
+
height: 14
|
|
170
|
+
- id: card_date
|
|
171
|
+
type: Skeleton
|
|
172
|
+
properties:
|
|
173
|
+
width: 80
|
|
174
|
+
height: 12
|
|
175
|
+
- id: card_body
|
|
176
|
+
type: SkeletonParagraph
|
|
177
|
+
properties:
|
|
178
|
+
lines: 3
|
|
179
|
+
|
|
180
|
+
- title: Style Overrides
|
|
181
|
+
blocks:
|
|
182
|
+
- id: style_narrow
|
|
183
|
+
type: SkeletonParagraph
|
|
184
|
+
properties:
|
|
185
|
+
lines: 3
|
|
186
|
+
style:
|
|
187
|
+
.element:
|
|
188
|
+
maxWidth: 300
|
|
189
|
+
- id: style_padded
|
|
190
|
+
type: SkeletonParagraph
|
|
191
|
+
properties:
|
|
192
|
+
lines: 3
|
|
193
|
+
style:
|
|
194
|
+
.element:
|
|
195
|
+
padding: 16
|
|
196
|
+
border: 1px solid #f0f0f0
|
|
197
|
+
borderRadius: 8
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright 2020-2026 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
|
+
id: skeletonparagraph
|
|
16
|
+
type: Box
|
|
17
|
+
|
|
18
|
+
blocks:
|
|
19
|
+
- id: skeletonparagraph_basic
|
|
20
|
+
type: SkeletonParagraph
|
|
21
|
+
|
|
22
|
+
- id: skeletonparagraph_lines
|
|
23
|
+
type: SkeletonParagraph
|
|
24
|
+
properties:
|
|
25
|
+
lines: 6
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Copyright 2020-2026 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
|
+
- id: default
|
|
16
|
+
type: SkeletonParagraph
|
|
17
|
+
description: Default
|
|
18
|
+
- id: lines1
|
|
19
|
+
type: SkeletonParagraph
|
|
20
|
+
description: |
|
|
21
|
+
lines: 1
|
|
22
|
+
properties:
|
|
23
|
+
lines: 1
|
|
24
|
+
- id: lines7
|
|
25
|
+
type: SkeletonParagraph
|
|
26
|
+
description: |
|
|
27
|
+
lines: 7
|
|
28
|
+
properties:
|
|
29
|
+
lines: 7
|
|
30
|
+
- id: width200
|
|
31
|
+
type: SkeletonParagraph
|
|
32
|
+
description: |
|
|
33
|
+
width: 200
|
|
34
|
+
properties:
|
|
35
|
+
width: 200
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
# Copyright 2020-2026 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
|
+
- title: Default
|
|
16
|
+
blocks:
|
|
17
|
+
- id: spinner_default
|
|
18
|
+
type: Spinner
|
|
19
|
+
|
|
20
|
+
- title: Named Sizes
|
|
21
|
+
blocks:
|
|
22
|
+
- id: spinner_named_small
|
|
23
|
+
type: Spinner
|
|
24
|
+
layout:
|
|
25
|
+
flex: 0 0 auto
|
|
26
|
+
properties:
|
|
27
|
+
size: small
|
|
28
|
+
- id: spinner_named_medium
|
|
29
|
+
type: Spinner
|
|
30
|
+
layout:
|
|
31
|
+
flex: 0 0 auto
|
|
32
|
+
properties:
|
|
33
|
+
size: medium
|
|
34
|
+
- id: spinner_named_large
|
|
35
|
+
type: Spinner
|
|
36
|
+
layout:
|
|
37
|
+
flex: 0 0 auto
|
|
38
|
+
properties:
|
|
39
|
+
size: large
|
|
40
|
+
|
|
41
|
+
- title: Custom Numeric Sizes
|
|
42
|
+
blocks:
|
|
43
|
+
- id: spinner_numeric_16
|
|
44
|
+
type: Spinner
|
|
45
|
+
layout:
|
|
46
|
+
flex: 0 0 auto
|
|
47
|
+
properties:
|
|
48
|
+
size: 16
|
|
49
|
+
- id: spinner_numeric_32
|
|
50
|
+
type: Spinner
|
|
51
|
+
layout:
|
|
52
|
+
flex: 0 0 auto
|
|
53
|
+
properties:
|
|
54
|
+
size: 32
|
|
55
|
+
- id: spinner_numeric_64
|
|
56
|
+
type: Spinner
|
|
57
|
+
layout:
|
|
58
|
+
flex: 0 0 auto
|
|
59
|
+
properties:
|
|
60
|
+
size: 64
|
|
61
|
+
|
|
62
|
+
- title: Styled Spinners (Tailwind CSS)
|
|
63
|
+
blocks:
|
|
64
|
+
- id: spinner_styled_blue
|
|
65
|
+
type: Spinner
|
|
66
|
+
layout:
|
|
67
|
+
flex: 0 0 auto
|
|
68
|
+
class:
|
|
69
|
+
element: text-blue-500
|
|
70
|
+
properties:
|
|
71
|
+
size: large
|
|
72
|
+
- id: spinner_styled_green
|
|
73
|
+
type: Spinner
|
|
74
|
+
layout:
|
|
75
|
+
flex: 0 0 auto
|
|
76
|
+
class:
|
|
77
|
+
element: text-green-500
|
|
78
|
+
properties:
|
|
79
|
+
size: large
|
|
80
|
+
- id: spinner_styled_red
|
|
81
|
+
type: Spinner
|
|
82
|
+
layout:
|
|
83
|
+
flex: 0 0 auto
|
|
84
|
+
class:
|
|
85
|
+
element: text-red-500
|
|
86
|
+
properties:
|
|
87
|
+
size: large
|
|
88
|
+
- id: spinner_styled_purple
|
|
89
|
+
type: Spinner
|
|
90
|
+
layout:
|
|
91
|
+
flex: 0 0 auto
|
|
92
|
+
class:
|
|
93
|
+
element: text-purple-600
|
|
94
|
+
properties:
|
|
95
|
+
size: large
|
|
96
|
+
|
|
97
|
+
- title: CSS Key Styling
|
|
98
|
+
blocks:
|
|
99
|
+
- id: spinner_css_bg_pill
|
|
100
|
+
type: Spinner
|
|
101
|
+
layout:
|
|
102
|
+
flex: 0 0 auto
|
|
103
|
+
class:
|
|
104
|
+
element: bg-blue-50 p-4 rounded-full
|
|
105
|
+
properties:
|
|
106
|
+
size: large
|
|
107
|
+
- id: spinner_css_bordered
|
|
108
|
+
type: Spinner
|
|
109
|
+
layout:
|
|
110
|
+
flex: 0 0 auto
|
|
111
|
+
class:
|
|
112
|
+
element: border border-gray-200 p-3 rounded-lg bg-white shadow-sm
|
|
113
|
+
properties:
|
|
114
|
+
size: medium
|
|
115
|
+
- id: spinner_css_dark_bg
|
|
116
|
+
type: Spinner
|
|
117
|
+
layout:
|
|
118
|
+
flex: 0 0 auto
|
|
119
|
+
class:
|
|
120
|
+
element: bg-gray-800 text-white p-4 rounded-xl
|
|
121
|
+
properties:
|
|
122
|
+
size: large
|
|
123
|
+
|
|
124
|
+
- title: Inline Style Overrides
|
|
125
|
+
blocks:
|
|
126
|
+
- id: spinner_style_custom_color
|
|
127
|
+
type: Spinner
|
|
128
|
+
layout:
|
|
129
|
+
flex: 0 0 auto
|
|
130
|
+
style:
|
|
131
|
+
.element:
|
|
132
|
+
color: '#fa8c16'
|
|
133
|
+
properties:
|
|
134
|
+
size: large
|
|
135
|
+
- id: spinner_style_padded
|
|
136
|
+
type: Spinner
|
|
137
|
+
layout:
|
|
138
|
+
flex: 0 0 auto
|
|
139
|
+
style:
|
|
140
|
+
.element:
|
|
141
|
+
padding: 16px
|
|
142
|
+
backgroundColor: '#f6ffed'
|
|
143
|
+
borderRadius: 12px
|
|
144
|
+
properties:
|
|
145
|
+
size: medium
|
|
146
|
+
|
|
147
|
+
- title: Data Loading Overlay
|
|
148
|
+
blocks:
|
|
149
|
+
- id: spinner_loading_overlay_card
|
|
150
|
+
type: Card
|
|
151
|
+
properties:
|
|
152
|
+
title: Recent Orders
|
|
153
|
+
slots:
|
|
154
|
+
extra:
|
|
155
|
+
blocks:
|
|
156
|
+
- id: spinner_loading_overlay_btn
|
|
157
|
+
type: Button
|
|
158
|
+
layout:
|
|
159
|
+
flex: 0 0 auto
|
|
160
|
+
properties:
|
|
161
|
+
title: Refresh
|
|
162
|
+
icon: AiOutlineReload
|
|
163
|
+
color: primary
|
|
164
|
+
variant: outlined
|
|
165
|
+
size: small
|
|
166
|
+
events:
|
|
167
|
+
onClick:
|
|
168
|
+
- id: spinner_loading_overlay_msg
|
|
169
|
+
type: DisplayMessage
|
|
170
|
+
params:
|
|
171
|
+
content: Fetching latest orders...
|
|
172
|
+
duration: 2
|
|
173
|
+
blocks:
|
|
174
|
+
- id: spinner_loading_overlay_box
|
|
175
|
+
type: Box
|
|
176
|
+
layout:
|
|
177
|
+
direction: column
|
|
178
|
+
align: center
|
|
179
|
+
justify: center
|
|
180
|
+
gap: 12
|
|
181
|
+
style:
|
|
182
|
+
.element:
|
|
183
|
+
minHeight: 200px
|
|
184
|
+
blocks:
|
|
185
|
+
- id: spinner_loading_overlay_spinner
|
|
186
|
+
type: Spinner
|
|
187
|
+
layout:
|
|
188
|
+
flex: 0 0 auto
|
|
189
|
+
class:
|
|
190
|
+
element: text-blue-500
|
|
191
|
+
properties:
|
|
192
|
+
size: large
|
|
193
|
+
- id: spinner_loading_overlay_text
|
|
194
|
+
type: Paragraph
|
|
195
|
+
layout:
|
|
196
|
+
flex: 0 0 auto
|
|
197
|
+
class: text-gray-400
|
|
198
|
+
properties:
|
|
199
|
+
content: Loading orders...
|
|
200
|
+
|
|
201
|
+
- title: Button with Loading State
|
|
202
|
+
blocks:
|
|
203
|
+
- id: spinner_btn_loading_card
|
|
204
|
+
type: Card
|
|
205
|
+
properties:
|
|
206
|
+
title: Submit Application
|
|
207
|
+
blocks:
|
|
208
|
+
- id: spinner_btn_loading_form_name
|
|
209
|
+
type: TextInput
|
|
210
|
+
properties:
|
|
211
|
+
label:
|
|
212
|
+
title: Full Name
|
|
213
|
+
placeholder: Enter your name
|
|
214
|
+
- id: spinner_btn_loading_form_email
|
|
215
|
+
type: TextInput
|
|
216
|
+
properties:
|
|
217
|
+
label:
|
|
218
|
+
title: Email Address
|
|
219
|
+
placeholder: you@example.com
|
|
220
|
+
- id: spinner_btn_loading_row
|
|
221
|
+
type: Box
|
|
222
|
+
layout:
|
|
223
|
+
gap: 12
|
|
224
|
+
align: center
|
|
225
|
+
justify: end
|
|
226
|
+
blocks:
|
|
227
|
+
- id: spinner_btn_loading_indicator
|
|
228
|
+
type: Spinner
|
|
229
|
+
layout:
|
|
230
|
+
flex: 0 0 auto
|
|
231
|
+
class:
|
|
232
|
+
element: text-blue-500
|
|
233
|
+
visible:
|
|
234
|
+
_if:
|
|
235
|
+
test:
|
|
236
|
+
_eq:
|
|
237
|
+
- _state: submitting
|
|
238
|
+
- true
|
|
239
|
+
then: true
|
|
240
|
+
else: false
|
|
241
|
+
properties:
|
|
242
|
+
size: small
|
|
243
|
+
- id: spinner_btn_loading_submit
|
|
244
|
+
type: Button
|
|
245
|
+
layout:
|
|
246
|
+
flex: 0 0 auto
|
|
247
|
+
properties:
|
|
248
|
+
title: Submit
|
|
249
|
+
color: primary
|
|
250
|
+
variant: solid
|
|
251
|
+
icon: AiOutlineSend
|
|
252
|
+
events:
|
|
253
|
+
onClick:
|
|
254
|
+
- id: spinner_btn_loading_set_state
|
|
255
|
+
type: SetState
|
|
256
|
+
params:
|
|
257
|
+
submitting: true
|
|
258
|
+
- id: spinner_btn_loading_msg
|
|
259
|
+
type: DisplayMessage
|
|
260
|
+
params:
|
|
261
|
+
content: Application submitted successfully!
|
|
262
|
+
duration: 3
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Copyright 2020-2026 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
|
+
id: spinner
|
|
16
|
+
type: Box
|
|
17
|
+
|
|
18
|
+
blocks:
|
|
19
|
+
- id: spinner_basic
|
|
20
|
+
type: Spinner
|
|
21
|
+
|
|
22
|
+
- id: spinner_small
|
|
23
|
+
type: Spinner
|
|
24
|
+
properties:
|
|
25
|
+
size: small
|
|
26
|
+
|
|
27
|
+
- id: spinner_large
|
|
28
|
+
type: Spinner
|
|
29
|
+
properties:
|
|
30
|
+
size: large
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright 2020-2026 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
|
+
- id: default
|
|
16
|
+
type: Spinner
|
|
17
|
+
- id: sizedefault
|
|
18
|
+
type: Spinner
|
|
19
|
+
properties:
|
|
20
|
+
size: default
|
|
21
|
+
- id: sizesmall
|
|
22
|
+
type: Spinner
|
|
23
|
+
properties:
|
|
24
|
+
size: small
|
|
25
|
+
- id: sizelarge
|
|
26
|
+
type: Spinner
|
|
27
|
+
properties:
|
|
28
|
+
size: large
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/blocks-loaders",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Lowdefy loader blocks.",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
"dist/*"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lowdefy/block-utils": "
|
|
46
|
-
"@lowdefy/helpers": "
|
|
45
|
+
"@lowdefy/block-utils": "6.0.0",
|
|
46
|
+
"@lowdefy/helpers": "6.0.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": ">=18",
|
|
50
50
|
"react-dom": ">=18"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@lowdefy/block-dev-e2e": "
|
|
54
|
-
"@lowdefy/e2e-utils": "
|
|
55
|
-
"@playwright/test": "1.
|
|
56
|
-
"@swc/cli": "0.8.
|
|
57
|
-
"@swc/core": "1.15.
|
|
53
|
+
"@lowdefy/block-dev-e2e": "6.0.0",
|
|
54
|
+
"@lowdefy/e2e-utils": "6.0.0",
|
|
55
|
+
"@playwright/test": "1.59.1",
|
|
56
|
+
"@swc/cli": "0.8.1",
|
|
57
|
+
"@swc/core": "1.15.32",
|
|
58
58
|
"copyfiles": "2.4.1"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "swc src --out-dir dist --config-file ../../../../.swcrc --cli-config-file ../../../../.swc-cli.json && pnpm copyfiles",
|
|
65
65
|
"clean": "rm -rf dist",
|
|
66
|
-
"copyfiles": "copyfiles -u 1 \"./src/**/*\" dist -e \"./src/**/*.js\" -e \"./src/**/*.
|
|
66
|
+
"copyfiles": "copyfiles -u 1 \"./src/**/*\" dist -e \"./src/**/*.js\" -e \"./src/**/*.snap\"",
|
|
67
67
|
"e2e": "playwright test --config e2e/playwright.config.js",
|
|
68
68
|
"e2e:ui": "playwright test --config e2e/playwright.config.js --ui"
|
|
69
69
|
}
|