@jelinek/ui 0.5.1 → 0.5.3

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/README.md CHANGED
@@ -502,6 +502,11 @@ is retiring outright (account changes Aug 2026, direct publishing Jan
502
502
  2027). Without it the registry answered a `PUT` with a misleading `E404
503
503
  Not Found` in CI. 0.3.0 through 0.5.0 were released by hand because of it.
504
504
 
505
+ **0.5.1 was the first release published by CI**, which settles the doubt
506
+ this section used to carry: a private repository does not block trusted
507
+ publishing. Only the provenance attestation needs a public repo, and that
508
+ is opt-out, not a precondition.
509
+
505
510
  ### Fallback: publishing by hand
506
511
 
507
512
  If the job fails, the release is not stuck — publish from a machine that
@@ -107,8 +107,14 @@
107
107
  magenta: 'text-jelinek-magenta'
108
108
  };
109
109
 
110
+ // h-full so tiles in a CSS-grid row equalise: the grid stretches the
111
+ // wrapper, and the button must follow it — otherwise a two-line label
112
+ // makes one tile taller and its row neighbours look ragged. flex-col
113
+ // because a stretched <button> vertically centres its content by
114
+ // default — the label of a short tile would float mid-cell instead of
115
+ // starting at the same height as its neighbours'.
110
116
  const BASE =
111
- 'w-full cursor-pointer rounded-card border-2 bg-surface text-left ' +
117
+ 'flex h-full w-full cursor-pointer flex-col rounded-card border-2 bg-surface text-left ' +
112
118
  'font-secondary font-light text-fg ' +
113
119
  'transition-[border-color,box-shadow] duration-[var(--dur-base)] ease-[var(--ease)]';
114
120
 
@@ -124,7 +130,7 @@
124
130
  const meterMax = $derived(meter?.max ?? 5);
125
131
  </script>
126
132
 
127
- <div class="relative">
133
+ <div class="relative h-full">
128
134
  <button type="button" onclick={handleClick} aria-pressed={selected} {disabled} {...rest} class={classes}>
129
135
  {#if image}
130
136
  <div class="relative">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jelinek/ui",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "JELÍNEK Svelte 5 component kit, generated from the brand guide",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",