@muibook/components 19.6.0 → 20.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.
Files changed (172) hide show
  1. package/AGENTS.md +67 -0
  2. package/DESIGN.md +358 -0
  3. package/README.md +53 -2
  4. package/dist/esm/agent/keywords/index.js +2 -173
  5. package/dist/esm/agent/prompts/index.js +6 -432
  6. package/dist/esm/components/mui-accordion/core/index.js +25 -17
  7. package/dist/esm/components/mui-addon/index.js +14 -14
  8. package/dist/esm/components/mui-avatar/index.js +103 -43
  9. package/dist/esm/components/mui-avatar-chip/index.js +158 -0
  10. package/dist/esm/components/mui-avatar-group/index.js +88 -0
  11. package/dist/esm/components/mui-badge/index.js +37 -20
  12. package/dist/esm/components/mui-body/index.js +20 -11
  13. package/dist/esm/components/mui-button/index.js +265 -78
  14. package/dist/esm/components/mui-calendar/index.js +199 -0
  15. package/dist/esm/components/mui-card/body/index.js +33 -18
  16. package/dist/esm/components/mui-card/footer/index.js +11 -9
  17. package/dist/esm/components/mui-carousel/controller/index.js +1 -1
  18. package/dist/esm/components/mui-checkbox/index.js +23 -18
  19. package/dist/esm/components/mui-chip/index.js +219 -73
  20. package/dist/esm/components/mui-chip-input/index.js +146 -137
  21. package/dist/esm/components/mui-chip-rail/index.js +342 -0
  22. package/dist/esm/components/mui-code/index.js +26 -7
  23. package/dist/esm/components/mui-container/index.js +68 -45
  24. package/dist/esm/components/mui-date-picker/index.js +169 -0
  25. package/dist/esm/components/mui-drawer/index.js +968 -100
  26. package/dist/esm/components/mui-dropdown/index.js +255 -59
  27. package/dist/esm/components/mui-field/index.js +1 -1
  28. package/dist/esm/components/mui-file-upload/index.js +14 -4
  29. package/dist/esm/components/mui-form-group/index.js +1 -2
  30. package/dist/esm/components/mui-form-message/index.js +4 -9
  31. package/dist/esm/components/mui-heading/index.js +3 -2
  32. package/dist/esm/components/mui-hint/index.js +178 -72
  33. package/dist/esm/components/mui-icons/copy/index.js +54 -0
  34. package/dist/esm/components/mui-icons/fullscreen/index.js +5 -0
  35. package/dist/esm/components/mui-icons/icon-helper/index.js +56 -0
  36. package/dist/esm/components/mui-icons/index.js +14 -1
  37. package/dist/esm/components/mui-icons/moon/index.js +3 -1
  38. package/dist/esm/components/mui-icons/{rectangle-bottom-panel → panel}/index.js +6 -6
  39. package/dist/esm/components/mui-icons/pause/index.js +5 -0
  40. package/dist/esm/components/mui-icons/picture-in-picture/index.js +5 -0
  41. package/dist/esm/components/mui-icons/play-fill/index.js +5 -0
  42. package/dist/esm/components/mui-icons/rectangle-right-drawer/index.js +56 -0
  43. package/dist/esm/components/mui-icons/reload/index.js +5 -0
  44. package/dist/esm/components/mui-icons/speaker-mute/index.js +5 -0
  45. package/dist/esm/components/mui-icons/speaker-one-wave/index.js +5 -0
  46. package/dist/esm/components/mui-icons/speaker-two-wave/index.js +5 -0
  47. package/dist/esm/components/mui-icons/spinner/index.js +7 -5
  48. package/dist/esm/components/mui-icons/stop-fill/index.js +5 -0
  49. package/dist/esm/components/mui-icons/sun/index.js +5 -5
  50. package/dist/esm/components/mui-icons/timer/index.js +54 -0
  51. package/dist/esm/components/mui-icons/toggle/index.js +16 -6
  52. package/dist/esm/components/mui-icons/vertical-ellipsis/index.js +5 -0
  53. package/dist/esm/components/mui-illustrations/trash/index.js +6 -5
  54. package/dist/esm/components/mui-input/index.js +96 -67
  55. package/dist/esm/components/mui-link/index.js +352 -96
  56. package/dist/esm/components/mui-media-player/index.js +1577 -83
  57. package/dist/esm/components/mui-message/index.js +7 -6
  58. package/dist/esm/components/mui-model-viewer/index.js +258 -0
  59. package/dist/esm/components/mui-progress-ring/index.js +349 -0
  60. package/dist/esm/components/mui-prompt/index.js +143 -115
  61. package/dist/esm/components/mui-prompt-preview/index.js +11 -23
  62. package/dist/esm/components/mui-radio/index.js +38 -17
  63. package/dist/esm/components/mui-range-input/index.js +9 -4
  64. package/dist/esm/components/mui-responsive/index.js +60 -27
  65. package/dist/esm/components/mui-search-input/index.js +300 -0
  66. package/dist/esm/components/mui-select/index.js +235 -46
  67. package/dist/esm/components/mui-slat/slat/index.js +40 -12
  68. package/dist/esm/components/mui-spinner/index.js +11 -9
  69. package/dist/esm/components/mui-stack/hstack/index.js +10 -5
  70. package/dist/esm/components/mui-status/index.js +239 -0
  71. package/dist/esm/components/mui-stepper/step/index.js +46 -32
  72. package/dist/esm/components/mui-switch/index.js +37 -26
  73. package/dist/esm/components/mui-table/row/index.js +2 -6
  74. package/dist/esm/components/mui-table/table/index.js +157 -14
  75. package/dist/esm/components/mui-tabs/controller/index.js +17 -6
  76. package/dist/esm/components/mui-tabs/item/index.js +17 -5
  77. package/dist/esm/components/mui-tabs/tab-bar/index.js +93 -39
  78. package/dist/esm/components/mui-textarea/index.js +43 -26
  79. package/dist/esm/components/mui-time/index/index.js +336 -0
  80. package/dist/esm/components/mui-time-picker/index.js +126 -0
  81. package/dist/esm/components/mui-video-thumbnail/index.js +205 -0
  82. package/dist/esm/css/mui-brand.css +12 -8
  83. package/dist/esm/css/mui-tokens.css +646 -344
  84. package/dist/esm/css/readme.md +2 -2
  85. package/dist/esm/custom-elements.json +4506 -1707
  86. package/dist/esm/dynamic-attrs.json +271 -54
  87. package/dist/esm/index.js +33 -6
  88. package/dist/esm/knowledge/compositions/index.js +1560 -0
  89. package/dist/esm/knowledge/index.js +28 -0
  90. package/dist/esm/knowledge/keywords/index.js +306 -0
  91. package/dist/esm/knowledge/rules/index.js +199 -0
  92. package/dist/esm/tokens/js/index.js +143 -139
  93. package/dist/types/agent/keywords/index.d.ts +1 -1
  94. package/dist/types/components/mui-avatar-chip/api.d.ts +28 -0
  95. package/dist/types/components/mui-avatar-chip/index.d.ts +18 -0
  96. package/dist/types/components/mui-avatar-group/api.d.ts +28 -0
  97. package/dist/types/components/mui-avatar-group/doc.d.ts +2 -0
  98. package/dist/types/components/mui-avatar-group/index.d.ts +1 -0
  99. package/dist/types/components/mui-button/api.d.ts +6 -2
  100. package/dist/types/components/mui-calendar/api.d.ts +41 -0
  101. package/dist/types/components/mui-calendar/doc.d.ts +2 -0
  102. package/dist/types/components/mui-calendar/index.d.ts +3 -0
  103. package/dist/types/components/mui-checkbox/api.d.ts +4 -0
  104. package/dist/types/components/mui-chip/api.d.ts +4 -0
  105. package/dist/types/components/mui-chip-input/api.d.ts +4 -0
  106. package/dist/types/components/mui-chip-rail/api.d.ts +21 -0
  107. package/dist/types/components/mui-chip-rail/doc.d.ts +2 -0
  108. package/dist/types/components/mui-chip-rail/index.d.ts +4 -0
  109. package/dist/types/components/mui-date-picker/api.d.ts +38 -0
  110. package/dist/types/components/mui-date-picker/doc.d.ts +2 -0
  111. package/dist/types/components/mui-date-picker/index.d.ts +6 -0
  112. package/dist/types/components/mui-drawer/api.d.ts +4 -0
  113. package/dist/types/components/mui-drawer/index.d.ts +2 -0
  114. package/dist/types/components/mui-file-upload/api.d.ts +4 -0
  115. package/dist/types/components/mui-icons/fullscreen.d.ts +1 -0
  116. package/dist/types/components/mui-icons/icon-helper.d.ts +1 -0
  117. package/dist/types/components/mui-icons/index.d.ts +14 -1
  118. package/dist/types/components/mui-icons/panel.d.ts +1 -0
  119. package/dist/types/components/mui-icons/pause.d.ts +1 -0
  120. package/dist/types/components/mui-icons/picture-in-picture.d.ts +1 -0
  121. package/dist/types/components/mui-icons/play-fill.d.ts +1 -0
  122. package/dist/types/components/mui-icons/rectangle-right-drawer.d.ts +1 -0
  123. package/dist/types/components/mui-icons/reload.d.ts +1 -0
  124. package/dist/types/components/mui-icons/speaker-mute.d.ts +1 -0
  125. package/dist/types/components/mui-icons/speaker-one-wave.d.ts +1 -0
  126. package/dist/types/components/mui-icons/speaker-two-wave.d.ts +1 -0
  127. package/dist/types/components/mui-icons/stop-fill.d.ts +1 -0
  128. package/dist/types/components/mui-icons/timer.d.ts +1 -0
  129. package/dist/types/components/mui-icons/vertical-ellipsis.d.ts +1 -0
  130. package/dist/types/components/mui-input/api.d.ts +12 -0
  131. package/dist/types/components/mui-link/api.d.ts +4 -0
  132. package/dist/types/components/mui-media-player/api.d.ts +4 -0
  133. package/dist/types/components/mui-media-player/index.d.ts +13 -4
  134. package/dist/types/components/mui-model-viewer/api.d.ts +28 -0
  135. package/dist/types/components/mui-model-viewer/doc.d.ts +2 -0
  136. package/dist/types/components/mui-model-viewer/index.d.ts +17 -0
  137. package/dist/types/components/mui-progress-ring/api.d.ts +24 -0
  138. package/dist/types/components/mui-progress-ring/doc.d.ts +2 -0
  139. package/dist/types/components/mui-progress-ring/index.d.ts +1 -0
  140. package/dist/types/components/mui-radio/api.d.ts +12 -0
  141. package/dist/types/components/mui-range-input/api.d.ts +4 -0
  142. package/dist/types/components/mui-responsive/api.d.ts +10 -2
  143. package/dist/types/components/mui-search-input/api.d.ts +40 -0
  144. package/dist/types/components/mui-search-input/doc.d.ts +2 -0
  145. package/dist/types/components/mui-search-input/index.d.ts +3 -0
  146. package/dist/types/components/mui-select/api.d.ts +12 -0
  147. package/dist/types/components/mui-status/api.d.ts +24 -0
  148. package/dist/types/components/mui-status/doc.d.ts +2 -0
  149. package/dist/types/components/mui-status/index.d.ts +1 -0
  150. package/dist/types/components/mui-switch/api.d.ts +4 -0
  151. package/dist/types/components/mui-table/api.d.ts +15 -0
  152. package/dist/types/components/mui-textarea/api.d.ts +12 -0
  153. package/dist/types/components/mui-time/api.d.ts +41 -0
  154. package/dist/types/components/mui-time/doc.d.ts +2 -0
  155. package/dist/types/components/mui-time/index.d.ts +1 -0
  156. package/dist/types/components/mui-time-picker/api.d.ts +38 -0
  157. package/dist/types/components/mui-time-picker/doc.d.ts +2 -0
  158. package/dist/types/components/mui-time-picker/index.d.ts +4 -0
  159. package/dist/types/components/mui-video-thumbnail/api.d.ts +28 -0
  160. package/dist/types/components/mui-video-thumbnail/doc.d.ts +2 -0
  161. package/dist/types/components/mui-video-thumbnail/index.d.ts +1 -0
  162. package/dist/types/index.d.ts +27 -2
  163. package/dist/types/knowledge/compositions.d.ts +4644 -0
  164. package/dist/types/knowledge/index.d.ts +4657 -0
  165. package/dist/types/knowledge/keywords.d.ts +4 -0
  166. package/dist/types/knowledge/rules.d.ts +1 -0
  167. package/dist/types/tokens/js/index.d.ts +11 -7
  168. package/package.json +131 -12
  169. package/dist/esm/components/mui-form-hint/index.js +0 -1
  170. package/dist/types/components/mui-form-hint/index.d.ts +0 -1
  171. /package/dist/types/components/{mui-form-hint → mui-avatar-chip}/doc.d.ts +0 -0
  172. /package/dist/types/components/mui-icons/{rectangle-bottom-panel.d.ts → copy.d.ts} +0 -0
@@ -1,17 +1,20 @@
1
- class T extends HTMLElement {
1
+ const g = class g extends HTMLElement {
2
2
  constructor() {
3
- super(), this.openTimer = null, this.closeTimer = null, this.hasOpenedOnce = !1, this.boundReposition = () => this.positionTooltip(), this.boundDocPointer = (t) => {
3
+ super(), this.openTimer = null, this.closeTimer = null, this.hasOpenedOnce = !1, this.ignoreNextFocus = !1, this.portalTooltipElement = null, this.hintId = `hint-${Math.random().toString(36).slice(2)}`, this.boundReposition = () => this.positionTooltip(), this.boundDocPointer = (t) => {
4
4
  t.composedPath().includes(this) || this.close(!0);
5
5
  }, this.attachShadow({ mode: "open" });
6
6
  }
7
7
  static get observedAttributes() {
8
- return ["placement", "open", "delay", "initial-delay", "size"];
8
+ return ["placement", "open", "delay", "initial-delay", "size", "disable-on-touch"];
9
9
  }
10
10
  connectedCallback() {
11
- this.hasAttribute("placement") || this.setAttribute("placement", "top"), this.render(), this.setupEvents(), this.syncTriggerSize();
11
+ this.hasAttribute("placement") || this.setAttribute("placement", "top"), this.render(), this.setupEvents(), this.syncTriggerSize(), this.syncDisabledState();
12
+ }
13
+ disconnectedCallback() {
14
+ this.restoreTooltip(), window.removeEventListener("resize", this.boundReposition), window.removeEventListener("scroll", this.boundReposition, !0), document.removeEventListener("pointerdown", this.boundDocPointer, !0);
12
15
  }
13
16
  attributeChangedCallback() {
14
- this.shadowRoot && (this.syncTriggerSize(), this.hasAttribute("open") && requestAnimationFrame(() => this.positionTooltip()));
17
+ this.shadowRoot && (this.syncTriggerSize(), this.syncDisabledState(), !this.isDisabledOnCoarsePointer() && this.hasAttribute("open") && requestAnimationFrame(() => this.positionTooltip()));
15
18
  }
16
19
  render() {
17
20
  if (!this.shadowRoot) return;
@@ -24,32 +27,46 @@ class T extends HTMLElement {
24
27
  width: max-content;
25
28
  position: relative;
26
29
  vertical-align: middle;
30
+ --hint-focus-outline: var(--stroke-size-400) var(--stroke-outset) var(--outline-color);
31
+ --hint-focus-outline-offset: var(--stroke-size-200);
32
+ --hint-focus-radius: var(--radius-200);
27
33
  }
28
34
  .trigger {
29
35
  display: inline-flex;
30
36
  align-items: center;
31
37
  justify-content: center;
32
38
  cursor: help;
39
+ border-radius: var(--hint-focus-radius);
40
+ outline: none;
41
+ }
42
+ .trigger.is-interactive {
43
+ cursor: auto;
44
+ }
45
+ .trigger:focus-visible {
46
+ outline: var(--hint-focus-outline);
47
+ outline-offset: var(--hint-focus-outline-offset);
33
48
  }
34
49
  .tooltip {
35
50
  display: none;
36
- position: absolute;
51
+ position: fixed;
37
52
  z-index: 1000;
38
53
  min-width: max-content;
39
54
  max-width: var(--hint-max-width, 28rem);
40
55
  padding: var(--space-200) var(--space-300);
41
56
  border-radius: var(--radius-200);
42
57
  border: var(--border-thin);
43
- border-color: var(--border-color);
44
- background: var(--surface-elevated-100);
45
- color: var(--text-color);
46
- box-shadow: var(--shadow-200, 0 6px 20px rgba(0,0,0,0.18));
58
+ border-color: var(--hint-border-color, var(--border-color));
59
+ background: var(--hint-background, var(--surface-elevated-100));
60
+ color: var(--hint-text-color, var(--text-color));
61
+ box-shadow: var(--hint-shadow, var(--shadow-medium, 0 6px 20px rgba(0,0,0,0.18)));
47
62
  opacity: 0;
48
63
  pointer-events: none;
49
64
  transition: opacity var(--speed-300, 160ms) ease;
50
65
  font-size: var(--text-font-size-xs);
51
66
  line-height: var(--text-line-height-xs);
52
67
  box-sizing: border-box;
68
+ top: 0;
69
+ left: 0;
53
70
  }
54
71
  :host([closing-immediate]) .tooltip {
55
72
  transition-duration: 0ms;
@@ -59,78 +76,85 @@ class T extends HTMLElement {
59
76
  opacity: 1;
60
77
  pointer-events: auto;
61
78
  }
62
- .tooltip::before {
63
- content: "";
64
- position: absolute;
65
- width: 0;
66
- height: 0;
67
- border-style: solid;
68
- }
69
- .tooltip[data-placement="top"]::before {
70
- left: 50%;
71
- top: 100%;
72
- transform: translateX(-50%);
73
- border-width: 6px 6px 0 6px;
74
- border-color: var(--surface-elevated-100) transparent transparent transparent;
75
- }
76
- .tooltip[data-placement="bottom"]::before {
77
- left: 50%;
78
- bottom: 100%;
79
- transform: translateX(-50%);
80
- border-width: 0 6px 6px 6px;
81
- border-color: transparent transparent var(--surface-elevated-100) transparent;
82
- }
83
- .tooltip[data-placement="left"]::before {
84
- left: 100%;
85
- top: 50%;
86
- transform: translateY(-50%);
87
- border-width: 6px 0 6px 6px;
88
- border-color: transparent transparent transparent var(--surface-elevated-100);
89
- }
90
- .tooltip[data-placement="right"]::before {
91
- right: 100%;
92
- top: 50%;
93
- transform: translateY(-50%);
94
- border-width: 6px 6px 6px 0;
95
- border-color: transparent var(--surface-elevated-100) transparent transparent;
79
+ :host([portaled]) .tooltip {
80
+ visibility: hidden;
96
81
  }
97
82
  </style>
98
83
  <span class="trigger" tabindex="0" aria-describedby="hint-tooltip">
99
84
  <slot name="trigger"></slot>
100
85
  </span>
101
- <div id="hint-tooltip" class="tooltip" role="tooltip" data-placement="${t}">
86
+ <div id="hint-tooltip" class="tooltip" role="tooltip" data-placement="${t}" data-owner="${this.hintId}">
102
87
  <slot></slot>
103
88
  </div>
104
89
  `;
105
90
  }
106
91
  setupEvents() {
107
- var r, p;
108
- const t = (r = this.shadowRoot) == null ? void 0 : r.querySelector(".trigger");
92
+ var i, r;
93
+ const t = (i = this.shadowRoot) == null ? void 0 : i.querySelector(".trigger");
109
94
  if (!t) return;
110
- const o = (p = this.shadowRoot) == null ? void 0 : p.querySelector('slot[name="trigger"]');
111
- t.addEventListener("mouseenter", () => this.openWithDelay()), t.addEventListener("mouseleave", () => this.closeWithDelay()), t.addEventListener("focusin", () => this.openWithDelay()), t.addEventListener("focusout", () => this.close(!0)), o == null || o.addEventListener("slotchange", () => this.syncTriggerSize()), this.addEventListener("keydown", (m) => {
112
- m.key === "Escape" && this.close(!0);
95
+ const e = (r = this.shadowRoot) == null ? void 0 : r.querySelector('slot[name="trigger"]');
96
+ t.addEventListener("mouseenter", () => this.openWithDelay()), t.addEventListener("mouseleave", () => this.closeWithDelay()), t.addEventListener("pointerdown", (n) => {
97
+ n.pointerType === "touch" && (this.ignoreNextFocus = !0, this.close(!0), window.setTimeout(() => {
98
+ this.ignoreNextFocus = !1;
99
+ }, 0));
100
+ }), t.addEventListener("focusin", () => {
101
+ this.ignoreNextFocus || this.openWithDelay();
102
+ }), t.addEventListener("focusout", () => this.close(!0)), e == null || e.addEventListener("slotchange", () => {
103
+ this.syncTriggerSize(), this.syncDisabledState();
104
+ }), this.addEventListener("keydown", (n) => {
105
+ n.key === "Escape" && this.close(!0);
113
106
  });
114
107
  }
115
108
  syncTriggerSize() {
116
- var u, i;
117
- const t = (u = this.shadowRoot) == null ? void 0 : u.querySelector('slot[name="trigger"]');
109
+ var s, m;
110
+ const t = (s = this.shadowRoot) == null ? void 0 : s.querySelector('slot[name="trigger"]');
118
111
  if (!t) return;
119
- const o = this.getAttribute("size") || ((i = this.closest("mui-body")) == null ? void 0 : i.getAttribute("size")) || "medium", r = {
112
+ const e = this.getAttribute("size") || ((m = this.closest("mui-body")) == null ? void 0 : m.getAttribute("size")) || "medium", i = {
120
113
  "x-small": "x-small",
121
114
  small: "small",
122
115
  medium: "small",
123
116
  large: "medium"
124
- }, p = {
117
+ }, r = {
125
118
  "x-small": "xx-small",
126
119
  small: "x-small",
127
120
  medium: "small",
128
121
  large: "medium"
129
- }, m = r[o] || "small", h = p[o] || "small";
130
- t.assignedElements({ flatten: !0 }).forEach((s) => {
131
- s.tagName.startsWith("MUI-ICON-") && !s.hasAttribute("size") && s.setAttribute("size", m), s.tagName === "MUI-BADGE" && !s.hasAttribute("size") && s.setAttribute("size", h);
122
+ }, n = i[e] || "small", a = r[e] || "small";
123
+ t.assignedElements({ flatten: !0 }).forEach((l) => {
124
+ l.tagName.startsWith("MUI-ICON-") && !l.hasAttribute("size") && l.setAttribute("size", n), l.tagName === "MUI-BADGE" && !l.hasAttribute("size") && l.setAttribute("size", a);
132
125
  });
133
126
  }
127
+ syncTriggerFocus() {
128
+ var r, n;
129
+ const t = (r = this.shadowRoot) == null ? void 0 : r.querySelector(".trigger"), e = (n = this.shadowRoot) == null ? void 0 : n.querySelector('slot[name="trigger"]');
130
+ if (!t || !e) return;
131
+ if (this.isDisabledOnCoarsePointer()) {
132
+ t.removeAttribute("tabindex");
133
+ return;
134
+ }
135
+ const i = e.assignedElements({ flatten: !0 }).some((a) => this.isFocusableTrigger(a));
136
+ if (t.classList.toggle("is-interactive", i), i) {
137
+ t.removeAttribute("tabindex");
138
+ return;
139
+ }
140
+ t.setAttribute("tabindex", "0");
141
+ }
142
+ syncDisabledState() {
143
+ var e;
144
+ const t = (e = this.shadowRoot) == null ? void 0 : e.querySelector(".trigger");
145
+ if (this.isDisabledOnCoarsePointer()) {
146
+ this.close(!0), t == null || t.removeAttribute("aria-describedby"), t == null || t.removeAttribute("tabindex");
147
+ return;
148
+ }
149
+ t == null || t.setAttribute("aria-describedby", "hint-tooltip"), this.syncTriggerFocus();
150
+ }
151
+ isFocusableTrigger(t) {
152
+ if (!(t instanceof HTMLElement) || t.hasAttribute("disabled") || t.getAttribute("aria-disabled") === "true") return !1;
153
+ const e = t.tagName.toLowerCase(), i = t.getAttribute("tabindex");
154
+ return i !== null && i !== "-1" || e === "a" && t.hasAttribute("href") || ["button", "input", "select", "textarea", "summary"].includes(e) || e === "mui-button" || e === "mui-link" ? !0 : !!t.querySelector(
155
+ 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), summary, [tabindex]:not([tabindex="-1"]), mui-button, mui-link'
156
+ );
157
+ }
134
158
  getDelay() {
135
159
  const t = Number(this.getAttribute("delay"));
136
160
  return Number.isFinite(t) ? Math.min(2e3, Math.max(250, t)) : 500;
@@ -140,6 +164,10 @@ class T extends HTMLElement {
140
164
  return Number.isFinite(t) ? Math.min(2e3, Math.max(250, t)) : 500;
141
165
  }
142
166
  openWithDelay() {
167
+ if (this.isDisabledOnCoarsePointer()) {
168
+ this.close(!0);
169
+ return;
170
+ }
143
171
  this.closeTimer && (window.clearTimeout(this.closeTimer), this.closeTimer = null);
144
172
  const t = this.hasOpenedOnce ? this.getDelay() : this.getInitialDelay();
145
173
  this.openTimer = window.setTimeout(() => this.open(), t);
@@ -148,22 +176,100 @@ class T extends HTMLElement {
148
176
  this.openTimer && (window.clearTimeout(this.openTimer), this.openTimer = null), this.closeTimer = window.setTimeout(() => this.close(), 80);
149
177
  }
150
178
  open() {
151
- this.hasOpenedOnce = !0, this.removeAttribute("closing-immediate"), this.setAttribute("open", ""), requestAnimationFrame(() => this.positionTooltip()), window.addEventListener("resize", this.boundReposition), window.addEventListener("scroll", this.boundReposition, !0), document.addEventListener("pointerdown", this.boundDocPointer, !0);
179
+ if (this.isDisabledOnCoarsePointer()) {
180
+ this.close(!0);
181
+ return;
182
+ }
183
+ this.hasOpenedOnce = !0, this.removeAttribute("closing-immediate"), this.portalTooltip(), this.setAttribute("open", ""), requestAnimationFrame(() => this.positionTooltip()), window.addEventListener("resize", this.boundReposition), window.addEventListener("scroll", this.boundReposition, !0), document.addEventListener("pointerdown", this.boundDocPointer, !0);
152
184
  }
153
185
  close(t = !1) {
154
- this.openTimer && (window.clearTimeout(this.openTimer), this.openTimer = null), this.closeTimer && (window.clearTimeout(this.closeTimer), this.closeTimer = null), t && this.setAttribute("closing-immediate", ""), this.removeAttribute("open"), t && requestAnimationFrame(() => this.removeAttribute("closing-immediate")), window.removeEventListener("resize", this.boundReposition), window.removeEventListener("scroll", this.boundReposition, !0), document.removeEventListener("pointerdown", this.boundDocPointer, !0);
186
+ this.openTimer && (window.clearTimeout(this.openTimer), this.openTimer = null), this.closeTimer && (window.clearTimeout(this.closeTimer), this.closeTimer = null), t && this.setAttribute("closing-immediate", ""), this.removeAttribute("open"), t && requestAnimationFrame(() => this.removeAttribute("closing-immediate")), this.restoreTooltip(), window.removeEventListener("resize", this.boundReposition), window.removeEventListener("scroll", this.boundReposition, !0), document.removeEventListener("pointerdown", this.boundDocPointer, !0);
187
+ }
188
+ isDisabledOnCoarsePointer() {
189
+ var t, e;
190
+ return this.hasAttribute("disable-on-touch") ? !!((t = window.matchMedia) != null && t.call(window, "(pointer: coarse)").matches || (e = window.matchMedia) != null && e.call(window, "(hover: none)").matches || navigator.maxTouchPoints > 0) : !1;
191
+ }
192
+ portalTooltip() {
193
+ var i, r;
194
+ const t = (i = this.shadowRoot) == null ? void 0 : i.querySelector(".tooltip"), e = (r = this.shadowRoot) == null ? void 0 : r.querySelector("slot:not([name])");
195
+ !t || !e || (this.ensurePortalStyles(), this.portalTooltipElement || (this.portalTooltipElement = document.createElement("div"), this.portalTooltipElement.className = "mui-hint-portal", this.portalTooltipElement.setAttribute("role", "tooltip"), this.portalTooltipElement.dataset.owner = this.hintId, document.body.appendChild(this.portalTooltipElement)), this.portalTooltipElement.innerHTML = "", e.assignedNodes({ flatten: !0 }).forEach((n) => {
196
+ var a;
197
+ (a = this.portalTooltipElement) == null || a.appendChild(n.cloneNode(!0));
198
+ }), this.syncPortalStyles(this.portalTooltipElement), this.portalTooltipElement.classList.add("is-open"), this.setAttribute("portaled", ""));
199
+ }
200
+ restoreTooltip() {
201
+ var t;
202
+ this.removeAttribute("portaled"), (t = this.portalTooltipElement) == null || t.remove(), this.portalTooltipElement = null;
203
+ }
204
+ ensurePortalStyles() {
205
+ if (g.portalStylesInjected) return;
206
+ const t = document.createElement("style");
207
+ t.textContent = `
208
+ .mui-hint-portal {
209
+ display: block;
210
+ position: fixed;
211
+ z-index: 1000;
212
+ min-width: max-content;
213
+ max-width: var(--hint-max-width, 28rem);
214
+ padding: var(--space-200) var(--space-300);
215
+ border-radius: var(--radius-200);
216
+ border: var(--border-thin);
217
+ border-color: var(--hint-border-color, var(--border-color));
218
+ background: var(--hint-background, var(--surface-elevated-100));
219
+ color: var(--hint-text-color, var(--text-color));
220
+ box-shadow: var(--hint-shadow, var(--shadow-medium, 0 6px 20px rgba(0,0,0,0.18)));
221
+ opacity: 0;
222
+ pointer-events: none;
223
+ transition: opacity var(--speed-300, 160ms) ease;
224
+ font-size: var(--text-font-size-xs);
225
+ line-height: var(--text-line-height-xs);
226
+ box-sizing: border-box;
227
+ top: 0;
228
+ left: 0;
229
+ }
230
+ .mui-hint-portal.is-open {
231
+ opacity: 1;
232
+ pointer-events: auto;
233
+ }
234
+ `, document.head.appendChild(t), g.portalStylesInjected = !0;
235
+ }
236
+ syncPortalStyles(t) {
237
+ const e = window.getComputedStyle(this);
238
+ ["--hint-background", "--hint-border-color", "--hint-max-width", "--hint-shadow", "--hint-text-color"].forEach((i) => {
239
+ const r = e.getPropertyValue(i);
240
+ r && t.style.setProperty(i, r);
241
+ });
155
242
  }
156
243
  positionTooltip() {
157
- var b, f, w, v;
158
- const t = (b = this.shadowRoot) == null ? void 0 : b.querySelector(".trigger"), o = (f = this.shadowRoot) == null ? void 0 : f.querySelector(".tooltip");
159
- if (!o || !t) return;
160
- const r = (w = this.shadowRoot) == null ? void 0 : w.querySelector('slot[name="trigger"]'), m = ((v = r == null ? void 0 : r.assignedElements({ flatten: !0 })) == null ? void 0 : v[0]) || null || t, h = this.getAttribute("placement") || "top", e = m.getBoundingClientRect(), u = this.getBoundingClientRect(), i = o.getBoundingClientRect(), s = window.innerHeight, g = window.innerWidth, n = 8, a = 8;
161
- let l = h;
162
- h === "top" && e.top - i.height - a < n && (l = "bottom"), h === "bottom" && e.bottom + i.height + a > s - n && (l = "top"), h === "left" && e.left - i.width - a < n && (l = "right"), h === "right" && e.right + i.width + a > g - n && (l = "left"), o.setAttribute("data-placement", l);
163
- let d = 0, c = 0;
164
- l === "top" ? (d = e.top - i.height - a, c = e.left + e.width / 2 - i.width / 2) : l === "bottom" ? (d = e.bottom + a, c = e.left + e.width / 2 - i.width / 2) : l === "left" ? (d = e.top + e.height / 2 - i.height / 2, c = e.left - i.width - a) : (d = e.top + e.height / 2 - i.height / 2, c = e.right + a), d = Math.max(n, Math.min(d, s - i.height - n)), c = Math.max(n, Math.min(c, g - i.width - n));
165
- const x = d - u.top, y = c - u.left;
166
- o.style.top = `${x}px`, o.style.left = `${y}px`;
167
- }
168
- }
169
- customElements.get("mui-hint") || customElements.define("mui-hint", T);
244
+ var T, E, A, S;
245
+ const t = (T = this.shadowRoot) == null ? void 0 : T.querySelector(".trigger"), e = this.portalTooltipElement || ((E = this.shadowRoot) == null ? void 0 : E.querySelector(".tooltip"));
246
+ if (!e || !t) return;
247
+ const i = (A = this.shadowRoot) == null ? void 0 : A.querySelector('slot[name="trigger"]'), n = ((S = i == null ? void 0 : i.assignedElements({ flatten: !0 })) == null ? void 0 : S[0]) || null || t, a = this.getAttribute("placement") || "top", o = n.getBoundingClientRect(), s = e.getBoundingClientRect(), m = window.innerHeight, l = window.innerWidth, h = 8, d = 8, f = {
248
+ top: o.top - h,
249
+ bottom: m - o.bottom - h,
250
+ left: o.left - h,
251
+ right: l - o.right - h
252
+ }, y = {
253
+ top: s.height + d,
254
+ bottom: s.height + d,
255
+ left: s.width + d,
256
+ right: s.width + d
257
+ }, D = {
258
+ top: "bottom",
259
+ bottom: "top",
260
+ left: "right",
261
+ right: "left"
262
+ }, x = ["top", "bottom", "right", "left"], b = x.includes(a) ? a : "top";
263
+ let p = b;
264
+ const v = D[b];
265
+ f[b] < y[b] && (f[v] >= y[v] ? p = v : p = x.reduce(
266
+ (z, R) => f[R] > f[z] ? R : z,
267
+ b
268
+ )), e.setAttribute("data-placement", p);
269
+ let c = 0, u = 0;
270
+ p === "top" ? (c = o.top - s.height - d, u = o.left + o.width / 2 - s.width / 2) : p === "bottom" ? (c = o.bottom + d, u = o.left + o.width / 2 - s.width / 2) : p === "left" ? (c = o.top + o.height / 2 - s.height / 2, u = o.left - s.width - d) : (c = o.top + o.height / 2 - s.height / 2, u = o.right + d), c = Math.max(h, Math.min(c, m - s.height - h)), u = Math.max(h, Math.min(u, l - s.width - h)), e.style.top = `${c}px`, e.style.left = `${u}px`;
271
+ }
272
+ };
273
+ g.portalStylesInjected = !1;
274
+ let w = g;
275
+ customElements.get("mui-hint") || customElements.define("mui-hint", w);
@@ -0,0 +1,54 @@
1
+ class r extends HTMLElement {
2
+ static get observedAttributes() {
3
+ return ["size", "color"];
4
+ }
5
+ constructor() {
6
+ super(), this.attachShadow({ mode: "open" });
7
+ }
8
+ connectedCallback() {
9
+ this.render();
10
+ }
11
+ attributeChangedCallback(e, t, o) {
12
+ (e === "size" || e === "color") && t !== o && this.render();
13
+ }
14
+ render() {
15
+ const e = this.getAttribute("size") || "small", t = this.getAttribute("color"), l = t && {
16
+ default: "var(--icon-color-default)",
17
+ inverted: "var(--icon-color-inverted)"
18
+ }[t] || t || "var(--icon-color-default)", i = {
19
+ "xx-small": "1.3rem",
20
+ "x-small": "1.6rem",
21
+ small: "2.1rem",
22
+ medium: "2.4rem",
23
+ large: "2.8rem"
24
+ }, s = i[e] ?? i.small;
25
+ this.classList.add("mui-icon"), this.shadowRoot && (this.shadowRoot.innerHTML = /*html*/
26
+ `
27
+ <style>
28
+ :host {
29
+ width: ${s};
30
+ height: ${s};
31
+ display: inline-flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ fill: ${l};
35
+ }
36
+ svg {
37
+ width: 100%;
38
+ display: block;
39
+ fill: inherit;
40
+ }
41
+ </style>
42
+
43
+ <svg
44
+ xmlns="http://www.w3.org/2000/svg"
45
+ viewBox="0 0 36 36"
46
+ >
47
+ <path
48
+ d="M10.975 9.318V6.154q0-2.147 1.13-3.29 1.143-1.143 3.277-1.143h4.558q1.23 0 2.185.352a4.6 4.6 0 0 1 1.732 1.13l6.115 6.253q.803.828 1.142 1.795.34.954.34 2.336v9.517q0 2.147-1.143 3.29-1.13 1.142-3.265 1.142H24.51v-3.24h2.135q.803 0 1.18-.389.39-.401.39-1.167v-9.794h-4.948q-1.293 0-2.021-.715-.716-.729-.716-2.022V4.961h-4.759q-.79 0-1.18.402-.377.39-.377 1.155v2.8zm12.016.565q0 .314.138.464.15.138.465.138h3.779L22.99 6.053zM4.546 29.846V12.91q0-2.148 1.13-3.29Q6.82 8.476 8.954 8.476h4.281q1.269 0 2.11.277.854.263 1.682 1.117l6.604 6.667q.566.578.867 1.13.3.54.414 1.206.113.652.113 1.57v9.403q0 2.147-1.143 3.29-1.13 1.143-3.264 1.143H8.954q-2.135 0-3.278-1.143-1.13-1.13-1.13-3.29m3.24-.351q0 .753.377 1.142.388.402 1.18.402h10.886q.79 0 1.167-.402.39-.39.39-1.142V21.07H15.96q-1.633 0-2.424-.779-.79-.79-.79-2.435v-6.14h-3.39q-.804 0-1.193.402-.378.39-.377 1.142zM16.21 18.42h5.31l-6.114-6.19v5.386q0 .414.189.615.2.189.615.189"
49
+ ></path>
50
+ </svg>
51
+ `);
52
+ }
53
+ }
54
+ customElements.get("mui-icon-copy") || customElements.define("mui-icon-copy", r);
@@ -0,0 +1,5 @@
1
+ import { defineMuiIcon as a } from "../icon-helper/index.js";
2
+ a(
3
+ "mui-icon-fullscreen",
4
+ '<path d="M5 16.53a1.5 1.5 0 0 1 1.5 1.5v2.5H11a1.5 1.5 0 0 1 0 3H6a2.5 2.5 0 0 1-2.5-2.5v-3a1.5 1.5 0 0 1 1.5-1.5m18 0a1.5 1.5 0 0 1 1.5 1.5v3a2.5 2.5 0 0 1-2.5 2.5h-5a1.5 1.5 0 0 1 0-3h4.5v-2.5a1.5 1.5 0 0 1 1.5-1.5m-12-12a1.5 1.5 0 0 1 0 3H6.5v2.5a1.5 1.5 0 0 1-3 0v-3A2.5 2.5 0 0 1 6 4.53zm11 0a2.5 2.5 0 0 1 2.5 2.5v3a1.5 1.5 0 0 1-3 0v-2.5H17a1.5 1.5 0 0 1 0-3z"></path>'
5
+ );
@@ -0,0 +1,56 @@
1
+ function d(i, l, r = "0 0 28 28") {
2
+ class n extends HTMLElement {
3
+ static get observedAttributes() {
4
+ return ["size", "color"];
5
+ }
6
+ constructor() {
7
+ super(), this.attachShadow({ mode: "open" });
8
+ }
9
+ connectedCallback() {
10
+ this.render();
11
+ }
12
+ attributeChangedCallback(e, t, s) {
13
+ (e === "size" || e === "color") && t !== s && this.render();
14
+ }
15
+ render() {
16
+ const e = this.getAttribute("size") || "small", t = this.getAttribute("color"), c = t && {
17
+ default: "var(--icon-color-default)",
18
+ inverted: "var(--icon-color-inverted)"
19
+ }[t] || t || "var(--icon-color-default)", o = {
20
+ "xx-small": "1.3rem",
21
+ "x-small": "1.6rem",
22
+ small: "2.1rem",
23
+ medium: "2.4rem",
24
+ large: "2.8rem",
25
+ "x-large": "3.6rem",
26
+ "xx-large": "4.8rem"
27
+ };
28
+ this.classList.add("mui-icon"), this.shadowRoot && (this.shadowRoot.innerHTML = /*html*/
29
+ `
30
+ <style>
31
+ :host {
32
+ width: ${o[e] ?? o.small};
33
+ height: ${o[e] ?? o.small};
34
+ display: inline-flex;
35
+ align-items: center;
36
+ justify-content: center;
37
+ fill: ${c};
38
+ }
39
+ svg {
40
+ width: 100%;
41
+ display: block;
42
+ fill: inherit;
43
+ }
44
+ </style>
45
+
46
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="${r}">
47
+ ${l}
48
+ </svg>
49
+ `);
50
+ }
51
+ }
52
+ customElements.get(i) || customElements.define(i, n);
53
+ }
54
+ export {
55
+ d as defineMuiIcon
56
+ };
@@ -39,9 +39,22 @@ import "./ai/index.js";
39
39
  import "./rectangle/index.js";
40
40
  import "./rectangle-media-text/index.js";
41
41
  import "./rectangle-dashed/index.js";
42
+ import "./fullscreen/index.js";
42
43
  import "./rectangle-left-drawer/index.js";
43
- import "./rectangle-bottom-panel/index.js";
44
+ import "./rectangle-right-drawer/index.js";
45
+ import "./panel/index.js";
46
+ import "./pause/index.js";
47
+ import "./picture-in-picture/index.js";
48
+ import "./play-fill/index.js";
49
+ import "./reload/index.js";
50
+ import "./speaker-mute/index.js";
51
+ import "./speaker-one-wave/index.js";
52
+ import "./speaker-two-wave/index.js";
53
+ import "./stop-fill/index.js";
44
54
  import "./pin/index.js";
45
55
  import "./pin-slash/index.js";
46
56
  import "./text-below-folder/index.js";
47
57
  import "./spinner/index.js";
58
+ import "./vertical-ellipsis/index.js";
59
+ import "./timer/index.js";
60
+ import "./copy/index.js";
@@ -44,9 +44,11 @@ class r extends HTMLElement {
44
44
  xmlns="http://www.w3.org/2000/svg"
45
45
  viewBox="0 0 36 36"
46
46
  >
47
+
47
48
  <path
48
- d="M25.982 22.513c1.697 0 3.455-.32 4.465-.776.55-.274 1.024-.411 1.467-.411.643 0 1.086.456 1.086 1.157 0 .365-.107.867-.352 1.43C30.34 29.301 24.79 33 18.52 33 9.62 33 3 26.531 3 17.657c0-6.27 3.807-12.054 9.572-14.368.49-.198.933-.289 1.284-.289.765 0 1.223.518 1.223 1.187 0 .396-.137.853-.397 1.37-.596 1.142-.963 3.227-.963 5.069 0 7.351 4.724 11.887 12.263 11.887"
49
+ d="M24.96 21.953c1.48 0 3.014-.28 3.893-.68.48-.24.894-.36 1.28-.36.56 0 .947.4.947 1.014 0 .32-.093.76-.306 1.253-2.014 4.72-6.854 7.96-12.32 7.96-7.76 0-13.534-5.667-13.534-13.44 0-5.493 3.32-10.56 8.347-12.587.426-.173.813-.253 1.12-.253.666 0 1.066.453 1.066 1.04 0 .346-.12.746-.346 1.2-.52 1-.84 2.827-.84 4.44 0 6.44 4.12 10.413 10.693 10.413"
49
50
  ></path>
51
+
50
52
  </svg>
51
53
 
52
54
 
@@ -12,7 +12,7 @@ class s extends HTMLElement {
12
12
  (e === "size" || e === "color") && t !== l && this.render();
13
13
  }
14
14
  render() {
15
- const e = this.getAttribute("size") || "small", t = this.getAttribute("color"), i = t && {
15
+ const e = this.getAttribute("size") || "small", t = this.getAttribute("color"), o = t && {
16
16
  default: "var(--icon-color-default)",
17
17
  inverted: "var(--icon-color-inverted)"
18
18
  }[t] || t || "var(--icon-color-default)", c = {
@@ -21,17 +21,17 @@ class s extends HTMLElement {
21
21
  small: "2.1rem",
22
22
  medium: "2.4rem",
23
23
  large: "2.8rem"
24
- }, o = c[e] ?? c.small;
24
+ }, i = c[e] ?? c.small;
25
25
  this.classList.add("mui-icon"), this.shadowRoot && (this.shadowRoot.innerHTML = /*html*/
26
26
  `
27
27
  <style>
28
28
  :host {
29
- width: ${o};
30
- height: ${o};
29
+ width: ${i};
30
+ height: ${i};
31
31
  display: inline-flex;
32
32
  align-items: center;
33
33
  justify-content: center;
34
- fill: ${i};
34
+ fill: ${o};
35
35
  }
36
36
  svg {
37
37
  width: 100%;
@@ -56,4 +56,4 @@ class s extends HTMLElement {
56
56
  `);
57
57
  }
58
58
  }
59
- customElements.get("mui-icon-rectangle-bottom-panel") || customElements.define("mui-icon-rectangle-bottom-panel", s);
59
+ customElements.get("mui-icon-panel") || customElements.define("mui-icon-panel", s);
@@ -0,0 +1,5 @@
1
+ import { defineMuiIcon as q } from "../icon-helper/index.js";
2
+ q(
3
+ "mui-icon-pause",
4
+ '<path d="M9.342 22.076q-.645 0-.977-.332-.322-.332-.322-.976V7.223q0-.645.322-.967.332-.332.977-.332h2.226q.636 0 .967.312.333.313.332.987v13.545q0 .645-.332.976-.331.332-.967.332zm7.1 0q-.645 0-.977-.332-.333-.332-.332-.976V7.223q0-.645.332-.967.332-.332.976-.332h2.217q.645 0 .967.312.332.313.332.987v13.545q0 .645-.332.976-.322.332-.967.332z"></path>'
5
+ );
@@ -0,0 +1,5 @@
1
+ import { defineMuiIcon as c } from "../icon-helper/index.js";
2
+ c(
3
+ "mui-icon-picture-in-picture",
4
+ '<path d="M25.665 19.47a4 4 0 0 1-4 4H6.335a4 4 0 0 1-4-4V8.53a4 4 0 0 1 4-4h15.33a4 4 0 0 1 4 4zM6.335 7.53a1 1 0 0 0-1 1v10.94a1 1 0 0 0 1 1h15.33a1 1 0 0 0 1-1V8.53a1 1 0 0 0-1-1z"></path><path d="M17.999 17.301v2h-2.998v-2zM19.5 15.8c0-.744-.003-1.152-.032-1.441l-.004-.025-.024-.003c-.29-.03-.697-.032-1.441-.032h-2.998c-.744 0-1.152.003-1.441.032l-.025.003-.003.025c-.03.29-.032.697-.032 1.441s.003 1.152.032 1.441l.003.024q.012.001.025.004c.29.03.697.032 1.441.032v2l-.93-.006c-.747-.014-1.22-.069-1.586-.272l-.096-.06a2 2 0 0 1-.435-.393l-.116-.158c-.253-.378-.317-.868-.333-1.682l-.005-.93c0-1.318 0-2.017.278-2.516l.06-.096a2 2 0 0 1 .393-.435l.158-.116c.378-.253.868-.317 1.681-.333l.931-.005h2.998c1.405 0 2.108 0 2.612.338.218.146.405.333.551.55.338.505.338 1.208.338 2.613l-.005.93c-.016.814-.08 1.304-.333 1.682l-.116.158a2 2 0 0 1-.435.393c-.378.253-.868.316-1.681.332l-.931.006v-2c.744 0 1.152-.003 1.441-.032l.024-.004q.001-.011.004-.024c.03-.29.032-.697.032-1.441"></path>'
5
+ );
@@ -0,0 +1,5 @@
1
+ import { defineMuiIcon as i } from "../icon-helper/index.js";
2
+ i(
3
+ "mui-icon-play-fill",
4
+ '<path d="M7 20.97V6.093q0-.803.397-1.178.396-.386.943-.386.482 0 .986.278l12.484 7.299q.664.386.922.696.268.3.268.729 0 .417-.268.729-.257.31-.922.696L9.326 22.255q-.504.279-.986.279-.548 0-.943-.386Q7 21.763 7 20.969"></path>'
5
+ );
@@ -0,0 +1,56 @@
1
+ class l extends HTMLElement {
2
+ static get observedAttributes() {
3
+ return ["size", "color"];
4
+ }
5
+ constructor() {
6
+ super(), this.attachShadow({ mode: "open" });
7
+ }
8
+ connectedCallback() {
9
+ this.render();
10
+ }
11
+ attributeChangedCallback(t, e, i) {
12
+ (t === "size" || t === "color") && e !== i && this.render();
13
+ }
14
+ render() {
15
+ const t = this.getAttribute("size") || "small", e = this.getAttribute("color"), s = e && {
16
+ default: "var(--icon-color-default)",
17
+ inverted: "var(--icon-color-inverted)"
18
+ }[e] || e || "var(--icon-color-default)", r = {
19
+ "xx-small": "1.3rem",
20
+ "x-small": "1.6rem",
21
+ small: "2.1rem",
22
+ medium: "2.4rem",
23
+ large: "2.8rem"
24
+ }, o = r[t] ?? r.small;
25
+ this.classList.add("mui-icon"), this.shadowRoot && (this.shadowRoot.innerHTML = /*html*/
26
+ `
27
+ <style>
28
+ :host {
29
+ width: ${o};
30
+ height: ${o};
31
+ display: inline-flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ fill: ${s};
35
+ }
36
+ svg {
37
+ width: 100%;
38
+ display: block;
39
+ fill: inherit;
40
+ }
41
+ </style>
42
+
43
+ <svg
44
+ xmlns="http://www.w3.org/2000/svg"
45
+ viewBox="0 0 36 36"
46
+ >
47
+ <path
48
+ d="M8.145 30.177a5.143 5.143 0 0 1-5.143-5.143V10.966a5.143 5.143 0 0 1 5.143-5.143h19.71a5.143 5.143 0 0 1 5.143 5.143v14.068a5.143 5.143 0 0 1-5.143 5.143zM20.947 9.68H8.145c-.71 0-1.285.576-1.286 1.285v14.067c0 .71.576 1.285 1.286 1.285h12.802zm6.908 16.637c.71 0 1.286-.576 1.286-1.286V10.966c0-.71-.576-1.285-1.286-1.285h-4.337v16.637z"
49
+ ></path>
50
+ </svg>
51
+
52
+
53
+ `);
54
+ }
55
+ }
56
+ customElements.get("mui-icon-rectangle-right-drawer") || customElements.define("mui-icon-rectangle-right-drawer", l);
@@ -0,0 +1,5 @@
1
+ import { defineMuiIcon as a } from "../icon-helper/index.js";
2
+ a(
3
+ "mui-icon-reload",
4
+ '<path d="M10.849 3.93q.368-.07.735.109l4.348 2.102q.375.165.463.565a.8.8 0 0 1-.181.717l-3.065 3.725q-.258.315-.622.407a.94.94 0 0 1-.675-.088q-.308-.17-.41-.633l-.142-.65-.123-.555q-.754.41-1.364 1.014h-.001q-.81.81-1.268 1.887a5.8 5.8 0 0 0-.457 2.296 5.8 5.8 0 0 0 .457 2.295l.12.263a6 6 0 0 0 1.149 1.624l.207.198a6 6 0 0 0 1.681 1.072q1.073.456 2.295.457 1.23 0 2.295-.457a5.9 5.9 0 0 0 1.888-1.269l.197-.208a6 6 0 0 0 1.072-1.68q.465-1.073.466-2.295 0-.79-.184-1.485a5.5 5.5 0 0 0-.545-1.339 7 7 0 0 0-.888-1.217l-.004-.004a2.5 2.5 0 0 1-.593-1.227c-.078-.48.08-.916.444-1.292a1.6 1.6 0 0 1 1.2-.493c.487.007.93.233 1.328.642l.212.222a8.7 8.7 0 0 1 1.23 1.722q.578 1.05.866 2.197.289 1.136.289 2.274A9.1 9.1 0 0 1 22.717 18l-.17.424a9.4 9.4 0 0 1-1.993 2.942 9.3 9.3 0 0 1-2.951 2.003 9.05 9.05 0 0 1-3.607.721 9 9 0 0 1-3.598-.721 9.3 9.3 0 0 1-2.627-1.69l-.325-.312a9.3 9.3 0 0 1-1.803-2.532l-.19-.41a9 9 0 0 1-.722-3.6q0-1.915.722-3.598a9.35 9.35 0 0 1 4.953-4.944l.03-.013-.265-1.209q-.104-.474.102-.769a.87.87 0 0 1 .576-.363"></path>'
5
+ );
@@ -0,0 +1,5 @@
1
+ import { defineMuiIcon as q } from "../icon-helper/index.js";
2
+ q(
3
+ "mui-icon-speaker-mute",
4
+ '<path d="M15.44 22.5q-.493 0-.903-.197-.402-.187-.867-.616l-3.432-3.191a.24.24 0 0 0-.134-.036H7.699q-1.305 0-2.002-.733T5 15.645v-3.29q0-1.35.697-2.073.697-.733 2.002-.733h2.414q.053 0 .134-.063l3.423-3.164q.483-.447.894-.634.411-.188.867-.188.768 0 1.287.527.518.519.518 1.278v13.398q0 .76-.518 1.279a1.74 1.74 0 0 1-1.278.518m6.103-5.602q-.36.36-.86.354a1.2 1.2 0 0 1-.859-.379 1.24 1.24 0 0 1-.385-.866q0-.493.36-.853l4.07-4.07q.367-.367.853-.36.493.012.866.385t.38.86q.012.492-.355.86zm-1.744-4.07a1.15 1.15 0 0 1-.36-.853q.012-.493.385-.866.373-.372.86-.38.492-.012.86.355l4.07 4.07q.36.36.347.853 0 .493-.373.866t-.872.38a1.14 1.14 0 0 1-.847-.355z"></path>'
5
+ );
@@ -0,0 +1,5 @@
1
+ import { defineMuiIcon as a } from "../icon-helper/index.js";
2
+ a(
3
+ "mui-icon-speaker-one-wave",
4
+ '<path d="M15.44 22.5q-.493 0-.903-.197-.402-.187-.867-.616l-3.432-3.191a.24.24 0 0 0-.134-.036H7.699q-1.305 0-2.002-.733T5 15.645v-3.29q0-1.35.697-2.073.697-.733 2.002-.733h2.414q.053 0 .134-.063l3.423-3.164q.483-.447.894-.634.411-.188.867-.188.768 0 1.287.527.518.519.518 1.278v13.398q0 .76-.518 1.279a1.74 1.74 0 0 1-1.278.518m3.79-3.825a1.36 1.36 0 0 1-.671-.975q-.108-.634.366-1.465.287-.492.438-1.064.153-.572.152-1.18 0-.607-.152-1.18a4.1 4.1 0 0 0-.438-1.063q-.482-.831-.375-1.466.116-.644.68-.974a1.5 1.5 0 0 1 1.09-.215q.572.107.884.536a7.6 7.6 0 0 1 1.002 2.038q.366 1.11.366 2.324 0 1.215-.366 2.324a7.4 7.4 0 0 1-1.001 2.02 1.33 1.33 0 0 1-.885.554 1.56 1.56 0 0 1-1.09-.214"></path>'
5
+ );