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