Skip to content

Commit

Permalink
Merge branch 'main' into feat/modal-component
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus-rosa-jsm authored Aug 13, 2024
2 parents d76fa02 + c619ecc commit 5eb84c5
Show file tree
Hide file tree
Showing 9 changed files with 74 additions and 5 deletions.
21 changes: 21 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
## Infos

<!--
### Pull Request Title Convention
When creating a Pull Request, please follow the title convention. It is essential that the title conforms to the standard as it will be used in the library's changelog description.
> type(context): description
The types should be:
- feat: for new features
- fix: for bug fixes
- chore: for maintenance tasks
- major: for major changes that generate a new version
- docs: for documentation
- ci: for chores about ci changes
Example:
> feat(component): create link component
-->

[Task](https://juntossomosmais.monday.com/boards/XXX/pulses/XXX)

#### What is being delivered?
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/pr-title-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PR Title Check

on:
pull_request:
types: [opened, edited]

jobs:
pr-title:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Validate PR Title
run: |
if [[ ! "${{ github.event.pull_request.title }}" =~ ^(feat|fix|chore|major|docs|ci)\(([a-z_-]+)\):(.+|\d+)$ ]]; then
echo "The Pull Request title must follow the convention: 'type(context): description'."
echo "The types must be: feat, fix, chore, major, docs, ci."
echo "Example of a correct title: feat(component): create link component"
exit 1
fi
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"packages/core": "2.12.0",
"packages/core": "2.13.1",
"packages/tokens": "1.2.0"
}
3 changes: 3 additions & 0 deletions apps/docs/stories/1_4_Icons.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ See the list of all available icons:

<details class='icon-gallery'>
<summary>Custom Icons</summary>

<p>Some custom icons have the `-colorful` variation because they have specific colors that make up their identity.</p>

<IconGallery>
{iconsList?.custom?.map((icon) => (
<IconItem name={icon}>
Expand Down
14 changes: 14 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [2.13.1](https://github.com/juntossomosmais/atomium/compare/atomium-v2.13.0...atomium-v2.13.1) (2024-08-08)


### Bug Fixes

* **button:** decrease horizontal padding size ([#531](https://github.com/juntossomosmais/atomium/issues/531)) ([1c6a7b7](https://github.com/juntossomosmais/atomium/commit/1c6a7b724b6abebadcb7cf98f78d416bc9f079cd))

## [2.13.0](https://github.com/juntossomosmais/atomium/compare/atomium-v2.12.0...atomium-v2.13.0) (2024-08-06)


### Features

* **icons:** add icon of pix colerful ([#525](https://github.com/juntossomosmais/atomium/issues/525)) ([4ab55a1](https://github.com/juntossomosmais/atomium/commit/4ab55a1669cf7b9929567c1fb5fb7acfcbcdd9b6))

## [2.12.0](https://github.com/juntossomosmais/atomium/compare/atomium-v2.11.0...atomium-v2.12.0) (2024-08-01)


Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juntossomosmais/atomium",
"version": "2.12.0",
"version": "2.13.1",
"description": "Core of web components for Atomium",
"repository": {
"type": "git",
Expand Down
11 changes: 8 additions & 3 deletions packages/core/src/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,17 @@
--ion-color-contrast: var(--color-neutral-black);
}

&[size='small'],
&[size='default'],
&[size='large'] {
--padding-start: var(--spacing-base);
--padding-end: var(--spacing-base);
height: var(--button-size);
}

&[size='default'] {
--button-size: var(--spacing-xxxxlarge);
font: var(--button-medium);
height: var(--button-size);
letter-spacing: var(--button-medium-letter);

&.is-circle {
Expand All @@ -41,7 +48,6 @@
&[size='small'] {
--button-size: var(--spacing-xxxlarge);
font: var(--button-small);
height: var(--button-size);
letter-spacing: var(--button-small-letter);

&.is-circle {
Expand All @@ -52,7 +58,6 @@
&[size='large'] {
--button-size: var(--spacing-giant);
font: var(--button-large);
height: var(--button-size);
letter-spacing: var(--button-large-letter);

&.is-circle {
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/icons.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export type IconProps =
| 'leader-board'
| 'person-time-outline'
| 'person-warning-outline'
| 'pix-colorful'
| 'pix'
| 'professional-plus'
| 'wallet-giftcard-custom'
Expand Down
3 changes: 3 additions & 0 deletions packages/icons/svg/custom/pix-colorful.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5eb84c5

Please sign in to comment.