@iwer/devui 1.0.1 → 1.0.2

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.
@@ -4734,7 +4734,6 @@ const Button = dt.button `
4734
4734
  border-radius: ${ControlButtonStyles.radiusSolo};
4735
4735
  }
4736
4736
  `;
4737
- Button.defaultProps = { $reverse: false };
4738
4737
  const HeaderButtonsContainer = dt.div `
4739
4738
  padding: 2px;
4740
4739
  display: flex;
@@ -4816,7 +4815,6 @@ const ButtonContainer = dt.div `
4816
4815
  margin-bottom: 0;
4817
4816
  }
4818
4817
  `;
4819
- ButtonContainer.defaultProps = { $reverse: false };
4820
4818
  const ButtonGroup = dt.div `
4821
4819
  display: flex;
4822
4820
  flex-direction: ${({ $reverse }) => ($reverse ? 'row-reverse' : 'row')};
@@ -4826,7 +4824,6 @@ const ButtonGroup = dt.div `
4826
4824
  margin: ${({ $reverse }) => ($reverse ? '0 5px 0 0' : '0 0 0 5px')};
4827
4825
  gap: 3px;
4828
4826
  `;
4829
- ButtonGroup.defaultProps = { $reverse: false };
4830
4827
  dt.button `
4831
4828
  background-color: rgba(255, 255, 255, 0.3);
4832
4829
  border: none;
@@ -4889,7 +4886,6 @@ const RangeSelector$1 = dt.input.attrs({ type: 'range' }) `
4889
4886
  border-radius: ${ControlButtonStyles.radiusMiddle};
4890
4887
  }
4891
4888
  `;
4892
- RangeSelector$1.defaultProps = { $reverse: false };
4893
4889
  dt.div `
4894
4890
  display: flex;
4895
4891
  flex-direction: column;
@@ -4904,14 +4900,13 @@ dt.div `
4904
4900
  justify-content: center;
4905
4901
  `;
4906
4902
  const FAIcon = dt(FontAwesomeIcon) `
4907
- height: ${({ $size }) => `${$size}px`};
4908
- min-height: ${({ $size }) => `${$size}px`};
4909
- max-height: ${({ $size }) => `${$size}px`};
4910
- width: ${({ $size }) => `${$size}px`};
4911
- min-width: ${({ $size }) => `${$size}px`};
4912
- max-width: ${({ $size }) => `${$size}px`};
4903
+ height: ${({ $size = 14 }) => `${$size}px`};
4904
+ min-height: ${({ $size = 14 }) => `${$size}px`};
4905
+ max-height: ${({ $size = 14 }) => `${$size}px`};
4906
+ width: ${({ $size = 14 }) => `${$size}px`};
4907
+ min-width: ${({ $size = 14 }) => `${$size}px`};
4908
+ max-width: ${({ $size = 14 }) => `${$size}px`};
4913
4909
  `;
4914
- FAIcon.defaultProps = { $size: 14 };
4915
4910
  const ControlPanel = dt.div `
4916
4911
  position: fixed;
4917
4912
  padding: 5px;
@@ -4929,13 +4924,12 @@ const ControlPanel = dt.div `
4929
4924
  flex-direction: column;
4930
4925
  `;
4931
4926
  const SectionBreak = dt.hr `
4932
- width: ${({ $horizontal }) => ($horizontal ? 'unset' : '1px')};
4933
- height: ${({ $horizontal }) => ($horizontal ? '1px' : 'unset')};
4927
+ width: ${({ $horizontal = true }) => ($horizontal ? 'unset' : '1px')};
4928
+ height: ${({ $horizontal = true }) => ($horizontal ? '1px' : 'unset')};
4934
4929
  background-color: ${Colors.panelBorder};
4935
4930
  margin: 5px 3px;
4936
4931
  border: none;
4937
4932
  `;
4938
- SectionBreak.defaultProps = { $horizontal: true };
4939
4933
  const PanelHeaderButton = dt.button `
4940
4934
  background-color: transparent;
4941
4935
  border: none;
@@ -4961,7 +4955,6 @@ const PanelHeaderButton = dt.button `
4961
4955
  outline: none;
4962
4956
  }
4963
4957
  `;
4964
- PanelHeaderButton.defaultProps = { $isRed: false };
4965
4958
  const ValuesContainer = dt.div `
4966
4959
  display: flex;
4967
4960
  flex-direction: row;
@@ -42362,7 +42355,7 @@ class InputLayer {
42362
42355
  }
42363
42356
  }
42364
42357
 
42365
- const VERSION = "1.0.1";
42358
+ const VERSION = "1.0.2";
42366
42359
 
42367
42360
  var client = {};
42368
42361