@sfgov/fillout 0.0.3 → 0.0.5

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.
@@ -1 +1 @@
1
- /*! @sfgov/fillout@0.0.2 */*{--sf-colors-white:#fcfcfc;--sf-colors-black:#0b0c0c;--sf-colors-primary10:#f3f8fe;--sf-colors-primary50:#e9f1fe;--sf-colors-primary100:#dfebfd;--sf-colors-primary200:#afccf7;--sf-colors-primary300:#83aceb;--sf-colors-primary400:#5a8dd9;--sf-colors-primary500:#2a60af;--sf-colors-primary600:#1b519e;--sf-colors-primary700:#043578;--sf-colors-primary800:#001d4e;--sf-colors-primary900:#000925;--sf-colors-secondary10:#f2f9fa;--sf-colors-secondary50:#e6f4f5;--sf-colors-secondary100:#daeff0;--sf-colors-secondary200:#a2d5d8;--sf-colors-secondary300:#6ababf;--sf-colors-secondary400:#2b9ea5;--sf-colors-secondary500:#008189;--sf-colors-secondary600:#00646c;--sf-colors-secondary700:#00464e;--sf-colors-secondary800:#002a30;--sf-colors-secondary900:#001013;--sf-colors-accent10:#fff5f0;--sf-colors-accent50:#feede3;--sf-colors-accent100:#fde4d7;--sf-colors-accent200:#f6bc9b;--sf-colors-accent300:#e79362;--sf-colors-accent400:#d26d28;--sf-colors-accent500:#b64a00;--sf-colors-accent600:#942a00;--sf-colors-accent700:#6f0f00;--sf-colors-accent800:#470000;--sf-colors-accent900:#200000;--sf-colors-information10:#f2f8ff;--sf-colors-information50:#e5f1ff;--sf-colors-information100:#daebff;--sf-colors-information200:#a3ccff;--sf-colors-information300:#6faaff;--sf-colors-information400:#4088fd;--sf-colors-information500:#1066e5;--sf-colors-information600:#0046c2;--sf-colors-information700:#002996;--sf-colors-information800:#001264;--sf-colors-information900:#000331;--sf-colors-informationSource:#1168e8;--sf-colors-success10:#f3faf0;--sf-colors-success50:#e8f5e2;--sf-colors-success100:#def1d6;--sf-colors-success200:#aed998;--sf-colors-success300:#80bf5b;--sf-colors-success400:#55a30f;--sf-colors-success500:#2d8600;--sf-colors-success600:#026800;--sf-colors-success700:#004a00;--sf-colors-success800:#002c00;--sf-colors-success900:#010;--sf-colors-warning100:#f7e7d3;--sf-colors-warning200:#e8c492;--sf-colors-warning300:#d69f50;--sf-colors-warning400:#bf7d00;--sf-colors-warning500:#a35d00;--sf-colors-warning600:#843f00;--sf-colors-warning700:#612600;--sf-colors-warning800:#3e1200;--sf-colors-warning900:#1b0400;--sf-colors-danger10:#fff4f1;--sf-colors-danger50:#ffeae5;--sf-colors-danger100:#ffe0d9;--sf-colors-danger200:#ffb0a2;--sf-colors-danger300:#ff7f6e;--sf-colors-danger400:#ec4e3e;--sf-colors-danger500:#d0110b;--sf-colors-danger600:#ac0000;--sf-colors-danger700:#810000;--sf-colors-danger800:#500;--sf-colors-danger900:#280000;--sf-colors-dangerSource:#d81c14;--sf-colors-neutral10:#f7f8f8;--sf-colors-neutral50:#eff0f0;--sf-colors-neutral100:#e9eaea;--sf-colors-neutral200:#c9caca;--sf-colors-neutral300:#aaabab;--sf-colors-neutral400:#8b8d8d;--sf-colors-neutral500:#6e7070;--sf-colors-neutral600:#535454;--sf-colors-neutral700:#383939;--sf-colors-neutral800:#202121;--sf-colors-neutral900:#0b0b0b;--sf-colors-link:var(--sf-colors-primary500);--sf-colors-input-bg:#fff;--sf-colors-input-border:var(--sf-colors-neutral200);--sf-fontWeight-light:300;--sf-fontWeight-normal:400;--sf-fontWeight-medium:500;--sf-fontWeight-semibold:600;--sf-fontWeight-bold:700;--sf-fontWeight-extrabold:800;--sf-fontWeight-boldChinese:500;--sf-fontFamily-sans:"Roboto Flex",sans-serif;--sf-fontFamily-slab:"Roboto Slab",serif;--sf-font-body:var(--sf-fontWeight-normal) 16px/24px var(--sf-fontFamily-sans);--sf-font-small:14px/24px var(--sf-fontFamily-sans);--sf-font-label-xs:var(--sf-fontWeight-normal) 14px/20px var(--sf-fontFamily-sans);--sf-font-label-sm:var(--sf-fontWeight-normal) 16px/24px var(--sf-fontFamily-sans);--sf-font-label-md:var(--sf-fontWeight-normal) 20px/28px var(--sf-fontFamily-sans);--sf-font-label-md-button:var(--sf-fontWeight-bold) 20px/28px var(--sf-fontFamily-sans);--sf-font-heading-xs:var(--sf-fontWeight-light) 14px/20px var(--sf-fontFamily-sans);--sf-font-heading-sm:var(--sf-fontWeight-extrabold) 16px/24px var(--sf-fontFamily-sans);--sf-font-heading-md:var(--sf-fontWeight-bold) 20px/28px var(--sf-fontFamily-sans);--sf-font-heading-lg:var(--sf-fontWeight-medium) 24px/32px var(--sf-fontFamily-sans);--sf-font-heading-xl:var(--sf-fontWeight-semibold) 32px/44px var(--sf-fontFamily-slab);--sf-font-heading-xxl:var(--sf-fontWeight-medium) 40px/52px var(--sf-fontFamily-slab);--sf-font-display-lg:var(--sf-fontWeight-normal) 24px/32px var(--sf-fontFamily-sans);--sf-font-display-xxxl:var(--sf-fontWeight-semibold) 46px/56px var(--sf-fontFamily-slab);--sf-font-button:var(--sf-font-label-xs);--radio-size:40px;--radio-dot-size:22px;--theme-input-bg-color:#fff;--theme-primary-color:var(--sf-colors-primary500);font:var(--sf-font-body)}.fillout-field-alert{--alert-text:var(--sf-colors-black)}.fillout-field-alert .rounded-lg:not(.quill){background-color:var(--alert-bg);border-radius:0;border-style:solid;border-width:0 0 0 8px;border-color:var(--alert-border);padding:28px 28px 28px 20px}.fillout-field-alert .rounded-lg:not(.quill) svg{color:var(--alert-border,var(--alert-text))}.fillout-field-alert .rounded-lg:not(.quill) a{color:var(--alert-link,var(--sf-colors-link))}.fillout-field-alert .border-blue-400{--alert-border:var(--sf-colors-information600);--alert-bg:var(--sf-colors-information50)}.fillout-field-alert .border-red-400,.fillout-field-alert .border-yellow-400{--alert-border:var(--sf-colors-danger600);--alert-bg:var(--sf-colors-danger50);--alert-link:var(--sf-colors-danger800)}.fillout-field-alert .border-green-400{--alert-border:var(--sf-colors-success600);--alert-bg:var(--sf-colors-success50);--alert-link:var(--sf-colors-success800)}.fillout-field-alert .flex.items-center{align-items:flex-start}.fillout-field-alert .flex.items-center .flex-col{flex-direction:row}.fillout-field-alert .ql-editor strong{color:var(--alert-text)}.fillout-field-alert .ql-editor p{color:var(--sf-colors-black);background-color:transparent}.fillout-field-button div{text-align:center;font-family:Roboto Flex,sans-serif;font-style:normal;font:var(--sf-font-button)!important}.fillout-field-button button{height:40px;padding:15px 16px;border-radius:4px;border:1px solid var(--sf-colors-primary600);background-color:var(--sf-colors-primary600);box-shadow:none;color:var(--sf-colors-white);font:var(--sf-font-button)!important}.fillout-field-button button:hover{border-color:var(--sf-colors-primary800);background-color:var(--sf-colors-primary800)}.fillout-field-button button:focus{outline:3px solid var(--sf-colors-primary500);box-shadow:none}.fillout-back-button button{border-radius:4px;border:1px solid var(--sf-colors-primary100);background-color:var(--sf-colors-primary100);color:var(--sf-colors-primary900)}.fillout-back-button button:hover{border:1px solid var(--sf-colors-primary200);background-color:var(--sf-colors-primary200)}.fillout-field-button>.flex{justify-content:space-between!important;flex-direction:row!important}.fillout-field-button>.flex div{margin:0!important}.fillout-field-button>.flex .w-full{width:auto!important}div[role=radiogroup]>.gap-y-2{gap:16px}.radio-outer-circle:first-child{background-color:#fff!important;opacity:1!important;transition:none!important;border-color:var(--sf-colors-input-border)!important}.radio-inner-circle,.radio-outer-circle:nth-child(2){transition:none!important}.animate-check{animation-duration:0s}.fillout-field-checkbox button,.fillout-field-checkbox button>svg,.fillout-field-checkboxes button,.fillout-field-checkboxes button>svg{height:40px;width:40px}.fillout-field-checkbox button[aria-checked=true],.fillout-field-checkboxes button[aria-checked=true]{background-color:#386ebf}.fillout-field-checkboxes fieldset{gap:16px}.fillout-field-star-rating button:hover .absolute:last-of-type svg{color:var(--sf-colors-primary400)!important}.react-select__indicator{color:var(--sf-colors-black)}.fillout-error-validation-message{color:var(--sf-colors-danger600);font:var(--sf-font-heading-xs)!important}nav .group .step-name{color:var(--sf-colors-black)!important}#question-alignment-container.h-full{height:fit-content}.fillout-field-switch .ant-switch:focus{outline:3px solid var(--sf-colors-primary500);outline-offset:4px;transition:none}.fillout-field-text h1,.fillout-field-text h2{color:var(--sf-colors-black);font:var(--sf-font-display-xxxl)!important;font-style:normal;margin:0}.fillout-field-paragraph *{font:var(--sf-font-body)}.fillout-field-paragraph h1{font:var(--sf-font-heading-xxl)}.fillout-field-paragraph h2{font:var(--sf-font-heading-xl)}.fillout-field-paragraph h3{font:var(--sf-font-heading-lg)}.fillout-field-paragraph h4{font:var(--sf-font-heading-md)}.fillout-field-paragraph h5{font:var(--sf-font-heading-sm)}.fillout-field-paragraph h6{font:var(--sf-font-heading-xs)}.fillout-field-checkboxes label,.fillout-field-container input[placeholder],.fillout-field-container input[type],.fillout-field-container label[type],.fillout-field-container span[placeholder],.fillout-field-container textarea[placeholder],.fillout-field-label p,.react-select__value-container .react-select__single-value{color:var(--sf-colors-black)!important}.fillout-field-label p{font:var(--sf-font-label-md)!important}.fillout-field-address label{font:var(--sf-font-label-sm)!important}.fillout-field-checkboxes label,.fillout-field-multiple-choice label{display:block;font:var(--sf-font-label-md)!important}.fillout-field-multiple-choice label{padding-left:8px}.fillout-field-checkbox .ml-2{margin-left:0!important}.fillout-field-checkbox p{font:var(--sf-font-label-md)!important;padding-left:4px}.fillout-field-checkboxes label{padding-left:4px}.fillout-field-checkboxes label,.fillout-field-checkboxes label div{font:var(--sf-font-label-md)!important}.fillout-caption{color:var(--sf-colors-neutral600)}.fillout-caption p{font:var(--sf-font-label-sm)!important}input::placeholder{color:var(--sf-colors-neutral600)}a{color:var(--sf-colors-primary500)}.fillout-required-asterisk,p:after{color:var(--sf-colors-danger600)}.filepond--drop-label{padding:16px}.fillout-field-section-collapse>.w-full:first-child{color:var(--sf-colors-link)!important;font:var(--sf-font-label-md-button)!important;background-color:transparent!important;border-bottom:1px solid var(--sf-colors-neutral300);border-radius:0;padding:0 0 12px!important}.fillout-field-section-collapse>.w-full:first-child span{font:inherit!important}.fillout-field-section-collapse>.w-full:first-child svg{color:var(--sf-colors-link)!important}.fillout-field-divider .border-t{border-top:1px solid var(--sf-colors-neutral300)!important}
1
+ /*! @sfgov/fillout@0.0.5 */*{--sf-colors-white:#fcfcfc;--sf-colors-black:#0b0c0c;--sf-colors-primary10:#f3f8fe;--sf-colors-primary50:#e9f1fe;--sf-colors-primary100:#dfebfd;--sf-colors-primary200:#afccf7;--sf-colors-primary300:#83aceb;--sf-colors-primary400:#5a8dd9;--sf-colors-primary500:#2a60af;--sf-colors-primary600:#1b519e;--sf-colors-primary700:#043578;--sf-colors-primary800:#001d4e;--sf-colors-primary900:#000925;--sf-colors-secondary10:#f2f9fa;--sf-colors-secondary50:#e6f4f5;--sf-colors-secondary100:#daeff0;--sf-colors-secondary200:#a2d5d8;--sf-colors-secondary300:#6ababf;--sf-colors-secondary400:#2b9ea5;--sf-colors-secondary500:#008189;--sf-colors-secondary600:#00646c;--sf-colors-secondary700:#00464e;--sf-colors-secondary800:#002a30;--sf-colors-secondary900:#001013;--sf-colors-accent10:#fff5f0;--sf-colors-accent50:#feede3;--sf-colors-accent100:#fde4d7;--sf-colors-accent200:#f6bc9b;--sf-colors-accent300:#e79362;--sf-colors-accent400:#d26d28;--sf-colors-accent500:#b64a00;--sf-colors-accent600:#942a00;--sf-colors-accent700:#6f0f00;--sf-colors-accent800:#470000;--sf-colors-accent900:#200000;--sf-colors-information10:#f2f8ff;--sf-colors-information50:#e5f1ff;--sf-colors-information100:#daebff;--sf-colors-information200:#a3ccff;--sf-colors-information300:#6faaff;--sf-colors-information400:#4088fd;--sf-colors-information500:#1066e5;--sf-colors-information600:#0046c2;--sf-colors-information700:#002996;--sf-colors-information800:#001264;--sf-colors-information900:#000331;--sf-colors-informationSource:#1168e8;--sf-colors-success10:#f3faf0;--sf-colors-success50:#e8f5e2;--sf-colors-success100:#def1d6;--sf-colors-success200:#aed998;--sf-colors-success300:#80bf5b;--sf-colors-success400:#55a30f;--sf-colors-success500:#2d8600;--sf-colors-success600:#026800;--sf-colors-success700:#004a00;--sf-colors-success800:#002c00;--sf-colors-success900:#010;--sf-colors-warning100:#f7e7d3;--sf-colors-warning200:#e8c492;--sf-colors-warning300:#d69f50;--sf-colors-warning400:#bf7d00;--sf-colors-warning500:#a35d00;--sf-colors-warning600:#843f00;--sf-colors-warning700:#612600;--sf-colors-warning800:#3e1200;--sf-colors-warning900:#1b0400;--sf-colors-danger10:#fff4f1;--sf-colors-danger50:#ffeae5;--sf-colors-danger100:#ffe0d9;--sf-colors-danger200:#ffb0a2;--sf-colors-danger300:#ff7f6e;--sf-colors-danger400:#ec4e3e;--sf-colors-danger500:#d0110b;--sf-colors-danger600:#ac0000;--sf-colors-danger700:#810000;--sf-colors-danger800:#500;--sf-colors-danger900:#280000;--sf-colors-dangerSource:#d81c14;--sf-colors-neutral10:#f7f8f8;--sf-colors-neutral50:#eff0f0;--sf-colors-neutral100:#e9eaea;--sf-colors-neutral200:#c9caca;--sf-colors-neutral300:#aaabab;--sf-colors-neutral400:#8b8d8d;--sf-colors-neutral500:#6e7070;--sf-colors-neutral600:#535454;--sf-colors-neutral700:#383939;--sf-colors-neutral800:#202121;--sf-colors-neutral900:#0b0b0b;--sf-colors-link:var(--sf-colors-primary500);--sf-colors-input-bg:#fff;--sf-colors-input-border:var(--sf-colors-neutral200);--sf-fontWeight-light:300;--sf-fontWeight-normal:400;--sf-fontWeight-medium:500;--sf-fontWeight-semibold:600;--sf-fontWeight-bold:700;--sf-fontWeight-extrabold:800;--sf-fontWeight-boldChinese:500;--sf-fontFamily-sans:"Roboto Flex",sans-serif;--sf-fontFamily-slab:"Roboto Slab",serif;--sf-font-body:var(--sf-fontWeight-normal) 16px/24px var(--sf-fontFamily-sans);--sf-font-small:14px/24px var(--sf-fontFamily-sans);--sf-font-label-xs:var(--sf-fontWeight-normal) 14px/20px var(--sf-fontFamily-sans);--sf-font-label-sm:var(--sf-fontWeight-normal) 16px/24px var(--sf-fontFamily-sans);--sf-font-label-md:var(--sf-fontWeight-normal) 20px/28px var(--sf-fontFamily-sans);--sf-font-label-md-button:var(--sf-fontWeight-bold) 20px/28px var(--sf-fontFamily-sans);--sf-font-heading-xs:var(--sf-fontWeight-light) 14px/20px var(--sf-fontFamily-sans);--sf-font-heading-sm:var(--sf-fontWeight-extrabold) 16px/24px var(--sf-fontFamily-sans);--sf-font-heading-md:var(--sf-fontWeight-bold) 20px/28px var(--sf-fontFamily-sans);--sf-font-heading-lg:var(--sf-fontWeight-medium) 24px/32px var(--sf-fontFamily-sans);--sf-font-heading-xl:var(--sf-fontWeight-semibold) 32px/44px var(--sf-fontFamily-slab);--sf-font-heading-xxl:var(--sf-fontWeight-medium) 40px/52px var(--sf-fontFamily-slab);--sf-font-display-lg:var(--sf-fontWeight-normal) 24px/32px var(--sf-fontFamily-sans);--sf-font-display-xxxl:var(--sf-fontWeight-semibold) 46px/56px var(--sf-fontFamily-slab);--sf-font-button:var(--sf-font-label-xs);--radio-size:40px;--radio-dot-size:22px;--theme-input-bg-color:#fff;--theme-primary-color:var(--sf-colors-primary500);font:var(--sf-font-body)}.fillout-field-alert{--alert-text:var(--sf-colors-black)}.fillout-field-alert .rounded-lg:not(.quill){background-color:var(--alert-bg);border-radius:0;border-style:solid;border-width:0 0 0 8px;border-color:var(--alert-border);padding:28px 28px 28px 20px}.fillout-field-alert .rounded-lg:not(.quill) svg{color:var(--alert-border,var(--alert-text))}.fillout-field-alert .rounded-lg:not(.quill) a{color:var(--alert-link,var(--sf-colors-link))}.fillout-field-alert .border-blue-400{--alert-border:var(--sf-colors-information600);--alert-bg:var(--sf-colors-information50)}.fillout-field-alert .border-red-400,.fillout-field-alert .border-yellow-400{--alert-border:var(--sf-colors-danger600);--alert-bg:var(--sf-colors-danger50);--alert-link:var(--sf-colors-danger800)}.fillout-field-alert .border-green-400{--alert-border:var(--sf-colors-success600);--alert-bg:var(--sf-colors-success50);--alert-link:var(--sf-colors-success800)}.fillout-field-alert .flex.items-center{align-items:flex-start}.fillout-field-alert .flex.items-center .flex-col{flex-direction:row}.fillout-field-alert .ql-editor strong{color:var(--alert-text)}.fillout-field-alert .ql-editor p{color:var(--sf-colors-black);background-color:transparent}.fillout-field-button div{text-align:center;font-family:Roboto Flex,sans-serif;font-style:normal;font:var(--sf-font-button)!important}.fillout-field-button button{height:40px;padding:15px 16px;border-radius:4px;border:1px solid var(--sf-colors-primary600);background-color:var(--sf-colors-primary600);box-shadow:none;color:var(--sf-colors-white);font:var(--sf-font-button)!important}.fillout-field-button button:hover{border-color:var(--sf-colors-primary800);background-color:var(--sf-colors-primary800)}.fillout-field-button button:focus{outline:3px solid var(--sf-colors-primary500);box-shadow:none}.fillout-back-button button{border-radius:4px;border:1px solid var(--sf-colors-primary100);background-color:var(--sf-colors-primary100);color:var(--sf-colors-primary900)}.fillout-back-button button:hover{border:1px solid var(--sf-colors-primary200);background-color:var(--sf-colors-primary200)}.fillout-field-button>.flex{justify-content:space-between!important;flex-direction:row!important}.fillout-field-button>.flex div{margin:0!important}.fillout-field-button>.flex .w-full{width:auto!important}div[role=radiogroup]>.gap-y-2{gap:16px}.radio-outer-circle:first-child{background-color:#fff!important;opacity:1!important;transition:none!important;border-color:var(--sf-colors-input-border)!important}.radio-inner-circle,.radio-outer-circle:nth-child(2){transition:none!important}.animate-check{animation-duration:0s}.fillout-field-checkbox button,.fillout-field-checkbox button>svg,.fillout-field-checkboxes button,.fillout-field-checkboxes button>svg{height:40px;width:40px}.fillout-field-checkbox button[aria-checked=true],.fillout-field-checkboxes button[aria-checked=true]{background-color:#386ebf}.fillout-field-checkboxes fieldset{gap:16px}.fillout-field-star-rating button:hover .absolute:last-of-type svg{color:var(--sf-colors-primary400)!important}.react-select__indicator{color:var(--sf-colors-black)}.fillout-error-validation-message{color:var(--sf-colors-danger600);font:var(--sf-font-heading-xs)!important}nav .group .step-name{color:var(--sf-colors-black)!important}#question-alignment-container.h-full{height:fit-content}.fillout-field-switch .ant-switch:focus{outline:3px solid var(--sf-colors-primary500);outline-offset:4px;transition:none}.fillout-field-text h1,.fillout-field-text h2{color:var(--sf-colors-black);font:var(--sf-font-display-xxxl)!important;font-style:normal;margin:0}.fillout-field-paragraph *{font:var(--sf-font-body)}.fillout-field-paragraph h1{font:var(--sf-font-heading-xxl)}.fillout-field-paragraph h2{font:var(--sf-font-heading-xl)}.fillout-field-paragraph h3{font:var(--sf-font-heading-lg)}.fillout-field-paragraph h4{font:var(--sf-font-heading-md)}.fillout-field-paragraph h5{font:var(--sf-font-heading-sm)}.fillout-field-paragraph h6{font:var(--sf-font-heading-xs)}.fillout-field-checkboxes label,.fillout-field-container input[placeholder],.fillout-field-container input[type],.fillout-field-container label[type],.fillout-field-container span[placeholder],.fillout-field-container textarea[placeholder],.fillout-field-label p,.react-select__value-container .react-select__single-value{color:var(--sf-colors-black)!important}.fillout-field-label p{font:var(--sf-font-label-md)!important}.fillout-field-address label{font:var(--sf-font-label-sm)!important}.fillout-field-checkboxes label,.fillout-field-multiple-choice label{display:block;font:var(--sf-font-label-md)!important}.fillout-field-multiple-choice label{padding-left:8px}.fillout-field-checkbox .ml-2{margin-left:0!important}.fillout-field-checkbox p{font:var(--sf-font-label-md)!important;padding-left:4px}.fillout-field-checkboxes label{padding-left:4px}.fillout-field-checkboxes label,.fillout-field-checkboxes label div{font:var(--sf-font-label-md)!important}.fillout-caption{color:var(--sf-colors-neutral600)}.fillout-caption p{font:var(--sf-font-label-sm)!important}input::placeholder{color:var(--sf-colors-neutral600)}a{color:var(--sf-colors-primary500)}.fillout-required-asterisk,p:after{color:var(--sf-colors-danger600)}.filepond--drop-label{padding:16px}.fillout-field-section-collapse>.w-full:first-child{color:var(--sf-colors-link)!important;font:var(--sf-font-label-md-button)!important;background-color:transparent!important;border-bottom:1px solid var(--sf-colors-neutral300);border-radius:0;padding:0 0 12px!important}.fillout-field-section-collapse>.w-full:first-child span{font:inherit!important}.fillout-field-section-collapse>.w-full:first-child svg{color:var(--sf-colors-link)!important}.fillout-field-divider .border-t{border-top:1px solid var(--sf-colors-neutral300)!important}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfgov/fillout",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npx nodemon -w scripts/server.ts -w src -e ts --exec scripts/server.ts",
@@ -1,231 +0,0 @@
1
- /*! @sfgov/fillout@0.0.1 */
2
- /* Alerts/Banners */
3
- .fillout-field-alert .border-blue-400 {
4
- border: 1px solid #0046c2;
5
- border-radius: 0px;
6
- background-color: #e5f1ff;
7
- padding: 28px;
8
- }
9
- /* alert icon */
10
- .fillout-field-alert .text-blue-400 {
11
- color: #0046c2;
12
- }
13
- /* alert inner container */
14
- .fillout-field-alert .flex.items-center {
15
- align-items: flex-start;
16
- }
17
- .fillout-field-alert .flex.items-center .flex-col {
18
- flex-direction: row;
19
- }
20
- /* alert title */
21
- .fillout-field-alert .ql-editor strong {
22
- color: #0046c2;
23
- background-color: #e5f1ff;
24
- }
25
- /* alert text */
26
- .fillout-field-alert .ql-editor p {
27
- color: #0b0c0c;
28
- background-color: inherit;
29
- }
30
-
31
- /* Buttons */
32
-
33
- .fillout-field-button div {
34
- text-align: center;
35
- font-family: "Roboto Flex", sans-serif;
36
- font-size: 14px;
37
- font-style: normal;
38
- font-weight: 500;
39
- line-height: 20px;
40
- }
41
-
42
- /* next/primary button */
43
-
44
- .fillout-field-button button {
45
- height: 40px;
46
- padding: 15px 16px;
47
- border-radius: 4px;
48
- border: 1px solid #1b519e;
49
- background-color: red !important; /* #1b519e; */
50
- box-shadow: none;
51
- color: #fcfcfc;
52
-
53
- font-size: 16px;
54
- font-weight: 400;
55
- line-height: 24px;
56
- }
57
-
58
- .fillout-field-button button:hover {
59
- border-color: #001d4e;
60
- background-color: #001d4e;
61
- }
62
-
63
- .fillout-field-button button:focus {
64
- outline: 3px solid #2a60af;
65
- box-shadow: none;
66
- }
67
-
68
- /* button spacing */
69
-
70
- .fillout-field-button > .flex {
71
- justify-content: space-between !important;
72
- flex-direction: row !important;
73
- }
74
-
75
- .fillout-field-button > .flex div {
76
- margin: 0 !important;
77
- }
78
-
79
- .fillout-field-button > .flex .w-full {
80
- width: auto !important;
81
- }
82
-
83
- /* back/secondary button */
84
-
85
- .fillout-field-button .fillout-back-button button {
86
- border-radius: 4px;
87
- border: 1px solid #dfebfd;
88
- background-color: #dfebfd;
89
- color: #000925;
90
- }
91
-
92
- .fillout-field-button .fillout-back-button button:hover {
93
- border: 1px solid #afccf7;
94
- background-color: #afccf7;
95
- }
96
-
97
-
98
- /************************************
99
- Checkboxes
100
- ************************************/
101
- .fillout-field-checkbox button,
102
- .fillout-field-checkbox button > svg,
103
- .fillout-field-checkboxes button,
104
- .fillout-field-checkboxes button > svg {
105
- height: 40px;
106
- width: 40px;
107
- }
108
-
109
- .fillout-field-checkbox button[aria-checked="true"],
110
- .fillout-field-checkboxes button[aria-checked="true"] {
111
- background-color: #386ebf;
112
- }
113
-
114
- .fillout-field-checkboxes fieldset {
115
- gap: 16px;
116
- }
117
-
118
- /* Dropdown/select */
119
- .react-select__indicator {
120
- color: #0b0c0c;
121
- }
122
-
123
- /* Error messages */
124
- .fillout-error-validation-message {
125
- color: #ac0000;
126
- font-size: 14px;
127
- font-weight: 400;
128
- line-height: 20px;
129
- }
130
-
131
- /* Navigation/progress bar */
132
- nav .group .step-name {
133
- color: #0b0c0c !important;
134
- }
135
-
136
- /* Multiple choice */
137
- .fillout-field-multiple-choice span > span.rounded-full {
138
- height: 40px;
139
- width: 40px;
140
- }
141
- .fillout-field-multiple-choice span > span.rounded-full div {
142
- height: 22px;
143
- width: 22px;
144
- color: #386ebf;
145
- }
146
- .fillout-field-multiple-choice [role="radiogroup"] {
147
- gap: 16px;
148
- }
149
-
150
- /* Spacing */
151
- #question-alignment-container.h-full {
152
- height: fit-content;
153
- }
154
- #question-alignment-container > :not(:last-child) {
155
- --tw-space-y-reverse: 0;
156
- margin-block-start: calc(
157
- calc(var(--spacing) * 40) * var(--tw-space-y-reverse)
158
- );
159
- margin-block-end: calc(
160
- calc(var(--spacing) * 40) * calc(1 - var(--tw-space-y-reverse))
161
- );
162
- }
163
-
164
- /* Switch */
165
- .fillout-field-switch .ant-switch:focus {
166
- outline: 3px solid #2a60af;
167
- outline-offset: 4px;
168
- transition: none;
169
- }
170
-
171
- /************************************
172
- Text
173
-
174
- Note:
175
- Roboto Slab isn't available/is being buggy in custom Fillout CSS, so we
176
- made it the default text and targeted everything else to be Roboto Flex.
177
- ************************************/
178
-
179
- .fillout-field-text h1, .fillout-field-text h2 {
180
- font-family: "Roboto Slab", sans-serif;
181
- font-style: normal;
182
- color: #0b0c0c;
183
- padding-bottom: 20px;
184
- font-weight: 600;
185
- font-size: 46px;
186
- line-height: 56px;
187
- }
188
-
189
- div,
190
- span,
191
- p {
192
- font-family: "Roboto Flex", sans-serif;
193
- font-style: normal;
194
- }
195
-
196
- .fillout-field-paragraph p {
197
- font-size: 16px;
198
- font-weight: 400;
199
- line-height: 24px;
200
- }
201
-
202
- .fillout-field-label p {
203
- color: #0b0c0c;
204
- font-size: 20px;
205
- line-height: 28px;
206
- }
207
-
208
- .fillout-field-container input[type],
209
- .fillout-field-container input[placeholder],
210
- .fillout-field-container label[type],
211
- .fillout-field-container span[placeholder],
212
- .fillout-field-container textarea[placeholder],
213
- .fillout-field-multiple-choice [role="radio"] div,
214
- .fillout-field-checkboxes label div,
215
- .react-select__value-container .react-select__single-value {
216
- color: #0b0c0c !important;
217
- }
218
-
219
- .fillout-caption,
220
- input::placeholder {
221
- color: #535454;
222
- }
223
-
224
- a {
225
- color: #2a60af;
226
- }
227
-
228
- .fillout-required-asterisk,
229
- p::after {
230
- color: #ac0000;
231
- }