@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
|
@@ -4,7 +4,7 @@ import { RecursicaPanelProps as BaseRecursicaPanelProps } from '@recursica/adapt
|
|
|
4
4
|
/**
|
|
5
5
|
* Recursica Panel root props. Extends Mantine Drawer.
|
|
6
6
|
*/
|
|
7
|
-
export interface RecursicaPanelProps extends Omit<MantineDrawerProps, "size" | "styles" | "classNames" | "style" | "position">, BaseRecursicaPanelProps {
|
|
7
|
+
export interface RecursicaPanelProps extends Omit<MantineDrawerProps, "size" | "styles" | "classNames" | "style" | "position" | "opened">, BaseRecursicaPanelProps {
|
|
8
8
|
}
|
|
9
9
|
export type PanelProps = RecursicaOverStyled<RecursicaPanelProps>;
|
|
10
10
|
/**
|
|
@@ -17,7 +17,9 @@ import { RecursicaPopoverProps } from '@recursica/adapter-common';
|
|
|
17
17
|
* </Popover>
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
export type PopoverProps = RecursicaOverStyled<MantinePopoverProps & RecursicaPopoverProps
|
|
20
|
+
export type PopoverProps = Omit<RecursicaOverStyled<Omit<MantinePopoverProps, "position"> & RecursicaPopoverProps>, "position"> & {
|
|
21
|
+
position?: MantinePopoverProps["position"];
|
|
22
|
+
};
|
|
21
23
|
declare const PopoverBase: {
|
|
22
24
|
({ overStyled, withBeak, ...rest }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
23
25
|
displayName: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RecursicaOverStyled } from '../../utils/filterStylingProps';
|
|
3
|
+
export interface TreeProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
4
|
+
overStyled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Placeholder component for Tree (Coming Soon).
|
|
8
|
+
*/
|
|
9
|
+
export declare const Tree: React.ForwardRefExoticComponent<RecursicaOverStyled<TreeProps> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tree';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -151,4 +151,5 @@ export declare const Title: typeof rawComponents.Title;
|
|
|
151
151
|
export declare const Toast: typeof rawComponents.Toast;
|
|
152
152
|
export declare const Tooltip: typeof rawComponents.Tooltip;
|
|
153
153
|
export declare const TransferList: typeof rawComponents.TransferList;
|
|
154
|
+
export declare const Tree: typeof rawComponents.Tree;
|
|
154
155
|
export type { RecursicaCheckboxGroupProps, RecursicaDatePickerProps, RecursicaDropdownProps, RecursicaNumberInputProps, RecursicaRadioGroupProps, RecursicaReadOnlyFieldProps, RecursicaReadOnlyTextFieldProps, RecursicaSliderProps, RecursicaSwitchGroupProps, RecursicaTextAreaProps, RecursicaTextFieldProps, } from './components';
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"url": "git+https://github.com/borderux/recursica.git",
|
|
14
14
|
"directory": "packages/mantine-adapter"
|
|
15
15
|
},
|
|
16
|
-
"version": "0.
|
|
16
|
+
"version": "0.30.0",
|
|
17
17
|
"type": "module",
|
|
18
18
|
"main": "./dist/mantine-adapter.cjs",
|
|
19
19
|
"module": "./dist/mantine-adapter.js",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"build-storybook": "storybook build -o storybook-static",
|
|
53
53
|
"lint": "eslint .",
|
|
54
54
|
"storybook": "storybook dev -p 6011",
|
|
55
|
-
"analyze-tokens": "analyze-tokens --css recursica_variables_scoped.css --dir src/components --output token-analysis.json",
|
|
55
|
+
"analyze-tokens": "analyze-tokens --css @recursica/official-release/recursica_variables_scoped.css --dir src/components --output token-analysis.json",
|
|
56
56
|
"prebuild": "npm run analyze-tokens"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -356,9 +356,23 @@
|
|
|
356
356
|
color: var(
|
|
357
357
|
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_text-hover
|
|
358
358
|
);
|
|
359
|
+
border-color: var(
|
|
360
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_border-color-hover
|
|
361
|
+
);
|
|
359
362
|
box-shadow: var(
|
|
360
363
|
--recursica_ui-kit_components_button_variants_styles_solid_properties_hover-elevation
|
|
361
364
|
);
|
|
365
|
+
|
|
366
|
+
.iconWrapper {
|
|
367
|
+
color: var(
|
|
368
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_colors_icon-color-hover
|
|
369
|
+
);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
.root[data-variant="solid"]:disabled {
|
|
373
|
+
box-shadow: var(
|
|
374
|
+
--recursica_ui-kit_components_button_variants_styles_solid_properties_disabled-elevation
|
|
375
|
+
);
|
|
362
376
|
}
|
|
363
377
|
|
|
364
378
|
/* OUTLINE */
|
|
@@ -389,9 +403,23 @@
|
|
|
389
403
|
color: var(
|
|
390
404
|
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_text-hover
|
|
391
405
|
);
|
|
406
|
+
border-color: var(
|
|
407
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_border-color-hover
|
|
408
|
+
);
|
|
392
409
|
box-shadow: var(
|
|
393
410
|
--recursica_ui-kit_components_button_variants_styles_outline_properties_hover-elevation
|
|
394
411
|
);
|
|
412
|
+
|
|
413
|
+
.iconWrapper {
|
|
414
|
+
color: var(
|
|
415
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_colors_icon-color-hover
|
|
416
|
+
);
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
.root[data-variant="outline"]:disabled {
|
|
420
|
+
box-shadow: var(
|
|
421
|
+
--recursica_ui-kit_components_button_variants_styles_outline_properties_disabled-elevation
|
|
422
|
+
);
|
|
395
423
|
}
|
|
396
424
|
|
|
397
425
|
/* TEXT */
|
|
@@ -422,7 +450,21 @@
|
|
|
422
450
|
color: var(
|
|
423
451
|
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_text-hover
|
|
424
452
|
);
|
|
453
|
+
border-color: var(
|
|
454
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_border-color-hover
|
|
455
|
+
);
|
|
425
456
|
box-shadow: var(
|
|
426
457
|
--recursica_ui-kit_components_button_variants_styles_text_properties_hover-elevation
|
|
427
458
|
);
|
|
459
|
+
|
|
460
|
+
.iconWrapper {
|
|
461
|
+
color: var(
|
|
462
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_colors_icon-color-hover
|
|
463
|
+
);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
.root[data-variant="text"]:disabled {
|
|
467
|
+
box-shadow: var(
|
|
468
|
+
--recursica_ui-kit_components_button_variants_styles_text_properties_disabled-elevation
|
|
469
|
+
);
|
|
428
470
|
}
|
|
@@ -21,8 +21,6 @@ const meta: Meta<typeof NumberInput> = {
|
|
|
21
21
|
control: "select",
|
|
22
22
|
options: ["small", "default", "large"],
|
|
23
23
|
},
|
|
24
|
-
checked: { table: { disable: true } },
|
|
25
|
-
defaultChecked: { table: { disable: true } },
|
|
26
24
|
assistiveWithIcon: { table: { disable: true } },
|
|
27
25
|
labelOptionalText: { table: { disable: true } },
|
|
28
26
|
labelWithEditIcon: { table: { disable: true } },
|
|
@@ -21,7 +21,7 @@ import { type RecursicaPanelProps as BaseRecursicaPanelProps } from "@recursica/
|
|
|
21
21
|
export interface RecursicaPanelProps
|
|
22
22
|
extends Omit<
|
|
23
23
|
MantineDrawerProps,
|
|
24
|
-
"size" | "styles" | "classNames" | "style" | "position"
|
|
24
|
+
"size" | "styles" | "classNames" | "style" | "position" | "opened"
|
|
25
25
|
>,
|
|
26
26
|
BaseRecursicaPanelProps {}
|
|
27
27
|
|
|
@@ -35,9 +35,14 @@ import { type RecursicaPopoverProps } from "@recursica/adapter-common";
|
|
|
35
35
|
* </Popover>
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
|
-
export type PopoverProps =
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
export type PopoverProps = Omit<
|
|
39
|
+
RecursicaOverStyled<
|
|
40
|
+
Omit<MantinePopoverProps, "position"> & RecursicaPopoverProps
|
|
41
|
+
>,
|
|
42
|
+
"position"
|
|
43
|
+
> & {
|
|
44
|
+
position?: MantinePopoverProps["position"];
|
|
45
|
+
};
|
|
41
46
|
|
|
42
47
|
const PopoverBase = function Popover({
|
|
43
48
|
overStyled = false,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
- background-color: transparent; on label hover (overriding Mantine)
|
|
4
4
|
- Scope prefix .root to enforce Figma tokens over Mantine's inline calculation without using !important
|
|
5
5
|
*/
|
|
6
|
+
/* recursica-ignore: --recursica_ui-kit_components_segmented-control-item_properties_item_border-radius */
|
|
6
7
|
|
|
7
8
|
.root {
|
|
8
9
|
background-color: var(
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* - transform: translateX(-50%); (Mantine's standard step marks positioning alignment offset)
|
|
6
6
|
* - outline: none; border-style: solid; (Standard focus reset and border outlines)
|
|
7
7
|
*/
|
|
8
|
+
/* recursica-ignore: --recursica_ui-kit_components_slider_properties_input-border-size */
|
|
8
9
|
|
|
9
10
|
/* ==========================================
|
|
10
11
|
1. Baseline, Reset & Layout Overrides
|
|
@@ -356,6 +357,34 @@
|
|
|
356
357
|
6. State-Specific Overrides (Disabled, Error)
|
|
357
358
|
========================================== */
|
|
358
359
|
|
|
360
|
+
/* Focus states */
|
|
361
|
+
.sliderRoot:has(.sliderThumb:focus) .sliderTrack,
|
|
362
|
+
.sliderRoot:focus-within .sliderTrack {
|
|
363
|
+
background-color: var(
|
|
364
|
+
--recursica_ui-kit_components_slider_variants_states_focus_properties_colors_track
|
|
365
|
+
);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.sliderRoot:has(.sliderThumb:focus) .sliderMark,
|
|
369
|
+
.sliderRoot:focus-within .sliderMark {
|
|
370
|
+
background-color: var(
|
|
371
|
+
--recursica_ui-kit_components_slider_variants_states_focus_properties_colors_step-indicator-color
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.sliderRoot:has(.sliderThumb:focus) .sliderMark[data-filled],
|
|
376
|
+
.sliderRoot:focus-within .sliderMark[data-filled] {
|
|
377
|
+
background-color: var(
|
|
378
|
+
--recursica_ui-kit_components_slider_variants_states_focus_properties_colors_step-indicator-color-active
|
|
379
|
+
);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.sliderContainer:focus-within .iconWrapper {
|
|
383
|
+
color: var(
|
|
384
|
+
--recursica_ui-kit_components_slider_variants_states_focus_properties_colors_icon-color
|
|
385
|
+
);
|
|
386
|
+
}
|
|
387
|
+
|
|
359
388
|
/* Disabled state */
|
|
360
389
|
.sliderContainer[data-disabled="true"] .iconWrapper {
|
|
361
390
|
color: var(
|
|
@@ -1,7 +1,392 @@
|
|
|
1
1
|
/* HARDCODED VALUES:
|
|
2
|
-
*
|
|
2
|
+
* - border-collapse: separate; border-spacing: 0; (To support custom border-radius on table elements)
|
|
3
|
+
* - overflow: hidden; (To prevent content from bleeding outside the rounded table border)
|
|
3
4
|
*/
|
|
4
5
|
|
|
5
6
|
.root {
|
|
6
|
-
|
|
7
|
+
border-collapse: separate;
|
|
8
|
+
border-spacing: 0;
|
|
9
|
+
border-radius: var(
|
|
10
|
+
--recursica_ui-kit_components_table_properties_border-radius
|
|
11
|
+
);
|
|
12
|
+
border: var(--recursica_ui-kit_components_table_properties_border-size) solid
|
|
13
|
+
var(--recursica_ui-kit_components_table_properties_colors_border-color);
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* ==========================================
|
|
18
|
+
1. General Cell Dividers & Padding Defaults
|
|
19
|
+
========================================== */
|
|
20
|
+
|
|
21
|
+
.root th,
|
|
22
|
+
.root td {
|
|
23
|
+
padding: var(--recursica_ui-kit_components_table_properties_row-padding)
|
|
24
|
+
var(--recursica_ui-kit_components_table_properties_padding);
|
|
25
|
+
border-bottom: var(
|
|
26
|
+
--recursica_ui-kit_components_table_properties_row-divider-size
|
|
27
|
+
)
|
|
28
|
+
solid
|
|
29
|
+
var(--recursica_ui-kit_components_table_properties_colors_row-divider-color);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.root th + th,
|
|
33
|
+
.root td + td {
|
|
34
|
+
border-left: var(
|
|
35
|
+
--recursica_ui-kit_components_table_properties_column-divider-size
|
|
36
|
+
)
|
|
37
|
+
solid
|
|
38
|
+
var(
|
|
39
|
+
--recursica_ui-kit_components_table_properties_colors_column-divider-color
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* ==========================================
|
|
44
|
+
2. Row Highlighting & Selection Styles
|
|
45
|
+
========================================== */
|
|
46
|
+
|
|
47
|
+
/* Striped rows */
|
|
48
|
+
.root tbody tr:nth-of-type(even) td {
|
|
49
|
+
background-color: color-mix(
|
|
50
|
+
in srgb,
|
|
51
|
+
var(--recursica_ui-kit_components_table_properties_colors_striped-color)
|
|
52
|
+
calc(
|
|
53
|
+
var(
|
|
54
|
+
--recursica_ui-kit_components_table_properties_opacities_striped-opacity
|
|
55
|
+
) *
|
|
56
|
+
100%
|
|
57
|
+
),
|
|
58
|
+
transparent
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Selected rows */
|
|
63
|
+
.root tbody tr[data-selected] td {
|
|
64
|
+
background-color: color-mix(
|
|
65
|
+
in srgb,
|
|
66
|
+
var(--recursica_ui-kit_components_table_properties_colors_selected-color)
|
|
67
|
+
calc(
|
|
68
|
+
var(
|
|
69
|
+
--recursica_ui-kit_components_table_properties_opacities_selected-opacity
|
|
70
|
+
) *
|
|
71
|
+
100%
|
|
72
|
+
),
|
|
73
|
+
transparent
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* Hover rows */
|
|
78
|
+
.root tbody tr:hover td {
|
|
79
|
+
background-color: color-mix(
|
|
80
|
+
in srgb,
|
|
81
|
+
var(
|
|
82
|
+
--recursica_ui-kit_components_table_properties_colors_highlight-on-hover-color
|
|
83
|
+
)
|
|
84
|
+
calc(
|
|
85
|
+
var(
|
|
86
|
+
--recursica_ui-kit_components_table_properties_opacities_highlight-on-hover-opacity
|
|
87
|
+
) *
|
|
88
|
+
100%
|
|
89
|
+
),
|
|
90
|
+
transparent
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* ==========================================
|
|
95
|
+
3. Table Headers (th)
|
|
96
|
+
========================================== */
|
|
97
|
+
|
|
98
|
+
.root thead th {
|
|
99
|
+
background-color: var(
|
|
100
|
+
--recursica_ui-kit_components_table-header_properties_colors_cell-color-enabled
|
|
101
|
+
);
|
|
102
|
+
color: var(
|
|
103
|
+
--recursica_ui-kit_components_table-header_properties_colors_text-color-enabled
|
|
104
|
+
);
|
|
105
|
+
padding: var(
|
|
106
|
+
--recursica_ui-kit_components_table-header_properties_padding-vertical
|
|
107
|
+
)
|
|
108
|
+
var(
|
|
109
|
+
--recursica_ui-kit_components_table-header_properties_padding-horizontal
|
|
110
|
+
);
|
|
111
|
+
margin-top: var(
|
|
112
|
+
--recursica_ui-kit_components_table-header_properties_vertical-margin
|
|
113
|
+
);
|
|
114
|
+
margin-bottom: var(
|
|
115
|
+
--recursica_ui-kit_components_table-header_properties_vertical-margin
|
|
116
|
+
);
|
|
117
|
+
border-bottom: var(
|
|
118
|
+
--recursica_ui-kit_components_table-header_properties_horizontal-divider-size
|
|
119
|
+
)
|
|
120
|
+
solid
|
|
121
|
+
var(
|
|
122
|
+
--recursica_ui-kit_components_table-header_properties_colors_horizontal-divider-color
|
|
123
|
+
);
|
|
124
|
+
|
|
125
|
+
/* Unsorted text style by default */
|
|
126
|
+
font-family: var(
|
|
127
|
+
--recursica_ui-kit_components_table-header_properties_unsorted-text-style_font-family
|
|
128
|
+
);
|
|
129
|
+
font-size: var(
|
|
130
|
+
--recursica_ui-kit_components_table-header_properties_unsorted-text-style_font-size
|
|
131
|
+
);
|
|
132
|
+
font-style: var(
|
|
133
|
+
--recursica_ui-kit_components_table-header_properties_unsorted-text-style_font-style
|
|
134
|
+
);
|
|
135
|
+
font-weight: var(
|
|
136
|
+
--recursica_ui-kit_components_table-header_properties_unsorted-text-style_font-weight
|
|
137
|
+
);
|
|
138
|
+
letter-spacing: var(
|
|
139
|
+
--recursica_ui-kit_components_table-header_properties_unsorted-text-style_letter-spacing
|
|
140
|
+
);
|
|
141
|
+
line-height: var(
|
|
142
|
+
--recursica_ui-kit_components_table-header_properties_unsorted-text-style_line-height
|
|
143
|
+
);
|
|
144
|
+
text-decoration: var(
|
|
145
|
+
--recursica_ui-kit_components_table-header_properties_unsorted-text-style_text-decoration
|
|
146
|
+
);
|
|
147
|
+
text-transform: var(
|
|
148
|
+
--recursica_ui-kit_components_table-header_properties_unsorted-text-style_text-transform
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.root thead th + th {
|
|
153
|
+
border-left: var(
|
|
154
|
+
--recursica_ui-kit_components_table-header_properties_vertical-divider-size
|
|
155
|
+
)
|
|
156
|
+
solid
|
|
157
|
+
var(
|
|
158
|
+
--recursica_ui-kit_components_table-header_properties_colors_vertical-divider-color
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* Unsorted specific state overrides */
|
|
163
|
+
.root thead th:not([data-sorted="true"]) {
|
|
164
|
+
background-color: var(
|
|
165
|
+
--recursica_ui-kit_components_table-header_properties_colors_unsorted-cell-color
|
|
166
|
+
);
|
|
167
|
+
color: var(
|
|
168
|
+
--recursica_ui-kit_components_table-header_properties_colors_unsorted-text-color
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Sorted specific state overrides */
|
|
173
|
+
.root thead th[data-sorted="true"] {
|
|
174
|
+
background-color: var(
|
|
175
|
+
--recursica_ui-kit_components_table-header_properties_colors_sorted-cell-color
|
|
176
|
+
);
|
|
177
|
+
color: var(
|
|
178
|
+
--recursica_ui-kit_components_table-header_properties_colors_sorted-text-color
|
|
179
|
+
);
|
|
180
|
+
|
|
181
|
+
font-family: var(
|
|
182
|
+
--recursica_ui-kit_components_table-header_properties_sorted-text-style_font-family
|
|
183
|
+
);
|
|
184
|
+
font-size: var(
|
|
185
|
+
--recursica_ui-kit_components_table-header_properties_sorted-text-style_font-size
|
|
186
|
+
);
|
|
187
|
+
font-style: var(
|
|
188
|
+
--recursica_ui-kit_components_table-header_properties_sorted-text-style_font-style
|
|
189
|
+
);
|
|
190
|
+
font-weight: var(
|
|
191
|
+
--recursica_ui-kit_components_table-header_properties_sorted-text-style_font-weight
|
|
192
|
+
);
|
|
193
|
+
letter-spacing: var(
|
|
194
|
+
--recursica_ui-kit_components_table-header_properties_sorted-text-style_letter-spacing
|
|
195
|
+
);
|
|
196
|
+
line-height: var(
|
|
197
|
+
--recursica_ui-kit_components_table-header_properties_sorted-text-style_line-height
|
|
198
|
+
);
|
|
199
|
+
text-decoration: var(
|
|
200
|
+
--recursica_ui-kit_components_table-header_properties_sorted-text-style_text-decoration
|
|
201
|
+
);
|
|
202
|
+
text-transform: var(
|
|
203
|
+
--recursica_ui-kit_components_table-header_properties_sorted-text-style_text-transform
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* Disabled Header */
|
|
208
|
+
.root thead th[data-disabled="true"] {
|
|
209
|
+
background-color: var(
|
|
210
|
+
--recursica_ui-kit_components_table-header_properties_colors_cell-color-disabled
|
|
211
|
+
);
|
|
212
|
+
color: var(
|
|
213
|
+
--recursica_ui-kit_components_table-header_properties_colors_text-color-disabled
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/* Header sort icon & gap spacing helper */
|
|
218
|
+
.root thead th .sortIcon {
|
|
219
|
+
width: var(--recursica_ui-kit_components_table-header_properties_icon-size);
|
|
220
|
+
height: var(--recursica_ui-kit_components_table-header_properties_icon-size);
|
|
221
|
+
margin-left: var(
|
|
222
|
+
--recursica_ui-kit_components_table-header_properties_label-sort-gap
|
|
223
|
+
);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/* ==========================================
|
|
227
|
+
4. Table Cells (td)
|
|
228
|
+
========================================== */
|
|
229
|
+
|
|
230
|
+
.root tbody td {
|
|
231
|
+
background-color: var(
|
|
232
|
+
--recursica_ui-kit_components_table-cell_properties_colors_cell-color-enabled
|
|
233
|
+
);
|
|
234
|
+
color: var(
|
|
235
|
+
--recursica_ui-kit_components_table-cell_properties_colors_text-color-enabled
|
|
236
|
+
);
|
|
237
|
+
padding: var(
|
|
238
|
+
--recursica_ui-kit_components_table-cell_properties_padding-vertical
|
|
239
|
+
)
|
|
240
|
+
var(--recursica_ui-kit_components_table-cell_properties_padding-horizontal);
|
|
241
|
+
max-width: var(--recursica_ui-kit_components_table-cell_properties_max-width);
|
|
242
|
+
|
|
243
|
+
/* Standard text style */
|
|
244
|
+
font-family: var(
|
|
245
|
+
--recursica_ui-kit_components_table-cell_properties_text-style_font-family
|
|
246
|
+
);
|
|
247
|
+
font-size: var(
|
|
248
|
+
--recursica_ui-kit_components_table-cell_properties_text-style_font-size
|
|
249
|
+
);
|
|
250
|
+
font-style: var(
|
|
251
|
+
--recursica_ui-kit_components_table-cell_properties_text-style_font-style
|
|
252
|
+
);
|
|
253
|
+
font-weight: var(
|
|
254
|
+
--recursica_ui-kit_components_table-cell_properties_text-style_font-weight
|
|
255
|
+
);
|
|
256
|
+
letter-spacing: var(
|
|
257
|
+
--recursica_ui-kit_components_table-cell_properties_text-style_letter-spacing
|
|
258
|
+
);
|
|
259
|
+
line-height: var(
|
|
260
|
+
--recursica_ui-kit_components_table-cell_properties_text-style_line-height
|
|
261
|
+
);
|
|
262
|
+
text-align: var(
|
|
263
|
+
--recursica_ui-kit_components_table-cell_properties_text-style_text-align
|
|
264
|
+
);
|
|
265
|
+
text-decoration: var(
|
|
266
|
+
--recursica_ui-kit_components_table-cell_properties_text-style_text-decoration
|
|
267
|
+
);
|
|
268
|
+
text-transform: var(
|
|
269
|
+
--recursica_ui-kit_components_table-cell_properties_text-style_text-transform
|
|
270
|
+
);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* Currency formatted cell layout override */
|
|
274
|
+
.root tbody td[data-currency="true"] {
|
|
275
|
+
font-family: var(
|
|
276
|
+
--recursica_ui-kit_components_table-cell_properties_currency-style_font-family
|
|
277
|
+
);
|
|
278
|
+
font-size: var(
|
|
279
|
+
--recursica_ui-kit_components_table-cell_properties_currency-style_font-size
|
|
280
|
+
);
|
|
281
|
+
font-style: var(
|
|
282
|
+
--recursica_ui-kit_components_table-cell_properties_currency-style_font-style
|
|
283
|
+
);
|
|
284
|
+
font-weight: var(
|
|
285
|
+
--recursica_ui-kit_components_table-cell_properties_currency-style_font-weight
|
|
286
|
+
);
|
|
287
|
+
letter-spacing: var(
|
|
288
|
+
--recursica_ui-kit_components_table-cell_properties_currency-style_letter-spacing
|
|
289
|
+
);
|
|
290
|
+
line-height: var(
|
|
291
|
+
--recursica_ui-kit_components_table-cell_properties_currency-style_line-height
|
|
292
|
+
);
|
|
293
|
+
text-align: var(
|
|
294
|
+
--recursica_ui-kit_components_table-cell_properties_currency-style_text-align
|
|
295
|
+
);
|
|
296
|
+
text-decoration: var(
|
|
297
|
+
--recursica_ui-kit_components_table-cell_properties_currency-style_text-decoration
|
|
298
|
+
);
|
|
299
|
+
text-transform: var(
|
|
300
|
+
--recursica_ui-kit_components_table-cell_properties_currency-style_text-transform
|
|
301
|
+
);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/* Disabled Cells */
|
|
305
|
+
.root tbody tr[data-disabled="true"] td,
|
|
306
|
+
.root tbody td[data-disabled="true"] {
|
|
307
|
+
background-color: var(
|
|
308
|
+
--recursica_ui-kit_components_table-cell_properties_colors_cell-color-disabled
|
|
309
|
+
);
|
|
310
|
+
color: var(
|
|
311
|
+
--recursica_ui-kit_components_table-cell_properties_colors_text-color-disabled
|
|
312
|
+
);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* ==========================================
|
|
316
|
+
5. Table Footers (tfoot td)
|
|
317
|
+
========================================== */
|
|
318
|
+
|
|
319
|
+
.root tfoot td {
|
|
320
|
+
background-color: var(
|
|
321
|
+
--recursica_ui-kit_components_table-footer_properties_colors_cell-color-enabled
|
|
322
|
+
);
|
|
323
|
+
color: var(
|
|
324
|
+
--recursica_ui-kit_components_table-footer_properties_colors_text-color-enabled
|
|
325
|
+
);
|
|
326
|
+
padding: var(
|
|
327
|
+
--recursica_ui-kit_components_table-footer_properties_padding-vertical
|
|
328
|
+
)
|
|
329
|
+
var(
|
|
330
|
+
--recursica_ui-kit_components_table-footer_properties_padding-horizontal
|
|
331
|
+
);
|
|
332
|
+
margin-top: var(
|
|
333
|
+
--recursica_ui-kit_components_table-footer_properties_vertical-margin
|
|
334
|
+
);
|
|
335
|
+
margin-bottom: var(
|
|
336
|
+
--recursica_ui-kit_components_table-footer_properties_vertical-margin
|
|
337
|
+
);
|
|
338
|
+
border-top: var(
|
|
339
|
+
--recursica_ui-kit_components_table-footer_properties_horizontal-divider-size
|
|
340
|
+
)
|
|
341
|
+
solid
|
|
342
|
+
var(
|
|
343
|
+
--recursica_ui-kit_components_table-footer_properties_colors_horizontal-divider-color
|
|
344
|
+
);
|
|
345
|
+
|
|
346
|
+
/* Footer typography style */
|
|
347
|
+
font-family: var(
|
|
348
|
+
--recursica_ui-kit_components_table-footer_properties_text-style_font-family
|
|
349
|
+
);
|
|
350
|
+
font-size: var(
|
|
351
|
+
--recursica_ui-kit_components_table-footer_properties_text-style_font-size
|
|
352
|
+
);
|
|
353
|
+
font-style: var(
|
|
354
|
+
--recursica_ui-kit_components_table-footer_properties_text-style_font-style
|
|
355
|
+
);
|
|
356
|
+
font-weight: var(
|
|
357
|
+
--recursica_ui-kit_components_table-footer_properties_text-style_font-weight
|
|
358
|
+
);
|
|
359
|
+
letter-spacing: var(
|
|
360
|
+
--recursica_ui-kit_components_table-footer_properties_text-style_letter-spacing
|
|
361
|
+
);
|
|
362
|
+
line-height: var(
|
|
363
|
+
--recursica_ui-kit_components_table-footer_properties_text-style_line-height
|
|
364
|
+
);
|
|
365
|
+
text-decoration: var(
|
|
366
|
+
--recursica_ui-kit_components_table-footer_properties_text-style_text-decoration
|
|
367
|
+
);
|
|
368
|
+
text-transform: var(
|
|
369
|
+
--recursica_ui-kit_components_table-footer_properties_text-style_text-transform
|
|
370
|
+
);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.root tfoot td + td {
|
|
374
|
+
border-left: var(
|
|
375
|
+
--recursica_ui-kit_components_table-footer_properties_vertical-divider-size
|
|
376
|
+
)
|
|
377
|
+
solid
|
|
378
|
+
var(
|
|
379
|
+
--recursica_ui-kit_components_table-footer_properties_colors_vertical-divider-color
|
|
380
|
+
);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/* Disabled Footer Row/Cells */
|
|
384
|
+
.root tfoot tr[data-disabled="true"] td,
|
|
385
|
+
.root tfoot td[data-disabled="true"] {
|
|
386
|
+
background-color: var(
|
|
387
|
+
--recursica_ui-kit_components_table-footer_properties_colors_cell-color-disabled
|
|
388
|
+
);
|
|
389
|
+
color: var(
|
|
390
|
+
--recursica_ui-kit_components_table-footer_properties_colors_text-color-disabled
|
|
391
|
+
);
|
|
7
392
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Recursica Tabs CSS module natively binding to Figma variables.
|
|
3
3
|
*/
|
|
4
|
+
/* recursica-ignore: --recursica_ui-kit_components_tabs_properties_hover-color */
|
|
5
|
+
/* recursica-ignore: --recursica_ui-kit_components_tabs_properties_hover-opacity */
|
|
4
6
|
|
|
5
7
|
.root {
|
|
6
8
|
width: 100%;
|
|
@@ -14,7 +14,12 @@
|
|
|
14
14
|
====================================== */
|
|
15
15
|
|
|
16
16
|
.root {
|
|
17
|
-
border-
|
|
17
|
+
border-radius: var(
|
|
18
|
+
--recursica_ui-kit_components_toast_properties_border-radius
|
|
19
|
+
);
|
|
20
|
+
border-width: var(--recursica_ui-kit_components_toast_properties_border-size);
|
|
21
|
+
border-style: solid;
|
|
22
|
+
border-color: transparent;
|
|
18
23
|
box-shadow: var(
|
|
19
24
|
--recursica_ui-kit_components_toast_properties_elevation_layer-0
|
|
20
25
|
);
|