@superdispatch/ui-lab 0.44.0 → 0.44.1

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.
@@ -1145,11 +1145,15 @@ var IconContainer = /*#__PURE__*/styled__default.div.withConfig({
1145
1145
  var Content = /*#__PURE__*/styled__default.div.withConfig({
1146
1146
  displayName: "FlagListItem__Content",
1147
1147
  componentId: "SD__sc-o5bqru-1"
1148
- })(["display:flex;align-items:center;gap:8px;"]);
1148
+ })(["display:flex;align-items:center;width:100%;gap:8px;"]);
1149
+ var HelpIcon = /*#__PURE__*/styled__default.div.withConfig({
1150
+ displayName: "FlagListItem__HelpIcon",
1151
+ componentId: "SD__sc-o5bqru-2"
1152
+ })(["margin-left:auto;& > svg{font-size:16px;color:", ";}"], ui.ColorDynamic.Dark500);
1149
1153
  var EndActions = /*#__PURE__*/styled__default.div.withConfig({
1150
1154
  displayName: "FlagListItem__EndActions",
1151
- componentId: "SD__sc-o5bqru-2"
1152
- })(["display:flex;align-items:center;margin-left:auto;gap:8px;& > svg{font-size:16px;color:", ";}", "{margin-left:0;width:100%;}"], ui.ColorDynamic.Dark500, _ref2 => {
1155
+ componentId: "SD__sc-o5bqru-3"
1156
+ })(["display:flex;align-items:center;margin-left:auto;gap:8px;", "{margin-left:0;width:100%;}"], _ref2 => {
1153
1157
  var {
1154
1158
  theme
1155
1159
  } = _ref2;
@@ -1159,13 +1163,13 @@ var BannerListItemDanger = /*#__PURE__*/styled.css(["& ", "{background:", ";colo
1159
1163
  var BannerListItemStandalone = /*#__PURE__*/styled.css(["background:", ";"], ui.ColorDynamic.Silver200);
1160
1164
  var BannerListContainer = /*#__PURE__*/styled__default.div.withConfig({
1161
1165
  displayName: "FlagListItem__BannerListContainer",
1162
- componentId: "SD__sc-o5bqru-3"
1163
- })(["display:inline-flex;align-items:center;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 => {
1166
+ componentId: "SD__sc-o5bqru-4"
1167
+ })(["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 => {
1164
1168
  var {
1165
1169
  theme
1166
1170
  } = _ref3;
1167
1171
  return theme.transitions.create(['color', 'background-color']);
1168
- }, ui.ColorDynamic.Blue50, IconContainer, ui.ColorDynamic.White, EndActions, _ref4 => {
1172
+ }, ui.ColorDynamic.Blue50, IconContainer, ui.ColorDynamic.White, HelpIcon, _ref4 => {
1169
1173
  var {
1170
1174
  $variant
1171
1175
  } = _ref4;
@@ -1195,9 +1199,11 @@ var FlagListItem = /*#__PURE__*/react.forwardRef((_ref7, ref) => {
1195
1199
  children: [/*#__PURE__*/jsxRuntime.jsxs(Content, {
1196
1200
  children: [/*#__PURE__*/jsxRuntime.jsx(IconContainer, {
1197
1201
  children: variant === 'danger' ? /*#__PURE__*/jsxRuntime.jsx(icons.Error, {}) : variant === 'warning' ? /*#__PURE__*/jsxRuntime.jsx(icons.Warning, {}) : /*#__PURE__*/jsxRuntime.jsx(icons.Flag, {})
1198
- }), children]
1199
- }), /*#__PURE__*/jsxRuntime.jsxs(EndActions, {
1200
- children: [endAction, showHelpIcon && /*#__PURE__*/jsxRuntime.jsx(icons.Help, {})]
1202
+ }), children, /*#__PURE__*/jsxRuntime.jsx(HelpIcon, {
1203
+ children: showHelpIcon && /*#__PURE__*/jsxRuntime.jsx(icons.Help, {})
1204
+ })]
1205
+ }), endAction && /*#__PURE__*/jsxRuntime.jsx(EndActions, {
1206
+ children: endAction
1201
1207
  })]
1202
1208
  }));
1203
1209
  });