bootstrap: swap BS4 (alexwine) CSS for bootstrap@5 npm

Completes the Bootstrap 4->5 migration now that every jQuery/BS4 widget is React
(navbar, carousel, dropdowns) — plus the feedback toggle here (Feedback.js:
global `$('#feedback-form').toggle()` -> React state).

- Load Bootstrap 5 CSS from the `bootstrap` npm package in client/index.js
  (imported first so app + component styles and react-bootstrap override it).
- Remove the `alexwine:bootstrap-4` meteor package (BS4 CSS + jQuery + BS4 JS).
  jQuery for jquery-validation still comes from the npm `jquery` dep.
- Utility renames to BS5: ml-auto->ms-auto, float-right->float-end,
  btn-block->w-100, data-toggle->data-bs-toggle (FromNow tooltip).
- forms.scss `.form-label` is no longer a shim (BS5 ships it); comment updated.

Full-app build boots clean; server suite 36 passing. Needs a visual staging pass
across all pages (BS4->5 shifts grid gutters/typography); forms should improve
since react-bootstrap v2 already emitted BS5 markup.
This commit is contained in:
vjrj 2026-07-22 05:55:34 +02:00
parent 9ff9abacc3
commit bddfb392c1
12 changed files with 63 additions and 38 deletions

View file

@ -30,7 +30,6 @@ audit-argument-checks@1.0.8
ddp-rate-limiter@1.2.2
dynamic-import@0.7.4
static-html@1.4.0
alexwine:bootstrap-4
gadicc:blaze-react-component # Add braze to react
255kb:meteor-status # Connect status
@ -45,6 +44,10 @@ ostrio:meteor-root
aldeed:schema-deny
dburles:collection-helpers
reywood:publish-composite
# Bootstrap CSS/JS now comes from the `bootstrap` npm package (BS5), imported in
# imports/startup/client/index.js. The old alexwine:bootstrap-4 package (BS4 CSS +
# jQuery + BS4 JS) was removed after the navbar/carousel/dropdown/feedback widgets
# were migrated off jQuery.
facts-base@1.0.2
nspangler:autoreconnect
quave:synced-cron