Skip to content

Commit 4a9980e

Browse files
committed
chore: export templates
1 parent 7695b8f commit 4a9980e

File tree

329 files changed

+683
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+683
-25
lines changed

packages/html/src/action-sheet/templates/action-sheet-left.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ import { ActionSheetNormal } from './action-sheet-normal';
33
export const ActionSheetLeft = (props) => (
44
<ActionSheetNormal side="left" {...props}/>
55
);
6+
7+
export default ActionSheetLeft;

packages/html/src/action-sheet/templates/action-sheet-normal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ export const ActionSheetNormal = (props) => (
1313
{...props}>
1414
</ActionSheet>
1515
);
16+
17+
export default ActionSheetNormal;

packages/html/src/action-sheet/templates/action-sheet-right.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ import { ActionSheetNormal } from './action-sheet-normal';
33
export const ActionSheetRight = (props) => (
44
<ActionSheetNormal side="right" {...props}/>
55
);
6+
7+
export default ActionSheetRight;

packages/html/src/action-sheet/templates/action-sheet-top.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ import { ActionSheetNormal } from './action-sheet-normal';
33
export const ActionSheetTop = (props) => (
44
<ActionSheetNormal side="top" {...props}/>
55
);
6+
7+
export default ActionSheetTop;

packages/html/src/appbar/templates/appbar-normal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ export const AppbarNormal = (props) => (
2929
{...props} >
3030
</Appbar>
3131
);
32+
33+
export default AppbarNormal;

packages/html/src/autocomplete/templates/autocomplete-adaptive.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ export const AutocompleteAdaptive = (props) => (
55
adaptive={true}
66
{...props}
77
/>
8-
);
8+
);
9+
10+
export default AutocompleteAdaptive;

packages/html/src/autocomplete/templates/autocomplete-grouping-modern.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ export const AutocompleteGroupingModern = (props) => (
2222
{...props}
2323
/>
2424
);
25+
26+
export default AutocompleteGroupingModern;

packages/html/src/autocomplete/templates/autocomplete-grouping.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ export const AutocompleteGrouping = (props) => (
2121
{...props}
2222
/>
2323
);
24+
25+
export default AutocompleteGrouping;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import Autocomplete from "../autocomplete.spec";
22

3-
export const AutocompleteNormal = (props) => <Autocomplete {...props} />;
3+
export const AutocompleteNormal = (props) => <Autocomplete {...props} />;
4+
5+
export default AutocompleteNormal;

packages/html/src/autocomplete/templates/autocomplete-popup.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ export const AutocompletePopup = (props) => (
1414
{...props}
1515
/>
1616
);
17+
18+
export default AutocompletePopup;

packages/html/src/autocomplete/templates/autocomplete-prefix.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ export const AutocompletePrefix = (props) => (
1111
{...props}
1212
/>
1313
);
14+
15+
export default AutocompletePrefix;

packages/html/src/autocomplete/templates/autocomplete-suffix.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ export const AutocompleteSuffix = (props) => (
1111
{...props}
1212
/>
1313
);
14+
15+
export default AutocompleteSuffix;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import Avatar from "../avatar.spec";
22

33
export const AvatarIcon = (props: any) => <Avatar type="icon" {...props} />;
4+
5+
export default AvatarIcon;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import Avatar from "../avatar.spec";
22

33
export const AvatarImage = (props: any) => <Avatar type="image" {...props} />;
4+
5+
export default AvatarImage;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import Avatar from "../avatar.spec";
22

33
export const AvatarText = (props: any) => <Avatar type="text" {...props} />;
4+
5+
export default AvatarText;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import { Badge } from "..";
22

33
export const BadgeNormal = (props) => <Badge {...props}/>;
4+
5+
export default BadgeNormal;

packages/html/src/badge/templates/icon-badge.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ export const IconBadge = (props) =>
99
{...props}
1010
/>
1111
;
12+
13+
export default IconBadge;

packages/html/src/bottom-nav/templates/bottom-nav-icons.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ export const BottomNavIcons = (props) => (
1313
>
1414
</BottomNav>
1515
);
16+
17+
export default BottomNavIcons;

packages/html/src/bottom-nav/templates/bottom-nav-links.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ export const BottomNavLinks = (props) => (
1313
>
1414
</BottomNav>
1515
);
16+
17+
export default BottomNavLinks;

packages/html/src/bottom-nav/templates/bottom-nav-normal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ export const BottomNavNormal = (props) => (
1313
>
1414
</BottomNav>
1515
);
16+
17+
export default BottomNavNormal;

packages/html/src/breadcrumb/templates/breadcrumb-collapsing-auto.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ export const BreadcrumbCollapsingAuto = ({ dir, ...other }: any) => (
3737
{...other}>
3838
</Breadcrumb>
3939
);
40+
41+
export default BreadcrumbCollapsingAuto;

