Skip to content

Commit

Permalink
chore: export templates
Browse files Browse the repository at this point in the history
  • Loading branch information
zhpenkov committed Jun 28, 2024
1 parent 7695b8f commit 4a9980e
Show file tree
Hide file tree
Showing 329 changed files with 683 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import { ActionSheetNormal } from './action-sheet-normal';
export const ActionSheetLeft = (props) => (
<ActionSheetNormal side="left" {...props}/>
);

export default ActionSheetLeft;
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ export const ActionSheetNormal = (props) => (
{...props}>
</ActionSheet>
);

export default ActionSheetNormal;
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import { ActionSheetNormal } from './action-sheet-normal';
export const ActionSheetRight = (props) => (
<ActionSheetNormal side="right" {...props}/>
);

export default ActionSheetRight;
2 changes: 2 additions & 0 deletions packages/html/src/action-sheet/templates/action-sheet-top.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import { ActionSheetNormal } from './action-sheet-normal';
export const ActionSheetTop = (props) => (
<ActionSheetNormal side="top" {...props}/>
);

export default ActionSheetTop;
2 changes: 2 additions & 0 deletions packages/html/src/appbar/templates/appbar-normal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ export const AppbarNormal = (props) => (
{...props} >
</Appbar>
);

export default AppbarNormal;
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ export const AutocompleteAdaptive = (props) => (
adaptive={true}
{...props}
/>
);
);

export default AutocompleteAdaptive;
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ export const AutocompleteGroupingModern = (props) => (
{...props}
/>
);

export default AutocompleteGroupingModern;
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ export const AutocompleteGrouping = (props) => (
{...props}
/>
);

export default AutocompleteGrouping;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Autocomplete from "../autocomplete.spec";

export const AutocompleteNormal = (props) => <Autocomplete {...props} />;
export const AutocompleteNormal = (props) => <Autocomplete {...props} />;

export default AutocompleteNormal;
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ export const AutocompletePopup = (props) => (
{...props}
/>
);

export default AutocompletePopup;
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ export const AutocompletePrefix = (props) => (
{...props}
/>
);

export default AutocompletePrefix;
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ export const AutocompleteSuffix = (props) => (
{...props}
/>
);

export default AutocompleteSuffix;
2 changes: 2 additions & 0 deletions packages/html/src/avatar/templates/avatar-icon.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Avatar from "../avatar.spec";

export const AvatarIcon = (props: any) => <Avatar type="icon" {...props} />;

export default AvatarIcon;
2 changes: 2 additions & 0 deletions packages/html/src/avatar/templates/avatar-image.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Avatar from "../avatar.spec";

export const AvatarImage = (props: any) => <Avatar type="image" {...props} />;

export default AvatarImage;
2 changes: 2 additions & 0 deletions packages/html/src/avatar/templates/avatar-text.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Avatar from "../avatar.spec";

export const AvatarText = (props: any) => <Avatar type="text" {...props} />;

export default AvatarText;
2 changes: 2 additions & 0 deletions packages/html/src/badge/templates/badge-normal.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Badge } from "..";

export const BadgeNormal = (props) => <Badge {...props}/>;

export default BadgeNormal;
2 changes: 2 additions & 0 deletions packages/html/src/badge/templates/icon-badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ export const IconBadge = (props) =>
{...props}
/>
;

export default IconBadge;
2 changes: 2 additions & 0 deletions packages/html/src/bottom-nav/templates/bottom-nav-icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ export const BottomNavIcons = (props) => (
>
</BottomNav>
);

export default BottomNavIcons;
2 changes: 2 additions & 0 deletions packages/html/src/bottom-nav/templates/bottom-nav-links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ export const BottomNavLinks = (props) => (
>
</BottomNav>
);

export default BottomNavLinks;
2 changes: 2 additions & 0 deletions packages/html/src/bottom-nav/templates/bottom-nav-normal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ export const BottomNavNormal = (props) => (
>
</BottomNav>
);

export default BottomNavNormal;
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ export const BreadcrumbCollapsingAuto = ({ dir, ...other }: any) => (
{...other}>
</Breadcrumb>
);

