@orangelogic/design-system 2.51.0 → 2.52.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/library/components/tag.js +12 -17
- package/library/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as m, n as i, C as
|
|
1
|
+
import { i as m, n as i, C as u, x as g, c as p } from "../chunks/custom-element.vnXBMQxc.js";
|
|
2
2
|
import { c as v } from "../chunks/component.styles.CI-v8BZa.js";
|
|
3
3
|
import { L as d } from "../chunks/i18n.GsJkEfVA.js";
|
|
4
4
|
import { e as x } from "../chunks/class-map.CoZTSvbM.js";
|
|
@@ -24,11 +24,6 @@ const f = m`
|
|
|
24
24
|
padding: 0;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.tag__content::part(content) {
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
27
|
/*
|
|
33
28
|
* Variant modifiers
|
|
34
29
|
*/
|
|
@@ -141,12 +136,12 @@ const f = m`
|
|
|
141
136
|
padding-inline-end: 0;
|
|
142
137
|
}
|
|
143
138
|
`;
|
|
144
|
-
var
|
|
145
|
-
for (var
|
|
146
|
-
(n = s[l]) && (
|
|
147
|
-
return o &&
|
|
139
|
+
var z = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, e = (s, t, c, o) => {
|
|
140
|
+
for (var a = o > 1 ? void 0 : o ? _(t, c) : t, l = s.length - 1, n; l >= 0; l--)
|
|
141
|
+
(n = s[l]) && (a = (o ? n(t, c, a) : n(a)) || a);
|
|
142
|
+
return o && a && z(t, c, a), a;
|
|
148
143
|
};
|
|
149
|
-
let r = class extends
|
|
144
|
+
let r = class extends u {
|
|
150
145
|
constructor() {
|
|
151
146
|
super(...arguments), this.localize = new d(this), this.variant = "neutral", this.size = "medium", this.pill = !1, this.removable = !1;
|
|
152
147
|
}
|
|
@@ -197,20 +192,20 @@ r.dependencies = {
|
|
|
197
192
|
"cx-icon-button": h,
|
|
198
193
|
"cx-line-clamp": b
|
|
199
194
|
};
|
|
200
|
-
|
|
195
|
+
e([
|
|
201
196
|
i({ reflect: !0 })
|
|
202
197
|
], r.prototype, "variant", 2);
|
|
203
|
-
|
|
198
|
+
e([
|
|
204
199
|
i({ reflect: !0 })
|
|
205
200
|
], r.prototype, "size", 2);
|
|
206
|
-
|
|
201
|
+
e([
|
|
207
202
|
i({ reflect: !0, type: Boolean })
|
|
208
203
|
], r.prototype, "pill", 2);
|
|
209
|
-
|
|
204
|
+
e([
|
|
210
205
|
i({ type: Boolean })
|
|
211
206
|
], r.prototype, "removable", 2);
|
|
212
|
-
r =
|
|
213
|
-
|
|
207
|
+
r = e([
|
|
208
|
+
p("cx-tag")
|
|
214
209
|
], r);
|
|
215
210
|
export {
|
|
216
211
|
r as default
|
package/library/package.json
CHANGED