@phillips/seldon 1.7.1 → 1.8.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.
Files changed (33) hide show
  1. package/dist/components/Button/Button.d.ts +13 -19
  2. package/dist/components/Button/Button.js +12 -18
  3. package/dist/components/Header/Header.js +15 -33
  4. package/dist/components/HeroBanner/HeroBanner.d.ts +6 -6
  5. package/dist/components/HeroBanner/HeroBanner.js +1 -9
  6. package/dist/components/Input/Input.js +59 -60
  7. package/dist/components/Select/Select.js +45 -48
  8. package/dist/components/ViewingsList/StatefulViewingsList.d.ts +27 -0
  9. package/dist/components/ViewingsList/StatefulViewingsList.js +33 -0
  10. package/dist/components/ViewingsList/ViewingsList.d.ts +60 -0
  11. package/dist/components/ViewingsList/ViewingsList.js +54 -0
  12. package/dist/components/ViewingsList/ViewingsListCard.d.ts +85 -0
  13. package/dist/components/ViewingsList/ViewingsListCard.js +162 -0
  14. package/dist/components/ViewingsList/ViewingsListCardForm.d.ts +131 -0
  15. package/dist/components/ViewingsList/ViewingsListCardForm.js +218 -0
  16. package/dist/index.d.ts +2 -0
  17. package/dist/index.js +17 -13
  18. package/dist/scss/_reset.scss +20 -5
  19. package/dist/scss/_typography.scss +22 -12
  20. package/dist/scss/_utils.scss +2 -2
  21. package/dist/scss/_vars.scss +1 -4
  22. package/dist/scss/components/Button/_button.scss +48 -6
  23. package/dist/scss/components/DatePicker/_datePicker.scss +3 -4
  24. package/dist/scss/components/Header/_header.scss +1 -1
  25. package/dist/scss/components/HeroBanner/_heroBanner.scss +81 -81
  26. package/dist/scss/components/Input/_input.scss +17 -5
  27. package/dist/scss/components/Toggle/_toggle.scss +26 -13
  28. package/dist/scss/components/ViewingsList/_viewingsList.scss +55 -0
  29. package/dist/scss/pages/_page.scss +1 -1
  30. package/dist/scss/styles.scss +2 -1
  31. package/dist/utils/index.d.ts +11 -1
  32. package/dist/utils/index.js +1 -15
  33. package/package.json +7 -4
@@ -1,17 +1,27 @@
1
1
  @import './vars';
2
2
 
3
3
  body {
4
- font-family: SeroWebPro,"Helvetica Neue",Helvetica,-apple-system,".SFNSText-Regular","San Francisco",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
5
- font-size: 16px;
6
- margin: 0;
7
- -webkit-font-smoothing: antialiased;
8
- -moz-osx-font-smoothing: grayscale;
9
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
10
- -webkit-overflow-scrolling: touch;
4
+ font-family:
5
+ SeroWebPro,
6
+ 'Helvetica Neue',
7
+ Helvetica,
8
+ -apple-system,
9
+ '.SFNSText-Regular',
10
+ 'San Francisco',
11
+ BlinkMacSystemFont,
12
+ 'Segoe UI',
13
+ 'Helvetica Neue',
14
+ Helvetica,
15
+ Arial,
16
+ sans-serif;
17
+ font-size: 16px;
18
+ margin: 0;
19
+ -webkit-font-smoothing: antialiased;
20
+ -moz-osx-font-smoothing: grayscale;
21
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
22
+ -webkit-overflow-scrolling: touch;
11
23
  }
12
24
 
13
-
14
-
15
25
  /** Fonts **/
