@plexui/styles 0.1.33 → 0.1.34

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.
Files changed (63) hide show
  1. package/dist/es/components/Accordion/Accordion.module.css +14 -0
  2. package/dist/es/components/Alert/Alert.module.css +112 -1
  3. package/dist/es/components/Breadcrumb/Breadcrumb.module.css +34 -0
  4. package/dist/es/components/Button/Button.module.css +70 -22
  5. package/dist/es/components/Card/Card.module.css +22 -6
  6. package/dist/es/components/Checkbox/Checkbox.module.css +26 -72
  7. package/dist/es/components/CodeBlock/CodeBlock.module.css +20 -0
  8. package/dist/es/components/ColorPicker/ColorPicker.module.css +396 -0
  9. package/dist/es/components/ContextMenu/ContextMenu.module.css +55 -0
  10. package/dist/es/components/DataTable/DataTable.module.css +4 -0
  11. package/dist/es/components/DatePicker/Calendar.module.css +18 -5
  12. package/dist/es/components/DateRangePicker/Calendar.module.css +20 -2
  13. package/dist/es/components/DateRangePicker/Trigger.module.css +29 -1
  14. package/dist/es/components/Dialog/Dialog.module.css +212 -77
  15. package/dist/es/components/EmptyMessage/EmptyMessage.module.css +31 -0
  16. package/dist/es/components/Field/Field.module.css +188 -23
  17. package/dist/es/components/FieldGroup/FieldGroup.module.css +59 -0
  18. package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +21 -0
  19. package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +16 -0
  20. package/dist/es/components/Indicator/LoadingIndicator.module.css +14 -7
  21. package/dist/es/components/Input/Input.module.css +69 -0
  22. package/dist/es/components/InputGroup/InputGroup.module.css +4 -0
  23. package/dist/es/components/Menu/Menu.module.css +278 -28
  24. package/dist/es/components/Page/Page.module.css +92 -24
  25. package/dist/es/components/PageControl/PageControl.module.css +81 -0
  26. package/dist/es/components/Popover/Popover.module.css +10 -1
  27. package/dist/es/components/Select/Select.module.css +53 -9
  28. package/dist/es/components/SelectControl/SelectControl.module.css +38 -3
  29. package/dist/es/components/Sidebar/Sidebar.module.css +276 -57
  30. package/dist/es/components/Slider/Slider.module.css +52 -45
  31. package/dist/es/components/Sortable/Sortable.module.css +7 -3
  32. package/dist/es/components/Stepper/Stepper.module.css +98 -0
  33. package/dist/es/components/TabBar/TabBar.module.css +233 -0
  34. package/dist/es/components/Tabs/Tabs.module.css +149 -2
  35. package/dist/es/components/Toast/Toast.module.css +50 -5
  36. package/dist/es/components/Toolbar/Toolbar.module.css +208 -18
  37. package/dist/es/styles/katex-fonts/KaTeX_AMS-Regular.woff2 +0 -0
  38. package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  39. package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  40. package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  41. package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  42. package/dist/es/styles/katex-fonts/KaTeX_Main-Bold.woff2 +0 -0
  43. package/dist/es/styles/katex-fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  44. package/dist/es/styles/katex-fonts/KaTeX_Main-Italic.woff2 +0 -0
  45. package/dist/es/styles/katex-fonts/KaTeX_Main-Regular.woff2 +0 -0
  46. package/dist/es/styles/katex-fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  47. package/dist/es/styles/katex-fonts/KaTeX_Math-Italic.woff2 +0 -0
  48. package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  49. package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  50. package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  51. package/dist/es/styles/katex-fonts/KaTeX_Script-Regular.woff2 +0 -0
  52. package/dist/es/styles/katex-fonts/KaTeX_Size1-Regular.woff2 +0 -0
  53. package/dist/es/styles/katex-fonts/KaTeX_Size2-Regular.woff2 +0 -0
  54. package/dist/es/styles/katex-fonts/KaTeX_Size3-Regular.woff2 +0 -0
  55. package/dist/es/styles/katex-fonts/KaTeX_Size4-Regular.woff2 +0 -0
  56. package/dist/es/styles/katex-fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  57. package/dist/es/styles/katex-fonts/LICENSE +21 -0
  58. package/dist/es/styles/katex.min.css +666 -730
  59. package/dist/es/styles/mobile-materials.css +56 -14
  60. package/dist/es/styles/mobile-surfaces.css +39 -32
  61. package/dist/es/styles/touch.css +328 -90
  62. package/dist/es/styles/variables-components.css +232 -13
  63. package/package.json +1 -1
