@sps-woodland/tags 8.4.4 → 8.4.6
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.
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
3
|
import type { ClickableTagKind } from "./ClickableTag.css";
|
|
4
|
-
export declare function ClickableTag({ children, className, onClick, disabled, href, kind, onAdd, onRemove, ...rest }: ComponentProps<{
|
|
4
|
+
export declare function ClickableTag({ children, className, onClick, disabled, href, target, kind, onAdd, onRemove, ...rest }: ComponentProps<{
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
href?: string;
|
|
7
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
7
8
|
kind?: ClickableTagKind;
|
|
8
9
|
onAdd?: () => void;
|
|
9
10
|
onRemove?: () => void;
|
package/lib/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const N=require("react"),n=require("@sps-woodland/core"),c=require("@spscommerce/utils");function O(e){if(e&&e.__esModule)return e;const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,l.get?l:{enumerable:!0,get:()=>e[a]})}}return r.default=e,Object.freeze(r)}const s=O(N);function S(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}function _(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);r&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,l)}return a}function v(e){for(var r=1;r<arguments.length;r++){var a=arguments[r]!=null?arguments[r]:{};r%2?_(Object(a),!0).forEach(function(l){S(e,l,a[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_(Object(a)).forEach(function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(a,l))})}return e}var E=(e,r,a)=>{for(var l of Object.keys(e)){var t;if(e[l]!==((t=r[l])!==null&&t!==void 0?t:a[l]))return!1}return!0},u=e=>r=>{var a=e.defaultClassName,l=v(v({},e.defaultVariants),r);for(var t in l){var m,d=(m=l[t])!==null&&m!==void 0?m:e.defaultVariants[t];if(d!=null){var o=d;typeof o=="boolean"&&(o=o===!0?"true":"false");var i=e.variantClassNames[t][o];i&&(a+=" "+i)}}for(var[p,b]of e.compoundVariants)E(p,l,e.defaultVariants)&&(a+=" "+b);return a},h=u({defaultClassName:"_160drw10",variantClassNames:{kind:{blue:"_160drw11",gray:"_160drw12"},disabled:{true:"_160drw13",false:"_160drw14"}},defaultVariants:{kind:"blue",disabled:!1},compoundVariants:[]}),K="_160drw1e",P="_160drw1d",j=u({defaultClassName:"_160drw15",variantClassNames:{link:{true:"_160drw16",false:"_160drw17"},disabled:{true:"_160drw18",false:"_160drw19"},addOrRemove:{true:"_160drw1a",false:"_160drw1b"}},defaultVariants:{link:!1,disabled:!1,addOrRemove:!1},compoundVariants:[[{disabled:!1,addOrRemove:!0},"_160drw1c"]]}),x="_160drw1f";function T({children:e,className:r,onClick:a,disabled:l,href:t,target:m,kind:d,onAdd:o,onRemove:i,...p}){const b=s.Children.toArray(e).filter(g=>typeof g=="string").join("");s.useEffect(()=>{if(i&&o)throw new Error("Clickable tag should have onRemove or onAdd, not both")},[o,i]);function y(g){o?o():i&&i(),g.stopPropagation()}function w(g){g.stopPropagation(),a&&a(g)}return s.createElement("div",{className:n.cl(h({kind:d,disabled:l}),r),...p},s.createElement("span",{className:n.cl(j({link:!!t||!!a,disabled:l,addOrRemove:o||i})),onClick:w,title:b},t?s.createElement("a",{className:x,href:t,target:m},e):e),(o||i)&&!l&&s.createElement("div",{className:P,onClick:l?void 0:y,tabIndex:-1,"aria-label":o?"Add":"Remove"},s.createElement(n.Icon,{className:K,"aria-hidden":"true",icon:o?"plus-sign":"x"})))}n.Metadata.set(T,{name:"Clickable Tag",props:{disabled:{type:"boolean",default:"false"},href:{type:"string"},target:{type:"'_blank' | '_self' | '_parent' | '_top'"},kind:{type:"ClickableTagKind",default:"blue"},onAdd:{type:"() => void"},onRemove:{type:"() => void"}}});var F=u({defaultClassName:"_5f3efi0",variantClassNames:{kind:{default:"_5f3efi1",key:"_5f3efi2",warning:"_5f3efi3",error:"_5f3efi4",pending:"_5f3efi5",success:"_5f3efi6",info:"_5f3efi7"}},defaultVariants:{kind:"default"},compoundVariants:[]}),V=u({defaultClassName:"_5f3efi8",variantClassNames:{kind:{default:"_5f3efi9",key:"_5f3efia",warning:"_5f3efib",error:"_5f3efic",pending:"_5f3efid",success:"_5f3efie",info:"_5f3efif"}},defaultVariants:{kind:"default"},compoundVariants:[]});const C=Object.freeze({default:"info-circle",key:"info-circle",warning:"status-warning",error:"status-error",pending:"status-in-process",success:"status-ok",info:"info-circle"});function f({children:e,className:r,kind:a="default",icon:l,...t}){return s.createElement("span",{className:n.cl(F({kind:a}),r),...t},l&&s.createElement(n.Icon,{className:n.cl(V({kind:a})),icon:C[a]}),e)}n.Metadata.set(f,{name:"Tag",props:{kind:{type:"TagKind",default:"default"},icon:{type:"boolean",default:"false"}}});var I="_79ofse0",M="_79ofse1",R="_79ofsec",D=u({defaultClassName:"_79ofse2",variantClassNames:{href:{true:"_79ofse3",false:"_79ofse4"},kind:{default:"_79ofse5",key:"_79ofse6",warning:"_79ofse7",error:"_79ofse8",pending:"_79ofse9",success:"_79ofsea",info:"_79ofseb"}},defaultVariants:{href:!1,kind:"default"},compoundVariants:[]});function k({children:e,className:r,color:a="default",href:l,target:t,icon:m,tagKey:d,value:o,...i}){return s.createElement("span",{className:n.cl(I,r),...i},s.createElement(f,{className:n.cl(M),icon:m,kind:a},d),s.createElement(f,{className:n.cl(D({href:!!l,kind:a}))},l?s.createElement("a",{className:R,href:l,target:t},o):o))}n.Metadata.set(k,{name:"Split Tag",props:{color:{type:"TagKind",default:"key"},href:{type:"string"},target:{type:"'_blank' | '_self' | '_parent' | '_top'"},icon:{type:"boolean",default:"false"},tagKey:{type:"string",required:!0},value:{type:"string",required:!0}}});const L={components:[T],examples:{basic:{label:"Basic Tag",examples:{basic:{react:c.code`
|
|
2
2
|
import { ClickableTag } from "@sps-woodland/tags";
|
|
3
3
|
|
|
4
4
|
function Component() {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
</>
|
|
64
64
|
);
|
|
65
65
|
}
|
|
66
|
-
`}}}}},
|
|
66
|
+
`}}}}},q={components:[f],examples:{basic:{label:"Basic Tag",examples:{basic:{react:c.code`
|
|
67
67
|
import { Tag } from "@sps-woodland/tag";
|
|
68
68
|
|
|
69
69
|
function Component() {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
</>
|
|
96
96
|
)
|
|
97
97
|
}
|
|
98
|
-
`}}}}},
|
|
98
|
+
`}}}}},B={components:[k],examples:{basic:{label:"Basic",examples:{basic:{react:c.code`
|
|
99
99
|
import { SplitTag } from "@sps-woodland/tag";
|
|
100
100
|
|
|
101
101
|
function Component() {
|
|
@@ -133,4 +133,4 @@
|
|
|
133
133
|
<SplitTag tagKey="Foo" value="1234" icon href="https://www.google.com" />
|
|
134
134
|
);
|
|
135
135
|
}
|
|
136
|
-
`}}}}},
|
|
136
|
+
`}}}}},A={"Clickable Tags":L,Tags:q,"Split Tags":B};exports.ClickableTag=T;exports.MANIFEST=A;exports.SplitTag=k;exports.Tag=f;exports.TagIcons=C;
|
package/lib/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as n from "react";
|
|
2
2
|
import { Metadata as T, cl as m, Icon as C } from "@sps-woodland/core";
|
|
3
3
|
import { code as i } from "@spscommerce/utils";
|
|
4
|
-
function
|
|
4
|
+
function O(a, r, e) {
|
|
5
5
|
return r in a ? Object.defineProperty(a, r, {
|
|
6
6
|
value: e,
|
|
7
7
|
enumerable: !0,
|
|
@@ -13,8 +13,8 @@ function k(a, r) {
|
|
|
13
13
|
var e = Object.keys(a);
|
|
14
14
|
if (Object.getOwnPropertySymbols) {
|
|
15
15
|
var l = Object.getOwnPropertySymbols(a);
|
|
16
|
-
r && (l = l.filter(function(
|
|
17
|
-
return Object.getOwnPropertyDescriptor(a,
|
|
16
|
+
r && (l = l.filter(function(t) {
|
|
17
|
+
return Object.getOwnPropertyDescriptor(a, t).enumerable;
|
|
18
18
|
})), e.push.apply(e, l);
|
|
19
19
|
}
|
|
20
20
|
return e;
|
|
@@ -23,94 +23,96 @@ function v(a) {
|
|
|
23
23
|
for (var r = 1; r < arguments.length; r++) {
|
|
24
24
|
var e = arguments[r] != null ? arguments[r] : {};
|
|
25
25
|
r % 2 ? k(Object(e), !0).forEach(function(l) {
|
|
26
|
-
|
|
26
|
+
O(a, l, e[l]);
|
|
27
27
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(e)) : k(Object(e)).forEach(function(l) {
|
|
28
28
|
Object.defineProperty(a, l, Object.getOwnPropertyDescriptor(e, l));
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
return a;
|
|
32
32
|
}
|
|
33
|
-
var
|
|
33
|
+
var S = (a, r, e) => {
|
|
34
34
|
for (var l of Object.keys(a)) {
|
|
35
|
-
var
|
|
36
|
-
if (a[l] !== ((
|
|
35
|
+
var t;
|
|
36
|
+
if (a[l] !== ((t = r[l]) !== null && t !== void 0 ? t : e[l]))
|
|
37
37
|
return !1;
|
|
38
38
|
}
|
|
39
39
|
return !0;
|
|
40
|
-
},
|
|
40
|
+
}, d = (a) => (r) => {
|
|
41
41
|
var e = a.defaultClassName, l = v(v({}, a.defaultVariants), r);
|
|
42
|
-
for (var
|
|
43
|
-
var c,
|
|
44
|
-
if (
|
|
45
|
-
var
|
|
46
|
-
typeof
|
|
47
|
-
var
|
|
48
|
-
|
|
42
|
+
for (var t in l) {
|
|
43
|
+
var c, g = (c = l[t]) !== null && c !== void 0 ? c : a.defaultVariants[t];
|
|
44
|
+
if (g != null) {
|
|
45
|
+
var s = g;
|
|
46
|
+
typeof s == "boolean" && (s = s === !0 ? "true" : "false");
|
|
47
|
+
var o = a.variantClassNames[t][s];
|
|
48
|
+
o && (e += " " + o);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
for (var [u, b] of a.compoundVariants)
|
|
52
|
-
|
|
52
|
+
S(u, l, a.defaultVariants) && (e += " " + b);
|
|
53
53
|
return e;
|
|
54
|
-
},
|
|
55
|
-
function
|
|
54
|
+
}, E = d({ defaultClassName: "_160drw10", variantClassNames: { kind: { blue: "_160drw11", gray: "_160drw12" }, disabled: { true: "_160drw13", false: "_160drw14" } }, defaultVariants: { kind: "blue", disabled: !1 }, compoundVariants: [] }), h = "_160drw1e", K = "_160drw1d", x = d({ defaultClassName: "_160drw15", variantClassNames: { link: { true: "_160drw16", false: "_160drw17" }, disabled: { true: "_160drw18", false: "_160drw19" }, addOrRemove: { true: "_160drw1a", false: "_160drw1b" } }, defaultVariants: { link: !1, disabled: !1, addOrRemove: !1 }, compoundVariants: [[{ disabled: !1, addOrRemove: !0 }, "_160drw1c"]] }), F = "_160drw1f";
|
|
55
|
+
function _({
|
|
56
56
|
children: a,
|
|
57
57
|
className: r,
|
|
58
58
|
onClick: e,
|
|
59
59
|
disabled: l,
|
|
60
|
-
href:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
href: t,
|
|
61
|
+
target: c,
|
|
62
|
+
kind: g,
|
|
63
|
+
onAdd: s,
|
|
64
|
+
onRemove: o,
|
|
65
|
+
...u
|
|
65
66
|
}) {
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
if (
|
|
67
|
+
const b = n.Children.toArray(a).filter((f) => typeof f == "string").join("");
|
|
68
|
+
n.useEffect(() => {
|
|
69
|
+
if (o && s)
|
|
69
70
|
throw new Error("Clickable tag should have onRemove or onAdd, not both");
|
|
70
|
-
}, [
|
|
71
|
-
function
|
|
72
|
-
|
|
71
|
+
}, [s, o]);
|
|
72
|
+
function y(f) {
|
|
73
|
+
s ? s() : o && o(), f.stopPropagation();
|
|
73
74
|
}
|
|
74
|
-
function
|
|
75
|
-
|
|
75
|
+
function N(f) {
|
|
76
|
+
f.stopPropagation(), e && e(f);
|
|
76
77
|
}
|
|
77
|
-
return /* @__PURE__ */
|
|
78
|
+
return /* @__PURE__ */ n.createElement("div", { className: m(E({ kind: g, disabled: l }), r), ...u }, /* @__PURE__ */ n.createElement(
|
|
78
79
|
"span",
|
|
79
80
|
{
|
|
80
81
|
className: m(
|
|
81
|
-
|
|
82
|
-
link: !!
|
|
82
|
+
x({
|
|
83
|
+
link: !!t || !!e,
|
|
83
84
|
disabled: l,
|
|
84
|
-
addOrRemove:
|
|
85
|
+
addOrRemove: s || o
|
|
85
86
|
})
|
|
86
87
|
),
|
|
87
|
-
onClick:
|
|
88
|
-
title:
|
|
88
|
+
onClick: N,
|
|
89
|
+
title: b
|
|
89
90
|
},
|
|
90
|
-
|
|
91
|
-
), (
|
|
91
|
+
t ? /* @__PURE__ */ n.createElement("a", { className: F, href: t, target: c }, a) : a
|
|
92
|
+
), (s || o) && !l && /* @__PURE__ */ n.createElement(
|
|
92
93
|
"div",
|
|
93
94
|
{
|
|
94
|
-
className:
|
|
95
|
-
onClick: l ? void 0 :
|
|
95
|
+
className: K,
|
|
96
|
+
onClick: l ? void 0 : y,
|
|
96
97
|
tabIndex: -1,
|
|
97
|
-
"aria-label":
|
|
98
|
+
"aria-label": s ? "Add" : "Remove"
|
|
98
99
|
},
|
|
99
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ n.createElement(C, { className: h, "aria-hidden": "true", icon: s ? "plus-sign" : "x" })
|
|
100
101
|
));
|
|
101
102
|
}
|
|
102
|
-
T.set(
|
|
103
|
+
T.set(_, {
|
|
103
104
|
name: "Clickable Tag",
|
|
104
105
|
props: {
|
|
105
106
|
disabled: { type: "boolean", default: "false" },
|
|
106
107
|
href: { type: "string" },
|
|
108
|
+
target: { type: "'_blank' | '_self' | '_parent' | '_top'" },
|
|
107
109
|
kind: { type: "ClickableTagKind", default: "blue" },
|
|
108
110
|
onAdd: { type: "() => void" },
|
|
109
111
|
onRemove: { type: "() => void" }
|
|
110
112
|
}
|
|
111
113
|
});
|
|
112
|
-
var
|
|
113
|
-
const
|
|
114
|
+
var V = d({ defaultClassName: "_5f3efi0", variantClassNames: { kind: { default: "_5f3efi1", key: "_5f3efi2", warning: "_5f3efi3", error: "_5f3efi4", pending: "_5f3efi5", success: "_5f3efi6", info: "_5f3efi7" } }, defaultVariants: { kind: "default" }, compoundVariants: [] }), P = d({ defaultClassName: "_5f3efi8", variantClassNames: { kind: { default: "_5f3efi9", key: "_5f3efia", warning: "_5f3efib", error: "_5f3efic", pending: "_5f3efid", success: "_5f3efie", info: "_5f3efif" } }, defaultVariants: { kind: "default" }, compoundVariants: [] });
|
|
115
|
+
const j = Object.freeze({
|
|
114
116
|
default: "info-circle",
|
|
115
117
|
key: "info-circle",
|
|
116
118
|
warning: "status-warning",
|
|
@@ -124,9 +126,9 @@ function p({
|
|
|
124
126
|
className: r,
|
|
125
127
|
kind: e = "default",
|
|
126
128
|
icon: l,
|
|
127
|
-
...
|
|
129
|
+
...t
|
|
128
130
|
}) {
|
|
129
|
-
return /* @__PURE__ */
|
|
131
|
+
return /* @__PURE__ */ n.createElement("span", { className: m(V({ kind: e }), r), ...t }, l && /* @__PURE__ */ n.createElement(C, { className: m(P({ kind: e })), icon: j[e] }), a);
|
|
130
132
|
}
|
|
131
133
|
T.set(p, {
|
|
132
134
|
name: "Tag",
|
|
@@ -135,31 +137,33 @@ T.set(p, {
|
|
|
135
137
|
icon: { type: "boolean", default: "false" }
|
|
136
138
|
}
|
|
137
139
|
});
|
|
138
|
-
var
|
|
139
|
-
function
|
|
140
|
+
var I = "_79ofse0", R = "_79ofse1", D = "_79ofsec", L = d({ defaultClassName: "_79ofse2", variantClassNames: { href: { true: "_79ofse3", false: "_79ofse4" }, kind: { default: "_79ofse5", key: "_79ofse6", warning: "_79ofse7", error: "_79ofse8", pending: "_79ofse9", success: "_79ofsea", info: "_79ofseb" } }, defaultVariants: { href: !1, kind: "default" }, compoundVariants: [] });
|
|
141
|
+
function w({
|
|
140
142
|
children: a,
|
|
141
143
|
className: r,
|
|
142
144
|
color: e = "default",
|
|
143
145
|
href: l,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
target: t,
|
|
147
|
+
icon: c,
|
|
148
|
+
tagKey: g,
|
|
149
|
+
value: s,
|
|
150
|
+
...o
|
|
148
151
|
}) {
|
|
149
|
-
return /* @__PURE__ */
|
|
152
|
+
return /* @__PURE__ */ n.createElement("span", { className: m(I, r), ...o }, /* @__PURE__ */ n.createElement(p, { className: m(R), icon: c, kind: e }, g), /* @__PURE__ */ n.createElement(p, { className: m(L({ href: !!l, kind: e })) }, l ? /* @__PURE__ */ n.createElement("a", { className: D, href: l, target: t }, s) : s));
|
|
150
153
|
}
|
|
151
|
-
T.set(
|
|
154
|
+
T.set(w, {
|
|
152
155
|
name: "Split Tag",
|
|
153
156
|
props: {
|
|
154
157
|
color: { type: "TagKind", default: "key" },
|
|
155
158
|
href: { type: "string" },
|
|
159
|
+
target: { type: "'_blank' | '_self' | '_parent' | '_top'" },
|
|
156
160
|
icon: { type: "boolean", default: "false" },
|
|
157
161
|
tagKey: { type: "string", required: !0 },
|
|
158
162
|
value: { type: "string", required: !0 }
|
|
159
163
|
}
|
|
160
164
|
});
|
|
161
|
-
const
|
|
162
|
-
components: [
|
|
165
|
+
const B = {
|
|
166
|
+
components: [_],
|
|
163
167
|
examples: {
|
|
164
168
|
basic: {
|
|
165
169
|
label: "Basic Tag",
|
|
@@ -260,7 +264,7 @@ const L = {
|
|
|
260
264
|
}
|
|
261
265
|
}
|
|
262
266
|
}
|
|
263
|
-
},
|
|
267
|
+
}, A = {
|
|
264
268
|
components: [p],
|
|
265
269
|
examples: {
|
|
266
270
|
basic: {
|
|
@@ -312,8 +316,8 @@ const L = {
|
|
|
312
316
|
}
|
|
313
317
|
}
|
|
314
318
|
}
|
|
315
|
-
},
|
|
316
|
-
components: [
|
|
319
|
+
}, W = {
|
|
320
|
+
components: [w],
|
|
317
321
|
examples: {
|
|
318
322
|
basic: {
|
|
319
323
|
label: "Basic",
|
|
@@ -378,15 +382,15 @@ const L = {
|
|
|
378
382
|
}
|
|
379
383
|
}
|
|
380
384
|
}
|
|
381
|
-
},
|
|
382
|
-
"Clickable Tags":
|
|
383
|
-
Tags:
|
|
384
|
-
"Split Tags":
|
|
385
|
+
}, z = {
|
|
386
|
+
"Clickable Tags": B,
|
|
387
|
+
Tags: A,
|
|
388
|
+
"Split Tags": W
|
|
385
389
|
};
|
|
386
390
|
export {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
391
|
+
_ as ClickableTag,
|
|
392
|
+
z as MANIFEST,
|
|
393
|
+
w as SplitTag,
|
|
390
394
|
p as Tag,
|
|
391
|
-
|
|
395
|
+
j as TagIcons
|
|
392
396
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
3
|
import type { TagKind } from "../tag/Tag";
|
|
4
|
-
export declare function SplitTag({ children, className, color, href, icon, tagKey, value, ...rest }: ComponentProps<{
|
|
4
|
+
export declare function SplitTag({ children, className, color, href, target, icon, tagKey, value, ...rest }: ComponentProps<{
|
|
5
5
|
color: TagKind;
|
|
6
6
|
href?: string;
|
|
7
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
7
8
|
icon?: boolean;
|
|
8
9
|
tagKey: string;
|
|
9
10
|
value: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sps-woodland/tags",
|
|
3
3
|
"description": "SPS Woodland Design System tag components",
|
|
4
|
-
"version": "8.4.
|
|
4
|
+
"version": "8.4.6",
|
|
5
5
|
"author": "SPS Commerce",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"repository": "https://github.com/SPSCommerce/woodland/tree/main/packages/@sps-woodland/cards",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"@spscommerce/utils": "^6.12.1",
|
|
30
30
|
"react": "^16.14.0",
|
|
31
31
|
"react-dom": "^16.14.0",
|
|
32
|
-
"@sps-woodland/core": "8.4.
|
|
33
|
-
"@sps-woodland/tokens": "8.4.
|
|
32
|
+
"@sps-woodland/core": "8.4.6",
|
|
33
|
+
"@sps-woodland/tokens": "8.4.6"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@spscommerce/utils": "^6.12.1",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@vanilla-extract/recipes": "^0.2.5",
|
|
39
39
|
"react": "^16.14.0",
|
|
40
40
|
"react-dom": "^16.14.0",
|
|
41
|
-
"@sps-woodland/core": "8.4.
|
|
42
|
-
"@sps-woodland/tokens": "8.4.
|
|
41
|
+
"@sps-woodland/core": "8.4.6",
|
|
42
|
+
"@sps-woodland/tokens": "8.4.6"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "pnpm run build:js && pnpm run build:types",
|