Skip to content

Commit e0fa3a9

Browse files
committed
Merge branch 'v4-dev' of https://github.com/coreui/coreui into v4-dev-sync-pro
# Conflicts: # docs/content/4.0/utilities/colors.md # scss/_utilities.scss # scss/_variables.scss # scss/mixins/_gradients.scss # scss/sidebar/_sidebar.scss
2 parents 840ed42 + b4c93f2 commit e0fa3a9

File tree

297 files changed

+31996
-8986
lines changed

Some content is hidden

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

297 files changed

+31996
-8986
lines changed

.bundlewatch.config.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
11
{
22
"files": [
33
{
4-
"path": "./dist/css/bootstrap-grid.css",
4+
"path": "./dist/css/coreui-grid.css",
55
"maxSize": "7 kB"
66
},
77
{
8-
"path": "./dist/css/bootstrap-grid.min.css",
8+
"path": "./dist/css/coreui-grid.min.css",
99
"maxSize": "6 kB"
1010
},
1111
{
12-
"path": "./dist/css/bootstrap-reboot.css",
12+
"path": "./dist/css/coreui-reboot.css",
1313
"maxSize": "2.25 kB"
1414
},
1515
{
16-
"path": "./dist/css/bootstrap-reboot.min.css",
16+
"path": "./dist/css/coreui-reboot.min.css",
1717
"maxSize": "2 kB"
1818
},
1919
{
20-
"path": "./dist/css/bootstrap-utilities.css",
21-
"maxSize": "7 kB"
20+
"path": "./dist/css/coreui-utilities.css",
21+
"maxSize": "7.5 kB"
2222
},
2323
{
24-
"path": "./dist/css/bootstrap-utilities.min.css",
25-
"maxSize": "6.25 kB"
24+
"path": "./dist/css/coreui-utilities.min.css",
25+
"maxSize": "6.75 kB"
2626
},
2727
{
28-
"path": "./dist/css/bootstrap.css",
29-
"maxSize": "24 kB"
28+
"path": "./dist/css/coreui.css",
29+
"maxSize": "24.25 kB"
3030
},
3131
{
32-
"path": "./dist/css/bootstrap.min.css",
33-
"maxSize": "22 kB"
32+
"path": "./dist/css/coreui.min.css",
33+
"maxSize": "22.25 kB"
3434
},
3535
{
36-
"path": "./dist/js/bootstrap.bundle.js",
37-
"maxSize": "41 kB"
36+
"path": "./dist/js/coreui.bundle.js",
37+
"maxSize": "43 kB"
3838
},
3939
{
40-
"path": "./dist/js/bootstrap.bundle.min.js",
41-
"maxSize": "21.5 kB"
40+
"path": "./dist/js/coreui.bundle.min.js",
41+
"maxSize": "22.5 kB"
4242
},
4343
{
4444
"path": "./dist/js/coreui.esm.js",
45-
"maxSize": "27 kB"
45+
"maxSize": "28.5 kB"
4646
},
4747
{
48-
"path": "./dist/js/bootstrap.esm.min.js",
49-
"maxSize": "18 kB"
48+
"path": "./dist/js/coreui.esm.min.js",
49+
"maxSize": "19 kB"
5050
},
5151
{
52-
"path": "./dist/js/bootstrap.js",
53-
"maxSize": "28 kB"
52+
"path": "./dist/js/coreui.js",
53+
"maxSize": "29 kB"
5454
},
5555
{
56-
"path": "./dist/js/bootstrap.min.js",
57-
"maxSize": "15.5 kB"
56+
"path": "./dist/js/coreui.min.js",
57+
"maxSize": "16.25 kB"
5858
}
5959
],
6060
"ci": {

.eslintrc.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,23 @@
3636
"error",
3737
"always"
3838
],
39-
"prefer-named-capture-group": "off",
4039
"semi": [
4140
"error",
4241
"never"
4342
],
4443
"unicorn/consistent-function-scoping": "off",
4544
"unicorn/explicit-length-check": "off",
46-
"unicorn/import-index": "off",
47-
"unicorn/no-fn-reference-in-iterator": "off",
45+
"unicorn/no-array-callback-reference": "off",
46+
"unicorn/no-array-for-each": "off",
4847
"unicorn/no-for-loop": "off",
4948
"unicorn/no-null": "off",
5049
"unicorn/no-unused-properties": "error",
5150
"unicorn/no-useless-undefined": "off",
52-
"unicorn/prefer-dataset": "off",
53-
"unicorn/prefer-node-append": "off",
54-
"unicorn/prefer-node-remove": "off",
55-
"unicorn/prefer-optional-catch-binding": "off",
51+
"unicorn/prefer-dom-node-append": "off",
52+
"unicorn/prefer-dom-node-dataset": "off",
53+
"unicorn/prefer-dom-node-remove": "off",
5654
"unicorn/prefer-query-selector": "off",
55+
"unicorn/prefer-spread": "off",
5756
"unicorn/prevent-abbreviations": "off"
5857
}
5958
}

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,10 @@ updates:
1515
- v5
1616
versioning-strategy: increase
1717
rebase-strategy: disabled
18+
- package-ecosystem: "github-actions"
19+
directory: "/"
20+
schedule:
21+
interval: weekly
22+
day: tuesday
23+
time: "12:00"
24+
timezone: Europe/Athens

