@kushagradhawan/kookie-ui 0.1.8 → 0.1.10

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.
package/styles.css CHANGED
@@ -7074,8 +7074,8 @@
7074
7074
  letter-spacing: var(--letter-spacing-1);
7075
7075
  }
7076
7076
  .rt-Button:where(.rt-r-size-1) :where(svg) {
7077
- width: 13px;
7078
- height: 13px;
7077
+ width: 16px;
7078
+ height: 16px;
7079
7079
  }
7080
7080
  .rt-Button:where(.rt-r-size-1):where(:not(.rt-variant-ghost)) {
7081
7081
  padding-left: var(--space-2);
@@ -7093,8 +7093,8 @@
7093
7093
  letter-spacing: var(--letter-spacing-2);
7094
7094
  }
7095
7095
  .rt-Button:where(.rt-r-size-2) :where(svg) {
7096
- width: 15px;
7097
- height: 15px;
7096
+ width: 18px;
7097
+ height: 18px;
7098
7098
  }
7099
7099
  .rt-Button:where(.rt-r-size-2):where(:not(.rt-variant-ghost)) {
7100
7100
  padding-left: var(--space-3);
@@ -7112,8 +7112,8 @@
7112
7112
  letter-spacing: var(--letter-spacing-3);
7113
7113
  }
7114
7114
  .rt-Button:where(.rt-r-size-3) :where(svg) {
7115
- width: 17px;
7116
- height: 17px;
7115
+ width: 20px;
7116
+ height: 20px;
7117
7117
  }
7118
7118
  .rt-Button:where(.rt-r-size-3):where(:not(.rt-variant-ghost)) {
7119
7119
  padding-left: var(--space-4);
@@ -7131,8 +7131,8 @@
7131
7131
  letter-spacing: var(--letter-spacing-4);
7132
7132
  }
7133
7133
  .rt-Button:where(.rt-r-size-4) :where(svg) {
7134
- width: 19px;
7135
- height: 19px;
7134
+ width: 22px;
7135
+ height: 22px;
7136
7136
  }
7137
7137
  .rt-Button:where(.rt-r-size-4):where(:not(.rt-variant-ghost)) {
7138
7138
  padding-left: var(--space-5);
@@ -7151,8 +7151,8 @@
7151
7151
  letter-spacing: var(--letter-spacing-1);
7152
7152
  }
7153
7153
  .rt-Button:where(.xs\:rt-r-size-1) :where(svg) {
7154
- width: 13px;
7155
- height: 13px;
7154
+ width: 16px;
7155
+ height: 16px;
7156
7156
  }
7157
7157
  .rt-Button:where(.xs\:rt-r-size-1):where(:not(.rt-variant-ghost)) {
7158
7158
  padding-left: var(--space-2);
@@ -7170,8 +7170,8 @@
7170
7170
  letter-spacing: var(--letter-spacing-2);
7171
7171
  }
7172
7172
  .rt-Button:where(.xs\:rt-r-size-2) :where(svg) {
7173
- width: 15px;
7174
- height: 15px;
7173
+ width: 18px;
7174
+ height: 18px;
7175
7175
  }
7176
7176
  .rt-Button:where(.xs\:rt-r-size-2):where(:not(.rt-variant-ghost)) {
7177
7177
  padding-left: var(--space-3);
@@ -7189,8 +7189,8 @@
7189
7189
  letter-spacing: var(--letter-spacing-3);
7190
7190
  }
7191
7191
  .rt-Button:where(.xs\:rt-r-size-3) :where(svg) {
7192
- width: 17px;
7193
- height: 17px;
7192
+ width: 20px;
7193
+ height: 20px;
7194
7194
  }
7195
7195
  .rt-Button:where(.xs\:rt-r-size-3):where(:not(.rt-variant-ghost)) {
7196
7196
  padding-left: var(--space-4);
@@ -7208,8 +7208,8 @@
7208
7208
  letter-spacing: var(--letter-spacing-4);
7209
7209
  }
7210
7210
  .rt-Button:where(.xs\:rt-r-size-4) :where(svg) {
7211
- width: 19px;
7212
- height: 19px;
7211
+ width: 22px;
7212
+ height: 22px;
7213
7213
  }
7214
7214
  .rt-Button:where(.xs\:rt-r-size-4):where(:not(.rt-variant-ghost)) {
7215
7215
  padding-left: var(--space-5);
@@ -7229,8 +7229,8 @@
7229
7229
  letter-spacing: var(--letter-spacing-1);
7230
7230
  }
7231
7231
  .rt-Button:where(.sm\:rt-r-size-1) :where(svg) {
7232
- width: 13px;
7233
- height: 13px;
7232
+ width: 16px;
7233
+ height: 16px;
7234
7234
  }
7235
7235
  .rt-Button:where(.sm\:rt-r-size-1):where(:not(.rt-variant-ghost)) {
7236
7236
  padding-left: var(--space-2);
@@ -7248,8 +7248,8 @@
7248
7248
  letter-spacing: var(--letter-spacing-2);
7249
7249
  }
7250
7250
  .rt-Button:where(.sm\:rt-r-size-2) :where(svg) {
7251
- width: 15px;
7252
- height: 15px;
7251
+ width: 18px;
7252
+ height: 18px;
7253
7253
  }
7254
7254
  .rt-Button:where(.sm\:rt-r-size-2):where(:not(.rt-variant-ghost)) {
7255
7255
  padding-left: var(--space-3);
@@ -7267,8 +7267,8 @@
7267
7267
  letter-spacing: var(--letter-spacing-3);
7268
7268
  }
7269
7269
  .rt-Button:where(.sm\:rt-r-size-3) :where(svg) {
7270
- width: 17px;
7271
- height: 17px;
7270
+ width: 20px;
7271
+ height: 20px;
7272
7272
  }
7273
7273
  .rt-Button:where(.sm\:rt-r-size-3):where(:not(.rt-variant-ghost)) {
7274
7274
  padding-left: var(--space-4);
@@ -7286,8 +7286,8 @@
7286
7286
  letter-spacing: var(--letter-spacing-4);
7287
7287
  }
7288
7288
  .rt-Button:where(.sm\:rt-r-size-4) :where(svg) {
7289
- width: 19px;
7290
- height: 19px;
7289
+ width: 22px;
7290
+ height: 22px;
7291
7291
  }
7292
7292
  .rt-Button:where(.sm\:rt-r-size-4):where(:not(.rt-variant-ghost)) {
7293
7293
  padding-left: var(--space-5);
@@ -7307,8 +7307,8 @@
7307
7307
  letter-spacing: var(--letter-spacing-1);
7308
7308
  }
7309
7309
  .rt-Button:where(.md\:rt-r-size-1) :where(svg) {
7310
- width: 13px;
7311
- height: 13px;
7310
+ width: 16px;
7311
+ height: 16px;
7312
7312
  }
7313
7313
  .rt-Button:where(.md\:rt-r-size-1):where(:not(.rt-variant-ghost)) {
7314
7314
  padding-left: var(--space-2);
@@ -7326,8 +7326,8 @@
7326
7326
  letter-spacing: var(--letter-spacing-2);
7327
7327
  }
7328
7328
  .rt-Button:where(.md\:rt-r-size-2) :where(svg) {
7329
- width: 15px;
7330
- height: 15px;
7329
+ width: 18px;
7330
+ height: 18px;
7331
7331
  }
7332
7332
  .rt-Button:where(.md\:rt-r-size-2):where(:not(.rt-variant-ghost)) {
7333
7333
  padding-left: var(--space-3);
@@ -7345,8 +7345,8 @@
7345
7345
  letter-spacing: var(--letter-spacing-3);
7346
7346
  }
7347
7347
  .rt-Button:where(.md\:rt-r-size-3) :where(svg) {
7348
- width: 17px;
7349
- height: 17px;
7348
+ width: 20px;
7349
+ height: 20px;
7350
7350
  }
7351
7351
  .rt-Button:where(.md\:rt-r-size-3):where(:not(.rt-variant-ghost)) {
7352
7352
  padding-left: var(--space-4);
@@ -7364,8 +7364,8 @@
7364
7364
  letter-spacing: var(--letter-spacing-4);
7365
7365
  }
7366
7366
  .rt-Button:where(.md\:rt-r-size-4) :where(svg) {
7367
- width: 19px;
7368
- height: 19px;
7367
+ width: 22px;
7368
+ height: 22px;
7369
7369
  }
7370
7370
  .rt-Button:where(.md\:rt-r-size-4):where(:not(.rt-variant-ghost)) {
7371
7371
  padding-left: var(--space-5);
@@ -7385,8 +7385,8 @@
7385
7385
  letter-spacing: var(--letter-spacing-1);
7386
7386
  }
7387
7387
  .rt-Button:where(.lg\:rt-r-size-1) :where(svg) {
7388
- width: 13px;
7389
- height: 13px;
7388
+ width: 16px;
7389
+ height: 16px;
7390
7390
  }
7391
7391
  .rt-Button:where(.lg\:rt-r-size-1):where(:not(.rt-variant-ghost)) {
7392
7392
  padding-left: var(--space-2);
@@ -7404,8 +7404,8 @@
7404
7404
  letter-spacing: var(--letter-spacing-2);
7405
7405
  }
7406
7406
  .rt-Button:where(.lg\:rt-r-size-2) :where(svg) {
7407
- width: 15px;
7408
- height: 15px;
7407
+ width: 18px;
7408
+ height: 18px;
7409
7409
  }
7410
7410
  .rt-Button:where(.lg\:rt-r-size-2):where(:not(.rt-variant-ghost)) {
7411
7411
  padding-left: var(--space-3);
@@ -7423,8 +7423,8 @@
7423
7423
  letter-spacing: var(--letter-spacing-3);
7424
7424
  }
7425
7425
  .rt-Button:where(.lg\:rt-r-size-3) :where(svg) {
7426
- width: 17px;
7427
- height: 17px;
7426
+ width: 20px;
7427
+ height: 20px;
7428
7428
  }
7429
7429
  .rt-Button:where(.lg\:rt-r-size-3):where(:not(.rt-variant-ghost)) {
7430
7430
  padding-left: var(--space-4);
@@ -7442,8 +7442,8 @@
7442
7442
  letter-spacing: var(--letter-spacing-4);
7443
7443
  }
7444
7444
  .rt-Button:where(.lg\:rt-r-size-4) :where(svg) {
7445
- width: 19px;
7446
- height: 19px;
7445
+ width: 22px;
7446
+ height: 22px;
7447
7447
  }
7448
7448
  .rt-Button:where(.lg\:rt-r-size-4):where(:not(.rt-variant-ghost)) {
7449
7449
  padding-left: var(--space-5);
@@ -7463,8 +7463,8 @@
7463
7463
  letter-spacing: var(--letter-spacing-1);
7464
7464
  }
7465
7465
  .rt-Button:where(.xl\:rt-r-size-1) :where(svg) {
7466
- width: 13px;
7467
- height: 13px;
7466
+ width: 16px;
7467
+ height: 16px;
7468
7468
  }
7469
7469
  .rt-Button:where(.xl\:rt-r-size-1):where(:not(.rt-variant-ghost)) {
7470
7470
  padding-left: var(--space-2);
@@ -7482,8 +7482,8 @@
7482
7482
  letter-spacing: var(--letter-spacing-2);
7483
7483
  }
7484
7484
  .rt-Button:where(.xl\:rt-r-size-2) :where(svg) {
7485
- width: 15px;
7486
- height: 15px;
7485
+ width: 18px;
7486
+ height: 18px;
7487
7487
  }
