@mparticle/aquarium 1.5.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/aquarium.mjs +1677 -1514
- package/dist/index.d.ts +553 -499
- package/dist/style.css +1 -0
- package/package.json +34 -5
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--blue: #1677ff;--purple: #722ED1;--cyan: #13C2C2;--green: #52C41A;--magenta: #EB2F96;--pink: #eb2f96;--red: #F5222D;--orange: #FA8C16;--yellow: #FADB14;--volcano: #FA541C;--geekblue: #2F54EB;--gold: #FAAD14;--lime: #A0D911;--color-primary: #3600d1;--color-success: #204829;--color-warning: #a74d1d;--color-error: #b03757;--color-info: #2e436d;--color-link: #2e436d;--color-text-base: #0f0e0e;--color-bg-base: #fff;--font-family: "GT America", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-family-code: "RobotoMono", Consolas, "Liberation Mono", Menlo, Courier, monospace;--font-size: 14px;--line-width: 1px;--line-type: solid;--motion-unit: .1;--motion-base: 0;--motion-ease-out-circ: cubic-bezier(.08, .82, .17, 1);--motion-ease-in-out-circ: cubic-bezier(.78, .14, .15, .86);--motion-ease-out: cubic-bezier(.215, .61, .355, 1);--motion-ease-in-out: cubic-bezier(.645, .045, .355, 1);--motion-ease-out-back: cubic-bezier(.12, .4, .29, 1.46);--motion-ease-in-back: cubic-bezier(.71, -.46, .88, .6);--motion-ease-in-quint: cubic-bezier(.755, .05, .855, .06);--motion-ease-out-quint: cubic-bezier(.23, 1, .32, 1);--border-radius: 6px;--size-unit: 4px;--size-step: 4px;--size-popup-arrow: 16px;--control-height: 32px;--z-index-base: 0;--z-index-popup-base: 1000;--opacity-image: 1;--wireframe: false;--motion: true;--color-fill-content: rgba(0, 0, 0, .03999999910593033);--color-fill-alter: #f8f6fb;--color-bg-container-disabled: rgba(0, 0, 0, 0);--color-link-hover: #5f29f8;--control-outline: rgba(.21176470816135406, 0, .8196078538894653, .10000000149011612);--control-item-bg-hover: #ebe8f8;--control-item-bg-active: #ebe8f8;--color-text: #0f0e0e;--color-text-secondary: #212020;--color-text-tertiary: rgba(0, 0, 0, .7200000286102295);--color-text-quaternary: rgba(0, 0, 0, .6399999856948853);--color-fill: rgba(0, 0, 0, .1599999964237213);--color-fill-secondary: #f8f6fb;--color-fill-tertiary: rgba(0, 0, 0, .07999999821186066);--color-fill-quaternary: rgba(0, 0, 0, 0);--color-bg-layout: #fff;--color-bg-spotlight: rgba(0, 0, 0, .6399999856948853);--color-border: #c3aeff;--color-border-secondary: rgba(0, 0, 0, .07999999821186066);--color-split: rgba(0, 0, 0, .07999999821186066);--color-bg-mask: rgba(0, 0, 0, .23999999463558197);--padding-md: 18px;--padding-lg: 20px;--padding-xl: 24px;--margin-lg: 20px;--margin-xl: 24px;--margin-xxl: 28px;--padding-content-horizontal-lg: 20px;--padding-content-horizontal-sm: 18px;--margin-md: 16px;--blue-1: #f4f8ff;--yellow-1: #fefae3;--red-1: #feeeef;--teal-1: #effffe;--font-size-md: 14px;--line-height-md: 1.5700000524520874;--white-alpha-1: rgba(1, 1, 1, 0);--black-alpha-1: rgba(0, 0, 0, 0);--control-height-md: 32px;--x-xs: 4;--orange-1: #fff0e8;--purple-1: #fef5ff;--teal-2: #ccf8f5;--teal-3: #b2e6e2;--teal-4: #9edad5;--teal-5: #89cbc6;--teal-6: #76bbb6;--black-alpha-3: rgba(0, 0, 0, .07999999821186066);--black-alpha-4: rgba(0, 0, 0, .11999999731779099);--black-alpha-5: rgba(0, 0, 0, .1599999964237213);--black-alpha-6: rgba(0, 0, 0, .23999999463558197);--black-alpha-7: rgba(0, 0, 0, .3199999928474426);--black-alpha-8: rgba(0, 0, 0, .47999998927116394);--black-alpha-9: rgba(0, 0, 0, .6399999856948853);--black-alpha-10: rgba(0, 0, 0, .7200000286102295);--black-alpha-11: rgba(0, 0, 0, .8799999952316284);--white-alpha-3: rgba(1, 1, 1, .07999999821186066);--white-alpha-4: rgba(1, 1, 1, .11999999731779099);--white-alpha-5: rgba(1, 1, 1, .1599999964237213);--white-alpha-6: rgba(1, 1, 1, .23999999463558197);--white-alpha-7: rgba(1, 1, 1, .3199999928474426);--white-alpha-8: rgba(1, 1, 1, .47999998927116394);--white-alpha-9: rgba(1, 1, 1, .6399999856948853);--white-alpha-10: rgba(1, 1, 1, .7200000286102295);--white-alpha-11: rgba(1, 1, 1, .8799999952316284);--blue-2: #d5e3ff;--blue-3: #adc5f3;--blue-4: #7fa1e1;--blue-5: #6486c7;--blue-6: #456095;--blue-7: #2e436d;--blue-8: #253657;--yellow-2: #fdf6cb;--orange-2: #ffe6d9;--orange-3: #fad2bd;--orange-4: #ffc8aa;--red-2: #ffcfdc;--red-3: #ffafc4;--red-4: #fa94ae;--purple-2: #fce0ff;--purple-3: #f9b7ff;--purple-4: #e995f1;--blue-9: #182338;--blue-10: #111928;--teal-7: #498d88;--teal-8: #3b746f;--teal-9: #28504d;--teal-10: #1b3634;--yellow-3: #f7eca3;--yellow-4: #f3e58b;--yellow-5: #e2d272;--yellow-6: #cebe59;--yellow-7: #bdac43;--yellow-8: #a79730;--yellow-9: #786c1e;--yellow-10: #514811;--orange-5: #fdb087;--orange-6: #f09362;--orange-7: #da7743;--orange-8: #c66634;--orange-9: #a74d1d;--orange-10: #78330e;--red-5: #ee7998;--red-6: #d95b7c;--red-7: #c34465;--red-8: #b03757;--red-9: #972a47;--red-10: #721c33;--purple-5: #d278da;--purple-6: #b85fc0;--purple-7: #9842a0;--purple-8: #782c7f;--purple-9: #521d57;--purple-10: #351138;--x-s: 8;--s-m: 12;--m-s: 16;--l-g: 20;--x-l: 24;--x-xl: 28;--font-size-h1: 38px;--font-size-h2: 30px;--font-size-h3: 24px;--font-size-h4: 20px;--font-size-h5: 16px;--line-height-sm: 1.6699999570846558;--line-height-h1: 1.2100000381469727;--line-height-h2: 1.2699999809265137;--line-height-h3: 1.3300000429153442;--line-height-h4: 1.399999976158142;--line-height-h5: 1.5;--border-radius-md: 4px;--gray-1: #fff;--gray-2: #faf9f8;--gray-3: #eceae9;--gray-4: #dcdcd8;--gray-5: #babbb5;--gray-6: #717368;--gray-7: #505249;--gray-8: #2c2d2b;--gray-9: #212020;--gray-10: #0f0e0e;--green-1: #eeffef;--green-2: #cffad8;--green-3: #a7ecb6;--green-4: #8bdb9c;--green-5: #6fc281;--green-6: #5aac6b;--green-7: #40874f;--green-8: #2f683b;--green-9: #204829;--green-10: #122816;--m-d: 18;--blurple-1: #f8f6fb;--blurple-2: #ebe8f8;--blurple-3: #dbceff;--blurple-4: #c3aeff;--blurple-5: #ab8eff;--blurple-6: #8255ff;--blurple-7: #5f29f8;--blurple-8: #3600d1;--blurple-9: #2c00aa;--blurple-10: #20007a;--white-alpha-2: rgba(1, 1, 1, .03999999910593033);--white-alpha-12: #fff;--black-alpha-2: rgba(0, 0, 0, .03999999910593033);--black-alpha-12: #000;--color-disabled: rgba(0, 0, 0, .7200000286102295);--font-size-xs: 10px;--blue-1: #e6f4ff;--blue1: #e6f4ff;--blue-2: #bae0ff;--blue2: #bae0ff;--blue-3: #91caff;--blue3: #91caff;--blue-4: #69b1ff;--blue4: #69b1ff;--blue-5: #4096ff;--blue5: #4096ff;--blue-6: #1677ff;--blue6: #1677ff;--blue-7: #0958d9;--blue7: #0958d9;--blue-8: #003eb3;--blue8: #003eb3;--blue-9: #002c8c;--blue9: #002c8c;--blue-10: #001d66;--blue10: #001d66;--purple-1: #f9f0ff;--purple1: #f9f0ff;--purple-2: #efdbff;--purple2: #efdbff;--purple-3: #d3adf7;--purple3: #d3adf7;--purple-4: #b37feb;--purple4: #b37feb;--purple-5: #9254de;--purple5: #9254de;--purple-6: #722ed1;--purple6: #722ed1;--purple-7: #531dab;--purple7: #531dab;--purple-8: #391085;--purple8: #391085;--purple-9: #22075e;--purple9: #22075e;--purple-10: #120338;--purple10: #120338;--cyan-1: #e6fffb;--cyan1: #e6fffb;--cyan-2: #b5f5ec;--cyan2: #b5f5ec;--cyan-3: #87e8de;--cyan3: #87e8de;--cyan-4: #5cdbd3;--cyan4: #5cdbd3;--cyan-5: #36cfc9;--cyan5: #36cfc9;--cyan-6: #13c2c2;--cyan6: #13c2c2;--cyan-7: #08979c;--cyan7: #08979c;--cyan-8: #006d75;--cyan8: #006d75;--cyan-9: #00474f;--cyan9: #00474f;--cyan-10: #002329;--cyan10: #002329;--green-1: #f6ffed;--green1: #f6ffed;--green-2: #d9f7be;--green2: #d9f7be;--green-3: #b7eb8f;--green3: #b7eb8f;--green-4: #95de64;--green4: #95de64;--green-5: #73d13d;--green5: #73d13d;--green-6: #52c41a;--green6: #52c41a;--green-7: #389e0d;--green7: #389e0d;--green-8: #237804;--green8: #237804;--green-9: #135200;--green9: #135200;--green-10: #092b00;--green10: #092b00;--magenta-1: #fff0f6;--magenta1: #fff0f6;--magenta-2: #ffd6e7;--magenta2: #ffd6e7;--magenta-3: #ffadd2;--magenta3: #ffadd2;--magenta-4: #ff85c0;--magenta4: #ff85c0;--magenta-5: #f759ab;--magenta5: #f759ab;--magenta-6: #eb2f96;--magenta6: #eb2f96;--magenta-7: #c41d7f;--magenta7: #c41d7f;--magenta-8: #9e1068;--magenta8: #9e1068;--magenta-9: #780650;--magenta9: #780650;--magenta-10: #520339;--magenta10: #520339;--pink-1: #fff0f6;--pink1: #fff0f6;--pink-2: #ffd6e7;--pink2: #ffd6e7;--pink-3: #ffadd2;--pink3: #ffadd2;--pink-4: #ff85c0;--pink4: #ff85c0;--pink-5: #f759ab;--pink5: #f759ab;--pink-6: #eb2f96;--pink6: #eb2f96;--pink-7: #c41d7f;--pink7: #c41d7f;--pink-8: #9e1068;--pink8: #9e1068;--pink-9: #780650;--pink9: #780650;--pink-10: #520339;--pink10: #520339;--red-1: #fff1f0;--red1: #fff1f0;--red-2: #ffccc7;--red2: #ffccc7;--red-3: #ffa39e;--red3: #ffa39e;--red-4: #ff7875;--red4: #ff7875;--red-5: #ff4d4f;--red5: #ff4d4f;--red-6: #f5222d;--red6: #f5222d;--red-7: #cf1322;--red7: #cf1322;--red-8: #a8071a;--red8: #a8071a;--red-9: #820014;--red9: #820014;--red-10: #5c0011;--red10: #5c0011;--orange-1: #fff7e6;--orange1: #fff7e6;--orange-2: #ffe7ba;--orange2: #ffe7ba;--orange-3: #ffd591;--orange3: #ffd591;--orange-4: #ffc069;--orange4: #ffc069;--orange-5: #ffa940;--orange5: #ffa940;--orange-6: #fa8c16;--orange6: #fa8c16;--orange-7: #d46b08;--orange7: #d46b08;--orange-8: #ad4e00;--orange8: #ad4e00;--orange-9: #873800;--orange9: #873800;--orange-10: #612500;--orange10: #612500;--yellow-1: #feffe6;--yellow1: #feffe6;--yellow-2: #ffffb8;--yellow2: #ffffb8;--yellow-3: #fffb8f;--yellow3: #fffb8f;--yellow-4: #fff566;--yellow4: #fff566;--yellow-5: #ffec3d;--yellow5: #ffec3d;--yellow-6: #fadb14;--yellow6: #fadb14;--yellow-7: #d4b106;--yellow7: #d4b106;--yellow-8: #ad8b00;--yellow8: #ad8b00;--yellow-9: #876800;--yellow9: #876800;--yellow-10: #614700;--yellow10: #614700;--volcano-1: #fff2e8;--volcano1: #fff2e8;--volcano-2: #ffd8bf;--volcano2: #ffd8bf;--volcano-3: #ffbb96;--volcano3: #ffbb96;--volcano-4: #ff9c6e;--volcano4: #ff9c6e;--volcano-5: #ff7a45;--volcano5: #ff7a45;--volcano-6: #fa541c;--volcano6: #fa541c;--volcano-7: #d4380d;--volcano7: #d4380d;--volcano-8: #ad2102;--volcano8: #ad2102;--volcano-9: #871400;--volcano9: #871400;--volcano-10: #610b00;--volcano10: #610b00;--geekblue-1: #f0f5ff;--geekblue1: #f0f5ff;--geekblue-2: #d6e4ff;--geekblue2: #d6e4ff;--geekblue-3: #adc6ff;--geekblue3: #adc6ff;--geekblue-4: #85a5ff;--geekblue4: #85a5ff;--geekblue-5: #597ef7;--geekblue5: #597ef7;--geekblue-6: #2f54eb;--geekblue6: #2f54eb;--geekblue-7: #1d39c4;--geekblue7: #1d39c4;--geekblue-8: #10239e;--geekblue8: #10239e;--geekblue-9: #061178;--geekblue9: #061178;--geekblue-10: #030852;--geekblue10: #030852;--gold-1: #fffbe6;--gold1: #fffbe6;--gold-2: #fff1b8;--gold2: #fff1b8;--gold-3: #ffe58f;--gold3: #ffe58f;--gold-4: #ffd666;--gold4: #ffd666;--gold-5: #ffc53d;--gold5: #ffc53d;--gold-6: #faad14;--gold6: #faad14;--gold-7: #d48806;--gold7: #d48806;--gold-8: #ad6800;--gold8: #ad6800;--gold-9: #874d00;--gold9: #874d00;--gold-10: #613400;--gold10: #613400;--lime-1: #fcffe6;--lime1: #fcffe6;--lime-2: #f4ffb8;--lime2: #f4ffb8;--lime-3: #eaff8f;--lime3: #eaff8f;--lime-4: #d3f261;--lime4: #d3f261;--lime-5: #bae637;--lime5: #bae637;--lime-6: #a0d911;--lime6: #a0d911;--lime-7: #7cb305;--lime7: #7cb305;--lime-8: #5b8c00;--lime8: #5b8c00;--lime-9: #3f6600;--lime9: #3f6600;--lime-10: #254000;--lime10: #254000;--color-bg-container: #ffffff;--color-bg-elevated: #ffffff;--color-bg-blur: transparent;--color-primary-bg: #f1e6ff;--color-primary-bg-hover: #c8a3ff;--color-primary-border: #a677f7;--color-primary-border-hover: #804beb;--color-primary-hover: #5b23de;--color-primary-active: #2800ab;--color-primary-text-hover: #5b23de;--color-primary-text: #3600d1;--color-primary-text-active: #2800ab;--color-success-bg: #7f8780;--color-success-bg-hover: #737a74;--color-success-border: #656e66;--color-success-border-hover: #4a614e;--color-success-hover: #4a614e;--color-success-active: #0d2112;--color-success-text-hover: #325439;--color-success-text: #204829;--color-success-text-active: #0d2112;--color-error-bg: #f0e1e3;--color-error-bg-hover: #e3d5d7;--color-error-border: #d6a9b1;--color-error-border-hover: #c97f8e;--color-error-hover: #bd5970;--color-error-active: #8a2442;--color-error-text-hover: #bd5970;--color-error-text: #b03757;--color-error-text-active: #8a2442;--color-warning-bg: #e6dfd8;--color-warning-bg-hover: #d9c3b0;--color-warning-border: #cca585;--color-warning-border-hover: #bf865e;--color-warning-hover: #bf865e;--color-warning-active: #80330f;--color-warning-text-hover: #b3693b;--color-warning-text: #a74d1d;--color-warning-text-active: #80330f;--color-info-bg: #a3a8ad;--color-info-bg-hover: #979ca1;--color-info-border: #858b94;--color-info-border-hover: #647287;--color-info-hover: #647287;--color-info-active: #1a2847;--color-info-text-hover: #475a7a;--color-info-text: #2e436d;--color-info-text-active: #1a2847;--color-link-active: #1a2847;--color-white: #fff;--font-size-sm: 12px;--font-size-lg: 16px;--font-size-xl: 20px;--font-size-heading1: 38px;--font-size-heading2: 30px;--font-size-heading3: 24px;--font-size-heading4: 20px;--font-size-heading5: 16px;--line-height: 1.5714285714285714;--line-height-lg: 1.5;--font-height: 22px;--font-height-lg: 24px;--font-height-sm: 20px;--line-height-heading1: 1.2105263157894737;--line-height-heading2: 1.2666666666666666;--line-height-heading3: 1.3333333333333333;--line-height-heading4: 1.4;--line-height-heading5: 1.5;--size-xxl: 48px;--size-xl: 32px;--size-lg: 24px;--size-md: 20px;--size-ms: 16px;--size: 16rem;--size-sm: 12px;--size-xs: 8px;--size-xxs: 4px;--control-height-sm: 24px;--control-height-xs: 16px;--control-height-lg: 40px;--motion-duration-fast: .1s;--motion-duration-mid: .2s;--motion-duration-slow: .3s;--line-width-bold: 2px;--border-radius-xs: 2px;--border-radius-sm: 4px;--border-radius-lg: 8px;--border-radius-outer: 4px;--color-fill-content-hover: rgba(0, 0, 0, .1599999964237213);--color-border-bg: #ffffff;--color-text-placeholder: rgba(0, 0, 0, .6399999856948853);--color-text-disabled: rgba(0, 0, 0, .6399999856948853);--color-text-heading: #0f0e0e;--color-text-label: #212020;--color-text-description: rgba(0, 0, 0, .7200000286102295);--color-text-light-solid: #fff;--color-highlight: #b03757;--color-bg-text-hover: #f8f6fb;--color-bg-text-active: rgba(0, 0, 0, .1599999964237213);--color-icon: rgba(0, 0, 0, .7200000286102295);--color-icon-hover: #0f0e0e;--color-error-outline: rgba(130, 5, 22, .12);--color-warning-outline: rgba(99, 55, 11, .16);--font-size-icon: 12px;--line-width-focus: 4px;--control-outline-width: 2px;--control-interactive-size: 16px;--control-item-bg-active-hover: #c8a3ff;--control-item-bg-active-disabled: rgba(0, 0, 0, .1599999964237213);--control-tmp-outline: rgba(0, 0, 0, 0);--font-weight-strong: 600;--opacity-loading: .65;--link-decoration: none;--link-hover-decoration: none;--link-focus-decoration: none;--control-padding-horizontal: 12px;--control-padding-horizontal-sm: 8px;--padding-xxs: 4px;--padding-xs: 8px;--padding-sm: 12px;--padding: 16px;--padding-content-vertical-lg: 16px;--padding-content-horizontal: 16px;--padding-content-vertical: 12px;--padding-content-vertical-sm: 8px;--margin-xxs: 4px;--margin-xs: 8px;--margin-sm: 12px;--margin: 16px;--box-shadow: 0 6px 16px 0 rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05) ;--box-shadow-secondary: 0 6px 16px 0 rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05) ;--box-shadow-tertiary: 0 1px 2px 0 rgba(0, 0, 0, .03), 0 1px 6px -1px rgba(0, 0, 0, .02), 0 2px 4px 0 rgba(0, 0, 0, .02) ;--screen-xs: 480px;--screen-xs-min: 480px;--screen-xs-max: 575px;--screen-sm: 576px;--screen-sm-min: 576px;--screen-sm-max: 767px;--screen-md: 768px;--screen-md-min: 768px;--screen-md-max: 991px;--screen-lg: 992px;--screen-lg-min: 992px;--screen-lg-max: 1199px;--screen-xl: 1200px;--screen-xl-min: 1200px;--screen-xl-max: 1599px;--screen-xxl: 1600px;--screen-xxl-min: 1600px;--box-shadow-popover-arrow: 2px 2px 5px rgba(0, 0, 0, .05);--box-shadow-card: 0 1px 2px -2px rgba(0, 0, 0, .16), 0 3px 6px 0 rgba(0, 0, 0, .12), 0 5px 12px 4px rgba(0, 0, 0, .09) ;--box-shadow-drawer-right: -6px 0 16px 0 rgba(0, 0, 0, .08), -3px 0 6px -4px rgba(0, 0, 0, .12), -9px 0 28px 8px rgba(0, 0, 0, .05) ;--box-shadow-drawer-left: 6px 0 16px 0 rgba(0, 0, 0, .08), 3px 0 6px -4px rgba(0, 0, 0, .12), 9px 0 28px 8px rgba(0, 0, 0, .05) ;--box-shadow-drawer-up: 0 6px 16px 0 rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05) ;--box-shadow-drawer-down: 0 -6px 16px 0 rgba(0, 0, 0, .08), 0 -3px 6px -4px rgba(0, 0, 0, .12), 0 -9px 28px 8px rgba(0, 0, 0, .05) ;--box-shadow-tabs-overflow-left: inset 10px 0 8px -8px rgba(0, 0, 0, .08);--box-shadow-tabs-overflow-right: inset -10px 0 8px -8px rgba(0, 0, 0, .08);--box-shadow-tabs-overflow-top: inset 0 10px 8px -8px rgba(0, 0, 0, .08);--box-shadow-tabs-overflow-bottom: inset 0 -10px 8px -8px rgba(0, 0, 0, .08)}:root{--nav-item-height: 56px;--nav-item-width: 80px;--suite-logo-height: 82px}.globalNavigation{min-height:100%;background-color:var(--white-alpha-12)!important}.globalNavigation__item{height:var(--nav-item-height)!important;width:88px!important;margin:0;padding:0;gap:var(--margin-xxs);border-radius:0!important;cursor:pointer;transition:none!important}.globalNavigation__item:hover{background-color:var(--control-item-bg-hover)}.globalNavigation__item :focus,.globalNavigation__item :active{background-color:var(--control-item-bg-active)}.globalNavigation__item .ant-menu-submenu-title{display:flex;flex-direction:column;align-items:center;height:var(--nav-item-height)!important;padding:0!important;background-color:transparent!important}.globalNavigation__item .ant-menu-title-content{margin-inline-start:0!important;opacity:1!important}.globalNavigation__menu{height:var(--nav-item-height)!important;width:100%;border-inline-end:initial!important}.globalNavigation__menu .globalNavigation__icon{height:100%;width:20px}.globalNavigation__iconLabel{padding-top:var(--margin-xxs);color:var(--color-text);font-size:10px;font-weight:400}.globalNavigation__badge{border:solid 1px var(--color-border);border-radius:var(--border-radius-sm);padding:1px var(--padding-content-vertical-sm);box-shadow:none!important}.globalNavigation__badge .ant-badge-count{color:var(--color-text)!important;background:transparent!important;box-shadow:none!important}.ant-badge-color-red{color:var(--color-error)!important;background:var(--color-error)!important}.globalNavigation__headerItem{width:var(--control-height-lg);height:var(--control-height-lg)!important;padding:0 var(--padding-sm);border-radius:var(--border-radius-lg);border:1px solid var(--color-border, #c3aeff)}.globalNavigation__suiteLogo{min-height:var(--suite-logo-height);min-width:var(--nav-item-width);padding-top:var(--padding-xs);margin:var(--margin-xs) 0;color:var(--black-alpha-12);font-size:var(--font-size-sm);font-weight:400}.globalNavigation__suiteLogo .globalNavigation__icon{padding-bottom:var(--padding-xs)}.globalNavigation__mpHome{padding:var(--padding-lg, 20px);margin:var(--margin-xxs);width:var(--nav-item-width);height:var(--nav-item-height);background-color:#000;color:#fff;cursor:pointer}.globalNavigation__mpSvg{width:28px;height:24px}.workspaceSelector{height:50%}.workspaceSelector__search{padding:0!important}.workspaceSelector__searchInput::placeholder{color:var(--color-border)!important}.workspaceSelector__orgName{color:var(--color-text-description, rgba(0, 0, 0, .72));font-size:12px;font-weight:400;pointer-events:none}.workspaceSelector__accountName{height:var(--control-height);padding:var(--padding-xxs) var(--control-padding-horizontal);pointer-events:none}.workspaceSelector__workspaceName{padding-left:calc(var(--padding-sm) + var(--padding))!important}.workspaceSelector__orgName,.workspaceSelector__accountName{pointer-events:none}.workspaceSelector__orgName,.workspaceSelector__accountName,.workspaceSelector__workspaceName{margin-top:0!important;margin-bottom:0!important}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/aquarium",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "mParticle Component Library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"main": "dist/aquarium.mjs",
|
|
17
17
|
"files": [
|
|
18
18
|
"dist/aquarium.mjs",
|
|
19
|
-
"dist/index.d.ts"
|
|
19
|
+
"dist/index.d.ts",
|
|
20
|
+
"dist/style.css"
|
|
20
21
|
],
|
|
21
22
|
"dependencies": {
|
|
22
23
|
"@fortawesome/fontawesome-svg-core": "6.5.1",
|
|
@@ -41,14 +42,29 @@
|
|
|
41
42
|
"@storybook/test": "7.6.10",
|
|
42
43
|
"@storybook/test-runner": "0.16.0",
|
|
43
44
|
"@storybook/testing-library": "0.2.2",
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "6.19.0",
|
|
44
46
|
"@vitejs/plugin-react": "4.2.1",
|
|
45
47
|
"concurrently": "8.2.2",
|
|
48
|
+
"eslint": "8.56.0",
|
|
49
|
+
"eslint-config-prettier": "9.1.0",
|
|
50
|
+
"eslint-config-standard-with-typescript": "43.0.0",
|
|
51
|
+
"eslint-plugin-import": "2.29.1",
|
|
52
|
+
"eslint-plugin-n": "16.6.2",
|
|
53
|
+
"eslint-plugin-promise": "6.1.1",
|
|
54
|
+
"eslint-plugin-react": "7.33.2",
|
|
55
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
46
56
|
"http-server": "14.1.1",
|
|
57
|
+
"husky": "8.0.3",
|
|
58
|
+
"prettier": "3.1.1",
|
|
47
59
|
"storybook": "7.6.10",
|
|
60
|
+
"stylelint": "16.2.0",
|
|
61
|
+
"stylelint-config-recommended": "14.0.0",
|
|
62
|
+
"stylelint-config-standard": "36.0.0",
|
|
63
|
+
"stylelint-no-indistinguishable-colors": "2.1.0",
|
|
64
|
+
"typescript": "5.3.3",
|
|
48
65
|
"vite": "5.0.12",
|
|
49
66
|
"vite-plugin-dts": "3.7.1",
|
|
50
|
-
"wait-on": "7.2.0"
|
|
51
|
-
"typescript": "5.3.3"
|
|
67
|
+
"wait-on": "7.2.0"
|
|
52
68
|
},
|
|
53
69
|
"optionalDependencies": {
|
|
54
70
|
"@rollup/rollup-linux-x64-gnu": "4.9.5",
|
|
@@ -56,11 +72,24 @@
|
|
|
56
72
|
"@swc/core-linux-x64-musl": "1.3.104"
|
|
57
73
|
},
|
|
58
74
|
"scripts": {
|
|
75
|
+
"prepare": "husky install",
|
|
59
76
|
"start": "npm run storybook",
|
|
60
77
|
"storybook": "storybook dev -p 6006",
|
|
61
78
|
"test-storybook": "test-storybook",
|
|
62
79
|
"test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run build-storybook --quiet && NODE_NO_WARNINGS=1 npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:127.0.0.1:6006 && npm run test-storybook\"",
|
|
63
80
|
"build-dist": "sh ./scripts/build-dist.sh",
|
|
64
|
-
"build-storybook": "storybook build"
|
|
81
|
+
"build-storybook": "storybook build",
|
|
82
|
+
"lint": "concurrently \"eslint --ext .ts,.tsx \"src/**/*.{ts,tsx}\"\" \"stylelint \"**/*.css\"\"",
|
|
83
|
+
"lint:fix": "concurrently \"eslint --ext .ts,.tsx \"src/**/*.{ts,tsx}\" --quiet --fix\" \"stylelint \"**/*.css\" --fix\"",
|
|
84
|
+
"tokens-to-css": "npx style-dictionary build --config ./style-dictionary.json"
|
|
85
|
+
},
|
|
86
|
+
"lint-staged": {
|
|
87
|
+
"*.{ts,tsx,css}": [
|
|
88
|
+
"npm run lint:fix",
|
|
89
|
+
"prettier --write"
|
|
90
|
+
],
|
|
91
|
+
"*.{json,yml,md}": [
|
|
92
|
+
"prettier --write"
|
|
93
|
+
]
|
|
65
94
|
}
|
|
66
95
|
}
|