diff --git a/CHANGELOG.md b/CHANGELOG.md index 45aca06f9..5cd9d02fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# v21.0.1 (Tue Aug 27 2024) + +#### 🐛 Bug Fix + +- `@stenajs-webui/calendar`, `@stenajs-webui/panels` + - Add test ids to travel calendar days [#771](https://github.com/StenaIT/stenajs-webui/pull/771) ([@Yoorkevich](https://github.com/Yoorkevich)) + +#### Authors: 1 + +- [@Yoorkevich](https://github.com/Yoorkevich) + +--- + # v21.0.0 (Fri Aug 23 2024) #### 💥 Breaking Change diff --git a/lerna.json b/lerna.json index 18cefad4c..af61413f7 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "21.0.0", + "version": "21.0.1", "command": { "publish": { "verifyAccess": false diff --git a/packages/calendar/package.json b/packages/calendar/package.json index a177eb9d5..56619c0b1 100644 --- a/packages/calendar/package.json +++ b/packages/calendar/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/calendar", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -33,12 +33,12 @@ "deploy": "gh-pages -d example/build" }, "dependencies": { - "@stenajs-webui/core": "21.0.0", - "@stenajs-webui/elements": "21.0.0", - "@stenajs-webui/forms": "21.0.0", - "@stenajs-webui/input-mask": "21.0.0", - "@stenajs-webui/theme": "21.0.0", - "@stenajs-webui/tooltip": "21.0.0", + "@stenajs-webui/core": "21.0.1", + "@stenajs-webui/elements": "21.0.1", + "@stenajs-webui/forms": "21.0.1", + "@stenajs-webui/input-mask": "21.0.1", + "@stenajs-webui/theme": "21.0.1", + "@stenajs-webui/tooltip": "21.0.1", "classnames": "^2.3.1", "date-fns": "3.6.0", "lodash-es": "^4.17.21" diff --git a/packages/calendar/src/components/calendar-types/travel-date-calendar/TravelDateCalendar.stories.tsx b/packages/calendar/src/components/calendar-types/travel-date-calendar/TravelDateCalendar.stories.tsx index 59f03a1f6..87b7a86b8 100644 --- a/packages/calendar/src/components/calendar-types/travel-date-calendar/TravelDateCalendar.stories.tsx +++ b/packages/calendar/src/components/calendar-types/travel-date-calendar/TravelDateCalendar.stories.tsx @@ -5,6 +5,7 @@ import { TravelDateCalendar } from "./TravelDateCalendar"; import { Column, Heading, Row, Spacing } from "@stenajs-webui/core"; import { Banner, Label } from "@stenajs-webui/elements"; import { parseLocalizedDateString } from "../../../features/localize-date-format/LocalizedDateParser"; +import { isToday } from "date-fns"; export default { title: "calendar/Calendar/TravelDateCalendar", @@ -47,6 +48,27 @@ export const WithHeading = () => { ); }; +export const WithTestId = () => { + const [value, setValue] = useState(""); + + const testId = (date: Date) => { + if (isToday(date)) { + return "today"; + } + return undefined; + }; + return ( +
+ +
+ ); +}; + export const Locales = () => { const locales = [ "sv", diff --git a/packages/calendar/src/components/calendar-types/travel-date-calendar/TravelDateCalendar.tsx b/packages/calendar/src/components/calendar-types/travel-date-calendar/TravelDateCalendar.tsx index 1d26708dc..cf602e58e 100644 --- a/packages/calendar/src/components/calendar-types/travel-date-calendar/TravelDateCalendar.tsx +++ b/packages/calendar/src/components/calendar-types/travel-date-calendar/TravelDateCalendar.tsx @@ -22,6 +22,7 @@ export interface TravelDateCalendarProps firstMonthInMonthPicker?: Date; numMonthsInMonthPicker?: number; size?: TravelCalendarSizeVariant; + dateTestId?: (date: Date) => string | undefined; } export const TravelDateCalendar: React.FC = ({ @@ -36,6 +37,7 @@ export const TravelDateCalendar: React.FC = ({ headingLevel, numMonthsInMonthPicker = 12, firstMonthInMonthPicker = new Date(), + dateTestId, size = "medium", }) => { const inputProps = useTravelDateInput( @@ -85,6 +87,7 @@ export const TravelDateCalendar: React.FC = ({ selectedEndDate={selectedDate} isValidDateRange={Boolean(selectedDate)} multiSelectable={false} + dateTestId={dateTestId} /> )} diff --git a/packages/calendar/src/components/calendar-types/travel-date-range-calendar/TravelDateRangeCalendar.stories.tsx b/packages/calendar/src/components/calendar-types/travel-date-range-calendar/TravelDateRangeCalendar.stories.tsx index f07452e25..f31b9563d 100644 --- a/packages/calendar/src/components/calendar-types/travel-date-range-calendar/TravelDateRangeCalendar.stories.tsx +++ b/packages/calendar/src/components/calendar-types/travel-date-range-calendar/TravelDateRangeCalendar.stories.tsx @@ -6,6 +6,7 @@ import { Column, Heading, Row, Spacing } from "@stenajs-webui/core"; import { Banner, Label } from "@stenajs-webui/elements"; import { TravelDateRangeInputValue } from "../../../features/travel-calendar/types"; import { parseLocalizedDateString } from "../../../features/localize-date-format/LocalizedDateParser"; +import { isToday } from "date-fns"; export default { title: "calendar/Calendar/TravelDateRangeCalendar", @@ -52,6 +53,29 @@ export const WithHeading = () => { ); }; +export const WithTestId = () => { + const [value, setValue] = useState( + undefined + ); + const testId = (date: Date) => { + if (isToday(date)) { + return "today"; + } + return undefined; + }; + + return ( +
+ +
+ ); +}; + export const Locales = () => { const locales = [ "sv", diff --git a/packages/calendar/src/components/calendar-types/travel-date-range-calendar/TravelDateRangeCalendar.tsx b/packages/calendar/src/components/calendar-types/travel-date-range-calendar/TravelDateRangeCalendar.tsx index 7114662b8..fdbf9f079 100644 --- a/packages/calendar/src/components/calendar-types/travel-date-range-calendar/TravelDateRangeCalendar.tsx +++ b/packages/calendar/src/components/calendar-types/travel-date-range-calendar/TravelDateRangeCalendar.tsx @@ -24,6 +24,7 @@ export interface TravelDateRangeCalendarProps firstMonthInMonthPicker?: Date; numMonthsInMonthPicker?: number; size?: TravelCalendarSizeVariant; + dateTestId?: (date: Date) => string | undefined; } export const TravelDateRangeCalendar: React.FC< @@ -42,6 +43,7 @@ export const TravelDateRangeCalendar: React.FC< numMonthsInMonthPicker = 12, firstMonthInMonthPicker = new Date(), size = "medium", + dateTestId, }) => { const inputProps = useTravelDateRangeInput( value, @@ -83,7 +85,12 @@ export const TravelDateRangeCalendar: React.FC< /> {visiblePanel === "calendar" && ( - + )} {visiblePanel === "month-picker" && ( diff --git a/packages/calendar/src/components/input-types/travel-date-input/TravelDateInput.stories.tsx b/packages/calendar/src/components/input-types/travel-date-input/TravelDateInput.stories.tsx index b5b03cd25..e71d1e61d 100644 --- a/packages/calendar/src/components/input-types/travel-date-input/TravelDateInput.stories.tsx +++ b/packages/calendar/src/components/input-types/travel-date-input/TravelDateInput.stories.tsx @@ -11,7 +11,7 @@ import { } from "@stenajs-webui/elements"; import { parseLocalizedDateString } from "../../../features/localize-date-format/LocalizedDateParser"; import { formatLocalizedDate } from "../../../features/localize-date-format/LocalizedDateFormatter"; -import { addDays } from "date-fns"; +import { addDays, isToday } from "date-fns"; export default { title: "calendar/Input/TravelDateInput", @@ -54,6 +54,28 @@ export const WithHeading = () => { ); }; +export const WithTestId = () => { + const [value, setValue] = useState(""); + + const testId = (date: Date) => { + if (isToday(date)) { + return "today"; + } + return undefined; + }; + + return ( +
+ +
+ ); +}; + export const Sizes = () => { const [value, setValue] = useState(""); diff --git a/packages/calendar/src/components/input-types/travel-date-input/TravelDateInput.tsx b/packages/calendar/src/components/input-types/travel-date-input/TravelDateInput.tsx index 072f88eea..a9f15ab41 100644 --- a/packages/calendar/src/components/input-types/travel-date-input/TravelDateInput.tsx +++ b/packages/calendar/src/components/input-types/travel-date-input/TravelDateInput.tsx @@ -46,6 +46,7 @@ export interface TravelDateInputProps onHideCalendar?: () => void; renderBelowCalendar?: (args: RenderBelowSingleDateCalendarArgs) => ReactNode; size?: TravelCalendarSizeVariant; + dateTestId?: (date: Date) => string | undefined; } export const TravelDateInput: React.FC = ({ @@ -65,6 +66,7 @@ export const TravelDateInput: React.FC = ({ onHideCalendar, renderBelowCalendar, size = "medium", + dateTestId, }) => { const [calendarOpen, setCalendarOpen] = useState(false); const [calendarInDom, setCalendarInDom] = useState(false); @@ -204,6 +206,7 @@ export const TravelDateInput: React.FC = ({ selectedStartDate={selectedDate} selectedEndDate={selectedDate} multiSelectable={false} + dateTestId={dateTestId} /> )} diff --git a/packages/calendar/src/components/input-types/travel-date-range-input/TravelDateRangeInput.stories.tsx b/packages/calendar/src/components/input-types/travel-date-range-input/TravelDateRangeInput.stories.tsx index 5ebe6851c..ea0b633ea 100644 --- a/packages/calendar/src/components/input-types/travel-date-range-input/TravelDateRangeInput.stories.tsx +++ b/packages/calendar/src/components/input-types/travel-date-range-input/TravelDateRangeInput.stories.tsx @@ -12,7 +12,7 @@ import { import { TravelDateRangeInputValue } from "../../../features/travel-calendar/types"; import { parseLocalizedDateString } from "../../../features/localize-date-format/LocalizedDateParser"; import { formatLocalizedDate } from "../../../features/localize-date-format/LocalizedDateFormatter"; -import { addWeeks } from "date-fns"; +import { addWeeks, isToday } from "date-fns"; export default { title: "calendar/Input/TravelDateRangeInput", @@ -59,6 +59,30 @@ export const WithHeading = () => { ); }; +export const WithTestId = () => { + const [value, setValue] = useState( + undefined + ); + const testId = (date: Date) => { + if (isToday(date)) { + return "today"; + } + return undefined; + }; + + return ( +
+ +
+ ); +}; + export const Sizes = () => { const [value, setValue] = useState( undefined diff --git a/packages/calendar/src/components/input-types/travel-date-range-input/TravelDateRangeInput.tsx b/packages/calendar/src/components/input-types/travel-date-range-input/TravelDateRangeInput.tsx index c5badb80f..19af415f5 100644 --- a/packages/calendar/src/components/input-types/travel-date-range-input/TravelDateRangeInput.tsx +++ b/packages/calendar/src/components/input-types/travel-date-range-input/TravelDateRangeInput.tsx @@ -48,6 +48,7 @@ export interface TravelDateRangeInputProps onHideCalendar?: () => void; renderBelowCalendar?: (args: RenderBelowCalendarArgs) => ReactNode; size?: TravelCalendarSizeVariant; + dateTestId?: (date: Date) => string | undefined; } export const TravelDateRangeInput: React.FC = ({ @@ -68,6 +69,7 @@ export const TravelDateRangeInput: React.FC = ({ onHideCalendar, renderBelowCalendar, size = "medium", + dateTestId, }) => { const [calendarOpen, setCalendarOpen] = useState(false); const [calendarInDom, setCalendarInDom] = useState(false); @@ -204,6 +206,7 @@ export const TravelDateRangeInput: React.FC = ({ {...inputProps} size={size} multiSelectable={true} + dateTestId={dateTestId} /> )} diff --git a/packages/calendar/src/features/travel-calendar/components/TravelCalendar.tsx b/packages/calendar/src/features/travel-calendar/components/TravelCalendar.tsx index e40369f08..61bf8c6ea 100644 --- a/packages/calendar/src/features/travel-calendar/components/TravelCalendar.tsx +++ b/packages/calendar/src/features/travel-calendar/components/TravelCalendar.tsx @@ -24,6 +24,7 @@ export interface TravelCalendarProps { hoverDate: Date | undefined; today: Date; isDateDisabled: (date: Date) => boolean; + dateTestId?: (date: Date) => string | undefined; calendarId: string; todayIsInVisibleMonth: boolean; size?: TravelCalendarSizeVariant; @@ -46,6 +47,7 @@ export const TravelCalendar: React.FC = ({ todayIsInVisibleMonth, size = "medium", multiSelectable, + dateTestId, }) => { return ( = ({ todayIsInVisibleMonth={todayIsInVisibleMonth} calendarId={calendarId} isDateDisabled={isDateDisabled} + dateTestId={dateTestId} /> ))} diff --git a/packages/calendar/src/features/travel-calendar/components/TravelDateCell.tsx b/packages/calendar/src/features/travel-calendar/components/TravelDateCell.tsx index 0102d7795..04e22b474 100644 --- a/packages/calendar/src/features/travel-calendar/components/TravelDateCell.tsx +++ b/packages/calendar/src/features/travel-calendar/components/TravelDateCell.tsx @@ -27,6 +27,7 @@ export interface TravelDateCellProps { todayIsInVisibleMonth: boolean; calendarId: string; isDateDisabled: (date: Date) => boolean; + dateTestId?: (date: Date) => string | undefined; size: TravelCalendarSizeVariant; } @@ -46,6 +47,7 @@ export const TravelDateCell: React.FC = ({ calendarId, isDateDisabled, size, + dateTestId, }) => { const onKeyDown = useCallback>( async (e) => { @@ -125,6 +127,7 @@ export const TravelDateCell: React.FC = ({ {...(disabled ? undefined : { "aria-selected": isSelectionStart || isSelectionEnd })} + data-testid={dateTestId?.(day.date)} >
diff --git a/packages/core/package.json b/packages/core/package.json index bb072dd27..33404403d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/core", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -64,7 +64,7 @@ ], "gitHead": "8bc14a340ae5996f9755c4d435a5d46ffe392961", "dependencies": { - "@stenajs-webui/theme": "21.0.0", + "@stenajs-webui/theme": "21.0.1", "classnames": "^2.3.1", "lodash-es": "^4.17.21" } diff --git a/packages/elements/package.json b/packages/elements/package.json index 57b94bc2b..854bf56e3 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/elements", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -34,8 +34,8 @@ }, "dependencies": { "@react-aria/focus": "^3.15.0", - "@stenajs-webui/core": "21.0.0", - "@stenajs-webui/theme": "21.0.0", + "@stenajs-webui/core": "21.0.1", + "@stenajs-webui/theme": "21.0.1", "classnames": "^2.3.1" }, "peerDependencies": { diff --git a/packages/filter/package.json b/packages/filter/package.json index a5f07fff6..df50ec1a2 100644 --- a/packages/filter/package.json +++ b/packages/filter/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/filter", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -33,15 +33,15 @@ "deploy": "gh-pages -d example/build" }, "dependencies": { - "@stenajs-webui/calendar": "21.0.0", - "@stenajs-webui/core": "21.0.0", - "@stenajs-webui/elements": "21.0.0", - "@stenajs-webui/forms": "21.0.0", - "@stenajs-webui/modal": "21.0.0", - "@stenajs-webui/panels": "21.0.0", - "@stenajs-webui/redux": "21.0.0", - "@stenajs-webui/select": "21.0.0", - "@stenajs-webui/theme": "21.0.0", + "@stenajs-webui/calendar": "21.0.1", + "@stenajs-webui/core": "21.0.1", + "@stenajs-webui/elements": "21.0.1", + "@stenajs-webui/forms": "21.0.1", + "@stenajs-webui/modal": "21.0.1", + "@stenajs-webui/panels": "21.0.1", + "@stenajs-webui/redux": "21.0.1", + "@stenajs-webui/select": "21.0.1", + "@stenajs-webui/theme": "21.0.1", "date-fns": "3.6.0", "lodash-es": "^4.17.21" }, diff --git a/packages/forms/package.json b/packages/forms/package.json index 87091d070..d3368f52e 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/forms", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -33,10 +33,10 @@ "deploy": "gh-pages -d example/build" }, "dependencies": { - "@stenajs-webui/core": "21.0.0", - "@stenajs-webui/elements": "21.0.0", - "@stenajs-webui/theme": "21.0.0", - "@stenajs-webui/tooltip": "21.0.0", + "@stenajs-webui/core": "21.0.1", + "@stenajs-webui/elements": "21.0.1", + "@stenajs-webui/theme": "21.0.1", + "@stenajs-webui/tooltip": "21.0.1", "classnames": "^2.3.1", "date-fns": "3.6.0", "lodash-es": "^4.17.21" diff --git a/packages/grid-export/package.json b/packages/grid-export/package.json index 17bf33d8e..d2a7acc48 100644 --- a/packages/grid-export/package.json +++ b/packages/grid-export/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/grid-export", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -34,9 +34,9 @@ }, "dependencies": { "@fortawesome/free-solid-svg-icons": ">=6.5.2", - "@stenajs-webui/core": "21.0.0", - "@stenajs-webui/elements": "21.0.0", - "@stenajs-webui/grid": "21.0.0", + "@stenajs-webui/core": "21.0.1", + "@stenajs-webui/elements": "21.0.1", + "@stenajs-webui/grid": "21.0.1", "@types/zipcelx": "^1.5.0", "clipboard-polyfill": "^3.0.2", "date-fns": "3.6.0", diff --git a/packages/grid/package.json b/packages/grid/package.json index b3735b46c..9d3d5332b 100644 --- a/packages/grid/package.json +++ b/packages/grid/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/grid", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -33,13 +33,13 @@ "deploy": "gh-pages -d example/build" }, "dependencies": { - "@stenajs-webui/core": "21.0.0", - "@stenajs-webui/elements": "21.0.0", - "@stenajs-webui/forms": "21.0.0", - "@stenajs-webui/panels": "21.0.0", - "@stenajs-webui/redux": "21.0.0", - "@stenajs-webui/theme": "21.0.0", - "@stenajs-webui/tooltip": "21.0.0", + "@stenajs-webui/core": "21.0.1", + "@stenajs-webui/elements": "21.0.1", + "@stenajs-webui/forms": "21.0.1", + "@stenajs-webui/panels": "21.0.1", + "@stenajs-webui/redux": "21.0.1", + "@stenajs-webui/theme": "21.0.1", + "@stenajs-webui/tooltip": "21.0.1", "classnames": "^2.3.1", "lodash-es": "^4.17.21" }, diff --git a/packages/input-mask/package.json b/packages/input-mask/package.json index 969927813..ff5a2b339 100644 --- a/packages/input-mask/package.json +++ b/packages/input-mask/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/input-mask", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -33,7 +33,7 @@ "deploy": "gh-pages -d example/build" }, "dependencies": { - "@stenajs-webui/forms": "21.0.0", + "@stenajs-webui/forms": "21.0.1", "text-mask-core": "^5.1.2" }, "peerDependencies": { diff --git a/packages/modal/package.json b/packages/modal/package.json index 401a68cc2..d420446d3 100644 --- a/packages/modal/package.json +++ b/packages/modal/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/modal", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -33,9 +33,9 @@ "deploy": "gh-pages -d example/build" }, "dependencies": { - "@stenajs-webui/core": "21.0.0", - "@stenajs-webui/elements": "21.0.0", - "@stenajs-webui/theme": "21.0.0", + "@stenajs-webui/core": "21.0.1", + "@stenajs-webui/elements": "21.0.1", + "@stenajs-webui/theme": "21.0.1", "@types/react-modal": "^3.13.1", "classnames": "^2.3.1", "react-draggable": "^4.4.5", diff --git a/packages/panels/package.json b/packages/panels/package.json index ad41b97c7..206d107bb 100644 --- a/packages/panels/package.json +++ b/packages/panels/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/panels", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -33,11 +33,11 @@ "deploy": "gh-pages -d example/build" }, "dependencies": { - "@stenajs-webui/core": "21.0.0", - "@stenajs-webui/elements": "21.0.0", - "@stenajs-webui/forms": "21.0.0", - "@stenajs-webui/theme": "21.0.0", - "@stenajs-webui/tooltip": "21.0.0", + "@stenajs-webui/core": "21.0.1", + "@stenajs-webui/elements": "21.0.1", + "@stenajs-webui/forms": "21.0.1", + "@stenajs-webui/theme": "21.0.1", + "@stenajs-webui/tooltip": "21.0.1", "classnames": "^2.3.1", "date-fns": "3.6.0", "react-transition-group": "^4.3.0", diff --git a/packages/panels/src/components/sidebar-menu/items/RailMenuLink.tsx b/packages/panels/src/components/sidebar-menu/items/RailMenuLink.tsx index 0ccfbddfb..7bd631c25 100644 --- a/packages/panels/src/components/sidebar-menu/items/RailMenuLink.tsx +++ b/packages/panels/src/components/sidebar-menu/items/RailMenuLink.tsx @@ -7,12 +7,11 @@ import { } from "@stenajs-webui/elements"; import { Tooltip } from "@stenajs-webui/tooltip"; -export type RailMenuLinkProps = - | ( - | MenuButtonLinkNotSelectedProps - | MenuButtonLinkWithSelectedProps - | MenuButtonLinkWithRenderLinkProps - ) & { label: string }; +export type RailMenuLinkProps = ( + | MenuButtonLinkNotSelectedProps + | MenuButtonLinkWithSelectedProps + | MenuButtonLinkWithRenderLinkProps +) & { label: string }; export const RailMenuLink: React.FC = ({ label, diff --git a/packages/panels/src/components/sidebar-menu/items/SidebarMenuLink.tsx b/packages/panels/src/components/sidebar-menu/items/SidebarMenuLink.tsx index ea32a600c..7ebb0ff46 100644 --- a/packages/panels/src/components/sidebar-menu/items/SidebarMenuLink.tsx +++ b/packages/panels/src/components/sidebar-menu/items/SidebarMenuLink.tsx @@ -8,12 +8,11 @@ import { import { useRailContext } from "../rail/RailContext"; import { RailMenuLink } from "./RailMenuLink"; -export type SidebarMenuLinkProps = - | ( - | MenuButtonLinkNotSelectedProps - | MenuButtonLinkWithSelectedProps - | MenuButtonLinkWithRenderLinkProps - ) & { label: string }; +export type SidebarMenuLinkProps = ( + | MenuButtonLinkNotSelectedProps + | MenuButtonLinkWithSelectedProps + | MenuButtonLinkWithRenderLinkProps +) & { label: string }; export const SidebarMenuLink: React.FC = (props) => { const isRail = useRailContext(); diff --git a/packages/redux/package.json b/packages/redux/package.json index 84f0a862e..65e8dd95c 100644 --- a/packages/redux/package.json +++ b/packages/redux/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/redux", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", diff --git a/packages/select/package.json b/packages/select/package.json index 3c23e0f84..d9309c675 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/select", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -33,10 +33,10 @@ "deploy": "gh-pages -d example/build" }, "dependencies": { - "@stenajs-webui/core": "21.0.0", - "@stenajs-webui/elements": "21.0.0", - "@stenajs-webui/forms": "21.0.0", - "@stenajs-webui/theme": "21.0.0", + "@stenajs-webui/core": "21.0.1", + "@stenajs-webui/elements": "21.0.1", + "@stenajs-webui/forms": "21.0.1", + "@stenajs-webui/theme": "21.0.1", "lodash-es": "^4.17.21", "react-select": "^5.2.1" }, diff --git a/packages/theme/package.json b/packages/theme/package.json index 23517946a..719ecb681 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/theme", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", diff --git a/packages/tooltip/package.json b/packages/tooltip/package.json index 652507a29..46f19d32f 100644 --- a/packages/tooltip/package.json +++ b/packages/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@stenajs-webui/tooltip", - "version": "21.0.0", + "version": "21.0.1", "type": "module", "description": "", "author": "mattias800", @@ -34,9 +34,9 @@ }, "dependencies": { "@floating-ui/react": "^0.26.22", - "@stenajs-webui/core": "21.0.0", - "@stenajs-webui/elements": "21.0.0", - "@stenajs-webui/theme": "21.0.0", + "@stenajs-webui/core": "21.0.1", + "@stenajs-webui/elements": "21.0.1", + "@stenajs-webui/theme": "21.0.1", "classnames": "^2.3.1" }, "peerDependencies": {