Giter VIP home page Giter VIP logo

lightvue's Introduction


LightVue logo

The Emerging UI Component library for Vue 2.x & Vue 3.x

Contributors GitHub pull requests

Vue Nuxt

About LightVue

LightVue is a UI Library that hands out everything you need to create contemporary, engaging, and responsive web applications. A platform set to offer unlimited light customizable UI variants and an implementation playground to define how your components would look to and fro.

For detailed docs & demo, please refer to https://lightvue.org/

Getting started

Install the LightVue package dependencies

Vue 2.x

npm install lightvue

Vue 3.x

npm install lightvue@next

LightVue components

Form Elements:

Contribution

Thank you for considering contributing to LightVue. Please read the contribution guide before making a pull request or raising an issue.
Click here to Join our slack community

Connect with us:

lightvue's People

Contributors

aankushh avatar abhiraj2k avatar adarshzpatel avatar alexjharrison avatar armaan2807 avatar bashcloud avatar bharat-dussa avatar deepsourcebot avatar dhairya-0001 avatar hrushi-thorat avatar ishaanmehta4 avatar itsekta avatar kokilapillai avatar mohit2314 avatar orama254 avatar parzival272000 avatar pragati-tech avatar pulkitsvm avatar roch25 avatar roshanshrestha123 avatar saurabh-s10 avatar techspiritss avatar thezal avatar trishitchar 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

lightvue's Issues

Custom Icons in Toast & Notification Component

Relevant Component(s):

  1. LvToast
  2. LvNotification

Description:

Icons can be configurable for Toast & Notification component.

Proposed Solution:

  1. A new prop can be made to customise the icon class
  2. slot can be used to fully customize / hide the icon.

Additional Info:

  1. An additional prop for color can also be given.

Impact Area:

  • Component Core
  • Component Build
  • Component Documentation
  • Component Stats
  • Component PlayGround Demo
  • Component Demo
  • Vue2.x specific Demo
  • Vue3.x specific Demo
  • Global Styles
  • Global Configurations
  • Core Utils

Add LvColorPicker component in LvSlider component's Realtime Customizations

