@kcascend/liquid-ui 0.0.6 → 0.0.8
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/styles.css +123 -44
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1588,13 +1588,6 @@
|
|
|
1588
1588
|
box-shadow 120ms ease;
|
|
1589
1589
|
}
|
|
1590
1590
|
|
|
1591
|
-
.liquid-card:focus-within .liquid-card__container,
|
|
1592
|
-
.liquid-card.liquid-card--is-focus .liquid-card__container {
|
|
1593
|
-
background: var(--component-card-color-surface-selected, #e0e0e0);
|
|
1594
|
-
border-color: var(--component-card-color-border-focus, #0f62fe);
|
|
1595
|
-
box-shadow: 0 0 0 var(--component-card-layout-focus-ring-offset, 2px)
|
|
1596
|
-
var(--component-card-color-border-focus, #0f62fe);
|
|
1597
|
-
}
|
|
1598
1591
|
|
|
1599
1592
|
.liquid-card__header {
|
|
1600
1593
|
display: flex;
|
|
@@ -2060,43 +2053,57 @@
|
|
|
2060
2053
|
}
|
|
2061
2054
|
|
|
2062
2055
|
.liquid-data-table {
|
|
2063
|
-
width:
|
|
2056
|
+
width: 100%;
|
|
2064
2057
|
background: var(--component-data-table-color-surface-default, #f4f4f4);
|
|
2065
2058
|
}
|
|
2066
2059
|
|
|
2067
2060
|
.liquid-data-table__header {
|
|
2068
2061
|
display: grid;
|
|
2069
2062
|
gap: var(--component-data-table-layout-header-gap, 4px);
|
|
2070
|
-
padding: var(--component-data-table-layout-header-padding-top, 16px)
|
|
2063
|
+
padding: var(--component-data-table-layout-header-padding-top, 16px)
|
|
2064
|
+
var(--component-data-table-layout-header-padding-x, 16px)
|
|
2065
|
+
var(--component-data-table-layout-header-padding-bottom, 32px);
|
|
2071
2066
|
background: var(--component-data-table-color-surface-default, #f4f4f4);
|
|
2072
2067
|
}
|
|
2073
2068
|
|
|
2074
2069
|
.liquid-data-table__title {
|
|
2075
2070
|
margin: 0;
|
|
2076
2071
|
color: var(--component-data-table-color-text-title, #161616);
|
|
2077
|
-
font-family: var(
|
|
2078
|
-
|
|
2079
|
-
|
|
2072
|
+
font-family: var(
|
|
2073
|
+
--component-data-table-typography-title-font-family,
|
|
2074
|
+
'Roboto Condensed',
|
|
2075
|
+
sans-serif
|
|
2076
|
+
);
|
|
2080
2077
|
font-size: var(--component-data-table-typography-title-font-size, 32px);
|
|
2081
2078
|
font-weight: var(--component-data-table-typography-title-font-weight, 500);
|
|
2082
2079
|
line-height: var(--component-data-table-typography-title-line-height, 40px);
|
|
2083
|
-
letter-spacing: var(
|
|
2084
|
-
|
|
2080
|
+
letter-spacing: var(
|
|
2081
|
+
--component-data-table-typography-title-letter-spacing,
|
|
2082
|
+
0px
|
|
2083
|
+
);
|
|
2085
2084
|
}
|
|
2086
2085
|
|
|
2087
2086
|
.liquid-data-table__description {
|
|
2088
2087
|
margin: 0;
|
|
2089
2088
|
color: var(--component-data-table-color-text-description, #525252);
|
|
2090
|
-
font-family: var(
|
|
2091
|
-
|
|
2092
|
-
|
|
2089
|
+
font-family: var(
|
|
2090
|
+
--component-data-table-typography-description-font-family,
|
|
2091
|
+
Cabin,
|
|
2092
|
+
sans-serif
|
|
2093
|
+
);
|
|
2093
2094
|
font-size: var(--component-data-table-typography-description-font-size, 14px);
|
|
2094
|
-
font-weight: var(
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2095
|
+
font-weight: var(
|
|
2096
|
+
--component-data-table-typography-description-font-weight,
|
|
2097
|
+
400
|
|
2098
|
+
);
|
|
2099
|
+
line-height: var(
|
|
2100
|
+
--component-data-table-typography-description-line-height,
|
|
2101
|
+
20px
|
|
2102
|
+
);
|
|
2103
|
+
letter-spacing: var(
|
|
2104
|
+
--component-data-table-typography-description-letter-spacing,
|
|
2105
|
+
0.16px
|
|
2106
|
+
);
|
|
2100
2107
|
}
|
|
2101
2108
|
|
|
2102
2109
|
.liquid-data-table__scroll-container {
|
|
@@ -2111,8 +2118,10 @@
|
|
|
2111
2118
|
width: max-content;
|
|
2112
2119
|
min-width: 100%;
|
|
2113
2120
|
border-collapse: collapse;
|
|
2114
|
-
border-top: var(--component-data-table-layout-border-width, 1px) solid
|
|
2115
|
-
|
|
2121
|
+
border-top: var(--component-data-table-layout-border-width, 1px) solid
|
|
2122
|
+
var(--component-data-table-color-border-subtle, #e0e0e0);
|
|
2123
|
+
border-bottom: var(--component-data-table-layout-border-width, 1px) solid
|
|
2124
|
+
var(--component-data-table-color-border-subtle, #e0e0e0);
|
|
2116
2125
|
}
|
|
2117
2126
|
|
|
2118
2127
|
.liquid-data-table__column-row {
|
|
@@ -2124,33 +2133,43 @@
|
|
|
2124
2133
|
height: var(--component-data-table-layout-row-height, 48px);
|
|
2125
2134
|
box-sizing: border-box;
|
|
2126
2135
|
white-space: nowrap;
|
|
2127
|
-
padding: var(--component-data-table-layout-cell-padding-y, 12px)
|
|
2128
|
-
|
|
2136
|
+
padding: var(--component-data-table-layout-cell-padding-y, 12px)
|
|
2137
|
+
var(--component-data-table-layout-cell-padding-x, 16px);
|
|
2138
|
+
border-bottom: var(--component-data-table-layout-border-width, 1px) solid
|
|
2139
|
+
var(--component-data-table-color-border-subtle, #e0e0e0);
|
|
2129
2140
|
}
|
|
2130
2141
|
|
|
2131
2142
|
.liquid-data-table__column-header {
|
|
2132
2143
|
color: var(--component-data-table-color-text-header, #161616);
|
|
2133
|
-
font-family: var(
|
|
2134
|
-
|
|
2135
|
-
|
|
2144
|
+
font-family: var(
|
|
2145
|
+
--component-data-table-typography-header-font-family,
|
|
2146
|
+
Cabin,
|
|
2147
|
+
sans-serif
|
|
2148
|
+
);
|
|
2136
2149
|
font-size: var(--component-data-table-typography-header-font-size, 16px);
|
|
2137
2150
|
font-weight: var(--component-data-table-typography-header-font-weight, 600);
|
|
2138
2151
|
line-height: var(--component-data-table-typography-header-line-height, 24px);
|
|
2139
|
-
letter-spacing: var(
|
|
2140
|
-
|
|
2152
|
+
letter-spacing: var(
|
|
2153
|
+
--component-data-table-typography-header-letter-spacing,
|
|
2154
|
+
0px
|
|
2155
|
+
);
|
|
2141
2156
|
text-align: left;
|
|
2142
2157
|
}
|
|
2143
2158
|
|
|
2144
2159
|
.liquid-data-table__cell {
|
|
2145
2160
|
color: var(--component-data-table-color-text-cell, #161616);
|
|
2146
|
-
font-family: var(
|
|
2147
|
-
|
|
2148
|
-
|
|
2161
|
+
font-family: var(
|
|
2162
|
+
--component-data-table-typography-cell-font-family,
|
|
2163
|
+
Cabin,
|
|
2164
|
+
sans-serif
|
|
2165
|
+
);
|
|
2149
2166
|
font-size: var(--component-data-table-typography-cell-font-size, 16px);
|
|
2150
2167
|
font-weight: var(--component-data-table-typography-cell-font-weight, 400);
|
|
2151
2168
|
line-height: var(--component-data-table-typography-cell-line-height, 24px);
|
|
2152
|
-
letter-spacing: var(
|
|
2153
|
-
|
|
2169
|
+
letter-spacing: var(
|
|
2170
|
+
--component-data-table-typography-cell-letter-spacing,
|
|
2171
|
+
0px
|
|
2172
|
+
);
|
|
2154
2173
|
text-align: left;
|
|
2155
2174
|
}
|
|
2156
2175
|
|
|
@@ -2185,7 +2204,9 @@
|
|
|
2185
2204
|
justify-content: center;
|
|
2186
2205
|
}
|
|
2187
2206
|
|
|
2188
|
-
.liquid-data-table__checkbox-column
|
|
2207
|
+
.liquid-data-table__checkbox-column
|
|
2208
|
+
.liquid-checkbox__input:focus-visible
|
|
2209
|
+
~ .liquid-checkbox__box {
|
|
2189
2210
|
box-shadow:
|
|
2190
2211
|
0 0 0 2px var(--component-data-table-color-focus-inset, #ffffff),
|
|
2191
2212
|
0 0 0 4px var(--component-data-table-color-focus-ring, #0f62fe);
|
|
@@ -3818,11 +3839,12 @@
|
|
|
3818
3839
|
|
|
3819
3840
|
.liquid-select-input__field {
|
|
3820
3841
|
box-sizing: border-box;
|
|
3842
|
+
position: relative;
|
|
3821
3843
|
display: flex;
|
|
3822
3844
|
align-items: center;
|
|
3823
3845
|
width: 100%;
|
|
3824
3846
|
overflow: hidden;
|
|
3825
|
-
gap:
|
|
3847
|
+
gap: 0;
|
|
3826
3848
|
border-style: solid;
|
|
3827
3849
|
border-width: 0 0 var(--component-select-field-border-width-default, 1px);
|
|
3828
3850
|
border-color: var(--component-select-field-border-default, #8d8d8d);
|
|
@@ -3834,18 +3856,66 @@
|
|
|
3834
3856
|
}
|
|
3835
3857
|
|
|
3836
3858
|
.liquid-select-input[data-size='sm'] .liquid-select-input__field {
|
|
3859
|
+
--component-select-field-padding-current: var(
|
|
3860
|
+
--component-select-field-padding-sm,
|
|
3861
|
+
12px
|
|
3862
|
+
);
|
|
3863
|
+
--component-select-select-end-padding: 44px;
|
|
3837
3864
|
min-height: var(--component-select-field-height-sm, 40px);
|
|
3838
|
-
padding-inline:
|
|
3865
|
+
padding-inline: 0;
|
|
3866
|
+
}
|
|
3867
|
+
|
|
3868
|
+
.liquid-select-input[data-size='sm'] .liquid-select-input__chevron {
|
|
3869
|
+
right: var(--component-select-field-padding-sm, 12px);
|
|
3870
|
+
}
|
|
3871
|
+
|
|
3872
|
+
.liquid-select-input[data-size='sm'] .liquid-select-input__status-icon {
|
|
3873
|
+
right: calc(
|
|
3874
|
+
var(--component-select-field-padding-sm, 12px) + 20px +
|
|
3875
|
+
var(--component-select-field-icon-gap, 4px)
|
|
3876
|
+
);
|
|
3839
3877
|
}
|
|
3840
3878
|
|
|
3841
3879
|
.liquid-select-input[data-size='md'] .liquid-select-input__field {
|
|
3880
|
+
--component-select-field-padding-current: var(
|
|
3881
|
+
--component-select-field-padding-md,
|
|
3882
|
+
16px
|
|
3883
|
+
);
|
|
3884
|
+
--component-select-select-end-padding: 48px;
|
|
3842
3885
|
min-height: var(--component-select-field-height-md, 44px);
|
|
3843
|
-
padding-inline:
|
|
3886
|
+
padding-inline: 0;
|
|
3887
|
+
}
|
|
3888
|
+
|
|
3889
|
+
.liquid-select-input[data-size='md'] .liquid-select-input__chevron {
|
|
3890
|
+
right: var(--component-select-field-padding-md, 16px);
|
|
3891
|
+
}
|
|
3892
|
+
|
|
3893
|
+
.liquid-select-input[data-size='md'] .liquid-select-input__status-icon {
|
|
3894
|
+
right: calc(
|
|
3895
|
+
var(--component-select-field-padding-md, 16px) + 20px +
|
|
3896
|
+
var(--component-select-field-icon-gap, 4px)
|
|
3897
|
+
);
|
|
3844
3898
|
}
|
|
3845
3899
|
|
|
3846
3900
|
.liquid-select-input[data-size='lg'] .liquid-select-input__field {
|
|
3901
|
+
--component-select-field-padding-current: var(
|
|
3902
|
+
--component-select-field-padding-lg,
|
|
3903
|
+
20px
|
|
3904
|
+
);
|
|
3905
|
+
--component-select-select-end-padding: 52px;
|
|
3847
3906
|
min-height: var(--component-select-field-height-lg, 48px);
|
|
3848
|
-
padding-inline:
|
|
3907
|
+
padding-inline: 0;
|
|
3908
|
+
}
|
|
3909
|
+
|
|
3910
|
+
.liquid-select-input[data-size='lg'] .liquid-select-input__chevron {
|
|
3911
|
+
right: var(--component-select-field-padding-lg, 20px);
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3914
|
+
.liquid-select-input[data-size='lg'] .liquid-select-input__status-icon {
|
|
3915
|
+
right: calc(
|
|
3916
|
+
var(--component-select-field-padding-lg, 20px) + 20px +
|
|
3917
|
+
var(--component-select-field-icon-gap, 4px)
|
|
3918
|
+
);
|
|
3849
3919
|
}
|
|
3850
3920
|
|
|
3851
3921
|
.liquid-select-input:hover:not([data-tone='disabled'])
|
|
@@ -3876,6 +3946,11 @@
|
|
|
3876
3946
|
flex: 1 1 auto;
|
|
3877
3947
|
min-width: 0;
|
|
3878
3948
|
width: 100%;
|
|
3949
|
+
padding-inline-start: var(--component-select-field-padding-current, 16px);
|
|
3950
|
+
padding-inline-end: var(--component-select-select-end-padding, 48px);
|
|
3951
|
+
box-sizing: border-box;
|
|
3952
|
+
display: block;
|
|
3953
|
+
padding-block: 0;
|
|
3879
3954
|
border: 0;
|
|
3880
3955
|
background: transparent;
|
|
3881
3956
|
color: var(--component-select-field-text-value, #161616);
|
|
@@ -3901,17 +3976,19 @@
|
|
|
3901
3976
|
|
|
3902
3977
|
.liquid-select-input__status-icon,
|
|
3903
3978
|
.liquid-select-input__chevron {
|
|
3979
|
+
position: absolute;
|
|
3980
|
+
top: 50%;
|
|
3981
|
+
transform: translateY(-50%);
|
|
3904
3982
|
display: inline-flex;
|
|
3905
3983
|
align-items: center;
|
|
3906
3984
|
justify-content: center;
|
|
3907
|
-
flex: none;
|
|
3908
3985
|
width: 20px;
|
|
3909
3986
|
height: 20px;
|
|
3987
|
+
pointer-events: none;
|
|
3910
3988
|
}
|
|
3911
3989
|
|
|
3912
3990
|
.liquid-select-input__chevron {
|
|
3913
3991
|
color: var(--component-select-field-icon-chevron, #525252);
|
|
3914
|
-
pointer-events: none;
|
|
3915
3992
|
}
|
|
3916
3993
|
|
|
3917
3994
|
.liquid-select-input[data-tone='disabled'] .liquid-select-input__chevron {
|
|
@@ -3927,6 +4004,7 @@
|
|
|
3927
4004
|
}
|
|
3928
4005
|
|
|
3929
4006
|
.liquid-select-input__helper {
|
|
4007
|
+
margin:0;
|
|
3930
4008
|
color: var(--component-select-field-text-helper, #6f6f6f);
|
|
3931
4009
|
font-family: var(--component-select-helper-family, Cabin);
|
|
3932
4010
|
font-size: var(--component-select-helper-size, 12px);
|
|
@@ -4592,6 +4670,7 @@
|
|
|
4592
4670
|
}
|
|
4593
4671
|
|
|
4594
4672
|
.liquid-text-input__helper {
|
|
4673
|
+
margin: 0;
|
|
4595
4674
|
color: var(--component-input-text-helper, #6f6f6f);
|
|
4596
4675
|
font-family: var(--component-input-helper-family, Cabin);
|
|
4597
4676
|
font-size: var(--component-input-helper-size, 12px);
|