@recursica/mantine-adapter 0.28.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist/mantine-adapter.cjs +2 -2
- package/dist/mantine-adapter.cjs.map +1 -1
- package/dist/mantine-adapter.css +1 -1
- package/dist/mantine-adapter.js +1091 -1071
- package/dist/mantine-adapter.js.map +1 -1
- package/dist/src/components/Panel/Panel.d.ts +1 -1
- package/dist/src/components/Popover/Popover.d.ts +3 -1
- package/dist/src/components/Tree/Tree.d.ts +9 -0
- package/dist/src/components/Tree/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +2 -2
- package/src/components/Button/Button.module.css +42 -0
- package/src/components/DatePicker/DatePicker.stories.tsx +0 -1
- package/src/components/Dropdown/Dropdown.stories.tsx +0 -6
- package/src/components/NumberInput/NumberInput.stories.tsx +0 -2
- package/src/components/Panel/Panel.tsx +1 -1
- package/src/components/Popover/Popover.tsx +8 -3
- package/src/components/SegmentedControl/SegmentedControl.module.css +1 -0
- package/src/components/Slider/Slider.module.css +29 -0
- package/src/components/Table/Table.module.css +387 -2
- package/src/components/Tabs/Tabs.module.css +2 -0
- package/src/components/Toast/Toast.module.css +6 -1
- package/src/components/Tree/Tree.module.css +43 -0
- package/src/components/Tree/Tree.stories.tsx +14 -0
- package/src/components/Tree/Tree.tsx +24 -0
- package/src/components/Tree/index.ts +1 -0
- package/src/components/index.ts +1 -0
- package/src/index.ts +3 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_border-radius */
|
|
2
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_border-size */
|
|
3
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_button-node-gap */
|
|
4
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_horizontal-padding */
|
|
5
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_indent */
|
|
6
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_item-gap */
|
|
7
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_max-width */
|
|
8
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_selected-text_font-family */
|
|
9
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_selected-text_font-size */
|
|
10
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_selected-text_font-style */
|
|
11
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_selected-text_font-weight */
|
|
12
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_selected-text_letter-spacing */
|
|
13
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_selected-text_line-height */
|
|
14
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_selected-text_text-decoration */
|
|
15
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_selected-text_text-transform */
|
|
16
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_unselected-text_font-family */
|
|
17
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_unselected-text_font-size */
|
|
18
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_unselected-text_font-style */
|
|
19
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_unselected-text_font-weight */
|
|
20
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_unselected-text_letter-spacing */
|
|
21
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_unselected-text_line-height */
|
|
22
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_unselected-text_text-decoration */
|
|
23
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_unselected-text_text-transform */
|
|
24
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_vertical-padding */
|
|
25
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_colors_hover-background */
|
|
26
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_colors_hover-border-color */
|
|
27
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_colors_hover-text */
|
|
28
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_colors_selected-background */
|
|
29
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_colors_selected-border-color */
|
|
30
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_colors_selected-text */
|
|
31
|
+
/* recursica-ignore: --recursica_ui-kit_components_tree_properties_colors_unselected-text */
|
|
32
|
+
|
|
33
|
+
.root {
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
font-family: sans-serif;
|
|
36
|
+
padding: 24px;
|
|
37
|
+
border: 1px dashed #ccc;
|
|
38
|
+
border-radius: 8px;
|
|
39
|
+
color: #666;
|
|
40
|
+
text-align: center;
|
|
41
|
+
font-weight: 500;
|
|
42
|
+
background-color: #fafafa;
|
|
43
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Tree } from "./Tree";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Tree> = {
|
|
5
|
+
title: "Components/Tree",
|
|
6
|
+
component: Tree,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof Tree>;
|
|
11
|
+
|
|
12
|
+
export const ComingSoon: Story = {
|
|
13
|
+
args: {},
|
|
14
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React, { forwardRef } from "react";
|
|
2
|
+
import { type RecursicaOverStyled } from "../../utils/filterStylingProps";
|
|
3
|
+
import styles from "./Tree.module.css";
|
|
4
|
+
|
|
5
|
+
export interface TreeProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
6
|
+
overStyled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Placeholder component for Tree (Coming Soon).
|
|
11
|
+
*/
|
|
12
|
+
export const Tree = forwardRef<HTMLDivElement, RecursicaOverStyled<TreeProps>>(
|
|
13
|
+
function Tree({ overStyled: _overStyled = false, className, ...rest }, ref) {
|
|
14
|
+
void _overStyled;
|
|
15
|
+
const finalClass = className ? `${styles.root} ${className}` : styles.root;
|
|
16
|
+
return (
|
|
17
|
+
<div ref={ref} className={finalClass} {...rest}>
|
|
18
|
+
Tree (Coming Soon)
|
|
19
|
+
</div>
|
|
20
|
+
);
|
|
21
|
+
},
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
Tree.displayName = "Tree";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Tree";
|
package/src/components/index.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -154,6 +154,9 @@ export const Tooltip = wrapComponent(
|
|
|
154
154
|
export const TransferList = wrapComponent(
|
|
155
155
|
rawComponents.TransferList,
|
|
156
156
|
) as typeof rawComponents.TransferList;
|
|
157
|
+
export const Tree = wrapComponent(
|
|
158
|
+
rawComponents.Tree,
|
|
159
|
+
) as typeof rawComponents.Tree;
|
|
157
160
|
|
|
158
161
|
export type {
|
|
159
162
|
RecursicaCheckboxGroupProps,
|