@fleetbase/registry-bridge-engine 0.0.3 → 0.0.4

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.
@@ -28,6 +28,7 @@ export default class DevelopersPaymentsIndexController extends Controller {
28
28
  {
29
29
  label: 'Amount',
30
30
  valuePath: 'locked_price',
31
+ cellComponent: 'table/cell/currency',
31
32
  width: '20%',
32
33
  },
33
34
  {
@@ -4,29 +4,11 @@
4
4
  <div class="m-auto p-8">
5
5
  <div class="extension-card-grid-container">
6
6
  {{#each @model as |extension|}}
7
- <div class="extension-card-container">
8
- <div class="extension-card-icon-container">
9
- <Image src={{extension.icon_url}} alt={{extension.name}} @fallbackSrc={{config "defaultValues.extensionIcon"}} />
10
- </div>
11
- <div class="extension-card-body-container">
12
- <div class="flex flex-col">
13
- <div class="font-semibold text-sm block">{{extension.name}}</div>
14
- <div class="text-xs">{{n-a extension.description}}</div>
15
- </div>
16
- {{#if extension.is_installed}}
17
- <Badge @status="success" @hideStatusDot={{true}} class="mt-1"><FaIcon @icon="check" class="mr-1" /> Installed</Badge>
18
- {{/if}}
19
- <div class="pt-1 space-y-2">
20
- <Button
21
- @type="default"
22
- @text={{t "registry-bridge.common.about-extension" extensionName=extension.name}}
23
- @icon="circle-info"
24
- @onClick={{fn this.about extension}}
25
- class="w-full"
26
- />
27
- </div>
28
- </div>
29
- </div>
7
+ <ExtensionCard @extension={{extension}}>
8
+ {{#if extension.is_installed}}
9
+ <Badge @status="success" @hideStatusDot={{true}} class="mt-1"><FaIcon @icon="check" class="mr-1" /> Installed</Badge>
10
+ {{/if}}
11
+ </ExtensionCard>
30
12
  {{/each}}
31
13
  </div>
32
14
  </div>
package/composer.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbase/registry-bridge",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Internal Bridge between Fleetbase API and Extensions Registry",
5
5
  "keywords": [
6
6
  "fleetbase-extension",
package/extension.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Registry Bridge",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Internal Bridge between Fleetbase API and Extensions Registry",
5
5
  "repository": "https://github.com/fleetbase/registry-bridge",
6
6
  "license": "AGPL-3.0-or-later",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleetbase/registry-bridge-engine",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Internal Bridge between Fleetbase API and Extensions Registry",
5
5
  "fleetbase": {
6
6
  "route": "extensions"
@@ -1,12 +0,0 @@
1
- <div>
2
- <div class="mb-2 flex justify-between items-center">
3
- <h3 class="text-sm font-semibold text-gray-800 dark:text-white">{{@title}}</h3>
4
- <span class="text-sm text-gray-800 dark:text-white">{{@percent}}%</span>
5
- </div>
6
- <div class="flex w-full h-2 bg-gray-200 rounded-full overflow-hidden dark:bg-neutral-700" role="progressbar" aria-valuenow={{@percent}} aria-valuemin="0" aria-valuemax="100">
7
- <div
8
- class="flex flex-col justify-center rounded-full overflow-hidden bg-blue-600 text-xs text-white text-center whitespace-nowrap transition duration-500 dark:bg-blue-500"
9
- {{did-update this.setProgress @percent}}
10
- ></div>
11
- </div>
12
- </div>
@@ -1,8 +0,0 @@
1
- import Component from '@glimmer/component';
2
- import { action } from '@ember/object';
3
-
4
- export default class ProgressBarComponent extends Component {
5
- @action setProgress(el, [percent]) {
6
- el.style.width = `${percent}%`;
7
- }
8
- }
@@ -1 +0,0 @@
1
- export { default } from '@fleetbase/registry-bridge-engine/components/progress-bar';