macbetter 0.0.0-stage → 0.1.0-beta.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.
- package/LICENSE +201 -0
- package/README.md +92 -2
- package/dist/components/accessory-tile.d.ts +50 -0
- package/dist/components/accessory-tile.js +46 -0
- package/dist/components/activity-indicator.d.ts +15 -0
- package/dist/components/activity-indicator.js +15 -0
- package/dist/components/alert.d.ts +29 -0
- package/dist/components/alert.js +30 -0
- package/dist/components/artifact-card.d.ts +41 -0
- package/dist/components/artifact-card.js +57 -0
- package/dist/components/artwork.d.ts +44 -0
- package/dist/components/artwork.js +935 -0
- package/dist/components/attachment.d.ts +48 -0
- package/dist/components/attachment.js +65 -0
- package/dist/components/automation-row.d.ts +24 -0
- package/dist/components/automation-row.js +12 -0
- package/dist/components/avatar.d.ts +33 -0
- package/dist/components/avatar.js +45 -0
- package/dist/components/badge.d.ts +24 -0
- package/dist/components/badge.js +19 -0
- package/dist/components/button.d.ts +20 -0
- package/dist/components/button.js +10 -0
- package/dist/components/calendar.d.ts +30 -0
- package/dist/components/calendar.js +47 -0
- package/dist/components/camera-view.d.ts +40 -0
- package/dist/components/camera-view.js +44 -0
- package/dist/components/card.d.ts +14 -0
- package/dist/components/card.js +21 -0
- package/dist/components/carousel.d.ts +18 -0
- package/dist/components/carousel.js +33 -0
- package/dist/components/chat.d.ts +29 -0
- package/dist/components/chat.js +29 -0
- package/dist/components/checkbox.d.ts +13 -0
- package/dist/components/checkbox.js +16 -0
- package/dist/components/code-block.d.ts +39 -0
- package/dist/components/code-block.js +65 -0
- package/dist/components/code-field.d.ts +16 -0
- package/dist/components/code-field.js +29 -0
- package/dist/components/color-well.d.ts +23 -0
- package/dist/components/color-well.js +27 -0
- package/dist/components/combo-box.d.ts +42 -0
- package/dist/components/combo-box.js +102 -0
- package/dist/components/command-palette.d.ts +33 -0
- package/dist/components/command-palette.js +55 -0
- package/dist/components/confirmation.d.ts +24 -0
- package/dist/components/confirmation.js +50 -0
- package/dist/components/content-unavailable.d.ts +19 -0
- package/dist/components/content-unavailable.js +21 -0
- package/dist/components/context-menu.d.ts +9 -0
- package/dist/components/context-menu.js +15 -0
- package/dist/components/date-picker.d.ts +53 -0
- package/dist/components/date-picker.js +86 -0
- package/dist/components/description-list.d.ts +18 -0
- package/dist/components/description-list.js +17 -0
- package/dist/components/device-frame.d.ts +18 -0
- package/dist/components/device-frame.js +16 -0
- package/dist/components/dialog.d.ts +27 -0
- package/dist/components/dialog.js +35 -0
- package/dist/components/disclosure.d.ts +32 -0
- package/dist/components/disclosure.js +35 -0
- package/dist/components/dock.d.ts +28 -0
- package/dist/components/dock.js +80 -0
- package/dist/components/door-control.d.ts +20 -0
- package/dist/components/door-control.js +43 -0
- package/dist/components/energy-readout.d.ts +32 -0
- package/dist/components/energy-readout.js +27 -0
- package/dist/components/field.d.ts +28 -0
- package/dist/components/field.js +32 -0
- package/dist/components/gauge.d.ts +25 -0
- package/dist/components/gauge.js +42 -0
- package/dist/components/generated-image.d.ts +39 -0
- package/dist/components/generated-image.js +47 -0
- package/dist/components/glass.d.ts +34 -0
- package/dist/components/glass.js +31 -0
- package/dist/components/home-backdrop.d.ts +23 -0
- package/dist/components/home-backdrop.js +12 -0
- package/dist/components/home-section.d.ts +19 -0
- package/dist/components/home-section.js +21 -0
- package/dist/components/home-status.d.ts +24 -0
- package/dist/components/home-status.js +14 -0
- package/dist/components/hover-card.d.ts +14 -0
- package/dist/components/hover-card.js +16 -0
- package/dist/components/inspector.d.ts +29 -0
- package/dist/components/inspector.js +40 -0
- package/dist/components/level-control.d.ts +19 -0
- package/dist/components/level-control.js +13 -0
- package/dist/components/light-color-picker.d.ts +33 -0
- package/dist/components/light-color-picker.js +56 -0
- package/dist/components/list.d.ts +42 -0
- package/dist/components/list.js +42 -0
- package/dist/components/listbox.d.ts +16 -0
- package/dist/components/listbox.js +28 -0
- package/dist/components/lock-control.d.ts +20 -0
- package/dist/components/lock-control.js +35 -0
- package/dist/components/menu-bar.d.ts +14 -0
- package/dist/components/menu-bar.js +16 -0
- package/dist/components/menu.d.ts +40 -0
- package/dist/components/menu.js +54 -0
- package/dist/components/message.d.ts +65 -0
- package/dist/components/message.js +69 -0
- package/dist/components/model-picker.d.ts +61 -0
- package/dist/components/model-picker.js +59 -0
- package/dist/components/navigation-bar.d.ts +24 -0
- package/dist/components/navigation-bar.js +54 -0
- package/dist/components/outline.d.ts +21 -0
- package/dist/components/outline.js +40 -0
- package/dist/components/page-control.d.ts +10 -0
- package/dist/components/page-control.js +8 -0
- package/dist/components/plan.d.ts +25 -0
- package/dist/components/plan.js +43 -0
- package/dist/components/popover.d.ts +16 -0
- package/dist/components/popover.js +24 -0
- package/dist/components/progress.d.ts +27 -0
- package/dist/components/progress.js +27 -0
- package/dist/components/prompt-input.d.ts +93 -0
- package/dist/components/prompt-input.js +172 -0
- package/dist/components/radio.d.ts +16 -0
- package/dist/components/radio.js +13 -0
- package/dist/components/rating.d.ts +10 -0
- package/dist/components/rating.js +12 -0
- package/dist/components/reasoning.d.ts +28 -0
- package/dist/components/reasoning.js +52 -0
- package/dist/components/response.d.ts +14 -0
- package/dist/components/response.js +14 -0
- package/dist/components/scene-tile.d.ts +22 -0
- package/dist/components/scene-tile.js +13 -0
- package/dist/components/scroll-view.d.ts +21 -0
- package/dist/components/scroll-view.js +13 -0
- package/dist/components/search-field.d.ts +16 -0
- package/dist/components/search-field.js +12 -0
- package/dist/components/secure-field.d.ts +23 -0
- package/dist/components/secure-field.js +21 -0
- package/dist/components/segmented-control.d.ts +12 -0
- package/dist/components/segmented-control.js +10 -0
- package/dist/components/select.d.ts +45 -0
- package/dist/components/select.js +79 -0
- package/dist/components/sensor-readout.d.ts +29 -0
- package/dist/components/sensor-readout.js +12 -0
- package/dist/components/separator.d.ts +14 -0
- package/dist/components/separator.js +11 -0
- package/dist/components/setup-code.d.ts +29 -0
- package/dist/components/setup-code.js +47 -0
- package/dist/components/sheet.d.ts +31 -0
- package/dist/components/sheet.js +51 -0
- package/dist/components/shimmer.d.ts +18 -0
- package/dist/components/shimmer.js +17 -0
- package/dist/components/sidebar.d.ts +30 -0
- package/dist/components/sidebar.js +26 -0
- package/dist/components/slider.d.ts +27 -0
- package/dist/components/slider.js +43 -0
- package/dist/components/sources.d.ts +51 -0
- package/dist/components/sources.js +46 -0
- package/dist/components/split-view.d.ts +11 -0
- package/dist/components/split-view.js +13 -0
- package/dist/components/squircle.d.ts +41 -0
- package/dist/components/squircle.js +63 -0
- package/dist/components/stepper.d.ts +30 -0
- package/dist/components/stepper.js +28 -0
- package/dist/components/suggestion.d.ts +23 -0
- package/dist/components/suggestion.js +29 -0
- package/dist/components/switch.d.ts +10 -0
- package/dist/components/switch.js +10 -0
- package/dist/components/tab-bar.d.ts +20 -0
- package/dist/components/tab-bar.js +17 -0
- package/dist/components/table.d.ts +49 -0
- package/dist/components/table.js +179 -0
- package/dist/components/tabs.d.ts +16 -0
- package/dist/components/tabs.js +19 -0
- package/dist/components/text-area.d.ts +14 -0
- package/dist/components/text-area.js +9 -0
- package/dist/components/text-field.d.ts +26 -0
- package/dist/components/text-field.js +23 -0
- package/dist/components/thermostat-control.d.ts +30 -0
- package/dist/components/thermostat-control.js +139 -0
- package/dist/components/toast.d.ts +30 -0
- package/dist/components/toast.js +114 -0
- package/dist/components/toggle.d.ts +21 -0
- package/dist/components/toggle.js +19 -0
- package/dist/components/token-field.d.ts +31 -0
- package/dist/components/token-field.js +78 -0
- package/dist/components/tool-call.d.ts +48 -0
- package/dist/components/tool-call.js +77 -0
- package/dist/components/toolbar.d.ts +27 -0
- package/dist/components/toolbar.js +39 -0
- package/dist/components/tooltip.d.ts +11 -0
- package/dist/components/tooltip.js +18 -0
- package/dist/components/window.d.ts +56 -0
- package/dist/components/window.js +61 -0
- package/dist/index.d.ts +97 -0
- package/dist/index.js +98 -0
- package/dist/lib/agent-glyphs.d.ts +10 -0
- package/dist/lib/agent-glyphs.js +19 -0
- package/dist/lib/cx.d.ts +9 -0
- package/dist/lib/cx.js +14 -0
- package/dist/lib/derive.d.ts +53 -0
- package/dist/lib/derive.js +255 -0
- package/dist/lib/field-glyphs.d.ts +13 -0
- package/dist/lib/field-glyphs.js +28 -0
- package/dist/lib/menu-glyphs.d.ts +6 -0
- package/dist/lib/menu-glyphs.js +15 -0
- package/dist/lib/platform.d.ts +18 -0
- package/dist/lib/platform.js +17 -0
- package/dist/lib/squircle.d.ts +23 -0
- package/dist/lib/squircle.js +69 -0
- package/dist/lib/theme.d.ts +42 -0
- package/dist/lib/theme.js +62 -0
- package/dist/styles/base.css +115 -0
- package/dist/styles/components/accessory-tile.css +461 -0
- package/dist/styles/components/activity-indicator.css +63 -0
- package/dist/styles/components/alert.css +433 -0
- package/dist/styles/components/artifact-card.css +238 -0
- package/dist/styles/components/artwork.css +380 -0
- package/dist/styles/components/attachment.css +540 -0
- package/dist/styles/components/automation-row.css +52 -0
- package/dist/styles/components/avatar.css +230 -0
- package/dist/styles/components/badge.css +204 -0
- package/dist/styles/components/button.css +298 -0
- package/dist/styles/components/calendar.css +287 -0
- package/dist/styles/components/camera-view.css +239 -0
- package/dist/styles/components/card.css +100 -0
- package/dist/styles/components/carousel.css +210 -0
- package/dist/styles/components/chat.css +209 -0
- package/dist/styles/components/checkbox.css +212 -0
- package/dist/styles/components/code-block.css +162 -0
- package/dist/styles/components/code-field.css +163 -0
- package/dist/styles/components/color-well.css +452 -0
- package/dist/styles/components/combo-box.css +222 -0
- package/dist/styles/components/command-palette.css +379 -0
- package/dist/styles/components/confirmation.css +189 -0
- package/dist/styles/components/content-unavailable.css +105 -0
- package/dist/styles/components/context-menu.css +43 -0
- package/dist/styles/components/date-picker.css +356 -0
- package/dist/styles/components/description-list.css +92 -0
- package/dist/styles/components/device-frame.css +202 -0
- package/dist/styles/components/dialog.css +366 -0
- package/dist/styles/components/disclosure.css +197 -0
- package/dist/styles/components/dock.css +404 -0
- package/dist/styles/components/door-control.css +187 -0
- package/dist/styles/components/energy-readout.css +161 -0
- package/dist/styles/components/field.css +175 -0
- package/dist/styles/components/gauge.css +239 -0
- package/dist/styles/components/generated-image.css +248 -0
- package/dist/styles/components/glass.css +113 -0
- package/dist/styles/components/home-backdrop.css +81 -0
- package/dist/styles/components/home-section.css +100 -0
- package/dist/styles/components/home-status.css +215 -0
- package/dist/styles/components/hover-card.css +145 -0
- package/dist/styles/components/index.css +94 -0
- package/dist/styles/components/inspector.css +236 -0
- package/dist/styles/components/level-control.css +247 -0
- package/dist/styles/components/light-color-picker.css +94 -0
- package/dist/styles/components/list.css +411 -0
- package/dist/styles/components/listbox.css +168 -0
- package/dist/styles/components/lock-control.css +164 -0
- package/dist/styles/components/menu-bar.css +94 -0
- package/dist/styles/components/menu.css +454 -0
- package/dist/styles/components/message.css +236 -0
- package/dist/styles/components/model-picker.css +64 -0
- package/dist/styles/components/navigation-bar.css +249 -0
- package/dist/styles/components/outline.css +248 -0
- package/dist/styles/components/page-control.css +127 -0
- package/dist/styles/components/plan.css +212 -0
- package/dist/styles/components/popover.css +186 -0
- package/dist/styles/components/progress.css +228 -0
- package/dist/styles/components/prompt-input.css +503 -0
- package/dist/styles/components/radio.css +281 -0
- package/dist/styles/components/rating.css +122 -0
- package/dist/styles/components/reasoning.css +214 -0
- package/dist/styles/components/response.css +303 -0
- package/dist/styles/components/scene-tile.css +295 -0
- package/dist/styles/components/scroll-view.css +195 -0
- package/dist/styles/components/search-field.css +128 -0
- package/dist/styles/components/secure-field.css +189 -0
- package/dist/styles/components/segmented-control.css +183 -0
- package/dist/styles/components/select.css +290 -0
- package/dist/styles/components/sensor-readout.css +231 -0
- package/dist/styles/components/separator.css +62 -0
- package/dist/styles/components/setup-code.css +138 -0
- package/dist/styles/components/sheet.css +345 -0
- package/dist/styles/components/shimmer.css +60 -0
- package/dist/styles/components/sidebar.css +261 -0
- package/dist/styles/components/slider.css +208 -0
- package/dist/styles/components/sources.css +349 -0
- package/dist/styles/components/split-view.css +75 -0
- package/dist/styles/components/squircle.css +44 -0
- package/dist/styles/components/stepper.css +278 -0
- package/dist/styles/components/suggestion.css +203 -0
- package/dist/styles/components/switch.css +115 -0
- package/dist/styles/components/tab-bar.css +223 -0
- package/dist/styles/components/table.css +313 -0
- package/dist/styles/components/tabs.css +262 -0
- package/dist/styles/components/text-area.css +94 -0
- package/dist/styles/components/text-field.css +294 -0
- package/dist/styles/components/thermostat-control.css +214 -0
- package/dist/styles/components/toast.css +418 -0
- package/dist/styles/components/toggle.css +312 -0
- package/dist/styles/components/token-field.css +193 -0
- package/dist/styles/components/tool-call.css +391 -0
- package/dist/styles/components/toolbar.css +370 -0
- package/dist/styles/components/tooltip.css +69 -0
- package/dist/styles/components/window.css +428 -0
- package/dist/styles/index.css +17 -0
- package/dist/styles/materials.css +263 -0
- package/dist/styles/platforms.css +214 -0
- package/dist/styles/themes/ember.css +24 -0
- package/dist/styles/themes/graphite.css +16 -0
- package/dist/styles/themes/nebula.css +16 -0
- package/dist/styles/themes/system.css +28 -0
- package/dist/styles/tokens.css +299 -0
- package/package.json +82 -3
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
/* Button — HIG push buttons: bezeled, filled, tinted, plain and glass. */
|
|
2
|
+
|
|
3
|
+
.mb-button {
|
|
4
|
+
--mb-button-height: var(--mb-control-height);
|
|
5
|
+
--mb-button-padding: var(--mb-control-padding);
|
|
6
|
+
--mb-button-radius: var(--mb-control-radius);
|
|
7
|
+
--mb-button-tone: var(--mb-accent);
|
|
8
|
+
--mb-button-tone-text: var(--mb-accent-text);
|
|
9
|
+
--mb-button-on-tone: var(--mb-on-accent);
|
|
10
|
+
--mb-button-bg: transparent;
|
|
11
|
+
--mb-button-fg: var(--mb-label);
|
|
12
|
+
|
|
13
|
+
position: relative;
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
flex: none;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
gap: var(--mb-control-gap);
|
|
19
|
+
min-width: var(--mb-button-height);
|
|
20
|
+
height: var(--mb-button-height);
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0 var(--mb-button-padding);
|
|
23
|
+
border: 0;
|
|
24
|
+
border-radius: var(--mb-button-radius);
|
|
25
|
+
background: var(--mb-button-bg);
|
|
26
|
+
color: var(--mb-button-fg);
|
|
27
|
+
font: var(--mb-control-font);
|
|
28
|
+
letter-spacing: var(--mb-tracking-body);
|
|
29
|
+
white-space: nowrap;
|
|
30
|
+
text-decoration: none;
|
|
31
|
+
cursor: default;
|
|
32
|
+
user-select: none;
|
|
33
|
+
-webkit-user-select: none;
|
|
34
|
+
touch-action: manipulation;
|
|
35
|
+
transition:
|
|
36
|
+
background-color var(--mb-duration-fast) var(--mb-ease-out),
|
|
37
|
+
color var(--mb-duration-fast) var(--mb-ease-out),
|
|
38
|
+
box-shadow var(--mb-duration-fast) var(--mb-ease-out),
|
|
39
|
+
opacity var(--mb-duration-fast) var(--mb-ease-out),
|
|
40
|
+
scale var(--mb-spring-snappy-duration) var(--mb-spring-snappy);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* A touch target never drops below the platform minimum, whatever it looks like. */
|
|
44
|
+
.mb-button::after {
|
|
45
|
+
content: "";
|
|
46
|
+
position: absolute;
|
|
47
|
+
inset: 50% auto auto 50%;
|
|
48
|
+
width: max(100%, var(--mb-hit-target));
|
|
49
|
+
height: max(100%, var(--mb-hit-target));
|
|
50
|
+
translate: -50% -50%;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.mb-button :where(svg) {
|
|
54
|
+
flex: none;
|
|
55
|
+
width: var(--mb-icon-size);
|
|
56
|
+
height: var(--mb-icon-size);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.mb-button[data-tone="neutral"] {
|
|
60
|
+
--mb-button-tone: var(--mb-ink);
|
|
61
|
+
--mb-button-tone-text: var(--mb-label);
|
|
62
|
+
--mb-button-on-tone: var(--mb-bg);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.mb-button[data-tone="destructive"] {
|
|
66
|
+
--mb-button-tone: var(--mb-destructive);
|
|
67
|
+
--mb-button-tone-text: var(--mb-destructive-text);
|
|
68
|
+
--mb-button-on-tone: var(--mb-on-destructive);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Sizes */
|
|
72
|
+
.mb-button[data-size="sm"] {
|
|
73
|
+
--mb-button-height: var(--mb-control-height-sm);
|
|
74
|
+
--mb-button-padding: var(--mb-control-padding-sm);
|
|
75
|
+
--mb-button-radius: var(--mb-control-radius-sm);
|
|
76
|
+
font: var(--mb-control-font-sm);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.mb-button[data-size="lg"] {
|
|
80
|
+
--mb-button-height: var(--mb-control-height-lg);
|
|
81
|
+
--mb-button-padding: var(--mb-control-padding-lg);
|
|
82
|
+
--mb-button-radius: var(--mb-control-radius-lg);
|
|
83
|
+
font: var(--mb-control-font-lg);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Shapes */
|
|
87
|
+
.mb-button[data-shape="capsule"] {
|
|
88
|
+
--mb-button-radius: var(--mb-radius-full);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.mb-button[data-shape="circle"] {
|
|
92
|
+
--mb-button-radius: var(--mb-radius-full);
|
|
93
|
+
width: var(--mb-button-height);
|
|
94
|
+
padding: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.mb-button[data-block] {
|
|
98
|
+
display: flex;
|
|
99
|
+
width: 100%;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Bezeled: the standard push button. A raised control on macOS, a gray fill on touch. */
|
|
103
|
+
.mb-button[data-variant="bezeled"] {
|
|
104
|
+
/* Like AppKit: a soft hairline and drop shadow in light, a lit top edge in dark. The
|
|
105
|
+
label names the button, so its edge needn't hold 3:1; Increase Contrast restores it. */
|
|
106
|
+
--mb-button-edge: light-dark(
|
|
107
|
+
color-mix(in oklch, var(--mb-ink) 20%, transparent),
|
|
108
|
+
color-mix(in oklch, var(--mb-ink) 10%, transparent)
|
|
109
|
+
);
|
|
110
|
+
--mb-button-bg: var(--mb-bg-control);
|
|
111
|
+
--mb-button-fg: var(--mb-label);
|
|
112
|
+
box-shadow:
|
|
113
|
+
inset 0 0.5px 0 light-dark(rgb(255 255 255 / 0), rgb(255 255 255 / 0.12)),
|
|
114
|
+
0 0 0 var(--mb-hairline) var(--mb-button-edge),
|
|
115
|
+
0 0.5px 1.5px var(--mb-shadow-color);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (prefers-contrast: more) {
|
|
119
|
+
.mb-button[data-variant="bezeled"] {
|
|
120
|
+
--mb-button-edge: var(--mb-control-border);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.mb-button[data-variant="bezeled"][data-tone="destructive"] {
|
|
125
|
+
/* The text tokens are tuned for the page; the dark gray bezel needs a lighter red for 4.5:1. */
|
|
126
|
+
--mb-button-fg: light-dark(var(--mb-destructive-text), oklch(from var(--mb-red) max(calc(l + 0.12), 0.82) c h));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@scope ([data-platform="ios"], [data-platform="ipados"]) to (:scope [data-platform]) {
|
|
130
|
+
.mb-button[data-variant="bezeled"] {
|
|
131
|
+
--mb-button-bg: var(--mb-fill-secondary);
|
|
132
|
+
/* Lifted in dark so tinted text holds 4.5:1 on the gray fill. */
|
|
133
|
+
--mb-button-fg: light-dark(
|
|
134
|
+
oklch(from var(--mb-button-tone-text) calc(l - 0.04) c h),
|
|
135
|
+
oklch(from var(--mb-button-tone-text) max(l, 0.78) c h)
|
|
136
|
+
);
|
|
137
|
+
box-shadow: none;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.mb-button[data-variant="bezeled"][data-tone="destructive"] {
|
|
141
|
+
--mb-button-fg: light-dark(var(--mb-destructive-text), oklch(from var(--mb-red) max(calc(l + 0.12), 0.85) c h));
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* Filled: the prominent, default action. One per view. */
|
|
146
|
+
.mb-button[data-variant="filled"] {
|
|
147
|
+
--mb-button-bg: var(--mb-button-tone);
|
|
148
|
+
--mb-button-fg: var(--mb-button-on-tone);
|
|
149
|
+
font-weight: 600;
|
|
150
|
+
box-shadow:
|
|
151
|
+
inset 0 0.5px 0 rgb(255 255 255 / 0.28),
|
|
152
|
+
0 0.5px 1.5px var(--mb-shadow-color);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* White on system red is under 4.5:1 in dark (and in light for the brighter reds); deepen it. */
|
|
156
|
+
.mb-button[data-variant="filled"][data-tone="destructive"] {
|
|
157
|
+
--mb-button-tone: light-dark(
|
|
158
|
+
oklch(from var(--mb-destructive) min(l, 0.58) c h),
|
|
159
|
+
oklch(from var(--mb-destructive) min(l, 0.58) c h)
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Tinted: a quieter filled button that still carries the accent. */
|
|
164
|
+
.mb-button[data-variant="tinted"] {
|
|
165
|
+
--mb-button-bg: color-mix(in oklch, var(--mb-button-tone) 16%, transparent);
|
|
166
|
+
/* A touch deeper in light: the tint behind the text costs about 0.3 of contrast. */
|
|
167
|
+
--mb-button-fg: light-dark(oklch(from var(--mb-button-tone-text) calc(l - 0.04) c h), var(--mb-button-tone-text));
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* Plain: text only. Toolbars, navigation bars and inline actions. */
|
|
171
|
+
.mb-button[data-variant="plain"] {
|
|
172
|
+
--mb-button-fg: var(--mb-button-tone-text);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Glass: floats over content. Never on another material. */
|
|
176
|
+
.mb-button[data-variant="glass"] {
|
|
177
|
+
/* Material tokens, so Reduce Transparency and Increase Contrast make it opaque. */
|
|
178
|
+
--mb-button-bg: var(--mb-material-thin);
|
|
179
|
+
--mb-button-fg: var(--mb-label);
|
|
180
|
+
-webkit-backdrop-filter: var(--mb-material-filter);
|
|
181
|
+
backdrop-filter: var(--mb-material-filter);
|
|
182
|
+
box-shadow:
|
|
183
|
+
inset 0 1px 0 0 var(--mb-glass-edge),
|
|
184
|
+
inset 0 0 0 var(--mb-hairline) var(--mb-glass-edge-soft),
|
|
185
|
+
0 0 0 var(--mb-hairline) var(--mb-glass-border),
|
|
186
|
+
var(--mb-shadow-2);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* Hover: pointer platforms only. Touch has no hover, and a stuck one looks broken. */
|
|
190
|
+
@media (hover: hover) and (pointer: fine) {
|
|
191
|
+
.mb-button[data-variant="bezeled"]:hover {
|
|
192
|
+
--mb-button-bg: color-mix(in oklch, var(--mb-bg-control), var(--mb-ink) 5%);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.mb-button[data-variant="filled"]:hover {
|
|
196
|
+
--mb-button-bg: oklch(from var(--mb-button-tone) calc(l + 0.035) c h);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.mb-button[data-variant="tinted"]:hover {
|
|
200
|
+
--mb-button-bg: color-mix(in oklch, var(--mb-button-tone) 24%, transparent);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.mb-button[data-variant="plain"]:hover {
|
|
204
|
+
--mb-button-bg: var(--mb-fill-tertiary);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.mb-button[data-variant="glass"]:hover {
|
|
208
|
+
--mb-button-bg: var(--mb-material-regular);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* Press: instant, on pointer-down. macOS darkens; touch also gives slightly. */
|
|
213
|
+
.mb-button:active {
|
|
214
|
+
transition-duration: 0ms, 0ms, 0ms, 0ms, var(--mb-duration-instant);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.mb-button[data-variant="bezeled"]:active {
|
|
218
|
+
--mb-button-bg: color-mix(in oklch, var(--mb-bg-control), var(--mb-ink) 12%);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.mb-button[data-variant="filled"]:active {
|
|
222
|
+
--mb-button-bg: oklch(from var(--mb-button-tone) calc(l - 0.06) c h);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.mb-button[data-variant="tinted"]:active {
|
|
226
|
+
--mb-button-bg: color-mix(in oklch, var(--mb-button-tone) 32%, transparent);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.mb-button[data-variant="plain"]:active {
|
|
230
|
+
--mb-button-bg: var(--mb-fill-secondary);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.mb-button[data-variant="glass"]:active {
|
|
234
|
+
--mb-button-bg: var(--mb-material-thick);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@scope ([data-platform="ios"], [data-platform="ipados"]) to (:scope [data-platform]) {
|
|
238
|
+
.mb-button:active {
|
|
239
|
+
scale: 0.97;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.mb-button[data-variant="bezeled"]:active {
|
|
243
|
+
--mb-button-bg: var(--mb-fill);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.mb-button[data-variant="plain"]:active {
|
|
247
|
+
--mb-button-bg: transparent;
|
|
248
|
+
opacity: 0.45;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.mb-button:where([data-disabled], :disabled) {
|
|
253
|
+
opacity: 0.4;
|
|
254
|
+
pointer-events: none;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.mb-button[data-pending] {
|
|
258
|
+
cursor: progress;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.mb-button:not([data-pending]) [data-show="pending"],
|
|
262
|
+
.mb-button[data-pending] [data-show="idle"] {
|
|
263
|
+
display: none;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.mb-button-spinner {
|
|
267
|
+
width: var(--mb-icon-size);
|
|
268
|
+
height: var(--mb-icon-size);
|
|
269
|
+
border-radius: 50%;
|
|
270
|
+
border: 2px solid color-mix(in oklch, currentColor 28%, transparent);
|
|
271
|
+
border-top-color: currentColor;
|
|
272
|
+
animation: mb-button-spin 0.7s linear infinite;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
@keyframes mb-button-spin {
|
|
276
|
+
to {
|
|
277
|
+
rotate: 360deg;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
@media (prefers-reduced-motion: reduce) {
|
|
282
|
+
:where(:root:not([data-motion="full"])) {
|
|
283
|
+
/* The spinner is data-motion="essential": it keeps turning, just slower. */
|
|
284
|
+
.mb-button-spinner {
|
|
285
|
+
animation-duration: 1.6s;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
@scope ([data-platform="ios"], [data-platform="ipados"]) to (:scope [data-platform]) {
|
|
291
|
+
@media (prefers-reduced-motion: reduce) {
|
|
292
|
+
:where(:root:not([data-motion="full"])) {
|
|
293
|
+
.mb-button:active {
|
|
294
|
+
scale: none;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Calendar — Apple's graphical date picker: a month title with chevrons, a
|
|
3
|
+
* weekday row, circular days. Today is accent text, the pick an accent circle,
|
|
4
|
+
* a range a continuous band between two circles.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
:where(:root, [data-platform="macos"]) {
|
|
8
|
+
--mb-calendar-cell-width: 32px;
|
|
9
|
+
--mb-calendar-cell-height: 30px;
|
|
10
|
+
--mb-calendar-circle: 26px;
|
|
11
|
+
--mb-calendar-day-font: 400 13px/1 var(--mb-font);
|
|
12
|
+
--mb-calendar-heading-font: 600 13px/16px var(--mb-font);
|
|
13
|
+
--mb-calendar-weekday-font: 500 11px/14px var(--mb-font);
|
|
14
|
+
--mb-calendar-weekday-color: var(--mb-label-secondary);
|
|
15
|
+
--mb-calendar-step-size: 22px;
|
|
16
|
+
--mb-calendar-step-icon: 11px;
|
|
17
|
+
--mb-calendar-step-color: var(--mb-label-secondary);
|
|
18
|
+
--mb-calendar-gap: 8px;
|
|
19
|
+
|
|
20
|
+
--mb-calendar-cell-width-sm: 26px;
|
|
21
|
+
--mb-calendar-cell-height-sm: 24px;
|
|
22
|
+
--mb-calendar-circle-sm: 21px;
|
|
23
|
+
--mb-calendar-day-font-sm: 400 12px/1 var(--mb-font);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:where([data-platform="ios"], [data-platform="ipados"]) {
|
|
27
|
+
--mb-calendar-cell-width: 46px;
|
|
28
|
+
--mb-calendar-cell-height: 44px;
|
|
29
|
+
--mb-calendar-circle: 40px;
|
|
30
|
+
--mb-calendar-day-font: 400 20px/1 var(--mb-font);
|
|
31
|
+
--mb-calendar-heading-font: 600 17px/22px var(--mb-font);
|
|
32
|
+
--mb-calendar-weekday-font: 600 13px/18px var(--mb-font);
|
|
33
|
+
/* UIKit's tertiary label is under 4.5:1 at 13pt; secondary keeps the quiet look and passes. */
|
|
34
|
+
--mb-calendar-weekday-color: var(--mb-label-secondary);
|
|
35
|
+
--mb-calendar-step-size: 44px;
|
|
36
|
+
--mb-calendar-step-icon: 20px;
|
|
37
|
+
--mb-calendar-step-color: var(--mb-accent-text);
|
|
38
|
+
--mb-calendar-gap: 6px;
|
|
39
|
+
|
|
40
|
+
--mb-calendar-cell-width-sm: 42px;
|
|
41
|
+
--mb-calendar-cell-height-sm: 40px;
|
|
42
|
+
--mb-calendar-circle-sm: 36px;
|
|
43
|
+
--mb-calendar-day-font-sm: 400 17px/1 var(--mb-font);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.mb-calendar {
|
|
47
|
+
--mb-calendar-w: var(--mb-calendar-cell-width);
|
|
48
|
+
--mb-calendar-h: var(--mb-calendar-cell-height);
|
|
49
|
+
--mb-calendar-d: var(--mb-calendar-circle);
|
|
50
|
+
--mb-calendar-font: var(--mb-calendar-day-font);
|
|
51
|
+
--mb-calendar-band: color-mix(in oklch, var(--mb-accent) light-dark(20%, 30%), transparent);
|
|
52
|
+
|
|
53
|
+
display: inline-flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
gap: var(--mb-calendar-gap);
|
|
56
|
+
color: var(--mb-label);
|
|
57
|
+
font: var(--mb-text-body);
|
|
58
|
+
user-select: none;
|
|
59
|
+
-webkit-user-select: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.mb-calendar[data-size="sm"] {
|
|
63
|
+
--mb-calendar-w: var(--mb-calendar-cell-width-sm);
|
|
64
|
+
--mb-calendar-h: var(--mb-calendar-cell-height-sm);
|
|
65
|
+
--mb-calendar-d: var(--mb-calendar-circle-sm);
|
|
66
|
+
--mb-calendar-font: var(--mb-calendar-day-font-sm);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.mb-calendar[data-disabled] {
|
|
70
|
+
opacity: 0.45;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.mb-calendar-header {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: space-between;
|
|
77
|
+
gap: 8px;
|
|
78
|
+
min-height: var(--mb-calendar-step-size);
|
|
79
|
+
padding-inline-start: calc((var(--mb-calendar-w) - var(--mb-calendar-d)) / 2 + 2px);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.mb-calendar-heading {
|
|
83
|
+
margin: 0;
|
|
84
|
+
color: var(--mb-label);
|
|
85
|
+
font: var(--mb-calendar-heading-font);
|
|
86
|
+
letter-spacing: var(--mb-tracking-body);
|
|
87
|
+
font-variant-numeric: tabular-nums;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.mb-calendar-nav {
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
gap: 2px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.mb-calendar-step {
|
|
97
|
+
position: relative;
|
|
98
|
+
display: inline-flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
width: var(--mb-calendar-step-size);
|
|
102
|
+
height: var(--mb-calendar-step-size);
|
|
103
|
+
margin: 0;
|
|
104
|
+
padding: 0;
|
|
105
|
+
border: 0;
|
|
106
|
+
border-radius: var(--mb-radius-sm);
|
|
107
|
+
background: transparent;
|
|
108
|
+
color: var(--mb-calendar-step-color);
|
|
109
|
+
cursor: default;
|
|
110
|
+
-webkit-tap-highlight-color: transparent;
|
|
111
|
+
transition:
|
|
112
|
+
background-color var(--mb-duration-fast) var(--mb-ease-out),
|
|
113
|
+
opacity var(--mb-duration-fast) var(--mb-ease-out);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.mb-calendar-chevron {
|
|
117
|
+
width: var(--mb-calendar-step-icon);
|
|
118
|
+
height: var(--mb-calendar-step-icon);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.mb-calendar-step::after {
|
|
122
|
+
content: "";
|
|
123
|
+
position: absolute;
|
|
124
|
+
inset: 50% auto auto 50%;
|
|
125
|
+
width: max(100%, var(--mb-hit-target));
|
|
126
|
+
height: max(100%, var(--mb-hit-target));
|
|
127
|
+
translate: -50% -50%;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
:where([dir="rtl"]) .mb-calendar-chevron {
|
|
131
|
+
scale: -1 1;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@media (hover: hover) and (pointer: fine) {
|
|
135
|
+
.mb-calendar-step:hover {
|
|
136
|
+
background: var(--mb-fill-tertiary);
|
|
137
|
+
color: var(--mb-label);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.mb-calendar-step:active {
|
|
142
|
+
background: var(--mb-fill-secondary);
|
|
143
|
+
transition-duration: 0ms;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.mb-calendar-step[data-disabled] {
|
|
147
|
+
opacity: 0.3;
|
|
148
|
+
pointer-events: none;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@scope ([data-platform="ios"], [data-platform="ipados"]) to (:scope [data-platform]) {
|
|
152
|
+
.mb-calendar-step:active {
|
|
153
|
+
background: transparent;
|
|
154
|
+
opacity: 0.4;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.mb-calendar-months {
|
|
159
|
+
display: flex;
|
|
160
|
+
flex-wrap: wrap;
|
|
161
|
+
gap: 20px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.mb-calendar-grid {
|
|
165
|
+
border-collapse: collapse;
|
|
166
|
+
border-spacing: 0;
|
|
167
|
+
table-layout: fixed;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.mb-calendar-weekday {
|
|
171
|
+
width: var(--mb-calendar-w);
|
|
172
|
+
height: calc(var(--mb-calendar-h) * 0.7);
|
|
173
|
+
padding: 0;
|
|
174
|
+
color: var(--mb-calendar-weekday-color);
|
|
175
|
+
font: var(--mb-calendar-weekday-font);
|
|
176
|
+
letter-spacing: var(--mb-tracking-caption);
|
|
177
|
+
text-align: center;
|
|
178
|
+
text-transform: uppercase;
|
|
179
|
+
vertical-align: middle;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.mb-calendar-day {
|
|
183
|
+
position: relative;
|
|
184
|
+
z-index: 0;
|
|
185
|
+
width: var(--mb-calendar-w);
|
|
186
|
+
height: var(--mb-calendar-h);
|
|
187
|
+
padding: 0;
|
|
188
|
+
text-align: center;
|
|
189
|
+
vertical-align: middle;
|
|
190
|
+
color: var(--mb-label);
|
|
191
|
+
cursor: default;
|
|
192
|
+
outline: none;
|
|
193
|
+
-webkit-tap-highlight-color: transparent;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.mb-calendar-day-label {
|
|
197
|
+
display: inline-grid;
|
|
198
|
+
place-items: center;
|
|
199
|
+
width: var(--mb-calendar-d);
|
|
200
|
+
height: var(--mb-calendar-d);
|
|
201
|
+
border-radius: 50%;
|
|
202
|
+
font: var(--mb-calendar-font);
|
|
203
|
+
font-variant-numeric: tabular-nums;
|
|
204
|
+
transition:
|
|
205
|
+
background-color var(--mb-duration-fast) var(--mb-ease-out),
|
|
206
|
+
color var(--mb-duration-fast) var(--mb-ease-out),
|
|
207
|
+
scale var(--mb-spring-snappy-duration) var(--mb-spring-snappy);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@media (hover: hover) and (pointer: fine) {
|
|
211
|
+
.mb-calendar-day:not([data-disabled], [data-selected]):hover .mb-calendar-day-label {
|
|
212
|
+
background: var(--mb-fill-tertiary);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.mb-calendar-day:not([data-disabled]):active .mb-calendar-day-label {
|
|
217
|
+
scale: 0.9;
|
|
218
|
+
transition-duration: 0ms, 0ms, var(--mb-duration-instant);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.mb-calendar-day[data-today] .mb-calendar-day-label {
|
|
222
|
+
color: var(--mb-accent-text);
|
|
223
|
+
font-weight: 600;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.mb-calendar-day[data-outside] {
|
|
227
|
+
color: var(--mb-label-quaternary);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.mb-calendar-day[data-disabled] {
|
|
231
|
+
color: var(--mb-label-quaternary);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.mb-calendar-day[data-unavailable] {
|
|
235
|
+
color: var(--mb-label-quaternary);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* The pick: a filled accent circle. A range's ends are picks too; its middle is the band. */
|
|
239
|
+
.mb-calendar-day[data-selected]:not([data-range-middle]) .mb-calendar-day-label,
|
|
240
|
+
.mb-calendar-day:is([data-range-start], [data-range-end]) .mb-calendar-day-label {
|
|
241
|
+
background: var(--mb-accent);
|
|
242
|
+
color: var(--mb-on-accent);
|
|
243
|
+
font-weight: 600;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.mb-calendar-day:is([data-range-start], [data-range-middle], [data-range-end])::before {
|
|
247
|
+
content: "";
|
|
248
|
+
position: absolute;
|
|
249
|
+
z-index: -1;
|
|
250
|
+
inset-block: calc((var(--mb-calendar-h) - var(--mb-calendar-d)) / 2);
|
|
251
|
+
inset-inline: 0;
|
|
252
|
+
background: var(--mb-calendar-band);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.mb-calendar-day[data-preview]:is([data-range-start], [data-range-middle], [data-range-end])::before {
|
|
256
|
+
background: color-mix(in oklch, var(--mb-accent) light-dark(11%, 16%), transparent);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.mb-calendar-day[data-range-start]::before {
|
|
260
|
+
inset-inline-start: 50%;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.mb-calendar-day[data-range-end]::before {
|
|
264
|
+
inset-inline-end: 50%;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.mb-calendar-day[data-range-start][data-range-end]::before {
|
|
268
|
+
display: none;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* The band rounds off where a week wraps. */
|
|
272
|
+
.mb-calendar-day[data-range-middle]:first-child::before {
|
|
273
|
+
inset-inline-start: calc((var(--mb-calendar-w) - var(--mb-calendar-d)) / 2);
|
|
274
|
+
border-start-start-radius: var(--mb-radius-full);
|
|
275
|
+
border-end-start-radius: var(--mb-radius-full);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.mb-calendar-day[data-range-middle]:last-child::before {
|
|
279
|
+
inset-inline-end: calc((var(--mb-calendar-w) - var(--mb-calendar-d)) / 2);
|
|
280
|
+
border-start-end-radius: var(--mb-radius-full);
|
|
281
|
+
border-end-end-radius: var(--mb-radius-full);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.mb-calendar-day:focus-visible .mb-calendar-day-label {
|
|
285
|
+
outline: var(--mb-focus-ring-width) solid var(--mb-focus-ring);
|
|
286
|
+
outline-offset: 1px;
|
|
287
|
+
}
|