Relevant Component(s):

  1. LvSlider(https://lightvue.org/vue-components/slider) --- sliderColor
  2. LvSlider(https://lightvue.org/vue-components/slider) --- trackColor

Description:

Currently, we don't have a color pallet to set the color of the trackColor and sliderColor in LvSlider's Realtime Customizations.
Add LvColorPicker component in LvSlider component's Realtime Customizations similar to LvRating Component's Realtime Customizations.

Proposed Solution:

Use lv-color picker component in the sliderBestDemo instead of lv-input.
Check RatingBestDemo for reference.

Additional Info:

Currently in Slider Component

image

In Rating Component

image

Playgrounds Realtime Customizations section is overflowing in Firefox

Relevant Component(s):

  1. Playground

Description:

The Realtime Customizations section on the right in the playground is overflowing in firefox browser.

Proposed Solution:

In the current implementation, overflow property is set to 'overlay'. One can give a fallback of 'scroll' to it

Additional Info:

Expected Behaviour :
chrome-playground
Firefox Behaviour:
firefox-playground

Add light-scrollbar class to Textarea

Relevant Component(s):

  1. LvTextarea

Description:

When LvTextarea has autoResize off, if it overflows, the browser's default scrollbar appears.

Proposed Solution:

Add the light-scrollbar class to the textarea element so that LightVue's custom scrollbar appears.

Impact Area:

  • Component Core

Alphabetical Sorting of components in AppNavigationDrawer

Relevant Component(s):

  1. AppNavigationDrawer

Description:

Components can be listed in alphabetical order for better accessibility.

Proposed Solution:

Rearrangement of SideBar Navigation

Impact Area:

  • Vue2.x specific Demo
  • Vue3.x specific Demo
  • Other Active branches

Fix All rights reserved convention

Relevant Component(s):

  1. Landing page

Description:

Currently the convention followed is not correct

Proposed Solution:

Can refer to attached image for possible solution.

Current Convention
image

Correct Convention
image

Change component's documentation

Relevant Component(s):

  1. Radio
  2. Radio Group

Description:

Currently we are showing the Docs API of checkbox in Radio component. Make a new file for Radio component APIs.
Do the same for Radio-group component APIs as well.

Proposed Solution:

You can use the same props and events as in Checkbox component, make sure to change checkbox in the description to radio.
For example: :modelValue Array Specifies the model value of the checkbox
In place of checkbox it should be radio
:modelValue Array Specifies the model value of the radio

Additional Info:

image

Impact Area:

  • Component Documentation

Change the description of the Dialog Component

Relevant Component(s):

  1. Dialog

Description:

Change the description of the following headings of the Dialog Component.

  1. Main Heading description
  2. Model
  3. Confirmation
  4. Maximizable
  5. Positions

Proposed Solution:

  1. Main Heading description - "Dialogs inform users about a task and can contain critical information, require decisions, or involve multiple tasks. LvDialog helps the user to have modal and additional dialog box with their data."
  2. Model - Change the name to Modal and it description to "LvDialog modal is a dialog box/popup window that is displayed on top of the current page: They are a user experience convention to direct a user’s attention to a piece of content that they need to read or interact with."
  3. Confirmation - Change the description to - "Confirmation dialogs require users to confirm a choice before the dialog is dismissed."
  4. Maximizable - Change the description to - "Maximizable(Full-screen) dialogs fill the entire screen, containing actions that require a series of tasks to complete."
  5. Positions - Change the description to - "You can open LvDialog from any direction left, right, top, bottom as shown below."

Additional Info:

image

Impact Area:

  • Component Documentation

Copy button styling in Home Page install code

Description:

Copy button styling in Home Page install code

Proposed Solution:

Create a new minimal variant of copy-button, for landing page ony.

Additional Info:

  1. Copy message isn't proper circular
  2. Copy button isn't responsive to mobile devices.

Screenshot 2021-10-17 at 2 19 44 AM

Impact Area:

  • Home Page [Installation Docs]

Add warnings for not supported nodeJS version

Description:

Current document is designed to work for nodeJS version upto 14.

Proposed solution:

Add warnings during installation itself. IT can be configured within package.json file.

Content styling in Dropdown component

Relevant Component(s):

  1. Dropdown

Description:

The right side of the dropdown component have an unordered list there is no styling for list item markers while in firefox it show the list items marked with disc.

Proposed Solution:

In the current implementation, we haven't defined any styling for list items. You can set the 'list-style-type' property with a value of 'none' to hide these list item markers. So that the styling remains constant for chrome as well as firefox.

Additional Info:

Screenshots:

Google Chrome

image

Firefox

image

Close the Dropdown on back event

Relevant Component(s):

  1. LvDropdown

Description:

whenever user hit back the dropdown should close instead of getting back to the previous tab

Proposed Solution:

integrate the preventBrowserBackMixin into the LvDrawer component

Additional Info:

Take a reference from LvDrawer to implement the mixin

Impact Area:

  • Component Core

Set the width of LvColorPicker same as the width of other elements in Rating Realtime Customizations

Relevant Component(s):

  1. Rating
  2. LvColorPicker

Description:

Set the width of LvColorPicker same as the width of LvNumber's width in Rating Realtime Customizations.
Currently the .lv-colorpicker-wrapper have display set to inline-block, and if we remove that property it conflicts the styling of LvColorPicker # Without Input Demo

Proposed Solution:

Make the demo of LvColorPicker -- (# without input) without setting the display property to inline-block for .lv-colorpicker-wrapper so that the width of LvColorPicker is same as of LvNumber's width in Rating Realtime Customizations.

Additional Info:

  1. In LvColorPicker without Input demo

image

You can also change the styling of # without input demo of LvColorPicker

Checkout ColorpickerDemo2 where we are showing LvColorPicker withoutInput prop set to true.
If we remove the display of inline-block it looks like this
image
Make changes in ColorpickerDemo2 so that the color value and the colorpicker are inline.

  1. In Rating Component

Make sure the width is same as of the glow field
image

How it should look like in Rating Realtime Customizations

image

Impact Area:

  • Component PlayGround Demo
  • Component Demo

How to get in touch regarding a security concern

Hey there!

I belong to an open source security research community, and a member (@bananabr) has found an issue, but doesn’t know the best way to disclose it.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

docs: Wrong import in color-picker

As the image below shows, the color-picker import is missing a dash (it should be lightvue/color-picker). Without that it seems like the library/component is not working.

I tried to find where is this in the docs repository, but couldn't.

image

Issue: Load css for text-editor

Relevant Component(s):

  1. TextEditor

Description:

I came across a problem when I tried to import a TextEditor component. When I import and use an element, I see a 404 error for the TextContent .css file. I tried to find this file in the source files, but I didn't find the file. Maybe I'm doing something wrong?

Propose

Change ./style/TextContent.css to ./lightvue.css.

Additional Info:

Снимок экрана 2022-11-30 в 16 37 23

Снимок экрана 2022-11-30 в 16 37 50

Снимок экрана 2022-11-30 в 16 39 10

Element Playground code preview not scrollable in firefox

Relevant Component(s):

  1. Dropdown

Description:

In Dropdown component, the code preview section of the playground in not scrollable in firefox.

Proposed Solution:

In the current implementation, lightvue-scrollbar overflow property is set to 'overlay', which is an invalid property value for firefox.

Additional Info:

Expected Behaviour :

Google Chrome

Dropdown.Documentation._.LightVue.-.Google.Chrome.2022-09-30.20-22-58.mp4

Firefox

While the behaviour in firefox is something like this

Dropdown.Documentation._.LightVue.Mozilla.Firefox.2022-09-30.20-23-10.mp4

image

Import Light Icons directly from CDN

Relevant Component(s):

  1. Light Icons

Description:

Import Light Icons directly from CDN to stay always on latest version.

Proposed Solution:

CDN import link:

  1. https://unpkg.com/light-icons/dist/light-icon.css
  2. https://unpkg.com/light-icons/dist/light-icon.json
  3. Remove Light Icons dependency from package.json file

Additional Info:

Same CDN way can be added in Light-icons documentation as well.

Impact Area:

  • Vue2.x specific Demo
  • Vue3.x specific Demo
  • Global Configurations

Rating component showRating props not working properly

Relevant Component(s):

  1. Rating

Description:

When showRating prop is true the rating works properly but when it is false then it makes the whole rating element disabled instead of hiding the rating value(selected stars value)

Proposed Solution:

Check the if condition used to show rating value when showRating prop is true.

Additional Info:

Rating_Docs___LightVue_-_Google_Chrome_2022-09-30_17-46-49_AdobeExpress (1)

focus-within event in tooltip-directive

Relevant Directive(s):

  1. LvTooltip

Description:

LvTooltip fails on LvInput, since LvInput uses focus-within instead of focus

Proposed Solution:

Add a new focus-within event in tooltip-directive

Impact Area:

  • Component Core

bug/missing: Can't use the color-picker component together with Vuetify dialog

As can be seen in the image below, I have an application which uses both Vuetify and LightVue. In this app, I have a dialog (from Vuetify), where a color-picker (from LightVue) is used. When I click the color-picker, it's menu is shown behind Vuetify's dialog.

Is there a way to fix that? Maybe a property somewhere?

image

Colorpicker not keeping setted value

Hello,
congratz for the usefull and nice components libs.
I'm integrating the vue3 color picker.
There is a bug, you can see it on the docs to, when you set a color, close the picker and reopen it, the color chooser stay positioned on the initial state.

Add easing prop to the LvCollapsible

Relevant Component(s):

  1. LvCollapsible

Description:

Add a prop value by which a user can defines a transition between a start and end values (easing)

Proposed Solution:

one can use the use the prop value where we are setting the transitions

Impact Area:

  • Component Core
  • Component Documentation
  • Component Demo

Close the Dialog on back event

Relevant Component(s):

  1. LvDialog

Description:

whenever user hit back the dialog should close instead of getting back to the previous tab

Proposed Solution:

integrate the preventBrowserBackMixin into the LvDialog component

Additional Info:

Take a reference from LvDrawer to implement the mixin

Impact Area:

  • Component Core

Code Formatting not present in V3 Docs

Relevant Component(s):

  1. V3 Docs

Description:

The CodePrism Components in the V3 Docs Website don't have the same formatting as there is in V2 Docs

Proposed Solution:

A clear and concise description of what you want to happen.

Additional Info:

lightvue.webm

image
image

Impact Area:

  • Component Documentation

Fix Typo

Relevant Component(s):

  1. Landing Page

Description:

Fix the spelling mistakes on landing page
or in any section you find

Set page titles

Description:

The page title for each component should change depending on the component in view.
Eg. If the user is viewing docs for Textarea, i.e. the URL is https://lightvue.org/vue-components/textarea, the title of the page should be LightVue | Textarea Docs

Proposed Solution:

Add the title property in head of each core component that has its title missing.

Title

 <lv-textarea
     :bottom-bar="true"
     :showLimit="true"
     :autoResize="true"
     :maxLength="100"
     :rows="3"
     placeholder="Textarea Placeholder"
     label="Textarea Label"
     placeholder-color="rgba(0, 0, 0, 0.3)"
 />

Make Number input Firefox compatible

Relevant Component(s):

  1. LvNumber

Description:

The number input should only be taking integers as input, however, with the current implementation, the user can input characters. You have to ensure that it only takes numbers as input.

Additional Info:

firefox-number

Impact Area:

  • Component Core
  • Component Build

Include .nvmrc File for auto switching to desired node version for this project.

Description:

Problem : For any new Developer joining in this project, it may happen that node version developer use would be incompatible with this project which will cause issues. Therefore .nvmrc config would solve this problem by auto selecting the node version from config file if nvm is installed.

Proposed Solution:

A clear and concise description of what you want to happen.

Additional Info:

image
image

Impact Area:

  • Component Core
  • Component Build
  • Component Documentation
  • Component Stats
  • Component PlayGround Demo
  • Component Demo
  • Vue2.x specific Demo
  • Vue3.x specific Demo
  • Global Styles
  • Global Configurations
  • Core Utils
  • Other Active branches
  • Breaking Change (Not backward compatible)

Change the css of Card Component

Relevant Component(s):

  1. Card

Description:

In Background color and padding demo of the Card component, where padding is 40px the content is going out of the container. Make changes in only CardPaddingAndBGcolorDemo Component.

Proposed Solution:

In .card-demo class you can change the height from 300px to max-content. But make sure it only reflect in CardPaddingAndBGcolorDemo component and not in other components.

Additional Info:

Currently:

image

After:

image

Impact Area:

  • Component PlayGround Demo
  • Component Demo

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.