@20minutes/hela
Advanced tools
Comparing version 0.1.39 to 0.1.40
import * as React from 'react'; | ||
import { BoxProps } from '../../../components'; | ||
export declare type IconName = '20mn-pub' | 'apple' | 'arrow' | 'bookmark' | 'chevron' | 'close' | 'clover' | 'comment' | 'connect' | 'connected' | 'dailymotion' | 'darkmode' | 'diode-entertainment' | 'diode-leaning' | 'diode-planet' | 'diode-sport' | 'diode' | 'facebook' | 'flipboard' | 'googleplay' | 'health' | 'heart' | 'horoscope' | 'home' | 'instagram' | 'jeux' | 'journal' | 'local' | 'logo' | 'menu' | 'mood' | 'newsletters' | 'not-found' | 'notification' | 'podcast' | 'report' | 'search' | 'server-error' | 'share' | 'signin-facebook' | 'signin-google' | 'snapchat' | 'star' | 'tiktok' | 'twitter' | 'valide' | 'view' | 'youtube' | 'work'; | ||
export declare type IconHoroscopeName = 'horoscope-belier' | 'horoscope-taureau' | 'horoscope-gemeaux' | 'horoscope-cancer' | 'horoscope-lion' | 'horoscope-vierge' | 'horoscope-balance' | 'horoscope-scorpion' | 'horoscope-sagittaire' | 'horoscope-capricorne' | 'horoscope-verseau' | 'horoscope-poissons' | 'horoscope-buffle' | 'horoscope-cheval' | 'horoscope-chevre' | 'horoscope-chien' | 'horoscope-cochon' | 'horoscope-coq' | 'horoscope-dragon' | 'horoscope-lapin' | 'horoscope-rat' | 'horoscope-serpent' | 'horoscope-singe' | 'horoscope-tigre'; | ||
export interface IconProps extends Omit<React.SVGAttributes<SVGElement>, 'width' | 'height'> { | ||
className?: string; | ||
export interface IconProps extends BoxProps<'div'> { | ||
name: IconName | IconHoroscopeName; | ||
@@ -7,0 +7,0 @@ size?: number | number[]; |
export * from './Ad'; | ||
export * from './Alert'; | ||
export * from './ArticleContent'; | ||
export * from './Avatar'; | ||
@@ -8,2 +9,3 @@ export * from './Button'; | ||
export * from './DividerSection'; | ||
export * from './Embed'; | ||
export * from './Icon'; | ||
@@ -10,0 +12,0 @@ export * from './Img'; |
import * as React from 'react'; | ||
import { ButtonProps, IconName } from '../../../components'; | ||
import { ColorType } from '../../../types'; | ||
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> { | ||
@@ -12,3 +13,4 @@ label?: string; | ||
variantMsg?: 'default' | 'error' | 'success'; | ||
color?: ColorType; | ||
} | ||
export declare const Input: React.FC<InputProps>; |
import * as React from 'react'; | ||
export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> { | ||
import { BoxProps } from '../../../components'; | ||
export interface LinkProps extends BoxProps<'a'> { | ||
children: React.ReactNode; | ||
@@ -4,0 +5,0 @@ variant?: 'default' | 'primary-button' | 'secondary-button'; |
import * as React from 'react'; | ||
export interface SectionProps { | ||
import { BoxProps } from '../../../components'; | ||
export interface SectionProps extends BoxProps { | ||
inner?: boolean; | ||
@@ -4,0 +5,0 @@ children: React.ReactNode; |
import * as React from 'react'; | ||
import { ColorType } from '../../../types'; | ||
import { BoxProps } from '../../../components'; | ||
export interface TagProps extends Omit<BoxProps, 'id'> { | ||
children?: React.ReactNode; | ||
id?: number; | ||
export interface TagProps extends BoxProps<'a'> { | ||
link?: string; | ||
@@ -8,0 +6,0 @@ variant?: 'primary' | 'secondary' | 'breadcrumb'; |
@@ -1,5 +0,3 @@ | ||
export * from './ArticleContent'; | ||
export * from './ArticleHeader'; | ||
export * from './ArticleImageCover'; | ||
export * from './ArticleCover'; | ||
export * from './ArticleSummary'; | ||
export * from './ArticleVideoCover'; |
import * as React from 'react'; | ||
import { IconHoroscopeName } from '../../../components'; | ||
export interface HeaderBannerProps { | ||
import { FlexProps, IconHoroscopeName } from '../../../components'; | ||
export interface HeaderBannerProps extends FlexProps<'div'> { | ||
title: string; | ||
@@ -8,4 +8,3 @@ subtitle: string; | ||
variant?: 'lightBlue' | 'darkBlue' | 'yellow' | 'orange' | 'transparent'; | ||
classname?: string; | ||
} | ||
export declare const HeaderBanner: React.FC<HeaderBannerProps>; |
import * as React from 'react'; | ||
import { IconName } from '../../../../components'; | ||
export interface HoroscopeTopicCardProps { | ||
import { BoxProps, IconName } from '../../../../components'; | ||
export interface HoroscopeTopicCardProps extends BoxProps<'div'> { | ||
icon: IconName; | ||
@@ -5,0 +5,0 @@ title: string; |
import * as React from 'react'; | ||
export interface InfoBannerProps extends React.HTMLAttributes<HTMLDivElement> { | ||
import { FlexProps } from '../../../components'; | ||
export interface InfoBannerProps extends FlexProps<'div'> { | ||
cover?: string; | ||
@@ -4,0 +5,0 @@ description: string; |
import * as React from 'react'; | ||
import { ColorType } from '../../../types'; | ||
export interface SearchFormProps extends React.HTMLAttributes<HTMLFormElement> { | ||
@@ -6,3 +7,4 @@ id: string; | ||
className?: string; | ||
color?: ColorType; | ||
} | ||
export declare const SearchForm: React.FC<SearchFormProps>; |
import * as React from 'react'; | ||
import { TagProps } from '../../../components'; | ||
import { LayoutType } from '../../../types'; | ||
export interface TagBarProps extends React.HTMLAttributes<HTMLDivElement> { | ||
tags: TagProps[]; | ||
layout: LayoutType; | ||
} | ||
export declare const TagBar: React.FC<TagBarProps>; |
{ | ||
"name": "@20minutes/hela", | ||
"version": "0.1.39", | ||
"version": "0.1.40", | ||
"repository": "git@github.com:20minutes/hela.git", | ||
@@ -63,4 +63,4 @@ "license": "MIT", | ||
"@types/react-dom": "^18.0.10", | ||
"@typescript-eslint/eslint-plugin": "^5.47.1", | ||
"@typescript-eslint/parser": "^5.47.1", | ||
"@typescript-eslint/eslint-plugin": "^5.48.0", | ||
"@typescript-eslint/parser": "^5.48.0", | ||
"@vitejs/plugin-react": "^3.0.0", | ||
@@ -73,3 +73,3 @@ "autoprefixer": "^10.4.13", | ||
"eslint-config-airbnb": "^19.0.4", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-import-resolver-typescript": "^3.5.2", | ||
@@ -83,3 +83,3 @@ "eslint-plugin-babel": "^5.3.1", | ||
"glob": "^8.0.3", | ||
"husky": "^8.0.2", | ||
"husky": "^8.0.3", | ||
"jest": "^29.3.1", | ||
@@ -93,3 +93,3 @@ "postcss": "^8.4.20", | ||
"size-limit": "^8.1.0", | ||
"style-dictionary": "^3.7.1", | ||
"style-dictionary": "^3.7.2", | ||
"stylelint": "^14.16.1", | ||
@@ -101,3 +101,3 @@ "stylelint-config-standard-scss": "^6.1.0", | ||
"typescript": "^4.9.4", | ||
"vite": "^4.0.3", | ||
"vite": "^4.0.4", | ||
"vite-plugin-dts": "^1.7.1", | ||
@@ -104,0 +104,0 @@ "vite-tsconfig-paths": "^4.0.3" |
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
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
266
28969
1918418