@banyan_cloud/roots 2.0.38 → 2.0.40

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.
@@ -1,7 +1,8 @@
1
- export default Copy;
2
- declare function Copy(props: any): import("react/jsx-runtime").JSX.Element;
3
- declare namespace Copy {
4
- namespace defaultProps {
5
- let className: string;
6
- }
1
+ interface CopyProps {
2
+ className?: string | undefined;
3
+ width?: number | string | undefined;
4
+ height?: number | string | undefined;
5
+ color?: string | undefined;
7
6
  }
7
+ declare const Copy: (props: CopyProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default Copy;
@@ -1 +1 @@
1
- export { default as CopyIcon } from "./Copy";
1
+ export { default as CopyIcon } from './Copy';
@@ -1,7 +1,4 @@
1
+ declare const Cross: (props: {
2
+ className?: string | undefined;
3
+ }) => import("react/jsx-runtime").JSX.Element;
1
4
  export default Cross;
2
- declare function Cross(props: any): import("react/jsx-runtime").JSX.Element;
3
- declare namespace Cross {
4
- namespace defaultProps {
5
- let className: string;
6
- }
7
- }
@@ -1 +1 @@
1
- export { default as CrossIcon } from "./Cross";
1
+ export { default as CrossIcon } from './Cross';
@@ -1 +1 @@
1
- export { default as SearchButton } from "./SearchButton";
1
+ export { default as SearchButton } from './SearchButton';
@@ -1 +1 @@
1
- export { default as Slider } from "./Slider";
1
+ export { default as Slider } from './Slider';
@@ -4,7 +4,7 @@ export declare const getDateFromEpoch: (epoch: number) => string;
4
4
  export declare const getTimeFromEpoch: (epoch: number) => string;
5
5
  type TimeFormat = 12 | 24;
6
6
  type DateFormat = string;
7
- export declare const epochToFormattedDate: (epoch: number, type: "time" | "date", format?: TimeFormat | DateFormat) => string | null;
7
+ export declare const epochToFormattedDate: (epoch: number, type: "time" | "date", format?: TimeFormat | DateFormat, universal?: boolean) => string | null;
8
8
  export interface DayInfo {
9
9
  month: (typeof FULL_MONTHS)[number];
10
10
  monthAsNumber: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banyan_cloud/roots",
3
- "version": "2.0.38",
3
+ "version": "2.0.40",
4
4
  "description": "Design System Library which drives the Banyan Cloud products",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",