loon-bulma-react 2026.0.64 → 2026.0.66

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.
@@ -131,5 +131,9 @@ a.#{iv.$class-prefix}bulma-box {
131
131
  &.is-#{$name} {
132
132
  border-color: $color;
133
133
  }
134
+ &.is-border {
135
+ // gebruik de standaard border color!
136
+ border-color: cv.getVar('border');
137
+ }
134
138
  }
135
139
  }
@@ -8,6 +8,8 @@
8
8
  $color: cv.getVar('text-strong') !default;
9
9
  $background-color: cv.getVar('scheme-main') !default;
10
10
 
11
+ $hour-height: 60px !default;
12
+
11
13
  $cell-border-color: cv.getVar('border') !default;
12
14
  $cell-border-style: solid !default;
13
15
  $cell-border-width: 0 0 1px !default;
@@ -16,16 +18,26 @@ $cell-heading-color: cv.getVar('text-strong') !default;
16
18
  $cell-text-align: left !default;
17
19
 
18
20
  div.lbr-grid-container {
19
- @extend %block;
20
- padding: 3px;
21
- border-radius: iv.$radius;
21
+ height: 100%;
22
22
  display: grid;
23
- grid-template-rows: 30px repeat(6, minmax(170px, auto));
24
- // TR: de columns van het grid worden inline geset!
25
- justify-items: 'stretch';
26
- align-items: 'stretch';
23
+ // TR: de rows en columns van het grid worden inline geset als overschreven!
27
24
  color: $color;
25
+
26
+ &.is-week,
27
+ &.is-list {
28
+ overflow-y: auto;
29
+ }
28
30
  }
