pebble-shared 2.5.0 → 2.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/native/Icon.d.ts CHANGED
@@ -2,7 +2,7 @@ import { Component } from "react";
2
2
  import { TextProps } from "react-native";
3
3
 
4
4
 
5
- export type IconName = "account_circle" | "actions" | "add-floors" | "add" | "added-details" | "admin" | "alert-filled" | "alert" | "apps" | "arrow-back" | "arrow-down" | "arrow-drop-down" | "arrow-drop-up" | "arrow-right" | "arrow-up" | "article" | "back" | "balcony" | "bar-graph" | "base-price" | "bathroom" | "bedroom" | "bolt" | "building" | "business" | "calendar" | "call-center" | "call" | "camera" | "car-front" | "car" | "change-naming" | "channel-partners" | "check-bold" | "check-circle-filled" | "check" | "checkbox-indeterminate" | "checkbox-selected" | "checkbox-unfilled" | "checkbox-unselected" | "checked-server" | "chevron-down" | "chevron-left" | "clock-filled" | "clock" | "close-circle-filled" | "close-circle" | "close" | "cloud-download" | "cloud-upload" | "configure-floors" | "configure-units" | "contact" | "control-unit" | "copy-filled" | "copy" | "cp-icon" | "cross" | "delete-2" | "delete-filled" | "delete" | "description" | "dialer" | "digital-leads" | "direct-walkins" | "direction-compass" | "direction" | "document-uploaded" | "document" | "dot" | "dots" | "download" | "edit-2" | "edit-alt" | "edit-note" | "edit-thin" | "edit" | "extra-area" | "eye-line" | "eye" | "face-to-face-2" | "face-to-face-3" | "face-to-face" | "facing" | "file" | "filter-2" | "filter-alt" | "filter" | "fire" | "firm" | "follow-up-2-filled" | "follow-up-2" | "follow-up" | "funnel" | "grade" | "hamburger-bold" | "hamburger" | "help-and-support" | "help" | "hidden" | "history" | "home-filled-2" | "home-filled" | "home" | "house-status" | "how-to-reg" | "incoming-call-2" | "incoming-call" | "incoming-calls" | "info-filled" | "info" | "inventory" | "invoice" | "jodi" | "junk" | "landscape" | "leads-tab" | "line-chart" | "link" | "list" | "location" | "lock-clock" | "lock-filled" | "lock-open" | "lock" | "logout-door" | "logout" | "mail-send" | "mail" | "mandates" | "meeting-room" | "mic" | "minus" | "missed-call" | "money" | "more" | "not-available" | "not-called" | "note-1" | "note-alt" | "note" | "notification" | "offline" | "open-external" | "opening-quote" | "orientation" | "other-leads" | "others" | "outgoing-call-2" | "outgoing-call" | "patchout" | "pause" | "percentage" | "person-add-disabled" | "person" | "phone-2" | "phone-alt" | "phone-filled" | "phone-in-talk" | "phone-incoming-2" | "phone-incoming" | "phone-missed" | "phone-outgoing-2" | "phone-outgoing" | "phone" | "play" | "plus" | "premium" | "print" | "priority-change" | "profile-1" | "profile" | "quotations" | "radio-check-filled" | "radio-check" | "radio-selected" | "radio" | "redo" | "reimbursements-2" | "reimbursements" | "reschedule" | "reset" | "revisit" | "rules" | "schedule-mail" | "search" | "self-added" | "settings-line" | "settings" | "share-with-people" | "share" | "site-visit-2" | "site-visit" | "sms" | "spinner" | "stats" | "store-2" | "store" | "system" | "table" | "team" | "training" | "transfer-2" | "transfer-alt" | "transfer" | "transferred" | "travel" | "trophy" | "unchecked-radio" | "undo" | "unlock" | "update" | "updating" | "upload" | "user-alt" | "user" | "videocam" | "view-details" | "vpn-key" | "warning-line" | "warning" | "whatsapp-filled" | "whatsapp";
5
+ export type IconName = "account_circle" | "actions" | "add-floors" | "add" | "added-details" | "admin" | "alert-filled" | "alert" | "apps" | "arrow-back" | "arrow-down" | "arrow-drop-down" | "arrow-drop-up" | "arrow-right" | "arrow-up" | "article" | "back" | "balcony" | "bar-graph" | "base-price" | "bathroom" | "bedroom" | "bolt" | "bookmark-add" | "building" | "business" | "calendar" | "call-center" | "call" | "camera" | "car-front" | "car" | "change-naming" | "channel-partners" | "check-bold" | "check-circle-filled" | "check" | "checkbox-indeterminate" | "checkbox-selected" | "checkbox-unfilled" | "checkbox-unselected" | "checked-server" | "chevron-down" | "chevron-left" | "clock-filled" | "clock" | "close-circle-filled" | "close-circle" | "close" | "cloud-download" | "cloud-upload" | "configure-floors" | "configure-units" | "contact" | "control-unit" | "copy-filled" | "copy" | "cp-icon" | "cross" | "delete-2" | "delete-filled" | "delete" | "description" | "dialer" | "digital-leads" | "direct-walkins" | "direction-compass" | "direction" | "document-uploaded" | "document" | "dot" | "dots" | "download" | "edit-2" | "edit-alt" | "edit-note" | "edit-thin" | "edit" | "extra-area" | "eye-line" | "eye" | "face-to-face-2" | "face-to-face-3" | "face-to-face" | "facing" | "file" | "filter-2" | "filter-alt" | "filter" | "fire" | "firm" | "follow-up-2-filled" | "follow-up-2" | "follow-up" | "funnel" | "grade" | "hamburger-bold" | "hamburger" | "help-and-support" | "help" | "hidden" | "history" | "home-filled-2" | "home-filled" | "home" | "house-status" | "how-to-reg" | "incoming-call-2" | "incoming-call" | "incoming-calls" | "info-filled" | "info" | "inventory" | "invoice" | "jodi" | "junk" | "landscape" | "leads-tab" | "line-chart" | "link" | "list" | "location" | "lock-clock" | "lock-filled" | "lock-open" | "lock" | "logout-door" | "logout" | "mail-send" | "mail" | "mandates" | "meeting-room" | "mic" | "minus" | "missed-call" | "money" | "more" | "not-available" | "not-called" | "note-1" | "note-alt" | "note" | "notification" | "offline" | "open-external" | "opening-quote" | "orientation" | "other-leads" | "others" | "outgoing-call-2" | "outgoing-call" | "patchout" | "pause" | "percentage" | "person-add-disabled" | "person" | "phone-2" | "phone-alt" | "phone-filled" | "phone-in-talk" | "phone-incoming-2" | "phone-incoming" | "phone-missed" | "phone-outgoing-2" | "phone-outgoing" | "phone" | "play" | "plus" | "premium" | "print" | "priority-change" | "profile-1" | "profile" | "quotations" | "radio-check-filled" | "radio-check" | "radio-selected" | "radio" | "redo" | "reimbursements-2" | "reimbursements" | "reschedule" | "reset" | "revisit" | "rules" | "schedule-mail" | "search" | "self-added" | "settings-line" | "settings" | "share-with-people" | "share" | "site-visit-2" | "site-visit" | "sms" | "spinner" | "stats" | "store-2" | "store" | "system" | "table" | "team" | "training" | "transfer-2" | "transfer-alt" | "transfer" | "transferred" | "travel" | "trophy" | "unchecked-radio" | "undo" | "unlock" | "update" | "updating" | "upload" | "user-alt" | "user" | "videocam" | "view-details" | "vpn-key" | "warning-line" | "warning" | "whatsapp-filled" | "whatsapp";
6
6
 
