pebble-web 2.7.0 → 2.8.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.
@@ -1207,6 +1207,233 @@
1207
1207
  border: "#E6E6E6"
1208
1208
  }
1209
1209
  };
1210
+ var PebbleIcon;
1211
+ (function (PebbleIcon) {
1212
+ PebbleIcon["AccountCircle"] = "account_circle";
1213
+ PebbleIcon["Actions"] = "actions";
1214
+ PebbleIcon["AddFloors"] = "add-floors";
1215
+ PebbleIcon["Add"] = "add";
1216
+ PebbleIcon["AddedDetails"] = "added-details";
1217
+ PebbleIcon["Admin"] = "admin";
1218
+ PebbleIcon["AlertFilled"] = "alert-filled";
1219
+ PebbleIcon["Alert"] = "alert";
1220
+ PebbleIcon["Apps"] = "apps";
1221
+ PebbleIcon["ArrowBack"] = "arrow-back";
1222
+ PebbleIcon["ArrowDown"] = "arrow-down";
1223
+ PebbleIcon["ArrowDropDown"] = "arrow-drop-down";
1224
+ PebbleIcon["ArrowDropUp"] = "arrow-drop-up";
1225
+ PebbleIcon["ArrowRight"] = "arrow-right";
1226
+ PebbleIcon["ArrowUp"] = "arrow-up";
1227
+ PebbleIcon["Article"] = "article";
1228
+ PebbleIcon["Back"] = "back";
1229
+ PebbleIcon["Balcony"] = "balcony";
1230
+ PebbleIcon["BarGraph"] = "bar-graph";
1231
+ PebbleIcon["BasePrice"] = "base-price";
1232
+ PebbleIcon["Bathroom"] = "bathroom";
1233
+ PebbleIcon["Bedroom"] = "bedroom";
1234
+ PebbleIcon["Bolt"] = "bolt";
1235
+ PebbleIcon["BookmarkAdd"] = "bookmark-add";
1236
+ PebbleIcon["Building"] = "building";
1237
+ PebbleIcon["Business"] = "business";
1238
+ PebbleIcon["Calendar"] = "calendar";
1239
+ PebbleIcon["CallCenter"] = "call-center";
1240
+ PebbleIcon["Call"] = "call";
1241
+ PebbleIcon["Camera"] = "camera";
1242
+ PebbleIcon["CarFront"] = "car-front";
1243
+ PebbleIcon["Car"] = "car";
1244
+ PebbleIcon["ChangeNaming"] = "change-naming";
1245
+ PebbleIcon["ChannelPartners"] = "channel-partners";
1246
+ PebbleIcon["CheckBold"] = "check-bold";
1247
+ PebbleIcon["CheckCircleFilled"] = "check-circle-filled";
1248
+ PebbleIcon["Check"] = "check";
1249
+ PebbleIcon["CheckboxIndeterminate"] = "checkbox-indeterminate";
1250
+ PebbleIcon["CheckboxSelected"] = "checkbox-selected";
1251
+ PebbleIcon["CheckboxUnfilled"] = "checkbox-unfilled";
1252
+ PebbleIcon["CheckboxUnselected"] = "checkbox-unselected";
1253
+ PebbleIcon["CheckedServer"] = "checked-server";
1254
+ PebbleIcon["ChevronDown"] = "chevron-down";
1255
+ PebbleIcon["ChevronLeft"] = "chevron-left";
1256
+ PebbleIcon["ClockFilled"] = "clock-filled";
1257
+ PebbleIcon["Clock"] = "clock";
1258
+ PebbleIcon["CloseCircleFilled"] = "close-circle-filled";
1259
+ PebbleIcon["CloseCircle"] = "close-circle";
1260
+ PebbleIcon["Close"] = "close";
1261
+ PebbleIcon["CloudDownload"] = "cloud-download";
1262
+ PebbleIcon["CloudUpload"] = "cloud-upload";
1263
+ PebbleIcon["ConfigureFloors"] = "configure-floors";
1264
+ PebbleIcon["ConfigureUnits"] = "configure-units";
1265
+ PebbleIcon["Contact"] = "contact";
1266
+ PebbleIcon["ControlUnit"] = "control-unit";
1267
+ PebbleIcon["CopyFilled"] = "copy-filled";
1268
+ PebbleIcon["Copy"] = "copy";
1269
+ PebbleIcon["CpIcon"] = "cp-icon";
1270
+ PebbleIcon["Cross"] = "cross";
1271
+ PebbleIcon["Delete2"] = "delete-2";
1272
+ PebbleIcon["DeleteFilled"] = "delete-filled";
1273
+ PebbleIcon["Delete"] = "delete";
1274
+ PebbleIcon["Description"] = "description";
1275
+ PebbleIcon["Dialer"] = "dialer";
1276
+ PebbleIcon["DigitalLeads"] = "digital-leads";
1277
+ PebbleIcon["DirectWalkins"] = "direct-walkins";
1278
+ PebbleIcon["DirectionCompass"] = "direction-compass";
1279
+ PebbleIcon["Direction"] = "direction";
1280
+ PebbleIcon["DocumentUploaded"] = "document-uploaded";
1281
+ PebbleIcon["Document"] = "document";
1282
+ PebbleIcon["Dot"] = "dot";
1283
+ PebbleIcon["Dots"] = "dots";
1284
+ PebbleIcon["Download"] = "download";
1285
+ PebbleIcon["Edit2"] = "edit-2";
1286
+ PebbleIcon["EditAlt"] = "edit-alt";
1287
+ PebbleIcon["EditNote"] = "edit-note";
1288
+ PebbleIcon["EditThin"] = "edit-thin";
1289
+ PebbleIcon["Edit"] = "edit";
1290
+ PebbleIcon["ExtraArea"] = "extra-area";
1291
+ PebbleIcon["EyeLine"] = "eye-line";
1292
+ PebbleIcon["Eye"] = "eye";
1293
+ PebbleIcon["FaceToFace2"] = "face-to-face-2";
1294
+ PebbleIcon["FaceToFace3"] = "face-to-face-3";
1295
+ PebbleIcon["FaceToFace"] = "face-to-face";
1296
+ PebbleIcon["Facing"] = "facing";
1297
+ PebbleIcon["File"] = "file";
1298
+ PebbleIcon["Filter2"] = "filter-2";
1299
+ PebbleIcon["FilterAlt"] = "filter-alt";
1300
+ PebbleIcon["Filter"] = "filter";
1301
+ PebbleIcon["Fire"] = "fire";
1302
+ PebbleIcon["Firm"] = "firm";
1303
+ PebbleIcon["FollowUp2Filled"] = "follow-up-2-filled";
1304
+ PebbleIcon["FollowUp2"] = "follow-up-2";
1305
+ PebbleIcon["FollowUp"] = "follow-up";
1306
+ PebbleIcon["Funnel"] = "funnel";
1307
+ PebbleIcon["Grade"] = "grade";
1308
+ PebbleIcon["HamburgerBold"] = "hamburger-bold";
1309
+ PebbleIcon["Hamburger"] = "hamburger";
1310
+ PebbleIcon["HelpAndSupport"] = "help-and-support";
1311
+ PebbleIcon["Help"] = "help";
1312
+ PebbleIcon["Hidden"] = "hidden";
1313
+ PebbleIcon["History"] = "history";
1314
+ PebbleIcon["HomeFilled2"] = "home-filled-2";
1315
+ PebbleIcon["HomeFilled"] = "home-filled";
1316
+ PebbleIcon["Home"] = "home";
1317
+ PebbleIcon["HouseStatus"] = "house-status";
1318
+ PebbleIcon["HowToReg"] = "how-to-reg";
1319
+ PebbleIcon["IncomingCall2"] = "incoming-call-2";
1320
+ PebbleIcon["IncomingCall"] = "incoming-call";
1321
+ PebbleIcon["IncomingCalls"] = "incoming-calls";
1322
+ PebbleIcon["InfoFilled"] = "info-filled";
1323
+ PebbleIcon["Info"] = "info";
1324
+ PebbleIcon["Inventory"] = "inventory";
1325
+ PebbleIcon["Invoice"] = "invoice";
1326
+ PebbleIcon["Jodi"] = "jodi";
1327
+ PebbleIcon["Junk"] = "junk";
1328
+ PebbleIcon["Landscape"] = "landscape";
1329
+ PebbleIcon["LeadsTab"] = "leads-tab";
1330
+ PebbleIcon["LineChart"] = "line-chart";
1331
+ PebbleIcon["Link"] = "link";
1332
+ PebbleIcon["List"] = "list";
1333
+ PebbleIcon["Location"] = "location";
1334
+ PebbleIcon["LockClock"] = "lock-clock";
1335
+ PebbleIcon["LockFilled"] = "lock-filled";
1336
+ PebbleIcon["LockOpen"] = "lock-open";
1337
+ PebbleIcon["Lock"] = "lock";
1338
+ PebbleIcon["LogoutDoor"] = "logout-door";
1339
+ PebbleIcon["Logout"] = "logout";
1340
+ PebbleIcon["MailSend"] = "mail-send";
1341
+ PebbleIcon["Mail"] = "mail";
1342
+ PebbleIcon["Mandates"] = "mandates";
1343
+ PebbleIcon["MeetingRoom"] = "meeting-room";
1344
+ PebbleIcon["Mic"] = "mic";
1345
+ PebbleIcon["Minus"] = "minus";
1346
+ PebbleIcon["MissedCall"] = "missed-call";
1347
+ PebbleIcon["Money"] = "money";
1348
+ PebbleIcon["More"] = "more";
1349
+ PebbleIcon["NotAvailable"] = "not-available";
1350
+ PebbleIcon["NotCalled"] = "not-called";
1351
+ PebbleIcon["Note1"] = "note-1";
1352
+ PebbleIcon["NoteAlt"] = "note-alt";
1353
+ PebbleIcon["Note"] = "note";
1354
+ PebbleIcon["Notification"] = "notification";
1355
+ PebbleIcon["Offline"] = "offline";
1356
+ PebbleIcon["OpenExternal"] = "open-external";
1357
+ PebbleIcon["OpeningQuote"] = "opening-quote";
1358
+ PebbleIcon["Orientation"] = "orientation";
1359
+ PebbleIcon["OtherLeads"] = "other-leads";
1360
+ PebbleIcon["Others"] = "others";
1361
+ PebbleIcon["OutgoingCall2"] = "outgoing-call-2";
1362
+ PebbleIcon["OutgoingCall"] = "outgoing-call";
1363
+ PebbleIcon["Patchout"] = "patchout";
1364
+ PebbleIcon["Pause"] = "pause";
1365
+ PebbleIcon["Percentage"] = "percentage";
1366
+ PebbleIcon["PersonAddDisabled"] = "person-add-disabled";
1367
+ PebbleIcon["Person"] = "person";
1368
+ PebbleIcon["Phone2"] = "phone-2";
1369
+ PebbleIcon["PhoneAlt"] = "phone-alt";
1370
+ PebbleIcon["PhoneFilled"] = "phone-filled";
1371
+ PebbleIcon["PhoneInTalk"] = "phone-in-talk";
1372
+ PebbleIcon["PhoneIncoming2"] = "phone-incoming-2";
1373
+ PebbleIcon["PhoneIncoming"] = "phone-incoming";
1374
+ PebbleIcon["PhoneMissed"] = "phone-missed";
1375
+ PebbleIcon["PhoneOutgoing2"] = "phone-outgoing-2";
1376
+ PebbleIcon["PhoneOutgoing"] = "phone-outgoing";
1377
+ PebbleIcon["Phone"] = "phone";
1378
+ PebbleIcon["Play"] = "play";
1379
+ PebbleIcon["Plus"] = "plus";
1380
+ PebbleIcon["Premium"] = "premium";
1381
+ PebbleIcon["Print"] = "print";
1382
+ PebbleIcon["PriorityChange"] = "priority-change";
1383
+ PebbleIcon["Profile1"] = "profile-1";
1384
+ PebbleIcon["Profile"] = "profile";
1385
+ PebbleIcon["Quotations"] = "quotations";
1386
+ PebbleIcon["RadioCheckFilled"] = "radio-check-filled";
1387
+ PebbleIcon["RadioCheck"] = "radio-check";
1388
+ PebbleIcon["RadioSelected"] = "radio-selected";
1389
+ PebbleIcon["Radio"] = "radio";
1390
+ PebbleIcon["Redo"] = "redo";
1391
+ PebbleIcon["Reimbursements2"] = "reimbursements-2";
1392
+ PebbleIcon["Reimbursements"] = "reimbursements";
1393
+ PebbleIcon["Reschedule"] = "reschedule";
1394
+ PebbleIcon["Reset"] = "reset";
1395
+ PebbleIcon["Revisit"] = "revisit";
1396
+ PebbleIcon["Rules"] = "rules";
1397
+ PebbleIcon["ScheduleMail"] = "schedule-mail";
1398
+ PebbleIcon["Search"] = "search";
1399
+ PebbleIcon["SelfAdded"] = "self-added";
1400
+ PebbleIcon["SettingsLine"] = "settings-line";
1401
+ PebbleIcon["Settings"] = "settings";
1402
+ PebbleIcon["ShareWithPeople"] = "share-with-people";
1403
+ PebbleIcon["Share"] = "share";
1404
+ PebbleIcon["SiteVisit2"] = "site-visit-2";
1405
+ PebbleIcon["SiteVisit"] = "site-visit";
1406
+ PebbleIcon["Sms"] = "sms";
1407
+ PebbleIcon["Spinner"] = "spinner";
1408
+ PebbleIcon["Stats"] = "stats";
1409
+ PebbleIcon["Store2"] = "store-2";
1410
+ PebbleIcon["Store"] = "store";
1411
+ PebbleIcon["System"] = "system";
1412
+ PebbleIcon["Table"] = "table";
1413
+ PebbleIcon["Team"] = "team";
1414
+ PebbleIcon["Training"] = "training";
1415
+ PebbleIcon["Transfer2"] = "transfer-2";
1416
+ PebbleIcon["TransferAlt"] = "transfer-alt";
1417
+ PebbleIcon["Transfer"] = "transfer";
1418
+ PebbleIcon["Transferred"] = "transferred";
1419
+ PebbleIcon["Travel"] = "travel";
1420
+ PebbleIcon["Trophy"] = "trophy";
1421
+ PebbleIcon["UncheckedRadio"] = "unchecked-radio";
1422
+ PebbleIcon["Undo"] = "undo";
1423
+ PebbleIcon["Unlock"] = "unlock";
1424
+ PebbleIcon["Update"] = "update";
1425
+ PebbleIcon["Updating"] = "updating";
1426
+ PebbleIcon["Upload"] = "upload";
1427
+ PebbleIcon["UserAlt"] = "user-alt";
1428
+ PebbleIcon["User"] = "user";
1429
+ PebbleIcon["Videocam"] = "videocam";
1430
+ PebbleIcon["ViewDetails"] = "view-details";
1431
+ PebbleIcon["VpnKey"] = "vpn-key";
1432
+ PebbleIcon["WarningLine"] = "warning-line";
1433
+ PebbleIcon["Warning"] = "warning";
1434
+ PebbleIcon["WhatsappFilled"] = "whatsapp-filled";
1435
+ PebbleIcon["Whatsapp"] = "whatsapp";
1436
+ })(PebbleIcon || (PebbleIcon = {}));
1210
1437
 
1211
1438
  var constants = {
1212
1439
  borderRadius: 3,
@@ -1649,12 +1876,13 @@
1649
1876
  _ref$showRipple = _ref.showRipple,
1650
1877
  showRipple = _ref$showRipple === void 0 ? true : _ref$showRipple,
1651
1878
  loading = _ref.loading,
1879
+ filled = _ref.filled,
1652
1880
  _ref$size = _ref.size,
1653
1881
  size = _ref$size === void 0 ? "small" : _ref$size,
1654
1882
  buttonProps = _ref.buttonProps;
1655
1883
  var disableAction = disabled || loading;
1656
- var filled = size !== "x-small";
1657
- var _className = cx(getButtonStyle(size, type, !!showShadow, filled), className);
1884
+ var _filled = size !== "x-small" && filled !== false;
1885
+ var _className = cx(getButtonStyle(size, type, !!showShadow, _filled), className);
1658
1886
  return /*#__PURE__*/React.createElement("button", Object.assign({
1659
1887
  className: _className,
1660
1888
  onClick: !disableAction ? onClick : undefined,
@@ -10978,9 +11206,14 @@
10978
11206
  placeholder = _this$props.placeholder,
10979
11207
  propsValue = _this$props.value,
10980
11208
  disabled = _this$props.disabled,
10981
- errorMessage = _this$props.errorMessage;
11209
+ errorMessage = _this$props.errorMessage,
11210
+ placement = _this$props.placement,
11211
+ wrapperClassName = _this$props.wrapperClassName,
11212
+ initiallyOpen = _this$props.initiallyOpen;
11213
+ var _wrapperClassName = cx(wrapperStyle$3, wrapperClassName);
11214
+ var _dropDownClassName = cx(dropDownClassName, this.props.dropDownClassName);
10982
11215
  return /*#__PURE__*/React.createElement(DropDown, {
10983
- dropDownClassName: dropDownClassName,
11216
+ dropDownClassName: _dropDownClassName,
10984
11217
  labelComponent: function labelComponent(_ref) {
10985
11218
  var toggleDropdown = _ref.toggleDropdown;
10986
11219
  return /*#__PURE__*/React.createElement(Rifm, {
@@ -10994,7 +11227,7 @@
10994
11227
  onChange: noop,
10995
11228
  type: "tel",
10996
11229
  value: value,
10997
- placeholder: placeholder,
11230
+ placeholder: "".concat(placeholder, " DD/MM/YYYY"),
10998
11231
  onClick: function onClick() {
10999
11232
  if (disabled) return;
11000
11233
  toggleDropdown();
@@ -11011,9 +11244,10 @@
11011
11244
  }));
11012
11245
  });
11013
11246
  },
11014
- className: wrapperStyle$3,
11015
- placement: "bottom-start",
11016
- modifiers: modifiers$1
11247
+ className: _wrapperClassName,
11248
+ placement: placement,
11249
+ modifiers: modifiers$1,
11250
+ initiallyOpen: initiallyOpen
11017
11251
  }, function (_ref3) {
11018
11252
  var toggle = _ref3.toggle;
11019
11253
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Calendar, Object.assign({
@@ -11046,6 +11280,9 @@
11046
11280
  }]);
11047
11281
  return DateInput;
11048
11282
  }(React.PureComponent);
11283
+ DateInput.defaultProps = {
11284
+ placement: "bottom-start"
11285
+ };
11049
11286
  function checkDateInputSupport() {
11050
11287
  try {
11051
11288
  var input = document.createElement("input");
@@ -12074,6 +12311,7 @@
12074
12311
  position: "relative"
12075
12312
  }, ";label:optionGroupCheckBoxWrap;" + ( "" ));
12076
12313
  var optionGroupCheckBoxButtonWrap = /*#__PURE__*/css(_objectSpread$g(_objectSpread$g({}, flexSpaceBetween), {}, {
12314
+ gap: 60,
12077
12315
  padding: optionGroupCheckBoxButtonWrapPadding,
12078
12316
  paddingTop: optionGroupCheckBoxButtonWrapPaddingTop,
12079
12317
  backgroundColor: colors.white.base
@@ -13280,7 +13518,7 @@
13280
13518
  }), /*#__PURE__*/React.createElement(Ink, null)), /*#__PURE__*/React.createElement("div", {
13281
13519
  style: {
13282
13520
  overflowY: "scroll",
13283
- height: "100vh"
13521
+ height: "100%"
13284
13522
  }
13285
13523
  }, children)));
13286
13524
  });