mithril-materialized 3.16.0 → 3.17.0
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 +32 -2
- package/dist/advanced.css +92 -1
- package/dist/button.d.ts +3 -1
- package/dist/circular-progress.d.ts +2 -2
- package/dist/combobox.d.ts +35 -0
- package/dist/components.css +127 -14
- package/dist/core.css +278 -3
- package/dist/floating-action-button.d.ts +2 -1
- package/dist/form-section.d.ts +35 -0
- package/dist/forms.css +280 -5
- package/dist/index.css +340 -19
- package/dist/index.d.ts +3 -2
- package/dist/index.esm.js +697 -296
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +710 -295
- package/dist/index.js.map +1 -0
- package/dist/index.min.css +2 -2
- package/dist/index.umd.js +710 -295
- package/dist/index.umd.js.map +1 -0
- package/dist/input-options.d.ts +4 -1
- package/dist/likert-scale.d.ts +2 -1
- package/dist/linear-progress.d.ts +2 -2
- package/dist/material-icon.d.ts +2 -1
- package/dist/radio.d.ts +9 -0
- package/dist/range-slider.d.ts +3 -2
- package/dist/rating.d.ts +2 -1
- package/dist/search-select.d.ts +15 -2
- package/dist/select.d.ts +14 -1
- package/dist/sidenav.d.ts +6 -0
- package/dist/treeview.d.ts +2 -2
- package/dist/types.d.ts +5 -0
- package/dist/utilities.css +93 -2
- package/dist/utils.d.ts +30 -1
- package/package.json +16 -19
- package/sass/components/_badge-component.scss +8 -0
- package/sass/components/_buttons.scss +9 -9
- package/sass/components/_global.scss +93 -0
- package/sass/components/_likert-scale.scss +24 -0
- package/sass/components/_theme-variables.scss +22 -1
- package/sass/components/_toggle-group.scss +3 -0
- package/sass/components/forms/_form-groups.scss +1 -1
- package/sass/components/forms/_form-section.scss +63 -0
- package/sass/components/forms/_forms.scss +1 -0
- package/sass/components/forms/_input-fields.scss +55 -0
- package/sass/components/forms/_range-enhanced.scss +3 -3
- package/sass/components/forms/_select.scss +85 -0
package/dist/index.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
--mm-primary-color: #26a69a;
|
|
3
3
|
--mm-primary-color-light: #80cbc4;
|
|
4
4
|
--mm-primary-color-dark: #00695c;
|
|
5
|
+
--mm-range-value-text: #000000;
|
|
5
6
|
--mm-secondary-color: #ff6f00;
|
|
6
7
|
--mm-secondary-color-light: #ffa726;
|
|
7
8
|
--mm-secondary-color-dark: #ef6c00;
|
|
@@ -12,6 +13,7 @@
|
|
|
12
13
|
--mm-text-secondary: rgba(0, 0, 0, 0.6);
|
|
13
14
|
--mm-text-disabled: rgba(0, 0, 0, 0.38);
|
|
14
15
|
--mm-text-hint: rgba(0, 0, 0, 0.38);
|
|
16
|
+
--mm-error-color: #f44336;
|
|
15
17
|
--mm-border-color: rgba(0, 0, 0, 0.12);
|
|
16
18
|
--mm-divider-color: rgba(0, 0, 0, 0.12);
|
|
17
19
|
--mm-input-background: #ffffff;
|
|
@@ -36,6 +38,9 @@
|
|
|
36
38
|
--mm-shadow-umbra: rgba(0, 0, 0, 0.2);
|
|
37
39
|
--mm-shadow-penumbra: rgba(0, 0, 0, 0.14);
|
|
38
40
|
--mm-shadow-ambient: rgba(0, 0, 0, 0.12);
|
|
41
|
+
--mm-scrollbar-track-color: #f1f1f1;
|
|
42
|
+
--mm-scrollbar-thumb-color: rgba(0, 0, 0, 0.35);
|
|
43
|
+
--mm-scrollbar-thumb-hover-color: rgba(0, 0, 0, 0.5);
|
|
39
44
|
--mm-switch-checked-track: rgba(38, 166, 154, 0.3);
|
|
40
45
|
--mm-switch-checked-thumb: #26a69a;
|
|
41
46
|
--mm-switch-unchecked-track: rgba(0, 0, 0, 0.6);
|
|
@@ -59,6 +64,7 @@ body {
|
|
|
59
64
|
--mm-primary-color: #80cbc4;
|
|
60
65
|
--mm-primary-color-light: #b2dfdb;
|
|
61
66
|
--mm-primary-color-dark: #4db6ac;
|
|
67
|
+
--mm-range-value-text: #000000;
|
|
62
68
|
--mm-secondary-color: #ffa726;
|
|
63
69
|
--mm-secondary-color-light: #ffcc02;
|
|
64
70
|
--mm-secondary-color-dark: #ff8f00;
|
|
@@ -69,6 +75,7 @@ body {
|
|
|
69
75
|
--mm-text-secondary: rgba(255, 255, 255, 0.6);
|
|
70
76
|
--mm-text-disabled: rgba(255, 255, 255, 0.38);
|
|
71
77
|
--mm-text-hint: rgba(255, 255, 255, 0.38);
|
|
78
|
+
--mm-error-color: #ef5350;
|
|
72
79
|
--mm-border-color: rgba(255, 255, 255, 0.12);
|
|
73
80
|
--mm-divider-color: rgba(255, 255, 255, 0.12);
|
|
74
81
|
--mm-input-background: #2d2d2d;
|
|
@@ -94,6 +101,9 @@ body {
|
|
|
94
101
|
--mm-dropdown-selected: #1e3a8a;
|
|
95
102
|
--mm-row-hover: rgba(255, 255, 255, 0.04);
|
|
96
103
|
--mm-row-stripe: rgba(255, 255, 255, 0.02);
|
|
104
|
+
--mm-scrollbar-track-color: #1e1e1e;
|
|
105
|
+
--mm-scrollbar-thumb-color: rgba(255, 255, 255, 0.3);
|
|
106
|
+
--mm-scrollbar-thumb-hover-color: rgba(255, 255, 255, 0.45);
|
|
97
107
|
--mm-switch-checked-track: rgba(128, 203, 196, 0.3);
|
|
98
108
|
--mm-switch-checked-thumb: #80cbc4;
|
|
99
109
|
--mm-switch-unchecked-track: rgba(255, 255, 255, 0.6);
|
|
@@ -108,6 +118,7 @@ body {
|
|
|
108
118
|
--mm-primary-color: #80cbc4;
|
|
109
119
|
--mm-primary-color-light: #b2dfdb;
|
|
110
120
|
--mm-primary-color-dark: #4db6ac;
|
|
121
|
+
--mm-range-value-text: #000000;
|
|
111
122
|
--mm-secondary-color: #ffa726;
|
|
112
123
|
--mm-secondary-color-light: #ffcc02;
|
|
113
124
|
--mm-secondary-color-dark: #ff8f00;
|
|
@@ -118,6 +129,7 @@ body {
|
|
|
118
129
|
--mm-text-secondary: rgba(255, 255, 255, 0.6);
|
|
119
130
|
--mm-text-disabled: rgba(255, 255, 255, 0.38);
|
|
120
131
|
--mm-text-hint: rgba(255, 255, 255, 0.38);
|
|
132
|
+
--mm-error-color: #ef5350;
|
|
121
133
|
--mm-border-color: rgba(255, 255, 255, 0.12);
|
|
122
134
|
--mm-divider-color: rgba(255, 255, 255, 0.12);
|
|
123
135
|
--mm-input-background: #2d2d2d;
|
|
@@ -143,6 +155,9 @@ body {
|
|
|
143
155
|
--mm-switch-disabled-track: rgba(255, 255, 255, 0.2);
|
|
144
156
|
--mm-switch-disabled-thumb: #424242;
|
|
145
157
|
--mm-table-striped-color: rgba(255, 255, 255, 0.05);
|
|
158
|
+
--mm-scrollbar-track-color: #1e1e1e;
|
|
159
|
+
--mm-scrollbar-thumb-color: rgba(255, 255, 255, 0.3);
|
|
160
|
+
--mm-scrollbar-thumb-hover-color: rgba(255, 255, 255, 0.45);
|
|
146
161
|
}
|
|
147
162
|
}
|
|
148
163
|
.materialize-red {
|
|
@@ -2683,6 +2698,31 @@ html {
|
|
|
2683
2698
|
box-sizing: border-box;
|
|
2684
2699
|
}
|
|
2685
2700
|
|
|
2701
|
+
/* Default themed scrollbar styling for all scroll containers */
|
|
2702
|
+
* {
|
|
2703
|
+
scrollbar-width: thin;
|
|
2704
|
+
scrollbar-color: var(--mm-scrollbar-thumb-color, rgba(128, 128, 128, 0.35)) var(--mm-scrollbar-track-color, transparent);
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
*::-webkit-scrollbar {
|
|
2708
|
+
width: 10px;
|
|
2709
|
+
height: 10px;
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
*::-webkit-scrollbar-track {
|
|
2713
|
+
background: var(--mm-scrollbar-track-color, transparent);
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
*::-webkit-scrollbar-thumb {
|
|
2717
|
+
background-color: var(--mm-scrollbar-thumb-color, rgba(128, 128, 128, 0.35));
|
|
2718
|
+
border-radius: 8px;
|
|
2719
|
+
border: 2px solid var(--mm-scrollbar-track-color, transparent);
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
*::-webkit-scrollbar-thumb:hover {
|
|
2723
|
+
background-color: var(--mm-scrollbar-thumb-hover-color, rgba(128, 128, 128, 0.5));
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2686
2726
|
*, *:before, *:after {
|
|
2687
2727
|
box-sizing: inherit;
|
|
2688
2728
|
}
|
|
@@ -3175,7 +3215,7 @@ td, th {
|
|
|
3175
3215
|
}
|
|
3176
3216
|
.collection .collection-item.active {
|
|
3177
3217
|
background-color: #26a69a;
|
|
3178
|
-
color: rgb(
|
|
3218
|
+
color: rgb(91.862745098%, 98.137254902%, 97.5490196078%);
|
|
3179
3219
|
}
|
|
3180
3220
|
.collection .collection-item.active .secondary-content {
|
|
3181
3221
|
color: var(--mm-text-on-primary, #fff);
|
|
@@ -3304,6 +3344,72 @@ td, th {
|
|
|
3304
3344
|
/*******************
|
|
3305
3345
|
Utility Classes
|
|
3306
3346
|
*******************/
|
|
3347
|
+
.mm-layout-row {
|
|
3348
|
+
display: flex;
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
.mm-layout-row--center {
|
|
3352
|
+
align-items: center;
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
.mm-layout-row--align-end {
|
|
3356
|
+
align-items: flex-end;
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3359
|
+
.mm-layout-row--wrap {
|
|
3360
|
+
flex-wrap: wrap;
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
.mm-layout-row--justify-start {
|
|
3364
|
+
justify-content: flex-start;
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
.mm-layout-row--justify-end {
|
|
3368
|
+
justify-content: flex-end;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
.mm-layout-row--justify-between {
|
|
3372
|
+
justify-content: space-between;
|
|
3373
|
+
}
|
|
3374
|
+
|
|
3375
|
+
.mm-layout-stack {
|
|
3376
|
+
display: flex;
|
|
3377
|
+
flex-direction: column;
|
|
3378
|
+
gap: var(--mm-layout-gap, 0);
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3381
|
+
.mm-layout-cluster {
|
|
3382
|
+
display: flex;
|
|
3383
|
+
align-items: center;
|
|
3384
|
+
flex-wrap: wrap;
|
|
3385
|
+
gap: var(--mm-layout-gap, 8px);
|
|
3386
|
+
}
|
|
3387
|
+
|
|
3388
|
+
.mm-layout-grow {
|
|
3389
|
+
flex: 1 1 auto;
|
|
3390
|
+
min-width: 0;
|
|
3391
|
+
}
|
|
3392
|
+
|
|
3393
|
+
.mm-layout-ml-auto {
|
|
3394
|
+
margin-left: auto;
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3397
|
+
.mm-layout-ml-8 {
|
|
3398
|
+
margin-left: var(--mm-layout-inline-gap, 8px);
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
.mm-layout-mr-8 {
|
|
3402
|
+
margin-right: var(--mm-layout-inline-gap, 8px);
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
.mm-layout-item-icon {
|
|
3406
|
+
margin-right: var(--mm-layout-icon-gap, 32px);
|
|
3407
|
+
}
|
|
3408
|
+
|
|
3409
|
+
.mm-layout-gap-sm {
|
|
3410
|
+
gap: var(--mm-layout-gap-sm, 8px);
|
|
3411
|
+
}
|
|
3412
|
+
|
|
3307
3413
|
.hide {
|
|
3308
3414
|
display: none !important;
|
|
3309
3415
|
}
|
|
@@ -4751,7 +4857,7 @@ small {
|
|
|
4751
4857
|
text-transform: uppercase;
|
|
4752
4858
|
}
|
|
4753
4859
|
.card .card-action a:not(.btn):not(.btn-large):not(.btn-floating):hover {
|
|
4754
|
-
color: rgb(
|
|
4860
|
+
color: rgb(100%, 84.6504465661%, 65.0980392157%);
|
|
4755
4861
|
}
|
|
4756
4862
|
.card .card-reveal {
|
|
4757
4863
|
padding: 24px;
|
|
@@ -4877,7 +4983,7 @@ small {
|
|
|
4877
4983
|
text-transform: uppercase;
|
|
4878
4984
|
}
|
|
4879
4985
|
.tabs .tab a:focus, .tabs .tab a:focus.active {
|
|
4880
|
-
background-color: rgba(
|
|
4986
|
+
background-color: rgba(96.4814814815%, 69.9891067538%, 71.0239651416%, 0.2);
|
|
4881
4987
|
outline: none;
|
|
4882
4988
|
}
|
|
4883
4989
|
.tabs .tab a:hover, .tabs .tab a.active {
|
|
@@ -4903,7 +5009,7 @@ small {
|
|
|
4903
5009
|
position: absolute;
|
|
4904
5010
|
bottom: 0;
|
|
4905
5011
|
height: 2px;
|
|
4906
|
-
background-color: rgb(
|
|
5012
|
+
background-color: rgb(96.4814814815%, 69.9891067538%, 71.0239651416%);
|
|
4907
5013
|
will-change: left, right;
|
|
4908
5014
|
}
|
|
4909
5015
|
|
|
@@ -5023,24 +5129,24 @@ small {
|
|
|
5023
5129
|
|
|
5024
5130
|
.btn:focus, .btn-small:focus, .btn-large:focus,
|
|
5025
5131
|
.btn-floating:focus {
|
|
5026
|
-
background-color: rgb(
|
|
5132
|
+
background-color: var(--mm-primary-color-dark, rgb(11.1764705882%, 48.8235294118%, 45.2941176471%));
|
|
5027
5133
|
}
|
|
5028
5134
|
|
|
5029
5135
|
.btn, .btn-small, .btn-large {
|
|
5030
5136
|
text-decoration: none;
|
|
5031
|
-
color: #fff;
|
|
5032
|
-
background-color: #26a69a;
|
|
5137
|
+
color: var(--mm-button-text, #fff);
|
|
5138
|
+
background-color: var(--mm-primary-color, #26a69a);
|
|
5033
5139
|
text-align: center;
|
|
5034
5140
|
letter-spacing: 0.5px;
|
|
5035
5141
|
transition: background-color 0.2s ease-out;
|
|
5036
5142
|
cursor: pointer;
|
|
5037
5143
|
}
|
|
5038
5144
|
.btn:hover, .btn-small:hover, .btn-large:hover {
|
|
5039
|
-
background-color: rgb(
|
|
5145
|
+
background-color: var(--mm-primary-color-dark, rgb(16.7647058824%, 73.2352941176%, 67.9411764706%));
|
|
5040
5146
|
}
|
|
5041
5147
|
|
|
5042
5148
|
.btn-floating:hover {
|
|
5043
|
-
background-color: #26a69a;
|
|
5149
|
+
background-color: var(--mm-primary-color-dark, #26a69a);
|
|
5044
5150
|
}
|
|
5045
5151
|
.btn-floating:before {
|
|
5046
5152
|
border-radius: 0;
|
|
@@ -5077,7 +5183,7 @@ small {
|
|
|
5077
5183
|
}
|
|
5078
5184
|
.btn-floating {
|
|
5079
5185
|
display: inline-block;
|
|
5080
|
-
color: #fff;
|
|
5186
|
+
color: var(--mm-button-text, #fff);
|
|
5081
5187
|
position: relative;
|
|
5082
5188
|
overflow: hidden;
|
|
5083
5189
|
z-index: 1;
|
|
@@ -5085,7 +5191,7 @@ small {
|
|
|
5085
5191
|
height: 40px;
|
|
5086
5192
|
line-height: 40px;
|
|
5087
5193
|
padding: 0;
|
|
5088
|
-
background-color: #26a69a;
|
|
5194
|
+
background-color: var(--mm-primary-color, #26a69a);
|
|
5089
5195
|
border-radius: 50%;
|
|
5090
5196
|
transition: background-color 0.3s;
|
|
5091
5197
|
cursor: pointer;
|
|
@@ -5095,7 +5201,7 @@ small {
|
|
|
5095
5201
|
width: inherit;
|
|
5096
5202
|
display: inline-block;
|
|
5097
5203
|
text-align: center;
|
|
5098
|
-
color: #fff;
|
|
5204
|
+
color: var(--mm-button-text, #fff);
|
|
5099
5205
|
font-size: 1.6rem;
|
|
5100
5206
|
line-height: 40px;
|
|
5101
5207
|
}
|
|
@@ -5213,7 +5319,7 @@ button.btn-floating {
|
|
|
5213
5319
|
z-index: -1;
|
|
5214
5320
|
width: 40px;
|
|
5215
5321
|
height: 40px;
|
|
5216
|
-
background-color: #26a69a;
|
|
5322
|
+
background-color: var(--mm-primary-color, #26a69a);
|
|
5217
5323
|
border-radius: 50%;
|
|
5218
5324
|
transform: scale(0);
|
|
5219
5325
|
}
|
|
@@ -5233,7 +5339,7 @@ button.btn-floating {
|
|
|
5233
5339
|
}
|
|
5234
5340
|
.btn-flat.disabled, .btn-flat.btn-flat[disabled] {
|
|
5235
5341
|
background-color: transparent !important;
|
|
5236
|
-
color: var(--mm-text-disabled, rgb(
|
|
5342
|
+
color: var(--mm-text-disabled, rgb(70%, 70%, 70%)) !important;
|
|
5237
5343
|
cursor: default;
|
|
5238
5344
|
}
|
|
5239
5345
|
|
|
@@ -5333,7 +5439,7 @@ button.btn-floating {
|
|
|
5333
5439
|
}
|
|
5334
5440
|
|
|
5335
5441
|
body.keyboard-focused .dropdown-content li:focus {
|
|
5336
|
-
background-color: var(--mm-dropdown-focus, rgb(
|
|
5442
|
+
background-color: var(--mm-dropdown-focus, rgb(85.3333333333%, 85.3333333333%, 85.3333333333%));
|
|
5337
5443
|
}
|
|
5338
5444
|
|
|
5339
5445
|
.input-field.col .dropdown-content [type=checkbox] + label {
|
|
@@ -6052,6 +6158,51 @@ textarea.materialize-textarea::-ms-input-placeholder {
|
|
|
6052
6158
|
color: var(--mm-text-hint, #d1d1d1) !important;
|
|
6053
6159
|
}
|
|
6054
6160
|
|
|
6161
|
+
.input-field input.number-input:not(.browser-default) {
|
|
6162
|
+
-moz-appearance: textfield;
|
|
6163
|
+
padding-right: 2rem;
|
|
6164
|
+
}
|
|
6165
|
+
.input-field input.number-input:not(.browser-default)::-webkit-inner-spin-button, .input-field input.number-input:not(.browser-default)::-webkit-outer-spin-button {
|
|
6166
|
+
-webkit-appearance: none;
|
|
6167
|
+
margin: 0;
|
|
6168
|
+
}
|
|
6169
|
+
.input-field .number-input-controls {
|
|
6170
|
+
position: absolute;
|
|
6171
|
+
top: 0;
|
|
6172
|
+
right: 0;
|
|
6173
|
+
display: flex;
|
|
6174
|
+
flex-direction: column;
|
|
6175
|
+
justify-content: center;
|
|
6176
|
+
height: 3rem;
|
|
6177
|
+
}
|
|
6178
|
+
.input-field .number-input-control {
|
|
6179
|
+
display: flex;
|
|
6180
|
+
align-items: center;
|
|
6181
|
+
justify-content: center;
|
|
6182
|
+
width: 1.75rem;
|
|
6183
|
+
height: 1.5rem;
|
|
6184
|
+
padding: 0;
|
|
6185
|
+
border: 0;
|
|
6186
|
+
border-radius: 2px;
|
|
6187
|
+
background: transparent;
|
|
6188
|
+
color: var(--mm-button-flat-text, #ee6e73);
|
|
6189
|
+
cursor: pointer;
|
|
6190
|
+
line-height: 1;
|
|
6191
|
+
}
|
|
6192
|
+
.input-field .number-input-control:hover {
|
|
6193
|
+
background-color: var(--mm-primary-color-alpha-10, rgba(38, 166, 154, 0.1));
|
|
6194
|
+
}
|
|
6195
|
+
.input-field .number-input-control:focus-visible {
|
|
6196
|
+
outline: 2px solid var(--mm-primary-color, #ee6e73);
|
|
6197
|
+
outline-offset: -2px;
|
|
6198
|
+
}
|
|
6199
|
+
.input-field .number-input-control svg {
|
|
6200
|
+
font-size: 1.25rem;
|
|
6201
|
+
line-height: 1;
|
|
6202
|
+
width: 1.25rem;
|
|
6203
|
+
height: 1.25rem;
|
|
6204
|
+
}
|
|
6205
|
+
|
|
6055
6206
|
/* Validation Sass Placeholders */
|
|
6056
6207
|
.select-wrapper.valid > input.select-dropdown, input:not([type]):not(.browser-default).valid:not([readonly]):not([disabled]), input:not([type]):not(.browser-default):focus.valid:not([readonly]):not([disabled]),
|
|
6057
6208
|
input[type=text]:not(.browser-default).valid:not([readonly]):not([disabled]),
|
|
@@ -6750,7 +6901,7 @@ textarea.materialize-textarea {
|
|
|
6750
6901
|
height: 0;
|
|
6751
6902
|
}
|
|
6752
6903
|
.switch label input[type=checkbox]:checked + .lever {
|
|
6753
|
-
background-color: var(--mm-switch-checked-track, rgb(
|
|
6904
|
+
background-color: var(--mm-switch-checked-track, rgb(51.7892156863%, 78.2107843137%, 75.7337622549%));
|
|
6754
6905
|
}
|
|
6755
6906
|
.switch label input[type=checkbox]:checked + .lever:before, .switch label input[type=checkbox]:checked + .lever:after {
|
|
6756
6907
|
left: 18px;
|
|
@@ -6904,6 +7055,63 @@ select:disabled {
|
|
|
6904
7055
|
user-select: none;
|
|
6905
7056
|
}
|
|
6906
7057
|
|
|
7058
|
+
.input-field.select-space.select-appearance-outlined {
|
|
7059
|
+
position: relative;
|
|
7060
|
+
}
|
|
7061
|
+
.input-field.select-space.select-appearance-outlined > i.prefix.material-icons {
|
|
7062
|
+
position: absolute;
|
|
7063
|
+
left: 24px;
|
|
7064
|
+
top: 50%;
|
|
7065
|
+
transform: translateY(-50%);
|
|
7066
|
+
margin: 0;
|
|
7067
|
+
z-index: 2;
|
|
7068
|
+
pointer-events: none;
|
|
7069
|
+
}
|
|
7070
|
+
.input-field.select-space.select-appearance-outlined > i.prefix.material-icons + .select-wrapper {
|
|
7071
|
+
padding-left: 54px;
|
|
7072
|
+
}
|
|
7073
|
+
.input-field.select-space.select-appearance-outlined > i.prefix ~ .select-wrapper {
|
|
7074
|
+
margin-left: 0;
|
|
7075
|
+
width: 100%;
|
|
7076
|
+
}
|
|
7077
|
+
.input-field.select-space.select-appearance-outlined .select-wrapper {
|
|
7078
|
+
border: 1px solid var(--mm-input-border, #9e9e9e);
|
|
7079
|
+
border-radius: 8px;
|
|
7080
|
+
background-color: var(--mm-surface-color, transparent);
|
|
7081
|
+
padding: 0 12px;
|
|
7082
|
+
min-height: var(--mm-input-height, 3rem);
|
|
7083
|
+
display: flex;
|
|
7084
|
+
align-items: center;
|
|
7085
|
+
overflow: visible;
|
|
7086
|
+
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
7087
|
+
}
|
|
7088
|
+
.input-field.select-space.select-appearance-outlined .select-wrapper:focus-within {
|
|
7089
|
+
border-color: var(--mm-primary-color, #2196f3);
|
|
7090
|
+
box-shadow: 0 0 0 1px var(--mm-primary-color, #2196f3);
|
|
7091
|
+
}
|
|
7092
|
+
.input-field.select-space.select-appearance-outlined .select-wrapper input.select-dropdown {
|
|
7093
|
+
border-bottom: none;
|
|
7094
|
+
margin: 0;
|
|
7095
|
+
width: auto;
|
|
7096
|
+
flex: 1 1 auto;
|
|
7097
|
+
height: var(--mm-input-height, 3rem);
|
|
7098
|
+
line-height: var(--mm-input-height, 3rem);
|
|
7099
|
+
padding-right: 24px;
|
|
7100
|
+
}
|
|
7101
|
+
.input-field.select-space.select-appearance-outlined .select-wrapper .select-inline-label {
|
|
7102
|
+
color: var(--mm-text-hint, #9e9e9e);
|
|
7103
|
+
font-size: 16px;
|
|
7104
|
+
margin-right: 8px;
|
|
7105
|
+
white-space: nowrap;
|
|
7106
|
+
flex: 0 0 auto;
|
|
7107
|
+
pointer-events: none;
|
|
7108
|
+
}
|
|
7109
|
+
.input-field.select-space.select-appearance-outlined .select-wrapper .caret {
|
|
7110
|
+
right: 10px;
|
|
7111
|
+
z-index: 2;
|
|
7112
|
+
pointer-events: none;
|
|
7113
|
+
}
|
|
7114
|
+
|
|
6907
7115
|
.select-wrapper i {
|
|
6908
7116
|
color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
|
|
6909
7117
|
}
|
|
@@ -7022,6 +7230,24 @@ body.keyboard-focused .select-dropdown.dropdown-content li:focus {
|
|
|
7022
7230
|
cursor: default;
|
|
7023
7231
|
}
|
|
7024
7232
|
|
|
7233
|
+
.search-select-loading-info,
|
|
7234
|
+
.search-select-error-info {
|
|
7235
|
+
padding: 8px 16px;
|
|
7236
|
+
color: var(--mm-text-hint, #9e9e9e);
|
|
7237
|
+
font-style: italic;
|
|
7238
|
+
text-align: center;
|
|
7239
|
+
border-bottom: none;
|
|
7240
|
+
}
|
|
7241
|
+
.search-select-loading-info:hover,
|
|
7242
|
+
.search-select-error-info:hover {
|
|
7243
|
+
background-color: transparent;
|
|
7244
|
+
cursor: default;
|
|
7245
|
+
}
|
|
7246
|
+
|
|
7247
|
+
.dropdown-content li.search-select-error-info {
|
|
7248
|
+
color: var(--mm-error-color, #f44336) !important;
|
|
7249
|
+
}
|
|
7250
|
+
|
|
7025
7251
|
.search-select-option-label {
|
|
7026
7252
|
display: flex;
|
|
7027
7253
|
align-items: center;
|
|
@@ -7294,7 +7520,7 @@ input[type=range]::-ms-thumb {
|
|
|
7294
7520
|
/* Create columns that are at least 150px wide and fill the available space */
|
|
7295
7521
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
7296
7522
|
/* Add space between grid items */
|
|
7297
|
-
gap: 15px;
|
|
7523
|
+
gap: var(--mm-layout-gap-form, 15px);
|
|
7298
7524
|
padding-top: 10px;
|
|
7299
7525
|
padding-bottom: 20px;
|
|
7300
7526
|
}
|
|
@@ -7313,6 +7539,70 @@ input[type=range]::-ms-thumb {
|
|
|
7313
7539
|
text-align: initial;
|
|
7314
7540
|
}
|
|
7315
7541
|
|
|
7542
|
+
.mm-fieldset {
|
|
7543
|
+
border: 1px solid var(--mm-border-color);
|
|
7544
|
+
border-radius: 4px;
|
|
7545
|
+
margin: 0 0 1.5rem;
|
|
7546
|
+
padding: 1rem;
|
|
7547
|
+
}
|
|
7548
|
+
|
|
7549
|
+
.mm-fieldset__legend {
|
|
7550
|
+
font-size: 1rem;
|
|
7551
|
+
font-weight: 500;
|
|
7552
|
+
padding: 0 0.35rem;
|
|
7553
|
+
}
|
|
7554
|
+
|
|
7555
|
+
.mm-fieldset__required,
|
|
7556
|
+
.mm-fieldset__error,
|
|
7557
|
+
.mm-validation-summary {
|
|
7558
|
+
color: var(--mm-error-color);
|
|
7559
|
+
}
|
|
7560
|
+
|
|
7561
|
+
.mm-fieldset__description,
|
|
7562
|
+
.mm-form-section__description {
|
|
7563
|
+
color: var(--mm-text-secondary);
|
|
7564
|
+
margin: 0 0 1rem;
|
|
7565
|
+
}
|
|
7566
|
+
|
|
7567
|
+
.mm-fieldset__error {
|
|
7568
|
+
margin: 0.75rem 0 0;
|
|
7569
|
+
}
|
|
7570
|
+
|
|
7571
|
+
.mm-form-section {
|
|
7572
|
+
margin-bottom: 2rem;
|
|
7573
|
+
}
|
|
7574
|
+
|
|
7575
|
+
.mm-form-section__header {
|
|
7576
|
+
margin-bottom: 1rem;
|
|
7577
|
+
}
|
|
7578
|
+
|
|
7579
|
+
.mm-form-section__title {
|
|
7580
|
+
font-size: 1.3rem;
|
|
7581
|
+
margin: 0 0 0.4rem;
|
|
7582
|
+
}
|
|
7583
|
+
|
|
7584
|
+
.mm-validation-summary {
|
|
7585
|
+
background: color-mix(in srgb, var(--mm-error-color) 10%, transparent);
|
|
7586
|
+
border-left: 4px solid var(--mm-error-color);
|
|
7587
|
+
margin: 0 0 1.25rem;
|
|
7588
|
+
padding: 0.8rem 1rem;
|
|
7589
|
+
}
|
|
7590
|
+
|
|
7591
|
+
.mm-validation-summary__title {
|
|
7592
|
+
font-weight: 600;
|
|
7593
|
+
margin: 0 0 0.4rem;
|
|
7594
|
+
}
|
|
7595
|
+
|
|
7596
|
+
.mm-validation-summary__list {
|
|
7597
|
+
margin: 0;
|
|
7598
|
+
padding-left: 1.2rem;
|
|
7599
|
+
}
|
|
7600
|
+
|
|
7601
|
+
.mm-validation-summary a {
|
|
7602
|
+
color: inherit;
|
|
7603
|
+
text-decoration: underline;
|
|
7604
|
+
}
|
|
7605
|
+
|
|
7316
7606
|
/* Enhanced Range Sliders
|
|
7317
7607
|
========================================================================== */
|
|
7318
7608
|
.range-slider.vertical {
|
|
@@ -7428,7 +7718,7 @@ input[type=range]::-ms-thumb {
|
|
|
7428
7718
|
.single-range-slider .thumb .value-tooltip {
|
|
7429
7719
|
position: absolute;
|
|
7430
7720
|
background: var(--mm-primary-color, #26a69a);
|
|
7431
|
-
color:
|
|
7721
|
+
color: var(--mm-range-value-text, #000);
|
|
7432
7722
|
padding: 4px 8px;
|
|
7433
7723
|
border-radius: 4px;
|
|
7434
7724
|
font-size: 12px;
|
|
@@ -7583,7 +7873,7 @@ input[type=range]::-ms-thumb {
|
|
|
7583
7873
|
.double-range-slider .thumb .value {
|
|
7584
7874
|
position: absolute;
|
|
7585
7875
|
background: var(--mm-primary-color, #26a69a);
|
|
7586
|
-
color:
|
|
7876
|
+
color: var(--mm-range-value-text, #000);
|
|
7587
7877
|
padding: 2px 6px;
|
|
7588
7878
|
border-radius: 4px;
|
|
7589
7879
|
font-size: 12px;
|
|
@@ -12090,6 +12380,14 @@ body.dark {
|
|
|
12090
12380
|
line-height: 1.3;
|
|
12091
12381
|
}
|
|
12092
12382
|
|
|
12383
|
+
.likert-scale__item-anchor {
|
|
12384
|
+
margin-left: 12px;
|
|
12385
|
+
font-size: 0.875rem;
|
|
12386
|
+
color: var(--mm-text-secondary, rgba(0, 0, 0, 0.54));
|
|
12387
|
+
line-height: 1.2;
|
|
12388
|
+
text-align: left;
|
|
12389
|
+
}
|
|
12390
|
+
|
|
12093
12391
|
.likert-scale__scale-container {
|
|
12094
12392
|
flex: 0 0 auto;
|
|
12095
12393
|
display: flex;
|
|
@@ -12291,9 +12589,13 @@ body.dark {
|
|
|
12291
12589
|
.likert-scale--vertical .likert-scale__item {
|
|
12292
12590
|
flex-direction: row;
|
|
12293
12591
|
justify-content: flex-start;
|
|
12592
|
+
align-items: center;
|
|
12294
12593
|
padding: 4px 0;
|
|
12295
12594
|
width: 100%;
|
|
12296
12595
|
}
|
|
12596
|
+
.likert-scale--vertical .likert-scale__item:hover:not(.likert-scale__item--disabled):not(.likert-scale__item--readonly) {
|
|
12597
|
+
transform: none;
|
|
12598
|
+
}
|
|
12297
12599
|
.likert-scale--vertical .likert-scale__number {
|
|
12298
12600
|
margin-bottom: 0;
|
|
12299
12601
|
margin-right: 12px;
|
|
@@ -12339,9 +12641,13 @@ body.dark {
|
|
|
12339
12641
|
.likert-scale--responsive .likert-scale__item {
|
|
12340
12642
|
flex-direction: row;
|
|
12341
12643
|
justify-content: flex-start;
|
|
12644
|
+
align-items: center;
|
|
12342
12645
|
padding: 4px 0;
|
|
12343
12646
|
width: 100%;
|
|
12344
12647
|
}
|
|
12648
|
+
.likert-scale--responsive .likert-scale__item:hover:not(.likert-scale__item--disabled):not(.likert-scale__item--readonly) {
|
|
12649
|
+
transform: none;
|
|
12650
|
+
}
|
|
12345
12651
|
.likert-scale--responsive .likert-scale__number {
|
|
12346
12652
|
margin-bottom: 0;
|
|
12347
12653
|
margin-right: 12px;
|
|
@@ -12447,6 +12753,11 @@ body.dark {
|
|
|
12447
12753
|
min-height: 48px;
|
|
12448
12754
|
}
|
|
12449
12755
|
}
|
|
12756
|
+
[dir=rtl] .likert-scale__item-anchor {
|
|
12757
|
+
margin-left: 0;
|
|
12758
|
+
margin-right: 12px;
|
|
12759
|
+
text-align: right;
|
|
12760
|
+
}
|
|
12450
12761
|
[dir=rtl] .likert-scale__tooltip::after {
|
|
12451
12762
|
transform: translateX(50%);
|
|
12452
12763
|
}
|
|
@@ -12497,6 +12808,9 @@ body.dark {
|
|
|
12497
12808
|
border: 1px solid var(--mm-border-color, #e0e0e0);
|
|
12498
12809
|
}
|
|
12499
12810
|
.toggle-group .toggle-button {
|
|
12811
|
+
display: inline-flex;
|
|
12812
|
+
align-items: center;
|
|
12813
|
+
justify-content: center;
|
|
12500
12814
|
margin: 0;
|
|
12501
12815
|
border-radius: 0;
|
|
12502
12816
|
border-right: 1px solid var(--mm-border-color, #e0e0e0);
|
|
@@ -13003,6 +13317,13 @@ body.dark {
|
|
|
13003
13317
|
flex-shrink: 0;
|
|
13004
13318
|
}
|
|
13005
13319
|
|
|
13320
|
+
.badge-showcase {
|
|
13321
|
+
display: flex;
|
|
13322
|
+
align-items: center;
|
|
13323
|
+
flex-wrap: wrap;
|
|
13324
|
+
gap: var(--mm-badge-showcase-gap, 20px);
|
|
13325
|
+
}
|
|
13326
|
+
|
|
13006
13327
|
.m-badge {
|
|
13007
13328
|
position: absolute;
|
|
13008
13329
|
display: flex;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './carousel';
|
|
|
6
6
|
export * from './chip';
|
|
7
7
|
export * from './code-block';
|
|
8
8
|
export * from './collapsible';
|
|
9
|
+
export * from './combobox';
|
|
9
10
|
export * from './collection';
|
|
10
11
|
export * from './datepicker';
|
|
11
12
|
export * from './datatable';
|
|
@@ -22,7 +23,6 @@ export * from './modal';
|
|
|
22
23
|
export * from './option';
|
|
23
24
|
export * from './pagination';
|
|
24
25
|
export * from './parallax';
|
|
25
|
-
export * from './datepicker';
|
|
26
26
|
export * from './timepicker';
|
|
27
27
|
export * from './pushpin';
|
|
28
28
|
export * from './radio';
|
|
@@ -30,7 +30,6 @@ export * from './select';
|
|
|
30
30
|
export * from './switch';
|
|
31
31
|
export * from './tabs';
|
|
32
32
|
export * from './search-select';
|
|
33
|
-
export * from './timepicker';
|
|
34
33
|
export { TimeRangePicker } from './time-range-picker';
|
|
35
34
|
export type { TimeRangePickerAttrs } from './time-range-picker';
|
|
36
35
|
export * from './digital-clock';
|
|
@@ -41,6 +40,7 @@ export * from './tooltip';
|
|
|
41
40
|
export * from './utils';
|
|
42
41
|
export * from './theme-switcher';
|
|
43
42
|
export * from './file-upload';
|
|
43
|
+
export * from './form-section';
|
|
44
44
|
export * from './sidenav';
|
|
45
45
|
export * from './breadcrumb';
|
|
46
46
|
export * from './wizard';
|
|
@@ -51,6 +51,7 @@ export * from './image-list';
|
|
|
51
51
|
export * from './rating';
|
|
52
52
|
export * from './likert-scale';
|
|
53
53
|
export * from './toggle-group';
|
|
54
|
+
export * from './toggle-button';
|
|
54
55
|
export * from './circular-progress';
|
|
55
56
|
export * from './linear-progress';
|
|
56
57
|
export * from './types';
|