@latte-macchiat-io/latte-vanilla-components 0.0.175 → 0.0.176

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 (36) hide show
  1. package/dist/css/index.cjs +1 -0
  2. package/dist/css/index.js +34 -0
  3. package/dist/index.cjs.js +2 -2
  4. package/dist/index.es.js +3195 -6145
  5. package/dist/theme.css-CNjMk-g_.cjs +1 -0
  6. package/dist/theme.css-Dj6kL9o0.js +3020 -0
  7. package/dist/types/css/index.d.ts +28 -0
  8. package/dist/types/styles/mediaqueries.d.ts +16 -0
  9. package/dist/types/styles/sprinkles.css.d.ts +3423 -0
  10. package/dist/types/theme/baseThemeValues.d.ts +158 -0
  11. package/dist/types/theme/contract.css.d.ts +79 -0
  12. package/dist/types/theme/index.d.ts +3 -0
  13. package/dist/types/theme/utils.d.ts +86 -0
  14. package/package.json +17 -13
  15. package/src/assets/styles/default-theme.ts +312 -0
  16. package/src/components/Button/stories.ts +127 -0
  17. package/src/components/Columns/stories.ts +35 -0
  18. package/src/components/Icon/path.ts +36 -0
  19. package/src/components/Icon/stories.ts +29 -0
  20. package/src/components/Main/stories.ts +33 -0
  21. package/src/components/Section/stories.ts +64 -0
  22. package/src/css/index.ts +33 -0
  23. package/src/index.ts +96 -0
  24. package/src/styles/mediaqueries.ts +17 -0
  25. package/src/theme/baseThemeValues.ts +160 -0
  26. package/src/theme/index.ts +6 -0
  27. package/src/theme/utils.ts +76 -0
  28. package/src/themes/dark.ts +3 -0
  29. package/src/themes/index.ts +5 -0
  30. package/src/themes/light.ts +3 -0
  31. package/src/types/theme.ts +295 -0
  32. package/src/types/withClassName.ts +3 -0
  33. package/src/utils/cookie.ts +24 -0
  34. package/src/utils/deep-merge-objects.ts +15 -0
  35. package/src/utils/use-breakpoint-key.ts +30 -0
  36. package/src/utils/use-window-size.ts +37 -0
@@ -0,0 +1,28 @@
1
+ export { themeContract } from '../theme/contract.css';
2
+ export { sprinkles, responsiveProperties, type Sprinkles } from '../styles/sprinkles.css';
3
+ export { createLightTheme, createDarkTheme, type ThemeOverrides } from '../utils/theme.css';
4
+ export { actionsRecipe, type ActionsVariants } from '../components/Actions/Actions.css';
5
+ export { buttonRecipe, type ButtonVariants } from '../components/Button/Button.css';
6
+ export { carouselRecipe, type CarouselVariants } from '../components/Carousel/Carousel.css';
7
+ export { columnsRecipe, type ColumnsVariants } from '../components/Columns/Columns.css';
8
+ export { consentRecipe, type ConsentCookieVariants } from '../components/ConsentCookie/ConsentCookie.css';
9
+ export { footerRecipe, type FooterVariants } from '../components/Footer/Footer.css';
10
+ export { formRecipe, type FormVariants } from '../components/Form/Form.css';
11
+ export { rowRecipe, type RowVariants } from '../components/Form/Row/Row.css';
12
+ export { inputRecipe, type InputVariants } from '../components/Form/TextField/Input/Input.css';
13
+ export { labelRecipe, type LabelVariants } from '../components/Form/TextField/Label/Label.css';
14
+ export { textFieldRecipe, type TextFieldVariants } from '../components/Form/TextField/TextField.css';
15
+ export { textareaRecipe, type TextareaVariants } from '../components/Form/TextField/Textarea/Textarea.css';
16
+ export { headerRecipe, type HeaderVariants } from '../components/Header/Header.css';
17
+ export { iconRecipe, type IconVariants } from '../components/Icon/Icon.css';
18
+ export { keyNumberRecipe, type KeyNumberVariants } from '../components/KeyNumber/KeyNumber.css';
19
+ export { languageSwitcherRecipe, type LanguageSwitcherVariants } from '../components/LanguageSwitcher/LanguageSwitcher.css';
20
+ export { logoRecipe, type LogoVariants } from '../components/Logo/Logo.css';
21
+ export { mainRecipe, type MainVariants } from '../components/Main/Main.css';
22
+ export { modalRecipe, modalContentRecipe, type ModalVariants, type ModalContentVariants } from '../components/Modal/Modal.css';
23
+ export { navRecipe, type NavVariants } from '../components/Nav/Nav.css';
24
+ export { navLegalRecipe, type NavLegalVariants } from '../components/NavLegal/NavLegal.css';
25
+ export { navSocialRecipe, type NavSocialVariants } from '../components/NavSocial/NavSocial.css';
26
+ export { sectionRecipe, type SectionVariants } from '../components/Section/Section.css';
27
+ export { videoRecipe, type VideoVariants } from '../components/Video/Video.css';
28
+ export { videoFullWidthRecipe, type VideoFullWidthVariants } from '../components/VideoFullWidth/VideoFullWidth.css';
@@ -0,0 +1,16 @@
1
+ export declare const breakpoints: {
2
+ readonly mobile: 0;
3
+ readonly sm: 640;
4
+ readonly md: 768;
5
+ readonly lg: 1024;
6
+ readonly xl: 1280;
7
+ readonly '2xl': 1536;
8
+ };
9
+ export declare const queries: {
10
+ mobile: string;
11
+ sm: string;
12
+ md: string;
13
+ lg: string;
14
+ xl: string;
15
+ '2xl': string;
16
+ };