@tedi-design-system/angular 6.1.0-rc.2 → 6.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 TEDI Design System
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.
@@ -0,0 +1,2 @@
1
+ export * from "./progress-bar";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../community/components/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./progress-bar.component";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../community/components/helpers/progress-bar/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { ComponentInputs, FeedbackTextComponent } from "@tedi-design-system/angular/tedi";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ProgressBarComponent {
4
+ progressId: import("@angular/core").InputSignal<string | undefined>;
5
+ value: import("@angular/core").InputSignal<number>;
6
+ direction: import("@angular/core").InputSignal<"horizontal" | "vertical">;
7
+ small: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
8
+ feedbackText: import("@angular/core").InputSignal<ComponentInputs<FeedbackTextComponent> | undefined>;
9
+ feedbackTextId: import("@angular/core").Signal<string | undefined>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "tedi-progress-bar", never, { "progressId": { "alias": "progressId"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "small": { "alias": "small"; "required": false; "isSignal": true; }; "feedbackText": { "alias": "feedbackText"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
12
+ }
13
+ //# sourceMappingURL=progress-bar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-bar.component.d.ts","sourceRoot":"","sources":["../../../../../community/components/helpers/progress-bar/progress-bar.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAgC,MAAM,kCAAkC,CAAC;;AAExH,qBAaa,oBAAoB;IAC/B,UAAU,0DAAmB;IAC7B,KAAK,8CAAoB;IACzB,SAAS,iEAAkD;IAC3D,KAAK,qEAAiD;IACtD,YAAY,0FAAmD;IAE/D,cAAc,qDAKX;yCAZQ,oBAAoB;2CAApB,oBAAoB;CAahC"}
@@ -5,4 +5,5 @@ export * from "./components/navigation";
5
5
  export * from "./components/overlay";
6
6
  export * from "./components/tags";
7
7
  export * from "./components/table";
8
+ export * from "./components/helpers";
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../community/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../community/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC"}
@@ -3290,9 +3290,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
3290
3290
  }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"tedi-table-scroll\" cdkScrollable>\n <ng-content />\n</div>\n<ng-content select=\"tedi-pagination, [tedi-table-pagination]\" />\n", styles: [".tedi-table-styles{--_table-bg: var(--table-default);--_table-border: var(--table-border);--_table-contrast-border: var(--table-border-th);--_table-stripe: var(--table-striped);--_table-hover: var(--table-hover);--_table-color: var(--general-text-primary);--_table-header-color: var(--general-text-tertiary);--_table-radius: var(--table-radius);--_table-header-padding-y: var(--table-header-padding-y);--_table-header-padding-x: var(--table-header-padding-x);--_table-data-padding-y: var(--table-data-padding-y);--_table-data-padding-x: var(--table-data-padding-x);display:block;background:var(--_table-bg);border-radius:var(--_table-radius);border:1px solid var(--_table-border);overflow:hidden}.tedi-table-styles table{border-collapse:collapse;border-spacing:0;vertical-align:middle;width:100%;position:relative}.tedi-table-styles th,.tedi-table-styles td{text-align:left;font-family:var(--family-default);font-weight:var(--body-regular-weight);font-size:var(--body-regular-size);line-height:var(--body-regular-line-height)}.tedi-table-styles th{padding:var(--_table-header-padding-y) var(--_table-header-padding-x);border-bottom:1px solid var(--_table-contrast-border);color:var(--_table-header-color)}.tedi-table-styles td{padding:var(--_table-data-padding-y) var(--_table-data-padding-x);border-bottom:1px solid var(--_table-border);color:var(--_table-color)}.tedi-table-styles tr:last-child td{border-bottom:none}.tedi-table-styles .tedi-cell--align-center{text-align:center}.tedi-table-styles .tedi-cell--align-right{text-align:right}.tedi-table-styles .tedi-row--secondary{background-color:var(--_table-stripe)}.tedi-table-styles .tedi-table-scroll{overflow-x:auto}.tedi-table-styles--striped tbody tr:nth-child(2n){background-color:var(--_table-stripe)}.tedi-table-styles--clickable tbody tr:hover{cursor:pointer;background-color:var(--_table-hover)}.tedi-table-styles--vertical-borders :is(th,td):not(:last-child){border-right:1px solid var(--_table-border)}.tedi-table-styles--sm{--_table-header-padding-y: var(--table-header-padding-y-sm) --_table-header-padding-x: var(--table-header-padding-x-sm);--_table-data-padding-y: var(--table-data-padding-y-sm);--_table-data-padding-x: var(--table-data-padding-x-sm)}\n"] }]
