@alveole/components 0.40.0 → 0.41.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.
Files changed (105) hide show
  1. package/dist/core/AnchorHeading/AnchorHeading.d.ts +7 -0
  2. package/dist/core/AnchorHeading/AnchorHeading.d.ts.map +1 -0
  3. package/dist/core/AnchorHeading/AnchorHeading.js +3 -0
  4. package/dist/core/AnchorHeading/AnchorHeading.stories.d.ts +13 -0
  5. package/dist/core/AnchorHeading/AnchorHeading.stories.d.ts.map +1 -0
  6. package/dist/core/AnchorHeading/AnchorHeading.stories.js +17 -0
  7. package/dist/core/AnchorHeading/AnchorHeading.stories.sources.d.ts +6 -0
  8. package/dist/core/AnchorHeading/AnchorHeading.stories.sources.d.ts.map +1 -0
  9. package/dist/core/AnchorHeading/AnchorHeading.stories.sources.js +6 -0
  10. package/dist/core/AnchorHeading/AnchorHeading.web.d.ts +3 -0
  11. package/dist/core/AnchorHeading/AnchorHeading.web.d.ts.map +1 -0
  12. package/dist/core/AnchorHeading/AnchorHeading.web.js +23 -0
  13. package/dist/core/AnchorHeading/index.d.ts +2 -0
  14. package/dist/core/AnchorHeading/index.d.ts.map +1 -0
  15. package/dist/core/AnchorHeading/index.js +1 -0
  16. package/dist/core/Version/Version.stories.d.ts +2 -1
  17. package/dist/core/Version/Version.stories.d.ts.map +1 -1
  18. package/dist/core/Version/Version.styles.d.ts +2 -1
  19. package/dist/core/Version/Version.styles.d.ts.map +1 -1
  20. package/dist/core/index.d.ts +1 -0
  21. package/dist/core/index.d.ts.map +1 -1
  22. package/dist/core/index.js +1 -0
  23. package/dist/generated/version.d.ts +1 -1
  24. package/dist/generated/version.js +1 -1
  25. package/dist/stories/index.d.ts +1 -0
  26. package/dist/stories/index.d.ts.map +1 -1
  27. package/dist/stories/index.js +1 -0
  28. package/dist/ui/ActionMenu/ActionMenu.stories.js +1 -1
  29. package/dist/ui/ActionMenu/ActionMenu.stories.sources.d.ts.map +1 -1
  30. package/dist/ui/ActionMenu/ActionMenu.stories.sources.js +1 -1
  31. package/dist/ui/Avatar/Avatar.stories.d.ts +2 -1
  32. package/dist/ui/Avatar/Avatar.stories.d.ts.map +1 -1
  33. package/dist/ui/Avatar/Avatar.styles.d.ts +2 -1
  34. package/dist/ui/Avatar/Avatar.styles.d.ts.map +1 -1
  35. package/dist/ui/Badge/Badge.stories.d.ts +4 -2
  36. package/dist/ui/Badge/Badge.stories.d.ts.map +1 -1
  37. package/dist/ui/Badge/Badge.styles.d.ts +4 -2
  38. package/dist/ui/Badge/Badge.styles.d.ts.map +1 -1
  39. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.d.ts +4 -2
  40. package/dist/ui/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
  41. package/dist/ui/Breadcrumbs/Breadcrumbs.styles.d.ts +4 -2
  42. package/dist/ui/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -1
  43. package/dist/ui/Button/Button.stories.d.ts +8 -4
  44. package/dist/ui/Button/Button.stories.d.ts.map +1 -1
  45. package/dist/ui/Button/Button.styles.d.ts +8 -4
  46. package/dist/ui/Button/Button.styles.d.ts.map +1 -1
  47. package/dist/ui/Card/Card.stories.d.ts +4 -2
  48. package/dist/ui/Card/Card.stories.d.ts.map +1 -1
  49. package/dist/ui/Card/CardHeader.styles.d.ts +4 -2
  50. package/dist/ui/Card/CardHeader.styles.d.ts.map +1 -1
  51. package/dist/ui/Card/CardSection.styles.d.ts +4 -2
  52. package/dist/ui/Card/CardSection.styles.d.ts.map +1 -1
  53. package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts +4 -2
  54. package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts.map +1 -1
  55. package/dist/ui/DocumentViewer/DocumentViewer.styles.d.ts +4 -2
  56. package/dist/ui/DocumentViewer/DocumentViewer.styles.d.ts.map +1 -1
  57. package/dist/ui/EmptyState/EmptyState.stories.d.ts +4 -2
  58. package/dist/ui/EmptyState/EmptyState.stories.d.ts.map +1 -1
  59. package/dist/ui/EmptyState/EmptyState.styles.d.ts +4 -2
  60. package/dist/ui/EmptyState/EmptyState.styles.d.ts.map +1 -1
  61. package/dist/ui/ListItem/ListItem.stories.d.ts +4 -2
  62. package/dist/ui/ListItem/ListItem.stories.d.ts.map +1 -1
  63. package/dist/ui/ListItem/ListItem.styles.d.ts +4 -2
  64. package/dist/ui/ListItem/ListItem.styles.d.ts.map +1 -1
  65. package/dist/ui/PageHeader/PageHeader.stories.d.ts +2 -1
  66. package/dist/ui/PageHeader/PageHeader.stories.d.ts.map +1 -1
  67. package/dist/ui/PageHeader/PageHeader.styles.d.ts +2 -1
  68. package/dist/ui/PageHeader/PageHeader.styles.d.ts.map +1 -1
  69. package/dist/ui/ProgressBar/ProgressBar.stories.d.ts +2 -1
  70. package/dist/ui/ProgressBar/ProgressBar.stories.d.ts.map +1 -1
  71. package/dist/ui/ProgressBar/ProgressBar.styles.d.ts +2 -1
  72. package/dist/ui/ProgressBar/ProgressBar.styles.d.ts.map +1 -1
  73. package/dist/ui/ResourceList/ResourceList.stories.d.ts +2 -1
  74. package/dist/ui/ResourceList/ResourceList.stories.d.ts.map +1 -1
  75. package/dist/ui/ResourceList/ResourceList.styles.d.ts +2 -1
  76. package/dist/ui/ResourceList/ResourceList.styles.d.ts.map +1 -1
  77. package/dist/ui/Sidebar/Sidebar.stories.d.ts +16 -8
  78. package/dist/ui/Sidebar/Sidebar.stories.d.ts.map +1 -1
  79. package/dist/ui/Sidebar/Sidebar.styles.d.ts +16 -8
  80. package/dist/ui/Sidebar/Sidebar.styles.d.ts.map +1 -1
  81. package/dist/ui/Signature/Signature.stories.d.ts +2 -1
  82. package/dist/ui/Signature/Signature.stories.d.ts.map +1 -1
  83. package/dist/ui/Signature/Signature.styles.d.ts +2 -1
  84. package/dist/ui/Signature/Signature.styles.d.ts.map +1 -1
  85. package/dist/ui/Tabs/Tabs.stories.d.ts +6 -3
  86. package/dist/ui/Tabs/Tabs.stories.d.ts.map +1 -1
  87. package/dist/ui/Tabs/Tabs.styles.d.ts +6 -3
  88. package/dist/ui/Tabs/Tabs.styles.d.ts.map +1 -1
  89. package/dist/ui/Tag/Tag.stories.d.ts +4 -2
  90. package/dist/ui/Tag/Tag.stories.d.ts.map +1 -1
  91. package/dist/ui/Tag/Tag.styles.d.ts +4 -2
  92. package/dist/ui/Tag/Tag.styles.d.ts.map +1 -1
  93. package/dist/ui/Toast/Toast.stories.d.ts +4 -2
  94. package/dist/ui/Toast/Toast.stories.d.ts.map +1 -1
  95. package/dist/ui/Toast/Toast.styles.d.ts +4 -2
  96. package/dist/ui/Toast/Toast.styles.d.ts.map +1 -1
  97. package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts +2 -1
  98. package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts.map +1 -1
  99. package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.d.ts +2 -1
  100. package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.d.ts.map +1 -1
  101. package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts +8 -4
  102. package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts.map +1 -1
  103. package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts +8 -4
  104. package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts.map +1 -1
  105. package/package.json +1 -1
