@purpurds/notification-banner
Advanced tools
Comparing version 5.13.0 to 5.14.0
Name: @purpurds/button | ||
Version: 5.12.0 | ||
Version: 5.13.0 | ||
License: AGPL-3.0-only | ||
@@ -9,3 +9,3 @@ Private: false | ||
Name: @purpurds/grid | ||
Version: 5.12.0 | ||
Version: 5.13.0 | ||
License: AGPL-3.0-only | ||
@@ -17,3 +17,3 @@ Private: false | ||
Name: @purpurds/heading | ||
Version: 5.12.0 | ||
Version: 5.13.0 | ||
License: AGPL-3.0-only | ||
@@ -25,3 +25,3 @@ Private: false | ||
Name: @purpurds/icon | ||
Version: 5.12.0 | ||
Version: 5.13.0 | ||
License: AGPL-3.0-only | ||
@@ -28,0 +28,0 @@ Private: false |
@@ -1,14 +0,14 @@ | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("react/jsx-runtime"),z=require("react"),V={SM:"sm",MD:"md",LG:"lg"};function W(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var M={exports:{}};/*! | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("react/jsx-runtime"),z=require("react"),U={SM:"sm",MD:"md",LG:"lg"};function V(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var M={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(t){(function(){var e={}.hasOwnProperty;function u(){for(var r="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(r=p(r,o(i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var i in r)e.call(r,i)&&r[i]&&(n=p(n,i));return n}function p(r,n){return n?r?r+" "+n:r+n:r}t.exports?(u.default=u,t.exports=u):window.classNames=u})()})(M);var F=M.exports;const q=W(F),J="_rotate_1xozj_1",K="_dash_1xozj_1",v={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:J,"purpur-spinner--xxs":"_purpur-spinner--xxs_1xozj_4","purpur-spinner--xs":"_purpur-spinner--xs_1xozj_8","purpur-spinner--sm":"_purpur-spinner--sm_1xozj_12","purpur-spinner--md":"_purpur-spinner--md_1xozj_16","purpur-spinner--lg":"_purpur-spinner--lg_1xozj_20","purpur-spinner__circle":"_purpur-spinner__circle_1xozj_24",dash:K,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},b="purpur-spinner",Q={XXS:"xxs",XS:"xs",SM:"sm",MD:"md",LG:"lg"},Y=({["data-testid"]:t,disabled:e=!1,negative:u=!1,size:o=Q.SM,...p})=>_.jsx("div",{className:q([v[b],v[`${b}--${o}`]]),"data-testid":t,...p,children:_.jsx("svg",{viewBox:"0 0 50 50",children:_.jsx("circle",{className:q(v[`${b}__circle`],{[v[`${b}__circle--disabled`]]:e,[v[`${b}__circle--negative`]]:u}),cx:"25",cy:"25",r:"20"})})});function rr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var k={exports:{}};/*! | ||
*/(function(t){(function(){var e={}.hasOwnProperty;function u(){for(var r="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(r=p(r,o(i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var i in r)e.call(r,i)&&r[i]&&(n=p(n,i));return n}function p(r,n){return n?r?r+" "+n:r+n:r}t.exports?(u.default=u,t.exports=u):window.classNames=u})()})(M);var J=M.exports;const q=V(J),W="_rotate_1xozj_1",Y="_dash_1xozj_1",v={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:W,"purpur-spinner--xxs":"_purpur-spinner--xxs_1xozj_4","purpur-spinner--xs":"_purpur-spinner--xs_1xozj_8","purpur-spinner--sm":"_purpur-spinner--sm_1xozj_12","purpur-spinner--md":"_purpur-spinner--md_1xozj_16","purpur-spinner--lg":"_purpur-spinner--lg_1xozj_20","purpur-spinner__circle":"_purpur-spinner__circle_1xozj_24",dash:Y,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},b="purpur-spinner",K={XXS:"xxs",XS:"xs",SM:"sm",MD:"md",LG:"lg"},Q=({["data-testid"]:t,disabled:e=!1,negative:u=!1,size:o=K.SM,...p})=>_.jsx("div",{className:q([v[b],v[`${b}--${o}`]]),"data-testid":t,...p,children:_.jsx("svg",{viewBox:"0 0 50 50",children:_.jsx("circle",{className:q(v[`${b}__circle`],{[v[`${b}__circle--disabled`]]:e,[v[`${b}__circle--negative`]]:u}),cx:"25",cy:"25",r:"20"})})});function rr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var k={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(t){(function(){var e={}.hasOwnProperty;function u(){for(var r="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(r=p(r,o.call(this,i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var i in r)e.call(r,i)&&r[i]&&(n=p(n,this&&this[i]||i));return n}function p(r,n){return n?r?r+" "+n:r+n:r}t.exports?(u.default=u,t.exports=u):window.classNames=u})()})(k);var nr=k.exports;const tr=rr(nr),ir={"purpur-button":"_purpur-button_1acxn_1","purpur-button--sm":"_purpur-button--sm_1acxn_33","purpur-button--icon-only":"_purpur-button--icon-only_1acxn_36","purpur-button--md":"_purpur-button--md_1acxn_39","purpur-button--lg":"_purpur-button--lg_1acxn_45","purpur-button--full-width":"_purpur-button--full-width_1acxn_51","purpur-button--primary":"_purpur-button--primary_1acxn_54","purpur-button--disabled":"_purpur-button--disabled_1acxn_58","purpur-button--primary-negative":"_purpur-button--primary-negative_1acxn_64","purpur-button--secondary":"_purpur-button--secondary_1acxn_76","purpur-button--secondary-negative":"_purpur-button--secondary-negative_1acxn_87","purpur-button--expressive":"_purpur-button--expressive_1acxn_98","purpur-button--expressive-negative":"_purpur-button--expressive-negative_1acxn_108","purpur-button--negative":"_purpur-button--negative_1acxn_120","purpur-button--destructive":"_purpur-button--destructive_1acxn_127","purpur-button--destructive-negative":"_purpur-button--destructive-negative_1acxn_137","purpur-button--tertiary-purple":"_purpur-button--tertiary-purple_1acxn_147","purpur-button--tertiary-purple-negative":"_purpur-button--tertiary-purple-negative_1acxn_160","purpur-button--text-negative":"_purpur-button--text-negative_1acxn_175","purpur-button--text":"_purpur-button--text_1acxn_175"},ur=tr.bind(ir),g="purpur-button",er=({children:t,className:e,["data-testid"]:u,disabled:o=!1,fullWidth:p=!1,iconOnly:r,loading:n=!1,negative:i=!1,onClick:a,size:d="md",variant:c,type:f="button",...l},x)=>{if(r&&c==="destructive")return null;const w=ur([g,`${g}--${i?`${c}-negative`:c}`,`${g}--${d}`],{[`${g}--icon-only`]:r,[`${g}--negative`]:i,[`${g}--full-width`]:p,[`${g}--disabled`]:o||n},e),N=O=>{o||n?O.preventDefault():a&&a(O)},$=!!l["aria-disabled"]||o||n;return _.jsxs("button",{className:w,"data-testid":u,type:f,ref:x,"aria-disabled":$,onClick:N,...l,children:[n&&_.jsx(Y,{size:d===V.LG?"xs":"xxs",negative:i,disabled:$})," ",t]})},P=z.forwardRef(er);P.displayName="Button";function pr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var A={exports:{}};/*! | ||
*/(function(t){(function(){var e={}.hasOwnProperty;function u(){for(var r="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(r=p(r,o.call(this,i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var i in r)e.call(r,i)&&r[i]&&(n=p(n,this&&this[i]||i));return n}function p(r,n){return n?r?r+" "+n:r+n:r}t.exports?(u.default=u,t.exports=u):window.classNames=u})()})(k);var nr=k.exports;const tr=rr(nr),ir={"purpur-button":"_purpur-button_1acxn_1","purpur-button--sm":"_purpur-button--sm_1acxn_33","purpur-button--icon-only":"_purpur-button--icon-only_1acxn_36","purpur-button--md":"_purpur-button--md_1acxn_39","purpur-button--lg":"_purpur-button--lg_1acxn_45","purpur-button--full-width":"_purpur-button--full-width_1acxn_51","purpur-button--primary":"_purpur-button--primary_1acxn_54","purpur-button--disabled":"_purpur-button--disabled_1acxn_58","purpur-button--primary-negative":"_purpur-button--primary-negative_1acxn_64","purpur-button--secondary":"_purpur-button--secondary_1acxn_76","purpur-button--secondary-negative":"_purpur-button--secondary-negative_1acxn_87","purpur-button--expressive":"_purpur-button--expressive_1acxn_98","purpur-button--expressive-negative":"_purpur-button--expressive-negative_1acxn_108","purpur-button--negative":"_purpur-button--negative_1acxn_120","purpur-button--destructive":"_purpur-button--destructive_1acxn_127","purpur-button--destructive-negative":"_purpur-button--destructive-negative_1acxn_137","purpur-button--tertiary-purple":"_purpur-button--tertiary-purple_1acxn_147","purpur-button--tertiary-purple-negative":"_purpur-button--tertiary-purple-negative_1acxn_160","purpur-button--text-negative":"_purpur-button--text-negative_1acxn_175","purpur-button--text":"_purpur-button--text_1acxn_175"},ur=tr.bind(ir),g="purpur-button",er=({children:t,className:e,["data-testid"]:u,disabled:o=!1,fullWidth:p=!1,iconOnly:r,loading:n=!1,negative:i=!1,onClick:a,size:d="md",variant:c,type:f="button",...l},x)=>{if(r&&c==="destructive")return null;const w=ur([g,`${g}--${i?`${c}-negative`:c}`,`${g}--${d}`],{[`${g}--icon-only`]:r,[`${g}--negative`]:i,[`${g}--full-width`]:p,[`${g}--disabled`]:o||n},e),N=O=>{o||n?O.preventDefault():a&&a(O)},$=!!l["aria-disabled"]||o||n;return _.jsxs("button",{className:w,"data-testid":u,type:f,ref:x,"aria-disabled":$,onClick:N,...l,children:[n&&_.jsx(Q,{size:d===U.LG?"xs":"xxs",negative:i,disabled:$})," ",t]})},A=z.forwardRef(er);A.displayName="Button";function pr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var P={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(t){(function(){var e={}.hasOwnProperty;function u(){for(var r="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(r=p(r,o.call(this,i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var i in r)e.call(r,i)&&r[i]&&(n=p(n,this&&this[i]||i));return n}function p(r,n){return n?r?r+" "+n:r+n:r}t.exports?(u.default=u,t.exports=u):window.classNames=u})()})(A);var or=A.exports;const I=pr(or),_r={"purpur-grid-item":"_purpur-grid-item_zx9tz_1","purpur-grid-item--no-col-gap":"_purpur-grid-item--no-col-gap_zx9tz_6","purpur-grid-item-colspan-sm-4":"_purpur-grid-item-colspan-sm-4_zx9tz_24","purpur-grid-item-colspan-sm-3":"_purpur-grid-item-colspan-sm-3_zx9tz_27","purpur-grid-item-colspan-sm-2":"_purpur-grid-item-colspan-sm-2_zx9tz_30","purpur-grid-item-colspan-sm-1":"_purpur-grid-item-colspan-sm-1_zx9tz_33","purpur-grid-item-colspan-md-8":"_purpur-grid-item-colspan-md-8_zx9tz_37","purpur-grid-item-colspan-md-7":"_purpur-grid-item-colspan-md-7_zx9tz_42","purpur-grid-item-colspan-md-6":"_purpur-grid-item-colspan-md-6_zx9tz_47","purpur-grid-item-colspan-md-5":"_purpur-grid-item-colspan-md-5_zx9tz_52","purpur-grid-item-colspan-md-4":"_purpur-grid-item-colspan-md-4_zx9tz_57","purpur-grid-item-colspan-md-3":"_purpur-grid-item-colspan-md-3_zx9tz_62","purpur-grid-item-colspan-md-2":"_purpur-grid-item-colspan-md-2_zx9tz_67","purpur-grid-item-colspan-md-1":"_purpur-grid-item-colspan-md-1_zx9tz_72","purpur-grid-item-colspan-lg-12":"_purpur-grid-item-colspan-lg-12_zx9tz_77","purpur-grid-item-colspan-lg-11":"_purpur-grid-item-colspan-lg-11_zx9tz_82","purpur-grid-item-colspan-lg-10":"_purpur-grid-item-colspan-lg-10_zx9tz_87","purpur-grid-item-colspan-lg-9":"_purpur-grid-item-colspan-lg-9_zx9tz_92","purpur-grid-item-colspan-lg-8":"_purpur-grid-item-colspan-lg-8_zx9tz_97","purpur-grid-item-colspan-lg-7":"_purpur-grid-item-colspan-lg-7_zx9tz_102","purpur-grid-item-colspan-lg-6":"_purpur-grid-item-colspan-lg-6_zx9tz_107","purpur-grid-item-colspan-lg-5":"_purpur-grid-item-colspan-lg-5_zx9tz_112","purpur-grid-item-colspan-lg-4":"_purpur-grid-item-colspan-lg-4_zx9tz_117","purpur-grid-item-colspan-lg-3":"_purpur-grid-item-colspan-lg-3_zx9tz_122","purpur-grid-item-colspan-lg-2":"_purpur-grid-item-colspan-lg-2_zx9tz_127","purpur-grid-item-colspan-lg-1":"_purpur-grid-item-colspan-lg-1_zx9tz_77"},ar=I.bind(_r),y="purpur-grid-item",C=({children:t,className:e,["data-testid"]:u,colSpanSm:o=4,colSpanMd:p=8,colSpanLg:r=12,noColGap:n=!1})=>{const i=ar([e,y,{[`${y}--no-col-gap`]:n,[`${y}-colspan-sm-${o}`]:o,[`${y}-colspan-md-${p}`]:p,[`${y}-colspan-lg-${r}`]:r}]);return _.jsx("div",{className:i,"data-testid":u,children:t})},lr=t=>!!t&&z.isValidElement(t)&&(!!t.props.colSpanSm||!!t.props.colSpanMd||!!t.props.colSpanLg),sr={"purpur-grid":"_purpur-grid_113du_1","purpur-grid__inner":"_purpur-grid__inner_113du_7","purpur-grid__inner--no-gap":"_purpur-grid__inner--no-gap_113du_14","purpur-grid__inner--no-row-gap":"_purpur-grid__inner--no-row-gap_113du_14","purpur-grid__inner--grid":"_purpur-grid__inner--grid_113du_38","purpur-grid__inner--no-col-gap":"_purpur-grid__inner--no-col-gap_113du_42","purpur-grid__inner-col-sm-4":"_purpur-grid__inner-col-sm-4_113du_45","purpur-grid__inner-col-sm-3":"_purpur-grid__inner-col-sm-3_113du_48","purpur-grid__inner-col-sm-2":"_purpur-grid__inner-col-sm-2_113du_51","purpur-grid__inner-col-md-8":"_purpur-grid__inner-col-md-8_113du_55","purpur-grid__inner-col-md-7":"_purpur-grid__inner-col-md-7_113du_60","purpur-grid__inner-col-md-6":"_purpur-grid__inner-col-md-6_113du_65","purpur-grid__inner-col-md-5":"_purpur-grid__inner-col-md-5_113du_70","purpur-grid__inner-col-md-4":"_purpur-grid__inner-col-md-4_113du_75","purpur-grid__inner-col-md-3":"_purpur-grid__inner-col-md-3_113du_80","purpur-grid__inner-col-md-2":"_purpur-grid__inner-col-md-2_113du_85","purpur-grid__inner-col-lg-12":"_purpur-grid__inner-col-lg-12_113du_90","purpur-grid__inner-col-lg-11":"_purpur-grid__inner-col-lg-11_113du_95","purpur-grid__inner-col-lg-10":"_purpur-grid__inner-col-lg-10_113du_100","purpur-grid__inner-col-lg-9":"_purpur-grid__inner-col-lg-9_113du_105","purpur-grid__inner-col-lg-8":"_purpur-grid__inner-col-lg-8_113du_110","purpur-grid__inner-col-lg-7":"_purpur-grid__inner-col-lg-7_113du_115","purpur-grid__inner-col-lg-6":"_purpur-grid__inner-col-lg-6_113du_120","purpur-grid__inner-col-lg-5":"_purpur-grid__inner-col-lg-5_113du_125","purpur-grid__inner-col-lg-4":"_purpur-grid__inner-col-lg-4_113du_130","purpur-grid__inner-col-lg-3":"_purpur-grid__inner-col-lg-3_113du_135","purpur-grid__inner-col-lg-2":"_purpur-grid__inner-col-lg-2_113du_140","purpur-grid__inner--flex":"_purpur-grid__inner--flex_113du_144"},T=I.bind(sr),dr="purpur-grid",s="purpur-grid__inner",E=({children:t,className:e,containerClassName:u,["data-testid"]:o,colsSm:p=1,colsMd:r=1,colsLg:n=1,noGap:i=!1,noColGap:a=!1,noRowGap:d=!1,...c})=>{const f=z.Children.toArray(t).filter(lr),l=f.length,x=T([u,dr]),w=T([e,s,{[`${s}--grid`]:!l,[`${s}--flex`]:l,[`${s}--no-gap`]:i,[`${s}--no-col-gap`]:a,[`${s}--no-row-gap`]:d,[`${s}-col-sm-${p}`]:p>1&&!l,[`${s}-col-md-${r}`]:r>1&&!l,[`${s}-col-lg-${n}`]:n>1&&!l}]);return _.jsx("div",{className:x,"data-testid":o,...c,children:_.jsx("div",{className:w,children:l?z.Children.map(f,({props:{children:N,...$}})=>_.jsx(C,{...$,noColGap:i||a,children:N})):t})})};E.Item=C;function cr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var B={exports:{}};/*! | ||
*/(function(t){(function(){var e={}.hasOwnProperty;function u(){for(var r="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(r=p(r,o.call(this,i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var i in r)e.call(r,i)&&r[i]&&(n=p(n,this&&this[i]||i));return n}function p(r,n){return n?r?r+" "+n:r+n:r}t.exports?(u.default=u,t.exports=u):window.classNames=u})()})(P);var or=P.exports;const C=pr(or),_r={"purpur-grid-item":"_purpur-grid-item_zx9tz_1","purpur-grid-item--no-col-gap":"_purpur-grid-item--no-col-gap_zx9tz_6","purpur-grid-item-colspan-sm-4":"_purpur-grid-item-colspan-sm-4_zx9tz_24","purpur-grid-item-colspan-sm-3":"_purpur-grid-item-colspan-sm-3_zx9tz_27","purpur-grid-item-colspan-sm-2":"_purpur-grid-item-colspan-sm-2_zx9tz_30","purpur-grid-item-colspan-sm-1":"_purpur-grid-item-colspan-sm-1_zx9tz_33","purpur-grid-item-colspan-md-8":"_purpur-grid-item-colspan-md-8_zx9tz_37","purpur-grid-item-colspan-md-7":"_purpur-grid-item-colspan-md-7_zx9tz_42","purpur-grid-item-colspan-md-6":"_purpur-grid-item-colspan-md-6_zx9tz_47","purpur-grid-item-colspan-md-5":"_purpur-grid-item-colspan-md-5_zx9tz_52","purpur-grid-item-colspan-md-4":"_purpur-grid-item-colspan-md-4_zx9tz_57","purpur-grid-item-colspan-md-3":"_purpur-grid-item-colspan-md-3_zx9tz_62","purpur-grid-item-colspan-md-2":"_purpur-grid-item-colspan-md-2_zx9tz_67","purpur-grid-item-colspan-md-1":"_purpur-grid-item-colspan-md-1_zx9tz_72","purpur-grid-item-colspan-lg-12":"_purpur-grid-item-colspan-lg-12_zx9tz_77","purpur-grid-item-colspan-lg-11":"_purpur-grid-item-colspan-lg-11_zx9tz_82","purpur-grid-item-colspan-lg-10":"_purpur-grid-item-colspan-lg-10_zx9tz_87","purpur-grid-item-colspan-lg-9":"_purpur-grid-item-colspan-lg-9_zx9tz_92","purpur-grid-item-colspan-lg-8":"_purpur-grid-item-colspan-lg-8_zx9tz_97","purpur-grid-item-colspan-lg-7":"_purpur-grid-item-colspan-lg-7_zx9tz_102","purpur-grid-item-colspan-lg-6":"_purpur-grid-item-colspan-lg-6_zx9tz_107","purpur-grid-item-colspan-lg-5":"_purpur-grid-item-colspan-lg-5_zx9tz_112","purpur-grid-item-colspan-lg-4":"_purpur-grid-item-colspan-lg-4_zx9tz_117","purpur-grid-item-colspan-lg-3":"_purpur-grid-item-colspan-lg-3_zx9tz_122","purpur-grid-item-colspan-lg-2":"_purpur-grid-item-colspan-lg-2_zx9tz_127","purpur-grid-item-colspan-lg-1":"_purpur-grid-item-colspan-lg-1_zx9tz_77"},ar=C.bind(_r),y="purpur-grid-item",I=({children:t,className:e,["data-testid"]:u,colSpanSm:o=4,colSpanMd:p=8,colSpanLg:r=12,noColGap:n=!1})=>{const i=ar([e,y,{[`${y}--no-col-gap`]:n,[`${y}-colspan-sm-${o}`]:o,[`${y}-colspan-md-${p}`]:p,[`${y}-colspan-lg-${r}`]:r}]);return _.jsx("div",{className:i,"data-testid":u,children:t})},lr=t=>!!t&&z.isValidElement(t)&&(!!t.props.colSpanSm||!!t.props.colSpanMd||!!t.props.colSpanLg),sr={"purpur-grid":"_purpur-grid_113du_1","purpur-grid__inner":"_purpur-grid__inner_113du_7","purpur-grid__inner--no-gap":"_purpur-grid__inner--no-gap_113du_14","purpur-grid__inner--no-row-gap":"_purpur-grid__inner--no-row-gap_113du_14","purpur-grid__inner--grid":"_purpur-grid__inner--grid_113du_38","purpur-grid__inner--no-col-gap":"_purpur-grid__inner--no-col-gap_113du_42","purpur-grid__inner-col-sm-4":"_purpur-grid__inner-col-sm-4_113du_45","purpur-grid__inner-col-sm-3":"_purpur-grid__inner-col-sm-3_113du_48","purpur-grid__inner-col-sm-2":"_purpur-grid__inner-col-sm-2_113du_51","purpur-grid__inner-col-md-8":"_purpur-grid__inner-col-md-8_113du_55","purpur-grid__inner-col-md-7":"_purpur-grid__inner-col-md-7_113du_60","purpur-grid__inner-col-md-6":"_purpur-grid__inner-col-md-6_113du_65","purpur-grid__inner-col-md-5":"_purpur-grid__inner-col-md-5_113du_70","purpur-grid__inner-col-md-4":"_purpur-grid__inner-col-md-4_113du_75","purpur-grid__inner-col-md-3":"_purpur-grid__inner-col-md-3_113du_80","purpur-grid__inner-col-md-2":"_purpur-grid__inner-col-md-2_113du_85","purpur-grid__inner-col-lg-12":"_purpur-grid__inner-col-lg-12_113du_90","purpur-grid__inner-col-lg-11":"_purpur-grid__inner-col-lg-11_113du_95","purpur-grid__inner-col-lg-10":"_purpur-grid__inner-col-lg-10_113du_100","purpur-grid__inner-col-lg-9":"_purpur-grid__inner-col-lg-9_113du_105","purpur-grid__inner-col-lg-8":"_purpur-grid__inner-col-lg-8_113du_110","purpur-grid__inner-col-lg-7":"_purpur-grid__inner-col-lg-7_113du_115","purpur-grid__inner-col-lg-6":"_purpur-grid__inner-col-lg-6_113du_120","purpur-grid__inner-col-lg-5":"_purpur-grid__inner-col-lg-5_113du_125","purpur-grid__inner-col-lg-4":"_purpur-grid__inner-col-lg-4_113du_130","purpur-grid__inner-col-lg-3":"_purpur-grid__inner-col-lg-3_113du_135","purpur-grid__inner-col-lg-2":"_purpur-grid__inner-col-lg-2_113du_140","purpur-grid__inner--flex":"_purpur-grid__inner--flex_113du_144"},T=C.bind(sr),dr="purpur-grid",s="purpur-grid__inner",E=({children:t,className:e,containerClassName:u,["data-testid"]:o,colsSm:p=1,colsMd:r=1,colsLg:n=1,noGap:i=!1,noColGap:a=!1,noRowGap:d=!1,...c})=>{const f=z.Children.toArray(t).filter(lr),l=f.length,x=T([u,dr]),w=T([e,s,{[`${s}--grid`]:!l,[`${s}--flex`]:l,[`${s}--no-gap`]:i,[`${s}--no-col-gap`]:a,[`${s}--no-row-gap`]:d,[`${s}-col-sm-${p}`]:p>1&&!l,[`${s}-col-md-${r}`]:r>1&&!l,[`${s}-col-lg-${n}`]:n>1&&!l}]);return _.jsx("div",{className:x,"data-testid":o,...c,children:_.jsx("div",{className:w,children:l?z.Children.map(f,({props:{children:N,...$}})=>_.jsx(I,{...$,noColGap:i||a,children:N})):t})})};E.Item=I;function cr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var B={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
@@ -21,7 +21,7 @@ Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(t){(function(){var e={}.hasOwnProperty;function u(){for(var r="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(r=p(r,o.call(this,i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var i in r)e.call(r,i)&&r[i]&&(n=p(n,this&&this[i]||i));return n}function p(r,n){return n?r?r+" "+n:r+n:r}t.exports?(u.default=u,t.exports=u):window.classNames=u})()})(D);var xr=D.exports;const vr=hr(xr),br={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},yr={name:"close",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M4.864 4.864a.9.9 0 0 1 1.273 0L12 10.727l5.864-5.863a.9.9 0 0 1 1.272 1.272L13.273 12l5.863 5.864a.9.9 0 1 1-1.272 1.272L12 13.273l-5.863 5.863a.9.9 0 0 1-1.273-1.272L10.727 12 4.864 6.136a.9.9 0 0 1 0-1.272Z" clip-rule="evenodd"/></svg>',keywords:["close"],category:"utility"},zr={name:"info",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["info"],category:"status"},R=t=>_.jsx(X,{...t,svg:yr});R.displayName="IconClose";const Z=t=>_.jsx(X,{...t,svg:zr});Z.displayName="IconInfo";const $r=vr.bind(br),L="purpur-icon",jr="md",Sr=t=>t.filter(e=>Object.keys(e).length>=1).map(e=>`${e.name}="${e.value}"`).join(" "),wr=({content:t="",title:e}={})=>{const u=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},e?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],o=e?`<title>${e}</title>`:"";return`<svg ${Sr(u)}>${o}${t}</svg>`},Nr=t=>t.replace(/<(\/?)svg([^>]*)>/g,"").trim(),X=({["data-testid"]:t,svg:e,allyTitle:u,className:o,size:p=jr,...r})=>{const n=wr({content:Nr(e.svg),title:u}),i=$r(o,L,`${L}--${p}`);return _.jsx("span",{"aria-label":u,className:i,"data-testid":t,dangerouslySetInnerHTML:{__html:n},...r})};function Or(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var H={exports:{}};/*! | ||
*/(function(t){(function(){var e={}.hasOwnProperty;function u(){for(var r="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(r=p(r,o.call(this,i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var i in r)e.call(r,i)&&r[i]&&(n=p(n,this&&this[i]||i));return n}function p(r,n){return n?r?r+" "+n:r+n:r}t.exports?(u.default=u,t.exports=u):window.classNames=u})()})(D);var xr=D.exports;const vr=hr(xr),br={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},yr={name:"close",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M4.864 4.864a.9.9 0 0 1 1.273 0L12 10.727l5.864-5.863a.9.9 0 0 1 1.272 1.272L13.273 12l5.863 5.864a.9.9 0 1 1-1.272 1.272L12 13.273l-5.863 5.863a.9.9 0 0 1-1.273-1.272L10.727 12 4.864 6.136a.9.9 0 0 1 0-1.272Z" clip-rule="evenodd"/></svg>',keywords:["close"],category:"utility"},zr={name:"info",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["info"],category:"status"},R=t=>_.jsx(Z,{...t,svg:yr});R.displayName="IconClose";const X=t=>_.jsx(Z,{...t,svg:zr});X.displayName="IconInfo";const $r=vr.bind(br),L="purpur-icon",jr="md",Sr=t=>t.filter(e=>Object.keys(e).length>=1).map(e=>`${e.name}="${e.value}"`).join(" "),wr=({content:t="",title:e}={})=>{const u=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},e?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],o=e?`<title>${e}</title>`:"";return`<svg ${Sr(u)}>${o}${t}</svg>`},Nr=t=>t.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Z=({["data-testid"]:t,svg:e,allyTitle:u,className:o,size:p=jr,...r})=>{const n=wr({content:Nr(e.svg),title:u}),i=$r(o,L,`${L}--${p}`);return _.jsx("span",{"aria-label":u,className:i,"data-testid":t,dangerouslySetInnerHTML:{__html:n},...r})};function Or(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var H={exports:{}};/*! | ||
Copyright (c) 2018 Jed Watson. | ||
Licensed under the MIT License (MIT), see | ||
http://jedwatson.github.io/classnames | ||
*/(function(t){(function(){var e={}.hasOwnProperty;function u(){for(var r="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(r=p(r,o.call(this,i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var i in r)e.call(r,i)&&r[i]&&(n=p(n,this&&this[i]||i));return n}function p(r,n){return n?r?r+" "+n:r+n:r}t.exports?(u.default=u,t.exports=u):window.classNames=u})()})(H);var qr=H.exports;const Tr=Or(qr),Lr={"purpur-notification-banner":"_purpur-notification-banner_llblm_1","purpur-notification-banner__container":"_purpur-notification-banner__container_llblm_6","purpur-notification-banner__content":"_purpur-notification-banner__content_llblm_11","purpur-notification-banner__icon":"_purpur-notification-banner__icon_llblm_16","purpur-notification-banner__heading":"_purpur-notification-banner__heading_llblm_19","purpur-notification-banner__heading--no-overlap":"_purpur-notification-banner__heading--no-overlap_llblm_22","purpur-notification-banner__close-button":"_purpur-notification-banner__close-button_llblm_25"},h=Tr.bind(Lr),Mr=["h1","h2","h3","h4","h5","h6"],m="purpur-notification-banner",U=z.forwardRef(({["data-testid"]:t,children:e,className:u,closeButtonAllyLabel:o,description:p,hideIcon:r,icon:n,link:i,onClose:a,titleTag:d="h4",title:c,...f},l)=>{const x=h([u,m]);return _.jsx("div",{...f,className:x,role:"alert",ref:l,"data-testid":t,children:_.jsx(E,{children:_.jsxs("div",{className:h(`${m}__container`),children:[r?null:n||_.jsx(Z,{className:h(`${m}__icon`),size:"sm"}),_.jsxs("div",{className:h(`${m}__content`),children:[_.jsx(G,{tag:d,variant:"subsection-100",className:h([`${m}__heading`,{[`${m}__heading--no-overlap`]:a}]),children:c}),_.jsxs("div",{children:[p," ",i]})]}),e,a&&_.jsx(P,{"data-testid":t?`${t}-close-button`:void 0,variant:"tertiary-purple",size:"sm",iconOnly:!0,"aria-label":o,onClick:a,className:h(`${m}__close-button`),children:_.jsx(R,{size:"sm"})})]})})})});U.displayName="NotificationBanner";exports.NotificationBanner=U;exports.tagTypes=Mr; | ||
*/(function(t){(function(){var e={}.hasOwnProperty;function u(){for(var r="",n=0;n<arguments.length;n++){var i=arguments[n];i&&(r=p(r,o.call(this,i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var i in r)e.call(r,i)&&r[i]&&(n=p(n,this&&this[i]||i));return n}function p(r,n){return n?r?r+" "+n:r+n:r}t.exports?(u.default=u,t.exports=u):window.classNames=u})()})(H);var qr=H.exports;const Tr=Or(qr),Lr={"purpur-notification-banner":"_purpur-notification-banner_llblm_1","purpur-notification-banner__container":"_purpur-notification-banner__container_llblm_6","purpur-notification-banner__content":"_purpur-notification-banner__content_llblm_11","purpur-notification-banner__icon":"_purpur-notification-banner__icon_llblm_16","purpur-notification-banner__heading":"_purpur-notification-banner__heading_llblm_19","purpur-notification-banner__heading--no-overlap":"_purpur-notification-banner__heading--no-overlap_llblm_22","purpur-notification-banner__close-button":"_purpur-notification-banner__close-button_llblm_25"},h=Tr.bind(Lr),Mr=["h1","h2","h3","h4","h5","h6"],m="purpur-notification-banner",F=z.forwardRef(({["data-testid"]:t,children:e,className:u,closeButtonAllyLabel:o,description:p,hideIcon:r,icon:n,link:i,onClose:a,titleTag:d="h4",title:c,...f},l)=>{const x=h([u,m]);return _.jsx("div",{...f,className:x,role:"alert",ref:l,"data-testid":t,children:_.jsx(E,{children:_.jsxs("div",{className:h(`${m}__container`),children:[r?null:n||_.jsx(X,{className:h(`${m}__icon`),size:"sm"}),_.jsxs("div",{className:h(`${m}__content`),children:[_.jsx(G,{tag:d,variant:"subsection-100",className:h([`${m}__heading`,{[`${m}__heading--no-overlap`]:a}]),children:c}),_.jsxs("div",{children:[p," ",i]})]}),e,a&&_.jsx(A,{"data-testid":t?`${t}-close-button`:void 0,variant:"tertiary-purple",size:"sm",iconOnly:!0,"aria-label":o,onClick:a,className:h(`${m}__close-button`),children:_.jsx(R,{size:"sm"})})]})})})});F.displayName="NotificationBanner";exports.NotificationBanner=F;exports.tagTypes=Mr; | ||
//# sourceMappingURL=notification-banner.cjs.js.map |
import { jsxs as S, jsx as o } from "react/jsx-runtime"; | ||
import { forwardRef as M, Children as q, isValidElement as W } from "react"; | ||
const F = { | ||
import { forwardRef as k, Children as q, isValidElement as V } from "react"; | ||
const J = { | ||
SM: "sm", | ||
@@ -8,3 +8,3 @@ MD: "md", | ||
}; | ||
function J(t) { | ||
function W(t) { | ||
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; | ||
@@ -48,6 +48,6 @@ } | ||
})(A); | ||
var K = A.exports; | ||
const T = /* @__PURE__ */ J(K), Q = "_rotate_1xozj_1", Y = "_dash_1xozj_1", x = { | ||
var Y = A.exports; | ||
const L = /* @__PURE__ */ W(Y), K = "_rotate_1xozj_1", Q = "_dash_1xozj_1", x = { | ||
"purpur-spinner": "_purpur-spinner_1xozj_1", | ||
rotate: Q, | ||
rotate: K, | ||
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4", | ||
@@ -59,3 +59,3 @@ "purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8", | ||
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24", | ||
dash: Y, | ||
dash: Q, | ||
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33", | ||
@@ -78,3 +78,3 @@ "purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36" | ||
{ | ||
className: T([x[b], x[`${b}--${_}`]]), | ||
className: L([x[b], x[`${b}--${_}`]]), | ||
"data-testid": t, | ||
@@ -85,3 +85,3 @@ ...e, | ||
{ | ||
className: T(x[`${b}__circle`], { | ||
className: L(x[`${b}__circle`], { | ||
[x[`${b}__circle--disabled`]]: p, | ||
@@ -202,3 +202,3 @@ [x[`${b}__circle--negative`]]: u | ||
children: [ | ||
n && /* @__PURE__ */ o(nr, { size: d === F.LG ? "xs" : "xxs", negative: i, disabled: z }), | ||
n && /* @__PURE__ */ o(nr, { size: d === J.LG ? "xs" : "xxs", negative: i, disabled: z }), | ||
" ", | ||
@@ -209,3 +209,3 @@ t | ||
); | ||
}, P = M(_r); | ||
}, P = k(_r); | ||
P.displayName = "Button"; | ||
@@ -299,3 +299,3 @@ function or(t) { | ||
return /* @__PURE__ */ o("div", { className: i, "data-testid": u, children: t }); | ||
}, dr = (t) => !!t && W(t) && (!!t.props.colSpanSm || !!t.props.colSpanMd || !!t.props.colSpanLg), cr = { | ||
}, dr = (t) => !!t && V(t) && (!!t.props.colSpanSm || !!t.props.colSpanMd || !!t.props.colSpanLg), cr = { | ||
"purpur-grid": "_purpur-grid_113du_1", | ||
@@ -329,3 +329,3 @@ "purpur-grid__inner": "_purpur-grid__inner_113du_7", | ||
"purpur-grid__inner--flex": "_purpur-grid__inner--flex_113du_144" | ||
}, L = E.bind(cr), gr = "purpur-grid", s = "purpur-grid__inner", G = ({ | ||
}, T = E.bind(cr), gr = "purpur-grid", s = "purpur-grid__inner", G = ({ | ||
children: t, | ||
@@ -343,3 +343,3 @@ className: p, | ||
}) => { | ||
const f = q.toArray(t).filter(dr), l = f.length, v = L([u, gr]), N = L([ | ||
const f = q.toArray(t).filter(dr), l = f.length, v = T([u, gr]), N = T([ | ||
p, | ||
@@ -426,3 +426,3 @@ s, | ||
SUBSECTION100: "subsection-100" | ||
}, w = "purpur-heading", Z = ({ | ||
}, w = "purpur-heading", X = ({ | ||
["data-testid"]: t, | ||
@@ -448,7 +448,7 @@ children: p, | ||
}; | ||
Z.displayName = "Heading"; | ||
X.displayName = "Heading"; | ||
function xr(t) { | ||
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; | ||
} | ||
var X = { exports: {} }; | ||
var Z = { exports: {} }; | ||
/*! | ||
@@ -488,4 +488,4 @@ Copyright (c) 2018 Jed Watson. | ||
})(); | ||
})(X); | ||
var br = X.exports; | ||
})(Z); | ||
var br = Z.exports; | ||
const yr = /* @__PURE__ */ xr(br), zr = { | ||
@@ -510,3 +510,3 @@ "purpur-icon": "_purpur-icon_8u1lq_1", | ||
}, H = (t) => /* @__PURE__ */ o( | ||
U, | ||
F, | ||
{ | ||
@@ -519,3 +519,3 @@ ...t, | ||
const R = (t) => /* @__PURE__ */ o( | ||
U, | ||
F, | ||
{ | ||
@@ -527,3 +527,3 @@ ...t, | ||
R.displayName = "IconInfo"; | ||
const Sr = yr.bind(zr), k = "purpur-icon", Nr = "md", jr = (t) => t.filter((p) => Object.keys(p).length >= 1).map((p) => `${p.name}="${p.value}"`).join(" "), Or = ({ content: t = "", title: p } = {}) => { | ||
const Sr = yr.bind(zr), M = "purpur-icon", Nr = "md", jr = (t) => t.filter((p) => Object.keys(p).length >= 1).map((p) => `${p.name}="${p.value}"`).join(" "), Or = ({ content: t = "", title: p } = {}) => { | ||
const u = [ | ||
@@ -536,3 +536,3 @@ { name: "xmlns", value: "http://www.w3.org/2000/svg" }, | ||
return `<svg ${jr(u)}>${_}${t}</svg>`; | ||
}, qr = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), U = ({ | ||
}, qr = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), F = ({ | ||
["data-testid"]: t, | ||
@@ -548,3 +548,3 @@ svg: p, | ||
title: u | ||
}), i = Sr(_, k, `${k}--${e}`); | ||
}), i = Sr(_, M, `${M}--${e}`); | ||
return /* @__PURE__ */ o( | ||
@@ -561,6 +561,6 @@ "span", | ||
}; | ||
function Tr(t) { | ||
function Lr(t) { | ||
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; | ||
} | ||
var V = { exports: {} }; | ||
var U = { exports: {} }; | ||
/*! | ||
@@ -600,5 +600,5 @@ Copyright (c) 2018 Jed Watson. | ||
})(); | ||
})(V); | ||
var Lr = V.exports; | ||
const kr = /* @__PURE__ */ Tr(Lr), Mr = { | ||
})(U); | ||
var Tr = U.exports; | ||
const Mr = /* @__PURE__ */ Lr(Tr), kr = { | ||
"purpur-notification-banner": "_purpur-notification-banner_llblm_1", | ||
@@ -611,3 +611,3 @@ "purpur-notification-banner__container": "_purpur-notification-banner__container_llblm_6", | ||
"purpur-notification-banner__close-button": "_purpur-notification-banner__close-button_llblm_25" | ||
}, h = kr.bind(Mr), Cr = ["h1", "h2", "h3", "h4", "h5", "h6"], m = "purpur-notification-banner", Ar = M( | ||
}, h = Mr.bind(kr), Cr = ["h1", "h2", "h3", "h4", "h5", "h6"], m = "purpur-notification-banner", Ar = k( | ||
({ | ||
@@ -632,3 +632,3 @@ ["data-testid"]: t, | ||
/* @__PURE__ */ o( | ||
Z, | ||
X, | ||
{ | ||
@@ -635,0 +635,0 @@ tag: d, |
{ | ||
"name": "@purpurds/notification-banner", | ||
"version": "5.13.0", | ||
"version": "5.14.0", | ||
"license": "AGPL-3.0-only", | ||
@@ -18,7 +18,7 @@ "main": "./dist/notification-banner.cjs.js", | ||
"classnames": "~2.5.0", | ||
"@purpurds/heading": "5.13.0", | ||
"@purpurds/icon": "5.13.0", | ||
"@purpurds/grid": "5.13.0", | ||
"@purpurds/tokens": "5.13.0", | ||
"@purpurds/button": "5.13.0" | ||
"@purpurds/button": "5.14.0", | ||
"@purpurds/heading": "5.14.0", | ||
"@purpurds/tokens": "5.14.0", | ||
"@purpurds/icon": "5.14.0", | ||
"@purpurds/grid": "5.14.0" | ||
}, | ||
@@ -48,3 +48,3 @@ "devDependencies": { | ||
"@purpurds/component-rig": "1.0.0", | ||
"@purpurds/link": "5.13.0" | ||
"@purpurds/link": "5.14.0" | ||
}, | ||
@@ -51,0 +51,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1006459
+ Added@purpurds/action@5.14.0(transitive)
+ Added@purpurds/button@5.14.0(transitive)
+ Added@purpurds/grid@5.14.0(transitive)
+ Added@purpurds/heading@5.14.0(transitive)
+ Added@purpurds/icon@5.14.0(transitive)
+ Added@purpurds/spinner@5.14.0(transitive)
+ Added@purpurds/tokens@5.14.0(transitive)
- Removed@purpurds/action@5.13.0(transitive)
- Removed@purpurds/button@5.13.0(transitive)
- Removed@purpurds/grid@5.13.0(transitive)
- Removed@purpurds/heading@5.13.0(transitive)
- Removed@purpurds/icon@5.13.0(transitive)
- Removed@purpurds/spinner@5.13.0(transitive)
- Removed@purpurds/tokens@5.13.0(transitive)
Updated@purpurds/button@5.14.0
Updated@purpurds/grid@5.14.0
Updated@purpurds/heading@5.14.0
Updated@purpurds/icon@5.14.0
Updated@purpurds/tokens@5.14.0