@synopackageland/ui 0.14.6 → 0.14.7
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/CHANGELOG.md +9 -0
- package/README.md +2 -1
- package/dist/ButtonPolicyDemo.vue.d.ts +3 -0
- package/dist/components/composite/settings-section/SettingsSection.vue.d.ts +2 -2
- package/dist/components/containers/card/Card.vue.d.ts +2 -2
- package/dist/components/primitives/button/Button.vue.d.ts +4 -3
- package/dist/composables/buttonKind.d.ts +12 -4
- package/dist/index.js +247 -251
- package/dist/json-ai-prompt.md +1 -1
- package/dist/json-catalog.schema.json +1 -1
- package/dist/json-preview/preview.js +2378 -2385
- package/dist/json.js +22 -22
- package/dist/reka-runtime.json +1 -1
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/docs/button-policy.md +62 -0
- package/docs/layout-rules.md +2 -1
- package/package.json +2 -1
package/dist/json-ai-prompt.md
CHANGED
|
@@ -59,7 +59,7 @@ AVAILABLE COMPONENTS (34):
|
|
|
59
59
|
- Tabs: { value: string, items: Array<{ label: string, value: string, disabled?: boolean }>, ariaLabel?: string } - Section tabs for switching a local mode or filter. Bind value to state for two-way updates. [events: change]
|
|
60
60
|
- Stack: { direction?: "row" | "column", gap?: "none" | "xs" | "sm" | "md" | "lg", align?: "start" | "center" | "end" | "stretch", justify?: "start" | "center" | "end" | "between", wrap?: boolean } - Simple layout composition. Prefer semantic components first and use Stack only for local arrangement. [accepts children]
|
|
61
61
|
- Text: { text: string, variant?: "body" | "muted" | "caption" | "heading" | "mono" } - Short application text. Do not use it when a semantic component already owns the label/description.
|
|
62
|
-
- Button: { label: string, variant?: "primary" | "secondary" | "ghost" | "danger", size?: "sm" | "md" | "lg", disabled?: boolean, loading?: boolean, icon?: string } - User action.
|
|
62
|
+
- Button: { label: string, variant?: "primary" | "secondary" | "ghost" | "danger", size?: "sm" | "md" | "lg", disabled?: boolean, loading?: boolean, icon?: string } - User action. Its shape follows the container: a capsule in a Dialog footer, else a tool button. One primary (or one danger to confirm a deletion) per footer or section, placed last; toolbar and row actions, Delete included, stay secondary. Icon is an optional host-registered icon name. [events: press]
|
|
63
63
|
- Input: { value?: string | number, type?: string, placeholder?: string, disabled?: boolean, readonly?: boolean, invalid?: boolean, size?: "sm" | "md" | "lg", ariaLabel?: string } - Single-line input. Use $bindState/$bindItem on value for editable state. [events: change]
|
|
64
64
|
- Select: { value?: string, options: Array<{ label: string, value: string, disabled?: boolean }>, placeholder?: string, disabled?: boolean, search?: boolean } - Single-choice select. Use $bindState/$bindItem on value. [events: change]
|
|
65
65
|
- Checkbox: { checked?: boolean, label?: string, description?: string, disabled?: boolean } - Boolean choice. Use $bindState/$bindItem on checked. [events: change]
|
|
@@ -1019,7 +1019,7 @@
|
|
|
1019
1019
|
}
|
|
1020
1020
|
},
|
|
1021
1021
|
"then": {
|
|
1022
|
-
"description": "User action.
|
|
1022
|
+
"description": "User action. Its shape follows the container: a capsule in a Dialog footer, else a tool button. One primary (or one danger to confirm a deletion) per footer or section, placed last; toolbar and row actions, Delete included, stay secondary. Icon is an optional host-registered icon name.",
|
|
1023
1023
|
"properties": {
|
|
1024
1024
|
"props": {
|
|
1025
1025
|
"type": "object",
|