@luoluoyu/fluentui-plus 1.0.0 → 2.0.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.esm.js +7 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1130,13 +1130,13 @@ const a0 = l0({
|
|
|
1130
1130
|
})));
|
|
1131
1131
|
});
|
|
1132
1132
|
return g.displayName = s, g;
|
|
1133
|
-
}, h0 = /* @__PURE__ */ ji("CheckmarkRegular", "1em", ["M3.37 10.17a.5.5 0 0 0-.74.66l4 4.5c.19.22.52.23.72.02l10.5-10.5a.5.5 0 0 0-.7-.7L7.02 14.27l-3.65-4.1Z"]), Nu = /* @__PURE__ */ ji("ChevronDownRegular", "1em", ["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]), d0 = /* @__PURE__ */ ji("ChevronRightRegular", "1em", ["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]), g0 = /* @__PURE__ */ ji("DismissFilled", "1em", ["m3.9 4.05.07-.08a.75.75 0 0 1 .98-.07l.08.07L10 8.94l4.97-4.97a.75.75 0 0 1 .98-.07l.08.07c.27.27.3.68.07.98l-.07.08L11.06 10l4.97 4.97c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L10 11.06l-4.97 4.97a.75.75 0 0 1-.98.07l-.08-.07a.75.75 0 0 1-.07-.98l.07-.08L8.94 10 3.97 5.03a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]), Al = "
|
|
1133
|
+
}, h0 = /* @__PURE__ */ ji("CheckmarkRegular", "1em", ["M3.37 10.17a.5.5 0 0 0-.74.66l4 4.5c.19.22.52.23.72.02l10.5-10.5a.5.5 0 0 0-.7-.7L7.02 14.27l-3.65-4.1Z"]), Nu = /* @__PURE__ */ ji("ChevronDownRegular", "1em", ["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]), d0 = /* @__PURE__ */ ji("ChevronRightRegular", "1em", ["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]), g0 = /* @__PURE__ */ ji("DismissFilled", "1em", ["m3.9 4.05.07-.08a.75.75 0 0 1 .98-.07l.08.07L10 8.94l4.97-4.97a.75.75 0 0 1 .98-.07l.08.07c.27.27.3.68.07.98l-.07.08L11.06 10l4.97 4.97c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L10 11.06l-4.97 4.97a.75.75 0 0 1-.98.07l-.08-.07a.75.75 0 0 1-.07-.98l.07-.08L8.94 10 3.97 5.03a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]), Al = "fluentui-plus-checkable-tag", p0 = ({ checked: s, onChange: u, children: r, className: f, ...c }) => {
|
|
1134
1134
|
const g = Ot(
|
|
1135
1135
|
() => _e(Al, s && `${Al}--checked`, f),
|
|
1136
1136
|
[s, f]
|
|
1137
1137
|
);
|
|
1138
1138
|
return /* @__PURE__ */ M.jsx(Fu, { ...c, className: g, onClick: () => u == null ? void 0 : u(!s), children: r });
|
|
1139
|
-
}, Mr = "
|
|
1139
|
+
}, Mr = "fluentui-plus-tag", v0 = ({ children: s, ...u }) => {
|
|
1140
1140
|
const { closeIcon: r = !1, color: f, bordered: c = !0, className: g, style: h, onClick: _, onClose: m } = u, b = Ot(
|
|
1141
1141
|
() => _e(Mr, c ? `${Mr}--bordered` : `${Mr}--borderless`, g),
|
|
1142
1142
|
[c, g]
|
|
@@ -5017,7 +5017,7 @@ const Kl = ({
|
|
|
5017
5017
|
handleContainerBlur: E,
|
|
5018
5018
|
handleInputBlur: T
|
|
5019
5019
|
};
|
|
5020
|
-
}, x0 = "
|
|
5020
|
+
}, x0 = "fluentui-plus-input-tag__item", zl = ({ tags: s, disabled: u = !1, tagClosable: r = !0, onTagRemove: f, renderTag: c }) => {
|
|
5021
5021
|
const g = Y(
|
|
5022
5022
|
(h, _) => (m) => {
|
|
5023
5023
|
m.stopPropagation(), u || f == null || f(h, _);
|
|
@@ -5037,7 +5037,7 @@ const Kl = ({
|
|
|
5037
5037
|
m
|
|
5038
5038
|
);
|
|
5039
5039
|
}) });
|
|
5040
|
-
}, Tl = "
|
|
5040
|
+
}, Tl = "fluentui-plus-input-tag__input", Yl = ({
|
|
5041
5041
|
value: s,
|
|
5042
5042
|
placeholder: u,
|
|
5043
5043
|
disabled: r = !1,
|
|
@@ -5067,7 +5067,7 @@ const Kl = ({
|
|
|
5067
5067
|
disabled: r
|
|
5068
5068
|
}
|
|
5069
5069
|
);
|
|
5070
|
-
}, Ui = "
|
|
5070
|
+
}, Ui = "fluentui-plus-input-tag", Nm = (s) => {
|
|
5071
5071
|
const {
|
|
5072
5072
|
value: u,
|
|
5073
5073
|
defaultValue: r = [],
|
|
@@ -5364,7 +5364,7 @@ const Kl = ({
|
|
|
5364
5364
|
// 没有子菜单时使用 Tooltip
|
|
5365
5365
|
/* @__PURE__ */ M.jsx(__, { withArrow: !0, positioning: "after", content: fe(), relationship: "label", children: ge })
|
|
5366
5366
|
) : ge;
|
|
5367
|
-
}, $r = "
|
|
5367
|
+
}, $r = "fluentui-plus-nav", Fm = ({
|
|
5368
5368
|
items: s,
|
|
5369
5369
|
mode: u = "inline",
|
|
5370
5370
|
collapsed: r = !1,
|
|
@@ -6952,7 +6952,7 @@ const Em = Y0, Rm = j0, Sm = K0, Am = X0, Tm = (s, u, r) => {
|
|
|
6952
6952
|
children: b ? b(R) : R
|
|
6953
6953
|
}
|
|
6954
6954
|
);
|
|
6955
|
-
}, Qt = "
|
|
6955
|
+
}, Qt = "fluentui-plus-select", Mm = ({
|
|
6956
6956
|
value: s,
|
|
6957
6957
|
defaultValue: u,
|
|
6958
6958
|
className: r,
|