16
26
  @font-face {
17
27
  font-family: 'DistinctDisplay';
@@ -50,13 +60,13 @@ body {
50
60
  }
51
61
 
52
62
  @mixin headerText {
53
- color: $primary-black;
54
63
  @include DistinctDisplay();
64
+ color: $primary-black;
65
+ font-weight: 400;
55
66
  }
56
67
 
57
68
  @mixin bodyText {
58
69
  color: $soft-black;
59
- @include DistinctText();
60
70
  }
61
71
 
62
72
  // @TODO: uncomment when site is able to be refactored
@@ -76,4 +86,4 @@ body {
76
86
  // button {
77
87
  // color: $soft-black;
78
88
  // @include DistinctText();
79
- // }
89
+ // }
@@ -5,7 +5,7 @@
5
5
  border: 0;
6
6
  margin: -1px;
7
7
  block-size: 1px;
8
- clip: rect(0,0,0,0);
8
+ clip-path: inset(100%);
9
9
  inline-size: 1px;
10
10
  visibility: inherit;
11
11
  white-space: nowrap;
@@ -35,4 +35,4 @@
35
35
  top: 50px;
36
36
  text-align: center;
37
37
  line-height: 1;
38
- }
38
+ }
@@ -1,8 +1,6 @@
1
-
2
1
  // prefix
3
2
  $px: phillips;
4
3
 
5
-
6
4
  // Primary color palette
7
5
  $pure-black: #000000;
8
6
  $primary-black: #323232;
@@ -32,7 +30,6 @@ $articker-red: #fc1e2b;
32
30
  $articker-orange: #ff8201;
33
31
  $articker-red-orange-gradient: linear-gradient(90deg, #fc1e2b, #ff8201);
34
32
 
35
-
36
33
  // Font-variables
37
34
  $DistinctDisplay: 'DistinctDisplay';
38
35
  $DistinctDisplayItalic: 'DistinctDisplayItalic';
@@ -43,4 +40,4 @@ $DistinctText: 'DistinctText';
43
40
  $header-color: $pure-black;
44
41
  $header-family: $DistinctDisplay;
45
42
  $text-color: $soft-black;
46
- $text-family: $DistinctText;
43
+ $text-family: $DistinctText;
@@ -1,4 +1,5 @@
1
1
  @import '../../vars';
2
+ @import '../../_utils';
2
3
 
3
4
  .#{$px}-button {
4
5
  @include bodyText;
@@ -12,17 +13,53 @@
12
13
  justify-content: center;
13
14
  min-width: 9rem;
14
15
  padding: 0.5em 1.75em;
15
- transition: color 0.25s, background-color 0.25s, font-weight 0.25s;
16
+ transition:
17
+ color 0.25s,
18
+ background-color 0.25s,
19
+ font-weight 0.25s;
16
20
 
17
21
  &:hover,
18
22
  &:focus {
19
- background-color: $soft-black;
23
+ background-color: $primary-black;
24
+
25
+ svg {
26
+ fill: $pure-white;
27
+ }
28
+ }
29
+ svg {
30
+ fill: $pure-white;
31
+ transition: fill 0.25s;
32
+ margin-inline-end: 0.5rem;
33
+ width: 1em;
20
34
  }
21
35
 
22
- &--secondary {
36
+ &--secondary,
37
+ &--ghost {
23
38
  color: $text-color;
24
39
  background-color: transparent;
25
- box-shadow: rgba(0, 0, 0, 0.5) 0 0 0 1px inset;
40
+ border: 1px solid;
41
+
42
+ &:hover,
43
+ &:focus {
44
+ color: $pure-white;
45
+
46
+ svg {
47
+ fill: $pure-white;
48
+ }
49
+ }
50
+
51
+ svg {
52
+ fill: $text-color;
53
+ }
54
+ }
55
+
56
+ &--ghost {
57
+ border-color: transparent;
58
+ }
59
+
60
+ &.#{$px}-button--icon-last svg {
61
+ margin-inline-end: unset;
62
+ margin-inline-start: 0.5rem;
26
63
  }
27
64
 
28
65
  &--sm {
@@ -39,8 +76,13 @@
39
76
  }
40
77
 
41
78
  * {
42
- margin: 0
79
+ margin: 0;
43
80
  }
44
-
45
81
  }
46
82
 
83
+ .#{$px}-button__group {
84
+ display: flex;
85
+ gap: 0.25rem;
86
+ justify-content: center;
87
+ width: 100%;
88
+ }
@@ -2,7 +2,6 @@
2
2
  @import '../../vars';
3
3
  @import '../../typography';
4
4
 
