@phillips/seldon 1.48.0 → 1.49.0

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.
@@ -1,5 +1,5 @@
1
1
  import * as e from "react";
2
- const t = (l) => /* @__PURE__ */ e.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.28261 7.93223C8.72892 7.48592 9.44554 7.47892 9.88322 7.9166L24.1481 22.1814C24.5857 22.6191 24.5787 23.3357 24.1324 23.782C23.6861 24.2284 22.9695 24.2354 22.5318 23.7977L8.26698 9.53285C7.8293 9.09517 7.8363 8.37855 8.28261 7.93223Z", fill: "#323232" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M24.1324 7.93222C24.5787 8.37854 24.5857 9.09515 24.148 9.53283L9.8832 23.7977C9.44552 24.2353 8.7289 24.2284 8.28259 23.782C7.83627 23.3357 7.82928 22.6191 8.26696 22.1814L22.5318 7.91659C22.9695 7.47891 23.6861 7.48591 24.1324 7.93222Z", fill: "#323232" }));
2
+ const t = (l) => /* @__PURE__ */ e.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.28261 7.93223C8.72892 7.48592 9.44554 7.47892 9.88322 7.9166L24.1481 22.1814C24.5857 22.6191 24.5787 23.3357 24.1324 23.782C23.6861 24.2284 22.9695 24.2354 22.5318 23.7977L8.26698 9.53285C7.8293 9.09517 7.8363 8.37855 8.28261 7.93223Z", fill: "#000" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M24.1324 7.93222C24.5787 8.37854 24.5857 9.09515 24.148 9.53283L9.8832 23.7977C9.44552 24.2353 8.7289 24.2284 8.28259 23.782C7.83627 23.3357 7.82928 22.6191 8.26696 22.1814L22.5318 7.91659C22.9695 7.47891 23.6861 7.48591 24.1324 7.93222Z", fill: "#000" }));
3
3
  export {
4
4
  t as default
5
5
  };
@@ -5,11 +5,11 @@ import L from "../Input/Input.js";
5
5
  import S from "../Button/Button.js";
6
6
  import { SubscriptionState as o } from "./types.js";
7
7
  import { ButtonVariants as T } from "../Button/types.js";
8
- const z = ({
9
- blurb: s,
10
- buttonText: t = "Sign Up",
8
+ const Y = ({
9
+ blurb: a,
10
+ buttonText: m = "Sign Up",
11
11
  buttonProps: c,
12
- className: a,
12
+ className: s,
13
13
  element: d = "form",
14
14
  inputLabelText: u = "Enter Your Email Address To Sign Up*",
15
15
  inputPlaceholder: p = "example@email.com",
@@ -27,10 +27,10 @@ const z = ({
27
27
  success: v,
28
28
  loading: g,
29
29
  error: h
30
- }, m = e !== o.Default ? E[e] : "", P = $ || y, A = N || b;
31
- return /* @__PURE__ */ B(d, { ...x, className: C(r, a), noValidate: !0, ...l, children: [
30
+ }, t = e !== o.Default ? E[e] : "", P = $ || y, A = N || b;
31
+ return /* @__PURE__ */ B(d, { ...x, className: C(r, s), noValidate: !0, ...l, children: [
32
32
  /* @__PURE__ */ n("h3", { className: `${r}__title`, children: f }),
33
- s ? /* @__PURE__ */ n("p", { className: `${r}__blurb`, children: s }) : null,
33
+ a ? /* @__PURE__ */ n("p", { className: `${r}__blurb`, children: a }) : null,
34
34
  /* @__PURE__ */ n(
35
35
  L,
36
36
  {
@@ -40,26 +40,25 @@ const z = ({
40
40
  placeholder: p,
41
41
  labelText: u,
42
42
  invalid: A,
43
- invalidText: m,
43
+ invalidText: t,
44
44
  warn: P,
45
- warnText: m,
45
+ warnText: t,
46
46
  required: !0
47
47
  }
48
48
  ),
49
49
  /* @__PURE__ */ n(
50
50
  S,
51
51
  {
52
- className: `${r}__button ${a}`,
52
+ className: `${r}__button ${s}`,
53
53
  variant: T.secondary,
54
- size: "sm",
55
54
  type: "submit",
56
55
  ...c,
57
- children: t
56
+ children: m
58
57
  }
59
58
  ),
60
59
  i ? /* @__PURE__ */ n("p", { className: `${r}__privacy`, children: i }) : null
61
60
  ] });
62
61
  };
63
62
  export {
64
- z as default
63
+ Y as default
65
64
  };
@@ -7,7 +7,7 @@
7
7
  flex-direction: column;
8
8
  height: 100vh;
9
9
  max-width: 600px;
10
- padding: $padding-md;
10
+ padding: $padding-xl $padding-md $padding-md;
11
11
  position: fixed;
12
12
  right: 0;
13
13
  top: 0;
@@ -30,7 +30,7 @@ $lg: #{$px}-input--lg;
30
30
  border: 1px solid $keyline-gray;
31
31
  border-radius: 0.1875rem;
32
32
  font-size: 0.8125rem;
33
- margin-bottom: 0.5rem;
33
+ margin-bottom: 0.25rem;
34
34
  padding: 0.5rem;
35
35
 
36
36
  // width: 100%;
@@ -128,7 +128,6 @@ $lg: #{$px}-input--lg;
128
128
 
129
129
  .#{$px}-input__validation {
130
130
  animation: reveal 0.45s linear forwards;
131
- padding-bottom: 0.5rem;
132
131
  }
133
132
  }
134
133
 
@@ -11,7 +11,7 @@
11
11
  }
12
12
 
13
13
  &__blurb {
14
- @include text($body2);
14
+ @include text($body1);
15
15
 
16
16
  color: $pure-black;
17
17
  }
@@ -21,23 +21,12 @@
21
21
  }
22
22
 
23
23
  &__button {
24
- margin: $spacing-sm 0 $spacing-md;
24
+ margin: 0.25rem 0 $spacing-sm;
25
+ max-width: 240px;
25
26
  width: 100%;
26
-
27
- @include media($size-md) {
28
- width: 240px;
29
- }
30
27
  }
31
28
 
32
29
  &__privacy {
33
30
  @include text($body3);
34
-
35
- color: $pure-black;
36
- font-size: 0.75rem;
37
- margin-top: $spacing-sm;
38
-
39
- @include media($size-md) {
40
- margin-top: $spacing-xl;
41
- }
42
31
  }
43
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.48.0",
3
+ "version": "1.49.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"