@brycks/core-front 0.2.2 → 0.2.4

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.
@@ -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,3 @@
1
+ export { Header, Nav, Aside, Main, Footer, Article, } from './Semantic';
2
+ export type { HeaderProps, NavProps, AsideProps, MainProps, FooterProps, ArticleProps, } from './Semantic';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -11,4 +11,5 @@ export * from './Card';
11
11
  export * from './Section';
12
12
  export * from './Spacer';
13
13
  export * from './Flex';
14
+ export * from './Semantic';
14
15
  //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -0,0 +1,23 @@
1
+ import { ReactNode, ButtonHTMLAttributes } from 'react';
2
+ type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3
+ export interface AvatarProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
4
+ /** Size of the avatar */
5
+ size?: AvatarSize;
6
+ /** Name to display initials from */
7
+ name?: string;
8
+ /** Image source URL */
9
+ src?: string;
10
+ /** Alt text for the image */
11
+ alt?: string;
12
+ /** Custom content to render inside */
13
+ children?: ReactNode;
14
+ /** Whether the avatar is interactive (button) or static (div) */
15
+ interactive?: boolean;
16
+ /** Custom class name */
17
+ className?: string;
18
+ /** Test ID */
19
+ testId?: string;
20
+ }
21
+ export declare const Avatar: import('react').ForwardRefExoticComponent<AvatarProps & import('react').RefAttributes<HTMLButtonElement | HTMLDivElement>>;
22
+ export {};
23
+ //# sourceMappingURL=Avatar.d.ts.map
@@ -0,0 +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,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAkBlD,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"}
@@ -0,0 +1,3 @@
1
+ export { Avatar } from './Avatar';
2
+ export type { AvatarProps } from './Avatar';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,15 @@
1
+ import { ReactNode, HTMLAttributes } from 'react';
2
+ type LogoSize = 'sm' | 'md' | 'lg' | 'xl';
3
+ export interface LogoProps extends HTMLAttributes<HTMLDivElement> {
4
+ /** Size of the logo */
5
+ size?: LogoSize;
6
+ /** Content to display (usually a letter or icon) */
7
+ children?: ReactNode;
8
+ /** Custom class name */
9
+ className?: string;
10
+ /** Test ID */
11
+ testId?: string;
12
+ }
13
+ export declare const Logo: import('react').ForwardRefExoticComponent<LogoProps & import('react').RefAttributes<HTMLDivElement>>;
14
+ export {};
15
+ //# sourceMappingURL=Logo.d.ts.map
@@ -0,0 +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,KAAK,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAuBzC,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"}
@@ -0,0 +1,3 @@
1
+ export { Logo } from './Logo';
2
+ export type { LogoProps } from './Logo';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -12,4 +12,6 @@ export * from './Portal';
12
12
  export * from './FocusTrap';
13
13
  export * from './Overlay';
14
14
  export * from './ScreenReaderOnly';
15
+ export * from './Avatar';
16
+ export * from './Logo';
15
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/utility/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/utility/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brycks/core-front",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Brycks Design System - A modern, calm, and tactile UI component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",