@ag.ds-next/core
Advanced tools
Comparing version 4.1.0 to 4.1.1
# @ag.ds-next/core | ||
## 4.1.1 | ||
### Patch Changes | ||
- 1f3bdfc4c: Adjusted form field max widths | ||
## 4.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -299,4 +299,16 @@ 'use strict'; | ||
// 1280 px | ||
mobileMenu: '17.5rem' // 280 px | ||
mobileMenu: '17.5rem', | ||
// 280 px | ||
field: { | ||
xs: '5rem', | ||
// 80 px | ||
sm: '8rem', | ||
// 128 px | ||
md: '13rem', | ||
// 208 px | ||
lg: '18rem', | ||
// 288 px | ||
xl: '24rem' // 384 px | ||
} | ||
}; | ||
@@ -303,0 +315,0 @@ var borderRadius = unit; |
@@ -21,2 +21,16 @@ declare const font: { | ||
export declare function mapSpacing(v: Spacing): string; | ||
declare const maxWidth: { | ||
readonly bodyText: "42em"; | ||
readonly container: "80rem"; | ||
readonly mobileMenu: "17.5rem"; | ||
readonly field: { | ||
readonly xs: "5rem"; | ||
readonly sm: "8rem"; | ||
readonly md: "13rem"; | ||
readonly lg: "18rem"; | ||
readonly xl: "24rem"; | ||
}; | ||
}; | ||
export declare type MaxWidth = keyof typeof maxWidth; | ||
export declare type FieldMaxWidth = keyof typeof maxWidth.field; | ||
declare const borderWidth: { | ||
@@ -92,5 +106,12 @@ readonly sm: 1; | ||
maxWidth: { | ||
bodyText: string; | ||
container: string; | ||
mobileMenu: string; | ||
readonly bodyText: "42em"; | ||
readonly container: "80rem"; | ||
readonly mobileMenu: "17.5rem"; | ||
readonly field: { | ||
readonly xs: "5rem"; | ||
readonly sm: "8rem"; | ||
readonly md: "13rem"; | ||
readonly lg: "18rem"; | ||
readonly xl: "24rem"; | ||
}; | ||
}; | ||
@@ -97,0 +118,0 @@ borderRadius: number; |
{ | ||
"name": "@ag.ds-next/core", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/ag.ds-next-core.cjs.js", |
## @ag.ds-next/core | ||
Documentation for this package can be found here: https://steelthreads.github.io/agds-next/packages/foundations/core | ||
Documentation for this package can be found here: https://design-system.agriculture.gov.au/components/core |
@@ -92,4 +92,14 @@ // Tokens | ||
mobileMenu: '17.5rem', // 280 px | ||
}; | ||
field: { | ||
xs: '5rem', // 80 px | ||
sm: '8rem', // 128 px | ||
md: '13rem', // 208 px | ||
lg: '18rem', // 288 px | ||
xl: '24rem', // 384 px | ||
}, | ||
} as const; | ||
export type MaxWidth = keyof typeof maxWidth; | ||
export type FieldMaxWidth = keyof typeof maxWidth.field; | ||
const borderRadius = unit; | ||
@@ -96,0 +106,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
254101
4461
0