@revenuecat/purchases-ui-js 2.0.2 → 2.0.4

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.
Files changed (144) hide show
  1. package/dist/components/button/ButtonNode.stories.svelte +66 -102
  2. package/dist/components/button/ButtonNode.svelte +18 -26
  3. package/dist/components/carousel/Carousel.stories.svelte +1039 -0
  4. package/dist/components/carousel/Carousel.stories.svelte.d.ts +19 -0
  5. package/dist/components/carousel/Carousel.svelte +298 -0
  6. package/dist/components/carousel/Carousel.svelte.d.ts +4 -0
  7. package/dist/components/carousel/CarouselPage.svelte +39 -0
  8. package/dist/components/carousel/CarouselPage.svelte.d.ts +11 -0
  9. package/dist/components/carousel/PageControl.svelte +93 -0
  10. package/dist/components/carousel/PageControl.svelte.d.ts +4 -0
  11. package/dist/components/carousel/carousel-utils.d.ts +4 -0
  12. package/dist/components/carousel/carousel-utils.js +21 -0
  13. package/dist/components/footer/Footer.stories.svelte +112 -102
  14. package/dist/components/footer/Footer.svelte +8 -4
  15. package/dist/components/icon/Icon.stories.svelte +100 -0
  16. package/dist/components/icon/Icon.stories.svelte.d.ts +19 -0
  17. package/dist/components/icon/Icon.svelte +73 -0
  18. package/dist/components/icon/Icon.svelte.d.ts +4 -0
  19. package/dist/components/image/ClipPath.svelte +49 -0
  20. package/dist/components/image/ClipPath.svelte.d.ts +9 -0
  21. package/dist/components/image/Image.stories.svelte +83 -188
  22. package/dist/components/image/Image.svelte +152 -136
  23. package/dist/components/image/Image.svelte.d.ts +1 -1
  24. package/dist/components/image/Overlay.svelte +36 -0
  25. package/dist/components/image/Overlay.svelte.d.ts +8 -0
  26. package/dist/components/package/Package.stories.svelte +10 -21
  27. package/dist/components/package/Package.svelte +8 -35
  28. package/dist/components/paywall/Node.svelte +25 -32
  29. package/dist/components/paywall/Node.svelte.d.ts +4 -6
  30. package/dist/components/paywall/Paywall.stories.svelte +36 -140
  31. package/dist/components/paywall/Paywall.svelte +23 -7
  32. package/dist/components/paywall/Paywall.svelte.d.ts +4 -2
  33. package/dist/components/paywall/fixtures/override-paywall.d.ts +2 -0
  34. package/dist/components/paywall/fixtures/override-paywall.js +1310 -0
  35. package/dist/components/paywall/fixtures/stack-paywall.d.ts +2 -0
  36. package/dist/components/paywall/fixtures/stack-paywall.js +5223 -0
  37. package/dist/components/paywall/fixtures/variables.d.ts +261 -0
  38. package/dist/components/paywall/fixtures/variables.js +262 -0
  39. package/dist/components/paywall/paywall-utils.d.ts +1 -1
  40. package/dist/components/purchase-button/PurchaseButton.stories.svelte +10 -21
  41. package/dist/components/purchase-button/PurchaseButton.svelte +2 -27
  42. package/dist/components/stack/Stack.stories.svelte +2354 -978
  43. package/dist/components/stack/Stack.svelte +116 -134
  44. package/dist/components/stack/Stack.svelte.d.ts +8 -2
  45. package/dist/components/stack/stack-utils.d.ts +10 -30
  46. package/dist/components/stack/stack-utils.js +77 -255
  47. package/dist/components/text/Text.svelte +3 -37
  48. package/dist/components/text/Text.svelte.d.ts +1 -2
  49. package/dist/components/text/TextNode.stories.svelte +10 -36
  50. package/dist/components/text/TextNode.svelte +25 -28
  51. package/dist/components/text/TextNode.svelte.d.ts +1 -1
  52. package/dist/components/text/text-utils.d.ts +4 -9
  53. package/dist/components/text/text-utils.js +32 -117
  54. package/dist/components/timeline/Timeline.stories.svelte +640 -251
  55. package/dist/components/timeline/Timeline.svelte +42 -28
  56. package/dist/components/timeline/Timeline.svelte.d.ts +1 -1
  57. package/dist/components/timeline/TimelineItem.svelte +80 -112
  58. package/dist/components/timeline/TimelineItem.svelte.d.ts +6 -2
  59. package/dist/components/timeline/timeline-utils.d.ts +24 -6
  60. package/dist/components/timeline/timeline-utils.js +21 -113
  61. package/dist/index.d.ts +3 -2
  62. package/dist/index.js +3 -2
  63. package/dist/stores/color-mode.d.ts +1 -1
  64. package/dist/stores/paywall.d.ts +5 -2
  65. package/dist/stores/selected.d.ts +5 -0
  66. package/dist/stores/selected.js +12 -0
  67. package/dist/stores/variables.d.ts +1 -1
  68. package/dist/stores/variables.js +0 -1
  69. package/dist/stories/component-decorator.d.ts +2 -0
  70. package/dist/stories/component-decorator.js +12 -0
  71. package/dist/stories/fixtures.d.ts +6 -3
  72. package/dist/stories/fixtures.js +5214 -4422
  73. package/dist/stories/paywall-decorator.js +6 -0
  74. package/dist/stories/variables-decorator.d.ts +1 -1
  75. package/dist/stories/viewport-decorator.d.ts +2 -0
  76. package/dist/stories/viewport-decorator.js +8 -0
  77. package/dist/stories/viewport-wrapper.svelte +55 -0
  78. package/dist/stories/viewport-wrapper.svelte.d.ts +10 -0
  79. package/dist/stories/with-layout.d.ts +2 -10
  80. package/dist/stories/with-layout.js +3 -5
  81. package/dist/types/alignment.d.ts +5 -3
  82. package/dist/types/background.d.ts +6 -5
  83. package/dist/types/base.d.ts +7 -0
  84. package/dist/types/colors.d.ts +4 -4
  85. package/dist/types/component.d.ts +7 -2
  86. package/dist/types/components/button.d.ts +6 -1
  87. package/dist/types/components/carousel.d.ts +51 -0
  88. package/dist/types/components/carousel.js +1 -0
  89. package/dist/types/components/footer.d.ts +2 -1
  90. package/dist/types/components/icon.d.ts +28 -0
  91. package/dist/types/components/icon.js +1 -0
  92. package/dist/types/components/image.d.ts +20 -0
  93. package/dist/types/components/image.js +1 -0
  94. package/dist/types/components/package.d.ts +2 -1
  95. package/dist/types/components/purchase-button.d.ts +2 -1
  96. package/dist/types/components/stack.d.ts +32 -0
  97. package/dist/types/components/stack.js +1 -0
  98. package/dist/types/components/text.d.ts +20 -0
  99. package/dist/types/components/text.js +1 -0
  100. package/dist/types/components/timeline.d.ts +35 -0
  101. package/dist/types/components/timeline.js +1 -0
  102. package/dist/types/localization.d.ts +2 -1
  103. package/dist/types/media.d.ts +4 -3
  104. package/dist/types/overrides.d.ts +48 -0
  105. package/dist/types/overrides.js +1 -0
  106. package/dist/types/paywall.d.ts +27 -0
  107. package/dist/types/paywall.js +1 -0
  108. package/dist/types/ui-config.d.ts +20 -0
  109. package/dist/types/ui-config.js +1 -0
  110. package/dist/types/variables.d.ts +13 -0
  111. package/dist/types/variables.js +10 -0
  112. package/dist/types.d.ts +17 -9
  113. package/dist/ui/atoms/typography.stories.svelte +1 -27
  114. package/dist/ui/molecules/button.stories.svelte +3 -8
  115. package/dist/ui/theme/colors.d.ts +0 -6
  116. package/dist/ui/theme/colors.js +1 -1
  117. package/dist/ui/theme/text.d.ts +3 -4
  118. package/dist/ui/theme/utils.d.ts +0 -10
  119. package/dist/ui/theme/utils.js +5 -5
  120. package/dist/utils/background-utils.d.ts +4 -0
  121. package/dist/utils/background-utils.js +39 -0
  122. package/dist/utils/base-utils.d.ts +18 -0
  123. package/dist/utils/base-utils.js +124 -0
  124. package/dist/utils/constants.d.ts +2 -2
  125. package/dist/utils/constants.js +6 -1
  126. package/dist/utils/font-utils.d.ts +4 -0
  127. package/dist/utils/font-utils.js +47 -0
  128. package/dist/utils/style-utils.d.ts +7 -120
  129. package/dist/utils/style-utils.js +29 -304
  130. package/dist/utils/variable-utils.d.ts +1 -22
  131. package/dist/utils/variable-utils.js +28 -24
  132. package/dist/web-components/index.css +1 -1
  133. package/dist/web-components/index.js +1435 -980
  134. package/package.json +36 -26
  135. package/dist/components/button/button-utils.d.ts +0 -2
  136. package/dist/components/button/button-utils.js +0 -19
  137. package/dist/components/image/image-utils.d.ts +0 -19
  138. package/dist/components/image/image-utils.js +0 -33
  139. package/dist/components/purchase-button/purchase-button-utils.d.ts +0 -2
  140. package/dist/components/purchase-button/purchase-button-utils.js +0 -20
  141. package/dist/data/entities.d.ts +0 -162
  142. package/dist/stories/meta-templates.d.ts +0 -12
  143. package/dist/stories/meta-templates.js +0 -155
  144. /package/dist/{data/entities.js → types/base.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  <script module lang="ts">
2
- import { Timeline } from "../..";
2
+ import { FontWeights, Timeline } from "../..";
3
3
  import { defaultColor } from "../text/text-utils";
4
4
  import { localizationDecorator } from "../../stories/localization-decorator";
5
5
  import { defineMeta } from "@storybook/addon-svelte-csf";
@@ -9,7 +9,6 @@
9
9
  const { Story } = defineMeta({
10
10
  title: "Components/Timeline",
11
11
  component: Timeline,
12
- tags: ["autodocs"],
13
12
  decorators: [
14
13
  localizationDecorator({
15
14
  defaultLocale,
@@ -39,17 +38,16 @@
39
38
  },
40
39
  }),
41
40
  ],
42
- argTypes: {},
43
41
  });
