@flytedan/flytebot-design-system 0.46.0 → 0.47.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/dist/index.cjs +146 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +146 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +24 -3
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -3050,11 +3050,30 @@
|
|
|
3050
3050
|
.fd-cal-title:hover {
|
|
3051
3051
|
background: var(--surface-2);
|
|
3052
3052
|
}
|
|
3053
|
+
/* MP-272: visually hidden but still read by assistive tech — used for the calendar's live
|
|
3054
|
+
* month/year announcement, which has no visible element of its own (the mode-switch button
|
|
3055
|
+
* already shows the same text, but re-reads "button" on every change if it owns the label). */
|
|
3056
|
+
.fd-sr-only {
|
|
3057
|
+
position: absolute;
|
|
3058
|
+
width: 1px;
|
|
3059
|
+
height: 1px;
|
|
3060
|
+
padding: 0;
|
|
3061
|
+
margin: -1px;
|
|
3062
|
+
overflow: hidden;
|
|
3063
|
+
clip: rect(0, 0, 0, 0);
|
|
3064
|
+
white-space: nowrap;
|
|
3065
|
+
border: 0;
|
|
3066
|
+
}
|
|
3053
3067
|
.fd-cal-grid {
|
|
3054
3068
|
display: grid;
|
|
3055
3069
|
grid-template-columns: repeat(7, 1fr);
|
|
3056
3070
|
gap: 2px;
|
|
3057
3071
|
}
|
|
3072
|
+
/* MP-272: each week (and the header) is a role="row" for grid semantics, but must not
|
|
3073
|
+
* introduce its own layout box — its 7 cells are still tracks of the parent's 7-column grid. */
|
|
3074
|
+
.fd-cal-row {
|
|
3075
|
+
display: contents;
|
|
3076
|
+
}
|
|
3058
3077
|
.fd-cal-dow {
|
|
3059
3078
|
text-align: center;
|
|
3060
3079
|
font-size: 10.5px;
|
|
@@ -3066,6 +3085,9 @@
|
|
|
3066
3085
|
}
|
|
3067
3086
|
.fd-cal-day {
|
|
3068
3087
|
position: relative;
|
|
3088
|
+
display: flex;
|
|
3089
|
+
align-items: center;
|
|
3090
|
+
justify-content: center;
|
|
3069
3091
|
height: 34px;
|
|
3070
3092
|
border: none;
|
|
3071
3093
|
background: none;
|
|
@@ -3080,9 +3102,8 @@
|
|
|
3080
3102
|
.fd-cal-day:hover {
|
|
3081
3103
|
background: var(--surface-2);
|
|
3082
3104
|
}
|
|
3083
|
-
.fd-cal-day.is-
|
|
3084
|
-
|
|
3085
|
-
opacity: 0.45;
|
|
3105
|
+
.fd-cal-day.is-empty {
|
|
3106
|
+
cursor: default;
|
|
3086
3107
|
}
|
|
3087
3108
|
.fd-cal-day.is-today::after {
|
|
3088
3109
|
content: "";
|