Skip to content

Commit 762b604

Browse files
authored
fix(Overlay): faster transitions (#647)
1 parent 276dac1 commit 762b604

File tree

227 files changed

+3616
-5511
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+3616
-5511
lines changed

.changeset/neat-clouds-sleep.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@cube-dev/ui-kit': patch
3+
---
4+
5+
Faster overlay transition with 120ms duration instead of 180ms.

.changeset/strong-falcons-complain.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Minor fixes for typings.

.eslintrc.js

-111
This file was deleted.

.github/workflows/pull-request.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
with:
6565
github-token: ${{ secrets.GITHUB_TOKEN }}
6666
script: |
67-
const setMessage = require('${{ github.workspace }}/scripts/ci/set-message')
67+
const setMessage = require('${{ github.workspace }}/scripts/ci/set-message.cjs')
6868
6969
await setMessage({
7070
header: "## :package: NPM canary release",
@@ -158,7 +158,7 @@ jobs:
158158
with:
159159
github-token: ${{ secrets.GITHUB_TOKEN }}
160160
script: |
161-
const setMessage = require('${{ github.workspace }}/scripts/ci/set-message')
161+
const setMessage = require('${{ github.workspace }}/scripts/ci/set-message.cjs')
162162
163163
await setMessage({
164164
header: "## 🧪 Storybook is successfully deployed!",
@@ -224,7 +224,7 @@ jobs:
224224
with:
225225
github-token: ${{ secrets.GITHUB_TOKEN }}
226226
script: |
227-
const setMessage = require('${{ github.workspace }}/scripts/ci/set-message')
227+
const setMessage = require('${{ github.workspace }}/scripts/ci/set-message.cjs')
228228
229229
await setMessage({
230230
header: "## 🏗 Docs are successfully deployed!",

.github/workflows/size-limit.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Measure size
5555
id: measure_size
5656
continue-on-error: true
57-
run: BASELINE='./__compare/${{ env.REPORT_FOLDER }}/output.json' node ./scripts/ci/measure-size.mjs
57+
run: BASELINE='./__compare/${{ env.REPORT_FOLDER }}/output.json' node ./scripts/ci/measure-size.js
5858

5959
- name: Save stats
6060
run: echo '${{ steps.measure_size.outputs.result }}' > ./size-limit-report/output.json
@@ -87,7 +87,7 @@ jobs:
8787
with:
8888
github-token: ${{ secrets.GITHUB_TOKEN }}
8989
script: |
90-
const setMessage = require('${{ github.workspace }}/scripts/ci/set-message')
90+
const setMessage = require('${{ github.workspace }}/scripts/ci/set-message.cjs')
9191
9292
await setMessage({
9393
header: "## 🏋️ Size limit report",

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ stats.html
1414
.eslintcache
1515
yarn-error.log
1616
coverage
17-
size-limit-report
18-
size-limit-report-compare
17+
size-limit-report/stats.json

.prettierrc

-4
This file was deleted.

.prettierrc.cjs

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
singleQuote: true,
3+
trailingComma: 'all',
4+
importOrder: [
5+
'^:node',
6+
'<BUILTIN_MODULES>',
7+
'',
8+
'<THIRD_PARTY_MODULES>',
9+
'',
10+
'^[.]{2,}',
11+
'',
12+
'^[.]/(?!index)',
13+
'',
14+
'^[./]',
15+
'',
16+
'<TYPES>',
17+
'<TYPES>^[.]{2,}',
18+
'<TYPES>^[./]',
19+
],
20+
importOrderTypeScriptVersion: '5.0.0',
21+
plugins: ['@ianvs/prettier-plugin-sort-imports'],
22+
};

.size-limit.js renamed to .size-limit.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = [
1919
}),
2020
);
2121
},
22-
limit: '243kB',
22+
limit: '245kB',
2323
},
2424
{
2525
name: 'Tree shaking (just a Button)',

commitlint.config.cjs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
};

commitlint.config.js

-1
This file was deleted.

0 commit comments

Comments
 (0)