-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove deprecated code issues #133
BREAKING CHANGE: This code update resolves issues with deprecated features and cleans up the implementation of the `auro-header` component. The `fixed` attribute and legacy size options (`xxxs` to `xxxl`) have been eliminated, along with related utility classes and documentation references, simplifying margin handling to specified numeric values (`none`, `25`, `50`, etc.). Legacy styles and examples supporting pixel-based rendering are removed, aligning the component with modern practices. Additionally, two lines in `.husky/pre-commit` that would fail in version `v10.0.0`—`#!/usr/bin/env sh` and `. "$(dirname -- "$0")/_/husky.sh"`—were removed to ensure compatibility. Updates include revisions to documentation files, API examples, and the `auro-header.js` source code, while dependencies in the `package.json` file are updated, reflecting the latest version of `@aurodesignsystem/auro-library`. These changes streamline the codebase, remove outdated functionality, and improve maintainability for future development. On branch dsande/deprecatedFeats/#133 Changes to be committed: modified: .husky/pre-commit deleted: apiExamples/fixed.html modified: apiExamples/margins.html modified: apiExamples/margins2.html modified: demo/api.md modified: demo/index.min.js modified: docs/api.md modified: docs/partials/api.md modified: package-lock.json modified: package.json modified: src/auro-header.js modified: src/style.scss modified: test/auro-header.test.js
- Loading branch information
1 parent
cb06869
commit b6e637e
Showing
13 changed files
with
56 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
./node_modules/.bin/npm-run-all linters test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<auro-header level="2" display="500" margin="bottom" size="50">Hello World!</auro-header> | ||
<ol className="util_stackMarginNone--top"> | ||
<ol> | ||
<li>... thing</li> | ||
<li>thing ...</li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<auro-header level="2" display="500" margin="both" size="400">Hello World!</auro-header> | ||
<ol className="util_stackMarginNone--top"> | ||
<ol> | ||
<li>... thing</li> | ||
<li>thing ...</li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.