@layers-app/shared 0.0.50 → 0.0.51

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.
@@ -1627,7 +1627,6 @@ export declare namespace Schemes {
1627
1627
  } | undefined;
1628
1628
  align?: "center" | "end" | "start" | undefined;
1629
1629
  primaryColor?: string | undefined;
1630
- borderRadius?: "sm" | "md" | "lg" | undefined;
1631
1630
  background?: {
1632
1631
  image?: string | undefined;
1633
1632
  color?: string | undefined;
@@ -1637,6 +1636,7 @@ export declare namespace Schemes {
1637
1636
  fit?: string | undefined;
1638
1637
  blendMode?: string | undefined;
1639
1638
  } | undefined;
1639
+ borderRadius?: "sm" | "md" | "lg" | undefined;
1640
1640
  container?: {
1641
1641
  color?: string | undefined;
1642
1642
  opacity?: number | undefined;
@@ -1673,7 +1673,6 @@ export declare namespace Schemes {
1673
1673
  } | undefined;
1674
1674
  align?: "center" | "end" | "start" | undefined;
1675
1675
  primaryColor?: string | undefined;
1676
- borderRadius?: "sm" | "md" | "lg" | undefined;
1677
1676
  background?: {
1678
1677
  image?: string | undefined;
1679
1678
  color?: string | undefined;
@@ -1683,6 +1682,7 @@ export declare namespace Schemes {
1683
1682
  fit?: string | undefined;
1684
1683
  blendMode?: string | undefined;
1685
1684
  } | undefined;
1685
+ borderRadius?: "sm" | "md" | "lg" | undefined;
1686
1686
  container?: {
1687
1687
  color?: string | undefined;
1688
1688
  opacity?: number | undefined;
@@ -2525,7 +2525,6 @@ export declare namespace Schemes {
2525
2525
  } | undefined;
2526
2526
  align?: "center" | "end" | "start" | undefined;
2527
2527
  primaryColor?: string | undefined;
2528
- borderRadius?: "sm" | "md" | "lg" | undefined;
2529
2528
  background?: {
2530
2529
  image?: string | undefined;
2531
2530
  color?: string | undefined;
@@ -2535,6 +2534,7 @@ export declare namespace Schemes {
2535
2534
  fit?: string | undefined;
2536
2535
  blendMode?: string | undefined;
2537
2536
  } | undefined;
2537
+ borderRadius?: "sm" | "md" | "lg" | undefined;
2538
2538
  container?: {
2539
2539
  color?: string | undefined;
2540
2540
  opacity?: number | undefined;
@@ -2571,7 +2571,6 @@ export declare namespace Schemes {
2571
2571
  } | undefined;
2572
2572
  align?: "center" | "end" | "start" | undefined;
2573
2573
  primaryColor?: string | undefined;
2574
- borderRadius?: "sm" | "md" | "lg" | undefined;
2575
2574
  background?: {
2576
2575
  image?: string | undefined;
2577
2576
  color?: string | undefined;
@@ -2581,6 +2580,7 @@ export declare namespace Schemes {
2581
2580
  fit?: string | undefined;
2582
2581
  blendMode?: string | undefined;
2583
2582
  } | undefined;
2583
+ borderRadius?: "sm" | "md" | "lg" | undefined;
2584
2584
  container?: {
2585
2585
  color?: string | undefined;
2586
2586
  opacity?: number | undefined;
@@ -2851,7 +2851,6 @@ export declare namespace Schemes {
2851
2851
  } | undefined;
2852
2852
  align?: "center" | "end" | "start" | undefined;
2853
2853
  primaryColor?: string | undefined;
2854
- borderRadius?: "sm" | "md" | "lg" | undefined;
2855
2854
  background?: {
2856
2855
  image?: string | undefined;
2857
2856
  color?: string | undefined;
@@ -2861,6 +2860,7 @@ export declare namespace Schemes {
2861
2860
  fit?: string | undefined;
2862
2861
  blendMode?: string | undefined;
2863
2862
  } | undefined;
2863
+ borderRadius?: "sm" | "md" | "lg" | undefined;
2864
2864
  container?: {
2865
2865
  color?: string | undefined;
2866
2866
  opacity?: number | undefined;
@@ -3131,7 +3131,6 @@ export declare namespace Schemes {
3131
3131
  } | undefined;
3132
3132
  align?: "center" | "end" | "start" | undefined;
3133
3133
  primaryColor?: string | undefined;
3134
- borderRadius?: "sm" | "md" | "lg" | undefined;
3135
3134
  background?: {
3136
3135
  image?: string | undefined;
3137
3136
  color?: string | undefined;
@@ -3141,6 +3140,7 @@ export declare namespace Schemes {
3141
3140
  fit?: string | undefined;
3142
3141
  blendMode?: string | undefined;
3143
3142
  } | undefined;
3143
+ borderRadius?: "sm" | "md" | "lg" | undefined;
3144
3144
  container?: {
3145
3145
  color?: string | undefined;
3146
3146
  opacity?: number | undefined;
@@ -3995,7 +3995,6 @@ export declare namespace Schemes {
3995
3995
  } | undefined;
3996
3996
  align?: "center" | "end" | "start" | undefined;
3997
3997
  primaryColor?: string | undefined;
3998
- borderRadius?: "sm" | "md" | "lg" | undefined;
3999
3998
  background?: {
4000
3999
  image?: string | undefined;
4001
4000
  color?: string | undefined;
@@ -4005,6 +4004,7 @@ export declare namespace Schemes {
4005
4004
  fit?: string | undefined;
4006
4005
  blendMode?: string | undefined;
4007
4006
  } | undefined;
4007
+ borderRadius?: "sm" | "md" | "lg" | undefined;
4008
4008
  container?: {
4009
4009
  color?: string | undefined;
4010
4010
  opacity?: number | undefined;
@@ -4041,7 +4041,6 @@ export declare namespace Schemes {
4041
4041
  } | undefined;
4042
4042
  align?: "center" | "end" | "start" | undefined;
4043
4043
  primaryColor?: string | undefined;
4044
- borderRadius?: "sm" | "md" | "lg" | undefined;
4045
4044
  background?: {
4046
4045
  image?: string | undefined;
4047
4046
  color?: string | undefined;
@@ -4051,6 +4050,7 @@ export declare namespace Schemes {
4051
4050
  fit?: string | undefined;
4052
4051
  blendMode?: string | undefined;
4053
4052
  } | undefined;
4053
+ borderRadius?: "sm" | "md" | "lg" | undefined;
4054
4054
  container?: {
4055
4055
  color?: string | undefined;
4056
4056
  opacity?: number | undefined;
@@ -4321,7 +4321,6 @@ export declare namespace Schemes {
4321
4321
  } | undefined;
4322
4322
  align?: "center" | "end" | "start" | undefined;
4323
4323
  primaryColor?: string | undefined;
4324
- borderRadius?: "sm" | "md" | "lg" | undefined;
4325
4324
  background?: {
4326
4325
  image?: string | undefined;
4327
4326
  color?: string | undefined;
@@ -4331,6 +4330,7 @@ export declare namespace Schemes {
4331
4330
  fit?: string | undefined;
4332
4331
  blendMode?: string | undefined;
4333
4332
  } | undefined;
4333
+ borderRadius?: "sm" | "md" | "lg" | undefined;
4334
4334
  container?: {
4335
4335
  color?: string | undefined;
4336
4336
  opacity?: number | undefined;
@@ -4601,7 +4601,6 @@ export declare namespace Schemes {
4601
4601
  } | undefined;
4602
4602
  align?: "center" | "end" | "start" | undefined;
4603
4603
  primaryColor?: string | undefined;
4604
- borderRadius?: "sm" | "md" | "lg" | undefined;
4605
4604
  background?: {
4606
4605
  image?: string | undefined;
4607
4606
  color?: string | undefined;
@@ -4611,6 +4610,7 @@ export declare namespace Schemes {
4611
4610
  fit?: string | undefined;
4612
4611
  blendMode?: string | undefined;
4613
4612
  } | undefined;
4613
+ borderRadius?: "sm" | "md" | "lg" | undefined;
4614
4614
  container?: {
4615
4615
  color?: string | undefined;
4616
4616
  opacity?: number | undefined;
@@ -5464,7 +5464,6 @@ export declare namespace Schemes {
5464
5464
  } | undefined;
5465
5465
  align?: "center" | "end" | "start" | undefined;
5466
5466
  primaryColor?: string | undefined;
5467
- borderRadius?: "sm" | "md" | "lg" | undefined;
5468
5467
  background?: {
5469
5468
  image?: string | undefined;
5470
5469
  color?: string | undefined;
@@ -5474,6 +5473,7 @@ export declare namespace Schemes {
5474
5473
  fit?: string | undefined;
5475
5474
  blendMode?: string | undefined;
5476
5475
  } | undefined;
5476
+ borderRadius?: "sm" | "md" | "lg" | undefined;
5477
5477
  container?: {
5478
5478
  color?: string | undefined;
5479
5479
  opacity?: number | undefined;
@@ -5510,7 +5510,6 @@ export declare namespace Schemes {
5510
5510
  } | undefined;
5511
5511
  align?: "center" | "end" | "start" | undefined;
5512
5512
  primaryColor?: string | undefined;
5513
- borderRadius?: "sm" | "md" | "lg" | undefined;
5514
5513
  background?: {
5515
5514
  image?: string | undefined;
5516
5515
  color?: string | undefined;
@@ -5520,6 +5519,7 @@ export declare namespace Schemes {
5520
5519
  fit?: string | undefined;
5521
5520
  blendMode?: string | undefined;
5522
5521
  } | undefined;
5522
+ borderRadius?: "sm" | "md" | "lg" | undefined;
5523
5523
  container?: {
5524
5524
  color?: string | undefined;
5525
5525
  opacity?: number | undefined;
@@ -5790,7 +5790,6 @@ export declare namespace Schemes {
5790
5790
  } | undefined;
5791
5791
  align?: "center" | "end" | "start" | undefined;
5792
5792
  primaryColor?: string | undefined;
5793
- borderRadius?: "sm" | "md" | "lg" | undefined;
5794
5793
  background?: {
5795
5794
  image?: string | undefined;
5796
5795
  color?: string | undefined;
@@ -5800,6 +5799,7 @@ export declare namespace Schemes {
5800
5799
  fit?: string | undefined;
5801
5800
  blendMode?: string | undefined;
5802
5801
  } | undefined;
5802
+ borderRadius?: "sm" | "md" | "lg" | undefined;
5803
5803
  container?: {
5804
5804
  color?: string | undefined;
5805
5805
  opacity?: number | undefined;
@@ -6070,7 +6070,6 @@ export declare namespace Schemes {
6070
6070
  } | undefined;
6071
6071
  align?: "center" | "end" | "start" | undefined;
6072
6072
  primaryColor?: string | undefined;
6073
- borderRadius?: "sm" | "md" | "lg" | undefined;
6074
6073
  background?: {
6075
6074
  image?: string | undefined;
6076
6075
  color?: string | undefined;
@@ -6080,6 +6079,7 @@ export declare namespace Schemes {
6080
6079
  fit?: string | undefined;
6081
6080
  blendMode?: string | undefined;
6082
6081
  } | undefined;
6082
+ borderRadius?: "sm" | "md" | "lg" | undefined;
6083
6083
  container?: {
6084
6084
  color?: string | undefined;
6085
6085
  opacity?: number | undefined;
@@ -6240,7 +6240,6 @@ export declare namespace Schemes {
6240
6240
  } | undefined;
6241
6241
  align?: "center" | "end" | "start" | undefined;
6242
6242
  primaryColor?: string | undefined;
6243
- borderRadius?: "sm" | "md" | "lg" | undefined;
6244
6243
  background?: {
6245
6244
  image?: string | undefined;
6246
6245
  color?: string | undefined;
@@ -6250,6 +6249,7 @@ export declare namespace Schemes {
6250
6249
  fit?: string | undefined;
6251
6250
  blendMode?: string | undefined;
6252
6251
  } | undefined;
6252
+ borderRadius?: "sm" | "md" | "lg" | undefined;
6253
6253
  container?: {
6254
6254
  color?: string | undefined;
6255
6255
  opacity?: number | undefined;
@@ -6286,7 +6286,6 @@ export declare namespace Schemes {
6286
6286
  } | undefined;
6287
6287
  align?: "center" | "end" | "start" | undefined;
6288
6288
  primaryColor?: string | undefined;
6289
- borderRadius?: "sm" | "md" | "lg" | undefined;
6290
6289
  background?: {
6291
6290
  image?: string | undefined;
6292
6291
  color?: string | undefined;
@@ -6296,6 +6295,7 @@ export declare namespace Schemes {
6296
6295
  fit?: string | undefined;
6297
6296
  blendMode?: string | undefined;
6298
6297
  } | undefined;
6298
+ borderRadius?: "sm" | "md" | "lg" | undefined;
6299
6299
  container?: {
6300
6300
  color?: string | undefined;
6301
6301
  opacity?: number | undefined;
@@ -6368,7 +6368,6 @@ export declare namespace Schemes {
6368
6368
  } | undefined;
6369
6369
  align?: "center" | "end" | "start" | undefined;
6370
6370
  primaryColor?: string | undefined;
6371
- borderRadius?: "sm" | "md" | "lg" | undefined;
6372
6371
  background?: {
6373
6372
  image?: string | undefined;
6374
6373
  color?: string | undefined;
@@ -6378,6 +6377,7 @@ export declare namespace Schemes {
6378
6377
  fit?: string | undefined;
6379
6378
  blendMode?: string | undefined;
6380
6379
  } | undefined;
6380
+ borderRadius?: "sm" | "md" | "lg" | undefined;
6381
6381
  container?: {
6382
6382
  color?: string | undefined;
6383
6383
  opacity?: number | undefined;
@@ -6650,7 +6650,6 @@ export declare namespace Schemes {
6650
6650
  } | undefined;
6651
6651
  align?: "center" | "end" | "start" | undefined;
6652
6652
  primaryColor?: string | undefined;
6653
- borderRadius?: "sm" | "md" | "lg" | undefined;
6654
6653
  background?: {
6655
6654
  image?: string | undefined;
6656
6655
  color?: string | undefined;
@@ -6660,6 +6659,7 @@ export declare namespace Schemes {
6660
6659
  fit?: string | undefined;
6661
6660
  blendMode?: string | undefined;
6662
6661
  } | undefined;
6662
+ borderRadius?: "sm" | "md" | "lg" | undefined;
6663
6663
  container?: {
6664
6664
  color?: string | undefined;
6665
6665
  opacity?: number | undefined;
@@ -6931,7 +6931,6 @@ export declare namespace Schemes {
6931
6931
  } | undefined;
6932
6932
  align?: "center" | "end" | "start" | undefined;
6933
6933
  primaryColor?: string | undefined;
6934
- borderRadius?: "sm" | "md" | "lg" | undefined;
6935
6934
  background?: {
6936
6935
  image?: string | undefined;
6937
6936
  color?: string | undefined;
@@ -6941,6 +6940,7 @@ export declare namespace Schemes {
6941
6940
  fit?: string | undefined;
6942
6941
  blendMode?: string | undefined;
6943
6942
  } | undefined;
6943
+ borderRadius?: "sm" | "md" | "lg" | undefined;
6944
6944
  container?: {
6945
6945
  color?: string | undefined;
6946
6946
  opacity?: number | undefined;
@@ -6990,7 +6990,6 @@ export declare namespace Schemes {
6990
6990
  } | undefined;
6991
6991
  align?: "center" | "end" | "start" | undefined;
6992
6992
  primaryColor?: string | undefined;
6993
- borderRadius?: "sm" | "md" | "lg" | undefined;
6994
6993
  background?: {
6995
6994
  image?: string | undefined;
6996
6995
  color?: string | undefined;
@@ -7000,6 +6999,7 @@ export declare namespace Schemes {
7000
6999
  fit?: string | undefined;
7001
7000
  blendMode?: string | undefined;
7002
7001
  } | undefined;
7002
+ borderRadius?: "sm" | "md" | "lg" | undefined;
7003
7003
  container?: {
7004
7004
  color?: string | undefined;
7005
7005
  opacity?: number | undefined;
@@ -7272,7 +7272,6 @@ export declare namespace Schemes {
7272
7272
  } | undefined;
7273
7273
  align?: "center" | "end" | "start" | undefined;
7274
7274
  primaryColor?: string | undefined;
7275
- borderRadius?: "sm" | "md" | "lg" | undefined;
7276
7275
  background?: {
7277
7276
  image?: string | undefined;
7278
7277
  color?: string | undefined;
@@ -7282,6 +7281,7 @@ export declare namespace Schemes {
7282
7281
  fit?: string | undefined;
7283
7282
  blendMode?: string | undefined;
7284
7283
  } | undefined;
7284
+ borderRadius?: "sm" | "md" | "lg" | undefined;
7285
7285
  container?: {
7286
7286
  color?: string | undefined;
7287
7287
  opacity?: number | undefined;
@@ -7553,7 +7553,6 @@ export declare namespace Schemes {
7553
7553
  } | undefined;
7554
7554
  align?: "center" | "end" | "start" | undefined;
7555
7555
  primaryColor?: string | undefined;
7556
- borderRadius?: "sm" | "md" | "lg" | undefined;
7557
7556
  background?: {
7558
7557
  image?: string | undefined;
7559
7558
  color?: string | undefined;
@@ -7563,6 +7562,7 @@ export declare namespace Schemes {
7563
7562
  fit?: string | undefined;
7564
7563
  blendMode?: string | undefined;
7565
7564
  } | undefined;
7565
+ borderRadius?: "sm" | "md" | "lg" | undefined;
7566
7566
  container?: {
7567
7567
  color?: string | undefined;
7568
7568
  opacity?: number | undefined;
@@ -1,7 +1,8 @@
1
- import { default as React } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  import { AvatarProps } from '@mantine/core';
3
3
  import { MenuUser } from '../AppContainer/components/menus/UserMenu/MenuUserDropdown';
4
4
  export interface UserAvatarProps extends AvatarProps, Omit<React.ComponentPropsWithoutRef<'div'>, keyof AvatarProps> {
5
- user?: MenuUser | null;
5
+ user?: Partial<MenuUser> | null;
6
+ emptyIcon?: ReactNode;
6
7
  }
7
8
  export declare const UserAvatar: React.ForwardRefExoticComponent<UserAvatarProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,9 @@
1
1
  import { modals } from '@mantine/modals';
2
+ import { ReactNode } from 'react';
2
3
  export declare const openRemoveConfirmModal: (props: Parameters<typeof modals.openConfirmModal>[0] & {
3
4
  labels?: {
4
5
  confirm?: string;
5
6
  cancel?: string;
6
7
  };
8
+ icon?: ReactNode | null;
7
9
  }) => void;