@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
|
@@ -5,24 +5,150 @@
|
|
|
5
5
|
[data-monster-role=control] {
|
|
6
6
|
|
|
7
7
|
& div[data-monster-role=popper] {
|
|
8
|
-
padding:
|
|
8
|
+
padding: var(
|
|
9
|
+
--monster-action-button-popper-padding,
|
|
10
|
+
var(--monster-action-menu-padding, 2px)
|
|
11
|
+
);
|
|
12
|
+
background: var(
|
|
13
|
+
--monster-action-button-popper-background-color,
|
|
14
|
+
var(
|
|
15
|
+
--monster-action-menu-background-color,
|
|
16
|
+
var(--monster-bg-color-primary-1)
|
|
17
|
+
)
|
|
18
|
+
);
|
|
19
|
+
color: var(
|
|
20
|
+
--monster-action-menu-color,
|
|
21
|
+
var(--monster-color-primary-1)
|
|
22
|
+
);
|
|
23
|
+
border-width: var(
|
|
24
|
+
--monster-action-menu-border-width,
|
|
25
|
+
var(--monster-border-width)
|
|
26
|
+
);
|
|
27
|
+
border-style: var(
|
|
28
|
+
--monster-action-menu-border-style,
|
|
29
|
+
var(--monster-border-style)
|
|
30
|
+
);
|
|
31
|
+
border-color: var(
|
|
32
|
+
--monster-action-button-popper-border-color,
|
|
33
|
+
var(
|
|
34
|
+
--monster-action-menu-border-color,
|
|
35
|
+
var(--monster-bg-color-primary-4)
|
|
36
|
+
)
|
|
37
|
+
);
|
|
38
|
+
border-radius: var(
|
|
39
|
+
--monster-action-button-popper-border-radius,
|
|
40
|
+
var(--monster-action-menu-border-radius, var(--monster-border-radius))
|
|
41
|
+
);
|
|
42
|
+
box-shadow: var(
|
|
43
|
+
--monster-action-button-popper-box-shadow,
|
|
44
|
+
var(--monster-action-menu-box-shadow, var(--monster-box-shadow-1))
|
|
45
|
+
);
|
|
9
46
|
}
|
|
10
47
|
|
|
11
48
|
[data-monster-role=container] {
|
|
12
49
|
[data-monster-role=buttons] {
|
|
13
50
|
display: flex;
|
|
14
51
|
flex-direction: column;
|
|
52
|
+
gap: var(
|
|
53
|
+
--monster-action-button-menu-gap,
|
|
54
|
+
var(--monster-action-menu-gap, 0)
|
|
55
|
+
);
|
|
56
|
+
min-inline-size: var(
|
|
57
|
+
--monster-action-button-menu-min-inline-size,
|
|
58
|
+
var(--monster-action-menu-min-inline-size, auto)
|
|
59
|
+
);
|
|
15
60
|
width: 100%;
|
|
16
61
|
}
|
|
17
62
|
}
|
|
18
63
|
|
|
19
64
|
& monster-message-state-button {
|
|
20
|
-
|
|
65
|
+
--monster-button-min-block-size: var(
|
|
66
|
+
--monster-action-menu-item-min-block-size,
|
|
67
|
+
var(--monster-control-min-block-size, auto)
|
|
68
|
+
);
|
|
69
|
+
--monster-state-button-label-justify-content: var(
|
|
70
|
+
--monster-action-button-item-label-justify-content,
|
|
71
|
+
center
|
|
72
|
+
);
|
|
73
|
+
|
|
74
|
+
width: var(--monster-action-button-item-inline-size, auto);
|
|
21
75
|
border: 0;
|
|
76
|
+
|
|
22
77
|
&::part(button-button) {
|
|
23
|
-
|
|
24
|
-
|
|
78
|
+
width: var(--monster-action-button-item-inline-size, revert-layer);
|
|
79
|
+
min-inline-size: var(
|
|
80
|
+
--monster-action-button-item-min-inline-size,
|
|
81
|
+
revert-layer
|
|
82
|
+
);
|
|
83
|
+
justify-content: var(
|
|
84
|
+
--monster-action-button-item-justify-content,
|
|
85
|
+
var(
|
|
86
|
+
--monster-action-menu-item-justify-content,
|
|
87
|
+
revert-layer
|
|
88
|
+
)
|
|
89
|
+
);
|
|
90
|
+
padding: var(
|
|
91
|
+
--monster-action-button-item-padding,
|
|
92
|
+
var(--monster-action-menu-item-padding, revert-layer)
|
|
93
|
+
);
|
|
94
|
+
color: var(
|
|
95
|
+
--monster-action-button-item-color,
|
|
96
|
+
var(--monster-action-menu-item-color, revert-layer)
|
|
97
|
+
);
|
|
98
|
+
background: var(
|
|
99
|
+
--monster-action-button-item-background-color,
|
|
100
|
+
var(
|
|
101
|
+
--monster-action-menu-item-background-color,
|
|
102
|
+
revert-layer
|
|
103
|
+
)
|
|
104
|
+
);
|
|
105
|
+
border: var(
|
|
106
|
+
--monster-action-button-item-border,
|
|
107
|
+
var(--monster-action-menu-item-border-width, 0)
|
|
108
|
+
var(--monster-action-menu-item-border-style, solid)
|
|
109
|
+
var(--monster-action-menu-item-border-color, transparent)
|
|
110
|
+
);
|
|
111
|
+
border-radius: var(
|
|
112
|
+
--monster-action-button-item-border-radius,
|
|
113
|
+
var(--monster-action-menu-item-border-radius, revert-layer)
|
|
114
|
+
);
|
|
115
|
+
box-shadow: var(
|
|
116
|
+
--monster-action-button-item-box-shadow,
|
|
117
|
+
var(--monster-action-menu-item-box-shadow, revert-layer)
|
|
118
|
+
);
|
|
119
|
+
margin: var(--monster-action-button-item-margin, 2px);
|
|
120
|
+
text-align: var(
|
|
121
|
+
--monster-action-button-item-text-align,
|
|
122
|
+
var(--monster-action-menu-item-text-align, revert-layer)
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&::part(button-button):hover {
|
|
127
|
+
color: var(
|
|
128
|
+
--monster-action-button-item-hover-color,
|
|
129
|
+
var(--monster-action-menu-item-hover-color, revert-layer)
|
|
130
|
+
);
|
|
131
|
+
background: var(
|
|
132
|
+
--monster-action-button-item-hover-background-color,
|
|
133
|
+
var(
|
|
134
|
+
--monster-action-menu-item-hover-background-color,
|
|
135
|
+
revert-layer
|
|
136
|
+
)
|
|
137
|
+
);
|
|
138
|
+
box-shadow: var(
|
|
139
|
+
--monster-action-button-item-hover-box-shadow,
|
|
140
|
+
var(--monster-action-menu-item-hover-box-shadow, revert-layer)
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&::part(button-button):focus-visible {
|
|
145
|
+
outline-offset: var(
|
|
146
|
+
--monster-action-button-item-focus-outline-offset,
|
|
147
|
+
var(
|
|
148
|
+
--monster-action-menu-item-focus-outline-offset,
|
|
149
|
+
revert-layer
|
|
150
|
+
)
|
|
151
|
+
);
|
|
25
152
|
}
|
|
26
153
|
}
|
|
27
154
|
}
|
|
28
|
-
|
|
@@ -9,10 +9,44 @@ div[data-monster-role="control"] {
|
|
|
9
9
|
position: relative;
|
|
10
10
|
height: 100%;
|
|
11
11
|
|
|
12
|
+
& > [data-monster-role=popper] {
|
|
13
|
+
padding: var(--monster-action-menu-padding, 1.1em);
|
|
14
|
+
min-inline-size: var(--monster-action-menu-min-inline-size, auto);
|
|
15
|
+
background: var(
|
|
16
|
+
--monster-action-menu-background-color,
|
|
17
|
+
var(--monster-bg-color-primary-1)
|
|
18
|
+
);
|
|
19
|
+
color: var(
|
|
20
|
+
--monster-action-menu-color,
|
|
21
|
+
var(--monster-color-primary-1)
|
|
22
|
+
);
|
|
23
|
+
border-width: var(
|
|
24
|
+
--monster-action-menu-border-width,
|
|
25
|
+
var(--monster-border-width)
|
|
26
|
+
);
|
|
27
|
+
border-style: var(
|
|
28
|
+
--monster-action-menu-border-style,
|
|
29
|
+
var(--monster-border-style)
|
|
30
|
+
);
|
|
31
|
+
border-color: var(
|
|
32
|
+
--monster-action-menu-border-color,
|
|
33
|
+
var(--monster-bg-color-primary-4)
|
|
34
|
+
);
|
|
35
|
+
border-radius: var(
|
|
36
|
+
--monster-action-menu-border-radius,
|
|
37
|
+
var(--monster-border-radius)
|
|
38
|
+
);
|
|
39
|
+
box-shadow: var(
|
|
40
|
+
--monster-action-menu-box-shadow,
|
|
41
|
+
var(--monster-box-shadow-1)
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
12
45
|
& [data-monster-role=button-bar] {
|
|
13
46
|
display: flex;
|
|
14
47
|
flex-direction: row;
|
|
15
48
|
justify-content: flex-start;
|
|
49
|
+
gap: var(--monster-button-bar-gap, 0);
|
|
16
50
|
|
|
17
51
|
&[data-monster-layout-alignment="right"] {
|
|
18
52
|
justify-content: flex-end;
|
|
@@ -26,10 +60,22 @@ div[data-monster-role="control"] {
|
|
|
26
60
|
& [data-monster-role=popper-nav] {
|
|
27
61
|
display: flex;
|
|
28
62
|
align-items: stretch;
|
|
63
|
+
flex: 0 0 var(
|
|
64
|
+
--monster-control-bar-height,
|
|
65
|
+
var(--monster-control-min-block-size, 2.75rem)
|
|
66
|
+
);
|
|
29
67
|
}
|
|
30
68
|
|
|
31
69
|
& [data-monster-role=switch] {
|
|
32
70
|
display: flex;
|
|
71
|
+
min-width: var(
|
|
72
|
+
--monster-control-bar-height,
|
|
73
|
+
var(--monster-control-min-block-size, 2.75rem)
|
|
74
|
+
);
|
|
75
|
+
width: var(
|
|
76
|
+
--monster-control-bar-height,
|
|
77
|
+
var(--monster-control-min-block-size, 2.75rem)
|
|
78
|
+
);
|
|
33
79
|
|
|
34
80
|
&.hidden {
|
|
35
81
|
display: none;
|
|
@@ -37,7 +83,10 @@ div[data-monster-role="control"] {
|
|
|
37
83
|
}
|
|
38
84
|
|
|
39
85
|
& ::slotted(*:not(:last-child)) {
|
|
40
|
-
margin-right:
|
|
86
|
+
margin-right: var(
|
|
87
|
+
--monster-button-bar-item-spacing,
|
|
88
|
+
0
|
|
89
|
+
);
|
|
41
90
|
}
|
|
42
91
|
|
|
43
92
|
}
|
|
@@ -49,15 +98,167 @@ div[data-monster-role="control"] {
|
|
|
49
98
|
align-items: stretch;
|
|
50
99
|
align-content: stretch;
|
|
51
100
|
justify-content: flex-start;
|
|
52
|
-
gap:
|
|
101
|
+
gap: var(
|
|
102
|
+
--monster-button-bar-popper-gap,
|
|
103
|
+
var(--monster-action-menu-gap, 0)
|
|
104
|
+
);
|
|
53
105
|
|
|
54
106
|
&::slotted(*) {
|
|
107
|
+
--monster-button-min-block-size: var(
|
|
108
|
+
--monster-action-menu-item-min-block-size,
|
|
109
|
+
var(--monster-control-min-block-size, auto)
|
|
110
|
+
);
|
|
111
|
+
--monster-button-padding: var(
|
|
112
|
+
--monster-action-menu-item-padding,
|
|
113
|
+
var(--monster-control-padding-block, .375rem)
|
|
114
|
+
var(--monster-control-padding-inline, .75rem)
|
|
115
|
+
);
|
|
116
|
+
--monster-button-color: var(
|
|
117
|
+
--monster-action-menu-item-color,
|
|
118
|
+
var(--monster-color-primary-1)
|
|
119
|
+
);
|
|
120
|
+
--monster-button-background-color: var(
|
|
121
|
+
--monster-action-menu-item-background-color,
|
|
122
|
+
transparent
|
|
123
|
+
);
|
|
124
|
+
--monster-button-border-width: var(
|
|
125
|
+
--monster-action-menu-item-border-width,
|
|
126
|
+
0
|
|
127
|
+
);
|
|
128
|
+
--monster-button-border-style: var(
|
|
129
|
+
--monster-action-menu-item-border-style,
|
|
130
|
+
solid
|
|
131
|
+
);
|
|
132
|
+
--monster-button-border-color: var(
|
|
133
|
+
--monster-action-menu-item-border-color,
|
|
134
|
+
transparent
|
|
135
|
+
);
|
|
136
|
+
--monster-button-border-radius: var(
|
|
137
|
+
--monster-action-menu-item-border-radius,
|
|
138
|
+
var(--monster-border-radius)
|
|
139
|
+
);
|
|
140
|
+
--monster-button-box-shadow: var(
|
|
141
|
+
--monster-action-menu-item-box-shadow,
|
|
142
|
+
none
|
|
143
|
+
);
|
|
144
|
+
--monster-button-justify-content: var(
|
|
145
|
+
--monster-action-menu-item-justify-content,
|
|
146
|
+
flex-start
|
|
147
|
+
);
|
|
148
|
+
--monster-button-text-align: var(
|
|
149
|
+
--monster-action-menu-item-text-align,
|
|
150
|
+
left
|
|
151
|
+
);
|
|
152
|
+
--monster-focus-ring-offset: var(
|
|
153
|
+
--monster-action-menu-item-focus-outline-offset,
|
|
154
|
+
-2px
|
|
155
|
+
);
|
|
156
|
+
--monster-state-button-label-justify-content: var(
|
|
157
|
+
--monster-action-menu-item-justify-content,
|
|
158
|
+
flex-start
|
|
159
|
+
);
|
|
160
|
+
--monster-state-button-justify-content: var(
|
|
161
|
+
--monster-action-menu-item-justify-content,
|
|
162
|
+
flex-start
|
|
163
|
+
);
|
|
55
164
|
display: flex;
|
|
56
165
|
width: fill-available;
|
|
57
166
|
}
|
|
58
167
|
|
|
168
|
+
&::slotted(*:is(:hover, :active)) {
|
|
169
|
+
--monster-button-color: var(
|
|
170
|
+
--monster-action-menu-item-hover-color,
|
|
171
|
+
var(--monster-color-primary-1)
|
|
172
|
+
);
|
|
173
|
+
--monster-button-background-color: var(
|
|
174
|
+
--monster-action-menu-item-hover-background-color,
|
|
175
|
+
var(--monster-bg-color-primary-2)
|
|
176
|
+
);
|
|
177
|
+
--monster-button-border-color: var(
|
|
178
|
+
--monster-action-menu-item-hover-border-color,
|
|
179
|
+
transparent
|
|
180
|
+
);
|
|
181
|
+
--monster-box-shadow-2: var(
|
|
182
|
+
--monster-action-menu-item-hover-box-shadow,
|
|
183
|
+
none
|
|
184
|
+
);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&::slotted(button) {
|
|
188
|
+
appearance: none;
|
|
189
|
+
box-sizing: border-box;
|
|
190
|
+
inline-size: 100%;
|
|
191
|
+
min-block-size: var(
|
|
192
|
+
--monster-action-menu-item-min-block-size,
|
|
193
|
+
var(--monster-control-min-block-size, auto)
|
|
194
|
+
);
|
|
195
|
+
justify-content: var(
|
|
196
|
+
--monster-action-menu-item-justify-content,
|
|
197
|
+
flex-start
|
|
198
|
+
);
|
|
199
|
+
padding: var(
|
|
200
|
+
--monster-action-menu-item-padding,
|
|
201
|
+
var(--monster-control-padding-block, .375rem)
|
|
202
|
+
var(--monster-control-padding-inline, .75rem)
|
|
203
|
+
);
|
|
204
|
+
background: var(
|
|
205
|
+
--monster-action-menu-item-background-color,
|
|
206
|
+
transparent
|
|
207
|
+
);
|
|
208
|
+
color: var(
|
|
209
|
+
--monster-action-menu-item-color,
|
|
210
|
+
var(--monster-color-primary-1)
|
|
211
|
+
);
|
|
212
|
+
border-width: var(
|
|
213
|
+
--monster-action-menu-item-border-width,
|
|
214
|
+
0
|
|
215
|
+
);
|
|
216
|
+
border-style: var(
|
|
217
|
+
--monster-action-menu-item-border-style,
|
|
218
|
+
solid
|
|
219
|
+
);
|
|
220
|
+
border-color: var(
|
|
221
|
+
--monster-action-menu-item-border-color,
|
|
222
|
+
transparent
|
|
223
|
+
);
|
|
224
|
+
border-radius: var(
|
|
225
|
+
--monster-action-menu-item-border-radius,
|
|
226
|
+
var(--monster-border-radius)
|
|
227
|
+
);
|
|
228
|
+
box-shadow: var(
|
|
229
|
+
--monster-action-menu-item-box-shadow,
|
|
230
|
+
none
|
|
231
|
+
);
|
|
232
|
+
text-align: var(
|
|
233
|
+
--monster-action-menu-item-text-align,
|
|
234
|
+
left
|
|
235
|
+
);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
&::slotted(button:hover) {
|
|
239
|
+
background: var(
|
|
240
|
+
--monster-action-menu-item-hover-background-color,
|
|
241
|
+
var(--monster-bg-color-primary-2)
|
|
242
|
+
);
|
|
243
|
+
color: var(
|
|
244
|
+
--monster-action-menu-item-hover-color,
|
|
245
|
+
var(--monster-color-primary-1)
|
|
246
|
+
);
|
|
247
|
+
border-color: var(
|
|
248
|
+
--monster-action-menu-item-hover-border-color,
|
|
249
|
+
transparent
|
|
250
|
+
);
|
|
251
|
+
box-shadow: var(
|
|
252
|
+
--monster-action-menu-item-hover-box-shadow,
|
|
253
|
+
none
|
|
254
|
+
);
|
|
255
|
+
}
|
|
256
|
+
|
|
59
257
|
&::slotted(*:not(:first-child)) {
|
|
60
|
-
margin-top:
|
|
258
|
+
margin-top: var(
|
|
259
|
+
--monster-button-bar-popper-item-spacing,
|
|
260
|
+
0
|
|
261
|
+
);
|
|
61
262
|
}
|
|
62
263
|
|
|
63
264
|
}
|