index int64 0 0 | repo_id stringlengths 16 181 | file_path stringlengths 28 270 | content stringlengths 1 11.6M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/TagsCombobox/index.tsx | "use client";
import { Command, CommandGroup, CommandInput, CommandItem } from "../Command";
import { Popover, PopoverContent, PopoverTrigger } from "../Popover";
import { Button } from "../Button";
import { useEffect, useMemo } from "react";
interface ITagsComboboxProps {
tags: Tag[];
currentTags: Tag[];
addTa... | 8,200 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/ToasterClient/index.tsx | "use client";
import { Toaster } from "react-hot-toast";
export default function ToasterClient() {
return <Toaster />;
}
| 8,201 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/Tooltip/index.tsx | "use client";
import * as React from "react";
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
import { cn } from "@formbricks/lib/cn";
const TooltipProvider: React.ComponentType<TooltipPrimitive.TooltipProviderProps> = TooltipPrimitive.Provider;
const Tooltip: React.ComponentType<TooltipPrimitive.Toolt... | 8,202 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/UpgradePlanNotice/index.tsx | import { LightBulbIcon } from "@heroicons/react/24/outline";
import { Alert } from "../Alert";
export const UpgradePlanNotice = ({ message }: { message: string }) => {
return (
<Alert className="flex items-center">
<LightBulbIcon className="h-5 w-5 text-gray-500" />
<span className="text-sm text-gray... | 8,203 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/AngryBirdRage2Icon.tsx | export const AngryBirdRage2Icon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg width="79" height="75" viewBox="0 0 79 75" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M70.1683 50C70.1683 66.4 56.4144 73.4375 39.4459 73.4375C22.4774 73.4375 8.72339 66.4 8... | 8,204 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/AngryBirdRageIcon.tsx | export const AngryBirdRageIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<title>{"video-game-angry-birds"}</title>
<path
d="M21.5,16c0,5.248-4.253,7.5-9.5,7.5S2.5,21.248,2.5,16,6.754,3... | 8,205 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/AppPieChartIcon.tsx | export const AppPieChartIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path d="M23.5,7V20a2,2,0,0,1-2,2H2.5a2,2,0,0,1-2-2V7Z" fill="#00e6ca" />
<path d="M2.5,22h2l15-15H.5V20A2,2,0,0,0,2.5,22... | 8,206 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/ArchiveIcon.tsx | export const ArchiveIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M23.0625 3.9375H3.9375C3.31618 3.9375 2.8125 4.44118 2.8125 5.0625V16.0695C2.8125 16.6908 3.31618 17.1945 3.9375 17.1... | 8,207 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/ArrowRightCircleIcon.tsx | export const ArrowRightCircleIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<circle cx={12} cy={12} r={9.5} fill="#00e6ca" />
<path
d="M1.414,16.5a11.5,11.5,0,1,0,0-9"
fill="no... | 8,208 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/ArrowUpRightIcon.tsx | export const ArrowUpRightIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<circle cx={12} cy={12} r={10.5} fill="#c4f0eb" />
<path
d="M1.25,18.25,8.586,10a1.042,1.042,0,0,1,1.432-.107l4.... | 8,209 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/BackIcon.tsx | export const BackIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg width={32} height={32} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M16.0001 29.3337C23.3639 29.3337 29.3334 23.3641 29.3334 16.0003C29.3334 8.63653 23.3639 2.66699 ... | 8,210 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/BaseballIcon.tsx | export const BaseballIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<title>{"baseball-bat-ball"}</title>
<circle
cx={18.25}
cy={17.87}
r={2.5}
stroke="#0f172a"
... | 8,211 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/BellIcon.tsx | export const BellIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M15,20.5a3,3,0,1,1-6,0Z"
stroke="#0f172a"
strokeLinecap="round"
strokeLinejoin="round"
... | 8,212 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/BrainIcon.tsx | export const BrainIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<title>{"study-brain"}</title>
<path
d="M20.72,14.98A3.735,3.735,0,0,1,17.75,21c-.11,0-.22-.02-.33-.03a1.89,1.89,0,0,1,... | 8,213 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/BugBlueIcon.tsx | export const BugBlueIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<title>{"flying-insect-ladybug"}</title>
<path d="M16,6.436V4.5a4,4,0,0,0-8,0V6.436" fill="#00e6ca" />
<path
d=... | 8,214 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/BugIcon.tsx | export const BugIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg width={40} height={40} viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M26.6668 10.7263V7.49967C26.6668 5.73156 25.9645 4.03587 24.7142 2.78563C23.464 1.53539 21.7683 0.... | 8,215 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/CancelSubscriptionIcon.tsx | export const CancelSubscriptionIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M21.566,17.945a1,1,0,0,0,0-.894l-.516-1.034a1,1,0,0,1,.062-1l.308-.462a1,1,0,0,0,0-1.11L20.79,12.5H12.6... | 8,216 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/CashCalculatorIcon.tsx | export const CashCalculatorIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path d="M23.5,13.5v8a2,2,0,0,1-2,2h-7a2.006,2.006,0,0,1-2-2v-8Z" fill="#c4f0eb" />
<path
d="M21.5,21.5h-7a2.0... | 8,217 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/CheckMarkIcon.tsx | export const CheckMarkIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<circle cx={12} cy={12} r={12} fill="#c4f0eb" />
<polyline
points="23.5 0.499 7 23.499 0.5 16.999"
fill="no... | 8,218 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/ClockIcon.tsx | export const ClockIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<circle cx="{11.999}" cy="{12.001}" r="{11.5}" fill="#00e6ca" />
<path d="M3.867,20.133A11.5,11.5,0,0,1,20.131,3.869Z" fill="#c... | 8,219 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/CodeBookIcon.tsx | export const CodeBookIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path d="M19.5,4.5v-3a1,1,0,0,0-1-1H5.5a2,2,0,0,0,0,4Z" fill="#c4f0eb" />
<path d="M3.5,2.5a2,2,0,0,0,2,2h14a1,1,0,0,1,1,1v1... | 8,220 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/CodeFileIcon.tsx | export const CodeFileIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M21.207,4.5a1,1,0,0,1,.293.707V22.5a1,1,0,0,1-1,1H3.5a1,1,0,0,1-1-1V1.5a1,1,0,0,1,1-1H16.793A1,1,0,0,1,17.5.8Z"
... | 8,221 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/ComplimentIcon.tsx | export const ComplimentIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg width={40} height={40} viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<g clipPath="url(#clip0_78_2670)">
<path
d="M20.0002 39.1663C30.5856 39.1663 39.1668 30.58... | 8,222 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/CrossMarkIcon.tsx | export const CrossMarkIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<line
x1={23.5}
y1={0.5}
x2={0.5}
y2={23.5}
fill="none"
stroke="#0f172a"
... | 8,223 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/CustomersIcon.tsx | export const CustomersIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg viewBox="0 0 25 26" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<g clipPath="url(#clip0_111_733)">
<path
d="M7.81248 24.6169L8.33331 18.3669H10.9375V14.721C10.9375 13.3397 10.388... | 8,224 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/DashboardIcon.tsx | export const DashboardIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<rect x={0.5} y={16.5} width={10} height={7} rx={1} fill="#00e6ca" />
<path d="M5.5,16.5h-4a1,1,0,0,0-1,1v5a1,1,0,0,0,1,1h4... | 8,225 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/DogChaserIcon.tsx | export const DogChaserIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<title>{"dog-jump"}</title>
<path
d="M1.8,9.118C3.3,8.618,8.187,7.5,10.687,6.5a40.6,40.6,0,0,0,5-2.5l1.5-2a5.473,5.... | 8,226 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/DoorIcon.tsx | export const DoorIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<title>{"architecture-door"}</title>
<path d="M5,20.5V1.5a1,1,0,0,1,1-1H18a1,1,0,0,1,1,1v19Z" fill="#00e6ca" />
<path d="M... | 8,227 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/EmailIcon.tsx | export const EmailIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path d="M23.3.62,9.23,17.6l-.91,5.9a.8.8,0,0,1-.76-.53l-2.61-7.2Z" fill="#c4f0eb" />
<path
d="M23.3.62,4.95,15.77l-3.8... | 8,228 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/EngineerIcon.tsx | export const EngineerIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<title>{"study-maths-brain"}</title>
<path
d="M6.851,23.5V21.023H5.932a2.477,2.477,0,0,1-2.478-2.478V16.067H1.343a.5... | 8,229 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/EyeIcon.tsx | export const EyeIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg width="77" height="77" viewBox="0 0 77 77" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<g clipPath="url(#clip0_914_595)">
<path
d="M38.5002 68.9788C55.3333 68.9788 68.9793 55.3329 68.9... | 8,230 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/FeatureRequestIcon.tsx | export const FeatureRequestIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg width="75" height="75" viewBox="0 0 75 75" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M23.4375 73.4375L25 54.6875H32.8125V43.75C32.8125 39.606 31.1663 35.6317 28.236 32.7015... | 8,231 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/FeedbackIcon.tsx | export const FeedbackIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M23.5,6.5c0-3.313-3.358-6-7.5-6s-7.5,2.687-7.5,6c0,3.179,3.092,5.773,7,5.981V16l4.365-4.365A5.88,5.88,0,0,0,23.5,... | 8,232 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/FilterIcon.tsx | export const FilterIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M21.811,2.1a1,1,0,0,0-.8-1.6H2.99a1,1,0,0,0-.8,1.6L10,12.592V22.5a1,1,0,0,0,1,1h2a1,1,0,0,0,1-1V12.592Z"
fi... | 8,233 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/FormIcon.tsx | export const FormIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg viewBox="0 0 25 26" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<g clipPath="url(#clip0_111_716)">
<path
d="M19.2708 22.5332C19.2708 23.0857 19.0513 23.6156 18.6606 24.0063C18.2699 24... | 8,234 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/FounderIcon.tsx | export const FounderIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<title>{"swimming-jump"}</title>
<path
d="M23.5,23.5h-13l0-.043c1.492.318,2.712-1.229,2.712-1.229h0a2.805,2.805,0,0,0... | 8,235 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/GaugeSpeedFastIcon.tsx | export const GaugeSpeedFastIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M12,2.5A11.5,11.5,0,0,0,.5,14v3.5a1,1,0,0,0,1,1h21a1,1,0,0,0,1-1V14A11.5,11.5,0,0,0,12,2.5Z"
fill="... | 8,236 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/HandPuzzleIcon.tsx | export const HandPuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg width="77" height="77" viewBox="0 0 77 77" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<g clipPath="url(#clip0_914_610)">
<path
d="M65.7708 56.3451L51.9269 60.7309C52.5365 58.83... | 8,237 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/HeartCommentIcon.tsx | export const HeartCommentIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M12,1C5.649,1,.5,5.253.5,10.5a8.738,8.738,0,0,0,3.4,6.741L1.5,23l6.372-3.641A13.608,13.608,0,0,0,12,20c6.351,... | 8,238 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/IdeaIcon.tsx | export const IdeaIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg width={40} height={40} viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M24.1668 33.3337C24.1668 34.4387 23.7278 35.4985 22.9464 36.2799C22.165 37.0613 21.1052 37.5003 2... | 8,239 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/InterviewPromptIcon.tsx | export const InterviewPromptIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path d="M1.5,21.5V9A1.5,1.5,0,0,1,3,7.5H19A1.5,1.5,0,0,1,20.5,9V21.5Z" fill="#00e6ca" />
<path d="M14.438,7.5H3A1.5,... | 8,240 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/LaptopWorkerIcon.tsx | export const LaptopWorkerIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M12,8A3.5,3.5,0,1,0,8.5,4.5,3.5,3.5,0,0,0,12,8Z"
stroke="#0f172a"
strokeLinecap="round"
... | 8,241 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/LoadingBarIcon.tsx | export const LoadingBarIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M23.5,8.5v-3a2,2,0,0,0-2-2H2.5a2,2,0,0,0-2,2v3Z"
stroke="#0f172a"
strokeLinecap="round"
... | 8,242 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/NetPromoterScoreIcon.tsx | export const NetPromoterScoreIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<g id="Frame">
<path
id="Vector"
fill-rule="evenodd"
clip-rule="... | 8,243 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/NotDisappointedIcon.tsx | export const NotDisappointedIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<g clipPath="url(#clip0_1_431)">
<path
d="M19.9999 39.1668C30.5854 39.1668 39.1666 30.5856 39.1666 20.0002C3... | 8,244 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/OnboardingIcon.tsx | export const OnboardingIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M9,7.5H7.059A6.059,6.059,0,0,0,1,13.558v4.988c0,1.5.662,2.218,1.97,2.937a.059.059,0,0,1,.03.051V23.5H9Z"
... | 8,245 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/PMFIcon.tsx | export const PMFIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg width="59" height="77" viewBox="0 0 59 77" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M50.354 1.60449H8.64567C5.10184 1.60449 2.229 4.47733 2.229 8.02116V68.9795C2.229 72.5233 5.10184 ... | 8,246 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/SettingsIcon.tsx | export const SettingsIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<rect x={0.5} y={0.501} width={23} height={23} rx={4} fill="#00e6ca" />
<path d="M12,.5H4.5a4,4,0,0,0-4,4v15a4,4,0,0,0,4,4H1... | 8,247 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/SkyscraperIcon.tsx | export const SkyscraperIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<title>{"building-modern"}</title>
<path d="M11,23.5V1.5a1,1,0,0,1,1-1h8a1,1,0,0,1,1,1V23a.5.5,0,0,1-.5.5Z" fill="#00e6ca"... | 8,248 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/SomewhatDisappointedIcon.tsx | export const SomewhatDisappointedIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<g clipPath="url(#clip0_1_440)">
<path
d="M19.9999 39.1666C30.5854 39.1666 39.1666 30.5854 39.1666 19.9... | 8,249 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/TabletTouchIcon.tsx | export const TabletTouchIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path d="M21.5.5H4.5v17h17a2,2,0,0,0,2-2V2.5A2,2,0,0,0,21.5.5Z" fill="#00C4B8" />
<path d="M21.86.531A2.034,2.034,0,0,0,2... | 8,250 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/TaskListSearchIcon.tsx | export const TaskListSearchIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M17.5,3.5a1,1,0,0,0-1-1H12.052a3.329,3.329,0,0,0-6.1,0H1.5a1,1,0,0,0-1,1v17a1,1,0,0,0,1,1h15a1,1,0,0,0,1-1Z... | 8,251 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/UserCommentIcon.tsx | export const UserCommentIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M12.582,11.3A6.838,6.838,0,0,0,15.5,12.43c0,.57,0,2.57,0,3.07.5-.5,3.5-3,4-3.461a6.015,6.015,0,0,0,4-5.539A6.2... | 8,252 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/UserCoupleIcon.tsx | export const UserCoupleIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path d="M14.407,19.385,14.75,23.5h4l.5-6h2.5V14a5,5,0,0,0-8-4" fill="#c4f0eb" />
<path
d="M16.75,9a4.978,4.978,0,... | 8,253 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/UserDeveloperIcon.tsx | export const UserDeveloperIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<path
d="M18.39,11.606a6.826,6.826,0,0,0-5.1,2.37,4.969,4.969,0,0,0-2.15-4.069A4.888,4.888,0,0,1,14,9,4.994,4.994,0,0... | 8,254 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/UserGroupIcon.tsx | export const UserGroupIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<circle cx={20} cy={8.25} r={2.75} fill="#c4f0eb" />
<path d="M23.5,15.5a3.5,3.5,0,0,0-7,0v3h1.583l.417,5h3l.417-5H23.5Z" f... | 8,255 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/UserSearchGlasIcon.tsx | export const UserSearchGlasIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<circle cx={10.5} cy={10.5} r={10} fill="#00C4B8" />
<path d="M3.429,17.571A10,10,0,0,1,17.571,3.429Z" fill="#c4f0eb" ... | 8,256 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/VeryDisappointedIcon.tsx | export const VeryDisappointedIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<g clipPath="url(#clip0_1_422)">
<path
d="M19.9999 39.1666C30.5854 39.1666 39.1666 30.5854 39.1666 19.9999C... | 8,257 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/VideoTabletAdjustIcon.tsx | export const VideoTabletAdjustIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<defs />
<rect x={0.5} y={0.5} width={23} height={18} rx={1.5} fill="#00e6ca" />
<path
d="M22,.5H2A1.5,1.5,0,0,0,.5,... | 8,258 |
0 | petrpan-code/formbricks/formbricks/packages/ui | petrpan-code/formbricks/formbricks/packages/ui/icons/index.tsx | export { AngryBirdRage2Icon } from "./AngryBirdRage2Icon";
export { AngryBirdRageIcon } from "./AngryBirdRageIcon";
export { AppPieChartIcon } from "./AppPieChartIcon";
export { ArchiveIcon } from "./ArchiveIcon";
export { ArrowRightCircleIcon } from "./ArrowRightCircleIcon";
export { ArrowUpRightIcon } from "./ArrowUp... | 8,259 |
0 | petrpan-code/formbricks/formbricks/packages/ui/v2 | petrpan-code/formbricks/formbricks/packages/ui/v2/Button/index.tsx | import { cn } from "@formbricks/lib/cn";
import { LucideIcon } from "lucide-react";
import Link, { LinkProps } from "next/link";
import React, { AnchorHTMLAttributes, ButtonHTMLAttributes, forwardRef } from "react";
type SVGComponent = React.FunctionComponent<React.SVGProps<SVGSVGElement>> | LucideIcon;
export type B... | 8,260 |
0 | petrpan-code/formbricks/formbricks/packages/ui/v2 | petrpan-code/formbricks/formbricks/packages/ui/v2/Button/stories.ts | import type { Meta, StoryObj } from "@storybook/react";
import { Button } from "./index";
const meta = {
title: "Button",
component: Button,
tags: ["autodocs"],
argTypes: {
variant: {
control: "select",
options: ["highlight", "primary", "secondary", "minimal", "warn", "alert", "darkCTA"],
... | 8,261 |
0 | petrpan-code/unform | petrpan-code/unform/unform/.editorconfig | root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
| 8,262 |
0 | petrpan-code/unform | petrpan-code/unform/unform/.eslintrc.json | {
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": ["plugin:react/recommended", "standard", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ... | 8,263 |
0 | petrpan-code/unform | petrpan-code/unform/unform/.lintstagedrc.json | {
"src/**/*.{js,ts,tsx}": [
"eslint --ext js,ts,tsx --fix"
]
}
| 8,264 |
0 | petrpan-code/unform | petrpan-code/unform/unform/.npmignore | node_modules
yarn-error.log
dist
example
__tests__
.github
| 8,265 |
0 | petrpan-code/unform | petrpan-code/unform/unform/.prettierignore | typings/
node_modules/
dist/
coverage/
.cache/
public/
| 8,266 |
0 | petrpan-code/unform | petrpan-code/unform/unform/LICENSE | MIT License
Copyright (c) 2021 Rocketseat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distri... | 8,267 |
0 | petrpan-code/unform | petrpan-code/unform/unform/README.md | <p align="center">
<a href="https://unform.dev">
<img src="https://storage.googleapis.com/golden-wind/unform/unform.svg" height="150" width="175" alt="Unform" />
</a>
</p>
<p align="center">Easy peasy highly scalable ReactJS & React Native forms! 🚀</p>
<div align="center">
[: Publish %s"
},
"publish": {
"npmClient": "npm",
"allowBranch": [
"main",
"... | 8,272 |
0 | petrpan-code/unform | petrpan-code/unform/unform/package.json | {
"name": "root",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"license": "MIT",
"homepage": "https://github.com/unform/unform#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/unform/unform.git"
},
"bugs": {
"url": "https://github.com... | 8,273 |
0 | petrpan-code/unform | petrpan-code/unform/unform/prettier.config.js | module.exports = {
semi: false,
singleQuote: true,
arrowParens: 'avoid',
}
| 8,274 |
0 | petrpan-code/unform | petrpan-code/unform/unform/renovate.json | {
"extends": [
"config:base",
":disablePeerDependencies",
":preserveSemverRanges"
],
"includePaths": ["package.json", "packages/**", "docs/package.json"],
"dependencyDashboard": true,
"semanticCommits": true,
"commitMessageAction": "Update",
"stabilityDays": 3,
"prCreation": "not-pending",
... | 8,275 |
0 | petrpan-code/unform | petrpan-code/unform/unform/rollup.config.js | import path from 'path'
import babel from 'rollup-plugin-babel'
import commonjs from 'rollup-plugin-commonjs'
import resolve from 'rollup-plugin-node-resolve'
import { terser } from 'rollup-plugin-terser'
import typescript from 'rollup-plugin-typescript2'
import url from 'rollup-plugin-url'
const PACKAGE_ROOT_PATH = p... | 8,276 |
0 | petrpan-code/unform | petrpan-code/unform/unform/tsconfig.json | {
"compilerOptions": {
"noEmit": true,
"module": "esnext",
"target": "es5",
"lib": ["es6", "dom", "es2016", "es2017"],
"sourceMap": true,
"allowJs": false,
"jsx": "react-jsx",
"declaration": true,
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"noImpl... | 8,277 |
0 | petrpan-code/unform | petrpan-code/unform/unform/yarn.lock | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5":
version "7.5.5"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d"
integrity sha512-27d4lZoomVyo51Veg... | 8,278 |
0 | petrpan-code/unform/unform | petrpan-code/unform/unform/.husky/commit-msg | #!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
yarn commitlint --edit $1
| 8,279 |
0 | petrpan-code/unform/unform | petrpan-code/unform/unform/.husky/common.sh | command_exists () {
command -v "$1" >/dev/null 2>&1
}
# Workaround for Windows 10, Git Bash and Yarn
if command_exists winpty && test -t 1; then
exec < /dev/tty
fi
| 8,280 |
0 | petrpan-code/unform/unform | petrpan-code/unform/unform/.husky/pre-commit | #!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
yarn lint-staged
| 8,281 |
0 | petrpan-code/unform/unform | petrpan-code/unform/unform/docs/LICENSE | MIT License
Copyright (c) 2021 Rocketseat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distri... | 8,282 |
0 | petrpan-code/unform/unform | petrpan-code/unform/unform/docs/gatsby-config.js | module.exports = {
siteMetadata: {
siteTitle: `Unform`,
defaultTitle: `Unform | Performance-focused API for React forms`,
siteTitleShort: `Unform`,
siteDescription: `Unform is a performance-focused API for creating powerful forms experiences for both React and React Native`,
siteUrl: `https://unfo... | 8,283 |
0 | petrpan-code/unform/unform | petrpan-code/unform/unform/docs/package.json | {
"name": "unform.dev",
"private": true,
"version": "1.0.0",
"description": "Out of the box Gatsby Starter for creating documentation websites easily and quickly. With support for MDX, code highlight, Analytics, SEO and more",
"author": "João Pedro Schmitz <hey@joaopedro.dev> (@jpedroschmitz)",
"license": "... | 8,284 |
0 | petrpan-code/unform/unform | petrpan-code/unform/unform/docs/vercel.json | {
"redirects": [
{
"source": "/examples/checkbox",
"destination": "https://github.com/unform/unform/blob/develop/examples/checkbox.js",
"permanent": true
},
{
"source": "/examples/radio",
"destination": "https://github.com/unform/unform/blob/develop/examples/radio.js",
... | 8,285 |
0 | petrpan-code/unform/unform | petrpan-code/unform/unform/docs/yarn.lock | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@ardatan/aggregate-error@0.0.6":
version "0.0.6"
resolved "https://registry.yarnpkg.com/@ardatan/aggregate-error/-/aggregate-error-0.0.6.tgz#fe6924771ea40fc98dc7a7045c2e872dc8527609"
integrity sha512-vyrkEHG1jrukmzTPtyWB4NLPauU... | 8,286 |
0 | petrpan-code/unform/unform/docs | petrpan-code/unform/unform/docs/config/sidebar.yml | # Sidebar navigation
- label: 'Overview'
link: '/'
- label: 'Installation'
link: '/installation'
- label: 'Quick start'
link: '/quick-start'
- label: 'API reference'
items:
- label: 'useField'
link: '/api/use-field'
- label: 'Scope'
link: '/api/scope'
- label: Guides
items:
- label: ... | 8,287 |
0 | petrpan-code/unform/unform/docs/src/@rocketseat/gatsby-theme-docs | petrpan-code/unform/unform/docs/src/@rocketseat/gatsby-theme-docs/components/Logo.js | import React from 'react'
export default function Logo(props) {
return (
<svg width={150} height={32} viewBox="0 0 150 32" {...props}>
<g fill="#111" fillRule="nonzero">
<path d="M51.47 30.008c1.502 0 2.803-.264 3.903-.793 1.1-.53 1.946-1.3 2.534-2.31.589-1.011.883-2.208.883-3.59V11.12h-4.492v12.17... | 8,288 |
0 | petrpan-code/unform/unform/docs/src/@rocketseat/gatsby-theme-docs/components | petrpan-code/unform/unform/docs/src/@rocketseat/gatsby-theme-docs/components/Code/LiveCodeScope.js | import { mdx } from '@mdx-js/react'
import { css, jsx } from '@emotion/react'
import { FormContext, FormProvider, Scope, useField } from '@unform/core'
import { Form } from '@unform/web'
export default {
css,
jsx,
mdx,
Form,
FormProvider,
FormContext,
Scope,
useField,
}
| 8,289 |
0 | petrpan-code/unform/unform/docs/src/@rocketseat/gatsby-theme-docs | petrpan-code/unform/unform/docs/src/@rocketseat/gatsby-theme-docs/text/index.mdx | import Navigation from '@rocketseat/gatsby-theme-docs/src/components/Docs/PostNav'
# Unform
Unform is a performance-focused API for creating powerful forms experiences for
both React and React Native. Using hooks, you can build lightweight and composable
forms based on ultra-extensible components. Integrate with any ... | 8,290 |
0 | petrpan-code/unform/unform/docs/src | petrpan-code/unform/unform/docs/src/docs/installation.mdx | ---
title: 'Installation'
description: 'How to install Unform for React and React Native'
disableTableOfContents: true
---
To get started, you need to install our core package (`@unform/core`) and one
package based on the client type:
> Unform is compatible with React >= v16.8.0
### React
```bash
yarn add @unform/w... | 8,291 |
0 | petrpan-code/unform/unform/docs/src | petrpan-code/unform/unform/docs/src/docs/migration-guide.mdx | ---
title: Migration guide
description: Unform migration guide from older versions
disableTableOfContents: true
---
## Migrating from 1.x
If you're still using Unform in any version below 2.0.0, we highly recommend you
follow this guide.
### Package name
Unform 2.0 added support for React Native and we moved our co... | 8,292 |
0 | petrpan-code/unform/unform/docs/src | petrpan-code/unform/unform/docs/src/docs/quick-start.mdx | ---
title: 'Quick start'
description: 'How to get started with Unform. You will learn how to build your first input and integrate with React.'
---
This page explains how to get started with Unform. You will learn how to build
your first input and **integrate with React**. Remember that with Unform,
**you are responsib... | 8,293 |
0 | petrpan-code/unform/unform/docs/src | petrpan-code/unform/unform/docs/src/docs/roadmap.mdx | ---
title: 'Roadmap'
description: 'Our roadmap helps us share our priorities on the project.'
---
Our roadmap helps us share our priorities. If Unform currently doesn't have a
specific feature you think it's cool, [check
it](https://www.notion.so/Unform-public-roadmap-e4dff9e2053c4475b162cd19914eab02)
to see if it's p... | 8,294 |
0 | petrpan-code/unform/unform/docs/src/docs | petrpan-code/unform/unform/docs/src/docs/api/scope.mdx | ---
title: Scope
description: Unform API reference for Scope
---
The scope is an Unform component to build complex structures.
If you want to see its use, check this [example](/guides/complex-structures).
## Props
| Name | Description | Required |
| ------------ | --------------------------- ... | 8,295 |
0 | petrpan-code/unform/unform/docs/src/docs | petrpan-code/unform/unform/docs/src/docs/api/use-field.mdx | ---
title: 'useField'
description: 'Unform API reference for useField'
---
`useField` is the main hook from Unform. To use it, you need to provide a name,
passed as a parameter, when declaring it on your functional component.
```jsx
import { useField } from '@unform/core';
const { ... } = useField(name);
```
## Pro... | 8,296 |
0 | petrpan-code/unform/unform/docs/src/docs | petrpan-code/unform/unform/docs/src/docs/examples/file-input.mdx | ---
title: File Input
description: How to create a File Input with Unform
---
Enable your users to upload images or another files using Unform.
> ⚠️ All examples below are using **TypeScript**. If you're not using it, you can remove all type definitions from the component definition.
## Image input with preview
Sim... | 8,297 |
0 | petrpan-code/unform/unform/docs/src/docs | petrpan-code/unform/unform/docs/src/docs/examples/more-examples.mdx | ---
title: More Examples
---
You can find additional examples in the [examples folder of the Unform repository](https://github.com/unform/unform/tree/develop/examples).
| 8,298 |
0 | petrpan-code/unform/unform/docs/src/docs | petrpan-code/unform/unform/docs/src/docs/examples/react-datepicker.mdx | ---
title: React DatePicker
description: Learn how to use React DatePicker with Unform
---
[React DatePicker](https://reactdatepicker.com/) is a very simple library that
provides a fully customizable Date & Time input with a cool picker.
> ⚠️ All examples below are using **TypeScript**. If you're not using it, you c... | 8,299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.