@orient-ai/aurora-ui 1.0.0-alpha.7 → 1.0.0-alpha.8

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.
@@ -9,7 +9,13 @@ interface FrameStackContextValue {
9
9
  push: (page: PageProps) => FrameStackPageHandle;
10
10
  pop: () => void;
11
11
  }
12
+ interface FrameStackPageControls {
13
+ open: () => void;
14
+ close: () => void;
15
+ }
12
16
  export declare function FrameStackProvider({ children }: PropsWithChildren): import('react').JSX.Element;
13
- export declare const useFrameStack: () => FrameStackContextValue;
17
+ export declare function useFrameStack(): FrameStackContextValue;
18
+ /** Keep one page in sync with the caller and close it when the caller unmounts. */
19
+ export declare function useFrameStack(page: PageProps): FrameStackPageControls;
14
20
  export {};
15
21
  //# sourceMappingURL=FrameStackContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FrameStackContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Frame/context/FrameStackContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAGL,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AAEf,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,UAAU,sBAAsB;IAC9B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,oBAAoB,CAAC;IAChD,GAAG,EAAE,MAAM,IAAI,CAAC;CACjB;AAID,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAiDjE;AAED,eAAO,MAAM,aAAa,8BAMzB,CAAC"}
1
+ {"version":3,"file":"FrameStackContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Frame/context/FrameStackContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAIL,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AAEf,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,UAAU,sBAAsB;IAC9B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,oBAAoB,CAAC;IAChD,GAAG,EAAE,MAAM,IAAI,CAAC;CACjB;AAGD,UAAU,sBAAsB;IAC9B,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAQD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAmDjE;AAED,wBAAgB,aAAa,IAAI,sBAAsB,CAAC;AACxD,mFAAmF;AACnF,wBAAgB,aAAa,CAAC,IAAI,EAAE,SAAS,GAAG,sBAAsB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { ComponentPropsWithRef, CSSProperties } from 'react';
2
+ export interface SkeletonProps extends Omit<ComponentPropsWithRef<'div'>, 'children' | 'dangerouslySetInnerHTML'> {
3
+ variant?: 'text' | 'circular' | 'rectangular' | 'rounded';
4
+ /** Numbers are pixels; strings accept CSS lengths and percentages. */
5
+ width?: CSSProperties['width'];
6
+ height?: CSSProperties['height'];
7
+ /** Animation is disabled when the user prefers reduced motion. */
8
+ animation?: 'pulse' | 'wave' | false;
9
+ }
10
+ /** Decorative placeholder. Announce loading on the containing region. */
11
+ export declare function Skeleton({ variant, width, height, animation, className, style, ...restProps }: SkeletonProps): import('react').JSX.Element;
12
+ //# sourceMappingURL=Skeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,WAAW,aAAc,SAAQ,IAAI,CACzC,qBAAqB,CAAC,KAAK,CAAC,EAC5B,UAAU,GAAG,yBAAyB,CACvC;IACC,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,CAAC;IAC1D,sEAAsE;IACtE,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IACjC,kEAAkE;IAClE,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;CACtC;AAED,yEAAyE;AACzE,wBAAgB,QAAQ,CAAC,EACvB,OAAgB,EAChB,KAAK,EACL,MAAM,EACN,SAAmB,EACnB,SAAS,EACT,KAAK,EACL,GAAG,SAAS,EACb,EAAE,aAAa,+BAef"}
@@ -0,0 +1,2 @@
1
+ export * from './Skeleton';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}