@cboxdk/cbox-ui 0.19.1 → 0.19.2
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.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/tokens/controls.css +2 -0
package/dist/index.js
CHANGED
|
@@ -6770,6 +6770,7 @@ function TagInput(props) {
|
|
|
6770
6770
|
}
|
|
6771
6771
|
},
|
|
6772
6772
|
children: [
|
|
6773
|
+
/* @__PURE__ */ jsx(TagIcon, {}),
|
|
6773
6774
|
value.map((tag) => {
|
|
6774
6775
|
const label = labelOf(tag);
|
|
6775
6776
|
return /* @__PURE__ */ jsxs("span", { className: "cbx-ui-tag", children: [
|
|
@@ -6828,6 +6829,12 @@ function TagInput(props) {
|
|
|
6828
6829
|
}
|
|
6829
6830
|
);
|
|
6830
6831
|
}
|
|
6832
|
+
function TagIcon() {
|
|
6833
|
+
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 16 16", width: "14", height: "14", fill: "none", "aria-hidden": "true", className: "cbx-ui-tags-icon", children: [
|
|
6834
|
+
/* @__PURE__ */ jsx("path", { d: "M2.75 2.75h4.6l5.9 5.9a1.3 1.3 0 0 1 0 1.84l-2.76 2.76a1.3 1.3 0 0 1-1.84 0l-5.9-5.9v-4.6Z", stroke: "currentColor", strokeWidth: "1.4", strokeLinejoin: "round" }),
|
|
6835
|
+
/* @__PURE__ */ jsx("circle", { cx: "5.6", cy: "5.6", r: "1", fill: "currentColor" })
|
|
6836
|
+
] });
|
|
6837
|
+
}
|
|
6831
6838
|
function WarnIcon() {
|
|
6832
6839
|
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 14 14", width: "14", height: "14", fill: "none", "aria-hidden": "true", className: "cbx-ui-combo-icon", children: [
|
|
6833
6840
|
/* @__PURE__ */ jsx("circle", { cx: "7", cy: "7", r: "5.75", stroke: "currentColor", strokeWidth: "1.4" }),
|