@muibook/components 4.0.0 → 5.1.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 → README.md} +2 -0
- package/dist/esm/components/mui-accordion/block/index.js +29 -23
- package/dist/esm/components/mui-accordion/core/index.js +35 -26
- package/dist/esm/components/mui-accordion/group/index.js +7 -7
- package/dist/esm/components/mui-accordion/inline/index.js +12 -6
- package/dist/esm/components/mui-button/index.js +52 -22
- package/dist/esm/components/mui-dialog/index.js +103 -0
- package/dist/esm/components/mui-drawer/index.js +393 -0
- package/dist/esm/components/mui-dropdown/index.js +172 -0
- package/dist/esm/components/mui-icons/add/index.js +3 -3
- package/dist/esm/components/mui-icons/calendar/index.js +55 -0
- package/dist/esm/components/mui-icons/close/index.js +1 -1
- package/dist/esm/components/mui-icons/down-arrow-circle/index.js +1 -1
- package/dist/esm/components/mui-icons/down-chevron/index.js +1 -1
- package/dist/esm/components/mui-icons/ellipsis/index.js +1 -1
- package/dist/esm/components/mui-icons/gear/index.js +8 -8
- package/dist/esm/components/mui-icons/globe/index.js +3 -3
- package/dist/esm/components/mui-icons/grid/index.js +1 -1
- package/dist/esm/components/mui-icons/index.js +1 -0
- package/dist/esm/components/mui-icons/info/index.js +3 -3
- package/dist/esm/components/mui-icons/left-arrow/index.js +1 -1
- package/dist/esm/components/mui-icons/left-chevron/index.js +1 -1
- package/dist/esm/components/mui-icons/left-sidebar/index.js +1 -1
- package/dist/esm/components/mui-icons/moon/index.js +1 -1
- package/dist/esm/components/mui-icons/notification/index.js +1 -1
- package/dist/esm/components/mui-icons/right-chevron/index.js +1 -1
- package/dist/esm/components/mui-icons/stop/index.js +1 -1
- package/dist/esm/components/mui-icons/subtract/index.js +1 -1
- package/dist/esm/components/mui-icons/sun/index.js +1 -1
- package/dist/esm/components/mui-icons/translate/index.js +53 -0
- package/dist/esm/components/mui-icons/up-arrow/index.js +3 -3
- package/dist/esm/components/mui-icons/up-chevron/index.js +1 -1
- package/dist/esm/components/mui-link/index.js +39 -33
- package/dist/esm/components/mui-loader/index.js +99 -0
- package/dist/esm/components/mui-progress/index.js +75 -0
- package/dist/esm/components/mui-stepper/index.js +2 -0
- package/dist/esm/components/mui-stepper/step/index.js +157 -0
- package/dist/esm/components/mui-stepper/stepper/index.js +95 -0
- package/dist/esm/css/mui-tokens.css +47 -2
- package/dist/esm/index.js +13 -4
- package/dist/types/components/mui-dialog/index.d.ts +2 -0
- package/dist/types/components/mui-drawer/index.d.ts +2 -0
- package/dist/types/components/mui-dropdown/index.d.ts +1 -0
- package/dist/types/components/mui-icons/calendar.d.ts +1 -0
- package/dist/types/components/mui-icons/index.d.ts +1 -0
- package/dist/types/components/mui-icons/translate.d.ts +1 -0
- package/dist/types/components/mui-loader/index.d.ts +1 -0
- package/dist/types/components/mui-progress/index.d.ts +1 -0
- package/dist/types/components/mui-stepper/index.d.ts +2 -0
- package/dist/types/components/mui-stepper/step/index.d.ts +1 -0
- package/dist/types/components/mui-stepper/stepper/index.d.ts +1 -0
- package/dist/types/index.d.ts +9 -0
- package/package.json +41 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
class o extends HTMLElement {
|
|
2
|
+
static get observedAttributes() {
|
|
3
|
+
return ["progress", "state"];
|
|
4
|
+
}
|
|
5
|
+
constructor() {
|
|
6
|
+
super(), this.attachShadow({ mode: "open" });
|
|
7
|
+
}
|
|
8
|
+
connectedCallback() {
|
|
9
|
+
this.render();
|
|
10
|
+
}
|
|
11
|
+
attributeChangedCallback() {
|
|
12
|
+
this.render();
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
const a = Math.min(Math.max(Number(this.getAttribute("progress") || 0), 0), 100), e = this.getAttribute("state");
|
|
16
|
+
let r = `${a}%`, s = "none", t = "";
|
|
17
|
+
e === "syncing" ? (r = "30%", s = "slideAnim calc(var(--speed-400) * 4) linear infinite") : e === "pending" && (r = "100%", s = "zebraAnim calc(var(--speed-300) * 4) linear infinite", t = `
|
|
18
|
+
background-image: repeating-linear-gradient(
|
|
19
|
+
45deg,
|
|
20
|
+
var(--progress-loading-bar-100) 0,
|
|
21
|
+
var(--progress-loading-bar-100) 10px,
|
|
22
|
+
var(--progress-loading-bar-200) 10px,
|
|
23
|
+
var(--progress-loading-bar-200) 20px
|
|
24
|
+
);
|
|
25
|
+
background-size: 200% 100%;
|
|
26
|
+
`);
|
|
27
|
+
const i = (
|
|
28
|
+
/*css*/
|
|
29
|
+
`
|
|
30
|
+
:host {
|
|
31
|
+
display: block;
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
.progress-container {
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: var(--space-300);
|
|
37
|
+
background-color: var(--progress-track-background);
|
|
38
|
+
border-radius: var(--space-300);
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
position: relative;
|
|
41
|
+
}
|
|
42
|
+
.progress-bar {
|
|
43
|
+
height: 100%;
|
|
44
|
+
width: ${r};
|
|
45
|
+
background-color: var(--progress-bar-background);
|
|
46
|
+
border-radius: var(--space-300) 0 0 var(--space-300);
|
|
47
|
+
position: absolute;
|
|
48
|
+
left: 0;
|
|
49
|
+
top: 0;
|
|
50
|
+
transition: ${e ? "none" : "width var(--speed-300) ease"};
|
|
51
|
+
animation: ${s};
|
|
52
|
+
${t}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@keyframes slideAnim {
|
|
56
|
+
0% { left: -30%; }
|
|
57
|
+
100% { left: 100%; }
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@keyframes zebraAnim {
|
|
61
|
+
0% { background-position: 0 0; }
|
|
62
|
+
100% { background-position: 40px 0; }
|
|
63
|
+
}
|
|
64
|
+
`
|
|
65
|
+
);
|
|
66
|
+
this.shadowRoot.innerHTML = /*html*/
|
|
67
|
+
`
|
|
68
|
+
<style>${i}</style>
|
|
69
|
+
<div class="progress-container">
|
|
70
|
+
<div class="progress-bar"></div>
|
|
71
|
+
</div>
|
|
72
|
+
`;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
customElements.get("mui-progress") || customElements.define("mui-progress", o);
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
class s extends HTMLElement {
|
|
2
|
+
static get observedAttributes() {
|
|
3
|
+
return ["state", "title", "direction"];
|
|
4
|
+
}
|
|
5
|
+
constructor() {
|
|
6
|
+
super(), this.attachShadow({ mode: "open" });
|
|
7
|
+
}
|
|
8
|
+
connectedCallback() {
|
|
9
|
+
this.render();
|
|
10
|
+
}
|
|
11
|
+
attributeChangedCallback() {
|
|
12
|
+
this.render();
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
if (!this.shadowRoot) return;
|
|
16
|
+
const o = this.getAttribute("state") || "upcoming", t = this.getAttribute("direction") || "horizontal", n = this.getAttribute("title") || "", i = `
|
|
17
|
+
<div class="content">
|
|
18
|
+
<mui-body
|
|
19
|
+
size="small"
|
|
20
|
+
${o === "active" ? "weight='bold'" : ""}
|
|
21
|
+
class="${o === "active" ? "active" : ""}"
|
|
22
|
+
>
|
|
23
|
+
${n}
|
|
24
|
+
</mui-body>
|
|
25
|
+
<slot name="secondary"></slot>
|
|
26
|
+
</div>
|
|
27
|
+
`, r = `
|
|
28
|
+
<div class="dotwrapper">
|
|
29
|
+
<div class="dot ${o}"></div>
|
|
30
|
+
${t === "horizontal" ? `<div class="line before ${t}"></div><div class="line after ${t}"></div>` : ""}
|
|
31
|
+
</div>
|
|
32
|
+
`, a = t === "horizontal" ? i + r : r + i, e = " 1.8rem";
|
|
33
|
+
this.shadowRoot.innerHTML = /*html*/
|
|
34
|
+
`
|
|
35
|
+
<style>
|
|
36
|
+
:host {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: ${t === "horizontal" ? "column" : "row"};
|
|
39
|
+
align-items: ${t === "horizontal" ? "center" : "flex-start"};
|
|
40
|
+
flex: 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.dotwrapper {
|
|
44
|
+
position: relative; /* anchor for lines */
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center; /* keeps dot centered */
|
|
48
|
+
width: ${t === "horizontal" ? "100%" : "auto"};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* .dot stays unchanged */
|
|
52
|
+
.dot {
|
|
53
|
+
width: ${e};
|
|
54
|
+
height: ${e};
|
|
55
|
+
border-radius: 50%;
|
|
56
|
+
box-shadow: inset 0 0 0 var(--stroke-size-200) var(--stepper-border-color);
|
|
57
|
+
background: var(--stepper-background-inactive);
|
|
58
|
+
z-index: 1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.dot.completed {
|
|
62
|
+
background: var(--stepper-background-active);
|
|
63
|
+
}
|
|
64
|
+
.dot.active {
|
|
65
|
+
background: var(--stepper-background-active);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.line {
|
|
69
|
+
position: absolute;
|
|
70
|
+
background: var(--stepper-color);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.line.before.horizontal {
|
|
74
|
+
top: 50%;
|
|
75
|
+
left: 0%;
|
|
76
|
+
width: 50%;
|
|
77
|
+
height: var(--stroke-size-200);
|
|
78
|
+
transform: translateY(-50%);
|
|
79
|
+
}
|
|
80
|
+
.line.after.horizontal {
|
|
81
|
+
top: 50%;
|
|
82
|
+
right: 0%;
|
|
83
|
+
width: 50%;
|
|
84
|
+
height: var(--stroke-size-200);
|
|
85
|
+
transform: translateY(-50%);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:host([position="first"]) .line.before {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
:host([position="last"]) .line.after {
|
|
92
|
+
display: none;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
.content {
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host([direction="horizontal"]) .content {
|
|
102
|
+
margin-bottom: var(--space-200);
|
|
103
|
+
align-items: center;
|
|
104
|
+
text-align: center;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:host([direction="vertical"]) .content {
|
|
108
|
+
margin-left: calc( -1 * ((${e} / 2) + var(--stroke-size-100)));
|
|
109
|
+
padding-left: ${e};
|
|
110
|
+
padding-bottom: ${e};
|
|
111
|
+
align-items: start;
|
|
112
|
+
text-align: left;
|
|
113
|
+
position: relative;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
:host([direction="vertical"]) .content:before {
|
|
117
|
+
content: "";
|
|
118
|
+
width: var(--stroke-size-200);
|
|
119
|
+
height: 100%;
|
|
120
|
+
position: absolute;
|
|
121
|
+
background: var(--stepper-border-color);
|
|
122
|
+
margin-left: calc(-1 * ${e});
|
|
123
|
+
height: calc(100% - ${e});
|
|
124
|
+
bottom: calc(-1 * var(--stroke-size-100));
|
|
125
|
+
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
:host([direction="vertical"][position="last"]) .content:before {
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
:host([direction="vertical"][position="last"]) .content {
|
|
133
|
+
border-color: transparent;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:host([direction="vertical"]) .dotwrapper {
|
|
138
|
+
margin-top: var(--stroke-size-200);
|
|
139
|
+
margin-bottom: var(--stroke-size-100);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.title[active] {
|
|
143
|
+
font-weight: bold;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
mui-body.active::part(color) {
|
|
147
|
+
color: var(--stepper-text-color-active);;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
</style>
|
|
151
|
+
|
|
152
|
+
${a}
|
|
153
|
+
|
|
154
|
+
`;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
customElements.get("mui-step") || customElements.define("mui-step", s);
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
class n extends HTMLElement {
|
|
2
|
+
static get observedAttributes() {
|
|
3
|
+
return ["direction", "active-step"];
|
|
4
|
+
}
|
|
5
|
+
constructor() {
|
|
6
|
+
super(), this.attachShadow({ mode: "open" }), this.setAttribute("direction", this.getAttribute("direction") || "horizontal"), this.setAttribute("active-step", this.getAttribute("active-step") || "0");
|
|
7
|
+
}
|
|
8
|
+
connectedCallback() {
|
|
9
|
+
this.render();
|
|
10
|
+
}
|
|
11
|
+
attributeChangedCallback(t, e, i) {
|
|
12
|
+
(t === "direction" || t === "active-step") && this.render();
|
|
13
|
+
}
|
|
14
|
+
get steps() {
|
|
15
|
+
var e;
|
|
16
|
+
const t = (e = this.shadowRoot) == null ? void 0 : e.querySelector("slot");
|
|
17
|
+
return (t == null ? void 0 : t.assignedElements()) || [];
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
if (!this.shadowRoot) return;
|
|
21
|
+
const t = this.getAttribute("direction") || "horizontal", e = parseInt(this.getAttribute("active-step") || "0", 10);
|
|
22
|
+
this.shadowRoot.innerHTML = /*html*/
|
|
23
|
+
`
|
|
24
|
+
<style>
|
|
25
|
+
:host {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: ${t === "horizontal" ? "row" : "column"};
|
|
28
|
+
${t === "horizontal" ? "justify-content: space-between;" : ""}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.step {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: ${t === "horizontal" ? "column" : "row"};
|
|
34
|
+
align-items: center;
|
|
35
|
+
position: relative;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.dot {
|
|
39
|
+
width: 1.25rem;
|
|
40
|
+
height: 1.25rem;
|
|
41
|
+
border-radius: 50%;
|
|
42
|
+
border: 2px solid var(--color-border, #ccc);
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
background: var(--color-bg, #fff);
|
|
47
|
+
flex-shrink: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.dot.completed {
|
|
51
|
+
background: var(--color-success, #4caf50);
|
|
52
|
+
border-color: var(--color-success, #4caf50);
|
|
53
|
+
}
|
|
54
|
+
.dot.active {
|
|
55
|
+
border-color: var(--color-primary, #1976d2);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.title {
|
|
59
|
+
margin-top: ${t === "horizontal" ? "var(--space-200)" : "0"};
|
|
60
|
+
margin-left: ${t === "vertical" ? "var(--space-200)" : "0"};
|
|
61
|
+
text-align: ${t === "horizontal" ? "center" : "left"};
|
|
62
|
+
}
|
|
63
|
+
.title mui-body[active] {
|
|
64
|
+
font-weight: bold;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.connector {
|
|
68
|
+
position: absolute;
|
|
69
|
+
background: red;
|
|
70
|
+
}
|
|
71
|
+
.connector.horizontal {
|
|
72
|
+
top: 0.625rem;
|
|
73
|
+
left: 100%;
|
|
74
|
+
width: var(--space-400);
|
|
75
|
+
height: 2px;
|
|
76
|
+
}
|
|
77
|
+
.connector.vertical {
|
|
78
|
+
left: 0.625rem;
|
|
79
|
+
top: 100%;
|
|
80
|
+
height: var(--space-400);
|
|
81
|
+
width: 2px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
</style>
|
|
85
|
+
|
|
86
|
+
<slot></slot>
|
|
87
|
+
`;
|
|
88
|
+
const i = e - 1, s = this.steps;
|
|
89
|
+
s.forEach((r, o) => {
|
|
90
|
+
const c = o < i ? "completed" : o === i ? "active" : "upcoming";
|
|
91
|
+
r.setAttribute("state", c), r.setAttribute("direction", t), r.setAttribute("position", o === 0 ? "first" : o === s.length - 1 ? "last" : "middle");
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
customElements.get("mui-stepper") || customElements.define("mui-stepper", n);
|
|
@@ -272,7 +272,7 @@ html[data-theme="light"] {
|
|
|
272
272
|
--action-secondary-border-color: var(--grey-800);
|
|
273
273
|
--action-secondary-border-color-hover: var(--grey-800);
|
|
274
274
|
--action-secondary-border-color-focus: var(--grey-800);
|
|
275
|
-
--action-secondary-border-color-disabled: var(--grey-
|
|
275
|
+
--action-secondary-border-color-disabled: var(--grey-400);
|
|
276
276
|
--action-secondary-background: var(--white-opacity-0);
|
|
277
277
|
--action-secondary-background-hover: var(--grey-100);
|
|
278
278
|
--action-secondary-background-focus: var(--grey-100);
|
|
@@ -327,6 +327,7 @@ html[data-theme="light"] {
|
|
|
327
327
|
--text-color-error: var(--red-600);
|
|
328
328
|
--text-color-optional: var(--grey-600);
|
|
329
329
|
|
|
330
|
+
--backdrop-overlay: var(--black-opacity-70);
|
|
330
331
|
/* ================================================================================================== */
|
|
331
332
|
/* Components */
|
|
332
333
|
/* ================================================================================================== */
|
|
@@ -401,6 +402,25 @@ html[data-theme="light"] {
|
|
|
401
402
|
--chip-icon-fill: var(--black);
|
|
402
403
|
--chip-dismiss-action-background: var(--black-opacity-10);
|
|
403
404
|
--chip-dismiss-action-background-hover: var(--black-opacity-0);
|
|
405
|
+
|
|
406
|
+
/* Dropdown */
|
|
407
|
+
--dropdown-background: var(--grey-100);
|
|
408
|
+
--dropdown-border-color: var(--black-opacity-20);
|
|
409
|
+
--dropdown-shadow-color: var(--black-opacity-10);
|
|
410
|
+
--dropdown-button-background-hover: var(--white);
|
|
411
|
+
|
|
412
|
+
/* Progress */
|
|
413
|
+
--progress-bar-background: var(--blue-600);
|
|
414
|
+
--progress-track-background: var(--grey-200);
|
|
415
|
+
--progress-loading-bar-100: var(--grey-200);
|
|
416
|
+
--progress-loading-bar-200: var(--grey-300);
|
|
417
|
+
|
|
418
|
+
/* Stepper */
|
|
419
|
+
--stepper-color: var(--blue-600);
|
|
420
|
+
--stepper-background-active: var(--stepper-color);
|
|
421
|
+
--stepper-background-inactive: var(--white);
|
|
422
|
+
--stepper-border-color: var(--stepper-color);
|
|
423
|
+
--stepper-text-color-active: var(--stepper-color);
|
|
404
424
|
}
|
|
405
425
|
|
|
406
426
|
/* ==================================================================================================== */
|
|
@@ -474,7 +494,7 @@ html[data-theme="dark"] {
|
|
|
474
494
|
--action-secondary-border-color: var(--grey-200);
|
|
475
495
|
--action-secondary-border-color-hover: var(--grey-200);
|
|
476
496
|
--action-secondary-border-color-focus: var(--grey-200);
|
|
477
|
-
--action-secondary-border-color-disabled: var(--grey-
|
|
497
|
+
--action-secondary-border-color-disabled: var(--grey-600);
|
|
478
498
|
--action-secondary-background: var(--black-opacity-0);
|
|
479
499
|
--action-secondary-background-hover: var(--grey-800);
|
|
480
500
|
--action-secondary-background-focus: var(--grey-800);
|
|
@@ -528,6 +548,8 @@ html[data-theme="dark"] {
|
|
|
528
548
|
--text-color-warning: var(--orange-400);
|
|
529
549
|
--text-color-error: var(--red-400);
|
|
530
550
|
--text-color-optional: var(--grey-300);
|
|
551
|
+
|
|
552
|
+
--backdrop-overlay: var(--black-opacity-70);
|
|
531
553
|
/* ================================================================================================== */
|
|
532
554
|
/* Components */
|
|
533
555
|
/* ================================================================================================== */
|
|
@@ -599,6 +621,25 @@ html[data-theme="dark"] {
|
|
|
599
621
|
--chip-icon-fill: var(--white);
|
|
600
622
|
--chip-dismiss-action-background: var(--white-opacity-20);
|
|
601
623
|
--chip-dismiss-action-background-hover: var(--white-opacity-0);
|
|
624
|
+
|
|
625
|
+
/* Dropdown */
|
|
626
|
+
--dropdown-background: var(--grey-1000);
|
|
627
|
+
--dropdown-border-color: var(--black-opacity-20);
|
|
628
|
+
--dropdown-shadow-color: var(--black-opacity-20);
|
|
629
|
+
--dropdown-button-background-hover: var(--grey-900);
|
|
630
|
+
|
|
631
|
+
/* Progress */
|
|
632
|
+
--progress-bar-background: var(--blue-500);
|
|
633
|
+
--progress-track-background: var(--grey-700);
|
|
634
|
+
--progress-loading-bar-100: var(--grey-900);
|
|
635
|
+
--progress-loading-bar-200: var(--grey-1000);
|
|
636
|
+
|
|
637
|
+
/* Stepper */
|
|
638
|
+
--stepper-color: var(--blue-500);
|
|
639
|
+
--stepper-background-active: var(--stepper-color);
|
|
640
|
+
--stepper-background-inactive: var(--black);
|
|
641
|
+
--stepper-border-color: var(--stepper-color);
|
|
642
|
+
--stepper-text-color-active: var(--stepper-color);
|
|
602
643
|
}
|
|
603
644
|
|
|
604
645
|
/* ==================================================================================================== */
|
|
@@ -718,4 +759,8 @@ html[data-theme="dark"] {
|
|
|
718
759
|
--checkbox-radius: var(--radius-100);
|
|
719
760
|
/* Chip */
|
|
720
761
|
--chip-radius: var(--radius-400);
|
|
762
|
+
/* Dropdown */
|
|
763
|
+
--dropdown-radius: var(--radius-100);
|
|
764
|
+
/* Dialog */
|
|
765
|
+
--dialog-radius: var(--radius-150);
|
|
721
766
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PartTypes as
|
|
1
|
+
import { PartTypes as Er, Parts as Fr, getPartMap as Gr } from "./utils/part-map/index.js";
|
|
2
2
|
import "./components/mui-field/index.js";
|
|
3
3
|
import "./components/mui-file-upload/index.js";
|
|
4
4
|
import "./components/mui-addon/index.js";
|
|
@@ -6,6 +6,7 @@ import "./components/mui-input/index.js";
|
|
|
6
6
|
import "./components/mui-checkbox/index.js";
|
|
7
7
|
import "./components/mui-select/index.js";
|
|
8
8
|
import "./components/mui-switch/index.js";
|
|
9
|
+
import "./components/mui-progress/index.js";
|
|
9
10
|
import "./components/mui-table/table/index.js";
|
|
10
11
|
import "./components/mui-table/cell/index.js";
|
|
11
12
|
import "./components/mui-table/row/index.js";
|
|
@@ -23,6 +24,8 @@ import "./components/mui-list/item/index.js";
|
|
|
23
24
|
import "./components/mui-list/list/index.js";
|
|
24
25
|
import "./components/mui-quote/index.js";
|
|
25
26
|
import "./components/mui-code/index.js";
|
|
27
|
+
import "./components/mui-dialog/index.js";
|
|
28
|
+
import "./components/mui-drawer/index.js";
|
|
26
29
|
import "./components/mui-image/index.js";
|
|
27
30
|
import "./components/mui-smart-card/index.js";
|
|
28
31
|
import "./components/mui-icons/accessibility/index.js";
|
|
@@ -30,6 +33,7 @@ import "./components/mui-icons/add/index.js";
|
|
|
30
33
|
import "./components/mui-icons/attention/index.js";
|
|
31
34
|
import "./components/mui-icons/check/index.js";
|
|
32
35
|
import "./components/mui-icons/close/index.js";
|
|
36
|
+
import "./components/mui-icons/calendar/index.js";
|
|
33
37
|
import "./components/mui-icons/down-chevron/index.js";
|
|
34
38
|
import "./components/mui-icons/globe/index.js";
|
|
35
39
|
import "./components/mui-icons/grid/index.js";
|
|
@@ -52,6 +56,7 @@ import "./components/mui-icons/warning/index.js";
|
|
|
52
56
|
import "./components/mui-icons/down-arrow-circle/index.js";
|
|
53
57
|
import "./components/mui-icons/ellipsis/index.js";
|
|
54
58
|
import "./components/mui-icons/gear/index.js";
|
|
59
|
+
import "./components/mui-icons/translate/index.js";
|
|
55
60
|
import "./components/mui-stack/hstack/index.js";
|
|
56
61
|
import "./components/mui-stack/vstack/index.js";
|
|
57
62
|
import "./components/mui-grid/index.js";
|
|
@@ -63,20 +68,24 @@ import "./components/mui-card/header/index.js";
|
|
|
63
68
|
import "./components/mui-card/body/index.js";
|
|
64
69
|
import "./components/mui-card/footer/index.js";
|
|
65
70
|
import "./components/mui-chip/index.js";
|
|
71
|
+
import "./components/mui-loader/index.js";
|
|
66
72
|
import "./components/mui-alert/index.js";
|
|
67
73
|
import "./components/mui-message/index.js";
|
|
68
74
|
import "./components/mui-badge/index.js";
|
|
69
75
|
import "./components/mui-button/index.js";
|
|
70
76
|
import "./components/mui-button-group/index.js";
|
|
71
77
|
import "./components/mui-link/index.js";
|
|
78
|
+
import "./components/mui-dropdown/index.js";
|
|
72
79
|
import "./components/mui-tabs/controller/index.js";
|
|
73
80
|
import "./components/mui-tabs/item/index.js";
|
|
74
81
|
import "./components/mui-tabs/panel/index.js";
|
|
75
82
|
import "./components/mui-tabs/tab-bar/index.js";
|
|
76
83
|
import "./components/mui-carousel/controller/index.js";
|
|
77
84
|
import "./components/mui-carousel/panel/index.js";
|
|
85
|
+
import "./components/mui-stepper/stepper/index.js";
|
|
86
|
+
import "./components/mui-stepper/step/index.js";
|
|
78
87
|
export {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
Er as PartTypes,
|
|
89
|
+
Fr as Parts,
|
|
90
|
+
Gr as getPartMap
|
|
82
91
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from "./components/mui-input";
|
|
|
6
6
|
export * from "./components/mui-checkbox";
|
|
7
7
|
export * from "./components/mui-select";
|
|
8
8
|
export * from "./components/mui-switch";
|
|
9
|
+
export * from "./components/mui-progress";
|
|
9
10
|
export * from "./components/mui-table/table";
|
|
10
11
|
export * from "./components/mui-table/cell";
|
|
11
12
|
export * from "./components/mui-table/row";
|
|
@@ -23,6 +24,8 @@ export * from "./components/mui-list/item";
|
|
|
23
24
|
export * from "./components/mui-list/list";
|
|
24
25
|
export * from "./components/mui-quote";
|
|
25
26
|
export * from "./components/mui-code";
|
|
27
|
+
export * from "./components/mui-dialog";
|
|
28
|
+
export * from "./components/mui-drawer";
|
|
26
29
|
export * from "./components/mui-image";
|
|
27
30
|
export * from "./components/mui-smart-card";
|
|
28
31
|
export * from "./components/mui-icons/accessibility";
|
|
@@ -30,6 +33,7 @@ export * from "./components/mui-icons/add";
|
|
|
30
33
|
export * from "./components/mui-icons/attention";
|
|
31
34
|
export * from "./components/mui-icons/check";
|
|
32
35
|
export * from "./components/mui-icons/close";
|
|
36
|
+
export * from "./components/mui-icons/calendar";
|
|
33
37
|
export * from "./components/mui-icons/down-chevron";
|
|
34
38
|
export * from "./components/mui-icons/globe";
|
|
35
39
|
export * from "./components/mui-icons/grid";
|
|
@@ -52,6 +56,7 @@ export * from "./components/mui-icons/warning";
|
|
|
52
56
|
export * from "./components/mui-icons/down-arrow-circle";
|
|
53
57
|
export * from "./components/mui-icons/ellipsis";
|
|
54
58
|
export * from "./components/mui-icons/gear";
|
|
59
|
+
export * from "./components/mui-icons/translate";
|
|
55
60
|
export * from "./components/mui-stack/hstack";
|
|
56
61
|
export * from "./components/mui-stack/vstack";
|
|
57
62
|
export * from "./components/mui-grid";
|
|
@@ -63,15 +68,19 @@ export * from "./components/mui-card/header";
|
|
|
63
68
|
export * from "./components/mui-card/body";
|
|
64
69
|
export * from "./components/mui-card/footer";
|
|
65
70
|
export * from "./components/mui-chip";
|
|
71
|
+
export * from "./components/mui-loader";
|
|
66
72
|
export * from "./components/mui-alert";
|
|
67
73
|
export * from "./components/mui-message";
|
|
68
74
|
export * from "./components/mui-badge";
|
|
69
75
|
export * from "./components/mui-button";
|
|
70
76
|
export * from "./components/mui-button-group";
|
|
71
77
|
export * from "./components/mui-link";
|
|
78
|
+
export * from "./components/mui-dropdown";
|
|
72
79
|
export * from "./components/mui-tabs/controller";
|
|
73
80
|
export * from "./components/mui-tabs/item";
|
|
74
81
|
export * from "./components/mui-tabs/panel";
|
|
75
82
|
export * from "./components/mui-tabs/tab-bar";
|
|
76
83
|
export * from "./components/mui-carousel/controller";
|
|
77
84
|
export * from "./components/mui-carousel/panel";
|
|
85
|
+
export * from "./components/mui-stepper/stepper";
|
|
86
|
+
export * from "./components/mui-stepper/step";
|