kmaterialize 2.3.3-1.0.2 → 2.3.3-1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
  ## Getting started
16
16
  Read the [getting started guide](https://materialize.kevinzarshenas.com/getting-started.html) for more information on how to use kmaterialize.
17
17
 
18
- - Clone the repo: `git clone https://github.com/materializecss/materialize.git`
18
+ - Clone the repo: `git clone https://github.com/kekefreedog/kmaterialize.git`
19
19
  - Install with [npm](https://www.npmjs.com): `npm install kmaterialize`
20
20
 
21
21
  ## Testing
@@ -31,7 +31,7 @@ This is the core project with all the components. To see how they are used we re
31
31
  See [Materialize Docs Repo](https://github.com/materializecss/materialize-docs) to see Materialize in Action.
32
32
 
33
33
  ### Releases
34
- Previous releases are available [here](https://github.com/materializecss/materialize/releases). You can also find the changelog under each release.
34
+ Previous releases are available [here](https://github.com/kekefreedog/kmaterialize/releases). You can also find the changelog under each release.
35
35
 
36
36
  ## Supported Browsers:
37
37
  Materialize is compatible with:
@@ -49,7 +49,7 @@ We use Jasmine as our testing framework and we're trying to write a robust test
49
49
  For quick testing install live-server node package globally and run `npm run demo`
50
50
 
51
51
  ## Contributing
52
- Check out the [CONTRIBUTING document](docs/CONTRIBUTING.md) in the root of the repository to learn how you can contribute. You can also browse the [help-wanted](https://github.com/materializecss/materialize/labels/help-wanted) tag in our issue tracker to find things to do.
52
+ Check out the [CONTRIBUTING document](docs/CONTRIBUTING.md) in the root of the repository to learn how you can contribute. You can also browse the [help-wanted](https://github.com/kekefreedog/kmaterialize/labels/help-wanted) tag in our issue tracker to find things to do.
53
53
 
54
54
  ## Copyright and license
55
55
  Code Copyright 2026 kmaterialize. Code released under the MIT license.
@@ -4,6 +4,7 @@
4
4
  .collapsible {
5
5
  padding-left: 0;
6
6
  list-style-type: none;
7
+ background-color: var(--md-sys-color-surface);
7
8
  border-top: 1px solid var(--md-sys-color-outline-variant);
8
9
  border-right: 1px solid var(--md-sys-color-outline-variant);
9
10
  border-left: 1px solid var(--md-sys-color-outline-variant);
@@ -50,7 +50,7 @@ textarea.materialize-textarea {
50
50
 
51
51
  // Default
52
52
 
53
- input, textarea {
53
+ input:not([type=checkbox]):not([type=radio]), textarea {
54
54
  box-sizing: border-box; /* https://stackoverflow.com/questions/1377719/padding-within-inputs-breaks-width-100*/
55
55
  padding: 0 16px;
56
56
  padding-top: 20px;
@@ -180,7 +180,7 @@ textarea.materialize-textarea {
180
180
 
181
181
  &.outlined {
182
182
 
183
- input, textarea {
183
+ input:not([type=checkbox]):not([type=radio]), textarea {
184
184
  padding-top: 0;
185
185
  background-color: transparent; //(--md-sys-color-background);
186
186
  border: 1px solid var(--md-sys-color-on-surface-variant);
@@ -225,7 +225,7 @@ textarea.materialize-textarea {
225
225
  // border/label/text below should pick up the error color.
226
226
  background-color: transparent;
227
227
 
228
- input, textarea {
228
+ input:not([type=checkbox]):not([type=radio]), textarea {
229
229
  border-color: var(--md-sys-color-error);
230
230
  }
231
231
  input:focus:not([readonly]), textarea:focus:not([readonly]) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Materialize v2.3.3-1.0.2 (https://materializeweb.com)
2
+ * Materialize v2.3.3-1.0.4 (https://materializeweb.com)
3
3
  * Copyright 2014-2026 Materialize
4
4
  * MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Materialize v2.3.3-1.0.2 (https://materializeweb.com)
2
+ * Materialize v2.3.3-1.0.4 (https://materializeweb.com)
3
3
  * Copyright 2014-2026 Materialize
4
4
  * MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
5
5
  */
@@ -4920,65 +4920,6 @@ body {
4920
4920
  transform: scale(1);
4921
4921
  }
4922
4922
 
4923
- .pulse {
4924
- overflow: visible;
4925
- position: relative;
4926
- &::before {
4927
- content: "";
4928
- display: block;
4929
- position: absolute;
4930
- pointer-events: none;
4931
- width: 100%;
4932
- height: 100%;
4933
- top: 0;
4934
- left: 0;
4935
- background-color: inherit;
4936
- border-radius: inherit;
4937
- -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
4938
- transition: opacity 0.3s, -webkit-transform 0.3s;
4939
- transition: opacity 0.3s, transform 0.3s;
4940
- transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
4941
- -webkit-animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
4942
- animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
4943
- z-index: -1;
4944
- }
4945
- }
4946
-
4947
- @-webkit-keyframes pulse-animation {
4948
- 0% {
4949
- opacity: 1;
4950
- -webkit-transform: scale(1);
4951
- transform: scale(1);
4952
- }
4953
- 50% {
4954
- opacity: 0;
4955
- -webkit-transform: scale(1.5);
4956
- transform: scale(1.5);
4957
- }
4958
- 100% {
4959
- opacity: 0;
4960
- -webkit-transform: scale(1.5);
4961
- transform: scale(1.5);
4962
- }
4963
- }
4964
-
4965
- @keyframes pulse-animation {
4966
- 0% {
4967
- opacity: 1;
4968
- -webkit-transform: scale(1);
4969
- transform: scale(1);
4970
- }
4971
- 50% {
4972
- opacity: 0;
4973
- -webkit-transform: scale(1.5);
4974
- transform: scale(1.5);
4975
- }
4976
- 100% {
4977
- opacity: 0;
4978
- -webkit-transform: scale(1.5);
4979
- transform: scale(1.5);
4980
- }
4981
- }
4982
4923
  .table-of-contents {
4983
4924
  list-style: none;
4984
4925
  }
@@ -5512,6 +5453,7 @@ button.btn-floating {
5512
5453
  .collapsible {
5513
5454
  padding-left: 0;
5514
5455
  list-style-type: none;
5456
+ background-color: var(--md-sys-color-surface);
5515
5457
  border-top: 1px solid var(--md-sys-color-outline-variant);
5516
5458
  border-right: 1px solid var(--md-sys-color-outline-variant);
5517
5459
  border-left: 1px solid var(--md-sys-color-outline-variant);
@@ -9365,17 +9307,17 @@ textarea.materialize-textarea {
9365
9307
  background-color: transparent;
9366
9308
  }
9367
9309
 
9368
- .input-field input.invalid, .input-field textarea.invalid {
9310
+ .input-field input:not([type=checkbox]):not([type=radio]).invalid, .input-field textarea.invalid {
9369
9311
  border-bottom: 2px solid var(--md-sys-color-error);
9370
9312
  -webkit-box-shadow: 0 1px 0 0 var(--md-sys-color-error);
9371
9313
  box-shadow: 0 1px 0 0 var(--md-sys-color-error);
9372
9314
  }
9373
9315
 
9374
- .input-field input.invalid ~ .supporting-text[data-error] > span, .input-field textarea.invalid ~ .supporting-text[data-error] > span {
9316
+ .input-field input:not([type=checkbox]):not([type=radio]).invalid ~ .supporting-text[data-error] > span, .input-field textarea.invalid ~ .supporting-text[data-error] > span {
9375
9317
  display: none;
9376
9318
  }
9377
9319
 
9378
- .input-field input.invalid ~ .supporting-text:after, .input-field textarea.invalid ~ .supporting-text:after {
9320
+ .input-field input:not([type=checkbox]):not([type=radio]).invalid ~ .supporting-text:after, .input-field textarea.invalid ~ .supporting-text:after {
9379
9321
  content: attr(data-error);
9380
9322
  color: var(--md-sys-color-error);
9381
9323
  }
@@ -9385,7 +9327,7 @@ textarea.materialize-textarea {
9385
9327
  position: relative;
9386
9328
  clear: both;
9387
9329
  }
9388
- .input-field input, .input-field textarea {
9330
+ .input-field input:not([type=checkbox]):not([type=radio]), .input-field textarea {
9389
9331
  -webkit-box-sizing: border-box;
9390
9332
  box-sizing: border-box; /* https://stackoverflow.com/questions/1377719/padding-within-inputs-breaks-width-100*/
9391
9333
  padding: 0 16px;
@@ -9396,35 +9338,35 @@ textarea.materialize-textarea {
9396
9338
  border-bottom-left-radius: 0;
9397
9339
  border-bottom-right-radius: 0;
9398
9340
  }
9399
- .input-field input:focus:not([readonly]), .input-field textarea:focus:not([readonly]) {
9341
+ .input-field input:not([type=checkbox]):not([type=radio]):focus:not([readonly]), .input-field textarea:focus:not([readonly]) {
9400
9342
  border-bottom: 2px solid var(--input-color);
9401
9343
  padding-top: 21px;
9402
9344
  }
9403
- .input-field input:disabled, .input-field input[readonly=readonly], .input-field textarea:disabled, .input-field textarea[readonly=readonly] {
9345
+ .input-field input:not([type=checkbox]):not([type=radio]):disabled, .input-field input:not([type=checkbox]):not([type=radio])[readonly=readonly], .input-field textarea:disabled, .input-field textarea[readonly=readonly] {
9404
9346
  color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 38%);
9405
9347
  border-color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 12%);
9406
9348
  background-color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 4%);
9407
9349
  }
9408
- .input-field input:focus:not([readonly]) + label, .input-field textarea:focus:not([readonly]) + label {
9350
+ .input-field input:not([type=checkbox]):not([type=radio]):focus:not([readonly]) + label, .input-field textarea:focus:not([readonly]) + label {
9409
9351
  color: var(--input-color);
9410
9352
  }
9411
- .input-field input:not(:-moz-placeholder) + label, .input-field textarea:not(:-moz-placeholder) + label {
9353
+ .input-field input:not([type=checkbox]):not([type=radio]):not(:-moz-placeholder) + label, .input-field textarea:not(:-moz-placeholder) + label {
9412
9354
  transform: scale(0.75);
9413
9355
  top: 8px;
9414
9356
  }
9415
- .input-field input:not(:-ms-input-placeholder) + label, .input-field textarea:not(:-ms-input-placeholder) + label {
9357
+ .input-field input:not([type=checkbox]):not([type=radio]):not(:-ms-input-placeholder) + label, .input-field textarea:not(:-ms-input-placeholder) + label {
9416
9358
  transform: scale(0.75);
9417
9359
  top: 8px;
9418
9360
  }
9419
- .input-field input:focus:not([readonly]) + label, .input-field input:not([placeholder=" "]) + label, .input-field input:not(:placeholder-shown) + label, .input-field textarea:focus:not([readonly]) + label, .input-field textarea:not([placeholder=" "]) + label, .input-field textarea:not(:placeholder-shown) + label {
9361
+ .input-field input:not([type=checkbox]):not([type=radio]):focus:not([readonly]) + label, .input-field input:not([type=checkbox]):not([type=radio]):not([placeholder=" "]) + label, .input-field input:not([type=checkbox]):not([type=radio]):not(:placeholder-shown) + label, .input-field textarea:focus:not([readonly]) + label, .input-field textarea:not([placeholder=" "]) + label, .input-field textarea:not(:placeholder-shown) + label {
9420
9362
  -webkit-transform: scale(0.75);
9421
9363
  transform: scale(0.75);
9422
9364
  top: 8px;
9423
9365
  }
9424
- .input-field input:disabled + label, .input-field input[readonly=readonly] + label, .input-field textarea:disabled + label, .input-field textarea[readonly=readonly] + label {
9366
+ .input-field input:not([type=checkbox]):not([type=radio]):disabled + label, .input-field input:not([type=checkbox]):not([type=radio])[readonly=readonly] + label, .input-field textarea:disabled + label, .input-field textarea[readonly=readonly] + label {
9425
9367
  color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 38%);
9426
9368
  }
9427
- .input-field input.invalid ~ label, .input-field input:focus.invalid ~ label, .input-field textarea.invalid ~ label, .input-field textarea:focus.invalid ~ label {
9369
+ .input-field input:not([type=checkbox]):not([type=radio]).invalid ~ label, .input-field input:not([type=checkbox]):not([type=radio]):focus.invalid ~ label, .input-field textarea.invalid ~ label, .input-field textarea:focus.invalid ~ label {
9428
9370
  color: var(--md-sys-color-error);
9429
9371
  }
9430
9372
  .input-field input::-webkit-input-placeholder {
@@ -9514,49 +9456,49 @@ textarea.materialize-textarea {
9514
9456
  .input-field .prefix ~ label {
9515
9457
  left: 52px;
9516
9458
  }
9517
- .input-field.outlined input, .input-field.outlined textarea {
9459
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]), .input-field.outlined textarea {
9518
9460
  padding-top: 0;
9519
9461
  background-color: transparent;
9520
9462
  border: 1px solid var(--md-sys-color-on-surface-variant);
9521
9463
  border-radius: 4px;
9522
9464
  }
9523
- .input-field.outlined input:focus:not([readonly]), .input-field.outlined textarea:focus:not([readonly]) {
9465
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):focus:not([readonly]), .input-field.outlined textarea:focus:not([readonly]) {
9524
9466
  border: 2px solid var(--input-color);
9525
9467
  padding-top: 0;
9526
9468
  margin-left: -1px;
9527
9469
  }
9528
- .input-field.outlined input:focus:not([readonly]) + label, .input-field.outlined textarea:focus:not([readonly]) + label {
9470
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):focus:not([readonly]) + label, .input-field.outlined textarea:focus:not([readonly]) + label {
9529
9471
  color: var(--input-color);
9530
9472
  }
9531
- .input-field.outlined input:not(:-moz-placeholder) + label, .input-field.outlined textarea:not(:-moz-placeholder) + label {
9473
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):not(:-moz-placeholder) + label, .input-field.outlined textarea:not(:-moz-placeholder) + label {
9532
9474
  top: -8px;
9533
9475
  left: 16px;
9534
9476
  margin-left: -4px;
9535
9477
  padding: 0 4px;
9536
9478
  background-color: var(--md-sys-color-surface);
9537
9479
  }
9538
- .input-field.outlined input:not(:-ms-input-placeholder) + label, .input-field.outlined textarea:not(:-ms-input-placeholder) + label {
9480
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):not(:-ms-input-placeholder) + label, .input-field.outlined textarea:not(:-ms-input-placeholder) + label {
9539
9481
  top: -8px;
9540
9482
  left: 16px;
9541
9483
  margin-left: -4px;
9542
9484
  padding: 0 4px;
9543
9485
  background-color: var(--md-sys-color-surface);
9544
9486
  }
9545
- .input-field.outlined input:focus:not([readonly]) + label, .input-field.outlined input:not([placeholder=" "]) + label, .input-field.outlined input:not(:placeholder-shown) + label, .input-field.outlined textarea:focus:not([readonly]) + label, .input-field.outlined textarea:not([placeholder=" "]) + label, .input-field.outlined textarea:not(:placeholder-shown) + label {
9487
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):focus:not([readonly]) + label, .input-field.outlined input:not([type=checkbox]):not([type=radio]):not([placeholder=" "]) + label, .input-field.outlined input:not([type=checkbox]):not([type=radio]):not(:placeholder-shown) + label, .input-field.outlined textarea:focus:not([readonly]) + label, .input-field.outlined textarea:not([placeholder=" "]) + label, .input-field.outlined textarea:not(:placeholder-shown) + label {
9546
9488
  top: -8px;
9547
9489
  left: 16px;
9548
9490
  margin-left: -4px;
9549
9491
  padding: 0 4px;
9550
9492
  background-color: var(--md-sys-color-surface);
9551
9493
  }
9552
- .input-field.outlined input:disabled, .input-field.outlined input[readonly=readonly], .input-field.outlined textarea:disabled, .input-field.outlined textarea[readonly=readonly] {
9494
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):disabled, .input-field.outlined input:not([type=checkbox]):not([type=radio])[readonly=readonly], .input-field.outlined textarea:disabled, .input-field.outlined textarea[readonly=readonly] {
9553
9495
  color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 38%);
9554
9496
  border-color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 12%);
9555
9497
  }
9556
9498
  .input-field.error {
9557
9499
  background-color: transparent;
9558
9500
  }
9559
- .input-field.error input, .input-field.error textarea {
9501
+ .input-field.error input:not([type=checkbox]):not([type=radio]), .input-field.error textarea {
9560
9502
  border-color: var(--md-sys-color-error);
9561
9503
  }
9562
9504
  .input-field.error input:focus:not([readonly]), .input-field.error textarea:focus:not([readonly]) {
@@ -10323,4 +10265,64 @@ fieldset.form-field:has([required]) legend::after {
10323
10265
 
10324
10266
  fieldset.form-field:has([required]) label::after {
10325
10267
  content: " *";
10268
+ }
10269
+
10270
+ .pulse {
10271
+ overflow: visible;
10272
+ position: relative;
10273
+ &::before {
10274
+ content: "";
10275
+ display: block;
10276
+ position: absolute;
10277
+ pointer-events: none;
10278
+ width: 100%;
10279
+ height: 100%;
10280
+ top: 0;
10281
+ left: 0;
10282
+ background-color: inherit;
10283
+ border-radius: inherit;
10284
+ -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
10285
+ transition: opacity 0.3s, -webkit-transform 0.3s;
10286
+ transition: opacity 0.3s, transform 0.3s;
10287
+ transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
10288
+ -webkit-animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
10289
+ animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
10290
+ z-index: -1;
10291
+ }
10292
+ }
10293
+
10294
+ @-webkit-keyframes pulse-animation {
10295
+ 0% {
10296
+ opacity: 1;
10297
+ -webkit-transform: scale(1);
10298
+ transform: scale(1);
10299
+ }
10300
+ 50% {
10301
+ opacity: 0;
10302
+ -webkit-transform: scale(1.5);
10303
+ transform: scale(1.5);
10304
+ }
10305
+ 100% {
10306
+ opacity: 0;
10307
+ -webkit-transform: scale(1.5);
10308
+ transform: scale(1.5);
10309
+ }
10310
+ }
10311
+
10312
+ @keyframes pulse-animation {
10313
+ 0% {
10314
+ opacity: 1;
10315
+ -webkit-transform: scale(1);
10316
+ transform: scale(1);
10317
+ }
10318
+ 50% {
10319
+ opacity: 0;
10320
+ -webkit-transform: scale(1.5);
10321
+ transform: scale(1.5);
10322
+ }
10323
+ 100% {
10324
+ opacity: 0;
10325
+ -webkit-transform: scale(1.5);
10326
+ transform: scale(1.5);
10327
+ }
10326
10328
  }