@phillips/seldon 1.263.0 → 1.265.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/_virtual/index12.js +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/components/ExitGateCard/ExitGateCard.cjs +1 -1
- package/dist/components/ExitGateCard/ExitGateCard.d.ts +5 -0
- package/dist/components/ExitGateCard/ExitGateCard.js +30 -22
- package/dist/node_modules/ics/dist/schema/index.cjs +1 -1
- package/dist/node_modules/ics/dist/schema/index.js +1 -1
- package/dist/node_modules/ics/dist/utils/index.cjs +1 -1
- package/dist/node_modules/ics/dist/utils/index.js +1 -1
- package/dist/scss/_sharedClasses.scss +2 -2
- package/dist/scss/components/Button/_button.scss +6 -6
- package/dist/scss/components/Card/_card.scss +1 -0
- package/package.json +1 -1
package/dist/_virtual/index12.js
CHANGED
package/dist/_virtual/index13.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),$=require("../../_virtual/index.cjs"),v=require("react"),y=require("../../utils/index.cjs"),b=require("../Button/Button.cjs"),C=require("../Button/types.cjs");require("../Link/types.cjs");const E=require("../Link/Link.cjs"),G=require("../SeldonImage/SeldonImage.cjs"),d=require("../Text/types.cjs"),a=require("../Text/Text.cjs"),m=v.forwardRef(({className:x,imageSrc:s,label:n,header:r,description:l,linkLabel:i,linkHref:c,linkElement:o=E.default,variant:_=C.ButtonVariants.secondary,altText:f="Exit Gate Card Image",imageSrcSet:j,imageSizes:q,imageLoading:N,imageFetchPriority:h,...u},g)=>{const{className:t,...p}=y.getCommonProps(u,"ExitGateCard");return e.jsxs("article",{...p,className:$.default(t,x),...u,ref:g,children:[s?e.jsx(G.default,{objectFit:"cover",aspectRatio:"16/9",src:s,alt:f,srcSet:j,sizes:q,loading:N,fetchPriority:h,className:`${t}__desktop_image`}):null,e.jsxs("div",{className:`${t}__content`,children:[n?e.jsx(a.default,{variant:d.TextVariants.labelMedium,element:"span",className:`${t}__content-label`,children:n}):null,r?e.jsx(a.default,{variant:d.TextVariants.headingLarge,element:"span",className:`${t}__content-title`,children:r}):null,l?e.jsx(a.default,{element:"span",className:`${t}__content-description`,children:l}):null,(i||o)&&c?e.jsx(o,{href:c,children:e.jsx(b.default,{variant:_,tabIndex:-1,className:`${t}__content-link`,children:i})}):null]})]})});m.displayName="ExitGateCard";exports.default=m;
|
|
@@ -5,6 +5,11 @@ export interface ExitGateCardProps extends ComponentProps<'div'> {
|
|
|
5
5
|
* Image src to display at the right side of the article.
|
|
6
6
|
*/
|
|
7
7
|
imageSrc?: string;
|
|
8
|
+
/** Responsive image attributes forwarded to `SeldonImage` (`srcSet`, `sizes`, `loading`, `fetchPriority`). */
|
|
9
|
+
imageSrcSet?: string;
|
|
10
|
+
imageSizes?: string;
|
|
11
|
+
imageLoading?: ComponentProps<'img'>['loading'];
|
|
12
|
+
imageFetchPriority?: ComponentProps<'img'>['fetchPriority'];
|
|
8
13
|
/**
|
|
9
14
|
* Top label for the article.
|
|
10
15
|
*/
|
|
@@ -1,50 +1,58 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import { getCommonProps as
|
|
5
|
-
import
|
|
6
|
-
import { ButtonVariants as
|
|
2
|
+
import E from "../../_virtual/index.js";
|
|
3
|
+
import { forwardRef as v } from "react";
|
|
4
|
+
import { getCommonProps as G } from "../../utils/index.js";
|
|
5
|
+
import b from "../Button/Button.js";
|
|
6
|
+
import { ButtonVariants as j } from "../Button/types.js";
|
|
7
7
|
import "../Link/types.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
8
|
+
import y from "../Link/Link.js";
|
|
9
|
+
import I from "../SeldonImage/SeldonImage.js";
|
|
10
10
|
import { TextVariants as p } from "../Text/types.js";
|
|
11
11
|
import a from "../Text/Text.js";
|
|
12
|
-
const
|
|
12
|
+
const P = v(
|
|
13
13
|
({
|
|
14
14
|
className: f,
|
|
15
15
|
imageSrc: r,
|
|
16
16
|
label: n,
|
|
17
|
-
header:
|
|
18
|
-
description:
|
|
17
|
+
header: o,
|
|
18
|
+
description: m,
|
|
19
19
|
linkLabel: s,
|
|
20
|
-
linkHref:
|
|
21
|
-
linkElement:
|
|
22
|
-
variant: _ =
|
|
20
|
+
linkHref: i,
|
|
21
|
+
linkElement: l = y,
|
|
22
|
+
variant: _ = j.secondary,
|
|
23
23
|
altText: u = "Exit Gate Card Image",
|
|
24
|
+
imageSrcSet: x,
|
|
25
|
+
imageSizes: N,
|
|
26
|
+
imageLoading: h,
|
|
27
|
+
imageFetchPriority: g,
|
|
24
28
|
...c
|
|
25
|
-
},
|
|
26
|
-
const { className: t, ...
|
|
27
|
-
return /* @__PURE__ */ d("article", { ...
|
|
29
|
+
}, $) => {
|
|
30
|
+
const { className: t, ...C } = G(c, "ExitGateCard");
|
|
31
|
+
return /* @__PURE__ */ d("article", { ...C, className: E(t, f), ...c, ref: $, children: [
|
|
28
32
|
r ? /* @__PURE__ */ e(
|
|
29
|
-
|
|
33
|
+
I,
|
|
30
34
|
{
|
|
31
35
|
objectFit: "cover",
|
|
32
36
|
aspectRatio: "16/9",
|
|
33
37
|
src: r,
|
|
34
38
|
alt: u,
|
|
39
|
+
srcSet: x,
|
|
40
|
+
sizes: N,
|
|
41
|
+
loading: h,
|
|
42
|
+
fetchPriority: g,
|
|
35
43
|
className: `${t}__desktop_image`
|
|
36
44
|
}
|
|
37
45
|
) : null,
|
|
38
46
|
/* @__PURE__ */ d("div", { className: `${t}__content`, children: [
|
|
39
47
|
n ? /* @__PURE__ */ e(a, { variant: p.labelMedium, element: "span", className: `${t}__content-label`, children: n }) : null,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
(s ||
|
|
48
|
+
o ? /* @__PURE__ */ e(a, { variant: p.headingLarge, element: "span", className: `${t}__content-title`, children: o }) : null,
|
|
49
|
+
m ? /* @__PURE__ */ e(a, { element: "span", className: `${t}__content-description`, children: m }) : null,
|
|
50
|
+
(s || l) && i ? /* @__PURE__ */ e(l, { href: i, children: /* @__PURE__ */ e(b, { variant: _, tabIndex: -1, className: `${t}__content-link`, children: s }) }) : null
|
|
43
51
|
] })
|
|
44
52
|
] });
|
|
45
53
|
}
|
|
46
54
|
);
|
|
47
|
-
|
|
55
|
+
P.displayName = "ExitGateCard";
|
|
48
56
|
export {
|
|
49
|
-
|
|
57
|
+
P as default
|
|
50
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../_virtual/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../_virtual/index12.cjs"),R=require("../../../../_virtual/index.esm.cjs");var b;function D(){if(b)return u.__exports;b=1,Object.defineProperty(u.__exports,"__esModule",{value:!0}),u.__exports.urlRegex=void 0,u.__exports.validateHeader=T,u.__exports.validateHeaderAndEvent=j;var e=v(R.default);function f(r){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(f=function(c){return c?n:t})(r)}function v(r,t){if(r&&r.__esModule)return r;if(r===null||o(r)!=="object"&&typeof r!="function")return{default:r};var n=f(t);if(n&&n.has(r))return n.get(r);var a={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in r)if(i!=="default"&&Object.prototype.hasOwnProperty.call(r,i)){var d=c?Object.getOwnPropertyDescriptor(r,i):null;d&&(d.get||d.set)?Object.defineProperty(a,i,d):a[i]=r[i]}return a.default=r,n&&n.set(r,a),a}function o(r){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(r)}function l(r,t){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);t&&(a=a.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),n.push.apply(n,a)}return n}function m(r){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(a){O(r,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))})}return r}function O(r,t,n){return t=S(t),t in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n,r}function S(r){var t=x(r,"string");return o(t)==="symbol"?t:String(t)}function x(r,t){if(o(r)!=="object"||r===null)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var a=n.call(r,t);if(o(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}var p=u.__exports.urlRegex=/^(?:([a-z0-9+.-]+):\/\/)(?:\S+(?::\S*)?@)?(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/,s=function(t){var n=t.required;return e.lazy(function(a){return typeof a=="number"?e.number().integer().min(0):typeof a=="string"?e.string().required():!n&&typeof a>"u"?e.mixed().oneOf([void 0]):e.array().required().min(3).max(7).of(e.lazy(function(c,i){var d=i.parent.indexOf(i.value);return[e.number().integer(),e.number().integer().min(1).max(12),e.number().integer().min(1).max(31),e.number().integer().min(0).max(23),e.number().integer().min(0).max(60),e.number().integer().min(0).max(60)][d]}))})},g=e.object().shape({before:e.boolean(),weeks:e.number(),days:e.number(),hours:e.number(),minutes:e.number(),seconds:e.number()}).noUnknown(),y=e.object().shape({name:e.string(),email:e.string().email(),rsvp:e.boolean(),dir:e.string().matches(p),partstat:e.string(),role:e.string(),cutype:e.string(),xNumGuests:e.number()}).noUnknown(),_=e.object().shape({name:e.string(),email:e.string().email(),dir:e.string(),sentBy:e.string()}).noUnknown(),P=e.object().shape({action:e.string().matches(/^(audio|display|email)$/).required(),trigger:e.mixed().required(),description:e.string(),duration:g,repeat:e.number(),attach:e.string(),attachType:e.string(),summary:e.string(),attendee:y,"x-prop":e.mixed(),"iana-prop":e.mixed()}).noUnknown(),h={productId:e.string(),method:e.string(),calName:e.string()},w=e.object().shape(h).noUnknown(),q={summary:e.string(),timestamp:s({required:!1}),title:e.string(),uid:e.string(),sequence:e.number().integer().max(2147483647),start:s({required:!0}),duration:g,startType:e.string().matches(/^(utc|local)$/),startInputType:e.string().matches(/^(utc|local)$/),startOutputType:e.string().matches(/^(utc|local)$/),end:s({required:!1}),endInputType:e.string().matches(/^(utc|local)$/),endOutputType:e.string().matches(/^(utc|local)$/),description:e.string(),url:e.string().matches(p),geo:e.object().shape({lat:e.number(),lon:e.number()}),location:e.string(),status:e.string().matches(/^(TENTATIVE|CANCELLED|CONFIRMED)$/i),categories:e.array().of(e.string()),organizer:_,attendees:e.array().of(y),alarms:e.array().of(P),recurrenceRule:e.string(),busyStatus:e.string().matches(/^(TENTATIVE|FREE|BUSY|OOF)$/i),transp:e.string().matches(/^(TRANSPARENT|OPAQUE)$/i),classification:e.string(),created:s({required:!1}),lastModified:s({required:!1}),exclusionDates:e.array().of(s({required:!0})),htmlContent:e.string()},E=e.object().shape(m(m({},h),q)).test("xor","object should have end or duration (but not both)",function(r){var t=!!r.end,n=!!r.duration;return t&&!n||!t&&n||!t&&!n}).noUnknown();function T(r){try{var t=w.validateSync(r,{abortEarly:!1,strict:!0});return{error:null,value:t}}catch(n){return{error:Object.assign({},n),value:void 0}}}function j(r){try{var t=E.validateSync(r,{abortEarly:!1,strict:!0});return{error:null,value:t}}catch(n){return{error:Object.assign({},n),value:void 0}}}return u.__exports}exports.__require=D;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../_virtual/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../_virtual/index13.cjs"),q=require("./format-date.cjs"),b=require("./set-geolocation.cjs"),y=require("./set-contact.cjs"),O=require("./set-organizer.cjs"),P=require("./set-alarm.cjs"),v=require("./set-description.cjs"),j=require("./set-summary.cjs"),D=require("./format-duration.cjs"),p=require("./fold-line.cjs"),L=require("./set-location.cjs"),S=require("./encode-param-value.cjs");var n;function z(){return n||(n=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeParamValue",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(r,"foldLine",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"formatDate",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"formatDuration",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(r,"setAlarm",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(r,"setContact",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"setDescription",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(r,"setGeolocation",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"setLocation",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"setOrganizer",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"setSummary",{enumerable:!0,get:function(){return l.default}});var i=t(q.__require()),a=t(b.__require()),o=t(y.__require()),c=t(O.__require()),f=t(P.__require()),_=t(v.__require()),l=t(j.__require()),d=t(D.__require()),s=t(p.__require()),m=t(L.__require()),g=t(S.__require());function t(e){return e&&e.__esModule?e:{default:e}}})(u.__exports)),u.__exports}exports.__require=z;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as u } from "../../../../_virtual/
|
|
1
|
+
import { __exports as u } from "../../../../_virtual/index13.js";
|
|
2
2
|
import { __require as g } from "./format-date.js";
|
|
3
3
|
import { __require as b } from "./set-geolocation.js";
|
|
4
4
|
import { __require as p } from "./set-contact.js";
|
|
@@ -48,7 +48,7 @@ input[type='radio'].#{$px}-skeleton {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
button.#{$px}-skeleton {
|
|
51
|
-
border-radius: $radius-
|
|
51
|
+
border-radius: $radius-xs !important;
|
|
52
52
|
|
|
53
53
|
svg path {
|
|
54
54
|
fill: transparent !important;
|
|
@@ -58,7 +58,7 @@ button.#{$px}-skeleton {
|
|
|
58
58
|
.#{$px}-toggle-input {
|
|
59
59
|
.#{$px}-skeleton::before,
|
|
60
60
|
.#{$px}-skeleton::after {
|
|
61
|
-
border-radius: $radius-
|
|
61
|
+
border-radius: $radius-xs !important;
|
|
62
62
|
}
|
|
63
63
|
.#{$px}-skeleton::after {
|
|
64
64
|
display: none !important;
|
|
@@ -10,7 +10,7 @@ $destructive-hover-disabled: color.adjust($warning-default, $alpha: -0.5);
|
|
|
10
10
|
align-items: center;
|
|
11
11
|
background-color: $pure-black;
|
|
12
12
|
border: 2px solid transparent;
|
|
13
|
-
border-radius: $radius-
|
|
13
|
+
border-radius: $radius-xs;
|
|
14
14
|
color: $pure-white;
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
display: inline-flex;
|
|
@@ -98,7 +98,7 @@ $destructive-hover-disabled: color.adjust($warning-default, $alpha: -0.5);
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
&:focus-visible {
|
|
101
|
-
@include focus-ring($border-radius: $radius-
|
|
101
|
+
@include focus-ring($border-radius: $radius-xs);
|
|
102
102
|
|
|
103
103
|
svg {
|
|
104
104
|
fill: $pure-white;
|
|
@@ -140,7 +140,7 @@ $destructive-hover-disabled: color.adjust($warning-default, $alpha: -0.5);
|
|
|
140
140
|
z-index: 0;
|
|
141
141
|
|
|
142
142
|
&::before {
|
|
143
|
-
border-radius: $radius-
|
|
143
|
+
border-radius: $radius-xs;
|
|
144
144
|
box-sizing: border-box;
|
|
145
145
|
content: '';
|
|
146
146
|
display: inline-block;
|
|
@@ -154,7 +154,7 @@ $destructive-hover-disabled: color.adjust($warning-default, $alpha: -0.5);
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
&:focus-visible {
|
|
157
|
-
@include focus-ring($border-radius: $radius-
|
|
157
|
+
@include focus-ring($border-radius: $radius-xs);
|
|
158
158
|
|
|
159
159
|
background-color: $pure-white;
|
|
160
160
|
}
|
|
@@ -188,7 +188,7 @@ $destructive-hover-disabled: color.adjust($warning-default, $alpha: -0.5);
|
|
|
188
188
|
|
|
189
189
|
&:focus-visible {
|
|
190
190
|
background-color: $white-100;
|
|
191
|
-
border-radius: $radius-
|
|
191
|
+
border-radius: $radius-xs;
|
|
192
192
|
outline: 2px solid $warning-default;
|
|
193
193
|
outline-offset: 4px;
|
|
194
194
|
}
|
|
@@ -252,7 +252,7 @@ $destructive-hover-disabled: color.adjust($warning-default, $alpha: -0.5);
|
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
&:focus-visible {
|
|
255
|
-
@include focus-ring($border-radius: $radius-
|
|
255
|
+
@include focus-ring($border-radius: $radius-xs);
|
|
256
256
|
|
|
257
257
|
background-color: $pure-white;
|
|
258
258
|
}
|