fixes #2151, apply secure cookie session only if using SSL (https)

This commit is contained in:
Amruth Pillai
2025-01-14 09:45:57 +01:00
parent 21af624096
commit a32def2086
122 changed files with 721 additions and 669 deletions

View File

@ -3,7 +3,7 @@ import { cn } from "@reactive-resume/utils";
import { forwardRef } from "react";
import { buttonVariants } from "../variants/button";
import { ButtonProps } from "./button";
import type { ButtonProps } from "./button";
export const AlertDialog = AlertDialogPrimitive.Root;

View File

@ -1,6 +1,8 @@
import { Dispatch, forwardRef, SetStateAction, useCallback, useEffect, useState } from "react";
import type { Dispatch, SetStateAction } from "react";
import { forwardRef, useCallback, useEffect, useState } from "react";
import { Input, InputProps } from "./input";
import type { InputProps } from "./input";
import { Input } from "./input";
type BadgeInputProps = Omit<InputProps, "value" | "onChange"> & {
value: string[];

View File

@ -1,5 +1,5 @@
import { MagnifyingGlass } from "@phosphor-icons/react";
import { DialogProps } from "@radix-ui/react-dialog";
import type { DialogProps } from "@radix-ui/react-dialog";
import { cn } from "@reactive-resume/utils";
import { Command as CommandPrimitive } from "cmdk";
import { forwardRef } from "react";

View File

@ -1,9 +1,10 @@
import * as LabelPrimitive from "@radix-ui/react-label";
import type * as LabelPrimitive from "@radix-ui/react-label";
import { Slot } from "@radix-ui/react-slot";
import { FormFieldContext, FormItemContext, useFormField } from "@reactive-resume/hooks";
import { cn } from "@reactive-resume/utils";
import { forwardRef, useId } from "react";
import { Controller, ControllerProps, FieldPath, FieldValues } from "react-hook-form";
import type { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
import { Controller } from "react-hook-form";
import { Label } from "./label";

View File

@ -33,7 +33,8 @@ import { Image } from "@tiptap/extension-image";
import { Link } from "@tiptap/extension-link";
import { TextAlign } from "@tiptap/extension-text-align";
import { Underline } from "@tiptap/extension-underline";
import { Editor, EditorContent, EditorContentProps, useEditor } from "@tiptap/react";
import type { Editor, EditorContentProps } from "@tiptap/react";
import { EditorContent, useEditor } from "@tiptap/react";
import { StarterKit } from "@tiptap/starter-kit";
import { forwardRef, useCallback } from "react";
import { useForm } from "react-hook-form";

View File

@ -1,6 +1,6 @@
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
import { cn } from "@reactive-resume/utils";
import { VariantProps } from "class-variance-authority";
import type { VariantProps } from "class-variance-authority";
import { forwardRef } from "react";
import { toggleVariants } from "../variants/toggle";