@eeplatform/nuxt-layer-common 1.7.8 → 1.7.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eeplatform/nuxt-layer-common
2
2
 
3
+ ## 1.7.9
4
+
5
+ ### Patch Changes
6
+
7
+ - eb1a1ec: useBasicEdu - remove kindergarten education level
8
+
3
9
  ## 1.7.8
4
10
 
5
11
  ### Patch Changes
@@ -1,9 +1,5 @@
1
1
  export default function useBasicEdu() {
2
2
  const educationLevels = [
3
- {
4
- title: "Kindergarten",
5
- value: "kindergarten",
6
- },
7
3
  {
8
4
  title: "Elementary",
9
5
  value: "elementary",
@@ -21,10 +17,9 @@ export default function useBasicEdu() {
21
17
  // K-12 only
22
18
  function getGradeLevels(educationLevel: string) {
23
19
  switch (educationLevel) {
24
- case "kindergarten":
25
- return ["K1", "K2"];
26
20
  case "elementary":
27
21
  return [
22
+ "Kindergarten",
28
23
  "Grade 1",
29
24
  "Grade 2",
30
25
  "Grade 3",
@@ -43,14 +38,9 @@ export default function useBasicEdu() {
43
38
 
44
39
  const gradeLevels = [
45
40
  {
46
- title: "K1",
47
- value: "K1",
48
- level: "kindergarten",
49
- },
50
- {
51
- title: "K2",
52
- value: "K2",
53
- level: "kindergarten",
41
+ title: "Kindergarten",
42
+ value: "kindergarten",
43
+ level: "elementary",
54
44
  },
55
45
  {
56
46
  title: "Grade 1",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@eeplatform/nuxt-layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "1.7.8",
5
+ "version": "1.7.9",
6
6
  "main": "./nuxt.config.ts",
7
7
  "publishConfig": {
8
8
  "access": "public"