Skip to content

Commit

Permalink
fix(deps): upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbien committed Oct 21, 2024
1 parent 38bec48 commit d545f85
Show file tree
Hide file tree
Showing 5 changed files with 4,211 additions and 5,950 deletions.
130 changes: 65 additions & 65 deletions packages/frosted-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,48 +60,48 @@
"release": "turbo-module publish"
},
"dependencies": {
"@internationalized/date": "^3.5.2",
"@internationalized/date": "^3.5.6",
"@radix-ui/colors": "^3.0.0",
"@radix-ui/primitive": "^1.0.1",
"@radix-ui/react-accessible-icon": "^1.0.3",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-context-menu": "^2.1.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-direction": "^1.0.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-navigation-menu": "^1.1.4",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-portal": "^1.0.4",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-radio-group": "^1.1.3",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/react-use-callback-ref": "^1.0.1",
"@radix-ui/react-visually-hidden": "^1.0.3",
"@react-aria/calendar": "^3.5.3",
"@react-aria/datepicker": "^3.9.1",
"@react-aria/focus": "^3.15.0",
"@react-aria/i18n": "^3.9.0",
"@react-aria/utils": "^3.22.0",
"@react-stately/calendar": "^3.4.2",
"@react-stately/datepicker": "^3.9.1",
"classnames": "^2.3.2",
"input-otp": "^1.1.0",
"react-aria-components": "1.1.1",
"tailwindcss": "^3.3.5",
"tslib": "^2.6.2",
"vaul": "^0.9.1"
"@radix-ui/primitive": "^1.1.0",
"@radix-ui/react-accessible-icon": "^1.1.0",
"@radix-ui/react-accordion": "^1.2.1",
"@radix-ui/react-alert-dialog": "^1.1.2",
"@radix-ui/react-aspect-ratio": "^1.1.0",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-checkbox": "^1.1.2",
"@radix-ui/react-context-menu": "^2.2.2",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-direction": "^1.1.0",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-hover-card": "^1.1.2",
"@radix-ui/react-navigation-menu": "^1.2.1",
"@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-portal": "^1.1.2",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-radio-group": "^1.2.1",
"@radix-ui/react-scroll-area": "^1.2.0",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.1",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.1",
"@radix-ui/react-tabs": "^1.1.1",
"@radix-ui/react-tooltip": "^1.1.3",
"@radix-ui/react-use-callback-ref": "^1.1.0",
"@radix-ui/react-visually-hidden": "^1.1.0",
"@react-aria/calendar": "^3.5.13",
"@react-aria/datepicker": "^3.11.4",
"@react-aria/focus": "^3.18.4",
"@react-aria/i18n": "^3.12.3",
"@react-aria/utils": "^3.25.3",
"@react-stately/calendar": "^3.5.5",
"@react-stately/datepicker": "^3.10.3",
"classnames": "^2.5.1",
"input-otp": "^1.2.4",
"react-aria-components": "1.2.1",
"tailwindcss": "^3.4.14",
"tslib": "^2.8.0",
"vaul": "^0.9.9"
},
"peerDependencies": {
"@types/react": "*",
Expand All @@ -124,35 +124,35 @@
},
"devDependencies": {
"@frosted-ui/icons": "workspace:*",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
"@storybook/addon-mdx-gfm": "^8.2.9",
"@storybook/addon-onboarding": "^8.2.9",
"@storybook/blocks": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@storybook/test": "^8.2.9",
"@tanstack/react-table": "^8.11.8",
"@types/react": "^18.2.53",
"@types/react-dom": "^18.2.18",
"@storybook/addon-essentials": "^8.3.6",
"@storybook/addon-interactions": "^8.3.6",
"@storybook/addon-links": "^8.3.6",
"@storybook/addon-mdx-gfm": "^8.3.6",
"@storybook/addon-onboarding": "^8.3.6",
"@storybook/blocks": "^8.3.6",
"@storybook/react": "^8.3.6",
"@storybook/react-vite": "^8.3.6",
"@storybook/test": "^8.3.6",
"@tanstack/react-table": "^8.20.5",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@whop-sdk/turbo-module": "^0.0.5",
"autoprefixer": "^10.4.19",
"eslint": "^8.15.0",
"eslint-config-custom": "*",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.1",
"eslint-config-custom": "^0.0.0",
"eslint-plugin-react-hooks": "^4.6.2",
"postcss": "^8.4.30",
"postcss": "^8.4.47",
"postcss-cli": "^10.1.0",
"postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-custom-media": "^10.0.1",
"postcss-discard-empty": "^6.0.0",
"postcss-custom-media": "^10.0.8",
"postcss-discard-empty": "^6.0.3",
"postcss-import": "^15.1.0",
"postcss-nesting": "^12.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "^8.2.9",
"stylelint": "^15.10.3",
"typescript": "^5.3.3"
"postcss-nesting": "^12.1.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"storybook": "^8.3.6",
"stylelint": "^15.11.0",
"typescript": "^5.6.3"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/frosted-ui/src/components/calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@ function CalendarCell({

let isSingleDateSelected = false;
if (!('highlightedRange' in state)) {
isSingleDateSelected = state.value && props.date.compare(state.value) === 0;
isSingleDateSelected =
state.value !== null && props.date.compare(state.value) === 0;
}

const { locale } = useLocale();
Expand Down
20 changes: 14 additions & 6 deletions packages/frosted-ui/src/components/otp-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,25 @@ import * as React from 'react';

// TODO: margin props, color, variant and size support

const OTPFieldRoot = React.forwardRef<
type OTPFieldRootProps = React.ComponentPropsWithoutRef<typeof OTPInput>;

const OTPFieldRoot: React.ForwardRefRenderFunction<
React.ElementRef<typeof OTPInput>,
React.ComponentPropsWithoutRef<typeof OTPInput>
>(({ className, ...props }, ref) => (
OTPFieldRootProps
> = ({ className, ...props }, ref) => (
<OTPInput
ref={ref}
containerClassName={classNames('fui-OTPFieldRoot', className)}
{...props}
/>
));
OTPFieldRoot.displayName = 'OTPFieldRoot';
);

const ForwardedOTPFieldRoot = React.forwardRef<
React.ElementRef<typeof OTPInput>,
OTPFieldRootProps
>(OTPFieldRoot);

ForwardedOTPFieldRoot.displayName = 'OTPFieldRoot';

const OTPFieldGroup = React.forwardRef<
React.ElementRef<'div'>,
Expand Down Expand Up @@ -64,7 +72,7 @@ OTPFieldSeparator.displayName = 'OTPFieldSeparator';

export {
OTPFieldGroup as Group,
OTPFieldRoot as Root,
ForwardedOTPFieldRoot as Root,
OTPFieldSeparator as Separator,
OTPFieldSlot as Slot,
};
1 change: 0 additions & 1 deletion packages/frosted-ui/src/components/sheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ const SheetClose = React.forwardRef<SheetCloseElement, SheetCloseProps>(
SheetClose.displayName = 'SheetClose';

const SheetPortal = DrawerPrimitive.Portal;
SheetPortal.displayName = 'SheetPortal';

type SheetOverlayElement = React.ElementRef<typeof DrawerPrimitive.Overlay>;
interface SheetOverlayProps
Expand Down
Loading

0 comments on commit d545f85

Please # to comment.