@rolster/react-components 18.11.4 → 18.11.6

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.
@@ -1231,6 +1231,8 @@
1231
1231
  height: var(--sizing-x16);
1232
1232
  line-height: var(--sizing-x16);
1233
1233
  border-radius: var(--sizing-x2);
1234
+ font-size: var(--body-font-size);
1235
+ letter-spacing: var(--body-letter-spacing);
1234
1236
  }
1235
1237
  .rls-pagination__page:hover {
1236
1238
  background: var(--color-rolster-300);
@@ -1241,14 +1243,14 @@
1241
1243
  color: var(--color-light-500);
1242
1244
  }
1243
1245
  .rls-pagination__description {
1244
- color: var(--font-primary-900);
1246
+ color: var(--color-theme-500);
1245
1247
  margin: 0rem var(--sizing-x4);
1246
1248
  width: auto;
1247
1249
  height: var(--sizing-x20);
1248
1250
  line-height: var(--sizing-x20);
1249
- font-size: var(--body-1-size);
1251
+ font-size: var(--body-font-size);
1250
1252
  font-weight: var(--font-weight-bold);
1251
- letter-spacing: var(--body-1-letter-spacing);
1253
+ letter-spacing: var(--body-letter-spacing);
1252
1254
  }
1253
1255
  .rls-pagination__actions {
1254
1256
  width: auto;
package/dist/cjs/index.js CHANGED
@@ -1613,7 +1613,8 @@ function useReactControl(props = {}) {
1613
1613
  setCurrentState(initialValue);
1614
1614
  }
1615
1615
  function subscribe(subscriber) {
1616
- return subscribers.subscribe(subscriber);
1616
+ const subscription = subscribers.subscribe(subscriber);
1617
+ return () => subscription.unsubscribe();
1617
1618
  }
1618
1619
  return {
1619
1620
  blur,