packages/html/src/breadcrumb/templates/breadcrumb-collapsing-none.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ export const BreadcrumbCollapsingNone = ({ dir, ...other }: any) => (
3737
{...other}>
3838
</Breadcrumb>
3939
);
40+
41+
export default BreadcrumbCollapsingNone;

packages/html/src/breadcrumb/templates/breadcrumb-collapsing-wrap.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ export const BreadcrumbCollapsingWrap = ({ dir, ...other }: any) => (
5151
{...other}>
5252
</Breadcrumb>
5353
);
54+
55+
export default BreadcrumbCollapsingWrap;

packages/html/src/button-group/templates/icon-button-group.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ export const IconButtonGroup = (props) => (
1010
</>
1111
} />
1212
);
13+
14+
export default IconButtonGroup;

packages/html/src/button-group/templates/icon-text-button-group.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ export const IconTextButtonGroup = (props) => (
1010
</>
1111
} />
1212
);
13+
14+
export default IconTextButtonGroup;

packages/html/src/button-group/templates/mixed-button-group.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ export const MixedButtonGroup = (props) => (
1010
</>
1111
} />
1212
);
13+
14+
export default MixedButtonGroup;

packages/html/src/button-group/templates/text-button-group.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ export const TextButtonGroup = (props) => (
1010
</>
1111
} />
1212
);
13+
14+
export default TextButtonGroup;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import { Button } from "../button.spec";
22

33
export const IconButton = (props) => <Button icon="folder" {...props} children={undefined} />;
4+
5+
export default IconButton;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import { Button } from "../button.spec";
22

33
export const IconTextButton = (props) => <Button icon="folder" children="Button" {...props} />;
4+
5+
export default IconTextButton;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import { Button } from "../button.spec";
22

33
export const TextButton = (props) => <Button children="Button" {...props} />;
4+
5+
export default TextButton;

packages/html/src/calendar/templates/calendar-century.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ export const CalendarCentury = ({ showOtherCentury, ...props }: any) => (
2727
{...props}
2828
/>
2929
);
30+
31+
export default CalendarCentury;

packages/html/src/calendar/templates/calendar-decade.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ export const CalendarDecade = ({ showOtherDecade, ...props }: any) => (
2727
{...props}
2828
/>
2929
);
30+
31+
export default CalendarDecade;

packages/html/src/calendar/templates/calendar-infinite-century.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ export const CalendarInfiniteCentury = ({ firstCaption = "2000 - 2099", ...other
4040

4141
</CalendarInfinite>
4242
);
43+
44+
export default CalendarInfiniteCentury;

packages/html/src/calendar/templates/calendar-infinite-decade.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,5 @@ export const CalendarInfiniteDecade = ({ firstCaption = "2020 - 2029", secondCap
6666

6767
</CalendarInfinite>
6868
);
69+
70+
export default CalendarInfiniteDecade;

packages/html/src/calendar/templates/calendar-infinite-normal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,5 @@ export const CalendarInfiniteNormal = ({ firstCaption = "January 2021", secondCa
8484

8585
</CalendarInfinite>
8686
);
87+
88+
export default CalendarInfiniteNormal;

packages/html/src/calendar/templates/calendar-infinite-week-number.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,5 @@ export const CalendarInfiniteWeekNumber = ({ firstCaption = "January 2021", seco
8989

9090
</CalendarInfinite>
9191
);
92+
93+
export default CalendarInfiniteWeekNumber;

packages/html/src/calendar/templates/calendar-infinite-year.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,5 @@ export const CalendarInfiniteYear = ({ firstCaption = "2021", secondCaption = "2
7070

7171
</CalendarInfinite>
7272
);
73+
74+
export default CalendarInfiniteYear;

packages/html/src/calendar/templates/calendar-normal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,5 @@ export const CalendarNormal = ({ showCaptions, showOtherMonth, ...props }: any)
6363
{...props}
6464
/>
6565
);
66+
67+
export default CalendarNormal;

packages/html/src/calendar/templates/calendar-with-weeks.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,5 @@ export const CalendarWithWeeks = ({ showOtherMonth, ...props }: any) => (
6969
{...props}
7070
/>
7171
);
72+
73+
export default CalendarWithWeeks;

packages/html/src/calendar/templates/calendar-year.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ export const CalendarYear = (props: any) => (
2727
{...props}
2828
/>
2929
);
30+
31+
export default CalendarYear;

packages/html/src/captcha/templates/captcha-normal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ import { Captcha } from '..';
33
export const CaptchaNormal = (props) => (
44
<Captcha value="YR890" { ...props }/>
55
);
6+
7+
export default CaptchaNormal;

packages/html/src/card/templates/card-horizontal.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ export const CardHorizontal = (props) => (
1717
}
1818
{...props}>
1919
</Card>
20-
);
20+
);
21+
22+
export default CardHorizontal;

packages/html/src/card/templates/card-normal.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@ export const CardNormal = (props) => (
1818
}
1919
{...props}>
2020
</Card>
21-
);
21+
);
22+
23+
export default CardNormal;

