@onemrvapublic/design-system-demos 21.3.0-develop.1 → 21.4.0-develop.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.
- package/3rdpartylicenses.txt +3 -3
- package/assets/json/card-new.json +1 -1
- package/main.js +5 -5
- package/package.json +1 -1
- package/styles.css +1 -1
package/3rdpartylicenses.txt
CHANGED
|
@@ -27,7 +27,7 @@ THE SOFTWARE.
|
|
|
27
27
|
MIT
|
|
28
28
|
The MIT License
|
|
29
29
|
|
|
30
|
-
Copyright (c)
|
|
30
|
+
Copyright (c) 2026 Google LLC.
|
|
31
31
|
|
|
32
32
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
33
33
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -152,7 +152,7 @@ THE SOFTWARE.
|
|
|
152
152
|
MIT
|
|
153
153
|
The MIT License
|
|
154
154
|
|
|
155
|
-
Copyright (c)
|
|
155
|
+
Copyright (c) 2026 Google LLC.
|
|
156
156
|
|
|
157
157
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
158
158
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -177,7 +177,7 @@ THE SOFTWARE.
|
|
|
177
177
|
MIT
|
|
178
178
|
The MIT License
|
|
179
179
|
|
|
180
|
-
Copyright (c)
|
|
180
|
+
Copyright (c) 2026 Google LLC.
|
|
181
181
|
|
|
182
182
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
183
183
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"demo-card-new.component.html":"<onemrva-card\n [type]=\"type()\"\n [image]=\"image()\"\n imageSrc=\"/assets/images/actionmenu-thumbnail.png\"\n imageAlt=\"Card thumbnail\"\n label=\"Sep 15, 2025\"\n title=\"Action menu\"\n subtitle=\"Sep 15, 2025\"\n [description]=\"\n showDescription()\n ? 'Short description of the component on one or two lines and cut it off w...'\n : ''\n \"\n [helpText]=\"helpText()\"\n [coloredTitle]=\"coloredTitleValue\"\n>\n @if (showActions()) {\n <div cardActions>\n <button mat-flat-button color=\"accent\" aria-label=\"Action\">Button</button>\n <button mat-icon-button aria-label=\"Duplicate\" style=\"margin-left: 10px\">\n <mat-icon>content_copy</mat-icon>\n </button>\n </div>\n }\n</onemrva-card>\n","demo-card-new.component.ts":"import { Component, input, ViewEncapsulation } from '@angular/core';\nimport { OnemrvaCardComponent } from '@onemrvapublic/design-system/card';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DemoComponentBase } from '../../_demo/demo-component-base';\n\n@Component({\n selector: 'app-demo-card-new',\n templateUrl: './demo-card-new.component.html',\n standalone: true,\n imports: [OnemrvaCardComponent, MatButtonModule, MatIconModule],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DemoCardNewComponent extends DemoComponentBase {\n readonly type = input<'no-background' | 'outline' | 'background'>(\n 'no-background',\n );\n readonly image = input(true);\n readonly helpText = input('More information about this component');\n readonly coloredTitle = input<'auto' | 'true' | 'false'>('auto');\n readonly showActions = input(true);\n readonly showDescription = input(true);\n\n get coloredTitleValue(): boolean | undefined {\n const v = this.coloredTitle();\n if (v === 'true') return true;\n if (v === 'false') return false;\n return undefined;\n }\n}\n"}
|
|
1
|
+
{"demo-card-new.component.html":"<onemrva-card\n [type]=\"type()\"\n [image]=\"image()\"\n width=\"275px\"\n imageSrc=\"/assets/images/actionmenu-thumbnail.png\"\n imageAlt=\"Card thumbnail\"\n label=\"Sep 15, 2025\"\n title=\"Action menu\"\n subtitle=\"Sep 15, 2025\"\n [description]=\"\n showDescription()\n ? 'Short description of the component on one or two lines and cut it off w...'\n : ''\n \"\n [helpText]=\"helpText()\"\n [coloredTitle]=\"coloredTitleValue\"\n>\n @if (showActions()) {\n <div cardActions>\n <button mat-flat-button color=\"accent\" aria-label=\"Action\">Button</button>\n <button mat-icon-button aria-label=\"Duplicate\" style=\"margin-left: 10px\">\n <mat-icon>content_copy</mat-icon>\n </button>\n </div>\n }\n</onemrva-card>\n","demo-card-new.component.ts":"import { Component, input, ViewEncapsulation } from '@angular/core';\nimport { OnemrvaCardComponent } from '@onemrvapublic/design-system/card';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DemoComponentBase } from '../../_demo/demo-component-base';\n\n@Component({\n selector: 'app-demo-card-new',\n templateUrl: './demo-card-new.component.html',\n standalone: true,\n imports: [OnemrvaCardComponent, MatButtonModule, MatIconModule],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DemoCardNewComponent extends DemoComponentBase {\n readonly type = input<'no-background' | 'outline' | 'background'>(\n 'no-background',\n );\n readonly image = input(true);\n readonly helpText = input('More information about this component');\n readonly coloredTitle = input<'auto' | 'true' | 'false'>('auto');\n readonly showActions = input(true);\n readonly showDescription = input(true);\n\n get coloredTitleValue(): boolean | undefined {\n const v = this.coloredTitle();\n if (v === 'true') return true;\n if (v === 'false') return false;\n return undefined;\n }\n}\n"}
|