@phillips/seldon 1.17.5 → 1.19.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.
- package/README.md +2 -32
- package/dist/components/Button/Button.d.ts +8 -5
- package/dist/components/Button/Button.js +24 -9
- package/dist/components/Footer/Footer.d.ts +20 -0
- package/dist/components/Footer/Footer.js +18 -0
- package/dist/components/Grid/Grid.d.ts +3 -5
- package/dist/components/Grid/Grid.js +12 -13
- package/dist/components/Link/Link.d.ts +44 -0
- package/dist/components/Link/Link.js +40 -0
- package/dist/components/Link/utils.d.ts +3 -0
- package/dist/components/Link/utils.js +8 -0
- package/dist/components/LinkBlock/LinkBlock.d.ts +17 -0
- package/dist/components/LinkBlock/LinkBlock.js +14 -0
- package/dist/components/LinkList/LinkList.d.ts +15 -0
- package/dist/components/LinkList/LinkList.js +15 -0
- package/dist/components/Social/Social.d.ts +15 -0
- package/dist/components/Social/Social.js +10 -0
- package/dist/components/SplitPanel/SplitPanel.d.ts +19 -0
- package/dist/components/SplitPanel/SplitPanel.js +23 -0
- package/dist/components/Subscribe/Subscribe.d.ts +40 -0
- package/dist/components/Subscribe/Subscribe.js +42 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +30 -16
- package/dist/scss/_reset.scss +14 -0
- package/dist/scss/_type.scss +6 -1
- package/dist/scss/_typography.scss +3 -0
- package/dist/scss/_utils.scss +41 -10
- package/dist/scss/_vars.scss +15 -2
- package/dist/scss/components/Button/_button.scss +4 -3
- package/dist/scss/components/Footer/_footer.scss +96 -0
- package/dist/scss/components/Grid/_grid.scss +1 -1
- package/dist/scss/components/Input/_input.scss +1 -1
- package/dist/scss/components/Link/_link.scss +34 -0
- package/dist/scss/components/LinkBlock/_linkBlock.scss +14 -0
- package/dist/scss/components/LinkList/_linkList.scss +11 -0
- package/dist/scss/components/Social/_social.scss +40 -0
- package/dist/scss/components/SplitPanel/_splitPanel.scss +39 -0
- package/dist/scss/components/SplitPanel/_splitPanel.stories.scss +18 -0
- package/dist/scss/components/Subscribe/_subscribe.scss +37 -0
- package/dist/scss/components/Toggle/_toggle.scss +1 -1
- package/dist/scss/components/ViewingsList/_viewingsList.scss +1 -1
- package/dist/scss/styles.scss +9 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +15 -13
- package/package.json +21 -21
package/dist/scss/_utils.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import './vars';
|
|
2
|
+
|
|
1
3
|
@mixin hidden {
|
|
2
4
|
block-size: 1px;
|
|
3
5
|
border: 0;
|
|
@@ -37,10 +39,26 @@
|
|
|
37
39
|
width: 2rem;
|
|
38
40
|
}
|
|
39
41
|
|
|
40
|
-
@mixin
|
|
42
|
+
@mixin gridMargins {
|
|
43
|
+
margin: 0 $spacing-medium;
|
|
44
|
+
|
|
45
|
+
@media (min-width: $breakpoint3) {
|
|
46
|
+
margin: 0 $spacing-large;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media (min-width: $breakpoint4) {
|
|
50
|
+
margin: 0 $spacing-xl;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@mixin grid($columns: 2, $margins-on: true) {
|
|
41
55
|
display: grid;
|
|
42
56
|
gap: $spacing-medium;
|
|
43
57
|
grid-template-columns: repeat($columns, 1fr);
|
|
58
|
+
|
|
59
|
+
@if $margins-on {
|
|
60
|
+
@include gridMargins;
|
|
61
|
+
}
|
|
44
62
|
}
|
|
45
63
|
|
|
46
64
|
@mixin gridContainer($margins-on: true) {
|
|
@@ -48,25 +66,38 @@
|
|
|
48
66
|
gap: $spacing-medium;
|
|
49
67
|
grid-template-columns: repeat(2, 1fr);
|
|
50
68
|
|
|
51
|
-
@if $margins-on {
|
|
52
|
-
margin: 0 $spacing-medium;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
69
|
@media (min-width: $breakpoint2) {
|
|
56
70
|
grid-template-columns: repeat(4, 1fr);
|
|
57
71
|
}
|
|
58
72
|
|
|
59
73
|
@media (min-width: $breakpoint3) {
|
|
60
74
|
grid-template-columns: repeat(12, 1fr);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@if $margins-on {
|
|
78
|
+
@include gridMargins;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
61
81
|
|
|
62
|
-
|
|
63
|
-
|
|
82
|
+
@mixin media($breakpoint) {
|
|
83
|
+
@if $breakpoint == $breakpoint-sm {
|
|
84
|
+
// $breakpoint2: 961px;
|
|
85
|
+
@media (min-width: $breakpoint2) {
|
|
86
|
+
@content;
|
|
64
87
|
}
|
|
65
88
|
}
|
|
66
89
|
|
|
67
|
-
@
|
|
68
|
-
|
|
69
|
-
|
|
90
|
+
@if $breakpoint == $breakpoint-md {
|
|
91
|
+
// $breakpoint3: 1401px;
|
|
92
|
+
@media (min-width: $breakpoint3) {
|
|
93
|
+
@content;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@if $breakpoint == $breakpoint-lg {
|
|
98
|
+
// $breakpoint4: 1801px;
|
|
99
|
+
@media (min-width: $breakpoint4) {
|
|
100
|
+
@content;
|
|
70
101
|
}
|
|
71
102
|
}
|
|
72
103
|
}
|
package/dist/scss/_vars.scss
CHANGED
|
@@ -118,7 +118,7 @@ $body3: 'body3';
|
|
|
118
118
|
--label-size3: 0.56rem;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
@media (width >=
|
|
121
|
+
@media (width >= 1801px) {
|
|
122
122
|
--heading-size0: 4.06rem;
|
|
123
123
|
--heading-size1: 3.05rem;
|
|
124
124
|
--heading-size2: 2.44rem;
|
|
@@ -179,7 +179,7 @@ $text-badge-label-size: var(--label-size3);
|
|
|
179
179
|
--spacing-xl: 4.8rem;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
@media (width >=
|
|
182
|
+
@media (width >= 1801px) {
|
|
183
183
|
--spacing-micro: 0.31rem;
|
|
184
184
|
--spacing-xsm: 0.63rem;
|
|
185
185
|
--spacing-small: 1.25rem;
|
|
@@ -219,3 +219,16 @@ $margin-xl: var(--spacing-xl);
|
|
|
219
219
|
$breakpoint2: 961px;
|
|
220
220
|
$breakpoint3: 1401px;
|
|
221
221
|
$breakpoint4: 1801px;
|
|
222
|
+
|
|
223
|
+
////////////////////////
|
|
224
|
+
/// max-site-width TOKEN:
|
|
225
|
+
///////////////////////
|
|
226
|
+
$max-site-width: 1560px;
|
|
227
|
+
|
|
228
|
+
////////////////////////////
|
|
229
|
+
/// Media breakpoint tokens:
|
|
230
|
+
///////////////////////////
|
|
231
|
+
|
|
232
|
+
$breakpoint-sm: 'sm';
|
|
233
|
+
$breakpoint-md: 'md';
|
|
234
|
+
$breakpoint-lg: 'lg';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import '../../vars';
|
|
2
|
-
@import '../../
|
|
2
|
+
@import '../../typography';
|
|
3
|
+
@import '../../utils';
|
|
3
4
|
|
|
4
5
|
.#{$px}-button {
|
|
5
6
|
@include bodyText;
|
|
@@ -12,8 +13,8 @@
|
|
|
12
13
|
cursor: pointer;
|
|
13
14
|
display: inline-flex;
|
|
14
15
|
justify-content: center;
|
|
15
|
-
min-width:
|
|
16
|
-
padding: 0.5em
|
|
16
|
+
min-width: 3rem;
|
|
17
|
+
padding: 0.5em $spacing-medium;
|
|
17
18
|
transition:
|
|
18
19
|
color 0.25s,
|
|
19
20
|
background-color 0.25s,
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
@import '../../vars';
|
|
2
|
+
@import '../../utils';
|
|
3
|
+
@import '../../type';
|
|
4
|
+
@import '../../typography';
|
|
5
|
+
|
|
6
|
+
.#{$px}-footer {
|
|
7
|
+
background-color: $off-white;
|
|
8
|
+
border-top: 1px solid $keyline-gray;
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
ul {
|
|
12
|
+
list-style: none;
|
|
13
|
+
padding: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__navigation {
|
|
17
|
+
background-color: $white;
|
|
18
|
+
padding: $spacing-medium $spacing-medium $spacing-small;
|
|
19
|
+
text-align: right;
|
|
20
|
+
|
|
21
|
+
@include media($breakpoint-md) {
|
|
22
|
+
padding: $spacing-medium $spacing-large $spacing-small;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include media($breakpoint-lg) {
|
|
26
|
+
padding: $spacing-medium $spacing-xl $spacing-small;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
ul {
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
gap: $spacing-medium;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
list-style: none;
|
|
35
|
+
padding: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
a,
|
|
39
|
+
button {
|
|
40
|
+
@include text('cta-sm');
|
|
41
|
+
@include bodyText;
|
|
42
|
+
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__content {
|
|
48
|
+
align-items: center;
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
padding: $spacing-large $spacing-medium 0;
|
|
52
|
+
|
|
53
|
+
@include media($breakpoint-sm) {
|
|
54
|
+
align-items: flex-start;
|
|
55
|
+
flex-direction: row;
|
|
56
|
+
justify-content: space-between;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@include media($breakpoint-md) {
|
|
60
|
+
padding: 3.75rem $spacing-large;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@include media($breakpoint-lg) {
|
|
64
|
+
padding: 3.75rem $spacing-xl;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__content-split-panel__left {
|
|
69
|
+
margin-bottom: $spacing-medium;
|
|
70
|
+
|
|
71
|
+
@include media($breakpoint-sm) {
|
|
72
|
+
margin-bottom: 0;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__content-split-panel__right {
|
|
77
|
+
display: flex;
|
|
78
|
+
|
|
79
|
+
@include media($breakpoint-sm) {
|
|
80
|
+
justify-content: flex-end;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&__copyright {
|
|
85
|
+
@include text($body3);
|
|
86
|
+
|
|
87
|
+
align-items: center;
|
|
88
|
+
background-color: $white;
|
|
89
|
+
display: flex;
|
|
90
|
+
|
|
91
|
+
// font-size: 0.875rem;
|
|
92
|
+
// height: 2.125rem;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
padding: $spacing-xsm 0;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import '../../type';
|
|
2
|
+
|
|
3
|
+
.#{$px}-link {
|
|
4
|
+
@include text($cta-sm);
|
|
5
|
+
|
|
6
|
+
color: $cta-blue;
|
|
7
|
+
text-decoration: none;
|
|
8
|
+
white-space: nowrap;
|
|
9
|
+
|
|
10
|
+
&:hover:not(&--list),
|
|
11
|
+
&:focus:not(&--list) {
|
|
12
|
+
@include underline;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&:hover,
|
|
16
|
+
&:focus {
|
|
17
|
+
color: $cta-blue;
|
|
18
|
+
outline: unset;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&--inline {
|
|
22
|
+
font-size: inherit;
|
|
23
|
+
letter-spacing: inherit;
|
|
24
|
+
line-height: inherit;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&--list {
|
|
28
|
+
color: $soft-black;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&--email {
|
|
32
|
+
@include text($email);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@import '../../vars';
|
|
2
|
+
@import '../../utils';
|
|
3
|
+
@import '../../type';
|
|
4
|
+
|
|
5
|
+
.#{$px}-social {
|
|
6
|
+
align-items: center;
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
|
|
10
|
+
@include media($breakpoint-sm) {
|
|
11
|
+
align-items: flex-end;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__header {
|
|
15
|
+
@include text($heading3);
|
|
16
|
+
|
|
17
|
+
margin-bottom: $spacing-xsm;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
ul {
|
|
21
|
+
align-items: center;
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: 0 1.25rem;
|
|
24
|
+
list-style: none;
|
|
25
|
+
margin: 0 0 $spacing-medium;
|
|
26
|
+
padding: 0;
|
|
27
|
+
|
|
28
|
+
@include media($breakpoint-sm) {
|
|
29
|
+
gap: 0 1rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
li {
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
a {
|
|
38
|
+
display: inline-block;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@import '../../vars';
|
|
2
|
+
@import '../../utils';
|
|
3
|
+
|
|
4
|
+
.#{$px}-split-panel {
|
|
5
|
+
align-items: center;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
gap: $spacing-medium;
|
|
9
|
+
|
|
10
|
+
&:not(.#{$px}-split-panel--borderless) {
|
|
11
|
+
padding: 2.5rem $spacing-medium;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
> * {
|
|
15
|
+
flex: 1 1 0px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@include media($breakpoint-sm) {
|
|
19
|
+
align-items: stretch;
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
|
|
22
|
+
& > :first-child,
|
|
23
|
+
& > :last-child {
|
|
24
|
+
width: 50%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
& > :not(:last-child) {
|
|
28
|
+
border-right: 1px solid $medium-gray;
|
|
29
|
+
padding-right: $spacing-medium;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&--borderless {
|
|
33
|
+
& > :not(:last-child) {
|
|
34
|
+
border-right: none;
|
|
35
|
+
padding-right: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import '../../vars';
|
|
2
|
+
|
|
3
|
+
.split-panel-story {
|
|
4
|
+
background-color: #f4f2f1;
|
|
5
|
+
|
|
6
|
+
&__text {
|
|
7
|
+
font-family: Montserrat, serif;
|
|
8
|
+
font-size: 0.75rem;
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-weight: 400;
|
|
11
|
+
letter-spacing: 0.0625rem;
|
|
12
|
+
line-height: 1.125rem; /* 150% */
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
& .split-panel-story__text:not(:last-child) {
|
|
16
|
+
margin-bottom: $spacing-medium;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import '../../vars';
|
|
2
|
+
@import '../../utils';
|
|
3
|
+
@import '../../type';
|
|
4
|
+
@import '../../typography';
|
|
5
|
+
|
|
6
|
+
.#{$px}-subscribe {
|
|
7
|
+
max-width: 30rem;
|
|
8
|
+
|
|
9
|
+
&__title {
|
|
10
|
+
@include text($heading3);
|
|
11
|
+
|
|
12
|
+
margin-bottom: $spacing-xsm;
|
|
13
|
+
text-align: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__blurb {
|
|
17
|
+
@include text($body2);
|
|
18
|
+
|
|
19
|
+
text-align: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@include media($breakpoint-sm) {
|
|
23
|
+
&__title,
|
|
24
|
+
&__blurb {
|
|
25
|
+
text-align: left;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__blurb,
|
|
30
|
+
.#{$px}-input__input {
|
|
31
|
+
margin-bottom: $spacing-medium;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__button {
|
|
35
|
+
margin: 0 0 $spacing-medium;
|
|
36
|
+
}
|
|
37
|
+
}
|
package/dist/scss/styles.scss
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@import './vars';
|
|
3
3
|
|
|
4
4
|
// @TODO: add styles when we can do a site wide regressions QA
|
|
5
|
+
|
|
5
6
|
// @use 'reset';
|
|
6
7
|
@import './typography';
|
|
7
8
|
|
|
@@ -9,12 +10,19 @@
|
|
|
9
10
|
@import 'components/Button/button';
|
|
10
11
|
|
|
11
12
|
// @import 'components/DatePicker/datePicker';
|
|
13
|
+
@import 'components/Footer/footer';
|
|
14
|
+
@import 'components/Grid/grid';
|
|
12
15
|
@import 'components/Header/header';
|
|
13
16
|
@import 'components/HeroBanner/heroBanner';
|
|
14
17
|
@import 'components/Input/input';
|
|
18
|
+
@import 'components/Social/social';
|
|
19
|
+
@import 'components/SplitPanel/splitPanel';
|
|
20
|
+
@import 'components/Subscribe/subscribe';
|
|
15
21
|
@import 'components/Toggle/toggle';
|
|
16
22
|
@import 'components/ViewingsList/viewingsList';
|
|
17
|
-
@import 'components/
|
|
23
|
+
@import 'components/Link/link';
|
|
24
|
+
@import 'components/LinkBlock/linkBlock';
|
|
25
|
+
@import 'components/LinkList/linkList';
|
|
18
26
|
|
|
19
27
|
// 📑 Pages
|
|
20
28
|
@import 'pages/page';
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
const n = "phillips";
|
|
3
3
|
function c({
|
|
4
4
|
disabled: l = !1,
|
|
5
|
-
id:
|
|
6
|
-
invalid:
|
|
7
|
-
invalidText:
|
|
8
|
-
readOnly:
|
|
5
|
+
id: o,
|
|
6
|
+
invalid: t = !1,
|
|
7
|
+
invalidText: e = "invalid",
|
|
8
|
+
readOnly: r = !1,
|
|
9
9
|
type: a,
|
|
10
|
-
warn:
|
|
11
|
-
warnText:
|
|
10
|
+
warn: s = !1,
|
|
11
|
+
warnText: v
|
|
12
12
|
}) {
|
|
13
13
|
const i = {
|
|
14
|
-
disabled: !
|
|
15
|
-
invalid: !
|
|
16
|
-
invalidId: `${
|
|
14
|
+
disabled: !r && l,
|
|
15
|
+
invalid: !r && !l && t,
|
|
16
|
+
invalidId: `${o}-error-msg`,
|
|
17
17
|
type: a === "toggle" ? "checkbox" : a,
|
|
18
|
-
warn: !
|
|
19
|
-
warnId: `${
|
|
18
|
+
warn: !r && !l && !t && s,
|
|
19
|
+
warnId: `${o}-warn-msg`,
|
|
20
20
|
validation: null
|
|
21
21
|
};
|
|
22
|
-
return i.invalid && (i.validation = /* @__PURE__ */
|
|
22
|
+
return i.invalid && (i.validation = /* @__PURE__ */ d("div", { className: `${n}-input__validation ${n}-${a}-input--invalid`, id: i.invalidId, children: e })), i.warn && (i.validation = /* @__PURE__ */ d("div", { className: `${n}-input__validation ${n}-${a}-input--warn`, id: i.warnId, children: v })), i;
|
|
23
23
|
}
|
|
24
|
+
const p = (/* @__PURE__ */ new Date()).getFullYear();
|
|
24
25
|
export {
|
|
26
|
+
p as defaultYear,
|
|
25
27
|
n as px,
|
|
26
28
|
c as useNormalizedInputProps
|
|
27
29
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phillips/seldon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/PhillipsAuctionHouse/seldon"
|
|
@@ -24,9 +24,8 @@
|
|
|
24
24
|
"dist/**"
|
|
25
25
|
],
|
|
26
26
|
"scripts": {
|
|
27
|
-
"dev": "vite",
|
|
28
|
-
"test": "jest",
|
|
29
27
|
"start": "storybook dev -p 6006",
|
|
28
|
+
"test": "jest",
|
|
30
29
|
"build": "npm run clean && tsc && vite build",
|
|
31
30
|
"build:storybook": "storybook build",
|
|
32
31
|
"preview": "npx http-server storybook-static",
|
|
@@ -39,60 +38,61 @@
|
|
|
39
38
|
},
|
|
40
39
|
"dependencies": {
|
|
41
40
|
"classnames": "^2.5.1",
|
|
42
|
-
"flatpickr": "^4.6.13"
|
|
43
|
-
"react": "^18.3.1",
|
|
44
|
-
"react-dom": "^18.2.0"
|
|
41
|
+
"flatpickr": "^4.6.13"
|
|
45
42
|
},
|
|
46
43
|
"devDependencies": {
|
|
47
44
|
"@commitlint/cli": "^19.3.0",
|
|
48
45
|
"@commitlint/config-conventional": "^19.2.2",
|
|
46
|
+
"@figma/code-connect": "^0.1.1",
|
|
49
47
|
"@semantic-release/changelog": "^6.0.3",
|
|
50
48
|
"@semantic-release/git": "^10.0.1",
|
|
51
49
|
"@semantic-release/github": "^10.0.3",
|
|
52
50
|
"@storybook/addon-essentials": "^7.6.18",
|
|
53
51
|
"@storybook/addon-interactions": "^7.0.22",
|
|
54
|
-
"@storybook/addon-links": "^7.
|
|
55
|
-
"@storybook/addon-styling": "^1.3.
|
|
52
|
+
"@storybook/addon-links": "^7.6.18",
|
|
53
|
+
"@storybook/addon-styling": "^1.3.7",
|
|
56
54
|
"@storybook/blocks": "^7.0.22",
|
|
57
55
|
"@storybook/react": "^7.0.22",
|
|
58
56
|
"@storybook/react-vite": "^7.6.18",
|
|
59
57
|
"@testing-library/jest-dom": "^5.17.0",
|
|
60
58
|
"@testing-library/react": "^14.0.0",
|
|
61
|
-
"@testing-library/user-event": "^14.5.
|
|
62
|
-
"@types/color": "^3.0.
|
|
59
|
+
"@testing-library/user-event": "^14.5.2",
|
|
60
|
+
"@types/color": "^3.0.6",
|
|
63
61
|
"@types/jest": "^29.5.3",
|
|
64
|
-
"@types/react": "^18.3.
|
|
62
|
+
"@types/react": "^18.3.1",
|
|
65
63
|
"@types/react-dom": "^18.0.11",
|
|
66
64
|
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
|
67
65
|
"@typescript-eslint/parser": "^5.59.0",
|
|
68
66
|
"@vitejs/plugin-react": "^4.0.0",
|
|
69
67
|
"color": "^4.2.3",
|
|
70
68
|
"eslint": "^8.38.0",
|
|
71
|
-
"eslint-plugin-react-hooks": "^4.6.
|
|
72
|
-
"eslint-plugin-react-refresh": "^0.
|
|
73
|
-
"eslint-plugin-storybook": "^0.
|
|
69
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
70
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
71
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
74
72
|
"husky": "^9.0.11",
|
|
75
73
|
"jest": "^29.6.1",
|
|
76
74
|
"jest-environment-jsdom": "^29.6.1",
|
|
77
75
|
"prettier": "3.0.3",
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
76
|
+
"react-docgen-typescript": "^2.2.2",
|
|
77
|
+
"react": "^18.3.1",
|
|
78
|
+
"react-dom": "^18.2.0",
|
|
79
|
+
"rimraf": "^5.0.5",
|
|
80
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
81
81
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
82
82
|
"sass": "^1.75.0",
|
|
83
83
|
"semantic-release": "^21.0.5",
|
|
84
84
|
"storybook": "^7.6.18",
|
|
85
|
-
"stylelint": "^16.
|
|
85
|
+
"stylelint": "^16.4.0",
|
|
86
86
|
"stylelint-config-standard": "^36.0.0",
|
|
87
87
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
88
88
|
"stylelint-order": "^6.0.4",
|
|
89
89
|
"stylelint-scss": "^6.2.1",
|
|
90
|
-
"ts-jest": "^29.1.
|
|
91
|
-
"ts-node": "^10.9.1",
|
|
90
|
+
"ts-jest": "^29.1.2",
|
|
92
91
|
"typescript": "^5.0.2",
|
|
93
92
|
"vite": "^4.5.3",
|
|
94
93
|
"vite-plugin-dts": "^2.3.0",
|
|
95
|
-
"vite-plugin-svgr": "^4.2.0"
|
|
94
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
95
|
+
"vite-tsconfig-paths": "^4.3.2"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"react": "^18.3.1",
|