Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/tedi/components/buttons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ export * from "./button/button.component";
export * from "./button-group";
export * from "./card-button";
export * from "./info-button/info-button.component";
export * from "./collapse/collapse.component";
export * from "./collapse-button/collapse-button.component";
export * from "./closing-button/closing-button.component";
export * from "./floating-button";
Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/content/accordion/accordion.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { TextComponent } from "../../base/text/text.component";
import { ButtonComponent } from "../../buttons/button/button.component";
import { StatusBadgeComponent } from "../../tags/status-badge/status-badge.component";
import { CheckboxComponent } from "../../form/checkbox/checkbox.component";
import { LabelComponent } from "../../form/label/label.component";
import { LabelComponent } from "../label/label.component";
import { FormFieldComponent } from "../../form/form-field/form-field.component";
import { TextFieldComponent } from "../../form/text-field/text-field.component";
import { SeparatorComponent } from "../../helpers/separator/separator.component";
Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/content/card/card.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { IconComponent } from "../../base/icon/icon.component";
import { AlertComponent } from "../../notifications/alert/alert.component";
import { ButtonComponent } from "../../buttons/button/button.component";
import { InfoButtonComponent } from "../../buttons/info-button/info-button.component";
import { CollapseComponent } from "../../buttons/collapse/collapse.component";
import { CollapseComponent } from "../collapse/collapse.component";
import { LinkComponent } from "../../navigation/link/link.component";
import { StatusBadgeComponent } from "../../tags/status-badge/status-badge.component";
import { SeparatorComponent } from "../../helpers/separator/separator.component";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
CollapseButtonComponent,
type CollapseButtonArrowType,
type CollapseButtonSize,
} from "../collapse-button/collapse-button.component";
} from "../../buttons/collapse-button/collapse-button.component";
import { generateUUID } from "../../../helpers/generate-uuid";

export type ArrowType = CollapseButtonArrowType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { CollapseComponent } from "./collapse.component";
*/

