@stnd/launcher 1.8.3 → 1.9.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @stnd/launcher
2
2
 
3
+ ## 1.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Auto-bumped @stnd/launcher due to modified code.
8
+
9
+ ## 1.9.0
10
+
11
+ ### Minor Changes
12
+
13
+ - Auto-bumped @stnd/launcher due to modified code.
14
+
3
15
  ## 1.8.3
4
16
 
5
17
  ### Patch Changes
package/Launcher.svelte CHANGED
@@ -959,7 +959,7 @@
959
959
  align-items: center;
960
960
  gap: var(--leading);
961
961
  width: 100%;
962
- /*padding: var(--trim) var(--leading) !important;*/
962
+ padding: var(--leading) var(--space-half);
963
963
  background: transparent;
964
964
  margin: 0 !important;
965
965
  border: none;
@@ -971,9 +971,12 @@
971
971
  box-shadow: none;
972
972
  }
973
973
 
974
+ /* The title is never shortened to make room for the description: the description gives way first. */
974
975
  .std-launcher-item-title {
976
+ flex-shrink: 0;
977
+ max-width: 100%;
975
978
  color: var(--color-muted);
976
- font-size: var(--scale-d2);
979
+ font-size: var(--scale);
977
980
  text-overflow: ellipsis;
978
981
  white-space: nowrap;
979
982
  overflow: hidden;
@@ -982,7 +985,9 @@
982
985
  }
983
986
 
984
987
  .std-launcher-item-desc {
985
- font-size: var(--scale-d4);
988
+ flex: 0 1 auto;
989
+ min-width: 0;
990
+ font-size: var(--scale-d2);
986
991
  color: var(--color-subtle);
987
992
  font-weight: 400;
988
993
  text-align: left;
package/launcher.ts CHANGED
@@ -295,6 +295,8 @@ export async function bootLauncher() {
295
295
  document.documentElement.setAttribute("data-theme", themeId);
296
296
  if (typeof localStorage !== "undefined")
297
297
  localStorage.setItem("std_theme", themeId);
298
+ if (typeof document !== "undefined")
299
+ document.cookie = `stnd_theme=${encodeURIComponent(themeId)}; Path=/; Max-Age=31536000; SameSite=Lax`;
298
300
 
299
301
  // Persistence Tier: Save to preferences (Session/DB)
300
302
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stnd/launcher",
3
- "version": "1.8.3",
3
+ "version": "1.9.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },