@flytedan/flytebot-design-system 0.1.5 → 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.1.5",
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);
@@ -2018,6 +2024,34 @@
2018
2024
  color: var(--text-muted);
2019
2025
  font-variant-numeric: tabular-nums;
2020
2026
  }
2027
+ .fd-brand {
2028
+ display: flex;
2029
+ flex-direction: row;
2030
+ align-items: center;
2031
+ gap: 10px;
2032
+ }
2033
+ .fd-brand-mark {
2034
+ display: inline-flex;
2035
+ align-items: center;
2036
+ line-height: 0;
2037
+ background: #fff;
2038
+ border-radius: var(--r-sm);
2039
+ padding: 4px 8px;
2040
+ flex: none;
2041
+ }
2042
+ .fd-brand-mark img {
2043
+ display: block;
2044
+ height: 26px;
2045
+ width: auto;
2046
+ }
2047
+ .fd-brand-sm .fd-brand-mark img,
2048
+ .fd-brand-mark-sm img {
2049
+ height: 19px;
2050
+ }
2051
+ .fd-brand-lg .fd-brand-mark img,
2052
+ .fd-brand-mark-lg img {
2053
+ height: 32px;
2054
+ }
2021
2055
  .fd-topbar {
2022
2056
  height: var(--topbar-h);
2023
2057
  flex: none;
@@ -4032,7 +4066,7 @@
4032
4066
 
4033
4067
  /* --- menus (extends .fd-pop / .fd-opt) ----------------------------------- */
4034
4068
  .fd-pop-padded {
4035
- padding: 12px;
4069
+ padding: var(--s-16);
4036
4070
  }
4037
4071
  .fd-menu {
4038
4072
  outline: none;