zidan-select 2.2.4 → 2.3.1
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 +135 -55
- package/dist/file/plugin-file-core.css +38 -5
- package/dist/file/plugin-file-core.min.css +9 -0
- package/dist/file/plugin-file-theme.css +23 -6
- package/dist/file/plugin-file-theme.min.css +9 -0
- package/dist/file/zidan-file.d.ts +32 -0
- package/dist/file/zidan-file.js +286 -44
- package/dist/file/zidan-file.min.js +11 -0
- package/dist/plugin-core.css +214 -15
- package/dist/plugin-core.min.css +10 -0
- package/dist/plugin-theme.css +36 -6
- package/dist/plugin-theme.min.css +13 -0
- package/dist/select/plugin-select-core.css +22 -3
- package/dist/select/plugin-select-core.min.css +9 -0
- package/dist/select/plugin-select-theme.css +28 -4
- package/dist/select/plugin-select-theme.min.css +9 -0
- package/dist/select/zidan-select.d.ts +33 -0
- package/dist/select/zidan-select.js +377 -32
- package/dist/select/zidan-select.min.js +11 -0
- package/dist/zidan-form.js +696 -109
- package/dist/zidan-form.min.js +14 -0
- package/docs/build.md +20 -13
- package/docs/comparison.md +11 -6
- package/docs/html-and-wordpress.md +893 -0
- package/docs/index.html +21 -3
- package/docs/options.md +101 -20
- package/docs/validation.md +44 -1
- package/package.json +25 -2
- package/plugin-core.css +214 -15
- package/plugin-theme.css +36 -6
- package/zidan-form.d.ts +431 -0
- package/zidan-form.js +696 -109
package/plugin-core.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* ZidanForm v2.
|
|
2
|
+
* ZidanForm v2.3.1 — plugin-core.css
|
|
3
3
|
* Structure and mechanics only: layout, positioning, visibility, focus
|
|
4
4
|
* plumbing and accessible native-input handling. No colours, borders colours,
|
|
5
5
|
* shadows or decorative skin — load plugin-theme.css (or your own theme) for
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
flex: 0 0 auto;
|
|
302
302
|
width: 14px;
|
|
303
303
|
height: 14px;
|
|
304
|
-
margin-
|
|
304
|
+
margin-inline-start: auto;
|
|
305
305
|
background-color: currentColor;
|
|
306
306
|
-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
|
|
307
307
|
mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
|
|
@@ -338,6 +338,25 @@
|
|
|
338
338
|
to { transform: rotate(360deg); }
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
+
.zs-root .zs-more {
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: center;
|
|
344
|
+
justify-content: center;
|
|
345
|
+
gap: 8px;
|
|
346
|
+
width: 100%;
|
|
347
|
+
padding: 10px 12px;
|
|
348
|
+
border: 0;
|
|
349
|
+
border-top: 1px solid transparent;
|
|
350
|
+
background: none;
|
|
351
|
+
font: inherit;
|
|
352
|
+
font-size: 0.8125rem;
|
|
353
|
+
cursor: pointer;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.zs-root .zs-more[disabled] {
|
|
357
|
+
cursor: default;
|
|
358
|
+
}
|
|
359
|
+
|
|
341
360
|
@media (max-width: 480px) {
|
|
342
361
|
.zs-root .zs-dropdown {
|
|
343
362
|
max-height: min(280px, 45vh);
|
|
@@ -378,7 +397,7 @@
|
|
|
378
397
|
|
|
379
398
|
.zs-root[data-zs-layout="floating-label"] .zs-label {
|
|
380
399
|
position: absolute;
|
|
381
|
-
|
|
400
|
+
inset-inline-start: calc(var(--zs-padding-x, 12px) + 1px);
|
|
382
401
|
top: 50%;
|
|
383
402
|
margin: 0;
|
|
384
403
|
padding: 0 4px;
|
|
@@ -472,11 +491,37 @@
|
|
|
472
491
|
================================================================== */
|
|
473
492
|
|
|
474
493
|
.zs-field {
|
|
494
|
+
position: relative;
|
|
475
495
|
display: flex;
|
|
476
496
|
flex-direction: column;
|
|
477
497
|
gap: var(--zs-field-gap, 6px);
|
|
478
498
|
}
|
|
479
499
|
|
|
500
|
+
.zs-field--pending::after {
|
|
501
|
+
content: "";
|
|
502
|
+
position: absolute;
|
|
503
|
+
top: 2px;
|
|
504
|
+
inset-inline-end: 0;
|
|
505
|
+
width: 0.85em;
|
|
506
|
+
height: 0.85em;
|
|
507
|
+
border-width: 2px;
|
|
508
|
+
border-style: solid;
|
|
509
|
+
border-color: transparent;
|
|
510
|
+
border-radius: 50%;
|
|
511
|
+
animation: zs-field-spin 0.7s linear infinite;
|
|
512
|
+
pointer-events: none;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
@keyframes zs-field-spin {
|
|
516
|
+
to { transform: rotate(360deg); }
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
@media (prefers-reduced-motion: reduce) {
|
|
520
|
+
.zs-field--pending::after {
|
|
521
|
+
animation-duration: 2s;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
480
525
|
.zs-field[data-zs-layout="inline"] {
|
|
481
526
|
flex-direction: row;
|
|
482
527
|
align-items: center;
|
|
@@ -491,6 +536,13 @@
|
|
|
491
536
|
letter-spacing: 0.01em;
|
|
492
537
|
}
|
|
493
538
|
|
|
539
|
+
/* The plugin renders its own label and hides the author's original one. Author
|
|
540
|
+
rules such as `.field-label { display:block }` would otherwise beat the
|
|
541
|
+
browser's [hidden] default and show both labels at once. */
|
|
542
|
+
[data-zs-hidden-label] {
|
|
543
|
+
display: none !important;
|
|
544
|
+
}
|
|
545
|
+
|
|
494
546
|
.zs-field__hint {
|
|
495
547
|
margin: 0;
|
|
496
548
|
font-size: 0.75rem;
|
|
@@ -514,7 +566,7 @@
|
|
|
514
566
|
}
|
|
515
567
|
|
|
516
568
|
.zs-counter {
|
|
517
|
-
margin-
|
|
569
|
+
margin-inline-start: auto;
|
|
518
570
|
font-size: 0.75rem;
|
|
519
571
|
font-variant-numeric: tabular-nums;
|
|
520
572
|
white-space: nowrap;
|
|
@@ -629,7 +681,7 @@
|
|
|
629
681
|
content: "";
|
|
630
682
|
position: absolute;
|
|
631
683
|
top: 50%;
|
|
632
|
-
|
|
684
|
+
inset-inline-start: 2px;
|
|
633
685
|
width: calc(var(--zs-switch-height, 22px) - 6px);
|
|
634
686
|
height: calc(var(--zs-switch-height, 22px) - 6px);
|
|
635
687
|
transform: translateY(-50%);
|
|
@@ -656,11 +708,11 @@
|
|
|
656
708
|
}
|
|
657
709
|
|
|
658
710
|
.zs-switch-on {
|
|
659
|
-
|
|
711
|
+
inset-inline-start: 5px;
|
|
660
712
|
}
|
|
661
713
|
|
|
662
714
|
.zs-switch-off {
|
|
663
|
-
|
|
715
|
+
inset-inline-end: 5px;
|
|
664
716
|
}
|
|
665
717
|
|
|
666
718
|
.zs-check--checked .zs-switch-on {
|
|
@@ -680,7 +732,7 @@
|
|
|
680
732
|
.zs-field[data-zs-switch-style="material"] .zs-switch-track::after {
|
|
681
733
|
width: 22px;
|
|
682
734
|
height: 22px;
|
|
683
|
-
|
|
735
|
+
inset-inline-start: -2px;
|
|
684
736
|
border-radius: 50%;
|
|
685
737
|
}
|
|
686
738
|
|
|
@@ -730,6 +782,33 @@
|
|
|
730
782
|
font-size: 0.625rem;
|
|
731
783
|
}
|
|
732
784
|
|
|
785
|
+
/* right-to-left: the knob travels from the inline start towards the inline end */
|
|
786
|
+
[dir="rtl"] .zs-check--checked .zs-switch-track::after {
|
|
787
|
+
transform: translate(calc(-1 * (var(--zs-switch-width, 40px) - var(--zs-switch-height, 22px))), -50%);
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
[dir="rtl"] .zs-field[data-zs-switch-style="material"] .zs-check--checked .zs-switch-track::after {
|
|
791
|
+
transform: translate(-26px, -50%);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
[dir="rtl"] .zs-field[data-zs-switch-style="labeled"] .zs-check--checked .zs-switch-track::after,
|
|
795
|
+
[dir="rtl"] .zs-field[data-zs-switch-style="icon"] .zs-check--checked .zs-switch-track::after {
|
|
796
|
+
transform: translate(-32px, -50%);
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.zs-field[dir="rtl"] .zs-check--checked .zs-switch-track::after {
|
|
800
|
+
transform: translate(calc(-1 * (var(--zs-switch-width, 40px) - var(--zs-switch-height, 22px))), -50%);
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.zs-field[dir="rtl"][data-zs-switch-style="material"] .zs-check--checked .zs-switch-track::after {
|
|
804
|
+
transform: translate(-26px, -50%);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.zs-field[dir="rtl"][data-zs-switch-style="labeled"] .zs-check--checked .zs-switch-track::after,
|
|
808
|
+
.zs-field[dir="rtl"][data-zs-switch-style="icon"] .zs-check--checked .zs-switch-track::after {
|
|
809
|
+
transform: translate(-32px, -50%);
|
|
810
|
+
}
|
|
811
|
+
|
|
733
812
|
/* card variant */
|
|
734
813
|
.zs-field[data-zs-variant="card"] .zs-check {
|
|
735
814
|
width: 100%;
|
|
@@ -1013,7 +1092,7 @@
|
|
|
1013
1092
|
}
|
|
1014
1093
|
|
|
1015
1094
|
.zs-file-clear {
|
|
1016
|
-
margin-
|
|
1095
|
+
margin-inline-start: auto;
|
|
1017
1096
|
padding: 2px 8px;
|
|
1018
1097
|
border-width: 1px;
|
|
1019
1098
|
border-style: solid;
|
|
@@ -1036,7 +1115,7 @@
|
|
|
1036
1115
|
gap: 8px;
|
|
1037
1116
|
min-height: 0;
|
|
1038
1117
|
padding: 10px 14px;
|
|
1039
|
-
text-align:
|
|
1118
|
+
text-align: start;
|
|
1040
1119
|
border-style: solid;
|
|
1041
1120
|
}
|
|
1042
1121
|
|
|
@@ -1053,7 +1132,7 @@
|
|
|
1053
1132
|
|
|
1054
1133
|
.zs-field--file .zs-file-drop--button .zs-file-drop-hint,
|
|
1055
1134
|
.zs-field--file .zs-file-drop--compact .zs-file-drop-hint {
|
|
1056
|
-
margin-
|
|
1135
|
+
margin-inline-start: auto;
|
|
1057
1136
|
}
|
|
1058
1137
|
|
|
1059
1138
|
.zs-field--file .zs-file-drop--avatar {
|
|
@@ -1344,8 +1423,8 @@ textarea.zs-input-native {
|
|
|
1344
1423
|
color: inherit;
|
|
1345
1424
|
background: transparent;
|
|
1346
1425
|
border: 0;
|
|
1347
|
-
border-
|
|
1348
|
-
border-
|
|
1426
|
+
border-inline-end-width: 1px;
|
|
1427
|
+
border-inline-end-style: solid;
|
|
1349
1428
|
cursor: pointer;
|
|
1350
1429
|
}
|
|
1351
1430
|
|
|
@@ -1456,6 +1535,7 @@ textarea.zs-input-native {
|
|
|
1456
1535
|
|
|
1457
1536
|
.zs-range-tick {
|
|
1458
1537
|
position: absolute;
|
|
1538
|
+
inset-inline-start: var(--zs-range-tick-pct, 0);
|
|
1459
1539
|
top: 0;
|
|
1460
1540
|
width: 2px;
|
|
1461
1541
|
height: 6px;
|
|
@@ -1479,10 +1559,30 @@ textarea.zs-input-native {
|
|
|
1479
1559
|
font-variant-numeric: tabular-nums;
|
|
1480
1560
|
}
|
|
1481
1561
|
|
|
1562
|
+
/* labeled endpoint ticks already show min and max: keep the row for layout,
|
|
1563
|
+
hide its text so the endpoints are printed once */
|
|
1564
|
+
.zs-range-scale--hidden {
|
|
1565
|
+
visibility: hidden;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
/* labeled ticks without a scale row need the label height reserved */
|
|
1569
|
+
.zs-range--labels-no-scale {
|
|
1570
|
+
padding-bottom: 18px;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
/* keep endpoint tick labels inside the track instead of half outside it */
|
|
1574
|
+
.zs-range-tick--labeled.zs-range-tick--start {
|
|
1575
|
+
transform: translateX(0);
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
.zs-range-tick--labeled.zs-range-tick--end {
|
|
1579
|
+
transform: translateX(-100%);
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1482
1582
|
.zs-range-bubble {
|
|
1483
1583
|
position: absolute;
|
|
1484
1584
|
top: 0;
|
|
1485
|
-
|
|
1585
|
+
inset-inline-start: calc(var(--zs-range-pct, 0) * 100%);
|
|
1486
1586
|
min-width: 28px;
|
|
1487
1587
|
padding: 1px 6px;
|
|
1488
1588
|
text-align: center;
|
|
@@ -1495,6 +1595,105 @@ textarea.zs-input-native {
|
|
|
1495
1595
|
pointer-events: none;
|
|
1496
1596
|
}
|
|
1497
1597
|
|
|
1598
|
+
/* bubble and fill options */
|
|
1599
|
+
.zs-range--no-bubble {
|
|
1600
|
+
padding-top: 4px;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
.zs-range--bubble-active .zs-range-bubble {
|
|
1604
|
+
opacity: 0;
|
|
1605
|
+
visibility: hidden;
|
|
1606
|
+
transition: opacity 140ms ease;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
.zs-range--bubble-active:hover .zs-range-bubble,
|
|
1610
|
+
.zs-range--bubble-active:focus-within .zs-range-bubble,
|
|
1611
|
+
.zs-field--focused .zs-range--bubble-active .zs-range-bubble {
|
|
1612
|
+
opacity: 1;
|
|
1613
|
+
visibility: visible;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
.zs-range--bubble-bottom {
|
|
1617
|
+
padding-bottom: 30px;
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
/* labels sit above the bubble, so both need room */
|
|
1621
|
+
.zs-range--bubble-bottom.zs-range--labels-no-scale {
|
|
1622
|
+
padding-bottom: 38px;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
.zs-range--bubble-bottom .zs-range-bubble {
|
|
1626
|
+
top: auto;
|
|
1627
|
+
bottom: 0;
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
.zs-range--fill-off .zs-input-native::-webkit-slider-runnable-track {
|
|
1631
|
+
background: var(--zs-range-track);
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
.zs-range--fill-off .zs-input-native::-moz-range-progress {
|
|
1635
|
+
background: var(--zs-range-track);
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
[dir="rtl"] .zs-range-tick,
|
|
1639
|
+
[dir="rtl"] .zs-range-tick--labeled {
|
|
1640
|
+
transform: translateX(50%);
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
[dir="rtl"] .zs-range-bubble {
|
|
1644
|
+
transform: translateX(50%);
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
.zs-field[dir="rtl"] .zs-range-tick,
|
|
1648
|
+
.zs-field[dir="rtl"] .zs-range-tick--labeled {
|
|
1649
|
+
transform: translateX(50%);
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
.zs-field[dir="rtl"] .zs-range-bubble {
|
|
1653
|
+
transform: translateX(50%);
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
[dir="rtl"] .zs-range-tick--labeled.zs-range-tick--start {
|
|
1657
|
+
transform: translateX(-100%);
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
[dir="rtl"] .zs-range-tick--labeled.zs-range-tick--end {
|
|
1661
|
+
transform: translateX(0);
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
.zs-field[dir="rtl"] .zs-range-tick--labeled.zs-range-tick--start {
|
|
1665
|
+
transform: translateX(-100%);
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
.zs-field[dir="rtl"] .zs-range-tick--labeled.zs-range-tick--end {
|
|
1669
|
+
transform: translateX(0);
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
/* keep the value bubble inside the track at both ends */
|
|
1673
|
+
.zs-range-bubble--start {
|
|
1674
|
+
transform: translateX(0);
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
.zs-range-bubble--end {
|
|
1678
|
+
transform: translateX(-100%);
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
[dir="rtl"] .zs-range-bubble--start {
|
|
1682
|
+
transform: translateX(-100%);
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
[dir="rtl"] .zs-range-bubble--end {
|
|
1686
|
+
transform: translateX(0);
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
.zs-field[dir="rtl"] .zs-range-bubble--start {
|
|
1690
|
+
transform: translateX(-100%);
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
.zs-field[dir="rtl"] .zs-range-bubble--end {
|
|
1694
|
+
transform: translateX(0);
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1498
1697
|
/* validation state icons */
|
|
1499
1698
|
.zs-input-validation {
|
|
1500
1699
|
display: none;
|
|
@@ -1524,7 +1723,7 @@ textarea.zs-input-native {
|
|
|
1524
1723
|
.zs-field[data-zs-layout="floating"] .zs-field__label,
|
|
1525
1724
|
.zs-field[data-zs-layout="outlined"] .zs-field__label {
|
|
1526
1725
|
position: absolute;
|
|
1527
|
-
|
|
1726
|
+
inset-inline-start: calc(var(--zs-padding-x, 12px) + 2px);
|
|
1528
1727
|
top: 50%;
|
|
1529
1728
|
margin: 0;
|
|
1530
1729
|
padding: 0 4px;
|
package/plugin-theme.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* ZidanForm v2.
|
|
2
|
+
* ZidanForm v2.3.1 — plugin-theme.css
|
|
3
3
|
* Design tokens, paint, state colours, preset themes (default, modern,
|
|
4
4
|
* minimal, dark, glass), the five select layouts and framework adapters
|
|
5
5
|
* (bootstrap, tailwind, bulma, foundation).
|
|
@@ -103,7 +103,8 @@
|
|
|
103
103
|
/* range */
|
|
104
104
|
--zs-range-track: #e7eaf0;
|
|
105
105
|
--zs-range-fill: var(--zs-primary);
|
|
106
|
-
--zs-range-
|
|
106
|
+
--zs-range-angle: 90deg;
|
|
107
|
+
--zs-range-gradient: linear-gradient(var(--zs-range-angle, 90deg), #f59e0b, #ef4444, #8b5cf6);
|
|
107
108
|
--zs-range-thumb-bg: #ffffff;
|
|
108
109
|
--zs-range-thumb-border: var(--zs-primary);
|
|
109
110
|
--zs-range-tick: #c3c9d2;
|
|
@@ -134,6 +135,15 @@
|
|
|
134
135
|
--zs-shadow: none;
|
|
135
136
|
}
|
|
136
137
|
|
|
138
|
+
[dir="rtl"] .zs-root,
|
|
139
|
+
[dir="rtl"] .zs-field,
|
|
140
|
+
[dir="rtl"] .zs-radio-group,
|
|
141
|
+
.zs-root[dir="rtl"],
|
|
142
|
+
.zs-field[dir="rtl"],
|
|
143
|
+
.zs-radio-group[dir="rtl"] {
|
|
144
|
+
--zs-range-angle: 270deg;
|
|
145
|
+
}
|
|
146
|
+
|
|
137
147
|
/* @zidan-build:select-paint */
|
|
138
148
|
/* ==================================================================
|
|
139
149
|
2. Select paint
|
|
@@ -281,6 +291,19 @@
|
|
|
281
291
|
border-top-color: var(--zs-primary);
|
|
282
292
|
}
|
|
283
293
|
|
|
294
|
+
.zs-root .zs-more {
|
|
295
|
+
border-top-color: var(--zs-border-color);
|
|
296
|
+
color: var(--zs-primary);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.zs-root .zs-more:hover:not([disabled]) {
|
|
300
|
+
background: var(--zs-primary-soft);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.zs-root .zs-more--error {
|
|
304
|
+
color: var(--zs-border-color-invalid);
|
|
305
|
+
}
|
|
306
|
+
|
|
284
307
|
/* floating label mask */
|
|
285
308
|
.zs-root[data-zs-layout="floating-label"] .zs-label {
|
|
286
309
|
color: var(--zs-text-muted);
|
|
@@ -883,6 +906,12 @@
|
|
|
883
906
|
color: var(--zs-border-color-invalid);
|
|
884
907
|
}
|
|
885
908
|
|
|
909
|
+
/* async validation spinner */
|
|
910
|
+
.zs-field--pending::after {
|
|
911
|
+
border-color: var(--zs-border-color);
|
|
912
|
+
border-inline-end-color: var(--zs-primary);
|
|
913
|
+
}
|
|
914
|
+
|
|
886
915
|
.zs-check-desc,
|
|
887
916
|
.zs-radio-desc {
|
|
888
917
|
color: var(--zs-text-muted);
|
|
@@ -912,7 +941,7 @@
|
|
|
912
941
|
|
|
913
942
|
/* phone */
|
|
914
943
|
.zs-phone-country {
|
|
915
|
-
border-
|
|
944
|
+
border-inline-end-color: var(--zs-phone-border);
|
|
916
945
|
}
|
|
917
946
|
|
|
918
947
|
.zs-phone-country:focus-visible {
|
|
@@ -951,7 +980,7 @@
|
|
|
951
980
|
height: 6px;
|
|
952
981
|
border-radius: 999px;
|
|
953
982
|
background:
|
|
954
|
-
linear-gradient(
|
|
983
|
+
linear-gradient(var(--zs-range-angle, 90deg),
|
|
955
984
|
var(--zs-range-fill) 0 var(--zs-range-fill),
|
|
956
985
|
var(--zs-range-track) var(--zs-range-fill) 100%);
|
|
957
986
|
}
|
|
@@ -1506,13 +1535,14 @@
|
|
|
1506
1535
|
background-image: none;
|
|
1507
1536
|
appearance: none;
|
|
1508
1537
|
-webkit-appearance: none;
|
|
1509
|
-
padding-
|
|
1538
|
+
padding-inline-end: var(--zs-padding-x);
|
|
1510
1539
|
}
|
|
1511
1540
|
|
|
1512
1541
|
.zs-root[data-zs-framework="bootstrap"] .zs-chip {
|
|
1513
1542
|
font-size: 0.8125rem;
|
|
1514
1543
|
font-weight: 500;
|
|
1515
|
-
padding: 0.2rem
|
|
1544
|
+
padding-block: 0.2rem;
|
|
1545
|
+
padding-inline: 0.55rem 0.4rem;
|
|
1516
1546
|
}
|
|
1517
1547
|
|
|
1518
1548
|
.zs-root[data-zs-framework="bootstrap"] .zs-chip.badge {
|