@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.
- package/.editorconfig +26 -26
- package/.github/workflows/publish.yml +28 -28
- package/biome.json +302 -302
- package/dev/App.tsx +51 -51
- package/dev/main.tsx +10 -10
- package/dist/_components/Modal/CreateEdit/CreateEditCase.d.ts +1 -0
- package/dist/_components/Modal/View/DateDetails.d.ts +4 -2
- package/dist/context/ReferenceDataContext.d.ts +15 -0
- package/dist/helpers/munis.d.ts +1 -3
- package/dist/helpers/people.d.ts +2 -2
- package/dist/index.mjs +5202 -5097
- package/dist/types.d.ts +7 -1
- package/index.html +11 -11
- package/package.json +56 -56
- package/src/_components/CCalendar.css +469 -469
- package/src/_components/CCalendar.tsx +736 -727
- package/src/_components/List/CalendarList.tsx +289 -288
- package/src/_components/Modal/CaseDetails/CaseDetails.tsx +414 -413
- package/src/_components/Modal/CaseDetails/EvidenceRow.tsx +82 -82
- package/src/_components/Modal/CaseDetails/EvidenceSection.tsx +95 -94
- package/src/_components/Modal/CreateEdit/CreateEditCase.tsx +247 -241
- package/src/_components/Modal/CreateEdit/DateSelector.tsx +42 -42
- package/src/_components/Modal/CreateEdit/EditUserFieldDropdown.tsx +55 -54
- package/src/_components/Modal/CreateEdit/EnumDropdown.tsx +54 -54
- package/src/_components/Modal/CreateEdit/HearingOfficerDropdown.tsx +49 -48
- package/src/_components/Modal/CreateEdit/TextFieldList.tsx +186 -186
- package/src/_components/Modal/CreateEdit/ToggleableTextField.tsx +90 -90
- package/src/_components/Modal/Modal.css +15 -15
- package/src/_components/Modal/Modal.tsx +333 -328
- package/src/_components/Modal/ModalActions.tsx +99 -99
- package/src/_components/Modal/View/CaseToolbar.tsx +81 -81
- package/src/_components/Modal/View/CaseViewer.tsx +237 -237
- package/src/_components/Modal/View/DateDetails.tsx +220 -137
- package/src/_components/Modal/View/InfoBox.tsx +22 -22
- package/src/_components/Modal/View/InfoBoxBtn.css +39 -39
- package/src/_components/Modal/View/InfoBoxBtn.tsx +29 -29
- package/src/_components/Modal/View/NoticeFileLink.tsx +44 -44
- package/src/_components/Shared/FirstSecondChairIcons.tsx +248 -247
- package/src/_components/Shared/FormRow.tsx +37 -37
- package/src/_components/Shared/MuniDropdown.tsx +97 -96
- package/src/_components/Shared/SearchBar.tsx +87 -87
- package/src/_components/Toolbar/CaseFilter.tsx +77 -77
- package/src/_components/Toolbar/DateTypeFilter.tsx +63 -63
- package/src/_components/Toolbar/HearingTypeFilter.tsx +63 -63
- package/src/_components/Toolbar/Toolbar.tsx +159 -159
- package/src/_components/Toolbar/UserFilter.tsx +106 -105
- package/src/_components/Toolbar/ViewFilter.tsx +48 -48
- package/src/context/ReferenceDataContext.tsx +89 -0
- package/src/helpers/cache.ts +89 -89
- package/src/helpers/cases.ts +89 -87
- package/src/helpers/courtDates.ts +145 -145
- package/src/helpers/formatter.ts +45 -45
- package/src/helpers/munis.ts +20 -44
- package/src/helpers/people.ts +40 -46
- package/src/index.ts +2 -2
- package/src/types.ts +136 -129
- package/tsconfig.app.json +32 -32
- package/tsconfig.json +4 -4
- package/tsconfig.node.json +30 -30
- package/vite.config.ts +39 -39
- 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 "
|
|
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
|