@ag.ds-next/content
Advanced tools
Comparing version 6.0.0 to 6.0.1
# @ag.ds-next/content | ||
## 6.0.1 | ||
### Patch Changes | ||
- 94a2c9b1: Update padding on mobile for `lg` variant | ||
- Updated dependencies [df01e99d] | ||
- Updated dependencies [9d64236c] | ||
- @ag.ds-next/core@2.2.1 | ||
- @ag.ds-next/box@5.0.1 | ||
## 6.0.0 | ||
@@ -4,0 +14,0 @@ |
@@ -31,3 +31,3 @@ 'use strict'; | ||
lg: { | ||
xs: 1, | ||
xs: 2, | ||
md: 4 | ||
@@ -34,0 +34,0 @@ } |
@@ -31,3 +31,3 @@ 'use strict'; | ||
lg: { | ||
xs: 1, | ||
xs: 2, | ||
md: 4 | ||
@@ -34,0 +34,0 @@ } |
@@ -27,3 +27,3 @@ import { Flex, Stack } from '@ag.ds-next/box'; | ||
lg: { | ||
xs: 1, | ||
xs: 2, | ||
md: 4 | ||
@@ -30,0 +30,0 @@ } |
@@ -10,3 +10,3 @@ import { PropsWithChildren } from 'react'; | ||
}>; | ||
export declare function Content({ as, spacing, palette, background, children, }: ContentProps): JSX.Element; | ||
export declare function Content({ as, spacing, palette, background, children, }: ContentProps): import("@emotion/react/jsx-runtime").JSX.Element; | ||
export {}; |
@@ -6,2 +6,2 @@ import { PropsWithChildren } from 'react'; | ||
}>; | ||
export declare function ContentBleed({ children, visible }: ContentBleedProps): JSX.Element; | ||
export declare function ContentBleed({ children, visible }: ContentBleedProps): import("@emotion/react/jsx-runtime").JSX.Element; |
@@ -11,3 +11,3 @@ export declare const paddingYMap: { | ||
readonly lg: { | ||
readonly xs: 1; | ||
readonly xs: 2; | ||
readonly md: 4; | ||
@@ -14,0 +14,0 @@ }; |
{ | ||
"name": "@ag.ds-next/content", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"main": "dist/ag.ds-next-content.cjs.js", | ||
@@ -8,4 +8,4 @@ "module": "dist/ag.ds-next-content.esm.js", | ||
"peerDependencies": { | ||
"@ag.ds-next/box": "5.0.0", | ||
"@ag.ds-next/core": "2.2.0", | ||
"@ag.ds-next/box": "5.0.1", | ||
"@ag.ds-next/core": "2.2.1", | ||
"@emotion/react": "^11.7.0", | ||
@@ -12,0 +12,0 @@ "react": "^16.14.0 || ^17.0.0" |
export const paddingYMap = { | ||
sm: { xs: 1, md: 2 }, | ||
md: { xs: 1, md: 3 }, | ||
lg: { xs: 1, md: 4 }, | ||
lg: { xs: 2, md: 4 }, | ||
} as const; | ||
export type ContentSpacing = keyof typeof paddingYMap; |
18918