@phillips/seldon 1.1.6 → 1.1.8
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 +43 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/components/Button/Button.js +24 -0
- package/dist/components/Header/Header.js +44 -0
- package/dist/index.js +8 -0
- package/dist/node_modules/classnames/index.js +42 -0
- package/dist/pages/Page.js +58 -0
- package/dist/scss/components/Button/_button.scss +39 -0
- package/dist/scss/components/Header/_header.scss +32 -0
- package/dist/scss/pages/_page.scss +69 -0
- package/dist/scss/styles.scss +5 -0
- package/dist/scss/utils/_reset.scss +29 -0
- package/dist/scss/utils/_typography.scss +22 -0
- package/dist/scss/utils/_vars.scss +35 -0
- package/dist/utils/index.js +4 -0
- package/dist/vite.svg +1 -0
- package/package.json +1 -3
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Easel Design System 🎨 by Phillips Auction House
|
|
2
|
+
|
|
3
|
+
Seldon is the source for design guidelines, component documentation, and resources for building apps with the Phillips.com Design System.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
# With NPM
|
|
9
|
+
npm install @phillips/seldon
|
|
10
|
+
|
|
11
|
+
# With yarn
|
|
12
|
+
yarn add @phillips/seldon
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## What's included
|
|
16
|
+
|
|
17
|
+
### Styling
|
|
18
|
+
|
|
19
|
+
The project contains a `scss` folder. Here you will find the main export of our sass styles. This will include all the styles bundled with this package, including resets and typography styles.
|
|
20
|
+
|
|
21
|
+
```scss
|
|
22
|
+
@use '@phillips/seldon/scss/styles';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
If you wish to only import specific component styles you can find them in their respective directories inside the `scss` folder.
|
|
26
|
+
|
|
27
|
+
```scss
|
|
28
|
+
@use '@phillips/seldon/scss/components/Button/button';
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Components
|
|
32
|
+
|
|
33
|
+
Each component can be imported in your project by referencing the component name inside the `components` directory.
|
|
34
|
+
|
|
35
|
+
```js
|
|
36
|
+
import Button from '@phillips/seldon/components/Button/Button';
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
You can also use named exports for multiple component imports from main index file.
|
|
40
|
+
|
|
41
|
+
```js
|
|
42
|
+
import { Button } from '@phillips/seldon';
|
|
43
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import m from "../../node_modules/classnames/index.js";
|
|
3
|
+
import { px as t } from "../../utils/index.js";
|
|
4
|
+
const c = ({
|
|
5
|
+
primary: n = !1,
|
|
6
|
+
size: e = "medium",
|
|
7
|
+
backgroundColor: s,
|
|
8
|
+
label: r,
|
|
9
|
+
id: o,
|
|
10
|
+
...u
|
|
11
|
+
}) => /* @__PURE__ */ a(
|
|
12
|
+
"button",
|
|
13
|
+
{
|
|
14
|
+
"data-testid": o ? `button-${o}` : "button",
|
|
15
|
+
type: "button",
|
|
16
|
+
className: m(`${t}-button`, `${t}-button--${e}`, { [`${t}-button--secondary`]: !n }),
|
|
17
|
+
style: { backgroundColor: s },
|
|
18
|
+
...u,
|
|
19
|
+
children: r
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
export {
|
|
23
|
+
c as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { jsx as l, jsxs as e, Fragment as a } from "react/jsx-runtime";
|
|
2
|
+
import i from "../Button/Button.js";
|
|
3
|
+
const s = ({ user: n, onLogin: d, onLogout: r, onCreateAccount: h }) => /* @__PURE__ */ l("header", { children: /* @__PURE__ */ e("div", { className: "storybook-header", children: [
|
|
4
|
+
/* @__PURE__ */ e("div", { children: [
|
|
5
|
+
/* @__PURE__ */ l("svg", { width: "32", height: "32", viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("g", { fill: "none", fillRule: "evenodd", children: [
|
|
6
|
+
/* @__PURE__ */ l(
|
|
7
|
+
"path",
|
|
8
|
+
{
|
|
9
|
+
d: "M10 0h12a10 10 0 0110 10v12a10 10 0 01-10 10H10A10 10 0 010 22V10A10 10 0 0110 0z",
|
|
10
|
+
fill: "#FFF"
|
|
11
|
+
}
|
|
12
|
+
),
|
|
13
|
+
/* @__PURE__ */ l(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
d: "M5.3 10.6l10.4 6v11.1l-10.4-6v-11zm11.4-6.2l9.7 5.5-9.7 5.6V4.4z",
|
|
17
|
+
fill: "#555AB9"
|
|
18
|
+
}
|
|
19
|
+
),
|
|
20
|
+
/* @__PURE__ */ l(
|
|
21
|
+
"path",
|
|
22
|
+
{
|
|
23
|
+
d: "M27.2 10.6v11.2l-10.5 6V16.5l10.5-6zM15.7 4.4v11L6 10l9.7-5.5z",
|
|
24
|
+
fill: "#91BAF8"
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
] }) }),
|
|
28
|
+
/* @__PURE__ */ l("h1", { children: "Acme" })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ l("div", { children: n ? /* @__PURE__ */ e(a, { children: [
|
|
31
|
+
/* @__PURE__ */ e("span", { className: "welcome", children: [
|
|
32
|
+
"Welcome, ",
|
|
33
|
+
/* @__PURE__ */ l("b", { children: n.name }),
|
|
34
|
+
"!"
|
|
35
|
+
] }),
|
|
36
|
+
/* @__PURE__ */ l(i, { size: "small", onClick: r, label: "Log out" })
|
|
37
|
+
] }) : /* @__PURE__ */ e(a, { children: [
|
|
38
|
+
/* @__PURE__ */ l(i, { size: "small", onClick: d, label: "Log in" }),
|
|
39
|
+
/* @__PURE__ */ l(i, { primary: !0, size: "small", onClick: h, label: "Sign up" })
|
|
40
|
+
] }) })
|
|
41
|
+
] }) });
|
|
42
|
+
export {
|
|
43
|
+
s as default
|
|
44
|
+
};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs as u } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
+
import { __module as f } from "../../_virtual/index.js";
|
|
3
|
+
/*!
|
|
4
|
+
Copyright (c) 2018 Jed Watson.
|
|
5
|
+
Licensed under the MIT License (MIT), see
|
|
6
|
+
http://jedwatson.github.io/classnames
|
|
7
|
+
*/
|
|
8
|
+
(function(r) {
|
|
9
|
+
(function() {
|
|
10
|
+
var l = {}.hasOwnProperty;
|
|
11
|
+
function s() {
|
|
12
|
+
for (var n = [], o = 0; o < arguments.length; o++) {
|
|
13
|
+
var t = arguments[o];
|
|
14
|
+
if (t) {
|
|
15
|
+
var e = typeof t;
|
|
16
|
+
if (e === "string" || e === "number")
|
|
17
|
+
n.push(t);
|
|
18
|
+
else if (Array.isArray(t)) {
|
|
19
|
+
if (t.length) {
|
|
20
|
+
var a = s.apply(null, t);
|
|
21
|
+
a && n.push(a);
|
|
22
|
+
}
|
|
23
|
+
} else if (e === "object") {
|
|
24
|
+
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]")) {
|
|
25
|
+
n.push(t.toString());
|
|
26
|
+
continue;
|
|
27
|
+
}
|
|
28
|
+
for (var i in t)
|
|
29
|
+
l.call(t, i) && t[i] && n.push(i);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return n.join(" ");
|
|
34
|
+
}
|
|
35
|
+
r.exports ? (s.default = s, r.exports = s) : window.classNames = s;
|
|
36
|
+
})();
|
|
37
|
+
})(f);
|
|
38
|
+
var c = f.exports;
|
|
39
|
+
const v = /* @__PURE__ */ u(c);
|
|
40
|
+
export {
|
|
41
|
+
v as default
|
|
42
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import n from "react";
|
|
3
|
+
import a from "../components/Header/Header.js";
|
|
4
|
+
const c = () => {
|
|
5
|
+
const [r, t] = n.useState();
|
|
6
|
+
return /* @__PURE__ */ o("article", { children: [
|
|
7
|
+
/* @__PURE__ */ e(
|
|
8
|
+
a,
|
|
9
|
+
{
|
|
10
|
+
user: r,
|
|
11
|
+
onLogin: () => t({ name: "Jane Doe" }),
|
|
12
|
+
onLogout: () => t(void 0),
|
|
13
|
+
onCreateAccount: () => t({ name: "Jane Doe" })
|
|
14
|
+
}
|
|
15
|
+
),
|
|
16
|
+
/* @__PURE__ */ o("section", { className: "storybook-page", children: [
|
|
17
|
+
/* @__PURE__ */ e("h2", { children: "Pages in Storybook" }),
|
|
18
|
+
/* @__PURE__ */ o("p", { children: [
|
|
19
|
+
"We recommend building UIs with a",
|
|
20
|
+
" ",
|
|
21
|
+
/* @__PURE__ */ e("a", { href: "https://componentdriven.org", target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ e("strong", { children: "component-driven" }) }),
|
|
22
|
+
" ",
|
|
23
|
+
"process starting with atomic components and ending with pages."
|
|
24
|
+
] }),
|
|
25
|
+
/* @__PURE__ */ e("p", { children: "Render pages with mock data. This makes it easy to build and review page states without needing to navigate to them in your app. Here are some handy patterns for managing page data in Storybook:" }),
|
|
26
|
+
/* @__PURE__ */ o("ul", { children: [
|
|
27
|
+
/* @__PURE__ */ e("li", { children: 'Use a higher-level connected component. Storybook helps you compose such data from the "args" of child component stories' }),
|
|
28
|
+
/* @__PURE__ */ e("li", { children: "Assemble data in the page component from your services. You can mock these services out using Storybook." })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ o("p", { children: [
|
|
31
|
+
"Get a guided tutorial on component-driven development at",
|
|
32
|
+
" ",
|
|
33
|
+
/* @__PURE__ */ e("a", { href: "https://storybook.js.org/tutorials/", target: "_blank", rel: "noopener noreferrer", children: "Storybook tutorials" }),
|
|
34
|
+
". Read more in the",
|
|
35
|
+
" ",
|
|
36
|
+
/* @__PURE__ */ e("a", { href: "https://storybook.js.org/docs", target: "_blank", rel: "noopener noreferrer", children: "docs" }),
|
|
37
|
+
"."
|
|
38
|
+
] }),
|
|
39
|
+
/* @__PURE__ */ o("div", { className: "tip-wrapper", children: [
|
|
40
|
+
/* @__PURE__ */ e("span", { className: "tip", children: "Tip" }),
|
|
41
|
+
" Adjust the width of the canvas with the",
|
|
42
|
+
" ",
|
|
43
|
+
/* @__PURE__ */ e("svg", { width: "10", height: "10", viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ e(
|
|
44
|
+
"path",
|
|
45
|
+
{
|
|
46
|
+
d: "M1.5 5.2h4.8c.3 0 .5.2.5.4v5.1c-.1.2-.3.3-.4.3H1.4a.5.5 0 01-.5-.4V5.7c0-.3.2-.5.5-.5zm0-2.1h6.9c.3 0 .5.2.5.4v7a.5.5 0 01-1 0V4H1.5a.5.5 0 010-1zm0-2.1h9c.3 0 .5.2.5.4v9.1a.5.5 0 01-1 0V2H1.5a.5.5 0 010-1zm4.3 5.2H2V10h3.8V6.2z",
|
|
47
|
+
id: "a",
|
|
48
|
+
fill: "#999"
|
|
49
|
+
}
|
|
50
|
+
) }) }),
|
|
51
|
+
"Viewports addon in the toolbar"
|
|
52
|
+
] })
|
|
53
|
+
] })
|
|
54
|
+
] });
|
|
55
|
+
};
|
|
56
|
+
export {
|
|
57
|
+
c as default
|
|
58
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use '../../utils/vars' as *;
|
|
2
|
+
|
|
3
|
+
.#{$px}-button {
|
|
4
|
+
background-color: #1ea7fd;
|
|
5
|
+
border: 0;
|
|
6
|
+
border-radius: 3rem;
|
|
7
|
+
color: white;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
display: inline-block;
|
|
10
|
+
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
11
|
+
font-weight: 700;
|
|
12
|
+
line-height: 1;
|
|
13
|
+
min-width: 4rem;
|
|
14
|
+
padding: 0.5rem 1rem;
|
|
15
|
+
|
|
16
|
+
&--secondary {
|
|
17
|
+
color: $text-color;
|
|
18
|
+
background-color: transparent;
|
|
19
|
+
box-shadow: rgba(0, 0, 0, 0.15) 0 0 0 1px inset;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--small {
|
|
23
|
+
font-size: 0.75rem;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--medium {
|
|
27
|
+
font-size: 0.875rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--large {
|
|
31
|
+
font-size: 1rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
* {
|
|
35
|
+
margin: 0
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.storybook-header {
|
|
2
|
+
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
3
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
4
|
+
padding: 15px 20px;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.storybook-header svg {
|
|
11
|
+
display: inline-block;
|
|
12
|
+
vertical-align: top;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.storybook-header h1 {
|
|
16
|
+
font-weight: 700;
|
|
17
|
+
font-size: 20px;
|
|
18
|
+
line-height: 1;
|
|
19
|
+
margin: 6px 0 6px 10px;
|
|
20
|
+
display: inline-block;
|
|
21
|
+
vertical-align: top;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.storybook-header button + button {
|
|
25
|
+
margin-left: 10px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.storybook-header .welcome {
|
|
29
|
+
color: #333;
|
|
30
|
+
font-size: 14px;
|
|
31
|
+
margin-right: 10px;
|
|
32
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.storybook-page {
|
|
2
|
+
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
line-height: 24px;
|
|
5
|
+
padding: 48px 20px;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
max-width: 600px;
|
|
8
|
+
color: #333;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.storybook-page h2 {
|
|
12
|
+
font-weight: 700;
|
|
13
|
+
font-size: 32px;
|
|
14
|
+
line-height: 1;
|
|
15
|
+
margin: 0 0 4px;
|
|
16
|
+
display: inline-block;
|
|
17
|
+
vertical-align: top;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.storybook-page p {
|
|
21
|
+
margin: 1em 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.storybook-page a {
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
color: #1ea7fd;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.storybook-page ul {
|
|
30
|
+
padding-left: 30px;
|
|
31
|
+
margin: 1em 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.storybook-page li {
|
|
35
|
+
margin-bottom: 8px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.storybook-page .tip {
|
|
39
|
+
display: inline-block;
|
|
40
|
+
border-radius: 1em;
|
|
41
|
+
font-size: 11px;
|
|
42
|
+
line-height: 12px;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
background: #e7fdd8;
|
|
45
|
+
color: #66bf3c;
|
|
46
|
+
padding: 4px 12px;
|
|
47
|
+
margin-right: 10px;
|
|
48
|
+
vertical-align: top;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.storybook-page .tip-wrapper {
|
|
52
|
+
font-size: 13px;
|
|
53
|
+
line-height: 20px;
|
|
54
|
+
margin-top: 40px;
|
|
55
|
+
margin-bottom: 40px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.storybook-page .tip-wrapper svg {
|
|
59
|
+
display: inline-block;
|
|
60
|
+
height: 12px;
|
|
61
|
+
width: 12px;
|
|
62
|
+
margin-right: 4px;
|
|
63
|
+
vertical-align: top;
|
|
64
|
+
margin-top: 3px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.storybook-page .tip-wrapper svg path {
|
|
68
|
+
fill: #1ea7fd;
|
|
69
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
*, *::before, *::after {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
* {
|
|
6
|
+
margin: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
body {
|
|
10
|
+
line-height: 1.5;
|
|
11
|
+
-webkit-font-smoothing: antialiased;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
img, picture, video, canvas, svg {
|
|
15
|
+
display: block;
|
|
16
|
+
max-width: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
input, button, textarea, select {
|
|
20
|
+
font: inherit;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
p, h1, h2, h3, h4, h5, h6 {
|
|
24
|
+
overflow-wrap: break-word;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
#root {
|
|
28
|
+
isolation: isolate;
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@use './vars' as *;
|
|
2
|
+
|
|
3
|
+
body {
|
|
4
|
+
font-family: "Nunito Sans",-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;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
h1,
|
|
14
|
+
h2,
|
|
15
|
+
h3,
|
|
16
|
+
h4 {
|
|
17
|
+
color: $primary-black;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
p {
|
|
21
|
+
color: $soft-black;
|
|
22
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
// prefix
|
|
3
|
+
$px: phillips;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// Primary color palette
|
|
7
|
+
$pure-black: #000000;
|
|
8
|
+
$primary-black: #323232;
|
|
9
|
+
$pure-white: #ffffff;
|
|
10
|
+
|
|
11
|
+
// Secondary color palette
|
|
12
|
+
$soft-black: #545454;
|
|
13
|
+
$dark-gray: #75715f;
|
|
14
|
+
|
|
15
|
+
// Utilititarian color palette
|
|
16
|
+
$keyline-gray: #949494;
|
|
17
|
+
$medium-gray: #c3bebb;
|
|
18
|
+
$light-gray: #eceae7;
|
|
19
|
+
$off-white: #f4f2f1;
|
|
20
|
+
|
|
21
|
+
// Notification color palette
|
|
22
|
+
$error-red: #ff0000;
|
|
23
|
+
$post-sale-magenta: #ff0085;
|
|
24
|
+
$clock-widget-blue: #4a90e2;
|
|
25
|
+
$clock-widget-green: #6a9c53;
|
|
26
|
+
$clock-widget-maroon: #6b0000;
|
|
27
|
+
$clock-widget-red: #b00000;
|
|
28
|
+
|
|
29
|
+
// Articker color palette
|
|
30
|
+
$articker-red: #fc1e2b;
|
|
31
|
+
$articker-orange: #ff8201;
|
|
32
|
+
$articker-red-orange-gradient: linear-gradient(90deg, #fc1e2b, #ff8201);
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
$text-color: $pure-black;
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phillips/seldon",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"clean": "rimraf './dist'rimraf",
|
|
26
26
|
"clean:stories": "rimraf ./storybook-static'",
|
|
27
27
|
"build": "npm run clean && tsc && vite build && rimraf --glob './public/scss'",
|
|
28
|
-
"postbuild": "cp package.json dist",
|
|
29
28
|
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
30
29
|
"preview": "vite preview",
|
|
31
30
|
"start": "storybook dev -p 6006",
|
|
@@ -73,7 +72,6 @@
|
|
|
73
72
|
"react-dom": "^18.2.0"
|
|
74
73
|
},
|
|
75
74
|
"release": {
|
|
76
|
-
"pkgRoot": "dist",
|
|
77
75
|
"branches": [
|
|
78
76
|
"main"
|
|
79
77
|
],
|