@drawbridge/components 0.1.39 → 0.1.40

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.
@@ -136,7 +136,7 @@ const SwitchRow = ({ description, lock, onChange, title, value }) => {
136
136
  "p",
137
137
  {
138
138
  ...{
139
- className: "text-xs text-gray-dark"
139
+ className: "text-sm text-gray-dark"
140
140
  },
141
141
  children: description
142
142
  }
@@ -102,7 +102,7 @@ const SwitchRow = ({ description, lock, onChange, title, value }) => {
102
102
  "p",
103
103
  {
104
104
  ...{
105
- className: "text-xs text-gray-dark"
105
+ className: "text-sm text-gray-dark"
106
106
  },
107
107
  children: description
108
108
  }
@@ -108,7 +108,7 @@ const CardTask = ({
108
108
  className: stack ? "break-word w-full space-y-1" : "break-word space-y-1"
109
109
  },
110
110
  children: [
111
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
111
+ (title || badge) && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
112
112
  badge && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
113
113
  import_badge.default,
114
114
  {
@@ -76,7 +76,7 @@ const CardTask = ({
76
76
  className: stack ? "break-word w-full space-y-1" : "break-word space-y-1"
77
77
  },
78
78
  children: [
79
- /* @__PURE__ */ jsxs("p", { children: [
79
+ (title || badge) && /* @__PURE__ */ jsxs("p", { children: [
80
80
  badge && /* @__PURE__ */ jsx(
81
81
  Badge,
82
82
  {
@@ -72,10 +72,9 @@ const orderCard = (campaign) => {
72
72
  return {
73
73
  button: {
74
74
  href: "/organizations/" + (campaign == null ? void 0 : campaign.organization) + "/campaigns/" + (campaign == null ? void 0 : campaign.id) + "/form",
75
- text: "Go to Order"
75
+ text: "Edit form"
76
76
  },
77
- message: "The giveaway cannot turn on while the form takes orders",
78
- title: "Turn off Order first",
77
+ message: "Giveaway cannot activate while the form accepts orders.",
79
78
  type: "warning"
80
79
  };
81
80
  };
@@ -45,10 +45,9 @@ const orderCard = (campaign) => {
45
45
  return {
46
46
  button: {
47
47
  href: "/organizations/" + (campaign == null ? void 0 : campaign.organization) + "/campaigns/" + (campaign == null ? void 0 : campaign.id) + "/form",
48
- text: "Go to Order"
48
+ text: "Edit form"
49
49
  },
50
- message: "The giveaway cannot turn on while the form takes orders",
51
- title: "Turn off Order first",
50
+ message: "Giveaway cannot activate while the form accepts orders.",
52
51
  type: "warning"
53
52
  };
54
53
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawbridge/components",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "exports": {
5
5
  "./advertisement": {
6
6
  "types": "./types/advertisement.d.ts",