@symbo.ls/uikit 2.11.236 → 2.11.237
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/index.cjs.js +53 -2
- package/dist/index.cjs.js.map +3 -3
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -3298,6 +3298,8 @@ var require_cjs = __commonJS({
|
|
|
3298
3298
|
CONFIG22.useDocumentTheme = useDocumentTheme;
|
|
3299
3299
|
if (globalTheme !== void 0)
|
|
3300
3300
|
CONFIG22.globalTheme = globalTheme;
|
|
3301
|
+
if (useDefaultConfig !== void 0)
|
|
3302
|
+
CONFIG22.useDefaultConfig = useDefaultConfig;
|
|
3301
3303
|
if (CONFIG22.verbose)
|
|
3302
3304
|
console.log(CONFIG22);
|
|
3303
3305
|
if (!CONFIG22.__svg_cache)
|
|
@@ -5575,6 +5577,8 @@ __export(uikit_exports, {
|
|
|
5575
5577
|
Clickable: () => Clickable,
|
|
5576
5578
|
Collection: () => Collection,
|
|
5577
5579
|
CommonButton: () => CommonButton,
|
|
5580
|
+
CommonField: () => CommonField,
|
|
5581
|
+
CommonFieldTemplate: () => CommonFieldTemplate,
|
|
5578
5582
|
CommonForm: () => CommonForm,
|
|
5579
5583
|
CompleteProcess: () => CompleteProcess,
|
|
5580
5584
|
ContactForm: () => ContactForm,
|
|
@@ -8198,6 +8202,7 @@ var init = (config, options = SET_OPTIONS) => {
|
|
|
8198
8202
|
useSvgSprite: options.useSvgSprite,
|
|
8199
8203
|
useDocumentTheme: options.useDocumentTheme,
|
|
8200
8204
|
useIconSprite: options.useIconSprite,
|
|
8205
|
+
useDefaultConfig: options.useDefaultConfig,
|
|
8201
8206
|
...resultConfig
|
|
8202
8207
|
}, { newConfig: options.newConfig });
|
|
8203
8208
|
const FontFace = (0, import_scratch7.getFontFaceString)(conf.FONT);
|
|
@@ -8935,7 +8940,6 @@ var NumberInput = {
|
|
|
8935
8940
|
extend: [Input, Flex],
|
|
8936
8941
|
props: {
|
|
8937
8942
|
type: "number",
|
|
8938
|
-
fontSize: "E",
|
|
8939
8943
|
boxSize: "C+X",
|
|
8940
8944
|
align: "center center",
|
|
8941
8945
|
textAlign: "center",
|
|
@@ -9166,6 +9170,52 @@ var Select = {
|
|
|
9166
9170
|
}
|
|
9167
9171
|
};
|
|
9168
9172
|
|
|
9173
|
+
// Field/CommonField.js
|
|
9174
|
+
var CommonField = {
|
|
9175
|
+
extend: Flex,
|
|
9176
|
+
tag: "label",
|
|
9177
|
+
props: {
|
|
9178
|
+
flow: "column",
|
|
9179
|
+
boxSize: "fit-content fit-content",
|
|
9180
|
+
gap: "Z"
|
|
9181
|
+
},
|
|
9182
|
+
Title: {
|
|
9183
|
+
props: {
|
|
9184
|
+
text: "Label",
|
|
9185
|
+
lineHeight: "1em",
|
|
9186
|
+
padding: "- - - V2",
|
|
9187
|
+
color: "gray4"
|
|
9188
|
+
}
|
|
9189
|
+
},
|
|
9190
|
+
Field: {
|
|
9191
|
+
tag: "div"
|
|
9192
|
+
},
|
|
9193
|
+
Hint: {
|
|
9194
|
+
extend: IconText,
|
|
9195
|
+
props: {
|
|
9196
|
+
color: "gray4",
|
|
9197
|
+
align: "center flex-start",
|
|
9198
|
+
text: "",
|
|
9199
|
+
fontSize: "Z1",
|
|
9200
|
+
gap: "Y",
|
|
9201
|
+
padding: "W - - W"
|
|
9202
|
+
}
|
|
9203
|
+
}
|
|
9204
|
+
};
|
|
9205
|
+
var CommonFieldTemplate = {
|
|
9206
|
+
extend: CommonField,
|
|
9207
|
+
Title: {},
|
|
9208
|
+
Field: {
|
|
9209
|
+
Icon: { props: { name: "info" } },
|
|
9210
|
+
Input: {},
|
|
9211
|
+
Button: { icon: "eye" }
|
|
9212
|
+
},
|
|
9213
|
+
Hint: {
|
|
9214
|
+
Icon: { props: { name: "info" } },
|
|
9215
|
+
text: "Description"
|
|
9216
|
+
}
|
|
9217
|
+
};
|
|
9218
|
+
|
|
9169
9219
|
// Field/Field.js
|
|
9170
9220
|
var Field = {
|
|
9171
9221
|
tag: "label",
|
|
@@ -10064,6 +10114,7 @@ var Notification = {
|
|
|
10064
10114
|
Title: {
|
|
10065
10115
|
tag: "h6",
|
|
10066
10116
|
props: {
|
|
10117
|
+
margin: "0",
|
|
10067
10118
|
fontWeight: "600",
|
|
10068
10119
|
lineHeight: "1em",
|
|
10069
10120
|
text: "Notification"
|
|
@@ -11338,7 +11389,7 @@ var VerificationCode = {
|
|
|
11338
11389
|
props: {
|
|
11339
11390
|
display: "flex",
|
|
11340
11391
|
columnGap: "A",
|
|
11341
|
-
childProps: { flex: "1" }
|
|
11392
|
+
childProps: { flex: "1", fontSize: "E" }
|
|
11342
11393
|
},
|
|
11343
11394
|
childExtend: NumberInput,
|
|
11344
11395
|
...[{}, {}, {}, {}]
|