Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
47ff95b
chore: remove pre-1:1 elements
bennypowers Jan 18, 2023
fc02548
chore: remove pfe-sass
bennypowers Jan 18, 2023
c222cc6
chore: remove pfe-styles
bennypowers Jan 18, 2023
d74c1a4
chore: move elements to single package
bennypowers Jan 18, 2023
6ffd5b2
fix(core)!: remove pfelement and context decorators
bennypowers Jan 18, 2023
35c057b
docs(icon): fix dropdown
bennypowers Jan 18, 2023
acb1182
fix(tools): manifest demo generator
bennypowers Jan 18, 2023
7fe2434
fix(tools): dev-server css transforms
bennypowers Jan 18, 2023
478aa6f
fix(switch): desass
bennypowers Jan 18, 2023
b3d425d
chore: wip wireit
bennypowers Jan 18, 2023
8d03d06
chore: remove percy
bennypowers Jan 18, 2023
adf48cf
chore: remove npm-run-all
bennypowers Jan 18, 2023
7a6f0f8
fix(create): remove single-element package
bennypowers Jan 18, 2023
2cc69aa
refactor: package.json order
bennypowers Jan 18, 2023
0af00ca
fix: scripts
bennypowers Jan 19, 2023
28a7dae
fix(tools): lit css specifier when inlining
bennypowers Jan 19, 2023
ddce9dc
style: lint
bennypowers Jan 19, 2023
e3a397a
fix: tsc transforms
bennypowers Jan 19, 2023
847e612
chore: tests
bennypowers Jan 19, 2023
91355bd
chore: forget about sass
bennypowers Jan 19, 2023
9b6bcbe
chore: update dependencies
bennypowers Jan 19, 2023
a196bb8
refactor: simplify dev server
bennypowers Jan 19, 2023
371f815
test(tabs): stub logger
bennypowers Jan 19, 2023
fc4b145
test(accordion): make accordion more testable
bennypowers Jan 19, 2023
25214f7
fix(tools): esbuild funciton
bennypowers Jan 19, 2023
59f6879
chore: update github actions
bennypowers Jan 19, 2023
9f2403b
docs(code-block): update demo imports
bennypowers Jan 19, 2023
ce5fab3
chore: update 11ty version
bennypowers Jan 19, 2023
1210916
chore: fix dev server
bennypowers Jan 19, 2023
bb3397a
docs(card): update demo
bennypowers Jan 19, 2023
1045300
perf(icon): remove @observed decorator
bennypowers Jan 19, 2023
87925c1
fix(create-element): remove some monorepo stuff
bennypowers Jan 19, 2023
278edc6
fix: e2e scripts
bennypowers Jan 19, 2023
9de948f
chore: new script
bennypowers Jan 19, 2023
5bacfea
fix: new script
bennypowers Jan 19, 2023
02c70a1
style: lint generator
bennypowers Jan 19, 2023
cbf8326
fix(create)!: remove monorepo stuff
bennypowers Jan 19, 2023
df10bd2
chore: fix create build
bennypowers Jan 19, 2023
1e3f31a
style: refactor scripts
bennypowers Jan 19, 2023
df012b5
fix(create): package name, dmeo
bennypowers Jan 19, 2023
0f96d0d
fix(tools): bit better dev-server css reloading
bennypowers Jan 19, 2023
444e48a
docs: update READMEs
bennypowers Jan 19, 2023
15f86a1
chore: changesets
bennypowers Jan 19, 2023
85fa271
fix: desass stylesheets
bennypowers Jan 19, 2023
720d5be
chore: gitignore
bennypowers Jan 19, 2023
2afcc88
Merge branch 'main' into chore/elements
bennypowers Jan 23, 2023
d398dc7
chore: update deps
bennypowers Jan 23, 2023
d09ed9a
docs: update importMap
bennypowers Jan 23, 2023
3b49249
docs: remove pfe-styles demo
bennypowers Jan 23, 2023
9a2775e
fix(core): typescript types
bennypowers Jan 23, 2023
b963b30
Merge branch 'main' into chore/elements
bennypowers Jan 24, 2023
3e280e5
fix(tools): docs pages
bennypowers Jan 24, 2023
f4e3eda
docs: import maps, styles
bennypowers Jan 24, 2023
99aed06
chore: import paths
bennypowers Jan 24, 2023
e0ea4f3
fix(tools): bundle
bennypowers Jan 24, 2023
7eb6775
fix(button): css typo
bennypowers Jan 24, 2023
d79df5a
style: lint
bennypowers Jan 24, 2023
5d1b712
docs: global footer
bennypowers Jan 24, 2023
18b4bc5
docs: react snippet
bennypowers Jan 24, 2023
1232941
docs: fix imports
bennypowers Jan 24, 2023
11d5916
docs: nicer imports
bennypowers Jan 24, 2023
844f397
fix: start script
bennypowers Jan 25, 2023
5da553d
fix(tools): improve dev server ux
bennypowers Jan 25, 2023
5243ab1
docs: wip element screenshots
bennypowers Jan 25, 2023
6ae95cd
docs: screenshots
bennypowers Jan 25, 2023
25558fc
chore: move old changelogs
bennypowers Jan 25, 2023
fa8197c
docs: move screenshots to docs folder
bennypowers Jan 25, 2023
ea563c5
chore: fix commitlint action
bennypowers Jan 25, 2023
34840aa
docs: framework snippets
bennypowers Jan 25, 2023
42a00d8
fix(clipboard-copy): hack for shared stylesheets
bennypowers Jan 25, 2023
409ecd5
fix: adding patternfly elements to import map for demos
brianferry Jan 25, 2023
765b7e2
fix: removing component base importmap
brianferry Jan 25, 2023
e9dbac1
fix: icon urls
bennypowers Jan 26, 2023
dca949e
style: removing secondary cta color style on hover for overlay
brianferry Jan 26, 2023
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: 5 additions & 0 deletions .changeset/nasty-buckets-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@patternfly/pfe-core": major
---

