Giter Site home page Giter Site logo

gomah / bulmil Goto Github PK

View Code? Open in Web Editor NEW
144.0 7.0 11.0 16.38 MB

:lipstick: A agnostic UI components library based on Web Components, made with Bulma & Stencil.

Home Page: https://bulmil.vercel.app

License: MIT License

JavaScript 2.78% TypeScript 93.07% HTML 0.39% SCSS 3.77%
stenciljs stencil-js stenciljs-components stencil-components bulma bulmil webcom ui-components ui-framework

bulmil's People

Contributors

4aficiona2 avatar dependabot-preview[bot] avatar gomah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bulmil's Issues

Prepare Bulma components (markup)

Layout

  • Container
  • Section
  • Footer

Grid

  • Columns
  • Tiles

Form

  • General
  • Input
  • Textarea
  • Select
  • Checkbox
  • Radio
  • File

Elements

  • Box
  • Button
  • Buttons
  • Content
  • Icon
  • Image
  • Notification
  • Progress
  • Table
  • Tag
  • Tags

Components

  • Breadcrumb
  • Card
  • Dropdown
  • Menu
  • Message
  • Modal
  • Navbar
  • Pagination
  • Panel
  • Tabs

Disabled checkbox

In bulma's form checkbox, the disabled attribute is passed to the label element, however, disabled is not a valid attribute for label.

<label class="checkbox" disabled>
  <input type="checkbox" disabled>
  Save my preferences
</label>

Invalid last-child / last-type / ntn:x selectors

As bulma components & elements are wrapped in Stencil components, some selectors might not work.

e.g for Buttons:

.buttons {
  .button {
    &:not(:last-child):not(.is-fullwidth) {
      margin-right: 0.5rem;
    }
  }
}

Work around:

b-buttons {
  b-button {
    &:not(:last-child):not(.is-fullwidth) {
      margin-right: 0.5rem;
    }
  }
}

React 16 as peer dependency

Hi. I very appreciate your work. But you put peerDependency react@"16.12.0" for last versions of @bulmil/[email protected] and 0.35.0, while I see react 18.0.15 in dev dependencies.
It's in deep conflict with libraries I use and they heed to have react 18.2.0.

Could @bulmil/react have a bit higher dependencies?

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error whilst updating @types/storybook__addon-knobs in /yarn.lock:
Couldn't find package "storybook__addon-knobs@*" required by "@types/[email protected]" on the "npm" registry.

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

Runing issues with installing react example

When trying to test the react application example and after running below commands

$: git clone https://github.com/gomah/bulmil
$: cd bulmil/examples/react
$: npm install

below error is thrown:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @storybook/[email protected]
npm ERR!   node_modules/@storybook/addons
npm ERR!     peer @storybook/addons@"^6.4.0" from @storybook/[email protected]
npm ERR!     node_modules/@storybook/addon-knobs
npm ERR!       dev @storybook/addon-knobs@"6.4.0" from the root project
npm ERR!   dev react@"18.2.0" from @bulmil/[email protected]
npm ERR!   packages/react
npm ERR!     @bulmil/[email protected]
npm ERR!     node_modules/@bulmil/react
npm ERR!       workspace packages/react from the root project
npm ERR!       2 more (@bulmil/react-example, @bulmil/next-example)
npm ERR!   4 more (react-dom, @storybook/api, @storybook/components, @storybook/theming)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional react@"^16.8.0 || ^17.0.0" from @storybook/[email protected]
npm ERR! node_modules/@storybook/addon-knobs
npm ERR!   dev @storybook/addon-knobs@"6.4.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/i774615/.npm/eresolve-report.txt for a full report.

even if running npm install --force causes

118 vulnerabilities (1 low, 91 moderate, 16 high, 10 critical)

no package-lock.json is created and cannot run

npm run serve

the package.json looks like this:

{
  "name": "@bulmil/react-example",
  "version": "0.48.1",
  "private": true,
  "dependencies": {
    "@bulmil/core": "0.48.1",
    "@bulmil/react": "0.48.1",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-scripts": "4.0.3",
    "typescript": "5.2.2"
  },
  "scripts": {
    "build": "react-scripts build",
    "eject": "react-scripts eject",
    "serve": "react-scripts start"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.