Comments (12)
Yes thanks! I have no idea how does bower work, but sure it would be nice to support it.
from react-day-picker.
Woah I've made some crazy things with bower register
, npm publish
etc... 👯 now it should work everything as version 1.1.3.
@jkillian Could you please test if it actually works with bower and eventually close the issue? I don't get why it doesn't appear in their search...
from react-day-picker.
@gpbl I see it in the search now - probably just a caching issue! I'll try it out now
from react-day-picker.
Working like a charm in my project 👍
from react-day-picker.
Right now we're only exposing the DayPicker React class as a global variable named DayPicker
. Do you think instead we should export an object called DayPicker
and then it could have the following fields:
- DayPicker
- LocalUtils
- MomentLocaleUtils
- Helpers
- DateUtils
or something similar to that?
from react-day-picker.
I was wondering as well... we should however export only the "official" API.
I don't know what are the common practices for a bower component, but I imagine:
DayPicker
DayPicker.localeUtils
DayPicker.dateUtils
DayPicker.momentLocaleUtils
I think we can add some static properties to DayPicker
when exporting it, so that the component is actually <DayPicker />
and not <DayPicker.DayPicker>
or, as I thought at first, <DayPicker.Component />
.
(I'm not so happy for this *Utils
convention , how would you call them?)
from react-day-picker.
Actually, I think the *Utils
names are pretty clear, they make sense to me. Do you want to go ahead and do this or want me to take a shot at it?
from react-day-picker.
I have no interest in bower so I'd really appreciate a PR 🖖. (pay attention to that momentLocaleUtils
, because it requires moment
but I won't put moment as dependency. Maybe you need some "ignore" setting in the webpack config).
Deep thanks for your support, JKillian!
from react-day-picker.
I think PR #93 should take care of things here. Let me know once you release and I'll test it out!
from react-day-picker.
@jkillian I've published 1.1.4 – it should work! Does it? 👀
from react-day-picker.
Working well for me! 👍
from react-day-picker.
excellent! thanks for the help!
from react-day-picker.
Related Issues (20)
- Bug: onPrevClick and onNextClick does not trigger
- Fix: Docs. Type alias: Matcher api reference page uses incorrect ";" in the examples
- Fix: Contributing.md line about proofreading the website links to an old deploy
- Bug: DayPicker does not automatically navigate to selected date
- Bug: Inline styles are not getting applied as intended, assistance needed please. HOT 1
- Bug: Lag when displaying many months and switching selected date HOT 1
- Bug: Dependency conflict with date-fns version 3.0.1 HOT 3
- Datepicker Allows Selection of Ranges with Disabled Days in Between HOT 1
- showOutsideDays is disabled 1st on month start always on Sunday HOT 1
- Hi! I'm not opening new issue because I think it can be somehow related with this one 🙂 HOT 3
- Disabled days can be selected with selected prop HOT 1
- Can't import the named export 'buildLocalizeFn' from non EcmaScript module (only default export is available)
- Accessibility issue in calendar picker in the latest version 8.10.0
- Empty inputField with useInput() is not behaving like unselect Date in DayPicker HOT 1
- Bug with label
- Calendar set's date to undefined when same date selected and this give inconsistent behavior! HOT 2
- Safari/iOS: hover background when unselecting a day HOT 3
- [Future Request] Enhancing changes to make React Day Picker responsive
- RootContext is missing pass-through types for each context it provides HOT 6
- toDate and fromDate are not working as expected
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-day-picker.