@speles7172/controls 0.6.3 → 0.7.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 +71 -3
- package/dist/.tsbuildinfo +1 -1
- package/dist/Calendar.d.ts.map +1 -1
- package/dist/Calendar.js +7 -1
- package/dist/Calendar.js.map +1 -1
- package/dist/DateField.d.ts +124 -0
- package/dist/DateField.d.ts.map +1 -0
- package/dist/DateField.js +262 -0
- package/dist/DateField.js.map +1 -0
- package/dist/DetailList.d.ts +35 -0
- package/dist/DetailList.d.ts.map +1 -0
- package/dist/DetailList.js +18 -0
- package/dist/DetailList.js.map +1 -0
- package/dist/IconButton.d.ts +47 -0
- package/dist/IconButton.d.ts.map +1 -0
- package/dist/IconButton.js +18 -0
- package/dist/IconButton.js.map +1 -0
- package/dist/Modal.d.ts +23 -1
- package/dist/Modal.d.ts.map +1 -1
- package/dist/Modal.js +62 -9
- package/dist/Modal.js.map +1 -1
- package/dist/RecordModal.d.ts +58 -0
- package/dist/RecordModal.d.ts.map +1 -0
- package/dist/RecordModal.js +53 -0
- package/dist/RecordModal.js.map +1 -0
- package/dist/SideNav.d.ts +69 -0
- package/dist/SideNav.d.ts.map +1 -0
- package/dist/SideNav.js +118 -0
- package/dist/SideNav.js.map +1 -0
- package/dist/icons.d.ts +1 -1
- package/dist/icons.d.ts.map +1 -1
- package/dist/icons.js +4 -2
- package/dist/icons.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css +435 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -2024,6 +2024,110 @@
|
|
|
2024
2024
|
flex-shrink: 0;
|
|
2025
2025
|
}
|
|
2026
2026
|
|
|
2027
|
+
/*
|
|
2028
|
+
* ── One date ─────────────────────────────────────────────────────────────
|
|
2029
|
+
*
|
|
2030
|
+
* `<DateField>`: a text box the day is typed into and a button that opens the
|
|
2031
|
+
* same `<Calendar>` grid the range filter uses. The box draws the border and
|
|
2032
|
+
* the input inside it draws none, so the field reads as one control with two
|
|
2033
|
+
* buttons in its end, the same shape as a select's trigger. Logical
|
|
2034
|
+
* properties throughout: in Hebrew the buttons sit at the left.
|
|
2035
|
+
*/
|
|
2036
|
+
|
|
2037
|
+
.ctl-datefield {
|
|
2038
|
+
display: flex;
|
|
2039
|
+
flex-direction: column;
|
|
2040
|
+
gap: var(--ctl-space-1);
|
|
2041
|
+
min-width: 0;
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
.ctl-datefield-box {
|
|
2045
|
+
display: flex;
|
|
2046
|
+
align-items: center;
|
|
2047
|
+
gap: var(--ctl-space-1);
|
|
2048
|
+
width: 100%;
|
|
2049
|
+
min-height: 34px;
|
|
2050
|
+
padding-inline: 10px 4px;
|
|
2051
|
+
background: var(--ctl-bg);
|
|
2052
|
+
border: 1px solid var(--ctl-border);
|
|
2053
|
+
border-radius: var(--ctl-radius);
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
.ctl-datefield-box:hover:not(.ctl-datefield-box-disabled) {
|
|
2057
|
+
border-color: var(--ctl-accent);
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
.ctl-datefield-box:focus-within {
|
|
2061
|
+
outline: 2px solid var(--ctl-accent);
|
|
2062
|
+
outline-offset: -1px;
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
.ctl-datefield-box[data-ctl-invalid='true'] {
|
|
2066
|
+
border-color: var(--ctl-danger);
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
.ctl-datefield-box-disabled {
|
|
2070
|
+
background: var(--ctl-surface);
|
|
2071
|
+
cursor: not-allowed;
|
|
2072
|
+
opacity: 55%;
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
.ctl-datefield-input {
|
|
2076
|
+
flex: 1;
|
|
2077
|
+
min-width: 0;
|
|
2078
|
+
padding-block: 6px;
|
|
2079
|
+
padding-inline: 0;
|
|
2080
|
+
font: inherit;
|
|
2081
|
+
font-variant-numeric: tabular-nums;
|
|
2082
|
+
color: var(--ctl-text);
|
|
2083
|
+
background: transparent;
|
|
2084
|
+
border: none;
|
|
2085
|
+
outline: none;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
.ctl-datefield-input:disabled {
|
|
2089
|
+
color: var(--ctl-muted);
|
|
2090
|
+
cursor: not-allowed;
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
.ctl-datefield-box .ctl-icon-button {
|
|
2094
|
+
background: none;
|
|
2095
|
+
border: none;
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
.ctl-datefield-box .ctl-icon-button:focus-visible {
|
|
2099
|
+
outline: 2px solid var(--ctl-accent);
|
|
2100
|
+
outline-offset: -1px;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
.ctl-datefield-box .ctl-icon-button:disabled {
|
|
2104
|
+
cursor: not-allowed;
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
.ctl-datefield-hebrew {
|
|
2108
|
+
font-size: 12px;
|
|
2109
|
+
color: var(--ctl-muted);
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
.ctl-datefield-error {
|
|
2113
|
+
font-size: 12px;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
/* A grid's width and no more: the hook sets the popover's width to the
|
|
2117
|
+
anchor's, and a field narrower than seven tappable columns would squash
|
|
2118
|
+
them. Capped to the window so a 360px phone keeps its margins. */
|
|
2119
|
+
.ctl-datefield-popover {
|
|
2120
|
+
min-width: min(280px, calc(100vw - 16px));
|
|
2121
|
+
padding: var(--ctl-space-2);
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
.ctl-datefield-calendars {
|
|
2125
|
+
display: flex;
|
|
2126
|
+
flex-wrap: wrap;
|
|
2127
|
+
gap: var(--ctl-space-1);
|
|
2128
|
+
margin-block-end: var(--ctl-space-2);
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2027
2131
|
.ctl-cal {
|
|
2028
2132
|
display: flex;
|
|
2029
2133
|
flex-direction: column;
|
|
@@ -2500,6 +2604,337 @@
|
|
|
2500
2604
|
list-style: none;
|
|
2501
2605
|
}
|
|
2502
2606
|
|
|
2607
|
+
/*
|
|
2608
|
+
* The modal header's own actions — an Edit pencil, a history icon — sit
|
|
2609
|
+
* between the title and the close button. `margin-inline-start: auto` takes the
|
|
2610
|
+
* free space, so the title keeps its edge and the actions stay with the close.
|
|
2611
|
+
*/
|
|
2612
|
+
.ctl-modal-head-actions {
|
|
2613
|
+
display: flex;
|
|
2614
|
+
flex-shrink: 0;
|
|
2615
|
+
gap: var(--ctl-space-1);
|
|
2616
|
+
align-items: center;
|
|
2617
|
+
margin-inline-start: auto;
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
/*
|
|
2621
|
+
* An icon-only button. Muted at rest whatever its tone — six actions in a row
|
|
2622
|
+
* are six quiet glyphs, not a traffic light — and coloured on hover and focus,
|
|
2623
|
+
* as the answer to "what will this do".
|
|
2624
|
+
*/
|
|
2625
|
+
.ctl-icon-btn {
|
|
2626
|
+
display: inline-flex;
|
|
2627
|
+
flex-shrink: 0;
|
|
2628
|
+
align-items: center;
|
|
2629
|
+
justify-content: center;
|
|
2630
|
+
width: 32px;
|
|
2631
|
+
height: 32px;
|
|
2632
|
+
padding: 0;
|
|
2633
|
+
font: inherit;
|
|
2634
|
+
color: var(--ctl-muted);
|
|
2635
|
+
cursor: pointer;
|
|
2636
|
+
background: none;
|
|
2637
|
+
border: 0;
|
|
2638
|
+
border-radius: var(--ctl-radius-sm);
|
|
2639
|
+
transition:
|
|
2640
|
+
background 120ms ease,
|
|
2641
|
+
color 120ms ease;
|
|
2642
|
+
}
|
|
2643
|
+
.ctl-icon-btn-sm {
|
|
2644
|
+
width: 28px;
|
|
2645
|
+
height: 28px;
|
|
2646
|
+
}
|
|
2647
|
+
.ctl-icon-btn-md {
|
|
2648
|
+
width: 32px;
|
|
2649
|
+
height: 32px;
|
|
2650
|
+
}
|
|
2651
|
+
.ctl-icon-btn:focus-visible {
|
|
2652
|
+
outline: 2px solid var(--ctl-accent);
|
|
2653
|
+
outline-offset: 1px;
|
|
2654
|
+
}
|
|
2655
|
+
.ctl-icon-btn:disabled {
|
|
2656
|
+
cursor: default;
|
|
2657
|
+
opacity: 0.45;
|
|
2658
|
+
}
|
|
2659
|
+
.ctl-icon-btn-neutral:hover:not(:disabled),
|
|
2660
|
+
.ctl-icon-btn-neutral:focus-visible {
|
|
2661
|
+
color: var(--ctl-text);
|
|
2662
|
+
background: var(--ctl-hover);
|
|
2663
|
+
}
|
|
2664
|
+
.ctl-icon-btn-accent:hover:not(:disabled),
|
|
2665
|
+
.ctl-icon-btn-accent:focus-visible {
|
|
2666
|
+
color: var(--ctl-accent);
|
|
2667
|
+
background: var(--ctl-accent-soft);
|
|
2668
|
+
}
|
|
2669
|
+
.ctl-icon-btn-danger:hover:not(:disabled),
|
|
2670
|
+
.ctl-icon-btn-danger:focus-visible {
|
|
2671
|
+
color: var(--ctl-danger);
|
|
2672
|
+
background: var(--ctl-danger-soft);
|
|
2673
|
+
}
|
|
2674
|
+
.ctl-icon-btn-ok:hover:not(:disabled),
|
|
2675
|
+
.ctl-icon-btn-ok:focus-visible {
|
|
2676
|
+
color: var(--ctl-ok);
|
|
2677
|
+
background: var(--ctl-ok-soft);
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2680
|
+
/*
|
|
2681
|
+
* A record's read view: label over value, two facts to a row. The wrap is the
|
|
2682
|
+
* size container, so the two columns fold into one on the list's own width —
|
|
2683
|
+
* a record in a narrow side panel is one column on a wide monitor too.
|
|
2684
|
+
*/
|
|
2685
|
+
.ctl-details-wrap {
|
|
2686
|
+
container-type: inline-size;
|
|
2687
|
+
}
|
|
2688
|
+
.ctl-details {
|
|
2689
|
+
display: grid;
|
|
2690
|
+
gap: var(--ctl-space-3) var(--ctl-space-5);
|
|
2691
|
+
margin: 0;
|
|
2692
|
+
}
|
|
2693
|
+
.ctl-details-cols-1 {
|
|
2694
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2695
|
+
}
|
|
2696
|
+
.ctl-details-cols-2 {
|
|
2697
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2698
|
+
}
|
|
2699
|
+
@container (max-width: 440px) {
|
|
2700
|
+
.ctl-details-cols-2 {
|
|
2701
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2702
|
+
}
|
|
2703
|
+
}
|
|
2704
|
+
.ctl-details-item {
|
|
2705
|
+
display: flex;
|
|
2706
|
+
flex-direction: column;
|
|
2707
|
+
gap: 2px;
|
|
2708
|
+
min-width: 0;
|
|
2709
|
+
}
|
|
2710
|
+
.ctl-details-item-wide {
|
|
2711
|
+
grid-column: 1 / -1;
|
|
2712
|
+
}
|
|
2713
|
+
.ctl-details-label {
|
|
2714
|
+
font-size: var(--ctl-text-sm);
|
|
2715
|
+
color: var(--ctl-muted);
|
|
2716
|
+
}
|
|
2717
|
+
.ctl-details-value {
|
|
2718
|
+
margin: 0;
|
|
2719
|
+
overflow-wrap: anywhere;
|
|
2720
|
+
color: var(--ctl-text);
|
|
2721
|
+
}
|
|
2722
|
+
.ctl-details-empty {
|
|
2723
|
+
color: var(--ctl-faint);
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
/* A record dialog's content; a hook for the host, laid out by what it holds. */
|
|
2727
|
+
.ctl-record {
|
|
2728
|
+
min-width: 0;
|
|
2729
|
+
}
|
|
2730
|
+
.ctl-record-view,
|
|
2731
|
+
.ctl-record-edit {
|
|
2732
|
+
min-width: 0;
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
/*
|
|
2736
|
+
* An application's vertical menu. One accent, on the current page; headings
|
|
2737
|
+
* small and muted; nothing else coloured. Logical properties throughout, so it
|
|
2738
|
+
* reads the same from the right in Hebrew.
|
|
2739
|
+
*/
|
|
2740
|
+
.ctl-sidenav {
|
|
2741
|
+
display: flex;
|
|
2742
|
+
flex-direction: column;
|
|
2743
|
+
gap: var(--ctl-space-2);
|
|
2744
|
+
min-height: 0;
|
|
2745
|
+
padding: var(--ctl-space-3) var(--ctl-space-2);
|
|
2746
|
+
background: var(--ctl-bg);
|
|
2747
|
+
}
|
|
2748
|
+
.ctl-sidenav-header,
|
|
2749
|
+
.ctl-sidenav-footer {
|
|
2750
|
+
flex-shrink: 0;
|
|
2751
|
+
padding: 0 var(--ctl-space-2);
|
|
2752
|
+
}
|
|
2753
|
+
.ctl-sidenav-footer {
|
|
2754
|
+
padding-block-start: var(--ctl-space-3);
|
|
2755
|
+
border-top: 1px solid var(--ctl-border);
|
|
2756
|
+
}
|
|
2757
|
+
.ctl-sidenav-body {
|
|
2758
|
+
display: flex;
|
|
2759
|
+
flex: 1;
|
|
2760
|
+
flex-direction: column;
|
|
2761
|
+
gap: var(--ctl-space-3);
|
|
2762
|
+
min-height: 0;
|
|
2763
|
+
overflow-y: auto;
|
|
2764
|
+
}
|
|
2765
|
+
.ctl-sidenav-section {
|
|
2766
|
+
display: flex;
|
|
2767
|
+
flex-direction: column;
|
|
2768
|
+
gap: 2px;
|
|
2769
|
+
}
|
|
2770
|
+
.ctl-sidenav-heading {
|
|
2771
|
+
display: flex;
|
|
2772
|
+
gap: var(--ctl-space-2);
|
|
2773
|
+
align-items: center;
|
|
2774
|
+
justify-content: space-between;
|
|
2775
|
+
width: 100%;
|
|
2776
|
+
padding: var(--ctl-space-1) var(--ctl-space-2);
|
|
2777
|
+
font: inherit;
|
|
2778
|
+
font-size: var(--ctl-text-xs);
|
|
2779
|
+
font-weight: 600;
|
|
2780
|
+
color: var(--ctl-muted);
|
|
2781
|
+
text-align: start;
|
|
2782
|
+
text-transform: uppercase;
|
|
2783
|
+
letter-spacing: 0.04em;
|
|
2784
|
+
cursor: pointer;
|
|
2785
|
+
background: none;
|
|
2786
|
+
border: 0;
|
|
2787
|
+
border-radius: var(--ctl-radius-sm);
|
|
2788
|
+
}
|
|
2789
|
+
.ctl-sidenav-heading:hover {
|
|
2790
|
+
color: var(--ctl-text);
|
|
2791
|
+
}
|
|
2792
|
+
.ctl-sidenav-heading:focus-visible {
|
|
2793
|
+
outline: 2px solid var(--ctl-accent);
|
|
2794
|
+
outline-offset: 1px;
|
|
2795
|
+
}
|
|
2796
|
+
.ctl-sidenav-heading-label {
|
|
2797
|
+
min-width: 0;
|
|
2798
|
+
overflow: hidden;
|
|
2799
|
+
text-overflow: ellipsis;
|
|
2800
|
+
white-space: nowrap;
|
|
2801
|
+
}
|
|
2802
|
+
.ctl-sidenav-chevron {
|
|
2803
|
+
flex-shrink: 0;
|
|
2804
|
+
transition: transform 120ms ease;
|
|
2805
|
+
}
|
|
2806
|
+
.ctl-sidenav-heading[aria-expanded="false"] .ctl-sidenav-chevron {
|
|
2807
|
+
transform: rotate(-90deg);
|
|
2808
|
+
}
|
|
2809
|
+
/* Folded, the chevron points along the reading direction: right in English,
|
|
2810
|
+
left in Hebrew. */
|
|
2811
|
+
:where([dir="rtl"]) .ctl-sidenav-heading[aria-expanded="false"] .ctl-sidenav-chevron {
|
|
2812
|
+
transform: rotate(90deg);
|
|
2813
|
+
}
|
|
2814
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2815
|
+
.ctl-sidenav-chevron {
|
|
2816
|
+
transition: none;
|
|
2817
|
+
}
|
|
2818
|
+
}
|
|
2819
|
+
.ctl-sidenav-list {
|
|
2820
|
+
display: flex;
|
|
2821
|
+
flex-direction: column;
|
|
2822
|
+
gap: 2px;
|
|
2823
|
+
padding: 0;
|
|
2824
|
+
margin: 0;
|
|
2825
|
+
list-style: none;
|
|
2826
|
+
}
|
|
2827
|
+
.ctl-sidenav-entry {
|
|
2828
|
+
margin: 0;
|
|
2829
|
+
}
|
|
2830
|
+
.ctl-sidenav-item {
|
|
2831
|
+
position: relative;
|
|
2832
|
+
display: flex;
|
|
2833
|
+
gap: var(--ctl-space-3);
|
|
2834
|
+
align-items: center;
|
|
2835
|
+
width: 100%;
|
|
2836
|
+
min-height: 36px;
|
|
2837
|
+
padding: var(--ctl-space-2);
|
|
2838
|
+
font: inherit;
|
|
2839
|
+
color: var(--ctl-text);
|
|
2840
|
+
text-align: start;
|
|
2841
|
+
text-decoration: none;
|
|
2842
|
+
cursor: pointer;
|
|
2843
|
+
background: none;
|
|
2844
|
+
border: 0;
|
|
2845
|
+
border-radius: var(--ctl-radius-sm);
|
|
2846
|
+
transition:
|
|
2847
|
+
background 120ms ease,
|
|
2848
|
+
color 120ms ease;
|
|
2849
|
+
}
|
|
2850
|
+
.ctl-sidenav-item:hover {
|
|
2851
|
+
background: var(--ctl-hover);
|
|
2852
|
+
}
|
|
2853
|
+
.ctl-sidenav-item:focus-visible {
|
|
2854
|
+
outline: 2px solid var(--ctl-accent);
|
|
2855
|
+
outline-offset: -2px;
|
|
2856
|
+
}
|
|
2857
|
+
.ctl-sidenav-item-current {
|
|
2858
|
+
font-weight: 600;
|
|
2859
|
+
color: var(--ctl-accent);
|
|
2860
|
+
background: var(--ctl-accent-soft);
|
|
2861
|
+
}
|
|
2862
|
+
.ctl-sidenav-item-current:hover {
|
|
2863
|
+
background: var(--ctl-accent-soft);
|
|
2864
|
+
}
|
|
2865
|
+
.ctl-sidenav-icon {
|
|
2866
|
+
display: inline-flex;
|
|
2867
|
+
flex-shrink: 0;
|
|
2868
|
+
color: var(--ctl-muted);
|
|
2869
|
+
}
|
|
2870
|
+
.ctl-sidenav-item-current .ctl-sidenav-icon {
|
|
2871
|
+
color: var(--ctl-accent);
|
|
2872
|
+
}
|
|
2873
|
+
.ctl-sidenav-label {
|
|
2874
|
+
flex: 1;
|
|
2875
|
+
min-width: 0;
|
|
2876
|
+
overflow: hidden;
|
|
2877
|
+
text-overflow: ellipsis;
|
|
2878
|
+
white-space: nowrap;
|
|
2879
|
+
}
|
|
2880
|
+
.ctl-sidenav-badge {
|
|
2881
|
+
flex-shrink: 0;
|
|
2882
|
+
min-width: 18px;
|
|
2883
|
+
padding: 0 6px;
|
|
2884
|
+
font-size: var(--ctl-text-xs);
|
|
2885
|
+
font-weight: 600;
|
|
2886
|
+
line-height: 18px;
|
|
2887
|
+
color: var(--ctl-accent-text);
|
|
2888
|
+
text-align: center;
|
|
2889
|
+
background: var(--ctl-accent);
|
|
2890
|
+
border-radius: var(--ctl-radius-pill);
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
/* The icon-only rail: labels and headings go; each section is a group with a
|
|
2894
|
+
hairline between it and the next. */
|
|
2895
|
+
.ctl-sidenav-collapsed {
|
|
2896
|
+
align-items: center;
|
|
2897
|
+
padding-inline: var(--ctl-space-1);
|
|
2898
|
+
}
|
|
2899
|
+
.ctl-sidenav-collapsed .ctl-sidenav-header,
|
|
2900
|
+
.ctl-sidenav-collapsed .ctl-sidenav-footer {
|
|
2901
|
+
padding-inline: 0;
|
|
2902
|
+
}
|
|
2903
|
+
.ctl-sidenav-collapsed .ctl-sidenav-section + .ctl-sidenav-section {
|
|
2904
|
+
padding-block-start: var(--ctl-space-3);
|
|
2905
|
+
border-top: 1px solid var(--ctl-border);
|
|
2906
|
+
}
|
|
2907
|
+
.ctl-sidenav-collapsed .ctl-sidenav-item {
|
|
2908
|
+
justify-content: center;
|
|
2909
|
+
width: 40px;
|
|
2910
|
+
padding: var(--ctl-space-2) 0;
|
|
2911
|
+
}
|
|
2912
|
+
.ctl-sidenav-collapsed .ctl-sidenav-label {
|
|
2913
|
+
display: none;
|
|
2914
|
+
}
|
|
2915
|
+
.ctl-sidenav-collapsed .ctl-sidenav-badge {
|
|
2916
|
+
position: absolute;
|
|
2917
|
+
inset-block-start: 2px;
|
|
2918
|
+
inset-inline-end: 2px;
|
|
2919
|
+
min-width: 8px;
|
|
2920
|
+
height: 8px;
|
|
2921
|
+
padding: 0;
|
|
2922
|
+
overflow: hidden;
|
|
2923
|
+
font-size: 0;
|
|
2924
|
+
line-height: 8px;
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2927
|
+
@media (pointer: coarse) {
|
|
2928
|
+
.ctl-icon-btn {
|
|
2929
|
+
width: 44px;
|
|
2930
|
+
height: 44px;
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
.ctl-sidenav-item {
|
|
2934
|
+
min-height: 44px;
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2503
2938
|
/* Touch targets (PR #226 review): a chip and the toast's dismiss are 44px on a
|
|
2504
2939
|
coarse pointer, keeping their desktop sizes elsewhere. The dismiss grows
|
|
2505
2940
|
outward (negative margin) so the strip's visual size does not change. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speles7172/controls",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Reusable React building blocks — a data table, searchable selects, a date range filter with a Gregorian and Hebrew calendar, a modal, badges and the loading and empty states — over static options or a transport you supply.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|