@@ -0,0 +1,7 @@
1
+ import type { TypographyProps } from '../Typography';
2
+ export type AnchorHeadingProps = {
3
+ children: string;
4
+ style?: TypographyProps['style'];
5
+ };
6
+ export declare const AnchorHeading: ({ children, style }: AnchorHeadingProps) => import("react").JSX.Element;
7
+ //# sourceMappingURL=AnchorHeading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnchorHeading.d.ts","sourceRoot":"","sources":["../../../src/core/AnchorHeading/AnchorHeading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,qBAAqB,kBAAkB,gCAEpE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Typography } from '../Typography';
3
+ export const AnchorHeading = ({ children, style }) => (_jsx(Typography, { style: style, children: children }));
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ title: string;
3
+ tags: "core"[];
4
+ experimental: true;
5
+ webOnly: true;
6
+ description: string;
7
+ component: ({ children, style }: import("./AnchorHeading").AnchorHeadingProps) => import("react").JSX.Element;
8
+ styleFn: () => {};
9
+ };
10
+ export default _default;
11
+ export declare const Default: () => import("react").JSX.Element;
12
+ export * as Sources from './AnchorHeading.stories.sources';
13
+ //# sourceMappingURL=AnchorHeading.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnchorHeading.stories.d.ts","sourceRoot":"","sources":["../../../src/core/AnchorHeading/AnchorHeading.stories.tsx"],"names":[],"mappings":";;;;;;;;;AAIA,wBAQkB;AAElB,eAAO,MAAM,OAAO,mCAGnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useTheme } from '@alveole/theme';
3
+ import { AnchorHeading } from './AnchorHeading';
4
+ export default {
5
+ title: 'AnchorHeading',
6
+ tags: ['core'],
7
+ experimental: true,
8
+ webOnly: true,
9
+ description: 'Titre avec ancre navigable au survol — id slug généré automatiquement.',
10
+ component: AnchorHeading,
11
+ styleFn: () => ({}),
12
+ };
13
+ export const Default = () => {
14
+ const { text } = useTheme();
15
+ return _jsx(AnchorHeading, { style: text.Titres['H5 - XS'], children: "Mon exemple de titre" });
16
+ };
17
+ export * as Sources from './AnchorHeading.stories.sources';
@@ -0,0 +1,6 @@
1
+ export declare const Default: () => string;
2
+ export declare const storySources: {
3
+ readonly Default: () => string;
4
+ };
5
+ export type StorySourceName = keyof typeof storySources;
6
+ //# sourceMappingURL=AnchorHeading.stories.sources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnchorHeading.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/core/AnchorHeading/AnchorHeading.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA2K,CAAC;AAEhM,eAAO,MAAM,YAAY;;CAEf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
@@ -0,0 +1,6 @@
1
+ // This file is generated. Do not edit manually.
2
+ // Source: src/core/AnchorHeading/AnchorHeading.stories.tsx
3
+ export const Default = () => "export const Default = () => {\n const { text } = useTheme();\n return <AnchorHeading style={text.Titres['H5 - XS']}>Mon exemple de titre</AnchorHeading>;\n};";
4
+ export const storySources = {
5
+ Default,
6
+ };
@@ -0,0 +1,3 @@
1
+ import type { AnchorHeadingProps } from './AnchorHeading';
2
+ export declare const AnchorHeading: ({ children, style }: AnchorHeadingProps) => import("react").JSX.Element;
3
+ //# sourceMappingURL=AnchorHeading.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnchorHeading.web.d.ts","sourceRoot":"","sources":["../../../src/core/AnchorHeading/AnchorHeading.web.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAU1D,eAAO,MAAM,aAAa,GAAI,qBAAqB,kBAAkB,gCAkCpE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useTheme } from '@alveole/theme';
3
+ import { useState } from 'react';
4
+ import { LucideIcon } from '../../ui/LucideIcon';
5
+ import { Typography } from '../Typography';
6
+ const toSlug = (value) => value
7
+ .toLowerCase()
8
+ .normalize('NFD')
9
+ .replace(/[̀-ͯ]/g, '')
10
+ .replace(/\s+/g, '-')
11
+ .replace(/[^a-z0-9-]/g, '');
12
+ export const AnchorHeading = ({ children, style }) => {
13
+ const { color } = useTheme();
14
+ const [hovered, setHovered] = useState(false);
15
+ const [iconHovered, setIconHovered] = useState(false);
16
+ const slug = toSlug(children);
17
+ return (_jsxs("div", { id: slug, style: { display: 'flex', flexDirection: 'row', alignItems: 'center', gap: 6 }, onMouseEnter: () => setHovered(true), onMouseLeave: () => setHovered(false), children: [_jsx(Typography, { style: style, children: children }), _jsx("a", { href: `#${slug}`, style: {
18
+ opacity: hovered ? 1 : 0,
19
+ transition: 'opacity 0.15s',
20
+ display: 'flex',
21
+ alignItems: 'center',
22
+ }, onMouseEnter: () => setIconHovered(true), onMouseLeave: () => setIconHovered(false), children: _jsx(LucideIcon, { name: "Link", size: "sm", color: iconHovered ? color.light.system.focus : color.light.text['default-grey'] }) })] }));
23
+ };
@@ -0,0 +1,2 @@
1
+ export * from './AnchorHeading';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/AnchorHeading/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './AnchorHeading';
@@ -7,10 +7,11 @@ declare const _default: {
7
7
  styleFn: () => {
8
8
  container: {
9
9
  color: "#5F6571";
10
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
11
10
  fontSize: 12;
12
11
  lineHeight: 20;
13
12
  letterSpacing: 0;
13
+ fontFamily: string;
14
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
14
15
  padding: import("@alveole/theme").Spacing;
15
16
  textAlign: "center";
16
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Version.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Version/Version.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAAoB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"Version.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Version/Version.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAAoB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC"}
@@ -1,10 +1,11 @@
1
1
  export declare const useStyles: () => {
2
2
  container: {
3
3
  color: "#5F6571";
4
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
5
4
  fontSize: 12;
6
5
  lineHeight: 20;
7
6
  letterSpacing: 0;
7
+ fontFamily: string;
8
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
8
9
  padding: import("@alveole/theme").Spacing;
9
10
  textAlign: "center";
10
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Version.styles.d.ts","sourceRoot":"","sources":["../../../src/core/Version/Version.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;CAOnB,CAAC"}
1
+ {"version":3,"file":"Version.styles.d.ts","sourceRoot":"","sources":["../../../src/core/Version/Version.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;CAOnB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './A';
2
+ export * from './AnchorHeading';
2
3
  export * from './Box';
3
4
  export * from './Highlight';
4
5
  export * from './Image';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,KAAK,CAAC;AACpB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,KAAK,CAAC;AACpB,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './A';
2
+ export * from './AnchorHeading';
2
3
  export * from './Box';
3
4
  export * from './Highlight';
4
5
  export * from './Image';
@@ -1,2 +1,2 @@
1
- export declare const ALVEOLE_COMPONENTS_VERSION: "0.40.0";
1
+ export declare const ALVEOLE_COMPONENTS_VERSION: "0.41.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- export const ALVEOLE_COMPONENTS_VERSION = "0.40.0";
1
+ export const ALVEOLE_COMPONENTS_VERSION = "0.41.0";
@@ -1,4 +1,5 @@
1
1
  export * as AStory from '../core/A/A.stories';
2
+ export * as AnchorHeadingStory from '../core/AnchorHeading/AnchorHeading.stories';
2
3
  export * as BoxStory from '../core/Box/Box.stories';
3
4
  export * as Highlight from '../core/Highlight/Highlight.stories';
4
5
  export * as ImageStory from '../core/Image/Image.stories';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stories/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,SAAS,MAAM,qCAAqC,CAAC;AACjE,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,aAAa,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,cAAc,MAAM,qCAAqC,CAAC;AACtE,OAAO,KAAK,YAAY,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,eAAe,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,YAAY,MAAM,iCAAiC,CAAC;AAGhE,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,gBAAgB,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,mBAAmB,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,aAAa,MAAM,iCAAiC,CAAC;AACjE,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,gBAAgB,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,qBAAqB,MAAM,iDAAiD,CAAC;AACzF,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stories/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,kBAAkB,MAAM,6CAA6C,CAAC;AAClF,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,SAAS,MAAM,qCAAqC,CAAC;AACjE,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,aAAa,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,cAAc,MAAM,qCAAqC,CAAC;AACtE,OAAO,KAAK,YAAY,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,eAAe,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,YAAY,MAAM,iCAAiC,CAAC;AAGhE,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,gBAAgB,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,mBAAmB,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,aAAa,MAAM,iCAAiC,CAAC;AACjE,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,gBAAgB,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,qBAAqB,MAAM,iDAAiD,CAAC;AACzF,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  // Core
2
2
  export * as AStory from '../core/A/A.stories';
3
+ export * as AnchorHeadingStory from '../core/AnchorHeading/AnchorHeading.stories';
3
4
  export * as BoxStory from '../core/Box/Box.stories';
4
5
  export * as Highlight from '../core/Highlight/Highlight.stories';
5
6
  export * as ImageStory from '../core/Image/Image.stories';
@@ -49,7 +49,7 @@ export const Filters = () => {
49
49
  const hasSelection = filter.multi
50
50
  ? (multiSelected[filter.id]?.length ?? 0) > 0
51
51
  : singleSelected[filter.id] != null;
52
- return (_jsx(ActionMenu, { placement: "bottom-start", scrollable: false, open: isOpen, setOpen: open => setOpenId(open ? filter.id : null), renderTrigger: () => (_jsx(Button, { variant: "secondary", title: filter.title, endIcon: isOpen ? 'ChevronUp' : 'ChevronDown', size: "sm", selected: hasSelection, active: isOpen })), children: filter.options.map(option => {
52
+ return (_jsx(ActionMenu, { placement: "bottom-start", scrollable: false, open: isOpen, setOpen: open => setOpenId(open ? filter.id : null), renderTrigger: () => (_jsx(Button, { variant: "secondary", title: filter.title, endIcon: "ChevronDown", size: "sm", selected: hasSelection, active: isOpen })), children: filter.options.map(option => {
53
53
  const isSelected = filter.multi
54
54
  ? (multiSelected[filter.id] ?? []).includes(option)
55
55
  : singleSelected[filter.id] === option;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionMenu.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/ActionMenu/ActionMenu.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA2/B,CAAC;AAEhhC,eAAO,MAAM,OAAO,cAAilG,CAAC;AAEtmG,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
1
+ {"version":3,"file":"ActionMenu.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/ActionMenu/ActionMenu.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA2/B,CAAC;AAEhhC,eAAO,MAAM,OAAO,cAA0jG,CAAC;AAE/kG,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
@@ -1,7 +1,7 @@
1
1
  // This file is generated. Do not edit manually.
2
2
  // Source: src/ui/ActionMenu/ActionMenu.stories.tsx
3
3
  export const Default = () => "export const Default = () => {\n const alignments = [\n 'top',\n 'right',\n 'bottom',\n 'left',\n 'top-start',\n 'top-end',\n 'right-start',\n 'right-end',\n 'bottom-start',\n 'bottom-end',\n 'left-start',\n 'left-end',\n ] as const;\n\n return (\n <Box\n display=\"flex\"\n flexWrap=\"wrap\"\n gap=\"1W\"\n flexDirection=\"row\"\n justify-content=\"center\"\n align-items=\"center\"\n width=\"100%\"\n >\n {alignments.map(alignment => (\n <ActionMenu\n key={alignment}\n placement={alignment}\n renderTrigger={() => <Button variant=\"secondary\" title={alignment} />}\n >\n <ActionMenu.Item title=\"Contenu de l'action menu\" icon=\"Settings\" selected />\n <ActionMenu.Item title=\"Contenu de l'action menu\" icon=\"Copy\" />\n <ActionMenu.Item title=\"Contenu de l'action menu\" icon=\"Trash\" />\n </ActionMenu>\n ))}\n </Box>\n );\n};";
4
- export const Filters = () => "export const Filters = () => {\n const filters: { id: FilterId; title: string; options: string[]; multi?: boolean }[] = [\n { id: 'epic', title: 'Epic', options: ['Refonte design', 'Onboarding', 'Facturation'] },\n { id: 'type', title: 'Type', options: ['Bug', 'Story', 'Tâche'] },\n {\n id: 'filtresRapides',\n title: 'Filtres rapides',\n options: ['Assigné à moi', 'En cours', 'En retard'],\n multi: true,\n },\n ];\n\n const [openId, setOpenId] = React.useState<FilterId | null>(null);\n const [singleSelected, setSingleSelected] = React.useState<Partial<Record<FilterId, string>>>({});\n const [multiSelected, setMultiSelected] = React.useState<Partial<Record<FilterId, string[]>>>({});\n\n return (\n <ScrollView\n horizontal\n nestedScrollEnabled\n directionalLockEnabled={Platform.OS === 'ios'}\n showsHorizontalScrollIndicator={false}\n contentContainerStyle={{ flexDirection: 'row', gap: 8, paddingHorizontal: 16 }}\n >\n {filters.map(filter => {\n const isOpen = openId === filter.id;\n const hasSelection = filter.multi\n ? (multiSelected[filter.id]?.length ?? 0) > 0\n : singleSelected[filter.id] != null;\n\n return (\n <ActionMenu\n key={filter.id}\n placement=\"bottom-start\"\n scrollable={false}\n open={isOpen}\n setOpen={open => setOpenId(open ? filter.id : null)}\n renderTrigger={() => (\n <Button\n variant=\"secondary\"\n title={filter.title}\n endIcon={isOpen ? 'ChevronUp' : 'ChevronDown'}\n size=\"sm\"\n selected={hasSelection}\n active={isOpen}\n />\n )}\n >\n {filter.options.map(option => {\n const isSelected = filter.multi\n ? (multiSelected[filter.id] ?? []).includes(option)\n : singleSelected[filter.id] === option;\n\n return (\n <ActionMenu.Item\n key={option}\n title={option}\n selected={isSelected}\n onPress={() => {\n if (filter.multi) {\n setMultiSelected(prev => {\n const current = prev[filter.id] ?? [];\n return {\n ...prev,\n [filter.id]: current.includes(option)\n ? current.filter(o => o !== option)\n : [...current, option],\n };\n });\n } else {\n setSingleSelected(prev => ({\n ...prev,\n [filter.id]: prev[filter.id] === option ? undefined : option,\n }));\n setOpenId(null);\n }\n }}\n />\n );\n })}\n </ActionMenu>\n );\n })}\n </ScrollView>\n );\n};";
4
+ export const Filters = () => "export const Filters = () => {\n const filters: { id: FilterId; title: string; options: string[]; multi?: boolean }[] = [\n { id: 'epic', title: 'Epic', options: ['Refonte design', 'Onboarding', 'Facturation'] },\n { id: 'type', title: 'Type', options: ['Bug', 'Story', 'Tâche'] },\n {\n id: 'filtresRapides',\n title: 'Filtres rapides',\n options: ['Assigné à moi', 'En cours', 'En retard'],\n multi: true,\n },\n ];\n\n const [openId, setOpenId] = React.useState<FilterId | null>(null);\n const [singleSelected, setSingleSelected] = React.useState<Partial<Record<FilterId, string>>>({});\n const [multiSelected, setMultiSelected] = React.useState<Partial<Record<FilterId, string[]>>>({});\n\n return (\n <ScrollView\n horizontal\n nestedScrollEnabled\n directionalLockEnabled={Platform.OS === 'ios'}\n showsHorizontalScrollIndicator={false}\n contentContainerStyle={{ flexDirection: 'row', gap: 8, paddingHorizontal: 16 }}\n >\n {filters.map(filter => {\n const isOpen = openId === filter.id;\n const hasSelection = filter.multi\n ? (multiSelected[filter.id]?.length ?? 0) > 0\n : singleSelected[filter.id] != null;\n\n return (\n <ActionMenu\n key={filter.id}\n placement=\"bottom-start\"\n scrollable={false}\n open={isOpen}\n setOpen={open => setOpenId(open ? filter.id : null)}\n renderTrigger={() => (\n <Button\n variant=\"secondary\"\n title={filter.title}\n endIcon=\"ChevronDown\"\n size=\"sm\"\n selected={hasSelection}\n active={isOpen}\n />\n )}\n >\n {filter.options.map(option => {\n const isSelected = filter.multi\n ? (multiSelected[filter.id] ?? []).includes(option)\n : singleSelected[filter.id] === option;\n\n return (\n <ActionMenu.Item\n key={option}\n title={option}\n selected={isSelected}\n onPress={() => {\n if (filter.multi) {\n setMultiSelected(prev => {\n const current = prev[filter.id] ?? [];\n return {\n ...prev,\n [filter.id]: current.includes(option)\n ? current.filter(o => o !== option)\n : [...current, option],\n };\n });\n } else {\n setSingleSelected(prev => ({\n ...prev,\n [filter.id]: prev[filter.id] === option ? undefined : option,\n }));\n setOpenId(null);\n }\n }}\n />\n );\n })}\n </ActionMenu>\n );\n })}\n </ScrollView>\n );\n};";
5
5
  export const storySources = {
6
6
  Default,
7
7
  Filters,
@@ -17,10 +17,11 @@ declare const _default: {
17
17
  display: "flex";
18
18
  justifyContent: "center";
19
19
  textAlign: "center";
20
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
21
20
  fontSize: 16;
22
21
  lineHeight: 24;
23
22
  letterSpacing: 0;
23
+ fontFamily: string;
24
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
24
25
  };
25
26
  image: {};
26
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Avatar/Avatar.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAQkB;AAUlB,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAK5B,CAAC;AAEF,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Avatar/Avatar.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAQkB;AAUlB,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAK5B,CAAC;AAEF,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC"}
@@ -10,10 +10,11 @@ export declare const useStyles: () => {
10
10
  display: "flex";
11
11
  justifyContent: "center";
12
12
  textAlign: "center";
13
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
14
13
  fontSize: 16;
15
14
  lineHeight: 24;
16
15
  letterSpacing: 0;
16
+ fontFamily: string;
17
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
17
18
  };
18
19
  image: {};
19
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Avatar/Avatar.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;CAenB,CAAC"}
1
+ {"version":3,"file":"Avatar.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Avatar/Avatar.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAenB,CAAC"}
@@ -39,21 +39,23 @@ declare const _default: {
39
39
  backgroundColor: "#EFF1F6";
40
40
  };
41
41
  badgeSm: {
42
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
43
42
  fontSize: 12;
44
43
  lineHeight: 20;
45
44
  letterSpacing: 0;
46
45
  textTransform: "uppercase";
46
+ fontFamily: string;
47
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
47
48
  paddingLeft: import("@alveole/theme").Spacing;
48
49
  paddingRight: import("@alveole/theme").Spacing;
49
50
  gap: import("@alveole/theme").Spacing;
50
51
  };
51
52
  badgeMd: {
52
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
53
53
  fontSize: 14;
54
54
  lineHeight: 20;
55
55
  letterSpacing: 0;
56
56
  textTransform: "uppercase";
57
+ fontFamily: string;
58
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
57
59
  paddingLeft: import("@alveole/theme").Spacing;
58
60
  paddingRight: import("@alveole/theme").Spacing;
59
61
  gap: import("@alveole/theme").Spacing;
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Badge/Badge.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAQkB;AAElB,eAAO,MAAM,QAAQ,mCAuBpB,CAAC;AAEF,eAAO,MAAM,KAAK,mCASjB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAMjB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"Badge.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Badge/Badge.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAQkB;AAElB,eAAO,MAAM,QAAQ,mCAuBpB,CAAC;AAEF,eAAO,MAAM,KAAK,mCASjB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAMjB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC"}
@@ -32,21 +32,23 @@ export declare const useStyles: () => {
32
32
  backgroundColor: "#EFF1F6";
33
33
  };
34
34
  badgeSm: {
35
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
36
35
  fontSize: 12;
37
36
  lineHeight: 20;
38
37
  letterSpacing: 0;
39
38
  textTransform: "uppercase";
39
+ fontFamily: string;
40
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
40
41
  paddingLeft: import("@alveole/theme").Spacing;
41
42
  paddingRight: import("@alveole/theme").Spacing;
42
43
  gap: import("@alveole/theme").Spacing;
43
44
  };
44
45
  badgeMd: {
45
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
46
46
  fontSize: 14;
47
47
  lineHeight: 20;
48
48
  letterSpacing: 0;
49
49
  textTransform: "uppercase";
50
+ fontFamily: string;
51
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
50
52
  paddingLeft: import("@alveole/theme").Spacing;
51
53
  paddingRight: import("@alveole/theme").Spacing;
52
54
  gap: import("@alveole/theme").Spacing;
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Badge/Badge.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDnB,CAAC"}
1
+ {"version":3,"file":"Badge.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Badge/Badge.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDnB,CAAC"}
@@ -7,10 +7,11 @@ declare const _default: {
7
7
  component: (props: import("./Breadcrumbs").BreadcrumbsProps) => import("react").JSX.Element;
8
8
  styleFn: () => {
9
9
  container: {
10
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
11
10
  fontSize: 12;
12
11
  lineHeight: 20;
13
12
  letterSpacing: 0;
13
+ fontFamily: string;
14
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
14
15
  flexDirection: "row";
15
16
  flexWrap: "wrap";
16
17
  alignItems: "center";
@@ -26,10 +27,11 @@ declare const _default: {
26
27
  transitionProperty: "text-decoration";
27
28
  transitionDuration: "0.1s";
28
29
  transitionTimingFunction: "ease-in-out";
29
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
30
30
  fontSize: 12;
31
31
  lineHeight: 20;
32
32
  letterSpacing: 0;
33
+ fontFamily: string;
34
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
33
35
  color: "#5F6571";
34
36
  textDecoration: string;
35
37
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBASkB;AAElB,eAAO,MAAM,OAAO,mCAInB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mCAI/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAe5B,CAAC;AAEF,eAAO,MAAM,cAAc,mCAW1B,CAAC;AAEF,eAAO,MAAM,UAAU,mCAStB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAgB9B,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC"}
1
+ {"version":3,"file":"Breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBASkB;AAElB,eAAO,MAAM,OAAO,mCAInB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mCAI/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAe5B,CAAC;AAEF,eAAO,MAAM,cAAc,mCAW1B,CAAC;AAEF,eAAO,MAAM,UAAU,mCAStB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAgB9B,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC"}
@@ -1,9 +1,10 @@
1
1
  export declare const useStyles: () => {
2
2
  container: {
3
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
4
3
  fontSize: 12;
5
4
  lineHeight: 20;
6
5
  letterSpacing: 0;
6
+ fontFamily: string;
7
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
7
8
  flexDirection: "row";
8
9
  flexWrap: "wrap";
9
10
  alignItems: "center";
@@ -19,10 +20,11 @@ export declare const useStyles: () => {
19
20
  transitionProperty: "text-decoration";
20
21
  transitionDuration: "0.1s";
21
22
  transitionTimingFunction: "ease-in-out";
22
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
23
23
  fontSize: 12;
24
24
  lineHeight: 20;
25
25
  letterSpacing: 0;
26
+ fontFamily: string;
27
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
26
28
  color: "#5F6571";
27
29
  textDecoration: string;
28
30
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBnB,CAAC"}
1
+ {"version":3,"file":"Breadcrumbs.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Breadcrumbs/Breadcrumbs.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBnB,CAAC"}
@@ -183,28 +183,32 @@ declare const _default: {
183
183
  padding: import("@alveole/theme").Spacing;
184
184
  };
185
185
  xsTitle: {
186
- readonly fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
187
186
  readonly fontSize: 12;
188
187
  readonly lineHeight: 20;
189
188
  readonly letterSpacing: 0;
189
+ readonly fontFamily: string;
190
+ readonly fontWeight?: import("react-native").TextStyle["fontWeight"];
190
191
  };
191
192
  smTitle: {
192
- readonly fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
193
193
  readonly fontSize: 14;
194
194
  readonly lineHeight: 20;
195
195
  readonly letterSpacing: 0;
196
+ readonly fontFamily: string;
197
+ readonly fontWeight?: import("react-native").TextStyle["fontWeight"];
196
198
  };
197
199
  mdTitle: {
198
- readonly fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
199
200
  readonly fontSize: 14;
200
201
  readonly lineHeight: 20;
201
202
  readonly letterSpacing: 0;
203
+ readonly fontFamily: string;
204
+ readonly fontWeight?: import("react-native").TextStyle["fontWeight"];
202
205
  };
203
206
  lgTitle: {
204
- readonly fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
205
207
  readonly fontSize: 16;
206
208
  readonly lineHeight: 24;
207
209
  readonly letterSpacing: 0;
210
+ readonly fontFamily: string;
211
+ readonly fontWeight?: import("react-native").TextStyle["fontWeight"];
208
212
  };
209
213
  smContainerStartIcon: {
210
214
  paddingLeft: import("@alveole/theme").Spacing;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAQkB;AAElB,eAAO,MAAM,KAAK,mCAMjB,CAAC;AAEF,eAAO,MAAM,OAAO,mCAKnB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAKrB,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAKpB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAKlB,CAAC;AAEF,eAAO,MAAM,IAAI,mCAShB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAAkE,CAAC;AAEzF,eAAO,MAAM,QAAQ,mCAIpB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAOlB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAQkB;AAElB,eAAO,MAAM,KAAK,mCAMjB,CAAC;AAEF,eAAO,MAAM,OAAO,mCAKnB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAKrB,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAKpB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAKlB,CAAC;AAEF,eAAO,MAAM,IAAI,mCAShB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAAkE,CAAC;AAEzF,eAAO,MAAM,QAAQ,mCAIpB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAOlB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC"}
@@ -161,28 +161,32 @@ export declare const useStyles: () => {
161
161
  padding: import("@alveole/theme").Spacing;
162
162
  };
163
163
  xsTitle: {
164
- readonly fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
165
164
  readonly fontSize: 12;
166
165
  readonly lineHeight: 20;
167
166
  readonly letterSpacing: 0;
167
+ readonly fontFamily: string;
168
+ readonly fontWeight?: import("react-native").TextStyle["fontWeight"];
168
169
  };
169
170
  smTitle: {
170
- readonly fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
171
171
  readonly fontSize: 14;
172
172
  readonly lineHeight: 20;
173
173
  readonly letterSpacing: 0;
174
+ readonly fontFamily: string;
175
+ readonly fontWeight?: import("react-native").TextStyle["fontWeight"];
174
176
  };
175
177
  mdTitle: {
176
- readonly fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
177
178
  readonly fontSize: 14;
178
179
  readonly lineHeight: 20;
179
180
  readonly letterSpacing: 0;
181
+ readonly fontFamily: string;
182
+ readonly fontWeight?: import("react-native").TextStyle["fontWeight"];
180
183
  };
181
184
  lgTitle: {
182
- readonly fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
183
185
  readonly fontSize: 16;
184
186
  readonly lineHeight: 24;
185
187
  readonly letterSpacing: 0;
188
+ readonly fontFamily: string;
189
+ readonly fontWeight?: import("react-native").TextStyle["fontWeight"];
186
190
  };
187
191
  smContainerStartIcon: {
188
192
  paddingLeft: import("@alveole/theme").Spacing;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkRnB,CAAC"}
1
+ {"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkRnB,CAAC"}
@@ -28,10 +28,11 @@ declare const _default: {
28
28
  };
29
29
  titleText: {
30
30
  color: "#151617";
31
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
32
31
  fontSize: 14;
33
32
  lineHeight: 20;
34
33
  letterSpacing: 0;
34
+ fontFamily: string;
35
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
35
36
  };
36
37
  description: {
37
38
  display: "flex";
@@ -45,10 +46,11 @@ declare const _default: {
45
46
  };
46
47
  descriptionText: {
47
48
  color: "#373A3F";
48
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
49
49
  fontSize: 14;
50
50
  lineHeight: 20;
51
51
  letterSpacing: 0;
52
+ fontFamily: string;
53
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
52
54
  };
53
55
  disabledText: {
54
56
  color: "#8D97AC";
@@ -1 +1 @@
1
- {"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Card/Card.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAQkB;AAElB,eAAO,MAAM,IAAI,mCAgBhB,CAAC;AAEF,eAAO,MAAM,YAAY,mCA2BxB,CAAC;AAEF,eAAO,MAAM,WAAW,mCASvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mCAU/B,CAAC;AAEF,eAAO,MAAM,UAAU,mCAgBtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAS9B,CAAC;AAEF,eAAO,MAAM,WAAW,mCAYvB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Card/Card.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAQkB;AAElB,eAAO,MAAM,IAAI,mCAgBhB,CAAC;AAEF,eAAO,MAAM,YAAY,mCA2BxB,CAAC;AAEF,eAAO,MAAM,WAAW,mCASvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mCAU/B,CAAC;AAEF,eAAO,MAAM,UAAU,mCAgBtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAS9B,CAAC;AAEF,eAAO,MAAM,WAAW,mCAYvB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC"}
@@ -12,17 +12,19 @@ export declare const useStyles: () => {
12
12
  };
13
13
  titre: {
14
14
  color: "#151617";
15
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
16
15
  fontSize: 16;
17
16
  lineHeight: 24;
18
17
  letterSpacing: 0;
18
+ fontFamily: string;
19
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
19
20
  };
20
21
  sousTitre: {
21
22
  color: "#373A3F";
22
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
23
23
  fontSize: 14;
24
24
  lineHeight: 20;
25
25
  letterSpacing: 0;
26
+ fontFamily: string;
27
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
26
28
  };
27
29
  disabledText: {
28
30
  color: "#8D97AC";
@@ -1 +1 @@
1
- {"version":3,"file":"CardHeader.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Card/CardHeader.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBnB,CAAC"}
1
+ {"version":3,"file":"CardHeader.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Card/CardHeader.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBnB,CAAC"}
@@ -17,10 +17,11 @@ export declare const useStyles: () => {
17
17
  };
18
18
  titleText: {
19
19
  color: "#151617";
20
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
21
20
  fontSize: 14;
22
21
  lineHeight: 20;
23
22
  letterSpacing: 0;
23
+ fontFamily: string;
24
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
24
25
  };
25
26
  description: {
26
27
  display: "flex";
@@ -34,10 +35,11 @@ export declare const useStyles: () => {
34
35
  };
35
36
  descriptionText: {
36
37
  color: "#373A3F";
37
- fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
38
38
  fontSize: 14;
39
39
  lineHeight: 20;
40
40
  letterSpacing: 0;
41
+ fontFamily: string;
42
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
41
43
  };
42
44
  disabledText: {
43
45
  color: "#8D97AC";