packages/html/src/chat/templates/chat-normal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ export const ChatNormal = (props) => (
2121
{...props}
2222
/>
2323
);
24+
25+
export default ChatNormal;

packages/html/src/chat/templates/chat-with-options.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ export const ChatWithOptions = (props) => (
2323
{...props}
2424
/>
2525
);
26+
27+
export default ChatWithOptions;

packages/html/src/chat/templates/chat-with-toolbar.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ export const ChatWithToolbar = (props) => (
2424
{...props}
2525
/>
2626
);
27+
28+
export default ChatWithToolbar;

packages/html/src/checkbox/templates/checkbox-group-horizontal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ export const CheckboxGroupHorizontal = (props: any) => (
1818
{...props}
1919
/>
2020
);
21+
22+
export default CheckboxGroupHorizontal;

packages/html/src/checkbox/templates/checkbox-group-normal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ export const CheckboxGroupNormal = (props: any) => (
1717
{...props}
1818
/>
1919
);
20+
21+
export default CheckboxGroupNormal;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import Checkbox from "../checkbox.spec";
22

3-
export const CheckboxNormal = (props: any) => <Checkbox {...props}/>;
3+
export const CheckboxNormal = (props: any) => <Checkbox {...props}/>;
4+
5+
export default CheckboxNormal;

packages/html/src/checkbox/templates/checkbox-with-label-after.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ export const CheckboxWithLabelAfter = ({ children, id, ...other }: any) => (
66
<label className={"k-checkbox-label"} htmlFor={id}>{children}</label>
77
</>
88
);
9+
10+
export default CheckboxWithLabelAfter;

packages/html/src/checkbox/templates/checkbox-with-label-before.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ export const CheckboxWithLabelBefore = ({ children, id, ...other }: any) => (
66
<Checkbox id={id} {...other} />
77
</>
88
);
9+
10+
export default CheckboxWithLabelBefore;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import Chip from "../chip.spec";
22

33
export const ChipAvatar = (props: any) => <Chip showAvatar={true} {...props} />;
4+
5+
export default ChipAvatar;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import Chip from "../chip.spec";
22

33
export const ChipIcon = (props: any) => <Chip icon="map-marker-target" {...props} />;
4+
5+
export default ChipIcon;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import Chip from "../chip.spec";
22

33
export const ChipNormal = (props: any) => <Chip text="text" {...props} />;
4+
5+
export default ChipNormal;

packages/html/src/chip/templates/chip-removable.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ import Chip from "../chip.spec";
22
import { ChipAction } from "../chip-action";
33

44
export const ChipRemovable = (props: any) => <Chip text="Removable" {...props} actions={ <ChipAction type="remove" />} />;
5+
6+
export default ChipRemovable;

packages/html/src/coloreditor/templates/coloreditor-group.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ export const ColorEditorGroup = (props) => (
77
{...props}
88
/>
99
);
10+
11+
export default ColorEditorGroup;

packages/html/src/coloreditor/templates/coloreditor-normal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ export const ColorEditorNormal = (props) => (
66
{...props}
77
/>
88
);
9+
10+
export default ColorEditorNormal;

packages/html/src/coloreditor/templates/coloreditor-palette-group.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ export const ColorEditorPaletteGroup = (props) => (
88
{...props}
99
/>
1010
);
11+
12+
export default ColorEditorPaletteGroup;

packages/html/src/coloreditor/templates/coloreditor-palette.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ export const ColorEditorPalette = (props) => (
77
{...props}
88
/>
99
);
10+
11+
export default ColorEditorPalette;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import { ColorGradient } from "../color-gradient.spec";
22

33
export const ColorGradientContrast = (props) => <ColorGradient contrast {...props}/>;
4+
5+
export default ColorGradientContrast;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import { ColorGradient } from "../color-gradient.spec";
22

33
export const ColorGradientNormal = (props) => <ColorGradient {...props}/>;
4+
5+
export default ColorGradientNormal;

packages/html/src/colorpalette/templates/colorpalette-normal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ import { PALETTEPRESETS } from "../colorpalette-presets";
22
import ColorPalette from "../colorpalette.spec";
33

44
export const ColorPaletteNormal = (props) => <ColorPalette palette={PALETTEPRESETS.basic} {...props} />;
5+
6+
export default ColorPaletteNormal;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import ColorPicker from "../colorpicker.spec";
22

33
export const ColorPickerNormal = (props: any) => <ColorPicker {...props} />;
4+
5+
export default ColorPickerNormal;

packages/html/src/colorpicker/templates/colorpicker-popup-gradient.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ export const ColorPickerPopupGradient = ({ value, color, currentColor, ...other
1515
{...other}
1616
/>
1717
);
18+
19+
export default ColorPickerPopupGradient;

0 commit comments

Comments
 (0)