Open
Show file tree
Hide file tree
Changes from 1 commit
Show all changes
58 commits
Select commit Hold shift + click to select a range
746377d
docs: improve internal linking
mrholekDec 29, 2024
72ec01f
feat(CSidebar): add 'as' prop to CSidebar
Dec 30, 2024
caa1007
Merge pull request #421 from matt-jb/add-as-prop-to-sidebar
mrholekDec 31, 2024
8d2d46b
docs: update `@coreui/react` library imports
mrholekJan 2, 2025
b14949c
Merge pull request #422 from mrholek/main
mrholekJan 2, 2025
c54a0ab
chore: update dependencies and devDependencies
mrholekJan 2, 2025
36814f6
chore: update dependencies and devDependencies
mrholekJan 2, 2025
c2d2e7d
fix: lock the version of `@types/prop-types` to prevent `children` pr…
mrholekJan 2, 2025
b1ede20
tests: update tests
mrholekJan 3, 2025
e457ffe
fix(CModal): disable emitting the `onClose` event twice
mrholekJan 3, 2025
454be70
Merge pull request #423 from mrholek/main
mrholekJan 3, 2025
cdb4712
chore: clean-up
mrholekJan 3, 2025
3f03770
refactor(useColorModes): replace `window` with `globalThis`
mrholekJan 3, 2025
4bfeee2
Merge pull request #424 from mrholek/main
mrholekJan 3, 2025
d5b9a4d
chore: clean-up
mrholekJan 3, 2025
acceb01
build: update ESLint to v9.x
mrholekJan 8, 2025
3a57192
build: migrate `.prettierrc.js` to `eslint.config.mjs`
mrholekJan 8, 2025
cb1ef1f
Merge pull request #429 from mrholek/main
mrholekJan 8, 2025
7c91c99
feat(CDropdown, CPopover, CTooltip): allow passing custom popper conf…
mrholekJan 28, 2025
161bbd1
fix(CAccordion): add a missing ID attribute to the accordion collapse…
mrholekJan 28, 2025
35276cb
docs: update API documentation
mrholekFeb 6, 2025
58ace1b
fix(useColorModes): replace `globalThis` with `window` for SSR support
mrholekFeb 6, 2025
d2ca48d
chore: update dependencies and devDependencies
mrholekFeb 6, 2025
92609b2
refactor(CDropdown): remove `aria-hidden` to improve component access…
mrholekFeb 6, 2025
9f24e2f
chore: update the current year to 2025
mrholekFeb 7, 2025
be8ae22
release: v5.5.0
mrholekFeb 7, 2025
ef0e750
docs: update content
mrholekFeb 16, 2025
e53f0fe
chore: update dependencies and devDependencies
mrholekFeb 16, 2025
9d74c9c
refactor: migrate to Sass modules
mrholekFeb 16, 2025
d260367
docs: remove double # in links
mrholekApr 16, 2025
bb614f2
docs: update link to features
mrholekApr 16, 2025
25e8ff4
fix(CDropdown): incorrect menu positioning when the toggler is re-ren…
mrholekApr 29, 2025
46c4007
chore: update dependencies and devDependencies
mrholekApr 29, 2025
57b0f90
tests: update tests
mrholekApr 29, 2025
f451d62
refactor: improve typings
mrholekApr 29, 2025
e0f155f
refactor(CTabs): fully implement a controlled/uncontrolled pattern
mrholekApr 29, 2025
d8fd24a
chore: clean-up
mrholekApr 29, 2025
adc116d
refactor(CAccordion): move the context outside the component
mrholekApr 30, 2025
c719c6e
refactor(CToast): move the context outside the component
mrholekApr 30, 2025
b6dc072
refactor(CSidebarNav): move the context outside the component
mrholekApr 30, 2025
ad0ef5e
refactor(CProgress): move the context outside the component
mrholekApr 30, 2025
de2290b
refactor(CCarousel): move the context outside the component
mrholekApr 30, 2025
56e615d
refactor(CModal): move the context outside the component
mrholekApr 30, 2025
08dde3d
refactor(CModal): move the context outside the component
mrholekApr 30, 2025
cb15c39
docs: upadte API documentation
mrholekApr 30, 2025
e1ab484
docs: add "use with Bootstrap"
mrholekMay 1, 2025
4f128a0
docs: update bootstrap styles
mrholekMay 1, 2025
f80bc4a
release: v5.6.0
mrholekMay 1, 2025
fd9f2a8
docs: add withPrefix to urls
mrholekMay 15, 2025
07027d1
docs: update links to API
mrholekMay 15, 2025
0b7cbd8
feat(CButton): add support for unthemed outline and ghost buttons
mrholekMay 19, 2025
1ad29c6
feat(CNav): add enclosed variants
mrholekMay 19, 2025
bee8617
feat(CTabs): add enclosed variants
mrholekMay 19, 2025
3b37bd9
chore: update dependencies and devDependencies
mrholekMay 19, 2025
932d00f
release: v5.7.0
mrholekMay 19, 2025
c727396
refactor(CButton): improve variants handling
mrholekMay 29, 2025
38fc15a
docs: update content
mrholekJun 8, 2025
90d8100
refactor: update tabs component
mrholekJun 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Failed to load files.
Previous commit
Next commit
docs: update @coreui/react library imports
  • Loading branch information
