@contra/slate
Advanced tools
Comparing version 3.18.1 to 3.18.2
@@ -0,1 +1,2 @@ | ||
import { type IconSvgProps } from '@contra/ui-kit/icons'; | ||
import React, { type FunctionComponent, type HTMLAttributes } from 'react'; | ||
@@ -6,3 +7,3 @@ export interface LoadingPlaceholderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> { | ||
estimatedDuration?: number; | ||
icon?: FunctionComponent<HTMLAttributes<SVGElement>>; | ||
icon?: FunctionComponent<IconSvgProps>; | ||
previewImage?: string; | ||
@@ -9,0 +10,0 @@ /** |
@@ -1,5 +0,6 @@ | ||
import { type FunctionComponent, type HTMLAttributes } from 'react'; | ||
import { type IconSvgProps } from '@contra/ui-kit/icons'; | ||
import { type FunctionComponent } from 'react'; | ||
interface IconProps { | ||
className?: string; | ||
icon: FunctionComponent<HTMLAttributes<SVGElement>>; | ||
icon: FunctionComponent<IconSvgProps>; | ||
} | ||
@@ -6,0 +7,0 @@ export declare const Icon: { |
@@ -9,3 +9,6 @@ import { AddMenuGroup } from '../../../core'; | ||
group: AddMenuGroup.BASIC; | ||
icon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element; | ||
icon: (props: import("@contra/ui-kit/icons").IconSvgProps) => React.FunctionComponentElement<import("@contra/ui-kit/icons").IconSvgProps & { | ||
children?: React.ReactNode; | ||
viewBox: string; | ||
}>; | ||
text: string; | ||
@@ -12,0 +15,0 @@ }[]; |
@@ -9,3 +9,6 @@ import { AddMenuGroup } from '../../../core'; | ||
group: AddMenuGroup.MEDIA; | ||
icon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element; | ||
icon: (props: import("@contra/ui-kit/icons").IconSvgProps) => React.FunctionComponentElement<import("@contra/ui-kit/icons").IconSvgProps & { | ||
children?: React.ReactNode; | ||
viewBox: string; | ||
}>; | ||
text: string; | ||
@@ -12,0 +15,0 @@ }[]; |
@@ -9,3 +9,6 @@ import { AddMenuGroup } from '../../../core'; | ||
group: AddMenuGroup.BASIC; | ||
icon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element; | ||
icon: (props: import("@contra/ui-kit/icons").IconSvgProps) => React.FunctionComponentElement<import("@contra/ui-kit/icons").IconSvgProps & { | ||
children?: React.ReactNode; | ||
viewBox: string; | ||
}>; | ||
text: string; | ||
@@ -12,0 +15,0 @@ }[]; |
@@ -9,3 +9,6 @@ import { AddMenuGroup } from '../../../core'; | ||
group: AddMenuGroup.EMBED; | ||
icon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element; | ||
icon: (props: import("@contra/ui-kit/icons").IconSvgProps) => React.FunctionComponentElement<import("@contra/ui-kit/icons").IconSvgProps & { | ||
children?: React.ReactNode; | ||
viewBox: string; | ||
}>; | ||
text: string; | ||
@@ -12,0 +15,0 @@ }[]; |
@@ -9,3 +9,6 @@ import { AddMenuGroup } from '../../../core'; | ||
group: AddMenuGroup.BASIC; | ||
icon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element; | ||
icon: (props: import("@contra/ui-kit/icons").IconSvgProps) => React.FunctionComponentElement<import("@contra/ui-kit/icons").IconSvgProps & { | ||
children?: React.ReactNode; | ||
viewBox: string; | ||
}>; | ||
text: string; | ||
@@ -12,0 +15,0 @@ }[]; |
@@ -12,3 +12,6 @@ import { AddMenuGroup } from '../../../core'; | ||
group: AddMenuGroup.MEDIA; | ||
icon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element; | ||
icon: (props: import("@contra/ui-kit/icons").IconSvgProps) => React.FunctionComponentElement<import("@contra/ui-kit/icons").IconSvgProps & { | ||
children?: React.ReactNode; | ||
viewBox: string; | ||
}>; | ||
text: string; | ||
@@ -15,0 +18,0 @@ }[]; |
@@ -9,3 +9,6 @@ import { AddMenuGroup } from '../../../core'; | ||
group: AddMenuGroup.BASIC; | ||
icon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element; | ||
icon: (props: import("@contra/ui-kit/icons").IconSvgProps) => React.FunctionComponentElement<import("@contra/ui-kit/icons").IconSvgProps & { | ||
children?: React.ReactNode; | ||
viewBox: string; | ||
}>; | ||
text: string; | ||
@@ -12,0 +15,0 @@ }[]; |
@@ -9,3 +9,6 @@ import { AddMenuGroup } from '../../../core'; | ||
group: AddMenuGroup.BASIC; | ||
icon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element; | ||
icon: (props: import("@contra/ui-kit/icons").IconSvgProps) => React.FunctionComponentElement<import("@contra/ui-kit/icons").IconSvgProps & { | ||
children?: React.ReactNode; | ||
viewBox: string; | ||
}>; | ||
text: string; | ||
@@ -12,0 +15,0 @@ }[]; |
@@ -9,3 +9,6 @@ import { AddMenuGroup } from '../../../core'; | ||
group: AddMenuGroup.ADVANCED; | ||
icon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element; | ||
icon: (props: import("@contra/ui-kit/icons").IconSvgProps) => React.FunctionComponentElement<import("@contra/ui-kit/icons").IconSvgProps & { | ||
children?: React.ReactNode; | ||
viewBox: string; | ||
}>; | ||
text: string; | ||
@@ -12,0 +15,0 @@ }[]; |
{ | ||
"dependencies": { | ||
"@floating-ui/react-dom-interactions": "^0.13.0", | ||
"@floating-ui/react-dom-interactions": "^0.13.3", | ||
"clsx": "^1.2.1", | ||
@@ -14,4 +14,4 @@ "is-hotkey": "^0.2.0", | ||
"@commitlint/config-conventional": "^17.4.2", | ||
"@floating-ui/dom": "^1.2.0", | ||
"@ladle/react": "^2.7.2", | ||
"@floating-ui/dom": "^1.2.1", | ||
"@ladle/react": "^2.9.0", | ||
"@playwright/test": "^1.30.0", | ||
@@ -29,3 +29,3 @@ "@testing-library/dom": "^8.20.0", | ||
"@types/uuid": "^9.0.0", | ||
"@vitest/coverage-istanbul": "^0.25.8", | ||
"@vitest/coverage-istanbul": "^0.28.5", | ||
"eslint": "^8.33.0", | ||
@@ -40,10 +40,10 @@ "identity-obj-proxy": "^3.0.0", | ||
"sass": "^1.58.0", | ||
"slate": "^0.90.0", | ||
"slate": "^0.91.1", | ||
"slate-history": "^0.86.0", | ||
"slate-hyperscript": "^0.77.0", | ||
"slate-react": "^0.90.0", | ||
"slate-react": "^0.91.0", | ||
"start-server-and-test": "^1.15.1", | ||
"tsc-alias": "^1.8.1", | ||
"typescript": "^4.9.5", | ||
"typescript-plugin-css-modules": "^4.1.1", | ||
"typescript-plugin-css-modules": "^4.2.1", | ||
"unplugin-clear-testid": "^0.0.9", | ||
@@ -73,5 +73,5 @@ "vite": "^4.1.1", | ||
"react-dom": ">=18.2.0", | ||
"slate": "~0.90.0", | ||
"slate": "~0.91.1", | ||
"slate-history": "~0.86.0", | ||
"slate-react": "~0.90.0" | ||
"slate-react": "~0.91.0" | ||
}, | ||
@@ -83,3 +83,3 @@ "publishConfig": { | ||
"types": "./dist/types/index.d.ts", | ||
"version": "3.18.1", | ||
"version": "3.18.2", | ||
"scripts": { | ||
@@ -86,0 +86,0 @@ "build": "pnpm build:lib && pnpm build:types", |
Sorry, the diff of this file is too big to display
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
1454472
451
8688
+ Addedslate@0.91.4(transitive)
+ Addedslate-react@0.91.11(transitive)
- Removedslate@0.90.0(transitive)
- Removedslate-react@0.90.0(transitive)