Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

před 3 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626
  1. ## 9.8.7 / 2018-06-24
  2. * Fix `global` access in the dist version (#736)
  3. ## 9.8.6 / 2018-06-19
  4. * Remove type attribute from style element (#724)
  5. ## 9.8.5 / 2018-06-19
  6. * Fix version in the dist version (#730)
  7. ## 9.8.4 / 2018-06-12
  8. * Add link to the egghead course
  9. * Upgrade prettier and format code (#726)
  10. ## 9.8.3 / 2018-06-10
  11. - Fix CSSOM local typings (flow stopped looking into node_modules if types are not imported directly since v0.57.0)
  12. ## 9.8.2 / 2018-06-01
  13. - Fixed typings for RuleList.update method.
  14. - Migrated from webpack to rollup.
  15. - Upgraded to flow 0.72
  16. ## 9.8.1 / 2018-03-19
  17. - Upgrade to flow 0.68.0
  18. ## 9.8.0 / 2018-02-08
  19. - Remove hyphenation from the core, moved it to jss-camel-case. Now any function values and `rule.prop()` will get hyphenation automatically.
  20. ## 9.7.0 / 2018-01-06
  21. - Allow function values return falsy values in order to remove a property.
  22. ## 9.6.0 / 2018-01-28
  23. - Added prettier
  24. - Added a new, correct way of handling CSP
  25. ## 9.5.1 / 2018-01-08
  26. - Added postinstall script with donation log.
  27. ## 9.5.0 / 2018-01-02
  28. - Export `toCssValue` utility function for css-vendor package.
  29. ## 9.4.0 / 2017-12-16
  30. - Added array values support when used with function values. It now also supports priority option "!important" (#629)
  31. - Use classNamePrefix option in production mode (#638)
  32. - Added onUpdate to docs and types, now officially supported
  33. - Fixed class names collisions with multiple jss instances (#644)
  34. ## 9.3.3 / 2017-11-15
  35. - Added CSS.escape fallback, so that polyfill is not required.
  36. ## 9.3.2 / 2017-11-14
  37. - Don't put escaped class names into classes hash
  38. ## 9.3.1 / 2017-11-13
  39. - Never use window object directly
  40. ## 9.3.0 / 2017-11-13
  41. - Add CSS class name escaping for dev mode also we support emoji now! (#624)
  42. - Added CSP over webpack (#559)
  43. ## 9.2.0 / 2017-11-06
  44. - Allow empty rules when option {link: true} is used.
  45. - Simplify internal logic for function values.
  46. - Introduce function rules - similar to function values, now function can return the entire style object.
  47. ## 9.1.0 / 2017-10-31
  48. - Added Observable rules. Now not only values can be an observable, but also the entire style object.
  49. ## 9.0.0 / 2017-09-30
  50. - Added `SheetsManager.size` getter to get amount of items in `SheetsManager`.
  51. - Refactored `StyleRule.selector` for better performance. Breaking change - it doesn't reregister rule in the classes map any more. It was used mainly in jss-isolate (#419).
  52. - Method `jss.setup()` can now be called multiple times and will merge properly the options. Also it will avoid applying same plugins more than once by comparing the reference (#576).
  53. - Fixed linker, which didn't work if selectors were escaped (#557).
  54. - In production `createGenerateClassName()` option will now produce short selectors and warn about memory leaks. (#546)
  55. - Update flow to v0.54.1.
  56. - Support observable values (#442).
  57. - Warn when dynamic properties update but link: true option is not set (#581)
  58. ## 8.1.0 / 2017-07-12
  59. - Added webpackbin examples
  60. - Added size-limit tool
  61. - Added SheetsManager
  62. ## 8.0.0 / 2017-06-20
  63. - Option `insertionPoint` can now accept a DOM node
  64. - DOM node provided in `insertionPoint` can be inside of an iframe.
  65. - Warn when an `insertionPoint` was specified but not found in the DOM.
  66. ### Breaking changes for users
  67. - Option `generateClassName` which was used in Jss constructor and `Jss.setup` has been removed. A new option is called `createGenerateClassName` which is a factory that returns the old `generateClassName`. We need this to reset counters on SSR for each request.
  68. - Removed default `insertionPoint` value ("jss") in order to have warnings when insertionPoint is not found in the DOM. With the default one we simply don't know when to warn.
  69. ### Potentially breaking changes for plugins
  70. - KeyframeRule has been renamed to KeyframesRule.
  71. - KeyframeRule.type === 'keyframe' => KeyFrames.type === 'keyframes'.
  72. - RegularRule has been renamed to StyleRule
  73. - RegularRule.type === 'regular' => StyleRule.type === 'style'.
  74. - RegularRule.name => RegularRule.key
  75. - ConditionalRule.selector => ConditionalRule.key
  76. - FontFaceRule.selector => FontFaceRule.key
  77. - SimpleRule.name => SimpleRule.key
  78. - ViewportRule.name => ViewportRule.key
  79. - RulesContainer => RuleList
  80. ## 7.1.7 / 2017-06-15
  81. - Fix CSS flow types
  82. ## 7.1.6 / 2017-06-14
  83. - Fix dynamic values for conditional and keyframe rules
  84. ## 7.1.5 / 2017-05-28
  85. - Prevent duplicates in the sheets registry (#504)
  86. - Optimize `sheets.add` for a big registry
  87. ## 7.1.4 / 2017-05-27
  88. - Fixed undefined rule support (#489)
  89. ## 7.1.3 / 2017-05-26
  90. - Fixes flow error when updating to the latest version (#507)
  91. - Fixes createStyleSheet type definitions error (#495)
  92. - Fixes function values for for nested rules (#500)
  93. ## 7.1.2 / 2017-05-12
  94. - Fixes function values within keyframes (#471)
  95. ## 7.1.1 / 2017-04-26
  96. - Fixes rendering rules with function values only (#475)
  97. ## 7.1.0 / 2017-04-21
  98. - Support updating specific rule in `sheet.update(name, data)`
  99. ## 7.0.3 / 2017-04-14
  100. - Fix a bug when dynamically inserted rules disapeared after reattaching the sheet (#438)
  101. ## 7.0.2 / 2017-04-14
  102. - Remove temporarily jss-isolate from the tests
  103. ## 7.0.1 / 2017-04-14
  104. - Fix `getDynamicStyles` when nested object is in the same styles object (#467)
  105. ## 7.0.0 / 2017-04-10
  106. - Perf improvement through removing of JSON.parse(JSON.stringify(style))
  107. - New hook `onProcessStyle`
  108. - New hook `onChangeValue`
  109. ### Bugfixes
  110. - Run plugins over property names with function values (#441)
  111. - Function values inside of nested rules (#445)
  112. ### Breaking changes
  113. - New signature of `generateClassName(rule, sheet)` option.
  114. - Property `rule.originalStyle` is now available through `rule.options.parent.rules.raw[rule.name]`. It is longer but its a better place and is used in plugins only.
  115. - Plugin signature for the hook `onProcessRule` shortcut `jss.use((rule) => {})` is not supported any more. Instead this hook is supported using its full name: `jss.use({onProcessRule: () => {}})`
  116. ## 6.5.0 / 2017-03-14
  117. - Dynamic Sheets for theming and animations. #356
  118. ## 6.4.0 / 2017-03-10
  119. - Reintroduced counter based class generation algorithm. #432
  120. ## 6.3.0 / 2017-02-16
  121. - Introduced new option `insertionPoint`.
  122. - Reduced amount of files in the package, dropped .npmignore file.
  123. - Removed babel-runtime from the build.
  124. - Added a new hook `onProcessSheet`.
  125. - Started a list of companies/products using JSS, see docs/users.md
  126. ## 6.2.0 / 2017-01-15
  127. - Added @viewport and @-ms-viewport support (used in bootstrap).
  128. ## 6.1.1 / 2017-01-04
  129. - Allow sheet.link() call when VirtualRenderer is used.
  130. ## 6.1.0 / 2016-12-26
  131. - Add jss-cache to the tests suit.
  132. - Don't run processors on a rule which has been processed already.
  133. - Add test for onCreateRule arguments.
  134. - Add sheet as a second argument to the onProcessRule hook.
  135. ## 6.0.2 / 2016-12-23
  136. - Call `onCreateRule` for every rule type.
  137. - RulesContainer is now exported for the plugins.
  138. - Using babel-runtime for the lib build now.
  139. - Using webpack 2 now.
  140. - Preparation for the bugfix - nesting within @global (#380)
  141. - Preparation for the bugfix - nested @media inside of a rule inside of @global (#387).
  142. ## 6.0.1 / 2016-12-10
  143. - Don't insert empty rules #363.
  144. ## 6.0.0 / 2016-12-09
  145. - Added flow types.
  146. - Added a new plugins API. It is backwards compatible. See plugins section.
  147. - Perf improvements.
  148. ### Breaking changes
  149. - Option "named" has been removed from JSS core and replaced by a jss-global plugin. From now on global styles are only possible using that plugin.
  150. - Sheets are not added to the sheets registry automatically server-side any more. In order to prevent leaking styles between requests, you now need to create your own SheetsRegistry instance and add sheets to it manually. Make sure to create a new instance for each request. On the client, sheets are still automatically added to the registry.
  151. ## 5.5.6 / 2016-11-03
  152. - test suite
  153. - new is-in-browser detection #305
  154. - warning when using an unknown at-rule
  155. - start using flow #296
  156. ## 5.5.5 / 2016-09-23
  157. - remove rewire from build
  158. - update roadmap
  159. ## 5.5.4 / 2016-09-19
  160. - always use `cssRules.insertRule` when using addRule on attached sheet, mixing them results in weird overwrite of a rule added by insertRule by a media query rendered using text node.
  161. - catch errors from `cssRules.insertRule` and use a warning in development
  162. ## 5.5.3 / 2016-09-19
  163. - add edge browser for browserstack
  164. - fix addRule insertion order from plugins when sheet is attached
  165. - fix @media insertion in IE
  166. ## 5.5.2 / 2016-09-9
  167. - Skip empty values #307
  168. ## 5.5.1 / 2016-09-6
  169. - Fix adding rules during the plugins loop
  170. ## 5.5.0 / 2016-09-6
  171. - Fix wrong order of nested rules #285
  172. - Add `index` option to `sheet.addRule` which allows to specify the order or added rules
  173. - Add `<style>` node position control option `index` and insertion point comment
  174. - Better browser detection by using `is-browser` package
  175. ## 5.4.0 / 2016-08-15
  176. - More docs
  177. - More benchmarks
  178. - Make sheet.addRule accept options
  179. ## 5.3.0 / 2016-08-06
  180. - Added `jss.setup` method which accepts options like the contructor and can be used for presets
  181. - Docs
  182. - Create Rodamap
  183. - Cleanup DomRenderer from IE8 code.
  184. - Fix benchmark, use a new jss instance, because there is sheets registry
  185. ## 5.2.0 / 2016-07-27
  186. - Added `sheet.deleteRule` #266
  187. ## 5.1.0 / 2016-07-13
  188. - alternative syntax for space and comma separated values #264
  189. ## 5.0.0 / 2016-07-10
  190. - new fallbacks api #256
  191. - rule.applyTo doesn't support fallbacks any more
  192. - support conditionals overwrite upfront #259, #180
  193. - remove compatibility fix for babel 5, now you need to use `var jss = require('jss').default` in ES5
  194. ## 4.0.3 / 2016-07-05
  195. - fixed bug when plugins called twice on createStyleSheet #258
  196. - enable node 7 #248
  197. ## 4.0.2 / 2016-06-28
  198. - allow adding rules to a detached sheet #253
  199. ## 4.0.1 / 2016-06-23
  200. - fix jss.version in lib
  201. ## 4.0.0 / 2016-06-23
  202. - user defined classname generation function
  203. - deterministic class names generation
  204. - run plugins separately when creating rules in a batch
  205. ## 3.11.1 / 2016-05-11
  206. - register children of a conditional in sheet.classes #81
  207. ## 3.11.0 / 2016-05-06
  208. - added option element to .createStyleSheet #231
  209. ## 3.10.0 / 2016-05-02
  210. - fix multiple @imports
  211. - added benchmarks
  212. - rewrote all tests with mocha
  213. ## 3.9.1 / 2016-04-26
  214. - fix multiple @media in one sheet
  215. ## 3.9.0 / 2016-04-24
  216. - update linter eslint-config-jss@1.0.0
  217. ## 3.8.0 / 2016-04-24
  218. - added jss.version to the build (Daijiro Wachi)
  219. ## 3.7.0 / 2016-04-21
  220. - docs
  221. - font-face rule can now handle array of font-faces (Ken Carpenter)
  222. ## 3.6.3 / 2016-03-12
  223. - fix rule registration in style sheet, previous commits resulted in a selector instead of class nem within sheet.classes map.
  224. ## 3.6.2 / 2016-04-12
  225. - register rule when changed worked by setting selector
  226. ## 3.6.1 / 2016-03-11
  227. - Update StyleSheet#rules when modifying selector
  228. ## 3.6.0 / 2016-04-08
  229. - implement selector setter, now Rule#selector can be set, due to the fact not every browser implements selectorText setter, the entire sheet will be rerendered in such browsers. Should be used with caution.
  230. ## 3.5.0 / 2016-04-04
  231. - fixed breaking change, which made exports of 3.4.0 incompatible with 3.3.0
  232. - fix font-face rule type
  233. ## 3.4.0 / 2016-04-03
  234. - added style sheets registry accesible via jss.sheets
  235. - updated babel to version 6
  236. ## 3.3.0 / 2016-01-31
  237. - fixed bug: nested rule inside of a @media conditional
  238. - new docs
  239. - trim empty rules (@wldcordeiro)
  240. - support node 5 (@nikgraf)
  241. ## 3.2.0 / 2015-11-27
  242. - jss-debug is deprecated, rule name is inside of generated class name now
  243. - no more "type" option for style sheet, its always set to text/css
  244. - no more "title" option for style sheet, its not a part of the spec http://www.w3.org/TR/html-markup/style.html
  245. - added meta option, now you can for e.g. set the name of your component and find it on style element.
  246. - fixed bug when multiple conditionals used in one sheet
  247. ## 3.1.1 / 2015-11-14
  248. - added Rule#originalStyle property to access original style object from a plugin
  249. ## 3.1.0 / 2015-11-12
  250. - new testing infrastructure with browserstack and codeship
  251. ## 3.0.0 / 2015-10-19
  252. - internal rewrite for cleaner code (ConditionalRule, KeyframeRule, SimpleRule)
  253. - moved all DOM related methods to dom.js module
  254. - now child rules exist only in ConditionalRule, simplified Rule and StyleSheet logic
  255. - fixed Named rules not generating when using @media only #81
  256. - added support for @charset, @import, @namespace, @supports
  257. - removed jss.Rule from public access, use jss.createRule() instead
  258. - removed jss.Jss from public access, use jss.create() instead
  259. - removed jss.StyleSheet from public access, use jss.createStyleSheet() instead
  260. ## 2.3.4 / 2015-09-21
  261. - remove bower.json
  262. - remove dist from repository
  263. - add dist to npm package
  264. - add cdnjs support
  265. ## 2.3.3 / 2015-09-20
  266. - remove xpkg, update npmignore and ingore list for bower
  267. ## 2.3.2 / 2015-09-19
  268. - reference rule name on the rule instance to fix jss-debug
  269. ## 2.3.1 / 2015-09-15
  270. - use eslint-config-jss
  271. ## 2.3.0 / 2015-09-10
  272. - migrate to es6
  273. - move examples to jss-examples repository
  274. ## 2.2.1 / 2015-09-6
  275. - remove @media from classes hash
  276. ## 2.2.0 / 2015-09-6
  277. - added support for named at-rules e.g. @media
  278. ## 2.1.6 / 2015-09-2
  279. - removed invalid characters
  280. ## 2.1.5 / 2015-08-20
  281. - stop mutating original rules passed by user. expecting style to be a plaing object.
  282. ## 2.1.4 / 2015-07-31
  283. - add internal method uid.reset() for testing
  284. ## 2.1.3 / 2015-07-31
  285. - rename global reference to globalReference
  286. ## 2.1.2 / 2015-07-28
  287. - avoid conflicts of jss ids when multiple jss versions are used on the same page
  288. ## 2.1.1 / 2015-07-20
  289. - remove browser field from package.json, it makes webpack use dist version instead of src.
  290. ## 2.1.0 / 2015-07-18
  291. - create Jss constructor so that we can have multiple jss instances with different plugins, needed when you want to reuse jss lib from different standalone components which have own jss configuration and should not clash.
  292. ## 2.0.0 / 2015-06-17
  293. - create jss-cli package, remove bin script from jss
  294. ## 1.0.8 / 2015-03-16
  295. - fix bower package name
  296. - make change condition to include any non-null value in Rule#prop (Stephen Saunders)
  297. ## 1.0.7 / 2015-02-26
  298. - remove NO-BREAK SPACE chars
  299. ## 1.0.6 / 2015-02-24
  300. - add rule.toJSON()
  301. ## 1.0.5 / 2015-02-17
  302. - support any node version above 0.8
  303. ## 1.0.4 / 2015-02-6
  304. - allow rule options to be passed in internal rule#addRule method to allow nested rules to have different options than parent one (for now just "named")
  305. ## 1.0.3 / 2015-01-31
  306. - pass rule name to make debug plugin possible
  307. ## 1.0.2 / 2015-01-31
  308. - fix duplicated rule rendering
  309. ## 1.0.1 / 2015-01-31
  310. - run plugins on inner rules of at-rules
  311. ## 1.0.0 / 2015-01-31
  312. - styles have named: true option by default, this is backwards incompatible
  313. - at-rules like @media can now also have named rules
  314. ## 0.10.2 / 2015-01-31
  315. - fixed #40 there is no colons in all at-rules with nested declarations
  316. ## 0.10.1 / 2014-12-21
  317. - fixed firefox issues
  318. ## 0.10.0 / 2014-12-21
  319. - added rule.prop() for dynamic rule properties #15
  320. ## 0.9.0 / 2014-12-21
  321. - added Rule#prop() for setting and getting rule props dynamically
  322. - added `link` option in order to make .prop() work but still without to add perf overhead by default.
  323. - added example for .prop()
  324. ## 0.8.2 / 2014-12-17
  325. - added build for "support non browser env #12"
  326. - added calendar example
  327. ## 0.8.1 / 2014-11-29
  328. - supported non browser env #12
  329. ## 0.8.0 / 2014-11-29
  330. - renamed Stylesheet to StyleSheet because its wrong.
  331. ## 0.7.0 / 2014-11-29
  332. - moved jss to separate github organization
  333. - moved all plugins to separate repositories (don't force people use plugins they don't need)
  334. ## 0.6.0 / 2014-11-28
  335. - renamed processors to plugins
  336. - added public .use function for registering plugins
  337. ## 0.5.0 / 2014-11-27
  338. - supported multiple declarations with identical property names #22
  339. ## 0.4.0 / 2014-11-23
  340. - supported nested rules when using .addRule method #20
  341. ## 0.3.2 / 2014-11-19
  342. - rewrittn prefixer for feature testing using camel cased version because of firefox
  343. ## 0.3.0 / 2014-11-19
  344. - added vendor prefixes plugin for properties #21
  345. ## 0.2.10 / 2014-11-10
  346. - supported nested extend
  347. - added more complex topcoat example
  348. ## 0.2.9 / 2014-11-03
  349. - added @keyframes and @media support #16
  350. ## 0.2.8 / 2014-11-02
  351. - added possibility write multi nested selector in one line #18
  352. ## 0.2.7 / 2014-11-02
  353. - added @font-face to cli converter
  354. - added @keyframes to cli converter
  355. ## 0.2.6 / 2014-11-02
  356. - createed perf comparence for bootstrap #13
  357. ## 0.2.5 / 2014-11-02
  358. - createed css->jss converter #11
  359. ## 0.2.4 / 2014-11-01
  360. - made tests runnable from githubs gh-pages http://jsstyles.github.io/jss/test/
  361. ## 0.2.3 / 2014-11-01
  362. - fixed test failing in firefox #14
  363. ## 0.2.2 / 2014-11-01
  364. - Renamed param "generateClasses" to "named" in createStyleSheet
  365. - If `named` is true, ss.rules[name] is accessible using the name.
  366. - ss.addRules will render new rules after style element has been rendered too.
  367. - document ss.addRules
  368. ## 0.2.1 / 2014-10-29
  369. First official release.