@flytedan/flytebot-design-system 0.2.0 → 0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flytedan/flytebot-design-system",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
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",
@@ -197,6 +197,12 @@
197
197
  /* ============ Segmented control ============ */
198
198
  .fd-seg {
199
199
  display: inline-flex;
200
+ /* .fd-seg is already inline-flex to hug its own content, but any flex-column
201
+ parent with the default align-items:stretch (e.g. .fd-pop) overrides that by
202
+ stretching this as a flex ITEM — align-self pins it back to content width
203
+ regardless of the ambient container, so it never silently goes full-width
204
+ just because it's dropped inside a popover/panel. */
205
+ align-self: flex-start;
200
206
  background: var(--surface-2);
201
207
  border: 1px solid var(--border);
202
208
  border-radius: var(--r-md);
@@ -2020,9 +2026,9 @@
2020
2026
  }
2021
2027
  .fd-brand {
2022
2028
  display: flex;
2023
- flex-direction: column;
2024
- align-items: flex-start;
2025
- gap: 5px;
2029
+ flex-direction: row;
2030
+ align-items: center;
2031
+ gap: 10px;
2026
2032
  }
2027
2033
  .fd-brand-mark {
2028
2034
  display: inline-flex;
@@ -2030,20 +2036,21 @@
2030
2036
  line-height: 0;
2031
2037
  background: #fff;
2032
2038
  border-radius: var(--r-sm);
2033
- padding: 3px 7px;
2039
+ padding: 4px 8px;
2040
+ flex: none;
2034
2041
  }
2035
2042
  .fd-brand-mark img {
2036
2043
  display: block;
2037
- height: 20px;
2044
+ height: 26px;
2038
2045
  width: auto;
2039
2046
  }
2040
2047
  .fd-brand-sm .fd-brand-mark img,
2041
2048
  .fd-brand-mark-sm img {
2042
- height: 15px;
2049
+ height: 19px;
2043
2050
  }
2044
2051
  .fd-brand-lg .fd-brand-mark img,
2045
2052
  .fd-brand-mark-lg img {
2046
- height: 26px;
2053
+ height: 32px;
2047
2054
  }
2048
2055
  .fd-topbar {
2049
2056
  height: var(--topbar-h);
@@ -4059,7 +4066,7 @@
4059
4066
 
4060
4067
  /* --- menus (extends .fd-pop / .fd-opt) ----------------------------------- */
4061
4068
  .fd-pop-padded {
4062
- padding: 12px;
4069
+ padding: var(--s-16);
4063
4070
  }
4064
4071
  .fd-menu {
4065
4072
  outline: none;