@latte-macchiat-io/latte-vanilla-components 0.0.168 → 0.0.169

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 (31) hide show
  1. package/dist/components/Header/HeaderOverlay/styles.css.ts +33 -0
  2. package/package.json +7 -7
  3. /package/dist/{Actions.css.ts → components/Actions/Actions.css.ts} +0 -0
  4. /package/dist/{Button.css.ts → components/Button/Button.css.ts} +0 -0
  5. /package/dist/{Carousel.css.ts → components/Carousel/Carousel.css.ts} +0 -0
  6. /package/dist/{Columns.css.ts → components/Columns/Columns.css.ts} +0 -0
  7. /package/dist/{ConsentCookie.css.ts → components/ConsentCookie/ConsentCookie.css.ts} +0 -0
  8. /package/dist/{Footer.css.ts → components/Footer/Footer.css.ts} +0 -0
  9. /package/dist/{Form.css.ts → components/Form/Form.css.ts} +0 -0
  10. /package/dist/{Row.css.ts → components/Form/Row/Row.css.ts} +0 -0
  11. /package/dist/{Input.css.ts → components/Form/TextField/Input/Input.css.ts} +0 -0
  12. /package/dist/{Label.css.ts → components/Form/TextField/Label/Label.css.ts} +0 -0
  13. /package/dist/{TextField.css.ts → components/Form/TextField/TextField.css.ts} +0 -0
  14. /package/dist/{Textarea.css.ts → components/Form/TextField/Textarea/Textarea.css.ts} +0 -0
  15. /package/dist/{Header.css.ts → components/Header/Header.css.ts} +0 -0
  16. /package/dist/{styles.css.ts → components/Header/ToggleNav/styles.css.ts} +0 -0
  17. /package/dist/{Icon.css.ts → components/Icon/Icon.css.ts} +0 -0
  18. /package/dist/{KeyNumber.css.ts → components/KeyNumber/KeyNumber.css.ts} +0 -0
  19. /package/dist/{LanguageSwitcher.css.ts → components/LanguageSwitcher/LanguageSwitcher.css.ts} +0 -0
  20. /package/dist/{Logo.css.ts → components/Logo/Logo.css.ts} +0 -0
  21. /package/dist/{Main.css.ts → components/Main/Main.css.ts} +0 -0
  22. /package/dist/{Modal.css.ts → components/Modal/Modal.css.ts} +0 -0
  23. /package/dist/{Nav.css.ts → components/Nav/Nav.css.ts} +0 -0
  24. /package/dist/{NavLegal.css.ts → components/NavLegal/NavLegal.css.ts} +0 -0
  25. /package/dist/{NavSocial.css.ts → components/NavSocial/NavSocial.css.ts} +0 -0
  26. /package/dist/{Section.css.ts → components/Section/Section.css.ts} +0 -0
  27. /package/dist/{Video.css.ts → components/Video/Video.css.ts} +0 -0
  28. /package/dist/{VideoFullWidth.css.ts → components/VideoFullWidth/VideoFullWidth.css.ts} +0 -0
  29. /package/dist/{sprinkles.css.ts → styles/sprinkles.css.ts} +0 -0
  30. /package/dist/{contract.css.ts → theme/contract.css.ts} +0 -0
  31. /package/dist/{default.css.ts → theme/default.css.ts} +0 -0
@@ -0,0 +1,33 @@
1
+ import { createVar, style, CSSProperties } from '@vanilla-extract/css';
2
+ import { mq } from '../../../assets/styles/mediaqueries';
3
+
4
+ export const vars = {
5
+ overlayBottom: createVar(),
6
+ overlayTransform: createVar(),
7
+ };
8
+
9
+ export const headerOverlayStyle = style({
10
+ top: 0,
11
+ left: 0,
12
+ zIndex: 40,
13
+ width: '100vw',
14
+ display: 'flex',
15
+ height: '100vh',
16
+ position: 'fixed',
17
+ overflow: 'hidden',
18
+ textAlign: 'center',
19
+ alignItems: 'center',
20
+ flexDirection: 'column',
21
+ transformOrigin: '0% 0%',
22
+ justifyContent: 'center',
23
+ gap: 'var(--overlayGap, 20px)', // valeur par défaut, à remplacer via assignInlineVars si nécessaire
24
+ bottom: vars.overlayBottom,
25
+ transform: vars.overlayTransform,
26
+ transition: 'transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0)',
27
+
28
+ '@media': {
29
+ [mq[0]]: { gap: 'var(--overlayGap0, 20px)' },
30
+ [mq[1]]: { gap: 'var(--overlayGap1, 30px)' },
31
+ [mq[2]]: { gap: 'var(--overlayGap2, 40px)' },
32
+ },
33
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latte-macchiat-io/latte-vanilla-components",
3
- "version": "0.0.168",
3
+ "version": "0.0.169",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -18,14 +18,14 @@
18
18
  "src/**/*.css.ts"
19
19
  ],
20
20
  "peerDependencies": {
21
- "framer-motion": "^12.4.7",
22
- "react-countup": "^6.5.3",
23
- "react-intersection-observer": "^9.16.0",
24
- "react": "^19.0.0",
25
- "react-dom": "^19.0.0",
26
21
  "@vanilla-extract/css": "^1.17.4",
27
22
  "@vanilla-extract/recipes": "^0.5.7",
28
- "@vanilla-extract/sprinkles": "^1.6.5"
23
+ "@vanilla-extract/sprinkles": "^1.6.5",
24
+ "framer-motion": "^12.4.7",
25
+ "react": "^19",
26
+ "react-countup": "^6.5.3",
27
+ "react-dom": "^19",
28
+ "react-intersection-observer": "^9.16.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@chromatic-com/storybook": "^3.2.4",
File without changes
File without changes
File without changes