@flywheel-io/vision 0.5.0 → 0.6.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 +1 -19
- package/assets/fonts/Flywheel-Vision-Icons.svg +239 -0
- package/assets/fonts/{flywheel.eot → Flywheel-Vision-Icons.ttf} +0 -0
- package/assets/fonts/{flywheel.ttf → Flywheel-Vision-Icons.woff} +0 -0
- package/bundles/flywheel-io-vision-elements.umd.js +40 -16
- package/bundles/flywheel-io-vision-elements.umd.js.map +1 -1
- package/bundles/flywheel-io-vision.umd.js +884 -662
- package/bundles/flywheel-io-vision.umd.js.map +1 -1
- package/components/button/button.component.d.ts +3 -0
- package/components/button/button.module.d.ts +7 -0
- package/components/button-group/button-group.component.d.ts +3 -0
- package/components/button-group/button-group.module.d.ts +5 -0
- package/components/dialog/choice-dialog.component.d.ts +3 -0
- package/components/dialog/confirm-dialog.component.d.ts +3 -0
- package/components/dialog/dialog.module.d.ts +14 -0
- package/components/dialog/dialog.service.d.ts +3 -0
- package/components/dialog/error-dialog.component.d.ts +3 -0
- package/components/dialog/portal-dialog.component.d.ts +3 -0
- package/components/icon/icon.component.d.ts +5 -0
- package/components/icon/icon.module.d.ts +8 -0
- package/components/notification/notification/notification.component.d.ts +3 -0
- package/components/notification/notification-container/notification-container.component.d.ts +3 -0
- package/components/notification/notification.module.d.ts +11 -0
- package/components/notification/notification.service.d.ts +3 -0
- package/components/popover/popover-trigger.component.d.ts +3 -0
- package/components/popover/popover-trigger.directive.d.ts +3 -0
- package/components/popover/popover.component.d.ts +3 -0
- package/components/popover/popover.module.d.ts +8 -0
- package/components/shared/pipes/pipes.module.d.ts +6 -0
- package/components/shared/pipes/translate.pipe.d.ts +3 -0
- package/components/shared/pipes/trusthtml.pipe.d.ts +3 -0
- package/components/shared/translation.service.d.ts +3 -0
- package/components/table/table.component.d.ts +3 -0
- package/components/table/table.module.d.ts +12 -0
- package/elements/flywheel-io-vision-elements.d.ts +1 -0
- package/elements/package.json +0 -1
- package/esm2015/components/button/button.component.js +29 -21
- package/esm2015/components/button/button.module.js +27 -18
- package/esm2015/components/button-group/button-group.component.js +24 -20
- package/esm2015/components/button-group/button-group.module.js +19 -14
- package/esm2015/components/dialog/choice-dialog.component.js +41 -15
- package/esm2015/components/dialog/confirm-dialog.component.js +33 -16
- package/esm2015/components/dialog/dialog.module.js +58 -31
- package/esm2015/components/dialog/dialog.service.js +8 -8
- package/esm2015/components/dialog/error-dialog.component.js +30 -17
- package/esm2015/components/dialog/portal-dialog.component.js +43 -18
- package/esm2015/components/icon/icon.component.js +19 -0
- package/esm2015/components/icon/icon.module.js +26 -0
- package/esm2015/components/notification/notification/notification.component.js +31 -26
- package/esm2015/components/notification/notification-container/notification-container.component.js +25 -21
- package/esm2015/components/notification/notification.module.js +45 -26
- package/esm2015/components/notification/notification.service.js +9 -7
- package/esm2015/components/popover/popover-trigger.component.js +32 -25
- package/esm2015/components/popover/popover-trigger.directive.js +24 -23
- package/esm2015/components/popover/popover.component.js +25 -13
- package/esm2015/components/popover/popover.module.js +38 -25
- package/esm2015/components/shared/pipes/pipes.module.js +25 -13
- package/esm2015/components/shared/pipes/translate.pipe.js +12 -13
- package/esm2015/components/shared/pipes/trusthtml.pipe.js +12 -11
- package/esm2015/components/shared/translation.service.js +7 -4
- package/esm2015/components/table/table.component.js +45 -26
- package/esm2015/components/table/table.module.js +45 -24
- package/esm2015/elements/elements.js +19 -14
- package/esm2015/flywheel-io-vision.js +1 -5
- package/esm2015/public-api.js +3 -1
- package/fesm2015/flywheel-io-vision-elements.js +18 -13
- package/fesm2015/flywheel-io-vision-elements.js.map +1 -1
- package/fesm2015/flywheel-io-vision.js +775 -524
- package/fesm2015/flywheel-io-vision.js.map +1 -1
- package/flywheel-io-vision.d.ts +1 -4
- package/package.json +11 -12
- package/public-api.d.ts +2 -0
- package/scss/icons/_icon-font-face.scss +5 -6
- package/scss/icons/_icon-glyphs.scss +96 -16
- package/styles.css +118 -108
- package/styles.scss +3 -3
- package/assets/fonts/flywheel.svg +0 -101
- package/assets/fonts/flywheel.woff +0 -0
- package/bundles/flywheel-io-vision-elements.umd.min.js +0 -2
- package/bundles/flywheel-io-vision-elements.umd.min.js.map +0 -1
- package/bundles/flywheel-io-vision.umd.min.js +0 -2
- package/bundles/flywheel-io-vision.umd.min.js.map +0 -1
- package/elements/flywheel-io-vision-elements.metadata.json +0 -1
- package/flywheel-io-vision.metadata.json +0 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Project Vision
|
|
2
2
|
|
|
3
|
-
Flywheel UI elements provided as Angular components
|
|
3
|
+
Flywheel UI elements provided as Angular components
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -33,21 +33,3 @@ import { FwButtonModule, FwButtonGroupModule } from '@flywheel-io/vision';
|
|
|
33
33
|
})
|
|
34
34
|
export class AppModule {}
|
|
35
35
|
```
|
|
36
|
-
|
|
37
|
-
For an application using another or no framework, register component modules to make their elements available in the DOM.
|
|
38
|
-
This process is asynchronous and elements will not be available until the returned Promise is resolved.
|
|
39
|
-
|
|
40
|
-
```js
|
|
41
|
-
import '@flywheel-io/vision/styles.css'; // global styles and theme
|
|
42
|
-
import { FwButtonModule, FwButtonGroupModule } from '@flywheel-io/vision';
|
|
43
|
-
import { registerElements } from '@flywheel-io/vision/elements';
|
|
44
|
-
|
|
45
|
-
registerElements(FwButtonModule, FwButtonGroupModule).then(() => {
|
|
46
|
-
document.body.innerHTML = `
|
|
47
|
-
<fw-button-group>
|
|
48
|
-
<fw-button type="flat" color="primary">Primary Flat Button</fw-button>
|
|
49
|
-
<fw-button type="stroked">Stroked Button<fw-button>
|
|
50
|
-
</fw-button-group>
|
|
51
|
-
`;
|
|
52
|
-
});
|
|
53
|
-
```
|