asma-ui-core 3.120.0 → 3.121.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/dist/asma-ui-core.css +1 -1
- package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.module.js +8 -8
- package/dist/components/inputs/radio-button/base-ui/StyledRadio.module.js +9 -9
- package/dist/src/table/types.d.ts +5 -4
- package/dist/table/components/StyledTable.module.js +55 -55
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var e = "
|
|
1
|
+
var e = "_CheckboxWrapper_svs38_1", _ = "_Checkbox_svs38_1", r = "_Indeterminate_svs38_33", s = "_ReadOnly_svs38_109", a = "_Indicator_svs38_118", v = "_HideWrapper_svs38_122", o = "_CheckboxHover_svs38_129", p = "_CheckboxRippleContainer_svs38_129", i = "_CheckboxRipple_svs38_129", l = "_ripple_svs38_1", d = {
|
|
2
2
|
CheckboxWrapper: e,
|
|
3
|
-
"size-small": "_size-
|
|
4
|
-
"size-medium": "_size-
|
|
3
|
+
"size-small": "_size-small_svs38_16",
|
|
4
|
+
"size-medium": "_size-medium_svs38_20",
|
|
5
5
|
Checkbox: _,
|
|
6
6
|
Indeterminate: r,
|
|
7
|
-
Error: "
|
|
8
|
-
ReadOnly:
|
|
7
|
+
Error: "_Error_svs38_60",
|
|
8
|
+
ReadOnly: s,
|
|
9
9
|
Indicator: a,
|
|
10
|
-
HideWrapper:
|
|
10
|
+
HideWrapper: v,
|
|
11
11
|
CheckboxHover: o,
|
|
12
12
|
CheckboxRippleContainer: p,
|
|
13
13
|
CheckboxRipple: i,
|
|
14
|
-
ripple:
|
|
14
|
+
ripple: l
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
d as default
|
|
18
18
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var a = "
|
|
1
|
+
var a = "_RadioWrapper_143d4_1", _ = "_RadioRippleContainer_143d4_27", d = "_RadioRipple_143d4_27", r = "_ripple_143d4_1", i = "_RadioHover_143d4_61", e = "_ReadOnly_143d4_78", o = "_Radio_143d4_1", p = "_Indicator_143d4_113", R = {
|
|
2
2
|
RadioWrapper: a,
|
|
3
|
-
"size-small": "_size-
|
|
3
|
+
"size-small": "_size-small_143d4_14",
|
|
4
4
|
RadioRippleContainer: _,
|
|
5
|
-
RadioRipple:
|
|
6
|
-
ripple:
|
|
7
|
-
RadioHover:
|
|
5
|
+
RadioRipple: d,
|
|
6
|
+
ripple: r,
|
|
7
|
+
RadioHover: i,
|
|
8
|
+
ReadOnly: e,
|
|
8
9
|
Radio: o,
|
|
9
|
-
Indicator:
|
|
10
|
-
Error: "
|
|
11
|
-
ReadOnly: n
|
|
10
|
+
Indicator: p,
|
|
11
|
+
Error: "_Error_143d4_134"
|
|
12
12
|
};
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
R as default
|
|
15
15
|
};
|
|
@@ -93,10 +93,11 @@ export type StyledTableProps<TData, TCustomData> = {
|
|
|
93
93
|
stickyHeader?: boolean;
|
|
94
94
|
getRowClassName?: (row: Row<TData>) => string;
|
|
95
95
|
/**
|
|
96
|
-
* The row the user is working with — e.g. the one
|
|
97
|
-
* against `row.id`. Drawn in the Figma table-row **
|
|
98
|
-
*
|
|
99
|
-
*
|
|
96
|
+
* The row the user is working with — e.g. the one opened in a side panel or preview — matched
|
|
97
|
+
* against `row.id`. Drawn in the Figma table-row **Selected** state: white with a 2px
|
|
98
|
+
* `border/selected` (gama-400) frame around the whole row, kept on hover; a ticked row keeps its
|
|
99
|
+
* Checked fill inside the frame. Keyboard focus on it still shows the 3px Focused frame. Pass the
|
|
100
|
+
* opened row's id (and `null` when nothing is open). Opt-in: tables that do not pass it are unchanged.
|
|
100
101
|
*/
|
|
101
102
|
activeRowId?: string | null;
|
|
102
103
|
onRowClick?: (e: MouseEvent<HTMLTableRowElement, globalThis.MouseEvent> | React.KeyboardEvent<HTMLTableRowElement>, row: Row<TData>) => void;
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
var e = "
|
|
2
|
-
"asma-ui-table-styled-table": "_asma-ui-table-styled-
|
|
3
|
-
"table-wrapper": "_table-
|
|
4
|
-
"table-shell": "_table-
|
|
5
|
-
"table-wrapper--no-rows": "_table-wrapper--no-
|
|
6
|
-
"table-wrapper--proxy": "_table-wrapper--
|
|
7
|
-
"table-wrapper--proxy-bottom": "_table-wrapper--proxy-
|
|
8
|
-
"table-wrapper-fetching": "_table-wrapper-
|
|
9
|
-
"table-scroll": "_table-
|
|
10
|
-
"table-x--fill-height": "_table-x--fill-
|
|
11
|
-
"table-x": "_table-
|
|
12
|
-
"table-content": "_table-
|
|
13
|
-
"table-header--sticky": "_table-header--
|
|
14
|
-
"table-hscroll": "_table-
|
|
15
|
-
"table-hscroll__content": "_table-
|
|
16
|
-
"no-rows-overlay-container": "_no-rows-overlay-
|
|
17
|
-
"no-rows-overlay-content": "_no-rows-overlay-
|
|
18
|
-
"styled-table": "_styled-
|
|
1
|
+
var e = "_tbody_1im3a_124", _ = "_expanded_row_1im3a_177", a = "_selected_1im3a_202", l = "_shadowed_1im3a_227", t = "_resizer_1im3a_284", i = "_isResizing_1im3a_296", o = {
|
|
2
|
+
"asma-ui-table-styled-table": "_asma-ui-table-styled-table_1im3a_1",
|
|
3
|
+
"table-wrapper": "_table-wrapper_1im3a_26",
|
|
4
|
+
"table-shell": "_table-shell_1im3a_33",
|
|
5
|
+
"table-wrapper--no-rows": "_table-wrapper--no-rows_1im3a_39",
|
|
6
|
+
"table-wrapper--proxy": "_table-wrapper--proxy_1im3a_42",
|
|
7
|
+
"table-wrapper--proxy-bottom": "_table-wrapper--proxy-bottom_1im3a_43",
|
|
8
|
+
"table-wrapper-fetching": "_table-wrapper-fetching_1im3a_53",
|
|
9
|
+
"table-scroll": "_table-scroll_1im3a_56",
|
|
10
|
+
"table-x--fill-height": "_table-x--fill-height_1im3a_65",
|
|
11
|
+
"table-x": "_table-x_1im3a_65",
|
|
12
|
+
"table-content": "_table-content_1im3a_80",
|
|
13
|
+
"table-header--sticky": "_table-header--sticky_1im3a_85",
|
|
14
|
+
"table-hscroll": "_table-hscroll_1im3a_90",
|
|
15
|
+
"table-hscroll__content": "_table-hscroll__content_1im3a_100",
|
|
16
|
+
"no-rows-overlay-container": "_no-rows-overlay-container_1im3a_103",
|
|
17
|
+
"no-rows-overlay-content": "_no-rows-overlay-content_1im3a_111",
|
|
18
|
+
"styled-table": "_styled-table_1im3a_115",
|
|
19
19
|
tbody: e,
|
|
20
|
-
"loading-icon": "_loading-
|
|
21
|
-
"t-row": "_t-
|
|
22
|
-
"t-cell": "_t-
|
|
23
|
-
"action-cell": "_action-
|
|
24
|
-
"fixed-cell": "_fixed-
|
|
25
|
-
"fixed-right-cell": "_fixed-right-
|
|
20
|
+
"loading-icon": "_loading-icon_1im3a_129",
|
|
21
|
+
"t-row": "_t-row_1im3a_136",
|
|
22
|
+
"t-cell": "_t-cell_1im3a_136",
|
|
23
|
+
"action-cell": "_action-cell_1im3a_149",
|
|
24
|
+
"fixed-cell": "_fixed-cell_1im3a_153",
|
|
25
|
+
"fixed-right-cell": "_fixed-right-cell_1im3a_156",
|
|
26
26
|
expanded_row: _,
|
|
27
|
-
"data-cell": "_data-
|
|
28
|
-
"select-cell": "_select-
|
|
29
|
-
selected:
|
|
30
|
-
"single-selection": "_single-
|
|
31
|
-
"action-cell--no-shadow": "_action-cell--no-
|
|
32
|
-
shadowed:
|
|
33
|
-
"shadowed-right": "_shadowed-
|
|
34
|
-
"is-loading": "_is-
|
|
35
|
-
"action-cell-default-background": "_action-cell-default-
|
|
36
|
-
"fixed-cell-default-background": "_fixed-cell-default-
|
|
37
|
-
"fixed-right-cell-default-background": "_fixed-right-cell-default-
|
|
38
|
-
"sortable-column": "_sortable-
|
|
39
|
-
resizer:
|
|
40
|
-
isResizing:
|
|
41
|
-
"hide-table-header": "_hide-table-
|
|
42
|
-
"show-table-header": "_show-table-
|
|
43
|
-
"table-header": "_table-
|
|
44
|
-
"hide-header": "_hide-
|
|
45
|
-
"t-cell__actions": "_t-
|
|
46
|
-
"t-cell__actions--no-shadow": "_t-cell__actions--no-
|
|
47
|
-
"t-cell__fixed": "_t-
|
|
48
|
-
"t-cell__fixed-right": "_t-cell__fixed-
|
|
49
|
-
"sort-icon": "_sort-
|
|
50
|
-
"header-content": "_header-
|
|
51
|
-
"table-footer--sticky": "_table-footer--
|
|
52
|
-
"table-footer--inline": "_table-footer--
|
|
53
|
-
"table-bottom": "_table-
|
|
54
|
-
"table-bottom--sticky": "_table-bottom--
|
|
55
|
-
"cursor-not-allowed": "_cursor-not-
|
|
56
|
-
"select-control": "_select-
|
|
27
|
+
"data-cell": "_data-cell_1im3a_189",
|
|
28
|
+
"select-cell": "_select-cell_1im3a_199",
|
|
29
|
+
selected: a,
|
|
30
|
+
"single-selection": "_single-selection_1im3a_205",
|
|
31
|
+
"action-cell--no-shadow": "_action-cell--no-shadow_1im3a_223",
|
|
32
|
+
shadowed: l,
|
|
33
|
+
"shadowed-right": "_shadowed-right_1im3a_263",
|
|
34
|
+
"is-loading": "_is-loading_1im3a_268",
|
|
35
|
+
"action-cell-default-background": "_action-cell-default-background_1im3a_271",
|
|
36
|
+
"fixed-cell-default-background": "_fixed-cell-default-background_1im3a_274",
|
|
37
|
+
"fixed-right-cell-default-background": "_fixed-right-cell-default-background_1im3a_277",
|
|
38
|
+
"sortable-column": "_sortable-column_1im3a_280",
|
|
39
|
+
resizer: t,
|
|
40
|
+
isResizing: i,
|
|
41
|
+
"hide-table-header": "_hide-table-header_1im3a_308",
|
|
42
|
+
"show-table-header": "_show-table-header_1im3a_312",
|
|
43
|
+
"table-header": "_table-header_1im3a_85",
|
|
44
|
+
"hide-header": "_hide-header_1im3a_355",
|
|
45
|
+
"t-cell__actions": "_t-cell__actions_1im3a_358",
|
|
46
|
+
"t-cell__actions--no-shadow": "_t-cell__actions--no-shadow_1im3a_367",
|
|
47
|
+
"t-cell__fixed": "_t-cell__fixed_1im3a_372",
|
|
48
|
+
"t-cell__fixed-right": "_t-cell__fixed-right_1im3a_380",
|
|
49
|
+
"sort-icon": "_sort-icon_1im3a_388",
|
|
50
|
+
"header-content": "_header-content_1im3a_392",
|
|
51
|
+
"table-footer--sticky": "_table-footer--sticky_1im3a_435",
|
|
52
|
+
"table-footer--inline": "_table-footer--inline_1im3a_446",
|
|
53
|
+
"table-bottom": "_table-bottom_1im3a_457",
|
|
54
|
+
"table-bottom--sticky": "_table-bottom--sticky_1im3a_471",
|
|
55
|
+
"cursor-not-allowed": "_cursor-not-allowed_1im3a_475",
|
|
56
|
+
"select-control": "_select-control_1im3a_479"
|
|
57
57
|
};
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
o as default
|
|
60
60
|
};
|