@symbo.ls/uikit 2.11.76 → 2.11.78
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 +84 -41
- package/dist/index.cjs.js.map +3 -3
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -14246,10 +14246,15 @@ var DialogFooter = {
|
|
|
14246
14246
|
childExtend: {
|
|
14247
14247
|
extend: Button,
|
|
14248
14248
|
props: {
|
|
14249
|
-
theme: "primary @dark .color-only",
|
|
14250
14249
|
fontSize: "Z",
|
|
14251
14250
|
textTransform: "uppercase",
|
|
14252
14251
|
background: "transparent",
|
|
14252
|
+
"@dark": {
|
|
14253
|
+
theme: "primary @dark .color-only"
|
|
14254
|
+
},
|
|
14255
|
+
"@light": {
|
|
14256
|
+
theme: "primary @light .color-only"
|
|
14257
|
+
},
|
|
14253
14258
|
"&": {
|
|
14254
14259
|
padding: "Z A"
|
|
14255
14260
|
},
|
|
@@ -14447,13 +14452,20 @@ var DatePickerMonthsSlider = {
|
|
|
14447
14452
|
position: "absolute",
|
|
14448
14453
|
zIndex: "35",
|
|
14449
14454
|
background: "transparent",
|
|
14450
|
-
color: "#0079FD",
|
|
14451
14455
|
":first-child": { left: "18px" },
|
|
14452
14456
|
":last-child": { right: "18px" }
|
|
14453
14457
|
}
|
|
14454
14458
|
}
|
|
14455
14459
|
},
|
|
14456
|
-
Button_left: {
|
|
14460
|
+
Button_left: {
|
|
14461
|
+
icon: "arrowLeft",
|
|
14462
|
+
"@dark": {
|
|
14463
|
+
theme: "primary @dark .color-only"
|
|
14464
|
+
},
|
|
14465
|
+
"@light": {
|
|
14466
|
+
theme: "primary @light .color-only"
|
|
14467
|
+
}
|
|
14468
|
+
},
|
|
14457
14469
|
Flex: {
|
|
14458
14470
|
props: {
|
|
14459
14471
|
flex: "1",
|
|
@@ -14497,7 +14509,15 @@ var DatePickerMonthsSlider = {
|
|
|
14497
14509
|
];
|
|
14498
14510
|
}
|
|
14499
14511
|
},
|
|
14500
|
-
Button_right: {
|
|
14512
|
+
Button_right: {
|
|
14513
|
+
icon: "arrowRight",
|
|
14514
|
+
"@dark": {
|
|
14515
|
+
theme: "primary @dark .color-only"
|
|
14516
|
+
},
|
|
14517
|
+
"@light": {
|
|
14518
|
+
theme: "primary @light .color-only"
|
|
14519
|
+
}
|
|
14520
|
+
}
|
|
14501
14521
|
};
|
|
14502
14522
|
|
|
14503
14523
|
// Datepicker/weekdays.js
|
|
@@ -14878,25 +14898,12 @@ var templateDefault = {
|
|
|
14878
14898
|
boxSize: "fit-content fit-content",
|
|
14879
14899
|
":hover": { background: "#252527" },
|
|
14880
14900
|
input: {
|
|
14901
|
+
display: "none",
|
|
14881
14902
|
":checked + div": {
|
|
14882
|
-
|
|
14903
|
+
theme: "primary",
|
|
14883
14904
|
border: "none"
|
|
14884
14905
|
},
|
|
14885
|
-
":checked + div > svg": { opacity: "1" }
|
|
14886
|
-
display: "none"
|
|
14887
|
-
},
|
|
14888
|
-
checkbox: {
|
|
14889
|
-
align: "center center",
|
|
14890
|
-
border: "1px solid #E9E9EA",
|
|
14891
|
-
boxSize: "B B",
|
|
14892
|
-
round: "Y",
|
|
14893
|
-
Icon: {
|
|
14894
|
-
height: "Z Z2",
|
|
14895
|
-
color: "white",
|
|
14896
|
-
name: "check",
|
|
14897
|
-
opacity: "0",
|
|
14898
|
-
transition: "opacity .15s ease"
|
|
14899
|
-
}
|
|
14906
|
+
":checked + div > svg": { opacity: "1" }
|
|
14900
14907
|
}
|
|
14901
14908
|
};
|
|
14902
14909
|
var Checkbox = {
|
|
@@ -14906,11 +14913,34 @@ var Checkbox = {
|
|
|
14906
14913
|
attr: {
|
|
14907
14914
|
type: "checkbox",
|
|
14908
14915
|
checked: ({ parent }) => parent.props.checked
|
|
14916
|
+
},
|
|
14917
|
+
on: {
|
|
14918
|
+
render: ({ parent, node: node2 }) => {
|
|
14919
|
+
const { indeterminate } = parent.props;
|
|
14920
|
+
console.log(indeterminate);
|
|
14921
|
+
node2.indeterminate = indeterminate;
|
|
14922
|
+
},
|
|
14923
|
+
update: ({ parent, node: node2 }) => {
|
|
14924
|
+
const { indeterminate } = parent.props;
|
|
14925
|
+
console.log(indeterminate);
|
|
14926
|
+
node2.indeterminate = indeterminate;
|
|
14927
|
+
}
|
|
14909
14928
|
}
|
|
14910
14929
|
},
|
|
14911
|
-
|
|
14912
|
-
|
|
14913
|
-
|
|
14930
|
+
Flex: {
|
|
14931
|
+
props: {
|
|
14932
|
+
align: "center center",
|
|
14933
|
+
border: "1px solid #E9E9EA",
|
|
14934
|
+
boxSize: "B B",
|
|
14935
|
+
round: "Y"
|
|
14936
|
+
},
|
|
14937
|
+
Icon: {
|
|
14938
|
+
height: "Z Z2",
|
|
14939
|
+
color: "white",
|
|
14940
|
+
name: "check",
|
|
14941
|
+
opacity: "0",
|
|
14942
|
+
transition: "opacity .15s ease"
|
|
14943
|
+
}
|
|
14914
14944
|
}
|
|
14915
14945
|
};
|
|
14916
14946
|
var CheckBoxWithLabel = {
|
|
@@ -14927,7 +14957,7 @@ var CheckBoxWithLabel = {
|
|
|
14927
14957
|
// Form/Radio.js
|
|
14928
14958
|
var templateDefault2 = {
|
|
14929
14959
|
input: { ":checked + div > div": { opacity: "1" } },
|
|
14930
|
-
|
|
14960
|
+
Flex: {
|
|
14931
14961
|
round: "100%",
|
|
14932
14962
|
circle: {
|
|
14933
14963
|
boxSize: "Y2 Y2",
|
|
@@ -14942,7 +14972,7 @@ var Radio = {
|
|
|
14942
14972
|
extend: Checkbox,
|
|
14943
14973
|
props: templateDefault2,
|
|
14944
14974
|
input: { attr: { type: "radio" } },
|
|
14945
|
-
|
|
14975
|
+
Flex: {
|
|
14946
14976
|
Icon: null,
|
|
14947
14977
|
circle: {}
|
|
14948
14978
|
}
|
|
@@ -14962,9 +14992,14 @@ var RadioWithLabel = {
|
|
|
14962
14992
|
var templateDefault3 = {
|
|
14963
14993
|
padding: "Y",
|
|
14964
14994
|
round: "B",
|
|
14965
|
-
input: {
|
|
14995
|
+
input: {
|
|
14996
|
+
":checked + div": {
|
|
14997
|
+
justifyContent: "flex-end",
|
|
14998
|
+
theme: "primary"
|
|
14999
|
+
}
|
|
15000
|
+
},
|
|
14966
15001
|
":hover > div": { opacity: "1" },
|
|
14967
|
-
|
|
15002
|
+
Flex: {
|
|
14968
15003
|
boxSize: "B C",
|
|
14969
15004
|
padding: "- W",
|
|
14970
15005
|
round: "D",
|
|
@@ -14977,9 +15012,7 @@ var templateDefault3 = {
|
|
|
14977
15012
|
boxSize: "A1 A1",
|
|
14978
15013
|
round: "100%",
|
|
14979
15014
|
background: "white",
|
|
14980
|
-
|
|
14981
|
-
boxShadow: "1px 1px 8px rgba(0, 0, 0, 0.2)"
|
|
14982
|
-
}
|
|
15015
|
+
boxShadow: "1px, 1px, 8px, rgba(0, 0, 0, 0.2)"
|
|
14983
15016
|
}
|
|
14984
15017
|
}
|
|
14985
15018
|
};
|
|
@@ -14987,7 +15020,7 @@ var ToggleSwitch = {
|
|
|
14987
15020
|
extend: Checkbox,
|
|
14988
15021
|
props: templateDefault3,
|
|
14989
15022
|
input: {},
|
|
14990
|
-
|
|
15023
|
+
Flex: {
|
|
14991
15024
|
Icon: null,
|
|
14992
15025
|
circle: {}
|
|
14993
15026
|
}
|
|
@@ -15684,14 +15717,16 @@ var Upload = {
|
|
|
15684
15717
|
round: "A",
|
|
15685
15718
|
cursor: "pointer",
|
|
15686
15719
|
border: "1.6px, dashed, white 0.1",
|
|
15687
|
-
padding: "B B2"
|
|
15720
|
+
padding: "B B2",
|
|
15721
|
+
Input: {
|
|
15722
|
+
position: "absolute",
|
|
15723
|
+
inset: "0 0 0 0",
|
|
15724
|
+
opacity: "0",
|
|
15725
|
+
visibility: "hidden"
|
|
15726
|
+
}
|
|
15688
15727
|
},
|
|
15689
15728
|
Input: {
|
|
15690
|
-
type: "file"
|
|
15691
|
-
position: "absolute",
|
|
15692
|
-
inset: "0 0 0 0",
|
|
15693
|
-
opacity: "0",
|
|
15694
|
-
visibility: "hidden"
|
|
15729
|
+
type: "file"
|
|
15695
15730
|
},
|
|
15696
15731
|
Icon: {
|
|
15697
15732
|
name: "upload",
|
|
@@ -15740,15 +15775,23 @@ var Pills = {
|
|
|
15740
15775
|
},
|
|
15741
15776
|
childExtend: {
|
|
15742
15777
|
props: (el, s) => ({
|
|
15743
|
-
active: parseInt(el.key) === (el.parent.props.active
|
|
15744
|
-
theme: "tertiary",
|
|
15778
|
+
active: parseInt(el.key) === parseInt(s.active || el.parent.props.active),
|
|
15745
15779
|
boxSize: "Y2",
|
|
15746
15780
|
round: "A",
|
|
15781
|
+
"!active": {
|
|
15782
|
+
theme: "tertiary"
|
|
15783
|
+
},
|
|
15747
15784
|
".active": {
|
|
15748
15785
|
theme: "primary"
|
|
15749
15786
|
}
|
|
15750
|
-
})
|
|
15751
|
-
|
|
15787
|
+
}),
|
|
15788
|
+
on: {
|
|
15789
|
+
click: (e, el, s) => {
|
|
15790
|
+
s.update({ active: parseInt(el.key) });
|
|
15791
|
+
}
|
|
15792
|
+
}
|
|
15793
|
+
},
|
|
15794
|
+
$setCollection: ({ props: props7, state }) => new Array(props7.qty).fill({})
|
|
15752
15795
|
};
|
|
15753
15796
|
|
|
15754
15797
|
// Select/index.js
|