Skip to content

Commit

Permalink
chore: minor spelling improvements (#4521)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored Jan 30, 2025
1 parent e0f1f05 commit 76172c2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import ListExtensions from 'dnb-design-system-portal/src/shared/parts/ListExtens
## Description

Eufemia extensions are reusable parts that do not fit naturally in to a component or element, but rather has the nature of being an extended solution of Eufemia.
There are several great reasons behind opting for having extensions seperated:
There are several great reasons behind opting for having extensions separated:

1. **Modularity and Reusability**: Separating extensions promotes a modular design and minimizes code duplication. It enables the creation of subsystems that are tightly integrated with their respective domains, such as a Forms extension that seamlessly connects to its associated data and functionality.
1. **Decoupled Complexity**: Extensions often add specific or advanced functionality that may not be relevant for all use cases. Keeping them separate prevents the core components or elements from becoming overly complex.
Expand Down
4 changes: 2 additions & 2 deletions packages/dnb-eufemia/scripts/figma/tasks/assetsExtractors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,15 @@ async function collectIconsFromFigmaDoc({
}
)

runDiffControll({ controlStorageLists })
runDiffControl({ controlStorageLists })

return {
listWithNewFiles,
listOfProcessedFiles,
}
}

const runDiffControll = ({ controlStorageLists }) => {
const runDiffControl = ({ controlStorageLists }) => {
const collectDiff = []
const sizes = Object.keys(ICON_SIZES).map((size) => `_${size}`)
const removeSizes = (n) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('P element', () => {
expect(await axeComponent(Comp)).toHaveNoViolations()
})

describe('deprecated behaviour', () => {
describe('deprecated behavior', () => {
it('can set className and modifier', () => {
render(<P className="my-class" modifier="my-modifier" />)
const element = document.querySelector('.dnb-p')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
font-weight: var(--font-weight-bold);
}

// alignement
// alignment
&__align--center {
text-align: center;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const PostalCodeAndCity = () => {
}}
error={
new Error(
'Flere feil (test) som går over flere linjer og som aldrig slutter'
'Flere feil (test) som går over flere linjer og som aldri slutter'
)
}
help={{
Expand Down

0 comments on commit 76172c2

Please sign in to comment.