@lavalogic/scoria 0.38.9 → 0.38.10

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.
@@ -316,11 +316,6 @@
316
316
  flex-flow: column nowrap;
317
317
  }
318
318
 
319
- .muted {
320
- color: #647d8e;
321
- margin: 0;
322
- }
323
-
324
319
  .user-card-list {
325
320
  list-style: none;
326
321
  margin: 0;
@@ -489,25 +489,33 @@
489
489
  Save the table's current {sectionNoun.toLowerCase()} as a reusable named
490
490
  {sectionNoun.toLowerCase()}.
491
491
  </InfoAlert>
492
- <TextInput
493
- placeholder={`${sectionNoun} name`}
494
- bind:value={newViewName}
495
- onkeydown={(e: KeyboardEvent) => {
496
- if (e.key === 'Enter') {
497
- e.preventDefault();
498
- saveNewView();
499
- }
500
- }}
501
- />
502
- <!-- Wrap the button in a row so the flex column's default
503
- `align-items: stretch` does not blow it up to the input's
504
- width. The row itself can stretch; the button inside sits
505
- at its natural content width like every other Button. -->
506
- <div class="save-tab-actions">
507
- <Button
508
- disabled={!newViewName.trim()}
509
- onclick={saveNewView}>Save Current</Button
510
- >
492
+ <!-- The InfoAlert above spans the full tab body so the
493
+ empty-state visuals are consistent across all three tabs.
494
+ The name input + Save button below stay grouped in a
495
+ narrower form column (`.save-tab-form`) so they keep
496
+ comfortable form proportions instead of stretching across
497
+ the whole 50vw modal. -->
498
+ <div class="save-tab-form">
499
+ <TextInput
500
+ placeholder={`${sectionNoun} name`}
501
+ bind:value={newViewName}
502
+ onkeydown={(e: KeyboardEvent) => {
503
+ if (e.key === 'Enter') {
504
+ e.preventDefault();
505
+ saveNewView();
506
+ }
507
+ }}
508
+ />
509
+ <!-- Wrap the button in a row so the flex column's default
510
+ `align-items: stretch` does not blow it up to the input's
511
+ width. The row itself can stretch; the button inside sits
512
+ at its natural content width like every other Button. -->
513
+ <div class="save-tab-actions">
514
+ <Button
515
+ disabled={!newViewName.trim()}
516
+ onclick={saveNewView}>Save Current</Button
517
+ >
518
+ </div>
511
519
  </div>
512
520
  </div>
513
521
  {/if}
@@ -626,10 +634,6 @@
626
634
  background-color: #ffffff;
627
635
  }
628
636
 
629
- .muted {
630
- color: #647d8e;
631
- }
632
-
633
637
  .card-list {
634
638
  list-style: none;
635
639
  margin: 0;
@@ -695,10 +699,24 @@
695
699
  margin-bottom: 0.5rem;
696
700
  }
697
701
 
702
+ /* Outer Save-tab container. Spans the full tab body so the InfoAlert
703
+ matches the empty-state alert width in My-Layouts / Shared-Layouts.
704
+ The narrower form column (input + Save button) lives one level
705
+ deeper in `.save-tab-form`. */
698
706
  .save-tab {
699
707
  display: flex;
700
708
  flex-flow: column nowrap;
701
709
  gap: 0.75rem;
710
+ }
711
+
712
+ /* Form column for the layout-name input and Save Current button.
713
+ `max-width` keeps the input at a comfortable form width rather
714
+ than stretching across the full modal; the button below sits on
715
+ the same column so the two read as a single form unit. */
716
+ .save-tab-form {
717
+ display: flex;
718
+ flex-flow: column nowrap;
719
+ gap: 0.75rem;
702
720
  max-width: 24rem;
703
721
  }
704
722
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lavalogic/scoria",
3
3
  "description": "Svelte components used for the FloWMS Web Frontend",
4
- "version": "0.38.9",
4
+ "version": "0.38.10",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },