@hexure/ui 1.13.69 → 1.13.71

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/cjs/index.js CHANGED
@@ -3122,7 +3122,9 @@ const Logo = (_a) => {
3122
3122
  const Container$4 = styled.header `
3123
3123
  width: 100%;
3124
3124
  display: flex;
3125
- padding: 20px;
3125
+ padding: 5px;
3126
+ padding-left: 20px;
3127
+ padding-right: 0px;
3126
3128
  box-sizing: border-box;
3127
3129
  border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
3128
3130
  background: '#fff';
@@ -3133,14 +3135,16 @@ const LogoWrapper = styled.div `
3133
3135
  align-items: center;
3134
3136
  `;
3135
3137
  const Image = styled.img `
3136
- height: 30px !important;
3137
- width: auto !important;
3138
+ max-height: 65px !important;
3139
+ max-width: 250px !important;
3138
3140
  `;
3139
3141
  const Buttons = styled.div `
3140
3142
  display: flex;
3141
3143
  flex-direction: row;
3142
3144
  column-gap: 10px;
3143
3145
  flex-direction: reverse;
3146
+ padding: 20px;
3147
+ padding-left: 0px;
3144
3148
  `;
3145
3149
  const AppHeader = ({ logoUrl, buttons = [], dataItemid }) => {
3146
3150
  const baseId = dataItemid || 'app-header';
@@ -3568,7 +3572,7 @@ const Input$2 = styled.input `
3568
3572
  width: 0;
3569
3573
  &:checked + span {
3570
3574
  background-color: ${Colors.PRIMARY.Hex};
3571
- border-color: ${Colors.PRIMARY.Hex};
3575
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : Colors.PRIMARY.Hex)};
3572
3576
  }
3573
3577
  &:checked:disabled + span {
3574
3578
  background-color: ${Colors.MEDIUM_GRAY.Hex};
@@ -3644,7 +3648,7 @@ const Checkbox = (_a) => {
3644
3648
  var { children, color, disabled, checked, onChange, invalid, tooltip, tabIndex, dataItemid, isInvalidRedBackground = false, isWarningError = false } = _a, accessibleProps = __rest(_a, ["children", "color", "disabled", "checked", "onChange", "invalid", "tooltip", "tabIndex", "dataItemid", "isInvalidRedBackground", "isWarningError"]);
3645
3649
  const baseId = dataItemid || 'checkbox';
3646
3650
  return (React.createElement(Wrapper$b, Object.assign({ "$disabled": disabled }, accessibleProps, { "data-itemid": `${baseId}-wrapper` }),
3647
- React.createElement(Input$2, { checked: checked, "data-itemid": `${baseId}-input`, disabled: disabled, name: accessibleProps.name, onChange: disabled ? undefined : onChange, tabIndex: disabled ? -1 : tabIndex, type: 'checkbox' }),
3651
+ React.createElement(Input$2, { "$invalid": invalid, checked: checked, "data-itemid": `${baseId}-input`, disabled: disabled, name: accessibleProps.name, onChange: disabled ? undefined : onChange, tabIndex: disabled ? -1 : tabIndex, type: 'checkbox' }),
3648
3652
  React.createElement(Check$1, { "$invalid": invalid, "$isInvalidRedBackground": isInvalidRedBackground, "$isWarningError": isWarningError, "data-itemid": `${baseId}-check` }),
3649
3653
  children ? (React.createElement(Label$3, { color: color, "data-itemid": `${baseId}-label` },
3650
3654
  children,
@@ -5953,7 +5957,7 @@ const Input = styled.input `
5953
5957
  height: 0;
5954
5958
  width: 0;
5955
5959
  &:checked + span {
5956
- border-color: ${Colors.PRIMARY.Hex};
5960
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : Colors.PRIMARY.Hex)};
5957
5961
  }
5958
5962
  &:checked + span:after {
5959
5963
  background-color: ${Colors.PRIMARY.Hex};
@@ -6027,7 +6031,7 @@ const Radio = (_a) => {
6027
6031
  var { children, disabled, checked, onChange, value, invalid, tooltip, tabIndex, dataItemid, isInvalidRedBackground = false, isWarningError = false } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange", "value", "invalid", "tooltip", "tabIndex", "dataItemid", "isInvalidRedBackground", "isWarningError"]);
6028
6032
  const baseId = dataItemid || 'radio';
6029
6033
  return (React.createElement(Wrapper$2, Object.assign({}, accessibleProps, { "data-itemid": `${baseId}-wrapper` }),
6030
- React.createElement(Input, { checked: checked, "data-itemid": `${baseId}-input`, disabled: disabled, name: accessibleProps.name, onChange: disabled ? undefined : onChange, tabIndex: disabled ? -1 : tabIndex, type: 'radio', value: value }),
6034
+ React.createElement(Input, { "$invalid": invalid, checked: checked, "data-itemid": `${baseId}-input`, disabled: disabled, name: accessibleProps.name, onChange: disabled ? undefined : onChange, tabIndex: disabled ? -1 : tabIndex, type: 'radio', value: value }),
6031
6035
  React.createElement(Check, { "$invalid": invalid, "$isInvalidRedBackground": isInvalidRedBackground, "$isWarningError": isWarningError, "data-itemid": `${baseId}-check` }),
6032
6036
  React.createElement(Label, { "data-itemid": `${baseId}-label` },
6033
6037
  children,