├── data └── .gitkeep ├── accounts └── .gitkeep ├── plugins ├── .gitkeep ├── problems │ ├── problems.yaml │ ├── assets │ │ └── readme_1.png │ ├── blueprints.yaml │ ├── LICENSE │ ├── html │ │ └── problems.html │ └── css │ │ └── problems.css ├── error │ ├── error.yaml │ ├── templates │ │ ├── error.json.twig │ │ └── error.html.twig │ ├── assets │ │ └── readme_1.png │ ├── pages │ │ └── error.md │ ├── blueprints.yaml │ ├── LICENSE │ ├── CHANGELOG.md │ └── languages.yaml ├── highlight │ ├── highlight.yaml │ ├── assets │ │ └── readme_1.png │ ├── CHANGELOG.md │ ├── js │ │ └── highlightjs-line-numbers.min.js │ ├── css │ │ ├── ascetic.css │ │ ├── mono-blue.css │ │ ├── dark.css │ │ ├── androidstudio.css │ │ ├── codepen-embed.css │ │ ├── learn.css │ │ ├── brown-paper.css │ │ ├── vs.css │ │ ├── far.css │ │ ├── arta.css │ │ ├── ir-black.css │ │ ├── color-brewer.css │ │ ├── magula.css │ │ ├── darkula.css │ │ ├── github-gist.css │ │ ├── monokai.css │ │ ├── default.css │ │ ├── tomorrow.css │ │ ├── zenburn.css │ │ ├── school-book.css │ │ ├── paraiso-dark.css │ │ ├── paraiso-light.css │ │ ├── rainbow.css │ │ ├── kimbie.dark.css │ │ ├── kimbie.light.css │ │ ├── monokai-sublime.css │ │ ├── tomorrow-night-bright.css │ │ ├── tomorrow-night-eighties.css │ │ ├── hopscotch.css │ │ ├── arduino-light.css │ │ ├── googlecode.css │ │ ├── obsidian.css │ │ ├── foundation.css │ │ ├── tomorrow-night.css │ │ ├── xcode.css │ │ ├── tomorrow-night-blue.css │ │ ├── pojoaque.css │ │ ├── solarized-dark.css │ │ ├── solarized-light.css │ │ ├── docco.css │ │ ├── idea.css │ │ ├── github.css │ │ ├── sunburst.css │ │ └── railscasts.css │ └── LICENSE ├── simplesearch │ ├── templates │ │ ├── partials │ │ │ ├── simplesearch_base.html.twig │ │ │ ├── simplesearch_item.html.twig │ │ │ └── simplesearch_searchbox.html.twig │ │ ├── simplesearch_results.json.twig │ │ └── simplesearch_results.html.twig │ ├── assets │ │ ├── readme_1.png │ │ └── search.svg │ ├── pages │ │ └── simplesearch.md │ ├── simplesearch.yaml │ ├── css │ │ └── simplesearch.css │ ├── LICENSE │ └── js │ │ └── simplesearch.js ├── breadcrumbs │ ├── assets │ │ └── readme_1.png │ ├── breadcrumbs.yaml │ ├── css │ │ └── breadcrumbs.css │ ├── CHANGELOG.md │ ├── LICENSE │ ├── templates │ │ └── partials │ │ │ └── breadcrumbs.html.twig │ ├── breadcrumbs.php │ └── classes │ │ └── breadcrumbs.php └── anchors │ ├── anchors.yaml │ ├── CHANGELOG.md │ └── LICENSE ├── themes ├── .gitkeep ├── learn2 │ ├── scss │ │ ├── nucleus │ │ │ ├── particles │ │ │ │ ├── _visibility.scss │ │ │ │ └── _align-text.scss │ │ │ ├── functions │ │ │ │ ├── _base.scss │ │ │ │ ├── _range.scss │ │ │ │ └── _direction.scss │ │ │ ├── mixins │ │ │ │ ├── _base.scss │ │ │ │ ├── _utilities.scss │ │ │ │ └── _breakpoints.scss │ │ │ ├── _forms.scss │ │ │ └── _typography.scss │ │ ├── theme │ │ │ ├── modules │ │ │ │ ├── _base.scss │ │ │ │ └── _buttons.scss │ │ │ ├── _buttons.scss │ │ │ ├── _tables.scss │ │ │ ├── _fonts.scss │ │ │ ├── _forms.scss │ │ │ ├── _core.scss │ │ │ ├── _configuration.scss │ │ │ ├── _bullets.scss │ │ │ └── _header.scss │ │ ├── vendor │ │ │ ├── bourbon │ │ │ │ ├── settings │ │ │ │ │ ├── _px-to-em.scss │ │ │ │ │ └── _prefixer.scss │ │ │ │ ├── css3 │ │ │ │ │ ├── _appearance.scss │ │ │ │ │ ├── _user-select.scss │ │ │ │ │ ├── _calc.scss │ │ │ │ │ ├── _hyphens.scss │ │ │ │ │ ├── _box-sizing.scss │ │ │ │ │ ├── _filter.scss │ │ │ │ │ ├── _placeholder.scss │ │ │ │ │ ├── _perspective.scss │ │ │ │ │ ├── _backface-visibility.scss │ │ │ │ │ ├── _image-rendering.scss │ │ │ │ │ ├── _font-feature-settings.scss │ │ │ │ │ ├── _hidpi-media-query.scss │ │ │ │ │ ├── _transform.scss │ │ │ │ │ ├── _border-radius.scss │ │ │ │ │ ├── _font-face.scss │ │ │ │ │ ├── _keyframes.scss │ │ │ │ │ ├── _columns.scss │ │ │ │ │ ├── _linear-gradient.scss │ │ │ │ │ ├── _background-image.scss │ │ │ │ │ └── _radial-gradient.scss │ │ │ │ ├── functions │ │ │ │ │ ├── _golden-ratio.scss │ │ │ │ │ ├── _strip-units.scss │ │ │ │ │ ├── _tint-shade.scss │ │ │ │ │ ├── _assign.scss │ │ │ │ │ ├── _px-to-rem.scss │ │ │ │ │ ├── _px-to-em.scss │ │ │ │ │ ├── _grid-width.scss │ │ │ │ │ ├── _color-lightness.scss │ │ │ │ │ ├── _unpack.scss │ │ │ │ │ ├── _transition-property-name.scss │ │ │ │ │ ├── _flex-grid.scss │ │ │ │ │ └── _modular-scale.scss │ │ │ │ ├── addons │ │ │ │ │ ├── _ellipsis.scss │ │ │ │ │ ├── _hide-text.scss │ │ │ │ │ ├── _word-wrap.scss │ │ │ │ │ ├── _font-family.scss │ │ │ │ │ ├── _size.scss │ │ │ │ │ ├── _clearfix.scss │ │ │ │ │ ├── _rem.scss │ │ │ │ │ ├── _position.scss │ │ │ │ │ ├── _retina-image.scss │ │ │ │ │ └── _prefixer.scss │ │ │ │ ├── helpers │ │ │ │ │ ├── _shape-size-stripper.scss │ │ │ │ │ ├── _is-num.scss │ │ │ │ │ ├── _gradient-positions-parser.scss │ │ │ │ │ ├── _radial-positions-parser.scss │ │ │ │ │ ├── _convert-units.scss │ │ │ │ │ ├── _linear-angle-parser.scss │ │ │ │ │ ├── _render-gradients.scss │ │ │ │ │ ├── _linear-side-corner-parser.scss │ │ │ │ │ ├── _linear-gradient-parser.scss │ │ │ │ │ ├── _str-to-num.scss │ │ │ │ │ └── _radial-gradient-parser.scss │ │ │ │ └── _bourbon-deprecated-upcoming.scss │ │ │ └── color-schemer │ │ │ │ ├── color-schemer │ │ │ │ ├── _equalize.scss │ │ │ │ ├── _tint-shade.scss │ │ │ │ ├── _cmyk.scss │ │ │ │ ├── _comparison.scss │ │ │ │ ├── _colorblind.scss │ │ │ │ ├── _mixins.scss │ │ │ │ ├── _color-adjustments.scss │ │ │ │ ├── _interpolation.scss │ │ │ │ └── _mix.scss │ │ │ │ └── _color-schemer.scss │ │ ├── configuration │ │ │ ├── nucleus │ │ │ │ ├── _core.scss │ │ │ │ ├── _nav.scss │ │ │ │ ├── _base.scss │ │ │ │ ├── _layout.scss │ │ │ │ ├── _typography.scss │ │ │ │ └── _breakpoints.scss │ │ │ └── theme │ │ │ │ ├── _base.scss │ │ │ │ ├── _bullets.scss │ │ │ │ └── _colors.scss │ │ ├── nucleus.scss │ │ └── theme.scss │ ├── scss.sh │ ├── screenshot.jpg │ ├── thumbnail.jpg │ ├── images │ │ ├── logo.png │ │ ├── favicon.png │ │ └── clippy.svg │ ├── blueprints │ │ ├── docs.yaml │ │ └── chapter.yaml │ ├── fonts │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── learn2.php │ ├── templates │ │ ├── partials │ │ │ ├── page.html.twig │ │ │ ├── github_link.html.twig │ │ │ ├── github_note.html.twig │ │ │ ├── metadata.html.twig │ │ │ └── analytics.html.twig │ │ ├── default.html.twig │ │ ├── chapter.html.twig │ │ ├── error.html.twig │ │ └── docs.html.twig │ ├── css │ │ ├── nucleus-ie10.css │ │ ├── nucleus-ie9.css │ │ └── featherlight.min.css │ ├── learn2.yaml │ └── LICENSE └── site │ ├── templates │ └── partials │ │ └── logo.html.twig │ ├── images │ ├── favicon.ico │ ├── favicon.png │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── mstile-70x70.png │ ├── mstile-150x150.png │ ├── mstile-310x150.png │ ├── apple-touch-icon.png │ ├── android-chrome-36x36.png │ ├── android-chrome-48x48.png │ ├── android-chrome-72x72.png │ ├── apple-touch-icon-57x57.png │ ├── apple-touch-icon-60x60.png │ ├── apple-touch-icon-72x72.png │ ├── apple-touch-icon-precomposed.png │ ├── manifest.json │ └── safari-pinned-tab.svg │ ├── js │ └── data-fill-from.js │ ├── site.yaml │ └── css │ └── theme.css ├── config ├── plugins │ ├── highlight.yaml │ ├── anchors.yaml │ └── simplesearch.yaml ├── site.yaml └── system.yaml ├── localhost └── config │ ├── security.yaml │ └── system.yaml ├── screenshot.jpg ├── pages ├── images │ ├── logo.png │ └── flags │ │ ├── ak.png │ │ ├── al.png │ │ ├── ar.png │ │ ├── az.png │ │ ├── ca.png │ │ ├── co.png │ │ ├── ct.png │ │ ├── de.png │ │ ├── fl.png │ │ ├── ga.png │ │ ├── hi.png │ │ ├── ia.png │ │ ├── id.png │ │ ├── il.png │ │ ├── in.png │ │ ├── ks.png │ │ ├── ky.png │ │ ├── la.png │ │ ├── ma.png │ │ ├── md.png │ │ ├── me.png │ │ ├── mi.png │ │ ├── mn.png │ │ ├── mo.png │ │ ├── ms.png │ │ ├── mt.png │ │ ├── nc.png │ │ ├── nd.png │ │ ├── ne.png │ │ ├── nh.png │ │ ├── nj.png │ │ ├── nm.png │ │ ├── nv.png │ │ ├── ny.png │ │ ├── oh.png │ │ ├── ok.png │ │ ├── or.png │ │ ├── pa.png │ │ ├── ri.png │ │ ├── sc.png │ │ ├── sd.png │ │ ├── tn.png │ │ ├── tx.png │ │ ├── ut.png │ │ ├── va.png │ │ ├── vt.png │ │ ├── wa.png │ │ ├── wi.png │ │ ├── wv.png │ │ └── wy.png ├── 15.upgrading │ └── chapter.md ├── 14.advanced │ ├── chapter.md │ └── 02.default-adapters │ │ ├── docs.md │ │ ├── 02.array │ │ └── docs.md │ │ ├── 03.ajax │ │ └── docs.md │ │ ├── 05.results │ │ └── docs.md │ │ └── 01.selection │ │ └── docs.md ├── 12.programmatic-control │ └── chapter.md ├── 03.configuration │ ├── docs.md │ └── 02.defaults │ │ └── docs.md ├── 06.data-sources │ └── chapter.md └── 02.troubleshooting │ └── chapter.md ├── assets └── rtfm-screenshot.png └── blueprints.yaml /data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /accounts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /themes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/plugins/highlight.yaml: -------------------------------------------------------------------------------- 1 | theme: learn 2 | -------------------------------------------------------------------------------- /themes/learn2/scss/nucleus/particles/_visibility.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /localhost/config/security.yaml: -------------------------------------------------------------------------------- 1 | salt: dc7HfDXRG0WT48 2 | -------------------------------------------------------------------------------- /plugins/problems/problems.yaml: -------------------------------------------------------------------------------- 1 | enabled: true 2 | built_in_css: true 3 | -------------------------------------------------------------------------------- /themes/learn2/scss.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | scss --watch scss:css-compiled 3 | -------------------------------------------------------------------------------- /plugins/error/error.yaml: -------------------------------------------------------------------------------- 1 | enabled: true 2 | routes: 3 | 404: '/error' 4 | -------------------------------------------------------------------------------- /plugins/error/templates/error.json.twig: -------------------------------------------------------------------------------- 1 | {{ page.content|json_encode()|raw }} -------------------------------------------------------------------------------- /config/plugins/anchors.yaml: -------------------------------------------------------------------------------- 1 | selectors: '#body h2, #body h3, #body h4, #body h5' 2 | -------------------------------------------------------------------------------- /screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/screenshot.jpg -------------------------------------------------------------------------------- /themes/learn2/scss/theme/modules/_base.scss: -------------------------------------------------------------------------------- 1 | // Buttons 2 | @import "buttons"; 3 | -------------------------------------------------------------------------------- /plugins/highlight/highlight.yaml: -------------------------------------------------------------------------------- 1 | enabled: true 2 | theme: default 3 | lines: false 4 | -------------------------------------------------------------------------------- /themes/learn2/scss/nucleus/functions/_base.scss: -------------------------------------------------------------------------------- 1 | @import "direction"; 2 | @import "range"; -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/settings/_px-to-em.scss: -------------------------------------------------------------------------------- 1 | $em-base: 16px !default; 2 | -------------------------------------------------------------------------------- /pages/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/logo.png -------------------------------------------------------------------------------- /themes/learn2/scss/nucleus/mixins/_base.scss: -------------------------------------------------------------------------------- 1 | @import "breakpoints"; 2 | @import "utilities"; -------------------------------------------------------------------------------- /assets/rtfm-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/assets/rtfm-screenshot.png -------------------------------------------------------------------------------- /pages/images/flags/ak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ak.png -------------------------------------------------------------------------------- /pages/images/flags/al.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/al.png -------------------------------------------------------------------------------- /pages/images/flags/ar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ar.png -------------------------------------------------------------------------------- /pages/images/flags/az.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/az.png -------------------------------------------------------------------------------- /pages/images/flags/ca.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ca.png -------------------------------------------------------------------------------- /pages/images/flags/co.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/co.png -------------------------------------------------------------------------------- /pages/images/flags/ct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ct.png -------------------------------------------------------------------------------- /pages/images/flags/de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/de.png -------------------------------------------------------------------------------- /pages/images/flags/fl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/fl.png -------------------------------------------------------------------------------- /pages/images/flags/ga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ga.png -------------------------------------------------------------------------------- /pages/images/flags/hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/hi.png -------------------------------------------------------------------------------- /pages/images/flags/ia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ia.png -------------------------------------------------------------------------------- /pages/images/flags/id.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/id.png -------------------------------------------------------------------------------- /pages/images/flags/il.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/il.png -------------------------------------------------------------------------------- /pages/images/flags/in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/in.png -------------------------------------------------------------------------------- /pages/images/flags/ks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ks.png -------------------------------------------------------------------------------- /pages/images/flags/ky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ky.png -------------------------------------------------------------------------------- /pages/images/flags/la.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/la.png -------------------------------------------------------------------------------- /pages/images/flags/ma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ma.png -------------------------------------------------------------------------------- /pages/images/flags/md.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/md.png -------------------------------------------------------------------------------- /pages/images/flags/me.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/me.png -------------------------------------------------------------------------------- /pages/images/flags/mi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/mi.png -------------------------------------------------------------------------------- /pages/images/flags/mn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/mn.png -------------------------------------------------------------------------------- /pages/images/flags/mo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/mo.png -------------------------------------------------------------------------------- /pages/images/flags/ms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ms.png -------------------------------------------------------------------------------- /pages/images/flags/mt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/mt.png -------------------------------------------------------------------------------- /pages/images/flags/nc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/nc.png -------------------------------------------------------------------------------- /pages/images/flags/nd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/nd.png -------------------------------------------------------------------------------- /pages/images/flags/ne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ne.png -------------------------------------------------------------------------------- /pages/images/flags/nh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/nh.png -------------------------------------------------------------------------------- /pages/images/flags/nj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/nj.png -------------------------------------------------------------------------------- /pages/images/flags/nm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/nm.png -------------------------------------------------------------------------------- /pages/images/flags/nv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/nv.png -------------------------------------------------------------------------------- /pages/images/flags/ny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ny.png -------------------------------------------------------------------------------- /pages/images/flags/oh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/oh.png -------------------------------------------------------------------------------- /pages/images/flags/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ok.png -------------------------------------------------------------------------------- /pages/images/flags/or.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/or.png -------------------------------------------------------------------------------- /pages/images/flags/pa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/pa.png -------------------------------------------------------------------------------- /pages/images/flags/ri.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ri.png -------------------------------------------------------------------------------- /pages/images/flags/sc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/sc.png -------------------------------------------------------------------------------- /pages/images/flags/sd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/sd.png -------------------------------------------------------------------------------- /pages/images/flags/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/tn.png -------------------------------------------------------------------------------- /pages/images/flags/tx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/tx.png -------------------------------------------------------------------------------- /pages/images/flags/ut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/ut.png -------------------------------------------------------------------------------- /pages/images/flags/va.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/va.png -------------------------------------------------------------------------------- /pages/images/flags/vt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/vt.png -------------------------------------------------------------------------------- /pages/images/flags/wa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/wa.png -------------------------------------------------------------------------------- /pages/images/flags/wi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/wi.png -------------------------------------------------------------------------------- /pages/images/flags/wv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/wv.png -------------------------------------------------------------------------------- /pages/images/flags/wy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/pages/images/flags/wy.png -------------------------------------------------------------------------------- /themes/site/templates/partials/logo.html.twig: -------------------------------------------------------------------------------- 1 | 2 | Select2 3 | 4 | -------------------------------------------------------------------------------- /themes/learn2/screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/learn2/screenshot.jpg -------------------------------------------------------------------------------- /themes/learn2/thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/learn2/thumbnail.jpg -------------------------------------------------------------------------------- /plugins/simplesearch/templates/partials/simplesearch_base.html.twig: -------------------------------------------------------------------------------- 1 | {% extends 'partials/base.html.twig' %} 2 | -------------------------------------------------------------------------------- /themes/learn2/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/learn2/images/logo.png -------------------------------------------------------------------------------- /themes/learn2/scss/configuration/nucleus/_core.scss: -------------------------------------------------------------------------------- 1 | // Border Radius 2 | $core-border-radius: rem(3) !default; -------------------------------------------------------------------------------- /themes/site/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/favicon.ico -------------------------------------------------------------------------------- /themes/site/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/favicon.png -------------------------------------------------------------------------------- /plugins/error/assets/readme_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/plugins/error/assets/readme_1.png -------------------------------------------------------------------------------- /themes/learn2/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/learn2/images/favicon.png -------------------------------------------------------------------------------- /plugins/problems/assets/readme_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/plugins/problems/assets/readme_1.png -------------------------------------------------------------------------------- /themes/site/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/favicon-16x16.png -------------------------------------------------------------------------------- /themes/site/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/favicon-32x32.png -------------------------------------------------------------------------------- /themes/site/images/mstile-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/mstile-70x70.png -------------------------------------------------------------------------------- /plugins/highlight/assets/readme_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/plugins/highlight/assets/readme_1.png -------------------------------------------------------------------------------- /themes/learn2/blueprints/docs.yaml: -------------------------------------------------------------------------------- 1 | title: Docs 2 | '@extends': 3 | type: default 4 | context: blueprints://pages 5 | -------------------------------------------------------------------------------- /themes/site/images/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/mstile-150x150.png -------------------------------------------------------------------------------- /themes/site/images/mstile-310x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/mstile-310x150.png -------------------------------------------------------------------------------- /pages/15.upgrading/chapter.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Upgrading 3 | taxonomy: 4 | category: docs 5 | --- 6 | 7 | # Upgrading Select2 8 | -------------------------------------------------------------------------------- /plugins/breadcrumbs/assets/readme_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/plugins/breadcrumbs/assets/readme_1.png -------------------------------------------------------------------------------- /plugins/simplesearch/assets/readme_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/plugins/simplesearch/assets/readme_1.png -------------------------------------------------------------------------------- /themes/learn2/blueprints/chapter.yaml: -------------------------------------------------------------------------------- 1 | title: Chapter 2 | '@extends': 3 | type: default 4 | context: blueprints://pages 5 | -------------------------------------------------------------------------------- /themes/learn2/scss/configuration/theme/_base.scss: -------------------------------------------------------------------------------- 1 | // Colors 2 | @import "colors"; 3 | 4 | // Typography 5 | @import "bullets"; 6 | -------------------------------------------------------------------------------- /themes/site/images/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/apple-touch-icon.png -------------------------------------------------------------------------------- /themes/learn2/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/learn2/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /themes/learn2/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/learn2/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /themes/site/images/android-chrome-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/android-chrome-36x36.png -------------------------------------------------------------------------------- /themes/site/images/android-chrome-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/android-chrome-48x48.png -------------------------------------------------------------------------------- /themes/site/images/android-chrome-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/android-chrome-72x72.png -------------------------------------------------------------------------------- /themes/learn2/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/learn2/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /themes/learn2/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/learn2/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /themes/learn2/scss/configuration/nucleus/_nav.scss: -------------------------------------------------------------------------------- 1 | // Dropdowns 2 | $dropdown-width: 140px !default; 3 | $flyout-width: 140px !default; -------------------------------------------------------------------------------- /themes/site/images/apple-touch-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/apple-touch-icon-57x57.png -------------------------------------------------------------------------------- /themes/site/images/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /themes/site/images/apple-touch-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/apple-touch-icon-72x72.png -------------------------------------------------------------------------------- /pages/14.advanced/chapter.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Advanced 3 | taxonomy: 4 | category: docs 5 | --- 6 | 7 | # Advanced Features and Developer Guide 8 | -------------------------------------------------------------------------------- /plugins/error/templates/error.html.twig: -------------------------------------------------------------------------------- 1 |