.github/release-drafter.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ prerelease: true
44
exclude-labels:
55
- 'skip-changelog'
66
categories:
7+
- title: '❗ Breaking Changes'
8+
labels:
9+
- 'breaking-change'
710
- title: '🚀 Features'
811
labels:
912
- 'new-feature'
@@ -14,6 +17,9 @@ categories:
1417
- 'fix'
1518
- 'bugfix'
1619
- 'bug'
20+
- title: '⚡ Performance Improvements'
21+
labels:
22+
- 'performance'
1723
- title: '🎨 CSS'
1824
labels:
1925
- 'css'
@@ -26,11 +32,19 @@ categories:
2632
- title: '🌎 Accessibility'
2733
labels:
2834
- 'accessibility'
35+
- title: '🔧 Utility API'
36+
labels:
37+
- 'utility API'
38+
- 'utilities'
39+
- title: '🏭 Tests'
40+
labels:
41+
- 'tests'
2942
- title: '🧰 Misc'
3043
labels:
3144
- 'build'
3245
- 'meta'
3346
- 'chore'
47+
- 'CI'
3448
- title: '📦 Dependencies'
3549
labels:
3650
- 'dependencies'

.github/workflows/browserstack.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ on:
44
push:
55

66
env:
7-
CI: true
87
FORCE_COLOR: 2
9-
NODE: 14.x
8+
NODE: 14
109

1110
jobs:
1211
browserstack:
@@ -19,18 +18,17 @@ jobs:
1918
uses: actions/checkout@v2
2019

2120
- name: Set up Node.js
22-
uses: actions/setup-node@v1
21+
uses: actions/setup-node@v2
2322
with:
2423
node-version: "${{ env.NODE }}"
2524

