@propriety/court-calendar 0.0.15 → 1.0.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.
Files changed (61) hide show
  1. package/.editorconfig +26 -26
  2. package/.github/workflows/publish.yml +28 -28
  3. package/biome.json +302 -302
  4. package/dev/App.tsx +51 -51
  5. package/dev/main.tsx +10 -10
  6. package/dist/_components/Modal/CreateEdit/CreateEditCase.d.ts +1 -0
  7. package/dist/_components/Modal/View/DateDetails.d.ts +4 -2
  8. package/dist/context/ReferenceDataContext.d.ts +15 -0
  9. package/dist/helpers/munis.d.ts +1 -3
  10. package/dist/helpers/people.d.ts +2 -2
  11. package/dist/index.mjs +5202 -5097
  12. package/dist/types.d.ts +7 -1
  13. package/index.html +11 -11
  14. package/package.json +56 -56
  15. package/src/_components/CCalendar.css +469 -469
  16. package/src/_components/CCalendar.tsx +736 -727
  17. package/src/_components/List/CalendarList.tsx +289 -288
  18. package/src/_components/Modal/CaseDetails/CaseDetails.tsx +414 -413
  19. package/src/_components/Modal/CaseDetails/EvidenceRow.tsx +82 -82
  20. package/src/_components/Modal/CaseDetails/EvidenceSection.tsx +95 -94
  21. package/src/_components/Modal/CreateEdit/CreateEditCase.tsx +247 -241
  22. package/src/_components/Modal/CreateEdit/DateSelector.tsx +42 -42
  23. package/src/_components/Modal/CreateEdit/EditUserFieldDropdown.tsx +55 -54
  24. package/src/_components/Modal/CreateEdit/EnumDropdown.tsx +54 -54
  25. package/src/_components/Modal/CreateEdit/HearingOfficerDropdown.tsx +49 -48
  26. package/src/_components/Modal/CreateEdit/TextFieldList.tsx +186 -186
  27. package/src/_components/Modal/CreateEdit/ToggleableTextField.tsx +90 -90
  28. package/src/_components/Modal/Modal.css +15 -15
  29. package/src/_components/Modal/Modal.tsx +333 -328
  30. package/src/_components/Modal/ModalActions.tsx +99 -99
  31. package/src/_components/Modal/View/CaseToolbar.tsx +81 -81
  32. package/src/_components/Modal/View/CaseViewer.tsx +237 -237
  33. package/src/_components/Modal/View/DateDetails.tsx +220 -137
  34. package/src/_components/Modal/View/InfoBox.tsx +22 -22
  35. package/src/_components/Modal/View/InfoBoxBtn.css +39 -39
  36. package/src/_components/Modal/View/InfoBoxBtn.tsx +29 -29
  37. package/src/_components/Modal/View/NoticeFileLink.tsx +44 -44
  38. package/src/_components/Shared/FirstSecondChairIcons.tsx +248 -247
  39. package/src/_components/Shared/FormRow.tsx +37 -37
  40. package/src/_components/Shared/MuniDropdown.tsx +97 -96
  41. package/src/_components/Shared/SearchBar.tsx +87 -87
  42. package/src/_components/Toolbar/CaseFilter.tsx +77 -77
  43. package/src/_components/Toolbar/DateTypeFilter.tsx +63 -63
  44. package/src/_components/Toolbar/HearingTypeFilter.tsx +63 -63
  45. package/src/_components/Toolbar/Toolbar.tsx +159 -159
  46. package/src/_components/Toolbar/UserFilter.tsx +106 -105
  47. package/src/_components/Toolbar/ViewFilter.tsx +48 -48
  48. package/src/context/ReferenceDataContext.tsx +89 -0
  49. package/src/helpers/cache.ts +89 -89
  50. package/src/helpers/cases.ts +89 -87
  51. package/src/helpers/courtDates.ts +145 -145
  52. package/src/helpers/formatter.ts +45 -45
  53. package/src/helpers/munis.ts +20 -44
  54. package/src/helpers/people.ts +40 -46
  55. package/src/index.ts +2 -2
  56. package/src/types.ts +136 -129
  57. package/tsconfig.app.json +32 -32
  58. package/tsconfig.json +4 -4
  59. package/tsconfig.node.json +30 -30
  60. package/vite.config.ts +39 -39
  61. package/.claude/settings.local.json +0 -9
package/.editorconfig CHANGED
@@ -1,26 +1,26 @@
1
- # EditorConfig is awesome: https://EditorConfig.org
2
-
3
- # top-most EditorConfig file
4
- root = true
5
-
6
- # Unix-style newlines with a newline ending every file
7
- [*]
8
- end_of_line = lf
9
- insert_final_newline = true
10
- charset = utf-8
11
- trim_trailing_whitespace = true
12
-
13
- # Indentation for JavaScript/TypeScript files
14
- [*.{js,jsx,ts,tsx}]
15
- indent_style = space
16
- indent_size = 4
17
-
18
- # Indentation for JSON files
19
- [*.json]
20
- indent_style = space
21
- indent_size = 2
22
-
23
- # Indentation for CSS files
24
- [*.css]
25
- indent_style = space
26
- indent_size = 4
1
+ # EditorConfig is awesome: https://EditorConfig.org
2
+
3
+ # top-most EditorConfig file
4
+ root = true
5
+
6
+ # Unix-style newlines with a newline ending every file
7
+ [*]
8
+ end_of_line = lf
9
+ insert_final_newline = true
10
+ charset = utf-8
11
+ trim_trailing_whitespace = true
12
+
13
+ # Indentation for JavaScript/TypeScript files
14
+ [*.{js,jsx,ts,tsx}]
15
+ indent_style = space
16
+ indent_size = 4
17
+
18
+ # Indentation for JSON files
19
+ [*.json]
20
+ indent_style = space
21
+ indent_size = 2
22
+
23
+ # Indentation for CSS files
24
+ [*.css]
25
+ indent_style = space
26
+ indent_size = 4
@@ -1,28 +1,28 @@
1
- name: Build & Publish to npm
2
-
3
- on:
4
- pull_request:
5
- types: [closed]
6
- branches: [main]
7
-
8
- permissions:
9
- id-token: write
10
- contents: read
11
-
12
- jobs:
13
- publish:
14
- if: github.event.pull_request.merged == true
15
- runs-on: ubuntu-latest
16
-
17
- steps:
18
- - uses: actions/checkout@v4
19
-
20
- - uses: actions/setup-node@v4
21
- with:
22
- node-version: 24
23
- registry-url: https://registry.npmjs.org
24
-
25
- - run: npm ci
26
- - run: npm run build
27
- - run: npm version "0.0.${{ github.run_number }}" --no-git-tag-version
28
- - run: npm publish --access public
1
+ name: Build & Publish to npm
2
+
3
+ on:
4
+ pull_request:
5
+ types: [closed]
6
+ branches: [main]
7
+
8
+ permissions:
9
+ id-token: write
10
+ contents: read
11
+
12
+ jobs:
13
+ publish:
14
+ if: github.event.pull_request.merged == true
15
+ runs-on: ubuntu-latest
16
+
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+
20
+ - uses: actions/setup-node@v4
21
+ with:
22
+ node-version: 24
23
+ registry-url: https://registry.npmjs.org
24
+
25
+ - run: npm ci
26
+ - run: npm run build
27
+ - run: npm version "1.0.${{ github.run_number }}" --no-git-tag-version
28
+ - run: npm publish --access public