Skip to content

Commit 918c6b4

Browse files
authored
feat: 0.15.0 (#435)
## Chore: * chore: updated version * chore(select): simplified typing * chore: reduced sidebar width for demo board * chore(label)!: renamed UIPill to UILabel * chore(deps-dev): updated dependencies * chore: removed unused lines * chore: updated active link style on demo board * chore(toggle): removed redundant value indicator * chore(button): added prop comment * chore(deps-dev): updated non-breaking dependencies * chore(button): set tinted flag in demo to false * chore(deps-dev): updated automation dependencies * chore(deps-dev): updated eslint and fixed new issues * chore(deps-dev): updated jest to v28 * chore: updated checkout action version * chore(button): updated prop names throughout for UIButton usages * chore: use built in tailwind config type * chore: emit cjs format ## Fix: * fix(intersect): fixed callback being run twice * fix(select): removed autocomplete * fix(select): removed selection display if there's no selection * fix(select): added missing loader import * fix(select): fixed overflow to top offscreen on * Resolves @karnama/vueish#449 * fix: pr fixes * fix(select): only show header if there's content * fix(button): fixed typo * fix: updated the logic to not show loading on disabled ## Feature: * feat(intersect): added `enter` and `leave` modifiers * feat(table): added compact styles * feat(skeleton): added component * feat(select): improved placeholder handling * feat(select): added `isSelected` slot prop to option slot * feat(select): added loader * feat(textarea): added loader * feat(input): added loader * feat(pagination): added large option * feat(button): added small styles * feat(button)!: updated to use tailwind themes * feat(button)!: updated default designs * feat(button): added tinted option * feat(button): preserve button width on loading * this will reduce jumping of content after the button * feat(file-uploader): added loading indicator ## Style: * style(button): updated button styles * Now it's a closer match to the design but still not perfect * style(toggle): updated styles * style(toggle): updated error state border width * style(modal): update border radius * style: set colour to default brand colour on action btns * style(select): added colour transitions * style(table): adjusted heading font-weight * style(input): fixed number buttons on disabled state * style(input): added caret colour * style(textarea): added caret colour * style(label): updated label styles * style(button): removed bg for minimal disabled buttons * style(button): increased text size on large button * style(pagination): made arrow buttons match number button sizes * style: updated label spacing from inputs * style(table): updated default pagination button styles * style(table): increased spacing * style(label)!: update labels to new theme * style(modal): set overflow to auto * style(button): fixed grey buttons styles * style(button-group): fixed focus ring visibility= * style(dropdown): fixed always visible scrollbars * style(button): tweaked gray buttons disabled design * style(input): hid suffix when loading * style(button): added missing button border styles ## Build: * build: added globalThis checks * Linked #329 ## Documentation: * docs(select): improved web-types ## Testing: * test(select): added placeholder regression test * test(button): updated snapshot of other components * test(table): updated snapshot * test: updated selectors * test(button): updated buttton snapshots * test(skeleton): added pulse snap test * test(table): removed comment * test(button): added missing tinted snapshots ## Refactoring * refactor(table)!: renamed recently added `compact` prop to small * This is to keep consistency throughout the library ## Performance * perf(select): removed some dynamic classes * perf: removed lodash merge dependency
1 parent 5073bd7 commit 918c6b4

File tree

83 files changed

+6567
-4241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+6567
-4241
lines changed

.commitlintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ module.exports = {
2020
'file-input',
2121
'file-uploader',
2222
'input',
23+
'label',
2324
'loader-linear',
2425
'loader-spinner',
2526
'modal',
2627
'panel',
27-
'pill',
2828
'radio',
2929
'range-slider',
3030
'select',
31+
'skeleton',
3132
'table',
3233
'textarea',
3334
'toggle',

.eslintrc.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
const isProduction = process.env.NODE_ENV === 'production';
22

3+
/**
4+
* @type {import('@types/eslint').Linter.Config}
5+
*/
36
module.exports = {
47
root: true,
58
parser: 'vue-eslint-parser',
@@ -32,7 +35,8 @@ module.exports = {
3235
extraFileExtensions: ['.vue'],
3336
},
3437
globals: {
35-
__VUEISH_VERSION__: 'readonly'
38+
__VUEISH_VERSION__: 'readonly',
39+
globalThis: 'readonly',
3640
},
3741
rules: {
3842
// https://eslint.org/docs/rules/

.github/semantic.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ scopes:
2323
- 'file-input'
2424
- 'file-uploader'
2525
- 'input'
26+
- 'label'
2627
- 'loader-linear'
2728
- 'loader-spinner'
2829
- 'modal'
2930
- 'panel'
30-
- 'pill'
3131
- 'radio'
3232
- 'range-slider'
3333
- 'select'
34+
- 'skeleton'
3435
- 'table'
3536
- 'textarea'
3637
- 'toggle'

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
2222
cancel-in-progress: true
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- uses: actions/setup-node@v3
2626
with:
2727
cache: 'npm'

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
1414
registry-url: 'https://registry.npmjs.org'

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
2222
cancel-in-progress: true
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- uses: actions/setup-node@v3
2626
with:
2727
cache: 'npm'

0 commit comments

Comments
 (0)