pebble-web 2.7.1 → 2.9.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.
@@ -1279,6 +1279,7 @@
1279
1279
  PebbleIcon["Direction"] = "direction";
1280
1280
  PebbleIcon["DocumentUploaded"] = "document-uploaded";
1281
1281
  PebbleIcon["Document"] = "document";
1282
+ PebbleIcon["DoorFront"] = "door-front";
1282
1283
  PebbleIcon["Dot"] = "dot";
1283
1284
  PebbleIcon["Dots"] = "dots";
1284
1285
  PebbleIcon["Download"] = "download";
@@ -1304,6 +1305,7 @@
1304
1305
  PebbleIcon["FollowUp2"] = "follow-up-2";
1305
1306
  PebbleIcon["FollowUp"] = "follow-up";
1306
1307
  PebbleIcon["Funnel"] = "funnel";
1308
+ PebbleIcon["GradeLine"] = "grade-line";
1307
1309
  PebbleIcon["Grade"] = "grade";
1308
1310
  PebbleIcon["HamburgerBold"] = "hamburger-bold";
1309
1311
  PebbleIcon["Hamburger"] = "hamburger";
@@ -1316,6 +1318,7 @@
1316
1318
  PebbleIcon["Home"] = "home";
1317
1319
  PebbleIcon["HouseStatus"] = "house-status";
1318
1320
  PebbleIcon["HowToReg"] = "how-to-reg";
1321
+ PebbleIcon["Image"] = "image";
1319
1322
  PebbleIcon["IncomingCall2"] = "incoming-call-2";
1320
1323
  PebbleIcon["IncomingCall"] = "incoming-call";
1321
1324
  PebbleIcon["IncomingCalls"] = "incoming-calls";
@@ -1362,8 +1365,10 @@
1362
1365
  PebbleIcon["OutgoingCall"] = "outgoing-call";
1363
1366
  PebbleIcon["Patchout"] = "patchout";
1364
1367
  PebbleIcon["Pause"] = "pause";
1368
+ PebbleIcon["Pdf"] = "pdf";
1365
1369
  PebbleIcon["Percentage"] = "percentage";
1366
1370
  PebbleIcon["PersonAddDisabled"] = "person-add-disabled";
1371
+ PebbleIcon["PersonSearch"] = "person-search";
1367
1372
  PebbleIcon["Person"] = "person";
1368
1373
  PebbleIcon["Phone2"] = "phone-2";
1369
1374
  PebbleIcon["PhoneAlt"] = "phone-alt";
@@ -1876,12 +1881,13 @@
1876
1881
  _ref$showRipple = _ref.showRipple,
1877
1882
  showRipple = _ref$showRipple === void 0 ? true : _ref$showRipple,
1878
1883
  loading = _ref.loading,
1884
+ filled = _ref.filled,
1879
1885
  _ref$size = _ref.size,
1880
1886
  size = _ref$size === void 0 ? "small" : _ref$size,
1881
1887
  buttonProps = _ref.buttonProps;
1882
1888
  var disableAction = disabled || loading;
1883
- var filled = size !== "x-small";
1884
- var _className = cx(getButtonStyle(size, type, !!showShadow, filled), className);
1889
+ var _filled = size !== "x-small" && filled !== false;
1890
+ var _className = cx(getButtonStyle(size, type, !!showShadow, _filled), className);
1885
1891
  return /*#__PURE__*/React.createElement("button", Object.assign({
1886
1892
  className: _className,
1887
1893
  onClick: !disableAction ? onClick : undefined,
@@ -11205,9 +11211,14 @@
11205
11211
  placeholder = _this$props.placeholder,
11206
11212
  propsValue = _this$props.value,
11207
11213
  disabled = _this$props.disabled,
11208
- errorMessage = _this$props.errorMessage;
11214
+ errorMessage = _this$props.errorMessage,
11215
+ placement = _this$props.placement,
11216
+ wrapperClassName = _this$props.wrapperClassName,
11217
+ initiallyOpen = _this$props.initiallyOpen;
11218
+ var _wrapperClassName = cx(wrapperStyle$3, wrapperClassName);
11219
+ var _dropDownClassName = cx(dropDownClassName, this.props.dropDownClassName);
11209
11220
  return /*#__PURE__*/React.createElement(DropDown, {
11210
- dropDownClassName: dropDownClassName,
11221
+ dropDownClassName: _dropDownClassName,
11211
11222
  labelComponent: function labelComponent(_ref) {
11212
11223
  var toggleDropdown = _ref.toggleDropdown;
11213
11224
  return /*#__PURE__*/React.createElement(Rifm, {
@@ -11221,7 +11232,7 @@
11221
11232
  onChange: noop,
11222
11233
  type: "tel",
11223
11234
  value: value,
11224
- placeholder: placeholder,
11235
+ placeholder: "".concat(placeholder, " DD/MM/YYYY"),
11225
11236
  onClick: function onClick() {
11226
11237
  if (disabled) return;
11227
11238
  toggleDropdown();
@@ -11238,9 +11249,10 @@
11238
11249
  }));
11239
11250
  });
11240
11251
  },
11241
- className: wrapperStyle$3,
11242
- placement: "bottom-start",
11243
- modifiers: modifiers$1
11252
+ className: _wrapperClassName,
11253
+ placement: placement,
11254
+ modifiers: modifiers$1,
11255
+ initiallyOpen: initiallyOpen
11244
11256
  }, function (_ref3) {
11245
11257
  var toggle = _ref3.toggle;
11246
11258
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Calendar, Object.assign({
@@ -11273,6 +11285,9 @@
11273
11285
  }]);
11274
11286
  return DateInput;
11275
11287
  }(React.PureComponent);
11288
+ DateInput.defaultProps = {
11289
+ placement: "bottom-start"
11290
+ };
11276
11291
  function checkDateInputSupport() {
11277
11292
  try {
11278
11293
  var input = document.createElement("input");
@@ -13508,7 +13523,7 @@
13508
13523
  }), /*#__PURE__*/React.createElement(Ink, null)), /*#__PURE__*/React.createElement("div", {
13509
13524
  style: {
13510
13525
  overflowY: "scroll",
13511
- height: "100vh"
13526
+ height: "100%"
13512
13527
  }
13513
13528
  }, children)));
13514
13529
  });