@schukai/monster 4.148.9 → 4.149.1
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/package.json +1 -1
- package/source/components/accessibility/stylesheet/locale-picker.mjs +61 -1
- package/source/components/content/image-editor.mjs +79 -11
- package/source/components/content/style/copy.pcss +1 -1
- package/source/components/content/stylesheet/camera-capture.mjs +1 -1
- package/source/components/content/stylesheet/copy.mjs +1 -1
- package/source/components/content/stylesheet/fetch-box.mjs +1 -1
- package/source/components/content/stylesheet/viewer.mjs +61 -1
- package/source/components/data/kpi-tile.mjs +5 -3
- package/source/components/data/metric-graph.mjs +22 -20
- package/source/components/data/metric.mjs +20 -18
- package/source/components/data/style/kpi-tile.pcss +65 -43
- package/source/components/data/style/metric-graph.pcss +35 -18
- package/source/components/data/style/metric.pcss +35 -28
- package/source/components/data/stylesheet/kpi-tile.mjs +61 -1
- package/source/components/data/stylesheet/metric-graph.mjs +61 -1
- package/source/components/data/stylesheet/metric.mjs +61 -1
- package/source/components/datatable/columnbar.mjs +4 -2
- package/source/components/datatable/datatable.mjs +73 -15
- package/source/components/datatable/filter/date-range.mjs +61 -61
- package/source/components/datatable/filter/date-time.mjs +5 -1
- package/source/components/datatable/filter/range.mjs +3 -3
- package/source/components/datatable/filter/select-operator.mjs +7 -1
- package/source/components/datatable/filter/text-operator.mjs +11 -3
- package/source/components/datatable/filter.mjs +16 -0
- package/source/components/datatable/pagination.mjs +122 -23
- package/source/components/datatable/style/column-bar.pcss +115 -23
- package/source/components/datatable/style/datatable.pcss +257 -29
- package/source/components/datatable/style/embedded-pagination.pcss +93 -43
- package/source/components/datatable/style/filter-button.pcss +1 -1
- package/source/components/datatable/style/filter-controls-defaults.pcss +49 -3
- package/source/components/datatable/style/filter-select.pcss +4 -1
- package/source/components/datatable/style/filter.pcss +18 -1
- package/source/components/datatable/stylesheet/change-button.mjs +61 -1
- package/source/components/datatable/stylesheet/column-bar.mjs +69 -1
- package/source/components/datatable/stylesheet/dataset.mjs +61 -1
- package/source/components/datatable/stylesheet/datatable.mjs +71 -1
- package/source/components/datatable/stylesheet/embedded-pagination.mjs +15 -1
- package/source/components/datatable/stylesheet/filter-button.mjs +1 -1
- package/source/components/datatable/stylesheet/filter-controls-defaults.mjs +1 -1
- package/source/components/datatable/stylesheet/filter-select.mjs +61 -1
- package/source/components/datatable/stylesheet/filter.mjs +61 -1
- package/source/components/datatable/stylesheet/pagination.mjs +67 -1
- package/source/components/datatable/stylesheet/save-button.mjs +61 -1
- package/source/components/datatable/stylesheet/status.mjs +61 -1
- package/source/components/form/action-button.mjs +2 -1
- package/source/components/form/button-bar.mjs +7 -2
- package/source/components/form/context-error.mjs +4 -3
- package/source/components/form/context-help.mjs +10 -4
- package/source/components/form/context-hint.mjs +1 -1
- package/source/components/form/context-info.mjs +1 -1
- package/source/components/form/context-note.mjs +1 -1
- package/source/components/form/context-success.mjs +1 -1
- package/source/components/form/context-warning.mjs +1 -1
- package/source/components/form/control-bar.mjs +300 -14
- package/source/components/form/credential-button.mjs +4 -2
- package/source/components/form/digits.mjs +28 -1
- package/source/components/form/field-set.mjs +30 -0
- package/source/components/form/login.mjs +13 -10
- package/source/components/form/password.mjs +6 -0
- package/source/components/form/popper-button.mjs +1 -1
- package/source/components/form/quantity.mjs +14 -6
- package/source/components/form/register-wizard.mjs +46 -26
- package/source/components/form/select.mjs +17 -10
- package/source/components/form/sheet.mjs +13 -2
- package/source/components/form/style/action-button.pcss +131 -5
- package/source/components/form/style/button-bar.pcss +204 -3
- package/source/components/form/style/control-bar.pcss +254 -26
- package/source/components/form/style/digits.pcss +7 -6
- package/source/components/form/style/input-group.pcss +65 -1
- package/source/components/form/style/login.pcss +1 -1
- package/source/components/form/style/mixin/field-set-layout.pcss +8 -0
- package/source/components/form/style/password.pcss +25 -1
- package/source/components/form/style/popper-button.pcss +1 -0
- package/source/components/form/style/quantity.pcss +11 -20
- package/source/components/form/style/select.pcss +52 -7
- package/source/components/form/style/sheet.pcss +70 -1
- package/source/components/form/style/state-button.pcss +5 -2
- package/source/components/form/style/toggle-switch.pcss +7 -4
- package/source/components/form/stylesheet/action-button.mjs +63 -1
- package/source/components/form/stylesheet/button-bar.mjs +153 -1
- package/source/components/form/stylesheet/button.mjs +67 -1
- package/source/components/form/stylesheet/control-bar.mjs +163 -1
- package/source/components/form/stylesheet/digits.mjs +1 -1
- package/source/components/form/stylesheet/field-layout.mjs +1 -1
- package/source/components/form/stylesheet/field-set.mjs +1 -1
- package/source/components/form/stylesheet/form.mjs +1 -1
- package/source/components/form/stylesheet/input-group.mjs +15 -1
- package/source/components/form/stylesheet/login.mjs +1 -1
- package/source/components/form/stylesheet/password.mjs +7 -1
- package/source/components/form/stylesheet/popper-button.mjs +61 -1
- package/source/components/form/stylesheet/quantity.mjs +1 -1
- package/source/components/form/stylesheet/register-wizard.mjs +1 -1
- package/source/components/form/stylesheet/select.mjs +3 -1
- package/source/components/form/stylesheet/sheet.mjs +1 -1
- package/source/components/form/stylesheet/state-button.mjs +3 -1
- package/source/components/form/stylesheet/toggle-switch.mjs +1 -1
- package/source/components/form/stylesheet/wizard.mjs +1 -1
- package/source/components/form/util/floating-ui.mjs +35 -7
- package/source/components/host/call-button.mjs +3 -1
- package/source/components/host/stylesheet/call-button.mjs +61 -1
- package/source/components/host/stylesheet/host.mjs +1 -1
- package/source/components/host/stylesheet/toggle-button.mjs +61 -1
- package/source/components/layout/full-screen.mjs +31 -23
- package/source/components/layout/iframe.mjs +5 -1
- package/source/components/layout/popper.mjs +34 -4
- package/source/components/layout/style/full-screen.pcss +94 -23
- package/source/components/layout/style/split-panel.pcss +57 -5
- package/source/components/layout/style/tabs.pcss +277 -47
- package/source/components/layout/style/vertical-tabs.pcss +147 -0
- package/source/components/layout/stylesheet/collapse.mjs +61 -1
- package/source/components/layout/stylesheet/details.mjs +61 -1
- package/source/components/layout/stylesheet/full-screen.mjs +23 -1
- package/source/components/layout/stylesheet/overlay.mjs +1 -1
- package/source/components/layout/stylesheet/panel.mjs +1 -1
- package/source/components/layout/stylesheet/slider.mjs +1 -1
- package/source/components/layout/stylesheet/split-panel.mjs +17 -1
- package/source/components/layout/stylesheet/tabs.mjs +97 -1
- package/source/components/layout/stylesheet/vertical-tabs.mjs +33 -95
- package/source/components/layout/tabs.mjs +63 -0
- package/source/components/layout/vertical-tabs.mjs +63 -0
- package/source/components/navigation/stylesheet/site-navigation.mjs +1 -1
- package/source/components/navigation/stylesheet/table-of-content.mjs +1 -1
- package/source/components/navigation/stylesheet/wizard-navigation.mjs +1 -1
- package/source/components/navigation/table-of-content.mjs +13 -0
- package/source/components/notify/style/notify.pcss +1 -2
- package/source/components/notify/stylesheet/message.mjs +1 -1
- package/source/components/notify/stylesheet/notify.mjs +1 -1
- package/source/components/state/style/log.pcss +1 -0
- package/source/components/state/style/state.pcss +5 -1
- package/source/components/state/stylesheet/log.mjs +1 -1
- package/source/components/state/stylesheet/state.mjs +7 -1
- package/source/components/style/button.css +61 -205
- package/source/components/style/button.pcss +78 -34
- package/source/components/style/common.css +1 -170
- package/source/components/style/common.pcss +5 -9
- package/source/components/style/form.css +1 -49
- package/source/components/style/form.pcss +34 -9
- package/source/components/style/link.css +1 -39
- package/source/components/style/link.pcss +8 -16
- package/source/components/style/mixin/button.pcss +21 -11
- package/source/components/style/mixin/property.pcss +8 -0
- package/source/components/style/mixin/skeleton.pcss +11 -5
- package/source/components/style/normalize.css +1 -144
- package/source/components/style/normalize.pcss +5 -5
- package/source/components/style/property.css +1 -387
- package/source/components/style/skeleton.css +1 -198
- package/source/components/style/skeleton.pcss +8 -2
- package/source/components/style/theme-modern.css +74 -0
- package/source/components/style/theme-modern.pcss +498 -0
- package/source/components/stylesheet/button.mjs +61 -1
- package/source/components/stylesheet/common.mjs +1 -1
- package/source/components/stylesheet/form.mjs +1 -1
- package/source/components/stylesheet/link.mjs +1 -1
- package/source/components/stylesheet/normalize.mjs +1 -1
- package/source/components/stylesheet/property.mjs +1 -1
- package/source/components/stylesheet/skeleton.mjs +1 -1
- package/source/components/stylesheet/theme-modern.mjs +110 -0
- package/source/components/time/stylesheet/day.mjs +61 -1
- package/source/components/time/stylesheet/month-calendar.mjs +61 -1
- package/source/components/time/timeline/stylesheet/appointment.mjs +61 -1
- package/source/components/time/timeline/stylesheet/segment.mjs +61 -1
- package/source/components/tree-menu/style/tree-menu.pcss +26 -37
- package/source/components/tree-menu/stylesheet/tree-menu.mjs +1 -1
- package/test/cases/components/content/image-editor.mjs +19 -0
- package/test/cases/components/datatable/accessibility-defaults.mjs +112 -0
- package/test/cases/components/datatable/filter-availability.mjs +37 -0
- package/test/cases/components/datatable/filter-date-range-layout.mjs +40 -0
- package/test/cases/components/datatable/filter-select-operator.mjs +118 -0
- package/test/cases/components/datatable/mobile-layout.mjs +254 -0
- package/test/cases/components/datatable/pagination.mjs +79 -0
- package/test/cases/components/datatable/responsive-breakpoint.mjs +41 -0
- package/test/cases/components/datatable/selection.mjs +149 -0
- package/test/cases/components/form/action-button-style.mjs +85 -0
- package/test/cases/components/form/button-bar.mjs +222 -3
- package/test/cases/components/form/context-theme-colors.mjs +59 -0
- package/test/cases/components/form/control-bar.mjs +228 -3
- package/test/cases/components/form/control-heights.mjs +103 -0
- package/test/cases/components/form/digits-accessibility.mjs +65 -0
- package/test/cases/components/form/field-set.mjs +54 -0
- package/test/cases/components/form/floating-ui.mjs +74 -0
- package/test/cases/components/form/input-group.mjs +61 -28
- package/test/cases/components/form/login.mjs +47 -0
- package/test/cases/components/form/password.mjs +63 -0
- package/test/cases/components/form/popper-button.mjs +30 -15
- package/test/cases/components/form/quantity-accessibility.mjs +46 -0
- package/test/cases/components/form/register-wizard.mjs +79 -0
- package/test/cases/components/form/select.mjs +94 -2
- package/test/cases/components/form/sheet.mjs +56 -2
- package/test/cases/components/host/toggle-button.mjs +50 -0
- package/test/cases/components/layout/full-screen.mjs +60 -0
- package/test/cases/components/layout/iframe-accessibility.mjs +44 -0
- package/test/cases/components/layout/popper.mjs +128 -0
- package/test/cases/components/layout/slit-panel.mjs +30 -1
- package/test/cases/components/layout/tabs.mjs +93 -0
- package/test/cases/components/navigation/table-of-content.mjs +18 -0
- package/test/cases/components/state/state-style.mjs +31 -0
- package/test/cases/components/style/action-menu.mjs +74 -0
- package/test/cases/components/style/button-sizing.mjs +31 -0
- package/test/cases/components/style/form-controls.mjs +50 -0
- package/test/cases/components/style/kpi-tile.mjs +60 -0
- package/test/cases/components/style/legacy-theme-compatibility.mjs +137 -0
- package/test/cases/components/style/metric-layout.mjs +94 -0
- package/test/cases/components/style/skeleton.mjs +69 -0
- package/test/cases/components/style/theme-component-catalog.mjs +853 -0
- package/test/cases/components/style/theme-modern.mjs +439 -0
- package/test/cases/components/style/theme-review-regressions.mjs +41 -0
|
@@ -95,8 +95,8 @@ const lastNavClickTargetSymbol = Symbol("lastNavClickTarget");
|
|
|
95
95
|
|
|
96
96
|
const minNavDoubleClickDelayMs = 200;
|
|
97
97
|
|
|
98
|
-
const compactPrevIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path d="
|
|
99
|
-
const compactNextIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path d="
|
|
98
|
+
const compactPrevIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0"/></svg>`;
|
|
99
|
+
const compactNextIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 0 0 .708L10.293 8l-5.647 5.646a.5.5 0 0 0 .708.708l6-6a.5.5 0 0 0 0-.708l-6-6a.5.5 0 0 0-.708 0"/></svg>`;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* A Pagination component
|
|
@@ -470,24 +470,96 @@ function getTranslations() {
|
|
|
470
470
|
of: "von",
|
|
471
471
|
summary: "Seite ${current} von ${max}",
|
|
472
472
|
};
|
|
473
|
-
case "
|
|
473
|
+
case "es":
|
|
474
474
|
return {
|
|
475
475
|
page: "${page}",
|
|
476
|
-
description: "
|
|
477
|
-
previous: "
|
|
478
|
-
next: "
|
|
476
|
+
description: "Página ${page}",
|
|
477
|
+
previous: "Anterior",
|
|
478
|
+
next: "Siguiente",
|
|
479
479
|
of: "de",
|
|
480
|
-
summary: "
|
|
480
|
+
summary: "Página ${current} de ${max}",
|
|
481
481
|
};
|
|
482
|
-
case "
|
|
482
|
+
case "zh":
|
|
483
|
+
return {
|
|
484
|
+
page: "${page}",
|
|
485
|
+
description: "第 ${page} 页",
|
|
486
|
+
previous: "上一页",
|
|
487
|
+
next: "下一页",
|
|
488
|
+
of: "共",
|
|
489
|
+
summary: "第 ${current} 页,共 ${max} 页",
|
|
490
|
+
};
|
|
491
|
+
case "hi":
|
|
492
|
+
return {
|
|
493
|
+
page: "${page}",
|
|
494
|
+
description: "पृष्ठ ${page}",
|
|
495
|
+
previous: "पिछला",
|
|
496
|
+
next: "अगला",
|
|
497
|
+
of: "में से",
|
|
498
|
+
summary: "पृष्ठ ${current} / ${max}",
|
|
499
|
+
};
|
|
500
|
+
case "bn":
|
|
501
|
+
return {
|
|
502
|
+
page: "${page}",
|
|
503
|
+
description: "পৃষ্ঠা ${page}",
|
|
504
|
+
previous: "পূর্ববর্তী",
|
|
505
|
+
next: "পরবর্তী",
|
|
506
|
+
of: "এর মধ্যে",
|
|
507
|
+
summary: "পৃষ্ঠা ${current} / ${max}",
|
|
508
|
+
};
|
|
509
|
+
case "pt":
|
|
483
510
|
return {
|
|
484
511
|
page: "${page}",
|
|
485
512
|
description: "Página ${page}",
|
|
486
513
|
previous: "Anterior",
|
|
487
|
-
next: "
|
|
514
|
+
next: "Seguinte",
|
|
488
515
|
of: "de",
|
|
489
516
|
summary: "Página ${current} de ${max}",
|
|
490
517
|
};
|
|
518
|
+
case "ru":
|
|
519
|
+
return {
|
|
520
|
+
page: "${page}",
|
|
521
|
+
description: "Страница ${page}",
|
|
522
|
+
previous: "Предыдущая",
|
|
523
|
+
next: "Следующая",
|
|
524
|
+
of: "из",
|
|
525
|
+
summary: "Страница ${current} из ${max}",
|
|
526
|
+
};
|
|
527
|
+
case "ja":
|
|
528
|
+
return {
|
|
529
|
+
page: "${page}",
|
|
530
|
+
description: "ページ ${page}",
|
|
531
|
+
previous: "前へ",
|
|
532
|
+
next: "次へ",
|
|
533
|
+
of: "中",
|
|
534
|
+
summary: "${max} ページ中 ${current} ページ",
|
|
535
|
+
};
|
|
536
|
+
case "pa":
|
|
537
|
+
return {
|
|
538
|
+
page: "${page}",
|
|
539
|
+
description: "ਪੰਨਾ ${page}",
|
|
540
|
+
previous: "ਪਿਛਲਾ",
|
|
541
|
+
next: "ਅਗਲਾ",
|
|
542
|
+
of: "ਵਿੱਚੋਂ",
|
|
543
|
+
summary: "ਪੰਨਾ ${current} / ${max}",
|
|
544
|
+
};
|
|
545
|
+
case "mr":
|
|
546
|
+
return {
|
|
547
|
+
page: "${page}",
|
|
548
|
+
description: "पृष्ठ ${page}",
|
|
549
|
+
previous: "मागील",
|
|
550
|
+
next: "पुढील",
|
|
551
|
+
of: "पैकी",
|
|
552
|
+
summary: "पृष्ठ ${current} / ${max}",
|
|
553
|
+
};
|
|
554
|
+
case "fr":
|
|
555
|
+
return {
|
|
556
|
+
page: "${page}",
|
|
557
|
+
description: "Page ${page}",
|
|
558
|
+
previous: "Précédent",
|
|
559
|
+
next: "Suivant",
|
|
560
|
+
of: "de",
|
|
561
|
+
summary: "Page ${current} sur ${max}",
|
|
562
|
+
};
|
|
491
563
|
case "it":
|
|
492
564
|
return {
|
|
493
565
|
page: "${page}",
|
|
@@ -497,6 +569,24 @@ function getTranslations() {
|
|
|
497
569
|
of: "di",
|
|
498
570
|
summary: "Pagina ${current} di ${max}",
|
|
499
571
|
};
|
|
572
|
+
case "nl":
|
|
573
|
+
return {
|
|
574
|
+
page: "${page}",
|
|
575
|
+
description: "Pagina ${page}",
|
|
576
|
+
previous: "Vorige",
|
|
577
|
+
next: "Volgende",
|
|
578
|
+
of: "van",
|
|
579
|
+
summary: "Pagina ${current} van ${max}",
|
|
580
|
+
};
|
|
581
|
+
case "sv":
|
|
582
|
+
return {
|
|
583
|
+
page: "${page}",
|
|
584
|
+
description: "Sida ${page}",
|
|
585
|
+
previous: "Föregående",
|
|
586
|
+
next: "Nästa",
|
|
587
|
+
of: "av",
|
|
588
|
+
summary: "Sida ${current} av ${max}",
|
|
589
|
+
};
|
|
500
590
|
case "pl":
|
|
501
591
|
return {
|
|
502
592
|
page: "${page}",
|
|
@@ -506,32 +596,41 @@ function getTranslations() {
|
|
|
506
596
|
of: "z",
|
|
507
597
|
summary: "Strona ${current} z ${max}",
|
|
508
598
|
};
|
|
509
|
-
case "
|
|
599
|
+
case "da":
|
|
510
600
|
return {
|
|
511
601
|
page: "${page}",
|
|
512
602
|
description: "Side ${page}",
|
|
513
603
|
previous: "Forrige",
|
|
514
|
-
next: "
|
|
515
|
-
of: "
|
|
516
|
-
summary: "Side ${current}
|
|
604
|
+
next: "Næste",
|
|
605
|
+
of: "af",
|
|
606
|
+
summary: "Side ${current} af ${max}",
|
|
517
607
|
};
|
|
518
|
-
case "
|
|
608
|
+
case "fi":
|
|
609
|
+
return {
|
|
610
|
+
page: "${page}",
|
|
611
|
+
description: "Sivu ${page}",
|
|
612
|
+
previous: "Edellinen",
|
|
613
|
+
next: "Seuraava",
|
|
614
|
+
of: "/",
|
|
615
|
+
summary: "Sivu ${current} / ${max}",
|
|
616
|
+
};
|
|
617
|
+
case "no":
|
|
519
618
|
return {
|
|
520
619
|
page: "${page}",
|
|
521
620
|
description: "Side ${page}",
|
|
522
621
|
previous: "Forrige",
|
|
523
|
-
next: "
|
|
524
|
-
of: "
|
|
525
|
-
summary: "Side ${current}
|
|
622
|
+
next: "Neste",
|
|
623
|
+
of: "av",
|
|
624
|
+
summary: "Side ${current} av ${max}",
|
|
526
625
|
};
|
|
527
|
-
case "
|
|
626
|
+
case "cs":
|
|
528
627
|
return {
|
|
529
628
|
page: "${page}",
|
|
530
|
-
description: "
|
|
531
|
-
previous: "
|
|
532
|
-
next: "
|
|
533
|
-
of: "
|
|
534
|
-
summary: "
|
|
629
|
+
description: "Stránka ${page}",
|
|
630
|
+
previous: "Předchozí",
|
|
631
|
+
next: "Další",
|
|
632
|
+
of: "z",
|
|
633
|
+
summary: "Stránka ${current} z ${max}",
|
|
535
634
|
};
|
|
536
635
|
default:
|
|
537
636
|
case "en":
|
|
@@ -28,30 +28,71 @@
|
|
|
28
28
|
& li {
|
|
29
29
|
list-style: none;
|
|
30
30
|
padding: 0;
|
|
31
|
-
margin: 0
|
|
31
|
+
margin: 0;
|
|
32
32
|
display: flex;
|
|
33
33
|
background-clip: border-box;
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
35
|
+
& .is-visible {
|
|
36
|
+
background: transparent;
|
|
37
|
+
border: 0;
|
|
38
|
+
box-shadow: none;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
height:
|
|
41
|
+
var(
|
|
42
|
+
--monster-column-toggle-target-block-size,
|
|
43
|
+
var(--monster-column-toggle-target-size, 24px)
|
|
44
|
+
);
|
|
45
|
+
padding: 0;
|
|
46
|
+
width:
|
|
47
|
+
var(
|
|
48
|
+
--monster-column-toggle-target-inline-size,
|
|
49
|
+
var(--monster-column-toggle-target-size, 16px)
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
& .is-hidden {
|
|
54
|
+
background: transparent;
|
|
55
|
+
border: 0;
|
|
56
|
+
box-shadow: none;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
height:
|
|
59
|
+
var(
|
|
60
|
+
--monster-column-toggle-target-block-size,
|
|
61
|
+
var(--monster-column-toggle-target-size, 24px)
|
|
62
|
+
);
|
|
63
|
+
padding: 0;
|
|
64
|
+
width:
|
|
65
|
+
var(
|
|
66
|
+
--monster-column-toggle-target-inline-size,
|
|
67
|
+
var(--monster-column-toggle-target-size, 16px)
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
& .is-visible::before,
|
|
72
|
+
& .is-hidden::before {
|
|
73
|
+
background-color: var(--monster-bg-color-primary-4);
|
|
74
|
+
content: "";
|
|
75
|
+
display: block;
|
|
76
|
+
height: 8px;
|
|
77
|
+
margin: auto;
|
|
78
|
+
mask-position: center;
|
|
79
|
+
mask-repeat: no-repeat;
|
|
80
|
+
mask-size: 8px 8px;
|
|
81
|
+
width: 8px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
& .is-visible::before {
|
|
85
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3C/svg%3E");
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
& .is-hidden::before {
|
|
89
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8'/%3E%3C/svg%3E");
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
& .is-visible:focus-visible,
|
|
93
|
+
& .is-hidden:focus-visible {
|
|
94
|
+
outline-offset: 0;
|
|
95
|
+
}
|
|
55
96
|
|
|
56
97
|
& :hover, & :focus {
|
|
57
98
|
background-clip: border-box;
|
|
@@ -92,6 +133,7 @@
|
|
|
92
133
|
align-items: center;
|
|
93
134
|
justify-content: flex-start;
|
|
94
135
|
margin: 0;
|
|
136
|
+
min-height: var(--monster-column-settings-target-size, 24px);
|
|
95
137
|
padding: 0;
|
|
96
138
|
cursor: pointer;
|
|
97
139
|
|
|
@@ -138,15 +180,65 @@
|
|
|
138
180
|
}
|
|
139
181
|
}
|
|
140
182
|
|
|
183
|
+
@media (pointer: coarse) {
|
|
184
|
+
[data-monster-role=control] [data-monster-role=dots] li {
|
|
185
|
+
& .is-visible,
|
|
186
|
+
& .is-hidden {
|
|
187
|
+
min-height: 24px;
|
|
188
|
+
min-width: 24px;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
141
193
|
:host(.small) {
|
|
194
|
+
--monster-datatable-utility-action-size: 2.25rem;
|
|
195
|
+
height: var(--monster-datatable-utility-action-size);
|
|
196
|
+
min-width: var(--monster-datatable-utility-action-size);
|
|
197
|
+
width: var(--monster-datatable-utility-action-size);
|
|
198
|
+
|
|
142
199
|
[data-monster-role=control] {
|
|
200
|
+
align-items: stretch;
|
|
143
201
|
flex-direction: column;
|
|
144
|
-
|
|
145
|
-
|
|
202
|
+
gap: 0;
|
|
203
|
+
min-width: var(--monster-datatable-utility-action-size);
|
|
204
|
+
width: var(--monster-datatable-utility-action-size);
|
|
146
205
|
|
|
147
206
|
& [data-monster-role="dots"] {
|
|
207
|
+
display: none;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
& a[data-monster-role=settings-button] {
|
|
211
|
+
align-items: center;
|
|
212
|
+
background-color: var(--monster-theme-control-bg-color);
|
|
213
|
+
border: 1px solid var(--monster-theme-control-border-color);
|
|
214
|
+
border-radius: var(--monster-theme-control-border-radius);
|
|
215
|
+
box-sizing: border-box;
|
|
216
|
+
color: var(--monster-theme-control-color);
|
|
217
|
+
font-size: 0;
|
|
218
|
+
height: var(--monster-datatable-utility-action-size);
|
|
219
|
+
justify-content: center;
|
|
220
|
+
min-height: var(--monster-datatable-utility-action-size);
|
|
221
|
+
min-width: var(--monster-datatable-utility-action-size);
|
|
222
|
+
padding: 0;
|
|
223
|
+
text-align: center;
|
|
224
|
+
text-decoration: none;
|
|
225
|
+
width: var(--monster-datatable-utility-action-size);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
& a[data-monster-role=settings-button]::after {
|
|
148
229
|
margin: 0;
|
|
149
230
|
}
|
|
150
231
|
|
|
232
|
+
& a[data-monster-role=settings-button]:hover {
|
|
233
|
+
background-color: var(--monster-theme-control-hover-bg-color);
|
|
234
|
+
color: var(--monster-theme-control-hover-color);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
@media (pointer: coarse) {
|
|
240
|
+
:host(.small) {
|
|
241
|
+
--monster-datatable-utility-action-size:
|
|
242
|
+
var(--monster-control-min-block-size, 44px);
|
|
151
243
|
}
|
|
152
244
|
}
|