@synopackageland/ui 0.17.13 → 0.17.14
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 +12 -0
- package/LICENSES/THIRD_PARTY.md +1605 -229
- package/README.md +7 -1
- package/dist/components/app/section-tabs/SectionTabs.vue.d.ts +5 -1
- package/dist/components/containers/fieldset/Fieldset.vue.d.ts +1 -1
- package/dist/components/primitives/segment-control/SegmentControl.vue.d.ts +1 -1
- package/dist/components/primitives/switch/Switch.vue.d.ts +12 -1
- package/dist/index.js +3752 -3723
- package/dist/json-preview/preview.js +1180 -1151
- package/dist/reka-runtime.json +1 -1
- package/dist/rich-text.js +6 -6
- 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/layout-rules.md +22 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -508,7 +508,7 @@ Primitives:
|
|
|
508
508
|
|
|
509
509
|
- Button / IconButton / CopyButton
|
|
510
510
|
- Input / Textarea
|
|
511
|
-
- Checkbox / CheckboxGroup / RadioGroup / Switch
|
|
511
|
+
- Checkbox / CheckboxGroup / RadioGroup / Switch — use RadioGroup for 2–4 mutually exclusive settings; Checkbox for independent options; Switch for immediate on/off. Reserve primary-filled, capsule-shaped SegmentControl for toolbar views ([choice policy](docs/layout-rules.md)).
|
|
512
512
|
- Select
|
|
513
513
|
- Badge / StatusDot / Separator / Spinner / LoadingMask / LoadingArea / Progress / SizeBar / Skeleton / Surface
|
|
514
514
|
- SplitButton
|
|
@@ -553,6 +553,12 @@ and End move focus between tabs; Enter or Space selects one. In a grid or flex p
|
|
|
553
553
|
</SectionTabs>
|
|
554
554
|
```
|
|
555
555
|
|
|
556
|
+
For unsaved drafts inside those panels, use `<SectionTabs fill keep-mounted>`.
|
|
557
|
+
`keep-mounted` mounts every supplied item panel and hides inactive ones with
|
|
558
|
+
`v-show`, preserving component state and DOM; hidden panels' effects remain
|
|
559
|
+
active. It also works without `fill`. Without this option, switching tabs
|
|
560
|
+
unmounts the previous panel; `fill` alone only controls layout.
|
|
561
|
+
|
|
556
562
|
Page actions for the shown section go in `#actions`, on the tab row at the
|
|
557
563
|
right edge over the same baseline; when the row is too narrow for both, the
|
|
558
564
|
actions wrap onto a line of their own above the tabs, still right-aligned.
|
|
@@ -13,10 +13,14 @@ type __VLS_Props = {
|
|
|
13
13
|
* footer. Without a height to fill (a phone page) the strip sticks to the top.
|
|
14
14
|
*/
|
|
15
15
|
fill?: boolean;
|
|
16
|
+
/** Mount all supplied item panels and hide inactive ones, preserving local drafts. */
|
|
17
|
+
keepMounted?: boolean;
|
|
16
18
|
};
|
|
17
|
-
declare var __VLS_14: {}, __VLS_17: `panel-${string}`, __VLS_18: {};
|
|
19
|
+
declare var __VLS_14: {}, __VLS_17: `panel-${string}`, __VLS_18: {}, __VLS_21: `panel-${string}`, __VLS_22: {};
|
|
18
20
|
type __VLS_Slots = {} & {
|
|
19
21
|
[K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
|
|
22
|
+
} & {
|
|
23
|
+
[K in NonNullable<typeof __VLS_21>]?: (props: typeof __VLS_22) => any;
|
|
20
24
|
} & {
|
|
21
25
|
actions?: (props: typeof __VLS_14) => any;
|
|
22
26
|
};
|
|
@@ -7,7 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
title?: FieldsetTitle;
|
|
8
8
|
/** One line under the title, across the whole width (DSM's "Enter the server name, ..."). */
|
|
9
9
|
description?: string;
|
|
10
|
-
/**
|
|
10
|
+
/** Shows the disclosure chevron by default; set false for a fixed section. */
|
|
11
11
|
collapsible?: boolean;
|
|
12
12
|
/** Mouse gesture that toggles; Enter/Space always works on the header. */
|
|
13
13
|
collapseTriggerEvent?: FieldsetCollapseTrigger;
|
|
@@ -8,7 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
ariaLabelledby?: string;
|
|
9
9
|
/** Disables every item of the group. */
|
|
10
10
|
disabled?: boolean;
|
|
11
|
-
/** `sheet` draws joined
|
|
11
|
+
/** Toolbar view switcher; use RadioGroup for form choices. `sheet` draws joined tabs on a rule. */
|
|
12
12
|
variant?: SegmentVariant;
|
|
13
13
|
};
|
|
14
14
|
declare var __VLS_1: {};
|
|
@@ -2,8 +2,13 @@ type __VLS_Props = {
|
|
|
2
2
|
modelValue?: boolean;
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
label?: string;
|
|
5
|
+
description?: string;
|
|
5
6
|
};
|
|
6
|
-
declare
|
|
7
|
+
declare var __VLS_14: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
description?: (props: typeof __VLS_14) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
12
|
"update:modelValue": (value: boolean) => any;
|
|
8
13
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
14
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -11,5 +16,11 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
16
|
disabled: boolean;
|
|
12
17
|
modelValue: boolean;
|
|
13
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
20
|
declare const _default: typeof __VLS_export;
|
|
15
21
|
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|