@symbo.ls/uikit 2.11.76 → 2.11.77

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 CHANGED
@@ -14878,25 +14878,12 @@ var templateDefault = {
14878
14878
  boxSize: "fit-content fit-content",
14879
14879
  ":hover": { background: "#252527" },
14880
14880
  input: {
14881
+ display: "none",
14881
14882
  ":checked + div": {
14882
- background: "#0474F2",
14883
+ theme: "primary",
14883
14884
  border: "none"
14884
14885
  },
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
- }
14886
+ ":checked + div > svg": { opacity: "1" }
14900
14887
  }
14901
14888
  };
14902
14889
  var Checkbox = {
@@ -14906,11 +14893,34 @@ var Checkbox = {
14906
14893
  attr: {
14907
14894
  type: "checkbox",
14908
14895
  checked: ({ parent }) => parent.props.checked
14896
+ },
14897
+ on: {
14898
+ render: ({ parent, node: node2 }) => {
14899
+ const { indeterminate } = parent.props;
14900
+ console.log(indeterminate);
14901
+ node2.indeterminate = indeterminate;
14902
+ },
14903
+ update: ({ parent, node: node2 }) => {
14904
+ const { indeterminate } = parent.props;
14905
+ console.log(indeterminate);
14906
+ node2.indeterminate = indeterminate;
14907
+ }
14909
14908
  }
14910
14909
  },
14911
- checkbox: {
14912
- extend: "Flex",
14913
- Icon: {}
14910
+ Flex: {
14911
+ props: {
14912
+ align: "center center",
14913
+ border: "1px solid #E9E9EA",
14914
+ boxSize: "B B",
14915
+ round: "Y"
14916
+ },
14917
+ Icon: {
14918
+ height: "Z Z2",
14919
+ color: "white",
14920
+ name: "check",
14921
+ opacity: "0",
14922
+ transition: "opacity .15s ease"
14923
+ }
14914
14924
  }
14915
14925
  };
14916
14926
  var CheckBoxWithLabel = {
@@ -14927,7 +14937,7 @@ var CheckBoxWithLabel = {
14927
14937
  // Form/Radio.js
14928
14938
  var templateDefault2 = {
14929
14939
  input: { ":checked + div > div": { opacity: "1" } },
14930
- checkbox: {
14940
+ Flex: {
14931
14941
  round: "100%",
14932
14942
  circle: {
14933
14943
  boxSize: "Y2 Y2",
@@ -14942,7 +14952,7 @@ var Radio = {
14942
14952
  extend: Checkbox,
14943
14953
  props: templateDefault2,
14944
14954
  input: { attr: { type: "radio" } },
14945
- checkbox: {
14955
+ Flex: {
14946
14956
  Icon: null,
14947
14957
  circle: {}
14948
14958
  }
@@ -14962,9 +14972,14 @@ var RadioWithLabel = {
14962
14972
  var templateDefault3 = {
14963
14973
  padding: "Y",
14964
14974
  round: "B",
14965
- input: { ":checked + div": { justifyContent: "flex-end", background: "#47FF09" } },
14975
+ input: {
14976
+ ":checked + div": {
14977
+ justifyContent: "flex-end",
14978
+ theme: "primary"
14979
+ }
14980
+ },
14966
14981
  ":hover > div": { opacity: "1" },
14967
- checkbox: {
14982
+ Flex: {
14968
14983
  boxSize: "B C",
14969
14984
  padding: "- W",
14970
14985
  round: "D",
@@ -14977,9 +14992,7 @@ var templateDefault3 = {
14977
14992
  boxSize: "A1 A1",
14978
14993
  round: "100%",
14979
14994
  background: "white",
14980
- style: {
14981
- boxShadow: "1px 1px 8px rgba(0, 0, 0, 0.2)"
14982
- }
14995
+ boxShadow: "1px, 1px, 8px, rgba(0, 0, 0, 0.2)"
14983
14996
  }
14984
14997
  }
14985
14998
  };
@@ -14987,7 +15000,7 @@ var ToggleSwitch = {
14987
15000
  extend: Checkbox,
14988
15001
  props: templateDefault3,
14989
15002
  input: {},
14990
- checkbox: {
15003
+ Flex: {
14991
15004
  Icon: null,
14992
15005
  circle: {}
14993
15006
  }
@@ -15684,14 +15697,16 @@ var Upload = {
15684
15697
  round: "A",
15685
15698
  cursor: "pointer",
15686
15699
  border: "1.6px, dashed, white 0.1",
15687
- padding: "B B2"
15700
+ padding: "B B2",
15701
+ Input: {
15702
+ position: "absolute",
15703
+ inset: "0 0 0 0",
15704
+ opacity: "0",
15705
+ visibility: "hidden"
15706
+ }
15688
15707
  },
15689
15708
  Input: {
15690
- type: "file",
15691
- position: "absolute",
15692
- inset: "0 0 0 0",
15693
- opacity: "0",
15694
- visibility: "hidden"
15709
+ type: "file"
15695
15710
  },
15696
15711
  Icon: {
15697
15712
  name: "upload",