proto-table-wc 0.0.458 → 0.0.460

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,166 +2,166 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-817f4cb7.js');
5
+ const index = require('./index-719e6a11.js');
6
6
 
7
7
  const demoTableCss = ".detailWrapper{font-weight:100;font-size:13px;display:flex;flex-direction:column;justify-items:start;padding:5px;padding-left:30px}";
8
8
 
9
9
  const DemoTable = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.fields = [
13
- { label: 'Date', prop: 'date' },
14
- { label: 'List Price', prop: 'price' },
15
- { label: '% of Market', prop: 'market' },
16
- { label: 'ProfitTime Score', prop: 'score' },
17
- ];
18
- this.items = [];
19
- this.table = undefined;
20
- this.renderDetails = item => {
21
- const { tags = [] } = item;
22
- return (index.h("div", { class: "detailWrapper" }, index.h("span", null, tags.length, " details..."), index.h("ul", null, tags.map(tag => (index.h("li", null, tag))))));
23
- };
24
- }
25
- componentWillLoad() {
26
- this.items = [
27
- {
28
- date: '08/30/2020',
29
- price: '$24,000',
30
- market: '98%',
31
- score: 'No Score',
32
- tags: ['one', 'two', 'three'],
33
- },
34
- {
35
- date: '08/31/2020',
36
- price: '$24,000',
37
- market: '99%',
38
- score: 'No Score',
39
- tags: ['uno', 'duo'],
40
- },
41
- {
42
- date: '09/01/2020',
43
- price: '$27,000',
44
- market: '102%',
45
- score: 'Platinum',
46
- },
47
- {
48
- date: '09/02/2020',
49
- price: '$27,423',
50
- market: '104%',
51
- score: 'Platinum',
52
- tags: ['dog', 'cat', 'fish', 'hamster'],
53
- },
54
- {
55
- date: '09/03/2020',
56
- price: '$27,521',
57
- market: '106%',
58
- score: 'Platinum',
59
- tags: ['4wd', 'sports'],
60
- },
61
- {
62
- date: '09/04/2020',
63
- price: '$27,687',
64
- market: '107%',
65
- score: 'Platinum',
66
- tags: ['leather', 'chrome'],
67
- },
68
- ];
69
- }
70
- componentDidLoad() {
71
- const { table, items, fields } = this;
72
- table.data = items;
73
- table.fields = fields;
74
- table.details = this.renderDetails;
75
- }
76
- render() {
77
- return index.h("proto-table", { ref: el => (this.table = el) });
78
- }
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.fields = [
13
+ { label: 'Date', prop: 'date' },
14
+ { label: 'List Price', prop: 'price' },
15
+ { label: '% of Market', prop: 'market' },
16
+ { label: 'ProfitTime Score', prop: 'score' },
17
+ ];
18
+ this.items = [];
19
+ this.table = undefined;
20
+ this.renderDetails = item => {
21
+ const { tags = [] } = item;
22
+ return (index.h("div", { class: "detailWrapper" }, index.h("span", null, tags.length, " details..."), index.h("ul", null, tags.map(tag => (index.h("li", null, tag))))));
23
+ };
24
+ }
25
+ componentWillLoad() {
26
+ this.items = [
27
+ {
28
+ date: '08/30/2020',
29
+ price: '$24,000',
30
+ market: '98%',
31
+ score: 'No Score',
32
+ tags: ['one', 'two', 'three'],
33
+ },
34
+ {
35
+ date: '08/31/2020',
36
+ price: '$24,000',
37
+ market: '99%',
38
+ score: 'No Score',
39
+ tags: ['uno', 'duo'],
40
+ },
41
+ {
42
+ date: '09/01/2020',
43
+ price: '$27,000',
44
+ market: '102%',
45
+ score: 'Platinum',
46
+ },
47
+ {
48
+ date: '09/02/2020',
49
+ price: '$27,423',
50
+ market: '104%',
51
+ score: 'Platinum',
52
+ tags: ['dog', 'cat', 'fish', 'hamster'],
53
+ },
54
+ {
55
+ date: '09/03/2020',
56
+ price: '$27,521',
57
+ market: '106%',
58
+ score: 'Platinum',
59
+ tags: ['4wd', 'sports'],
60
+ },
61
+ {
62
+ date: '09/04/2020',
63
+ price: '$27,687',
64
+ market: '107%',
65
+ score: 'Platinum',
66
+ tags: ['leather', 'chrome'],
67
+ },
68
+ ];
69
+ }
70
+ componentDidLoad() {
71
+ const { table, items, fields } = this;
72
+ table.data = items;
73
+ table.fields = fields;
74
+ table.details = this.renderDetails;
75
+ }
76
+ render() {
77
+ return index.h("proto-table", { ref: el => (this.table = el) });
78
+ }
79
79
  };
