origam 2.38.2 → 2.39.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/CHANGELOG.md +10 -0
- package/dist/src/assets/css/main.css +1 -1
- package/dist/src/assets/css/tokens/dark.css +10 -0
- package/dist/src/assets/css/tokens/light.css +5 -0
- package/dist/src/assets/scss/tokens/_dark.scss +10 -0
- package/dist/src/assets/scss/tokens/_light.scss +5 -0
- package/dist/src/components/Card/OrigamCard.vue +12 -5
- package/dist/src/components/Dialog/OrigamDialog.vue +8 -4
- package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +8 -4
- package/dist/src/components/Form/OrigamForm.vue +20 -1
- package/dist/src/composables/Commons/content.composable.cjs +20 -0
- package/dist/src/composables/Commons/content.composable.d.ts +14 -0
- package/dist/src/composables/Commons/content.composable.js +9 -0
- package/dist/src/composables/index.cjs +12 -0
- package/dist/src/composables/index.d.ts +1 -0
- package/dist/src/composables/index.js +1 -0
- package/dist/src/interfaces/Card/card.interface.d.ts +3 -11
- package/dist/src/interfaces/Commons/content.interface.cjs +1 -0
- package/dist/src/interfaces/Commons/content.interface.d.ts +26 -0
- package/dist/src/interfaces/Commons/content.interface.js +0 -0
- package/dist/src/interfaces/Form/form.interface.d.ts +2 -1
- package/dist/src/interfaces/index.cjs +11 -0
- package/dist/src/interfaces/index.d.ts +1 -0
- package/dist/src/interfaces/index.js +1 -0
- package/dist/src/types/tokens.type.d.ts +1 -1
- package/package.json +1 -1
|
@@ -432,6 +432,8 @@
|
|
|
432
432
|
--origam-card--loading---min-height: 120px;
|
|
433
433
|
--origam-card__asset---aspect-ratio: 16 / 9;
|
|
434
434
|
--origam-card__content---display: block;
|
|
435
|
+
--origam-card__content---gap: 0;
|
|
436
|
+
--origam-card__content---flex-direction: row;
|
|
435
437
|
--origam-card__loader---min-height: 4px;
|
|
436
438
|
--origam-card__skeleton---padding: var(--origam-space---4);
|
|
437
439
|
--origam-card__loader---z-index: 3;
|
|
@@ -1222,6 +1224,9 @@
|
|
|
1222
1224
|
--origam-field__loader---height: 4px;
|
|
1223
1225
|
--origam-form__actions---margin-top: var(--origam-space---4);
|
|
1224
1226
|
--origam-form__actions---gap: var(--origam-space---2);
|
|
1227
|
+
--origam-form__content---display: block;
|
|
1228
|
+
--origam-form__content---gap: 0;
|
|
1229
|
+
--origam-form__content---flex-direction: row;
|
|
1225
1230
|
--origam-form__actions---display: flex;
|
|
1226
1231
|
--origam-form__details---font-size: var(--origam-font__size---sm);
|
|
1227
1232
|
--origam-form__details---font-weight: var(--origam-font__weight---regular);
|
|
@@ -3480,6 +3485,8 @@
|
|
|
3480
3485
|
--origam-card--loading---min-height: 120px;
|
|
3481
3486
|
--origam-card__asset---aspect-ratio: 16 / 9;
|
|
3482
3487
|
--origam-card__content---display: block;
|
|
3488
|
+
--origam-card__content---gap: 0;
|
|
3489
|
+
--origam-card__content---flex-direction: row;
|
|
3483
3490
|
--origam-card__loader---min-height: 4px;
|
|
3484
3491
|
--origam-card__skeleton---padding: var(--origam-space---4);
|
|
3485
3492
|
--origam-card__loader---z-index: 3;
|
|
@@ -4270,6 +4277,9 @@
|
|
|
4270
4277
|
--origam-field__loader---height: 4px;
|
|
4271
4278
|
--origam-form__actions---margin-top: var(--origam-space---4);
|
|
4272
4279
|
--origam-form__actions---gap: var(--origam-space---2);
|
|
4280
|
+
--origam-form__content---display: block;
|
|
4281
|
+
--origam-form__content---gap: 0;
|
|
4282
|
+
--origam-form__content---flex-direction: row;
|
|
4273
4283
|
--origam-form__actions---display: flex;
|
|
4274
4284
|
--origam-form__details---font-size: var(--origam-font__size---sm);
|
|
4275
4285
|
--origam-form__details---font-weight: var(--origam-font__weight---regular);
|
|
@@ -332,6 +332,8 @@
|
|
|
332
332
|
--origam-card--loading---min-height: 120px;
|
|
333
333
|
--origam-card__asset---aspect-ratio: 16 / 9;
|
|
334
334
|
--origam-card__content---display: block;
|
|
335
|
+
--origam-card__content---gap: 0;
|
|
336
|
+
--origam-card__content---flex-direction: row;
|
|
335
337
|
--origam-card__loader---min-height: 4px;
|
|
336
338
|
--origam-card__skeleton---padding: var(--origam-space---4);
|
|
337
339
|
--origam-card__loader---z-index: 3;
|
|
@@ -1122,6 +1124,9 @@
|
|
|
1122
1124
|
--origam-field__loader---height: 4px;
|
|
1123
1125
|
--origam-form__actions---margin-top: var(--origam-space---4);
|
|
1124
1126
|
--origam-form__actions---gap: var(--origam-space---2);
|
|
1127
|
+
--origam-form__content---display: block;
|
|
1128
|
+
--origam-form__content---gap: 0;
|
|
1129
|
+
--origam-form__content---flex-direction: row;
|
|
1125
1130
|
--origam-form__actions---display: flex;
|
|
1126
1131
|
--origam-form__details---font-size: var(--origam-font__size---sm);
|
|
1127
1132
|
--origam-form__details---font-weight: var(--origam-font__weight---regular);
|
|
@@ -432,6 +432,8 @@
|
|
|
432
432
|
--origam-card--loading---min-height: 120px;
|
|
433
433
|
--origam-card__asset---aspect-ratio: 16 / 9;
|
|
434
434
|
--origam-card__content---display: block;
|
|
435
|
+
--origam-card__content---gap: 0;
|
|
436
|
+
--origam-card__content---flex-direction: row;
|
|
435
437
|
--origam-card__loader---min-height: 4px;
|
|
436
438
|
--origam-card__skeleton---padding: var(--origam-space---4);
|
|
437
439
|
--origam-card__loader---z-index: 3;
|
|
@@ -1222,6 +1224,9 @@
|
|
|
1222
1224
|
--origam-field__loader---height: 4px;
|
|
1223
1225
|
--origam-form__actions---margin-top: var(--origam-space---4);
|
|
1224
1226
|
--origam-form__actions---gap: var(--origam-space---2);
|
|
1227
|
+
--origam-form__content---display: block;
|
|
1228
|
+
--origam-form__content---gap: 0;
|
|
1229
|
+
--origam-form__content---flex-direction: row;
|
|
1225
1230
|
--origam-form__actions---display: flex;
|
|
1226
1231
|
--origam-form__details---font-size: var(--origam-font__size---sm);
|
|
1227
1232
|
--origam-form__details---font-weight: var(--origam-font__weight---regular);
|
|
@@ -3480,6 +3485,8 @@
|
|
|
3480
3485
|
--origam-card--loading---min-height: 120px;
|
|
3481
3486
|
--origam-card__asset---aspect-ratio: 16 / 9;
|
|
3482
3487
|
--origam-card__content---display: block;
|
|
3488
|
+
--origam-card__content---gap: 0;
|
|
3489
|
+
--origam-card__content---flex-direction: row;
|
|
3483
3490
|
--origam-card__loader---min-height: 4px;
|
|
3484
3491
|
--origam-card__skeleton---padding: var(--origam-space---4);
|
|
3485
3492
|
--origam-card__loader---z-index: 3;
|
|
@@ -4270,6 +4277,9 @@
|
|
|
4270
4277
|
--origam-field__loader---height: 4px;
|
|
4271
4278
|
--origam-form__actions---margin-top: var(--origam-space---4);
|
|
4272
4279
|
--origam-form__actions---gap: var(--origam-space---2);
|
|
4280
|
+
--origam-form__content---display: block;
|
|
4281
|
+
--origam-form__content---gap: 0;
|
|
4282
|
+
--origam-form__content---flex-direction: row;
|
|
4273
4283
|
--origam-form__actions---display: flex;
|
|
4274
4284
|
--origam-form__details---font-size: var(--origam-font__size---sm);
|
|
4275
4285
|
--origam-form__details---font-weight: var(--origam-font__weight---regular);
|
|
@@ -332,6 +332,8 @@
|
|
|
332
332
|
--origam-card--loading---min-height: 120px;
|
|
333
333
|
--origam-card__asset---aspect-ratio: 16 / 9;
|
|
334
334
|
--origam-card__content---display: block;
|
|
335
|
+
--origam-card__content---gap: 0;
|
|
336
|
+
--origam-card__content---flex-direction: row;
|
|
335
337
|
--origam-card__loader---min-height: 4px;
|
|
336
338
|
--origam-card__skeleton---padding: var(--origam-space---4);
|
|
337
339
|
--origam-card__loader---z-index: 3;
|
|
@@ -1122,6 +1124,9 @@
|
|
|
1122
1124
|
--origam-field__loader---height: 4px;
|
|
1123
1125
|
--origam-form__actions---margin-top: var(--origam-space---4);
|
|
1124
1126
|
--origam-form__actions---gap: var(--origam-space---2);
|
|
1127
|
+
--origam-form__content---display: block;
|
|
1128
|
+
--origam-form__content---gap: 0;
|
|
1129
|
+
--origam-form__content---flex-direction: row;
|
|
1125
1130
|
--origam-form__actions---display: flex;
|
|
1126
1131
|
--origam-form__details---font-size: var(--origam-font__size---sm);
|
|
1127
1132
|
--origam-form__details---font-weight: var(--origam-font__weight---regular);
|
|
@@ -198,6 +198,7 @@ import OrigamProgress from "../Progress/OrigamProgress.vue";
|
|
|
198
198
|
import OrigamSkeleton from "../Skeleton/OrigamSkeleton.vue";
|
|
199
199
|
import OrigamSkeletonGroup from "../Skeleton/OrigamSkeletonGroup.vue";
|
|
200
200
|
import { useAdjacent } from "../../composables/Commons/adjacent.composable";
|
|
201
|
+
import { useContent } from "../../composables/Commons/content.composable";
|
|
201
202
|
import { useDensity } from "../../composables/Commons/density.composable";
|
|
202
203
|
import { useDimension } from "../../composables/Commons/dimension.composable";
|
|
203
204
|
import { useLink } from "../../composables/Commons/link.composable";
|
|
@@ -223,10 +224,6 @@ import { computed, ref, StyleValue, toRef, useAttrs, useSlots } from "vue";
|
|
|
223
224
|
* Props, emits and link resolution for the Card component.
|
|
224
225
|
********************************************************/
|
|
225
226
|
const props = defineProps({
|
|
226
|
-
contentDisplay: {
|
|
227
|
-
type: null,
|
|
228
|
-
required: false
|
|
229
|
-
},
|
|
230
227
|
disabled: {
|
|
231
228
|
type: Boolean,
|
|
232
229
|
required: false
|
|
@@ -868,6 +865,14 @@ const props = defineProps({
|
|
|
868
865
|
hoverClass: {
|
|
869
866
|
type: String,
|
|
870
867
|
required: false
|
|
868
|
+
},
|
|
869
|
+
contentDisplay: {
|
|
870
|
+
type: null,
|
|
871
|
+
required: false
|
|
872
|
+
},
|
|
873
|
+
contentGap: {
|
|
874
|
+
type: [String, Number],
|
|
875
|
+
required: false
|
|
871
876
|
}
|
|
872
877
|
});
|
|
873
878
|
defineEmits([
|
|
@@ -1165,7 +1170,7 @@ const cardStyles = computed(() => {
|
|
|
1165
1170
|
* Instance-level `contentDisplay` rides INLINE on the wrapper itself, not as a custom property on the root.
|
|
1166
1171
|
* A custom property would inherit into any Card nested in the slot and flatten its content too.
|
|
1167
1172
|
********************************************************/
|
|
1168
|
-
const contentStyles =
|
|
1173
|
+
const { contentStyles } = useContent(props);
|
|
1169
1174
|
const cardProgressClasses = computed(() => {
|
|
1170
1175
|
return ["origam-card__progress", `origam-card__progress--${loaderConfig.value.kind === "line" ? "linear" : loaderConfig.value.kind}`];
|
|
1171
1176
|
});
|
|
@@ -1268,6 +1273,8 @@ defineExpose({
|
|
|
1268
1273
|
|
|
1269
1274
|
&__content {
|
|
1270
1275
|
display: var(--origam-card__content---display, block);
|
|
1276
|
+
flex-direction: var(--origam-card__content---flex-direction, row);
|
|
1277
|
+
gap: var(--origam-card__content---gap, 0);
|
|
1271
1278
|
}
|
|
1272
1279
|
|
|
1273
1280
|
&__asset {
|
|
@@ -380,10 +380,6 @@ const props = defineProps({
|
|
|
380
380
|
required: false,
|
|
381
381
|
skipCheck: true
|
|
382
382
|
},
|
|
383
|
-
contentDisplay: {
|
|
384
|
-
type: null,
|
|
385
|
-
required: false
|
|
386
|
-
},
|
|
387
383
|
flat: {
|
|
388
384
|
type: Boolean,
|
|
389
385
|
required: false
|
|
@@ -968,6 +964,14 @@ const props = defineProps({
|
|
|
968
964
|
type: String,
|
|
969
965
|
required: false
|
|
970
966
|
},
|
|
967
|
+
contentDisplay: {
|
|
968
|
+
type: null,
|
|
969
|
+
required: false
|
|
970
|
+
},
|
|
971
|
+
contentGap: {
|
|
972
|
+
type: [String, Number],
|
|
973
|
+
required: false
|
|
974
|
+
},
|
|
971
975
|
status: {
|
|
972
976
|
type: null,
|
|
973
977
|
required: false
|
|
@@ -356,10 +356,6 @@ const props = defineProps({
|
|
|
356
356
|
required: false,
|
|
357
357
|
skipCheck: true
|
|
358
358
|
},
|
|
359
|
-
contentDisplay: {
|
|
360
|
-
type: null,
|
|
361
|
-
required: false
|
|
362
|
-
},
|
|
363
359
|
flat: {
|
|
364
360
|
type: Boolean,
|
|
365
361
|
required: false
|
|
@@ -944,6 +940,14 @@ const props = defineProps({
|
|
|
944
940
|
type: String,
|
|
945
941
|
required: false
|
|
946
942
|
},
|
|
943
|
+
contentDisplay: {
|
|
944
|
+
type: null,
|
|
945
|
+
required: false
|
|
946
|
+
},
|
|
947
|
+
contentGap: {
|
|
948
|
+
type: [String, Number],
|
|
949
|
+
required: false
|
|
950
|
+
},
|
|
947
951
|
status: {
|
|
948
952
|
type: null,
|
|
949
953
|
required: false
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
@reset="handleReset"
|
|
9
9
|
@submit="handleSubmit"
|
|
10
10
|
>
|
|
11
|
-
<div
|
|
11
|
+
<div
|
|
12
|
+
class="origam-form__content"
|
|
13
|
+
:style="contentStyles"
|
|
14
|
+
>
|
|
12
15
|
<slot
|
|
13
16
|
name="default"
|
|
14
17
|
v-bind="form"
|
|
@@ -57,6 +60,7 @@
|
|
|
57
60
|
<script lang="ts" setup>
|
|
58
61
|
import { computed, nextTick, ref, StyleValue, useSlots } from "vue";
|
|
59
62
|
import OrigamMessages from "../Messages/OrigamMessages.vue";
|
|
63
|
+
import { useContent } from "../../composables/Commons/content.composable";
|
|
60
64
|
import { useForm } from "../../composables/Form/form.composable";
|
|
61
65
|
import { useMessage } from "../../composables/Commons/message.composable";
|
|
62
66
|
import { useProps } from "../../composables/Commons/props.composable";
|
|
@@ -136,6 +140,14 @@ const props = defineProps({
|
|
|
136
140
|
required: false,
|
|
137
141
|
skipCheck: true
|
|
138
142
|
},
|
|
143
|
+
contentDisplay: {
|
|
144
|
+
type: null,
|
|
145
|
+
required: false
|
|
146
|
+
},
|
|
147
|
+
contentGap: {
|
|
148
|
+
type: [String, Number],
|
|
149
|
+
required: false
|
|
150
|
+
},
|
|
139
151
|
fontSize: {
|
|
140
152
|
type: null,
|
|
141
153
|
required: false
|
|
@@ -161,6 +173,7 @@ const emits = defineEmits([
|
|
|
161
173
|
defineSlots();
|
|
162
174
|
const slots = useSlots();
|
|
163
175
|
const { filterProps } = useProps(props);
|
|
176
|
+
const { contentStyles } = useContent(props);
|
|
164
177
|
/*********************************************************
|
|
165
178
|
* Reset & Submit
|
|
166
179
|
*
|
|
@@ -291,6 +304,12 @@ defineExpose(forwardRefs({
|
|
|
291
304
|
.origam-form {
|
|
292
305
|
$this: &;
|
|
293
306
|
|
|
307
|
+
&__content {
|
|
308
|
+
display: var(--origam-form__content---display, block);
|
|
309
|
+
flex-direction: var(--origam-form__content---flex-direction, row);
|
|
310
|
+
gap: var(--origam-form__content---gap, 0);
|
|
311
|
+
}
|
|
312
|
+
|
|
294
313
|
&__actions {
|
|
295
314
|
margin-top: var(--origam-form__actions---margin-top, 16px);
|
|
296
315
|
display: var(--origam-form__actions---display, flex);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useContent = useContent;
|
|
7
|
+
var _vue = require("vue");
|
|
8
|
+
var _commons = require("../../utils/Commons/commons.util.cjs");
|
|
9
|
+
function useContent(props) {
|
|
10
|
+
const contentStyles = (0, _vue.computed)(() => {
|
|
11
|
+
const gap = (0, _commons.convertToUnit)(props.contentGap);
|
|
12
|
+
return props.contentDisplay || gap ? {
|
|
13
|
+
display: props.contentDisplay,
|
|
14
|
+
gap
|
|
15
|
+
} : void 0;
|
|
16
|
+
});
|
|
17
|
+
return {
|
|
18
|
+
contentStyles
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IContentProps } from '../../interfaces/Commons/content.interface';
|
|
2
|
+
/*********************************************************
|
|
3
|
+
* useContent
|
|
4
|
+
*
|
|
5
|
+
* @description
|
|
6
|
+
* Inline style of a `__content` wrapper from `contentDisplay` / `contentGap`.
|
|
7
|
+
* `undefined` when neither is set, so the token defaults stay in charge.
|
|
8
|
+
********************************************************/
|
|
9
|
+
export declare function useContent(props: IContentProps): {
|
|
10
|
+
contentStyles: import("vue").ComputedRef<{
|
|
11
|
+
display: "block" | "grid" | "contents" | "flex" | undefined;
|
|
12
|
+
gap: string | undefined;
|
|
13
|
+
} | undefined>;
|
|
14
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { computed } from "vue";
|
|
2
|
+
import { convertToUnit } from "../../utils/Commons/commons.util.js";
|
|
3
|
+
export function useContent(props) {
|
|
4
|
+
const contentStyles = computed(() => {
|
|
5
|
+
const gap = convertToUnit(props.contentGap);
|
|
6
|
+
return props.contentDisplay || gap ? { display: props.contentDisplay, gap } : void 0;
|
|
7
|
+
});
|
|
8
|
+
return { contentStyles };
|
|
9
|
+
}
|
|
@@ -1704,4 +1704,16 @@ Object.keys(_chartRoving).forEach(function (key) {
|
|
|
1704
1704
|
return _chartRoving[key];
|
|
1705
1705
|
}
|
|
1706
1706
|
});
|
|
1707
|
+
});
|
|
1708
|
+
var _content = require("./Commons/content.composable.cjs");
|
|
1709
|
+
Object.keys(_content).forEach(function (key) {
|
|
1710
|
+
if (key === "default" || key === "__esModule") return;
|
|
1711
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
1712
|
+
if (key in exports && exports[key] === _content[key]) return;
|
|
1713
|
+
Object.defineProperty(exports, key, {
|
|
1714
|
+
enumerable: true,
|
|
1715
|
+
get: function () {
|
|
1716
|
+
return _content[key];
|
|
1717
|
+
}
|
|
1718
|
+
});
|
|
1707
1719
|
});
|
|
@@ -140,3 +140,4 @@ export * from "./Chart/chart-header-typography.composable.js";
|
|
|
140
140
|
export * from "./Chart/chart-zoom.composable.js";
|
|
141
141
|
export * from "./Chart/chart-size.composable.js";
|
|
142
142
|
export * from "./Chart/chart-roving.composable.js";
|
|
143
|
+
export * from "./Commons/content.composable.js";
|
|
@@ -15,17 +15,9 @@ import type { IPaddingProps } from '../Commons/padding.interface';
|
|
|
15
15
|
import type { IPositionProps } from '../Commons/position.interface';
|
|
16
16
|
import type { IRippleProps } from '../Commons/ripple.interface';
|
|
17
17
|
import type { IRoundedProps } from '../Commons/rounded.interface';
|
|
18
|
-
import type {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* contentDisplay
|
|
22
|
-
*
|
|
23
|
-
* @description
|
|
24
|
-
* `display` of the `.origam-card__content` wrapper around the default and `text` slots (#1100).
|
|
25
|
-
* `contents` flattens it so the slotted children become direct items of the card's own grid / flex layout.
|
|
26
|
-
* Defaults to the `--origam-card__content---display` token (`block`).
|
|
27
|
-
********************************************************/
|
|
28
|
-
contentDisplay?: TCardContentDisplay;
|
|
18
|
+
import type { IContentProps } from '../Commons/content.interface';
|
|
19
|
+
import type { TCardType } from '../../types/Card/card.type';
|
|
20
|
+
export interface ICardProps extends ICommonsComponentProps, ITagProps, IBorderProps, IColorProps, IBgColorProps, IDensityProps, IDimensionProps, IElevationProps, ILoaderProps, ILocationProps, IPositionProps, IRoundedProps, IMarginProps, IPaddingProps, ILinkProps, IRippleProps, IAdjacentProps, IActiveProps, IHoverProps, IContentProps {
|
|
29
21
|
disabled?: boolean;
|
|
30
22
|
flat?: boolean;
|
|
31
23
|
image?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TCardContentDisplay } from '../../types/Card/card.type';
|
|
2
|
+
/*********************************************************
|
|
3
|
+
* IContentProps
|
|
4
|
+
*
|
|
5
|
+
* @description
|
|
6
|
+
* Layout of the `.origam-*__content` wrapper around a component's default slot
|
|
7
|
+
* (Card, Form). Both ride INLINE on that wrapper, never as a custom property on
|
|
8
|
+
* the root: a custom property would inherit into any Card/Form nested in the
|
|
9
|
+
* slot. Unset, the `--origam-{cmp}__content---display|gap` tokens apply.
|
|
10
|
+
********************************************************/
|
|
11
|
+
export interface IContentProps {
|
|
12
|
+
/*********************************************************
|
|
13
|
+
* contentDisplay
|
|
14
|
+
*
|
|
15
|
+
* @description
|
|
16
|
+
* `display` of the content wrapper. `contents` flattens it into the host's own layout.
|
|
17
|
+
********************************************************/
|
|
18
|
+
contentDisplay?: TCardContentDisplay;
|
|
19
|
+
/*********************************************************
|
|
20
|
+
* contentGap
|
|
21
|
+
*
|
|
22
|
+
* @description
|
|
23
|
+
* `gap` between the blocks of the content wrapper — a CSS length, or a number read as px. Needs `flex` / `grid`.
|
|
24
|
+
********************************************************/
|
|
25
|
+
contentGap?: string | number;
|
|
26
|
+
}
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ComponentInternalInstance, ComputedRef, Raw, Ref } from 'vue';
|
|
2
2
|
import type { ICommonsComponentEmits, ICommonsComponentProps, ICommonsComponentSlots } from '../Commons/commons.interface';
|
|
3
|
+
import type { IContentProps } from '../Commons/content.interface';
|
|
3
4
|
import type { ITypographyProps } from '../Commons/typography.interface';
|
|
4
5
|
import type { TValidateOn } from '../../types/Commons/validation.type';
|
|
5
6
|
export interface IFormProvide {
|
|
@@ -19,7 +20,7 @@ export interface IFormProvide {
|
|
|
19
20
|
isValid: Ref<boolean | null | undefined>;
|
|
20
21
|
validateOn: Ref<TValidateOn | undefined>;
|
|
21
22
|
}
|
|
22
|
-
export interface IFormProps extends ICommonsComponentProps, Pick<ITypographyProps, 'fontSize' | 'fontWeight' | 'lineHeight' | 'letterSpacing'> {
|
|
23
|
+
export interface IFormProps extends ICommonsComponentProps, IContentProps, Pick<ITypographyProps, 'fontSize' | 'fontWeight' | 'lineHeight' | 'letterSpacing'> {
|
|
23
24
|
disabled?: boolean;
|
|
24
25
|
fastFail?: boolean;
|
|
25
26
|
readonly?: boolean;
|
|
@@ -938,6 +938,17 @@ Object.keys(_margin).forEach(function (key) {
|
|
|
938
938
|
}
|
|
939
939
|
});
|
|
940
940
|
});
|
|
941
|
+
var _content = require("./Commons/content.interface.cjs");
|
|
942
|
+
Object.keys(_content).forEach(function (key) {
|
|
943
|
+
if (key === "default" || key === "__esModule") return;
|
|
944
|
+
if (key in exports && exports[key] === _content[key]) return;
|
|
945
|
+
Object.defineProperty(exports, key, {
|
|
946
|
+
enumerable: true,
|
|
947
|
+
get: function () {
|
|
948
|
+
return _content[key];
|
|
949
|
+
}
|
|
950
|
+
});
|
|
951
|
+
});
|
|
941
952
|
var _message = require("./Commons/message.interface.cjs");
|
|
942
953
|
Object.keys(_message).forEach(function (key) {
|
|
943
954
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -83,6 +83,7 @@ export * from './Commons/loader.interface';
|
|
|
83
83
|
export * from './Commons/location.interface';
|
|
84
84
|
export * from './Commons/locale.interface';
|
|
85
85
|
export * from './Commons/margin.interface';
|
|
86
|
+
export * from './Commons/content.interface';
|
|
86
87
|
export * from './Commons/message.interface';
|
|
87
88
|
export * from './Commons/nested.interface';
|
|
88
89
|
export * from './Commons/opacity.interface';
|
|
@@ -83,6 +83,7 @@ export * from "./Commons/loader.interface.js";
|
|
|
83
83
|
export * from "./Commons/location.interface.js";
|
|
84
84
|
export * from "./Commons/locale.interface.js";
|
|
85
85
|
export * from "./Commons/margin.interface.js";
|
|
86
|
+
export * from "./Commons/content.interface.js";
|
|
86
87
|
export * from "./Commons/message.interface.js";
|
|
87
88
|
export * from "./Commons/nested.interface.js";
|
|
88
89
|
export * from "./Commons/opacity.interface.js";
|