Skip to content

Commit 82afb37

Browse files
susnuxShGKme
andcommitted
feat: Refactor NcButton
1. Make it a template component instead of a render function 2. Add a `text` prop to allow passing text content as prop 3. Add `noIconAriaHidden` to allow making the icon appear on the accessible tree Co-authored-by: Ferdinand Thiessen <[email protected]> Co-authored-by: Grigorii K. Shartsev <[email protected]> Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 2668f37 commit 82afb37

File tree

10 files changed

+442
-444
lines changed

10 files changed

+442
-444
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
"styleguide:build": "vue-styleguidist --config styleguide.config.cjs build",
6161
"stylelint": "stylelint \"src/**/*.vue\" \"src/**/*.scss\" \"src/**/*.css\"",
6262
"stylelint:fix": "stylelint \"src/**/*.vue\" \"src/**/*.scss\" \"src/**/*.css\" --fix",
63-
"test": "TZ=UTC vitest run",
63+
"test": "vitest run",
6464
"test:component": "playwright test -c playwright.config.ts",
6565
"test:component:gui": "playwright test --ui -c playwright.config.ts",
66-
"test:coverage": "TZ=UTC vitest run --coverage",
66+
"test:coverage": "vitest run --coverage",
6767
"update:snapshots": "npm run test:component -- --grep @visual --update-snapshots",
6868
"watch": "npm run dev:watch"
6969
},

0 commit comments

Comments
 (0)