5
-
6
5
  .flatpickr-calendar {
7
6
  @include DistinctText;
8
7
 
@@ -67,9 +66,9 @@
67
66
  padding: 0.65rem 0 0 0;
68
67
  }
69
68
 
70
- .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
71
- .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
72
- .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
69
+ .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n + 1)),
70
+ .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n + 1)),
71
+ .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n + 1)) {
73
72
  -webkit-box-shadow: -10px 0 0 #e6e6e6;
74
73
  box-shadow: -10px 0 0 #e6e6e6;
75
74
  }
@@ -1,5 +1,5 @@
1
1
  .storybook-header {
2
- font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
2
+ font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
3
3
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
4
4
  padding: 15px 20px;
5
5
  display: flex;
@@ -1,101 +1,101 @@
1
1
  @import '../../vars';
2
2
 
3
3
  .#{$px}-hero-banner {
4
- align-items: center;
5
- background: var(--background);
6
- background-repeat: no-repeat;
7
- background-size: cover;
8
- background-position: center center;
9
- display: flex;
10
- flex-flow: column;
11
- justify-content: center;
12
- min-height: 25rem;
13
- padding: 1rem;
14
- width: 100%;
4
+ align-items: center;
5
+ background: var(--background);
6
+ background-repeat: no-repeat;
7
+ background-size: cover;
8
+ background-position: center center;
9
+ display: flex;
10
+ flex-flow: column;
11
+ justify-content: center;
12
+ min-height: 25rem;
13
+ padding: 1rem;
14
+ width: 100%;
15
15
 
16
- @media (max-width: 28.8125rem) {
17
- flex-direction: column;
18
- align-items: center;
19
- gap: 1.875rem;
20
- align-self: stretch;
21
- padding: 1.875rem 0.9375rem;
22
- background: $pure-black;
16
+ @media (max-width: 28.8125rem) {
17
+ flex-direction: column;
18
+ align-items: center;
19
+ gap: 1.875rem;
20
+ align-self: stretch;
21
+ padding: 1.875rem 0.9375rem;
22
+ background: $pure-black;
23
23
 
24
- &::before{
25
- content: '';
26
- background: var(--background);
27
- width: 100%;
28
- height: 12rem;
29
- background-size: cover;
30
- background-repeat: no-repeat;
31
- background-position: center center;
32
- }
24
+ &::before {
25
+ content: '';
26
+ background: var(--background);
27
+ width: 100%;
28
+ height: 12rem;
29
+ background-size: cover;
30
+ background-repeat: no-repeat;
31
+ background-position: center center;
33
32
  }
33
+ }
34
34
 
35
- h1 {
36
- font-family: 'DistinctDisplay', sans-serif;
37
- }
35
+ h1 {
36
+ font-family: 'DistinctDisplay', sans-serif;
37
+ }
38
38
 
39
- h1 span,
40
- p {
41
- font-family: 'DistinctText', sans-serif;
42
- }
39
+ h1 span,
40
+ p {
41
+ font-family: 'DistinctText', sans-serif;
42
+ }
43
43
 
44
- h1,
45
- h1 span,
46
- p {
47
- color: $pure-white;
48
- font-weight: 400;
49
- margin: 0;
50
- text-transform: uppercase;
51
- }
44
+ h1,
45
+ h1 span,
46
+ p {
47
+ color: $pure-white;
48
+ font-weight: 400;
49
+ margin: 0;
50
+ text-transform: uppercase;
51
+ }
52
52
 
53
- p {
54
- font-size: 0.875rem;
55
- line-height: 1;
56
- letter-spacing: 0.125rem;
57
- text-align: center;
58
- }
53
+ p {
54
+ font-size: 0.875rem;
55
+ line-height: 1;
56
+ letter-spacing: 0.125rem;
57
+ text-align: center;
58
+ }
59
59
 
60
- & .#{$px}-hero-banner__content-wrapper {
61
- max-width: 1082px;
62
- display: flex;
63
- flex-direction: column;
64
- align-items: center;
65
- }
60
+ & .#{$px}-hero-banner__content-wrapper {
61
+ max-width: 1082px;
62
+ display: flex;
63
+ flex-direction: column;
64
+ align-items: center;
65
+ }
66
66
 
