Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: update@coreui/react library imports#422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mrholek merged 1 commit intocoreui:mainfrommrholek:main
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletionspackages/docs/content/components/close-button/index.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/components/footer.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/components/header.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/components/icon.mdx
View file
Open in desktop
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
18 changes: 0 additions & 18 deletionspackages/docs/content/components/sidebar/index.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/components/table/index.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/forms/checks-radios.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/forms/form-control.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/forms/overview.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/layout/columns.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/layout/containers.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/layout/grid.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/layout/gutters.mdx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/content/templates/admin-dashboard.mdx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -15,7 +15,7 @@ import {
CImage,
CLink,
CRow
} from '@coreui/react/src/index'
} from '@coreui/react'

## React Admin & Dashboard Templates

Expand Down
1 change: 1 addition & 0 deletionspackages/docs/gatsby-node.mjs
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/src/components/ExampleSnippet.tsx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/src/components/ExampleSnippetLazy.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,7 @@ import { cibCodesandbox, cilCheckAlt, cilCopy } from '@coreui/icons'
import { CNav, CNavLink, CTooltip, useClipboard } from '@coreui/react'
import { openStackBlitzProject } from '../utils/stackblitz'
import { openCodeSandboxProject } from '../utils/codesandbox'
import { isInViewport } from '@coreui/react/src/utils'
import { isInViewport } from '@coreui/react'

interface CodeSnippets {
js?: string
Expand Down
2 changes: 1 addition & 1 deletionpackages/docs/src/components/Footer.tsx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/src/components/Header.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -25,7 +25,7 @@ import {
CHeaderToggler,
CNavItem,
useColorModes,
} from '@coreui/react/src'
} from '@coreui/react'
import { AppContext } from './../AppContext'

const Header = forwardRef<HTMLDivElement>(({}, ref) => {
Expand Down
2 changes: 1 addition & 1 deletionpackages/docs/src/components/Sidebar.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,7 +8,7 @@ import {
CDropdownItem,
CSidebar,
CSidebarBrand,
} from '@coreui/react/src'
} from '@coreui/react'
import { SidebarNav } from '.'

import { AppContext } from './../AppContext'
Expand Down
2 changes: 1 addition & 1 deletionpackages/docs/src/components/SidebarNav.tsx
View file
Open in desktop
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
2 changes: 1 addition & 1 deletionpackages/docs/src/components/Toc.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
import React, { CSSProperties, forwardRef, useState } from 'react'
import { CCollapse, CNav } from '@coreui/react/src/index'
import { CCollapse, CNav } from '@coreui/react'

export type TocItem = {
url: string
Expand Down
2 changes: 1 addition & 1 deletionpackages/docs/src/pages/404.tsx
View file
Open in desktop
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

[8]ページ先頭

©2009-2025 Movatter.jp