@owlui/card
Advanced tools
Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "@owlui/card", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "", | ||
"homepage": "https://github.com/EEBOS/owl-ui/tree/main/packages/card#readme", | ||
"license": "MIT", | ||
"type": "module", | ||
"type": "commonjs", | ||
"source": "src/index.ts", | ||
@@ -36,5 +36,5 @@ "main": "dist/owl.card.js", | ||
"@owlui/typings": "^0.0.1", | ||
"@owlui/utils": "^0.0.16" | ||
"@owlui/utils": "^0.0.17" | ||
}, | ||
"gitHead": "6e79b186348dcc122b04d10958dda11767f29fd7" | ||
"gitHead": "3d79b9fccee0b26c802d2b39b989d356c4c63ded" | ||
} |
import React from 'react'; | ||
import type { CardDefaultProps } from '../Default/Default.types'; | ||
export type CardCardBodyCommons = CardDefaultProps & { | ||
export interface CardCardBodyCommons extends CardDefaultProps { | ||
children: React.ReactNode; | ||
}; | ||
} | ||
export type CardCardBodyProps = Partial<CardCardBodyCommons>; |
import React from 'react'; | ||
import type { CardDefaultProps } from '../Default/Default.types'; | ||
export type CardCardFooterCommons = CardDefaultProps & { | ||
export interface CardCardFooterCommons extends CardDefaultProps { | ||
children: React.ReactNode; | ||
}; | ||
} | ||
export type CardCardFooterProps = Partial<CardCardFooterCommons>; |
import React from 'react'; | ||
import type { CardDefaultProps } from '../Default/Default.types'; | ||
export type CardCardHeaderCommons = CardDefaultProps & { | ||
export interface CardCardHeaderCommons extends CardDefaultProps { | ||
children: React.ReactNode; | ||
}; | ||
} | ||
export type CardCardHeaderProps = Partial<CardCardHeaderCommons>; |
import React from 'react'; | ||
export type CardDefaultCommons = { | ||
export interface CardDefaultCommons { | ||
appearance?: 'Default' | 'Primary' | 'Outline'; | ||
@@ -8,5 +8,5 @@ children: React.ReactNode; | ||
theme?: 'Default' | 'Dark'; | ||
}; | ||
} | ||
export type CardDefaultProps = Partial<CardDefaultCommons> & | ||
React.HTMLAttributes<HTMLDivElement>; |
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
4290772
57
32810
1
No
Updated@owlui/utils@^0.0.17