Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
1b99eb9
Merge tag 'v0.3.0' into develop
addon-owner Sep 3, 2025
50f7997
Merge tag 'v0.3.1' into develop
addon-owner Sep 3, 2025
6f68bde
feat(styles): add new scss mixins, add `view` prop to UIProvider
RostyslavNihrutsa Oct 10, 2025
55ddeda
refactor: enhance the Layout component and rename to Viewport
RostyslavNihrutsa Oct 10, 2025
1afcaaf
refactor(styles): add RTL support and animations for Modal, Footer, a…
RostyslavNihrutsa Oct 10, 2025
4e7b367
chore: update dependencies and bump versions in package-lock.json and…
RostyslavNihrutsa Oct 10, 2025
1b21b20
refactor: handle `getBrowser` errors in ThemeProvider, update ThemeSt…
RostyslavNihrutsa Oct 10, 2025
6d795c4
fix(styles): correct variable assignment for `--viewport-max-width`
RostyslavNihrutsa Oct 13, 2025
d8ae553
chore: merge pull request #37 from RostyslavNihrutsa/develop
addon-owner Oct 13, 2025
3e82e35
refactor: improve code readability with consistent formatting and sem…
addon-owner Oct 13, 2025
530be72
refactor: standardize SCSS formatting and improve code consistency
addon-owner Oct 13, 2025
682f9a3
ci: configure Husky hooks, add commitlint, and update dependencies
Oct 13, 2025
053dae2
ci: add GitHub Actions workflows for CI and release
Oct 13, 2025
59a05cb
chore(prettierignore): add workflow YAML files to prettier ignore set…
Oct 13, 2025
52a868b
chore: update dependencies and add overrides for compatibility
Oct 13, 2025
399d122
ci: update Node.js version to 22 in CI and release workflows
Oct 13, 2025
73372aa
refactor: enhance ThemeProvider with dynamic storage initialization
RostyslavNihrutsa Oct 13, 2025
cc8ee2c
ci: rename `build-and-test` job to `testing` for clarity and alignmen…
Oct 13, 2025
69d2f95
Merge branch 'feature/ci' into develop
Oct 13, 2025
4a32156
Revert "refactor: enhance ThemeProvider with dynamic storage initiali…
RostyslavNihrutsa Oct 13, 2025
4fae8ed
Merge remote-tracking branch 'origin/develop' into develop
RostyslavNihrutsa Oct 13, 2025
3e2ecac
refactor: enhance ThemeProvider with dynamic storage initialization
RostyslavNihrutsa Oct 13, 2025
fbe30ae
chore: merge pull request #38 from RostyslavNihrutsa/develop
addon-owner Oct 13, 2025
c9fb2ff
chore(mailmap): update email mappings for consistent author attribution
Oct 13, 2025
8b23ddf
docs: add usage documentation for Button, Avatar, and Checkbox compon…
Oct 14, 2025
2691387
refactor(docs): improve formatting consistency across Button, Avatar,…
Oct 14, 2025
35d8710
docs: update Avatar, Checkbox, and add Dialog documentation with Radi…
Oct 14, 2025
2d72500
docs: add line spacing for improved readability in Radix props sections
Oct 14, 2025
bb0a377
docs: enhance formatting in `Dialog.md` for improved readability and …
Oct 14, 2025
df4fe74
docs: add documentation for Header, Footer, Highlight, and Drawer com…
Oct 14, 2025
dd22027
docs: add comprehensive usage guides for Icon and IconButton components
Oct 14, 2025
b5145e8
docs: add comprehensive usage documentation for SvgSprite, Modal, Lis…
Oct 14, 2025
a1882ea
docs: add documentation for Switch, TextArea, and Tag components
Oct 14, 2025
f84b8d2
docs: add documentation for Toast and TextField components, clean up …
Oct 14, 2025
9f16980
docs: add documentation for View and ViewDrawer components, remove un…
Oct 14, 2025
5573dbf
docs: add documentation for ViewModal and Viewport components
Oct 14, 2025
1a7d18f
docs: update and expand documentation, correct naming, and add policies
Oct 14, 2025
0105559
docs: fix formatting, spacing, and improve consistency in README
Oct 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"@commitlint/config-conventional"
]
}
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Enforce LF for all text files
* text=auto eol=lf

