@thenamespace/ens-components 0.8.0 → 0.10.0

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.
Files changed (107) hide show
  1. package/dist/index.css +316 -109
  2. package/dist/index.css.map +1 -1
  3. package/dist/index.d.ts +19157 -7819
  4. package/dist/index.js +129408 -2911
  5. package/dist/index.js.map +1 -1
  6. package/dist/types/backend/index.d.ts +1 -0
  7. package/dist/types/backend/list-manager/index.d.ts +57 -0
  8. package/dist/types/components/ens-names-registrar-component/ENSNamesRegistrarComponent.d.ts +17 -0
  9. package/dist/types/components/{ens-names-register-component → ens-names-registrar-component}/sub-components/CostSummary.d.ts +3 -1
  10. package/dist/types/components/ens-names-registrar-component/sub-components/Header.d.ts +8 -0
  11. package/dist/types/components/{ens-names-register-component → ens-names-registrar-component}/sub-components/NameSearch.d.ts +4 -1
  12. package/dist/types/components/{ens-names-register-component → ens-names-registrar-component}/sub-components/RegistrationForm.d.ts +8 -1
  13. package/dist/types/components/ens-names-registrar-component/sub-components/RegistrationProcess.d.ts +10 -0
  14. package/dist/types/components/index.d.ts +3 -3
  15. package/dist/types/components/{ens-offchain-register-modal/EnsOffChainRegisterModal.d.ts → subname-offchain-registrar-modal/SubnameOffChainRegistrarModal.d.ts} +3 -3
  16. package/dist/types/components/{ens-onchain-register-modal/EnsOnChainRegisterModal.d.ts → subname-onchain-registrar-modal/SubnameOnChainRegistrarModal.d.ts} +3 -3
  17. package/dist/types/components/{ens-onchain-register-modal → subname-onchain-registrar-modal}/sub-components/RegistrationStep.d.ts +1 -2
  18. package/dist/types/constants/records/addressConstants.d.ts +12 -0
  19. package/dist/types/context/account-context.d.ts +44 -0
  20. package/dist/types/context/account-filter-context.d.ts +32 -0
  21. package/dist/types/context/auth-context.d.ts +22 -0
  22. package/dist/types/context/crop-image-context.d.ts +27 -0
  23. package/dist/types/context/current-user-context.d.ts +19 -0
  24. package/dist/types/context/edit-profile-context.d.ts +13 -0
  25. package/dist/types/context/ens-profile-context.d.ts +54 -0
  26. package/dist/types/context/index.d.ts +6 -0
  27. package/dist/types/context/listing-form-context.d.ts +55 -0
  28. package/dist/types/context/listing-status-context.d.ts +19 -0
  29. package/dist/types/context/mint-subname-context.d.ts +12 -0
  30. package/dist/types/environment/index.d.ts +9 -0
  31. package/dist/types/hooks/efp/use-efp.d.ts +11 -0
  32. package/dist/types/hooks/ens/ens-local-cache.d.ts +18 -0
  33. package/dist/types/hooks/ens/use-ens-client.d.ts +763 -0
  34. package/dist/types/hooks/ens/use-ens-contract-address.d.ts +1 -0
  35. package/dist/types/hooks/ens/use-ens-name-profile.d.ts +15 -0
  36. package/dist/types/hooks/ens/use-ens.d.ts +21 -0
  37. package/dist/types/hooks/ens/use-eth-registrar-controller.d.ts +21 -0
  38. package/dist/types/hooks/ens/use-name-wrapper.d.ts +6 -0
  39. package/dist/types/hooks/ens/use-owned-ens-names.d.ts +9 -0
  40. package/dist/types/hooks/index.d.ts +24 -1
  41. package/dist/types/hooks/namespace/use-burn-l2-subname.d.ts +4 -0
  42. package/dist/types/hooks/namespace/use-hybrid-resolver.d.ts +10 -0
  43. package/dist/types/hooks/namespace/use-l2-controller.d.ts +8 -0
  44. package/dist/types/hooks/namespace/use-listing-manager.d.ts +2 -0
  45. package/dist/types/hooks/namespace/use-mint-client.d.ts +2 -0
  46. package/dist/types/hooks/namespace/use-mintable-listings.d.ts +7 -0
  47. package/dist/types/hooks/namespace/use-name-listings.d.ts +1 -0
  48. package/dist/types/hooks/namespace/use-namespace-account.d.ts +25 -0
  49. package/dist/types/hooks/namespace/use-namespace-indexer.d.ts +7 -0
  50. package/dist/types/hooks/namespace/use-re-render-image.d.ts +1 -0
  51. package/dist/types/hooks/namespace/use-trading-stats.d.ts +1 -0
  52. package/dist/types/hooks/upload-image/use-upload-image.d.ts +8 -0
  53. package/dist/types/hooks/use-error-modal.d.ts +4 -0
  54. package/dist/types/hooks/use-screen-size.d.ts +5 -0
  55. package/dist/types/hooks/useWeb3Clients.d.ts +30 -30
  56. package/dist/types/hooks/web3/alchemy-sdk-no-ssr.d.ts +0 -0
  57. package/dist/types/hooks/web3/use-alchemy-sdk.d.ts +4 -0
  58. package/dist/types/hooks/web3/use-block-explorer.d.ts +2 -0
  59. package/dist/types/hooks/web3/use-blockexplorer-url.d.ts +2 -0
  60. package/dist/types/hooks/web3/use-contract-addresses.d.ts +1 -0
  61. package/dist/types/hooks/web3/use-l1-name-minter.d.ts +5 -0
  62. package/dist/types/hooks/web3/use-main-chain.d.ts +10 -0
  63. package/dist/types/hooks/web3/use-main-public-client.d.ts +3624 -0
  64. package/dist/types/hooks/web3/use-name-resolver.d.ts +24 -0
  65. package/dist/types/hooks/web3/use-name-wrapper.d.ts +3 -0
  66. package/dist/types/hooks/web3/use-wait-for-transaction.d.ts +8 -0
  67. package/dist/types/hooks/web3/use-web3-clients.d.ts +8042 -0
  68. package/dist/types/index.d.ts +1 -0
  69. package/dist/types/types/auth.d.ts +8 -0
  70. package/dist/types/types/ens.d.ts +61 -0
  71. package/dist/types/types/errors.d.ts +2 -0
  72. package/dist/types/types/hybrid-resolver.d.ts +4 -0
  73. package/dist/types/types/index.d.ts +10 -0
  74. package/dist/types/types/indexer.d.ts +27 -0
  75. package/dist/types/types/l2.d.ts +34 -0
  76. package/dist/types/types/list-manager.d.ts +179 -0
  77. package/dist/types/types/listing.d.ts +136 -0
  78. package/dist/types/types/minting.d.ts +75 -0
  79. package/dist/types/types/name-listing/enums.d.ts +20 -0
  80. package/dist/types/types/name-listing/index.d.ts +3 -0
  81. package/dist/types/types/name-listing/l2-name-registry.d.ts +13 -0
  82. package/dist/types/types/name-listing/listing.d.ts +73 -0
  83. package/dist/types/types/networks.d.ts +16 -0
  84. package/dist/types/utils/ens.d.ts +3 -0
  85. package/dist/types/utils/image-event-emitter.d.ts +8 -0
  86. package/dist/types/utils/models.d.ts +24 -0
  87. package/dist/types/web3/abis/index.d.ts +300 -0
  88. package/dist/types/web3/chains.d.ts +12 -0
  89. package/dist/types/web3/contracts/addresses.d.ts +4 -0
  90. package/dist/types/web3/efp-provider.d.ts +2 -0
  91. package/dist/types/web3/index.d.ts +5 -0
  92. package/dist/types/web3/providers.d.ts +3 -0
  93. package/dist/types/web3/wallet-connect.d.ts +2 -0
  94. package/package.json +13 -3
  95. package/dist/types/components/ens-names-register-component/ENSNamesRegisterComponent.d.ts +0 -17
  96. package/dist/types/components/ens-names-register-component/sub-components/Header.d.ts +0 -7
  97. package/dist/types/components/ens-names-register-component/sub-components/RegistrationProcess.d.ts +0 -17
  98. /package/dist/types/components/{ens-names-register-component → ens-names-registrar-component}/sub-components/ProgressBar.d.ts +0 -0
  99. /package/dist/types/components/{ens-names-register-component → ens-names-registrar-component}/sub-components/StepItem.d.ts +0 -0
  100. /package/dist/types/components/{ens-names-register-component → ens-names-registrar-component}/sub-components/SuccessScreen.d.ts +0 -0
  101. /package/dist/types/components/{ens-names-register-component → ens-names-registrar-component}/sub-components/Timer.d.ts +0 -0
  102. /package/dist/types/components/{ens-offchain-register-modal → subname-offchain-registrar-modal}/sub-components/InitialStep.d.ts +0 -0
  103. /package/dist/types/components/{ens-offchain-register-modal → subname-offchain-registrar-modal}/sub-components/OffchainRegistrationProcess.d.ts +0 -0
  104. /package/dist/types/components/{ens-offchain-register-modal → subname-offchain-registrar-modal}/sub-components/OffchainSuccessScreen.d.ts +0 -0
  105. /package/dist/types/components/{ens-onchain-register-modal → subname-onchain-registrar-modal}/sub-components/ConfirmationStep.d.ts +0 -0
  106. /package/dist/types/components/{ens-onchain-register-modal → subname-onchain-registrar-modal}/sub-components/InitialStep.d.ts +0 -0
  107. /package/dist/types/components/{ens-onchain-register-modal → subname-onchain-registrar-modal}/sub-components/OnchainSuccessScreen.d.ts +0 -0
