@bodynarf/react.components 1.14.0 → 1.14.2

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 (69) hide show
  1. package/changelog.md +1 -1
  2. package/components/accordion/component/index.js +1 -1
  3. package/components/accordion/component/style.css +21 -0
  4. package/components/button/component/style.css +10 -0
  5. package/components/dropdown/component/style.css +101 -0
  6. package/components/dropdown/components/compact/index.d.ts.map +1 -1
  7. package/components/dropdown/components/compact/index.js +3 -3
  8. package/components/dropdown/components/label/components/empty/index.js +1 -1
  9. package/components/dropdown/components/label/components/withSearch/style.css +21 -0
  10. package/components/dropdown/types.d.ts +6 -6
  11. package/components/dropdown/types.d.ts.map +1 -1
  12. package/components/file/component/styles.css +74 -0
  13. package/components/icon/component/style.css +19 -0
  14. package/components/index.d.ts +0 -2
  15. package/components/index.d.ts.map +1 -1
  16. package/components/index.js +0 -2
  17. package/components/modal/component/style.css +32 -0
  18. package/components/multiselect/component/style.css +20 -0
  19. package/components/multiselect/components/withoutLabel/index.d.ts.map +1 -1
  20. package/components/multiselect/components/withoutLabel/index.js +3 -3
  21. package/components/primitives/checkbox/component/style.css +19 -0
  22. package/components/primitives/color/component/style.css +15 -0
  23. package/components/primitives/date/component/style.css +9 -0
  24. package/components/primitives/internal/hint/style.css +4 -0
  25. package/components/primitives/password/component/style.css +10 -0
  26. package/components/primitives/radioGroup/component/style.css +302 -0
  27. package/components/primitives/radioGroup/component/style.scss +34 -1
  28. package/components/primitives/slider/component/style.css +358 -0
  29. package/components/primitives/slider/component/style.scss +33 -2
  30. package/components/primitives/switch/component/style.css +430 -0
  31. package/components/primitives/switch/component/style.scss +33 -2
  32. package/components/primitives/timePicker/component/style.css +21 -0
  33. package/components/progress/component/style.css +167 -0
  34. package/components/progress/component/style.scss +20 -15
  35. package/components/search/component/style.css +18 -0
  36. package/components/stepper/component/style.css +418 -0
  37. package/components/stepper/component/style.scss +28 -2
  38. package/components/table/component/style.css +14 -0
  39. package/components/tabs/component/style.css +6 -0
  40. package/components/tag/component/style.css +19 -0
  41. package/components/timeline/component/style.css +416 -0
  42. package/components/timeline/component/style.scss +29 -3
  43. package/package.json +14 -4
  44. package/tsconfig.tsbuildinfo +1 -1
  45. package/components/anchor/component/index.d.ts +0 -8
  46. package/components/anchor/component/index.d.ts.map +0 -1
  47. package/components/anchor/component/index.js +0 -23
  48. package/components/anchor/component/style.scss +0 -15
  49. package/components/anchor/components/anchorWithIcon/index.d.ts +0 -11
  50. package/components/anchor/components/anchorWithIcon/index.d.ts.map +0 -1
  51. package/components/anchor/components/anchorWithIcon/index.js +0 -24
  52. package/components/anchor/components/simpleAnchor/index.d.ts +0 -5
  53. package/components/anchor/components/simpleAnchor/index.d.ts.map +0 -1
  54. package/components/anchor/components/simpleAnchor/index.js +0 -11
  55. package/components/anchor/index.d.ts +0 -3
  56. package/components/anchor/index.d.ts.map +0 -1
  57. package/components/anchor/index.js +0 -2
  58. package/components/anchor/types.d.ts +0 -20
  59. package/components/anchor/types.d.ts.map +0 -1
  60. package/components/anchor/types.js +0 -1
  61. package/components/tooltip/component/index.d.ts +0 -6
  62. package/components/tooltip/component/index.d.ts.map +0 -1
  63. package/components/tooltip/component/index.js +0 -80
  64. package/components/tooltip/index.d.ts +0 -3
  65. package/components/tooltip/index.d.ts.map +0 -1
  66. package/components/tooltip/index.js +0 -2
  67. package/components/tooltip/types.d.ts +0 -31
  68. package/components/tooltip/types.d.ts.map +0 -1
  69. package/components/tooltip/types.js +0 -1
@@ -0,0 +1,416 @@
1
+ @keyframes timeline-fade-in-left {
2
+ from {
3
+ opacity: 0;
4
+ transform: translateX(-20px);
5
+ }
6
+ to {
7
+ opacity: 1;
8
+ transform: translateX(0);
9
+ }
10
+ }
11
+ @keyframes timeline-fade-in-right {
12
+ from {
13
+ opacity: 0;
14
+ transform: translateX(20px);
15
+ }
16
+ to {
17
+ opacity: 1;
18
+ transform: translateX(0);
19
+ }
20
+ }
21
+ .bbr-timeline {
22
+ position: relative;
23
+ display: flex;
24
+ flex-direction: column;
25
+ width: 100%;
26
+ }
27
+ .bbr-timeline .bbr-timeline-item {
28
+ position: relative;
29
+ display: flex;
30
+ align-items: flex-start;
31
+ padding-bottom: 2rem;
32
+ }
33
+ .bbr-timeline .bbr-timeline-item:last-child {
34
+ padding-bottom: 0;
35
+ }
36
+ .bbr-timeline .bbr-timeline-item:last-child .bbr-timeline-connector {
37
+ display: none;
38
+ }
39
+ .bbr-timeline .bbr-timeline-marker {
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ width: 1.5rem;
44
+ height: 1.5rem;
45
+ min-width: 1.5rem;
46
+ border-radius: 50%;
47
+ background: var(--bulma-primary, #00d1b2);
48
+ border: 2px solid var(--bulma-primary, #00d1b2);
49
+ color: var(--bulma-white, #fff);
50
+ font-size: 0.75rem;
51
+ font-weight: 600;
52
+ z-index: 1;
53
+ flex-shrink: 0;
54
+ }
55
+ .bbr-timeline .bbr-timeline-icon,
56
+ .bbr-timeline .bbr-timeline-marker-content {
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ font-size: 0.65rem;
61
+ }
62
+ .bbr-timeline .bbr-timeline-content {
63
+ flex: 1;
64
+ background: var(--bulma-white, #fff);
65
+ border: 1px solid var(--bulma-grey-lighter, #dbdbdb);
66
+ border-radius: 4px;
67
+ padding: 1rem;
68
+ margin-left: 1rem;
69
+ box-shadow: 0 2px 4px rgba(var(--bulma-black, #0a0a0a), 0.05);
70
+ }
71
+ .bbr-timeline .bbr-timeline-title {
72
+ font-weight: 600;
73
+ font-size: 1rem;
74
+ color: var(--bulma-grey-darker, #363636);
75
+ line-height: 1.25;
76
+ }
77
+ .bbr-timeline .bbr-timeline-text {
78
+ margin-top: 0.5rem;
79
+ font-size: 0.875rem;
80
+ color: var(--bulma-grey, #7a7a7a);
81
+ line-height: 1.5;
82
+ }
83
+ .bbr-timeline .bbr-timeline-timestamp {
84
+ font-size: 0.75rem;
85
+ color: var(--bulma-grey-light, #b5b5b5);
86
+ margin-bottom: 0.25rem;
87
+ }
88
+ .bbr-timeline .bbr-timeline-connector {
89
+ position: absolute;
90
+ left: calc(0.75rem - 1px);
91
+ top: 1.5rem;
92
+ width: 2px;
93
+ height: calc(100% - 1.5rem);
94
+ background: var(--bulma-grey-lighter, #dbdbdb);
95
+ z-index: 0;
96
+ }
97
+ .bbr-timeline.is-left-aligned .bbr-timeline-item {
98
+ padding-left: 0;
99
+ }
100
+ .bbr-timeline.is-centered .bbr-timeline-item {
101
+ width: 50%;
102
+ margin-left: 50%;
103
+ }
104
+ .bbr-timeline.is-centered .bbr-timeline-item:nth-child(odd) {
105
+ margin-left: 0;
106
+ flex-direction: row-reverse;
107
+ text-align: right;
108
+ }
109
+ .bbr-timeline.is-centered .bbr-timeline-item:nth-child(odd) .bbr-timeline-content {
110
+ margin-left: 0;
111
+ margin-right: 1rem;
112
+ }
113
+ .bbr-timeline.is-centered .bbr-timeline-item:nth-child(odd) .bbr-timeline-connector {
114
+ left: auto;
115
+ right: calc(0.75rem - 1px);
116
+ }
117
+ .bbr-timeline.is-centered .bbr-timeline-marker {
118
+ position: absolute;
119
+ left: 50%;
120
+ transform: translateX(-50%);
121
+ }
122
+ .bbr-timeline.is-centered .bbr-timeline-item:nth-child(odd) .bbr-timeline-marker {
123
+ left: auto;
124
+ right: 0;
125
+ transform: translateX(50%);
126
+ }
127
+ .bbr-timeline.is-centered .bbr-timeline-item:nth-child(even) .bbr-timeline-marker {
128
+ left: 0;
129
+ transform: translateX(-50%);
130
+ }
131
+ .bbr-timeline.is-centered .bbr-timeline-connector {
132
+ left: 50%;
133
+ transform: translateX(-50%);
134
+ }
135
+ .bbr-timeline.is-centered .bbr-timeline-item:nth-child(odd) .bbr-timeline-connector {
136
+ left: auto;
137
+ right: 0;
138
+ transform: translateX(50%);
139
+ }
140
+ .bbr-timeline.is-centered .bbr-timeline-item:nth-child(even) .bbr-timeline-connector {
141
+ left: 0;
142
+ transform: translateX(-50%);
143
+ }
144
+ .bbr-timeline.is-centered.has-separate-timestamps .bbr-timeline-timestamp {
145
+ position: absolute;
146
+ width: 100%;
147
+ margin-bottom: 0;
148
+ }
149
+ .bbr-timeline.is-centered.has-separate-timestamps .bbr-timeline-timestamp.is-left {
150
+ right: calc(50% + 0.75rem + 1rem);
151
+ left: auto;
152
+ text-align: right;
153
+ }
154
+ .bbr-timeline.is-centered.has-separate-timestamps .bbr-timeline-timestamp.is-right {
155
+ left: calc(50% + 0.75rem + 1rem);
156
+ right: auto;
157
+ text-align: left;
158
+ }
159
+ .bbr-timeline.is-centered.has-separate-timestamps .bbr-timeline-item:nth-child(odd) .bbr-timeline-timestamp.is-left {
160
+ display: none;
161
+ }
162
+ .bbr-timeline.is-centered.has-separate-timestamps .bbr-timeline-item:nth-child(even) .bbr-timeline-timestamp.is-right {
163
+ display: none;
164
+ }
165
+ .bbr-timeline.is-hollow .bbr-timeline-marker {
166
+ background: var(--bulma-white, #fff);
167
+ }
168
+ .bbr-timeline.is-hollow .bbr-timeline-item.is-primary .bbr-timeline-marker {
169
+ background: var(--bulma-white, #fff);
170
+ border-color: var(--bulma-primary, #00d1b2);
171
+ color: var(--bulma-primary, #00d1b2);
172
+ }
173
+ .bbr-timeline.is-hollow .bbr-timeline-item.is-link .bbr-timeline-marker {
174
+ background: var(--bulma-white, #fff);
175
+ border-color: var(--bulma-link, #485fc7);
176
+ color: var(--bulma-link, #485fc7);
177
+ }
178
+ .bbr-timeline.is-hollow .bbr-timeline-item.is-info .bbr-timeline-marker {
179
+ background: var(--bulma-white, #fff);
180
+ border-color: var(--bulma-info, #3e8ed0);
181
+ color: var(--bulma-info, #3e8ed0);
182
+ }
183
+ .bbr-timeline.is-hollow .bbr-timeline-item.is-success .bbr-timeline-marker {
184
+ background: var(--bulma-white, #fff);
185
+ border-color: var(--bulma-success, #48c78e);
186
+ color: var(--bulma-success, #48c78e);
187
+ }
188
+ .bbr-timeline.is-hollow .bbr-timeline-item.is-warning .bbr-timeline-marker {
189
+ background: var(--bulma-white, #fff);
190
+ border-color: var(--bulma-warning, #ffe08a);
191
+ color: var(--bulma-warning, #ffe08a);
192
+ }
193
+ .bbr-timeline.is-hollow .bbr-timeline-item.is-danger .bbr-timeline-marker {
194
+ background: var(--bulma-white, #fff);
195
+ border-color: var(--bulma-danger, #f14668);
196
+ color: var(--bulma-danger, #f14668);
197
+ }
198
+ .bbr-timeline.is-animated .bbr-timeline-item {
199
+ opacity: 0;
200
+ }
201
+ .bbr-timeline.is-animated .bbr-timeline-item.is-animated-left {
202
+ animation: timeline-fade-in-left 0.5s ease forwards;
203
+ }
204
+ .bbr-timeline.is-animated .bbr-timeline-item.is-animated-right {
205
+ animation: timeline-fade-in-right 0.5s ease forwards;
206
+ }
207
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(1) {
208
+ animation-delay: 0s;
209
+ }
210
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(2) {
211
+ animation-delay: 0.15s;
212
+ }
213
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(3) {
214
+ animation-delay: 0.3s;
215
+ }
216
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(4) {
217
+ animation-delay: 0.45s;
218
+ }
219
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(5) {
220
+ animation-delay: 0.6s;
221
+ }
222
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(6) {
223
+ animation-delay: 0.75s;
224
+ }
225
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(7) {
226
+ animation-delay: 0.9s;
227
+ }
228
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(8) {
229
+ animation-delay: 1.05s;
230
+ }
231
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(9) {
232
+ animation-delay: 1.2s;
233
+ }
234
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(10) {
235
+ animation-delay: 1.35s;
236
+ }
237
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(11) {
238
+ animation-delay: 1.5s;
239
+ }
240
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(12) {
241
+ animation-delay: 1.65s;
242
+ }
243
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(13) {
244
+ animation-delay: 1.8s;
245
+ }
246
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(14) {
247
+ animation-delay: 1.95s;
248
+ }
249
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(15) {
250
+ animation-delay: 2.1s;
251
+ }
252
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(16) {
253
+ animation-delay: 2.25s;
254
+ }
255
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(17) {
256
+ animation-delay: 2.4s;
257
+ }
258
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(18) {
259
+ animation-delay: 2.55s;
260
+ }
261
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(19) {
262
+ animation-delay: 2.7s;
263
+ }
264
+ .bbr-timeline.is-animated .bbr-timeline-item:nth-child(20) {
265
+ animation-delay: 2.85s;
266
+ }
267
+ .bbr-timeline.is-small .bbr-timeline-marker {
268
+ width: 1.25rem;
269
+ height: 1.25rem;
270
+ min-width: 1.25rem;
271
+ font-size: 0.625rem;
272
+ }
273
+ .bbr-timeline.is-small .bbr-timeline-icon,
274
+ .bbr-timeline.is-small .bbr-timeline-marker-content {
275
+ font-size: 0.55rem;
276
+ }
277
+ .bbr-timeline.is-small .bbr-timeline-title {
278
+ font-size: 0.875rem;
279
+ }
280
+ .bbr-timeline.is-small .bbr-timeline-text {
281
+ font-size: 0.75rem;
282
+ }
283
+ .bbr-timeline.is-small .bbr-timeline-timestamp {
284
+ font-size: 0.625rem;
285
+ }
286
+ .bbr-timeline.is-small .bbr-timeline-content {
287
+ padding: 0.75rem;
288
+ }
289
+ .bbr-timeline.is-small .bbr-timeline-connector {
290
+ left: calc(0.625rem - 1px);
291
+ top: 1.25rem;
292
+ height: calc(100% - 1.25rem);
293
+ }
294
+ .bbr-timeline.is-medium .bbr-timeline-marker {
295
+ width: 1.75rem;
296
+ height: 1.75rem;
297
+ min-width: 1.75rem;
298
+ font-size: 0.875rem;
299
+ }
300
+ .bbr-timeline.is-medium .bbr-timeline-icon,
301
+ .bbr-timeline.is-medium .bbr-timeline-marker-content {
302
+ font-size: 0.75rem;
303
+ }
304
+ .bbr-timeline.is-medium .bbr-timeline-title {
305
+ font-size: 1.125rem;
306
+ }
307
+ .bbr-timeline.is-medium .bbr-timeline-text {
308
+ font-size: 1rem;
309
+ }
310
+ .bbr-timeline.is-medium .bbr-timeline-connector {
311
+ left: calc(0.875rem - 1px);
312
+ top: 1.75rem;
313
+ height: calc(100% - 1.75rem);
314
+ }
315
+ .bbr-timeline.is-large .bbr-timeline-marker {
316
+ width: 2rem;
317
+ height: 2rem;
318
+ min-width: 2rem;
319
+ font-size: 1rem;
320
+ }
321
+ .bbr-timeline.is-large .bbr-timeline-icon,
322
+ .bbr-timeline.is-large .bbr-timeline-marker-content {
323
+ font-size: 0.875rem;
324
+ }
325
+ .bbr-timeline.is-large .bbr-timeline-title {
326
+ font-size: 1.25rem;
327
+ }
328
+ .bbr-timeline.is-large .bbr-timeline-text {
329
+ font-size: 1.125rem;
330
+ }
331
+ .bbr-timeline.is-large .bbr-timeline-content {
332
+ padding: 1.25rem;
333
+ }
334
+ .bbr-timeline.is-large .bbr-timeline-connector {
335
+ left: calc(1rem - 1px);
336
+ top: 2rem;
337
+ height: calc(100% - 2rem);
338
+ }
339
+ .bbr-timeline.is-primary .bbr-timeline-marker {
340
+ background: var(--bulma-primary, #00d1b2);
341
+ border-color: var(--bulma-primary, #00d1b2);
342
+ color: var(--bulma-white, #fff);
343
+ }
344
+ .bbr-timeline.is-primary .bbr-timeline-connector {
345
+ background: rgba(var(--bulma-primary, #00d1b2), 0.3);
346
+ }
347
+ .bbr-timeline .bbr-timeline-item.is-primary .bbr-timeline-marker {
348
+ background: var(--bulma-primary, #00d1b2);
349
+ border-color: var(--bulma-primary, #00d1b2);
350
+ color: var(--bulma-white, #fff);
351
+ }
352
+ .bbr-timeline.is-link .bbr-timeline-marker {
353
+ background: var(--bulma-link, #485fc7);
354
+ border-color: var(--bulma-link, #485fc7);
355
+ color: var(--bulma-white, #fff);
356
+ }
357
+ .bbr-timeline.is-link .bbr-timeline-connector {
358
+ background: rgba(var(--bulma-link, #485fc7), 0.3);
359
+ }
360
+ .bbr-timeline .bbr-timeline-item.is-link .bbr-timeline-marker {
361
+ background: var(--bulma-link, #485fc7);
362
+ border-color: var(--bulma-link, #485fc7);
363
+ color: var(--bulma-white, #fff);
364
+ }
365
+ .bbr-timeline.is-info .bbr-timeline-marker {
366
+ background: var(--bulma-info, #3e8ed0);
367
+ border-color: var(--bulma-info, #3e8ed0);
368
+ color: var(--bulma-white, #fff);
369
+ }
370
+ .bbr-timeline.is-info .bbr-timeline-connector {
371
+ background: rgba(var(--bulma-info, #3e8ed0), 0.3);
372
+ }
373
+ .bbr-timeline .bbr-timeline-item.is-info .bbr-timeline-marker {
374
+ background: var(--bulma-info, #3e8ed0);
375
+ border-color: var(--bulma-info, #3e8ed0);
376
+ color: var(--bulma-white, #fff);
377
+ }
378
+ .bbr-timeline.is-success .bbr-timeline-marker {
379
+ background: var(--bulma-success, #48c78e);
380
+ border-color: var(--bulma-success, #48c78e);
381
+ color: var(--bulma-white, #fff);
382
+ }
383
+ .bbr-timeline.is-success .bbr-timeline-connector {
384
+ background: rgba(var(--bulma-success, #48c78e), 0.3);
385
+ }
386
+ .bbr-timeline .bbr-timeline-item.is-success .bbr-timeline-marker {
387
+ background: var(--bulma-success, #48c78e);
388
+ border-color: var(--bulma-success, #48c78e);
389
+ color: var(--bulma-white, #fff);
390
+ }
391
+ .bbr-timeline.is-warning .bbr-timeline-marker {
392
+ background: var(--bulma-warning, #ffe08a);
393
+ border-color: var(--bulma-warning, #ffe08a);
394
+ color: rgba(0, 0, 0, 0.7);
395
+ }
396
+ .bbr-timeline.is-warning .bbr-timeline-connector {
397
+ background: rgba(var(--bulma-warning, #ffe08a), 0.3);
398
+ }
399
+ .bbr-timeline .bbr-timeline-item.is-warning .bbr-timeline-marker {
400
+ background: var(--bulma-warning, #ffe08a);
401
+ border-color: var(--bulma-warning, #ffe08a);
402
+ color: rgba(0, 0, 0, 0.7);
403
+ }
404
+ .bbr-timeline.is-danger .bbr-timeline-marker {
405
+ background: var(--bulma-danger, #f14668);
406
+ border-color: var(--bulma-danger, #f14668);
407
+ color: var(--bulma-white, #fff);
408
+ }
409
+ .bbr-timeline.is-danger .bbr-timeline-connector {
410
+ background: rgba(var(--bulma-danger, #f14668), 0.3);
411
+ }
412
+ .bbr-timeline .bbr-timeline-item.is-danger .bbr-timeline-marker {
413
+ background: var(--bulma-danger, #f14668);
414
+ border-color: var(--bulma-danger, #f14668);
415
+ color: var(--bulma-white, #fff);
416
+ }
@@ -1,3 +1,29 @@
1
+ @use "sass:list";
2
+
3
+ // Bulma variables - compatible with v0.9.x and v1.x
4
+ // Uses CSS variables with fallbacks matching Bulma 0.9.4 defaults
5
+ // v1.x: CSS variables (--bulma-*) will be used if defined
6
+ // v0.9.x: Fallback values will be used (no CSS variables in 0.9.x)
7
+
8
+ // Colors
9
+ $primary: var(--bulma-primary, #00d1b2);
10
+ $white: var(--bulma-white, #fff);
11
+ $black: var(--bulma-black, #0a0a0a);
12
+ $grey-lighter: var(--bulma-grey-lighter, #dbdbdb);
13
+ $grey-light: var(--bulma-grey-light, #b5b5b5);
14
+ $grey: var(--bulma-grey, #7a7a7a);
15
+ $grey-darker: var(--bulma-grey-darker, #363636);
16
+
17
+ // Color map for variations
18
+ $colors: (
19
+ "primary": ($primary, $white),
20
+ "link": (var(--bulma-link, #485fc7), $white),
21
+ "info": (var(--bulma-info, #3e8ed0), $white),
22
+ "success": (var(--bulma-success, #48c78e), $white),
23
+ "warning": (var(--bulma-warning, #ffe08a), rgba(0, 0, 0, 0.7)),
24
+ "danger": (var(--bulma-danger, #f14668), $white)
25
+ );
26
+
1
27
  $timeline-marker-size: 1.5rem !default;
2
28
  $timeline-marker-size-small: 1.25rem !default;
3
29
  $timeline-marker-size-medium: 1.75rem !default;
@@ -239,7 +265,7 @@ $timeline-item-spacing: 2rem !default;
239
265
  }
240
266
 
241
267
  @each $name, $pair in $colors {
242
- $color: nth($pair, 1);
268
+ $color: list.nth($pair, 1);
243
269
 
244
270
  .bbr-timeline-item.is-#{$name} .bbr-timeline-marker {
245
271
  background: $timeline-marker-hollow-bg;
@@ -369,8 +395,8 @@ $timeline-item-spacing: 2rem !default;
369
395
 
370
396
  // Color variations
371
397
  @each $name, $pair in $colors {
372
- $color: nth($pair, 1);
373
- $color-invert: nth($pair, 2);
398
+ $color: list.nth($pair, 1);
399
+ $color-invert: list.nth($pair, 2);
374
400
 
375
401
  &.is-#{$name} {
376
402
  .bbr-timeline-marker {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bodynarf/react.components",
3
- "version": "1.14.0",
3
+ "version": "1.14.2",
4
4
  "author": {
5
5
  "name": "Artem",
6
6
  "email": "bodynar@gmail.com"
@@ -21,19 +21,25 @@
21
21
  "bulma"
22
22
  ],
23
23
  "scripts": {
24
+ "dev": "cd examples && npm run dev",
25
+ "examples:install": "cd examples && npm install",
24
26
  "build": "npx tsc && tsc-alias -p tsconfig.json",
25
27
  "copy_styles": "copyfiles -u 1 src/**/*.scss dist",
26
28
  "copy_main": "copyfiles package.json *.md .npmignore dist",
27
29
  "transfer": "npm run copy_styles && npm run copy_main",
28
30
  "build_transfer": "npm run build && npm run transfer",
29
31
  "prepublish": "npm run build_transfer && cd dist && npm pack",
30
- "publish_pkg": "npm run build_transfer && cd dist && npm publish --access=public",
31
- "lint": "npx eslint src/**/*.ts src/**/*.tsx"
32
+ "publish_pkg": "npm run lint && npm run validate:scss && npm run build_transfer && cd dist && npm publish --access=public",
33
+ "lint": "npx eslint src/**/*.ts src/**/*.tsx",
34
+ "lint:scss": "npx stylelint \"src/**/*.scss\"",
35
+ "build:scss": "npx sass --load-path=node_modules src/:dist/ --no-source-map",
36
+ "validate:scss": "npm run lint:scss && npm run build:scss"
32
37
  },
33
38
  "devDependencies": {
34
39
  "@eslint/js": "^9.30.1",
35
40
  "@types/react": "^18.0.11",
36
41
  "@types/react-dom": "^18.0.5",
42
+ "bulma": "^0.9.4",
37
43
  "copyfiles": "^2.4.1",
38
44
  "eslint": "^9.32.0",
39
45
  "eslint-plugin-import": "^2.32.0",
@@ -41,9 +47,13 @@
41
47
  "eslint-plugin-react-hooks": "^5.2.0",
42
48
  "eslint-plugin-react-refresh": "^0.4.20",
43
49
  "react": ">=18.1.0",
50
+ "sass": "^1.77.0",
51
+ "stylelint": "^16.6.0",
52
+ "stylelint-config-standard-scss": "^13.1.0",
44
53
  "tsc-alias": "^1.8.6",
45
54
  "typescript": "~5.8.3",
46
- "typescript-eslint": "^8.35.1"
55
+ "typescript-eslint": "^8.35.1",
56
+ "vite-tsconfig-paths": "^6.1.1"
47
57
  },
48
58
  "peerDependencies": {
49
59
  "@bodynarf/utils": "latest",