Skip to content

Commit

Permalink
style: use built in class modifier, not custom class (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
nandi95 authored Dec 14, 2021
1 parent 70e8e89 commit c6da6e3
Show file tree
Hide file tree
Showing 7 changed files with 1,173 additions and 1,490 deletions.
2,640 changes: 1,163 additions & 1,477 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@karnama/vueish",
"version": "0.8.1",
"version": "0.8.2",
"files": [
"dist",
"types"
Expand Down Expand Up @@ -31,9 +31,9 @@
},
"devDependencies": {
"@babel/core": "^7.13.16",
"@commitlint/config-conventional": "^14.1.0",
"@commitlint/prompt-cli": "^14.1.0",
"@commitlint/types": "^14.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@commitlint/prompt-cli": "^15.0.0",
"@commitlint/types": "^15.0.0",
"@types/glob": "^7.1.3",
"@types/jest": "^27.0.2",
"@types/lodash-es": "^4.17.4",
Expand All @@ -45,11 +45,12 @@
"@vitejs/plugin-vue": "^1.2.2",
"@vue/compiler-sfc": "^3.2.11",
"@vue/eslint-config-typescript": "^9.1.0",
"@vue/test-utils": "^2.0.0-rc.10",
"@vue/test-utils": "2.0.0-rc.16",
"@vue/vue3-jest": "^27.0.0-alpha.3",
"autoprefixer": "^10.2.3",
"babel-jest": "^27.3.1",
"babel-loader": "^8.2.2",
"commitlint": "^14.1.0",
"commitlint": "^15.0.0",
"eslint": "^8.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^25.2.4",
Expand All @@ -70,7 +71,6 @@
"vite": "^2.4.1",
"vue": "^3.2.11",
"vue-docgen-api": "^4.40.0",
"@vue/vue3-jest": "^27.0.0-alpha.3",
"vue-loader": "^16.2.0",
"vue-router": "^4.0.6",
"vue-template-compiler": "^2.6.12"
Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/pagination/UIPagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<UIButton id="next-page-button"
:disabled="disabled || !hasNext"
aria-label="Next Page"
class="transform rotate-270 !p-1"
class="transform -rotate-90 !p-1"
@click="page === Number(length) ? undefined : setPage(page + 1)"
v-html="chevronIcon" />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ exports[`UIPagination should render correctly 1`] = `
</button>
<button
aria-label="Next Page"
class="border-gray-300 text-gray-900 bg-gray-300 disabled:bg-gray-300 ring-gray-600 hover:bg-gray-400 hover:border-gray-400 border px-3.5 py-2 focus:ring-2 ui-button rounded font-bold text-sm m-0 focus:outline-none ring-0 disabled:cursor-not-allowed transform rotate-270 !p-1"
class="border-gray-300 text-gray-900 bg-gray-300 disabled:bg-gray-300 ring-gray-600 hover:bg-gray-400 hover:border-gray-400 border px-3.5 py-2 focus:ring-2 ui-button rounded font-bold text-sm m-0 focus:outline-none ring-0 disabled:cursor-not-allowed transform -rotate-90 !p-1"
id="next-page-button"
type="button"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/table/UITable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
v-html="chevronIcon" />
<UIButton :disabled="!hasNext"
minimal
class="transform rotate-270"
class="transform -rotate-90"
@click="currentPage++"
v-html="chevronIcon" />
</span>
Expand Down
3 changes: 0 additions & 3 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ export default {
},
transitionProperty: {
'spacing': 'margin, padding'
},
rotate: {
'270': '270deg'
}
}
}
Expand Down

0 comments on commit c6da6e3

Please sign in to comment.