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.
@@ -1351,8 +1351,10 @@
1351
1351
  PebbleIcon["Add"] = "add";
1352
1352
  PebbleIcon["AddedDetails"] = "added-details";
1353
1353
  PebbleIcon["Admin"] = "admin";
1354
+ PebbleIcon["AgreementLetter"] = "agreement-letter";
1354
1355
  PebbleIcon["AlertFilled"] = "alert-filled";
1355
1356
  PebbleIcon["Alert"] = "alert";
1357
+ PebbleIcon["AllotmentLetter"] = "allotment-letter";
1356
1358
  PebbleIcon["Apps"] = "apps";
1357
1359
  PebbleIcon["ArrowBack"] = "arrow-back";
1358
1360
  PebbleIcon["ArrowDown"] = "arrow-down";
@@ -1518,6 +1520,7 @@
1518
1520
  PebbleIcon["Phone"] = "phone";
1519
1521
  PebbleIcon["Play"] = "play";
1520
1522
  PebbleIcon["Plus"] = "plus";
1523
+ PebbleIcon["PossessionLetter"] = "possession-letter";
1521
1524
  PebbleIcon["Premium"] = "premium";
1522
1525
  PebbleIcon["Print"] = "print";
1523
1526
  PebbleIcon["PriorityChange"] = "priority-change";
@@ -1572,6 +1575,7 @@
1572
1575
  PebbleIcon["VpnKey"] = "vpn-key";
1573
1576
  PebbleIcon["WarningLine"] = "warning-line";
1574
1577
  PebbleIcon["Warning"] = "warning";
1578
+ PebbleIcon["WelcomeLetter"] = "welcome-letter";
1575
1579
  PebbleIcon["WhatsappFilled"] = "whatsapp-filled";
1576
1580
  PebbleIcon["Whatsapp"] = "whatsapp";
1577
1581
  })(PebbleIcon || (PebbleIcon = {}));
@@ -12066,10 +12070,10 @@
12066
12070
  key: "getDerivedStateFromProps",
12067
12071
  value: function getDerivedStateFromProps(props, state) {
12068
12072
  var newState = null;
12069
- if (props.value && props.value !== state.propsValue) {
12073
+ if (props.value !== state.propsValue) {
12070
12074
  newState = {
12071
12075
  propsValue: props.value,
12072
- stringInput: props.value && format(props.value, "dd/MM/yyyy") || ""
12076
+ stringInput: props.value ? format(props.value, "dd/MM/yyyy") : ""
12073
12077
  };
12074
12078
  }
12075
12079
  return newState;
@@ -16492,7 +16496,8 @@
16492
16496
  placement = _this$props.placement,
16493
16497
  _label = _this$props.label,
16494
16498
  modifiers = _this$props.modifiers,
16495
- isError = _this$props.isError;
16499
+ isError = _this$props.isError,
16500
+ popperClassName = _this$props.popperClassName;
16496
16501
  return /*#__PURE__*/React.createElement(PebblePopper, {
16497
16502
  label: function label() {
16498
16503
  return _label({
@@ -16505,7 +16510,7 @@
16505
16510
  popperBackgroundColor: isError ? colors.red.base : colors.gray.darker,
16506
16511
  modifiers: modifiers,
16507
16512
  isOpen: this.props.isOpen || this.state.isOpen,
16508
- popperClassName: popperStyle$1,
16513
+ popperClassName: cx(popperStyle$1, popperClassName),
16509
16514
  closeOnOutsideClick: false
16510
16515
  }, this.props.renderElement || this.defaultTooltip);
16511
16516
  }