Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
d733ac6
fix: correctly set multiple prop for each circle
setaman Oct 13, 2020
1561066
fix: radius calculation in multiple mode
setaman Oct 13, 2020
b6e99ff
fix: remove redundancies on options parsing
setaman Oct 13, 2020
e4ec989
release: v2.0.0-alpha.1
setaman Oct 13, 2020
447b71e
Merge pull request #89 from setaman/v2-circle-mixin-refactoring
setaman Oct 13, 2020
417ec63
fix: top and bottom line modes
setaman Oct 18, 2020
6ae3445
fix: out-over line modes
setaman Oct 27, 2020
4b5dd3b
fix: in line mode
setaman Oct 27, 2020
75ac5b2
release: v2.0.0-alpha.2
setaman Oct 27, 2020
1a0e6c1
feat: add loader prop and component
setaman Oct 27, 2020
cb073b9
feat: add loader prop validator
setaman Oct 27, 2020
dc04249
feat: add loader options parsing
setaman Oct 27, 2020
5e57029
feat: add half circle loader
setaman Oct 27, 2020
ac6981c
fix: half circle loader class name
setaman Oct 27, 2020
51d53cc
refac: CircleContainer.vue component name
setaman Oct 27, 2020
96eeeb3
doc: add loader prop description
setaman Oct 27, 2020
df90bf3
feat: add loader opacity handling
setaman Oct 27, 2020
b637f21
feat: add half circle loader opacity handling
setaman Oct 27, 2020
7be4e07
doc: adjust loader description
setaman Oct 27, 2020
7142034
release: v2.0.0-alpha.3
setaman Oct 27, 2020
55e58c8
Merge remote-tracking branch 'origin/v2-loader-option' into v2-loader…
setaman Oct 27, 2020
a0ee8e4
Merge pull request #90 from setaman/v2-loader-option
setaman Oct 30, 2020
2e74bb5
fix: legendValue rendering
setaman Oct 30, 2020
ba4036e
refac: run linter
setaman Oct 30, 2020
15d0727
2.0.0-alpha.4
setaman Oct 30, 2020
038a7fb
doc: update npm badge
setaman Nov 5, 2020
d40cad4
doc: update plugin initialization
setaman Nov 5, 2020
6c0391d
fix!: change plugin initialization
setaman Nov 5, 2020
9ff8952
doc: remove version notes badges
setaman Nov 5, 2020
73fadfa
chore: bump deps
setaman Nov 30, 2020
c32ac14
chore: update travis config
setaman Nov 30, 2020
3f84fd7
chore: add codeclimate config
setaman Dec 6, 2020
f8d0ca7
feat: export component in the build
setaman Dec 6, 2020
da8710a
fix!: short component name to ve-progress
setaman Dec 6, 2020
792657e
doc: update initialization guide
setaman Dec 6, 2020
6b6bc8a
doc: update CDN initialization guide
setaman Dec 13, 2020
acd25ad
chore: bump deps
setaman Dec 13, 2020
4a72146
doc: corrections
setaman Dec 13, 2020
bd3f77e
Merge pull request #92 from setaman/v2-improve-build
setaman Dec 13, 2020
389943d
2.0.0-alpha.5
setaman Dec 13, 2020
39c8020
feat: add linePosition prop definition
setaman Dec 15, 2020
9cda4d9
feat: add separate fill circle
setaman Dec 15, 2020
b341b89
feat: add offset value to linePosition prop
setaman Dec 15, 2020
f1b87c5
feat: add linePosition prop parser
setaman Dec 15, 2020
4bf31e9
feat: add fill circle radius calculations
setaman Dec 15, 2020
bd999a0
feat: add empty fill circle
setaman Dec 15, 2020
4a1c1e1
fix: apply noData state class to empty fill circle
setaman Dec 15, 2020
fc934d4
fix: apply correctly empty color fill to half circle
setaman Dec 15, 2020
408aad2
fix: add half fill circle positioning
setaman Dec 15, 2020
fae4904
release: v2.0.0-alpha.6
setaman Dec 15, 2020
c5a3311
refac: half circle methods
setaman Dec 15, 2020
09703a2
fix: apply transition to half fill circle
setaman Dec 15, 2020
06c96f6
refac: fill circles radius calculation
setaman Dec 15, 2020
6b2fc86
fix: add webpack config fix to be able to tun tests
setaman Dec 15, 2020
cd7d335
tests: add reusable factory helper method
setaman Dec 15, 2020
bd403c3
tests: adjust circle mock props
setaman Dec 15, 2020
bd17d62
Merge pull request #93 from setaman/v2-stroke-alignment
setaman Dec 15, 2020
c6fb118
tests: cleanup helper.js
setaman Dec 16, 2020
619ba51
refac!: rename legend to hideLegend
setaman Dec 16, 2020
37a237a
refac: legend usage in code
setaman Dec 16, 2020
db9ce0f
refac!: rename legendValue to legend
setaman Dec 16, 2020
1418654
Merge remote-tracking branch 'origin/v2-dev' into v2-improve-prop-naming
setaman Dec 16, 2020
618d266
release: v2.0.0-alpha.7
setaman Dec 17, 2020
05579dc
Merge pull request #95 from setaman/v2-improve-prop-naming
setaman Dec 17, 2020
4752be8
Merge branch 'v2-dev' into v2-fix-tests
setaman Dec 17, 2020
fbdaa97
test: correctly set props
setaman Dec 17, 2020
9d83db0
test: pass animation tests animation prop properly
setaman Dec 22, 2020
825c6d1
test: pass animation prop properly to counter tests
setaman Dec 22, 2020
878c055
test: adjust dot tests
setaman Dec 22, 2020
08c71f4
refac: options parser
setaman Dec 22, 2020
cc89fdf
test: fix complete dot suite
setaman Dec 22, 2020
a6d4581
test: refactor thickness tests
setaman Dec 23, 2020
51db3ac
test: fix lineMode tests
setaman Dec 23, 2020
4408c82
test: fix and refactor animation tests
setaman Dec 23, 2020
7a1d68c
fix: dashed line creation
setaman Dec 27, 2020
1026e4c
test: fix dash tests
setaman Dec 27, 2020
d0ed3a1
fix: do not render fill circles if no fill color specified
setaman Dec 27, 2020
9c0347b
fix: set half loader circle fill to transparent
setaman Dec 27, 2020
ee378a7
fix: loader prop validation
setaman Dec 27, 2020
1605248
fix: fill circles rendering condition
setaman Dec 27, 2020
338b8f5
fix: move loader to the front of fill circle
setaman Dec 27, 2020
61901ab
test: extend color tests
setaman Dec 27, 2020
4676b1a
test: fix data tests
setaman Dec 27, 2020
ec8c6ab
test: fix container data tests
setaman Dec 27, 2020
55c8a9c
test: fix legendFormatter tests
setaman Dec 27, 2020
a6f67b6
test: fix counter tests
setaman Dec 30, 2020
22422b5
test: fix circle progress tests
setaman Dec 30, 2020
f787d8e
test: fix half circle progress tests
setaman Dec 30, 2020
9b02d2a
test: fix all color tests
setaman Dec 30, 2020
eca5372
chore: bump deps
setaman Jan 2, 2021
ac9a2ea
test: add dot default value test
setaman Jan 2, 2021
5126dbd
test: add dot parser tests
setaman Jan 2, 2021
3a49c4f
test: add animation parser tests
setaman Jan 2, 2021
01d2913
test: add dash parser tests
setaman Jan 2, 2021
f6e53f3
refac: lineMode parser
setaman Jan 2, 2021
4bc6952
test: add lineMode parser tests
setaman Jan 2, 2021
783a2a2
test: add linePosition parser tests
setaman Jan 2, 2021
4617533
fix: parse offset to float in linePositionParser
setaman Jan 2, 2021
1f125b5
chore: run linter
setaman Jan 3, 2021
c3852ad
Merge pull request #97 from setaman/v2-fix-tests
setaman Jan 3, 2021
cea9b02
fix!: rename legend-value slot to legend
setaman Jan 3, 2021
987675f
doc: update legend and hideLegend props docs
setaman Jan 3, 2021
4e6f349
doc: add linePosition description
setaman Jan 4, 2021
7799229
doc: update badges
setaman Jan 4, 2021
761813f
doc: update main section
setaman Jan 4, 2021
5cfe4b9
doc: update installation section
setaman Jan 4, 2021
dc391aa
doc: update slots usage
setaman Jan 4, 2021
88eca7f
doc: update compatibility section
setaman Jan 4, 2021
bfc0e38
doc: add emojis
setaman Jan 4, 2021
58841d0
doc: adjust options section
setaman Jan 4, 2021
a7c23fd
doc: corrections
setaman Jan 4, 2021
6a45c2a
fix: remove unused variable
setaman Jan 4, 2021
37f36e5
refac: cleanup components
setaman Jan 4, 2021
7903b8a
test: adjust animation tests
setaman Jan 4, 2021
1b56ba5
test: extend animation parser tests
setaman Jan 4, 2021
4e8354a
doc: correct slot examples
setaman Jan 5, 2021
3e6594c
fix!: rename lineMode mode normal to center
setaman Jan 5, 2021
91e89b2
Merge branch 'v2-dev' into v2-docs
setaman Jan 5, 2021
ed95c51
doc: update lineMode mode naming
setaman Jan 5, 2021
8f0c7bb
doc: adjust color docs
setaman Jan 5, 2021
3b3d6ea
2.0.0-beta.0
setaman Jan 5, 2021
18f8791
release: 2.0.0-beta.0
setaman Jan 5, 2021
567526f
chore: bump deps
setaman Jan 5, 2021
873a4cc
doc: update version label
setaman Jan 5, 2021
6303f82
fix: loader lineMode parsing
setaman Jan 5, 2021
faa77d5
fix: add loader parser
setaman Jan 5, 2021
4e4250d
fix: adjust loader parser
setaman Jan 5, 2021
7fda5cd
fix: apply loader gradient color correctly
setaman Jan 5, 2021
4590d73
fix: cleanup half loader component
setaman Jan 5, 2021
365a12c
fix: extend loader parser
setaman Jan 5, 2021
2da6678
fix: remove loader animation opacity
setaman Jan 5, 2021
b897fbc
release: v2.0.0-beta.1
setaman Jan 5, 2021
67f877d
Merge pull request #99 from setaman/v2-improve-loader-prop-handling
setaman Jan 5, 2021
c6067f3
test: set loader default value for circles
setaman Jan 5, 2021
b024d5f
chore: bump dev deps
setaman Jan 10, 2021
1016e11
chore: remove tests config fix related to vue-cli bug
setaman Jan 10, 2021
fe88862
chore: bump vue version
setaman Jan 10, 2021
7cd669c
chore: remove npm readme
setaman Jan 10, 2021
7c0a911
chore: bum test-utils version
setaman Feb 7, 2021
808eb3b
test: fix slot name in slots tests
setaman Feb 14, 2021
e74478e
fix: do not assign id attribut to circle svg element
setaman Feb 14, 2021
ef3dbea
fix: use vue components uid as circle uid
setaman Feb 14, 2021
15d762a
fix: use uid in gradient element id attribut
setaman Feb 14, 2021
d24e724
fix: consistently use uid for gradient colors definition
setaman Feb 14, 2021
b3e8d60
fix: fix gradients handling in half circle
setaman Feb 15, 2021
f59442a
test: adjust colors tests
setaman Feb 15, 2021
3189920
Merge pull request #101 from setaman/#100-fix-gradient-colors-handling
setaman Feb 15, 2021
da48488
2.0.0-beta.1
setaman Feb 15, 2021
98b163b
chore: bump deps
setaman Mar 26, 2021
a0812ea
chore: bump deps
setaman Apr 11, 2021
6ee4062
chore: downgrade sass-loader to v10
setaman Apr 11, 2021
9f81d0f
chore: bump dev deps versions
setaman Apr 28, 2021
b5cecab
Merge remote-tracking branch 'origin/v2-dev' into v2-unit-test
setaman Apr 29, 2021
92eeba6
test: add linePosition tests
setaman Apr 29, 2021
da051d1
test: fix #loading tests
setaman Apr 29, 2021
6c526c8
test: fix #determinate tests
setaman Apr 29, 2021
ac1c935
fix: add class to half circle loader container
setaman Apr 29, 2021
237c4ff
fix: add basic loader testes
setaman Apr 30, 2021
c1eedf4
fix: assign properly half circle loader stroke-line attribute
setaman Apr 30, 2021
083cc8c
fix: extend #loader tests
setaman Apr 30, 2021
4ba1fe6
fix: simplify container slots markup
setaman Apr 30, 2021
726125c
test: extend #legendFormatter tests
setaman Apr 30, 2021
5981e9d
test: fix slot tests
setaman Apr 30, 2021
a54487c
test: extend #thickness tests
setaman May 1, 2021
037bb3f
test: extend Counter tests
setaman May 1, 2021
003939d
test: extend #animation tests
setaman May 1, 2021
f3024d6
fix: apply dot bounce animation duration correctly
setaman May 1, 2021
e8da1be
fix: refactor #dot tests
setaman May 1, 2021
8ae4c1c
fix: do not render dot with size 0
setaman May 1, 2021
97e0b7f
feat: calculate counter progress and pass it to legendFormatter/defau…
setaman May 1, 2021
2302277
test: refactor line mode tests
setaman May 1, 2021
0f68632
test: fix animation and dot tests
setaman May 1, 2021
36fcfa2
test: refactor test to consistently use components factory
setaman May 1, 2021
af7e464
refac: run linter
setaman May 1, 2021
b15baac
Merge pull request #114 from setaman/v2-unit-test
setaman May 1, 2021
01da8d2
chore: add changelog generator
setaman May 2, 2021
8dc9dd1
Merge pull request #115 from setaman/aurmated-changelog
setaman May 2, 2021
1d69345
chore: update browserslist db [skip ci]
setaman May 2, 2021
c9c341f
fix: set lineMode correctly for loader circle if data defined
setaman May 2, 2021
c9159b4
fix: counter count progress calculation
setaman May 2, 2021
55cb952
fix: improve passed counter props to formatter
setaman May 2, 2021
5a29e35
feat: add simple legend formatting
setaman May 2, 2021
75f4855
fix: disable simple formatting for negative values
setaman May 2, 2021
5afac40
test: extend counter tests
setaman May 2, 2021
5080a8f
doc: update #legend description
setaman May 2, 2021
2c76068
chore: bump dev deps
setaman May 18, 2021
538d2b7
chore: add build action
setaman May 20, 2021
d652e3c
chore: remove .travis.yml
setaman May 20, 2021
a447cd3
Merge pull request #122 from setaman/configure-github-actions [ci skip]
setaman May 20, 2021
9457d28
docs: corrections
setaman May 21, 2021
a2b9928
docs: more corrections [ci skip]
setaman May 21, 2021
564b78a
docs: fix badges links [ci skip]
setaman May 21, 2021
4856084
2.0.0
setaman May 21, 2021
90cf3fa
Merge remote-tracking branch 'origin/v2-dev' into v2-dev
setaman May 21, 2021
a35cc1e
chore: add CHANGELOG.md [ci skip]
setaman May 21, 2021
9d6e4ee
fix: apply transition properly to loader circle
setaman Jul 15, 2021
74f40f1
fix: avoid evaluation error in isHTML computed prop
setaman Jul 15, 2021
885fbda
feat: add animation to legend toggle
setaman Jul 15, 2021
f19d30a
test: add hideLegend tests
setaman Jul 16, 2021
f26eb77
release: v2.1.0
setaman Jul 16, 2021
1ccac17
refac: fix linting warnings
setaman Jul 16, 2021
3598e10
Merge pull request #132 from setaman/consistently-apply-transitions
setaman Jul 18, 2021
6cf5f44
chore: use node 16 in github actions
setaman Jul 18, 2021
561859c
feat: add loader animation duration option
setaman Jul 18, 2021
b33dbd4
chore: reset node version to 14
setaman Sep 1, 2021
8bdbe4d
test: improve and extend Counter tests
setaman Sep 18, 2021
8c3f35c
chore: reset node version to 14 in build action
setaman Sep 18, 2021
9044cf2
docs: update loader description
setaman Sep 18, 2021
d31b3c8
Merge branch 'v2-dev' into extend-loader-props
setaman Sep 18, 2021
ad8918a
chore: fix build action
setaman Sep 18, 2021
c84a214
Merge pull request #140 from setaman/extend-loader-props
setaman Sep 18, 2021
3942f8e
fix: correctly apply dash property
setaman Jan 9, 2022
d20d970
Merge pull request #147 from setaman/v2-fix-dash-assigment
setaman Jan 9, 2022
15c4b16
feat: use offsetHeight instead of clientHeight
setaman Jan 9, 2022
7f4b213
test: slightly adjust Counter animation test
setaman Jan 9, 2022
212940e
ci: adjust build action
setaman Jan 15, 2022
f7df71f
docs: prepare release
setaman Jan 15, 2022
0e0a690
chore: add husky
setaman Mar 5, 2022
8ab40a1
chore: minor configuration improvements
setaman Mar 5, 2022
ebd5e4d
chore: adjust commitlint config
setaman Mar 5, 2022
7269cfc
Merge pull request #171 from setaman/v2-dev-add-commitlint-and-husky
setaman Mar 5, 2022
dd2164b
Fix legendHeight setter in mount (#170)
ChaDonSom Mar 6, 2022
e6d161a
chore: bump dev deps and vue version
setaman Apr 14, 2022
71f0011
Merge pull request #175 from setaman/v2-dev-bump-dev-deps
setaman Apr 14, 2022
8aa47ba
2.1.1
setaman Apr 14, 2022
53b721c
release: v2.1.1
setaman Apr 14, 2022
b60a35c
docs: fix slots usage example
setaman Apr 7, 2023
dbfc80b
fix: initial animation/transition on Safari
setaman Jul 30, 2023
1802cf8
Merge pull request #211 from setaman/v2-fix-transition-for-safari
setaman Oct 28, 2023
804f06d
release: v2.1.2
setaman Oct 28, 2023
169df7b
chore: update badges
setaman Oct 28, 2023
4b7a5e6
docs: add new docs announcement
setaman Oct 28, 2023
fbd993f
docs: fix new docs note
setaman Nov 22, 2023
fb55511
feat: add progress circle experimental slot
setaman Aug 24, 2024
4c51b25
chore: bump deps
setaman Aug 24, 2024
26b8296
test: reactivate slot tests
setaman Aug 24, 2024
ab8394d
test: add circle-progress slot test
setaman Aug 24, 2024
bce276e
fix: correctly handle skipped animation
setaman Aug 25, 2024
4d3e8a1
chore: add coderabbit config
setaman Sep 18, 2024
d28aaf4
test: fix container tests
setaman Sep 18, 2024
0a0f205
chore: add coderabbit base branches
setaman Sep 18, 2024
5f6020f
ci: simplify action
setaman Sep 18, 2024
a02a3f2
ci: update actions
setaman Sep 18, 2024
9616752
Merge pull request #240 from setaman/v2-circle-progress-slot
setaman Oct 3, 2024
bb2ecb5
chore: remove legacy demo
setaman Oct 3, 2024
a73c986
docs: update readme
setaman Oct 3, 2024
9b0c5f3
chore: update husky
setaman Oct 3, 2024
411837f
docs: update readme
setaman Oct 3, 2024
d4408e3
Merge branch 'v2-dev' into dev
setaman Oct 3, 2024
9eedb5a
ci: add missing build step
setaman Oct 3, 2024
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
8 changes: 8 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
exclude_patterns:
- "tests"
- "demo"
plugins:
eslint:
enabled: true
channel: "eslint-7"
105 changes: 105 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: en-US
tone_instructions: ''
early_access: true
enable_free_tier: true
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
high_level_summary_placeholder: '@coderabbitai summary'
auto_title_placeholder: '@coderabbitai'
review_status: true
poem: false
collapse_walkthrough: true
sequence_diagrams: false
changed_files_summary: true
labeling_instructions: []
path_filters:
- '!App.vue'
path_instructions: []
abort_on_close: true
auto_review:
enabled: true
auto_incremental_review: true
ignore_title_keywords: []
labels: []
drafts: false
base_branches:
- master
- dev
- v2-dev
tools:
shellcheck:
enabled: true
ruff:
enabled: false
markdownlint:
enabled: true
github-checks:
enabled: true
timeout_ms: 90000
languagetool:
enabled: true
enabled_only: false
level: default
enabled_rules: []
disabled_rules: []
enabled_categories: []
disabled_categories: []
biome:
enabled: true
hadolint:
enabled: true
swiftlint:
enabled: false
phpstan:
enabled: false
level: default
golangci-lint:
enabled: false
yamllint:
enabled: true
gitleaks:
enabled: true
checkov:
enabled: false
detekt:
enabled: false
eslint:
enabled: true
rubocop:
enabled: false
buf:
enabled: false
regal:
enabled: false
actionlint:
enabled: true
pmd:
enabled: false
cppcheck:
enabled: false
semgrep:
enabled: true
circleci:
enabled: true
ast-grep:
packages: []
rule_dirs: []
util_dirs: []
essential_rules: true
chat:
auto_reply: true
knowledge_base:
opt_out: false
learnings:
scope: auto
issues:
scope: auto
jira:
project_keys: []
linear:
team_keys: []
pull_requests:
scope: auto
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
App.vue
tests
19 changes: 15 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,30 @@ module.exports = {
node: true,
},
plugins: ["prettier"],
extends: ["plugin:vue/essential", "@vue/airbnb", "plugin:prettier/recommended"],
extends: ["plugin:vue/vue3-essential", "eslint:recommended", "plugin:prettier/recommended"],
rules: {
"prettier/prettier": "warn",
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
"no-console": process.env.NODE_ENV === "production" ? "error" : "warn",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "warn",
"no-underscore-dangle": "off",
"no-plusplus": "off",
"max-len": [2, 120, 8],
"no-restricted-syntax": "off",
"guard-for-in": "off",
"no-case-declarations": "off",
"no-use-before-define": "off",
"vue/multi-word-component-names": 0,
"no-promise-executor-return": 0,
},
overrides: [
{
files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)"],
env: {
mocha: true,
},
},
],
parserOptions: {
parser: "babel-eslint",
parser: "@babel/eslint-parser",
},
};
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
text=auto

*.js eol=lf
*.jsx eol=lf
*.json eol=lf
*.vue eol=lf
38 changes: 38 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and test

on:
push:
branches:
- master
- dev
- v2-dev
paths:
- "src/**"
- "!*.md"
pull_request:
branches:
- master
- dev
- v2-dev
paths:
- "src/**"
- "!*.md"

jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Unit tests
run: npm run test
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run lint
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

Loading