@6thbridge/hexa 0.0.36 → 0.0.38

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
+
2
+  WARN  Issue while reading "/Users/joachim/.nvm/versions/node/v20.17.0/lib/node_modules/npmrc". EISDIR: illegal operation on a directory, read
3
+
4
+ > @6thbridge/hexa@0.0.11 build /Users/joachim/Documents/dev/payfusion/payfusion-component-library/packages/6thbridge-hexa
5
+ > tsup src/index.ts --format=esm,cjs --dts --clean --minify --sourcemap && pnpm run build:style
6
+
7
+ CLI Building entry: src/index.ts
8
+ CLI Using tsconfig: tsconfig.json
9
+ CLI tsup v8.3.5
10
+ CLI Target: es2020
11
+ CLI Cleaning output folder
12
+ ESM Build start
13
+ CJS Build start
14
+ CJS dist/index.js 42.23 KB
15
+ CJS dist/index.js.map 117.76 KB
16
+ CJS ⚡️ Build success in 36ms
17
+ ESM dist/index.mjs 40.07 KB
18
+ ESM dist/index.mjs.map 117.97 KB
19
+ ESM ⚡️ Build success in 36ms
20
+ DTS Build start
21
+ DTS ⚡️ Build success in 2886ms
22
+ DTS dist/index.d.mts 10.41 KB
23
+ DTS dist/index.d.ts 10.41 KB
24
+  WARN  Issue while reading "/Users/joachim/.nvm/versions/node/v20.17.0/lib/node_modules/npmrc". EISDIR: illegal operation on a directory, read
25
+
26
+ > @6thbridge/hexa@0.0.11 build:style /Users/joachim/Documents/dev/payfusion/payfusion-component-library/packages/6thbridge-hexa
27
+ > tailwindcss -i ./src/styles/input.css -o ./dist/output.css
28
+
29
+ 
30
+ Rebuilding...
31
+ 
32
+ Done in 191ms.
@@ -1,5 +1,5 @@
1
-
2
- 
3
- > @6thbridge/hexa@0.0.35 lint /Users/blackhades/workspace/dexler/payfusion/sdks/hexa/packages/6thbridge-hexa
4
- > eslint . --max-warnings 0
5
-
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
+
3
+ > @6thbridge/hexa@0.0.37 lint /Users/joachim/Documents/dev/payfusion/payfusion-component-library/packages/6thbridge-hexa
4
+ > eslint . --max-warnings 0
5
+
package/dist/index.d.mts CHANGED
@@ -273,6 +273,34 @@ declare const Status: ({ status, variant, className, }: {
273
273
  className?: string;
274
274
  }) => react_jsx_runtime.JSX.Element;
275
275
 
276
+ type Props = {
277
+ environment: string;
278
+ branch: string;
279
+ version: string;
280
+ deployTime: string;
281
+ onClose: () => void;
282
+ showBanner: boolean;
283
+ initDefault: () => void;
284
+ removeFromStorage: () => void;
285
+ syncLocalStorageToState: () => void;
286
+ };
287
+ declare const DevBanner: (props: Props) => react_jsx_runtime.JSX.Element | null;
288
+
289
+ interface BannerTypes {
290
+ type?: "normal" | "info" | "warning" | "success" | "critical";
291
+ }
292
+ interface BannerProps extends BannerTypes {
293
+ title?: React.ReactNode;
294
+ description?: React.ReactNode;
295
+ showIcon?: boolean;
296
+ showCloseButton?: boolean;
297
+ bottomBlock?: React.ReactNode;
298
+ sideBlock?: React.ReactNode;
299
+ open: boolean;
300
+ onClose?: () => void;
301
+ }
302
+ declare const Banner: ({ type, title, description, open, showCloseButton, bottomBlock, sideBlock, onClose, showIcon, }: BannerProps) => react_jsx_runtime.JSX.Element | null;
303
+
276
304
  declare const CurrencySymbolMap: Record<string, string>;
277
305
  interface FormatCurrencyOptions {
278
306
  convertToMajorCurrency?: boolean;
@@ -294,4 +322,4 @@ declare class DateAction {
294
322
 
295
323
  declare function cn(...inputs: ClassValue[]): string;
296
324
 
297
- export { AmountAction, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, Dialog, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };
325
+ export { AmountAction, Banner, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };
package/dist/index.d.ts CHANGED
@@ -273,6 +273,34 @@ declare const Status: ({ status, variant, className, }: {
273
273
  className?: string;
274
274
  }) => react_jsx_runtime.JSX.Element;
275
275
 
276
+ type Props = {
277
+ environment: string;
278
+ branch: string;
279
+ version: string;
280
+ deployTime: string;
281
+ onClose: () => void;
282
+ showBanner: boolean;
283
+ initDefault: () => void;
284
+ removeFromStorage: () => void;
285
+ syncLocalStorageToState: () => void;
286
+ };
287
+ declare const DevBanner: (props: Props) => react_jsx_runtime.JSX.Element | null;
288
+
289
+ interface BannerTypes {
290
+ type?: "normal" | "info" | "warning" | "success" | "critical";
291
+ }
292
+ interface BannerProps extends BannerTypes {
293
+ title?: React.ReactNode;
294
+ description?: React.ReactNode;
295
+ showIcon?: boolean;
296
+ showCloseButton?: boolean;
297
+ bottomBlock?: React.ReactNode;
298
+ sideBlock?: React.ReactNode;
299
+ open: boolean;
300
+ onClose?: () => void;
301
+ }
302
+ declare const Banner: ({ type, title, description, open, showCloseButton, bottomBlock, sideBlock, onClose, showIcon, }: BannerProps) => react_jsx_runtime.JSX.Element | null;
303
+
276
304
  declare const CurrencySymbolMap: Record<string, string>;
277
305
  interface FormatCurrencyOptions {
278
306
  convertToMajorCurrency?: boolean;
@@ -294,4 +322,4 @@ declare class DateAction {
294
322
 
295
323
  declare function cn(...inputs: ClassValue[]): string;
296
324
 
297
- export { AmountAction, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, Dialog, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };
325
+ export { AmountAction, Banner, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };