@akropolys/kiku 1.6.2 → 1.6.4
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/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +406 -93
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +406 -93
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +196 -3
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -975,6 +975,7 @@
|
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
977
|
.hsk-cb-input-wrap {
|
|
978
|
+
position: relative;
|
|
978
979
|
padding: 16px 28px 28px;
|
|
979
980
|
flex-shrink: 0;
|
|
980
981
|
}
|
|
@@ -1381,6 +1382,24 @@
|
|
|
1381
1382
|
display: flex;
|
|
1382
1383
|
align-items: center;
|
|
1383
1384
|
}
|
|
1385
|
+
.hsk-sb-row-thumb {
|
|
1386
|
+
width: 38px;
|
|
1387
|
+
height: 38px;
|
|
1388
|
+
flex-shrink: 0;
|
|
1389
|
+
display: flex;
|
|
1390
|
+
align-items: center;
|
|
1391
|
+
justify-content: center;
|
|
1392
|
+
color: var(--hsk-muted);
|
|
1393
|
+
background: var(--hsk-hover);
|
|
1394
|
+
border-radius: var(--hsk-border-radius, 0px);
|
|
1395
|
+
overflow: hidden;
|
|
1396
|
+
}
|
|
1397
|
+
.hsk-sb-row-thumb img {
|
|
1398
|
+
width: 100%;
|
|
1399
|
+
height: 100%;
|
|
1400
|
+
object-fit: cover;
|
|
1401
|
+
display: block;
|
|
1402
|
+
}
|
|
1384
1403
|
.hsk-sb-row-body {
|
|
1385
1404
|
flex: 1;
|
|
1386
1405
|
min-width: 0;
|
|
@@ -1450,10 +1469,10 @@
|
|
|
1450
1469
|
padding: 9px 16px;
|
|
1451
1470
|
}
|
|
1452
1471
|
.hsk-sb-skeleton-icon {
|
|
1453
|
-
width:
|
|
1454
|
-
height:
|
|
1472
|
+
width: 38px;
|
|
1473
|
+
height: 38px;
|
|
1455
1474
|
background: var(--hsk-hover, rgba(0, 0, 0, 0.05));
|
|
1456
|
-
border-radius:
|
|
1475
|
+
border-radius: var(--hsk-border-radius, 0px);
|
|
1457
1476
|
flex-shrink: 0;
|
|
1458
1477
|
animation: hsk-pulse 1.5s ease-in-out infinite;
|
|
1459
1478
|
}
|
|
@@ -4615,4 +4634,178 @@
|
|
|
4615
4634
|
gap: 4px;
|
|
4616
4635
|
}
|
|
4617
4636
|
}
|
|
4637
|
+
.hsk-kiku-picker {
|
|
4638
|
+
position: absolute;
|
|
4639
|
+
bottom: calc(100% + 8px);
|
|
4640
|
+
left: 0;
|
|
4641
|
+
right: 0;
|
|
4642
|
+
background: var(--hsk-surface, #1c1c1e);
|
|
4643
|
+
border: 1px solid var(--hsk-border, rgba(255,255,255,0.10));
|
|
4644
|
+
border-radius: 14px;
|
|
4645
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.36), 0 2px 8px rgba(0, 0, 0, 0.18);
|
|
4646
|
+
overflow: hidden;
|
|
4647
|
+
z-index: 120;
|
|
4648
|
+
animation: hsk-picker-in 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
4649
|
+
}
|
|
4650
|
+
@keyframes hsk-picker-in {
|
|
4651
|
+
from {
|
|
4652
|
+
opacity: 0;
|
|
4653
|
+
transform: translateY(6px) scale(0.98);
|
|
4654
|
+
}
|
|
4655
|
+
to {
|
|
4656
|
+
opacity: 1;
|
|
4657
|
+
transform: translateY(0) scale(1);
|
|
4658
|
+
}
|
|
4659
|
+
}
|
|
4660
|
+
.hsk-kiku-picker-header {
|
|
4661
|
+
display: flex;
|
|
4662
|
+
align-items: center;
|
|
4663
|
+
gap: 8px;
|
|
4664
|
+
padding: 10px 14px 8px;
|
|
4665
|
+
border-bottom: 1px solid var(--hsk-border, rgba(255,255,255,0.08));
|
|
4666
|
+
}
|
|
4667
|
+
.hsk-kiku-picker-at {
|
|
4668
|
+
font-size: 12px;
|
|
4669
|
+
font-weight: 700;
|
|
4670
|
+
letter-spacing: 0.02em;
|
|
4671
|
+
color: var(--hsk-primary, #7c5cfc);
|
|
4672
|
+
background: color-mix(in srgb, var(--hsk-primary, #7c5cfc) 14%, transparent);
|
|
4673
|
+
padding: 2px 7px;
|
|
4674
|
+
border-radius: 20px;
|
|
4675
|
+
flex-shrink: 0;
|
|
4676
|
+
}
|
|
4677
|
+
.hsk-kiku-picker-hint {
|
|
4678
|
+
font-size: 12px;
|
|
4679
|
+
color: var(--hsk-text-muted, #888);
|
|
4680
|
+
flex: 1;
|
|
4681
|
+
}
|
|
4682
|
+
.hsk-kiku-picker-close {
|
|
4683
|
+
background: none;
|
|
4684
|
+
border: none;
|
|
4685
|
+
cursor: pointer;
|
|
4686
|
+
color: var(--hsk-text-muted, #888);
|
|
4687
|
+
display: flex;
|
|
4688
|
+
align-items: center;
|
|
4689
|
+
justify-content: center;
|
|
4690
|
+
width: 22px;
|
|
4691
|
+
height: 22px;
|
|
4692
|
+
border-radius: 50%;
|
|
4693
|
+
transition: background 0.15s;
|
|
4694
|
+
padding: 0;
|
|
4695
|
+
}
|
|
4696
|
+
.hsk-kiku-picker-close:hover {
|
|
4697
|
+
background: rgba(255, 255, 255, 0.08);
|
|
4698
|
+
}
|
|
4699
|
+
.hsk-kiku-picker-section {
|
|
4700
|
+
font-size: 10px;
|
|
4701
|
+
font-weight: 600;
|
|
4702
|
+
letter-spacing: 0.06em;
|
|
4703
|
+
text-transform: uppercase;
|
|
4704
|
+
color: var(--hsk-text-muted, #666);
|
|
4705
|
+
padding: 8px 14px 4px;
|
|
4706
|
+
}
|
|
4707
|
+
.hsk-kiku-picker-divider {
|
|
4708
|
+
height: 1px;
|
|
4709
|
+
background: var(--hsk-border, rgba(255,255,255,0.07));
|
|
4710
|
+
margin: 4px 0;
|
|
4711
|
+
}
|
|
4712
|
+
.hsk-kiku-picker-item {
|
|
4713
|
+
display: flex;
|
|
4714
|
+
align-items: center;
|
|
4715
|
+
gap: 10px;
|
|
4716
|
+
width: 100%;
|
|
4717
|
+
text-align: left;
|
|
4718
|
+
background: none;
|
|
4719
|
+
border: none;
|
|
4720
|
+
cursor: pointer;
|
|
4721
|
+
padding: 9px 14px;
|
|
4722
|
+
transition: background 0.12s;
|
|
4723
|
+
color: var(--hsk-text, #f0f0f0);
|
|
4724
|
+
}
|
|
4725
|
+
.hsk-kiku-picker-item:hover {
|
|
4726
|
+
background: rgba(255, 255, 255, 0.06);
|
|
4727
|
+
}
|
|
4728
|
+
.hsk-kiku-picker-item:active {
|
|
4729
|
+
background: rgba(255, 255, 255, 0.10);
|
|
4730
|
+
}
|
|
4731
|
+
.hsk-kiku-picker-item--all {
|
|
4732
|
+
border-top: 1px solid var(--hsk-border, rgba(255,255,255,0.07));
|
|
4733
|
+
margin-top: 2px;
|
|
4734
|
+
}
|
|
4735
|
+
.hsk-kiku-picker-img {
|
|
4736
|
+
width: 36px;
|
|
4737
|
+
height: 36px;
|
|
4738
|
+
border-radius: 8px;
|
|
4739
|
+
object-fit: cover;
|
|
4740
|
+
flex-shrink: 0;
|
|
4741
|
+
background: rgba(255, 255, 255, 0.05);
|
|
4742
|
+
}
|
|
4743
|
+
.hsk-kiku-picker-img-placeholder {
|
|
4744
|
+
width: 36px;
|
|
4745
|
+
height: 36px;
|
|
4746
|
+
border-radius: 8px;
|
|
4747
|
+
background: rgba(255, 255, 255, 0.05);
|
|
4748
|
+
display: flex;
|
|
4749
|
+
align-items: center;
|
|
4750
|
+
justify-content: center;
|
|
4751
|
+
flex-shrink: 0;
|
|
4752
|
+
color: var(--hsk-text-muted, #666);
|
|
4753
|
+
}
|
|
4754
|
+
.hsk-kiku-picker-item-body {
|
|
4755
|
+
display: flex;
|
|
4756
|
+
flex-direction: column;
|
|
4757
|
+
gap: 2px;
|
|
4758
|
+
min-width: 0;
|
|
4759
|
+
}
|
|
4760
|
+
.hsk-kiku-picker-item-name {
|
|
4761
|
+
font-size: 13px;
|
|
4762
|
+
font-weight: 500;
|
|
4763
|
+
white-space: nowrap;
|
|
4764
|
+
overflow: hidden;
|
|
4765
|
+
text-overflow: ellipsis;
|
|
4766
|
+
color: var(--hsk-text, #f0f0f0);
|
|
4767
|
+
}
|
|
4768
|
+
.hsk-kiku-picker-item-price {
|
|
4769
|
+
font-size: 11px;
|
|
4770
|
+
color: var(--hsk-text-muted, #888);
|
|
4771
|
+
}
|
|
4772
|
+
.hsk-kiku-badge {
|
|
4773
|
+
display: inline-flex;
|
|
4774
|
+
align-items: center;
|
|
4775
|
+
font-size: 10px;
|
|
4776
|
+
font-weight: 700;
|
|
4777
|
+
letter-spacing: 0.04em;
|
|
4778
|
+
color: var(--hsk-primary, #7c5cfc);
|
|
4779
|
+
background: color-mix(in srgb, var(--hsk-primary, #7c5cfc) 16%, transparent);
|
|
4780
|
+
border: 1px solid color-mix(in srgb, var(--hsk-primary, #7c5cfc) 30%, transparent);
|
|
4781
|
+
padding: 1px 7px;
|
|
4782
|
+
border-radius: 20px;
|
|
4783
|
+
margin-right: 6px;
|
|
4784
|
+
vertical-align: middle;
|
|
4785
|
+
position: relative;
|
|
4786
|
+
top: -1px;
|
|
4787
|
+
}
|
|
4788
|
+
.hsk-light .hsk-kiku-picker {
|
|
4789
|
+
background: #ffffff;
|
|
4790
|
+
border-color: rgba(0, 0, 0, 0.10);
|
|
4791
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
4792
|
+
}
|
|
4793
|
+
.hsk-light .hsk-kiku-picker-item {
|
|
4794
|
+
color: #1a1a1a;
|
|
4795
|
+
}
|
|
4796
|
+
.hsk-light .hsk-kiku-picker-item:hover {
|
|
4797
|
+
background: rgba(0, 0, 0, 0.04);
|
|
4798
|
+
}
|
|
4799
|
+
.hsk-light .hsk-kiku-picker-item:active {
|
|
4800
|
+
background: rgba(0, 0, 0, 0.08);
|
|
4801
|
+
}
|
|
4802
|
+
.hsk-light .hsk-kiku-picker-item-name {
|
|
4803
|
+
color: #1a1a1a;
|
|
4804
|
+
}
|
|
4805
|
+
.hsk-light .hsk-kiku-picker-close:hover {
|
|
4806
|
+
background: rgba(0, 0, 0, 0.06);
|
|
4807
|
+
}
|
|
4808
|
+
.hsk-light .hsk-kiku-picker-img-placeholder {
|
|
4809
|
+
background: rgba(0, 0, 0, 0.04);
|
|
4810
|
+
}
|
|
4618
4811
|
/*# sourceMappingURL=styles.css.map */
|