@scaleflex/widget-provider-views 0.0.1

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 (35) hide show
  1. package/CHANGELOG.md +8103 -0
  2. package/LICENSE +21 -0
  3. package/README.md +44 -0
  4. package/dist/style.css +671 -0
  5. package/dist/style.min.css +1 -0
  6. package/lib/ProviderViews.Styled.js +22 -0
  7. package/lib/components/AuthView.js +35 -0
  8. package/lib/components/AuthView.styled.js +21 -0
  9. package/lib/components/Browser.js +58 -0
  10. package/lib/components/Items/AssetsSection/AssetsSectionTableHeader.js +41 -0
  11. package/lib/components/Items/AssetsSection/AssetsSectionTableRow.js +147 -0
  12. package/lib/components/Items/AssetsSection/index.js +65 -0
  13. package/lib/components/Items/FoldersSection/FoldersSectionTableHeader.js +41 -0
  14. package/lib/components/Items/FoldersSection/FoldersSectionTableRow.js +102 -0
  15. package/lib/components/Items/FoldersSection/index.js +64 -0
  16. package/lib/components/Items/Items.styled.js +156 -0
  17. package/lib/components/Items/List.js +96 -0
  18. package/lib/components/Items/index.js +172 -0
  19. package/lib/components/SearchProviderView/FooterActions.js +25 -0
  20. package/lib/components/SearchProviderView/SearchFilterInput.js +76 -0
  21. package/lib/components/SearchProviderView/SearchProviderBrowser.js +74 -0
  22. package/lib/components/SearchProviderView/SearchProviderBrowser.styled.js +65 -0
  23. package/lib/components/SearchProviderView/SearchProviderView.js +248 -0
  24. package/lib/components/SearchProviderView/index.js +1 -0
  25. package/lib/context/index.js +2 -0
  26. package/lib/hooks/useBrowserContext.js +5 -0
  27. package/lib/index.js +850 -0
  28. package/lib/style/filerobot-ProviderBrowser-layoutType--grid.scss +233 -0
  29. package/lib/style/filerobot-ProviderBrowser-layoutType--list.scss +190 -0
  30. package/lib/style/filerobot-ProviderBrowserItem-details.scss +207 -0
  31. package/lib/style.scss +309 -0
  32. package/lib/utils/View.js +219 -0
  33. package/lib/utils/remoteFileObjToLocal.js +13 -0
  34. package/package.json +36 -0
  35. package/types/index.d.ts +28 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 scaleflex
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # `@scaleflex/widget-provider-views`
2
+
3
+ [![Plugins][plugins-image]](#plugins)
4
+ [![Website][filerobot-image]][sfx-url]
5
+ [![Version][filerobot-version]][version-url]
6
+ [![Scaleflex team][made-by-image]][sfx-url]
7
+ [![License][license-image]][license-url]
8
+ [![CodeSandbox][codeSandbox-image]][codeSandbox-url]
9
+
10
+
11
+ <div align='center'>
12
+ <img title="Scaleflex Widget logo" alt="Scaleflex Widget logo" src="https://cdn.scaleflex.com/plugins/filerobot-widget/assets/filerobot_widget_logo_with_fire.png?vh=b2ff09" width="140"/>
13
+ </div>
14
+
15
+ View library for [Scaleflex Media Asset Widget](https://www.npmjs.com/package/@scaleflex/widget-core) remote provider plugins.
16
+
17
+ ## Usage
18
+
19
+ > Unless you are creating a custom provider plugin, you do not need to install this.
20
+ ### NPM
21
+
22
+ ```bash
23
+ npm install --save @scaleflex/widget-provider-views
24
+ ```
25
+ ### YARN
26
+
27
+ ```bash
28
+ yarn add @scaleflex/widget-provider-views
29
+ ```
30
+
31
+ <!-- Variables -->
32
+
33
+ [npm-url]: https://www.npmjs.com/package/@scaleflex/widget-provider-views
34
+ [license-url]: https://opensource.org/licenses/MIT
35
+ [sfx-url]: https://www.scaleflex.com/
36
+ [version-url]: https://www.npmjs.com/package/@scaleflex/widget-provider-views
37
+ [codeSandbox-url]: https://codesandbox.io/s/filerobot-widget-v3-c5l9th
38
+
39
+ [npm-image]: https://img.shields.io/npm/v/@telus/remark-config.svg?style=for-the-badge&logo=npm
40
+ [license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge
41
+ [made-by-image]: https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg?style=for-the-badge
42
+ [plugins-image]: https://img.shields.io/static/v1?label=Scaleflex&message=Plugins&color=yellow&style=for-the-badge
43
+ [filerobot-image]: https://img.shields.io/static/v1?label=Scaleflex&message=website&color=orange&style=for-the-badge
44
+ [filerobot-version]: https://img.shields.io/npm/v/@scaleflex/widget-provider-views?label=Version&style=for-the-badge&logo=npm