@focus4/layout
Advanced tools
@@ -49,3 +49,5 @@ import { ThemeProvider, fromBem, getDefaultTransition, getSpringTransition, useTheme } from "@focus4/styling"; | ||
| const HeaderContext = createContext({ | ||
| /** Si le header est sticky (s'il n'y pas de `HeaderContent`, ou s'il est sorti du viewport). */ | ||
| sticky: true, | ||
| /** Met à jour le caractère sticky du header. */ | ||
| setSticky(sticky) {} | ||
@@ -82,3 +84,9 @@ }); | ||
| /** Contexte d'un ScrollspyContainer, expose les méthodes associées. */ | ||
| const ScrollspyContext = createContext({ registerPanel(name, panel) { | ||
| const ScrollspyContext = createContext({ | ||
| /** | ||
| * Enregistre un panel dans le Scrollspu | ||
| * @param name L'id du panel souhaité. | ||
| * @param panel La description d'un panel | ||
| */ | ||
| registerPanel(name, panel) { | ||
| return () => {}; | ||
@@ -85,0 +93,0 @@ } }); |
+7
-7
| { | ||
| "name": "@focus4/layout", | ||
| "version": "12.11.1", | ||
| "version": "12.11.2", | ||
| "description": "Focus v4, layout module", | ||
@@ -20,6 +20,6 @@ "main": "lib/focus4.layout.js", | ||
| "@focus4/styling": "12.11.1", | ||
| "@focus4/toolbox": "12.11.1", | ||
| "@focus4/toolbox": "12.11.2", | ||
| "classnames": "^2.5.1", | ||
| "es-toolkit": "^1.45.1", | ||
| "focus-trap-react": "^12.0.0", | ||
| "es-toolkit": "^1.46.1", | ||
| "focus-trap-react": "^12.0.1", | ||
| "luxon": "^3.7.2", | ||
@@ -39,6 +39,6 @@ "motion": "^12.38.0", | ||
| "devDependencies": { | ||
| "@focus4/tooling": "12.11.1", | ||
| "@focus4/tooling": "12.11.2", | ||
| "@testing-library/react": "16.3.2", | ||
| "jsdom": "29.0.2" | ||
| "jsdom": "29.1.1" | ||
| } | ||
| } | ||
| } |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
258773
0.12%2909
0.28%0
-100%+ Added
- Removed
Updated
Updated
Updated