@blerp/design 1.0.95 → 1.0.98

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/dist/index.cjs.js CHANGED
@@ -4348,22 +4348,23 @@ var SnackbarProvider = function SnackbarProvider(props) {
4348
4348
  sx: {
4349
4349
  minWidth: "30%"
4350
4350
  },
4351
- TransitionComponent: snackbarValues.transitionType === "fade" ? function (props) {
4352
- return /*#__PURE__*/React__default['default'].createElement(Fade__default['default'], _extends__default['default']({}, props, {
4353
- direction: snackbarValues.slideDirection
4354
- }));
4355
- } : function (props) {
4356
- return /*#__PURE__*/React__default['default'].createElement(Slide__default['default'], _extends__default['default']({}, props, {
4357
- direction: snackbarValues.slideDirection
4358
- }));
4351
+ TransitionComponent: function TransitionComponent(props) {
4352
+ if (snackbarValues.transitionType === "fade") {
4353
+ return /*#__PURE__*/React__default['default'].createElement(Fade__default['default'], _extends__default['default']({}, props, {
4354
+ direction: snackbarValues.slideDirection,
4355
+ unmountOnExit: true
4356
+ }));
4357
+ } else {
4358
+ return /*#__PURE__*/React__default['default'].createElement(Slide__default['default'], _extends__default['default']({}, props, {
4359
+ direction: snackbarValues.slideDirection,
4360
+ unmountOnExit: true
4361
+ }));
4362
+ }
4359
4363
  },
4360
4364
  onClose: function onClose() {
4361
4365
  return setOpen(false);
4362
4366
  },
4363
- key: "snackbar-toast",
4364
- TransitionProps: {
4365
- unmountOnExit: true
4366
- }
4367
+ key: "snackbar-toast"
4367
4368
  }, /*#__PURE__*/React__default['default'].createElement(Alert, {
4368
4369
  severity: snackbarValues.severity,
4369
4370
  variant: "filled",
@@ -7718,7 +7719,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7718
7719
  }
7719
7720
  }
7720
7721
  }), /*#__PURE__*/React__default['default'].createElement("img", {
7721
- src: (collection === null || collection === void 0 ? void 0 : (_collection$ownerObje = collection.ownerObject) === null || _collection$ownerObje === void 0 ? void 0 : (_collection$ownerObje2 = _collection$ownerObje.profileImage) === null || _collection$ownerObje2 === void 0 ? void 0 : (_collection$ownerObje3 = _collection$ownerObje2.original) === null || _collection$ownerObje3 === void 0 ? void 0 : _collection$ownerObje3.url) || "https://cdn.blerp.com/design/web/account-black.svg",
7722
+ src: (collection === null || collection === void 0 ? void 0 : (_collection$ownerObje = collection.ownerObject) === null || _collection$ownerObje === void 0 ? void 0 : (_collection$ownerObje2 = _collection$ownerObje.profileImage) === null || _collection$ownerObje2 === void 0 ? void 0 : (_collection$ownerObje3 = _collection$ownerObje2.original) === null || _collection$ownerObje3 === void 0 ? void 0 : _collection$ownerObje3.url) || "https://cdn.blerp.com/design/web/account-white-check.svg",
7722
7723
  style: {
7723
7724
  width: "100%",
7724
7725
  height: "100%",
package/dist/index.esm.js CHANGED
@@ -4279,22 +4279,23 @@ var SnackbarProvider = function SnackbarProvider(props) {
4279
4279
  sx: {
4280
4280
  minWidth: "30%"
4281
4281
  },
4282
- TransitionComponent: snackbarValues.transitionType === "fade" ? function (props) {
4283
- return /*#__PURE__*/React__default.createElement(Fade, _extends({}, props, {
4284
- direction: snackbarValues.slideDirection
4285
- }));
4286
- } : function (props) {
4287
- return /*#__PURE__*/React__default.createElement(Slide, _extends({}, props, {
4288
- direction: snackbarValues.slideDirection
4289
- }));
4282
+ TransitionComponent: function TransitionComponent(props) {
4283
+ if (snackbarValues.transitionType === "fade") {
4284
+ return /*#__PURE__*/React__default.createElement(Fade, _extends({}, props, {
4285
+ direction: snackbarValues.slideDirection,
4286
+ unmountOnExit: true
4287
+ }));
4288
+ } else {
4289
+ return /*#__PURE__*/React__default.createElement(Slide, _extends({}, props, {
4290
+ direction: snackbarValues.slideDirection,
4291
+ unmountOnExit: true
4292
+ }));
4293
+ }
4290
4294
  },
4291
4295
  onClose: function onClose() {
4292
4296
  return setOpen(false);
4293
4297
  },
4294
- key: "snackbar-toast",
4295
- TransitionProps: {
4296
- unmountOnExit: true
4297
- }
4298
+ key: "snackbar-toast"
4298
4299
  }, /*#__PURE__*/React__default.createElement(Alert, {
4299
4300
  severity: snackbarValues.severity,
4300
4301
  variant: "filled",
@@ -7649,7 +7650,7 @@ var PremiumCollectionCard = function PremiumCollectionCard(_ref) {
7649
7650
  }
7650
7651
  }
7651
7652
  }), /*#__PURE__*/React__default.createElement("img", {
7652
- src: (collection === null || collection === void 0 ? void 0 : (_collection$ownerObje = collection.ownerObject) === null || _collection$ownerObje === void 0 ? void 0 : (_collection$ownerObje2 = _collection$ownerObje.profileImage) === null || _collection$ownerObje2 === void 0 ? void 0 : (_collection$ownerObje3 = _collection$ownerObje2.original) === null || _collection$ownerObje3 === void 0 ? void 0 : _collection$ownerObje3.url) || "https://cdn.blerp.com/design/web/account-black.svg",
7653
+ src: (collection === null || collection === void 0 ? void 0 : (_collection$ownerObje = collection.ownerObject) === null || _collection$ownerObje === void 0 ? void 0 : (_collection$ownerObje2 = _collection$ownerObje.profileImage) === null || _collection$ownerObje2 === void 0 ? void 0 : (_collection$ownerObje3 = _collection$ownerObje2.original) === null || _collection$ownerObje3 === void 0 ? void 0 : _collection$ownerObje3.url) || "https://cdn.blerp.com/design/web/account-white-check.svg",
7653
7654
  style: {
7654
7655
  width: "100%",
7655
7656
  height: "100%",
package/dist/index.umd.js CHANGED
@@ -4300,22 +4300,23 @@
4300
4300
  sx: {
4301
4301
  minWidth: "30%"
4302
4302
  },
4303
- TransitionComponent: snackbarValues.transitionType === "fade" ? function (props) {
4304
- return /*#__PURE__*/React__default['default'].createElement(Fade__default['default'], _extends__default['default']({}, props, {
4305
- direction: snackbarValues.slideDirection
4306
- }));
4307
- } : function (props) {
4308
- return /*#__PURE__*/React__default['default'].createElement(Slide__default['default'], _extends__default['default']({}, props, {
4309
- direction: snackbarValues.slideDirection
4310
- }));
4303
+ TransitionComponent: function TransitionComponent(props) {
4304
+ if (snackbarValues.transitionType === "fade") {
4305
+ return /*#__PURE__*/React__default['default'].createElement(Fade__default['default'], _extends__default['default']({}, props, {
4306
+ direction: snackbarValues.slideDirection,
4307
+ unmountOnExit: true
4308
+ }));
4309
+ } else {
4310
+ return /*#__PURE__*/React__default['default'].createElement(Slide__default['default'], _extends__default['default']({}, props, {
4311
+ direction: snackbarValues.slideDirection,
4312
+ unmountOnExit: true
4313
+ }));
4314
+ }
4311
4315
  },
4312
4316
  onClose: function onClose() {
4313
4317
  return setOpen(false);
4314
4318
  },
4315
- key: "snackbar-toast",
4316
- TransitionProps: {
4317
- unmountOnExit: true
4318
- }
4319
+ key: "snackbar-toast"
4319
4320
  }, /*#__PURE__*/React__default['default'].createElement(Alert, {
4320
4321
  severity: snackbarValues.severity,
4321
4322
  variant: "filled",
@@ -7670,7 +7671,7 @@
7670
7671
  }
7671
7672
  }
7672
7673
  }), /*#__PURE__*/React__default['default'].createElement("img", {
7673
- src: (collection === null || collection === void 0 ? void 0 : (_collection$ownerObje = collection.ownerObject) === null || _collection$ownerObje === void 0 ? void 0 : (_collection$ownerObje2 = _collection$ownerObje.profileImage) === null || _collection$ownerObje2 === void 0 ? void 0 : (_collection$ownerObje3 = _collection$ownerObje2.original) === null || _collection$ownerObje3 === void 0 ? void 0 : _collection$ownerObje3.url) || "https://cdn.blerp.com/design/web/account-black.svg",
7674
+ src: (collection === null || collection === void 0 ? void 0 : (_collection$ownerObje = collection.ownerObject) === null || _collection$ownerObje === void 0 ? void 0 : (_collection$ownerObje2 = _collection$ownerObje.profileImage) === null || _collection$ownerObje2 === void 0 ? void 0 : (_collection$ownerObje3 = _collection$ownerObje2.original) === null || _collection$ownerObje3 === void 0 ? void 0 : _collection$ownerObje3.url) || "https://cdn.blerp.com/design/web/account-white-check.svg",
7674
7675
  style: {
7675
7676
  width: "100%",
7676
7677
  height: "100%",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blerp/design",
3
- "version": "1.0.95",
3
+ "version": "1.0.98",
4
4
  "description": "Blerp UI",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {