asma-ui-core 3.120.0 → 3.121.1

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.
@@ -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 whose preview is open beside the table — matched
97
- * against `row.id`. Drawn in the Figma table-row **Focused** state (the 3px focus frame keyboard
98
- * focus draws; with a ticked row, "Selected + focused"), and it stays drawn after focus moves on,
99
- * which `:focus-visible` alone cannot do. Opt-in: tables that do not pass it are unchanged.
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 = "_tbody_5fsq9_124", _ = "_expanded_row_5fsq9_177", l = "_selected_5fsq9_202", t = "_shadowed_5fsq9_227", a = "_resizer_5fsq9_284", o = "_isResizing_5fsq9_296", s = {
2
- "asma-ui-table-styled-table": "_asma-ui-table-styled-table_5fsq9_1",
3
- "table-wrapper": "_table-wrapper_5fsq9_26",
4
- "table-shell": "_table-shell_5fsq9_33",
5
- "table-wrapper--no-rows": "_table-wrapper--no-rows_5fsq9_39",
6
- "table-wrapper--proxy": "_table-wrapper--proxy_5fsq9_42",
7
- "table-wrapper--proxy-bottom": "_table-wrapper--proxy-bottom_5fsq9_43",
8
- "table-wrapper-fetching": "_table-wrapper-fetching_5fsq9_53",
9
- "table-scroll": "_table-scroll_5fsq9_56",
10
- "table-x--fill-height": "_table-x--fill-height_5fsq9_65",
11
- "table-x": "_table-x_5fsq9_65",
12
- "table-content": "_table-content_5fsq9_80",
13
- "table-header--sticky": "_table-header--sticky_5fsq9_85",
14
- "table-hscroll": "_table-hscroll_5fsq9_90",
15
- "table-hscroll__content": "_table-hscroll__content_5fsq9_100",
16
- "no-rows-overlay-container": "_no-rows-overlay-container_5fsq9_103",
17
- "no-rows-overlay-content": "_no-rows-overlay-content_5fsq9_111",
18
- "styled-table": "_styled-table_5fsq9_115",
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-icon_5fsq9_129",
21
- "t-row": "_t-row_5fsq9_136",
22
- "t-cell": "_t-cell_5fsq9_136",
23
- "action-cell": "_action-cell_5fsq9_149",
24
- "fixed-cell": "_fixed-cell_5fsq9_153",
25
- "fixed-right-cell": "_fixed-right-cell_5fsq9_156",
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-cell_5fsq9_189",
28
- "select-cell": "_select-cell_5fsq9_199",
29
- selected: l,
30
- "single-selection": "_single-selection_5fsq9_205",
31
- "action-cell--no-shadow": "_action-cell--no-shadow_5fsq9_223",
32
- shadowed: t,
33
- "shadowed-right": "_shadowed-right_5fsq9_263",
34
- "is-loading": "_is-loading_5fsq9_268",
35
- "action-cell-default-background": "_action-cell-default-background_5fsq9_271",
36
- "fixed-cell-default-background": "_fixed-cell-default-background_5fsq9_274",
37
- "fixed-right-cell-default-background": "_fixed-right-cell-default-background_5fsq9_277",
38
- "sortable-column": "_sortable-column_5fsq9_280",
39
- resizer: a,
40
- isResizing: o,
41
- "hide-table-header": "_hide-table-header_5fsq9_308",
42
- "show-table-header": "_show-table-header_5fsq9_312",
43
- "table-header": "_table-header_5fsq9_85",
44
- "hide-header": "_hide-header_5fsq9_355",
45
- "t-cell__actions": "_t-cell__actions_5fsq9_358",
46
- "t-cell__actions--no-shadow": "_t-cell__actions--no-shadow_5fsq9_367",
47
- "t-cell__fixed": "_t-cell__fixed_5fsq9_372",
48
- "t-cell__fixed-right": "_t-cell__fixed-right_5fsq9_380",
49
- "sort-icon": "_sort-icon_5fsq9_388",
50
- "header-content": "_header-content_5fsq9_392",
51
- "table-footer--sticky": "_table-footer--sticky_5fsq9_426",
52
- "table-footer--inline": "_table-footer--inline_5fsq9_437",
53
- "table-bottom": "_table-bottom_5fsq9_448",
54
- "table-bottom--sticky": "_table-bottom--sticky_5fsq9_462",
55
- "cursor-not-allowed": "_cursor-not-allowed_5fsq9_466",
56
- "select-control": "_select-control_5fsq9_470"
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
- s as default
59
+ o as default
60
60
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.120.0",
6
+ "version": "3.121.1",
7
7
  "type": "module",
8
8
  "sideEffects": [
9
9
  "**/*.css",