67
- & .#{$px}-hero-banner__pre-head {
68
- align-items: flex-start;
69
- display: flex;
70
- font-size: 0.75rem;
71
- gap: 1.875rem;
67
+ & .#{$px}-hero-banner__pre-head {
68
+ align-items: flex-start;
69
+ display: flex;
70
+ font-size: 0.75rem;
71
+ gap: 1.875rem;
72
72
 
73
- @media (min-width: 28.8125rem) {
74
- font-size: 0.875rem;
75
- }
73
+ @media (min-width: 28.8125rem) {
74
+ font-size: 0.875rem;
75
+ }
76
76
 
77
- @media (max-width: 28.8125rem) {
78
- flex-direction: column;
79
- gap: 1rem;
80
- align-items: center;
81
- }
77
+ @media (max-width: 28.8125rem) {
78
+ flex-direction: column;
79
+ gap: 1rem;
80
+ align-items: center;
82
81
  }
82
+ }
83
83
 
84
- & .#{$px}-hero-banner__heading {
85
- align-self: stretch;
86
- display: flex;
87
- flex-direction: column;
88
- font-size: 2rem;
89
- line-height: 1;
90
- margin: 1.875rem 0;
91
- text-align: center;
84
+ & .#{$px}-hero-banner__heading {
85
+ align-self: stretch;
86
+ display: flex;
87
+ flex-direction: column;
88
+ font-size: 2rem;
89
+ line-height: 1;
90
+ margin: 1.875rem 0;
91
+ text-align: center;
92
92
 
93
- @media (min-width: 28.8125rem) {
94
- font-size: 2.375rem;
95
- }
93
+ @media (min-width: 28.8125rem) {
94
+ font-size: 2.375rem;
95
+ }
96
96
 
97
- span {
98
- font-size: 1.625rem;
99
- }
97
+ span {
98
+ font-size: 1.625rem;
100
99
  }
100
+ }
101
101
  }
@@ -8,9 +8,19 @@ $lg: #{$px}-input--lg;
8
8
  .#{$px}-input {
9
9
  display: flex;
10
10
  flex-direction: column;
11
+ width: 100%;
12
+
13
+ &--hidden {
14
+ @include hidden();
15
+ }
11
16
 
12
17
  &__label {
18
+ color: $keyline-gray;
19
+ font-size: 0.8125rem;
20
+ font-weight: 600;
13
21
  margin-bottom: 0.5rem;
22
+ text-transform: uppercase;
23
+ word-break: break-word;
14
24
 
15
25
  &--hidden {
16
26
  @include hidden();
@@ -18,8 +28,10 @@ $lg: #{$px}-input--lg;
18
28
  }
19
29
 
20
30
  &__input {
21
- accent-color: $pure-black;
22
- border: 3px solid currentColor;
31
+ accent-color: $soft-black;
32
+ border: 1px solid $keyline-gray;
33
+ border-radius: 0.1875rem;
34
+ font-size: 0.8125rem;
23
35
  margin-bottom: 0.5rem;
24
36
  padding: 0.5rem;
25
37
  // width: 100%;
@@ -60,7 +72,7 @@ $lg: #{$px}-input--lg;
60
72
  }
61
73
 
62
74
  .#{$px}-input__label {
63
- max-width: 8.75rem;
75
+ // max-width: 8.75rem;
64
76
  }
65
77
  }
66
78
 
@@ -129,7 +141,7 @@ $lg: #{$px}-input--lg;
129
141
 
130
142
  .#{$px}-input--inline.#{$px}-radio-input,
131
143
  .#{$px}-input--inline.#{$px}-checkbox-input,
132
- .#{$px}-input--inline.#{$px}-toggle-input {
144
+ .#{$px}-input--inline.#{$px}-toggle-input {
133
145
  flex-direction: row-reverse;
134
146
  justify-content: flex-end;
135
147
  position: relative;
@@ -142,7 +154,7 @@ $lg: #{$px}-input--lg;
142
154
  .#{$px}-input__validation {
