Skip to content
Open
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
f1ee2cd
chore: change url in regression test
joyenjoyer Jul 31, 2024
85ffcd4
chore: prepare docs and other chores for v10
balzss Jul 31, 2024
1e5809e
feat(many): rewrite color system
HerrTopi Jul 19, 2024
0363846
fix(ui-modal): fix modal border color
HerrTopi Jul 22, 2024
f55dc3e
fix(ui-buttons): fix hover enabled when a component is disabled
matyasf Jul 22, 2024
566751b
feat(ui-codemods): add codemod for v10 color update
joyenjoyer Jul 23, 2024
91eb1ee
docs(ui-codemods): add v10 codemod to docs
joyenjoyer Jul 31, 2024
7219606
feat(shared-types,ui-theme-tokens): add transparent colors to the pal…
HerrTopi Jul 31, 2024
45e2e77
chore(release): 10.0.0
balzss Jul 31, 2024
25ee79d
docs: update release docs with major update info
balzss Jul 24, 2024
7b78329
docs: add docs deploy step to major version update
joyenjoyer Aug 2, 2024
d7b1a3b
test(instui-config,ui-drawer-layout): fix failing legacy unit test
balzss Aug 2, 2024
c9d3330
chore: update github actions
balzss Aug 5, 2024
9102e16
chore: fix build on Windows
matyasf Jul 26, 2024
8c61905
chore: better way to invoke build-docs.mjs
matyasf Jul 29, 2024
a9a14fc
docs(ui-menu): `target` prop support for MenuItem
balzss Jul 29, 2024
7f66fe1
test(ui-list): migrate old List tests
ToMESSKa Jul 31, 2024
7dc5b30
test(instui-config,ui-text-input): migrate old TextInput tests
ToMESSKa Aug 7, 2024
054d761
test(ui-codemods): migrate old Codemods tests and implement pirates h…
git-nandor Aug 9, 2024
3d7611b
chore: add script to delete node_modules
matyasf Aug 6, 2024
6e96579
docs(many): function based examples are added to ToggleButton, Trucat…
ToMESSKa Aug 13, 2024
739383a
docs(ui-drilldown): function based examples are added to Drilldown
ToMESSKa Aug 8, 2024
3492008
docs(ui-modal,ui-tray): function based examples are added to Modal an…
ToMESSKa Aug 15, 2024
6be4f00
refactor(many): upgrade ESLint to v9 and other small dependencies. Fi…
matyasf Aug 22, 2024
c395e17
feat(many): add data visualization colors, refactor theme code
HerrTopi Aug 22, 2024
44b02ce
feat(ui-icons): add new AI icon
matyasf Aug 21, 2024
f12561e
chore(release): 10.1.0
HerrTopi Aug 23, 2024
173df0d
chore(ui-themes): add tokens folder to gitignore in ui-themes, run bu…
HerrTopi Aug 23, 2024
ba9046f
chore(release): 10.2.0
HerrTopi Aug 23, 2024
c2d239f
test(ui-drilldown): migrate old Drilldown tests
git-nandor Aug 6, 2024
3e74a02
test(ui-metric): migrate old Metric tests
ToMESSKa Aug 16, 2024
eb4fabf
refactor(ui-radio-input): better docs for name and value props
matyasf Aug 28, 2024
896954c
docs(ui-options): function based examples are added to Options
kadirsaglm41 Aug 25, 2024
f41d648
refactor(ui-table): table API rewort part 1: use Context instead of p…
matyasf Aug 26, 2024
7c629ea
refactor(ui-table): new API, be forgiving with invalid children
matyasf Aug 26, 2024
22e6772
refactor(ui-table): add documentation for new table API
matyasf Aug 27, 2024
1d65ff0
refactor(ui-table): add examples and tests for custom Table components
matyasf Aug 27, 2024
f8c4c85
refactor(ui-table): documentation improvements
matyasf Aug 27, 2024
4abf54d
refactor(ui-table): small docs improvements
matyasf Aug 28, 2024
9eaadb1
refactor: pR comment improvements
matyasf Aug 30, 2024
3e1780d
docs(ui-table): better docs
matyasf Aug 30, 2024
3874bb7
docs(ui-overlays,ui-pages): function based examples are added to Over…
ToMESSKa Aug 29, 2024
20011fb
refactor(many): fix mismatched vitest and internal dev dependencies
matyasf Aug 30, 2024
acbd40c
refactor(ui-table,ui-tag): remove not needed eslint-disable
matyasf Aug 30, 2024
2cf4255
chore(release): 10.2.1
ToMESSKa Aug 30, 2024
f46a74e
test(ui-grid): migrate old Grid tests
ToMESSKa Aug 29, 2024
f1a7c78
test(ui-alerts): migrate old Alert tests
ToMESSKa Aug 30, 2024
cbab3be
fix(ui-toggle-details): fix ToggleDetails flickering
joyenjoyer Sep 3, 2024
a6ebab8
docs(ui-calendar,ui-drawer-layout,ui-editable): function based exampl…
ToMESSKa Aug 15, 2024
9abdfef
docs(ui-text-input,ui-view): functional examples are added to TextInp…
Kadirsaglm Aug 29, 2024
3a859c5
test(ui): remove ui jest tests
git-nandor Aug 14, 2024
cfa9dc6
docs(ui-table): function based examples are added to Table
Kadirsaglm Aug 31, 2024
77b2a7d
fix(ui-checkbox,ui-radio-input): reduce clickable area of checkbox an…
joyenjoyer Sep 6, 2024
07840fb
docs(ui-date-time-input,ui-tabs): function based examples are added t…
Kadirsaglm Sep 1, 2024
aae996f
fix(ui-selectable): fix Select options not being selectable on iOS Sa…
matyasf Sep 3, 2024
115bd33
refactor: convert inst ESLint plugin to the v9 syntax, delete old pac…
matyasf Sep 12, 2024
ef97c7c
fix(docs): fix compileMarkdown heading id generation
Kadirsaglm Sep 1, 2024
6928c97
fix(docs): ensure page scrolls to anchor on load when linked
Kadirsaglm Sep 2, 2024
fa73851
chore: fix npm release script when its running on a multi line commit…
matyasf Sep 12, 2024
b84b87c
chore: codeSandbox error fixed in Select, SimpleSelect, Selectable
ToMESSKa Sep 10, 2024
a80d905
test(ui-time-select): migrate old TimeSelect tests
git-nandor Aug 28, 2024
48f7c69
test(ui-number-input): migrate old NumberInput tests
ToMESSKa Aug 27, 2024
daece8f
test(ui-text-area): migrate old TextArea tests
ToMESSKa Aug 13, 2024
5dfc458
docs(ui-editable,ui-menu,ui-number-input): functional based examples …
ToMESSKa Aug 27, 2024
4e201ea
chore(release): 10.2.2
matyasf Sep 13, 2024
48e78bb
fix(console): remove __PURE__ annotation from console to fix warnings…
matyasf Sep 13, 2024
2bc8554
feat(ui-menu): add renderLabelInfo to Menu
joyenjoyer Aug 26, 2024
b7cad0f
docs(ui-buttons): add theming override example for Button and IconButton
matyasf Sep 16, 2024
6c2359a
docs(ui-popover,ui-progress,ui-range-input): function based examples …
ToMESSKa Sep 10, 2024
1b0e204
chore: add older versions to gh pages deploy
joyenjoyer Sep 24, 2024
a5d0cee
docs(many): function based examples are added to SimpleSelect, Toggle…
Kadirsaglm Aug 29, 2024
1fa63c4
docs: import forwardRef into globals
Kadirsaglm Aug 29, 2024
b495635
Merge pull request #1 from joyenjoyer/gh_pages_deployment
joyenjoyer Sep 24, 2024
6d1a58a
dsdsdssd
joyenjoyer Sep 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
  •  
  •  
  •  
