@tealess/avatar
Advanced tools
Comparing version 0.3.0 to 0.4.0
import * as _tealess_context from '@tealess/context'; | ||
import * as React from 'react'; | ||
import * as T from '@tealess/primitive'; | ||
import { Primitive } from '@tealess/primitive'; | ||
@@ -8,7 +7,7 @@ | ||
type ImageLoadingStatus = "idle" | "loading" | "loaded" | "error"; | ||
type PrimitiveSpanProps = T.ComponentPropsWithoutRef<typeof Primitive.span>; | ||
type PrimitiveSpanProps = React.ComponentPropsWithoutRef<typeof Primitive.span>; | ||
interface AvatarProps extends PrimitiveSpanProps { | ||
} | ||
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>; | ||
type PrimitiveImageProps = T.ComponentPropsWithoutRef<typeof Primitive.img>; | ||
type PrimitiveImageProps = React.ComponentPropsWithoutRef<typeof Primitive.img>; | ||
interface AvatarImageProps extends PrimitiveImageProps { | ||
@@ -15,0 +14,0 @@ onLoadingStatusChange?: (status: ImageLoadingStatus) => void; |
{ | ||
"name": "@tealess/avatar", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"description": "Scaffolding Your First Tealess Component", | ||
@@ -22,40 +23,35 @@ "author": "Billgo <hi@billgo.me>", | ||
"dependencies": { | ||
"@tealess/context": "^0.3.0", | ||
"@tealess/hooks": "^0.3.0", | ||
"@tealess/primitive": "^0.3.0" | ||
"@tealess/context": "^0.4.0", | ||
"@tealess/hooks": "^0.4.0", | ||
"@tealess/primitive": "^0.4.0" | ||
}, | ||
"devDependencies": { | ||
"@devjskit/rimraf": "^1.0.0", | ||
"@happy-dom/global-registrator": "^14.7.1", | ||
"@types/bun": "^1.1.1", | ||
"@types/react": "^18.3.1", | ||
"@happy-dom/global-registrator": "^14.12.3", | ||
"@types/bun": "^1.1.5", | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "^18.3.0", | ||
"@types/web": "^0.0.143", | ||
"eslint": "^8.57.0", | ||
"eslint-config-devjskit": "^2.2.2", | ||
"prettier": "^3.2.5", | ||
"prettier-config-devjskit": "^2.2.2", | ||
"@types/web": "^0.0.147", | ||
"eslint": "^9.5.0", | ||
"eslint-config-devjskit": "^3.0.4", | ||
"prettier": "^3.3.2", | ||
"prettier-config-devjskit": "^3.0.4", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.4.5" | ||
"tsup": "^8.1.0", | ||
"typescript": "^5.5.2" | ||
}, | ||
"peerDependencies": { | ||
"react": "^18.2", | ||
"react-dom": "^18.2" | ||
"@types/react": "*", | ||
"@types/react-dom": "*", | ||
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0", | ||
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0" | ||
}, | ||
"eslintConfig": { | ||
"extends": [ | ||
"devjskit/typescript" | ||
], | ||
"ignorePatterns": [ | ||
"*.mjs", | ||
"lib/*", | ||
"dist/*", | ||
"build/*", | ||
"coverage/*", | ||
"fixtures/*", | ||
"examples/**/*", | ||
"tests/**/*" | ||
] | ||
"peerDependenciesMeta": { | ||
"@types/react": { | ||
"optional": true | ||
}, | ||
"@types/react-dom": { | ||
"optional": true | ||
} | ||
}, | ||
@@ -66,3 +62,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "6d0f6b5ef6d6c81e0e4c8871392531d1a097bf78" | ||
"gitHead": "254ed3d59728fbfc3940134485fc72d7aeedfba2" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16624
7
8
273
+ Added@tealess/compose-refs@0.4.0(transitive)
+ Added@tealess/context@0.4.0(transitive)
+ Added@tealess/hooks@0.4.0(transitive)
+ Added@tealess/primitive@0.4.0(transitive)
+ Added@tealess/slot@0.4.0(transitive)
+ Added@types/prop-types@15.7.13(transitive)
+ Added@types/react@18.3.12(transitive)
+ Added@types/react-dom@18.3.1(transitive)
+ Addedcsstype@3.1.3(transitive)
- Removed@tealess/compose-refs@0.3.0(transitive)
- Removed@tealess/context@0.3.0(transitive)
- Removed@tealess/hooks@0.3.0(transitive)
- Removed@tealess/primitive@0.3.0(transitive)
- Removed@tealess/slot@0.3.0(transitive)
Updated@tealess/context@^0.4.0
Updated@tealess/hooks@^0.4.0
Updated@tealess/primitive@^0.4.0