@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.
Files changed (91) hide show
  1. package/README.md +2 -2
  2. package/index.d.ts +2 -3
  3. package/index.esm.js +3089 -1447
  4. package/index.umd.js +3367 -1631
  5. package/lib/TafDemo.stories.d.ts +2 -2
  6. package/lib/components/IssuesPane/IssuesButton.d.ts +5 -2
  7. package/lib/components/IssuesPane/IssuesPane.d.ts +8 -5
  8. package/lib/components/IssuesPane/IssuesPane.stories.d.ts +12 -3
  9. package/lib/components/IssuesPane/IssuesPaneWrapper.d.ts +4 -0
  10. package/lib/components/{ContentDialog/ContentDialog.spec.d.ts → IssuesPane/IssuesPaneWrapper.spec.d.ts} +0 -0
  11. package/lib/components/IssuesPane/types.d.ts +11 -0
  12. package/lib/components/IssuesPane/utils.d.ts +10 -0
  13. package/lib/components/{TafForm/TafFormRow → IssuesPane}/utils.spec.d.ts +0 -0
  14. package/lib/components/Spinner/Spinner.d.ts +2 -1
  15. package/lib/components/{TafLayout → StatusIcon}/StatusIcon.d.ts +0 -0
  16. package/lib/components/{TafLayout → StatusIcon}/StatusIcon.spec.d.ts +0 -0
  17. package/lib/components/{TafLayout/TabPanel → TabPanel}/TabPanel.d.ts +0 -0
  18. package/lib/components/{TafLayout/TabPanel → TabPanel}/TabPanel.spec.d.ts +0 -0
  19. package/lib/components/{TafLayout/TabPanel → TabPanel}/index.d.ts +0 -0
  20. package/lib/components/TafForm/TafForm.d.ts +7 -22
  21. package/lib/components/TafForm/{TafFormDialog/TafFormDialog.spec.d.ts → TafForm.spec.d.ts} +0 -0
  22. package/lib/components/TafForm/{TafFormRow/change.spec.d.ts → TafForm.statusChanges.spec.d.ts} +0 -0
  23. package/lib/components/TafForm/{TafFormWrapper.stories.d.ts → TafForm.stories.d.ts} +0 -0
  24. package/lib/components/TafForm/TafFormButtons/TafFormButtons.d.ts +6 -9
  25. package/lib/components/TafForm/TafFormRow/{change.d.ts → validations/change.d.ts} +0 -0
  26. package/lib/components/TafForm/TafFormRow/{clouds.spec.d.ts → validations/change.spec.d.ts} +0 -0
  27. package/lib/components/TafForm/TafFormRow/{clouds.d.ts → validations/clouds.d.ts} +1 -1
  28. package/lib/components/TafForm/TafFormRow/{probability.spec.d.ts → validations/clouds.spec.d.ts} +0 -0
  29. package/lib/components/TafForm/TafFormRow/{probability.d.ts → validations/probability.d.ts} +0 -0
  30. package/lib/components/TafForm/TafFormRow/{validField.spec.d.ts → validations/probability.spec.d.ts} +0 -0
  31. package/lib/components/TafForm/TafFormRow/{utils.d.ts → validations/utils.d.ts} +0 -0
  32. package/lib/components/{TafList → TafForm/TafFormRow/validations}/utils.spec.d.ts +0 -0
  33. package/lib/components/TafForm/TafFormRow/{validField.d.ts → validations/validField.d.ts} +1 -1
  34. package/lib/components/TafForm/TafFormRow/{visibility.spec.d.ts → validations/validField.spec.d.ts} +0 -0
  35. package/lib/components/TafForm/TafFormRow/{visibility.d.ts → validations/visibility.d.ts} +1 -1
  36. package/lib/components/TafForm/TafFormRow/{weather.spec.d.ts → validations/visibility.spec.d.ts} +0 -0
  37. package/lib/components/TafForm/TafFormRow/{weather.d.ts → validations/weather.d.ts} +1 -1
  38. package/lib/components/TafForm/TafFormRow/{wind.spec.d.ts → validations/weather.spec.d.ts} +0 -0
  39. package/lib/components/TafForm/TafFormRow/{wind.d.ts → validations/wind.d.ts} +1 -1
  40. package/lib/components/TafForm/{TafFormWrapper.spec.d.ts → TafFormRow/validations/wind.spec.d.ts} +0 -0
  41. package/lib/components/TafForm/index.d.ts +1 -2
  42. package/lib/components/TafForm/utils.d.ts +25 -0
  43. package/lib/components/{TafLayout → TafHeader}/TafHeader.d.ts +0 -0
  44. package/lib/components/{TafLayout → TafHeader}/TafHeader.spec.d.ts +0 -0
  45. package/lib/components/TafLayout/TacOverview/ExportButton.d.ts +7 -0
  46. package/lib/components/{TafList/TafList.spec.d.ts → TafLayout/TacOverview/ExportButton.spec.d.ts} +0 -0
  47. package/lib/components/TafLayout/TacOverview/TacContainer.d.ts +4 -4
  48. package/lib/components/TafLayout/TacOverview/TacOverview.d.ts +3 -0
  49. package/lib/components/TafLayout/TacOverview/TacOverview.stories.d.ts +2 -0
  50. package/lib/components/TafLayout/TacOverview/TacOverviewMobile.d.ts +11 -0
  51. package/lib/components/{TafList/TafListAccordion.spec.d.ts → TafLayout/TacOverview/TacOverviewMobile.spec.d.ts} +0 -0
  52. package/lib/components/TafLayout/TacOverview/TacOverviewMobile.stories.d.ts +23 -0
  53. package/lib/components/TafLayout/TacOverview/index.d.ts +1 -0
  54. package/lib/components/TafLayout/TafLayout.d.ts +6 -0
  55. package/lib/components/{TafList/TafListButtons.spec.d.ts → TafLayout/TafLayout.spec.d.ts} +0 -0
  56. package/lib/components/TafLayout/TafLayout.stories.d.ts +10 -2
  57. package/lib/components/TafLayout/TafPanel/TafPanel.d.ts +32 -0
  58. package/lib/components/{TafList/TafListRow.spec.d.ts → TafLayout/TafPanel/TafPanel.spec.d.ts} +0 -0
  59. package/lib/components/TafLayout/TafPanel/index.d.ts +1 -0
  60. package/lib/components/TafLayout/TopTabs/TopTabs.d.ts +0 -2
  61. package/lib/components/TafLayout/utils.d.ts +17 -1
  62. package/lib/components/TafModule/TafModule.d.ts +3 -0
  63. package/lib/components/{TafList/TafListSection.spec.d.ts → TafModule/TafModule.spec.d.ts} +0 -0
  64. package/lib/components/TafModule/TafModule.stories.d.ts +10 -0
  65. package/lib/components/TafModule/TafModuleProvider.d.ts +22 -0
  66. package/lib/components/TafModule/index.d.ts +1 -0
  67. package/lib/components/TafWrapper/TafWrapper.d.ts +6 -13
  68. package/lib/types.d.ts +1 -1
  69. package/lib/utils/__mocks__/api.d.ts +1 -0
  70. package/lib/utils/fakeApi.d.ts +1 -1
  71. package/lib/utils/mockdata/fakeTafList.d.ts +9 -3
  72. package/lib/utils/testUtils.d.ts +7 -10
  73. package/package.json +7 -6
  74. package/lib/components/ContentDialog/ContentDialog.d.ts +0 -14
  75. package/lib/components/ContentDialog/ContentDialog.stories.d.ts +0 -7
  76. package/lib/components/ContentDialog/index.d.ts +0 -1
  77. package/lib/components/IssuesPane/IssuesPane.styles.d.ts +0 -1
  78. package/lib/components/Providers/Providers.d.ts +0 -11
  79. package/lib/components/TafForm/TafFormDialog/TafFormDialog.d.ts +0 -12
  80. package/lib/components/TafForm/TafFormDialog/TafFormDialog.stories.d.ts +0 -9
  81. package/lib/components/TafForm/TafFormWrapper.d.ts +0 -14
  82. package/lib/components/TafList/TafList.d.ts +0 -11
  83. package/lib/components/TafList/TafList.stories.d.ts +0 -8
  84. package/lib/components/TafList/TafListAccordion.d.ts +0 -11
  85. package/lib/components/TafList/TafListButtons.d.ts +0 -10
  86. package/lib/components/TafList/TafListRow.d.ts +0 -12
  87. package/lib/components/TafList/TafListSection.d.ts +0 -12
  88. package/lib/components/TafList/TafListSection.stories.d.ts +0 -18
  89. package/lib/components/TafList/index.d.ts +0 -3
  90. package/lib/components/TafList/utils.d.ts +0 -4
  91. 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 { TafWrapper } from '@opengeoweb/taf';
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
- <TafWrapper />
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/TafWrapper';
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';