80
80
  DemoTable.style = demoTableCss;
81
81
 
82
82
  const iconPaths = {
83
- 'down': 'M12 15.4L6.6 10 8 8.6l4 4 4-4 1.4 1.4z',
84
- 'up': 'M16 15.4l-4-4-4 4L6.6 14 12 8.6l5.4 5.4z',
85
- 'left': 'M14 17.4L8.6 12 14 6.6 15.4 8l-4 4 4 4z',
86
- 'right': 'M10 17.4L8.6 16l4-4-4-4L10 6.6l5.4 5.4z',
87
- 'more': 'M12 14a2 2 0 100-4 2 2 0 000 4zm-6 0a2 2 0 100-4 2 2 0 000 4zm12 0a2 2 0 100-4 2 2 0 000 4z',
88
- 'arrow-up': 'M5.3 10.7l1.4 1.4L11 7.8V20h2V7.8l4.3 4.3 1.4-1.4L12 4z',
89
- 'arrow-down': 'M18.7 13.3l-1.4-1.4-4.3 4.3V4h-2v12.2l-4.3-4.3-1.4 1.4L12 20z',
83
+ 'down': 'M12 15.4L6.6 10 8 8.6l4 4 4-4 1.4 1.4z',
84
+ 'up': 'M16 15.4l-4-4-4 4L6.6 14 12 8.6l5.4 5.4z',
85
+ 'left': 'M14 17.4L8.6 12 14 6.6 15.4 8l-4 4 4 4z',
86
+ 'right': 'M10 17.4L8.6 16l4-4-4-4L10 6.6l5.4 5.4z',
87
+ 'more': 'M12 14a2 2 0 100-4 2 2 0 000 4zm-6 0a2 2 0 100-4 2 2 0 000 4zm12 0a2 2 0 100-4 2 2 0 000 4z',
88
+ 'arrow-up': 'M5.3 10.7l1.4 1.4L11 7.8V20h2V7.8l4.3 4.3 1.4-1.4L12 4z',
89
+ 'arrow-down': 'M18.7 13.3l-1.4-1.4-4.3 4.3V4h-2v12.2l-4.3-4.3-1.4 1.4L12 20z',
90
90
  };
91
91
 
92
92
  const protoTableCss = ".table{font-weight:400;font-size:13px;display:flex;flex-direction:column;width:100%;border:1px solid var(--clrs-navy);border-radius:2px}.table svg{fill:var(--clrs-navy)}.header{display:flex}.headerCell{flex-basis:100%;display:flex;align-items:center;justify-items:start;border-right:1px solid var(--clrs-navy);border-bottom:1px solid var(--clrs-navy);padding:5px;cursor:pointer}.headerCell svg g{display:none}.headerCell.sort svg g{display:inline}.headerCell:hover svg g{display:inline}.headerCell:hover{background-color:var(--clrs-silver)}.headerCell:last-child{border-right:none}.cell{flex-basis:100%;display:flex;align-items:center;justify-items:start;padding:5px}.cell:first-child svg{cursor:pointer}.sort{background-color:var(--cx-column-sort)}.row{display:flex;justify-items:stretch;width:100%}.row.expanded{background-color:var(--cx-row-expanded)}.row.expanded svg{fill:var(--clrs-red)}.row:hover{background-color:var(--cx-row-hover)}";
93
93
 
94
94
  const iconAliases = {
95
- 'right': 'show',
96
- 'down': 'hide',
97
- 'arrow-up': 'sort',
98
- 'arrow-down': 'sort',
95
+ 'right': 'show',
96
+ 'down': 'hide',
97
+ 'arrow-up': 'sort',
98
+ 'arrow-down': 'sort',
99
99
  };
