@flytedan/flytebot-design-system 0.45.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flytedan/flytebot-design-system",
3
- "version": "0.45.0",
3
+ "version": "0.47.0",
4
4
  "description": "flytedesk Design System — shared component library, tokens, and business-logic kits for flytedesk apps.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -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-out {
3084
- color: var(--text-muted);
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: "";