orcs-design-system 2.0.71 → 2.0.72

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.
@@ -13,18 +13,18 @@ var TagWrapper = styled.div.withConfig({
13
13
  var TagValue = styled.button.withConfig({
14
14
  displayName: "Tag__TagValue",
15
15
  componentId: "sc-1dh2aa8-1"
16
- })(["-moz-appearance:none;-webkit-appearance:none;appearance:none;box-shadow:none;font-family:\"Open Sans\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;display:flex;align-items:center;flex-wrap:nowrap;font-size:1.4rem;font-weight:600;white-space:nowrap;position:relative;z-index:1;transition:", ";cursor:", ";border-radius:", ";border:solid 1px ", ";padding:", ";background-color:", ";color:", ";", " &:focus{outline:0;z-index:2;box-shadow:", ";}"], themeGet("transition.transitionDefault"), function (props) {
16
+ })(["-moz-appearance:none;-webkit-appearance:none;appearance:none;box-shadow:none;font-family:\"Open Sans\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;display:flex;align-items:center;flex-wrap:nowrap;font-size:1.3rem;font-weight:600;white-space:nowrap;position:relative;z-index:1;transition:", ";cursor:", ";border-radius:", ";border:solid 1px ", ";padding:", ";background-color:", ";color:", ";", " &:focus{outline:0;z-index:2;box-shadow:", ";}"], themeGet("transition.transitionDefault"), function (props) {
17
17
  return props.disabled ? "default" : "pointer";
18
18
  }, function (props) {
19
19
  return props.showEdit || props.showRemove ? "15px 0 0 15px" : "15px";
20
20
  }, function (props) {
21
- return props.disabled ? themeGet("colors.greyDark") : themeGet("colors.primary");
21
+ return props.disabled ? themeGet("colors.greyLight") : themeGet("colors.primary");
22
22
  }, function (props) {
23
- return props.showEdit || props.showRemove ? "3px 6px 4px 12px" : "3px 12px 4px 12px";
23
+ return props.showEdit || props.showRemove ? "3px 4px 4px 10px" : "3px 10px 4px 10px";
24
24
  }, function (props) {
25
- return props.selected ? themeGet("colors.primary") : props.disabled ? themeGet("colors.greyDark") : themeGet("colors.white");
25
+ return props.selected ? themeGet("colors.primary") : props.disabled ? themeGet("colors.greyLighter") : themeGet("colors.white");
26
26
  }, function (props) {
27
- return props.selected ? themeGet("colors.white") : props.disabled ? themeGet("colors.white") : themeGet("colors.primary");
27
+ return props.selected ? themeGet("colors.white") : props.disabled ? themeGet("colors.greyDarker") : themeGet("colors.primary");
28
28
  }, function (props) {
29
29
  return props.disabled ? css([""]) : css(["&:hover{border:solid 1px ", ";color:", ";background-color:", ";div{color:", ";}}"], themeGet("colors.primaryDark"), function (props) {
30
30
  return props.selected ? themeGet("colors.white") : themeGet("colors.primaryDark");
@@ -39,8 +39,10 @@ var TagValue = styled.button.withConfig({
39
39
  var TagEdit = styled(TagValue).withConfig({
40
40
  displayName: "Tag__TagEdit",
41
41
  componentId: "sc-1dh2aa8-2"
42
- })(["border-radius:", ";padding:2px 10px 5px 10px;&:focus{z-index:2;box-shadow:-0.5px 0 0 3.5px ", ";}", ""], function (props) {
42
+ })(["border-radius:", ";padding:", ";&:focus{z-index:2;box-shadow:-0.5px 0 0 3.5px ", ";}", ""], function (props) {
43
43
  return props.showRemove ? "0" : "0 15px 15px 0";
44
+ }, function (props) {
45
+ return props.showRemove ? "2px 7px 5px 7px" : "2px 8px 5px 8px";
44
46
  }, themeGet("colors.primary30"), function (props) {
45
47
  return props.selected ? css(["border-left:solid 1px ", ";&:hover{border-left:solid 1px ", ";}&:focus{box-shadow:", ";}"], themeGet("colors.primaryDark"), themeGet("colors.primaryDark"), function (props) {
46
48
  return themeGet("shadows.thinOutline")(props) + " " + themeGet("colors.primary30")(props);
@@ -49,7 +51,7 @@ var TagEdit = styled(TagValue).withConfig({
49
51
  var TagRemove = styled(TagValue).withConfig({
50
52
  displayName: "Tag__TagRemove",
51
53
  componentId: "sc-1dh2aa8-3"
52
- })(["border-radius:0 15px 15px 0;padding:2px 12px 5px 12px;&:focus{z-index:2;box-shadow:-0.5px 0 0 3.5px ", ";}", ""], themeGet("colors.primary30"), function (props) {
54
+ })(["border-radius:0 15px 15px 0;padding:2px 10px 5px 9px;&:focus{z-index:2;box-shadow:-0.5px 0 0 3.5px ", ";}", ""], themeGet("colors.primary30"), function (props) {
53
55
  return props.selected ? css(["border-left:solid 1px ", ";&:hover{border-left:solid 1px ", ";}&:focus{box-shadow:", ";}"], themeGet("colors.primaryDark"), themeGet("colors.primaryDark"), function (props) {
54
56
  return themeGet("shadows.thinOutline")(props) + " " + themeGet("colors.primary30")(props);
55
57
  }) : css(["border-left:0;&:hover{border-left:0;}"]);
@@ -57,8 +59,8 @@ var TagRemove = styled(TagValue).withConfig({
57
59
  var TagType = styled.div.withConfig({
58
60
  displayName: "Tag__TagType",
59
61
  componentId: "sc-1dh2aa8-4"
60
- })(["text-transform:uppercase;margin-left:", ";padding:3px;line-height:1;border-radius:", ";font-size:", ";background-color:", ";color:", ";"], themeGet("space.s"), themeGet("radii.1"), themeGet("fontSizes.0"), function (props) {
61
- return props.selected ? themeGet("colors.primaryDark") : props.disabled ? themeGet("colors.greyDarker") : themeGet("colors.primaryLightest");
62
+ })(["text-transform:uppercase;margin-left:", ";padding:3px;font-size:1.2rem;line-height:1;border-radius:", ";font-size:", ";background-color:", ";color:", ";"], themeGet("space.s"), themeGet("radii.1"), themeGet("fontSizes.0"), function (props) {
63
+ return props.selected ? themeGet("colors.primaryDark") : props.disabled ? themeGet("colors.grey") : themeGet("colors.primaryLightest");
62
64
  }, function (props) {
63
65
  return props.selected ? themeGet("colors.white") : props.disabled ? themeGet("colors.white") : themeGet("colors.primary");
64
66
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orcs-design-system",
3
- "version": "2.0.71",
3
+ "version": "2.0.72",
4
4
  "description": "Orchestrated's Design System, aka: ORCS",
5
5
  "keywords": [
6
6
  "design",