10 changes: 0 additions & 10 deletions .eslintignore

This file was deleted.

30 changes: 0 additions & 30 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs-to-netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
name: Deploy docs to Netlify.
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install netlify-cli
run: npm install --save-dev netlify-cli@13.2.2
- name: Install packages.
Expand Down
32 changes: 29 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,45 @@
name: Deploy docs from master commit
name: Deploy docs to gh-pages
on:
push:
branches:
- master
- v7_maintenance
- v8_maintenance
- v9_maintenance

jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run bootstrap

# Conditional build depending on branch
- name: Set build directory based on branch
id: set-build-dir
run: |
if [ "${{ github.ref }}" == "refs/heads/master" ]; then
echo "::set-output name=build_dir::./packages/__docs__/__build__"
echo "::set-output name=deploy_dir::./"
elif [ "${{ github.ref }}" == "refs/heads/v7_maintenance" ]; then
echo "::set-output name=build_dir::./packages/__docs__/__build__"
echo "::set-output name=deploy_dir::v7"
elif [ "${{ github.ref }}" == "refs/heads/v8_maintenance" ]; then
echo "::set-output name=build_dir::./packages/__docs__/__build__"
echo "::set-output name=deploy_dir::v8"
elif [ "${{ github.ref }}" == "refs/heads/v9_maintenance" ]; then
echo "::set-output name=build_dir::./packages/__docs__/__build__"
echo "::set-output name=deploy_dir::v9"
fi
- name: Build docs-app
run: npm run build:docs
- uses: JamesIves/github-pages-deploy-action@v4
- name: Copy redirects config file to the __build__ directory.
run: cp ./packages/__docs__/_redirects ./packages/__docs__/__build__
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./packages/__docs__/__build__
folder: ${{ steps.set-build-dir.outputs.build_dir }}
branch: gh-pages
target-folder: ${{ steps.set-build-dir.outputs.deploy_dir }}
clean-exclude: pr-preview
force: false
14 changes: 6 additions & 8 deletions .github/workflows/manual-release-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,30 @@ jobs:
runs-on: ubuntu-latest
name: Release to npm
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
cache: 'npm'
- name: Install packages
run: npm ci
- name: Set up project
run: npm run bootstrap
- name: Run tests
run: npm run test:patchset
- name: Release to NPM
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_EMAIL: ${{secrets.NPM_EMAIL}}
NPM_USERNAME: ${{secrets.NPM_USERNAME}}
run: npm run release -- --prRelease
- name: Get commit message
run: |
echo "commmit_message=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_ENV
run: | # puts the first line of the last commit message to the commmit_message env var
echo "commmit_message=$(git log --format=%B -n 1 ${{ github.event.after }} | head -n 1)" >> $GITHUB_ENV
- name: Set up git identity
if: "startsWith(env.commmit_message, 'chore(release)')"
run: git config --global user.name "instructure-ui-ci" && git config --global user.email "instructure-ui-ci@instructure.com"
# -a -m is needed to make the tag "annotated". Lerna needs annotated tags to work correctly with verisons
# -a -m is needed to make the tag "annotated". Lerna needs annotated tags to work correctly with versions
- name: Add tag
if: "startsWith(env.commmit_message, 'chore(release)')"
run: git tag -a v$(./.github/workflows/calculateVersion.sh) -m v$(./.github/workflows/calculateVersion.sh)
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/manual-release-to-npm.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
name: Npm release
name: Manual Npm release
on: workflow_dispatch
jobs:
release:
runs-on: ubuntu-latest
name: Release to npm
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install packages
run: npm ci
- name: Set up project
run: npm run bootstrap
- name: Run tests
run: npm run test:patchset
- name: Release to NPM
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_EMAIL: ${{secrets.NPM_EMAIL}}
NPM_USERNAME: ${{secrets.NPM_USERNAME}}
run: npm run release
- name: Get commit message
run: |
echo "commmit_message=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_ENV
run: | # puts the first line of the last commit message to the commmit_message env var
echo "commmit_message=$(git log --format=%B -n 1 ${{ github.event.after }} | head -n 1)" >> $GITHUB_ENV
- name: Set up git identity
if: "startsWith(env.commmit_message, 'chore(release)')"
run: git config --global user.name "instructure-ui-ci" && git config --global user.email "instructure-ui-ci@instructure.com"
# -a -m is needed to make the tag "annotated". Lerna needs annotated tags to work correctly with verisons
# -a -m is needed to make the tag "annotated". Lerna needs annotated tags to work correctly with versions
- name: Add tag
if: "startsWith(env.commmit_message, 'chore(release)')"
run: git tag -a v$(./.github/workflows/calculateVersion.sh) -m v$(./.github/workflows/calculateVersion.sh)
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ jobs:
run: npm run bootstrap
- name: Run legacy unit tests
run: npm run test
- name: Run legacy jest tests
run: npm run test:jest
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Npm install and bootstrap
run: npm ci && npm run bootstrap
if: github.event.action != 'closed' # don't run install and bootstrap unnecessarily when pr is closed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up project.
run: npm run bootstrap
- name: Run tests.
run: USE_REACT_STRICT_MODE=0 npm run test && npm run test:vitest && npm run test:jest && npm run cy:component
run: USE_REACT_STRICT_MODE=0 npm run test && npm run test:vitest && npm run cy:component
- name: Release to NPM
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/vrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,25 @@ on:
push:
branches:
- master
- v9_maintenance
- v8_maintenance
pull_request:
branches:
- master
- v9_maintenance
- v8_maintenance
jobs:
chromatic_deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Node 20
- name: Install Node 22
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- name: Install project dependencies
run: npm ci
- name: Bootstrap project
Expand Down
Loading