Skip to content

Commit

Permalink
review adjustments #2
Browse files Browse the repository at this point in the history
  • Loading branch information
faselbaum committed Jun 12, 2024
1 parent 56dec16 commit 52c83a3
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 48 deletions.
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/button-group/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import { staticStyles } from './index.css.js';
import { ButtonGroupAlignmentType, ButtonGroupSizesType } from '../../globals/types.js';

import { TAG_NAME } from './renderFunction.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';
import { ThemeType } from '../../foundation/_tokens-generated/index.themes.js';
import { ElementInterface } from '../../utils/lit/element.js';

export class BlrButtonGroup extends LitElementCustom {
static styles = [staticStyles];
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/button-icon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import {
createBlrClickEvent,
createBlrFocusEvent,
} from '../../globals/events.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export type BlrButtonIconEventHandlers = {
blrFocus?: (event: BlrFocusEvent) => void;
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/button-text/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ import {
createBlrClickEvent,
createBlrFocusEvent,
} from '../../globals/events.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export type BlrButtonTextEventHandlers = {
blrFocus?: (event: BlrFocusEvent) => void;
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/checkbox/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import {
createBlrBlurEvent,
createBlrFocusEvent,
} from '../../globals/events.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export type BlrCheckboxEventHandlers = {
blrFocus?: (event: BlrFocusEvent) => void;
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/counter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { CounterVariantType, FormSizesType } from '../../globals/types.js';
import { ThemeType } from '../../foundation/_tokens-generated/index.themes.js';
import { staticStyles } from './index.css.js';
import { TAG_NAME } from './renderFunction.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export class BlrCounter extends LitElementCustom {
static styles = [staticStyles];
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/divider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { staticStyles } from './index.css.js';
import { TAG_NAME } from './renderFunction.js';
import { ThemeType } from '../../foundation/_tokens-generated/index.themes.js';
import { DividerVariationTypes } from '../../globals/types.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export class BlrDivider extends LitElementCustom {
static styles = [staticStyles];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import { classMap } from 'lit/directives/class-map.js';
import { staticStyles } from './index.css.js';

import { TAG_NAME } from './renderFunction.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';
import { ThemeType } from '../../foundation/_tokens-generated/index.themes.js';
import { ElementInterface } from '../../utils/lit/element.js';

export class BlrFormCaptionGroup extends LitElementCustom {
static styles = [staticStyles];
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/form-caption/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import { CaptionVariantType, FormSizesType, SizesType } from '../../globals/type
import { calculateIconName } from '../../utils/calculate-icon-name.js';
import { getComponentConfigToken } from '../../utils/get-component-config-token.js';
import { BlrIconRenderFunction } from '../icon/renderFunction.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export class BlrFormCaption extends LitElementCustom {
static styles = [staticStyles];
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/form-label/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { property } from '../../utils/lit/decorators.js';
import { ThemeType } from '../../foundation/_tokens-generated/index.themes.js';
import { staticStyles as staticFormStyles } from '../../foundation/semantic-tokens/form.css.js';
import { InputSizesType } from '../../globals/types.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export class BlrFormLabel extends LitElementCustom {
static styles = [];
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/icon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import { unsafeSVG } from 'lit/directives/unsafe-svg.js';
import { TAG_NAME } from './renderFunction.js';
import { ThemeType } from '../../foundation/_tokens-generated/index.themes.js';
import { BlrClickEvent, createBlrClickEvent } from '../../globals/events.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export type BlrIconEventHandlers = {
blrClick?: (event: BlrClickEvent) => void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ import {
createBlrNumberValueChangeEvent,
createBlrSelectEvent,
} from '../../globals/events.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export type BlrNumberInputEventListeners = {
blrFocus?: (event: BlrFocusEvent) => void;
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/input-field-text/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ import {
createBlrSelectEvent,
createBlrTextValueChangeEvent,
} from '../../globals/events.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';
import { BlrIconEventHandlers } from '../icon/index.js';
import { ElementInterface } from '../../utils/lit/element.js';

export type BlrInputFieldTextEventHandlers = {
blrFocus?: (event: BlrFocusEvent) => void;
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/loader/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { staticStyles } from './index.css.js';
import { TAG_NAME } from './renderFunction.js';
import { ThemeType } from '../../foundation/_tokens-generated/index.themes.js';
import { ActionSizesType, FeedbackVariantType } from '../../globals/types.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export class BlrLoader extends LitElementCustom {
static styles = [staticStyles];
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/radio-group/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ import { BlrFormCaptionGroupRenderFunction } from '../form-caption-group/renderF
import { BlrFormCaptionRenderFunction } from '../form-caption/renderFunction.js';
import { BlrFormLabelInlineRenderFunction } from '../form-label/form-label-inline/renderFunction.js';
import { TAG_NAME } from './renderFunction.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export class BlrRadioGroup extends LitElementCustom {
static styles = [staticFormStyles, staticRadioStyles, componentSpecificStaticStyles];
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/radio/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import { BlrFormCaptionGroupRenderFunction } from '../form-caption-group/renderF
import { BlrFormCaptionRenderFunction } from '../form-caption/renderFunction.js';
import { BlrFormLabelInlineRenderFunction } from '../form-label/form-label-inline/renderFunction.js';
import { createBlrBlurEvent, createBlrFocusEvent, createBlrSelectedValueChangeEvent } from '../../globals/events.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export class BlrRadio extends LitElementCustom {
static styles = [staticFormStyles, staticRadioStyles];
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/select/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ import {
createBlrSelectedValueChangeEvent,
} from '../../globals/events.js';

import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export type BlrSelectEventHandlers = {
blrSelectedValueChange?: (event: BlrSelectedValueChangeEvent) => void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import { staticStyles as staticSharedStyles } from '../../../foundation/componen
import { FormSizesType, ActionVariantType, RenderBtnProps } from '../../../globals/types.js';
import { setOnclickValue, findToolTipPosition } from '../../../utils/range-slider-utils.js';
import { BlrButtonIconRenderFunction } from '../../button-icon/renderFunction.js';
import { LitElementCustom } from '../../../utils/lit/element.js';
import { ElementInterface } from '../../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../../utils/lit/element.js';

export class BlrRangeLegendSlider extends LitElementCustom {
static styles = [staticSharedStyles, staticStyles];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import {
findNearestValue,
} from '../../../utils/range-slider-utils.js';
import { BlrButtonIconRenderFunction } from '../../button-icon/renderFunction.js';
import { LitElementCustom } from '../../../utils/lit/element.js';
import { ElementInterface } from '../../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../../utils/lit/element.js';

export class BlrRangeSlider extends LitElementCustom {
static styles = [staticSharedStyles, staticStyles];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import { staticStyles as staticSharedStyles } from '../../../foundation/componen
import { FormSizesType, ActionVariantType, RenderBtnProps } from '../../../globals/types.js';
import { setOnclickValue, findToolTipPosition } from '../../../utils/range-slider-utils.js';
import { BlrButtonIconRenderFunction } from '../../button-icon/renderFunction.js';
import { LitElementCustom } from '../../../utils/lit/element.js';
import { ElementInterface } from '../../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../../utils/lit/element.js';

export class BlrRangeLegendMinMaxSlider extends LitElementCustom {
static styles = [staticSharedStyles, staticStyles];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import {
setOnclickValue,
} from '../../../utils/range-slider-utils.js';
import { BlrButtonIconRenderFunction } from '../../button-icon/renderFunction.js';
import { LitElementCustom } from '../../../utils/lit/element.js';
import { ElementInterface } from '../../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../../utils/lit/element.js';

export class BlrRangeMinMaxSlider extends LitElementCustom {
static styles = [staticSharedStyles, staticStyles];
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/tab-bar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ import { getComponentConfigToken } from '../../utils/get-component-config-token.
import { BlrDividerRenderFunction } from '../divider/renderFunction.js';
import { BlrIconRenderFunction } from '../icon/renderFunction.js';
import { createBlrBlurEvent, createBlrChangeEvent, createBlrFocusEvent } from '../../globals/events.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export class BlrTabBar extends LitElementCustom {
static styles = [staticStyles, staticActionStyles];
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/textarea/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ import {
createBlrSelectEvent,
createBlrTextValueChangeEvent,
} from '../../globals/events.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export type BlrTextareaEventHandlers = {
blrFocus?: (event: BlrFocusEvent) => void;
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/toggle-switch/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import {
createBlrCheckedChangeEvent,
createBlrFocusEvent,
} from '../../globals/events.js';
import { LitElementCustom } from '../../utils/lit/element.js';
import { ElementInterface } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';

export type BlrToggleSwitchEventHandlers = {
blrFocus?: (event: BlrFocusEvent) => void;
Expand Down
3 changes: 1 addition & 2 deletions packages/ui-library/src/components/tooltip/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import { tooltipPosition } from './tooltip-position.js';
import { staticStyles } from './index.css.js';
import { TAG_NAME } from './renderFunction.js';

import { LitElementCustom } from '../../utils/lit/element.js';
import { LitElementCustom, ElementInterface } from '../../utils/lit/element.js';
import { ThemeType } from '../../foundation/_tokens-generated/index.themes.js';
import { ElementInterface } from '../../utils/lit/element.js';

const enterEvents = ['pointerenter', 'focus'];
const leaveEvents = ['pointerleave', 'blur', 'keydown', 'click'];
Expand Down

0 comments on commit 52c83a3

Please sign in to comment.