Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@databutton/tldraw

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@databutton/tldraw - npm Package Compare versions

Comparing version 0.0.1-alpha-6 to 0.0.1-alpha-7

2

dist/components/Primitives/DropdownMenu/DMContent.d.ts

@@ -221,3 +221,3 @@ import * as React from 'react';

}>>, {
variant?: "horizontal" | "menu" | undefined;
variant?: "menu" | "horizontal" | undefined;
}, {

@@ -224,0 +224,0 @@ micro: "(max-width: 370px)";

/// <reference types="react" />
export declare const DMRadioItem: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>>, {
isActive?: boolean | "false" | "true" | undefined;
isActive?: boolean | "true" | "false" | undefined;
bp?: "small" | "mobile" | undefined;

@@ -5,0 +5,0 @@ }, {

export declare const IconButton: import("@stitches/react/types/styled-component").StyledComponent<"button", {
bp?: "small" | "mobile" | undefined;
size?: "medium" | "large" | "small" | undefined;
size?: "small" | "medium" | "large" | undefined;
isActive?: boolean | "true" | undefined;

@@ -5,0 +5,0 @@ }, {

@@ -7,3 +7,3 @@ /// <reference types="react" />

export declare const StyledKbd: import("@stitches/react/types/styled-component").StyledComponent<"kbd", {
variant?: "tooltip" | "menu" | undefined;
variant?: "menu" | "tooltip" | undefined;
}, {

@@ -10,0 +10,0 @@ micro: "(max-width: 370px)";

export declare const Panel: import("@stitches/react/types/styled-component").StyledComponent<"div", {
side?: "left" | "right" | "center" | undefined;
side?: "left" | "center" | "right" | undefined;
}, {

@@ -4,0 +4,0 @@ micro: "(max-width: 370px)";

@@ -20,5 +20,5 @@ import * as React from 'react';

size?: "icon" | undefined;
isSponsor?: boolean | "false" | "true" | undefined;
isSponsor?: boolean | "true" | "false" | undefined;
isWarning?: boolean | "true" | undefined;
isActive?: boolean | "false" | "true" | undefined;
isActive?: boolean | "true" | "false" | undefined;
}, {

@@ -25,0 +25,0 @@ micro: "(max-width: 370px)";

@@ -234,3 +234,3 @@ import * as React from 'react';

isSponsor?: boolean | "true" | undefined;
isActive?: boolean | "false" | "true" | undefined;
isActive?: boolean | "true" | "false" | undefined;
bp?: "small" | "mobile" | undefined;

@@ -237,0 +237,0 @@ }, {

@@ -15,3 +15,3 @@ import React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<AgGridShape, HTMLDivElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<AgGridShape, HTMLDivElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Indicator: (props: {

@@ -18,0 +18,0 @@ shape: AgGridShape;

@@ -13,3 +13,3 @@ import * as React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<ArrowShape, HTMLDivElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<ArrowShape, HTMLDivElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Indicator: (props: {

@@ -16,0 +16,0 @@ shape: ArrowShape;

@@ -15,3 +15,3 @@ import * as React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<DrawShape, SVGSVGElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<SVGSVGElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<DrawShape, SVGSVGElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<SVGSVGElement>>;
Indicator: (props: {

@@ -18,0 +18,0 @@ shape: DrawShape;

@@ -13,3 +13,3 @@ import * as React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<EllipseShape, HTMLDivElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<EllipseShape, HTMLDivElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Indicator: (props: {

@@ -16,0 +16,0 @@ shape: EllipseShape;

@@ -10,3 +10,3 @@ import * as React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<GroupShape, SVGSVGElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<SVGSVGElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<GroupShape, SVGSVGElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<SVGSVGElement>>;
Indicator: (props: {

@@ -13,0 +13,0 @@ shape: GroupShape;

@@ -14,3 +14,3 @@ import * as React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<ImageShape, HTMLDivElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<ImageShape, HTMLDivElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Indicator: (props: {

@@ -17,0 +17,0 @@ shape: ImageShape;

@@ -15,3 +15,3 @@ import * as React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<PlotlyShape, HTMLDivElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<PlotlyShape, HTMLDivElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Indicator: (props: {

@@ -18,0 +18,0 @@ shape: PlotlyShape;

@@ -13,3 +13,3 @@ import * as React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<RectangleShape, HTMLDivElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<RectangleShape, HTMLDivElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Indicator: (props: {

@@ -16,0 +16,0 @@ shape: RectangleShape;

import { AlignStyle } from '../../../types';
export declare function getTextAlign(alignStyle?: AlignStyle): "left" | "right" | "center" | "justify";
export declare function getTextAlign(alignStyle?: AlignStyle): "left" | "center" | "right" | "justify";
//# sourceMappingURL=getTextAlign.d.ts.map

@@ -15,3 +15,3 @@ import * as React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<StickyShape, HTMLDivElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<StickyShape, HTMLDivElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Indicator: (props: {

@@ -18,0 +18,0 @@ shape: StickyShape;

@@ -16,3 +16,3 @@ import * as React from 'react';

texts: Map<string, string>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<TextShape, HTMLDivElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<TextShape, HTMLDivElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Indicator: (props: {

@@ -19,0 +19,0 @@ shape: TextShape;

@@ -14,3 +14,3 @@ import * as React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<TriangleShape, HTMLDivElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<TriangleShape, HTMLDivElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Indicator: (props: {

@@ -17,0 +17,0 @@ shape: TriangleShape;

@@ -16,3 +16,3 @@ import * as React from 'react';

getShape: (props: Partial<T>) => T;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<VideoShape, HTMLDivElement, TDMeta>, "bounds" | "isGhost" | "meta" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Component: React.ForwardRefExoticComponent<Pick<import("@tldraw/core").TLComponentProps<VideoShape, HTMLDivElement, TDMeta>, "isGhost" | "meta" | "bounds" | "isEditing" | "isSelected" | "shape" | "isBinding" | "events" | "onShapeBlur" | "onShapeChange" | "asset" | "isHovered" | "isChildOfSelected"> & React.RefAttributes<HTMLDivElement>>;
Indicator: (props: {

@@ -19,0 +19,0 @@ shape: VideoShape;

{
"name": "@databutton/tldraw",
"version": "0.0.1-alpha-6",
"version": "0.0.1-alpha-7",
"description": "A tiny little drawing app (editor)",

@@ -5,0 +5,0 @@ "author": "@databutton",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc