Skip to content
Open
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
5 changes: 1 addition & 4 deletions packages/@envelope/base/src/components/Carousel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,12 @@ export const CarouselInsideControls = ({ columns, children }: CarouselProps) =>
pointerEvents="none"
buttonProps={{
bg: "bg",
pointerEvents: "all",
_hover: {
bg: "bg2.100",
},
_disabled: {
opacity: 0,
},
}}
/>

<Box overflowX="hidden" w="full">
<MotionBox
animate={{
Expand Down
16 changes: 16 additions & 0 deletions packages/@envelope/base/src/components/List/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { styled } from "@envelope-ui/styled/jsx";

export const UnorderedList = styled("ul", {
base: {
listStyleType: "circle",
listStyle: "inside",
},
});

export const OrderedList = styled("ol");

export const ListItem = styled("li", {
base: {
color: "ui.80",
},
});
2 changes: 2 additions & 0 deletions packages/@envelope/base/src/components/Stepper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export const StepperControls = ({
onIndexChange?.(newIndex);
};

if (pageCount <= 1) return <></>;

return (
<Flex gap="8" {...props}>
<Button
Expand Down
42 changes: 38 additions & 4 deletions packages/@envelope/base/src/components/Table/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,43 @@
import { styled } from "@envelope-ui/styled/jsx";

export const Table = styled("table");
export const Thead = styled("thead");
const base = {
borderWidth: "1px",
borderColor: "ui.20",
};

const padding = {
px: "4",
py: "2",
};

export const Table = styled("table", {
base: {
color: "ui.80",
borderCollapse: "collapse",
},
});

export const Th = styled("th", {
base: {
...base,
...padding,
},
});

export const Td = styled("td", {
base: {
...base,
...padding,
},
});

export const Thead = styled("thead", {
base: {
...base,
fontWeight: "bold",
},
});

export const Tbody = styled("tbody");
export const Tr = styled("tr");
export const Td = styled("td");
export const Th = styled("th");
export const Tfoot = styled("tfoot");
1 change: 1 addition & 0 deletions packages/@envelope/base/src/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export * from "./Drawer";
export { Image } from "./Image";
export * from "./Input";
export { ItemInput } from "./ItemInput";
export * from "./List";
export { Fab } from "./Fab";
export * from "./NavigationMenu";
export * from "./Menu";
Expand Down
1 change: 0 additions & 1 deletion packages/@envelope/preset/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,4 +526,3 @@ export const envelopePreset = definePreset({
},
},
});
2;