31
+
32
+ div.lbr-grid-container.is-week {
33
+ .calendar-header-cell {
34
+ position: sticky;
35
+ top: 0;
36
+ z-index: 30;
37
+ background-color: cv.getVar('scheme-main');
38
+ }
39
+ }
40
+
29
41
  .calendar-header-cell {
30
42
  text-align: center;
31
43
  border-bottom: thin solid $cell-border-color;
@@ -34,10 +46,14 @@ div.lbr-grid-container {
34
46
  font-weight: bold;
35
47
  // background-color: cv.getVar('scheme-main-ter');
36
48
 
37
- &:first-child {
38
- border-left: none;
39
- border-top: none;
40
- border-bottom: none;
49
+ &:first-child,
50
+ &.no-border {
51
+ border: none;
52
+ }
53
+
54
+ &.is-list {
55
+ border: thin solid $cell-border-color;
56
+ border-right: none;
41
57
  }
42
58
  }
43
59
 
@@ -46,7 +62,7 @@ div.lbr-grid-container {
46
62
  text-align: center;
47
63
  font-size: 0.7em;
48
64
  padding-top: 1em;
49
- height: 60px;
65
+ height: $hour-height;
50
66
  // border-top: thin solid $cell-border-color;
51
67
  border-bottom: thin solid $cell-border-color;
52
68
  border-right: thin solid $cell-border-color;
@@ -71,13 +87,22 @@ div.lbr-grid-container {
71
87
  border-bottom: thin solid $cell-border-color;
72
88
  text-align: center;
73
89
  color: $color;
74
- font-size: 1.1em;
90
+ font-size: 0.9em;
91
+ height: 100%;
92
+ min-height: 9em;
93
+ overflow: hidden;
94
+ display: flex;
95
+ flex-direction: column;
75
96
 
76
97
  &.is-not-current-period {
77
- background-color: cv.getVar('scheme-main-ter');
98
+ // background-color: cv.getVar('scheme-main-ter');
78
99
  color: cv.getVar('text-weak');
79
100
  }
80
101
 
102
+ &.no-border {
103
+ border: none;
104
+ }
105
+
81
106
  .date {
82
107
  margin-bottom: 0.5em;
83
108
  margin-top: 0.25em;
@@ -87,9 +112,16 @@ div.lbr-grid-container {
87
112
  }
88
113
  }
89
114
 
115
+ .calendar-day-events {
116
+ flex: 1 1 auto;
117
+ min-height: 0;
118
+ overflow: hidden;
119
+ }
120
+
90
121
  .calendar-time-slot {
91
- max-height: 60px;
92
- overflow: clip;
122
+ position: relative;
123
+ max-height: $hour-height;
124
+ overflow: visible;
93
125
  border-bottom: thin solid $cell-border-color;
94
126
  border-right: thin solid $cell-border-color;
95
127
  border-left: thin solid $cell-border-color;
@@ -98,6 +130,12 @@ div.lbr-grid-container {
98
130
  flex-wrap: nowrap;
99
131
  }
100
132
 
133
+ div.lbr-grid-container.is-week {
134
+ .calendar-time-slot > .event-base {
135
+ z-index: 20;
136
+ }
137
+ }
138
+
101
139
  span.more-events-expander {
102
140
  display: inline-block;
103
141
  width: 0.9em;
@@ -127,9 +165,10 @@ span.is-today {
127
165
  }
128
166
  }
129
167
 
130
- div.kleurblok {
131
- width: 0.9em;
132
- height: 0.9em;
168
+ div.kleurblok,
169
+ span.kleurblok {
170
+ width: 1em;
171
+ height: 1em;
133
172
  border-radius: 3px;
134
173
  margin-right: 0.5em;
135
174
  margin-bottom: -2px;
@@ -141,12 +180,12 @@ div.kleurblok {
141
180
  transition:
142
181
  background-color 0.2s ease-in-out,
143
182
  color 0.2s ease-in-out;
144
- height: 1.5em;
145
- margin: 6px 3px;
183
+ height: 21px;
184
+ margin: 3px 3px;
146
185
  border-radius: 5px;
147
186
  text-align: start;
148
- padding-left: 3px;
149
- padding-right: 3px;
187
+ // padding-left: 3px;
188
+ // padding-right: 3px;
150
189
  overflow: clip;
151
190
  text-overflow: clip;
152
191
  color: $color;
@@ -155,10 +194,49 @@ div.kleurblok {
155
194
 
156
195
  .more-events {
157
196
  @extend .event-base;
158
- background-color: transparent;
197
+
198
+ // background-color: transparent;
159
199
  color: $color;
160
200
  font-size: 0.75em;
161
201
  cursor: pointer;
202
+
203
+ &:hover {
204
+ background-color: cv.getVar('scheme-main-ter');
205
+ }
206
+ }
207
+
208
+ .calendar-more-events-overlay {
209
+ z-index: 1100;
210
+ background-color: cv.getVar('scheme-main');
211
+ box-shadow: cv.getVar('shadow');
212
+
213
+ .calendar-more-events-overlay-body {
214
+ flex: 0 0 auto;
215
+ overflow: visible;
216
+ }
217
+ }
218
+
219
+ .calendar-listitem-grid {
220
+ display: grid;
221
+ grid-template-columns: 10em auto;
222
+ grid-template-rows: repeat(auto-fill, 22px);
223
+ padding: 0.5em;
224
+ padding-left: 0.25em;
225
+ border: thin solid $cell-border-color;
226
+
227
+ .allday-evt-timespan,
228
+ .timed-evt-timespan {
229
+ vertical-align: baseline;
230
+
231
+ display: grid;
232
+ grid-template-columns: 1em 1fr 0.5em 1fr;
233
+ grid-template-rows: 1fr;
234
+ }
235
+
236
+ .allday-evt-description,
237
+ .timed-evt-description {
238
+ vertical-align: baseline;
239
+ }
162
240
  }
163
241
 
164
242
  // ##################################
@@ -5,9 +5,16 @@
5
5
  @use 'bulma/sass/utilities/mixins' as mx;
6
6
  @use 'bulma/sass/utilities/functions' as fn;
7
7
 
8
+ $mini-cal-border-radius: 0.75rem;
9
+
10
+ .mini-calendar {
11
+ min-width: 200px;
12
+ min-height: 222px;
13
+ }
14
+
8
15
  .mini-calendar-header {
9
16
  text-align: center;
10
- font-size: 1.2em;
17
+ font-size: 1em;
11
18
  font-weight: bold;
12
19
  margin-top: auto;
13
20
  margin-bottom: auto;
@@ -15,14 +22,23 @@
15
22
  font-weight: bold;
16
23
  color: dv.$info;
17
24
  padding: 0.25em;
18
- padding-left: 1em;
19
- padding-right: 1em;
20
- border-radius: 0.75rem;
25
+
26
+ border-radius: $mini-cal-border-radius;
21
27
  transition: background-color 0.1s ease-in-out;
22
28
  &:hover {
23
29
  background-color: dv.$info;
24
30
  color: fn.bulmaFindColorInvert(dv.$info);
25
31
  }
32
+
33
+ &.is-left {
34
+ padding-left: 0.25em;
35
+ padding-left: 0.25em;
36
+ }
37
+
38
+ &.is-right {
39
+ padding-left: 0.25em;
40
+ padding-right: 0.25em;
41
+ }
26
42
  }
27
43
  }
28
44
  .mini-calendar-grid {
@@ -43,7 +59,7 @@
43
59
  .mini-calendar-slot {
44
60
  vertical-align: middle;
45
61
  text-align: center;
46
- border-radius: 0.75rem;
62
+ border-radius: $mini-cal-border-radius;
47
63
  transition: background-color 0.1s ease-in-out;
48
64
  padding: 0.25em;
49
65
 
@@ -59,6 +75,7 @@
59
75
 
60
76
  &.is-other-month {
61
77
  color: dv.$text-weak;
78
+ font-weight: 200;
62
79
  }
63
80
 
64
81
  &:hover {
@@ -345,9 +345,10 @@ table {
345
345
  td,
346
346
  th {
347
347
  padding: 0;
348
- // border-top: thin solid $table-cell-border-color;
348
+ border-left: thin solid $table-cell-border-color;
349
349
  border-bottom: thin solid $table-cell-border-color;
350
350
  border-right: thin solid $table-cell-border-color;
351
+ min-width: 222px;
351
352
  }
352
353
 
353
354
  th.first-col,
@@ -368,6 +369,7 @@ table {
368
369
  th {
369
370
  padding: 0;
370
371
  border-bottom: thin solid $table-cell-border-color;
372
+ border-left: thin solid $table-cell-border-color;
371
373
  border-right: thin solid $table-cell-border-color;
372
374
  }
373
375
 
@@ -376,6 +378,7 @@ table {
376
378
  position: sticky;
377
379
  left: 0;
378
380
  padding: 2px;
381
+ border-left: none;
379
382
  // border-left: thin solid $table-cell-border-color;
380
383
  background-color: cv.getVar('scheme-main');
381
384
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loon-bulma-react",
3
3
  "private": false,
4
- "version": "2026.0.64",
4
+ "version": "2026.0.66",
5
5
  "description": "Bulma & React componenten voor Loon Salarissoftware",
6
6
  "type": "module",
7
7
  "license": "MIT",