@muibook/components 19.1.1 → 19.3.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/agent/keywords/index.js +67 -24
- package/dist/esm/agent/prompts/index.js +297 -845
- package/dist/esm/components/mui-button/index.js +98 -72
- package/dist/esm/components/mui-dialog/index.js +14 -5
- package/dist/esm/components/mui-field/index.js +1 -1
- package/dist/esm/components/mui-illustrations/index.js +1 -0
- package/dist/esm/components/mui-illustrations/trash/index.js +81 -0
- package/dist/esm/components/mui-input/index.js +2 -2
- package/dist/esm/css/mui-brand.css +1 -1
- package/dist/esm/css/mui-tokens.css +16 -0
- package/dist/esm/custom-elements.json +1292 -1115
- package/dist/esm/dynamic-attrs.json +2 -1
- package/dist/esm/index.js +5 -4
- package/dist/types/agent/keywords/index.d.ts +1 -1
- package/dist/types/agent/prompts/index.d.ts +1 -10
- package/dist/types/components/mui-form-message/doc.d.ts +2 -0
- package/dist/types/components/mui-illustrations/doc.d.ts +2 -0
- package/dist/types/components/mui-illustrations/index.d.ts +1 -0
- package/dist/types/components/mui-illustrations/trash.d.ts +1 -0
- package/dist/types/components/mui-prompt-toggle/doc.d.ts +2 -0
- package/dist/types/components/mui-radio-group/doc.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +9 -1
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = {
|
|
2
|
+
// FEEDBACK
|
|
2
3
|
alert: ["alert", "success", "info", "warning", "error", "message", "banner", "notification"],
|
|
3
4
|
message: ["message", "notice", "notification", "alert", "info", "positive", "neutral", "warning", "attention"],
|
|
4
|
-
|
|
5
|
+
loader: ["loader", "loading", "skeleton", "placeholder", "shimmer", "pulse", "fade", "spinner"],
|
|
6
|
+
spinner: ["spinner", "loading", "busy", "indicator", "progress"],
|
|
7
|
+
progress: ["progress", "bar", "loading", "completion", "percent", "syncing", "pending"],
|
|
8
|
+
// ACTIONS
|
|
5
9
|
button: ["button", "click", "action", "submit", "cta", "primary", "secondary", "tertiary", "attention"],
|
|
6
10
|
"button-group": ["button group", "buttons", "actions", "group", "right", "align"],
|
|
11
|
+
link: ["link", "anchor", "hyperlink", "navigation", "primary", "secondary", "tertiary", "attention"],
|
|
12
|
+
dropdown: ["dropdown", "menu", "popover", "context menu", "action menu"],
|
|
13
|
+
chip: ["chip", "tag", "filter", "active", "dismiss", "input chip"],
|
|
14
|
+
// CONTENT
|
|
7
15
|
icon: [
|
|
8
16
|
"icon",
|
|
9
17
|
"glyph",
|
|
@@ -32,18 +40,41 @@ const a = {
|
|
|
32
40
|
"subtract",
|
|
33
41
|
"minus"
|
|
34
42
|
],
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
43
|
+
heading: ["heading", "title", "h1", "h2", "h3", "size", "level"],
|
|
44
|
+
body: ["body", "text", "paragraph", "copy", "default", "optional", "success", "warning", "error"],
|
|
45
|
+
span: ["span", "inline", "text", "rich text", "inline link"],
|
|
46
|
+
code: ["code", "snippet", "monospace", "pre", "syntax"],
|
|
47
|
+
quote: ["quote", "blockquote", "citation", "pull quote"],
|
|
48
|
+
list: ["list", "items", "ul", "li", "ordered", "unordered"],
|
|
49
|
+
avatar: ["avatar", "profile", "user", "initials", "image", "icon", "person"],
|
|
50
|
+
image: ["image", "photo", "picture", "figure", "caption", "img"],
|
|
51
|
+
skeleton: ["skeleton", "loading", "placeholder", "shimmer", "pulse", "line", "rect", "circle"],
|
|
52
|
+
badge: ["badge", "label", "tag", "status", "notification", "overlay", "positive", "warning", "error"],
|
|
53
|
+
// ACCORDION
|
|
54
|
+
accordion: [
|
|
55
|
+
"accordion",
|
|
56
|
+
"collapse",
|
|
57
|
+
"expand",
|
|
58
|
+
"toggle",
|
|
59
|
+
"show more",
|
|
60
|
+
"disclosure",
|
|
61
|
+
"section",
|
|
62
|
+
"detail",
|
|
63
|
+
"summary",
|
|
64
|
+
"accordion block",
|
|
65
|
+
"accordion inline",
|
|
66
|
+
"accordion group"
|
|
67
|
+
],
|
|
68
|
+
// LAYOUT
|
|
39
69
|
stack: ["stack", "v-stack", "h-stack", "vertical", "horizontal", "spacing"],
|
|
40
70
|
grid: ["grid", "columns", "rows", "layout", "container"],
|
|
41
71
|
container: ["container", "wrapper", "layout", "section"],
|
|
42
72
|
responsive: ["responsive", "breakpoint", "mobile", "desktop", "showAbove", "showBelow"],
|
|
43
73
|
rule: ["rule", "divider", "separator", "line", "hr"],
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
74
|
+
// SURFACES
|
|
75
|
+
card: ["card", "panel", "box", "tile"],
|
|
76
|
+
dialog: ["dialog", "modal", "popup", "overlay", "lightbox", "confirm"],
|
|
77
|
+
drawer: ["drawer", "sidebar", "panel", "slide", "overlay", "push", "persistent", "left", "right"],
|
|
47
78
|
slat: [
|
|
48
79
|
"slat",
|
|
49
80
|
"row",
|
|
@@ -104,21 +135,33 @@ const a = {
|
|
|
104
135
|
"variant",
|
|
105
136
|
"state"
|
|
106
137
|
],
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
]
|
|
138
|
+
// FORMS AND INPUTS
|
|
139
|
+
input: ["input", "text field", "text input", "field", "entry", "form field"],
|
|
140
|
+
textarea: ["textarea", "text area", "multiline", "long text", "message", "description", "rows"],
|
|
141
|
+
select: ["select", "dropdown", "picker", "options", "choose", "combobox"],
|
|
142
|
+
checkbox: ["checkbox", "check", "tick", "agree", "terms", "boolean", "toggle"],
|
|
143
|
+
radio: ["radio", "radio button", "option", "choose one", "single select"],
|
|
144
|
+
switch: ["switch", "toggle", "on off", "enable", "disable", "boolean"],
|
|
145
|
+
field: ["field", "form field", "label", "input wrapper", "validation", "error", "success", "warning"],
|
|
146
|
+
"form-group": ["form group", "form", "group", "vertical", "horizontal", "fieldset"],
|
|
147
|
+
"form-section": ["form section", "section", "form heading", "grouped fields"],
|
|
148
|
+
"form-message": ["form message", "hint", "helper text", "validation message", "field message"],
|
|
149
|
+
rangeInput: ["range", "slider", "min", "max", "step", "range input", "scrubber"],
|
|
150
|
+
chipInput: ["chip input", "tag input", "multi select", "token input", "chips"],
|
|
151
|
+
fileUpload: ["file upload", "upload", "attach", "file", "drag and drop", "attachment"],
|
|
152
|
+
addOn: ["addon", "input after", "input before", "prefix", "suffix", "unit", "currency"],
|
|
153
|
+
// NAVIGATION
|
|
154
|
+
tab: ["tab", "tab bar", "tab controller", "tab panel", "navigation", "tabs"],
|
|
155
|
+
carousel: ["carousel", "slider", "carousel controller", "carousel panel", "carousel item", "carousel tabs"],
|
|
156
|
+
stepper: ["stepper", "steps", "wizard", "progress steps", "multi step", "step indicator"],
|
|
157
|
+
// PROMPT
|
|
158
|
+
prompt: ["prompt", "ai prompt", "chat input", "message input", "fan", "context", "preview", "submit"],
|
|
159
|
+
promptMessage: ["prompt message", "chat message", "ai message", "ghost", "compact", "density"],
|
|
160
|
+
promptPreview: ["prompt preview", "preview", "badge", "image preview", "animated preview"],
|
|
161
|
+
promptToggle: ["prompt toggle", "toggle", "icon mode", "chip mode"],
|
|
162
|
+
// PRESENTATION
|
|
163
|
+
slideFrame: ["slide", "slides", "presentation", "slide frame", "deck", "ratio", "fullscreen", "section", "notes"]
|
|
121
164
|
};
|
|
122
165
|
export {
|
|
123
|
-
|
|
166
|
+
e as keywords
|
|
124
167
|
};
|