@cratis/components 4.2.0 → 4.2.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/dist/esm/styles.css +12 -0
- package/package.json +1 -1
package/dist/esm/styles.css
CHANGED
|
@@ -2954,6 +2954,7 @@
|
|
|
2954
2954
|
.cratis-date-picker__input {
|
|
2955
2955
|
display: flex;
|
|
2956
2956
|
flex: 1;
|
|
2957
|
+
flex-wrap: wrap;
|
|
2957
2958
|
min-width: 0;
|
|
2958
2959
|
padding: 0.625rem 0.75rem;
|
|
2959
2960
|
}
|
|
@@ -2976,6 +2977,13 @@
|
|
|
2976
2977
|
outline: none;
|
|
2977
2978
|
font-variant-numeric: tabular-nums;
|
|
2978
2979
|
}
|
|
2980
|
+
.cratis-date-picker__segment:not([data-type='literal']) {
|
|
2981
|
+
display: flex;
|
|
2982
|
+
min-width: 24px;
|
|
2983
|
+
min-height: 24px;
|
|
2984
|
+
align-items: center;
|
|
2985
|
+
justify-content: center;
|
|
2986
|
+
}
|
|
2979
2987
|
.cratis-date-picker__segment[data-placeholder] {
|
|
2980
2988
|
color: var(--cratis-text-color-secondary);
|
|
2981
2989
|
}
|
|
@@ -4175,6 +4183,7 @@
|
|
|
4175
4183
|
padding: 0.75rem 1.25rem;
|
|
4176
4184
|
align-items: center;
|
|
4177
4185
|
border-radius: calc(var(--cratis-border-radius) * 0.75);
|
|
4186
|
+
outline: none;
|
|
4178
4187
|
cursor: default;
|
|
4179
4188
|
}
|
|
4180
4189
|
.cratis-dropdown__option[data-focused] {
|
|
@@ -4184,6 +4193,9 @@
|
|
|
4184
4193
|
background: var(--cratis-highlight-bg);
|
|
4185
4194
|
color: var(--cratis-highlight-text-color);
|
|
4186
4195
|
}
|
|
4196
|
+
.cratis-dropdown__option[data-focus-visible] {
|
|
4197
|
+
box-shadow: inset var(--cratis-focus-ring);
|
|
4198
|
+
}
|
|
4187
4199
|
.cratis-dropdown__option[data-disabled] {
|
|
4188
4200
|
opacity: 0.5;
|
|
4189
4201
|
}
|
package/package.json
CHANGED