From 33ed191cd871b1f716cf44d697cca40ec8b7b8ec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 14:07:43 +0000 Subject: [PATCH] chore: version packages --- .changeset/dropdown-component.md | 5 ----- .changeset/fix-package-exports-and-styles.md | 10 ---------- CHANGELOG.md | 13 +++++++++++++ package.json | 2 +- 4 files changed, 14 insertions(+), 16 deletions(-) delete mode 100644 .changeset/dropdown-component.md delete mode 100644 .changeset/fix-package-exports-and-styles.md diff --git a/.changeset/dropdown-component.md b/.changeset/dropdown-component.md deleted file mode 100644 index 7ee7fc9..0000000 --- a/.changeset/dropdown-component.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@nciocpl/react-components': minor ---- - -Add `Dropdown` (NCIDS Select) component. Wraps a native `` with USWDS styling and forwards standard form props for use as a controlled or uncontrolled input. + +- [#70](https://github.com/NCIOCPL/react-app-shared/pull/70) [`6ce5456`](https://github.com/NCIOCPL/react-app-shared/commit/6ce5456e642e2b6b50792f9e3d91d781947841ce) Thanks [@adriancofie](https://github.com/adriancofie)! - Fix package distribution issues surfaced during downstream integration: + + - **Subpath exports** (`@nciocpl/react-components/core`, `@nciocpl/react-components/ncids`): rollup now uses multi-entry input so the documented subpath bundles (and matching type declarations) are actually emitted. + - **Bundled stylesheet** (`@nciocpl/react-components/styles`): the export now resolves to a real compiled CSS file (USWDS global, `usa-pagination`, `usa-icon`, `usa-collection`). Consumers that don't already compile NCIDS SCSS can `import '@nciocpl/react-components/styles'` and serve `node_modules/@nciocpl/ncids-css/uswds-img` at `/img`. README updated with Vite/Webpack recipes. + - **React peer dependency** raised to `>=17.0.0`. The build emits `react/jsx-runtime` imports (modern JSX transform), which only exist on React ≥ 16.14 — and React 16 has been EOL since 2024. Setting the floor at 17 prevents cryptic `Can't resolve 'react/jsx-runtime'` errors on outdated React installations. + - **`@nciocpl/ncids-css` peer dependency** is now declared (`>=3.0.0`, optional) so the existing `peerDependenciesMeta.optional` entry has effect. + All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), diff --git a/package.json b/package.json index 345dbf0..214546e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nciocpl/react-components", - "version": "0.1.0", + "version": "0.2.0", "description": "Shared React component library for NCI applications", "type": "module", "main": "dist/cjs/index.js",