143
155
  left: 0;
144
156
  position: absolute;
145
- top: 0
157
+ top: 0;
146
158
  }
147
159
  }
148
160
 
@@ -28,19 +28,23 @@ $lg: #{$px}-input--lg;
28
28
  }
29
29
 
30
30
  &::before {
31
- background-color: rgba(0,0,0, .4);
31
+ background-color: rgba(0, 0, 0, 0.4);
32
32
  border-radius: 1rem;
33
33
  width: $toggleBaseWidth;
34
34
  height: 1rem;
35
35
  left: 0;
36
- transition: background-color 0.25s, color 0.25s;
36
+ transition:
37
+ background-color 0.25s,
38
+ color 0.25s;
37
39
  }
38
40
 
39
41
  &::after {
40
42
  // background-color: transparent;
41
- background: #fff linear-gradient(transparent,rgba($pure-black, 0.05));
43
+ background: #fff linear-gradient(transparent, rgba($pure-black, 0.05));
42
44
  border-radius: 50%;
43
- box-shadow: 0 1px 2px 0 rgba($pure-black,.15), 0 0 0 1px rgba($pure-black,.15) inset;
45
+ box-shadow:
46
+ 0 1px 2px 0 rgba($pure-black, 0.15),
47
+ 0 0 0 1px rgba($pure-black, 0.15) inset;
44
48
  color: white;
45
49
  height: 1rem;
46
50
  left: 0;
@@ -51,7 +55,6 @@ $lg: #{$px}-input--lg;
51
55
  }
52
56
 
53
57
  &.#{$inline} {
54
-
55
58
  .#{$px}-input__label {
56
59
  margin-bottom: 0.5rem;
57
60
  margin-left: 66px;
@@ -82,7 +85,6 @@ $lg: #{$px}-input--lg;
82
85
  padding-top: 2rem;
83
86
  }
84
87
 
85
-
86
88
  // Height changes
87
89
  &.#{$md},
88
90
  &.#{$lg} {
@@ -140,24 +142,24 @@ $lg: #{$px}-input--lg;
140
142
 
141
143
  // When in checked state
142
144
  &:has(input:checked) {
143
-
144
145
  .#{$px}-input__label {
145
146
  &::before {
146
147
  background-color: $pure-black;
147
148
  }
148
149
 
149
150
  &::after {
150
- transform: translate($toggleBaseWidth - 1rem, 0)
151
+ transform: translate($toggleBaseWidth - 1rem, 0);
151
152
  }
152
153
  }
153
154
 
154
155
  &.#{$md} .#{$px}-input__label::after,
155
156
  &.#{$lg} .#{$px}-input__label::after {
156
- transform: translate($toggleBaseWidth - 1.5rem, 0)
157
+ transform: translate($toggleBaseWidth - 1.5rem, 0);
157
158
  }
158
159
 
159
-
160
- &.#{$inline} .#{$px}-input__label::after { transform: translate($toggleBaseWidth - 1rem, -50%); }
160
+ &.#{$inline} .#{$px}-input__label::after {
161
+ transform: translate($toggleBaseWidth - 1rem, -50%);
162
+ }
161
163
 
162
164
  &.#{$md}.#{$inline} .#{$px}-input__label::after,
163
165
  &.#{$lg}.#{$inline} .#{$px}-input__label::after {
@@ -165,10 +167,14 @@ $lg: #{$px}-input--lg;
165
167
  }
166
168
 
167
169
  // Error state checked
168
- &.#{$invalid} .#{$px}-input__label::before { background-color: $error-red; }
170
+ &.#{$invalid} .#{$px}-input__label::before {
171
+ background-color: $error-red;
172
+ }
169
173
 
170
174
  // warn state checked
171
- &.#{$warn} .#{$px}-input__label::before { background-color: $warn-yellow; }
175
+ &.#{$warn} .#{$px}-input__label::before {
176
+ background-color: $warn-yellow;
177
+ }
172
178
  }
173
179
  &.#{$warn} {
174
180
  &.#{$md},
@@ -176,4 +182,11 @@ $lg: #{$px}-input--lg;
176
182
  padding-top: 3.5rem;
