Comments (16)
The .button
style is from previous versions and has been deprecated in favor of .btn
. They are both offered here to help with backwards compatibility.
from basscss-sass.
Thanks! Just maybe the doc should reflect that a bit more :)
Do you plan to convert optional packages to the new standard btn? Do you need any help?
from basscss-sass.
Maybe it would also help to have some deprecated comment message in the partials themselfves
from basscss-sass.
Yeah, comments in the source CSS files would probably be helpful, as well as an npm deprecated warning for the source modules.
If you want to PR any of the modules with comments and a note at the top of the READMEs, I'd be happy to take a look.
from basscss-sass.
Sure no prob. What your plan about these in the future? Are you gonna do more than just renaming button to btn for the v7 update?
from basscss-sass.
Would be nice to say what they are gonna be replace with in future in the deprecation message
from basscss-sass.
@jxnblk I can do the css note but for npm one you need owner rights (https://docs.npmjs.com/api/deprecate)
from basscss-sass.
Sorry missed this thread, but just going to follow up to address the points here.
- Plans for the future: try to make v8 functionally complete. That means that v7 is very stable, but there will be some small changes here and there. The most volatile parts are the color modules – mostly forms, tables, etc. I'm not decided on it yet, but the core package may or may not include any color styles at all – meaning they would all be optional.
- It would be nice, but most of the breaking changes are minimal and major versions indicate when they happen. The release notes should describe any changes needed for updating. v7 was available as a beta and an open PR for a while to gather feedback on the proposed changes. I'll likely follow a similar process for v8.
- I'll deprecate the npm modules soon.
Anyway, thanks for pointing some of this stuff out. It's super helpful 😎
from basscss-sass.
@jxnblk 👍 :)
Though from a basscss-sass user point of view say its a little confusing to know if one module is from v7 of below since "basscss.scss" includes every single available module. Honestly I though v7 was still something ongoing since not all modules were updated ^^
Shouldn't it only include the one from that version and have a way to include old modules of needed?
If time is missing, I can definitely help since I'm using Bass and Rebass now at my day job and I'd love to make this go faster ;) Just tell me what to do ;)
from basscss-sass.
Yeah, it's sort of a time issue for me. The assumption being that if you're using Sass, you'd import into your own file, but maybe reference the basscss.scss
file for source order and to see what's available.
I think a good way to handle this would be to change how the build.js
script works and only include the core modules here: https://github.com/basscss/basscss-sass/blob/master/build.js#L36
It would mean changing where the two arrays are concatenated.
from basscss-sass.
Why not having two files: basscss.scss and basscss-optional.scss ?
Also there is a confusion between optional modules and deprecated. I think optionals are some modules that can't be replaced by something from the core but should follow the same conventions. Deprecated are modules that cant be replaced and should not be used as such hence deprecated.
from basscss-sass.
Yeah, that's a fair point, and I've been considering removing the older ones from optional all together. The word deprecated is tricky, because it's still 100% valid to use the old ones. They're just not included in the core package anymore.
from basscss-sass.
It's just that even if basscss is by essence very modular, I have the impression that most pepole would just include @import 'basscss'; to get the whole lib at once. But then you get all the deprecated ones.
And btn vs button is specially confusing ;)
For the deprecated one let me try again :p
If they can be replaced by new markups from core:
- add deprecation warning
- suggest alternative
- dont include in the core
If they can't be replaced by new markups from core:
- update them to follow same conventions
- include as optional package
- or delete if dont make sense anymore
from basscss-sass.
Yeah sorry if I'm being unclear. I think we're pretty much on the same page.
On Aug 5, 2015, at 3:07 PM, Boris Rorsvort [email protected] wrote:
It's just that even if basscss is by essence very modular, I have the impression that most pepole would just include @import 'basscss'; to get the whole lib at once. But then you get all the deprecated ones.
And btn vs button is specially confusing ;)For the deprecated one let me try again :p
If they can be replaced by new markups from core:add deprecation warning
suggest alternative
dont include in the core
If they can't be replaced by new markups from core:update them to follow same conventions
include as optional package
or delete if dont make sense anymore
—
Reply to this email directly or view it on GitHub.
from basscss-sass.
👍 I'll see what I can do 😉
from basscss-sass.
Cool. I think one place to start would be to just remove the button modules here https://github.com/basscss/basscss/blob/master/index.js#L31-L35
from basscss-sass.
Related Issues (12)
- Versionning HOT 1
- Installing with NPM gives a different result to installation with Bower HOT 8
- Why were all the base styles removed? HOT 2
- Question regarding this sass version
- Alpine Linux Support
- _base-typography.scss: $space-2 is used before it's defined HOT 5
- Defining variables multiple times throughout files? HOT 2
- Getting NPM Deprecation Warning upon installation of v3.0.0 HOT 1
- Comment causing error with new Node-sass beta HOT 13
- Invalid CSS after "...value: bold */" HOT 3
- http://basscss.com is down. HOT 2
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 basscss-sass.