orcs-design-system 2.0.73 → 2.0.74

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.
@@ -110,7 +110,7 @@ var Select = /*#__PURE__*/forwardRef(function (props, ref) {
110
110
  },
111
111
  valueContainer: function valueContainer(provided) {
112
112
  return _objectSpread(_objectSpread({}, provided), {}, {
113
- padding: props.padding ? props.padding : "2px 8px"
113
+ padding: props.padding ? props.padding : "2px 4px"
114
114
  });
115
115
  },
116
116
  clearIndicator: function clearIndicator(provided, state) {
@@ -143,34 +143,38 @@ var Select = /*#__PURE__*/forwardRef(function (props, ref) {
143
143
  multiValue: function multiValue(provided, state) {
144
144
  return _objectSpread(_objectSpread({}, provided), {}, {
145
145
  opacity: state.isDisabled ? 0.7 : 1,
146
- backgroundColor: props.inverted ? themeGet("colors.primaryDark")(props) : themeGet("colors.primary")(props),
146
+ backgroundColor: "transparent",
147
147
  color: themeGet("colors.white")(props),
148
- borderRadius: themeGet("radii.2")(props),
148
+ alignItems: "center",
149
+ padding: "0 !important",
149
150
  fontSize: themeGet("fontSizes.1")(props),
150
151
  wordWrap: "break-word"
151
152
  });
152
153
  },
153
- multiValueLabel: function multiValueLabel(provided) {
154
+ multiValueLabel: function multiValueLabel(provided, state) {
154
155
  return _objectSpread(_objectSpread({}, provided), {}, {
155
- backgroundColor: props.inverted ? themeGet("colors.primaryDark")(props) : themeGet("colors.primary")(props),
156
+ backgroundColor: themeGet("colors.primary")(props),
156
157
  color: themeGet("colors.white"),
157
- borderRadius: themeGet("radii.2")(props),
158
- padding: themeGet("space.2")(props),
159
- fontSize: themeGet("fontSizes.1")(props),
158
+ padding: state.data.isFixed ? "4px 10px 5px 10px !important" : "4px 8px 5px 10px !important",
159
+ fontSize: "1.3rem",
160
+ fontWeight: "600",
160
161
  wordWrap: "break-word",
161
- whiteSpace: "wrap"
162
+ whiteSpace: "break-spaces",
163
+ borderRadius: state.data.isFixed ? "15px" : "15px 0 0 15px"
162
164
  });
163
165
  },
164
166
  multiValueRemove: function multiValueRemove(provided, state) {
165
167
  return _objectSpread(_objectSpread({}, provided), {}, {
166
- backgroundColor: props.inverted ? themeGet("colors.primaryDark")(props) : themeGet("colors.primary")(props),
168
+ backgroundColor: themeGet("colors.primary")(props),
167
169
  color: themeGet("colors.white")(props),
168
- borderRadius: themeGet("radii.2")(props),
169
- paddingLeft: themeGet("space.0")(props),
170
- paddingRight: themeGet("space.1")(props),
170
+ borderLeft: "solid 1px ".concat(themeGet("colors.primaryDark")(props)),
171
+ padding: "6.5px 6px 6.5px 5px",
171
172
  display: state.data.isFixed ? "none" : provided.display,
173
+ cursor: "pointer",
174
+ borderRadius: "0 15px 15px 0",
175
+ transition: themeGet("transition.transitionDefault")(props),
172
176
  "&:hover": {
173
- backgroundColor: themeGet("colors.primaryDarkest")(props),
177
+ backgroundColor: themeGet("colors.primaryDark")(props),
174
178
  color: themeGet("colors.white")(props)
175
179
  }
176
180
  });
@@ -180,7 +184,7 @@ var Select = /*#__PURE__*/forwardRef(function (props, ref) {
180
184
  opacity: state.isDisabled ? 0.7 : 1,
181
185
  backgroundColor: !state.isFocused && !props.inverted ? themeGet("colors.white")(props) : state.isFocused && !props.inverted ? themeGet("colors.primaryLightest")(props) : !state.isFocused && props.inverted ? themeGet("colors.greyDarker")(props) : themeGet("colors.primaryDark")(props),
182
186
  fontSize: themeGet("fontSizes.1")(props),
183
- whiteSpace: "wrap"
187
+ whiteSpace: "break-spaces"
184
188
  });
185
189
  },
186
190
  placeholder: function placeholder(provided, state) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orcs-design-system",
3
- "version": "2.0.73",
3
+ "version": "2.0.74",
4
4
  "description": "Orchestrated's Design System, aka: ORCS",
5
5
  "keywords": [
6
6
  "design",