Skip to content

Commit

Permalink
Move content to the roots and manipulator refactor (#1309)
Browse files Browse the repository at this point in the history
* Accordion, V/Carousel, Video: icons migration

* Modal, Gallery, Offcanvas, Toast: icons migration

* Alerts, Btns, Chips, Tesimonial: icons migration

* Dividers, Dropdown, Headers: icons migration

* move demo sites to new directories

* move js files to new directories

* merge data.js (bs + mdb)

* merge event-handler.js (bs + mdb)

* change site/tailwind.config.js

* change for data.js

* merge manipulator.js (bs + mdb)

* merge selector-engine.js (bs + mdb)

* merge index.js (util / bs + mdb)

* merge sanitizer.js (util / bs + mdb)

* merge scrollbar.js (util / bs + mdb)

* merge focusTrap.js (util / bs + mdb)

* change in focus trap

* add change direction for focus trap

* refactor manipulator

---------

Co-authored-by: Trochonovitz <mat.trochonowicz@gmail.com>
Co-authored-by: Bartosz Cylwik <bartosz.cylwik94@gmail.com>
Co-authored-by: Mikolaj Smolenski <smolenski.mikolaj@gmail.com>
  • Loading branch information
4 people authored Feb 9, 2023
1 parent 3abb7fe commit 4c295d8
Show file tree
Hide file tree
Showing 186 changed files with 2,303 additions and 10,710 deletions.
142 changes: 71 additions & 71 deletions demo/index.html

Large diffs are not rendered by default.

304 changes: 152 additions & 152 deletions demo/paths.json

Large diffs are not rendered by default.

File renamed without changes.
394 changes: 0 additions & 394 deletions demo/sites/bs/datepicker.html

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
234 changes: 180 additions & 54 deletions site/content/docs/standard/components/accordion/index.html

Large diffs are not rendered by default.

282 changes: 130 additions & 152 deletions site/content/docs/standard/components/alerts/index.html

Large diffs are not rendered by default.

68 changes: 28 additions & 40 deletions site/content/docs/standard/components/buttons/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -784,19 +784,16 @@
type="button"
data-te-ripple-init
data-te-ripple-color="light"
class="inline-block h-9 w-9 rounded-full bg-blue-600 uppercase leading-normal text-white shadow-md transition duration-150 ease-in-out hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg">
class="inline-block rounded-full bg-blue-600 p-2 uppercase leading-normal text-white shadow-md transition duration-150 ease-in-out hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg">
<svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="download"
class="mx-auto w-3"
role="img"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512">
viewBox="0 0 24 24"
fill="currentColor"
class="h-4 w-4">
<path
fill="currentColor"
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"></path>
fill-rule="evenodd"
d="M19.5 21a3 3 0 003-3V9a3 3 0 00-3-3h-5.379a.75.75 0 01-.53-.22L11.47 3.66A2.25 2.25 0 009.879 3H4.5a3 3 0 00-3 3v12a3 3 0 003 3h15zm-6.75-10.5a.75.75 0 00-1.5 0v4.19l-1.72-1.72a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V10.5z"
clip-rule="evenodd" />
</svg>
</button>
</div>
Expand All @@ -814,19 +811,16 @@
type="button"
data-te-ripple-init
data-te-ripple-color="light"
class="inline-block h-9 w-9 rounded-full bg-blue-600 uppercase leading-normal text-white shadow-md transition duration-150 ease-in-out hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg">
class="inline-block rounded-full bg-blue-600 p-2 uppercase leading-normal text-white shadow-md transition duration-150 ease-in-out hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg">
<svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="download"
class="mx-auto w-3"
role="img"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512">
viewBox="0 0 24 24"
fill="currentColor"
class="h-4 w-4">
<path
fill="currentColor"
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"></path>
fill-rule="evenodd"
d="M19.5 21a3 3 0 003-3V9a3 3 0 00-3-3h-5.379a.75.75 0 01-.53-.22L11.47 3.66A2.25 2.25 0 009.879 3H4.5a3 3 0 00-3 3v12a3 3 0 003 3h15zm-6.75-10.5a.75.75 0 00-1.5 0v4.19l-1.72-1.72a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V10.5z"
clip-rule="evenodd" />
</svg>
</button>
</div>
Expand Down Expand Up @@ -1063,19 +1057,16 @@
type="button"
data-te-ripple-init
data-te-ripple-color="light"
class="align-center inline-block flex rounded bg-blue-600 px-6 pt-2.5 pb-2 text-xs font-medium uppercase leading-normal text-white shadow-md transition duration-150 ease-in-out hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg">
class="flex items-center rounded bg-blue-600 px-6 pt-2.5 pb-2 text-xs font-medium uppercase leading-normal text-white shadow-md transition duration-150 ease-in-out hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg">
<svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="download"
class="mr-2 w-3"
role="img"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512">
viewBox="0 0 24 24"
fill="currentColor"
class="mr-1 h-4 w-4">
<path
fill="currentColor"
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"></path>
fill-rule="evenodd"
d="M19.5 21a3 3 0 003-3V9a3 3 0 00-3-3h-5.379a.75.75 0 01-.53-.22L11.47 3.66A2.25 2.25 0 009.879 3H4.5a3 3 0 00-3 3v12a3 3 0 003 3h15zm-6.75-10.5a.75.75 0 00-1.5 0v4.19l-1.72-1.72a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V10.5z"
clip-rule="evenodd" />
</svg>
Button
</button>
Expand All @@ -1094,19 +1085,16 @@
type="button"
data-te-ripple-init
data-te-ripple-color="light"
class="align-center inline-block flex rounded bg-blue-600 px-6 pt-2.5 pb-2 text-xs font-medium uppercase leading-normal text-white shadow-md transition duration-150 ease-in-out hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg">
class="flex items-center rounded bg-blue-600 px-6 pt-2.5 pb-2 text-xs font-medium uppercase leading-normal text-white shadow-md transition duration-150 ease-in-out hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg">
<svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="download"
class="mr-2 w-3"
role="img"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512">
viewBox="0 0 24 24"
fill="currentColor"
class="mr-1 h-4 w-4">
<path
fill="currentColor"
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"></path>
fill-rule="evenodd"
d="M19.5 21a3 3 0 003-3V9a3 3 0 00-3-3h-5.379a.75.75 0 01-.53-.22L11.47 3.66A2.25 2.25 0 009.879 3H4.5a3 3 0 00-3 3v12a3 3 0 003 3h15zm-6.75-10.5a.75.75 0 00-1.5 0v4.19l-1.72-1.72a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V10.5z"
clip-rule="evenodd" />
</svg>
Button
</button>
Expand Down
Loading

0 comments on commit 4c295d8

Please sign in to comment.