@ahmetilhn/hanui 5.4.0 → 5.6.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.
- package/README.md +4 -2
- package/build/index.cjs +3 -3
- package/build/index.cjs.map +1 -1
- package/build/index.d.ts +163 -118
- package/build/index.js +2670 -2570
- package/build/index.js.map +1 -1
- package/build/scss/_mixins.scss +25 -0
- package/build/styles.css +1 -1
- package/package.json +1 -1
package/build/scss/_mixins.scss
CHANGED
|
@@ -559,6 +559,31 @@ $sheet-lift: #{'max(env(safe-area-inset-bottom, 0px), var(--hanui-sheet-inset-bo
|
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
+
// YOGUN OLCU (`size="sm"`): arac cubugu ve filtre seridi icin 36px — `Button` SMALL ile ayni
|
|
563
|
+
// yukseklik, yani ayni seritteki dugme, secim ve girdi tek hizada durur. `input-base`ten SONRA
|
|
564
|
+
// gelir. 5.5'e kadar yalniz `Select`te vardi: `DateField` 44px'te kaliyor ve `Select sm` ile ayni
|
|
565
|
+
// seritte 36 / 45,7px'lik kutular cikiyordu (olculdu: bir backtest panelinin ust cubugu, Chrome).
|
|
566
|
+
//
|
|
567
|
+
// `$is-text-entry`: metin girdisi dar ekranda ve dokunmatikte `font-size-control`a (>= 16px)
|
|
568
|
+
// doner — iOS Safari 16px altindaki girdiye odaklaninca sayfayi buyutur ve geri kucultmez.
|
|
569
|
+
// `Select` tetikleyicisi bir dugme; odakta buyutme yok, o yuzden bayrak onda kapali.
|
|
570
|
+
@mixin input-sm($is-text-entry: false) {
|
|
571
|
+
min-height: 36px;
|
|
572
|
+
padding-block: 0;
|
|
573
|
+
padding-inline: $space-3;
|
|
574
|
+
font-size: $font-size-sm;
|
|
575
|
+
|
|
576
|
+
@if $is-text-entry {
|
|
577
|
+
@include for-mobile {
|
|
578
|
+
font-size: $font-size-control;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
@include for-touch {
|
|
582
|
+
font-size: $font-size-control;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
562
587
|
@mixin filter-surface {
|
|
563
588
|
display: flex;
|
|
564
589
|
flex-wrap: wrap;
|