7
7
  export interface IconProps extends TextProps {
8
8
  name: IconName;
package/native/Icon.js CHANGED
@@ -23,206 +23,207 @@ const glyphMap = {
23
23
  "bathroom": 61717,
24
24
  "bedroom": 61718,
25
25
  "bolt": 61719,
26
- "building": 61720,
27
- "business": 61721,
28
- "calendar": 61722,
29
- "call-center": 61723,
30
- "call": 61724,
31
- "camera": 61725,
32
- "car-front": 61726,
33
- "car": 61727,
34
- "change-naming": 61728,
35
- "channel-partners": 61729,
36
- "check-bold": 61730,
37
- "check-circle-filled": 61731,
38
- "check": 61732,
39
- "checkbox-indeterminate": 61733,
40
- "checkbox-selected": 61734,
41
- "checkbox-unfilled": 61735,
42
- "checkbox-unselected": 61736,
43
- "checked-server": 61737,
44
- "chevron-down": 61738,
45
- "chevron-left": 61739,
46
- "clock-filled": 61740,
47
- "clock": 61741,
48
- "close-circle-filled": 61742,
49
- "close-circle": 61743,
50
- "close": 61744,
51
- "cloud-download": 61745,
52
- "cloud-upload": 61746,
53
- "configure-floors": 61747,
54
- "configure-units": 61748,
55
- "contact": 61749,
56
- "control-unit": 61750,
57
- "copy-filled": 61751,
58
- "copy": 61752,
59
- "cp-icon": 61753,
60
- "cross": 61754,
61
- "delete-2": 61755,
62
- "delete-filled": 61756,
63
- "delete": 61757,
64
- "description": 61758,
65
- "dialer": 61759,
66
- "digital-leads": 61760,
67
- "direct-walkins": 61761,
68
- "direction-compass": 61762,
69
- "direction": 61763,
70
- "document-uploaded": 61764,
71
- "document": 61765,
72
- "dot": 61766,
73
- "dots": 61767,
74
- "download": 61768,
75
- "edit-2": 61769,
76
- "edit-alt": 61770,
77
- "edit-note": 61771,
78
- "edit-thin": 61772,
79
- "edit": 61773,
80
- "extra-area": 61774,
81
- "eye-line": 61775,
82
- "eye": 61776,
83
- "face-to-face-2": 61777,
84
- "face-to-face-3": 61778,
85
- "face-to-face": 61779,
86
- "facing": 61780,
87
- "file": 61781,
88
- "filter-2": 61782,
89
- "filter-alt": 61783,
90
- "filter": 61784,
91
- "fire": 61785,
92
- "firm": 61786,
93
- "follow-up-2-filled": 61787,
94
- "follow-up-2": 61788,
95
- "follow-up": 61789,
96
- "funnel": 61790,
97
- "grade": 61791,
98
- "hamburger-bold": 61792,
99
- "hamburger": 61793,
100
- "help-and-support": 61794,
101
- "help": 61795,
102
- "hidden": 61796,
103
- "history": 61797,
104
- "home-filled-2": 61798,
105
- "home-filled": 61799,
106
- "home": 61800,
107
- "house-status": 61801,
108
- "how-to-reg": 61802,
109
- "incoming-call-2": 61803,
110
- "incoming-call": 61804,
111
- "incoming-calls": 61805,
112
- "info-filled": 61806,
113
- "info": 61807,
114
- "inventory": 61808,
115
- "invoice": 61809,
116
- "jodi": 61810,
117
- "junk": 61811,
118
- "landscape": 61812,
119
- "leads-tab": 61813,
120
- "line-chart": 61814,
121
- "link": 61815,
122
- "list": 61816,
123
- "location": 61817,
124
- "lock-clock": 61818,
125
- "lock-filled": 61819,
126
- "lock-open": 61820,
127
- "lock": 61821,
128
- "logout-door": 61822,
129
- "logout": 61823,
130
- "mail-send": 61824,
131
- "mail": 61825,
132
- "mandates": 61826,
133
- "meeting-room": 61827,
134
- "mic": 61828,
135
- "minus": 61829,
136
- "missed-call": 61830,
137
- "money": 61831,
138
- "more": 61832,
139
- "not-available": 61833,
140
- "not-called": 61834,
141
- "note-1": 61835,
142
- "note-alt": 61836,
143
- "note": 61837,
144
- "notification": 61838,
145
- "offline": 61839,
146
- "open-external": 61840,
147
- "opening-quote": 61841,
148
- "orientation": 61842,
149
- "other-leads": 61843,
150
- "others": 61844,
151
- "outgoing-call-2": 61845,
152
- "outgoing-call": 61846,
153
- "patchout": 61847,
154
- "pause": 61848,
155
- "percentage": 61849,
156
- "person-add-disabled": 61850,
157
- "person": 61851,
158
- "phone-2": 61852,
159
- "phone-alt": 61853,
160
- "phone-filled": 61854,
161
- "phone-in-talk": 61855,
162
- "phone-incoming-2": 61856,
163
- "phone-incoming": 61857,
164
- "phone-missed": 61858,
165
- "phone-outgoing-2": 61859,
166
- "phone-outgoing": 61860,
167
- "phone": 61861,
168
- "play": 61862,
169
- "plus": 61863,
170
- "premium": 61864,
171
- "print": 61865,
172
- "priority-change": 61866,
173
- "profile-1": 61867,
174
- "profile": 61868,
175
- "quotations": 61869,
176
- "radio-check-filled": 61870,
177
- "radio-check": 61871,
178
- "radio-selected": 61872,
179
- "radio": 61873,
180
- "redo": 61874,
181
- "reimbursements-2": 61875,
182
- "reimbursements": 61876,
183
- "reschedule": 61877,
184
- "reset": 61878,
185
- "revisit": 61879,
186
- "rules": 61880,
187
- "schedule-mail": 61881,
188
- "search": 61882,
189
- "self-added": 61883,
190
- "settings-line": 61884,
191
- "settings": 61885,
192
- "share-with-people": 61886,
193
- "share": 61887,
194
- "site-visit-2": 61888,
195
- "site-visit": 61889,
196
- "sms": 61890,
197
- "spinner": 61891,
198
- "stats": 61892,
199
- "store-2": 61893,
200
- "store": 61894,
201
- "system": 61895,
202
- "table": 61896,
203
- "team": 61897,
204
- "training": 61898,
205
- "transfer-2": 61899,
206
- "transfer-alt": 61900,
207
- "transfer": 61901,
208
- "transferred": 61902,
209
- "travel": 61903,
210
- "trophy": 61904,
211
- "unchecked-radio": 61905,
212
- "undo": 61906,
213
- "unlock": 61907,
214
- "update": 61908,
215
- "updating": 61909,
216
- "upload": 61910,
217
- "user-alt": 61911,
218
- "user": 61912,
219
- "videocam": 61913,
220
- "view-details": 61914,
221
- "vpn-key": 61915,
222
- "warning-line": 61916,
223
- "warning": 61917,
224
- "whatsapp-filled": 61918,
225
- "whatsapp": 61919
26
+ "bookmark-add": 61720,
27
+ "building": 61721,
28
+ "business": 61722,
29
+ "calendar": 61723,
30
+ "call-center": 61724,
31
+ "call": 61725,
32
+ "camera": 61726,
33
+ "car-front": 61727,
34
+ "car": 61728,
35
+ "change-naming": 61729,
36
+ "channel-partners": 61730,
37
+ "check-bold": 61731,
38
+ "check-circle-filled": 61732,
39
+ "check": 61733,
40
+ "checkbox-indeterminate": 61734,
41
+ "checkbox-selected": 61735,
42
+ "checkbox-unfilled": 61736,
43
+ "checkbox-unselected": 61737,
44
+ "checked-server": 61738,
45
+ "chevron-down": 61739,
46
+ "chevron-left": 61740,
47
+ "clock-filled": 61741,
48
+ "clock": 61742,
49
+ "close-circle-filled": 61743,
50
+ "close-circle": 61744,
51
+ "close": 61745,
52
+ "cloud-download": 61746,
53
+ "cloud-upload": 61747,
54
+ "configure-floors": 61748,
55
+ "configure-units": 61749,
56
+ "contact": 61750,
57
+ "control-unit": 61751,
58
+ "copy-filled": 61752,
59
+ "copy": 61753,
60
+ "cp-icon": 61754,
61
+ "cross": 61755,
62
+ "delete-2": 61756,
63
+ "delete-filled": 61757,
64
+ "delete": 61758,
65
+ "description": 61759,
66
+ "dialer": 61760,
67
+ "digital-leads": 61761,
68
+ "direct-walkins": 61762,
69
+ "direction-compass": 61763,
70
+ "direction": 61764,
71
+ "document-uploaded": 61765,
72
+ "document": 61766,
73
+ "dot": 61767,
74
+ "dots": 61768,
75
+ "download": 61769,
76
+ "edit-2": 61770,
77
+ "edit-alt": 61771,
78
+ "edit-note": 61772,
79
+ "edit-thin": 61773,
80
+ "edit": 61774,
81
+ "extra-area": 61775,
82
+ "eye-line": 61776,
83
+ "eye": 61777,
84
+ "face-to-face-2": 61778,
85
+ "face-to-face-3": 61779,
86
+ "face-to-face": 61780,
87
+ "facing": 61781,
88
+ "file": 61782,
89
+ "filter-2": 61783,
90
+ "filter-alt": 61784,
91
+ "filter": 61785,
92
+ "fire": 61786,
93
+ "firm": 61787,
94
+ "follow-up-2-filled": 61788,
95
+ "follow-up-2": 61789,
96
+ "follow-up": 61790,
97
+ "funnel": 61791,
98
+ "grade": 61792,
99
+ "hamburger-bold": 61793,
100
+ "hamburger": 61794,
101
+ "help-and-support": 61795,
102
+ "help": 61796,
103
+ "hidden": 61797,
104
+ "history": 61798,
105
+ "home-filled-2": 61799,
106
+ "home-filled": 61800,
107
+ "home": 61801,
108
+ "house-status": 61802,
109
+ "how-to-reg": 61803,
110
+ "incoming-call-2": 61804,
111
+ "incoming-call": 61805,
112
+ "incoming-calls": 61806,
113
+ "info-filled": 61807,
114
+ "info": 61808,
115
+ "inventory": 61809,
116
+ "invoice": 61810,
117
+ "jodi": 61811,
118
+ "junk": 61812,
119
+ "landscape": 61813,
120
+ "leads-tab": 61814,
121
+ "line-chart": 61815,
122
+ "link": 61816,
123
+ "list": 61817,
124
+ "location": 61818,
125
+ "lock-clock": 61819,
126
+ "lock-filled": 61820,
127
+ "lock-open": 61821,
128
+ "lock": 61822,
129
+ "logout-door": 61823,
130
+ "logout": 61824,
131
+ "mail-send": 61825,
132
+ "mail": 61826,
133
+ "mandates": 61827,
134
+ "meeting-room": 61828,
135
+ "mic": 61829,
136
+ "minus": 61830,
137
+ "missed-call": 61831,
138
+ "money": 61832,
139
+ "more": 61833,
140
+ "not-available": 61834,
141
+ "not-called": 61835,
142
+ "note-1": 61836,
143
+ "note-alt": 61837,
144
+ "note": 61838,
145
+ "notification": 61839,
146
+ "offline": 61840,
147
+ "open-external": 61841,
148
+ "opening-quote": 61842,
149
+ "orientation": 61843,
150
+ "other-leads": 61844,
151
+ "others": 61845,
152
+ "outgoing-call-2": 61846,
153
+ "outgoing-call": 61847,
154
+ "patchout": 61848,
155
+ "pause": 61849,
156
+ "percentage": 61850,
157
+ "person-add-disabled": 61851,
158
+ "person": 61852,
159
+ "phone-2": 61853,
160
+ "phone-alt": 61854,
161
+ "phone-filled": 61855,
162
+ "phone-in-talk": 61856,
163
+ "phone-incoming-2": 61857,
164
+ "phone-incoming": 61858,
165
+ "phone-missed": 61859,
166
+ "phone-outgoing-2": 61860,
167
+ "phone-outgoing": 61861,
168
+ "phone": 61862,
169
+ "play": 61863,
170
+ "plus": 61864,
171
+ "premium": 61865,
172
+ "print": 61866,
173
+ "priority-change": 61867,
174
+ "profile-1": 61868,
175
+ "profile": 61869,
176
+ "quotations": 61870,
177
+ "radio-check-filled": 61871,
178
+ "radio-check": 61872,
179
+ "radio-selected": 61873,
180
+ "radio": 61874,
181
+ "redo": 61875,
182
+ "reimbursements-2": 61876,
183
+ "reimbursements": 61877,
184
+ "reschedule": 61878,
185
+ "reset": 61879,
186
+ "revisit": 61880,
187
+ "rules": 61881,
188
+ "schedule-mail": 61882,
189
+ "search": 61883,
190
+ "self-added": 61884,
191
+ "settings-line": 61885,
192
+ "settings": 61886,
193
+ "share-with-people": 61887,
194
+ "share": 61888,
195
+ "site-visit-2": 61889,
196
+ "site-visit": 61890,
197
+ "sms": 61891,
198
+ "spinner": 61892,
199
+ "stats": 61893,
200
+ "store-2": 61894,
201
+ "store": 61895,
202
+ "system": 61896,
203
+ "table": 61897,
204
+ "team": 61898,
205
+ "training": 61899,
206
+ "transfer-2": 61900,
207
+ "transfer-alt": 61901,
208
+ "transfer": 61902,
209
+ "transferred": 61903,
210
+ "travel": 61904,
211
+ "trophy": 61905,
212
+ "unchecked-radio": 61906,
213
+ "undo": 61907,
214
+ "unlock": 61908,
215
+ "update": 61909,
216
+ "updating": 61910,
217
+ "upload": 61911,
218
+ "user-alt": 61912,
219
+ "user": 61913,
220
+ "videocam": 61914,
221
+ "view-details": 61915,
222
+ "vpn-key": 61916,
223
+ "warning-line": 61917,
224
+ "warning": 61918,
225
+ "whatsapp-filled": 61919,
226
+ "whatsapp": 61920
226
227
  };
227
228
 
228
229
  const iconSet = createIconSet(glyphMap, 'pebble', 'pebble.ttf');
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pebble-shared",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/pebble-shared.js",
6
6
  "files": [
@@ -12,8 +12,9 @@
12
12
  "typings": "dist/index.d.ts",
13
13
  "unpkg": "dist/pebble-shared.umd.js",
14
14
  "scripts": {
15
- "build": "rm -rf dist && tsc && rollup -c && yarn build:icons && yarn copy:fonts",
15
+ "build": "rm -rf dist && yarn build:iconenum && tsc && rollup -c && yarn build:icons && yarn copy:fonts",
16
16
  "build:icons": "node ./scripts/generateIcon.js",
17
+ "build:iconenum": "node ./scripts/generateIconEnum.js",
17
18
  "copy:fonts": "copy './dist/fonts/*.ttf' ./native/icons",
18
19
  "test": "exit 0",
19
20
  "prepublishOnly": "yarn build"
@@ -21,5 +22,5 @@
21
22
  "devDependencies": {
22
23
  "@types/react-native": "^0.68.0"
23
24
  },
24
- "gitHead": "10642c163578a97858d3df92ec9532d01c2cbc52"
25
+ "gitHead": "d569cdeb12f659905b61f0642b91a5b3c1371784"
25
26
  }