export default BreadcrumbCollapsingAuto;
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ export const BreadcrumbCollapsingNone = ({ dir, ...other }: any) => (
{...other}>
</Breadcrumb>
);

export default BreadcrumbCollapsingNone;
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ export const BreadcrumbCollapsingWrap = ({ dir, ...other }: any) => (
{...other}>
</Breadcrumb>
);

export default BreadcrumbCollapsingWrap;
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ export const IconButtonGroup = (props) => (
</>
} />
);

export default IconButtonGroup;
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ export const IconTextButtonGroup = (props) => (
</>
} />
);

export default IconTextButtonGroup;
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ export const MixedButtonGroup = (props) => (
</>
} />
);

export default MixedButtonGroup;
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ export const TextButtonGroup = (props) => (
</>
} />
);

export default TextButtonGroup;
2 changes: 2 additions & 0 deletions packages/html/src/button/templates/icon-button.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Button } from "../button.spec";

export const IconButton = (props) => <Button icon="folder" {...props} children={undefined} />;

export default IconButton;
2 changes: 2 additions & 0 deletions packages/html/src/button/templates/icon-text-button.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Button } from "../button.spec";

export const IconTextButton = (props) => <Button icon="folder" children="Button" {...props} />;

export default IconTextButton;
2 changes: 2 additions & 0 deletions packages/html/src/button/templates/text-button.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Button } from "../button.spec";

export const TextButton = (props) => <Button children="Button" {...props} />;

export default TextButton;
2 changes: 2 additions & 0 deletions packages/html/src/calendar/templates/calendar-century.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ export const CalendarCentury = ({ showOtherCentury, ...props }: any) => (
{...props}
/>
);

export default CalendarCentury;
2 changes: 2 additions & 0 deletions packages/html/src/calendar/templates/calendar-decade.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ export const CalendarDecade = ({ showOtherDecade, ...props }: any) => (
{...props}
/>
);

export default CalendarDecade;
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ export const CalendarInfiniteCentury = ({ firstCaption = "2000 - 2099", ...other

</CalendarInfinite>
);

export default CalendarInfiniteCentury;
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ export const CalendarInfiniteDecade = ({ firstCaption = "2020 - 2029", secondCap

</CalendarInfinite>
);

export default CalendarInfiniteDecade;
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ export const CalendarInfiniteNormal = ({ firstCaption = "January 2021", secondCa

</CalendarInfinite>
);

export default CalendarInfiniteNormal;
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,5 @@ export const CalendarInfiniteWeekNumber = ({ firstCaption = "January 2021", seco

</CalendarInfinite>
);

export default CalendarInfiniteWeekNumber;
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,5 @@ export const CalendarInfiniteYear = ({ firstCaption = "2021", secondCaption = "2

</CalendarInfinite>
);

export default CalendarInfiniteYear;
2 changes: 2 additions & 0 deletions packages/html/src/calendar/templates/calendar-normal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ export const CalendarNormal = ({ showCaptions, showOtherMonth, ...props }: any)
{...props}
/>
);

export default CalendarNormal;
2 changes: 2 additions & 0 deletions packages/html/src/calendar/templates/calendar-with-weeks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ export const CalendarWithWeeks = ({ showOtherMonth, ...props }: any) => (
{...props}
/>
);

export default CalendarWithWeeks;
2 changes: 2 additions & 0 deletions packages/html/src/calendar/templates/calendar-year.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ export const CalendarYear = (props: any) => (
{...props}
/>
);

export default CalendarYear;
2 changes: 2 additions & 0 deletions packages/html/src/captcha/templates/captcha-normal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import { Captcha } from '..';
export const CaptchaNormal = (props) => (
<Captcha value="YR890" { ...props }/>
);

export default CaptchaNormal;
4 changes: 3 additions & 1 deletion packages/html/src/card/templates/card-horizontal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ export const CardHorizontal = (props) => (
}
{...props}>
</Card>
);
);

export default CardHorizontal;
4 changes: 3 additions & 1 deletion packages/html/src/card/templates/card-normal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ export const CardNormal = (props) => (
}
{...props}>
</Card>
);
);

