@flytedan/flytebot-design-system 0.83.0 → 0.85.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 +24 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +24 -37
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +32 -0
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -1030,6 +1030,38 @@
|
|
|
1030
1030
|
cursor: pointer;
|
|
1031
1031
|
transition: background var(--dur-fast) var(--ease);
|
|
1032
1032
|
}
|
|
1033
|
+
.fd-coll-head {
|
|
1034
|
+
display: flex;
|
|
1035
|
+
align-items: center;
|
|
1036
|
+
}
|
|
1037
|
+
.fd-coll-head > .fd-coll-trigger {
|
|
1038
|
+
flex: 1;
|
|
1039
|
+
width: auto;
|
|
1040
|
+
min-width: 0;
|
|
1041
|
+
}
|
|
1042
|
+
.fd-coll-actions {
|
|
1043
|
+
flex: none;
|
|
1044
|
+
display: flex;
|
|
1045
|
+
align-items: center;
|
|
1046
|
+
gap: 8px;
|
|
1047
|
+
padding-right: 18px;
|
|
1048
|
+
}
|
|
1049
|
+
.fd-coll-head .fd-coll-title {
|
|
1050
|
+
overflow-wrap: break-word;
|
|
1051
|
+
}
|
|
1052
|
+
/* DS-47: on a phone the actions drop to their own line under the title and subtitle,
|
|
1053
|
+
aligned with the trigger's content, so the title keeps the full heading width. */
|
|
1054
|
+
@media (max-width: 520px) {
|
|
1055
|
+
.fd-coll-head {
|
|
1056
|
+
flex-wrap: wrap;
|
|
1057
|
+
}
|
|
1058
|
+
.fd-coll-head > .fd-coll-trigger {
|
|
1059
|
+
flex: 1 1 100%;
|
|
1060
|
+
}
|
|
1061
|
+
.fd-coll-actions {
|
|
1062
|
+
padding: 0 18px 14px;
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1033
1065
|
.fd-coll-trigger:hover {
|
|
1034
1066
|
background: var(--surface-2);
|
|
1035
1067
|
}
|