{{ 'PLUGIN_ERROR.ERROR'|t }} {{ header.http_response_code }}

2 | 3 |

{{ page.content|raw }}

4 | -------------------------------------------------------------------------------- /themes/site/images/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/docs/develop/themes/site/images/apple-touch-icon-precomposed.png -------------------------------------------------------------------------------- /themes/learn2/learn2.php: -------------------------------------------------------------------------------- 1 | 2 |

{{ page.title }}

3 |

4 | {{ page.content }} 5 |

6 | 7 | -------------------------------------------------------------------------------- /plugins/simplesearch/pages/simplesearch.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Search Results 3 | order_by: date 4 | order_dir: desc 5 | template: simplesearch_results 6 | --- 7 | 8 | -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/css3/_appearance.scss: -------------------------------------------------------------------------------- 1 | @mixin appearance ($value) { 2 | @include prefixer(appearance, $value, webkit moz ms o spec); 3 | } 4 | -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/css3/_user-select.scss: -------------------------------------------------------------------------------- 1 | @mixin user-select($arg: none) { 2 | @include prefixer(user-select, $arg, webkit moz ms spec); 3 | } 4 | -------------------------------------------------------------------------------- /config/plugins/simplesearch.yaml: -------------------------------------------------------------------------------- 1 | enabled: true 2 | built_in_css: false 3 | route: /search 4 | template: simplesearch_results 5 | filters: 6 | category: docs 7 | -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/functions/_golden-ratio.scss: -------------------------------------------------------------------------------- 1 | @function golden-ratio($value, $increment) { 2 | @return modular-scale($value, $increment, $golden) 3 | } 4 | -------------------------------------------------------------------------------- /themes/learn2/css/nucleus-ie10.css: -------------------------------------------------------------------------------- 1 | button { 2 | overflow: visible; 3 | } 4 | 5 | input[type="checkbox"], 6 | input[type="radio"] { 7 | box-sizing: border-box; 8 | padding: 0; 9 | } -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/css3/_calc.scss: -------------------------------------------------------------------------------- 1 | @mixin calc($property, $value) { 2 | #{$property}: -webkit-calc(#{$value}); 3 | #{$property}: calc(#{$value}); 4 | } 5 | -------------------------------------------------------------------------------- /themes/learn2/templates/default.html.twig: -------------------------------------------------------------------------------- 1 | {% extends 'partials/base.html.twig' %} 2 | 3 | {% block content %} 4 | {% include 'partials/page.html.twig' %} 5 | {% endblock %} 6 | -------------------------------------------------------------------------------- /localhost/config/system.yaml: -------------------------------------------------------------------------------- 1 | assets: 2 | css_pipeline: false 3 | js_pipeline: false 4 | 5 | twig: 6 | cache: true 7 | debug: true 8 | 9 | debugger: 10 | enabled: false 11 | -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/css3/_hyphens.scss: -------------------------------------------------------------------------------- 1 | @mixin hyphens($hyphenation: none) { 2 | // none | manual | auto 3 | @include prefixer(hyphens, $hyphenation, webkit moz ms spec); 4 | } -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/css3/_box-sizing.scss: -------------------------------------------------------------------------------- 1 | @mixin box-sizing ($box) { 2 | // content-box | border-box | inherit 3 | @include prefixer(box-sizing, $box, webkit moz spec); 4 | } 5 | -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/functions/_strip-units.scss: -------------------------------------------------------------------------------- 1 | // Srtips the units from a value. e.g. 12px -> 12 2 | 3 | @function strip-units($val) { 4 | @return ($val / ($val * 0 + 1)); 5 | } 6 | -------------------------------------------------------------------------------- /plugins/breadcrumbs/breadcrumbs.yaml: -------------------------------------------------------------------------------- 1 | enabled: true 2 | show_all: true 3 | built_in_css: true 4 | include_home: true 5 | icon_home: '' 6 | icon_divider_classes: 'fa fa-angle-right' 7 | link_trailing: false 8 | -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/css3/_filter.scss: -------------------------------------------------------------------------------- 1 | @mixin filter($function: none) { 2 | // [ {{ 'THEME_LEARN2_GITHUB_EDIT_THIS_PAGE'|t }} 2 | -------------------------------------------------------------------------------- /pages/14.advanced/02.default-adapters/docs.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Built-in adapters 3 | taxonomy: 4 | category: docs 5 | --- 6 | 7 | This section describes the built-in adapters for Select2, as well as the decorators they use to expose their functionality. 8 | -------------------------------------------------------------------------------- /themes/learn2/scss/configuration/nucleus/_base.scss: -------------------------------------------------------------------------------- 1 | // Core 2 | @import "core"; 3 | 4 | // Breakpoints 5 | @import "breakpoints"; 6 | 7 | // Layout 8 | @import "layout"; 9 | 10 | // Typography 11 | @import "typography"; 12 | 13 | // Nav 14 | @import "nav"; -------------------------------------------------------------------------------- /themes/learn2/templates/chapter.html.twig: -------------------------------------------------------------------------------- 1 | {% extends 'docs.html.twig' %} 2 | 3 | {% block content %} 4 |
5 |
6 |

7 | {{ page.content }} 8 |

9 |
10 |
11 | {% endblock %} 12 | -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/css3/_placeholder.scss: -------------------------------------------------------------------------------- 1 | @mixin placeholder { 2 | $placeholders: ":-webkit-input" ":-moz" "-moz" "-ms-input"; 3 | @each $placeholder in $placeholders { 4 | &:#{$placeholder}-placeholder { 5 | @content; 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /plugins/error/pages/error.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Page not Found 3 | robots: noindex,nofollow 4 | template: error 5 | routable: false 6 | http_response_code: 404 7 | twig_first: true 8 | process: 9 | twig: true 10 | --- 11 | 12 | {{ 'PLUGIN_ERROR.ERROR_MESSAGE'|t }} 13 | 14 | -------------------------------------------------------------------------------- /pages/14.advanced/02.default-adapters/02.array/docs.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Array 3 | taxonomy: 4 | category: docs 5 | --- 6 | 7 | The `ArrayAdapter` implements support for creating results based on an [array of data objects](/data-sources/arrays). 8 | 9 | **AMD Modules:** 10 | 11 | `select2/data/array` 12 | -------------------------------------------------------------------------------- /themes/learn2/scss/nucleus/functions/_range.scss: -------------------------------------------------------------------------------- 1 | @function lower-bound($range){ 2 | @if length($range) <= 0 { 3 | @return 0; 4 | } 5 | @return nth($range,1); 6 | } 7 | 8 | @function upper-bound($range) { 9 | @if length($range) < 2 { 10 | @return 999999999999; 11 | } 12 | @return nth($range, 2); 13 | } -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/css3/_perspective.scss: -------------------------------------------------------------------------------- 1 | @mixin perspective($depth: none) { 2 | // none | 3 | @include prefixer(perspective, $depth, webkit moz spec); 4 | } 5 | 6 | @mixin perspective-origin($value: 50% 50%) { 7 | @include prefixer(perspective-origin, $value, webkit moz spec); 8 | } 9 | -------------------------------------------------------------------------------- /pages/14.advanced/02.default-adapters/03.ajax/docs.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Ajax 3 | taxonomy: 4 | category: docs 5 | --- 6 | 7 | The `AjaxAdapter` implements support for creating results [from remote data sources using AJAX requests](/data-sources/ajax). 8 | 9 | **AMD Modules:** 10 | 11 | `select2/data/ajax` 12 | -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/color-schemer/color-schemer/_equalize.scss: -------------------------------------------------------------------------------- 1 | // Color equalize credit to Mason Wendell: 2 | // https://github.com/canarymason/The-Coding-Designers-Survival-Kit/blob/master/sass/partials/lib/variables/_color_schemes.sass 3 | @function equalize($color) { 4 | @return hsl(hue($color), 100%, 50%); 5 | } -------------------------------------------------------------------------------- /themes/learn2/templates/partials/github_note.html.twig: -------------------------------------------------------------------------------- 1 |
2 |

3 | {{ 'THEME_LEARN2_GITHUB_NOTE'|t }} 4 | 5 | {% include 'partials/github_link.html.twig' %} 6 |

7 |
8 | -------------------------------------------------------------------------------- /pages/12.programmatic-control/chapter.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Programmatic control 3 | metadata: 4 | description: Programmatically adding and selecting items, getting the current selections, manipulating the control, and working with Select2 events. 5 | taxonomy: 6 | category: docs 7 | --- 8 | 9 | # Programmatic control 10 | -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/bourbon/functions/_tint-shade.scss: -------------------------------------------------------------------------------- 1 | // Add percentage of white to a color 2 | @function tint($color, $percent){ 3 | @return mix(white, $color, $percent); 4 | } 5 | 6 | // Add percentage of black to a color 7 | @function shade($color, $percent){ 8 | @return mix(black, $color, $percent); 9 | } 10 | -------------------------------------------------------------------------------- /themes/learn2/scss/vendor/color-schemer/color-schemer/_tint-shade.scss: -------------------------------------------------------------------------------- 1 | // Add percentage of white to a color 2 | @function tint($color, $percent) { 3 | @return mix(white, $color, $percent); 4 | } 5 | 6 | // Add percentage of black to a color 7 | @function shade($color, $percent) { 8 | @return mix(black, $color, $percent); 9 | } 10 | -------------------------------------------------------------------------------- /pages/03.configuration/docs.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Configuration 3 | taxonomy: 4 | category: docs 5 | --- 6 | 7 | To configure custom options when you initialize Select2, simply pass an object in your call to `.select2()`: 8 | 9 | ``` 10 | $('.js-example-basic-single').select2({ 11 | placeholder: 'Select an option' 12 | }); 13 | ``` 14 | -------------------------------------------------------------------------------- /pages/06.data-sources/chapter.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Data sources 3 | taxonomy: 4 | category: docs 5 | --- 6 | 7 | # Data sources 8 | 9 | In addition to handling `