@mrholek
mrholek committedJan 2, 2025
commit 8d2d46b7922a1607c1a48294badc779dbb8769bf
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,8 +6,6 @@ route: /components/close-button/
other_frameworks: close-button
---

import { CCloseButton } from '@coreui/react/src/index'

## Example

Provide an option to dismiss or close a component with `<CCloseButton>`. Default styling is limited, but highly customizable. Modify the Sass variables to replace the default `background-image`.
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ route: /components/footer
other_frameworks: footer
---

import { CFooter, CLink } from '@coreui/react/src/index'
import { CFooter, CLink } from '@coreui/react'

## Example

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -31,7 +31,7 @@ import {
CHeaderNav,
CHeaderText,
CHeaderToggler,
} from '@coreui/react/src/index'
} from '@coreui/react'

## Supported content

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,7 +14,7 @@ import {
CNavLink,
CRow,
CTabContent,
CTabPane } from '@coreui/react/src/index'
CTabPane } from '@coreui/react'
import {CIcon, CIconSvg} from '@coreui/icons-react/src/index'
import { cilList, cilShieldAlt } from '@coreui/icons'
import * as icon from '@coreui/icons';
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,24 +6,6 @@ route: /components/sidebar/
other_frameworks: sidebar
---

import CIcon from '@coreui/icons-react'
import { cilCloudDownload, cilLayers, cilPuzzle, cilSpeedometer } from '@coreui/icons'

import {
CBadge,
CSidebar,
CSidebarBrand,
CSidebarFooter,
CSidebarHeader,
CSidebarNav,
CSidebarToggler,
CNavGroup,
CNavGroupItems,
CNavItem,
CNavLink,
CNavTitle,
} from '@coreui/react/src/index'

## Supported content

Sidebar come with built-in support for a handful of sub-components. Choose from the following as needed:
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,7 +16,7 @@ import {
CTableHead,
CTableHeaderCell,
CTableRow,
} from '@coreui/react/src/index'
} from '@coreui/react'

## How to use React Table Component

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,7 +14,7 @@ import {
CFormLabel,
CFormSwitch,
CFormText,
} from '@coreui/react/src/index'
} from '@coreui/react'

## Approach

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,7 +14,7 @@ import {
CFormTextarea,
CCol,
CRow
} from '@coreui/react/src/index'
} from '@coreui/react'

## Example

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,7 +16,7 @@ import {
CFormText,
CCol,
CRow,
} from '@coreui/react/src/index'
} from '@coreui/react'

## Overview

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,7 +6,7 @@ menu: Layout
route: '/layout/columns'
---

import { CCol, CContainer, CRow } from '@coreui/react/src/index'
import { CCol, CContainer, CRow } from '@coreui/react'

## How they work

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,7 +6,7 @@ menu: Layout
route: "/layout/containers"
---

import { CCol, CContainer, CRow } from '@coreui/react/src/index'
import { CCol, CContainer, CRow } from '@coreui/react'

## How they work

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,7 +6,7 @@ menu: Layout
route: "/layout/grid"
---

import { CCol, CContainer, CRow } from '@coreui/react/src/index'
import { CCol, CContainer, CRow } from '@coreui/react'

## Example

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,7 +6,7 @@ menu: Layout
route: "/layout/gutters"
---

import { CCol, CContainer, CRow } from '@coreui/react/src/index'
import { CCol, CContainer, CRow } from '@coreui/react'

## How they work

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -15,6 +15,7 @@ export const onCreateWebpackConfig = ({ actions }) => {
setWebpackConfig({
resolve: {
alias: {
'@coreui/react': resolve(__dirname, '..', 'coreui-react/src/index.ts'),
'@example': examplePaths, // Adds all paths to a single alias
},
},
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,7 +2,7 @@ import React, { FC, lazy, Suspense, useEffect, useMemo, useState } from 'react'
import { Highlight, Language } from 'prism-react-renderer'
import CIcon from '@coreui/icons-react'
import { cibCodesandbox, cilCheckAlt, cilCopy } from '@coreui/icons'
import { CNav, CNavLink, CTooltip, useClipboard } from '@coreui/react/src/'
import { CNav, CNavLink, CTooltip, useClipboard } from '@coreui/react'
import { openStackBlitzProject } from '../utils/stackblitz'
import { openCodeSandboxProject } from '../utils/codesandbox'

Expand Down
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
import React, { FC } from 'react'

import { CContainer, CFooter } from '@coreui/react/src/index'
import { CContainer, CFooter } from '@coreui/react'

// @ts-expect-error json file
import pkg from './../../package.json'
Expand Down
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
import React, { ReactNode } from 'react'
import { Link } from 'gatsby'

import { CBadge, CNavGroup, CNavItem, CNavLink, CSidebarNav } from '@coreui/react/src/index'
import { CBadge, CNavGroup, CNavItem, CNavLink, CSidebarNav } from '@coreui/react'
import CIcon from '@coreui/icons-react'

export type Badge = {
Expand Down
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { graphql, useStaticQuery } from 'gatsby'
import { CButton } from '@coreui/react/src/index'
import { CButton } from '@coreui/react'

import Seo from '../components/Seo'

Expand Down