@muibook/components 12.0.0 → 13.0.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/dist/esm/css/mui-brand.css +1 -1
- package/dist/esm/custom-elements.json +754 -754
- package/dist/esm/index.js +4 -5
- package/dist/types/index.d.ts +0 -1
- package/package.json +4 -12
- package/dist/esm/components/mui-markdown/index.js +0 -389
- package/dist/types/components/mui-agent-bubble/doc.d.ts +0 -2
- package/dist/types/components/mui-agent-bubble/index.d.ts +0 -1
- package/dist/types/components/mui-agent-prompt/doc.d.ts +0 -2
- package/dist/types/components/mui-agent-prompt/index.d.ts +0 -1
- package/dist/types/components/mui-form-group-horizontal/index.d.ts +0 -1
- package/dist/types/components/mui-markdown/doc.d.ts +0 -2
- package/dist/types/components/mui-markdown/index.d.ts +0 -1
- package/dist/types/components/mui-prompt-chip/index.d.ts +0 -1
- package/dist/types/components/mui-slat/accessory/index.d.ts +0 -1
- package/dist/types/tokens/js/mui-brand.d.ts +0 -140
|
@@ -2,36 +2,6 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
4
|
"modules": [
|
|
5
|
-
{
|
|
6
|
-
"kind": "javascript-module",
|
|
7
|
-
"path": "src/components/mui-accordion/doc.ts",
|
|
8
|
-
"declarations": [
|
|
9
|
-
{
|
|
10
|
-
"kind": "variable",
|
|
11
|
-
"name": "muiDocs",
|
|
12
|
-
"type": {
|
|
13
|
-
"text": "MuiDocs"
|
|
14
|
-
},
|
|
15
|
-
"default": "{ Accordion: { title: \"Accordion\", description: \"A collapsible container used to reveal sections of related content. Useful for progressive disclosure, especially when space is limited or the content is secondary. On smaller viewports, accordions can replace tables to group and reveal related rows of data.\", hero: [ \"https://images.ctfassets.net/i5uwscj4pkk2/1TykTEhPNTJlZdyzqAayEH/b5293336f033020bbcef964db811cdd3/Accordion_-_Home_Image.png\", ], figma: [ \"https://www.figma.com/design/l0mt1lXu97XoHJCEdnrWLp/Mui-Design-System?node-id=958-8558&t=0ytskb8cxriEmdz2-1\", ], storybook: [\"https://stories.muibook.com/?path=/docs/content-accordion--docs\"], website: [\"https://muibook.com/#/accordion\"], guides: [\"https://guides.muibook.com/accordion\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-accordion/index.ts\"], usage: { list: [ \"Use to progressively reveal grouped or secondary content.\", \"Can replace tables on small viewports when content is grouped by row.\", \"Ideal for mobile or narrow layouts where space is constrained.\", \"Stack, slat, or grid layouts can be used inside an accordion for custom structures.\", ], }, accessibility: { designerList: [ \"Accordion summary uses role='button' and tabindex='0' for keyboard access.\", \"Supports Enter and Space keys for toggling.\", \"aria-expanded reflects open/closed state.\", \"aria-controls links summary to detail with a unique ID.\", \"mui-heading applies semantic heading with role='heading' and aria-level.\", \"Chevron icon rotates visually and the state is conveyed via aria-expanded.\", ], engineerList: [ \"Accordion summary uses role='button' and tabindex='0' for keyboard access.\", \"Supports Enter and Space keys for toggling.\", \"aria-expanded reflects open/closed state.\", \"aria-controls links summary to detail with a unique ID.\", \"mui-heading applies semantic heading with role='heading' and aria-level.\", \"Chevron icon rotates visually and the state is conveyed via aria-expanded.\", ], }, anatomy: { list: [ \"Heading: Provides the accordion with a heading\", \"Icon: A chevron icon that indicates the state of the Accordion\", \"Detail: Define the detail content for the expanded section within the Accordion.\", ], image: \"https://images.ctfassets.net/i5uwscj4pkk2/4JgAhsxwz3YOt28fLTVgDB/b404f3407eb06e2f26a196da04f7d217/Accordion_-_Anatomy.png\", }, variants: { items: [ { key: \"accordion-block\", title: \"Accordion Block\", description: \"The block accordion is typically used within a page layout full-width to the parent container.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/1L2XfteVwNBQcFlddTYmfi/c791eb538285e2cfb919342e84228811/accordion-block_-_Variants.png\", }, { key: \"accordion-inline\", title: \"Accordion Inline\", description: \"The inline accordion is typically used within a block layout as a secondary UI element to a block element.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/RMnvBLRsW3Vvq9V3yaTcW/86afba39ed0b7ffc00d0033b1b1bfd07/accordion_inline_-_Variants.png\", }, ], }, compositions: { description: \"Showcases actual use cases, demonstrating how the component fits into real-world UI scenarios.\", items: [ { key: \"menu-groups\", name: \"Menu Groups\", description: \"Accordions can be used in menus to collapse and expand groups of related items, helping keep navigation organized and reducing visual clutter.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/zFHrSdH3CYbZXOv8WFKkL/90cad70c32b40fca61a875263d4cc366/accordion_menu_-_composition.png\", }, { key: \"code-snippets\", name: \"Code snippets\", description: \"An accordion in a card footer allows code snippets or supporting details to be revealed on demand, keeping the card compact while still providing access to additional information.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/7FKVgkCxv3UenOQTC9Tr4R/25c357aceea16b169c48775d7363df1d/accordion_card_footer_-_composition.png\", }, { key: \"account-activity\", name: \"Account Activity (Accordion + Card)\", description: \"Accordions can split account activity into segments, such as by year, with the ability to expand each section for detailed transactions. This makes large sets of data easier to scan and navigate.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/4PEUUHgxpuDM6nDgdGOotY/bf078e07bc3fbabf07f03b99800e5306/accordion_card_body_-_composition.png\", }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [ { description: \"\", image: \"\" }, { description: \"\", image: \"\" }, ], dontContent: [{ description: \"\" }, { description: \"\" }], }, ], behaviour: { list: [\"\"], }, writing: { list: [\"\"], }, related: { items: [ { name: \"Card\", link: \"https://guides.muibook.com/card\" }, { name: \"Slat\", link: \"https://guides.muibook.com/slat\" }, ], }, }, }"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"exports": [
|
|
19
|
-
{
|
|
20
|
-
"kind": "js",
|
|
21
|
-
"name": "muiDocs",
|
|
22
|
-
"declaration": {
|
|
23
|
-
"name": "muiDocs",
|
|
24
|
-
"module": "src/components/mui-accordion/doc.ts"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"kind": "javascript-module",
|
|
31
|
-
"path": "src/components/mui-accordion/index.ts",
|
|
32
|
-
"declarations": [],
|
|
33
|
-
"exports": []
|
|
34
|
-
},
|
|
35
5
|
{
|
|
36
6
|
"kind": "javascript-module",
|
|
37
7
|
"path": "src/components/mui-addon/doc.ts",
|
|
@@ -103,7 +73,7 @@
|
|
|
103
73
|
},
|
|
104
74
|
{
|
|
105
75
|
"kind": "javascript-module",
|
|
106
|
-
"path": "src/components/mui-
|
|
76
|
+
"path": "src/components/mui-accordion/doc.ts",
|
|
107
77
|
"declarations": [
|
|
108
78
|
{
|
|
109
79
|
"kind": "variable",
|
|
@@ -111,7 +81,7 @@
|
|
|
111
81
|
"type": {
|
|
112
82
|
"text": "MuiDocs"
|
|
113
83
|
},
|
|
114
|
-
"default": "{
|
|
84
|
+
"default": "{ Accordion: { title: \"Accordion\", description: \"A collapsible container used to reveal sections of related content. Useful for progressive disclosure, especially when space is limited or the content is secondary. On smaller viewports, accordions can replace tables to group and reveal related rows of data.\", hero: [ \"https://images.ctfassets.net/i5uwscj4pkk2/1TykTEhPNTJlZdyzqAayEH/b5293336f033020bbcef964db811cdd3/Accordion_-_Home_Image.png\", ], figma: [ \"https://www.figma.com/design/l0mt1lXu97XoHJCEdnrWLp/Mui-Design-System?node-id=958-8558&t=0ytskb8cxriEmdz2-1\", ], storybook: [\"https://stories.muibook.com/?path=/docs/content-accordion--docs\"], website: [\"https://muibook.com/#/accordion\"], guides: [\"https://guides.muibook.com/accordion\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-accordion/index.ts\"], usage: { list: [ \"Use to progressively reveal grouped or secondary content.\", \"Can replace tables on small viewports when content is grouped by row.\", \"Ideal for mobile or narrow layouts where space is constrained.\", \"Stack, slat, or grid layouts can be used inside an accordion for custom structures.\", ], }, accessibility: { designerList: [ \"Accordion summary uses role='button' and tabindex='0' for keyboard access.\", \"Supports Enter and Space keys for toggling.\", \"aria-expanded reflects open/closed state.\", \"aria-controls links summary to detail with a unique ID.\", \"mui-heading applies semantic heading with role='heading' and aria-level.\", \"Chevron icon rotates visually and the state is conveyed via aria-expanded.\", ], engineerList: [ \"Accordion summary uses role='button' and tabindex='0' for keyboard access.\", \"Supports Enter and Space keys for toggling.\", \"aria-expanded reflects open/closed state.\", \"aria-controls links summary to detail with a unique ID.\", \"mui-heading applies semantic heading with role='heading' and aria-level.\", \"Chevron icon rotates visually and the state is conveyed via aria-expanded.\", ], }, anatomy: { list: [ \"Heading: Provides the accordion with a heading\", \"Icon: A chevron icon that indicates the state of the Accordion\", \"Detail: Define the detail content for the expanded section within the Accordion.\", ], image: \"https://images.ctfassets.net/i5uwscj4pkk2/4JgAhsxwz3YOt28fLTVgDB/b404f3407eb06e2f26a196da04f7d217/Accordion_-_Anatomy.png\", }, variants: { items: [ { key: \"accordion-block\", title: \"Accordion Block\", description: \"The block accordion is typically used within a page layout full-width to the parent container.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/1L2XfteVwNBQcFlddTYmfi/c791eb538285e2cfb919342e84228811/accordion-block_-_Variants.png\", }, { key: \"accordion-inline\", title: \"Accordion Inline\", description: \"The inline accordion is typically used within a block layout as a secondary UI element to a block element.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/RMnvBLRsW3Vvq9V3yaTcW/86afba39ed0b7ffc00d0033b1b1bfd07/accordion_inline_-_Variants.png\", }, ], }, compositions: { description: \"Showcases actual use cases, demonstrating how the component fits into real-world UI scenarios.\", items: [ { key: \"menu-groups\", name: \"Menu Groups\", description: \"Accordions can be used in menus to collapse and expand groups of related items, helping keep navigation organized and reducing visual clutter.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/zFHrSdH3CYbZXOv8WFKkL/90cad70c32b40fca61a875263d4cc366/accordion_menu_-_composition.png\", }, { key: \"code-snippets\", name: \"Code snippets\", description: \"An accordion in a card footer allows code snippets or supporting details to be revealed on demand, keeping the card compact while still providing access to additional information.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/7FKVgkCxv3UenOQTC9Tr4R/25c357aceea16b169c48775d7363df1d/accordion_card_footer_-_composition.png\", }, { key: \"account-activity\", name: \"Account Activity (Accordion + Card)\", description: \"Accordions can split account activity into segments, such as by year, with the ability to expand each section for detailed transactions. This makes large sets of data easier to scan and navigate.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/4PEUUHgxpuDM6nDgdGOotY/bf078e07bc3fbabf07f03b99800e5306/accordion_card_body_-_composition.png\", }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [ { description: \"\", image: \"\" }, { description: \"\", image: \"\" }, ], dontContent: [{ description: \"\" }, { description: \"\" }], }, ], behaviour: { list: [\"\"], }, writing: { list: [\"\"], }, related: { items: [ { name: \"Card\", link: \"https://guides.muibook.com/card\" }, { name: \"Slat\", link: \"https://guides.muibook.com/slat\" }, ], }, }, }"
|
|
115
85
|
}
|
|
116
86
|
],
|
|
117
87
|
"exports": [
|
|
@@ -120,84 +90,155 @@
|
|
|
120
90
|
"name": "muiDocs",
|
|
121
91
|
"declaration": {
|
|
122
92
|
"name": "muiDocs",
|
|
123
|
-
"module": "src/components/mui-
|
|
93
|
+
"module": "src/components/mui-accordion/doc.ts"
|
|
124
94
|
}
|
|
125
95
|
}
|
|
126
96
|
]
|
|
127
97
|
},
|
|
128
98
|
{
|
|
129
99
|
"kind": "javascript-module",
|
|
130
|
-
"path": "src/components/mui-
|
|
100
|
+
"path": "src/components/mui-accordion/index.ts",
|
|
101
|
+
"declarations": [],
|
|
102
|
+
"exports": []
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"kind": "javascript-module",
|
|
106
|
+
"path": "src/components/mui-alert/doc.ts",
|
|
107
|
+
"declarations": [
|
|
108
|
+
{
|
|
109
|
+
"kind": "variable",
|
|
110
|
+
"name": "muiDocs",
|
|
111
|
+
"type": {
|
|
112
|
+
"text": "MuiDocs"
|
|
113
|
+
},
|
|
114
|
+
"default": "{ Alert: { title: \"Alert\", description: \"Alerts surface meaningful system messages related to the users' current task or action.\", hero: [ \"https://images.ctfassets.net/i5uwscj4pkk2/7GnGBCbpMF3wyjCDC06hX7/24739b86a907d15400fe8e9e240a9619/Alert_-_Home_Image.png\", ], figma: [ \"https://www.figma.com/design/l0mt1lXu97XoHJCEdnrWLp/Mui-Design-System?node-id=3-4444&t=ZA9uH4LK37tSuk6r-1\", ], guides: [\"https://guides.muibook.com/alert\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-alert/index.ts\"], storybook: [\"https://stories.muibook.com/?path=/docs/feedback-alert--docs\"], website: [\"https://muibook.com/#/alert\"], usage: { list: [ \"Success: Confirm completed actions such as form submissions, data saves, or task completion.\", \"Info: For sharing new features, updates, contextual tips, or non-urgent system statuses.\", \"Warning: Alert users to unsaved changes, deprecated features, or risky actions.\", \"Error: Alert users of form validation issues, system failures, or tasks that need attention.\", ], }, accessibility: { designerList: [ \"ARIA-live is built in, using POLITE + ASSERTIVE for screen readers.\", \"The role is set to ALERT for immediate screen reader feedback.\", ], engineerList: [ \"ARIA-live is built in, using POLITE + ASSERTIVE for screen readers.\", \"The role is set to ALERT for immediate screen reader feedback.\", ], }, anatomy: { list: [ \"Preset icon: Communicates the type of alert visually. E.g. info, success, warning, error.\", \"Preset title: Provides a clear, predefined heading that reflects the alert’s purpose.\", \"Customisable text: Allows for specific details or guidance relevant to the situation.\", ], image: \"https://images.ctfassets.net/i5uwscj4pkk2/17j3DxAFlne6rvMi6QUXqZ/aedab2c349c8f8b0a8414b41132cda51/Alert_-_Anatomy.png\", }, variants: { items: [ { key: \"success\", title: \"Success\", description: \"Indicates that an operation or action has been completed successfully. Use this variant for scenarios such as form submissions processed without errors, successful data updates or saves, and confirmations of completed tasks or actions. For accessibility, this variant uses an aria-live value of polite.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/2EbJsP3GZ98WPOiF4PbGh2/bc3e020b37b73f949be745e4e26b6e5a/alert-success.png\", }, { key: \"info\", title: \"Info\", description: \"Provides general information or updates that are helpful but not critical. This variant is used for announcing new features or updates, offering contextual information or tips, and informing users about non-urgent system statuses. For accessibility, it uses an aria-live value of polite.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/1SDh1JVNouysPHylu9lTUj/6793dd8aa854d08045c2159b450b762c/alert-info.png\", }, { key: \"warning\", title: \"Warning\", description: \"Alerts users to potential issues or situations that require caution. Common use cases include notifying about unsaved changes, indicating deprecated features or upcoming changes, and highlighting actions that may have unintended consequences. For accessibility, this variant uses an aria-live value of assertive.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/2zympGRb3wlU5P36FsKWsL/dd9bde33646345e65d5bff505d512e22/alert-warning.png\", }, { key: \"error\", title: \"Error\", description: \"Indicates that an error has occurred, requiring user attention or action. This variant is typically used for form validation errors, system failures or exceptions, and failed operations or transactions. For accessibility, it uses an aria-live value of assertive.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/zOH2Xinum4ZjIv3qp6LJM/180a2306dd624b6bc2fa55c0ad81ea0e/alert-error.png\", }, ], }, compositions: { description: \"Showcases actual use cases, demonstrating how the component fits into real-world UI scenarios.\", items: [ { key: \"ai-playground-error-1\", name: \"AI Playground (Error)\", description: \"Demonstrates the Muiplay AI Playground showing a floating error positioned close to the field where a prompt is required to generate a task.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/40RfRPVAN9dvWO7UFuIiUC/52de3cffd69a5bcc2e457f8de03bb9cf/Play-Alert-Composition.png\", }, { key: \"ai-playground-error-2\", name: \"AI Playground (Error)\", description: \"Demonstrates the Muiplay AI Playground showing a floating error positioned close to the field where a prompt is required to generate a task.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/40RfRPVAN9dvWO7UFuIiUC/52de3cffd69a5bcc2e457f8de03bb9cf/Play-Alert-Composition.png\", }, ], }, related: { items: [ { name: \"Message\", link: \"https://guides.muibook.com/message\" }, { name: \"Link\", link: \"https://guides.muibook.com/link\" }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [ { description: \"\", image: \"\" }, { description: \"\", image: \"\" }, ], dontContent: [{ description: \"\" }, { description: \"\" }], }, ], behaviour: { list: [\"\"], }, writing: { list: [\"\"], }, }, }"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"exports": [
|
|
118
|
+
{
|
|
119
|
+
"kind": "js",
|
|
120
|
+
"name": "muiDocs",
|
|
121
|
+
"declaration": {
|
|
122
|
+
"name": "muiDocs",
|
|
123
|
+
"module": "src/components/mui-alert/doc.ts"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"kind": "javascript-module",
|
|
130
|
+
"path": "src/components/mui-alert/index.ts",
|
|
131
131
|
"declarations": [
|
|
132
132
|
{
|
|
133
133
|
"kind": "class",
|
|
134
134
|
"description": "",
|
|
135
|
-
"name": "
|
|
135
|
+
"name": "MuiAlert",
|
|
136
136
|
"members": [
|
|
137
137
|
{
|
|
138
138
|
"kind": "field",
|
|
139
|
-
"name": "
|
|
139
|
+
"name": "actionSlotListener",
|
|
140
140
|
"type": {
|
|
141
|
-
"text": "
|
|
141
|
+
"text": "(() => void) | null"
|
|
142
142
|
},
|
|
143
|
-
"privacy": "private"
|
|
143
|
+
"privacy": "private",
|
|
144
|
+
"default": "null"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"kind": "field",
|
|
148
|
+
"name": "contentSlotListener",
|
|
149
|
+
"type": {
|
|
150
|
+
"text": "(() => void) | null"
|
|
151
|
+
},
|
|
152
|
+
"privacy": "private",
|
|
153
|
+
"default": "null"
|
|
144
154
|
},
|
|
145
155
|
{
|
|
146
156
|
"kind": "method",
|
|
147
|
-
"name": "
|
|
157
|
+
"name": "render"
|
|
148
158
|
},
|
|
149
159
|
{
|
|
150
160
|
"kind": "method",
|
|
151
|
-
"name": "
|
|
161
|
+
"name": "getAlertSize",
|
|
162
|
+
"privacy": "private",
|
|
163
|
+
"return": {
|
|
164
|
+
"type": {
|
|
165
|
+
"text": "AlertSize"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"kind": "method",
|
|
171
|
+
"name": "getInlineContentSize",
|
|
172
|
+
"privacy": "private",
|
|
173
|
+
"return": {
|
|
174
|
+
"type": {
|
|
175
|
+
"text": "string"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
152
178
|
"parameters": [
|
|
153
179
|
{
|
|
154
|
-
"name": "
|
|
180
|
+
"name": "size",
|
|
155
181
|
"type": {
|
|
156
|
-
"text": "
|
|
182
|
+
"text": "AlertSize"
|
|
157
183
|
}
|
|
158
184
|
}
|
|
159
185
|
]
|
|
160
186
|
},
|
|
161
187
|
{
|
|
162
188
|
"kind": "method",
|
|
163
|
-
"name": "
|
|
189
|
+
"name": "getActionControlSize",
|
|
190
|
+
"privacy": "private",
|
|
191
|
+
"return": {
|
|
192
|
+
"type": {
|
|
193
|
+
"text": "string"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"parameters": [
|
|
197
|
+
{
|
|
198
|
+
"name": "size",
|
|
199
|
+
"type": {
|
|
200
|
+
"text": "AlertSize"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
]
|
|
164
204
|
},
|
|
165
205
|
{
|
|
166
206
|
"kind": "method",
|
|
167
|
-
"name": "
|
|
207
|
+
"name": "setupActionSlot"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"kind": "method",
|
|
211
|
+
"name": "setupContentSlot"
|
|
168
212
|
}
|
|
169
213
|
],
|
|
170
214
|
"attributes": [
|
|
171
215
|
{
|
|
172
|
-
"name": "
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"name": "image"
|
|
216
|
+
"name": "variant"
|
|
176
217
|
},
|
|
177
218
|
{
|
|
178
|
-
"name": "
|
|
219
|
+
"name": "label"
|
|
179
220
|
},
|
|
180
221
|
{
|
|
181
|
-
"name": "
|
|
222
|
+
"name": "hide-label"
|
|
182
223
|
},
|
|
183
224
|
{
|
|
184
|
-
"name": "
|
|
225
|
+
"name": "size"
|
|
185
226
|
}
|
|
186
227
|
],
|
|
187
228
|
"superclass": {
|
|
188
229
|
"name": "HTMLElement"
|
|
189
230
|
},
|
|
190
|
-
"tagName": "mui-
|
|
231
|
+
"tagName": "mui-alert",
|
|
191
232
|
"customElement": true
|
|
192
233
|
}
|
|
193
234
|
],
|
|
194
235
|
"exports": [
|
|
195
236
|
{
|
|
196
237
|
"kind": "custom-element-definition",
|
|
197
|
-
"name": "mui-
|
|
238
|
+
"name": "mui-alert",
|
|
198
239
|
"declaration": {
|
|
199
|
-
"name": "
|
|
200
|
-
"module": "src/components/mui-
|
|
240
|
+
"name": "MuiAlert",
|
|
241
|
+
"module": "src/components/mui-alert/index.ts"
|
|
201
242
|
}
|
|
202
243
|
}
|
|
203
244
|
]
|
|
@@ -362,7 +403,7 @@
|
|
|
362
403
|
},
|
|
363
404
|
{
|
|
364
405
|
"kind": "javascript-module",
|
|
365
|
-
"path": "src/components/mui-
|
|
406
|
+
"path": "src/components/mui-avatar/doc.ts",
|
|
366
407
|
"declarations": [
|
|
367
408
|
{
|
|
368
409
|
"kind": "variable",
|
|
@@ -370,7 +411,7 @@
|
|
|
370
411
|
"type": {
|
|
371
412
|
"text": "MuiDocs"
|
|
372
413
|
},
|
|
373
|
-
"default": "{
|
|
414
|
+
"default": "{ Avatar: { title: \"Avatar\", description: \"Avatar components are used to represent users or entities visually, often through images, initials, or icons.\", hero: [\"https://images.ctfassets.net/i5uwscj4pkk2/2Qj1aPRsHVZZs6eF8XO6XC/54dd3c04d5a0ac379050cfa6f45d9732/Avatar_-_Home_Image.png\"], figma: [ \"https://www.figma.com/design/l0mt1lXu97XoHJCEdnrWLp/Mui-Design-System?node-id=1498-15366&t=2P2nhh7B70fl6xQ4-1\", ], storybook: [\"https://stories.muibook.com/?path=/docs/inputs-avatar--docs\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-avatar/index.ts\"], website: [\"https://muibook.com/#/avatar\"], guides: [\"https://guides.muibook.com/avatar\"], usage: { list: [ \"Represent a user or entity visually in lists, chats, comments, or profiles.\", \"Display a profile photo, initials, or icon associated with a person or object.\", \"Use in compact UI elements where space is limited (e.g., tables, cards).\", \"Pair with user metadata (name, role, status) for context.\", \"Indicate presence, status, or selection in collaborative interfaces.\", ], }, accessibility: { designerList: [ \"Avatars should always include an accessible label via the label attribute to ensure screen readers can convey their purpose.\", \"When using images, ensure they are clear and appropriately sized for the avatar component.\", \"For avatars representing users, consider using initials or icons when images are not available to maintain visual consistency.\", ], engineerList: [ \"Avatars should always include an accessible label via the label attribute to ensure screen readers can convey their purpose.\", \"When using images, ensure they are clear and appropriately sized for the avatar component.\", \"For avatars representing users, consider using initials or icons when images are not available to maintain visual consistency.\", ], }, anatomy: { image: \"\", list: [\"\"], }, variants: { items: [ { key: \"\", title: \"\", description: \"\", image: \"\", }, ], }, compositions: { description: \"\", items: [ { key: \"\", name: \"\", description: \"\", image: \"\", }, ], }, related: { items: [ { name: \"\", link: \"\", }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }], }, ], behaviour: { list: [\"\"], }, writing: { list: [\"\"], }, }, }"
|
|
374
415
|
}
|
|
375
416
|
],
|
|
376
417
|
"exports": [
|
|
@@ -379,125 +420,84 @@
|
|
|
379
420
|
"name": "muiDocs",
|
|
380
421
|
"declaration": {
|
|
381
422
|
"name": "muiDocs",
|
|
382
|
-
"module": "src/components/mui-
|
|
423
|
+
"module": "src/components/mui-avatar/doc.ts"
|
|
383
424
|
}
|
|
384
425
|
}
|
|
385
426
|
]
|
|
386
427
|
},
|
|
387
428
|
{
|
|
388
429
|
"kind": "javascript-module",
|
|
389
|
-
"path": "src/components/mui-
|
|
430
|
+
"path": "src/components/mui-avatar/index.ts",
|
|
390
431
|
"declarations": [
|
|
391
432
|
{
|
|
392
433
|
"kind": "class",
|
|
393
434
|
"description": "",
|
|
394
|
-
"name": "
|
|
435
|
+
"name": "MuiAvatar",
|
|
395
436
|
"members": [
|
|
396
437
|
{
|
|
397
438
|
"kind": "field",
|
|
398
|
-
"name": "
|
|
399
|
-
"type": {
|
|
400
|
-
"text": "(() => void) | null"
|
|
401
|
-
},
|
|
402
|
-
"privacy": "private",
|
|
403
|
-
"default": "null"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"kind": "field",
|
|
407
|
-
"name": "contentSlotListener",
|
|
439
|
+
"name": "_imageFailed",
|
|
408
440
|
"type": {
|
|
409
|
-
"text": "
|
|
441
|
+
"text": "boolean | undefined"
|
|
410
442
|
},
|
|
411
|
-
"privacy": "private"
|
|
412
|
-
"default": "null"
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"kind": "method",
|
|
416
|
-
"name": "render"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"kind": "method",
|
|
420
|
-
"name": "getAlertSize",
|
|
421
|
-
"privacy": "private",
|
|
422
|
-
"return": {
|
|
423
|
-
"type": {
|
|
424
|
-
"text": "AlertSize"
|
|
425
|
-
}
|
|
426
|
-
}
|
|
443
|
+
"privacy": "private"
|
|
427
444
|
},
|
|
428
445
|
{
|
|
429
446
|
"kind": "method",
|
|
430
|
-
"name": "
|
|
431
|
-
"privacy": "private",
|
|
432
|
-
"return": {
|
|
433
|
-
"type": {
|
|
434
|
-
"text": "string"
|
|
435
|
-
}
|
|
436
|
-
},
|
|
437
|
-
"parameters": [
|
|
438
|
-
{
|
|
439
|
-
"name": "size",
|
|
440
|
-
"type": {
|
|
441
|
-
"text": "AlertSize"
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
]
|
|
447
|
+
"name": "hasSlottedContent"
|
|
445
448
|
},
|
|
446
449
|
{
|
|
447
450
|
"kind": "method",
|
|
448
|
-
"name": "
|
|
449
|
-
"privacy": "private",
|
|
450
|
-
"return": {
|
|
451
|
-
"type": {
|
|
452
|
-
"text": "string"
|
|
453
|
-
}
|
|
454
|
-
},
|
|
451
|
+
"name": "getInitials",
|
|
455
452
|
"parameters": [
|
|
456
453
|
{
|
|
457
|
-
"name": "
|
|
454
|
+
"name": "label",
|
|
458
455
|
"type": {
|
|
459
|
-
"text": "
|
|
456
|
+
"text": "string | null"
|
|
460
457
|
}
|
|
461
458
|
}
|
|
462
459
|
]
|
|
463
460
|
},
|
|
464
461
|
{
|
|
465
462
|
"kind": "method",
|
|
466
|
-
"name": "
|
|
463
|
+
"name": "getBackgroundCSS"
|
|
467
464
|
},
|
|
468
465
|
{
|
|
469
466
|
"kind": "method",
|
|
470
|
-
"name": "
|
|
467
|
+
"name": "render"
|
|
471
468
|
}
|
|
472
469
|
],
|
|
473
470
|
"attributes": [
|
|
474
|
-
{
|
|
475
|
-
"name": "variant"
|
|
476
|
-
},
|
|
477
471
|
{
|
|
478
472
|
"name": "label"
|
|
479
473
|
},
|
|
480
474
|
{
|
|
481
|
-
"name": "
|
|
475
|
+
"name": "image"
|
|
482
476
|
},
|
|
483
477
|
{
|
|
484
478
|
"name": "size"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "background"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "background-color"
|
|
485
485
|
}
|
|
486
486
|
],
|
|
487
487
|
"superclass": {
|
|
488
488
|
"name": "HTMLElement"
|
|
489
489
|
},
|
|
490
|
-
"tagName": "mui-
|
|
490
|
+
"tagName": "mui-avatar",
|
|
491
491
|
"customElement": true
|
|
492
492
|
}
|
|
493
493
|
],
|
|
494
494
|
"exports": [
|
|
495
495
|
{
|
|
496
496
|
"kind": "custom-element-definition",
|
|
497
|
-
"name": "mui-
|
|
497
|
+
"name": "mui-avatar",
|
|
498
498
|
"declaration": {
|
|
499
|
-
"name": "
|
|
500
|
-
"module": "src/components/mui-
|
|
499
|
+
"name": "MuiAvatar",
|
|
500
|
+
"module": "src/components/mui-avatar/index.ts"
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
503
|
]
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
},
|
|
726
726
|
{
|
|
727
727
|
"kind": "javascript-module",
|
|
728
|
-
"path": "src/components/mui-
|
|
728
|
+
"path": "src/components/mui-carousel/doc.ts",
|
|
729
729
|
"declarations": [
|
|
730
730
|
{
|
|
731
731
|
"kind": "variable",
|
|
@@ -733,7 +733,7 @@
|
|
|
733
733
|
"type": {
|
|
734
734
|
"text": "MuiDocs"
|
|
735
735
|
},
|
|
736
|
-
"default": "{
|
|
736
|
+
"default": "{ Carousel: { title: \"Carousel\", description: \"A carousel component with tab-based navigation, enabling users to switch between views or content sections with ease.\", hero: [ \"https://images.ctfassets.net/i5uwscj4pkk2/55yS6ecrFIoh0pA08R98VB/07a93872e746c5723b7b4b21f0a9d56a/Carousel_-_Home_Image.png\", ], figma: [ \"https://www.figma.com/design/l0mt1lXu97XoHJCEdnrWLp/Mui-Design-System?node-id=958-8697&t=0ytskb8cxriEmdz2-1\", ], storybook: [\"https://stories.muibook.com/?path=/docs/navigation-carousel--docs\"], github: [\"https://github.com/michaeltrilford/muibook/tree/main/src/components/mui-carousel\"], website: [\"https://muibook.com/#/carousel\"], guides: [\"https://guides.muibook.com/carousel\"], usage: { list: [ \"Use to present grouped content that benefits from both tabbed access and horizontal transitions.\", \"Ideal for feature highlights, onboarding steps, or content previews.\", \"Ensure tab labels are short and clearly indicate the content behind each panel.\", \"Avoid using for unrelated content or when vertical scrolling is more appropriate.\", \"When adding custom content, account for the placement of carousel controls and maintain sufficient whitespace for readability and alignment.\", \"Swap out default controls when a different interaction pattern better suits the content or context.\", ], }, accessibility: { designerList: [ \"Users can navigate between carousel items using the left/right arrow keys, as well as Home and End keys.\", \"The active tab is always keyboard-focusable and shows a visible focus outline for clarity.\", \"Tabs are marked up using semantic roles (like tablist and tab) to help assistive technologies understand the structure.\", \"Behind the scenes, attributes like aria-selected and tabindex update automatically to reflect which tab is active.\", ], engineerList: [ \"Left/Right arrows, Home and End keys let keyboard users navigate between carousel items.\", \"aria-selected and tabindex attributes are updated on each tab-item when it becomes active or inactive.\", \"Each active tab-item can receive focus and shows a focus-visible outline.\", \"tab-bar uses role=tablist to group related tab-items and each tab-item uses role=tab within the tab-bar.\", ], }, anatomy: { image: \"https://images.ctfassets.net/i5uwscj4pkk2/7lrQyuy00XTDGTww5lWXsH/427804b3af03935cc06e8a691a5006a0/Carousel_-_Anatomy.png\", list: [ \"The outer wrapper that defines the structure, sliding behaviour, and background styling of the carousel.\", \"A flexible area where custom content is added. Designers are responsible for setting internal spacing, layout, and composition.\", \"Navigation elements such as tabs, dots, or arrows that float above the content. These controls can be customized or replaced based on the use case.\", ], }, variants: { items: [ { key: \"position\", title: \"Position\", description: \"Carousel controls can be positioned at any side or corner of the container, including top center, right middle, bottom center, left middle, top left, top right, bottom left, and bottom right.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/Yc6eg8YWdiiSiiPzR588D/bdfbad0967d9cc059310bd1406c656c5/position-bottom.png\", }, ], }, compositions: { description: \"Showcases actual use cases, demonstrating how the component fits into real-world UI scenarios.\", items: [ { key: \"product-carousel\", name: \"Product Carousel\", description: \"Demonstrates how to add custom compositions and layouts within the carousel panels.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/4NRMfGil4AcMUh7FDhYyHz/7c4636822eba6d3ae15e684f50d10fdd/Carousel_-_Composition.png\", }, { key: \"carousel-showcase\", name: \"Carousel Showcase\", description: \"This example from the GuruSuite website demonstrates the carousel used to showcase two of the products on offer.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/2TaRRm351HyujF9mT2w1wH/3958f69e939d20618751742130dc5f06/GuruSuite-Carousel-Composition.png\", }, ], }, related: { items: [ { name: \"Tab Bar\", link: \"https://guides.muibook.com/tab-bar\", }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }], }, ], behaviour: { list: [\"\"], }, writing: { list: [\"\"], }, }, }"
|
|
737
737
|
}
|
|
738
738
|
],
|
|
739
739
|
"exports": [
|
|
@@ -742,14 +742,44 @@
|
|
|
742
742
|
"name": "muiDocs",
|
|
743
743
|
"declaration": {
|
|
744
744
|
"name": "muiDocs",
|
|
745
|
-
"module": "src/components/mui-
|
|
745
|
+
"module": "src/components/mui-carousel/doc.ts"
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
]
|
|
749
749
|
},
|
|
750
750
|
{
|
|
751
751
|
"kind": "javascript-module",
|
|
752
|
-
"path": "src/components/mui-
|
|
752
|
+
"path": "src/components/mui-carousel/index.ts",
|
|
753
|
+
"declarations": [],
|
|
754
|
+
"exports": []
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"kind": "javascript-module",
|
|
758
|
+
"path": "src/components/mui-checkbox/doc.ts",
|
|
759
|
+
"declarations": [
|
|
760
|
+
{
|
|
761
|
+
"kind": "variable",
|
|
762
|
+
"name": "muiDocs",
|
|
763
|
+
"type": {
|
|
764
|
+
"text": "MuiDocs"
|
|
765
|
+
},
|
|
766
|
+
"default": "{ Checkbox: { title: \"Checkbox\", description: \"A checkbox component for capturing single or multiple selections.\", hero: [ \"https://images.ctfassets.net/i5uwscj4pkk2/73VtPhD4eobLABsmN0X5KI/9ae64c37c0c6618fa48eff8154058f34/Checkbox_-_Home_Image.png\", ], figma: [ \"https://www.figma.com/design/l0mt1lXu97XoHJCEdnrWLp/Mui-Design-System?node-id=634-4686&t=aIjJqBxWOU1t0Jjp-1\", ], storybook: [\"https://stories.muibook.com/?path=/docs/inputs-checkbox--docs\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-checkbox/index.ts\"], website: [\"https://muibook.com/#/checkbox\"], guides: [\"https://guides.muibook.com/checkbox\"], usage: { list: [ \"Use size='x-small|small|medium|large' to scale checkbox controls with surrounding form content.\", ], }, accessibility: { designerList: [ \"A visible label or accessible name is required for screen reader support to describe the checkbox’s purpose.\", \"If no visible label is provided, use aria-label (or aria-labelledby) to supply an accessible name.\", \"Clear focus styles are present for keyboard users.\", \"The native disabled attribute is fully supported by assistive technologies.\", ], engineerList: [ \"A visible label or accessible name is required for screen reader support to describe the checkbox’s purpose.\", \"If no visible label is provided, use aria-label (or aria-labelledby) to supply an accessible name.\", \"Clear focus styles are present for keyboard users.\", \"The native disabled attribute is fully supported by assistive technologies.\", ], }, anatomy: { image: \"https://images.ctfassets.net/i5uwscj4pkk2/1SHtTzFQSQIBPnva1futiT/6c55b1596af31b1f93a4da82ea2a4fa2/Checkbox_-_Anatomy.png\", list: [ \"Unselected: Can become active through user interaction or changes in shared state.\", \"Checked: The checkbox is fully marked, indicating complete selection.\", \"Indeterminate: Used on parent checkboxes in multi-select groups to indicate partial selection.\", ], }, variants: { items: [ { key: \"\", title: \"\", description: \"\", image: \"\", }, ], }, compositions: { description: \"Showcases actual use cases, demonstrating how the component fits into real-world UI scenarios.\", items: [ { key: \"onboarding-form\", name: \"Onboarding Form\", description: \"Demonstrates an onboarding form within a card, using logic to confirm terms acceptance. Components include Heading, Input Fields, Checkbox, and Button.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/1NrgynTcdmVVKSYCsQwlOW/5fc4776c1860b498a59a2865b4e57ecb/Card-Onboarding-Composition.png\", }, ], }, related: { items: [ { name: \"Switch\", link: \"https://guides.muibook.com/switch\" }, { name: \"Input\", link: \"https://guides.muibook.com/input\" }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }], }, ], behaviour: { list: [\"\"], }, writing: { list: [\"\"], }, }, }"
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"exports": [
|
|
770
|
+
{
|
|
771
|
+
"kind": "js",
|
|
772
|
+
"name": "muiDocs",
|
|
773
|
+
"declaration": {
|
|
774
|
+
"name": "muiDocs",
|
|
775
|
+
"module": "src/components/mui-checkbox/doc.ts"
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
]
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"kind": "javascript-module",
|
|
782
|
+
"path": "src/components/mui-checkbox/index.ts",
|
|
753
783
|
"declarations": [
|
|
754
784
|
{
|
|
755
785
|
"kind": "class",
|
|
@@ -831,36 +861,6 @@
|
|
|
831
861
|
}
|
|
832
862
|
]
|
|
833
863
|
},
|
|
834
|
-
{
|
|
835
|
-
"kind": "javascript-module",
|
|
836
|
-
"path": "src/components/mui-carousel/doc.ts",
|
|
837
|
-
"declarations": [
|
|
838
|
-
{
|
|
839
|
-
"kind": "variable",
|
|
840
|
-
"name": "muiDocs",
|
|
841
|
-
"type": {
|
|
842
|
-
"text": "MuiDocs"
|
|
843
|
-
},
|
|
844
|
-
"default": "{ Carousel: { title: \"Carousel\", description: \"A carousel component with tab-based navigation, enabling users to switch between views or content sections with ease.\", hero: [ \"https://images.ctfassets.net/i5uwscj4pkk2/55yS6ecrFIoh0pA08R98VB/07a93872e746c5723b7b4b21f0a9d56a/Carousel_-_Home_Image.png\", ], figma: [ \"https://www.figma.com/design/l0mt1lXu97XoHJCEdnrWLp/Mui-Design-System?node-id=958-8697&t=0ytskb8cxriEmdz2-1\", ], storybook: [\"https://stories.muibook.com/?path=/docs/navigation-carousel--docs\"], github: [\"https://github.com/michaeltrilford/muibook/tree/main/src/components/mui-carousel\"], website: [\"https://muibook.com/#/carousel\"], guides: [\"https://guides.muibook.com/carousel\"], usage: { list: [ \"Use to present grouped content that benefits from both tabbed access and horizontal transitions.\", \"Ideal for feature highlights, onboarding steps, or content previews.\", \"Ensure tab labels are short and clearly indicate the content behind each panel.\", \"Avoid using for unrelated content or when vertical scrolling is more appropriate.\", \"When adding custom content, account for the placement of carousel controls and maintain sufficient whitespace for readability and alignment.\", \"Swap out default controls when a different interaction pattern better suits the content or context.\", ], }, accessibility: { designerList: [ \"Users can navigate between carousel items using the left/right arrow keys, as well as Home and End keys.\", \"The active tab is always keyboard-focusable and shows a visible focus outline for clarity.\", \"Tabs are marked up using semantic roles (like tablist and tab) to help assistive technologies understand the structure.\", \"Behind the scenes, attributes like aria-selected and tabindex update automatically to reflect which tab is active.\", ], engineerList: [ \"Left/Right arrows, Home and End keys let keyboard users navigate between carousel items.\", \"aria-selected and tabindex attributes are updated on each tab-item when it becomes active or inactive.\", \"Each active tab-item can receive focus and shows a focus-visible outline.\", \"tab-bar uses role=tablist to group related tab-items and each tab-item uses role=tab within the tab-bar.\", ], }, anatomy: { image: \"https://images.ctfassets.net/i5uwscj4pkk2/7lrQyuy00XTDGTww5lWXsH/427804b3af03935cc06e8a691a5006a0/Carousel_-_Anatomy.png\", list: [ \"The outer wrapper that defines the structure, sliding behaviour, and background styling of the carousel.\", \"A flexible area where custom content is added. Designers are responsible for setting internal spacing, layout, and composition.\", \"Navigation elements such as tabs, dots, or arrows that float above the content. These controls can be customized or replaced based on the use case.\", ], }, variants: { items: [ { key: \"position\", title: \"Position\", description: \"Carousel controls can be positioned at any side or corner of the container, including top center, right middle, bottom center, left middle, top left, top right, bottom left, and bottom right.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/Yc6eg8YWdiiSiiPzR588D/bdfbad0967d9cc059310bd1406c656c5/position-bottom.png\", }, ], }, compositions: { description: \"Showcases actual use cases, demonstrating how the component fits into real-world UI scenarios.\", items: [ { key: \"product-carousel\", name: \"Product Carousel\", description: \"Demonstrates how to add custom compositions and layouts within the carousel panels.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/4NRMfGil4AcMUh7FDhYyHz/7c4636822eba6d3ae15e684f50d10fdd/Carousel_-_Composition.png\", }, { key: \"carousel-showcase\", name: \"Carousel Showcase\", description: \"This example from the GuruSuite website demonstrates the carousel used to showcase two of the products on offer.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/2TaRRm351HyujF9mT2w1wH/3958f69e939d20618751742130dc5f06/GuruSuite-Carousel-Composition.png\", }, ], }, related: { items: [ { name: \"Tab Bar\", link: \"https://guides.muibook.com/tab-bar\", }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }], }, ], behaviour: { list: [\"\"], }, writing: { list: [\"\"], }, }, }"
|
|
845
|
-
}
|
|
846
|
-
],
|
|
847
|
-
"exports": [
|
|
848
|
-
{
|
|
849
|
-
"kind": "js",
|
|
850
|
-
"name": "muiDocs",
|
|
851
|
-
"declaration": {
|
|
852
|
-
"name": "muiDocs",
|
|
853
|
-
"module": "src/components/mui-carousel/doc.ts"
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
]
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
"kind": "javascript-module",
|
|
860
|
-
"path": "src/components/mui-carousel/index.ts",
|
|
861
|
-
"declarations": [],
|
|
862
|
-
"exports": []
|
|
863
|
-
},
|
|
864
864
|
{
|
|
865
865
|
"kind": "javascript-module",
|
|
866
866
|
"path": "src/components/mui-chip/doc.ts",
|
|
@@ -2700,68 +2700,6 @@
|
|
|
2700
2700
|
}
|
|
2701
2701
|
]
|
|
2702
2702
|
},
|
|
2703
|
-
{
|
|
2704
|
-
"kind": "javascript-module",
|
|
2705
|
-
"path": "src/components/mui-form-section-footer/doc.ts",
|
|
2706
|
-
"declarations": [
|
|
2707
|
-
{
|
|
2708
|
-
"kind": "variable",
|
|
2709
|
-
"name": "muiDocs",
|
|
2710
|
-
"type": {
|
|
2711
|
-
"text": "MuiDocs"
|
|
2712
|
-
},
|
|
2713
|
-
"default": "{ FormSectionFooter: { title: \"Form Section Footer\", description: \"Footer wrapper for Form Section actions and divider patterns.\", hero: [\"\"], figma: [\"\"], storybook: [\"https://stories.muibook.com\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-form-section-footer/index.ts\"], website: [\"https://muibook.com/#/form-section-footer\"], guides: [\"https://guides.muibook.com/form-section\"], usage: { list: [ \"Use in slot='footer' on mui-form-section for consistent footer spacing.\", \"Place mui-rule first when you need a visual separation before actions.\", \"Keep responsive action layouts inside the footer wrapper.\", ], }, accessibility: { designerList: [\"\"], engineerList: [\"Footer actions remain keyboard accessible based on slotted controls.\"], }, anatomy: { image: \"\", list: [\"Footer wrapper\", \"Optional divider (mui-rule)\", \"Action content\"], }, variants: { items: [{ key: \"\", title: \"\", description: \"\", image: \"\" }] }, compositions: { description: \"\", items: [] }, related: { items: [ { name: \"Form Section\", link: \"https://guides.muibook.com/form-section\" }, { name: \"Form Group\", link: \"https://guides.muibook.com/form-group\" }, ], }, rules: [{ heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }] }], behaviour: { list: [\"\"] }, writing: { list: [\"\"] }, }, }"
|
|
2714
|
-
}
|
|
2715
|
-
],
|
|
2716
|
-
"exports": [
|
|
2717
|
-
{
|
|
2718
|
-
"kind": "js",
|
|
2719
|
-
"name": "muiDocs",
|
|
2720
|
-
"declaration": {
|
|
2721
|
-
"name": "muiDocs",
|
|
2722
|
-
"module": "src/components/mui-form-section-footer/doc.ts"
|
|
2723
|
-
}
|
|
2724
|
-
}
|
|
2725
|
-
]
|
|
2726
|
-
},
|
|
2727
|
-
{
|
|
2728
|
-
"kind": "javascript-module",
|
|
2729
|
-
"path": "src/components/mui-form-section-footer/index.ts",
|
|
2730
|
-
"declarations": [
|
|
2731
|
-
{
|
|
2732
|
-
"kind": "class",
|
|
2733
|
-
"description": "",
|
|
2734
|
-
"name": "MuiFormSectionFooter",
|
|
2735
|
-
"members": [
|
|
2736
|
-
{
|
|
2737
|
-
"kind": "field",
|
|
2738
|
-
"name": "onSlotChange",
|
|
2739
|
-
"privacy": "private"
|
|
2740
|
-
},
|
|
2741
|
-
{
|
|
2742
|
-
"kind": "method",
|
|
2743
|
-
"name": "render",
|
|
2744
|
-
"privacy": "private"
|
|
2745
|
-
}
|
|
2746
|
-
],
|
|
2747
|
-
"superclass": {
|
|
2748
|
-
"name": "HTMLElement"
|
|
2749
|
-
},
|
|
2750
|
-
"tagName": "mui-form-section-footer",
|
|
2751
|
-
"customElement": true
|
|
2752
|
-
}
|
|
2753
|
-
],
|
|
2754
|
-
"exports": [
|
|
2755
|
-
{
|
|
2756
|
-
"kind": "custom-element-definition",
|
|
2757
|
-
"name": "mui-form-section-footer",
|
|
2758
|
-
"declaration": {
|
|
2759
|
-
"name": "MuiFormSectionFooter",
|
|
2760
|
-
"module": "src/components/mui-form-section-footer/index.ts"
|
|
2761
|
-
}
|
|
2762
|
-
}
|
|
2763
|
-
]
|
|
2764
|
-
},
|
|
2765
2703
|
{
|
|
2766
2704
|
"kind": "javascript-module",
|
|
2767
2705
|
"path": "src/components/mui-grid/doc.ts",
|
|
@@ -2873,6 +2811,68 @@
|
|
|
2873
2811
|
}
|
|
2874
2812
|
]
|
|
2875
2813
|
},
|
|
2814
|
+
{
|
|
2815
|
+
"kind": "javascript-module",
|
|
2816
|
+
"path": "src/components/mui-form-section-footer/doc.ts",
|
|
2817
|
+
"declarations": [
|
|
2818
|
+
{
|
|
2819
|
+
"kind": "variable",
|
|
2820
|
+
"name": "muiDocs",
|
|
2821
|
+
"type": {
|
|
2822
|
+
"text": "MuiDocs"
|
|
2823
|
+
},
|
|
2824
|
+
"default": "{ FormSectionFooter: { title: \"Form Section Footer\", description: \"Footer wrapper for Form Section actions and divider patterns.\", hero: [\"\"], figma: [\"\"], storybook: [\"https://stories.muibook.com\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-form-section-footer/index.ts\"], website: [\"https://muibook.com/#/form-section-footer\"], guides: [\"https://guides.muibook.com/form-section\"], usage: { list: [ \"Use in slot='footer' on mui-form-section for consistent footer spacing.\", \"Place mui-rule first when you need a visual separation before actions.\", \"Keep responsive action layouts inside the footer wrapper.\", ], }, accessibility: { designerList: [\"\"], engineerList: [\"Footer actions remain keyboard accessible based on slotted controls.\"], }, anatomy: { image: \"\", list: [\"Footer wrapper\", \"Optional divider (mui-rule)\", \"Action content\"], }, variants: { items: [{ key: \"\", title: \"\", description: \"\", image: \"\" }] }, compositions: { description: \"\", items: [] }, related: { items: [ { name: \"Form Section\", link: \"https://guides.muibook.com/form-section\" }, { name: \"Form Group\", link: \"https://guides.muibook.com/form-group\" }, ], }, rules: [{ heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }] }], behaviour: { list: [\"\"] }, writing: { list: [\"\"] }, }, }"
|
|
2825
|
+
}
|
|
2826
|
+
],
|
|
2827
|
+
"exports": [
|
|
2828
|
+
{
|
|
2829
|
+
"kind": "js",
|
|
2830
|
+
"name": "muiDocs",
|
|
2831
|
+
"declaration": {
|
|
2832
|
+
"name": "muiDocs",
|
|
2833
|
+
"module": "src/components/mui-form-section-footer/doc.ts"
|
|
2834
|
+
}
|
|
2835
|
+
}
|
|
2836
|
+
]
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
"kind": "javascript-module",
|
|
2840
|
+
"path": "src/components/mui-form-section-footer/index.ts",
|
|
2841
|
+
"declarations": [
|
|
2842
|
+
{
|
|
2843
|
+
"kind": "class",
|
|
2844
|
+
"description": "",
|
|
2845
|
+
"name": "MuiFormSectionFooter",
|
|
2846
|
+
"members": [
|
|
2847
|
+
{
|
|
2848
|
+
"kind": "field",
|
|
2849
|
+
"name": "onSlotChange",
|
|
2850
|
+
"privacy": "private"
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
"kind": "method",
|
|
2854
|
+
"name": "render",
|
|
2855
|
+
"privacy": "private"
|
|
2856
|
+
}
|
|
2857
|
+
],
|
|
2858
|
+
"superclass": {
|
|
2859
|
+
"name": "HTMLElement"
|
|
2860
|
+
},
|
|
2861
|
+
"tagName": "mui-form-section-footer",
|
|
2862
|
+
"customElement": true
|
|
2863
|
+
}
|
|
2864
|
+
],
|
|
2865
|
+
"exports": [
|
|
2866
|
+
{
|
|
2867
|
+
"kind": "custom-element-definition",
|
|
2868
|
+
"name": "mui-form-section-footer",
|
|
2869
|
+
"declaration": {
|
|
2870
|
+
"name": "MuiFormSectionFooter",
|
|
2871
|
+
"module": "src/components/mui-form-section-footer/index.ts"
|
|
2872
|
+
}
|
|
2873
|
+
}
|
|
2874
|
+
]
|
|
2875
|
+
},
|
|
2876
2876
|
{
|
|
2877
2877
|
"kind": "javascript-module",
|
|
2878
2878
|
"path": "src/components/mui-heading/doc.ts",
|
|
@@ -3221,210 +3221,71 @@
|
|
|
3221
3221
|
},
|
|
3222
3222
|
{
|
|
3223
3223
|
"kind": "javascript-module",
|
|
3224
|
-
"path": "src/components/mui-
|
|
3224
|
+
"path": "src/components/mui-icons/accessibility.ts",
|
|
3225
3225
|
"declarations": [
|
|
3226
3226
|
{
|
|
3227
|
-
"kind": "
|
|
3228
|
-
"
|
|
3229
|
-
"
|
|
3230
|
-
|
|
3227
|
+
"kind": "class",
|
|
3228
|
+
"description": "",
|
|
3229
|
+
"name": "MuiIconAccessibility",
|
|
3230
|
+
"members": [
|
|
3231
|
+
{
|
|
3232
|
+
"kind": "method",
|
|
3233
|
+
"name": "render",
|
|
3234
|
+
"return": {
|
|
3235
|
+
"type": {
|
|
3236
|
+
"text": "void"
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
],
|
|
3241
|
+
"attributes": [
|
|
3242
|
+
{
|
|
3243
|
+
"name": "size"
|
|
3244
|
+
},
|
|
3245
|
+
{
|
|
3246
|
+
"name": "color"
|
|
3247
|
+
}
|
|
3248
|
+
],
|
|
3249
|
+
"superclass": {
|
|
3250
|
+
"name": "HTMLElement"
|
|
3231
3251
|
},
|
|
3232
|
-
"
|
|
3252
|
+
"tagName": "mui-icon-accessibility",
|
|
3253
|
+
"customElement": true
|
|
3233
3254
|
}
|
|
3234
3255
|
],
|
|
3235
3256
|
"exports": [
|
|
3236
3257
|
{
|
|
3237
|
-
"kind": "
|
|
3238
|
-
"name": "
|
|
3258
|
+
"kind": "custom-element-definition",
|
|
3259
|
+
"name": "mui-icon-accessibility",
|
|
3239
3260
|
"declaration": {
|
|
3240
|
-
"name": "
|
|
3241
|
-
"module": "src/components/mui-
|
|
3261
|
+
"name": "MuiIconAccessibility",
|
|
3262
|
+
"module": "src/components/mui-icons/accessibility.ts"
|
|
3242
3263
|
}
|
|
3243
3264
|
}
|
|
3244
3265
|
]
|
|
3245
3266
|
},
|
|
3246
3267
|
{
|
|
3247
3268
|
"kind": "javascript-module",
|
|
3248
|
-
"path": "src/components/mui-
|
|
3269
|
+
"path": "src/components/mui-icons/add.ts",
|
|
3249
3270
|
"declarations": [
|
|
3250
3271
|
{
|
|
3251
3272
|
"kind": "class",
|
|
3252
3273
|
"description": "",
|
|
3253
|
-
"name": "
|
|
3274
|
+
"name": "MuiIconAdd",
|
|
3254
3275
|
"members": [
|
|
3255
|
-
{
|
|
3256
|
-
"kind": "field",
|
|
3257
|
-
"name": "_changeHandler",
|
|
3258
|
-
"type": {
|
|
3259
|
-
"text": "(e: Event) => void | undefined"
|
|
3260
|
-
}
|
|
3261
|
-
},
|
|
3262
|
-
{
|
|
3263
|
-
"kind": "method",
|
|
3264
|
-
"name": "cleanupListeners"
|
|
3265
|
-
},
|
|
3266
|
-
{
|
|
3267
|
-
"kind": "method",
|
|
3268
|
-
"name": "setupListener"
|
|
3269
|
-
},
|
|
3270
|
-
{
|
|
3271
|
-
"kind": "method",
|
|
3272
|
-
"name": "updateCharacterCount"
|
|
3273
|
-
},
|
|
3274
3276
|
{
|
|
3275
3277
|
"kind": "method",
|
|
3276
|
-
"name": "
|
|
3278
|
+
"name": "render",
|
|
3277
3279
|
"return": {
|
|
3278
3280
|
"type": {
|
|
3279
3281
|
"text": "void"
|
|
3280
3282
|
}
|
|
3281
3283
|
}
|
|
3282
|
-
},
|
|
3283
|
-
{
|
|
3284
|
-
"kind": "method",
|
|
3285
|
-
"name": "render"
|
|
3286
3284
|
}
|
|
3287
3285
|
],
|
|
3288
|
-
"
|
|
3286
|
+
"attributes": [
|
|
3289
3287
|
{
|
|
3290
|
-
"name": "
|
|
3291
|
-
"type": {
|
|
3292
|
-
"text": "CustomEvent"
|
|
3293
|
-
}
|
|
3294
|
-
},
|
|
3295
|
-
{
|
|
3296
|
-
"name": "input",
|
|
3297
|
-
"type": {
|
|
3298
|
-
"text": "CustomEvent"
|
|
3299
|
-
}
|
|
3300
|
-
}
|
|
3301
|
-
],
|
|
3302
|
-
"attributes": [
|
|
3303
|
-
{
|
|
3304
|
-
"name": "type"
|
|
3305
|
-
},
|
|
3306
|
-
{
|
|
3307
|
-
"name": "name"
|
|
3308
|
-
},
|
|
3309
|
-
{
|
|
3310
|
-
"name": "value"
|
|
3311
|
-
},
|
|
3312
|
-
{
|
|
3313
|
-
"name": "placeholder"
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
"name": "id"
|
|
3317
|
-
},
|
|
3318
|
-
{
|
|
3319
|
-
"name": "label"
|
|
3320
|
-
},
|
|
3321
|
-
{
|
|
3322
|
-
"name": "disabled"
|
|
3323
|
-
},
|
|
3324
|
-
{
|
|
3325
|
-
"name": "hide-label"
|
|
3326
|
-
},
|
|
3327
|
-
{
|
|
3328
|
-
"name": "variant"
|
|
3329
|
-
},
|
|
3330
|
-
{
|
|
3331
|
-
"name": "optional"
|
|
3332
|
-
},
|
|
3333
|
-
{
|
|
3334
|
-
"name": "max-length"
|
|
3335
|
-
},
|
|
3336
|
-
{
|
|
3337
|
-
"name": "size"
|
|
3338
|
-
},
|
|
3339
|
-
{
|
|
3340
|
-
"name": "slot-layout"
|
|
3341
|
-
}
|
|
3342
|
-
],
|
|
3343
|
-
"superclass": {
|
|
3344
|
-
"name": "HTMLElement"
|
|
3345
|
-
},
|
|
3346
|
-
"tagName": "mui-input",
|
|
3347
|
-
"customElement": true
|
|
3348
|
-
}
|
|
3349
|
-
],
|
|
3350
|
-
"exports": [
|
|
3351
|
-
{
|
|
3352
|
-
"kind": "custom-element-definition",
|
|
3353
|
-
"name": "mui-input",
|
|
3354
|
-
"declaration": {
|
|
3355
|
-
"name": "MuiInput",
|
|
3356
|
-
"module": "src/components/mui-input/index.ts"
|
|
3357
|
-
}
|
|
3358
|
-
}
|
|
3359
|
-
]
|
|
3360
|
-
},
|
|
3361
|
-
{
|
|
3362
|
-
"kind": "javascript-module",
|
|
3363
|
-
"path": "src/components/mui-icons/accessibility.ts",
|
|
3364
|
-
"declarations": [
|
|
3365
|
-
{
|
|
3366
|
-
"kind": "class",
|
|
3367
|
-
"description": "",
|
|
3368
|
-
"name": "MuiIconAccessibility",
|
|
3369
|
-
"members": [
|
|
3370
|
-
{
|
|
3371
|
-
"kind": "method",
|
|
3372
|
-
"name": "render",
|
|
3373
|
-
"return": {
|
|
3374
|
-
"type": {
|
|
3375
|
-
"text": "void"
|
|
3376
|
-
}
|
|
3377
|
-
}
|
|
3378
|
-
}
|
|
3379
|
-
],
|
|
3380
|
-
"attributes": [
|
|
3381
|
-
{
|
|
3382
|
-
"name": "size"
|
|
3383
|
-
},
|
|
3384
|
-
{
|
|
3385
|
-
"name": "color"
|
|
3386
|
-
}
|
|
3387
|
-
],
|
|
3388
|
-
"superclass": {
|
|
3389
|
-
"name": "HTMLElement"
|
|
3390
|
-
},
|
|
3391
|
-
"tagName": "mui-icon-accessibility",
|
|
3392
|
-
"customElement": true
|
|
3393
|
-
}
|
|
3394
|
-
],
|
|
3395
|
-
"exports": [
|
|
3396
|
-
{
|
|
3397
|
-
"kind": "custom-element-definition",
|
|
3398
|
-
"name": "mui-icon-accessibility",
|
|
3399
|
-
"declaration": {
|
|
3400
|
-
"name": "MuiIconAccessibility",
|
|
3401
|
-
"module": "src/components/mui-icons/accessibility.ts"
|
|
3402
|
-
}
|
|
3403
|
-
}
|
|
3404
|
-
]
|
|
3405
|
-
},
|
|
3406
|
-
{
|
|
3407
|
-
"kind": "javascript-module",
|
|
3408
|
-
"path": "src/components/mui-icons/add.ts",
|
|
3409
|
-
"declarations": [
|
|
3410
|
-
{
|
|
3411
|
-
"kind": "class",
|
|
3412
|
-
"description": "",
|
|
3413
|
-
"name": "MuiIconAdd",
|
|
3414
|
-
"members": [
|
|
3415
|
-
{
|
|
3416
|
-
"kind": "method",
|
|
3417
|
-
"name": "render",
|
|
3418
|
-
"return": {
|
|
3419
|
-
"type": {
|
|
3420
|
-
"text": "void"
|
|
3421
|
-
}
|
|
3422
|
-
}
|
|
3423
|
-
}
|
|
3424
|
-
],
|
|
3425
|
-
"attributes": [
|
|
3426
|
-
{
|
|
3427
|
-
"name": "size"
|
|
3288
|
+
"name": "size"
|
|
3428
3289
|
},
|
|
3429
3290
|
{
|
|
3430
3291
|
"name": "color"
|
|
@@ -5652,6 +5513,145 @@
|
|
|
5652
5513
|
}
|
|
5653
5514
|
]
|
|
5654
5515
|
},
|
|
5516
|
+
{
|
|
5517
|
+
"kind": "javascript-module",
|
|
5518
|
+
"path": "src/components/mui-input/doc.ts",
|
|
5519
|
+
"declarations": [
|
|
5520
|
+
{
|
|
5521
|
+
"kind": "variable",
|
|
5522
|
+
"name": "muiDocs",
|
|
5523
|
+
"type": {
|
|
5524
|
+
"text": "MuiDocs"
|
|
5525
|
+
},
|
|
5526
|
+
"default": "{ Input: { title: \"Input\", description: \"An input component for capturing user text, styled for consistency across your UI.\", hero: [\"\"], figma: [\"https://www.figma.com/design/l0mt1lXu97XoHJCEdnrWLp/Mui-Design-System?node-id=3-795&t=GMqx21isUVAMpLJp-1\"], storybook: [\"https://stories.muibook.com/?path=/docs/inputs-input--docs\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-input/index.ts\"], website: [\"https://muibook.com/#/input\"], guides: [\"https://guides.muibook.com/input\"], usage: { list: [ \"Ensure the purpose of the input is clear, either through a placeholder text or surrounding context.\", \"Ensure validation feedback is considered when using an input. E.g. Error text.\", \"Ensure the experience has clear focus states to support keyboard accessibility.\", \"Select the appropriate input types for the specific use case. E.g. Text, Email, Password.\", \"Use size='x-small|small|medium|large' to align inputs with surrounding form controls.\", \"Use slot='hint' for contextual overlays, including mui-hint with interactive tooltip content.\", \"Use mui-chip in before/after slots for tag-style contextual input patterns.\", \"Use placeholder text to provide context of the input use; avoid using them as primary labels.\", \"Avoid relying solely on placeholder text for instructions, as it disappears when users start typing.\", \"Use the optional attribute when a field is not required to show a clear (optional) marker in the label.\", \"Use max-length when input limits matter; the component shows a live character count.\", \"In React controlled mode, keep value updates isolated from structural attribute updates (label, type, placeholder, variant) to avoid focus loss while typing.\", ], }, accessibility: { designerList: [\"\"], engineerList: [ \"A label is required for screen reader support to describe the input's purpose.\", \"If hide-label is used, the label is visually hidden but accessible via aria-label.\", \"The label and input are linked via for and id. If no id is provided, one is generated.\", \"Clear focus styles are shown for keyboard users.\", \"The native disabled attribute is fully supported by assistive tech.\", \"Optional fields can be explicitly communicated with the optional attribute without changing label association.\", \"When max-length is set, users get visible character progress while native maxlength enforcement remains intact.\", \"For React integrations, prefer reading event.detail.value from the web component custom event instead of querying shadow DOM internals.\", ], }, anatomy: { image: \"https://images.ctfassets.net/i5uwscj4pkk2/5aiWlqSJ4BYCGtXn9MbGd/2734f1771c0e666806060bc85f753927/Input_-_Anatomy.png\", list: [ \"Label: Describes the purpose of the Input; required for accessibility. Can be hidden if the context is clear. Ensure the label text is still provided for developers to support screen reader access.\", \"Text: The label or placeholder text that describes the input field’s purpose.\", \"Before: Optional icons can be placed before or after the text input for additional functionality or clarity (e.g., search or password visibility icons).\", \"After: Optional icons can be placed before or after the text input for additional functionality or clarity (e.g., search or password visibility icons).\", \"Slot Before: Allows insertion of an Add-On, Select, or Button before the input to provide contextual or interactive elements. Some design craft may be needed to align elements visually in tools like Figma.\", \"Slot After: Allows insertion of an Add-On, Select, or Button after the input to support or clarify the user’s entry. Some design craft may be needed to ensure alignment and spacing look accurate in design tools.\", ], }, variants: { items: [ { key: \"default\", title: \"Default\", description: \"The standard Input with visible label and no interaction or validation states applied. Used for most form field scenarios.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/5t0SMtVRHvOSHiuHZ8jLfS/64da2bbaf5d2f4216f1c876f205c1298/input-default.png\", }, { key: \"hide-label\", title: \"Hide Label\", description: \"The label is visually hidden but remains accessible to screen readers. Use when the label context is already clear from surrounding UI. Ensure the label name is documented for developers, as the component requires a label for accessibility.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/4wC0xbPgmsMGi6YhMG8PnI/f01da9a977092a2da1e128fbee3325eb/input-hide-label.png\", }, { key: \"hover\", title: \"Hover\", description: \"Displays the hover state styling when a pointer is placed over the Input. Useful for demonstrating interactive feedback.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/5IXEcxa2RxqubupHmblDhd/ab41eba34289194733a87994b096e95d/input-hover.png\", }, { key: \"focus\", title: \"Focus\", description: \"Shows the focus ring or border to indicate that the Input is currently active. Supports accessible keyboard navigation.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/4AA4IcIdnov9MfSeY4rSdL/bbaf44297cdd4bd09d626b707dbe5f47/input-focus.png\", }, { key: \"error\", title: \"Error\", description: \"Displays a visual error style to indicate invalid input. Used with the Field component to surface validation messaging.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/2LYMpJwtH7f8KfPYl0vwAg/385529402b5e73399320c9581c8e1301/input-error.png\", }, { key: \"input-field\", title: \"Input + Field\", description: \"Displays a visual error style to indicate invalid input. Used with the Field component to surface validation messaging.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/kSXvQ6D4hvuP3c9bC0ZUa/319272dc75f0b08493753a49c0fbff75/success-message.png\", }, ], }, compositions: { description: \"Showcases actual use cases, demonstrating how the component fits into real-world UI scenarios.\", items: [ { key: \"user-details\", name: \"User Details (Step 1)\", description: \"This composition uses an accordion to contain a step in a multi-step flow. It focuses on input fields with labels, placeholders, and optional states, keeping the layout compact and clear.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/1L2XfteVwNBQcFlddTYmfi/c791eb538285e2cfb919342e84228811/accordion-block_-_Variants.png\", }, { key: \"onboarding-form\", name: \"Onboarding Form\", description: \"Demonstrates an onboarding form within a card, using logic to confirm terms acceptance. Components include Heading, Input Fields, Checkbox, and Button.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/1NrgynTcdmVVKSYCsQwlOW/5fc4776c1860b498a59a2865b4e57ecb/Card-Onboarding-Composition.png\", }, ], }, related: { items: [ { name: \"Field\", link: \"https://guides.muibook.com/field\", }, { name: \"Select\", link: \"https://guides.muibook.com/select\", }, { name: \"File Upload\", link: \"https://guides.muibook.com/file-upload\", }, { name: \"Add on\", link: \"https://guides.muibook.com/add-on\", }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }], }, ], behaviour: { list: [\"\"], }, writing: { list: [\"\"], }, }, }"
|
|
5527
|
+
}
|
|
5528
|
+
],
|
|
5529
|
+
"exports": [
|
|
5530
|
+
{
|
|
5531
|
+
"kind": "js",
|
|
5532
|
+
"name": "muiDocs",
|
|
5533
|
+
"declaration": {
|
|
5534
|
+
"name": "muiDocs",
|
|
5535
|
+
"module": "src/components/mui-input/doc.ts"
|
|
5536
|
+
}
|
|
5537
|
+
}
|
|
5538
|
+
]
|
|
5539
|
+
},
|
|
5540
|
+
{
|
|
5541
|
+
"kind": "javascript-module",
|
|
5542
|
+
"path": "src/components/mui-input/index.ts",
|
|
5543
|
+
"declarations": [
|
|
5544
|
+
{
|
|
5545
|
+
"kind": "class",
|
|
5546
|
+
"description": "",
|
|
5547
|
+
"name": "MuiInput",
|
|
5548
|
+
"members": [
|
|
5549
|
+
{
|
|
5550
|
+
"kind": "field",
|
|
5551
|
+
"name": "_changeHandler",
|
|
5552
|
+
"type": {
|
|
5553
|
+
"text": "(e: Event) => void | undefined"
|
|
5554
|
+
}
|
|
5555
|
+
},
|
|
5556
|
+
{
|
|
5557
|
+
"kind": "method",
|
|
5558
|
+
"name": "cleanupListeners"
|
|
5559
|
+
},
|
|
5560
|
+
{
|
|
5561
|
+
"kind": "method",
|
|
5562
|
+
"name": "setupListener"
|
|
5563
|
+
},
|
|
5564
|
+
{
|
|
5565
|
+
"kind": "method",
|
|
5566
|
+
"name": "updateCharacterCount"
|
|
5567
|
+
},
|
|
5568
|
+
{
|
|
5569
|
+
"kind": "method",
|
|
5570
|
+
"name": "updateSlottedButtons",
|
|
5571
|
+
"return": {
|
|
5572
|
+
"type": {
|
|
5573
|
+
"text": "void"
|
|
5574
|
+
}
|
|
5575
|
+
}
|
|
5576
|
+
},
|
|
5577
|
+
{
|
|
5578
|
+
"kind": "method",
|
|
5579
|
+
"name": "render"
|
|
5580
|
+
}
|
|
5581
|
+
],
|
|
5582
|
+
"events": [
|
|
5583
|
+
{
|
|
5584
|
+
"name": "change",
|
|
5585
|
+
"type": {
|
|
5586
|
+
"text": "CustomEvent"
|
|
5587
|
+
}
|
|
5588
|
+
},
|
|
5589
|
+
{
|
|
5590
|
+
"name": "input",
|
|
5591
|
+
"type": {
|
|
5592
|
+
"text": "CustomEvent"
|
|
5593
|
+
}
|
|
5594
|
+
}
|
|
5595
|
+
],
|
|
5596
|
+
"attributes": [
|
|
5597
|
+
{
|
|
5598
|
+
"name": "type"
|
|
5599
|
+
},
|
|
5600
|
+
{
|
|
5601
|
+
"name": "name"
|
|
5602
|
+
},
|
|
5603
|
+
{
|
|
5604
|
+
"name": "value"
|
|
5605
|
+
},
|
|
5606
|
+
{
|
|
5607
|
+
"name": "placeholder"
|
|
5608
|
+
},
|
|
5609
|
+
{
|
|
5610
|
+
"name": "id"
|
|
5611
|
+
},
|
|
5612
|
+
{
|
|
5613
|
+
"name": "label"
|
|
5614
|
+
},
|
|
5615
|
+
{
|
|
5616
|
+
"name": "disabled"
|
|
5617
|
+
},
|
|
5618
|
+
{
|
|
5619
|
+
"name": "hide-label"
|
|
5620
|
+
},
|
|
5621
|
+
{
|
|
5622
|
+
"name": "variant"
|
|
5623
|
+
},
|
|
5624
|
+
{
|
|
5625
|
+
"name": "optional"
|
|
5626
|
+
},
|
|
5627
|
+
{
|
|
5628
|
+
"name": "max-length"
|
|
5629
|
+
},
|
|
5630
|
+
{
|
|
5631
|
+
"name": "size"
|
|
5632
|
+
},
|
|
5633
|
+
{
|
|
5634
|
+
"name": "slot-layout"
|
|
5635
|
+
}
|
|
5636
|
+
],
|
|
5637
|
+
"superclass": {
|
|
5638
|
+
"name": "HTMLElement"
|
|
5639
|
+
},
|
|
5640
|
+
"tagName": "mui-input",
|
|
5641
|
+
"customElement": true
|
|
5642
|
+
}
|
|
5643
|
+
],
|
|
5644
|
+
"exports": [
|
|
5645
|
+
{
|
|
5646
|
+
"kind": "custom-element-definition",
|
|
5647
|
+
"name": "mui-input",
|
|
5648
|
+
"declaration": {
|
|
5649
|
+
"name": "MuiInput",
|
|
5650
|
+
"module": "src/components/mui-input/index.ts"
|
|
5651
|
+
}
|
|
5652
|
+
}
|
|
5653
|
+
]
|
|
5654
|
+
},
|
|
5655
5655
|
{
|
|
5656
5656
|
"kind": "javascript-module",
|
|
5657
5657
|
"path": "src/components/mui-link/doc.ts",
|
|
@@ -5907,7 +5907,7 @@
|
|
|
5907
5907
|
},
|
|
5908
5908
|
{
|
|
5909
5909
|
"kind": "javascript-module",
|
|
5910
|
-
"path": "src/components/mui-
|
|
5910
|
+
"path": "src/components/mui-media-player/doc.ts",
|
|
5911
5911
|
"declarations": [
|
|
5912
5912
|
{
|
|
5913
5913
|
"kind": "variable",
|
|
@@ -5915,7 +5915,7 @@
|
|
|
5915
5915
|
"type": {
|
|
5916
5916
|
"text": "MuiDocs"
|
|
5917
5917
|
},
|
|
5918
|
-
"default": "{
|
|
5918
|
+
"default": "{ MediaPlayer: { title: \"Media Player\", description: \"Media Player renders native audio/video and provider embeds (YouTube, SoundCloud) from a single src input. This is a new exploration for the system and will iterate over time.\", hero: [\"\"], figma: [\"\"], storybook: [\"https://stories.muibook.com\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-media-player/index.ts\"], website: [\"https://muibook.com/#/media-player\"], guides: [\"https://guides.muibook.com/prompt\"], usage: { list: [ \"Use for pasted media links when you want consistent in-product preview behavior.\", \"Rely on auto-detection for YouTube, SoundCloud, mp4/webm, and mp3/wav links.\", \"Set type only when you need to force a specific renderer.\", \"Native media controls include a seek-time hover bubble and a clickable time mode toggle (elapsed/total and remaining/total).\", ], }, accessibility: { designerList: [\"\"], engineerList: [\"Provide meaningful context around media purpose and avoid autoplay unless required.\"], }, anatomy: { image: \"\", list: [\"Media frame\", \"Native controls (video/audio)\", \"Progress/time row (native only)\"] }, variants: { items: [{ key: \"\", title: \"\", description: \"\", image: \"\" }] }, compositions: { description: \"\", items: [] }, related: { items: [ { name: \"Prompt\", link: \"https://guides.muibook.com/prompt\" }, { name: \"Prompt Preview\", link: \"https://guides.muibook.com/prompt-preview\" }, ], }, rules: [{ heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }] }], behaviour: { list: [\"\"] }, writing: { list: [\"\"] }, }, }"
|
|
5919
5919
|
}
|
|
5920
5920
|
],
|
|
5921
5921
|
"exports": [
|
|
@@ -5924,78 +5924,50 @@
|
|
|
5924
5924
|
"name": "muiDocs",
|
|
5925
5925
|
"declaration": {
|
|
5926
5926
|
"name": "muiDocs",
|
|
5927
|
-
"module": "src/components/mui-
|
|
5927
|
+
"module": "src/components/mui-media-player/doc.ts"
|
|
5928
5928
|
}
|
|
5929
5929
|
}
|
|
5930
5930
|
]
|
|
5931
5931
|
},
|
|
5932
5932
|
{
|
|
5933
5933
|
"kind": "javascript-module",
|
|
5934
|
-
"path": "src/components/mui-
|
|
5934
|
+
"path": "src/components/mui-media-player/index.ts",
|
|
5935
5935
|
"declarations": [
|
|
5936
5936
|
{
|
|
5937
5937
|
"kind": "class",
|
|
5938
5938
|
"description": "",
|
|
5939
|
-
"name": "
|
|
5939
|
+
"name": "MuiMediaPlayer",
|
|
5940
5940
|
"members": [
|
|
5941
5941
|
{
|
|
5942
5942
|
"kind": "field",
|
|
5943
|
-
"name": "
|
|
5944
|
-
"type": {
|
|
5945
|
-
"text": "MutationObserver | undefined"
|
|
5946
|
-
},
|
|
5947
|
-
"privacy": "private"
|
|
5948
|
-
},
|
|
5949
|
-
{
|
|
5950
|
-
"kind": "field",
|
|
5951
|
-
"name": "lightboxEl",
|
|
5943
|
+
"name": "countdownMode",
|
|
5952
5944
|
"type": {
|
|
5953
|
-
"text": "
|
|
5945
|
+
"text": "boolean"
|
|
5954
5946
|
},
|
|
5955
5947
|
"privacy": "private",
|
|
5956
|
-
"default": "
|
|
5957
|
-
},
|
|
5958
|
-
{
|
|
5959
|
-
"kind": "method",
|
|
5960
|
-
"name": "getBodySize",
|
|
5961
|
-
"privacy": "private"
|
|
5962
|
-
},
|
|
5963
|
-
{
|
|
5964
|
-
"kind": "method",
|
|
5965
|
-
"name": "getCodeSize",
|
|
5966
|
-
"privacy": "private"
|
|
5967
|
-
},
|
|
5968
|
-
{
|
|
5969
|
-
"kind": "method",
|
|
5970
|
-
"name": "getMarkdown",
|
|
5971
|
-
"privacy": "private"
|
|
5972
|
-
},
|
|
5973
|
-
{
|
|
5974
|
-
"kind": "method",
|
|
5975
|
-
"name": "getRenderRoot",
|
|
5976
|
-
"privacy": "private"
|
|
5977
|
-
},
|
|
5978
|
-
{
|
|
5979
|
-
"kind": "method",
|
|
5980
|
-
"name": "isLightboxEnabled",
|
|
5981
|
-
"privacy": "private"
|
|
5948
|
+
"default": "false"
|
|
5982
5949
|
},
|
|
5983
5950
|
{
|
|
5984
5951
|
"kind": "method",
|
|
5985
|
-
"name": "
|
|
5952
|
+
"name": "resolveType",
|
|
5986
5953
|
"privacy": "private",
|
|
5954
|
+
"return": {
|
|
5955
|
+
"type": {
|
|
5956
|
+
"text": "ResolvedType"
|
|
5957
|
+
}
|
|
5958
|
+
},
|
|
5987
5959
|
"parameters": [
|
|
5988
5960
|
{
|
|
5989
|
-
"name": "
|
|
5961
|
+
"name": "src",
|
|
5990
5962
|
"type": {
|
|
5991
|
-
"text": "
|
|
5963
|
+
"text": "string"
|
|
5992
5964
|
}
|
|
5993
5965
|
}
|
|
5994
5966
|
]
|
|
5995
5967
|
},
|
|
5996
5968
|
{
|
|
5997
5969
|
"kind": "method",
|
|
5998
|
-
"name": "
|
|
5970
|
+
"name": "getYouTubeEmbed",
|
|
5999
5971
|
"privacy": "private",
|
|
6000
5972
|
"parameters": [
|
|
6001
5973
|
{
|
|
@@ -6003,16 +5975,16 @@
|
|
|
6003
5975
|
"type": {
|
|
6004
5976
|
"text": "string"
|
|
6005
5977
|
}
|
|
6006
|
-
}
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
5978
|
+
}
|
|
5979
|
+
]
|
|
5980
|
+
},
|
|
5981
|
+
{
|
|
5982
|
+
"kind": "method",
|
|
5983
|
+
"name": "getSoundcloudEmbed",
|
|
5984
|
+
"privacy": "private",
|
|
5985
|
+
"parameters": [
|
|
6013
5986
|
{
|
|
6014
|
-
"name": "
|
|
6015
|
-
"optional": true,
|
|
5987
|
+
"name": "src",
|
|
6016
5988
|
"type": {
|
|
6017
5989
|
"text": "string"
|
|
6018
5990
|
}
|
|
@@ -6021,80 +5993,71 @@
|
|
|
6021
5993
|
},
|
|
6022
5994
|
{
|
|
6023
5995
|
"kind": "method",
|
|
6024
|
-
"name": "
|
|
6025
|
-
"privacy": "private"
|
|
6026
|
-
},
|
|
6027
|
-
{
|
|
6028
|
-
"kind": "method",
|
|
6029
|
-
"name": "bindHandlers",
|
|
5996
|
+
"name": "formatTime",
|
|
6030
5997
|
"privacy": "private",
|
|
6031
5998
|
"parameters": [
|
|
6032
5999
|
{
|
|
6033
|
-
"name": "
|
|
6000
|
+
"name": "seconds",
|
|
6034
6001
|
"type": {
|
|
6035
|
-
"text": "
|
|
6002
|
+
"text": "number"
|
|
6036
6003
|
}
|
|
6037
6004
|
}
|
|
6038
6005
|
]
|
|
6039
6006
|
},
|
|
6040
6007
|
{
|
|
6041
6008
|
"kind": "method",
|
|
6042
|
-
"name": "
|
|
6009
|
+
"name": "bindControls",
|
|
6043
6010
|
"privacy": "private"
|
|
6044
|
-
}
|
|
6045
|
-
],
|
|
6046
|
-
"events": [
|
|
6047
|
-
{
|
|
6048
|
-
"name": "mui-markdown-lightbox-change",
|
|
6049
|
-
"type": {
|
|
6050
|
-
"text": "CustomEvent"
|
|
6051
|
-
}
|
|
6052
6011
|
},
|
|
6053
6012
|
{
|
|
6054
|
-
"
|
|
6055
|
-
"
|
|
6056
|
-
"text": "CustomEvent"
|
|
6057
|
-
}
|
|
6013
|
+
"kind": "method",
|
|
6014
|
+
"name": "render"
|
|
6058
6015
|
}
|
|
6059
6016
|
],
|
|
6060
6017
|
"attributes": [
|
|
6061
6018
|
{
|
|
6062
|
-
"name": "
|
|
6019
|
+
"name": "src"
|
|
6063
6020
|
},
|
|
6064
6021
|
{
|
|
6065
|
-
"name": "
|
|
6022
|
+
"name": "type"
|
|
6066
6023
|
},
|
|
6067
6024
|
{
|
|
6068
|
-
"name": "
|
|
6025
|
+
"name": "autoplay"
|
|
6069
6026
|
},
|
|
6070
6027
|
{
|
|
6071
|
-
"name": "
|
|
6028
|
+
"name": "muted"
|
|
6072
6029
|
},
|
|
6073
6030
|
{
|
|
6074
|
-
"name": "
|
|
6031
|
+
"name": "loop"
|
|
6032
|
+
},
|
|
6033
|
+
{
|
|
6034
|
+
"name": "poster"
|
|
6035
|
+
},
|
|
6036
|
+
{
|
|
6037
|
+
"name": "prefer-native-controls"
|
|
6075
6038
|
}
|
|
6076
6039
|
],
|
|
6077
6040
|
"superclass": {
|
|
6078
6041
|
"name": "HTMLElement"
|
|
6079
6042
|
},
|
|
6080
|
-
"tagName": "mui-
|
|
6043
|
+
"tagName": "mui-media-player",
|
|
6081
6044
|
"customElement": true
|
|
6082
6045
|
}
|
|
6083
6046
|
],
|
|
6084
6047
|
"exports": [
|
|
6085
6048
|
{
|
|
6086
6049
|
"kind": "custom-element-definition",
|
|
6087
|
-
"name": "mui-
|
|
6050
|
+
"name": "mui-media-player",
|
|
6088
6051
|
"declaration": {
|
|
6089
|
-
"name": "
|
|
6090
|
-
"module": "src/components/mui-
|
|
6052
|
+
"name": "MuiMediaPlayer",
|
|
6053
|
+
"module": "src/components/mui-media-player/index.ts"
|
|
6091
6054
|
}
|
|
6092
6055
|
}
|
|
6093
6056
|
]
|
|
6094
6057
|
},
|
|
6095
6058
|
{
|
|
6096
6059
|
"kind": "javascript-module",
|
|
6097
|
-
"path": "src/components/mui-
|
|
6060
|
+
"path": "src/components/mui-markdown/doc.ts",
|
|
6098
6061
|
"declarations": [
|
|
6099
6062
|
{
|
|
6100
6063
|
"kind": "variable",
|
|
@@ -6102,7 +6065,7 @@
|
|
|
6102
6065
|
"type": {
|
|
6103
6066
|
"text": "MuiDocs"
|
|
6104
6067
|
},
|
|
6105
|
-
"default": "{
|
|
6068
|
+
"default": "{ Markdown: { title: \"Markdown\", description: \"Renders Markdown content using Muibook components so docs stay on-brand and framework-agnostic.\", hero: [\"\"], figma: [\"\"], storybook: [\"\"], github: [ \"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-markdown/index.ts\", ], website: [\"\"], guides: [\"\"], usage: { list: [ \"Use when Markdown content should render using Muibook components.\", \"Great for docs, release notes, and help content sourced from files or APIs.\", \"Supports GFM tables, code blocks, inline code, blockquotes, links, and images.\", \"Adds stable heading IDs for in-page navigation and TOC linking.\", \"Provides copy buttons for code blocks by default.\", \"Supports custom markers like grid, box, space, and rule.\", \"Use body-size and code-size to align typography with the surrounding UI.\", ], }, accessibility: { designerList: [\"\"], engineerList: [\"\"], }, anatomy: { image: \"\", list: [\"\"], }, variants: { items: [ { key: \"default\", title: \"Default\", description: \"Markdown rendered with Muibook components.\", image: \"\", }, ], }, compositions: { description: \"Markdown can be used to author content that will render into Muibook layout and typography components.\", items: [ { key: \"docs\", name: \"Docs\", description: \"Use for rich documentation pages that need headings, lists, tables, and code blocks.\", image: \"\", }, ], }, related: { items: [ { name: \"Code\", link: \"https://guides.muibook.com/code\" }, { name: \"Table\", link: \"https://guides.muibook.com/table\" }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }], }, ], behaviour: { list: [ \"Accepts markdown via the markdown attribute or inner text content.\", \"Re-renders when markdown, body-size, or code-size attributes change.\", \"Observes text content when markdown is not set, so live edits are reflected.\", \"Renders tables into mui-table with horizontal scroll and a minimum width.\", \"Code blocks render mui-code with a copy button that writes to clipboard.\", ], }, writing: { list: [ \"Keep headings short and scannable.\", \"Prefer lists and short paragraphs for readability.\", \"Use markers like -- space-400 -- or -- grid-col-1fr-1fr -- for layout spacing and grids.\", ], }, }, }"
|
|
6106
6069
|
}
|
|
6107
6070
|
],
|
|
6108
6071
|
"exports": [
|
|
@@ -6111,50 +6074,78 @@
|
|
|
6111
6074
|
"name": "muiDocs",
|
|
6112
6075
|
"declaration": {
|
|
6113
6076
|
"name": "muiDocs",
|
|
6114
|
-
"module": "src/components/mui-
|
|
6077
|
+
"module": "src/components/mui-markdown/doc.ts"
|
|
6115
6078
|
}
|
|
6116
6079
|
}
|
|
6117
6080
|
]
|
|
6118
6081
|
},
|
|
6119
6082
|
{
|
|
6120
6083
|
"kind": "javascript-module",
|
|
6121
|
-
"path": "src/components/mui-
|
|
6084
|
+
"path": "src/components/mui-markdown/index.ts",
|
|
6122
6085
|
"declarations": [
|
|
6123
6086
|
{
|
|
6124
6087
|
"kind": "class",
|
|
6125
6088
|
"description": "",
|
|
6126
|
-
"name": "
|
|
6089
|
+
"name": "MuiMarkdown",
|
|
6127
6090
|
"members": [
|
|
6128
6091
|
{
|
|
6129
6092
|
"kind": "field",
|
|
6130
|
-
"name": "
|
|
6093
|
+
"name": "observer",
|
|
6131
6094
|
"type": {
|
|
6132
|
-
"text": "
|
|
6095
|
+
"text": "MutationObserver | undefined"
|
|
6096
|
+
},
|
|
6097
|
+
"privacy": "private"
|
|
6098
|
+
},
|
|
6099
|
+
{
|
|
6100
|
+
"kind": "field",
|
|
6101
|
+
"name": "lightboxEl",
|
|
6102
|
+
"type": {
|
|
6103
|
+
"text": "HTMLDivElement | null"
|
|
6133
6104
|
},
|
|
6134
6105
|
"privacy": "private",
|
|
6135
|
-
"default": "
|
|
6106
|
+
"default": "null"
|
|
6136
6107
|
},
|
|
6137
6108
|
{
|
|
6138
6109
|
"kind": "method",
|
|
6139
|
-
"name": "
|
|
6110
|
+
"name": "getBodySize",
|
|
6111
|
+
"privacy": "private"
|
|
6112
|
+
},
|
|
6113
|
+
{
|
|
6114
|
+
"kind": "method",
|
|
6115
|
+
"name": "getCodeSize",
|
|
6116
|
+
"privacy": "private"
|
|
6117
|
+
},
|
|
6118
|
+
{
|
|
6119
|
+
"kind": "method",
|
|
6120
|
+
"name": "getMarkdown",
|
|
6121
|
+
"privacy": "private"
|
|
6122
|
+
},
|
|
6123
|
+
{
|
|
6124
|
+
"kind": "method",
|
|
6125
|
+
"name": "getRenderRoot",
|
|
6126
|
+
"privacy": "private"
|
|
6127
|
+
},
|
|
6128
|
+
{
|
|
6129
|
+
"kind": "method",
|
|
6130
|
+
"name": "isLightboxEnabled",
|
|
6131
|
+
"privacy": "private"
|
|
6132
|
+
},
|
|
6133
|
+
{
|
|
6134
|
+
"kind": "method",
|
|
6135
|
+
"name": "applyTableColumns",
|
|
6140
6136
|
"privacy": "private",
|
|
6141
|
-
"return": {
|
|
6142
|
-
"type": {
|
|
6143
|
-
"text": "ResolvedType"
|
|
6144
|
-
}
|
|
6145
|
-
},
|
|
6146
6137
|
"parameters": [
|
|
6147
6138
|
{
|
|
6148
|
-
"name": "
|
|
6139
|
+
"name": "renderRoot",
|
|
6149
6140
|
"type": {
|
|
6150
|
-
"text": "
|
|
6141
|
+
"text": "ParentNode"
|
|
6151
6142
|
}
|
|
6152
6143
|
}
|
|
6153
6144
|
]
|
|
6154
6145
|
},
|
|
6155
6146
|
{
|
|
6156
6147
|
"kind": "method",
|
|
6157
|
-
"name": "
|
|
6148
|
+
"name": "openLightbox",
|
|
6158
6149
|
"privacy": "private",
|
|
6159
6150
|
"parameters": [
|
|
6160
6151
|
{
|
|
@@ -6162,16 +6153,16 @@
|
|
|
6162
6153
|
"type": {
|
|
6163
6154
|
"text": "string"
|
|
6164
6155
|
}
|
|
6165
|
-
}
|
|
6166
|
-
]
|
|
6167
|
-
},
|
|
6168
|
-
{
|
|
6169
|
-
"kind": "method",
|
|
6170
|
-
"name": "getSoundcloudEmbed",
|
|
6171
|
-
"privacy": "private",
|
|
6172
|
-
"parameters": [
|
|
6156
|
+
},
|
|
6173
6157
|
{
|
|
6174
|
-
"name": "
|
|
6158
|
+
"name": "alt",
|
|
6159
|
+
"type": {
|
|
6160
|
+
"text": "string"
|
|
6161
|
+
}
|
|
6162
|
+
},
|
|
6163
|
+
{
|
|
6164
|
+
"name": "caption",
|
|
6165
|
+
"optional": true,
|
|
6175
6166
|
"type": {
|
|
6176
6167
|
"text": "string"
|
|
6177
6168
|
}
|
|
@@ -6180,64 +6171,73 @@
|
|
|
6180
6171
|
},
|
|
6181
6172
|
{
|
|
6182
6173
|
"kind": "method",
|
|
6183
|
-
"name": "
|
|
6174
|
+
"name": "closeLightbox",
|
|
6175
|
+
"privacy": "private"
|
|
6176
|
+
},
|
|
6177
|
+
{
|
|
6178
|
+
"kind": "method",
|
|
6179
|
+
"name": "bindHandlers",
|
|
6184
6180
|
"privacy": "private",
|
|
6185
6181
|
"parameters": [
|
|
6186
6182
|
{
|
|
6187
|
-
"name": "
|
|
6183
|
+
"name": "renderRoot",
|
|
6188
6184
|
"type": {
|
|
6189
|
-
"text": "
|
|
6185
|
+
"text": "ParentNode"
|
|
6190
6186
|
}
|
|
6191
6187
|
}
|
|
6192
6188
|
]
|
|
6193
6189
|
},
|
|
6194
6190
|
{
|
|
6195
6191
|
"kind": "method",
|
|
6196
|
-
"name": "
|
|
6192
|
+
"name": "render",
|
|
6197
6193
|
"privacy": "private"
|
|
6198
|
-
},
|
|
6199
|
-
{
|
|
6200
|
-
"kind": "method",
|
|
6201
|
-
"name": "render"
|
|
6202
6194
|
}
|
|
6203
6195
|
],
|
|
6204
|
-
"
|
|
6196
|
+
"events": [
|
|
6205
6197
|
{
|
|
6206
|
-
"name": "
|
|
6198
|
+
"name": "mui-markdown-lightbox-change",
|
|
6199
|
+
"type": {
|
|
6200
|
+
"text": "CustomEvent"
|
|
6201
|
+
}
|
|
6207
6202
|
},
|
|
6208
6203
|
{
|
|
6209
|
-
"name": "
|
|
6210
|
-
|
|
6204
|
+
"name": "mui-markdown-image-click",
|
|
6205
|
+
"type": {
|
|
6206
|
+
"text": "CustomEvent"
|
|
6207
|
+
}
|
|
6208
|
+
}
|
|
6209
|
+
],
|
|
6210
|
+
"attributes": [
|
|
6211
6211
|
{
|
|
6212
|
-
"name": "
|
|
6212
|
+
"name": "markdown"
|
|
6213
6213
|
},
|
|
6214
6214
|
{
|
|
6215
|
-
"name": "
|
|
6215
|
+
"name": "body-size"
|
|
6216
6216
|
},
|
|
6217
6217
|
{
|
|
6218
|
-
"name": "
|
|
6218
|
+
"name": "code-size"
|
|
6219
6219
|
},
|
|
6220
6220
|
{
|
|
6221
|
-
"name": "
|
|
6221
|
+
"name": "render-mode"
|
|
6222
6222
|
},
|
|
6223
6223
|
{
|
|
6224
|
-
"name": "
|
|
6224
|
+
"name": "lightbox"
|
|
6225
6225
|
}
|
|
6226
6226
|
],
|
|
6227
6227
|
"superclass": {
|
|
6228
6228
|
"name": "HTMLElement"
|
|
6229
6229
|
},
|
|
6230
|
-
"tagName": "mui-
|
|
6230
|
+
"tagName": "mui-markdown",
|
|
6231
6231
|
"customElement": true
|
|
6232
6232
|
}
|
|
6233
6233
|
],
|
|
6234
6234
|
"exports": [
|
|
6235
6235
|
{
|
|
6236
6236
|
"kind": "custom-element-definition",
|
|
6237
|
-
"name": "mui-
|
|
6237
|
+
"name": "mui-markdown",
|
|
6238
6238
|
"declaration": {
|
|
6239
|
-
"name": "
|
|
6240
|
-
"module": "src/components/mui-
|
|
6239
|
+
"name": "MuiMarkdown",
|
|
6240
|
+
"module": "src/components/mui-markdown/index.ts"
|
|
6241
6241
|
}
|
|
6242
6242
|
}
|
|
6243
6243
|
]
|
|
@@ -7091,110 +7091,6 @@
|
|
|
7091
7091
|
}
|
|
7092
7092
|
]
|
|
7093
7093
|
},
|
|
7094
|
-
{
|
|
7095
|
-
"kind": "javascript-module",
|
|
7096
|
-
"path": "src/components/mui-prompt-message/doc.ts",
|
|
7097
|
-
"declarations": [
|
|
7098
|
-
{
|
|
7099
|
-
"kind": "variable",
|
|
7100
|
-
"name": "muiDocs",
|
|
7101
|
-
"type": {
|
|
7102
|
-
"text": "MuiDocs"
|
|
7103
|
-
},
|
|
7104
|
-
"default": "{ PromptMessage: { title: \"Prompt Message\", description: \"Prompt Message provides a consistent conversation row shell with avatar and message content slots.\", hero: [\"\"], figma: [\"\"], storybook: [\"https://stories.muibook.com\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-prompt-message/index.ts\"], website: [\"https://muibook.com/#/prompt-message\"], guides: [\"https://guides.muibook.com/body\"], usage: { list: [ \"Use for chat-style reply rows in assistant and support interfaces.\", \"This component is extracted from composition patterns to keep conversation shells consistent.\", \"Slot avatar content into slot='avatar'.\", \"Use body/content components for message text.\", \"Use size='x-small|small|medium|large' to scale avatar/text rhythm across dense and spacious layouts.\", \"Use variant='ghost' when the message row should render without surface treatment.\", \"Use density='compact' when padding should be removed for tight compositions.\", \"Prefer this component over ad hoc grid wrappers when building threaded chat content.\", ], }, accessibility: { designerList: [ \"Maintain clear speaker distinction through avatar + message pairing.\", \"Keep contrast and typography readable in long conversation threads.\", ], engineerList: [ \"Provide meaningful avatar labels where identity context matters.\", \"Preserve DOM reading order (identity first, then message content).\", \"Avoid injecting decorative-only text into message content; keep semantics focused on conversation copy.\", ], }, anatomy: { image: \"\", list: [\"Bubble container\", \"Avatar slot\", \"Message content slot\"] }, variants: { items: [{ key: \"\", title: \"\", description: \"\", image: \"\" }] }, compositions: { description: \"\", items: [] }, related: { items: [ { name: \"Avatar\", link: \"https://guides.muibook.com/avatar\" }, { name: \"Body\", link: \"https://guides.muibook.com/body\" }, ], }, rules: [ { heading: \"Pattern Rule\", description: \"Use Prompt Message as the base conversation row primitive.\", doContent: [{ description: \"Compose identity + message content through avatar and body slots.\", image: \"\" }], dontContent: [{ description: \"Avoid custom one-off bubble containers per page.\", image: \"\" }], }, ], behaviour: { list: [ \"Avatar and message content align consistently across rows.\", ], }, writing: { list: [ \"Keep message copy concise and scannable in multi-row threads.\", ], }, }, }"
|
|
7105
|
-
}
|
|
7106
|
-
],
|
|
7107
|
-
"exports": [
|
|
7108
|
-
{
|
|
7109
|
-
"kind": "js",
|
|
7110
|
-
"name": "muiDocs",
|
|
7111
|
-
"declaration": {
|
|
7112
|
-
"name": "muiDocs",
|
|
7113
|
-
"module": "src/components/mui-prompt-message/doc.ts"
|
|
7114
|
-
}
|
|
7115
|
-
}
|
|
7116
|
-
]
|
|
7117
|
-
},
|
|
7118
|
-
{
|
|
7119
|
-
"kind": "javascript-module",
|
|
7120
|
-
"path": "src/components/mui-prompt-message/index.ts",
|
|
7121
|
-
"declarations": [
|
|
7122
|
-
{
|
|
7123
|
-
"kind": "class",
|
|
7124
|
-
"description": "",
|
|
7125
|
-
"name": "MuiPromptMessage",
|
|
7126
|
-
"members": [
|
|
7127
|
-
{
|
|
7128
|
-
"kind": "field",
|
|
7129
|
-
"name": "resizeObserver",
|
|
7130
|
-
"type": {
|
|
7131
|
-
"text": "ResizeObserver | null"
|
|
7132
|
-
},
|
|
7133
|
-
"privacy": "private",
|
|
7134
|
-
"default": "null"
|
|
7135
|
-
},
|
|
7136
|
-
{
|
|
7137
|
-
"kind": "field",
|
|
7138
|
-
"name": "avatarSlotEl",
|
|
7139
|
-
"type": {
|
|
7140
|
-
"text": "HTMLSlotElement | null"
|
|
7141
|
-
},
|
|
7142
|
-
"privacy": "private",
|
|
7143
|
-
"default": "null"
|
|
7144
|
-
},
|
|
7145
|
-
{
|
|
7146
|
-
"kind": "field",
|
|
7147
|
-
"name": "contentSlotEl",
|
|
7148
|
-
"type": {
|
|
7149
|
-
"text": "HTMLSlotElement | null"
|
|
7150
|
-
},
|
|
7151
|
-
"privacy": "private",
|
|
7152
|
-
"default": "null"
|
|
7153
|
-
},
|
|
7154
|
-
{
|
|
7155
|
-
"kind": "method",
|
|
7156
|
-
"name": "render"
|
|
7157
|
-
},
|
|
7158
|
-
{
|
|
7159
|
-
"kind": "method",
|
|
7160
|
-
"name": "bindSlotSync",
|
|
7161
|
-
"privacy": "private"
|
|
7162
|
-
},
|
|
7163
|
-
{
|
|
7164
|
-
"kind": "method",
|
|
7165
|
-
"name": "bindLayoutSync",
|
|
7166
|
-
"privacy": "private"
|
|
7167
|
-
}
|
|
7168
|
-
],
|
|
7169
|
-
"attributes": [
|
|
7170
|
-
{
|
|
7171
|
-
"name": "size"
|
|
7172
|
-
},
|
|
7173
|
-
{
|
|
7174
|
-
"name": "variant"
|
|
7175
|
-
},
|
|
7176
|
-
{
|
|
7177
|
-
"name": "density"
|
|
7178
|
-
}
|
|
7179
|
-
],
|
|
7180
|
-
"superclass": {
|
|
7181
|
-
"name": "HTMLElement"
|
|
7182
|
-
},
|
|
7183
|
-
"tagName": "mui-prompt-message",
|
|
7184
|
-
"customElement": true
|
|
7185
|
-
}
|
|
7186
|
-
],
|
|
7187
|
-
"exports": [
|
|
7188
|
-
{
|
|
7189
|
-
"kind": "custom-element-definition",
|
|
7190
|
-
"name": "mui-prompt-message",
|
|
7191
|
-
"declaration": {
|
|
7192
|
-
"name": "MuiPromptMessage",
|
|
7193
|
-
"module": "src/components/mui-prompt-message/index.ts"
|
|
7194
|
-
}
|
|
7195
|
-
}
|
|
7196
|
-
]
|
|
7197
|
-
},
|
|
7198
7094
|
{
|
|
7199
7095
|
"kind": "javascript-module",
|
|
7200
7096
|
"path": "src/components/mui-prompt-preview/doc.ts",
|
|
@@ -7413,6 +7309,110 @@
|
|
|
7413
7309
|
}
|
|
7414
7310
|
]
|
|
7415
7311
|
},
|
|
7312
|
+
{
|
|
7313
|
+
"kind": "javascript-module",
|
|
7314
|
+
"path": "src/components/mui-prompt-message/doc.ts",
|
|
7315
|
+
"declarations": [
|
|
7316
|
+
{
|
|
7317
|
+
"kind": "variable",
|
|
7318
|
+
"name": "muiDocs",
|
|
7319
|
+
"type": {
|
|
7320
|
+
"text": "MuiDocs"
|
|
7321
|
+
},
|
|
7322
|
+
"default": "{ PromptMessage: { title: \"Prompt Message\", description: \"Prompt Message provides a consistent conversation row shell with avatar and message content slots.\", hero: [\"\"], figma: [\"\"], storybook: [\"https://stories.muibook.com\"], github: [\"https://github.com/michaeltrilford/muibook/blob/main/src/components/mui-prompt-message/index.ts\"], website: [\"https://muibook.com/#/prompt-message\"], guides: [\"https://guides.muibook.com/body\"], usage: { list: [ \"Use for chat-style reply rows in assistant and support interfaces.\", \"This component is extracted from composition patterns to keep conversation shells consistent.\", \"Slot avatar content into slot='avatar'.\", \"Use body/content components for message text.\", \"Use size='x-small|small|medium|large' to scale avatar/text rhythm across dense and spacious layouts.\", \"Use variant='ghost' when the message row should render without surface treatment.\", \"Use density='compact' when padding should be removed for tight compositions.\", \"Prefer this component over ad hoc grid wrappers when building threaded chat content.\", ], }, accessibility: { designerList: [ \"Maintain clear speaker distinction through avatar + message pairing.\", \"Keep contrast and typography readable in long conversation threads.\", ], engineerList: [ \"Provide meaningful avatar labels where identity context matters.\", \"Preserve DOM reading order (identity first, then message content).\", \"Avoid injecting decorative-only text into message content; keep semantics focused on conversation copy.\", ], }, anatomy: { image: \"\", list: [\"Bubble container\", \"Avatar slot\", \"Message content slot\"] }, variants: { items: [{ key: \"\", title: \"\", description: \"\", image: \"\" }] }, compositions: { description: \"\", items: [] }, related: { items: [ { name: \"Avatar\", link: \"https://guides.muibook.com/avatar\" }, { name: \"Body\", link: \"https://guides.muibook.com/body\" }, ], }, rules: [ { heading: \"Pattern Rule\", description: \"Use Prompt Message as the base conversation row primitive.\", doContent: [{ description: \"Compose identity + message content through avatar and body slots.\", image: \"\" }], dontContent: [{ description: \"Avoid custom one-off bubble containers per page.\", image: \"\" }], }, ], behaviour: { list: [ \"Avatar and message content align consistently across rows.\", ], }, writing: { list: [ \"Keep message copy concise and scannable in multi-row threads.\", ], }, }, }"
|
|
7323
|
+
}
|
|
7324
|
+
],
|
|
7325
|
+
"exports": [
|
|
7326
|
+
{
|
|
7327
|
+
"kind": "js",
|
|
7328
|
+
"name": "muiDocs",
|
|
7329
|
+
"declaration": {
|
|
7330
|
+
"name": "muiDocs",
|
|
7331
|
+
"module": "src/components/mui-prompt-message/doc.ts"
|
|
7332
|
+
}
|
|
7333
|
+
}
|
|
7334
|
+
]
|
|
7335
|
+
},
|
|
7336
|
+
{
|
|
7337
|
+
"kind": "javascript-module",
|
|
7338
|
+
"path": "src/components/mui-prompt-message/index.ts",
|
|
7339
|
+
"declarations": [
|
|
7340
|
+
{
|
|
7341
|
+
"kind": "class",
|
|
7342
|
+
"description": "",
|
|
7343
|
+
"name": "MuiPromptMessage",
|
|
7344
|
+
"members": [
|
|
7345
|
+
{
|
|
7346
|
+
"kind": "field",
|
|
7347
|
+
"name": "resizeObserver",
|
|
7348
|
+
"type": {
|
|
7349
|
+
"text": "ResizeObserver | null"
|
|
7350
|
+
},
|
|
7351
|
+
"privacy": "private",
|
|
7352
|
+
"default": "null"
|
|
7353
|
+
},
|
|
7354
|
+
{
|
|
7355
|
+
"kind": "field",
|
|
7356
|
+
"name": "avatarSlotEl",
|
|
7357
|
+
"type": {
|
|
7358
|
+
"text": "HTMLSlotElement | null"
|
|
7359
|
+
},
|
|
7360
|
+
"privacy": "private",
|
|
7361
|
+
"default": "null"
|
|
7362
|
+
},
|
|
7363
|
+
{
|
|
7364
|
+
"kind": "field",
|
|
7365
|
+
"name": "contentSlotEl",
|
|
7366
|
+
"type": {
|
|
7367
|
+
"text": "HTMLSlotElement | null"
|
|
7368
|
+
},
|
|
7369
|
+
"privacy": "private",
|
|
7370
|
+
"default": "null"
|
|
7371
|
+
},
|
|
7372
|
+
{
|
|
7373
|
+
"kind": "method",
|
|
7374
|
+
"name": "render"
|
|
7375
|
+
},
|
|
7376
|
+
{
|
|
7377
|
+
"kind": "method",
|
|
7378
|
+
"name": "bindSlotSync",
|
|
7379
|
+
"privacy": "private"
|
|
7380
|
+
},
|
|
7381
|
+
{
|
|
7382
|
+
"kind": "method",
|
|
7383
|
+
"name": "bindLayoutSync",
|
|
7384
|
+
"privacy": "private"
|
|
7385
|
+
}
|
|
7386
|
+
],
|
|
7387
|
+
"attributes": [
|
|
7388
|
+
{
|
|
7389
|
+
"name": "size"
|
|
7390
|
+
},
|
|
7391
|
+
{
|
|
7392
|
+
"name": "variant"
|
|
7393
|
+
},
|
|
7394
|
+
{
|
|
7395
|
+
"name": "density"
|
|
7396
|
+
}
|
|
7397
|
+
],
|
|
7398
|
+
"superclass": {
|
|
7399
|
+
"name": "HTMLElement"
|
|
7400
|
+
},
|
|
7401
|
+
"tagName": "mui-prompt-message",
|
|
7402
|
+
"customElement": true
|
|
7403
|
+
}
|
|
7404
|
+
],
|
|
7405
|
+
"exports": [
|
|
7406
|
+
{
|
|
7407
|
+
"kind": "custom-element-definition",
|
|
7408
|
+
"name": "mui-prompt-message",
|
|
7409
|
+
"declaration": {
|
|
7410
|
+
"name": "MuiPromptMessage",
|
|
7411
|
+
"module": "src/components/mui-prompt-message/index.ts"
|
|
7412
|
+
}
|
|
7413
|
+
}
|
|
7414
|
+
]
|
|
7415
|
+
},
|
|
7416
7416
|
{
|
|
7417
7417
|
"kind": "javascript-module",
|
|
7418
7418
|
"path": "src/components/mui-prompt-toggle/index.ts",
|
|
@@ -8991,36 +8991,6 @@
|
|
|
8991
8991
|
"declarations": [],
|
|
8992
8992
|
"exports": []
|
|
8993
8993
|
},
|
|
8994
|
-
{
|
|
8995
|
-
"kind": "javascript-module",
|
|
8996
|
-
"path": "src/components/mui-stepper/doc.ts",
|
|
8997
|
-
"declarations": [
|
|
8998
|
-
{
|
|
8999
|
-
"kind": "variable",
|
|
9000
|
-
"name": "muiDocs",
|
|
9001
|
-
"type": {
|
|
9002
|
-
"text": "MuiDocs"
|
|
9003
|
-
},
|
|
9004
|
-
"default": "{ Stepper: { title: \"Stepper\", description: \"A Stepper component visually represents a sequence of steps in a process. It helps users understand progress and navigate through multi-step workflows. This component supports both horizontal and vertical orientations.\", hero: [ \"https://images.ctfassets.net/i5uwscj4pkk2/423YAEfIeoDzzsK9ClbTkP/485c6c4f637080247caa150afed0ef14/Stepper_-_Home_Image.png\", ], figma: [ \"https://www.figma.com/design/l0mt1lXu97XoHJCEdnrWLp/Mui-Design-System?node-id=948-4195&t=0ytskb8cxriEmdz2-1\", ], storybook: [\"https://stories.muibook.com/?path=/docs/navigation-stepper--docs\"], github: [\"https://github.com/michaeltrilford/muibook/tree/main/src/components/mui-stepper\"], website: [\"https://muibook.com/#/stepper\"], guides: [\"https://guides.muibook.com/stepper\"], usage: { list: [ \"Use active-step to control the current step in a multi-step flow.\", \"Use size='x-small|small|medium' to match the density of the surrounding layout.\", \"Use interactive when users should be able to click and keyboard-navigate steps.\", \"Use linear with interactive to limit forward progression to the next available step while still allowing users to move backwards.\", \"Use explicit step states (success, pending, error, disabled) for async and validation workflows.\", ], }, accessibility: { designerList: [\"\"], engineerList: [\"\"], }, anatomy: { description: \"The stepper uses two simple styles: active and inactive. Their meaning changes based on position in the sequence, representing progress through different states.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/6Y5iyISdhK7PX8d1cHJxWv/761efb630c924af42ebf8d8bd5fabfb2/Stepper_-_Anatomy.png\", list: [ \"Active / Completed / Success: Indicates the current step or a task that has been successfully finished.\", \"Pending / Error / Disabled: Communicates processing, validation failure, or temporarily unavailable steps.\", \"Upcoming: Represents a step or task that has not yet started.\", ], }, variants: { items: [ { key: \"\", title: \"\", description: \"\", image: \"\", }, ], }, compositions: { description: \"Showcases actual use cases, demonstrating how the component fits into real-world UI scenarios.\", items: [ { key: \"review-items-task\", name: \"Review Items Task\", description: \"A permanent drawer remains visible at all times and is typically used for core navigation or tools that support the main content. It doesn’t open or close, and is always part of the current layout or workflow.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/rHTSU9sPUdmwrmGETRLcC/fa444ff8d8a72a28e8f10537324bbca3/drawer-composition-smart-bills.png\", }, ], }, related: { items: [ { name: \"\", link: \"\", }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }], }, ], behaviour: { list: [\"\"], }, writing: { list: [\"\"], }, }, }"
|
|
9005
|
-
}
|
|
9006
|
-
],
|
|
9007
|
-
"exports": [
|
|
9008
|
-
{
|
|
9009
|
-
"kind": "js",
|
|
9010
|
-
"name": "muiDocs",
|
|
9011
|
-
"declaration": {
|
|
9012
|
-
"name": "muiDocs",
|
|
9013
|
-
"module": "src/components/mui-stepper/doc.ts"
|
|
9014
|
-
}
|
|
9015
|
-
}
|
|
9016
|
-
]
|
|
9017
|
-
},
|
|
9018
|
-
{
|
|
9019
|
-
"kind": "javascript-module",
|
|
9020
|
-
"path": "src/components/mui-stepper/index.ts",
|
|
9021
|
-
"declarations": [],
|
|
9022
|
-
"exports": []
|
|
9023
|
-
},
|
|
9024
8994
|
{
|
|
9025
8995
|
"kind": "javascript-module",
|
|
9026
8996
|
"path": "src/components/mui-switch/doc.ts",
|
|
@@ -9157,6 +9127,36 @@
|
|
|
9157
9127
|
}
|
|
9158
9128
|
]
|
|
9159
9129
|
},
|
|
9130
|
+
{
|
|
9131
|
+
"kind": "javascript-module",
|
|
9132
|
+
"path": "src/components/mui-stepper/doc.ts",
|
|
9133
|
+
"declarations": [
|
|
9134
|
+
{
|
|
9135
|
+
"kind": "variable",
|
|
9136
|
+
"name": "muiDocs",
|
|
9137
|
+
"type": {
|
|
9138
|
+
"text": "MuiDocs"
|
|
9139
|
+
},
|
|
9140
|
+
"default": "{ Stepper: { title: \"Stepper\", description: \"A Stepper component visually represents a sequence of steps in a process. It helps users understand progress and navigate through multi-step workflows. This component supports both horizontal and vertical orientations.\", hero: [ \"https://images.ctfassets.net/i5uwscj4pkk2/423YAEfIeoDzzsK9ClbTkP/485c6c4f637080247caa150afed0ef14/Stepper_-_Home_Image.png\", ], figma: [ \"https://www.figma.com/design/l0mt1lXu97XoHJCEdnrWLp/Mui-Design-System?node-id=948-4195&t=0ytskb8cxriEmdz2-1\", ], storybook: [\"https://stories.muibook.com/?path=/docs/navigation-stepper--docs\"], github: [\"https://github.com/michaeltrilford/muibook/tree/main/src/components/mui-stepper\"], website: [\"https://muibook.com/#/stepper\"], guides: [\"https://guides.muibook.com/stepper\"], usage: { list: [ \"Use active-step to control the current step in a multi-step flow.\", \"Use size='x-small|small|medium' to match the density of the surrounding layout.\", \"Use interactive when users should be able to click and keyboard-navigate steps.\", \"Use linear with interactive to limit forward progression to the next available step while still allowing users to move backwards.\", \"Use explicit step states (success, pending, error, disabled) for async and validation workflows.\", ], }, accessibility: { designerList: [\"\"], engineerList: [\"\"], }, anatomy: { description: \"The stepper uses two simple styles: active and inactive. Their meaning changes based on position in the sequence, representing progress through different states.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/6Y5iyISdhK7PX8d1cHJxWv/761efb630c924af42ebf8d8bd5fabfb2/Stepper_-_Anatomy.png\", list: [ \"Active / Completed / Success: Indicates the current step or a task that has been successfully finished.\", \"Pending / Error / Disabled: Communicates processing, validation failure, or temporarily unavailable steps.\", \"Upcoming: Represents a step or task that has not yet started.\", ], }, variants: { items: [ { key: \"\", title: \"\", description: \"\", image: \"\", }, ], }, compositions: { description: \"Showcases actual use cases, demonstrating how the component fits into real-world UI scenarios.\", items: [ { key: \"review-items-task\", name: \"Review Items Task\", description: \"A permanent drawer remains visible at all times and is typically used for core navigation or tools that support the main content. It doesn’t open or close, and is always part of the current layout or workflow.\", image: \"https://images.ctfassets.net/i5uwscj4pkk2/rHTSU9sPUdmwrmGETRLcC/fa444ff8d8a72a28e8f10537324bbca3/drawer-composition-smart-bills.png\", }, ], }, related: { items: [ { name: \"\", link: \"\", }, ], }, rules: [ { heading: \"\", description: \"\", doContent: [{ description: \"\", image: \"\" }], dontContent: [{ description: \"\", image: \"\" }], }, ], behaviour: { list: [\"\"], }, writing: { list: [\"\"], }, }, }"
|
|
9141
|
+
}
|
|
9142
|
+
],
|
|
9143
|
+
"exports": [
|
|
9144
|
+
{
|
|
9145
|
+
"kind": "js",
|
|
9146
|
+
"name": "muiDocs",
|
|
9147
|
+
"declaration": {
|
|
9148
|
+
"name": "muiDocs",
|
|
9149
|
+
"module": "src/components/mui-stepper/doc.ts"
|
|
9150
|
+
}
|
|
9151
|
+
}
|
|
9152
|
+
]
|
|
9153
|
+
},
|
|
9154
|
+
{
|
|
9155
|
+
"kind": "javascript-module",
|
|
9156
|
+
"path": "src/components/mui-stepper/index.ts",
|
|
9157
|
+
"declarations": [],
|
|
9158
|
+
"exports": []
|
|
9159
|
+
},
|
|
9160
9160
|
{
|
|
9161
9161
|
"kind": "javascript-module",
|
|
9162
9162
|
"path": "src/components/mui-table/doc.ts",
|
|
@@ -10216,6 +10216,58 @@
|
|
|
10216
10216
|
}
|
|
10217
10217
|
]
|
|
10218
10218
|
},
|
|
10219
|
+
{
|
|
10220
|
+
"kind": "javascript-module",
|
|
10221
|
+
"path": "src/components/mui-stepper/step/index.ts",
|
|
10222
|
+
"declarations": [
|
|
10223
|
+
{
|
|
10224
|
+
"kind": "class",
|
|
10225
|
+
"description": "",
|
|
10226
|
+
"name": "MuiStep",
|
|
10227
|
+
"members": [
|
|
10228
|
+
{
|
|
10229
|
+
"kind": "method",
|
|
10230
|
+
"name": "render"
|
|
10231
|
+
}
|
|
10232
|
+
],
|
|
10233
|
+
"attributes": [
|
|
10234
|
+
{
|
|
10235
|
+
"name": "state"
|
|
10236
|
+
},
|
|
10237
|
+
{
|
|
10238
|
+
"name": "resolved-state"
|
|
10239
|
+
},
|
|
10240
|
+
{
|
|
10241
|
+
"name": "title"
|
|
10242
|
+
},
|
|
10243
|
+
{
|
|
10244
|
+
"name": "direction"
|
|
10245
|
+
},
|
|
10246
|
+
{
|
|
10247
|
+
"name": "hide-icon"
|
|
10248
|
+
},
|
|
10249
|
+
{
|
|
10250
|
+
"name": "size"
|
|
10251
|
+
}
|
|
10252
|
+
],
|
|
10253
|
+
"superclass": {
|
|
10254
|
+
"name": "HTMLElement"
|
|
10255
|
+
},
|
|
10256
|
+
"tagName": "mui-step",
|
|
10257
|
+
"customElement": true
|
|
10258
|
+
}
|
|
10259
|
+
],
|
|
10260
|
+
"exports": [
|
|
10261
|
+
{
|
|
10262
|
+
"kind": "custom-element-definition",
|
|
10263
|
+
"name": "mui-step",
|
|
10264
|
+
"declaration": {
|
|
10265
|
+
"name": "MuiStep",
|
|
10266
|
+
"module": "src/components/mui-stepper/step/index.ts"
|
|
10267
|
+
}
|
|
10268
|
+
}
|
|
10269
|
+
]
|
|
10270
|
+
},
|
|
10219
10271
|
{
|
|
10220
10272
|
"kind": "javascript-module",
|
|
10221
10273
|
"path": "src/components/mui-stack/vstack/index.ts",
|
|
@@ -10300,58 +10352,6 @@
|
|
|
10300
10352
|
}
|
|
10301
10353
|
]
|
|
10302
10354
|
},
|
|
10303
|
-
{
|
|
10304
|
-
"kind": "javascript-module",
|
|
10305
|
-
"path": "src/components/mui-stepper/step/index.ts",
|
|
10306
|
-
"declarations": [
|
|
10307
|
-
{
|
|
10308
|
-
"kind": "class",
|
|
10309
|
-
"description": "",
|
|
10310
|
-
"name": "MuiStep",
|
|
10311
|
-
"members": [
|
|
10312
|
-
{
|
|
10313
|
-
"kind": "method",
|
|
10314
|
-
"name": "render"
|
|
10315
|
-
}
|
|
10316
|
-
],
|
|
10317
|
-
"attributes": [
|
|
10318
|
-
{
|
|
10319
|
-
"name": "state"
|
|
10320
|
-
},
|
|
10321
|
-
{
|
|
10322
|
-
"name": "resolved-state"
|
|
10323
|
-
},
|
|
10324
|
-
{
|
|
10325
|
-
"name": "title"
|
|
10326
|
-
},
|
|
10327
|
-
{
|
|
10328
|
-
"name": "direction"
|
|
10329
|
-
},
|
|
10330
|
-
{
|
|
10331
|
-
"name": "hide-icon"
|
|
10332
|
-
},
|
|
10333
|
-
{
|
|
10334
|
-
"name": "size"
|
|
10335
|
-
}
|
|
10336
|
-
],
|
|
10337
|
-
"superclass": {
|
|
10338
|
-
"name": "HTMLElement"
|
|
10339
|
-
},
|
|
10340
|
-
"tagName": "mui-step",
|
|
10341
|
-
"customElement": true
|
|
10342
|
-
}
|
|
10343
|
-
],
|
|
10344
|
-
"exports": [
|
|
10345
|
-
{
|
|
10346
|
-
"kind": "custom-element-definition",
|
|
10347
|
-
"name": "mui-step",
|
|
10348
|
-
"declaration": {
|
|
10349
|
-
"name": "MuiStep",
|
|
10350
|
-
"module": "src/components/mui-stepper/step/index.ts"
|
|
10351
|
-
}
|
|
10352
|
-
}
|
|
10353
|
-
]
|
|
10354
|
-
},
|
|
10355
10355
|
{
|
|
10356
10356
|
"kind": "javascript-module",
|
|
10357
10357
|
"path": "src/components/mui-stepper/stepper/index.ts",
|
|
@@ -10834,6 +10834,51 @@
|
|
|
10834
10834
|
}
|
|
10835
10835
|
]
|
|
10836
10836
|
},
|
|
10837
|
+
{
|
|
10838
|
+
"kind": "javascript-module",
|
|
10839
|
+
"path": "src/components/mui-tabs/panel/index.ts",
|
|
10840
|
+
"declarations": [
|
|
10841
|
+
{
|
|
10842
|
+
"kind": "class",
|
|
10843
|
+
"description": "",
|
|
10844
|
+
"name": "MuiTabPanel",
|
|
10845
|
+
"members": [
|
|
10846
|
+
{
|
|
10847
|
+
"kind": "field",
|
|
10848
|
+
"name": "item",
|
|
10849
|
+
"type": {
|
|
10850
|
+
"text": "string | null"
|
|
10851
|
+
}
|
|
10852
|
+
},
|
|
10853
|
+
{
|
|
10854
|
+
"kind": "field",
|
|
10855
|
+
"name": "innerHTML",
|
|
10856
|
+
"default": "` <style> :host { display: block; } :host([hidden]) { display: none !important; } .inner { padding: var(--tab-panel-padding, 0); } </style> <div class=\"inner\"> <slot></slot> </div> `"
|
|
10857
|
+
}
|
|
10858
|
+
],
|
|
10859
|
+
"attributes": [
|
|
10860
|
+
{
|
|
10861
|
+
"name": "item"
|
|
10862
|
+
}
|
|
10863
|
+
],
|
|
10864
|
+
"superclass": {
|
|
10865
|
+
"name": "HTMLElement"
|
|
10866
|
+
},
|
|
10867
|
+
"tagName": "mui-tab-panel",
|
|
10868
|
+
"customElement": true
|
|
10869
|
+
}
|
|
10870
|
+
],
|
|
10871
|
+
"exports": [
|
|
10872
|
+
{
|
|
10873
|
+
"kind": "custom-element-definition",
|
|
10874
|
+
"name": "mui-tab-panel",
|
|
10875
|
+
"declaration": {
|
|
10876
|
+
"name": "MuiTabPanel",
|
|
10877
|
+
"module": "src/components/mui-tabs/panel/index.ts"
|
|
10878
|
+
}
|
|
10879
|
+
}
|
|
10880
|
+
]
|
|
10881
|
+
},
|
|
10837
10882
|
{
|
|
10838
10883
|
"kind": "javascript-module",
|
|
10839
10884
|
"path": "src/components/mui-tabs/tab-bar/index.ts",
|
|
@@ -10993,51 +11038,6 @@
|
|
|
10993
11038
|
}
|
|
10994
11039
|
}
|
|
10995
11040
|
]
|
|
10996
|
-
},
|
|
10997
|
-
{
|
|
10998
|
-
"kind": "javascript-module",
|
|
10999
|
-
"path": "src/components/mui-tabs/panel/index.ts",
|
|
11000
|
-
"declarations": [
|
|
11001
|
-
{
|
|
11002
|
-
"kind": "class",
|
|
11003
|
-
"description": "",
|
|
11004
|
-
"name": "MuiTabPanel",
|
|
11005
|
-
"members": [
|
|
11006
|
-
{
|
|
11007
|
-
"kind": "field",
|
|
11008
|
-
"name": "item",
|
|
11009
|
-
"type": {
|
|
11010
|
-
"text": "string | null"
|
|
11011
|
-
}
|
|
11012
|
-
},
|
|
11013
|
-
{
|
|
11014
|
-
"kind": "field",
|
|
11015
|
-
"name": "innerHTML",
|
|
11016
|
-
"default": "` <style> :host { display: block; } :host([hidden]) { display: none !important; } .inner { padding: var(--tab-panel-padding, 0); } </style> <div class=\"inner\"> <slot></slot> </div> `"
|
|
11017
|
-
}
|
|
11018
|
-
],
|
|
11019
|
-
"attributes": [
|
|
11020
|
-
{
|
|
11021
|
-
"name": "item"
|
|
11022
|
-
}
|
|
11023
|
-
],
|
|
11024
|
-
"superclass": {
|
|
11025
|
-
"name": "HTMLElement"
|
|
11026
|
-
},
|
|
11027
|
-
"tagName": "mui-tab-panel",
|
|
11028
|
-
"customElement": true
|
|
11029
|
-
}
|
|
11030
|
-
],
|
|
11031
|
-
"exports": [
|
|
11032
|
-
{
|
|
11033
|
-
"kind": "custom-element-definition",
|
|
11034
|
-
"name": "mui-tab-panel",
|
|
11035
|
-
"declaration": {
|
|
11036
|
-
"name": "MuiTabPanel",
|
|
11037
|
-
"module": "src/components/mui-tabs/panel/index.ts"
|
|
11038
|
-
}
|
|
11039
|
-
}
|
|
11040
|
-
]
|
|
11041
11041
|
}
|
|
11042
11042
|
]
|
|
11043
11043
|
}
|