@salt-ds/icons 1.5.1 → 1.7.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-cjs/components/Group.js +34 -0
- package/dist-cjs/components/Group.js.map +1 -0
- package/dist-cjs/components/GroupSolid.js +35 -0
- package/dist-cjs/components/GroupSolid.js.map +1 -0
- package/dist-cjs/components/Scales.js +34 -0
- package/dist-cjs/components/Scales.js.map +1 -0
- package/dist-cjs/components/ScalesSolid.js +32 -0
- package/dist-cjs/components/ScalesSolid.js.map +1 -0
- package/dist-cjs/components/SortAscend.js +25 -0
- package/dist-cjs/components/SortAscend.js.map +1 -0
- package/dist-cjs/components/SortDescend.js +25 -0
- package/dist-cjs/components/SortDescend.js.map +1 -0
- package/dist-cjs/components/Ungroup.js +32 -0
- package/dist-cjs/components/Ungroup.js.map +1 -0
- package/dist-cjs/components/UngroupSolid.js +23 -0
- package/dist-cjs/components/UngroupSolid.js.map +1 -0
- package/dist-cjs/components/Weight.js +27 -0
- package/dist-cjs/components/Weight.js.map +1 -0
- package/dist-cjs/components/WeightSolid.js +27 -0
- package/dist-cjs/components/WeightSolid.js.map +1 -0
- package/dist-cjs/icon/Icon.css.js +1 -1
- package/dist-cjs/icon/Icon.js +13 -2
- package/dist-cjs/icon/Icon.js.map +1 -1
- package/dist-cjs/index.js +20 -0
- package/dist-cjs/index.js.map +1 -1
- package/dist-es/components/Group.js +30 -0
- package/dist-es/components/Group.js.map +1 -0
- package/dist-es/components/GroupSolid.js +31 -0
- package/dist-es/components/GroupSolid.js.map +1 -0
- package/dist-es/components/Scales.js +30 -0
- package/dist-es/components/Scales.js.map +1 -0
- package/dist-es/components/ScalesSolid.js +28 -0
- package/dist-es/components/ScalesSolid.js.map +1 -0
- package/dist-es/components/SortAscend.js +21 -0
- package/dist-es/components/SortAscend.js.map +1 -0
- package/dist-es/components/SortDescend.js +21 -0
- package/dist-es/components/SortDescend.js.map +1 -0
- package/dist-es/components/Ungroup.js +28 -0
- package/dist-es/components/Ungroup.js.map +1 -0
- package/dist-es/components/UngroupSolid.js +19 -0
- package/dist-es/components/UngroupSolid.js.map +1 -0
- package/dist-es/components/Weight.js +23 -0
- package/dist-es/components/Weight.js.map +1 -0
- package/dist-es/components/WeightSolid.js +23 -0
- package/dist-es/components/WeightSolid.js.map +1 -0
- package/dist-es/icon/Icon.css.js +1 -1
- package/dist-es/icon/Icon.js +13 -2
- package/dist-es/icon/Icon.js.map +1 -1
- package/dist-es/index.js +10 -0
- package/dist-es/index.js.map +1 -1
- package/dist-types/components/Group.d.ts +4 -0
- package/dist-types/components/GroupSolid.d.ts +4 -0
- package/dist-types/components/Scales.d.ts +4 -0
- package/dist-types/components/ScalesSolid.d.ts +4 -0
- package/dist-types/components/SortAscend.d.ts +4 -0
- package/dist-types/components/SortDescend.d.ts +4 -0
- package/dist-types/components/Ungroup.d.ts +4 -0
- package/dist-types/components/UngroupSolid.d.ts +4 -0
- package/dist-types/components/Weight.d.ts +4 -0
- package/dist-types/components/WeightSolid.d.ts +4 -0
- package/dist-types/components/index.d.ts +10 -0
- package/dist-types/icon/Icon.d.ts +1 -0
- package/package.json +14 -12
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var Icon = require('../icon/Icon.js');
|
|
8
|
+
|
|
9
|
+
const GroupIcon = react.forwardRef(
|
|
10
|
+
function GroupIcon2(props, ref) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Icon.Icon, {
|
|
12
|
+
"data-testid": "GroupIcon",
|
|
13
|
+
"aria-label": "group",
|
|
14
|
+
viewBox: "0 0 12 12",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
19
|
+
fillRule: "evenodd",
|
|
20
|
+
d: "M8 4V2H2v6h2v2h6V4H8ZM7 3H3v4h1V4h3V3ZM5 5v4h4V5H5Z",
|
|
21
|
+
clipRule: "evenodd"
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
24
|
+
fillRule: "evenodd",
|
|
25
|
+
d: "M0 0v12h12V0H0Zm11 1H1v10h10V1Z",
|
|
26
|
+
clipRule: "evenodd"
|
|
27
|
+
})
|
|
28
|
+
]
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
exports.GroupIcon = GroupIcon;
|
|
34
|
+
//# sourceMappingURL=Group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Group.js","sources":["../src/components/Group.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type GroupIconProps = IconProps;\n\nexport const GroupIcon = forwardRef<SVGSVGElement, GroupIconProps>(\n function GroupIcon(props: GroupIconProps, ref) {\n return (\n <Icon\n data-testid=\"GroupIcon\"\n aria-label=\"group\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M8 4V2H2v6h2v2h6V4H8ZM7 3H3v4h1V4h3V3ZM5 5v4h4V5H5Z\"\n clipRule=\"evenodd\"\n />\n <path\n fillRule=\"evenodd\"\n d=\"M0 0v12h12V0H0Zm11 1H1v10h10V1Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["forwardRef","GroupIcon","jsxs","Icon","jsx"],"mappings":";;;;;;;;AAOO,MAAM,SAAY,GAAAA,gBAAA;AAAA,EACvB,SAASC,UAAU,CAAA,KAAA,EAAuB,GAAK,EAAA;AAC7C,IAAA,uBACGC,eAAA,CAAAC,SAAA,EAAA;AAAA,MACC,aAAY,EAAA,WAAA;AAAA,MACZ,YAAW,EAAA,OAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAACC,cAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,qDAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,wBACCA,cAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,iCAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,OAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var Icon = require('../icon/Icon.js');
|
|
8
|
+
|
|
9
|
+
const GroupSolidIcon = react.forwardRef(
|
|
10
|
+
function GroupSolidIcon2(props, ref) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Icon.Icon, {
|
|
12
|
+
"data-testid": "GroupSolidIcon",
|
|
13
|
+
"aria-label": "group solid",
|
|
14
|
+
viewBox: "0 0 12 12",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
19
|
+
d: "M3 3v5H2V2h6v1H3Z"
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
22
|
+
d: "M4 10V4h6v6H4Z"
|
|
23
|
+
}),
|
|
24
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
25
|
+
fillRule: "evenodd",
|
|
26
|
+
d: "M0 0v12h12V0H0Zm11 1H1v10h10V1Z",
|
|
27
|
+
clipRule: "evenodd"
|
|
28
|
+
})
|
|
29
|
+
]
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
exports.GroupSolidIcon = GroupSolidIcon;
|
|
35
|
+
//# sourceMappingURL=GroupSolid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupSolid.js","sources":["../src/components/GroupSolid.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type GroupSolidIconProps = IconProps;\n\nexport const GroupSolidIcon = forwardRef<SVGSVGElement, GroupSolidIconProps>(\n function GroupSolidIcon(props: GroupSolidIconProps, ref) {\n return (\n <Icon\n data-testid=\"GroupSolidIcon\"\n aria-label=\"group solid\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path d=\"M3 3v5H2V2h6v1H3Z\" />\n <path d=\"M4 10V4h6v6H4Z\" />\n <path\n fillRule=\"evenodd\"\n d=\"M0 0v12h12V0H0Zm11 1H1v10h10V1Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["forwardRef","GroupSolidIcon","jsxs","Icon","jsx"],"mappings":";;;;;;;;AAOO,MAAM,cAAiB,GAAAA,gBAAA;AAAA,EAC5B,SAASC,eAAe,CAAA,KAAA,EAA4B,GAAK,EAAA;AACvD,IAAA,uBACGC,eAAA,CAAAC,SAAA,EAAA;AAAA,MACC,aAAY,EAAA,gBAAA;AAAA,MACZ,YAAW,EAAA,aAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAACC,cAAA,CAAA,MAAA,EAAA;AAAA,UAAK,CAAE,EAAA,mBAAA;AAAA,SAAoB,CAAA;AAAA,wBAC3BA,cAAA,CAAA,MAAA,EAAA;AAAA,UAAK,CAAE,EAAA,gBAAA;AAAA,SAAiB,CAAA;AAAA,wBACxBA,cAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,iCAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,OAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var Icon = require('../icon/Icon.js');
|
|
8
|
+
|
|
9
|
+
const ScalesIcon = react.forwardRef(
|
|
10
|
+
function ScalesIcon2(props, ref) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Icon.Icon, {
|
|
12
|
+
"data-testid": "ScalesIcon",
|
|
13
|
+
"aria-label": "scales",
|
|
14
|
+
viewBox: "0 0 12 12",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
19
|
+
fillRule: "evenodd",
|
|
20
|
+
d: "M6 10a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-1a1.5 1.5 0 0 0 .5-2.915V7.5h-1V6.085A1.5 1.5 0 0 0 6 9Z",
|
|
21
|
+
clipRule: "evenodd"
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
24
|
+
fillRule: "evenodd",
|
|
25
|
+
d: "M2 2h3.5v1H1l-1 9h12l-1-9H6.5V2H10V1H2v1Zm-.105 2h8.21l.778 7H1.117l.778-7Z",
|
|
26
|
+
clipRule: "evenodd"
|
|
27
|
+
})
|
|
28
|
+
]
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
exports.ScalesIcon = ScalesIcon;
|
|
34
|
+
//# sourceMappingURL=Scales.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scales.js","sources":["../src/components/Scales.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type ScalesIconProps = IconProps;\n\nexport const ScalesIcon = forwardRef<SVGSVGElement, ScalesIconProps>(\n function ScalesIcon(props: ScalesIconProps, ref) {\n return (\n <Icon\n data-testid=\"ScalesIcon\"\n aria-label=\"scales\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M6 10a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-1a1.5 1.5 0 0 0 .5-2.915V7.5h-1V6.085A1.5 1.5 0 0 0 6 9Z\"\n clipRule=\"evenodd\"\n />\n <path\n fillRule=\"evenodd\"\n d=\"M2 2h3.5v1H1l-1 9h12l-1-9H6.5V2H10V1H2v1Zm-.105 2h8.21l.778 7H1.117l.778-7Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["forwardRef","ScalesIcon","jsxs","Icon","jsx"],"mappings":";;;;;;;;AAOO,MAAM,UAAa,GAAAA,gBAAA;AAAA,EACxB,SAASC,WAAW,CAAA,KAAA,EAAwB,GAAK,EAAA;AAC/C,IAAA,uBACGC,eAAA,CAAAC,SAAA,EAAA;AAAA,MACC,aAAY,EAAA,YAAA;AAAA,MACZ,YAAW,EAAA,QAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAACC,cAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,uGAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,wBACCA,cAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,6EAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,OAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var Icon = require('../icon/Icon.js');
|
|
8
|
+
|
|
9
|
+
const ScalesSolidIcon = react.forwardRef(
|
|
10
|
+
function ScalesSolidIcon2(props, ref) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Icon.Icon, {
|
|
12
|
+
"data-testid": "ScalesSolidIcon",
|
|
13
|
+
"aria-label": "scales solid",
|
|
14
|
+
viewBox: "0 0 12 12",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
19
|
+
d: "M6 9a1.5 1.5 0 0 0 .5-2.915V7.5h-1V6.085A1.5 1.5 0 0 0 6 9Z"
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
d: "M5.5 2H2V1h8v1H6.5v1H11l1 9H0l1-9h4.5V2Zm.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",
|
|
24
|
+
clipRule: "evenodd"
|
|
25
|
+
})
|
|
26
|
+
]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
exports.ScalesSolidIcon = ScalesSolidIcon;
|
|
32
|
+
//# sourceMappingURL=ScalesSolid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalesSolid.js","sources":["../src/components/ScalesSolid.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type ScalesSolidIconProps = IconProps;\n\nexport const ScalesSolidIcon = forwardRef<SVGSVGElement, ScalesSolidIconProps>(\n function ScalesSolidIcon(props: ScalesSolidIconProps, ref) {\n return (\n <Icon\n data-testid=\"ScalesSolidIcon\"\n aria-label=\"scales solid\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path d=\"M6 9a1.5 1.5 0 0 0 .5-2.915V7.5h-1V6.085A1.5 1.5 0 0 0 6 9Z\" />\n <path\n fillRule=\"evenodd\"\n d=\"M5.5 2H2V1h8v1H6.5v1H11l1 9H0l1-9h4.5V2Zm.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["forwardRef","ScalesSolidIcon","jsxs","Icon","jsx"],"mappings":";;;;;;;;AAOO,MAAM,eAAkB,GAAAA,gBAAA;AAAA,EAC7B,SAASC,gBAAgB,CAAA,KAAA,EAA6B,GAAK,EAAA;AACzD,IAAA,uBACGC,eAAA,CAAAC,SAAA,EAAA;AAAA,MACC,aAAY,EAAA,iBAAA;AAAA,MACZ,YAAW,EAAA,cAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAACC,cAAA,CAAA,MAAA,EAAA;AAAA,UAAK,CAAE,EAAA,6DAAA;AAAA,SAA8D,CAAA;AAAA,wBACrEA,cAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,oFAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,OAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var Icon = require('../icon/Icon.js');
|
|
8
|
+
|
|
9
|
+
const SortAscendIcon = react.forwardRef(
|
|
10
|
+
function SortAscendIcon2(props, ref) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, {
|
|
12
|
+
"data-testid": "SortAscendIcon",
|
|
13
|
+
"aria-label": "sort ascend",
|
|
14
|
+
viewBox: "0 0 12 12",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
18
|
+
d: "M8.008 2.904v8.105h1v-8.09L10.6 4.51l.708-.707L8.5 1 5.7 3.794l.708.707 1.6-1.597ZM0 1h3v2H0V1Zm0 4h4v2H0V5Zm0 6V9h6v2H0Z"
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
exports.SortAscendIcon = SortAscendIcon;
|
|
25
|
+
//# sourceMappingURL=SortAscend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortAscend.js","sources":["../src/components/SortAscend.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type SortAscendIconProps = IconProps;\n\nexport const SortAscendIcon = forwardRef<SVGSVGElement, SortAscendIconProps>(\n function SortAscendIcon(props: SortAscendIconProps, ref) {\n return (\n <Icon\n data-testid=\"SortAscendIcon\"\n aria-label=\"sort ascend\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path d=\"M8.008 2.904v8.105h1v-8.09L10.6 4.51l.708-.707L8.5 1 5.7 3.794l.708.707 1.6-1.597ZM0 1h3v2H0V1Zm0 4h4v2H0V5Zm0 6V9h6v2H0Z\" />\n </Icon>\n );\n }\n);\n"],"names":["forwardRef","SortAscendIcon","jsx","Icon"],"mappings":";;;;;;;;AAOO,MAAM,cAAiB,GAAAA,gBAAA;AAAA,EAC5B,SAASC,eAAe,CAAA,KAAA,EAA4B,GAAK,EAAA;AACvD,IAAA,uBACGC,cAAA,CAAAC,SAAA,EAAA;AAAA,MACC,aAAY,EAAA,gBAAA;AAAA,MACZ,YAAW,EAAA,aAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAC,kBAAAD,cAAA,CAAA,MAAA,EAAA;AAAA,QAAK,CAAE,EAAA,2HAAA;AAAA,OAA4H,CAAA;AAAA,KACtI,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var Icon = require('../icon/Icon.js');
|
|
8
|
+
|
|
9
|
+
const SortDescendIcon = react.forwardRef(
|
|
10
|
+
function SortDescendIcon2(props, ref) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, {
|
|
12
|
+
"data-testid": "SortDescendIcon",
|
|
13
|
+
"aria-label": "sort descend",
|
|
14
|
+
viewBox: "0 0 12 12",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
18
|
+
d: "M0 3V1h6v2H0Zm0 4h4V5H0v2Zm0 4h3V9H0v2Zm9-1.895V1H8v8.089L6.408 7.5l-.708.706 2.808 2.803 2.8-2.795-.708-.706L9 9.105Z"
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
exports.SortDescendIcon = SortDescendIcon;
|
|
25
|
+
//# sourceMappingURL=SortDescend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortDescend.js","sources":["../src/components/SortDescend.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type SortDescendIconProps = IconProps;\n\nexport const SortDescendIcon = forwardRef<SVGSVGElement, SortDescendIconProps>(\n function SortDescendIcon(props: SortDescendIconProps, ref) {\n return (\n <Icon\n data-testid=\"SortDescendIcon\"\n aria-label=\"sort descend\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path d=\"M0 3V1h6v2H0Zm0 4h4V5H0v2Zm0 4h3V9H0v2Zm9-1.895V1H8v8.089L6.408 7.5l-.708.706 2.808 2.803 2.8-2.795-.708-.706L9 9.105Z\" />\n </Icon>\n );\n }\n);\n"],"names":["forwardRef","SortDescendIcon","jsx","Icon"],"mappings":";;;;;;;;AAOO,MAAM,eAAkB,GAAAA,gBAAA;AAAA,EAC7B,SAASC,gBAAgB,CAAA,KAAA,EAA6B,GAAK,EAAA;AACzD,IAAA,uBACGC,cAAA,CAAAC,SAAA,EAAA;AAAA,MACC,aAAY,EAAA,iBAAA;AAAA,MACZ,YAAW,EAAA,cAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAC,kBAAAD,cAAA,CAAA,MAAA,EAAA;AAAA,QAAK,CAAE,EAAA,wHAAA;AAAA,OAAyH,CAAA;AAAA,KACnI,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var Icon = require('../icon/Icon.js');
|
|
8
|
+
|
|
9
|
+
const UngroupIcon = react.forwardRef(
|
|
10
|
+
function UngroupIcon2(props, ref) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Icon.Icon, {
|
|
12
|
+
"data-testid": "UngroupIcon",
|
|
13
|
+
"aria-label": "ungroup",
|
|
14
|
+
viewBox: "0 0 12 12",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
19
|
+
fillRule: "evenodd",
|
|
20
|
+
d: "M0 6V0h6v6H0Zm1-5h4v4H1V1Zm5 5h6v6H6V6Zm1 1h4v4H7V7Z",
|
|
21
|
+
clipRule: "evenodd"
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
24
|
+
d: "M1 7h1v3h3v1H1V7Zm9-2h1V1H7v1h3v3Z"
|
|
25
|
+
})
|
|
26
|
+
]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
exports.UngroupIcon = UngroupIcon;
|
|
32
|
+
//# sourceMappingURL=Ungroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ungroup.js","sources":["../src/components/Ungroup.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type UngroupIconProps = IconProps;\n\nexport const UngroupIcon = forwardRef<SVGSVGElement, UngroupIconProps>(\n function UngroupIcon(props: UngroupIconProps, ref) {\n return (\n <Icon\n data-testid=\"UngroupIcon\"\n aria-label=\"ungroup\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M0 6V0h6v6H0Zm1-5h4v4H1V1Zm5 5h6v6H6V6Zm1 1h4v4H7V7Z\"\n clipRule=\"evenodd\"\n />\n <path d=\"M1 7h1v3h3v1H1V7Zm9-2h1V1H7v1h3v3Z\" />\n </Icon>\n );\n }\n);\n"],"names":["forwardRef","UngroupIcon","jsxs","Icon","jsx"],"mappings":";;;;;;;;AAOO,MAAM,WAAc,GAAAA,gBAAA;AAAA,EACzB,SAASC,YAAY,CAAA,KAAA,EAAyB,GAAK,EAAA;AACjD,IAAA,uBACGC,eAAA,CAAAC,SAAA,EAAA;AAAA,MACC,aAAY,EAAA,aAAA;AAAA,MACZ,YAAW,EAAA,SAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAACC,cAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,sDAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,wBACCA,cAAA,CAAA,MAAA,EAAA;AAAA,UAAK,CAAE,EAAA,oCAAA;AAAA,SAAqC,CAAA;AAAA,OAAA;AAAA,KAC/C,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var Icon = require('../icon/Icon.js');
|
|
8
|
+
|
|
9
|
+
const UngroupSolidIcon = react.forwardRef(function UngroupSolidIcon2(props, ref) {
|
|
10
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, {
|
|
11
|
+
"data-testid": "UngroupSolidIcon",
|
|
12
|
+
"aria-label": "ungroup solid",
|
|
13
|
+
viewBox: "0 0 12 12",
|
|
14
|
+
ref,
|
|
15
|
+
...props,
|
|
16
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
17
|
+
d: "M0 0h6v6H0V0Zm6 6h6v6H6V6ZM1 7h1v3h3v1H1V7Zm9-2h1V1H7v1h3v3Z"
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
exports.UngroupSolidIcon = UngroupSolidIcon;
|
|
23
|
+
//# sourceMappingURL=UngroupSolid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UngroupSolid.js","sources":["../src/components/UngroupSolid.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type UngroupSolidIconProps = IconProps;\n\nexport const UngroupSolidIcon = forwardRef<\n SVGSVGElement,\n UngroupSolidIconProps\n>(function UngroupSolidIcon(props: UngroupSolidIconProps, ref) {\n return (\n <Icon\n data-testid=\"UngroupSolidIcon\"\n aria-label=\"ungroup solid\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path d=\"M0 0h6v6H0V0Zm6 6h6v6H6V6ZM1 7h1v3h3v1H1V7Zm9-2h1V1H7v1h3v3Z\" />\n </Icon>\n );\n});\n"],"names":["forwardRef","UngroupSolidIcon","jsx","Icon"],"mappings":";;;;;;;;AAOO,MAAM,gBAAmB,GAAAA,gBAAA,CAG9B,SAASC,iBAAAA,CAAiB,OAA8B,GAAK,EAAA;AAC7D,EAAA,uBACGC,cAAA,CAAAC,SAAA,EAAA;AAAA,IACC,aAAY,EAAA,kBAAA;AAAA,IACZ,YAAW,EAAA,eAAA;AAAA,IACX,OAAQ,EAAA,WAAA;AAAA,IACR,GAAA;AAAA,IACC,GAAG,KAAA;AAAA,IAEJ,QAAC,kBAAAD,cAAA,CAAA,MAAA,EAAA;AAAA,MAAK,CAAE,EAAA,8DAAA;AAAA,KAA+D,CAAA;AAAA,GACzE,CAAA,CAAA;AAEJ,CAAC;;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var Icon = require('../icon/Icon.js');
|
|
8
|
+
|
|
9
|
+
const WeightIcon = react.forwardRef(
|
|
10
|
+
function WeightIcon2(props, ref) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, {
|
|
12
|
+
"data-testid": "WeightIcon",
|
|
13
|
+
"aria-label": "weight",
|
|
14
|
+
viewBox: "0 0 12 12",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
d: "M8 4a2.5 2.5 0 1 0-4 0H2l-2 8h12l-2-8H8Zm-.5-1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM2.78 5l-1.5 6h9.44l-1.5-6H2.78Z",
|
|
20
|
+
clipRule: "evenodd"
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
exports.WeightIcon = WeightIcon;
|
|
27
|
+
//# sourceMappingURL=Weight.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Weight.js","sources":["../src/components/Weight.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type WeightIconProps = IconProps;\n\nexport const WeightIcon = forwardRef<SVGSVGElement, WeightIconProps>(\n function WeightIcon(props: WeightIconProps, ref) {\n return (\n <Icon\n data-testid=\"WeightIcon\"\n aria-label=\"weight\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M8 4a2.5 2.5 0 1 0-4 0H2l-2 8h12l-2-8H8Zm-.5-1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM2.78 5l-1.5 6h9.44l-1.5-6H2.78Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["forwardRef","WeightIcon","jsx","Icon"],"mappings":";;;;;;;;AAOO,MAAM,UAAa,GAAAA,gBAAA;AAAA,EACxB,SAASC,WAAW,CAAA,KAAA,EAAwB,GAAK,EAAA;AAC/C,IAAA,uBACGC,cAAA,CAAAC,SAAA,EAAA;AAAA,MACC,aAAY,EAAA,YAAA;AAAA,MACZ,YAAW,EAAA,QAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAC,kBAAAD,cAAA,CAAA,MAAA,EAAA;AAAA,QACC,QAAS,EAAA,SAAA;AAAA,QACT,CAAE,EAAA,uHAAA;AAAA,QACF,QAAS,EAAA,SAAA;AAAA,OACX,CAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var react = require('react');
|
|
7
|
+
var Icon = require('../icon/Icon.js');
|
|
8
|
+
|
|
9
|
+
const WeightSolidIcon = react.forwardRef(
|
|
10
|
+
function WeightSolidIcon2(props, ref) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, {
|
|
12
|
+
"data-testid": "WeightSolidIcon",
|
|
13
|
+
"aria-label": "weight solid",
|
|
14
|
+
viewBox: "0 0 12 12",
|
|
15
|
+
ref,
|
|
16
|
+
...props,
|
|
17
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
d: "M8 4a2.5 2.5 0 1 0-4 0H2l-2 8h12l-2-8H8Zm-.5-1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z",
|
|
20
|
+
clipRule: "evenodd"
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
exports.WeightSolidIcon = WeightSolidIcon;
|
|
27
|
+
//# sourceMappingURL=WeightSolid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WeightSolid.js","sources":["../src/components/WeightSolid.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type WeightSolidIconProps = IconProps;\n\nexport const WeightSolidIcon = forwardRef<SVGSVGElement, WeightSolidIconProps>(\n function WeightSolidIcon(props: WeightSolidIconProps, ref) {\n return (\n <Icon\n data-testid=\"WeightSolidIcon\"\n aria-label=\"weight solid\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M8 4a2.5 2.5 0 1 0-4 0H2l-2 8h12l-2-8H8Zm-.5-1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["forwardRef","WeightSolidIcon","jsx","Icon"],"mappings":";;;;;;;;AAOO,MAAM,eAAkB,GAAAA,gBAAA;AAAA,EAC7B,SAASC,gBAAgB,CAAA,KAAA,EAA6B,GAAK,EAAA;AACzD,IAAA,uBACGC,cAAA,CAAAC,SAAA,EAAA;AAAA,MACC,aAAY,EAAA,iBAAA;AAAA,MACZ,YAAW,EAAA,cAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAC,kBAAAD,cAAA,CAAA,MAAA,EAAA;AAAA,QACC,QAAS,EAAA,SAAA;AAAA,QACT,CAAE,EAAA,uFAAA;AAAA,QACF,QAAS,EAAA,SAAA;AAAA,OACX,CAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var css_248z = "/* Style applied to the root element */\n.saltIcon {\n --icon-color:
|
|
3
|
+
var css_248z = "/* Style applied to the root element */\n.saltIcon {\n --icon-color: currentColor;\n --icon-size-multiplier: var(--saltIcon-size-multiplier, 1);\n --icon-base-size: var(--salt-icon-size-base, 12px);\n /**\n * Icon size will be the multiplier (an integer from the size prop) * the base size (set by the theme per density)\n * Icons should never be smaller than 12px for readability so we've added a max() to enforce this\n * Consumers can use --saltIcon-size variable to override this rule as an escape hatch\n */\n --icon-size: var(--saltIcon-size, max(calc(var(--icon-base-size) * var(--icon-size-multiplier)), 12px));\n}\n\n.saltIcon {\n fill: var(--saltIcon-color, var(--icon-color));\n display: inline-block;\n margin: var(--saltIcon-margin, 0);\n position: relative;\n width: var(--icon-size);\n height: var(--icon-size);\n min-width: var(--icon-size);\n min-height: var(--icon-size);\n}\n\n.saltIcon-primary {\n --icon-color: var(--salt-text-primary-foreground);\n}\n\n.saltIcon-secondary {\n --icon-color: var(--salt-text-secondary-foreground);\n}\n";
|
|
4
4
|
|
|
5
5
|
module.exports = css_248z;
|
|
6
6
|
//# sourceMappingURL=Icon.css.js.map
|
package/dist-cjs/icon/Icon.js
CHANGED
|
@@ -12,7 +12,14 @@ var Icon$1 = require('./Icon.css.js');
|
|
|
12
12
|
const makePrefixer = (prefix) => (...names) => [prefix, ...names].join("-");
|
|
13
13
|
const withBaseName = makePrefixer("saltIcon");
|
|
14
14
|
const DEFAULT_ICON_SIZE = 1;
|
|
15
|
-
const Icon = react.forwardRef(function Icon2({
|
|
15
|
+
const Icon = react.forwardRef(function Icon2({
|
|
16
|
+
children,
|
|
17
|
+
className,
|
|
18
|
+
color = "inherit",
|
|
19
|
+
size = DEFAULT_ICON_SIZE,
|
|
20
|
+
style: styleProp,
|
|
21
|
+
...rest
|
|
22
|
+
}, ref) {
|
|
16
23
|
const targetWindow = window.useWindow();
|
|
17
24
|
styles.useComponentCssInjection({
|
|
18
25
|
testId: "salt-icon",
|
|
@@ -24,7 +31,11 @@ const Icon = react.forwardRef(function Icon2({ children, className, size = DEFAU
|
|
|
24
31
|
"--saltIcon-size-multiplier": `${size}`
|
|
25
32
|
};
|
|
26
33
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
27
|
-
className: clsx.clsx(
|
|
34
|
+
className: clsx.clsx(
|
|
35
|
+
withBaseName(),
|
|
36
|
+
{ [withBaseName(color)]: color !== "inherit" },
|
|
37
|
+
className
|
|
38
|
+
),
|
|
28
39
|
style,
|
|
29
40
|
role: "img",
|
|
30
41
|
...rest,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sources":["../src/icon/Icon.tsx"],"sourcesContent":["import { forwardRef, SVGAttributes } from \"react\";\nimport { clsx } from \"clsx\";\n\nimport { useWindow } from \"@salt-ds/window\";\nimport { useComponentCssInjection } from \"@salt-ds/styles\";\n\nimport iconCss from \"./Icon.css\";\n// Duplicate from core/util to avoid circular dependency\nexport const makePrefixer =\n (prefix: string): ((...names: string[]) => string) =>\n (...names: string[]): string =>\n [prefix, ...names].join(\"-\");\n\nconst withBaseName = makePrefixer(\"saltIcon\");\n\nexport interface IconProps extends SVGAttributes<SVGSVGElement> {\n /**\n * Multiplier for the base icon size. Should be a positive integer to conform to the rest of the design system.\n */\n size?: number;\n}\n\nexport const DEFAULT_ICON_SIZE = 1;\n\nexport const Icon = forwardRef<SVGSVGElement, IconProps>(function Icon(\n {
|
|
1
|
+
{"version":3,"file":"Icon.js","sources":["../src/icon/Icon.tsx"],"sourcesContent":["import { forwardRef, SVGAttributes } from \"react\";\nimport { clsx } from \"clsx\";\n\nimport { useWindow } from \"@salt-ds/window\";\nimport { useComponentCssInjection } from \"@salt-ds/styles\";\n\nimport iconCss from \"./Icon.css\";\n// Duplicate from core/util to avoid circular dependency\nexport const makePrefixer =\n (prefix: string): ((...names: string[]) => string) =>\n (...names: string[]): string =>\n [prefix, ...names].join(\"-\");\n\nconst withBaseName = makePrefixer(\"saltIcon\");\n\nexport interface IconProps extends SVGAttributes<SVGSVGElement> {\n /*\n * The color of the icon. Defaults to \"inherit\".\n */\n color?: \"inherit\" | \"primary\" | \"secondary\";\n /**\n * Multiplier for the base icon size. Should be a positive integer to conform to the rest of the design system.\n */\n size?: number;\n}\n\nexport const DEFAULT_ICON_SIZE = 1;\n\nexport const Icon = forwardRef<SVGSVGElement, IconProps>(function Icon(\n {\n children,\n className,\n color = \"inherit\",\n size = DEFAULT_ICON_SIZE,\n style: styleProp,\n ...rest\n },\n ref\n) {\n const targetWindow = useWindow();\n useComponentCssInjection({\n testId: \"salt-icon\",\n css: iconCss,\n window: targetWindow,\n });\n\n const style = {\n ...styleProp,\n \"--saltIcon-size-multiplier\": `${size}`,\n };\n\n return (\n <svg\n className={clsx(\n withBaseName(),\n { [withBaseName(color)]: color !== \"inherit\" },\n className\n )}\n style={style}\n role=\"img\"\n {...rest}\n ref={ref}\n >\n <g aria-hidden>{children}</g>\n </svg>\n );\n});\n"],"names":["forwardRef","Icon","useWindow","useComponentCssInjection","iconCss","jsx","clsx"],"mappings":";;;;;;;;;;;AAQa,MAAA,YAAA,GACX,CAAC,MAAA,KACD,CAAI,GAAA,KAAA,KACF,CAAC,MAAA,EAAQ,GAAG,KAAK,CAAE,CAAA,IAAA,CAAK,GAAG,EAAA;AAE/B,MAAM,YAAA,GAAe,aAAa,UAAU,CAAA,CAAA;AAarC,MAAM,iBAAoB,GAAA,EAAA;AAEpB,MAAA,IAAA,GAAOA,gBAAqC,CAAA,SAASC,KAChE,CAAA;AAAA,EACE,QAAA;AAAA,EACA,SAAA;AAAA,EACA,KAAQ,GAAA,SAAA;AAAA,EACR,IAAO,GAAA,iBAAA;AAAA,EACP,KAAO,EAAA,SAAA;AAAA,EACJ,GAAA,IAAA;AACL,CAAA,EACA,GACA,EAAA;AACA,EAAA,MAAM,eAAeC,gBAAU,EAAA,CAAA;AAC/B,EAAyBC,+BAAA,CAAA;AAAA,IACvB,MAAQ,EAAA,WAAA;AAAA,IACR,GAAK,EAAAC,MAAA;AAAA,IACL,MAAQ,EAAA,YAAA;AAAA,GACT,CAAA,CAAA;AAED,EAAA,MAAM,KAAQ,GAAA;AAAA,IACZ,GAAG,SAAA;AAAA,IACH,8BAA8B,CAAG,EAAA,IAAA,CAAA,CAAA;AAAA,GACnC,CAAA;AAEA,EAAA,uBACGC,cAAA,CAAA,KAAA,EAAA;AAAA,IACC,SAAW,EAAAC,SAAA;AAAA,MACT,YAAa,EAAA;AAAA,MACb,EAAE,CAAC,YAAA,CAAa,KAAK,CAAA,GAAI,UAAU,SAAU,EAAA;AAAA,MAC7C,SAAA;AAAA,KACF;AAAA,IACA,KAAA;AAAA,IACA,IAAK,EAAA,KAAA;AAAA,IACJ,GAAG,IAAA;AAAA,IACJ,GAAA;AAAA,IAEA,QAAC,kBAAAD,cAAA,CAAA,GAAA,EAAA;AAAA,MAAE,aAAW,EAAA,IAAA;AAAA,MAAE,QAAA;AAAA,KAAS,CAAA;AAAA,GAC3B,CAAA,CAAA;AAEJ,CAAC;;;;;;"}
|
package/dist-cjs/index.js
CHANGED
|
@@ -130,6 +130,8 @@ var Globe = require('./components/Globe.js');
|
|
|
130
130
|
var GlobeSolid = require('./components/GlobeSolid.js');
|
|
131
131
|
var Grid = require('./components/Grid.js');
|
|
132
132
|
var GridSolid = require('./components/GridSolid.js');
|
|
133
|
+
var Group = require('./components/Group.js');
|
|
134
|
+
var GroupSolid = require('./components/GroupSolid.js');
|
|
133
135
|
var GuideClosed = require('./components/GuideClosed.js');
|
|
134
136
|
var GuideClosedSolid = require('./components/GuideClosedSolid.js');
|
|
135
137
|
var GuideOpen = require('./components/GuideOpen.js');
|
|
@@ -253,6 +255,8 @@ var SaltShaker = require('./components/SaltShaker.js');
|
|
|
253
255
|
var SaltShakerSolid = require('./components/SaltShakerSolid.js');
|
|
254
256
|
var Save = require('./components/Save.js');
|
|
255
257
|
var SaveSolid = require('./components/SaveSolid.js');
|
|
258
|
+
var Scales = require('./components/Scales.js');
|
|
259
|
+
var ScalesSolid = require('./components/ScalesSolid.js');
|
|
256
260
|
var ScheduleTime = require('./components/ScheduleTime.js');
|
|
257
261
|
var ScheduleTimeSolid = require('./components/ScheduleTimeSolid.js');
|
|
258
262
|
var Search = require('./components/Search.js');
|
|
@@ -269,6 +273,8 @@ var SortableAlpha = require('./components/SortableAlpha.js');
|
|
|
269
273
|
var SortableNum = require('./components/SortableNum.js');
|
|
270
274
|
var SortAlphaAscend = require('./components/SortAlphaAscend.js');
|
|
271
275
|
var SortAlphaDescend = require('./components/SortAlphaDescend.js');
|
|
276
|
+
var SortAscend = require('./components/SortAscend.js');
|
|
277
|
+
var SortDescend = require('./components/SortDescend.js');
|
|
272
278
|
var SortNumAscend = require('./components/SortNumAscend.js');
|
|
273
279
|
var SortNumDescend = require('./components/SortNumDescend.js');
|
|
274
280
|
var Stackoverflow = require('./components/Stackoverflow.js');
|
|
@@ -312,6 +318,8 @@ var TriangleRight = require('./components/TriangleRight.js');
|
|
|
312
318
|
var TriangleRightDown = require('./components/TriangleRightDown.js');
|
|
313
319
|
var TriangleUp = require('./components/TriangleUp.js');
|
|
314
320
|
var Undo = require('./components/Undo.js');
|
|
321
|
+
var Ungroup = require('./components/Ungroup.js');
|
|
322
|
+
var UngroupSolid = require('./components/UngroupSolid.js');
|
|
315
323
|
var UniversalAccess = require('./components/UniversalAccess.js');
|
|
316
324
|
var UniversalAccessSolid = require('./components/UniversalAccessSolid.js');
|
|
317
325
|
var Unlinked = require('./components/Unlinked.js');
|
|
@@ -344,6 +352,8 @@ var Warning = require('./components/Warning.js');
|
|
|
344
352
|
var WarningSolid = require('./components/WarningSolid.js');
|
|
345
353
|
var Watch = require('./components/Watch.js');
|
|
346
354
|
var WatchSolid = require('./components/WatchSolid.js');
|
|
355
|
+
var Weight = require('./components/Weight.js');
|
|
356
|
+
var WeightSolid = require('./components/WeightSolid.js');
|
|
347
357
|
var Woman = require('./components/Woman.js');
|
|
348
358
|
var WomanSolid = require('./components/WomanSolid.js');
|
|
349
359
|
var Woodland = require('./components/Woodland.js');
|
|
@@ -485,6 +495,8 @@ exports.GlobeIcon = Globe.GlobeIcon;
|
|
|
485
495
|
exports.GlobeSolidIcon = GlobeSolid.GlobeSolidIcon;
|
|
486
496
|
exports.GridIcon = Grid.GridIcon;
|
|
487
497
|
exports.GridSolidIcon = GridSolid.GridSolidIcon;
|
|
498
|
+
exports.GroupIcon = Group.GroupIcon;
|
|
499
|
+
exports.GroupSolidIcon = GroupSolid.GroupSolidIcon;
|
|
488
500
|
exports.GuideClosedIcon = GuideClosed.GuideClosedIcon;
|
|
489
501
|
exports.GuideClosedSolidIcon = GuideClosedSolid.GuideClosedSolidIcon;
|
|
490
502
|
exports.GuideOpenIcon = GuideOpen.GuideOpenIcon;
|
|
@@ -608,6 +620,8 @@ exports.SaltShakerIcon = SaltShaker.SaltShakerIcon;
|
|
|
608
620
|
exports.SaltShakerSolidIcon = SaltShakerSolid.SaltShakerSolidIcon;
|
|
609
621
|
exports.SaveIcon = Save.SaveIcon;
|
|
610
622
|
exports.SaveSolidIcon = SaveSolid.SaveSolidIcon;
|
|
623
|
+
exports.ScalesIcon = Scales.ScalesIcon;
|
|
624
|
+
exports.ScalesSolidIcon = ScalesSolid.ScalesSolidIcon;
|
|
611
625
|
exports.ScheduleTimeIcon = ScheduleTime.ScheduleTimeIcon;
|
|
612
626
|
exports.ScheduleTimeSolidIcon = ScheduleTimeSolid.ScheduleTimeSolidIcon;
|
|
613
627
|
exports.SearchIcon = Search.SearchIcon;
|
|
@@ -624,6 +638,8 @@ exports.SortableAlphaIcon = SortableAlpha.SortableAlphaIcon;
|
|
|
624
638
|
exports.SortableNumIcon = SortableNum.SortableNumIcon;
|
|
625
639
|
exports.SortAlphaAscendIcon = SortAlphaAscend.SortAlphaAscendIcon;
|
|
626
640
|
exports.SortAlphaDescendIcon = SortAlphaDescend.SortAlphaDescendIcon;
|
|
641
|
+
exports.SortAscendIcon = SortAscend.SortAscendIcon;
|
|
642
|
+
exports.SortDescendIcon = SortDescend.SortDescendIcon;
|
|
627
643
|
exports.SortNumAscendIcon = SortNumAscend.SortNumAscendIcon;
|
|
628
644
|
exports.SortNumDescendIcon = SortNumDescend.SortNumDescendIcon;
|
|
629
645
|
exports.StackoverflowIcon = Stackoverflow.StackoverflowIcon;
|
|
@@ -667,6 +683,8 @@ exports.TriangleRightIcon = TriangleRight.TriangleRightIcon;
|
|
|
667
683
|
exports.TriangleRightDownIcon = TriangleRightDown.TriangleRightDownIcon;
|
|
668
684
|
exports.TriangleUpIcon = TriangleUp.TriangleUpIcon;
|
|
669
685
|
exports.UndoIcon = Undo.UndoIcon;
|
|
686
|
+
exports.UngroupIcon = Ungroup.UngroupIcon;
|
|
687
|
+
exports.UngroupSolidIcon = UngroupSolid.UngroupSolidIcon;
|
|
670
688
|
exports.UniversalAccessIcon = UniversalAccess.UniversalAccessIcon;
|
|
671
689
|
exports.UniversalAccessSolidIcon = UniversalAccessSolid.UniversalAccessSolidIcon;
|
|
672
690
|
exports.UnlinkedIcon = Unlinked.UnlinkedIcon;
|
|
@@ -699,6 +717,8 @@ exports.WarningIcon = Warning.WarningIcon;
|
|
|
699
717
|
exports.WarningSolidIcon = WarningSolid.WarningSolidIcon;
|
|
700
718
|
exports.WatchIcon = Watch.WatchIcon;
|
|
701
719
|
exports.WatchSolidIcon = WatchSolid.WatchSolidIcon;
|
|
720
|
+
exports.WeightIcon = Weight.WeightIcon;
|
|
721
|
+
exports.WeightSolidIcon = WeightSolid.WeightSolidIcon;
|
|
702
722
|
exports.WomanIcon = Woman.WomanIcon;
|
|
703
723
|
exports.WomanSolidIcon = WomanSolid.WomanSolidIcon;
|
|
704
724
|
exports.WoodlandIcon = Woodland.WoodlandIcon;
|
package/dist-cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Icon } from '../icon/Icon.js';
|
|
4
|
+
|
|
5
|
+
const GroupIcon = forwardRef(
|
|
6
|
+
function GroupIcon2(props, ref) {
|
|
7
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
8
|
+
"data-testid": "GroupIcon",
|
|
9
|
+
"aria-label": "group",
|
|
10
|
+
viewBox: "0 0 12 12",
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ jsx("path", {
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
d: "M8 4V2H2v6h2v2h6V4H8ZM7 3H3v4h1V4h3V3ZM5 5v4h4V5H5Z",
|
|
17
|
+
clipRule: "evenodd"
|
|
18
|
+
}),
|
|
19
|
+
/* @__PURE__ */ jsx("path", {
|
|
20
|
+
fillRule: "evenodd",
|
|
21
|
+
d: "M0 0v12h12V0H0Zm11 1H1v10h10V1Z",
|
|
22
|
+
clipRule: "evenodd"
|
|
23
|
+
})
|
|
24
|
+
]
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
export { GroupIcon };
|
|
30
|
+
//# sourceMappingURL=Group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Group.js","sources":["../src/components/Group.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type GroupIconProps = IconProps;\n\nexport const GroupIcon = forwardRef<SVGSVGElement, GroupIconProps>(\n function GroupIcon(props: GroupIconProps, ref) {\n return (\n <Icon\n data-testid=\"GroupIcon\"\n aria-label=\"group\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M8 4V2H2v6h2v2h6V4H8ZM7 3H3v4h1V4h3V3ZM5 5v4h4V5H5Z\"\n clipRule=\"evenodd\"\n />\n <path\n fillRule=\"evenodd\"\n d=\"M0 0v12h12V0H0Zm11 1H1v10h10V1Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["GroupIcon"],"mappings":";;;;AAOO,MAAM,SAAY,GAAA,UAAA;AAAA,EACvB,SAASA,UAAU,CAAA,KAAA,EAAuB,GAAK,EAAA;AAC7C,IAAA,uBACG,IAAA,CAAA,IAAA,EAAA;AAAA,MACC,aAAY,EAAA,WAAA;AAAA,MACZ,YAAW,EAAA,OAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAC,GAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,qDAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,wBACC,GAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,iCAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,OAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Icon } from '../icon/Icon.js';
|
|
4
|
+
|
|
5
|
+
const GroupSolidIcon = forwardRef(
|
|
6
|
+
function GroupSolidIcon2(props, ref) {
|
|
7
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
8
|
+
"data-testid": "GroupSolidIcon",
|
|
9
|
+
"aria-label": "group solid",
|
|
10
|
+
viewBox: "0 0 12 12",
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ jsx("path", {
|
|
15
|
+
d: "M3 3v5H2V2h6v1H3Z"
|
|
16
|
+
}),
|
|
17
|
+
/* @__PURE__ */ jsx("path", {
|
|
18
|
+
d: "M4 10V4h6v6H4Z"
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ jsx("path", {
|
|
21
|
+
fillRule: "evenodd",
|
|
22
|
+
d: "M0 0v12h12V0H0Zm11 1H1v10h10V1Z",
|
|
23
|
+
clipRule: "evenodd"
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
export { GroupSolidIcon };
|
|
31
|
+
//# sourceMappingURL=GroupSolid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupSolid.js","sources":["../src/components/GroupSolid.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type GroupSolidIconProps = IconProps;\n\nexport const GroupSolidIcon = forwardRef<SVGSVGElement, GroupSolidIconProps>(\n function GroupSolidIcon(props: GroupSolidIconProps, ref) {\n return (\n <Icon\n data-testid=\"GroupSolidIcon\"\n aria-label=\"group solid\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path d=\"M3 3v5H2V2h6v1H3Z\" />\n <path d=\"M4 10V4h6v6H4Z\" />\n <path\n fillRule=\"evenodd\"\n d=\"M0 0v12h12V0H0Zm11 1H1v10h10V1Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["GroupSolidIcon"],"mappings":";;;;AAOO,MAAM,cAAiB,GAAA,UAAA;AAAA,EAC5B,SAASA,eAAe,CAAA,KAAA,EAA4B,GAAK,EAAA;AACvD,IAAA,uBACG,IAAA,CAAA,IAAA,EAAA;AAAA,MACC,aAAY,EAAA,gBAAA;AAAA,MACZ,YAAW,EAAA,aAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAC,GAAA,CAAA,MAAA,EAAA;AAAA,UAAK,CAAE,EAAA,mBAAA;AAAA,SAAoB,CAAA;AAAA,wBAC3B,GAAA,CAAA,MAAA,EAAA;AAAA,UAAK,CAAE,EAAA,gBAAA;AAAA,SAAiB,CAAA;AAAA,wBACxB,GAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,iCAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,OAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Icon } from '../icon/Icon.js';
|
|
4
|
+
|
|
5
|
+
const ScalesIcon = forwardRef(
|
|
6
|
+
function ScalesIcon2(props, ref) {
|
|
7
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
8
|
+
"data-testid": "ScalesIcon",
|
|
9
|
+
"aria-label": "scales",
|
|
10
|
+
viewBox: "0 0 12 12",
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ jsx("path", {
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
d: "M6 10a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-1a1.5 1.5 0 0 0 .5-2.915V7.5h-1V6.085A1.5 1.5 0 0 0 6 9Z",
|
|
17
|
+
clipRule: "evenodd"
|
|
18
|
+
}),
|
|
19
|
+
/* @__PURE__ */ jsx("path", {
|
|
20
|
+
fillRule: "evenodd",
|
|
21
|
+
d: "M2 2h3.5v1H1l-1 9h12l-1-9H6.5V2H10V1H2v1Zm-.105 2h8.21l.778 7H1.117l.778-7Z",
|
|
22
|
+
clipRule: "evenodd"
|
|
23
|
+
})
|
|
24
|
+
]
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
export { ScalesIcon };
|
|
30
|
+
//# sourceMappingURL=Scales.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scales.js","sources":["../src/components/Scales.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type ScalesIconProps = IconProps;\n\nexport const ScalesIcon = forwardRef<SVGSVGElement, ScalesIconProps>(\n function ScalesIcon(props: ScalesIconProps, ref) {\n return (\n <Icon\n data-testid=\"ScalesIcon\"\n aria-label=\"scales\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M6 10a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm0-1a1.5 1.5 0 0 0 .5-2.915V7.5h-1V6.085A1.5 1.5 0 0 0 6 9Z\"\n clipRule=\"evenodd\"\n />\n <path\n fillRule=\"evenodd\"\n d=\"M2 2h3.5v1H1l-1 9h12l-1-9H6.5V2H10V1H2v1Zm-.105 2h8.21l.778 7H1.117l.778-7Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["ScalesIcon"],"mappings":";;;;AAOO,MAAM,UAAa,GAAA,UAAA;AAAA,EACxB,SAASA,WAAW,CAAA,KAAA,EAAwB,GAAK,EAAA;AAC/C,IAAA,uBACG,IAAA,CAAA,IAAA,EAAA;AAAA,MACC,aAAY,EAAA,YAAA;AAAA,MACZ,YAAW,EAAA,QAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAC,GAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,uGAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,wBACC,GAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,6EAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,OAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Icon } from '../icon/Icon.js';
|
|
4
|
+
|
|
5
|
+
const ScalesSolidIcon = forwardRef(
|
|
6
|
+
function ScalesSolidIcon2(props, ref) {
|
|
7
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
8
|
+
"data-testid": "ScalesSolidIcon",
|
|
9
|
+
"aria-label": "scales solid",
|
|
10
|
+
viewBox: "0 0 12 12",
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ jsx("path", {
|
|
15
|
+
d: "M6 9a1.5 1.5 0 0 0 .5-2.915V7.5h-1V6.085A1.5 1.5 0 0 0 6 9Z"
|
|
16
|
+
}),
|
|
17
|
+
/* @__PURE__ */ jsx("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
d: "M5.5 2H2V1h8v1H6.5v1H11l1 9H0l1-9h4.5V2Zm.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",
|
|
20
|
+
clipRule: "evenodd"
|
|
21
|
+
})
|
|
22
|
+
]
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
export { ScalesSolidIcon };
|
|
28
|
+
//# sourceMappingURL=ScalesSolid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalesSolid.js","sources":["../src/components/ScalesSolid.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type ScalesSolidIconProps = IconProps;\n\nexport const ScalesSolidIcon = forwardRef<SVGSVGElement, ScalesSolidIconProps>(\n function ScalesSolidIcon(props: ScalesSolidIconProps, ref) {\n return (\n <Icon\n data-testid=\"ScalesSolidIcon\"\n aria-label=\"scales solid\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path d=\"M6 9a1.5 1.5 0 0 0 .5-2.915V7.5h-1V6.085A1.5 1.5 0 0 0 6 9Z\" />\n <path\n fillRule=\"evenodd\"\n d=\"M5.5 2H2V1h8v1H6.5v1H11l1 9H0l1-9h4.5V2Zm.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["ScalesSolidIcon"],"mappings":";;;;AAOO,MAAM,eAAkB,GAAA,UAAA;AAAA,EAC7B,SAASA,gBAAgB,CAAA,KAAA,EAA6B,GAAK,EAAA;AACzD,IAAA,uBACG,IAAA,CAAA,IAAA,EAAA;AAAA,MACC,aAAY,EAAA,iBAAA;AAAA,MACZ,YAAW,EAAA,cAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAC,GAAA,CAAA,MAAA,EAAA;AAAA,UAAK,CAAE,EAAA,6DAAA;AAAA,SAA8D,CAAA;AAAA,wBACrE,GAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,oFAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,OAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Icon } from '../icon/Icon.js';
|
|
4
|
+
|
|
5
|
+
const SortAscendIcon = forwardRef(
|
|
6
|
+
function SortAscendIcon2(props, ref) {
|
|
7
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
8
|
+
"data-testid": "SortAscendIcon",
|
|
9
|
+
"aria-label": "sort ascend",
|
|
10
|
+
viewBox: "0 0 12 12",
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
14
|
+
d: "M8.008 2.904v8.105h1v-8.09L10.6 4.51l.708-.707L8.5 1 5.7 3.794l.708.707 1.6-1.597ZM0 1h3v2H0V1Zm0 4h4v2H0V5Zm0 6V9h6v2H0Z"
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
export { SortAscendIcon };
|
|
21
|
+
//# sourceMappingURL=SortAscend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortAscend.js","sources":["../src/components/SortAscend.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type SortAscendIconProps = IconProps;\n\nexport const SortAscendIcon = forwardRef<SVGSVGElement, SortAscendIconProps>(\n function SortAscendIcon(props: SortAscendIconProps, ref) {\n return (\n <Icon\n data-testid=\"SortAscendIcon\"\n aria-label=\"sort ascend\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path d=\"M8.008 2.904v8.105h1v-8.09L10.6 4.51l.708-.707L8.5 1 5.7 3.794l.708.707 1.6-1.597ZM0 1h3v2H0V1Zm0 4h4v2H0V5Zm0 6V9h6v2H0Z\" />\n </Icon>\n );\n }\n);\n"],"names":["SortAscendIcon"],"mappings":";;;;AAOO,MAAM,cAAiB,GAAA,UAAA;AAAA,EAC5B,SAASA,eAAe,CAAA,KAAA,EAA4B,GAAK,EAAA;AACvD,IAAA,uBACG,GAAA,CAAA,IAAA,EAAA;AAAA,MACC,aAAY,EAAA,gBAAA;AAAA,MACZ,YAAW,EAAA,aAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAC,kBAAA,GAAA,CAAA,MAAA,EAAA;AAAA,QAAK,CAAE,EAAA,2HAAA;AAAA,OAA4H,CAAA;AAAA,KACtI,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Icon } from '../icon/Icon.js';
|
|
4
|
+
|
|
5
|
+
const SortDescendIcon = forwardRef(
|
|
6
|
+
function SortDescendIcon2(props, ref) {
|
|
7
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
8
|
+
"data-testid": "SortDescendIcon",
|
|
9
|
+
"aria-label": "sort descend",
|
|
10
|
+
viewBox: "0 0 12 12",
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
14
|
+
d: "M0 3V1h6v2H0Zm0 4h4V5H0v2Zm0 4h3V9H0v2Zm9-1.895V1H8v8.089L6.408 7.5l-.708.706 2.808 2.803 2.8-2.795-.708-.706L9 9.105Z"
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
export { SortDescendIcon };
|
|
21
|
+
//# sourceMappingURL=SortDescend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortDescend.js","sources":["../src/components/SortDescend.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type SortDescendIconProps = IconProps;\n\nexport const SortDescendIcon = forwardRef<SVGSVGElement, SortDescendIconProps>(\n function SortDescendIcon(props: SortDescendIconProps, ref) {\n return (\n <Icon\n data-testid=\"SortDescendIcon\"\n aria-label=\"sort descend\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path d=\"M0 3V1h6v2H0Zm0 4h4V5H0v2Zm0 4h3V9H0v2Zm9-1.895V1H8v8.089L6.408 7.5l-.708.706 2.808 2.803 2.8-2.795-.708-.706L9 9.105Z\" />\n </Icon>\n );\n }\n);\n"],"names":["SortDescendIcon"],"mappings":";;;;AAOO,MAAM,eAAkB,GAAA,UAAA;AAAA,EAC7B,SAASA,gBAAgB,CAAA,KAAA,EAA6B,GAAK,EAAA;AACzD,IAAA,uBACG,GAAA,CAAA,IAAA,EAAA;AAAA,MACC,aAAY,EAAA,iBAAA;AAAA,MACZ,YAAW,EAAA,cAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAC,kBAAA,GAAA,CAAA,MAAA,EAAA;AAAA,QAAK,CAAE,EAAA,wHAAA;AAAA,OAAyH,CAAA;AAAA,KACnI,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Icon } from '../icon/Icon.js';
|
|
4
|
+
|
|
5
|
+
const UngroupIcon = forwardRef(
|
|
6
|
+
function UngroupIcon2(props, ref) {
|
|
7
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
8
|
+
"data-testid": "UngroupIcon",
|
|
9
|
+
"aria-label": "ungroup",
|
|
10
|
+
viewBox: "0 0 12 12",
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ jsx("path", {
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
d: "M0 6V0h6v6H0Zm1-5h4v4H1V1Zm5 5h6v6H6V6Zm1 1h4v4H7V7Z",
|
|
17
|
+
clipRule: "evenodd"
|
|
18
|
+
}),
|
|
19
|
+
/* @__PURE__ */ jsx("path", {
|
|
20
|
+
d: "M1 7h1v3h3v1H1V7Zm9-2h1V1H7v1h3v3Z"
|
|
21
|
+
})
|
|
22
|
+
]
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
export { UngroupIcon };
|
|
28
|
+
//# sourceMappingURL=Ungroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ungroup.js","sources":["../src/components/Ungroup.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type UngroupIconProps = IconProps;\n\nexport const UngroupIcon = forwardRef<SVGSVGElement, UngroupIconProps>(\n function UngroupIcon(props: UngroupIconProps, ref) {\n return (\n <Icon\n data-testid=\"UngroupIcon\"\n aria-label=\"ungroup\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M0 6V0h6v6H0Zm1-5h4v4H1V1Zm5 5h6v6H6V6Zm1 1h4v4H7V7Z\"\n clipRule=\"evenodd\"\n />\n <path d=\"M1 7h1v3h3v1H1V7Zm9-2h1V1H7v1h3v3Z\" />\n </Icon>\n );\n }\n);\n"],"names":["UngroupIcon"],"mappings":";;;;AAOO,MAAM,WAAc,GAAA,UAAA;AAAA,EACzB,SAASA,YAAY,CAAA,KAAA,EAAyB,GAAK,EAAA;AACjD,IAAA,uBACG,IAAA,CAAA,IAAA,EAAA;AAAA,MACC,aAAY,EAAA,aAAA;AAAA,MACZ,YAAW,EAAA,SAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAC,GAAA,CAAA,MAAA,EAAA;AAAA,UACC,QAAS,EAAA,SAAA;AAAA,UACT,CAAE,EAAA,sDAAA;AAAA,UACF,QAAS,EAAA,SAAA;AAAA,SACX,CAAA;AAAA,wBACC,GAAA,CAAA,MAAA,EAAA;AAAA,UAAK,CAAE,EAAA,oCAAA;AAAA,SAAqC,CAAA;AAAA,OAAA;AAAA,KAC/C,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Icon } from '../icon/Icon.js';
|
|
4
|
+
|
|
5
|
+
const UngroupSolidIcon = forwardRef(function UngroupSolidIcon2(props, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
7
|
+
"data-testid": "UngroupSolidIcon",
|
|
8
|
+
"aria-label": "ungroup solid",
|
|
9
|
+
viewBox: "0 0 12 12",
|
|
10
|
+
ref,
|
|
11
|
+
...props,
|
|
12
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
13
|
+
d: "M0 0h6v6H0V0Zm6 6h6v6H6V6ZM1 7h1v3h3v1H1V7Zm9-2h1V1H7v1h3v3Z"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { UngroupSolidIcon };
|
|
19
|
+
//# sourceMappingURL=UngroupSolid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UngroupSolid.js","sources":["../src/components/UngroupSolid.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type UngroupSolidIconProps = IconProps;\n\nexport const UngroupSolidIcon = forwardRef<\n SVGSVGElement,\n UngroupSolidIconProps\n>(function UngroupSolidIcon(props: UngroupSolidIconProps, ref) {\n return (\n <Icon\n data-testid=\"UngroupSolidIcon\"\n aria-label=\"ungroup solid\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path d=\"M0 0h6v6H0V0Zm6 6h6v6H6V6ZM1 7h1v3h3v1H1V7Zm9-2h1V1H7v1h3v3Z\" />\n </Icon>\n );\n});\n"],"names":["UngroupSolidIcon"],"mappings":";;;;AAOO,MAAM,gBAAmB,GAAA,UAAA,CAG9B,SAASA,iBAAAA,CAAiB,OAA8B,GAAK,EAAA;AAC7D,EAAA,uBACG,GAAA,CAAA,IAAA,EAAA;AAAA,IACC,aAAY,EAAA,kBAAA;AAAA,IACZ,YAAW,EAAA,eAAA;AAAA,IACX,OAAQ,EAAA,WAAA;AAAA,IACR,GAAA;AAAA,IACC,GAAG,KAAA;AAAA,IAEJ,QAAC,kBAAA,GAAA,CAAA,MAAA,EAAA;AAAA,MAAK,CAAE,EAAA,8DAAA;AAAA,KAA+D,CAAA;AAAA,GACzE,CAAA,CAAA;AAEJ,CAAC;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Icon } from '../icon/Icon.js';
|
|
4
|
+
|
|
5
|
+
const WeightIcon = forwardRef(
|
|
6
|
+
function WeightIcon2(props, ref) {
|
|
7
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
8
|
+
"data-testid": "WeightIcon",
|
|
9
|
+
"aria-label": "weight",
|
|
10
|
+
viewBox: "0 0 12 12",
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M8 4a2.5 2.5 0 1 0-4 0H2l-2 8h12l-2-8H8Zm-.5-1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM2.78 5l-1.5 6h9.44l-1.5-6H2.78Z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
export { WeightIcon };
|
|
23
|
+
//# sourceMappingURL=Weight.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Weight.js","sources":["../src/components/Weight.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type WeightIconProps = IconProps;\n\nexport const WeightIcon = forwardRef<SVGSVGElement, WeightIconProps>(\n function WeightIcon(props: WeightIconProps, ref) {\n return (\n <Icon\n data-testid=\"WeightIcon\"\n aria-label=\"weight\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M8 4a2.5 2.5 0 1 0-4 0H2l-2 8h12l-2-8H8Zm-.5-1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM2.78 5l-1.5 6h9.44l-1.5-6H2.78Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["WeightIcon"],"mappings":";;;;AAOO,MAAM,UAAa,GAAA,UAAA;AAAA,EACxB,SAASA,WAAW,CAAA,KAAA,EAAwB,GAAK,EAAA;AAC/C,IAAA,uBACG,GAAA,CAAA,IAAA,EAAA;AAAA,MACC,aAAY,EAAA,YAAA;AAAA,MACZ,YAAW,EAAA,QAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAC,kBAAA,GAAA,CAAA,MAAA,EAAA;AAAA,QACC,QAAS,EAAA,SAAA;AAAA,QACT,CAAE,EAAA,uHAAA;AAAA,QACF,QAAS,EAAA,SAAA;AAAA,OACX,CAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { Icon } from '../icon/Icon.js';
|
|
4
|
+
|
|
5
|
+
const WeightSolidIcon = forwardRef(
|
|
6
|
+
function WeightSolidIcon2(props, ref) {
|
|
7
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
8
|
+
"data-testid": "WeightSolidIcon",
|
|
9
|
+
"aria-label": "weight solid",
|
|
10
|
+
viewBox: "0 0 12 12",
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M8 4a2.5 2.5 0 1 0-4 0H2l-2 8h12l-2-8H8Zm-.5-1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
export { WeightSolidIcon };
|
|
23
|
+
//# sourceMappingURL=WeightSolid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WeightSolid.js","sources":["../src/components/WeightSolid.tsx"],"sourcesContent":["// WARNING: This file was generated by a script. Do not modify it manually\nimport { forwardRef } from \"react\";\n\nimport { Icon, IconProps } from \"../icon\";\n\nexport type WeightSolidIconProps = IconProps;\n\nexport const WeightSolidIcon = forwardRef<SVGSVGElement, WeightSolidIconProps>(\n function WeightSolidIcon(props: WeightSolidIconProps, ref) {\n return (\n <Icon\n data-testid=\"WeightSolidIcon\"\n aria-label=\"weight solid\"\n viewBox=\"0 0 12 12\"\n ref={ref}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n d=\"M8 4a2.5 2.5 0 1 0-4 0H2l-2 8h12l-2-8H8Zm-.5-1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"\n clipRule=\"evenodd\"\n />\n </Icon>\n );\n }\n);\n"],"names":["WeightSolidIcon"],"mappings":";;;;AAOO,MAAM,eAAkB,GAAA,UAAA;AAAA,EAC7B,SAASA,gBAAgB,CAAA,KAAA,EAA6B,GAAK,EAAA;AACzD,IAAA,uBACG,GAAA,CAAA,IAAA,EAAA;AAAA,MACC,aAAY,EAAA,iBAAA;AAAA,MACZ,YAAW,EAAA,cAAA;AAAA,MACX,OAAQ,EAAA,WAAA;AAAA,MACR,GAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEJ,QAAC,kBAAA,GAAA,CAAA,MAAA,EAAA;AAAA,QACC,QAAS,EAAA,SAAA;AAAA,QACT,CAAE,EAAA,uFAAA;AAAA,QACF,QAAS,EAAA,SAAA;AAAA,OACX,CAAA;AAAA,KACF,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
package/dist-es/icon/Icon.css.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var css_248z = "/* Style applied to the root element */\n.saltIcon {\n --icon-color:
|
|
1
|
+
var css_248z = "/* Style applied to the root element */\n.saltIcon {\n --icon-color: currentColor;\n --icon-size-multiplier: var(--saltIcon-size-multiplier, 1);\n --icon-base-size: var(--salt-icon-size-base, 12px);\n /**\n * Icon size will be the multiplier (an integer from the size prop) * the base size (set by the theme per density)\n * Icons should never be smaller than 12px for readability so we've added a max() to enforce this\n * Consumers can use --saltIcon-size variable to override this rule as an escape hatch\n */\n --icon-size: var(--saltIcon-size, max(calc(var(--icon-base-size) * var(--icon-size-multiplier)), 12px));\n}\n\n.saltIcon {\n fill: var(--saltIcon-color, var(--icon-color));\n display: inline-block;\n margin: var(--saltIcon-margin, 0);\n position: relative;\n width: var(--icon-size);\n height: var(--icon-size);\n min-width: var(--icon-size);\n min-height: var(--icon-size);\n}\n\n.saltIcon-primary {\n --icon-color: var(--salt-text-primary-foreground);\n}\n\n.saltIcon-secondary {\n --icon-color: var(--salt-text-secondary-foreground);\n}\n";
|
|
2
2
|
|
|
3
3
|
export { css_248z as default };
|
|
4
4
|
//# sourceMappingURL=Icon.css.js.map
|
package/dist-es/icon/Icon.js
CHANGED
|
@@ -8,7 +8,14 @@ import css_248z from './Icon.css.js';
|
|
|
8
8
|
const makePrefixer = (prefix) => (...names) => [prefix, ...names].join("-");
|
|
9
9
|
const withBaseName = makePrefixer("saltIcon");
|
|
10
10
|
const DEFAULT_ICON_SIZE = 1;
|
|
11
|
-
const Icon = forwardRef(function Icon2({
|
|
11
|
+
const Icon = forwardRef(function Icon2({
|
|
12
|
+
children,
|
|
13
|
+
className,
|
|
14
|
+
color = "inherit",
|
|
15
|
+
size = DEFAULT_ICON_SIZE,
|
|
16
|
+
style: styleProp,
|
|
17
|
+
...rest
|
|
18
|
+
}, ref) {
|
|
12
19
|
const targetWindow = useWindow();
|
|
13
20
|
useComponentCssInjection({
|
|
14
21
|
testId: "salt-icon",
|
|
@@ -20,7 +27,11 @@ const Icon = forwardRef(function Icon2({ children, className, size = DEFAULT_ICO
|
|
|
20
27
|
"--saltIcon-size-multiplier": `${size}`
|
|
21
28
|
};
|
|
22
29
|
return /* @__PURE__ */ jsx("svg", {
|
|
23
|
-
className: clsx(
|
|
30
|
+
className: clsx(
|
|
31
|
+
withBaseName(),
|
|
32
|
+
{ [withBaseName(color)]: color !== "inherit" },
|
|
33
|
+
className
|
|
34
|
+
),
|
|
24
35
|
style,
|
|
25
36
|
role: "img",
|
|
26
37
|
...rest,
|
package/dist-es/icon/Icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sources":["../src/icon/Icon.tsx"],"sourcesContent":["import { forwardRef, SVGAttributes } from \"react\";\nimport { clsx } from \"clsx\";\n\nimport { useWindow } from \"@salt-ds/window\";\nimport { useComponentCssInjection } from \"@salt-ds/styles\";\n\nimport iconCss from \"./Icon.css\";\n// Duplicate from core/util to avoid circular dependency\nexport const makePrefixer =\n (prefix: string): ((...names: string[]) => string) =>\n (...names: string[]): string =>\n [prefix, ...names].join(\"-\");\n\nconst withBaseName = makePrefixer(\"saltIcon\");\n\nexport interface IconProps extends SVGAttributes<SVGSVGElement> {\n /**\n * Multiplier for the base icon size. Should be a positive integer to conform to the rest of the design system.\n */\n size?: number;\n}\n\nexport const DEFAULT_ICON_SIZE = 1;\n\nexport const Icon = forwardRef<SVGSVGElement, IconProps>(function Icon(\n {
|
|
1
|
+
{"version":3,"file":"Icon.js","sources":["../src/icon/Icon.tsx"],"sourcesContent":["import { forwardRef, SVGAttributes } from \"react\";\nimport { clsx } from \"clsx\";\n\nimport { useWindow } from \"@salt-ds/window\";\nimport { useComponentCssInjection } from \"@salt-ds/styles\";\n\nimport iconCss from \"./Icon.css\";\n// Duplicate from core/util to avoid circular dependency\nexport const makePrefixer =\n (prefix: string): ((...names: string[]) => string) =>\n (...names: string[]): string =>\n [prefix, ...names].join(\"-\");\n\nconst withBaseName = makePrefixer(\"saltIcon\");\n\nexport interface IconProps extends SVGAttributes<SVGSVGElement> {\n /*\n * The color of the icon. Defaults to \"inherit\".\n */\n color?: \"inherit\" | \"primary\" | \"secondary\";\n /**\n * Multiplier for the base icon size. Should be a positive integer to conform to the rest of the design system.\n */\n size?: number;\n}\n\nexport const DEFAULT_ICON_SIZE = 1;\n\nexport const Icon = forwardRef<SVGSVGElement, IconProps>(function Icon(\n {\n children,\n className,\n color = \"inherit\",\n size = DEFAULT_ICON_SIZE,\n style: styleProp,\n ...rest\n },\n ref\n) {\n const targetWindow = useWindow();\n useComponentCssInjection({\n testId: \"salt-icon\",\n css: iconCss,\n window: targetWindow,\n });\n\n const style = {\n ...styleProp,\n \"--saltIcon-size-multiplier\": `${size}`,\n };\n\n return (\n <svg\n className={clsx(\n withBaseName(),\n { [withBaseName(color)]: color !== \"inherit\" },\n className\n )}\n style={style}\n role=\"img\"\n {...rest}\n ref={ref}\n >\n <g aria-hidden>{children}</g>\n </svg>\n );\n});\n"],"names":["Icon","iconCss"],"mappings":";;;;;;;AAQa,MAAA,YAAA,GACX,CAAC,MAAA,KACD,CAAI,GAAA,KAAA,KACF,CAAC,MAAA,EAAQ,GAAG,KAAK,CAAE,CAAA,IAAA,CAAK,GAAG,EAAA;AAE/B,MAAM,YAAA,GAAe,aAAa,UAAU,CAAA,CAAA;AAarC,MAAM,iBAAoB,GAAA,EAAA;AAEpB,MAAA,IAAA,GAAO,UAAqC,CAAA,SAASA,KAChE,CAAA;AAAA,EACE,QAAA;AAAA,EACA,SAAA;AAAA,EACA,KAAQ,GAAA,SAAA;AAAA,EACR,IAAO,GAAA,iBAAA;AAAA,EACP,KAAO,EAAA,SAAA;AAAA,EACJ,GAAA,IAAA;AACL,CAAA,EACA,GACA,EAAA;AACA,EAAA,MAAM,eAAe,SAAU,EAAA,CAAA;AAC/B,EAAyB,wBAAA,CAAA;AAAA,IACvB,MAAQ,EAAA,WAAA;AAAA,IACR,GAAK,EAAAC,QAAA;AAAA,IACL,MAAQ,EAAA,YAAA;AAAA,GACT,CAAA,CAAA;AAED,EAAA,MAAM,KAAQ,GAAA;AAAA,IACZ,GAAG,SAAA;AAAA,IACH,8BAA8B,CAAG,EAAA,IAAA,CAAA,CAAA;AAAA,GACnC,CAAA;AAEA,EAAA,uBACG,GAAA,CAAA,KAAA,EAAA;AAAA,IACC,SAAW,EAAA,IAAA;AAAA,MACT,YAAa,EAAA;AAAA,MACb,EAAE,CAAC,YAAA,CAAa,KAAK,CAAA,GAAI,UAAU,SAAU,EAAA;AAAA,MAC7C,SAAA;AAAA,KACF;AAAA,IACA,KAAA;AAAA,IACA,IAAK,EAAA,KAAA;AAAA,IACJ,GAAG,IAAA;AAAA,IACJ,GAAA;AAAA,IAEA,QAAC,kBAAA,GAAA,CAAA,GAAA,EAAA;AAAA,MAAE,aAAW,EAAA,IAAA;AAAA,MAAE,QAAA;AAAA,KAAS,CAAA;AAAA,GAC3B,CAAA,CAAA;AAEJ,CAAC;;;;"}
|
package/dist-es/index.js
CHANGED
|
@@ -126,6 +126,8 @@ export { GlobeIcon } from './components/Globe.js';
|
|
|
126
126
|
export { GlobeSolidIcon } from './components/GlobeSolid.js';
|
|
127
127
|
export { GridIcon } from './components/Grid.js';
|
|
128
128
|
export { GridSolidIcon } from './components/GridSolid.js';
|
|
129
|
+
export { GroupIcon } from './components/Group.js';
|
|
130
|
+
export { GroupSolidIcon } from './components/GroupSolid.js';
|
|
129
131
|
export { GuideClosedIcon } from './components/GuideClosed.js';
|
|
130
132
|
export { GuideClosedSolidIcon } from './components/GuideClosedSolid.js';
|
|
131
133
|
export { GuideOpenIcon } from './components/GuideOpen.js';
|
|
@@ -249,6 +251,8 @@ export { SaltShakerIcon } from './components/SaltShaker.js';
|
|
|
249
251
|
export { SaltShakerSolidIcon } from './components/SaltShakerSolid.js';
|
|
250
252
|
export { SaveIcon } from './components/Save.js';
|
|
251
253
|
export { SaveSolidIcon } from './components/SaveSolid.js';
|
|
254
|
+
export { ScalesIcon } from './components/Scales.js';
|
|
255
|
+
export { ScalesSolidIcon } from './components/ScalesSolid.js';
|
|
252
256
|
export { ScheduleTimeIcon } from './components/ScheduleTime.js';
|
|
253
257
|
export { ScheduleTimeSolidIcon } from './components/ScheduleTimeSolid.js';
|
|
254
258
|
export { SearchIcon } from './components/Search.js';
|
|
@@ -265,6 +269,8 @@ export { SortableAlphaIcon } from './components/SortableAlpha.js';
|
|
|
265
269
|
export { SortableNumIcon } from './components/SortableNum.js';
|
|
266
270
|
export { SortAlphaAscendIcon } from './components/SortAlphaAscend.js';
|
|
267
271
|
export { SortAlphaDescendIcon } from './components/SortAlphaDescend.js';
|
|
272
|
+
export { SortAscendIcon } from './components/SortAscend.js';
|
|
273
|
+
export { SortDescendIcon } from './components/SortDescend.js';
|
|
268
274
|
export { SortNumAscendIcon } from './components/SortNumAscend.js';
|
|
269
275
|
export { SortNumDescendIcon } from './components/SortNumDescend.js';
|
|
270
276
|
export { StackoverflowIcon } from './components/Stackoverflow.js';
|
|
@@ -308,6 +314,8 @@ export { TriangleRightIcon } from './components/TriangleRight.js';
|
|
|
308
314
|
export { TriangleRightDownIcon } from './components/TriangleRightDown.js';
|
|
309
315
|
export { TriangleUpIcon } from './components/TriangleUp.js';
|
|
310
316
|
export { UndoIcon } from './components/Undo.js';
|
|
317
|
+
export { UngroupIcon } from './components/Ungroup.js';
|
|
318
|
+
export { UngroupSolidIcon } from './components/UngroupSolid.js';
|
|
311
319
|
export { UniversalAccessIcon } from './components/UniversalAccess.js';
|
|
312
320
|
export { UniversalAccessSolidIcon } from './components/UniversalAccessSolid.js';
|
|
313
321
|
export { UnlinkedIcon } from './components/Unlinked.js';
|
|
@@ -340,6 +348,8 @@ export { WarningIcon } from './components/Warning.js';
|
|
|
340
348
|
export { WarningSolidIcon } from './components/WarningSolid.js';
|
|
341
349
|
export { WatchIcon } from './components/Watch.js';
|
|
342
350
|
export { WatchSolidIcon } from './components/WatchSolid.js';
|
|
351
|
+
export { WeightIcon } from './components/Weight.js';
|
|
352
|
+
export { WeightSolidIcon } from './components/WeightSolid.js';
|
|
343
353
|
export { WomanIcon } from './components/Woman.js';
|
|
344
354
|
export { WomanSolidIcon } from './components/WomanSolid.js';
|
|
345
355
|
export { WoodlandIcon } from './components/Woodland.js';
|
package/dist-es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -125,6 +125,8 @@ export * from "./Globe";
|
|
|
125
125
|
export * from "./GlobeSolid";
|
|
126
126
|
export * from "./Grid";
|
|
127
127
|
export * from "./GridSolid";
|
|
128
|
+
export * from "./Group";
|
|
129
|
+
export * from "./GroupSolid";
|
|
128
130
|
export * from "./GuideClosed";
|
|
129
131
|
export * from "./GuideClosedSolid";
|
|
130
132
|
export * from "./GuideOpen";
|
|
@@ -248,6 +250,8 @@ export * from "./SaltShaker";
|
|
|
248
250
|
export * from "./SaltShakerSolid";
|
|
249
251
|
export * from "./Save";
|
|
250
252
|
export * from "./SaveSolid";
|
|
253
|
+
export * from "./Scales";
|
|
254
|
+
export * from "./ScalesSolid";
|
|
251
255
|
export * from "./ScheduleTime";
|
|
252
256
|
export * from "./ScheduleTimeSolid";
|
|
253
257
|
export * from "./Search";
|
|
@@ -264,6 +268,8 @@ export * from "./SortableAlpha";
|
|
|
264
268
|
export * from "./SortableNum";
|
|
265
269
|
export * from "./SortAlphaAscend";
|
|
266
270
|
export * from "./SortAlphaDescend";
|
|
271
|
+
export * from "./SortAscend";
|
|
272
|
+
export * from "./SortDescend";
|
|
267
273
|
export * from "./SortNumAscend";
|
|
268
274
|
export * from "./SortNumDescend";
|
|
269
275
|
export * from "./Stackoverflow";
|
|
@@ -307,6 +313,8 @@ export * from "./TriangleRight";
|
|
|
307
313
|
export * from "./TriangleRightDown";
|
|
308
314
|
export * from "./TriangleUp";
|
|
309
315
|
export * from "./Undo";
|
|
316
|
+
export * from "./Ungroup";
|
|
317
|
+
export * from "./UngroupSolid";
|
|
310
318
|
export * from "./UniversalAccess";
|
|
311
319
|
export * from "./UniversalAccessSolid";
|
|
312
320
|
export * from "./Unlinked";
|
|
@@ -339,6 +347,8 @@ export * from "./Warning";
|
|
|
339
347
|
export * from "./WarningSolid";
|
|
340
348
|
export * from "./Watch";
|
|
341
349
|
export * from "./WatchSolid";
|
|
350
|
+
export * from "./Weight";
|
|
351
|
+
export * from "./WeightSolid";
|
|
342
352
|
export * from "./Woman";
|
|
343
353
|
export * from "./WomanSolid";
|
|
344
354
|
export * from "./Woodland";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SVGAttributes } from "react";
|
|
2
2
|
export declare const makePrefixer: (prefix: string) => (...names: string[]) => string;
|
|
3
3
|
export interface IconProps extends SVGAttributes<SVGSVGElement> {
|
|
4
|
+
color?: "inherit" | "primary" | "secondary";
|
|
4
5
|
/**
|
|
5
6
|
* Multiplier for the base icon size. Should be a positive integer to conform to the rest of the design system.
|
|
6
7
|
*/
|
package/package.json
CHANGED
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salt-ds/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/jpmorganchase/salt-ds.git",
|
|
8
|
+
"directory": "packages/icons"
|
|
9
|
+
},
|
|
10
|
+
"bugs": "https://github.com/jpmorganchase/salt-ds/issues",
|
|
5
11
|
"main": "dist-cjs/index.js",
|
|
6
12
|
"sideEffects": false,
|
|
7
13
|
"scripts": {
|
|
8
14
|
"build": "yarn clean && yarn node ./scripts/generateIcons.mjs '*.svg'",
|
|
9
15
|
"clean": "rimraf ./src/components"
|
|
10
16
|
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"clsx": "^2.0.0",
|
|
19
|
+
"@salt-ds/window": "^0.1.1",
|
|
20
|
+
"@salt-ds/styles": "^0.1.1"
|
|
21
|
+
},
|
|
11
22
|
"peerDependencies": {
|
|
12
23
|
"@types/react": ">=16.14.0",
|
|
13
24
|
"react": ">=16.14.0",
|
|
@@ -19,6 +30,7 @@
|
|
|
19
30
|
}
|
|
20
31
|
},
|
|
21
32
|
"devDependencies": {
|
|
33
|
+
"glob": "^8.0.0",
|
|
22
34
|
"mustache": "^4.2.0",
|
|
23
35
|
"rimraf": "^4.4.0",
|
|
24
36
|
"svgo": "^3.0.0"
|
|
@@ -29,20 +41,10 @@
|
|
|
29
41
|
},
|
|
30
42
|
"module": "dist-es/index.js",
|
|
31
43
|
"typings": "dist-types/index.d.ts",
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"clsx": "^2.0.0",
|
|
34
|
-
"@salt-ds/window": "^0.1.1",
|
|
35
|
-
"@salt-ds/styles": "^0.1.1"
|
|
36
|
-
},
|
|
37
44
|
"files": [
|
|
38
45
|
"dist-cjs",
|
|
39
46
|
"dist-es",
|
|
40
47
|
"dist-types",
|
|
41
48
|
"README.md"
|
|
42
|
-
]
|
|
43
|
-
"repository": {
|
|
44
|
-
"type": "git",
|
|
45
|
-
"url": "https://github.com/jpmorganchase/salt-ds",
|
|
46
|
-
"directory": "packages/icons"
|
|
47
|
-
}
|
|
49
|
+
]
|
|
48
50
|
}
|