# Keep Windows command scripts with CRLF line endings
*.bat text eol=crlf
*.cmd text eol=crlf
80 changes: 80 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: CI

on:
push:
branches:
- develop
- 'feature/**'
pull_request:
branches:
- develop
- 'feature/**'
workflow_call:
inputs:
full:
description: 'Run full OS x Node matrix'
required: false
type: boolean
default: false

jobs:
compute-matrix:
name: Compute matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set.outputs.matrix }}
name_suffix: ${{ steps.set.outputs.name_suffix }}
steps:
- id: set
run: |
if [[ "${{ inputs.full }}" == "true" ]]; then
echo 'matrix={"os":["ubuntu-latest"],"node":[22]}' >> $GITHUB_OUTPUT
echo 'name_suffix=(full matrix)' >> $GITHUB_OUTPUT
else
echo 'matrix={"os":["ubuntu-latest"],"node":[22]}' >> $GITHUB_OUTPUT
echo 'name_suffix=' >> $GITHUB_OUTPUT
fi

testing:
name: Testing ${{ needs.compute-matrix.outputs.name_suffix }}
needs: compute-matrix
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.compute-matrix.outputs.matrix) }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure git EOL (Windows)
if: runner.os == 'Windows'
run: |
git config core.autocrlf false
git config core.eol lf

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

- name: Typecheck
run: npm run typecheck

- name: Test
run: npm run test:ci

- name: Upload coverage artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.os }}-node${{ matrix.node }}
path: coverage
97 changes: 97 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Release

on:
push:
branches:
- main
workflow_dispatch:
inputs:
version:
description: 'Exact version to release (e.g. 1.2.3). Leave empty to auto-bump.'
required: false
type: string
preid:
description: 'Pre-release identifier (e.g. beta, rc). Optional'
required: false
type: string
npm_tag:
description: 'npm dist-tag (e.g. latest, beta)'
required: false
default: 'latest'
type: string

permissions:
contents: write
id-token: write

jobs:
ci:
name: CI
uses: ./.github/workflows/ci.yml
with:
full: true

release:
name: Release & Publish
runs-on: ubuntu-latest
needs: ci
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
always-auth: true

- name: Install dependencies
run: npm ci

- name: Configure Git user
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

- name: Run release-it
env:
DEBUG: release-it:*,@release-it/*
HUSKY: 0
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
VERSION_ARG=""
if [ -n "${{ inputs.version }}" ]; then
VERSION_ARG="${{ inputs.version }}"
fi

PREID_ARG=""
if [ -n "${{ inputs.preid }}" ]; then
PREID_ARG="--preRelease=${{ inputs.preid }}"
fi

if [ -n "${{ inputs.npm_tag }}" ]; then
NPM_TAG="${{ inputs.npm_tag }}"
else
NPM_TAG="latest"
fi
NPM_TAG_ARG="--npm.tag=${NPM_TAG}"

npm run release -- --ci $PREID_ARG $NPM_TAG_ARG $VERSION_ARG

- name: Sync main → develop
uses: devmasx/merge-branch@v1.4.0
with:
type: now
from_branch: main
target_branch: develop
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
HUSKY: 0

5 changes: 5 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh

# Husky commit-msg hook: validate commit message with commitlint

npx --no -- commitlint --edit "$1"
6 changes: 6 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env sh

# Husky pre-commit hook: format and run related tests on staged files

npm run test:related
npm run format
8 changes: 8 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env sh

# Husky pre-push hook: typecheck, run full tests, and build

npm run typecheck || exit 1
npm run lint || exit 1
#npm run test:ci || exit 1
#npm run build || exit 1
2 changes: 2 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Addon Stack <191148085+addon-stack@users.noreply.github.com> <addonbonedev@gmail.com>
Addon Stack <addon-stack@users.noreply.github.com> <addonbonedev@gmail.com>
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
dist/
build/
build/
.github/workflows/*.yml
Loading