@blateral/b.kit 1.5.18 → 1.5.19
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/lib/components/base/icons/External.d.ts +8 -0
- package/lib/components/base/icons/External.d.ts.map +1 -0
- package/lib/components/typography/Copy.d.ts +8 -2
- package/lib/components/typography/Copy.d.ts.map +1 -1
- package/lib/components/typography/Heading.d.ts +5 -3
- package/lib/components/typography/Heading.d.ts.map +1 -1
- package/lib/index.es.js +2 -2
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/LibThemeProvider.d.ts +22 -7
- package/lib/utils/LibThemeProvider.d.ts.map +1 -1
- package/lib/utils/clamp.d.ts +2 -0
- package/lib/utils/clamp.d.ts.map +1 -0
- package/lib/utils/dataURI.d.ts +3 -0
- package/lib/utils/dataURI.d.ts.map +1 -0
- package/lib/utils/styles.d.ts +34 -0
- package/lib/utils/styles.d.ts.map +1 -1
- package/lib/utils/types.d.ts +8 -0
- package/lib/utils/types.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"External.d.ts","sourceRoot":"","sources":["../../../../src/components/base/icons/External.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAeA,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FontType, FontOptionType } from "../../utils/styles";
|
|
3
|
-
declare type CopyType =
|
|
2
|
+
import { FontType, FontOptionType, FontOptions } from "../../utils/styles";
|
|
3
|
+
export declare type CopyType = Extract<FontType, 'copy-b' | 'copy-i' | 'copy'>;
|
|
4
|
+
export declare const copyStyle: (type: CopyType, size?: keyof FontOptions) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
5
|
+
export declare type CopyTag = 'label' | 'span' | 'div' | 'legend' | 'th' | 'td' | 'li' | 'p' | 'caption' | 'figcaption';
|
|
4
6
|
declare const Copy: React.FC<{
|
|
7
|
+
renderAs?: CopyTag;
|
|
5
8
|
isInverted?: boolean;
|
|
6
9
|
textColor?: string;
|
|
7
10
|
textGradient?: string;
|
|
@@ -9,7 +12,10 @@ declare const Copy: React.FC<{
|
|
|
9
12
|
size?: FontOptionType;
|
|
10
13
|
columns?: boolean;
|
|
11
14
|
innerHTML?: string;
|
|
15
|
+
allowLinkIcons?: boolean;
|
|
16
|
+
onClick?: (ev: React.SyntheticEvent<HTMLElement>) => void;
|
|
12
17
|
className?: string;
|
|
18
|
+
children?: React.ReactNode;
|
|
13
19
|
}>;
|
|
14
20
|
export default Copy;
|
|
15
21
|
//# sourceMappingURL=Copy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Copy.d.ts","sourceRoot":"","sources":["../../../src/components/typography/Copy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Copy.d.ts","sourceRoot":"","sources":["../../../src/components/typography/Copy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EACH,QAAQ,EAGR,cAAc,EAId,WAAW,EAGd,2BAAqB;AAGtB,oBAAY,QAAQ,GAAG,OAAO,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC,CAAC;AAEvE,eAAO,MAAM,SAAS,SACZ,QAAQ,SACR,MAAM,WAAW,uIAU1B,CAAC;AAwSF,oBAAY,OAAO,GACb,OAAO,GACP,MAAM,GACN,KAAK,GACL,QAAQ,GACR,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,GAAG,GACH,SAAS,GACT,YAAY,CAAC;AAEnB,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAgDA,CAAC;AAIF,eAAe,IAAI,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { FontType } from "../../utils/styles";
|
|
3
|
-
declare type HeadingType =
|
|
4
|
-
export declare
|
|
3
|
+
declare type HeadingType = Extract<FontType, 'heading-1' | 'heading-2' | 'heading-3' | 'heading-4' | 'super'>;
|
|
4
|
+
export declare const headingStyle: (type: HeadingType) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
5
|
+
export declare type HeadlineTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'div' | 'blockquote';
|
|
5
6
|
declare const Heading: React.FC<{
|
|
6
|
-
|
|
7
|
+
renderAs?: HeadlineTag;
|
|
7
8
|
isInverted?: boolean;
|
|
8
9
|
size?: HeadingType;
|
|
9
10
|
textColor?: string;
|
|
@@ -12,6 +13,7 @@ declare const Heading: React.FC<{
|
|
|
12
13
|
hasShadow?: boolean;
|
|
13
14
|
innerHTML?: string;
|
|
14
15
|
className?: string;
|
|
16
|
+
children?: React.ReactNode;
|
|
15
17
|
}>;
|
|
16
18
|
export default Heading;
|
|
17
19
|
//# sourceMappingURL=Heading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/components/typography/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/components/typography/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEH,QAAQ,EAKX,2BAAqB;AAEtB,aAAK,WAAW,GAAG,OAAO,CACtB,QAAQ,EACR,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,OAAO,CAClE,CAAC;AA8CF,eAAO,MAAM,YAAY,SAAU,WAAW,uIAc7C,CAAC;AAYF,oBAAY,WAAW,GACjB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,MAAM,GACN,KAAK,GACL,YAAY,CAAC;AAEnB,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAiEA,CAAC;AAOF,eAAe,OAAO,CAAC"}
|