export default CardNormal;
2 changes: 2 additions & 0 deletions packages/html/src/chat/templates/chat-normal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ export const ChatNormal = (props) => (
{...props}
/>
);

export default ChatNormal;
2 changes: 2 additions & 0 deletions packages/html/src/chat/templates/chat-with-options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ export const ChatWithOptions = (props) => (
{...props}
/>
);

export default ChatWithOptions;
2 changes: 2 additions & 0 deletions packages/html/src/chat/templates/chat-with-toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ export const ChatWithToolbar = (props) => (
{...props}
/>
);

export default ChatWithToolbar;
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ export const CheckboxGroupHorizontal = (props: any) => (
{...props}
/>
);

export default CheckboxGroupHorizontal;
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ export const CheckboxGroupNormal = (props: any) => (
{...props}
/>
);

export default CheckboxGroupNormal;
4 changes: 3 additions & 1 deletion packages/html/src/checkbox/templates/checkbox-normal.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Checkbox from "../checkbox.spec";

export const CheckboxNormal = (props: any) => <Checkbox {...props}/>;
export const CheckboxNormal = (props: any) => <Checkbox {...props}/>;

export default CheckboxNormal;
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export const CheckboxWithLabelAfter = ({ children, id, ...other }: any) => (
<label className={"k-checkbox-label"} htmlFor={id}>{children}</label>
</>
);

export default CheckboxWithLabelAfter;
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export const CheckboxWithLabelBefore = ({ children, id, ...other }: any) => (
<Checkbox id={id} {...other} />
</>
);

export default CheckboxWithLabelBefore;
2 changes: 2 additions & 0 deletions packages/html/src/chip/templates/chip-avatar.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Chip from "../chip.spec";

export const ChipAvatar = (props: any) => <Chip showAvatar={true} {...props} />;

export default ChipAvatar;
2 changes: 2 additions & 0 deletions packages/html/src/chip/templates/chip-icon.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Chip from "../chip.spec";

export const ChipIcon = (props: any) => <Chip icon="map-marker-target" {...props} />;

export default ChipIcon;
2 changes: 2 additions & 0 deletions packages/html/src/chip/templates/chip-normal.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Chip from "../chip.spec";

export const ChipNormal = (props: any) => <Chip text="text" {...props} />;

export default ChipNormal;
2 changes: 2 additions & 0 deletions packages/html/src/chip/templates/chip-removable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ import Chip from "../chip.spec";
import { ChipAction } from "../chip-action";

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

export default ChipRemovable;
2 changes: 2 additions & 0 deletions packages/html/src/coloreditor/templates/coloreditor-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ export const ColorEditorGroup = (props) => (
{...props}
/>
);

export default ColorEditorGroup;
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export const ColorEditorNormal = (props) => (
{...props}
/>
);

export default ColorEditorNormal;
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ export const ColorEditorPaletteGroup = (props) => (
{...props}
/>
);

export default ColorEditorPaletteGroup;
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ export const ColorEditorPalette = (props) => (
{...props}
/>
);

export default ColorEditorPalette;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { ColorGradient } from "../color-gradient.spec";

export const ColorGradientContrast = (props) => <ColorGradient contrast {...props}/>;

export default ColorGradientContrast;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { ColorGradient } from "../color-gradient.spec";

export const ColorGradientNormal = (props) => <ColorGradient {...props}/>;

export default ColorGradientNormal;
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ import { PALETTEPRESETS } from "../colorpalette-presets";
import ColorPalette from "../colorpalette.spec";

export const ColorPaletteNormal = (props) => <ColorPalette palette={PALETTEPRESETS.basic} {...props} />;

export default ColorPaletteNormal;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import ColorPicker from "../colorpicker.spec";

export const ColorPickerNormal = (props: any) => <ColorPicker {...props} />;

export default ColorPickerNormal;
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ export const ColorPickerPopupGradient = ({ value, color, currentColor, ...other
{...other}
/>
);

export default ColorPickerPopupGradient;
Loading

0 comments on commit 4a9980e

Please sign in to comment.