@@ -0,0 +1,396 @@
1
+ @layer components {/* The system color picker, after the iOS 26 kit Color Picker - iPhone (0:5275): a segmented control over the
2
+ grid, spectrum or sliders, the Opacity slider, a separator, then the current color and the saved colors. On a
3
+ phone the sizes are the kit's (touch.css); on a desktop the same layout in PlexUI sizes. */.ColorPicker {
4
+ display: flex;
5
+ flex-direction: column;
6
+ width: var(--color-picker-width);
7
+ max-width: 100%;
8
+ color: var(--color-text);
9
+ }.Modes {
10
+ margin-bottom: var(--color-picker-modes-gap);
11
+ }/* On a phone the Mode control stays the plain segmented control of the kit's picker (iOS 27 kit Color Picker -
12
+ iPhone 0:5275: Segmented Control Size=Small), not the glass one of other phone tabs (touch.css): a 32px
13
+ Fills/Tertiary track, a white thumb 2px inside it, options 4px apart and 13.333px labels, Semibold when
14
+ selected and Medium otherwise. The class with both attributes outranks the touch.css tokens on the same
15
+ element (both in the kit's layer). */@media (max-width: 767px) {
16
+ .Modes[data-variant="segmented"][data-orientation="horizontal"] {
17
+ --segmented-control-size: 32px;
18
+ --segmented-control-gutter: 2px;
19
+ --segmented-control-gap: 4px;
20
+ --segmented-control-thumb-outset: 0px;
21
+ --segmented-control-option-gutter: 6px;
22
+ --segmented-control-font-size: 13.333px;
23
+ --segmented-control-line-height: 18px;
24
+ --segmented-control-font-weight: 510;
25
+ --segmented-control-active-font-weight: 590;
26
+ --segmented-control-background: var(--color-picker-mobile-mode-background);
27
+ --segmented-control-sheen: none;
28
+ --segmented-control-shadow: none;
29
+ --segmented-control-backdrop-filter: none;
30
+ --segmented-control-thumb-background: var(--color-picker-mobile-mode-thumb-background);
31
+ /* Every label of the plain control is primary; the weight marks the selection. */
32
+ --color-text-secondary: var(--color-text);
33
+ }
34
+ }.Body {
35
+ position: relative;
36
+ aspect-ratio: var(--color-picker-body-aspect-ratio);
37
+ }/* ===== Grid ===== */.Grid {
38
+ display: grid;
39
+ grid-template-columns: repeat(12, 1fr);
40
+ grid-template-rows: repeat(10, 1fr);
41
+ height: 100%;
42
+ overflow: hidden;
43
+ border-radius: var(--color-picker-body-radius);
44
+ }.Cell {
45
+ position: relative;
46
+ margin: 0;
47
+ padding: 0;
48
+ border: 0;
49
+ border-radius: 0;
50
+ cursor: pointer;
51
+ -webkit-tap-highlight-color: transparent;
52
+ }
53
+
54
+ .Cell[aria-checked="true"] {
55
+ box-shadow: inset 0 0 0 var(--color-picker-selection-width) var(--color-picker-selection-color);
56
+ }
57
+
58
+ .Cell:focus {
59
+ outline: none;
60
+ }
61
+
62
+ .Cell:focus-visible {
63
+ z-index: 1;
64
+ outline: 2px solid var(--color-ring);
65
+ outline-offset: 0;
66
+ }/* ===== Spectrum ===== *//* The hue runs from top to bottom; across, white fades to the full hue at the middle, then the hue to black. */.Spectrum {
67
+ position: absolute;
68
+ inset: 0;
69
+ border-radius: var(--color-picker-body-radius);
70
+ background:
71
+ linear-gradient(to right, #fff, rgb(255 255 255 / 0%) 50%, rgb(0 0 0 / 0%) 50%, #000),
72
+ linear-gradient(to bottom, #f00, #ff0 16.667%, #0f0 33.333%, #0ff 50%, #00f 66.667%, #f0f 83.333%, #f00);
73
+ cursor: crosshair;
74
+ touch-action: none;
75
+ -webkit-tap-highlight-color: transparent;
76
+ }
77
+
78
+ .Spectrum:focus {
79
+ outline: none;
80
+ }
81
+
82
+ .Spectrum:focus-visible {
83
+ outline: 2px solid var(--color-ring);
84
+ outline-offset: 2px;
85
+ }.Loupe {
86
+ position: absolute;
87
+ width: var(--color-picker-loupe-size);
88
+ height: var(--color-picker-loupe-size);
89
+ box-sizing: border-box;
90
+ border: var(--color-picker-knob-border) solid var(--color-picker-selection-color);
91
+ border-radius: var(--radius-full);
92
+ box-shadow: var(--color-picker-knob-shadow);
93
+ transform: translate(-50%, -50%);
94
+ pointer-events: none;
95
+ }/* ===== Sliders ===== */.Sliders {
96
+ display: flex;
97
+ flex-direction: column;
98
+ justify-content: space-between;
99
+ height: 100%;
100
+ }.Channel {
101
+ display: flex;
102
+ flex-direction: column;
103
+ gap: var(--color-picker-row-gap);
104
+ }.Hex {
105
+ display: flex;
106
+ align-items: center;
107
+ justify-content: space-between;
108
+ gap: var(--color-picker-field-gap);
109
+ }/* ===== Opacity ===== */.Opacity {
110
+ display: flex;
111
+ flex-direction: column;
112
+ gap: var(--color-picker-row-gap);
113
+ padding-top: var(--color-picker-section-gap);
114
+ padding-bottom: var(--color-picker-opacity-padding-bottom);
115
+ border-bottom: 1px solid var(--color-picker-separator-color);
116
+ }.Label {
117
+ font-size: var(--color-picker-label-font-size);
118
+ font-weight: var(--font-weight-semibold);
119
+ line-height: var(--color-picker-label-line-height);
120
+ }.Row {
121
+ display: flex;
122
+ align-items: center;
123
+ gap: var(--color-picker-field-gap);
124
+ }/* The track: the color over a checkerboard, so a clear color shows as clear. */.Track {
125
+ flex: 1;
126
+ min-width: 0;
127
+ height: var(--color-picker-track-height);
128
+ padding: var(--color-picker-track-inset);
129
+ box-sizing: border-box;
130
+ border-radius: var(--radius-full);
131
+ background:
132
+ var(--color-picker-track),
133
+ repeating-conic-gradient(#fff 0 25%, #000 0 50%) 0 0 / calc(2 * var(--color-picker-checker-size)) calc(2 * var(--color-picker-checker-size));
134
+ }.SliderRoot {
135
+ position: relative;
136
+ display: flex;
137
+ align-items: center;
138
+ height: 100%;
139
+ touch-action: none;
140
+ -moz-user-select: none;
141
+ user-select: none;
142
+ -webkit-user-select: none;
143
+ -webkit-tap-highlight-color: transparent;
144
+ }.SliderTrack {
145
+ position: relative;
146
+ flex-grow: 1;
147
+ height: 100%;
148
+ }.Knob {
149
+ display: block;
150
+ width: var(--color-picker-knob-size);
151
+ height: var(--color-picker-knob-size);
152
+ box-sizing: border-box;
153
+ border: var(--color-picker-knob-border) solid var(--color-picker-selection-color);
154
+ border-radius: var(--radius-full);
155
+ box-shadow: var(--color-picker-knob-shadow);
156
+ cursor: grab;
157
+ }
158
+
159
+ .Knob:focus {
160
+ outline: none;
161
+ }
162
+
163
+ .Knob:focus-visible {
164
+ outline: 2px solid var(--color-ring);
165
+ outline-offset: 2px;
166
+ }.Field {
167
+ flex-shrink: 0;
168
+ width: var(--color-picker-field-width);
169
+ height: var(--color-picker-field-height);
170
+ margin: 0;
171
+ padding: 0 4px;
172
+ box-sizing: border-box;
173
+ border: 0;
174
+ border-radius: var(--color-picker-field-radius);
175
+ background: var(--color-picker-field-background);
176
+ color: var(--color-text);
177
+ font: inherit;
178
+ font-size: var(--color-picker-field-font-size);
179
+ font-weight: var(--font-weight-semibold);
180
+ line-height: var(--color-picker-field-line-height);
181
+ font-variant-numeric: tabular-nums;
182
+ text-align: center;
183
+ }
184
+
185
+ .Field[data-wide] {
186
+ width: var(--color-picker-field-wide-width);
187
+ }
188
+
189
+ .Field:focus {
190
+ outline: none;
191
+ }
192
+
193
+ .Field:focus-visible {
194
+ outline: 2px solid var(--color-ring);
195
+ outline-offset: 0;
196
+ }/* ===== Swatches ===== */.Swatches {
197
+ display: flex;
198
+ align-items: flex-start;
199
+ gap: var(--color-picker-current-gap);
200
+ padding-top: var(--color-picker-section-gap);
201
+ }/* The current color, over a checkerboard when it is not opaque. */.Current {
202
+ position: relative;
203
+ flex-shrink: 0;
204
+ width: var(--color-picker-current-size);
205
+ height: var(--color-picker-current-size);
206
+ overflow: hidden;
207
+ border-radius: var(--color-picker-current-radius);
208
+ background: repeating-conic-gradient(#fff 0 25%, #000 0 50%) 0 0 / calc(2 * var(--color-picker-checker-size)) calc(2 * var(--color-picker-checker-size));
209
+ }.CurrentFill,
210
+ .SwatchFill {
211
+ position: absolute;
212
+ inset: 0;
213
+ border-radius: inherit;
214
+ }.Saved {
215
+ display: flex;
216
+ flex: 1;
217
+ flex-direction: column;
218
+ gap: var(--color-picker-swatch-row-gap);
219
+ min-width: 0;
220
+ }/* Pages of ten that scroll sideways, a page at a time. */.Pages {
221
+ display: flex;
222
+ overflow-x: auto;
223
+ overscroll-behavior-x: contain;
224
+ scroll-snap-type: x mandatory;
225
+ scrollbar-width: none;
226
+ }
227
+
228
+ .Pages::-webkit-scrollbar {
229
+ display: none;
230
+ }.Page {
231
+ display: grid;
232
+ flex: 0 0 100%;
233
+ grid-template-columns: repeat(5, var(--color-picker-swatch-size));
234
+ grid-auto-rows: var(--color-picker-swatch-size);
235
+ align-content: start;
236
+ justify-content: space-between;
237
+ row-gap: var(--color-picker-swatch-row-gap);
238
+ height: calc(2 * var(--color-picker-swatch-size) + var(--color-picker-swatch-row-gap));
239
+ scroll-snap-align: start;
240
+ }.Swatch,
241
+ .Add {
242
+ position: relative;
243
+ width: var(--color-picker-swatch-size);
244
+ height: var(--color-picker-swatch-size);
245
+ margin: 0;
246
+ padding: 0;
247
+ border: 0;
248
+ border-radius: var(--radius-full);
249
+ cursor: pointer;
250
+ -webkit-tap-highlight-color: transparent;
251
+ }
252
+
253
+ .Swatch:focus, .Add:focus {
254
+ outline: none;
255
+ }
256
+
257
+ .Swatch:focus-visible, .Add:focus-visible {
258
+ outline: 2px solid var(--color-ring);
259
+ outline-offset: 2px;
260
+ }.Swatch {
261
+ overflow: hidden;
262
+ background: repeating-conic-gradient(#fff 0 25%, #000 0 50%) 0 0 / calc(var(--color-picker-swatch-size) / 3) calc(var(--color-picker-swatch-size) / 3);
263
+ }
264
+
265
+ .Swatch[aria-checked="true"]::after {
266
+ position: absolute;
267
+ inset: var(--color-picker-swatch-ring-inset);
268
+ border: var(--color-picker-swatch-ring-width) solid var(--color-picker-selection-color);
269
+ border-radius: inherit;
270
+ content: "";
271
+ }.Add {
272
+ display: grid;
273
+ place-items: center;
274
+ background: var(--color-picker-field-background);
275
+ color: var(--color-text);
276
+
277
+ }
278
+
279
+ .Add > svg {
280
+ width: var(--color-picker-add-icon-size);
281
+ height: var(--color-picker-add-icon-size);
282
+ }.PageControlRow {
283
+ display: flex;
284
+ align-items: center;
285
+ justify-content: center;
286
+ height: var(--color-picker-page-control-row-height);
287
+ }
288
+
289
+ /* With one page the row is left out on a desktop; a phone keeps it, so the sheet keeps the kit's height. */
290
+ .PageControlRow:empty {
291
+ display: var(--color-picker-page-control-empty-display);
292
+ }/* ===== Color well ===== *//* The kit's Picker Button: a 3px rainbow ring (angular, from yellow at the top), and inside it, 2px apart, the
293
+ chosen color; with no color, the full rainbow with a light wash toward the middle. */.Well {
294
+ position: relative;
295
+ flex-shrink: 0;
296
+ width: var(--color-well-size);
297
+ height: var(--color-well-size);
298
+ margin: 0;
299
+ padding: 0;
300
+ border: 0;
301
+ border-radius: var(--radius-full);
302
+ background: transparent;
303
+ vertical-align: middle;
304
+ cursor: pointer;
305
+ -webkit-tap-highlight-color: transparent;
306
+ }
307
+
308
+ .Well[data-size="sm"] {
309
+ --color-well-size: var(--color-well-size-sm);
310
+ }
311
+
312
+ .Well[data-size="lg"] {
313
+ --color-well-size: var(--color-well-size-lg);
314
+ }
315
+
316
+ /* The rainbow is drawn under the button, so the focus ring is not cut by the ring's mask. */
317
+ .Well::before {
318
+ position: absolute;
319
+ inset: 0;
320
+ border-radius: inherit;
321
+ background:
322
+ radial-gradient(closest-side, rgb(228 228 228), rgb(228 228 228 / 0%) 88%),
323
+ var(--color-well-rainbow);
324
+ content: "";
325
+ }
326
+
327
+ .Well[data-selected]::before {
328
+ background: var(--color-well-rainbow);
329
+ -webkit-mask: radial-gradient(closest-side, transparent calc(100% - var(--color-well-ring-width) - 0.5px), #000 calc(100% - var(--color-well-ring-width) + 0.5px));
330
+ mask: radial-gradient(closest-side, transparent calc(100% - var(--color-well-ring-width) - 0.5px), #000 calc(100% - var(--color-well-ring-width) + 0.5px));
331
+ }
332
+
333
+ .Well:disabled {
334
+ opacity: 0.4;
335
+ cursor: default;
336
+ }
337
+
338
+ .Well:focus {
339
+ outline: none;
340
+ }
341
+
342
+ .Well:focus-visible {
343
+ outline: 2px solid var(--color-ring);
344
+ outline-offset: 2px;
345
+ }.WellColor {
346
+ position: absolute;
347
+ inset: calc(var(--color-well-ring-width) + var(--color-well-ring-gap));
348
+ border-radius: inherit;
349
+ background:
350
+ linear-gradient(var(--color-well-color), var(--color-well-color)),
351
+ repeating-conic-gradient(#fff 0 25%, #000 0 50%) 0 0 / 50% 50%;
352
+ }/* ===== Presentation ===== */.Popover {
353
+ padding: var(--color-picker-popover-padding);
354
+ }.PopoverHeader {
355
+ display: grid;
356
+ grid-template-columns: 1fr auto 1fr;
357
+ align-items: center;
358
+ margin-bottom: var(--color-picker-popover-header-gap);
359
+ }.PopoverLeading {
360
+ display: flex;
361
+ justify-content: flex-start;
362
+ }.PopoverTrailing {
363
+ display: flex;
364
+ justify-content: flex-end;
365
+ }.PopoverTitle {
366
+ font-size: var(--font-text-sm-size);
367
+ font-weight: var(--font-weight-semibold);
368
+ line-height: var(--font-text-sm-line-height);
369
+ }/* The kit's Sheet - Inspector - iPhone: a glass panel 6px from the sides and the bottom, its corners 34px at the
370
+ top and 58px at the bottom, concentric with the display. */.Sheet {
371
+ --dialog-panel-width: calc(100% - 12px);
372
+ --dialog-panel-radius: var(--color-picker-sheet-radius);
373
+ --dialog-panel-hidden-transform: translateY(calc(100% + 6px));
374
+ --dialog-panel-background: var(--mobile-glass-background);
375
+ margin: 0 6px 6px;
376
+ box-shadow: var(--mobile-glass-shadow);
377
+ backdrop-filter: var(--mobile-glass-backdrop-filter);
378
+ }/* One glass surface: the bar is clear (it is solid, so no scroll edge blurs the segmented control), and the picker
379
+ starts right under it, as the kit's 70px Toolbar keeps its own 10px bottom padding. The body does not run under
380
+ the bar, so on a short screen the picker scrolls below it. This outranks the Dialog's
381
+ `.Content[data-mobile-variant="sheet"] .Panel > .Body`. */.Sheet > [data-toolbar] {
382
+ --dialog-panel-background: transparent;
383
+ }[data-mobile-variant="sheet"] .Sheet.Sheet > .SheetBody.SheetBody {
384
+ margin-top: 0;
385
+ padding-top: 0;
386
+ padding-inline: var(--mobile-layout-margin, 16px);
387
+ padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
388
+ scroll-padding-top: 0;
389
+ }.SheetBody > .ColorPicker {
390
+ width: 100%;
391
+ }@media (prefers-reduced-motion: reduce) {
392
+ .Pages {
393
+ scroll-behavior: auto;
394
+ }
395
+ }
396
+ }
@@ -0,0 +1,55 @@
1
+ @layer components {/* A context menu, after the iOS 26 kit Context Menu (507:25994). The items are the ones of Menu. *//* A touch and hold opens the menu, so the element shows neither the system callout nor a text selection. */:root[data-input="touch"] .Trigger {
2
+ -webkit-touch-callout: none;
3
+ -webkit-user-select: none;
4
+ -moz-user-select: none;
5
+ user-select: none;
6
+ }/* The invisible box the menu is placed against: the pointer, or the element. */.Anchor {
7
+ position: fixed;
8
+ pointer-events: none;
9
+ visibility: hidden;
10
+ }.Dimming {
11
+ /* Top-level selector needs to exist */
12
+ }/* Context Menu - Dimming Overlay: black at 23% over a 30px background blur, with the element cut out so it stays
13
+ clear, as iOS lifts its preview. A press on the dimming closes the menu and reaches nothing under it. It shares
14
+ the overlay layer (50): it comes after a Dialog or Popover the element sits in, so it dims that too, as iOS dims a
15
+ sheet, and before its own menu, which stays above it. */.Overlay {
16
+ position: fixed;
17
+ z-index: 50;
18
+ inset: 0;
19
+ /* Takes the press even over a modal Dialog, whose content stays pressable while the rest of the page is not. */
20
+ pointer-events: auto;
21
+ background: var(--context-menu-dimming-background);
22
+ backdrop-filter: var(--context-menu-dimming-backdrop-filter);
23
+ -webkit-mask-image: var(--context-menu-hole);
24
+ mask-image: var(--context-menu-hole);
25
+ -webkit-mask-size: 100% 100%;
26
+ mask-size: 100% 100%;
27
+ -webkit-mask-repeat: no-repeat;
28
+ mask-repeat: no-repeat;
29
+ touch-action: none;
30
+ }
31
+
32
+ .Dimming[data-entering] .Overlay {
33
+ opacity: 0;
34
+ }
35
+
36
+ .Dimming[data-entering-active] .Overlay,
37
+ .Dimming[data-entering][data-interrupted] .Overlay {
38
+ opacity: 1;
39
+ transition: opacity var(--motion-enter) var(--cubic-enter);
40
+ }
41
+
42
+ .Dimming[data-exiting-active] .Overlay,
43
+ .Dimming[data-exiting][data-interrupted] .Overlay {
44
+ opacity: 0;
45
+ transition: opacity var(--motion-exit) var(--cubic-exit);
46
+ }/* The kit's preview shadow around the element (Content Area: drop shadow 32, black at 20%). */.Preview {
47
+ position: absolute;
48
+ box-shadow: var(--context-menu-preview-shadow);
49
+ pointer-events: none;
50
+ }@media (prefers-reduced-motion: reduce) {
51
+ .Overlay {
52
+ transition: none !important;
53
+ }
54
+ }
55
+ }
@@ -92,6 +92,10 @@
92
92
  outline: 2px solid var(--color-ring);
93
93
  outline-offset: -1px;
94
94
  }.PaginationButtons {
95
+ /* On a phone the page buttons keep the 44px target of the table's other controls, the page size select
96
+ beside them; a uniform button is otherwise a circle of its size there (touch.css) */
97
+ --button-uniform-size-sm: var(--data-table-control-target, var(--control-size-sm));
98
+
95
99
  display: flex;
96
100
  flex-shrink: 0;
97
101
  align-items: center;
@@ -393,7 +393,6 @@ background-color: var(--alpha-08);
393
393
  font-size: 17px;
394
394
  font-weight: 590;
395
395
  line-height: 22px;
396
- letter-spacing: -0.43px;
397
396
  }
398
397
 
399
398
  .Week {
@@ -432,8 +431,14 @@ background-color: var(--alpha-08);
432
431
  line-height: 22px;
433
432
  }
434
433
 
434
+ /* Today keeps the PlexUI dot that marks it from 768px up; the selection already follows the desktop
435
+ fill. A 4px dot centers on the 44px cell, and it sits under the 17px digits at the desktop gap
436
+ scaled by 17/14. */
435
437
  .TodayDot {
436
- display: none;
438
+ bottom: 8px;
439
+ width: 4px;
440
+ height: 4px;
441
+ margin-left: -2px;
437
442
  }
438
443
  }@media (max-width: 767px) {
439
444
  .MonthLabelSpacer {
@@ -454,10 +459,15 @@ background-color: var(--alpha-08);
454
459
  --select-control-gap: 4px;
455
460
  }
456
461
 
462
+ /* The Time row is built as the month row is (owner 08.11): as tall, its 44px targets with the calendar's
463
+ inset above and below them, its label where the month starts. The time capsule is concentric with the
464
+ panel's corner, as the 44px edge days are: the 34px capsule sits 5px inside where a 44px circle would,
465
+ so 15px from the bottom and the side for the 32px corner. It is 1px inside its two 44px targets, so the
466
+ row ends 4px further in. */
457
467
  .TimeFooter {
458
468
  box-sizing: border-box;
459
- height: 52px;
460
- padding-top: 0;
469
+ height: var(--calendar-header-height);
470
+ padding: 0 4px 0 max(0px, calc(var(--field-row-padding-inline, 16px) - var(--calendar-inner-padding)));
461
471
  border-top-width: 0.5px;
462
472
  margin-top: 0;
463
473
  }
@@ -507,9 +517,12 @@ background-color: var(--alpha-08);
507
517
  line-height: 22px;
508
518
  }
509
519
 
520
+ /* The phone focus treatment of the calendar: real focus, no drawn ring. The part being typed takes
521
+ the accent, as the date capsule does while its calendar is open. */
510
522
  .TimeField:focus {
511
523
  background: none;
512
- outline-offset: -6px;
524
+ outline: none;
525
+ color: var(--link-primary-text-color);
513
526
  }
514
527
 
515
528
  .TimeSeparator {
@@ -419,7 +419,6 @@ background-color: var(--alpha-08);
419
419
  font-size: 17px;
420
420
  font-weight: 590;
421
421
  line-height: 22px;
422
- letter-spacing: -0.43px;
423
422
  }
424
423
 
425
424
  .Week {
@@ -458,8 +457,14 @@ background-color: var(--alpha-08);
458
457
  line-height: 22px;
459
458
  }
460
459
 
460
+ /* Today keeps the PlexUI dot that marks it from 768px up; the selection already follows the desktop
461
+ fill. A 4px dot centers on the 44px cell, and it sits under the 17px digits at the desktop gap
462
+ scaled by 17/14. */
461
463
  .TodayDot {
462
- display: none;
464
+ bottom: 8px;
465
+ width: 4px;
466
+ height: 4px;
467
+ margin-left: -2px;
463
468
  }
464
469
  }@media (max-width: 767px) {
465
470
  .CalendarContainer {
@@ -488,6 +493,19 @@ background-color: var(--alpha-06);
488
493
  :where([data-theme="dark"]) .Day[data-is-in-range]:not([data-is-end]):not([data-is-last-range-trail]):not(:last-child)::after {
489
494
  background-color: var(--alpha-08);
490
495
  }
496
+
497
+ /* The range is a capsule on every week: where a week starts or ends inside the range, the band rounds
498
+ fully, as its start and end days do. A month trail sits inside a week and keeps its fade; when the
499
+ month's last day opens a week, or its first day closes one, that week edge rounds too. */
500
+ .Day[data-is-in-range]:first-child {
501
+ border-top-left-radius: var(--radius-full);
502
+ border-bottom-left-radius: var(--radius-full);
503
+ }
504
+
505
+ .Day[data-is-in-range]:last-child {
506
+ border-top-right-radius: var(--radius-full);
507
+ border-bottom-right-radius: var(--radius-full);
508
+ }
491
509
  }@media (prefers-reduced-motion: reduce) {
492
510
  .CalendarContainer {
493
511
  --calendar-height-duration: 0ms;
@@ -1,19 +1,47 @@
1
1
  @layer components {.StepperControl {
2
2
  padding-right: calc((var(--select-control-size) - var(--clear-size)) / 2);
3
3
  padding-left: calc((var(--select-control-size) - var(--clear-size)) / 2);
4
+
5
+ /* The arrows are uniform buttons: their size must not depend on this stylesheet coming after Button's */
4
6
  }
5
7
 
6
8
  .StepperControl .StepperPrevious,
7
9
  .StepperControl .StepperNext {
8
10
  --button-size: var(--clear-size);
9
11
  --button-icon-size: var(--clear-icon-size);
10
- }.StepperContent {
12
+ }
13
+ .StepperControl .StepperPrevious[data-uniform],
14
+ .StepperControl .StepperNext[data-uniform] {
15
+ --button-uniform-size: var(--clear-size);
16
+ }/* On a phone an arrow takes the 44px target of iOS around its face; the negative margin keeps the
17
+ control's layout and the glyph where they were. */@media (max-width: 767px) {
18
+ .StepperControl :is(.StepperPrevious, .StepperNext) {
19
+ min-width: 44px;
20
+ min-height: 44px;
21
+ margin: calc((var(--button-size) - 44px) / 2);
22
+ }
23
+
24
+ .StepperControl :is(.StepperPrevious, .StepperNext)::before,
25
+ .StepperControl :is(.StepperPrevious, .StepperNext)::after {
26
+ width: var(--button-size);
27
+ height: var(--button-size);
28
+ margin: auto;
29
+ }
30
+ }.StepperContent {
11
31
  display: flex;
12
32
  align-items: center;
13
33
  gap: var(--select-control-gap);
14
34
  }.StepperText {
15
35
  min-width: 9em;
16
36
  text-align: center;
37
+ }/* In a phone row the month keeps the width of the widest English month at the row's 17px
38
+ (September 2026 is 7.6em), so the arrows stay put when the month changes; the desktop 9em
39
+ would push the row's label onto two lines. The month gives the stepper its baseline, so it
40
+ sits on the row's line with the label and the other values, not 1.5px above it. */@media (max-width: 767px) {
41
+ :where([data-row]) .StepperText {
42
+ min-width: 7.75em;
43
+ align-self: baseline;
44
+ }
17
45
  }.RangeText {
18
46
  display: inline-block;
19
47
  font-variant: tabular-nums;