@superdispatch/ui-lab 0.50.2 → 0.50.4

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.
@@ -1252,46 +1252,38 @@ var EndActions = /*#__PURE__*/styled__default.div.withConfig({
1252
1252
  } = _ref2;
1253
1253
  return theme.breakpoints.down('xs');
1254
1254
  });
1255
- var BannerListItemDanger = /*#__PURE__*/styled.css(["& ", "{background:", ";color:", ";}&:hover{background:", ";}"], IconContainer, ui.ColorDynamic.Red50, ui.ColorDynamic.Red300, ui.ColorDynamic.Red50);
1256
1255
  var BannerListItemStandalone = /*#__PURE__*/styled.css(["background:", ";"], ui.ColorDynamic.Silver200);
1257
1256
  var BannerListContainer = /*#__PURE__*/styled__default.div.withConfig({
1258
1257
  displayName: "FlagListItem__BannerListContainer",
1259
1258
  componentId: "SD__sc-o5bqru-4"
1260
- })(["display:flex;align-items:center;gap:8px;padding:8px 16px 8px 12px;border:1px solid ", ";background:", ";cursor:default;transition:", ";& + &{border-top:none;}&:last-child{border-radius:0 0 4px 4px;}&:hover{background:", ";& ", "{background:", ";}& ", " > svg{color:", ";}}[data-variant='standalone'] &:not(:hover){", "}", " ", "{flex-direction:column;align-items:flex-start;}"], ui.ColorDynamic.Silver400, ui.ColorDynamic.White, _ref3 => {
1259
+ })(["display:flex;align-items:center;gap:8px;padding:8px 16px 8px 12px;border:1px solid ", ";background:", ";cursor:default;transition:", ";& + &{border-top:none;}&:last-child{border-radius:0 0 4px 4px;}&:hover{background:", ";& ", "{background:", ";}}[data-variant='standalone'] &:not(:hover){", "}", "{flex-direction:column;align-items:flex-start;}"], ui.ColorDynamic.Silver400, ui.ColorDynamic.White, _ref3 => {
1261
1260
  var {
1262
1261
  theme
1263
1262
  } = _ref3;
1264
1263
  return theme.transitions.create(['color', 'background-color']);
1265
- }, ui.ColorDynamic.Blue50, IconContainer, ui.ColorDynamic.White, HelpIcon, _ref4 => {
1266
- var {
1267
- $variant
1268
- } = _ref4;
1269
- return $variant === 'danger' ? ui.ColorDynamic.Red300 : ui.ColorDynamic.Blue300;
1270
- }, BannerListItemStandalone, _ref5 => {
1271
- var {
1272
- $variant
1273
- } = _ref5;
1274
- return $variant === 'danger' ? BannerListItemDanger : null;
1275
- }, _ref6 => {
1264
+ }, ui.ColorDynamic.Silver200, IconContainer, ui.ColorDynamic.White, BannerListItemStandalone, _ref4 => {
1276
1265
  var {
1277
1266
  theme
1278
- } = _ref6;
1267
+ } = _ref4;
1279
1268
  return theme.breakpoints.down('xs');
1280
1269
  });
1281
- var FlagListItem = /*#__PURE__*/react.forwardRef((_ref7, ref) => {
1270
+ var FlagListItem = /*#__PURE__*/react.forwardRef((_ref5, ref) => {
1282
1271
  var {
1283
1272
  variant = 'primary',
1284
1273
  showHelpIcon,
1285
1274
  endAction,
1286
1275
  children
1287
- } = _ref7,
1288
- rest = _objectWithoutProperties(_ref7, _excluded$7);
1276
+ } = _ref5,
1277
+ rest = _objectWithoutProperties(_ref5, _excluded$7);
1289
1278
  return /*#__PURE__*/jsxRuntime.jsxs(BannerListContainer, _objectSpread(_objectSpread({}, rest), {}, {
1290
1279
  ref: ref,
1291
- $variant: variant,
1292
1280
  children: [/*#__PURE__*/jsxRuntime.jsxs(Content, {
1293
1281
  children: [/*#__PURE__*/jsxRuntime.jsx(IconContainer, {
1294
- children: variant === 'danger' ? /*#__PURE__*/jsxRuntime.jsx(icons.Error, {}) : variant === 'warning' ? /*#__PURE__*/jsxRuntime.jsx(icons.Warning, {}) : /*#__PURE__*/jsxRuntime.jsx(icons.Flag, {})
1282
+ children: variant === 'danger' ? /*#__PURE__*/jsxRuntime.jsx(icons.Error, {
1283
+ htmlColor: ui.ColorDynamic.Red300
1284
+ }) : variant === 'warning' ? /*#__PURE__*/jsxRuntime.jsx(icons.Warning, {
1285
+ htmlColor: ui.ColorDynamic.Yellow300
1286
+ }) : /*#__PURE__*/jsxRuntime.jsx(icons.Flag, {})
1295
1287
  }), children, /*#__PURE__*/jsxRuntime.jsx(HelpIcon, {
1296
1288
  children: showHelpIcon && /*#__PURE__*/jsxRuntime.jsx(icons.Help, {})
1297
1289
  })]