@sofya-ds/react 1.7.0 → 1.8.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/README.md CHANGED
@@ -18,7 +18,7 @@ pnpm add @sofya-ds/tokens
18
18
 
19
19
  ```tsx
20
20
  import "@sofya-ds/react/styles.css";
21
- import { Button, Logo, SofyaProvider, Text } from "@sofya-ds/react";
21
+ import { Button, DocumentCard, Logo, SofyaProvider, Stack, Text } from "@sofya-ds/react";
22
22
 
23
23
  export function App() {
24
24
  return (
@@ -28,6 +28,10 @@ export function App() {
28
28
  <Text size="h2" variant="gradient">
29
29
  Titulo com gradiente oficial da marca
30
30
  </Text>
31
+ <Stack gap="compact">
32
+ <Text size="encounter-title">Encontro clinico</Text>
33
+ <DocumentCard title="Resumo clinico" description="Documento salvo" />
34
+ </Stack>
31
35
  </SofyaProvider>
32
36
  );
33
37
  }
@@ -35,6 +39,7 @@ export function App() {
35
39
 
36
40
  ## Includes
37
41
 
38
- - Components like `Button`, `Badge`, `Card`, `Checkbox`, `Icon`, `Input`, `InputOTP`, `Link`, `Logo`, `Surface` and `Text`
42
+ - Components like `Button`, `Badge`, `Card`, `Checkbox`, `DocumentCard`, `Icon`, `Input`, `InputOTP`, `Link`, `Logo`, `ProseDialogContent`, `RightRailAction`, `Surface` and `Text`
43
+ - Layout primitives like `Stack`, `Cluster`, `Inline` and `Container` backed by shared spacing tokens
39
44
  - `SofyaProvider` for theme application
40
45
  - Distributed stylesheet at `@sofya-ds/react/styles.css`