100
100
  const aliasFor = name => {
101
- return iconAliases[name];
101
+ return iconAliases[name];
102
102
  };
103
103
  const ProtoTable = class {
104
- constructor(hostRef) {
105
- index.registerInstance(this, hostRef);
106
- this.protoIcon = (name, hex = undefined, size = 24) => {
107
- const path = iconPaths[name];
108
- return (index.h("svg", { width: size, height: size, viewBox: "0 0 24 24", role: "img", "aria-labelledby": "title" }, index.h("title", null, aliasFor(name)), index.h("g", { fill: hex }, index.h("path", { d: path })), index.h("path", { d: "M0 0h24v24H0z", fill: "none" })));
109
- };
110
- this.handleCellClick = (index, row) => {
111
- return () => {
112
- if (index === 0) {
113
- this.expanded = this.expanded === row ? undefined : row;
114
- }
115
- };
116
- };
117
- this.handleSortClick = index => {
118
- // NOTE: small state machine for dealing with sorting...
119
- return () => {
120
- if (this.sort === index) {
121
- if (this.clicks === 2) {
122
- this.clicks = 0;
123
- this.sort = undefined;
124
- }
125
- else {
126
- this.clicks = this.clicks + 1;
127
- }
128
- }
129
- else {
130
- this.sort = index;
131
- this.clicks = 1;
132
- }
133
- };
134
- };
135
- this.iconFor = column => {
136
- return this.sort === column && this.clicks === 2 ? 'arrow-up' : 'arrow-down';
137
- };
138
- this.header = () => {
139
- const { fields, iconFor, protoIcon } = this;
140
- return (index.h("div", { class: "header" }, fields.map(({ label }, index$1) => {
141
- const cellClass = index$1 === this.sort ? 'headerCell sort' : 'headerCell';
142
- const ikon = iconFor(index$1);
143
- return (index.h("div", { class: cellClass, onClick: this.handleSortClick(index$1) }, protoIcon(ikon), index.h("span", null, label)));
144
- })));
145
- };
146
- this.row = (data, row) => {
147
- const { fields, protoIcon } = this;
148
- const rowClass = this.expanded === row ? 'row expanded' : 'row';
149
- return (index.h("div", { class: "rowContainer" }, index.h("div", { class: rowClass }, fields.map(({ prop }, index$1) => {
150
- const cellClass = index$1 === this.sort ? 'cell sort' : 'cell';
151
- return (index.h("div", { class: cellClass, onClick: this.handleCellClick(index$1, row) }, index$1 === 0 && this.details ? protoIcon(this.expanded === row ? 'down' : 'right') : protoIcon('pad'), data[prop]));
152
- })), this.details && this.expanded === row && this.details(data)));
153
- };
154
- this.data = [];
155
- this.details = undefined;
156
- this.fields = [];
157
- this.expanded = undefined;
158
- this.sort = undefined;
159
- this.clicks = 0;
160
- }
161
- render() {
162
- const items = this.data || [];
163
- return (index.h("div", { class: "table" }, this.header(), items.map((item, index) => this.row(item, index))));
164
- }
104
+ constructor(hostRef) {
105
+ index.registerInstance(this, hostRef);
106
+ this.protoIcon = (name, hex = undefined, size = 24) => {
107
+ const path = iconPaths[name];
108
+ return (index.h("svg", { width: size, height: size, viewBox: "0 0 24 24", role: "img", "aria-labelledby": "title" }, index.h("title", null, aliasFor(name)), index.h("g", { fill: hex }, index.h("path", { d: path })), index.h("path", { d: "M0 0h24v24H0z", fill: "none" })));
109
+ };
110
+ this.handleCellClick = (index, row) => {
111
+ return () => {
112
+ if (index === 0) {
113
+ this.expanded = this.expanded === row ? undefined : row;
114
+ }
115
+ };
116
+ };
117
+ this.handleSortClick = index => {
118
+ // NOTE: small state machine for dealing with sorting...
119
+ return () => {
120
+ if (this.sort === index) {
121
+ if (this.clicks === 2) {
122
+ this.clicks = 0;
123
+ this.sort = undefined;
124
+ }
125
+ else {
126
+ this.clicks = this.clicks + 1;
127
+ }
128
+ }
129
+ else {
130
+ this.sort = index;
131
+ this.clicks = 1;
132
+ }
133
+ };
134
+ };
135
+ this.iconFor = column => {
136
+ return this.sort === column && this.clicks === 2 ? 'arrow-up' : 'arrow-down';
137
+ };
138
+ this.header = () => {
139
+ const { fields, iconFor, protoIcon } = this;
140
+ return (index.h("div", { class: "header" }, fields.map(({ label }, index$1) => {
141
+ const cellClass = index$1 === this.sort ? 'headerCell sort' : 'headerCell';
142
+ const ikon = iconFor(index$1);
143
+ return (index.h("div", { class: cellClass, onClick: this.handleSortClick(index$1) }, protoIcon(ikon), index.h("span", null, label)));
144
+ })));
145
+ };
146
+ this.row = (data, row) => {
147
+ const { fields, protoIcon } = this;
148
+ const rowClass = this.expanded === row ? 'row expanded' : 'row';
149
+ return (index.h("div", { class: "rowContainer" }, index.h("div", { class: rowClass }, fields.map(({ prop }, index$1) => {
150
+ const cellClass = index$1 === this.sort ? 'cell sort' : 'cell';
151
+ return (index.h("div", { class: cellClass, onClick: this.handleCellClick(index$1, row) }, index$1 === 0 && this.details ? protoIcon(this.expanded === row ? 'down' : 'right') : protoIcon('pad'), data[prop]));
152
+ })), this.details && this.expanded === row && this.details(data)));
153
+ };
154
+ this.data = [];
155
+ this.details = undefined;
156
+ this.fields = [];
157
+ this.expanded = undefined;
158
+ this.sort = undefined;
159
+ this.clicks = 0;
160
+ }
161
+ render() {
162
+ const items = this.data || [];
163
+ return (index.h("div", { class: "table" }, this.header(), items.map((item, index) => this.row(item, index))));
164
+ }
165
165
  };
