@scattered-light/loomiere-mojave 0.2.0 → 0.3.0
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/dist/exports/AGENTS.md +56 -1
- package/dist/exports/catalog.json +2 -0
- package/dist/exports/design-system/README.md +56 -1
- package/dist/exports/design-system/components/Button/README.md +1 -1
- package/dist/exports/design-system/components/IconButton/README.md +31 -0
- package/dist/exports/design-system/components/IconButton/preview.html +19 -0
- package/dist/exports/design-system/components/Popover/README.md +2 -2
- package/dist/exports/design-system/components/Popover/preview.html +1 -1
- package/dist/exports/design-system/components/bundle.css +120 -47
- package/dist/exports/design-system/components/bundle.js +5 -5
- package/dist/exports/design-system/components/index.d.ts +13 -2
- package/dist/exports/tokens.dtcg.json +3 -3
- package/dist/tokens.css +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.js +1 -1
- package/dist/tokens.json +5 -4
- package/package.json +2 -2
|
@@ -780,7 +780,6 @@
|
|
|
780
780
|
--sl-drawer-popup-max-size: 85vh; /** Tallest a bottom or top drawer gets, leaving the page visible above it. */
|
|
781
781
|
--sl-navigation-menu-popup-min-width: 400px; /** Narrowest a navigation panel gets on wider screens, and the widest a single column of links grows. */
|
|
782
782
|
--sl-navigation-menu-column-width: 12rem; /** Width of each column in a two-column link list. */
|
|
783
|
-
--sl-popover-popup-max-width: 400px; /** Keeps longer text to a readable line length. */
|
|
784
783
|
--sl-preview-card-popup-min-width: 300px; /** Narrowest a preview card gets, so a short title still has room for its image. */
|
|
785
784
|
--sl-preview-card-popup-max-width: 450px; /** Widest a preview card gets, so its description keeps a comfortable line length. */
|
|
786
785
|
--sl-slider-vertical-height: 200px; /** Default length of a vertical slider. */
|
|
@@ -1725,6 +1724,7 @@
|
|
|
1725
1724
|
--sl-avatar-size-xl: var(--sl-space-24); /** 96px, on a profile page. */
|
|
1726
1725
|
--sl-drawer-handle-width: var(--sl-space-10); /** Grab bar length. */
|
|
1727
1726
|
--sl-drawer-handle-height: var(--sl-space-1); /** Grab bar thickness. */
|
|
1727
|
+
--sl-popover-text-max-width: var(--sl-measure-narrow); /** Keeps the title and description to a readable line length. The popup itself has no fixed cap, so wider content such as a calendar or a form fits; it stops at the space Base UI reports beside the trigger. */
|
|
1728
1728
|
--sl-popover-popup-min-width: var(--sl-popup-min-width); /** Narrow enough for a short note, wide enough that a title doesn't wrap word by word. */
|
|
1729
1729
|
--sl-slider-thumb-size: var(--sl-space-5); /** Knob diameter, big enough to grab with a finger on a 4px track. */
|
|
1730
1730
|
--sl-switch-track-text-font-size: var(--sl-font-size-xs); /** Sized to the track, not a text style: the ON/OFF label has to fit inside the switch at each size. The rest of the label uses condense-subtitle-label. */
|
|
@@ -4347,7 +4347,7 @@
|
|
|
4347
4347
|
}
|
|
4348
4348
|
|
|
4349
4349
|
|
|
4350
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
4350
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
4351
4351
|
/* Loomiere for Base UI: component styles. Brand-free: every value is a --sl- variable from a
|
|
4352
4352
|
Loomiere theme. Load the theme first:
|
|
4353
4353
|
@import '<your theme>/tokens.css';
|
|
@@ -4357,7 +4357,7 @@
|
|
|
4357
4357
|
/* Document defaults, in the reset layer so any unlayered rule wins over them, and so layered
|
|
4358
4358
|
frameworks (Chakra's recipes, Tailwind's utilities) are not undone by them. */
|
|
4359
4359
|
@layer reset {
|
|
4360
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
4360
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
4361
4361
|
/* CSS Reset - Mojave Theme */
|
|
4362
4362
|
|
|
4363
4363
|
/* ============================================
|
|
@@ -4801,7 +4801,7 @@ hr {
|
|
|
4801
4801
|
}
|
|
4802
4802
|
}
|
|
4803
4803
|
@layer reset {
|
|
4804
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
4804
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
4805
4805
|
/* Accessibility — base rules (no theme color dependencies). Theme-specific focus/invalid: accessibility-theme.css */
|
|
4806
4806
|
|
|
4807
4807
|
/* Remove default focus; keyboard focus styled in accessibility-theme.css */
|
|
@@ -4914,7 +4914,7 @@ main:focus {
|
|
|
4914
4914
|
|
|
4915
4915
|
}
|
|
4916
4916
|
@layer reset {
|
|
4917
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
4917
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
4918
4918
|
/* Focus, invalid, contrast — requires theme tokens (after theme-accessibility.css). */
|
|
4919
4919
|
|
|
4920
4920
|
:focus-visible {
|
|
@@ -4982,7 +4982,7 @@ button,
|
|
|
4982
4982
|
|
|
4983
4983
|
}
|
|
4984
4984
|
/* Component styles */
|
|
4985
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
4985
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
4986
4986
|
/* Accordion - Mojave Theme
|
|
4987
4987
|
*
|
|
4988
4988
|
* No component tokens. Hover, press, chevron, divider and motion are the disclosure
|
|
@@ -5103,7 +5103,7 @@ button,
|
|
|
5103
5103
|
overflow: hidden;
|
|
5104
5104
|
}
|
|
5105
5105
|
|
|
5106
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
5106
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
5107
5107
|
/* Alert Dialog - Mojave Theme
|
|
5108
5108
|
*
|
|
5109
5109
|
* No component tokens and no rules of its own. An alert dialog looks exactly like a
|
|
@@ -5112,7 +5112,7 @@ button,
|
|
|
5112
5112
|
* cancel quiet, and a destructive one bold with data-color="error".
|
|
5113
5113
|
*/
|
|
5114
5114
|
|
|
5115
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
5115
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
5116
5116
|
/* Autocomplete - Mojave Theme
|
|
5117
5117
|
*
|
|
5118
5118
|
* No component tokens. The input is Input (Input.css), the clear button is an icon
|
|
@@ -5314,7 +5314,7 @@ button,
|
|
|
5314
5314
|
(reset-accessibility.css).
|
|
5315
5315
|
============================================ */
|
|
5316
5316
|
|
|
5317
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
5317
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
5318
5318
|
/* Avatar - Mojave Theme
|
|
5319
5319
|
*
|
|
5320
5320
|
* A round picture with a ring in the page color, so avatars in a group cut out of each other in
|
|
@@ -5449,7 +5449,7 @@ button,
|
|
|
5449
5449
|
}
|
|
5450
5450
|
}
|
|
5451
5451
|
|
|
5452
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
5452
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
5453
5453
|
/* Button - Mojave Theme
|
|
5454
5454
|
*
|
|
5455
5455
|
* Colors are the brand's emphasis levels, sizes are control.*, text is the trigger
|
|
@@ -5483,9 +5483,23 @@ button,
|
|
|
5483
5483
|
user-select: none;
|
|
5484
5484
|
}
|
|
5485
5485
|
|
|
5486
|
-
.Button svg
|
|
5486
|
+
.Button svg,
|
|
5487
|
+
.Button .material-symbols-outlined {
|
|
5487
5488
|
width: var(--sl-icon-size-magnify);
|
|
5488
5489
|
height: var(--sl-icon-size-magnify);
|
|
5490
|
+
font-size: var(--sl-icon-size-magnify);
|
|
5491
|
+
line-height: 1;
|
|
5492
|
+
}
|
|
5493
|
+
|
|
5494
|
+
/* Icon only: square, so the pill corners make a circle instead of a wide oval. The Button
|
|
5495
|
+
wrapper sets data-icon-only when its only child is an icon. A plain .Button (a Popover or
|
|
5496
|
+
Toolbar trigger) qualifies on its own with an aria-label and a single icon inside, since an
|
|
5497
|
+
icon-only button needs the label anyway; CSS can't see text, so the label is the signal. */
|
|
5498
|
+
.Button[data-icon-only],
|
|
5499
|
+
.Button[aria-label]:has(> svg:only-child),
|
|
5500
|
+
.Button[aria-label]:has(> .material-symbols-outlined:only-child) {
|
|
5501
|
+
aspect-ratio: 1;
|
|
5502
|
+
padding-inline: 0;
|
|
5489
5503
|
}
|
|
5490
5504
|
|
|
5491
5505
|
/* ============================================
|
|
@@ -5543,9 +5557,11 @@ button,
|
|
|
5543
5557
|
padding-inline: var(--sl-control-padding-inline-xs);
|
|
5544
5558
|
}
|
|
5545
5559
|
|
|
5546
|
-
.Button[data-size='xs'] svg
|
|
5560
|
+
.Button[data-size='xs'] svg,
|
|
5561
|
+
.Button[data-size='xs'] .material-symbols-outlined {
|
|
5547
5562
|
width: var(--sl-icon-size-condense);
|
|
5548
5563
|
height: var(--sl-icon-size-condense);
|
|
5564
|
+
font-size: var(--sl-icon-size-condense);
|
|
5549
5565
|
}
|
|
5550
5566
|
|
|
5551
5567
|
.Button[data-size='sm'] {
|
|
@@ -5559,9 +5575,11 @@ button,
|
|
|
5559
5575
|
padding-inline: var(--sl-control-padding-inline-sm);
|
|
5560
5576
|
}
|
|
5561
5577
|
|
|
5562
|
-
.Button[data-size='sm'] svg
|
|
5578
|
+
.Button[data-size='sm'] svg,
|
|
5579
|
+
.Button[data-size='sm'] .material-symbols-outlined {
|
|
5563
5580
|
width: var(--sl-icon-size-base);
|
|
5564
5581
|
height: var(--sl-icon-size-base);
|
|
5582
|
+
font-size: var(--sl-icon-size-base);
|
|
5565
5583
|
}
|
|
5566
5584
|
|
|
5567
5585
|
.Button[data-size='lg'] {
|
|
@@ -5574,12 +5592,14 @@ button,
|
|
|
5574
5592
|
padding-inline: var(--sl-control-padding-inline-lg);
|
|
5575
5593
|
}
|
|
5576
5594
|
|
|
5577
|
-
.Button[data-size='lg'] svg
|
|
5595
|
+
.Button[data-size='lg'] svg,
|
|
5596
|
+
.Button[data-size='lg'] .material-symbols-outlined {
|
|
5578
5597
|
width: var(--sl-icon-size-maximize);
|
|
5579
5598
|
height: var(--sl-icon-size-maximize);
|
|
5599
|
+
font-size: var(--sl-icon-size-maximize);
|
|
5580
5600
|
}
|
|
5581
5601
|
|
|
5582
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
5602
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
5583
5603
|
/* Checkbox - Mojave Theme
|
|
5584
5604
|
* Sizes follow the label: the box is the icon size one tier above the label's text
|
|
5585
5605
|
* tier (like a button's icon) and the check mark one tier below it.
|
|
@@ -5736,7 +5756,7 @@ button,
|
|
|
5736
5756
|
border-radius: var(--sl-radius-pill);
|
|
5737
5757
|
}
|
|
5738
5758
|
|
|
5739
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
5759
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
5740
5760
|
/* Checkbox Group - Mojave Theme */
|
|
5741
5761
|
|
|
5742
5762
|
/* Each checkbox row is already a full tap target tall, so the rows sit close. */
|
|
@@ -5752,7 +5772,7 @@ button,
|
|
|
5752
5772
|
pointer-events: none;
|
|
5753
5773
|
}
|
|
5754
5774
|
|
|
5755
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
5775
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
5756
5776
|
/* Collapsible - Mojave Theme
|
|
5757
5777
|
*
|
|
5758
5778
|
* No component tokens. Hover, press, chevron and motion are the disclosure concept
|
|
@@ -5868,7 +5888,7 @@ button,
|
|
|
5868
5888
|
background: var(--sl-surface-raised);
|
|
5869
5889
|
}
|
|
5870
5890
|
|
|
5871
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
5891
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
5872
5892
|
/* Combobox - Mojave Theme
|
|
5873
5893
|
*
|
|
5874
5894
|
* No component tokens. The input is Input (Input.css); the chips box is a field; the
|
|
@@ -6353,7 +6373,7 @@ button,
|
|
|
6353
6373
|
color: var(--sl-text-tertiary);
|
|
6354
6374
|
}
|
|
6355
6375
|
|
|
6356
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
6376
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
6357
6377
|
/* Context Menu - Mojave Theme
|
|
6358
6378
|
*
|
|
6359
6379
|
* No component tokens. Opens on right-click; the trigger area only sets the cursor. The popup is the popup concept, rows are item rows at the
|
|
@@ -6522,7 +6542,7 @@ button,
|
|
|
6522
6542
|
stroke-width: var(--sl-stroke-default);
|
|
6523
6543
|
}
|
|
6524
6544
|
|
|
6525
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
6545
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
6526
6546
|
/* Dialog and Alert dialog - Mojave Theme
|
|
6527
6547
|
*
|
|
6528
6548
|
* Both are centered modals built from the modal concept (tokens/semantic/modal.json):
|
|
@@ -6668,7 +6688,7 @@ button,
|
|
|
6668
6688
|
margin-top: var(--sl-modal-actions-spacing);
|
|
6669
6689
|
}
|
|
6670
6690
|
|
|
6671
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
6691
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
6672
6692
|
/* Drawer - a panel that slides in from an edge and can be swiped away.
|
|
6673
6693
|
The surface, scrim, heading and motion are the modal concept's (--sl-modal-*), so a
|
|
6674
6694
|
drawer reads as a dialog's sibling; only its size and grab bar are its own
|
|
@@ -6795,7 +6815,7 @@ button,
|
|
|
6795
6815
|
color: var(--sl-modal-description-color);
|
|
6796
6816
|
}
|
|
6797
6817
|
|
|
6798
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
6818
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
6799
6819
|
/* Field - Mojave Theme
|
|
6800
6820
|
*
|
|
6801
6821
|
* Label, control, description and error. No component tokens: spacing is the field
|
|
@@ -6856,7 +6876,57 @@ textarea.FieldControl {
|
|
|
6856
6876
|
height: auto;
|
|
6857
6877
|
}
|
|
6858
6878
|
|
|
6859
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
6879
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
6880
|
+
/* Icon Button - Mojave Theme
|
|
6881
|
+
*
|
|
6882
|
+
* A small, quiet icon-only button: the icon-button concept (tokens/semantic/icon-button.json),
|
|
6883
|
+
* the same look as the X that closes a dialog or toast, as a part of its own. For calendar
|
|
6884
|
+
* arrows, row actions and clear buttons, where a Button would be too loud. No component tokens.
|
|
6885
|
+
*/
|
|
6886
|
+
|
|
6887
|
+
.IconButton {
|
|
6888
|
+
display: flex;
|
|
6889
|
+
align-items: center;
|
|
6890
|
+
justify-content: center;
|
|
6891
|
+
flex-shrink: 0;
|
|
6892
|
+
width: var(--sl-icon-button-size);
|
|
6893
|
+
height: var(--sl-icon-button-size);
|
|
6894
|
+
padding: 0;
|
|
6895
|
+
border: none;
|
|
6896
|
+
border-radius: var(--sl-icon-button-radius);
|
|
6897
|
+
background: transparent;
|
|
6898
|
+
color: var(--sl-icon-button-color);
|
|
6899
|
+
cursor: pointer;
|
|
6900
|
+
outline: none;
|
|
6901
|
+
transition: var(--sl-icon-button-transition);
|
|
6902
|
+
}
|
|
6903
|
+
|
|
6904
|
+
.IconButton svg,
|
|
6905
|
+
.IconButton .material-symbols-outlined {
|
|
6906
|
+
width: var(--sl-icon-size-base);
|
|
6907
|
+
height: var(--sl-icon-size-base);
|
|
6908
|
+
font-size: var(--sl-icon-size-base);
|
|
6909
|
+
line-height: 1;
|
|
6910
|
+
}
|
|
6911
|
+
|
|
6912
|
+
.IconButton:hover:not(:disabled):not([aria-disabled='true']) {
|
|
6913
|
+
background: var(--sl-icon-button-background-hover);
|
|
6914
|
+
color: var(--sl-icon-button-color-hover);
|
|
6915
|
+
}
|
|
6916
|
+
|
|
6917
|
+
.IconButton:focus-visible {
|
|
6918
|
+
outline: var(--sl-focus-outline);
|
|
6919
|
+
outline-offset: var(--sl-focus-outline-offset);
|
|
6920
|
+
box-shadow: 0 0 0 var(--sl-focus-halo-spread) var(--sl-focus-halo-color);
|
|
6921
|
+
}
|
|
6922
|
+
|
|
6923
|
+
.IconButton:disabled,
|
|
6924
|
+
.IconButton[aria-disabled='true'] {
|
|
6925
|
+
color: var(--sl-text-disabled);
|
|
6926
|
+
cursor: not-allowed;
|
|
6927
|
+
}
|
|
6928
|
+
|
|
6929
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
6860
6930
|
/* Fieldset - Mojave Theme
|
|
6861
6931
|
*
|
|
6862
6932
|
* No component tokens: a titled group of fields, spaced by the stack gaps, with
|
|
@@ -6898,7 +6968,7 @@ textarea.FieldControl {
|
|
|
6898
6968
|
color: var(--sl-text-secondary);
|
|
6899
6969
|
}
|
|
6900
6970
|
|
|
6901
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
6971
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
6902
6972
|
/* Form - Mojave Theme
|
|
6903
6973
|
*
|
|
6904
6974
|
* No component tokens: fields stack with the large block space, and the action
|
|
@@ -6918,7 +6988,7 @@ textarea.FieldControl {
|
|
|
6918
6988
|
margin-top: var(--sl-space-block-md);
|
|
6919
6989
|
}
|
|
6920
6990
|
|
|
6921
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
6991
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
6922
6992
|
/* Input - Mojave Theme
|
|
6923
6993
|
*
|
|
6924
6994
|
* No component tokens: the look is the field concept (tokens/semantic/field.json),
|
|
@@ -7055,7 +7125,7 @@ textarea.FieldControl {
|
|
|
7055
7125
|
padding-inline: var(--sl-control-padding-inline-lg);
|
|
7056
7126
|
}
|
|
7057
7127
|
|
|
7058
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7128
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
7059
7129
|
/* Menu - Mojave Theme
|
|
7060
7130
|
*
|
|
7061
7131
|
* No component tokens. The trigger is a Button. The popup is the popup concept, rows are item rows at the
|
|
@@ -7204,7 +7274,7 @@ textarea.FieldControl {
|
|
|
7204
7274
|
color: var(--sl-text-tertiary);
|
|
7205
7275
|
}
|
|
7206
7276
|
|
|
7207
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7277
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
7208
7278
|
/* Menubar - Mojave Theme
|
|
7209
7279
|
*
|
|
7210
7280
|
* No component tokens. A row of quiet triggers, each opening a menu. The popup is the popup concept, rows are item rows at the
|
|
@@ -7397,7 +7467,7 @@ textarea.FieldControl {
|
|
|
7397
7467
|
color: var(--sl-text-tertiary);
|
|
7398
7468
|
}
|
|
7399
7469
|
|
|
7400
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7470
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
7401
7471
|
/* Meter - Mojave Theme
|
|
7402
7472
|
*
|
|
7403
7473
|
* A gauge (tokens/semantic/gauge.json). The fill is the solid color of the scope around it:
|
|
@@ -7457,7 +7527,7 @@ textarea.FieldControl {
|
|
|
7457
7527
|
height: var(--sl-gauge-height-lg);
|
|
7458
7528
|
}
|
|
7459
7529
|
|
|
7460
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7530
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
7461
7531
|
/* Navigation Menu - Mojave Theme
|
|
7462
7532
|
*
|
|
7463
7533
|
* The strip is the bar concept, the panel is the popup concept and each link is an item
|
|
@@ -7877,7 +7947,7 @@ textarea.FieldControl {
|
|
|
7877
7947
|
width: 100%;
|
|
7878
7948
|
}
|
|
7879
7949
|
|
|
7880
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7950
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
7881
7951
|
/* Number Field - Mojave Theme
|
|
7882
7952
|
*
|
|
7883
7953
|
* No component tokens. The input is Input (Input.css) and the label, description and
|
|
@@ -7968,7 +8038,7 @@ textarea.FieldControl {
|
|
|
7968
8038
|
user-select: none;
|
|
7969
8039
|
}
|
|
7970
8040
|
|
|
7971
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8041
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
7972
8042
|
/* OTP Field - Mojave Theme
|
|
7973
8043
|
*
|
|
7974
8044
|
* One-time code entry: a row of single-character inputs. Each slot is the same control as Input
|
|
@@ -8031,7 +8101,7 @@ textarea.FieldControl {
|
|
|
8031
8101
|
letter-spacing: var(--sl-font-magnify-letter-spacing);
|
|
8032
8102
|
}
|
|
8033
8103
|
|
|
8034
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8104
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
8035
8105
|
/* Popover - Mojave Theme */
|
|
8036
8106
|
|
|
8037
8107
|
/* ============================================
|
|
@@ -8081,7 +8151,8 @@ textarea.FieldControl {
|
|
|
8081
8151
|
transform var(--sl-popup-animation-duration) var(--sl-popup-animation-easing);
|
|
8082
8152
|
position: relative;
|
|
8083
8153
|
min-width: var(--sl-popover-popup-min-width);
|
|
8084
|
-
|
|
8154
|
+
/* No fixed cap: wide content (a calendar, a form) fits; Base UI reports the room beside the trigger. */
|
|
8155
|
+
max-width: var(--available-width, 100vw);
|
|
8085
8156
|
padding: var(--sl-popup-padding-panel);
|
|
8086
8157
|
}
|
|
8087
8158
|
|
|
@@ -8103,6 +8174,7 @@ textarea.FieldControl {
|
|
|
8103
8174
|
letter-spacing: var(--sl-font-maximize-lg-letter-spacing);
|
|
8104
8175
|
color: var(--sl-text-primary);
|
|
8105
8176
|
margin: 0 0 var(--sl-space-block-xs) 0;
|
|
8177
|
+
max-width: var(--sl-popover-text-max-width);
|
|
8106
8178
|
}
|
|
8107
8179
|
|
|
8108
8180
|
/* ============================================
|
|
@@ -8117,6 +8189,7 @@ textarea.FieldControl {
|
|
|
8117
8189
|
letter-spacing: var(--sl-font-base-letter-spacing);
|
|
8118
8190
|
color: var(--sl-text-secondary);
|
|
8119
8191
|
margin: 0;
|
|
8192
|
+
max-width: var(--sl-popover-text-max-width);
|
|
8120
8193
|
}
|
|
8121
8194
|
|
|
8122
8195
|
/* ============================================
|
|
@@ -8193,7 +8266,7 @@ textarea.FieldControl {
|
|
|
8193
8266
|
fill: var(--sl-popup-arrow-stroke);
|
|
8194
8267
|
}
|
|
8195
8268
|
|
|
8196
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8269
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
8197
8270
|
/* Preview Card - Mojave Theme
|
|
8198
8271
|
*
|
|
8199
8272
|
* The popup concept (surface, arrow, motion) with a maximize-lg title and condense
|
|
@@ -8310,7 +8383,7 @@ textarea.FieldControl {
|
|
|
8310
8383
|
fill: var(--sl-popup-arrow-stroke);
|
|
8311
8384
|
}
|
|
8312
8385
|
|
|
8313
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8386
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
8314
8387
|
/* Progress - Mojave Theme
|
|
8315
8388
|
*
|
|
8316
8389
|
* A gauge (tokens/semantic/gauge.json), the same bar as Meter. The fill is the solid color of
|
|
@@ -8387,7 +8460,7 @@ textarea.FieldControl {
|
|
|
8387
8460
|
height: var(--sl-gauge-height-lg);
|
|
8388
8461
|
}
|
|
8389
8462
|
|
|
8390
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8463
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
8391
8464
|
/* Radio - Mojave Theme
|
|
8392
8465
|
* Same box as Checkbox, always round. Sizes follow the label the same way, and the
|
|
8393
8466
|
* dot is a share of the circle (check.dot-scale).
|
|
@@ -8539,7 +8612,7 @@ textarea.FieldControl {
|
|
|
8539
8612
|
gap: var(--sl-gap-stack-sm);
|
|
8540
8613
|
}
|
|
8541
8614
|
|
|
8542
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8615
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
8543
8616
|
/* Scroll Area - Mojave Theme
|
|
8544
8617
|
*
|
|
8545
8618
|
* The scrollbar is the content scrollbar (content.scrollbar-*): a track that stays clear until
|
|
@@ -8621,7 +8694,7 @@ textarea.FieldControl {
|
|
|
8621
8694
|
background: transparent;
|
|
8622
8695
|
}
|
|
8623
8696
|
|
|
8624
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8697
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
8625
8698
|
/* Select - Mojave Theme
|
|
8626
8699
|
*
|
|
8627
8700
|
* The trigger is a field (the field pattern, control sizes, the base text style); the
|
|
@@ -8895,7 +8968,7 @@ textarea.FieldControl {
|
|
|
8895
8968
|
stroke-width: var(--sl-stroke-default);
|
|
8896
8969
|
}
|
|
8897
8970
|
|
|
8898
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8971
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
8899
8972
|
/* Separator - Mojave Theme
|
|
8900
8973
|
*
|
|
8901
8974
|
* A hairline in the everyday divider color (border.default), one stroke thick, with a step of
|
|
@@ -8923,7 +8996,7 @@ textarea.FieldControl {
|
|
|
8923
8996
|
margin-inline: var(--sl-space-4);
|
|
8924
8997
|
}
|
|
8925
8998
|
|
|
8926
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8999
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
8927
9000
|
/* Slider - Mojave Theme
|
|
8928
9001
|
*
|
|
8929
9002
|
* A slider is a gauge you can drag: the track, fill and label row are gauge.* (the same bar as
|
|
@@ -9089,7 +9162,7 @@ textarea.FieldControl {
|
|
|
9089
9162
|
transform: translate(-50%, 50%);
|
|
9090
9163
|
}
|
|
9091
9164
|
|
|
9092
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9165
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
9093
9166
|
/* Switch - Mojave Theme
|
|
9094
9167
|
* Switch keeps its track sizes. The thumb, its travel and the ON/OFF text are
|
|
9095
9168
|
* worked out from them: the thumb fills the track's height inside the padding,
|
|
@@ -9255,7 +9328,7 @@ textarea.FieldControl {
|
|
|
9255
9328
|
color: var(--sl-text-disabled);
|
|
9256
9329
|
}
|
|
9257
9330
|
|
|
9258
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9331
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
9259
9332
|
/* Tabs - Mojave Theme
|
|
9260
9333
|
*
|
|
9261
9334
|
* No component tokens. The divider, the selected line and color, hover and the disabled
|
|
@@ -9391,7 +9464,7 @@ textarea.FieldControl {
|
|
|
9391
9464
|
padding: var(--sl-space-6);
|
|
9392
9465
|
}
|
|
9393
9466
|
|
|
9394
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9467
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
9395
9468
|
/* Toast - Mojave Theme
|
|
9396
9469
|
*
|
|
9397
9470
|
* A toast is a notice (tokens/semantic/notice.json) on the popup surface. A toast whose type
|
|
@@ -9627,7 +9700,7 @@ textarea.FieldControl {
|
|
|
9627
9700
|
flex-shrink: 0;
|
|
9628
9701
|
}
|
|
9629
9702
|
|
|
9630
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9703
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
9631
9704
|
/* Toggle - Mojave Theme
|
|
9632
9705
|
* A toggle is a button that stays pressed: the same heights, padding, gap and
|
|
9633
9706
|
* trigger text style as a button of the same size.
|
|
@@ -9737,7 +9810,7 @@ textarea.FieldControl {
|
|
|
9737
9810
|
height: var(--sl-icon-size-maximize);
|
|
9738
9811
|
}
|
|
9739
9812
|
|
|
9740
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9813
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
9741
9814
|
/* Toggle Group - Mojave Theme
|
|
9742
9815
|
*
|
|
9743
9816
|
* No component tokens. The strip is the bar concept (tokens/semantic/bar.json); the
|
|
@@ -9758,7 +9831,7 @@ textarea.FieldControl {
|
|
|
9758
9831
|
border-radius: var(--sl-radius-item);
|
|
9759
9832
|
}
|
|
9760
9833
|
|
|
9761
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9834
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
9762
9835
|
/* Toolbar - Mojave Theme
|
|
9763
9836
|
*
|
|
9764
9837
|
* The strip is the bar concept (tokens/semantic/bar.json). Buttons, toggles, selects
|
|
@@ -9820,7 +9893,7 @@ textarea.FieldControl {
|
|
|
9820
9893
|
max-width: var(--sl-toolbar-input-max-width);
|
|
9821
9894
|
}
|
|
9822
9895
|
|
|
9823
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9896
|
+
/* @scattered-light/loomiere-base-ui 0.3.0 · styles for @base-ui/react 1.9.0 */
|
|
9824
9897
|
/* Tooltip - Mojave Theme
|
|
9825
9898
|
*
|
|
9826
9899
|
* The inverse surface (surface.inverse, text.on-inverse-surface) with condense text, so a tooltip
|