Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions build/webpack/rules/fonts.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const config = require('../config');

module.exports = {
test: /\.(woff2?|woff|ttf|eot|svg|otf)$/,
loader: 'file-loader',
options: {
name: config.outputs.font.filename
type: 'asset/resource',
generator: {
filename: 'fonts/[name][ext]'
}
}
8 changes: 3 additions & 5 deletions build/webpack/rules/images.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const config = require('../config');

module.exports = {
test: /\.(png|jpe?g|gif)$/,
loader: 'file-loader',
options: {
name: config.outputs.image.filename
type: 'asset/resource',
generator: {
filename: 'images/[name][ext]'
}
}
9 changes: 8 additions & 1 deletion build/webpack/rules/sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ module.exports = {
use: [
MiniCssExtractPlugin.loader,
"css-loader",
"sass-loader",
{
loader: "sass-loader",
options: {
sassOptions: {
silenceDeprecations: ["import", "global-builtin", "color-functions", "if-function"],
},
},
},
],
sideEffects: true,
}
39 changes: 24 additions & 15 deletions dist/css/materialize-vendors.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*!************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./scss/materialize-vendors.scss ***!
\************************************************************************************************************************/
/*!****************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./scss/materialize-vendors.scss ***!
\****************************************************************************************************************************************************/
@charset "UTF-8";
/*!
* Bootstrap v5.3.5 (https://getbootstrap.com/)
* Bootstrap v5.3.8 (https://getbootstrap.com/)
* Copyright 2011-2025 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
Expand Down Expand Up @@ -559,6 +559,10 @@ legend + * {
-webkit-appearance: textfield;
outline-offset: -2px;
}
[type=search]::-webkit-search-cancel-button {
cursor: pointer;
filter: grayscale(1);
}

/* rtl:raw:
[type="tel"],
Expand Down Expand Up @@ -2152,7 +2156,7 @@ progress {
background-color: var(--bs-body-bg);
border-color: rgb(140, 186.5, 232.5);
outline: 0;
box-shadow: none, 0 0 0 0.25rem rgba(25, 118, 210, 0.25);
box-shadow: none;
}
.form-control::-webkit-date-and-time-value {
min-width: 85px;
Expand Down Expand Up @@ -2765,7 +2769,7 @@ textarea.form-control-lg {
}
.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
border-color: var(--bs-form-valid-border-color);
box-shadow: none, 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25);
box-shadow: none;
}

.was-validated textarea.form-control:valid, textarea.form-control.is-valid {
Expand Down Expand Up @@ -2855,7 +2859,7 @@ textarea.form-control-lg {
}
.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
border-color: var(--bs-form-invalid-border-color);
box-shadow: none, 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);
box-shadow: none;
}

.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {
Expand Down Expand Up @@ -4499,24 +4503,24 @@ textarea.form-control-lg {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.card-group > .card:not(:last-child) .card-img-top,
.card-group > .card:not(:last-child) .card-header {
.card-group > .card:not(:last-child) > .card-img-top,
.card-group > .card:not(:last-child) > .card-header {
border-top-right-radius: 0;
}
.card-group > .card:not(:last-child) .card-img-bottom,
.card-group > .card:not(:last-child) .card-footer {
.card-group > .card:not(:last-child) > .card-img-bottom,
.card-group > .card:not(:last-child) > .card-footer {
border-bottom-right-radius: 0;
}
.card-group > .card:not(:first-child) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.card-group > .card:not(:first-child) .card-img-top,
.card-group > .card:not(:first-child) .card-header {
.card-group > .card:not(:first-child) > .card-img-top,
.card-group > .card:not(:first-child) > .card-header {
border-top-left-radius: 0;
}
.card-group > .card:not(:first-child) .card-img-bottom,
.card-group > .card:not(:first-child) .card-footer {
.card-group > .card:not(:first-child) > .card-img-bottom,
.card-group > .card:not(:first-child) > .card-footer {
border-bottom-left-radius: 0;
}
}
Expand Down Expand Up @@ -6187,6 +6191,7 @@ textarea.form-control-lg {
.spinner-grow,
.spinner-border {
display: inline-block;
flex-shrink: 0;
width: var(--bs-spinner-width);
height: var(--bs-spinner-height);
vertical-align: var(--bs-spinner-vertical-align);
Expand Down Expand Up @@ -7106,6 +7111,10 @@ textarea.form-control-lg {
.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption) {
position: absolute !important;
}
.visually-hidden *,
.visually-hidden-focusable:not(:focus):not(:focus-within) * {
overflow: hidden !important;
}

.stretched-link::after {
position: absolute;
Expand Down
42 changes: 30 additions & 12 deletions dist/css/materialize.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!****************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./scss/materialize.scss ***!
\****************************************************************************************************************/
/*!********************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./scss/materialize.scss ***!
\********************************************************************************************************************************************/
:root {
--breakpoint-xs: 0;
--breakpoint-sm: 576px;
Expand All @@ -27,14 +27,30 @@
--red: #f44336;
--teal: #009688;
--yellow: #ffeb3b;
--primary-#1976d2: ;
--secondary-#546e7a: ;
--danger-#f44336: ;
--info-#2196f3: ;
--success-#4caf50: ;
--warning-#ff9800: ;
--dark-#424242: ;
--light-#f5f5f5: ;
--primary-main: #1976d2;
--primary-dark: rgb(14.1489361702, 66.7829787234, 118.8510638298);
--primary-light: rgb(100.4042553191, 168.8680851064, 236.5957446809);
--secondary-main: #546e7a;
--secondary-dark: rgb(42.4077669903, 55.5339805825, 61.5922330097);
--secondary-light: rgb(135.3689320388, 160.8640776699, 172.6310679612);
--danger-main: #f44336;
--danger-dark: #d32f2f;
--danger-light: #ffcdd2;
--info-main: #2196f3;
--info-dark: #1976d2;
--info-light: #bbdefb;
--success-main: #4caf50;
--success-dark: #388e3c;
--success-light: #c8e6c9;
--warning-main: #ff9800;
--warning-dark: #f57c00;
--warning-light: #ffe0b2;
--dark-main: #424242;
--dark-dark: #212121;
--dark-light: #757575;
--light-main: #f5f5f5;
--light-dark: #e0e0e0;
--light-light: #fafafa;
--font-family-monospace: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--font-family-sans-serif: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-family-serif: "Roboto Slab", Georgia, "Times New Roman", Times, serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
Expand Down Expand Up @@ -1050,7 +1066,6 @@ form.row-mb-5 .row {
transition-duration: 0.3s;
transition-property: box-shadow;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}
@media (min-width: 576px) {
.btn-raised {
Expand All @@ -1067,6 +1082,9 @@ form.row-mb-5 .row {
transition: none;
}
}
.btn-raised {
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

.nav-tabs.flat-tabs {
border-bottom: 1px solid #e0e0e0;
Expand Down
486 changes: 246 additions & 240 deletions dist/js/materialize-vendors.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions dist/js/materialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ "./js/materialize.js":
/***/ "./js/materialize.js"
/*!***************************!*\
!*** ./js/materialize.js ***!
\***************************/
/***/ (() => {
() {

eval("\n\n//# sourceURL=webpack://bytic-bootstrap-materialize/./js/materialize.js?");
eval("{\n\n//# sourceURL=webpack://bytic-bootstrap-materialize/./js/materialize.js?\n}");

/***/ }),
/***/ },

/***/ "./scss/materialize.scss":
/***/ "./scss/materialize.scss"
/*!*******************************!*\
!*** ./scss/materialize.scss ***!
\*******************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://bytic-bootstrap-materialize/./scss/materialize.scss?");
eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://bytic-bootstrap-materialize/./scss/materialize.scss?\n}");

/***/ })
/***/ }

/******/ });
/************************************************************************/
Expand All @@ -52,9 +52,9 @@ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extr
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module can't be inlined because the eval devtool is used.
/******/ __webpack_modules__["./scss/materialize.scss"](0, {}, __webpack_require__);
/******/ __webpack_modules__["./scss/materialize.scss"](0,{},__webpack_require__);
/******/ var __webpack_exports__ = {};
/******/ __webpack_modules__["./js/materialize.js"](0, __webpack_exports__, __webpack_require__);
/******/ __webpack_modules__["./js/materialize.js"](0,__webpack_exports__,__webpack_require__);
/******/
/******/ })()
;
Loading