166
166
  ProtoTable.style = protoTableCss;
167
167
 
@@ -411,7 +411,11 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
411
411
  elm[memberName] = newValue;
412
412
  }
413
413
  }
414
- catch (e) { }
414
+ catch (e) {
415
+ /**
416
+ * in case someone tries to set a read-only property, e.g. "namespaceURI", we just ignore it
417
+ */
418
+ }
415
419
  }
416
420
  if (newValue == null || newValue === false) {
417
421
  if (newValue !== false || elm.getAttribute(memberName) === '') {
@@ -430,6 +434,11 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
430
434
  }
431
435
  };
432
436
  const parseClassListRegex = /\s/;
437
+ /**
438
+ * Parsed a string of classnames into an array
439
+ * @param value className string, e.g. "foo bar baz"
440
+ * @returns list of classes, e.g. ["foo", "bar", "baz"]
441
+ */
433
442
  const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
434
443
  const CAPTURE_EVENT_SUFFIX = 'Capture';
435
444
  const CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + '$');
@@ -1178,10 +1187,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1178
1187
  */
1179
1188
  const proxyComponent = (Cstr, cmpMeta, flags) => {
1180
1189
  var _a;
1190
+ const prototype = Cstr.prototype;
1181
1191
  if (cmpMeta.$members$) {
1182
1192
  // It's better to have a const than two Object.entries()
1183
1193
  const members = Object.entries(cmpMeta.$members$);
1184
- const prototype = Cstr.prototype;
1185
1194
  members.map(([memberName, [memberFlags]]) => {
1186
1195
  if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1187
1196
  ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
@@ -1204,6 +1213,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1204
1213
  const attrNameToPropName = new Map();
1205
1214
  prototype.attributeChangedCallback = function (attrName, oldValue, newValue) {
1206
1215
  plt.jmp(() => {
1216
+ var _a;
1207
1217
  const propName = attrNameToPropName.get(attrName);
1208
1218
  // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1209
1219
  // in the case where an attribute was set inline.
@@ -1259,11 +1269,12 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1259
1269
  // 1. The instance is ready
1260
1270
  // 2. The watchers are ready
1261
1271
  // 3. The value has changed
1262
- if (!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
1272
+ if (flags &&
1273
+ !(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
1263
1274
  flags & 128 /* HOST_FLAGS.isWatchReady */ &&
1264
1275
  newValue !== oldValue) {
1265
1276
  const instance = hostRef.$lazyInstance$ ;
1266
- const entry = cmpMeta.$watchers$[attrName];
1277
+ const entry = (_a = cmpMeta.$watchers$) === null || _a === void 0 ? void 0 : _a[attrName];
1267
1278
  entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {
1268
1279
  if (instance[callbackName] != null) {
1269
1280
  instance[callbackName].call(instance, newValue, oldValue, attrName);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-817f4cb7.js');
5
+ const index = require('./index-719e6a11.js');
6
6
 
7
7
  const defineCustomElements = (win, options) => {
8
8
  if (typeof window === 'undefined') return undefined;
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-817f4cb7.js');
5
+ const index = require('./index-719e6a11.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v4.7.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.8.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchBrowser = () => {
11
11
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-table-wc.cjs.js', document.baseURI).href));
@@ -5,7 +5,7 @@
5
5
  ],
6
6
  "compiler": {
7
7
  "name": "@stencil/core",
8
- "version": "4.7.2",
8
+ "version": "4.8.0",
9
9
  "typescriptVersion": "5.2.2"
10
10
  },
11
11
  "collections": [],
@@ -1,83 +1,83 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class DemoTable {
3
- constructor() {
4
- this.fields = [
5
- { label: 'Date', prop: 'date' },
6
- { label: 'List Price', prop: 'price' },
7
- { label: '% of Market', prop: 'market' },
8
- { label: 'ProfitTime Score', prop: 'score' },
9
- ];
10
- this.items = [];
11
- this.table = undefined;
12
- this.renderDetails = item => {
13
- const { tags = [] } = item;
14
- return (h("div", { class: "detailWrapper" }, h("span", null, tags.length, " details..."), h("ul", null, tags.map(tag => (h("li", null, tag))))));
15
- };
16
- }
17
- componentWillLoad() {
18
- this.items = [
19
- {
20
- date: '08/30/2020',
21
- price: '$24,000',
22
- market: '98%',
23
- score: 'No Score',
24
- tags: ['one', 'two', 'three'],
25
- },
26
- {
27
- date: '08/31/2020',
28
- price: '$24,000',
29
- market: '99%',
30
- score: 'No Score',
31
- tags: ['uno', 'duo'],
32
- },
33
- {
34
- date: '09/01/2020',
35
- price: '$27,000',
36
- market: '102%',
37
- score: 'Platinum',
38
- },
39
- {
40
- date: '09/02/2020',
41
- price: '$27,423',
42
- market: '104%',
43
- score: 'Platinum',
44
- tags: ['dog', 'cat', 'fish', 'hamster'],
45
- },
46
- {
47
- date: '09/03/2020',
48
- price: '$27,521',
49
- market: '106%',
50
- score: 'Platinum',
51
- tags: ['4wd', 'sports'],
52
- },
53
- {
54
- date: '09/04/2020',
55
- price: '$27,687',
56
- market: '107%',
57
- score: 'Platinum',
58
- tags: ['leather', 'chrome'],
59
- },
60
- ];
61
- }
62
- componentDidLoad() {
63
- const { table, items, fields } = this;
64
- table.data = items;
65
- table.fields = fields;
66
- table.details = this.renderDetails;
67
- }
68
- render() {
69
- return h("proto-table", { ref: el => (this.table = el) });
70
- }
71
- static get is() { return "demo-table"; }
72
- static get encapsulation() { return "shadow"; }
73
- static get originalStyleUrls() {
74
- return {
75
- "$": ["demo-table.css"]
76
- };
77
- }
78
- static get styleUrls() {
79
- return {
80
- "$": ["demo-table.css"]
81
- };
82
- }
3
+ constructor() {
4
+ this.fields = [
5
+ { label: 'Date', prop: 'date' },
6
+ { label: 'List Price', prop: 'price' },
7
+ { label: '% of Market', prop: 'market' },
8
+ { label: 'ProfitTime Score', prop: 'score' },
9
+ ];
10
+ this.items = [];
11
+ this.table = undefined;
12
+ this.renderDetails = item => {
13
+ const { tags = [] } = item;
14
+ return (h("div", { class: "detailWrapper" }, h("span", null, tags.length, " details..."), h("ul", null, tags.map(tag => (h("li", null, tag))))));
15
+ };
16
+ }
17
+ componentWillLoad() {
18
+ this.items = [
19
+ {
20
+ date: '08/30/2020',
21
+ price: '$24,000',
22
+ market: '98%',
23
+ score: 'No Score',
24
+ tags: ['one', 'two', 'three'],
25
+ },
26
+ {
27
+ date: '08/31/2020',
28
+ price: '$24,000',
29
+ market: '99%',
30
+ score: 'No Score',
31
+ tags: ['uno', 'duo'],
32
+ },
33
+ {
34
+ date: '09/01/2020',
35
+ price: '$27,000',
36
+ market: '102%',
37
+ score: 'Platinum',
38
+ },
39
+ {
40
+ date: '09/02/2020',
41
+ price: '$27,423',
42
+ market: '104%',
43
+ score: 'Platinum',
44
+ tags: ['dog', 'cat', 'fish', 'hamster'],
45
+ },
46
+ {
47
+ date: '09/03/2020',
48
+ price: '$27,521',
49
+ market: '106%',
50
+ score: 'Platinum',
51
+ tags: ['4wd', 'sports'],
52
+ },
53
+ {
54
+ date: '09/04/2020',
55
+ price: '$27,687',
56
+ market: '107%',
57
+ score: 'Platinum',
58
+ tags: ['leather', 'chrome'],
59
+ },
60
+ ];
61
+ }
62
+ componentDidLoad() {
63
+ const { table, items, fields } = this;
64
+ table.data = items;
65
+ table.fields = fields;
66
+ table.details = this.renderDetails;
67
+ }
68
+ render() {
69
+ return h("proto-table", { ref: el => (this.table = el) });
70
+ }
71
+ static get is() { return "demo-table"; }
72
+ static get encapsulation() { return "shadow"; }
73
+ static get originalStyleUrls() {
74
+ return {
75
+ "$": ["demo-table.css"]
76
+ };
77
+ }
78
+ static get styleUrls() {
79
+ return {
80
+ "$": ["demo-table.css"]
81
+ };
82
+ }
83
83
  }
@@ -1,11 +1,11 @@
1
1
  const iconPaths = {
2
- 'down': 'M12 15.4L6.6 10 8 8.6l4 4 4-4 1.4 1.4z',
3
- 'up': 'M16 15.4l-4-4-4 4L6.6 14 12 8.6l5.4 5.4z',
4
- 'left': 'M14 17.4L8.6 12 14 6.6 15.4 8l-4 4 4 4z',
5
- 'right': 'M10 17.4L8.6 16l4-4-4-4L10 6.6l5.4 5.4z',
6
- 'more': 'M12 14a2 2 0 100-4 2 2 0 000 4zm-6 0a2 2 0 100-4 2 2 0 000 4zm12 0a2 2 0 100-4 2 2 0 000 4z',
7
- 'arrow-up': 'M5.3 10.7l1.4 1.4L11 7.8V20h2V7.8l4.3 4.3 1.4-1.4L12 4z',
8
- 'arrow-down': 'M18.7 13.3l-1.4-1.4-4.3 4.3V4h-2v12.2l-4.3-4.3-1.4 1.4L12 20z',
2
+ 'down': 'M12 15.4L6.6 10 8 8.6l4 4 4-4 1.4 1.4z',
3
+ 'up': 'M16 15.4l-4-4-4 4L6.6 14 12 8.6l5.4 5.4z',
4
+ 'left': 'M14 17.4L8.6 12 14 6.6 15.4 8l-4 4 4 4z',
5
+ 'right': 'M10 17.4L8.6 16l4-4-4-4L10 6.6l5.4 5.4z',
6
+ 'more': 'M12 14a2 2 0 100-4 2 2 0 000 4zm-6 0a2 2 0 100-4 2 2 0 000 4zm12 0a2 2 0 100-4 2 2 0 000 4z',
7
+ 'arrow-up': 'M5.3 10.7l1.4 1.4L11 7.8V20h2V7.8l4.3 4.3 1.4-1.4L12 4z',
8
+ 'arrow-down': 'M18.7 13.3l-1.4-1.4-4.3 4.3V4h-2v12.2l-4.3-4.3-1.4 1.4L12 20z',
9
9
  };
10
10
  export { iconPaths };
11
11
  export default iconPaths;