3291
3291
  }] });
3292
3292
 
3293
+ class ProgressBarComponent {
3294
+ progressId = input();
3295
+ value = input(0);
3296
+ direction = input("horizontal");
3297
+ small = input(false, { transform: booleanAttribute });
3298
+ feedbackText = input();
3299
+ feedbackTextId = computed(() => {
3300
+ if (this.feedbackText()) {
3301
+ return generateUUID();
3302
+ }
3303
+ return;
3304
+ });
3305
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3306
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: ProgressBarComponent, isStandalone: true, selector: "tedi-progress-bar", inputs: { progressId: { classPropertyName: "progressId", publicName: "progressId", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, small: { classPropertyName: "small", publicName: "small", isSignal: true, isRequired: false, transformFunction: null }, feedbackText: { classPropertyName: "feedbackText", publicName: "feedbackText", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.tedi-progress": "true", "class.tedi-progress--small": "small()", "class.tedi-progress--horizontal": "direction() === 'horizontal'" } }, ngImport: i0, template: "<progress\n class=\"tedi-progress__bar\"\n [id]=\"progressId()\"\n [max]=\"100\"\n [value]=\"value()\"\n [attr.aria-describedby]=\"feedbackTextId()\"\n></progress>\n\n<span tedi-label size=\"small\" class=\"tedi-progress__indicator\"\n >{{ value() }}%</span\n>\n\n@if (feedbackText(); as feedback) {\n <tedi-feedback-text\n [attr.id]=\"feedbackTextId()\"\n [text]=\"feedback.text\"\n [type]=\"feedback.type\"\n [position]=\"feedback.position\"\n />\n}\n", styles: [".tedi-progress{--_bar-height: var(--progress-bar-height, 8px);--_bar-radius: var(--progress-bar-radius, 4px);--_bar-background: var(--progress-bar-background-passive, #f9f9f9);--_bar-border: var(--progress-bar-border-default, #838494);--_progress-background: var(--progress-bar-background-active, #005aa3);display:grid;grid-template-areas:\"bar bar\" \". indicator\";grid-template-rows:24px;grid-template-columns:1fr auto;column-gap:var(--layout-grid-gutters-08, 8px)}.tedi-progress__bar{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-area:bar;height:var(--_bar-height);border-radius:var(--_bar-radius);border:1px solid var(--_bar-border);width:100%;align-self:center}.tedi-progress__bar::-webkit-progress-bar{background:var(--_bar-background);border-radius:var(--_bar-radius)}.tedi-progress__bar::-webkit-progress-value{background:var(--_progress-background);border-radius:var(--_bar-radius)}.tedi-progress__bar::-moz-progress-bar{background:var(--_progress-background);border-radius:var(--_bar-radius)}.tedi-progress__indicator{grid-area:indicator}.tedi-progress--small{--_bar-height: var(--progress-bar-height-sm, 4px)}@media (min-width: 576px){.tedi-progress--horizontal{grid-template-areas:\"bar indicator\"}}\n"], dependencies: [{ kind: "component", type: FeedbackTextComponent, selector: "tedi-feedback-text", inputs: ["text", "type", "position"] }, { kind: "component", type: LabelComponent, selector: "[tedi-label]", inputs: ["size", "required", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
3307
+ }
3308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ProgressBarComponent, decorators: [{
3309
+ type: Component,
3310
+ args: [{ selector: "tedi-progress-bar", imports: [FeedbackTextComponent, LabelComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
3311
+ "[class.tedi-progress]": "true",
3312
+ "[class.tedi-progress--small]": "small()",
3313
+ "[class.tedi-progress--horizontal]": "direction() === 'horizontal'",
3314
+ }, template: "<progress\n class=\"tedi-progress__bar\"\n [id]=\"progressId()\"\n [max]=\"100\"\n [value]=\"value()\"\n [attr.aria-describedby]=\"feedbackTextId()\"\n></progress>\n\n<span tedi-label size=\"small\" class=\"tedi-progress__indicator\"\n >{{ value() }}%</span\n>\n\n@if (feedbackText(); as feedback) {\n <tedi-feedback-text\n [attr.id]=\"feedbackTextId()\"\n [text]=\"feedback.text\"\n [type]=\"feedback.type\"\n [position]=\"feedback.position\"\n />\n}\n", styles: [".tedi-progress{--_bar-height: var(--progress-bar-height, 8px);--_bar-radius: var(--progress-bar-radius, 4px);--_bar-background: var(--progress-bar-background-passive, #f9f9f9);--_bar-border: var(--progress-bar-border-default, #838494);--_progress-background: var(--progress-bar-background-active, #005aa3);display:grid;grid-template-areas:\"bar bar\" \". indicator\";grid-template-rows:24px;grid-template-columns:1fr auto;column-gap:var(--layout-grid-gutters-08, 8px)}.tedi-progress__bar{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-area:bar;height:var(--_bar-height);border-radius:var(--_bar-radius);border:1px solid var(--_bar-border);width:100%;align-self:center}.tedi-progress__bar::-webkit-progress-bar{background:var(--_bar-background);border-radius:var(--_bar-radius)}.tedi-progress__bar::-webkit-progress-value{background:var(--_progress-background);border-radius:var(--_bar-radius)}.tedi-progress__bar::-moz-progress-bar{background:var(--_progress-background);border-radius:var(--_bar-radius)}.tedi-progress__indicator{grid-area:indicator}.tedi-progress--small{--_bar-height: var(--progress-bar-height-sm, 4px)}@media (min-width: 576px){.tedi-progress--horizontal{grid-template-areas:\"bar indicator\"}}\n"] }]
3315
+ }] });
3316
+
3293
3317
  /**
3294
3318
  * Generated bundle index. Do not edit.
3295
3319
  */
3296
3320
 
3297
- export { AccordionComponent, AccordionIconComponent, AccordionItemComponent, AccordionItemContentComponent, AccordionItemHeaderComponent, BreadcrumbsComponent, CardColorsDirective, CardComponent, CardContentComponent, CardHeaderComponent, CardPaddingDirective, CardRowComponent, CheckboxCardGroupComponent, CheckboxComponent, CheckboxGroupComponent, ChoiceGroupDirective, DropdownComponent, DropdownItemComponent, DropdownTriggerDirective, FileDropzone, FileDropzoneComponent, FileDropzoneErrorCode, FileSizeStandards, FloatingButtonComponent, FormFieldComponent, IECFileSize, InputComponent, InputGroupComponent, ModalComponent, ModalFooterComponent, ModalHeaderComponent, MultiselectComponent, PaginationComponent, RadioCardGroupComponent, RadioComponent, RadioGroupComponent, SIFileSize, SearchComponent, SelectComponent, SelectOptionComponent, StatusBadgeComponent, TabComponent, TabContentComponent, TableOfContentsComponent, TableOfContentsItemComponent, TableOfContentsNestedWrapperComponent, TableStylesComponent, TabsComponent, TagComponent, TextareaComponent, VerticalStepperComponent, VerticalStepperItemComponent, formatBytes, getDefaultHelpers, modalBreakpoints, roundNumber, specialOptionControls, validateFileSize, validateFileType };
3321
+ export { AccordionComponent, AccordionIconComponent, AccordionItemComponent, AccordionItemContentComponent, AccordionItemHeaderComponent, BreadcrumbsComponent, CardColorsDirective, CardComponent, CardContentComponent, CardHeaderComponent, CardPaddingDirective, CardRowComponent, CheckboxCardGroupComponent, CheckboxComponent, CheckboxGroupComponent, ChoiceGroupDirective, DropdownComponent, DropdownItemComponent, DropdownTriggerDirective, FileDropzone, FileDropzoneComponent, FileDropzoneErrorCode, FileSizeStandards, FloatingButtonComponent, FormFieldComponent, IECFileSize, InputComponent, InputGroupComponent, ModalComponent, ModalFooterComponent, ModalHeaderComponent, MultiselectComponent, PaginationComponent, ProgressBarComponent, RadioCardGroupComponent, RadioComponent, RadioGroupComponent, SIFileSize, SearchComponent, SelectComponent, SelectOptionComponent, StatusBadgeComponent, TabComponent, TabContentComponent, TableOfContentsComponent, TableOfContentsItemComponent, TableOfContentsNestedWrapperComponent, TableStylesComponent, TabsComponent, TagComponent, TextareaComponent, VerticalStepperComponent, VerticalStepperItemComponent, formatBytes, getDefaultHelpers, modalBreakpoints, roundNumber, specialOptionControls, validateFileSize, validateFileType };
3298
3322
  //# sourceMappingURL=tedi-design-system-angular-community.mjs.map