pebble-web 2.9.3 → 2.10.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.
@@ -1215,8 +1215,10 @@
1215
1215
  PebbleIcon["Add"] = "add";
1216
1216
  PebbleIcon["AddedDetails"] = "added-details";
1217
1217
  PebbleIcon["Admin"] = "admin";
1218
+ PebbleIcon["AgreementLetter"] = "agreement-letter";
1218
1219
  PebbleIcon["AlertFilled"] = "alert-filled";
1219
1220
  PebbleIcon["Alert"] = "alert";
1221
+ PebbleIcon["AllotmentLetter"] = "allotment-letter";
1220
1222
  PebbleIcon["Apps"] = "apps";
1221
1223
  PebbleIcon["ArrowBack"] = "arrow-back";
1222
1224
  PebbleIcon["ArrowDown"] = "arrow-down";
@@ -1382,6 +1384,7 @@
1382
1384
  PebbleIcon["Phone"] = "phone";
1383
1385
  PebbleIcon["Play"] = "play";
1384
1386
  PebbleIcon["Plus"] = "plus";
1387
+ PebbleIcon["PossessionLetter"] = "possession-letter";
1385
1388
  PebbleIcon["Premium"] = "premium";
1386
1389
  PebbleIcon["Print"] = "print";
1387
1390
  PebbleIcon["PriorityChange"] = "priority-change";
@@ -1436,6 +1439,7 @@
1436
1439
  PebbleIcon["VpnKey"] = "vpn-key";
1437
1440
  PebbleIcon["WarningLine"] = "warning-line";
1438
1441
  PebbleIcon["Warning"] = "warning";
1442
+ PebbleIcon["WelcomeLetter"] = "welcome-letter";
1439
1443
  PebbleIcon["WhatsappFilled"] = "whatsapp-filled";
1440
1444
  PebbleIcon["Whatsapp"] = "whatsapp";
1441
1445
  })(PebbleIcon || (PebbleIcon = {}));
@@ -11277,10 +11281,10 @@
11277
11281
  key: "getDerivedStateFromProps",
11278
11282
  value: function getDerivedStateFromProps(props, state) {
11279
11283
  var newState = null;
11280
- if (props.value && props.value !== state.propsValue) {
11284
+ if (props.value !== state.propsValue) {
11281
11285
  newState = {
11282
11286
  propsValue: props.value,
11283
- stringInput: props.value && format(props.value, "dd/MM/yyyy") || ""
11287
+ stringInput: props.value ? format(props.value, "dd/MM/yyyy") : ""
11284
11288
  };
11285
11289
  }
11286
11290
  return newState;
@@ -15626,7 +15630,8 @@
15626
15630
  placement = _this$props.placement,
15627
15631
  _label = _this$props.label,
15628
15632
  modifiers = _this$props.modifiers,
15629
- isError = _this$props.isError;
15633
+ isError = _this$props.isError,
15634
+ popperClassName = _this$props.popperClassName;
15630
15635
  return /*#__PURE__*/React.createElement(PebblePopper, {
15631
15636
  label: function label() {
15632
15637
  return _label({
@@ -15639,7 +15644,7 @@
15639
15644
  popperBackgroundColor: isError ? colors.red.base : colors.gray.darker,
15640
15645
  modifiers: modifiers,
15641
15646
  isOpen: this.props.isOpen || this.state.isOpen,
15642
- popperClassName: popperStyle$1,
15647
+ popperClassName: cx(popperStyle$1, popperClassName),
15643
15648
  closeOnOutsideClick: false
15644
15649
  }, this.props.renderElement || this.defaultTooltip);
15645
15650
  }