@stevederico/skateboard-ui 3.6.1 → 3.7.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.
- package/App.jsx +1 -1
- package/CHANGELOG.md +6 -0
- package/components/ProtectedRoute.jsx +1 -1
- package/components/core/Utilities.js +1 -1
- package/components/layout/Layout.jsx +1 -1
- package/components/layout/Sidebar.jsx +1 -1
- package/components/layout/TabBar.jsx +1 -1
- package/components/views/LandingView.jsx +1 -1
- package/components/views/PaymentView.jsx +1 -1
- package/components/views/SettingsView.jsx +1 -1
- package/components/views/SignOutView.jsx +1 -1
- package/package.json +2 -2
package/App.jsx
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
Navigate,
|
|
7
7
|
useLocation,
|
|
8
8
|
useNavigate,
|
|
9
|
-
} from 'react-router
|
|
9
|
+
} from 'react-router';
|
|
10
10
|
import { useEffect } from 'react';
|
|
11
11
|
import { getState } from './components/core/Context.jsx';
|
|
12
12
|
import { ThemeProvider } from './components/core/ThemeProvider.jsx';
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
3.7.0
|
|
4
|
+
|
|
5
|
+
Breaking (peer dep rename): `react-router-dom` → `react-router`
|
|
6
|
+
In react-router v7 `react-router-dom` is just a re-export of `react-router`; consumers must install `react-router@^7.0.0` instead of `react-router-dom`
|
|
7
|
+
All internal imports rewritten (App, ProtectedRoute, Layout, Sidebar, TabBar, Utilities, Landing/Payment/Settings/SignOut views)
|
|
8
|
+
|
|
3
9
|
3.6.1
|
|
4
10
|
|
|
5
11
|
Fix: restore `icons/` in files allowlist (regressed in 3.6.0 — `@stevederico/skateboard-ui/icons` import was unresolvable in published tarball)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useEffect } from 'react';
|
|
2
|
-
import { Navigate, Outlet } from 'react-router
|
|
2
|
+
import { Navigate, Outlet } from 'react-router';
|
|
3
3
|
import { isAuthenticated, apiRequest, getAppKey, getConstants } from './core/Utilities';
|
|
4
4
|
import { Spinner } from '../shadcn/ui/spinner.jsx';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect, useState } from 'react';
|
|
2
|
-
import { useInRouterContext, useNavigate } from 'react-router
|
|
2
|
+
import { useInRouterContext, useNavigate } from 'react-router';
|
|
3
3
|
import { getDispatch } from './Context.jsx';
|
|
4
4
|
|
|
5
5
|
// Constants will be initialized by the app shell
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Link, useLocation } from 'react-router
|
|
2
|
+
import { Link, useLocation } from 'react-router';
|
|
3
3
|
import DynamicIcon from '../core/DynamicIcon';
|
|
4
4
|
import { getState } from '../core/Context.jsx';
|
|
5
5
|
import { cn } from '../../shadcn/lib/utils.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useNavigate } from 'react-router
|
|
2
|
+
import { useNavigate } from 'react-router';
|
|
3
3
|
import { useTheme } from '../core/ThemeProvider.jsx';
|
|
4
4
|
import { getState } from "../core/Context.jsx";
|
|
5
5
|
import DynamicIcon from '../core/DynamicIcon.jsx';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useCallback } from 'react';
|
|
2
|
-
import { useNavigate, useSearchParams } from 'react-router
|
|
2
|
+
import { useNavigate, useSearchParams } from 'react-router';
|
|
3
3
|
import { getState } from '../core/Context.jsx';
|
|
4
4
|
import { getCurrentUser, getAppKey } from '../core/Utilities.js'
|
|
5
5
|
import { Spinner } from '../../shadcn/ui/spinner.jsx';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useNavigate } from 'react-router
|
|
2
|
+
import { useNavigate } from 'react-router';
|
|
3
3
|
import { getState } from '../core/Context.jsx';
|
|
4
4
|
import { useTheme } from '../core/ThemeProvider.jsx';
|
|
5
5
|
import { Sun, Moon } from '../../icons';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stevederico/skateboard-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.7.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./Sidebar": {
|
|
@@ -145,6 +145,6 @@
|
|
|
145
145
|
"peerDependencies": {
|
|
146
146
|
"react": "^19.1.0",
|
|
147
147
|
"react-dom": "^19.1.0",
|
|
148
|
-
"react-router
|
|
148
|
+
"react-router": "^7.0.0"
|
|
149
149
|
}
|
|
150
150
|
}
|