Removed color-context and `@pfelement` decorators
5 changes: 5 additions & 0 deletions .changeset/spotty-teachers-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@patternfly/elements": major
---

Combined all elements into a single new package, `@patternfly/elements`
5 changes: 5 additions & 0 deletions .changeset/twelve-pears-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@patternfly/pfe-core": major
---

Removed `pfe-sass` and `pfe-styles`
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Top-most EditorConfig file
root = true

[*.{js,ts,py,json,sh,html,scss}]
[*.{js,ts,py,json,sh,html,css}]
indent_style = space
indent_size = 2

Expand Down
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*.njk
*.patch
*.png
*.scss
*.sh
*.spec.js
*.svg
Expand All @@ -33,7 +32,6 @@ docs/core
docs/components
node_modules

core/pfe-sass/docs/index.html
core/**/*.js
elements/**/*.js
tools/**/*.js
Expand Down
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ functionality:
- core/*/*.{ts,html}

styles:
- elements/*/*.{scss,css}
- elements/*/*.css
- tokens/**/*

tests:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ jobs:
if: github.repository == 'patternfly/patternfly-elements'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: 18
node-version: '18'
cache: npm

- name: Bundle
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ jobs:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: wagoid/commitlint-github-action@v4
- uses: wagoid/commitlint-github-action@v5
id: commitlint
continue-on-error: true
with:
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
with:
fetch-depth: 0

uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: '18'
cache: npm

- run: npm ci --prefer-offline
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
fetch-depth: 0

- uses: actions/setup-node@v2
with:
node-version: 18
node-version: '18'
cache: npm

- run: npm i --prefer-offline
- run: npm ci --prefer-offline
- run: npm run build
- run: npm run prepublishOnly --workspaces --if-present

Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

# Configures the node version used on GitHub-hosted runners
- name: Configure node version
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 18
node-version: '18'
cache: npm

- name: Install dependencies
Expand Down Expand Up @@ -106,7 +104,7 @@ jobs:

# Configures the node version used on GitHub-hosted runners
- name: Configure node version
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/visual-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
fetch-depth: 0

- uses: actions/setup-node@v2
with:
node-version: 18
node-version: '18'
cache: npm

- run: npm ci --prefer-offline

- name: Visual Regression Tests
run: npx percy exec -- playwright test
run: npx playwright test
env:
VISUAL_REGRESSION_ORIGIN: ${{ github.event.inputs.deployPrimeUrl }}
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
PW_EXPERIMENTAL_TS_ESM: 1

lighthouse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Generate URLs
id: urls
Expand Down
22 changes: 4 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
node_modules
**/node_modules

.wireit
.lvimrc
tmp
.tmp

Expand Down Expand Up @@ -45,20 +47,6 @@ elements/**/*.d.ts
core/**/*.d.ts
tools/**/*.d.ts

elements/**/__*.scss
core/**/__*.scss
tools/**/__*.scss

elements/**/*.css
core/**/*.css
tools/**/*.css

elements/**/*.css.map
core/**/*.css.map
tools/**/*.css.map

!elements/**/*--noscript.css

elements/*/package-lock.json
core/*/package-lock.json
tools/*/package-lock.json
Expand All @@ -75,6 +63,8 @@ tools/*/test/**/*.png
!core/*/demo/*
!tools/*/demo/*

!elements/pfe-icon/demo/icons/**/*.js

!scripts/**/*.js

*.tgz
Expand All @@ -96,10 +86,6 @@ local.log

test/.wct-kludge

# Sass
.sass-cache
# Sassdoc compiled assets ignored
elements/pfe-sass/demo/*
core/pfe-core/demo/*
!core/pfe-core/demo/example.html

Expand Down
5 changes: 0 additions & 5 deletions .lvimrc

This file was deleted.

15 changes: 0 additions & 15 deletions .percy.yml

This file was deleted.

1 change: 0 additions & 1 deletion @types/marked/index.d.ts

This file was deleted.

23 changes: 5 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,11 @@ A generator is included for creating web components that meet these goals.
git clone git@github.com:patternfly/patternfly-elements.git
cd patternfly-elements
npm ci # install dependencies.
npm run start
npm run start
```

### Additional dependencies

#### Hub

If you will be doing any release work, it is recommended that you install Hub.

To install on a MacOS: `brew install hub`.

For other systems, please see documentation:
- [Hub](https://hub.github.com/)

_Note: You will need to use [Node](https://nodejs.org/en/) v12 or higher._

#### nvm

Building PatternFly Elements requires specific versions of Node.js. To automate usage of the correct version, it is recommended that contributors install [nvm](https://github.com/nvm-sh/nvm#readme) as well an automatic version switcher like [avn](https://github.com/wbyoung/avn) or [shell-specific nvm integration](https://github.com/nvm-sh/nvm#deeper-shell-integration). With those installed, your terminal will automatically switch to the correct Node.js version when you `cd` into the PatternFly Elements repository.
Expand All @@ -50,14 +39,12 @@ Many commands have an optional argument of space-separated component name(s), if
```shell
# Build all components
npm run build

# Build one or more components
npm run build -w @patternfly/pfe-card
```

### Preview

Runs server process to preview files (does not build)
Runs development server.

```shell
npm start
```
Expand Down Expand Up @@ -100,12 +87,12 @@ npm run pr
### Documentation site
View the documentation locally
```shell
npm run start:docs
npm run start
```

Build the documentation site
```shell
npm run build:docs
npm run docs
```

## Support
Expand Down
76 changes: 0 additions & 76 deletions core/pfe-core/context.ts

This file was deleted.

Loading