Skip to content

build(deps-dev): bump vue-tsc from 1.8.25 to 1.8.26 - #1587

Merged
tada5hi merged 1 commit into
masterfrom
dependabot/npm_and_yarn/master/vue-tsc-1.8.26
Dec 22, 2023
Merged

tada5hi merged 1 commit into
masterfrom
dependabot/npm_and_yarn/master/vue-tsc-1.8.26

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 21, 2023

Copy link
Copy Markdown
Contributor

Bumps vue-tsc from 1.8.25 to 1.8.26.

Changelog

Sourced from vue-tsc's changelog.

1.8.26 (2023/12/22)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 21, 2023
@tada5hi
tada5hi merged commit a0cf98b into master Dec 22, 2023
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/master/vue-tsc-1.8.26 branch December 22, 2023 09:07
tada5hi added a commit that referenced this pull request May 25, 2026
…ounds

Release-please bundle tada5hi/vuecs#1588 went out today; relevant
fixes for authup:

  - @vuecs/design 1.0.1 — wraps :root + .dark token defaults in
    @layer vuecs (closes tada5hi/vuecs#1595, filed from this branch).
    Lets consumers override --vc-color-* tokens from inside their own
    @layer base without hoisting outside the layer structure.
  - @vuecs/core 3.1.0 — installThemeManager now MERGES install
    options into the existing manager rather than dropping them on
    second install (closes tada5hi/vuecs#1591). Defuses the
    first-install-wins trap the previous CLAUDE.md notes warned
    about.
  - @vuecs/table 1.1.1 — typed `cell-${string}` / `header-${string}`
    slots via template-literal SlotsType (closes #1592). The TS
    reason for the <ATable> wrapper is now obsolete (the wrapper
    still earns its keep for the bvnext :items/:fields prop bridge
    and headerClass alignment derivation).
  - @vuecs/pagination 2.1.0 — adds `hideDisabled` prop that
    unrenders edge controls at page boundaries; orthogonal to the
    disabled-state CSS in this branch (we still need the CSS for
    callers that don't opt in).
  - @vuecs/elements 1.2.0, @vuecs/navigation 3.0.1,
    @vuecs/overlays 1.0.1 — `as:` prop widened (#1587). Non-breaking.

Code changes:

  1. Bumped every @vuecs/* caret in apps/{client-web,server-core}
     and packages/{client-web-kit,client-web-theme,
     client-web-kit-theme} to the new versions.

  2. @authup/client-web-kit-theme/src/index.css: declared explicit
     `@layer theme, vuecs, base, components, utilities;` at the top
     of the file so vuecs's @layer-wrapped tokens get positioned
     BEFORE Tailwind's @layer base (where authup's overrides live).
     Layer order is established at first appearance, and Tailwind's
     `@import "tailwindcss"` itself declares its layer order — by
     declaring ours first we control which layer sits where.

  3. @authup/client-web-theme/src/index.css: moved the
     `--vc-color-bg: var(--vc-color-neutral-700)` softening back
     INTO the @layer base { .dark { ... } } block alongside the
     other chrome-token overrides. Pre-1.0.1 this had to live at the
     top level (since vuecs/design's .dark was outside any layer);
     with vuecs/design 1.0.1's @layer vuecs wrapping and our explicit
     layer order, @layer base now wins on source order as intended.
     The standalone top-level .dark block at the bottom of the file
     is gone.

  4. Pagination hover override comment in
     @authup/client-web-theme/src/index.css updated — the old
     comment speculated about a cascade-layer surprise that turned
     out to be the `dark:` variant default firing on
     `prefers-color-scheme` rather than `.dark` class; that's
     handled by the @custom-variant declaration in the kit theme.
     The top-level + !important placement is now described as
     belt-and-suspenders (either would suffice independently) rather
     than as a forced workaround.

  5. .agents/structure.md — rewrote the "plugin install order" trap
     section to reflect @vuecs/core 3.1.0's merging behavior. The
     `name: 'vuecs'` declaration on the consumer plugin still stays
     (other plugins depend on it for explicit ordering), but the
     "first-install-wins ⇒ unstyled forms" failure mode no longer
     applies.

  6. .agents/architecture.md — `<ATable>` wrapper section updated.
     Notes the SlotsType issue is resolved upstream
     (tada5hi/vuecs#1592), and recasts the wrapper's remaining
     responsibility as the bvnext prop-shape bridge + alignment
     derivation. Drop conditions revised: rewrite call sites or
     absorb into a kit helper.
tada5hi added a commit that referenced this pull request May 25, 2026
…t-Tailwind-v4 polish (#3077)

* feat(theme,app): add light/dark color-mode toggle via @vuecs/nuxt

Three changes bundled:

1. @vuecs/nuxt module — installed and wired in nuxt.config.ts for
   SSR-safe color-mode persistence. Configured with `themes: []` (our
   existing plugins/vuecs.ts keeps owning theme registration + per-
   package installs) and `injectTokens: false` (@vuecs/design comes in
   via @authup/client-web-kit-theme's CSS @import chain). Module
   provides auto-imported `useColorMode()` backed by the `vc-color-mode`
   cookie + automatic `.dark` / `.light` class on <html>.

2. Color-mode toggle button in apps/client-web/components/header.vue.
   Sun icon when dark, moon when light; aria-label + aria-pressed
   reflect state. Sits in the navbar-gadgets ul next to the language
   switcher — both right-aligned via margin-left:auto.

3. authup CSS refactored to use tokens so dark mode 'just works':

   - New brand-token block in packages/client-web-theme/src/index.css
     under @layer base. Two groups:
     * Chrome tokens (--authup-chrome-*) — alias `--vc-color-neutral-*`
       shades. Stay dark in both light and dark mode (chrome is
       always dark in authup's design — header / sidebar / footer /
       dropdown menus).
     * Brand accents (--authup-brand-{gold,coral,indigo,tan}) — the
       authup identity colors. Unchanged across modes.
   - Content / list / card stylesheets reference `--vc-color-bg`,
     `--vc-color-fg`, `--vc-color-bg-muted`, `--vc-color-bg-elevated`,
     `--vc-color-border`, `--vc-color-warning-*`, `--vc-color-error-*`,
     `--vc-color-info-*`, `--vc-color-primary-*` directly. Those flip
     automatically via @vuecs/design's `.dark` block — no per-class
     dark-mode rules needed.

   Refactored files:
   - packages/client-web-theme/src/styles/{root,navigation,card}.css
   - packages/client-web-theme/src/styles/core/{header,sidebar,navbar,footer}.css
   - packages/client-web-kit-theme/src/styles/{list,form-validation}.css

Verified dev render: navbar-gadgets shows the new color toggle + the
language switcher together, right-aligned in the header.

* fix(theme,app): navbar visibility, mode-aware chrome, hover/cascade fixes

Bundle of related fixes uncovered while iterating on the post-Tailwind
v4 color-mode work.

  1. Navbar visibility (regression from Bootstrap → Tailwind v4 swap).
     Tailwind v4 ships a built-in `.collapse` utility that sets
     `visibility: collapse`, which leaked through the compat layer's
     `display: flex !important` override on `.navbar-collapse`: even
     at md+ the entire `<nav class="page-navbar navbar-expand-md">`
     subtree rendered invisible (display flipped back, visibility
     stayed). Dropped the bare `.collapse` class from
     `apps/client-web/components/header.vue` and scoped the compat
     hide rule to `.navbar-collapse:not(.show)`.

  2. Chrome tokens flip with color mode. `--authup-chrome-bg` /
     `-fg` / `-border` etc. now alias `--vc-color-bg-elevated` /
     `-fg` / `-border` in `:root` (auto-light); the `.dark` block
     pins them back to authup's historical warm-dark palette
     (#34353a ≈ 32% L) so the dark chrome stays the recognizable
     authup shade rather than vuecs's neutral-800 (which would
     blend into the page-content bg). Refactor extends to the
     four chrome CSS files (header, sidebar, footer, footer) —
     they previously kept hardcoded `#34353a` / `#fff` / `#aeb2b7`
     literals that the earlier commit's message claimed were
     tokenized but weren't (the file writes never landed in
     6c4c0a7).

  3. Softer dark content bg, top-level overrides. `@vuecs/design`'s
     `.dark` block lives at the CSS top level (outside any cascade
     layer); under the cascade-layers spec, a `@layer base { .dark { ... } }`
     override loses to a top-level rule regardless of source order.
     Lifted just the `--vc-color-bg` override to a top-level
     `.dark { ... }` block at the end of `index.css` — same cascade
     tier as vuecs/design, source order then wins. Picked
     `neutral-700` (≈ 32% L) over vuecs's `neutral-900` (≈ 20% L)
     so the content surface is no longer near-black against the
     warm chrome. Comment links the workaround to upstream
     tracker tada5hi/vuecs#1595 (proposes wrapping vuecs/design's
     `:root` / `.dark` blocks in a named cascade layer).

  4. Tailwind `dark:` variant keyed off `.dark` class, not
     `@media (prefers-color-scheme: dark)`. Added
     `@custom-variant dark (&:where(.dark, .dark *))` in
     `@authup/client-web-kit-theme` so every `dark:bg-*` /
     `dark:text-*` / `dark:hover:bg-*` utility fires when the
     in-app toggle activates, regardless of OS preference. Without
     this, a user on a light OS toggling the in-app dark mode got
     a half-broken cascade — semantic tokens flipped via vuecs's
     `.dark`-class block, but every theme-tailwind `dark:` utility
     stayed dormant. Symptom: `hover:bg-neutral-100` beating an
     absent `dark:hover:bg-neutral-700` on pagination buttons in
     toggled-dark mode (light hover on dark surface).

  5. Active / hover nav text pinned to white. The brand backgrounds
     (`--authup-brand-indigo`, `--authup-brand-tan`) don't flip with
     mode; using `--authup-chrome-fg` would paint dark text on the
     brand background in light mode (unreadable on indigo, weak on
     tan). Set explicit `color: #ffffff` on the active / hover
     `<VCNavLink>` rules.

  6. Pagination hover preview + disabled-state polish. Enabled
     pagination buttons now hover to `primary-600` / `on-primary`
     (matches the active page button's resting color — acts as a
     "this would be the active page" preview). Disabled buttons
     (First / Prev on page 1, Next / Last on last page) get
     `opacity: 0.5` + `cursor: not-allowed` and their hover
     bg/border/color pinned to the resting state so they're
     visually inert under the pointer in both modes. Rule lives at
     the top level rather than inside `@layer components` to
     sidestep cascade-layer surprises.

  7. Section dividers (`.vc-nav-separator`). The `:before` / `:after`
     pseudo-elements had `flex: 1` but the parent wasn't flex, so
     they collapsed to zero width and the section labels rendered
     left-aligned without flanking lines. Made the separator a flex
     row with a small gap, and switched the line color from
     `--authup-chrome-bg-elevated` (only ~1.5% L apart from
     chrome-bg in light mode) to `--authup-chrome-fg-muted` at
     0.3 opacity, which has consistent subtle visibility against
     chrome-bg in both modes.

* chore(deps): bump @vuecs/* to latest patch+minor lines, retire workarounds

Release-please bundle tada5hi/vuecs#1588 went out today; relevant
fixes for authup:

  - @vuecs/design 1.0.1 — wraps :root + .dark token defaults in
    @layer vuecs (closes tada5hi/vuecs#1595, filed from this branch).
    Lets consumers override --vc-color-* tokens from inside their own
    @layer base without hoisting outside the layer structure.
  - @vuecs/core 3.1.0 — installThemeManager now MERGES install
    options into the existing manager rather than dropping them on
    second install (closes tada5hi/vuecs#1591). Defuses the
    first-install-wins trap the previous CLAUDE.md notes warned
    about.
  - @vuecs/table 1.1.1 — typed `cell-${string}` / `header-${string}`
    slots via template-literal SlotsType (closes #1592). The TS
    reason for the <ATable> wrapper is now obsolete (the wrapper
    still earns its keep for the bvnext :items/:fields prop bridge
    and headerClass alignment derivation).
  - @vuecs/pagination 2.1.0 — adds `hideDisabled` prop that
    unrenders edge controls at page boundaries; orthogonal to the
    disabled-state CSS in this branch (we still need the CSS for
    callers that don't opt in).
  - @vuecs/elements 1.2.0, @vuecs/navigation 3.0.1,
    @vuecs/overlays 1.0.1 — `as:` prop widened (#1587). Non-breaking.

Code changes:

  1. Bumped every @vuecs/* caret in apps/{client-web,server-core}
     and packages/{client-web-kit,client-web-theme,
     client-web-kit-theme} to the new versions.

  2. @authup/client-web-kit-theme/src/index.css: declared explicit
     `@layer theme, vuecs, base, components, utilities;` at the top
     of the file so vuecs's @layer-wrapped tokens get positioned
     BEFORE Tailwind's @layer base (where authup's overrides live).
     Layer order is established at first appearance, and Tailwind's
     `@import "tailwindcss"` itself declares its layer order — by
     declaring ours first we control which layer sits where.

  3. @authup/client-web-theme/src/index.css: moved the
     `--vc-color-bg: var(--vc-color-neutral-700)` softening back
     INTO the @layer base { .dark { ... } } block alongside the
     other chrome-token overrides. Pre-1.0.1 this had to live at the
     top level (since vuecs/design's .dark was outside any layer);
     with vuecs/design 1.0.1's @layer vuecs wrapping and our explicit
     layer order, @layer base now wins on source order as intended.
     The standalone top-level .dark block at the bottom of the file
     is gone.

  4. Pagination hover override comment in
     @authup/client-web-theme/src/index.css updated — the old
     comment speculated about a cascade-layer surprise that turned
     out to be the `dark:` variant default firing on
     `prefers-color-scheme` rather than `.dark` class; that's
     handled by the @custom-variant declaration in the kit theme.
     The top-level + !important placement is now described as
     belt-and-suspenders (either would suffice independently) rather
     than as a forced workaround.

  5. .agents/structure.md — rewrote the "plugin install order" trap
     section to reflect @vuecs/core 3.1.0's merging behavior. The
     `name: 'vuecs'` declaration on the consumer plugin still stays
     (other plugins depend on it for explicit ordering), but the
     "first-install-wins ⇒ unstyled forms" failure mode no longer
     applies.

  6. .agents/architecture.md — `<ATable>` wrapper section updated.
     Notes the SlotsType issue is resolved upstream
     (tada5hi/vuecs#1592), and recasts the wrapper's remaining
     responsibility as the bvnext prop-shape bridge + alignment
     derivation. Drop conditions revised: rewrite call sites or
     absorb into a kit helper.

* refactor(client-web): use <VCTable> directly, drop <ATable> wrapper

`@vuecs/table` 1.1.1 added template-literal slot typing for
`cell-${string}` / `header-${string}` (tada5hi/vuecs#1592) and
its auto-render path now dispatches consumer-provided
`#cell-<key>` / `#header-<key>` templates onto each cell. The
TypeScript reason the `<ATable>` wrapper existed is solved
upstream; the bvnext prop-shape bridge and `headerClass`-based
alignment derivation are now folded into the per-page call sites.

Per-page changes (9 entity index pages):

  - Replaced `<ATable :items="props.data" :fields="fields" ...>`
    with `<VCTable :data="props.data" :columns="columns" ...>`.
    `<VCTable>` is globally registered via `installTable` in
    `apps/client-web/plugins/vuecs.ts` so no per-file import is
    needed.
  - Renamed the local `fields` variable to `columns`.
  - For centered headers, switched `headerClass: 'text-center'`
    to `'text-center!'` (Tailwind v4 important-suffix). Without
    the `!`, `theme-tailwind`'s baked-in `text-left font-medium`
    on `tableHeadCell.classes.root` wins on source order. Body
    cells need no `!` — `<VCTableCell>`'s root only bakes
    `align-middle`.

TypeScript trade-offs intentional (mirrors what `<ATable>` did
internally):

  - Dropped the entity generic from column declarations
    (`TableColumn<Role>[]` → `TableColumn[]`). `TableColumn` is
    invariant in `Row` because of the contravariant `accessor:
    (row: Row) => unknown` arm, so `TableColumn<Role>[]` is NOT
    assignable to `TableColumnRaw<unknown>[]` (vuecs's columns
    prop type). The wrapper hid this with a `Record<string, any>`
    cast; per-page we just default to `Row=unknown`.
  - Slot prop row type is `{ row: any }` rather than
    `{ row: Role }`. Slot function params are contravariant: a
    function accepting `{ row: Role }` cannot be assigned to
    `(props: TableCellSlotProps<unknown>) => unknown` because
    `unknown` doesn't widen to `Role`. `any` is bivariant and
    accepts both directions. Per-template body accesses
    (`row.field`) keep working through `any`.

Wrapper removal:

  - `packages/client-web-kit/src/components/utility/ATable.vue`
    deleted.
  - Removed the `ATable` export from
    `packages/client-web-kit/src/components/utility/index.ts`.
  - Updated the comment in `entity/collection/module.ts` that
    used `<ATable>` as the canonical example of a custom body
    slot — points at `<VCTable>` with `:columns` driving
    auto-render instead.

Docs:

  - `.agents/structure.md`: UI-stack matrix row for Tables now
    documents `<VCTable>` directly and the `text-center!`
    pattern.
  - `.agents/architecture.md`: replaced the `<ATable>` wrapper
    section with a "Table usage" section. Updated the bvnext
    removal list to note the wrapper retirement.

* refactor(theme): address audit findings

Four follow-ups from the self-audit:

  1. Pagination disabled-hover rule no longer touches `color` or
     `border-color`. The original override set `border-color:
     var(--color-neutral-300) !important` for the disabled hover
     state, but the resting state's border comes from the
     `border-neutral-300 dark:border-neutral-700` utility chain on
     the button — and palette tokens DON'T flip with mode, so in
     dark mode the override forced `neutral-300` over the resting
     `neutral-700`, introducing a visible border-color flicker on
     hover. Likewise `color: var(--color-fg) !important` was a no-op
     because no `hover:*` utility on the button changes text color.
     New rule overrides only `background-color`, which is the only
     property `hover:bg-neutral-100` / `dark:hover:bg-neutral-700`
     actually mutates.

  2. Dead token `--authup-chrome-bg-hover` removed from both the
     `:root` and `.dark` declarations. Declared during the chrome-
     token refactor but never referenced anywhere in the codebase.

  3. Enabled pagination buttons now use `:focus-visible:not(:disabled)`
     rather than `:focus:not(:disabled)`. Matches the convention used
     elsewhere in the theme (`.btn` compat class uses
     `focus-visible:outline-*`). The change suppresses the brief
     primary-600 flash when a button is mouse-clicked (mouse focus
     doesn't trigger `:focus-visible`), while keyboard focus still
     gets the same visible feedback.

  4. Nested nav-link `border-left-color` was hitting the same light-
     mode contrast trap we fixed on `.vc-nav-separator`:
     `--authup-chrome-bg-elevated` is only ~1.5% lightness apart
     from chrome-bg in light mode, so the 6px border-left
     disappeared against the near-white chrome surface. Switched to
     `color-mix(in oklab, var(--authup-chrome-fg-muted) 30%,
     transparent)` — same mid-tone token the separator now uses,
     with `color-mix` standing in for opacity since border-left-
     color can't be alpha-blended via `opacity` (would dim the link
     text alongside).

* refactor(theme,kit): centralise table-head alignment, opt into VCPagination hideDisabled

Resolves the remaining audit follow-ups from the previous review:

  1. `tableHeadCell.classes.root` override in `clientWebTheme()`.
     Theme-tailwind ships `"px-3 text-left font-medium"` as the root
     class for table head cells. With that baked-in `text-left`,
     a consumer-side `headerClass: 'text-center'` on a `TableColumn`
     would lose on CSS source order — so authup's entity index pages
     had to use Tailwind v4's `!important` suffix (`'text-center!'`)
     to override. Stripping the baked `text-left` at the theme
     override layer (the `elements` block in `clientWebTheme()`)
     centralises the fix: plain `headerClass: 'text-center'` now
     works everywhere. Walked the `!` suffix back out of all 9 entity
     index pages.

     The same override layer is the natural fix point if
     theme-tailwind ever bakes alignment into `tableCell.classes.root`
     (today it's only `"px-3 align-middle"`, so cellClass already
     works without `!`). Closes the related audit smell about
     `cellClass: 'text-center'` fragility — fragility persists
     theoretically, but the single fix point limits the blast radius
     to one file when it surfaces.

  2. `hideDisabled: true` on `<VCPagination>` via `buildPagination`.
     vuecs/pagination 2.1.0 added the prop; with it set, edge
     controls (First / Prev on page 1, Next / Last on the last page)
     are unrendered instead of rendered-disabled. The previous
     audit-follow-up commit `2fa336854` had cleaned up the
     disabled-state CSS rules but left them in place defensively;
     they're now redundant and removed. The remaining
     `:not(:disabled)` filter on the hover-preview rule stays as a
     belt-and-suspenders guard for callers that use `<VCPagination>`
     directly without `buildPagination`'s opt-in.

  3. Upstream issue filed: tada5hi/vuecs#1601 — proposes making
     `<VCTable>` (and `<VCTableLite>`) generic over `Row` so
     consumer slot prop types can carry through, addressing the
     TS-coverage trade-off the `<ATable>` removal commit
     intentionally accepted. No authup-side code change for this
     yet; we keep the `{ row: any }` pragmatism documented in
     `.agents/architecture.md` and revisit when the upstream
     proposal lands.

Documentation:

  - `.agents/structure.md` UI-stack matrix Tables row updated:
    `headerClass: 'text-center'` now described as the in-place
    convention, with the `clientWebTheme()` override explained as
    the seam.
  - `.agents/architecture.md` Table usage section rewritten to
    match — drops the Tailwind v4 `!` mention in favour of the
    theme override.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant