@usecapsule/core-components 3.1.3 → 3.2.0-dev.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/capsule/capsule.esm.js +1 -1
- package/dist/capsule/capsule.esm.js.map +1 -1
- package/dist/capsule/p-303e6e89.entry.js +29 -0
- package/dist/capsule/p-303e6e89.entry.js.map +1 -0
- package/dist/capsule/p-447d49b9.entry.js +2 -0
- package/dist/capsule/p-447d49b9.entry.js.map +1 -0
- package/dist/capsule/{p-02072c68.entry.js → p-452b9998.entry.js} +2 -2
- package/dist/capsule/p-6793ef7a.entry.js +2 -0
- package/dist/capsule/{p-41088cd4.entry.js → p-f6c74d69.entry.js} +2 -2
- package/dist/cjs/capsule.cjs.js +1 -1
- package/dist/cjs/{cpsl-alert_33.cjs.entry.js → cpsl-alert_34.cjs.entry.js} +2765 -2713
- package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-identicon.cjs.entry.js +62 -0
- package/dist/cjs/cpsl-identicon.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-info-box.cjs.entry.js +1 -1
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js +1 -1
- package/dist/cjs/cpsl-row.cjs.entry.js +1 -1
- package/dist/cjs/index-528f7428.js +6 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/icons/double-arc.svg +13 -0
- package/dist/collection/assets/icons/index.js +236 -234
- package/dist/collection/assets/icons/index.js.map +1 -1
- package/dist/collection/assets/icons/single-arc.svg +11 -0
- package/dist/collection/assets/images/index.js +2 -0
- package/dist/collection/assets/images/index.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +1 -1
- package/dist/collection/components/cpsl-button/cpsl-button.stories.js +50 -0
- package/dist/collection/components/cpsl-button/cpsl-button.stories.js.map +1 -0
- package/dist/collection/components/cpsl-hero/cpsl-hero.css +263 -0
- package/dist/collection/components/cpsl-hero/cpsl-hero.js +88 -0
- package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -0
- package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js +17 -0
- package/dist/collection/components/cpsl-hero/cpsl-hero.stories.js.map +1 -0
- package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js +29 -0
- package/dist/collection/components/cpsl-hero/test/cpsl-hero.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js +37 -0
- package/dist/collection/components/cpsl-hero/test/cpsl-hero.spec.js.map +1 -0
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.css +69 -0
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.js +100 -0
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.js.map +1 -0
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js +12 -0
- package/dist/collection/components/cpsl-identicon/cpsl-identicon.stories.js.map +1 -0
- package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js +29 -0
- package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js +37 -0
- package/dist/collection/components/cpsl-identicon/test/cpsl-identicon.spec.js.map +1 -0
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.js +2 -2
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +1 -1
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
- package/dist/collection/components/cpsl-popover/cpsl-popover.js +2 -2
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
- package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
- package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
- package/dist/collection/components/cpsl-select/cpsl-select.js +1 -1
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
- package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
- package/dist/collection/components/cpsl-table/cpsl-table.js +1 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.js +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
- package/dist/collection/interface.js.map +1 -1
- package/dist/esm/capsule.js +1 -1
- package/dist/esm/{cpsl-alert_33.entry.js → cpsl-alert_34.entry.js} +2765 -2714
- package/dist/esm/cpsl-alert_34.entry.js.map +1 -0
- package/dist/esm/cpsl-identicon.entry.js +58 -0
- package/dist/esm/cpsl-identicon.entry.js.map +1 -0
- package/dist/esm/cpsl-info-box.entry.js +1 -1
- package/dist/esm/cpsl-modal-v2.entry.js +1 -1
- package/dist/esm/cpsl-row.entry.js +1 -1
- package/dist/esm/index-b188f201.js +6 -2
- package/dist/esm/loader.js +1 -1
- package/dist/scripts/buildAssets.js +90 -0
- package/dist/scripts/buildAssets.js.map +1 -0
- package/dist/types/Users/{taylorbosch/Documents/GitHub/Capsule/component-library/core/.stencil/scripts/buildIconLibrary.d.ts → briancorbin/Documents/Programming/Capsule/component-library/core/.stencil/scripts/buildAssets.d.ts} +3 -0
- package/dist/types/assets/icons/index.d.ts +91 -89
- package/dist/types/assets/images/index.d.ts +5 -0
- package/dist/types/components/cpsl-button/cpsl-button.stories.d.ts +15 -0
- package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +6 -0
- package/dist/types/components/cpsl-hero/cpsl-hero.stories.d.ts +13 -0
- package/dist/types/components/cpsl-identicon/cpsl-identicon.d.ts +5 -0
- package/dist/types/components/cpsl-identicon/cpsl-identicon.stories.d.ts +10 -0
- package/dist/types/components.d.ts +48 -0
- package/dist/types/interface.d.ts +2 -0
- package/package.json +20 -5
- package/dist/capsule/p-2c16694d.entry.js +0 -2
- package/dist/capsule/p-496b735b.entry.js +0 -29
- package/dist/capsule/p-496b735b.entry.js.map +0 -1
- package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +0 -1
- package/dist/esm/cpsl-alert_33.entry.js.map +0 -1
- package/dist/scripts/buildIconLibrary.js +0 -33
- package/dist/scripts/buildIconLibrary.js.map +0 -1
- /package/dist/capsule/{p-02072c68.entry.js.map → p-452b9998.entry.js.map} +0 -0
- /package/dist/capsule/{p-2c16694d.entry.js.map → p-6793ef7a.entry.js.map} +0 -0
- /package/dist/capsule/{p-41088cd4.entry.js.map → p-f6c74d69.entry.js.map} +0 -0
- /package/dist/collection/assets/icons/{AD.svg → flags/AD.svg} +0 -0
- /package/dist/collection/assets/icons/{AE.svg → flags/AE.svg} +0 -0
- /package/dist/collection/assets/icons/{AF.svg → flags/AF.svg} +0 -0
- /package/dist/collection/assets/icons/{AG.svg → flags/AG.svg} +0 -0
- /package/dist/collection/assets/icons/{AI.svg → flags/AI.svg} +0 -0
- /package/dist/collection/assets/icons/{AL.svg → flags/AL.svg} +0 -0
- /package/dist/collection/assets/icons/{AM.svg → flags/AM.svg} +0 -0
- /package/dist/collection/assets/icons/{AO.svg → flags/AO.svg} +0 -0
- /package/dist/collection/assets/icons/{AR.svg → flags/AR.svg} +0 -0
- /package/dist/collection/assets/icons/{AS.svg → flags/AS.svg} +0 -0
- /package/dist/collection/assets/icons/{AT.svg → flags/AT.svg} +0 -0
- /package/dist/collection/assets/icons/{AU.svg → flags/AU.svg} +0 -0
- /package/dist/collection/assets/icons/{AW.svg → flags/AW.svg} +0 -0
- /package/dist/collection/assets/icons/{AX.svg → flags/AX.svg} +0 -0
- /package/dist/collection/assets/icons/{AZ.svg → flags/AZ.svg} +0 -0
- /package/dist/collection/assets/icons/{BA.svg → flags/BA.svg} +0 -0
- /package/dist/collection/assets/icons/{BB.svg → flags/BB.svg} +0 -0
- /package/dist/collection/assets/icons/{BD.svg → flags/BD.svg} +0 -0
- /package/dist/collection/assets/icons/{BE.svg → flags/BE.svg} +0 -0
- /package/dist/collection/assets/icons/{BF.svg → flags/BF.svg} +0 -0
- /package/dist/collection/assets/icons/{BG.svg → flags/BG.svg} +0 -0
- /package/dist/collection/assets/icons/{BH.svg → flags/BH.svg} +0 -0
- /package/dist/collection/assets/icons/{BI.svg → flags/BI.svg} +0 -0
- /package/dist/collection/assets/icons/{BJ.svg → flags/BJ.svg} +0 -0
- /package/dist/collection/assets/icons/{BL.svg → flags/BL.svg} +0 -0
- /package/dist/collection/assets/icons/{BM.svg → flags/BM.svg} +0 -0
- /package/dist/collection/assets/icons/{BN.svg → flags/BN.svg} +0 -0
- /package/dist/collection/assets/icons/{BO.svg → flags/BO.svg} +0 -0
- /package/dist/collection/assets/icons/{BQ.svg → flags/BQ.svg} +0 -0
- /package/dist/collection/assets/icons/{BQ2.svg → flags/BQ2.svg} +0 -0
- /package/dist/collection/assets/icons/{BQ3.svg → flags/BQ3.svg} +0 -0
- /package/dist/collection/assets/icons/{BR.svg → flags/BR.svg} +0 -0
- /package/dist/collection/assets/icons/{BS.svg → flags/BS.svg} +0 -0
- /package/dist/collection/assets/icons/{BT.svg → flags/BT.svg} +0 -0
- /package/dist/collection/assets/icons/{BW.svg → flags/BW.svg} +0 -0
- /package/dist/collection/assets/icons/{BY.svg → flags/BY.svg} +0 -0
- /package/dist/collection/assets/icons/{BZ.svg → flags/BZ.svg} +0 -0
- /package/dist/collection/assets/icons/{CA.svg → flags/CA.svg} +0 -0
- /package/dist/collection/assets/icons/{CC.svg → flags/CC.svg} +0 -0
- /package/dist/collection/assets/icons/{CD.svg → flags/CD.svg} +0 -0
- /package/dist/collection/assets/icons/{CD2.svg → flags/CD2.svg} +0 -0
- /package/dist/collection/assets/icons/{CF.svg → flags/CF.svg} +0 -0
- /package/dist/collection/assets/icons/{CH.svg → flags/CH.svg} +0 -0
- /package/dist/collection/assets/icons/{CK.svg → flags/CK.svg} +0 -0
- /package/dist/collection/assets/icons/{CL.svg → flags/CL.svg} +0 -0
- /package/dist/collection/assets/icons/{CM.svg → flags/CM.svg} +0 -0
- /package/dist/collection/assets/icons/{CN.svg → flags/CN.svg} +0 -0
- /package/dist/collection/assets/icons/{CO.svg → flags/CO.svg} +0 -0
- /package/dist/collection/assets/icons/{CR.svg → flags/CR.svg} +0 -0
- /package/dist/collection/assets/icons/{CU.svg → flags/CU.svg} +0 -0
- /package/dist/collection/assets/icons/{CW.svg → flags/CW.svg} +0 -0
- /package/dist/collection/assets/icons/{CX.svg → flags/CX.svg} +0 -0
- /package/dist/collection/assets/icons/{CY.svg → flags/CY.svg} +0 -0
- /package/dist/collection/assets/icons/{CZ.svg → flags/CZ.svg} +0 -0
- /package/dist/collection/assets/icons/{DE.svg → flags/DE.svg} +0 -0
- /package/dist/collection/assets/icons/{DJ.svg → flags/DJ.svg} +0 -0
- /package/dist/collection/assets/icons/{DK.svg → flags/DK.svg} +0 -0
- /package/dist/collection/assets/icons/{DM.svg → flags/DM.svg} +0 -0
- /package/dist/collection/assets/icons/{DO.svg → flags/DO.svg} +0 -0
- /package/dist/collection/assets/icons/{DS.svg → flags/DS.svg} +0 -0
- /package/dist/collection/assets/icons/{DZ.svg → flags/DZ.svg} +0 -0
- /package/dist/collection/assets/icons/{EC.svg → flags/EC.svg} +0 -0
- /package/dist/collection/assets/icons/{EE.svg → flags/EE.svg} +0 -0
- /package/dist/collection/assets/icons/{EG.svg → flags/EG.svg} +0 -0
- /package/dist/collection/assets/icons/{EH.svg → flags/EH.svg} +0 -0
- /package/dist/collection/assets/icons/{ER.svg → flags/ER.svg} +0 -0
- /package/dist/collection/assets/icons/{ES.svg → flags/ES.svg} +0 -0
- /package/dist/collection/assets/icons/{ET.svg → flags/ET.svg} +0 -0
- /package/dist/collection/assets/icons/{FI.svg → flags/FI.svg} +0 -0
- /package/dist/collection/assets/icons/{FJ.svg → flags/FJ.svg} +0 -0
- /package/dist/collection/assets/icons/{FK.svg → flags/FK.svg} +0 -0
- /package/dist/collection/assets/icons/{FM.svg → flags/FM.svg} +0 -0
- /package/dist/collection/assets/icons/{FO.svg → flags/FO.svg} +0 -0
- /package/dist/collection/assets/icons/{FR.svg → flags/FR.svg} +0 -0
- /package/dist/collection/assets/icons/{GA.svg → flags/GA.svg} +0 -0
- /package/dist/collection/assets/icons/{GB-2.svg → flags/GB-2.svg} +0 -0
- /package/dist/collection/assets/icons/{GB.svg → flags/GB.svg} +0 -0
- /package/dist/collection/assets/icons/{GD.svg → flags/GD.svg} +0 -0
- /package/dist/collection/assets/icons/{GE.svg → flags/GE.svg} +0 -0
- /package/dist/collection/assets/icons/{GG.svg → flags/GG.svg} +0 -0
- /package/dist/collection/assets/icons/{GH.svg → flags/GH.svg} +0 -0
- /package/dist/collection/assets/icons/{GI.svg → flags/GI.svg} +0 -0
- /package/dist/collection/assets/icons/{GL.svg → flags/GL.svg} +0 -0
- /package/dist/collection/assets/icons/{GM.svg → flags/GM.svg} +0 -0
- /package/dist/collection/assets/icons/{GN.svg → flags/GN.svg} +0 -0
- /package/dist/collection/assets/icons/{GQ.svg → flags/GQ.svg} +0 -0
- /package/dist/collection/assets/icons/{GR.svg → flags/GR.svg} +0 -0
- /package/dist/collection/assets/icons/{GT.svg → flags/GT.svg} +0 -0
- /package/dist/collection/assets/icons/{GU.svg → flags/GU.svg} +0 -0
- /package/dist/collection/assets/icons/{GW.svg → flags/GW.svg} +0 -0
- /package/dist/collection/assets/icons/{GY.svg → flags/GY.svg} +0 -0
- /package/dist/collection/assets/icons/{HK.svg → flags/HK.svg} +0 -0
- /package/dist/collection/assets/icons/{HN.svg → flags/HN.svg} +0 -0
- /package/dist/collection/assets/icons/{HR.svg → flags/HR.svg} +0 -0
- /package/dist/collection/assets/icons/{HT.svg → flags/HT.svg} +0 -0
- /package/dist/collection/assets/icons/{HU.svg → flags/HU.svg} +0 -0
- /package/dist/collection/assets/icons/{ID.svg → flags/ID.svg} +0 -0
- /package/dist/collection/assets/icons/{IE.svg → flags/IE.svg} +0 -0
- /package/dist/collection/assets/icons/{IL.svg → flags/IL.svg} +0 -0
- /package/dist/collection/assets/icons/{IM.svg → flags/IM.svg} +0 -0
- /package/dist/collection/assets/icons/{IN.svg → flags/IN.svg} +0 -0
- /package/dist/collection/assets/icons/{IO.svg → flags/IO.svg} +0 -0
- /package/dist/collection/assets/icons/{IQ.svg → flags/IQ.svg} +0 -0
- /package/dist/collection/assets/icons/{IR.svg → flags/IR.svg} +0 -0
- /package/dist/collection/assets/icons/{IS.svg → flags/IS.svg} +0 -0
- /package/dist/collection/assets/icons/{IT.svg → flags/IT.svg} +0 -0
- /package/dist/collection/assets/icons/{JE.svg → flags/JE.svg} +0 -0
- /package/dist/collection/assets/icons/{JM.svg → flags/JM.svg} +0 -0
- /package/dist/collection/assets/icons/{JO.svg → flags/JO.svg} +0 -0
- /package/dist/collection/assets/icons/{JP.svg → flags/JP.svg} +0 -0
- /package/dist/collection/assets/icons/{KE.svg → flags/KE.svg} +0 -0
- /package/dist/collection/assets/icons/{KG.svg → flags/KG.svg} +0 -0
- /package/dist/collection/assets/icons/{KH.svg → flags/KH.svg} +0 -0
- /package/dist/collection/assets/icons/{KI.svg → flags/KI.svg} +0 -0
- /package/dist/collection/assets/icons/{KM.svg → flags/KM.svg} +0 -0
- /package/dist/collection/assets/icons/{KN.svg → flags/KN.svg} +0 -0
- /package/dist/collection/assets/icons/{KP.svg → flags/KP.svg} +0 -0
- /package/dist/collection/assets/icons/{KR.svg → flags/KR.svg} +0 -0
- /package/dist/collection/assets/icons/{KW.svg → flags/KW.svg} +0 -0
- /package/dist/collection/assets/icons/{KY.svg → flags/KY.svg} +0 -0
- /package/dist/collection/assets/icons/{KZ.svg → flags/KZ.svg} +0 -0
- /package/dist/collection/assets/icons/{LA.svg → flags/LA.svg} +0 -0
- /package/dist/collection/assets/icons/{LB.svg → flags/LB.svg} +0 -0
- /package/dist/collection/assets/icons/{LC.svg → flags/LC.svg} +0 -0
- /package/dist/collection/assets/icons/{LI.svg → flags/LI.svg} +0 -0
- /package/dist/collection/assets/icons/{LK.svg → flags/LK.svg} +0 -0
- /package/dist/collection/assets/icons/{LR.svg → flags/LR.svg} +0 -0
- /package/dist/collection/assets/icons/{LS.svg → flags/LS.svg} +0 -0
- /package/dist/collection/assets/icons/{LT.svg → flags/LT.svg} +0 -0
- /package/dist/collection/assets/icons/{LU.svg → flags/LU.svg} +0 -0
- /package/dist/collection/assets/icons/{LV.svg → flags/LV.svg} +0 -0
- /package/dist/collection/assets/icons/{LY.svg → flags/LY.svg} +0 -0
- /package/dist/collection/assets/icons/{MA.svg → flags/MA.svg} +0 -0
- /package/dist/collection/assets/icons/{MC.svg → flags/MC.svg} +0 -0
- /package/dist/collection/assets/icons/{MD.svg → flags/MD.svg} +0 -0
- /package/dist/collection/assets/icons/{ME.svg → flags/ME.svg} +0 -0
- /package/dist/collection/assets/icons/{MG.svg → flags/MG.svg} +0 -0
- /package/dist/collection/assets/icons/{MH.svg → flags/MH.svg} +0 -0
- /package/dist/collection/assets/icons/{MK.svg → flags/MK.svg} +0 -0
- /package/dist/collection/assets/icons/{ML.svg → flags/ML.svg} +0 -0
- /package/dist/collection/assets/icons/{MM.svg → flags/MM.svg} +0 -0
- /package/dist/collection/assets/icons/{MN.svg → flags/MN.svg} +0 -0
- /package/dist/collection/assets/icons/{MO.svg → flags/MO.svg} +0 -0
- /package/dist/collection/assets/icons/{MP.svg → flags/MP.svg} +0 -0
- /package/dist/collection/assets/icons/{MQ.svg → flags/MQ.svg} +0 -0
- /package/dist/collection/assets/icons/{MR.svg → flags/MR.svg} +0 -0
- /package/dist/collection/assets/icons/{MS.svg → flags/MS.svg} +0 -0
- /package/dist/collection/assets/icons/{MT.svg → flags/MT.svg} +0 -0
- /package/dist/collection/assets/icons/{MU.svg → flags/MU.svg} +0 -0
- /package/dist/collection/assets/icons/{MV.svg → flags/MV.svg} +0 -0
- /package/dist/collection/assets/icons/{MW.svg → flags/MW.svg} +0 -0
- /package/dist/collection/assets/icons/{MX.svg → flags/MX.svg} +0 -0
- /package/dist/collection/assets/icons/{MY.svg → flags/MY.svg} +0 -0
- /package/dist/collection/assets/icons/{MZ.svg → flags/MZ.svg} +0 -0
- /package/dist/collection/assets/icons/{NA.svg → flags/NA.svg} +0 -0
- /package/dist/collection/assets/icons/{NE.svg → flags/NE.svg} +0 -0
- /package/dist/collection/assets/icons/{NF.svg → flags/NF.svg} +0 -0
- /package/dist/collection/assets/icons/{NG.svg → flags/NG.svg} +0 -0
- /package/dist/collection/assets/icons/{NI.svg → flags/NI.svg} +0 -0
- /package/dist/collection/assets/icons/{NL.svg → flags/NL.svg} +0 -0
- /package/dist/collection/assets/icons/{NO.svg → flags/NO.svg} +0 -0
- /package/dist/collection/assets/icons/{NP.svg → flags/NP.svg} +0 -0
- /package/dist/collection/assets/icons/{NR.svg → flags/NR.svg} +0 -0
- /package/dist/collection/assets/icons/{NU.svg → flags/NU.svg} +0 -0
- /package/dist/collection/assets/icons/{NZ.svg → flags/NZ.svg} +0 -0
- /package/dist/collection/assets/icons/{OM.svg → flags/OM.svg} +0 -0
- /package/dist/collection/assets/icons/{PA.svg → flags/PA.svg} +0 -0
- /package/dist/collection/assets/icons/{PE.svg → flags/PE.svg} +0 -0
- /package/dist/collection/assets/icons/{PF.svg → flags/PF.svg} +0 -0
- /package/dist/collection/assets/icons/{PG.svg → flags/PG.svg} +0 -0
- /package/dist/collection/assets/icons/{PH.svg → flags/PH.svg} +0 -0
- /package/dist/collection/assets/icons/{PK.svg → flags/PK.svg} +0 -0
- /package/dist/collection/assets/icons/{PL.svg → flags/PL.svg} +0 -0
- /package/dist/collection/assets/icons/{PN.svg → flags/PN.svg} +0 -0
- /package/dist/collection/assets/icons/{PR.svg → flags/PR.svg} +0 -0
- /package/dist/collection/assets/icons/{PS.svg → flags/PS.svg} +0 -0
- /package/dist/collection/assets/icons/{PT.svg → flags/PT.svg} +0 -0
- /package/dist/collection/assets/icons/{PW.svg → flags/PW.svg} +0 -0
- /package/dist/collection/assets/icons/{PY.svg → flags/PY.svg} +0 -0
- /package/dist/collection/assets/icons/{QA.svg → flags/QA.svg} +0 -0
- /package/dist/collection/assets/icons/{RO.svg → flags/RO.svg} +0 -0
- /package/dist/collection/assets/icons/{RS.svg → flags/RS.svg} +0 -0
- /package/dist/collection/assets/icons/{RU.svg → flags/RU.svg} +0 -0
- /package/dist/collection/assets/icons/{RW.svg → flags/RW.svg} +0 -0
- /package/dist/collection/assets/icons/{SA.svg → flags/SA.svg} +0 -0
- /package/dist/collection/assets/icons/{SB.svg → flags/SB.svg} +0 -0
- /package/dist/collection/assets/icons/{SC.svg → flags/SC.svg} +0 -0
- /package/dist/collection/assets/icons/{SE.svg → flags/SE.svg} +0 -0
- /package/dist/collection/assets/icons/{SG.svg → flags/SG.svg} +0 -0
- /package/dist/collection/assets/icons/{SI.svg → flags/SI.svg} +0 -0
- /package/dist/collection/assets/icons/{SK.svg → flags/SK.svg} +0 -0
- /package/dist/collection/assets/icons/{SL.svg → flags/SL.svg} +0 -0
- /package/dist/collection/assets/icons/{SM.svg → flags/SM.svg} +0 -0
- /package/dist/collection/assets/icons/{SN.svg → flags/SN.svg} +0 -0
- /package/dist/collection/assets/icons/{SO.svg → flags/SO.svg} +0 -0
- /package/dist/collection/assets/icons/{SR.svg → flags/SR.svg} +0 -0
- /package/dist/collection/assets/icons/{SS.svg → flags/SS.svg} +0 -0
- /package/dist/collection/assets/icons/{ST.svg → flags/ST.svg} +0 -0
- /package/dist/collection/assets/icons/{SV.svg → flags/SV.svg} +0 -0
- /package/dist/collection/assets/icons/{SX.svg → flags/SX.svg} +0 -0
- /package/dist/collection/assets/icons/{SY.svg → flags/SY.svg} +0 -0
- /package/dist/collection/assets/icons/{SZ.svg → flags/SZ.svg} +0 -0
- /package/dist/collection/assets/icons/{TC.svg → flags/TC.svg} +0 -0
- /package/dist/collection/assets/icons/{TD.svg → flags/TD.svg} +0 -0
- /package/dist/collection/assets/icons/{TG.svg → flags/TG.svg} +0 -0
- /package/dist/collection/assets/icons/{TH.svg → flags/TH.svg} +0 -0
- /package/dist/collection/assets/icons/{TJ.svg → flags/TJ.svg} +0 -0
- /package/dist/collection/assets/icons/{TK.svg → flags/TK.svg} +0 -0
- /package/dist/collection/assets/icons/{TL.svg → flags/TL.svg} +0 -0
- /package/dist/collection/assets/icons/{TM.svg → flags/TM.svg} +0 -0
- /package/dist/collection/assets/icons/{TN.svg → flags/TN.svg} +0 -0
- /package/dist/collection/assets/icons/{TO.svg → flags/TO.svg} +0 -0
- /package/dist/collection/assets/icons/{TR.svg → flags/TR.svg} +0 -0
- /package/dist/collection/assets/icons/{TT.svg → flags/TT.svg} +0 -0
- /package/dist/collection/assets/icons/{TV.svg → flags/TV.svg} +0 -0
- /package/dist/collection/assets/icons/{TW.svg → flags/TW.svg} +0 -0
- /package/dist/collection/assets/icons/{TZ.svg → flags/TZ.svg} +0 -0
- /package/dist/collection/assets/icons/{UA.svg → flags/UA.svg} +0 -0
- /package/dist/collection/assets/icons/{UG.svg → flags/UG.svg} +0 -0
- /package/dist/collection/assets/icons/{US.svg → flags/US.svg} +0 -0
- /package/dist/collection/assets/icons/{UY.svg → flags/UY.svg} +0 -0
- /package/dist/collection/assets/icons/{UZ.svg → flags/UZ.svg} +0 -0
- /package/dist/collection/assets/icons/{VC.svg → flags/VC.svg} +0 -0
- /package/dist/collection/assets/icons/{VE.svg → flags/VE.svg} +0 -0
- /package/dist/collection/assets/icons/{VG.svg → flags/VG.svg} +0 -0
- /package/dist/collection/assets/icons/{VI.svg → flags/VI.svg} +0 -0
- /package/dist/collection/assets/icons/{VN.svg → flags/VN.svg} +0 -0
- /package/dist/collection/assets/icons/{VU.svg → flags/VU.svg} +0 -0
- /package/dist/collection/assets/icons/{WS.svg → flags/WS.svg} +0 -0
- /package/dist/collection/assets/icons/{YE.svg → flags/YE.svg} +0 -0
- /package/dist/collection/assets/icons/{ZA.svg → flags/ZA.svg} +0 -0
- /package/dist/collection/assets/icons/{ZM.svg → flags/ZM.svg} +0 -0
- /package/dist/collection/assets/icons/{ZW.svg → flags/ZW.svg} +0 -0
@@ -0,0 +1,263 @@
|
|
1
|
+
/**
|
2
|
+
* Convert a font size to a dynamic font size.
|
3
|
+
* Fonts that participate in Dynamic Type should use
|
4
|
+
* dynamic font sizes.
|
5
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
6
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
7
|
+
* convert to a unit other than $baselineUnit.
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* Convert a font size to a dynamic font size but impose
|
11
|
+
* a maximum font size.
|
12
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
13
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
14
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
15
|
+
* convert to a unit other than $baselineUnit.
|
16
|
+
*/
|
17
|
+
/**
|
18
|
+
* Convert a font size to a dynamic font size but impose
|
19
|
+
* a minimum font size.
|
20
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
21
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
22
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
23
|
+
* convert to a unit other than $baselineUnit.
|
24
|
+
*/
|
25
|
+
/**
|
26
|
+
* Convert a font size to a dynamic font size but impose
|
27
|
+
* maximum and minimum font sizes.
|
28
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
29
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
30
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
31
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
32
|
+
* convert to a unit other than $baselineUnit.
|
33
|
+
*/
|
34
|
+
/**
|
35
|
+
* A heuristic that applies CSS to tablet
|
36
|
+
* viewports.
|
37
|
+
*
|
38
|
+
* Usage:
|
39
|
+
* @include tablet-viewport() {
|
40
|
+
* :host {
|
41
|
+
* background-color: green;
|
42
|
+
* }
|
43
|
+
* }
|
44
|
+
*/
|
45
|
+
/**
|
46
|
+
* A heuristic that applies CSS to mobile
|
47
|
+
* viewports (i.e. phones, not tablets).
|
48
|
+
*
|
49
|
+
* Usage:
|
50
|
+
* @include mobile-viewport() {
|
51
|
+
* :host {
|
52
|
+
* background-color: blue;
|
53
|
+
* }
|
54
|
+
* }
|
55
|
+
*/
|
56
|
+
:host {
|
57
|
+
position: relative;
|
58
|
+
top: 0;
|
59
|
+
right: 0;
|
60
|
+
left: 0;
|
61
|
+
width: 100%;
|
62
|
+
height: auto;
|
63
|
+
display: flex;
|
64
|
+
flex-direction: column;
|
65
|
+
align-items: center;
|
66
|
+
justify-content: center;
|
67
|
+
clip-path: content-box;
|
68
|
+
}
|
69
|
+
|
70
|
+
:host > cpsl-text {
|
71
|
+
z-index: 1;
|
72
|
+
}
|
73
|
+
|
74
|
+
:host > .backgroundContainer {
|
75
|
+
position: relative;
|
76
|
+
top: 0;
|
77
|
+
right: 0;
|
78
|
+
left: 0;
|
79
|
+
width: 100%;
|
80
|
+
height: 180px;
|
81
|
+
display: flex;
|
82
|
+
align-items: center;
|
83
|
+
justify-content: center;
|
84
|
+
}
|
85
|
+
|
86
|
+
:host > .backgroundContainer > .background {
|
87
|
+
width: 100%;
|
88
|
+
height: 100%;
|
89
|
+
position: absolute;
|
90
|
+
top: 50%;
|
91
|
+
transform: translateY(-25%);
|
92
|
+
left: 0;
|
93
|
+
right: 0;
|
94
|
+
z-index: 0;
|
95
|
+
}
|
96
|
+
|
97
|
+
:host > .backgroundContainer > .background > .ring {
|
98
|
+
position: absolute;
|
99
|
+
top: 45px;
|
100
|
+
left: 50%;
|
101
|
+
transform: translate(-50%, -50%);
|
102
|
+
flex-shrink: 0;
|
103
|
+
transition: box-shadow 0.3s;
|
104
|
+
}
|
105
|
+
|
106
|
+
:host(.connection) > .backgroundContainer > .background .ring1 {
|
107
|
+
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.07);
|
108
|
+
}
|
109
|
+
:host(.connection) > .backgroundContainer > .background .ring2 {
|
110
|
+
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05);
|
111
|
+
}
|
112
|
+
:host(.connection) > .backgroundContainer > .background .ring3 {
|
113
|
+
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.04);
|
114
|
+
}
|
115
|
+
|
116
|
+
:host(.pending) > .backgroundContainer > .background .ring0 {
|
117
|
+
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
|
118
|
+
}
|
119
|
+
:host(.pending) > .backgroundContainer > .background .ring1 {
|
120
|
+
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.08);
|
121
|
+
}
|
122
|
+
:host(.pending) > .backgroundContainer > .background .ring2 {
|
123
|
+
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.06);
|
124
|
+
}
|
125
|
+
:host(.pending) > .backgroundContainer > .background .ring3 {
|
126
|
+
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.04);
|
127
|
+
}
|
128
|
+
|
129
|
+
:host(.failed) > .backgroundContainer > .background > .ring0 {
|
130
|
+
box-shadow: 0px 0px 20px rgba(240, 68, 56, 0.1);
|
131
|
+
}
|
132
|
+
:host(.failed) > .backgroundContainer > .background > .ring1 {
|
133
|
+
box-shadow: 0px 0px 20px rgba(240, 68, 56, 0.08);
|
134
|
+
}
|
135
|
+
:host(.failed) > .backgroundContainer > .background > .ring2 {
|
136
|
+
box-shadow: 0px 0px 20px rgba(240, 68, 56, 0.06);
|
137
|
+
}
|
138
|
+
:host(.failed) > .backgroundContainer > .background > .ring3 {
|
139
|
+
box-shadow: 0px 0px 20px rgba(240, 68, 56, 0.04);
|
140
|
+
}
|
141
|
+
|
142
|
+
:host(.approved) > .backgroundContainer > .background .ring1 {
|
143
|
+
box-shadow: 0px 0px 20px rgba(219, 0, 179, 0.1);
|
144
|
+
}
|
145
|
+
:host(.approved) > .backgroundContainer > .background .ring2 {
|
146
|
+
box-shadow: 0px 0px 20px rgba(219, 0, 51, 0.1);
|
147
|
+
}
|
148
|
+
:host(.approved) > .backgroundContainer > .background .ring3 {
|
149
|
+
box-shadow: 0px 0px 20px rgba(254, 83, 48, 0.1);
|
150
|
+
}
|
151
|
+
|
152
|
+
:host > .backgroundContainer > .background > .ring3 {
|
153
|
+
width: 480px;
|
154
|
+
height: 480px;
|
155
|
+
border-radius: 480px;
|
156
|
+
}
|
157
|
+
|
158
|
+
:host > .backgroundContainer > .background > .ring2 {
|
159
|
+
width: 360px;
|
160
|
+
height: 360px;
|
161
|
+
border-radius: 360px;
|
162
|
+
}
|
163
|
+
|
164
|
+
:host > .backgroundContainer > .background > .ring1 {
|
165
|
+
width: 240px;
|
166
|
+
height: 240px;
|
167
|
+
border-radius: 240px;
|
168
|
+
}
|
169
|
+
|
170
|
+
:host > .backgroundContainer > .background > .ring0 {
|
171
|
+
width: 120px;
|
172
|
+
height: 120px;
|
173
|
+
border-radius: 120px;
|
174
|
+
}
|
175
|
+
|
176
|
+
:host > .backgroundContainer > .background > .ringCenter.connection {
|
177
|
+
position: absolute;
|
178
|
+
top: 45px;
|
179
|
+
left: 50%;
|
180
|
+
transform: translate(-50%, -50%);
|
181
|
+
width: 160px;
|
182
|
+
height: 160px;
|
183
|
+
border-radius: 160px;
|
184
|
+
}
|
185
|
+
@keyframes spin {
|
186
|
+
from {
|
187
|
+
transform: rotate(0deg);
|
188
|
+
}
|
189
|
+
to {
|
190
|
+
transform: rotate(360deg);
|
191
|
+
}
|
192
|
+
}
|
193
|
+
:host > .backgroundContainer > .background > .ringCenter.connection img {
|
194
|
+
width: 100%;
|
195
|
+
height: 100%;
|
196
|
+
animation: spin 2s linear infinite;
|
197
|
+
}
|
198
|
+
|
199
|
+
:host > .backgroundContainer > .background > .ringCenter.approved {
|
200
|
+
position: absolute;
|
201
|
+
top: 45px;
|
202
|
+
left: 50%;
|
203
|
+
transform: translate(-50%, -50%);
|
204
|
+
width: 160px;
|
205
|
+
height: 160px;
|
206
|
+
border-radius: 160px;
|
207
|
+
}
|
208
|
+
@keyframes spin {
|
209
|
+
from {
|
210
|
+
transform: rotate(0deg);
|
211
|
+
}
|
212
|
+
to {
|
213
|
+
transform: rotate(360deg);
|
214
|
+
}
|
215
|
+
}
|
216
|
+
:host > .backgroundContainer > .background > .ringCenter.approved img {
|
217
|
+
width: 100%;
|
218
|
+
height: 100%;
|
219
|
+
animation: spin 2s linear infinite;
|
220
|
+
}
|
221
|
+
|
222
|
+
:host > .backgroundContainer > .background > .ringCenter.pending {
|
223
|
+
position: absolute;
|
224
|
+
top: 45px;
|
225
|
+
left: 50%;
|
226
|
+
transform: translate(-50%, -50%);
|
227
|
+
width: 82px;
|
228
|
+
height: 82px;
|
229
|
+
border-radius: 82px;
|
230
|
+
}
|
231
|
+
@keyframes spin {
|
232
|
+
from {
|
233
|
+
transform: rotate(0deg);
|
234
|
+
}
|
235
|
+
to {
|
236
|
+
transform: rotate(360deg);
|
237
|
+
}
|
238
|
+
}
|
239
|
+
:host > .backgroundContainer > .background > .ringCenter.pending img {
|
240
|
+
width: 100%;
|
241
|
+
height: 100%;
|
242
|
+
animation: spin 2s linear infinite;
|
243
|
+
}
|
244
|
+
|
245
|
+
:host > .backgroundContainer > .background > .fadeOut {
|
246
|
+
position: absolute;
|
247
|
+
height: 200%;
|
248
|
+
right: 0;
|
249
|
+
bottom: -100%;
|
250
|
+
left: 0;
|
251
|
+
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
|
252
|
+
}
|
253
|
+
|
254
|
+
:host > .backgroundContainer > .children {
|
255
|
+
z-index: 1;
|
256
|
+
}
|
257
|
+
|
258
|
+
:host(.connection) > .backgroundContainer > .children > .connectDiagramContainer {
|
259
|
+
display: flex;
|
260
|
+
justify-content: center;
|
261
|
+
align-items: center;
|
262
|
+
gap: 40px;
|
263
|
+
}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
2
|
+
import { Images } from "../../assets/images";
|
3
|
+
const Checkmark = () => (h("svg", { width: "48", height: "35", viewBox: "0 0 48 35", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M47.219 1.11439C48.2604 2.15579 48.2604 3.84423 47.219 4.88563L17.8856 34.219C16.8442 35.2604 15.1558 35.2604 14.1144 34.219L0.781049 20.8856C-0.26035 19.8442 -0.26035 18.1558 0.781049 17.1144C1.82245 16.073 3.51089 16.073 4.55229 17.1144L16 28.5621L43.4477 1.11439C44.4891 0.0729939 46.1776 0.0729939 47.219 1.11439Z", fill: "url(#paint0_linear_841_278)" }), h("defs", null, h("linearGradient", { id: "paint0_linear_841_278", x1: "48", y1: "17.6667", x2: "0", y2: "17.6667", gradientUnits: "userSpaceOnUse" }, h("stop", { "stop-color": "#BC82F3" }), h("stop", { offset: "0.485", "stop-color": "#FF6778" }), h("stop", { offset: "1", "stop-color": "#FFBA71" })))));
|
4
|
+
const AlertCircle = () => (h("svg", { width: "58", height: "58", viewBox: "0 0 58 58", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M29 18.3333V29M29 39.6666H29.0267M55.6667 29C55.6667 43.7276 43.7276 55.6666 29 55.6666C14.2724 55.6666 2.33333 43.7276 2.33333 29C2.33333 14.2724 14.2724 2.33331 29 2.33331C43.7276 2.33331 55.6667 14.2724 55.6667 29Z", stroke: "#F04438", "stroke-width": "4", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
5
|
+
export class CpslHero {
|
6
|
+
constructor() {
|
7
|
+
this.variant = 'connection';
|
8
|
+
this.title = undefined;
|
9
|
+
this.subtitle = undefined;
|
10
|
+
}
|
11
|
+
render() {
|
12
|
+
return (h(Host, { key: '526227a9695e8c0846780a3c39034b4d558cf141', class: {
|
13
|
+
connection: this.variant === 'connection',
|
14
|
+
pending: this.variant === 'pending',
|
15
|
+
approved: this.variant === 'approved',
|
16
|
+
failed: this.variant === 'failed',
|
17
|
+
} }, h("div", { key: '45ce6b958e3c3b8544e280425da83fbb014ff500', class: "backgroundContainer" }, h("div", { key: 'a5337d2ceddcd7ac725aa9b68ba240e62fc32f37', class: "background" }, h("div", { key: '88703ca494220195a5da3a21aef49e4eee29b928', class: "ring ring3" }), h("div", { key: 'bc9e1eacc99a1993e7f1e76d87c521250d8287f9', class: "ring ring2" }), h("div", { key: 'afaa234eb2d2a312c2d197de435d4396e64b77f1', class: "ring ring1" }), h("div", { key: '0e46b2f228e479019d0cfb8cda850fd3f361da65', class: "ring ring0" }), this.variant === 'connection' && (h("div", { class: `ringCenter connection` }, h("img", { src: Images.heroDefault }))), this.variant === 'pending' && (h("div", { class: `ringCenter pending` }, h("img", { src: Images.heroPending }))), this.variant === 'approved' && (h("div", { class: `ringCenter approved` }, h("img", { src: Images.heroSuccess }))), h("div", { key: 'ecf964e7816cfdd4db690a1a4b21e39f91504457', class: "fadeOut" })), h("div", { key: '0d494d9907b97ca438a5bd1a54d776555da0940e', class: "children" }, this.variant === 'connection' && (h("div", { class: "connectDiagramContainer" }, h("slot", { name: "connectionLeft" }), h("slot", { name: "connectionRight" }))), this.variant === 'failed' && AlertCircle(), this.variant === 'approved' && Checkmark())), h("cpsl-text", { key: '44855a5dbd947bacd51f4dc48d4e2a28f94f1b71', variant: "headingXS", color: "primary", weight: "medium" }, this.title), this.subtitle && (h("cpsl-text", { variant: "bodyM", color: "secondary" }, this.subtitle))));
|
18
|
+
}
|
19
|
+
static get is() { return "cpsl-hero"; }
|
20
|
+
static get encapsulation() { return "shadow"; }
|
21
|
+
static get originalStyleUrls() {
|
22
|
+
return {
|
23
|
+
"$": ["cpsl-hero.scss"]
|
24
|
+
};
|
25
|
+
}
|
26
|
+
static get styleUrls() {
|
27
|
+
return {
|
28
|
+
"$": ["cpsl-hero.css"]
|
29
|
+
};
|
30
|
+
}
|
31
|
+
static get properties() {
|
32
|
+
return {
|
33
|
+
"variant": {
|
34
|
+
"type": "string",
|
35
|
+
"mutable": false,
|
36
|
+
"complexType": {
|
37
|
+
"original": "'connection' | 'pending' | 'approved' | 'failed'",
|
38
|
+
"resolved": "\"approved\" | \"connection\" | \"failed\" | \"pending\"",
|
39
|
+
"references": {}
|
40
|
+
},
|
41
|
+
"required": false,
|
42
|
+
"optional": true,
|
43
|
+
"docs": {
|
44
|
+
"tags": [],
|
45
|
+
"text": "The variant of the button.\nOptions are: `\"default\"`, `\"loading\", `\"success\".\nDefault is: `\"default\"`."
|
46
|
+
},
|
47
|
+
"attribute": "variant",
|
48
|
+
"reflect": true,
|
49
|
+
"defaultValue": "'connection'"
|
50
|
+
},
|
51
|
+
"title": {
|
52
|
+
"type": "string",
|
53
|
+
"mutable": false,
|
54
|
+
"complexType": {
|
55
|
+
"original": "string",
|
56
|
+
"resolved": "string",
|
57
|
+
"references": {}
|
58
|
+
},
|
59
|
+
"required": false,
|
60
|
+
"optional": false,
|
61
|
+
"docs": {
|
62
|
+
"tags": [],
|
63
|
+
"text": ""
|
64
|
+
},
|
65
|
+
"attribute": "title",
|
66
|
+
"reflect": true
|
67
|
+
},
|
68
|
+
"subtitle": {
|
69
|
+
"type": "string",
|
70
|
+
"mutable": false,
|
71
|
+
"complexType": {
|
72
|
+
"original": "string",
|
73
|
+
"resolved": "string",
|
74
|
+
"references": {}
|
75
|
+
},
|
76
|
+
"required": false,
|
77
|
+
"optional": true,
|
78
|
+
"docs": {
|
79
|
+
"tags": [],
|
80
|
+
"text": ""
|
81
|
+
},
|
82
|
+
"attribute": "subtitle",
|
83
|
+
"reflect": true
|
84
|
+
}
|
85
|
+
};
|
86
|
+
}
|
87
|
+
}
|
88
|
+
//# sourceMappingURL=cpsl-hero.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cpsl-hero.js","sourceRoot":"","sources":["../../../../src/components/cpsl-hero/cpsl-hero.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,CACtB,WAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B;IAC5F,yBACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,+TAA+T,EACjU,IAAI,EAAC,6BAA6B,GAClC;IACF;QACE,sBAAgB,EAAE,EAAC,uBAAuB,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,SAAS,EAAC,aAAa,EAAC,gBAAgB;YAChH,0BAAiB,SAAS,GAAG;YAC7B,YAAM,MAAM,EAAC,OAAO,gBAAY,SAAS,GAAG;YAC5C,YAAM,MAAM,EAAC,GAAG,gBAAY,SAAS,GAAG,CACzB,CACZ,CACH,CACP,CAAC;AAEF,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,CACxB,WAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B;IAC5F,YACE,CAAC,EAAC,2NAA2N,EAC7N,MAAM,EAAC,SAAS,kBACH,GAAG,oBACD,OAAO,qBACN,OAAO,GACvB,CACE,CACP,CAAC;AAOF,MAAM,OAAO,QAAQ;;uBAMmE,YAAY;;;;IAMlG,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE;gBAEL,UAAU,EAAE,IAAI,CAAC,OAAO,KAAK,YAAY;gBACzC,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;gBACnC,QAAQ,EAAE,IAAI,CAAC,OAAO,KAAK,UAAU;gBACrC,MAAM,EAAE,IAAI,CAAC,OAAO,KAAK,QAAQ;aAClC;YAED,4DAAK,KAAK,EAAC,qBAAqB;gBAC9B,4DAAK,KAAK,EAAC,YAAY;oBACrB,4DAAK,KAAK,EAAC,YAAY,GAAG;oBAC1B,4DAAK,KAAK,EAAC,YAAY,GAAG;oBAC1B,4DAAK,KAAK,EAAC,YAAY,GAAG;oBAC1B,4DAAK,KAAK,EAAC,YAAY,GAAG;oBACzB,IAAI,CAAC,OAAO,KAAK,YAAY,IAAI,CAChC,WAAK,KAAK,EAAE,uBAAuB;wBACjC,WAAK,GAAG,EAAE,MAAM,CAAC,WAAW,GAAI,CAC5B,CACP;oBACA,IAAI,CAAC,OAAO,KAAK,SAAS,IAAI,CAC7B,WAAK,KAAK,EAAE,oBAAoB;wBAC9B,WAAK,GAAG,EAAE,MAAM,CAAC,WAAW,GAAI,CAC5B,CACP;oBAEA,IAAI,CAAC,OAAO,KAAK,UAAU,IAAI,CAC9B,WAAK,KAAK,EAAE,qBAAqB;wBAC/B,WAAK,GAAG,EAAE,MAAM,CAAC,WAAW,GAAI,CAC5B,CACP;oBACD,4DAAK,KAAK,EAAC,SAAS,GAAG,CACnB;gBACN,4DAAK,KAAK,EAAC,UAAU;oBAClB,IAAI,CAAC,OAAO,KAAK,YAAY,IAAI,CAChC,WAAK,KAAK,EAAC,yBAAyB;wBAClC,YAAM,IAAI,EAAC,gBAAgB,GAAG;wBAC9B,YAAM,IAAI,EAAC,iBAAiB,GAAG,CAC3B,CACP;oBACA,IAAI,CAAC,OAAO,KAAK,QAAQ,IAAI,WAAW,EAAE;oBAC1C,IAAI,CAAC,OAAO,KAAK,UAAU,IAAI,SAAS,EAAE,CACvC,CACF;YACN,kEAAW,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,SAAS,EAAC,MAAM,EAAC,QAAQ,IAC3D,IAAI,CAAC,KAAK,CACD;YACX,IAAI,CAAC,QAAQ,IAAI,CAChB,iBAAW,OAAO,EAAC,OAAO,EAAC,KAAK,EAAC,WAAW,IACzC,IAAI,CAAC,QAAQ,CACJ,CACb,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport { Images } from '../../assets/images';\n\nconst Checkmark = () => (\n <svg width=\"48\" height=\"35\" viewBox=\"0 0 48 35\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M47.219 1.11439C48.2604 2.15579 48.2604 3.84423 47.219 4.88563L17.8856 34.219C16.8442 35.2604 15.1558 35.2604 14.1144 34.219L0.781049 20.8856C-0.26035 19.8442 -0.26035 18.1558 0.781049 17.1144C1.82245 16.073 3.51089 16.073 4.55229 17.1144L16 28.5621L43.4477 1.11439C44.4891 0.0729939 46.1776 0.0729939 47.219 1.11439Z\"\n fill=\"url(#paint0_linear_841_278)\"\n />\n <defs>\n <linearGradient id=\"paint0_linear_841_278\" x1=\"48\" y1=\"17.6667\" x2=\"0\" y2=\"17.6667\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"#BC82F3\" />\n <stop offset=\"0.485\" stop-color=\"#FF6778\" />\n <stop offset=\"1\" stop-color=\"#FFBA71\" />\n </linearGradient>\n </defs>\n </svg>\n);\n\nconst AlertCircle = () => (\n <svg width=\"58\" height=\"58\" viewBox=\"0 0 58 58\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M29 18.3333V29M29 39.6666H29.0267M55.6667 29C55.6667 43.7276 43.7276 55.6666 29 55.6666C14.2724 55.6666 2.33333 43.7276 2.33333 29C2.33333 14.2724 14.2724 2.33331 29 2.33331C43.7276 2.33331 55.6667 14.2724 55.6667 29Z\"\n stroke=\"#F04438\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n);\n\n@Component({\n tag: 'cpsl-hero',\n styleUrl: 'cpsl-hero.scss',\n shadow: true,\n})\nexport class CpslHero {\n /**\n * The variant of the button.\n * Options are: `\"default\"`, `\"loading\", `\"success\".\n * Default is: `\"default\"`.\n */\n @Prop({ reflect: true }) variant?: 'connection' | 'pending' | 'approved' | 'failed' = 'connection';\n\n @Prop({ reflect: true }) title: string;\n\n @Prop({ reflect: true }) subtitle?: string;\n\n render() {\n return (\n <Host\n class={{\n // VARIANTS\n connection: this.variant === 'connection',\n pending: this.variant === 'pending',\n approved: this.variant === 'approved',\n failed: this.variant === 'failed',\n }}\n >\n <div class=\"backgroundContainer\">\n <div class=\"background\">\n <div class=\"ring ring3\" />\n <div class=\"ring ring2\" />\n <div class=\"ring ring1\" />\n <div class=\"ring ring0\" />\n {this.variant === 'connection' && (\n <div class={`ringCenter connection`}>\n <img src={Images.heroDefault} />\n </div>\n )}\n {this.variant === 'pending' && (\n <div class={`ringCenter pending`}>\n <img src={Images.heroPending} />\n </div>\n )}\n\n {this.variant === 'approved' && (\n <div class={`ringCenter approved`}>\n <img src={Images.heroSuccess} />\n </div>\n )}\n <div class=\"fadeOut\" />\n </div>\n <div class=\"children\">\n {this.variant === 'connection' && (\n <div class=\"connectDiagramContainer\">\n <slot name=\"connectionLeft\" />\n <slot name=\"connectionRight\" />\n </div>\n )}\n {this.variant === 'failed' && AlertCircle()}\n {this.variant === 'approved' && Checkmark()}\n </div>\n </div>\n <cpsl-text variant=\"headingXS\" color=\"primary\" weight=\"medium\">\n {this.title}\n </cpsl-text>\n {this.subtitle && (\n <cpsl-text variant=\"bodyM\" color=\"secondary\">\n {this.subtitle}\n </cpsl-text>\n )}\n </Host>\n );\n }\n}\n"]}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
const meta = {
|
2
|
+
title: 'Components/CpslHero',
|
3
|
+
};
|
4
|
+
export default meta;
|
5
|
+
const ConnectionTemplate = () => `
|
6
|
+
<cpsl-hero variant="connection" title="Approve Transaction" subtitle="Please review the following transaction details">
|
7
|
+
<cpsl-identicon size={62} hash="5yhg423546" slot="connectionLeft"></cpsl-identicon>
|
8
|
+
<cpsl-identicon size={62} hash="884884fj4" slot="connectionRight"></cpsl-identicon>
|
9
|
+
</cpsl-hero>`;
|
10
|
+
const PendingTemplate = () => `<cpsl-hero variant="pending"></cpsl-hero>`;
|
11
|
+
const ApprovedTemplate = () => `<cpsl-hero variant="approved"></cpsl-hero>`;
|
12
|
+
const FailedTemplate = () => `<cpsl-hero variant="failed"></cpsl-hero>`;
|
13
|
+
export const Connection = ConnectionTemplate.bind({});
|
14
|
+
export const Pending = PendingTemplate.bind({});
|
15
|
+
export const Approved = ApprovedTemplate.bind({});
|
16
|
+
export const Failed = FailedTemplate.bind({});
|
17
|
+
//# sourceMappingURL=cpsl-hero.stories.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cpsl-hero.stories.js","sourceRoot":"","sources":["../../../../src/components/cpsl-hero/cpsl-hero.stories.ts"],"names":[],"mappings":"AAGA,MAAM,IAAI,GAA0C;IAClD,KAAK,EAAE,qBAAqB;CAC7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,kBAAkB,GAAU,GAAG,EAAE,CAAC;;;;aAI3B,CAAC;AACd,MAAM,eAAe,GAAU,GAAG,EAAE,CAAC,2CAA2C,CAAC;AACjF,MAAM,gBAAgB,GAAU,GAAG,EAAE,CAAC,4CAA4C,CAAC;AACnF,MAAM,cAAc,GAAU,GAAG,EAAE,CAAC,0CAA0C,CAAC;AAE/E,MAAM,CAAC,MAAM,UAAU,GAAU,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7D,MAAM,CAAC,MAAM,OAAO,GAAU,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvD,MAAM,CAAC,MAAM,QAAQ,GAAU,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzD,MAAM,CAAC,MAAM,MAAM,GAAU,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import type { Meta, StoryFn } from '@storybook/html';\nimport { type CpslHero } from './cpsl-hero';\n\nconst meta: Meta<CpslHero & { content?: string }> = {\n title: 'Components/CpslHero',\n};\n\nexport default meta;\n\ntype Story = StoryFn<CpslHero & { content?: string }>;\n\nconst ConnectionTemplate: Story = () => `\n<cpsl-hero variant=\"connection\" title=\"Approve Transaction\" subtitle=\"Please review the following transaction details\">\n <cpsl-identicon size={62} hash=\"5yhg423546\" slot=\"connectionLeft\"></cpsl-identicon>\n <cpsl-identicon size={62} hash=\"884884fj4\" slot=\"connectionRight\"></cpsl-identicon>\n</cpsl-hero>`;\nconst PendingTemplate: Story = () => `<cpsl-hero variant=\"pending\"></cpsl-hero>`;\nconst ApprovedTemplate: Story = () => `<cpsl-hero variant=\"approved\"></cpsl-hero>`;\nconst FailedTemplate: Story = () => `<cpsl-hero variant=\"failed\"></cpsl-hero>`;\n\nexport const Connection: Story = ConnectionTemplate.bind({});\nexport const Pending: Story = PendingTemplate.bind({});\nexport const Approved: Story = ApprovedTemplate.bind({});\nexport const Failed: Story = FailedTemplate.bind({});\n"]}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
+
function fulfilled(value) { try {
|
5
|
+
step(generator.next(value));
|
6
|
+
}
|
7
|
+
catch (e) {
|
8
|
+
reject(e);
|
9
|
+
} }
|
10
|
+
function rejected(value) { try {
|
11
|
+
step(generator["throw"](value));
|
12
|
+
}
|
13
|
+
catch (e) {
|
14
|
+
reject(e);
|
15
|
+
} }
|
16
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
17
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
18
|
+
});
|
19
|
+
};
|
20
|
+
import { newE2EPage } from "@stencil/core/testing";
|
21
|
+
describe('cpsl-hero', () => {
|
22
|
+
it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
|
23
|
+
const page = yield newE2EPage();
|
24
|
+
yield page.setContent('<cpsl-hero></cpsl-hero>');
|
25
|
+
const element = yield page.find('cpsl-hero');
|
26
|
+
expect(element).toHaveClass('hydrated');
|
27
|
+
}));
|
28
|
+
});
|
29
|
+
//# sourceMappingURL=cpsl-hero.e2e.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cpsl-hero.e2e.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-hero/test/cpsl-hero.e2e.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;QAChC,MAAM,IAAI,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;QAEjD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC7C,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC1C,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from '@stencil/core/testing';\n\ndescribe('cpsl-hero', () => {\n it('renders', async () => {\n const page = await newE2EPage();\n await page.setContent('<cpsl-hero></cpsl-hero>');\n\n const element = await page.find('cpsl-hero');\n expect(element).toHaveClass('hydrated');\n });\n});\n"]}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
+
function fulfilled(value) { try {
|
5
|
+
step(generator.next(value));
|
6
|
+
}
|
7
|
+
catch (e) {
|
8
|
+
reject(e);
|
9
|
+
} }
|
10
|
+
function rejected(value) { try {
|
11
|
+
step(generator["throw"](value));
|
12
|
+
}
|
13
|
+
catch (e) {
|
14
|
+
reject(e);
|
15
|
+
} }
|
16
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
17
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
18
|
+
});
|
19
|
+
};
|
20
|
+
import { newSpecPage } from "@stencil/core/testing";
|
21
|
+
import { CpslHero } from "../cpsl-hero";
|
22
|
+
describe('cpsl-hero', () => {
|
23
|
+
it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
|
24
|
+
const page = yield newSpecPage({
|
25
|
+
components: [CpslHero],
|
26
|
+
html: `<cpsl-hero></cpsl-hero>`,
|
27
|
+
});
|
28
|
+
expect(page.root).toEqualHtml(`
|
29
|
+
<cpsl-hero>
|
30
|
+
<mock:shadow-root>
|
31
|
+
<slot></slot>
|
32
|
+
</mock:shadow-root>
|
33
|
+
</cpsl-hero>
|
34
|
+
`);
|
35
|
+
}));
|
36
|
+
});
|
37
|
+
//# sourceMappingURL=cpsl-hero.spec.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cpsl-hero.spec.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-hero/test/cpsl-hero.spec.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,QAAQ,CAAC;YACtB,IAAI,EAAE,yBAAyB;SAChC,CAAC,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;KAM7B,CAAC,CAAC;IACL,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { CpslHero } from '../cpsl-hero';\n\ndescribe('cpsl-hero', () => {\n it('renders', async () => {\n const page = await newSpecPage({\n components: [CpslHero],\n html: `<cpsl-hero></cpsl-hero>`,\n });\n expect(page.root).toEqualHtml(`\n <cpsl-hero>\n <mock:shadow-root>\n <slot></slot>\n </mock:shadow-root>\n </cpsl-hero>\n `);\n });\n});\n"]}
|
@@ -6,7 +6,7 @@ export class CpslIcon {
|
|
6
6
|
this.icon = undefined;
|
7
7
|
}
|
8
8
|
render() {
|
9
|
-
return (h(Host, { key: '
|
9
|
+
return (h(Host, { key: '91853a486a389f4850a7ae83a25cedba52c645a5', part: "icon", role: "img" }, !Boolean(this.icon) ? h("img", { src: this.src }) : h("div", { innerHTML: Icons[this.icon] })));
|
10
10
|
}
|
11
11
|
static get is() { return "cpsl-icon"; }
|
12
12
|
static get encapsulation() { return "shadow"; }
|
@@ -44,7 +44,7 @@ export class CpslIcon {
|
|
44
44
|
"mutable": false,
|
45
45
|
"complexType": {
|
46
46
|
"original": "IconType",
|
47
|
-
"resolved": "\"
|
47
|
+
"resolved": "\"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"brush\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"cube\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"doubleArc\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"farcasterBrand\" | \"farcaster\" | \"figmaBrand\" | \"figma\" | \"file\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"image\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning01\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"menu\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"refresh\" | \"settings\" | \"signalBrand\" | \"signal\" | \"singleArc\" | \"snapchatBrand\" | \"snapchat\" | \"stars\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"x\" | \"youtubeBrand\" | \"youtube\" | \"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\"",
|
48
48
|
"references": {
|
49
49
|
"IconType": {
|
50
50
|
"location": "import",
|
@@ -0,0 +1,69 @@
|
|
1
|
+
:host {
|
2
|
+
--identicon-background-red: linear-gradient(136deg, #FF4270 6.86%, #FF7C7C 93.78%);
|
3
|
+
--identicon-background-orange: linear-gradient(136deg, #F45532 6.86%, #FF9B63 93.78%);
|
4
|
+
--identicon-background-yellow: linear-gradient(136deg, #FFA756 6.86%, #FBFF47 93.78%);
|
5
|
+
--identicon-background-green: linear-gradient(136deg, #0CAE60 6.86%, #7BFFD0 93.78%);
|
6
|
+
--identicon-background-blue: linear-gradient(136deg, #476FFF 6.86%, #47C8FF 93.78%);
|
7
|
+
--identicon-background-purple: linear-gradient(136deg, #9747FF 6.86%, #DA47FF 93.78%);
|
8
|
+
display: block;
|
9
|
+
width: 62px;
|
10
|
+
height: 62px;
|
11
|
+
aspect-ratio: 1;
|
12
|
+
border-radius: 6px;
|
13
|
+
position: relative;
|
14
|
+
border: 1px solid var(--cpsl-color-background-8);
|
15
|
+
}
|
16
|
+
:host > svg {
|
17
|
+
fill: rgba(255, 255, 255, 0.6);
|
18
|
+
position: absolute;
|
19
|
+
width: 35%;
|
20
|
+
}
|
21
|
+
:host > svg.rotate90 {
|
22
|
+
transform: rotate(0.25turn);
|
23
|
+
}
|
24
|
+
:host > svg.rotate180 {
|
25
|
+
transform: rotate(0.5turn);
|
26
|
+
}
|
27
|
+
:host > svg.rotate270 {
|
28
|
+
transform: rotate(0.75turn);
|
29
|
+
}
|
30
|
+
:host > svg:nth-child(1) {
|
31
|
+
right: 50%;
|
32
|
+
bottom: 50%;
|
33
|
+
}
|
34
|
+
:host > svg:nth-child(2) {
|
35
|
+
left: 50%;
|
36
|
+
bottom: 50%;
|
37
|
+
}
|
38
|
+
:host > svg:nth-child(3) {
|
39
|
+
right: 50%;
|
40
|
+
top: 50%;
|
41
|
+
}
|
42
|
+
:host > svg:nth-child(4) {
|
43
|
+
left: 50%;
|
44
|
+
top: 50%;
|
45
|
+
}
|
46
|
+
|
47
|
+
:host(.red) {
|
48
|
+
background: var(--identicon-background-red);
|
49
|
+
}
|
50
|
+
|
51
|
+
:host(.orange) {
|
52
|
+
background: var(--identicon-background-orange);
|
53
|
+
}
|
54
|
+
|
55
|
+
:host(.green) {
|
56
|
+
background: var(--identicon-background-green);
|
57
|
+
}
|
58
|
+
|
59
|
+
:host(.yellow) {
|
60
|
+
background: var(--identicon-background-yellow);
|
61
|
+
}
|
62
|
+
|
63
|
+
:host(.blue) {
|
64
|
+
background: var(--identicon-background-blue);
|
65
|
+
}
|
66
|
+
|
67
|
+
:host(.purple) {
|
68
|
+
background: var(--identicon-background-purple);
|
69
|
+
}
|