@tdm-design/icons 0.0.13 → 0.0.14
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/ArrowDownIcon.d.ts +7 -0
- package/ArrowDownIcon.js +84 -0
- package/ArrowUpIcon.d.ts +7 -0
- package/ArrowUpIcon.js +84 -0
- package/dist/index.umd.global.js +1202 -1134
- package/dist/index.umd.min.global.js +4 -4
- package/es/icons/ArrowDownIcon.d.ts +6 -0
- package/es/icons/ArrowDownIcon.d.ts.map +1 -0
- package/es/icons/ArrowDownIcon.mjs +57 -0
- package/es/icons/ArrowDownIcon.mjs.map +1 -0
- package/es/icons/ArrowUpIcon.d.ts +6 -0
- package/es/icons/ArrowUpIcon.d.ts.map +1 -0
- package/es/icons/ArrowUpIcon.mjs +57 -0
- package/es/icons/ArrowUpIcon.mjs.map +1 -0
- package/es/icons/index.d.ts +2 -0
- package/es/icons/index.d.ts.map +1 -1
- package/es/icons/index.mjs +262 -258
- package/es/icons/index.mjs.map +1 -1
- package/lib/icons/ArrowDownIcon.d.ts +6 -0
- package/lib/icons/ArrowDownIcon.d.ts.map +1 -0
- package/lib/icons/ArrowDownIcon.js +85 -0
- package/lib/icons/ArrowDownIcon.js.map +1 -0
- package/lib/icons/ArrowUpIcon.d.ts +6 -0
- package/lib/icons/ArrowUpIcon.d.ts.map +1 -0
- package/lib/icons/ArrowUpIcon.js +85 -0
- package/lib/icons/ArrowUpIcon.js.map +1 -0
- package/lib/icons/index.d.ts +2 -0
- package/lib/icons/index.d.ts.map +1 -1
- package/lib/icons/index.js +6 -0
- package/lib/icons/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { T as TdmIconProps } from './TdmIcon-CClytigf.js';
|
|
3
|
+
|
|
4
|
+
/** */
|
|
5
|
+
declare const RefIcon: React.ForwardRefExoticComponent<Omit<TdmIconProps, 'ref'> & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
|
|
7
|
+
export { RefIcon as default };
|
package/ArrowDownIcon.js
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __defProps = Object.defineProperties;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
8
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
9
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
10
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
11
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
12
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
13
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
14
|
+
var __spreadValues = (a, b) => {
|
|
15
|
+
for (var prop in b || (b = {}))
|
|
16
|
+
if (__hasOwnProp.call(b, prop))
|
|
17
|
+
__defNormalProp(a, prop, b[prop]);
|
|
18
|
+
if (__getOwnPropSymbols)
|
|
19
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
20
|
+
if (__propIsEnum.call(b, prop))
|
|
21
|
+
__defNormalProp(a, prop, b[prop]);
|
|
22
|
+
}
|
|
23
|
+
return a;
|
|
24
|
+
};
|
|
25
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
26
|
+
var __export = (target, all) => {
|
|
27
|
+
for (var name in all)
|
|
28
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
29
|
+
};
|
|
30
|
+
var __copyProps = (to, from, except, desc) => {
|
|
31
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
32
|
+
for (let key of __getOwnPropNames(from))
|
|
33
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
34
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
35
|
+
}
|
|
36
|
+
return to;
|
|
37
|
+
};
|
|
38
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
39
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
40
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
41
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
42
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
43
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
44
|
+
mod
|
|
45
|
+
));
|
|
46
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
47
|
+
var ArrowDownIcon_exports = {};
|
|
48
|
+
__export(ArrowDownIcon_exports, {
|
|
49
|
+
default: () => ArrowDownIcon_default
|
|
50
|
+
});
|
|
51
|
+
module.exports = __toCommonJS(ArrowDownIcon_exports);
|
|
52
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
53
|
+
var React = __toESM(require("react"));
|
|
54
|
+
var import_TdmIcon = __toESM(require("../components/TdmIcon"));
|
|
55
|
+
var import_utils = require("../utils");
|
|
56
|
+
const arrowDownSvg = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
57
|
+
"svg",
|
|
58
|
+
{
|
|
59
|
+
width: "24",
|
|
60
|
+
height: "24",
|
|
61
|
+
viewBox: "0 0 24 24",
|
|
62
|
+
fill: "#cacaca",
|
|
63
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
64
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
65
|
+
"path",
|
|
66
|
+
{
|
|
67
|
+
"fill-rule": "evenodd",
|
|
68
|
+
"clip-rule": "evenodd",
|
|
69
|
+
d: "M12 20C12.2652 20 12.5196 19.8946 12.7071 19.7071L19.7071 12.7071C20.0976 12.3166 20.0976 11.6834 19.7071 11.2929C19.3166 10.9024 18.6834 10.9024 18.2929 11.2929L13 16.5858V5C13 4.44771 12.5523 4 12 4C11.4477 4 11 4.44771 11 5V16.5858L5.70711 11.2929C5.31658 10.9024 4.68342 10.9024 4.29289 11.2929C3.90237 11.6834 3.90237 12.3166 4.29289 12.7071L11.2929 19.7071C11.4804 19.8946 11.7348 20 12 20Z"
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
const arrowDownIconDefinition = (0, import_utils.svgToIconDefinition)(
|
|
75
|
+
arrowDownSvg,
|
|
76
|
+
"arrow-down"
|
|
77
|
+
);
|
|
78
|
+
const RefIcon = React.forwardRef((props, ref) => {
|
|
79
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_TdmIcon.default, __spreadProps(__spreadValues({}, props), { ref, icon: arrowDownIconDefinition }));
|
|
80
|
+
});
|
|
81
|
+
if (process.env.NODE_ENV !== "production") {
|
|
82
|
+
RefIcon.displayName = "ArrowDownIcon";
|
|
83
|
+
}
|
|
84
|
+
var ArrowDownIcon_default = RefIcon;
|
package/ArrowUpIcon.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { T as TdmIconProps } from './TdmIcon-CClytigf.js';
|
|
3
|
+
|
|
4
|
+
/** */
|
|
5
|
+
declare const RefIcon: React.ForwardRefExoticComponent<Omit<TdmIconProps, 'ref'> & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
|
|
7
|
+
export { RefIcon as default };
|
package/ArrowUpIcon.js
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __defProps = Object.defineProperties;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
8
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
9
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
10
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
11
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
12
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
13
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
14
|
+
var __spreadValues = (a, b) => {
|
|
15
|
+
for (var prop in b || (b = {}))
|
|
16
|
+
if (__hasOwnProp.call(b, prop))
|
|
17
|
+
__defNormalProp(a, prop, b[prop]);
|
|
18
|
+
if (__getOwnPropSymbols)
|
|
19
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
20
|
+
if (__propIsEnum.call(b, prop))
|
|
21
|
+
__defNormalProp(a, prop, b[prop]);
|
|
22
|
+
}
|
|
23
|
+
return a;
|
|
24
|
+
};
|
|
25
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
26
|
+
var __export = (target, all) => {
|
|
27
|
+
for (var name in all)
|
|
28
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
29
|
+
};
|
|
30
|
+
var __copyProps = (to, from, except, desc) => {
|
|
31
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
32
|
+
for (let key of __getOwnPropNames(from))
|
|
33
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
34
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
35
|
+
}
|
|
36
|
+
return to;
|
|
37
|
+
};
|
|
38
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
39
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
40
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
41
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
42
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
43
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
44
|
+
mod
|
|
45
|
+
));
|
|
46
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
47
|
+
var ArrowUpIcon_exports = {};
|
|
48
|
+
__export(ArrowUpIcon_exports, {
|
|
49
|
+
default: () => ArrowUpIcon_default
|
|
50
|
+
});
|
|
51
|
+
module.exports = __toCommonJS(ArrowUpIcon_exports);
|
|
52
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
53
|
+
var React = __toESM(require("react"));
|
|
54
|
+
var import_TdmIcon = __toESM(require("../components/TdmIcon"));
|
|
55
|
+
var import_utils = require("../utils");
|
|
56
|
+
const arrowUpSvg = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
57
|
+
"svg",
|
|
58
|
+
{
|
|
59
|
+
width: "24",
|
|
60
|
+
height: "24",
|
|
61
|
+
viewBox: "0 0 24 24",
|
|
62
|
+
fill: "#cacaca",
|
|
63
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
64
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
65
|
+
"path",
|
|
66
|
+
{
|
|
67
|
+
"fill-rule": "evenodd",
|
|
68
|
+
"clip-rule": "evenodd",
|
|
69
|
+
d: "M12 4C12.2652 4 12.5196 4.10536 12.7071 4.29289L19.7071 11.2929C20.0976 11.6834 20.0976 12.3166 19.7071 12.7071C19.3166 13.0976 18.6834 13.0976 18.2929 12.7071L13 7.41421V19C13 19.5523 12.5523 20 12 20C11.4477 20 11 19.5523 11 19V7.41421L5.70711 12.7071C5.31658 13.0976 4.68342 13.0976 4.29289 12.7071C3.90237 12.3166 3.90237 11.6834 4.29289 11.2929L11.2929 4.29289C11.4804 4.10536 11.7348 4 12 4Z"
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
const arrowUpIconDefinition = (0, import_utils.svgToIconDefinition)(
|
|
75
|
+
arrowUpSvg,
|
|
76
|
+
"arrow-up"
|
|
77
|
+
);
|
|
78
|
+
const RefIcon = React.forwardRef((props, ref) => {
|
|
79
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_TdmIcon.default, __spreadProps(__spreadValues({}, props), { ref, icon: arrowUpIconDefinition }));
|
|
80
|
+
});
|
|
81
|
+
if (process.env.NODE_ENV !== "production") {
|
|
82
|
+
RefIcon.displayName = "ArrowUpIcon";
|
|
83
|
+
}
|
|
84
|
+
var ArrowUpIcon_default = RefIcon;
|