@phillips/seldon 1.26.2 → 1.27.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/dist/assets/account_circle.svg.js +5 -0
- package/dist/assets/search.svg.js +5 -0
- package/dist/components/Header/Header.d.ts +26 -9
- package/dist/components/Header/Header.js +70 -24
- package/dist/components/Link/utils.d.ts +7 -1
- package/dist/components/Link/utils.js +6 -6
- package/dist/components/Navigation/Navigation.d.ts +10 -0
- package/dist/components/Navigation/Navigation.js +50 -0
- package/dist/components/Navigation/NavigationItem/NavigationItem.d.ts +30 -0
- package/dist/components/Navigation/NavigationItem/NavigationItem.js +35 -0
- package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.d.ts +9 -0
- package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +31 -0
- package/dist/components/Navigation/NavigationList/NavigationList.d.ts +9 -0
- package/dist/components/Navigation/NavigationList/NavigationList.js +32 -0
- package/dist/components/Search/Search.d.ts +7 -0
- package/dist/components/Search/Search.js +49 -0
- package/dist/components/UserManagement/UserManagement.d.ts +19 -0
- package/dist/components/UserManagement/UserManagement.js +52 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +65 -51
- package/dist/pages/Page.js +38 -54
- package/dist/scss/_vars.scss +1 -1
- package/dist/scss/components/Button/_button.scss +3 -3
- package/dist/scss/components/DatePicker/_datePicker.scss +2 -2
- package/dist/scss/components/Footer/_footer.scss +4 -4
- package/dist/scss/components/Grid/_grid.scss +2 -2
- package/dist/scss/components/GridItem/_gridItem.scss +1 -1
- package/dist/scss/components/Header/_header.scss +144 -24
- package/dist/scss/components/HeroBanner/_heroBanner.scss +1 -1
- package/dist/scss/components/Input/_input.scss +2 -2
- package/dist/scss/components/Link/_link.scss +77 -3
- package/dist/scss/components/LinkBlock/_linkBlock.scss +2 -2
- package/dist/scss/components/LinkList/_linkList.scss +1 -1
- package/dist/scss/components/Modal/_modal.scss +2 -2
- package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +272 -0
- package/dist/scss/components/Navigation/NavigationItemTrigger/_navigationItemTrigger.scss +1 -0
- package/dist/scss/components/Navigation/NavigationList/_navigationList.scss +96 -0
- package/dist/scss/components/Navigation/_navigation.scss +114 -0
- package/dist/scss/components/Row/_row.scss +1 -1
- package/dist/scss/components/Search/_search.scss +101 -0
- package/dist/scss/components/Social/_social.scss +3 -3
- package/dist/scss/components/SplitPanel/_splitPanel.scss +2 -2
- package/dist/scss/components/SplitPanel/_splitPanel.stories.scss +1 -1
- package/dist/scss/components/Subscribe/_subscribe.scss +4 -4
- package/dist/scss/components/Text/_text.scss +1 -1
- package/dist/scss/components/Toggle/_toggle.scss +2 -2
- package/dist/scss/components/UserManagement/_userManagement.scss +115 -0
- package/dist/scss/components/ViewingsList/_viewingsList.scss +3 -3
- package/dist/scss/styles.scss +6 -0
- package/dist/types/commonTypes.d.ts +4 -0
- package/dist/types/commonTypes.js +4 -0
- package/package.json +10 -10
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@import '@phillips/seldon/dist/scss/_vars';
|
|
2
|
+
|
|
3
|
+
.#{$px}-user-management {
|
|
4
|
+
align-items: center;
|
|
5
|
+
background-color: #f4f4f4;
|
|
6
|
+
display: flex;
|
|
7
|
+
height: 30px;
|
|
8
|
+
justify-content: flex-end;
|
|
9
|
+
left: 0;
|
|
10
|
+
padding: 0 $spacing-md;
|
|
11
|
+
position: fixed;
|
|
12
|
+
right: 0;
|
|
13
|
+
top: 0;
|
|
14
|
+
width: 100%;
|
|
15
|
+
|
|
16
|
+
@media (max-width: #{$breakpoint-md - 1}) {
|
|
17
|
+
align-items: flex-start;
|
|
18
|
+
background: transparent;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
height: unset;
|
|
21
|
+
margin-top: auto;
|
|
22
|
+
padding: 0;
|
|
23
|
+
position: unset;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
> li {
|
|
27
|
+
border: none;
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-wrap: wrap;
|
|
30
|
+
justify-content: flex-end;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__account-wrapper {
|
|
34
|
+
align-items: center;
|
|
35
|
+
display: flex;
|
|
36
|
+
gap: 1rem;
|
|
37
|
+
|
|
38
|
+
@media (max-width: #{$breakpoint-md - 1}) {
|
|
39
|
+
width: 100%;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.#{$px}-link {
|
|
43
|
+
@media (max-width: #{$breakpoint-md - 1}) {
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
& > span {
|
|
48
|
+
color: $soft-black;
|
|
49
|
+
font-size: 0.8125rem;
|
|
50
|
+
font-weight: 500;
|
|
51
|
+
letter-spacing: 0.125rem;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__account-icon {
|
|
57
|
+
&:hover,
|
|
58
|
+
&:focus,
|
|
59
|
+
&:focus-within {
|
|
60
|
+
path {
|
|
61
|
+
fill: $soft-black;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@media (max-width: #{$breakpoint-md - 1}) {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.#{$px}-nav__item {
|
|
71
|
+
&:hover,
|
|
72
|
+
&:focus,
|
|
73
|
+
&:focus-within {
|
|
74
|
+
&::after {
|
|
75
|
+
opacity: 0;
|
|
76
|
+
}
|
|
77
|
+
.#{$px}-user-management__language {
|
|
78
|
+
&__selections {
|
|
79
|
+
padding: 0.8125rem;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.#{$px}-user-management__language {
|
|
84
|
+
&__selections {
|
|
85
|
+
@media (min-width: $breakpoint-md) {
|
|
86
|
+
background: $off-white;
|
|
87
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 85%);
|
|
88
|
+
display: block;
|
|
89
|
+
left: unset;
|
|
90
|
+
min-height: unset;
|
|
91
|
+
min-width: 130px;
|
|
92
|
+
padding: 0;
|
|
93
|
+
position: absolute;
|
|
94
|
+
right: 0;
|
|
95
|
+
top: 30px;
|
|
96
|
+
width: 100%;
|
|
97
|
+
|
|
98
|
+
> li {
|
|
99
|
+
height: auto;
|
|
100
|
+
}
|
|
101
|
+
.#{$px}-input {
|
|
102
|
+
&--inline {
|
|
103
|
+
gap: 0.825rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&__input {
|
|
107
|
+
height: 18px;
|
|
108
|
+
width: 18px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '
|
|
2
|
-
@import '
|
|
3
|
-
@import '
|
|
1
|
+
@import '@phillips/seldon/dist/scss/vars';
|
|
2
|
+
@import '@phillips/seldon/dist/scss/utils';
|
|
3
|
+
@import '@phillips/seldon/dist/scss/typography';
|
|
4
4
|
|
|
5
5
|
.#{$px}-viewings-list {
|
|
6
6
|
align-items: center;
|
package/dist/scss/styles.scss
CHANGED
|
@@ -17,13 +17,19 @@
|
|
|
17
17
|
@import 'components/Grid/grid';
|
|
18
18
|
@import 'components/Header/header';
|
|
19
19
|
@import 'components/HeroBanner/heroBanner';
|
|
20
|
+
@import 'components/Navigation/navigation';
|
|
21
|
+
@import 'components/Navigation/NavigationItem/navigationItem';
|
|
22
|
+
@import 'components/Navigation/NavigationItemTrigger/navigationItemTrigger';
|
|
23
|
+
@import 'components/Navigation/NavigationList/navigationList';
|
|
20
24
|
@import 'components/Input/input';
|
|
21
25
|
@import 'components/Row/row';
|
|
22
26
|
@import 'components/GridItem/gridItem';
|
|
27
|
+
@import 'components/Search/search';
|
|
23
28
|
@import 'components/Social/social';
|
|
24
29
|
@import 'components/SplitPanel/splitPanel';
|
|
25
30
|
@import 'components/Subscribe/subscribe';
|
|
26
31
|
@import 'components/Toggle/toggle';
|
|
32
|
+
@import 'components/UserManagement/userManagement';
|
|
27
33
|
@import 'components/ViewingsList/viewingsList';
|
|
28
34
|
@import 'components/Link/link';
|
|
29
35
|
@import 'components/LinkBlock/linkBlock';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phillips/seldon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/PhillipsAuctionHouse/seldon"
|
|
@@ -45,21 +45,21 @@
|
|
|
45
45
|
"react-modal": "^3.16.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@chromatic-com/storybook": "^1.
|
|
48
|
+
"@chromatic-com/storybook": "^1.6.1",
|
|
49
49
|
"@commitlint/cli": "^19.3.0",
|
|
50
50
|
"@commitlint/config-conventional": "^19.2.2",
|
|
51
51
|
"@figma/code-connect": "^0.2.1",
|
|
52
52
|
"@semantic-release/changelog": "^6.0.3",
|
|
53
53
|
"@semantic-release/git": "^10.0.1",
|
|
54
|
-
"@semantic-release/github": "^10.0
|
|
55
|
-
"@storybook/addon-essentials": "^8.1.
|
|
54
|
+
"@semantic-release/github": "^10.1.0",
|
|
55
|
+
"@storybook/addon-essentials": "^8.1.11",
|
|
56
56
|
"@storybook/addon-interactions": "^8.1.4",
|
|
57
57
|
"@storybook/addon-links": "^8.1.4",
|
|
58
|
-
"@storybook/addon-mdx-gfm": "^8.1.
|
|
58
|
+
"@storybook/addon-mdx-gfm": "^8.1.11",
|
|
59
59
|
"@storybook/blocks": "^8.1.4",
|
|
60
60
|
"@storybook/react": "^8.1.4",
|
|
61
61
|
"@storybook/react-vite": "^8.1.4",
|
|
62
|
-
"@storybook/theming": "^8.1.
|
|
62
|
+
"@storybook/theming": "^8.1.11",
|
|
63
63
|
"@testing-library/jest-dom": "^6.4.6",
|
|
64
64
|
"@testing-library/react": "^16.0.0",
|
|
65
65
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -82,20 +82,20 @@
|
|
|
82
82
|
"react": "^18.3.1",
|
|
83
83
|
"react-docgen-typescript": "^2.2.2",
|
|
84
84
|
"react-dom": "^18.2.0",
|
|
85
|
-
"rimraf": "^5.0.
|
|
85
|
+
"rimraf": "^5.0.8",
|
|
86
86
|
"rollup-plugin-copy": "^3.5.0",
|
|
87
87
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
88
88
|
"sass": "^1.77.6",
|
|
89
89
|
"semantic-release": "^23.1.1",
|
|
90
90
|
"storybook": "^8.1.4",
|
|
91
91
|
"stylelint": "^16.6.1",
|
|
92
|
-
"stylelint-config-standard": "^36.0.
|
|
92
|
+
"stylelint-config-standard": "^36.0.1",
|
|
93
93
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
94
94
|
"stylelint-order": "^6.0.4",
|
|
95
95
|
"stylelint-scss": "^6.3.2",
|
|
96
96
|
"ts-node": "^10.9.2",
|
|
97
|
-
"typescript": "^5.
|
|
98
|
-
"vite": "^5.3.
|
|
97
|
+
"typescript": "^5.5.3",
|
|
98
|
+
"vite": "^5.3.3",
|
|
99
99
|
"vite-plugin-dts": "^2.3.0",
|
|
100
100
|
"vite-plugin-svgr": "^4.2.0",
|
|
101
101
|
"vite-tsconfig-paths": "^4.3.2",
|