Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
15f2de9
feat: add octicons-react-symbols package
joshblack Dec 30, 2025
d5ec220
refactor: update structure for generation and add story
joshblack Dec 30, 2025
9102234
chore: check-in work
joshblack Apr 27, 2026
dc81c0a
Merge branch 'main' of github.com:primer/react into feat/add-octicons…
joshblack Jun 22, 2026
df59274
chore: update lockfile
joshblack Jun 22, 2026
ba2056f
chore: clean up package
joshblack Jun 22, 2026
cd7da19
test: update vitest config
joshblack Jun 22, 2026
d777178
chore: add docs and update setup
joshblack Jun 22, 2026
a39dae7
fix: resolve PR CI failures for octicons symbols package
Copilot Jun 23, 2026
4f4ed4f
fix: allow OcticonSymbols children prop typing
Copilot Jun 24, 2026
8cae917
Merge branch 'main' of github.com:primer/react into feat/add-octicons…
joshblack Jul 10, 2026
fa6461f
chore: clean up environment
joshblack Jul 10, 2026
6d5d30d
refactor: use dts plugin for build, update docs
joshblack Jul 10, 2026
cd28ba0
fix: task for lint:npm and add lint-react-compiler
joshblack Jul 10, 2026
a497c2e
chore(deps): add react-dom to octicons-react-symbols
joshblack Jul 10, 2026
5b21d22
fix: resolve octicons-react-symbols CI failures
Copilot Jul 10, 2026
9c5c2ab
chore: run octicons lint:npm build via turbo dependency
Copilot Jul 10, 2026
dda4472
Merge branch 'main' into feat/add-octicons-react-symbols-exploration
joshblack Jul 14, 2026
58dd9fe
ci: include octicons-react-symbols in npm pack workflow
Copilot Jul 14, 2026
2277da6
chore: make octicons-react-symbols public for npm pack workflow
Copilot Jul 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/add-octicons-react-symbols-package.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/octicons-react-symbols': minor
---

Octicons React Symbols: Add a package that provides reusable SVG symbol sprites and matching icon components.
4 changes: 3 additions & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:

const {stdout: queryOutput} = await exec.getExecOutput('npm', ['query', '.workspace']);
const workspaces = JSON.parse(queryOutput);
const packages = workspaces.filter(pkg => pkg.private !== true).map(pkg => pkg.name);
const packages = workspaces
.filter(pkg => pkg.private !== true)
.map(pkg => pkg.name);
core.info(`Packing: ${packages.join(' ')}`);

const args = ['pack', ...packages.map(name => `--workspace=${name}`), '--pack-destination', directory, '--json'];
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ docs/.cache
docs/public
**/.next/**
packages/react/src/legacy-theme/ts/color-schemes.ts
packages/octicons-react-symbols/src/generated
27 changes: 14 additions & 13 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,27 @@ const github = githubPlugin.getFlatConfigs()
*/
const config = defineConfig([
globalIgnores([
'.agents/**/*',
'**/*.module.css.d.ts',
'**/.cache',
'coverage/**/*',
'docs/public/**/*',
'types/**/*',
'**/.next/**/*',
'**/.playwright/**',
'**/CHANGELOG.md',
'**/dist/**/*',
'**/node_modules/**/*',
'**/storybook-static',
'**/storybook-static/**/*',
'.agents/**/*',
'consumer-test/**/*',
'contributor-docs/adrs/*',
'coverage/**/*',
'dist/**/*',
'docs/public/**/*',
'examples/codesandbox/**/*',
'packages/octicons-react-symbols/src/generated/**/*',
'packages/react/src/utils/polymorphic.ts',
'packages/styled-react/src/polymorphic.ts',
'**/storybook-static',
'**/CHANGELOG.md',
'**/node_modules/**/*',
'**/storybook-static/**/*',
'**/.next/**/*',
'dist/**/*',
'**/dist/**/*',
'script/**/*.ts',
'**/*.module.css.d.ts',
'**/.playwright/**',
'types/**/*',
]),

js.configs.recommended,
Expand Down
Loading
Loading