@coreui/react 4.9.0-alpha.0 → 4.9.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/tooltip/CTooltip.d.ts +2 -2
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/useColorModes.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +184 -243
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +185 -242
- package/dist/index.js.map +1 -1
- package/dist/props.d.ts +1 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/isRTL.d.ts +2 -0
- package/package.json +9 -9
- package/src/components/accordion/index.ts +1 -7
- package/src/components/dropdown/CDropdownMenu.tsx +5 -4
- package/src/components/form/CFormSelect.tsx +3 -1
- package/src/components/modal/CModal.tsx +2 -0
- package/src/components/popover/CPopover.tsx +60 -25
- package/src/components/popover/__tests__/__snapshots__/CPopover.spec.tsx.snap +2 -1
- package/src/components/progress/CProgress.tsx +1 -0
- package/src/components/sidebar/CSidebar.tsx +2 -2
- package/src/components/spinner/CSpinner.tsx +4 -2
- package/src/components/spinner/__tests__/__snapshots__/CSpinner.spec.tsx.snap +2 -2
- package/src/components/table/CTable.tsx +2 -1
- package/src/components/tooltip/CTooltip.tsx +64 -30
- package/src/components/tooltip/__tests__/CTooltip.spec.tsx +1 -1
- package/src/hooks/index.ts +2 -1
- package/src/hooks/useColorModes.ts +55 -0
- package/src/hooks/useForkedRef.ts +1 -1
- package/src/index.ts +1 -0
- package/src/props.ts +4 -1
- package/src/utils/index.ts +2 -1
- package/src/utils/isRTL.ts +13 -0
- package/src/components/accordion/__tests__/__snapshots__/CAccordionCollapse.spec.tsx.snap +0 -11
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
Several quick start options are available:
|
|
48
48
|
|
|
49
|
-
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.9.0-
|
|
49
|
+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.9.0-beta.0.zip)
|
|
50
50
|
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
|
|
51
51
|
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
|
|
52
52
|
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`
|
|
@@ -3,4 +3,4 @@ import { CAccordionBody } from './CAccordionBody';
|
|
|
3
3
|
import { CAccordionButton } from './CAccordionButton';
|
|
4
4
|
import { CAccordionHeader } from './CAccordionHeader';
|
|
5
5
|
import { CAccordionItem } from './CAccordionItem';
|
|
6
|
-
export { CAccordion, CAccordionBody, CAccordionButton, CAccordionHeader, CAccordionItem
|
|
6
|
+
export { CAccordion, CAccordionBody, CAccordionButton, CAccordionHeader, CAccordionItem };
|
|
@@ -10,7 +10,7 @@ export interface CTooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, 'con
|
|
|
10
10
|
*/
|
|
11
11
|
content: ReactNode | string;
|
|
12
12
|
/**
|
|
13
|
-
* Offset of the
|
|
13
|
+
* Offset of the tooltip relative to its target.
|
|
14
14
|
*/
|
|
15
15
|
offset?: [number, number];
|
|
16
16
|
/**
|
|
@@ -32,7 +32,7 @@ export interface CTooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, 'con
|
|
|
32
32
|
*/
|
|
33
33
|
placement?: 'auto' | 'top' | 'right' | 'bottom' | 'left';
|
|
34
34
|
/**
|
|
35
|
-
* Toggle the visibility of
|
|
35
|
+
* Toggle the visibility of tooltip component.
|
|
36
36
|
*/
|
|
37
37
|
visible?: boolean;
|
|
38
38
|
}
|
package/dist/hooks/index.d.ts
CHANGED
package/dist/index.d.ts
CHANGED