@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
@@ -21,7 +21,7 @@ export class CpslTab {
|
|
21
21
|
}
|
22
22
|
}
|
23
23
|
render() {
|
24
|
-
return (h(Host, { key: '
|
24
|
+
return (h(Host, { key: 'e95f29b005dfda39d9e973c9fc540567024eec27', onClick: this.onTabClicked }, h("div", { key: '13f246e19210d03b75ee73b8afe739bcb7fb3d7d', class: { 'tab-container': true } }, h("slot", { key: 'add7e0bea1d4c4addbed47fbde20f5ec05b52035' }))));
|
25
25
|
}
|
26
26
|
static get is() { return "cpsl-tab"; }
|
27
27
|
static get encapsulation() { return "shadow"; }
|
@@ -45,7 +45,7 @@ export class CpslTable {
|
|
45
45
|
return this.el.shadowRoot.getElementById('footer-container');
|
46
46
|
}
|
47
47
|
render() {
|
48
|
-
return (h(Host, { key: '
|
48
|
+
return (h(Host, { key: 'e9cbff08e0793ef62230b8b53068e1473afdaea2' }, h("cpsl-card", { key: '59b98cf62317094f5ee651f1f9d3046e08c29ba6', part: "table-container", style: { position: 'relative' } }, h("div", { key: 'b3253c82710463d4657a5faa542717f8302fc589', id: "header-container", class: { 'container-header': true, 'shown': Boolean(this.containerHeaderEl) } }, h("slot", { key: '0ca0c2e99a6136c829b36d3b30c4623841845123', name: "header" })), h("div", { key: '966b47e7378c566065ccb7c8162e99c0375bcf48', id: "content-container", class: { 'content': true, 'horizontal-scroll': this.hasHorizontalScroll, 'vertical-scroll': this.hasVerticalScroll }, part: "content" }, h("slot", { key: '8d7f77fb815ccdbd8f53d9d25d784d0206aef7b0', name: "content" })), this.headerEl && this.contentContainerEl && this.footerEl && (h("div", { style: { top: `${this.headerEl.clientHeight + 2}px`, height: `${this.contentContainerEl.clientHeight}px` }, class: { 'overlay': true, 'horizontal-scroll': this.hasHorizontalScroll, 'vertical-scroll': this.hasVerticalScroll } })), h("div", { key: '3b90591c13c87072799d2aff0989841e18b3febc', id: "footer-container", class: { 'container-footer': true, 'shown': Boolean(this.containerFooterEl) } }, h("slot", { key: '5b479cd74365927c9534b4ed95fa9cea293875f7', name: "footer" })))));
|
49
49
|
}
|
50
50
|
static get is() { return "cpsl-table"; }
|
51
51
|
static get encapsulation() { return "shadow"; }
|
@@ -46,7 +46,7 @@ export class CpslTabs {
|
|
46
46
|
const tabsPosition = this.el.getBoundingClientRect();
|
47
47
|
const tabsBorderWidth = +getComputedStyle(this.el).getPropertyValue('--tabs-border-width').slice(0, -2);
|
48
48
|
const selectedTabRect = this.selectedTabRect;
|
49
|
-
return (h(Host, { key: '
|
49
|
+
return (h(Host, { key: 'daae41f6bae37f5901f7e294ee8c0b227c307274', class: { 'full-width': this.fullWidth }, onCpslTabButtonClick: this.onTabClicked }, h("div", { key: '7027de2da2d48015961d1e79dc642d57c1872ff4', class: "tabs-container" }, h("slot", { key: 'fe79fe70cf220643aecc6caadf7ac1ce743e37bf' }), h("div", { key: '9e01e2c7fb5c613c4bc75c1e75cc4db87168b5e2', class: { slider: true, loaded: this.loaded }, style: { width: `${selectedTabRect.width}px`, left: `${selectedTabRect.x - tabsPosition.x - tabsBorderWidth * 2}px` } }))));
|
50
50
|
}
|
51
51
|
static get is() { return "cpsl-tabs"; }
|
52
52
|
static get encapsulation() { return "shadow"; }
|
@@ -31,7 +31,7 @@ export class CpslText {
|
|
31
31
|
}
|
32
32
|
}
|
33
33
|
render() {
|
34
|
-
return (h(Host, { key: '
|
34
|
+
return (h(Host, { key: 'ba54020f7e8b3b817f0d948e3ac317855d7da407', class: {
|
35
35
|
'primary': this.color === 'primary',
|
36
36
|
'secondary': this.color === 'secondary',
|
37
37
|
'tertiary': this.color === 'tertiary',
|
@@ -5,7 +5,7 @@ export class CpslTileButton {
|
|
5
5
|
this.icon = undefined;
|
6
6
|
}
|
7
7
|
render() {
|
8
|
-
return (h(Host, { key: '
|
8
|
+
return (h(Host, { key: '587cb8fe894f45ab668c8dfda82d979e37906464' }, h("button", { key: 'ebcaee33d3f842063503c7152779d9c489be8a59', class: "button-native" }, h("cpsl-icon", { key: '4e456aab6fe534a3728c11f2a7ec868db4c2837f', exportparts: "icon", src: this.src, icon: this.icon }), h("slot", { key: 'e529e2716796a3a8c979e04a855b2e7d30d7428c' }))));
|
9
9
|
}
|
10
10
|
static get is() { return "cpsl-tile-button"; }
|
11
11
|
static get encapsulation() { return "shadow"; }
|
@@ -43,7 +43,7 @@ export class CpslTileButton {
|
|
43
43
|
"mutable": false,
|
44
44
|
"complexType": {
|
45
45
|
"original": "IconType",
|
46
|
-
"resolved": "\"
|
46
|
+
"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\"",
|
47
47
|
"references": {
|
48
48
|
"IconType": {
|
49
49
|
"location": "import",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"interface.js","sourceRoot":"","sources":["../../src/interface.ts"],"names":[],"mappings":"","sourcesContent":["import { Icons } from './assets/icons';\n\nexport type PredefinedColors = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';\n\n// From: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete\nexport type AutocompleteTypes =\n | 'on'\n | 'off'\n | 'name'\n | 'honorific-prefix'\n | 'given-name'\n | 'additional-name'\n | 'family-name'\n | 'honorific-suffix'\n | 'nickname'\n | 'email'\n | 'username'\n | 'new-password'\n | 'current-password'\n | 'one-time-code'\n | 'organization-title'\n | 'organization'\n | 'street-address'\n | 'address-line1'\n | 'address-line2'\n | 'address-line3'\n | 'address-level4'\n | 'address-level3'\n | 'address-level2'\n | 'address-level1'\n | 'country'\n | 'country-name'\n | 'postal-code'\n | 'cc-name'\n | 'cc-given-name'\n | 'cc-additional-name'\n | 'cc-family-name'\n | 'cc-family-name'\n | 'cc-number'\n | 'cc-exp'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-csc'\n | 'cc-type'\n | 'transaction-currency'\n | 'transaction-amount'\n | 'language'\n | 'bday'\n | 'bday-day'\n | 'bday-month'\n | 'bday-year'\n | 'sex'\n | 'tel'\n | 'tel-country-code'\n | 'tel-national'\n | 'tel-area-code'\n | 'tel-local'\n | 'tel-extension'\n | 'impp'\n | 'url'\n | 'photo';\n\nexport type TextFieldTypes = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'time' | 'week' | 'month' | 'datetime-local';\n\nexport type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);\n\nexport type Color = LiteralUnion<PredefinedColors, string>;\n\nexport type CssClassMap = { [className: string]: boolean };\n\nexport type IconType = keyof typeof Icons;\n\nexport type Theme = {\n foregroundColor?: string;\n backgroundColor?: string;\n borderRadius?: BorderRadius;\n font?: string;\n customPalette?: CustomPalette;\n customFontSizes?: CustomFontSizes;\n customBorderRadii?: CustomBorderRadii;\n};\n\nexport type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';\n\nexport interface CustomBorderRadii {\n input?: string;\n select?: string;\n fileSelect?: string;\n alert?: string;\n tabs?: string;\n primaryButton?: string;\n secondaryButton?: string;\n destructiveButton?: string;\n tileButton?: string;\n modal?: string;\n pill?: string;\n qrCode?: string;\n infoBox?: string;\n tableContainer?: string;\n switch?: string;\n checkbox?: string;\n radio?: string;\n avatar?: string;\n card?: string;\n buttonGroup?: string;\n}\nexport interface CustomFontSizes {\n body2XS?: string;\n bodyXS?: string;\n bodyS?: string;\n bodyM?: string;\n bodyL?: string;\n bodyXL?: string;\n headingXS?: string;\n headingS?: string;\n headingM?: string;\n headingL?: string;\n headingXL?: string;\n heading2XL?: string;\n}\n\nexport interface CustomPalette {\n text?: {\n primary?: string;\n secondary?: string;\n subtle?: string;\n inverted?: string;\n error?: string;\n };\n modal?: {\n surface?: {\n main?: string;\n footer?: string;\n };\n border?: string;\n };\n input?: {\n surface?: {\n disabled?: string;\n default?: string;\n hover?: string;\n };\n border?: {\n placeholder?: string;\n active?: string;\n error?: string;\n };\n };\n select?: {\n surface?: {\n disabled?: string;\n default?: string;\n hover?: string;\n };\n border?: {\n placeholder?: string;\n active?: string;\n error?: string;\n };\n dropdown?: {\n border?: string;\n };\n };\n file?: {\n surface?: {\n disabled?: string;\n default?: string;\n drag?: string;\n };\n border?: {\n placeholder?: string;\n error?: string;\n };\n };\n tileButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n };\n border?: string;\n };\n primaryButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n disabled?: string;\n };\n border?: {\n default?: string;\n disabled?: string;\n };\n outline?: string;\n };\n secondaryButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n disabled?: string;\n };\n border?: {\n default?: string;\n disabled?: string;\n };\n outline?: string;\n };\n destructiveButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n disabled?: string;\n };\n border?: {\n default?: string;\n disabled?: string;\n };\n outline?: string;\n };\n divider?: string;\n spinner?: {\n path?: string;\n circle?: string;\n };\n pill?: {\n text?: string;\n container?: {\n background?: string;\n border?: string;\n };\n };\n progressIndicator?: {\n active?: string;\n next?: string;\n previous?: string;\n };\n qr?: {\n fill?: string;\n background?: string;\n border?: string;\n };\n slideButton?: {\n slider?: {\n background?: string;\n border?: string;\n text?: string;\n container?: {\n start?: {\n background?: string;\n border?: string;\n };\n end?: {\n background?: string;\n border?: string;\n };\n };\n };\n start?: {\n text?: string;\n };\n end?: {\n text?: string;\n };\n };\n alert?: {\n surface?: {\n error?: string;\n };\n border?: {\n error?: string;\n };\n };\n switch?: {\n surface?: {\n default?: string;\n checked?: string;\n };\n thumb?: {\n default?: string;\n checked?: string;\n };\n };\n checkbox?: {\n surface?: {\n default?: string;\n checked?: string;\n };\n border?: {\n default?: string;\n checked?: string;\n };\n icon?: string;\n };\n radio?: {\n surface?: {\n default?: string;\n checked?: string;\n };\n border?: {\n default?: string;\n checked?: string;\n };\n };\n card?: {\n surface?: string;\n border?: string;\n };\n}\n\nexport interface InteractionCallback {\n eventName: string;\n callback: (ev: any) => void;\n}\n"]}
|
1
|
+
{"version":3,"file":"interface.js","sourceRoot":"","sources":["../../src/interface.ts"],"names":[],"mappings":"","sourcesContent":["import { Icons } from './assets/icons';\nimport { Images } from './assets/images';\n\nexport type PredefinedColors = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';\n\n// From: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete\nexport type AutocompleteTypes =\n | 'on'\n | 'off'\n | 'name'\n | 'honorific-prefix'\n | 'given-name'\n | 'additional-name'\n | 'family-name'\n | 'honorific-suffix'\n | 'nickname'\n | 'email'\n | 'username'\n | 'new-password'\n | 'current-password'\n | 'one-time-code'\n | 'organization-title'\n | 'organization'\n | 'street-address'\n | 'address-line1'\n | 'address-line2'\n | 'address-line3'\n | 'address-level4'\n | 'address-level3'\n | 'address-level2'\n | 'address-level1'\n | 'country'\n | 'country-name'\n | 'postal-code'\n | 'cc-name'\n | 'cc-given-name'\n | 'cc-additional-name'\n | 'cc-family-name'\n | 'cc-family-name'\n | 'cc-number'\n | 'cc-exp'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-csc'\n | 'cc-type'\n | 'transaction-currency'\n | 'transaction-amount'\n | 'language'\n | 'bday'\n | 'bday-day'\n | 'bday-month'\n | 'bday-year'\n | 'sex'\n | 'tel'\n | 'tel-country-code'\n | 'tel-national'\n | 'tel-area-code'\n | 'tel-local'\n | 'tel-extension'\n | 'impp'\n | 'url'\n | 'photo';\n\nexport type TextFieldTypes = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'time' | 'week' | 'month' | 'datetime-local';\n\nexport type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);\n\nexport type Color = LiteralUnion<PredefinedColors, string>;\n\nexport type CssClassMap = { [className: string]: boolean };\n\nexport type IconType = keyof typeof Icons;\nexport type ImageType = keyof typeof Images;\n\nexport type Theme = {\n foregroundColor?: string;\n backgroundColor?: string;\n borderRadius?: BorderRadius;\n font?: string;\n customPalette?: CustomPalette;\n customFontSizes?: CustomFontSizes;\n customBorderRadii?: CustomBorderRadii;\n};\n\nexport type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';\n\nexport interface CustomBorderRadii {\n input?: string;\n select?: string;\n fileSelect?: string;\n alert?: string;\n tabs?: string;\n primaryButton?: string;\n secondaryButton?: string;\n destructiveButton?: string;\n tileButton?: string;\n modal?: string;\n pill?: string;\n qrCode?: string;\n infoBox?: string;\n tableContainer?: string;\n switch?: string;\n checkbox?: string;\n radio?: string;\n avatar?: string;\n card?: string;\n buttonGroup?: string;\n}\nexport interface CustomFontSizes {\n body2XS?: string;\n bodyXS?: string;\n bodyS?: string;\n bodyM?: string;\n bodyL?: string;\n bodyXL?: string;\n headingXS?: string;\n headingS?: string;\n headingM?: string;\n headingL?: string;\n headingXL?: string;\n heading2XL?: string;\n}\n\nexport interface CustomPalette {\n text?: {\n primary?: string;\n secondary?: string;\n subtle?: string;\n inverted?: string;\n error?: string;\n };\n modal?: {\n surface?: {\n main?: string;\n footer?: string;\n };\n border?: string;\n };\n input?: {\n surface?: {\n disabled?: string;\n default?: string;\n hover?: string;\n };\n border?: {\n placeholder?: string;\n active?: string;\n error?: string;\n };\n };\n select?: {\n surface?: {\n disabled?: string;\n default?: string;\n hover?: string;\n };\n border?: {\n placeholder?: string;\n active?: string;\n error?: string;\n };\n dropdown?: {\n border?: string;\n };\n };\n file?: {\n surface?: {\n disabled?: string;\n default?: string;\n drag?: string;\n };\n border?: {\n placeholder?: string;\n error?: string;\n };\n };\n tileButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n };\n border?: string;\n };\n primaryButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n disabled?: string;\n };\n border?: {\n default?: string;\n disabled?: string;\n };\n outline?: string;\n };\n secondaryButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n disabled?: string;\n };\n border?: {\n default?: string;\n disabled?: string;\n };\n outline?: string;\n };\n destructiveButton?: {\n surface?: {\n default?: string;\n hover?: string;\n pressed?: string;\n disabled?: string;\n };\n border?: {\n default?: string;\n disabled?: string;\n };\n outline?: string;\n };\n divider?: string;\n spinner?: {\n path?: string;\n circle?: string;\n };\n pill?: {\n text?: string;\n container?: {\n background?: string;\n border?: string;\n };\n };\n progressIndicator?: {\n active?: string;\n next?: string;\n previous?: string;\n };\n qr?: {\n fill?: string;\n background?: string;\n border?: string;\n };\n slideButton?: {\n slider?: {\n background?: string;\n border?: string;\n text?: string;\n container?: {\n start?: {\n background?: string;\n border?: string;\n };\n end?: {\n background?: string;\n border?: string;\n };\n };\n };\n start?: {\n text?: string;\n };\n end?: {\n text?: string;\n };\n };\n alert?: {\n surface?: {\n error?: string;\n };\n border?: {\n error?: string;\n };\n };\n switch?: {\n surface?: {\n default?: string;\n checked?: string;\n };\n thumb?: {\n default?: string;\n checked?: string;\n };\n };\n checkbox?: {\n surface?: {\n default?: string;\n checked?: string;\n };\n border?: {\n default?: string;\n checked?: string;\n };\n icon?: string;\n };\n radio?: {\n surface?: {\n default?: string;\n checked?: string;\n };\n border?: {\n default?: string;\n checked?: string;\n };\n };\n card?: {\n surface?: string;\n border?: string;\n };\n}\n\nexport interface InteractionCallback {\n eventName: string;\n callback: (ev: any) => void;\n}\n"]}
|
package/dist/esm/capsule.js
CHANGED
@@ -16,7 +16,7 @@ const patchBrowser = () => {
|
|
16
16
|
|
17
17
|
patchBrowser().then(async (options) => {
|
18
18
|
await globalScripts();
|
19
|
-
return bootstrapLazy([["cpsl-modal-v2",[[1,"cpsl-modal-v2",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"elevated":[4],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}]]],["cpsl-animation",[[1,"cpsl-animation",{"src":[1],"replayAnimation":[64]}]]],["cpsl-col",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-grid",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-info-box",[[1,"cpsl-info-box"]]],["cpsl-row",[[1,"cpsl-row"]]],["cpsl-
|
19
|
+
return bootstrapLazy([["cpsl-modal-v2",[[1,"cpsl-modal-v2",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"elevated":[4],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}]]],["cpsl-animation",[[1,"cpsl-animation",{"src":[1],"replayAnimation":[64]}]]],["cpsl-col",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-grid",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-identicon",[[1,"cpsl-identicon",{"hash":[1],"size":[2]}]]],["cpsl-info-box",[[1,"cpsl-info-box"]]],["cpsl-row",[[1,"cpsl-row"]]],["cpsl-alert_34",[[1,"cpsl-pagination",{"initialPage":[2,"initial-page"],"totalPages":[2,"total-pages"],"visiblePages":[1026,"visible-pages"],"currentPage":[32]},null,{"currentPage":["watchChange"]}],[1,"cpsl-file-upload",{"errorText":[1,"error-text"],"externalFilename":[1,"external-filename"],"externalSrc":[1,"external-src"],"fileTypes":[16],"helperText":[1,"helper-text"],"label":[1],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"uploadFile":[16],"file":[32],"dragOver":[32],"dragError":[32],"isUploading":[32],"uploadError":[32]}],[1,"cpsl-select",{"disabled":[4],"dropdownMaxHeight":[2,"dropdown-max-height"],"errorText":[1,"error-text"],"formatValue":[16],"helperText":[1,"helper-text"],"id":[1],"label":[1],"placeholder":[1],"required":[4],"selectedValue":[1,"selected-value"],"showFormattedSelectedItem":[4,"show-formatted-selected-item"],"showOptionalLabel":[4,"show-optional-label"],"anchorEl":[32],"hasFocus":[32],"popoverOpen":[32],"hasSelectedItem":[32]},[[0,"cpslSelectItemClick","selectItemClickHandler"],[0,"cpslOpen","onPopoverOpen"],[0,"cpslClose","onPopoverClose"]],{"selectedValue":["onValueChange","handleValueChange"]}],[1,"cpsl-alert",{"icon":[1],"variant":[1]}],[1,"cpsl-checkbox",{"checked":[4]}],[1,"cpsl-code-input",{"code":[1025],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"length":[2],"type":[1]}],[1,"cpsl-drawer",{"anchor":[1],"anchorPosition":[2,"anchor-position"],"noOverlay":[4,"no-overlay"],"open":[4],"size":[8],"transitionDuration":[2,"transition-duration"],"transitionFunction":[1,"transition-function"],"variant":[1],"zIndexOverride":[2,"z-index-override"],"closedAnchorPosition":[32],"showTransition":[32]}],[1,"cpsl-hero",{"variant":[513],"title":[513],"subtitle":[513]}],[1,"cpsl-modal",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"footerExpanded":[4,"footer-expanded"],"footerTransitionDuration":[2,"footer-transition-duration"],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"],"hasFooter":[32]},null,{"footerExpanded":["toggleHeight"],"open":["toggleModal"]}],[1,"cpsl-slide-button",{"disabled":[4],"endIcon":[1,"end-icon"],"endText":[1,"end-text"],"startIcon":[1,"start-icon"],"startText":[1,"start-text"]}],[1,"cpsl-table",{"hasHorizontalScroll":[32],"hasVerticalScroll":[32]}],[1,"cpsl-tile-button",{"src":[1],"icon":[1]}],[1,"cpsl-app-bar",{"height":[2],"position":[1],"zIndexOverride":[2,"z-index-override"]}],[1,"cpsl-avatar",{"alt":[1],"src":[1],"variant":[1]}],[1,"cpsl-divider"],[1,"cpsl-dropdown",{"width":[1],"hasCpslSearch":[4,"has-cpsl-search"],"items":[16],"selectedItem":[1040],"isOpen":[32],"searchQuery":[32],"filteredItems":[32]},[[9,"resize","handleResize"]],{"selectedItem":["handleSelectedItemChange"],"isOpen":["handleOpenChange"]}],[1,"cpsl-input",{"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"noAutoDisable":[4,"no-auto-disable"],"autofocus":[4],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"inputmode":[1],"label":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"spellcheck":[4],"startIconSrc":[1,"start-icon-src"],"startIcon":[1,"start-icon"],"step":[1],"type":[1],"value":[1025],"hasFocus":[32]},null,{"disabled":["handleDisable"]}],[1,"cpsl-nav-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-pill",{"text":[1]}],[1,"cpsl-progress-indicator",{"totalSteps":[2,"total-steps"],"step":[2]}],[1,"cpsl-qr-code",{"url":[1],"imageSrc":[1,"image-src"],"size":[2]}],[1,"cpsl-radio",{"checked":[4]}],[1,"cpsl-select-item",{"selected":[4],"value":[1]}],[1,"cpsl-switch",{"checked":[4]}],[1,"cpsl-tab",{"selected":[4],"tab":[1]},[[8,"cpslTabsChanged","onTabsChanged"],[8,"cpslTabsInit","onTabsInit"]]],[1,"cpsl-tabs",{"fullWidth":[4,"full-width"],"selectedTab":[1,"selected-tab"],"selectedTabRect":[32],"loaded":[32]},null,{"fullWidth":["updateSlider"],"selectedTab":["updateTab"]}],[1,"cpsl-button",{"as":[1],"disabled":[516],"fullWidth":[4,"full-width"],"href":[1],"size":[1],"target":[1],"variant":[513]}],[1,"cpsl-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-popover",{"anchorEl":[16],"anchorOriginHorizontal":[1,"anchor-origin-horizontal"],"anchorOriginVertical":[1,"anchor-origin-vertical"],"autoWidth":[4,"auto-width"],"disabled":[4],"preventBlur":[4,"prevent-blur"],"transformOriginHorizontal":[1,"transform-origin-horizontal"],"transformOriginVertical":[1,"transform-origin-vertical"],"triggerAction":[1,"trigger-action"],"trigger":[1],"windowPadding":[2,"window-padding"],"open":[32],"positionX":[32],"positionY":[32],"closePopover":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"preventBlur":["onTriggerChange"],"anchorOriginHorizontal":["onAnchorChange"],"anchorOriginVertical":["onAnchorChange"],"open":["onOpenChange"]}],[1,"cpsl-spinner",{"size":[2],"speed":[2]}],[1,"cpsl-card"],[1,"cpsl-overlay",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}],[1,"cpsl-text",{"color":[1],"variant":[1],"weight":[1]}],[1,"cpsl-icon",{"src":[1],"icon":[1]}]]]], options);
|
20
20
|
});
|
21
21
|
|
22
22
|
//# sourceMappingURL=capsule.js.map
|