export default {
title: "TEDI Ready/Components/Buttons/Collapse",
title: "TEDI-Ready/Content/Collapse",
component: CollapseComponent,
args: {
defaultOpen: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { LinkComponent } from "../../navigation/link/link.component";
* <a href="https://www.tedi.ee/1ee8444b7/p/6792c3-empty-state" target="_BLANK">Zeroheight ↗</a>
*/
export default {
title: "TEDI-Ready/Components/Helpers/EmptyState",
title: "TEDI-Ready/Content/EmptyState",
component: EmptyStateComponent,
decorators: [
moduleMetadata({
Expand Down
3 changes: 3 additions & 0 deletions src/tedi/components/content/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
export * from "./accordion";
export * from "./card";
export * from "./collapse/collapse.component";
export * from "./empty-state";
export * from "./heading-with-icon";
export * from "./label/label.component";
export * from "./list/list.component";
export * from "./text-group/";
export * from "./carousel";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Component } from "@angular/core";
import { ComponentFixture, TestBed } from "@angular/core/testing";
import { LabelComponent } from "./label.component";
import { FormFieldComponent } from "../form-field/form-field.component";
import { TextFieldComponent } from "../text-field/text-field.component";
import { FormFieldComponent } from "../../form/form-field/form-field.component";
import { TextFieldComponent } from "../../form/text-field/text-field.component";
import { TEDI_TRANSLATION_DEFAULT_TOKEN } from "../../../tokens/translation.token";

describe("LabelComponent", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
ViewEncapsulation,
} from "@angular/core";
import { TediTranslationPipe } from "../../../services";
import { TEDI_FIELD_CONTEXT } from "../form-field/field-context.token";
import { TEDI_FIELD_CONTEXT } from "../../form/form-field/field-context.token";

export type LabelSize = "small" | "default";
export type LabelColor = "primary" | "secondary";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ import {
StoryObj,
} from "@storybook/angular";
import { LabelComponent } from "./label.component";
import { LabelRowComponent } from "../label-row/label-row.component";
import { LabelRowComponent } from "../../form/label-row/label-row.component";
import { RowComponent } from "../../helpers/grid/row/row.component";
import { ColComponent } from "../../helpers/grid/col/col.component";
import { InfoTooltipComponent } from "../../overlay/info-tooltip/info-tooltip.component";
import { TextFieldComponent } from "../text-field/text-field.component";
import { TextFieldComponent } from "../../form/text-field/text-field.component";

/**
* <a href="https://www.figma.com/design/jWiRIXhHRxwVdMSimKX2FF/TEDI-READY-(work-in-progress)?node-id=2137-19322&m=dev" target="_blank">Figma ↗</a><br />
* <a href="https://www.tedi.ee/1ee8444b7/p/64479c-label" target="_blank">Zeroheight ↗</a>
*/

export default {
title: "TEDI-Ready/Components/Form/Label",
title: "TEDI-Ready/Content/Label",
component: LabelComponent,
decorators: [
moduleMetadata({
Expand Down
4 changes: 2 additions & 2 deletions src/tedi/components/content/table/table.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { LinkComponent } from "../../navigation/link/link.component";
import { InfoButtonComponent } from "../../buttons/info-button/info-button.component";
import { FormFieldComponent } from "../../form/form-field/form-field.component";
import { TextFieldComponent } from "../../form/text-field/text-field.component";
import { LabelComponent } from "../../form/label/label.component";
import { LabelComponent } from "../label/label.component";
import { DateFieldComponent } from "../../form/date-field/date-field.component";
import { CheckboxComponent } from "../../form/checkbox/checkbox.component";
import {
Expand All @@ -60,7 +60,7 @@ import { DropdownComponent } from "../../overlay/dropdown/dropdown.component";
import { DropdownContentComponent } from "../../overlay/dropdown/dropdown-content/dropdown-content.component";
import { DropdownItemComponent } from "../../overlay/dropdown/dropdown-item/dropdown-item.component";
import { DropdownTriggerDirective } from "../../overlay/dropdown/dropdown-trigger/dropdown-trigger.directive";
import { EmptyStateComponent } from "../../helpers/empty-state/empty-state.component";
import { EmptyStateComponent } from "../empty-state/empty-state.component";
import {
BreakpointService,
type Breakpoint,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
BreakpointInputs,
BreakpointService,
} from "../../../services/breakpoint/breakpoint.service";
import { LabelComponent } from "../../../components/form";
import { LabelComponent } from "../label/label.component";

export type TextGroupType = "vertical" | "horizontal";

Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/filter/filter.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { TextComponent } from "../base/text/text.component";
import { IconComponent } from "../base/icon/icon.component";
import { RadioComponent } from "../form/radio/radio.component";
import { RadioGroupComponent } from "../form/radio-group/radio-group.component";
import { LabelComponent } from "../form/label/label.component";
import { LabelComponent } from "../content/label/label.component";

/**
* <a href="https://www.figma.com/design/jWiRIXhHRxwVdMSimKX2FF/TEDI-READY-2.45.70?node-id=4612-83722&m=dev" target="_blank">Figma ↗</a><br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import { CheckboxComponent } from "../checkbox/checkbox.component";
import { CheckboxCardComponent } from "../checkbox-card/checkbox-card.component";
import { CheckboxCardGroupComponent } from "../checkbox-card-group/checkbox-card-group.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";

@Component({
Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/form/checkbox/checkbox.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { CheckboxCardGroupComponent } from "../checkbox-card-group/checkbox-card
import { RowComponent } from "../../helpers/grid/row/row.component";
import { ColComponent } from "../../helpers/grid/col/col.component";
import { TextComponent } from "../../base/text/text.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { IconComponent } from "../../base/icon/icon.component";
import { TooltipComponent } from "../../overlay/tooltip/tooltip.component";
import { TooltipTriggerComponent } from "../../overlay/tooltip/tooltip-trigger/tooltip-trigger.component";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { By } from "@angular/platform-browser";
import { DateFieldComponent } from "./date-field.component";
import { TextFieldComponent } from "../text-field/text-field.component";
import { FormFieldComponent } from "../form-field/form-field.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { DateRange } from "../../content/calendar/types";
import { TediTranslationService } from "../../../services/translation/translation.service";
Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/form/date-field/date-field.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from "@angular/forms";
import { DateFieldComponent } from "./date-field.component";
import { FormFieldComponent } from "../form-field/form-field.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { ButtonComponent } from "../../buttons/button/button.component";
import { IconComponent } from "../../base/icon/icon.component";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { FormControl, ReactiveFormsModule } from "@angular/forms";
import { DatePickerComponent } from "./date-picker.component";
import { AlertComponent } from "../../notifications/alert/alert.component";
import { TextComponent } from "../../base/text/text.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";

/**
* <a href="https://www.figma.com/design/jWiRIXhHRxwVdMSimKX2FF/TEDI-READY-2.23.39?node-id=9938-87564&m=dev" target="_blank">Figma ↗</a><br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from "./form-field-control";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { TextareaComponent } from "../textarea/textarea.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { LabelRowComponent } from "../label-row/label-row.component";
import { FormFieldExtraDirective } from "./form-field-extra.directive";
import { TEDI_TRANSLATION_DEFAULT_TOKEN } from "../../../tokens/translation.token";
Expand Down
1 change: 0 additions & 1 deletion src/tedi/components/form/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export * from "./radio-card-group/radio-card-group.component";
export * from "./date-field";
export * from "./date-picker/date-picker.component";
export * from "./feedback-text/feedback-text.component";
export * from "./label/label.component";
export * from "./label-row";
export * from "./number-field/number-field.component";
export * from "./search";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { InputGroupPrefixDirective } from "./input-group-prefix.directive";
import { InputGroupSuffixDirective } from "./input-group-suffix.directive";
import { FormFieldComponent } from "../form-field/form-field.component";
import { TextFieldComponent } from "../text-field/text-field.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { LabelRowComponent } from "../label-row/label-row.component";
import { TEDI_TRANSLATION_DEFAULT_TOKEN } from "../../../tokens/translation.token";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { TextFieldComponent } from "../text-field/text-field.component";
import { SelectComponent } from "../select/select.component";
import { DateFieldComponent } from "../date-field/date-field.component";
import { TimeFieldComponent } from "../time-field/time-field.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { ButtonComponent } from "../../buttons/button/button.component";
import { IconComponent } from "../../base/icon/icon.component";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from "@angular/core";
import { ComponentFixture, TestBed } from "@angular/core/testing";
import { OverlayContainer } from "@angular/cdk/overlay";
import { LabelRowComponent } from "./label-row.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { InfoTooltipComponent } from "../../overlay/info-tooltip/info-tooltip.component";
import { TediTranslationService } from "../../../services";
import { TEDI_TRANSLATION_DEFAULT_TOKEN } from "../../../tokens/translation.token";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ComponentFixture, TestBed } from "@angular/core/testing";
import { LiveAnnouncer } from "@angular/cdk/a11y";
import { NumberFieldComponent } from "./number-field.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { ButtonComponent } from "../../buttons/button/button.component";
import { IconComponent } from "../../base/icon/icon.component";
import { TextComponent } from "../../base/text/text.component";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { TediTranslationService } from "../../../services/translation/translatio
import { ComponentInputs } from "../../../types/inputs.type";
import { IconComponent } from "../../base/icon/icon.component";
import { TextComponent } from "../../base/text/text.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from "@angular/forms";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from "@storybook/angular";
import { NumberFieldComponent } from "./number-field.component";
import { RowComponent } from "../../helpers/grid/row/row.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import { RadioComponent } from "../radio/radio.component";
import { RadioCardComponent } from "../radio-card/radio-card.component";
import { RadioCardGroupComponent } from "../radio-card-group/radio-card-group.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";

@Component({
Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/form/radio/radio.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { RadioCardGroupComponent } from "../radio-card-group/radio-card-group.co
import { RowComponent } from "../../helpers/grid/row/row.component";
import { ColComponent } from "../../helpers/grid/col/col.component";
import { TextComponent } from "../../base/text/text.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { IconComponent } from "../../base/icon/icon.component";
import { TooltipComponent } from "../../overlay/tooltip/tooltip.component";
import { TooltipTriggerComponent } from "../../overlay/tooltip/tooltip-trigger/tooltip-trigger.component";
Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/form/search/search.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { SearchComponent } from "./search.component";
import { SearchFooterTemplateDirective } from "./search-templates.directive";
import { FormFieldComponent } from "../form-field/form-field.component";
import { TextFieldComponent } from "../text-field/text-field.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { ButtonComponent } from "../../buttons/button/button.component";
import { IconComponent } from "../../base/icon/icon.component";
Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/form/search/search.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import {
InputSize,
} from "../form-field/form-field.component";
import { TextFieldComponent } from "../text-field/text-field.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { SearchSuggestionComponent } from "./search-suggestion.component";
import {
Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/form/select/select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import { TediTranslationPipe } from "../../../services";
import { ComponentInputs } from "../../../types";
import { calculateVisibleTagCount } from "../../../utils/tag-overflow.util";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { LabelRowComponent } from "../label-row/label-row.component";
import { TagComponent, TagEllipsis } from "../../tags/tag/tag.component";
import { EllipsisComponent, EllipsisPosition } from "../../helpers/ellipsis";
Expand Down
5 changes: 4 additions & 1 deletion src/tedi/components/form/slider/slider.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import {
ViewEncapsulation,
} from "@angular/core";
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from "@angular/forms";
import { LabelComponent, LabelVisuallyHidden } from "../label/label.component";
import {
LabelComponent,
LabelVisuallyHidden,
} from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { ComponentInputs } from "../../../types/inputs.type";
import { TooltipComponent } from "../../overlay/tooltip/tooltip.component";
Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/form/text-field/text-field.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { ColComponent } from "../../helpers/grid/col/col.component";
import { RowComponent } from "../../helpers/grid/row/row.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { TextComponent } from "../../base/text/text.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { LabelRowComponent } from "../label-row/label-row.component";
import { InfoTooltipComponent } from "../../overlay/info-tooltip/info-tooltip.component";

Expand Down
2 changes: 1 addition & 1 deletion src/tedi/components/form/textarea/textarea.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { ColComponent } from "../../helpers/grid/col/col.component";
import { RowComponent } from "../../helpers/grid/row/row.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { TextComponent } from "../../base/text/text.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { AlertComponent } from "../../notifications/alert/alert.component";

const PSEUDO_STATE = ["Default", "Hover", "Active", "Disabled", "Focus"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Component, signal } from "@angular/core";
import { FormControl, ReactiveFormsModule } from "@angular/forms";
import { TimeFieldComponent } from "./time-field.component";
import { FormFieldComponent } from "../form-field/form-field.component";
import { LabelComponent } from "../label/label.component";
import { LabelComponent } from "../../content/label/label.component";
import { FeedbackTextComponent } from "../feedback-text/feedback-text.component";
import { TEDI_TRANSLATION_DEFAULT_TOKEN } from "../../../tokens/translation.token";
import { BreakpointService } from "../../../services/breakpoint/breakpoint.service";
Expand Down
Loading
Loading