7488
7488
  .rt-Button:where(.xl\:rt-r-size-2):where(:not(.rt-variant-ghost)) {
7489
7489
  padding-left: var(--space-3);
@@ -7501,8 +7501,8 @@
7501
7501
  letter-spacing: var(--letter-spacing-3);
7502
7502
  }
7503
7503
  .rt-Button:where(.xl\:rt-r-size-3) :where(svg) {
7504
- width: 17px;
7505
- height: 17px;
7504
+ width: 20px;
7505
+ height: 20px;
7506
7506
  }
7507
7507
  .rt-Button:where(.xl\:rt-r-size-3):where(:not(.rt-variant-ghost)) {
7508
7508
  padding-left: var(--space-4);
@@ -7520,8 +7520,8 @@
7520
7520
  letter-spacing: var(--letter-spacing-4);
7521
7521
  }
7522
7522
  .rt-Button:where(.xl\:rt-r-size-4) :where(svg) {
7523
- width: 19px;
7524
- height: 19px;
7523
+ width: 22px;
7524
+ height: 22px;
7525
7525
  }
7526
7526
  .rt-Button:where(.xl\:rt-r-size-4):where(:not(.rt-variant-ghost)) {
7527
7527
  padding-left: var(--space-5);
@@ -10521,20 +10521,20 @@
10521
10521
  width: var(--base-button-height);
10522
10522
  }
10523
10523
  .rt-IconButton:where(.rt-r-size-1) :where(svg) {
10524
- width: 13px;
10525
- height: 13px;
10524
+ width: 16px;
10525
+ height: 16px;
10526
10526
  }
10527
10527
  .rt-IconButton:where(.rt-r-size-2) :where(svg) {
10528
- width: 15px;
10529
- height: 15px;
10528
+ width: 18px;
10529
+ height: 18px;
10530
10530
  }
10531
10531
  .rt-IconButton:where(.rt-r-size-3) :where(svg) {
10532
- width: 17px;
10533
- height: 17px;
10532
+ width: 20px;
10533
+ height: 20px;
10534
10534
  }
10535
10535
  .rt-IconButton:where(.rt-r-size-4) :where(svg) {
10536
- width: 19px;
10537
- height: 19px;
10536
+ width: 22px;
10537
+ height: 22px;
10538
10538
  }
10539
10539
  .rt-IconButton:where(.rt-variant-ghost):where(.rt-r-size-1) {
10540
10540
  --icon-button-ghost-padding: var(--space-1);
@@ -10550,20 +10550,20 @@
10550
10550
  }
