@apia/notifications 0.3.0 → 0.3.2

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -338,6 +338,7 @@ const vibrate = keyframes`
338
338
  100% {
339
339
  transform: rotate(0);
340
340
  }`;
341
+ const useSelector = defaultNotifier.getSelector();
341
342
  const NotificationsList = makeStyledComponent(
342
343
  "NotificationsList",
343
344
  "layout.common.notifications.list",
@@ -371,8 +372,8 @@ const NotificationsList = makeStyledComponent(
371
372
  }
372
373
  },
373
374
  () => {
374
- const notifications = useNotificationsSelector((current) => {
375
- return current.notificationsSlice.notifications;
375
+ const notifications = useSelector((current) => {
376
+ return current;
376
377
  });
377
378
  return /* @__PURE__ */ jsx(
378
379
  Box,
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "name": "@apia/notifications",
7
7
  "sideEffects": false,
8
8
  "types": "./dist/index.d.ts",
9
- "version": "0.3.0",
9
+ "version": "0.3.2",
10
10
  "scripts": {
11
11
  "build": "rollup -c rollup.config.esb.mjs",
12
12
  "buildDev": "rollup -c rollup.config.esb.mjs --dev",
@@ -26,10 +26,10 @@
26
26
  "typescript": "^4.9.5"
27
27
  },
28
28
  "dependencies": {
29
- "@apia/icons": "^0.3.0",
30
- "@apia/store": "^0.3.0",
31
- "@apia/theme": "^0.3.0",
32
- "@apia/util": "^0.3.0",
29
+ "@apia/icons": "^0.3.2",
30
+ "@apia/store": "^0.3.2",
31
+ "@apia/theme": "^0.3.2",
32
+ "@apia/util": "^0.3.2",
33
33
  "@types/lodash-es": "^4.17.7",
34
34
  "@types/react-transition-group": "^4.4.5",
35
35
  "lodash-es": "^4.17.21",
@@ -49,5 +49,5 @@
49
49
  "url": "http://corp-gitlab-01.domst.st.net/products/apia/ApiaNPMPackages.git",
50
50
  "directory": "packages/notifications"
51
51
  },
52
- "gitHead": "20ff06e6c9e9d558a50e3bfae3ed857d6b5d228c"
52
+ "gitHead": "47097c7453c80431e43a263258953eb6217eb633"
53
53
  }