Skip to content

Commit d384d22

Browse files
committed
Merge branch 'main' of https://github.com/coreui/bootstrap
# Conflicts: # package-lock.json # package.json
2 parents 2094223 + f14bcf1 commit d384d22

File tree

387 files changed

+32512
-29209
lines changed

Some content is hidden

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

387 files changed

+32512
-29209
lines changed

.bundlewatch.config.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,59 @@
22
"files": [
33
{
44
"path": "./dist/css/coreui-grid.css",
5-
"maxSize": "7.25 kB"
5+
"maxSize": "7.5 kB"
66
},
77
{
88
"path": "./dist/css/coreui-grid.min.css",
9-
"maxSize": "6.65 kB"
9+
"maxSize": "6.55 kB"
1010
},
1111
{
1212
"path": "./dist/css/coreui-reboot.css",
13-
"maxSize": "2.65 kB"
13+
"maxSize": "2.75 kB"
1414
},
1515
{
1616
"path": "./dist/css/coreui-reboot.min.css",
1717
"maxSize": "2.5 kB"
1818
},
1919
{
2020
"path": "./dist/css/coreui-utilities.css",
21-
"maxSize": "8.15 kB"
21+
"maxSize": "8.0 kB"
2222
},
2323
{
2424
"path": "./dist/css/coreui-utilities.min.css",
25-
"maxSize": "7.4 kB"
25+
"maxSize": "7.25 kB"
2626
},
2727
{
2828
"path": "./dist/css/coreui.css",
29-
"maxSize": "30.25 kB"
29+
"maxSize": "28.75 kB"
3030
},
3131
{
3232
"path": "./dist/css/coreui.min.css",
33-
"maxSize": "28.8 kB"
33+
"maxSize": "26.5 kB"
3434
},
3535
{
3636
"path": "./dist/js/coreui.bundle.js",
37-
"maxSize": "46.00 kB"
37+
"maxSize": "43.0 kB"
3838
},
3939
{
4040
"path": "./dist/js/coreui.bundle.min.js",
4141
"maxSize": "24.60 kB"
4242
},
4343
{
4444
"path": "./dist/js/coreui.esm.js",
45-
"maxSize": "30 kB"
45+
"maxSize": "27.75 kB"
4646
},
4747
{
4848
"path": "./dist/js/coreui.esm.min.js",
49-
"maxSize": "20 kB"
49+
"maxSize": "18.5 kB"
5050
},
5151
{
5252
"path": "./dist/js/coreui.js",
53-
"maxSize": "30.75 kB"
53+
"maxSize": "28.5 kB"
5454
},
5555
{
5656
"path": "./dist/js/coreui.min.js",
57-
"maxSize": "17.7 kB"
57+
"maxSize": "16.25 kB"
5858
}
5959
],
6060
"ci": {

.cspell.json

+131
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"version": "0.2",
3+
"words": [
4+
"affordance",
5+
"allowfullscreen",
6+
"Analyser",
7+
"autohide",
8+
"autohiding",
9+
"autoplay",
10+
"autoplays",
11+
"blazingly",
12+
"Blockquotes",
13+
"Bootstrappers",
14+
"borderless",
15+
"Brotli",
16+
"browserslist",
17+
"browserslistrc",
18+
"btncheck",
19+
"btnradio",
20+
"callout",
21+
"callouts",
22+
"camelCase",
23+
"clearfix",
24+
"Codesniffer",
25+
"combinator",
26+
"Contentful",
27+
"Cpath",
28+
"Crossfade",
29+
"crossfading",
30+
"cssgrid",
31+
"Csvg",
32+
"Datalists",
33+
"Deque",
34+
"discoverability",
35+
"docsearch",
36+
"docsref",
37+
"dropend",
38+
"dropleft",
39+
"dropright",
40+
"dropstart",
41+
"dropup",
42+
"errorf",
43+
"favicon",
44+
"favicons",
45+
"fieldsets",
46+
"flexbox",
47+
"fullscreen",
48+
"getbootstrap",
49+
"Grayscale",
50+
"Hoverable",
51+
"hreflang",
52+
"hstack",
53+
"importmap",
54+
"jsdelivr",
55+
"Jumpstart",
56+
"keyframes",
57+
"libera",
58+
"libman",
59+
"Libsass",
60+
"lightboxes",
61+
"Lowercased",
62+
"markdownify",
63+
"mediaqueries",
64+
"minifiers",
65+
"misfunction",
66+
"mkdir",
67+
"monospace",
68+
"mouseleave",
69+
"navbars",
70+
"navs",
71+
"Neue",
72+
"noindex",
73+
"Noto",
74+
"offcanvas",
75+
"offcanvases",
76+
"Packagist",
77+
"popperjs",
78+
"prebuild",
79+
"precompiled",
80+
"prefersreducedmotion",
81+
"prepended",
82+
"printf",
83+
"rects",
84+
"relref",
85+
"rgba",
86+
"roboto",
87+
"RTLCSS",
88+
"ruleset",
89+
"screenreaders",
90+
"scrollbars",
91+
"scrollspy",
92+
"Segoe",
93+
"semibold",
94+
"socio",
95+
"srcset",
96+
"stackblitz",
97+
"stickied",
98+
"Stylelint",
99+
"subnav",
100+
"tabbable",
101+
"textareas",
102+
"toggleable",
103+
"topbar",
104+
"touchend",
105+
"twbs",
106+
"unitless",
107+
"unstylable",
108+
"unstyled",
109+
"Uppercased",
110+
"urlize",
111+
"vbtn",
112+
"viewports",
113+
"Vite",
114+
"vstack",
115+
"walkthroughs",
116+
"WCAG",
117+
"zindex"
118+
],
119+
"language": "en-US",
120+
"files": [
121+
"**/*.md"
122+
],
123+
"ignorePaths": [
124+
".cspell.json",
125+
"dist/",
126+
"*.min.*",
127+
"**/*rtl*",
128+
"**/tests/**"
129+
],
130+
"useGitignore": true
131+
}

.eslintrc.json

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
],
5353
"unicorn/explicit-length-check": "off",
5454
"unicorn/no-array-callback-reference": "off",
55-
"unicorn/no-array-for-each": "off",
5655
"unicorn/no-array-method-this-argument": "off",
5756
"unicorn/no-null": "off",
5857
"unicorn/no-unused-properties": "error",

.github/release-drafter.yml

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ categories:
77
- title: '❗ Breaking Changes'
88
labels:
99
- 'breaking-change'
10+
- title: '🚀 Highlights'
11+
labels:
12+
- 'release-highlight'
1013
- title: '🚀 Features'
1114
labels:
1215
- 'new-feature'

.github/workflows/browserstack.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: BrowserStack
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
env:
8+
FORCE_COLOR: 2
9+
NODE: 16
10+
11+
jobs:
12+
browserstack:
13+
runs-on: ubuntu-latest
14+
if: github.repository == 'twbs/bootstrap' && (!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]'))
15+
timeout-minutes: 30
16+
17+
steps:
18+
- name: Clone repository
19+
uses: actions/checkout@v3
20+
21+
- name: Set up Node.js
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: "${{ env.NODE }}"
25+
cache: npm
26+
27+
- name: Install npm dependencies
28+
run: npm ci
29+
30+
- name: Run dist
31+
run: npm run dist
32+
33+
- name: Run BrowserStack tests
34+
run: npm run js-test-cloud
35+
env:
36+
BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}"
37+
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
38+
GITHUB_SHA: "${{ github.sha }}"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Compress Images
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '**.jpg'
7+
- '**.jpeg'
8+
- '**.png'
9+
- '**.webp'
10+
11+
jobs:
12+
build:
13+
# Only run on Pull Requests within the same repository, and not from forks.
14+
if: github.event.pull_request.head.repo.full_name == github.repository
15+
name: calibreapp/image-actions
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout Repo
19+
uses: actions/checkout@v3
20+
21+
- name: Compress Images
22+
uses: calibreapp/[email protected]
23+
with:
24+
githubToken: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
uses: actions/checkout@v3
3131

3232
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@v1
33+
uses: github/codeql-action/init@v2
3434
with:
3535
languages: "javascript"
3636

3737
- name: Perform CodeQL Analysis
38-
uses: github/codeql-action/analyze@v1
38+
uses: github/codeql-action/analyze@v2

.github/workflows/cspell.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: cspell
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- "dependabot/**"
7+
pull_request:
8+
workflow_dispatch:
9+
10+
env:
11+
FORCE_COLOR: 2
12+
NODE: 16
13+
14+
jobs:
15+
cspell:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Clone repository
20+
uses: actions/checkout@v3
21+
22+
- name: Run cspell
23+
uses: streetsidesoftware/cspell-action@v2
24+
with:
25+
config: ".cspell.json"
26+
files: "**/*.md"
27+
inline: error
28+
incremental_files_only: false
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Close Issue Awaiting Reply
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
issue-close-require:
9+
runs-on: ubuntu-latest
10+
if: github.repository == 'twbs/bootstrap'
11+
steps:
12+
- name: awaiting reply
13+
uses: actions-cool/issues-helper@v3
14+
with:
15+
actions: "close-issues"
16+
labels: "awaiting-reply"
17+
inactive-day: 14
18+
body: |
19+
As the issue was labeled with `awaiting-reply`, but there has been no response in 14 days, this issue will be closed. If you have any questions, you can comment/reply.

.github/workflows/issue-labeled.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Issue Labeled
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
jobs:
8+
issue-labeled:
9+
if: github.repository == 'twbs/bootstrap'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: awaiting reply
13+
if: github.event.label.name == 'needs-example'
14+
uses: actions-cool/issues-helper@v3
15+
with:
16+
actions: "create-comment"
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
body: |
19+
Hello @${{ github.event.issue.user.login }}. Bug reports must include a **live demo** of the issue. Per our [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md), please create a reduced test case on [CodePen](https://codepen.io/) or [JS Bin](https://jsbin.com/) and report back with your link, Bootstrap version, and specific browser and Operating System details.

.github/workflows/release-notes.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release notes
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
update_release_draft:
11+
runs-on: ubuntu-latest
12+
if: github.repository == 'twbs/bootstrap'
13+
steps:
14+
- uses: release-drafter/release-drafter@v5
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/_gh_pages/
33
# Hugo resources folder
44
/resources/
5+
/.hugo_build.lock
56

67
# Numerous always-ignore extensions
78
*.diff

0 commit comments

Comments
 (0)