@raystack/apsara 0.11.6 → 0.11.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/dist/flex/flex.d.ts +5 -6
- package/dist/flex/flex.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/sidebar/sidebar.d.ts +9 -1
- package/dist/sidebar/sidebar.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/flex/flex.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import { HTMLAttributes
|
|
3
|
-
declare const
|
|
2
|
+
import { HTMLAttributes } from "react";
|
|
3
|
+
export declare const Flex: import("react").ForwardRefExoticComponent<VariantProps<(props?: ({
|
|
4
4
|
direction?: "row" | "column" | "rowReverse" | "columnReverse" | null | undefined;
|
|
5
5
|
align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
|
|
6
6
|
justify?: "center" | "start" | "end" | "between" | null | undefined;
|
|
7
7
|
wrap?: "wrap" | "noWrap" | "wrapReverse" | null | undefined;
|
|
8
8
|
gap?: "small" | "medium" | "large" | "extra-small" | "extra-large" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export {};
|
|
9
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
12
|
//# sourceMappingURL=flex.d.ts.map
|
package/dist/flex/flex.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../flex/flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,
|
|
1
|
+
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../flex/flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAc,cAAc,EAAqB,MAAM,OAAO,CAAC;AAgDtE,eAAO,MAAM,IAAI;;;;;;;;mFAehB,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -2668,9 +2668,9 @@ const flex = cva(styles$v.flex, {
|
|
|
2668
2668
|
wrap: "noWrap",
|
|
2669
2669
|
},
|
|
2670
2670
|
});
|
|
2671
|
-
|
|
2672
|
-
return (jsxRuntimeExports.jsx("div", { className: flex({ direction, align, justify, wrap, gap, className }), ...props, children: children }));
|
|
2673
|
-
}
|
|
2671
|
+
const Flex = React.forwardRef(({ children, direction, align, justify, wrap, gap, className, ...props }, ref) => {
|
|
2672
|
+
return (jsxRuntimeExports.jsx("div", { className: flex({ direction, align, justify, wrap, gap, className }), ...props, ref: ref, children: children }));
|
|
2673
|
+
});
|
|
2674
2674
|
|
|
2675
2675
|
var styles$u = {"label":"label-module_label__hM2lk","label-small":"label-module_label-small__se5gE","label-medium":"label-module_label-medium__Z4Tcb","label-large":"label-module_label-large__ba4Jb"};
|
|
2676
2676
|
|