2625
- name: Set up npm cache
2726
uses: actions/cache@v2
2827
with:
2928
path: ~/.npm
30-
key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
29+
key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
3130
restore-keys: |
32-
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
33-
${{ runner.OS }}-node-v${{ env.NODE }}-
31+
${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
3432
3533
- name: Install npm dependencies
3634
run: npm ci

.github/workflows/bundlewatch.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@ name: Bundlewatch
22

33
on:
44
push:
5-
branches-ignore:
6-
- "dependabot/**"
75
pull_request:
86

97
env:
10-
CI: true
118
FORCE_COLOR: 2
12-
NODE: 14.x
9+
NODE: 14
1310

1411
jobs:
1512
bundlewatch:
@@ -20,18 +17,17 @@ jobs:
2017
uses: actions/checkout@v2
2118

2219
- name: Set up Node.js
23-
uses: actions/setup-node@v1
20+
uses: actions/setup-node@v2
2421
with:
2522
node-version: "${{ env.NODE }}"
2623

2724
- name: Set up npm cache
2825
uses: actions/cache@v2
2926
with:
3027
path: ~/.npm
31-
key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
28+
key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
3229
restore-keys: |
33-
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
34-
${{ runner.OS }}-node-v${{ env.NODE }}-
30+
${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
3531
3632
- name: Install npm dependencies
3733
run: npm ci

.github/workflows/codeql.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
branches:
1212
- main
1313
- v4-dev
14+
- "!dependabot/**"
1415
schedule:
1516
- cron: "0 2 * * 5"
1617

@@ -22,15 +23,6 @@ jobs:
2223
steps:
2324
- name: Checkout repository
2425
uses: actions/checkout@v2
25-
with:
26-
# We must fetch at least the immediate parents so that if this is
27-
# a pull request then we can checkout the head.
28-
fetch-depth: 2
29-
30-
# If this run was triggered by a pull request event, then checkout
31-
# the head of the pull request instead of the merge commit.
32-
- run: git checkout HEAD^2
33-
if: ${{ github.event_name == 'pull_request' }}
3426

3527
# Initializes the CodeQL tools for scanning.
3628
- name: Initialize CodeQL

.github/workflows/css.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ on:
77
pull_request:
88

99
env:
10-
CI: true
1110
FORCE_COLOR: 2
12-
NODE: 14.x
11+
NODE: 14
1312

1413
jobs:
1514
css:
@@ -20,18 +19,17 @@ jobs:
2019
uses: actions/checkout@v2
2120

2221
- name: Set up Node.js
23-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v2
2423
with:
2524
node-version: "${{ env.NODE }}"
2625

2726
- name: Set up npm cache
2827
uses: actions/cache@v2
2928
with:
3029
path: ~/.npm
31-
key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
30+
key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
3231
restore-keys: |
33-
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
34-
${{ runner.OS }}-node-v${{ env.NODE }}-
32+
${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
3533
3634
- name: Install npm dependencies
3735
run: npm ci

.github/workflows/docs.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ on:
77
pull_request:
88

99
env:
10-
CI: true
1110
FORCE_COLOR: 2
12-
NODE: 14.x
11+
NODE: 14
1312

1413
jobs:
1514
docs:
@@ -20,7 +19,7 @@ jobs:
2019
uses: actions/checkout@v2
2120

2221
- name: Set up Node.js
23-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v2
2423
with:
2524
node-version: "${{ env.NODE }}"
2625

@@ -30,10 +29,9 @@ jobs:
3029
uses: actions/cache@v2
3130
with:
3231
path: ~/.npm
33-
key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
32+
key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
3433
restore-keys: |
35-
${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
36-
${{ runner.OS }}-node-v${{ env.NODE }}-
34+
${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
3735
3836
- name: Install npm dependencies
3937
run: npm ci

.github/workflows/js.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
pull_request:
88

99
env:
10-
CI: true
1110
FORCE_COLOR: 2
1211

1312
jobs:
@@ -25,18 +24,17 @@ jobs:
2524
uses: actions/checkout@v2
2625

2726
- name: Set up Node.js
28-
uses: actions/setup-node@v1
27+
uses: actions/setup-node@v2
2928
with:
3029
node-version: ${{ matrix.node }}
3130

3231
- name: Set up npm cache
3332
uses: actions/cache@v2
3433
with:
3534
path: ~/.npm
36-
key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}}
35+
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
3736
restore-keys: |
38-
${{ runner.OS }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
39-
${{ runner.OS }}-node-v${{ matrix.node }}-
37+
${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
4038
4139
- name: Install npm dependencies
4240
run: npm ci
@@ -48,7 +46,7 @@ jobs:
4846
run: npm run js-test
4947

5048
- name: Run Coveralls
51-
uses: coverallsapp/github-action@master
49+
uses: coverallsapp/github-action@v1.1.2
5250
if: matrix.node == 14
5351
with:
5452
github-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)