@plexui/styles 0.17.20 → 0.17.22

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.
@@ -21,7 +21,7 @@
21
21
 
22
22
  .Tip:not(:has(> .Actions)) {
23
23
  padding-bottom: var(--tip-padding-top);
24
- }/* The symbol: 6 in from the padding in a 44 by 54 frame, 12 from the text, in the description's color */.Icon {
24
+ }/* The symbol: 6 in from the padding, on the title's line, 12 from the text, in the description's color */.Icon {
25
25
  display: flex;
26
26
  flex-shrink: 0;
27
27
  align-items: center;
@@ -181,8 +181,8 @@
181
181
  }/* iPhone (plan 171, owner 08.11, comments 46 to 50). Apple's cards differ from app to app (IMG_5723, 5725,
182
182
  5726, 5728, 5729, 5730); a tip takes the shape TipKit's own tip and most of them share. It is the card of a
183
183
  grouped list in shape, 26 corners, no shadow, its content at the iOS
184
- layout margin (20 at 430pt). The symbol is as small as in Apple's own tips (owner 01.12, Mail's tip: a glyph of 19
185
- 24 in, the text 55 in): 24 at the margin, on the title's line, and the text starts 12 after it;
184
+ layout margin (20 at 430pt). The symbol is the tip's own small one (Mail's tip: a glyph of 19 24 in, the text 55
185
+ in), at the margin, and the text starts 12 after it;
186
186
  the title line starts 14 down, the 15/20 description right under it in the secondary label, and the whole
187
187
  message stops short of Close. Close is a bare 12pt glyph in the tertiary label (197,197,199), its center 28
188
188
  from the trailing edge and 23 from the top, in a 44 target (IMG_5726, 5730). Actions are rows under a
@@ -195,9 +195,6 @@
195
195
  --tip-padding-bottom: 0px;
196
196
  --tip-gap: 11px;
197
197
  --tip-description-gap: 0px;
198
- --tip-icon-size: 24px;
199
- --tip-icon-frame-width: 24px;
200
- --tip-icon-frame-height: var(--tip-title-line-height);
201
198
  --tip-close-size: 22px;
202
199
  --tip-close-offset: 17px;
203
200
  --tip-close-icon-size: 22px;
@@ -409,9 +406,6 @@
409
406
  --tip-padding-bottom: 0px;
410
407
  --tip-gap: 11px;
411
408
  --tip-description-gap: 0px;
412
- --tip-icon-size: 24px;
413
- --tip-icon-frame-width: 24px;
414
- --tip-icon-frame-height: var(--tip-title-line-height);
415
409
  --tip-close-size: 22px;
416
410
  --tip-close-offset: 17px;
417
411
  --tip-close-icon-size: 22px;
@@ -1515,8 +1515,8 @@ html[data-platform="android"] :where([data-plex-layout="phone"]) [data-slot="inp
1515
1515
  --segmented-control-thumb-lens-shadow: var(--segmented-control-mobile-thumb-lens-shadow);
1516
1516
  }
1517
1517
  html [data-toolbar-row] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"][data-size="md"]:not([data-mobile-material="flat"], [data-mobile-size="small"]) {
1518
- --segmented-control-size: 40px;
1519
- --segmented-control-gutter: 3px;
1518
+ --segmented-control-size: 44px;
1519
+ --segmented-control-gutter: 4px;
1520
1520
  --segmented-control-option-gutter: 12px;
1521
1521
  }
1522
1522
  @media (prefers-reduced-motion: no-preference) {
@@ -2245,8 +2245,8 @@ html:root:where([data-theme="dark"]) :where([data-plex-layout="phone"]), html:ro
2245
2245
  --segmented-control-thumb-lens-shadow: var(--segmented-control-mobile-thumb-lens-shadow);
2246
2246
  }
2247
2247
  html :where([data-plex-layout="phone"]) [data-toolbar-row] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"][data-size="md"]:not([data-mobile-material="flat"], [data-mobile-size="small"]) {
2248
- --segmented-control-size: 40px;
2249
- --segmented-control-gutter: 3px;
2248
+ --segmented-control-size: 44px;
2249
+ --segmented-control-gutter: 4px;
2250
2250
  --segmented-control-option-gutter: 12px;
2251
2251
  }
2252
2252
  @media (prefers-reduced-motion: no-preference) {
@@ -703,8 +703,10 @@
703
703
  same layout on both): 300 wide as a popover, 22 above, 16 at the sides and below (22 below when no action
704
704
  shows), the title 17/22 semibold over the description 15/20 4 below it, 22 to the actions, the actions
705
705
  side by side 12 apart. Close is a 30 circle 19 from the top and the trailing edge, its glyph about 11pt
706
- drawn (a 20px X draws 11). A symbol is 34pt in a 44 by 54 frame 6 in from the padding and 12 from the
707
- text, in the description's color (a 40px icon draws about 34). The arrow of a popover and an annotation is the kit's 47 by 13 curve.
706
+ drawn (a 20px X draws 11). A symbol is as small as Apple's own tips draw it (owner 01.12: Mail's tip, a glyph of
707
+ 19 beside the 17 title, where the kit drew 34): a 24px icon (it draws about 19) in a frame 24 across and as tall
708
+ as the title's line, so it stands on the title's middle, 6 in from the padding and 12 from the text, in the
709
+ description's color. The arrow of a popover and an annotation is the kit's 47 by 13 curve.
708
710
  macOS rounds the tip 20 (iOS: 26, see the phone rules in Tip.module.css). An inline tip on macOS is
709
711
  black at 5% (alpha-05); a popover tip takes the PlexUI popover surface, and the kit's iOS popover shadow
710
712
  (0 10 30, black at 20%) drawn around the arrow too. */
@@ -721,9 +723,9 @@
721
723
  --tip-description-gap: 4px;
722
724
  --tip-description-color: var(--color-text-secondary);
723
725
  --tip-action-gap: 12px;
724
- --tip-icon-size: 40px;
725
- --tip-icon-frame-width: 44px;
726
- --tip-icon-frame-height: 54px;
726
+ --tip-icon-size: 24px;
727
+ --tip-icon-frame-width: 24px;
728
+ --tip-icon-frame-height: var(--tip-title-line-height);
727
729
  --tip-close-size: 30px;
728
730
  --tip-close-offset: 19px;
729
731
  --tip-close-icon-size: 20px;
@@ -1297,9 +1297,9 @@ export const tokenLayers = [
1297
1297
  "--tip-description-gap": "4px",
1298
1298
  "--tip-description-color": "var(--color-text-secondary)",
1299
1299
  "--tip-action-gap": "12px",
1300
- "--tip-icon-size": "40px",
1301
- "--tip-icon-frame-width": "44px",
1302
- "--tip-icon-frame-height": "54px",
1300
+ "--tip-icon-size": "24px",
1301
+ "--tip-icon-frame-width": "24px",
1302
+ "--tip-icon-frame-height": "var(--tip-title-line-height)",
1303
1303
  "--tip-close-size": "30px",
1304
1304
  "--tip-close-offset": "19px",
1305
1305
  "--tip-close-icon-size": "20px",
@@ -4060,9 +4060,9 @@ export const resolvedTokens = {
4060
4060
  "--tip-description-gap": 4,
4061
4061
  "--tip-description-line-height": 20,
4062
4062
  "--tip-gap": 22,
4063
- "--tip-icon-frame-height": 54,
4064
- "--tip-icon-frame-width": 44,
4065
- "--tip-icon-size": 40,
4063
+ "--tip-icon-frame-height": 22,
4064
+ "--tip-icon-frame-width": 24,
4065
+ "--tip-icon-size": 24,
4066
4066
  "--tip-mobile-background": "rgba(13, 13, 13, 0.05)",
4067
4067
  "--tip-mobile-rim-color": "rgba(13, 13, 13, 0.05)",
4068
4068
  "--tip-padding-bottom": 16,
@@ -5866,9 +5866,9 @@ export const resolvedTokens = {
5866
5866
  "--tip-description-gap": 4,
5867
5867
  "--tip-description-line-height": 20,
5868
5868
  "--tip-gap": 22,
5869
- "--tip-icon-frame-height": 54,
5870
- "--tip-icon-frame-width": 44,
5871
- "--tip-icon-size": 40,
5869
+ "--tip-icon-frame-height": 22,
5870
+ "--tip-icon-frame-width": 24,
5871
+ "--tip-icon-size": 24,
5872
5872
  "--tip-mobile-background": "rgba(255, 255, 255, 0.1)",
5873
5873
  "--tip-mobile-rim-color": "rgba(255, 255, 255, 0.05)",
5874
5874
  "--tip-padding-bottom": 16,