@flywheel-io/vision 0.5.0 → 0.7.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/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 +11 -5
- 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/README.md +20 -0
- package/elements/flywheel-io-vision-elements.d.ts +1 -0
- package/elements/package.json +5 -6
- package/esm2020/components/button/button.component.mjs +32 -0
- package/esm2020/components/button/button.module.mjs +33 -0
- package/esm2020/components/button-group/button-group.component.mjs +25 -0
- package/esm2020/components/button-group/button-group.module.mjs +23 -0
- package/esm2020/components/dialog/choice-dialog.component.mjs +90 -0
- package/esm2020/components/dialog/confirm-dialog.component.mjs +57 -0
- package/{esm2015/components/dialog/dialog.module.js → esm2020/components/dialog/dialog.module.mjs} +58 -31
- package/esm2020/components/dialog/dialog.service.mjs +72 -0
- package/esm2020/components/dialog/error-dialog.component.mjs +45 -0
- package/esm2020/components/dialog/portal-dialog.component.mjs +112 -0
- package/esm2020/components/icon/icon.component.mjs +19 -0
- package/esm2020/components/icon/icon.module.mjs +26 -0
- package/esm2020/components/notification/notification/notification.component.mjs +69 -0
- package/{esm2015/components/notification/notification/notification.model.js → esm2020/components/notification/notification/notification.model.mjs} +0 -0
- package/esm2020/components/notification/notification-container/notification-container.component.mjs +86 -0
- package/{esm2015/components/notification/notification-timer.service.js → esm2020/components/notification/notification-timer.service.mjs} +0 -0
- package/esm2020/components/notification/notification.module.mjs +56 -0
- package/{esm2015/components/notification/notification.service.js → esm2020/components/notification/notification.service.mjs} +9 -7
- package/esm2020/components/popover/popover-trigger.component.mjs +56 -0
- package/esm2020/components/popover/popover-trigger.directive.mjs +133 -0
- package/esm2020/components/popover/popover.component.mjs +29 -0
- package/esm2020/components/popover/popover.module.mjs +46 -0
- package/esm2020/components/shared/pipes/pipes.module.mjs +36 -0
- package/esm2020/components/shared/pipes/translate.pipe.mjs +39 -0
- package/esm2020/components/shared/pipes/trusthtml.pipe.mjs +21 -0
- package/esm2020/components/shared/translation.service.mjs +25 -0
- package/esm2020/components/table/table.component.mjs +179 -0
- package/esm2020/components/table/table.module.mjs +56 -0
- package/esm2020/elements/elements.mjs +61 -0
- package/{esm2015/elements/flywheel-io-vision-elements.js → esm2020/elements/flywheel-io-vision-elements.mjs} +0 -0
- package/{esm2015/elements/polyfills.js → esm2020/elements/polyfills.mjs} +0 -0
- package/{esm2015/elements/public-api.js → esm2020/elements/public-api.mjs} +0 -0
- package/esm2020/flywheel-io-vision.mjs +5 -0
- package/esm2020/public-api.mjs +25 -0
- package/fesm2015/{flywheel-io-vision-elements.js → flywheel-io-vision-elements.mjs} +19 -14
- package/fesm2015/flywheel-io-vision-elements.mjs.map +1 -0
- package/fesm2015/flywheel-io-vision.mjs +1402 -0
- package/fesm2015/flywheel-io-vision.mjs.map +1 -0
- package/fesm2020/flywheel-io-vision-elements.mjs +85 -0
- package/fesm2020/flywheel-io-vision-elements.mjs.map +1 -0
- package/fesm2020/flywheel-io-vision.mjs +1392 -0
- package/fesm2020/flywheel-io-vision.mjs.map +1 -0
- package/flywheel-io-vision.d.ts +1 -4
- package/package.json +43 -19
- package/public-api.d.ts +2 -0
- package/scss/atoms/ghost.scss +30 -0
- package/scss/config/theme.scss +6 -6
- package/scss/icons/_icon-font-face.scss +5 -6
- package/scss/icons/_icon-glyphs.scss +96 -16
- package/scss/material/overrides.scss +6 -1
- package/styles.css +274 -202
- package/styles.scss +8 -9
- package/assets/fonts/flywheel.svg +0 -101
- package/assets/fonts/flywheel.woff +0 -0
- package/bundles/flywheel-io-vision-elements.umd.js +0 -425
- package/bundles/flywheel-io-vision-elements.umd.js.map +0 -1
- 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.js +0 -1578
- package/bundles/flywheel-io-vision.umd.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/esm2015/components/button/button.component.js +0 -29
- package/esm2015/components/button/button.module.js +0 -24
- package/esm2015/components/button-group/button-group.component.js +0 -27
- package/esm2015/components/button-group/button-group.module.js +0 -18
- package/esm2015/components/dialog/choice-dialog.component.js +0 -52
- package/esm2015/components/dialog/confirm-dialog.component.js +0 -40
- package/esm2015/components/dialog/dialog.service.js +0 -69
- package/esm2015/components/dialog/error-dialog.component.js +0 -32
- package/esm2015/components/dialog/portal-dialog.component.js +0 -88
- package/esm2015/components/notification/notification/notification.component.js +0 -73
- package/esm2015/components/notification/notification-container/notification-container.component.js +0 -89
- package/esm2015/components/notification/notification.module.js +0 -37
- package/esm2015/components/popover/popover-trigger.component.js +0 -49
- package/esm2015/components/popover/popover-trigger.directive.js +0 -134
- package/esm2015/components/popover/popover.component.js +0 -23
- package/esm2015/components/popover/popover.module.js +0 -33
- package/esm2015/components/shared/pipes/pipes.module.js +0 -24
- package/esm2015/components/shared/pipes/translate.pipe.js +0 -40
- package/esm2015/components/shared/pipes/trusthtml.pipe.js +0 -20
- package/esm2015/components/shared/translation.service.js +0 -22
- package/esm2015/components/table/table.component.js +0 -165
- package/esm2015/components/table/table.module.js +0 -35
- package/esm2015/elements/elements.js +0 -56
- package/esm2015/flywheel-io-vision.js +0 -9
- package/esm2015/public-api.js +0 -23
- package/fesm2015/flywheel-io-vision-elements.js.map +0 -1
- package/fesm2015/flywheel-io-vision.js +0 -1168
- package/fesm2015/flywheel-io-vision.js.map +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
|
-
```
|