@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.
@@ -0,0 +1,102 @@
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: progress_bar_default
18
+ type: ProgressBar
19
+
20
+ - title: Progress Values
21
+ blocks:
22
+ - id: progress_bar_0
23
+ type: ProgressBar
24
+ properties:
25
+ progress: 0
26
+ - id: progress_bar_25
27
+ type: ProgressBar
28
+ properties:
29
+ progress: 25
30
+ - id: progress_bar_50
31
+ type: ProgressBar
32
+ properties:
33
+ progress: 50
34
+ - id: progress_bar_75
35
+ type: ProgressBar
36
+ properties:
37
+ progress: 75
38
+ - id: progress_bar_100
39
+ type: ProgressBar
40
+ properties:
41
+ progress: 100
42
+
43
+ - title: Custom Height
44
+ blocks:
45
+ - id: progress_bar_thin
46
+ type: ProgressBar
47
+ properties:
48
+ progress: 60
49
+ height: 2
50
+ - id: progress_bar_default_height
51
+ type: ProgressBar
52
+ properties:
53
+ progress: 60
54
+ height: 4
55
+ - id: progress_bar_thick
56
+ type: ProgressBar
57
+ properties:
58
+ progress: 60
59
+ height: 8
60
+ - id: progress_bar_extra_thick
61
+ type: ProgressBar
62
+ properties:
63
+ progress: 60
64
+ height: 12
65
+
66
+ - title: Transition Speed
67
+ blocks:
68
+ - id: progress_bar_fast_transition
69
+ type: ProgressBar
70
+ properties:
71
+ progress: 80
72
+ transitionTime: 200
73
+ - id: progress_bar_default_transition
74
+ type: ProgressBar
75
+ properties:
76
+ progress: 80
77
+ transitionTime: 1000
78
+ - id: progress_bar_slow_transition
79
+ type: ProgressBar
80
+ properties:
81
+ progress: 80
82
+ transitionTime: 3000
83
+
84
+ - title: Without Shadow
85
+ blocks:
86
+ - id: progress_bar_no_shadow
87
+ type: ProgressBar
88
+ properties:
89
+ progress: 65
90
+ shadow: false
91
+ - id: progress_bar_with_shadow
92
+ type: ProgressBar
93
+ properties:
94
+ progress: 65
95
+ shadow: true
96
+
97
+ - title: Complete (Hidden)
98
+ blocks:
99
+ - id: progress_bar_complete
100
+ type: ProgressBar
101
+ properties:
102
+ progress: 100
@@ -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: progressbar
16
+ type: Box
17
+
18
+ blocks:
19
+ - id: progressbar_basic
20
+ type: ProgressBar
21
+
22
+ - id: progressbar_progress
23
+ type: ProgressBar
24
+ properties:
25
+ progress: 75
26
+
27
+ - id: progressbar_height
28
+ type: ProgressBar
29
+ properties:
30
+ height: 10
31
+
32
+ - id: progressbar_no_shadow
33
+ type: ProgressBar
34
+ properties:
35
+ shadow: false
@@ -0,0 +1,16 @@
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: ProgressBar
@@ -0,0 +1,268 @@
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
16
+ blocks:
17
+ - id: basic_line
18
+ type: Skeleton
19
+ layout:
20
+ flex: 0 0 auto
21
+ properties:
22
+ width: 200
23
+ height: 16
24
+ - id: basic_block
25
+ type: Skeleton
26
+ layout:
27
+ flex: 0 0 auto
28
+ properties:
29
+ width: 120
30
+ height: 40
31
+ - id: basic_tall
32
+ type: Skeleton
33
+ layout:
34
+ flex: 0 0 auto
35
+ properties:
36
+ width: 80
37
+ height: 80
38
+
39
+ - title: Active (Animated)
40
+ blocks:
41
+ - id: active_thin
42
+ type: Skeleton
43
+ layout:
44
+ flex: 0 0 auto
45
+ properties:
46
+ width: 250
47
+ height: 12
48
+ - id: active_medium
49
+ type: Skeleton
50
+ layout:
51
+ flex: 0 0 auto
52
+ properties:
53
+ width: 300
54
+ height: 16
55
+ - id: active_thick
56
+ type: Skeleton
57
+ layout:
58
+ flex: 0 0 auto
59
+ properties:
60
+ width: 180
61
+ height: 24
62
+
63
+ - title: With Avatar Composition
64
+ blocks:
65
+ - id: avatar_row
66
+ type: Box
67
+ layout:
68
+ gap: 12
69
+ align: center
70
+ blocks:
71
+ - id: avatar_circle
72
+ type: SkeletonAvatar
73
+ layout:
74
+ flex: 0 0 auto
75
+ properties:
76
+ size: large
77
+ shape: round
78
+ - id: avatar_lines
79
+ type: Box
80
+ layout:
81
+ gap: 8
82
+ blocks:
83
+ - id: avatar_name
84
+ type: Skeleton
85
+ properties:
86
+ width: 180
87
+ height: 14
88
+ - id: avatar_desc
89
+ type: Skeleton
90
+ properties:
91
+ width: 120
92
+ height: 14
93
+
94
+ - title: Paragraph Rows
95
+ blocks:
96
+ - id: paragraph_row_container
97
+ type: Box
98
+ layout:
99
+ gap: 10
100
+ blocks:
101
+ - id: para_row_1
102
+ type: Skeleton
103
+ properties:
104
+ width: '100%'
105
+ height: 14
106
+ - id: para_row_2
107
+ type: Skeleton
108
+ properties:
109
+ width: '100%'
110
+ height: 14
111
+ - id: para_row_3
112
+ type: Skeleton
113
+ properties:
114
+ width: '100%'
115
+ height: 14
116
+ - id: para_row_4
117
+ type: Skeleton
118
+ properties:
119
+ width: '60%'
120
+ height: 14
121
+
122
+ - title: Width Variations
123
+ blocks:
124
+ - id: width_full
125
+ type: Skeleton
126
+ properties:
127
+ width: '100%'
128
+ height: 16
129
+ - id: width_half
130
+ type: Skeleton
131
+ properties:
132
+ width: '50%'
133
+ height: 16
134
+ - id: width_quarter
135
+ type: Skeleton
136
+ properties:
137
+ width: '25%'
138
+ height: 16
139
+ - id: width_px
140
+ type: Skeleton
141
+ properties:
142
+ width: 300
143
+ height: 16
144
+
145
+ - title: Height Variations
146
+ blocks:
147
+ - id: height_thin
148
+ type: Skeleton
149
+ layout:
150
+ flex: 0 0 auto
151
+ properties:
152
+ width: 200
153
+ height: 8
154
+ - id: height_default
155
+ type: Skeleton
156
+ layout:
157
+ flex: 0 0 auto
158
+ properties:
159
+ width: 200
160
+ height: 16
161
+ - id: height_medium
162
+ type: Skeleton
163
+ layout:
164
+ flex: 0 0 auto
165
+ properties:
166
+ width: 200
167
+ height: 32
168
+ - id: height_thick
169
+ type: Skeleton
170
+ layout:
171
+ flex: 0 0 auto
172
+ properties:
173
+ width: 200
174
+ height: 48
175
+
176
+ - title: Percentage Width
177
+ blocks:
178
+ - id: pct_100
179
+ type: Skeleton
180
+ properties:
181
+ width: '100%'
182
+ height: 14
183
+ - id: pct_80
184
+ type: Skeleton
185
+ properties:
186
+ width: '80%'
187
+ height: 14
188
+ - id: pct_60
189
+ type: Skeleton
190
+ properties:
191
+ width: '60%'
192
+ height: 14
193
+ - id: pct_40
194
+ type: Skeleton
195
+ properties:
196
+ width: '40%'
197
+ height: 14
198
+
199
+ - title: Card Skeleton Composition
200
+ blocks:
201
+ - id: card_skeleton
202
+ type: Box
203
+ style:
204
+ padding: 16
205
+ border: 1px solid #f0f0f0
206
+ borderRadius: 8
207
+ maxWidth: 360
208
+ layout:
209
+ gap: 12
210
+ blocks:
211
+ - id: card_image
212
+ type: Skeleton
213
+ properties:
214
+ width: '100%'
215
+ height: 180
216
+ - id: card_title
217
+ type: Skeleton
218
+ properties:
219
+ width: '70%'
220
+ height: 20
221
+ - id: card_desc_1
222
+ type: Skeleton
223
+ properties:
224
+ width: '100%'
225
+ height: 14
226
+ - id: card_desc_2
227
+ type: Skeleton
228
+ properties:
229
+ width: '100%'
230
+ height: 14
231
+ - id: card_desc_3
232
+ type: Skeleton
233
+ properties:
234
+ width: '50%'
235
+ height: 14
236
+
237
+ - title: Style Overrides
238
+ blocks:
239
+ - id: style_rounded
240
+ type: Skeleton
241
+ layout:
242
+ flex: 0 0 auto
243
+ properties:
244
+ width: 200
245
+ height: 20
246
+ style:
247
+ .element:
248
+ borderRadius: 10
249
+ - id: style_square
250
+ type: Skeleton
251
+ layout:
252
+ flex: 0 0 auto
253
+ properties:
254
+ width: 60
255
+ height: 60
256
+ style:
257
+ .element:
258
+ borderRadius: 8
259
+ - id: style_circle
260
+ type: Skeleton
261
+ layout:
262
+ flex: 0 0 auto
263
+ properties:
264
+ width: 60
265
+ height: 60
266
+ style:
267
+ .element:
268
+ borderRadius: 30
@@ -0,0 +1,26 @@
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: skeleton
16
+ type: Box
17
+
18
+ blocks:
19
+ - id: skeleton_basic
20
+ type: Skeleton
21
+
22
+ - id: skeleton_sized
23
+ type: Skeleton
24
+ properties:
25
+ width: 200
26
+ height: 50
@@ -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: default
16
+ type: Skeleton
17
+ description: Default
18
+ - id: sizedefault
19
+ type: Skeleton
20
+ style:
21
+ height: 20
22
+ description: |
23
+ container height=20
24
+ - id: sizesmall
25
+ type: Skeleton
26
+ style:
27
+ height: 40
28
+ width: 100
29
+ description: |
30
+ container height=20 width=100
@@ -0,0 +1,218 @@
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: Shapes
16
+ blocks:
17
+ - id: shape_round
18
+ type: SkeletonAvatar
19
+ layout:
20
+ flex: 0 0 auto
21
+ properties:
22
+ shape: round
23
+ - id: shape_square
24
+ type: SkeletonAvatar
25
+ layout:
26
+ flex: 0 0 auto
27
+ properties:
28
+ shape: square
29
+
30
+ - title: Sizes (Round)
31
+ blocks:
32
+ - id: size_small_round
33
+ type: SkeletonAvatar
34
+ layout:
35
+ flex: 0 0 auto
36
+ properties:
37
+ size: small
38
+ shape: round
39
+ - id: size_medium_round
40
+ type: SkeletonAvatar
41
+ layout:
42
+ flex: 0 0 auto
43
+ properties:
44
+ size: medium
45
+ shape: round
46
+ - id: size_large_round
47
+ type: SkeletonAvatar
48
+ layout:
49
+ flex: 0 0 auto
50
+ properties:
51
+ size: large
52
+ shape: round
53
+
54
+ - title: Sizes (Square)
55
+ blocks:
56
+ - id: size_small_square
57
+ type: SkeletonAvatar
58
+ layout:
59
+ flex: 0 0 auto
60
+ properties:
61
+ size: small
62
+ shape: square
63
+ - id: size_medium_square
64
+ type: SkeletonAvatar
65
+ layout:
66
+ flex: 0 0 auto
67
+ properties:
68
+ size: medium
69
+ shape: square
70
+ - id: size_large_square
71
+ type: SkeletonAvatar
72
+ layout:
73
+ flex: 0 0 auto
74
+ properties:
75
+ size: large
76
+ shape: square
77
+
78
+ - title: Active (Animated)
79
+ blocks:
80
+ - id: active_round_small
81
+ type: SkeletonAvatar
82
+ layout:
83
+ flex: 0 0 auto
84
+ properties:
85
+ size: small
86
+ shape: round
87
+ - id: active_round_medium
88
+ type: SkeletonAvatar
89
+ layout:
90
+ flex: 0 0 auto
91
+ properties:
92
+ size: medium
93
+ shape: round
94
+ - id: active_round_large
95
+ type: SkeletonAvatar
96
+ layout:
97
+ flex: 0 0 auto
98
+ properties:
99
+ size: large
100
+ shape: round
101
+ - id: active_square_small
102
+ type: SkeletonAvatar
103
+ layout:
104
+ flex: 0 0 auto
105
+ properties:
106
+ size: small
107
+ shape: square
108
+ - id: active_square_medium
109
+ type: SkeletonAvatar
110
+ layout:
111
+ flex: 0 0 auto
112
+ properties:
113
+ size: medium
114
+ shape: square
115
+ - id: active_square_large
116
+ type: SkeletonAvatar
117
+ layout:
118
+ flex: 0 0 auto
119
+ properties:
120
+ size: large
121
+ shape: square
122
+
123
+ - title: Custom Size via Style
124
+ blocks:
125
+ - id: custom_tiny
126
+ type: SkeletonAvatar
127
+ layout:
128
+ flex: 0 0 auto
129
+ properties:
130
+ size: small
131
+ shape: round
132
+ style:
133
+ .element:
134
+ width: 16
135
+ height: 16
136
+ - id: custom_xlarge
137
+ type: SkeletonAvatar
138
+ layout:
139
+ flex: 0 0 auto
140
+ properties:
141
+ size: large
142
+ shape: round
143
+ style:
144
+ .element:
145
+ width: 64
146
+ height: 64
147
+ borderRadius: 32
148
+ - id: custom_xxlarge
149
+ type: SkeletonAvatar
150
+ layout:
151
+ flex: 0 0 auto
152
+ properties:
153
+ size: large
154
+ shape: round
155
+ style:
156
+ .element:
157
+ width: 96
158
+ height: 96
159
+ borderRadius: 48
160
+
161
+ - title: Avatar with Text Lines
162
+ blocks:
163
+ - id: avatar_text_row
164
+ type: Box
165
+ layout:
166
+ gap: 12
167
+ align: center
168
+ blocks:
169
+ - id: avatar_icon
170
+ type: SkeletonAvatar
171
+ layout:
172
+ flex: 0 0 auto
173
+ properties:
174
+ size: large
175
+ shape: round
176
+ - id: avatar_text_col
177
+ type: Box
178
+ layout:
179
+ gap: 6
180
+ blocks:
181
+ - id: avatar_name_line
182
+ type: Skeleton
183
+ properties:
184
+ width: 160
185
+ height: 14
186
+ - id: avatar_desc_line
187
+ type: Skeleton
188
+ properties:
189
+ width: 100
190
+ height: 12
191
+ - id: avatar_square_row
192
+ type: Box
193
+ layout:
194
+ gap: 12
195
+ align: center
196
+ blocks:
197
+ - id: avatar_sq_icon
198
+ type: SkeletonAvatar
199
+ layout:
200
+ flex: 0 0 auto
201
+ properties:
202
+ size: large
203
+ shape: square
204
+ - id: avatar_sq_col
205
+ type: Box
206
+ layout:
207
+ gap: 6
208
+ blocks:
209
+ - id: avatar_sq_line_1
210
+ type: Skeleton
211
+ properties:
212
+ width: 200
213
+ height: 14
214
+ - id: avatar_sq_line_2
215
+ type: Skeleton
216
+ properties:
217
+ width: 140
218
+ height: 14