@6thbridge/hexa 0.0.38 → 0.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,5 +1,5 @@
1
1
   WARN  Issue while reading "/Users/joachim/.nvm/versions/node/v20.17.0/lib/node_modules/npmrc". EISDIR: illegal operation on a directory, read
2
2
 
3
- > @6thbridge/hexa@0.0.37 lint /Users/joachim/Documents/dev/payfusion/payfusion-component-library/packages/6thbridge-hexa
3
+ > @6thbridge/hexa@0.0.40 lint /Users/joachim/Documents/dev/payfusion/payfusion-component-library/packages/6thbridge-hexa
4
4
  > eslint . --max-warnings 0
5
5
 
package/dist/index.d.mts CHANGED
@@ -274,7 +274,7 @@ declare const Status: ({ status, variant, className, }: {
274
274
  }) => react_jsx_runtime.JSX.Element;
275
275
 
276
276
  type Props = {
277
- environment: string;
277
+ environment: "staging" | "sandbox" | "production";
278
278
  branch: string;
279
279
  version: string;
280
280
  deployTime: string;
@@ -287,19 +287,19 @@ type Props = {
287
287
  declare const DevBanner: (props: Props) => react_jsx_runtime.JSX.Element | null;
288
288
 
289
289
  interface BannerTypes {
290
- type?: "normal" | "info" | "warning" | "success" | "critical";
290
+ type?: "gray" | "info" | "warning" | "success" | "danger";
291
291
  }
292
292
  interface BannerProps extends BannerTypes {
293
293
  title?: React.ReactNode;
294
294
  description?: React.ReactNode;
295
295
  showIcon?: boolean;
296
296
  showCloseButton?: boolean;
297
- bottomBlock?: React.ReactNode;
298
- sideBlock?: React.ReactNode;
297
+ bottomNode?: React.ReactNode;
298
+ sideNode?: React.ReactNode;
299
299
  open: boolean;
300
300
  onClose?: () => void;
301
301
  }
302
- declare const Banner: ({ type, title, description, open, showCloseButton, bottomBlock, sideBlock, onClose, showIcon, }: BannerProps) => react_jsx_runtime.JSX.Element | null;
302
+ declare const Banner: ({ type, title, description, open, showCloseButton, bottomNode, sideNode, onClose, showIcon, }: BannerProps) => react_jsx_runtime.JSX.Element | null;
303
303
 
304
304
  declare const CurrencySymbolMap: Record<string, string>;
305
305
  interface FormatCurrencyOptions {
package/dist/index.d.ts CHANGED
@@ -274,7 +274,7 @@ declare const Status: ({ status, variant, className, }: {
274
274
  }) => react_jsx_runtime.JSX.Element;
275
275
 
276
276
  type Props = {
277
- environment: string;
277
+ environment: "staging" | "sandbox" | "production";
278
278
  branch: string;
279
279
  version: string;
280
280
  deployTime: string;
@@ -287,19 +287,19 @@ type Props = {
287
287
  declare const DevBanner: (props: Props) => react_jsx_runtime.JSX.Element | null;
288
288
 
289
289
  interface BannerTypes {
290
- type?: "normal" | "info" | "warning" | "success" | "critical";
290
+ type?: "gray" | "info" | "warning" | "success" | "danger";
291
291
  }
292
292
  interface BannerProps extends BannerTypes {
293
293
  title?: React.ReactNode;
294
294
  description?: React.ReactNode;
295
295
  showIcon?: boolean;
296
296
  showCloseButton?: boolean;
297
- bottomBlock?: React.ReactNode;
298
- sideBlock?: React.ReactNode;
297
+ bottomNode?: React.ReactNode;
298
+ sideNode?: React.ReactNode;
299
299
  open: boolean;
300
300
  onClose?: () => void;
301
301
  }
302
- declare const Banner: ({ type, title, description, open, showCloseButton, bottomBlock, sideBlock, onClose, showIcon, }: BannerProps) => react_jsx_runtime.JSX.Element | null;
302
+ declare const Banner: ({ type, title, description, open, showCloseButton, bottomNode, sideNode, onClose, showIcon, }: BannerProps) => react_jsx_runtime.JSX.Element | null;
303
303
 
304
304
  declare const CurrencySymbolMap: Record<string, string>;
305
305
  interface FormatCurrencyOptions {