44
42
  </script>
45
43
 
46
- <!-- Timeline -->
47
44
  <Story
48
45
  name="Round icon"
49
46
  args={{
50
47
  type: "timeline",
51
- item_spacing: 32,
52
- text_spacing: 16,
48
+ item_spacing: 16,
49
+ text_spacing: 4,
50
+ column_gutter: 16,
53
51
  size: { width: { type: "fill" }, height: { type: "fit" } },
54
52
  margin: { top: 8, trailing: 8, bottom: 8, leading: 8 },
55
53
  padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
@@ -57,15 +55,36 @@
57
55
  name: "default timeline",
58
56
  items: [
59
57
  {
58
+ id: "item-1",
59
+ name: "item-1",
60
+ type: "timeline_item",
60
61
  title: {
61
62
  text_lid: "asd123",
62
63
  color: defaultColor,
63
64
  horizontal_alignment: "center",
65
+ font_size: 18,
66
+ font_weight: "bold",
67
+ font_weight_int: 700,
68
+ type: "text",
69
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
70
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
71
+ size: { width: { type: "fit" }, height: { type: "fit" } },
72
+ id: "title-1",
73
+ name: "title-1",
64
74
  },
65
75
  description: {
66
76
  text_lid: "asd123d",
67
77
  color: defaultColor,
68
78
  horizontal_alignment: "center",
79
+ font_size: 18,
80
+ font_weight: "regular",
81
+ font_weight_int: 400,
82
+ type: "text",
83
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
84
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
85
+ size: { width: { type: "fit" }, height: { type: "fit" } },
86
+ id: "description-1",
87
+ name: "description-1",
69
88
  },
70
89
  icon: {
71
90
  name: "check",
@@ -75,29 +94,64 @@
75
94
  value: "#FAFAFA",
76
95
  },
77
96
  },
78
- width_and_height: 32,
79
- padding: 16,
80
- },
81
- icon_background: {
82
- shape: { type: "circle" },
83
- color: {
84
- light: {
85
- type: "hex",
86
- value: "#3f3f3f",
97
+ size: {
98
+ width: { type: "fixed", value: 32 },
99
+ height: { type: "fixed", value: 32 },
100
+ },
101
+ type: "icon",
102
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
103
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
104
+ id: "icon-1",
105
+ icon_name: "check",
106
+ base_url: "https://icons.pawwalls.com/icons",
107
+ formats: {
108
+ heic: "check.heic",
109
+ png: "check.png",
110
+ svg: "check.svg",
111
+ webp: "check.webp",
112
+ },
113
+ icon_background: {
114
+ shape: { type: "circle" },
115
+ color: {
116
+ light: {
117
+ type: "hex",
118
+ value: "#3f3f3f",
119
+ },
87
120
  },
88
121
  },
89
122
  },
90
123
  },
91
124
  {
125
+ id: "item-2",
126
+ name: "item-2",
127
+ type: "timeline_item",
92
128
  title: {
93
129
  text_lid: "qwe123",
94
130
  color: defaultColor,
95
131
  horizontal_alignment: "center",
132
+ font_size: 18,
133
+ font_weight: "bold",
134
+ font_weight_int: 700,
135
+ type: "text",
136
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
137
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
138
+ size: { width: { type: "fit" }, height: { type: "fit" } },
139
+ id: "title-2",
140
+ name: "title-2",
96
141
  },
97
142
  description: {
98
143
  text_lid: "qwe123d",
99
144
  color: defaultColor,
100
145
  horizontal_alignment: "center",
146
+ font_size: 18,
147
+ font_weight: "regular",
148
+ font_weight_int: 400,
149
+ type: "text",
150
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
151
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
152
+ size: { width: { type: "fit" }, height: { type: "fit" } },
153
+ id: "description-2",
154
+ name: "description-2",
101
155
  },
102
156
  icon: {
103
157
  name: "check",
@@ -107,29 +161,64 @@
107
161
  value: "#FAFAFA",
108
162
  },
109
163
  },
110
- width_and_height: 32,
111
- padding: 16,
112
- },
113
- icon_background: {
114
- shape: { type: "circle" },
115
- color: {
116
- light: {
117
- type: "hex",
118
- value: "#3f3f3f",
164
+ size: {
165
+ width: { type: "fixed", value: 32 },
166
+ height: { type: "fixed", value: 32 },
167
+ },
168
+ type: "icon",
169
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
170
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
171
+ id: "icon-2",
172
+ icon_name: "check",
173
+ base_url: "https://icons.pawwalls.com/icons",
174
+ formats: {
175
+ heic: "check.heic",
176
+ png: "check.png",
177
+ svg: "check.svg",
178
+ webp: "check.webp",
179
+ },
180
+ icon_background: {
181
+ shape: { type: "circle" },
182
+ color: {
183
+ light: {
184
+ type: "hex",
185
+ value: "#3f3f3f",
186
+ },
119
187
  },
120
188
  },
121
189
  },
122
190
  },
123
191
  {
192
+ id: "item-3",
193
+ name: "item-3",
194
+ type: "timeline_item",
124
195
  title: {
125
196
  text_lid: "zxc123",
126
197
  color: defaultColor,
127
198
  horizontal_alignment: "center",
199
+ font_size: 18,
200
+ font_weight: "bold",
201
+ font_weight_int: 700,
202
+ type: "text",
203
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
204
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
205
+ size: { width: { type: "fit" }, height: { type: "fit" } },
206
+ id: "title-3",
207
+ name: "title-3",
128
208
  },
129
209
  description: {
130
210
  text_lid: "zxc123d",
131
211
  color: defaultColor,
132
212
  horizontal_alignment: "center",
213
+ font_size: 18,
214
+ font_weight: "regular",
215
+ font_weight_int: 400,
216
+ type: "text",
217
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
218
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
219
+ size: { width: { type: "fit" }, height: { type: "fit" } },
220
+ id: "description-3",
221
+ name: "description-3",
133
222
  },
134
223
  icon: {
135
224
  name: "check",
@@ -139,15 +228,29 @@
139
228
  value: "#FAFAFA",
140
229
  },
141
230
  },
142
- width_and_height: 32,
143
- padding: 16,
144
- },
145
- icon_background: {
146
- shape: { type: "circle" },
147
- color: {
148
- light: {
149
- type: "hex",
150
- value: "#3f3f3f",
231
+ size: {
232
+ width: { type: "fixed", value: 32 },
233
+ height: { type: "fixed", value: 32 },
234
+ },
235
+ type: "icon",
236
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
237
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
238
+ id: "icon-3",
239
+ icon_name: "check",
240
+ base_url: "https://icons.pawwalls.com/icons",
241
+ formats: {
242
+ heic: "check.heic",
243
+ png: "check.png",
244
+ svg: "check.svg",
245
+ webp: "check.webp",
246
+ },
247
+ icon_background: {
248
+ shape: { type: "circle" },
249
+ color: {
250
+ light: {
251
+ type: "hex",
252
+ value: "#3f3f3f",
253
+ },
151
254
  },
152
255
  },
153
256
  },
@@ -160,8 +263,9 @@
160
263
  name="Square icon"
161
264
  args={{
162
265
  type: "timeline",
163
- item_spacing: 32,
164
- text_spacing: 16,
266
+ item_spacing: 16,
267
+ text_spacing: 4,
268
+ column_gutter: 16,
165
269
  size: { width: { type: "fill" }, height: { type: "fit" } },
166
270
  margin: { top: 8, trailing: 8, bottom: 8, leading: 8 },
167
271
  padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
@@ -169,15 +273,36 @@
169
273
  name: "default timeline",
170
274
  items: [
171
275
  {
276
+ id: "item-1",
277
+ name: "item-1",
278
+ type: "timeline_item",
172
279
  title: {
173
280
  text_lid: "asd123",
174
281
  color: defaultColor,
175
282
  horizontal_alignment: "center",
283
+ font_size: 18,
284
+ font_weight: "bold",
285
+ font_weight_int: 700,
286
+ type: "text",
287
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
288
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
289
+ size: { width: { type: "fit" }, height: { type: "fit" } },
290
+ id: "title-1",
291
+ name: "title-1",
176
292
  },
177
293
  description: {
178
294
  text_lid: "asd123d",
179
295
  color: defaultColor,
180
296
  horizontal_alignment: "center",
297
+ font_size: 18,
298
+ font_weight: "regular",
299
+ font_weight_int: 400,
300
+ type: "text",
301
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
302
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
303
+ size: { width: { type: "fit" }, height: { type: "fit" } },
304
+ id: "description-1",
305
+ name: "description-1",
181
306
  },
182
307
  icon: {
183
308
  name: "check",
@@ -187,37 +312,72 @@
187
312
  value: "#FAFAFA",
188
313
  },
189
314
  },
190
- width_and_height: 32,
191
- padding: 16,
192
- },
193
- icon_background: {
194
- shape: {
195
- type: "rectangle",
196
- corners: {
197
- top_leading: 0,
198
- top_trailing: 0,
199
- bottom_leading: 0,
200
- bottom_trailing: 0,
201
- },
202
- },
203
- color: {
204
- light: {
205
- type: "hex",
206
- value: "#3f3f3f",
315
+ size: {
316
+ width: { type: "fixed", value: 32 },
317
+ height: { type: "fixed", value: 32 },
318
+ },
319
+ type: "icon",
320
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
321
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
322
+ id: "icon-1",
323
+ icon_name: "check",
324
+ base_url: "https://icons.pawwalls.com/icons",
325
+ formats: {
326
+ heic: "check.heic",
327
+ png: "check.png",
328
+ svg: "check.svg",
329
+ webp: "check.webp",
330
+ },
331
+ icon_background: {
332
+ shape: {
333
+ type: "rectangle",
334
+ corners: {
335
+ top_leading: 0,
336
+ top_trailing: 0,
337
+ bottom_leading: 0,
338
+ bottom_trailing: 0,
339
+ },
340
+ },
341
+ color: {
342
+ light: {
343
+ type: "hex",
344
+ value: "#3f3f3f",
345
+ },
207
346
  },
208
347
  },
209
348
  },
210
349
  },
211
350
  {
351
+ id: "item-2",
352
+ name: "item-2",
353
+ type: "timeline_item",
212
354
  title: {
213
355
  text_lid: "qwe123",
214
356
  color: defaultColor,
215
357
  horizontal_alignment: "center",
358
+ font_size: 18,
359
+ font_weight: "bold",
360
+ font_weight_int: 700,
361
+ type: "text",
362
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
363
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
364
+ size: { width: { type: "fit" }, height: { type: "fit" } },
365
+ id: "title-2",
366
+ name: "title-2",
216
367
  },
217
368
  description: {
218
369
  text_lid: "qwe123d",
219
370
  color: defaultColor,
220
371
  horizontal_alignment: "center",
372
+ font_size: 18,
373
+ font_weight: "regular",
374
+ font_weight_int: 400,
375
+ type: "text",
376
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
377
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
378
+ size: { width: { type: "fit" }, height: { type: "fit" } },
379
+ id: "description-2",
380
+ name: "description-2",
221
381
  },
222
382
  icon: {
223
383
  name: "check",
@@ -227,37 +387,72 @@
227
387
  value: "#FAFAFA",
228
388
  },
229
389
  },
230
- width_and_height: 32,
231
- padding: 16,
232
- },
233
- icon_background: {
234
- shape: {
235
- type: "rectangle",
236
- corners: {
237
- top_leading: 8,
238
- top_trailing: 8,
239
- bottom_leading: 8,
240
- bottom_trailing: 8,
241
- },
242
- },
243
- color: {
244
- light: {
245
- type: "hex",
246
- value: "#3f3f3f",
390
+ size: {
391
+ width: { type: "fixed", value: 32 },
392
+ height: { type: "fixed", value: 32 },
393
+ },
394
+ type: "icon",
395
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
396
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
397
+ id: "icon-2",
398
+ icon_name: "check",
399
+ base_url: "https://icons.pawwalls.com/icons",
400
+ formats: {
401
+ heic: "check.heic",
402
+ png: "check.png",
403
+ svg: "check.svg",
404
+ webp: "check.webp",
405
+ },
406
+ icon_background: {
407
+ shape: {
408
+ type: "rectangle",
409
+ corners: {
410
+ top_leading: 0,
411
+ top_trailing: 0,
412
+ bottom_leading: 0,
413
+ bottom_trailing: 0,
414
+ },
415
+ },
416
+ color: {
417
+ light: {
418
+ type: "hex",
419
+ value: "#3f3f3f",
420
+ },
247
421
  },
248
422
  },
249
423
  },
250
424
  },
251
425
  {
426
+ id: "item-3",
427
+ name: "item-3",
428
+ type: "timeline_item",
252
429
  title: {
253
430
  text_lid: "zxc123",
254
431
  color: defaultColor,
255
432
  horizontal_alignment: "center",
433
+ font_size: 18,
434
+ font_weight: "bold",
435
+ font_weight_int: 700,
436
+ type: "text",
437
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
438
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
439
+ size: { width: { type: "fit" }, height: { type: "fit" } },
440
+ id: "title-3",
441
+ name: "title-3",
256
442
  },
257
443
  description: {
258
444
  text_lid: "zxc123d",
259
445
  color: defaultColor,
260
446
  horizontal_alignment: "center",
447
+ font_size: 18,
448
+ font_weight: "regular",
449
+ font_weight_int: 400,
450
+ type: "text",
451
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
452
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
453
+ size: { width: { type: "fit" }, height: { type: "fit" } },
454
+ id: "description-3",
455
+ name: "description-3",
261
456
  },
262
457
  icon: {
263
458
  name: "check",
@@ -267,23 +462,37 @@
267
462
  value: "#FAFAFA",
268
463
  },
269
464
  },
270
- width_and_height: 32,
271
- padding: 16,
272
- },
273
- icon_background: {
274
- shape: {
275
- type: "rectangle",
276
- corners: {
277
- top_leading: 16,
278
- top_trailing: 16,
279
- bottom_leading: 16,
280
- bottom_trailing: 16,
281
- },
282
- },
283
- color: {
284
- light: {
285
- type: "hex",
286
- value: "#3f3f3f",
465
+ size: {
466
+ width: { type: "fixed", value: 32 },
467
+ height: { type: "fixed", value: 32 },
468
+ },
469
+ type: "icon",
470
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
471
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
472
+ id: "icon-3",
473
+ icon_name: "check",
474
+ base_url: "https://icons.pawwalls.com/icons",
475
+ formats: {
476
+ heic: "check.heic",
477
+ png: "check.png",
478
+ svg: "check.svg",
479
+ webp: "check.webp",
480
+ },
481
+ icon_background: {
482
+ shape: {
483
+ type: "rectangle",
484
+ corners: {
485
+ top_leading: 0,
486
+ top_trailing: 0,
487
+ bottom_leading: 0,
488
+ bottom_trailing: 0,
489
+ },
490
+ },
491
+ color: {
492
+ light: {
493
+ type: "hex",
494
+ value: "#3f3f3f",
495
+ },
287
496
  },
288
497
  },
289
498
  },
@@ -291,12 +500,14 @@
291
500
  ],
292
501
  }}
293
502
  />
503
+
294
504
  <Story
295
- name="With connector"
505
+ name="Square icon with rounded corners"
296
506
  args={{
297
507
  type: "timeline",
298
- item_spacing: 32,
299
- text_spacing: 16,
508
+ item_spacing: 16,
509
+ text_spacing: 4,
510
+ column_gutter: 16,
300
511
  size: { width: { type: "fill" }, height: { type: "fit" } },
301
512
  margin: { top: 8, trailing: 8, bottom: 8, leading: 8 },
302
513
  padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
@@ -304,15 +515,36 @@
304
515
  name: "default timeline",
305
516
  items: [
306
517
  {
518
+ id: "item-1",
519
+ name: "item-1",
520
+ type: "timeline_item",
307
521
  title: {
308
522
  text_lid: "asd123",
309
523
  color: defaultColor,
310
524
  horizontal_alignment: "center",
525
+ font_size: 18,
526
+ font_weight: "bold",
527
+ font_weight_int: 700,
528
+ type: "text",
529
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
530
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
531
+ size: { width: { type: "fit" }, height: { type: "fit" } },
532
+ id: "title-1",
533
+ name: "title-1",
311
534
  },
312
535
  description: {
313
536
  text_lid: "asd123d",
314
537
  color: defaultColor,
315
538
  horizontal_alignment: "center",
539
+ font_size: 18,
540
+ font_weight: "regular",
541
+ font_weight_int: 400,
542
+ type: "text",
543
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
544
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
545
+ size: { width: { type: "fit" }, height: { type: "fit" } },
546
+ id: "description-1",
547
+ name: "description-1",
316
548
  },
317
549
  icon: {
318
550
  name: "check",
@@ -322,34 +554,72 @@
322
554
  value: "#FAFAFA",
323
555
  },
324
556
  },
325
- width_and_height: 32,
326
- padding: 16,
327
- },
328
- icon_background: {
329
- shape: { type: "circle" },
330
- color: {
331
- light: {
332
- type: "hex",
333
- value: "#3f3f3f",
557
+ size: {
558
+ width: { type: "fixed", value: 32 },
559
+ height: { type: "fixed", value: 32 },
560
+ },
561
+ type: "icon",
562
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
563
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
564
+ id: "icon-1",
565
+ icon_name: "check",
566
+ base_url: "https://icons.pawwalls.com/icons",
567
+ formats: {
568
+ heic: "check.heic",
569
+ png: "check.png",
570
+ svg: "check.svg",
571
+ webp: "check.webp",
572
+ },
573
+ icon_background: {
574
+ shape: {
575
+ type: "rectangle",
576
+ corners: {
577
+ top_leading: 8,
578
+ top_trailing: 8,
579
+ bottom_leading: 8,
580
+ bottom_trailing: 8,
581
+ },
582
+ },
583
+ color: {
584
+ light: {
585
+ type: "hex",
586
+ value: "#3f3f3f",
587
+ },
334
588
  },
335
589
  },
336
590
  },
337
- connector: {
338
- width: 8,
339
- margin: { top: 0, bottom: 0 },
340
- color: { light: { type: "hex", value: "#d3d3d3" } },
341
- },
342
591
  },
343
592
  {
593
+ id: "item-2",
594
+ name: "item-2",
595
+ type: "timeline_item",
344
596
  title: {
345
597
  text_lid: "qwe123",
346
598
  color: defaultColor,
347
599
  horizontal_alignment: "center",
600
+ font_size: 18,
601
+ font_weight: "bold",
602
+ font_weight_int: 700,
603
+ type: "text",
604
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
605
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
606
+ size: { width: { type: "fit" }, height: { type: "fit" } },
607
+ id: "title-2",
608
+ name: "title-2",
348
609
  },
349
610
  description: {
350
611
  text_lid: "qwe123d",
351
612
  color: defaultColor,
352
613
  horizontal_alignment: "center",
614
+ font_size: 18,
615
+ font_weight: "regular",
616
+ font_weight_int: 400,
617
+ type: "text",
618
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
619
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
620
+ size: { width: { type: "fit" }, height: { type: "fit" } },
621
+ id: "description-2",
622
+ name: "description-2",
353
623
  },
354
624
  icon: {
355
625
  name: "check",
@@ -359,34 +629,72 @@
359
629
  value: "#FAFAFA",
360
630
  },
361
631
  },
362
- width_and_height: 32,
363
- padding: 16,
364
- },
365
- icon_background: {
366
- shape: { type: "circle" },
367
- color: {
368
- light: {
369
- type: "hex",
370
- value: "#3f3f3f",
632
+ size: {
633
+ width: { type: "fixed", value: 32 },
634
+ height: { type: "fixed", value: 32 },
635
+ },
636
+ type: "icon",
637
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
638
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
639
+ id: "icon-2",
640
+ icon_name: "check",
641
+ base_url: "https://icons.pawwalls.com/icons",
642
+ formats: {
643
+ heic: "check.heic",
644
+ png: "check.png",
645
+ svg: "check.svg",
646
+ webp: "check.webp",
647
+ },
648
+ icon_background: {
649
+ shape: {
650
+ type: "rectangle",
651
+ corners: {
652
+ top_leading: 8,
653
+ top_trailing: 8,
654
+ bottom_leading: 8,
655
+ bottom_trailing: 8,
656
+ },
657
+ },
658
+ color: {
659
+ light: {
660
+ type: "hex",
661
+ value: "#3f3f3f",
662
+ },
371
663
  },
372
664
  },
373
665
  },
374
- connector: {
375
- width: 8,
376
- margin: { top: 0, bottom: 0 },
377
- color: { light: { type: "hex", value: "#d3d3d3" } },
378
- },
379
666
  },
380
667
  {
668
+ id: "item-3",
669
+ name: "item-3",
670
+ type: "timeline_item",
381
671
  title: {
382
672
  text_lid: "zxc123",
383
673
  color: defaultColor,
384
674
  horizontal_alignment: "center",
675
+ font_size: 18,
676
+ font_weight: "bold",
677
+ font_weight_int: 700,
678
+ type: "text",
679
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
680
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
681
+ size: { width: { type: "fit" }, height: { type: "fit" } },
682
+ id: "title-3",
683
+ name: "title-3",
385
684
  },
386
685
  description: {
387
686
  text_lid: "zxc123d",
388
687
  color: defaultColor,
389
688
  horizontal_alignment: "center",
689
+ font_size: 18,
690
+ font_weight: "regular",
691
+ font_weight_int: 400,
692
+ type: "text",
693
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
694
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
695
+ size: { width: { type: "fit" }, height: { type: "fit" } },
696
+ id: "description-3",
697
+ name: "description-3",
390
698
  },
391
699
  icon: {
392
700
  name: "check",
@@ -396,35 +704,37 @@
396
704
  value: "#FAFAFA",
397
705
  },
398
706
  },
399
- width_and_height: 32,
400
- padding: 16,
401
- },
402
- icon_background: {
403
- shape: { type: "circle" },
404
- color: {
405
- light: {
406
- type: "hex",
407
- value: "#3f3f3f",
408
- },
409
- },
410
- },
411
- connector: {
412
- width: 8,
413
- margin: { top: 0, bottom: 0 },
414
- color: {
415
- light: {
416
- degrees: 180,
417
- points: [
418
- {
419
- color: "#d3d3d3",
420
- percent: 0,
421
- },
422
- {
423
- color: "#d3d3d300",
424
- percent: 100,
425
- },
426
- ],
427
- type: "linear",
707
+ size: {
708
+ width: { type: "fixed", value: 32 },
709
+ height: { type: "fixed", value: 32 },
710
+ },
711
+ type: "icon",
712
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
713
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
714
+ id: "icon-3",
715
+ icon_name: "check",
716
+ base_url: "https://icons.pawwalls.com/icons",
717
+ formats: {
718
+ heic: "check.heic",
719
+ png: "check.png",
720
+ svg: "check.svg",
721
+ webp: "check.webp",
722
+ },
723
+ icon_background: {
724
+ shape: {
725
+ type: "rectangle",
726
+ corners: {
727
+ top_leading: 8,
728
+ top_trailing: 8,
729
+ bottom_leading: 8,
730
+ bottom_trailing: 8,
731
+ },
732
+ },
733
+ color: {
734
+ light: {
735
+ type: "hex",
736
+ value: "#3f3f3f",
737
+ },
428
738
  },
429
739
  },
430
740
  },
@@ -434,11 +744,12 @@
434
744
  />
435
745
 
436
746
  <Story
437
- name="Connector possibilities"
747
+ name="Square cornered icon with connectors"
438
748
  args={{
439
749
  type: "timeline",
440
- item_spacing: 64,
441
- text_spacing: 8,
750
+ item_spacing: 16,
751
+ text_spacing: 4,
752
+ column_gutter: 16,
442
753
  size: { width: { type: "fill" }, height: { type: "fit" } },
443
754
  margin: { top: 8, trailing: 8, bottom: 8, leading: 8 },
444
755
  padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
@@ -446,15 +757,36 @@
446
757
  name: "default timeline",
447
758
  items: [
448
759
  {
760
+ id: "item-1",
761
+ name: "item-1",
762
+ type: "timeline_item",
449
763
  title: {
450
- text_lid: "case1",
764
+ text_lid: "asd123",
451
765
  color: defaultColor,
452
766
  horizontal_alignment: "center",
767
+ font_size: 18,
768
+ font_weight: "bold",
769
+ font_weight_int: 700,
770
+ type: "text",
771
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
772
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
773
+ size: { width: { type: "fit" }, height: { type: "fit" } },
774
+ id: "title-1",
775
+ name: "title-1",
453
776
  },
454
777
  description: {
455
- text_lid: "case1d",
778
+ text_lid: "asd123d",
456
779
  color: defaultColor,
457
780
  horizontal_alignment: "center",
781
+ font_size: 18,
782
+ font_weight: "regular",
783
+ font_weight_int: 400,
784
+ type: "text",
785
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
786
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
787
+ size: { width: { type: "fit" }, height: { type: "fit" } },
788
+ id: "description-1",
789
+ name: "description-1",
458
790
  },
459
791
  icon: {
460
792
  name: "check",
@@ -464,71 +796,82 @@
464
796
  value: "#FAFAFA",
465
797
  },
466
798
  },
467
- width_and_height: 32,
468
- padding: 12,
469
- },
470
- icon_background: {
471
- shape: { type: "circle" },
472
- color: {
473
- light: {
474
- type: "hex",
475
- value: "#3f3f3f",
799
+ size: {
800
+ width: { type: "fixed", value: 32 },
801
+ height: { type: "fixed", value: 32 },
802
+ },
803
+ type: "icon",
804
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
805
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
806
+ id: "icon-1",
807
+ icon_name: "check",
808
+ base_url: "https://icons.pawwalls.com/icons",
809
+ formats: {
810
+ heic: "check.heic",
811
+ png: "check.png",
812
+ svg: "check.svg",
813
+ webp: "check.webp",
814
+ },
815
+ icon_background: {
816
+ shape: {
817
+ type: "rectangle",
818
+ corners: {
819
+ top_leading: 8,
820
+ top_trailing: 8,
821
+ bottom_leading: 8,
822
+ bottom_trailing: 8,
823
+ },
824
+ },
825
+ color: {
826
+ light: {
827
+ type: "hex",
828
+ value: "#3f3f3f",
829
+ },
476
830
  },
477
831
  },
478
832
  },
479
833
  connector: {
480
- width: 8,
481
- margin: { top: 0, bottom: 0 },
482
- color: { light: { type: "hex", value: "#d3d3d3" } },
483
- },
484
- },
485
- {
486
- title: {
487
- text_lid: "case2",
488
- color: defaultColor,
489
- horizontal_alignment: "center",
490
- },
491
- description: {
492
- text_lid: "case2d",
493
- color: defaultColor,
494
- horizontal_alignment: "center",
495
- },
496
- icon: {
497
- name: "check",
834
+ width: 4,
498
835
  color: {
499
- light: {
500
- type: "hex",
501
- value: "#FAFAFA",
502
- },
836
+ light: { type: "hex", value: "#8fb43fff" },
503
837
  },
504
- width_and_height: 32,
505
- padding: 12,
506
- },
507
- icon_background: {
508
- shape: { type: "circle" },
509
- color: {
510
- light: {
511
- type: "hex",
512
- value: "#3f3f3f",
513
- },
838
+ margin: {
839
+ top: 0,
840
+ bottom: 0,
514
841
  },
515
842
  },
516
- connector: {
517
- width: 8,
518
- margin: { top: 12, bottom: 12 },
519
- color: { light: { type: "hex", value: "#d3d3d3" } },
520
- },
521
843
  },
522
844
  {
845
+ id: "item-2",
846
+ name: "item-2",
847
+ type: "timeline_item",
523
848
  title: {
524
- text_lid: "case3",
849
+ text_lid: "qwe123",
525
850
  color: defaultColor,
526
851
  horizontal_alignment: "center",
852
+ font_size: 18,
853
+ font_weight: "bold",
854
+ font_weight_int: 700,
855
+ type: "text",
856
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
857
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
858
+ size: { width: { type: "fit" }, height: { type: "fit" } },
859
+ id: "title-2",
860
+ name: "title-2",
527
861
  },
528
862
  description: {
529
- text_lid: "case3d",
863
+ text_lid: "qwe123d",
530
864
  color: defaultColor,
531
865
  horizontal_alignment: "center",
866
+ font_size: 18,
867
+ font_weight: "regular",
868
+ font_weight_int: 400,
869
+ type: "text",
870
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
871
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
872
+ size: { width: { type: "fit" }, height: { type: "fit" } },
873
+ id: "description-2",
874
+ name: "description-2",
532
875
  },
533
876
  icon: {
534
877
  name: "check",
@@ -538,34 +881,82 @@
538
881
  value: "#FAFAFA",
539
882
  },
540
883
  },
541
- width_and_height: 32,
542
- padding: 12,
543
- },
544
- icon_background: {
545
- shape: { type: "circle" },
546
- color: {
547
- light: {
548
- type: "hex",
549
- value: "#3f3f3f",
884
+ size: {
885
+ width: { type: "fixed", value: 32 },
886
+ height: { type: "fixed", value: 32 },
887
+ },
888
+ type: "icon",
889
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
890
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
891
+ id: "icon-2",
892
+ icon_name: "check",
893
+ base_url: "https://icons.pawwalls.com/icons",
894
+ formats: {
895
+ heic: "check.heic",
896
+ png: "check.png",
897
+ svg: "check.svg",
898
+ webp: "check.webp",
899
+ },
900
+ icon_background: {
901
+ shape: {
902
+ type: "rectangle",
903
+ corners: {
904
+ top_leading: 8,
905
+ top_trailing: 8,
906
+ bottom_leading: 8,
907
+ bottom_trailing: 8,
908
+ },
909
+ },
910
+ color: {
911
+ light: {
912
+ type: "hex",
913
+ value: "#3f3f3f",
914
+ },
550
915
  },
551
916
  },
552
917
  },
553
918
  connector: {
554
- width: 8,
555
- margin: { top: 0, bottom: 12 },
556
- color: { light: { type: "hex", value: "#d3d3d3" } },
919
+ width: 4,
920
+ color: {
921
+ light: { type: "hex", value: "#8fb43fff" },
922
+ },
923
+ margin: {
924
+ top: 0,
925
+ bottom: 0,
926
+ },
557
927
  },
558
928
  },
559
929
  {
930
+ id: "item-3",
931
+ name: "item-3",
932
+ type: "timeline_item",
560
933
  title: {
561
- text_lid: "case4",
934
+ text_lid: "zxc123",
562
935
  color: defaultColor,
563
936
  horizontal_alignment: "center",
937
+ font_size: 18,
938
+ font_weight: "bold",
939
+ font_weight_int: 700,
940
+ type: "text",
941
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
942
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
943
+ size: { width: { type: "fit" }, height: { type: "fit" } },
944
+ id: "title-3",
945
+ name: "title-3",
564
946
  },
565
947
  description: {
566
- text_lid: "case4d",
948
+ text_lid: "zxc123d",
567
949
  color: defaultColor,
568
950
  horizontal_alignment: "center",
951
+ font_size: 18,
952
+ font_weight: "regular",
953
+ font_weight_int: 400,
954
+ type: "text",
955
+ padding: { top: 0, trailing: 0, bottom: 0, leading: 0 },
956
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
957
+ size: { width: { type: "fit" }, height: { type: "fit" } },
958
+ id: "description-3",
959
+ name: "description-3",
569
960
  },
570
961
  icon: {
571
962
  name: "check",
@@ -575,53 +966,51 @@
575
966
  value: "#FAFAFA",
576
967
  },
577
968
  },
578
- width_and_height: 32,
579
- padding: 12,
580
- },
581
- icon_background: {
582
- shape: { type: "circle" },
583
- color: {
584
- light: {
585
- type: "hex",
586
- value: "#3f3f3f",
969
+ size: {
970
+ width: { type: "fixed", value: 32 },
971
+ height: { type: "fixed", value: 32 },
972
+ },
973
+ type: "icon",
974
+ padding: { top: 4, trailing: 4, bottom: 4, leading: 4 },
975
+ margin: { top: 0, trailing: 0, bottom: 0, leading: 0 },
976
+ id: "icon-3",
977
+ icon_name: "check",
978
+ base_url: "https://icons.pawwalls.com/icons",
979
+ formats: {
980
+ heic: "check.heic",
981
+ png: "check.png",
982
+ svg: "check.svg",
983
+ webp: "check.webp",
984
+ },
985
+ icon_background: {
986
+ shape: {
987
+ type: "rectangle",
988
+ corners: {
989
+ top_leading: 8,
990
+ top_trailing: 8,
991
+ bottom_leading: 8,
992
+ bottom_trailing: 8,
993
+ },
994
+ },
995
+ color: {
996
+ light: {
997
+ type: "hex",
998
+ value: "#3f3f3f",
999
+ },
587
1000
  },
588
1001
  },
589
1002
  },
590
1003
  connector: {
591
- width: 8,
592
- margin: { top: 12, bottom: 0 },
593
- color: { light: { type: "hex", value: "#d3d3d3" } },
594
- },
595
- },
596
- {
597
- title: {
598
- text_lid: "case5",
599
- color: defaultColor,
600
- horizontal_alignment: "center",
601
- },
602
- description: {
603
- text_lid: "case5d",
604
- color: defaultColor,
605
- horizontal_alignment: "center",
606
- },
607
- icon: {
608
- name: "check",
1004
+ width: 4,
609
1005
  color: {
610
1006
  light: {
611
1007
  type: "hex",
612
- value: "#FAFAFA",
1008
+ value: "linear-gradient(to bottom, #8fb43fff, #00000000)",
613
1009
  },
614
1010
  },
615
- width_and_height: 32,
616
- padding: 12,
617
- },
618
- icon_background: {
619
- shape: { type: "circle" },
620
- color: {
621
- light: {
622
- type: "hex",
623
- value: "#3f3f3f",
624
- },
1011
+ margin: {
1012
+ top: 0,
1013
+ bottom: 0,
625
1014
  },
626
1015
  },
627
1016
  },