@opengeoweb/taf 2.3.0 → 2.5.0
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/README.md +2 -2
- package/index.d.ts +2 -3
- package/index.esm.js +3089 -1447
- package/index.umd.js +3367 -1631
- package/lib/TafDemo.stories.d.ts +2 -2
- package/lib/components/IssuesPane/IssuesButton.d.ts +5 -2
- package/lib/components/IssuesPane/IssuesPane.d.ts +8 -5
- package/lib/components/IssuesPane/IssuesPane.stories.d.ts +12 -3
- package/lib/components/IssuesPane/IssuesPaneWrapper.d.ts +4 -0
- package/lib/components/{ContentDialog/ContentDialog.spec.d.ts → IssuesPane/IssuesPaneWrapper.spec.d.ts} +0 -0
- package/lib/components/IssuesPane/types.d.ts +11 -0
- package/lib/components/IssuesPane/utils.d.ts +10 -0
- package/lib/components/{TafForm/TafFormRow → IssuesPane}/utils.spec.d.ts +0 -0
- package/lib/components/Spinner/Spinner.d.ts +2 -1
- package/lib/components/{TafLayout → StatusIcon}/StatusIcon.d.ts +0 -0
- package/lib/components/{TafLayout → StatusIcon}/StatusIcon.spec.d.ts +0 -0
- package/lib/components/{TafLayout/TabPanel → TabPanel}/TabPanel.d.ts +0 -0
- package/lib/components/{TafLayout/TabPanel → TabPanel}/TabPanel.spec.d.ts +0 -0
- package/lib/components/{TafLayout/TabPanel → TabPanel}/index.d.ts +0 -0
- package/lib/components/TafForm/TafForm.d.ts +7 -22
- package/lib/components/TafForm/{TafFormDialog/TafFormDialog.spec.d.ts → TafForm.spec.d.ts} +0 -0
- package/lib/components/TafForm/{TafFormRow/change.spec.d.ts → TafForm.statusChanges.spec.d.ts} +0 -0
- package/lib/components/TafForm/{TafFormWrapper.stories.d.ts → TafForm.stories.d.ts} +0 -0
- package/lib/components/TafForm/TafFormButtons/TafFormButtons.d.ts +6 -9
- package/lib/components/TafForm/TafFormRow/{change.d.ts → validations/change.d.ts} +0 -0
- package/lib/components/TafForm/TafFormRow/{clouds.spec.d.ts → validations/change.spec.d.ts} +0 -0
- package/lib/components/TafForm/TafFormRow/{clouds.d.ts → validations/clouds.d.ts} +1 -1
- package/lib/components/TafForm/TafFormRow/{probability.spec.d.ts → validations/clouds.spec.d.ts} +0 -0
- package/lib/components/TafForm/TafFormRow/{probability.d.ts → validations/probability.d.ts} +0 -0
- package/lib/components/TafForm/TafFormRow/{validField.spec.d.ts → validations/probability.spec.d.ts} +0 -0
- package/lib/components/TafForm/TafFormRow/{utils.d.ts → validations/utils.d.ts} +0 -0
- package/lib/components/{TafList → TafForm/TafFormRow/validations}/utils.spec.d.ts +0 -0
- package/lib/components/TafForm/TafFormRow/{validField.d.ts → validations/validField.d.ts} +1 -1
- package/lib/components/TafForm/TafFormRow/{visibility.spec.d.ts → validations/validField.spec.d.ts} +0 -0
- package/lib/components/TafForm/TafFormRow/{visibility.d.ts → validations/visibility.d.ts} +1 -1
- package/lib/components/TafForm/TafFormRow/{weather.spec.d.ts → validations/visibility.spec.d.ts} +0 -0
- package/lib/components/TafForm/TafFormRow/{weather.d.ts → validations/weather.d.ts} +1 -1
- package/lib/components/TafForm/TafFormRow/{wind.spec.d.ts → validations/weather.spec.d.ts} +0 -0
- package/lib/components/TafForm/TafFormRow/{wind.d.ts → validations/wind.d.ts} +1 -1
- package/lib/components/TafForm/{TafFormWrapper.spec.d.ts → TafFormRow/validations/wind.spec.d.ts} +0 -0
- package/lib/components/TafForm/index.d.ts +1 -2
- package/lib/components/TafForm/utils.d.ts +25 -0
- package/lib/components/{TafLayout → TafHeader}/TafHeader.d.ts +0 -0
- package/lib/components/{TafLayout → TafHeader}/TafHeader.spec.d.ts +0 -0
- package/lib/components/TafLayout/TacOverview/ExportButton.d.ts +7 -0
- package/lib/components/{TafList/TafList.spec.d.ts → TafLayout/TacOverview/ExportButton.spec.d.ts} +0 -0
- package/lib/components/TafLayout/TacOverview/TacContainer.d.ts +4 -4
- package/lib/components/TafLayout/TacOverview/TacOverview.d.ts +3 -0
- package/lib/components/TafLayout/TacOverview/TacOverview.stories.d.ts +2 -0
- package/lib/components/TafLayout/TacOverview/TacOverviewMobile.d.ts +11 -0
- package/lib/components/{TafList/TafListAccordion.spec.d.ts → TafLayout/TacOverview/TacOverviewMobile.spec.d.ts} +0 -0
- package/lib/components/TafLayout/TacOverview/TacOverviewMobile.stories.d.ts +23 -0
- package/lib/components/TafLayout/TacOverview/index.d.ts +1 -0
- package/lib/components/TafLayout/TafLayout.d.ts +6 -0
- package/lib/components/{TafList/TafListButtons.spec.d.ts → TafLayout/TafLayout.spec.d.ts} +0 -0
- package/lib/components/TafLayout/TafLayout.stories.d.ts +10 -2
- package/lib/components/TafLayout/TafPanel/TafPanel.d.ts +32 -0
- package/lib/components/{TafList/TafListRow.spec.d.ts → TafLayout/TafPanel/TafPanel.spec.d.ts} +0 -0
- package/lib/components/TafLayout/TafPanel/index.d.ts +1 -0
- package/lib/components/TafLayout/TopTabs/TopTabs.d.ts +0 -2
- package/lib/components/TafLayout/utils.d.ts +17 -1
- package/lib/components/TafModule/TafModule.d.ts +3 -0
- package/lib/components/{TafList/TafListSection.spec.d.ts → TafModule/TafModule.spec.d.ts} +0 -0
- package/lib/components/TafModule/TafModule.stories.d.ts +10 -0
- package/lib/components/TafModule/TafModuleProvider.d.ts +22 -0
- package/lib/components/TafModule/index.d.ts +1 -0
- package/lib/components/TafWrapper/TafWrapper.d.ts +6 -13
- package/lib/types.d.ts +1 -1
- package/lib/utils/__mocks__/api.d.ts +1 -0
- package/lib/utils/fakeApi.d.ts +1 -1
- package/lib/utils/mockdata/fakeTafList.d.ts +9 -3
- package/lib/utils/testUtils.d.ts +7 -10
- package/package.json +7 -6
- package/lib/components/ContentDialog/ContentDialog.d.ts +0 -14
- package/lib/components/ContentDialog/ContentDialog.stories.d.ts +0 -7
- package/lib/components/ContentDialog/index.d.ts +0 -1
- package/lib/components/IssuesPane/IssuesPane.styles.d.ts +0 -1
- package/lib/components/Providers/Providers.d.ts +0 -11
- package/lib/components/TafForm/TafFormDialog/TafFormDialog.d.ts +0 -12
- package/lib/components/TafForm/TafFormDialog/TafFormDialog.stories.d.ts +0 -9
- package/lib/components/TafForm/TafFormWrapper.d.ts +0 -14
- package/lib/components/TafList/TafList.d.ts +0 -11
- package/lib/components/TafList/TafList.stories.d.ts +0 -8
- package/lib/components/TafList/TafListAccordion.d.ts +0 -11
- package/lib/components/TafList/TafListButtons.d.ts +0 -10
- package/lib/components/TafList/TafListRow.d.ts +0 -12
- package/lib/components/TafList/TafListSection.d.ts +0 -12
- package/lib/components/TafList/TafListSection.stories.d.ts +0 -18
- package/lib/components/TafList/index.d.ts +0 -3
- package/lib/components/TafList/utils.d.ts +0 -4
- package/lib/utils/utils.d.ts +0 -3
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ The front-end uses the [axios](https://github.com/axios/axios) library to fetch
|
|
|
18
18
|
|
|
19
19
|
```
|
|
20
20
|
import { ApiProvider } from '@opengeoweb/api';
|
|
21
|
-
import {
|
|
21
|
+
import { TafModule } from '@opengeoweb/taf';
|
|
22
22
|
|
|
23
23
|
const myAuth = {
|
|
24
24
|
username: 'string',
|
|
@@ -38,7 +38,7 @@ const Component = () => {
|
|
|
38
38
|
createApi={createApi}
|
|
39
39
|
authTokenUrl="url/tokenrefresh"
|
|
40
40
|
>
|
|
41
|
-
<
|
|
41
|
+
<TafModule />
|
|
42
42
|
</ApiProvider>
|
|
43
43
|
)}
|
|
44
44
|
```
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export * from './lib/components/TafList';
|
|
2
1
|
export * from './lib/components/TafForm';
|
|
3
|
-
export * from './lib/components/
|
|
4
|
-
export * from './lib/components/ContentDialog';
|
|
2
|
+
export * from './lib/components/TafModule';
|
|
5
3
|
export { createApi } from './lib/utils/api';
|
|
4
|
+
export { createApi as createFakeApi } from './lib/utils/fakeApi';
|