Skip to content

Commit

Permalink
Merge pull request #520 from Enterprise-CMCS/master
Browse files Browse the repository at this point in the history
Release to val
  • Loading branch information
mdial89f authored Apr 25, 2024
2 parents 0d8edd4 + c22ea29 commit a80717f
Show file tree
Hide file tree
Showing 122 changed files with 3,469 additions and 3,503 deletions.
4 changes: 2 additions & 2 deletions docs/_deploy-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
"dependencies": {
"@chakra-ui/react": "^2.3.6",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11",
"@emotion/styled": "^11.11.5",
"@octokit/auth-action": "^2.0.2",
"@octokit/types": "^8.0.0",
"d3-color": "3.1.0",
"date-fns": "^2.29.3",
"framer-motion": "^6",
"jszip": "^3.10.1",
"next": "^13.5.4",
"octokit": "^3.1.2",
"octokit": "^3.2.0",
"react": "18.2.0",
"react-aws-icons": "^1.2.1",
"react-dom": "18.2.0",
Expand Down
39 changes: 25 additions & 14 deletions docs/_deploy-metrics/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -910,10 +910,10 @@
dependencies:
"@emotion/memoize" "0.7.4"

"@emotion/is-prop-valid@^1.2.1":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz#23116cf1ed18bfeac910ec6436561ecb1a3885cc"
integrity sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw==
"@emotion/is-prop-valid@^1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz#d4175076679c6a26faa92b03bb786f9e52612337"
integrity sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw==
dependencies:
"@emotion/memoize" "^0.8.1"

Expand Down Expand Up @@ -963,20 +963,31 @@
"@emotion/utils" "^1.2.1"
csstype "^3.0.2"

"@emotion/serialize@^1.1.4":
version "1.1.4"
resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.1.4.tgz#fc8f6d80c492cfa08801d544a05331d1cc7cd451"
integrity sha512-RIN04MBT8g+FnDwgvIUi8czvr1LU1alUMI05LekWB5DGyTm8cCBMCRpq3GqaiyEDRptEXOyXnvZ58GZYu4kBxQ==
dependencies:
"@emotion/hash" "^0.9.1"
"@emotion/memoize" "^0.8.1"
"@emotion/unitless" "^0.8.1"
"@emotion/utils" "^1.2.1"
csstype "^3.0.2"

"@emotion/sheet@^1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.2.2.tgz#d58e788ee27267a14342303e1abb3d508b6d0fec"
integrity sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==

"@emotion/styled@^11":
version "11.11.0"
resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.11.0.tgz#26b75e1b5a1b7a629d7c0a8b708fbf5a9cdce346"
integrity sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==
"@emotion/styled@^11.11.5":
version "11.11.5"
resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.11.5.tgz#0c5c8febef9d86e8a926e663b2e5488705545dfb"
integrity sha512-/ZjjnaNKvuMPxcIiUkf/9SHoG4Q196DRl1w82hQ3WCsjo1IUR8uaGWrC6a87CrYAW0Kb/pK7hk8BnLgLRi9KoQ==
dependencies:
"@babel/runtime" "^7.18.3"
"@emotion/babel-plugin" "^11.11.0"
"@emotion/is-prop-valid" "^1.2.1"
"@emotion/serialize" "^1.1.2"
"@emotion/is-prop-valid" "^1.2.2"
"@emotion/serialize" "^1.1.4"
"@emotion/use-insertion-effect-with-fallbacks" "^1.0.1"
"@emotion/utils" "^1.2.1"

Expand Down Expand Up @@ -3433,10 +3444,10 @@ object.values@^1.1.6:
define-properties "^1.2.0"
es-abstract "^1.22.1"

octokit@^3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/octokit/-/octokit-3.1.2.tgz#e574e4f2f5f8712e10412ce81fb56a74c93d4cfa"
integrity sha512-MG5qmrTL5y8KYwFgE1A4JWmgfQBaIETE/lOlfwNYx1QOtCQHGVxkRJmdUJltFc1HVn73d61TlMhMyNTOtMl+ng==
octokit@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/octokit/-/octokit-3.2.0.tgz#2e75bb0a5f0511aa37ee20c2714206ed0d09e2bf"
integrity sha512-f25eJ/8ITwF2BdwymOjK9I5ll9Azt8UbfHE2u5ho0gVdgfpIZkUgMGbQjbvgOYGbtIAYxh7ghH3BUbZrYal1Gw==
dependencies:
"@octokit/app" "^14.0.2"
"@octokit/core" "^5.0.0"
Expand Down
9 changes: 8 additions & 1 deletion src/packages/shared-types/authority.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
// TODO: Refactor out
export enum Authority {
MED_SPA = "medicaid spa",
CHIP_SPA = "chip spa",
WAIVER = "waiver",
"1915b" = "1915(b)",
"1915c" = "1915(c)",
}

/* Authority values as a union string type. Replaces old Authority enum. */
export type AuthorityUnion =
| "Medicaid SPA"
| "CHIP SPA"
| "1915(b)"
| "1915(c)";
11 changes: 7 additions & 4 deletions src/packages/shared-types/forms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ export interface FormSchema {
export type RHFSlotProps = {
name: string;
label?: RHFTextField;
labelStyling?: string;
formItemStyling?: string;
labelClassName?: string;
formItemClassName?: string;
groupNamePrefix?: string;
description?: RHFTextField;
descriptionAbove?: boolean;
descriptionStyling?: string;
descriptionClassName?: string;
dependency?: DependencyRule;
rules?: RegisterOptions;
} & {
Expand Down Expand Up @@ -81,6 +81,7 @@ export type RHFOption = {
dependency?: DependencyRule;
form?: FormGroup[];
slots?: RHFSlotProps[];
optionlabelClassName?: string;
};

export type RHFComponentMap = {
Expand Down Expand Up @@ -114,15 +115,17 @@ export type RHFComponentMap = {

export type FormGroup = {
description?: string;
descriptionClassName?: string;
slots: RHFSlotProps[];
wrapperStyling?: string;
wrapperClassName?: string;
dependency?: DependencyRule;
};

export interface Section {
title: string;
form: FormGroup[];
dependency?: DependencyRule;
subsection?: boolean;
}

export interface Document {
Expand Down
4 changes: 2 additions & 2 deletions src/packages/shared-types/inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ export type SwitchProps = React.ComponentPropsWithoutRef<

export interface TextareaProps
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
charcount?: "simple" | "limited";
charcountstyling?: string;
charCount?: "simple" | "limited";
charCountClassName?: string;
}
4 changes: 2 additions & 2 deletions src/services/api/webforms/ABP1/v202401.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ export const v202401: FormSchema = {
// form: [
// {
// description: "A test of horizontal layouts with no slot styles",
// wrapperStyling: "flex flex-wrap gap-6",
// wrapperClassName: "flex flex-wrap gap-6",
// slots: [
// {
// name: "example1_1",
Expand All @@ -1286,7 +1286,7 @@ export const v202401: FormSchema = {
// },
// {
// description: "A test of horizontal layouts with slot styles",
// wrapperStyling: "flex flex-wrap gap-6",
// wrapperClassName: "flex flex-wrap gap-6",
// slots: [
// {
// name: "example2_1",
Expand Down
2 changes: 1 addition & 1 deletion src/services/api/webforms/ABP1/v202402.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ export const v202402: FormSchema = {
rhf: "Input",
name: "abp1_target-criteria_name-of-region_input",
label: "Region Name",
labelStyling:
labelClassName:
"font-bold",
rules: {
required:
Expand Down
6 changes: 3 additions & 3 deletions src/services/api/webforms/ABP10/v202401.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const v202401: FormSchema = {
name: "abp10_economy-and-efficiency-of-plans_describe-approach_select",
label:
"Will economy and efficiency be achieved using the same approach as used for Medicaid state plan services?",
labelStyling: "font-bold",
labelClassName: "font-bold",
rules: { required: "* Required" },
props: {
className: "w-[150px]",
Expand All @@ -43,9 +43,9 @@ export const v202401: FormSchema = {
{
rhf: "Textarea",
label: "Describe the approach",
labelStyling: "font-bold",
labelClassName: "font-bold",
name: "abp10_economy-and-efficiency-of-plans_describe-approach_textarea",
formItemStyling: "ml-[0.6rem] px-4 border-l-4 border-l-primary",
formItemClassName: "ml-[0.6rem] px-4 border-l-4 border-l-primary",
rules: { required: "* Required" },
dependency: {
conditions: [
Expand Down
2 changes: 1 addition & 1 deletion src/services/api/webforms/ABP11/v202401.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const v202401: FormSchema = {
rhf: "Upload",
name: "abp11_abp-pay-method_state-plan-attchmnt-alt-payment-method_upload",
label: "State plan amendment attachment",
labelStyling: "font-bold",
labelClassName: "font-bold",
description:
"Only required if not using the payment methodology in the approved state plan",
descriptionAbove: true,
Expand Down
26 changes: 13 additions & 13 deletions src/services/api/webforms/ABP2A/v202401.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ export const v202401: FormSchema = {
name: "abp-2a_benefit-align-and-require_is-state-territory-aligned_select",
label:
"The state/territory has fully aligned its EHB-defined Alternative Benefit Plan (ABP) benefits with its approved Medicaid state plan.",
labelStyling: "font-bold text-[0.8rem]",
labelClassName: "font-bold text-[0.8rem]",
description:
"Therefore, the state/territory meets the requirements for voluntary choice of benefit package for individuals exempt from mandatory participation in a Section 1937 ABP.",
descriptionAbove: true,
descriptionStyling: "font-bold text-black",
descriptionClassName: "font-bold text-black",
rules: {
required: "* Required",
},
Expand All @@ -37,7 +37,7 @@ export const v202401: FormSchema = {
description:
"Explain how the state has fully aligned its benefits.",
descriptionAbove: true,
descriptionStyling: "font-bold text-black",
descriptionClassName: "font-bold text-black",
rules: {
required: "* Required",
},
Expand Down Expand Up @@ -164,7 +164,7 @@ export const v202401: FormSchema = {
rhf: "Input",
name: "abp-2a_delivery-of-info_describe-other-input",
label: "Describe",
labelStyling: "font-bold",
labelClassName: "font-bold",
rules: {
required: "* Required",
},
Expand All @@ -180,7 +180,7 @@ export const v202401: FormSchema = {
description:
"Provide a copy of the letter, email, or other communication.",
descriptionAbove: true,
descriptionStyling: "font-bold text-black",
descriptionClassName: "font-bold text-black",
rules: {
required: "* Required",
},
Expand All @@ -195,23 +195,23 @@ export const v202401: FormSchema = {
rules: {
required: "* Required",
},
descriptionStyling: "font-bold text-black",
descriptionClassName: "font-bold text-black",
},
{
rhf: "Textarea",
name: "abp-2a_delivery-of-info_describe-process-in-section1902_textarea",
descriptionAbove: true,
description:
"Describe the state/territory's process for allowing individuals in the Section 1902(a)(10)(A)(i)(VIII) eligibility group who meet exemption criteria to disenroll from the ABP using Section 1937 requirements and enroll in the ABP that is the state/territory's approved Medicaid state plan.",
descriptionStyling: "font-bold text-black",
descriptionClassName: "font-bold text-black",
rules: {
required: "* Required",
},
},
{
rhf: "Checkbox",
name: "abp-2a_delivery-of-info_state-territory-assures-it-will-document-exempt-individuals_checkgroup",
formItemStyling: "whitespace-pre-wrap",
formItemClassName: "whitespace-pre-wrap",
rules: {
required: "* Required",
},
Expand Down Expand Up @@ -249,7 +249,7 @@ export const v202401: FormSchema = {
rhf: "Checkbox",
name: "abp-2a_delivery-of-info_where-will-info-be-doc_checkgroup",
descriptionAbove: true,
descriptionStyling: "font-bold text-black",
descriptionClassName: "font-bold text-black",
description: "Where will the information be documented?",
rules: {
required: "* Required",
Expand All @@ -272,7 +272,7 @@ export const v202401: FormSchema = {
rhf: "Input",
name: "abp-2a_delivery-of-info_where-will-info-be-doc-describe-other_input",
label: "Describe",
labelStyling: "font-bold",
labelClassName: "font-bold",
rules: {
required: "* Required",
},
Expand All @@ -286,10 +286,10 @@ export const v202401: FormSchema = {
rhf: "Checkbox",
name: "abp-2a_delivery-of-info_what-docu-will-be-maintained_checkgroup",
descriptionAbove: true,
descriptionStyling: "font-bold text-black",
descriptionClassName: "font-bold text-black",
description:
"What documentation will be maintained in the eligibility file?",
formItemStyling: "border-b-4",
formItemClassName: "border-b-4",
rules: {
required: "* Required",
},
Expand All @@ -314,7 +314,7 @@ export const v202401: FormSchema = {
rhf: "Input",
name: "abp-2a_delivery-of-info_describe-other_input",
label: "Describe",
labelStyling: "font-bold",
labelClassName: "font-bold",
rules: {
required: "* Required",
},
Expand Down
Loading

0 comments on commit a80717f

Please sign in to comment.