@epilot360/icons 1.1.0 → 1.2.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/README.md +9 -2
- package/dist/bundle.js +1 -1
- package/dist/bundle.js.map +1 -1
- package/package.json +3 -2
- package/react/Attributes/index.d.ts +4 -0
- package/react/Attributes/index.js +41 -0
- package/react/Attributes/index.js.map +1 -0
- package/react/Availability/index.d.ts +4 -0
- package/react/Availability/index.js +41 -0
- package/react/Availability/index.js.map +1 -0
- package/react/EpilotIcon.d.ts +11 -0
- package/react/EpilotIcon.js +12 -1
- package/react/EpilotIcon.js.map +1 -1
- package/react/Note/index.d.ts +4 -0
- package/react/Note/index.js +41 -0
- package/react/Note/index.js.map +1 -0
- package/react/Relations/index.d.ts +4 -0
- package/react/Relations/index.js +41 -0
- package/react/Relations/index.js.map +1 -0
- package/react/Table/index.d.ts +4 -0
- package/react/Table/index.js +41 -0
- package/react/Table/index.js.map +1 -0
- package/react/index.d.ts +5 -0
- package/react/index.js +5 -0
- package/react/index.js.map +1 -1
- package/react/types.js +2 -2
- package/src/material-symbols.d.ts +5 -0
- package/src/stories/Readme.mdx +7 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot360/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"author": "epilot GmbH",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"eslint": "^8.51.0",
|
|
57
57
|
"jest": "^29.7.0",
|
|
58
58
|
"js-yaml": "^4.1.0",
|
|
59
|
+
"lodash": "^4.17.21",
|
|
59
60
|
"notistack": "^3.0.1",
|
|
60
61
|
"react": "^18.0.0",
|
|
61
62
|
"react-dom": "^18.2.0",
|
|
@@ -71,4 +72,4 @@
|
|
|
71
72
|
"peerDependencies": {
|
|
72
73
|
"react": ">=17.0.0"
|
|
73
74
|
}
|
|
74
|
-
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Attributes = void 0;
|
|
29
|
+
var view_agenda_fill_svg_1 = __importDefault(require("@material-symbols/svg-600/outlined/view_agenda-fill.svg"));
|
|
30
|
+
var view_agenda_svg_1 = __importDefault(require("@material-symbols/svg-600/outlined/view_agenda.svg"));
|
|
31
|
+
var react_1 = __importDefault(require("react"));
|
|
32
|
+
var types_1 = require("../types");
|
|
33
|
+
var name = 'attributes';
|
|
34
|
+
function Attributes(props) {
|
|
35
|
+
var _a = __assign(__assign({}, types_1.defaultIconProps), props), variant = _a.variant, restProps = __rest(_a, ["variant"]);
|
|
36
|
+
var IconComponent = variant === 'outlined' ? view_agenda_svg_1.default : view_agenda_fill_svg_1.default;
|
|
37
|
+
return react_1.default.createElement(IconComponent, __assign({ "aria-label": name }, restProps));
|
|
38
|
+
}
|
|
39
|
+
exports.Attributes = Attributes;
|
|
40
|
+
exports.default = Attributes;
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/Attributes/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iHAA6E;AAC7E,uGAA0E;AAC1E,gDAA0B;AAE1B,kCAAuD;AAEvD,IAAM,IAAI,GAAG,YAAY,CAAC;AAE1B,SAAgB,UAAU,CAAC,KAAgB;IACzC,IAAM,2BACD,wBAAgB,GAChB,KAAK,CACT,EAHO,OAAO,aAAA,EAAK,SAAS,cAAvB,WAAyB,CAG9B,CAAC;IACF,IAAM,aAAa,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,yBAAQ,CAAC,CAAC,CAAC,8BAAM,CAAC;IAEjE,OAAO,8BAAC,aAAa,2BAAa,IAAI,IAAM,SAAS,EAAI,CAAC;AAC5D,CAAC;AARD,gCAQC;AAED,kBAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Availability = void 0;
|
|
29
|
+
var share_location_fill_svg_1 = __importDefault(require("@material-symbols/svg-600/outlined/share_location-fill.svg"));
|
|
30
|
+
var share_location_svg_1 = __importDefault(require("@material-symbols/svg-600/outlined/share_location.svg"));
|
|
31
|
+
var react_1 = __importDefault(require("react"));
|
|
32
|
+
var types_1 = require("../types");
|
|
33
|
+
var name = 'availability';
|
|
34
|
+
function Availability(props) {
|
|
35
|
+
var _a = __assign(__assign({}, types_1.defaultIconProps), props), variant = _a.variant, restProps = __rest(_a, ["variant"]);
|
|
36
|
+
var IconComponent = variant === 'outlined' ? share_location_svg_1.default : share_location_fill_svg_1.default;
|
|
37
|
+
return react_1.default.createElement(IconComponent, __assign({ "aria-label": name }, restProps));
|
|
38
|
+
}
|
|
39
|
+
exports.Availability = Availability;
|
|
40
|
+
exports.default = Availability;
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/Availability/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uHAAgF;AAChF,6GAA6E;AAC7E,gDAA0B;AAE1B,kCAAuD;AAEvD,IAAM,IAAI,GAAG,cAAc,CAAC;AAE5B,SAAgB,YAAY,CAAC,KAAgB;IAC3C,IAAM,2BACD,wBAAgB,GAChB,KAAK,CACT,EAHO,OAAO,aAAA,EAAK,SAAS,cAAvB,WAAyB,CAG9B,CAAC;IACF,IAAM,aAAa,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,4BAAQ,CAAC,CAAC,CAAC,iCAAM,CAAC;IAEjE,OAAO,8BAAC,aAAa,2BAAa,IAAI,IAAM,SAAS,EAAI,CAAC;AAC5D,CAAC;AARD,oCAQC;AAED,kBAAe,YAAY,CAAC"}
|
package/react/EpilotIcon.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ import { Explore } from './Explore';
|
|
|
28
28
|
import { DragIndicator } from './DragIndicator';
|
|
29
29
|
import { Refresh } from './Refresh';
|
|
30
30
|
import { Menu } from './Menu';
|
|
31
|
+
import { Table } from './Table';
|
|
32
|
+
import { Attributes } from './Attributes';
|
|
31
33
|
import { Dashboard } from './Dashboard';
|
|
32
34
|
import { Opportunity } from './Opportunity';
|
|
33
35
|
import { Order } from './Order';
|
|
@@ -36,6 +38,7 @@ import { Account } from './Account';
|
|
|
36
38
|
import { Contract } from './Contract';
|
|
37
39
|
import { Message } from './Message';
|
|
38
40
|
import { File } from './File';
|
|
41
|
+
import { Note } from './Note';
|
|
39
42
|
import { Document } from './Document';
|
|
40
43
|
import { Templates } from './Templates';
|
|
41
44
|
import { Product } from './Product';
|
|
@@ -49,6 +52,8 @@ import { Webhook } from './Webhook';
|
|
|
49
52
|
import { Design } from './Design';
|
|
50
53
|
import { Workflow } from './Workflow';
|
|
51
54
|
import { Journey } from './Journey';
|
|
55
|
+
import { Relations } from './Relations';
|
|
56
|
+
import { Availability } from './Availability';
|
|
52
57
|
import type { IconProps } from './types';
|
|
53
58
|
export declare const IconComponentsMap: {
|
|
54
59
|
epilot: typeof Epilot;
|
|
@@ -80,6 +85,8 @@ export declare const IconComponentsMap: {
|
|
|
80
85
|
drag_indicator: typeof DragIndicator;
|
|
81
86
|
refresh: typeof Refresh;
|
|
82
87
|
menu: typeof Menu;
|
|
88
|
+
table: typeof Table;
|
|
89
|
+
attributes: typeof Attributes;
|
|
83
90
|
dashboard: typeof Dashboard;
|
|
84
91
|
opportunity: typeof Opportunity;
|
|
85
92
|
order: typeof Order;
|
|
@@ -88,6 +95,7 @@ export declare const IconComponentsMap: {
|
|
|
88
95
|
contract: typeof Contract;
|
|
89
96
|
message: typeof Message;
|
|
90
97
|
file: typeof File;
|
|
98
|
+
note: typeof Note;
|
|
91
99
|
document: typeof Document;
|
|
92
100
|
templates: typeof Templates;
|
|
93
101
|
product: typeof Product;
|
|
@@ -101,8 +109,11 @@ export declare const IconComponentsMap: {
|
|
|
101
109
|
design: typeof Design;
|
|
102
110
|
workflow: typeof Workflow;
|
|
103
111
|
journey: typeof Journey;
|
|
112
|
+
relations: typeof Relations;
|
|
113
|
+
availability: typeof Availability;
|
|
104
114
|
};
|
|
105
115
|
export type IconName = keyof typeof IconComponentsMap;
|
|
116
|
+
export declare const IconNames: ("search" | "add" | "error" | "message" | "file" | "notifications" | "product" | "order" | "visibility" | "menu" | "meter" | "table" | "close" | "attributes" | "refresh" | "document" | "calendar" | "help" | "note" | "epilot" | "edit" | "open_in_new" | "share" | "delete" | "add_circle" | "check" | "check_circle" | "warning" | "info" | "content_copy" | "data_object" | "draft" | "visibility_off" | "expand_more" | "expand_less" | "settings" | "explore" | "drag_indicator" | "dashboard" | "opportunity" | "contact" | "account" | "contract" | "templates" | "Price" | "tax" | "submission" | "partner" | "entity" | "webhook" | "design" | "workflow" | "journey" | "relations" | "availability")[];
|
|
106
117
|
type Props = IconProps & {
|
|
107
118
|
name: IconName;
|
|
108
119
|
};
|
package/react/EpilotIcon.js
CHANGED
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.EpilotIcon = exports.IconComponentsMap = void 0;
|
|
17
|
+
exports.EpilotIcon = exports.IconNames = exports.IconComponentsMap = void 0;
|
|
18
18
|
/* eslint-disable import/order */
|
|
19
19
|
var react_1 = __importDefault(require("react"));
|
|
20
20
|
var Epilot_1 = require("./Epilot");
|
|
@@ -46,6 +46,8 @@ var Explore_1 = require("./Explore");
|
|
|
46
46
|
var DragIndicator_1 = require("./DragIndicator");
|
|
47
47
|
var Refresh_1 = require("./Refresh");
|
|
48
48
|
var Menu_1 = require("./Menu");
|
|
49
|
+
var Table_1 = require("./Table");
|
|
50
|
+
var Attributes_1 = require("./Attributes");
|
|
49
51
|
var Dashboard_1 = require("./Dashboard");
|
|
50
52
|
var Opportunity_1 = require("./Opportunity");
|
|
51
53
|
var Order_1 = require("./Order");
|
|
@@ -54,6 +56,7 @@ var Account_1 = require("./Account");
|
|
|
54
56
|
var Contract_1 = require("./Contract");
|
|
55
57
|
var Message_1 = require("./Message");
|
|
56
58
|
var File_1 = require("./File");
|
|
59
|
+
var Note_1 = require("./Note");
|
|
57
60
|
var Document_1 = require("./Document");
|
|
58
61
|
var Templates_1 = require("./Templates");
|
|
59
62
|
var Product_1 = require("./Product");
|
|
@@ -67,6 +70,8 @@ var Webhook_1 = require("./Webhook");
|
|
|
67
70
|
var Design_1 = require("./Design");
|
|
68
71
|
var Workflow_1 = require("./Workflow");
|
|
69
72
|
var Journey_1 = require("./Journey");
|
|
73
|
+
var Relations_1 = require("./Relations");
|
|
74
|
+
var Availability_1 = require("./Availability");
|
|
70
75
|
exports.IconComponentsMap = {
|
|
71
76
|
epilot: Epilot_1.Epilot,
|
|
72
77
|
edit: Edit_1.Edit,
|
|
@@ -97,6 +102,8 @@ exports.IconComponentsMap = {
|
|
|
97
102
|
drag_indicator: DragIndicator_1.DragIndicator,
|
|
98
103
|
refresh: Refresh_1.Refresh,
|
|
99
104
|
menu: Menu_1.Menu,
|
|
105
|
+
table: Table_1.Table,
|
|
106
|
+
attributes: Attributes_1.Attributes,
|
|
100
107
|
dashboard: Dashboard_1.Dashboard,
|
|
101
108
|
opportunity: Opportunity_1.Opportunity,
|
|
102
109
|
order: Order_1.Order,
|
|
@@ -105,6 +112,7 @@ exports.IconComponentsMap = {
|
|
|
105
112
|
contract: Contract_1.Contract,
|
|
106
113
|
message: Message_1.Message,
|
|
107
114
|
file: File_1.File,
|
|
115
|
+
note: Note_1.Note,
|
|
108
116
|
document: Document_1.Document,
|
|
109
117
|
templates: Templates_1.Templates,
|
|
110
118
|
product: Product_1.Product,
|
|
@@ -118,7 +126,10 @@ exports.IconComponentsMap = {
|
|
|
118
126
|
design: Design_1.Design,
|
|
119
127
|
workflow: Workflow_1.Workflow,
|
|
120
128
|
journey: Journey_1.Journey,
|
|
129
|
+
relations: Relations_1.Relations,
|
|
130
|
+
availability: Availability_1.Availability,
|
|
121
131
|
};
|
|
132
|
+
exports.IconNames = Object.keys(exports.IconComponentsMap);
|
|
122
133
|
var EpilotIcon = function (props) {
|
|
123
134
|
var name = props.name, restProps = __rest(props, ["name"]);
|
|
124
135
|
var iconComponent = exports.IconComponentsMap[props.name];
|
package/react/EpilotIcon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EpilotIcon.js","sourceRoot":"","sources":["../../src/react/EpilotIcon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC,gDAA0B;AAE1B,mCAAkC;AAClC,+BAA8B;AAC9B,yCAAwC;AACxC,iCAAgC;AAChC,mCAAkC;AAClC,6BAA4B;AAC5B,yCAAwC;AACxC,iCAAgC;AAChC,6CAA4C;AAC5C,qCAAoC;AACpC,iCAAgC;AAChC,+BAA8B;AAC9B,+BAA8B;AAC9B,6CAA4C;AAC5C,2CAA0C;AAC1C,iDAAgD;AAChD,iCAAgC;AAChC,2CAA0C;AAC1C,iDAAgD;AAChD,iCAAgC;AAChC,2CAA0C;AAC1C,2CAA0C;AAC1C,mCAAkC;AAClC,uCAAsC;AACtC,uCAAsC;AACtC,qCAAoC;AACpC,iDAAgD;AAChD,qCAAoC;AACpC,+BAA8B;AAC9B,yCAAwC;AACxC,6CAA4C;AAC5C,iCAAgC;AAChC,qCAAoC;AACpC,qCAAoC;AACpC,uCAAsC;AACtC,qCAAoC;AACpC,+BAA8B;AAC9B,uCAAsC;AACtC,yCAAwC;AACxC,qCAAoC;AACpC,iCAAgC;AAChC,6BAA4B;AAC5B,2CAA0C;AAC1C,qCAAoC;AACpC,iCAAgC;AAChC,mCAAkC;AAClC,qCAAoC;AACpC,mCAAkC;AAClC,uCAAsC;AACtC,qCAAoC;
|
|
1
|
+
{"version":3,"file":"EpilotIcon.js","sourceRoot":"","sources":["../../src/react/EpilotIcon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC,gDAA0B;AAE1B,mCAAkC;AAClC,+BAA8B;AAC9B,yCAAwC;AACxC,iCAAgC;AAChC,mCAAkC;AAClC,6BAA4B;AAC5B,yCAAwC;AACxC,iCAAgC;AAChC,6CAA4C;AAC5C,qCAAoC;AACpC,iCAAgC;AAChC,+BAA8B;AAC9B,+BAA8B;AAC9B,6CAA4C;AAC5C,2CAA0C;AAC1C,iDAAgD;AAChD,iCAAgC;AAChC,2CAA0C;AAC1C,iDAAgD;AAChD,iCAAgC;AAChC,2CAA0C;AAC1C,2CAA0C;AAC1C,mCAAkC;AAClC,uCAAsC;AACtC,uCAAsC;AACtC,qCAAoC;AACpC,iDAAgD;AAChD,qCAAoC;AACpC,+BAA8B;AAC9B,iCAAgC;AAChC,2CAA0C;AAC1C,yCAAwC;AACxC,6CAA4C;AAC5C,iCAAgC;AAChC,qCAAoC;AACpC,qCAAoC;AACpC,uCAAsC;AACtC,qCAAoC;AACpC,+BAA8B;AAC9B,+BAA8B;AAC9B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;IACV,QAAQ,EAAE,mBAAQ;IAClB,SAAS,EAAE,qBAAS;IACpB,OAAO,EAAE,iBAAO;IAChB,KAAK,EAAE,aAAK;IACZ,GAAG,EAAE,SAAG;IACR,UAAU,EAAE,uBAAU;IACtB,OAAO,EAAE,iBAAO;IAChB,KAAK,EAAE,aAAK;IACZ,MAAM,EAAE,eAAM;IACd,OAAO,EAAE,iBAAO;IAChB,MAAM,EAAE,eAAM;IACd,QAAQ,EAAE,mBAAQ;IAClB,OAAO,EAAE,iBAAO;IAChB,SAAS,EAAE,qBAAS;IACpB,YAAY,EAAE,2BAAY;CAC3B,CAAC;AAGW,QAAA,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,yBAAiB,CAAe,CAAC;AAG/D,IAAM,UAAU,GAAG,UAAC,KAAY;IAC7B,IAAA,IAAI,GAAmB,KAAK,KAAxB,EAAK,SAAS,UAAK,KAAK,EAA9B,QAAsB,CAAF,CAAW;IAErC,IAAM,aAAa,GAAG,yBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEpD,IAAI,CAAC,aAAa;QAAE,OAAO,IAAI,CAAC;IAEhC,OAAO,eAAK,CAAC,aAAa,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;AACvD,CAAC,CAAC;AARW,QAAA,UAAU,cAQrB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Note = void 0;
|
|
29
|
+
var sticky_note_2_fill_svg_1 = __importDefault(require("@material-symbols/svg-600/outlined/sticky_note_2-fill.svg"));
|
|
30
|
+
var sticky_note_2_svg_1 = __importDefault(require("@material-symbols/svg-600/outlined/sticky_note_2.svg"));
|
|
31
|
+
var react_1 = __importDefault(require("react"));
|
|
32
|
+
var types_1 = require("../types");
|
|
33
|
+
var name = 'note';
|
|
34
|
+
function Note(props) {
|
|
35
|
+
var _a = __assign(__assign({}, types_1.defaultIconProps), props), variant = _a.variant, restProps = __rest(_a, ["variant"]);
|
|
36
|
+
var IconComponent = variant === 'outlined' ? sticky_note_2_svg_1.default : sticky_note_2_fill_svg_1.default;
|
|
37
|
+
return react_1.default.createElement(IconComponent, __assign({ "aria-label": name }, restProps));
|
|
38
|
+
}
|
|
39
|
+
exports.Note = Note;
|
|
40
|
+
exports.default = Note;
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/Note/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qHAA+E;AAC/E,2GAA4E;AAC5E,gDAA0B;AAE1B,kCAAuD;AAEvD,IAAM,IAAI,GAAG,MAAM,CAAC;AAEpB,SAAgB,IAAI,CAAC,KAAgB;IACnC,IAAM,2BACD,wBAAgB,GAChB,KAAK,CACT,EAHO,OAAO,aAAA,EAAK,SAAS,cAAvB,WAAyB,CAG9B,CAAC;IACF,IAAM,aAAa,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,2BAAQ,CAAC,CAAC,CAAC,gCAAM,CAAC;IAEjE,OAAO,8BAAC,aAAa,2BAAa,IAAI,IAAM,SAAS,EAAI,CAAC;AAC5D,CAAC;AARD,oBAQC;AAED,kBAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Relations = void 0;
|
|
29
|
+
var conversion_path_fill_svg_1 = __importDefault(require("@material-symbols/svg-600/outlined/conversion_path-fill.svg"));
|
|
30
|
+
var conversion_path_svg_1 = __importDefault(require("@material-symbols/svg-600/outlined/conversion_path.svg"));
|
|
31
|
+
var react_1 = __importDefault(require("react"));
|
|
32
|
+
var types_1 = require("../types");
|
|
33
|
+
var name = 'relations';
|
|
34
|
+
function Relations(props) {
|
|
35
|
+
var _a = __assign(__assign({}, types_1.defaultIconProps), props), variant = _a.variant, restProps = __rest(_a, ["variant"]);
|
|
36
|
+
var IconComponent = variant === 'outlined' ? conversion_path_svg_1.default : conversion_path_fill_svg_1.default;
|
|
37
|
+
return react_1.default.createElement(IconComponent, __assign({ "aria-label": name }, restProps));
|
|
38
|
+
}
|
|
39
|
+
exports.Relations = Relations;
|
|
40
|
+
exports.default = Relations;
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/Relations/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yHAAiF;AACjF,+GAA8E;AAC9E,gDAA0B;AAE1B,kCAAuD;AAEvD,IAAM,IAAI,GAAG,WAAW,CAAC;AAEzB,SAAgB,SAAS,CAAC,KAAgB;IACxC,IAAM,2BACD,wBAAgB,GAChB,KAAK,CACT,EAHO,OAAO,aAAA,EAAK,SAAS,cAAvB,WAAyB,CAG9B,CAAC;IACF,IAAM,aAAa,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,6BAAQ,CAAC,CAAC,CAAC,kCAAM,CAAC;IAEjE,OAAO,8BAAC,aAAa,2BAAa,IAAI,IAAM,SAAS,EAAI,CAAC;AAC5D,CAAC;AARD,8BAQC;AAED,kBAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Table = void 0;
|
|
29
|
+
var table_fill_svg_1 = __importDefault(require("@material-symbols/svg-600/rounded/table-fill.svg"));
|
|
30
|
+
var table_svg_1 = __importDefault(require("@material-symbols/svg-600/rounded/table.svg"));
|
|
31
|
+
var react_1 = __importDefault(require("react"));
|
|
32
|
+
var types_1 = require("../types");
|
|
33
|
+
var name = 'table';
|
|
34
|
+
function Table(props) {
|
|
35
|
+
var _a = __assign(__assign({}, types_1.defaultIconProps), props), variant = _a.variant, restProps = __rest(_a, ["variant"]);
|
|
36
|
+
var IconComponent = variant === 'outlined' ? table_svg_1.default : table_fill_svg_1.default;
|
|
37
|
+
return react_1.default.createElement(IconComponent, __assign({ "aria-label": name }, restProps));
|
|
38
|
+
}
|
|
39
|
+
exports.Table = Table;
|
|
40
|
+
exports.default = Table;
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/Table/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oGAAsE;AACtE,0FAAmE;AACnE,gDAA0B;AAE1B,kCAAuD;AAEvD,IAAM,IAAI,GAAG,OAAO,CAAC;AAErB,SAAgB,KAAK,CAAC,KAAgB;IACpC,IAAM,2BACD,wBAAgB,GAChB,KAAK,CACT,EAHO,OAAO,aAAA,EAAK,SAAS,cAAvB,WAAyB,CAG9B,CAAC;IACF,IAAM,aAAa,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,mBAAQ,CAAC,CAAC,CAAC,wBAAM,CAAC;IAEjE,OAAO,8BAAC,aAAa,2BAAa,IAAI,IAAM,SAAS,EAAI,CAAC;AAC5D,CAAC;AARD,sBAQC;AAED,kBAAe,KAAK,CAAC"}
|
package/react/index.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export * from './Explore';
|
|
|
27
27
|
export * from './DragIndicator';
|
|
28
28
|
export * from './Refresh';
|
|
29
29
|
export * from './Menu';
|
|
30
|
+
export * from './Table';
|
|
31
|
+
export * from './Attributes';
|
|
30
32
|
export * from './Dashboard';
|
|
31
33
|
export * from './Opportunity';
|
|
32
34
|
export * from './Order';
|
|
@@ -35,6 +37,7 @@ export * from './Account';
|
|
|
35
37
|
export * from './Contract';
|
|
36
38
|
export * from './Message';
|
|
37
39
|
export * from './File';
|
|
40
|
+
export * from './Note';
|
|
38
41
|
export * from './Document';
|
|
39
42
|
export * from './Templates';
|
|
40
43
|
export * from './Product';
|
|
@@ -48,4 +51,6 @@ export * from './Webhook';
|
|
|
48
51
|
export * from './Design';
|
|
49
52
|
export * from './Workflow';
|
|
50
53
|
export * from './Journey';
|
|
54
|
+
export * from './Relations';
|
|
55
|
+
export * from './Availability';
|
|
51
56
|
export * from './EpilotIcon';
|
package/react/index.js
CHANGED
|
@@ -43,6 +43,8 @@ __exportStar(require("./Explore"), exports);
|
|
|
43
43
|
__exportStar(require("./DragIndicator"), exports);
|
|
44
44
|
__exportStar(require("./Refresh"), exports);
|
|
45
45
|
__exportStar(require("./Menu"), exports);
|
|
46
|
+
__exportStar(require("./Table"), exports);
|
|
47
|
+
__exportStar(require("./Attributes"), exports);
|
|
46
48
|
__exportStar(require("./Dashboard"), exports);
|
|
47
49
|
__exportStar(require("./Opportunity"), exports);
|
|
48
50
|
__exportStar(require("./Order"), exports);
|
|
@@ -51,6 +53,7 @@ __exportStar(require("./Account"), exports);
|
|
|
51
53
|
__exportStar(require("./Contract"), exports);
|
|
52
54
|
__exportStar(require("./Message"), exports);
|
|
53
55
|
__exportStar(require("./File"), exports);
|
|
56
|
+
__exportStar(require("./Note"), exports);
|
|
54
57
|
__exportStar(require("./Document"), exports);
|
|
55
58
|
__exportStar(require("./Templates"), exports);
|
|
56
59
|
__exportStar(require("./Product"), exports);
|
|
@@ -64,5 +67,7 @@ __exportStar(require("./Webhook"), exports);
|
|
|
64
67
|
__exportStar(require("./Design"), exports);
|
|
65
68
|
__exportStar(require("./Workflow"), exports);
|
|
66
69
|
__exportStar(require("./Journey"), exports);
|
|
70
|
+
__exportStar(require("./Relations"), exports);
|
|
71
|
+
__exportStar(require("./Availability"), exports);
|
|
67
72
|
__exportStar(require("./EpilotIcon"), exports);
|
|
68
73
|
//# sourceMappingURL=index.js.map
|
package/react/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,yCAAuB;AACvB,8CAA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CAAuB;AACvB,0CAAwB;AACxB,+CAA6B;AAC7B,8CAA4B;AAC5B,gDAA8B;AAC9B,0CAAwB;AACxB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,yCAAuB;AACvB,yCAAuB;AACvB,6CAA2B;AAC3B,8CAA4B;AAC5B,4CAA0B;AAC1B,0CAAwB;AACxB,wCAAsB;AACtB,+CAA6B;AAC7B,4CAA0B;AAC1B,0CAAwB;AACxB,2CAAyB;AACzB,4CAA0B;AAC1B,2CAAyB;AACzB,6CAA2B;AAC3B,4CAA0B;AAC1B,8CAA4B;AAC5B,iDAA+B;AAE/B,+CAA6B"}
|
package/react/types.js
CHANGED
package/src/stories/Readme.mdx
CHANGED
|
@@ -20,17 +20,10 @@ The `@epilot360/icons` package is shipped as an external system module in the 36
|
|
|
20
20
|
You can import any icon as a React component by name:
|
|
21
21
|
|
|
22
22
|
```tsx
|
|
23
|
-
import { Edit as EditIcon } from '@epilot360/icons'
|
|
23
|
+
import { Edit as EditIcon, EpilotIcon } from '@epilot360/icons'
|
|
24
24
|
|
|
25
25
|
<EditIcon />
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Or use the `<EpilotIcon>` React component:
|
|
30
|
-
|
|
31
|
-
```tsx
|
|
32
|
-
import { EpilotIcon } from '@epilot360/icons'
|
|
33
|
-
|
|
26
|
+
// or
|
|
34
27
|
<EpilotIcon name="edit" />
|
|
35
28
|
```
|
|
36
29
|
|
|
@@ -39,15 +32,13 @@ import { EpilotIcon } from '@epilot360/icons'
|
|
|
39
32
|
To avoid bundling the entire `@epilot360/icons` library, you can import the module directly:
|
|
40
33
|
|
|
41
34
|
```tsx
|
|
42
|
-
import
|
|
35
|
+
import EditIcon from '@epilot360/icons/react/Edit'
|
|
43
36
|
|
|
44
|
-
<
|
|
37
|
+
<EditIcon />
|
|
45
38
|
```
|
|
46
39
|
|
|
47
|
-
|
|
40
|
+
# Search Icons
|
|
48
41
|
|
|
49
|
-
|
|
50
|
-
import { EpilotIcon } from '@epilot360/icons/react'
|
|
42
|
+
import { SearchComponent } from './SearchComponent';
|
|
51
43
|
|
|
52
|
-
<
|
|
53
|
-
```
|
|
44
|
+
<SearchComponent />
|