@phillips/seldon 1.54.2 → 1.55.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.
@@ -32,6 +32,7 @@
32
32
  @use 'components/HTMLParser/htmlParser';
33
33
  @use 'components/Dropdown/dropdown';
34
34
  @use 'components/Video/video';
35
+ @use 'components/Pagination/pagination';
35
36
  @use 'components/ContentPeek/contentPeek';
36
37
 
37
38
  // Patterns
@@ -31,7 +31,7 @@ $lg: #{$px}-input--lg;
31
31
  border-radius: 0.1875rem;
32
32
  font-size: 0.8125rem;
33
33
  margin-bottom: 0.25rem;
34
- padding: 0.5rem;
34
+ padding: $padding-xsm;
35
35
 
36
36
  // width: 100%;
37
37
  }
@@ -44,20 +44,6 @@ $lg: #{$px}-input--lg;
44
44
  overflow: hidden;
45
45
  }
46
46
 
47
- // Small input size
48
- &--sm {
49
- .#{$px}-input__input {
50
- padding: 0.25rem 0.5rem;
51
- }
52
- }
53
-
54
- // Large input size
55
- &--lg {
56
- .#{$px}-input__input {
57
- padding: 0.75rem 0.5rem;
58
- }
59
- }
60
-
61
47
  // Inline
62
48
  &--inline {
63
49
  align-items: center;
@@ -68,10 +54,6 @@ $lg: #{$px}-input--lg;
68
54
  align-self: center;
69
55
  width: unset;
70
56
  }
71
-
72
- .#{$px}-input__label {
73
- // max-width: 8.75rem;
74
- }
75
57
  }
76
58
 
77
59
  // Disabled
@@ -174,8 +156,11 @@ $lg: #{$px}-input--lg;
174
156
  }
175
157
  }
176
158
 
159
+ .#{$px}-select-input.#{$px}-input {
160
+ width: fit-content;
161
+ }
177
162
  .#{$px}-select-input .#{$px}-input__input {
178
- flex: 1;
163
+ width: fit-content;
179
164
  }
180
165
 
181
166
  @keyframes reveal {
@@ -0,0 +1,74 @@
1
+ @use '../../allPartials' as *;
2
+
3
+ .#{$px}-pagination {
4
+ display: flex;
5
+ flex-direction: row;
6
+ gap: $spacing-md;
7
+ }
8
+
9
+ .#{$px} {
10
+ &--inline-pagination__wrapper {
11
+ select {
12
+ @include pText($body-size2);
13
+
14
+ appearance: none;
15
+ border: none;
16
+ font-weight: 600;
17
+ line-height: 2.5rem;
18
+ margin-bottom: 0;
19
+ outline: none;
20
+ text-align: center;
21
+ text-decoration: underline;
22
+ text-underline-offset: 10px;
23
+
24
+ &:disabled {
25
+ border: 1px solid $medium-gray;
26
+ margin: auto;
27
+ max-height: 3.5rem;
28
+ max-width: 5rem;
29
+ padding: 0.5rem;
30
+ text-decoration: none;
31
+ }
32
+
33
+ &:hover {
34
+ cursor: pointer;
35
+ }
36
+
37
+ &:focus {
38
+ outline: 1px solid $medium-gray;
39
+ }
40
+ }
41
+
42
+ select::-ms-expand {
43
+ border: none;
44
+ display: none;
45
+ }
46
+ }
47
+ }
48
+
49
+ .#{$px}__pagination-button {
50
+ background: none;
51
+ flex-direction: row;
52
+ padding: 0;
53
+
54
+ svg {
55
+ width: 2rem;
56
+
57
+ @include media($size-md, $type: 'max') {
58
+ width: 1rem;
59
+ }
60
+ }
61
+
62
+ &:hover,
63
+ &:focus {
64
+ background: none;
65
+ }
66
+
67
+ &:disabled {
68
+ border: none;
69
+ }
70
+ }
71
+
72
+ .#{$px}-left-arrow {
73
+ transform: scaleX(-1);
74
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.54.2",
3
+ "version": "1.55.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"
@@ -50,6 +50,7 @@
50
50
  "classnames": "^2.5.1",
51
51
  "dompurify": "^3.1.6",
52
52
  "flatpickr": "^4.6.13",
53
+ "fresnel": "^1.1.1",
53
54
  "html-react-parser": "^5.1.12",
54
55
  "react-modal": "^3.16.1",
55
56
  "react-transition-group": "^4.4.5",