177
183
  }
178
184
  }
185
+
186
+ &:has(.#{$px}-input__input:focus) label:before {
187
+ outline: 2px solid AccentColor;
188
+ outline: 2px solid Highlight;
189
+ outline: 2px solid -webkit-focus-ring-color;
190
+ outline-offset: 1px;
191
+ }
179
192
  }
@@ -0,0 +1,55 @@
1
+ @import '../../vars';
2
+ @import '../../_utils';
3
+ @import '../../typography';
4
+
5
+ .#{$px}-viewings-list {
6
+ align-items: center;
7
+ background-color: $off-white;
8
+ display: flex;
9
+ flex-direction: column;
10
+ gap: 2.5rem;
11
+ padding: 1rem;
12
+ width: 38rem;
13
+
14
+ &__title {
15
+ @include headerText;
16
+ }
17
+ }
18
+
19
+ // viewings-list-card-form
20
+ .#{$px}-viewings-list-card {
21
+ align-items: flex-start;
22
+ background-color: $pure-white;
23
+ border: 1px solid;
24
+ display: flex;
25
+ flex-direction: column;
26
+ gap: 1.5rem;
27
+ max-width: 34rem;
28
+ padding: 2rem;
29
+ width: 100%;
30
+
31
+ &__title {
32
+ @include headerText;
33
+ color: $soft-black;
34
+ }
35
+
36
+ &__location {
37
+ font-size: 1.25rem;
38
+ }
39
+
40
+ &-form__preview-set {
41
+ display: flex;
42
+ flex-direction: column;
43
+ gap: 2rem;
44
+ padding-inline-start: 1rem;
45
+ width: 100%;
46
+
47
+ &--hidden {
48
+ @include hidden;
49
+ }
50
+ }
51
+
52
+ hr {
53
+ width: 100%;
54
+ }
55
+ }
@@ -1,5 +1,5 @@
1
1
  .storybook-page {
2
- font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
2
+ font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
3
3
  font-size: 14px;
4
4
  line-height: 24px;
5
5
  padding: 48px 20px;
@@ -10,5 +10,6 @@
10
10
  @import 'components/HeroBanner/heroBanner';
11
11
  @import 'components/Input/input';
12
12
  @import 'components/Toggle/toggle';
13
+ @import 'components/ViewingsList/viewingsList';
13
14
  // 📑 Pages
14
- @import 'pages/page';
15
+ @import 'pages/page';
@@ -1,6 +1,16 @@
1
1
  import * as React from 'react';
2
2
  export declare const px = "phillips";
3
- export declare const noOP: () => void;
3
+ export declare const noOp: () => void;
4
+ export interface CommonProps {
5
+ /**
6
+ * Optional className to be applied to the outer most element
7
+ */
8
+ className?: string;
9
+ /**
10
+ * A custom `id`
11
+ */
12
+ id?: string;
13
+ }
4
14
  export interface InputProps {
5
15
  /**
6
16
  * Specify whether the `<input>` should be disabled
@@ -19,21 +19,7 @@ function c({
19
19
  warnId: `${r}-warn-msg`,
20
20
  validation: null
21
21
  };
22
- return i.invalid && (i.validation = /* @__PURE__ */ s(
23
- "div",
24
- {
25
- className: `${n}-input__validation ${n}-${a}-input--invalid`,
26
- id: i.invalidId,
27
- children: t
28
- }
29
- )), i.warn && (i.validation = /* @__PURE__ */ s(
30
- "div",
31
- {
32
- className: `${n}-input__validation ${n}-${a}-input--warn`,
33
- id: i.warnId,
34
- children: e
35
- }
36
- )), i;
22
+ return i.invalid && (i.validation = /* @__PURE__ */ s("div", { className: `${n}-input__validation ${n}-${a}-input--invalid`, id: i.invalidId, children: t })), i.warn && (i.validation = /* @__PURE__ */ s("div", { className: `${n}-input__validation ${n}-${a}-input--warn`, id: i.warnId, children: e })), i;
37
23
  }
38
24
  export {
39
25
  n as px,