Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/coreui/coreui
Browse files Browse the repository at this point in the history
# Conflicts:
#	package-lock.json
#	package.json
#	scss/sidebar/_sidebar.scss
  • Loading branch information
mrholek committed Oct 27, 2024
2 parents fbea794 + e811acd commit eecb98a
Show file tree
Hide file tree
Showing 13 changed files with 1,024 additions and 1,322 deletions.
14 changes: 10 additions & 4 deletions build/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ const plugins = [
exclude: 'node_modules/**',
// Include the helpers in the bundle, at most one copy of each
babelHelpers: 'bundled'
}),
BOOTSTRAP && replace({
preventAssignment: true,
delimiters: ['', ''],
'/coreui': '/coreui', // prevents changes in URLs
coreui: 'bs',
'-coreui': '-bs',
'coreui=': 'bs=', // [data-coreui="navigation"] => [data-bs="navigation"] (workaround for `preventAssignment` being true),
'--cui-': '--bs-'
})
]
const globals = {
Expand All @@ -38,10 +47,7 @@ if (BUNDLE) {
plugins.push(
replace({
'process.env.NODE_ENV': '"production"',
preventAssignment: true,
...BOOTSTRAP && {
'coreui.': 'bs.'
}
preventAssignment: true
}),
nodeResolve()
)
Expand Down
2 changes: 2 additions & 0 deletions docs/content/components/sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ Sidebars use local CSS variables on `.sidebar`, `.sidebar-backdrop`, `.sidebar-n

{{< scss-docs name="sidebar-narrow-css-vars" file="scss/sidebar/_sidebar-narrow.scss" >}}

{{< scss-docs name="sidebar-narrow-unfoldable-css-vars" file="scss/sidebar/_sidebar-narrow.scss" >}}

{{< scss-docs name="sidebar-nav-css-vars" file="scss/sidebar/_sidebar-nav.scss" >}}

{{< scss-docs name="sidebar-toggler-css-vars" file="scss/sidebar/_sidebar.scss" >}}
Expand Down
25 changes: 0 additions & 25 deletions docs/layouts/shortcodes/css-vars-docs.html

This file was deleted.

Loading

0 comments on commit eecb98a

Please sign in to comment.