Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e9b3f52
add testonce and test scripts - test running in watch mode. change ma…
thet Sep 19, 2019
272a708
Modernize Webpack, Babel and dependencies.
thet Sep 23, 2019
577905a
Use yarn instead of npm. It should be faster and caches packages better.
thet Sep 24, 2019
5d844cf
fix invalid javascript
thet Sep 24, 2019
e1cb188
Use node-sass as suggested by https://sass-lang.com/install - the rub…
thet Sep 24, 2019
76975ba
compiled
thet Sep 24, 2019
a77a590
fix pat-scroll test.
thet Sep 24, 2019
03ea5cb
upgrade all packages except validate.js, select2, fullcalendar
thet Sep 24, 2019
c1c3a56
cleanup unused
thet Sep 26, 2019
66b08b5
minify. + only minify bundle.min.js
thet Sep 26, 2019
43cf636
split vendor files from bundle
thet Sep 26, 2019
5386099
add prettier options. style config as used throughout patternslib. pr…
thet Sep 26, 2019
d4c3e7d
ES6 syntax
thet Sep 26, 2019
6f98c20
fullscreen: seperate event callbacks into dedicated methods
thet Sep 27, 2019
e5a0b2a
resolve merge hickup
thet Oct 2, 2019
9933993
Use ES6 import syntac instead of AMD. working example.
thet Oct 2, 2019
2020a2e
Change WebPack implementation to create-react-app and test-runner fro…
Q11BUL Feb 11, 2020
226a3cb
use create-react-app for webpack- and jest-configuration, migrate ful…
mtoepfl Feb 11, 2020
fd935f9
rename test for Jest runner
thet Feb 11, 2020
366cf7f
prettier
thet Feb 11, 2020
3679fd6
automatic replace
thet Feb 12, 2020
580f229
dependency-less browser/feature detection
thet Feb 12, 2020
03d53cd
Use ES6 imports everywhere
thet Feb 12, 2020
0b58dbe
Add method to check input type support
thet Feb 13, 2020
2a2e842
add new timeout function. used for waiting in tests.
thet Feb 13, 2020
ced8e69
more test fixes
thet Feb 13, 2020
7bce824
Remove modernizr, which still uses requirejs and gives a bunch of err…
thet Feb 13, 2020
2dd66d6
remove core and lib. It's now in the patternslib-core package.
thet Feb 13, 2020
d6c0f2a
depend and use patternslib-core
thet Feb 14, 2020
a24ac1d
Explicitly call jQuery patches
thet Feb 14, 2020
566949f
begin patternslib-core integration
thet Apr 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "entry",
"corejs": 3
}
]
]
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ coverage/
/stamp-bower
/stamp-bundler
/stamp-npm
/stamp-yarn
Gemfile.lock
cache/
webpack/cache/
bundle.js
bundle.js.map
bundle.min.js
bundle.min.js.map
bundle.min.js.LICENSE
bundle-vendors.js
bundle-vendors.js.map
/chunks
stats.json
stats.html
Expand Down
165 changes: 0 additions & 165 deletions .modernizrrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dist: xenial
language: node_js
node_js:
- lts/*
before_script: travis_retry make stamp-npm
before_script: travis_retry make stamp-yarn
script: make check
sudo: required
addons:
Expand Down
35 changes: 21 additions & 14 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
## 4.0.0 - unreleased

Features
~~~~~~~~

```

- Add configurable scrolling behavior to pat-inject.
- Add ``webpack-visualizer-plugin`` for analyzation of generated bundles.
- Fix ``pat-auto-scale`` not correctly rescaling after fullscreen changes. Fixes #673
- Use node-sass as suggested by https://sass-lang.com/install - the ruby version is deprecated.
- Use ``yarn`` instead of ``npm``.
- Use babel for all files, allowing latest JavaScript features everywhere.
- Add ``pat-fullscreen`` pattern to allow any element to be displayed in fullscreen-mode.
A second pattern ``pat-fullscreen-close`` which is triggered on ``close-fullscreen`` CSS class allows for closing the fullscreen with custom buttons.
- Runs now on jQuery 3.
Expand All @@ -17,22 +22,24 @@ Fixes

- Fix ``pat-auto-suggest`` to not show a placeholder if none is defined. Fixes #675
- Fix ``pat-auto-scale`` not correctly rescaling after fullscreen changes. Fixes #673
- Update build infrastructure and packages.
- Fix heisenbug with pat-scroll on testruns.
- Fix minimum input length default so that you can display select results already on click.


## 3.0.0a5 - unreleased

Features
~~~~~~~~
```

- Added support for a push subsystem using reethinkdb and horizon.
That allows us to trigger an injection by sending a push_marker to all connected browsers.
(This is still in an evaluation state)
- pat-forward: understand the trigger auto option

Fixes
~~~~~

```

- pat-date-picker, pat-datetime-picker: Support the `first-day` parameter (#647)
- pat-notification: fix how the close button is rendered (#639)
Expand All @@ -46,7 +53,7 @@ Fixes
## 3.0.0a1 - unreleased

Breaking Changes
~~~~~~~~~~~~~~~~
```

+++Big breaking upgrade changing the build system. Read the [version 2 to 3 upgrade guide](./UPGRADE-2-TO-3.md) for details.+++

Expand All @@ -57,6 +64,7 @@ Breaking Changes
- Testrunner is now karma 1.7
- Coverage reports are generated
- Removed deprecated packages

- jquery.tinymce
Very big and unmaintained. We have never advertised it so we don't include it anymore to clean up.
- requirejs
Expand Down Expand Up @@ -102,27 +110,25 @@ Breaking Changes
## 2.2 - unreleased

- pat-masonry:
- Re-Layout on ``load`` events emitted on ``img`` nodes within the masonry scope.
- Do not depend on ``imagesloaded``.
- Re-Layout on `load` events emitted on `img` nodes within the masonry scope.
- Do not depend on `imagesloaded`.
- Update masonry to version 4.2.0.
- Align options with new version:
- Add options ``is-horizontal-order``, ``is-percent-position`` and ``is-resize``.
- Remove options ``visible-style`` and ``hidden-style``.
- Add Aliases from v4 (no ``is-*``) to v3 names (with ``is-`` for booleans), while keeping the v3 names. The patternslib parser does boolean casting for ``is-*`` options.
- Add options `is-horizontal-order`, `is-percent-position` and `is-resize`.
- Remove options `visible-style` and `hidden-style`.
- Add Aliases from v4 (no `is-*`) to v3 names (with `is-` for booleans), while keeping the v3 names. The patternslib parser does boolean casting for `is-*` options.
- pat-datetime-picker: Add new pattern for setting the date and time.
- pat-date-picker: Remove the dependency on ``moment-timezone-data`` - it's not used and there is no use in a date picker anyways.


- pat-date-picker: Remove the dependency on `moment-timezone-data` - it's not used and there is no use in a date picker anyways.

## 2.1.2 - Aug. 29, 2017

- pat-modal: Followup fix for the issue where chrome is so quick that a modal is closed before the actual injection call can be sent. Now modals can be closed again. (pilz)


## 2.1.1 - Aug. 28, 2017

Fixes
~~~~~

```

- pat-modal: Only add a panel-header to the first panel-content element within pat-modal, not everyone. Otherwise this may collide with pat-collapsible which also creates a panel-content class further down the DOM (pilz)
- pat-modal: Fix an issue where chrome is so quick that a modal is closed before the actual injection call can be sent.
Expand Down Expand Up @@ -728,3 +734,4 @@ Fixes
## 1.0.0 - Released January 28, 2013

- First official release.
```
27 changes: 11 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
How to contribute
=================
# How to contribute

Reporting problems
------------------
## Reporting problems

If you find a bug in Patterns please report to it us. Doing so is very simple:

* Make sure you have a [GitHub account](https://github.com/signup/free).
* [Submit a ticket for your
- Make sure you have a [GitHub account](https://github.com/signup/free).
- [Submit a ticket for your
issue](https://github.com/Patternslib/Patterns/issues/new), assuming one does
not already exist. Make sure to clearly describe the issue, including steps
to reproduce when it is a bug.
* If possible include a small test case demonstrating the problem. This can either
- If possible include a small test case demonstrating the problem. This can either
be provided in the ticket itself, or through a pointer to a
[JSFiddle](http://jsfiddle.net/).

Contributing code
-----------------
## Contributing code

All code contributions are extremely welcome. In order to contribute please make
sure you have do the following:

* Read our [code style guide](docs/styleguide.md).
* Make sure you have a [GitHub account](https://github.com/signup/free).
* Create a topic branch from where you want to base your work.
* Make sure *all* tests are passing before you commit your changes. Use the ``make
check`` command to do this.
* Submit a pull request.

- Read our [code style guide](docs/styleguide.md).
- Make sure you have a [GitHub account](https://github.com/signup/free).
- Create a topic branch from where you want to base your work.
- Make sure _all_ tests are passing before you commit your changes. Use the `make check` command to do this.
- Submit a pull request.
2 changes: 0 additions & 2 deletions Gemfile

This file was deleted.

Loading