diff --git a/package.json b/package.json index 010d2fec..5794e29f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fictoan-react", - "version": "1.11.9-alpha.1", + "version": "1.11.9-alpha.2", "private": false, "description": "A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.", "repository": { diff --git a/src/components/OptionCard/OptionCard.tsx b/src/components/OptionCard/OptionCard.tsx index 19644638..ddc6f4cc 100644 --- a/src/components/OptionCard/OptionCard.tsx +++ b/src/components/OptionCard/OptionCard.tsx @@ -197,7 +197,7 @@ export const useOptionCard = (id: string) => { }; }; -export const useOptionCards = () => { +export const useOptionCardsGroup = () => { const { selectAllOptions, clearAllOptions, setSelectedOptions } = useContext(OptionCardsContext); return { selectAllOptions, clearAllOptions, setSelectedOptions }; }; diff --git a/src/components/OptionCard/index.tsx b/src/components/OptionCard/index.tsx index 76e7d500..7f2e5f67 100644 --- a/src/components/OptionCard/index.tsx +++ b/src/components/OptionCard/index.tsx @@ -1,2 +1,2 @@ export { OptionCard, OptionCardsGroup, type OptionCardProps } from "./OptionCard"; -export { useOptionCard } from "./OptionCard"; +export { useOptionCard, useOptionCardsGroup } from "./OptionCard"; diff --git a/src/components/index.tsx b/src/components/index.tsx index 82c98c4b..b538047a 100644 --- a/src/components/index.tsx +++ b/src/components/index.tsx @@ -112,7 +112,7 @@ export { Row, type RowProps } from "./Row"; // OPTION CARD ========================================================================================================= export { OptionCard, OptionCardsGroup, type OptionCardProps } from "./OptionCard"; -export { useOptionCard } from "./OptionCard"; +export { useOptionCard, useOptionCardsGroup } from "./OptionCard"; // SIDEBAR + CONTENT WRAPPER =========================================================================================== export { diff --git a/src/index.tsx b/src/index.tsx index 9bf3ba81..dc4022f2 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -127,7 +127,7 @@ export { // OPTION CARD ========================================================================================================= export { OptionCard, OptionCardsGroup, type OptionCardProps } from "./components/OptionCard"; -export { useOptionCard } from "./components/OptionCard"; +export { useOptionCard, useOptionCardsGroup } from "./components/OptionCard"; // PAGINATION ========================================================================================================== export { Pagination, type PaginationProps } from "./components/Pagination";