@kvdbil/components 14.3.5 → 14.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/Button/index.js +10 -10
- package/package.json +5 -9
- package/types/components/Accordion/index.d.ts +3 -2
- package/types/components/Button/index.d.ts +1 -0
- package/types/components/Button/styles.d.ts +4 -4
- package/types/components/Chip/styles.d.ts +1 -1
- package/types/components/DayPicker/style.d.ts +1 -1
- package/types/components/FieldLabel.d.ts +2 -2
- package/types/components/Hero/index.d.ts +1 -1
- package/types/components/IconButton.d.ts +2 -2
- package/types/components/Spacer/index.d.ts +1 -1
- package/types/components/SpinnerThin/index.d.ts +3 -2
- package/types/typography/BodyText/index.d.ts +14 -13
- package/types/typography/ButtonText/index.d.ts +11 -10
- package/types/typography/Heading/index.d.ts +17 -16
- package/types/utils/utils.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as s,jsxs as I,Fragment as W}from"react/jsx-runtime";import g,{forwardRef as w}from"react";import t,{css as u}from"styled-components";import y from"../../theme.js";import B from"../Spinner/index.js";import{BasicButtonFontStyle as j,ButtonRegularTextStyle as k}from"../../typography/ButtonText/index.js";import{fontSizes as A,smallerAndSmallSizeStyles as
|
|
1
|
+
import{jsx as s,jsxs as I,Fragment as W}from"react/jsx-runtime";import g,{forwardRef as w}from"react";import t,{css as u}from"styled-components";import y from"../../theme.js";import B from"../Spinner/index.js";import{BasicButtonFontStyle as j,ButtonRegularTextStyle as k}from"../../typography/ButtonText/index.js";import{fontSizes as A,smallerAndSmallSizeStyles as E,regularSizeStyles as F,largeSizeStyles as R,disabledColorStyles as V,colorStyles as C}from"./styles.js";const c=0,D=t.button`
|
|
2
2
|
${j}
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
outline: none;
|
|
@@ -14,27 +14,27 @@ import{jsx as s,jsxs as I,Fragment as W}from"react/jsx-runtime";import g,{forwar
|
|
|
14
14
|
|
|
15
15
|
${({size:e="small"})=>A[e]||k}
|
|
16
16
|
${({size:e})=>u`
|
|
17
|
-
${(e==="smaller"||e==="small")&&
|
|
18
|
-
${e==="regular"&&
|
|
19
|
-
${e==="large"&&
|
|
17
|
+
${(e==="smaller"||e==="small")&&E()}
|
|
18
|
+
${e==="regular"&&F()}
|
|
19
|
+
${e==="large"&&R()}
|
|
20
20
|
`}
|
|
21
21
|
background-color: transparent;
|
|
22
22
|
transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease,
|
|
23
23
|
filter 0.3s;
|
|
24
24
|
${({variant:e="solid",color:i="primary",colorShade:l="main",disabled:n,theme:a})=>u`
|
|
25
|
-
${n?
|
|
25
|
+
${n?V(a,e):C[e](a,i,l)}
|
|
26
26
|
`}
|
|
27
27
|
&:focus-visible {
|
|
28
28
|
box-shadow: 0px 0px 0px 1px ${({theme:e})=>e.colors.gray.light5};
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,M={smaller:"1rem",small:"1rem",regular:"1.5rem",large:"1.5rem"},h={smaller:"0.5rem",small:"0.5rem",regular:"1rem",large:"1rem"},x=t.span`
|
|
31
31
|
display: flex;
|
|
32
32
|
margin-right: ${({type:e,size:i})=>e==="prefix"?h[i]:0};
|
|
33
33
|
margin-left: ${({type:e,size:i})=>e==="sufix"?h[i]:0};
|
|
34
|
-
font-size: ${({size:e})=>
|
|
34
|
+
font-size: ${({size:e})=>M[e]};
|
|
35
35
|
opacity: ${({isLoading:e})=>e?c:1};
|
|
36
|
-
`,
|
|
36
|
+
`,N=t(B)`
|
|
37
37
|
position: absolute;
|
|
38
|
-
`,
|
|
38
|
+
`,T=t.span`
|
|
39
39
|
opacity: ${({isLoading:e})=>e?c:1};
|
|
40
|
-
`,
|
|
40
|
+
`,q={smaller:1,small:1,regular:1.5,large:1.5},p=w(({size:e="small",color:i="primary",colorShade:l="main",variant:n="solid",fullWidth:a=!1,isDisabled:b=!1,isLoading:r=!1,children:$,sufixIcon:m,prefixIcon:d,minWidth:z,as:S="button",...L},v)=>s(D,{...L,as:S,minWidth:z,color:i,colorShade:l,disabled:b||r,fullWidth:a,theme:y,variant:n,size:e,isLoading:r,ref:v,prefixIcon:d,sufixIcon:m,children:I(W,{children:[d&&s(x,{size:e,type:"prefix",isLoading:r,children:d}),((o,f)=>typeof o=="string"||typeof o=="number"?s(T,{isLoading:f,children:o}):g.isValidElement(o)?g.cloneElement(o,{style:{...o.props.style,opacity:f?c:1}}):o)($,r),m&&s(x,{size:e,type:"sufix",isLoading:r,children:m}),r&&s(N,{color:y.colors.gray.light1,size:q[e]})]})}));p.displayName="Button";export{p as Button,p as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kvdbil/components",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.7",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"react-collapse": ">= 5.0.1",
|
|
32
32
|
"react-day-picker": ">= 7.4.8",
|
|
33
33
|
"react-dom": ">= 17.0.0",
|
|
34
|
-
"react-select": "5.
|
|
34
|
+
"react-select": ">= 5.8.0",
|
|
35
35
|
"react-transition-group": ">= 4.0.0",
|
|
36
36
|
"styled-components": ">= 5.1.17"
|
|
37
37
|
},
|
|
@@ -42,10 +42,7 @@
|
|
|
42
42
|
"not op_mini all"
|
|
43
43
|
],
|
|
44
44
|
"resolutions": {
|
|
45
|
-
"
|
|
46
|
-
"@babel/traverse": ">=7.23.2",
|
|
47
|
-
"semver": "^7.5.2",
|
|
48
|
-
"terser": "^5.14.2"
|
|
45
|
+
"micromatch": ">=4.0.8"
|
|
49
46
|
},
|
|
50
47
|
"devDependencies": {
|
|
51
48
|
"@babel/core": "^7.11.6",
|
|
@@ -71,12 +68,11 @@
|
|
|
71
68
|
"@types/react-collapse": "^5.0.0",
|
|
72
69
|
"@types/react-dom": "^17.0.2",
|
|
73
70
|
"@types/react-transition-group": "^4.4.0",
|
|
74
|
-
"@types/styled-components": "^5.1.34",
|
|
75
71
|
"@types/uuid": "^10.0.0",
|
|
76
72
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
77
73
|
"@typescript-eslint/parser": "^7.0.0",
|
|
78
74
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
79
|
-
"babel-plugin-styled-components": "^1.
|
|
75
|
+
"babel-plugin-styled-components": "^2.1.4",
|
|
80
76
|
"cross-env": "^7.0.3",
|
|
81
77
|
"esbuild": "^0.23.1",
|
|
82
78
|
"eslint": "^8.0.0",
|
|
@@ -110,7 +106,7 @@
|
|
|
110
106
|
"rollup-plugin-visualizer": "^5.5.2",
|
|
111
107
|
"standard-version": "^9.3.1",
|
|
112
108
|
"storybook": "^7.0.0",
|
|
113
|
-
"styled-components": "^
|
|
109
|
+
"styled-components": "^6.1.13",
|
|
114
110
|
"ts-jest": "^29.2.4",
|
|
115
111
|
"tslib": "^2.6.3",
|
|
116
112
|
"typescript": "^5.5.4"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Item: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {
|
|
2
3
|
isOpen: boolean;
|
|
3
|
-
}
|
|
4
|
+
}>> & string;
|
|
4
5
|
interface Item {
|
|
5
6
|
title: string;
|
|
6
7
|
text: string;
|
|
@@ -14,6 +14,7 @@ interface Props {
|
|
|
14
14
|
sufixIcon?: ReactNode;
|
|
15
15
|
minWidth?: string;
|
|
16
16
|
as?: keyof JSX.IntrinsicElements;
|
|
17
|
+
ref?: React.ForwardedRef<HTMLElement>;
|
|
17
18
|
}
|
|
18
19
|
export type ButtonProps = ComponentPropsWithRef<'button'> & Props;
|
|
19
20
|
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Theme } from '../../theme';
|
|
2
2
|
import { Color, ColorShade, Variant } from '../../Types';
|
|
3
3
|
export declare const fontSizes: {
|
|
4
|
-
smaller: import("styled-components").
|
|
5
|
-
small: import("styled-components").
|
|
6
|
-
regular: import("styled-components").
|
|
7
|
-
large: import("styled-components").
|
|
4
|
+
smaller: import("styled-components").RuleSet<object>;
|
|
5
|
+
small: import("styled-components").RuleSet<object>;
|
|
6
|
+
regular: import("styled-components").RuleSet<object>;
|
|
7
|
+
large: import("styled-components").RuleSet<object>;
|
|
8
8
|
};
|
|
9
9
|
export declare const smallerAndSmallSizeStyles: () => string;
|
|
10
10
|
export declare const regularSizeStyles: () => string;
|
|
@@ -4,7 +4,7 @@ export declare const getFontSize: (size?: Size) => string;
|
|
|
4
4
|
export declare const getBackgroundColor: ({ isDisabled, variant, color, theme, }: ItemProps) => string;
|
|
5
5
|
export declare const getColor: ({ isDisabled, variant, color, theme, }: ItemProps) => string;
|
|
6
6
|
export declare const getBorderColor: ({ color, isDisabled, variant, theme, }: ItemProps) => string;
|
|
7
|
-
export declare const getCursorType: ({ isDisabled, isClickable, isDeletable, }: ItemProps) => "auto" | "
|
|
7
|
+
export declare const getCursorType: ({ isDisabled, isClickable, isDeletable, }: ItemProps) => "auto" | "not-allowed" | "pointer";
|
|
8
8
|
export declare const getHoverBackgroundColor: ({ variant, color, theme, }: ItemProps) => string;
|
|
9
9
|
export declare const getHoverBorderColor: ({ variant, color, theme }: ItemProps) => string;
|
|
10
10
|
export declare const getHoverColor: ({ variant, color, theme }: ItemProps) => "#e8a100" | "#007069" | "#a63640" | "#004773" | "#269940" | "#1a2030" | "#ffffff";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("styled-components").
|
|
1
|
+
declare const _default: import("styled-components").RuleSet<object>;
|
|
2
2
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const Label: import("styled-components").
|
|
1
|
+
export declare const Label: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
|
|
2
2
|
isFocused: boolean;
|
|
3
3
|
hasValue: boolean;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
centered?: boolean;
|
|
6
6
|
hasError: boolean;
|
|
7
7
|
height?: number;
|
|
8
|
-
}
|
|
8
|
+
}>> & string;
|
|
@@ -4,7 +4,7 @@ type Justify = Exclude<CSSProperties['justifyContent'], number>;
|
|
|
4
4
|
type Align = Exclude<CSSProperties['alignItems'], number>;
|
|
5
5
|
type Direction = CSSProperties['flexDirection'];
|
|
6
6
|
type DarkOrLight = 'dark' | 'light';
|
|
7
|
-
export declare const colorAnimation: import("styled-components").
|
|
7
|
+
export declare const colorAnimation: import("styled-components/dist/models/Keyframes").default;
|
|
8
8
|
type ObjectPositionX = number | 'center' | 'left' | 'right';
|
|
9
9
|
type ObjectPositionY = number | 'center' | 'top' | 'bottom';
|
|
10
10
|
type DynamicGutter = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { KeyboardEvent, MouseEvent, ReactNode } from 'react';
|
|
2
2
|
import { Color } from '../Types';
|
|
3
|
-
export declare const BackgroundStyles: import("styled-components").
|
|
3
|
+
export declare const BackgroundStyles: import("styled-components").RuleSet<{
|
|
4
4
|
color: Color;
|
|
5
5
|
isDisabled: boolean;
|
|
6
|
-
}
|
|
6
|
+
}>;
|
|
7
7
|
interface Props {
|
|
8
8
|
color: Color;
|
|
9
9
|
children: ReactNode;
|
|
@@ -3,5 +3,5 @@ export interface SpacerProps {
|
|
|
3
3
|
hideOnMobile?: boolean;
|
|
4
4
|
hideOnDesktop?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const Spacer: import("styled-components").
|
|
6
|
+
declare const Spacer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SpacerProps>> & string;
|
|
7
7
|
export default Spacer;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
3
|
export interface SpinnerThinProps {
|
|
3
4
|
size?: number;
|
|
4
5
|
isDone?: boolean;
|
|
@@ -9,6 +10,6 @@ export interface SpinnerThinProps {
|
|
|
9
10
|
type IconWrapperProps = SpinnerThinProps & {
|
|
10
11
|
size: number;
|
|
11
12
|
};
|
|
12
|
-
export declare const IconWrapper: import("styled-components").
|
|
13
|
+
export declare const IconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IconWrapperProps>> & string;
|
|
13
14
|
export declare const SpinnerThin: ({ isLoading, isDone, isError, size, ...rest }: SpinnerThinProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default SpinnerThin;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const BodyTextStyle: import("styled-components").RuleSet<object>;
|
|
3
|
+
export declare const CaptionStyle: import("styled-components").RuleSet<object>;
|
|
4
|
+
export declare const StyledBodyText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
5
|
+
export declare const QuoteStyle: import("styled-components").RuleSet<object>;
|
|
6
|
+
export declare const Quote: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
7
|
+
export declare const BodyText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
8
|
+
export declare const BodyLinkStyle: import("styled-components").RuleSet<object>;
|
|
9
|
+
export declare const BodyLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
10
|
+
export declare const Caption: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
11
|
+
export declare const CaptionLinkStyle: import("styled-components").RuleSet<object>;
|
|
12
|
+
export declare const CaptionLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
13
|
+
export declare const StatusStyle: import("styled-components").RuleSet<object>;
|
|
14
|
+
export declare const Status: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
14
15
|
export declare const BodyTexts: () => import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export default BodyTexts;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const BasicButtonFontStyle: import("styled-components").RuleSet<object>;
|
|
3
|
+
export declare const ButtonLargeFontStyle: import("styled-components").RuleSet<object>;
|
|
4
|
+
export declare const ButtonLargeTextStyle: import("styled-components").RuleSet<object>;
|
|
5
|
+
export declare const ButtonLarge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
6
|
+
export declare const ButtonRegularFontStyle: import("styled-components").RuleSet<object>;
|
|
7
|
+
export declare const ButtonRegularTextStyle: import("styled-components").RuleSet<object>;
|
|
8
|
+
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
9
|
+
export declare const ButtonSmallFontStyle: import("styled-components").RuleSet<object>;
|
|
10
|
+
export declare const ButtonSmallTextStyle: import("styled-components").RuleSet<object>;
|
|
11
|
+
export declare const ButtonSmall: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
11
12
|
declare const Buttons: () => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export default Buttons;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Display3Style: import("styled-components").RuleSet<object>;
|
|
3
|
+
export declare const Display3: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
4
|
+
export declare const Display2Style: import("styled-components").RuleSet<object>;
|
|
5
|
+
export declare const Display2: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
6
|
+
export declare const Display1Style: import("styled-components").RuleSet<object>;
|
|
7
|
+
export declare const Display1: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
8
|
+
export declare const HeadlineStyle: import("styled-components").RuleSet<object>;
|
|
9
|
+
export declare const Headline: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
10
|
+
export declare const TitleStyle: import("styled-components").RuleSet<object>;
|
|
11
|
+
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
12
|
+
export declare const SubtitleStyle: import("styled-components").RuleSet<object>;
|
|
13
|
+
export declare const Subtitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
14
|
+
export declare const TinyTitleRegularStyle: import("styled-components").RuleSet<object>;
|
|
15
|
+
export declare const TinyTitleRegular: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
16
|
+
export declare const TinyTitleBoldStyle: import("styled-components").RuleSet<object>;
|
|
17
|
+
export declare const TinyTitleBold: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
17
18
|
declare const Headings: () => import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
export default Headings;
|
package/types/utils/utils.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const getLuminosity: (hexColor: string) => number;
|
|
2
2
|
export declare const hexToRGB: (hex: string, alpha?: number) => string;
|
|
3
|
-
export declare const resetButtonStyle: import("styled-components").
|
|
3
|
+
export declare const resetButtonStyle: import("styled-components").RuleSet<object>;
|