@scattered-light/loomiere-mojave 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1852,6 +1852,7 @@
1852
1852
  --sl-collection-list-row-padding-block: var(--sl-space-3); /** Vertical padding of a list row. The row is not a fixed height, because a second line and an extra slot have to fit. */
1853
1853
  --sl-collection-list-row-gap: var(--sl-space-2); /** Between the checkbox, the text, the amount and the actions in a list row. */
1854
1854
  --sl-collection-toolbar-gap: var(--sl-space-2); /** Between the search, the filters and the actions. */
1855
+ --sl-collection-search-min-width: var(--sl-space-60); /** The narrowest the toolbar search gets beside the filters and actions. Under it, the search wraps to its own line, so a few words of a query still show. */
1855
1856
  --sl-collection-narrow-width: var(--sl-space-96); /** Below this, a table with narrow="list" becomes a list, and the toolbar's search takes the full width. A 360px pane is under it. */
1856
1857
  --sl-collection-editable-list-stack-width: var(--sl-space-80); /** Below this, editable rows stack and show their own labels. 320px matches. */
1857
1858
  --sl-collection-selection-column-width: var(--sl-space-10); /** The checkbox column. Wide enough for the control, no wider, so the data keeps the room. */
@@ -6413,7 +6414,7 @@
6413
6414
  }
6414
6415
 
6415
6416
 
6416
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
6417
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
6417
6418
  /* Loomiere for Base UI: component styles. Brand-free: every value is a --sl- variable from a
6418
6419
  Loomiere theme. Load the theme first:
6419
6420
  @import '<your theme>/tokens.css';
@@ -6423,7 +6424,7 @@
6423
6424
  /* Document defaults, in the reset layer so any unlayered rule wins over them, and so layered
6424
6425
  frameworks (Chakra's recipes, Tailwind's utilities) are not undone by them. */
6425
6426
  @layer reset {
6426
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
6427
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
6427
6428
  /* CSS Reset - Mojave Theme */
6428
6429
 
6429
6430
  /* ============================================
@@ -6867,7 +6868,7 @@ hr {
6867
6868
  }
6868
6869
  }
6869
6870
  @layer reset {
6870
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
6871
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
6871
6872
  /* Accessibility — base rules (no theme color dependencies). Theme-specific focus/invalid: accessibility-theme.css */
6872
6873
 
6873
6874
  /* Remove default focus; keyboard focus styled in accessibility-theme.css */
@@ -6980,7 +6981,7 @@ main:focus {
6980
6981
 
6981
6982
  }
6982
6983
  @layer reset {
6983
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
6984
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
6984
6985
  /* Focus, invalid, contrast — requires theme tokens (after theme-accessibility.css). */
6985
6986
 
6986
6987
  :focus-visible {
@@ -7048,7 +7049,7 @@ button,
7048
7049
 
7049
7050
  }
7050
7051
  /* Component styles */
7051
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
7052
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
7052
7053
  /* Accordion - Mojave Theme
7053
7054
  *
7054
7055
  * No component tokens. Hover, press, chevron, divider and motion are the disclosure
@@ -7169,7 +7170,7 @@ button,
7169
7170
  overflow: hidden;
7170
7171
  }
7171
7172
 
7172
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
7173
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
7173
7174
  /* Alert Dialog - Mojave Theme
7174
7175
  *
7175
7176
  * No component tokens and no rules of its own. An alert dialog looks exactly like a
@@ -7178,7 +7179,7 @@ button,
7178
7179
  * cancel quiet, and a destructive one bold with data-color="error".
7179
7180
  */
7180
7181
 
7181
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
7182
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
7182
7183
  /* Autocomplete - Mojave Theme
7183
7184
  *
7184
7185
  * No component tokens. The input is Input (Input.css), the clear button is an icon
@@ -7380,7 +7381,7 @@ button,
7380
7381
  (reset-accessibility.css).
7381
7382
  ============================================ */
7382
7383
 
7383
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
7384
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
7384
7385
  /* Avatar - Mojave Theme
7385
7386
  *
7386
7387
  * A round picture with a ring in the page color, so avatars in a group cut out of each other in
@@ -7488,7 +7489,7 @@ button,
7488
7489
  }
7489
7490
  }
7490
7491
 
7491
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
7492
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
7492
7493
  /* Button - Mojave Theme
7493
7494
  *
7494
7495
  * Colors are the brand's emphasis levels, sizes are control.*, text is the trigger
@@ -7638,7 +7639,7 @@ button,
7638
7639
  font-size: var(--sl-icon-size-maximize);
7639
7640
  }
7640
7641
 
7641
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
7642
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
7642
7643
  /* Checkbox - Mojave Theme
7643
7644
  * Sizes follow the label: the box is the icon size one tier above the label's text
7644
7645
  * tier (like a button's icon) and the check mark one tier below it.
@@ -7795,7 +7796,7 @@ button,
7795
7796
  border-radius: var(--sl-radius-pill);
7796
7797
  }
7797
7798
 
7798
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
7799
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
7799
7800
  /* Checkbox Group - Mojave Theme */
7800
7801
 
7801
7802
  /* Each checkbox row is already a full tap target tall, so the rows sit close. */
@@ -7811,7 +7812,7 @@ button,
7811
7812
  pointer-events: none;
7812
7813
  }
7813
7814
 
7814
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
7815
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
7815
7816
  /* Collapsible - Mojave Theme
7816
7817
  *
7817
7818
  * No component tokens. Hover, press, chevron and motion are the disclosure concept
@@ -7927,7 +7928,7 @@ button,
7927
7928
  background: var(--sl-surface-raised);
7928
7929
  }
7929
7930
 
7930
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
7931
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
7931
7932
  /* Combobox - Mojave Theme
7932
7933
  *
7933
7934
  * No component tokens. The input is Input (Input.css); the chips box is a field; the
@@ -8412,7 +8413,7 @@ button,
8412
8413
  color: var(--sl-text-tertiary);
8413
8414
  }
8414
8415
 
8415
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
8416
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
8416
8417
  /* Context Menu - Mojave Theme
8417
8418
  *
8418
8419
  * 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
@@ -8581,7 +8582,7 @@ button,
8581
8582
  stroke-width: var(--sl-stroke-default);
8582
8583
  }
8583
8584
 
8584
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
8585
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
8585
8586
  /* Dialog and Alert dialog - Mojave Theme
8586
8587
  *
8587
8588
  * Both are centered modals built from the modal concept (tokens/semantic/modal.json):
@@ -8727,7 +8728,7 @@ button,
8727
8728
  margin-top: var(--sl-modal-actions-spacing);
8728
8729
  }
8729
8730
 
8730
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
8731
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
8731
8732
  /* Drawer - a panel that slides in from an edge and can be swiped away.
8732
8733
  The surface, scrim, heading and motion are the modal concept's (--sl-modal-*), so a
8733
8734
  drawer reads as a dialog's sibling; only its size and grab bar are its own
@@ -8854,7 +8855,7 @@ button,
8854
8855
  color: var(--sl-modal-description-color);
8855
8856
  }
8856
8857
 
8857
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
8858
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
8858
8859
  /* Field - Mojave Theme
8859
8860
  *
8860
8861
  * Label, control, description and error. No component tokens: spacing is the field
@@ -8915,7 +8916,7 @@ textarea.FieldControl {
8915
8916
  height: auto;
8916
8917
  }
8917
8918
 
8918
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
8919
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
8919
8920
  /* Fieldset - Mojave Theme
8920
8921
  *
8921
8922
  * No component tokens: a titled group of fields, spaced by the stack gaps, with
@@ -8957,7 +8958,7 @@ textarea.FieldControl {
8957
8958
  color: var(--sl-text-secondary);
8958
8959
  }
8959
8960
 
8960
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
8961
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
8961
8962
  /* Form - Mojave Theme
8962
8963
  *
8963
8964
  * No component tokens: fields stack with the large block space, and the action
@@ -8977,7 +8978,7 @@ textarea.FieldControl {
8977
8978
  margin-top: var(--sl-space-block-md);
8978
8979
  }
8979
8980
 
8980
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
8981
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
8981
8982
  /* Input - Mojave Theme
8982
8983
  *
8983
8984
  * No component tokens: the look is the field concept (tokens/semantic/field.json),
@@ -9114,7 +9115,7 @@ textarea.FieldControl {
9114
9115
  padding-inline: var(--sl-control-padding-inline-lg);
9115
9116
  }
9116
9117
 
9117
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
9118
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
9118
9119
  /* Menu - Mojave Theme
9119
9120
  *
9120
9121
  * No component tokens. The trigger is a Button. The popup is the popup concept, rows are item rows at the
@@ -9263,7 +9264,7 @@ textarea.FieldControl {
9263
9264
  color: var(--sl-text-tertiary);
9264
9265
  }
9265
9266
 
9266
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
9267
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
9267
9268
  /* Menubar - Mojave Theme
9268
9269
  *
9269
9270
  * No component tokens. A row of quiet triggers, each opening a menu. The popup is the popup concept, rows are item rows at the
@@ -9456,7 +9457,7 @@ textarea.FieldControl {
9456
9457
  color: var(--sl-text-tertiary);
9457
9458
  }
9458
9459
 
9459
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
9460
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
9460
9461
  /* Meter - Mojave Theme
9461
9462
  *
9462
9463
  * A gauge (tokens/semantic/gauge.json). The fill is the solid color of the scope around it:
@@ -9519,7 +9520,7 @@ textarea.FieldControl {
9519
9520
  height: var(--sl-gauge-height-lg);
9520
9521
  }
9521
9522
 
9522
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
9523
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
9523
9524
  /* Navigation Menu - Mojave Theme
9524
9525
  *
9525
9526
  * The strip is the bar concept, the panel is the popup concept and each link is an item
@@ -9939,7 +9940,7 @@ textarea.FieldControl {
9939
9940
  width: 100%;
9940
9941
  }
9941
9942
 
9942
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
9943
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
9943
9944
  /* Number Field - Mojave Theme
9944
9945
  *
9945
9946
  * No component tokens. The input is Input (Input.css) and the label, description and
@@ -10030,7 +10031,7 @@ textarea.FieldControl {
10030
10031
  user-select: none;
10031
10032
  }
10032
10033
 
10033
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
10034
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
10034
10035
  /* OTP Field - Mojave Theme
10035
10036
  *
10036
10037
  * One-time code entry: a row of single-character inputs. Each slot is the same control as Input
@@ -10093,7 +10094,7 @@ textarea.FieldControl {
10093
10094
  letter-spacing: var(--sl-font-body-magnify-letter-spacing);
10094
10095
  }
10095
10096
 
10096
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
10097
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
10097
10098
  /* Popover - Mojave Theme */
10098
10099
 
10099
10100
  /* ============================================
@@ -10258,7 +10259,7 @@ textarea.FieldControl {
10258
10259
  fill: var(--sl-popup-arrow-stroke);
10259
10260
  }
10260
10261
 
10261
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
10262
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
10262
10263
  /* Preview Card - Mojave Theme
10263
10264
  *
10264
10265
  * The popup concept (surface, arrow, motion) with a title-magnify title and condense
@@ -10375,7 +10376,7 @@ textarea.FieldControl {
10375
10376
  fill: var(--sl-popup-arrow-stroke);
10376
10377
  }
10377
10378
 
10378
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
10379
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
10379
10380
  /* Progress - Mojave Theme
10380
10381
  *
10381
10382
  * A gauge (tokens/semantic/gauge.json), the same bar as Meter. The fill is the solid color of
@@ -10452,7 +10453,7 @@ textarea.FieldControl {
10452
10453
  height: var(--sl-gauge-height-lg);
10453
10454
  }
10454
10455
 
10455
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
10456
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
10456
10457
  /* Radio - Mojave Theme
10457
10458
  * Same box as Checkbox, always round. Sizes follow the label the same way, and the
10458
10459
  * dot is a share of the circle (check.dot-scale).
@@ -10604,7 +10605,7 @@ textarea.FieldControl {
10604
10605
  gap: var(--sl-gap-stack-sm);
10605
10606
  }
10606
10607
 
10607
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
10608
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
10608
10609
  /* Scroll Area - Mojave Theme
10609
10610
  *
10610
10611
  * The scrollbar is the content scrollbar (content.scrollbar-*): a track that stays clear until
@@ -10686,7 +10687,7 @@ textarea.FieldControl {
10686
10687
  background: transparent;
10687
10688
  }
10688
10689
 
10689
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
10690
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
10690
10691
  /* Select - Mojave Theme
10691
10692
  *
10692
10693
  * The trigger is a field (the field pattern, control sizes, the base text style); the
@@ -10971,7 +10972,7 @@ textarea.FieldControl {
10971
10972
  stroke-width: var(--sl-stroke-default);
10972
10973
  }
10973
10974
 
10974
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
10975
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
10975
10976
  /* Separator - Mojave Theme
10976
10977
  *
10977
10978
  * A hairline in the everyday divider color (border.default), one stroke thick, with a step of
@@ -10999,7 +11000,7 @@ textarea.FieldControl {
10999
11000
  margin-inline: var(--sl-space-4);
11000
11001
  }
11001
11002
 
11002
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
11003
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
11003
11004
  /* Slider - Mojave Theme
11004
11005
  *
11005
11006
  * A slider is a gauge you can drag: the track, fill and label row are gauge.* (the same bar as
@@ -11165,7 +11166,7 @@ textarea.FieldControl {
11165
11166
  transform: translate(-50%, 50%);
11166
11167
  }
11167
11168
 
11168
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
11169
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
11169
11170
  /* Switch - Mojave Theme
11170
11171
  * Switch keeps its track sizes. The thumb, its travel and the ON/OFF text are
11171
11172
  * worked out from them: the thumb fills the track's height inside the padding,
@@ -11331,7 +11332,7 @@ textarea.FieldControl {
11331
11332
  color: var(--sl-text-disabled);
11332
11333
  }
11333
11334
 
11334
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
11335
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
11335
11336
  /* Tabs - Mojave Theme
11336
11337
  *
11337
11338
  * No component tokens. The divider, the selected line and color, hover and the disabled
@@ -11467,7 +11468,7 @@ textarea.FieldControl {
11467
11468
  padding: var(--sl-space-6);
11468
11469
  }
11469
11470
 
11470
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
11471
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
11471
11472
  /* Toast - Mojave Theme
11472
11473
  *
11473
11474
  * A toast is a notice (tokens/semantic/notice.json) on the popup surface. A toast whose type
@@ -11703,7 +11704,7 @@ textarea.FieldControl {
11703
11704
  flex-shrink: 0;
11704
11705
  }
11705
11706
 
11706
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
11707
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
11707
11708
  /* Toggle - Mojave Theme
11708
11709
  * A toggle is a button that stays pressed: the same heights, padding, gap and
11709
11710
  * trigger text style as a button of the same size. Pressed, it takes its emphasis level's
@@ -11815,7 +11816,7 @@ textarea.FieldControl {
11815
11816
  height: var(--sl-icon-size-maximize);
11816
11817
  }
11817
11818
 
11818
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
11819
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
11819
11820
  /* Toggle Group - Mojave Theme
11820
11821
  *
11821
11822
  * No component tokens. The strip is the bar concept (tokens/semantic/bar.json); the
@@ -11836,7 +11837,7 @@ textarea.FieldControl {
11836
11837
  border-radius: var(--sl-radius-item);
11837
11838
  }
11838
11839
 
11839
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
11840
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
11840
11841
  /* Toolbar - Mojave Theme
11841
11842
  *
11842
11843
  * The strip is the bar concept (tokens/semantic/bar.json). Buttons, toggles, selects
@@ -11898,7 +11899,7 @@ textarea.FieldControl {
11898
11899
  max-width: var(--sl-toolbar-input-max-width);
11899
11900
  }
11900
11901
 
11901
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
11902
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
11902
11903
  /* Tooltip - Mojave Theme
11903
11904
  *
11904
11905
  * The inverse surface (surface.inverse, text.on-inverse-surface) with condense text, so a tooltip
@@ -11959,7 +11960,7 @@ textarea.FieldControl {
11959
11960
  }
11960
11961
 
11961
11962
  /* Custom components: not Base UI parts. Built from existing concepts and tokens. */
11962
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
11963
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
11963
11964
  /* Badge
11964
11965
  *
11965
11966
  * A status or count label. Not a Base UI part, and not interactive: no hover or focus.
@@ -12064,7 +12065,7 @@ textarea.FieldControl {
12064
12065
  height: var(--sl-badge-dot-base);
12065
12066
  }
12066
12067
 
12067
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
12068
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
12068
12069
  /*
12069
12070
  * DatePicker: a field that opens a calendar for one date or a period.
12070
12071
  * Not a Base UI part. The popup is Popover on a wide viewport and Drawer
@@ -12637,7 +12638,7 @@ textarea.FieldControl {
12637
12638
  flex-basis: 100%;
12638
12639
  }
12639
12640
 
12640
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
12641
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
12641
12642
  /* Money field
12642
12643
  *
12643
12644
  * An amount of money, built on Number field. The value is an integer in minor units
@@ -12982,7 +12983,7 @@ textarea.FieldControl {
12982
12983
  letter-spacing: var(--sl-font-body-base-letter-spacing);
12983
12984
  }
12984
12985
 
12985
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
12986
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
12986
12987
  /* ListDetail
12987
12988
  *
12988
12989
  * The detail of one item, next to its list. Not a Base UI part. It is a Splitter
@@ -13109,7 +13110,7 @@ textarea.FieldControl {
13109
13110
  background: transparent;
13110
13111
  }
13111
13112
 
13112
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
13113
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
13113
13114
  /* Splitter
13114
13115
  *
13115
13116
  * Two or more panels and a handle between them. Not a Base UI part. It follows the
@@ -13317,7 +13318,7 @@ textarea.FieldControl {
13317
13318
  background: var(--sl-border-default);
13318
13319
  }
13319
13320
 
13320
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
13321
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
13321
13322
  /* EmptyState
13322
13323
  *
13323
13324
  * The block a page, pane, table, list or popup shows when it has nothing to show.
@@ -13573,7 +13574,7 @@ textarea.FieldControl {
13573
13574
  color: inherit;
13574
13575
  }
13575
13576
 
13576
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
13577
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
13577
13578
  /* Table - Mojave Theme
13578
13579
  *
13579
13580
  * Base UI has no table, so this styles the native <table class="Table"> elements with the
@@ -13745,23 +13746,28 @@ textarea.FieldControl {
13745
13746
  color: inherit;
13746
13747
  }
13747
13748
 
13748
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
13749
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
13749
13750
  /* Collection
13750
13751
  *
13751
13752
  * DataTable, DataList, the toolbar and the pagination, in one place so the two views
13752
13753
  * share the table concept. Sections: toolbar, table additions, groups, list, pagination, sizes.
13753
13754
  * Each section is its own file so the design system can name the part. This file brings them in.
13754
13755
  *
13755
- * The selection bar replaces the trailing controls (filters, sort, clear, actions) and leaves
13756
+ * The selection bar replaces the trailing controls (filters, sort, actions) and leaves
13756
13757
  * the tabs and the search where they are, so selecting rows does not grow the toolbar.
13757
13758
  */
13758
13759
 
13759
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
13760
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
13760
13761
  /* Collection toolbar
13761
13762
  *
13762
13763
  * The wrap follows the toolbar's own width, not the window: a table in a narrow pane wraps
13763
- * even when the page is wide. Search takes the full width first. Filters wrap under it.
13764
+ * even when the page is wide. Search grows to fill the row beside the trailing controls, and
13765
+ * wraps to its own line before it shrinks under collection.search-min-width. Under the narrow
13766
+ * width it takes the full row and filters wrap under it.
13764
13767
  * A container query cannot read the width token, so the component also sets data-narrow.
13768
+ *
13769
+ * The search icon and the clear button sit inside the field. The browser's own search cancel
13770
+ * is hidden by the reset, so the clear button is the only one, in every browser.
13765
13771
  */
13766
13772
 
13767
13773
  .CollectionToolbar {
@@ -13773,7 +13779,6 @@ textarea.FieldControl {
13773
13779
  }
13774
13780
 
13775
13781
  .CollectionToolbarMain,
13776
- .CollectionToolbarTrailing,
13777
13782
  .CollectionSelectionBar,
13778
13783
  .CollectionSort {
13779
13784
  display: flex;
@@ -13786,11 +13791,90 @@ textarea.FieldControl {
13786
13791
  display: flex;
13787
13792
  align-items: center;
13788
13793
  gap: var(--sl-collection-toolbar-gap);
13794
+ flex: 1 1 0;
13795
+ min-width: min(100%, var(--sl-collection-search-min-width));
13796
+ }
13797
+
13798
+ .CollectionSearchField {
13799
+ position: relative;
13800
+ flex: 1 1 auto;
13789
13801
  min-width: 0;
13790
13802
  }
13791
13803
 
13792
- .CollectionSearch .Input {
13804
+ /* Scoped to the field so it wins over Input.css, which loads later. */
13805
+ .CollectionSearchField .Input {
13793
13806
  min-width: 0;
13807
+ padding-inline-start: calc(var(--sl-control-padding-inline) + var(--sl-icon-size-magnify) + var(--sl-space-2));
13808
+ }
13809
+
13810
+ .CollectionSearchField[data-filled] .Input {
13811
+ padding-inline-end: calc(var(--sl-control-padding-inline) + var(--sl-icon-button-size));
13812
+ }
13813
+
13814
+ .CollectionSearchIcon {
13815
+ position: absolute;
13816
+ inset-inline-start: var(--sl-control-padding-inline);
13817
+ inset-block-start: 50%;
13818
+ transform: translateY(-50%);
13819
+ width: var(--sl-icon-size-magnify);
13820
+ height: var(--sl-icon-size-magnify);
13821
+ font-size: var(--sl-icon-size-magnify);
13822
+ line-height: 1;
13823
+ color: var(--sl-field-affix-color);
13824
+ pointer-events: none;
13825
+ }
13826
+
13827
+ .CollectionSearchClear {
13828
+ display: flex;
13829
+ align-items: center;
13830
+ justify-content: center;
13831
+ flex-shrink: 0;
13832
+ width: var(--sl-icon-button-size);
13833
+ height: var(--sl-icon-button-size);
13834
+ padding: 0;
13835
+ border: none;
13836
+ border-radius: var(--sl-icon-button-radius);
13837
+ background: transparent;
13838
+ color: var(--sl-icon-button-color);
13839
+ cursor: pointer;
13840
+ outline: none;
13841
+ transition: var(--sl-icon-button-transition);
13842
+ position: absolute;
13843
+ inset-inline-end: var(--sl-space-3);
13844
+ inset-block-start: 50%;
13845
+ transform: translateY(-50%);
13846
+ font-size: var(--sl-icon-size-magnify);
13847
+ line-height: 1;
13848
+ }
13849
+
13850
+ .CollectionSearchClear:hover {
13851
+ background: var(--sl-icon-button-background-hover);
13852
+ color: var(--sl-icon-button-color-hover);
13853
+ }
13854
+
13855
+ .CollectionSearchClear:focus-visible {
13856
+ outline: var(--sl-focus-outline);
13857
+ outline-offset: var(--sl-focus-outline-offset);
13858
+ box-shadow: 0 0 0 var(--sl-focus-halo-spread) var(--sl-focus-halo-color);
13859
+ }
13860
+
13861
+ /* The trailing controls join the main row one by one, so each keeps its own width and
13862
+ wraps under the search on its own rather than squeezing. Search takes what is left. */
13863
+ .CollectionToolbarTrailing {
13864
+ display: contents;
13865
+ }
13866
+
13867
+ .CollectionSelectionBar {
13868
+ flex: 0 0 auto;
13869
+ max-width: 100%;
13870
+ }
13871
+
13872
+ /* Select.css and Combobox.css fill their container. In the row they size to their text. */
13873
+ .CollectionToolbarMain .SelectTrigger,
13874
+ .CollectionToolbarMain .ComboboxInputWrapper {
13875
+ flex: none;
13876
+ width: auto;
13877
+ max-width: 100%;
13794
13878
  }
13795
13879
 
13796
13880
  .CollectionToolbarActions {
@@ -13814,7 +13898,7 @@ textarea.FieldControl {
13814
13898
  letter-spacing: var(--sl-font-body-condense-letter-spacing);
13815
13899
  }
13816
13900
 
13817
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
13901
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
13818
13902
  /* DataTable additions on top of .Table.
13819
13903
  *
13820
13904
  * Sort buttons fill the header cell and inherit its hover, so old aria-sort markup keeps
@@ -13935,7 +14019,7 @@ textarea.FieldControl {
13935
14019
  color: var(--sl-table-subtle-color);
13936
14020
  }
13937
14021
 
13938
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
14022
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
13939
14023
  /* DataList
13940
14024
  *
13941
14025
  * The same rows as the table, in one container with the table's borders, hover, selected
@@ -14059,7 +14143,7 @@ textarea.FieldControl {
14059
14143
  transition: opacity var(--sl-duration-fast) var(--sl-easing-default);
14060
14144
  }
14061
14145
 
14062
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
14146
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
14063
14147
  /* Pagination
14064
14148
  *
14065
14149
  * Not tied to a collection. Anything with a page, a page count and a total can use it.
@@ -14084,7 +14168,7 @@ textarea.FieldControl {
14084
14168
  margin: 0;
14085
14169
  }
14086
14170
 
14087
- /* @scattered-light/loomiere-base-ui 0.7.0 · styles for @base-ui/react 1.9.0 */
14171
+ /* @scattered-light/loomiere-base-ui 0.7.1 · styles for @base-ui/react 1.9.0 */
14088
14172
  /* EditableList
14089
14173
  *
14090
14174
  * One table at every width, so a field is not submitted twice. Under the stack width each