@phillips/seldon 1.9.1 → 1.9.2
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/_virtual/_commonjsHelpers.mjs +6 -0
- package/dist/_virtual/index.mjs +4 -0
- package/dist/components/Button/{Button.js → Button.mjs} +2 -2
- package/dist/components/Header/{Header.js → Header.mjs} +1 -1
- package/dist/components/HeroBanner/{HeroBanner.js → HeroBanner.mjs} +1 -1
- package/dist/components/Input/{Input.js → Input.mjs} +2 -2
- package/dist/components/Select/{Select.js → Select.mjs} +2 -2
- package/dist/components/ViewingsList/{StatefulViewingsList.js → StatefulViewingsList.mjs} +1 -1
- package/dist/components/ViewingsList/{ViewingsList.js → ViewingsList.mjs} +4 -4
- package/dist/components/ViewingsList/{ViewingsListCard.js → ViewingsListCard.mjs} +5 -5
- package/dist/components/ViewingsList/{ViewingsListCardForm.js → ViewingsListCardForm.mjs} +3 -3
- package/dist/{index.js → index.mjs} +9 -9
- package/dist/node_modules/classnames/index.mjs +42 -0
- package/dist/pages/{Page.js → Page.mjs} +1 -1
- package/package.json +4 -4
- /package/dist/components/ErrorBoundary/{ErrorBoundary.js → ErrorBoundary.mjs} +0 -0
- /package/dist/utils/{index.js → index.mjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import b from "classnames";
|
|
3
|
-
import { px as t } from "../../utils/index.
|
|
2
|
+
import b from "../../node_modules/classnames/index.mjs";
|
|
3
|
+
import { px as t } from "../../utils/index.mjs";
|
|
4
4
|
const f = ({ buttonType: n = "primary", size: a = "md", children: r, iconLast: s = !1, id: o, ...u }) => /* @__PURE__ */ m(
|
|
5
5
|
"button",
|
|
6
6
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l, jsxs as e, Fragment as d } from "react/jsx-runtime";
|
|
2
|
-
import i from "../Button/Button.
|
|
2
|
+
import i from "../Button/Button.mjs";
|
|
3
3
|
const a = ({ user: n, onLogin: h, onLogout: r, onCreateAccount: c }) => /* @__PURE__ */ l("header", { children: /* @__PURE__ */ e("div", { className: "storybook-header", children: [
|
|
4
4
|
/* @__PURE__ */ e("div", { children: [
|
|
5
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: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { px as t } from "../../utils/index.
|
|
2
|
+
import { px as t } from "../../utils/index.mjs";
|
|
3
3
|
const r = `${t}-hero-banner`, m = ({ prehead: e, date: l, headerText: o, subHeadText: c, association: h, background: p, id: a }) => /* @__PURE__ */ n(
|
|
4
4
|
"header",
|
|
5
5
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as P, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import * as R from "react";
|
|
3
|
-
import d from "classnames";
|
|
4
|
-
import { px as i, useNormalizedInputProps as y } from "../../utils/index.
|
|
3
|
+
import d from "../../node_modules/classnames/index.mjs";
|
|
4
|
+
import { px as i, useNormalizedInputProps as y } from "../../utils/index.mjs";
|
|
5
5
|
const z = R.forwardRef(
|
|
6
6
|
({
|
|
7
7
|
className: a,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as R, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import * as y from "react";
|
|
3
|
-
import a from "classnames";
|
|
4
|
-
import { px as t, useNormalizedInputProps as z } from "../../utils/index.
|
|
3
|
+
import a from "../../node_modules/classnames/index.mjs";
|
|
4
|
+
import { px as t, useNormalizedInputProps as z } from "../../utils/index.mjs";
|
|
5
5
|
const S = y.forwardRef(
|
|
6
6
|
({
|
|
7
7
|
children: r,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as B, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import p from "classnames";
|
|
4
|
-
import { px as $ } from "../../utils/index.
|
|
5
|
-
import M from "./ViewingsListCard.
|
|
6
|
-
import R from "../Button/Button.
|
|
3
|
+
import p from "../../node_modules/classnames/index.mjs";
|
|
4
|
+
import { px as $ } from "../../utils/index.mjs";
|
|
5
|
+
import M from "./ViewingsListCard.mjs";
|
|
6
|
+
import R from "../Button/Button.mjs";
|
|
7
7
|
const S = () => Math.floor(Math.random() * 100) + Date.now(), z = ({
|
|
8
8
|
cardTitle: O = "Viewing Details",
|
|
9
9
|
id: f,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as a, jsx as t, Fragment as y } from "react/jsx-runtime";
|
|
2
2
|
import * as r from "react";
|
|
3
|
-
import st from "classnames";
|
|
4
|
-
import { px as $ } from "../../utils/index.
|
|
5
|
-
import g from "../Input/Input.
|
|
6
|
-
import u from "../Button/Button.
|
|
7
|
-
import ct from "./ViewingsListCardForm.
|
|
3
|
+
import st from "../../node_modules/classnames/index.mjs";
|
|
4
|
+
import { px as $ } from "../../utils/index.mjs";
|
|
5
|
+
import g from "../Input/Input.mjs";
|
|
6
|
+
import u from "../Button/Button.mjs";
|
|
7
|
+
import ct from "./ViewingsListCardForm.mjs";
|
|
8
8
|
const l = `${$}-viewings-list-card`, ft = ({
|
|
9
9
|
address1: C,
|
|
10
10
|
address1Label: E,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as p, Fragment as Y, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import Z from "classnames";
|
|
2
|
+
import Z from "../../node_modules/classnames/index.mjs";
|
|
3
3
|
import * as x from "react";
|
|
4
|
-
import { px as q } from "../../utils/index.
|
|
5
|
-
import u from "../Input/Input.
|
|
4
|
+
import { px as q } from "../../utils/index.mjs";
|
|
5
|
+
import u from "../Input/Input.mjs";
|
|
6
6
|
const T = `${q}-viewings-list-card-form`, M = ({
|
|
7
7
|
address1: b,
|
|
8
8
|
address1Label: f = "Address ('432 Park Ave', ETC)",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { default as r } from "./components/Button/Button.
|
|
2
|
-
import { default as o } from "./components/ErrorBoundary/ErrorBoundary.
|
|
3
|
-
import { default as s } from "./components/Header/Header.
|
|
4
|
-
import { default as d } from "./components/HeroBanner/HeroBanner.
|
|
5
|
-
import { default as p } from "./components/Input/Input.
|
|
6
|
-
import { default as x } from "./components/Select/Select.
|
|
7
|
-
import { default as i } from "./components/ViewingsList/ViewingsList.
|
|
8
|
-
import { default as B } from "./components/ViewingsList/StatefulViewingsList.
|
|
9
|
-
import { default as H } from "./pages/Page.
|
|
1
|
+
import { default as r } from "./components/Button/Button.mjs";
|
|
2
|
+
import { default as o } from "./components/ErrorBoundary/ErrorBoundary.mjs";
|
|
3
|
+
import { default as s } from "./components/Header/Header.mjs";
|
|
4
|
+
import { default as d } from "./components/HeroBanner/HeroBanner.mjs";
|
|
5
|
+
import { default as p } from "./components/Input/Input.mjs";
|
|
6
|
+
import { default as x } from "./components/Select/Select.mjs";
|
|
7
|
+
import { default as i } from "./components/ViewingsList/ViewingsList.mjs";
|
|
8
|
+
import { default as B } from "./components/ViewingsList/StatefulViewingsList.mjs";
|
|
9
|
+
import { default as H } from "./pages/Page.mjs";
|
|
10
10
|
export {
|
|
11
11
|
r as Button,
|
|
12
12
|
o as ErrorBoundary,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs as u } from "../../_virtual/_commonjsHelpers.mjs";
|
|
2
|
+
import { __module as i } from "../../_virtual/index.mjs";
|
|
3
|
+
/*!
|
|
4
|
+
Copyright (c) 2018 Jed Watson.
|
|
5
|
+
Licensed under the MIT License (MIT), see
|
|
6
|
+
http://jedwatson.github.io/classnames
|
|
7
|
+
*/
|
|
8
|
+
(function(s) {
|
|
9
|
+
(function() {
|
|
10
|
+
var f = {}.hasOwnProperty;
|
|
11
|
+
function e() {
|
|
12
|
+
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
13
|
+
var n = arguments[r];
|
|
14
|
+
n && (t = o(t, a(n)));
|
|
15
|
+
}
|
|
16
|
+
return t;
|
|
17
|
+
}
|
|
18
|
+
function a(t) {
|
|
19
|
+
if (typeof t == "string" || typeof t == "number")
|
|
20
|
+
return t;
|
|
21
|
+
if (typeof t != "object")
|
|
22
|
+
return "";
|
|
23
|
+
if (Array.isArray(t))
|
|
24
|
+
return e.apply(null, t);
|
|
25
|
+
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
26
|
+
return t.toString();
|
|
27
|
+
var r = "";
|
|
28
|
+
for (var n in t)
|
|
29
|
+
f.call(t, n) && t[n] && (r = o(r, n));
|
|
30
|
+
return r;
|
|
31
|
+
}
|
|
32
|
+
function o(t, r) {
|
|
33
|
+
return r ? t ? t + " " + r : t + r : t;
|
|
34
|
+
}
|
|
35
|
+
s.exports ? (e.default = e, s.exports = e) : window.classNames = e;
|
|
36
|
+
})();
|
|
37
|
+
})(i);
|
|
38
|
+
var p = i.exports;
|
|
39
|
+
const m = /* @__PURE__ */ u(p);
|
|
40
|
+
export {
|
|
41
|
+
m as default
|
|
42
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import * as n from "react";
|
|
3
|
-
import a from "../components/Header/Header.
|
|
3
|
+
import a from "../components/Header/Header.mjs";
|
|
4
4
|
const h = () => {
|
|
5
5
|
const [r, t] = n.useState();
|
|
6
6
|
return /* @__PURE__ */ o("article", { children: [
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phillips/seldon",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "./dist/index.
|
|
6
|
-
"module": "./dist/index.
|
|
5
|
+
"main": "./dist/index.mjs",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"import": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
-
"default": "./dist/index.
|
|
12
|
+
"default": "./dist/index.mjs"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"./dist/": {
|
|
File without changes
|
|
File without changes
|