@brycks/core-front 0.2.3 → 0.2.5
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/dist/components/layout/Semantic/Semantic.d.ts +32 -0
- package/dist/components/layout/Semantic/Semantic.d.ts.map +1 -0
- package/dist/components/layout/Semantic/index.d.ts +3 -0
- package/dist/components/layout/Semantic/index.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts +1 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/utility/Avatar/Avatar.d.ts +1 -2
- package/dist/components/utility/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/utility/Avatar/index.d.ts +1 -1
- package/dist/components/utility/Avatar/index.d.ts.map +1 -1
- package/dist/components/utility/Logo/Logo.d.ts +1 -2
- package/dist/components/utility/Logo/Logo.d.ts.map +1 -1
- package/dist/components/utility/Logo/index.d.ts +1 -1
- package/dist/components/utility/Logo/index.d.ts.map +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1305 -1068
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode, CSSProperties } from 'react';
|
|
2
|
+
interface SemanticProps extends HTMLAttributes<HTMLElement> {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
testId?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface HeaderProps extends SemanticProps {
|
|
9
|
+
role?: 'banner' | 'none';
|
|
10
|
+
}
|
|
11
|
+
export declare const Header: import('react').ForwardRefExoticComponent<HeaderProps & import('react').RefAttributes<HTMLElement>>;
|
|
12
|
+
export interface NavProps extends SemanticProps {
|
|
13
|
+
'aria-label'?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const Nav: import('react').ForwardRefExoticComponent<NavProps & import('react').RefAttributes<HTMLElement>>;
|
|
16
|
+
export interface AsideProps extends SemanticProps {
|
|
17
|
+
'aria-label'?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const Aside: import('react').ForwardRefExoticComponent<AsideProps & import('react').RefAttributes<HTMLElement>>;
|
|
20
|
+
export interface MainProps extends SemanticProps {
|
|
21
|
+
id?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const Main: import('react').ForwardRefExoticComponent<MainProps & import('react').RefAttributes<HTMLElement>>;
|
|
24
|
+
export interface FooterProps extends SemanticProps {
|
|
25
|
+
role?: 'contentinfo' | 'none';
|
|
26
|
+
}
|
|
27
|
+
export declare const Footer: import('react').ForwardRefExoticComponent<FooterProps & import('react').RefAttributes<HTMLElement>>;
|
|
28
|
+
export interface ArticleProps extends SemanticProps {
|
|
29
|
+
}
|
|
30
|
+
export declare const Article: import('react').ForwardRefExoticComponent<ArticleProps & import('react').RefAttributes<HTMLElement>>;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=Semantic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Semantic.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Semantic/Semantic.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAA;AAI3F,UAAU,aAAc,SAAQ,cAAc,CAAC,WAAW,CAAC;IACzD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAGD,MAAM,WAAW,WAAY,SAAQ,aAAa;IAChD,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;CACzB;AAED,eAAO,MAAM,MAAM,qGAalB,CAAA;AAKD,MAAM,WAAW,QAAS,SAAQ,aAAa;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,eAAO,MAAM,GAAG,kGAaf,CAAA;AAKD,MAAM,WAAW,UAAW,SAAQ,aAAa;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,eAAO,MAAM,KAAK,oGAajB,CAAA;AAKD,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,eAAO,MAAM,IAAI,mGAchB,CAAA;AAKD,MAAM,WAAW,WAAY,SAAQ,aAAa;IAChD,IAAI,CAAC,EAAE,aAAa,GAAG,MAAM,CAAA;CAC9B;AAED,eAAO,MAAM,MAAM,qGAalB,CAAA;AAKD,MAAM,WAAW,YAAa,SAAQ,aAAa;CAAG;AAEtD,eAAO,MAAM,OAAO,sGAanB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Semantic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,GAAG,EACH,KAAK,EACL,IAAI,EACJ,MAAM,EACN,OAAO,GACR,MAAM,YAAY,CAAA;AAEnB,YAAY,EACV,WAAW,EACX,QAAQ,EACR,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,GACb,MAAM,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, ButtonHTMLAttributes } from 'react';
|
|
2
|
-
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
3
|
export interface AvatarProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
|
|
4
4
|
/** Size of the avatar */
|
|
5
5
|
size?: AvatarSize;
|
|
@@ -19,5 +19,4 @@ export interface AvatarProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement
|
|
|
19
19
|
testId?: string;
|
|
20
20
|
}
|
|
21
21
|
export declare const Avatar: import('react').ForwardRefExoticComponent<AvatarProps & import('react').RefAttributes<HTMLButtonElement | HTMLDivElement>>;
|
|
22
|
-
export {};
|
|
23
22
|
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAGjG,
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAGjG,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAkBzD,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC5F,yBAAyB;IACzB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,uBAAuB;IACvB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,6BAA6B;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,sCAAsC;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,iEAAiE;IACjE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAUD,eAAO,MAAM,MAAM,4HAqFlB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, HTMLAttributes } from 'react';
|
|
2
|
-
type LogoSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
export type LogoSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
3
3
|
export interface LogoProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
/** Size of the logo */
|
|
5
5
|
size?: LogoSize;
|
|
@@ -11,5 +11,4 @@ export interface LogoProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
11
11
|
testId?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const Logo: import('react').ForwardRefExoticComponent<LogoProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export {};
|
|
15
14
|
//# sourceMappingURL=Logo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/Logo/Logo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAG3F,
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/Logo/Logo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAG3F,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAuBhD,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC/D,uBAAuB;IACvB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,oDAAoD;IACpD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,IAAI,sGA6ChB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/Logo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/Logo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA"}
|