@revikornmann/muka-ui 0.39.0 → 0.41.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/cjs/components/Breadcrumb/Breadcrumb.css +28 -0
- package/dist/cjs/components/Breadcrumb/Breadcrumb.js +2 -1
- package/dist/cjs/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/cjs/components/PlanningGantt/PlanningGantt.css +58 -0
- package/dist/cjs/components/PlanningGantt/PlanningGantt.js +5 -3
- package/dist/cjs/components/PlanningGantt/PlanningGantt.js.map +1 -1
- package/dist/cjs/components/ProfileBadge/ProfileBadge.js +15 -8
- package/dist/cjs/components/ProfileBadge/ProfileBadge.js.map +1 -1
- package/dist/esm/components/Breadcrumb/Breadcrumb.css +28 -0
- package/dist/esm/components/Breadcrumb/Breadcrumb.js +2 -1
- package/dist/esm/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/esm/components/PlanningGantt/PlanningGantt.css +58 -0
- package/dist/esm/components/PlanningGantt/PlanningGantt.js +6 -4
- package/dist/esm/components/PlanningGantt/PlanningGantt.js.map +1 -1
- package/dist/esm/components/ProfileBadge/ProfileBadge.js +12 -7
- package/dist/esm/components/ProfileBadge/ProfileBadge.js.map +1 -1
- package/dist/styles/components/Breadcrumb.css +28 -0
- package/dist/styles/components/PlanningGantt.css +58 -0
- package/dist/styles/index.css +1766 -1680
- package/dist/styles/muka-dark.css +1766 -1680
- package/dist/styles/muka-light.css +1766 -1680
- package/dist/styles/wireframe-dark.css +1766 -1680
- package/dist/styles/wireframe-light.css +1766 -1680
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +7 -0
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/types/components/PlanningGantt/PlanningGantt.d.ts +13 -0
- package/dist/types/components/PlanningGantt/PlanningGantt.d.ts.map +1 -1
- package/dist/types/components/ProfileBadge/ProfileBadge.d.ts +10 -5
- package/dist/types/components/ProfileBadge/ProfileBadge.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -294,6 +294,26 @@
|
|
|
294
294
|
flex: none;
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
+
/* Label and, optionally, a supporting line under it */
|
|
298
|
+
.muka-gantt__bar-text {
|
|
299
|
+
display: flex;
|
|
300
|
+
flex: 1 1 auto;
|
|
301
|
+
flex-direction: column;
|
|
302
|
+
min-width: 0;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.muka-gantt__bar-sublabel {
|
|
306
|
+
min-width: 0;
|
|
307
|
+
overflow: hidden;
|
|
308
|
+
text-overflow: ellipsis;
|
|
309
|
+
white-space: nowrap;
|
|
310
|
+
color: var(--color-text-subtle-default);
|
|
311
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
312
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
313
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
314
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
315
|
+
}
|
|
316
|
+
|
|
297
317
|
.muka-gantt__bar-label {
|
|
298
318
|
min-width: 0;
|
|
299
319
|
overflow: hidden;
|
|
@@ -301,6 +321,38 @@
|
|
|
301
321
|
white-space: nowrap;
|
|
302
322
|
}
|
|
303
323
|
|
|
324
|
+
/* Task names in the bars: wrap to at most two lines; the bar grows with them */
|
|
325
|
+
.muka-gantt--labels-hidden .muka-gantt__bar-label {
|
|
326
|
+
display: -webkit-box;
|
|
327
|
+
-webkit-box-orient: vertical;
|
|
328
|
+
-webkit-line-clamp: 2;
|
|
329
|
+
line-clamp: 2;
|
|
330
|
+
white-space: normal;
|
|
331
|
+
/* Break between words, never inside one; hyphenate where the page's
|
|
332
|
+
language allows it, and clip a word that still doesn't fit. */
|
|
333
|
+
overflow-wrap: normal;
|
|
334
|
+
word-break: normal;
|
|
335
|
+
hyphens: auto;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* Hidden task column: the label stays the row's accessible name, off screen */
|
|
339
|
+
.muka-gantt--labels-hidden .muka-gantt__row {
|
|
340
|
+
position: relative;
|
|
341
|
+
grid-template-columns: minmax(0, 1fr);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.muka-gantt--labels-hidden .muka-gantt__label {
|
|
345
|
+
position: absolute;
|
|
346
|
+
width: 1px;
|
|
347
|
+
height: 1px;
|
|
348
|
+
margin: -1px;
|
|
349
|
+
padding: 0;
|
|
350
|
+
overflow: hidden;
|
|
351
|
+
clip: rect(0, 0, 0, 0);
|
|
352
|
+
white-space: nowrap;
|
|
353
|
+
border: 0;
|
|
354
|
+
}
|
|
355
|
+
|
|
304
356
|
.muka-gantt__bar-badge {
|
|
305
357
|
flex: none;
|
|
306
358
|
display: inline-flex;
|
|
@@ -333,4 +385,10 @@
|
|
|
333
385
|
.muka-gantt__week-label {
|
|
334
386
|
min-width: 0;
|
|
335
387
|
}
|
|
388
|
+
|
|
389
|
+
/* Task names in narrow bars: the text gets the whole bar, the status icon
|
|
390
|
+
goes (the bar's accessible name and the legend still carry it). */
|
|
391
|
+
.muka-gantt--labels-hidden .muka-gantt__bar-icon {
|
|
392
|
+
display: none;
|
|
393
|
+
}
|
|
336
394
|
}
|