Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: v2.0.0 #542

Merged
merged 56 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
f8d5d0c
chore: stub out dir
artmsilva Dec 4, 2023
16fe6d4
chore: stub out dir
artmsilva Dec 4, 2023
2a95357
chore: test nextjs 13 and 14 apps (page and app router) (#544)
artmsilva Dec 13, 2023
df842ac
fix: remove defaultOpen from kitchen sink Tooltip example to prevent …
wp-aberg Jan 9, 2024
2ca485f
feat: updated InputLabel with latest Radix label component (#552)
wp-aberg Jan 10, 2024
84f39d4
fix: take latest minor of Radix accordion
wp-aberg Jan 3, 2024
20f22d6
feat: remove nanoid dependency (#555)
wp-aberg Jan 10, 2024
504b82f
fix: remove border for clear button on input search (#560)
wp-aberg Jan 30, 2024
be3524d
feat: move Button, Icon, theme, and VisuallyHidden to v2 package (#562)
wp-aberg Feb 5, 2024
ce0b9db
feat: card (#564)
ebgranger Feb 9, 2024
672e239
feat: update Accordion to React 18 (#565)
wp-aberg Feb 14, 2024
848b697
feat: fresh install with updated node/npm (#574)
ebgranger Feb 22, 2024
ce7640b
V2 switch (#570)
ebgranger Feb 22, 2024
e783d0a
fix: i don't know how dialog went mising (#579)
ebgranger Feb 23, 2024
5e0394b
feat: v2 mass components upgrade/migration (#578)
artmsilva Feb 27, 2024
6b8c42b
fix: Playroom fix (#583)
artmsilva Feb 27, 2024
253effe
fix: merging main and resolving conflicts (#585)
ebgranger Feb 29, 2024
ed5c500
feat: update package-lock
ebgranger Feb 29, 2024
f0f18eb
chore(release): publish
ebgranger Mar 13, 2024
ffa6f78
chore: commit wip
artmsilva Mar 14, 2024
885cd7c
chore: commit wip
artmsilva Mar 14, 2024
58dc43b
chore: commit wip
artmsilva Mar 14, 2024
02cc7ea
chore(release): publish
artmsilva Mar 14, 2024
2e872f0
chore(release): publish
artmsilva Mar 14, 2024
c906024
chore(release): publish
artmsilva Mar 14, 2024
692f371
V2 package lock upgraded (#593)
ebgranger Mar 18, 2024
b0e77be
fix: transform Select arrow on open (#597)
wp-aberg Mar 19, 2024
b7f6919
V2 package lock upgraded (#602)
ebgranger Mar 21, 2024
9bc6a9d
update lock file
ebgranger Mar 21, 2024
c7d1d15
update lock file again
ebgranger Mar 21, 2024
20a9455
fix: make input helper and error block level elements to preserve for…
wp-aberg Mar 20, 2024
7b2a1da
wip
ebgranger Mar 22, 2024
d862816
fix: add nanoid back (#607)
artmsilva Apr 2, 2024
34a24ae
chore(release): publish
ebgranger Apr 2, 2024
cd8d37f
feat: add v2 docs switcher (#608)
artmsilva Apr 2, 2024
107fee1
V2 updating deps (#612)
ebgranger Apr 4, 2024
9e9b975
fix: new colors are not showing up (#614)
artmsilva Apr 4, 2024
00363e7
chore(release): publish
ebgranger Apr 4, 2024
962bcf1
wip
ebgranger Apr 4, 2024
de1c541
Merge pull request #615 from washingtonpost/v2-updating-assets
ebgranger Apr 4, 2024
261c231
fix: add tokens specifier to exports (#616)
artmsilva Apr 9, 2024
5cf7618
chore: commit changes from build
ebgranger Apr 9, 2024
d6d066d
wip
ebgranger Apr 9, 2024
7b5ed1f
chore: remove exports
ebgranger Apr 9, 2024
cc4e42d
chore(release): publish
ebgranger Apr 9, 2024
3964239
V2 migrate theme (#619)
ebgranger Apr 9, 2024
3fa1c33
chore(release): publish
ebgranger Apr 9, 2024
b3914fa
wip
ebgranger Apr 10, 2024
3e3f3c1
V2 resolving conflicts (#620)
ebgranger Apr 10, 2024
bbf4178
wip
ebgranger Apr 10, 2024
ec0da24
wip (#621)
ebgranger Apr 10, 2024
03fca22
wip
ebgranger Apr 10, 2024
40f7123
chore(release): publish
ebgranger Apr 10, 2024
e7c8f80
wip
ebgranger Apr 15, 2024
2be4665
wip
ebgranger Apr 15, 2024
2e2e468
feat: final update for v2 branch
ebgranger Apr 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,7 @@ core

lerna-debug.log

**/*.spec.js
**/*.spec.js

#temp
ui
15 changes: 10 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
"plugin:testing-library/dom",
"plugin:jest-dom/recommended",
"plugin:storybook/recommended",
"plugin:react/jsx-runtime",
],
overrides: [
{
Expand All @@ -36,12 +37,16 @@ module.exports = {
rules: {
"react/prop-types": "off",
"@washingtonpost/wpds/theme-colors": "warn",
"no-restricted-syntax": [
"error",
},
},
// warning 'React' is defined but never used @typescript-eslint/no-unused-vars -- allow unused React
{
files: ["**/*.tsx"],
rules: {
"@typescript-eslint/no-unused-vars": [
"warn",
{
selector:
"ImportDeclaration[source.value='react'][specifiers.0.type='ImportDefaultSpecifier']",
message: "Default React import not allowed",
varsIgnorePattern: "React",
},
],
},
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:
test:
if: github.event.deployment_status.state == 'success' && !contains(github.event.deployment_status.target_url, 'storybook') && !contains(github.event.deployment_status.target_url, 'vitejs')
runs-on: ubuntu-latest
timeout-minutes: 20
container:
image: mcr.microsoft.com/playwright:v1.40.1-jammy
timeout-minutes: 25
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
Expand All @@ -25,6 +27,14 @@ jobs:
always-auth: true
cache: npm

- name: Cache playwright binaries
uses: actions/cache@v3
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: cache-playwright-linux-1.40.1

- name: Cache node_modules
id: cache-node_modules
uses: actions/cache@v3
Expand All @@ -44,18 +54,12 @@ jobs:
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

- name: Install Playwright Browsers
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: npx playwright install --with-deps

- name: Run Playwright tests
run: npx playwright test
run: npm run playwright
env:
BASEURL: "${{ github.event.deployment_status.target_url }}"
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

# - uses: actions/upload-artifact@v3
# if: always()
# with:
# name: playwright-report
# path: playwright-report/
# retention-days: 30
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ build.washingtonpost.com/public/storybook/**/*
/test-results/
/playwright-report/
/playwright/.cache/

.turbo

.idea/*
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ node_modules
out
jest-coverage
plop-templates
ui/theme/src/tokens.ts
/ui/theme/src/tokens.ts
/packages/kit/src/theme/tokens.ts
55 changes: 34 additions & 21 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,49 @@
import { dirname, join } from "path";
// add process.env
require("dotenv").config();

module.exports = {
stories: ["../ui/(**|!(node_modules))/src/*.stories.@(ts|tsx|js|jsx)"],
stories: ["../packages/kit/src/**/*.stories.tsx"],
exclude: ["node_modules", "dist"],

addons: [
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-a11y",
getAbsolutePath("@storybook/addon-essentials"),
getAbsolutePath("@storybook/addon-interactions"),
getAbsolutePath("@storybook/addon-a11y"),
],

previewBody: (body) => `${body}`,

features: {
storyStoreV7: true,
interactionsDebugger: true,
},
framework: "@storybook/react",
core: {
builder: "webpack5",

framework: {
name: getAbsolutePath("@storybook/nextjs"),
options: {},
},
typescript: {
check: true,
reactDocgen: "react-docgen-typescript",
reactDocgenTypescriptOptions: {
shouldExtractLiteralValuesFromEnum: true,
propFilter: (prop) =>
prop.parent
? /@radix-ui/.test(prop.parent.fileName) ||
!/node_modules/.test(prop.parent.fileName)
: true,
compilerOptions: {
allowSyntheticDefaultImports: false,
},
},

// typescript: {
// reactDocgen: "react-docgen-typescript",
// reactDocgenTypescriptOptions: {
// shouldExtractLiteralValuesFromEnum: true,
// propFilter: (prop) =>
// prop.parent
// ? /@radix-ui/.test(prop.parent.fileName) ||
// !/node_modules/.test(prop.parent.fileName)
// : true,
// compilerOptions: {
// allowSyntheticDefaultImports: false,
// },
// },
// },

docs: {
autodocs: true,
},
};

function getAbsolutePath(value) {
return dirname(require.resolve(join(value, "package.json")));
}
146 changes: 146 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,152 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0-alpha.12](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-04-10)

# [1.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.10...v1.24.0) (2024-04-09)

### Bug Fixes

- remove global styles from wpds-tokens ([2886b69](https://github.com/washingtonpost/wpds-ui-kit/commit/2886b6921257daa54fca191c1c554f8830bf5bf0))

### Features

- add v2 docs switcher ([#609](https://github.com/washingtonpost/wpds-ui-kit/issues/609)) ([49e35a1](https://github.com/washingtonpost/wpds-ui-kit/commit/49e35a13a67efaa5d64e457ac565f8b6970d0fd4))

## [1.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.23.0...v1.23.1) (2024-03-26)

### Bug Fixes

- ensure that dark theme colors get written into the dom ([#605](https://github.com/washingtonpost/wpds-ui-kit/issues/605)) ([9fb968e](https://github.com/washingtonpost/wpds-ui-kit/commit/9fb968e6ea78d2d657ef9f538decc0e2b25dcf35))

# [1.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.22.6...v1.23.0) (2024-03-25)

### Bug Fixes

- make input helper and error text block level elements for consistent formatting ([2640be2](https://github.com/washingtonpost/wpds-ui-kit/commit/2640be29f24f83199baa3c735bdd47c404dd700b))
- updated React types package to prevent type errors ([b647c60](https://github.com/washingtonpost/wpds-ui-kit/commit/b647c60662d9f75f8857f8f8205f5d4c04ba0cef))

### Features

- increase the specificity of the wpds-dark selector to ensure it overrides light variables ([fd7748f](https://github.com/washingtonpost/wpds-ui-kit/commit/fd7748fa7386396fa13bb52d8d67a1c513ccc6a9))

# [2.0.0-alpha.11](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2024-04-09)

**Note:** Version bump only for package root

# [2.0.0-alpha.10](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.7...v2.0.0-alpha.10) (2024-04-09)

### Bug Fixes

- add tokens specifier to exports ([#616](https://github.com/washingtonpost/wpds-ui-kit/issues/616)) ([261c231](https://github.com/washingtonpost/wpds-ui-kit/commit/261c2317d9f34c20da55afaa8d9012d45677ca52))
- new colors are not showing up ([#614](https://github.com/washingtonpost/wpds-ui-kit/issues/614)) ([9e9b975](https://github.com/washingtonpost/wpds-ui-kit/commit/9e9b9755f70bcd70ebde30501515f31269efaf7d))

# [2.0.0-alpha.9](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.7...v2.0.0-alpha.9) (2024-04-09)

### Bug Fixes

- add tokens specifier to exports ([#616](https://github.com/washingtonpost/wpds-ui-kit/issues/616)) ([261c231](https://github.com/washingtonpost/wpds-ui-kit/commit/261c2317d9f34c20da55afaa8d9012d45677ca52))
- new colors are not showing up ([#614](https://github.com/washingtonpost/wpds-ui-kit/issues/614)) ([9e9b975](https://github.com/washingtonpost/wpds-ui-kit/commit/9e9b9755f70bcd70ebde30501515f31269efaf7d))

# [2.0.0-alpha.8](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) (2024-04-04)

### Bug Fixes

- new colors are not showing up ([#614](https://github.com/washingtonpost/wpds-ui-kit/issues/614)) ([9e9b975](https://github.com/washingtonpost/wpds-ui-kit/commit/9e9b9755f70bcd70ebde30501515f31269efaf7d))

# [2.0.0-alpha.7](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.22.6...v2.0.0-alpha.7) (2024-04-02)

### Bug Fixes

- add nanoid back ([#607](https://github.com/washingtonpost/wpds-ui-kit/issues/607)) ([d862816](https://github.com/washingtonpost/wpds-ui-kit/commit/d862816e85c3f667b1bd5be1f253b7920261f01b))
- make input helper and error block level elements to preserve formatting ([20a9455](https://github.com/washingtonpost/wpds-ui-kit/commit/20a9455cd8a72f1c9c7521e5ced97f09e8b59604))
- transform Select arrow on open ([#597](https://github.com/washingtonpost/wpds-ui-kit/issues/597)) ([b0e77be](https://github.com/washingtonpost/wpds-ui-kit/commit/b0e77be13ee0e5989d81c976e2b5eb9f5a41a060))
- transform select icon on open ([#596](https://github.com/washingtonpost/wpds-ui-kit/issues/596)) ([1f68ace](https://github.com/washingtonpost/wpds-ui-kit/commit/1f68acef8dd386267b9b30c650df6abe11b10954))

# [2.0.0-alpha.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) (2024-03-14)

# [2.0.0-alpha.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.0...v2.0.0-alpha.1) (2024-03-14)

# [2.0.0-alpha.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.1.0-experimental.0...v2.0.0-alpha.0) (2024-03-14)

# [2.1.0-experimental.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.22.0...v2.1.0-experimental.0) (2024-03-13)

### Bug Fixes

- i don't know how dialog went mising ([#579](https://github.com/washingtonpost/wpds-ui-kit/issues/579)) ([e783d0a](https://github.com/washingtonpost/wpds-ui-kit/commit/e783d0a9a132e67f9b35e1434998a9b163969e25))
- merging main and resolving conflicts ([#585](https://github.com/washingtonpost/wpds-ui-kit/issues/585)) ([253effe](https://github.com/washingtonpost/wpds-ui-kit/commit/253effebcc310c6ceee9efbed2e346d7b3132691))
- Playroom fix ([#583](https://github.com/washingtonpost/wpds-ui-kit/issues/583)) ([6b8c42b](https://github.com/washingtonpost/wpds-ui-kit/commit/6b8c42beb93fb2a0e391df6aad5da78cf40d92e3))
- remove border for clear button on input search ([#560](https://github.com/washingtonpost/wpds-ui-kit/issues/560)) ([504b82f](https://github.com/washingtonpost/wpds-ui-kit/commit/504b82fa0a61249ccab701316ed04fda3077503c))
- remove defaultOpen from kitchen sink Tooltip example to prevent client server mismatch ([df842ac](https://github.com/washingtonpost/wpds-ui-kit/commit/df842ac97cbd9f1c6a8a680f4cd9f926f7563fb7))
- take latest minor of Radix accordion ([84f39d4](https://github.com/washingtonpost/wpds-ui-kit/commit/84f39d417b66125ba0efa54dadb08564b9538762))

### Features

- card ([#564](https://github.com/washingtonpost/wpds-ui-kit/issues/564)) ([ce0b9db](https://github.com/washingtonpost/wpds-ui-kit/commit/ce0b9db6985f44d848b0bf38c259f04107f03344))
- fresh install with updated node/npm ([#574](https://github.com/washingtonpost/wpds-ui-kit/issues/574)) ([848b697](https://github.com/washingtonpost/wpds-ui-kit/commit/848b697d97c6e98241b118ae24472a2fb7cede5a))
- move Button, Icon, theme, and VisuallyHidden to v2 package ([#562](https://github.com/washingtonpost/wpds-ui-kit/issues/562)) ([be3524d](https://github.com/washingtonpost/wpds-ui-kit/commit/be3524d388e177023b9c476a68020a478a893f50))
- remove nanoid dependency ([#555](https://github.com/washingtonpost/wpds-ui-kit/issues/555)) ([20f22d6](https://github.com/washingtonpost/wpds-ui-kit/commit/20f22d6a0869de6edb25312bb93638832320b82f))
- update Accordion to React 18 ([#565](https://github.com/washingtonpost/wpds-ui-kit/issues/565)) ([672e239](https://github.com/washingtonpost/wpds-ui-kit/commit/672e23918d9989de9d1a8702d3880b3f4f0ac38f))
- update package-lock ([ed5c500](https://github.com/washingtonpost/wpds-ui-kit/commit/ed5c500bd2e03de9c5a87e26b4edd159374c0273))
- updated InputLabel with latest Radix label component ([#552](https://github.com/washingtonpost/wpds-ui-kit/issues/552)) ([2ca485f](https://github.com/washingtonpost/wpds-ui-kit/commit/2ca485f6be2da0627fad98f3961ab71afdb84b23))
- v2 mass components upgrade/migration ([#578](https://github.com/washingtonpost/wpds-ui-kit/issues/578)) ([5e0394b](https://github.com/washingtonpost/wpds-ui-kit/commit/5e0394b4e6747bfd9fee1dc0bcd82d1dcb6cd9b6)), closes [#580](https://github.com/washingtonpost/wpds-ui-kit/issues/580) [#579](https://github.com/washingtonpost/wpds-ui-kit/issues/579)

# [2.0.0-alpha.6](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2024-03-15)

**Note:** Version bump only for package root

# [2.0.0-alpha.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2024-03-15)

**Note:** Version bump only for package root

# [2.0.0-alpha.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2024-03-15)

**Note:** Version bump only for package root

# [2.0.0-alpha.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.22.6...v2.0.0-alpha.3) (2024-03-14)

# [2.0.0-alpha.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) (2024-03-14)

# [2.0.0-alpha.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.0...v2.0.0-alpha.1) (2024-03-14)

# [2.0.0-alpha.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.1.0-experimental.1...v2.0.0-alpha.0) (2024-03-14)

# [2.1.0-experimental.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.1.0-experimental.0...v2.1.0-experimental.1) (2024-03-13)

# [2.1.0-experimental.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.22.0...v2.1.0-experimental.0) (2024-03-13)

### Bug Fixes

- i don't know how dialog went mising ([#579](https://github.com/washingtonpost/wpds-ui-kit/issues/579)) ([e783d0a](https://github.com/washingtonpost/wpds-ui-kit/commit/e783d0a9a132e67f9b35e1434998a9b163969e25))
- merging main and resolving conflicts ([#585](https://github.com/washingtonpost/wpds-ui-kit/issues/585)) ([253effe](https://github.com/washingtonpost/wpds-ui-kit/commit/253effebcc310c6ceee9efbed2e346d7b3132691))
- Playroom fix ([#583](https://github.com/washingtonpost/wpds-ui-kit/issues/583)) ([6b8c42b](https://github.com/washingtonpost/wpds-ui-kit/commit/6b8c42beb93fb2a0e391df6aad5da78cf40d92e3))
- remove border for clear button on input search ([#560](https://github.com/washingtonpost/wpds-ui-kit/issues/560)) ([504b82f](https://github.com/washingtonpost/wpds-ui-kit/commit/504b82fa0a61249ccab701316ed04fda3077503c))
- remove defaultOpen from kitchen sink Tooltip example to prevent client server mismatch ([df842ac](https://github.com/washingtonpost/wpds-ui-kit/commit/df842ac97cbd9f1c6a8a680f4cd9f926f7563fb7))
- take latest minor of Radix accordion ([84f39d4](https://github.com/washingtonpost/wpds-ui-kit/commit/84f39d417b66125ba0efa54dadb08564b9538762))

### Features

- card ([#564](https://github.com/washingtonpost/wpds-ui-kit/issues/564)) ([ce0b9db](https://github.com/washingtonpost/wpds-ui-kit/commit/ce0b9db6985f44d848b0bf38c259f04107f03344))
- fresh install with updated node/npm ([#574](https://github.com/washingtonpost/wpds-ui-kit/issues/574)) ([848b697](https://github.com/washingtonpost/wpds-ui-kit/commit/848b697d97c6e98241b118ae24472a2fb7cede5a))
- move Button, Icon, theme, and VisuallyHidden to v2 package ([#562](https://github.com/washingtonpost/wpds-ui-kit/issues/562)) ([be3524d](https://github.com/washingtonpost/wpds-ui-kit/commit/be3524d388e177023b9c476a68020a478a893f50))
- remove nanoid dependency ([#555](https://github.com/washingtonpost/wpds-ui-kit/issues/555)) ([20f22d6](https://github.com/washingtonpost/wpds-ui-kit/commit/20f22d6a0869de6edb25312bb93638832320b82f))
- update Accordion to React 18 ([#565](https://github.com/washingtonpost/wpds-ui-kit/issues/565)) ([672e239](https://github.com/washingtonpost/wpds-ui-kit/commit/672e23918d9989de9d1a8702d3880b3f4f0ac38f))
- update package-lock ([ed5c500](https://github.com/washingtonpost/wpds-ui-kit/commit/ed5c500bd2e03de9c5a87e26b4edd159374c0273))
- updated InputLabel with latest Radix label component ([#552](https://github.com/washingtonpost/wpds-ui-kit/issues/552)) ([2ca485f](https://github.com/washingtonpost/wpds-ui-kit/commit/2ca485f6be2da0627fad98f3961ab71afdb84b23))
- v2 mass components upgrade/migration ([#578](https://github.com/washingtonpost/wpds-ui-kit/issues/578)) ([5e0394b](https://github.com/washingtonpost/wpds-ui-kit/commit/5e0394b4e6747bfd9fee1dc0bcd82d1dcb6cd9b6)), closes [#580](https://github.com/washingtonpost/wpds-ui-kit/issues/580) [#579](https://github.com/washingtonpost/wpds-ui-kit/issues/579)

# [2.0.0-alpha.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) (2024-03-14)

**Note:** Version bump only for package root

# [2.0.0-alpha.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.0.0-alpha.0...v2.0.0-alpha.1) (2024-03-14)

**Note:** Version bump only for package root

# [2.0.0-alpha.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.1.0-experimental.0...v2.0.0-alpha.0) (2024-03-14)

**Note:** Version bump only for package root

# [1.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.23.1...v1.24.0) (2024-04-09)

### Bug Fixes
Expand Down
12 changes: 9 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
experimental-version:
npx lerna version --conventional-commits --conventional-prerelease --preid=experimental --sign-git-tag=experimental --no-changelog --yes --force-publish
npx lerna version prerelease --force-publish --preid=alpha --sign-git-tag=alpha

experimental-publish:
npx lerna publish from-package --dist-tag experimental --yes --no-verify-access

npx lerna publish from-package --dist-tag alpha
main-publish:
npx lerna publish from-package --yes --no-git-reset --no-verify-access

Expand Down Expand Up @@ -40,3 +40,9 @@ validate:
npm run lint:check
npm run format:check
npm run test

v2-migrate-component:
node scripts/move-component-to-new-dir.js $(componentName)
npx storybook@latest migrate csf-2-to-3 --glob="./packages/kit/src/$(componentName)/*.stories.tsx"
npx jscodeshift ./packages/kit/src/$(componentName) -t ./scripts/transform-wpds-imports.js --extensions=tsx
npx react-codemod update-react-imports ./packages/kit/src
35 changes: 35 additions & 0 deletions apps/nextjs13-approuter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
Loading
Loading