10551
10551
  @media (min-width: 520px) {
10552
10552
  .rt-IconButton:where(.xs\:rt-r-size-1) :where(svg) {
10553
- width: 13px;
10554
- height: 13px;
10553
+ width: 16px;
10554
+ height: 16px;
10555
10555
  }
10556
10556
  .rt-IconButton:where(.xs\:rt-r-size-2) :where(svg) {
10557
- width: 15px;
10558
- height: 15px;
10557
+ width: 18px;
10558
+ height: 18px;
10559
10559
  }
10560
10560
  .rt-IconButton:where(.xs\:rt-r-size-3) :where(svg) {
10561
- width: 17px;
10562
- height: 17px;
10561
+ width: 20px;
10562
+ height: 20px;
10563
10563
  }
10564
10564
  .rt-IconButton:where(.xs\:rt-r-size-4) :where(svg) {
10565
- width: 19px;
10566
- height: 19px;
10565
+ width: 22px;
10566
+ height: 22px;
10567
10567
  }
10568
10568
  .rt-IconButton:where(.rt-variant-ghost):where(.xs\:rt-r-size-1) {
10569
10569
  --icon-button-ghost-padding: var(--space-1);
@@ -10580,20 +10580,20 @@
10580
10580
  }
10581
10581
  @media (min-width: 768px) {
10582
10582
  .rt-IconButton:where(.sm\:rt-r-size-1) :where(svg) {
10583
- width: 13px;
10584
- height: 13px;
10583
+ width: 16px;
10584
+ height: 16px;
10585
10585
  }
10586
10586
  .rt-IconButton:where(.sm\:rt-r-size-2) :where(svg) {
10587
- width: 15px;
10588
- height: 15px;
10587
+ width: 18px;
10588
+ height: 18px;
10589
10589
  }
10590
10590
  .rt-IconButton:where(.sm\:rt-r-size-3) :where(svg) {
10591
- width: 17px;
10592
- height: 17px;
10591
+ width: 20px;
10592
+ height: 20px;
10593
10593
  }
10594
10594
  .rt-IconButton:where(.sm\:rt-r-size-4) :where(svg) {
10595
- width: 19px;
10596
- height: 19px;
10595
+ width: 22px;
10596
+ height: 22px;
10597
10597
  }
10598
10598
  .rt-IconButton:where(.rt-variant-ghost):where(.sm\:rt-r-size-1) {
10599
10599
  --icon-button-ghost-padding: var(--space-1);
@@ -10610,20 +10610,20 @@
10610
10610
  }
10611
10611
  @media (min-width: 1024px) {
10612
10612
  .rt-IconButton:where(.md\:rt-r-size-1) :where(svg) {
10613
- width: 13px;
10614
- height: 13px;
10613
+ width: 16px;
10614
+ height: 16px;
10615
10615
  }
10616
10616
  .rt-IconButton:where(.md\:rt-r-size-2) :where(svg) {
10617
- width: 15px;
10618
- height: 15px;
10617
+ width: 18px;
10618
+ height: 18px;
10619
10619
  }
10620
10620
  .rt-IconButton:where(.md\:rt-r-size-3) :where(svg) {
10621
- width: 17px;
10622
- height: 17px;
10621
+ width: 20px;
10622
+ height: 20px;
10623
10623
  }
10624
10624
  .rt-IconButton:where(.md\:rt-r-size-4) :where(svg) {
10625
- width: 19px;
10626
- height: 19px;
10625
+ width: 22px;
10626
+ height: 22px;
10627
10627
  }
10628
10628
  .rt-IconButton:where(.rt-variant-ghost):where(.md\:rt-r-size-1) {
10629
10629
  --icon-button-ghost-padding: var(--space-1);
@@ -10640,20 +10640,20 @@
10640
10640
  }
10641
10641
  @media (min-width: 1280px) {
10642
10642
  .rt-IconButton:where(.lg\:rt-r-size-1) :where(svg) {
10643
- width: 13px;
10644
- height: 13px;
10643
+ width: 16px;
10644
+ height: 16px;
10645
10645
  }
10646
10646
  .rt-IconButton:where(.lg\:rt-r-size-2) :where(svg) {
10647
- width: 15px;
10648
- height: 15px;
10647
+ width: 18px;
10648
+ height: 18px;
10649
10649
  }
10650
10650
  .rt-IconButton:where(.lg\:rt-r-size-3) :where(svg) {
10651
- width: 17px;
10652
- height: 17px;
10651
+ width: 20px;
10652
+ height: 20px;
10653
10653
  }
10654
10654
  .rt-IconButton:where(.lg\:rt-r-size-4) :where(svg) {
10655
- width: 19px;
10656
- height: 19px;
10655
+ width: 22px;
10656
+ height: 22px;
10657
10657
  }
10658
10658
  .rt-IconButton:where(.rt-variant-ghost):where(.lg\:rt-r-size-1) {
10659
10659
  --icon-button-ghost-padding: var(--space-1);
@@ -10670,20 +10670,20 @@
10670
10670
  }
10671
10671
  @media (min-width: 1640px) {
10672
10672
  .rt-IconButton:where(.xl\:rt-r-size-1) :where(svg) {
10673
- width: 13px;
10674
- height: 13px;
10673
+ width: 16px;
10674
+ height: 16px;
10675
10675
  }
10676
10676
  .rt-IconButton:where(.xl\:rt-r-size-2) :where(svg) {
10677
- width: 15px;
10678
- height: 15px;
10677
+ width: 18px;
10678
+ height: 18px;
10679
10679
  }
10680
10680
  .rt-IconButton:where(.xl\:rt-r-size-3) :where(svg) {
10681
- width: 17px;
10682
- height: 17px;
10681
+ width: 20px;
10682
+ height: 20px;
10683
10683
  }
10684
10684
  .rt-IconButton:where(.xl\:rt-r-size-4) :where(svg) {
10685
- width: 19px;
10686
- height: 19px;
10685
+ width: 22px;
10686
+ height: 22px;
10687
10687
  }
10688
10688
  .rt-IconButton:where(.rt-variant-ghost):where(.xl\:rt-r-size-1) {
10689
10689
  --icon-button-ghost-padding: var(--space-1);
@@ -10702,7 +10702,66 @@
10702
10702
  display: block;
10703
10703
  object-fit: var(--object-fit);
10704
10704
  box-shadow: var(--box-shadow);
10705
- border-radius: max(var(--radius-3), var(--radius-full));
10705
+ border-radius: max(var(--radius-4), var(--radius-full));
10706
+ transition: var(--transition-button);
10707
+ }
10708
+ .rt-Image:where(:any-link, button, label) {
10709
+ cursor: pointer;
10710
+ }
10711
+ @media (hover: hover) {
10712
+ .rt-Image:where(:any-link, button, label):where(:hover) {
10713
+ transform: scale(1.02);
10714
+ box-shadow: var(--box-shadow, var(--shadow-2)), 0 0 0 1px var(--gray-a4);
10715
+ }
10716
+ }
10717
+ .rt-Image:where(:any-link, button, label):where(:focus-visible) {
10718
+ outline: 2px solid var(--focus-8);
10719
+ outline-offset: 2px;
10720
+ }
10721
+ .rt-Image:where(:any-link, button, label):where(:active) {
10722
+ transform: scale(0.98);
10723
+ }
10724
+ .rt-variant-blur {
10725
+ position: relative;
10726
+ display: inline-block;
10727
+ --blur-filter: blur(16px) saturate(1.5);
10728
+ --blur-opacity: 0.5;
10729
+ --blur-offset-y: 8px;
10730
+ --blur-offset-x: 0;
10731
+ }
10732
+ .rt-variant-blur:where(:any-link, button, label) {
10733
+ cursor: pointer;
10734
+ transition: var(--transition-button);
10735
+ }
10736
+ @media (hover: hover) {
10737
+ .rt-variant-blur:where(:any-link, button, label):where(:hover) {
10738
+ transform: scale(1.02);
10739
+ }
10740
+ }
10741
+ .rt-variant-blur:where(:any-link, button, label):where(:focus-visible) {
10742
+ outline: 2px solid var(--focus-8);
10743
+ outline-offset: 2px;
10744
+ }
10745
+ .rt-variant-blur:where(:any-link, button, label):where(:active) {
10746
+ transform: scale(0.98);
10747
+ }
10748
+ .rt-variant-blur:where(:any-link, button, label) .rt-Image {
10749
+ cursor: inherit;
10750
+ transform: none !important;
10751
+ outline: none !important;
10752
+ box-shadow: var(--box-shadow) !important;
10753
+ }
10754
+ .rt-Image--blur-bg {
10755
+ position: absolute;
10756
+ top: var(--blur-offset-y, 8px);
10757
+ left: var(--blur-offset-x, 0);
10758
+ filter: var(--blur-filter);
10759
+ opacity: var(--blur-opacity);
10760
+ z-index: -1;
10761
+ }
10762
+ .rt-Image--blur {
10763
+ position: relative;
10764
+ z-index: 1;
10706
10765
  }
10707
10766
  .rt-r-fit-cover {
10708
10767
  --object-fit: cover;