@q1travel/design-system 0.25.0 → 0.25.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/dist-pkg/design-system.js +2 -2
- package/dist-pkg/style.css +12 -0
- package/package.json +1 -1
|
@@ -1521,14 +1521,14 @@ function ei({
|
|
|
1521
1521
|
/* @__PURE__ */ n(
|
|
1522
1522
|
"span",
|
|
1523
1523
|
{
|
|
1524
|
-
className: `input-control__reveal-icon${K ? "
|
|
1524
|
+
className: `input-control__reveal-icon${K ? " input-control__reveal-icon--visible" : ""}`,
|
|
1525
1525
|
children: /* @__PURE__ */ n(bo, { "aria-hidden": "true", size: 16, strokeWidth: 1.8 })
|
|
1526
1526
|
}
|
|
1527
1527
|
),
|
|
1528
1528
|
/* @__PURE__ */ n(
|
|
1529
1529
|
"span",
|
|
1530
1530
|
{
|
|
1531
|
-
className: `input-control__reveal-icon${K ? " input-control__reveal-icon--visible"
|
|
1531
|
+
className: `input-control__reveal-icon${K ? "" : " input-control__reveal-icon--visible"}`,
|
|
1532
1532
|
children: /* @__PURE__ */ n(ho, { "aria-hidden": "true", size: 16, strokeWidth: 1.8 })
|
|
1533
1533
|
}
|
|
1534
1534
|
)
|
package/dist-pkg/style.css
CHANGED
|
@@ -1030,6 +1030,18 @@
|
|
|
1030
1030
|
display: inline-grid;
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
|
+
/* 槽位里的按钮不画悬停框:通用 .button--icon 悬停会加边框和底色,放在输入框内侧就成了
|
|
1034
|
+
一个几乎等高、贴着右边框的灰框。悬停只把图标从次要色加深到主色;键盘焦点环保持不变。 */
|
|
1035
|
+
.input-control__action .button--ghost.button--icon {
|
|
1036
|
+
color: var(--q1-color-text-secondary);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.input-control__action .button--ghost.button--icon:not(:disabled):not([aria-disabled='true']):hover {
|
|
1040
|
+
border-color: transparent;
|
|
1041
|
+
background: transparent;
|
|
1042
|
+
color: var(--q1-color-text-primary);
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1033
1045
|
.input-control__reveal-icon {
|
|
1034
1046
|
grid-area: 1 / 1;
|
|
1035
1047
|
display: inline-flex;
|