@symbo.ls/uikit 2.11.248 → 2.11.249
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 +34 -19
- package/dist/index.cjs.js.map +2 -2
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -1406,10 +1406,10 @@ var require_cjs = __commonJS({
|
|
|
1406
1406
|
appendIconsSprite: () => appendIconsSprite2,
|
|
1407
1407
|
appendSVGSprite: () => appendSVGSprite2,
|
|
1408
1408
|
applyDocument: () => applyDocument,
|
|
1409
|
-
applyGlobalVars: () => applyGlobalVars,
|
|
1410
1409
|
applyHeadings: () => applyHeadings,
|
|
1411
1410
|
applyMediaSequenceVars: () => applyMediaSequenceVars,
|
|
1412
1411
|
applyReset: () => applyReset,
|
|
1412
|
+
applySequenceGlobalVars: () => applySequenceGlobalVars,
|
|
1413
1413
|
applySequenceVars: () => applySequenceVars,
|
|
1414
1414
|
applySpacingSequence: () => applySpacingSequence,
|
|
1415
1415
|
applyTimingSequence: () => applyTimingSequence,
|
|
@@ -1495,8 +1495,8 @@ var require_cjs = __commonJS({
|
|
|
1495
1495
|
module2.exports = __toCommonJS2(src_exports);
|
|
1496
1496
|
var utils_exports = {};
|
|
1497
1497
|
__export2(utils_exports, {
|
|
1498
|
-
applyGlobalVars: () => applyGlobalVars,
|
|
1499
1498
|
applyMediaSequenceVars: () => applyMediaSequenceVars,
|
|
1499
|
+
applySequenceGlobalVars: () => applySequenceGlobalVars,
|
|
1500
1500
|
applySequenceVars: () => applySequenceVars,
|
|
1501
1501
|
changeLightness: () => changeLightness,
|
|
1502
1502
|
colorStringToRgbaArray: () => colorStringToRgbaArray,
|
|
@@ -2149,7 +2149,7 @@ var require_cjs = __commonJS({
|
|
|
2149
2149
|
CSS_VARS2[result.var] = result.value;
|
|
2150
2150
|
}
|
|
2151
2151
|
};
|
|
2152
|
-
var
|
|
2152
|
+
var applySequenceGlobalVars = (vars, obj, options) => {
|
|
2153
2153
|
const CONFIG22 = getActiveConfig3();
|
|
2154
2154
|
const { UNIT: UNIT2 } = CONFIG22;
|
|
2155
2155
|
const unit = obj.unit || UNIT2.default;
|
|
@@ -2170,7 +2170,7 @@ var require_cjs = __commonJS({
|
|
|
2170
2170
|
const unit = FACTORY2.unit || UNIT2.default;
|
|
2171
2171
|
const { mediaRegenerate, sequence, scales } = FACTORY2;
|
|
2172
2172
|
if (!mediaRegenerate) {
|
|
2173
|
-
|
|
2173
|
+
applySequenceGlobalVars(CSS_VARS2, FACTORY2, options);
|
|
2174
2174
|
}
|
|
2175
2175
|
for (const key in sequence) {
|
|
2176
2176
|
const item = sequence[key];
|
|
@@ -2202,7 +2202,7 @@ var require_cjs = __commonJS({
|
|
|
2202
2202
|
let underMediaQuery = CSS_VARS2[`@media ${query}`];
|
|
2203
2203
|
if (!underMediaQuery)
|
|
2204
2204
|
underMediaQuery = CSS_VARS2[`@media ${query}`] = {};
|
|
2205
|
-
|
|
2205
|
+
applySequenceGlobalVars(underMediaQuery, FACTORY2[media], options);
|
|
2206
2206
|
return;
|
|
2207
2207
|
}
|
|
2208
2208
|
for (const key in sequence) {
|
|
@@ -9424,18 +9424,22 @@ var Banner = {
|
|
|
9424
9424
|
width: "100%",
|
|
9425
9425
|
theme: "dialog",
|
|
9426
9426
|
align: "flex-start",
|
|
9427
|
-
gap: "B"
|
|
9427
|
+
gap: "B",
|
|
9428
|
+
"@mobileL": { padding: "C1 C" },
|
|
9429
|
+
"@mobileS": { padding: "C1 B" }
|
|
9428
9430
|
},
|
|
9429
9431
|
Title: {
|
|
9430
9432
|
tag: "h1",
|
|
9431
9433
|
props: {
|
|
9432
9434
|
textTransform: "capitalize",
|
|
9433
|
-
fontSize: "
|
|
9435
|
+
fontSize: "L",
|
|
9434
9436
|
fontWeight: "900",
|
|
9435
9437
|
letterSpacing: "-0.035em",
|
|
9436
9438
|
lineHeight: ".8em",
|
|
9437
9439
|
gap: "0",
|
|
9438
|
-
|
|
9440
|
+
"@mobileL": { fontSize: "J2" },
|
|
9441
|
+
"@mobileM": { fontSize: "J" },
|
|
9442
|
+
"@mobileS": { fontSize: "I" },
|
|
9439
9443
|
maxWidth: "fit-content"
|
|
9440
9444
|
}
|
|
9441
9445
|
},
|
|
@@ -9447,7 +9451,10 @@ var Banner = {
|
|
|
9447
9451
|
minWidth: "100%",
|
|
9448
9452
|
position: "relative",
|
|
9449
9453
|
gap: "A",
|
|
9450
|
-
|
|
9454
|
+
"@mobileL": {
|
|
9455
|
+
display: "none"
|
|
9456
|
+
},
|
|
9457
|
+
// '@tabletS': { display: 'none' },
|
|
9451
9458
|
":before": {
|
|
9452
9459
|
content: '""',
|
|
9453
9460
|
position: "absolute",
|
|
@@ -9464,15 +9471,25 @@ var Banner = {
|
|
|
9464
9471
|
// maxWidth: 'G2_default',
|
|
9465
9472
|
maxWidth: "G1_default",
|
|
9466
9473
|
lineHeight: "1.6em",
|
|
9467
|
-
color: "grey"
|
|
9474
|
+
color: "grey",
|
|
9475
|
+
padding: "- Z",
|
|
9476
|
+
"@mobileL": {
|
|
9477
|
+
display: "none"
|
|
9478
|
+
}
|
|
9468
9479
|
}
|
|
9469
9480
|
},
|
|
9470
9481
|
Flex: {
|
|
9471
9482
|
extend: TitleParagraph,
|
|
9472
9483
|
props: {
|
|
9473
9484
|
gap: "A2",
|
|
9474
|
-
|
|
9475
|
-
"@mobileL": {
|
|
9485
|
+
alignSelf: "flex-end",
|
|
9486
|
+
"@mobileL": {
|
|
9487
|
+
alignSelf: "flex-start",
|
|
9488
|
+
padding: "- A2"
|
|
9489
|
+
}
|
|
9490
|
+
// '@tabletS': { alignSelf: 'flex-start', padding: '- - - Z2' }
|
|
9491
|
+
// '@mobileL<': { alignSelf: 'flex-end' },
|
|
9492
|
+
// '@mobileL': { margin: 'C1 - -' }
|
|
9476
9493
|
},
|
|
9477
9494
|
Title: {
|
|
9478
9495
|
tag: "h6",
|
|
@@ -9861,28 +9878,26 @@ var Textarea = {
|
|
|
9861
9878
|
variant: "outlined",
|
|
9862
9879
|
fontfamily: "Avenir",
|
|
9863
9880
|
round: "Z1",
|
|
9864
|
-
maxWidth: "H",
|
|
9865
|
-
minHeight: "E",
|
|
9866
9881
|
placeholder: "Leave us a message...",
|
|
9867
9882
|
padding: "A",
|
|
9868
9883
|
theme: "transparent",
|
|
9869
9884
|
border: "none",
|
|
9885
|
+
maxWidth: "G1_default",
|
|
9886
|
+
minHeight: "E_default",
|
|
9887
|
+
width: "100%",
|
|
9888
|
+
height: "E1_default",
|
|
9870
9889
|
style: { resize: "none" }
|
|
9871
9890
|
},
|
|
9872
9891
|
".simple": {
|
|
9873
9892
|
props: {
|
|
9874
9893
|
theme: "field",
|
|
9875
9894
|
round: "Z2",
|
|
9876
|
-
width: "G1_default",
|
|
9877
|
-
height: "E1",
|
|
9878
9895
|
lineHeight: 1.4
|
|
9879
9896
|
}
|
|
9880
9897
|
},
|
|
9881
9898
|
".outlined": {
|
|
9882
9899
|
props: {
|
|
9883
9900
|
background: "transparent",
|
|
9884
|
-
width: "G1_default",
|
|
9885
|
-
height: "D2+W",
|
|
9886
9901
|
lineHeight: 1.4,
|
|
9887
9902
|
placeholder: "Leave us a message...",
|
|
9888
9903
|
outline: "none !important",
|
|
@@ -9899,7 +9914,7 @@ var TextareaWithButton = {
|
|
|
9899
9914
|
padding: "A",
|
|
9900
9915
|
fontSize: "Z1",
|
|
9901
9916
|
round: "Z2",
|
|
9902
|
-
minHeight: "
|
|
9917
|
+
minHeight: "fit-content"
|
|
9903
9918
|
},
|
|
9904
9919
|
IconCommonButton: {
|
|
9905
9920
|
props: {
|