Giter Site home page Giter Site logo

Comments (10)

xvaara avatar xvaara commented on June 12, 2024

imho. We already have type="datetime-local" so we don't need a picker anymore in the main libary.

I have bootstrap style date/time -pickers in one client project, I could maybe clean that up for us.
@VividLemon thoughts?

from bootstrap-vue-next.

dword-design-honestly avatar dword-design-honestly commented on June 12, 2024

@xvaara afaik the dropdowns system date inputs aren't styleable because they depend on the OS.

from bootstrap-vue-next.

xvaara avatar xvaara commented on June 12, 2024

@dword-design-honestly yes, that's why they work universally, and on mobile I prefer the native widget over any other picker.

from bootstrap-vue-next.

VividLemon avatar VividLemon commented on June 12, 2024

Also the bootstrap vue versions appearance is quite dated looking. The native variants simplify things

from bootstrap-vue-next.

VividLemon avatar VividLemon commented on June 12, 2024

imho. We already have type="datetime-local" so we don't need a picker anymore in the main libary.

I have bootstrap style date/time -pickers in one client project, I could maybe clean that up for us. @VividLemon thoughts?

I have no opinion. It's your call.

from bootstrap-vue-next.

dword-design-honestly avatar dword-design-honestly commented on June 12, 2024

@VividLemon Would not reuse the styling from BootstrapVue probably, doesn't look that good. Having the option to have a custom widget makes sense to me since, although having the universal one is a pro because it just works, if you have a specific design, it sometimes doesn't integrate well (color of selected date, border radius, padding and stuff).

from bootstrap-vue-next.

xvaara avatar xvaara commented on June 12, 2024

@VividLemon imho, I'm two minds about this. I'd like to keep the core components simple. Maybe have another repo for more complex components that aren't "bootstrap"... but we already have BTable that's quite complex and "violates that divide"

I'd like us not to have to "create css" only use what bootstrap has provided.

I'd probably just take https://www.radix-vue.com/components/date-picker.html and style that to match my site.

on the other hand, multiselect and date/time picker, better number input, range selector, range on datetime, pin input, color picker, tree, wysiwyg editor (tiptap) ... I've done all of those for client sites that use bootstrap-vue-next and they are nice to have :)

from bootstrap-vue-next.

VividLemon avatar VividLemon commented on June 12, 2024

but we already have BTable that's quite complex and "violates that divide"

There are places where it does seem appropriate to take over. Tables can have a lot of nested html making it difficult to create many tables. This isn't something that is related to bootstrap, nor is it something that they could fix given their limited knowledge of the app.

However, other components like spinbutton, date picker, etc are all really bootstrap components. These things could be implemented in bootstrap (within reason, a single "spinbutton" is really just a collection of multiple buttons... So a bootstrap component seems odd for this)

It's a complicated issue. Realistically the only downside is that there is more maintenance on our end. Which is why strategies of abstraction are the best imo (since these things have already been created, and we're just reinventing the wheel), such as embedding radix Vue. Although we have talked about this before. If we were able to abstract things like pin input, date-picker, to an external source, I would be significantly more comfortable with adding many more "standard" components. I'd be fine with rewriting existing components, but I recall you having issues with that idea @xvaara

from bootstrap-vue-next.

dword-design-honestly avatar dword-design-honestly commented on June 12, 2024

Throwing in the argument that most UI frameworks have a themeable date picker component (in contrast to more special components e.g. like a WYSIWYG editor). Ofc. the difficulty is to set the boundary where the framework ends and contributed packages with special components consuming Bootstrap variables start.

I also think that reusing a Vue 3 date picker component and then styling it with Bootstrap makes more sense than reimplementing it.

from bootstrap-vue-next.

VividLemon avatar VividLemon commented on June 12, 2024

If the implementation is a wrapper around https://www.radix-vue.com/components/date-picker , then I'm going to "okay" it

from bootstrap-vue-next.

Related Issues (20)

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.