@kernhq/module-billing 0.5.6 → 0.5.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernhq/module-billing",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Kern billing module: plans, entitlements, subscriptions and Stripe — the mechanism that lets any Kern instance sell seats on itself",
5
5
  "homepage": "https://github.com/KernAIO/module-billing#readme",
6
6
  "license": "AGPL-3.0-only",
@@ -436,16 +436,19 @@ function once(run: () => void) {
436
436
  Free text an administrator typed, in whatever language they typed it. Under a
437
437
  Persian screen an English highlight rendered backwards — "2 GB of storage" with
438
438
  the 2 at the far end — because the block's direction was applied to a line whose
439
- own direction is Latin. `dir="auto"` lets each line follow its first strong
440
- character; the text alignment stays with the screen.
439
+ own direction is Latin. `dir="auto"` on the block fixed the order and broke the
440
+ alignment the line became a left-aligned island in a right-aligned card — and
441
+ so did `unicode-bidi: plaintext`, because Chrome resolves `text-align: start`
442
+ against the paragraph's resolved direction in both cases. `<bdi>` isolates the
443
+ run inside a block that keeps the card's direction and alignment.
441
444
  -->
442
445
  {#if plan.description}
443
- <p class="text-[13px] text-[var(--kern-ink-700)]" dir="auto">{plan.description}</p>
446
+ <p class="text-[13px] text-[var(--kern-ink-700)]"><bdi>{plan.description}</bdi></p>
444
447
  {/if}
445
448
  {#if plan.highlights.length}
446
449
  <ul class="mt-1 grid gap-1">
447
450
  {#each plan.highlights as h (h)}
448
- <li class="text-[12.5px] text-[var(--kern-ink-700)]" dir="auto">{h}</li>
451
+ <li class="text-[12.5px] text-[var(--kern-ink-700)]"><bdi>{h}</bdi></li>
449
452
  {/each}
450
453
  </ul>
451
454
  {/if}
@@ -527,4 +530,4 @@ function once(run: () => void) {
527
530
  {/if}
528
531
  </section>
529
532
  {/if}
530
- </div>
533
+ </div>