package/dist/index.css CHANGED
@@ -2530,23 +2530,29 @@ html{
2530
2530
  display:flex;
2531
2531
  justify-content:center;
2532
2532
  left:0;
2533
+ overflow-y:auto;
2533
2534
  padding:20px;
2534
2535
  position:fixed;
2535
2536
  right:0;
2537
+ scroll-behavior:smooth;
2536
2538
  top:0;
2537
2539
  z-index:1000;
2540
+ -webkit-overflow-scrolling:touch;
2538
2541
  }
2539
2542
  .ns-onchain-register-card{
2540
2543
  animation:fadeIn .4s ease;
2541
2544
  background:#f9f8f9;
2542
2545
  border-radius:20px;
2543
2546
  box-shadow:0 4px 16px rgba(0,0,0,.1);
2544
- max-width:420px;
2545
- min-width:420px;
2547
+ box-sizing:border-box;
2548
+ max-width:420px !important;
2549
+ min-width:420px !important;
2550
+ overflow:visible;
2546
2551
  padding:20px;
2547
2552
  position:relative;
2548
2553
  text-align:center;
2549
- width:420px;
2554
+ transition:all .3s cubic-bezier(.4, 0, .2, 1);
2555
+ width:420px !important;
2550
2556
  }
2551
2557
  .ns-onchain-register-card .ns-onchain-register-duration-section,.ns-onchain-register-card .ns-onchain-register-owner-section,.ns-onchain-register-card .ns-onchain-register-profile-card,.ns-onchain-register-card .ns-onchain-register-toggle{
2552
2558
  text-align:left;
@@ -2584,7 +2590,7 @@ html{
2584
2590
  display:flex;
2585
2591
  gap:8px;
2586
2592
  margin-bottom:12px;
2587
- padding:12px;
2593
+ padding:8px;
2588
2594
  }
2589
2595
  .ns-onchain-register-search-icon{
2590
2596
  color:#9ca3af;
@@ -2609,7 +2615,13 @@ html{
2609
2615
  pointer-events:none;
2610
2616
  }
2611
2617
  .ns-onchain-register-checkmark.available{
2612
- background:transparent;
2618
+ align-items:center;
2619
+ background:#000;
2620
+ border-radius:50%;
2621
+ display:flex;
2622
+ height:14px;
2623
+ justify-content:center;
2624
+ width:14px;
2613
2625
  }
2614
2626
  @keyframes scaleIn{
2615
2627
  0%{
@@ -2622,8 +2634,8 @@ html{
2622
2634
  }
2623
2635
  }
2624
2636
  .ns-onchain-register-checkmark .ns-icon{
2625
- height:16px;
2626
- width:16px;
2637
+ height:12px;
2638
+ width:12px;
2627
2639
  }
2628
2640
  .ns-onchain-register-clear-btn{
2629
2641
  align-items:center;
@@ -2667,11 +2679,11 @@ html{
2667
2679
  }
2668
2680
  .ns-onchain-register-domain-suffix{
2669
2681
  border-left:1px solid #e5e7eb;
2670
- color:#374151;
2671
- font-size:16px;
2682
+ color:#6b7280;
2683
+ font-size:14px;
2672
2684
  font-weight:800;
2673
- margin-left:8px;
2674
- padding-left:8px;
2685
+ margin-left:4px;
2686
+ padding-left:12px;
2675
2687
  white-space:nowrap;
2676
2688
  }
2677
2689
  .ns-onchain-register-actions{
@@ -2745,16 +2757,12 @@ html{
2745
2757
  transform:translateY(0);
2746
2758
  }
2747
2759
  }
2748
- .ns-onchain-register-mint-title{
2749
- margin-bottom:6px;
2750
- text-align:center;
2751
- }
2752
- .ns-onchain-register-name-display{
2760
+ .ns-onchain-register-mint-title,.ns-onchain-register-name-display{
2753
2761
  margin-bottom:16px;
2754
2762
  text-align:center;
2755
2763
  }
2756
2764
  .ns-onchain-register-owner-section{
2757
- background:#f4f4f4;
2765
+ background:#fff;
2758
2766
  border-radius:10px;
2759
2767
  margin-bottom:16px;
2760
2768
  overflow:hidden;
@@ -2768,7 +2776,7 @@ html{
2768
2776
  transition:background .2s ease;
2769
2777
  }
2770
2778
  .ns-onchain-register-owner-header:hover{
2771
- background:#e8e8e8;
2779
+ background:#f5f5f5;
2772
2780
  }
2773
2781
  .ns-onchain-register-owner-left{
2774
2782
  align-items:center;
@@ -2791,30 +2799,41 @@ html{
2791
2799
  border-radius:8px;
2792
2800
  width:100%;
2793
2801
  }
2794
- @keyframes slideDown{
2795
- 0%{
2796
- opacity:0;
2797
- transform:translateY(-10px);
2798
- }
2799
- to{
2800
- opacity:1;
2801
- transform:translateY(0);
2802
- }
2803
- }
2804
2802
  .ns-onchain-register-duration-section{
2805
2803
  background:#fff;
2806
2804
  border-radius:12px;
2807
2805
  margin-bottom:16px;
2806
+ overflow:hidden;
2808
2807
  padding:14px;
2808
+ transition:all .3s cubic-bezier(.4, 0, .2, 1);
2809
2809
  }
2810
2810
  .ns-onchain-register-duration-controls{
2811
2811
  align-items:center;
2812
2812
  display:flex;
2813
2813
  justify-content:space-between;
2814
- margin-bottom:16px;
2814
+ margin-bottom:0;
2815
2815
  padding:2px;
2816
2816
  width:100% !important;
2817
2817
  }
2818
+ .ns-onchain-register-duration-text{
2819
+ align-items:center;
2820
+ cursor:pointer;
2821
+ display:flex;
2822
+ gap:8px;
2823
+ transition:opacity .2s ease;
2824
+ -webkit-user-select:none;
2825
+ -moz-user-select:none;
2826
+ user-select:none;
2827
+ }
2828
+ .ns-onchain-register-duration-text:hover{
2829
+ opacity:.7;
2830
+ }
2831
+ .ns-onchain-register-duration-chevron{
2832
+ align-items:center;
2833
+ color:#6b7280;
2834
+ display:flex;
2835
+ transition:transform .2s ease;
2836
+ }
2818
2837
  .ns-onchain-register-card .ns-onchain-register-duration-controls:has(>:only-child){
2819
2838
  justify-content:center;
2820
2839
  }
@@ -2839,8 +2858,31 @@ html{
2839
2858
  opacity:.5;
2840
2859
  }
2841
2860
  .ns-onchain-register-cost-breakdown{
2861
+ animation:slideDown .5s cubic-bezier(.25, .46, .45, .94);
2842
2862
  border-top:1px solid #e5e7eb;
2863
+ margin-top:16px;
2864
+ max-height:500px;
2865
+ opacity:1;
2866
+ overflow:hidden;
2843
2867
  padding-top:14px;
2868
+ transform-origin:top;
2869
+ will-change:max-height, opacity, transform;
2870
+ }
2871
+ @keyframes slideDown{
2872
+ 0%{
2873
+ margin-top:0;
2874
+ max-height:0;
2875
+ opacity:0;
2876
+ padding-top:0;
2877
+ transform:translateY(-8px) scaleY(.95);
2878
+ }
2879
+ to{
2880
+ margin-top:16px;
2881
+ max-height:500px;
2882
+ opacity:1;
2883
+ padding-top:14px;
2884
+ transform:translateY(0) scaleY(1);
2885
+ }
2844
2886
  }
2845
2887
  .ns-onchain-register-cost-row{
2846
2888
  align-items:center;
@@ -2970,17 +3012,40 @@ html{
2970
3012
  gap:14px;
2971
3013
  justify-content:space-between;
2972
3014
  margin-bottom:16px;
3015
+ overflow:hidden;
2973
3016
  padding:14px;
3017
+ transition:all .3s cubic-bezier(.4, 0, .2, 1);
2974
3018
  }
2975
- .ns-onchain-register-toggle-text{
3019
+ .ns-onchain-register-toggle-content{
2976
3020
  flex:1;
3021
+ overflow:hidden;
2977
3022
  text-align:left;
2978
3023
  }
2979
- .ns-onchain-register-toggle-text .ns-text:first-child{
2980
- margin-bottom:8px;
3024
+ .ns-onchain-register-toggle-title{
3025
+ display:block;
3026
+ margin-bottom:0;
2981
3027
  }
2982
- .ns-onchain-register-toggle-text strong{
2983
- font-weight:600;
3028
+ .ns-onchain-register-toggle-description{
3029
+ animation:expandDescription .4s cubic-bezier(.25, .46, .45, .94);
3030
+ margin-top:8px;
3031
+ max-height:200px;
3032
+ opacity:1;
3033
+ overflow:hidden;
3034
+ will-change:max-height, opacity;
3035
+ }
3036
+ @keyframes expandDescription{
3037
+ 0%{
3038
+ margin-top:0;
3039
+ max-height:0;
3040
+ opacity:0;
3041
+ transform:translateY(-5px);
3042
+ }
3043
+ to{
3044
+ margin-top:8px;
3045
+ max-height:200px;
3046
+ opacity:1;
3047
+ transform:translateY(0);
3048
+ }
2984
3049
  }
2985
3050
  .toggle-switch{
2986
3051
  flex-shrink:0;
@@ -3020,8 +3085,14 @@ html{
3020
3085
  transform:translateX(18px);
3021
3086
  }
3022
3087
  .ns-onchain-register-success{
3088
+ overflow:hidden;
3089
+ position:relative;
3023
3090
  text-align:center;
3024
3091
  }
3092
+ .ns-onchain-register-success>*{
3093
+ position:relative;
3094
+ z-index:1;
3095
+ }
3025
3096
  .ns-onchain-register-success-title-section{
3026
3097
  margin-bottom:20px;
3027
3098
  text-align:center;
@@ -3029,7 +3100,15 @@ html{
3029
3100
  .ns-onchain-register-success-message{
3030
3101
  color:#333;
3031
3102
  display:block;
3032
- margin-bottom:8px;
3103
+ margin-bottom:16px;
3104
+ }
3105
+ .ns-onchain-register-success-name{
3106
+ color:#333;
3107
+ display:block;
3108
+ margin:0;
3109
+ }
3110
+ .ns-onchain-register-success .ns-onchain-register-actions{
3111
+ margin-top:20px;
3033
3112
  }
3034
3113
  .ns-onchain-register-success-subtitle{
3035
3114
  color:#666;
@@ -3122,7 +3201,7 @@ html{
3122
3201
  display:flex;
3123
3202
  gap:8px;
3124
3203
  margin-bottom:12px;
3125
- padding:12px;
3204
+ padding:8px;
3126
3205
  }
3127
3206
  .ns-offchain-register-search-icon{
3128
3207
  color:#9ca3af;
@@ -3147,7 +3226,13 @@ html{
3147
3226
  pointer-events:none;
3148
3227
  }
3149
3228
  .ns-offchain-register-checkmark.available{
3150
- background:transparent;
3229
+ align-items:center;
3230
+ background:#000;
3231
+ border-radius:50%;
3232
+ display:flex;
3233
+ height:14px;
3234
+ justify-content:center;
3235
+ width:14px;
3151
3236
  }
3152
3237
  @keyframes scaleIn{
3153
3238
  0%{
@@ -3160,8 +3245,8 @@ html{
3160
3245
  }
3161
3246
  }
3162
3247
  .ns-offchain-register-checkmark .ns-icon{
3163
- height:16px;
3164
- width:16px;
3248
+ height:12px;
3249
+ width:12px;
3165
3250
  }
3166
3251
  .ns-offchain-register-clear-btn{
3167
3252
  align-items:center;
@@ -3215,11 +3300,11 @@ html{
3215
3300
  }
3216
3301
  .ns-offchain-register-domain-suffix{
3217
3302
  border-left:1px solid #e5e7eb;
3218
- color:#374151;
3219
- font-size:16px;
3303
+ color:#6b7280;
3304
+ font-size:14px;
3220
3305
  font-weight:800;
3221
- margin-left:8px;
3222
- padding-left:8px;
3306
+ margin-left:4px;
3307
+ padding-left:12px;
3223
3308
  white-space:nowrap;
3224
3309
  }
3225
3310
  .ns-offchain-register-name-exist{
@@ -3644,17 +3729,18 @@ html{
3644
3729
  text-align:center;
3645
3730
  }
3646
3731
  .ns-offchain-register-success-title-section{
3647
- margin-bottom:24px;
3732
+ margin-bottom:20px;
3648
3733
  text-align:center;
3649
3734
  }
3650
3735
  .ns-offchain-register-success-message{
3651
3736
  color:#333;
3652
3737
  display:block;
3653
- margin-bottom:8px;
3738
+ margin-bottom:16px;
3654
3739
  }
3655
- .ns-offchain-register-success-subtitle{
3656
- color:#666;
3740
+ .ns-offchain-register-success-name{
3741
+ color:#333;
3657
3742
  display:block;
3743
+ margin:0;
3658
3744
  }
3659
3745
  .ns-offchain-register-finish-banner{
3660
3746
  align-items:center;
@@ -3775,17 +3861,17 @@ html{
3775
3861
  background:#f7f7f7;
3776
3862
  border-radius:20px;
3777
3863
  box-shadow:0 4px 16px rgba(0,0,0,.1);
3778
- max-width:420px;
3779
- min-width:420px;
3780
- padding:24px;
3864
+ max-width:420px !important;
3865
+ min-width:420px !important;
3866
+ padding:20px;
3781
3867
  position:relative;
3782
- width:420px;
3868
+ width:420px !important;
3783
3869
  }
3784
3870
  .ens-names-register-header{
3785
3871
  align-items:center;
3786
3872
  display:flex;
3787
3873
  justify-content:space-between;
3788
- margin-bottom:16px;
3874
+ margin-bottom:12px;
3789
3875
  }
3790
3876
  .ens-names-register-back-btn,.ens-names-register-close-btn{
3791
3877
  align-items:center;
@@ -3805,7 +3891,7 @@ html{
3805
3891
  transform:scale(1.05);
3806
3892
  }
3807
3893
  .ens-names-register-banner{
3808
- margin-bottom:20px;
3894
+ margin-bottom:12px;
3809
3895
  }
3810
3896
  .ens-names-register-banner img{
3811
3897
  border-radius:16px;
@@ -3815,7 +3901,7 @@ html{
3815
3901
  width:100%;
3816
3902
  }
3817
3903
  .ens-names-register-title-section{
3818
- margin-bottom:24px;
3904
+ margin-bottom:16px;
3819
3905
  text-align:center;
3820
3906
  }
3821
3907
  .ens-names-register-title{
@@ -3827,6 +3913,14 @@ html{
3827
3913
  color:#666;
3828
3914
  display:block;
3829
3915
  }
3916
+ .ens-names-register-mint-title{
3917
+ margin-bottom:12px;
3918
+ text-align:center;
3919
+ }
3920
+ .ens-names-register-name-display{
3921
+ margin-bottom:16px;
3922
+ text-align:center;
3923
+ }
3830
3924
  .ens-names-register-input-row{
3831
3925
  align-items:center;
3832
3926
  background-color:#fff;
@@ -3834,8 +3928,8 @@ html{
3834
3928
  border-radius:12px;
3835
3929
  display:flex;
3836
3930
  gap:8px;
3837
- margin-bottom:20px;
3838
- padding:12px;
3931
+ margin-bottom:12px;
3932
+ padding:8px;
3839
3933
  }
3840
3934
  .ens-names-register-search-icon{
3841
3935
  color:#9ca3af;
@@ -3853,51 +3947,138 @@ html{
3853
3947
  }
3854
3948
  .ens-names-register-domain-suffix{
3855
3949
  border-left:1px solid #e5e7eb;
3856
- color:#374151;
3857
- font-size:16px;
3950
+ color:#6b7280;
3951
+ font-size:14px;
3858
3952
  font-weight:800;
3859
- margin-left:8px;
3860
- padding-left:8px;
3953
+ margin-left:4px;
3954
+ padding-left:12px;
3861
3955
  white-space:nowrap;
3862
3956
  }
3863
- .ens-names-register-cost-section{
3957
+ .ens-names-register-checkmark{
3958
+ align-items:center;
3959
+ animation:scaleIn .2s ease;
3960
+ display:flex;
3961
+ flex-shrink:0;
3962
+ justify-content:center;
3963
+ pointer-events:none;
3964
+ }
3965
+ .ens-names-register-checkmark.available{
3966
+ align-items:center;
3967
+ background:#000;
3968
+ border-radius:50%;
3969
+ display:flex;
3970
+ height:14px;
3971
+ justify-content:center;
3972
+ width:14px;
3973
+ }
3974
+ @keyframes scaleIn{
3975
+ 0%{
3976
+ opacity:0;
3977
+ transform:scale(0);
3978
+ }
3979
+ to{
3980
+ opacity:1;
3981
+ transform:scale(1);
3982
+ }
3983
+ }
3984
+ .ens-names-register-checkmark .ns-icon{
3985
+ height:12px;
3986
+ width:12px;
3987
+ }
3988
+ .ens-names-register-clear-btn{
3989
+ align-items:center;
3990
+ animation:scaleIn .2s ease;
3991
+ background:#000;
3992
+ border:none;
3993
+ border-radius:50%;
3994
+ cursor:pointer;
3995
+ display:flex;
3996
+ flex-shrink:0;
3997
+ height:22px;
3998
+ justify-content:center;
3999
+ padding:0;
4000
+ transition:all .2s ease;
4001
+ width:22px;
4002
+ }
4003
+ .ens-names-register-clear-btn:hover{
4004
+ background:#333;
4005
+ transform:scale(1.1);
4006
+ }
4007
+ .ens-names-register-clear-btn:active{
4008
+ transform:scale(.95);
4009
+ }
4010
+ .ens-names-register-clear-btn .ns-icon{
4011
+ height:12px;
4012
+ width:12px;
4013
+ }
4014
+ .ens-names-register-duration-section{
3864
4015
  background:#fff;
3865
4016
  border-radius:12px;
3866
- margin-bottom:20px;
3867
- padding:20px;
4017
+ margin-bottom:16px;
4018
+ overflow:hidden;
4019
+ padding:14px;
4020
+ transition:all .3s cubic-bezier(.4, 0, .2, 1);
3868
4021
  }
3869
- .ens-names-register-duration{
4022
+ .ens-names-register-duration-controls{
3870
4023
  align-items:center;
3871
- background:#fff;
3872
- border:1px solid #ddd;
3873
- border-radius:8px;
3874
4024
  display:flex;
3875
4025
  justify-content:space-between;
3876
- margin-bottom:20px;
3877
- padding:12px 16px;
4026
+ margin-bottom:0;
4027
+ padding:2px;
4028
+ width:100% !important;
4029
+ }
4030
+ .ens-names-register-duration-text{
4031
+ align-items:center;
4032
+ cursor:pointer;
4033
+ display:flex;
4034
+ gap:8px;
4035
+ transition:opacity .2s ease;
4036
+ -webkit-user-select:none;
4037
+ -moz-user-select:none;
4038
+ user-select:none;
4039
+ }
4040
+ .ens-names-register-duration-text:hover{
4041
+ opacity:.7;
4042
+ }
4043
+ .ens-names-register-duration-chevron{
4044
+ align-items:center;
4045
+ color:#6b7280;
4046
+ display:flex;
4047
+ transition:transform .2s ease;
4048
+ }
4049
+ .ens-names-register-card .ens-names-register-duration-controls:has(>:only-child){
4050
+ justify-content:center;
3878
4051
  }
3879
4052
  .ens-names-register-duration-btn{
3880
4053
  align-items:center;
3881
- background-color:#000;
4054
+ background:#000;
3882
4055
  border:none;
3883
4056
  border-radius:50%;
3884
4057
  color:#fff;
3885
4058
  cursor:pointer;
3886
4059
  display:flex;
3887
- font-size:18px;
3888
- font-weight:700;
3889
- height:32px;
4060
+ height:25px;
3890
4061
  justify-content:center;
3891
4062
  transition:all .2s ease;
3892
- width:32px;
4063
+ width:25px;
3893
4064
  }
3894
- .ens-names-register-duration-btn:hover{
3895
- background-color:#333;
4065
+ .ens-names-register-duration-btn:hover:not(:disabled){
4066
+ background:#333;
3896
4067
  }
3897
- .ens-names-register-duration-text{
3898
- color:#222;
3899
- flex:1;
3900
- text-align:center;
4068
+ .ens-names-register-duration-btn:disabled{
4069
+ cursor:not-allowed;
4070
+ opacity:.5;
4071
+ }
4072
+ .ens-names-register-cost-breakdown{
4073
+ animation:slideDown .5s cubic-bezier(.25, .46, .45, .94);
4074
+ border-top:1px solid #e5e7eb;
4075
+ margin-top:16px;
4076
+ max-height:500px;
4077
+ opacity:1;
4078
+ overflow:hidden;
4079
+ padding-top:14px;
4080
+ transform-origin:top;
4081
+ will-change:max-height, opacity, transform;
3901
4082
  }
3902
4083
  .ens-names-register-summary{
3903
4084
  display:flex;
@@ -3932,8 +4113,8 @@ html{
3932
4113
  cursor:pointer;
3933
4114
  display:flex;
3934
4115
  justify-content:space-between;
3935
- margin-bottom:20px;
3936
- padding:16px;
4116
+ margin-bottom:16px;
4117
+ padding:14px;
3937
4118
  transition:all .2s ease;
3938
4119
  }
3939
4120
  .ens-names-register-profile-card:hover{
@@ -4055,8 +4236,12 @@ html{
4055
4236
  justify-content:center;
4056
4237
  }
4057
4238
  .ens-names-register-step-content{
4239
+ align-items:center;
4058
4240
  animation:slideDown .3s ease;
4059
- padding:0 16px 16px 60px;
4241
+ display:flex;
4242
+ flex-direction:column;
4243
+ padding:0 16px 16px;
4244
+ text-align:center;
4060
4245
  }
4061
4246
  @keyframes slideDown{
4062
4247
  0%{
@@ -4072,12 +4257,14 @@ html{
4072
4257
  color:#333;
4073
4258
  display:block;
4074
4259
  margin-bottom:8px;
4260
+ text-align:center;
4075
4261
  }
4076
4262
  .ens-names-register-step-content-description{
4077
4263
  color:#666;
4078
4264
  display:block;
4079
4265
  line-height:1.5;
4080
4266
  margin-bottom:20px;
4267
+ text-align:center;
4081
4268
  }
4082
4269
  .ens-names-register-open-wallet-btn{
4083
4270
  background-color:#000 !important;
@@ -4087,6 +4274,8 @@ html{
4087
4274
  cursor:pointer;
4088
4275
  font-size:16px;
4089
4276
  font-weight:600;
4277
+ margin:0 auto;
4278
+ max-width:100%;
4090
4279
  padding:14px 0;
4091
4280
  transition:all .2s ease;
4092
4281
  width:100%;
@@ -4096,7 +4285,7 @@ html{
4096
4285
  }
4097
4286
  .ens-names-register-footer-link{
4098
4287
  cursor:pointer;
4099
- margin-top:24px;
4288
+ margin-top:16px;
4100
4289
  text-align:center;
4101
4290
  transition:color .2s ease;
4102
4291
  }
@@ -4107,40 +4296,57 @@ html{
4107
4296
  text-decoration:underline;
4108
4297
  }
4109
4298
  .ens-names-register-progress-container{
4299
+ display:flex;
4300
+ justify-content:center;
4110
4301
  margin-top:20px;
4302
+ width:100%;
4111
4303
  }
4112
4304
  .ens-names-register-progress-bar{
4113
- background-color:#e5e7eb;
4114
- border:1px solid #d1d5db;
4115
- border-radius:10px;
4116
- height:25px;
4305
+ background-color:#000;
4306
+ border-radius:4px;
4307
+ height:24px;
4117
4308
  overflow:hidden;
4309
+ padding:4px;
4118
4310
  position:relative;
4119
4311
  width:100%;
4120
4312
  }
4121
4313
  .ens-names-register-progress-fill{
4122
4314
  align-items:center;
4123
- background-color:#000;
4124
- border-radius:4px;
4315
+ background-color:#fff;
4316
+ border-radius:0 12px 12px 0;
4125
4317
  display:flex;
4126
4318
  height:100%;
4127
4319
  justify-content:flex-end;
4128
- padding-right:4px;
4320
+ overflow:visible;
4321
+ padding-right:8px;
4129
4322
  position:relative;
4130
4323
  transition:width .1s linear;
4131
4324
  }
4132
- .ens-names-register-progress-sparkle{
4133
- animation:sparkle 1.5s ease-in-out infinite;
4134
- color:#fff;
4325
+ .ens-names-register-progress-star-wrapper{
4326
+ align-items:center;
4327
+ display:flex;
4328
+ height:100%;
4329
+ justify-content:center;
4330
+ pointer-events:none;
4331
+ position:absolute;
4332
+ right:2;
4333
+ top:0;
4334
+ width:25px;
4135
4335
  }
4136
- @keyframes sparkle{
4137
- 0%,to{
4138
- opacity:1;
4139
- transform:scale(1);
4336
+ .ens-names-register-progress-star{
4337
+ animation:rotate-star 2s linear infinite;
4338
+ display:block;
4339
+ height:100%;
4340
+ transform-origin:center center;
4341
+ width:100%;
4342
+ will-change:transform;
4343
+ }
4344
+ @keyframes rotate-star{
4345
+ 0%{
4346
+ transform:rotate(0deg);
4140
4347
  }
4141
- 50%{
4142
- opacity:.7;
4143
- transform:scale(1.1);
4348
+ to{
4349
+ transform:rotate(1turn);
4144
4350
  }
4145
4351
  }
4146
4352
  .ens-names-register-timer-container{
@@ -4211,10 +4417,10 @@ html{
4211
4417
  transform:scale(.98);
4212
4418
  }
4213
4419
  .ens-names-register-success-card{
4214
- max-width:420px;
4215
- min-width:420px;
4420
+ max-width:420px !important;
4421
+ min-width:420px !important;
4216
4422
  text-align:center;
4217
- width:420px;
4423
+ width:420px !important;
4218
4424
  }
4219
4425
  .ens-names-register-success-header{
4220
4426
  align-items:center;
@@ -4226,7 +4432,7 @@ html{
4226
4432
  align-items:center;
4227
4433
  display:flex;
4228
4434
  justify-content:center;
4229
- margin-bottom:24px;
4435
+ margin-bottom:20px;
4230
4436
  }
4231
4437
  .ens-names-register-success-illustration img{
4232
4438
  height:auto;
@@ -4236,12 +4442,12 @@ html{
4236
4442
  width:100%;
4237
4443
  }
4238
4444
  .ens-names-register-success-title-section{
4239
- margin-bottom:24px;
4445
+ margin-bottom:20px;
4240
4446
  }
4241
4447
  .ens-names-register-success-message{
4242
4448
  color:#333;
4243
4449
  display:block;
4244
- margin-bottom:8px;
4450
+ margin-bottom:16px;
4245
4451
  }
4246
4452
  .ens-names-register-success-name{
4247
4453
  color:#000;
@@ -4251,8 +4457,8 @@ html{
4251
4457
  .ens-names-register-success-summary{
4252
4458
  background:#fff;
4253
4459
  border-radius:12px;
4254
- margin-bottom:24px;
4255
- padding:20px;
4460
+ margin-bottom:20px;
4461
+ padding:14px;
4256
4462
  text-align:left;
4257
4463
  }
4258
4464
  .ens-names-register-success-summary-row{
@@ -4280,6 +4486,7 @@ html{
4280
4486
  .ens-names-register-success-actions{
4281
4487
  display:flex;
4282
4488
  gap:12px;
4489
+ margin-top:0;
4283
4490
  width:100%;
4284
4491
  }
4285
4492
  .ens-names-register-register-another-btn{