Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main from dev And Publish @ntohq/buefy-next to NPM #12

Merged
merged 7 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
48 changes: 0 additions & 48 deletions .circleci/config.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflow/npm_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish buefy-next to NPM
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org/'
scope: '@ntohq'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Empty file.
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"name": "buefy",
"version": "0.9.23",
"name": "@ntohq/buefy-next",
"version": "0.1.0",
"homepage": "https://buefy.org",
"description": "Lightweight UI components for Vue.js (v3) based on Bulma",
"author": "Rafael Beraldo <rafael.pimpa@gmail.com>",
"maintainers": [
"Walter Tommasi <tommsi20@gmail.com>",
"Kikuo Emoto <kemoto@codemonger.io>"
"Kikuo Emoto <kemoto@codemonger.io>",
"Wesley Ford <wes@wesdevpro.com>"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand All @@ -24,10 +28,10 @@
],
"repository": {
"type": "git",
"url": "https://github.com/buefy/buefy.git"
"url": "https://github.com/ntohq/buefy-next"
},
"bugs": {
"url": "https://github.com/buefy/buefy/issues"
"url": "https://github.com/ntohq/buefy-next/issues"
},
"vetur": {
"tags": "dist/vetur/tags.json",
Expand Down
6 changes: 3 additions & 3 deletions src/components/field/FieldBody.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import { Comment, Fragment, h as createElement, resolveComponent } from 'vue'
import { Comment, Fragment, Text, h as createElement, resolveComponent } from 'vue'

export default {
name: 'BFieldBody',
Expand All @@ -26,7 +26,7 @@ export default {
default: () => {
return children.map((element) => {
// skip returns(?) and comments
if (element.type === Comment) {
if (element.type === Comment || element.type === Text) {
return element
}
let message
Expand All @@ -40,7 +40,7 @@ export default {
type: this.type,
message
},
[element]
() => element
)
})
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/table/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<table
class="table"
:class="tableClasses"
:tabindex="!focusable ? false : 0"
:tabindex="!focusable ? undefined : 0"
@keydown.self.prevent.up="pressedArrow(-1)"
@keydown.self.prevent.down="pressedArrow(1)"
>
Expand Down