Skip to content

Commit

Permalink
Refactor #4530 - Add d.ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Oct 2, 2023
1 parent dc2913e commit 3d1d31c
Show file tree
Hide file tree
Showing 199 changed files with 506 additions and 104 deletions.
3 changes: 3 additions & 0 deletions components/lib/accordion/style/AccordionStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface AccordionStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/accordion/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./accordionstyle.cjs.js",
"module": "./accordionstyle.esm.js",
"unpkg": "./accordionstyle.min.js"
"unpkg": "./accordionstyle.min.js",
"types": "./AccordionStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/accordiontab/style/AccordionTabStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface AccordionTabStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/accordiontab/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./accordiontabstyle.cjs.js",
"module": "./accordiontabstyle.esm.js",
"unpkg": "./accordiontabstyle.min.js"
"unpkg": "./accordiontabstyle.min.js",
"types": "./AccordionTabStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/autocomplete/style/AutoCompleteStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface AutoCompleteStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/autocomplete/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./autocompletestyle.cjs.js",
"module": "./autocompletestyle.esm.js",
"unpkg": "./autocompletestyle.min.js"
"unpkg": "./autocompletestyle.min.js",
"types": "./AutoCompleteStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/avatar/style/AvatarStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface AvatarStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/avatar/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./avatarstyle.cjs.js",
"module": "./avatarstyle.esm.js",
"unpkg": "./avatarstyle.min.js"
"unpkg": "./avatarstyle.min.js",
"types": "./AvatarStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/avatargroup/style/AvatarGroupStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface AvatarGroupStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/avatargroup/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./avatargroupstyle.cjs.js",
"module": "./avatargroupstyle.esm.js",
"unpkg": "./avatargroupstyle.min.js"
"unpkg": "./avatargroupstyle.min.js",
"types": "./AvatarGroupStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/badge/style/BadgeStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface BadgeStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/badge/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./badgestyle.cjs.js",
"module": "./badgestyle.esm.js",
"unpkg": "./badgestyle.min.js"
"unpkg": "./badgestyle.min.js",
"types": "./BadgeStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/badgedirective/style/BadgeDirectiveStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface BadgeDirectiveStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/badgedirective/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./badgedirectivestyle.cjs.js",
"module": "./badgedirectivestyle.esm.js",
"unpkg": "./badgedirectivestyle.min.js"
"unpkg": "./badgedirectivestyle.min.js",
"types": "./BadgeDirectiveStyle.d.ts"
}
10 changes: 10 additions & 0 deletions components/lib/base/style/BaseStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Style, StyleOptions } from '../../usestyle';

export declare interface BaseStyle {
name?: string | undefined;
css?: string | undefined;
classes?: object | undefined;
inlineStyles?: object | undefined;
loadStyle?: ((options?: StyleOptions) => Style | object | undefined) | undefined;
getStyleSheet?: ((extendedCSS?: string, props?: any) => string | undefined) | undefined;
}
3 changes: 2 additions & 1 deletion components/lib/base/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./basestyle.cjs.js",
"module": "./basestyle.esm.js",
"unpkg": "./basestyle.min.js"
"unpkg": "./basestyle.min.js",
"types": "./BaseStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/basecomponent/style/BaseComponentStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface BaseComponentStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/basecomponent/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./basecomponentstyle.cjs.js",
"module": "./basecomponentstyle.esm.js",
"unpkg": "./basecomponentstyle.min.js"
"unpkg": "./basecomponentstyle.min.js",
"types": "./BaseComponentStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/baseicon/style/BaseIconStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface BaseIconStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/baseicon/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./baseiconstyle.cjs.js",
"module": "./baseiconstyle.esm.js",
"unpkg": "./baseiconstyle.min.js"
"unpkg": "./baseiconstyle.min.js",
"types": "./BaseIconStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/blockui/style/BlockUIStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface BlockUIStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/blockui/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./blockuistyle.cjs.js",
"module": "./blockuistyle.esm.js",
"unpkg": "./blockuistyle.min.js"
"unpkg": "./blockuistyle.min.js",
"types": "./BlockUIStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/breadcrumb/style/BreadcrumbStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface BreadcrumbStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/breadcrumb/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./breadcrumbstyle.cjs.js",
"module": "./breadcrumbstyle.esm.js",
"unpkg": "./breadcrumbstyle.min.js"
"unpkg": "./breadcrumbstyle.min.js",
"types": "./BreadcrumbStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/button/style/ButtonStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface ButtonStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/button/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./buttonstyle.cjs.js",
"module": "./buttonstyle.esm.js",
"unpkg": "./buttonstyle.min.js"
"unpkg": "./buttonstyle.min.js",
"types": "./ButtonStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/calendar/style/CalendarStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface CalendarStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/calendar/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./calendarstyle.cjs.js",
"module": "./calendarstyle.esm.js",
"unpkg": "./calendarstyle.min.js"
"unpkg": "./calendarstyle.min.js",
"types": "./CalendarStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/card/style/CardStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface CardStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/card/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./cardstyle.cjs.js",
"module": "./cardstyle.esm.js",
"unpkg": "./cardstyle.min.js"
"unpkg": "./cardstyle.min.js",
"types": "./CardStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/carousel/style/CarouselStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface CarouselStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/carousel/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./carouselstyle.cjs.js",
"module": "./carouselstyle.esm.js",
"unpkg": "./carouselstyle.min.js"
"unpkg": "./carouselstyle.min.js",
"types": "./CarouselStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/cascadeselect/style/CascadeSelectStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface CascadeSelectStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/cascadeselect/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./cascadeselectstyle.cjs.js",
"module": "./cascadeselectstyle.esm.js",
"unpkg": "./cascadeselectstyle.min.js"
"unpkg": "./cascadeselectstyle.min.js",
"types": "./CascadeSelectStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/chart/style/ChartStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface ChartStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/chart/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./chartstyle.cjs.js",
"module": "./chartstyle.esm.js",
"unpkg": "./chartstyle.min.js"
"unpkg": "./chartstyle.min.js",
"types": "./ChartStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/checkbox/style/CheckboxStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface CheckboxStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/checkbox/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./checkboxstyle.cjs.js",
"module": "./checkboxstyle.esm.js",
"unpkg": "./checkboxstyle.min.js"
"unpkg": "./checkboxstyle.min.js",
"types": "./CheckboxStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/chip/style/ChipStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface ChipStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/chip/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./chipstyle.cjs.js",
"module": "./chipstyle.esm.js",
"unpkg": "./chipstyle.min.js"
"unpkg": "./chipstyle.min.js",
"types": "./ChipStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/chips/style/ChipsStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface ChipsStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/chips/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./chipsstyle.cjs.js",
"module": "./chipsstyle.esm.js",
"unpkg": "./chipsstyle.min.js"
"unpkg": "./chipsstyle.min.js",
"types": "./ChipsStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/colorpicker/style/ColorPickerStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface ColorPickerStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/colorpicker/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./colorpickerstyle.cjs.js",
"module": "./colorpickerstyle.esm.js",
"unpkg": "./colorpickerstyle.min.js"
"unpkg": "./colorpickerstyle.min.js",
"types": "./ColorPickerStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/column/style/ColumnStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface ColumnStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/column/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./columnstyle.cjs.js",
"module": "./columnstyle.esm.js",
"unpkg": "./columnstyle.min.js"
"unpkg": "./columnstyle.min.js",
"types": "./ColumnStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/columngroup/style/ColumnGroupStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface ColumnGroupStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/columngroup/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./columngroupstyle.cjs.js",
"module": "./columngroupstyle.esm.js",
"unpkg": "./columngroupstyle.min.js"
"unpkg": "./columngroupstyle.min.js",
"types": "./ColumnGroupStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/confirmdialog/style/ConfirmDialogStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface ConfirmDialogStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/confirmdialog/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./confirmdialogstyle.cjs.js",
"module": "./confirmdialogstyle.esm.js",
"unpkg": "./confirmdialogstyle.min.js"
"unpkg": "./confirmdialogstyle.min.js",
"types": "./ConfirmDialogStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/confirmpopup/style/ConfirmPopupStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface ConfirmPopupStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/confirmpopup/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./confirmpopupstyle.cjs.js",
"module": "./confirmpopupstyle.esm.js",
"unpkg": "./confirmpopupstyle.min.js"
"unpkg": "./confirmpopupstyle.min.js",
"types": "./ConfirmPopupStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/contextmenu/style/ContextMenuStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface ContextMenuStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/contextmenu/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./contextmenustyle.cjs.js",
"module": "./contextmenustyle.esm.js",
"unpkg": "./contextmenustyle.min.js"
"unpkg": "./contextmenustyle.min.js",
"types": "./ContextMenuStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/datatable/style/DataTableStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface DataTableStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/datatable/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./datatablestyle.cjs.js",
"module": "./datatablestyle.esm.js",
"unpkg": "./datatablestyle.min.js"
"unpkg": "./datatablestyle.min.js",
"types": "./DataTableStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/dataview/style/DataViewStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface DataViewStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/dataview/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./dataviewstyle.cjs.js",
"module": "./dataviewstyle.esm.js",
"unpkg": "./dataviewstyle.min.js"
"unpkg": "./dataviewstyle.min.js",
"types": "./DataViewStyle.d.ts"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface DataViewLayoutOptionsStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/dataviewlayoutoptions/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./dataviewlayoutoptionsstyle.cjs.js",
"module": "./dataviewlayoutoptionsstyle.esm.js",
"unpkg": "./dataviewlayoutoptionsstyle.min.js"
"unpkg": "./dataviewlayoutoptionsstyle.min.js",
"types": "./DataViewLayoutOptionsStyle.d.ts"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface DeferredContentStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/deferredcontent/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./deferredcontentstyle.cjs.js",
"module": "./deferredcontentstyle.esm.js",
"unpkg": "./deferredcontentstyle.min.js"
"unpkg": "./deferredcontentstyle.min.js",
"types": "./DeferredContentStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/dialog/style/DialogStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface DialogStyle extends BaseStyle {}
3 changes: 2 additions & 1 deletion components/lib/dialog/style/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"main": "./dialogstyle.cjs.js",
"module": "./dialogstyle.esm.js",
"unpkg": "./dialogstyle.min.js"
"unpkg": "./dialogstyle.min.js",
"types": "./DialogStyle.d.ts"
}
3 changes: 3 additions & 0 deletions components/lib/divider/style/DividerStyle.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BaseStyle } from '../../base/style';

export interface DividerStyle extends BaseStyle {}
Loading

0 comments on commit 3d1d31c

Please sign in to comment.