css`
background: ${theme.hexToRgba(theme.neutralColor.low.pure, theme.opacity.level[6])};
@@ -61,6 +70,7 @@ export default styled(Overlay, {
visibility: hidden;
inset: 0;
backdrop-filter: blur(${theme.pxToRem(8)}rem);
+ animation: ${fadeInAnimation} 200ms linear;
&.--hts-color-high {
background: ${theme.hexToRgba(theme.neutralColor.high.pure, theme.opacity.level[6])};
diff --git a/src/pages/ui-components/ThemeProvider/index.tsx b/src/pages/ui-components/ThemeProvider/index.tsx
index df841ba8a..50dfbb608 100644
--- a/src/pages/ui-components/ThemeProvider/index.tsx
+++ b/src/pages/ui-components/ThemeProvider/index.tsx
@@ -9,6 +9,7 @@ import setDefaultOptions from 'date-fns/setDefaultOptions';
import { HoustonThemeProps } from '@eduzz/houston-styles';
import createThemeStyles from '@eduzz/houston-styles/createTheme';
+import DialogGlobal from '../Dialog/Global';
import PopoverRoot from '../Popover/Root';
import ToastContainer from '../Toast/Container';
import generateTheme from './_generator';
@@ -25,6 +26,7 @@ export interface ThemeProviderProps extends Pick
generateTheme(theme));
@@ -61,6 +64,7 @@ function ThemeProvider({
{!disableToast && }
+ {!disableDialogs && }
{!disableCssBaseline && }
{!disableResetStyles && }
{children}
diff --git a/src/pages/ui-components/Typography/Paragraph/index.mdx b/src/pages/ui-components/Typography/Paragraph/index.mdx
index ed0a0046d..f00a86ea9 100644
--- a/src/pages/ui-components/Typography/Paragraph/index.mdx
+++ b/src/pages/ui-components/Typography/Paragraph/index.mdx
@@ -21,8 +21,9 @@ import Paragraph from '@eduzz/houston-ui/Typography/Paragraph';
### Tamanhos
- Large
Small
+ Medium
+ Large
### Intensidade da fonte
@@ -107,14 +108,14 @@ import Paragraph from '@eduzz/houston-ui/Typography/Paragraph';
}}
-| prop | tipo | obrigatório | padrão |
-| ------------ | ------------------------------------ | --------------- | ------------- | ------- | --- |
-| size | `lg, sm` | `false` | `lg` |
-| lineHeight | `Line Height Tokens` | `false` | `md` |
-| weight | `Font Weight Tokens` | `false` | `regular` |
-| marginBottom | `boolean` | `false` | - |
-| className | `string` | `false` | - |
-| onClick | `(e: React.MouseEvent) => void` | `false` | - |
-| as | `'p', 'span', 'strong'` | `false` | `p` |
-| ref | `React.ReactRef` | `false` | - |
-| color | `'primary', 'low', 'pure'` | `false` | `low` |
+| prop | tipo | obrigatório | padrão |
+| ------------ | ---------------------------------------------------------------------- | ----------- | --------- |
+| size | `sm, md, lg` | `false` | `lg` |
+| lineHeight | `Line Height Tokens` | `false` | `md` |
+| weight | `Font Weight Tokens` | `false` | `regular` |
+| marginBottom | `boolean` | `false` | - |
+| className | `string` | `false` | - |
+| onClick | `(e: React.MouseEvent) => void` | `false` | - |
+| as | `'p', 'span', 'strong'` | `false` | `p` |
+| ref | `React.ReactRef` | `false` | - |
+| color | `'primary', 'low', 'pure'` | `false` | `low` |
diff --git a/src/pages/ui-components/Typography/Paragraph/index.tsx b/src/pages/ui-components/Typography/Paragraph/index.tsx
index 624b59fa9..410bc2cf1 100644
--- a/src/pages/ui-components/Typography/Paragraph/index.tsx
+++ b/src/pages/ui-components/Typography/Paragraph/index.tsx
@@ -9,7 +9,7 @@ import useMediaQuery from '../../hooks/useMediaQuery';
type ParagraphTags = 'p' | 'span' | 'strong';
-export type ParagraphSizes = 'lg' | 'sm';
+export type ParagraphSizes = 'sm' | 'md' | 'lg';
export interface ParagraphProps extends StyledProp, Omit {
/**
@@ -27,13 +27,15 @@ type SizesMap = {
};
const defaultSizesMap: SizesMap = {
- lg: 'sm',
- sm: 'xs'
+ sm: 'xxs',
+ md: 'xs',
+ lg: 'sm'
};
const mobileSizesMap: SizesMap = {
- lg: 'sm',
- sm: 'xs'
+ sm: 'xxs',
+ md: 'xs',
+ lg: 'sm'
};
const Paragraph = React.forwardRef(
@@ -44,7 +46,7 @@ const Paragraph = React.forwardRef
+
{children}
);
diff --git a/src/pages/ui-components/package.json b/src/pages/ui-components/package.json
index 2af471824..e8d6864fb 100644
--- a/src/pages/ui-components/package.json
+++ b/src/pages/ui-components/package.json
@@ -1,7 +1,7 @@
{
"name": "@eduzz/houston-ui",
"description": "Eduzz Houston Components UI",
- "version": "0.58.10",
+ "version": "0.58.11",
"main": "./index.js",
"types": "./index.d.ts",
"author": "Eduzz Team",
@@ -16,11 +16,11 @@
"url": "https://github.com/eduzz/houston/issues"
},
"dependencies": {
- "@eduzz/houston-core": "0.58.10",
- "@eduzz/houston-hooks": "0.58.10",
- "@eduzz/houston-icons": "0.58.10",
- "@eduzz/houston-styles": "0.58.10",
- "@eduzz/houston-forms": "0.58.10",
+ "@eduzz/houston-core": "0.58.11",
+ "@eduzz/houston-hooks": "0.58.11",
+ "@eduzz/houston-icons": "0.58.11",
+ "@eduzz/houston-styles": "0.58.11",
+ "@eduzz/houston-forms": "0.58.11",
"@emotion/css": "^11",
"@emotion/react": "^11",
"@emotion/styled": "^11",
@@ -39,7 +39,7 @@
"@mui/x-date-pickers": "5.0.0-alpha.7"
},
"peerDependencies": {
- "@eduzz/houston-core": "0.58.10",
+ "@eduzz/houston-core": "0.58.11",
"@material-ui/core": "^4",
"@material-ui/icons": "^4",
"@material-ui/lab": "^4"